"use strict"; var JY = Object.create; var Of = Object.defineProperty; var eQ = Object.getOwnPropertyDescriptor; var tQ = Object.getOwnPropertyNames; var rQ = Object.getPrototypeOf, nQ = Object.prototype.hasOwnProperty; var a = (e, t) => Of(e, "name", { value: t, configurable: !0 }); var we = (e, t) => () => (e && (t = e(e = 0)), t); var y = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), ki = (e, t) => { for (var r in t) Of(e, r, { get: t[r], enumerable: !0 }); }, cC = (e, t, r, n) => { if (t && typeof t == "object" || typeof t == "function") for (let i of tQ(t)) !nQ.call(e, i) && i !== r && Of(e, i, { get: () => t[i], enumerable: !(n = eQ(t, i)) || n.enumerable }); return e; }; var mt = (e, t, r) => (r = e != null ? JY(rQ(e)) : {}, cC( // 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 ? Of(r, "default", { value: e, enumerable: !0 }) : r, e )), Po = (e) => cC(Of({}, "__esModule", { value: !0 }), e); // ../node_modules/ts-dedent/dist/index.js var Fo = y((Rf) => { "use strict"; Object.defineProperty(Rf, "__esModule", { value: !0 }); Rf.dedent = void 0; function fC(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; var n = Array.from(typeof e == "string" ? [e] : e); n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, ""); var i = n.reduce(function(u, l) { var c = l.match(/\n([\t ]+|(?!\s).)/g); return c ? u.concat(c.map(function(f) { var d, g; return (g = (d = f.match(/[\t ]/g)) === null || d === void 0 ? void 0 : d.length) !== null && g !== void 0 ? g : 0; })) : u; }, []); if (i.length) { var s = new RegExp(` [ ]{` + Math.min.apply(Math, i) + "}", "g"); n = n.map(function(u) { return u.replace(s, ` `); }); } n[0] = n[0].replace(/^\r?\n/, ""); var o = n[0]; return t.forEach(function(u, l) { var c = o.match(/(?:^|\n)( *)$/), f = c ? c[1] : "", d = u; typeof u == "string" && u.includes(` `) && (d = String(u).split(` `).map(function(g, b) { return b === 0 ? g : "" + f + g; }).join(` `)), o += d + n[l + 1]; }), o; } a(fC, "dedent"); Rf.dedent = fC; Rf.default = fC; }); // ../node_modules/camelcase/index.js var EC = {}; ki(EC, { default: () => SC }); function SC(e, t) { if (!(typeof e == "string" || Array.isArray(e))) throw new TypeError("Expected the input to be `string | string[]`"); if (t = { pascalCase: !1, preserveConsecutiveUppercase: !1, ...t }, Array.isArray(e) ? e = e.map((s) => s.trim()).filter((s) => s.length).join("-") : e = e.trim(), e.length === 0) return ""; let r = t.locale === !1 ? (s) => s.toLowerCase() : (s) => s.toLocaleLowerCase(t.locale), n = t.locale === !1 ? (s) => s.toUpperCase() : (s) => s. toLocaleUpperCase(t.locale); return e.length === 1 ? wb.test(e) ? "" : t.pascalCase ? n(e) : r(e) : (e !== r(e) && (e = oQ(e, r, n, t.preserveConsecutiveUppercase)), e = e.replace(sQ, ""), e = t.preserveConsecutiveUppercase ? uQ(e, r) : r(e), t.pascalCase && (e = n(e.charAt(0)) + e.slice(1)), lQ(e, n)); } var iQ, aQ, _C, yC, wb, sQ, vC, bC, oQ, uQ, lQ, AC = we(() => { iQ = /[\p{Lu}]/u, aQ = /[\p{Ll}]/u, _C = /^[\p{Lu}](?![\p{Lu}])/gu, yC = /([\p{Alpha}\p{N}_]|$)/u, wb = /[_.\- ]+/, sQ = new RegExp("^" + wb. source), vC = new RegExp(wb.source + yC.source, "gu"), bC = new RegExp("\\d+" + yC.source, "gu"), oQ = /* @__PURE__ */ a((e, t, r, n) => { let i = !1, s = !1, o = !1, u = !1; for (let l = 0; l < e.length; l++) { let c = e[l]; u = l > 2 ? e[l - 3] === "-" : !0, i && iQ.test(c) ? (e = e.slice(0, l) + "-" + e.slice(l), i = !1, o = s, s = !0, l++) : s && o && aQ. test(c) && (!u || n) ? (e = e.slice(0, l - 1) + "-" + e.slice(l - 1), o = s, s = !1, i = !0) : (i = t(c) === c && r(c) !== c, o = s, s = r(c) === c && t(c) !== c); } return e; }, "preserveCamelCase"), uQ = /* @__PURE__ */ a((e, t) => (_C.lastIndex = 0, e.replaceAll(_C, (r) => t(r))), "preserveConsecutiveUppercase"), lQ = /* @__PURE__ */ a((e, t) => (vC.lastIndex = 0, bC.lastIndex = 0, e.replaceAll(bC, (r, n, i) => ["_", "-"].includes(e.charAt(i + r.length)) ? r : t(r)).replaceAll(vC, (r, n) => t(n))), "postProcess"); a(SC, "camelCase"); }); // ../node_modules/globby/node_modules/@sindresorhus/merge-streams/index.js function Lb(e) { if (!Array.isArray(e)) throw new TypeError(`Expected an array, got \`${typeof e}\`.`); for (let i of e) Fb(i); let t = e.some(({ readableObjectMode: i }) => i), r = cQ(e, t), n = new Pb({ objectMode: t, writableHighWaterMark: r, readableHighWaterMark: r }); for (let i of e) n.add(i); return e.length === 0 && jC(n), n; } var ud, UC, Nb, cQ, Pb, fQ, hQ, pQ, Fb, dQ, VC, mQ, gQ, _Q, HC, jC, Ib, GC, vQ, od, MC, qC, zC = we(() => { ud = require("node:events"), UC = require("node:stream"), Nb = require("node:stream/promises"); a(Lb, "mergeStreams"); cQ = /* @__PURE__ */ a((e, t) => { if (e.length === 0) return 16384; let r = e.filter(({ readableObjectMode: n }) => n === t).map(({ readableHighWaterMark: n }) => n); return Math.max(...r); }, "getHighWaterMark"), Pb = class extends UC.PassThrough { static { a(this, "MergedStream"); } #e = /* @__PURE__ */ new Set([]); #r = /* @__PURE__ */ new Set([]); #n = /* @__PURE__ */ new Set([]); #t; add(t) { Fb(t), !this.#e.has(t) && (this.#e.add(t), this.#t ??= fQ(this, this.#e), dQ({ passThroughStream: this, stream: t, streams: this.#e, ended: this.#r, aborted: this.#n, onFinished: this.#t }), t.pipe(this, { end: !1 })); } remove(t) { return Fb(t), this.#e.has(t) ? (t.unpipe(this), !0) : !1; } }, fQ = /* @__PURE__ */ a(async (e, t) => { od(e, MC); let r = new AbortController(); try { await Promise.race([ hQ(e, r), pQ(e, t, r) ]); } finally { r.abort(), od(e, -MC); } }, "onMergedStreamFinished"), hQ = /* @__PURE__ */ a(async (e, { signal: t }) => { await (0, Nb.finished)(e, { signal: t, cleanup: !0 }); }, "onMergedStreamEnd"), pQ = /* @__PURE__ */ a(async (e, t, { signal: r }) => { for await (let [n] of (0, ud.on)(e, "unpipe", { signal: r })) t.has(n) && n.emit(HC); }, "onInputStreamsUnpipe"), Fb = /* @__PURE__ */ a((e) => { if (typeof e?.pipe != "function") throw new TypeError(`Expected a readable stream, got: \`${typeof e}\`.`); }, "validateStream"), dQ = /* @__PURE__ */ a(async ({ passThroughStream: e, stream: t, streams: r, ended: n, aborted: i, onFinished: s }) => { od(e, qC); let o = new AbortController(); try { await Promise.race([ mQ(s, t), gQ({ passThroughStream: e, stream: t, streams: r, ended: n, aborted: i, controller: o }), _Q({ stream: t, streams: r, ended: n, aborted: i, controller: o }) ]); } finally { o.abort(), od(e, -qC); } r.size === n.size + i.size && (n.size === 0 && i.size > 0 ? Ib(e) : jC(e)); }, "endWhenStreamsDone"), VC = /* @__PURE__ */ a((e) => e?.code === "ERR_STREAM_PREMATURE_CLOSE", "isAbortError"), mQ = /* @__PURE__ */ a( async (e, t) => { try { await e, Ib(t); } catch (r) { VC(r) ? Ib(t) : GC(t, r); } }, "afterMergedStreamFinished"), gQ = /* @__PURE__ */ a(async ({ passThroughStream: e, stream: t, streams: r, ended: n, aborted: i, controller: { signal: s } }) => { try { await (0, Nb.finished)(t, { signal: s, cleanup: !0, readable: !0, writable: !1 }), r.has(t) && n.add(t); } catch (o) { if (s.aborted || !r.has(t)) return; VC(o) ? i.add(t) : GC(e, o); } }, "onInputStreamEnd"), _Q = /* @__PURE__ */ a(async ({ stream: e, streams: t, ended: r, aborted: n, controller: { signal: i } }) => { await (0, ud.once)(e, HC, { signal: i }), t.delete(e), r.delete(e), n.delete(e); }, "onInputStreamUnpipe"), HC = Symbol("unpipe"), jC = /* @__PURE__ */ a((e) => { e.writable && e.end(); }, "endStream"), Ib = /* @__PURE__ */ a((e) => { (e.readable || e.writable) && e.destroy(); }, "abortStream"), GC = /* @__PURE__ */ a((e, t) => { e.destroyed || (e.once("error", vQ), e.destroy(t)); }, "errorStream"), vQ = /* @__PURE__ */ a(() => { }, "noop"), od = /* @__PURE__ */ a((e, t) => { let r = e.getMaxListeners(); r !== 0 && r !== Number.POSITIVE_INFINITY && e.setMaxListeners(r + t); }, "updateMaxListeners"), MC = 2, qC = 1; }); // ../node_modules/fast-glob/out/utils/array.js var KC = y((Kl) => { "use strict"; Object.defineProperty(Kl, "__esModule", { value: !0 }); Kl.splitWhen = Kl.flatten = void 0; function bQ(e) { return e.reduce((t, r) => [].concat(t, r), []); } a(bQ, "flatten"); Kl.flatten = bQ; function yQ(e, t) { let r = [[]], n = 0; for (let i of e) t(i) ? (n++, r[n] = []) : r[n].push(i); return r; } a(yQ, "splitWhen"); Kl.splitWhen = yQ; }); // ../node_modules/fast-glob/out/utils/errno.js var WC = y((ld) => { "use strict"; Object.defineProperty(ld, "__esModule", { value: !0 }); ld.isEnoentCodeError = void 0; function SQ(e) { return e.code === "ENOENT"; } a(SQ, "isEnoentCodeError"); ld.isEnoentCodeError = SQ; }); // ../node_modules/fast-glob/out/utils/fs.js var $C = y((cd) => { "use strict"; Object.defineProperty(cd, "__esModule", { value: !0 }); cd.createDirentFromStats = void 0; var Bb = class { static { a(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 EQ(e, t) { return new Bb(e, t); } a(EQ, "createDirentFromStats"); cd.createDirentFromStats = EQ; }); // ../node_modules/fast-glob/out/utils/path.js var ZC = y((pn) => { "use strict"; Object.defineProperty(pn, "__esModule", { value: !0 }); pn.convertPosixPathToPattern = pn.convertWindowsPathToPattern = pn.convertPathToPattern = pn.escapePosixPath = pn.escapeWindowsPath = pn.escape = pn.removeLeadingDotSegment = pn.makeAbsolute = pn.unixify = void 0; var AQ = require("os"), TQ = require("path"), XC = AQ.platform() === "win32", DQ = 2, xQ = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, CQ = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, wQ = /^\\\\([.?])/, OQ = /\\(?![!()+@[\]{}])/g; function RQ(e) { return e.replace(/\\/g, "/"); } a(RQ, "unixify"); pn.unixify = RQ; function kQ(e, t) { return TQ.resolve(e, t); } a(kQ, "makeAbsolute"); pn.makeAbsolute = kQ; function PQ(e) { if (e.charAt(0) === ".") { let t = e.charAt(1); if (t === "/" || t === "\\") return e.slice(DQ); } return e; } a(PQ, "removeLeadingDotSegment"); pn.removeLeadingDotSegment = PQ; pn.escape = XC ? Mb : qb; function Mb(e) { return e.replace(CQ, "\\$2"); } a(Mb, "escapeWindowsPath"); pn.escapeWindowsPath = Mb; function qb(e) { return e.replace(xQ, "\\$2"); } a(qb, "escapePosixPath"); pn.escapePosixPath = qb; pn.convertPathToPattern = XC ? YC : QC; function YC(e) { return Mb(e).replace(wQ, "//$1").replace(OQ, "/"); } a(YC, "convertWindowsPathToPattern"); pn.convertWindowsPathToPattern = YC; function QC(e) { return qb(e); } a(QC, "convertPosixPathToPattern"); pn.convertPosixPathToPattern = QC; }); // ../node_modules/is-extglob/index.js var e1 = y((k3e, JC) => { JC.exports = /* @__PURE__ */ a(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 n1 = y((F3e, r1) => { var FQ = e1(), t1 = { "{": "}", "(": ")", "[": "]" }, IQ = /* @__PURE__ */ a(function(e) { if (e[0] === "!") return !0; for (var t = 0, r = -2, n = -2, i = -2, s = -2, o = -2; t < e.length; ) { if (e[t] === "*" || e[t + 1] === "?" && /[\].+)]/.test(e[t]) || n !== -1 && e[t] === "[" && e[t + 1] !== "]" && (n < t && (n = e.indexOf( "]", t)), n > t && (o === -1 || o > n || (o = e.indexOf("\\", t), o === -1 || o > n))) || i !== -1 && e[t] === "{" && e[t + 1] !== "}" && (i = e.indexOf("}", t), i > t && (o = e.indexOf("\\", t), o === -1 || o > i)) || s !== -1 && e[t] === "(" && e[t + 1] === "?" && /[:!=]/. test(e[t + 2]) && e[t + 3] !== ")" && (s = e.indexOf(")", t), s > t && (o = e.indexOf("\\", t), o === -1 || o > s)) || r !== -1 && e[t] === "(" && e[t + 1] !== "|" && (r < t && (r = e.indexOf("|", t)), r !== -1 && e[r + 1] !== ")" && (s = e.indexOf(")", r), s > r && (o = e. indexOf("\\", r), o === -1 || o > s)))) return !0; if (e[t] === "\\") { var u = e[t + 1]; t += 2; var l = t1[u]; if (l) { var c = e.indexOf(l, t); c !== -1 && (t = c + 1); } if (e[t] === "!") return !0; } else t++; } return !1; }, "strictCheck"), NQ = /* @__PURE__ */ a(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 n = t1[r]; if (n) { var i = e.indexOf(n, t); i !== -1 && (t = i + 1); } if (e[t] === "!") return !0; } else t++; } return !1; }, "relaxedCheck"); r1.exports = /* @__PURE__ */ a(function(t, r) { if (typeof t != "string" || t === "") return !1; if (FQ(t)) return !0; var n = IQ; return r && r.strict === !1 && (n = NQ), n(t); }, "isGlob"); }); // ../node_modules/fast-glob/node_modules/glob-parent/index.js var a1 = y((N3e, i1) => { "use strict"; var LQ = n1(), BQ = require("path").posix.dirname, MQ = require("os").platform() === "win32", Ub = "/", qQ = /\\/g, UQ = /[\{\[].*[\}\]]$/, VQ = /(^|[^\\])([\{\[]|\([^\)]+$)/, HQ = /\\([\!\*\?\|\[\]\(\)\{\}])/g; i1.exports = /* @__PURE__ */ a(function(t, r) { var n = Object.assign({ flipBackslashes: !0 }, r); n.flipBackslashes && MQ && t.indexOf(Ub) < 0 && (t = t.replace(qQ, Ub)), UQ.test(t) && (t += Ub), t += "a"; do t = BQ(t); while (LQ(t) || VQ.test(t)); return t.replace(HQ, "$1"); }, "globParent"); }); // ../node_modules/braces/lib/utils.js var fd = y((_a) => { "use strict"; _a.isInteger = (e) => typeof e == "number" ? Number.isInteger(e) : typeof e == "string" && e.trim() !== "" ? Number.isInteger(Number(e)) : !1; _a.find = (e, t) => e.nodes.find((r) => r.type === t); _a.exceedsLimit = (e, t, r = 1, n) => n === !1 || !_a.isInteger(e) || !_a.isInteger(t) ? !1 : (Number(t) - Number(e)) / Number(r) >= n; _a.escapeNode = (e, t = 0, r) => { let n = e.nodes[t]; n && (r && n.type === r || n.type === "open" || n.type === "close") && n.escaped !== !0 && (n.value = "\\" + n.value, n.escaped = !0); }; _a.encloseBrace = (e) => e.type !== "brace" ? !1 : e.commas >> 0 + e.ranges >> 0 === 0 ? (e.invalid = !0, !0) : !1; _a.isInvalidBrace = (e) => e.type !== "brace" ? !1 : e.invalid === !0 || e.dollar ? !0 : e.commas >> 0 + e.ranges >> 0 === 0 || e.open !== !0 || e.close !== !0 ? (e.invalid = !0, !0) : !1; _a.isOpenOrClose = (e) => e.type === "open" || e.type === "close" ? !0 : e.open === !0 || e.close === !0; _a.reduce = (e) => e.reduce((t, r) => (r.type === "text" && t.push(r.value), r.type === "range" && (r.type = "text"), t), []); _a.flatten = (...e) => { let t = [], r = /* @__PURE__ */ a((n) => { for (let i = 0; i < n.length; i++) { let s = n[i]; if (Array.isArray(s)) { r(s); continue; } s !== void 0 && t.push(s); } return t; }, "flat"); return r(e), t; }; }); // ../node_modules/braces/lib/stringify.js var hd = y((q3e, o1) => { "use strict"; var s1 = fd(); o1.exports = (e, t = {}) => { let r = /* @__PURE__ */ a((n, i = {}) => { let s = t.escapeInvalid && s1.isInvalidBrace(i), o = n.invalid === !0 && t.escapeInvalid === !0, u = ""; if (n.value) return (s || o) && s1.isOpenOrClose(n) ? "\\" + n.value : n.value; if (n.value) return n.value; if (n.nodes) for (let l of n.nodes) u += r(l); return u; }, "stringify"); return r(e); }; }); // ../node_modules/is-number/index.js var l1 = y((V3e, u1) => { "use strict"; u1.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 v1 = y((H3e, _1) => { "use strict"; var c1 = l1(), wu = /* @__PURE__ */ a((e, t, r) => { if (c1(e) === !1) throw new TypeError("toRegexRange: expected the first argument to be a number"); if (t === void 0 || e === t) return String(e); if (c1(t) === !1) throw new TypeError("toRegexRange: expected the second argument to be a number."); let n = { relaxZeros: !0, ...r }; typeof n.strictZeros == "boolean" && (n.relaxZeros = n.strictZeros === !1); let i = String(n.relaxZeros), s = String(n.shorthand), o = String(n.capture), u = String(n.wrap), l = e + ":" + t + "=" + i + s + o + u; if (wu.cache.hasOwnProperty(l)) return wu.cache[l].result; let c = Math.min(e, t), f = Math.max(e, t); if (Math.abs(c - f) === 1) { let T = e + "|" + t; return n.capture ? `(${T})` : n.wrap === !1 ? T : `(?:${T})`; } let d = g1(e) || g1(t), g = { min: e, max: t, a: c, b: f }, b = [], _ = []; if (d && (g.isPadded = d, g.maxLen = String(g.max).length), c < 0) { let T = f < 0 ? Math.abs(f) : 1; _ = f1(T, Math.abs(c), g, n), c = g.a = 0; } return f >= 0 && (b = f1(c, f, g, n)), g.negatives = _, g.positives = b, g.result = jQ(_, b, n), n.capture === !0 ? g.result = `(${g.result}\ )` : n.wrap !== !1 && b.length + _.length > 1 && (g.result = `(?:${g.result})`), wu.cache[l] = g, g.result; }, "toRegexRange"); function jQ(e, t, r) { let n = Vb(e, t, "-", !1, r) || [], i = Vb(t, e, "", !1, r) || [], s = Vb(e, t, "-?", !0, r) || []; return n.concat(s).concat(i).join("|"); } a(jQ, "collatePatterns"); function GQ(e, t) { let r = 1, n = 1, i = p1(e, r), s = /* @__PURE__ */ new Set([t]); for (; e <= i && i <= t; ) s.add(i), r += 1, i = p1(e, r); for (i = d1(t + 1, n) - 1; e < i && i <= t; ) s.add(i), n += 1, i = d1(t + 1, n) - 1; return s = [...s], s.sort(WQ), s; } a(GQ, "splitToRanges"); function zQ(e, t, r) { if (e === t) return { pattern: e, count: [], digits: 0 }; let n = KQ(e, t), i = n.length, s = "", o = 0; for (let u = 0; u < i; u++) { let [l, c] = n[u]; l === c ? s += l : l !== "0" || c !== "9" ? s += $Q(l, c, r) : o++; } return o && (s += r.shorthand === !0 ? "\\d" : "[0-9]"), { pattern: s, count: [o], digits: i }; } a(zQ, "rangeToPattern"); function f1(e, t, r, n) { let i = GQ(e, t), s = [], o = e, u; for (let l = 0; l < i.length; l++) { let c = i[l], f = zQ(String(o), String(c), n), d = ""; if (!r.isPadded && u && u.pattern === f.pattern) { u.count.length > 1 && u.count.pop(), u.count.push(f.count[0]), u.string = u.pattern + m1(u.count), o = c + 1; continue; } r.isPadded && (d = XQ(c, r, n)), f.string = d + f.pattern + m1(f.count), s.push(f), o = c + 1, u = f; } return s; } a(f1, "splitToPatterns"); function Vb(e, t, r, n, i) { let s = []; for (let o of e) { let { string: u } = o; !n && !h1(t, "string", u) && s.push(r + u), n && h1(t, "string", u) && s.push(r + u); } return s; } a(Vb, "filterPatterns"); function KQ(e, t) { let r = []; for (let n = 0; n < e.length; n++) r.push([e[n], t[n]]); return r; } a(KQ, "zip"); function WQ(e, t) { return e > t ? 1 : t > e ? -1 : 0; } a(WQ, "compare"); function h1(e, t, r) { return e.some((n) => n[t] === r); } a(h1, "contains"); function p1(e, t) { return Number(String(e).slice(0, -t) + "9".repeat(t)); } a(p1, "countNines"); function d1(e, t) { return e - e % Math.pow(10, t); } a(d1, "countZeros"); function m1(e) { let [t = 0, r = ""] = e; return r || t > 1 ? `{${t + (r ? "," + r : "")}}` : ""; } a(m1, "toQuantifier"); function $Q(e, t, r) { return `[${e}${t - e === 1 ? "" : "-"}${t}]`; } a($Q, "toCharacterClass"); function g1(e) { return /^-?(0+)\d/.test(e); } a(g1, "hasPadding"); function XQ(e, t, r) { if (!t.isPadded) return e; let n = Math.abs(t.maxLen - String(e).length), i = r.relaxZeros !== !1; switch (n) { case 0: return ""; case 1: return i ? "0?" : "0"; case 2: return i ? "0{0,2}" : "00"; default: return i ? `0{0,${n}}` : `0{${n}}`; } } a(XQ, "padZeros"); wu.cache = {}; wu.clearCache = () => wu.cache = {}; _1.exports = wu; }); // ../node_modules/fill-range/index.js var Gb = y((G3e, D1) => { "use strict"; var YQ = require("util"), y1 = v1(), b1 = /* @__PURE__ */ a((e) => e !== null && typeof e == "object" && !Array.isArray(e), "isObject"), QQ = /* @__PURE__ */ a( (e) => (t) => e === !0 ? Number(t) : String(t), "transform"), Hb = /* @__PURE__ */ a((e) => typeof e == "number" || typeof e == "string" && e !== "", "isValidValue"), If = /* @__PURE__ */ a((e) => Number.isInteger(+e), "isNumber"), jb = /* @__PURE__ */ a((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"), ZQ = /* @__PURE__ */ a((e, t, r) => typeof e == "string" || typeof t == "string" ? !0 : r.stringify === !0, "stringify"), JQ = /* @__PURE__ */ a( (e, t, r) => { if (t > 0) { let n = e[0] === "-" ? "-" : ""; n && (e = e.slice(1)), e = n + e.padStart(n ? t - 1 : t, "0"); } return r === !1 ? String(e) : e; }, "pad"), dd = /* @__PURE__ */ a((e, t) => { let r = e[0] === "-" ? "-" : ""; for (r && (e = e.slice(1), t--); e.length < t; ) e = "0" + e; return r ? "-" + e : e; }, "toMaxLen"), eZ = /* @__PURE__ */ a((e, t, r) => { e.negatives.sort((u, l) => u < l ? -1 : u > l ? 1 : 0), e.positives.sort((u, l) => u < l ? -1 : u > l ? 1 : 0); let n = t.capture ? "" : "?:", i = "", s = "", o; return e.positives.length && (i = e.positives.map((u) => dd(String(u), r)).join("|")), e.negatives.length && (s = `-(${n}${e.negatives.map( (u) => dd(String(u), r)).join("|")})`), i && s ? o = `${i}|${s}` : o = i || s, t.wrap ? `(${n}${o})` : o; }, "toSequence"), S1 = /* @__PURE__ */ a((e, t, r, n) => { if (r) return y1(e, t, { wrap: !1, ...n }); let i = String.fromCharCode(e); if (e === t) return i; let s = String.fromCharCode(t); return `[${i}-${s}]`; }, "toRange"), E1 = /* @__PURE__ */ a((e, t, r) => { if (Array.isArray(e)) { let n = r.wrap === !0, i = r.capture ? "" : "?:"; return n ? `(${i}${e.join("|")})` : e.join("|"); } return y1(e, t, r); }, "toRegex"), A1 = /* @__PURE__ */ a((...e) => new RangeError("Invalid range arguments: " + YQ.inspect(...e)), "rangeError"), T1 = /* @__PURE__ */ a( (e, t, r) => { if (r.strictRanges === !0) throw A1([e, t]); return []; }, "invalidRange"), tZ = /* @__PURE__ */ a((e, t) => { if (t.strictRanges === !0) throw new TypeError(`Expected step "${e}" to be a number`); return []; }, "invalidStep"), rZ = /* @__PURE__ */ a((e, t, r = 1, n = {}) => { let i = Number(e), s = Number(t); if (!Number.isInteger(i) || !Number.isInteger(s)) { if (n.strictRanges === !0) throw A1([e, t]); return []; } i === 0 && (i = 0), s === 0 && (s = 0); let o = i > s, u = String(e), l = String(t), c = String(r); r = Math.max(Math.abs(r), 1); let f = jb(u) || jb(l) || jb(c), d = f ? Math.max(u.length, l.length, c.length) : 0, g = f === !1 && ZQ(e, t, n) === !1, b = n.transform || QQ(g); if (n.toRegex && r === 1) return S1(dd(e, d), dd(t, d), !0, n); let _ = { negatives: [], positives: [] }, T = /* @__PURE__ */ a((S) => _[S < 0 ? "negatives" : "positives"].push(Math.abs(S)), "push"), p = [], h = 0; for (; o ? i >= s : i <= s; ) n.toRegex === !0 && r > 1 ? T(i) : p.push(JQ(b(i, h), d, g)), i = o ? i - r : i + r, h++; return n.toRegex === !0 ? r > 1 ? eZ(_, n, d) : E1(p, null, { wrap: !1, ...n }) : p; }, "fillNumbers"), nZ = /* @__PURE__ */ a((e, t, r = 1, n = {}) => { if (!If(e) && e.length > 1 || !If(t) && t.length > 1) return T1(e, t, n); let i = n.transform || ((g) => String.fromCharCode(g)), s = `${e}`.charCodeAt(0), o = `${t}`.charCodeAt(0), u = s > o, l = Math.min(s, o), c = Math.max(s, o); if (n.toRegex && r === 1) return S1(l, c, !1, n); let f = [], d = 0; for (; u ? s >= o : s <= o; ) f.push(i(s, d)), s = u ? s - r : s + r, d++; return n.toRegex === !0 ? E1(f, null, { wrap: !1, options: n }) : f; }, "fillLetters"), pd = /* @__PURE__ */ a((e, t, r, n = {}) => { if (t == null && Hb(e)) return [e]; if (!Hb(e) || !Hb(t)) return T1(e, t, n); if (typeof r == "function") return pd(e, t, 1, { transform: r }); if (b1(r)) return pd(e, t, 0, r); let i = { ...n }; return i.capture === !0 && (i.wrap = !0), r = r || i.step || 1, If(r) ? If(e) && If(t) ? rZ(e, t, r, i) : nZ(e, t, Math.max(Math.abs(r), 1), i) : r != null && !b1(r) ? tZ(r, i) : pd(e, t, 1, r); }, "fill"); D1.exports = pd; }); // ../node_modules/braces/lib/compile.js var w1 = y((K3e, C1) => { "use strict"; var iZ = Gb(), x1 = fd(), aZ = /* @__PURE__ */ a((e, t = {}) => { let r = /* @__PURE__ */ a((n, i = {}) => { let s = x1.isInvalidBrace(i), o = n.invalid === !0 && t.escapeInvalid === !0, u = s === !0 || o === !0, l = t.escapeInvalid === !0 ? "\ \\" : "", c = ""; if (n.isOpen === !0) return l + n.value; if (n.isClose === !0) return console.log("node.isClose", l, n.value), l + n.value; if (n.type === "open") return u ? l + n.value : "("; if (n.type === "close") return u ? l + n.value : ")"; if (n.type === "comma") return n.prev.type === "comma" ? "" : u ? n.value : "|"; if (n.value) return n.value; if (n.nodes && n.ranges > 0) { let f = x1.reduce(n.nodes), d = iZ(...f, { ...t, wrap: !1, toRegex: !0, strictZeros: !0 }); if (d.length !== 0) return f.length > 1 && d.length > 1 ? `(${d})` : d; } if (n.nodes) for (let f of n.nodes) c += r(f, n); return c; }, "walk"); return r(e); }, "compile"); C1.exports = aZ; }); // ../node_modules/braces/lib/expand.js var k1 = y(($3e, R1) => { "use strict"; var sZ = Gb(), O1 = hd(), Wl = fd(), Ou = /* @__PURE__ */ a((e = "", t = "", r = !1) => { let n = []; if (e = [].concat(e), t = [].concat(t), !t.length) return e; if (!e.length) return r ? Wl.flatten(t).map((i) => `{${i}}`) : t; for (let i of e) if (Array.isArray(i)) for (let s of i) n.push(Ou(s, t, r)); else for (let s of t) r === !0 && typeof s == "string" && (s = `{${s}}`), n.push(Array.isArray(s) ? Ou(i, s, r) : i + s); return Wl.flatten(n); }, "append"), oZ = /* @__PURE__ */ a((e, t = {}) => { let r = t.rangeLimit === void 0 ? 1e3 : t.rangeLimit, n = /* @__PURE__ */ a((i, s = {}) => { i.queue = []; let o = s, u = s.queue; for (; o.type !== "brace" && o.type !== "root" && o.parent; ) o = o.parent, u = o.queue; if (i.invalid || i.dollar) { u.push(Ou(u.pop(), O1(i, t))); return; } if (i.type === "brace" && i.invalid !== !0 && i.nodes.length === 2) { u.push(Ou(u.pop(), ["{}"])); return; } if (i.nodes && i.ranges > 0) { let d = Wl.reduce(i.nodes); if (Wl.exceedsLimit(...d, t.step, r)) throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit."); let g = sZ(...d, t); g.length === 0 && (g = O1(i, t)), u.push(Ou(u.pop(), g)), i.nodes = []; return; } let l = Wl.encloseBrace(i), c = i.queue, f = i; for (; f.type !== "brace" && f.type !== "root" && f.parent; ) f = f.parent, c = f.queue; for (let d = 0; d < i.nodes.length; d++) { let g = i.nodes[d]; if (g.type === "comma" && i.type === "brace") { d === 1 && c.push(""), c.push(""); continue; } if (g.type === "close") { u.push(Ou(u.pop(), c, l)); continue; } if (g.value && g.type !== "open") { c.push(Ou(c.pop(), g.value)); continue; } g.nodes && n(g, i); } return c; }, "walk"); return Wl.flatten(n(e)); }, "expand"); R1.exports = oZ; }); // ../node_modules/braces/lib/constants.js var F1 = y((Y3e, P1) => { "use strict"; P1.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 M1 = y((Q3e, B1) => { "use strict"; var uZ = hd(), { MAX_LENGTH: I1, CHAR_BACKSLASH: zb, /* \ */ CHAR_BACKTICK: lZ, /* ` */ CHAR_COMMA: cZ, /* , */ CHAR_DOT: fZ, /* . */ CHAR_LEFT_PARENTHESES: hZ, /* ( */ CHAR_RIGHT_PARENTHESES: pZ, /* ) */ CHAR_LEFT_CURLY_BRACE: dZ, /* { */ CHAR_RIGHT_CURLY_BRACE: mZ, /* } */ CHAR_LEFT_SQUARE_BRACKET: N1, /* [ */ CHAR_RIGHT_SQUARE_BRACKET: L1, /* ] */ CHAR_DOUBLE_QUOTE: gZ, /* " */ CHAR_SINGLE_QUOTE: _Z, /* ' */ CHAR_NO_BREAK_SPACE: vZ, CHAR_ZERO_WIDTH_NOBREAK_SPACE: bZ } = F1(), yZ = /* @__PURE__ */ a((e, t = {}) => { if (typeof e != "string") throw new TypeError("Expected a string"); let r = t || {}, n = typeof r.maxLength == "number" ? Math.min(I1, r.maxLength) : I1; if (e.length > n) throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${n})`); let i = { type: "root", input: e, nodes: [] }, s = [i], o = i, u = i, l = 0, c = e.length, f = 0, d = 0, g, b = /* @__PURE__ */ a(() => e[f++], "advance"), _ = /* @__PURE__ */ a((T) => { if (T.type === "text" && u.type === "dot" && (u.type = "text"), u && u.type === "text" && T.type === "text") { u.value += T.value; return; } return o.nodes.push(T), T.parent = o, T.prev = u, u = T, T; }, "push"); for (_({ type: "bos" }); f < c; ) if (o = s[s.length - 1], g = b(), !(g === bZ || g === vZ)) { if (g === zb) { _({ type: "text", value: (t.keepEscaping ? g : "") + b() }); continue; } if (g === L1) { _({ type: "text", value: "\\" + g }); continue; } if (g === N1) { l++; let T; for (; f < c && (T = b()); ) { if (g += T, T === N1) { l++; continue; } if (T === zb) { g += b(); continue; } if (T === L1 && (l--, l === 0)) break; } _({ type: "text", value: g }); continue; } if (g === hZ) { o = _({ type: "paren", nodes: [] }), s.push(o), _({ type: "text", value: g }); continue; } if (g === pZ) { if (o.type !== "paren") { _({ type: "text", value: g }); continue; } o = s.pop(), _({ type: "text", value: g }), o = s[s.length - 1]; continue; } if (g === gZ || g === _Z || g === lZ) { let T = g, p; for (t.keepQuotes !== !0 && (g = ""); f < c && (p = b()); ) { if (p === zb) { g += p + b(); continue; } if (p === T) { t.keepQuotes === !0 && (g += p); break; } g += p; } _({ type: "text", value: g }); continue; } if (g === dZ) { d++; let p = { type: "brace", open: !0, close: !1, dollar: u.value && u.value.slice(-1) === "$" || o.dollar === !0, depth: d, commas: 0, ranges: 0, nodes: [] }; o = _(p), s.push(o), _({ type: "open", value: g }); continue; } if (g === mZ) { if (o.type !== "brace") { _({ type: "text", value: g }); continue; } let T = "close"; o = s.pop(), o.close = !0, _({ type: T, value: g }), d--, o = s[s.length - 1]; continue; } if (g === cZ && d > 0) { if (o.ranges > 0) { o.ranges = 0; let T = o.nodes.shift(); o.nodes = [T, { type: "text", value: uZ(o) }]; } _({ type: "comma", value: g }), o.commas++; continue; } if (g === fZ && d > 0 && o.commas === 0) { let T = o.nodes; if (d === 0 || T.length === 0) { _({ type: "text", value: g }); continue; } if (u.type === "dot") { if (o.range = [], u.value += g, u.type = "range", o.nodes.length !== 3 && o.nodes.length !== 5) { o.invalid = !0, o.ranges = 0, u.type = "text"; continue; } o.ranges++, o.args = []; continue; } if (u.type === "range") { T.pop(); let p = T[T.length - 1]; p.value += u.value + g, u = p, o.ranges--; continue; } _({ type: "dot", value: g }); continue; } _({ type: "text", value: g }); } do if (o = s.pop(), o.type !== "root") { o.nodes.forEach((h) => { h.nodes || (h.type === "open" && (h.isOpen = !0), h.type === "close" && (h.isClose = !0), h.nodes || (h.type = "text"), h.invalid = !0); }); let T = s[s.length - 1], p = T.nodes.indexOf(o); T.nodes.splice(p, 1, ...o.nodes); } while (s.length > 0); return _({ type: "eos" }), i; }, "parse"); B1.exports = yZ; }); // ../node_modules/braces/index.js var V1 = y((J3e, U1) => { "use strict"; var q1 = hd(), SZ = w1(), EZ = k1(), AZ = M1(), Xi = /* @__PURE__ */ a((e, t = {}) => { let r = []; if (Array.isArray(e)) for (let n of e) { let i = Xi.create(n, t); Array.isArray(i) ? r.push(...i) : r.push(i); } else r = [].concat(Xi.create(e, t)); return t && t.expand === !0 && t.nodupes === !0 && (r = [...new Set(r)]), r; }, "braces"); Xi.parse = (e, t = {}) => AZ(e, t); Xi.stringify = (e, t = {}) => q1(typeof e == "string" ? Xi.parse(e, t) : e, t); Xi.compile = (e, t = {}) => (typeof e == "string" && (e = Xi.parse(e, t)), SZ(e, t)); Xi.expand = (e, t = {}) => { typeof e == "string" && (e = Xi.parse(e, t)); let r = EZ(e, t); return t.noempty === !0 && (r = r.filter(Boolean)), t.nodupes === !0 && (r = [...new Set(r)]), r; }; Xi.create = (e, t = {}) => e === "" || e.length < 3 ? [e] : t.expand !== !0 ? Xi.compile(e, t) : Xi.expand(e, t); U1.exports = Xi; }); // ../node_modules/picomatch/lib/constants.js var Nf = y((tqe, K1) => { "use strict"; var TZ = require("path"), bs = "\\\\/", H1 = `[^${bs}]`, Xs = "\\.", DZ = "\\+", xZ = "\\?", md = "\\/", CZ = "(?=.)", j1 = "[^/]", Kb = `\ (?:${md}|$)`, G1 = `(?:^|${md})`, Wb = `${Xs}{1,2}${Kb}`, wZ = `(?!${Xs})`, OZ = `(?!${G1}${Wb})`, RZ = `(?!${Xs}{0,1}${Kb})`, kZ = `(?!${Wb}\ )`, PZ = `[^.${md}]`, FZ = `${j1}*?`, z1 = { DOT_LITERAL: Xs, PLUS_LITERAL: DZ, QMARK_LITERAL: xZ, SLASH_LITERAL: md, ONE_CHAR: CZ, QMARK: j1, END_ANCHOR: Kb, DOTS_SLASH: Wb, NO_DOT: wZ, NO_DOTS: OZ, NO_DOT_SLASH: RZ, NO_DOTS_SLASH: kZ, QMARK_NO_DOT: PZ, STAR: FZ, START_ANCHOR: G1 }, IZ = { ...z1, SLASH_LITERAL: `[${bs}]`, QMARK: H1, STAR: `${H1}*?`, DOTS_SLASH: `${Xs}{1,2}(?:[${bs}]|$)`, NO_DOT: `(?!${Xs})`, NO_DOTS: `(?!(?:^|[${bs}])${Xs}{1,2}(?:[${bs}]|$))`, NO_DOT_SLASH: `(?!${Xs}{0,1}(?:[${bs}]|$))`, NO_DOTS_SLASH: `(?!${Xs}{1,2}(?:[${bs}]|$))`, QMARK_NO_DOT: `[^.${bs}]`, START_ANCHOR: `(?:^|[${bs}])`, END_ANCHOR: `(?:[${bs}]|$)` }, NZ = { 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" }; K1.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: NZ, // 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: TZ.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 ? IZ : z1; } }; }); // ../node_modules/picomatch/lib/utils.js var Lf = y((Fi) => { "use strict"; var LZ = require("path"), BZ = process.platform === "win32", { REGEX_BACKSLASH: MZ, REGEX_REMOVE_BACKSLASH: qZ, REGEX_SPECIAL_CHARS: UZ, REGEX_SPECIAL_CHARS_GLOBAL: VZ } = Nf(); Fi.isObject = (e) => e !== null && typeof e == "object" && !Array.isArray(e); Fi.hasRegexChars = (e) => UZ.test(e); Fi.isRegexChar = (e) => e.length === 1 && Fi.hasRegexChars(e); Fi.escapeRegex = (e) => e.replace(VZ, "\\$1"); Fi.toPosixSlashes = (e) => e.replace(MZ, "/"); Fi.removeBackslashes = (e) => e.replace(qZ, (t) => t === "\\" ? "" : t); Fi.supportsLookbehinds = () => { let e = process.version.slice(1).split(".").map(Number); return e.length === 3 && e[0] >= 9 || e[0] === 8 && e[1] >= 10; }; Fi.isWindows = (e) => e && typeof e.windows == "boolean" ? e.windows : BZ === !0 || LZ.sep === "\\"; Fi.escapeLast = (e, t, r) => { let n = e.lastIndexOf(t, r); return n === -1 ? e : e[n - 1] === "\\" ? Fi.escapeLast(e, t, n - 1) : `${e.slice(0, n)}\\${e.slice(n)}`; }; Fi.removePrefix = (e, t = {}) => { let r = e; return r.startsWith("./") && (r = r.slice(2), t.prefix = "./"), r; }; Fi.wrapOutput = (e, t = {}, r = {}) => { let n = r.contains ? "" : "^", i = r.contains ? "" : "$", s = `${n}(?:${e})${i}`; return t.negated === !0 && (s = `(?:^(?!${s}).*$)`), s; }; }); // ../node_modules/picomatch/lib/scan.js var ew = y((nqe, J1) => { "use strict"; var W1 = Lf(), { CHAR_ASTERISK: $b, /* * */ CHAR_AT: HZ, /* @ */ CHAR_BACKWARD_SLASH: Bf, /* \ */ CHAR_COMMA: jZ, /* , */ CHAR_DOT: Xb, /* . */ CHAR_EXCLAMATION_MARK: Yb, /* ! */ CHAR_FORWARD_SLASH: Z1, /* / */ CHAR_LEFT_CURLY_BRACE: Qb, /* { */ CHAR_LEFT_PARENTHESES: Zb, /* ( */ CHAR_LEFT_SQUARE_BRACKET: GZ, /* [ */ CHAR_PLUS: zZ, /* + */ CHAR_QUESTION_MARK: $1, /* ? */ CHAR_RIGHT_CURLY_BRACE: KZ, /* } */ CHAR_RIGHT_PARENTHESES: X1, /* ) */ CHAR_RIGHT_SQUARE_BRACKET: WZ /* ] */ } = Nf(), Y1 = /* @__PURE__ */ a((e) => e === Z1 || e === Bf, "isPathSeparator"), Q1 = /* @__PURE__ */ a((e) => { e.isPrefix !== !0 && (e.depth = e.isGlobstar ? 1 / 0 : 1); }, "depth"), $Z = /* @__PURE__ */ a((e, t) => { let r = t || {}, n = e.length - 1, i = r.parts === !0 || r.scanToEnd === !0, s = [], o = [], u = [], l = e, c = -1, f = 0, d = 0, g = !1, b = !1, _ = !1, T = !1, p = !1, h = !1, S = !1, D = !1, E = !1, C = !1, m = 0, v, A, w = { value: "", depth: 0, isGlob: !1 }, F = /* @__PURE__ */ a( () => c >= n, "eos"), x = /* @__PURE__ */ a(() => l.charCodeAt(c + 1), "peek"), I = /* @__PURE__ */ a(() => (v = A, l.charCodeAt(++c)), "\ advance"); for (; c < n; ) { A = I(); let ee; if (A === Bf) { S = w.backslashes = !0, A = I(), A === Qb && (h = !0); continue; } if (h === !0 || A === Qb) { for (m++; F() !== !0 && (A = I()); ) { if (A === Bf) { S = w.backslashes = !0, I(); continue; } if (A === Qb) { m++; continue; } if (h !== !0 && A === Xb && (A = I()) === Xb) { if (g = w.isBrace = !0, _ = w.isGlob = !0, C = !0, i === !0) continue; break; } if (h !== !0 && A === jZ) { if (g = w.isBrace = !0, _ = w.isGlob = !0, C = !0, i === !0) continue; break; } if (A === KZ && (m--, m === 0)) { h = !1, g = w.isBrace = !0, C = !0; break; } } if (i === !0) continue; break; } if (A === Z1) { if (s.push(c), o.push(w), w = { value: "", depth: 0, isGlob: !1 }, C === !0) continue; if (v === Xb && c === f + 1) { f += 2; continue; } d = c + 1; continue; } if (r.noext !== !0 && (A === zZ || A === HZ || A === $b || A === $1 || A === Yb) === !0 && x() === Zb) { if (_ = w.isGlob = !0, T = w.isExtglob = !0, C = !0, A === Yb && c === f && (E = !0), i === !0) { for (; F() !== !0 && (A = I()); ) { if (A === Bf) { S = w.backslashes = !0, A = I(); continue; } if (A === X1) { _ = w.isGlob = !0, C = !0; break; } } continue; } break; } if (A === $b) { if (v === $b && (p = w.isGlobstar = !0), _ = w.isGlob = !0, C = !0, i === !0) continue; break; } if (A === $1) { if (_ = w.isGlob = !0, C = !0, i === !0) continue; break; } if (A === GZ) { for (; F() !== !0 && (ee = I()); ) { if (ee === Bf) { S = w.backslashes = !0, I(); continue; } if (ee === WZ) { b = w.isBracket = !0, _ = w.isGlob = !0, C = !0; break; } } if (i === !0) continue; break; } if (r.nonegate !== !0 && A === Yb && c === f) { D = w.negated = !0, f++; continue; } if (r.noparen !== !0 && A === Zb) { if (_ = w.isGlob = !0, i === !0) { for (; F() !== !0 && (A = I()); ) { if (A === Zb) { S = w.backslashes = !0, A = I(); continue; } if (A === X1) { C = !0; break; } } continue; } break; } if (_ === !0) { if (C = !0, i === !0) continue; break; } } r.noext === !0 && (T = !1, _ = !1); let N = l, H = "", U = ""; f > 0 && (H = l.slice(0, f), l = l.slice(f), d -= f), N && _ === !0 && d > 0 ? (N = l.slice(0, d), U = l.slice(d)) : _ === !0 ? (N = "", U = l) : N = l, N && N !== "" && N !== "/" && N !== l && Y1(N.charCodeAt(N.length - 1)) && (N = N.slice(0, -1)), r.unescape === !0 && (U && (U = W1.removeBackslashes(U)), N && S === !0 && (N = W1.removeBackslashes(N))); let M = { prefix: H, input: e, start: f, base: N, glob: U, isBrace: g, isBracket: b, isGlob: _, isExtglob: T, isGlobstar: p, negated: D, negatedExtglob: E }; if (r.tokens === !0 && (M.maxDepth = 0, Y1(A) || o.push(w), M.tokens = o), r.parts === !0 || r.tokens === !0) { let ee; for (let oe = 0; oe < s.length; oe++) { let he = ee ? ee + 1 : f, le = s[oe], ze = e.slice(he, le); r.tokens && (oe === 0 && f !== 0 ? (o[oe].isPrefix = !0, o[oe].value = H) : o[oe].value = ze, Q1(o[oe]), M.maxDepth += o[oe].depth), (oe !== 0 || ze !== "") && u.push(ze), ee = le; } if (ee && ee + 1 < e.length) { let oe = e.slice(ee + 1); u.push(oe), r.tokens && (o[o.length - 1].value = oe, Q1(o[o.length - 1]), M.maxDepth += o[o.length - 1].depth); } M.slashes = s, M.parts = u; } return M; }, "scan"); J1.exports = $Z; }); // ../node_modules/picomatch/lib/parse.js var nw = y((aqe, rw) => { "use strict"; var gd = Nf(), Yi = Lf(), { MAX_LENGTH: _d, POSIX_REGEX_SOURCE: XZ, REGEX_NON_SPECIAL_CHARS: YZ, REGEX_SPECIAL_CHARS_BACKREF: QZ, REPLACEMENTS: tw } = gd, ZZ = /* @__PURE__ */ a((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((i) => Yi.escapeRegex(i)).join(".."); } return r; }, "expandRange"), $l = /* @__PURE__ */ a((e, t) => `Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`, "syntaxError"), Jb = /* @__PURE__ */ a( (e, t) => { if (typeof e != "string") throw new TypeError("Expected a string"); e = tw[e] || e; let r = { ...t }, n = typeof r.maxLength == "number" ? Math.min(_d, r.maxLength) : _d, i = e.length; if (i > n) throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`); let s = { type: "bos", value: "", output: r.prepend || "" }, o = [s], u = r.capture ? "" : "?:", l = Yi.isWindows(t), c = gd.globChars(l), f = gd.extglobChars(c), { DOT_LITERAL: d, PLUS_LITERAL: g, SLASH_LITERAL: b, ONE_CHAR: _, DOTS_SLASH: T, NO_DOT: p, NO_DOT_SLASH: h, NO_DOTS_SLASH: S, QMARK: D, QMARK_NO_DOT: E, STAR: C, START_ANCHOR: m } = c, v = /* @__PURE__ */ a((ie) => `(${u}(?:(?!${m}${ie.dot ? T : d}).)*?)`, "globstar"), A = r.dot ? "" : p, w = r.dot ? D : E, F = r. bash === !0 ? v(r) : C; r.capture && (F = `(${F})`), typeof r.noext == "boolean" && (r.noextglob = r.noext); let x = { 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: o }; e = Yi.removePrefix(e, x), i = e.length; let I = [], N = [], H = [], U = s, M, ee = /* @__PURE__ */ a(() => x.index === i - 1, "eos"), oe = x.peek = (ie = 1) => e[x.index + ie], he = x.advance = () => e[++x.index] || "", le = /* @__PURE__ */ a(() => e.slice(x.index + 1), "remaining"), ze = /* @__PURE__ */ a((ie = "", je = 0) => { x.consumed += ie, x.index += je; }, "consume"), te = /* @__PURE__ */ a((ie) => { x.output += ie.output != null ? ie.output : ie.value, ze(ie.value); }, "append"), ve = /* @__PURE__ */ a(() => { let ie = 1; for (; oe() === "!" && (oe(2) !== "(" || oe(3) === "?"); ) he(), x.start++, ie++; return ie % 2 === 0 ? !1 : (x.negated = !0, x.start++, !0); }, "negate"), z = /* @__PURE__ */ a((ie) => { x[ie]++, H.push(ie); }, "increment"), j = /* @__PURE__ */ a((ie) => { x[ie]--, H.pop(); }, "decrement"), X = /* @__PURE__ */ a((ie) => { if (U.type === "globstar") { let je = x.braces > 0 && (ie.type === "comma" || ie.type === "brace"), Q = ie.extglob === !0 || I.length && (ie.type === "pipe" || ie. type === "paren"); ie.type !== "slash" && ie.type !== "paren" && !je && !Q && (x.output = x.output.slice(0, -U.output.length), U.type = "star", U.value = "*", U.output = F, x.output += U.output); } if (I.length && ie.type !== "paren" && (I[I.length - 1].inner += ie.value), (ie.value || ie.output) && te(ie), U && U.type === "text" && ie.type === "text") { U.value += ie.value, U.output = (U.output || "") + ie.value; return; } ie.prev = U, o.push(ie), U = ie; }, "push"), re = /* @__PURE__ */ a((ie, je) => { let Q = { ...f[je], conditions: 1, inner: "" }; Q.prev = U, Q.parens = x.parens, Q.output = x.output; let se = (r.capture ? "(" : "") + Q.open; z("parens"), X({ type: ie, value: je, output: x.output ? "" : _ }), X({ type: "paren", extglob: !0, value: he(), output: se }), I.push( Q); }, "extglobOpen"), ce = /* @__PURE__ */ a((ie) => { let je = ie.close + (r.capture ? ")" : ""), Q; if (ie.type === "negate") { let se = F; if (ie.inner && ie.inner.length > 1 && ie.inner.includes("/") && (se = v(r)), (se !== F || ee() || /^\)+$/.test(le())) && (je = ie.close = `)$))${se}`), ie.inner.includes("*") && (Q = le()) && /^\.[^\\/.]+$/.test(Q)) { let fe = Jb(Q, { ...t, fastpaths: !1 }).output; je = ie.close = `)${fe})${se})`; } ie.prev.type === "bos" && (x.negatedExtglob = !0); } X({ type: "paren", extglob: !0, value: M, output: je }), j("parens"); }, "extglobClose"); if (r.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(e)) { let ie = !1, je = e.replace(QZ, (Q, se, fe, V, Y, ae) => V === "\\" ? (ie = !0, Q) : V === "?" ? se ? se + V + (Y ? D.repeat(Y.length) : "") : ae === 0 ? w + (Y ? D.repeat(Y.length) : "") : D.repeat(fe.length) : V === "." ? d.repeat(fe.length) : V === "*" ? se ? se + V + (Y ? F : "") : F : se ? Q : `\\${Q}`); return ie === !0 && (r.unescape === !0 ? je = je.replace(/\\/g, "") : je = je.replace(/\\+/g, (Q) => Q.length % 2 === 0 ? "\\\\" : Q ? "\\" : "")), je === e && r.contains === !0 ? (x.output = e, x) : (x.output = Yi.wrapOutput(je, x, t), x); } for (; !ee(); ) { if (M = he(), M === "\0") continue; if (M === "\\") { let Q = oe(); if (Q === "/" && r.bash !== !0 || Q === "." || Q === ";") continue; if (!Q) { M += "\\", X({ type: "text", value: M }); continue; } let se = /^\\+/.exec(le()), fe = 0; if (se && se[0].length > 2 && (fe = se[0].length, x.index += fe, fe % 2 !== 0 && (M += "\\")), r.unescape === !0 ? M = he() : M += he(), x.brackets === 0) { X({ type: "text", value: M }); continue; } } if (x.brackets > 0 && (M !== "]" || U.value === "[" || U.value === "[^")) { if (r.posix !== !1 && M === ":") { let Q = U.value.slice(1); if (Q.includes("[") && (U.posix = !0, Q.includes(":"))) { let se = U.value.lastIndexOf("["), fe = U.value.slice(0, se), V = U.value.slice(se + 2), Y = XZ[V]; if (Y) { U.value = fe + Y, x.backtrack = !0, he(), !s.output && o.indexOf(U) === 1 && (s.output = _); continue; } } } (M === "[" && oe() !== ":" || M === "-" && oe() === "]") && (M = `\\${M}`), M === "]" && (U.value === "[" || U.value === "[^") && (M = `\\${M}`), r.posix === !0 && M === "!" && U.value === "[" && (M = "^"), U.value += M, te({ value: M }); continue; } if (x.quotes === 1 && M !== '"') { M = Yi.escapeRegex(M), U.value += M, te({ value: M }); continue; } if (M === '"') { x.quotes = x.quotes === 1 ? 0 : 1, r.keepQuotes === !0 && X({ type: "text", value: M }); continue; } if (M === "(") { z("parens"), X({ type: "paren", value: M }); continue; } if (M === ")") { if (x.parens === 0 && r.strictBrackets === !0) throw new SyntaxError($l("opening", "(")); let Q = I[I.length - 1]; if (Q && x.parens === Q.parens + 1) { ce(I.pop()); continue; } X({ type: "paren", value: M, output: x.parens ? ")" : "\\)" }), j("parens"); continue; } if (M === "[") { if (r.nobracket === !0 || !le().includes("]")) { if (r.nobracket !== !0 && r.strictBrackets === !0) throw new SyntaxError($l("closing", "]")); M = `\\${M}`; } else z("brackets"); X({ type: "bracket", value: M }); continue; } if (M === "]") { if (r.nobracket === !0 || U && U.type === "bracket" && U.value.length === 1) { X({ type: "text", value: M, output: `\\${M}` }); continue; } if (x.brackets === 0) { if (r.strictBrackets === !0) throw new SyntaxError($l("opening", "[")); X({ type: "text", value: M, output: `\\${M}` }); continue; } j("brackets"); let Q = U.value.slice(1); if (U.posix !== !0 && Q[0] === "^" && !Q.includes("/") && (M = `/${M}`), U.value += M, te({ value: M }), r.literalBrackets === !1 || Yi.hasRegexChars(Q)) continue; let se = Yi.escapeRegex(U.value); if (x.output = x.output.slice(0, -U.value.length), r.literalBrackets === !0) { x.output += se, U.value = se; continue; } U.value = `(${u}${se}|${U.value})`, x.output += U.value; continue; } if (M === "{" && r.nobrace !== !0) { z("braces"); let Q = { type: "brace", value: M, output: "(", outputIndex: x.output.length, tokensIndex: x.tokens.length }; N.push(Q), X(Q); continue; } if (M === "}") { let Q = N[N.length - 1]; if (r.nobrace === !0 || !Q) { X({ type: "text", value: M, output: M }); continue; } let se = ")"; if (Q.dots === !0) { let fe = o.slice(), V = []; for (let Y = fe.length - 1; Y >= 0 && (o.pop(), fe[Y].type !== "brace"); Y--) fe[Y].type !== "dots" && V.unshift(fe[Y].value); se = ZZ(V, r), x.backtrack = !0; } if (Q.comma !== !0 && Q.dots !== !0) { let fe = x.output.slice(0, Q.outputIndex), V = x.tokens.slice(Q.tokensIndex); Q.value = Q.output = "\\{", M = se = "\\}", x.output = fe; for (let Y of V) x.output += Y.output || Y.value; } X({ type: "brace", value: M, output: se }), j("braces"), N.pop(); continue; } if (M === "|") { I.length > 0 && I[I.length - 1].conditions++, X({ type: "text", value: M }); continue; } if (M === ",") { let Q = M, se = N[N.length - 1]; se && H[H.length - 1] === "braces" && (se.comma = !0, Q = "|"), X({ type: "comma", value: M, output: Q }); continue; } if (M === "/") { if (U.type === "dot" && x.index === x.start + 1) { x.start = x.index + 1, x.consumed = "", x.output = "", o.pop(), U = s; continue; } X({ type: "slash", value: M, output: b }); continue; } if (M === ".") { if (x.braces > 0 && U.type === "dot") { U.value === "." && (U.output = d); let Q = N[N.length - 1]; U.type = "dots", U.output += M, U.value += M, Q.dots = !0; continue; } if (x.braces + x.parens === 0 && U.type !== "bos" && U.type !== "slash") { X({ type: "text", value: M, output: d }); continue; } X({ type: "dot", value: M, output: d }); continue; } if (M === "?") { if (!(U && U.value === "(") && r.noextglob !== !0 && oe() === "(" && oe(2) !== "?") { re("qmark", M); continue; } if (U && U.type === "paren") { let se = oe(), fe = M; if (se === "<" && !Yi.supportsLookbehinds()) throw new Error("Node.js v10 or higher is required for regex lookbehinds"); (U.value === "(" && !/[!=<:]/.test(se) || se === "<" && !/<([!=]|\w+>)/.test(le())) && (fe = `\\${M}`), X({ type: "text", value: M, output: fe }); continue; } if (r.dot !== !0 && (U.type === "slash" || U.type === "bos")) { X({ type: "qmark", value: M, output: E }); continue; } X({ type: "qmark", value: M, output: D }); continue; } if (M === "!") { if (r.noextglob !== !0 && oe() === "(" && (oe(2) !== "?" || !/[!=<:]/.test(oe(3)))) { re("negate", M); continue; } if (r.nonegate !== !0 && x.index === 0) { ve(); continue; } } if (M === "+") { if (r.noextglob !== !0 && oe() === "(" && oe(2) !== "?") { re("plus", M); continue; } if (U && U.value === "(" || r.regex === !1) { X({ type: "plus", value: M, output: g }); continue; } if (U && (U.type === "bracket" || U.type === "paren" || U.type === "brace") || x.parens > 0) { X({ type: "plus", value: M }); continue; } X({ type: "plus", value: g }); continue; } if (M === "@") { if (r.noextglob !== !0 && oe() === "(" && oe(2) !== "?") { X({ type: "at", extglob: !0, value: M, output: "" }); continue; } X({ type: "text", value: M }); continue; } if (M !== "*") { (M === "$" || M === "^") && (M = `\\${M}`); let Q = YZ.exec(le()); Q && (M += Q[0], x.index += Q[0].length), X({ type: "text", value: M }); continue; } if (U && (U.type === "globstar" || U.star === !0)) { U.type = "star", U.star = !0, U.value += M, U.output = F, x.backtrack = !0, x.globstar = !0, ze(M); continue; } let ie = le(); if (r.noextglob !== !0 && /^\([^?]/.test(ie)) { re("star", M); continue; } if (U.type === "star") { if (r.noglobstar === !0) { ze(M); continue; } let Q = U.prev, se = Q.prev, fe = Q.type === "slash" || Q.type === "bos", V = se && (se.type === "star" || se.type === "globstar"); if (r.bash === !0 && (!fe || ie[0] && ie[0] !== "/")) { X({ type: "star", value: M, output: "" }); continue; } let Y = x.braces > 0 && (Q.type === "comma" || Q.type === "brace"), ae = I.length && (Q.type === "pipe" || Q.type === "paren"); if (!fe && Q.type !== "paren" && !Y && !ae) { X({ type: "star", value: M, output: "" }); continue; } for (; ie.slice(0, 3) === "/**"; ) { let Pe = e[x.index + 4]; if (Pe && Pe !== "/") break; ie = ie.slice(3), ze("/**", 3); } if (Q.type === "bos" && ee()) { U.type = "globstar", U.value += M, U.output = v(r), x.output = U.output, x.globstar = !0, ze(M); continue; } if (Q.type === "slash" && Q.prev.type !== "bos" && !V && ee()) { x.output = x.output.slice(0, -(Q.output + U.output).length), Q.output = `(?:${Q.output}`, U.type = "globstar", U.output = v(r) + (r. strictSlashes ? ")" : "|$)"), U.value += M, x.globstar = !0, x.output += Q.output + U.output, ze(M); continue; } if (Q.type === "slash" && Q.prev.type !== "bos" && ie[0] === "/") { let Pe = ie[1] !== void 0 ? "|$" : ""; x.output = x.output.slice(0, -(Q.output + U.output).length), Q.output = `(?:${Q.output}`, U.type = "globstar", U.output = `${v(r)}${b}\ |${b}${Pe})`, U.value += M, x.output += Q.output + U.output, x.globstar = !0, ze(M + he()), X({ type: "slash", value: "/", output: "" }); continue; } if (Q.type === "bos" && ie[0] === "/") { U.type = "globstar", U.value += M, U.output = `(?:^|${b}|${v(r)}${b})`, x.output = U.output, x.globstar = !0, ze(M + he()), X({ type: "\ slash", value: "/", output: "" }); continue; } x.output = x.output.slice(0, -U.output.length), U.type = "globstar", U.output = v(r), U.value += M, x.output += U.output, x.globstar = !0, ze(M); continue; } let je = { type: "star", value: M, output: F }; if (r.bash === !0) { je.output = ".*?", (U.type === "bos" || U.type === "slash") && (je.output = A + je.output), X(je); continue; } if (U && (U.type === "bracket" || U.type === "paren") && r.regex === !0) { je.output = M, X(je); continue; } (x.index === x.start || U.type === "slash" || U.type === "dot") && (U.type === "dot" ? (x.output += h, U.output += h) : r.dot === !0 ? (x.output += S, U.output += S) : (x.output += A, U.output += A), oe() !== "*" && (x.output += _, U.output += _)), X(je); } for (; x.brackets > 0; ) { if (r.strictBrackets === !0) throw new SyntaxError($l("closing", "]")); x.output = Yi.escapeLast(x.output, "["), j("brackets"); } for (; x.parens > 0; ) { if (r.strictBrackets === !0) throw new SyntaxError($l("closing", ")")); x.output = Yi.escapeLast(x.output, "("), j("parens"); } for (; x.braces > 0; ) { if (r.strictBrackets === !0) throw new SyntaxError($l("closing", "}")); x.output = Yi.escapeLast(x.output, "{"), j("braces"); } if (r.strictSlashes !== !0 && (U.type === "star" || U.type === "bracket") && X({ type: "maybe_slash", value: "", output: `${b}?` }), x.backtrack === !0) { x.output = ""; for (let ie of x.tokens) x.output += ie.output != null ? ie.output : ie.value, ie.suffix && (x.output += ie.suffix); } return x; }, "parse"); Jb.fastpaths = (e, t) => { let r = { ...t }, n = typeof r.maxLength == "number" ? Math.min(_d, r.maxLength) : _d, i = e.length; if (i > n) throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`); e = tw[e] || e; let s = Yi.isWindows(t), { DOT_LITERAL: o, SLASH_LITERAL: u, ONE_CHAR: l, DOTS_SLASH: c, NO_DOT: f, NO_DOTS: d, NO_DOTS_SLASH: g, STAR: b, START_ANCHOR: _ } = gd.globChars(s), T = r.dot ? d : f, p = r.dot ? g : f, h = r.capture ? "" : "?:", S = { negated: !1, prefix: "" }, D = r.bash === !0 ? ".*?" : b; r.capture && (D = `(${D})`); let E = /* @__PURE__ */ a((A) => A.noglobstar === !0 ? D : `(${h}(?:(?!${_}${A.dot ? c : o}).)*?)`, "globstar"), C = /* @__PURE__ */ a((A) => { switch (A) { case "*": return `${T}${l}${D}`; case ".*": return `${o}${l}${D}`; case "*.*": return `${T}${D}${o}${l}${D}`; case "*/*": return `${T}${D}${u}${l}${p}${D}`; case "**": return T + E(r); case "**/*": return `(?:${T}${E(r)}${u})?${p}${l}${D}`; case "**/*.*": return `(?:${T}${E(r)}${u})?${p}${D}${o}${l}${D}`; case "**/.*": return `(?:${T}${E(r)}${u})?${o}${l}${D}`; default: { let w = /^(.*?)\.(\w+)$/.exec(A); if (!w) return; let F = C(w[1]); return F ? F + o + w[2] : void 0; } } }, "create"), m = Yi.removePrefix(e, S), v = C(m); return v && r.strictSlashes !== !0 && (v += `${u}?`), v; }; rw.exports = Jb; }); // ../node_modules/picomatch/lib/picomatch.js var aw = y((oqe, iw) => { "use strict"; var JZ = require("path"), eJ = ew(), ey = nw(), ty = Lf(), tJ = Nf(), rJ = /* @__PURE__ */ a((e) => e && typeof e == "object" && !Array.isArray( e), "isObject"), Qr = /* @__PURE__ */ a((e, t, r = !1) => { if (Array.isArray(e)) { let f = e.map((g) => Qr(g, t, r)); return /* @__PURE__ */ a((g) => { for (let b of f) { let _ = b(g); if (_) return _; } return !1; }, "arrayMatcher"); } let n = rJ(e) && e.tokens && e.input; if (e === "" || typeof e != "string" && !n) throw new TypeError("Expected pattern to be a non-empty string"); let i = t || {}, s = ty.isWindows(t), o = n ? Qr.compileRe(e, t) : Qr.makeRe(e, t, !1, !0), u = o.state; delete o.state; let l = /* @__PURE__ */ a(() => !1, "isIgnored"); if (i.ignore) { let f = { ...t, ignore: null, onMatch: null, onResult: null }; l = Qr(i.ignore, f, r); } let c = /* @__PURE__ */ a((f, d = !1) => { let { isMatch: g, match: b, output: _ } = Qr.test(f, o, t, { glob: e, posix: s }), T = { glob: e, state: u, regex: o, posix: s, input: f, output: _, match: b, isMatch: g }; return typeof i.onResult == "function" && i.onResult(T), g === !1 ? (T.isMatch = !1, d ? T : !1) : l(f) ? (typeof i.onIgnore == "funct\ ion" && i.onIgnore(T), T.isMatch = !1, d ? T : !1) : (typeof i.onMatch == "function" && i.onMatch(T), d ? T : !0); }, "matcher"); return r && (c.state = u), c; }, "picomatch"); Qr.test = (e, t, r, { glob: n, posix: i } = {}) => { if (typeof e != "string") throw new TypeError("Expected input to be a string"); if (e === "") return { isMatch: !1, output: "" }; let s = r || {}, o = s.format || (i ? ty.toPosixSlashes : null), u = e === n, l = u && o ? o(e) : e; return u === !1 && (l = o ? o(e) : e, u = l === n), (u === !1 || s.capture === !0) && (s.matchBase === !0 || s.basename === !0 ? u = Qr. matchBase(e, t, r, i) : u = t.exec(l)), { isMatch: !!u, match: u, output: l }; }; Qr.matchBase = (e, t, r, n = ty.isWindows(r)) => (t instanceof RegExp ? t : Qr.makeRe(t, r)).test(JZ.basename(e)); Qr.isMatch = (e, t, r) => Qr(t, r)(e); Qr.parse = (e, t) => Array.isArray(e) ? e.map((r) => Qr.parse(r, t)) : ey(e, { ...t, fastpaths: !1 }); Qr.scan = (e, t) => eJ(e, t); Qr.compileRe = (e, t, r = !1, n = !1) => { if (r === !0) return e.output; let i = t || {}, s = i.contains ? "" : "^", o = i.contains ? "" : "$", u = `${s}(?:${e.output})${o}`; e && e.negated === !0 && (u = `^(?!${u}).*$`); let l = Qr.toRegex(u, t); return n === !0 && (l.state = e), l; }; Qr.makeRe = (e, t = {}, r = !1, n = !1) => { if (!e || typeof e != "string") throw new TypeError("Expected a non-empty string"); let i = { negated: !1, fastpaths: !0 }; return t.fastpaths !== !1 && (e[0] === "." || e[0] === "*") && (i.output = ey.fastpaths(e, t)), i.output || (i = ey(e, t)), Qr.compileRe( i, t, r, n); }; Qr.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 /$^/; } }; Qr.constants = tJ; iw.exports = Qr; }); // ../node_modules/picomatch/index.js var ow = y((lqe, sw) => { "use strict"; sw.exports = aw(); }); // ../node_modules/micromatch/index.js var pw = y((cqe, hw) => { "use strict"; var lw = require("util"), cw = V1(), ys = ow(), ry = Lf(), uw = /* @__PURE__ */ a((e) => e === "" || e === "./", "isEmptyString"), fw = /* @__PURE__ */ a( (e) => { let t = e.indexOf("{"); return t > -1 && e.indexOf("}", t) > -1; }, "hasBraces"), hr = /* @__PURE__ */ a((e, t, r) => { t = [].concat(t), e = [].concat(e); let n = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set(), o = 0, u = /* @__PURE__ */ a((f) => { s.add(f.output), r && r.onResult && r.onResult(f); }, "onResult"); for (let f = 0; f < t.length; f++) { let d = ys(String(t[f]), { ...r, onResult: u }, !0), g = d.state.negated || d.state.negatedExtglob; g && o++; for (let b of e) { let _ = d(b, !0); (g ? !_.isMatch : _.isMatch) && (g ? n.add(_.output) : (n.delete(_.output), i.add(_.output))); } } let c = (o === t.length ? [...s] : [...i]).filter((f) => !n.has(f)); 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((f) => f.replace(/\\/g, "")) : t; } return c; }, "micromatch"); hr.match = hr; hr.matcher = (e, t) => ys(e, t); hr.isMatch = (e, t, r) => ys(t, r)(e); hr.any = hr.isMatch; hr.not = (e, t, r = {}) => { t = [].concat(t).map(String); let n = /* @__PURE__ */ new Set(), i = [], s = /* @__PURE__ */ a((u) => { r.onResult && r.onResult(u), i.push(u.output); }, "onResult"), o = new Set(hr(e, t, { ...r, onResult: s })); for (let u of i) o.has(u) || n.add(u); return [...n]; }; hr.contains = (e, t, r) => { if (typeof e != "string") throw new TypeError(`Expected a string: "${lw.inspect(e)}"`); if (Array.isArray(t)) return t.some((n) => hr.contains(e, n, r)); if (typeof t == "string") { if (uw(e) || uw(t)) return !1; if (e.includes(t) || e.startsWith("./") && e.slice(2).includes(t)) return !0; } return hr.isMatch(e, t, { ...r, contains: !0 }); }; hr.matchKeys = (e, t, r) => { if (!ry.isObject(e)) throw new TypeError("Expected the first argument to be an object"); let n = hr(Object.keys(e), t, r), i = {}; for (let s of n) i[s] = e[s]; return i; }; hr.some = (e, t, r) => { let n = [].concat(e); for (let i of [].concat(t)) { let s = ys(String(i), r); if (n.some((o) => s(o))) return !0; } return !1; }; hr.every = (e, t, r) => { let n = [].concat(e); for (let i of [].concat(t)) { let s = ys(String(i), r); if (!n.every((o) => s(o))) return !1; } return !0; }; hr.all = (e, t, r) => { if (typeof e != "string") throw new TypeError(`Expected a string: "${lw.inspect(e)}"`); return [].concat(t).every((n) => ys(n, r)(e)); }; hr.capture = (e, t, r) => { let n = ry.isWindows(r), s = ys.makeRe(String(e), { ...r, capture: !0 }).exec(n ? ry.toPosixSlashes(t) : t); if (s) return s.slice(1).map((o) => o === void 0 ? "" : o); }; hr.makeRe = (...e) => ys.makeRe(...e); hr.scan = (...e) => ys.scan(...e); hr.parse = (e, t) => { let r = []; for (let n of [].concat(e || [])) for (let i of cw(String(n), t)) r.push(ys.parse(i, t)); return r; }; hr.braces = (e, t) => { if (typeof e != "string") throw new TypeError("Expected a string"); return t && t.nobrace === !0 || !fw(e) ? [e] : cw(e, t); }; hr.braceExpand = (e, t) => { if (typeof e != "string") throw new TypeError("Expected a string"); return hr.braces(e, { ...t, expand: !0 }); }; hr.hasBraces = fw; hw.exports = hr; }); // ../node_modules/fast-glob/out/utils/pattern.js var Aw = y((Ke) => { "use strict"; Object.defineProperty(Ke, "__esModule", { value: !0 }); Ke.isAbsolute = Ke.partitionAbsoluteAndRelative = Ke.removeDuplicateSlashes = Ke.matchAny = Ke.convertPatternsToRe = Ke.makeRe = Ke.getPatternParts = Ke.expandBraceExpansion = Ke.expandPatternsWithBraceExpansion = Ke.isAffectDepthOfReadingPattern = Ke.endsWithSlashGlobStar = Ke.hasGlobStar = Ke.getBaseDirectory = Ke.isPatternRelatedToParentDirectory = Ke.getPatternsOutsideCurrentDirectory = Ke.getPatternsInsideCurrentDirectory = Ke.getPositivePatterns = Ke.getNegativePatterns = Ke.isPositivePattern = Ke.isNegativePattern = Ke.convertToNegativePattern = Ke.convertToPositivePattern = Ke.isDynamicPattern = Ke.isStaticPattern = void 0; var dw = require("path"), nJ = a1(), ny = pw(), mw = "**", iJ = "\\", aJ = /[*?]|^!/, sJ = /\[[^[]*]/, oJ = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/, uJ = /[!*+?@]\([^(]*\)/, lJ = /,|\.\./, cJ = /(?!^)\/{2,}/g; function gw(e, t = {}) { return !_w(e, t); } a(gw, "isStaticPattern"); Ke.isStaticPattern = gw; function _w(e, t = {}) { return e === "" ? !1 : !!(t.caseSensitiveMatch === !1 || e.includes(iJ) || aJ.test(e) || sJ.test(e) || oJ.test(e) || t.extglob !== !1 && uJ.test(e) || t.braceExpansion !== !1 && fJ(e)); } a(_w, "isDynamicPattern"); Ke.isDynamicPattern = _w; function fJ(e) { let t = e.indexOf("{"); if (t === -1) return !1; let r = e.indexOf("}", t + 1); if (r === -1) return !1; let n = e.slice(t, r); return lJ.test(n); } a(fJ, "hasBraceExpansion"); function hJ(e) { return vd(e) ? e.slice(1) : e; } a(hJ, "convertToPositivePattern"); Ke.convertToPositivePattern = hJ; function pJ(e) { return "!" + e; } a(pJ, "convertToNegativePattern"); Ke.convertToNegativePattern = pJ; function vd(e) { return e.startsWith("!") && e[1] !== "("; } a(vd, "isNegativePattern"); Ke.isNegativePattern = vd; function vw(e) { return !vd(e); } a(vw, "isPositivePattern"); Ke.isPositivePattern = vw; function dJ(e) { return e.filter(vd); } a(dJ, "getNegativePatterns"); Ke.getNegativePatterns = dJ; function mJ(e) { return e.filter(vw); } a(mJ, "getPositivePatterns"); Ke.getPositivePatterns = mJ; function gJ(e) { return e.filter((t) => !iy(t)); } a(gJ, "getPatternsInsideCurrentDirectory"); Ke.getPatternsInsideCurrentDirectory = gJ; function _J(e) { return e.filter(iy); } a(_J, "getPatternsOutsideCurrentDirectory"); Ke.getPatternsOutsideCurrentDirectory = _J; function iy(e) { return e.startsWith("..") || e.startsWith("./.."); } a(iy, "isPatternRelatedToParentDirectory"); Ke.isPatternRelatedToParentDirectory = iy; function vJ(e) { return nJ(e, { flipBackslashes: !1 }); } a(vJ, "getBaseDirectory"); Ke.getBaseDirectory = vJ; function bJ(e) { return e.includes(mw); } a(bJ, "hasGlobStar"); Ke.hasGlobStar = bJ; function bw(e) { return e.endsWith("/" + mw); } a(bw, "endsWithSlashGlobStar"); Ke.endsWithSlashGlobStar = bw; function yJ(e) { let t = dw.basename(e); return bw(e) || gw(t); } a(yJ, "isAffectDepthOfReadingPattern"); Ke.isAffectDepthOfReadingPattern = yJ; function SJ(e) { return e.reduce((t, r) => t.concat(yw(r)), []); } a(SJ, "expandPatternsWithBraceExpansion"); Ke.expandPatternsWithBraceExpansion = SJ; function yw(e) { let t = ny.braces(e, { expand: !0, nodupes: !0, keepEscaping: !0 }); return t.sort((r, n) => r.length - n.length), t.filter((r) => r !== ""); } a(yw, "expandBraceExpansion"); Ke.expandBraceExpansion = yw; function EJ(e, t) { let { parts: r } = ny.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; } a(EJ, "getPatternParts"); Ke.getPatternParts = EJ; function Sw(e, t) { return ny.makeRe(e, t); } a(Sw, "makeRe"); Ke.makeRe = Sw; function AJ(e, t) { return e.map((r) => Sw(r, t)); } a(AJ, "convertPatternsToRe"); Ke.convertPatternsToRe = AJ; function TJ(e, t) { return t.some((r) => r.test(e)); } a(TJ, "matchAny"); Ke.matchAny = TJ; function DJ(e) { return e.replace(cJ, "/"); } a(DJ, "removeDuplicateSlashes"); Ke.removeDuplicateSlashes = DJ; function xJ(e) { let t = [], r = []; for (let n of e) Ew(n) ? t.push(n) : r.push(n); return [t, r]; } a(xJ, "partitionAbsoluteAndRelative"); Ke.partitionAbsoluteAndRelative = xJ; function Ew(e) { return dw.isAbsolute(e); } a(Ew, "isAbsolute"); Ke.isAbsolute = Ew; }); // ../node_modules/merge2/index.js var Cw = y((dqe, xw) => { "use strict"; var CJ = require("stream"), Tw = CJ.PassThrough, wJ = Array.prototype.slice; xw.exports = OJ; function OJ() { let e = [], t = wJ.call(arguments), r = !1, n = t[t.length - 1]; n && !Array.isArray(n) && n.pipe == null ? t.pop() : n = {}; let i = n.end !== !1, s = n.pipeError === !0; n.objectMode == null && (n.objectMode = !0), n.highWaterMark == null && (n.highWaterMark = 64 * 1024); let o = Tw(n); function u() { for (let f = 0, d = arguments.length; f < d; f++) e.push(Dw(arguments[f], n)); return l(), this; } a(u, "addStream"); function l() { if (r) return; r = !0; let f = e.shift(); if (!f) { process.nextTick(c); return; } Array.isArray(f) || (f = [f]); let d = f.length + 1; function g() { --d > 0 || (r = !1, l()); } a(g, "next"); function b(_) { function T() { _.removeListener("merge2UnpipeEnd", T), _.removeListener("end", T), s && _.removeListener("error", p), g(); } a(T, "onend"); function p(h) { o.emit("error", h); } if (a(p, "onerror"), _._readableState.endEmitted) return g(); _.on("merge2UnpipeEnd", T), _.on("end", T), s && _.on("error", p), _.pipe(o, { end: !1 }), _.resume(); } a(b, "pipe"); for (let _ = 0; _ < f.length; _++) b(f[_]); g(); } a(l, "mergeStream"); function c() { r = !1, o.emit("queueDrain"), i && o.end(); } return a(c, "endStream"), o.setMaxListeners(0), o.add = u, o.on("unpipe", function(f) { f.emit("merge2UnpipeEnd"); }), t.length && u.apply(null, t), o; } a(OJ, "merge2"); function Dw(e, t) { if (Array.isArray(e)) for (let r = 0, n = e.length; r < n; r++) e[r] = Dw(e[r], t); else { if (!e._readableState && e.pipe && (e = e.pipe(Tw(t))), !e._readableState || !e.pause || !e.pipe) throw new Error("Only readable stream can be merged."); e.pause(); } return e; } a(Dw, "pauseStreams"); }); // ../node_modules/fast-glob/out/utils/stream.js var Ow = y((bd) => { "use strict"; Object.defineProperty(bd, "__esModule", { value: !0 }); bd.merge = void 0; var RJ = Cw(); function kJ(e) { let t = RJ(e); return e.forEach((r) => { r.once("error", (n) => t.emit("error", n)); }), t.once("close", () => ww(e)), t.once("end", () => ww(e)), t; } a(kJ, "merge"); bd.merge = kJ; function ww(e) { e.forEach((t) => t.emit("close")); } a(ww, "propagateCloseEventToSources"); }); // ../node_modules/fast-glob/out/utils/string.js var Rw = y((Xl) => { "use strict"; Object.defineProperty(Xl, "__esModule", { value: !0 }); Xl.isEmpty = Xl.isString = void 0; function PJ(e) { return typeof e == "string"; } a(PJ, "isString"); Xl.isString = PJ; function FJ(e) { return e === ""; } a(FJ, "isEmpty"); Xl.isEmpty = FJ; }); // ../node_modules/fast-glob/out/utils/index.js var Ys = y((ei) => { "use strict"; Object.defineProperty(ei, "__esModule", { value: !0 }); ei.string = ei.stream = ei.pattern = ei.path = ei.fs = ei.errno = ei.array = void 0; var IJ = KC(); ei.array = IJ; var NJ = WC(); ei.errno = NJ; var LJ = $C(); ei.fs = LJ; var BJ = ZC(); ei.path = BJ; var MJ = Aw(); ei.pattern = MJ; var qJ = Ow(); ei.stream = qJ; var UJ = Rw(); ei.string = UJ; }); // ../node_modules/fast-glob/out/managers/tasks.js var Iw = y((ti) => { "use strict"; Object.defineProperty(ti, "__esModule", { value: !0 }); ti.convertPatternGroupToTask = ti.convertPatternGroupsToTasks = ti.groupPatternsByBaseDirectory = ti.getNegativePatternsAsPositive = ti.getPositivePatterns = ti.convertPatternsToTasks = ti.generate = void 0; var Ba = Ys(); function VJ(e, t) { let r = kw(e, t), n = kw(t.ignore, t), i = Pw(r), s = Fw(r, n), o = i.filter((f) => Ba.pattern.isStaticPattern(f, t)), u = i.filter((f) => Ba. pattern.isDynamicPattern(f, t)), l = ay( o, s, /* dynamic */ !1 ), c = ay( u, s, /* dynamic */ !0 ); return l.concat(c); } a(VJ, "generate"); ti.generate = VJ; function kw(e, t) { let r = e; return t.braceExpansion && (r = Ba.pattern.expandPatternsWithBraceExpansion(r)), t.baseNameMatch && (r = r.map((n) => n.includes("/") ? n : `**/${n}`)), r.map((n) => Ba.pattern.removeDuplicateSlashes(n)); } a(kw, "processPatterns"); function ay(e, t, r) { let n = [], i = Ba.pattern.getPatternsOutsideCurrentDirectory(e), s = Ba.pattern.getPatternsInsideCurrentDirectory(e), o = sy(i), u = sy( s); return n.push(...oy(o, t, r)), "." in u ? n.push(uy(".", s, t, r)) : n.push(...oy(u, t, r)), n; } a(ay, "convertPatternsToTasks"); ti.convertPatternsToTasks = ay; function Pw(e) { return Ba.pattern.getPositivePatterns(e); } a(Pw, "getPositivePatterns"); ti.getPositivePatterns = Pw; function Fw(e, t) { return Ba.pattern.getNegativePatterns(e).concat(t).map(Ba.pattern.convertToPositivePattern); } a(Fw, "getNegativePatternsAsPositive"); ti.getNegativePatternsAsPositive = Fw; function sy(e) { let t = {}; return e.reduce((r, n) => { let i = Ba.pattern.getBaseDirectory(n); return i in r ? r[i].push(n) : r[i] = [n], r; }, t); } a(sy, "groupPatternsByBaseDirectory"); ti.groupPatternsByBaseDirectory = sy; function oy(e, t, r) { return Object.keys(e).map((n) => uy(n, e[n], t, r)); } a(oy, "convertPatternGroupsToTasks"); ti.convertPatternGroupsToTasks = oy; function uy(e, t, r, n) { return { dynamic: n, positive: t, negative: r, base: e, patterns: [].concat(t, r.map(Ba.pattern.convertToNegativePattern)) }; } a(uy, "convertPatternGroupToTask"); ti.convertPatternGroupToTask = uy; }); // ../node_modules/@nodelib/fs.stat/out/providers/async.js var Lw = y((yd) => { "use strict"; Object.defineProperty(yd, "__esModule", { value: !0 }); yd.read = void 0; function HJ(e, t, r) { t.fs.lstat(e, (n, i) => { if (n !== null) { Nw(r, n); return; } if (!i.isSymbolicLink() || !t.followSymbolicLink) { ly(r, i); return; } t.fs.stat(e, (s, o) => { if (s !== null) { if (t.throwErrorOnBrokenSymbolicLink) { Nw(r, s); return; } ly(r, i); return; } t.markSymbolicLink && (o.isSymbolicLink = () => !0), ly(r, o); }); }); } a(HJ, "read"); yd.read = HJ; function Nw(e, t) { e(t); } a(Nw, "callFailureCallback"); function ly(e, t) { e(null, t); } a(ly, "callSuccessCallback"); }); // ../node_modules/@nodelib/fs.stat/out/providers/sync.js var Bw = y((Sd) => { "use strict"; Object.defineProperty(Sd, "__esModule", { value: !0 }); Sd.read = void 0; function jJ(e, t) { let r = t.fs.lstatSync(e); if (!r.isSymbolicLink() || !t.followSymbolicLink) return r; try { let n = t.fs.statSync(e); return t.markSymbolicLink && (n.isSymbolicLink = () => !0), n; } catch (n) { if (!t.throwErrorOnBrokenSymbolicLink) return r; throw n; } } a(jJ, "read"); Sd.read = jJ; }); // ../node_modules/@nodelib/fs.stat/out/adapters/fs.js var Mw = y((Io) => { "use strict"; Object.defineProperty(Io, "__esModule", { value: !0 }); Io.createFileSystemAdapter = Io.FILE_SYSTEM_ADAPTER = void 0; var Ed = require("fs"); Io.FILE_SYSTEM_ADAPTER = { lstat: Ed.lstat, stat: Ed.stat, lstatSync: Ed.lstatSync, statSync: Ed.statSync }; function GJ(e) { return e === void 0 ? Io.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, Io.FILE_SYSTEM_ADAPTER), e); } a(GJ, "createFileSystemAdapter"); Io.createFileSystemAdapter = GJ; }); // ../node_modules/@nodelib/fs.stat/out/settings.js var qw = y((fy) => { "use strict"; Object.defineProperty(fy, "__esModule", { value: !0 }); var zJ = Mw(), cy = class { static { a(this, "Settings"); } constructor(t = {}) { this._options = t, this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, !0), this.fs = zJ.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; } }; fy.default = cy; }); // ../node_modules/@nodelib/fs.stat/out/index.js var Ru = y((No) => { "use strict"; Object.defineProperty(No, "__esModule", { value: !0 }); No.statSync = No.stat = No.Settings = void 0; var Uw = Lw(), KJ = Bw(), hy = qw(); No.Settings = hy.default; function WJ(e, t, r) { if (typeof t == "function") { Uw.read(e, py(), t); return; } Uw.read(e, py(t), r); } a(WJ, "stat"); No.stat = WJ; function $J(e, t) { let r = py(t); return KJ.read(e, r); } a($J, "statSync"); No.statSync = $J; function py(e = {}) { return e instanceof hy.default ? e : new hy.default(e); } a(py, "getSettings"); }); // ../node_modules/queue-microtask/index.js var jw = y((Fqe, Hw) => { var Vw; Hw.exports = typeof queueMicrotask == "function" ? queueMicrotask.bind(typeof window < "u" ? window : global) : (e) => (Vw || (Vw = Promise. resolve())).then(e).catch((t) => setTimeout(() => { throw t; }, 0)); }); // ../node_modules/run-parallel/index.js var zw = y((Iqe, Gw) => { Gw.exports = YJ; var XJ = jw(); function YJ(e, t) { let r, n, i, s = !0; Array.isArray(e) ? (r = [], n = e.length) : (i = Object.keys(e), r = {}, n = i.length); function o(l) { function c() { t && t(l, r), t = null; } a(c, "end"), s ? XJ(c) : c(); } a(o, "done"); function u(l, c, f) { r[l] = f, (--n === 0 || c) && o(c); } a(u, "each"), n ? i ? i.forEach(function(l) { e[l](function(c, f) { u(l, c, f); }); }) : e.forEach(function(l, c) { l(function(f, d) { u(c, f, d); }); }) : o(null), s = !1; } a(YJ, "runParallel"); }); // ../node_modules/@nodelib/fs.scandir/out/constants.js var dy = y((Td) => { "use strict"; Object.defineProperty(Td, "__esModule", { value: !0 }); Td.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0; var Ad = process.versions.node.split("."); if (Ad[0] === void 0 || Ad[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`); var Kw = Number.parseInt(Ad[0], 10), QJ = Number.parseInt(Ad[1], 10), Ww = 10, ZJ = 10, JJ = Kw > Ww, eee = Kw === Ww && QJ >= ZJ; Td.IS_SUPPORT_READDIR_WITH_FILE_TYPES = JJ || eee; }); // ../node_modules/@nodelib/fs.scandir/out/utils/fs.js var $w = y((Dd) => { "use strict"; Object.defineProperty(Dd, "__esModule", { value: !0 }); Dd.createDirentFromStats = void 0; var my = class { static { a(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 tee(e, t) { return new my(e, t); } a(tee, "createDirentFromStats"); Dd.createDirentFromStats = tee; }); // ../node_modules/@nodelib/fs.scandir/out/utils/index.js var gy = y((xd) => { "use strict"; Object.defineProperty(xd, "__esModule", { value: !0 }); xd.fs = void 0; var ree = $w(); xd.fs = ree; }); // ../node_modules/@nodelib/fs.scandir/out/providers/common.js var _y = y((Cd) => { "use strict"; Object.defineProperty(Cd, "__esModule", { value: !0 }); Cd.joinPathSegments = void 0; function nee(e, t, r) { return e.endsWith(r) ? e + t : e + r + t; } a(nee, "joinPathSegments"); Cd.joinPathSegments = nee; }); // ../node_modules/@nodelib/fs.scandir/out/providers/async.js var eO = y((Lo) => { "use strict"; Object.defineProperty(Lo, "__esModule", { value: !0 }); Lo.readdir = Lo.readdirWithFileTypes = Lo.read = void 0; var iee = Ru(), Xw = zw(), aee = dy(), Yw = gy(), Qw = _y(); function see(e, t, r) { if (!t.stats && aee.IS_SUPPORT_READDIR_WITH_FILE_TYPES) { Zw(e, t, r); return; } Jw(e, t, r); } a(see, "read"); Lo.read = see; function Zw(e, t, r) { t.fs.readdir(e, { withFileTypes: !0 }, (n, i) => { if (n !== null) { wd(r, n); return; } let s = i.map((u) => ({ dirent: u, name: u.name, path: Qw.joinPathSegments(e, u.name, t.pathSegmentSeparator) })); if (!t.followSymbolicLinks) { vy(r, s); return; } let o = s.map((u) => oee(u, t)); Xw(o, (u, l) => { if (u !== null) { wd(r, u); return; } vy(r, l); }); }); } a(Zw, "readdirWithFileTypes"); Lo.readdirWithFileTypes = Zw; function oee(e, t) { return (r) => { if (!e.dirent.isSymbolicLink()) { r(null, e); return; } t.fs.stat(e.path, (n, i) => { if (n !== null) { if (t.throwErrorOnBrokenSymbolicLink) { r(n); return; } r(null, e); return; } e.dirent = Yw.fs.createDirentFromStats(e.name, i), r(null, e); }); }; } a(oee, "makeRplTaskEntry"); function Jw(e, t, r) { t.fs.readdir(e, (n, i) => { if (n !== null) { wd(r, n); return; } let s = i.map((o) => { let u = Qw.joinPathSegments(e, o, t.pathSegmentSeparator); return (l) => { iee.stat(u, t.fsStatSettings, (c, f) => { if (c !== null) { l(c); return; } let d = { name: o, path: u, dirent: Yw.fs.createDirentFromStats(o, f) }; t.stats && (d.stats = f), l(null, d); }); }; }); Xw(s, (o, u) => { if (o !== null) { wd(r, o); return; } vy(r, u); }); }); } a(Jw, "readdir"); Lo.readdir = Jw; function wd(e, t) { e(t); } a(wd, "callFailureCallback"); function vy(e, t) { e(null, t); } a(vy, "callSuccessCallback"); }); // ../node_modules/@nodelib/fs.scandir/out/providers/sync.js var aO = y((Bo) => { "use strict"; Object.defineProperty(Bo, "__esModule", { value: !0 }); Bo.readdir = Bo.readdirWithFileTypes = Bo.read = void 0; var uee = Ru(), lee = dy(), tO = gy(), rO = _y(); function cee(e, t) { return !t.stats && lee.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? nO(e, t) : iO(e, t); } a(cee, "read"); Bo.read = cee; function nO(e, t) { return t.fs.readdirSync(e, { withFileTypes: !0 }).map((n) => { let i = { dirent: n, name: n.name, path: rO.joinPathSegments(e, n.name, t.pathSegmentSeparator) }; if (i.dirent.isSymbolicLink() && t.followSymbolicLinks) try { let s = t.fs.statSync(i.path); i.dirent = tO.fs.createDirentFromStats(i.name, s); } catch (s) { if (t.throwErrorOnBrokenSymbolicLink) throw s; } return i; }); } a(nO, "readdirWithFileTypes"); Bo.readdirWithFileTypes = nO; function iO(e, t) { return t.fs.readdirSync(e).map((n) => { let i = rO.joinPathSegments(e, n, t.pathSegmentSeparator), s = uee.statSync(i, t.fsStatSettings), o = { name: n, path: i, dirent: tO.fs.createDirentFromStats(n, s) }; return t.stats && (o.stats = s), o; }); } a(iO, "readdir"); Bo.readdir = iO; }); // ../node_modules/@nodelib/fs.scandir/out/adapters/fs.js var sO = y((Mo) => { "use strict"; Object.defineProperty(Mo, "__esModule", { value: !0 }); Mo.createFileSystemAdapter = Mo.FILE_SYSTEM_ADAPTER = void 0; var Yl = require("fs"); Mo.FILE_SYSTEM_ADAPTER = { lstat: Yl.lstat, stat: Yl.stat, lstatSync: Yl.lstatSync, statSync: Yl.statSync, readdir: Yl.readdir, readdirSync: Yl.readdirSync }; function fee(e) { return e === void 0 ? Mo.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, Mo.FILE_SYSTEM_ADAPTER), e); } a(fee, "createFileSystemAdapter"); Mo.createFileSystemAdapter = fee; }); // ../node_modules/@nodelib/fs.scandir/out/settings.js var oO = y((yy) => { "use strict"; Object.defineProperty(yy, "__esModule", { value: !0 }); var hee = require("path"), pee = Ru(), dee = sO(), by = class { static { a(this, "Settings"); } constructor(t = {}) { this._options = t, this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !1), this.fs = dee.createFileSystemAdapter( this._options.fs), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, hee.sep), this.stats = this._getValue( this._options.stats, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0), this. fsStatSettings = new pee.Settings({ followSymbolicLink: this.followSymbolicLinks, fs: this.fs, throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink }); } _getValue(t, r) { return t ?? r; } }; yy.default = by; }); // ../node_modules/@nodelib/fs.scandir/out/index.js var Od = y((qo) => { "use strict"; Object.defineProperty(qo, "__esModule", { value: !0 }); qo.Settings = qo.scandirSync = qo.scandir = void 0; var uO = eO(), mee = aO(), Sy = oO(); qo.Settings = Sy.default; function gee(e, t, r) { if (typeof t == "function") { uO.read(e, Ey(), t); return; } uO.read(e, Ey(t), r); } a(gee, "scandir"); qo.scandir = gee; function _ee(e, t) { let r = Ey(t); return mee.read(e, r); } a(_ee, "scandirSync"); qo.scandirSync = _ee; function Ey(e = {}) { return e instanceof Sy.default ? e : new Sy.default(e); } a(Ey, "getSettings"); }); // ../node_modules/reusify/reusify.js var cO = y((Zqe, lO) => { "use strict"; function vee(e) { var t = new e(), r = t; function n() { var s = t; return s.next ? t = s.next : (t = new e(), r = t), s.next = null, s; } a(n, "get"); function i(s) { r.next = s, r = s; } return a(i, "release"), { get: n, release: i }; } a(vee, "reusify"); lO.exports = vee; }); // ../node_modules/fastq/queue.js var hO = y((eUe, Ay) => { "use strict"; var bee = cO(); function fO(e, t, r) { if (typeof e == "function" && (r = t, t = e, e = null), !(r >= 1)) throw new Error("fastqueue concurrency must be equal to or greater than 1"); var n = bee(yee), i = null, s = null, o = 0, u = null, l = { push: T, drain: va, saturated: va, pause: f, paused: !1, get concurrency() { return r; }, set concurrency(C) { if (!(C >= 1)) throw new Error("fastqueue concurrency must be equal to or greater than 1"); if (r = C, !l.paused) for (; i && o < r; ) o++, h(); }, running: c, resume: b, idle: _, length: d, getQueue: g, unshift: p, empty: va, kill: S, killAndDrain: D, error: E }; return l; function c() { return o; } function f() { l.paused = !0; } function d() { for (var C = i, m = 0; C; ) C = C.next, m++; return m; } function g() { for (var C = i, m = []; C; ) m.push(C.value), C = C.next; return m; } function b() { if (l.paused) { if (l.paused = !1, i === null) { o++, h(); return; } for (; i && o < r; ) o++, h(); } } function _() { return o === 0 && l.length() === 0; } function T(C, m) { var v = n.get(); v.context = e, v.release = h, v.value = C, v.callback = m || va, v.errorHandler = u, o >= r || l.paused ? s ? (s.next = v, s = v) : (i = v, s = v, l.saturated()) : (o++, t.call(e, v.value, v.worked)); } function p(C, m) { var v = n.get(); v.context = e, v.release = h, v.value = C, v.callback = m || va, v.errorHandler = u, o >= r || l.paused ? i ? (v.next = i, i = v) : (i = v, s = v, l.saturated()) : (o++, t.call(e, v.value, v.worked)); } function h(C) { C && n.release(C); var m = i; m && o <= r ? l.paused ? o-- : (s === i && (s = null), i = m.next, m.next = null, t.call(e, m.value, m.worked), s === null && l.empty()) : --o === 0 && l.drain(); } function S() { i = null, s = null, l.drain = va; } function D() { i = null, s = null, l.drain(), l.drain = va; } function E(C) { u = C; } } a(fO, "fastqueue"); function va() { } a(va, "noop"); function yee() { this.value = null, this.callback = va, this.next = null, this.release = va, this.context = null, this.errorHandler = null; var e = this; this.worked = /* @__PURE__ */ a(function(r, n) { var i = e.callback, s = e.errorHandler, o = e.value; e.value = null, e.callback = va, e.errorHandler && s(r, o), i.call(e.context, r, n), e.release(e); }, "worked"); } a(yee, "Task"); function See(e, t, r) { typeof e == "function" && (r = t, t = e, e = null); function n(f, d) { t.call(this, f).then(function(g) { d(null, g); }, d); } a(n, "asyncWrapper"); var i = fO(e, n, r), s = i.push, o = i.unshift; return i.push = u, i.unshift = l, i.drained = c, i; function u(f) { var d = new Promise(function(g, b) { s(f, function(_, T) { if (_) { b(_); return; } g(T); }); }); return d.catch(va), d; } a(u, "push"); function l(f) { var d = new Promise(function(g, b) { o(f, function(_, T) { if (_) { b(_); return; } g(T); }); }); return d.catch(va), d; } a(l, "unshift"); function c() { var f = new Promise(function(d) { process.nextTick(function() { if (i.idle()) d(); else { var g = i.drain; i.drain = function() { typeof g == "function" && g(), d(), i.drain = g; }; } }); }); return f; } a(c, "drained"); } a(See, "queueAsPromised"); Ay.exports = fO; Ay.exports.promise = See; }); // ../node_modules/@nodelib/fs.walk/out/readers/common.js var Rd = y((Ss) => { "use strict"; Object.defineProperty(Ss, "__esModule", { value: !0 }); Ss.joinPathSegments = Ss.replacePathSegmentSeparator = Ss.isAppliedFilter = Ss.isFatalError = void 0; function Eee(e, t) { return e.errorFilter === null ? !0 : !e.errorFilter(t); } a(Eee, "isFatalError"); Ss.isFatalError = Eee; function Aee(e, t) { return e === null || e(t); } a(Aee, "isAppliedFilter"); Ss.isAppliedFilter = Aee; function Tee(e, t) { return e.split(/[/\\]/).join(t); } a(Tee, "replacePathSegmentSeparator"); Ss.replacePathSegmentSeparator = Tee; function Dee(e, t, r) { return e === "" ? t : e.endsWith(r) ? e + t : e + r + t; } a(Dee, "joinPathSegments"); Ss.joinPathSegments = Dee; }); // ../node_modules/@nodelib/fs.walk/out/readers/reader.js var xy = y((Dy) => { "use strict"; Object.defineProperty(Dy, "__esModule", { value: !0 }); var xee = Rd(), Ty = class { static { a(this, "Reader"); } constructor(t, r) { this._root = t, this._settings = r, this._root = xee.replacePathSegmentSeparator(t, r.pathSegmentSeparator); } }; Dy.default = Ty; }); // ../node_modules/@nodelib/fs.walk/out/readers/async.js var Oy = y((wy) => { "use strict"; Object.defineProperty(wy, "__esModule", { value: !0 }); var Cee = require("events"), wee = Od(), Oee = hO(), kd = Rd(), Ree = xy(), Cy = class extends Ree.default { static { a(this, "AsyncReader"); } constructor(t, r) { super(t, r), this._settings = r, this._scandir = wee.scandir, this._emitter = new Cee.EventEmitter(), this._queue = Oee(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 n = { directory: t, base: r }; this._queue.push(n, (i) => { i !== null && this._handleError(i); }); } _worker(t, r) { this._scandir(t.directory, this._settings.fsScandirSettings, (n, i) => { if (n !== null) { r(n, void 0); return; } for (let s of i) this._handleEntry(s, t.base); r(null, void 0); }); } _handleError(t) { this._isDestroyed || !kd.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 n = t.path; r !== void 0 && (t.path = kd.joinPathSegments(r, t.name, this._settings.pathSegmentSeparator)), kd.isAppliedFilter(this._settings.entryFilter, t) && this._emitEntry(t), t.dirent.isDirectory() && kd.isAppliedFilter(this._settings.deepFilter, t) && this._pushToQueue(n, r === void 0 ? void 0 : t.path); } _emitEntry(t) { this._emitter.emit("entry", t); } }; wy.default = Cy; }); // ../node_modules/@nodelib/fs.walk/out/providers/async.js var pO = y((ky) => { "use strict"; Object.defineProperty(ky, "__esModule", { value: !0 }); var kee = Oy(), Ry = class { static { a(this, "AsyncProvider"); } constructor(t, r) { this._root = t, this._settings = r, this._reader = new kee.default(this._root, this._settings), this._storage = []; } read(t) { this._reader.onError((r) => { Pee(t, r); }), this._reader.onEntry((r) => { this._storage.push(r); }), this._reader.onEnd(() => { Fee(t, this._storage); }), this._reader.read(); } }; ky.default = Ry; function Pee(e, t) { e(t); } a(Pee, "callFailureCallback"); function Fee(e, t) { e(null, t); } a(Fee, "callSuccessCallback"); }); // ../node_modules/@nodelib/fs.walk/out/providers/stream.js var dO = y((Fy) => { "use strict"; Object.defineProperty(Fy, "__esModule", { value: !0 }); var Iee = require("stream"), Nee = Oy(), Py = class { static { a(this, "StreamProvider"); } constructor(t, r) { this._root = t, this._settings = r, this._reader = new Nee.default(this._root, this._settings), this._stream = new Iee.Readable({ objectMode: !0, read: /* @__PURE__ */ a(() => { }, "read"), destroy: /* @__PURE__ */ a(() => { 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; } }; Fy.default = Py; }); // ../node_modules/@nodelib/fs.walk/out/readers/sync.js var mO = y((Ny) => { "use strict"; Object.defineProperty(Ny, "__esModule", { value: !0 }); var Lee = Od(), Pd = Rd(), Bee = xy(), Iy = class extends Bee.default { static { a(this, "SyncReader"); } constructor() { super(...arguments), this._scandir = Lee.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 n = this._scandir(t, this._settings.fsScandirSettings); for (let i of n) this._handleEntry(i, r); } catch (n) { this._handleError(n); } } _handleError(t) { if (Pd.isFatalError(this._settings, t)) throw t; } _handleEntry(t, r) { let n = t.path; r !== void 0 && (t.path = Pd.joinPathSegments(r, t.name, this._settings.pathSegmentSeparator)), Pd.isAppliedFilter(this._settings.entryFilter, t) && this._pushToStorage(t), t.dirent.isDirectory() && Pd.isAppliedFilter(this._settings.deepFilter, t) && this._pushToQueue(n, r === void 0 ? void 0 : t.path); } _pushToStorage(t) { this._storage.push(t); } }; Ny.default = Iy; }); // ../node_modules/@nodelib/fs.walk/out/providers/sync.js var gO = y((By) => { "use strict"; Object.defineProperty(By, "__esModule", { value: !0 }); var Mee = mO(), Ly = class { static { a(this, "SyncProvider"); } constructor(t, r) { this._root = t, this._settings = r, this._reader = new Mee.default(this._root, this._settings); } read() { return this._reader.read(); } }; By.default = Ly; }); // ../node_modules/@nodelib/fs.walk/out/settings.js var _O = y((qy) => { "use strict"; Object.defineProperty(qy, "__esModule", { value: !0 }); var qee = require("path"), Uee = Od(), My = class { static { a(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, qee.sep), this.fsScandirSettings = new Uee.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; } }; qy.default = My; }); // ../node_modules/@nodelib/fs.walk/out/index.js var Id = y((Es) => { "use strict"; Object.defineProperty(Es, "__esModule", { value: !0 }); Es.Settings = Es.walkStream = Es.walkSync = Es.walk = void 0; var vO = pO(), Vee = dO(), Hee = gO(), Uy = _O(); Es.Settings = Uy.default; function jee(e, t, r) { if (typeof t == "function") { new vO.default(e, Fd()).read(t); return; } new vO.default(e, Fd(t)).read(r); } a(jee, "walk"); Es.walk = jee; function Gee(e, t) { let r = Fd(t); return new Hee.default(e, r).read(); } a(Gee, "walkSync"); Es.walkSync = Gee; function zee(e, t) { let r = Fd(t); return new Vee.default(e, r).read(); } a(zee, "walkStream"); Es.walkStream = zee; function Fd(e = {}) { return e instanceof Uy.default ? e : new Uy.default(e); } a(Fd, "getSettings"); }); // ../node_modules/fast-glob/out/readers/reader.js var Nd = y((Hy) => { "use strict"; Object.defineProperty(Hy, "__esModule", { value: !0 }); var Kee = require("path"), Wee = Ru(), bO = Ys(), Vy = class { static { a(this, "Reader"); } constructor(t) { this._settings = t, this._fsStatSettings = new Wee.Settings({ followSymbolicLink: this._settings.followSymbolicLinks, fs: this._settings.fs, throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks }); } _getFullEntryPath(t) { return Kee.resolve(this._settings.cwd, t); } _makeEntry(t, r) { let n = { name: r, path: r, dirent: bO.fs.createDirentFromStats(r, t) }; return this._settings.stats && (n.stats = t), n; } _isFatalError(t) { return !bO.errno.isEnoentCodeError(t) && !this._settings.suppressErrors; } }; Hy.default = Vy; }); // ../node_modules/fast-glob/out/readers/stream.js var zy = y((Gy) => { "use strict"; Object.defineProperty(Gy, "__esModule", { value: !0 }); var $ee = require("stream"), Xee = Ru(), Yee = Id(), Qee = Nd(), jy = class extends Qee.default { static { a(this, "ReaderStream"); } constructor() { super(...arguments), this._walkStream = Yee.walkStream, this._stat = Xee.stat; } dynamic(t, r) { return this._walkStream(t, r); } static(t, r) { let n = t.map(this._getFullEntryPath, this), i = new $ee.PassThrough({ objectMode: !0 }); i._write = (s, o, u) => this._getEntry(n[s], t[s], r).then((l) => { l !== null && r.entryFilter(l) && i.push(l), s === n.length - 1 && i.end(), u(); }).catch(u); for (let s = 0; s < n.length; s++) i.write(s); return i; } _getEntry(t, r, n) { return this._getStat(t).then((i) => this._makeEntry(i, r)).catch((i) => { if (n.errorFilter(i)) return null; throw i; }); } _getStat(t) { return new Promise((r, n) => { this._stat(t, this._fsStatSettings, (i, s) => i === null ? r(s) : n(i)); }); } }; Gy.default = jy; }); // ../node_modules/fast-glob/out/readers/async.js var yO = y((Wy) => { "use strict"; Object.defineProperty(Wy, "__esModule", { value: !0 }); var Zee = Id(), Jee = Nd(), ete = zy(), Ky = class extends Jee.default { static { a(this, "ReaderAsync"); } constructor() { super(...arguments), this._walkAsync = Zee.walk, this._readerStream = new ete.default(this._settings); } dynamic(t, r) { return new Promise((n, i) => { this._walkAsync(t, r, (s, o) => { s === null ? n(o) : i(s); }); }); } async static(t, r) { let n = [], i = this._readerStream.static(t, r); return new Promise((s, o) => { i.once("error", o), i.on("data", (u) => n.push(u)), i.once("end", () => s(n)); }); } }; Wy.default = Ky; }); // ../node_modules/fast-glob/out/providers/matchers/matcher.js var SO = y((Xy) => { "use strict"; Object.defineProperty(Xy, "__esModule", { value: !0 }); var Mf = Ys(), $y = class { static { a(this, "Matcher"); } constructor(t, r, n) { this._patterns = t, this._settings = r, this._micromatchOptions = n, this._storage = [], this._fillStorage(); } _fillStorage() { for (let t of this._patterns) { let r = this._getPatternSegments(t), n = this._splitSegmentsIntoSections(r); this._storage.push({ complete: n.length <= 1, pattern: t, segments: r, sections: n }); } } _getPatternSegments(t) { return Mf.pattern.getPatternParts(t, this._micromatchOptions).map((n) => Mf.pattern.isDynamicPattern(n, this._settings) ? { dynamic: !0, pattern: n, patternRe: Mf.pattern.makeRe(n, this._micromatchOptions) } : { dynamic: !1, pattern: n }); } _splitSegmentsIntoSections(t) { return Mf.array.splitWhen(t, (r) => r.dynamic && Mf.pattern.hasGlobStar(r.pattern)); } }; Xy.default = $y; }); // ../node_modules/fast-glob/out/providers/matchers/partial.js var EO = y((Qy) => { "use strict"; Object.defineProperty(Qy, "__esModule", { value: !0 }); var tte = SO(), Yy = class extends tte.default { static { a(this, "PartialMatcher"); } match(t) { let r = t.split("/"), n = r.length, i = this._storage.filter((s) => !s.complete || s.segments.length > n); for (let s of i) { let o = s.sections[0]; if (!s.complete && n > o.length || r.every((l, c) => { let f = s.segments[c]; return !!(f.dynamic && f.patternRe.test(l) || !f.dynamic && f.pattern === l); })) return !0; } return !1; } }; Qy.default = Yy; }); // ../node_modules/fast-glob/out/providers/filters/deep.js var AO = y((Jy) => { "use strict"; Object.defineProperty(Jy, "__esModule", { value: !0 }); var Ld = Ys(), rte = EO(), Zy = class { static { a(this, "DeepFilter"); } constructor(t, r) { this._settings = t, this._micromatchOptions = r; } getFilter(t, r, n) { let i = this._getMatcher(r), s = this._getNegativePatternsRe(n); return (o) => this._filter(t, o, i, s); } _getMatcher(t) { return new rte.default(t, this._settings, this._micromatchOptions); } _getNegativePatternsRe(t) { let r = t.filter(Ld.pattern.isAffectDepthOfReadingPattern); return Ld.pattern.convertPatternsToRe(r, this._micromatchOptions); } _filter(t, r, n, i) { if (this._isSkippedByDeep(t, r.path) || this._isSkippedSymbolicLink(r)) return !1; let s = Ld.path.removeLeadingDotSegment(r.path); return this._isSkippedByPositivePatterns(s, n) ? !1 : this._isSkippedByNegativePatterns(s, i); } _isSkippedByDeep(t, r) { return this._settings.deep === 1 / 0 ? !1 : this._getEntryLevel(t, r) >= this._settings.deep; } _getEntryLevel(t, r) { let n = r.split("/").length; if (t === "") return n; let i = t.split("/").length; return n - i; } _isSkippedSymbolicLink(t) { return !this._settings.followSymbolicLinks && t.dirent.isSymbolicLink(); } _isSkippedByPositivePatterns(t, r) { return !this._settings.baseNameMatch && !r.match(t); } _isSkippedByNegativePatterns(t, r) { return !Ld.pattern.matchAny(t, r); } }; Jy.default = Zy; }); // ../node_modules/fast-glob/out/providers/filters/entry.js var TO = y((t0) => { "use strict"; Object.defineProperty(t0, "__esModule", { value: !0 }); var Uo = Ys(), e0 = class { static { a(this, "EntryFilter"); } constructor(t, r) { this._settings = t, this._micromatchOptions = r, this.index = /* @__PURE__ */ new Map(); } getFilter(t, r) { let [n, i] = Uo.pattern.partitionAbsoluteAndRelative(r), s = { positive: { all: Uo.pattern.convertPatternsToRe(t, this._micromatchOptions) }, negative: { absolute: Uo.pattern.convertPatternsToRe(n, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 })), relative: Uo.pattern.convertPatternsToRe(i, Object.assign(Object.assign({}, this._micromatchOptions), { dot: !0 })) } }; return (o) => this._filter(o, s); } _filter(t, r) { let n = Uo.path.removeLeadingDotSegment(t.path); if (this._settings.unique && this._isDuplicateEntry(n) || this._onlyFileFilter(t) || this._onlyDirectoryFilter(t)) return !1; let i = this._isMatchToPatternsSet(n, r, t.dirent.isDirectory()); return this._settings.unique && i && this._createIndexRecord(n), i; } _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(); } _isMatchToPatternsSet(t, r, n) { return !(!this._isMatchToPatterns(t, r.positive.all, n) || this._isMatchToPatterns(t, r.negative.relative, n) || this._isMatchToAbsoluteNegative( t, r.negative.absolute, n)); } _isMatchToAbsoluteNegative(t, r, n) { if (r.length === 0) return !1; let i = Uo.path.makeAbsolute(this._settings.cwd, t); return this._isMatchToPatterns(i, r, n); } _isMatchToPatterns(t, r, n) { if (r.length === 0) return !1; let i = Uo.pattern.matchAny(t, r); return !i && n ? Uo.pattern.matchAny(t + "/", r) : i; } }; t0.default = e0; }); // ../node_modules/fast-glob/out/providers/filters/error.js var DO = y((n0) => { "use strict"; Object.defineProperty(n0, "__esModule", { value: !0 }); var nte = Ys(), r0 = class { static { a(this, "ErrorFilter"); } constructor(t) { this._settings = t; } getFilter() { return (t) => this._isNonFatalError(t); } _isNonFatalError(t) { return nte.errno.isEnoentCodeError(t) || this._settings.suppressErrors; } }; n0.default = r0; }); // ../node_modules/fast-glob/out/providers/transformers/entry.js var CO = y((a0) => { "use strict"; Object.defineProperty(a0, "__esModule", { value: !0 }); var xO = Ys(), i0 = class { static { a(this, "EntryTransformer"); } constructor(t) { this._settings = t; } getTransformer() { return (t) => this._transform(t); } _transform(t) { let r = t.path; return this._settings.absolute && (r = xO.path.makeAbsolute(this._settings.cwd, r), r = xO.path.unixify(r)), this._settings.markDirectories && t.dirent.isDirectory() && (r += "/"), this._settings.objectMode ? Object.assign(Object.assign({}, t), { path: r }) : r; } }; a0.default = i0; }); // ../node_modules/fast-glob/out/providers/provider.js var Bd = y((o0) => { "use strict"; Object.defineProperty(o0, "__esModule", { value: !0 }); var ite = require("path"), ate = AO(), ste = TO(), ote = DO(), ute = CO(), s0 = class { static { a(this, "Provider"); } constructor(t) { this._settings = t, this.errorFilter = new ote.default(this._settings), this.entryFilter = new ste.default(this._settings, this._getMicromatchOptions()), this.deepFilter = new ate.default(this._settings, this._getMicromatchOptions()), this.entryTransformer = new ute.default(this._settings); } _getRootDirectory(t) { return ite.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 }; } }; o0.default = s0; }); // ../node_modules/fast-glob/out/providers/async.js var wO = y((l0) => { "use strict"; Object.defineProperty(l0, "__esModule", { value: !0 }); var lte = yO(), cte = Bd(), u0 = class extends cte.default { static { a(this, "ProviderAsync"); } constructor() { super(...arguments), this._reader = new lte.default(this._settings); } async read(t) { let r = this._getRootDirectory(t), n = this._getReaderOptions(t); return (await this.api(r, t, n)).map((s) => n.transform(s)); } api(t, r, n) { return r.dynamic ? this._reader.dynamic(t, n) : this._reader.static(r.patterns, n); } }; l0.default = u0; }); // ../node_modules/fast-glob/out/providers/stream.js var OO = y((f0) => { "use strict"; Object.defineProperty(f0, "__esModule", { value: !0 }); var fte = require("stream"), hte = zy(), pte = Bd(), c0 = class extends pte.default { static { a(this, "ProviderStream"); } constructor() { super(...arguments), this._reader = new hte.default(this._settings); } read(t) { let r = this._getRootDirectory(t), n = this._getReaderOptions(t), i = this.api(r, t, n), s = new fte.Readable({ objectMode: !0, read: /* @__PURE__ */ a( () => { }, "read") }); return i.once("error", (o) => s.emit("error", o)).on("data", (o) => s.emit("data", n.transform(o))).once("end", () => s.emit("end")), s. once("close", () => i.destroy()), s; } api(t, r, n) { return r.dynamic ? this._reader.dynamic(t, n) : this._reader.static(r.patterns, n); } }; f0.default = c0; }); // ../node_modules/fast-glob/out/readers/sync.js var RO = y((p0) => { "use strict"; Object.defineProperty(p0, "__esModule", { value: !0 }); var dte = Ru(), mte = Id(), gte = Nd(), h0 = class extends gte.default { static { a(this, "ReaderSync"); } constructor() { super(...arguments), this._walkSync = mte.walkSync, this._statSync = dte.statSync; } dynamic(t, r) { return this._walkSync(t, r); } static(t, r) { let n = []; for (let i of t) { let s = this._getFullEntryPath(i), o = this._getEntry(s, i, r); o === null || !r.entryFilter(o) || n.push(o); } return n; } _getEntry(t, r, n) { try { let i = this._getStat(t); return this._makeEntry(i, r); } catch (i) { if (n.errorFilter(i)) return null; throw i; } } _getStat(t) { return this._statSync(t, this._fsStatSettings); } }; p0.default = h0; }); // ../node_modules/fast-glob/out/providers/sync.js var kO = y((m0) => { "use strict"; Object.defineProperty(m0, "__esModule", { value: !0 }); var _te = RO(), vte = Bd(), d0 = class extends vte.default { static { a(this, "ProviderSync"); } constructor() { super(...arguments), this._reader = new _te.default(this._settings); } read(t) { let r = this._getRootDirectory(t), n = this._getReaderOptions(t); return this.api(r, t, n).map(n.transform); } api(t, r, n) { return r.dynamic ? this._reader.dynamic(t, n) : this._reader.static(r.patterns, n); } }; m0.default = d0; }); // ../node_modules/fast-glob/out/settings.js var PO = y((Zl) => { "use strict"; Object.defineProperty(Zl, "__esModule", { value: !0 }); Zl.DEFAULT_FILE_SYSTEM_ADAPTER = void 0; var Ql = require("fs"), bte = require("os"), yte = Math.max(bte.cpus().length, 1); Zl.DEFAULT_FILE_SYSTEM_ADAPTER = { lstat: Ql.lstat, lstatSync: Ql.lstatSync, stat: Ql.stat, statSync: Ql.statSync, readdir: Ql.readdir, readdirSync: Ql.readdirSync }; var g0 = class { static { a(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, yte), 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({}, Zl.DEFAULT_FILE_SYSTEM_ADAPTER), t); } }; Zl.default = g0; }); // ../node_modules/fast-glob/out/index.js var y0 = y((YUe, IO) => { "use strict"; var FO = Iw(), Ste = wO(), Ete = OO(), Ate = kO(), _0 = PO(), ba = Ys(); async function v0(e, t) { Ma(e); let r = b0(e, Ste.default, t), n = await Promise.all(r); return ba.array.flatten(n); } a(v0, "FastGlob"); (function(e) { e.glob = e, e.globSync = t, e.globStream = r, e.async = e; function t(c, f) { Ma(c); let d = b0(c, Ate.default, f); return ba.array.flatten(d); } a(t, "sync"), e.sync = t; function r(c, f) { Ma(c); let d = b0(c, Ete.default, f); return ba.stream.merge(d); } a(r, "stream"), e.stream = r; function n(c, f) { Ma(c); let d = [].concat(c), g = new _0.default(f); return FO.generate(d, g); } a(n, "generateTasks"), e.generateTasks = n; function i(c, f) { Ma(c); let d = new _0.default(f); return ba.pattern.isDynamicPattern(c, d); } a(i, "isDynamicPattern"), e.isDynamicPattern = i; function s(c) { return Ma(c), ba.path.escape(c); } a(s, "escapePath"), e.escapePath = s; function o(c) { return Ma(c), ba.path.convertPathToPattern(c); } a(o, "convertPathToPattern"), e.convertPathToPattern = o; let u; (function(c) { function f(g) { return Ma(g), ba.path.escapePosixPath(g); } a(f, "escapePath"), c.escapePath = f; function d(g) { return Ma(g), ba.path.convertPosixPathToPattern(g); } a(d, "convertPathToPattern"), c.convertPathToPattern = d; })(u = e.posix || (e.posix = {})); let l; (function(c) { function f(g) { return Ma(g), ba.path.escapeWindowsPath(g); } a(f, "escapePath"), c.escapePath = f; function d(g) { return Ma(g), ba.path.convertWindowsPathToPattern(g); } a(d, "convertPathToPattern"), c.convertPathToPattern = d; })(l = e.win32 || (e.win32 = {})); })(v0 || (v0 = {})); function b0(e, t, r) { let n = [].concat(e), i = new _0.default(r), s = FO.generate(n, i), o = new t(i); return s.map(o.read, o); } a(b0, "getWorks"); function Ma(e) { if (![].concat(e).every((n) => ba.string.isString(n) && !ba.string.isEmpty(n))) throw new TypeError("Patterns must be a string (non empty) or an array of strings"); } a(Ma, "assertPatternsInput"); IO.exports = v0; }); // ../node_modules/globby/node_modules/path-type/index.js async function S0(e, t, r) { if (typeof r != "string") throw new TypeError(`Expected a string, got ${typeof r}`); try { return (await LO.default[e](r))[t](); } catch (n) { if (n.code === "ENOENT") return !1; throw n; } } function E0(e, t, r) { if (typeof r != "string") throw new TypeError(`Expected a string, got ${typeof r}`); try { return NO.default[e](r)[t](); } catch (n) { if (n.code === "ENOENT") return !1; throw n; } } var NO, LO, ZUe, BO, JUe, eVe, MO, tVe, qO = we(() => { NO = mt(require("node:fs"), 1), LO = mt(require("node:fs/promises"), 1); a(S0, "isType"); a(E0, "isTypeSync"); ZUe = S0.bind(void 0, "stat", "isFile"), BO = S0.bind(void 0, "stat", "isDirectory"), JUe = S0.bind(void 0, "lstat", "isSymbolicLink"), eVe = E0.bind(void 0, "statSync", "isFile"), MO = E0.bind(void 0, "statSync", "isDirectory"), tVe = E0.bind(void 0, "lstatSync", "isSymbolicLink"); }); // ../node_modules/unicorn-magic/default.js var UO = we(() => { }); // ../node_modules/unicorn-magic/node.js function qf(e) { return e instanceof URL ? (0, HO.fileURLToPath)(e) : e; } var VO, A0, Tte, HO, sVe, oVe, T0 = we(() => { VO = require("node:util"), A0 = require("node:child_process"), Tte = mt(require("node:path"), 1), HO = require("node:url"); UO(); sVe = (0, VO.promisify)(A0.execFile); a(qf, "toPath"); oVe = 10 * 1024 * 1024; }); // ../node_modules/globby/node_modules/ignore/index.js var YO = y((fVe, k0) => { function zO(e) { return Array.isArray(e) ? e : [e]; } a(zO, "makeArray"); var Dte = void 0, x0 = "", jO = " ", D0 = "\\", xte = /^\s+$/, Cte = /(?:[^\\]|^)\\$/, wte = /^\\!/, Ote = /^\\#/, Rte = /\r?\n/g, kte = /^\.{0,2}\/|^\.{1,2}$/, Pte = /\/$/, Jl = "/", KO = "node-ignore"; typeof Symbol < "u" && (KO = Symbol.for("node-ignore")); var WO = KO, Uf = /* @__PURE__ */ a((e, t, r) => (Object.defineProperty(e, t, { value: r }), r), "define"), Fte = /([0-z])-([0-z])/g, $O = /* @__PURE__ */ a( () => !1, "RETURN_FALSE"), Ite = /* @__PURE__ */ a((e) => e.replace( Fte, (t, r, n) => r.charCodeAt(0) <= n.charCodeAt(0) ? t : x0 ), "sanitizeRange"), Nte = /* @__PURE__ */ a((e) => { let { length: t } = e; return e.slice(0, t - t % 2); }, "cleanRangeBackSlash"), Lte = [ [ // Remove BOM // TODO: // Other similar zero-width characters? /^\uFEFF/, () => x0 ], // > Trailing spaces are ignored unless they are quoted with backslash ("\") [ // (a\ ) -> (a ) // (a ) -> (a) // (a ) -> (a) // (a \ ) -> (a ) /((?:\\\\)*?)(\\?\s+)$/, (e, t, r) => t + (r.indexOf("\\") === 0 ? jO : x0) ], // Replace (\ ) with ' ' // (\ ) -> ' ' // (\\ ) -> '\\ ' // (\\\ ) -> '\\ ' [ /(\\+?)\s/g, (e, t) => { let { length: r } = t; return t.slice(0, r - r % 2) + jO; } ], // 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__ */ a(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 n = r.replace(/\\\*/g, "[^\\/]*"); return t + n; } ], [ // unescape, revert step 3 except for back slash // For example, if a user escape a '\\*', // after step 3, the result will be '\\\\\\*' /\\\\\\(?=[$.|*+(){^])/g, () => D0 ], [ // '\\\\' -> '\\' /\\\\/g, () => D0 ], [ // > 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, n, i) => t === D0 ? `\\[${r}${Nte(n)}${i}` : i === "]" && n.length % 2 === 0 ? `[${Ite(r)}${n}]` : "[]" ], // 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}(?=$|\\/$)` ] ], Bte = /(^|\\\/)?\\\*$/, Vf = "regex", Md = "checkRegex", GO = "_", Mte = { [Vf](e, t) { return `${t ? `${t}[^/]+` : "[^/]*"}(?=$|\\/$)`; }, [Md](e, t) { return `${t ? `${t}[^/]*` : "[^/]*"}(?=$|\\/$)`; } }, qte = /* @__PURE__ */ a((e) => Lte.reduce( (t, [r, n]) => t.replace(r, n.bind(e)), e ), "makeRegexPrefix"), qd = /* @__PURE__ */ a((e) => typeof e == "string", "isString"), Ute = /* @__PURE__ */ a((e) => e && qd(e) && !xte. test(e) && !Cte.test(e) && e.indexOf("#") !== 0, "checkPattern"), Vte = /* @__PURE__ */ a((e) => e.split(Rte).filter(Boolean), "splitPatte\ rn"), C0 = class { static { a(this, "IgnoreRule"); } constructor(t, r, n, i, s, o) { this.pattern = t, this.mark = r, this.negative = s, Uf(this, "body", n), Uf(this, "ignoreCase", i), Uf(this, "regexPrefix", o); } get regex() { let t = GO + Vf; return this[t] ? this[t] : this._make(Vf, t); } get checkRegex() { let t = GO + Md; return this[t] ? this[t] : this._make(Md, t); } _make(t, r) { let n = this.regexPrefix.replace( Bte, // It does not need to bind pattern Mte[t] ), i = this.ignoreCase ? new RegExp(n, "i") : new RegExp(n); return Uf(this, r, i); } }, Hte = /* @__PURE__ */ a(({ pattern: e, mark: t }, r) => { let n = !1, i = e; i.indexOf("!") === 0 && (n = !0, i = i.substr(1)), i = i.replace(wte, "!").replace(Ote, "#"); let s = qte(i); return new C0( e, t, i, r, n, s ); }, "createRule"), w0 = class { static { a(this, "RuleManager"); } constructor(t) { this._ignoreCase = t, this._rules = []; } _add(t) { if (t && t[WO]) { this._rules = this._rules.concat(t._rules._rules), this._added = !0; return; } if (qd(t) && (t = { pattern: t }), Ute(t.pattern)) { let r = Hte(t, this._ignoreCase); this._added = !0, this._rules.push(r); } } // @param {Array | string | Ignore} pattern add(t) { return this._added = !1, zO( qd(t) ? Vte(t) : t ).forEach(this._add, this), this._added; } // Test one single path without recursively checking parent directories // // - checkUnignored `boolean` whether should check if the path is unignored, // setting `checkUnignored` to `false` could reduce additional // path matching. // - check `string` either `MODE_IGNORE` or `MODE_CHECK_IGNORE` // @returns {TestResult} true if a file is ignored test(t, r, n) { let i = !1, s = !1, o; this._rules.forEach((l) => { let { negative: c } = l; s === c && i !== s || c && !i && !s && !r || !l[n].test(t) || (i = !c, s = c, o = c ? Dte : l); }); let u = { ignored: i, unignored: s }; return o && (u.rule = o), u; } }, jte = /* @__PURE__ */ a((e, t) => { throw new t(e); }, "throwError"), Qs = /* @__PURE__ */ a((e, t, r) => qd(e) ? e ? Qs.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"), XO = /* @__PURE__ */ a((e) => kte.test(e), "isNotRelative"); Qs.isNotRelative = XO; Qs.convert = (e) => e; var O0 = class { static { a(this, "Ignore"); } constructor({ ignorecase: t = !0, ignoreCase: r = t, allowRelativePaths: n = !1 } = {}) { Uf(this, WO, !0), this._rules = new w0(r), this._strictPathCheck = !n, this._initCache(); } _initCache() { this._ignoreCache = /* @__PURE__ */ Object.create(null), this._testCache = /* @__PURE__ */ Object.create(null); } add(t) { return this._rules.add(t) && this._initCache(), this; } // legacy addPattern(t) { return this.add(t); } // @returns {TestResult} _test(t, r, n, i) { let s = t && Qs.convert(t); return Qs( s, t, this._strictPathCheck ? jte : $O ), this._t(s, r, n, i); } checkIgnore(t) { if (!Pte.test(t)) return this.test(t); let r = t.split(Jl).filter(Boolean); if (r.pop(), r.length) { let n = this._t( r.join(Jl) + Jl, this._testCache, !0, r ); if (n.ignored) return n; } return this._rules.test(t, !1, Md); } _t(t, r, n, i) { if (t in r) return r[t]; if (i || (i = t.split(Jl).filter(Boolean)), i.pop(), !i.length) return r[t] = this._rules.test(t, n, Vf); let s = this._t( i.join(Jl) + Jl, r, n, i ); return r[t] = s.ignored ? s : this._rules.test(t, n, Vf); } ignores(t) { return this._test(t, this._ignoreCache, !1).ignored; } createFilter() { return (t) => !this.ignores(t); } filter(t) { return zO(t).filter(this.createFilter()); } // @returns {TestResult} test(t) { return this._test(t, this._testCache, !0); } }, R0 = /* @__PURE__ */ a((e) => new O0(e), "factory"), Gte = /* @__PURE__ */ a((e) => Qs(e && Qs.convert(e), e, $O), "isPathValid"); 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__ */ a((r) => /^\\\\\?\\/.test(r) || /["<>|\u0000-\u001F]+/u.test(r) ? r : r.replace(/\\/g, "/"), "makePosix"); Qs.convert = e; let t = /^[a-z]:\//i; Qs.isNotRelative = (r) => t.test(r) || XO(r); } k0.exports = R0; R0.default = R0; k0.exports.isPathValid = Gte; }); // ../node_modules/slash/index.js function ec(e) { return e.startsWith("\\\\?\\") ? e : e.replace(/\\/g, "/"); } var QO = we(() => { a(ec, "slash"); }); // ../node_modules/globby/utilities.js var Hf, P0 = we(() => { Hf = /* @__PURE__ */ a((e) => e[0] === "!", "isNegativePattern"); }); // ../node_modules/globby/ignore.js var ZO, JO, eR, ku, F0, tR, zte, rR, Ud, Kte, Wte, $te, nR, iR, jf, Gf, aR, sR, I0 = we(() => { ZO = mt(require("node:process"), 1), JO = mt(require("node:fs"), 1), eR = mt(require("node:fs/promises"), 1), ku = mt(require("node:path"), 1), F0 = mt(y0(), 1), tR = mt(YO(), 1); QO(); T0(); P0(); zte = [ "**/node_modules", "**/flow-typed", "**/coverage", "**/.git" ], rR = { absolute: !0, dot: !0 }, Ud = "**/.gitignore", Kte = /* @__PURE__ */ a((e, t) => Hf(e) ? "!" + ku.default.posix.join(t, e.slice(1)) : ku.default.posix.join(t, e), "applyBaseToPattern"), Wte = /* @__PURE__ */ a((e, t) => { let r = ec(ku.default.relative(t, ku.default.dirname(e.filePath))); return e.content.split(/\r?\n/).filter((n) => n && !n.startsWith("#")).map((n) => Kte(n, r)); }, "parseIgnoreFile"), $te = /* @__PURE__ */ a((e, t) => { if (t = ec(t), ku.default.isAbsolute(e)) { if (ec(e).startsWith(t)) return ku.default.relative(t, e); throw new Error(`Path ${e} is not in cwd ${t}`); } return e; }, "toRelativePath"), nR = /* @__PURE__ */ a((e, t) => { let r = e.flatMap((i) => Wte(i, t)), n = (0, tR.default)().add(r); return (i) => (i = qf(i), i = $te(i, t), i ? n.ignores(ec(i)) : !1); }, "getIsIgnoredPredicate"), iR = /* @__PURE__ */ a((e = {}) => ({ cwd: qf(e.cwd) ?? ZO.default.cwd(), suppressErrors: !!e.suppressErrors, deep: typeof e.deep == "number" ? e.deep : Number.POSITIVE_INFINITY, ignore: [...e.ignore ?? [], ...zte] }), "normalizeOptions"), jf = /* @__PURE__ */ a(async (e, t) => { let { cwd: r, suppressErrors: n, deep: i, ignore: s } = iR(t), o = await (0, F0.default)(e, { cwd: r, suppressErrors: n, deep: i, ignore: s, ...rR }), u = await Promise.all( o.map(async (l) => ({ filePath: l, content: await eR.default.readFile(l, "utf8") })) ); return nR(u, r); }, "isIgnoredByIgnoreFiles"), Gf = /* @__PURE__ */ a((e, t) => { let { cwd: r, suppressErrors: n, deep: i, ignore: s } = iR(t), u = F0.default.sync(e, { cwd: r, suppressErrors: n, deep: i, ignore: s, ...rR }).map((l) => ({ filePath: l, content: JO.default.readFileSync(l, "utf8") })); return nR(u, r); }, "isIgnoredByIgnoreFilesSync"), aR = /* @__PURE__ */ a((e) => jf(Ud, e), "isGitIgnored"), sR = /* @__PURE__ */ a((e) => Gf(Ud, e), "isGi\ tIgnoredSync"); }); // ../node_modules/globby/index.js var SR = {}; ki(SR, { convertPathToPattern: () => ire, generateGlobTasks: () => rre, generateGlobTasksSync: () => nre, globby: () => Zte, globbyStream: () => ere, globbySync: () => Jte, isDynamicPattern: () => tre, isGitIgnored: () => aR, isGitIgnoredSync: () => sR, isIgnoredByIgnoreFiles: () => jf, isIgnoredByIgnoreFilesSync: () => Gf }); var N0, lR, Pu, tc, Xte, cR, fR, oR, uR, L0, Yte, hR, pR, Vd, dR, Qte, mR, gR, _R, vR, bR, yR, B0, Zte, Jte, ere, tre, rre, nre, ire, ER = we( () => { N0 = mt(require("node:process"), 1), lR = mt(require("node:fs"), 1), Pu = mt(require("node:path"), 1); zC(); tc = mt(y0(), 1); qO(); T0(); I0(); P0(); I0(); Xte = /* @__PURE__ */ a((e) => { if (e.some((t) => typeof t != "string")) throw new TypeError("Patterns must be a string or an array of strings"); }, "assertPatternsInput"), cR = /* @__PURE__ */ a((e, t) => { let r = Hf(e) ? e.slice(1) : e; return Pu.default.isAbsolute(r) ? r : Pu.default.join(t, r); }, "normalizePathForDirectoryGlob"), fR = /* @__PURE__ */ a(({ directoryPath: e, files: t, extensions: r }) => { let n = r?.length > 0 ? `.${r.length > 1 ? `{${r.join(",")}}` : r[0]}` : ""; return t ? t.map((i) => Pu.default.posix.join(e, `**/${Pu.default.extname(i) ? i : `${i}${n}`}`)) : [Pu.default.posix.join(e, `**${n ? `\ /*${n}` : ""}`)]; }, "getDirectoryGlob"), oR = /* @__PURE__ */ a(async (e, { cwd: t = N0.default.cwd(), files: r, extensions: n } = {}) => (await Promise.all( e.map(async (s) => await BO(cR(s, t)) ? fR({ directoryPath: s, files: r, extensions: n }) : s) )).flat(), "directoryToGlob"), uR = /* @__PURE__ */ a((e, { cwd: t = N0.default.cwd(), files: r, extensions: n } = {}) => e.flatMap((i) => MO(cR(i, t)) ? fR({ directoryPath: i, files: r, extensions: n }) : i), "directoryToGlobSync"), L0 = /* @__PURE__ */ a( (e) => (e = [...new Set([e].flat())], Xte(e), e), "toPatternsArray"), Yte = /* @__PURE__ */ a((e) => { if (!e) return; let t; try { t = lR.default.statSync(e); } catch { return; } if (!t.isDirectory()) throw new Error("The `cwd` option must be a path to a directory"); }, "checkCwdOption"), hR = /* @__PURE__ */ a((e = {}) => (e = { ...e, ignore: e.ignore ?? [], expandDirectories: e.expandDirectories ?? !0, cwd: qf(e.cwd) }, Yte(e.cwd), e), "normalizeOptions"), pR = /* @__PURE__ */ a((e) => async (t, r) => e(L0(t), hR(r)), "normalizeArguments"), Vd = /* @__PURE__ */ a( (e) => (t, r) => e(L0(t), hR(r)), "normalizeArgumentsSync"), dR = /* @__PURE__ */ a((e) => { let { ignoreFiles: t, gitignore: r } = e, n = t ? L0(t) : []; return r && n.push(Ud), n; }, "getIgnoreFilesPatterns"), Qte = /* @__PURE__ */ a(async (e) => { let t = dR(e); return gR( t.length > 0 && await jf(t, e) ); }, "getFilter"), mR = /* @__PURE__ */ a((e) => { let t = dR(e); return gR( t.length > 0 && Gf(t, e) ); }, "getFilterSync"), gR = /* @__PURE__ */ a((e) => { let t = /* @__PURE__ */ new Set(); return (r) => { let n = Pu.default.normalize(r.path ?? r); return t.has(n) || e && e(n) ? !1 : (t.add(n), !0); }; }, "createFilterFunction"), _R = /* @__PURE__ */ a((e, t) => e.flat().filter((r) => t(r)), "unionFastGlobResults"), vR = /* @__PURE__ */ a( (e, t) => { let r = []; for (; e.length > 0; ) { let n = e.findIndex((s) => Hf(s)); if (n === -1) { r.push({ patterns: e, options: t }); break; } let i = e[n].slice(1); for (let s of r) s.options.ignore.push(i); n !== 0 && r.push({ patterns: e.slice(0, n), options: { ...t, ignore: [ ...t.ignore, i ] } }), e = e.slice(n + 1); } return r; }, "convertNegativePatterns"), bR = /* @__PURE__ */ a((e, t) => ({ ...t ? { cwd: t } : {}, ...Array.isArray(e) ? { files: e } : e }), "normalizeExpandDirectoriesOption"), yR = /* @__PURE__ */ a(async (e, t) => { let r = vR(e, t), { cwd: n, expandDirectories: i } = t; if (!i) return r; let s = bR(i, n); return Promise.all( r.map(async (o) => { let { patterns: u, options: l } = o; return [ u, l.ignore ] = await Promise.all([ oR(u, s), oR(l.ignore, { cwd: n }) ]), { patterns: u, options: l }; }) ); }, "generateTasks"), B0 = /* @__PURE__ */ a((e, t) => { let r = vR(e, t), { cwd: n, expandDirectories: i } = t; if (!i) return r; let s = bR(i, n); return r.map((o) => { let { patterns: u, options: l } = o; return u = uR(u, s), l.ignore = uR(l.ignore, { cwd: n }), { patterns: u, options: l }; }); }, "generateTasksSync"), Zte = pR(async (e, t) => { let [ r, n ] = await Promise.all([ yR(e, t), Qte(t) ]), i = await Promise.all(r.map((s) => (0, tc.default)(s.patterns, s.options))); return _R(i, n); }), Jte = Vd((e, t) => { let r = B0(e, t), n = mR(t), i = r.map((s) => tc.default.sync(s.patterns, s.options)); return _R(i, n); }), ere = Vd((e, t) => { let r = B0(e, t), n = mR(t), i = r.map((o) => tc.default.stream(o.patterns, o.options)); return Lb(i).filter((o) => n(o)); }), tre = Vd( (e, t) => e.some((r) => tc.default.isDynamicPattern(r, t)) ), rre = pR(yR), nre = Vd(B0), { convertPathToPattern: ire } = tc.default; }); // ../node_modules/picocolors/picocolors.js var jR = y((p8e, U0) => { var $d = process || {}, VR = $d.argv || [], Wd = $d.env || {}, pre = !(Wd.NO_COLOR || VR.includes("--no-color")) && (!!Wd.FORCE_COLOR || VR. includes("--color") || $d.platform === "win32" || ($d.stdout || {}).isTTY && Wd.TERM !== "dumb" || !!Wd.CI), dre = /* @__PURE__ */ a((e, t, r = e) => (n) => { let i = "" + n, s = i.indexOf(t, e.length); return ~s ? e + mre(i, t, r, s) + t : e + i + t; }, "formatter"), mre = /* @__PURE__ */ a((e, t, r, n) => { let i = "", s = 0; do i += e.substring(s, n) + r, s = n + t.length, n = e.indexOf(t, s); while (~n); return i + e.substring(s); }, "replaceClose"), HR = /* @__PURE__ */ a((e = pre) => { let t = e ? dre : () => 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"); U0.exports = HR(); U0.exports.createColors = HR; }); // ../node_modules/totalist/sync/index.mjs var zR = {}; ki(zR, { totalist: () => GR }); function GR(e, t, r = "") { e = (0, ic.resolve)(".", e); let n = (0, Xd.readdirSync)(e), i = 0, s, o; for (; i < n.length; i++) s = (0, ic.join)(e, n[i]), o = (0, Xd.statSync)(s), o.isDirectory() ? GR(s, t, (0, ic.join)(r, n[i])) : t((0, ic.join)(r, n[i]), s, o); } var ic, Xd, KR = we(() => { ic = require("path"), Xd = require("fs"); a(GR, "totalist"); }); // ../node_modules/@polka/url/build.mjs var $R = {}; ki($R, { parse: () => gre }); function gre(e) { let t = e.url; if (t == null) return; let r = e._parsedUrl; if (r && r.raw === t) return r; let n = t, i = "", s, o; if (t.length > 1) { let u = t.indexOf("#", 1); u !== -1 && (o = t.substring(u), n = t.substring(0, u)), u = n.indexOf("?", 1), u !== -1 && (i = n.substring(u), n = n.substring(0, u), i. length > 1 && (s = WR.parse(i.substring(1)))); } return e._parsedUrl = { pathname: n, search: i, query: s, hash: o, raw: t }; } var WR, XR = we(() => { WR = mt(require("node:querystring"), 1); a(gre, "parse"); }); // ../node_modules/mrmime/index.mjs var QR = {}; ki(QR, { lookup: () => _re, mimes: () => YR }); function _re(e) { let t = ("" + e).trim().toLowerCase(), r = t.lastIndexOf("."); return YR[~r ? t.substring(++r) : t]; } var YR, ZR = we(() => { YR = { "3g2": "video/3gpp2", "3gp": "video/3gpp", "3gpp": "video/3gpp", "3mf": "model/3mf", aac: "audio/aac", ac: "application/pkix-attr-cert", adp: "audio/adpcm", adts: "audio/aac", ai: "application/postscript", aml: "application/automationml-aml+xml", amlx: "application/automationml-amlx+zip", amr: "audio/amr", apng: "image/apng", appcache: "text/cache-manifest", appinstaller: "application/appinstaller", appx: "application/appx", appxbundle: "application/appxbundle", asc: "application/pgp-keys", atom: "application/atom+xml", atomcat: "application/atomcat+xml", atomdeleted: "application/atomdeleted+xml", atomsvc: "application/atomsvc+xml", au: "audio/basic", avci: "image/avci", avcs: "image/avcs", avif: "image/avif", aw: "application/applixware", bdoc: "application/bdoc", bin: "application/octet-stream", bmp: "image/bmp", bpk: "application/octet-stream", btf: "image/prs.btif", btif: "image/prs.btif", buffer: "application/octet-stream", ccxml: "application/ccxml+xml", cdfx: "application/cdfx+xml", cdmia: "application/cdmi-capability", cdmic: "application/cdmi-container", cdmid: "application/cdmi-domain", cdmio: "application/cdmi-object", cdmiq: "application/cdmi-queue", cer: "application/pkix-cert", cgm: "image/cgm", cjs: "application/node", class: "application/java-vm", coffee: "text/coffeescript", conf: "text/plain", cpl: "application/cpl+xml", cpt: "application/mac-compactpro", crl: "application/pkix-crl", css: "text/css", csv: "text/csv", cu: "application/cu-seeme", cwl: "application/cwl", cww: "application/prs.cww", davmount: "application/davmount+xml", dbk: "application/docbook+xml", deb: "application/octet-stream", def: "text/plain", deploy: "application/octet-stream", dib: "image/bmp", "disposition-notification": "message/disposition-notification", dist: "application/octet-stream", distz: "application/octet-stream", dll: "application/octet-stream", dmg: "application/octet-stream", dms: "application/octet-stream", doc: "application/msword", dot: "application/msword", dpx: "image/dpx", drle: "image/dicom-rle", dsc: "text/prs.lines.tag", dssc: "application/dssc+der", dtd: "application/xml-dtd", dump: "application/octet-stream", dwd: "application/atsc-dwd+xml", ear: "application/java-archive", ecma: "application/ecmascript", elc: "application/octet-stream", emf: "image/emf", eml: "message/rfc822", emma: "application/emma+xml", emotionml: "application/emotionml+xml", eps: "application/postscript", epub: "application/epub+zip", exe: "application/octet-stream", exi: "application/exi", exp: "application/express", exr: "image/aces", ez: "application/andrew-inset", fdf: "application/fdf", fdt: "application/fdt+xml", fits: "image/fits", g3: "image/g3fax", gbr: "application/rpki-ghostbusters", geojson: "application/geo+json", gif: "image/gif", glb: "model/gltf-binary", gltf: "model/gltf+json", gml: "application/gml+xml", gpx: "application/gpx+xml", gram: "application/srgs", grxml: "application/srgs+xml", gxf: "application/gxf", gz: "application/gzip", h261: "video/h261", h263: "video/h263", h264: "video/h264", heic: "image/heic", heics: "image/heic-sequence", heif: "image/heif", heifs: "image/heif-sequence", hej2: "image/hej2k", held: "application/atsc-held+xml", hjson: "application/hjson", hlp: "application/winhlp", hqx: "application/mac-binhex40", hsj2: "image/hsj2", htm: "text/html", html: "text/html", ics: "text/calendar", ief: "image/ief", ifb: "text/calendar", iges: "model/iges", igs: "model/iges", img: "application/octet-stream", in: "text/plain", ini: "text/plain", ink: "application/inkml+xml", inkml: "application/inkml+xml", ipfix: "application/ipfix", iso: "application/octet-stream", its: "application/its+xml", jade: "text/jade", jar: "application/java-archive", jhc: "image/jphc", jls: "image/jls", jp2: "image/jp2", jpe: "image/jpeg", jpeg: "image/jpeg", jpf: "image/jpx", jpg: "image/jpeg", jpg2: "image/jp2", jpgm: "image/jpm", jpgv: "video/jpeg", jph: "image/jph", jpm: "image/jpm", jpx: "image/jpx", js: "text/javascript", json: "application/json", json5: "application/json5", jsonld: "application/ld+json", jsonml: "application/jsonml+json", jsx: "text/jsx", jt: "model/jt", jxl: "image/jxl", jxr: "image/jxr", jxra: "image/jxra", jxrs: "image/jxrs", jxs: "image/jxs", jxsc: "image/jxsc", jxsi: "image/jxsi", jxss: "image/jxss", kar: "audio/midi", ktx: "image/ktx", ktx2: "image/ktx2", less: "text/less", lgr: "application/lgr+xml", list: "text/plain", litcoffee: "text/coffeescript", log: "text/plain", lostxml: "application/lost+xml", lrf: "application/octet-stream", m1v: "video/mpeg", m21: "application/mp21", m2a: "audio/mpeg", m2t: "video/mp2t", m2ts: "video/mp2t", m2v: "video/mpeg", m3a: "audio/mpeg", m4a: "audio/mp4", m4p: "application/mp4", m4s: "video/iso.segment", ma: "application/mathematica", mads: "application/mads+xml", maei: "application/mmt-aei+xml", man: "text/troff", manifest: "text/cache-manifest", map: "application/json", mar: "application/octet-stream", markdown: "text/markdown", mathml: "application/mathml+xml", mb: "application/mathematica", mbox: "application/mbox", md: "text/markdown", mdx: "text/mdx", me: "text/troff", mesh: "model/mesh", meta4: "application/metalink4+xml", metalink: "application/metalink+xml", mets: "application/mets+xml", mft: "application/rpki-manifest", mid: "audio/midi", midi: "audio/midi", mime: "message/rfc822", mj2: "video/mj2", mjp2: "video/mj2", mjs: "text/javascript", mml: "text/mathml", mods: "application/mods+xml", mov: "video/quicktime", mp2: "audio/mpeg", mp21: "application/mp21", mp2a: "audio/mpeg", mp3: "audio/mpeg", mp4: "video/mp4", mp4a: "audio/mp4", mp4s: "application/mp4", mp4v: "video/mp4", mpd: "application/dash+xml", mpe: "video/mpeg", mpeg: "video/mpeg", mpf: "application/media-policy-dataset+xml", mpg: "video/mpeg", mpg4: "video/mp4", mpga: "audio/mpeg", mpp: "application/dash-patch+xml", mrc: "application/marc", mrcx: "application/marcxml+xml", ms: "text/troff", mscml: "application/mediaservercontrol+xml", msh: "model/mesh", msi: "application/octet-stream", msix: "application/msix", msixbundle: "application/msixbundle", msm: "application/octet-stream", msp: "application/octet-stream", mtl: "model/mtl", mts: "video/mp2t", musd: "application/mmt-usd+xml", mxf: "application/mxf", mxmf: "audio/mobile-xmf", mxml: "application/xv+xml", n3: "text/n3", nb: "application/mathematica", nq: "application/n-quads", nt: "application/n-triples", obj: "model/obj", oda: "application/oda", oga: "audio/ogg", ogg: "audio/ogg", ogv: "video/ogg", ogx: "application/ogg", omdoc: "application/omdoc+xml", onepkg: "application/onenote", onetmp: "application/onenote", onetoc: "application/onenote", onetoc2: "application/onenote", opf: "application/oebps-package+xml", opus: "audio/ogg", otf: "font/otf", owl: "application/rdf+xml", oxps: "application/oxps", p10: "application/pkcs10", p7c: "application/pkcs7-mime", p7m: "application/pkcs7-mime", p7s: "application/pkcs7-signature", p8: "application/pkcs8", pdf: "application/pdf", pfr: "application/font-tdpfr", pgp: "application/pgp-encrypted", pkg: "application/octet-stream", pki: "application/pkixcmp", pkipath: "application/pkix-pkipath", pls: "application/pls+xml", png: "image/png", prc: "model/prc", prf: "application/pics-rules", provx: "application/provenance+xml", ps: "application/postscript", pskcxml: "application/pskc+xml", pti: "image/prs.pti", qt: "video/quicktime", raml: "application/raml+yaml", rapd: "application/route-apd+xml", rdf: "application/rdf+xml", relo: "application/p2p-overlay+xml", rif: "application/reginfo+xml", rl: "application/resource-lists+xml", rld: "application/resource-lists-diff+xml", rmi: "audio/midi", rnc: "application/relax-ng-compact-syntax", rng: "application/xml", roa: "application/rpki-roa", roff: "text/troff", rq: "application/sparql-query", rs: "application/rls-services+xml", rsat: "application/atsc-rsat+xml", rsd: "application/rsd+xml", rsheet: "application/urc-ressheet+xml", rss: "application/rss+xml", rtf: "text/rtf", rtx: "text/richtext", rusd: "application/route-usd+xml", s3m: "audio/s3m", sbml: "application/sbml+xml", scq: "application/scvp-cv-request", scs: "application/scvp-cv-response", sdp: "application/sdp", senmlx: "application/senml+xml", sensmlx: "application/sensml+xml", ser: "application/java-serialized-object", setpay: "application/set-payment-initiation", setreg: "application/set-registration-initiation", sgi: "image/sgi", sgm: "text/sgml", sgml: "text/sgml", shex: "text/shex", shf: "application/shf+xml", shtml: "text/html", sieve: "application/sieve", sig: "application/pgp-signature", sil: "audio/silk", silo: "model/mesh", siv: "application/sieve", slim: "text/slim", slm: "text/slim", sls: "application/route-s-tsid+xml", smi: "application/smil+xml", smil: "application/smil+xml", snd: "audio/basic", so: "application/octet-stream", spdx: "text/spdx", spp: "application/scvp-vp-response", spq: "application/scvp-vp-request", spx: "audio/ogg", sql: "application/sql", sru: "application/sru+xml", srx: "application/sparql-results+xml", ssdl: "application/ssdl+xml", ssml: "application/ssml+xml", stk: "application/hyperstudio", stl: "model/stl", stpx: "model/step+xml", stpxz: "model/step-xml+zip", stpz: "model/step+zip", styl: "text/stylus", stylus: "text/stylus", svg: "image/svg+xml", svgz: "image/svg+xml", swidtag: "application/swid+xml", t: "text/troff", t38: "image/t38", td: "application/urc-targetdesc+xml", tei: "application/tei+xml", teicorpus: "application/tei+xml", text: "text/plain", tfi: "application/thraud+xml", tfx: "image/tiff-fx", tif: "image/tiff", tiff: "image/tiff", toml: "application/toml", tr: "text/troff", trig: "application/trig", ts: "video/mp2t", tsd: "application/timestamped-data", tsv: "text/tab-separated-values", ttc: "font/collection", ttf: "font/ttf", ttl: "text/turtle", ttml: "application/ttml+xml", txt: "text/plain", u3d: "model/u3d", u8dsn: "message/global-delivery-status", u8hdr: "message/global-headers", u8mdn: "message/global-disposition-notification", u8msg: "message/global", ubj: "application/ubjson", uri: "text/uri-list", uris: "text/uri-list", urls: "text/uri-list", vcard: "text/vcard", vrml: "model/vrml", vtt: "text/vtt", vxml: "application/voicexml+xml", war: "application/java-archive", wasm: "application/wasm", wav: "audio/wav", weba: "audio/webm", webm: "video/webm", webmanifest: "application/manifest+json", webp: "image/webp", wgsl: "text/wgsl", wgt: "application/widget", wif: "application/watcherinfo+xml", wmf: "image/wmf", woff: "font/woff", woff2: "font/woff2", wrl: "model/vrml", wsdl: "application/wsdl+xml", wspolicy: "application/wspolicy+xml", x3d: "model/x3d+xml", x3db: "model/x3d+fastinfoset", x3dbz: "model/x3d+binary", x3dv: "model/x3d-vrml", x3dvz: "model/x3d+vrml", x3dz: "model/x3d+xml", xaml: "application/xaml+xml", xav: "application/xcap-att+xml", xca: "application/xcap-caps+xml", xcs: "application/calendar+xml", xdf: "application/xcap-diff+xml", xdssc: "application/dssc+xml", xel: "application/xcap-el+xml", xenc: "application/xenc+xml", xer: "application/patch-ops-error+xml", xfdf: "application/xfdf", xht: "application/xhtml+xml", xhtml: "application/xhtml+xml", xhvml: "application/xv+xml", xlf: "application/xliff+xml", xm: "audio/xm", xml: "text/xml", xns: "application/xcap-ns+xml", xop: "application/xop+xml", xpl: "application/xproc+xml", xsd: "application/xml", xsf: "application/prs.xsf+xml", xsl: "application/xml", xslt: "application/xml", xspf: "application/xspf+xml", xvm: "application/xv+xml", xvml: "application/xv+xml", yaml: "text/yaml", yang: "application/yang", yin: "application/yin+xml", yml: "text/yaml", zip: "application/zip" }; a(_re, "lookup"); }); // ../node_modules/sirv/build.js var rk = y((v8e, tk) => { var V0 = require("fs"), { join: vre, normalize: bre, resolve: yre } = require("path"), { totalist: Sre } = (KR(), Po(zR)), { parse: Ere } = (XR(), Po($R)), { lookup: Are } = (ZR(), Po(QR)), Tre = /* @__PURE__ */ a(() => { }, "noop"); function Dre(e, t) { for (let r = 0; r < t.length; r++) if (t[r].test(e)) return !0; } a(Dre, "isMatch"); function JR(e, t) { let r = 0, n, i = e.length - 1; e.charCodeAt(i) === 47 && (e = e.substring(0, i)); let s = [], o = `${e}/index`; for (; r < t.length; r++) n = t[r] ? `.${t[r]}` : "", e && s.push(e + n), s.push(o + n); return s; } a(JR, "toAssume"); function xre(e, t, r) { let n = 0, i, s = JR(t, r); for (; n < s.length; n++) if (i = e[s[n]]) return i; } a(xre, "viaCache"); function Cre(e, t, r, n) { let i = 0, s = JR(r, n), o, u, l, c; for (; i < s.length; i++) if (o = bre(vre(e, l = s[i])), o.startsWith(e) && V0.existsSync(o)) { if (u = V0.statSync(o), u.isDirectory()) continue; return c = ek(l, u, t), c["Cache-Control"] = t ? "no-cache" : "no-store", { abs: o, stats: u, headers: c }; } } a(Cre, "viaLocal"); function wre(e, t) { return t.statusCode = 404, t.end(); } a(wre, "is404"); function Ore(e, t, r, n, i) { let s = 200, o, u = {}; i = { ...i }; for (let l in i) o = t.getHeader(l), o && (i[l] = o); if ((o = t.getHeader("content-type")) && (i["Content-Type"] = o), e.headers.range) { s = 206; let [l, c] = e.headers.range.replace("bytes=", "").split("-"), f = u.end = parseInt(c, 10) || n.size - 1, d = u.start = parseInt(l, 10) || 0; if (f >= n.size && (f = n.size - 1), d >= n.size) return t.setHeader("Content-Range", `bytes */${n.size}`), t.statusCode = 416, t.end(); i["Content-Range"] = `bytes ${d}-${f}/${n.size}`, i["Content-Length"] = f - d + 1, i["Accept-Ranges"] = "bytes"; } t.writeHead(s, i), V0.createReadStream(r, u).pipe(t); } a(Ore, "send"); var Rre = { ".br": "br", ".gz": "gzip" }; function ek(e, t, r) { let n = Rre[e.slice(-3)], i = Are(e.slice(0, n && -3)) || ""; i === "text/html" && (i += ";charset=utf-8"); let s = { "Content-Length": t.size, "Content-Type": i, "Last-Modified": t.mtime.toUTCString() }; return n && (s["Content-Encoding"] = n), r && (s.ETag = `W/"${t.size}-${t.mtime.getTime()}"`), s; } a(ek, "toHeaders"); tk.exports = function(e, t = {}) { e = yre(e || "."); let r = t.onNoMatch || wre, n = t.setHeaders || Tre, i = t.extensions || ["html", "htm"], s = t.gzip && i.map((_) => `${_}.gz`).concat("\ gz"), o = t.brotli && i.map((_) => `${_}.br`).concat("br"), u = {}, l = "/", c = !!t.etag, f = !!t.single; if (typeof t.single == "string") { let _ = t.single.lastIndexOf("."); l += ~_ ? t.single.substring(0, _) : t.single; } let d = []; t.ignores !== !1 && (d.push(/[/]([A-Za-z\s\d~$._-]+\.\w+){1,}$/), t.dotfiles ? d.push(/\/\.\w/) : d.push(/\/\.well-known/), [].concat(t. ignores || []).forEach((_) => { d.push(new RegExp(_, "i")); })); let g = t.maxAge != null && `public,max-age=${t.maxAge}`; g && t.immutable ? g += ",immutable" : g && t.maxAge === 0 && (g += ",must-revalidate"), t.dev || Sre(e, (_, T, p) => { if (!/\.well-known[\\+\/]/.test(_)) { if (!t.dotfiles && /(^\.|[\\+|\/+]\.)/.test(_)) return; } let h = ek(_, p, c); g && (h["Cache-Control"] = g), u["/" + _.normalize().replace(/\\+/g, "/")] = { abs: T, stats: p, headers: h }; }); let b = t.dev ? Cre.bind(0, e, c) : xre.bind(0, u); return function(_, T, p) { let h = [""], S = Ere(_).pathname, D = _.headers["accept-encoding"] || ""; if (s && D.includes("gzip") && h.unshift(...s), o && /(br|brotli)/i.test(D) && h.unshift(...o), h.push(...i), S.indexOf("%") !== -1) try { S = decodeURI(S); } catch { } let E = b(S, h) || f && !Dre(S, d) && b(l, h); if (!E) return p ? p() : r(_, T); if (c && _.headers["if-none-match"] === E.headers.ETag) return T.writeHead(304), T.end(); (s || o) && T.setHeader("Vary", "Accept-Encoding"), n(T, S, E.stats), Ore(_, T, E.abs, E.stats, E.headers); }; }; }); // ../node_modules/kleur/index.js var Or = y((x8e, lk) => { "use strict"; var { FORCE_COLOR: Fre, NODE_DISABLE_COLORS: Ire, TERM: Nre } = process.env, zt = { enabled: !Ire && Nre !== "dumb" && Fre !== "0", // modifiers reset: lr(0, 0), bold: lr(1, 22), dim: lr(2, 22), italic: lr(3, 23), underline: lr(4, 24), inverse: lr(7, 27), hidden: lr(8, 28), strikethrough: lr(9, 29), // colors black: lr(30, 39), red: lr(31, 39), green: lr(32, 39), yellow: lr(33, 39), blue: lr(34, 39), magenta: lr(35, 39), cyan: lr(36, 39), white: lr(37, 39), gray: lr(90, 39), grey: lr(90, 39), // background colors bgBlack: lr(40, 49), bgRed: lr(41, 49), bgGreen: lr(42, 49), bgYellow: lr(43, 49), bgBlue: lr(44, 49), bgMagenta: lr(45, 49), bgCyan: lr(46, 49), bgWhite: lr(47, 49) }; function uk(e, t) { let r = 0, n, i = "", s = ""; for (; r < e.length; r++) n = e[r], i += n.open, s += n.close, t.includes(n.close) && (t = t.replace(n.rgx, n.close + n.open)); return i + t + s; } a(uk, "run"); function Lre(e, t) { let r = { has: e, keys: t }; return r.reset = zt.reset.bind(r), r.bold = zt.bold.bind(r), r.dim = zt.dim.bind(r), r.italic = zt.italic.bind(r), r.underline = zt.underline. bind(r), r.inverse = zt.inverse.bind(r), r.hidden = zt.hidden.bind(r), r.strikethrough = zt.strikethrough.bind(r), r.black = zt.black.bind( r), r.red = zt.red.bind(r), r.green = zt.green.bind(r), r.yellow = zt.yellow.bind(r), r.blue = zt.blue.bind(r), r.magenta = zt.magenta.bind( r), r.cyan = zt.cyan.bind(r), r.white = zt.white.bind(r), r.gray = zt.gray.bind(r), r.grey = zt.grey.bind(r), r.bgBlack = zt.bgBlack.bind( r), r.bgRed = zt.bgRed.bind(r), r.bgGreen = zt.bgGreen.bind(r), r.bgYellow = zt.bgYellow.bind(r), r.bgBlue = zt.bgBlue.bind(r), r.bgMagenta = zt.bgMagenta.bind(r), r.bgCyan = zt.bgCyan.bind(r), r.bgWhite = zt.bgWhite.bind(r), r; } a(Lre, "chain"); function lr(e, t) { let r = { open: `\x1B[${e}m`, close: `\x1B[${t}m`, rgx: new RegExp(`\\x1b\\[${t}m`, "g") }; return function(n) { return this !== void 0 && this.has !== void 0 ? (this.has.includes(e) || (this.has.push(e), this.keys.push(r)), n === void 0 ? this : zt. enabled ? uk(this.keys, n + "") : n + "") : n === void 0 ? Lre([e], [r]) : zt.enabled ? uk([r], n + "") : n + ""; }; } a(lr, "init"); lk.exports = zt; }); // ../node_modules/prompts/dist/util/action.js var fk = y((w8e, ck) => { "use strict"; ck.exports = (e, t) => { if (!(e.meta && e.name !== "escape")) { if (e.ctrl) { if (e.name === "a") return "first"; if (e.name === "c" || e.name === "d") return "abort"; if (e.name === "e") return "last"; if (e.name === "g") return "reset"; } if (t) { if (e.name === "j") return "down"; if (e.name === "k") return "up"; } return e.name === "return" || e.name === "enter" ? "submit" : e.name === "backspace" ? "delete" : e.name === "delete" ? "deleteForward" : e.name === "abort" ? "abort" : e.name === "escape" ? "exit" : e.name === "tab" ? "next" : e.name === "pagedown" ? "nextPage" : e.name === "pageup" ? "prevPage" : e.name === "home" ? "home" : e.name === "end" ? "end" : e.name === "up" ? "up" : e.name === "down" ? "down" : e. name === "right" ? "right" : e.name === "left" ? "left" : !1; } }; }); // ../node_modules/prompts/dist/util/strip.js var Qd = y((O8e, hk) => { "use strict"; hk.exports = (e) => { let t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"), r = new RegExp(t, "g"); return typeof e == "string" ? e.replace(r, "") : e; }; }); // ../node_modules/sisteransi/src/index.js var kr = y((R8e, pk) => { "use strict"; var z0 = "\x1B", Rr = `${z0}[`, Bre = "\x07", K0 = { to(e, t) { return t ? `${Rr}${t + 1};${e + 1}H` : `${Rr}${e + 1}G`; }, move(e, t) { let r = ""; return e < 0 ? r += `${Rr}${-e}D` : e > 0 && (r += `${Rr}${e}C`), t < 0 ? r += `${Rr}${-t}A` : t > 0 && (r += `${Rr}${t}B`), r; }, up: /* @__PURE__ */ a((e = 1) => `${Rr}${e}A`, "up"), down: /* @__PURE__ */ a((e = 1) => `${Rr}${e}B`, "down"), forward: /* @__PURE__ */ a((e = 1) => `${Rr}${e}C`, "forward"), backward: /* @__PURE__ */ a((e = 1) => `${Rr}${e}D`, "backward"), nextLine: /* @__PURE__ */ a((e = 1) => `${Rr}E`.repeat(e), "nextLine"), prevLine: /* @__PURE__ */ a((e = 1) => `${Rr}F`.repeat(e), "prevLine"), left: `${Rr}G`, hide: `${Rr}?25l`, show: `${Rr}?25h`, save: `${z0}7`, restore: `${z0}8` }, Mre = { up: /* @__PURE__ */ a((e = 1) => `${Rr}S`.repeat(e), "up"), down: /* @__PURE__ */ a((e = 1) => `${Rr}T`.repeat(e), "down") }, qre = { screen: `${Rr}2J`, up: /* @__PURE__ */ a((e = 1) => `${Rr}1J`.repeat(e), "up"), down: /* @__PURE__ */ a((e = 1) => `${Rr}J`.repeat(e), "down"), line: `${Rr}2K`, lineEnd: `${Rr}K`, lineStart: `${Rr}1K`, lines(e) { let t = ""; for (let r = 0; r < e; r++) t += this.line + (r < e - 1 ? K0.up() : ""); return e && (t += K0.left), t; } }; pk.exports = { cursor: K0, scroll: Mre, erase: qre, beep: Bre }; }); // ../node_modules/prompts/dist/util/clear.js var vk = y((P8e, _k) => { "use strict"; function Ure(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = Vre(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ a(function() { }, "F"); return { s: i, n: /* @__PURE__ */ a(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ a(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, o = !1, u; return { s: /* @__PURE__ */ a(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ a(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ a(function(c) { o = !0, u = c; }, "e"), f: /* @__PURE__ */ a(function() { try { !s && r.return != null && r.return(); } finally { if (o) throw u; } }, "f") }; } a(Ure, "_createForOfIteratorHelper"); function Vre(e, t) { if (e) { if (typeof e == "string") return dk(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return dk(e, t); } } a(Vre, "_unsupportedIterableToArray"); function dk(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } a(dk, "_arrayLikeToArray"); var Hre = Qd(), gk = kr(), mk = gk.erase, jre = gk.cursor, Gre = /* @__PURE__ */ a((e) => [...Hre(e)].length, "width"); _k.exports = function(e, t) { if (!t) return mk.line + jre.to(0); let r = 0, n = e.split(/\r?\n/); var i = Ure(n), s; try { for (i.s(); !(s = i.n()).done; ) { let o = s.value; r += 1 + Math.floor(Math.max(Gre(o) - 1, 0) / t); } } catch (o) { i.e(o); } finally { i.f(); } return mk.lines(r); }; }); // ../node_modules/prompts/dist/util/figures.js var W0 = y((I8e, bk) => { "use strict"; var Xf = { arrowUp: "\u2191", arrowDown: "\u2193", arrowLeft: "\u2190", arrowRight: "\u2192", radioOn: "\u25C9", radioOff: "\u25EF", tick: "\u2714", cross: "\u2716", ellipsis: "\u2026", pointerSmall: "\u203A", line: "\u2500", pointer: "\u276F" }, zre = { arrowUp: Xf.arrowUp, arrowDown: Xf.arrowDown, arrowLeft: Xf.arrowLeft, arrowRight: Xf.arrowRight, radioOn: "(*)", radioOff: "( )", tick: "\u221A", cross: "\xD7", ellipsis: "...", pointerSmall: "\xBB", line: "\u2500", pointer: ">" }, Kre = process.platform === "win32" ? zre : Xf; bk.exports = Kre; }); // ../node_modules/prompts/dist/util/style.js var Sk = y((N8e, yk) => { "use strict"; var ac = Or(), Iu = W0(), $0 = Object.freeze({ password: { scale: 1, render: /* @__PURE__ */ a((e) => "*".repeat(e.length), "render") }, emoji: { scale: 2, render: /* @__PURE__ */ a((e) => "\u{1F603}".repeat(e.length), "render") }, invisible: { scale: 0, render: /* @__PURE__ */ a((e) => "", "render") }, default: { scale: 1, render: /* @__PURE__ */ a((e) => `${e}`, "render") } }), Wre = /* @__PURE__ */ a((e) => $0[e] || $0.default, "render"), Yf = Object.freeze({ aborted: ac.red(Iu.cross), done: ac.green(Iu.tick), exited: ac.yellow(Iu.cross), default: ac.cyan("?") }), $re = /* @__PURE__ */ a((e, t, r) => t ? Yf.aborted : r ? Yf.exited : e ? Yf.done : Yf.default, "symbol"), Xre = /* @__PURE__ */ a((e) => ac. gray(e ? Iu.ellipsis : Iu.pointerSmall), "delimiter"), Yre = /* @__PURE__ */ a((e, t) => ac.gray(e ? t ? Iu.pointerSmall : "+" : Iu.line), "item"); yk.exports = { styles: $0, render: Wre, symbols: Yf, symbol: $re, delimiter: Xre, item: Yre }; }); // ../node_modules/prompts/dist/util/lines.js var Ak = y((B8e, Ek) => { "use strict"; var Qre = Qd(); Ek.exports = function(e, t) { let r = String(Qre(e) || "").split(/\r?\n/); return t ? r.map((n) => Math.ceil(n.length / t)).reduce((n, i) => n + i) : r.length; }; }); // ../node_modules/prompts/dist/util/wrap.js var Dk = y((M8e, Tk) => { "use strict"; Tk.exports = (e, t = {}) => { let r = Number.isSafeInteger(parseInt(t.margin)) ? new Array(parseInt(t.margin)).fill(" ").join("") : t.margin || "", n = t.width; return (e || "").split(/\r?\n/g).map((i) => i.split(/\s+/g).reduce((s, o) => (o.length + r.length >= n || s[s.length - 1].length + o.length + 1 < n ? s[s.length - 1] += ` ${o}` : s.push(`${r}${o}`), s), [r]).join(` `)).join(` `); }; }); // ../node_modules/prompts/dist/util/entriesToDisplay.js var Ck = y((q8e, xk) => { "use strict"; xk.exports = (e, t, r) => { r = r || t; let n = Math.min(t - r, e - Math.floor(r / 2)); n < 0 && (n = 0); let i = Math.min(n + r, t); return { startIndex: n, endIndex: i }; }; }); // ../node_modules/prompts/dist/util/index.js var qa = y((U8e, wk) => { "use strict"; wk.exports = { action: fk(), clear: vk(), style: Sk(), strip: Qd(), figures: W0(), lines: Ak(), wrap: Dk(), entriesToDisplay: Ck() }; }); // ../node_modules/prompts/dist/elements/prompt.js var Js = y((V8e, kk) => { "use strict"; var Ok = require("readline"), Zre = qa(), Jre = Zre.action, ene = require("events"), Rk = kr(), tne = Rk.beep, rne = Rk.cursor, nne = Or(), X0 = class extends ene { static { a(this, "Prompt"); } constructor(t = {}) { super(), this.firstRender = !0, this.in = t.stdin || process.stdin, this.out = t.stdout || process.stdout, this.onRender = (t.onRender || (() => { })).bind(this); let r = Ok.createInterface({ input: this.in, escapeCodeTimeout: 50 }); Ok.emitKeypressEvents(this.in, r), this.in.isTTY && this.in.setRawMode(!0); let n = ["SelectPrompt", "MultiselectPrompt"].indexOf(this.constructor.name) > -1, i = /* @__PURE__ */ a((s, o) => { let u = Jre(o, n); u === !1 ? this._ && this._(s, o) : typeof this[u] == "function" ? this[u](o) : this.bell(); }, "keypress"); this.close = () => { this.out.write(rne.show), this.in.removeListener("keypress", i), this.in.isTTY && this.in.setRawMode(!1), r.close(), this.emit(this. aborted ? "abort" : this.exited ? "exit" : "submit", this.value), this.closed = !0; }, this.in.on("keypress", i); } fire() { this.emit("state", { value: this.value, aborted: !!this.aborted, exited: !!this.exited }); } bell() { this.out.write(tne); } render() { this.onRender(nne), this.firstRender && (this.firstRender = !1); } }; kk.exports = X0; }); // ../node_modules/prompts/dist/elements/text.js var Lk = y((j8e, Nk) => { "use strict"; function Pk(e, t, r, n, i, s, o) { try { var u = e[s](o), l = u.value; } catch (c) { r(c); return; } u.done ? t(l) : Promise.resolve(l).then(n, i); } a(Pk, "asyncGeneratorStep"); function Fk(e) { return function() { var t = this, r = arguments; return new Promise(function(n, i) { var s = e.apply(t, r); function o(l) { Pk(s, n, i, o, u, "next", l); } a(o, "_next"); function u(l) { Pk(s, n, i, o, u, "throw", l); } a(u, "_throw"), o(void 0); }); }; } a(Fk, "_asyncToGenerator"); var Zd = Or(), ine = Js(), Ik = kr(), ane = Ik.erase, Qf = Ik.cursor, Jd = qa(), Y0 = Jd.style, Q0 = Jd.clear, sne = Jd.lines, one = Jd.figures, Z0 = class extends ine { static { a(this, "TextPrompt"); } constructor(t = {}) { super(t), this.transform = Y0.render(t.style), this.scale = this.transform.scale, this.msg = t.message, this.initial = t.initial || "", this.validator = t.validate || (() => !0), this.value = "", this.errorMsg = t.error || "Please Enter A Valid Value", this.cursor = +!!this. initial, this.cursorOffset = 0, this.clear = Q0("", this.out.columns), this.render(); } set value(t) { !t && this.initial ? (this.placeholder = !0, this.rendered = Zd.gray(this.transform.render(this.initial))) : (this.placeholder = !1, this. rendered = this.transform.render(t)), this._value = t, this.fire(); } get value() { return this._value; } reset() { this.value = "", this.cursor = +!!this.initial, this.cursorOffset = 0, this.fire(), this.render(); } exit() { this.abort(); } abort() { this.value = this.value || this.initial, this.done = this.aborted = !0, this.error = !1, this.red = !1, this.fire(), this.render(), this. out.write(` `), this.close(); } validate() { var t = this; return Fk(function* () { let r = yield t.validator(t.value); typeof r == "string" && (t.errorMsg = r, r = !1), t.error = !r; })(); } submit() { var t = this; return Fk(function* () { if (t.value = t.value || t.initial, t.cursorOffset = 0, t.cursor = t.rendered.length, yield t.validate(), t.error) { t.red = !0, t.fire(), t.render(); return; } t.done = !0, t.aborted = !1, t.fire(), t.render(), t.out.write(` `), t.close(); })(); } next() { if (!this.placeholder) return this.bell(); this.value = this.initial, this.cursor = this.rendered.length, this.fire(), this.render(); } moveCursor(t) { this.placeholder || (this.cursor = this.cursor + t, this.cursorOffset += t); } _(t, r) { let n = this.value.slice(0, this.cursor), i = this.value.slice(this.cursor); this.value = `${n}${t}${i}`, this.red = !1, this.cursor = this.placeholder ? 0 : n.length + 1, this.render(); } delete() { if (this.isCursorAtStart()) return this.bell(); let t = this.value.slice(0, this.cursor - 1), r = this.value.slice(this.cursor); this.value = `${t}${r}`, this.red = !1, this.isCursorAtStart() ? this.cursorOffset = 0 : (this.cursorOffset++, this.moveCursor(-1)), this. render(); } deleteForward() { if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell(); let t = this.value.slice(0, this.cursor), r = this.value.slice(this.cursor + 1); this.value = `${t}${r}`, this.red = !1, this.isCursorAtEnd() ? this.cursorOffset = 0 : this.cursorOffset++, this.render(); } first() { this.cursor = 0, this.render(); } last() { this.cursor = this.value.length, this.render(); } left() { if (this.cursor <= 0 || this.placeholder) return this.bell(); this.moveCursor(-1), this.render(); } right() { if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell(); this.moveCursor(1), this.render(); } isCursorAtStart() { return this.cursor === 0 || this.placeholder && this.cursor === 1; } isCursorAtEnd() { return this.cursor === this.rendered.length || this.placeholder && this.cursor === this.rendered.length + 1; } render() { this.closed || (this.firstRender || (this.outputError && this.out.write(Qf.down(sne(this.outputError, this.out.columns) - 1) + Q0(this. outputError, this.out.columns)), this.out.write(Q0(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [Y0.symbol(this.done, this.aborted), Zd.bold(this.msg), Y0.delimiter(this.done), this.red ? Zd.red(this.rendered) : this.rendered].join( " "), this.error && (this.outputError += this.errorMsg.split(` `).reduce((t, r, n) => t + ` ${n ? " " : one.pointerSmall} ${Zd.red().italic(r)}`, "")), this.out.write(ane.line + Qf.to(0) + this.outputText + Qf.save + this.outputError + Qf.restore + Qf.move(this.cursorOffset, 0))); } }; Nk.exports = Z0; }); // ../node_modules/prompts/dist/elements/select.js var Uk = y((z8e, qk) => { "use strict"; var eo = Or(), une = Js(), Zf = qa(), Bk = Zf.style, Mk = Zf.clear, em = Zf.figures, lne = Zf.wrap, cne = Zf.entriesToDisplay, fne = kr(), hne = fne.cursor, J0 = class extends une { static { a(this, "SelectPrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.hint = t.hint || "- Use arrow-keys. Return to submit.", this.warn = t.warn || "- This option is d\ isabled", this.cursor = t.initial || 0, this.choices = t.choices.map((r, n) => (typeof r == "string" && (r = { title: r, value: n }), { title: r && (r.title || r.value || r), value: r && (r.value === void 0 ? n : r.value), description: r && r.description, selected: r && r.selected, disabled: r && r.disabled })), this.optionsPerPage = t.optionsPerPage || 10, this.value = (this.choices[this.cursor] || {}).value, this.clear = Mk("", this.out. columns), this.render(); } moveCursor(t) { this.cursor = t, this.value = this.choices[t].value, this.fire(); } reset() { this.moveCursor(0), this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.selection.disabled ? this.bell() : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close()); } first() { this.moveCursor(0), this.render(); } last() { this.moveCursor(this.choices.length - 1), this.render(); } up() { this.cursor === 0 ? this.moveCursor(this.choices.length - 1) : this.moveCursor(this.cursor - 1), this.render(); } down() { this.cursor === this.choices.length - 1 ? this.moveCursor(0) : this.moveCursor(this.cursor + 1), this.render(); } next() { this.moveCursor((this.cursor + 1) % this.choices.length), this.render(); } _(t, r) { if (t === " ") return this.submit(); } get selection() { return this.choices[this.cursor]; } render() { if (this.closed) return; this.firstRender ? this.out.write(hne.hide) : this.out.write(Mk(this.outputText, this.out.columns)), super.render(); let t = cne(this.cursor, this.choices.length, this.optionsPerPage), r = t.startIndex, n = t.endIndex; if (this.outputText = [Bk.symbol(this.done, this.aborted), eo.bold(this.msg), Bk.delimiter(!1), this.done ? this.selection.title : this. selection.disabled ? eo.yellow(this.warn) : eo.gray(this.hint)].join(" "), !this.done) { this.outputText += ` `; for (let i = r; i < n; i++) { let s, o, u = "", l = this.choices[i]; i === r && r > 0 ? o = em.arrowUp : i === n - 1 && n < this.choices.length ? o = em.arrowDown : o = " ", l.disabled ? (s = this.cursor === i ? eo.gray().underline(l.title) : eo.strikethrough().gray(l.title), o = (this.cursor === i ? eo.bold().gray(em.pointer) + " " : "\ ") + o) : (s = this.cursor === i ? eo.cyan().underline(l.title) : l.title, o = (this.cursor === i ? eo.cyan(em.pointer) + " " : " ") + o, l.description && this.cursor === i && (u = ` - ${l.description}`, (o.length + s.length + u.length >= this.out.columns || l.description. split(/\r?\n/).length > 1) && (u = ` ` + lne(l.description, { margin: 3, width: this.out.columns })))), this.outputText += `${o} ${s}${eo.gray(u)} `; } } this.out.write(this.outputText); } }; qk.exports = J0; }); // ../node_modules/prompts/dist/elements/toggle.js var Kk = y((W8e, zk) => { "use strict"; var tm = Or(), pne = Js(), jk = qa(), Vk = jk.style, dne = jk.clear, Gk = kr(), Hk = Gk.cursor, mne = Gk.erase, eS = class extends pne { static { a(this, "TogglePrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.value = !!t.initial, this.active = t.active || "on", this.inactive = t.inactive || "off", this.initialValue = this.value, this.render(); } reset() { this.value = this.initialValue, this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } deactivate() { if (this.value === !1) return this.bell(); this.value = !1, this.render(); } activate() { if (this.value === !0) return this.bell(); this.value = !0, this.render(); } delete() { this.deactivate(); } left() { this.deactivate(); } right() { this.activate(); } down() { this.deactivate(); } up() { this.activate(); } next() { this.value = !this.value, this.fire(), this.render(); } _(t, r) { if (t === " ") this.value = !this.value; else if (t === "1") this.value = !0; else if (t === "0") this.value = !1; else return this.bell(); this.render(); } render() { this.closed || (this.firstRender ? this.out.write(Hk.hide) : this.out.write(dne(this.outputText, this.out.columns)), super.render(), this. outputText = [Vk.symbol(this.done, this.aborted), tm.bold(this.msg), Vk.delimiter(this.done), this.value ? this.inactive : tm.cyan().underline( this.inactive), tm.gray("/"), this.value ? tm.cyan().underline(this.active) : this.active].join(" "), this.out.write(mne.line + Hk.to( 0) + this.outputText)); } }; zk.exports = eS; }); // ../node_modules/prompts/dist/dateparts/datepart.js var As = y((X8e, Wk) => { "use strict"; var tS = class e { static { a(this, "DatePart"); } constructor({ token: t, date: r, parts: n, locales: i }) { this.token = t, this.date = r || /* @__PURE__ */ new Date(), this.parts = n || [this], this.locales = i || {}; } up() { } down() { } next() { let t = this.parts.indexOf(this); return this.parts.find((r, n) => n > t && r instanceof e); } setTo(t) { } prev() { let t = [].concat(this.parts).reverse(), r = t.indexOf(this); return t.find((n, i) => i > r && n instanceof e); } toString() { return String(this.date); } }; Wk.exports = tS; }); // ../node_modules/prompts/dist/dateparts/meridiem.js var Xk = y((Q8e, $k) => { "use strict"; var gne = As(), rS = class extends gne { static { a(this, "Meridiem"); } constructor(t = {}) { super(t); } up() { this.date.setHours((this.date.getHours() + 12) % 24); } down() { this.up(); } toString() { let t = this.date.getHours() > 12 ? "pm" : "am"; return /\A/.test(this.token) ? t.toUpperCase() : t; } }; $k.exports = rS; }); // ../node_modules/prompts/dist/dateparts/day.js var Qk = y((J8e, Yk) => { "use strict"; var _ne = As(), vne = /* @__PURE__ */ a((e) => (e = e % 10, e === 1 ? "st" : e === 2 ? "nd" : e === 3 ? "rd" : "th"), "pos"), nS = class extends _ne { static { a(this, "Day"); } constructor(t = {}) { super(t); } up() { this.date.setDate(this.date.getDate() + 1); } down() { this.date.setDate(this.date.getDate() - 1); } setTo(t) { this.date.setDate(parseInt(t.substr(-2))); } toString() { let t = this.date.getDate(), r = this.date.getDay(); return this.token === "DD" ? String(t).padStart(2, "0") : this.token === "Do" ? t + vne(t) : this.token === "d" ? r + 1 : this.token === "ddd" ? this.locales.weekdaysShort[r] : this.token === "dddd" ? this.locales.weekdays[r] : t; } }; Yk.exports = nS; }); // ../node_modules/prompts/dist/dateparts/hours.js var Jk = y((t5e, Zk) => { "use strict"; var bne = As(), iS = class extends bne { static { a(this, "Hours"); } constructor(t = {}) { super(t); } up() { this.date.setHours(this.date.getHours() + 1); } down() { this.date.setHours(this.date.getHours() - 1); } setTo(t) { this.date.setHours(parseInt(t.substr(-2))); } toString() { let t = this.date.getHours(); return /h/.test(this.token) && (t = t % 12 || 12), this.token.length > 1 ? String(t).padStart(2, "0") : t; } }; Zk.exports = iS; }); // ../node_modules/prompts/dist/dateparts/milliseconds.js var tP = y((n5e, eP) => { "use strict"; var yne = As(), aS = class extends yne { static { a(this, "Milliseconds"); } constructor(t = {}) { super(t); } up() { this.date.setMilliseconds(this.date.getMilliseconds() + 1); } down() { this.date.setMilliseconds(this.date.getMilliseconds() - 1); } setTo(t) { this.date.setMilliseconds(parseInt(t.substr(-this.token.length))); } toString() { return String(this.date.getMilliseconds()).padStart(4, "0").substr(0, this.token.length); } }; eP.exports = aS; }); // ../node_modules/prompts/dist/dateparts/minutes.js var nP = y((a5e, rP) => { "use strict"; var Sne = As(), sS = class extends Sne { static { a(this, "Minutes"); } constructor(t = {}) { super(t); } up() { this.date.setMinutes(this.date.getMinutes() + 1); } down() { this.date.setMinutes(this.date.getMinutes() - 1); } setTo(t) { this.date.setMinutes(parseInt(t.substr(-2))); } toString() { let t = this.date.getMinutes(); return this.token.length > 1 ? String(t).padStart(2, "0") : t; } }; rP.exports = sS; }); // ../node_modules/prompts/dist/dateparts/month.js var aP = y((o5e, iP) => { "use strict"; var Ene = As(), oS = class extends Ene { static { a(this, "Month"); } constructor(t = {}) { super(t); } up() { this.date.setMonth(this.date.getMonth() + 1); } down() { this.date.setMonth(this.date.getMonth() - 1); } setTo(t) { t = parseInt(t.substr(-2)) - 1, this.date.setMonth(t < 0 ? 0 : t); } toString() { let t = this.date.getMonth(), r = this.token.length; return r === 2 ? String(t + 1).padStart(2, "0") : r === 3 ? this.locales.monthsShort[t] : r === 4 ? this.locales.months[t] : String(t + 1); } }; iP.exports = oS; }); // ../node_modules/prompts/dist/dateparts/seconds.js var oP = y((l5e, sP) => { "use strict"; var Ane = As(), uS = class extends Ane { static { a(this, "Seconds"); } constructor(t = {}) { super(t); } up() { this.date.setSeconds(this.date.getSeconds() + 1); } down() { this.date.setSeconds(this.date.getSeconds() - 1); } setTo(t) { this.date.setSeconds(parseInt(t.substr(-2))); } toString() { let t = this.date.getSeconds(); return this.token.length > 1 ? String(t).padStart(2, "0") : t; } }; sP.exports = uS; }); // ../node_modules/prompts/dist/dateparts/year.js var lP = y((f5e, uP) => { "use strict"; var Tne = As(), lS = class extends Tne { static { a(this, "Year"); } constructor(t = {}) { super(t); } up() { this.date.setFullYear(this.date.getFullYear() + 1); } down() { this.date.setFullYear(this.date.getFullYear() - 1); } setTo(t) { this.date.setFullYear(t.substr(-4)); } toString() { let t = String(this.date.getFullYear()).padStart(4, "0"); return this.token.length === 2 ? t.substr(-2) : t; } }; uP.exports = lS; }); // ../node_modules/prompts/dist/dateparts/index.js var fP = y((p5e, cP) => { "use strict"; cP.exports = { DatePart: As(), Meridiem: Xk(), Day: Qk(), Hours: Jk(), Milliseconds: tP(), Minutes: nP(), Month: aP(), Seconds: oP(), Year: lP() }; }); // ../node_modules/prompts/dist/elements/date.js var SP = y((d5e, yP) => { "use strict"; function hP(e, t, r, n, i, s, o) { try { var u = e[s](o), l = u.value; } catch (c) { r(c); return; } u.done ? t(l) : Promise.resolve(l).then(n, i); } a(hP, "asyncGeneratorStep"); function pP(e) { return function() { var t = this, r = arguments; return new Promise(function(n, i) { var s = e.apply(t, r); function o(l) { hP(s, n, i, o, u, "next", l); } a(o, "_next"); function u(l) { hP(s, n, i, o, u, "throw", l); } a(u, "_throw"), o(void 0); }); }; } a(pP, "_asyncToGenerator"); var cS = Or(), Dne = Js(), hS = qa(), dP = hS.style, mP = hS.clear, xne = hS.figures, bP = kr(), Cne = bP.erase, gP = bP.cursor, to = fP(), _P = to.DatePart, wne = to.Meridiem, One = to.Day, Rne = to.Hours, kne = to.Milliseconds, Pne = to.Minutes, Fne = to.Month, Ine = to.Seconds, Nne = to.Year, Lne = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g, vP = { 1: ({ token: e }) => e.replace(/\\(.)/g, "$1"), 2: (e) => new One(e), // Day // TODO 3: (e) => new Fne(e), // Month 4: (e) => new Nne(e), // Year 5: (e) => new wne(e), // AM/PM // TODO (special) 6: (e) => new Rne(e), // Hours 7: (e) => new Pne(e), // Minutes 8: (e) => new Ine(e), // Seconds 9: (e) => new kne(e) // Fractional seconds }, Bne = { months: "January,February,March,April,May,June,July,August,September,October,November,December".split(","), monthsShort: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","), weekdays: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","), weekdaysShort: "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",") }, fS = class extends Dne { static { a(this, "DatePrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.cursor = 0, this.typed = "", this.locales = Object.assign(Bne, t.locales), this._date = t.initial || /* @__PURE__ */ new Date(), this.errorMsg = t.error || "Please Enter A Valid Value", this.validator = t.validate || (() => !0), this.mask = t.mask || "YYYY-MM-DD HH:mm:ss", this.clear = mP("", this.out.columns), this.render(); } get value() { return this.date; } get date() { return this._date; } set date(t) { t && this._date.setTime(t.getTime()); } set mask(t) { let r; for (this.parts = []; r = Lne.exec(t); ) { let i = r.shift(), s = r.findIndex((o) => o != null); this.parts.push(s in vP ? vP[s]({ token: r[s] || i, date: this.date, parts: this.parts, locales: this.locales }) : r[s] || i); } let n = this.parts.reduce((i, s) => (typeof s == "string" && typeof i[i.length - 1] == "string" ? i[i.length - 1] += s : i.push(s), i), []); this.parts.splice(0), this.parts.push(...n), this.reset(); } moveCursor(t) { this.typed = "", this.cursor = t, this.fire(); } reset() { this.moveCursor(this.parts.findIndex((t) => t instanceof _P)), this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } validate() { var t = this; return pP(function* () { let r = yield t.validator(t.value); typeof r == "string" && (t.errorMsg = r, r = !1), t.error = !r; })(); } submit() { var t = this; return pP(function* () { if (yield t.validate(), t.error) { t.color = "red", t.fire(), t.render(); return; } t.done = !0, t.aborted = !1, t.fire(), t.render(), t.out.write(` `), t.close(); })(); } up() { this.typed = "", this.parts[this.cursor].up(), this.render(); } down() { this.typed = "", this.parts[this.cursor].down(), this.render(); } left() { let t = this.parts[this.cursor].prev(); if (t == null) return this.bell(); this.moveCursor(this.parts.indexOf(t)), this.render(); } right() { let t = this.parts[this.cursor].next(); if (t == null) return this.bell(); this.moveCursor(this.parts.indexOf(t)), this.render(); } next() { let t = this.parts[this.cursor].next(); this.moveCursor(t ? this.parts.indexOf(t) : this.parts.findIndex((r) => r instanceof _P)), this.render(); } _(t) { /\d/.test(t) && (this.typed += t, this.parts[this.cursor].setTo(this.typed), this.render()); } render() { this.closed || (this.firstRender ? this.out.write(gP.hide) : this.out.write(mP(this.outputText, this.out.columns)), super.render(), this. outputText = [dP.symbol(this.done, this.aborted), cS.bold(this.msg), dP.delimiter(!1), this.parts.reduce((t, r, n) => t.concat(n === this. cursor && !this.done ? cS.cyan().underline(r.toString()) : r), []).join("")].join(" "), this.error && (this.outputText += this.errorMsg. split(` `).reduce((t, r, n) => t + ` ${n ? " " : xne.pointerSmall} ${cS.red().italic(r)}`, "")), this.out.write(Cne.line + gP.to(0) + this.outputText)); } }; yP.exports = fS; }); // ../node_modules/prompts/dist/elements/number.js var wP = y((g5e, CP) => { "use strict"; function EP(e, t, r, n, i, s, o) { try { var u = e[s](o), l = u.value; } catch (c) { r(c); return; } u.done ? t(l) : Promise.resolve(l).then(n, i); } a(EP, "asyncGeneratorStep"); function AP(e) { return function() { var t = this, r = arguments; return new Promise(function(n, i) { var s = e.apply(t, r); function o(l) { EP(s, n, i, o, u, "next", l); } a(o, "_next"); function u(l) { EP(s, n, i, o, u, "throw", l); } a(u, "_throw"), o(void 0); }); }; } a(AP, "_asyncToGenerator"); var rm = Or(), Mne = Js(), xP = kr(), nm = xP.cursor, qne = xP.erase, im = qa(), pS = im.style, Une = im.figures, TP = im.clear, Vne = im. lines, Hne = /[0-9]/, dS = /* @__PURE__ */ a((e) => e !== void 0, "isDef"), DP = /* @__PURE__ */ a((e, t) => { let r = Math.pow(10, t); return Math.round(e * r) / r; }, "round"), mS = class extends Mne { static { a(this, "NumberPrompt"); } constructor(t = {}) { super(t), this.transform = pS.render(t.style), this.msg = t.message, this.initial = dS(t.initial) ? t.initial : "", this.float = !!t.float, this.round = t.round || 2, this.inc = t.increment || 1, this.min = dS(t.min) ? t.min : -1 / 0, this.max = dS(t.max) ? t.max : 1 / 0, this. errorMsg = t.error || "Please Enter A Valid Value", this.validator = t.validate || (() => !0), this.color = "cyan", this.value = "", this. typed = "", this.lastHit = 0, this.render(); } set value(t) { !t && t !== 0 ? (this.placeholder = !0, this.rendered = rm.gray(this.transform.render(`${this.initial}`)), this._value = "") : (this.placeholder = !1, this.rendered = this.transform.render(`${DP(t, this.round)}`), this._value = DP(t, this.round)), this.fire(); } get value() { return this._value; } parse(t) { return this.float ? parseFloat(t) : parseInt(t); } valid(t) { return t === "-" || t === "." && this.float || Hne.test(t); } reset() { this.typed = "", this.value = "", this.fire(), this.render(); } exit() { this.abort(); } abort() { let t = this.value; this.value = t !== "" ? t : this.initial, this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(`\ `), this.close(); } validate() { var t = this; return AP(function* () { let r = yield t.validator(t.value); typeof r == "string" && (t.errorMsg = r, r = !1), t.error = !r; })(); } submit() { var t = this; return AP(function* () { if (yield t.validate(), t.error) { t.color = "red", t.fire(), t.render(); return; } let r = t.value; t.value = r !== "" ? r : t.initial, t.done = !0, t.aborted = !1, t.error = !1, t.fire(), t.render(), t.out.write(` `), t.close(); })(); } up() { if (this.typed = "", this.value === "" && (this.value = this.min - this.inc), this.value >= this.max) return this.bell(); this.value += this.inc, this.color = "cyan", this.fire(), this.render(); } down() { if (this.typed = "", this.value === "" && (this.value = this.min + this.inc), this.value <= this.min) return this.bell(); this.value -= this.inc, this.color = "cyan", this.fire(), this.render(); } delete() { let t = this.value.toString(); if (t.length === 0) return this.bell(); this.value = this.parse(t = t.slice(0, -1)) || "", this.value !== "" && this.value < this.min && (this.value = this.min), this.color = "cyan", this.fire(), this.render(); } next() { this.value = this.initial, this.fire(), this.render(); } _(t, r) { if (!this.valid(t)) return this.bell(); let n = Date.now(); if (n - this.lastHit > 1e3 && (this.typed = ""), this.typed += t, this.lastHit = n, this.color = "cyan", t === ".") return this.fire(); this.value = Math.min(this.parse(this.typed), this.max), this.value > this.max && (this.value = this.max), this.value < this.min && (this. value = this.min), this.fire(), this.render(); } render() { this.closed || (this.firstRender || (this.outputError && this.out.write(nm.down(Vne(this.outputError, this.out.columns) - 1) + TP(this. outputError, this.out.columns)), this.out.write(TP(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [pS.symbol(this.done, this.aborted), rm.bold(this.msg), pS.delimiter(this.done), !this.done || !this.done && !this.placeholder ? rm[this. color]().underline(this.rendered) : this.rendered].join(" "), this.error && (this.outputError += this.errorMsg.split(` `).reduce((t, r, n) => t + ` ${n ? " " : Une.pointerSmall} ${rm.red().italic(r)}`, "")), this.out.write(qne.line + nm.to(0) + this.outputText + nm.save + this.outputError + nm.restore)); } }; CP.exports = mS; }); // ../node_modules/prompts/dist/elements/multiselect.js var _S = y((v5e, kP) => { "use strict"; var Ts = Or(), jne = kr(), Gne = jne.cursor, zne = Js(), Jf = qa(), OP = Jf.clear, Ho = Jf.figures, RP = Jf.style, Kne = Jf.wrap, Wne = Jf. entriesToDisplay, gS = class extends zne { static { a(this, "MultiselectPrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.cursor = t.cursor || 0, this.scrollIndex = t.cursor || 0, this.hint = t.hint || "", this.warn = t. warn || "- This option is disabled -", this.minSelected = t.min, this.showMinError = !1, this.maxChoices = t.max, this.instructions = t. instructions, this.optionsPerPage = t.optionsPerPage || 10, this.value = t.choices.map((r, n) => (typeof r == "string" && (r = { title: r, value: n }), { title: r && (r.title || r.value || r), description: r && r.description, value: r && (r.value === void 0 ? n : r.value), selected: r && r.selected, disabled: r && r.disabled })), this.clear = OP("", this.out.columns), t.overrideRender || this.render(); } reset() { this.value.map((t) => !t.selected), this.cursor = 0, this.fire(), this.render(); } selected() { return this.value.filter((t) => t.selected); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { let t = this.value.filter((r) => r.selected); this.minSelected && t.length < this.minSelected ? (this.showMinError = !0, this.render()) : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close()); } first() { this.cursor = 0, this.render(); } last() { this.cursor = this.value.length - 1, this.render(); } next() { this.cursor = (this.cursor + 1) % this.value.length, this.render(); } up() { this.cursor === 0 ? this.cursor = this.value.length - 1 : this.cursor--, this.render(); } down() { this.cursor === this.value.length - 1 ? this.cursor = 0 : this.cursor++, this.render(); } left() { this.value[this.cursor].selected = !1, this.render(); } right() { if (this.value.filter((t) => t.selected).length >= this.maxChoices) return this.bell(); this.value[this.cursor].selected = !0, this.render(); } handleSpaceToggle() { let t = this.value[this.cursor]; if (t.selected) t.selected = !1, this.render(); else { if (t.disabled || this.value.filter((r) => r.selected).length >= this.maxChoices) return this.bell(); t.selected = !0, this.render(); } } toggleAll() { if (this.maxChoices !== void 0 || this.value[this.cursor].disabled) return this.bell(); let t = !this.value[this.cursor].selected; this.value.filter((r) => !r.disabled).forEach((r) => r.selected = t), this.render(); } _(t, r) { if (t === " ") this.handleSpaceToggle(); else if (t === "a") this.toggleAll(); else return this.bell(); } renderInstructions() { return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : ` Instructions: ${Ho.arrowUp}/${Ho.arrowDown}: Highlight option ${Ho.arrowLeft}/${Ho.arrowRight}/[space]: Toggle selection ` + (this.maxChoices === void 0 ? ` a: Toggle all ` : "") + " enter/return: Complete answer" : ""; } renderOption(t, r, n, i) { let s = (r.selected ? Ts.green(Ho.radioOn) : Ho.radioOff) + " " + i + " ", o, u; return r.disabled ? o = t === n ? Ts.gray().underline(r.title) : Ts.strikethrough().gray(r.title) : (o = t === n ? Ts.cyan().underline( r.title) : r.title, t === n && r.description && (u = ` - ${r.description}`, (s.length + o.length + u.length >= this.out.columns || r.description. split(/\r?\n/).length > 1) && (u = ` ` + Kne(r.description, { margin: s.length, width: this.out.columns })))), s + o + Ts.gray(u || ""); } // shared with autocompleteMultiselect paginateOptions(t) { if (t.length === 0) return Ts.red("No matches for this query."); let r = Wne(this.cursor, t.length, this.optionsPerPage), n = r.startIndex, i = r.endIndex, s, o = []; for (let u = n; u < i; u++) u === n && n > 0 ? s = Ho.arrowUp : u === i - 1 && i < t.length ? s = Ho.arrowDown : s = " ", o.push(this.renderOption(this.cursor, t[u], u, s)); return ` ` + o.join(` `); } // shared with autocomleteMultiselect renderOptions(t) { return this.done ? "" : this.paginateOptions(t); } renderDoneOrInstructions() { if (this.done) return this.value.filter((r) => r.selected).map((r) => r.title).join(", "); let t = [Ts.gray(this.hint), this.renderInstructions()]; return this.value[this.cursor].disabled && t.push(Ts.yellow(this.warn)), t.join(" "); } render() { if (this.closed) return; this.firstRender && this.out.write(Gne.hide), super.render(); let t = [RP.symbol(this.done, this.aborted), Ts.bold(this.msg), RP.delimiter(!1), this.renderDoneOrInstructions()].join(" "); this.showMinError && (t += Ts.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), t += this.renderOptions( this.value), this.out.write(this.clear + t), this.clear = OP(t, this.out.columns); } }; kP.exports = gS; }); // ../node_modules/prompts/dist/elements/autocomplete.js var MP = y((y5e, BP) => { "use strict"; function PP(e, t, r, n, i, s, o) { try { var u = e[s](o), l = u.value; } catch (c) { r(c); return; } u.done ? t(l) : Promise.resolve(l).then(n, i); } a(PP, "asyncGeneratorStep"); function $ne(e) { return function() { var t = this, r = arguments; return new Promise(function(n, i) { var s = e.apply(t, r); function o(l) { PP(s, n, i, o, u, "next", l); } a(o, "_next"); function u(l) { PP(s, n, i, o, u, "throw", l); } a(u, "_throw"), o(void 0); }); }; } a($ne, "_asyncToGenerator"); var eh = Or(), Xne = Js(), LP = kr(), Yne = LP.erase, FP = LP.cursor, th = qa(), vS = th.style, IP = th.clear, bS = th.figures, Qne = th.wrap, Zne = th.entriesToDisplay, NP = /* @__PURE__ */ a((e, t) => e[t] && (e[t].value || e[t].title || e[t]), "getVal"), Jne = /* @__PURE__ */ a( (e, t) => e[t] && (e[t].title || e[t].value || e[t]), "getTitle"), eie = /* @__PURE__ */ a((e, t) => { let r = e.findIndex((n) => n.value === t || n.title === t); return r > -1 ? r : void 0; }, "getIndex"), yS = class extends Xne { static { a(this, "AutocompletePrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.suggest = t.suggest, this.choices = t.choices, this.initial = typeof t.initial == "number" ? t.initial : eie(t.choices, t.initial), this.select = this.initial || t.cursor || 0, this.i18n = { noMatches: t.noMatches || "no matches found" }, this.fallback = t.fallback || this.initial, this.clearFirst = t.clearFirst || !1, this.suggestions = [], this.input = "", this.limit = t.limit || 10, this.cursor = 0, this.transform = vS.render(t.style), this.scale = this.transform.scale, this.render = this.render.bind( this), this.complete = this.complete.bind(this), this.clear = IP("", this.out.columns), this.complete(this.render), this.render(); } set fallback(t) { this._fb = Number.isSafeInteger(parseInt(t)) ? parseInt(t) : t; } get fallback() { let t; return typeof this._fb == "number" ? t = this.choices[this._fb] : typeof this._fb == "string" && (t = { title: this._fb }), t || this._fb || { title: this.i18n.noMatches }; } moveSelect(t) { this.select = t, this.suggestions.length > 0 ? this.value = NP(this.suggestions, t) : this.value = this.fallback.value, this.fire(); } complete(t) { var r = this; return $ne(function* () { let n = r.completing = r.suggest(r.input, r.choices), i = yield n; if (r.completing !== n) return; r.suggestions = i.map((o, u, l) => ({ title: Jne(l, u), value: NP(l, u), description: o.description })), r.completing = !1; let s = Math.max(i.length - 1, 0); r.moveSelect(Math.min(s, r.select)), t && t(); })(); } reset() { this.input = "", this.complete(() => { this.moveSelect(this.initial !== void 0 ? this.initial : 0), this.render(); }), this.render(); } exit() { this.clearFirst && this.input.length > 0 ? this.reset() : (this.done = this.exited = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close()); } abort() { this.done = this.aborted = !0, this.exited = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.done = !0, this.aborted = this.exited = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } _(t, r) { let n = this.input.slice(0, this.cursor), i = this.input.slice(this.cursor); this.input = `${n}${t}${i}`, this.cursor = n.length + 1, this.complete(this.render), this.render(); } delete() { if (this.cursor === 0) return this.bell(); let t = this.input.slice(0, this.cursor - 1), r = this.input.slice(this.cursor); this.input = `${t}${r}`, this.complete(this.render), this.cursor = this.cursor - 1, this.render(); } deleteForward() { if (this.cursor * this.scale >= this.rendered.length) return this.bell(); let t = this.input.slice(0, this.cursor), r = this.input.slice(this.cursor + 1); this.input = `${t}${r}`, this.complete(this.render), this.render(); } first() { this.moveSelect(0), this.render(); } last() { this.moveSelect(this.suggestions.length - 1), this.render(); } up() { this.select === 0 ? this.moveSelect(this.suggestions.length - 1) : this.moveSelect(this.select - 1), this.render(); } down() { this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render(); } next() { this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render(); } nextPage() { this.moveSelect(Math.min(this.select + this.limit, this.suggestions.length - 1)), this.render(); } prevPage() { this.moveSelect(Math.max(this.select - this.limit, 0)), this.render(); } left() { if (this.cursor <= 0) return this.bell(); this.cursor = this.cursor - 1, this.render(); } right() { if (this.cursor * this.scale >= this.rendered.length) return this.bell(); this.cursor = this.cursor + 1, this.render(); } renderOption(t, r, n, i) { let s, o = n ? bS.arrowUp : i ? bS.arrowDown : " ", u = r ? eh.cyan().underline(t.title) : t.title; return o = (r ? eh.cyan(bS.pointer) + " " : " ") + o, t.description && (s = ` - ${t.description}`, (o.length + u.length + s.length >= this.out.columns || t.description.split(/\r?\n/).length > 1) && (s = ` ` + Qne(t.description, { margin: 3, width: this.out.columns }))), o + " " + u + eh.gray(s || ""); } render() { if (this.closed) return; this.firstRender ? this.out.write(FP.hide) : this.out.write(IP(this.outputText, this.out.columns)), super.render(); let t = Zne(this.select, this.choices.length, this.limit), r = t.startIndex, n = t.endIndex; if (this.outputText = [vS.symbol(this.done, this.aborted, this.exited), eh.bold(this.msg), vS.delimiter(this.completing), this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input)].join(" "), !this. done) { let i = this.suggestions.slice(r, n).map((s, o) => this.renderOption(s, this.select === o + r, o === 0 && r > 0, o + r === n - 1 && n < this.choices.length)).join(` `); this.outputText += ` ` + (i || eh.gray(this.fallback.title)); } this.out.write(Yne.line + FP.to(0) + this.outputText); } }; BP.exports = yS; }); // ../node_modules/prompts/dist/elements/autocompleteMultiselect.js var HP = y((E5e, VP) => { "use strict"; var ro = Or(), tie = kr(), rie = tie.cursor, nie = _S(), ES = qa(), qP = ES.clear, UP = ES.style, sc = ES.figures, SS = class extends nie { static { a(this, "AutocompleteMultiselectPrompt"); } constructor(t = {}) { t.overrideRender = !0, super(t), this.inputValue = "", this.clear = qP("", this.out.columns), this.filteredOptions = this.value, this. render(); } last() { this.cursor = this.filteredOptions.length - 1, this.render(); } next() { this.cursor = (this.cursor + 1) % this.filteredOptions.length, this.render(); } up() { this.cursor === 0 ? this.cursor = this.filteredOptions.length - 1 : this.cursor--, this.render(); } down() { this.cursor === this.filteredOptions.length - 1 ? this.cursor = 0 : this.cursor++, this.render(); } left() { this.filteredOptions[this.cursor].selected = !1, this.render(); } right() { if (this.value.filter((t) => t.selected).length >= this.maxChoices) return this.bell(); this.filteredOptions[this.cursor].selected = !0, this.render(); } delete() { this.inputValue.length && (this.inputValue = this.inputValue.substr(0, this.inputValue.length - 1), this.updateFilteredOptions()); } updateFilteredOptions() { let t = this.filteredOptions[this.cursor]; this.filteredOptions = this.value.filter((n) => this.inputValue ? !!(typeof n.title == "string" && n.title.toLowerCase().includes(this. inputValue.toLowerCase()) || typeof n.value == "string" && n.value.toLowerCase().includes(this.inputValue.toLowerCase())) : !0); let r = this.filteredOptions.findIndex((n) => n === t); this.cursor = r < 0 ? 0 : r, this.render(); } handleSpaceToggle() { let t = this.filteredOptions[this.cursor]; if (t.selected) t.selected = !1, this.render(); else { if (t.disabled || this.value.filter((r) => r.selected).length >= this.maxChoices) return this.bell(); t.selected = !0, this.render(); } } handleInputChange(t) { this.inputValue = this.inputValue + t, this.updateFilteredOptions(); } _(t, r) { t === " " ? this.handleSpaceToggle() : this.handleInputChange(t); } renderInstructions() { return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : ` Instructions: ${sc.arrowUp}/${sc.arrowDown}: Highlight option ${sc.arrowLeft}/${sc.arrowRight}/[space]: Toggle selection [a,b,c]/delete: Filter choices enter/return: Complete answer ` : ""; } renderCurrentInput() { return ` Filtered results for: ${this.inputValue ? this.inputValue : ro.gray("Enter something to filter")} `; } renderOption(t, r, n) { let i; return r.disabled ? i = t === n ? ro.gray().underline(r.title) : ro.strikethrough().gray(r.title) : i = t === n ? ro.cyan().underline( r.title) : r.title, (r.selected ? ro.green(sc.radioOn) : sc.radioOff) + " " + i; } renderDoneOrInstructions() { if (this.done) return this.value.filter((r) => r.selected).map((r) => r.title).join(", "); let t = [ro.gray(this.hint), this.renderInstructions(), this.renderCurrentInput()]; return this.filteredOptions.length && this.filteredOptions[this.cursor].disabled && t.push(ro.yellow(this.warn)), t.join(" "); } render() { if (this.closed) return; this.firstRender && this.out.write(rie.hide), super.render(); let t = [UP.symbol(this.done, this.aborted), ro.bold(this.msg), UP.delimiter(!1), this.renderDoneOrInstructions()].join(" "); this.showMinError && (t += ro.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), t += this.renderOptions( this.filteredOptions), this.out.write(this.clear + t), this.clear = qP(t, this.out.columns); } }; VP.exports = SS; }); // ../node_modules/prompts/dist/elements/confirm.js var XP = y((T5e, $P) => { "use strict"; var jP = Or(), iie = Js(), KP = qa(), GP = KP.style, aie = KP.clear, WP = kr(), sie = WP.erase, zP = WP.cursor, AS = class extends iie { static { a(this, "ConfirmPrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.value = t.initial, this.initialValue = !!t.initial, this.yesMsg = t.yes || "yes", this.yesOption = t.yesOption || "(Y/n)", this.noMsg = t.no || "no", this.noOption = t.noOption || "(y/N)", this.render(); } reset() { this.value = this.initialValue, this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.value = this.value || !1, this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } _(t, r) { return t.toLowerCase() === "y" ? (this.value = !0, this.submit()) : t.toLowerCase() === "n" ? (this.value = !1, this.submit()) : this. bell(); } render() { this.closed || (this.firstRender ? this.out.write(zP.hide) : this.out.write(aie(this.outputText, this.out.columns)), super.render(), this. outputText = [GP.symbol(this.done, this.aborted), jP.bold(this.msg), GP.delimiter(this.done), this.done ? this.value ? this.yesMsg : this. noMsg : jP.gray(this.initialValue ? this.yesOption : this.noOption)].join(" "), this.out.write(sie.line + zP.to(0) + this.outputText)); } }; $P.exports = AS; }); // ../node_modules/prompts/dist/elements/index.js var QP = y((x5e, YP) => { "use strict"; YP.exports = { TextPrompt: Lk(), SelectPrompt: Uk(), TogglePrompt: Kk(), DatePrompt: SP(), NumberPrompt: wP(), MultiselectPrompt: _S(), AutocompletePrompt: MP(), AutocompleteMultiselectPrompt: HP(), ConfirmPrompt: XP() }; }); // ../node_modules/prompts/dist/prompts.js var JP = y((ZP) => { "use strict"; var Ii = ZP, oie = QP(), am = /* @__PURE__ */ a((e) => e, "noop"); function Ds(e, t, r = {}) { return new Promise((n, i) => { let s = new oie[e](t), o = r.onAbort || am, u = r.onSubmit || am, l = r.onExit || am; s.on("state", t.onState || am), s.on("submit", (c) => n(u(c))), s.on("exit", (c) => n(l(c))), s.on("abort", (c) => i(o(c))); }); } a(Ds, "toPrompt"); Ii.text = (e) => Ds("TextPrompt", e); Ii.password = (e) => (e.style = "password", Ii.text(e)); Ii.invisible = (e) => (e.style = "invisible", Ii.text(e)); Ii.number = (e) => Ds("NumberPrompt", e); Ii.date = (e) => Ds("DatePrompt", e); Ii.confirm = (e) => Ds("ConfirmPrompt", e); Ii.list = (e) => { let t = e.separator || ","; return Ds("TextPrompt", e, { onSubmit: /* @__PURE__ */ a((r) => r.split(t).map((n) => n.trim()), "onSubmit") }); }; Ii.toggle = (e) => Ds("TogglePrompt", e); Ii.select = (e) => Ds("SelectPrompt", e); Ii.multiselect = (e) => { e.choices = [].concat(e.choices || []); let t = /* @__PURE__ */ a((r) => r.filter((n) => n.selected).map((n) => n.value), "toSelected"); return Ds("MultiselectPrompt", e, { onAbort: t, onSubmit: t }); }; Ii.autocompleteMultiselect = (e) => { e.choices = [].concat(e.choices || []); let t = /* @__PURE__ */ a((r) => r.filter((n) => n.selected).map((n) => n.value), "toSelected"); return Ds("AutocompleteMultiselectPrompt", e, { onAbort: t, onSubmit: t }); }; var uie = /* @__PURE__ */ a((e, t) => Promise.resolve(t.filter((r) => r.title.slice(0, e.length).toLowerCase() === e.toLowerCase())), "byT\ itle"); Ii.autocomplete = (e) => (e.suggest = e.suggest || uie, e.choices = [].concat(e.choices || []), Ds("AutocompletePrompt", e)); }); // ../node_modules/prompts/dist/index.js var oF = y((O5e, sF) => { "use strict"; function eF(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function(i) { return Object.getOwnPropertyDescriptor(e, i).enumerable; })), r.push.apply(r, n); } return r; } a(eF, "ownKeys"); function tF(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t] != null ? arguments[t] : {}; t % 2 ? eF(Object(r), !0).forEach(function(n) { lie(e, n, r[n]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : eF(Object(r)).forEach(function(n) { Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n)); }); } return e; } a(tF, "_objectSpread"); function lie(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e; } a(lie, "_defineProperty"); function cie(e, t) { var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"]; if (!r) { if (Array.isArray(e) || (r = fie(e)) || t && e && typeof e.length == "number") { r && (e = r); var n = 0, i = /* @__PURE__ */ a(function() { }, "F"); return { s: i, n: /* @__PURE__ */ a(function() { return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }; }, "n"), e: /* @__PURE__ */ a(function(c) { throw c; }, "e"), f: i }; } throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); } var s = !0, o = !1, u; return { s: /* @__PURE__ */ a(function() { r = r.call(e); }, "s"), n: /* @__PURE__ */ a(function() { var c = r.next(); return s = c.done, c; }, "n"), e: /* @__PURE__ */ a(function(c) { o = !0, u = c; }, "e"), f: /* @__PURE__ */ a(function() { try { !s && r.return != null && r.return(); } finally { if (o) throw u; } }, "f") }; } a(cie, "_createForOfIteratorHelper"); function fie(e, t) { if (e) { if (typeof e == "string") return rF(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e); if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return rF(e, t); } } a(fie, "_unsupportedIterableToArray"); function rF(e, t) { (t == null || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; } a(rF, "_arrayLikeToArray"); function nF(e, t, r, n, i, s, o) { try { var u = e[s](o), l = u.value; } catch (c) { r(c); return; } u.done ? t(l) : Promise.resolve(l).then(n, i); } a(nF, "asyncGeneratorStep"); function iF(e) { return function() { var t = this, r = arguments; return new Promise(function(n, i) { var s = e.apply(t, r); function o(l) { nF(s, n, i, o, u, "next", l); } a(o, "_next"); function u(l) { nF(s, n, i, o, u, "throw", l); } a(u, "_throw"), o(void 0); }); }; } a(iF, "_asyncToGenerator"); var TS = JP(), hie = ["suggest", "format", "onState", "validate", "onRender", "type"], aF = /* @__PURE__ */ a(() => { }, "noop"); function jo() { return DS.apply(this, arguments); } a(jo, "prompt"); function DS() { return DS = iF(function* (e = [], { onSubmit: t = aF, onCancel: r = aF } = {}) { let n = {}, i = jo._override || {}; e = [].concat(e); let s, o, u, l, c, f, d = /* @__PURE__ */ function() { var p = iF(function* (h, S, D = !1) { if (!(!D && h.validate && h.validate(S) !== !0)) return h.format ? yield h.format(S, n) : S; }); return /* @__PURE__ */ a(function(S, D) { return p.apply(this, arguments); }, "getFormattedAnswer"); }(); var g = cie(e), b; try { for (g.s(); !(b = g.n()).done; ) { o = b.value; var _ = o; if (l = _.name, c = _.type, typeof c == "function" && (c = yield c(s, tF({}, n), o), o.type = c), !!c) { for (let p in o) { if (hie.includes(p)) continue; let h = o[p]; o[p] = typeof h == "function" ? yield h(s, tF({}, n), f) : h; } if (f = o, typeof o.message != "string") throw new Error("prompt message is required"); var T = o; if (l = T.name, c = T.type, TS[c] === void 0) throw new Error(`prompt type (${c}) is not defined`); if (i[o.name] !== void 0 && (s = yield d(o, i[o.name]), s !== void 0)) { n[l] = s; continue; } try { s = jo._injected ? pie(jo._injected, o.initial) : yield TS[c](o), n[l] = s = yield d(o, s, !0), u = yield t(o, s, n); } catch { u = !(yield r(o, n)); } if (u) return n; } } } catch (p) { g.e(p); } finally { g.f(); } return n; }), DS.apply(this, arguments); } a(DS, "_prompt"); function pie(e, t) { let r = e.shift(); if (r instanceof Error) throw r; return r === void 0 ? t : r; } a(pie, "getInjectedAnswer"); function die(e) { jo._injected = (jo._injected || []).concat(e); } a(die, "inject"); function mie(e) { jo._override = Object.assign({}, e); } a(mie, "override"); sF.exports = Object.assign(jo, { prompt: jo, prompts: TS, inject: die, override: mie }); }); // ../node_modules/prompts/lib/util/action.js var lF = y((k5e, uF) => { "use strict"; uF.exports = (e, t) => { if (!(e.meta && e.name !== "escape")) { if (e.ctrl) { if (e.name === "a") return "first"; if (e.name === "c" || e.name === "d") return "abort"; if (e.name === "e") return "last"; if (e.name === "g") return "reset"; } if (t) { if (e.name === "j") return "down"; if (e.name === "k") return "up"; } return e.name === "return" || e.name === "enter" ? "submit" : e.name === "backspace" ? "delete" : e.name === "delete" ? "deleteForward" : e.name === "abort" ? "abort" : e.name === "escape" ? "exit" : e.name === "tab" ? "next" : e.name === "pagedown" ? "nextPage" : e.name === "pageup" ? "prevPage" : e.name === "home" ? "home" : e.name === "end" ? "end" : e.name === "up" ? "up" : e.name === "down" ? "down" : e. name === "right" ? "right" : e.name === "left" ? "left" : !1; } }; }); // ../node_modules/prompts/lib/util/strip.js var sm = y((P5e, cF) => { "use strict"; cF.exports = (e) => { let t = [ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))" ].join("|"), r = new RegExp(t, "g"); return typeof e == "string" ? e.replace(r, "") : e; }; }); // ../node_modules/prompts/lib/util/clear.js var pF = y((F5e, hF) => { "use strict"; var gie = sm(), { erase: fF, cursor: _ie } = kr(), vie = /* @__PURE__ */ a((e) => [...gie(e)].length, "width"); hF.exports = function(e, t) { if (!t) return fF.line + _ie.to(0); let r = 0, n = e.split(/\r?\n/); for (let i of n) r += 1 + Math.floor(Math.max(vie(i) - 1, 0) / t); return fF.lines(r); }; }); // ../node_modules/prompts/lib/util/figures.js var xS = y((N5e, dF) => { "use strict"; var rh = { arrowUp: "\u2191", arrowDown: "\u2193", arrowLeft: "\u2190", arrowRight: "\u2192", radioOn: "\u25C9", radioOff: "\u25EF", tick: "\u2714", cross: "\u2716", ellipsis: "\u2026", pointerSmall: "\u203A", line: "\u2500", pointer: "\u276F" }, bie = { arrowUp: rh.arrowUp, arrowDown: rh.arrowDown, arrowLeft: rh.arrowLeft, arrowRight: rh.arrowRight, radioOn: "(*)", radioOff: "( )", tick: "\u221A", cross: "\xD7", ellipsis: "...", pointerSmall: "\xBB", line: "\u2500", pointer: ">" }, yie = process.platform === "win32" ? bie : rh; dF.exports = yie; }); // ../node_modules/prompts/lib/util/style.js var gF = y((L5e, mF) => { "use strict"; var oc = Or(), Nu = xS(), CS = Object.freeze({ password: { scale: 1, render: /* @__PURE__ */ a((e) => "*".repeat(e.length), "render") }, emoji: { scale: 2, render: /* @__PURE__ */ a((e) => "\u{1F603}".repeat(e.length), "render") }, invisible: { scale: 0, render: /* @__PURE__ */ a((e) => "", "render") }, default: { scale: 1, render: /* @__PURE__ */ a((e) => `${e}`, "render") } }), Sie = /* @__PURE__ */ a((e) => CS[e] || CS.default, "render"), nh = Object.freeze({ aborted: oc.red(Nu.cross), done: oc.green(Nu.tick), exited: oc.yellow(Nu.cross), default: oc.cyan("?") }), Eie = /* @__PURE__ */ a((e, t, r) => t ? nh.aborted : r ? nh.exited : e ? nh.done : nh.default, "symbol"), Aie = /* @__PURE__ */ a((e) => oc. gray(e ? Nu.ellipsis : Nu.pointerSmall), "delimiter"), Tie = /* @__PURE__ */ a((e, t) => oc.gray(e ? t ? Nu.pointerSmall : "+" : Nu.line), "item"); mF.exports = { styles: CS, render: Sie, symbols: nh, symbol: Eie, delimiter: Aie, item: Tie }; }); // ../node_modules/prompts/lib/util/lines.js var vF = y((M5e, _F) => { "use strict"; var Die = sm(); _F.exports = function(e, t) { let r = String(Die(e) || "").split(/\r?\n/); return t ? r.map((n) => Math.ceil(n.length / t)).reduce((n, i) => n + i) : r.length; }; }); // ../node_modules/prompts/lib/util/wrap.js var yF = y((q5e, bF) => { "use strict"; bF.exports = (e, t = {}) => { let r = Number.isSafeInteger(parseInt(t.margin)) ? new Array(parseInt(t.margin)).fill(" ").join("") : t.margin || "", n = t.width; return (e || "").split(/\r?\n/g).map((i) => i.split(/\s+/g).reduce((s, o) => (o.length + r.length >= n || s[s.length - 1].length + o.length + 1 < n ? s[s.length - 1] += ` ${o}` : s.push(`${r}${o}`), s), [r]).join(` `)).join(` `); }; }); // ../node_modules/prompts/lib/util/entriesToDisplay.js var EF = y((U5e, SF) => { "use strict"; SF.exports = (e, t, r) => { r = r || t; let n = Math.min(t - r, e - Math.floor(r / 2)); n < 0 && (n = 0); let i = Math.min(n + r, t); return { startIndex: n, endIndex: i }; }; }); // ../node_modules/prompts/lib/util/index.js var Ua = y((V5e, AF) => { "use strict"; AF.exports = { action: lF(), clear: pF(), style: gF(), strip: sm(), figures: xS(), lines: vF(), wrap: yF(), entriesToDisplay: EF() }; }); // ../node_modules/prompts/lib/elements/prompt.js var no = y((H5e, DF) => { "use strict"; var TF = require("readline"), { action: xie } = Ua(), Cie = require("events"), { beep: wie, cursor: Oie } = kr(), Rie = Or(), wS = class extends Cie { static { a(this, "Prompt"); } constructor(t = {}) { super(), this.firstRender = !0, this.in = t.stdin || process.stdin, this.out = t.stdout || process.stdout, this.onRender = (t.onRender || (() => { })).bind(this); let r = TF.createInterface({ input: this.in, escapeCodeTimeout: 50 }); TF.emitKeypressEvents(this.in, r), this.in.isTTY && this.in.setRawMode(!0); let n = ["SelectPrompt", "MultiselectPrompt"].indexOf(this.constructor.name) > -1, i = /* @__PURE__ */ a((s, o) => { let u = xie(o, n); u === !1 ? this._ && this._(s, o) : typeof this[u] == "function" ? this[u](o) : this.bell(); }, "keypress"); this.close = () => { this.out.write(Oie.show), this.in.removeListener("keypress", i), this.in.isTTY && this.in.setRawMode(!1), r.close(), this.emit(this. aborted ? "abort" : this.exited ? "exit" : "submit", this.value), this.closed = !0; }, this.in.on("keypress", i); } fire() { this.emit("state", { value: this.value, aborted: !!this.aborted, exited: !!this.exited }); } bell() { this.out.write(wie); } render() { this.onRender(Rie), this.firstRender && (this.firstRender = !1); } }; DF.exports = wS; }); // ../node_modules/prompts/lib/elements/text.js var CF = y((G5e, xF) => { var om = Or(), kie = no(), { erase: Pie, cursor: ih } = kr(), { style: OS, clear: RS, lines: Fie, figures: Iie } = Ua(), kS = class extends kie { static { a(this, "TextPrompt"); } constructor(t = {}) { super(t), this.transform = OS.render(t.style), this.scale = this.transform.scale, this.msg = t.message, this.initial = t.initial || "", this.validator = t.validate || (() => !0), this.value = "", this.errorMsg = t.error || "Please Enter A Valid Value", this.cursor = +!!this. initial, this.cursorOffset = 0, this.clear = RS("", this.out.columns), this.render(); } set value(t) { !t && this.initial ? (this.placeholder = !0, this.rendered = om.gray(this.transform.render(this.initial))) : (this.placeholder = !1, this. rendered = this.transform.render(t)), this._value = t, this.fire(); } get value() { return this._value; } reset() { this.value = "", this.cursor = +!!this.initial, this.cursorOffset = 0, this.fire(), this.render(); } exit() { this.abort(); } abort() { this.value = this.value || this.initial, this.done = this.aborted = !0, this.error = !1, this.red = !1, this.fire(), this.render(), this. out.write(` `), this.close(); } async validate() { let t = await this.validator(this.value); typeof t == "string" && (this.errorMsg = t, t = !1), this.error = !t; } async submit() { if (this.value = this.value || this.initial, this.cursorOffset = 0, this.cursor = this.rendered.length, await this.validate(), this.error) { this.red = !0, this.fire(), this.render(); return; } this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } next() { if (!this.placeholder) return this.bell(); this.value = this.initial, this.cursor = this.rendered.length, this.fire(), this.render(); } moveCursor(t) { this.placeholder || (this.cursor = this.cursor + t, this.cursorOffset += t); } _(t, r) { let n = this.value.slice(0, this.cursor), i = this.value.slice(this.cursor); this.value = `${n}${t}${i}`, this.red = !1, this.cursor = this.placeholder ? 0 : n.length + 1, this.render(); } delete() { if (this.isCursorAtStart()) return this.bell(); let t = this.value.slice(0, this.cursor - 1), r = this.value.slice(this.cursor); this.value = `${t}${r}`, this.red = !1, this.isCursorAtStart() ? this.cursorOffset = 0 : (this.cursorOffset++, this.moveCursor(-1)), this. render(); } deleteForward() { if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell(); let t = this.value.slice(0, this.cursor), r = this.value.slice(this.cursor + 1); this.value = `${t}${r}`, this.red = !1, this.isCursorAtEnd() ? this.cursorOffset = 0 : this.cursorOffset++, this.render(); } first() { this.cursor = 0, this.render(); } last() { this.cursor = this.value.length, this.render(); } left() { if (this.cursor <= 0 || this.placeholder) return this.bell(); this.moveCursor(-1), this.render(); } right() { if (this.cursor * this.scale >= this.rendered.length || this.placeholder) return this.bell(); this.moveCursor(1), this.render(); } isCursorAtStart() { return this.cursor === 0 || this.placeholder && this.cursor === 1; } isCursorAtEnd() { return this.cursor === this.rendered.length || this.placeholder && this.cursor === this.rendered.length + 1; } render() { this.closed || (this.firstRender || (this.outputError && this.out.write(ih.down(Fie(this.outputError, this.out.columns) - 1) + RS(this. outputError, this.out.columns)), this.out.write(RS(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [ OS.symbol(this.done, this.aborted), om.bold(this.msg), OS.delimiter(this.done), this.red ? om.red(this.rendered) : this.rendered ].join(" "), this.error && (this.outputError += this.errorMsg.split(` `).reduce((t, r, n) => t + ` ${n ? " " : Iie.pointerSmall} ${om.red().italic(r)}`, "")), this.out.write(Pie.line + ih.to(0) + this.outputText + ih.save + this.outputError + ih.restore + ih.move(this.cursorOffset, 0))); } }; xF.exports = kS; }); // ../node_modules/prompts/lib/elements/select.js var kF = y((K5e, RF) => { "use strict"; var io = Or(), Nie = no(), { style: wF, clear: OF, figures: um, wrap: Lie, entriesToDisplay: Bie } = Ua(), { cursor: Mie } = kr(), PS = class extends Nie { static { a(this, "SelectPrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.hint = t.hint || "- Use arrow-keys. Return to submit.", this.warn = t.warn || "- This option is d\ isabled", this.cursor = t.initial || 0, this.choices = t.choices.map((r, n) => (typeof r == "string" && (r = { title: r, value: n }), { title: r && (r.title || r.value || r), value: r && (r.value === void 0 ? n : r.value), description: r && r.description, selected: r && r.selected, disabled: r && r.disabled })), this.optionsPerPage = t.optionsPerPage || 10, this.value = (this.choices[this.cursor] || {}).value, this.clear = OF("", this.out. columns), this.render(); } moveCursor(t) { this.cursor = t, this.value = this.choices[t].value, this.fire(); } reset() { this.moveCursor(0), this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.selection.disabled ? this.bell() : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close()); } first() { this.moveCursor(0), this.render(); } last() { this.moveCursor(this.choices.length - 1), this.render(); } up() { this.cursor === 0 ? this.moveCursor(this.choices.length - 1) : this.moveCursor(this.cursor - 1), this.render(); } down() { this.cursor === this.choices.length - 1 ? this.moveCursor(0) : this.moveCursor(this.cursor + 1), this.render(); } next() { this.moveCursor((this.cursor + 1) % this.choices.length), this.render(); } _(t, r) { if (t === " ") return this.submit(); } get selection() { return this.choices[this.cursor]; } render() { if (this.closed) return; this.firstRender ? this.out.write(Mie.hide) : this.out.write(OF(this.outputText, this.out.columns)), super.render(); let { startIndex: t, endIndex: r } = Bie(this.cursor, this.choices.length, this.optionsPerPage); if (this.outputText = [ wF.symbol(this.done, this.aborted), io.bold(this.msg), wF.delimiter(!1), this.done ? this.selection.title : this.selection.disabled ? io.yellow(this.warn) : io.gray(this.hint) ].join(" "), !this.done) { this.outputText += ` `; for (let n = t; n < r; n++) { let i, s, o = "", u = this.choices[n]; n === t && t > 0 ? s = um.arrowUp : n === r - 1 && r < this.choices.length ? s = um.arrowDown : s = " ", u.disabled ? (i = this.cursor === n ? io.gray().underline(u.title) : io.strikethrough().gray(u.title), s = (this.cursor === n ? io.bold().gray(um.pointer) + " " : "\ ") + s) : (i = this.cursor === n ? io.cyan().underline(u.title) : u.title, s = (this.cursor === n ? io.cyan(um.pointer) + " " : " ") + s, u.description && this.cursor === n && (o = ` - ${u.description}`, (s.length + i.length + o.length >= this.out.columns || u.description. split(/\r?\n/).length > 1) && (o = ` ` + Lie(u.description, { margin: 3, width: this.out.columns })))), this.outputText += `${s} ${i}${io.gray(o)} `; } } this.out.write(this.outputText); } }; RF.exports = PS; }); // ../node_modules/prompts/lib/elements/toggle.js var NF = y(($5e, IF) => { var lm = Or(), qie = no(), { style: PF, clear: Uie } = Ua(), { cursor: FF, erase: Vie } = kr(), FS = class extends qie { static { a(this, "TogglePrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.value = !!t.initial, this.active = t.active || "on", this.inactive = t.inactive || "off", this.initialValue = this.value, this.render(); } reset() { this.value = this.initialValue, this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } deactivate() { if (this.value === !1) return this.bell(); this.value = !1, this.render(); } activate() { if (this.value === !0) return this.bell(); this.value = !0, this.render(); } delete() { this.deactivate(); } left() { this.deactivate(); } right() { this.activate(); } down() { this.deactivate(); } up() { this.activate(); } next() { this.value = !this.value, this.fire(), this.render(); } _(t, r) { if (t === " ") this.value = !this.value; else if (t === "1") this.value = !0; else if (t === "0") this.value = !1; else return this.bell(); this.render(); } render() { this.closed || (this.firstRender ? this.out.write(FF.hide) : this.out.write(Uie(this.outputText, this.out.columns)), super.render(), this. outputText = [ PF.symbol(this.done, this.aborted), lm.bold(this.msg), PF.delimiter(this.done), this.value ? this.inactive : lm.cyan().underline(this.inactive), lm.gray("/"), this.value ? lm.cyan().underline(this.active) : this.active ].join(" "), this.out.write(Vie.line + FF.to(0) + this.outputText)); } }; IF.exports = FS; }); // ../node_modules/prompts/lib/dateparts/datepart.js var xs = y((Y5e, LF) => { "use strict"; var IS = class e { static { a(this, "DatePart"); } constructor({ token: t, date: r, parts: n, locales: i }) { this.token = t, this.date = r || /* @__PURE__ */ new Date(), this.parts = n || [this], this.locales = i || {}; } up() { } down() { } next() { let t = this.parts.indexOf(this); return this.parts.find((r, n) => n > t && r instanceof e); } setTo(t) { } prev() { let t = [].concat(this.parts).reverse(), r = t.indexOf(this); return t.find((n, i) => i > r && n instanceof e); } toString() { return String(this.date); } }; LF.exports = IS; }); // ../node_modules/prompts/lib/dateparts/meridiem.js var MF = y((Z5e, BF) => { "use strict"; var Hie = xs(), NS = class extends Hie { static { a(this, "Meridiem"); } constructor(t = {}) { super(t); } up() { this.date.setHours((this.date.getHours() + 12) % 24); } down() { this.up(); } toString() { let t = this.date.getHours() > 12 ? "pm" : "am"; return /\A/.test(this.token) ? t.toUpperCase() : t; } }; BF.exports = NS; }); // ../node_modules/prompts/lib/dateparts/day.js var UF = y((e9e, qF) => { "use strict"; var jie = xs(), Gie = /* @__PURE__ */ a((e) => (e = e % 10, e === 1 ? "st" : e === 2 ? "nd" : e === 3 ? "rd" : "th"), "pos"), LS = class extends jie { static { a(this, "Day"); } constructor(t = {}) { super(t); } up() { this.date.setDate(this.date.getDate() + 1); } down() { this.date.setDate(this.date.getDate() - 1); } setTo(t) { this.date.setDate(parseInt(t.substr(-2))); } toString() { let t = this.date.getDate(), r = this.date.getDay(); return this.token === "DD" ? String(t).padStart(2, "0") : this.token === "Do" ? t + Gie(t) : this.token === "d" ? r + 1 : this.token === "ddd" ? this.locales.weekdaysShort[r] : this.token === "dddd" ? this.locales.weekdays[r] : t; } }; qF.exports = LS; }); // ../node_modules/prompts/lib/dateparts/hours.js var HF = y((r9e, VF) => { "use strict"; var zie = xs(), BS = class extends zie { static { a(this, "Hours"); } constructor(t = {}) { super(t); } up() { this.date.setHours(this.date.getHours() + 1); } down() { this.date.setHours(this.date.getHours() - 1); } setTo(t) { this.date.setHours(parseInt(t.substr(-2))); } toString() { let t = this.date.getHours(); return /h/.test(this.token) && (t = t % 12 || 12), this.token.length > 1 ? String(t).padStart(2, "0") : t; } }; VF.exports = BS; }); // ../node_modules/prompts/lib/dateparts/milliseconds.js var GF = y((i9e, jF) => { "use strict"; var Kie = xs(), MS = class extends Kie { static { a(this, "Milliseconds"); } constructor(t = {}) { super(t); } up() { this.date.setMilliseconds(this.date.getMilliseconds() + 1); } down() { this.date.setMilliseconds(this.date.getMilliseconds() - 1); } setTo(t) { this.date.setMilliseconds(parseInt(t.substr(-this.token.length))); } toString() { return String(this.date.getMilliseconds()).padStart(4, "0").substr(0, this.token.length); } }; jF.exports = MS; }); // ../node_modules/prompts/lib/dateparts/minutes.js var KF = y((s9e, zF) => { "use strict"; var Wie = xs(), qS = class extends Wie { static { a(this, "Minutes"); } constructor(t = {}) { super(t); } up() { this.date.setMinutes(this.date.getMinutes() + 1); } down() { this.date.setMinutes(this.date.getMinutes() - 1); } setTo(t) { this.date.setMinutes(parseInt(t.substr(-2))); } toString() { let t = this.date.getMinutes(); return this.token.length > 1 ? String(t).padStart(2, "0") : t; } }; zF.exports = qS; }); // ../node_modules/prompts/lib/dateparts/month.js var $F = y((u9e, WF) => { "use strict"; var $ie = xs(), US = class extends $ie { static { a(this, "Month"); } constructor(t = {}) { super(t); } up() { this.date.setMonth(this.date.getMonth() + 1); } down() { this.date.setMonth(this.date.getMonth() - 1); } setTo(t) { t = parseInt(t.substr(-2)) - 1, this.date.setMonth(t < 0 ? 0 : t); } toString() { let t = this.date.getMonth(), r = this.token.length; return r === 2 ? String(t + 1).padStart(2, "0") : r === 3 ? this.locales.monthsShort[t] : r === 4 ? this.locales.months[t] : String(t + 1); } }; WF.exports = US; }); // ../node_modules/prompts/lib/dateparts/seconds.js var YF = y((c9e, XF) => { "use strict"; var Xie = xs(), VS = class extends Xie { static { a(this, "Seconds"); } constructor(t = {}) { super(t); } up() { this.date.setSeconds(this.date.getSeconds() + 1); } down() { this.date.setSeconds(this.date.getSeconds() - 1); } setTo(t) { this.date.setSeconds(parseInt(t.substr(-2))); } toString() { let t = this.date.getSeconds(); return this.token.length > 1 ? String(t).padStart(2, "0") : t; } }; XF.exports = VS; }); // ../node_modules/prompts/lib/dateparts/year.js var ZF = y((h9e, QF) => { "use strict"; var Yie = xs(), HS = class extends Yie { static { a(this, "Year"); } constructor(t = {}) { super(t); } up() { this.date.setFullYear(this.date.getFullYear() + 1); } down() { this.date.setFullYear(this.date.getFullYear() - 1); } setTo(t) { this.date.setFullYear(t.substr(-4)); } toString() { let t = String(this.date.getFullYear()).padStart(4, "0"); return this.token.length === 2 ? t.substr(-2) : t; } }; QF.exports = HS; }); // ../node_modules/prompts/lib/dateparts/index.js var eI = y((d9e, JF) => { "use strict"; JF.exports = { DatePart: xs(), Meridiem: MF(), Day: UF(), Hours: HF(), Milliseconds: GF(), Minutes: KF(), Month: $F(), Seconds: YF(), Year: ZF() }; }); // ../node_modules/prompts/lib/elements/date.js var oI = y((m9e, sI) => { "use strict"; var jS = Or(), Qie = no(), { style: tI, clear: rI, figures: Zie } = Ua(), { erase: Jie, cursor: nI } = kr(), { DatePart: iI, Meridiem: eae, Day: tae, Hours: rae, Milliseconds: nae, Minutes: iae, Month: aae, Seconds: sae, Year: oae } = eI(), uae = /\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g, aI = { 1: ({ token: e }) => e.replace(/\\(.)/g, "$1"), 2: (e) => new tae(e), // Day // TODO 3: (e) => new aae(e), // Month 4: (e) => new oae(e), // Year 5: (e) => new eae(e), // AM/PM // TODO (special) 6: (e) => new rae(e), // Hours 7: (e) => new iae(e), // Minutes 8: (e) => new sae(e), // Seconds 9: (e) => new nae(e) // Fractional seconds }, lae = { months: "January,February,March,April,May,June,July,August,September,October,November,December".split(","), monthsShort: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","), weekdays: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","), weekdaysShort: "Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",") }, GS = class extends Qie { static { a(this, "DatePrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.cursor = 0, this.typed = "", this.locales = Object.assign(lae, t.locales), this._date = t.initial || /* @__PURE__ */ new Date(), this.errorMsg = t.error || "Please Enter A Valid Value", this.validator = t.validate || (() => !0), this.mask = t.mask || "YYYY-MM-DD HH:mm:ss", this.clear = rI("", this.out.columns), this.render(); } get value() { return this.date; } get date() { return this._date; } set date(t) { t && this._date.setTime(t.getTime()); } set mask(t) { let r; for (this.parts = []; r = uae.exec(t); ) { let i = r.shift(), s = r.findIndex((o) => o != null); this.parts.push(s in aI ? aI[s]({ token: r[s] || i, date: this.date, parts: this.parts, locales: this.locales }) : r[s] || i); } let n = this.parts.reduce((i, s) => (typeof s == "string" && typeof i[i.length - 1] == "string" ? i[i.length - 1] += s : i.push(s), i), []); this.parts.splice(0), this.parts.push(...n), this.reset(); } moveCursor(t) { this.typed = "", this.cursor = t, this.fire(); } reset() { this.moveCursor(this.parts.findIndex((t) => t instanceof iI)), this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } async validate() { let t = await this.validator(this.value); typeof t == "string" && (this.errorMsg = t, t = !1), this.error = !t; } async submit() { if (await this.validate(), this.error) { this.color = "red", this.fire(), this.render(); return; } this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } up() { this.typed = "", this.parts[this.cursor].up(), this.render(); } down() { this.typed = "", this.parts[this.cursor].down(), this.render(); } left() { let t = this.parts[this.cursor].prev(); if (t == null) return this.bell(); this.moveCursor(this.parts.indexOf(t)), this.render(); } right() { let t = this.parts[this.cursor].next(); if (t == null) return this.bell(); this.moveCursor(this.parts.indexOf(t)), this.render(); } next() { let t = this.parts[this.cursor].next(); this.moveCursor(t ? this.parts.indexOf(t) : this.parts.findIndex((r) => r instanceof iI)), this.render(); } _(t) { /\d/.test(t) && (this.typed += t, this.parts[this.cursor].setTo(this.typed), this.render()); } render() { this.closed || (this.firstRender ? this.out.write(nI.hide) : this.out.write(rI(this.outputText, this.out.columns)), super.render(), this. outputText = [ tI.symbol(this.done, this.aborted), jS.bold(this.msg), tI.delimiter(!1), this.parts.reduce((t, r, n) => t.concat(n === this.cursor && !this.done ? jS.cyan().underline(r.toString()) : r), []).join("") ].join(" "), this.error && (this.outputText += this.errorMsg.split(` `).reduce( (t, r, n) => t + ` ${n ? " " : Zie.pointerSmall} ${jS.red().italic(r)}`, "" )), this.out.write(Jie.line + nI.to(0) + this.outputText)); } }; sI.exports = GS; }); // ../node_modules/prompts/lib/elements/number.js var fI = y((_9e, cI) => { var cm = Or(), cae = no(), { cursor: fm, erase: fae } = kr(), { style: zS, figures: hae, clear: uI, lines: pae } = Ua(), dae = /[0-9]/, KS = /* @__PURE__ */ a( (e) => e !== void 0, "isDef"), lI = /* @__PURE__ */ a((e, t) => { let r = Math.pow(10, t); return Math.round(e * r) / r; }, "round"), WS = class extends cae { static { a(this, "NumberPrompt"); } constructor(t = {}) { super(t), this.transform = zS.render(t.style), this.msg = t.message, this.initial = KS(t.initial) ? t.initial : "", this.float = !!t.float, this.round = t.round || 2, this.inc = t.increment || 1, this.min = KS(t.min) ? t.min : -1 / 0, this.max = KS(t.max) ? t.max : 1 / 0, this. errorMsg = t.error || "Please Enter A Valid Value", this.validator = t.validate || (() => !0), this.color = "cyan", this.value = "", this. typed = "", this.lastHit = 0, this.render(); } set value(t) { !t && t !== 0 ? (this.placeholder = !0, this.rendered = cm.gray(this.transform.render(`${this.initial}`)), this._value = "") : (this.placeholder = !1, this.rendered = this.transform.render(`${lI(t, this.round)}`), this._value = lI(t, this.round)), this.fire(); } get value() { return this._value; } parse(t) { return this.float ? parseFloat(t) : parseInt(t); } valid(t) { return t === "-" || t === "." && this.float || dae.test(t); } reset() { this.typed = "", this.value = "", this.fire(), this.render(); } exit() { this.abort(); } abort() { let t = this.value; this.value = t !== "" ? t : this.initial, this.done = this.aborted = !0, this.error = !1, this.fire(), this.render(), this.out.write(`\ `), this.close(); } async validate() { let t = await this.validator(this.value); typeof t == "string" && (this.errorMsg = t, t = !1), this.error = !t; } async submit() { if (await this.validate(), this.error) { this.color = "red", this.fire(), this.render(); return; } let t = this.value; this.value = t !== "" ? t : this.initial, this.done = !0, this.aborted = !1, this.error = !1, this.fire(), this.render(), this.out.write( ` `), this.close(); } up() { if (this.typed = "", this.value === "" && (this.value = this.min - this.inc), this.value >= this.max) return this.bell(); this.value += this.inc, this.color = "cyan", this.fire(), this.render(); } down() { if (this.typed = "", this.value === "" && (this.value = this.min + this.inc), this.value <= this.min) return this.bell(); this.value -= this.inc, this.color = "cyan", this.fire(), this.render(); } delete() { let t = this.value.toString(); if (t.length === 0) return this.bell(); this.value = this.parse(t = t.slice(0, -1)) || "", this.value !== "" && this.value < this.min && (this.value = this.min), this.color = "cyan", this.fire(), this.render(); } next() { this.value = this.initial, this.fire(), this.render(); } _(t, r) { if (!this.valid(t)) return this.bell(); let n = Date.now(); if (n - this.lastHit > 1e3 && (this.typed = ""), this.typed += t, this.lastHit = n, this.color = "cyan", t === ".") return this.fire(); this.value = Math.min(this.parse(this.typed), this.max), this.value > this.max && (this.value = this.max), this.value < this.min && (this. value = this.min), this.fire(), this.render(); } render() { this.closed || (this.firstRender || (this.outputError && this.out.write(fm.down(pae(this.outputError, this.out.columns) - 1) + uI(this. outputError, this.out.columns)), this.out.write(uI(this.outputText, this.out.columns))), super.render(), this.outputError = "", this.outputText = [ zS.symbol(this.done, this.aborted), cm.bold(this.msg), zS.delimiter(this.done), !this.done || !this.done && !this.placeholder ? cm[this.color]().underline(this.rendered) : this.rendered ].join(" "), this.error && (this.outputError += this.errorMsg.split(` `).reduce((t, r, n) => t + ` ${n ? " " : hae.pointerSmall} ${cm.red().italic(r)}`, "")), this.out.write(fae.line + fm.to(0) + this.outputText + fm.save + this.outputError + fm.restore)); } }; cI.exports = WS; }); // ../node_modules/prompts/lib/elements/multiselect.js var XS = y((b9e, dI) => { "use strict"; var Cs = Or(), { cursor: mae } = kr(), gae = no(), { clear: hI, figures: Go, style: pI, wrap: _ae, entriesToDisplay: vae } = Ua(), $S = class extends gae { static { a(this, "MultiselectPrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.cursor = t.cursor || 0, this.scrollIndex = t.cursor || 0, this.hint = t.hint || "", this.warn = t. warn || "- This option is disabled -", this.minSelected = t.min, this.showMinError = !1, this.maxChoices = t.max, this.instructions = t. instructions, this.optionsPerPage = t.optionsPerPage || 10, this.value = t.choices.map((r, n) => (typeof r == "string" && (r = { title: r, value: n }), { title: r && (r.title || r.value || r), description: r && r.description, value: r && (r.value === void 0 ? n : r.value), selected: r && r.selected, disabled: r && r.disabled })), this.clear = hI("", this.out.columns), t.overrideRender || this.render(); } reset() { this.value.map((t) => !t.selected), this.cursor = 0, this.fire(), this.render(); } selected() { return this.value.filter((t) => t.selected); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { let t = this.value.filter((r) => r.selected); this.minSelected && t.length < this.minSelected ? (this.showMinError = !0, this.render()) : (this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close()); } first() { this.cursor = 0, this.render(); } last() { this.cursor = this.value.length - 1, this.render(); } next() { this.cursor = (this.cursor + 1) % this.value.length, this.render(); } up() { this.cursor === 0 ? this.cursor = this.value.length - 1 : this.cursor--, this.render(); } down() { this.cursor === this.value.length - 1 ? this.cursor = 0 : this.cursor++, this.render(); } left() { this.value[this.cursor].selected = !1, this.render(); } right() { if (this.value.filter((t) => t.selected).length >= this.maxChoices) return this.bell(); this.value[this.cursor].selected = !0, this.render(); } handleSpaceToggle() { let t = this.value[this.cursor]; if (t.selected) t.selected = !1, this.render(); else { if (t.disabled || this.value.filter((r) => r.selected).length >= this.maxChoices) return this.bell(); t.selected = !0, this.render(); } } toggleAll() { if (this.maxChoices !== void 0 || this.value[this.cursor].disabled) return this.bell(); let t = !this.value[this.cursor].selected; this.value.filter((r) => !r.disabled).forEach((r) => r.selected = t), this.render(); } _(t, r) { if (t === " ") this.handleSpaceToggle(); else if (t === "a") this.toggleAll(); else return this.bell(); } renderInstructions() { return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : ` Instructions: ${Go.arrowUp}/${Go.arrowDown}: Highlight option ${Go.arrowLeft}/${Go.arrowRight}/[space]: Toggle selection ` + (this.maxChoices === void 0 ? ` a: Toggle all ` : "") + " enter/return: Complete answer" : ""; } renderOption(t, r, n, i) { let s = (r.selected ? Cs.green(Go.radioOn) : Go.radioOff) + " " + i + " ", o, u; return r.disabled ? o = t === n ? Cs.gray().underline(r.title) : Cs.strikethrough().gray(r.title) : (o = t === n ? Cs.cyan().underline( r.title) : r.title, t === n && r.description && (u = ` - ${r.description}`, (s.length + o.length + u.length >= this.out.columns || r.description. split(/\r?\n/).length > 1) && (u = ` ` + _ae(r.description, { margin: s.length, width: this.out.columns })))), s + o + Cs.gray(u || ""); } // shared with autocompleteMultiselect paginateOptions(t) { if (t.length === 0) return Cs.red("No matches for this query."); let { startIndex: r, endIndex: n } = vae(this.cursor, t.length, this.optionsPerPage), i, s = []; for (let o = r; o < n; o++) o === r && r > 0 ? i = Go.arrowUp : o === n - 1 && n < t.length ? i = Go.arrowDown : i = " ", s.push(this.renderOption(this.cursor, t[o], o, i)); return ` ` + s.join(` `); } // shared with autocomleteMultiselect renderOptions(t) { return this.done ? "" : this.paginateOptions(t); } renderDoneOrInstructions() { if (this.done) return this.value.filter((r) => r.selected).map((r) => r.title).join(", "); let t = [Cs.gray(this.hint), this.renderInstructions()]; return this.value[this.cursor].disabled && t.push(Cs.yellow(this.warn)), t.join(" "); } render() { if (this.closed) return; this.firstRender && this.out.write(mae.hide), super.render(); let t = [ pI.symbol(this.done, this.aborted), Cs.bold(this.msg), pI.delimiter(!1), this.renderDoneOrInstructions() ].join(" "); this.showMinError && (t += Cs.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), t += this.renderOptions( this.value), this.out.write(this.clear + t), this.clear = hI(t, this.out.columns); } }; dI.exports = $S; }); // ../node_modules/prompts/lib/elements/autocomplete.js var bI = y((S9e, vI) => { "use strict"; var ah = Or(), bae = no(), { erase: yae, cursor: mI } = kr(), { style: YS, clear: gI, figures: QS, wrap: Sae, entriesToDisplay: Eae } = Ua(), _I = /* @__PURE__ */ a((e, t) => e[t] && (e[t].value || e[t].title || e[t]), "getVal"), Aae = /* @__PURE__ */ a((e, t) => e[t] && (e[t].title || e[t].value || e[t]), "getTitle"), Tae = /* @__PURE__ */ a((e, t) => { let r = e.findIndex((n) => n.value === t || n.title === t); return r > -1 ? r : void 0; }, "getIndex"), ZS = class extends bae { static { a(this, "AutocompletePrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.suggest = t.suggest, this.choices = t.choices, this.initial = typeof t.initial == "number" ? t.initial : Tae(t.choices, t.initial), this.select = this.initial || t.cursor || 0, this.i18n = { noMatches: t.noMatches || "no matches found" }, this. fallback = t.fallback || this.initial, this.clearFirst = t.clearFirst || !1, this.suggestions = [], this.input = "", this.limit = t.limit || 10, this.cursor = 0, this.transform = YS.render(t.style), this.scale = this.transform.scale, this.render = this.render.bind(this), this. complete = this.complete.bind(this), this.clear = gI("", this.out.columns), this.complete(this.render), this.render(); } set fallback(t) { this._fb = Number.isSafeInteger(parseInt(t)) ? parseInt(t) : t; } get fallback() { let t; return typeof this._fb == "number" ? t = this.choices[this._fb] : typeof this._fb == "string" && (t = { title: this._fb }), t || this. _fb || { title: this.i18n.noMatches }; } moveSelect(t) { this.select = t, this.suggestions.length > 0 ? this.value = _I(this.suggestions, t) : this.value = this.fallback.value, this.fire(); } async complete(t) { let r = this.completing = this.suggest(this.input, this.choices), n = await r; if (this.completing !== r) return; this.suggestions = n.map((s, o, u) => ({ title: Aae(u, o), value: _I(u, o), description: s.description })), this.completing = !1; let i = Math.max(n.length - 1, 0); this.moveSelect(Math.min(i, this.select)), t && t(); } reset() { this.input = "", this.complete(() => { this.moveSelect(this.initial !== void 0 ? this.initial : 0), this.render(); }), this.render(); } exit() { this.clearFirst && this.input.length > 0 ? this.reset() : (this.done = this.exited = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close()); } abort() { this.done = this.aborted = !0, this.exited = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.done = !0, this.aborted = this.exited = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } _(t, r) { let n = this.input.slice(0, this.cursor), i = this.input.slice(this.cursor); this.input = `${n}${t}${i}`, this.cursor = n.length + 1, this.complete(this.render), this.render(); } delete() { if (this.cursor === 0) return this.bell(); let t = this.input.slice(0, this.cursor - 1), r = this.input.slice(this.cursor); this.input = `${t}${r}`, this.complete(this.render), this.cursor = this.cursor - 1, this.render(); } deleteForward() { if (this.cursor * this.scale >= this.rendered.length) return this.bell(); let t = this.input.slice(0, this.cursor), r = this.input.slice(this.cursor + 1); this.input = `${t}${r}`, this.complete(this.render), this.render(); } first() { this.moveSelect(0), this.render(); } last() { this.moveSelect(this.suggestions.length - 1), this.render(); } up() { this.select === 0 ? this.moveSelect(this.suggestions.length - 1) : this.moveSelect(this.select - 1), this.render(); } down() { this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render(); } next() { this.select === this.suggestions.length - 1 ? this.moveSelect(0) : this.moveSelect(this.select + 1), this.render(); } nextPage() { this.moveSelect(Math.min(this.select + this.limit, this.suggestions.length - 1)), this.render(); } prevPage() { this.moveSelect(Math.max(this.select - this.limit, 0)), this.render(); } left() { if (this.cursor <= 0) return this.bell(); this.cursor = this.cursor - 1, this.render(); } right() { if (this.cursor * this.scale >= this.rendered.length) return this.bell(); this.cursor = this.cursor + 1, this.render(); } renderOption(t, r, n, i) { let s, o = n ? QS.arrowUp : i ? QS.arrowDown : " ", u = r ? ah.cyan().underline(t.title) : t.title; return o = (r ? ah.cyan(QS.pointer) + " " : " ") + o, t.description && (s = ` - ${t.description}`, (o.length + u.length + s.length >= this.out.columns || t.description.split(/\r?\n/).length > 1) && (s = ` ` + Sae(t.description, { margin: 3, width: this.out.columns }))), o + " " + u + ah.gray(s || ""); } render() { if (this.closed) return; this.firstRender ? this.out.write(mI.hide) : this.out.write(gI(this.outputText, this.out.columns)), super.render(); let { startIndex: t, endIndex: r } = Eae(this.select, this.choices.length, this.limit); if (this.outputText = [ YS.symbol(this.done, this.aborted, this.exited), ah.bold(this.msg), YS.delimiter(this.completing), this.done && this.suggestions[this.select] ? this.suggestions[this.select].title : this.rendered = this.transform.render(this.input) ].join(" "), !this.done) { let n = this.suggestions.slice(t, r).map((i, s) => this.renderOption( i, this.select === s + t, s === 0 && t > 0, s + t === r - 1 && r < this.choices.length )).join(` `); this.outputText += ` ` + (n || ah.gray(this.fallback.title)); } this.out.write(yae.line + mI.to(0) + this.outputText); } }; vI.exports = ZS; }); // ../node_modules/prompts/lib/elements/autocompleteMultiselect.js var AI = y((A9e, EI) => { "use strict"; var ao = Or(), { cursor: Dae } = kr(), xae = XS(), { clear: yI, style: SI, figures: uc } = Ua(), JS = class extends xae { static { a(this, "AutocompleteMultiselectPrompt"); } constructor(t = {}) { t.overrideRender = !0, super(t), this.inputValue = "", this.clear = yI("", this.out.columns), this.filteredOptions = this.value, this. render(); } last() { this.cursor = this.filteredOptions.length - 1, this.render(); } next() { this.cursor = (this.cursor + 1) % this.filteredOptions.length, this.render(); } up() { this.cursor === 0 ? this.cursor = this.filteredOptions.length - 1 : this.cursor--, this.render(); } down() { this.cursor === this.filteredOptions.length - 1 ? this.cursor = 0 : this.cursor++, this.render(); } left() { this.filteredOptions[this.cursor].selected = !1, this.render(); } right() { if (this.value.filter((t) => t.selected).length >= this.maxChoices) return this.bell(); this.filteredOptions[this.cursor].selected = !0, this.render(); } delete() { this.inputValue.length && (this.inputValue = this.inputValue.substr(0, this.inputValue.length - 1), this.updateFilteredOptions()); } updateFilteredOptions() { let t = this.filteredOptions[this.cursor]; this.filteredOptions = this.value.filter((n) => this.inputValue ? !!(typeof n.title == "string" && n.title.toLowerCase().includes(this. inputValue.toLowerCase()) || typeof n.value == "string" && n.value.toLowerCase().includes(this.inputValue.toLowerCase())) : !0); let r = this.filteredOptions.findIndex((n) => n === t); this.cursor = r < 0 ? 0 : r, this.render(); } handleSpaceToggle() { let t = this.filteredOptions[this.cursor]; if (t.selected) t.selected = !1, this.render(); else { if (t.disabled || this.value.filter((r) => r.selected).length >= this.maxChoices) return this.bell(); t.selected = !0, this.render(); } } handleInputChange(t) { this.inputValue = this.inputValue + t, this.updateFilteredOptions(); } _(t, r) { t === " " ? this.handleSpaceToggle() : this.handleInputChange(t); } renderInstructions() { return this.instructions === void 0 || this.instructions ? typeof this.instructions == "string" ? this.instructions : ` Instructions: ${uc.arrowUp}/${uc.arrowDown}: Highlight option ${uc.arrowLeft}/${uc.arrowRight}/[space]: Toggle selection [a,b,c]/delete: Filter choices enter/return: Complete answer ` : ""; } renderCurrentInput() { return ` Filtered results for: ${this.inputValue ? this.inputValue : ao.gray("Enter something to filter")} `; } renderOption(t, r, n) { let i; return r.disabled ? i = t === n ? ao.gray().underline(r.title) : ao.strikethrough().gray(r.title) : i = t === n ? ao.cyan().underline( r.title) : r.title, (r.selected ? ao.green(uc.radioOn) : uc.radioOff) + " " + i; } renderDoneOrInstructions() { if (this.done) return this.value.filter((r) => r.selected).map((r) => r.title).join(", "); let t = [ao.gray(this.hint), this.renderInstructions(), this.renderCurrentInput()]; return this.filteredOptions.length && this.filteredOptions[this.cursor].disabled && t.push(ao.yellow(this.warn)), t.join(" "); } render() { if (this.closed) return; this.firstRender && this.out.write(Dae.hide), super.render(); let t = [ SI.symbol(this.done, this.aborted), ao.bold(this.msg), SI.delimiter(!1), this.renderDoneOrInstructions() ].join(" "); this.showMinError && (t += ao.red(`You must select a minimum of ${this.minSelected} choices.`), this.showMinError = !1), t += this.renderOptions( this.filteredOptions), this.out.write(this.clear + t), this.clear = yI(t, this.out.columns); } }; EI.exports = JS; }); // ../node_modules/prompts/lib/elements/confirm.js var wI = y((D9e, CI) => { var TI = Or(), Cae = no(), { style: DI, clear: wae } = Ua(), { erase: Oae, cursor: xI } = kr(), eE = class extends Cae { static { a(this, "ConfirmPrompt"); } constructor(t = {}) { super(t), this.msg = t.message, this.value = t.initial, this.initialValue = !!t.initial, this.yesMsg = t.yes || "yes", this.yesOption = t.yesOption || "(Y/n)", this.noMsg = t.no || "no", this.noOption = t.noOption || "(y/N)", this.render(); } reset() { this.value = this.initialValue, this.fire(), this.render(); } exit() { this.abort(); } abort() { this.done = this.aborted = !0, this.fire(), this.render(), this.out.write(` `), this.close(); } submit() { this.value = this.value || !1, this.done = !0, this.aborted = !1, this.fire(), this.render(), this.out.write(` `), this.close(); } _(t, r) { return t.toLowerCase() === "y" ? (this.value = !0, this.submit()) : t.toLowerCase() === "n" ? (this.value = !1, this.submit()) : this. bell(); } render() { this.closed || (this.firstRender ? this.out.write(xI.hide) : this.out.write(wae(this.outputText, this.out.columns)), super.render(), this. outputText = [ DI.symbol(this.done, this.aborted), TI.bold(this.msg), DI.delimiter(this.done), this.done ? this.value ? this.yesMsg : this.noMsg : TI.gray(this.initialValue ? this.yesOption : this.noOption) ].join(" "), this.out.write(Oae.line + xI.to(0) + this.outputText)); } }; CI.exports = eE; }); // ../node_modules/prompts/lib/elements/index.js var RI = y((C9e, OI) => { "use strict"; OI.exports = { TextPrompt: CF(), SelectPrompt: kF(), TogglePrompt: NF(), DatePrompt: oI(), NumberPrompt: fI(), MultiselectPrompt: XS(), AutocompletePrompt: bI(), AutocompleteMultiselectPrompt: AI(), ConfirmPrompt: wI() }; }); // ../node_modules/prompts/lib/prompts.js var PI = y((kI) => { "use strict"; var Ni = kI, Rae = RI(), hm = /* @__PURE__ */ a((e) => e, "noop"); function ws(e, t, r = {}) { return new Promise((n, i) => { let s = new Rae[e](t), o = r.onAbort || hm, u = r.onSubmit || hm, l = r.onExit || hm; s.on("state", t.onState || hm), s.on("submit", (c) => n(u(c))), s.on("exit", (c) => n(l(c))), s.on("abort", (c) => i(o(c))); }); } a(ws, "toPrompt"); Ni.text = (e) => ws("TextPrompt", e); Ni.password = (e) => (e.style = "password", Ni.text(e)); Ni.invisible = (e) => (e.style = "invisible", Ni.text(e)); Ni.number = (e) => ws("NumberPrompt", e); Ni.date = (e) => ws("DatePrompt", e); Ni.confirm = (e) => ws("ConfirmPrompt", e); Ni.list = (e) => { let t = e.separator || ","; return ws("TextPrompt", e, { onSubmit: /* @__PURE__ */ a((r) => r.split(t).map((n) => n.trim()), "onSubmit") }); }; Ni.toggle = (e) => ws("TogglePrompt", e); Ni.select = (e) => ws("SelectPrompt", e); Ni.multiselect = (e) => { e.choices = [].concat(e.choices || []); let t = /* @__PURE__ */ a((r) => r.filter((n) => n.selected).map((n) => n.value), "toSelected"); return ws("MultiselectPrompt", e, { onAbort: t, onSubmit: t }); }; Ni.autocompleteMultiselect = (e) => { e.choices = [].concat(e.choices || []); let t = /* @__PURE__ */ a((r) => r.filter((n) => n.selected).map((n) => n.value), "toSelected"); return ws("AutocompleteMultiselectPrompt", e, { onAbort: t, onSubmit: t }); }; var kae = /* @__PURE__ */ a((e, t) => Promise.resolve( t.filter((r) => r.title.slice(0, e.length).toLowerCase() === e.toLowerCase()) ), "byTitle"); Ni.autocomplete = (e) => (e.suggest = e.suggest || kae, e.choices = [].concat(e.choices || []), ws("AutocompletePrompt", e)); }); // ../node_modules/prompts/lib/index.js var NI = y((R9e, II) => { "use strict"; var tE = PI(), Pae = ["suggest", "format", "onState", "validate", "onRender", "type"], FI = /* @__PURE__ */ a(() => { }, "noop"); async function zo(e = [], { onSubmit: t = FI, onCancel: r = FI } = {}) { let n = {}, i = zo._override || {}; e = [].concat(e); let s, o, u, l, c, f, d = /* @__PURE__ */ a(async (g, b, _ = !1) => { if (!(!_ && g.validate && g.validate(b) !== !0)) return g.format ? await g.format(b, n) : b; }, "getFormattedAnswer"); for (o of e) if ({ name: l, type: c } = o, typeof c == "function" && (c = await c(s, { ...n }, o), o.type = c), !!c) { for (let g in o) { if (Pae.includes(g)) continue; let b = o[g]; o[g] = typeof b == "function" ? await b(s, { ...n }, f) : b; } if (f = o, typeof o.message != "string") throw new Error("prompt message is required"); if ({ name: l, type: c } = o, tE[c] === void 0) throw new Error(`prompt type (${c}) is not defined`); if (i[o.name] !== void 0 && (s = await d(o, i[o.name]), s !== void 0)) { n[l] = s; continue; } try { s = zo._injected ? Fae(zo._injected, o.initial) : await tE[c](o), n[l] = s = await d(o, s, !0), u = await t(o, s, n); } catch { u = !await r(o, n); } if (u) return n; } return n; } a(zo, "prompt"); function Fae(e, t) { let r = e.shift(); if (r instanceof Error) throw r; return r === void 0 ? t : r; } a(Fae, "getInjectedAnswer"); function Iae(e) { zo._injected = (zo._injected || []).concat(e); } a(Iae, "inject"); function Nae(e) { zo._override = Object.assign({}, e); } a(Nae, "override"); II.exports = Object.assign(zo, { prompt: zo, prompts: tE, inject: Iae, override: Nae }); }); // ../node_modules/prompts/index.js var BI = y((P9e, LI) => { function Lae(e) { e = (Array.isArray(e) ? e : e.split(".")).map(Number); let t = 0, r = process.versions.node.split(".").map(Number); for (; t < e.length; t++) { if (r[t] > e[t]) return !1; if (e[t] > r[t]) return !0; } return !1; } a(Lae, "isNodeLT"); LI.exports = Lae("8.6.0") ? oF() : NI(); }); // ../node_modules/@rolldown/pluginutils/dist/index.js function mm(e, t) { return new RegExp(`^${Hae(e)}$`, t); } function Hae(e) { return e.replace(Vae, "\\$&"); } var Vae, HI = we(() => { a(mm, "exactRegex"); Vae = /[-/\\^$*+?.()|[\]{}]/g; a(Hae, "escapeRegex"); }); // src/core-server/presets/vitePlugins/vite-inject-mocker/plugin.ts var zI = {}; ki(zI, { viteInjectMockerRuntime: () => Gae }); var jI, sE, GI, sh, jae, aE, Gae, KI = we(() => { "use strict"; jI = require("node:fs"), sE = require("node:path"); HI(); GI = mt(Fo(), 1), sh = "/vite-inject-mocker-entry.js", jae = GI.dedent` `, Gae = /* @__PURE__ */ a((e) => { let t; return { name: "vite:storybook-inject-mocker-runtime", buildStart() { t.command === "build" && this.emitFile({ type: "chunk", id: require.resolve((0, sE.join)(__dirname, "..", "..", "..", "templates", "mocker-runtime.template.js")), fileName: sh.slice(1) }); }, config() { return { optimizeDeps: { include: ["@vitest/mocker", "@vitest/mocker/browser"] }, resolve: { // Aliasing necessary for package managers like pnpm, since resolving modules from a virtual module // leads to errors, if the imported module is not a dependency of the project. // By resolving the module to the real path, we can avoid this issue. alias: { "@vitest/mocker/browser": require.resolve("@vitest/mocker/browser"), "@vitest/mocker": require.resolve("@vitest/mocker") } } }; }, configResolved(r) { t = r; }, configureServer(r) { aE = r, e.previewConfigPath && aE.watcher.on("change", (n) => { n === e.previewConfigPath && aE.ws.send({ type: "custom", event: "invalidate-mocker" }); }); }, resolveId: { filter: { id: [mm(sh)] }, handler(r) { return mm(r).test(sh) ? r : null; } }, async load(r) { return mm(r).test(sh) ? (0, jI.readFileSync)( require.resolve((0, sE.join)(__dirname, "..", "..", "..", "templates", "mocker-runtime.template.js")), "utf-8" ) : null; }, transformIndexHtml(r) { let n = r.match(/]*>/); if (n) { let i = r.indexOf(n[0]); return r.slice(0, i + n[0].length) + jae + r.slice(i + n[0].length); } } }; }, "viteInjectMockerRuntime"); }); // ../node_modules/pathe/dist/shared/pathe.ff20891b.mjs function gm(e = "") { return e && e.replace(/\\/g, "/").replace(zae, (t) => t.toUpperCase()); } function $ae() { return typeof process < "u" && typeof process.cwd == "function" ? process.cwd().replace(/\\/g, "/") : "/"; } function lE(e, t) { let r = "", n = 0, i = -1, s = 0, o = null; for (let u = 0; u <= e.length; ++u) { if (u < e.length) o = e[u]; else { if (o === "/") break; o = "/"; } if (o === "/") { if (!(i === u - 1 || s === 1)) if (s === 2) { if (r.length < 2 || n !== 2 || r[r.length - 1] !== "." || r[r.length - 2] !== ".") { if (r.length > 2) { let l = r.lastIndexOf("/"); l === -1 ? (r = "", n = 0) : (r = r.slice(0, l), n = r.length - 1 - r.lastIndexOf("/")), i = u, s = 0; continue; } else if (r.length > 0) { r = "", n = 0, i = u, s = 0; continue; } } t && (r += r.length > 0 ? "/.." : "..", n = 2); } else r.length > 0 ? r += `/${e.slice(i + 1, u)}` : r = e.slice(i + 1, u), n = u - i - 1; i = u, s = 0; } else o === "." && s !== -1 ? ++s : s = -1; } return r; } var zae, Kae, Wae, WI, cc, oE, uE, Ko, _m, vm, $I = we(() => { zae = /^[A-Za-z]:\//; a(gm, "normalizeWindowsPath"); Kae = /^[/\\]{2}/, Wae = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, WI = /^[A-Za-z]:$/, cc = /* @__PURE__ */ a(function(e) { if (e.length === 0) return "."; e = gm(e); let t = e.match(Kae), r = Ko(e), n = e[e.length - 1] === "/"; return e = lE(e, !r), e.length === 0 ? r ? "/" : n ? "./" : "." : (n && (e += "/"), WI.test(e) && (e += "/"), t ? r ? `//${e}` : `//./${e}` : r && !Ko(e) ? `/${e}` : e); }, "normalize"), oE = /* @__PURE__ */ a(function(...e) { if (e.length === 0) return "."; let t; for (let r of e) r && r.length > 0 && (t === void 0 ? t = r : t += `/${r}`); return t === void 0 ? "." : cc(t.replace(/\/\/+/g, "/")); }, "join"); a($ae, "cwd"); uE = /* @__PURE__ */ a(function(...e) { e = e.map((n) => gm(n)); let t = "", r = !1; for (let n = e.length - 1; n >= -1 && !r; n--) { let i = n >= 0 ? e[n] : $ae(); !i || i.length === 0 || (t = `${i}/${t}`, r = Ko(i)); } return t = lE(t, !r), r && !Ko(t) ? `/${t}` : t.length > 0 ? t : "."; }, "resolve"); a(lE, "normalizeString"); Ko = /* @__PURE__ */ a(function(e) { return Wae.test(e); }, "isAbsolute"), _m = /* @__PURE__ */ a(function(e) { let t = gm(e).replace(/\/$/, "").split("/").slice(0, -1); return t.length === 1 && WI.test(t[0]) && (t[0] += "/"), t.join("/") || (Ko(e) ? "/" : "."); }, "dirname"), vm = /* @__PURE__ */ a(function(e, t) { let r = gm(e).split("/").pop(); return t && r.endsWith(t) ? r.slice(0, -t.length) : r; }, "basename"); }); // ../node_modules/pathe/dist/index.mjs var bm = we(() => { $I(); }); // ../node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs function oh(e, t) { let r = 0, n = 0, i = 0; do { let o = e.next(); i = tN[o], r |= (i & 31) << n, n += 5; } while (i & 32); let s = r & 1; return r >>>= 1, s && (r = -2147483648 | -r), t + r; } function uh(e, t, r) { let n = t - r; n = n < 0 ? -n << 1 | 1 : n << 1; do { let i = n & 31; n >>>= 5, n > 0 && (i |= 32), e.write(eN[i]); } while (n > 0); return t; } function YI(e, t) { return e.pos >= t ? !1 : e.peek() !== JI; } function rN(e) { let { length: t } = e, r = new Qae(e), n = [], i = 0, s = 0, o = 0, u = 0, l = 0; do { let c = r.indexOf(";"), f = [], d = !0, g = 0; for (i = 0; r.pos < c; ) { let b; i = oh(r, i), i < g && (d = !1), g = i, YI(r, c) ? (s = oh(r, s), o = oh(r, o), u = oh(r, u), YI(r, c) ? (l = oh(r, l), b = [i, s, o, u, l]) : b = [i, s, o, u]) : b = [i], f.push(b), r.pos++; } d || Zae(f), n.push(f), r.pos = c + 1; } while (r.pos <= t); return n; } function Zae(e) { e.sort(Jae); } function Jae(e, t) { return e[0] - t[0]; } function fc(e) { let t = new Yae(), r = 0, n = 0, i = 0, s = 0; for (let o = 0; o < e.length; o++) { let u = e[o]; if (o > 0 && t.write(Xae), u.length === 0) continue; let l = 0; for (let c = 0; c < u.length; c++) { let f = u[c]; c > 0 && t.write(JI), l = uh(t, f[0], l), f.length !== 1 && (r = uh(t, f[1], r), n = uh(t, f[2], n), i = uh(t, f[3], i), f.length !== 4 && (s = uh(t, f[4], s))); } } return t.flush(); } var JI, Xae, XI, eN, tN, QI, ZI, Yae, Qae, ym = we(() => { JI = 44, Xae = 59, XI = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", eN = new Uint8Array(64), tN = new Uint8Array(128); for (let e = 0; e < XI.length; e++) { let t = XI.charCodeAt(e); eN[e] = t, tN[t] = e; } a(oh, "decodeInteger"); a(uh, "encodeInteger"); a(YI, "hasMoreVlq"); QI = 1024 * 16, ZI = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? { decode(e) { return Buffer.from(e.buffer, e.byteOffset, e.byteLength).toString(); } } : { decode(e) { let t = ""; for (let r = 0; r < e.length; r++) t += String.fromCharCode(e[r]); return t; } }, Yae = class { static { a(this, "StringWriter"); } constructor() { this.pos = 0, this.out = "", this.buffer = new Uint8Array(QI); } write(e) { let { buffer: t } = this; t[this.pos++] = e, this.pos === QI && (this.out += ZI.decode(t), this.pos = 0); } flush() { let { buffer: e, out: t, pos: r } = this; return r > 0 ? t + ZI.decode(e.subarray(0, r)) : t; } }, Qae = class { static { a(this, "StringReader"); } constructor(e) { this.pos = 0, this.buffer = e; } next() { return this.buffer.charCodeAt(this.pos++); } peek() { return this.buffer.charCodeAt(this.pos); } indexOf(e) { let { buffer: t, pos: r } = this, n = t.indexOf(e, r); return n === -1 ? t.length : n; } }; a(rN, "decode"); a(Zae, "sort"); a(Jae, "sortComparator"); a(fc, "encode"); }); // ../node_modules/magic-string/dist/magic-string.es.mjs function ese() { return typeof globalThis < "u" && typeof globalThis.btoa == "function" ? (e) => globalThis.btoa(unescape(encodeURIComponent(e))) : typeof Buffer == "function" ? (e) => Buffer.from(e, "utf-8").toString("base64") : () => { throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported."); }; } function rse(e) { let t = e.split(` `), r = t.filter((s) => /^\t+/.test(s)), n = t.filter((s) => /^ {2,}/.test(s)); if (r.length === 0 && n.length === 0) return null; if (r.length >= n.length) return " "; let i = n.reduce((s, o) => { let u = /^ +/.exec(o)[0].length; return Math.min(u, s); }, 1 / 0); return new Array(i + 1).join(" "); } function nse(e, t) { let r = e.split(/[/\\]/), n = t.split(/[/\\]/); for (r.pop(); r[0] === n[0]; ) r.shift(), n.shift(); if (r.length) { let i = r.length; for (; i--; ) r[i] = ".."; } return r.concat(n).join("/"); } function ase(e) { return ise.call(e) === "[object Object]"; } function nN(e) { let t = e.split(` `), r = []; for (let n = 0, i = 0; n < t.length; n++) r.push(i), i += t[n].length + 1; return /* @__PURE__ */ a(function(i) { let s = 0, o = r.length; for (; s < o; ) { let c = s + o >> 1; i < r[c] ? o = c : s = c + 1; } let u = s - 1, l = i - r[u]; return { line: u, column: l }; }, "locate"); } var Sm, Em, tse, cE, ise, sse, fE, lh, hc, Am, iN = we(() => { ym(); Sm = class e { static { a(this, "BitSet"); } constructor(t) { this.bits = t instanceof e ? t.bits.slice() : []; } add(t) { this.bits[t >> 5] |= 1 << (t & 31); } has(t) { return !!(this.bits[t >> 5] & 1 << (t & 31)); } }, Em = class e { static { a(this, "Chunk"); } constructor(t, r, n) { this.start = t, this.end = r, this.original = n, this.intro = "", this.outro = "", this.content = n, this.storeName = !1, this.edited = !1, this.previous = null, this.next = null; } appendLeft(t) { this.outro += t; } appendRight(t) { this.intro = this.intro + t; } clone() { let t = new e(this.start, this.end, this.original); return t.intro = this.intro, t.outro = this.outro, t.content = this.content, t.storeName = this.storeName, t.edited = this.edited, t; } contains(t) { return this.start < t && t < this.end; } eachNext(t) { let r = this; for (; r; ) t(r), r = r.next; } eachPrevious(t) { let r = this; for (; r; ) t(r), r = r.previous; } edit(t, r, n) { return this.content = t, n || (this.intro = "", this.outro = ""), this.storeName = r, this.edited = !0, this; } prependLeft(t) { this.outro = t + this.outro; } prependRight(t) { this.intro = t + this.intro; } reset() { this.intro = "", this.outro = "", this.edited && (this.content = this.original, this.storeName = !1, this.edited = !1); } split(t) { let r = t - this.start, n = this.original.slice(0, r), i = this.original.slice(r); this.original = n; let s = new e(t, this.end, i); return s.outro = this.outro, this.outro = "", this.end = t, this.edited ? (s.edit("", !1), this.content = "") : this.content = n, s.next = this.next, s.next && (s.next.previous = s), s.previous = this, this.next = s, s; } toString() { return this.intro + this.content + this.outro; } trimEnd(t) { if (this.outro = this.outro.replace(t, ""), this.outro.length) return !0; let r = this.content.replace(t, ""); if (r.length) return r !== this.content && (this.split(this.start + r.length).edit("", void 0, !0), this.edited && this.edit(r, this.storeName, !0)), !0; if (this.edit("", void 0, !0), this.intro = this.intro.replace(t, ""), this.intro.length) return !0; } trimStart(t) { if (this.intro = this.intro.replace(t, ""), this.intro.length) return !0; let r = this.content.replace(t, ""); if (r.length) { if (r !== this.content) { let n = this.split(this.end - r.length); this.edited && n.edit(r, this.storeName, !0), this.edit("", void 0, !0); } return !0; } else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length) return !0; } }; a(ese, "getBtoa"); tse = /* @__PURE__ */ ese(), cE = class { static { a(this, "SourceMap"); } constructor(t) { this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings = fc(t.mappings), typeof t.x_google_ignoreList < "u" && (this.x_google_ignoreList = t.x_google_ignoreList), typeof t.debugId < "u" && (this. debugId = t.debugId); } toString() { return JSON.stringify(this); } toUrl() { return "data:application/json;charset=utf-8;base64," + tse(this.toString()); } }; a(rse, "guessIndent"); a(nse, "getRelativePath"); ise = Object.prototype.toString; a(ase, "isObject"); a(nN, "getLocator"); sse = /\w/, fE = class { static { a(this, "Mappings"); } constructor(t) { this.hires = t, this.generatedCodeLine = 0, this.generatedCodeColumn = 0, this.raw = [], this.rawSegments = this.raw[this.generatedCodeLine] = [], this.pending = null; } addEdit(t, r, n, i) { if (r.length) { let s = r.length - 1, o = r.indexOf(` `, 0), u = -1; for (; o >= 0 && s > o; ) { let c = [this.generatedCodeColumn, t, n.line, n.column]; i >= 0 && c.push(i), this.rawSegments.push(c), this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, u = o, o = r.indexOf(` `, o + 1); } let l = [this.generatedCodeColumn, t, n.line, n.column]; i >= 0 && l.push(i), this.rawSegments.push(l), this.advance(r.slice(u + 1)); } else this.pending && (this.rawSegments.push(this.pending), this.advance(r)); this.pending = null; } addUneditedChunk(t, r, n, i, s) { let o = r.start, u = !0, l = !1; for (; o < r.end; ) { if (n[o] === ` `) i.line += 1, i.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, u = !0, l = !1; else { if (this.hires || u || s.has(o)) { let c = [this.generatedCodeColumn, t, i.line, i.column]; this.hires === "boundary" ? sse.test(n[o]) ? l || (this.rawSegments.push(c), l = !0) : (this.rawSegments.push(c), l = !1) : this. rawSegments.push(c); } i.column += 1, this.generatedCodeColumn += 1, u = !1; } o += 1; } this.pending = null; } advance(t) { if (!t) return; let r = t.split(` `); if (r.length > 1) { for (let n = 0; n < r.length - 1; n++) this.generatedCodeLine++, this.raw[this.generatedCodeLine] = this.rawSegments = []; this.generatedCodeColumn = 0; } this.generatedCodeColumn += r[r.length - 1].length; } }, lh = ` `, hc = { insertLeft: !1, insertRight: !1, storeName: !1 }, Am = class e { static { a(this, "MagicString"); } constructor(t, r = {}) { let n = new Em(0, t.length, t); Object.defineProperties(this, { original: { writable: !0, value: t }, outro: { writable: !0, value: "" }, intro: { writable: !0, value: "" }, firstChunk: { writable: !0, value: n }, lastChunk: { writable: !0, value: n }, lastSearchedChunk: { writable: !0, value: n }, byStart: { writable: !0, value: {} }, byEnd: { writable: !0, value: {} }, filename: { writable: !0, value: r.filename }, indentExclusionRanges: { writable: !0, value: r.indentExclusionRanges }, sourcemapLocations: { writable: !0, value: new Sm() }, storedNames: { writable: !0, value: {} }, indentStr: { writable: !0, value: void 0 }, ignoreList: { writable: !0, value: r.ignoreList }, offset: { writable: !0, value: r.offset || 0 } }), this.byStart[0] = n, this.byEnd[t.length] = n; } addSourcemapLocation(t) { this.sourcemapLocations.add(t); } append(t) { if (typeof t != "string") throw new TypeError("outro content must be a string"); return this.outro += t, this; } appendLeft(t, r) { if (t = t + this.offset, typeof r != "string") throw new TypeError("inserted content must be a string"); this._split(t); let n = this.byEnd[t]; return n ? n.appendLeft(r) : this.intro += r, this; } appendRight(t, r) { if (t = t + this.offset, typeof r != "string") throw new TypeError("inserted content must be a string"); this._split(t); let n = this.byStart[t]; return n ? n.appendRight(r) : this.outro += r, this; } clone() { let t = new e(this.original, { filename: this.filename, offset: this.offset }), r = this.firstChunk, n = t.firstChunk = t.lastSearchedChunk = r.clone(); for (; r; ) { t.byStart[n.start] = n, t.byEnd[n.end] = n; let i = r.next, s = i && i.clone(); s && (n.next = s, s.previous = n, n = s), r = i; } return t.lastChunk = n, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new Sm(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t; } generateDecodedMap(t) { t = t || {}; let r = 0, n = Object.keys(this.storedNames), i = new fE(t.hires), s = nN(this.original); return this.intro && i.advance(this.intro), this.firstChunk.eachNext((o) => { let u = s(o.start); o.intro.length && i.advance(o.intro), o.edited ? i.addEdit( r, o.content, u, o.storeName ? n.indexOf(o.original) : -1 ) : i.addUneditedChunk(r, o, this.original, u, this.sourcemapLocations), o.outro.length && i.advance(o.outro); }), this.outro && i.advance(this.outro), { file: t.file ? t.file.split(/[/\\]/).pop() : void 0, sources: [ t.source ? nse(t.file || "", t.source) : t.file || "" ], sourcesContent: t.includeContent ? [this.original] : void 0, names: n, mappings: i.raw, x_google_ignoreList: this.ignoreList ? [r] : void 0 }; } generateMap(t) { return new cE(this.generateDecodedMap(t)); } _ensureindentStr() { this.indentStr === void 0 && (this.indentStr = rse(this.original)); } _getRawIndentString() { return this._ensureindentStr(), this.indentStr; } getIndentString() { return this._ensureindentStr(), this.indentStr === null ? " " : this.indentStr; } indent(t, r) { let n = /^[^\r\n]/gm; if (ase(t) && (r = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this; r = r || {}; let i = {}; r.exclude && (typeof r.exclude[0] == "number" ? [r.exclude] : r.exclude).forEach((f) => { for (let d = f[0]; d < f[1]; d += 1) i[d] = !0; }); let s = r.indentStart !== !1, o = /* @__PURE__ */ a((c) => s ? `${t}${c}` : (s = !0, c), "replacer"); this.intro = this.intro.replace(n, o); let u = 0, l = this.firstChunk; for (; l; ) { let c = l.end; if (l.edited) i[u] || (l.content = l.content.replace(n, o), l.content.length && (s = l.content[l.content.length - 1] === ` `)); else for (u = l.start; u < c; ) { if (!i[u]) { let f = this.original[u]; f === ` ` ? s = !0 : f !== "\r" && s && (s = !1, u === l.start || (this._splitChunk(l, u), l = l.next), l.prependRight(t)); } u += 1; } u = l.end, l = l.next; } return this.outro = this.outro.replace(n, o), this; } insert() { throw new Error( "magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)" ); } insertLeft(t, r) { return hc.insertLeft || (console.warn( "magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead" ), hc.insertLeft = !0), this.appendLeft(t, r); } insertRight(t, r) { return hc.insertRight || (console.warn( "magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead" ), hc.insertRight = !0), this.prependRight(t, r); } move(t, r, n) { if (t = t + this.offset, r = r + this.offset, n = n + this.offset, n >= t && n <= r) throw new Error("Cannot move a selection inside i\ tself"); this._split(t), this._split(r), this._split(n); let i = this.byStart[t], s = this.byEnd[r], o = i.previous, u = s.next, l = this.byStart[n]; if (!l && s === this.lastChunk) return this; let c = l ? l.previous : this.lastChunk; return o && (o.next = u), u && (u.previous = o), c && (c.next = i), l && (l.previous = s), i.previous || (this.firstChunk = s.next), s. next || (this.lastChunk = i.previous, this.lastChunk.next = null), i.previous = c, s.next = l || null, c || (this.firstChunk = i), l || (this.lastChunk = s), this; } overwrite(t, r, n, i) { return i = i || {}, this.update(t, r, n, { ...i, overwrite: !i.contentOnly }); } update(t, r, n, i) { if (t = t + this.offset, r = r + this.offset, typeof n != "string") throw new TypeError("replacement content must be a string"); if (this.original.length !== 0) { for (; t < 0; ) t += this.original.length; for (; r < 0; ) r += this.original.length; } if (r > this.original.length) throw new Error("end is out of bounds"); if (t === r) throw new Error( "Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead" ); this._split(t), this._split(r), i === !0 && (hc.storeName || (console.warn( "The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string" ), hc.storeName = !0), i = { storeName: !0 }); let s = i !== void 0 ? i.storeName : !1, o = i !== void 0 ? i.overwrite : !1; if (s) { let c = this.original.slice(t, r); Object.defineProperty(this.storedNames, c, { writable: !0, value: !0, enumerable: !0 }); } let u = this.byStart[t], l = this.byEnd[r]; if (u) { let c = u; for (; c !== l; ) { if (c.next !== this.byStart[c.end]) throw new Error("Cannot overwrite across a split point"); c = c.next, c.edit("", !1); } u.edit(n, s, !o); } else { let c = new Em(t, r, "").edit(n, s); l.next = c, c.previous = l; } return this; } prepend(t) { if (typeof t != "string") throw new TypeError("outro content must be a string"); return this.intro = t + this.intro, this; } prependLeft(t, r) { if (t = t + this.offset, typeof r != "string") throw new TypeError("inserted content must be a string"); this._split(t); let n = this.byEnd[t]; return n ? n.prependLeft(r) : this.intro = r + this.intro, this; } prependRight(t, r) { if (t = t + this.offset, typeof r != "string") throw new TypeError("inserted content must be a string"); this._split(t); let n = this.byStart[t]; return n ? n.prependRight(r) : this.outro = r + this.outro, this; } remove(t, r) { if (t = t + this.offset, r = r + this.offset, this.original.length !== 0) { for (; t < 0; ) t += this.original.length; for (; r < 0; ) r += this.original.length; } if (t === r) return this; if (t < 0 || r > this.original.length) throw new Error("Character is out of bounds"); if (t > r) throw new Error("end must be greater than start"); this._split(t), this._split(r); let n = this.byStart[t]; for (; n; ) n.intro = "", n.outro = "", n.edit(""), n = r > n.end ? this.byStart[n.end] : null; return this; } reset(t, r) { if (t = t + this.offset, r = r + this.offset, this.original.length !== 0) { for (; t < 0; ) t += this.original.length; for (; r < 0; ) r += this.original.length; } if (t === r) return this; if (t < 0 || r > this.original.length) throw new Error("Character is out of bounds"); if (t > r) throw new Error("end must be greater than start"); this._split(t), this._split(r); let n = this.byStart[t]; for (; n; ) n.reset(), n = r > n.end ? this.byStart[n.end] : null; return this; } lastChar() { if (this.outro.length) return this.outro[this.outro.length - 1]; let t = this.lastChunk; do { if (t.outro.length) return t.outro[t.outro.length - 1]; if (t.content.length) return t.content[t.content.length - 1]; if (t.intro.length) return t.intro[t.intro.length - 1]; } while (t = t.previous); return this.intro.length ? this.intro[this.intro.length - 1] : ""; } lastLine() { let t = this.outro.lastIndexOf(lh); if (t !== -1) return this.outro.substr(t + 1); let r = this.outro, n = this.lastChunk; do { if (n.outro.length > 0) { if (t = n.outro.lastIndexOf(lh), t !== -1) return n.outro.substr(t + 1) + r; r = n.outro + r; } if (n.content.length > 0) { if (t = n.content.lastIndexOf(lh), t !== -1) return n.content.substr(t + 1) + r; r = n.content + r; } if (n.intro.length > 0) { if (t = n.intro.lastIndexOf(lh), t !== -1) return n.intro.substr(t + 1) + r; r = n.intro + r; } } while (n = n.previous); return t = this.intro.lastIndexOf(lh), t !== -1 ? this.intro.substr(t + 1) + r : this.intro + r; } slice(t = 0, r = this.original.length - this.offset) { if (t = t + this.offset, r = r + this.offset, this.original.length !== 0) { for (; t < 0; ) t += this.original.length; for (; r < 0; ) r += this.original.length; } let n = "", i = this.firstChunk; for (; i && (i.start > t || i.end <= t); ) { if (i.start < r && i.end >= r) return n; i = i.next; } if (i && i.edited && i.start !== t) throw new Error(`Cannot use replaced character ${t} as slice start anchor.`); let s = i; for (; i; ) { i.intro && (s !== i || i.start === t) && (n += i.intro); let o = i.start < r && i.end >= r; if (o && i.edited && i.end !== r) throw new Error(`Cannot use replaced character ${r} as slice end anchor.`); let u = s === i ? t - i.start : 0, l = o ? i.content.length + r - i.end : i.content.length; if (n += i.content.slice(u, l), i.outro && (!o || i.end === r) && (n += i.outro), o) break; i = i.next; } return n; } // TODO deprecate this? not really very useful snip(t, r) { let n = this.clone(); return n.remove(0, t), n.remove(r, n.original.length), n; } _split(t) { if (this.byStart[t] || this.byEnd[t]) return; let r = this.lastSearchedChunk, n = r, i = t > r.end; for (; r; ) { if (r.contains(t)) return this._splitChunk(r, t); if (r = i ? this.byStart[r.end] : this.byEnd[r.start], r === n) return; n = r; } } _splitChunk(t, r) { if (t.edited && t.content.length) { let i = nN(this.original)(r); throw new Error( `Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${t.original}")` ); } let n = t.split(r); return this.byEnd[r] = t, this.byStart[r] = n, this.byEnd[n.end] = n, t === this.lastChunk && (this.lastChunk = n), this.lastSearchedChunk = t, !0; } toString() { let t = this.intro, r = this.firstChunk; for (; r; ) t += r.toString(), r = r.next; return t + this.outro; } isEmpty() { let t = this.firstChunk; do if (t.intro.length && t.intro.trim() || t.content.length && t.content.trim() || t.outro.length && t.outro.trim()) return !1; while (t = t.next); return !0; } length() { let t = this.firstChunk, r = 0; do r += t.intro.length + t.content.length + t.outro.length; while (t = t.next); return r; } trimLines() { return this.trim("[\\r\\n]"); } trim(t) { return this.trimStart(t).trimEnd(t); } trimEndAborted(t) { let r = new RegExp((t || "\\s") + "+$"); if (this.outro = this.outro.replace(r, ""), this.outro.length) return !0; let n = this.lastChunk; do { let i = n.end, s = n.trimEnd(r); if (n.end !== i && (this.lastChunk === n && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this. byEnd[n.next.end] = n.next), s) return !0; n = n.previous; } while (n); return !1; } trimEnd(t) { return this.trimEndAborted(t), this; } trimStartAborted(t) { let r = new RegExp("^" + (t || "\\s") + "+"); if (this.intro = this.intro.replace(r, ""), this.intro.length) return !0; let n = this.firstChunk; do { let i = n.end, s = n.trimStart(r); if (n.end !== i && (n === this.lastChunk && (this.lastChunk = n.next), this.byEnd[n.end] = n, this.byStart[n.next.start] = n.next, this. byEnd[n.next.end] = n.next), s) return !0; n = n.next; } while (n); return !1; } trimStart(t) { return this.trimStartAborted(t), this; } hasChanged() { return this.original !== this.toString(); } _replaceRegexp(t, r) { function n(s, o) { return typeof r == "string" ? r.replace(/\$(\$|&|\d+)/g, (u, l) => l === "$" ? "$" : l === "&" ? s[0] : +l < s.length ? s[+l] : `$${l}`) : r(...s, s.index, o, s.groups); } a(n, "getReplacement"); function i(s, o) { let u, l = []; for (; u = s.exec(o); ) l.push(u); return l; } if (a(i, "matchAll"), t.global) i(t, this.original).forEach((o) => { if (o.index != null) { let u = n(o, this.original); u !== o[0] && this.overwrite(o.index, o.index + o[0].length, u); } }); else { let s = this.original.match(t); if (s && s.index != null) { let o = n(s, this.original); o !== s[0] && this.overwrite(s.index, s.index + s[0].length, o); } } return this; } _replaceString(t, r) { let { original: n } = this, i = n.indexOf(t); return i !== -1 && (typeof r == "function" && (r = r(t, i, n)), t !== r && this.overwrite(i, i + t.length, r)), this; } replace(t, r) { return typeof t == "string" ? this._replaceString(t, r) : this._replaceRegexp(t, r); } _replaceAllString(t, r) { let { original: n } = this, i = t.length; for (let s = n.indexOf(t); s !== -1; s = n.indexOf(t, s + i)) { let o = n.slice(s, s + i), u = r; typeof r == "function" && (u = r(o, s, n)), o !== u && this.overwrite(s, s + i, u); } return this; } replaceAll(t, r) { if (typeof t == "string") return this._replaceAllString(t, r); if (!t.global) throw new TypeError( "MagicString.prototype.replaceAll called with a non-global RegExp argument" ); return this._replaceRegexp(t, r); } }; }); // src/core-server/presets/vitePlugins/vite-inject-mocker/constants.ts var aN, sN = we(() => { "use strict"; aN = "__vitest_mocker__"; }); // ../node_modules/estree-walker/src/walker.js var ch, hE = we(() => { ch = class { static { a(this, "WalkerBase"); } constructor() { this.should_skip = !1, this.should_remove = !1, this.replacement = null, this.context = { skip: /* @__PURE__ */ a(() => this.should_skip = !0, "skip"), remove: /* @__PURE__ */ a(() => this.should_remove = !0, "remove"), replace: /* @__PURE__ */ a((t) => this.replacement = t, "replace") }; } /** * @template {Node} Parent * @param {Parent | null | undefined} parent * @param {keyof Parent | null | undefined} prop * @param {number | null | undefined} index * @param {Node} node */ replace(t, r, n, i) { t && r && (n != null ? t[r][n] = i : t[r] = i); } /** * @template {Node} Parent * @param {Parent | null | undefined} parent * @param {keyof Parent | null | undefined} prop * @param {number | null | undefined} index */ remove(t, r, n) { t && r && (n != null ? t[r].splice(n, 1) : delete t[r]); } }; }); // ../node_modules/estree-walker/src/sync.js function oN(e) { return e !== null && typeof e == "object" && "type" in e && typeof e.type == "string"; } var Tm, uN = we(() => { hE(); Tm = class extends ch { static { a(this, "SyncWalker"); } /** * * @param {SyncHandler} [enter] * @param {SyncHandler} [leave] */ constructor(t, r) { super(), this.should_skip = !1, this.should_remove = !1, this.replacement = null, this.context = { skip: /* @__PURE__ */ a(() => this.should_skip = !0, "skip"), remove: /* @__PURE__ */ a(() => this.should_remove = !0, "remove"), replace: /* @__PURE__ */ a((n) => this.replacement = n, "replace") }, this.enter = t, this.leave = r; } /** * @template {Node} Parent * @param {Node} node * @param {Parent | null} parent * @param {keyof Parent} [prop] * @param {number | null} [index] * @returns {Node | null} */ visit(t, r, n, i) { if (t) { if (this.enter) { let o = this.should_skip, u = this.should_remove, l = this.replacement; this.should_skip = !1, this.should_remove = !1, this.replacement = null, this.enter.call(this.context, t, r, n, i), this.replacement && (t = this.replacement, this.replace(r, n, i, t)), this.should_remove && this.remove(r, n, i); let c = this.should_skip, f = this.should_remove; if (this.should_skip = o, this.should_remove = u, this.replacement = l, c) return t; if (f) return null; } let s; for (s in t) { let o = t[s]; if (o && typeof o == "object") if (Array.isArray(o)) { let u = ( /** @type {Array} */ o ); for (let l = 0; l < u.length; l += 1) { let c = u[l]; oN(c) && (this.visit(c, t, s, l) || l--); } } else oN(o) && this.visit(o, t, s, null); } if (this.leave) { let o = this.replacement, u = this.should_remove; this.replacement = null, this.should_remove = !1, this.leave.call(this.context, t, r, n, i), this.replacement && (t = this.replacement, this.replace(r, n, i, t)), this.should_remove && this.remove(r, n, i); let l = this.should_remove; if (this.replacement = o, this.should_remove = u, l) return null; } } return t; } }; a(oN, "isNode"); }); // ../node_modules/estree-walker/src/async.js var lN = we(() => { hE(); }); // ../node_modules/estree-walker/src/index.js function Dm(e, { enter: t, leave: r }) { return new Tm(t, r).visit(e, null); } var pE = we(() => { uN(); lN(); a(Dm, "walk"); }); // src/core-server/mocking-utils/esmWalker.ts function fh(e) { return e.type === "Identifier" ? e.name : e.raw; } var cN = we(() => { "use strict"; pE(); a(fh, "getArbitraryModuleIdentifier"); }); // src/core-server/mocking-utils/automock.ts function fN(e, t, r) { return ose(e, t ? "autospy" : "automock", r, { globalThisAccessor: JSON.stringify(aN) }); } function ose(e, t, r, n = {}) { let i = n.globalThisAccessor || '"__vitest_mocker__"', s = r(e), o = new Am(e), u = [], l = 0; for (let _ of s.body) { if (_.type === "ExportAllDeclaration") throw new Error( "automocking files with `export *` is not supported in browser mode because it cannot be statically analysed" ); if (_.type === "ExportNamedDeclaration") { let h = function(E) { if (E.type === "Identifier") u.push({ name: E.name }); else if (E.type === "ArrayPattern") E.elements.forEach((C) => { C && h(C); }); else if (E.type === "ObjectPattern") E.properties.forEach((C) => { C.type === "RestElement" ? h(C) : C.type === "Property" && h(C.value); }); else if (E.type === "RestElement") h(E.argument); else { if (E.type === "AssignmentPattern") throw new Error("AssignmentPattern is not supported. Please open a new bug report."); if (E.type === "MemberExpression") throw new Error("MemberExpression is not supported. Please open a new bug report."); } }; var b = h; a(h, "traversePattern"); let T = _, p = T.declaration; p && (p.type === "FunctionDeclaration" ? u.push({ name: p.id.name }) : p.type === "VariableDeclaration" ? p.declarations.forEach((E) => { h(E.id); }) : p.type === "ClassDeclaration" && u.push({ name: p.id.name }), o.remove(T.start, p.start)); let S = T.specifiers || [], D = T.source; if (!D && S.length) S.forEach((E) => { u.push({ alias: fh(E.exported), name: fh(E.local) }); }), o.remove(T.start, T.end); else if (D && S.length) { let E = []; S.forEach((m) => { let v = `__vitest_imported_${l++}__`; E.push([fh(m.local), v]), u.push({ name: v, alias: fh(m.exported) }); }); let C = `import { ${E.map(([m, v]) => `${m} as ${v}`).join(", ")} } from '${D.value}'`; o.overwrite(T.start, T.end, C); } } if (_.type === "ExportDefaultDeclaration") { let T = _, p = T.declaration; u.push({ name: "__vitest_default", alias: "default" }), o.overwrite(T.start, p.start, "const __vitest_default = "); } } let c = ` const __vitest_current_es_module__ = { __esModule: true, ${u.map(({ name: _ }) => `["${_}"]: ${_},`).join(` `)} } const __vitest_mocked_module__ = globalThis[${i}].mockObject(__vitest_current_es_module__, "${t}") `, f = u.map(({ name: _ }, T) => `const __vitest_mocked_${T}__ = __vitest_mocked_module__["${_}"]`).join(` `), g = ` export { ${u.map(({ name: _, alias: T }, p) => ` __vitest_mocked_${p}__ as ${T || _},`).join(` `)} } `; return o.append(c + f + g), o; } var hN = we(() => { "use strict"; iN(); sN(); cN(); a(fN, "getAutomockCode"); a(ose, "automockModule"); }); // ../node_modules/resolve.exports/dist/index.mjs function pN(e, t, r) { throw new Error(r ? `No known conditions for "${t}" specifier in "${e}" package` : `Missing "${t}" specifier in "${e}" package`); } function use(e, t, r, n) { let i, s, o = lse(e, r), u = function(c) { let f = /* @__PURE__ */ new Set(["default", ...c.conditions || []]); return c.unsafe || f.add(c.require ? "require" : "import"), c.unsafe || f.add(c.browser ? "browser" : "node"), f; }(n || {}), l = t[o]; if (l === void 0) { let c, f, d, g; for (g in t) f && g.length < f.length || (g[g.length - 1] === "/" && o.startsWith(g) ? (s = o.substring(g.length), f = g) : g.length > 1 && (d = g.indexOf("*", 1), ~d && (c = RegExp("^" + g.substring(0, d) + "(.*)" + g.substring(1 + d) + "$").exec(o), c && c[1] && (s = c[1], f = g)))); l = t[f]; } return l || pN(e, o), i = dE(l, u), i || pN(e, o, 1), s && function(c, f) { let d, g = 0, b = c.length, _ = /[*]/g, T = /[/]$/; for (; g < b; g++) c[g] = _.test(d = c[g]) ? d.replace(_, f) : T.test(d) ? d + f : d; }(i, s), i; } function lse(e, t, r) { if (e === t || t === ".") return "."; let n = e + "/", i = n.length, s = t.slice(0, i) === n, o = s ? t.slice(i) : t; return o[0] === "#" ? o : s || !r ? o.slice(0, 2) === "./" ? o : "./" + o : o; } function dE(e, t, r) { if (e) { if (typeof e == "string") return r && r.add(e), [e]; let n, i; if (Array.isArray(e)) { for (i = r || /* @__PURE__ */ new Set(), n = 0; n < e.length; n++) dE(e[n], t, i); if (!r && i.size) return [...i]; } else for (n in e) if (t.has(n)) return dE(e[n], t, r); } } function dN(e, t, r) { let n, i = e.exports; if (i) { if (typeof i == "string") i = { ".": i }; else for (n in i) { n[0] !== "." && (i = { ".": i }); break; } return use(e.name, i, t || ".", r); } } var mN = we(() => { a(pN, "e"); a(use, "n"); a(lse, "r"); a(dE, "t"); a(dN, "o"); }); // src/core-server/mocking-utils/resolve.ts function cse(e, t) { let r = require.resolve(`${e}/package.json`, { paths: [t] }); return { path: r, data: JSON.parse((0, gN.readFileSync)(r, "utf-8")) }; } function mE(e, t) { let r = e.split("/"), n = e.startsWith("@") ? `${r[0]}/${r[1]}` : r[0], i = `.${e.slice(n.length)}`, { path: s, data: o } = cse(n, t), u = _m( s); if (o.exports) { let l = dN(o, i, { browser: !0 }); if (l) return oE(u, l[0]); } return require.resolve(e, { paths: [t] }); } function gE(e, t) { try { return !Ko(e) && vN(require.resolve(e, { paths: [t] })); } catch { return !1; } } function xm(e, t, r) { let n = gE(e, t), i = n ? e : null, s = n ? mE(e, t) : require.resolve(e, { paths: [_m(r)] }), o = uE(s), u = (0, _N.findMockRedirect)(t, o, i); return { absolutePath: o, redirectPath: u // will be null if no __mocks__ file is found }; } var gN, _N, _E = we(() => { "use strict"; gN = require("node:fs"), _N = require("@vitest/mocker/redirect"); bm(); mN(); Cm(); a(cse, "findPackageJson"); a(mE, "resolveExternalModule"); a(gE, "getIsExternal"); a(xm, "resolveMock"); }); // src/core-server/mocking-utils/extract.ts function vN(e) { let t = cc(e); return fse.some((r) => t.includes(r)); } function AN(e) { let t = Lu(e); return Dm(t, { enter(r) { r.type === "CallExpression" && r.callee.type === "MemberExpression" && r.callee.object.type === "Identifier" && r.callee.object.name === "sb" && r.callee.property.type === "Identifier" && r.callee.property.name === "mock" && r.arguments.length > 0 && r.arguments[0].type === "CallExpression" && r.arguments[0].callee.type === "Import" && r.arguments[0].arguments.length === 1 && r.arguments[0].arguments[0].type === "StringLiteral" && (r.arguments[0] = pc.types.stringLiteral(r.arguments[0].arguments[0].value)); } }), (0, pc.generate)(t, {}, e); } function hh(e, t, r) { try { let l = function(c) { if (!c || !c.properties) return !1; for (let f of c.properties) if (f.type === "ObjectProperty" && (f.key.type === "Identifier" && f.key.name === "spy" || f.key.type === "StringLiteral" && f.key.value === "spy") && f.value.type === "BooleanLiteral" && f.value.value === !0) return !0; return !1; }; var n = l; a(l, "hasSpyTrue"); let i = (0, bN.readFileSync)(e.previewConfigPath, "utf-8"), { code: s } = (0, EN.transformSync)(i, { loader: "tsx", format: "esm" }), o = t( s), u = []; return Dm(o, { // @ts-expect-error - Node comes from babel async enter(c) { if (c.type !== "CallExpression" || c.callee.type !== "MemberExpression" || c.callee.object.type !== "Identifier" || c.callee.object. name !== "sb" || c.callee.property.type !== "Identifier" || c.callee.property.name !== "mock" || c.arguments.length === 0) return; let f; if (c.arguments[0].type === "StringLiteral") f = c.arguments[0].value; else if (c.arguments[0].type === "CallExpression" && c.arguments[0].callee.type === "Import" && c.arguments[0].arguments[0].type === "StringLiteral") f = c.arguments[0].arguments[0].value; else return; let d = c.arguments.length > 1 && c.arguments[1].type === "ObjectExpression" && l(c.arguments[1]), { absolutePath: g, redirectPath: b } = xm( f, r, e.previewConfigPath), _ = f.replace(/\.[^/.]+$/, ""), T = vm(g), p = vm(f), h = T === p ? _ : f; u.push({ path: h, absolutePath: g, redirectPath: b, spy: d }); } }), e.coreOptions?.disableTelemetry || (0, SN.telemetry)( "mocking", { modulesMocked: u.length, modulesSpied: u.map((c) => c.spy).filter(Boolean).length, modulesManuallyMocked: u.map((c) => !!c.redirectPath).filter(Boolean).length }, { configDir: e.configDir } ), u; } catch (i) { return yN.logger.debug("Error extracting mock calls", i), []; } } var bN, pc, yN, SN, EN, fse, Lu, Cm = we(() => { "use strict"; bN = require("node:fs"), pc = require("storybook/internal/babel"), yN = require("storybook/internal/node-logger"), SN = require("storybook/internal/telemetry"), EN = require("esbuild"); pE(); bm(); _E(); fse = ["/node_modules/"]; a(vN, "isModuleDirectory"); Lu = /* @__PURE__ */ a((e) => pc.parser.parse(e, { sourceType: "module", // Enable plugins to handle modern JavaScript features, including TSX. plugins: ["typescript", "jsx", "classProperties", "objectRestSpread"], errorRecovery: !0 }).program, "babelParser"); a(AN, "rewriteSbMockImportCalls"); a(hh, "extractMockCalls"); }); // src/core-server/presets/vitePlugins/vite-mock/utils.ts function wm(e) { return e.replace(/^.*\/deps\//, "").replace(/\.js.*$/, "").replace(/_/g, "/"); } function vE(e, t, r) { for (let n of e.moduleGraph.idToModuleMap.values()) (n.id === t || n.id && wm(n.id) === r) && e.moduleGraph.invalidateModule(n); } function ph(e, t) { try { return t ? (0, TN.realpathSync)(e) : e; } catch { return e; } } var TN, DN = we(() => { "use strict"; TN = require("fs"); a(wm, "getCleanId"); a(vE, "invalidateAllRelatedModules"); a(ph, "normalizePathForComparison"); }); // src/core-server/presets/vitePlugins/vite-mock/plugin.ts var CN = {}; ki(CN, { viteMockPlugin: () => hse }); function hse(e) { let t, r = [], n = cc(e.previewConfigPath); return [ { name: "storybook:mock-loader", configResolved(i) { t = i; }, buildStart() { r = hh(e, Lu, t.root); }, configureServer(i) { async function s(o) { if (o === e.previewConfigPath || o.includes("__mocks__")) { let u = r; r = hh(e, Lu, t.root); let l = i.moduleGraph.getModuleById(e.previewConfigPath); l && i.moduleGraph.invalidateModule(l); for (let f of r) vE(i, f.absolutePath, f.path); let c = new Set(r.map((f) => f.absolutePath)); for (let f of u) c.has(f.absolutePath) || vE(i, f.absolutePath, f.path); return i.ws.send({ type: "full-reload" }), []; } } a(s, "invalidateAffectedFiles"), i.watcher.on("change", s), i.watcher.on("add", s), i.watcher.on("unlink", s); }, load: { order: "pre", handler(i) { let s = t.resolve.preserveSymlinks, o = ph(i, s), u = wm(o); for (let l of r) if (!(ph(l.absolutePath, s) !== o && l.path !== u) && l.redirectPath) return this.addWatchFile(l.redirectPath), (0, xN.readFileSync)(l.redirectPath, "utf-8"); return null; } }, transform: { order: "pre", handler(i, s) { for (let o of r) { let u = t.resolve.preserveSymlinks, l = ph(s, u), c = ph(o.absolutePath, u); if (t.command !== "serve") { if (c !== l) continue; } else { let f = wm(l); if (o.path !== f && c !== l) continue; } try { if (!o.redirectPath) { let f = fN(i, o.spy, Lu); return { code: f.toString(), map: f.generateMap() }; } } catch (f) { return bE.logger.error(`Error automocking ${s}: ${f}`), null; } } return null; } } }, { name: "storybook:mock-loader-preview", transform(i, s) { if (s === n) try { return AN(i); } catch (o) { return bE.logger.debug(`Could not transform sb.mock(import(...)) calls in ${s}: ${o}`), null; } return null; } } ]; } var xN, bE, wN = we(() => { "use strict"; xN = require("node:fs"), bE = require("storybook/internal/node-logger"); bm(); hN(); Cm(); DN(); a(hse, "viteMockPlugin"); }); // src/core-server/presets/webpack/plugins/webpack-mock-plugin.ts var ON = {}; ki(ON, { WebpackMockPlugin: () => yE }); var dh, dc, yE, RN = we(() => { "use strict"; dh = require("node:path"); Cm(); _E(); dc = "storybook-mock-plugin", yE = class { constructor(t) { this.mockMap = /* @__PURE__ */ new Map(); if (!t.previewConfigPath) throw new Error(`[${dc}] \`previewConfigPath\` is required.`); this.options = t; } static { a(this, "WebpackMockPlugin"); } /** * The main entry point for the Webpack plugin. * * @param {Compiler} compiler The Webpack compiler instance. */ apply(t) { let r = t.getInfrastructureLogger(dc), n = /* @__PURE__ */ a(() => { this.mockMap = new Map( this.extractAndResolveMocks(t).map((i) => [i.absolutePath, i]) ), r.info(`Mock map updated with ${this.mockMap.size} mocks.`); }, "updateMocks"); t.hooks.beforeRun.tap(dc, n), t.hooks.watchRun.tap(dc, n), new t.webpack.NormalModuleReplacementPlugin(/.*/, (i) => { try { let s = i.request, o = i.context, l = gE(s, o) ? mE(s, o) : require.resolve(s, { paths: [o] }); if (this.mockMap.has(l)) { let c = this.mockMap.get(l); i.request = c.replacementResource; } } catch { } }).apply(t), t.hooks.afterCompile.tap(dc, (i) => { i.fileDependencies.add(this.options.previewConfigPath); for (let s of this.mockMap.values()) (0, dh.isAbsolute)(s.replacementResource) && s.replacementResource.includes("__mocks__") && i.contextDependencies.add((0, dh.dirname)( s.replacementResource)); }); } /** * Reads the preview config, parses it to find all `sb.mock()` calls, and resolves their * corresponding mock implementations. * * @param {Compiler} compiler The Webpack compiler instance. * @returns {ResolvedMock[]} An array of fully processed mocks. */ extractAndResolveMocks(t) { let { previewConfigPath: r } = this.options, n = t.getInfrastructureLogger(dc), i = hh( { previewConfigPath: r, configDir: (0, dh.dirname)(r) }, Lu, t.context ), s = []; for (let o of i) try { let { absolutePath: u, redirectPath: l } = xm( o.path, t.context, r ), c; l ? c = l : c = `${require.resolve("storybook/internal/core-server/presets/webpack/loaders/webpack-automock-loader")}?spy=${o.spy}\ !${u}`, s.push({ ...o, absolutePath: u, replacementResource: c }); } catch { n.warn(`Could not resolve mock for "${o.path}". It will be ignored.`); } return s; } }; }); // ../node_modules/lodash/_freeGlobal.js var SE = y((J6e, kN) => { var pse = typeof global == "object" && global && global.Object === Object && global; kN.exports = pse; }); // ../node_modules/lodash/_root.js var Ha = y((e4e, PN) => { var dse = SE(), mse = typeof self == "object" && self && self.Object === Object && self, gse = dse || mse || Function("return this")(); PN.exports = gse; }); // ../node_modules/lodash/_Symbol.js var Om = y((t4e, FN) => { var _se = Ha(), vse = _se.Symbol; FN.exports = vse; }); // ../node_modules/lodash/_getRawTag.js var BN = y((r4e, LN) => { var IN = Om(), NN = Object.prototype, bse = NN.hasOwnProperty, yse = NN.toString, mh = IN ? IN.toStringTag : void 0; function Sse(e) { var t = bse.call(e, mh), r = e[mh]; try { e[mh] = void 0; var n = !0; } catch { } var i = yse.call(e); return n && (t ? e[mh] = r : delete e[mh]), i; } a(Sse, "getRawTag"); LN.exports = Sse; }); // ../node_modules/lodash/_objectToString.js var qN = y((i4e, MN) => { var Ese = Object.prototype, Ase = Ese.toString; function Tse(e) { return Ase.call(e); } a(Tse, "objectToString"); MN.exports = Tse; }); // ../node_modules/lodash/_baseGetTag.js var mc = y((s4e, HN) => { var UN = Om(), Dse = BN(), xse = qN(), Cse = "[object Null]", wse = "[object Undefined]", VN = UN ? UN.toStringTag : void 0; function Ose(e) { return e == null ? e === void 0 ? wse : Cse : VN && VN in Object(e) ? Dse(e) : xse(e); } a(Ose, "baseGetTag"); HN.exports = Ose; }); // ../node_modules/lodash/isObject.js var oo = y((u4e, jN) => { function Rse(e) { var t = typeof e; return e != null && (t == "object" || t == "function"); } a(Rse, "isObject"); jN.exports = Rse; }); // ../node_modules/lodash/isFunction.js var Rm = y((c4e, GN) => { var kse = mc(), Pse = oo(), Fse = "[object AsyncFunction]", Ise = "[object Function]", Nse = "[object GeneratorFunction]", Lse = "[object \ Proxy]"; function Bse(e) { if (!Pse(e)) return !1; var t = kse(e); return t == Ise || t == Nse || t == Fse || t == Lse; } a(Bse, "isFunction"); GN.exports = Bse; }); // ../node_modules/lodash/_coreJsData.js var KN = y((h4e, zN) => { var Mse = Ha(), qse = Mse["__core-js_shared__"]; zN.exports = qse; }); // ../node_modules/lodash/_isMasked.js var XN = y((p4e, $N) => { var EE = KN(), WN = function() { var e = /[^.]+$/.exec(EE && EE.keys && EE.keys.IE_PROTO || ""); return e ? "Symbol(src)_1." + e : ""; }(); function Use(e) { return !!WN && WN in e; } a(Use, "isMasked"); $N.exports = Use; }); // ../node_modules/lodash/_toSource.js var AE = y((m4e, YN) => { var Vse = Function.prototype, Hse = Vse.toString; function jse(e) { if (e != null) { try { return Hse.call(e); } catch { } try { return e + ""; } catch { } } return ""; } a(jse, "toSource"); YN.exports = jse; }); // ../node_modules/lodash/_baseIsNative.js var ZN = y((_4e, QN) => { var Gse = Rm(), zse = XN(), Kse = oo(), Wse = AE(), $se = /[\\^$.*+?()[\]{}|]/g, Xse = /^\[object .+?Constructor\]$/, Yse = Function.prototype, Qse = Object.prototype, Zse = Yse.toString, Jse = Qse.hasOwnProperty, eoe = RegExp( "^" + Zse.call(Jse).replace($se, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); function toe(e) { if (!Kse(e) || zse(e)) return !1; var t = Gse(e) ? eoe : Xse; return t.test(Wse(e)); } a(toe, "baseIsNative"); QN.exports = toe; }); // ../node_modules/lodash/_getValue.js var eL = y((b4e, JN) => { function roe(e, t) { return e?.[t]; } a(roe, "getValue"); JN.exports = roe; }); // ../node_modules/lodash/_getNative.js var Wo = y((S4e, tL) => { var noe = ZN(), ioe = eL(); function aoe(e, t) { var r = ioe(e, t); return noe(r) ? r : void 0; } a(aoe, "getNative"); tL.exports = aoe; }); // ../node_modules/lodash/_nativeCreate.js var gh = y((A4e, rL) => { var soe = Wo(), ooe = soe(Object, "create"); rL.exports = ooe; }); // ../node_modules/lodash/_hashClear.js var aL = y((T4e, iL) => { var nL = gh(); function uoe() { this.__data__ = nL ? nL(null) : {}, this.size = 0; } a(uoe, "hashClear"); iL.exports = uoe; }); // ../node_modules/lodash/_hashDelete.js var oL = y((x4e, sL) => { function loe(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t; } a(loe, "hashDelete"); sL.exports = loe; }); // ../node_modules/lodash/_hashGet.js var lL = y((w4e, uL) => { var coe = gh(), foe = "__lodash_hash_undefined__", hoe = Object.prototype, poe = hoe.hasOwnProperty; function doe(e) { var t = this.__data__; if (coe) { var r = t[e]; return r === foe ? void 0 : r; } return poe.call(t, e) ? t[e] : void 0; } a(doe, "hashGet"); uL.exports = doe; }); // ../node_modules/lodash/_hashHas.js var fL = y((R4e, cL) => { var moe = gh(), goe = Object.prototype, _oe = goe.hasOwnProperty; function voe(e) { var t = this.__data__; return moe ? t[e] !== void 0 : _oe.call(t, e); } a(voe, "hashHas"); cL.exports = voe; }); // ../node_modules/lodash/_hashSet.js var pL = y((P4e, hL) => { var boe = gh(), yoe = "__lodash_hash_undefined__"; function Soe(e, t) { var r = this.__data__; return this.size += this.has(e) ? 0 : 1, r[e] = boe && t === void 0 ? yoe : t, this; } a(Soe, "hashSet"); hL.exports = Soe; }); // ../node_modules/lodash/_Hash.js var mL = y((I4e, dL) => { var Eoe = aL(), Aoe = oL(), Toe = lL(), Doe = fL(), xoe = pL(); function gc(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } a(gc, "Hash"); gc.prototype.clear = Eoe; gc.prototype.delete = Aoe; gc.prototype.get = Toe; gc.prototype.has = Doe; gc.prototype.set = xoe; dL.exports = gc; }); // ../node_modules/lodash/_listCacheClear.js var _L = y((L4e, gL) => { function Coe() { this.__data__ = [], this.size = 0; } a(Coe, "listCacheClear"); gL.exports = Coe; }); // ../node_modules/lodash/eq.js var _h = y((M4e, vL) => { function woe(e, t) { return e === t || e !== e && t !== t; } a(woe, "eq"); vL.exports = woe; }); // ../node_modules/lodash/_assocIndexOf.js var vh = y((U4e, bL) => { var Ooe = _h(); function Roe(e, t) { for (var r = e.length; r--; ) if (Ooe(e[r][0], t)) return r; return -1; } a(Roe, "assocIndexOf"); bL.exports = Roe; }); // ../node_modules/lodash/_listCacheDelete.js var SL = y((H4e, yL) => { var koe = vh(), Poe = Array.prototype, Foe = Poe.splice; function Ioe(e) { var t = this.__data__, r = koe(t, e); if (r < 0) return !1; var n = t.length - 1; return r == n ? t.pop() : Foe.call(t, r, 1), --this.size, !0; } a(Ioe, "listCacheDelete"); yL.exports = Ioe; }); // ../node_modules/lodash/_listCacheGet.js var AL = y((G4e, EL) => { var Noe = vh(); function Loe(e) { var t = this.__data__, r = Noe(t, e); return r < 0 ? void 0 : t[r][1]; } a(Loe, "listCacheGet"); EL.exports = Loe; }); // ../node_modules/lodash/_listCacheHas.js var DL = y((K4e, TL) => { var Boe = vh(); function Moe(e) { return Boe(this.__data__, e) > -1; } a(Moe, "listCacheHas"); TL.exports = Moe; }); // ../node_modules/lodash/_listCacheSet.js var CL = y(($4e, xL) => { var qoe = vh(); function Uoe(e, t) { var r = this.__data__, n = qoe(r, e); return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; } a(Uoe, "listCacheSet"); xL.exports = Uoe; }); // ../node_modules/lodash/_ListCache.js var bh = y((Y4e, wL) => { var Voe = _L(), Hoe = SL(), joe = AL(), Goe = DL(), zoe = CL(); function _c(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } a(_c, "ListCache"); _c.prototype.clear = Voe; _c.prototype.delete = Hoe; _c.prototype.get = joe; _c.prototype.has = Goe; _c.prototype.set = zoe; wL.exports = _c; }); // ../node_modules/lodash/_Map.js var km = y((Z4e, OL) => { var Koe = Wo(), Woe = Ha(), $oe = Koe(Woe, "Map"); OL.exports = $oe; }); // ../node_modules/lodash/_mapCacheClear.js var PL = y((J4e, kL) => { var RL = mL(), Xoe = bh(), Yoe = km(); function Qoe() { this.size = 0, this.__data__ = { hash: new RL(), map: new (Yoe || Xoe)(), string: new RL() }; } a(Qoe, "mapCacheClear"); kL.exports = Qoe; }); // ../node_modules/lodash/_isKeyable.js var IL = y((tHe, FL) => { function Zoe(e) { var t = typeof e; return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null; } a(Zoe, "isKeyable"); FL.exports = Zoe; }); // ../node_modules/lodash/_getMapData.js var yh = y((nHe, NL) => { var Joe = IL(); function eue(e, t) { var r = e.__data__; return Joe(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map; } a(eue, "getMapData"); NL.exports = eue; }); // ../node_modules/lodash/_mapCacheDelete.js var BL = y((aHe, LL) => { var tue = yh(); function rue(e) { var t = tue(this, e).delete(e); return this.size -= t ? 1 : 0, t; } a(rue, "mapCacheDelete"); LL.exports = rue; }); // ../node_modules/lodash/_mapCacheGet.js var qL = y((oHe, ML) => { var nue = yh(); function iue(e) { return nue(this, e).get(e); } a(iue, "mapCacheGet"); ML.exports = iue; }); // ../node_modules/lodash/_mapCacheHas.js var VL = y((lHe, UL) => { var aue = yh(); function sue(e) { return aue(this, e).has(e); } a(sue, "mapCacheHas"); UL.exports = sue; }); // ../node_modules/lodash/_mapCacheSet.js var jL = y((fHe, HL) => { var oue = yh(); function uue(e, t) { var r = oue(this, e), n = r.size; return r.set(e, t), this.size += r.size == n ? 0 : 1, this; } a(uue, "mapCacheSet"); HL.exports = uue; }); // ../node_modules/lodash/_MapCache.js var TE = y((pHe, GL) => { var lue = PL(), cue = BL(), fue = qL(), hue = VL(), pue = jL(); function vc(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } a(vc, "MapCache"); vc.prototype.clear = lue; vc.prototype.delete = cue; vc.prototype.get = fue; vc.prototype.has = hue; vc.prototype.set = pue; GL.exports = vc; }); // ../node_modules/lodash/_setCacheAdd.js var KL = y((mHe, zL) => { var due = "__lodash_hash_undefined__"; function mue(e) { return this.__data__.set(e, due), this; } a(mue, "setCacheAdd"); zL.exports = mue; }); // ../node_modules/lodash/_setCacheHas.js var $L = y((_He, WL) => { function gue(e) { return this.__data__.has(e); } a(gue, "setCacheHas"); WL.exports = gue; }); // ../node_modules/lodash/_SetCache.js var YL = y((bHe, XL) => { var _ue = TE(), vue = KL(), bue = $L(); function Pm(e) { var t = -1, r = e == null ? 0 : e.length; for (this.__data__ = new _ue(); ++t < r; ) this.add(e[t]); } a(Pm, "SetCache"); Pm.prototype.add = Pm.prototype.push = vue; Pm.prototype.has = bue; XL.exports = Pm; }); // ../node_modules/lodash/_baseFindIndex.js var ZL = y((SHe, QL) => { function yue(e, t, r, n) { for (var i = e.length, s = r + (n ? 1 : -1); n ? s-- : ++s < i; ) if (t(e[s], s, e)) return s; return -1; } a(yue, "baseFindIndex"); QL.exports = yue; }); // ../node_modules/lodash/_baseIsNaN.js var eB = y((AHe, JL) => { function Sue(e) { return e !== e; } a(Sue, "baseIsNaN"); JL.exports = Sue; }); // ../node_modules/lodash/_strictIndexOf.js var rB = y((DHe, tB) => { function Eue(e, t, r) { for (var n = r - 1, i = e.length; ++n < i; ) if (e[n] === t) return n; return -1; } a(Eue, "strictIndexOf"); tB.exports = Eue; }); // ../node_modules/lodash/_baseIndexOf.js var iB = y((CHe, nB) => { var Aue = ZL(), Tue = eB(), Due = rB(); function xue(e, t, r) { return t === t ? Due(e, t, r) : Aue(e, Tue, r); } a(xue, "baseIndexOf"); nB.exports = xue; }); // ../node_modules/lodash/_arrayIncludes.js var sB = y((OHe, aB) => { var Cue = iB(); function wue(e, t) { var r = e == null ? 0 : e.length; return !!r && Cue(e, t, 0) > -1; } a(wue, "arrayIncludes"); aB.exports = wue; }); // ../node_modules/lodash/_arrayIncludesWith.js var uB = y((kHe, oB) => { function Oue(e, t, r) { for (var n = -1, i = e == null ? 0 : e.length; ++n < i; ) if (r(t, e[n])) return !0; return !1; } a(Oue, "arrayIncludesWith"); oB.exports = Oue; }); // ../node_modules/lodash/_cacheHas.js var cB = y((FHe, lB) => { function Rue(e, t) { return e.has(t); } a(Rue, "cacheHas"); lB.exports = Rue; }); // ../node_modules/lodash/_Set.js var DE = y((NHe, fB) => { var kue = Wo(), Pue = Ha(), Fue = kue(Pue, "Set"); fB.exports = Fue; }); // ../node_modules/lodash/noop.js var pB = y((LHe, hB) => { function Iue() { } a(Iue, "noop"); hB.exports = Iue; }); // ../node_modules/lodash/_setToArray.js var xE = y((MHe, dB) => { function Nue(e) { var t = -1, r = Array(e.size); return e.forEach(function(n) { r[++t] = n; }), r; } a(Nue, "setToArray"); dB.exports = Nue; }); // ../node_modules/lodash/_createSet.js var gB = y((UHe, mB) => { var CE = DE(), Lue = pB(), Bue = xE(), Mue = 1 / 0, que = CE && 1 / Bue(new CE([, -0]))[1] == Mue ? function(e) { return new CE(e); } : Lue; mB.exports = que; }); // ../node_modules/lodash/_baseUniq.js var vB = y((VHe, _B) => { var Uue = YL(), Vue = sB(), Hue = uB(), jue = cB(), Gue = gB(), zue = xE(), Kue = 200; function Wue(e, t, r) { var n = -1, i = Vue, s = e.length, o = !0, u = [], l = u; if (r) o = !1, i = Hue; else if (s >= Kue) { var c = t ? null : Gue(e); if (c) return zue(c); o = !1, i = jue, l = new Uue(); } else l = t ? [] : u; e: for (; ++n < s; ) { var f = e[n], d = t ? t(f) : f; if (f = r || f !== 0 ? f : 0, o && d === d) { for (var g = l.length; g--; ) if (l[g] === d) continue e; t && l.push(d), u.push(f); } else i(l, d, r) || (l !== u && l.push(d), u.push(f)); } return u; } a(Wue, "baseUniq"); _B.exports = Wue; }); // ../node_modules/lodash/uniq.js var yB = y((jHe, bB) => { var $ue = vB(); function Xue(e) { return e && e.length ? $ue(e) : []; } a(Xue, "uniq"); bB.exports = Xue; }); // ../node_modules/html-webpack-plugin/lib/child-compiler.js var EB = y((zHe, SB) => { "use strict"; var wE = class { static { a(this, "HtmlWebpackChildCompiler"); } /** * * @param {string[]} templates */ constructor(t) { this.templates = t, this.compilationPromise, this.compilationStartedTimestamp, this.compilationEndedTimestamp, this.fileDependencies = { fileDependencies: [], contextDependencies: [], missingDependencies: [] }; } /** * Returns true if the childCompiler is currently compiling * * @returns {boolean} */ isCompiling() { return !this.didCompile() && this.compilationStartedTimestamp !== void 0; } /** * Returns true if the childCompiler is done compiling * * @returns {boolean} */ didCompile() { return this.compilationEndedTimestamp !== void 0; } /** * This function will start the template compilation * once it is started no more templates can be added * * @param {import('webpack').Compilation} mainCompilation * @returns {Promise<{[templatePath: string]: ChildCompilationTemplateResult}>} */ compileTemplates(t) { let r = t.compiler.webpack, n = r.Compilation, i = r.node.NodeTemplatePlugin, s = r.node.NodeTargetPlugin, o = r.LoaderTargetPlugin, u = r. EntryPlugin; if (this.compilationPromise) return this.compilationPromise; let l = { filename: "__child-[name]", publicPath: "", library: { type: "var", name: "HTML_WEBPACK_PLUGIN_RESULT" }, scriptType: ( /** @type {'text/javascript'} */ "text/javascript" ), iife: !0 }, f = t.createChildCompiler( "HtmlWebpackCompiler", l, [ // Compile the template to nodejs javascript new s(), new i(), new o("node"), new r.library.EnableLibraryPlugin("var") ] ); f.context = t.compiler.context; let d = this.templates.map( (g, b) => `__child-HtmlWebpackPlugin_${b}-${g}` ); return this.templates.forEach((g, b) => { new u( f.context, "data:text/javascript,__webpack_public_path__ = __webpack_base_uri__ = htmlWebpackPluginPublicPath;", `HtmlWebpackPlugin_${b}-${g}` ).apply(f), new u( f.context, g, `HtmlWebpackPlugin_${b}-${g}` ).apply(f); }), f.options.module = { ...f.options.module }, f.options.module.parser = { ...f.options.module.parser }, f.options.module.parser.javascript = { ...f.options.module.parser.javascript, url: "relative" }, this.compilationStartedTimestamp = (/* @__PURE__ */ new Date()).getTime(), this.compilationPromise = new Promise((g, b) => { let _ = []; f.hooks.thisCompilation.tap( "HtmlWebpackPlugin", (T) => { T.hooks.processAssets.tap( { name: "HtmlWebpackPlugin", stage: n.PROCESS_ASSETS_STAGE_ADDITIONS }, (p) => { d.forEach((h) => { p[h] && (_.push(p[h]), T.deleteAsset(h)); }); } ); } ), f.runAsChild((T, p, h) => { let S = p ? _.map((C) => C.source()) : []; if (p && h && (this.fileDependencies = { fileDependencies: Array.from(h.fileDependencies), contextDependencies: Array.from( h.contextDependencies ), missingDependencies: Array.from( h.missingDependencies ) }), h && h.errors && h.errors.length) { let C = []; for (let v of h.errors) { let A = v.message; v.stack && (A += ` ` + v.stack), C.push(A); } let m = C.join(` `); b(new Error(`Child compilation failed: ` + m)); return; } if (T) { b(T); return; } if (!h || !p) { b(new Error("Empty child compilation")); return; } let D = {}, E = {}; for (let C of h.getAssets()) E[C.name] = { source: C.source, info: C.info }; S.forEach((C, m) => { D[this.templates[m]] = { // TODO, can we have Buffer here? content: ( /** @type {string} */ C ), hash: h.hash || "XXXX", entry: p[m], assets: E }; }), this.compilationEndedTimestamp = (/* @__PURE__ */ new Date()).getTime(), g(D); }); }), this.compilationPromise; } }; SB.exports = { HtmlWebpackChildCompiler: wE }; }); // ../node_modules/html-webpack-plugin/lib/cached-child-compiler.js var TB = y((WHe, AB) => { "use strict"; var { HtmlWebpackChildCompiler: Yue } = EB(), Fm = /* @__PURE__ */ new WeakMap(), OE = class { static { a(this, "CachedChildCompilation"); } /** * @param {Compiler} compiler */ constructor(t) { if (this.compiler = t, Fm.has(t)) return; let r = new RE(); Fm.set(t, r), r.apply(t); } /** * apply is called by the webpack main compiler during the start phase * @param {string} entry */ addEntry(t) { let r = Fm.get( this.compiler ); if (!r) throw new Error( "PersistentChildCompilerSingletonPlugin instance not found." ); r.addEntry(t); } getCompilationResult() { let t = Fm.get( this.compiler ); if (!t) throw new Error( "PersistentChildCompilerSingletonPlugin instance not found." ); return t.getLatestResult(); } /** * Returns the result for the given entry * @param {string} entry * @returns { | { mainCompilationHash: string, error: Error } | { mainCompilationHash: string, compiledEntry: ChildCompilationTemplateResult } } */ getCompilationEntryResult(t) { let r = this.getCompilationResult(), n = r.compilationResult; return "error" in n ? { mainCompilationHash: r.mainCompilationHash, error: n.error } : { mainCompilationHash: r.mainCompilationHash, compiledEntry: n.compiledEntries[t] }; } }, RE = class e { static { a(this, "PersistentChildCompilerSingletonPlugin"); } /** * * @param {{fileDependencies: string[], contextDependencies: string[], missingDependencies: string[]}} fileDependencies * @param {Compilation} mainCompilation * @param {number} startTime */ static createSnapshot(t, r, n) { return new Promise((i, s) => { r.fileSystemInfo.createSnapshot( n, t.fileDependencies, t.contextDependencies, t.missingDependencies, // @ts-ignore null, (o, u) => { if (o) return s(o); i(u); } ); }); } /** * Returns true if the files inside this snapshot * have not been changed * * @param {Snapshot} snapshot * @param {Compilation} mainCompilation * @returns {Promise} */ static isSnapshotValid(t, r) { return new Promise((n, i) => { r.fileSystemInfo.checkSnapshotValid( t, (s, o) => { s && i(s), n(o); } ); }); } static watchFiles(t, r) { Object.keys(r).forEach((n) => { r[n].forEach((i) => { t[n].add(i); }); }); } constructor() { this.compilationState = { isCompiling: !1, isVerifyingCache: !1, entries: [], compiledEntries: [], mainCompilationHash: "initial", compilationResult: { dependencies: { fileDependencies: [], contextDependencies: [], missingDependencies: [] }, compiledEntries: {} } }; } /** * apply is called by the webpack main compiler during the start phase * @param {Compiler} compiler */ apply(t) { let r = Promise.resolve({ dependencies: { fileDependencies: [], contextDependencies: [], missingDependencies: [] }, compiledEntries: {} }), n = "", i, s = (/* @__PURE__ */ new Date()).getTime(); t.hooks.make.tapAsync( "PersistentChildCompilerSingletonPlugin", (o, u) => { if (this.compilationState.isCompiling || this.compilationState.isVerifyingCache) return u(new Error("Child compilation has already started")); s = (/* @__PURE__ */ new Date()).getTime(), this.compilationState = { isCompiling: !1, isVerifyingCache: !0, previousEntries: this.compilationState.compiledEntries, previousResult: this.compilationState.compilationResult, entries: this.compilationState.entries }; let l = this.isCacheValid( i, o ), c = r; r = l.then( (f) => { if (f) return c; let d = this.compileEntries( o, this.compilationState.entries ); return d.then((g) => e.createSnapshot( g.dependencies, o, s )).then((g) => { i = g; }), d; } ), o.hooks.optimizeTree.tapAsync( "PersistentChildCompilerSingletonPlugin", (f, d, g) => { r.then((_) => { this.watchFiles( o, _.dependencies ); }).then( // @ts-ignore () => g(null, f, d), g ); } ), o.hooks.additionalAssets.tapAsync( "PersistentChildCompilerSingletonPlugin", (f) => { let d = Promise.all([ r, c ]).then(([b, _]) => _ !== b); Promise.all([ r, d ]).then(([b, _]) => { _ && (n = /** @type {string} */ o.hash), this.compilationState = { isCompiling: !1, isVerifyingCache: !1, entries: this.compilationState.entries, compiledEntries: this.compilationState.entries, compilationResult: b, mainCompilationHash: n }; }).then(() => f(null), f); } ), u(null); } ); } /** * Add a new entry to the next compile run * @param {string} entry */ addEntry(t) { if (this.compilationState.isCompiling || this.compilationState.isVerifyingCache) throw new Error( "The child compiler has already started to compile. Please add entries before the main compiler 'make' phase has started or after \ the compilation is done." ); this.compilationState.entries.indexOf(t) === -1 && (this.compilationState.entries = [...this.compilationState.entries, t]); } getLatestResult() { if (this.compilationState.isCompiling || this.compilationState.isVerifyingCache) throw new Error( "The child compiler is not done compiling. Please access the result after the compiler 'make' phase has started or after the compi\ lation is done." ); return { mainCompilationHash: this.compilationState.mainCompilationHash, compilationResult: this.compilationState.compilationResult }; } /** * Verify that the cache is still valid * @private * @param {Snapshot | undefined} snapshot * @param {Compilation} mainCompilation * @returns {Promise} */ isCacheValid(t, r) { return this.compilationState.isVerifyingCache ? this.compilationState.entries.length === 0 ? Promise.resolve(!0) : this.compilationState. entries !== this.compilationState.previousEntries || !t ? Promise.resolve(!1) : e.isSnapshotValid( t, r ) : Promise.reject( new Error( "Cache validation can only be done right before the compilation starts" ) ); } /** * Start to compile all templates * * @private * @param {Compilation} mainCompilation * @param {string[]} entries * @returns {Promise} */ compileEntries(t, r) { let n = new Yue(r); return n.compileTemplates(t).then( (i) => ({ // The compiled sources to render the content compiledEntries: i, // The file dependencies to find out if a // recompilation is required dependencies: n.fileDependencies, // The main compilation hash can be used to find out // if this compilation was done during the current compilation mainCompilationHash: t.hash }), (i) => ({ // The compiled sources to render the content error: i, // The file dependencies to find out if a // recompilation is required dependencies: n.fileDependencies, // The main compilation hash can be used to find out // if this compilation was done during the current compilation mainCompilationHash: t.hash }) ); } /** * @private * @param {Compilation} mainCompilation * @param {FileDependencies} files */ watchFiles(t, r) { e.watchFiles(t, r); } }; AB.exports = { CachedChildCompilation: OE }; }); // ../node_modules/html-webpack-plugin/lib/html-tags.js var xB = y((XHe, DB) => { var Que = [ "area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr" ]; function Zue(e, t) { let r = Object.keys(e.attributes || {}).filter(function(n) { return e.attributes[n] === "" || e.attributes[n]; }).map(function(n) { return e.attributes[n] === !0 ? t ? n + '="' + n + '"' : n : n + '="' + e.attributes[n] + '"'; }); return "<" + [e.tagName].concat(r).join(" ") + (e.voidTag && t ? "/" : "") + ">" + (e.innerHTML || "") + (e.voidTag ? "" : ""); } a(Zue, "htmlTagObjectToString"); function Jue(e, t, r, n) { return { tagName: e, voidTag: Que.indexOf(e) !== -1, attributes: t || {}, meta: n || {}, innerHTML: r }; } a(Jue, "createHtmlTagObject"); var kE = class extends Array { static { a(this, "HtmlTagArray"); } toString() { return this.join(""); } }; DB.exports = { HtmlTagArray: kE, createHtmlTagObject: Jue, htmlTagObjectToString: Zue }; }); // ../node_modules/lodash/_overArg.js var PE = y((QHe, CB) => { function ele(e, t) { return function(r) { return e(t(r)); }; } a(ele, "overArg"); CB.exports = ele; }); // ../node_modules/lodash/_getPrototype.js var Im = y((JHe, wB) => { var tle = PE(), rle = tle(Object.getPrototypeOf, Object); wB.exports = rle; }); // ../node_modules/lodash/isObjectLike.js var $o = y((eje, OB) => { function nle(e) { return e != null && typeof e == "object"; } a(nle, "isObjectLike"); OB.exports = nle; }); // ../node_modules/lodash/isPlainObject.js var Sh = y((rje, kB) => { var ile = mc(), ale = Im(), sle = $o(), ole = "[object Object]", ule = Function.prototype, lle = Object.prototype, RB = ule.toString, cle = lle. hasOwnProperty, fle = RB.call(Object); function hle(e) { if (!sle(e) || ile(e) != ole) return !1; var t = ale(e); if (t === null) return !0; var r = cle.call(t, "constructor") && t.constructor; return typeof r == "function" && r instanceof r && RB.call(r) == fle; } a(hle, "isPlainObject"); kB.exports = hle; }); // ../node_modules/pretty-error/lib/defaultStyle.js var FB = y((ije, PB) => { PB.exports = function() { return { "pretty-error": { display: "block", marginLeft: "2" }, "pretty-error > header": { display: "block" }, "pretty-error > header > title > kind": { background: "red", color: "bright-white" }, "pretty-error > header > title > wrapper": { marginRight: "1", color: "grey" }, "pretty-error > header > colon": { color: "grey", marginRight: 1 }, "pretty-error > header > message": { color: "bright-white" }, "pretty-error > trace": { display: "block", marginTop: 1 }, "pretty-error > trace > item": { display: "block", marginBottom: 1, marginLeft: 2, bullet: '"-"' }, "pretty-error > trace > item > header": { display: "block" }, "pretty-error > trace > item > header > pointer > file": { color: "bright-yellow" }, "pretty-error > trace > item > header > pointer > colon": { color: "grey" }, "pretty-error > trace > item > header > pointer > line": { color: "bright-yellow", marginRight: 1 }, "pretty-error > trace > item > header > what": { color: "white" }, "pretty-error > trace > item > footer": { display: "block" }, "pretty-error > trace > item > footer > addr": { display: "block", color: "grey" }, "pretty-error > trace > item > footer > extra": { display: "block", color: "grey" } }; }; }); // ../node_modules/pretty-error/lib/ParsedError.js var MB = y((aje, BB) => { var NB, Eh, FE, LB, Nm, IB, IE; FE = require("path"); BB.exports = NB = function() { function e(t) { this.error = t, this._parse(); } return a(e, "ParsedError"), e.prototype._parse = function() { var t; this._trace = [], this._kind = "Error", this._wrapper = "", this.error.wrapper != null && (this._wrapper = String(this.error.wrapper)), typeof this.error != "object" ? this._message = String(this.error) : (this._stack = this.error.stack, this.error.kind != null ? this._kind = String(this.error.kind) : typeof this._stack == "string" && (t = this._stack.match(/^([a-zA-Z0-9\_\$]+):\ /)) && (this._kind = t[1]), this. _message = this.error.message != null && String(this.error.message) || "", typeof this._stack == "string" && this._parseStack()); }, e.prototype._parseStack = function() { var t, r, n, i, s, o, u; for (n = [], i = !1, u = this._stack.split(` `), s = 0, o = u.length; s < o; s++) t = u[s], t.trim() !== "" && (i ? this._trace.push(this._parseTraceItem(t)) : t.match(/^\s*at\s.+/) ? (i = !0, this._trace.push(this. _parseTraceItem(t))) : this._message.split(` `.indexOf(t)) || n.push(t)); r = n.join(` `), r.substr(0, this._kind.length) === this._kind && (r = r.substr(this._kind.length, r.length).replace(/^\:\s+/, "")), r.length && (this._message = this._message.length ? [this._message, r].join(` `) : r); }, e.prototype._parseTraceItem = function(t) { var r, n, i, s, o, u, l, c, f, d, g, b, _, T, p, h, S, D; if (t = t.trim(), t !== "") { if (!t.match(/^at\ /)) return t; if (t = t.replace(/^at /, ""), !(t === "Error ()" || t === "Error (:null:null)")) return d = t, D = null, r = null, _ = null, s = null, o = null, c = null, n = null, l = null, u = null, S = null, h = null, g = "[\ current]", (f = t.match(/\(([^\)]+)\)$/)) && (r = f[1].trim()), r != null && (D = t.substr(0, t.length - r.length - 2), D = D.trim()), r == null && (r = t.trim()), r = this._fixPath(r), p = r, (f = p.match(/\,\ :(\d+):(\d+)$/)) && (l = f[1], u = f[2], p = p.substr(0, p.length - f[0].length)), (f = p.match(/:(\d+):(\d+)$/)) && (c = f[1], n = f[2], p = p.substr(0, p.length - f[0].length), _ = p), _ != null && (o = FE.basename(_), s = FE.dirname(_), s === "." && (s = ""), _ = this._fixPath(_), o = this._fixPath(o), s = this._fixPath(s)), s != null && (i = s.replace(/[\\]{1,2}/g, "/"), (f = i.match(/node_modules\/([^\/]+)(?!.*node_modules.*)/)) && (g = f[1])), l == null && (l = c, u = n), _ != null && (T = this._rectifyPath(_), S = T.path, h = S + r.substr(_.length, r.length), b = T.packages), { original: d, what: D, addr: r, path: _, dir: s, file: o, line: parseInt(c), col: parseInt(n), jsLine: parseInt(l), jsCol: parseInt(u), packageName: g, shortenedPath: S, shortenedAddr: h, packages: b || [] }; } }, e.prototype._getMessage = function() { return this._message; }, e.prototype._getKind = function() { return this._kind; }, e.prototype._getWrapper = function() { return this._wrapper; }, e.prototype._getStack = function() { return this._stack; }, e.prototype._getArguments = function() { return this.error.arguments; }, e.prototype._getType = function() { return this.error.type; }, e.prototype._getTrace = function() { return this._trace; }, e.prototype._fixPath = function(t) { return t.replace(/[\\]{1,2}/g, "/"); }, e.prototype._rectifyPath = function(t, r) { var n, i, s, o, u; if (t = String(t), o = t, !(n = t.match(/^(.+?)\/node_modules\/(.+)$/))) return { path: t, packages: [] }; for (s = [], i = [], typeof r == "string" ? (s.push("[" + r + "]"), i.push("[" + r + "]")) : (s.push("[" + n[1].match(/([^\/]+)$/)[1] + "]"), i.push(n[1].match(/([^\/]+)$/)[1])), u = n[2]; n = u.match(/([^\/]+)\/node_modules\/(.+)$/); ) s.push("[" + n[1] + "]"), i.push(n[1]), u = n[2]; return (n = u.match(/([^\/]+)\/(.+)$/)) && (s.push("[" + n[1] + "]"), i.push(n[1]), u = n[2]), s.push(u), { path: s.join("/"), packages: i }; }, e; }(); IE = ["message", "kind", "arguments", "type", "stack", "trace", "wrapper"]; LB = /* @__PURE__ */ a(function() { var e; return e = "_get" + Eh[0].toUpperCase() + Eh.substr(1, Eh.length), Object.defineProperty(NB.prototype, Eh, { get: /* @__PURE__ */ a(function() { return this[e](); }, "get") }); }, "_fn"); for (Nm = 0, IB = IE.length; Nm < IB; Nm++) Eh = IE[Nm], LB(); }); // ../node_modules/pretty-error/lib/nodePaths.js var UB = y((oje, qB) => { qB.exports = ["_debugger.js", "_http_agent.js", "_http_client.js", "_http_common.js", "_http_incoming.js", "_http_outgoing.js", "_http_ser\ ver.js", "_linklist.js", "_stream_duplex.js", "_stream_passthrough.js", "_stream_readable.js", "_stream_transform.js", "_stream_writable.js", "_tls_legacy.js", "_tls_wrap.js", "assert.js", "buffer.js", "child_process.js", "cluster.js", "console.js", "constants.js", "crypto.js", "\ dgram.js", "dns.js", "domain.js", "events.js", "freelist.js", "fs.js", "http.js", "https.js", "module.js", "net.js", "os.js", "path.js", "pu\ nycode.js", "querystring.js", "readline.js", "repl.js", "smalloc.js", "stream.js", "string_decoder.js", "sys.js", "timers.js", "tls.js", "tt\ y.js", "url.js", "util.js", "vm.js", "zlib.js", "node.js"]; }); // ../node_modules/entities/lib/maps/decode.json var VB = y((uje, ple) => { ple.exports = { "0": 65533, "128": 8364, "130": 8218, "131": 402, "132": 8222, "133": 8230, "134": 8224, "135": 8225, "136": 710, "137": 8240, "138": 352, "139": 8249, "140": 338, "142": 381, "145": 8216, "146": 8217, "147": 8220, "148": 8221, "149": 8226, "150": 8211, "151": 8212, "152": 732, "153": 8482, "154": 353, "155": 8250, "156": 339, "158": 382, "159": 376 }; }); // ../node_modules/entities/lib/decode_codepoint.js var NE = y((Ah) => { "use strict"; var dle = Ah && Ah.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Ah, "__esModule", { value: !0 }); var HB = dle(VB()), mle = ( // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition String.fromCodePoint || function(e) { var t = ""; return e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), t += String.fromCharCode(e), t; } ); function gle(e) { return e >= 55296 && e <= 57343 || e > 1114111 ? "\uFFFD" : (e in HB.default && (e = HB.default[e]), mle(e)); } a(gle, "decodeCodePoint"); Ah.default = gle; }); // ../node_modules/entities/lib/maps/entities.json var Lm = y((fje, _le) => { _le.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\ \xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}", Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\ \u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\ \u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\ \u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5", Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\ \xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\ \u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\ \u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\ \u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\ \u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\ \u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\ \u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\ \u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\ \u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\ \u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\ \u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\ \u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\ \u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\ \u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\ \u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\ \u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\ \u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\ \u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\ \u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\ \u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\ \u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\ \u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\ \u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA", DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\ \u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\ \u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}", dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\ \u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\ \u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\ \u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957", DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}", dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\ \u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9", easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\ \u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}", eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\ \u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\ \u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\ \u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\ \u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\ \u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\ \u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F", Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267", gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\ \u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\ \u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\ \u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\ \u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\ \u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\ \u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\ \u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\ \u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\ \u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\ \u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\ \u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\ \u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}", Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA", kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\ \u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\ \u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\ \u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190", Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\ \u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\ \u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190", Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\ \u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\ \u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\ \u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\ \u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\ \u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\ \u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\u013F", lmidot: "\u0140", lmoustache: "\u23B0", lmoust: "\u23B0", lnap: "\u2A89", lnapprox: "\ \u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\ \u27F5", LongLeftArrow: "\u27F5", Longleftarrow: "\u27F8", longleftrightarrow: "\u27F7", LongLeftRightArrow: "\u27F7", Longleftrightarrow: "\ \u27FA", longmapsto: "\u27FC", longrightarrow: "\u27F6", LongRightArrow: "\u27F6", Longrightarrow: "\u27F9", looparrowleft: "\u21AB", looparrowright: "\ \u21AC", lopar: "\u2985", Lopf: "\u{1D543}", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\ \u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\ \u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", Lstrok: "\u0141", lstrok: "\ \u0142", ltcc: "\u2AA6", ltcir: "\u2A79", lt: "<", LT: "<", Lt: "\u226A", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\ \u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", Map: "\u2905", map: "\u21A6", mapsto: "\ \u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", Mcy: "\u041C", mcy: "\u043C", mdash: "\ \u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midast: "*", midcir: "\u2AF0", mid: "\u2223", middot: "\xB7", minusb: "\u229F", minus: "\u2212", minusd: "\u2238", minusdu: "\ \u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", Mopf: "\u{1D544}", mopf: "\u{1D55E}", mp: "\ \u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", Mu: "\u039C", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", Nacute: "\u0143", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\ \u2249", natural: "\u266E", naturals: "\u2115", natur: "\u266E", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", Ncaron: "\u0147", ncaron: "\u0148", Ncedil: "\u0145", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", Ncy: "\u041D", ncy: "\u043D", ndash: "\u2013", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", ne: "\u2260", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: ` `, nexist: "\u2204", nexists: "\u2204", Nfr: "\u{1D511}", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", nGt: "\u226B\u20D2", ngt: "\u226F", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", NJcy: "\ \u040A", njcy: "\u045A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nlE: "\u2266\u0338", nle: "\u2270", nleftarrow: "\u219A", nLeftarrow: "\ \u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nLt: "\u226A\u20D2", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", Not: "\u2AEC", not: "\xAC", NotCongruent: "\ \u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\ \u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\ \u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\ \u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangle: "\u22EA", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\ \u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\ \u22E0", NotReverseElement: "\u220C", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangle: "\u22EB", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\ \u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\ \u2249", NotVerticalBar: "\u2224", nparallel: "\u2226", npar: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\ \u2280", nprcue: "\u22E0", nprec: "\u2280", npreceq: "\u2AAF\u0338", npre: "\u2AAF\u0338", nrarrc: "\u2933\u0338", nrarr: "\u219B", nrArr: "\ \u21CF", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", Nscr: "\u{1D4A9}", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\ \u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", Ntilde: "\xD1", ntilde: "\ \xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", Nu: "\u039D", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\ \u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", Oacute: "\xD3", oacute: "\xF3", oast: "\u229B", Ocirc: "\xD4", ocirc: "\xF4", ocir: "\u229A", Ocy: "\u041E", ocy: "\u043E", odash: "\u229D", Odblac: "\u0150", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", OElig: "\u0152", oelig: "\ \u0153", ofcir: "\u29BF", Ofr: "\u{1D512}", ofr: "\u{1D52C}", ogon: "\u02DB", Ograve: "\xD2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", Omacr: "\u014C", omacr: "\ \u014D", Omega: "\u03A9", omega: "\u03C9", Omicron: "\u039F", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", Oopf: "\u{1D546}", oopf: "\ \u{1D560}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", orarr: "\u21BB", Or: "\ \u2A54", or: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\ \u2A57", orv: "\u2A5B", oS: "\u24C8", Oscr: "\u{1D4AA}", oscr: "\u2134", Oslash: "\xD8", oslash: "\xF8", osol: "\u2298", Otilde: "\xD5", otilde: "\ \xF5", otimesas: "\u2A36", Otimes: "\u2A37", otimes: "\u2297", Ouml: "\xD6", ouml: "\xF6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", para: "\xB6", parallel: "\u2225", par: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\ \u2202", PartialD: "\u2202", Pcy: "\u041F", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", Pfr: "\ \u{1D513}", pfr: "\u{1D52D}", Phi: "\u03A6", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", Pi: "\u03A0", pi: "\u03C0", pitchfork: "\ \u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plus: "\ +", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", prap: "\u2AB7", Pr: "\u2ABB", pr: "\u227A", prcue: "\u227C", precapprox: "\u2AB7", prec: "\u227A", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\ \u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", pre: "\u2AAF", prE: "\u2AB3", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\ \u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportional: "\u221D", Proportion: "\u2237", propto: "\ \u221D", prsim: "\u227E", prurel: "\u22B0", Pscr: "\u{1D4AB}", pscr: "\u{1D4C5}", Psi: "\u03A8", psi: "\u03C8", puncsp: "\u2008", Qfr: "\u{1D514}", qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", Qscr: "\u{1D4AC}", qscr: "\u{1D4C6}", quaternions: "\ \u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", Racute: "\u0154", racute: "\ \u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarr: "\u2192", Rarr: "\u21A0", rArr: "\u21D2", rarrfs: "\u291E", rarrhk: "\ \u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", Rarrtl: "\u2916", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", rAtail: "\ \u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", Rcaron: "\u0158", rcaron: "\u0159", Rcedil: "\u0156", rcedil: "\u0157", rceil: "\u2309", rcub: "}", Rcy: "\u0420", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", Re: "\u211C", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\ \u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", Rho: "\u03A1", rho: "\u03C1", rhov: "\u03F1", RightAngleBracket: "\u27E9", RightArrowBar: "\u21E5", rightarrow: "\ \u2192", RightArrow: "\u2192", Rightarrow: "\u21D2", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\ \u27E7", RightDownTeeVector: "\u295D", RightDownVectorBar: "\u2955", RightDownVector: "\u21C2", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTeeArrow: "\ \u21A6", RightTee: "\u22A2", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangleBar: "\u29D0", RightTriangle: "\u22B3", RightTriangleEqual: "\ \u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVectorBar: "\u2954", RightUpVector: "\u21BE", RightVectorBar: "\u2953", RightVector: "\u21C0", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoustache: "\u23B1", rmoust: "\ \u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\ \u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\ \u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", Sacute: "\ \u015A", sacute: "\u015B", sbquo: "\u201A", scap: "\u2AB8", Scaron: "\u0160", scaron: "\u0161", Sc: "\u2ABC", sc: "\u227B", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", Scedil: "\u015E", scedil: "\u015F", Scirc: "\u015C", scirc: "\u015D", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\ \u22E9", scpolint: "\u2A13", scsim: "\u227F", Scy: "\u0421", scy: "\u0441", sdotb: "\u22A1", sdot: "\u22C5", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\ \u2736", Sfr: "\u{1D516}", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", SHCHcy: "\u0429", shchcy: "\u0449", SHcy: "\u0428", shcy: "\u0448", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\ \u2191", shy: "\xAD", Sigma: "\u03A3", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\ \u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", SOFTcy: "\u042C", softcy: "\u044C", solbar: "\u233F", solb: "\u29C4", sol: "/", Sopf: "\u{1D54A}", sopf: "\ \u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\ \u2290", sqsupseteq: "\u2292", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\ \u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squ: "\u25A1", squf: "\u25AA", srarr: "\ \u2192", Sscr: "\u{1D4AE}", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", Star: "\u22C6", star: "\u2606", starf: "\ \u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", subE: "\u2AC5", sube: "\ \u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\ \u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\ \u2AD5", subsup: "\u2AD3", succapprox: "\u2AB8", succ: "\u227B", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\ \u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\ \u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", sup: "\u2283", Sup: "\u22D1", supdot: "\u2ABE", supdsub: "\u2AD8", supE: "\u2AC6", supe: "\u2287", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\ \u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\ \u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: " ", target: "\u2316", Tau: "\u03A4", tau: "\u03C4", tbrk: "\u23B4", Tcaron: "\u0164", tcaron: "\u0165", Tcedil: "\u0162", tcedil: "\u0163", Tcy: "\u0422", tcy: "\u0442", tdot: "\u20DB", telrec: "\ \u2315", Tfr: "\u{1D517}", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", Theta: "\u0398", theta: "\u03B8", thetasym: "\ \u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", thkap: "\ \u2248", thksim: "\u223C", THORN: "\xDE", thorn: "\xFE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\ \u2248", timesbar: "\u2A31", timesb: "\u22A0", times: "\xD7", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", topbot: "\u2336", topcir: "\u2AF1", top: "\u22A4", Topf: "\u{1D54B}", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\ \u2A3B", trpezium: "\u23E2", Tscr: "\u{1D4AF}", tscr: "\u{1D4C9}", TScy: "\u0426", tscy: "\u0446", TSHcy: "\u040B", tshcy: "\u045B", Tstrok: "\ \u0166", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", Uacute: "\xDA", uacute: "\xFA", uarr: "\ \u2191", Uarr: "\u219F", uArr: "\u21D1", Uarrocir: "\u2949", Ubrcy: "\u040E", ubrcy: "\u045E", Ubreve: "\u016C", ubreve: "\u016D", Ucirc: "\xDB", ucirc: "\xFB", Ucy: "\u0423", ucy: "\u0443", udarr: "\u21C5", Udblac: "\u0170", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", Ufr: "\ \u{1D518}", ufr: "\u{1D532}", Ugrave: "\xD9", ugrave: "\xF9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", Umacr: "\u016A", umacr: "\u016B", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", uogon: "\u0173", Uopf: "\u{1D54C}", uopf: "\u{1D566}", UpArrowBar: "\u2912", uparrow: "\u2191", UpArrow: "\u2191", Uparrow: "\u21D1", UpArrowDownArrow: "\u21C5", updownarrow: "\ \u2195", UpDownArrow: "\u2195", Updownarrow: "\u21D5", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", upsilon: "\u03C5", UpTeeArrow: "\u21A5", UpTee: "\u22A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", Uring: "\u016E", uring: "\ \u016F", urtri: "\u25F9", Uscr: "\u{1D4B0}", uscr: "\u{1D4CA}", utdot: "\u22F0", Utilde: "\u0168", utilde: "\u0169", utri: "\u25B5", utrif: "\ \u25B4", uuarr: "\u21C8", Uuml: "\xDC", uuml: "\xFC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\ \u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\ \u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\ \u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", Vcy: "\u0412", vcy: "\u0432", vdash: "\u22A2", vDash: "\ \u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", veebar: "\u22BB", vee: "\u2228", Vee: "\u22C1", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\ \u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", Vopf: "\ \u{1D54D}", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", Vscr: "\u{1D4B1}", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00", vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", Wcirc: "\u0174", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\ \u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", Wfr: "\u{1D51A}", wfr: "\u{1D534}", Wopf: "\u{1D54E}", wopf: "\u{1D568}", wp: "\ \u2118", wr: "\u2240", wreath: "\u2240", Wscr: "\u{1D4B2}", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", Xfr: "\u{1D51B}", xfr: "\u{1D535}", xharr: "\u27F7", xhArr: "\u27FA", Xi: "\u039E", xi: "\u03BE", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\ \u27FC", xnis: "\u22FB", xodot: "\u2A00", Xopf: "\u{1D54F}", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\ \u27F9", Xscr: "\u{1D4B3}", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", Yacute: "\ \xDD", yacute: "\xFD", YAcy: "\u042F", yacy: "\u044F", Ycirc: "\u0176", ycirc: "\u0177", Ycy: "\u042B", ycy: "\u044B", yen: "\xA5", Yfr: "\u{1D51C}", yfr: "\u{1D536}", YIcy: "\u0407", yicy: "\u0457", Yopf: "\u{1D550}", yopf: "\u{1D56A}", Yscr: "\u{1D4B4}", yscr: "\u{1D4CE}", YUcy: "\u042E", yucy: "\u044E", yuml: "\xFF", Yuml: "\u0178", Zacute: "\u0179", zacute: "\u017A", Zcaron: "\u017D", zcaron: "\u017E", Zcy: "\u0417", zcy: "\ \u0437", Zdot: "\u017B", zdot: "\u017C", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", Zeta: "\u0396", zeta: "\u03B6", zfr: "\u{1D537}", Zfr: "\ \u2128", ZHcy: "\u0416", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", Zscr: "\u{1D4B5}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" }; }); // ../node_modules/entities/lib/maps/legacy.json var LE = y((hje, vle) => { vle.exports = { Aacute: "\xC1", aacute: "\xE1", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", AElig: "\xC6", aelig: "\xE6", Agrave: "\xC0", agrave: "\xE0", amp: "&", AMP: "&", Aring: "\xC5", aring: "\xE5", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", brvbar: "\xA6", Ccedil: "\xC7", ccedil: "\xE7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", Eacute: "\ \xC9", eacute: "\xE9", Ecirc: "\xCA", ecirc: "\xEA", Egrave: "\xC8", egrave: "\xE8", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", frac12: "\ \xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", Iacute: "\xCD", iacute: "\xED", Icirc: "\xCE", icirc: "\xEE", iexcl: "\xA1", Igrave: "\ \xCC", igrave: "\xEC", iquest: "\xBF", Iuml: "\xCF", iuml: "\xEF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", Ntilde: "\xD1", ntilde: "\xF1", Oacute: "\xD3", oacute: "\xF3", Ocirc: "\xD4", ocirc: "\xF4", Ograve: "\xD2", ograve: "\ \xF2", ordf: "\xAA", ordm: "\xBA", Oslash: "\xD8", oslash: "\xF8", Otilde: "\xD5", otilde: "\xF5", Ouml: "\xD6", ouml: "\xF6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\ \xB2", sup3: "\xB3", szlig: "\xDF", THORN: "\xDE", thorn: "\xFE", times: "\xD7", Uacute: "\xDA", uacute: "\xFA", Ucirc: "\xDB", ucirc: "\xFB", Ugrave: "\xD9", ugrave: "\xF9", uml: "\xA8", Uuml: "\xDC", uuml: "\xFC", Yacute: "\xDD", yacute: "\xFD", yen: "\xA5", yuml: "\xFF" }; }); // ../node_modules/entities/lib/maps/xml.json var Bm = y((pje, ble) => { ble.exports = { amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }; }); // ../node_modules/renderkid/node_modules/htmlparser2/lib/Tokenizer.js var ME = y((Th) => { "use strict"; var Mm = Th && Th.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Th, "__esModule", { value: !0 }); var yle = Mm(NE()), Sle = Mm(Lm()), BE = Mm(LE()), Ele = Mm(Bm()); function Qi(e) { return e === " " || e === ` ` || e === " " || e === "\f" || e === "\r"; } a(Qi, "whitespace"); function jB(e) { return e >= "a" && e <= "z" || e >= "A" && e <= "Z"; } a(jB, "isASCIIAlpha"); function Nn(e, t, r) { var n = e.toLowerCase(); return e === n ? function(i, s) { s === n ? i._state = t : (i._state = r, i._index--); } : function(i, s) { s === n || s === e ? i._state = t : (i._state = r, i._index--); }; } a(Nn, "ifElseState"); function ja(e, t) { var r = e.toLowerCase(); return function(n, i) { i === r || i === e ? n._state = t : (n._state = 3, n._index--); }; } a(ja, "consumeSpecialNameChar"); var Ale = Nn( "C", 24, 16 /* InDeclaration */ ), Tle = Nn( "D", 25, 16 /* InDeclaration */ ), Dle = Nn( "A", 26, 16 /* InDeclaration */ ), xle = Nn( "T", 27, 16 /* InDeclaration */ ), Cle = Nn( "A", 28, 16 /* InDeclaration */ ), wle = ja( "R", 35 /* BeforeScript2 */ ), Ole = ja( "I", 36 /* BeforeScript3 */ ), Rle = ja( "P", 37 /* BeforeScript4 */ ), kle = ja( "T", 38 /* BeforeScript5 */ ), Ple = Nn( "R", 40, 1 /* Text */ ), Fle = Nn( "I", 41, 1 /* Text */ ), Ile = Nn( "P", 42, 1 /* Text */ ), Nle = Nn( "T", 43, 1 /* Text */ ), Lle = ja( "Y", 45 /* BeforeStyle2 */ ), Ble = ja( "L", 46 /* BeforeStyle3 */ ), Mle = ja( "E", 47 /* BeforeStyle4 */ ), qle = Nn( "Y", 49, 1 /* Text */ ), Ule = Nn( "L", 50, 1 /* Text */ ), Vle = Nn( "E", 51, 1 /* Text */ ), Hle = ja( "I", 54 /* BeforeTitle1 */ ), jle = ja( "T", 55 /* BeforeTitle2 */ ), Gle = ja( "L", 56 /* BeforeTitle3 */ ), zle = ja( "E", 57 /* BeforeTitle4 */ ), Kle = Nn( "I", 58, 1 /* Text */ ), Wle = Nn( "T", 59, 1 /* Text */ ), $le = Nn( "L", 60, 1 /* Text */ ), Xle = Nn( "E", 61, 1 /* Text */ ), Yle = Nn( "#", 63, 64 /* InNamedEntity */ ), Qle = Nn( "X", 66, 65 /* InNumericEntity */ ), Zle = ( /** @class */ function() { function e(t, r) { var n; this._state = 1, this.buffer = "", this.sectionStart = 0, this._index = 0, this.bufferOffset = 0, this.baseState = 1, this.special = 1, this.running = !0, this.ended = !1, this.cbs = r, this.xmlMode = !!t?.xmlMode, this.decodeEntities = (n = t?.decodeEntities) !== null && n !== void 0 ? n : !0; } return a(e, "Tokenizer"), e.prototype.reset = function() { this._state = 1, this.buffer = "", this.sectionStart = 0, this._index = 0, this.bufferOffset = 0, this.baseState = 1, this.special = 1, this.running = !0, this.ended = !1; }, e.prototype.write = function(t) { this.ended && this.cbs.onerror(Error(".write() after done!")), this.buffer += t, this.parse(); }, e.prototype.end = function(t) { this.ended && this.cbs.onerror(Error(".end() after done!")), t && this.write(t), this.ended = !0, this.running && this.finish(); }, e.prototype.pause = function() { this.running = !1; }, e.prototype.resume = function() { this.running = !0, this._index < this.buffer.length && this.parse(), this.ended && this.finish(); }, e.prototype.getAbsoluteIndex = function() { return this.bufferOffset + this._index; }, e.prototype.stateText = function(t) { t === "<" ? (this._index > this.sectionStart && this.cbs.ontext(this.getSection()), this._state = 2, this.sectionStart = this._index) : this.decodeEntities && t === "&" && (this.special === 1 || this.special === 4) && (this._index > this.sectionStart && this.cbs.ontext( this.getSection()), this.baseState = 1, this._state = 62, this.sectionStart = this._index); }, e.prototype.isTagStartChar = function(t) { return jB(t) || this.xmlMode && !Qi(t) && t !== "/" && t !== ">"; }, e.prototype.stateBeforeTagName = function(t) { t === "/" ? this._state = 5 : t === "<" ? (this.cbs.ontext(this.getSection()), this.sectionStart = this._index) : t === ">" || this. special !== 1 || Qi(t) ? this._state = 1 : t === "!" ? (this._state = 15, this.sectionStart = this._index + 1) : t === "?" ? (this._state = 17, this.sectionStart = this._index + 1) : this.isTagStartChar(t) ? (this._state = !this.xmlMode && (t === "s" || t === "S") ? 32 : !this. xmlMode && (t === "t" || t === "T") ? 52 : 3, this.sectionStart = this._index) : this._state = 1; }, e.prototype.stateInTagName = function(t) { (t === "/" || t === ">" || Qi(t)) && (this.emitToken("onopentagname"), this._state = 8, this._index--); }, e.prototype.stateBeforeClosingTagName = function(t) { Qi(t) || (t === ">" ? this._state = 1 : this.special !== 1 ? this.special !== 4 && (t === "s" || t === "S") ? this._state = 33 : this. special === 4 && (t === "t" || t === "T") ? this._state = 53 : (this._state = 1, this._index--) : this.isTagStartChar(t) ? (this._state = 6, this.sectionStart = this._index) : (this._state = 20, this.sectionStart = this._index)); }, e.prototype.stateInClosingTagName = function(t) { (t === ">" || Qi(t)) && (this.emitToken("onclosetag"), this._state = 7, this._index--); }, e.prototype.stateAfterClosingTagName = function(t) { t === ">" && (this._state = 1, this.sectionStart = this._index + 1); }, e.prototype.stateBeforeAttributeName = function(t) { t === ">" ? (this.cbs.onopentagend(), this._state = 1, this.sectionStart = this._index + 1) : t === "/" ? this._state = 4 : Qi(t) || (this._state = 9, this.sectionStart = this._index); }, e.prototype.stateInSelfClosingTag = function(t) { t === ">" ? (this.cbs.onselfclosingtag(), this._state = 1, this.sectionStart = this._index + 1, this.special = 1) : Qi(t) || (this._state = 8, this._index--); }, e.prototype.stateInAttributeName = function(t) { (t === "=" || t === "/" || t === ">" || Qi(t)) && (this.cbs.onattribname(this.getSection()), this.sectionStart = -1, this._state = 10, this._index--); }, e.prototype.stateAfterAttributeName = function(t) { t === "=" ? this._state = 11 : t === "/" || t === ">" ? (this.cbs.onattribend(void 0), this._state = 8, this._index--) : Qi(t) || (this. cbs.onattribend(void 0), this._state = 9, this.sectionStart = this._index); }, e.prototype.stateBeforeAttributeValue = function(t) { t === '"' ? (this._state = 12, this.sectionStart = this._index + 1) : t === "'" ? (this._state = 13, this.sectionStart = this._index + 1) : Qi(t) || (this._state = 14, this.sectionStart = this._index, this._index--); }, e.prototype.handleInAttributeValue = function(t, r) { t === r ? (this.emitToken("onattribdata"), this.cbs.onattribend(r), this._state = 8) : this.decodeEntities && t === "&" && (this.emitToken( "onattribdata"), this.baseState = this._state, this._state = 62, this.sectionStart = this._index); }, e.prototype.stateInAttributeValueDoubleQuotes = function(t) { this.handleInAttributeValue(t, '"'); }, e.prototype.stateInAttributeValueSingleQuotes = function(t) { this.handleInAttributeValue(t, "'"); }, e.prototype.stateInAttributeValueNoQuotes = function(t) { Qi(t) || t === ">" ? (this.emitToken("onattribdata"), this.cbs.onattribend(null), this._state = 8, this._index--) : this.decodeEntities && t === "&" && (this.emitToken("onattribdata"), this.baseState = this._state, this._state = 62, this.sectionStart = this._index); }, e.prototype.stateBeforeDeclaration = function(t) { this._state = t === "[" ? 23 : t === "-" ? 18 : 16; }, e.prototype.stateInDeclaration = function(t) { t === ">" && (this.cbs.ondeclaration(this.getSection()), this._state = 1, this.sectionStart = this._index + 1); }, e.prototype.stateInProcessingInstruction = function(t) { t === ">" && (this.cbs.onprocessinginstruction(this.getSection()), this._state = 1, this.sectionStart = this._index + 1); }, e.prototype.stateBeforeComment = function(t) { t === "-" ? (this._state = 19, this.sectionStart = this._index + 1) : this._state = 16; }, e.prototype.stateInComment = function(t) { t === "-" && (this._state = 21); }, e.prototype.stateInSpecialComment = function(t) { t === ">" && (this.cbs.oncomment(this.buffer.substring(this.sectionStart, this._index)), this._state = 1, this.sectionStart = this._index + 1); }, e.prototype.stateAfterComment1 = function(t) { t === "-" ? this._state = 22 : this._state = 19; }, e.prototype.stateAfterComment2 = function(t) { t === ">" ? (this.cbs.oncomment(this.buffer.substring(this.sectionStart, this._index - 2)), this._state = 1, this.sectionStart = this. _index + 1) : t !== "-" && (this._state = 19); }, e.prototype.stateBeforeCdata6 = function(t) { t === "[" ? (this._state = 29, this.sectionStart = this._index + 1) : (this._state = 16, this._index--); }, e.prototype.stateInCdata = function(t) { t === "]" && (this._state = 30); }, e.prototype.stateAfterCdata1 = function(t) { t === "]" ? this._state = 31 : this._state = 29; }, e.prototype.stateAfterCdata2 = function(t) { t === ">" ? (this.cbs.oncdata(this.buffer.substring(this.sectionStart, this._index - 2)), this._state = 1, this.sectionStart = this. _index + 1) : t !== "]" && (this._state = 29); }, e.prototype.stateBeforeSpecialS = function(t) { t === "c" || t === "C" ? this._state = 34 : t === "t" || t === "T" ? this._state = 44 : (this._state = 3, this._index--); }, e.prototype.stateBeforeSpecialSEnd = function(t) { this.special === 2 && (t === "c" || t === "C") ? this._state = 39 : this.special === 3 && (t === "t" || t === "T") ? this._state = 48 : this._state = 1; }, e.prototype.stateBeforeSpecialLast = function(t, r) { (t === "/" || t === ">" || Qi(t)) && (this.special = r), this._state = 3, this._index--; }, e.prototype.stateAfterSpecialLast = function(t, r) { t === ">" || Qi(t) ? (this.special = 1, this._state = 6, this.sectionStart = this._index - r, this._index--) : this._state = 1; }, e.prototype.parseFixedEntity = function(t) { if (t === void 0 && (t = this.xmlMode ? Ele.default : Sle.default), this.sectionStart + 1 < this._index) { var r = this.buffer.substring(this.sectionStart + 1, this._index); Object.prototype.hasOwnProperty.call(t, r) && (this.emitPartial(t[r]), this.sectionStart = this._index + 1); } }, e.prototype.parseLegacyEntity = function() { for (var t = this.sectionStart + 1, r = Math.min(this._index - t, 6); r >= 2; ) { var n = this.buffer.substr(t, r); if (Object.prototype.hasOwnProperty.call(BE.default, n)) { this.emitPartial(BE.default[n]), this.sectionStart += r + 1; return; } r--; } }, e.prototype.stateInNamedEntity = function(t) { t === ";" ? (this.parseFixedEntity(), this.baseState === 1 && this.sectionStart + 1 < this._index && !this.xmlMode && this.parseLegacyEntity(), this._state = this.baseState) : (t < "0" || t > "9") && !jB(t) && (this.xmlMode || this.sectionStart + 1 === this._index || (this.baseState !== 1 ? t !== "=" && this.parseFixedEntity(BE.default) : this.parseLegacyEntity()), this._state = this.baseState, this._index--); }, e.prototype.decodeNumericEntity = function(t, r, n) { var i = this.sectionStart + t; if (i !== this._index) { var s = this.buffer.substring(i, this._index), o = parseInt(s, r); this.emitPartial(yle.default(o)), this.sectionStart = n ? this._index + 1 : this._index; } this._state = this.baseState; }, e.prototype.stateInNumericEntity = function(t) { t === ";" ? this.decodeNumericEntity(2, 10, !0) : (t < "0" || t > "9") && (this.xmlMode ? this._state = this.baseState : this.decodeNumericEntity( 2, 10, !1), this._index--); }, e.prototype.stateInHexEntity = function(t) { t === ";" ? this.decodeNumericEntity(3, 16, !0) : (t < "a" || t > "f") && (t < "A" || t > "F") && (t < "0" || t > "9") && (this.xmlMode ? this._state = this.baseState : this.decodeNumericEntity(3, 16, !1), this._index--); }, e.prototype.cleanup = function() { this.sectionStart < 0 ? (this.buffer = "", this.bufferOffset += this._index, this._index = 0) : this.running && (this._state === 1 ? (this.sectionStart !== this._index && this.cbs.ontext(this.buffer.substr(this.sectionStart)), this.buffer = "", this.bufferOffset += this._index, this._index = 0) : this.sectionStart === this._index ? (this.buffer = "", this.bufferOffset += this._index, this._index = 0) : (this.buffer = this.buffer.substr(this.sectionStart), this._index -= this.sectionStart, this.bufferOffset += this.sectionStart), this.sectionStart = 0); }, e.prototype.parse = function() { for (; this._index < this.buffer.length && this.running; ) { var t = this.buffer.charAt(this._index); this._state === 1 ? this.stateText(t) : this._state === 12 ? this.stateInAttributeValueDoubleQuotes(t) : this._state === 9 ? this. stateInAttributeName(t) : this._state === 19 ? this.stateInComment(t) : this._state === 20 ? this.stateInSpecialComment(t) : this. _state === 8 ? this.stateBeforeAttributeName(t) : this._state === 3 ? this.stateInTagName(t) : this._state === 6 ? this.stateInClosingTagName( t) : this._state === 2 ? this.stateBeforeTagName(t) : this._state === 10 ? this.stateAfterAttributeName(t) : this._state === 13 ? this. stateInAttributeValueSingleQuotes(t) : this._state === 11 ? this.stateBeforeAttributeValue(t) : this._state === 5 ? this.stateBeforeClosingTagName( t) : this._state === 7 ? this.stateAfterClosingTagName(t) : this._state === 32 ? this.stateBeforeSpecialS(t) : this._state === 21 ? this.stateAfterComment1(t) : this._state === 14 ? this.stateInAttributeValueNoQuotes(t) : this._state === 4 ? this.stateInSelfClosingTag( t) : this._state === 16 ? this.stateInDeclaration(t) : this._state === 15 ? this.stateBeforeDeclaration(t) : this._state === 22 ? this. stateAfterComment2(t) : this._state === 18 ? this.stateBeforeComment(t) : this._state === 33 ? this.stateBeforeSpecialSEnd(t) : this. _state === 53 ? Kle(this, t) : this._state === 39 ? Ple(this, t) : this._state === 40 ? Fle(this, t) : this._state === 41 ? Ile(this, t) : this._state === 34 ? wle(this, t) : this._state === 35 ? Ole(this, t) : this._state === 36 ? Rle(this, t) : this._state === 37 ? kle(this, t) : this._state === 38 ? this.stateBeforeSpecialLast( t, 2 /* Script */ ) : this._state === 42 ? Nle(this, t) : this._state === 43 ? this.stateAfterSpecialLast(t, 6) : this._state === 44 ? Lle(this, t) : this._state === 29 ? this.stateInCdata(t) : this._state === 45 ? Ble(this, t) : this._state === 46 ? Mle(this, t) : this._state === 47 ? this.stateBeforeSpecialLast( t, 3 /* Style */ ) : this._state === 48 ? qle(this, t) : this._state === 49 ? Ule(this, t) : this._state === 50 ? Vle(this, t) : this._state === 51 ? this.stateAfterSpecialLast(t, 5) : this._state === 52 ? Hle(this, t) : this._state === 54 ? jle(this, t) : this._state === 55 ? Gle( this, t) : this._state === 56 ? zle(this, t) : this._state === 57 ? this.stateBeforeSpecialLast( t, 4 /* Title */ ) : this._state === 58 ? Wle(this, t) : this._state === 59 ? $le(this, t) : this._state === 60 ? Xle(this, t) : this._state === 61 ? this.stateAfterSpecialLast(t, 5) : this._state === 17 ? this.stateInProcessingInstruction(t) : this._state === 64 ? this.stateInNamedEntity( t) : this._state === 23 ? Ale(this, t) : this._state === 62 ? Yle(this, t) : this._state === 24 ? Tle(this, t) : this._state === 25 ? Dle(this, t) : this._state === 30 ? this.stateAfterCdata1(t) : this._state === 31 ? this.stateAfterCdata2(t) : this._state === 26 ? xle(this, t) : this._state === 27 ? Cle(this, t) : this._state === 28 ? this.stateBeforeCdata6(t) : this._state === 66 ? this.stateInHexEntity( t) : this._state === 65 ? this.stateInNumericEntity(t) : this._state === 63 ? Qle(this, t) : this.cbs.onerror(Error("unknown _stat\ e"), this._state), this._index++; } this.cleanup(); }, e.prototype.finish = function() { this.sectionStart < this._index && this.handleTrailingData(), this.cbs.onend(); }, e.prototype.handleTrailingData = function() { var t = this.buffer.substr(this.sectionStart); this._state === 29 || this._state === 30 || this._state === 31 ? this.cbs.oncdata(t) : this._state === 19 || this._state === 21 || this. _state === 22 ? this.cbs.oncomment(t) : this._state === 64 && !this.xmlMode ? (this.parseLegacyEntity(), this.sectionStart < this._index && (this._state = this.baseState, this.handleTrailingData())) : this._state === 65 && !this.xmlMode ? (this.decodeNumericEntity(2, 10, !1), this.sectionStart < this._index && (this._state = this.baseState, this.handleTrailingData())) : this._state === 66 && !this.xmlMode ? (this.decodeNumericEntity(3, 16, !1), this.sectionStart < this._index && (this._state = this.baseState, this.handleTrailingData())) : this._state !== 3 && this._state !== 8 && this._state !== 11 && this._state !== 10 && this._state !== 9 && this._state !== 13 && this. _state !== 12 && this._state !== 14 && this._state !== 6 && this.cbs.ontext(t); }, e.prototype.getSection = function() { return this.buffer.substring(this.sectionStart, this._index); }, e.prototype.emitToken = function(t) { this.cbs[t](this.getSection()), this.sectionStart = -1; }, e.prototype.emitPartial = function(t) { this.baseState !== 1 ? this.cbs.onattribdata(t) : this.cbs.ontext(t); }, e; }() ); Th.default = Zle; }); // ../node_modules/renderkid/node_modules/htmlparser2/lib/Parser.js var UE = y((yc) => { "use strict"; var Jle = yc && yc.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(yc, "__esModule", { value: !0 }); yc.Parser = void 0; var ece = Jle(ME()), bc = /* @__PURE__ */ new Set([ "input", "option", "optgroup", "select", "button", "datalist", "textarea" ]), Yt = /* @__PURE__ */ new Set(["p"]), GB = { tr: /* @__PURE__ */ new Set(["tr", "th", "td"]), th: /* @__PURE__ */ new Set(["th"]), td: /* @__PURE__ */ new Set(["thead", "th", "td"]), body: /* @__PURE__ */ new Set(["head", "link", "script"]), li: /* @__PURE__ */ new Set(["li"]), p: Yt, h1: Yt, h2: Yt, h3: Yt, h4: Yt, h5: Yt, h6: Yt, select: bc, input: bc, output: bc, button: bc, datalist: bc, textarea: bc, option: /* @__PURE__ */ new Set(["option"]), optgroup: /* @__PURE__ */ new Set(["optgroup", "option"]), dd: /* @__PURE__ */ new Set(["dt", "dd"]), dt: /* @__PURE__ */ new Set(["dt", "dd"]), address: Yt, article: Yt, aside: Yt, blockquote: Yt, details: Yt, div: Yt, dl: Yt, fieldset: Yt, figcaption: Yt, figure: Yt, footer: Yt, form: Yt, header: Yt, hr: Yt, main: Yt, nav: Yt, ol: Yt, pre: Yt, section: Yt, table: Yt, ul: Yt, rt: /* @__PURE__ */ new Set(["rt", "rp"]), rp: /* @__PURE__ */ new Set(["rt", "rp"]), tbody: /* @__PURE__ */ new Set(["thead", "tbody"]), tfoot: /* @__PURE__ */ new Set(["thead", "tbody"]) }, qE = /* @__PURE__ */ new Set([ "area", "base", "basefont", "br", "col", "command", "embed", "frame", "hr", "img", "input", "isindex", "keygen", "link", "meta", "param", "source", "track", "wbr" ]), zB = /* @__PURE__ */ new Set(["math", "svg"]), KB = /* @__PURE__ */ new Set([ "mi", "mo", "mn", "ms", "mtext", "annotation-xml", "foreignObject", "desc", "title" ]), tce = /\s|\//, rce = ( /** @class */ function() { function e(t, r) { r === void 0 && (r = {}); var n, i, s, o, u; this.startIndex = 0, this.endIndex = null, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this. stack = [], this.foreignContext = [], this.options = r, this.cbs = t ?? {}, this.lowerCaseTagNames = (n = r.lowerCaseTags) !== null && n !== void 0 ? n : !r.xmlMode, this.lowerCaseAttributeNames = (i = r.lowerCaseAttributeNames) !== null && i !== void 0 ? i : !r.xmlMode, this.tokenizer = new ((s = r.Tokenizer) !== null && s !== void 0 ? s : ece.default)(this.options, this), (u = (o = this.cbs).onparserinit) === null || u === void 0 || u.call(o, this); } return a(e, "Parser"), e.prototype.updatePosition = function(t) { this.endIndex === null ? this.tokenizer.sectionStart <= t ? this.startIndex = 0 : this.startIndex = this.tokenizer.sectionStart - t : this.startIndex = this.endIndex + 1, this.endIndex = this.tokenizer.getAbsoluteIndex(); }, e.prototype.ontext = function(t) { var r, n; this.updatePosition(1), this.endIndex--, (n = (r = this.cbs).ontext) === null || n === void 0 || n.call(r, t); }, e.prototype.onopentagname = function(t) { var r, n; if (this.lowerCaseTagNames && (t = t.toLowerCase()), this.tagname = t, !this.options.xmlMode && Object.prototype.hasOwnProperty.call( GB, t)) for (var i = void 0; this.stack.length > 0 && GB[t].has(i = this.stack[this.stack.length - 1]); ) this.onclosetag(i); (this.options.xmlMode || !qE.has(t)) && (this.stack.push(t), zB.has(t) ? this.foreignContext.push(!0) : KB.has(t) && this.foreignContext. push(!1)), (n = (r = this.cbs).onopentagname) === null || n === void 0 || n.call(r, t), this.cbs.onopentag && (this.attribs = {}); }, e.prototype.onopentagend = function() { var t, r; this.updatePosition(1), this.attribs && ((r = (t = this.cbs).onopentag) === null || r === void 0 || r.call(t, this.tagname, this.attribs), this.attribs = null), !this.options.xmlMode && this.cbs.onclosetag && qE.has(this.tagname) && this.cbs.onclosetag(this.tagname), this. tagname = ""; }, e.prototype.onclosetag = function(t) { if (this.updatePosition(1), this.lowerCaseTagNames && (t = t.toLowerCase()), (zB.has(t) || KB.has(t)) && this.foreignContext.pop(), this. stack.length && (this.options.xmlMode || !qE.has(t))) { var r = this.stack.lastIndexOf(t); if (r !== -1) if (this.cbs.onclosetag) for (r = this.stack.length - r; r--; ) this.cbs.onclosetag(this.stack.pop()); else this.stack.length = r; else t === "p" && !this.options.xmlMode && (this.onopentagname(t), this.closeCurrentTag()); } else !this.options.xmlMode && (t === "br" || t === "p") && (this.onopentagname(t), this.closeCurrentTag()); }, e.prototype.onselfclosingtag = function() { this.options.xmlMode || this.options.recognizeSelfClosing || this.foreignContext[this.foreignContext.length - 1] ? this.closeCurrentTag() : this.onopentagend(); }, e.prototype.closeCurrentTag = function() { var t, r, n = this.tagname; this.onopentagend(), this.stack[this.stack.length - 1] === n && ((r = (t = this.cbs).onclosetag) === null || r === void 0 || r.call( t, n), this.stack.pop()); }, e.prototype.onattribname = function(t) { this.lowerCaseAttributeNames && (t = t.toLowerCase()), this.attribname = t; }, e.prototype.onattribdata = function(t) { this.attribvalue += t; }, e.prototype.onattribend = function(t) { var r, n; (n = (r = this.cbs).onattribute) === null || n === void 0 || n.call(r, this.attribname, this.attribvalue, t), this.attribs && !Object. prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribname = "", this.attribvalue = ""; }, e.prototype.getInstructionName = function(t) { var r = t.search(tce), n = r < 0 ? t : t.substr(0, r); return this.lowerCaseTagNames && (n = n.toLowerCase()), n; }, e.prototype.ondeclaration = function(t) { if (this.cbs.onprocessinginstruction) { var r = this.getInstructionName(t); this.cbs.onprocessinginstruction("!" + r, "!" + t); } }, e.prototype.onprocessinginstruction = function(t) { if (this.cbs.onprocessinginstruction) { var r = this.getInstructionName(t); this.cbs.onprocessinginstruction("?" + r, "?" + t); } }, e.prototype.oncomment = function(t) { var r, n, i, s; this.updatePosition(4), (n = (r = this.cbs).oncomment) === null || n === void 0 || n.call(r, t), (s = (i = this.cbs).oncommentend) === null || s === void 0 || s.call(i); }, e.prototype.oncdata = function(t) { var r, n, i, s, o, u; this.updatePosition(1), this.options.xmlMode || this.options.recognizeCDATA ? ((n = (r = this.cbs).oncdatastart) === null || n === void 0 || n.call(r), (s = (i = this.cbs).ontext) === null || s === void 0 || s.call(i, t), (u = (o = this.cbs).oncdataend) === null || u === void 0 || u.call(o)) : this.oncomment("[CDATA[" + t + "]]"); }, e.prototype.onerror = function(t) { var r, n; (n = (r = this.cbs).onerror) === null || n === void 0 || n.call(r, t); }, e.prototype.onend = function() { var t, r; if (this.cbs.onclosetag) for (var n = this.stack.length; n > 0; this.cbs.onclosetag(this.stack[--n])) ; (r = (t = this.cbs).onend) === null || r === void 0 || r.call(t); }, e.prototype.reset = function() { var t, r, n, i; (r = (t = this.cbs).onreset) === null || r === void 0 || r.call(t), this.tokenizer.reset(), this.tagname = "", this.attribname = "", this.attribs = null, this.stack = [], (i = (n = this.cbs).onparserinit) === null || i === void 0 || i.call(n, this); }, e.prototype.parseComplete = function(t) { this.reset(), this.end(t); }, e.prototype.write = function(t) { this.tokenizer.write(t); }, e.prototype.end = function(t) { this.tokenizer.end(t); }, e.prototype.pause = function() { this.tokenizer.pause(); }, e.prototype.resume = function() { this.tokenizer.resume(); }, e.prototype.parseChunk = function(t) { this.write(t); }, e.prototype.done = function(t) { this.end(t); }, e; }() ); yc.Parser = rce; }); // ../node_modules/domelementtype/lib/index.js var Sc = y((pr) => { "use strict"; Object.defineProperty(pr, "__esModule", { value: !0 }); pr.Doctype = pr.CDATA = pr.Tag = pr.Style = pr.Script = pr.Comment = pr.Directive = pr.Text = pr.Root = pr.isTag = pr.ElementType = void 0; var Zi; (function(e) { e.Root = "root", e.Text = "text", e.Directive = "directive", e.Comment = "comment", e.Script = "script", e.Style = "style", e.Tag = "tag", e.CDATA = "cdata", e.Doctype = "doctype"; })(Zi = pr.ElementType || (pr.ElementType = {})); function nce(e) { return e.type === Zi.Tag || e.type === Zi.Script || e.type === Zi.Style; } a(nce, "isTag"); pr.isTag = nce; pr.Root = Zi.Root; pr.Text = Zi.Text; pr.Directive = Zi.Directive; pr.Comment = Zi.Comment; pr.Script = Zi.Script; pr.Style = Zi.Style; pr.Tag = Zi.Tag; pr.CDATA = Zi.CDATA; pr.Doctype = Zi.Doctype; }); // ../node_modules/domhandler/lib/node.js var GE = y((ft) => { "use strict"; var Bu = ft && ft.__extends || /* @__PURE__ */ function() { var e = /* @__PURE__ */ a(function(t, r) { return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) { n.__proto__ = i; } || function(n, i) { for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (n[s] = i[s]); }, e(t, r); }, "extendStatics"); return function(t, r) { if (typeof r != "function" && r !== null) throw new TypeError("Class extends value " + String(r) + " is not a constructor or null"); e(t, r); function n() { this.constructor = t; } a(n, "__"), t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n()); }; }(), Dh = ft && ft.__assign || function() { return Dh = Object.assign || function(e) { for (var t, r = 1, n = arguments.length; r < n; r++) { t = arguments[r]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; }, Dh.apply(this, arguments); }; Object.defineProperty(ft, "__esModule", { value: !0 }); ft.cloneNode = ft.hasChildren = ft.isDocument = ft.isDirective = ft.isComment = ft.isText = ft.isCDATA = ft.isTag = ft.Element = ft.Document = ft.NodeWithChildren = ft.ProcessingInstruction = ft.Comment = ft.Text = ft.DataNode = ft.Node = void 0; var Hr = Sc(), ice = /* @__PURE__ */ new Map([ [Hr.ElementType.Tag, 1], [Hr.ElementType.Script, 1], [Hr.ElementType.Style, 1], [Hr.ElementType.Directive, 1], [Hr.ElementType.Text, 3], [Hr.ElementType.CDATA, 4], [Hr.ElementType.Comment, 8], [Hr.ElementType.Root, 9] ]), HE = ( /** @class */ function() { function e(t) { this.type = t, this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null; } return a(e, "Node"), Object.defineProperty(e.prototype, "nodeType", { // Read-only aliases /** * [DOM spec](https://dom.spec.whatwg.org/#dom-node-nodetype)-compatible * node {@link type}. */ get: /* @__PURE__ */ a(function() { var t; return (t = ice.get(this.type)) !== null && t !== void 0 ? t : 1; }, "get"), enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "parentNode", { // Read-write aliases for properties /** * Same as {@link parent}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: /* @__PURE__ */ a(function() { return this.parent; }, "get"), set: /* @__PURE__ */ a(function(t) { this.parent = t; }, "set"), enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "previousSibling", { /** * Same as {@link prev}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: /* @__PURE__ */ a(function() { return this.prev; }, "get"), set: /* @__PURE__ */ a(function(t) { this.prev = t; }, "set"), enumerable: !1, configurable: !0 }), Object.defineProperty(e.prototype, "nextSibling", { /** * Same as {@link next}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: /* @__PURE__ */ a(function() { return this.next; }, "get"), set: /* @__PURE__ */ a(function(t) { this.next = t; }, "set"), enumerable: !1, configurable: !0 }), e.prototype.cloneNode = function(t) { return t === void 0 && (t = !1), jE(this, t); }, e; }() ); ft.Node = HE; var qm = ( /** @class */ function(e) { Bu(t, e); function t(r, n) { var i = e.call(this, r) || this; return i.data = n, i; } return a(t, "DataNode"), Object.defineProperty(t.prototype, "nodeValue", { /** * Same as {@link data}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: /* @__PURE__ */ a(function() { return this.data; }, "get"), set: /* @__PURE__ */ a(function(r) { this.data = r; }, "set"), enumerable: !1, configurable: !0 }), t; }(HE) ); ft.DataNode = qm; var WB = ( /** @class */ function(e) { Bu(t, e); function t(r) { return e.call(this, Hr.ElementType.Text, r) || this; } return a(t, "Text"), t; }(qm) ); ft.Text = WB; var $B = ( /** @class */ function(e) { Bu(t, e); function t(r) { return e.call(this, Hr.ElementType.Comment, r) || this; } return a(t, "Comment"), t; }(qm) ); ft.Comment = $B; var XB = ( /** @class */ function(e) { Bu(t, e); function t(r, n) { var i = e.call(this, Hr.ElementType.Directive, n) || this; return i.name = r, i; } return a(t, "ProcessingInstruction"), t; }(qm) ); ft.ProcessingInstruction = XB; var Um = ( /** @class */ function(e) { Bu(t, e); function t(r, n) { var i = e.call(this, r) || this; return i.children = n, i; } return a(t, "NodeWithChildren"), Object.defineProperty(t.prototype, "firstChild", { // Aliases /** First child of the node. */ get: /* @__PURE__ */ a(function() { var r; return (r = this.children[0]) !== null && r !== void 0 ? r : null; }, "get"), enumerable: !1, configurable: !0 }), Object.defineProperty(t.prototype, "lastChild", { /** Last child of the node. */ get: /* @__PURE__ */ a(function() { return this.children.length > 0 ? this.children[this.children.length - 1] : null; }, "get"), enumerable: !1, configurable: !0 }), Object.defineProperty(t.prototype, "childNodes", { /** * Same as {@link children}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: /* @__PURE__ */ a(function() { return this.children; }, "get"), set: /* @__PURE__ */ a(function(r) { this.children = r; }, "set"), enumerable: !1, configurable: !0 }), t; }(HE) ); ft.NodeWithChildren = Um; var YB = ( /** @class */ function(e) { Bu(t, e); function t(r) { return e.call(this, Hr.ElementType.Root, r) || this; } return a(t, "Document"), t; }(Um) ); ft.Document = YB; var QB = ( /** @class */ function(e) { Bu(t, e); function t(r, n, i, s) { i === void 0 && (i = []), s === void 0 && (s = r === "script" ? Hr.ElementType.Script : r === "style" ? Hr.ElementType.Style : Hr.ElementType. Tag); var o = e.call(this, s, i) || this; return o.name = r, o.attribs = n, o; } return a(t, "Element"), Object.defineProperty(t.prototype, "tagName", { // DOM Level 1 aliases /** * Same as {@link name}. * [DOM spec](https://dom.spec.whatwg.org)-compatible alias. */ get: /* @__PURE__ */ a(function() { return this.name; }, "get"), set: /* @__PURE__ */ a(function(r) { this.name = r; }, "set"), enumerable: !1, configurable: !0 }), Object.defineProperty(t.prototype, "attributes", { get: /* @__PURE__ */ a(function() { var r = this; return Object.keys(this.attribs).map(function(n) { var i, s; return { name: n, value: r.attribs[n], namespace: (i = r["x-attribsNamespace"]) === null || i === void 0 ? void 0 : i[n], prefix: (s = r["x-attribsPrefix"]) === null || s === void 0 ? void 0 : s[n] }; }); }, "get"), enumerable: !1, configurable: !0 }), t; }(Um) ); ft.Element = QB; function ZB(e) { return (0, Hr.isTag)(e); } a(ZB, "isTag"); ft.isTag = ZB; function JB(e) { return e.type === Hr.ElementType.CDATA; } a(JB, "isCDATA"); ft.isCDATA = JB; function eM(e) { return e.type === Hr.ElementType.Text; } a(eM, "isText"); ft.isText = eM; function tM(e) { return e.type === Hr.ElementType.Comment; } a(tM, "isComment"); ft.isComment = tM; function rM(e) { return e.type === Hr.ElementType.Directive; } a(rM, "isDirective"); ft.isDirective = rM; function nM(e) { return e.type === Hr.ElementType.Root; } a(nM, "isDocument"); ft.isDocument = nM; function ace(e) { return Object.prototype.hasOwnProperty.call(e, "children"); } a(ace, "hasChildren"); ft.hasChildren = ace; function jE(e, t) { t === void 0 && (t = !1); var r; if (eM(e)) r = new WB(e.data); else if (tM(e)) r = new $B(e.data); else if (ZB(e)) { var n = t ? VE(e.children) : [], i = new QB(e.name, Dh({}, e.attribs), n); n.forEach(function(l) { return l.parent = i; }), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = Dh({}, e["x-attribsNames\ pace"])), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = Dh({}, e["x-attribsPrefix"])), r = i; } else if (JB(e)) { var n = t ? VE(e.children) : [], s = new Um(Hr.ElementType.CDATA, n); n.forEach(function(c) { return c.parent = s; }), r = s; } else if (nM(e)) { var n = t ? VE(e.children) : [], o = new YB(n); n.forEach(function(c) { return c.parent = o; }), e["x-mode"] && (o["x-mode"] = e["x-mode"]), r = o; } else if (rM(e)) { var u = new XB(e.name, e.data); e["x-name"] != null && (u["x-name"] = e["x-name"], u["x-publicId"] = e["x-publicId"], u["x-systemId"] = e["x-systemId"]), r = u; } else throw new Error("Not implemented yet: ".concat(e.type)); return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r; } a(jE, "cloneNode"); ft.cloneNode = jE; function VE(e) { for (var t = e.map(function(n) { return jE(n, !0); }), r = 1; r < t.length; r++) t[r].prev = t[r - 1], t[r - 1].next = t[r]; return t; } a(VE, "cloneChildren"); }); // ../node_modules/domhandler/lib/index.js var uo = y((Os) => { "use strict"; var sce = Os && Os.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r); var i = Object.getOwnPropertyDescriptor(t, r); (!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }), Object.defineProperty(e, n, i); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), oce = Os && Os.__exportStar || function(e, t) { for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && sce(t, e, r); }; Object.defineProperty(Os, "__esModule", { value: !0 }); Os.DomHandler = void 0; var Vm = Sc(), Xo = GE(); oce(GE(), Os); var iM = /\s+/g, aM = { normalizeWhitespace: !1, withStartIndices: !1, withEndIndices: !1, xmlMode: !1 }, sM = ( /** @class */ function() { function e(t, r, n) { this.dom = [], this.root = new Xo.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof r == "function" && (n = r, r = aM), typeof t == "object" && (r = t, t = void 0), this.callback = t ?? null, this.options = r ?? aM, this.elementCB = n ?? null; } return a(e, "DomHandler"), e.prototype.onparserinit = function(t) { this.parser = t; }, e.prototype.onreset = function() { this.dom = [], this.root = new Xo.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null; }, e.prototype.onend = function() { this.done || (this.done = !0, this.parser = null, this.handleCallback(null)); }, e.prototype.onerror = function(t) { this.handleCallback(t); }, e.prototype.onclosetag = function() { this.lastNode = null; var t = this.tagStack.pop(); this.options.withEndIndices && (t.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(t); }, e.prototype.onopentag = function(t, r) { var n = this.options.xmlMode ? Vm.ElementType.Tag : void 0, i = new Xo.Element(t, r, void 0, n); this.addNode(i), this.tagStack.push(i); }, e.prototype.ontext = function(t) { var r = this.options.normalizeWhitespace, n = this.lastNode; if (n && n.type === Vm.ElementType.Text) r ? n.data = (n.data + t).replace(iM, " ") : n.data += t, this.options.withEndIndices && (n.endIndex = this.parser.endIndex); else { r && (t = t.replace(iM, " ")); var i = new Xo.Text(t); this.addNode(i), this.lastNode = i; } }, e.prototype.oncomment = function(t) { if (this.lastNode && this.lastNode.type === Vm.ElementType.Comment) { this.lastNode.data += t; return; } var r = new Xo.Comment(t); this.addNode(r), this.lastNode = r; }, e.prototype.oncommentend = function() { this.lastNode = null; }, e.prototype.oncdatastart = function() { var t = new Xo.Text(""), r = new Xo.NodeWithChildren(Vm.ElementType.CDATA, [t]); this.addNode(r), t.parent = r, this.lastNode = t; }, e.prototype.oncdataend = function() { this.lastNode = null; }, e.prototype.onprocessinginstruction = function(t, r) { var n = new Xo.ProcessingInstruction(t, r); this.addNode(n); }, e.prototype.handleCallback = function(t) { if (typeof this.callback == "function") this.callback(t, this.dom); else if (t) throw t; }, e.prototype.addNode = function(t) { var r = this.tagStack[this.tagStack.length - 1], n = r.children[r.children.length - 1]; this.options.withStartIndices && (t.startIndex = this.parser.startIndex), this.options.withEndIndices && (t.endIndex = this.parser.endIndex), r.children.push(t), n && (t.prev = n, n.next = t), t.parent = r, this.lastNode = null; }, e; }() ); Os.DomHandler = sM; Os.default = sM; }); // ../node_modules/entities/lib/decode.js var KE = y((Rs) => { "use strict"; var Hm = Rs && Rs.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Rs, "__esModule", { value: !0 }); Rs.decodeHTML = Rs.decodeHTMLStrict = Rs.decodeXML = void 0; var zE = Hm(Lm()), uce = Hm(LE()), lce = Hm(Bm()), oM = Hm(NE()), cce = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g; Rs.decodeXML = lM(lce.default); Rs.decodeHTMLStrict = lM(zE.default); function lM(e) { var t = cM(e); return function(r) { return String(r).replace(cce, t); }; } a(lM, "getStrictDecoder"); var uM = /* @__PURE__ */ a(function(e, t) { return e < t ? 1 : -1; }, "sorter"); Rs.decodeHTML = function() { for (var e = Object.keys(uce.default).sort(uM), t = Object.keys(zE.default).sort(uM), r = 0, n = 0; r < t.length; r++) e[n] === t[r] ? (t[r] += ";?", n++) : t[r] += ";"; var i = new RegExp("&(?:" + t.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g"), s = cM(zE.default); function o(u) { return u.substr(-1) !== ";" && (u += ";"), s(u); } return a(o, "replacer"), function(u) { return String(u).replace(i, o); }; }(); function cM(e) { return /* @__PURE__ */ a(function(r) { if (r.charAt(1) === "#") { var n = r.charAt(2); return n === "X" || n === "x" ? oM.default(parseInt(r.substr(3), 16)) : oM.default(parseInt(r.substr(2), 10)); } return e[r.slice(1, -1)] || r; }, "replace"); } a(cM, "getReplacer"); }); // ../node_modules/entities/lib/encode.js var $E = y((Li) => { "use strict"; var fM = Li && Li.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Li, "__esModule", { value: !0 }); Li.escapeUTF8 = Li.escape = Li.encodeNonAsciiHTML = Li.encodeHTML = Li.encodeXML = void 0; var fce = fM(Bm()), hM = dM(fce.default), pM = mM(hM); Li.encodeXML = vM(hM); var hce = fM(Lm()), WE = dM(hce.default), pce = mM(WE); Li.encodeHTML = mce(WE, pce); Li.encodeNonAsciiHTML = vM(WE); function dM(e) { return Object.keys(e).sort().reduce(function(t, r) { return t[e[r]] = "&" + r + ";", t; }, {}); } a(dM, "getInverseObj"); function mM(e) { for (var t = [], r = [], n = 0, i = Object.keys(e); n < i.length; n++) { var s = i[n]; s.length === 1 ? t.push("\\" + s) : r.push(s); } t.sort(); for (var o = 0; o < t.length - 1; o++) { for (var u = o; u < t.length - 1 && t[u].charCodeAt(1) + 1 === t[u + 1].charCodeAt(1); ) u += 1; var l = 1 + u - o; l < 3 || t.splice(o, l, t[o] + "-" + t[u]); } return r.unshift("[" + t.join("") + "]"), new RegExp(r.join("|"), "g"); } a(mM, "getInverseReplacer"); var gM = /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, dce = ( // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition String.prototype.codePointAt != null ? ( // eslint-disable-next-line @typescript-eslint/no-non-null-assertion function(e) { return e.codePointAt(0); } ) : ( // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae function(e) { return (e.charCodeAt(0) - 55296) * 1024 + e.charCodeAt(1) - 56320 + 65536; } ) ); function jm(e) { return "&#x" + (e.length > 1 ? dce(e) : e.charCodeAt(0)).toString(16).toUpperCase() + ";"; } a(jm, "singleCharReplacer"); function mce(e, t) { return function(r) { return r.replace(t, function(n) { return e[n]; }).replace(gM, jm); }; } a(mce, "getInverse"); var _M = new RegExp(pM.source + "|" + gM.source, "g"); function gce(e) { return e.replace(_M, jm); } a(gce, "escape"); Li.escape = gce; function _ce(e) { return e.replace(pM, jm); } a(_ce, "escapeUTF8"); Li.escapeUTF8 = _ce; function vM(e) { return function(t) { return t.replace(_M, function(r) { return e[r] || jm(r); }); }; } a(vM, "getASCIIEncoder"); }); // ../node_modules/entities/lib/index.js var yM = y((ht) => { "use strict"; Object.defineProperty(ht, "__esModule", { value: !0 }); ht.decodeXMLStrict = ht.decodeHTML5Strict = ht.decodeHTML4Strict = ht.decodeHTML5 = ht.decodeHTML4 = ht.decodeHTMLStrict = ht.decodeHTML = ht.decodeXML = ht.encodeHTML5 = ht.encodeHTML4 = ht.escapeUTF8 = ht.escape = ht.encodeNonAsciiHTML = ht.encodeHTML = ht.encodeXML = ht.encode = ht.decodeStrict = ht.decode = void 0; var Gm = KE(), bM = $E(); function vce(e, t) { return (!t || t <= 0 ? Gm.decodeXML : Gm.decodeHTML)(e); } a(vce, "decode"); ht.decode = vce; function bce(e, t) { return (!t || t <= 0 ? Gm.decodeXML : Gm.decodeHTMLStrict)(e); } a(bce, "decodeStrict"); ht.decodeStrict = bce; function yce(e, t) { return (!t || t <= 0 ? bM.encodeXML : bM.encodeHTML)(e); } a(yce, "encode"); ht.encode = yce; var Mu = $E(); Object.defineProperty(ht, "encodeXML", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.encodeXML; }, "get") }); Object.defineProperty(ht, "encodeHTML", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.encodeHTML; }, "get") }); Object.defineProperty(ht, "encodeNonAsciiHTML", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.encodeNonAsciiHTML; }, "get") }); Object.defineProperty(ht, "escape", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.escape; }, "get") }); Object.defineProperty(ht, "escapeUTF8", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.escapeUTF8; }, "get") }); Object.defineProperty(ht, "encodeHTML4", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.encodeHTML; }, "get") }); Object.defineProperty(ht, "encodeHTML5", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Mu.encodeHTML; }, "get") }); var Yo = KE(); Object.defineProperty(ht, "decodeXML", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeXML; }, "get") }); Object.defineProperty(ht, "decodeHTML", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeHTML; }, "get") }); Object.defineProperty(ht, "decodeHTMLStrict", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeHTMLStrict; }, "get") }); Object.defineProperty(ht, "decodeHTML4", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeHTML; }, "get") }); Object.defineProperty(ht, "decodeHTML5", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeHTML; }, "get") }); Object.defineProperty(ht, "decodeHTML4Strict", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeHTMLStrict; }, "get") }); Object.defineProperty(ht, "decodeHTML5Strict", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeHTMLStrict; }, "get") }); Object.defineProperty(ht, "decodeXMLStrict", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Yo.decodeXML; }, "get") }); }); // ../node_modules/domutils/node_modules/dom-serializer/lib/foreignNames.js var SM = y((Ec) => { "use strict"; Object.defineProperty(Ec, "__esModule", { value: !0 }); Ec.attributeNames = Ec.elementNames = void 0; Ec.elementNames = /* @__PURE__ */ new Map([ ["altglyph", "altGlyph"], ["altglyphdef", "altGlyphDef"], ["altglyphitem", "altGlyphItem"], ["animatecolor", "animateColor"], ["animatemotion", "animateMotion"], ["animatetransform", "animateTransform"], ["clippath", "clipPath"], ["feblend", "feBlend"], ["fecolormatrix", "feColorMatrix"], ["fecomponenttransfer", "feComponentTransfer"], ["fecomposite", "feComposite"], ["feconvolvematrix", "feConvolveMatrix"], ["fediffuselighting", "feDiffuseLighting"], ["fedisplacementmap", "feDisplacementMap"], ["fedistantlight", "feDistantLight"], ["fedropshadow", "feDropShadow"], ["feflood", "feFlood"], ["fefunca", "feFuncA"], ["fefuncb", "feFuncB"], ["fefuncg", "feFuncG"], ["fefuncr", "feFuncR"], ["fegaussianblur", "feGaussianBlur"], ["feimage", "feImage"], ["femerge", "feMerge"], ["femergenode", "feMergeNode"], ["femorphology", "feMorphology"], ["feoffset", "feOffset"], ["fepointlight", "fePointLight"], ["fespecularlighting", "feSpecularLighting"], ["fespotlight", "feSpotLight"], ["fetile", "feTile"], ["feturbulence", "feTurbulence"], ["foreignobject", "foreignObject"], ["glyphref", "glyphRef"], ["lineargradient", "linearGradient"], ["radialgradient", "radialGradient"], ["textpath", "textPath"] ]); Ec.attributeNames = /* @__PURE__ */ new Map([ ["definitionurl", "definitionURL"], ["attributename", "attributeName"], ["attributetype", "attributeType"], ["basefrequency", "baseFrequency"], ["baseprofile", "baseProfile"], ["calcmode", "calcMode"], ["clippathunits", "clipPathUnits"], ["diffuseconstant", "diffuseConstant"], ["edgemode", "edgeMode"], ["filterunits", "filterUnits"], ["glyphref", "glyphRef"], ["gradienttransform", "gradientTransform"], ["gradientunits", "gradientUnits"], ["kernelmatrix", "kernelMatrix"], ["kernelunitlength", "kernelUnitLength"], ["keypoints", "keyPoints"], ["keysplines", "keySplines"], ["keytimes", "keyTimes"], ["lengthadjust", "lengthAdjust"], ["limitingconeangle", "limitingConeAngle"], ["markerheight", "markerHeight"], ["markerunits", "markerUnits"], ["markerwidth", "markerWidth"], ["maskcontentunits", "maskContentUnits"], ["maskunits", "maskUnits"], ["numoctaves", "numOctaves"], ["pathlength", "pathLength"], ["patterncontentunits", "patternContentUnits"], ["patterntransform", "patternTransform"], ["patternunits", "patternUnits"], ["pointsatx", "pointsAtX"], ["pointsaty", "pointsAtY"], ["pointsatz", "pointsAtZ"], ["preservealpha", "preserveAlpha"], ["preserveaspectratio", "preserveAspectRatio"], ["primitiveunits", "primitiveUnits"], ["refx", "refX"], ["refy", "refY"], ["repeatcount", "repeatCount"], ["repeatdur", "repeatDur"], ["requiredextensions", "requiredExtensions"], ["requiredfeatures", "requiredFeatures"], ["specularconstant", "specularConstant"], ["specularexponent", "specularExponent"], ["spreadmethod", "spreadMethod"], ["startoffset", "startOffset"], ["stddeviation", "stdDeviation"], ["stitchtiles", "stitchTiles"], ["surfacescale", "surfaceScale"], ["systemlanguage", "systemLanguage"], ["tablevalues", "tableValues"], ["targetx", "targetX"], ["targety", "targetY"], ["textlength", "textLength"], ["viewbox", "viewBox"], ["viewtarget", "viewTarget"], ["xchannelselector", "xChannelSelector"], ["ychannelselector", "yChannelSelector"], ["zoomandpan", "zoomAndPan"] ]); }); // ../node_modules/domutils/node_modules/dom-serializer/lib/index.js var DM = y((Ga) => { "use strict"; var Ac = Ga && Ga.__assign || function() { return Ac = Object.assign || function(e) { for (var t, r = 1, n = arguments.length; r < n; r++) { t = arguments[r]; for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); } return e; }, Ac.apply(this, arguments); }, Sce = Ga && Ga.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r), Object.defineProperty(e, n, { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), Ece = Ga && Ga.__setModuleDefault || (Object.create ? function(e, t) { Object.defineProperty(e, "default", { enumerable: !0, value: t }); } : function(e, t) { e.default = t; }), Ace = Ga && Ga.__importStar || function(e) { if (e && e.__esModule) return e; var t = {}; if (e != null) for (var r in e) r !== "default" && Object.prototype.hasOwnProperty.call(e, r) && Sce(t, e, r); return Ece(t, e), t; }; Object.defineProperty(Ga, "__esModule", { value: !0 }); var lo = Ace(Sc()), AM = yM(), TM = SM(), Tce = /* @__PURE__ */ new Set([ "style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript" ]); function Dce(e, t) { if (e) return Object.keys(e).map(function(r) { var n, i, s = (n = e[r]) !== null && n !== void 0 ? n : ""; return t.xmlMode === "foreign" && (r = (i = TM.attributeNames.get(r)) !== null && i !== void 0 ? i : r), !t.emptyAttrs && !t.xmlMode && s === "" ? r : r + '="' + (t.decodeEntities !== !1 ? AM.encodeXML(s) : s.replace(/"/g, """)) + '"'; }).join(" "); } a(Dce, "formatAttributes"); var EM = /* @__PURE__ */ new Set([ "area", "base", "basefont", "br", "col", "command", "embed", "frame", "hr", "img", "input", "isindex", "keygen", "link", "meta", "param", "source", "track", "wbr" ]); function XE(e, t) { t === void 0 && (t = {}); for (var r = ("length" in e) ? e : [e], n = "", i = 0; i < r.length; i++) n += xce(r[i], t); return n; } a(XE, "render"); Ga.default = XE; function xce(e, t) { switch (e.type) { case lo.Root: return XE(e.children, t); case lo.Directive: case lo.Doctype: return Rce(e); case lo.Comment: return Fce(e); case lo.CDATA: return Pce(e); case lo.Script: case lo.Style: case lo.Tag: return Oce(e, t); case lo.Text: return kce(e, t); } } a(xce, "renderNode"); var Cce = /* @__PURE__ */ new Set([ "mi", "mo", "mn", "ms", "mtext", "annotation-xml", "foreignObject", "desc", "title" ]), wce = /* @__PURE__ */ new Set(["svg", "math"]); function Oce(e, t) { var r; t.xmlMode === "foreign" && (e.name = (r = TM.elementNames.get(e.name)) !== null && r !== void 0 ? r : e.name, e.parent && Cce.has(e.parent. name) && (t = Ac(Ac({}, t), { xmlMode: !1 }))), !t.xmlMode && wce.has(e.name) && (t = Ac(Ac({}, t), { xmlMode: "foreign" })); var n = "<" + e.name, i = Dce(e.attribs, t); return i && (n += " " + i), e.children.length === 0 && (t.xmlMode ? ( // In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags t.selfClosingTags !== !1 ) : ( // User explicitly asked for self-closing tags, even in HTML mode t.selfClosingTags && EM.has(e.name) )) ? (t.xmlMode || (n += " "), n += "/>") : (n += ">", e.children.length > 0 && (n += XE(e.children, t)), (t.xmlMode || !EM.has(e.name)) && (n += "")), n; } a(Oce, "renderTag"); function Rce(e) { return "<" + e.data + ">"; } a(Rce, "renderDirective"); function kce(e, t) { var r = e.data || ""; return t.decodeEntities !== !1 && !(!t.xmlMode && e.parent && Tce.has(e.parent.name)) && (r = AM.encodeXML(r)), r; } a(kce, "renderText"); function Pce(e) { return ""; } a(Pce, "renderCdata"); function Fce(e) { return ""; } a(Fce, "renderComment"); }); // ../node_modules/domutils/lib/stringify.js var ZE = y((Bi) => { "use strict"; var Ice = Bi && Bi.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Bi, "__esModule", { value: !0 }); Bi.innerText = Bi.textContent = Bi.getText = Bi.getInnerHTML = Bi.getOuterHTML = void 0; var ks = uo(), Nce = Ice(DM()), Lce = Sc(); function xM(e, t) { return (0, Nce.default)(e, t); } a(xM, "getOuterHTML"); Bi.getOuterHTML = xM; function Bce(e, t) { return (0, ks.hasChildren)(e) ? e.children.map(function(r) { return xM(r, t); }).join("") : ""; } a(Bce, "getInnerHTML"); Bi.getInnerHTML = Bce; function zm(e) { return Array.isArray(e) ? e.map(zm).join("") : (0, ks.isTag)(e) ? e.name === "br" ? ` ` : zm(e.children) : (0, ks.isCDATA)(e) ? zm(e.children) : (0, ks.isText)(e) ? e.data : ""; } a(zm, "getText"); Bi.getText = zm; function YE(e) { return Array.isArray(e) ? e.map(YE).join("") : (0, ks.hasChildren)(e) && !(0, ks.isComment)(e) ? YE(e.children) : (0, ks.isText)(e) ? e. data : ""; } a(YE, "textContent"); Bi.textContent = YE; function QE(e) { return Array.isArray(e) ? e.map(QE).join("") : (0, ks.hasChildren)(e) && (e.type === Lce.ElementType.Tag || (0, ks.isCDATA)(e)) ? QE(e.children) : (0, ks.isText)(e) ? e.data : ""; } a(QE, "innerText"); Bi.innerText = QE; }); // ../node_modules/domutils/lib/traversal.js var RM = y((Ln) => { "use strict"; Object.defineProperty(Ln, "__esModule", { value: !0 }); Ln.prevElementSibling = Ln.nextElementSibling = Ln.getName = Ln.hasAttrib = Ln.getAttributeValue = Ln.getSiblings = Ln.getParent = Ln.getChildren = void 0; var CM = uo(), Mce = []; function wM(e) { var t; return (t = e.children) !== null && t !== void 0 ? t : Mce; } a(wM, "getChildren"); Ln.getChildren = wM; function OM(e) { return e.parent || null; } a(OM, "getParent"); Ln.getParent = OM; function qce(e) { var t, r, n = OM(e); if (n != null) return wM(n); for (var i = [e], s = e.prev, o = e.next; s != null; ) i.unshift(s), t = s, s = t.prev; for (; o != null; ) i.push(o), r = o, o = r.next; return i; } a(qce, "getSiblings"); Ln.getSiblings = qce; function Uce(e, t) { var r; return (r = e.attribs) === null || r === void 0 ? void 0 : r[t]; } a(Uce, "getAttributeValue"); Ln.getAttributeValue = Uce; function Vce(e, t) { return e.attribs != null && Object.prototype.hasOwnProperty.call(e.attribs, t) && e.attribs[t] != null; } a(Vce, "hasAttrib"); Ln.hasAttrib = Vce; function Hce(e) { return e.name; } a(Hce, "getName"); Ln.getName = Hce; function jce(e) { for (var t, r = e.next; r !== null && !(0, CM.isTag)(r); ) t = r, r = t.next; return r; } a(jce, "nextElementSibling"); Ln.nextElementSibling = jce; function Gce(e) { for (var t, r = e.prev; r !== null && !(0, CM.isTag)(r); ) t = r, r = t.prev; return r; } a(Gce, "prevElementSibling"); Ln.prevElementSibling = Gce; }); // ../node_modules/domutils/lib/manipulation.js var kM = y((Mi) => { "use strict"; Object.defineProperty(Mi, "__esModule", { value: !0 }); Mi.prepend = Mi.prependChild = Mi.append = Mi.appendChild = Mi.replaceElement = Mi.removeElement = void 0; function xh(e) { if (e.prev && (e.prev.next = e.next), e.next && (e.next.prev = e.prev), e.parent) { var t = e.parent.children; t.splice(t.lastIndexOf(e), 1); } } a(xh, "removeElement"); Mi.removeElement = xh; function zce(e, t) { var r = t.prev = e.prev; r && (r.next = t); var n = t.next = e.next; n && (n.prev = t); var i = t.parent = e.parent; if (i) { var s = i.children; s[s.lastIndexOf(e)] = t; } } a(zce, "replaceElement"); Mi.replaceElement = zce; function Kce(e, t) { if (xh(t), t.next = null, t.parent = e, e.children.push(t) > 1) { var r = e.children[e.children.length - 2]; r.next = t, t.prev = r; } else t.prev = null; } a(Kce, "appendChild"); Mi.appendChild = Kce; function Wce(e, t) { xh(t); var r = e.parent, n = e.next; if (t.next = n, t.prev = e, e.next = t, t.parent = r, n) { if (n.prev = t, r) { var i = r.children; i.splice(i.lastIndexOf(n), 0, t); } } else r && r.children.push(t); } a(Wce, "append"); Mi.append = Wce; function $ce(e, t) { if (xh(t), t.parent = e, t.prev = null, e.children.unshift(t) !== 1) { var r = e.children[1]; r.prev = t, t.next = r; } else t.next = null; } a($ce, "prependChild"); Mi.prependChild = $ce; function Xce(e, t) { xh(t); var r = e.parent; if (r) { var n = r.children; n.splice(n.indexOf(e), 0, t); } e.prev && (e.prev.next = t), t.parent = r, t.prev = e.prev, t.next = e, e.prev = t; } a(Xce, "prepend"); Mi.prepend = Xce; }); // ../node_modules/domutils/lib/querying.js var eA = y((qi) => { "use strict"; Object.defineProperty(qi, "__esModule", { value: !0 }); qi.findAll = qi.existsOne = qi.findOne = qi.findOneChild = qi.find = qi.filter = void 0; var Ch = uo(); function Yce(e, t, r, n) { return r === void 0 && (r = !0), n === void 0 && (n = 1 / 0), Array.isArray(t) || (t = [t]), JE(e, t, r, n); } a(Yce, "filter"); qi.filter = Yce; function JE(e, t, r, n) { for (var i = [], s = 0, o = t; s < o.length; s++) { var u = o[s]; if (e(u) && (i.push(u), --n <= 0)) break; if (r && (0, Ch.hasChildren)(u) && u.children.length > 0) { var l = JE(e, u.children, r, n); if (i.push.apply(i, l), n -= l.length, n <= 0) break; } } return i; } a(JE, "find"); qi.find = JE; function Qce(e, t) { return t.find(e); } a(Qce, "findOneChild"); qi.findOneChild = Qce; function PM(e, t, r) { r === void 0 && (r = !0); for (var n = null, i = 0; i < t.length && !n; i++) { var s = t[i]; if ((0, Ch.isTag)(s)) e(s) ? n = s : r && s.children.length > 0 && (n = PM(e, s.children)); else continue; } return n; } a(PM, "findOne"); qi.findOne = PM; function FM(e, t) { return t.some(function(r) { return (0, Ch.isTag)(r) && (e(r) || r.children.length > 0 && FM(e, r.children)); }); } a(FM, "existsOne"); qi.existsOne = FM; function Zce(e, t) { for (var r, n = [], i = t.filter(Ch.isTag), s; s = i.shift(); ) { var o = (r = s.children) === null || r === void 0 ? void 0 : r.filter(Ch.isTag); o && o.length > 0 && i.unshift.apply(i, o), e(s) && n.push(s); } return n; } a(Zce, "findAll"); qi.findAll = Zce; }); // ../node_modules/domutils/lib/legacy.js var tA = y((Aa) => { "use strict"; Object.defineProperty(Aa, "__esModule", { value: !0 }); Aa.getElementsByTagType = Aa.getElementsByTagName = Aa.getElementById = Aa.getElements = Aa.testElement = void 0; var qu = uo(), Wm = eA(), Km = { tag_name: /* @__PURE__ */ a(function(e) { return typeof e == "function" ? function(t) { return (0, qu.isTag)(t) && e(t.name); } : e === "*" ? qu.isTag : function(t) { return (0, qu.isTag)(t) && t.name === e; }; }, "tag_name"), tag_type: /* @__PURE__ */ a(function(e) { return typeof e == "function" ? function(t) { return e(t.type); } : function(t) { return t.type === e; }; }, "tag_type"), tag_contains: /* @__PURE__ */ a(function(e) { return typeof e == "function" ? function(t) { return (0, qu.isText)(t) && e(t.data); } : function(t) { return (0, qu.isText)(t) && t.data === e; }; }, "tag_contains") }; function IM(e, t) { return typeof t == "function" ? function(r) { return (0, qu.isTag)(r) && t(r.attribs[e]); } : function(r) { return (0, qu.isTag)(r) && r.attribs[e] === t; }; } a(IM, "getAttribCheck"); function Jce(e, t) { return function(r) { return e(r) || t(r); }; } a(Jce, "combineFuncs"); function NM(e) { var t = Object.keys(e).map(function(r) { var n = e[r]; return Object.prototype.hasOwnProperty.call(Km, r) ? Km[r](n) : IM(r, n); }); return t.length === 0 ? null : t.reduce(Jce); } a(NM, "compileTest"); function efe(e, t) { var r = NM(e); return r ? r(t) : !0; } a(efe, "testElement"); Aa.testElement = efe; function tfe(e, t, r, n) { n === void 0 && (n = 1 / 0); var i = NM(e); return i ? (0, Wm.filter)(i, t, r, n) : []; } a(tfe, "getElements"); Aa.getElements = tfe; function rfe(e, t, r) { return r === void 0 && (r = !0), Array.isArray(t) || (t = [t]), (0, Wm.findOne)(IM("id", e), t, r); } a(rfe, "getElementById"); Aa.getElementById = rfe; function nfe(e, t, r, n) { return r === void 0 && (r = !0), n === void 0 && (n = 1 / 0), (0, Wm.filter)(Km.tag_name(e), t, r, n); } a(nfe, "getElementsByTagName"); Aa.getElementsByTagName = nfe; function ife(e, t, r, n) { return r === void 0 && (r = !0), n === void 0 && (n = 1 / 0), (0, Wm.filter)(Km.tag_type(e), t, r, n); } a(ife, "getElementsByTagType"); Aa.getElementsByTagType = ife; }); // ../node_modules/domutils/lib/helpers.js var MM = y((Qo) => { "use strict"; Object.defineProperty(Qo, "__esModule", { value: !0 }); Qo.uniqueSort = Qo.compareDocumentPosition = Qo.removeSubsets = void 0; var LM = uo(); function afe(e) { for (var t = e.length; --t >= 0; ) { var r = e[t]; if (t > 0 && e.lastIndexOf(r, t - 1) >= 0) { e.splice(t, 1); continue; } for (var n = r.parent; n; n = n.parent) if (e.includes(n)) { e.splice(t, 1); break; } } return e; } a(afe, "removeSubsets"); Qo.removeSubsets = afe; function BM(e, t) { var r = [], n = []; if (e === t) return 0; for (var i = (0, LM.hasChildren)(e) ? e : e.parent; i; ) r.unshift(i), i = i.parent; for (i = (0, LM.hasChildren)(t) ? t : t.parent; i; ) n.unshift(i), i = i.parent; for (var s = Math.min(r.length, n.length), o = 0; o < s && r[o] === n[o]; ) o++; if (o === 0) return 1; var u = r[o - 1], l = u.children, c = r[o], f = n[o]; return l.indexOf(c) > l.indexOf(f) ? u === t ? 20 : 4 : u === e ? 10 : 2; } a(BM, "compareDocumentPosition"); Qo.compareDocumentPosition = BM; function sfe(e) { return e = e.filter(function(t, r, n) { return !n.includes(t, r + 1); }), e.sort(function(t, r) { var n = BM(t, r); return n & 2 ? -1 : n & 4 ? 1 : 0; }), e; } a(sfe, "uniqueSort"); Qo.uniqueSort = sfe; }); // ../node_modules/domutils/lib/feeds.js var UM = y((Xm) => { "use strict"; Object.defineProperty(Xm, "__esModule", { value: !0 }); Xm.getFeed = void 0; var ofe = ZE(), wh = tA(); function ufe(e) { var t = $m(pfe, e); return t ? t.name === "feed" ? lfe(t) : cfe(t) : null; } a(ufe, "getFeed"); Xm.getFeed = ufe; function lfe(e) { var t, r = e.children, n = { type: "atom", items: (0, wh.getElementsByTagName)("entry", r).map(function(o) { var u, l = o.children, c = { media: qM(l) }; Ui(c, "id", "id", l), Ui(c, "title", "title", l); var f = (u = $m("link", l)) === null || u === void 0 ? void 0 : u.attribs.href; f && (c.link = f); var d = Uu("summary", l) || Uu("content", l); d && (c.description = d); var g = Uu("updated", l); return g && (c.pubDate = new Date(g)), c; }) }; Ui(n, "id", "id", r), Ui(n, "title", "title", r); var i = (t = $m("link", r)) === null || t === void 0 ? void 0 : t.attribs.href; i && (n.link = i), Ui(n, "description", "subtitle", r); var s = Uu("updated", r); return s && (n.updated = new Date(s)), Ui(n, "author", "email", r, !0), n; } a(lfe, "getAtomFeed"); function cfe(e) { var t, r, n = (r = (t = $m("channel", e.children)) === null || t === void 0 ? void 0 : t.children) !== null && r !== void 0 ? r : [], i = { type: e.name.substr(0, 3), id: "", items: (0, wh.getElementsByTagName)("item", e.children).map(function(o) { var u = o.children, l = { media: qM(u) }; Ui(l, "id", "guid", u), Ui(l, "title", "title", u), Ui(l, "link", "link", u), Ui(l, "description", "description", u); var c = Uu("pubDate", u); return c && (l.pubDate = new Date(c)), l; }) }; Ui(i, "title", "title", n), Ui(i, "link", "link", n), Ui(i, "description", "description", n); var s = Uu("lastBuildDate", n); return s && (i.updated = new Date(s)), Ui(i, "author", "managingEditor", n, !0), i; } a(cfe, "getRssFeed"); var ffe = ["url", "type", "lang"], hfe = [ "fileSize", "bitrate", "framerate", "samplingrate", "channels", "duration", "height", "width" ]; function qM(e) { return (0, wh.getElementsByTagName)("media:content", e).map(function(t) { for (var r = t.attribs, n = { medium: r.medium, isDefault: !!r.isDefault }, i = 0, s = ffe; i < s.length; i++) { var o = s[i]; r[o] && (n[o] = r[o]); } for (var u = 0, l = hfe; u < l.length; u++) { var o = l[u]; r[o] && (n[o] = parseInt(r[o], 10)); } return r.expression && (n.expression = r.expression), n; }); } a(qM, "getMediaElements"); function $m(e, t) { return (0, wh.getElementsByTagName)(e, t, !0, 1)[0]; } a($m, "getOneElement"); function Uu(e, t, r) { return r === void 0 && (r = !1), (0, ofe.textContent)((0, wh.getElementsByTagName)(e, t, r, 1)).trim(); } a(Uu, "fetch"); function Ui(e, t, r, n, i) { i === void 0 && (i = !1); var s = Uu(r, n, i); s && (e[t] = s); } a(Ui, "addConditionally"); function pfe(e) { return e === "rss" || e === "feed" || e === "rdf:RDF"; } a(pfe, "isValidFeed"); }); // ../node_modules/domutils/lib/index.js var Ym = y((dr) => { "use strict"; var dfe = dr && dr.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r), Object.defineProperty(e, n, { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), Vu = dr && dr.__exportStar || function(e, t) { for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && dfe(t, e, r); }; Object.defineProperty(dr, "__esModule", { value: !0 }); dr.hasChildren = dr.isDocument = dr.isComment = dr.isText = dr.isCDATA = dr.isTag = void 0; Vu(ZE(), dr); Vu(RM(), dr); Vu(kM(), dr); Vu(eA(), dr); Vu(tA(), dr); Vu(MM(), dr); Vu(UM(), dr); var Tc = uo(); Object.defineProperty(dr, "isTag", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Tc.isTag; }, "get") }); Object.defineProperty(dr, "isCDATA", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Tc.isCDATA; }, "get") }); Object.defineProperty(dr, "isText", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Tc.isText; }, "get") }); Object.defineProperty(dr, "isComment", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Tc.isComment; }, "get") }); Object.defineProperty(dr, "isDocument", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Tc.isDocument; }, "get") }); Object.defineProperty(dr, "hasChildren", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Tc.hasChildren; }, "get") }); }); // ../node_modules/renderkid/node_modules/htmlparser2/lib/FeedHandler.js var nA = y((ni) => { "use strict"; var mfe = ni && ni.__extends || /* @__PURE__ */ function() { var e = /* @__PURE__ */ a(function(t, r) { return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) { n.__proto__ = i; } || function(n, i) { for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (n[s] = i[s]); }, e(t, r); }, "extendStatics"); return function(t, r) { if (typeof r != "function" && r !== null) throw new TypeError("Class extends value " + String(r) + " is not a constructor or null"); e(t, r); function n() { this.constructor = t; } a(n, "__"), t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n()); }; }(), gfe = ni && ni.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r), Object.defineProperty(e, n, { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), _fe = ni && ni.__setModuleDefault || (Object.create ? function(e, t) { Object.defineProperty(e, "default", { enumerable: !0, value: t }); } : function(e, t) { e.default = t; }), vfe = ni && ni.__importStar || function(e) { if (e && e.__esModule) return e; var t = {}; if (e != null) for (var r in e) r !== "default" && Object.prototype.hasOwnProperty.call(e, r) && gfe(t, e, r); return _fe(t, e), t; }, bfe = ni && ni.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(ni, "__esModule", { value: !0 }); ni.parseFeed = ni.FeedHandler = void 0; var yfe = bfe(uo()), Zm = vfe(Ym()), Sfe = UE(), VM; (function(e) { e[e.image = 0] = "image", e[e.audio = 1] = "audio", e[e.video = 2] = "video", e[e.document = 3] = "document", e[e.executable = 4] = "exe\ cutable"; })(VM || (VM = {})); var HM; (function(e) { e[e.sample = 0] = "sample", e[e.full = 1] = "full", e[e.nonstop = 2] = "nonstop"; })(HM || (HM = {})); var zM = ( /** @class */ function(e) { mfe(t, e); function t(r, n) { var i = this; return typeof r == "object" && (r = void 0, n = r), i = e.call(this, r, n) || this, i; } return a(t, "FeedHandler"), t.prototype.onend = function() { var r, n, i = Qm(Efe, this.dom); if (!i) { this.handleCallback(new Error("couldn't find root of feed")); return; } var s = {}; if (i.name === "feed") { var o = i.children; s.type = "atom", Vi(s, "id", "id", o), Vi(s, "title", "title", o); var u = GM("href", Qm("link", o)); u && (s.link = u), Vi(s, "description", "subtitle", o); var l = Hu("updated", o); l && (s.updated = new Date(l)), Vi(s, "author", "email", o, !0), s.items = rA("entry", o).map(function(c) { var f = {}, d = c.children; Vi(f, "id", "id", d), Vi(f, "title", "title", d); var g = GM("href", Qm("link", d)); g && (f.link = g); var b = Hu("summary", d) || Hu("content", d); b && (f.description = b); var _ = Hu("updated", d); return _ && (f.pubDate = new Date(_)), f.media = jM(d), f; }); } else { var o = (n = (r = Qm("channel", i.children)) === null || r === void 0 ? void 0 : r.children) !== null && n !== void 0 ? n : []; s.type = i.name.substr(0, 3), s.id = "", Vi(s, "title", "title", o), Vi(s, "link", "link", o), Vi(s, "description", "description", o); var l = Hu("lastBuildDate", o); l && (s.updated = new Date(l)), Vi(s, "author", "managingEditor", o, !0), s.items = rA("item", i.children).map(function(d) { var g = {}, b = d.children; Vi(g, "id", "guid", b), Vi(g, "title", "title", b), Vi(g, "link", "link", b), Vi(g, "description", "description", b); var _ = Hu("pubDate", b); return _ && (g.pubDate = new Date(_)), g.media = jM(b), g; }); } this.feed = s, this.handleCallback(null); }, t; }(yfe.default) ); ni.FeedHandler = zM; function jM(e) { return rA("media:content", e).map(function(t) { var r = { medium: t.attribs.medium, isDefault: !!t.attribs.isDefault }; return t.attribs.url && (r.url = t.attribs.url), t.attribs.fileSize && (r.fileSize = parseInt(t.attribs.fileSize, 10)), t.attribs.type && (r.type = t.attribs.type), t.attribs.expression && (r.expression = t.attribs.expression), t.attribs.bitrate && (r.bitrate = parseInt(t. attribs.bitrate, 10)), t.attribs.framerate && (r.framerate = parseInt(t.attribs.framerate, 10)), t.attribs.samplingrate && (r.samplingrate = parseInt(t.attribs.samplingrate, 10)), t.attribs.channels && (r.channels = parseInt(t.attribs.channels, 10)), t.attribs.duration && (r. duration = parseInt(t.attribs.duration, 10)), t.attribs.height && (r.height = parseInt(t.attribs.height, 10)), t.attribs.width && (r.width = parseInt(t.attribs.width, 10)), t.attribs.lang && (r.lang = t.attribs.lang), r; }); } a(jM, "getMediaElements"); function rA(e, t) { return Zm.getElementsByTagName(e, t, !0); } a(rA, "getElements"); function Qm(e, t) { return Zm.getElementsByTagName(e, t, !0, 1)[0]; } a(Qm, "getOneElement"); function Hu(e, t, r) { return r === void 0 && (r = !1), Zm.getText(Zm.getElementsByTagName(e, t, r, 1)).trim(); } a(Hu, "fetch"); function GM(e, t) { if (!t) return null; var r = t.attribs; return r[e]; } a(GM, "getAttribute"); function Vi(e, t, r, n, i) { i === void 0 && (i = !1); var s = Hu(r, n, i); s && (e[t] = s); } a(Vi, "addConditionally"); function Efe(e) { return e === "rss" || e === "feed" || e === "rdf:RDF"; } a(Efe, "isValidFeed"); function Afe(e, t) { t === void 0 && (t = { xmlMode: !0 }); var r = new zM(t); return new Sfe.Parser(r, t).end(e), r.feed; } a(Afe, "parseFeed"); ni.parseFeed = Afe; }); // ../node_modules/renderkid/node_modules/htmlparser2/lib/index.js var XM = y((Pt) => { "use strict"; var KM = Pt && Pt.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r), Object.defineProperty(e, n, { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), Tfe = Pt && Pt.__setModuleDefault || (Object.create ? function(e, t) { Object.defineProperty(e, "default", { enumerable: !0, value: t }); } : function(e, t) { e.default = t; }), WM = Pt && Pt.__importStar || function(e) { if (e && e.__esModule) return e; var t = {}; if (e != null) for (var r in e) r !== "default" && Object.prototype.hasOwnProperty.call(e, r) && KM(t, e, r); return Tfe(t, e), t; }, Dfe = Pt && Pt.__exportStar || function(e, t) { for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && KM(t, e, r); }, xfe = Pt && Pt.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Pt, "__esModule", { value: !0 }); Pt.RssHandler = Pt.DefaultHandler = Pt.DomUtils = Pt.ElementType = Pt.Tokenizer = Pt.createDomStream = Pt.parseDOM = Pt.parseDocument = Pt. DomHandler = Pt.Parser = void 0; var iA = UE(); Object.defineProperty(Pt, "Parser", { enumerable: !0, get: /* @__PURE__ */ a(function() { return iA.Parser; }, "get") }); var Jm = uo(); Object.defineProperty(Pt, "DomHandler", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Jm.DomHandler; }, "get") }); Object.defineProperty(Pt, "DefaultHandler", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Jm.DomHandler; }, "get") }); function $M(e, t) { var r = new Jm.DomHandler(void 0, t); return new iA.Parser(r, t).end(e), r.root; } a($M, "parseDocument"); Pt.parseDocument = $M; function Cfe(e, t) { return $M(e, t).children; } a(Cfe, "parseDOM"); Pt.parseDOM = Cfe; function wfe(e, t, r) { var n = new Jm.DomHandler(e, t, r); return new iA.Parser(n, t); } a(wfe, "createDomStream"); Pt.createDomStream = wfe; var Ofe = ME(); Object.defineProperty(Pt, "Tokenizer", { enumerable: !0, get: /* @__PURE__ */ a(function() { return xfe(Ofe).default; }, "get") }); var Rfe = WM(Sc()); Pt.ElementType = Rfe; Dfe(nA(), Pt); Pt.DomUtils = WM(Ym()); var kfe = nA(); Object.defineProperty(Pt, "RssHandler", { enumerable: !0, get: /* @__PURE__ */ a(function() { return kfe.FeedHandler; }, "get") }); }); // ../node_modules/utila/lib/array.js var aA = y((Jje, YM) => { var Pfe; YM.exports = Pfe = { /* Tries to turn anything into an array. */ from: /* @__PURE__ */ a(function(e) { return Array.prototype.slice.call(e); }, "from"), /* Clone of an array. Properties will be shallow copies. */ simpleClone: /* @__PURE__ */ a(function(e) { return e.slice(0); }, "simpleClone"), shallowEqual: /* @__PURE__ */ a(function(e, t) { var r, n, i, s; if (!(Array.isArray(e) && Array.isArray(t) && e.length === t.length)) return !1; for (r = i = 0, s = e.length; i < s; r = ++i) if (n = e[r], t[r] !== n) return !1; return !0; }, "shallowEqual"), pluck: /* @__PURE__ */ a(function(e, t) { var r, n, i, s; if (e.length < 1) return e; for (r = i = 0, s = e.length; i < s; r = ++i) n = e[r], r > t && (e[r - 1] = e[r]); return e.length = e.length - 1, e; }, "pluck"), pluckItem: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o; if (e.length < 1) return e; for (n = 0, r = s = 0, o = e.length; s < o; r = ++s) { if (i = e[r], i === t) { n++; continue; } n !== 0 && (e[r - n] = e[r]); } return n > 0 && (e.length = e.length - n), e; }, "pluckItem"), pluckOneItem: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o; if (e.length < 1) return e; for (n = !1, r = s = 0, o = e.length; s < o; r = ++s) if (i = e[r], n) e[r - 1] = e[r]; else if (i === t) { n = !0; continue; } return n && (e.length = e.length - 1), e; }, "pluckOneItem"), pluckByCallback: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o; if (e.length < 1) return e; for (n = 0, r = s = 0, o = e.length; s < o; r = ++s) { if (i = e[r], t(i, r)) { n++; continue; } n !== 0 && (e[r - n] = e[r]); } return n > 0 && (e.length = e.length - n), e; }, "pluckByCallback"), pluckMultiple: /* @__PURE__ */ a(function(e, t) { var r, n, i, s; if (e.length < 1) return e; for (n = 0, t.sort(), i = 0, s = t.length; i < s; i++) r = t[i], this.pluck(e, r - n), n++; return e; }, "pluckMultiple"), injectByCallback: /* @__PURE__ */ a(function(e, t, r) { var n, i, s, o, u, l, c; if (o = null, u = null, i = e.length, i < 1) return e.push(t), e; for (n = l = 0, c = e.length; l < c; n = ++l) if (s = e[n], o = u, u = s, r(o, u, t)) return e.splice(n, 0, t); return e.push(t), e; }, "injectByCallback"), injectInIndex: /* @__PURE__ */ a(function(e, t, r) { var n, i, s, o; if (i = e.length, n = t, i < 1) return e.push(r), e; for (s = r, o = null; n <= i; n++) o = e[n], e[n] = s, s = o; return null; }, "injectInIndex") }; }); // ../node_modules/utila/lib/classic.js var JM = y((tGe, ZM) => { var sA, QM = [].slice; ZM.exports = sA = {}; sA.implement = function() { var e, t, r, n, i, s, o, u, l; for (s = 2 <= arguments.length ? QM.call(arguments, 0, o = arguments.length - 1) : (o = 0, []), t = arguments[o++], u = 0, l = s.length; u < l; u++) { i = s[u], e = t.prototype; for (n in i.prototype) Object.getOwnPropertyDescriptor(e, n) || (r = Object.getOwnPropertyDescriptor(i.prototype, n), Object.defineProperty(e, n, r)); } return t; }; sA.mix = function() { var e, t, r, n, i, s, o, u, l; for (s = 2 <= arguments.length ? QM.call(arguments, 0, o = arguments.length - 1) : (o = 0, []), t = arguments[o++], e = t.prototype, t.__mixinCloners = [], t.__applyClonersFor = function(c, f) { var d, g, b, _; for (f == null && (f = null), _ = t.__mixinCloners, g = 0, b = _.length; g < b; g++) d = _[g], d.apply(c, f); }, t.__mixinInitializers = [], t.__initMixinsFor = function(c, f) { var d, g, b, _; for (f == null && (f = null), _ = t.__mixinInitializers, g = 0, b = _.length; g < b; g++) d = _[g], d.apply(c, f); }, t.__mixinQuitters = [], t.__applyQuittersFor = function(c, f) { var d, g, b, _; for (f == null && (f = null), _ = t.__mixinQuitters, g = 0, b = _.length; g < b; g++) d = _[g], d.apply(c, f); }, u = 0, l = s.length; u < l; u++) { if (i = s[u], !(i.constructor instanceof Function)) throw Error("Mixin should be a function"); for (n in i.prototype) { if (n.substr(0, 11) === "__initMixin") { t.__mixinInitializers.push(i.prototype[n]); continue; } else if (n.substr(0, 11) === "__clonerFor") { t.__mixinCloners.push(i.prototype[n]); continue; } else if (n.substr(0, 12) === "__quitterFor") { t.__mixinQuitters.push(i.prototype[n]); continue; } Object.getOwnPropertyDescriptor(e, n) || (r = Object.getOwnPropertyDescriptor(i.prototype, n), Object.defineProperty(e, n, r)); } } return t; }; }); // ../node_modules/utila/lib/_common.js var t3 = y((rGe, e3) => { var Zo; e3.exports = Zo = { /* Checks to see if o is an object, and it isn't an instance of some class. */ isBareObject: /* @__PURE__ */ a(function(e) { return e != null && e.constructor === Object; }, "isBareObject"), /* Returns type of an object, including: undefined, null, string, number, array, arguments, element, textnode, whitespace, and object */ typeOf: /* @__PURE__ */ a(function(e) { var t; if (e === null) return "null"; if (typeof e != "object") return typeof e; if (Array.isArray(e)) return "array"; if (e.nodeName) { if (e.nodeType === 1) return "element"; if (e.nodeType === 3) return (t = /\S/.test(e.nodeValue)) != null ? t : { textnode: "whitespace" }; } else if (typeof e.length == "number" && e.callee) return "arguments"; return typeof e; }, "typeOf"), clone: /* @__PURE__ */ a(function(e, t) { switch (t == null && (t = !1), Zo.typeOf(e)) { case "array": return Zo._cloneArray(e, t); case "object": return Zo._cloneObject(e, t); default: return e; } }, "clone"), /* Deep clone of an object. From MooTools */ _cloneObject: /* @__PURE__ */ a(function(e, t) { var r, n; if (t == null && (t = !1), Zo.isBareObject(e)) { r = {}; for (n in e) r[n] = Zo.clone(e[n], t); return r; } else { if (!t || e instanceof Function) return e; r = Object.create(e.constructor.prototype); for (n in e) e.hasOwnProperty(n) && (r[n] = Zo.clone(e[n], t)); return r; } }, "_cloneObject"), /* Deep clone of an array. From MooTools */ _cloneArray: /* @__PURE__ */ a(function(e, t) { var r, n; for (t == null && (t = !1), n = e.length, r = new Array(n); n--; ) r[n] = Zo.clone(e[n], t); return r; }, "_cloneArray") }; }); // ../node_modules/utila/lib/object.js var n3 = y((iGe, r3) => { var Ffe, ju, Ife = {}.hasOwnProperty; ju = t3(); r3.exports = Ffe = { isBareObject: ju.isBareObject.bind(ju), /* if object is an instance of a class */ isInstance: /* @__PURE__ */ a(function(e) { return !this.isBareObject(e); }, "isInstance"), /* Alias to _common.typeOf */ typeOf: ju.typeOf.bind(ju), /* Alias to _common.clone */ clone: ju.clone.bind(ju), /* Empties an object of its properties. */ empty: /* @__PURE__ */ a(function(e) { var t; for (t in e) e.hasOwnProperty(t) && delete e[t]; return e; }, "empty"), /* Empties an object. Doesn't check for hasOwnProperty, so it's a tiny bit faster. Use it for plain objects. */ fastEmpty: /* @__PURE__ */ a(function(e) { var t; for (t in e) delete e[t]; return e; }, "fastEmpty"), /* Overrides values fomr `newValues` on `base`, as long as they already exist in base. */ overrideOnto: /* @__PURE__ */ a(function(e, t) { var r, n, i; if (!this.isBareObject(t) || !this.isBareObject(e)) return e; for (r in e) i = e[r], n = t[r], n !== void 0 && (typeof n != "object" || this.isInstance(n) ? e[r] = this.clone(n) : typeof i != "object" || this. isInstance(i) ? e[r] = this.clone(n) : this.overrideOnto(i, n)); return e; }, "overrideOnto"), /* Takes a clone of 'base' and runs #overrideOnto on it */ override: /* @__PURE__ */ a(function(e, t) { return this.overrideOnto(this.clone(e), t); }, "override"), append: /* @__PURE__ */ a(function(e, t) { return this.appendOnto(this.clone(e), t); }, "append"), appendOnto: /* @__PURE__ */ a(function(e, t) { var r, n, i; if (!this.isBareObject(t) || !this.isBareObject(e)) return e; for (r in t) Ife.call(t, r) && (n = t[r], n !== void 0 && (typeof n != "object" || this.isInstance(n) ? e[r] = n : (i = e[r], typeof i != "object" || this.isInstance(i) ? e[r] = this.clone(n) : this.appendOnto(i, n)))); return e; }, "appendOnto"), groupProps: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o, u, l, c, f; i = {}; for (o in t) n = t[o], i[o] = {}; i.rest = {}; e: for (s in e) { l = e[s], u = !1; for (o in t) for (n = t[o], Array.isArray(n) || (n = [n]), c = 0, f = n.length; c < f; c++) { if (r = n[c], typeof r == "string") s === r && (u = !0); else if (r instanceof RegExp) r.test(s) && (u = !0); else if (r instanceof Function) r(s) && (u = !0); else throw Error("Group definitions must either be strings, regexes, or functions."); if (u) { i[o][s] = l; continue e; } } i.rest[s] = l; } return i; }, "groupProps") }; }); // ../node_modules/utila/lib/string.js var a3 = y((sGe, i3) => { i3.exports = { pad: /* @__PURE__ */ a(function(e, t, r) { return r == null && (r = "0"), e = e + "", e.length >= t ? e : new Array(t - e.length + 1).join(r) + e; }, "pad") }; }); // ../node_modules/utila/lib/Emitter.js var u3 = y((uGe, o3) => { var Nfe, s3; s3 = aA(); o3.exports = Nfe = function() { function e() { this._listeners = {}, this._listenersForAnyEvent = [], this._disabledEmitters = {}; } return a(e, "Emitter"), e.prototype.on = function(t, r) { return this._listeners[t] == null && (this._listeners[t] = []), this._listeners[t].push(r), this; }, e.prototype.once = function(t, r) { var n, i, s = this; return i = !1, n = /* @__PURE__ */ a(function() { if (!i) return i = !0, r(), setTimeout(function() { return s.removeEvent(t, n); }, 0); }, "cb"), this.on(t, n), this; }, e.prototype.onAnyEvent = function(t) { return this._listenersForAnyEvent.push(t), this; }, e.prototype.removeEvent = function(t, r) { return this._listeners[t] == null ? this : (s3.pluckOneItem(this._listeners[t], r), this); }, e.prototype.removeListeners = function(t) { return this._listeners[t] == null ? this : (this._listeners[t].length = 0, this); }, e.prototype.removeAllListeners = function() { var t, r, n; n = this._listeners; for (r in n) t = n[r], t.length = 0; return this; }, e.prototype._emit = function(t, r) { var n, i, s, o, u, l, c; for (l = this._listenersForAnyEvent, i = 0, o = l.length; i < o; i++) n = l[i], n.call(this, r, t); if (this._listeners[t] != null) for (c = this._listeners[t], s = 0, u = c.length; s < u; s++) n = c[s], n.call(this, r); }, e.prototype._throttleEmitterMethod = function(t, r) { var n, i, s, o, u, l, c = this; if (r == null && (r = 1e3), i = this[t], typeof i != "function") throw Error("this class does not have a method called '" + t + "'"); return n = null, o = !1, l = null, this[t] = function() { return n = arguments, s(); }, s = /* @__PURE__ */ a(function() { return o && clearTimeout(l), l = setTimeout(u, r), o = !0; }, "pend"), u = /* @__PURE__ */ a(function() { return o = !1, i.apply(c, n); }, "runIt"); }, e.prototype._disableEmitter = function(t) { if (this._disabledEmitters[t] != null) throw Error("" + t + " is already a disabled emitter"); return this._disabledEmitters[t] = this[t], this[t] = function() { }; }, e.prototype._enableEmitter = function(t) { var r; if (r = this._disabledEmitters[t], r == null) throw Error("" + t + " is not a disabled emitter"); return this[t] = r, delete this._disabledEmitters[t]; }, e; }(); }); // ../node_modules/utila/lib/utila.js var oA = y((cGe, l3) => { var Lfe; l3.exports = Lfe = { array: aA(), classic: JM(), object: n3(), string: a3(), Emitter: u3() }; }); // ../node_modules/dom-converter/lib/objectToSaneObject.js var f3 = y((fGe, c3) => { var uA, Gu, Bfe = {}.hasOwnProperty; uA = oA().object; c3.exports = Gu = { sanitize: /* @__PURE__ */ a(function(e) { return Gu._toChildren(e); }, "sanitize"), _toChildren: /* @__PURE__ */ a(function(e) { var t; if (uA.isBareObject(e)) return Gu._objectToChildren(e); if (Array.isArray(e)) return Gu._arrayToChildren(e); if (e === null || typeof e > "u") return []; if ((t = typeof e) == "string" || t === "number") return [String(e)]; throw Error("not a valid child node: `" + e); }, "_toChildren"), _objectToChildren: /* @__PURE__ */ a(function(e) { var t, r, n, i; t = []; for (n in e) Bfe.call(e, n) && (i = e[n], r = {}, r[n] = Gu.sanitize(i), t.push(r)); return t; }, "_objectToChildren"), _arrayToChildren: /* @__PURE__ */ a(function(e) { var t, r, n, i; for (n = [], t = 0, r = e.length; t < r; t++) i = e[t], n.push(Gu._toNode(i)); return n; }, "_arrayToChildren"), _toNode: /* @__PURE__ */ a(function(e) { var t, r, n, i; if ((i = typeof e) == "string" || i === "number") return String(e); if (uA.isBareObject(e)) { if (r = Object.keys(e), r.length !== 1) throw Error("a node must only have one key as tag name"); return t = r[0], n = {}, n[t] = Gu._toChildren(e[t]), n; } else throw Error("not a valid node: `" + e + "`"); }, "_toNode") }; }); // ../node_modules/dom-converter/lib/saneObjectToDom.js var p3 = y((pGe, h3) => { var Ps, Mfe = {}.hasOwnProperty; h3.exports = Ps = { convert: /* @__PURE__ */ a(function(e) { return Ps._arrayToChildren(e); }, "convert"), _arrayToChildren: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o, u; for (t == null && (t = null), r = [], o = null, n = 0, i = e.length; n < i; n++) u = e[n], typeof u == "string" ? s = Ps._getTextNodeFor(u) : (s = Ps._objectToNode(u, t), s.prev = null, s.next = null, s.parent = t, o != null && (s.prev = o, o.next = s), o = s), r.push(s); return r; }, "_arrayToChildren"), _objectToNode: /* @__PURE__ */ a(function(e) { var t, r, n, i, s, o, u, l, c, f; n = 0; for (i in e) if (Mfe.call(e, i)) { if (c = e[i], n > 0) throw Error("_objectToNode() only accepts an object with one key/value"); s = i, f = c, n++; } if (u = {}, typeof s != "string") throw Error("_objectToNode()'s key must be a string of tag name and classes"); if (typeof f == "string") r = [Ps._getTextNodeFor(f)]; else if (Array.isArray(f)) r = Ps._arrayToChildren(f, u); else throw inspect(e), Error("_objectToNode()'s key's value must only be a string or an array"); return u.type = "tag", l = Ps._parseTag(s), o = l.name, t = l.attribs, u.name = o, u.attribs = t, u.children = r, u; }, "_objectToNode"), _getTextNodeFor: /* @__PURE__ */ a(function(e) { return { type: "text", data: e }; }, "_getTextNodeFor"), _nameRx: /^[a-zA-Z\-\_]{1}[a-zA-Z0-9\-\_]*$/, _parseTag: /* @__PURE__ */ a(function(e) { var t, r, n, i, s, o, u; if (!e.match(/^[a-zA-Z0-9\#\-\_\.\[\]\"\'\=\,\s]+$/) || e.match(/^[0-9]+/)) throw Error("cannot parse tag `" + e + "`"); if (t = {}, u = { name: "", attribs: t }, s = e.match(/^([^\.#]+)/)) { if (o = s[1], !o.match(Ps._nameRx)) throw Error("tag name `" + o + "` is not valid"); u.name = o, e = e.substr(o.length, e.length); } if (s = e.match(/^#([a-zA-Z0-9\-]+)/)) { if (i = s[1], !i.match(Ps._nameRx)) throw Error("tag id `" + i + "` is not valid"); t.id = i, e = e.substr(i.length + 1, e.length); } for (r = []; s = e.match(/\.([a-zA-Z0-9\-\_]+)/); ) { if (n = s[1], !n.match(Ps._nameRx)) throw Error("tag class `" + n + "` is not valid"); r.push(n), e = e.replace("." + n, ""); } return r.length && (t.class = r.join(" ")), u; }, "_parseTag") }; }); // ../node_modules/dom-converter/lib/domToMarkup.js var d3 = y(() => { }); // ../node_modules/dom-converter/lib/domConverter.js var b3 = y((_Ge, v3) => { var cA, m3, g3, _3, lA; g3 = f3(); _3 = p3(); cA = d3(); m3 = oA().object; v3.exports = lA = { objectToDom: /* @__PURE__ */ a(function(e) { return e = lA._object2SaneObject(e), _3.convert(e); }, "objectToDom"), object2markup: /* @__PURE__ */ a(function(e) { var t; return t = lA.objectToDom(e), cA.convert(t); }, "object2markup"), domToMarkup: /* @__PURE__ */ a(function(e) { return cA.convert(e); }, "domToMarkup"), _object2SaneObject: /* @__PURE__ */ a(function(e) { if (!Array.isArray(e) && !m3.isBareObject(e)) throw Error("toDom() only accepts arrays and bare objects as input"); return g3.sanitize(e); }, "_object2SaneObject") }; }); // ../node_modules/lodash/_stackClear.js var S3 = y((bGe, y3) => { var qfe = bh(); function Ufe() { this.__data__ = new qfe(), this.size = 0; } a(Ufe, "stackClear"); y3.exports = Ufe; }); // ../node_modules/lodash/_stackDelete.js var A3 = y((SGe, E3) => { function Vfe(e) { var t = this.__data__, r = t.delete(e); return this.size = t.size, r; } a(Vfe, "stackDelete"); E3.exports = Vfe; }); // ../node_modules/lodash/_stackGet.js var D3 = y((AGe, T3) => { function Hfe(e) { return this.__data__.get(e); } a(Hfe, "stackGet"); T3.exports = Hfe; }); // ../node_modules/lodash/_stackHas.js var C3 = y((DGe, x3) => { function jfe(e) { return this.__data__.has(e); } a(jfe, "stackHas"); x3.exports = jfe; }); // ../node_modules/lodash/_stackSet.js var O3 = y((CGe, w3) => { var Gfe = bh(), zfe = km(), Kfe = TE(), Wfe = 200; function $fe(e, t) { var r = this.__data__; if (r instanceof Gfe) { var n = r.__data__; if (!zfe || n.length < Wfe - 1) return n.push([e, t]), this.size = ++r.size, this; r = this.__data__ = new Kfe(n); } return r.set(e, t), this.size = r.size, this; } a($fe, "stackSet"); w3.exports = $fe; }); // ../node_modules/lodash/_Stack.js var fA = y((OGe, R3) => { var Xfe = bh(), Yfe = S3(), Qfe = A3(), Zfe = D3(), Jfe = C3(), ehe = O3(); function Dc(e) { var t = this.__data__ = new Xfe(e); this.size = t.size; } a(Dc, "Stack"); Dc.prototype.clear = Yfe; Dc.prototype.delete = Qfe; Dc.prototype.get = Zfe; Dc.prototype.has = Jfe; Dc.prototype.set = ehe; R3.exports = Dc; }); // ../node_modules/lodash/_defineProperty.js var hA = y((kGe, k3) => { var the = Wo(), rhe = function() { try { var e = the(Object, "defineProperty"); return e({}, "", {}), e; } catch { } }(); k3.exports = rhe; }); // ../node_modules/lodash/_baseAssignValue.js var eg = y((PGe, F3) => { var P3 = hA(); function nhe(e, t, r) { t == "__proto__" && P3 ? P3(e, t, { configurable: !0, enumerable: !0, value: r, writable: !0 }) : e[t] = r; } a(nhe, "baseAssignValue"); F3.exports = nhe; }); // ../node_modules/lodash/_assignMergeValue.js var pA = y((IGe, I3) => { var ihe = eg(), ahe = _h(); function she(e, t, r) { (r !== void 0 && !ahe(e[t], r) || r === void 0 && !(t in e)) && ihe(e, t, r); } a(she, "assignMergeValue"); I3.exports = she; }); // ../node_modules/lodash/_createBaseFor.js var L3 = y((LGe, N3) => { function ohe(e) { return function(t, r, n) { for (var i = -1, s = Object(t), o = n(t), u = o.length; u--; ) { var l = o[e ? u : ++i]; if (r(s[l], l, s) === !1) break; } return t; }; } a(ohe, "createBaseFor"); N3.exports = ohe; }); // ../node_modules/lodash/_baseFor.js var M3 = y((MGe, B3) => { var uhe = L3(), lhe = uhe(); B3.exports = lhe; }); // ../node_modules/lodash/_cloneBuffer.js var dA = y((Oh, xc) => { var che = Ha(), H3 = typeof Oh == "object" && Oh && !Oh.nodeType && Oh, q3 = H3 && typeof xc == "object" && xc && !xc.nodeType && xc, fhe = q3 && q3.exports === H3, U3 = fhe ? che.Buffer : void 0, V3 = U3 ? U3.allocUnsafe : void 0; function hhe(e, t) { if (t) return e.slice(); var r = e.length, n = V3 ? V3(r) : new e.constructor(r); return e.copy(n), n; } a(hhe, "cloneBuffer"); xc.exports = hhe; }); // ../node_modules/lodash/_Uint8Array.js var G3 = y((UGe, j3) => { var phe = Ha(), dhe = phe.Uint8Array; j3.exports = dhe; }); // ../node_modules/lodash/_cloneArrayBuffer.js var tg = y((VGe, K3) => { var z3 = G3(); function mhe(e) { var t = new e.constructor(e.byteLength); return new z3(t).set(new z3(e)), t; } a(mhe, "cloneArrayBuffer"); K3.exports = mhe; }); // ../node_modules/lodash/_cloneTypedArray.js var mA = y((jGe, W3) => { var ghe = tg(); function _he(e, t) { var r = t ? ghe(e.buffer) : e.buffer; return new e.constructor(r, e.byteOffset, e.length); } a(_he, "cloneTypedArray"); W3.exports = _he; }); // ../node_modules/lodash/_copyArray.js var gA = y((zGe, $3) => { function vhe(e, t) { var r = -1, n = e.length; for (t || (t = Array(n)); ++r < n; ) t[r] = e[r]; return t; } a(vhe, "copyArray"); $3.exports = vhe; }); // ../node_modules/lodash/_baseCreate.js var Q3 = y((WGe, Y3) => { var bhe = oo(), X3 = Object.create, yhe = function() { function e() { } return a(e, "object"), function(t) { if (!bhe(t)) return {}; if (X3) return X3(t); e.prototype = t; var r = new e(); return e.prototype = void 0, r; }; }(); Y3.exports = yhe; }); // ../node_modules/lodash/_isPrototype.js var rg = y((XGe, Z3) => { var She = Object.prototype; function Ehe(e) { var t = e && e.constructor, r = typeof t == "function" && t.prototype || She; return e === r; } a(Ehe, "isPrototype"); Z3.exports = Ehe; }); // ../node_modules/lodash/_initCloneObject.js var _A = y((QGe, J3) => { var Ahe = Q3(), The = Im(), Dhe = rg(); function xhe(e) { return typeof e.constructor == "function" && !Dhe(e) ? Ahe(The(e)) : {}; } a(xhe, "initCloneObject"); J3.exports = xhe; }); // ../node_modules/lodash/_baseIsArguments.js var tq = y((JGe, eq) => { var Che = mc(), whe = $o(), Ohe = "[object Arguments]"; function Rhe(e) { return whe(e) && Che(e) == Ohe; } a(Rhe, "baseIsArguments"); eq.exports = Rhe; }); // ../node_modules/lodash/isArguments.js var vA = y((tze, iq) => { var rq = tq(), khe = $o(), nq = Object.prototype, Phe = nq.hasOwnProperty, Fhe = nq.propertyIsEnumerable, Ihe = rq(/* @__PURE__ */ function() { return arguments; }()) ? rq : function(e) { return khe(e) && Phe.call(e, "callee") && !Fhe.call(e, "callee"); }; iq.exports = Ihe; }); // ../node_modules/lodash/isArray.js var Rh = y((rze, aq) => { var Nhe = Array.isArray; aq.exports = Nhe; }); // ../node_modules/lodash/isLength.js var bA = y((nze, sq) => { var Lhe = 9007199254740991; function Bhe(e) { return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Lhe; } a(Bhe, "isLength"); sq.exports = Bhe; }); // ../node_modules/lodash/isArrayLike.js var kh = y((aze, oq) => { var Mhe = Rm(), qhe = bA(); function Uhe(e) { return e != null && qhe(e.length) && !Mhe(e); } a(Uhe, "isArrayLike"); oq.exports = Uhe; }); // ../node_modules/lodash/isArrayLikeObject.js var lq = y((oze, uq) => { var Vhe = kh(), Hhe = $o(); function jhe(e) { return Hhe(e) && Vhe(e); } a(jhe, "isArrayLikeObject"); uq.exports = jhe; }); // ../node_modules/lodash/stubFalse.js var fq = y((lze, cq) => { function Ghe() { return !1; } a(Ghe, "stubFalse"); cq.exports = Ghe; }); // ../node_modules/lodash/isBuffer.js var ng = y((Ph, Cc) => { var zhe = Ha(), Khe = fq(), dq = typeof Ph == "object" && Ph && !Ph.nodeType && Ph, hq = dq && typeof Cc == "object" && Cc && !Cc.nodeType && Cc, Whe = hq && hq.exports === dq, pq = Whe ? zhe.Buffer : void 0, $he = pq ? pq.isBuffer : void 0, Xhe = $he || Khe; Cc.exports = Xhe; }); // ../node_modules/lodash/_baseIsTypedArray.js var gq = y((fze, mq) => { var Yhe = mc(), Qhe = bA(), Zhe = $o(), Jhe = "[object Arguments]", epe = "[object Array]", tpe = "[object Boolean]", rpe = "[object Date]", npe = "[object Error]", ipe = "[object Function]", ape = "[object Map]", spe = "[object Number]", ope = "[object Object]", upe = "[object \ RegExp]", lpe = "[object Set]", cpe = "[object String]", fpe = "[object WeakMap]", hpe = "[object ArrayBuffer]", ppe = "[object DataView]", dpe = "\ [object Float32Array]", mpe = "[object Float64Array]", gpe = "[object Int8Array]", _pe = "[object Int16Array]", vpe = "[object Int32Array]", bpe = "[object Uint8Array]", ype = "[object Uint8ClampedArray]", Spe = "[object Uint16Array]", Epe = "[object Uint32Array]", mr = {}; mr[dpe] = mr[mpe] = mr[gpe] = mr[_pe] = mr[vpe] = mr[bpe] = mr[ype] = mr[Spe] = mr[Epe] = !0; mr[Jhe] = mr[epe] = mr[hpe] = mr[tpe] = mr[ppe] = mr[rpe] = mr[npe] = mr[ipe] = mr[ape] = mr[spe] = mr[ope] = mr[upe] = mr[lpe] = mr[cpe] = mr[fpe] = !1; function Ape(e) { return Zhe(e) && Qhe(e.length) && !!mr[Yhe(e)]; } a(Ape, "baseIsTypedArray"); mq.exports = Ape; }); // ../node_modules/lodash/_baseUnary.js var ig = y((pze, _q) => { function Tpe(e) { return function(t) { return e(t); }; } a(Tpe, "baseUnary"); _q.exports = Tpe; }); // ../node_modules/lodash/_nodeUtil.js var ag = y((Fh, wc) => { var Dpe = SE(), vq = typeof Fh == "object" && Fh && !Fh.nodeType && Fh, Ih = vq && typeof wc == "object" && wc && !wc.nodeType && wc, xpe = Ih && Ih.exports === vq, yA = xpe && Dpe.process, Cpe = function() { try { var e = Ih && Ih.require && Ih.require("util").types; return e || yA && yA.binding && yA.binding("util"); } catch { } }(); wc.exports = Cpe; }); // ../node_modules/lodash/isTypedArray.js var SA = y((mze, Sq) => { var wpe = gq(), Ope = ig(), bq = ag(), yq = bq && bq.isTypedArray, Rpe = yq ? Ope(yq) : wpe; Sq.exports = Rpe; }); // ../node_modules/lodash/_safeGet.js var EA = y((gze, Eq) => { function kpe(e, t) { if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t]; } a(kpe, "safeGet"); Eq.exports = kpe; }); // ../node_modules/lodash/_assignValue.js var AA = y((vze, Aq) => { var Ppe = eg(), Fpe = _h(), Ipe = Object.prototype, Npe = Ipe.hasOwnProperty; function Lpe(e, t, r) { var n = e[t]; (!(Npe.call(e, t) && Fpe(n, r)) || r === void 0 && !(t in e)) && Ppe(e, t, r); } a(Lpe, "assignValue"); Aq.exports = Lpe; }); // ../node_modules/lodash/_copyObject.js var Oc = y((yze, Tq) => { var Bpe = AA(), Mpe = eg(); function qpe(e, t, r, n) { var i = !r; r || (r = {}); for (var s = -1, o = t.length; ++s < o; ) { var u = t[s], l = n ? n(r[u], e[u], u, r, e) : void 0; l === void 0 && (l = e[u]), i ? Mpe(r, u, l) : Bpe(r, u, l); } return r; } a(qpe, "copyObject"); Tq.exports = qpe; }); // ../node_modules/lodash/_baseTimes.js var xq = y((Eze, Dq) => { function Upe(e, t) { for (var r = -1, n = Array(e); ++r < e; ) n[r] = t(r); return n; } a(Upe, "baseTimes"); Dq.exports = Upe; }); // ../node_modules/lodash/_isIndex.js var TA = y((Tze, Cq) => { var Vpe = 9007199254740991, Hpe = /^(?:0|[1-9]\d*)$/; function jpe(e, t) { var r = typeof e; return t = t ?? Vpe, !!t && (r == "number" || r != "symbol" && Hpe.test(e)) && e > -1 && e % 1 == 0 && e < t; } a(jpe, "isIndex"); Cq.exports = jpe; }); // ../node_modules/lodash/_arrayLikeKeys.js var DA = y((xze, wq) => { var Gpe = xq(), zpe = vA(), Kpe = Rh(), Wpe = ng(), $pe = TA(), Xpe = SA(), Ype = Object.prototype, Qpe = Ype.hasOwnProperty; function Zpe(e, t) { var r = Kpe(e), n = !r && zpe(e), i = !r && !n && Wpe(e), s = !r && !n && !i && Xpe(e), o = r || n || i || s, u = o ? Gpe(e.length, String) : [], l = u.length; for (var c in e) (t || Qpe.call(e, c)) && !(o && // Safari 9 has enumerable `arguments.length` in strict mode. (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers. i && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays. s && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties. $pe(c, l))) && u.push(c); return u; } a(Zpe, "arrayLikeKeys"); wq.exports = Zpe; }); // ../node_modules/lodash/_nativeKeysIn.js var Rq = y((wze, Oq) => { function Jpe(e) { var t = []; if (e != null) for (var r in Object(e)) t.push(r); return t; } a(Jpe, "nativeKeysIn"); Oq.exports = Jpe; }); // ../node_modules/lodash/_baseKeysIn.js var Pq = y((Rze, kq) => { var ede = oo(), tde = rg(), rde = Rq(), nde = Object.prototype, ide = nde.hasOwnProperty; function ade(e) { if (!ede(e)) return rde(e); var t = tde(e), r = []; for (var n in e) n == "constructor" && (t || !ide.call(e, n)) || r.push(n); return r; } a(ade, "baseKeysIn"); kq.exports = ade; }); // ../node_modules/lodash/keysIn.js var Rc = y((Pze, Fq) => { var sde = DA(), ode = Pq(), ude = kh(); function lde(e) { return ude(e) ? sde(e, !0) : ode(e); } a(lde, "keysIn"); Fq.exports = lde; }); // ../node_modules/lodash/toPlainObject.js var Nq = y((Ize, Iq) => { var cde = Oc(), fde = Rc(); function hde(e) { return cde(e, fde(e)); } a(hde, "toPlainObject"); Iq.exports = hde; }); // ../node_modules/lodash/_baseMergeDeep.js var Vq = y((Lze, Uq) => { var Lq = pA(), pde = dA(), dde = mA(), mde = gA(), gde = _A(), Bq = vA(), Mq = Rh(), _de = lq(), vde = ng(), bde = Rm(), yde = oo(), Sde = Sh(), Ede = SA(), qq = EA(), Ade = Nq(); function Tde(e, t, r, n, i, s, o) { var u = qq(e, r), l = qq(t, r), c = o.get(l); if (c) { Lq(e, r, c); return; } var f = s ? s(u, l, r + "", e, t, o) : void 0, d = f === void 0; if (d) { var g = Mq(l), b = !g && vde(l), _ = !g && !b && Ede(l); f = l, g || b || _ ? Mq(u) ? f = u : _de(u) ? f = mde(u) : b ? (d = !1, f = pde(l, !0)) : _ ? (d = !1, f = dde(l, !0)) : f = [] : Sde( l) || Bq(l) ? (f = u, Bq(u) ? f = Ade(u) : (!yde(u) || bde(u)) && (f = gde(l))) : d = !1; } d && (o.set(l, f), i(f, l, n, s, o), o.delete(l)), Lq(e, r, f); } a(Tde, "baseMergeDeep"); Uq.exports = Tde; }); // ../node_modules/lodash/_baseMerge.js var Gq = y((Mze, jq) => { var Dde = fA(), xde = pA(), Cde = M3(), wde = Vq(), Ode = oo(), Rde = Rc(), kde = EA(); function Hq(e, t, r, n, i) { e !== t && Cde(t, function(s, o) { if (i || (i = new Dde()), Ode(s)) wde(e, t, o, r, Hq, n, i); else { var u = n ? n(kde(e, o), s, o + "", e, t, i) : void 0; u === void 0 && (u = s), xde(e, o, u); } }, Rde); } a(Hq, "baseMerge"); jq.exports = Hq; }); // ../node_modules/lodash/identity.js var xA = y((Uze, zq) => { function Pde(e) { return e; } a(Pde, "identity"); zq.exports = Pde; }); // ../node_modules/lodash/_apply.js var Wq = y((Hze, Kq) => { function Fde(e, t, r) { switch (r.length) { case 0: return e.call(t); case 1: return e.call(t, r[0]); case 2: return e.call(t, r[0], r[1]); case 3: return e.call(t, r[0], r[1], r[2]); } return e.apply(t, r); } a(Fde, "apply"); Kq.exports = Fde; }); // ../node_modules/lodash/_overRest.js var Yq = y((Gze, Xq) => { var Ide = Wq(), $q = Math.max; function Nde(e, t, r) { return t = $q(t === void 0 ? e.length - 1 : t, 0), function() { for (var n = arguments, i = -1, s = $q(n.length - t, 0), o = Array(s); ++i < s; ) o[i] = n[t + i]; i = -1; for (var u = Array(t + 1); ++i < t; ) u[i] = n[i]; return u[t] = r(o), Ide(e, this, u); }; } a(Nde, "overRest"); Xq.exports = Nde; }); // ../node_modules/lodash/constant.js var Zq = y((Kze, Qq) => { function Lde(e) { return function() { return e; }; } a(Lde, "constant"); Qq.exports = Lde; }); // ../node_modules/lodash/_baseSetToString.js var tU = y(($ze, eU) => { var Bde = Zq(), Jq = hA(), Mde = xA(), qde = Jq ? function(e, t) { return Jq(e, "toString", { configurable: !0, enumerable: !1, value: Bde(t), writable: !0 }); } : Mde; eU.exports = qde; }); // ../node_modules/lodash/_shortOut.js var nU = y((Xze, rU) => { var Ude = 800, Vde = 16, Hde = Date.now; function jde(e) { var t = 0, r = 0; return function() { var n = Hde(), i = Vde - (n - r); if (r = n, i > 0) { if (++t >= Ude) return arguments[0]; } else t = 0; return e.apply(void 0, arguments); }; } a(jde, "shortOut"); rU.exports = jde; }); // ../node_modules/lodash/_setToString.js var aU = y((Qze, iU) => { var Gde = tU(), zde = nU(), Kde = zde(Gde); iU.exports = Kde; }); // ../node_modules/lodash/_baseRest.js var oU = y((Zze, sU) => { var Wde = xA(), $de = Yq(), Xde = aU(); function Yde(e, t) { return Xde($de(e, t, Wde), e + ""); } a(Yde, "baseRest"); sU.exports = Yde; }); // ../node_modules/lodash/_isIterateeCall.js var lU = y((e7e, uU) => { var Qde = _h(), Zde = kh(), Jde = TA(), eme = oo(); function tme(e, t, r) { if (!eme(r)) return !1; var n = typeof t; return (n == "number" ? Zde(r) && Jde(t, r.length) : n == "string" && t in r) ? Qde(r[t], e) : !1; } a(tme, "isIterateeCall"); uU.exports = tme; }); // ../node_modules/lodash/_createAssigner.js var fU = y((r7e, cU) => { var rme = oU(), nme = lU(); function ime(e) { return rme(function(t, r) { var n = -1, i = r.length, s = i > 1 ? r[i - 1] : void 0, o = i > 2 ? r[2] : void 0; for (s = e.length > 3 && typeof s == "function" ? (i--, s) : void 0, o && nme(r[0], r[1], o) && (s = i < 3 ? void 0 : s, i = 1), t = Object( t); ++n < i; ) { var u = r[n]; u && e(t, u, n, s); } return t; }); } a(ime, "createAssigner"); cU.exports = ime; }); // ../node_modules/lodash/merge.js var sg = y((i7e, hU) => { var ame = Gq(), sme = fU(), ome = sme(function(e, t, r) { ame(e, t, r); }); hU.exports = ome; }); // ../node_modules/lodash/_arrayEach.js var dU = y((a7e, pU) => { function ume(e, t) { for (var r = -1, n = e == null ? 0 : e.length; ++r < n && t(e[r], r, e) !== !1; ) ; return e; } a(ume, "arrayEach"); pU.exports = ume; }); // ../node_modules/lodash/_nativeKeys.js var gU = y((o7e, mU) => { var lme = PE(), cme = lme(Object.keys, Object); mU.exports = cme; }); // ../node_modules/lodash/_baseKeys.js var vU = y((u7e, _U) => { var fme = rg(), hme = gU(), pme = Object.prototype, dme = pme.hasOwnProperty; function mme(e) { if (!fme(e)) return hme(e); var t = []; for (var r in Object(e)) dme.call(e, r) && r != "constructor" && t.push(r); return t; } a(mme, "baseKeys"); _U.exports = mme; }); // ../node_modules/lodash/keys.js var og = y((c7e, bU) => { var gme = DA(), _me = vU(), vme = kh(); function bme(e) { return vme(e) ? gme(e) : _me(e); } a(bme, "keys"); bU.exports = bme; }); // ../node_modules/lodash/_baseAssign.js var SU = y((h7e, yU) => { var yme = Oc(), Sme = og(); function Eme(e, t) { return e && yme(t, Sme(t), e); } a(Eme, "baseAssign"); yU.exports = Eme; }); // ../node_modules/lodash/_baseAssignIn.js var AU = y((d7e, EU) => { var Ame = Oc(), Tme = Rc(); function Dme(e, t) { return e && Ame(t, Tme(t), e); } a(Dme, "baseAssignIn"); EU.exports = Dme; }); // ../node_modules/lodash/_arrayFilter.js var DU = y((g7e, TU) => { function xme(e, t) { for (var r = -1, n = e == null ? 0 : e.length, i = 0, s = []; ++r < n; ) { var o = e[r]; t(o, r, e) && (s[i++] = o); } return s; } a(xme, "arrayFilter"); TU.exports = xme; }); // ../node_modules/lodash/stubArray.js var CA = y((v7e, xU) => { function Cme() { return []; } a(Cme, "stubArray"); xU.exports = Cme; }); // ../node_modules/lodash/_getSymbols.js var ug = y((y7e, wU) => { var wme = DU(), Ome = CA(), Rme = Object.prototype, kme = Rme.propertyIsEnumerable, CU = Object.getOwnPropertySymbols, Pme = CU ? function(e) { return e == null ? [] : (e = Object(e), wme(CU(e), function(t) { return kme.call(e, t); })); } : Ome; wU.exports = Pme; }); // ../node_modules/lodash/_copySymbols.js var RU = y((S7e, OU) => { var Fme = Oc(), Ime = ug(); function Nme(e, t) { return Fme(e, Ime(e), t); } a(Nme, "copySymbols"); OU.exports = Nme; }); // ../node_modules/lodash/_arrayPush.js var wA = y((A7e, kU) => { function Lme(e, t) { for (var r = -1, n = t.length, i = e.length; ++r < n; ) e[i + r] = t[r]; return e; } a(Lme, "arrayPush"); kU.exports = Lme; }); // ../node_modules/lodash/_getSymbolsIn.js var OA = y((D7e, PU) => { var Bme = wA(), Mme = Im(), qme = ug(), Ume = CA(), Vme = Object.getOwnPropertySymbols, Hme = Vme ? function(e) { for (var t = []; e; ) Bme(t, qme(e)), e = Mme(e); return t; } : Ume; PU.exports = Hme; }); // ../node_modules/lodash/_copySymbolsIn.js var IU = y((x7e, FU) => { var jme = Oc(), Gme = OA(); function zme(e, t) { return jme(e, Gme(e), t); } a(zme, "copySymbolsIn"); FU.exports = zme; }); // ../node_modules/lodash/_baseGetAllKeys.js var RA = y((w7e, NU) => { var Kme = wA(), Wme = Rh(); function $me(e, t, r) { var n = t(e); return Wme(e) ? n : Kme(n, r(e)); } a($me, "baseGetAllKeys"); NU.exports = $me; }); // ../node_modules/lodash/_getAllKeys.js var BU = y((R7e, LU) => { var Xme = RA(), Yme = ug(), Qme = og(); function Zme(e) { return Xme(e, Qme, Yme); } a(Zme, "getAllKeys"); LU.exports = Zme; }); // ../node_modules/lodash/_getAllKeysIn.js var qU = y((P7e, MU) => { var Jme = RA(), ege = OA(), tge = Rc(); function rge(e) { return Jme(e, tge, ege); } a(rge, "getAllKeysIn"); MU.exports = rge; }); // ../node_modules/lodash/_DataView.js var VU = y((I7e, UU) => { var nge = Wo(), ige = Ha(), age = nge(ige, "DataView"); UU.exports = age; }); // ../node_modules/lodash/_Promise.js var jU = y((N7e, HU) => { var sge = Wo(), oge = Ha(), uge = sge(oge, "Promise"); HU.exports = uge; }); // ../node_modules/lodash/_WeakMap.js var zU = y((L7e, GU) => { var lge = Wo(), cge = Ha(), fge = lge(cge, "WeakMap"); GU.exports = fge; }); // ../node_modules/lodash/_getTag.js var lg = y((B7e, ZU) => { var kA = VU(), PA = km(), FA = jU(), IA = DE(), NA = zU(), QU = mc(), kc = AE(), KU = "[object Map]", hge = "[object Object]", WU = "[obje\ ct Promise]", $U = "[object Set]", XU = "[object WeakMap]", YU = "[object DataView]", pge = kc(kA), dge = kc(PA), mge = kc(FA), gge = kc(IA), _ge = kc(NA), zu = QU; (kA && zu(new kA(new ArrayBuffer(1))) != YU || PA && zu(new PA()) != KU || FA && zu(FA.resolve()) != WU || IA && zu(new IA()) != $U || NA && zu(new NA()) != XU) && (zu = /* @__PURE__ */ a(function(e) { var t = QU(e), r = t == hge ? e.constructor : void 0, n = r ? kc(r) : ""; if (n) switch (n) { case pge: return YU; case dge: return KU; case mge: return WU; case gge: return $U; case _ge: return XU; } return t; }, "getTag")); ZU.exports = zu; }); // ../node_modules/lodash/_initCloneArray.js var eV = y((q7e, JU) => { var vge = Object.prototype, bge = vge.hasOwnProperty; function yge(e) { var t = e.length, r = new e.constructor(t); return t && typeof e[0] == "string" && bge.call(e, "index") && (r.index = e.index, r.input = e.input), r; } a(yge, "initCloneArray"); JU.exports = yge; }); // ../node_modules/lodash/_cloneDataView.js var rV = y((V7e, tV) => { var Sge = tg(); function Ege(e, t) { var r = t ? Sge(e.buffer) : e.buffer; return new e.constructor(r, e.byteOffset, e.byteLength); } a(Ege, "cloneDataView"); tV.exports = Ege; }); // ../node_modules/lodash/_cloneRegExp.js var iV = y((j7e, nV) => { var Age = /\w*$/; function Tge(e) { var t = new e.constructor(e.source, Age.exec(e)); return t.lastIndex = e.lastIndex, t; } a(Tge, "cloneRegExp"); nV.exports = Tge; }); // ../node_modules/lodash/_cloneSymbol.js var lV = y((z7e, uV) => { var aV = Om(), sV = aV ? aV.prototype : void 0, oV = sV ? sV.valueOf : void 0; function Dge(e) { return oV ? Object(oV.call(e)) : {}; } a(Dge, "cloneSymbol"); uV.exports = Dge; }); // ../node_modules/lodash/_initCloneByTag.js var fV = y((W7e, cV) => { var xge = tg(), Cge = rV(), wge = iV(), Oge = lV(), Rge = mA(), kge = "[object Boolean]", Pge = "[object Date]", Fge = "[object Map]", Ige = "\ [object Number]", Nge = "[object RegExp]", Lge = "[object Set]", Bge = "[object String]", Mge = "[object Symbol]", qge = "[object ArrayBuffe\ r]", Uge = "[object DataView]", Vge = "[object Float32Array]", Hge = "[object Float64Array]", jge = "[object Int8Array]", Gge = "[object Int\ 16Array]", zge = "[object Int32Array]", Kge = "[object Uint8Array]", Wge = "[object Uint8ClampedArray]", $ge = "[object Uint16Array]", Xge = "\ [object Uint32Array]"; function Yge(e, t, r) { var n = e.constructor; switch (t) { case qge: return xge(e); case kge: case Pge: return new n(+e); case Uge: return Cge(e, r); case Vge: case Hge: case jge: case Gge: case zge: case Kge: case Wge: case $ge: case Xge: return Rge(e, r); case Fge: return new n(); case Ige: case Bge: return new n(e); case Nge: return wge(e); case Lge: return new n(); case Mge: return Oge(e); } } a(Yge, "initCloneByTag"); cV.exports = Yge; }); // ../node_modules/lodash/_baseIsMap.js var pV = y((X7e, hV) => { var Qge = lg(), Zge = $o(), Jge = "[object Map]"; function e_e(e) { return Zge(e) && Qge(e) == Jge; } a(e_e, "baseIsMap"); hV.exports = e_e; }); // ../node_modules/lodash/isMap.js var _V = y((Q7e, gV) => { var t_e = pV(), r_e = ig(), dV = ag(), mV = dV && dV.isMap, n_e = mV ? r_e(mV) : t_e; gV.exports = n_e; }); // ../node_modules/lodash/_baseIsSet.js var bV = y((Z7e, vV) => { var i_e = lg(), a_e = $o(), s_e = "[object Set]"; function o_e(e) { return a_e(e) && i_e(e) == s_e; } a(o_e, "baseIsSet"); vV.exports = o_e; }); // ../node_modules/lodash/isSet.js var AV = y((eKe, EV) => { var u_e = bV(), l_e = ig(), yV = ag(), SV = yV && yV.isSet, c_e = SV ? l_e(SV) : u_e; EV.exports = c_e; }); // ../node_modules/lodash/_baseClone.js var wV = y((tKe, CV) => { var f_e = fA(), h_e = dU(), p_e = AA(), d_e = SU(), m_e = AU(), g_e = dA(), __e = gA(), v_e = RU(), b_e = IU(), y_e = BU(), S_e = qU(), E_e = lg(), A_e = eV(), T_e = fV(), D_e = _A(), x_e = Rh(), C_e = ng(), w_e = _V(), O_e = oo(), R_e = AV(), k_e = og(), P_e = Rc(), F_e = 1, I_e = 2, N_e = 4, TV = "[object Arguments]", L_e = "[object Array]", B_e = "[object Boolean]", M_e = "[object Date]", q_e = "[object Error]", DV = "[object \ Function]", U_e = "[object GeneratorFunction]", V_e = "[object Map]", H_e = "[object Number]", xV = "[object Object]", j_e = "[object RegExp\ ]", G_e = "[object Set]", z_e = "[object String]", K_e = "[object Symbol]", W_e = "[object WeakMap]", $_e = "[object ArrayBuffer]", X_e = "[\ object DataView]", Y_e = "[object Float32Array]", Q_e = "[object Float64Array]", Z_e = "[object Int8Array]", J_e = "[object Int16Array]", eve = "\ [object Int32Array]", tve = "[object Uint8Array]", rve = "[object Uint8ClampedArray]", nve = "[object Uint16Array]", ive = "[object Uint32Ar\ ray]", cr = {}; cr[TV] = cr[L_e] = cr[$_e] = cr[X_e] = cr[B_e] = cr[M_e] = cr[Y_e] = cr[Q_e] = cr[Z_e] = cr[J_e] = cr[eve] = cr[V_e] = cr[H_e] = cr[xV] = cr[j_e] = cr[G_e] = cr[z_e] = cr[K_e] = cr[tve] = cr[rve] = cr[nve] = cr[ive] = !0; cr[q_e] = cr[DV] = cr[W_e] = !1; function cg(e, t, r, n, i, s) { var o, u = t & F_e, l = t & I_e, c = t & N_e; if (r && (o = i ? r(e, n, i, s) : r(e)), o !== void 0) return o; if (!O_e(e)) return e; var f = x_e(e); if (f) { if (o = A_e(e), !u) return __e(e, o); } else { var d = E_e(e), g = d == DV || d == U_e; if (C_e(e)) return g_e(e, u); if (d == xV || d == TV || g && !i) { if (o = l || g ? {} : D_e(e), !u) return l ? b_e(e, m_e(o, e)) : v_e(e, d_e(o, e)); } else { if (!cr[d]) return i ? e : {}; o = T_e(e, d, u); } } s || (s = new f_e()); var b = s.get(e); if (b) return b; s.set(e, o), R_e(e) ? e.forEach(function(p) { o.add(cg(p, t, r, p, e, s)); }) : w_e(e) && e.forEach(function(p, h) { o.set(h, cg(p, t, r, h, e, s)); }); var _ = c ? l ? S_e : y_e : l ? P_e : k_e, T = f ? void 0 : _(e); return h_e(T || e, function(p, h) { T && (h = p, p = e[h]), p_e(o, h, cg(p, t, r, h, e, s)); }), o; } a(cg, "baseClone"); CV.exports = cg; }); // ../node_modules/lodash/cloneDeep.js var RV = y((nKe, OV) => { var ave = wV(), sve = 1, ove = 4; function uve(e) { return ave(e, sve | ove); } a(uve, "cloneDeep"); OV.exports = uve; }); // ../node_modules/renderkid/lib/tools.js var vi = y((aKe, IV) => { "use strict"; var kV, LA, BA, PV, FV, Ku; LA = XM(); var lve = b3(); FV = lve.objectToDom; PV = sg(); kV = RV(); BA = Sh(); IV.exports = Ku = { repeatString: /* @__PURE__ */ a(function(t, r) { var n, i, s, o; for (s = "", n = i = 0, o = r; 0 <= o ? i < o : i > o; n = 0 <= o ? ++i : --i) s += t; return s; }, "repeatString"), cloneAndMergeDeep: /* @__PURE__ */ a(function(t, r) { return PV(kV(t), r); }, "cloneAndMergeDeep"), toDom: /* @__PURE__ */ a(function(t) { if (typeof t == "string") return Ku.stringToDom(t); if (BA(t)) return Ku._objectToDom(t); throw Error("tools.toDom() only supports strings and objects"); }, "toDom"), stringToDom: /* @__PURE__ */ a(function(t) { var r, n; return r = new LA.DomHandler(), n = new LA.Parser(r), n.write(t), n.end(), r.dom; }, "stringToDom"), _fixQuotesInDom: /* @__PURE__ */ a(function(t) { var r, n, i; if (Array.isArray(t)) { for (r = 0, n = t.length; r < n; r++) i = t[r], Ku._fixQuotesInDom(i); return t; } return i = t, i.type === "text" ? i.data = Ku._quoteNodeText(i.data) : Ku._fixQuotesInDom(i.children); }, "_fixQuotesInDom"), objectToDom: /* @__PURE__ */ a(function(t) { if (!Array.isArray(t) && !BA(t)) throw Error("objectToDom() only accepts a bare object or an array"); return Ku._fixQuotesInDom(FV(t)); }, "objectToDom"), quote: /* @__PURE__ */ a(function(t) { return String(t).replace(//g, ">").replace(/\"/g, """).replace(/\ /g, "&sp;").replace(/\n/g, "
"); }, "quote"), _quoteNodeText: /* @__PURE__ */ a(function(t) { return String(t).replace(/\&/g, "&").replace(//g, ">").replace(/\"/g, """).replace(/\ /g, "&sp;").replace( /\n/g, "&nl;"); }, "_quoteNodeText"), getCols: /* @__PURE__ */ a(function() { var t, r; return r = require("tty"), t = function() { try { if (r.isatty(1) && r.isatty(2)) { if (process.stdout.getWindowSize) return process.stdout.getWindowSize(1)[0]; if (r.getWindowSize) return r.getWindowSize()[1]; if (process.stdout.columns) return process.stdout.columns; } } catch { } }(), typeof t == "number" && t > 30 ? t : 80; }, "getCols") }; }); // ../node_modules/renderkid/lib/ansiPainter/tags.js var BV = y((oKe, LV) => { "use strict"; var Wu, MA, fg, NV, hg; LV.exports = hg = { none: { color: "none", bg: "none" }, "bg-none": { color: "inherit", bg: "none" }, "color-none": { color: "none", bg: "inherit" } }; MA = ["black", "red", "green", "yellow", "blue", "magenta", "cyan", "white", "grey", "bright-red", "bright-green", "bright-yellow", "brigh\ t-blue", "bright-magenta", "bright-cyan", "bright-white"]; for (fg = 0, NV = MA.length; fg < NV; fg++) Wu = MA[fg], hg[Wu] = { color: Wu, bg: "inherit" }, hg["color-".concat(Wu)] = { color: Wu, bg: "inherit" }, hg["bg-".concat(Wu)] = { color: "inherit", bg: Wu }; }); // ../node_modules/renderkid/lib/ansiPainter/styles.js var qV = y((uKe, MV) => { "use strict"; var pg, Nh; MV.exports = Nh = {}; Nh.codes = pg = { none: 0, black: 30, red: 31, green: 32, yellow: 33, blue: 34, magenta: 35, cyan: 36, white: 37, grey: 90, "bright-red": 91, "bright-green": 92, "bright-yellow": 93, "bright-blue": 94, "bright-magenta": 95, "bright-cyan": 96, "bright-white": 97, "bg-black": 40, "bg-red": 41, "bg-green": 42, "bg-yellow": 43, "bg-blue": 44, "bg-magenta": 45, "bg-cyan": 46, "bg-white": 47, "bg-grey": 100, "bg-bright-red": 101, "bg-bright-green": 102, "bg-bright-yellow": 103, "bg-bright-blue": 104, "bg-bright-magenta": 105, "bg-bright-cyan": 106, "bg-bright-white": 107 }; Nh.color = function(e) { var t; if (e === "none") return ""; if (t = pg[e], t == null) throw Error("Unknown color `".concat(e, "`")); return "\x1B[" + t + "m"; }; Nh.bg = function(e) { var t; if (e === "none") return ""; if (t = pg["bg-" + e], t == null) throw Error("Unknown bg color `".concat(e, "`")); return "\x1B[" + t + "m"; }; Nh.none = function(e) { return "\x1B[" + pg.none + "m"; }; }); // ../node_modules/renderkid/lib/AnsiPainter.js var qA = y((lKe, jV) => { "use strict"; function cve(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(cve, "_classCallCheck"); function UV(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(UV, "_defineProperties"); function fve(e, t, r) { return t && UV(e.prototype, t), r && UV(e, r), e; } a(fve, "_createClass"); var hve, dg, mg, HV, VV = {}.hasOwnProperty; HV = vi(); mg = BV(); dg = qV(); jV.exports = hve = function() { var e, t = /* @__PURE__ */ function() { function r() { cve(this, r); } return a(r, "AnsiPainter"), fve(r, [{ key: "paint", value: /* @__PURE__ */ a(function(i) { return this._replaceSpecialStrings(this._renderDom(this._parse(i))); }, "paint") }, { key: "_replaceSpecialStrings", value: /* @__PURE__ */ a(function(i) { return i.replace(/&sp;/g, " ").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, '"').replace(/&/g, "&"); }, "_replaceSpecialStrings") }, { key: "_parse", value: /* @__PURE__ */ a(function(i) { var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; return s && (i = "" + i + ""), HV.toDom(i); }, "_parse") }, { key: "_renderDom", value: /* @__PURE__ */ a(function(i) { var s; return s = { bg: "none", color: "none" }, this._renderChildren(i, s); }, "_renderDom") }, { key: "_renderChildren", value: /* @__PURE__ */ a(function(i, s) { var o, u, l; l = ""; for (u in i) VV.call(i, u) && (o = i[u], l += this._renderNode(o, s)); return l; }, "_renderChildren") }, { key: "_renderNode", value: /* @__PURE__ */ a(function(i, s) { return i.type === "text" ? this._renderTextNode(i, s) : this._renderTag(i, s); }, "_renderNode") }, { key: "_renderTextNode", value: /* @__PURE__ */ a(function(i, s) { return this._wrapInStyle(i.data, s); }, "_renderTextNode") }, { key: "_wrapInStyle", value: /* @__PURE__ */ a(function(i, s) { return dg.color(s.color) + dg.bg(s.bg) + i + dg.none(); }, "_wrapInStyle") }, { key: "_renderTag", value: /* @__PURE__ */ a(function(i, s) { var o, u; return u = this._getStylesForTagName(i.name), o = this._mixStyles(s, u), this._renderChildren(i.children, o); }, "_renderTag") }, { key: "_mixStyles", value: /* @__PURE__ */ a(function() { var i, s, o, u, l, c; i = {}; for (var f = arguments.length, d = new Array(f), g = 0; g < f; g++) d[g] = arguments[g]; for (s = 0, u = d.length; s < u; s++) { l = d[s]; for (o in l) VV.call(l, o) && (c = l[o], (i[o] == null || c !== "inherit") && (i[o] = c)); } return i; }, "_mixStyles") }, { key: "_getStylesForTagName", value: /* @__PURE__ */ a(function(i) { if (mg[i] == null) throw Error("Unknown tag name `".concat(i, "`")); return mg[i]; }, "_getStylesForTagName") }], [{ key: "getInstance", value: /* @__PURE__ */ a(function() { return e._instance == null && (e._instance = new e()), e._instance; }, "getInstance") }, { key: "paint", value: /* @__PURE__ */ a(function(i) { return e.getInstance().paint(i); }, "paint") }, { key: "strip", value: /* @__PURE__ */ a(function(i) { return i.replace(/\x1b\[[0-9]+m/g, ""); }, "strip") }]), r; }(); return t.tags = mg, e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styleApplier/_common.js var VA = y((fKe, GV) => { "use strict"; var UA, pve; UA = qA(); GV.exports = pve = { getStyleTagsFor: /* @__PURE__ */ a(function(t) { var r, n, i, s, o, u; if (u = [], t.color != null) { if (o = "color-" + t.color, UA.tags[o] == null) throw Error("Unknown color `".concat(t.color, "`")); u.push(o); } if (t.background != null) { if (o = "bg-" + t.background, UA.tags[o] == null) throw Error("Unknown background `".concat(t.background, "`")); u.push(o); } for (i = { before: "", after: "" }, r = 0, n = u.length; r < n; r++) s = u[r], i.before = "<".concat(s, ">") + i.before, i.after = i.after + ""); return i; }, "getStyleTagsFor") }; }); // ../node_modules/renderkid/lib/renderKid/styleApplier/inline.js var WV = y((pKe, KV) => { "use strict"; var zV, dve, mve, Lh; Lh = vi(); zV = VA(); KV.exports = dve = mve = { applyTo: /* @__PURE__ */ a(function(t, r) { var n; return n = zV.getStyleTagsFor(r), r.marginLeft != null && (n.before = Lh.repeatString("&sp;", parseInt(r.marginLeft)) + n.before), r.marginRight != null && (n.after += Lh.repeatString("&sp;", parseInt(r.marginRight))), r.paddingLeft != null && (n.before += Lh.repeatString("&sp;", parseInt( r.paddingLeft))), r.paddingRight != null && (n.after = Lh.repeatString("&sp;", parseInt(r.paddingRight)) + n.after), n; }, "applyTo") }; }); // ../node_modules/renderkid/lib/renderKid/styleApplier/block.js var XV = y((mKe, $V) => { "use strict"; var HA, gve, Pc, _ve; HA = VA(); Pc = sg(); $V.exports = gve = _ve = { applyTo: /* @__PURE__ */ a(function(t, r) { var n, i; return i = HA.getStyleTagsFor(r), i.blockConfig = n = {}, this._margins(r, n), this._bullet(r, n), this._dims(r, n), i; }, "applyTo"), _margins: /* @__PURE__ */ a(function(t, r) { t.marginLeft != null && Pc(r, { linePrependor: { options: { amount: parseInt(t.marginLeft) } } }), t.marginRight != null && Pc(r, { lineAppendor: { options: { amount: parseInt(t.marginRight) } } }), t.marginTop != null && Pc(r, { blockPrependor: { options: { amount: parseInt(t.marginTop) } } }), t.marginBottom != null && Pc(r, { blockAppendor: { options: { amount: parseInt(t.marginBottom) } } }); }, "_margins"), _bullet: /* @__PURE__ */ a(function(t, r) { var n, i, s, o; if (t.bullet != null && t.bullet.enabled) { s = t.bullet, o = {}, o.alignment = t.bullet.alignment; var u = HA.getStyleTagsFor({ color: s.color, background: s.background }); i = u.before, n = u.after, o.char = i + s.char + n, Pc(r, { linePrependor: { options: { bullet: o } } }); } }, "_bullet"), _dims: /* @__PURE__ */ a(function(t, r) { var n; t.width != null && (n = parseInt(t.width), r.width = n); }, "_dims") }; }); // ../node_modules/boolbase/index.js var Jo = y((_Ke, YV) => { YV.exports = { trueFunc: /* @__PURE__ */ a(function() { return !0; }, "trueFunc"), falseFunc: /* @__PURE__ */ a(function() { return !1; }, "falseFunc") }; }); // ../node_modules/css-what/lib/commonjs/types.js var gg = y((Fs) => { "use strict"; Object.defineProperty(Fs, "__esModule", { value: !0 }); Fs.AttributeAction = Fs.IgnoreCaseMode = Fs.SelectorType = void 0; var vve; (function(e) { e.Attribute = "attribute", e.Pseudo = "pseudo", e.PseudoElement = "pseudo-element", e.Tag = "tag", e.Universal = "universal", e.Adjacent = "adjacent", e.Child = "child", e.Descendant = "descendant", e.Parent = "parent", e.Sibling = "sibling", e.ColumnCombinator = "column-com\ binator"; })(vve = Fs.SelectorType || (Fs.SelectorType = {})); Fs.IgnoreCaseMode = { Unknown: null, QuirksMode: "quirks", IgnoreCase: !0, CaseSensitive: !1 }; var bve; (function(e) { e.Any = "any", e.Element = "element", e.End = "end", e.Equals = "equals", e.Exists = "exists", e.Hyphen = "hyphen", e.Not = "not", e.Start = "start"; })(bve = Fs.AttributeAction || (Fs.AttributeAction = {})); }); // ../node_modules/css-what/lib/commonjs/parse.js var t8 = y((Fc) => { "use strict"; Object.defineProperty(Fc, "__esModule", { value: !0 }); Fc.parse = Fc.isTraversal = void 0; var Mt = gg(), QV = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/, yve = /\\([\da-f]{1,6}\s?|(\s)|.)/gi, Sve = /* @__PURE__ */ new Map( [ [126, Mt.AttributeAction.Element], [94, Mt.AttributeAction.Start], [36, Mt.AttributeAction.End], [42, Mt.AttributeAction.Any], [33, Mt.AttributeAction.Not], [124, Mt.AttributeAction.Hyphen] ]), Eve = /* @__PURE__ */ new Set([ "has", "not", "matches", "is", "where", "host", "host-context" ]); function JV(e) { switch (e.type) { case Mt.SelectorType.Adjacent: case Mt.SelectorType.Child: case Mt.SelectorType.Descendant: case Mt.SelectorType.Parent: case Mt.SelectorType.Sibling: case Mt.SelectorType.ColumnCombinator: return !0; default: return !1; } } a(JV, "isTraversal"); Fc.isTraversal = JV; var Ave = /* @__PURE__ */ new Set(["contains", "icontains"]); function Tve(e, t, r) { var n = parseInt(t, 16) - 65536; return n !== n || r ? t : n < 0 ? ( // BMP codepoint String.fromCharCode(n + 65536) ) : ( // Supplemental Plane codepoint (surrogate pair) String.fromCharCode(n >> 10 | 55296, n & 1023 | 56320) ); } a(Tve, "funescape"); function Bh(e) { return e.replace(yve, Tve); } a(Bh, "unescapeCSS"); function jA(e) { return e === 39 || e === 34; } a(jA, "isQuote"); function ZV(e) { return e === 32 || e === 9 || e === 10 || e === 12 || e === 13; } a(ZV, "isWhitespace"); function Dve(e) { var t = [], r = e8(t, "".concat(e), 0); if (r < e.length) throw new Error("Unmatched selector: ".concat(e.slice(r))); return t; } a(Dve, "parse"); Fc.parse = Dve; function e8(e, t, r) { var n = []; function i(N) { var H = t.slice(r + N).match(QV); if (!H) throw new Error("Expected name, found ".concat(t.slice(r))); var U = H[0]; return r += N + U.length, Bh(U); } a(i, "getName"); function s(N) { for (r += N; r < t.length && ZV(t.charCodeAt(r)); ) r++; } a(s, "stripWhitespace"); function o() { r += 1; for (var N = r, H = 1; H > 0 && r < t.length; r++) t.charCodeAt(r) === 40 && !u(r) ? H++ : t.charCodeAt(r) === 41 && !u(r) && H--; if (H) throw new Error("Parenthesis not matched"); return Bh(t.slice(N, r - 1)); } a(o, "readValueWithParenthesis"); function u(N) { for (var H = 0; t.charCodeAt(--N) === 92; ) H++; return (H & 1) === 1; } a(u, "isEscaped"); function l() { if (n.length > 0 && JV(n[n.length - 1])) throw new Error("Did not expect successive traversals."); } a(l, "ensureNotTraversal"); function c(N) { if (n.length > 0 && n[n.length - 1].type === Mt.SelectorType.Descendant) { n[n.length - 1].type = N; return; } l(), n.push({ type: N }); } a(c, "addTraversal"); function f(N, H) { n.push({ type: Mt.SelectorType.Attribute, name: N, action: H, value: i(1), namespace: null, ignoreCase: "quirks" }); } a(f, "addSpecialAttribute"); function d() { if (n.length && n[n.length - 1].type === Mt.SelectorType.Descendant && n.pop(), n.length === 0) throw new Error("Empty sub-selector"); e.push(n); } if (a(d, "finalizeSubselector"), s(0), t.length === r) return r; e: for (; r < t.length; ) { var g = t.charCodeAt(r); switch (g) { // Whitespace case 32: case 9: case 10: case 12: case 13: { (n.length === 0 || n[0].type !== Mt.SelectorType.Descendant) && (l(), n.push({ type: Mt.SelectorType.Descendant })), s(1); break; } // Traversals case 62: { c(Mt.SelectorType.Child), s(1); break; } case 60: { c(Mt.SelectorType.Parent), s(1); break; } case 126: { c(Mt.SelectorType.Sibling), s(1); break; } case 43: { c(Mt.SelectorType.Adjacent), s(1); break; } // Special attribute selectors: .class, #id case 46: { f("class", Mt.AttributeAction.Element); break; } case 35: { f("id", Mt.AttributeAction.Equals); break; } case 91: { s(1); var b = void 0, _ = null; t.charCodeAt(r) === 124 ? b = i(1) : t.startsWith("*|", r) ? (_ = "*", b = i(2)) : (b = i(0), t.charCodeAt(r) === 124 && t.charCodeAt( r + 1) !== 61 && (_ = b, b = i(1))), s(0); var T = Mt.AttributeAction.Exists, p = Sve.get(t.charCodeAt(r)); if (p) { if (T = p, t.charCodeAt(r + 1) !== 61) throw new Error("Expected `=`"); s(2); } else t.charCodeAt(r) === 61 && (T = Mt.AttributeAction.Equals, s(1)); var h = "", S = null; if (T !== "exists") { if (jA(t.charCodeAt(r))) { for (var D = t.charCodeAt(r), E = r + 1; E < t.length && (t.charCodeAt(E) !== D || u(E)); ) E += 1; if (t.charCodeAt(E) !== D) throw new Error("Attribute value didn't end"); h = Bh(t.slice(r + 1, E)), r = E + 1; } else { for (var C = r; r < t.length && (!ZV(t.charCodeAt(r)) && t.charCodeAt(r) !== 93 || u(r)); ) r += 1; h = Bh(t.slice(C, r)); } s(0); var m = t.charCodeAt(r) | 32; m === 115 ? (S = !1, s(1)) : m === 105 && (S = !0, s(1)); } if (t.charCodeAt(r) !== 93) throw new Error("Attribute selector didn't terminate"); r += 1; var v = { type: Mt.SelectorType.Attribute, name: b, action: T, value: h, namespace: _, ignoreCase: S }; n.push(v); break; } case 58: { if (t.charCodeAt(r + 1) === 58) { n.push({ type: Mt.SelectorType.PseudoElement, name: i(2).toLowerCase(), data: t.charCodeAt(r) === 40 ? o() : null }); continue; } var A = i(1).toLowerCase(), w = null; if (t.charCodeAt(r) === 40) if (Eve.has(A)) { if (jA(t.charCodeAt(r + 1))) throw new Error("Pseudo-selector ".concat(A, " cannot be quoted")); if (w = [], r = e8(w, t, r + 1), t.charCodeAt(r) !== 41) throw new Error("Missing closing parenthesis in :".concat(A, " (").concat(t, ")")); r += 1; } else { if (w = o(), Ave.has(A)) { var F = w.charCodeAt(0); F === w.charCodeAt(w.length - 1) && jA(F) && (w = w.slice(1, -1)); } w = Bh(w); } n.push({ type: Mt.SelectorType.Pseudo, name: A, data: w }); break; } case 44: { d(), n = [], s(1); break; } default: { if (t.startsWith("/*", r)) { var x = t.indexOf("*/", r + 2); if (x < 0) throw new Error("Comment was not terminated"); r = x + 2, n.length === 0 && s(0); break; } var _ = null, I = void 0; if (g === 42) r += 1, I = "*"; else if (g === 124) { if (I = "", t.charCodeAt(r + 1) === 124) { c(Mt.SelectorType.ColumnCombinator), s(2); break; } } else if (QV.test(t.slice(r))) I = i(0); else break e; t.charCodeAt(r) === 124 && t.charCodeAt(r + 1) !== 124 && (_ = I, t.charCodeAt(r + 1) === 42 ? (I = "*", r += 2) : I = i(1)), n.push( I === "*" ? { type: Mt.SelectorType.Universal, namespace: _ } : { type: Mt.SelectorType.Tag, name: I, namespace: _ }); } } } return d(), r; } a(e8, "parseSelector"); }); // ../node_modules/css-what/lib/commonjs/stringify.js var u8 = y((Nc) => { "use strict"; var _g = Nc && Nc.__spreadArray || function(e, t, r) { if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++) (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]); return e.concat(s || Array.prototype.slice.call(t)); }; Object.defineProperty(Nc, "__esModule", { value: !0 }); Nc.stringify = void 0; var jr = gg(), i8 = ["\\", '"'], a8 = _g(_g([], i8, !0), ["(", ")"], !1), xve = new Set(i8.map(function(e) { return e.charCodeAt(0); })), r8 = new Set(a8.map(function(e) { return e.charCodeAt(0); })), Ic = new Set(_g(_g([], a8, !0), [ "~", "^", "$", "*", "+", "!", "|", ":", "[", "]", " ", "." ], !1).map(function(e) { return e.charCodeAt(0); })); function s8(e) { return e.map(function(t) { return t.map(Cve).join(""); }).join(", "); } a(s8, "stringify"); Nc.stringify = s8; function Cve(e, t, r) { switch (e.type) { // Simple types case jr.SelectorType.Child: return t === 0 ? "> " : " > "; case jr.SelectorType.Parent: return t === 0 ? "< " : " < "; case jr.SelectorType.Sibling: return t === 0 ? "~ " : " ~ "; case jr.SelectorType.Adjacent: return t === 0 ? "+ " : " + "; case jr.SelectorType.Descendant: return " "; case jr.SelectorType.ColumnCombinator: return t === 0 ? "|| " : " || "; case jr.SelectorType.Universal: return e.namespace === "*" && t + 1 < r.length && "name" in r[t + 1] ? "" : "".concat(o8(e.namespace), "*"); case jr.SelectorType.Tag: return n8(e); case jr.SelectorType.PseudoElement: return "::".concat(co(e.name, Ic)).concat(e.data === null ? "" : "(".concat(co(e.data, r8), ")")); case jr.SelectorType.Pseudo: return ":".concat(co(e.name, Ic)).concat(e.data === null ? "" : "(".concat(typeof e.data == "string" ? co(e.data, r8) : s8(e.data), "\ )")); case jr.SelectorType.Attribute: { if (e.name === "id" && e.action === jr.AttributeAction.Equals && e.ignoreCase === "quirks" && !e.namespace) return "#".concat(co(e.value, Ic)); if (e.name === "class" && e.action === jr.AttributeAction.Element && e.ignoreCase === "quirks" && !e.namespace) return ".".concat(co(e.value, Ic)); var n = n8(e); return e.action === jr.AttributeAction.Exists ? "[".concat(n, "]") : "[".concat(n).concat(wve(e.action), '="').concat(co(e.value, xve), '"').concat(e.ignoreCase === null ? "" : e.ignoreCase ? " i" : " s", "]"); } } } a(Cve, "stringifyToken"); function wve(e) { switch (e) { case jr.AttributeAction.Equals: return ""; case jr.AttributeAction.Element: return "~"; case jr.AttributeAction.Start: return "^"; case jr.AttributeAction.End: return "$"; case jr.AttributeAction.Any: return "*"; case jr.AttributeAction.Not: return "!"; case jr.AttributeAction.Hyphen: return "|"; case jr.AttributeAction.Exists: throw new Error("Shouldn't be here"); } } a(wve, "getActionValue"); function n8(e) { return "".concat(o8(e.namespace)).concat(co(e.name, Ic)); } a(n8, "getNamespacedName"); function o8(e) { return e !== null ? "".concat(e === "*" ? "*" : co(e, Ic), "|") : ""; } a(o8, "getNamespace"); function co(e, t) { for (var r = 0, n = "", i = 0; i < e.length; i++) t.has(e.charCodeAt(i)) && (n += "".concat(e.slice(r, i), "\\").concat(e.charAt(i)), r = i + 1); return n.length > 0 ? n + e.slice(r) : e; } a(co, "escapeName"); }); // ../node_modules/css-what/lib/commonjs/index.js var Mh = y((Ji) => { "use strict"; var Ove = Ji && Ji.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r); var i = Object.getOwnPropertyDescriptor(t, r); (!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }), Object.defineProperty(e, n, i); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), Rve = Ji && Ji.__exportStar || function(e, t) { for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(t, r) && Ove(t, e, r); }; Object.defineProperty(Ji, "__esModule", { value: !0 }); Ji.stringify = Ji.parse = Ji.isTraversal = void 0; Rve(gg(), Ji); var l8 = t8(); Object.defineProperty(Ji, "isTraversal", { enumerable: !0, get: /* @__PURE__ */ a(function() { return l8.isTraversal; }, "get") }); Object.defineProperty(Ji, "parse", { enumerable: !0, get: /* @__PURE__ */ a(function() { return l8.parse; }, "get") }); var kve = u8(); Object.defineProperty(Ji, "stringify", { enumerable: !0, get: /* @__PURE__ */ a(function() { return kve.stringify; }, "get") }); }); // ../node_modules/renderkid/node_modules/css-select/lib/procedure.js var vg = y(($u) => { "use strict"; Object.defineProperty($u, "__esModule", { value: !0 }); $u.isTraversal = $u.procedure = void 0; $u.procedure = { universal: 50, tag: 30, attribute: 1, pseudo: 0, "pseudo-element": 0, "column-combinator": -1, descendant: -1, child: -1, parent: -1, sibling: -1, adjacent: -1, _flexibleDescendant: -1 }; function Pve(e) { return $u.procedure[e.type] < 0; } a(Pve, "isTraversal"); $u.isTraversal = Pve; }); // ../node_modules/renderkid/node_modules/css-select/lib/sort.js var p8 = y((GA) => { "use strict"; Object.defineProperty(GA, "__esModule", { value: !0 }); var c8 = Mh(), Fve = vg(), f8 = { exists: 10, equals: 8, not: 7, start: 6, end: 6, any: 5, hyphen: 4, element: 4 }; function Ive(e) { for (var t = e.map(h8), r = 1; r < e.length; r++) { var n = t[r]; if (!(n < 0)) for (var i = r - 1; i >= 0 && n < t[i]; i--) { var s = e[i + 1]; e[i + 1] = e[i], e[i] = s, t[i + 1] = t[i], t[i] = n; } } } a(Ive, "sortByProcedure"); GA.default = Ive; function h8(e) { var t = Fve.procedure[e.type]; if (e.type === c8.SelectorType.Attribute) t = f8[e.action], t === f8.equals && e.name === "id" && (t = 9), e.ignoreCase && (t >>= 1); else if (e.type === c8.SelectorType.Pseudo) if (!e.data) t = 3; else if (e.name === "has" || e.name === "contains") t = 0; else if (Array.isArray(e.data)) { t = 0; for (var r = 0; r < e.data.length; r++) if (e.data[r].length === 1) { var n = h8(e.data[r][0]); if (n === 0) { t = 0; break; } n > t && (t = n); } e.data.length > 1 && t > 0 && (t -= 1); } else t = 1; return t; } a(h8, "getProcedure"); }); // ../node_modules/renderkid/node_modules/css-select/lib/attributes.js var m8 = y((yg) => { "use strict"; Object.defineProperty(yg, "__esModule", { value: !0 }); yg.attributeRules = void 0; var bg = Jo(), Nve = /[-[\]{}()*+?.,\\^$|#\s]/g; function d8(e) { return e.replace(Nve, "\\$&"); } a(d8, "escapeRegex"); var Lve = /* @__PURE__ */ new Set([ "accept", "accept-charset", "align", "alink", "axis", "bgcolor", "charset", "checked", "clear", "codetype", "color", "compact", "declare", "defer", "dir", "direction", "disabled", "enctype", "face", "frame", "hreflang", "http-equiv", "lang", "language", "link", "media", "method", "multiple", "nohref", "noresize", "noshade", "nowrap", "readonly", "rel", "rev", "rules", "scope", "scrolling", "selected", "shape", "target", "text", "type", "valign", "valuetype", "vlink" ]); function Xu(e, t) { return typeof e.ignoreCase == "boolean" ? e.ignoreCase : e.ignoreCase === "quirks" ? !!t.quirksMode : !t.xmlMode && Lve.has(e.name); } a(Xu, "shouldIgnoreCase"); yg.attributeRules = { equals: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value; return Xu(t, r) ? (s = s.toLowerCase(), function(o) { var u = n.getAttributeValue(o, i); return u != null && u.length === s.length && u.toLowerCase() === s && e(o); }) : function(o) { return n.getAttributeValue(o, i) === s && e(o); }; }, "equals"), hyphen: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value, o = s.length; return Xu(t, r) ? (s = s.toLowerCase(), /* @__PURE__ */ a(function(l) { var c = n.getAttributeValue(l, i); return c != null && (c.length === o || c.charAt(o) === "-") && c.substr(0, o).toLowerCase() === s && e(l); }, "hyphenIC")) : /* @__PURE__ */ a(function(l) { var c = n.getAttributeValue(l, i); return c != null && (c.length === o || c.charAt(o) === "-") && c.substr(0, o) === s && e(l); }, "hyphen"); }, "hyphen"), element: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value; if (/\s/.test(s)) return bg.falseFunc; var o = new RegExp("(?:^|\\s)".concat(d8(s), "(?:$|\\s)"), Xu(t, r) ? "i" : ""); return /* @__PURE__ */ a(function(l) { var c = n.getAttributeValue(l, i); return c != null && c.length >= s.length && o.test(c) && e(l); }, "element"); }, "element"), exists: /* @__PURE__ */ a(function(e, t, r) { var n = t.name, i = r.adapter; return function(s) { return i.hasAttrib(s, n) && e(s); }; }, "exists"), start: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value, o = s.length; return o === 0 ? bg.falseFunc : Xu(t, r) ? (s = s.toLowerCase(), function(u) { var l = n.getAttributeValue(u, i); return l != null && l.length >= o && l.substr(0, o).toLowerCase() === s && e(u); }) : function(u) { var l; return !!(!((l = n.getAttributeValue(u, i)) === null || l === void 0) && l.startsWith(s)) && e(u); }; }, "start"), end: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value, o = -s.length; return o === 0 ? bg.falseFunc : Xu(t, r) ? (s = s.toLowerCase(), function(u) { var l; return ((l = n.getAttributeValue(u, i)) === null || l === void 0 ? void 0 : l.substr(o).toLowerCase()) === s && e(u); }) : function(u) { var l; return !!(!((l = n.getAttributeValue(u, i)) === null || l === void 0) && l.endsWith(s)) && e(u); }; }, "end"), any: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value; if (s === "") return bg.falseFunc; if (Xu(t, r)) { var o = new RegExp(d8(s), "i"); return /* @__PURE__ */ a(function(l) { var c = n.getAttributeValue(l, i); return c != null && c.length >= s.length && o.test(c) && e(l); }, "anyIC"); } return function(u) { var l; return !!(!((l = n.getAttributeValue(u, i)) === null || l === void 0) && l.includes(s)) && e(u); }; }, "any"), not: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.name, s = t.value; return s === "" ? function(o) { return !!n.getAttributeValue(o, i) && e(o); } : Xu(t, r) ? (s = s.toLowerCase(), function(o) { var u = n.getAttributeValue(o, i); return (u == null || u.length !== s.length || u.toLowerCase() !== s) && e(o); }) : function(o) { return n.getAttributeValue(o, i) !== s && e(o); }; }, "not") }; }); // ../node_modules/nth-check/lib/parse.js var _8 = y((Sg) => { "use strict"; Object.defineProperty(Sg, "__esModule", { value: !0 }); Sg.parse = void 0; var Bve = /* @__PURE__ */ new Set([9, 10, 12, 13, 32]), g8 = 48, Mve = 57; function qve(e) { if (e = e.trim().toLowerCase(), e === "even") return [2, 0]; if (e === "odd") return [2, 1]; var t = 0, r = 0, n = s(), i = o(); if (t < e.length && e.charAt(t) === "n" && (t++, r = n * (i ?? 1), u(), t < e.length ? (n = s(), u(), i = o()) : n = i = 0), i === null || t < e.length) throw new Error("n-th rule couldn't be parsed ('".concat(e, "')")); return [r, n * i]; function s() { return e.charAt(t) === "-" ? (t++, -1) : (e.charAt(t) === "+" && t++, 1); } function o() { for (var l = t, c = 0; t < e.length && e.charCodeAt(t) >= g8 && e.charCodeAt(t) <= Mve; ) c = c * 10 + (e.charCodeAt(t) - g8), t++; return t === l ? null : c; } function u() { for (; t < e.length && Bve.has(e.charCodeAt(t)); ) t++; } } a(qve, "parse"); Sg.parse = qve; }); // ../node_modules/nth-check/lib/compile.js var b8 = y((eu) => { "use strict"; var Uve = eu && eu.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(eu, "__esModule", { value: !0 }); eu.generate = eu.compile = void 0; var v8 = Uve(Jo()); function Vve(e) { var t = e[0], r = e[1] - 1; if (r < 0 && t <= 0) return v8.default.falseFunc; if (t === -1) return function(s) { return s <= r; }; if (t === 0) return function(s) { return s === r; }; if (t === 1) return r < 0 ? v8.default.trueFunc : function(s) { return s >= r; }; var n = Math.abs(t), i = (r % n + n) % n; return t > 1 ? function(s) { return s >= r && s % n === i; } : function(s) { return s <= r && s % n === i; }; } a(Vve, "compile"); eu.compile = Vve; function Hve(e) { var t = e[0], r = e[1] - 1, n = 0; if (t < 0) { var i = -t, s = (r % i + i) % i; return function() { var o = s + i * n++; return o > r ? null : o; }; } return t === 0 ? r < 0 ? ( // There are no result — always return `null` function() { return null; } ) : ( // Return `b` exactly once function() { return n++ === 0 ? r : null; } ) : (r < 0 && (r += t * Math.ceil(-r / t)), function() { return t * n++ + r; }); } a(Hve, "generate"); eu.generate = Hve; }); // ../node_modules/nth-check/lib/index.js var y8 = y((za) => { "use strict"; Object.defineProperty(za, "__esModule", { value: !0 }); za.sequence = za.generate = za.compile = za.parse = void 0; var zA = _8(); Object.defineProperty(za, "parse", { enumerable: !0, get: /* @__PURE__ */ a(function() { return zA.parse; }, "get") }); var Eg = b8(); Object.defineProperty(za, "compile", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Eg.compile; }, "get") }); Object.defineProperty(za, "generate", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Eg.generate; }, "get") }); function jve(e) { return (0, Eg.compile)((0, zA.parse)(e)); } a(jve, "nthCheck"); za.default = jve; function Gve(e) { return (0, Eg.generate)((0, zA.parse)(e)); } a(Gve, "sequence"); za.sequence = Gve; }); // ../node_modules/renderkid/node_modules/css-select/lib/pseudo-selectors/filters.js var S8 = y((Yu) => { "use strict"; var zve = Yu && Yu.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Yu, "__esModule", { value: !0 }); Yu.filters = void 0; var Ag = zve(y8()), ea = Jo(); function Tg(e, t) { return function(r) { var n = t.getParent(r); return n != null && t.isTag(n) && e(r); }; } a(Tg, "getChildFunc"); Yu.filters = { contains: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter; return /* @__PURE__ */ a(function(s) { return e(s) && n.getText(s).includes(t); }, "contains"); }, "contains"), icontains: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = t.toLowerCase(); return /* @__PURE__ */ a(function(o) { return e(o) && n.getText(o).toLowerCase().includes(i); }, "icontains"); }, "icontains"), // Location specific methods "nth-child": /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = r.equals, s = (0, Ag.default)(t); return s === ea.falseFunc ? ea.falseFunc : s === ea.trueFunc ? Tg(e, n) : /* @__PURE__ */ a(function(u) { for (var l = n.getSiblings(u), c = 0, f = 0; f < l.length && !i(u, l[f]); f++) n.isTag(l[f]) && c++; return s(c) && e(u); }, "nthChild"); }, "nth-child"), "nth-last-child": /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = r.equals, s = (0, Ag.default)(t); return s === ea.falseFunc ? ea.falseFunc : s === ea.trueFunc ? Tg(e, n) : /* @__PURE__ */ a(function(u) { for (var l = n.getSiblings(u), c = 0, f = l.length - 1; f >= 0 && !i(u, l[f]); f--) n.isTag(l[f]) && c++; return s(c) && e(u); }, "nthLastChild"); }, "nth-last-child"), "nth-of-type": /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = r.equals, s = (0, Ag.default)(t); return s === ea.falseFunc ? ea.falseFunc : s === ea.trueFunc ? Tg(e, n) : /* @__PURE__ */ a(function(u) { for (var l = n.getSiblings(u), c = 0, f = 0; f < l.length; f++) { var d = l[f]; if (i(u, d)) break; n.isTag(d) && n.getName(d) === n.getName(u) && c++; } return s(c) && e(u); }, "nthOfType"); }, "nth-of-type"), "nth-last-of-type": /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter, i = r.equals, s = (0, Ag.default)(t); return s === ea.falseFunc ? ea.falseFunc : s === ea.trueFunc ? Tg(e, n) : /* @__PURE__ */ a(function(u) { for (var l = n.getSiblings(u), c = 0, f = l.length - 1; f >= 0; f--) { var d = l[f]; if (i(u, d)) break; n.isTag(d) && n.getName(d) === n.getName(u) && c++; } return s(c) && e(u); }, "nthLastOfType"); }, "nth-last-of-type"), // TODO determine the actual root element root: /* @__PURE__ */ a(function(e, t, r) { var n = r.adapter; return function(i) { var s = n.getParent(i); return (s == null || !n.isTag(s)) && e(i); }; }, "root"), scope: /* @__PURE__ */ a(function(e, t, r, n) { var i = r.equals; return !n || n.length === 0 ? Yu.filters.root(e, t, r) : n.length === 1 ? function(s) { return i(n[0], s) && e(s); } : function(s) { return n.includes(s) && e(s); }; }, "scope"), hover: KA("isHovered"), visited: KA("isVisited"), active: KA("isActive") }; function KA(e) { return /* @__PURE__ */ a(function(r, n, i) { var s = i.adapter, o = s[e]; return typeof o != "function" ? ea.falseFunc : /* @__PURE__ */ a(function(l) { return o(l) && r(l); }, "active"); }, "dynamicPseudo"); } a(KA, "dynamicStatePseudo"); }); // ../node_modules/renderkid/node_modules/css-select/lib/pseudo-selectors/pseudos.js var E8 = y((Lc) => { "use strict"; Object.defineProperty(Lc, "__esModule", { value: !0 }); Lc.verifyPseudoArgs = Lc.pseudos = void 0; Lc.pseudos = { empty: /* @__PURE__ */ a(function(e, t) { var r = t.adapter; return !r.getChildren(e).some(function(n) { return r.isTag(n) || r.getText(n) !== ""; }); }, "empty"), "first-child": /* @__PURE__ */ a(function(e, t) { var r = t.adapter, n = t.equals, i = r.getSiblings(e).find(function(s) { return r.isTag(s); }); return i != null && n(e, i); }, "first-child"), "last-child": /* @__PURE__ */ a(function(e, t) { for (var r = t.adapter, n = t.equals, i = r.getSiblings(e), s = i.length - 1; s >= 0; s--) { if (n(e, i[s])) return !0; if (r.isTag(i[s])) break; } return !1; }, "last-child"), "first-of-type": /* @__PURE__ */ a(function(e, t) { for (var r = t.adapter, n = t.equals, i = r.getSiblings(e), s = r.getName(e), o = 0; o < i.length; o++) { var u = i[o]; if (n(e, u)) return !0; if (r.isTag(u) && r.getName(u) === s) break; } return !1; }, "first-of-type"), "last-of-type": /* @__PURE__ */ a(function(e, t) { for (var r = t.adapter, n = t.equals, i = r.getSiblings(e), s = r.getName(e), o = i.length - 1; o >= 0; o--) { var u = i[o]; if (n(e, u)) return !0; if (r.isTag(u) && r.getName(u) === s) break; } return !1; }, "last-of-type"), "only-of-type": /* @__PURE__ */ a(function(e, t) { var r = t.adapter, n = t.equals, i = r.getName(e); return r.getSiblings(e).every(function(s) { return n(e, s) || !r.isTag(s) || r.getName(s) !== i; }); }, "only-of-type"), "only-child": /* @__PURE__ */ a(function(e, t) { var r = t.adapter, n = t.equals; return r.getSiblings(e).every(function(i) { return n(e, i) || !r.isTag(i); }); }, "only-child") }; function Kve(e, t, r) { if (r === null) { if (e.length > 2) throw new Error("pseudo-selector :".concat(t, " requires an argument")); } else if (e.length === 2) throw new Error("pseudo-selector :".concat(t, " doesn't have any arguments")); } a(Kve, "verifyPseudoArgs"); Lc.verifyPseudoArgs = Kve; }); // ../node_modules/renderkid/node_modules/css-select/lib/pseudo-selectors/aliases.js var A8 = y((Dg) => { "use strict"; Object.defineProperty(Dg, "__esModule", { value: !0 }); Dg.aliases = void 0; Dg.aliases = { // Links "any-link": ":is(a, area, link)[href]", link: ":any-link:not(:visited)", // Forms // https://html.spec.whatwg.org/multipage/scripting.html#disabled-elements disabled: `:is( :is(button, input, select, textarea, optgroup, option)[disabled], optgroup[disabled] > option, fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) )`, enabled: ":not(:disabled)", checked: ":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)", required: ":is(input, select, textarea)[required]", optional: ":is(input, select, textarea):not([required])", // JQuery extensions // https://html.spec.whatwg.org/multipage/form-elements.html#concept-option-selectedness selected: "option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)", checkbox: "[type=checkbox]", file: "[type=file]", password: "[type=password]", radio: "[type=radio]", reset: "[type=reset]", image: "[type=image]", submit: "[type=submit]", parent: ":not(:empty)", header: ":is(h1, h2, h3, h4, h5, h6)", button: ":is(button, input[type=button])", input: ":is(input, textarea, select, button)", text: "input:is(:not([type!='']), [type=text])" }; }); // ../node_modules/renderkid/node_modules/css-select/lib/pseudo-selectors/subselects.js var xg = y((ta) => { "use strict"; var T8 = ta && ta.__spreadArray || function(e, t, r) { if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++) (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]); return e.concat(s || Array.prototype.slice.call(t)); }; Object.defineProperty(ta, "__esModule", { value: !0 }); ta.subselects = ta.getNextSiblings = ta.ensureIsTag = ta.PLACEHOLDER_ELEMENT = void 0; var tu = Jo(), Wve = vg(); ta.PLACEHOLDER_ELEMENT = {}; function D8(e, t) { return e === tu.falseFunc ? tu.falseFunc : function(r) { return t.isTag(r) && e(r); }; } a(D8, "ensureIsTag"); ta.ensureIsTag = D8; function x8(e, t) { var r = t.getSiblings(e); if (r.length <= 1) return []; var n = r.indexOf(e); return n < 0 || n === r.length - 1 ? [] : r.slice(n + 1).filter(t.isTag); } a(x8, "getNextSiblings"); ta.getNextSiblings = x8; var WA = /* @__PURE__ */ a(function(e, t, r, n, i) { var s = { xmlMode: !!r.xmlMode, adapter: r.adapter, equals: r.equals }, o = i(t, s, n); return function(u) { return o(u) && e(u); }; }, "is"); ta.subselects = { is: WA, /** * `:matches` and `:where` are aliases for `:is`. */ matches: WA, where: WA, not: /* @__PURE__ */ a(function(e, t, r, n, i) { var s = { xmlMode: !!r.xmlMode, adapter: r.adapter, equals: r.equals }, o = i(t, s, n); return o === tu.falseFunc ? e : o === tu.trueFunc ? tu.falseFunc : /* @__PURE__ */ a(function(l) { return !o(l) && e(l); }, "not"); }, "not"), has: /* @__PURE__ */ a(function(e, t, r, n, i) { var s = r.adapter, o = { xmlMode: !!r.xmlMode, adapter: s, equals: r.equals }, u = t.some(function(g) { return g.some(Wve.isTraversal); }) ? [ta.PLACEHOLDER_ELEMENT] : void 0, l = i(t, o, u); if (l === tu.falseFunc) return tu.falseFunc; if (l === tu.trueFunc) return function(g) { return s.getChildren(g).some(s.isTag) && e(g); }; var c = D8(l, s), f = l.shouldTestNextSiblings, d = f === void 0 ? !1 : f; return u ? function(g) { u[0] = g; var b = s.getChildren(g), _ = d ? T8(T8([], b, !0), x8(g, s), !0) : b; return e(g) && s.existsOne(c, _); } : function(g) { return e(g) && s.existsOne(c, s.getChildren(g)); }; }, "has") }; }); // ../node_modules/renderkid/node_modules/css-select/lib/pseudo-selectors/index.js var QA = y((Is) => { "use strict"; Object.defineProperty(Is, "__esModule", { value: !0 }); Is.compilePseudoSelector = Is.aliases = Is.pseudos = Is.filters = void 0; var $A = Jo(), $ve = Mh(), XA = S8(); Object.defineProperty(Is, "filters", { enumerable: !0, get: /* @__PURE__ */ a(function() { return XA.filters; }, "get") }); var Cg = E8(); Object.defineProperty(Is, "pseudos", { enumerable: !0, get: /* @__PURE__ */ a(function() { return Cg.pseudos; }, "get") }); var YA = A8(); Object.defineProperty(Is, "aliases", { enumerable: !0, get: /* @__PURE__ */ a(function() { return YA.aliases; }, "get") }); var C8 = xg(); function Xve(e, t, r, n, i) { var s = t.name, o = t.data; if (Array.isArray(o)) return C8.subselects[s](e, o, r, n, i); if (s in YA.aliases) { if (o != null) throw new Error("Pseudo ".concat(s, " doesn't have any arguments")); var u = (0, $ve.parse)(YA.aliases[s]); return C8.subselects.is(e, u, r, n, i); } if (s in XA.filters) return XA.filters[s](e, o, r, n); if (s in Cg.pseudos) { var l = Cg.pseudos[s]; return (0, Cg.verifyPseudoArgs)(l, s, o), l === $A.falseFunc ? $A.falseFunc : e === $A.trueFunc ? function(c) { return l(c, r, o); } : function(c) { return l(c, r, o) && e(c); }; } throw new Error("unmatched pseudo-class :".concat(s)); } a(Xve, "compilePseudoSelector"); Is.compilePseudoSelector = Xve; }); // ../node_modules/renderkid/node_modules/css-select/lib/general.js var w8 = y((wg) => { "use strict"; Object.defineProperty(wg, "__esModule", { value: !0 }); wg.compileGeneralSelector = void 0; var Yve = m8(), Qve = QA(), Ka = Mh(); function Zve(e, t, r, n, i) { var s = r.adapter, o = r.equals; switch (t.type) { case Ka.SelectorType.PseudoElement: throw new Error("Pseudo-elements are not supported by css-select"); case Ka.SelectorType.ColumnCombinator: throw new Error("Column combinators are not yet supported by css-select"); case Ka.SelectorType.Attribute: { if (t.namespace != null) throw new Error("Namespaced attributes are not yet supported by css-select"); return (!r.xmlMode || r.lowerCaseAttributeNames) && (t.name = t.name.toLowerCase()), Yve.attributeRules[t.action](e, t, r); } case Ka.SelectorType.Pseudo: return (0, Qve.compilePseudoSelector)(e, t, r, n, i); // Tags case Ka.SelectorType.Tag: { if (t.namespace != null) throw new Error("Namespaced tag names are not yet supported by css-select"); var u = t.name; return (!r.xmlMode || r.lowerCaseTags) && (u = u.toLowerCase()), /* @__PURE__ */ a(function(f) { return s.getName(f) === u && e(f); }, "tag"); } // Traversal case Ka.SelectorType.Descendant: { if (r.cacheResults === !1 || typeof WeakSet > "u") return /* @__PURE__ */ a(function(f) { for (var d = f; d = s.getParent(d); ) if (s.isTag(d) && e(d)) return !0; return !1; }, "descendant"); var l = /* @__PURE__ */ new WeakSet(); return /* @__PURE__ */ a(function(f) { for (var d = f; d = s.getParent(d); ) if (!l.has(d)) { if (s.isTag(d) && e(d)) return !0; l.add(d); } return !1; }, "cachedDescendant"); } case "_flexibleDescendant": return /* @__PURE__ */ a(function(f) { var d = f; do if (s.isTag(d) && e(d)) return !0; while (d = s.getParent(d)); return !1; }, "flexibleDescendant"); case Ka.SelectorType.Parent: return /* @__PURE__ */ a(function(f) { return s.getChildren(f).some(function(d) { return s.isTag(d) && e(d); }); }, "parent"); case Ka.SelectorType.Child: return /* @__PURE__ */ a(function(f) { var d = s.getParent(f); return d != null && s.isTag(d) && e(d); }, "child"); case Ka.SelectorType.Sibling: return /* @__PURE__ */ a(function(f) { for (var d = s.getSiblings(f), g = 0; g < d.length; g++) { var b = d[g]; if (o(f, b)) break; if (s.isTag(b) && e(b)) return !0; } return !1; }, "sibling"); case Ka.SelectorType.Adjacent: return s.prevElementSibling ? /* @__PURE__ */ a(function(f) { var d = s.prevElementSibling(f); return d != null && e(d); }, "adjacent") : /* @__PURE__ */ a(function(f) { for (var d = s.getSiblings(f), g, b = 0; b < d.length; b++) { var _ = d[b]; if (o(f, _)) break; s.isTag(_) && (g = _); } return !!g && e(g); }, "adjacent"); case Ka.SelectorType.Universal: { if (t.namespace != null && t.namespace !== "*") throw new Error("Namespaced universal selectors are not yet supported by css-select"); return e; } } } a(Zve, "compileGeneralSelector"); wg.compileGeneralSelector = Zve; }); // ../node_modules/renderkid/node_modules/css-select/lib/compile.js var P8 = y((Ns) => { "use strict"; var Jve = Ns && Ns.__importDefault || function(e) { return e && e.__esModule ? e : { default: e }; }; Object.defineProperty(Ns, "__esModule", { value: !0 }); Ns.compileToken = Ns.compileUnsafe = Ns.compile = void 0; var ZA = Mh(), ru = Jo(), ebe = Jve(p8()), tbe = vg(), rbe = w8(), O8 = xg(); function nbe(e, t, r) { var n = R8(e, t, r); return (0, O8.ensureIsTag)(n, t.adapter); } a(nbe, "compile"); Ns.compile = nbe; function R8(e, t, r) { var n = typeof e == "string" ? (0, ZA.parse)(e) : e; return JA(n, t, r); } a(R8, "compileUnsafe"); Ns.compileUnsafe = R8; function k8(e) { return e.type === "pseudo" && (e.name === "scope" || Array.isArray(e.data) && e.data.some(function(t) { return t.some(k8); })); } a(k8, "includesScopePseudo"); var ibe = { type: ZA.SelectorType.Descendant }, abe = { type: "_flexibleDescendant" }, sbe = { type: ZA.SelectorType.Pseudo, name: "scope", data: null }; function obe(e, t, r) { for (var n = t.adapter, i = !!r?.every(function(l) { var c = n.isTag(l) && n.getParent(l); return l === O8.PLACEHOLDER_ELEMENT || c && n.isTag(c); }), s = 0, o = e; s < o.length; s++) { var u = o[s]; if (!(u.length > 0 && (0, tbe.isTraversal)(u[0]) && u[0].type !== "descendant")) if (i && !u.some(k8)) u.unshift(ibe); else continue; u.unshift(sbe); } } a(obe, "absolutize"); function JA(e, t, r) { var n; e = e.filter(function(l) { return l.length > 0; }), e.forEach(ebe.default), r = (n = t.context) !== null && n !== void 0 ? n : r; var i = Array.isArray(r), s = r && (Array.isArray(r) ? r : [r]); obe(e, t, s); var o = !1, u = e.map(function(l) { if (l.length >= 2) { var c = l[0], f = l[1]; c.type !== "pseudo" || c.name !== "scope" || (i && f.type === "descendant" ? l[1] = abe : (f.type === "adjacent" || f.type === "sibl\ ing") && (o = !0)); } return ube(l, t, s); }).reduce(lbe, ru.falseFunc); return u.shouldTestNextSiblings = o, u; } a(JA, "compileToken"); Ns.compileToken = JA; function ube(e, t, r) { var n; return e.reduce(function(i, s) { return i === ru.falseFunc ? ru.falseFunc : (0, rbe.compileGeneralSelector)(i, s, t, r, JA); }, (n = t.rootFunc) !== null && n !== void 0 ? n : ru.trueFunc); } a(ube, "compileRules"); function lbe(e, t) { return t === ru.falseFunc || e === ru.trueFunc ? e : e === ru.falseFunc || t === ru.trueFunc ? t : /* @__PURE__ */ a(function(n) { return e(n) || t(n); }, "combine"); } a(lbe, "reduceRules"); }); // ../node_modules/renderkid/node_modules/css-select/lib/index.js var M8 = y((Vt) => { "use strict"; var cbe = Vt && Vt.__createBinding || (Object.create ? function(e, t, r, n) { n === void 0 && (n = r); var i = Object.getOwnPropertyDescriptor(t, r); (!i || ("get" in i ? !t.__esModule : i.writable || i.configurable)) && (i = { enumerable: !0, get: /* @__PURE__ */ a(function() { return t[r]; }, "get") }), Object.defineProperty(e, n, i); } : function(e, t, r, n) { n === void 0 && (n = r), e[n] = t[r]; }), fbe = Vt && Vt.__setModuleDefault || (Object.create ? function(e, t) { Object.defineProperty(e, "default", { enumerable: !0, value: t }); } : function(e, t) { e.default = t; }), hbe = Vt && Vt.__importStar || function(e) { if (e && e.__esModule) return e; var t = {}; if (e != null) for (var r in e) r !== "default" && Object.prototype.hasOwnProperty.call(e, r) && cbe(t, e, r); return fbe(t, e), t; }; Object.defineProperty(Vt, "__esModule", { value: !0 }); Vt.aliases = Vt.pseudos = Vt.filters = Vt.is = Vt.selectOne = Vt.selectAll = Vt.prepareContext = Vt._compileToken = Vt._compileUnsafe = Vt. compile = void 0; var F8 = hbe(Ym()), I8 = Jo(), qh = P8(), pbe = xg(), N8 = /* @__PURE__ */ a(function(e, t) { return e === t; }, "defaultEquals"), dbe = { adapter: F8, equals: N8 }; function eT(e) { var t, r, n, i, s = e ?? dbe; return (t = s.adapter) !== null && t !== void 0 || (s.adapter = F8), (r = s.equals) !== null && r !== void 0 || (s.equals = (i = (n = s. adapter) === null || n === void 0 ? void 0 : n.equals) !== null && i !== void 0 ? i : N8), s; } a(eT, "convertOptionFormats"); function tT(e) { return /* @__PURE__ */ a(function(r, n, i) { var s = eT(n); return e(r, s, i); }, "addAdapter"); } a(tT, "wrapCompile"); Vt.compile = tT(qh.compile); Vt._compileUnsafe = tT(qh.compileUnsafe); Vt._compileToken = tT(qh.compileToken); function L8(e) { return /* @__PURE__ */ a(function(r, n, i) { var s = eT(i); typeof r != "function" && (r = (0, qh.compileUnsafe)(r, s, n)); var o = B8(n, s.adapter, r.shouldTestNextSiblings); return e(r, o, s); }, "select"); } a(L8, "getSelectorFunc"); function B8(e, t, r) { return r === void 0 && (r = !1), r && (e = mbe(e, t)), Array.isArray(e) ? t.removeSubsets(e) : t.getChildren(e); } a(B8, "prepareContext"); Vt.prepareContext = B8; function mbe(e, t) { for (var r = Array.isArray(e) ? e.slice(0) : [e], n = r.length, i = 0; i < n; i++) { var s = (0, pbe.getNextSiblings)(r[i], t); r.push.apply(r, s); } return r; } a(mbe, "appendNextSiblings"); Vt.selectAll = L8(function(e, t, r) { return e === I8.falseFunc || !t || t.length === 0 ? [] : r.adapter.findAll(e, t); }); Vt.selectOne = L8(function(e, t, r) { return e === I8.falseFunc || !t || t.length === 0 ? null : r.adapter.findOne(e, t); }); function gbe(e, t, r) { var n = eT(r); return (typeof t == "function" ? t : (0, qh.compile)(t, n))(e); } a(gbe, "is"); Vt.is = gbe; Vt.default = Vt.selectAll; var rT = QA(); Object.defineProperty(Vt, "filters", { enumerable: !0, get: /* @__PURE__ */ a(function() { return rT.filters; }, "get") }); Object.defineProperty(Vt, "pseudos", { enumerable: !0, get: /* @__PURE__ */ a(function() { return rT.pseudos; }, "get") }); Object.defineProperty(Vt, "aliases", { enumerable: !0, get: /* @__PURE__ */ a(function() { return rT.aliases; }, "get") }); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/Selector.js var V8 = y((JKe, U8) => { "use strict"; function _be(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(_be, "_classCallCheck"); function q8(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(q8, "_defineProperties"); function vbe(e, t, r) { return t && q8(e.prototype, t), r && q8(e, r), e; } a(vbe, "_createClass"); var nT, bbe; nT = M8(); U8.exports = bbe = function() { var e, t = /* @__PURE__ */ function() { function r(n) { _be(this, r), this.text = n, this._fn = nT.compile(this.text), this.priority = e.calculatePriority(this.text); } return a(r, "Selector"), vbe(r, [{ key: "matches", value: /* @__PURE__ */ a(function(i) { return nT.is(i, this._fn); }, "matches") // This stupid piece of code is supposed to calculate // selector priority, somehow according to // http://www.w3.org/wiki/CSS/Training/Priority_level_of_selector }], [{ key: "calculatePriority", value: /* @__PURE__ */ a(function(i) { var s, o; return o = 0, (s = i.match(/[\#]{1}/g)) && (o += 100 * s.length), (s = i.match(/[a-zA-Z]+/g)) && (o += 2 * s.length), (s = i.match( /\*/g)) && (o += 1 * s.length), o; }, "calculatePriority") }]), r; }(); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/_Declaration.js var fo = y((tWe, j8) => { "use strict"; function ybe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(ybe, "_classCallCheck"); function H8(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(H8, "_defineProperties"); function Sbe(e, t, r) { return t && H8(e.prototype, t), r && H8(e, r), e; } a(Sbe, "_createClass"); var Ebe; j8.exports = Ebe = function() { var e, t = /* @__PURE__ */ function() { function r(n, i) { ybe(this, r), this.prop = n, this.important = !1, this.set(i); } return a(r, "_Declaration"), Sbe(r, [{ key: "get", value: /* @__PURE__ */ a(function() { return this._get(); }, "get") }, { key: "_get", value: /* @__PURE__ */ a(function() { return this.val; }, "_get") }, { key: "_pickImportantClause", value: /* @__PURE__ */ a(function(i) { return e.importantClauseRx.test(String(i)) ? (this.important = !0, i.replace(e.importantClauseRx, "")) : (this.important = !1, i); }, "_pickImportantClause") }, { key: "set", value: /* @__PURE__ */ a(function(i) { return i = e.sanitizeValue(i), i = this._pickImportantClause(i), i = i.trim(), this._handleNullOrInherit(i) ? this : (this._set(i), this); }, "set") }, { key: "_set", value: /* @__PURE__ */ a(function(i) { return this.val = i; }, "_set") }, { key: "_handleNullOrInherit", value: /* @__PURE__ */ a(function(i) { if (i === "") return this.val = "", !0; if (i === "inherit") { if (this.constructor.inheritAllowed) this.val = "inherit"; else throw Error("Inherit is not allowed for `".concat(this.prop, "`")); return !0; } else return !1; }, "_handleNullOrInherit") }], [{ key: "setOnto", value: /* @__PURE__ */ a(function(i, s, o) { var u; return (u = i[s]) ? u.set(o) : i[s] = new this(s, o); }, "setOnto") }, { key: "sanitizeValue", value: /* @__PURE__ */ a(function(i) { return String(i).trim().replace(/[\s]+/g, " "); }, "sanitizeValue") }]), r; }(); return e = t, t.importantClauseRx = /(\s\!important)$/, t.inheritAllowed = !1, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Arbitrary.js var K8 = y((nWe, z8) => { "use strict"; function Og(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Og = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Og = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Og(e); } a(Og, "_typeof"); function Abe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Abe, "_classCallCheck"); function Tbe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && iT(e, t); } a(Tbe, "_inherits"); function iT(e, t) { return iT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), iT(e, t); } a(iT, "_setPrototypeOf"); function Dbe(e) { var t = wbe(); return /* @__PURE__ */ a(function() { var n = Rg(e), i; if (t) { var s = Rg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return xbe(this, i); }, "_createSuperInternal"); } a(Dbe, "_createSuper"); function xbe(e, t) { return t && (Og(t) === "object" || typeof t == "function") ? t : Cbe(e); } a(xbe, "_possibleConstructorReturn"); function Cbe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Cbe, "_assertThisInitialized"); function wbe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(wbe, "_isNativeReflectConstruct"); function Rg(e) { return Rg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Rg(e); } a(Rg, "_getPrototypeOf"); var Obe, G8; G8 = fo(); z8.exports = Obe = /* @__PURE__ */ function(e) { Tbe(r, e); var t = Dbe(r); function r() { return Abe(this, r), t.apply(this, arguments); } return a(r, "Arbitrary"), r; }(G8); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Color.js var X8 = y((aWe, $8) => { "use strict"; function kg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? kg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : kg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), kg(e); } a(kg, "_typeof"); function Rbe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Rbe, "_classCallCheck"); function kbe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && aT(e, t); } a(kbe, "_inherits"); function aT(e, t) { return aT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), aT(e, t); } a(aT, "_setPrototypeOf"); function Pbe(e) { var t = Nbe(); return /* @__PURE__ */ a(function() { var n = Pg(e), i; if (t) { var s = Pg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return Fbe(this, i); }, "_createSuperInternal"); } a(Pbe, "_createSuper"); function Fbe(e, t) { return t && (kg(t) === "object" || typeof t == "function") ? t : Ibe(e); } a(Fbe, "_possibleConstructorReturn"); function Ibe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Ibe, "_assertThisInitialized"); function Nbe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(Nbe, "_isNativeReflectConstruct"); function Pg(e) { return Pg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Pg(e); } a(Pg, "_getPrototypeOf"); var Lbe, W8; W8 = fo(); $8.exports = Lbe = /* @__PURE__ */ function(e) { kbe(r, e); var t = Pbe(r); function r() { return Rbe(this, r), t.apply(this, arguments); } return a(r, "Color"), r; }(W8); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Background.js var Z8 = y((oWe, Q8) => { "use strict"; function Fg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Fg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Fg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Fg(e); } a(Fg, "_typeof"); function Bbe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Bbe, "_classCallCheck"); function Mbe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && sT(e, t); } a(Mbe, "_inherits"); function sT(e, t) { return sT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), sT(e, t); } a(sT, "_setPrototypeOf"); function qbe(e) { var t = Hbe(); return /* @__PURE__ */ a(function() { var n = Ig(e), i; if (t) { var s = Ig(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return Ube(this, i); }, "_createSuperInternal"); } a(qbe, "_createSuper"); function Ube(e, t) { return t && (Fg(t) === "object" || typeof t == "function") ? t : Vbe(e); } a(Ube, "_possibleConstructorReturn"); function Vbe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Vbe, "_assertThisInitialized"); function Hbe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(Hbe, "_isNativeReflectConstruct"); function Ig(e) { return Ig = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Ig(e); } a(Ig, "_getPrototypeOf"); var jbe, Y8; Y8 = fo(); Q8.exports = jbe = /* @__PURE__ */ function(e) { Mbe(r, e); var t = qbe(r); function r() { return Bbe(this, r), t.apply(this, arguments); } return a(r, "Background"), r; }(Y8); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/_Length.js var Wa = y((lWe, t5) => { "use strict"; function Ng(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ng = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Ng = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Ng(e); } a(Ng, "_typeof"); function Gbe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Gbe, "_classCallCheck"); function J8(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(J8, "_defineProperties"); function zbe(e, t, r) { return t && J8(e.prototype, t), r && J8(e, r), e; } a(zbe, "_createClass"); function Kbe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && oT(e, t); } a(Kbe, "_inherits"); function oT(e, t) { return oT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), oT(e, t); } a(oT, "_setPrototypeOf"); function Wbe(e) { var t = Ybe(); return /* @__PURE__ */ a(function() { var n = Lg(e), i; if (t) { var s = Lg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return $be(this, i); }, "_createSuperInternal"); } a(Wbe, "_createSuper"); function $be(e, t) { return t && (Ng(t) === "object" || typeof t == "function") ? t : Xbe(e); } a($be, "_possibleConstructorReturn"); function Xbe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Xbe, "_assertThisInitialized"); function Ybe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(Ybe, "_isNativeReflectConstruct"); function Lg(e) { return Lg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Lg(e); } a(Lg, "_getPrototypeOf"); var e5, Qbe; e5 = fo(); t5.exports = Qbe = /* @__PURE__ */ function(e) { Kbe(r, e); var t = Wbe(r); function r() { return Gbe(this, r), t.apply(this, arguments); } return a(r, "_Length"), zbe(r, [{ key: "_set", value: /* @__PURE__ */ a(function(i) { if (!/^[0-9]+$/.test(String(i))) throw Error("`".concat(this.prop, "` only takes an integer for value")); return this.val = parseInt(i); }, "_set") }]), r; }(e5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Width.js var i5 = y((fWe, n5) => { "use strict"; function Bg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Bg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Bg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Bg(e); } a(Bg, "_typeof"); function Zbe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Zbe, "_classCallCheck"); function Jbe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && uT(e, t); } a(Jbe, "_inherits"); function uT(e, t) { return uT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), uT(e, t); } a(uT, "_setPrototypeOf"); function eye(e) { var t = nye(); return /* @__PURE__ */ a(function() { var n = Mg(e), i; if (t) { var s = Mg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return tye(this, i); }, "_createSuperInternal"); } a(eye, "_createSuper"); function tye(e, t) { return t && (Bg(t) === "object" || typeof t == "function") ? t : rye(e); } a(tye, "_possibleConstructorReturn"); function rye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(rye, "_assertThisInitialized"); function nye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(nye, "_isNativeReflectConstruct"); function Mg(e) { return Mg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Mg(e); } a(Mg, "_getPrototypeOf"); var iye, r5; r5 = Wa(); n5.exports = iye = /* @__PURE__ */ function(e) { Jbe(r, e); var t = eye(r); function r() { return Zbe(this, r), t.apply(this, arguments); } return a(r, "Width"), r; }(r5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Height.js var o5 = y((pWe, s5) => { "use strict"; function qg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? qg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : qg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), qg(e); } a(qg, "_typeof"); function aye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(aye, "_classCallCheck"); function sye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && lT(e, t); } a(sye, "_inherits"); function lT(e, t) { return lT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), lT(e, t); } a(lT, "_setPrototypeOf"); function oye(e) { var t = cye(); return /* @__PURE__ */ a(function() { var n = Ug(e), i; if (t) { var s = Ug(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return uye(this, i); }, "_createSuperInternal"); } a(oye, "_createSuper"); function uye(e, t) { return t && (qg(t) === "object" || typeof t == "function") ? t : lye(e); } a(uye, "_possibleConstructorReturn"); function lye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(lye, "_assertThisInitialized"); function cye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(cye, "_isNativeReflectConstruct"); function Ug(e) { return Ug = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Ug(e); } a(Ug, "_getPrototypeOf"); var fye, a5; a5 = Wa(); s5.exports = fye = /* @__PURE__ */ function(e) { sye(r, e); var t = oye(r); function r() { return aye(this, r), t.apply(this, arguments); } return a(r, "Height"), r; }(a5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Bullet.js var f5 = y((mWe, c5) => { "use strict"; function Vg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Vg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Vg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Vg(e); } a(Vg, "_typeof"); function hye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(hye, "_classCallCheck"); function u5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(u5, "_defineProperties"); function pye(e, t, r) { return t && u5(e.prototype, t), r && u5(e, r), e; } a(pye, "_createClass"); function dye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && cT(e, t); } a(dye, "_inherits"); function cT(e, t) { return cT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), cT(e, t); } a(cT, "_setPrototypeOf"); function mye(e) { var t = vye(); return /* @__PURE__ */ a(function() { var n = Hg(e), i; if (t) { var s = Hg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return gye(this, i); }, "_createSuperInternal"); } a(mye, "_createSuper"); function gye(e, t) { return t && (Vg(t) === "object" || typeof t == "function") ? t : _ye(e); } a(gye, "_possibleConstructorReturn"); function _ye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(_ye, "_assertThisInitialized"); function vye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(vye, "_isNativeReflectConstruct"); function Hg(e) { return Hg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Hg(e); } a(Hg, "_getPrototypeOf"); var bye, l5; l5 = fo(); c5.exports = bye = function() { var e, t = /* @__PURE__ */ function(r) { dye(i, r); var n = mye(i); function i() { return hye(this, i), n.apply(this, arguments); } return a(i, "Bullet"), pye(i, [{ key: "_set", value: /* @__PURE__ */ a(function(o) { var u, l, c, f, d, g, b; if (o = String(o), b = o, c = null, d = !1, f = "none", l = "none", (g = o.match(/\"([^"]+)\"/) || (g = o.match(/\'([^']+)\'/))) && (c = g[1], o = o.replace(g[0], ""), d = !0), (g = o.match(/(none|left|right|center)/)) ? (u = g[1], o = o.replace(g[0], "")) : u = "left", u === "none" && (d = !1), (g = o.match(/color\:([\w\-]+)/)) && (f = g[1], o = o.replace(g[0], "")), (g = o.match(/bg\:([\w\-]+)/)) && (l = g[1], o = o.replace(g[0], "")), o.trim() !== "") throw Error("Unrecognizable value `".concat(b, "` for `").concat(this.prop, "`")); return this.val = { enabled: d, char: c, alignment: u, background: l, color: f }; }, "_set") }]), i; }(l5); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Display.js var m5 = y((_We, d5) => { "use strict"; function jg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? jg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : jg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), jg(e); } a(jg, "_typeof"); function yye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(yye, "_classCallCheck"); function h5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(h5, "_defineProperties"); function Sye(e, t, r) { return t && h5(e.prototype, t), r && h5(e, r), e; } a(Sye, "_createClass"); function Eye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && fT(e, t); } a(Eye, "_inherits"); function fT(e, t) { return fT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), fT(e, t); } a(fT, "_setPrototypeOf"); function Aye(e) { var t = xye(); return /* @__PURE__ */ a(function() { var n = Gg(e), i; if (t) { var s = Gg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return Tye(this, i); }, "_createSuperInternal"); } a(Aye, "_createSuper"); function Tye(e, t) { return t && (jg(t) === "object" || typeof t == "function") ? t : Dye(e); } a(Tye, "_possibleConstructorReturn"); function Dye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Dye, "_assertThisInitialized"); function xye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(xye, "_isNativeReflectConstruct"); function Gg(e) { return Gg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Gg(e); } a(Gg, "_getPrototypeOf"); var Cye, p5, wye = [].indexOf; p5 = fo(); d5.exports = Cye = function() { var e, t = /* @__PURE__ */ function(r) { Eye(i, r); var n = Aye(i); function i() { return yye(this, i), n.apply(this, arguments); } return a(i, "Display"), Sye(i, [{ key: "_set", value: /* @__PURE__ */ a(function(o) { if (o = String(o).toLowerCase(), wye.call(e._allowed, o) < 0) throw Error("Unrecognizable value `".concat(o, "` for `").concat(this.prop, "`")); return this.val = o; }, "_set") }]), i; }(p5); return e = t, t._allowed = ["inline", "block", "none"], t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/MarginTop.js var pT = y((bWe, _5) => { "use strict"; function zg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? zg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : zg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), zg(e); } a(zg, "_typeof"); function Oye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Oye, "_classCallCheck"); function Rye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && hT(e, t); } a(Rye, "_inherits"); function hT(e, t) { return hT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), hT(e, t); } a(hT, "_setPrototypeOf"); function kye(e) { var t = Iye(); return /* @__PURE__ */ a(function() { var n = Kg(e), i; if (t) { var s = Kg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return Pye(this, i); }, "_createSuperInternal"); } a(kye, "_createSuper"); function Pye(e, t) { return t && (zg(t) === "object" || typeof t == "function") ? t : Fye(e); } a(Pye, "_possibleConstructorReturn"); function Fye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Fye, "_assertThisInitialized"); function Iye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(Iye, "_isNativeReflectConstruct"); function Kg(e) { return Kg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Kg(e); } a(Kg, "_getPrototypeOf"); var Nye, g5; g5 = Wa(); _5.exports = Nye = /* @__PURE__ */ function(e) { Rye(r, e); var t = kye(r); function r() { return Oye(this, r), t.apply(this, arguments); } return a(r, "MarginTop"), r; }(g5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/MarginLeft.js var mT = y((SWe, b5) => { "use strict"; function Wg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Wg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Wg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Wg(e); } a(Wg, "_typeof"); function Lye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Lye, "_classCallCheck"); function Bye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && dT(e, t); } a(Bye, "_inherits"); function dT(e, t) { return dT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), dT(e, t); } a(dT, "_setPrototypeOf"); function Mye(e) { var t = Vye(); return /* @__PURE__ */ a(function() { var n = $g(e), i; if (t) { var s = $g(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return qye(this, i); }, "_createSuperInternal"); } a(Mye, "_createSuper"); function qye(e, t) { return t && (Wg(t) === "object" || typeof t == "function") ? t : Uye(e); } a(qye, "_possibleConstructorReturn"); function Uye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Uye, "_assertThisInitialized"); function Vye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(Vye, "_isNativeReflectConstruct"); function $g(e) { return $g = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), $g(e); } a($g, "_getPrototypeOf"); var Hye, v5; v5 = Wa(); b5.exports = Hye = /* @__PURE__ */ function(e) { Bye(r, e); var t = Mye(r); function r() { return Lye(this, r), t.apply(this, arguments); } return a(r, "MarginLeft"), r; }(v5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/MarginRight.js var _T = y((AWe, S5) => { "use strict"; function Xg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Xg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Xg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Xg(e); } a(Xg, "_typeof"); function jye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(jye, "_classCallCheck"); function Gye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && gT(e, t); } a(Gye, "_inherits"); function gT(e, t) { return gT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), gT(e, t); } a(gT, "_setPrototypeOf"); function zye(e) { var t = $ye(); return /* @__PURE__ */ a(function() { var n = Yg(e), i; if (t) { var s = Yg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return Kye(this, i); }, "_createSuperInternal"); } a(zye, "_createSuper"); function Kye(e, t) { return t && (Xg(t) === "object" || typeof t == "function") ? t : Wye(e); } a(Kye, "_possibleConstructorReturn"); function Wye(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(Wye, "_assertThisInitialized"); function $ye() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a($ye, "_isNativeReflectConstruct"); function Yg(e) { return Yg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Yg(e); } a(Yg, "_getPrototypeOf"); var Xye, y5; y5 = Wa(); S5.exports = Xye = /* @__PURE__ */ function(e) { Gye(r, e); var t = zye(r); function r() { return jye(this, r), t.apply(this, arguments); } return a(r, "MarginRight"), r; }(y5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/MarginBottom.js var bT = y((DWe, A5) => { "use strict"; function Qg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Qg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Qg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Qg(e); } a(Qg, "_typeof"); function Yye(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(Yye, "_classCallCheck"); function Qye(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && vT(e, t); } a(Qye, "_inherits"); function vT(e, t) { return vT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), vT(e, t); } a(vT, "_setPrototypeOf"); function Zye(e) { var t = t0e(); return /* @__PURE__ */ a(function() { var n = Zg(e), i; if (t) { var s = Zg(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return Jye(this, i); }, "_createSuperInternal"); } a(Zye, "_createSuper"); function Jye(e, t) { return t && (Qg(t) === "object" || typeof t == "function") ? t : e0e(e); } a(Jye, "_possibleConstructorReturn"); function e0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(e0e, "_assertThisInitialized"); function t0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(t0e, "_isNativeReflectConstruct"); function Zg(e) { return Zg = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), Zg(e); } a(Zg, "_getPrototypeOf"); var r0e, E5; E5 = Wa(); A5.exports = r0e = /* @__PURE__ */ function(e) { Qye(r, e); var t = Zye(r); function r() { return Yye(this, r), t.apply(this, arguments); } return a(r, "MarginBottom"), r; }(E5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Margin.js var x5 = y((CWe, D5) => { "use strict"; function Jg(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Jg = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : Jg = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), Jg(e); } a(Jg, "_typeof"); function n0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(n0e, "_classCallCheck"); function T5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(T5, "_defineProperties"); function i0e(e, t, r) { return t && T5(e.prototype, t), r && T5(e, r), e; } a(i0e, "_createClass"); function a0e(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && yT(e, t); } a(a0e, "_inherits"); function yT(e, t) { return yT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), yT(e, t); } a(yT, "_setPrototypeOf"); function s0e(e) { var t = l0e(); return /* @__PURE__ */ a(function() { var n = e_(e), i; if (t) { var s = e_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return o0e(this, i); }, "_createSuperInternal"); } a(s0e, "_createSuper"); function o0e(e, t) { return t && (Jg(t) === "object" || typeof t == "function") ? t : u0e(e); } a(o0e, "_possibleConstructorReturn"); function u0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(u0e, "_assertThisInitialized"); function l0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(l0e, "_isNativeReflectConstruct"); function e_(e) { return e_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), e_(e); } a(e_, "_getPrototypeOf"); var c0e, f0e, h0e, p0e, Uh, Vh; Vh = fo(); Uh = pT(); h0e = mT(); p0e = _T(); f0e = bT(); D5.exports = c0e = function() { var e, t = /* @__PURE__ */ function(r) { a0e(i, r); var n = s0e(i); function i() { return n0e(this, i), n.apply(this, arguments); } return a(i, "Margin"), i0e(i, null, [{ key: "setOnto", value: /* @__PURE__ */ a(function(o, u, l) { var c, f, d; if (c = "", f = Vh.sanitizeValue(l), Vh.importantClauseRx.test(String(f)) && (c = " !important", f = f.replace(Vh.importantClauseRx, "")), f = f.trim(), f.length === 0) return e._setAllDirections(o, c, c, c, c); if (d = f.split(" ").map(function(g) { return g + c; }), d.length === 1) return e._setAllDirections(o, d[0], d[0], d[0], d[0]); if (d.length === 2) return e._setAllDirections(o, d[0], d[1], d[0], d[1]); if (d.length === 3) return e._setAllDirections(o, d[0], d[1], d[2], d[1]); if (d.length === 4) return e._setAllDirections(o, d[0], d[1], d[2], d[3]); throw Error("Can't understand value for margin: `".concat(l, "`")); }, "setOnto") }, { key: "_setAllDirections", value: /* @__PURE__ */ a(function(o, u, l, c, f) { Uh.setOnto(o, "marginTop", u), Uh.setOnto(o, "marginRight", l), Uh.setOnto(o, "marginBottom", c), Uh.setOnto(o, "marginLeft", f); }, "_setAllDirections") }]), i; }(Vh); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/PaddingTop.js var ET = y((OWe, w5) => { "use strict"; function t_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? t_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : t_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), t_(e); } a(t_, "_typeof"); function d0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(d0e, "_classCallCheck"); function m0e(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && ST(e, t); } a(m0e, "_inherits"); function ST(e, t) { return ST = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), ST(e, t); } a(ST, "_setPrototypeOf"); function g0e(e) { var t = b0e(); return /* @__PURE__ */ a(function() { var n = r_(e), i; if (t) { var s = r_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return _0e(this, i); }, "_createSuperInternal"); } a(g0e, "_createSuper"); function _0e(e, t) { return t && (t_(t) === "object" || typeof t == "function") ? t : v0e(e); } a(_0e, "_possibleConstructorReturn"); function v0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(v0e, "_assertThisInitialized"); function b0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(b0e, "_isNativeReflectConstruct"); function r_(e) { return r_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), r_(e); } a(r_, "_getPrototypeOf"); var y0e, C5; C5 = Wa(); w5.exports = y0e = /* @__PURE__ */ function(e) { m0e(r, e); var t = g0e(r); function r() { return d0e(this, r), t.apply(this, arguments); } return a(r, "PaddingTop"), r; }(C5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/PaddingLeft.js var TT = y((kWe, R5) => { "use strict"; function n_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? n_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : n_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), n_(e); } a(n_, "_typeof"); function S0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(S0e, "_classCallCheck"); function E0e(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && AT(e, t); } a(E0e, "_inherits"); function AT(e, t) { return AT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), AT(e, t); } a(AT, "_setPrototypeOf"); function A0e(e) { var t = x0e(); return /* @__PURE__ */ a(function() { var n = i_(e), i; if (t) { var s = i_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return T0e(this, i); }, "_createSuperInternal"); } a(A0e, "_createSuper"); function T0e(e, t) { return t && (n_(t) === "object" || typeof t == "function") ? t : D0e(e); } a(T0e, "_possibleConstructorReturn"); function D0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(D0e, "_assertThisInitialized"); function x0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(x0e, "_isNativeReflectConstruct"); function i_(e) { return i_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), i_(e); } a(i_, "_getPrototypeOf"); var C0e, O5; O5 = Wa(); R5.exports = C0e = /* @__PURE__ */ function(e) { E0e(r, e); var t = A0e(r); function r() { return S0e(this, r), t.apply(this, arguments); } return a(r, "PaddingLeft"), r; }(O5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/PaddingRight.js var xT = y((FWe, P5) => { "use strict"; function a_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? a_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : a_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), a_(e); } a(a_, "_typeof"); function w0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(w0e, "_classCallCheck"); function O0e(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && DT(e, t); } a(O0e, "_inherits"); function DT(e, t) { return DT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), DT(e, t); } a(DT, "_setPrototypeOf"); function R0e(e) { var t = F0e(); return /* @__PURE__ */ a(function() { var n = s_(e), i; if (t) { var s = s_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return k0e(this, i); }, "_createSuperInternal"); } a(R0e, "_createSuper"); function k0e(e, t) { return t && (a_(t) === "object" || typeof t == "function") ? t : P0e(e); } a(k0e, "_possibleConstructorReturn"); function P0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(P0e, "_assertThisInitialized"); function F0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(F0e, "_isNativeReflectConstruct"); function s_(e) { return s_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), s_(e); } a(s_, "_getPrototypeOf"); var I0e, k5; k5 = Wa(); P5.exports = I0e = /* @__PURE__ */ function(e) { O0e(r, e); var t = R0e(r); function r() { return w0e(this, r), t.apply(this, arguments); } return a(r, "PaddingRight"), r; }(k5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/PaddingBottom.js var wT = y((NWe, I5) => { "use strict"; function o_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? o_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : o_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), o_(e); } a(o_, "_typeof"); function N0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(N0e, "_classCallCheck"); function L0e(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && CT(e, t); } a(L0e, "_inherits"); function CT(e, t) { return CT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), CT(e, t); } a(CT, "_setPrototypeOf"); function B0e(e) { var t = U0e(); return /* @__PURE__ */ a(function() { var n = u_(e), i; if (t) { var s = u_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return M0e(this, i); }, "_createSuperInternal"); } a(B0e, "_createSuper"); function M0e(e, t) { return t && (o_(t) === "object" || typeof t == "function") ? t : q0e(e); } a(M0e, "_possibleConstructorReturn"); function q0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(q0e, "_assertThisInitialized"); function U0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(U0e, "_isNativeReflectConstruct"); function u_(e) { return u_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), u_(e); } a(u_, "_getPrototypeOf"); var V0e, F5; F5 = Wa(); I5.exports = V0e = /* @__PURE__ */ function(e) { L0e(r, e); var t = B0e(r); function r() { return N0e(this, r), t.apply(this, arguments); } return a(r, "PaddingBottom"), r; }(F5); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/declarationBlock/Padding.js var B5 = y((BWe, L5) => { "use strict"; function l_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? l_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : l_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), l_(e); } a(l_, "_typeof"); function H0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(H0e, "_classCallCheck"); function N5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(N5, "_defineProperties"); function j0e(e, t, r) { return t && N5(e.prototype, t), r && N5(e, r), e; } a(j0e, "_createClass"); function G0e(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && OT(e, t); } a(G0e, "_inherits"); function OT(e, t) { return OT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), OT(e, t); } a(OT, "_setPrototypeOf"); function z0e(e) { var t = $0e(); return /* @__PURE__ */ a(function() { var n = c_(e), i; if (t) { var s = c_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return K0e(this, i); }, "_createSuperInternal"); } a(z0e, "_createSuper"); function K0e(e, t) { return t && (l_(t) === "object" || typeof t == "function") ? t : W0e(e); } a(K0e, "_possibleConstructorReturn"); function W0e(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(W0e, "_assertThisInitialized"); function $0e() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a($0e, "_isNativeReflectConstruct"); function c_(e) { return c_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), c_(e); } a(c_, "_getPrototypeOf"); var X0e, Y0e, Q0e, Z0e, Hh, jh; jh = fo(); Hh = ET(); Q0e = TT(); Z0e = xT(); Y0e = wT(); L5.exports = X0e = function() { var e, t = /* @__PURE__ */ function(r) { G0e(i, r); var n = z0e(i); function i() { return H0e(this, i), n.apply(this, arguments); } return a(i, "Padding"), j0e(i, null, [{ key: "setOnto", value: /* @__PURE__ */ a(function(o, u, l) { var c, f, d; if (c = "", f = jh.sanitizeValue(l), jh.importantClauseRx.test(String(f)) && (c = " !important", f = f.replace(jh.importantClauseRx, "")), f = f.trim(), f.length === 0) return e._setAllDirections(o, c, c, c, c); if (d = f.split(" ").map(function(g) { return g + c; }), d.length === 1) return e._setAllDirections(o, d[0], d[0], d[0], d[0]); if (d.length === 2) return e._setAllDirections(o, d[0], d[1], d[0], d[1]); if (d.length === 3) return e._setAllDirections(o, d[0], d[1], d[2], d[1]); if (d.length === 4) return e._setAllDirections(o, d[0], d[1], d[2], d[3]); throw Error("Can't understand value for padding: `".concat(l, "`")); }, "setOnto") }, { key: "_setAllDirections", value: /* @__PURE__ */ a(function(o, u, l, c, f) { Hh.setOnto(o, "paddingTop", u), Hh.setOnto(o, "paddingRight", l), Hh.setOnto(o, "paddingBottom", c), Hh.setOnto(o, "paddingLeft", f); }, "_setAllDirections") }]), i; }(jh); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/DeclarationBlock.js var H5 = y((qWe, V5) => { "use strict"; function f_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? f_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : f_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), f_(e); } a(f_, "_typeof"); function J0e(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(J0e, "_classCallCheck"); function M5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(M5, "_defineProperties"); function eSe(e, t, r) { return t && M5(e.prototype, t), r && M5(e, r), e; } a(eSe, "_createClass"); var q5, tSe, U5; V5.exports = tSe = function() { var e, t = /* @__PURE__ */ function() { function r() { J0e(this, r), this._declarations = {}; } return a(r, "DeclarationBlock"), eSe(r, [{ key: "set", value: /* @__PURE__ */ a(function(i, s) { var o, u; if (f_(i) === "object") { for (o in i) u = i[o], this.set(o, u); return this; } return i = e.sanitizeProp(i), this._getDeclarationClass(i).setOnto(this._declarations, i, s), this; }, "set") }, { key: "_getDeclarationClass", value: /* @__PURE__ */ a(function(i) { var s; if (i[0] === "_") return q5; if (!(s = U5[i])) throw Error("Unknown property `".concat(i, "`. Write it as `_").concat(i, "` if you're defining a custom property")); return s; }, "_getDeclarationClass") }], [{ key: "sanitizeProp", value: /* @__PURE__ */ a(function(i) { return String(i).trim(); }, "sanitizeProp") }]), r; }(); return e = t, t; }.call(void 0); q5 = K8(); U5 = { color: X8(), background: Z8(), width: i5(), height: o5(), bullet: f5(), display: m5(), margin: x5(), marginTop: pT(), marginLeft: mT(), marginRight: _T(), marginBottom: bT(), padding: B5(), paddingTop: ET(), paddingLeft: TT(), paddingRight: xT(), paddingBottom: wT() }; }); // ../node_modules/renderkid/lib/renderKid/styles/Rule.js var W5 = y((VWe, K5) => { "use strict"; function rSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(rSe, "_classCallCheck"); function j5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(j5, "_defineProperties"); function nSe(e, t, r) { return t && j5(e.prototype, t), r && j5(e, r), e; } a(nSe, "_createClass"); var G5, iSe, z5; z5 = V8(); G5 = H5(); K5.exports = iSe = /* @__PURE__ */ function() { function e(t) { rSe(this, e), this.selector = new z5(t), this.styles = new G5(); } return a(e, "Rule"), nSe(e, [{ key: "setStyles", value: /* @__PURE__ */ a(function(r) { return this.styles.set(r), this; }, "setStyles") }]), e; }(); }); // ../node_modules/renderkid/lib/renderKid/styles/StyleSheet.js var Q5 = y((jWe, Y5) => { "use strict"; function h_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? h_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : h_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), h_(e); } a(h_, "_typeof"); function aSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(aSe, "_classCallCheck"); function $5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a($5, "_defineProperties"); function sSe(e, t, r) { return t && $5(e.prototype, t), r && $5(e, r), e; } a(sSe, "_createClass"); var X5, oSe; X5 = W5(); Y5.exports = oSe = function() { var e, t = /* @__PURE__ */ function() { function r() { aSe(this, r), this._rulesBySelector = {}; } return a(r, "StyleSheet"), sSe(r, [{ key: "setRule", value: /* @__PURE__ */ a(function(i, s) { var o, u; if (typeof i == "string") this._setRule(i, s); else if (h_(i) === "object") for (o in i) u = i[o], this._setRule(o, u); return this; }, "setRule") }, { key: "_setRule", value: /* @__PURE__ */ a(function(i, s) { var o, u, l, c; for (l = e.splitSelectors(i), o = 0, u = l.length; o < u; o++) c = l[o], this._setSingleRule(c, s); return this; }, "_setRule") }, { key: "_setSingleRule", value: /* @__PURE__ */ a(function(i, s) { var o, u; return u = e.normalizeSelector(i), (o = this._rulesBySelector[u]) || (o = new X5(u), this._rulesBySelector[u] = o), o.setStyles(s), this; }, "_setSingleRule") }, { key: "getRulesFor", value: /* @__PURE__ */ a(function(i) { var s, o, u, l; u = [], s = this._rulesBySelector; for (l in s) o = s[l], o.selector.matches(i) && u.push(o); return u; }, "getRulesFor") }], [{ key: "normalizeSelector", value: /* @__PURE__ */ a(function(i) { return i.replace(/[\s]+/g, " ").replace(/[\s]*([>\,\+]{1})[\s]*/g, "$1").trim(); }, "normalizeSelector") }, { key: "splitSelectors", value: /* @__PURE__ */ a(function(i) { return i.trim().split(","); }, "splitSelectors") }]), r; }(); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/styles/rule/MixedDeclarationSet.js var e9 = y((zWe, J5) => { "use strict"; function uSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(uSe, "_classCallCheck"); function Z5(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(Z5, "_defineProperties"); function lSe(e, t, r) { return t && Z5(e.prototype, t), r && Z5(e, r), e; } a(lSe, "_createClass"); var cSe; J5.exports = cSe = function() { var e, t = /* @__PURE__ */ function() { function r() { uSe(this, r), this._declarations = {}; } return a(r, "MixedDeclarationSet"), lSe(r, [{ key: "mixWithList", value: /* @__PURE__ */ a(function(i) { var s, o, u; for (i.sort(function(l, c) { return l.selector.priority > c.selector.priority; }), s = 0, o = i.length; s < o; s++) u = i[s], this._mixWithRule(u); return this; }, "mixWithList") }, { key: "_mixWithRule", value: /* @__PURE__ */ a(function(i) { var s, o, u; u = i.styles._declarations; for (o in u) s = u[o], this._mixWithDeclaration(s); }, "_mixWithRule") }, { key: "_mixWithDeclaration", value: /* @__PURE__ */ a(function(i) { var s; s = this._declarations[i.prop], !(s != null && s.important && !i.important) && (this._declarations[i.prop] = i); }, "_mixWithDeclaration") }, { key: "get", value: /* @__PURE__ */ a(function(i) { return i == null ? this._declarations : this._declarations[i] == null ? null : this._declarations[i].val; }, "get") }, { key: "toObject", value: /* @__PURE__ */ a(function() { var i, s, o, u; s = {}, u = this._declarations; for (o in u) i = u[o], s[o] = i.val; return s; }, "toObject") }], [{ key: "mix", value: /* @__PURE__ */ a(function() { var i, s, o, u; o = new e(); for (var l = arguments.length, c = new Array(l), f = 0; f < l; f++) c[f] = arguments[f]; for (i = 0, s = c.length; i < s; i++) u = c[i], o.mixWithList(u); return o; }, "mix") }]), r; }(); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/renderKid/Styles.js var a9 = y((WWe, i9) => { "use strict"; function fSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(fSe, "_classCallCheck"); function t9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(t9, "_defineProperties"); function hSe(e, t, r) { return t && t9(e.prototype, t), r && t9(e, r), e; } a(hSe, "_createClass"); var r9, RT, pSe, n9; RT = Q5(); r9 = e9(); n9 = vi().getCols(); i9.exports = pSe = function() { var e, t = /* @__PURE__ */ function() { function r() { fSe(this, r), this._defaultStyles = new RT(), this._userStyles = new RT(), this._setDefaultStyles(); } return a(r, "Styles"), hSe(r, [{ key: "_setDefaultStyles", value: /* @__PURE__ */ a(function() { this._defaultStyles.setRule(e.defaultRules); }, "_setDefaultStyles") }, { key: "setRule", value: /* @__PURE__ */ a(function(i, s) { return this._userStyles.setRule.apply(this._userStyles, arguments), this; }, "setRule") }, { key: "getStyleFor", value: /* @__PURE__ */ a(function(i) { var s; return s = i.styles, s == null && (i.styles = s = this._getComputedStyleFor(i)), s; }, "getStyleFor") }, { key: "_getRawStyleFor", value: /* @__PURE__ */ a(function(i) { var s, o; return s = this._defaultStyles.getRulesFor(i), o = this._userStyles.getRulesFor(i), r9.mix(s, o).toObject(); }, "_getRawStyleFor") }, { key: "_getComputedStyleFor", value: /* @__PURE__ */ a(function(i) { var s, o, u, l, c; s = {}, o = i.parent, l = this._getRawStyleFor(i); for (u in l) if (c = l[u], c !== "inherit") s[u] = c; else throw Error("Inherited styles are not supported yet."); return s; }, "_getComputedStyleFor") }]), r; }(); return e = t, t.defaultRules = { "*": { display: "inline" }, body: { background: "none", color: "white", display: "block", width: n9 + " !important" } }, t; }.call(void 0); }); // ../node_modules/renderkid/lib/layout/SpecialString.js var d_ = y((XWe, l9) => { "use strict"; function dSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(dSe, "_classCallCheck"); function s9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(s9, "_defineProperties"); function mSe(e, t, r) { return t && s9(e.prototype, t), r && s9(e, r), e; } a(mSe, "_createClass"); var u9, p_, o9, Gh, kT; l9.exports = u9 = function() { var e, t = /* @__PURE__ */ function() { function r(n) { if (dSe(this, r), !(this instanceof e)) return new e(n); this._str = String(n), this._len = 0; } return a(r, "SpecialString"), mSe(r, [{ key: "_getStr", value: /* @__PURE__ */ a(function() { return this._str; }, "_getStr") }, { key: "set", value: /* @__PURE__ */ a(function(i) { return this._str = String(i), this; }, "set") }, { key: "clone", value: /* @__PURE__ */ a(function() { return new r(this._str); }, "clone") }, { key: "isEmpty", value: /* @__PURE__ */ a(function() { return this._str === ""; }, "isEmpty") }, { key: "isOnlySpecialChars", value: /* @__PURE__ */ a(function() { return !this.isEmpty() && this.length === 0; }, "isOnlySpecialChars") }, { key: "_reset", value: /* @__PURE__ */ a(function() { return this._len = 0; }, "_reset") }, { key: "splitIn", value: /* @__PURE__ */ a(function(i) { var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, o, u, l, c; return o = "", u = 0, c = [], l = !1, e._countChars(this._str, function(f, d) { return (u > i || u + d > i) && (c.push(o), o = "", u = 0), u === 0 && f === " " && !l && s ? l = !0 : (o += f, u += d, l = !1); }), o.length > 0 && c.push(o), c; }, "splitIn") }, { key: "trim", value: /* @__PURE__ */ a(function() { return new r(this.str.trim()); }, "trim") }, { key: "_getLength", value: /* @__PURE__ */ a(function() { var i; return i = 0, e._countChars(this._str, function(s, o) { i += o; }), i; }, "_getLength") }, { key: "cut", value: /* @__PURE__ */ a(function(i, s) { var o = this, u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, l, c, f, d; if (s == null && (s = this.length), i = parseInt(i), i >= s) throw Error("`from` shouldn't be larger than `to`"); return c = "", l = "", d = "", f = 0, e._countChars(this._str, function(g, b) { o.str === "ab" && console.log(b, g), !(f === i && g.match(/^\s+$/) && u) && (f < i ? c += g : f < s || f + b <= s ? d += g : l += g, f += b); }), this._str = c + l, this._reset(), new r(d); }, "cut") }], [{ key: "_countChars", value: /* @__PURE__ */ a(function(i, s) { for (var o, u, l; i.length !== 0; ) (l = i.match(e._tagRx)) ? (o = l[0], u = 0, i = i.substr(o.length, i.length)) : (l = i.match(e._quotedHtmlRx)) ? (o = l[0], u = 1, i = i.substr(o.length, i.length)) : i.match(e._tabRx) ? (o = " ", u = 8, i = i.substr(1, i.length)) : (o = i[0], u = 1, i = i.substr( 1, i.length)), s.call(null, o, u); }, "_countChars") }]), r; }(); return e = t, t._tabRx = /^\t/, t._tagRx = /^<[^>]+>/, t._quotedHtmlRx = /^&(gt|lt|quot|amp|apos|sp);/, t; }.call(void 0); kT = ["str", "length"]; for (p_ = 0, o9 = kT.length; p_ < o9; p_++) Gh = kT[p_], function() { var e; return e = "_get" + Gh[0].toUpperCase() + Gh.substr(1, Gh.length), u9.prototype.__defineGetter__(Gh, function() { return this[e](); }); }(); }); // ../node_modules/renderkid/lib/layout/block/blockPrependor/_BlockPrependor.js var h9 = y((QWe, f9) => { "use strict"; function gSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(gSe, "_classCallCheck"); function c9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(c9, "_defineProperties"); function _Se(e, t, r) { return t && c9(e.prototype, t), r && c9(e, r), e; } a(_Se, "_createClass"); var vSe; f9.exports = vSe = /* @__PURE__ */ function() { function e(t) { gSe(this, e), this._config = t; } return a(e, "_BlockPrependor"), _Se(e, [{ key: "render", value: /* @__PURE__ */ a(function(r) { return this._render(r); }, "render") }]), e; }(); }); // ../node_modules/renderkid/lib/layout/block/blockPrependor/Default.js var g9 = y((JWe, m9) => { "use strict"; function m_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? m_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : m_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), m_(e); } a(m_, "_typeof"); function bSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(bSe, "_classCallCheck"); function p9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(p9, "_defineProperties"); function ySe(e, t, r) { return t && p9(e.prototype, t), r && p9(e, r), e; } a(ySe, "_createClass"); function SSe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && PT(e, t); } a(SSe, "_inherits"); function PT(e, t) { return PT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), PT(e, t); } a(PT, "_setPrototypeOf"); function ESe(e) { var t = DSe(); return /* @__PURE__ */ a(function() { var n = g_(e), i; if (t) { var s = g_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return ASe(this, i); }, "_createSuperInternal"); } a(ESe, "_createSuper"); function ASe(e, t) { return t && (m_(t) === "object" || typeof t == "function") ? t : TSe(e); } a(ASe, "_possibleConstructorReturn"); function TSe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(TSe, "_assertThisInitialized"); function DSe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(DSe, "_isNativeReflectConstruct"); function g_(e) { return g_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), g_(e); } a(g_, "_getPrototypeOf"); var xSe, d9; d9 = vi(); m9.exports = xSe = /* @__PURE__ */ function(e) { SSe(r, e); var t = ESe(r); function r() { return bSe(this, r), t.apply(this, arguments); } return a(r, "DefaultBlockPrependor"), ySe(r, [{ key: "_render", value: /* @__PURE__ */ a(function(i) { return d9.repeatString(` `, this._config.amount); }, "_render") }]), r; }(h9()); }); // ../node_modules/renderkid/lib/layout/block/blockAppendor/_BlockAppendor.js var b9 = y((t$e, v9) => { "use strict"; function CSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(CSe, "_classCallCheck"); function _9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(_9, "_defineProperties"); function wSe(e, t, r) { return t && _9(e.prototype, t), r && _9(e, r), e; } a(wSe, "_createClass"); var OSe; v9.exports = OSe = /* @__PURE__ */ function() { function e(t) { CSe(this, e), this._config = t; } return a(e, "_BlockAppendor"), wSe(e, [{ key: "render", value: /* @__PURE__ */ a(function(r) { return this._render(r); }, "render") }]), e; }(); }); // ../node_modules/renderkid/lib/layout/block/blockAppendor/Default.js var A9 = y((n$e, E9) => { "use strict"; function __(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? __ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : __ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), __(e); } a(__, "_typeof"); function RSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(RSe, "_classCallCheck"); function y9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(y9, "_defineProperties"); function kSe(e, t, r) { return t && y9(e.prototype, t), r && y9(e, r), e; } a(kSe, "_createClass"); function PSe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && FT(e, t); } a(PSe, "_inherits"); function FT(e, t) { return FT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), FT(e, t); } a(FT, "_setPrototypeOf"); function FSe(e) { var t = LSe(); return /* @__PURE__ */ a(function() { var n = v_(e), i; if (t) { var s = v_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return ISe(this, i); }, "_createSuperInternal"); } a(FSe, "_createSuper"); function ISe(e, t) { return t && (__(t) === "object" || typeof t == "function") ? t : NSe(e); } a(ISe, "_possibleConstructorReturn"); function NSe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(NSe, "_assertThisInitialized"); function LSe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(LSe, "_isNativeReflectConstruct"); function v_(e) { return v_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), v_(e); } a(v_, "_getPrototypeOf"); var BSe, S9; S9 = vi(); E9.exports = BSe = /* @__PURE__ */ function(e) { PSe(r, e); var t = FSe(r); function r() { return RSe(this, r), t.apply(this, arguments); } return a(r, "DefaultBlockAppendor"), kSe(r, [{ key: "_render", value: /* @__PURE__ */ a(function(i) { return S9.repeatString(` `, this._config.amount); }, "_render") }]), r; }(b9()); }); // ../node_modules/renderkid/lib/layout/block/linePrependor/_LinePrependor.js var x9 = y((a$e, D9) => { "use strict"; function MSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(MSe, "_classCallCheck"); function T9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(T9, "_defineProperties"); function qSe(e, t, r) { return t && T9(e.prototype, t), r && T9(e, r), e; } a(qSe, "_createClass"); var USe; D9.exports = USe = /* @__PURE__ */ function() { function e(t) { MSe(this, e), this._config = t, this._lineNo = -1; } return a(e, "_LinePrependor"), qSe(e, [{ key: "render", value: /* @__PURE__ */ a(function(r, n) { return this._lineNo++, "" + this._render(r, n) + ""; }, "render") }]), e; }(); }); // ../node_modules/renderkid/lib/layout/block/linePrependor/Default.js var k9 = y((o$e, R9) => { "use strict"; function b_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? b_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : b_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), b_(e); } a(b_, "_typeof"); function VSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(VSe, "_classCallCheck"); function C9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(C9, "_defineProperties"); function HSe(e, t, r) { return t && C9(e.prototype, t), r && C9(e, r), e; } a(HSe, "_createClass"); function jSe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && IT(e, t); } a(jSe, "_inherits"); function IT(e, t) { return IT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), IT(e, t); } a(IT, "_setPrototypeOf"); function GSe(e) { var t = WSe(); return /* @__PURE__ */ a(function() { var n = y_(e), i; if (t) { var s = y_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return zSe(this, i); }, "_createSuperInternal"); } a(GSe, "_createSuper"); function zSe(e, t) { return t && (b_(t) === "object" || typeof t == "function") ? t : KSe(e); } a(zSe, "_possibleConstructorReturn"); function KSe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(KSe, "_assertThisInitialized"); function WSe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(WSe, "_isNativeReflectConstruct"); function y_(e) { return y_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), y_(e); } a(y_, "_getPrototypeOf"); var $Se, w9, O9; O9 = vi(); w9 = d_(); R9.exports = $Se = function() { var e, t = /* @__PURE__ */ function(r) { jSe(i, r); var n = GSe(i); function i() { return VSe(this, i), n.apply(this, arguments); } return a(i, "DefaultLinePrependor"), HSe(i, [{ key: "_render", value: /* @__PURE__ */ a(function(o, u) { var l, c, f, d, g, b, _, T, p, h, S; if (this._lineNo === 0 && (d = this._config.bullet)) { if (g = d.char, b = new w9(g).length, f = d.alignment, h = this._config.amount, S = g, l = "", c = "", h > b) if (_ = h - b, f === "right") l = e.pad(_); else if (f === "left") c = e.pad(_); else if (f === "center") T = Math.round(_ / 2), l = e.pad(T), c = e.pad(_ - T); else throw Error("Unknown alignment `".concat(f, "`")); p = l + g + c; } else p = e.pad(this._config.amount); return o + p; }, "_render") }], [{ key: "pad", value: /* @__PURE__ */ a(function(o) { return O9.repeatString(" ", o); }, "pad") }]), i; }(x9()); return e = t, t; }.call(void 0); }); // ../node_modules/renderkid/lib/layout/block/lineAppendor/_LineAppendor.js var I9 = y((l$e, F9) => { "use strict"; function XSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(XSe, "_classCallCheck"); function P9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(P9, "_defineProperties"); function YSe(e, t, r) { return t && P9(e.prototype, t), r && P9(e, r), e; } a(YSe, "_createClass"); var QSe; F9.exports = QSe = /* @__PURE__ */ function() { function e(t) { XSe(this, e), this._config = t, this._lineNo = 0; } return a(e, "_LineAppendor"), YSe(e, [{ key: "render", value: /* @__PURE__ */ a(function(r, n) { return this._lineNo++, "" + this._render(r, n) + ""; }, "render") }]), e; }(); }); // ../node_modules/renderkid/lib/layout/block/lineAppendor/Default.js var M9 = y((f$e, B9) => { "use strict"; function S_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? S_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : S_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), S_(e); } a(S_, "_typeof"); function ZSe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(ZSe, "_classCallCheck"); function N9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(N9, "_defineProperties"); function JSe(e, t, r) { return t && N9(e.prototype, t), r && N9(e, r), e; } a(JSe, "_createClass"); function eEe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && NT(e, t); } a(eEe, "_inherits"); function NT(e, t) { return NT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), NT(e, t); } a(NT, "_setPrototypeOf"); function tEe(e) { var t = iEe(); return /* @__PURE__ */ a(function() { var n = E_(e), i; if (t) { var s = E_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return rEe(this, i); }, "_createSuperInternal"); } a(tEe, "_createSuper"); function rEe(e, t) { return t && (S_(t) === "object" || typeof t == "function") ? t : nEe(e); } a(rEe, "_possibleConstructorReturn"); function nEe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(nEe, "_assertThisInitialized"); function iEe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(iEe, "_isNativeReflectConstruct"); function E_(e) { return E_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), E_(e); } a(E_, "_getPrototypeOf"); var aEe, L9; L9 = vi(); B9.exports = aEe = /* @__PURE__ */ function(e) { eEe(r, e); var t = tEe(r); function r() { return ZSe(this, r), t.apply(this, arguments); } return a(r, "DefaultLineAppendor"), JSe(r, [{ key: "_render", value: /* @__PURE__ */ a(function(i, s) { return i + L9.repeatString(" ", this._config.amount); }, "_render") }]), r; }(I9()); }); // ../node_modules/renderkid/lib/layout/block/lineWrapper/_LineWrapper.js var V9 = y((p$e, U9) => { "use strict"; function sEe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(sEe, "_classCallCheck"); function q9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(q9, "_defineProperties"); function oEe(e, t, r) { return t && q9(e.prototype, t), r && q9(e, r), e; } a(oEe, "_createClass"); var uEe; U9.exports = uEe = /* @__PURE__ */ function() { function e() { sEe(this, e); } return a(e, "_LineWrapper"), oEe(e, [{ key: "render", value: /* @__PURE__ */ a(function(r, n) { return this._render(r, n); }, "render") }]), e; }(); }); // ../node_modules/renderkid/lib/layout/block/lineWrapper/Default.js var G9 = y((m$e, j9) => { "use strict"; function A_(e) { "@babel/helpers - typeof"; return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? A_ = /* @__PURE__ */ a(function(r) { return typeof r; }, "_typeof") : A_ = /* @__PURE__ */ a(function(r) { return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r; }, "_typeof"), A_(e); } a(A_, "_typeof"); function lEe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(lEe, "_classCallCheck"); function H9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(H9, "_defineProperties"); function cEe(e, t, r) { return t && H9(e.prototype, t), r && H9(e, r), e; } a(cEe, "_createClass"); function fEe(e, t) { if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && LT(e, t); } a(fEe, "_inherits"); function LT(e, t) { return LT = Object.setPrototypeOf || /* @__PURE__ */ a(function(n, i) { return n.__proto__ = i, n; }, "_setPrototypeOf"), LT(e, t); } a(LT, "_setPrototypeOf"); function hEe(e) { var t = mEe(); return /* @__PURE__ */ a(function() { var n = T_(e), i; if (t) { var s = T_(this).constructor; i = Reflect.construct(n, arguments, s); } else i = n.apply(this, arguments); return pEe(this, i); }, "_createSuperInternal"); } a(hEe, "_createSuper"); function pEe(e, t) { return t && (A_(t) === "object" || typeof t == "function") ? t : dEe(e); } a(pEe, "_possibleConstructorReturn"); function dEe(e) { if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; } a(dEe, "_assertThisInitialized"); function mEe() { if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1; if (typeof Proxy == "function") return !0; try { return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() { })), !0; } catch { return !1; } } a(mEe, "_isNativeReflectConstruct"); function T_(e) { return T_ = Object.setPrototypeOf ? Object.getPrototypeOf : /* @__PURE__ */ a(function(r) { return r.__proto__ || Object.getPrototypeOf(r); }, "_getPrototypeOf"), T_(e); } a(T_, "_getPrototypeOf"); var gEe; j9.exports = gEe = /* @__PURE__ */ function(e) { fEe(r, e); var t = hEe(r); function r() { return lEe(this, r), t.apply(this, arguments); } return a(r, "DefaultLineWrapper"), cEe(r, [{ key: "_render", value: /* @__PURE__ */ a(function() { }, "_render") }]), r; }(V9()); }); // ../node_modules/renderkid/lib/layout/Block.js var X9 = y((_$e, $9) => { "use strict"; function _Ee(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(_Ee, "_classCallCheck"); function z9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(z9, "_defineProperties"); function vEe(e, t, r) { return t && z9(e.prototype, t), r && z9(e, r), e; } a(vEe, "_createClass"); var bEe, zh, K9, W9; zh = d_(); W9 = vi().getCols(); var yEe = vi(); K9 = yEe.cloneAndMergeDeep; $9.exports = bEe = function() { var e, t = /* @__PURE__ */ function() { function r(n, i) { var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ""; _Ee(this, r), this._layout = n, this._parent = i, this._name = o, this._config = K9(e.defaultConfig, s), this._closed = !1, this._wasOpenOnce = !1, this._active = !1, this._buffer = "", this._didSeparateBlock = !1, this._linePrependor = new this._config.linePrependor.fn(this. _config.linePrependor.options), this._lineAppendor = new this._config.lineAppendor.fn(this._config.lineAppendor.options), this._blockPrependor = new this._config.blockPrependor.fn(this._config.blockPrependor.options), this._blockAppendor = new this._config.blockAppendor.fn(this. _config.blockAppendor.options); } return a(r, "Block"), vEe(r, [{ key: "_activate", value: /* @__PURE__ */ a(function() { var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0; if (this._active) throw Error("This block is already active. This is probably a bug in RenderKid itself"); if (this._closed) throw Error("This block is closed and cannot be activated. This is probably a bug in RenderKid itself"); return this._active = !0, this._layout._activeBlock = this, i && this._parent != null && this._parent._deactivate(!1), this; }, "_activate") }, { key: "_deactivate", value: /* @__PURE__ */ a(function() { var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0; return this._ensureActive(), this._flushBuffer(), i && this._parent != null && this._parent._activate(!1), this._active = !1, this; }, "_deactivate") }, { key: "_ensureActive", value: /* @__PURE__ */ a(function() { if (!this._wasOpenOnce) throw Error("This block has never been open before. This is probably a bug in RenderKid itself."); if (!this._active) throw Error("This block is not active. This is probably a bug in RenderKid itself."); if (this._closed) throw Error("This block is already closed. This is probably a bug in RenderKid itself."); }, "_ensureActive") }, { key: "_open", value: /* @__PURE__ */ a(function() { if (this._wasOpenOnce) throw Error("Block._open() has been called twice. This is probably a RenderKid bug."); return this._wasOpenOnce = !0, this._parent != null && this._parent.write(this._whatToPrependToBlock()), this._activate(), this; }, "_open") }, { key: "close", value: /* @__PURE__ */ a(function() { return this._deactivate(), this._closed = !0, this._parent != null && this._parent.write(this._whatToAppendToBlock()), this; }, "close") }, { key: "isOpen", value: /* @__PURE__ */ a(function() { return this._wasOpenOnce && !this._closed; }, "isOpen") }, { key: "write", value: /* @__PURE__ */ a(function(i) { if (this._ensureActive(), i !== "") return i = String(i), this._buffer += i, this; }, "write") }, { key: "openBlock", value: /* @__PURE__ */ a(function(i, s) { var o; return this._ensureActive(), o = new r(this._layout, this, i, s), o._open(), o; }, "openBlock") }, { key: "_flushBuffer", value: /* @__PURE__ */ a(function() { var i; this._buffer !== "" && (i = this._buffer, this._buffer = "", this._writeInline(i)); }, "_flushBuffer") }, { key: "_toPrependToLine", value: /* @__PURE__ */ a(function() { var i; return i = "", this._parent != null && (i = this._parent._toPrependToLine()), this._linePrependor.render(i); }, "_toPrependToLine") }, { key: "_toAppendToLine", value: /* @__PURE__ */ a(function() { var i; return i = "", this._parent != null && (i = this._parent._toAppendToLine()), this._lineAppendor.render(i); }, "_toAppendToLine") }, { key: "_whatToPrependToBlock", value: /* @__PURE__ */ a(function() { return this._blockPrependor.render(); }, "_whatToPrependToBlock") }, { key: "_whatToAppendToBlock", value: /* @__PURE__ */ a(function() { return this._blockAppendor.render(); }, "_whatToAppendToBlock") }, { key: "_writeInline", value: /* @__PURE__ */ a(function(i) { var s, o, u, l, c, f, d, g, b, _; if (new zh(i).isOnlySpecialChars()) { this._layout._append(i); return; } if (_ = i, c = 0, f = _.match(/^\n+/)) { for (s = o = 1, d = f[0].length; 1 <= d ? o <= d : o >= d; s = 1 <= d ? ++o : --o) this._writeLine(""); _ = _.substr(f[0].length, _.length); } for ((f = _.match(/\n+$/)) && (c = f[0].length, _ = _.substr(0, _.length - f[0].length)); _.length > 0; ) if (f = _.match(/^[^\n]+/)) this._writeLine(f[0]), _ = _.substr(f[0].length, _.length); else if (f = _.match(/^\n+/)) { for (s = u = 1, g = f[0].length; 1 <= g ? u < g : u > g; s = 1 <= g ? ++u : --u) this._writeLine(""); _ = _.substr(f[0].length, _.length); } if (c > 0) for (s = l = 1, b = c; 1 <= b ? l <= b : l >= b; s = 1 <= b ? ++l : --l) this._writeLine(""); }, "_writeInline") // wraps a line into multiple lines if necessary, adds horizontal margins, // etc, and appends it to the layout. }, { key: "_writeLine", value: /* @__PURE__ */ a(function(i) { var s, o, u, l, c, f, d, g, b; for (l = new zh(i); g = this._toPrependToLine(), b = new zh(g).length, f = this._toAppendToLine(), d = new zh(f).length, c = this. _layout._config.terminalWidth - (b + d), u = Math.min(this._config.width, c), o = l.cut(0, u, !0), s = g + o.str + f, this._layout. _appendLine(s), !l.isEmpty(); ) ; }, "_writeLine") }]), r; }(); return e = t, t.defaultConfig = { blockPrependor: { fn: g9(), options: { amount: 0 } }, blockAppendor: { fn: A9(), options: { amount: 0 } }, linePrependor: { fn: k9(), options: { amount: 0 } }, lineAppendor: { fn: M9(), options: { amount: 0 } }, lineWrapper: { fn: G9(), options: { lineWidth: null } }, width: W9, prefixRaw: "", suffixRaw: "" }, t; }.call(void 0); }); // ../node_modules/renderkid/lib/Layout.js var i6 = y((b$e, n6) => { "use strict"; function SEe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(SEe, "_classCallCheck"); function Y9(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(Y9, "_defineProperties"); function EEe(e, t, r) { return t && Y9(e.prototype, t), r && Y9(e, r), e; } a(EEe, "_createClass"); var J9, e6, t6, BT, D_, Q9, Z9, MT, r6; J9 = X9(); var AEe = vi(); BT = AEe.cloneAndMergeDeep; t6 = d_(); r6 = vi().getCols(); n6.exports = e6 = function() { var e, t = /* @__PURE__ */ function() { function r() { var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; SEe(this, r); var s; this._written = [], this._activeBlock = null, this._config = BT(e._defaultConfig, n), s = BT(e._rootBlockDefaultConfig, i), this._root = new J9(this, null, s, "__root"), this._root._open(); } return a(r, "Layout"), EEe(r, [{ key: "getRootBlock", value: /* @__PURE__ */ a(function() { return this._root; }, "getRootBlock") }, { key: "_append", value: /* @__PURE__ */ a(function(i) { return this._written.push(i); }, "_append") }, { key: "_appendLine", value: /* @__PURE__ */ a(function(i) { var s; return this._append(i), s = new t6(i), s.length < this._config.terminalWidth && this._append(` `), this; }, "_appendLine") }, { key: "get", value: /* @__PURE__ */ a(function() { return this._ensureClosed(), this._written[this._written.length - 1] === ` ` && this._written.pop(), this._written.join(""); }, "get") }, { key: "_ensureClosed", value: /* @__PURE__ */ a(function() { if (this._activeBlock !== this._root) throw Error("Not all the blocks have been closed. Please call block.close() on all open blocks."); this._root.isOpen() && this._root.close(); }, "_ensureClosed") }]), r; }(); return e = t, t._rootBlockDefaultConfig = { linePrependor: { options: { amount: 0 } }, lineAppendor: { options: { amount: 0 } }, blockPrependor: { options: { amount: 0 } }, blockAppendor: { options: { amount: 0 } } }, t._defaultConfig = { terminalWidth: r6 }, t; }.call(void 0); MT = ["openBlock", "write"]; for (D_ = 0, Q9 = MT.length; D_ < Q9; D_++) Z9 = MT[D_], function() { var e; return e = Z9, e6.prototype[e] = function() { return this._root[e].apply(this._root, arguments); }; }(); }); // ../node_modules/renderkid/node_modules/ansi-regex/index.js var s6 = y((S$e, a6) => { "use strict"; a6.exports = ({ onlyFirst: e = !1 } = {}) => { let t = [ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))" ].join("|"); return new RegExp(t, e ? void 0 : "g"); }; }); // ../node_modules/renderkid/node_modules/strip-ansi/index.js var u6 = y((E$e, o6) => { "use strict"; var TEe = s6(); o6.exports = (e) => typeof e == "string" ? e.replace(TEe(), "") : e; }); // ../node_modules/renderkid/lib/RenderKid.js var v6 = y((A$e, _6) => { "use strict"; function DEe(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } a(DEe, "_classCallCheck"); function l6(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } a(l6, "_defineProperties"); function xEe(e, t, r) { return t && l6(e.prototype, t), r && l6(e, r), e; } a(xEe, "_createClass"); var qT, UT, CEe, c6, f6, h6, p6, d6, m6, g6, Kh; p6 = WV(); f6 = XV(); d6 = Sh(); var wEe = vi(); h6 = wEe.cloneAndMergeDeep; qT = qA(); c6 = a9(); UT = i6(); Kh = vi(); m6 = u6(); g6 = vi().getCols(); _6.exports = CEe = function() { var e, t = /* @__PURE__ */ function() { function r() { var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; DEe(this, r), this.tools = e.tools, this._config = h6(e._defaultConfig, n), this._initStyles(); } return a(r, "RenderKid"), xEe(r, [{ key: "_initStyles", value: /* @__PURE__ */ a(function() { return this._styles = new c6(); }, "_initStyles") }, { key: "style", value: /* @__PURE__ */ a(function() { return this._styles.setRule.apply(this._styles, arguments); }, "style") }, { key: "_getStyleFor", value: /* @__PURE__ */ a(function(i) { return this._styles.getStyleFor(i); }, "_getStyleFor") }, { key: "render", value: /* @__PURE__ */ a(function(i) { var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; return this._paint(this._renderDom(this._toDom(i)), s); }, "render") }, { key: "_toDom", value: /* @__PURE__ */ a(function(i) { if (typeof i == "string") return this._parse(i); if (d6(i) || Array.isArray(i)) return this._objToDom(i); throw Error("Invalid input type. Only strings, arrays and objects are accepted"); }, "_toDom") }, { key: "_objToDom", value: /* @__PURE__ */ a(function(i) { var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; return s && (i = { body: i }), Kh.objectToDom(i); }, "_objToDom") }, { key: "_paint", value: /* @__PURE__ */ a(function(i, s) { var o; return o = qT.paint(i), s ? o : m6(o); }, "_paint") }, { key: "_parse", value: /* @__PURE__ */ a(function(i) { var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0; return s && (i = "" + i + ""), Kh.stringToDom(i); }, "_parse") }, { key: "_renderDom", value: /* @__PURE__ */ a(function(i) { var s, o, u; return s = i[0], o = new UT(this._config.layout), u = o.getRootBlock(), this._renderBlockNode(s, null, u), o.get(); }, "_renderDom") }, { key: "_renderChildrenOf", value: /* @__PURE__ */ a(function(i, s) { var o, u, l, c; for (c = i.children, o = 0, u = c.length; o < u; o++) l = c[o], this._renderNode(l, i, s); }, "_renderChildrenOf") }, { key: "_renderNode", value: /* @__PURE__ */ a(function(i, s, o) { if (i.type === "text") this._renderText(i, s, o); else if (i.name === "br") this._renderBr(i, s, o); else if (this._isBlock(i)) this._renderBlockNode(i, s, o); else { if (this._isNone(i)) return; this._renderInlineNode(i, s, o); } }, "_renderNode") }, { key: "_renderText", value: /* @__PURE__ */ a(function(i, s, o) { var u, l; if (l = i.data, l = l.replace(/\s+/g, " "), (s != null && (u = s.styles) != null ? u.display : void 0) !== "inline" && (l = l.trim()), l.length !== 0) return l = l.replace(/&nl;/g, ` `), o.write(l); }, "_renderText") }, { key: "_renderBlockNode", value: /* @__PURE__ */ a(function(i, s, o) { var u, l, c, f, d = f6.applyTo(i, this._getStyleFor(i)); return l = d.before, u = d.after, f = d.blockConfig, c = o.openBlock(f), l !== "" && c.write(l), this._renderChildrenOf(i, c), u !== "" && c.write(u), c.close(); }, "_renderBlockNode") }, { key: "_renderInlineNode", value: /* @__PURE__ */ a(function(i, s, o) { var u, l, c = p6.applyTo(i, this._getStyleFor(i)); if (l = c.before, u = c.after, l !== "" && o.write(l), this._renderChildrenOf(i, o), u !== "") return o.write(u); }, "_renderInlineNode") }, { key: "_renderBr", value: /* @__PURE__ */ a(function(i, s, o) { return o.write(` `); }, "_renderBr") }, { key: "_isBlock", value: /* @__PURE__ */ a(function(i) { return !(i.type === "text" || i.name === "br" || this._getStyleFor(i).display !== "block"); }, "_isBlock") }, { key: "_isNone", value: /* @__PURE__ */ a(function(i) { return !(i.type === "text" || i.name === "br" || this._getStyleFor(i).display !== "none"); }, "_isNone") }]), r; }(); return e = t, t.AnsiPainter = qT, t.Layout = UT, t.quote = Kh.quote, t.tools = Kh, t._defaultConfig = { layout: { terminalWidth: g6 } }, t; }.call(void 0); }); // ../node_modules/pretty-error/lib/PrettyError.js var C6 = y((D$e, x6) => { var HT, y6, S6, Qu, E6, Zu, A6, T6, jT, Wh, D6, x_, b6, GT, Ls = [].slice, VT = [].indexOf || function(e) { for (var t = 0, r = this.length; t < r; t++) if (t in this && this[t] === e) return t; return -1; }; A6 = Sh(); E6 = FB(); HT = MB(); jT = UB(); S6 = v6(); T6 = sg(); Qu = { pluckByCallback: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o; if (e.length < 1) return e; for (n = 0, r = s = 0, o = e.length; s < o; r = ++s) { if (i = e[r], t(i, r)) { n++; continue; } n !== 0 && (e[r - n] = e[r]); } return n > 0 && (e.length = e.length - n), e; }, "pluckByCallback"), pluckOneItem: /* @__PURE__ */ a(function(e, t) { var r, n, i, s, o; if (e.length < 1) return e; for (n = !1, r = s = 0, o = e.length; s < o; r = ++s) if (i = e[r], n) e[r - 1] = e[r]; else if (i === t) { n = !0; continue; } return n && (e.length = e.length - 1), e; }, "pluckOneItem") }; Zu = null; x6.exports = y6 = function() { var e; e = t, t._filters = { "module.exports": /* @__PURE__ */ a(function(r) { r.what != null && (r.what = r.what.replace(/\.module\.exports\./g, " - ")); }, "module.exports") }, t._getDefaultStyle = function() { return E6(); }, t.start = function() { return Zu == null && (Zu = new e(), Zu.start()), Zu; }, t.stop = function() { return Zu?.stop(); }; function t() { this._useColors = !0, this._maxItems = 50, this._packagesToSkip = [], this._pathsToSkip = [], this._skipCallbacks = [], this._filterCallbacks = [], this._parsedErrorFilters = [], this._aliases = [], this._renderer = new S6(), this._style = e._getDefaultStyle(), this._renderer.style( this._style); } return a(t, "PrettyError"), t.prototype.start = function() { var r; return this._oldPrepareStackTrace = Error.prepareStackTrace, r = this._oldPrepareStackTrace || function(n, i) { var s; return s = n.toString(), i = i.map(function(o) { return " at " + o.toString(); }), s + ` ` + i.join(` `); }, Error.prepareStackTrace = /* @__PURE__ */ function(n) { return function(i, s) { var o; return o = r.apply(null, arguments), n.render({ stack: o, message: i.toString().replace(/^.*: /, "") }, !1); }; }(this), this; }, t.prototype.stop = function() { return Error.prepareStackTrace = this._oldPrepareStackTrace, this._oldPrepareStackTrace = null; }, t.prototype.config = function(r) { var n, i, s; if (r.skipPackages != null && (r.skipPackages === !1 ? this.unskipAllPackages() : this.skipPackage.apply(this, r.skipPackages)), r.skipPaths != null && (r.skipPaths === !1 ? this.unskipAllPaths() : this.skipPath.apply(this, r.skipPaths)), r.skip != null && (r.skip === !1 ? this. unskipAll() : this.skip.apply(this, r.skip)), r.maxItems != null && this.setMaxItems(r.maxItems), r.skipNodeFiles === !0 ? this.skipNodeFiles() : r.skipNodeFiles === !1 && this.unskipNodeFiles(), r.filters != null && (r.filters === !1 ? this.removeAllFilters() : this.filter.apply( this, r.filters)), r.parsedErrorFilters != null && (r.parsedErrorFilters === !1 ? this.removeAllParsedErrorFilters() : this.filterParsedError. apply(this, r.parsedErrorFilters)), r.aliases != null) if (A6(r.aliases)) { s = r.aliases; for (i in s) n = s[i], this.alias(i, n); } else r.aliases === !1 && this.removeAllAliases(); return this; }, t.prototype.withoutColors = function() { return this._useColors = !1, this; }, t.prototype.withColors = function() { return this._useColors = !0, this; }, t.prototype.skipPackage = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], this._packagesToSkip.push(String(n)); return this; }, t.prototype.unskipPackage = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], Qu.pluckOneItem(this._packagesToSkip, n); return this; }, t.prototype.unskipAllPackages = function() { return this._packagesToSkip.length = 0, this; }, t.prototype.skipPath = function() { var r, n, i, s; for (n = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = n.length; i < s; i++) r = n[i], this._pathsToSkip.push(r); return this; }, t.prototype.unskipPath = function() { var r, n, i, s; for (n = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = n.length; i < s; i++) r = n[i], Qu.pluckOneItem(this._pathsToSkip, r); return this; }, t.prototype.unskipAllPaths = function() { return this._pathsToSkip.length = 0, this; }, t.prototype.skip = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], this._skipCallbacks.push(n); return this; }, t.prototype.unskip = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], Qu.pluckOneItem(this._skipCallbacks, n); return this; }, t.prototype.unskipAll = function() { return this._skipCallbacks.length = 0, this; }, t.prototype.skipNodeFiles = function() { return this.skipPath.apply(this, jT); }, t.prototype.unskipNodeFiles = function() { return this.unskipPath.apply(this, jT); }, t.prototype.filter = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], this._filterCallbacks.push(n); return this; }, t.prototype.removeFilter = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], Qu.pluckOneItem(this._filterCallbacks, n); return this; }, t.prototype.removeAllFilters = function() { return this._filterCallbacks.length = 0, this; }, t.prototype.filterParsedError = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], this._parsedErrorFilters.push(n); return this; }, t.prototype.removeParsedErrorFilter = function() { var r, n, i, s; for (r = 1 <= arguments.length ? Ls.call(arguments, 0) : [], i = 0, s = r.length; i < s; i++) n = r[i], Qu.pluckOneItem(this._parsedErrorFilters, n); return this; }, t.prototype.removeAllParsedErrorFilters = function() { return this._parsedErrorFilters.length = 0, this; }, t.prototype.setMaxItems = function(r) { return r == null && (r = 50), r === 0 && (r = 50), this._maxItems = r | 0, this; }, t.prototype.alias = function(r, n) { return this._aliases.push({ stringOrRx: r, alias: n }), this; }, t.prototype.removeAlias = function(r) { return Qu.pluckByCallback(this._aliases, function(n) { return n.stringOrRx === r; }), this; }, t.prototype.removeAllAliases = function() { return this._aliases.length = 0, this; }, t.prototype._getStyle = function() { return this._style; }, t.prototype.appendStyle = function(r) { return T6(this._style, r), this._renderer.style(r), this; }, t.prototype._getRenderer = function() { return this._renderer; }, t.prototype.render = function(r, n, i) { var s, o; return n == null && (n = !1), i == null && (i = this._useColors), s = this.getObject(r), o = this._renderer.render(s, i), n === !0 && console. error(o), o; }, t.prototype.getObject = function(r) { var n, i, s, o, u, l, c, f, d; for (r instanceof HT || (r = new HT(r)), this._applyParsedErrorFiltersOn(r), i = { title: function() { var g; return g = {}, r.wrapper !== "" && (g.wrapper = "" + r.wrapper), g.kind = r.kind, g; }(), colon: ":", message: String(r.message).trim() }, l = [], n = -1, d = r.trace, s = c = 0, f = d.length; c < f; s = ++c) if (o = d[s], o != null && this._skipOrFilter(o, s) !== !0) { if (n++, n > this._maxItems) break; if (typeof o == "string") { l.push({ item: { custom: o } }); continue; } l.push(function() { var g; return g = { item: { header: { pointer: function() { return o.file == null ? "" : { file: o.file, colon: ":", line: o.line }; }() }, footer: function() { var b; return b = { addr: o.shortenedAddr }, o.extra != null && (b.extra = o.extra), b; }() } }, typeof o.what == "string" && o.what.trim().length > 0 && (g.item.header.what = o.what), g; }()); } return u = { "pretty-error": { header: i } }, l.length > 0 && (u["pretty-error"].trace = l), u; }, t.prototype._skipOrFilter = function(r, n) { var i, s, o, u, l, c, f, d, g, b, _, T, p, h, S, D, E; if (typeof r == "object") { if (T = r.modName, VT.call(this._packagesToSkip, T) >= 0 || (p = r.path, VT.call(this._pathsToSkip, p) >= 0)) return !0; for (h = r.packages, u = 0, d = h.length; u < d; u++) if (s = h[u], VT.call(this._packagesToSkip, s) >= 0) return !0; if (typeof r.shortenedAddr == "string") for (S = this._aliases, l = 0, g = S.length; l < g; l++) o = S[l], r.shortenedAddr = r.shortenedAddr.replace(o.stringOrRx, o.alias); } for (D = this._skipCallbacks, c = 0, b = D.length; c < b; c++) if (i = D[c], i(r, n) === !0) return !0; for (E = this._filterCallbacks, f = 0, _ = E.length; f < _; f++) i = E[f], i(r, n); return !1; }, t.prototype._applyParsedErrorFiltersOn = function(r) { var n, i, s, o; for (o = this._parsedErrorFilters, i = 0, s = o.length; i < s; i++) n = o[i], n(r); }, t; }(); GT = ["renderer", "style"]; D6 = /* @__PURE__ */ a(function() { var e; return e = "_get" + Wh[0].toUpperCase() + Wh.substr(1, Wh.length), y6.prototype.__defineGetter__(Wh, function() { return this[e](); }); }, "_fn"); for (x_ = 0, b6 = GT.length; x_ < b6; x_++) Wh = GT[x_], D6(); }); // ../node_modules/html-webpack-plugin/lib/errors.js var O6 = y((C$e, w6) => { "use strict"; var Ju; function OEe() { if (!Ju) { let e = C6(); Ju = new e(), Ju.withoutColors(), Ju.skipPackage("html-plugin-evaluation"), Ju.skipNodeFiles(), Ju.skip(function(t) { return t.path === "html-plugin-evaluation"; }); } return Ju; } a(OEe, "getPrettyError"); w6.exports = function(e, t) { return { toHtml: /* @__PURE__ */ a(function() { return `Html Webpack Plugin:
` + this.toString() + "
"; }, "toHtml"), toJsonHtml: /* @__PURE__ */ a(function() { return JSON.stringify(this.toHtml()); }, "toJsonHtml"), toString: /* @__PURE__ */ a(function() { try { return OEe().render(e).replace(/webpack:\/\/\/\./g, t); } catch { return e; } }, "toString") }; }; }); // ../node_modules/html-webpack-plugin/lib/chunksorter.js var R6 = y((O$e, Bc) => { "use strict"; Bc.exports = {}; Bc.exports.none = (e) => e; Bc.exports.manual = (e, t, r) => { let n = r.chunks; return Array.isArray(n) ? n.filter((i) => t.entrypoints.has(i)) : e; }; Bc.exports.auto = Bc.exports.none; }); // ../node_modules/tapable/lib/Hook.js var Ta = y((R$e, I6) => { "use strict"; var REe = require("util"), kEe = REe.deprecate( () => { }, "Hook.context is deprecated and will be removed" ), k6 = /* @__PURE__ */ a(function(...e) { return this.call = this._createCall("sync"), this.call(...e); }, "CALL_DELEGATE"), P6 = /* @__PURE__ */ a(function(...e) { return this.callAsync = this._createCall("async"), this.callAsync(...e); }, "CALL_ASYNC_DELEGATE"), F6 = /* @__PURE__ */ a(function(...e) { return this.promise = this._createCall("promise"), this.promise(...e); }, "PROMISE_DELEGATE"), C_ = class { static { a(this, "Hook"); } constructor(t = [], r = void 0) { this._args = t, this.name = r, this.taps = [], this.interceptors = [], this._call = k6, this.call = k6, this._callAsync = P6, this.callAsync = P6, this._promise = F6, this.promise = F6, this._x = void 0, this.compile = this.compile, this.tap = this.tap, this.tapAsync = this.tapAsync, this.tapPromise = this.tapPromise; } compile(t) { throw new Error("Abstract: should be overridden"); } _createCall(t) { return this.compile({ taps: this.taps, interceptors: this.interceptors, args: this._args, type: t }); } _tap(t, r, n) { if (typeof r == "string") r = { name: r.trim() }; else if (typeof r != "object" || r === null) throw new Error("Invalid tap options"); if (typeof r.name != "string" || r.name === "") throw new Error("Missing name for tap"); typeof r.context < "u" && kEe(), r = Object.assign({ type: t, fn: n }, r), r = this._runRegisterInterceptors(r), this._insert(r); } tap(t, r) { this._tap("sync", t, r); } tapAsync(t, r) { this._tap("async", t, r); } tapPromise(t, r) { this._tap("promise", t, r); } _runRegisterInterceptors(t) { for (let r of this.interceptors) if (r.register) { let n = r.register(t); n !== void 0 && (t = n); } return t; } withOptions(t) { let r = /* @__PURE__ */ a((n) => Object.assign({}, t, typeof n == "string" ? { name: n } : n), "mergeOptions"); return { name: this.name, tap: /* @__PURE__ */ a((n, i) => this.tap(r(n), i), "tap"), tapAsync: /* @__PURE__ */ a((n, i) => this.tapAsync(r(n), i), "tapAsync"), tapPromise: /* @__PURE__ */ a((n, i) => this.tapPromise(r(n), i), "tapPromise"), intercept: /* @__PURE__ */ a((n) => this.intercept(n), "intercept"), isUsed: /* @__PURE__ */ a(() => this.isUsed(), "isUsed"), withOptions: /* @__PURE__ */ a((n) => this.withOptions(r(n)), "withOptions") }; } isUsed() { return this.taps.length > 0 || this.interceptors.length > 0; } intercept(t) { if (this._resetCompilation(), this.interceptors.push(Object.assign({}, t)), t.register) for (let r = 0; r < this.taps.length; r++) this.taps[r] = t.register(this.taps[r]); } _resetCompilation() { this.call = this._call, this.callAsync = this._callAsync, this.promise = this._promise; } _insert(t) { this._resetCompilation(); let r; typeof t.before == "string" ? r = /* @__PURE__ */ new Set([t.before]) : Array.isArray(t.before) && (r = new Set(t.before)); let n = 0; typeof t.stage == "number" && (n = t.stage); let i = this.taps.length; for (; i > 0; ) { i--; let s = this.taps[i]; this.taps[i + 1] = s; let o = s.stage || 0; if (r) { if (r.has(s.name)) { r.delete(s.name); continue; } if (r.size > 0) continue; } if (!(o > n)) { i++; break; } } this.taps[i] = t; } }; Object.setPrototypeOf(C_.prototype, null); I6.exports = C_; }); // ../node_modules/tapable/lib/HookCodeFactory.js var $a = y((P$e, N6) => { "use strict"; var zT = class { static { a(this, "HookCodeFactory"); } constructor(t) { this.config = t, this.options = void 0, this._args = void 0; } create(t) { this.init(t); let r; switch (this.options.type) { case "sync": r = new Function( this.args(), `"use strict"; ` + this.header() + this.contentWithInterceptors({ onError: /* @__PURE__ */ a((o) => `throw ${o}; `, "onError"), onResult: /* @__PURE__ */ a((o) => `return ${o}; `, "onResult"), resultReturns: !0, onDone: /* @__PURE__ */ a(() => "", "onDone"), rethrowIfPossible: !0 }) ); break; case "async": r = new Function( this.args({ after: "_callback" }), `"use strict"; ` + this.header() + this.contentWithInterceptors({ onError: /* @__PURE__ */ a((o) => `_callback(${o}); `, "onError"), onResult: /* @__PURE__ */ a((o) => `_callback(null, ${o}); `, "onResult"), onDone: /* @__PURE__ */ a(() => `_callback(); `, "onDone") }) ); break; case "promise": let n = !1, i = this.contentWithInterceptors({ onError: /* @__PURE__ */ a((o) => (n = !0, `_error(${o}); `), "onError"), onResult: /* @__PURE__ */ a((o) => `_resolve(${o}); `, "onResult"), onDone: /* @__PURE__ */ a(() => `_resolve(); `, "onDone") }), s = ""; s += `"use strict"; `, s += this.header(), s += `return new Promise((function(_resolve, _reject) { `, n && (s += `var _sync = true; `, s += `function _error(_err) { `, s += `if(_sync) `, s += `_resolve(Promise.resolve().then((function() { throw _err; }))); `, s += `else `, s += `_reject(_err); `, s += `}; `), s += i, n && (s += `_sync = false; `), s += `})); `, r = new Function(this.args(), s); break; } return this.deinit(), r; } setup(t, r) { t._x = r.taps.map((n) => n.fn); } /** * @param {{ type: "sync" | "promise" | "async", taps: Array, interceptors: Array }} options */ init(t) { this.options = t, this._args = t.args.slice(); } deinit() { this.options = void 0, this._args = void 0; } contentWithInterceptors(t) { if (this.options.interceptors.length > 0) { let r = t.onError, n = t.onResult, i = t.onDone, s = ""; for (let o = 0; o < this.options.interceptors.length; o++) { let u = this.options.interceptors[o]; u.call && (s += `${this.getInterceptor(o)}.call(${this.args({ before: u.context ? "_context" : void 0 })}); `); } return s += this.content( Object.assign(t, { onError: r && ((o) => { let u = ""; for (let l = 0; l < this.options.interceptors.length; l++) this.options.interceptors[l].error && (u += `${this.getInterceptor(l)}.error(${o}); `); return u += r(o), u; }), onResult: n && ((o) => { let u = ""; for (let l = 0; l < this.options.interceptors.length; l++) this.options.interceptors[l].result && (u += `${this.getInterceptor(l)}.result(${o}); `); return u += n(o), u; }), onDone: i && (() => { let o = ""; for (let u = 0; u < this.options.interceptors.length; u++) this.options.interceptors[u].done && (o += `${this.getInterceptor(u)}.done(); `); return o += i(), o; }) }) ), s; } else return this.content(t); } header() { let t = ""; return this.needContext() ? t += `var _context = {}; ` : t += `var _context; `, t += `var _x = this._x; `, this.options.interceptors.length > 0 && (t += `var _taps = this.taps; `, t += `var _interceptors = this.interceptors; `), t; } needContext() { for (let t of this.options.taps) if (t.context) return !0; return !1; } callTap(t, { onError: r, onResult: n, onDone: i, rethrowIfPossible: s }) { let o = "", u = !1; for (let c = 0; c < this.options.interceptors.length; c++) { let f = this.options.interceptors[c]; f.tap && (u || (o += `var _tap${t} = ${this.getTap(t)}; `, u = !0), o += `${this.getInterceptor(c)}.tap(${f.context ? "_context, " : ""}_tap${t}); `); } o += `var _fn${t} = ${this.getTapFn(t)}; `; let l = this.options.taps[t]; switch (l.type) { case "sync": s || (o += `var _hasError${t} = false; `, o += `try { `), n ? o += `var _result${t} = _fn${t}(${this.args({ before: l.context ? "_context" : void 0 })}); ` : o += `_fn${t}(${this.args({ before: l.context ? "_context" : void 0 })}); `, s || (o += `} catch(_err) { `, o += `_hasError${t} = true; `, o += r("_err"), o += `} `, o += `if(!_hasError${t}) { `), n && (o += n(`_result${t}`)), i && (o += i()), s || (o += `} `); break; case "async": let c = ""; n ? c += `(function(_err${t}, _result${t}) { ` : c += `(function(_err${t}) { `, c += `if(_err${t}) { `, c += r(`_err${t}`), c += `} else { `, n && (c += n(`_result${t}`)), i && (c += i()), c += `} `, c += "})", o += `_fn${t}(${this.args({ before: l.context ? "_context" : void 0, after: c })}); `; break; case "promise": o += `var _hasResult${t} = false; `, o += `var _promise${t} = _fn${t}(${this.args({ before: l.context ? "_context" : void 0 })}); `, o += `if (!_promise${t} || !_promise${t}.then) `, o += ` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${t} + ')'); `, o += `_promise${t}.then((function(_result${t}) { `, o += `_hasResult${t} = true; `, n && (o += n(`_result${t}`)), i && (o += i()), o += `}), function(_err${t}) { `, o += `if(_hasResult${t}) throw _err${t}; `, o += r(`_err${t}`), o += `}); `; break; } return o; } callTapsSeries({ onError: t, onResult: r, resultReturns: n, onDone: i, doneReturns: s, rethrowIfPossible: o }) { if (this.options.taps.length === 0) return i(); let u = this.options.taps.findIndex((g) => g.type !== "sync"), l = n || s, c = "", f = i, d = 0; for (let g = this.options.taps.length - 1; g >= 0; g--) { let b = g; f !== i && (this.options.taps[b].type !== "sync" || d++ > 20) && (d = 0, c += `function _next${b}() { `, c += f(), c += `} `, f = /* @__PURE__ */ a(() => `${l ? "return " : ""}_next${b}(); `, "current")); let T = f, p = /* @__PURE__ */ a((S) => S ? "" : i(), "doneBreak"), h = this.callTap(b, { onError: /* @__PURE__ */ a((S) => t(b, S, T, p), "onError"), onResult: r && ((S) => r(b, S, T, p)), onDone: !r && T, rethrowIfPossible: o && (u < 0 || b < u) }); f = /* @__PURE__ */ a(() => h, "current"); } return c += f(), c; } callTapsLooping({ onError: t, onDone: r, rethrowIfPossible: n }) { if (this.options.taps.length === 0) return r(); let i = this.options.taps.every((o) => o.type === "sync"), s = ""; i || (s += `var _looper = (function() { `, s += `var _loopAsync = false; `), s += `var _loop; `, s += `do { `, s += `_loop = false; `; for (let o = 0; o < this.options.interceptors.length; o++) { let u = this.options.interceptors[o]; u.loop && (s += `${this.getInterceptor(o)}.loop(${this.args({ before: u.context ? "_context" : void 0 })}); `); } return s += this.callTapsSeries({ onError: t, onResult: /* @__PURE__ */ a((o, u, l, c) => { let f = ""; return f += `if(${u} !== undefined) { `, f += `_loop = true; `, i || (f += `if(_loopAsync) _looper(); `), f += c(!0), f += `} else { `, f += l(), f += `} `, f; }, "onResult"), onDone: r && (() => { let o = ""; return o += `if(!_loop) { `, o += r(), o += `} `, o; }), rethrowIfPossible: n && i }), s += `} while(_loop); `, i || (s += `_loopAsync = true; `, s += `}); `, s += `_looper(); `), s; } callTapsParallel({ onError: t, onResult: r, onDone: n, rethrowIfPossible: i, onTap: s = /* @__PURE__ */ a((o, u) => u(), "onTap") }) { if (this.options.taps.length <= 1) return this.callTapsSeries({ onError: t, onResult: r, onDone: n, rethrowIfPossible: i }); let o = ""; o += `do { `, o += `var _counter = ${this.options.taps.length}; `, n && (o += `var _done = (function() { `, o += n(), o += `}); `); for (let u = 0; u < this.options.taps.length; u++) { let l = /* @__PURE__ */ a(() => n ? `if(--_counter === 0) _done(); ` : "--_counter;", "done"), c = /* @__PURE__ */ a((f) => f || !n ? `_counter = 0; ` : `_counter = 0; _done(); `, "doneBreak"); o += `if(_counter <= 0) break; `, o += s( u, () => this.callTap(u, { onError: /* @__PURE__ */ a((f) => { let d = ""; return d += `if(_counter > 0) { `, d += t(u, f, l, c), d += `} `, d; }, "onError"), onResult: r && ((f) => { let d = ""; return d += `if(_counter > 0) { `, d += r(u, f, l, c), d += `} `, d; }), onDone: !r && (() => l()), rethrowIfPossible: i }), l, c ); } return o += `} while(false); `, o; } args({ before: t, after: r } = {}) { let n = this._args; return t && (n = [t].concat(n)), r && (n = n.concat(r)), n.length === 0 ? "" : n.join(", "); } getTapFn(t) { return `_x[${t}]`; } getTap(t) { return `_taps[${t}]`; } getInterceptor(t) { return `_interceptors[${t}]`; } }; N6.exports = zT; }); // ../node_modules/tapable/lib/SyncHook.js var M6 = y((I$e, B6) => { "use strict"; var PEe = Ta(), FEe = $a(), KT = class extends FEe { static { a(this, "SyncHookCodeFactory"); } content({ onError: t, onDone: r, rethrowIfPossible: n }) { return this.callTapsSeries({ onError: /* @__PURE__ */ a((i, s) => t(s), "onError"), onDone: r, rethrowIfPossible: n }); } }, L6 = new KT(), IEe = /* @__PURE__ */ a(() => { throw new Error("tapAsync is not supported on a SyncHook"); }, "TAP_ASYNC"), NEe = /* @__PURE__ */ a(() => { throw new Error("tapPromise is not supported on a SyncHook"); }, "TAP_PROMISE"), LEe = /* @__PURE__ */ a(function(e) { return L6.setup(this, e), L6.create(e); }, "COMPILE"); function WT(e = [], t = void 0) { let r = new PEe(e, t); return r.constructor = WT, r.tapAsync = IEe, r.tapPromise = NEe, r.compile = LEe, r; } a(WT, "SyncHook"); WT.prototype = null; B6.exports = WT; }); // ../node_modules/tapable/lib/SyncBailHook.js var V6 = y((L$e, U6) => { "use strict"; var BEe = Ta(), MEe = $a(), $T = class extends MEe { static { a(this, "SyncBailHookCodeFactory"); } content({ onError: t, onResult: r, resultReturns: n, onDone: i, rethrowIfPossible: s }) { return this.callTapsSeries({ onError: /* @__PURE__ */ a((o, u) => t(u), "onError"), onResult: /* @__PURE__ */ a((o, u, l) => `if(${u} !== undefined) { ${r( u )}; } else { ${l()}} `, "onResult"), resultReturns: n, onDone: i, rethrowIfPossible: s }); } }, q6 = new $T(), qEe = /* @__PURE__ */ a(() => { throw new Error("tapAsync is not supported on a SyncBailHook"); }, "TAP_ASYNC"), UEe = /* @__PURE__ */ a(() => { throw new Error("tapPromise is not supported on a SyncBailHook"); }, "TAP_PROMISE"), VEe = /* @__PURE__ */ a(function(e) { return q6.setup(this, e), q6.create(e); }, "COMPILE"); function XT(e = [], t = void 0) { let r = new BEe(e, t); return r.constructor = XT, r.tapAsync = qEe, r.tapPromise = UEe, r.compile = VEe, r; } a(XT, "SyncBailHook"); XT.prototype = null; U6.exports = XT; }); // ../node_modules/tapable/lib/SyncWaterfallHook.js var G6 = y((M$e, j6) => { "use strict"; var HEe = Ta(), jEe = $a(), YT = class extends jEe { static { a(this, "SyncWaterfallHookCodeFactory"); } content({ onError: t, onResult: r, resultReturns: n, rethrowIfPossible: i }) { return this.callTapsSeries({ onError: /* @__PURE__ */ a((s, o) => t(o), "onError"), onResult: /* @__PURE__ */ a((s, o, u) => { let l = ""; return l += `if(${o} !== undefined) { `, l += `${this._args[0]} = ${o}; `, l += `} `, l += u(), l; }, "onResult"), onDone: /* @__PURE__ */ a(() => r(this._args[0]), "onDone"), doneReturns: n, rethrowIfPossible: i }); } }, H6 = new YT(), GEe = /* @__PURE__ */ a(() => { throw new Error("tapAsync is not supported on a SyncWaterfallHook"); }, "TAP_ASYNC"), zEe = /* @__PURE__ */ a(() => { throw new Error("tapPromise is not supported on a SyncWaterfallHook"); }, "TAP_PROMISE"), KEe = /* @__PURE__ */ a(function(e) { return H6.setup(this, e), H6.create(e); }, "COMPILE"); function QT(e = [], t = void 0) { if (e.length < 1) throw new Error("Waterfall hooks must have at least one argument"); let r = new HEe(e, t); return r.constructor = QT, r.tapAsync = GEe, r.tapPromise = zEe, r.compile = KEe, r; } a(QT, "SyncWaterfallHook"); QT.prototype = null; j6.exports = QT; }); // ../node_modules/tapable/lib/SyncLoopHook.js var W6 = y((U$e, K6) => { "use strict"; var WEe = Ta(), $Ee = $a(), ZT = class extends $Ee { static { a(this, "SyncLoopHookCodeFactory"); } content({ onError: t, onDone: r, rethrowIfPossible: n }) { return this.callTapsLooping({ onError: /* @__PURE__ */ a((i, s) => t(s), "onError"), onDone: r, rethrowIfPossible: n }); } }, z6 = new ZT(), XEe = /* @__PURE__ */ a(() => { throw new Error("tapAsync is not supported on a SyncLoopHook"); }, "TAP_ASYNC"), YEe = /* @__PURE__ */ a(() => { throw new Error("tapPromise is not supported on a SyncLoopHook"); }, "TAP_PROMISE"), QEe = /* @__PURE__ */ a(function(e) { return z6.setup(this, e), z6.create(e); }, "COMPILE"); function JT(e = [], t = void 0) { let r = new WEe(e, t); return r.constructor = JT, r.tapAsync = XEe, r.tapPromise = YEe, r.compile = QEe, r; } a(JT, "SyncLoopHook"); JT.prototype = null; K6.exports = JT; }); // ../node_modules/tapable/lib/AsyncParallelHook.js var Y6 = y((H$e, X6) => { "use strict"; var ZEe = Ta(), JEe = $a(), eD = class extends JEe { static { a(this, "AsyncParallelHookCodeFactory"); } content({ onError: t, onDone: r }) { return this.callTapsParallel({ onError: /* @__PURE__ */ a((n, i, s, o) => t(i) + o(!0), "onError"), onDone: r }); } }, $6 = new eD(), eAe = /* @__PURE__ */ a(function(e) { return $6.setup(this, e), $6.create(e); }, "COMPILE"); function tD(e = [], t = void 0) { let r = new ZEe(e, t); return r.constructor = tD, r.compile = eAe, r._call = void 0, r.call = void 0, r; } a(tD, "AsyncParallelHook"); tD.prototype = null; X6.exports = tD; }); // ../node_modules/tapable/lib/AsyncParallelBailHook.js var J6 = y((G$e, Z6) => { "use strict"; var tAe = Ta(), rAe = $a(), rD = class extends rAe { static { a(this, "AsyncParallelBailHookCodeFactory"); } content({ onError: t, onResult: r, onDone: n }) { let i = ""; return i += `var _results = new Array(${this.options.taps.length}); `, i += `var _checkDone = function() { `, i += `for(var i = 0; i < _results.length; i++) { `, i += `var item = _results[i]; `, i += `if(item === undefined) return false; `, i += `if(item.result !== undefined) { `, i += r("item.result"), i += `return true; `, i += `} `, i += `if(item.error) { `, i += t("item.error"), i += `return true; `, i += `} `, i += `} `, i += `return false; `, i += `} `, i += this.callTapsParallel({ onError: /* @__PURE__ */ a((s, o, u, l) => { let c = ""; return c += `if(${s} < _results.length && ((_results.length = ${s + 1}), (_results[${s}] = { error: ${o} }), _checkDone())) { `, c += l(!0), c += `} else { `, c += u(), c += `} `, c; }, "onError"), onResult: /* @__PURE__ */ a((s, o, u, l) => { let c = ""; return c += `if(${s} < _results.length && (${o} !== undefined && (_results.length = ${s + 1}), (_results[${s}] = { result: ${o} })\ , _checkDone())) { `, c += l(!0), c += `} else { `, c += u(), c += `} `, c; }, "onResult"), onTap: /* @__PURE__ */ a((s, o, u, l) => { let c = ""; return s > 0 && (c += `if(${s} >= _results.length) { `, c += u(), c += `} else { `), c += o(), s > 0 && (c += `} `), c; }, "onTap"), onDone: n }), i; } }, Q6 = new rD(), nAe = /* @__PURE__ */ a(function(e) { return Q6.setup(this, e), Q6.create(e); }, "COMPILE"); function nD(e = [], t = void 0) { let r = new tAe(e, t); return r.constructor = nD, r.compile = nAe, r._call = void 0, r.call = void 0, r; } a(nD, "AsyncParallelBailHook"); nD.prototype = null; Z6.exports = nD; }); // ../node_modules/tapable/lib/AsyncSeriesHook.js var r4 = y((K$e, t4) => { "use strict"; var iAe = Ta(), aAe = $a(), iD = class extends aAe { static { a(this, "AsyncSeriesHookCodeFactory"); } content({ onError: t, onDone: r }) { return this.callTapsSeries({ onError: /* @__PURE__ */ a((n, i, s, o) => t(i) + o(!0), "onError"), onDone: r }); } }, e4 = new iD(), sAe = /* @__PURE__ */ a(function(e) { return e4.setup(this, e), e4.create(e); }, "COMPILE"); function aD(e = [], t = void 0) { let r = new iAe(e, t); return r.constructor = aD, r.compile = sAe, r._call = void 0, r.call = void 0, r; } a(aD, "AsyncSeriesHook"); aD.prototype = null; t4.exports = aD; }); // ../node_modules/tapable/lib/AsyncSeriesBailHook.js var a4 = y(($$e, i4) => { "use strict"; var oAe = Ta(), uAe = $a(), sD = class extends uAe { static { a(this, "AsyncSeriesBailHookCodeFactory"); } content({ onError: t, onResult: r, resultReturns: n, onDone: i }) { return this.callTapsSeries({ onError: /* @__PURE__ */ a((s, o, u, l) => t(o) + l(!0), "onError"), onResult: /* @__PURE__ */ a((s, o, u) => `if(${o} !== undefined) { ${r( o )} } else { ${u()}} `, "onResult"), resultReturns: n, onDone: i }); } }, n4 = new sD(), lAe = /* @__PURE__ */ a(function(e) { return n4.setup(this, e), n4.create(e); }, "COMPILE"); function oD(e = [], t = void 0) { let r = new oAe(e, t); return r.constructor = oD, r.compile = lAe, r._call = void 0, r.call = void 0, r; } a(oD, "AsyncSeriesBailHook"); oD.prototype = null; i4.exports = oD; }); // ../node_modules/tapable/lib/AsyncSeriesLoopHook.js var u4 = y((Y$e, o4) => { "use strict"; var cAe = Ta(), fAe = $a(), uD = class extends fAe { static { a(this, "AsyncSeriesLoopHookCodeFactory"); } content({ onError: t, onDone: r }) { return this.callTapsLooping({ onError: /* @__PURE__ */ a((n, i, s, o) => t(i) + o(!0), "onError"), onDone: r }); } }, s4 = new uD(), hAe = /* @__PURE__ */ a(function(e) { return s4.setup(this, e), s4.create(e); }, "COMPILE"); function lD(e = [], t = void 0) { let r = new cAe(e, t); return r.constructor = lD, r.compile = hAe, r._call = void 0, r.call = void 0, r; } a(lD, "AsyncSeriesLoopHook"); lD.prototype = null; o4.exports = lD; }); // ../node_modules/tapable/lib/AsyncSeriesWaterfallHook.js var f4 = y((Z$e, c4) => { "use strict"; var pAe = Ta(), dAe = $a(), cD = class extends dAe { static { a(this, "AsyncSeriesWaterfallHookCodeFactory"); } content({ onError: t, onResult: r, onDone: n }) { return this.callTapsSeries({ onError: /* @__PURE__ */ a((i, s, o, u) => t(s) + u(!0), "onError"), onResult: /* @__PURE__ */ a((i, s, o) => { let u = ""; return u += `if(${s} !== undefined) { `, u += `${this._args[0]} = ${s}; `, u += `} `, u += o(), u; }, "onResult"), onDone: /* @__PURE__ */ a(() => r(this._args[0]), "onDone") }); } }, l4 = new cD(), mAe = /* @__PURE__ */ a(function(e) { return l4.setup(this, e), l4.create(e); }, "COMPILE"); function fD(e = [], t = void 0) { if (e.length < 1) throw new Error("Waterfall hooks must have at least one argument"); let r = new pAe(e, t); return r.constructor = fD, r.compile = mAe, r._call = void 0, r.call = void 0, r; } a(fD, "AsyncSeriesWaterfallHook"); fD.prototype = null; c4.exports = fD; }); // ../node_modules/tapable/lib/HookMap.js var p4 = y((eXe, h4) => { "use strict"; var hD = require("util"), gAe = /* @__PURE__ */ a((e, t) => t, "defaultFactory"), Mc = class { static { a(this, "HookMap"); } constructor(t, r = void 0) { this._map = /* @__PURE__ */ new Map(), this.name = r, this._factory = t, this._interceptors = []; } get(t) { return this._map.get(t); } for(t) { let r = this.get(t); if (r !== void 0) return r; let n = this._factory(t), i = this._interceptors; for (let s = 0; s < i.length; s++) n = i[s].factory(t, n); return this._map.set(t, n), n; } intercept(t) { this._interceptors.push( Object.assign( { factory: gAe }, t ) ); } }; Mc.prototype.tap = hD.deprecate(function(e, t, r) { return this.for(e).tap(t, r); }, "HookMap#tap(key,\u2026) is deprecated. Use HookMap#for(key).tap(\u2026) instead."); Mc.prototype.tapAsync = hD.deprecate(function(e, t, r) { return this.for(e).tapAsync(t, r); }, "HookMap#tapAsync(key,\u2026) is deprecated. Use HookMap#for(key).tapAsync(\u2026) instead."); Mc.prototype.tapPromise = hD.deprecate(function(e, t, r) { return this.for(e).tapPromise(t, r); }, "HookMap#tapPromise(key,\u2026) is deprecated. Use HookMap#for(key).tapPromise(\u2026) instead."); h4.exports = Mc; }); // ../node_modules/tapable/lib/MultiHook.js var m4 = y((nXe, d4) => { "use strict"; var rXe = Ta(), pD = class e { static { a(this, "MultiHook"); } constructor(t, r = void 0) { this.hooks = t, this.name = r; } tap(t, r) { for (let n of this.hooks) n.tap(t, r); } tapAsync(t, r) { for (let n of this.hooks) n.tapAsync(t, r); } tapPromise(t, r) { for (let n of this.hooks) n.tapPromise(t, r); } isUsed() { for (let t of this.hooks) if (t.isUsed()) return !0; return !1; } intercept(t) { for (let r of this.hooks) r.intercept(t); } withOptions(t) { return new e( this.hooks.map((r) => r.withOptions(t)), this.name ); } }; d4.exports = pD; }); // ../node_modules/tapable/lib/index.js var g4 = y((Hi) => { "use strict"; Hi.__esModule = !0; Hi.SyncHook = M6(); Hi.SyncBailHook = V6(); Hi.SyncWaterfallHook = G6(); Hi.SyncLoopHook = W6(); Hi.AsyncParallelHook = Y6(); Hi.AsyncParallelBailHook = J6(); Hi.AsyncSeriesHook = r4(); Hi.AsyncSeriesBailHook = a4(); Hi.AsyncSeriesLoopHook = u4(); Hi.AsyncSeriesWaterfallHook = f4(); Hi.HookMap = p4(); Hi.MultiHook = m4(); }); // ../node_modules/clean-css/lib/optimizer/level-0/optimize.js var v4 = y((sXe, _4) => { function _Ae(e) { return e; } a(_Ae, "level0Optimize"); _4.exports = _Ae; }); // ../node_modules/clean-css/lib/utils/natural-compare.js var E4 = y((uXe, S4) => { var b4 = /([0-9]+)/; function vAe(e, t) { var r = ("" + e).split(b4).map(y4), n = ("" + t).split(b4).map(y4), i, s, o = Math.min(r.length, n.length), u, l; for (u = 0, l = o; u < l; u++) if (i = r[u], s = n[u], i != s) return i > s ? 1 : -1; return r.length > n.length ? 1 : r.length == n.length ? 0 : -1; } a(vAe, "naturalCompare"); function y4(e) { return "" + parseInt(e) == e ? parseInt(e) : e; } a(y4, "tryParseInt"); S4.exports = vAe; }); // ../node_modules/clean-css/lib/optimizer/level-1/sort-selectors.js var w_ = y((cXe, A4) => { var bAe = E4(); function yAe(e, t) { return bAe(e[1], t[1]); } a(yAe, "naturalSorter"); function SAe(e, t) { return e[1] > t[1] ? 1 : -1; } a(SAe, "standardSorter"); function EAe(e, t) { switch (t) { case "natural": return e.sort(yAe); case "standard": return e.sort(SAe); case "none": case !1: return e; } } a(EAe, "sortSelectors"); A4.exports = EAe; }); // ../node_modules/clean-css/lib/utils/override.js var el = y((hXe, T4) => { function dD(e, t) { var r = {}, n, i, s; for (n in e) s = e[n], Array.isArray(s) ? r[n] = s.slice(0) : typeof s == "object" && s !== null ? r[n] = dD(s, {}) : r[n] = s; for (i in t) s = t[i], i in r && Array.isArray(s) ? r[i] = s.slice(0) : i in r && typeof s == "object" && s !== null ? r[i] = dD(r[i], s) : r[i] = s; return r; } a(dD, "override"); T4.exports = dD; }); // ../node_modules/clean-css/lib/options/format.js var Xh = y((dXe, O4) => { var tl = el(); function AAe() { var e = ` `; try { var t = require("os"); e = t.EOL; } catch { } return e; } a(AAe, "getSystemLineBreak"); var Da = { AfterAtRule: "afterAtRule", AfterBlockBegins: "afterBlockBegins", AfterBlockEnds: "afterBlockEnds", AfterComment: "afterComment", AfterProperty: "afterProperty", AfterRuleBegins: "afterRuleBegins", AfterRuleEnds: "afterRuleEnds", BeforeBlockEnds: "beforeBlockEnds", BetweenSelectors: "betweenSelectors" }, qc = { CarriageReturnLineFeed: `\r `, LineFeed: ` `, System: AAe() }, mD = { Space: " ", Tab: " " }, R_ = { AroundSelectorRelation: "aroundSelectorRelation", BeforeBlockBegins: "beforeBlockBegins", BeforeValue: "beforeValue" }, $h = { breaks: D4(!1), breakWith: qc.System, indentBy: 0, indentWith: mD.Space, spaces: x4(!1), wrapAt: !1, semicolonAfterLastProperty: !1 }, TAe = "beautify", DAe = "keep-breaks", xAe = ";", CAe = ":", wAe = ",", OAe = "=", RAe = "false", kAe = "off", PAe = "true", FAe = "on"; function D4(e) { var t = {}; return t[Da.AfterAtRule] = e, t[Da.AfterBlockBegins] = e, t[Da.AfterBlockEnds] = e, t[Da.AfterComment] = e, t[Da.AfterProperty] = e, t[Da. AfterRuleBegins] = e, t[Da.AfterRuleEnds] = e, t[Da.BeforeBlockEnds] = e, t[Da.BetweenSelectors] = e, t; } a(D4, "breaks"); function x4(e) { var t = {}; return t[R_.AroundSelectorRelation] = e, t[R_.BeforeBlockBegins] = e, t[R_.BeforeValue] = e, t; } a(x4, "spaces"); function IAe(e) { return e === void 0 || e === !1 ? !1 : (typeof e == "object" && "breakWith" in e && (e = tl(e, { breakWith: C4(e.breakWith) })), typeof e == "object" && "indentBy" in e && (e = tl(e, { indentBy: parseInt(e.indentBy) })), typeof e == "object" && "indentWith" in e && (e = tl(e, { indentWith: w4(e.indentWith) })), typeof e == "object" ? O_(tl($h, e)) : typeof e == "string" && e == TAe ? O_( tl($h, { breaks: D4(!0), indentBy: 2, spaces: x4(!0) }) ) : typeof e == "string" && e == DAe ? O_( tl($h, { breaks: { afterAtRule: !0, afterBlockBegins: !0, afterBlockEnds: !0, afterComment: !0, afterRuleEnds: !0, beforeBlockEnds: !0 } }) ) : typeof e == "string" ? O_(tl($h, NAe(e))) : $h); } a(IAe, "formatFrom"); function NAe(e) { return e.split(xAe).reduce(function(t, r) { var n = r.split(CAe), i = n[0], s = n[1]; return i == "breaks" || i == "spaces" ? t[i] = LAe(s) : i == "indentBy" || i == "wrapAt" ? t[i] = parseInt(s) : i == "indentWith" ? t[i] = w4(s) : i == "breakWith" && (t[i] = C4(s)), t; }, {}); } a(NAe, "toHash"); function LAe(e) { return e.split(wAe).reduce(function(t, r) { var n = r.split(OAe), i = n[0], s = n[1]; return t[i] = BAe(s), t; }, {}); } a(LAe, "hashValuesToHash"); function BAe(e) { switch (e) { case RAe: case kAe: return !1; case PAe: case FAe: return !0; default: return e; } } a(BAe, "normalizeValue"); function C4(e) { switch (e) { case "windows": case "crlf": case qc.CarriageReturnLineFeed: return qc.CarriageReturnLineFeed; case "unix": case "lf": case qc.LineFeed: return qc.LineFeed; default: return qc.System; } } a(C4, "mapBreakWith"); function w4(e) { switch (e) { case "space": return mD.Space; case "tab": return mD.Tab; default: return e; } } a(w4, "mapIndentWith"); function O_(e) { for (var t in Da) { var r = Da[t], n = e.breaks[r]; n === !0 ? e.breaks[r] = e.breakWith : n === !1 ? e.breaks[r] = "" : e.breaks[r] = e.breakWith.repeat(parseInt(n)); } return e; } a(O_, "remapBreaks"); O4.exports = { Breaks: Da, Spaces: R_, formatFrom: IAe }; }); // ../node_modules/clean-css/lib/tokenizer/marker.js var zn = y((gXe, R4) => { var MAe = { ASTERISK: "*", AT: "@", BACK_SLASH: "\\", CARRIAGE_RETURN: "\r", CLOSE_CURLY_BRACKET: "}", CLOSE_ROUND_BRACKET: ")", CLOSE_SQUARE_BRACKET: "]", COLON: ":", COMMA: ",", DOUBLE_QUOTE: '"', EXCLAMATION: "!", FORWARD_SLASH: "/", INTERNAL: "-clean-css-", NEW_LINE_NIX: ` `, OPEN_CURLY_BRACKET: "{", OPEN_ROUND_BRACKET: "(", OPEN_SQUARE_BRACKET: "[", SEMICOLON: ";", SINGLE_QUOTE: "'", SPACE: " ", TAB: " ", UNDERSCORE: "_" }; R4.exports = MAe; }); // ../node_modules/clean-css/lib/utils/format-position.js var Yh = y((_Xe, k4) => { function qAe(e) { var t = e[0], r = e[1], n = e[2]; return n ? n + ":" + t + ":" + r : t + ":" + r; } a(qAe, "formatPosition"); k4.exports = qAe; }); // ../node_modules/clean-css/lib/optimizer/level-1/tidy-rules.js var k_ = y((bXe, F4) => { var UAe = Xh().Spaces, gr = zn(), gD = Yh(), VAe = /[\s"'][iI]\s*\]/, HAe = /([\d\w])([iI])\]/g, jAe = /="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g, GAe = /="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g, zAe = /^(?:(?:)\s*)+/, KAe = /='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g, WAe = /='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g, P4 = /[>+~]/, $Ae = /\s/, XAe = "*+html ", YAe = "*:first-child+html ", QAe = "<", ZAe = [ ":current", ":future", ":has", ":host", ":host-context", ":is", ":not", ":past", ":where" ]; function JAe(e) { var t, r = !1, n, i = !1, s, o; for (s = 0, o = e.length; s < o; s++) { if (n = e[s], !t) { if (n == gr.SINGLE_QUOTE || n == gr.DOUBLE_QUOTE) i = !i; else if (!i && (n == gr.CLOSE_CURLY_BRACKET || n == gr.EXCLAMATION || n == QAe || n == gr.SEMICOLON)) { r = !0; break; } else if (!i && s === 0 && P4.test(n)) { r = !0; break; } } t = n == gr.BACK_SLASH; } return r; } a(JAe, "hasInvalidCharacters"); function eTe(e, t) { var r = [], n, i, s, o, u, l, c, f, d, g, b, _, T = 0, p = !1, h = !1, S = !1, D = VAe.test(e), E = t && t.spaces[UAe.AroundSelectorRelation], C, m; for (C = 0, m = e.length; C < m; C++) { if (n = e[C], i = n == gr.NEW_LINE_NIX, s = n == gr.NEW_LINE_NIX && e[C - 1] == gr.CARRIAGE_RETURN, l = c || f, g = !d && !o && T === 0 && P4.test(n), b = $Ae.test(n), _ = T == 1 && n == gr.CLOSE_ROUND_BRACKET ? !1 : _ || T === 0 && n == gr.COLON && tTe(e, C), u && l && s) r.pop(), r.pop(); else if (o && l && i) r.pop(); else if (o) r.push(n); else if (n == gr.OPEN_SQUARE_BRACKET && !l) r.push(n), d = !0; else if (n == gr.CLOSE_SQUARE_BRACKET && !l) r.push(n), d = !1; else if (n == gr.OPEN_ROUND_BRACKET && !l) r.push(n), T++; else if (n == gr.CLOSE_ROUND_BRACKET && !l) r.push(n), T--; else if (n == gr.SINGLE_QUOTE && !l) r.push(n), c = !0; else if (n == gr.DOUBLE_QUOTE && !l) r.push(n), f = !0; else if (n == gr.SINGLE_QUOTE && l) r.push(n), c = !1; else if (n == gr.DOUBLE_QUOTE && l) r.push(n), f = !1; else { if (b && h && !E) continue; !b && h && E ? (r.push(gr.SPACE), r.push(n)) : b && !S && p && T > 0 && _ || (b && !S && T > 0 && _ ? r.push(n) : b && (d || T > 0) && !l || b && S && !l || (s || i) && (d || T > 0) && l || (g && S && !E ? (r.pop(), r.push(n)) : g && !S && E ? (r.push(gr.SPACE), r.push( n)) : b ? r.push(gr.SPACE) : r.push(n))); } u = o, o = n == gr.BACK_SLASH, h = g, S = b, p = n == gr.COMMA; } return D ? r.join("").replace(HAe, "$1 $2]") : r.join(""); } a(eTe, "removeWhitespace"); function tTe(e, t) { var r = e.substring(t, e.indexOf(gr.OPEN_ROUND_BRACKET, t)); return ZAe.indexOf(r) > -1; } a(tTe, "isPseudoClassWithSelectors"); function rTe(e) { return e.indexOf("'") == -1 && e.indexOf('"') == -1 ? e : e.replace(KAe, "=$1 $2").replace(WAe, "=$1$2").replace(jAe, "=$1 $2").replace( GAe, "=$1$2"); } a(rTe, "removeQuotes"); function nTe(e) { return e.replace("nth-child(1)", "first-child").replace("nth-of-type(1)", "first-of-type").replace("nth-of-type(even)", "nth-of-type(2n)"). replace("nth-child(even)", "nth-child(2n)").replace("nth-of-type(2n+1)", "nth-of-type(odd)").replace("nth-child(2n+1)", "nth-child(odd)"). replace("nth-last-child(1)", "last-child").replace("nth-last-of-type(1)", "last-of-type").replace("nth-last-of-type(even)", "nth-last-of\ -type(2n)").replace("nth-last-child(even)", "nth-last-child(2n)").replace("nth-last-of-type(2n+1)", "nth-last-of-type(odd)").replace("nth-la\ st-child(2n+1)", "nth-last-child(odd)"); } a(nTe, "replacePseudoClasses"); function iTe(e, t, r, n, i) { var s = [], o = []; function u(g, b) { return i.push("HTML comment '" + b + "' at " + gD(g[2][0]) + ". Removing."), ""; } a(u, "removeHTMLComment"); for (var l = 0, c = e.length; l < c; l++) { var f = e[l], d = f[1]; if (d = d.replace(zAe, u.bind(null, f)), JAe(d)) { i.push("Invalid selector '" + f[1] + "' at " + gD(f[2][0]) + ". Ignoring."); continue; } d = eTe(d, n), d = rTe(d), r && d.indexOf("nav") > 0 && (d = d.replace(/\+nav(\S|$)/, "+ nav$1")), !(t && d.indexOf(XAe) > -1) && (t && d.indexOf(YAe) > -1 || (d.indexOf("*") > -1 && (d = d.replace(/\*([:#.[])/g, "$1").replace(/^(:first-child)?\+html/, "*$1+html")), !(o. indexOf(d) > -1) && (d = nTe(d), f[1] = d, o.push(d), s.push(f)))); } return s.length == 1 && s[0][1].length === 0 && (i.push("Empty selector '" + s[0][1] + "' at " + gD(s[0][2][0]) + ". Ignoring."), s = []), s; } a(iTe, "tidyRules"); F4.exports = iTe; }); // ../node_modules/clean-css/lib/optimizer/level-1/tidy-block.js var N4 = y((SXe, I4) => { var aTe = /^@media\W/, sTe = /^@(?:keyframes|-moz-keyframes|-o-keyframes|-webkit-keyframes)\W/; function oTe(e, t) { var r, n, i; for (i = e.length - 1; i >= 0; i--) r = !t && aTe.test(e[i][1]), n = sTe.test(e[i][1]), e[i][1] = e[i][1].replace(/\n|\r\n/g, " ").replace(/\s+/g, " ").replace(/(,|:|\() /g, "$1").replace(/ \)/g, ")"), n && (e[i][1] = e[i][1].replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/, "$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/, "\ $1")), r && (e[i][1] = e[i][1].replace(/\) /g, ")")); return e; } a(oTe, "tidyBlock"); I4.exports = oTe; }); // ../node_modules/clean-css/lib/optimizer/level-1/tidy-at-rule.js var B4 = y((AXe, L4) => { function uTe(e) { return e.replace(/\s+/g, " ").replace(/url\(\s+/g, "url(").replace(/\s+\)/g, ")").trim(); } a(uTe, "tidyAtRule"); L4.exports = uTe; }); // ../node_modules/clean-css/lib/optimizer/hack.js var P_ = y((DXe, M4) => { var lTe = { ASTERISK: "asterisk", BANG: "bang", BACKSLASH: "backslash", UNDERSCORE: "underscore" }; M4.exports = lTe; }); // ../node_modules/clean-css/lib/optimizer/remove-unused.js var _D = y((xXe, q4) => { function cTe(e) { for (var t = e.length - 1; t >= 0; t--) { var r = e[t]; r.unused && r.all.splice(r.position, 1); } } a(cTe, "removeUnused"); q4.exports = cTe; }); // ../node_modules/clean-css/lib/optimizer/restore-from-optimizing.js var Uc = y((wXe, V4) => { var F_ = P_(), fTe = zn(), hTe = "*", pTe = "\\", dTe = "!important", mTe = "_", gTe = "!ie"; function _Te(e, t) { var r, n, i, s; for (s = e.length - 1; s >= 0; s--) { if (r = e[s], r.dynamic && r.important) { U4(r); continue; } r.dynamic || r.unused || !r.dirty && !r.important && !r.hack || (r.optimizable && t ? (n = t(r), r.value = n) : n = r.value, r.important && U4(r), r.hack && vTe(r), "all" in r && (i = r.all[r.position], i[1][1] = r.name, i.splice(2, i.length - 1), Array.prototype.push.apply( i, n))); } } a(_Te, "restoreFromOptimizing"); function U4(e) { e.value[e.value.length - 1][1] += dTe; } a(U4, "restoreImportant"); function vTe(e) { e.hack[0] == F_.UNDERSCORE ? e.name = mTe + e.name : e.hack[0] == F_.ASTERISK ? e.name = hTe + e.name : e.hack[0] == F_.BACKSLASH ? e.value[e. value.length - 1][1] += pTe + e.hack[1] : e.hack[0] == F_.BANG && (e.value[e.value.length - 1][1] += fTe.SPACE + gTe); } a(vTe, "restoreHack"); V4.exports = _Te; }); // ../node_modules/clean-css/lib/tokenizer/token.js var _r = y((RXe, H4) => { var bTe = { AT_RULE: "at-rule", // e.g. `@import`, `@charset` AT_RULE_BLOCK: "at-rule-block", // e.g. `@font-face{...}` AT_RULE_BLOCK_SCOPE: "at-rule-block-scope", // e.g. `@font-face` COMMENT: "comment", // e.g. `/* comment */` NESTED_BLOCK: "nested-block", // e.g. `@media screen{...}`, `@keyframes animation {...}` NESTED_BLOCK_SCOPE: "nested-block-scope", // e.g. `@media`, `@keyframes` PROPERTY: "property", // e.g. `color:red` PROPERTY_BLOCK: "property-block", // e.g. `--var:{color:red}` PROPERTY_NAME: "property-name", // e.g. `color` PROPERTY_VALUE: "property-value", // e.g. `red` RAW: "raw", // e.g. anything between /* clean-css ignore:start */ and /* clean-css ignore:end */ comments RULE: "rule", // e.g `div > a{...}` RULE_SCOPE: "rule-scope" // e.g `div > a` }; H4.exports = bTe; }); // ../node_modules/clean-css/lib/optimizer/wrap-for-optimizing.js var rl = y((kXe, z4) => { var Xa = P_(), j4 = zn(), I_ = _r(), Gr = { ASTERISK: "*", BACKSLASH: "\\", BANG: "!", BANG_SUFFIX_PATTERN: /!\w+$/, IMPORTANT_TOKEN: "!important", IMPORTANT_TOKEN_PATTERN: new RegExp("!important$", "i"), IMPORTANT_WORD: "important", IMPORTANT_WORD_PATTERN: new RegExp("important$", "i"), SUFFIX_BANG_PATTERN: /!$/, UNDERSCORE: "_", VARIABLE_REFERENCE_PATTERN: /var\(--.+\)$/ }; function yTe(e, t) { var r = [], n, i, s; for (s = e.length - 1; s >= 0; s--) i = e[s], i[0] == I_.PROPERTY && (t && t.indexOf(i[1][1]) > -1 || (n = G4(i), n.all = e, n.position = s, r.unshift(n))); return r; } a(yTe, "wrapAll"); function STe(e) { var t, r, n; for (t = 2, r = e.length; t < r; t++) if (n = e[t], n[0] == I_.PROPERTY_VALUE && ETe(n[1])) return !0; return !1; } a(STe, "someVariableReferences"); function ETe(e) { return Gr.VARIABLE_REFERENCE_PATTERN.test(e); } a(ETe, "isVariableReference"); function ATe(e) { var t, r, n; for (r = 3, n = e.length; r < n; r++) if (t = e[r], t[0] == I_.PROPERTY_VALUE && (t[1] == j4.COMMA || t[1] == j4.FORWARD_SLASH)) return !0; return !1; } a(ATe, "isMultiplex"); function TTe(e) { var t = !1, r = e[1][1], n = e[e.length - 1]; return r[0] == Gr.UNDERSCORE ? t = [Xa.UNDERSCORE] : r[0] == Gr.ASTERISK ? t = [Xa.ASTERISK] : n[1][0] == Gr.BANG && !n[1].match(Gr.IMPORTANT_WORD_PATTERN) ? t = [Xa.BANG] : n[1].indexOf(Gr.BANG) > 0 && !n[1].match(Gr.IMPORTANT_WORD_PATTERN) && Gr.BANG_SUFFIX_PATTERN.test(n[1]) ? t = [Xa.BANG] : n[1].indexOf(Gr.BACKSLASH) > 0 && n[1].indexOf(Gr.BACKSLASH) == n[1].length - Gr.BACKSLASH.length - 1 ? t = [Xa.BACKSLASH, n[1].substring( n[1].indexOf(Gr.BACKSLASH) + 1)] : n[1].indexOf(Gr.BACKSLASH) === 0 && n[1].length == 2 && (t = [Xa.BACKSLASH, n[1].substring(1)]), t; } a(TTe, "hackFrom"); function DTe(e) { if (e.length < 3) return !1; var t = e[e.length - 1]; return !!(Gr.IMPORTANT_TOKEN_PATTERN.test(t[1]) || Gr.IMPORTANT_WORD_PATTERN.test(t[1]) && Gr.SUFFIX_BANG_PATTERN.test(e[e.length - 2][1])); } a(DTe, "isImportant"); function xTe(e) { var t = e[e.length - 1], r = e[e.length - 2]; Gr.IMPORTANT_TOKEN_PATTERN.test(t[1]) ? t[1] = t[1].replace(Gr.IMPORTANT_TOKEN_PATTERN, "") : (t[1] = t[1].replace(Gr.IMPORTANT_WORD_PATTERN, ""), r[1] = r[1].replace(Gr.SUFFIX_BANG_PATTERN, "")), t[1].length === 0 && e.pop(), r[1].length === 0 && e.pop(); } a(xTe, "stripImportant"); function CTe(e) { e[1][1] = e[1][1].substring(1); } a(CTe, "stripPrefixHack"); function wTe(e, t) { var r = e[e.length - 1]; r[1] = r[1].substring(0, r[1].indexOf(t[0] == Xa.BACKSLASH ? Gr.BACKSLASH : Gr.BANG)).trim(), r[1].length === 0 && e.pop(); } a(wTe, "stripSuffixHack"); function G4(e) { var t = DTe(e); t && xTe(e); var r = TTe(e); return r[0] == Xa.ASTERISK || r[0] == Xa.UNDERSCORE ? CTe(e) : (r[0] == Xa.BACKSLASH || r[0] == Xa.BANG) && wTe(e, r), { block: e[2] && e[2][0] == I_.PROPERTY_BLOCK, components: [], dirty: !1, dynamic: STe(e), hack: r, important: t, name: e[1][1], multiplex: e.length > 3 ? ATe(e) : !1, optimizable: !0, position: 0, shorthand: !1, unused: !1, value: e.slice(2) }; } a(G4, "wrapSingle"); z4.exports = { all: yTe, single: G4 }; }); // ../node_modules/clean-css/lib/optimizer/invalid-property-error.js var vD = y((FXe, K4) => { function N_(e) { this.name = "InvalidPropertyError", this.message = e, this.stack = new Error().stack; } a(N_, "InvalidPropertyError"); N_.prototype = Object.create(Error.prototype); N_.prototype.constructor = N_; K4.exports = N_; }); // ../node_modules/clean-css/lib/optimizer/configuration/break-up.js var X4 = y((NXe, $4) => { var na = vD(), L_ = rl().single, ra = _r(), nu = zn(), ia = Yh(); function yD(e) { var t, r; for (t = 0, r = e.length; t < r; t++) if (e[t][1] == "inherit") return !0; return !1; } a(yD, "_anyIsInherit"); function OTe(e) { return function(t) { return t[1] == "invert" || e.isColor(t[1]) || e.isPrefixed(t[1]); }; } a(OTe, "_colorFilter"); function RTe(e) { return function(t) { return t[1] != "inherit" && e.isStyleKeyword(t[1]) && !e.isColorFunction(t[1]); }; } a(RTe, "_styleFilter"); function bt(e, t, r) { var n = r[e]; return n.doubleValues && n.defaultValue.length == 2 ? L_([ ra.PROPERTY, [ra.PROPERTY_NAME, e], [ra.PROPERTY_VALUE, n.defaultValue[0]], [ra.PROPERTY_VALUE, n.defaultValue[1]] ]) : n.doubleValues && n.defaultValue.length == 1 ? L_([ ra.PROPERTY, [ra.PROPERTY_NAME, e], [ra.PROPERTY_VALUE, n.defaultValue[0]] ]) : L_([ ra.PROPERTY, [ra.PROPERTY_NAME, e], [ra.PROPERTY_VALUE, n.defaultValue] ]); } a(bt, "_wrapDefault"); function kTe(e) { return function(t) { return t[1] != "inherit" && (e.isWidth(t[1]) || e.isUnit(t[1]) || e.isDynamicUnit(t[1])) && !e.isStyleKeyword(t[1]) && !e.isColorFunction( t[1]); }; } a(kTe, "_widthFilter"); function PTe(e, t, r) { var n = bt(e.name + "-duration", e, t), i = bt(e.name + "-timing-function", e, t), s = bt(e.name + "-delay", e, t), o = bt(e.name + "-it\ eration-count", e, t), u = bt(e.name + "-direction", e, t), l = bt(e.name + "-fill-mode", e, t), c = bt(e.name + "-play-state", e, t), f = bt( e.name + "-name", e, t), d = [n, i, s, o, u, l, c, f], g = e.value, b, _ = !1, T = !1, p = !1, h = !1, S = !1, D = !1, E = !1, C = !1, m, v; if (e.value.length == 1 && e.value[0][1] == "inherit") return n.value = i.value = s.value = o.value = u.value = l.value = c.value = f.value = e.value, d; if (g.length > 1 && yD(g)) throw new na("Invalid animation values at " + ia(g[0][2][0]) + ". Ignoring."); for (m = 0, v = g.length; m < v; m++) if (b = g[m], r.isTime(b[1]) && !_) n.value = [b], _ = !0; else if (r.isTime(b[1]) && !p) s.value = [b], p = !0; else if ((r.isGlobal(b[1]) || r.isTimingFunction(b[1])) && !T) i.value = [b], T = !0; else if ((r.isAnimationIterationCountKeyword(b[1]) || r.isPositiveNumber(b[1])) && !h) o.value = [b], h = !0; else if (r.isAnimationDirectionKeyword(b[1]) && !S) u.value = [b], S = !0; else if (r.isAnimationFillModeKeyword(b[1]) && !D) l.value = [b], D = !0; else if (r.isAnimationPlayStateKeyword(b[1]) && !E) c.value = [b], E = !0; else if ((r.isAnimationNameKeyword(b[1]) || r.isIdentifier(b[1])) && !C) f.value = [b], C = !0; else throw new na("Invalid animation value at " + ia(b[2][0]) + ". Ignoring."); return d; } a(PTe, "animation"); function FTe(e, t, r) { var n = bt("background-image", e, t), i = bt("background-position", e, t), s = bt("background-size", e, t), o = bt("background-repeat", e, t), u = bt("background-attachment", e, t), l = bt("background-origin", e, t), c = bt("background-clip", e, t), f = bt("background-color", e, t), d = [n, i, s, o, u, l, c, f], g = e.value, b = !1, _ = !1, T = !1, p = !1, h = !1; if (e.value.length == 1 && e.value[0][1] == "inherit") return f.value = n.value = o.value = i.value = s.value = l.value = c.value = e.value, d; if (e.value.length == 1 && e.value[0][1] == "0 0") return d; for (var S = g.length - 1; S >= 0; S--) { var D = g[S]; if (r.isBackgroundAttachmentKeyword(D[1])) u.value = [D], h = !0; else if (r.isBackgroundClipKeyword(D[1]) || r.isBackgroundOriginKeyword(D[1])) _ ? (l.value = [D], T = !0) : (c.value = [D], _ = !0), h = !0; else if (r.isBackgroundRepeatKeyword(D[1])) p ? o.value.unshift(D) : (o.value = [D], p = !0), h = !0; else if (r.isBackgroundPositionKeyword(D[1]) || r.isBackgroundSizeKeyword(D[1]) || r.isUnit(D[1]) || r.isDynamicUnit(D[1])) { if (S > 0) { var E = g[S - 1]; E[1] == nu.FORWARD_SLASH ? s.value = [D] : S > 1 && g[S - 2][1] == nu.FORWARD_SLASH ? (s.value = [E, D], S -= 2) : (b || (i.value = []), i.value.unshift(D), b = !0); } else b || (i.value = []), i.value.unshift(D), b = !0; h = !0; } else (f.value[0][1] == t[f.name].defaultValue || f.value[0][1] == "none") && (r.isColor(D[1]) || r.isPrefixed(D[1])) ? (f.value = [D], h = !0) : (r.isUrl(D[1]) || r.isFunction(D[1])) && (n.value = [D], h = !0); } if (_ && !T && (l.value = c.value.slice(0)), !h) throw new na("Invalid background value at " + ia(g[0][2][0]) + ". Ignoring."); return d; } a(FTe, "background"); function ITe(e, t) { for (var r = e.value, n = -1, i = 0, s = r.length; i < s; i++) if (r[i][1] == nu.FORWARD_SLASH) { n = i; break; } if (n === 0 || n === r.length - 1) throw new na("Invalid border-radius value at " + ia(r[0][2][0]) + ". Ignoring."); var o = bt(e.name, e, t); o.value = n > -1 ? r.slice(0, n) : r.slice(0), o.components = bD(o, t); var u = bt(e.name, e, t); u.value = n > -1 ? r.slice(n + 1) : r.slice(0), u.components = bD(u, t); for (var l = 0; l < 4; l++) o.components[l].multiplex = !0, o.components[l].value = o.components[l].value.concat(u.components[l].value); return o.components; } a(ITe, "borderRadius"); function NTe(e, t, r) { var n = bt("font-style", e, t), i = bt("font-variant", e, t), s = bt("font-weight", e, t), o = bt("font-stretch", e, t), u = bt("font-si\ ze", e, t), l = bt("line-height", e, t), c = bt("font-family", e, t), f = [n, i, s, o, u, l, c], d = e.value, g = 4, b = 0, _ = !1, T, p = !1, h, S = !1, D, E = !1, C, m = !1; if (!d[b]) throw new na("Missing font values at " + ia(e.all[e.position][1][2][0]) + ". Ignoring."); if (d.length == 1 && d[0][1] == "inherit") return n.value = i.value = s.value = o.value = u.value = l.value = c.value = d, f; if (d.length == 1 && (r.isFontKeyword(d[0][1]) || r.isGlobal(d[0][1]) || r.isPrefixed(d[0][1]))) return d[0][1] = nu.INTERNAL + d[0][1], n.value = i.value = s.value = o.value = u.value = l.value = c.value = d, f; if (d.length < 2 || !LTe(d, r) || !BTe(d, r)) throw new na("Invalid font values at " + ia(e.all[e.position][1][2][0]) + ". Ignoring."); if (d.length > 1 && yD(d)) throw new na("Invalid font values at " + ia(d[0][2][0]) + ". Ignoring."); for (; b < g; ) { if (T = r.isFontStretchKeyword(d[b][1]) || r.isGlobal(d[b][1]), h = r.isFontStyleKeyword(d[b][1]) || r.isGlobal(d[b][1]), D = r.isFontVariantKeyword( d[b][1]) || r.isGlobal(d[b][1]), C = r.isFontWeightKeyword(d[b][1]) || r.isGlobal(d[b][1]), h && !p) n.value = [d[b]], p = !0; else if (D && !S) i.value = [d[b]], S = !0; else if (C && !E) s.value = [d[b]], E = !0; else if (T && !_) o.value = [d[b]], _ = !0; else { if (h && p || D && S || C && E || T && _) throw new na("Invalid font style / variant / weight / stretch value at " + ia(d[0][2][0]) + ". Ignoring."); break; } b++; } if (r.isFontSizeKeyword(d[b][1]) || r.isUnit(d[b][1]) && !r.isDynamicUnit(d[b][1])) u.value = [d[b]], b++; else throw new na("Missing font size at " + ia(d[0][2][0]) + ". Ignoring."); if (!d[b]) throw new na("Missing font family at " + ia(d[0][2][0]) + ". Ignoring."); for (d[b] && d[b][1] == nu.FORWARD_SLASH && d[b + 1] && (r.isLineHeightKeyword(d[b + 1][1]) || r.isUnit(d[b + 1][1]) || r.isNumber(d[b + 1][1])) && (l.value = [d[b + 1]], b++, b++), c.value = []; d[b]; ) d[b][1] == nu.COMMA ? m = !1 : (m ? c.value[c.value.length - 1][1] += nu.SPACE + d[b][1] : c.value.push(d[b]), m = !0), b++; if (c.value.length === 0) throw new na("Missing font family at " + ia(d[0][2][0]) + ". Ignoring."); return f; } a(NTe, "font"); function LTe(e, t) { var r, n, i; for (n = 0, i = e.length; n < i; n++) if (r = e[n], t.isFontSizeKeyword(r[1]) || t.isUnit(r[1]) && !t.isDynamicUnit(r[1]) || t.isFunction(r[1])) return !0; return !1; } a(LTe, "_anyIsFontSize"); function BTe(e, t) { var r, n, i; for (n = 0, i = e.length; n < i; n++) if (r = e[n], t.isIdentifier(r[1]) || t.isQuotedText(r[1])) return !0; return !1; } a(BTe, "_anyIsFontFamily"); function bD(e, t) { var r = t[e.name].components, n = [], i = e.value; if (i.length < 1) return []; i.length < 2 && (i[1] = i[0].slice(0)), i.length < 3 && (i[2] = i[0].slice(0)), i.length < 4 && (i[3] = i[1].slice(0)); for (var s = r.length - 1; s >= 0; s--) { var o = L_([ ra.PROPERTY, [ra.PROPERTY_NAME, r[s]] ]); o.value = [i[s]], n.unshift(o); } return n; } a(bD, "fourValues"); function MTe(e) { return function(t, r, n) { var i = [], s = t.value, o, u, l, c; for (o = 0, l = s.length; o < l; o++) s[o][1] == "," && i.push(o); if (i.length === 0) return e(t, r, n); var f = []; for (o = 0, l = i.length; o <= l; o++) { var d = o === 0 ? 0 : i[o - 1] + 1, g = o < l ? i[o] : s.length, b = bt(t.name, t, r); b.value = s.slice(d, g), b.value.length > 0 && f.push(e(b, r, n)); } var _ = f[0]; for (o = 0, l = _.length; o < l; o++) for (_[o].multiplex = !0, u = 1, c = f.length; u < c; u++) _[o].value.push([ra.PROPERTY_VALUE, nu.COMMA]), Array.prototype.push.apply(_[o].value, f[u][o].value); return _; }; } a(MTe, "multiplex"); function qTe(e, t, r) { var n = bt("list-style-type", e, t), i = bt("list-style-position", e, t), s = bt("list-style-image", e, t), o = [n, i, s]; if (e.value.length == 1 && e.value[0][1] == "inherit") return n.value = i.value = s.value = [e.value[0]], o; var u = e.value.slice(0), l = u.length, c = 0; for (c = 0, l = u.length; c < l; c++) if (r.isUrl(u[c][1]) || u[c][1] == "0") { s.value = [u[c]], u.splice(c, 1); break; } for (c = 0, l = u.length; c < l; c++) if (r.isListStylePositionKeyword(u[c][1])) { i.value = [u[c]], u.splice(c, 1); break; } return u.length > 0 && (r.isListStyleTypeKeyword(u[0][1]) || r.isIdentifier(u[0][1])) && (n.value = [u[0]]), o; } a(qTe, "listStyle"); function UTe(e, t, r) { var n = bt(e.name + "-property", e, t), i = bt(e.name + "-duration", e, t), s = bt(e.name + "-timing-function", e, t), o = bt(e.name + "\ -delay", e, t), u = [n, i, s, o], l = e.value, c, f = !1, d = !1, g = !1, b = !1, _, T; if (e.value.length == 1 && e.value[0][1] == "inherit") return n.value = i.value = s.value = o.value = e.value, u; if (l.length > 1 && yD(l)) throw new na("Invalid animation values at " + ia(l[0][2][0]) + ". Ignoring."); for (_ = 0, T = l.length; _ < T; _++) if (c = l[_], r.isTime(c[1]) && !f) i.value = [c], f = !0; else if (r.isTime(c[1]) && !d) o.value = [c], d = !0; else if ((r.isGlobal(c[1]) || r.isTimingFunction(c[1])) && !b) s.value = [c], b = !0; else if (r.isIdentifier(c[1]) && !g) n.value = [c], g = !0; else throw new na("Invalid animation value at " + ia(c[2][0]) + ". Ignoring."); return u; } a(UTe, "transition"); function W4(e, t, r) { for (var n = t[e.name], i = [ bt(n.components[0], e, t), bt(n.components[1], e, t), bt(n.components[2], e, t) ], s, o, u, l = 0; l < 3; l++) { var c = i[l]; c.name.indexOf("color") > 0 ? s = c : c.name.indexOf("style") > 0 ? o = c : u = c; } if (e.value.length == 1 && e.value[0][1] == "inherit" || e.value.length == 3 && e.value[0][1] == "inherit" && e.value[1][1] == "inherit" && e.value[2][1] == "inherit") return s.value = o.value = u.value = [e.value[0]], i; var f = e.value.slice(0), d, g; return f.length > 0 && (g = f.filter(kTe(r)), d = g.length > 1 && (g[0][1] == "none" || g[0][1] == "auto") ? g[1] : g[0], d && (u.value = [d], f.splice(f.indexOf(d), 1))), f.length > 0 && (d = f.filter(RTe(r))[0], d && (o.value = [d], f.splice(f.indexOf(d), 1))), f.length > 0 && (d = f.filter(OTe(r))[0], d && (s.value = [d], f.splice(f.indexOf(d), 1))), i; } a(W4, "widthStyleColor"); $4.exports = { animation: PTe, background: FTe, border: W4, borderRadius: ITe, font: NTe, fourValues: bD, listStyle: qTe, multiplex: MTe, outline: W4, transition: UTe }; }); // ../node_modules/clean-css/lib/optimizer/vendor-prefixes.js var ED = y((BXe, Y4) => { var VTe = /(?:^|\W)(-\w+-)/g; function SD(e) { for (var t = [], r; (r = VTe.exec(e)) !== null; ) t.indexOf(r[0]) == -1 && t.push(r[0]); return t; } a(SD, "unique"); function HTe(e, t) { return SD(e).sort().join(",") == SD(t).sort().join(","); } a(HTe, "same"); Y4.exports = { unique: SD, same: HTe }; }); // ../node_modules/clean-css/lib/optimizer/configuration/properties/understandable.js var Z4 = y((qXe, Q4) => { var jTe = ED().same; function GTe(e, t, r, n, i) { return !(!jTe(t, r) || i && e.isVariable(t) !== e.isVariable(r)); } a(GTe, "understandable"); Q4.exports = GTe; }); // ../node_modules/clean-css/lib/optimizer/configuration/can-override.js var tH = y((VXe, eH) => { var ii = Z4(); function zTe(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isAnimationIterationCountKeyword(r) || e.isPositiveNumber(r)) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isAnimationIterationCountKeyword(r) || e.isPositiveNumber(r); } a(zTe, "animationIterationCount"); function KTe(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isAnimationNameKeyword(r) || e.isIdentifier(r)) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isAnimationNameKeyword( r) || e.isIdentifier(r); } a(KTe, "animationName"); function J4(e, t, r) { if (!e.isFunction(t) || !e.isFunction(r)) return !1; var n = t.substring(0, t.indexOf("(")), i = r.substring(0, r.indexOf("(")), s = t.substring(n.length + 1, t.length - 1), o = r.substring( i.length + 1, r.length - 1); return e.isFunction(s) || e.isFunction(o) ? n === i && J4(e, s, o) : n === i; } a(J4, "areSameFunction"); function WTe(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isBackgroundPositionKeyword(r) || e.isGlobal(r)) ? !1 : e.isVariable(t) && e.isVariable(r) || e.isBackgroundPositionKeyword( r) || e.isGlobal(r) ? !0 : B_(e, t, r); } a(WTe, "backgroundPosition"); function $Te(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isBackgroundSizeKeyword(r) || e.isGlobal(r)) ? !1 : e.isVariable(t) && e.isVariable(r) || e.isBackgroundSizeKeyword( r) || e.isGlobal(r) ? !0 : B_(e, t, r); } a($Te, "backgroundSize"); function XTe(e, t, r) { return !ii(e, t, r, 0, !0) && !e.isColor(r) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : !e.colorOpacity && (e.isRgbColor(t) || e.isHslColor( t)) || !e.colorOpacity && (e.isRgbColor(r) || e.isHslColor(r)) || !e.colorHexAlpha && (e.isHexAlphaColor(t) || e.isHexAlphaColor(r)) ? !1 : e.isColor(t) && e.isColor(r) ? !0 : Vc(e, t, r); } a(XTe, "color"); function YTe(e) { return function(t, r, n, i) { return e[i](t, r, n); }; } a(YTe, "components"); function QTe(e, t, r) { return ii(e, t, r, 0, !0); } a(QTe, "fontFamily"); function ZTe(e, t, r) { return !ii(e, t, r, 0, !0) && !e.isImage(r) ? !1 : e.isVariable(t) && e.isVariable(r) || e.isImage(r) ? !0 : e.isImage(t) ? !1 : Vc(e, t, r); } a(ZTe, "image"); function Qh(e) { return function(t, r, n) { return !ii(t, r, n, 0, !0) && !t.isKeyword(e)(n) ? !1 : t.isVariable(r) && t.isVariable(n) ? !0 : t.isKeyword(e)(n); }; } a(Qh, "keyword"); function Pr(e) { return function(t, r, n) { return !ii(t, r, n, 0, !0) && !(t.isKeyword(e)(n) || t.isGlobal(n)) ? !1 : t.isVariable(r) && t.isVariable(n) ? !0 : t.isKeyword(e)(n) || t.isGlobal(n); }; } a(Pr, "keywordWithGlobal"); function JTe(e, t, r) { return !ii(e, t, r, 0, !0) && !e.isIdentifier(r) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isIdentifier(r); } a(JTe, "propertyName"); function Vc(e, t, r) { return J4(e, t, r) ? !0 : t === r; } a(Vc, "sameFunctionOrValue"); function eDe(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isUnit(r) || e.isColor(r) || e.isGlobal(r)) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isUnit( r) || e.isColor(r) || e.isGlobal(r); } a(eDe, "textShadow"); function tDe(e, t, r) { return !ii(e, t, r, 0, !0) && !e.isTime(r) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isTime(t) && !e.isTime(r) ? !1 : e.isTime( r) ? !0 : e.isTime(t) ? !1 : e.isFunction(t) && !e.isPrefixed(t) && e.isFunction(r) && !e.isPrefixed(r) ? !0 : Vc(e, t, r); } a(tDe, "time"); function rDe(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isTimingFunction(r) || e.isGlobal(r)) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isTimingFunction( r) || e.isGlobal(r); } a(rDe, "timingFunction"); function B_(e, t, r) { return !ii(e, t, r, 0, !0) && !e.isUnit(r) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isUnit(t) && !e.isUnit(r) ? !1 : e.isUnit( r) ? !0 : e.isUnit(t) ? !1 : e.isFunction(t) && !e.isPrefixed(t) && e.isFunction(r) && !e.isPrefixed(r) ? !0 : Vc(e, t, r); } a(B_, "unit"); function Zh(e) { var t = Pr(e); return function(r, n, i) { return B_(r, n, i) || t(r, n, i); }; } a(Zh, "unitOrKeywordWithGlobal"); function nDe(e, t, r) { return !ii(e, t, r, 0, !0) && !(e.isUnit(r) || e.isNumber(r)) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : (e.isUnit(t) || e.isNumber( t)) && !(e.isUnit(r) || e.isNumber(r)) ? !1 : e.isUnit(r) || e.isNumber(r) ? !0 : e.isUnit(t) || e.isNumber(t) ? !1 : e.isFunction(t) && !e.isPrefixed(t) && e.isFunction(r) && !e.isPrefixed(r) ? !0 : Vc(e, t, r); } a(nDe, "unitOrNumber"); function iDe(e, t, r) { return !ii(e, t, r, 0, !0) && !e.isZIndex(r) ? !1 : e.isVariable(t) && e.isVariable(r) ? !0 : e.isZIndex(r); } a(iDe, "zIndex"); eH.exports = { generic: { color: XTe, components: YTe, image: ZTe, propertyName: JTe, time: tDe, timingFunction: rDe, unit: B_, unitOrNumber: nDe }, property: { animationDirection: Pr("animation-direction"), animationFillMode: Qh("animation-fill-mode"), animationIterationCount: zTe, animationName: KTe, animationPlayState: Pr("animation-play-state"), backgroundAttachment: Qh("background-attachment"), backgroundClip: Pr("background-clip"), backgroundOrigin: Qh("background-origin"), backgroundPosition: WTe, backgroundRepeat: Qh("background-repeat"), backgroundSize: $Te, bottom: Zh("bottom"), borderCollapse: Qh("border-collapse"), borderStyle: Pr("*-style"), clear: Pr("clear"), cursor: Pr("cursor"), display: Pr("display"), float: Pr("float"), left: Zh("left"), fontFamily: QTe, fontStretch: Pr("font-stretch"), fontStyle: Pr("font-style"), fontVariant: Pr("font-variant"), fontWeight: Pr("font-weight"), listStyleType: Pr("list-style-type"), listStylePosition: Pr("list-style-position"), outlineStyle: Pr("*-style"), overflow: Pr("overflow"), position: Pr("position"), right: Zh("right"), textAlign: Pr("text-align"), textDecoration: Pr("text-decoration"), textOverflow: Pr("text-overflow"), textShadow: eDe, top: Zh("top"), transform: Vc, verticalAlign: Zh("vertical-align"), visibility: Pr("visibility"), whiteSpace: Pr("white-space"), zIndex: iDe } }; }); // ../node_modules/clean-css/lib/optimizer/clone.js var Jh = y((jXe, nH) => { var aDe = rl().single, rH = _r(); function sDe(e) { for (var t = AD(e), r = e.components.length - 1; r >= 0; r--) { var n = AD(e.components[r]); n.value = e.components[r].value.slice(0), t.components.unshift(n); } return t.dirty = !0, t.value = e.value.slice(0), t; } a(sDe, "deep"); function AD(e) { var t = aDe([ rH.PROPERTY, [rH.PROPERTY_NAME, e.name] ]); return t.important = e.important, t.hack = e.hack, t.unused = !1, t; } a(AD, "shallow"); nH.exports = { deep: sDe, shallow: AD }; }); // ../node_modules/clean-css/lib/optimizer/configuration/restore.js var aH = y((zXe, iH) => { var Hc = Jh().shallow, nl = _r(), Ya = zn(); function TD(e) { for (var t = 0, r = e.length; t < r; t++) { var n = e[t][1]; if (n != "inherit" && n != Ya.COMMA && n != Ya.FORWARD_SLASH) return !1; } return !0; } a(TD, "isInheritOnly"); function oDe(e, t, r) { var n = e.components, i = [], s, o; function u(p) { Array.prototype.unshift.apply(i, p.value); } a(u, "restoreValue"); function l(p) { var h = t[p.name]; return h.doubleValues && h.defaultValue.length == 1 ? p.value[0][1] == h.defaultValue[0] && (p.value[1] ? p.value[1][1] == h.defaultValue[0] : !0) : h.doubleValues && h.defaultValue.length != 1 ? p.value[0][1] == h.defaultValue[0] && (p.value[1] ? p.value[1][1] : p.value[0][1]) == h.defaultValue[1] : p.value[0][1] == h.defaultValue; } a(l, "isDefaultValue"); for (var c = n.length - 1; c >= 0; c--) { var f = n[c], d = l(f); if (f.name == "background-clip") { var g = n[c - 1], b = l(g); s = f.value[0][1] == g.value[0][1], o = !s && (b && !d || !b && !d || !b && d && f.value[0][1] != g.value[0][1]), s ? u(g) : o && (u( f), u(g)), c--; } else if (f.name == "background-size") { var _ = n[c - 1], T = l(_); s = !T && d, o = !s && (T && !d || !T && !d), s ? u(_) : o ? (u(f), i.unshift([nl.PROPERTY_VALUE, Ya.FORWARD_SLASH]), u(_)) : _.value. length == 1 && u(_), c--; } else { if (d || t[f.name].multiplexLastOnly && !r) continue; u(f); } } return i.length === 0 && e.value.length == 1 && e.value[0][1] == "0" && i.push(e.value[0]), i.length === 0 && i.push([nl.PROPERTY_VALUE, t[e.name].defaultValue]), TD(i) ? [i[0]] : i; } a(oDe, "background"); function uDe(e) { if (e.multiplex) { for (var t = Hc(e), r = Hc(e), n = 0; n < 4; n++) { var i = e.components[n], s = Hc(e); s.value = [i.value[0]], t.components.push(s); var o = Hc(e); o.value = [i.value[1] || i.value[0]], r.components.push(o); } var u = M_(t), l = M_(r); return u.length == l.length && u[0][1] == l[0][1] && (!(u.length > 1) || u[1][1] == l[1][1]) && (!(u.length > 2) || u[2][1] == l[2][1]) && (!(u.length > 3) || u[3][1] == l[3][1]) ? u : u.concat([[nl.PROPERTY_VALUE, Ya.FORWARD_SLASH]]).concat(l); } return M_(e); } a(uDe, "borderRadius"); function lDe(e, t) { var r = e.components, n = [], i, s = 0, o = 0; if (e.value[0][1].indexOf(Ya.INTERNAL) === 0) return e.value[0][1] = e.value[0][1].substring(Ya.INTERNAL.length), e.value; for (; s < 4; ) i = r[s], i.value[0][1] != t[i.name].defaultValue && Array.prototype.push.apply(n, i.value), s++; for (Array.prototype.push.apply(n, r[s].value), s++, r[s].value[0][1] != t[r[s].name].defaultValue && (Array.prototype.push.apply(n, [[nl. PROPERTY_VALUE, Ya.FORWARD_SLASH]]), Array.prototype.push.apply(n, r[s].value)), s++; r[s].value[o]; ) n.push(r[s].value[o]), r[s].value[o + 1] && n.push([nl.PROPERTY_VALUE, Ya.COMMA]), o++; return TD(n) ? [n[0]] : n; } a(lDe, "font"); function M_(e) { var t = e.components, r = t[0].value[0], n = t[1].value[0], i = t[2].value[0], s = t[3].value[0]; return r[1] == n[1] && r[1] == i[1] && r[1] == s[1] ? [r] : r[1] == i[1] && n[1] == s[1] ? [r, n] : n[1] == s[1] ? [r, n, i] : [r, n, i, s]; } a(M_, "fourValues"); function cDe(e) { return function(t, r) { if (!t.multiplex) return e(t, r, !0); var n = 0, i = [], s = {}, o, u; for (o = 0, u = t.components[0].value.length; o < u; o++) t.components[0].value[o][1] == Ya.COMMA && n++; for (o = 0; o <= n; o++) { for (var l = Hc(t), c = 0, f = t.components.length; c < f; c++) { var d = t.components[c], g = Hc(d); l.components.push(g); for (var b = s[g.name] || 0, _ = d.value.length; b < _; b++) { if (d.value[b][1] == Ya.COMMA) { s[g.name] = b + 1; break; } g.value.push(d.value[b]); } } var T = o == n, p = e(l, r, T); Array.prototype.push.apply(i, p), o < n && i.push([nl.PROPERTY_VALUE, Ya.COMMA]); } return i; }; } a(cDe, "multiplex"); function fDe(e, t) { for (var r = e.components, n = [], i = r.length - 1; i >= 0; i--) { var s = r[i], o = t[s.name]; (s.value[0][1] != o.defaultValue || "keepUnlessDefault" in o && !hDe(r, t, o.keepUnlessDefault)) && n.unshift(s.value[0]); } return n.length === 0 && n.push([nl.PROPERTY_VALUE, t[e.name].defaultValue]), TD(n) ? [n[0]] : n; } a(fDe, "withoutDefaults"); function hDe(e, t, r) { var n, i, s; for (i = 0, s = e.length; i < s; i++) if (n = e[i], n.name == r && n.value[0][1] == t[r].defaultValue) return !0; return !1; } a(hDe, "isDefault"); iH.exports = { background: oDe, borderRadius: uDe, font: lDe, fourValues: M_, multiplex: cDe, withoutDefaults: fDe }; }); // ../node_modules/clean-css/lib/options/rounding-precision.js var DD = y((WXe, oH) => { var sH = el(), pDe = /^\d+$/, dDe = ["*", "all"], Gc = "off", mDe = ",", gDe = "="; function _De(e) { return sH(jc(Gc), vDe(e)); } a(_De, "roundingPrecisionFrom"); function jc(e) { return { ch: e, cm: e, em: e, ex: e, in: e, mm: e, pc: e, pt: e, px: e, q: e, rem: e, vh: e, vmax: e, vmin: e, vw: e, "%": e }; } a(jc, "defaults"); function vDe(e) { return e == null ? {} : typeof e == "boolean" ? {} : typeof e == "number" && e == -1 ? jc(Gc) : typeof e == "number" ? jc(e) : typeof e == "string" && pDe.test(e) ? jc(parseInt(e)) : typeof e == "string" && e == Gc ? jc(Gc) : typeof e == "object" ? e : e.split(mDe).reduce(function(t, r) { var n = r.split(gDe), i = n[0], s = parseInt(n[1]); return (Number.isNaN(s) || s == -1) && (s = Gc), dDe.indexOf(i) > -1 ? t = sH(t, jc(s)) : t[i] = s, t; }, {}); } a(vDe, "buildPrecisionFrom"); oH.exports = { DEFAULT: Gc, roundingPrecisionFrom: _De }; }); // ../node_modules/clean-css/lib/options/optimization-level.js var Zr = y((XXe, lH) => { var uH = DD().roundingPrecisionFrom, Qa = el(), sl = { Zero: "0", One: "1", Two: "2" }, rp = {}; rp[sl.Zero] = {}; rp[sl.One] = { cleanupCharsets: !0, normalizeUrls: !0, optimizeBackground: !0, optimizeBorderRadius: !0, optimizeFilter: !0, optimizeFontWeight: !0, optimizeOutline: !0, removeEmpty: !0, removeNegativePaddings: !0, removeQuotes: !0, removeWhitespace: !0, replaceMultipleZeros: !0, replaceTimeUnits: !0, replaceZeroUnits: !0, roundingPrecision: uH(void 0), selectorsSortingMethod: "standard", specialComments: "all", tidyAtRules: !0, tidyBlockScopes: !0, tidySelectors: !0, variableValueOptimizers: [] }; rp[sl.Two] = { mergeAdjacentRules: !0, mergeIntoShorthands: !0, mergeMedia: !0, mergeNonAdjacentRules: !0, mergeSemantically: !1, overrideProperties: !0, removeEmpty: !0, reduceNonAdjacentRules: !0, removeDuplicateFontRules: !0, removeDuplicateMediaBlocks: !0, removeDuplicateRules: !0, removeUnusedAtRules: !1, restructureRules: !1, skipProperties: [] }; var il = "*", al = "all", bDe = "false", yDe = "off", SDe = "true", EDe = "on", ADe = ",", TDe = ";", DDe = ":"; function xDe(e) { var t = Qa(rp, {}), r = sl.Zero, n = sl.One, i = sl.Two; return e === void 0 ? (delete t[i], t) : (typeof e == "string" && (e = parseInt(e)), typeof e == "number" && e === parseInt(i) ? t : typeof e == "number" && e === parseInt(n) ? (delete t[i], t) : typeof e == "number" && e === parseInt(r) ? (delete t[i], delete t[n], t) : (typeof e == "object" && (e = CDe(e)), n in e && "roundingPrecision" in e[n] && (e[n].roundingPrecision = uH(e[n].roundingPrecision)), i in e && "ski\ pProperties" in e[i] && typeof e[i].skipProperties == "string" && (e[i].skipProperties = e[i].skipProperties.split(ADe)), (r in e || n in e || i in e) && (t[r] = Qa(t[r], e[r])), n in e && il in e[n] && (t[n] = Qa(t[n], ep(n, tp(e[n][il]))), delete e[n][il]), n in e && al in e[n] && (t[n] = Qa(t[n], ep(n, tp(e[n][al]))), delete e[n][al]), n in e || i in e ? t[n] = Qa(t[n], e[n]) : delete t[n], i in e && il in e[i] && (t[i] = Qa(t[i], ep(i, tp(e[i][il]))), delete e[i][il]), i in e && al in e[i] && (t[i] = Qa(t[i], ep(i, tp(e[i][al]))), delete e[i][al]), i in e ? t[i] = Qa(t[i], e[i]) : delete t[i], t)); } a(xDe, "optimizationLevelFrom"); function ep(e, t) { var r = Qa(rp[e], {}), n; for (n in r) typeof r[n] == "boolean" && (r[n] = t); return r; } a(ep, "defaults"); function tp(e) { switch (e) { case bDe: case yDe: return !1; case SDe: case EDe: return !0; default: return e; } } a(tp, "normalizeValue"); function CDe(e) { var t = Qa(e, {}), r, n; for (n = 0; n <= 2; n++) r = "" + n, r in t && (t[r] === void 0 || t[r] === !1) && delete t[r], r in t && t[r] === !0 && (t[r] = {}), r in t && typeof t[r] == "\ string" && (t[r] = wDe(t[r], r)); return t; } a(CDe, "covertValuesToHashes"); function wDe(e, t) { return e.split(TDe).reduce(function(r, n) { var i = n.split(DDe), s = i[0], o = i[1], u = tp(o); return il == s || al == s ? r = Qa(r, ep(t, u)) : r[s] = u, r; }, {}); } a(wDe, "covertToHash"); lH.exports = { OptimizationLevel: sl, optimizationLevelFrom: xDe }; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/background.js var fH = y((QXe, cH) => { var ODe = Zr().OptimizationLevel, RDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { var i = r.value; n.level[ODe.One].optimizeBackground && (i.length == 1 && i[0][1] == "none" && (i[0][1] = "0 0"), i.length == 1 && i[0][1] == "transp\ arent" && (i[0][1] = "0 0")); }, "background") } }; cH.exports = RDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/box-shadow.js var pH = y((JXe, hH) => { var kDe = { level1: { property: /* @__PURE__ */ a(function(t, r) { var n = r.value; n.length == 4 && n[0][1] === "0" && n[1][1] === "0" && n[2][1] === "0" && n[3][1] === "0" && (r.value.splice(2), r.dirty = !0); }, "boxShadow") } }; hH.exports = kDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/border-radius.js var mH = y((tYe, dH) => { var PDe = Zr().OptimizationLevel, FDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { var i = r.value; n.level[PDe.One].optimizeBorderRadius && (i.length == 3 && i[1][1] == "/" && i[0][1] == i[2][1] ? (r.value.splice(1), r.dirty = !0) : i.length == 5 && i[2][1] == "/" && i[0][1] == i[3][1] && i[1][1] == i[4][1] ? (r.value.splice(2), r.dirty = !0) : i.length == 7 && i[3][1] == "/" && i[0][1] == i[4][1] && i[1][1] == i[5][1] && i[2][1] == i[6][1] ? (r.value.splice(3), r.dirty = !0) : i.length == 9 && i[4][1] == "/" && i[0][1] == i[5][1] && i[1][1] == i[6][1] && i[2][1] == i[7][1] && i[3][1] == i[8][1] && (r.value.splice(4), r.dirty = !0)); }, "borderRadius") } }; dH.exports = FDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/filter.js var _H = y((nYe, gH) => { var IDe = Zr().OptimizationLevel, NDe = /progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/, LDe = /,(\S)/g, BDe = / ?= ?/g, MDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { n.compatibility.properties.ieFilters && n.level[IDe.One].optimizeFilter && (r.value.length == 1 && (r.value[0][1] = r.value[0][1].replace( NDe, function(i, s, o) { return s.toLowerCase() + o; } )), r.value[0][1] = r.value[0][1].replace(LDe, ", $1").replace(BDe, "=")); }, "filter") } }; gH.exports = MDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/font-weight.js var bH = y((aYe, vH) => { var qDe = Zr().OptimizationLevel, UDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { var i = r.value[0][1]; n.level[qDe.One].optimizeFontWeight && (i == "normal" ? i = "400" : i == "bold" && (i = "700"), r.value[0][1] = i); }, "fontWeight") } }; vH.exports = UDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/margin.js var SH = y((oYe, yH) => { var VDe = Zr().OptimizationLevel, HDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { var i = r.value; n.level[VDe.One].replaceMultipleZeros && i.length == 4 && i[0][1] === "0" && i[1][1] === "0" && i[2][1] === "0" && i[3][1] === "0" && (r.value.splice(1), r.dirty = !0); }, "margin") } }; yH.exports = HDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/outline.js var AH = y((lYe, EH) => { var jDe = Zr().OptimizationLevel, GDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { var i = r.value; n.level[jDe.One].optimizeOutline && i.length == 1 && i[0][1] == "none" && (i[0][1] = "0"); }, "outline") } }; EH.exports = GDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers/padding.js var DH = y((fYe, TH) => { var zDe = Zr().OptimizationLevel; function q_(e) { return e && e[1][0] == "-" && parseFloat(e[1]) < 0; } a(q_, "isNegative"); var KDe = { level1: { property: /* @__PURE__ */ a(function(t, r, n) { var i = r.value; i.length == 4 && i[0][1] === "0" && i[1][1] === "0" && i[2][1] === "0" && i[3][1] === "0" && (r.value.splice(1), r.dirty = !0), n.level[zDe. One].removeNegativePaddings && (q_(r.value[0]) || q_(r.value[1]) || q_(r.value[2]) || q_(r.value[3])) && (r.unused = !0); }, "padding") } }; TH.exports = KDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/property-optimizers.js var CH = y((pYe, xH) => { xH.exports = { background: fH().level1.property, boxShadow: pH().level1.property, borderRadius: mH().level1.property, filter: _H().level1.property, fontWeight: bH().level1.property, margin: SH().level1.property, outline: AH().level1.property, padding: DH().level1.property }; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/color/shorten-hex.js var PH = y((dYe, kH) => { var wH = { aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aqua: "#0ff", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", black: "#000", blanchedalmond: "#ffebcd", blue: "#00f", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#0ff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", fuchsia: "#f0f", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", gray: "#808080", green: "#008000", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", lime: "#0f0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", maroon: "#800000", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", navy: "#000080", oldlace: "#fdf5e6", olive: "#808000", olivedrab: "#6b8e23", orange: "#ffa500", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", purple: "#800080", rebeccapurple: "#663399", red: "#f00", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", silver: "#c0c0c0", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", teal: "#008080", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", white: "#fff", whitesmoke: "#f5f5f5", yellow: "#ff0", yellowgreen: "#9acd32" }, xD = {}, CD = {}; for (np in wH) U_ = wH[np], np.length < U_.length ? CD[U_] = np : xD[np] = U_; var U_, np, OH = new RegExp("(^| |,|\\))(" + Object.keys(xD).join("|") + ")( |,|\\)|$)", "ig"), WDe = new RegExp("(" + Object.keys(CD).join( "|") + ")([^a-f0-9]|$)", "ig"); function RH(e, t, r, n) { return t + xD[r.toLowerCase()] + n; } a(RH, "hexConverter"); function $De(e, t, r) { return CD[t.toLowerCase()] + r; } a($De, "nameConverter"); function XDe(e) { var t = e.indexOf("#") > -1, r = e.replace(OH, RH); return r != e && (r = r.replace(OH, RH)), t ? r.replace(WDe, $De) : r; } a(XDe, "shortenHex"); kH.exports = XDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/color/shorten-hsl.js var IH = y((gYe, FH) => { function YDe(e, t, r) { var n, i, s; if (e %= 360, e < 0 && (e += 360), e = ~~e / 360, t < 0 ? t = 0 : t > 100 && (t = 100), t = ~~t / 100, r < 0 ? r = 0 : r > 100 && (r = 100), r = ~~r / 100, t === 0) n = i = s = r; else { var o = r < 0.5 ? r * (1 + t) : r + t - r * t, u = 2 * r - o; n = wD(u, o, e + 1 / 3), i = wD(u, o, e), s = wD(u, o, e - 1 / 3); } return [~~(n * 255), ~~(i * 255), ~~(s * 255)]; } a(YDe, "hslToRgb"); function wD(e, t, r) { return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * 6 * r : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e; } a(wD, "hueToRgb"); function QDe(e, t, r) { var n = YDe(e, t, r), i = n[0].toString(16), s = n[1].toString(16), o = n[2].toString(16); return "#" + ((i.length == 1 ? "0" : "") + i) + ((s.length == 1 ? "0" : "") + s) + ((o.length == 1 ? "0" : "") + o); } a(QDe, "shortenHsl"); FH.exports = QDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/color/shorten-rgb.js var LH = y((vYe, NH) => { function ZDe(e, t, r) { var n = Math.max(0, Math.min(parseInt(e), 255)), i = Math.max(0, Math.min(parseInt(t), 255)), s = Math.max(0, Math.min(parseInt(r), 255)); return "#" + ("00000" + (n << 16 | i << 8 | s).toString(16)).slice(-6); } a(ZDe, "shortenRgb"); NH.exports = ZDe; }); // ../node_modules/clean-css/lib/utils/split.js var zc = y((yYe, qH) => { var BH = zn(); function MH(e, t, r) { return r ? t.test(e) : e === t; } a(MH, "is"); function JDe(e, t) { var r = BH.OPEN_ROUND_BRACKET, n = BH.CLOSE_ROUND_BRACKET, i = 0, s = 0, o = 0, u, l, c = e.length, f = [], d = typeof t == "object" && "\ exec" in t; if (!d && e.indexOf(t) == -1) return [e]; if (e.indexOf(r) == -1) return e.split(t); for (; s < c; ) e[s] == r ? i++ : e[s] == n && i--, i === 0 && s > 0 && s + 1 < c && MH(e[s], t, d) && (f.push(e.substring(o, s)), d && t.exec(e[s]).length > 1 && f.push(e[s]), o = s + 1), s++; return o < s + 1 && (u = e.substring(o), l = u[u.length - 1], MH(l, t, d) && (u = u.substring(0, u.length - 1)), f.push(u)), f; } a(JDe, "split"); qH.exports = JDe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/color.js var HH = y((EYe, VH) => { var UH = PH(), exe = IH(), txe = LH(), rxe = zc(), nxe = /(rgb|rgba|hsl|hsla)\(([^()]+)\)/gi, ixe = /#|rgb|hsl/gi, axe = /(^|[^='"])#([0-9a-f]{6})/gi, sxe = /(^|[^='"])#([0-9a-f]{3})/gi, oxe = /[0-9a-f]/i, uxe = /hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/gi, lxe = /(rgb|hsl)a?\((-?\d+),(-?\d+%?),(-?\d+%?),(0*[1-9]+[0-9]*(\.?\d*)?)\)/gi, cxe = /rgb\((-?\d+),(-?\d+),(-?\d+)\)/gi, fxe = /(?:rgba|hsla)\(0,0%?,0%?,0\)/g, hxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return n.compatibility.properties.colors ? (r.match(ixe) && (r = r.replace(lxe, function(i, s, o, u, l, c) { return parseInt(c) >= 1 ? s + "(" + [o, u, l].join(",") + ")" : i; }).replace(cxe, function(i, s, o, u) { return txe(s, o, u); }).replace(uxe, function(i, s, o, u) { return exe(s, o, u); }).replace(axe, function(i, s, o, u, l) { var c = l[u + i.length]; return c && oxe.test(c) ? i : o[0] == o[1] && o[2] == o[3] && o[4] == o[5] ? (s + "#" + o[0] + o[2] + o[4]).toLowerCase() : (s + "\ #" + o).toLowerCase(); }).replace(sxe, function(i, s, o) { return s + "#" + o.toLowerCase(); }).replace(nxe, function(i, s, o) { var u = o.split(","), l = s && s.toLowerCase(), c = l == "hsl" && u.length == 3 || l == "hsla" && u.length == 4 || l == "rgb" && u. length === 3 && o.indexOf("%") > 0 || l == "rgba" && u.length == 4 && u[0].indexOf("%") > 0; return c ? (u[1].indexOf("%") == -1 && (u[1] += "%"), u[2].indexOf("%") == -1 && (u[2] += "%"), s + "(" + u.join(",") + ")") : i; }), n.compatibility.colors.opacity && t.indexOf("background") == -1 && (r = r.replace(fxe, function(i) { return rxe(r, ",").pop().indexOf("gradient(") > -1 ? i : "transparent"; }))), UH(r)) : r; }, "color") } }; VH.exports = hxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/degrees.js var GH = y((TYe, jH) => { var pxe = /\(0deg\)/g, dxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return !n.compatibility.properties.zeroUnits || r.indexOf("0deg") == -1 ? r : r.replace(pxe, "(0)"); }, "degrees") } }; jH.exports = dxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/starts-as-url.js var V_ = y((xYe, zH) => { var mxe = /^url\(/i; function gxe(e) { return mxe.test(e); } a(gxe, "startsAsUrl"); zH.exports = gxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/fraction.js var XH = y((wYe, $H) => { var _xe = zc(), vxe = V_(), bxe = Zr().OptimizationLevel, yxe = /^expression\(.*\)$/, Sxe = /^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/, Exe = /([\s,/])/, Axe = /(^|\D)\.0+(\D|$)/g, Txe = /\.([1-9]*)0+(\D|$)/g, Dxe = /(^|\D)0\.(\d)/g, KH = /([^\w\d-]|^)-0([^.]|$)/g, xxe = /(^|\s)0+([1-9])/g; function WH(e) { var t, r; return vxe(e) || yxe.test(e) ? e : (t = Sxe.exec(e), t ? (r = _xe(t[2], Exe).map(function(n) { return WH(n); }), t[1] + "(" + r.join("") + ")") : Cxe(e)); } a(WH, "optimizeRecursively"); function Cxe(e) { return e.indexOf("0") == -1 ? e : (e.indexOf("-") > -1 && (e = e.replace(KH, "$10$2").replace(KH, "$10$2")), e.replace(xxe, "$1$2").replace( Axe, "$10$2").replace(Txe, function(t, r, n) { return (r.length > 0 ? "." : "") + r + n; }).replace(Dxe, "$1.$2")); } a(Cxe, "optimizeFractions"); var wxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return n.level[bxe.One].replaceZeroUnits ? WH(r) : r; }, "fraction") } }; $H.exports = wxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/precision.js var QH = y((RYe, YH) => { var Oxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return !n.precision.enabled || r.indexOf(".") === -1 ? r : r.replace(n.precision.decimalPointMatcher, "$1$2$3").replace(n.precision. zeroMatcher, function(i, s, o, u) { var l = n.precision.units[u].multiplier, c = parseInt(s), f = Number.isNaN(c) ? 0 : c, d = parseFloat(o); return Math.round((f + d) * l) / l + u; }); }, "precision") } }; YH.exports = Oxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/text-quotes.js var JH = y((PYe, ZH) => { var Rxe = Zr().OptimizationLevel, kxe = /^local\(/i, Pxe = /^('.*'|".*")$/, Fxe = /^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/, Ixe = /^['"](?:cursive|default|emoji|fangsong|fantasy|inherit|initial|math|monospace|revert|revert-layer|sans-serif|serif|system-ui|ui-monospace|ui-rounded|ui-sans-serif|ui-serif|unset)['"]$/, Nxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return (t == "font-family" || t == "font") && Ixe.test(r) || !n.level[Rxe.One].removeQuotes || !Pxe.test(r) && !kxe.test(r) ? r : Fxe. test(r) ? r.substring(1, r.length - 1) : r; }, "textQuotes") } }; ZH.exports = Nxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/time.js var rj = y((IYe, tj) => { var Lxe = Zr().OptimizationLevel, ej = /^(-?[\d.]+)(m?s)$/, Bxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return !n.level[Lxe.One].replaceTimeUnits || !ej.test(r) ? r : r.replace(ej, function(i, s, o) { var u; return o == "ms" ? u = parseInt(s) / 1e3 + "s" : o == "s" && (u = parseFloat(s) * 1e3 + "ms"), u.length < i.length ? u : i; }); }, "time") } }; tj.exports = Bxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/unit.js var aj = y((LYe, ij) => { var nj = /(?:^|\s|\()(-?\d+)px/, Mxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return nj.test(r) ? r.replace(nj, function(i, s) { var o, u = parseInt(s); return u === 0 ? i : (n.compatibility.properties.shorterLengthUnits && n.compatibility.units.pt && u * 3 % 4 === 0 && (o = u * 3 / 4 + "pt"), n.compatibility.properties.shorterLengthUnits && n.compatibility.units.pc && u % 16 === 0 && (o = u / 16 + "pc"), n.compatibility. properties.shorterLengthUnits && n.compatibility.units.in && u % 96 === 0 && (o = u / 96 + "in"), o && (o = i.substring(0, i.indexOf( s)) + o), o && o.length < i.length ? o : i); }) : r; }, "unit") } }; ij.exports = Mxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/url-prefix.js var oj = y((MYe, sj) => { var qxe = V_(), Uxe = Zr().OptimizationLevel, Vxe = /^url\(/i, Hxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return !n.level[Uxe.One].normalizeUrls || !qxe(r) ? r : r.replace(Vxe, "url("); }, "urlPrefix") } }; sj.exports = Hxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/url-quotes.js var lj = y((UYe, uj) => { var jxe = /^url\(['"].+['"]\)$/, Gxe = /^url\(['"].*[*\s()'"].*['"]\)$/, zxe = /["']/g, Kxe = /^url\(['"]data:[^;]+;charset/, Wxe = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return n.compatibility.properties.urlQuotes ? r : jxe.test(r) && !Gxe.test(r) && !Kxe.test(r) ? r.replace(zxe, "") : r; }, "urlQuotes") } }; uj.exports = Wxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/url-whitespace.js var fj = y((HYe, cj) => { var $xe = V_(), Xxe = /\\?\n|\\?\r\n/g, Yxe = /(\()\s+/g, Qxe = /\s+(\))/g, Zxe = { level1: { value: /* @__PURE__ */ a(function(t, r) { return $xe(r) ? r.replace(Xxe, "").replace(Yxe, "$1").replace(Qxe, "$1") : r; }, "urlWhitespace") } }; cj.exports = Zxe; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/whitespace.js var dj = y((GYe, pj) => { var Jxe = Zr().OptimizationLevel, hj = zn(), e2e = /\) ?\/ ?/g, t2e = /, /g, r2e = /\r?\n/g, n2e = /\s+/g, i2e = /\s+(;?\))/g, a2e = /(\(;?)\s+/g, s2e = /^--\S+$/, o2e = /^var\(\s*--\S+\s*\)$/, u2e = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return !n.level[Jxe.One].removeWhitespace || s2e.test(t) && !o2e.test(r) || r.indexOf(" ") == -1 && r.indexOf(` `) == -1 || r.indexOf("expression") === 0 || r.indexOf(hj.SINGLE_QUOTE) > -1 || r.indexOf(hj.DOUBLE_QUOTE) > -1 ? r : (r = r.replace(r2e, ""), r = r.replace(n2e, " "), r.indexOf("calc") > -1 && (r = r.replace(e2e, ")/ ")), r.replace(a2e, "$1").replace(i2e, "$1").replace(t2e, ",")); }, "whitespace") } }; pj.exports = u2e; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers/zero.js var _j = y((KYe, gj) => { var l2e = zc(), c2e = /^(-(?:moz|ms|o|webkit)-[a-z-]+|[a-z-]+)\((.+)\)$/, f2e = /^(?:-moz-calc|-webkit-calc|calc|rgb|hsl|rgba|hsla|min|max|clamp|expression)\(/, h2e = /([\s,/])/; function mj(e, t) { var r, n; return f2e.test(e) ? e : (r = c2e.exec(e), r ? (n = l2e(r[2], h2e).map(function(i) { return mj(i, t); }), r[1] + "(" + n.join("") + ")") : p2e(e, t)); } a(mj, "removeRecursively"); function p2e(e, t) { return e.replace(t.unitsRegexp, "$10$2").replace(t.unitsRegexp, "$10$2"); } a(p2e, "removeZeros"); var d2e = { level1: { value: /* @__PURE__ */ a(function(t, r, n) { return !n.compatibility.properties.zeroUnits || r.indexOf("%") > 0 && (t == "height" || t == "max-height" || t == "width" || t == "m\ ax-width") ? r : mj(r, n); }, "zero") } }; gj.exports = d2e; }); // ../node_modules/clean-css/lib/optimizer/level-1/value-optimizers.js var OD = y(($Ye, vj) => { vj.exports = { color: HH().level1.value, degrees: GH().level1.value, fraction: XH().level1.value, precision: QH().level1.value, textQuotes: JH().level1.value, time: rj().level1.value, unit: aj().level1.value, urlPrefix: oj().level1.value, urlQuotes: lj().level1.value, urlWhiteSpace: fj().level1.value, whiteSpace: dj().level1.value, zero: _j().level1.value }; }); // ../node_modules/clean-css/lib/optimizer/configuration.js var ho = y((XYe, Sj) => { var dn = X4(), G = tH(), mn = aH(), gn = CH(), P = OD(), bj = el(), G_ = { animation: { canOverride: G.generic.components([ G.generic.time, G.generic.timingFunction, G.generic.time, G.property.animationIterationCount, G.property.animationDirection, G.property.animationFillMode, G.property.animationPlayState, G.property.animationName ]), components: [ "animation-duration", "animation-timing-function", "animation-delay", "animation-iteration-count", "animation-direction", "animation-fill-mode", "animation-play-state", "animation-name" ], breakUp: dn.multiplex(dn.animation), defaultValue: "none", restore: mn.multiplex(mn.withoutDefaults), shorthand: !0, valueOptimizers: [ P.whiteSpace, P.textQuotes, P.time, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-delay": { canOverride: G.generic.time, componentOf: [ "animation" ], defaultValue: "0s", intoMultiplexMode: "real", valueOptimizers: [ P.time, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-direction": { canOverride: G.property.animationDirection, componentOf: [ "animation" ], defaultValue: "normal", intoMultiplexMode: "real", vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-duration": { canOverride: G.generic.time, componentOf: [ "animation" ], defaultValue: "0s", intoMultiplexMode: "real", keepUnlessDefault: "animation-delay", valueOptimizers: [ P.time, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-fill-mode": { canOverride: G.property.animationFillMode, componentOf: [ "animation" ], defaultValue: "none", intoMultiplexMode: "real", vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-iteration-count": { canOverride: G.property.animationIterationCount, componentOf: [ "animation" ], defaultValue: "1", intoMultiplexMode: "real", vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-name": { canOverride: G.property.animationName, componentOf: [ "animation" ], defaultValue: "none", intoMultiplexMode: "real", valueOptimizers: [ P.textQuotes ], vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-play-state": { canOverride: G.property.animationPlayState, componentOf: [ "animation" ], defaultValue: "running", intoMultiplexMode: "real", vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, "animation-timing-function": { canOverride: G.generic.timingFunction, componentOf: [ "animation" ], defaultValue: "ease", intoMultiplexMode: "real", vendorPrefixes: [ "-moz-", "-o-", "-webkit-" ] }, background: { canOverride: G.generic.components([ G.generic.image, G.property.backgroundPosition, G.property.backgroundSize, G.property.backgroundRepeat, G.property.backgroundAttachment, G.property.backgroundOrigin, G.property.backgroundClip, G.generic.color ]), components: [ "background-image", "background-position", "background-size", "background-repeat", "background-attachment", "background-origin", "background-clip", "background-color" ], breakUp: dn.multiplex(dn.background), defaultValue: "0 0", propertyOptimizer: gn.background, restore: mn.multiplex(mn.background), shortestValue: "0", shorthand: !0, valueOptimizers: [ P.whiteSpace, P.urlWhiteSpace, P.fraction, P.zero, P.color, P.urlPrefix, P.urlQuotes ] }, "background-attachment": { canOverride: G.property.backgroundAttachment, componentOf: [ "background" ], defaultValue: "scroll", intoMultiplexMode: "real" }, "background-clip": { canOverride: G.property.backgroundClip, componentOf: [ "background" ], defaultValue: "border-box", intoMultiplexMode: "real", shortestValue: "border-box" }, "background-color": { canOverride: G.generic.color, componentOf: [ "background" ], defaultValue: "transparent", intoMultiplexMode: "real", // otherwise real color will turn into default since color appears in last multiplex only multiplexLastOnly: !0, nonMergeableValue: "none", shortestValue: "red", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "background-image": { canOverride: G.generic.image, componentOf: [ "background" ], defaultValue: "none", intoMultiplexMode: "default", valueOptimizers: [ P.urlWhiteSpace, P.urlPrefix, P.urlQuotes, P.whiteSpace, P.fraction, P.precision, P.unit, P.zero, P.color ] }, "background-origin": { canOverride: G.property.backgroundOrigin, componentOf: [ "background" ], defaultValue: "padding-box", intoMultiplexMode: "real", shortestValue: "border-box" }, "background-position": { canOverride: G.property.backgroundPosition, componentOf: [ "background" ], defaultValue: ["0", "0"], doubleValues: !0, intoMultiplexMode: "real", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "background-repeat": { canOverride: G.property.backgroundRepeat, componentOf: [ "background" ], defaultValue: ["repeat"], doubleValues: !0, intoMultiplexMode: "real" }, "background-size": { canOverride: G.property.backgroundSize, componentOf: [ "background" ], defaultValue: ["auto"], doubleValues: !0, intoMultiplexMode: "real", shortestValue: "0 0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, bottom: { canOverride: G.property.bottom, defaultValue: "auto", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, border: { breakUp: dn.border, canOverride: G.generic.components([ G.generic.unit, G.property.borderStyle, G.generic.color ]), components: [ "border-width", "border-style", "border-color" ], defaultValue: "none", overridesShorthands: [ "border-bottom", "border-left", "border-right", "border-top" ], restore: mn.withoutDefaults, shorthand: !0, shorthandComponents: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.zero, P.color ] }, "border-bottom": { breakUp: dn.border, canOverride: G.generic.components([ G.generic.unit, G.property.borderStyle, G.generic.color ]), components: [ "border-bottom-width", "border-bottom-style", "border-bottom-color" ], defaultValue: "none", restore: mn.withoutDefaults, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.zero, P.color ] }, "border-bottom-color": { canOverride: G.generic.color, componentOf: [ "border-bottom", "border-color" ], defaultValue: "none", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "border-bottom-left-radius": { canOverride: G.generic.unit, componentOf: [ "border-radius" ], defaultValue: "0", propertyOptimizer: gn.borderRadius, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-" ] }, "border-bottom-right-radius": { canOverride: G.generic.unit, componentOf: [ "border-radius" ], defaultValue: "0", propertyOptimizer: gn.borderRadius, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-" ] }, "border-bottom-style": { canOverride: G.property.borderStyle, componentOf: [ "border-bottom", "border-style" ], defaultValue: "none" }, "border-bottom-width": { canOverride: G.generic.unit, componentOf: [ "border-bottom", "border-width" ], defaultValue: "medium", oppositeTo: "border-top-width", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "border-collapse": { canOverride: G.property.borderCollapse, defaultValue: "separate" }, "border-color": { breakUp: dn.fourValues, canOverride: G.generic.components([ G.generic.color, G.generic.color, G.generic.color, G.generic.color ]), componentOf: [ "border" ], components: [ "border-top-color", "border-right-color", "border-bottom-color", "border-left-color" ], defaultValue: "none", restore: mn.fourValues, shortestValue: "red", shorthand: !0, singleTypeComponents: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "border-left": { breakUp: dn.border, canOverride: G.generic.components([ G.generic.unit, G.property.borderStyle, G.generic.color ]), components: [ "border-left-width", "border-left-style", "border-left-color" ], defaultValue: "none", restore: mn.withoutDefaults, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.zero, P.color ] }, "border-left-color": { canOverride: G.generic.color, componentOf: [ "border-color", "border-left" ], defaultValue: "none", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "border-left-style": { canOverride: G.property.borderStyle, componentOf: [ "border-left", "border-style" ], defaultValue: "none" }, "border-left-width": { canOverride: G.generic.unit, componentOf: [ "border-left", "border-width" ], defaultValue: "medium", oppositeTo: "border-right-width", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "border-radius": { breakUp: dn.borderRadius, canOverride: G.generic.components([ G.generic.unit, G.generic.unit, G.generic.unit, G.generic.unit ]), components: [ "border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius" ], defaultValue: "0", propertyOptimizer: gn.borderRadius, restore: mn.borderRadius, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-" ] }, "border-right": { breakUp: dn.border, canOverride: G.generic.components([ G.generic.unit, G.property.borderStyle, G.generic.color ]), components: [ "border-right-width", "border-right-style", "border-right-color" ], defaultValue: "none", restore: mn.withoutDefaults, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "border-right-color": { canOverride: G.generic.color, componentOf: [ "border-color", "border-right" ], defaultValue: "none", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "border-right-style": { canOverride: G.property.borderStyle, componentOf: [ "border-right", "border-style" ], defaultValue: "none" }, "border-right-width": { canOverride: G.generic.unit, componentOf: [ "border-right", "border-width" ], defaultValue: "medium", oppositeTo: "border-left-width", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "border-style": { breakUp: dn.fourValues, canOverride: G.generic.components([ G.property.borderStyle, G.property.borderStyle, G.property.borderStyle, G.property.borderStyle ]), componentOf: [ "border" ], components: [ "border-top-style", "border-right-style", "border-bottom-style", "border-left-style" ], defaultValue: "none", restore: mn.fourValues, shorthand: !0, singleTypeComponents: !0 }, "border-top": { breakUp: dn.border, canOverride: G.generic.components([ G.generic.unit, G.property.borderStyle, G.generic.color ]), components: [ "border-top-width", "border-top-style", "border-top-color" ], defaultValue: "none", restore: mn.withoutDefaults, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.zero, P.color, P.unit ] }, "border-top-color": { canOverride: G.generic.color, componentOf: [ "border-color", "border-top" ], defaultValue: "none", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "border-top-left-radius": { canOverride: G.generic.unit, componentOf: [ "border-radius" ], defaultValue: "0", propertyOptimizer: gn.borderRadius, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-" ] }, "border-top-right-radius": { canOverride: G.generic.unit, componentOf: [ "border-radius" ], defaultValue: "0", propertyOptimizer: gn.borderRadius, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-o-" ] }, "border-top-style": { canOverride: G.property.borderStyle, componentOf: [ "border-style", "border-top" ], defaultValue: "none" }, "border-top-width": { canOverride: G.generic.unit, componentOf: [ "border-top", "border-width" ], defaultValue: "medium", oppositeTo: "border-bottom-width", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "border-width": { breakUp: dn.fourValues, canOverride: G.generic.components([ G.generic.unit, G.generic.unit, G.generic.unit, G.generic.unit ]), componentOf: [ "border" ], components: [ "border-top-width", "border-right-width", "border-bottom-width", "border-left-width" ], defaultValue: "medium", restore: mn.fourValues, shortestValue: "0", shorthand: !0, singleTypeComponents: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "box-shadow": { propertyOptimizer: gn.boxShadow, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero, P.color ], vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, clear: { canOverride: G.property.clear, defaultValue: "none" }, clip: { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, color: { canOverride: G.generic.color, defaultValue: "transparent", shortestValue: "red", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "column-gap": { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, cursor: { canOverride: G.property.cursor, defaultValue: "auto" }, display: { canOverride: G.property.display }, filter: { propertyOptimizer: gn.filter, valueOptimizers: [ P.fraction ] }, float: { canOverride: G.property.float, defaultValue: "none" }, font: { breakUp: dn.font, canOverride: G.generic.components([ G.property.fontStyle, G.property.fontVariant, G.property.fontWeight, G.property.fontStretch, G.generic.unit, G.generic.unit, G.property.fontFamily ]), components: [ "font-style", "font-variant", "font-weight", "font-stretch", "font-size", "line-height", "font-family" ], restore: mn.font, shorthand: !0, valueOptimizers: [ P.textQuotes ] }, "font-family": { canOverride: G.property.fontFamily, defaultValue: "user|agent|specific", valueOptimizers: [ P.textQuotes ] }, "font-size": { canOverride: G.generic.unit, defaultValue: "medium", shortestValue: "0", valueOptimizers: [ P.fraction ] }, "font-stretch": { canOverride: G.property.fontStretch, defaultValue: "normal" }, "font-style": { canOverride: G.property.fontStyle, defaultValue: "normal" }, "font-variant": { canOverride: G.property.fontVariant, defaultValue: "normal" }, "font-weight": { canOverride: G.property.fontWeight, defaultValue: "normal", propertyOptimizer: gn.fontWeight, shortestValue: "400" }, gap: { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, height: { canOverride: G.generic.unit, defaultValue: "auto", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, left: { canOverride: G.property.left, defaultValue: "auto", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "letter-spacing": { valueOptimizers: [ P.fraction, P.zero ] }, "line-height": { canOverride: G.generic.unitOrNumber, defaultValue: "normal", shortestValue: "0", valueOptimizers: [ P.fraction, P.zero ] }, "list-style": { canOverride: G.generic.components([ G.property.listStyleType, G.property.listStylePosition, G.property.listStyleImage ]), components: [ "list-style-type", "list-style-position", "list-style-image" ], breakUp: dn.listStyle, restore: mn.withoutDefaults, defaultValue: "outside", // can't use 'disc' because that'd override default 'decimal' for
    shortestValue: "none", shorthand: !0 }, "list-style-image": { canOverride: G.generic.image, componentOf: [ "list-style" ], defaultValue: "none" }, "list-style-position": { canOverride: G.property.listStylePosition, componentOf: [ "list-style" ], defaultValue: "outside", shortestValue: "inside" }, "list-style-type": { canOverride: G.property.listStyleType, componentOf: [ "list-style" ], // NOTE: we can't tell the real default value here, it's 'disc' for
      and 'decimal' for
        // this is a hack, but it doesn't matter because this value will be either overridden or // it will disappear at the final step anyway defaultValue: "decimal|disc", shortestValue: "none" }, margin: { breakUp: dn.fourValues, canOverride: G.generic.components([ G.generic.unit, G.generic.unit, G.generic.unit, G.generic.unit ]), components: [ "margin-top", "margin-right", "margin-bottom", "margin-left" ], defaultValue: "0", propertyOptimizer: gn.margin, restore: mn.fourValues, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "margin-bottom": { canOverride: G.generic.unit, componentOf: [ "margin" ], defaultValue: "0", oppositeTo: "margin-top", propertyOptimizer: gn.margin, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "margin-inline-end": { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "margin-inline-start": { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "margin-left": { canOverride: G.generic.unit, componentOf: [ "margin" ], defaultValue: "0", oppositeTo: "margin-right", propertyOptimizer: gn.margin, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "margin-right": { canOverride: G.generic.unit, componentOf: [ "margin" ], defaultValue: "0", oppositeTo: "margin-left", propertyOptimizer: gn.margin, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "margin-top": { canOverride: G.generic.unit, componentOf: [ "margin" ], defaultValue: "0", oppositeTo: "margin-bottom", propertyOptimizer: gn.margin, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "max-height": { canOverride: G.generic.unit, defaultValue: "none", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "max-width": { canOverride: G.generic.unit, defaultValue: "none", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "min-height": { canOverride: G.generic.unit, defaultValue: "0", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "min-width": { canOverride: G.generic.unit, defaultValue: "0", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, opacity: { valueOptimizers: [ P.fraction, P.precision ] }, outline: { canOverride: G.generic.components([ G.generic.color, G.property.outlineStyle, G.generic.unit ]), components: [ "outline-color", "outline-style", "outline-width" ], breakUp: dn.outline, restore: mn.withoutDefaults, defaultValue: "0", propertyOptimizer: gn.outline, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "outline-color": { canOverride: G.generic.color, componentOf: [ "outline" ], defaultValue: "invert", shortestValue: "red", valueOptimizers: [ P.whiteSpace, P.fraction, P.color ] }, "outline-style": { canOverride: G.property.outlineStyle, componentOf: [ "outline" ], defaultValue: "none" }, "outline-width": { canOverride: G.generic.unit, componentOf: [ "outline" ], defaultValue: "medium", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, overflow: { canOverride: G.property.overflow, defaultValue: "visible" }, "overflow-x": { canOverride: G.property.overflow, defaultValue: "visible" }, "overflow-y": { canOverride: G.property.overflow, defaultValue: "visible" }, padding: { breakUp: dn.fourValues, canOverride: G.generic.components([ G.generic.unit, G.generic.unit, G.generic.unit, G.generic.unit ]), components: [ "padding-top", "padding-right", "padding-bottom", "padding-left" ], defaultValue: "0", propertyOptimizer: gn.padding, restore: mn.fourValues, shorthand: !0, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "padding-bottom": { canOverride: G.generic.unit, componentOf: [ "padding" ], defaultValue: "0", oppositeTo: "padding-top", propertyOptimizer: gn.padding, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "padding-left": { canOverride: G.generic.unit, componentOf: [ "padding" ], defaultValue: "0", oppositeTo: "padding-right", propertyOptimizer: gn.padding, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "padding-right": { canOverride: G.generic.unit, componentOf: [ "padding" ], defaultValue: "0", oppositeTo: "padding-left", propertyOptimizer: gn.padding, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "padding-top": { canOverride: G.generic.unit, componentOf: [ "padding" ], defaultValue: "0", oppositeTo: "padding-bottom", propertyOptimizer: gn.padding, valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, position: { canOverride: G.property.position, defaultValue: "static" }, right: { canOverride: G.property.right, defaultValue: "auto", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "row-gap": { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, src: { valueOptimizers: [ P.urlWhiteSpace, P.urlPrefix, P.urlQuotes ] }, "stroke-width": { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "text-align": { canOverride: G.property.textAlign, // NOTE: we can't tell the real default value here, as it depends on default text direction // this is a hack, but it doesn't matter because this value will be either overridden or // it will disappear anyway defaultValue: "left|right" }, "text-decoration": { canOverride: G.property.textDecoration, defaultValue: "none" }, "text-indent": { canOverride: G.property.textOverflow, defaultValue: "none", valueOptimizers: [ P.fraction, P.zero ] }, "text-overflow": { canOverride: G.property.textOverflow, defaultValue: "none" }, "text-shadow": { canOverride: G.property.textShadow, defaultValue: "none", valueOptimizers: [ P.whiteSpace, P.fraction, P.zero, P.color ] }, top: { canOverride: G.property.top, defaultValue: "auto", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, transform: { canOverride: G.property.transform, valueOptimizers: [ P.whiteSpace, P.degrees, P.fraction, P.precision, P.unit, P.zero ], vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, transition: { breakUp: dn.multiplex(dn.transition), canOverride: G.generic.components([ G.property.transitionProperty, G.generic.time, G.generic.timingFunction, G.generic.time ]), components: [ "transition-property", "transition-duration", "transition-timing-function", "transition-delay" ], defaultValue: "none", restore: mn.multiplex(mn.withoutDefaults), shorthand: !0, valueOptimizers: [ P.time, P.fraction ], vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, "transition-delay": { canOverride: G.generic.time, componentOf: [ "transition" ], defaultValue: "0s", intoMultiplexMode: "real", valueOptimizers: [ P.time ], vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, "transition-duration": { canOverride: G.generic.time, componentOf: [ "transition" ], defaultValue: "0s", intoMultiplexMode: "real", keepUnlessDefault: "transition-delay", valueOptimizers: [ P.time, P.fraction ], vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, "transition-property": { canOverride: G.generic.propertyName, componentOf: [ "transition" ], defaultValue: "all", intoMultiplexMode: "placeholder", placeholderValue: "_", // it's a short value that won't match any property and still be a valid `transition-property` vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, "transition-timing-function": { canOverride: G.generic.timingFunction, componentOf: [ "transition" ], defaultValue: "ease", intoMultiplexMode: "real", vendorPrefixes: [ "-moz-", "-ms-", "-o-", "-webkit-" ] }, "vertical-align": { canOverride: G.property.verticalAlign, defaultValue: "baseline", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, visibility: { canOverride: G.property.visibility, defaultValue: "visible" }, "-webkit-tap-highlight-color": { valueOptimizers: [ P.whiteSpace, P.color ] }, "-webkit-margin-end": { valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "white-space": { canOverride: G.property.whiteSpace, defaultValue: "normal" }, width: { canOverride: G.generic.unit, defaultValue: "auto", shortestValue: "0", valueOptimizers: [ P.whiteSpace, P.fraction, P.precision, P.unit, P.zero ] }, "z-index": { canOverride: G.property.zIndex, defaultValue: "auto" } }, yj = {}; function m2e(e, t) { var r = bj(G_[e], {}); return "componentOf" in r && (r.componentOf = r.componentOf.map(function(n) { return t + n; })), "components" in r && (r.components = r.components.map(function(n) { return t + n; })), "keepUnlessDefault" in r && (r.keepUnlessDefault = t + r.keepUnlessDefault), r; } a(m2e, "cloneDescriptor"); for (H_ in G_) if (ip = G_[H_], "vendorPrefixes" in ip) { for (j_ = 0; j_ < ip.vendorPrefixes.length; j_++) RD = ip.vendorPrefixes[j_], kD = m2e(H_, RD), delete kD.vendorPrefixes, yj[RD + H_] = kD; delete ip.vendorPrefixes; } var ip, RD, kD, j_, H_; Sj.exports = bj(G_, yj); }); // ../node_modules/clean-css/lib/writer/helpers.js var z_ = y((QYe, Cj) => { var Kc = "", Bn = Xh().Breaks, Ej = Xh().Spaces, Mn = zn(), ji = _r(); function g2e(e) { return e[1][1] == "background" || e[1][1] == "transform" || e[1][1] == "src"; } a(g2e, "supportsAfterClosingBrace"); function _2e(e, t) { return e[t][1][e[t][1].length - 1] == Mn.CLOSE_ROUND_BRACKET; } a(_2e, "afterClosingBrace"); function v2e(e, t) { return e[t][1] == Mn.COMMA; } a(v2e, "afterComma"); function b2e(e, t) { return e[t][1] == Mn.FORWARD_SLASH; } a(b2e, "afterSlash"); function y2e(e, t) { return e[t + 1] && e[t + 1][1] == Mn.COMMA; } a(y2e, "beforeComma"); function S2e(e, t) { return e[t + 1] && e[t + 1][1] == Mn.FORWARD_SLASH; } a(S2e, "beforeSlash"); function E2e(e) { return e[1][1] == "filter" || e[1][1] == "-ms-filter"; } a(E2e, "inFilter"); function A2e(e, t, r) { return !e.spaceAfterClosingBrace && g2e(t) && _2e(t, r) || S2e(t, r) || b2e(t, r) || y2e(t, r) || v2e(t, r); } a(A2e, "disallowsSpace"); function ap(e, t) { for (var r = e.store, n = 0, i = t.length; n < i; n++) r(e, t[n]), n < i - 1 && r(e, x2e(e)); } a(ap, "rules"); function up(e, t) { for (var r = T2e(t), n = 0, i = t.length; n < i; n++) Aj(e, t, n, r); } a(up, "body"); function T2e(e) { for (var t = e.length - 1; t >= 0 && e[t][0] == ji.COMMENT; t--) ; return t; } a(T2e, "lastPropertyIndex"); function Aj(e, t, r, n) { var i = e.store, s = t[r], o = s[2], u = o && o[0] === ji.PROPERTY_BLOCK, l; e.format ? e.format.semicolonAfterLastProperty || u || r < n ? l = !0 : l = !1 : l = r < n || u; var c = r === n; switch (s[0]) { case ji.AT_RULE: i(e, s), i(e, PD(e, Bn.AfterProperty, !1)); break; case ji.AT_RULE_BLOCK: ap(e, s[1]), i(e, sp(e, Bn.AfterRuleBegins, !0)), up(e, s[2]), i(e, op(e, Bn.AfterRuleEnds, !1, c)); break; case ji.COMMENT: i(e, s), i(e, iu(e, Bn.AfterComment) + e.indentWith); break; case ji.PROPERTY: i(e, s[1]), i(e, D2e(e)), o && Tj(e, s), i( e, l ? PD(e, Bn.AfterProperty, c) : Kc ); break; case ji.RAW: i(e, s); } } a(Aj, "property"); function Tj(e, t) { var r = e.store, n, i; if (t[2][0] == ji.PROPERTY_BLOCK) r(e, sp(e, Bn.AfterBlockBegins, !1)), up(e, t[2][1]), r(e, op(e, Bn.AfterBlockEnds, !1, !0)); else for (n = 2, i = t.length; n < i; n++) r(e, t[n]), n < i - 1 && (E2e(t) || !A2e(e, t, n)) && r(e, Mn.SPACE); } a(Tj, "value"); function iu(e, t) { return e.format ? e.format.breaks[t] : Kc; } a(iu, "breakFor"); function Dj(e, t) { return e.format && e.format.spaces[t]; } a(Dj, "allowsSpace"); function sp(e, t, r) { return e.format ? (e.indentBy += e.format.indentBy, e.indentWith = e.format.indentWith.repeat(e.indentBy), (r && Dj(e, Ej.BeforeBlockBegins) ? Mn.SPACE : Kc) + Mn.OPEN_CURLY_BRACKET + iu(e, t) + e.indentWith) : Mn.OPEN_CURLY_BRACKET; } a(sp, "openBrace"); function op(e, t, r, n) { return e.format ? (e.indentBy -= e.format.indentBy, e.indentWith = e.format.indentWith.repeat(e.indentBy), (r ? iu(e, Bn.BeforeBlockEnds) : iu(e, Bn.AfterProperty)) + e.indentWith + Mn.CLOSE_CURLY_BRACKET + (n ? Kc : iu(e, t) + e.indentWith)) : Mn.CLOSE_CURLY_BRACKET; } a(op, "closeBrace"); function D2e(e) { return e.format ? Mn.COLON + (Dj(e, Ej.BeforeValue) ? Mn.SPACE : Kc) : Mn.COLON; } a(D2e, "colon"); function PD(e, t, r) { return e.format ? Mn.SEMICOLON + (r ? Kc : iu(e, t) + e.indentWith) : Mn.SEMICOLON; } a(PD, "semicolon"); function x2e(e) { return e.format ? Mn.COMMA + iu(e, Bn.BetweenSelectors) + e.indentWith : Mn.COMMA; } a(x2e, "comma"); function xj(e, t) { var r = e.store, n, i, s, o; for (s = 0, o = t.length; s < o; s++) switch (n = t[s], i = s == o - 1, n[0]) { case ji.AT_RULE: r(e, n), r(e, PD(e, Bn.AfterAtRule, i)); break; case ji.AT_RULE_BLOCK: ap(e, n[1]), r(e, sp(e, Bn.AfterRuleBegins, !0)), up(e, n[2]), r(e, op(e, Bn.AfterRuleEnds, !1, i)); break; case ji.NESTED_BLOCK: ap(e, n[1]), r(e, sp(e, Bn.AfterBlockBegins, !0)), xj(e, n[2]), r(e, op(e, Bn.AfterBlockEnds, !0, i)); break; case ji.COMMENT: r(e, n), r(e, iu(e, Bn.AfterComment) + e.indentWith); break; case ji.RAW: r(e, n); break; case ji.RULE: ap(e, n[1]), r(e, sp(e, Bn.AfterRuleBegins, !0)), up(e, n[2]), r(e, op(e, Bn.AfterRuleEnds, !1, i)); break; } } a(xj, "all"); Cj.exports = { all: xj, body: up, property: Aj, rules: ap, value: Tj }; }); // ../node_modules/clean-css/lib/writer/one-time.js var Jr = y((JYe, wj) => { var lp = z_(); function C2e(e, t) { e.output.push(typeof t == "string" ? t : t[1]); } a(C2e, "store"); function cp() { var e = { output: [], store: C2e }; return e; } a(cp, "context"); function w2e(e) { var t = cp(); return lp.all(t, e), t.output.join(""); } a(w2e, "all"); function O2e(e) { var t = cp(); return lp.body(t, e), t.output.join(""); } a(O2e, "body"); function R2e(e, t) { var r = cp(); return lp.property(r, e, t, !0), r.output.join(""); } a(R2e, "property"); function k2e(e) { var t = cp(); return lp.rules(t, e), t.output.join(""); } a(k2e, "rules"); function P2e(e) { var t = cp(); return lp.value(t, e), t.output.join(""); } a(P2e, "value"); wj.exports = { all: w2e, body: O2e, property: R2e, rules: k2e, value: P2e }; }); // ../node_modules/clean-css/lib/optimizer/level-1/optimize.js var Fj = y((tQe, Pj) => { var F2e = w_(), I2e = k_(), N2e = N4(), L2e = B4(), K_ = P_(), B2e = _D(), M2e = Uc(), q2e = rl().all, W_ = ho(), FD = OD(), X_ = Zr().OptimizationLevel, Bs = _r(), U2e = zn(), $_ = Yh(), V2e = Jr().rules, ID = "@charset", Oj = new RegExp("^" + ID, "i"), H2e = DD().DEFAULT, j2e = /^--\S+$/, G2e = /^(?:-chrome-|-[\w-]+\w|\w[\w-]+\w|\w{1,})$/, z2e = /^@import/i, K2e = /^url\(/i; function W2e(e) { return K2e.test(e); } a(W2e, "startsAsUrl"); function $2e(e) { return z2e.test(e[1]); } a($2e, "isImport"); function X2e(e) { var t; return e.name == "filter" || e.name == "-ms-filter" ? (t = e.value[0][1], t.indexOf("progid") > -1 || t.indexOf("alpha") === 0 || t.indexOf( "chroma") === 0) : !1; } a(X2e, "isLegacyFilter"); function Y2e() { } a(Y2e, "noop"); function Q2e(e, t, r) { return t; } a(Q2e, "noopValueOptimizer"); function ND(e, t, r) { var n = r.options, i, s, o, u, l, c, f, d = V2e(e), g = q2e(t), b = r.options.plugins.level1Value, _ = r.options.plugins.level1Property, T, p, h; for (p = 0, h = g.length; p < h; p++) { var S, D, E, C; if (s = g[p], o = s.name, f = W_[o] && W_[o].propertyOptimizer || Y2e, i = W_[o] && W_[o].valueOptimizers || [FD.whiteSpace], T = j2e. test(o), T && (i = n.variableOptimizers.length > 0 ? n.variableOptimizers : [FD.whiteSpace]), !T && !G2e.test(o)) { c = s.all[s.position], r.warnings.push("Invalid property name '" + o + "' at " + $_(c[1][2][0]) + ". Ignoring."), s.unused = !0; continue; } if (s.value.length === 0) { c = s.all[s.position], r.warnings.push("Empty property '" + o + "' at " + $_(c[1][2][0]) + ". Ignoring."), s.unused = !0; continue; } if (s.hack && ((s.hack[0] == K_.ASTERISK || s.hack[0] == K_.UNDERSCORE) && !n.compatibility.properties.iePrefixHack || s.hack[0] == K_. BACKSLASH && !n.compatibility.properties.ieSuffixHack || s.hack[0] == K_.BANG && !n.compatibility.properties.ieBangHack)) { s.unused = !0; continue; } if (!n.compatibility.properties.ieFilters && X2e(s)) { s.unused = !0; continue; } if (s.block) { ND(e, s.value[0][1], r); continue; } for (S = 0, E = s.value.length; S < E; S++) { if (u = s.value[S][0], l = s.value[S][1], u == Bs.PROPERTY_BLOCK) { s.unused = !0, r.warnings.push("Invalid value token at " + $_(l[0][1][2][0]) + ". Ignoring."); break; } if (W2e(l) && !r.validator.isUrl(l)) { s.unused = !0, r.warnings.push("Broken URL '" + l + "' at " + $_(s.value[S][2][0]) + ". Ignoring."); break; } for (D = 0, C = i.length; D < C; D++) l = i[D](o, l, n); for (D = 0, C = b.length; D < C; D++) l = b[D](o, l, n); s.value[S][1] = l; } for (f(d, s, n), S = 0, E = _.length; S < E; S++) _[S](d, s, n); } M2e(g), B2e(g), Z2e(t, n); } a(ND, "optimizeBody"); function Z2e(e, t) { var r, n; for (n = 0; n < e.length; n++) r = e[n], r[0] == Bs.COMMENT && (Rj(r, t), r[1].length === 0 && (e.splice(n, 1), n--)); } a(Z2e, "removeComments"); function Rj(e, t) { if (e[1][2] == U2e.EXCLAMATION && (t.level[X_.One].specialComments == "all" || t.commentsKept < t.level[X_.One].specialComments)) { t.commentsKept++; return; } e[1] = []; } a(Rj, "optimizeComment"); function J2e(e) { for (var t = !1, r = 0, n = e.length; r < n; r++) { var i = e[r]; i[0] == Bs.AT_RULE && Oj.test(i[1]) && (t || i[1].indexOf(ID) == -1 ? (e.splice(r, 1), r--, n--) : (t = !0, e.splice(r, 1), e.unshift( [Bs.AT_RULE, i[1].replace(Oj, ID)]))); } } a(J2e, "cleanupCharsets"); function eCe(e) { var t = ["px", "em", "ex", "cm", "mm", "in", "pt", "pc", "%"], r = ["ch", "rem", "vh", "vm", "vmax", "vmin", "vw"]; return r.forEach(function(n) { e.compatibility.units[n] && t.push(n); }), new RegExp("(^|\\s|\\(|,)0(?:" + t.join("|") + ")(\\W|$)", "g"); } a(eCe, "buildUnitRegexp"); function tCe(e) { var t = { matcher: null, units: {} }, r = [], n, i; for (n in e) i = e[n], i != H2e && (t.units[n] = {}, t.units[n].value = i, t.units[n].multiplier = 10 ** i, r.push(n)); return r.length > 0 && (t.enabled = !0, t.decimalPointMatcher = new RegExp("(\\d)\\.($|" + r.join("|") + ")($|\\W)", "g"), t.zeroMatcher = new RegExp("(\\d*)(\\.\\d+)(" + r.join("|") + ")", "g")), t; } a(tCe, "buildPrecisionOptions"); function rCe(e) { return e.level[X_.One].variableValueOptimizers.map(function(t) { return typeof t == "string" ? FD[t] || Q2e : t; }); } a(rCe, "buildVariableOptimizers"); function kj(e, t) { var r = t.options, n = r.level[X_.One], i = r.compatibility.selectors.ie7Hack, s = r.compatibility.selectors.adjacentSpace, o = r.compatibility. properties.spaceAfterClosingBrace, u = r.format, l = !1, c = !1; r.unitsRegexp = r.unitsRegexp || eCe(r), r.precision = r.precision || tCe(n.roundingPrecision), r.commentsKept = r.commentsKept || 0, r. variableOptimizers = r.variableOptimizers || rCe(r); for (var f = 0, d = e.length; f < d; f++) { var g = e[f]; switch (g[0]) { case Bs.AT_RULE: g[1] = $2e(g) && c ? "" : g[1], g[1] = n.tidyAtRules ? L2e(g[1]) : g[1], l = !0; break; case Bs.AT_RULE_BLOCK: ND(g[1], g[2], t), c = !0; break; case Bs.NESTED_BLOCK: g[1] = n.tidyBlockScopes ? N2e(g[1], o) : g[1], kj(g[2], t), c = !0; break; case Bs.COMMENT: Rj(g, r); break; case Bs.RULE: g[1] = n.tidySelectors ? I2e(g[1], !i, s, u, t.warnings) : g[1], g[1] = g[1].length > 1 ? F2e(g[1], n.selectorsSortingMethod) : g[1], ND(g[1], g[2], t), c = !0; break; } (g[0] == Bs.COMMENT && g[1].length === 0 || n.removeEmpty && (g[1].length === 0 || g[2] && g[2].length === 0)) && (e.splice(f, 1), f--, d--); } return n.cleanupCharsets && l && J2e(e), e; } a(kj, "level1Optimize"); Pj.exports = kj; }); // ../node_modules/clean-css/lib/optimizer/level-2/is-mergeable.js var fp = y((nQe, Lj) => { var en = zn(), nCe = zc(), iCe = /\/deep\//, aCe = /^::/, sCe = /:(-moz-|-ms-|-o-|-webkit-)/, Ij = ":not", Nj = [ ":dir", ":lang", ":not", ":nth-child", ":nth-last-child", ":nth-last-of-type", ":nth-of-type" ], oCe = /[>+~]/, uCe = [ ":after", ":before", ":first-letter", ":first-line", ":lang" ], lCe = [ "::after", "::before", "::first-letter", "::first-line" ], Za = { DOUBLE_QUOTE: "double-quote", SINGLE_QUOTE: "single-quote", ROOT: "root" }; function cCe(e, t, r, n) { var i = nCe(e, en.COMMA), s, o, u; for (o = 0, u = i.length; o < u; o++) if (s = i[o], s.length === 0 || fCe(s) || hCe(s) || s.indexOf(en.COLON) > -1 && !dCe( s, pCe(s), t, r, n )) return !1; return !0; } a(cCe, "isMergeable"); function fCe(e) { return iCe.test(e); } a(fCe, "isDeepSelector"); function hCe(e) { return sCe.test(e); } a(hCe, "isVendorPrefixed"); function pCe(e) { var t = [], r, n = [], i = Za.ROOT, s = 0, o, u, l = !1, c, f = !1, d, g; for (d = 0, g = e.length; d < g; d++) r = e[d], c = !u && oCe.test(r), o = i == Za.DOUBLE_QUOTE || i == Za.SINGLE_QUOTE, u ? n.push(r) : r == en.DOUBLE_QUOTE && i == Za.ROOT ? (n.push(r), i = Za.DOUBLE_QUOTE) : r == en.DOUBLE_QUOTE && i == Za.DOUBLE_QUOTE ? (n.push(r), i = Za.ROOT) : r == en.SINGLE_QUOTE && i == Za.ROOT ? (n.push(r), i = Za.SINGLE_QUOTE) : r == en.SINGLE_QUOTE && i == Za.SINGLE_QUOTE ? (n.push(r), i = Za.ROOT) : o ? n.push(r) : r == en.OPEN_ROUND_BRACKET ? (n.push(r), s++) : r == en.CLOSE_ROUND_BRACKET && s == 1 && l ? (n.push(r), t.push(n.join("")), s--, n = [], l = !1) : r == en.CLOSE_ROUND_BRACKET ? (n.push(r), s--) : r == en.COLON && s === 0 && l && !f ? (t.push(n.join("")), n = [], n.push(r)) : r == en.COLON && s === 0 && !f ? (n = [], n.push(r), l = !0) : r == en.SPACE && s === 0 && l ? (t.push(n.join("")), n = [], l = !1) : c && s === 0 && l ? (t.push(n.join("")), n = [], l = !1) : n.push(r), u = r == en.BACK_SLASH, f = r == en.COLON; return n.length > 0 && l && t.push(n.join("")), t; } a(pCe, "extractPseudoFrom"); function dCe(e, t, r, n, i) { return mCe(t, r, n) && gCe(t) && (t.length < 2 || !_Ce(e, t)) && (t.length < 2 || i && vCe(t)); } a(dCe, "areMergeable"); function mCe(e, t, r) { var n, i, s, o; for (s = 0, o = e.length; s < o; s++) if (n = e[s], i = n.indexOf(en.OPEN_ROUND_BRACKET) > -1 ? n.substring(0, n.indexOf(en.OPEN_ROUND_BRACKET)) : n, t.indexOf(i) === -1 && r.indexOf(i) === -1) return !1; return !0; } a(mCe, "areAllowed"); function gCe(e) { var t, r, n, i, s, o; for (s = 0, o = e.length; s < o; s++) if (t = e[s], n = t.indexOf(en.OPEN_ROUND_BRACKET), i = n > -1, r = i ? t.substring(0, n) : t, i && Nj.indexOf(r) == -1 || !i && Nj.indexOf( r) > -1) return !1; return !0; } a(gCe, "needArguments"); function _Ce(e, t) { var r = 0, n, i, s, o, u, l, c, f, d; for (f = 0, d = t.length; f < d && (n = t[f], s = t[f + 1], !!s); f++) if (i = e.indexOf(n, r), o = e.indexOf(n, i + 1), r = o, c = i + n.length == o, c && (u = n.indexOf(en.OPEN_ROUND_BRACKET) > -1 ? n.substring( 0, n.indexOf(en.OPEN_ROUND_BRACKET)) : n, l = s.indexOf(en.OPEN_ROUND_BRACKET) > -1 ? s.substring(0, s.indexOf(en.OPEN_ROUND_BRACKET)) : s, u != Ij || l != Ij)) return !0; return !1; } a(_Ce, "someIncorrectlyChained"); function vCe(e) { var t = 0, r, n, i; for (n = 0, i = e.length; n < i; n++) if (r = e[n], bCe(r) ? t += lCe.indexOf(r) > -1 ? 1 : 0 : t += uCe.indexOf(r) > -1 ? 1 : 0, t > 1) return !1; return !0; } a(vCe, "allMixable"); function bCe(e) { return aCe.test(e); } a(bCe, "isPseudoElement"); Lj.exports = cCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/every-values-pair.js var LD = y((aQe, Mj) => { var Bj = zn(); function yCe(e, t, r) { var n = t.value.length, i = r.value.length, s = Math.max(n, i), o = Math.min(n, i) - 1, u, l, c; for (c = 0; c < s; c++) if (u = t.value[c] && t.value[c][1] || u, l = r.value[c] && r.value[c][1] || l, !(u == Bj.COMMA || l == Bj.COMMA) && !e(u, l, c, c <= o)) return !1; return !0; } a(yCe, "everyValuesPair"); Mj.exports = yCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/has-inherit.js var BD = y((oQe, qj) => { function SCe(e) { for (var t = e.value.length - 1; t >= 0; t--) if (e.value[t][1] == "inherit") return !0; return !1; } a(SCe, "hasInherit"); qj.exports = SCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/has-same-values.js var Vj = y((lQe, Uj) => { function ECe(e) { var t = e.value[0][1], r, n; for (r = 1, n = e.value.length; r < n; r++) if (e.value[r][1] != t) return !1; return !0; } a(ECe, "hasSameValues"); Uj.exports = ECe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/populate-components.js var Q_ = y((fQe, Hj) => { var Y_ = ho(), ACe = vD(); function TCe(e, t, r) { for (var n, i, s, o = e.length - 1; o >= 0; o--) { var u = e[o], l = Y_[u.name]; if (!u.dynamic && l && l.shorthand) { if (DCe(u, t) || xCe(u, t)) { u.optimizable = !1; continue; } u.shorthand = !0, u.dirty = !0; try { if (u.components = l.breakUp(u, Y_, t), l.shorthandComponents) for (i = 0, s = u.components.length; i < s; i++) n = u.components[i], n.components = Y_[n.name].breakUp(n, Y_, t); } catch (c) { if (c instanceof ACe) u.components = [], r.push(c.message); else throw c; } u.components.length > 0 ? u.multiplex = u.components[0].multiplex : u.unused = !0; } } } a(TCe, "populateComponents"); function DCe(e, t) { return e.value.length == 1 && t.isVariable(e.value[0][1]); } a(DCe, "onlyValueIsVariable"); function xCe(e, t) { return e.value.length > 1 && e.value.filter( function(r) { return t.isVariable(r[1]); } ).length > 1; } a(xCe, "moreThanOneValueIsVariable"); Hj.exports = TCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/restore-with-components.js var Z_ = y((pQe, Gj) => { var jj = ho(); function CCe(e) { var t = jj[e.name]; return t && t.shorthand ? t.restore(e, jj) : e.value; } a(CCe, "restoreWithComponents"); Gj.exports = CCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/merge-into-shorthands.js var Yj = y((mQe, Xj) => { var wCe = LD(), MD = BD(), OCe = Vj(), J_ = Q_(), xa = ho(), hp = Jh().deep, Wj = Z_(), $j = Uc(), ev = rl().single, zj = Jr().body, aa = _r(); function RCe(e, t) { var r = {}, n, i, s, o, u, l, c; if (!(e.length < 3)) { for (o = 0, u = e.length; o < u; o++) if (s = e[o], n = xa[s.name], !s.dynamic && !s.unused && !s.hack && !s.block && !(n && n.singleTypeComponents && !OCe(s)) && (Kj(e, o, r, t), n && n.componentOf)) for (l = 0, c = n.componentOf.length; l < c; l++) i = n.componentOf[l], r[i] = r[i] || {}, r[i][s.name] = s; Kj(e, o, r, t); } } a(RCe, "mergeIntoShorthands"); function Kj(e, t, r, n) { var i = e[t], s, o, u, l = [], c; for (s in r) if (!(i !== void 0 && s == i.name)) { if (o = xa[s], u = r[s], i && kCe(r, s, i)) { delete r[s]; continue; } o.components.length > Object.keys(u).length || PCe(u) || FCe(u, s, n) && NCe(u) && (LCe(u) ? BCe(e, u, s, n) : jCe(e, u, s, n), l.push( s)); } for (c = l.length - 1; c >= 0; c--) delete r[l[c]]; } a(Kj, "invalidateOrCompact"); function kCe(e, t, r) { var n = xa[t], i = xa[r.name], s; if ("overridesShorthands" in n && n.overridesShorthands.indexOf(r.name) > -1) return !0; if (i && "componentOf" in i) { for (s in e[t]) if (i.componentOf.indexOf(s) > -1) return !0; } return !1; } a(kCe, "invalidates"); function PCe(e) { var t, r; for (r in e) { if (t !== void 0 && e[r].important != t) return !0; t = e[r].important; } return !1; } a(PCe, "mixedImportance"); function FCe(e, t, r) { var n = xa[t], i = [ aa.PROPERTY, [aa.PROPERTY_NAME, t], [aa.PROPERTY_VALUE, n.defaultValue] ], s = ev(i), o, u, l, c; for (J_([s], r, []), l = 0, c = n.components.length; l < c; l++) if (o = e[n.components[l]], u = xa[o.name].canOverride || ICe, !wCe(u.bind(null, r), s.components[l], o)) return !1; return !0; } a(FCe, "overridable"); function ICe(e, t, r) { return t === r; } a(ICe, "sameValue"); function NCe(e) { var t = null, r, n, i, s, o; for (n in e) if (i = e[n], s = xa[n], "restore" in s) { if ($j([i.all[i.position]], Wj), o = s.restore(i, xa), r = o.length, t !== null && r !== t) return !1; t = r; } return !0; } a(NCe, "mergeable"); function LCe(e) { var t, r = null, n; for (t in e) { if (n = MD(e[t]), r !== null && r !== n) return !0; r = n; } return !1; } a(LCe, "mixedInherit"); function BCe(e, t, r, n) { var i = MCe(t, r, n), s = VCe(t, r, n), o = i[0], u = s[0], l = zj(o).length < zj(u).length, c = l ? o : u, f = l ? i[1] : s[1], d = l ? i[2] : s[2], g = t[Object.keys(t).pop()], b = g.all, _ = g.position, T, p, h, S; f.position = _, f.shorthand = !0, f.important = g.important, f.multiplex = !1, f.dirty = !0, f.all = b, f.all[_] = c[0], e.splice(_, 1, f); for (T in t) p = t[T], p.unused = !0, f.multiplex = f.multiplex || p.multiplex, p.name in d && (h = d[p.name], S = HCe(c, T), h.position = b.length, h.all = b, h.all.push(S), e.push(h)); } a(BCe, "replaceWithInheritBestFit"); function MCe(e, t, r) { var n = [], i = {}, s = {}, o = xa[t], u = [ aa.PROPERTY, [aa.PROPERTY_NAME, t], [aa.PROPERTY_VALUE, o.defaultValue] ], l = ev(u), c, f, d, g, b, _; for (J_([l], r, []), b = 0, _ = o.components.length; b < _; b++) c = e[o.components[b]], MD(c) ? (f = c.all[c.position].slice(0, 2), Array.prototype.push.apply(f, c.value), n.push(f), d = hp(c), d.value = qCe(e, d.name), l.components[b] = d, i[c.name] = hp(c)) : (d = hp(c), d.all = c.all, l.components[b] = d, s[c.name] = c); return l.important = e[Object.keys(e).pop()].important, g = pp(s, 1), u[1].push(g), $j([l], Wj), u = u.slice(0, 2), Array.prototype.push. apply(u, l.value), n.unshift(u), [n, l, i]; } a(MCe, "buildSequenceWithInheritLonghands"); function qCe(e, t) { var r = xa[t]; return "oppositeTo" in r ? e[r.oppositeTo].value : [[aa.PROPERTY_VALUE, r.defaultValue]]; } a(qCe, "inferComponentValue"); function pp(e, t) { var r = [], n, i, s, o; for (o in e) n = e[o], i = n.all[n.position], s = i[t][i[t].length - 1], Array.prototype.push.apply(r, s); return r.sort(UCe); } a(pp, "joinMetadata"); function UCe(e, t) { var r = e[0], n = t[0], i = e[1], s = t[1]; return r < n || r === n && i < s ? -1 : 1; } a(UCe, "metadataSorter"); function VCe(e, t, r) { var n = [], i = {}, s = {}, o = xa[t], u = [ aa.PROPERTY, [aa.PROPERTY_NAME, t], [aa.PROPERTY_VALUE, "inherit"] ], l = ev(u), c, f, d, g, b, _; for (J_([l], r, []), b = 0, _ = o.components.length; b < _; b++) c = e[o.components[b]], MD(c) ? i[c.name] = c : (f = c.all[c.position].slice(0, 2), Array.prototype.push.apply(f, c.value), n.push(f), s[c.name] = hp(c)); return d = pp(i, 1), u[1].push(d), g = pp(i, 2), u[2].push(g), n.unshift(u), [n, l, s]; } a(VCe, "buildSequenceWithInheritShorthand"); function HCe(e, t) { var r, n; for (r = 0, n = e.length; r < n; r++) if (e[r][1][1] == t) return e[r]; } a(HCe, "findTokenIn"); function jCe(e, t, r, n) { var i = xa[r], s, o, u = [ aa.PROPERTY, [aa.PROPERTY_NAME, r], [aa.PROPERTY_VALUE, i.defaultValue] ], l, c = GCe(e, t, r), f = ev(u); f.shorthand = !0, f.dirty = !0, f.multiplex = !1, J_([f], n, []); for (var d = 0, g = i.components.length; d < g; d++) { var b = t[i.components[d]]; f.components[d] = hp(b), f.important = b.important, f.multiplex = f.multiplex || b.multiplex, l = b.all; } for (var _ in t) t[_].unused = !0; s = pp(t, 1), u[1].push(s), o = pp(t, 2), u[2].push(o), f.position = c, f.all = l, f.all[c] = u, e.splice(c, 1, f); } a(jCe, "replaceWithShorthand"); function GCe(e, t, r) { var n = Object.keys(t), i = t[n[0]].position, s = t[n[n.length - 1]].position; return r == "border" && zCe(e.slice(i, s), "border-image") ? i : s; } a(GCe, "inferInsertAtFrom"); function zCe(e, t) { for (var r = e.length - 1; r >= 0; r--) if (e[r].name == t) return !0; return !1; } a(zCe, "traversesVia"); Xj.exports = RCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/has-unset.js var Zj = y((_Qe, Qj) => { function KCe(e) { for (var t = e.value.length - 1; t >= 0; t--) if (e.value[t][1] == "unset") return !0; return !1; } a(KCe, "hasUnset"); Qj.exports = KCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/find-component-in.js var tG = y((bQe, eG) => { var WCe = ho(); function $Ce(e, t) { var r = XCe(t); return Jj(e, r) || YCe(e, r); } a($Ce, "findComponentIn"); function XCe(e) { return function(t) { return e.name === t.name; }; } a(XCe, "nameComparator"); function Jj(e, t) { return e.components.filter(t)[0]; } a(Jj, "findInDirectComponents"); function YCe(e, t) { var r, n, i, s; if (WCe[e.name].shorthandComponents) { for (i = 0, s = e.components.length; i < s; i++) if (r = e.components[i], n = Jj(r, t), n) return n; } } a(YCe, "findInSubComponents"); eG.exports = $Ce; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/is-component-of.js var aG = y((SQe, iG) => { var rG = ho(); function QCe(e, t, r) { return nG(e, t) || !r && !!rG[e.name].shorthandComponents && ZCe(e, t); } a(QCe, "isComponentOf"); function nG(e, t) { var r = rG[e.name]; return "components" in r && r.components.indexOf(t.name) > -1; } a(nG, "isDirectComponentOf"); function ZCe(e, t) { return e.components.some(function(r) { return nG(r, t); }); } a(ZCe, "isSubComponentOf"); iG.exports = QCe; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/is-mergeable-shorthand.js var oG = y((AQe, sG) => { var JCe = zn(); function e1e(e) { return e.name != "font" ? !0 : e.value[0][1].indexOf(JCe.INTERNAL) == -1; } a(e1e, "isMergeableShorthand"); sG.exports = e1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/overrides-non-component-shorthand.js var lG = y((DQe, uG) => { var qD = ho(); function t1e(e, t) { return e.name in qD && "overridesShorthands" in qD[e.name] && qD[e.name].overridesShorthands.indexOf(t.name) > -1; } a(t1e, "overridesNonComponentShorthand"); uG.exports = t1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/override-properties.js var vG = y((CQe, _G) => { var UD = BD(), cG = Zj(), au = LD(), ol = tG(), VD = aG(), HD = oG(), r1e = lG(), fG = ED().same, Gi = ho(), hG = Jh().deep, jD = Z_(), n1e = Jh(). shallow, GD = Uc(), Wc = _r(), rv = zn(), i1e = Jr().property; function su(e, t, r) { return t === r; } a(su, "sameValue"); function a1e(e, t) { for (var r = 0; r < e.components.length; r++) { var n = e.components[r], i = Gi[n.name], s = i && i.canOverride || su, o = n1e(n); if (o.value = [[Wc.PROPERTY_VALUE, i.defaultValue]], !au(s.bind(null, t), o, n)) return !0; } return !1; } a(a1e, "wouldBreakCompatibility"); function dG(e, t) { t.unused = !0, $D(t, nv(e)), e.value = t.value; } a(dG, "overrideIntoMultiplex"); function mG(e, t) { t.unused = !0, e.multiplex = !0, e.value = t.value; } a(mG, "overrideByMultiplex"); function s1e(e, t) { t.unused = !0, e.value = t.value; } a(s1e, "overrideSimple"); function WD(e, t) { t.multiplex ? mG(e, t) : e.multiplex ? dG(e, t) : s1e(e, t); } a(WD, "override"); function o1e(e, t) { t.unused = !0; for (var r = 0, n = e.components.length; r < n; r++) WD(e.components[r], t.components[r]); } a(o1e, "overrideShorthand"); function $D(e, t) { e.multiplex = !0, Gi[e.name].shorthand ? u1e(e, t) : gG(e, t); } a($D, "turnIntoMultiplex"); function u1e(e, t) { var r, n, i; for (n = 0, i = e.components.length; n < i; n++) r = e.components[n], r.multiplex || gG(r, t); } a(u1e, "turnShorthandValueIntoMultiplex"); function gG(e, t) { for (var r = Gi[e.name], n = r.intoMultiplexMode == "real", i = r.intoMultiplexMode == "real" ? e.value.slice(0) : r.intoMultiplexMode == "placeholder" ? r.placeholderValue : r.defaultValue, s = nv(e), o, u = i.length; s < t; s++) if (e.value.push([Wc.PROPERTY_VALUE, rv.COMMA]), Array.isArray(i)) for (o = 0; o < u; o++) e.value.push(n ? i[o] : [Wc.PROPERTY_VALUE, i[o]]); else e.value.push(n ? i : [Wc.PROPERTY_VALUE, i]); } a(gG, "turnLonghandValueIntoMultiplex"); function nv(e) { for (var t = 0, r = 0, n = e.value.length; r < n; r++) e.value[r][1] == rv.COMMA && t++; return t + 1; } a(nv, "multiplexSize"); function zD(e) { var t = [ Wc.PROPERTY, [Wc.PROPERTY_NAME, e.name] ].concat(e.value); return i1e([t], 0).length; } a(zD, "lengthOf"); function l1e(e, t, r) { for (var n = 0, i = t; i >= 0 && (e[i].name == r && !e[i].unused && n++, !(n > 1)); i--) ; return n > 1; } a(l1e, "moreSameShorthands"); function KD(e, t) { for (var r = 0, n = e.components.length; r < n; r++) if (!tv(t.isUrl, e.components[r]) && tv(t.isFunction, e.components[r])) return !0; return !1; } a(KD, "overridingFunction"); function tv(e, t) { for (var r = 0, n = t.value.length; r < n; r++) if (t.value[r][1] != rv.COMMA && e(t.value[r][1])) return !0; return !1; } a(tv, "anyValue"); function c1e(e, t) { if (!e.multiplex && !t.multiplex || e.multiplex && t.multiplex) return !1; var r = e.multiplex ? e : t, n = e.multiplex ? t : e, i, s = hG(r); GD([s], jD); var o = hG(n); GD([o], jD); var u = zD(s) + 1 + zD(o); e.multiplex ? (i = ol(s, o), dG(i, o)) : (i = ol(o, s), $D(o, nv(s)), mG(i, s)), GD([o], jD); var l = zD(o); return u <= l; } a(c1e, "wouldResultInLongerValue"); function pG(e) { return e.name in Gi; } a(pG, "isCompactable"); function f1e(e, t) { return !e.multiplex && (e.name == "background" || e.name == "background-image") && t.multiplex && (t.name == "background" || t.name == "\ background-image") && h1e(t.value); } a(f1e, "noneOverrideHack"); function h1e(e) { for (var t = p1e(e), r = 0, n = t.length; r < n; r++) if (t[r].length == 1 && t[r][0][1] == "none") return !0; return !1; } a(h1e, "anyLayerIsNone"); function p1e(e) { for (var t = [], r = 0, n = [], i = e.length; r < i; r++) { var s = e[r]; s[1] == rv.COMMA ? (t.push(n), n = []) : n.push(s); } return t.push(n), t; } a(p1e, "intoLayers"); function d1e(e, t, r, n) { var i, s, o, u, l, c, f, d, g, b, _; e: for (g = e.length - 1; g >= 0; g--) if (s = e[g], !!pG(s) && !s.block) { i = Gi[s.name].canOverride || su; t: for (b = g - 1; b >= 0; b--) if (o = e[b], !!pG(o) && !o.block && !(o.dynamic || s.dynamic) && !(o.unused || s.unused) && !(o.hack && !s.hack && !s.important || !o.hack && !o.important && s.hack) && !(o.important == s.important && o.hack[0] != s.hack[0]) && !(o.important == s.important && (o.hack[0] != s.hack[0] || o.hack[1] && o.hack[1] != s.hack[1])) && !UD(s) && !f1e(o, s)) { if (s.shorthand && VD(s, o)) { if (!s.important && o.important || !fG([o], s.components) || !tv(n.isFunction, o) && KD(s, n)) continue; if (!HD(s)) { o.unused = !0; continue; } u = ol(s, o), i = Gi[o.name].canOverride || su, au(i.bind(null, n), o, u) && (o.unused = !0); } else if (s.shorthand && r1e(s, o)) { if (!s.important && o.important || !fG([o], s.components) || !tv(n.isFunction, o) && KD(s, n)) continue; for (l = o.shorthand ? o.components : [o], _ = l.length - 1; _ >= 0; _--) if (c = l[_], f = ol(s, c), i = Gi[c.name].canOverride || su, !au(i.bind(null, n), o, f)) continue t; o.unused = !0; } else if (t && o.shorthand && !s.shorthand && VD(o, s, !0)) { if (s.important && !o.important) continue; if (!s.important && o.important) { s.unused = !0; continue; } if (l1e(e, g - 1, o.name) || KD(o, n) || !HD(o) || cG(o) || cG(s)) continue; if (u = ol(o, s), au(i.bind(null, n), u, s)) { var T = !r.properties.backgroundClipMerging && u.name.indexOf("background-clip") > -1 || !r.properties.backgroundOriginMerging && u.name.indexOf("background-origin") > -1 || !r.properties.backgroundSizeMerging && u.name.indexOf("background-size") > -1, p = Gi[s.name].nonMergeableValue === s.value[0][1]; if (T || p || !r.properties.merging && a1e(o, n) || u.value[0][1] != s.value[0][1] && (UD(o) || UD(s)) || c1e(o, s)) continue; !o.multiplex && s.multiplex && $D(o, nv(s)), WD(u, s), o.dirty = !0; } } else if (t && o.shorthand && s.shorthand && o.name == s.name) { if (!o.multiplex && s.multiplex) continue; if (!s.important && o.important) { s.unused = !0; continue e; } if (s.important && !o.important) { o.unused = !0; continue; } if (!HD(s)) { o.unused = !0; continue; } for (_ = o.components.length - 1; _ >= 0; _--) { var h = o.components[_], S = s.components[_]; if (i = Gi[h.name].canOverride || su, !au(i.bind(null, n), h, S)) continue e; } o1e(o, s), o.dirty = !0; } else if (t && o.shorthand && s.shorthand && VD(o, s)) { if (!o.important && s.important || (u = ol(o, s), i = Gi[s.name].canOverride || su, !au(i.bind(null, n), u, s))) continue; if (o.important && !s.important) { s.unused = !0; continue; } var D = Gi[s.name].restore(s, Gi); if (D.length > 1) continue; u = ol(o, s), WD(u, s), s.dirty = !0; } else if (o.name == s.name) { if (d = !0, s.shorthand) for (_ = s.components.length - 1; _ >= 0 && d; _--) c = o.components[_], f = s.components[_], i = Gi[f.name].canOverride || su, d = au(i.bind(null, n), c, f); else i = Gi[s.name].canOverride || su, d = au(i.bind(null, n), o, s); if (o.important && !s.important && d) { s.unused = !0; continue; } if (!o.important && s.important && d) { o.unused = !0; continue; } if (!d) continue; o.unused = !0; } } } } a(d1e, "overrideProperties"); _G.exports = d1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/properties/optimize.js var dp = y((OQe, yG) => { var m1e = Yj(), g1e = vG(), _1e = Q_(), v1e = Z_(), b1e = rl().all, y1e = _D(), S1e = Uc(), E1e = Zr().OptimizationLevel; function bG(e, t, r, n) { var i = n.options.level[E1e.Two], s = b1e(e, i.skipProperties), o, u, l; for (_1e(s, n.validator, n.warnings), u = 0, l = s.length; u < l; u++) o = s[u], o.block && bG(o.value[0][1], t, r, n); r && i.mergeIntoShorthands && m1e(s, n.validator), t && i.overrideProperties && g1e(s, r, n.options.compatibility, n.validator), S1e(s, v1e), y1e(s); } a(bG, "optimizeProperties"); yG.exports = bG; }); // ../node_modules/clean-css/lib/optimizer/level-2/merge-adjacent.js var TG = y((kQe, AG) => { var SG = fp(), A1e = dp(), T1e = w_(), D1e = k_(), x1e = Zr().OptimizationLevel, EG = Jr().body, iv = Jr().rules, XD = _r(); function C1e(e, t) { for (var r = [null, [], []], n = t.options, i = n.compatibility.selectors.adjacentSpace, s = n.level[x1e.One].selectorsSortingMethod, o = n. compatibility.selectors.mergeablePseudoClasses, u = n.compatibility.selectors.mergeablePseudoElements, l = n.compatibility.selectors.mergeLimit, c = n.compatibility.selectors.multiplePseudoMerging, f = 0, d = e.length; f < d; f++) { var g = e[f]; if (g[0] != XD.RULE) { r = [null, [], []]; continue; } r[0] == XD.RULE && iv(g[1]) == iv(r[1]) ? (Array.prototype.push.apply(r[2], g[2]), A1e(r[2], !0, !0, t), g[2] = []) : r[0] == XD.RULE && EG(g[2]) == EG(r[2]) && SG(iv(g[1]), o, u, c) && SG( iv(r[1]), o, u, c ) && r[1].length < l ? (r[1] = D1e(r[1].concat(g[1]), !1, i, !1, t.warnings), r[1] = r.length > 1 ? T1e(r[1], s) : r[1], g[2] = []) : r = g; } } a(C1e, "mergeAdjacent"); AG.exports = C1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/rules-overlap.js var YD = y((FQe, xG) => { var w1e = /--.+$/; function O1e(e, t, r) { var n, i, s, o, u, l; for (s = 0, o = e.length; s < o; s++) for (n = e[s][1], u = 0, l = t.length; u < l; u++) if (i = t[u][1], n == i || r && DG(n) == DG(i)) return !0; return !1; } a(O1e, "rulesOverlap"); function DG(e) { return e.replace(w1e, ""); } a(DG, "withoutModifiers"); xG.exports = O1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/specificity.js var wG = y((NQe, CG) => { var po = zn(), mp = { ADJACENT_SIBLING: "+", DESCENDANT: ">", DOT: ".", HASH: "#", NON_ADJACENT_SIBLING: "~", PSEUDO: ":" }, R1e = /[a-zA-Z]/, k1e = ":not(", P1e = /[\s,(>~+]/; function F1e(e) { var t = [0, 0, 0], r, n, i, s, o = 0, u, l = !1, c = !1, f, d; for (f = 0, d = e.length; f < d; f++) { if (r = e[f], !n) if (r == po.SINGLE_QUOTE && !s && !i) i = !0; else if (r == po.SINGLE_QUOTE && !s && i) i = !1; else if (r == po.DOUBLE_QUOTE && !s && !i) s = !0; else if (r == po.DOUBLE_QUOTE && s && !i) s = !1; else { if (i || s) continue; o > 0 && !l || (r == po.OPEN_ROUND_BRACKET ? o++ : r == po.CLOSE_ROUND_BRACKET && o == 1 ? (o--, l = !1) : r == po.CLOSE_ROUND_BRACKET ? o-- : r == mp.HASH ? t[0]++ : r == mp.DOT || r == po.OPEN_SQUARE_BRACKET ? t[1]++ : r == mp.PSEUDO && !c && !I1e(e, f) ? (t[1]++, l = !1) : r == mp.PSEUDO ? l = !0 : (f === 0 || u) && R1e.test(r) && t[2]++); } n = r == po.BACK_SLASH, c = r == mp.PSEUDO, u = !n && P1e.test(r); } return t; } a(F1e, "specificity"); function I1e(e, t) { return e.indexOf(k1e, t) === t; } a(I1e, "isNotPseudoClass"); CG.exports = F1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/specificities-overlap.js var kG = y((BQe, RG) => { var N1e = wG(); function L1e(e, t, r) { var n, i, s, o, u, l; for (s = 0, o = e.length; s < o; s++) for (n = OG(e[s][1], r), u = 0, l = t.length; u < l; u++) if (i = OG(t[u][1], r), n[0] === i[0] && n[1] === i[1] && n[2] === i[2]) return !0; return !1; } a(L1e, "specificitiesOverlap"); function OG(e, t) { var r; return e in t || (t[e] = r = N1e(e)), r || t[e]; } a(OG, "findSpecificity"); RG.exports = L1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/reorderable.js var gp = y((qQe, UG) => { var B1e = YD(), M1e = kG(), PG = /align-items|box-align|box-pack|flex|justify/, FG = /^border-(top|right|bottom|left|color|style|width|radius)/; function q1e(e, t, r) { for (var n = t.length - 1; n >= 0; n--) for (var i = e.length - 1; i >= 0; i--) if (!qG(e[i], t[n], r)) return !1; return !0; } a(q1e, "canReorder"); function qG(e, t, r) { var n = e[0], i = e[1], s = e[2], o = e[5], u = e[6], l = t[0], c = t[1], f = t[2], d = t[5], g = t[6]; return n == "font" && l == "line-height" || l == "font" && n == "line-height" || PG.test(n) && PG.test(l) || s == f && IG(n) == IG(l) && av(n) ^ av(l) || s == "border" && FG.test(f) && (n == "border" || n == f || i != c && NG(n, l)) || f == "border" && FG.test(s) && (l == "\ border" || l == s || i != c && NG(n, l)) || s == "border" && f == "border" && n != l && (LG(n) && BG(l) || BG(n) && LG(l)) ? !1 : !!(s != f || n == l && s == f && (i == c || U1e(i, c)) || n != l && s == f && n != s && l != f || n != l && s == f && i == c || g && u && !MG(s) && !MG( f) && !B1e(d, o, !1) || !M1e(o, d, r)); } a(qG, "canReorderSingle"); function av(e) { return /^-(?:moz|webkit|ms|o)-/.test(e); } a(av, "vendorPrefixed"); function IG(e) { return e.replace(/^-(?:moz|webkit|ms|o)-/, ""); } a(IG, "unprefixed"); function NG(e, t) { return e.split("-").pop() == t.split("-").pop(); } a(NG, "sameBorderComponent"); function LG(e) { return e == "border-top" || e == "border-right" || e == "border-bottom" || e == "border-left"; } a(LG, "isSideBorder"); function BG(e) { return e == "border-color" || e == "border-style" || e == "border-width"; } a(BG, "isStyleBorder"); function U1e(e, t) { return av(e) && av(t) && e.split("-")[1] != t.split("-")[2]; } a(U1e, "withDifferentVendorPrefix"); function MG(e) { return e == "font" || e == "line-height" || e == "list-style"; } a(MG, "inheritable"); UG.exports = { canReorder: q1e, canReorderSingle: qG }; }); // ../node_modules/clean-css/lib/optimizer/level-2/extract-properties.js var sv = y((VQe, HG) => { var QD = _r(), V1e = Jr().rules, H1e = Jr().value; function VG(e) { var t = [], r, n, i, s, o, u; if (e[0] == QD.RULE) for (r = !/[.+>~]/.test(V1e(e[1])), o = 0, u = e[2].length; o < u; o++) n = e[2][o], n[0] == QD.PROPERTY && (i = n[1][1], i.length !== 0 && (s = H1e(n, o), t.push([ i, s, j1e(i), e[2][o], i + ":" + s, e[1], r ]))); else if (e[0] == QD.NESTED_BLOCK) for (o = 0, u = e[2].length; o < u; o++) t = t.concat(VG(e[2][o])); return t; } a(VG, "extractProperties"); function j1e(e) { return e == "list-style" ? e : e.indexOf("-radius") > 0 ? "border-radius" : e == "border-collapse" || e == "border-spacing" || e == "bor\ der-image" ? e : e.indexOf("border-") === 0 && /^border-\w+-\w+$/.test(e) ? e.match(/border-\w+/)[0] : e.indexOf("border-") === 0 && /^border-\w+$/. test(e) ? "border" : e.indexOf("text-") === 0 || e == "-chrome-" ? e : e.replace(/^-\w+-/, "").match(/([a-zA-Z]+)/)[0].toLowerCase(); } a(j1e, "findNameRoot"); HG.exports = VG; }); // ../node_modules/clean-css/lib/optimizer/level-2/merge-media-queries.js var zG = y((jQe, GG) => { var G1e = gp().canReorder, z1e = gp().canReorderSingle, jG = sv(), K1e = YD(), W1e = Jr().rules, $1e = Zr().OptimizationLevel, X1e = _r(); function Y1e(e, t) { for (var r = t.options.level[$1e.Two].mergeSemantically, n = t.cache.specificity, i = {}, s = [], o = e.length - 1; o >= 0; o--) { var u = e[o]; if (u[0] == X1e.NESTED_BLOCK) { var l = W1e(u[1]), c = i[l]; c || (c = [], i[l] = c), c.push(o); } } for (var f in i) { var d = i[f]; e: for (var g = d.length - 1; g > 0; g--) { var b = d[g], _ = e[b], T = d[g - 1], p = e[T]; t: for (var h = 1; h >= -1; h -= 2) { for (var S = h == 1, D = S ? b + 1 : T - 1, E = S ? T : b, C = S ? 1 : -1, m = S ? _ : p, v = S ? p : _, A = jG(m); D != E; ) { var w = jG(e[D]); if (D += C, !(r && Q1e(A, w, n)) && !G1e(A, w, n)) continue t; } v[2] = S ? m[2].concat(v[2]) : v[2].concat(m[2]), m[2] = [], s.push(v); continue e; } } } return s; } a(Y1e, "mergeMediaQueries"); function Q1e(e, t, r) { var n, i, s, o, u, l, c, f; for (u = 0, l = e.length; u < l; u++) for (n = e[u], i = n[5], c = 0, f = t.length; c < f; c++) if (s = t[c], o = s[5], K1e(i, o, !0) && !z1e(n, s, r)) return !1; return !0; } a(Q1e, "allSameRulePropertiesCanBeReordered"); GG.exports = Y1e; }); // ../node_modules/clean-css/lib/optimizer/level-2/merge-non-adjacent-by-body.js var QG = y((zQe, YG) => { var KG = fp(), Z1e = w_(), J1e = k_(), WG = Zr().OptimizationLevel, $G = Jr().body, $c = Jr().rules, ewe = _r(); function twe(e) { return /\.|\*| :/.test(e); } a(twe, "unsafeSelector"); function rwe(e) { var t = $c(e[1]); return t.indexOf("__") > -1 || t.indexOf("--") > -1; } a(rwe, "isBemElement"); function XG(e) { return e.replace(/--[^ ,>+~:]+/g, ""); } a(XG, "withoutModifier"); function nwe(e, t) { var r = XG($c(e[1])); for (var n in t) { var i = t[n], s = XG($c(i[1])); (s.indexOf(r) > -1 || r.indexOf(s) > -1) && delete t[n]; } } a(nwe, "removeAnyUnsafeElements"); function iwe(e, t) { for (var r = t.options, n = r.level[WG.Two].mergeSemantically, i = r.compatibility.selectors.adjacentSpace, s = r.level[WG.One].selectorsSortingMethod, o = r.compatibility.selectors.mergeablePseudoClasses, u = r.compatibility.selectors.mergeablePseudoElements, l = r.compatibility.selectors. multiplePseudoMerging, c = {}, f = e.length - 1; f >= 0; f--) { var d = e[f]; if (d[0] == ewe.RULE) { d[2].length > 0 && !n && twe($c(d[1])) && (c = {}), d[2].length > 0 && n && rwe(d) && nwe(d, c); var g = $G(d[2]), b = c[g]; b && KG( $c(d[1]), o, u, l ) && KG( $c(b[1]), o, u, l ) && (d[2].length > 0 ? (d[1] = J1e(b[1].concat(d[1]), !1, i, !1, t.warnings), d[1] = d[1].length > 1 ? Z1e(d[1], s) : d[1]) : d[1] = b[1].concat(d[1]), b[2] = [], c[g] = null), c[$G(d[2])] = d; } } } a(iwe, "mergeNonAdjacentByBody"); YG.exports = iwe; }); // ../node_modules/clean-css/lib/optimizer/level-2/merge-non-adjacent-by-selector.js var tz = y((WQe, ez) => { var ZG = gp().canReorder, JG = sv(), awe = dp(), swe = Jr().rules, owe = _r(); function uwe(e, t) { var r = t.cache.specificity, n = {}, i = [], s; for (s = e.length - 1; s >= 0; s--) if (e[s][0] == owe.RULE && e[s][2].length !== 0) { var o = swe(e[s][1]); n[o] = [s].concat(n[o] || []), n[o].length == 2 && i.push(o); } for (s = i.length - 1; s >= 0; s--) { var u = n[i[s]]; e: for (var l = u.length - 1; l > 0; l--) { var c = u[l - 1], f = e[c], d = u[l], g = e[d]; t: for (var b = 1; b >= -1; b -= 2) { for (var _ = b == 1, T = _ ? c + 1 : d - 1, p = _ ? d : c, h = _ ? 1 : -1, S = _ ? f : g, D = _ ? g : f, E = JG(S); T != p; ) { var C = JG(e[T]); T += h; var m = _ ? ZG(E, C, r) : ZG(C, E, r); if (!m && !_) continue e; if (!m && _) continue t; } _ ? (Array.prototype.push.apply(S[2], D[2]), D[2] = S[2]) : Array.prototype.push.apply(D[2], S[2]), awe(D[2], !0, !0, t), S[2] = []; } } } } a(uwe, "mergeNonAdjacentBySelector"); ez.exports = uwe; }); // ../node_modules/clean-css/lib/utils/clone-array.js var ZD = y((XQe, nz) => { function rz(e) { for (var t = e.slice(0), r = 0, n = t.length; r < n; r++) Array.isArray(t[r]) && (t[r] = rz(t[r])); return t; } a(rz, "cloneArray"); nz.exports = rz; }); // ../node_modules/clean-css/lib/optimizer/level-2/reduce-non-adjacent.js var uz = y((QQe, oz) => { var az = fp(), lwe = dp(), cwe = ZD(), fwe = _r(), iz = Jr().body, hwe = Jr().rules; function pwe(e, t) { for (var r = t.options, n = r.compatibility.selectors.mergeablePseudoClasses, i = r.compatibility.selectors.mergeablePseudoElements, s = r. compatibility.selectors.multiplePseudoMerging, o = {}, u = [], l = e.length - 1; l >= 0; l--) { var c = e[l]; if (c[0] == fwe.RULE && c[2].length !== 0) for (var f = hwe(c[1]), d = c[1].length > 1 && az(f, n, i, s), g = dwe(c[1]), b = d ? [f].concat(g) : [f], _ = 0, T = b.length; _ < T; _++) { var p = b[_]; o[p] ? u.push(p) : o[p] = [], o[p].push({ where: l, list: g, isPartial: d && _ > 0, isComplex: d && _ === 0 }); } } mwe(e, u, o, r, t), gwe(e, o, r, t); } a(pwe, "reduceNonAdjacent"); function dwe(e) { for (var t = [], r = 0; r < e.length; r++) t.push([e[r][1]]); return t; } a(dwe, "wrappedSelectorsFrom"); function mwe(e, t, r, n, i) { function s(d, g) { return f[d].isPartial && g.length === 0; } a(s, "filterOut"); function o(d, g, b, _) { f[b - _ - 1].isPartial || (d[2] = g); } a(o, "reduceBody"); for (var u = 0, l = t.length; u < l; u++) { var c = t[u], f = r[c]; sz(e, f, { filterOut: s, callback: o }, n, i); } } a(mwe, "reduceSimpleNonAdjacentCases"); function gwe(e, t, r, n) { var i = r.compatibility.selectors.mergeablePseudoClasses, s = r.compatibility.selectors.mergeablePseudoElements, o = r.compatibility.selectors. multiplePseudoMerging, u = {}; function l(E) { return u.data[E].where < u.intoPosition; } a(l, "filterOut"); function c(E, C, m, v) { v === 0 && u.reducedBodies.push(C); } a(c, "collectReducedBodies"); e: for (var f in t) { var d = t[f]; if (d[0].isComplex) { var g = d[d.length - 1].where, b = e[g], _ = [], T = az(f, i, s, o) ? d[0].list : [f]; u.intoPosition = g, u.reducedBodies = _; for (var p = 0, h = T.length; p < h; p++) { var S = T[p], D = t[S]; if (D.length < 2 || (u.data = D, sz(e, D, { filterOut: l, callback: c }, r, n), iz(_[_.length - 1]) != iz(_[0]))) continue e; } b[2] = _[0]; } } } a(gwe, "reduceComplexNonAdjacentCases"); function sz(e, t, r, n, i) { for (var s = [], o = [], u = [], l = t.length - 1; l >= 0; l--) if (!r.filterOut(l, s)) { var c = t[l].where, f = e[c], d = cwe(f[2]); s = s.concat(d), o.push(d), u.push(c); } lwe(s, !0, !1, i); for (var g = u.length, b = s.length - 1, _ = g - 1; _ >= 0; ) { if ((_ === 0 || s[b] && o[_].indexOf(s[b]) > -1) && b > -1) { b--; continue; } var T = s.splice(b + 1); r.callback(e[u[_]], T, g, _), _--; } } a(sz, "reduceSelector"); oz.exports = pwe; }); // ../node_modules/clean-css/lib/optimizer/level-2/remove-duplicate-font-at-rules.js var cz = y((JQe, lz) => { var _we = _r(), vwe = Jr().all, bwe = "@font-face"; function ywe(e) { var t = [], r, n, i, s; for (i = 0, s = e.length; i < s; i++) r = e[i], !(r[0] != _we.AT_RULE_BLOCK && r[1][0][1] != bwe) && (n = vwe([r]), t.indexOf(n) > -1 ? r[2] = [] : t.push(n)); } a(ywe, "removeDuplicateFontAtRules"); lz.exports = ywe; }); // ../node_modules/clean-css/lib/optimizer/level-2/remove-duplicate-media-queries.js var hz = y((tZe, fz) => { var Swe = _r(), Ewe = Jr().all, Awe = Jr().rules; function Twe(e) { var t = {}, r, n, i, s, o; for (s = 0, o = e.length; s < o; s++) n = e[s], n[0] == Swe.NESTED_BLOCK && (i = Awe(n[1]) + "%" + Ewe(n[2]), r = t[i], r && (r[2] = []), t[i] = n); } a(Twe, "removeDuplicateMediaQueries"); fz.exports = Twe; }); // ../node_modules/clean-css/lib/optimizer/level-2/remove-duplicates.js var dz = y((nZe, pz) => { var Dwe = _r(), xwe = Jr().body, Cwe = Jr().rules; function wwe(e) { for (var t = {}, r = [], n, i, s, o, u = 0, l = e.length; u < l; u++) i = e[u], i[0] == Dwe.RULE && (n = Cwe(i[1]), t[n] && t[n].length == 1 ? r.push(n) : t[n] = t[n] || [], t[n].push(u)); for (u = 0, l = r.length; u < l; u++) { n = r[u], o = []; for (var c = t[n].length - 1; c >= 0; c--) i = e[t[n][c]], s = xwe(i[2]), o.indexOf(s) > -1 ? i[2] = [] : o.push(s); } } a(wwe, "removeDuplicates"); pz.exports = wwe; }); // ../node_modules/clean-css/lib/optimizer/level-2/remove-unused-at-rules.js var _z = y((aZe, gz) => { var ex = Q_(), tx = rl().single, rx = Uc(), ul = _r(), Owe = /^(-moz-|-o-|-webkit-)?animation-name$/, Rwe = /^(-moz-|-o-|-webkit-)?animation$/, kwe = /^@(-moz-|-o-|-webkit-)?keyframes /, Pwe = /\s{0,31}!important$/, Fwe = /^(['"]?)(.*)\1$/; function JD(e) { return e.replace(Fwe, "$2").replace(Pwe, ""); } a(JD, "normalize"); function Iwe(e, t) { ov(e, Nwe, Lwe, t), ov(e, Bwe, Mwe, t), ov(e, qwe, Uwe, t), ov(e, Vwe, Hwe, t); } a(Iwe, "removeUnusedAtRules"); function ov(e, t, r, n) { var i = {}, s, o, u, l, c, f; for (c = 0, f = e.length; c < f; c++) t(e[c], i); if (Object.keys(i).length !== 0) { mz(e, r, i, n); for (s in i) for (o = i[s], c = 0, f = o.length; c < f; c++) u = o[c], l = u[0] == ul.AT_RULE ? 1 : 2, u[l] = []; } } a(ov, "removeUnusedAtRule"); function mz(e, t, r, n) { var i = t(r), s, o; for (s = 0, o = e.length; s < o; s++) switch (e[s][0]) { case ul.RULE: i(e[s], n); break; case ul.NESTED_BLOCK: mz(e[s][2], t, r, n); } } a(mz, "markUsedAtRules"); function Nwe(e, t) { var r; e[0] == ul.AT_RULE_BLOCK && e[1][0][1].indexOf("@counter-style") === 0 && (r = e[1][0][1].split(" ")[1], t[r] = t[r] || [], t[r].push(e)); } a(Nwe, "matchCounterStyle"); function Lwe(e) { return function(t, r) { var n, i, s, o; for (s = 0, o = t[2].length; s < o; s++) n = t[2][s], n[1][1] == "list-style" && (i = tx(n), ex([i], r.validator, r.warnings), i.components[0].value[0][1] in e && delete e[n[2][1]], rx([i])), n[1][1] == "list-style-type" && n[2][1] in e && delete e[n[2][1]]; }; } a(Lwe, "markCounterStylesAsUsed"); function Bwe(e, t) { var r, n, i, s; if (e[0] == ul.AT_RULE_BLOCK && e[1][0][1] == "@font-face") { for (i = 0, s = e[2].length; i < s; i++) if (r = e[2][i], r[1][1] == "font-family") { n = JD(r[2][1].toLowerCase()), t[n] = t[n] || [], t[n].push(e); break; } } } a(Bwe, "matchFontFace"); function Mwe(e) { return function(t, r) { var n, i, s, o, u, l, c, f; for (u = 0, l = t[2].length; u < l; u++) { if (n = t[2][u], n[1][1] == "font") { for (i = tx(n), ex([i], r.validator, r.warnings), s = i.components[6], c = 0, f = s.value.length; c < f; c++) o = JD(s.value[c][1].toLowerCase()), o in e && delete e[o]; rx([i]); } if (n[1][1] == "font-family") for (c = 2, f = n.length; c < f; c++) o = JD(n[c][1].toLowerCase()), o in e && delete e[o]; } }; } a(Mwe, "markFontFacesAsUsed"); function qwe(e, t) { var r; e[0] == ul.NESTED_BLOCK && kwe.test(e[1][0][1]) && (r = e[1][0][1].split(" ")[1], t[r] = t[r] || [], t[r].push(e)); } a(qwe, "matchKeyframe"); function Uwe(e) { return function(t, r) { var n, i, s, o, u, l, c; for (o = 0, u = t[2].length; o < u; o++) { if (n = t[2][o], Rwe.test(n[1][1])) { for (i = tx(n), ex([i], r.validator, r.warnings), s = i.components[7], l = 0, c = s.value.length; l < c; l++) s.value[l][1] in e && delete e[s.value[l][1]]; rx([i]); } if (Owe.test(n[1][1])) for (l = 2, c = n.length; l < c; l++) n[l][1] in e && delete e[n[l][1]]; } }; } a(Uwe, "markKeyframesAsUsed"); function Vwe(e, t) { var r; e[0] == ul.AT_RULE && e[1].indexOf("@namespace") === 0 && (r = e[1].split(" ")[1], t[r] = t[r] || [], t[r].push(e)); } a(Vwe, "matchNamespace"); function Hwe(e) { var t = new RegExp(Object.keys(e).join("\\||") + "\\|", "g"); return function(r) { var n, i, s, o, u, l, c; for (o = 0, u = r[1].length; o < u; o++) for (i = r[1][o], n = i[1].match(t), l = 0, c = n.length; l < c; l++) s = n[l].substring(0, n[l].length - 1), s in e && delete e[s]; }; } a(Hwe, "markNamespacesAsUsed"); gz.exports = Iwe; }); // ../node_modules/clean-css/lib/optimizer/level-2/tidy-rule-duplicates.js var bz = y((oZe, vz) => { function jwe(e, t) { return e[1] > t[1] ? 1 : -1; } a(jwe, "ruleSorter"); function Gwe(e) { for (var t = [], r = [], n = 0, i = e.length; n < i; n++) { var s = e[n]; r.indexOf(s[1]) == -1 && (r.push(s[1]), t.push(s)); } return t.sort(jwe); } a(Gwe, "tidyRuleDuplicates"); vz.exports = Gwe; }); // ../node_modules/clean-css/lib/optimizer/level-2/restructure.js var Az = y((lZe, Ez) => { var yz = gp().canReorderSingle, zwe = sv(), Kwe = fp(), Sz = bz(), Xc = _r(), Wwe = ZD(), $we = Jr().body, nx = Jr().rules; function Xwe(e, t) { return e > t ? 1 : -1; } a(Xwe, "naturalSorter"); function Ywe(e, t) { var r = Wwe(e); return r[5] = r[5].concat(t[5]), r; } a(Ywe, "cloneAndMergeSelectors"); function Qwe(e, t) { var r = t.options, n = r.compatibility.selectors.mergeablePseudoClasses, i = r.compatibility.selectors.mergeablePseudoElements, s = r.compatibility. selectors.mergeLimit, o = r.compatibility.selectors.multiplePseudoMerging, u = t.cache.specificity, l = {}, c = [], f = {}, d = [], g = 2, b = "%"; function _(Q, se, fe) { for (var V = fe.length - 1; V >= 0; V--) { var Y = fe[V][0], ae = T(se, Y); if (f[ae].length > 1 && x(Q, f[ae])) { p(ae); break; } } } a(_, "sendToMultiPropertyMoveCache"); function T(Q, se) { var fe = h(se); return f[fe] = f[fe] || [], f[fe].push([Q, se]), fe; } a(T, "addToCache"); function p(Q) { var se = Q.split(b), fe = [], V; for (var Y in f) { var ae = Y.split(b); for (V = ae.length - 1; V >= 0; V--) if (se.indexOf(ae[V]) > -1) { fe.push(Y); break; } } for (V = fe.length - 1; V >= 0; V--) delete f[fe[V]]; } a(p, "removeAllMatchingFromCache"); function h(Q) { for (var se = [], fe = 0, V = Q.length; fe < V; fe++) se.push(nx(Q[fe][1])); return se.join(b); } a(h, "cacheId"); function S(Q) { for (var se = [], fe = [], V = Q.length - 1; V >= 0; V--) Kwe( nx(Q[V][1]), n, i, o ) && (fe.unshift(Q[V]), Q[V][2].length > 0 && se.indexOf(Q[V]) == -1 && se.push(Q[V])); return se.length > 1 ? fe : []; } a(S, "tokensToMerge"); function D(Q, se) { var fe = se[0], V = se[1], Y = se[4], ae = fe.length + V.length + 1, Pe = [], Ye = [], ut = S(l[Y]); if (!(ut.length < 2)) { var tr = C(ut, ae, 1), Nt = tr[0]; if (Nt[1] > 0) return _(Q, se, tr); for (var rr = Nt[0].length - 1; rr >= 0; rr--) Pe = Nt[0][rr][1].concat(Pe), Ye.unshift(Nt[0][rr]); Pe = Sz(Pe), A(Q, [se], Pe, Ye); } } a(D, "shortenIfPossible"); function E(Q, se) { return Q[1] > se[1] ? 1 : Q[1] == se[1] ? 0 : -1; } a(E, "fitSorter"); function C(Q, se, fe) { var V = m(Q, se, fe, g - 1); return V.sort(E); } a(C, "findAllFits"); function m(Q, se, fe, V) { var Y = [[Q, v(Q, se, fe)]]; if (Q.length > 2 && V > 0) for (var ae = Q.length - 1; ae >= 0; ae--) { var Pe = Array.prototype.slice.call(Q, 0); Pe.splice(ae, 1), Y = Y.concat( m(Pe, se, fe, V - 1) ); } return Y; } a(m, "allCombinations"); function v(Q, se, fe) { for (var V = 0, Y = Q.length - 1; Y >= 0; Y--) V += Q[Y][2].length > fe ? nx(Q[Y][1]).length : -1; return V - (Q.length - 1) * se + 1; } a(v, "sizeDifference"); function A(Q, se, fe, V) { var Y, ae, Pe, Ye, ut = []; for (Y = V.length - 1; Y >= 0; Y--) { var tr = V[Y]; for (ae = tr[2].length - 1; ae >= 0; ae--) { var Nt = tr[2][ae]; for (Pe = 0, Ye = se.length; Pe < Ye; Pe++) { var rr = se[Pe], Ut = Nt[1][1], nr = rr[0], Yr = rr[4]; if (Ut == nr && $we([Nt]) == Yr) { tr[2].splice(ae, 1); break; } } } } for (Y = se.length - 1; Y >= 0; Y--) ut.unshift(se[Y][3]); var ql = [Xc.RULE, fe, ut]; e.splice(Q, 0, ql); } a(A, "dropAsNewTokenAt"); function w(Q, se) { var fe = se[4], V = l[fe]; V && V.length > 1 && (F(Q, se) || D(Q, se)); } a(w, "dropPropertiesAt"); function F(Q, se) { var fe = [], V = [], Y = se[4], ae, Pe, Ye = S(l[Y]); if (!(Ye.length < 2)) { e: for (var ut in l) { var tr = l[ut]; for (ae = Ye.length - 1; ae >= 0; ae--) if (tr.indexOf(Ye[ae]) == -1) continue e; fe.push(ut); } if (fe.length < 2) return !1; for (ae = fe.length - 1; ae >= 0; ae--) for (Pe = c.length - 1; Pe >= 0; Pe--) if (c[Pe][4] == fe[ae]) { V.unshift([c[Pe], Ye]); break; } return x(Q, V); } } a(F, "shortenMultiMovesIfPossible"); function x(Q, se) { for (var fe = 0, V = [], Y, ae = se.length - 1; ae >= 0; ae--) { Y = se[ae][0]; var Pe = Y[4]; fe += Pe.length + (ae > 0 ? 1 : 0), V.push(Y); } var Ye = se[0][1], ut = C(Ye, fe, V.length)[0]; if (ut[1] > 0) return !1; var tr = [], Nt = []; for (ae = ut[0].length - 1; ae >= 0; ae--) tr = ut[0][ae][1].concat(tr), Nt.unshift(ut[0][ae]); for (tr = Sz(tr), A(Q, V, tr, Nt), ae = V.length - 1; ae >= 0; ae--) { Y = V[ae]; var rr = c.indexOf(Y); delete l[Y[4]], rr > -1 && d.indexOf(rr) == -1 && d.push(rr); } return !0; } a(x, "processMultiPropertyMove"); function I(Q, se, fe) { var V = Q[0], Y = se[0]; if (V != Y) return !1; var ae = se[4], Pe = l[ae]; return Pe && Pe.indexOf(fe) > -1; } a(I, "boundToAnotherPropertyInCurrrentToken"); for (var N = e.length - 1; N >= 0; N--) { var H = e[N], U, M, ee, oe, he; if (H[0] == Xc.RULE) U = !0; else if (H[0] == Xc.NESTED_BLOCK) U = !1; else continue; var le = c.length, ze = zwe(H); d = []; var te = []; for (M = ze.length - 1; M >= 0; M--) for (ee = M - 1; ee >= 0; ee--) if (!yz(ze[M], ze[ee], u)) { te.push(M); break; } for (M = ze.length - 1; M >= 0; M--) { var ve = ze[M], z = !1; for (ee = 0; ee < le; ee++) { var j = c[ee]; d.indexOf(ee) == -1 && (!yz(ve, j, u) && !I(ve, j, H) || l[j[4]] && l[j[4]].length === s) && (w(N + 1, j), d.indexOf(ee) == -1 && (d. push(ee), delete l[j[4]])), z || (z = ve[0] == j[0] && ve[1] == j[1], z && (he = ee)); } if (!(!U || te.indexOf(M) > -1)) { var X = ve[4]; z && c[he][5].length + ve[5].length > s ? (w(N + 1, c[he]), c.splice(he, 1), l[X] = [H], z = !1) : (l[X] = l[X] || [], l[X].push(H)), z ? c[he] = Ywe(c[he], ve) : c.push(ve); } } for (d = d.sort(Xwe), M = 0, oe = d.length; M < oe; M++) { var re = d[M] - M; c.splice(re, 1); } } for (var ce = e[0] && e[0][0] == Xc.AT_RULE && e[0][1].indexOf("@charset") === 0 ? 1 : 0; ce < e.length - 1; ce++) { var ie = e[ce][0] === Xc.AT_RULE && e[ce][1].indexOf("@import") === 0, je = e[ce][0] === Xc.COMMENT; if (!(ie || je)) break; } for (N = 0; N < c.length; N++) w(ce, c[N]); } a(Qwe, "restructure"); Ez.exports = Qwe; }); // ../node_modules/clean-css/lib/optimizer/level-2/optimize.js var Oz = y((fZe, wz) => { var Tz = TG(), Zwe = zG(), Jwe = QG(), eOe = tz(), tOe = uz(), rOe = cz(), nOe = hz(), iOe = dz(), aOe = _z(), Dz = Az(), sOe = dp(), oOe = Zr(). OptimizationLevel, ll = _r(); function xz(e) { for (var t = 0, r = e.length; t < r; t++) { var n = e[t], i = !1; switch (n[0]) { case ll.RULE: i = n[1].length === 0 || n[2].length === 0; break; case ll.NESTED_BLOCK: xz(n[2]), i = n[2].length === 0; break; case ll.AT_RULE: i = n[1].length === 0; break; case ll.AT_RULE_BLOCK: i = n[2].length === 0; } i && (e.splice(t, 1), t--, r--); } } a(xz, "removeEmpty"); function uOe(e, t) { for (var r = 0, n = e.length; r < n; r++) { var i = e[r]; if (i[0] == ll.NESTED_BLOCK) { var s = /@(-moz-|-o-|-webkit-)?keyframes/.test(i[1][0][1]); ix(i[2], t, !s); } } } a(uOe, "recursivelyOptimizeBlocks"); function Cz(e, t) { for (var r = 0, n = e.length; r < n; r++) { var i = e[r]; switch (i[0]) { case ll.RULE: sOe(i[2], !0, !0, t); break; case ll.NESTED_BLOCK: Cz(i[2], t); } } } a(Cz, "recursivelyOptimizeProperties"); function ix(e, t, r) { var n = t.options.level[oOe.Two], i = t.options.plugins.level2Block, s, o; if (uOe(e, t), Cz(e, t), n.removeDuplicateRules && iOe(e, t), n.mergeAdjacentRules && Tz(e, t), n.reduceNonAdjacentRules && tOe(e, t), n. mergeNonAdjacentRules && n.mergeNonAdjacentRules != "body" && eOe(e, t), n.mergeNonAdjacentRules && n.mergeNonAdjacentRules != "selector" && Jwe(e, t), n.restructureRules && n.mergeAdjacentRules && r && (Dz(e, t), Tz(e, t)), n.restructureRules && !n.mergeAdjacentRules && r && Dz( e, t), n.removeDuplicateFontRules && rOe(e, t), n.removeDuplicateMediaBlocks && nOe(e, t), n.removeUnusedAtRules && aOe(e, t), n.mergeMedia) for (s = Zwe(e, t), o = s.length - 1; o >= 0; o--) ix(s[o][2], t, !1); for (o = 0; o < i.length; o++) i[o](e); return n.removeEmpty && xz(e), e; } a(ix, "level2Optimize"); wz.exports = ix; }); // ../node_modules/clean-css/lib/optimizer/validator.js var Uz = y((pZe, qz) => { var lOe = "[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)", cOe = "\\-(\\-|[A-Z]|[0-9])+\\(.*?\\)", Fz = "var\\(\\-\\-[^\\)]+\\)", fOe = "(" + Fz + "|" + lOe + "|" + cOe + ")", hOe = new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$", "i"), pOe = /[0-9]/, dOe = new RegExp("^" + fOe + "\ $", "i"), mOe = /^#(?:[0-9a-f]{4}|[0-9a-f]{8})$/i, gOe = /^hsl\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\d*\.?\d+%\s{0,31},\s{0,31}\.?\d+\s{0,31}\)$/, _Oe = /^hsl\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{0,31}\)|hsla\(\s{0,31}[-.]?\d+(deg)?\s{1,31}\d*\.?\d+%\s{1,31}\d*\.?\d+%\s{1,31}\/\s{1,31}\d*\.?\d+%?\s{0,31}\)$/, vOe = /^(-[a-z0-9_][a-z0-9\-_]*|[a-z_][a-z0-9\-_]*)$/i, bOe = /^[a-z]+$/i, yOe = /^-([a-z0-9]|-)*$/i, SOe = /^("[^"]*"|'[^']*')$/i, EOe = /^rgb\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[\d]{1,3}\s{0,31},\s{0,31}[.\d]+\s{0,31}\)$/i, AOe = /^rgb\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{0,31}\)|rgba\(\s{0,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}[\d]{1,3}\s{1,31}\/\s{1,31}[\d]*\.?[.\d]+%?\s{0,31}\)$/i, TOe = /\d+(s|ms)/, DOe = /^(cubic-bezier|steps)\([^)]+\)$/, xOe = ["ms", "s"], COe = /^url\([\s\S]+\)$/i, wOe = new RegExp("^" + Fz + "$", "i"), OOe = /^#[0-9a-f]{8}$/i, ROe = /^#[0-9a-f]{4}$/i, kOe = /^#[0-9a-f]{6}$/i, POe = /^#[0-9a-f]{3}$/i, Rz = ".", kz = "-", Pz = "+", FOe = { "^": [ "inherit", "initial", "unset" ], "*-style": [ "auto", "dashed", "dotted", "double", "groove", "hidden", "inset", "none", "outset", "ridge", "solid" ], "*-timing-function": [ "ease", "ease-in", "ease-in-out", "ease-out", "linear", "step-end", "step-start" ], "animation-direction": [ "alternate", "alternate-reverse", "normal", "reverse" ], "animation-fill-mode": [ "backwards", "both", "forwards", "none" ], "animation-iteration-count": [ "infinite" ], "animation-name": [ "none" ], "animation-play-state": [ "paused", "running" ], "background-attachment": [ "fixed", "inherit", "local", "scroll" ], "background-clip": [ "border-box", "content-box", "inherit", "padding-box", "text" ], "background-origin": [ "border-box", "content-box", "inherit", "padding-box" ], "background-position": [ "bottom", "center", "left", "right", "top" ], "background-repeat": [ "no-repeat", "inherit", "repeat", "repeat-x", "repeat-y", "round", "space" ], "background-size": [ "auto", "cover", "contain" ], "border-collapse": [ "collapse", "inherit", "separate" ], bottom: [ "auto" ], clear: [ "both", "left", "none", "right" ], color: [ "transparent" ], cursor: [ "all-scroll", "auto", "col-resize", "crosshair", "default", "e-resize", "help", "move", "n-resize", "ne-resize", "no-drop", "not-allowed", "nw-resize", "pointer", "progress", "row-resize", "s-resize", "se-resize", "sw-resize", "text", "vertical-text", "w-resize", "wait" ], display: [ "block", "inline", "inline-block", "inline-table", "list-item", "none", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row", "table-row-group" ], float: [ "left", "none", "right" ], left: [ "auto" ], font: [ "caption", "icon", "menu", "message-box", "small-caption", "status-bar", "unset" ], "font-size": [ "large", "larger", "medium", "small", "smaller", "x-large", "x-small", "xx-large", "xx-small" ], "font-stretch": [ "condensed", "expanded", "extra-condensed", "extra-expanded", "normal", "semi-condensed", "semi-expanded", "ultra-condensed", "ultra-expanded" ], "font-style": [ "italic", "normal", "oblique" ], "font-variant": [ "normal", "small-caps" ], "font-weight": [ "100", "200", "300", "400", "500", "600", "700", "800", "900", "bold", "bolder", "lighter", "normal" ], "line-height": [ "normal" ], "list-style-position": [ "inside", "outside" ], "list-style-type": [ "armenian", "circle", "decimal", "decimal-leading-zero", "disc", "decimal|disc", // this is the default value of list-style-type, see comment in configuration.js "georgian", "lower-alpha", "lower-greek", "lower-latin", "lower-roman", "none", "square", "upper-alpha", "upper-latin", "upper-roman" ], overflow: [ "auto", "hidden", "scroll", "visible" ], position: [ "absolute", "fixed", "relative", "static" ], right: [ "auto" ], "text-align": [ "center", "justify", "left", "left|right", // this is the default value of list-style-type, see comment in configuration.js "right" ], "text-decoration": [ "line-through", "none", "overline", "underline" ], "text-overflow": [ "clip", "ellipsis" ], top: [ "auto" ], "vertical-align": [ "baseline", "bottom", "middle", "sub", "super", "text-bottom", "text-top", "top" ], visibility: [ "collapse", "hidden", "visible" ], "white-space": [ "normal", "nowrap", "pre" ], width: [ "inherit", "initial", "medium", "thick", "thin" ] }, IOe = [ "%", "ch", "cm", "em", "ex", "in", "mm", "pc", "pt", "px", "rem", "vh", "vm", "vmax", "vmin", "vw" ]; function NOe(e) { return e != "auto" && (ir("color")(e) || BOe(e) || Iz(e) || HOe(e)); } a(NOe, "isColor"); function Iz(e) { return Bz(e) || Lz(e); } a(Iz, "isColorFunction"); function LOe(e) { return hOe.test(e); } a(LOe, "isDynamicUnit"); function Nz(e) { return dOe.test(e); } a(Nz, "isFunction"); function BOe(e) { return POe.test(e) || ROe.test(e) || kOe.test(e) || OOe.test(e); } a(BOe, "isHexColor"); function Lz(e) { return gOe.test(e) || _Oe.test(e); } a(Lz, "isHslColor"); function MOe(e) { return mOe.test(e); } a(MOe, "isHexAlphaColor"); function qOe(e) { return vOe.test(e); } a(qOe, "isIdentifier"); function UOe(e) { return SOe.test(e); } a(UOe, "isQuotedText"); function VOe(e) { return e == "none" || e == "inherit" || Mz(e); } a(VOe, "isImage"); function ir(e) { return function(t) { return FOe[e].indexOf(t) > -1; }; } a(ir, "isKeyword"); function HOe(e) { return bOe.test(e); } a(HOe, "isNamedEntity"); function ax(e) { return sx(e) == e.length; } a(ax, "isNumber"); function Bz(e) { return EOe.test(e) || AOe.test(e); } a(Bz, "isRgbColor"); function jOe(e) { return yOe.test(e); } a(jOe, "isPrefixed"); function GOe(e) { return ax(e) && parseFloat(e) >= 0; } a(GOe, "isPositiveNumber"); function zOe(e) { return wOe.test(e); } a(zOe, "isVariable"); function KOe(e) { var t = sx(e); return t == e.length && parseInt(e) === 0 || t > -1 && xOe.indexOf(e.slice(t + 1)) > -1 || WOe(e); } a(KOe, "isTime"); function WOe(e) { return Nz(e) && TOe.test(e); } a(WOe, "isCalculatedTime"); function $Oe() { var e = ir("*-timing-function"); return function(t) { return e(t) || DOe.test(t); }; } a($Oe, "isTimingFunction"); function XOe(e, t) { var r = sx(t); return r == t.length && parseInt(t) === 0 || r > -1 && e.indexOf(t.slice(r + 1).toLowerCase()) > -1 || t == "auto" || t == "inherit"; } a(XOe, "isUnit"); function Mz(e) { return COe.test(e); } a(Mz, "isUrl"); function YOe(e) { return e == "auto" || ax(e) || ir("^")(e); } a(YOe, "isZIndex"); function sx(e) { var t = !1, r = !1, n, i, s; for (i = 0, s = e.length; i < s; i++) if (n = e[i], i === 0 && (n == Pz || n == kz)) r = !0; else { if (i > 0 && r && (n == Pz || n == kz)) return i - 1; if (n == Rz && !t) t = !0; else { if (n == Rz && t) return i - 1; if (pOe.test(n)) continue; return i - 1; } } return i; } a(sx, "scanForNumber"); function QOe(e) { var t = IOe.slice(0).filter(function(r) { return !(r in e.units) || e.units[r] === !0; }); return e.customUnits.rpx && t.push("rpx"), { colorOpacity: e.colors.opacity, colorHexAlpha: e.colors.hexAlpha, isAnimationDirectionKeyword: ir("animation-direction"), isAnimationFillModeKeyword: ir("animation-fill-mode"), isAnimationIterationCountKeyword: ir("animation-iteration-count"), isAnimationNameKeyword: ir("animation-name"), isAnimationPlayStateKeyword: ir("animation-play-state"), isTimingFunction: $Oe(), isBackgroundAttachmentKeyword: ir("background-attachment"), isBackgroundClipKeyword: ir("background-clip"), isBackgroundOriginKeyword: ir("background-origin"), isBackgroundPositionKeyword: ir("background-position"), isBackgroundRepeatKeyword: ir("background-repeat"), isBackgroundSizeKeyword: ir("background-size"), isColor: NOe, isColorFunction: Iz, isDynamicUnit: LOe, isFontKeyword: ir("font"), isFontSizeKeyword: ir("font-size"), isFontStretchKeyword: ir("font-stretch"), isFontStyleKeyword: ir("font-style"), isFontVariantKeyword: ir("font-variant"), isFontWeightKeyword: ir("font-weight"), isFunction: Nz, isGlobal: ir("^"), isHexAlphaColor: MOe, isHslColor: Lz, isIdentifier: qOe, isImage: VOe, isKeyword: ir, isLineHeightKeyword: ir("line-height"), isListStylePositionKeyword: ir("list-style-position"), isListStyleTypeKeyword: ir("list-style-type"), isNumber: ax, isPrefixed: jOe, isPositiveNumber: GOe, isQuotedText: UOe, isRgbColor: Bz, isStyleKeyword: ir("*-style"), isTime: KOe, isUnit: XOe.bind(null, t), isUrl: Mz, isVariable: zOe, isWidth: ir("width"), isZIndex: YOe }; } a(QOe, "validator"); qz.exports = QOe; }); // ../node_modules/clean-css/lib/options/compatibility.js var Hz = y((mZe, Vz) => { var ai = { "*": { colors: { hexAlpha: !1, // 4- and 8-character hex notation opacity: !0 // rgba / hsla }, customUnits: { rpx: !1 }, properties: { backgroundClipMerging: !0, // background-clip to shorthand backgroundOriginMerging: !0, // background-origin to shorthand backgroundSizeMerging: !0, // background-size to shorthand colors: !0, // any kind of color transformations, like `#ff00ff` to `#f0f` or `#fff` into `red` ieBangHack: !1, // !ie suffix hacks on IE<8 ieFilters: !1, // whether to preserve `filter` and `-ms-filter` properties iePrefixHack: !1, // underscore / asterisk prefix hacks on IE ieSuffixHack: !1, // \9 suffix hacks on IE6-9, \0 suffix hack on IE6-11 merging: !0, // merging properties into one shorterLengthUnits: !1, // optimize pixel units into `pt`, `pc` or `in` units spaceAfterClosingBrace: !0, // 'url() no-repeat' to 'url()no-repeat' urlQuotes: !0, // whether to wrap content of `url()` into quotes or not zeroUnits: !0 // 0[unit] -> 0 }, selectors: { adjacentSpace: !1, // div+ nav Android stock browser hack ie7Hack: !1, // *+html hack mergeablePseudoClasses: [ ":active", ":after", ":before", ":empty", ":checked", ":disabled", ":empty", ":enabled", ":first-child", ":first-letter", ":first-line", ":first-of-type", ":focus", ":hover", ":lang", ":last-child", ":last-of-type", ":link", ":not", ":nth-child", ":nth-last-child", ":nth-last-of-type", ":nth-of-type", ":only-child", ":only-of-type", ":root", ":target", ":visited" ], // selectors with these pseudo-classes can be merged as these are universally supported mergeablePseudoElements: [ "::after", "::before", "::first-letter", "::first-line" ], // selectors with these pseudo-elements can be merged as these are universally supported mergeLimit: 8191, // number of rules that can be safely merged together multiplePseudoMerging: !0 }, units: { ch: !0, in: !0, pc: !0, pt: !0, rem: !0, vh: !0, vm: !0, // vm is vmin on IE9+ see https://developer.mozilla.org/en-US/docs/Web/CSS/length vmax: !0, vmin: !0, vw: !0 } } }; ai.ie11 = ou(ai["*"], { properties: { ieSuffixHack: !0 } }); ai.ie10 = ou(ai["*"], { properties: { ieSuffixHack: !0 } }); ai.ie9 = ou(ai["*"], { properties: { ieFilters: !0, ieSuffixHack: !0 } }); ai.ie8 = ou(ai.ie9, { colors: { opacity: !1 }, properties: { backgroundClipMerging: !1, backgroundOriginMerging: !1, backgroundSizeMerging: !1, iePrefixHack: !0, merging: !1 }, selectors: { mergeablePseudoClasses: [ ":after", ":before", ":first-child", ":first-letter", ":focus", ":hover", ":visited" ], mergeablePseudoElements: [] }, units: { ch: !1, rem: !1, vh: !1, vm: !1, vmax: !1, vmin: !1, vw: !1 } }); ai.ie7 = ou(ai.ie8, { properties: { ieBangHack: !0 }, selectors: { ie7Hack: !0, mergeablePseudoClasses: [ ":first-child", ":first-letter", ":hover", ":visited" ] } }); function ZOe(e) { return ou(ai["*"], JOe(e)); } a(ZOe, "compatibilityFrom"); function ou(e, t) { for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) { var n = e[r]; Object.prototype.hasOwnProperty.call(t, r) && typeof n == "object" && !Array.isArray(n) ? t[r] = ou(n, t[r] || {}) : t[r] = r in t ? t[r] : n; } return t; } a(ou, "merge"); function JOe(e) { if (typeof e == "object") return e; if (!/[,+-]/.test(e)) return ai[e] || ai["*"]; var t = e.split(","), r = t[0] in ai ? ai[t.shift()] : ai["*"]; return e = {}, t.forEach(function(n) { var i = n[0] == "+", s = n.substring(1).split("."), o = s[0], u = s[1]; e[o] = e[o] || {}, e[o][u] = i; }), ou(r, e); } a(JOe, "calculateSource"); Vz.exports = ZOe; }); // ../node_modules/clean-css/lib/utils/is-http-resource.js var Gz = y((_Ze, jz) => { var eRe = /^http:\/\//; function tRe(e) { return eRe.test(e); } a(tRe, "isHttpResource"); jz.exports = tRe; }); // ../node_modules/clean-css/lib/utils/is-https-resource.js var Kz = y((bZe, zz) => { var rRe = /^https:\/\//; function nRe(e) { return rRe.test(e); } a(nRe, "isHttpsResource"); zz.exports = nRe; }); // ../node_modules/clean-css/lib/reader/load-remote-resource.js var Yz = y((SZe, Xz) => { var iRe = require("http"), aRe = require("https"), Wz = require("url"), sRe = Gz(), oRe = Kz(), uRe = el(), lRe = "http:"; function $z(e, t, r, n) { var i = t.protocol || t.hostname, s = !1, o, u; o = uRe( Wz.parse(e), t || {} ), t.hostname !== void 0 && (o.protocol = t.protocol || lRe, o.path = o.href), u = i && !oRe(i) || sRe(e) ? iRe.get : aRe.get, u(o, function(l) { var c = [], f; if (!s) { if (l.statusCode < 200 || l.statusCode > 399) return n(l.statusCode, null); if (l.statusCode > 299) return f = Wz.resolve(e, l.headers.location), $z(f, t, r, n); l.on("data", function(d) { c.push(d.toString()); }), l.on("end", function() { var d = c.join(""); n(null, d); }); } }).on("error", function(l) { s || (s = !0, n(l.message, null)); }).on("timeout", function() { s || (s = !0, n("timeout", null)); }).setTimeout(r); } a($z, "loadRemoteResource"); Xz.exports = $z; }); // ../node_modules/clean-css/lib/options/fetch.js var Zz = y((AZe, Qz) => { var cRe = Yz(); function fRe(e) { return e || cRe; } a(fRe, "fetchFrom"); Qz.exports = fRe; }); // ../node_modules/clean-css/lib/options/inline.js var e7 = y((DZe, Jz) => { function hRe(e) { return Array.isArray(e) ? e : e === !1 ? ["none"] : e === void 0 ? ["local"] : e.split(","); } a(hRe, "inlineOptionsFrom"); Jz.exports = hRe; }); // ../node_modules/clean-css/lib/options/inline-request.js var n7 = y((CZe, r7) => { var t7 = require("url"), pRe = el(); function dRe(e) { return pRe( /* jshint camelcase: false */ mRe(process.env.HTTP_PROXY || process.env.http_proxy), e || {} ); } a(dRe, "inlineRequestFrom"); function mRe(e) { return e ? { hostname: t7.parse(e).hostname, port: parseInt(t7.parse(e).port) } : {}; } a(mRe, "proxyOptionsFrom"); r7.exports = dRe; }); // ../node_modules/clean-css/lib/options/inline-timeout.js var a7 = y((OZe, i7) => { var gRe = 5e3; function _Re(e) { return e || gRe; } a(_Re, "inlineTimeoutFrom"); i7.exports = _Re; }); // ../node_modules/clean-css/lib/options/plugins.js var o7 = y((kZe, s7) => { function vRe(e) { var t = { level1Value: [], level1Property: [], level2Block: [] }; return e = e || [], t.level1Value = e.map(function(r) { return r.level1 && r.level1.value; }).filter(function(r) { return r != null; }), t.level1Property = e.map(function(r) { return r.level1 && r.level1.property; }).filter(function(r) { return r != null; }), t.level2Block = e.map(function(r) { return r.level2 && r.level2.block; }).filter(function(r) { return r != null; }), t; } a(vRe, "pluginsFrom"); s7.exports = vRe; }); // ../node_modules/clean-css/lib/options/rebase.js var l7 = y((FZe, u7) => { function bRe(e, t) { return t !== void 0 ? !0 : e === void 0 ? !1 : !!e; } a(bRe, "rebaseFrom"); u7.exports = bRe; }); // ../node_modules/clean-css/lib/options/rebase-to.js var f7 = y((NZe, c7) => { var yRe = require("path"); function SRe(e) { return e ? yRe.resolve(e) : process.cwd(); } a(SRe, "rebaseToFrom"); c7.exports = SRe; }); // ../node_modules/clean-css/node_modules/source-map/lib/base64.js var p7 = y((ox) => { var h7 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""); ox.encode = function(e) { if (0 <= e && e < h7.length) return h7[e]; throw new TypeError("Must be between 0 and 63: " + e); }; ox.decode = function(e) { var t = 65, r = 90, n = 97, i = 122, s = 48, o = 57, u = 43, l = 47, c = 26, f = 52; return t <= e && e <= r ? e - t : n <= e && e <= i ? e - n + c : s <= e && e <= o ? e - s + f : e == u ? 62 : e == l ? 63 : -1; }; }); // ../node_modules/clean-css/node_modules/source-map/lib/base64-vlq.js var cx = y((lx) => { var d7 = p7(), ux = 5, m7 = 1 << ux, g7 = m7 - 1, _7 = m7; function ERe(e) { return e < 0 ? (-e << 1) + 1 : (e << 1) + 0; } a(ERe, "toVLQSigned"); function ARe(e) { var t = (e & 1) === 1, r = e >> 1; return t ? -r : r; } a(ARe, "fromVLQSigned"); lx.encode = /* @__PURE__ */ a(function(t) { var r = "", n, i = ERe(t); do n = i & g7, i >>>= ux, i > 0 && (n |= _7), r += d7.encode(n); while (i > 0); return r; }, "base64VLQ_encode"); lx.decode = /* @__PURE__ */ a(function(t, r, n) { var i = t.length, s = 0, o = 0, u, l; do { if (r >= i) throw new Error("Expected more digits in base 64 VLQ value."); if (l = d7.decode(t.charCodeAt(r++)), l === -1) throw new Error("Invalid base64 digit: " + t.charAt(r - 1)); u = !!(l & _7), l &= g7, s = s + (l << o), o += ux; } while (u); n.value = ARe(s), n.rest = r; }, "base64VLQ_decode"); }); // ../node_modules/clean-css/node_modules/source-map/lib/util.js var Zc = y((si) => { function TRe(e, t, r) { if (t in e) return e[t]; if (arguments.length === 3) return r; throw new Error('"' + t + '" is a required argument.'); } a(TRe, "getArg"); si.getArg = TRe; var v7 = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/, DRe = /^data:.+\,.+$/; function _p(e) { var t = e.match(v7); return t ? { scheme: t[1], auth: t[2], host: t[3], port: t[4], path: t[5] } : null; } a(_p, "urlParse"); si.urlParse = _p; function Yc(e) { var t = ""; return e.scheme && (t += e.scheme + ":"), t += "//", e.auth && (t += e.auth + "@"), e.host && (t += e.host), e.port && (t += ":" + e.port), e.path && (t += e.path), t; } a(Yc, "urlGenerate"); si.urlGenerate = Yc; function fx(e) { var t = e, r = _p(e); if (r) { if (!r.path) return e; t = r.path; } for (var n = si.isAbsolute(t), i = t.split(/\/+/), s, o = 0, u = i.length - 1; u >= 0; u--) s = i[u], s === "." ? i.splice(u, 1) : s === ".." ? o++ : o > 0 && (s === "" ? (i.splice(u + 1, o), o = 0) : (i.splice(u, 2), o--)); return t = i.join("/"), t === "" && (t = n ? "/" : "."), r ? (r.path = t, Yc(r)) : t; } a(fx, "normalize"); si.normalize = fx; function b7(e, t) { e === "" && (e = "."), t === "" && (t = "."); var r = _p(t), n = _p(e); if (n && (e = n.path || "/"), r && !r.scheme) return n && (r.scheme = n.scheme), Yc(r); if (r || t.match(DRe)) return t; if (n && !n.host && !n.path) return n.host = t, Yc(n); var i = t.charAt(0) === "/" ? t : fx(e.replace(/\/+$/, "") + "/" + t); return n ? (n.path = i, Yc(n)) : i; } a(b7, "join"); si.join = b7; si.isAbsolute = function(e) { return e.charAt(0) === "/" || v7.test(e); }; function xRe(e, t) { e === "" && (e = "."), e = e.replace(/\/$/, ""); for (var r = 0; t.indexOf(e + "/") !== 0; ) { var n = e.lastIndexOf("/"); if (n < 0 || (e = e.slice(0, n), e.match(/^([^\/]+:\/)?\/*$/))) return t; ++r; } return Array(r + 1).join("../") + t.substr(e.length + 1); } a(xRe, "relative"); si.relative = xRe; var y7 = function() { var e = /* @__PURE__ */ Object.create(null); return !("__proto__" in e); }(); function S7(e) { return e; } a(S7, "identity"); function CRe(e) { return E7(e) ? "$" + e : e; } a(CRe, "toSetString"); si.toSetString = y7 ? S7 : CRe; function wRe(e) { return E7(e) ? e.slice(1) : e; } a(wRe, "fromSetString"); si.fromSetString = y7 ? S7 : wRe; function E7(e) { if (!e) return !1; var t = e.length; if (t < 9 || e.charCodeAt(t - 1) !== 95 || e.charCodeAt(t - 2) !== 95 || e.charCodeAt(t - 3) !== 111 || e.charCodeAt(t - 4) !== 116 || e. charCodeAt(t - 5) !== 111 || e.charCodeAt(t - 6) !== 114 || e.charCodeAt(t - 7) !== 112 || e.charCodeAt(t - 8) !== 95 || e.charCodeAt(t - 9) !== 95) return !1; for (var r = t - 10; r >= 0; r--) if (e.charCodeAt(r) !== 36) return !1; return !0; } a(E7, "isProtoString"); function ORe(e, t, r) { var n = Qc(e.source, t.source); return n !== 0 || (n = e.originalLine - t.originalLine, n !== 0) || (n = e.originalColumn - t.originalColumn, n !== 0 || r) || (n = e.generatedColumn - t.generatedColumn, n !== 0) || (n = e.generatedLine - t.generatedLine, n !== 0) ? n : Qc(e.name, t.name); } a(ORe, "compareByOriginalPositions"); si.compareByOriginalPositions = ORe; function RRe(e, t, r) { var n = e.generatedLine - t.generatedLine; return n !== 0 || (n = e.generatedColumn - t.generatedColumn, n !== 0 || r) || (n = Qc(e.source, t.source), n !== 0) || (n = e.originalLine - t.originalLine, n !== 0) || (n = e.originalColumn - t.originalColumn, n !== 0) ? n : Qc(e.name, t.name); } a(RRe, "compareByGeneratedPositionsDeflated"); si.compareByGeneratedPositionsDeflated = RRe; function Qc(e, t) { return e === t ? 0 : e === null ? 1 : t === null ? -1 : e > t ? 1 : -1; } a(Qc, "strcmp"); function kRe(e, t) { var r = e.generatedLine - t.generatedLine; return r !== 0 || (r = e.generatedColumn - t.generatedColumn, r !== 0) || (r = Qc(e.source, t.source), r !== 0) || (r = e.originalLine - t.originalLine, r !== 0) || (r = e.originalColumn - t.originalColumn, r !== 0) ? r : Qc(e.name, t.name); } a(kRe, "compareByGeneratedPositionsInflated"); si.compareByGeneratedPositionsInflated = kRe; function PRe(e) { return JSON.parse(e.replace(/^\)]}'[^\n]*\n/, "")); } a(PRe, "parseSourceMapInput"); si.parseSourceMapInput = PRe; function FRe(e, t, r) { if (t = t || "", e && (e[e.length - 1] !== "/" && t[0] !== "/" && (e += "/"), t = e + t), r) { var n = _p(r); if (!n) throw new Error("sourceMapURL could not be parsed"); if (n.path) { var i = n.path.lastIndexOf("/"); i >= 0 && (n.path = n.path.substring(0, i + 1)); } t = b7(Yc(n), t); } return fx(t); } a(FRe, "computeSourceURL"); si.computeSourceURL = FRe; }); // ../node_modules/clean-css/node_modules/source-map/lib/array-set.js var dx = y((A7) => { var hx = Zc(), px = Object.prototype.hasOwnProperty, cl = typeof Map < "u"; function mo() { this._array = [], this._set = cl ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null); } a(mo, "ArraySet"); mo.fromArray = /* @__PURE__ */ a(function(t, r) { for (var n = new mo(), i = 0, s = t.length; i < s; i++) n.add(t[i], r); return n; }, "ArraySet_fromArray"); mo.prototype.size = /* @__PURE__ */ a(function() { return cl ? this._set.size : Object.getOwnPropertyNames(this._set).length; }, "ArraySet_size"); mo.prototype.add = /* @__PURE__ */ a(function(t, r) { var n = cl ? t : hx.toSetString(t), i = cl ? this.has(t) : px.call(this._set, n), s = this._array.length; (!i || r) && this._array.push(t), i || (cl ? this._set.set(t, s) : this._set[n] = s); }, "ArraySet_add"); mo.prototype.has = /* @__PURE__ */ a(function(t) { if (cl) return this._set.has(t); var r = hx.toSetString(t); return px.call(this._set, r); }, "ArraySet_has"); mo.prototype.indexOf = /* @__PURE__ */ a(function(t) { if (cl) { var r = this._set.get(t); if (r >= 0) return r; } else { var n = hx.toSetString(t); if (px.call(this._set, n)) return this._set[n]; } throw new Error('"' + t + '" is not in the set.'); }, "ArraySet_indexOf"); mo.prototype.at = /* @__PURE__ */ a(function(t) { if (t >= 0 && t < this._array.length) return this._array[t]; throw new Error("No element indexed by " + t); }, "ArraySet_at"); mo.prototype.toArray = /* @__PURE__ */ a(function() { return this._array.slice(); }, "ArraySet_toArray"); A7.ArraySet = mo; }); // ../node_modules/clean-css/node_modules/source-map/lib/mapping-list.js var x7 = y((D7) => { var T7 = Zc(); function IRe(e, t) { var r = e.generatedLine, n = t.generatedLine, i = e.generatedColumn, s = t.generatedColumn; return n > r || n == r && s >= i || T7.compareByGeneratedPositionsInflated(e, t) <= 0; } a(IRe, "generatedPositionAfter"); function uv() { this._array = [], this._sorted = !0, this._last = { generatedLine: -1, generatedColumn: 0 }; } a(uv, "MappingList"); uv.prototype.unsortedForEach = /* @__PURE__ */ a(function(t, r) { this._array.forEach(t, r); }, "MappingList_forEach"); uv.prototype.add = /* @__PURE__ */ a(function(t) { IRe(this._last, t) ? (this._last = t, this._array.push(t)) : (this._sorted = !1, this._array.push(t)); }, "MappingList_add"); uv.prototype.toArray = /* @__PURE__ */ a(function() { return this._sorted || (this._array.sort(T7.compareByGeneratedPositionsInflated), this._sorted = !0), this._array; }, "MappingList_toArray"); D7.MappingList = uv; }); // ../node_modules/clean-css/node_modules/source-map/lib/source-map-generator.js var mx = y((C7) => { var vp = cx(), _n = Zc(), lv = dx().ArraySet, NRe = x7().MappingList; function Ca(e) { e || (e = {}), this._file = _n.getArg(e, "file", null), this._sourceRoot = _n.getArg(e, "sourceRoot", null), this._skipValidation = _n.getArg( e, "skipValidation", !1), this._sources = new lv(), this._names = new lv(), this._mappings = new NRe(), this._sourcesContents = null; } a(Ca, "SourceMapGenerator"); Ca.prototype._version = 3; Ca.fromSourceMap = /* @__PURE__ */ a(function(t) { var r = t.sourceRoot, n = new Ca({ file: t.file, sourceRoot: r }); return t.eachMapping(function(i) { var s = { generated: { line: i.generatedLine, column: i.generatedColumn } }; i.source != null && (s.source = i.source, r != null && (s.source = _n.relative(r, s.source)), s.original = { line: i.originalLine, column: i.originalColumn }, i.name != null && (s.name = i.name)), n.addMapping(s); }), t.sources.forEach(function(i) { var s = i; r !== null && (s = _n.relative(r, i)), n._sources.has(s) || n._sources.add(s); var o = t.sourceContentFor(i); o != null && n.setSourceContent(i, o); }), n; }, "SourceMapGenerator_fromSourceMap"); Ca.prototype.addMapping = /* @__PURE__ */ a(function(t) { var r = _n.getArg(t, "generated"), n = _n.getArg(t, "original", null), i = _n.getArg(t, "source", null), s = _n.getArg(t, "name", null); this._skipValidation || this._validateMapping(r, n, i, s), i != null && (i = String(i), this._sources.has(i) || this._sources.add(i)), s != null && (s = String(s), this._names.has(s) || this._names.add(s)), this._mappings.add({ generatedLine: r.line, generatedColumn: r.column, originalLine: n != null && n.line, originalColumn: n != null && n.column, source: i, name: s }); }, "SourceMapGenerator_addMapping"); Ca.prototype.setSourceContent = /* @__PURE__ */ a(function(t, r) { var n = t; this._sourceRoot != null && (n = _n.relative(this._sourceRoot, n)), r != null ? (this._sourcesContents || (this._sourcesContents = /* @__PURE__ */ Object. create(null)), this._sourcesContents[_n.toSetString(n)] = r) : this._sourcesContents && (delete this._sourcesContents[_n.toSetString(n)], Object.keys(this._sourcesContents).length === 0 && (this._sourcesContents = null)); }, "SourceMapGenerator_setSourceContent"); Ca.prototype.applySourceMap = /* @__PURE__ */ a(function(t, r, n) { var i = r; if (r == null) { if (t.file == null) throw new Error( `SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both we\ re omitted.` ); i = t.file; } var s = this._sourceRoot; s != null && (i = _n.relative(s, i)); var o = new lv(), u = new lv(); this._mappings.unsortedForEach(function(l) { if (l.source === i && l.originalLine != null) { var c = t.originalPositionFor({ line: l.originalLine, column: l.originalColumn }); c.source != null && (l.source = c.source, n != null && (l.source = _n.join(n, l.source)), s != null && (l.source = _n.relative(s, l. source)), l.originalLine = c.line, l.originalColumn = c.column, c.name != null && (l.name = c.name)); } var f = l.source; f != null && !o.has(f) && o.add(f); var d = l.name; d != null && !u.has(d) && u.add(d); }, this), this._sources = o, this._names = u, t.sources.forEach(function(l) { var c = t.sourceContentFor(l); c != null && (n != null && (l = _n.join(n, l)), s != null && (l = _n.relative(s, l)), this.setSourceContent(l, c)); }, this); }, "SourceMapGenerator_applySourceMap"); Ca.prototype._validateMapping = /* @__PURE__ */ a(function(t, r, n, i) { if (r && typeof r.line != "number" && typeof r.column != "number") throw new Error( "original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the gene\ rated position. If so, pass null for the original mapping instead of an object with empty or null values." ); if (!(t && "line" in t && "column" in t && t.line > 0 && t.column >= 0 && !r && !n && !i)) { if (t && "line" in t && "column" in t && r && "line" in r && "column" in r && t.line > 0 && t.column >= 0 && r.line > 0 && r.column >= 0 && n) return; throw new Error("Invalid mapping: " + JSON.stringify({ generated: t, source: n, original: r, name: i })); } }, "SourceMapGenerator_validateMapping"); Ca.prototype._serializeMappings = /* @__PURE__ */ a(function() { for (var t = 0, r = 1, n = 0, i = 0, s = 0, o = 0, u = "", l, c, f, d, g = this._mappings.toArray(), b = 0, _ = g.length; b < _; b++) { if (c = g[b], l = "", c.generatedLine !== r) for (t = 0; c.generatedLine !== r; ) l += ";", r++; else if (b > 0) { if (!_n.compareByGeneratedPositionsInflated(c, g[b - 1])) continue; l += ","; } l += vp.encode(c.generatedColumn - t), t = c.generatedColumn, c.source != null && (d = this._sources.indexOf(c.source), l += vp.encode( d - o), o = d, l += vp.encode(c.originalLine - 1 - i), i = c.originalLine - 1, l += vp.encode(c.originalColumn - n), n = c.originalColumn, c.name != null && (f = this._names.indexOf(c.name), l += vp.encode(f - s), s = f)), u += l; } return u; }, "SourceMapGenerator_serializeMappings"); Ca.prototype._generateSourcesContent = /* @__PURE__ */ a(function(t, r) { return t.map(function(n) { if (!this._sourcesContents) return null; r != null && (n = _n.relative(r, n)); var i = _n.toSetString(n); return Object.prototype.hasOwnProperty.call(this._sourcesContents, i) ? this._sourcesContents[i] : null; }, this); }, "SourceMapGenerator_generateSourcesContent"); Ca.prototype.toJSON = /* @__PURE__ */ a(function() { var t = { version: this._version, sources: this._sources.toArray(), names: this._names.toArray(), mappings: this._serializeMappings() }; return this._file != null && (t.file = this._file), this._sourceRoot != null && (t.sourceRoot = this._sourceRoot), this._sourcesContents && (t.sourcesContent = this._generateSourcesContent(t.sources, t.sourceRoot)), t; }, "SourceMapGenerator_toJSON"); Ca.prototype.toString = /* @__PURE__ */ a(function() { return JSON.stringify(this.toJSON()); }, "SourceMapGenerator_toString"); C7.SourceMapGenerator = Ca; }); // ../node_modules/clean-css/node_modules/source-map/lib/binary-search.js var w7 = y((fl) => { fl.GREATEST_LOWER_BOUND = 1; fl.LEAST_UPPER_BOUND = 2; function gx(e, t, r, n, i, s) { var o = Math.floor((t - e) / 2) + e, u = i(r, n[o], !0); return u === 0 ? o : u > 0 ? t - o > 1 ? gx(o, t, r, n, i, s) : s == fl.LEAST_UPPER_BOUND ? t < n.length ? t : -1 : o : o - e > 1 ? gx(e, o, r, n, i, s) : s == fl.LEAST_UPPER_BOUND ? o : e < 0 ? -1 : e; } a(gx, "recursiveSearch"); fl.search = /* @__PURE__ */ a(function(t, r, n, i) { if (r.length === 0) return -1; var s = gx( -1, r.length, t, r, n, i || fl.GREATEST_LOWER_BOUND ); if (s < 0) return -1; for (; s - 1 >= 0 && n(r[s], r[s - 1], !0) === 0; ) --s; return s; }, "search"); }); // ../node_modules/clean-css/node_modules/source-map/lib/quick-sort.js var R7 = y((O7) => { function _x(e, t, r) { var n = e[t]; e[t] = e[r], e[r] = n; } a(_x, "swap"); function LRe(e, t) { return Math.round(e + Math.random() * (t - e)); } a(LRe, "randomIntInRange"); function vx(e, t, r, n) { if (r < n) { var i = LRe(r, n), s = r - 1; _x(e, i, n); for (var o = e[n], u = r; u < n; u++) t(e[u], o) <= 0 && (s += 1, _x(e, s, u)); _x(e, s + 1, u); var l = s + 1; vx(e, t, r, l - 1), vx(e, t, l + 1, n); } } a(vx, "doQuickSort"); O7.quickSort = function(e, t) { vx(e, t, 0, e.length - 1); }; }); // ../node_modules/clean-css/node_modules/source-map/lib/source-map-consumer.js var P7 = y((cv) => { var Oe = Zc(), bx = w7(), Jc = dx().ArraySet, BRe = cx(), bp = R7().quickSort; function vr(e, t) { var r = e; return typeof e == "string" && (r = Oe.parseSourceMapInput(e)), r.sections != null ? new Ja(r, t) : new Kn(r, t); } a(vr, "SourceMapConsumer"); vr.fromSourceMap = function(e, t) { return Kn.fromSourceMap(e, t); }; vr.prototype._version = 3; vr.prototype.__generatedMappings = null; Object.defineProperty(vr.prototype, "_generatedMappings", { configurable: !0, enumerable: !0, get: /* @__PURE__ */ a(function() { return this.__generatedMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__generatedMappings; }, "get") }); vr.prototype.__originalMappings = null; Object.defineProperty(vr.prototype, "_originalMappings", { configurable: !0, enumerable: !0, get: /* @__PURE__ */ a(function() { return this.__originalMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__originalMappings; }, "get") }); vr.prototype._charIsMappingSeparator = /* @__PURE__ */ a(function(t, r) { var n = t.charAt(r); return n === ";" || n === ","; }, "SourceMapConsumer_charIsMappingSeparator"); vr.prototype._parseMappings = /* @__PURE__ */ a(function(t, r) { throw new Error("Subclasses must implement _parseMappings"); }, "SourceMapConsumer_parseMappings"); vr.GENERATED_ORDER = 1; vr.ORIGINAL_ORDER = 2; vr.GREATEST_LOWER_BOUND = 1; vr.LEAST_UPPER_BOUND = 2; vr.prototype.eachMapping = /* @__PURE__ */ a(function(t, r, n) { var i = r || null, s = n || vr.GENERATED_ORDER, o; switch (s) { case vr.GENERATED_ORDER: o = this._generatedMappings; break; case vr.ORIGINAL_ORDER: o = this._originalMappings; break; default: throw new Error("Unknown order of iteration."); } var u = this.sourceRoot; o.map(function(l) { var c = l.source === null ? null : this._sources.at(l.source); return c = Oe.computeSourceURL(u, c, this._sourceMapURL), { source: c, generatedLine: l.generatedLine, generatedColumn: l.generatedColumn, originalLine: l.originalLine, originalColumn: l.originalColumn, name: l.name === null ? null : this._names.at(l.name) }; }, this).forEach(t, i); }, "SourceMapConsumer_eachMapping"); vr.prototype.allGeneratedPositionsFor = /* @__PURE__ */ a(function(t) { var r = Oe.getArg(t, "line"), n = { source: Oe.getArg(t, "source"), originalLine: r, originalColumn: Oe.getArg(t, "column", 0) }; if (n.source = this._findSourceIndex(n.source), n.source < 0) return []; var i = [], s = this._findMapping( n, this._originalMappings, "originalLine", "originalColumn", Oe.compareByOriginalPositions, bx.LEAST_UPPER_BOUND ); if (s >= 0) { var o = this._originalMappings[s]; if (t.column === void 0) for (var u = o.originalLine; o && o.originalLine === u; ) i.push({ line: Oe.getArg(o, "generatedLine", null), column: Oe.getArg(o, "generatedColumn", null), lastColumn: Oe.getArg(o, "lastGeneratedColumn", null) }), o = this._originalMappings[++s]; else for (var l = o.originalColumn; o && o.originalLine === r && o.originalColumn == l; ) i.push({ line: Oe.getArg(o, "generatedLine", null), column: Oe.getArg(o, "generatedColumn", null), lastColumn: Oe.getArg(o, "lastGeneratedColumn", null) }), o = this._originalMappings[++s]; } return i; }, "SourceMapConsumer_allGeneratedPositionsFor"); cv.SourceMapConsumer = vr; function Kn(e, t) { var r = e; typeof e == "string" && (r = Oe.parseSourceMapInput(e)); var n = Oe.getArg(r, "version"), i = Oe.getArg(r, "sources"), s = Oe.getArg(r, "names", []), o = Oe.getArg(r, "sourceRoot", null), u = Oe. getArg(r, "sourcesContent", null), l = Oe.getArg(r, "mappings"), c = Oe.getArg(r, "file", null); if (n != this._version) throw new Error("Unsupported version: " + n); o && (o = Oe.normalize(o)), i = i.map(String).map(Oe.normalize).map(function(f) { return o && Oe.isAbsolute(o) && Oe.isAbsolute(f) ? Oe.relative(o, f) : f; }), this._names = Jc.fromArray(s.map(String), !0), this._sources = Jc.fromArray(i, !0), this._absoluteSources = this._sources.toArray(). map(function(f) { return Oe.computeSourceURL(o, f, t); }), this.sourceRoot = o, this.sourcesContent = u, this._mappings = l, this._sourceMapURL = t, this.file = c; } a(Kn, "BasicSourceMapConsumer"); Kn.prototype = Object.create(vr.prototype); Kn.prototype.consumer = vr; Kn.prototype._findSourceIndex = function(e) { var t = e; if (this.sourceRoot != null && (t = Oe.relative(this.sourceRoot, t)), this._sources.has(t)) return this._sources.indexOf(t); var r; for (r = 0; r < this._absoluteSources.length; ++r) if (this._absoluteSources[r] == e) return r; return -1; }; Kn.fromSourceMap = /* @__PURE__ */ a(function(t, r) { var n = Object.create(Kn.prototype), i = n._names = Jc.fromArray(t._names.toArray(), !0), s = n._sources = Jc.fromArray(t._sources.toArray(), !0); n.sourceRoot = t._sourceRoot, n.sourcesContent = t._generateSourcesContent( n._sources.toArray(), n.sourceRoot ), n.file = t._file, n._sourceMapURL = r, n._absoluteSources = n._sources.toArray().map(function(b) { return Oe.computeSourceURL(n.sourceRoot, b, r); }); for (var o = t._mappings.toArray().slice(), u = n.__generatedMappings = [], l = n.__originalMappings = [], c = 0, f = o.length; c < f; c++) { var d = o[c], g = new k7(); g.generatedLine = d.generatedLine, g.generatedColumn = d.generatedColumn, d.source && (g.source = s.indexOf(d.source), g.originalLine = d.originalLine, g.originalColumn = d.originalColumn, d.name && (g.name = i.indexOf(d.name)), l.push(g)), u.push(g); } return bp(n.__originalMappings, Oe.compareByOriginalPositions), n; }, "SourceMapConsumer_fromSourceMap"); Kn.prototype._version = 3; Object.defineProperty(Kn.prototype, "sources", { get: /* @__PURE__ */ a(function() { return this._absoluteSources.slice(); }, "get") }); function k7() { this.generatedLine = 0, this.generatedColumn = 0, this.source = null, this.originalLine = null, this.originalColumn = null, this.name = null; } a(k7, "Mapping"); Kn.prototype._parseMappings = /* @__PURE__ */ a(function(t, r) { for (var n = 1, i = 0, s = 0, o = 0, u = 0, l = 0, c = t.length, f = 0, d = {}, g = {}, b = [], _ = [], T, p, h, S, D; f < c; ) if (t.charAt(f) === ";") n++, f++, i = 0; else if (t.charAt(f) === ",") f++; else { for (T = new k7(), T.generatedLine = n, S = f; S < c && !this._charIsMappingSeparator(t, S); S++) ; if (p = t.slice(f, S), h = d[p], h) f += p.length; else { for (h = []; f < S; ) BRe.decode(t, f, g), D = g.value, f = g.rest, h.push(D); if (h.length === 2) throw new Error("Found a source, but no line and column"); if (h.length === 3) throw new Error("Found a source and line, but no column"); d[p] = h; } T.generatedColumn = i + h[0], i = T.generatedColumn, h.length > 1 && (T.source = u + h[1], u += h[1], T.originalLine = s + h[2], s = T.originalLine, T.originalLine += 1, T.originalColumn = o + h[3], o = T.originalColumn, h.length > 4 && (T.name = l + h[4], l += h[4])), _.push(T), typeof T.originalLine == "number" && b.push(T); } bp(_, Oe.compareByGeneratedPositionsDeflated), this.__generatedMappings = _, bp(b, Oe.compareByOriginalPositions), this.__originalMappings = b; }, "SourceMapConsumer_parseMappings"); Kn.prototype._findMapping = /* @__PURE__ */ a(function(t, r, n, i, s, o) { if (t[n] <= 0) throw new TypeError("Line must be greater than or equal to 1, got " + t[n]); if (t[i] < 0) throw new TypeError("Column must be greater than or equal to 0, got " + t[i]); return bx.search(t, r, s, o); }, "SourceMapConsumer_findMapping"); Kn.prototype.computeColumnSpans = /* @__PURE__ */ a(function() { for (var t = 0; t < this._generatedMappings.length; ++t) { var r = this._generatedMappings[t]; if (t + 1 < this._generatedMappings.length) { var n = this._generatedMappings[t + 1]; if (r.generatedLine === n.generatedLine) { r.lastGeneratedColumn = n.generatedColumn - 1; continue; } } r.lastGeneratedColumn = 1 / 0; } }, "SourceMapConsumer_computeColumnSpans"); Kn.prototype.originalPositionFor = /* @__PURE__ */ a(function(t) { var r = { generatedLine: Oe.getArg(t, "line"), generatedColumn: Oe.getArg(t, "column") }, n = this._findMapping( r, this._generatedMappings, "generatedLine", "generatedColumn", Oe.compareByGeneratedPositionsDeflated, Oe.getArg(t, "bias", vr.GREATEST_LOWER_BOUND) ); if (n >= 0) { var i = this._generatedMappings[n]; if (i.generatedLine === r.generatedLine) { var s = Oe.getArg(i, "source", null); s !== null && (s = this._sources.at(s), s = Oe.computeSourceURL(this.sourceRoot, s, this._sourceMapURL)); var o = Oe.getArg(i, "name", null); return o !== null && (o = this._names.at(o)), { source: s, line: Oe.getArg(i, "originalLine", null), column: Oe.getArg(i, "originalColumn", null), name: o }; } } return { source: null, line: null, column: null, name: null }; }, "SourceMapConsumer_originalPositionFor"); Kn.prototype.hasContentsOfAllSources = /* @__PURE__ */ a(function() { return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(t) { return t == null; }) : !1; }, "BasicSourceMapConsumer_hasContentsOfAllSources"); Kn.prototype.sourceContentFor = /* @__PURE__ */ a(function(t, r) { if (!this.sourcesContent) return null; var n = this._findSourceIndex(t); if (n >= 0) return this.sourcesContent[n]; var i = t; this.sourceRoot != null && (i = Oe.relative(this.sourceRoot, i)); var s; if (this.sourceRoot != null && (s = Oe.urlParse(this.sourceRoot))) { var o = i.replace(/^file:\/\//, ""); if (s.scheme == "file" && this._sources.has(o)) return this.sourcesContent[this._sources.indexOf(o)]; if ((!s.path || s.path == "/") && this._sources.has("/" + i)) return this.sourcesContent[this._sources.indexOf("/" + i)]; } if (r) return null; throw new Error('"' + i + '" is not in the SourceMap.'); }, "SourceMapConsumer_sourceContentFor"); Kn.prototype.generatedPositionFor = /* @__PURE__ */ a(function(t) { var r = Oe.getArg(t, "source"); if (r = this._findSourceIndex(r), r < 0) return { line: null, column: null, lastColumn: null }; var n = { source: r, originalLine: Oe.getArg(t, "line"), originalColumn: Oe.getArg(t, "column") }, i = this._findMapping( n, this._originalMappings, "originalLine", "originalColumn", Oe.compareByOriginalPositions, Oe.getArg(t, "bias", vr.GREATEST_LOWER_BOUND) ); if (i >= 0) { var s = this._originalMappings[i]; if (s.source === n.source) return { line: Oe.getArg(s, "generatedLine", null), column: Oe.getArg(s, "generatedColumn", null), lastColumn: Oe.getArg(s, "lastGeneratedColumn", null) }; } return { line: null, column: null, lastColumn: null }; }, "SourceMapConsumer_generatedPositionFor"); cv.BasicSourceMapConsumer = Kn; function Ja(e, t) { var r = e; typeof e == "string" && (r = Oe.parseSourceMapInput(e)); var n = Oe.getArg(r, "version"), i = Oe.getArg(r, "sections"); if (n != this._version) throw new Error("Unsupported version: " + n); this._sources = new Jc(), this._names = new Jc(); var s = { line: -1, column: 0 }; this._sections = i.map(function(o) { if (o.url) throw new Error("Support for url field in sections not implemented."); var u = Oe.getArg(o, "offset"), l = Oe.getArg(u, "line"), c = Oe.getArg(u, "column"); if (l < s.line || l === s.line && c < s.column) throw new Error("Section offsets must be ordered and non-overlapping."); return s = u, { generatedOffset: { // The offset fields are 0-based, but we use 1-based indices when // encoding/decoding from VLQ. generatedLine: l + 1, generatedColumn: c + 1 }, consumer: new vr(Oe.getArg(o, "map"), t) }; }); } a(Ja, "IndexedSourceMapConsumer"); Ja.prototype = Object.create(vr.prototype); Ja.prototype.constructor = vr; Ja.prototype._version = 3; Object.defineProperty(Ja.prototype, "sources", { get: /* @__PURE__ */ a(function() { for (var e = [], t = 0; t < this._sections.length; t++) for (var r = 0; r < this._sections[t].consumer.sources.length; r++) e.push(this._sections[t].consumer.sources[r]); return e; }, "get") }); Ja.prototype.originalPositionFor = /* @__PURE__ */ a(function(t) { var r = { generatedLine: Oe.getArg(t, "line"), generatedColumn: Oe.getArg(t, "column") }, n = bx.search( r, this._sections, function(s, o) { var u = s.generatedLine - o.generatedOffset.generatedLine; return u || s.generatedColumn - o.generatedOffset.generatedColumn; } ), i = this._sections[n]; return i ? i.consumer.originalPositionFor({ line: r.generatedLine - (i.generatedOffset.generatedLine - 1), column: r.generatedColumn - (i.generatedOffset.generatedLine === r.generatedLine ? i.generatedOffset.generatedColumn - 1 : 0), bias: t.bias }) : { source: null, line: null, column: null, name: null }; }, "IndexedSourceMapConsumer_originalPositionFor"); Ja.prototype.hasContentsOfAllSources = /* @__PURE__ */ a(function() { return this._sections.every(function(t) { return t.consumer.hasContentsOfAllSources(); }); }, "IndexedSourceMapConsumer_hasContentsOfAllSources"); Ja.prototype.sourceContentFor = /* @__PURE__ */ a(function(t, r) { for (var n = 0; n < this._sections.length; n++) { var i = this._sections[n], s = i.consumer.sourceContentFor(t, !0); if (s) return s; } if (r) return null; throw new Error('"' + t + '" is not in the SourceMap.'); }, "IndexedSourceMapConsumer_sourceContentFor"); Ja.prototype.generatedPositionFor = /* @__PURE__ */ a(function(t) { for (var r = 0; r < this._sections.length; r++) { var n = this._sections[r]; if (n.consumer._findSourceIndex(Oe.getArg(t, "source")) !== -1) { var i = n.consumer.generatedPositionFor(t); if (i) { var s = { line: i.line + (n.generatedOffset.generatedLine - 1), column: i.column + (n.generatedOffset.generatedLine === i.line ? n.generatedOffset.generatedColumn - 1 : 0) }; return s; } } } return { line: null, column: null }; }, "IndexedSourceMapConsumer_generatedPositionFor"); Ja.prototype._parseMappings = /* @__PURE__ */ a(function(t, r) { this.__generatedMappings = [], this.__originalMappings = []; for (var n = 0; n < this._sections.length; n++) for (var i = this._sections[n], s = i.consumer._generatedMappings, o = 0; o < s.length; o++) { var u = s[o], l = i.consumer._sources.at(u.source); l = Oe.computeSourceURL(i.consumer.sourceRoot, l, this._sourceMapURL), this._sources.add(l), l = this._sources.indexOf(l); var c = null; u.name && (c = i.consumer._names.at(u.name), this._names.add(c), c = this._names.indexOf(c)); var f = { source: l, generatedLine: u.generatedLine + (i.generatedOffset.generatedLine - 1), generatedColumn: u.generatedColumn + (i.generatedOffset.generatedLine === u.generatedLine ? i.generatedOffset.generatedColumn - 1 : 0), originalLine: u.originalLine, originalColumn: u.originalColumn, name: c }; this.__generatedMappings.push(f), typeof f.originalLine == "number" && this.__originalMappings.push(f); } bp(this.__generatedMappings, Oe.compareByGeneratedPositionsDeflated), bp(this.__originalMappings, Oe.compareByOriginalPositions); }, "IndexedSourceMapConsumer_parseMappings"); cv.IndexedSourceMapConsumer = Ja; }); // ../node_modules/clean-css/node_modules/source-map/lib/source-node.js var I7 = y((F7) => { var MRe = mx().SourceMapGenerator, fv = Zc(), qRe = /(\r?\n)/, URe = 10, ef = "$$$isSourceNode$$$"; function sa(e, t, r, n, i) { this.children = [], this.sourceContents = {}, this.line = e ?? null, this.column = t ?? null, this.source = r ?? null, this.name = i ?? null, this[ef] = !0, n != null && this.add(n); } a(sa, "SourceNode"); sa.fromStringWithSourceMap = /* @__PURE__ */ a(function(t, r, n) { var i = new sa(), s = t.split(qRe), o = 0, u = /* @__PURE__ */ a(function() { var g = _(), b = _() || ""; return g + b; function _() { return o < s.length ? s[o++] : void 0; } }, "shiftNextLine"), l = 1, c = 0, f = null; return r.eachMapping(function(g) { if (f !== null) if (l < g.generatedLine) d(f, u()), l++, c = 0; else { var b = s[o] || "", _ = b.substr(0, g.generatedColumn - c); s[o] = b.substr(g.generatedColumn - c), c = g.generatedColumn, d(f, _), f = g; return; } for (; l < g.generatedLine; ) i.add(u()), l++; if (c < g.generatedColumn) { var b = s[o] || ""; i.add(b.substr(0, g.generatedColumn)), s[o] = b.substr(g.generatedColumn), c = g.generatedColumn; } f = g; }, this), o < s.length && (f && d(f, u()), i.add(s.splice(o).join(""))), r.sources.forEach(function(g) { var b = r.sourceContentFor(g); b != null && (n != null && (g = fv.join(n, g)), i.setSourceContent(g, b)); }), i; function d(g, b) { if (g === null || g.source === void 0) i.add(b); else { var _ = n ? fv.join(n, g.source) : g.source; i.add(new sa( g.originalLine, g.originalColumn, _, b, g.name )); } } a(d, "addMappingWithCode"); }, "SourceNode_fromStringWithSourceMap"); sa.prototype.add = /* @__PURE__ */ a(function(t) { if (Array.isArray(t)) t.forEach(function(r) { this.add(r); }, this); else if (t[ef] || typeof t == "string") t && this.children.push(t); else throw new TypeError( "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + t ); return this; }, "SourceNode_add"); sa.prototype.prepend = /* @__PURE__ */ a(function(t) { if (Array.isArray(t)) for (var r = t.length - 1; r >= 0; r--) this.prepend(t[r]); else if (t[ef] || typeof t == "string") this.children.unshift(t); else throw new TypeError( "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + t ); return this; }, "SourceNode_prepend"); sa.prototype.walk = /* @__PURE__ */ a(function(t) { for (var r, n = 0, i = this.children.length; n < i; n++) r = this.children[n], r[ef] ? r.walk(t) : r !== "" && t(r, { source: this.source, line: this.line, column: this.column, name: this.name }); }, "SourceNode_walk"); sa.prototype.join = /* @__PURE__ */ a(function(t) { var r, n, i = this.children.length; if (i > 0) { for (r = [], n = 0; n < i - 1; n++) r.push(this.children[n]), r.push(t); r.push(this.children[n]), this.children = r; } return this; }, "SourceNode_join"); sa.prototype.replaceRight = /* @__PURE__ */ a(function(t, r) { var n = this.children[this.children.length - 1]; return n[ef] ? n.replaceRight(t, r) : typeof n == "string" ? this.children[this.children.length - 1] = n.replace(t, r) : this.children.push( "".replace(t, r)), this; }, "SourceNode_replaceRight"); sa.prototype.setSourceContent = /* @__PURE__ */ a(function(t, r) { this.sourceContents[fv.toSetString(t)] = r; }, "SourceNode_setSourceContent"); sa.prototype.walkSourceContents = /* @__PURE__ */ a(function(t) { for (var r = 0, n = this.children.length; r < n; r++) this.children[r][ef] && this.children[r].walkSourceContents(t); for (var i = Object.keys(this.sourceContents), r = 0, n = i.length; r < n; r++) t(fv.fromSetString(i[r]), this.sourceContents[i[r]]); }, "SourceNode_walkSourceContents"); sa.prototype.toString = /* @__PURE__ */ a(function() { var t = ""; return this.walk(function(r) { t += r; }), t; }, "SourceNode_toString"); sa.prototype.toStringWithSourceMap = /* @__PURE__ */ a(function(t) { var r = { code: "", line: 1, column: 0 }, n = new MRe(t), i = !1, s = null, o = null, u = null, l = null; return this.walk(function(c, f) { r.code += c, f.source !== null && f.line !== null && f.column !== null ? ((s !== f.source || o !== f.line || u !== f.column || l !== f. name) && n.addMapping({ source: f.source, original: { line: f.line, column: f.column }, generated: { line: r.line, column: r.column }, name: f.name }), s = f.source, o = f.line, u = f.column, l = f.name, i = !0) : i && (n.addMapping({ generated: { line: r.line, column: r.column } }), s = null, i = !1); for (var d = 0, g = c.length; d < g; d++) c.charCodeAt(d) === URe ? (r.line++, r.column = 0, d + 1 === g ? (s = null, i = !1) : i && n.addMapping({ source: f.source, original: { line: f.line, column: f.column }, generated: { line: r.line, column: r.column }, name: f.name })) : r.column++; }), this.walkSourceContents(function(c, f) { n.setSourceContent(c, f); }), { code: r.code, map: n }; }, "SourceNode_toStringWithSourceMap"); F7.SourceNode = sa; }); // ../node_modules/clean-css/node_modules/source-map/source-map.js var yx = y((hv) => { hv.SourceMapGenerator = mx().SourceMapGenerator; hv.SourceMapConsumer = P7().SourceMapConsumer; hv.SourceNode = I7().SourceNode; }); // ../node_modules/clean-css/lib/reader/input-source-map-tracker.js var B7 = y((nJe, L7) => { var VRe = yx().SourceMapConsumer; function HRe() { var e = {}; return { all: jRe.bind(null, e), isTracking: GRe.bind(null, e), originalPositionFor: N7.bind(null, e), track: KRe.bind(null, e) }; } a(HRe, "inputSourceMapTracker"); function jRe(e) { return e; } a(jRe, "all"); function GRe(e, t) { return t in e; } a(GRe, "isTracking"); function N7(e, t, r, n) { for (var i = t[0], s = t[1], o = t[2], u = { line: i, column: s + r }, l; !l && u.column > s; ) u.column--, l = e[o].originalPositionFor(u); return !l || l.column < 0 ? t : l.line === null && i > 1 && n > 0 ? N7(e, [i - 1, s, o], r, n - 1) : l.line !== null ? zRe(l) : t; } a(N7, "originalPositionFor"); function zRe(e) { return [e.line, e.column, e.source]; } a(zRe, "toMetadata"); function KRe(e, t, r) { e[t] = new VRe(r); } a(KRe, "track"); L7.exports = HRe; }); // ../node_modules/clean-css/lib/utils/is-remote-resource.js var tf = y((aJe, M7) => { var WRe = /^(\w+:\/\/|\/\/)/, $Re = /^file:\/\//; function XRe(e) { return WRe.test(e) && !$Re.test(e); } a(XRe, "isRemoteResource"); M7.exports = XRe; }); // ../node_modules/clean-css/lib/utils/has-protocol.js var yp = y((oJe, q7) => { var YRe = /^\/\//; function QRe(e) { return !YRe.test(e); } a(QRe, "hasProtocol"); q7.exports = QRe; }); // ../node_modules/clean-css/lib/reader/is-allowed-resource.js var pv = y((lJe, j7) => { var U7 = require("path"), V7 = require("url"), ZRe = tf(), JRe = yp(), H7 = "http:"; function Ex(e, t, r) { var n, i, s = !t, o, u, l, c; if (r.length === 0) return !1; for (t && !JRe(e) && (e = H7 + e), n = t ? V7.parse(e).host : e, i = t ? e : U7.resolve(e), c = 0; c < r.length; c++) o = r[c], u = o[0] == "!", l = o.substring(1), u && t && Sx(l) ? s = s && !Ex(e, !0, [l]) : u && !t && !Sx(l) ? s = s && !Ex(e, !1, [l]) : u ? s = s && !0 : o == "all" ? s = !0 : t && o == "local" ? s = s || !1 : t && o == "remote" ? s = !0 : !t && o == "remote" ? s = !1 : !t && o == "local" || o === n || o === e || t && i.indexOf(o) === 0 || !t && i.indexOf(U7.resolve(o)) === 0 ? s = !0 : t != Sx(l) ? s = s && !0 : s = !1; return s; } a(Ex, "isAllowedResource"); function Sx(e) { return ZRe(e) || V7.parse(H7 + "//" + e).host == e; } a(Sx, "isRemoteRule"); j7.exports = Ex; }); // ../node_modules/clean-css/lib/reader/match-data-uri.js var z7 = y((fJe, G7) => { var eke = /^data:(\S*?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/; function tke(e) { return eke.exec(e); } a(tke, "matchDataUri"); G7.exports = tke; }); // ../node_modules/clean-css/lib/reader/rebase-local-map.js var Ax = y((pJe, K7) => { var Sp = require("path"); function rke(e, t, r) { var n = Sp.resolve(""), i = Sp.resolve(n, t), s = Sp.dirname(i); return e.sources = e.sources.map(function(o) { return Sp.relative(r, Sp.resolve(s, o)); }), e; } a(rke, "rebaseLocalMap"); K7.exports = rke; }); // ../node_modules/clean-css/lib/reader/rebase-remote-map.js var Tx = y((mJe, W7) => { var nke = require("path"), ike = require("url"); function ake(e, t) { var r = nke.dirname(t); return e.sources = e.sources.map(function(n) { return ike.resolve(r, n); }), e; } a(ake, "rebaseRemoteMap"); W7.exports = ake; }); // ../node_modules/clean-css/lib/utils/is-data-uri-resource.js var Dx = y((_Je, $7) => { var ske = /^data:(\S{0,31}?)?(;charset=(?:(?!;charset=)[^;])+)?(;[^,]+?)?,(.+)/; function oke(e) { return ske.test(e); } a(oke, "isDataUriResource"); $7.exports = oke; }); // ../node_modules/clean-css/lib/reader/apply-source-maps.js var eK = y((bJe, J7) => { var dv = require("fs"), uke = require("path"), Y7 = pv(), lke = z7(), cke = Ax(), fke = Tx(), oi = _r(), hke = yp(), pke = Dx(), dke = tf(), Q7 = /^\/\*# sourceMappingURL=(\S+) \*\/$/; function mke(e, t, r) { var n = { callback: r, fetch: t.options.fetch, index: 0, inline: t.options.inline, inlineRequest: t.options.inlineRequest, inlineTimeout: t.options.inlineTimeout, inputSourceMapTracker: t.inputSourceMapTracker, localOnly: t.localOnly, processedTokens: [], rebaseTo: t.options.rebaseTo, sourceTokens: e, warnings: t.warnings }; return t.options.sourceMap && e.length > 0 ? Z7(n) : r(e); } a(mke, "applySourceMaps"); function Z7(e) { var t = [], r = X7(e.sourceTokens[0]), n, i, s; for (s = e.sourceTokens.length; e.index < s; e.index++) if (i = e.sourceTokens[e.index], n = X7(i), n != r && (t = [], r = n), t.push(i), e.processedTokens.push(i), i[0] == oi.COMMENT && Q7. test(i[1])) return gke(i[1], n, t, e); return e.callback(e.processedTokens); } a(Z7, "doApplySourceMaps"); function X7(e) { var t, r; return e[0] == oi.AT_RULE || e[0] == oi.COMMENT || e[0] == oi.RAW ? r = e[2][0] : (t = e[1][0], r = t[2][0]), r[2]; } a(X7, "findTokenSource"); function gke(e, t, r, n) { return _ke(e, n, function(i) { return i && (n.inputSourceMapTracker.track(t, i), go(r, n.inputSourceMapTracker)), n.index++, Z7(n); }); } a(gke, "fetchAndApplySourceMap"); function _ke(e, t, r) { var n = Q7.exec(e)[1], i, s, o; return pke(n) ? (s = vke(n), r(s)) : dke(n) ? bke(n, t, function(u) { var l; u ? (l = JSON.parse(u), o = fke(l, n), r(o)) : r(null); }) : (i = uke.resolve(t.rebaseTo, n), s = yke(i, t), s ? (o = cke(s, i, t.rebaseTo), r(o)) : r(null)); } a(_ke, "extractInputSourceMapFrom"); function vke(e) { var t = lke(e), r = t[2] ? t[2].split(/[=;]/)[2] : "us-ascii", n = t[3] ? t[3].split(";")[1] : "utf8", i = n == "utf8" ? global.unescape( t[4]) : t[4], s = Buffer.from(i, n); return s.charset = r, JSON.parse(s.toString()); } a(vke, "extractInputSourceMapFromDataUri"); function bke(e, t, r) { var n = Y7(e, !0, t.inline), i = !hke(e); if (t.localOnly) return t.warnings.push('Cannot fetch remote resource from "' + e + '" as no callback given.'), r(null); if (i) return t.warnings.push('Cannot fetch "' + e + '" as no protocol given.'), r(null); if (!n) return t.warnings.push('Cannot fetch "' + e + '" as resource is not allowed.'), r(null); t.fetch(e, t.inlineRequest, t.inlineTimeout, function(s, o) { if (s) return t.warnings.push('Missing source map at "' + e + '" - ' + s), r(null); r(o); }); } a(bke, "loadInputSourceMapFromRemoteUri"); function yke(e, t) { var r = Y7(e, !1, t.inline), n; return !dv.existsSync(e) || !dv.statSync(e).isFile() ? (t.warnings.push('Ignoring local source map at "' + e + '" as resource is missing\ .'), null) : r ? dv.statSync(e).size ? (n = dv.readFileSync(e, "utf-8"), JSON.parse(n)) : (t.warnings.push('Cannot fetch "' + e + '" as reso\ urce is empty.'), null) : (t.warnings.push('Cannot fetch "' + e + '" as resource is not allowed.'), null); } a(yke, "loadInputSourceMapFromLocalUri"); function go(e, t) { var r, n, i; for (n = 0, i = e.length; n < i; n++) switch (r = e[n], r[0]) { case oi.AT_RULE: hl(r, t); break; case oi.AT_RULE_BLOCK: go(r[1], t), go(r[2], t); break; case oi.AT_RULE_BLOCK_SCOPE: hl(r, t); break; case oi.NESTED_BLOCK: go(r[1], t), go(r[2], t); break; case oi.NESTED_BLOCK_SCOPE: hl(r, t); break; case oi.COMMENT: hl(r, t); break; case oi.PROPERTY: go(r, t); break; case oi.PROPERTY_BLOCK: go(r[1], t); break; case oi.PROPERTY_NAME: hl(r, t); break; case oi.PROPERTY_VALUE: hl(r, t); break; case oi.RULE: go(r[1], t), go(r[2], t); break; case oi.RULE_SCOPE: hl(r, t); } return e; } a(go, "applySourceMapRecursively"); function hl(e, t) { var r = e[1], n = e[2], i = [], s, o; for (s = 0, o = n.length; s < o; s++) i.push(t.originalPositionFor(n[s], r.length)); e[2] = i; } a(hl, "applySourceMapTo"); J7.exports = mke; }); // ../node_modules/clean-css/lib/reader/extract-import-url-and-media.js var xx = y((SJe, tK) => { var Ske = zc(), Eke = /^\(/, Ake = /\)$/, Tke = /^@import/i, Dke = /['"]\s{0,31}/, xke = /\s{0,31}['"]/, Cke = /^url\(\s{0,31}/i, wke = /\s{0,31}\)/i; function Oke(e) { var t, r, n, i; return n = e.replace(Tke, "").trim().replace(Cke, "(").replace(wke, ") ").replace(Dke, "").replace(xke, ""), i = Ske(n, " "), t = i[0].replace( Eke, "").replace(Ake, ""), r = i.slice(1).join(" "), [t, r]; } a(Oke, "extractImportUrlAndMedia"); tK.exports = Oke; }); // ../node_modules/clean-css/lib/reader/load-original-sources.js var iK = y((AJe, nK) => { var Cx = require("fs"), Rke = require("path"), rK = pv(), kke = yp(), Pke = tf(); function Fke(e, t) { var r = { callback: t, fetch: e.options.fetch, index: 0, inline: e.options.inline, inlineRequest: e.options.inlineRequest, inlineTimeout: e.options.inlineTimeout, localOnly: e.localOnly, rebaseTo: e.options.rebaseTo, sourcesContent: e.sourcesContent, uriToSource: Ike(e.inputSourceMapTracker.all()), warnings: e.warnings }; return e.options.sourceMap && e.options.sourceMapInlineSources ? wx(r) : t(); } a(Fke, "loadOriginalSources"); function Ike(e) { var t = {}, r, n, i, s, o; for (i in e) for (r = e[i], s = 0, o = r.sources.length; s < o; s++) n = r.sources[s], i = r.sourceContentFor(n, !0), t[n] = i; return t; } a(Ike, "uriToSourceMapping"); function wx(e) { var t = Object.keys(e.uriToSource), r, n, i; for (i = t.length; e.index < i; e.index++) if (r = t[e.index], n = e.uriToSource[r], n) e.sourcesContent[r] = n; else return Nke(r, e); return e.callback(); } a(wx, "doLoadOriginalSources"); function Nke(e, t) { var r; return Pke(e) ? Lke(e, t, function(n) { return t.index++, t.sourcesContent[e] = n, wx(t); }) : (r = Bke(e, t), t.index++, t.sourcesContent[e] = r, wx(t)); } a(Nke, "loadOriginalSource"); function Lke(e, t, r) { var n = rK(e, !0, t.inline), i = !kke(e); if (t.localOnly) return t.warnings.push('Cannot fetch remote resource from "' + e + '" as no callback given.'), r(null); if (i) return t.warnings.push('Cannot fetch "' + e + '" as no protocol given.'), r(null); if (!n) return t.warnings.push('Cannot fetch "' + e + '" as resource is not allowed.'), r(null); t.fetch(e, t.inlineRequest, t.inlineTimeout, function(s, o) { s && t.warnings.push('Missing original source at "' + e + '" - ' + s), r(o); }); } a(Lke, "loadOriginalSourceFromRemoteUri"); function Bke(e, t) { var r = rK(e, !1, t.inline), n = Rke.resolve(t.rebaseTo, e); if (!Cx.existsSync(n) || !Cx.statSync(n).isFile()) return t.warnings.push('Ignoring local source map at "' + n + '" as resource is missing.'), null; if (!r) return t.warnings.push('Cannot fetch "' + n + '" as resource is not allowed.'), null; var i = Cx.readFileSync(n, "utf8"); return i.charCodeAt(0) === 65279 && (i = i.substring(1)), i; } a(Bke, "loadOriginalSourceFromLocalUri"); nK.exports = Fke; }); // ../node_modules/clean-css/lib/reader/normalize-path.js var sK = y((DJe, aK) => { var Mke = "/", qke = /\\/g; function Uke(e) { return e.replace(qke, Mke); } a(Uke, "normalizePath"); aK.exports = Uke; }); // ../node_modules/clean-css/lib/reader/restore-import.js var Ox = y((CJe, oK) => { function Vke(e, t) { return ("@import " + e + " " + t).trim(); } a(Vke, "restoreImport"); oK.exports = Vke; }); // ../node_modules/clean-css/lib/reader/rewrite-url.js var fK = y((OJe, cK) => { var Ep = require("path"), Hke = require("url"), jke = Dx(), kx = '"', mv = "'", Gke = "url(", zke = ")", Kke = /^[^\w\d]*\/\//, Wke = /^["']/, $ke = /["']$/, Xke = /[()]/, Yke = /^url\(/i, Qke = /\)$/, Zke = /\s/, Jke = process.platform == "win32"; function uK(e, t) { return !t || ePe(e) && !Rx(t.toBase) || Rx(e) || tPe(e) || rPe(e) || jke(e) ? e : Rx(t.toBase) ? Hke.resolve(t.toBase, e) : t.absolute ? lK(nPe(e, t)) : lK(iPe(e, t)); } a(uK, "rebase"); function ePe(e) { return Ep.isAbsolute(e); } a(ePe, "isAbsolute"); function tPe(e) { return e[0] == "#"; } a(tPe, "isSVGMarker"); function rPe(e) { return /^\w+:\w+/.test(e); } a(rPe, "isInternal"); function Rx(e) { return /^[^:]+?:\/\//.test(e) || Kke.test(e); } a(Rx, "isRemote"); function nPe(e, t) { return Ep.resolve(Ep.join(t.fromBase || "", e)).replace(t.toBase, ""); } a(nPe, "absolute"); function iPe(e, t) { return Ep.relative(t.toBase, Ep.join(t.fromBase || "", e)); } a(iPe, "relative"); function lK(e) { return Jke ? e.replace(/\\/g, "/") : e; } a(lK, "normalize"); function aPe(e) { return e.indexOf(mv) > -1 ? kx : e.indexOf(kx) > -1 || sPe(e) || oPe(e) ? mv : ""; } a(aPe, "quoteFor"); function sPe(e) { return Zke.test(e); } a(sPe, "hasWhitespace"); function oPe(e) { return Xke.test(e); } a(oPe, "hasRoundBrackets"); function uPe(e, t, r) { var n = e.replace(Yke, "").replace(Qke, "").trim(), i = n.replace(Wke, "").replace($ke, "").trim(), s = n[0] == mv || n[0] == kx ? n[0] : aPe(i); return r ? uK(i, t) : Gke + s + uK(i, t) + s + zke; } a(uPe, "rewriteUrl"); cK.exports = uPe; }); // ../node_modules/clean-css/lib/utils/is-import.js var Px = y((kJe, hK) => { var lPe = /^@import/i; function cPe(e) { return lPe.test(e); } a(cPe, "isImport"); hK.exports = cPe; }); // ../node_modules/clean-css/lib/reader/rebase.js var _K = y((FJe, gK) => { var fPe = xx(), hPe = Ox(), Fx = fK(), rf = _r(), pPe = Px(), dPe = /^\/\*# sourceMappingURL=(\S+) \*\/$/; function mPe(e, t, r, n) { return t ? dK(e, r, n) : gPe(e, r, n); } a(mPe, "rebase"); function dK(e, t, r) { var n, i, s; for (i = 0, s = e.length; i < s; i++) switch (n = e[i], n[0]) { case rf.AT_RULE: mK(n, t, r); break; case rf.AT_RULE_BLOCK: pK(n[2], t, r); break; case rf.COMMENT: _Pe(n, r); break; case rf.NESTED_BLOCK: dK(n[2], t, r); break; case rf.RULE: pK(n[2], t, r); break; } return e; } a(dK, "rebaseEverything"); function gPe(e, t, r) { var n, i, s; for (i = 0, s = e.length; i < s; i++) switch (n = e[i], n[0]) { case rf.AT_RULE: mK(n, t, r); break; } return e; } a(gPe, "rebaseAtRules"); function mK(e, t, r) { if (pPe(e[1])) { var n = fPe(e[1]), i = Fx(n[0], r), s = n[1]; e[1] = hPe(i, s); } } a(mK, "rebaseAtRule"); function _Pe(e, t) { var r = dPe.exec(e[1]); r && r[1].indexOf("data:") === -1 && (e[1] = e[1].replace(r[1], Fx(r[1], t, !0))); } a(_Pe, "rebaseSourceMapComment"); function pK(e, t, r) { var n, i, s, o, u, l; for (s = 0, o = e.length; s < o; s++) for (n = e[s], u = 2, l = n.length; u < l; u++) i = n[u][1], t.isUrl(i) && (n[u][1] = Fx(i, r)); } a(pK, "rebaseProperties"); gK.exports = mPe; }); // ../node_modules/clean-css/lib/tokenizer/tokenize.js var bK = y((NJe, vK) => { var ye = zn(), rt = _r(), gv = Yh(), Re = { BLOCK: "block", COMMENT: "comment", DOUBLE_QUOTE: "double-quote", RULE: "rule", SINGLE_QUOTE: "single-quote" }, vPe = [ "@charset", "@import" ], bPe = [ "@-moz-document", "@document", "@-moz-keyframes", "@-ms-keyframes", "@-o-keyframes", "@-webkit-keyframes", "@keyframes", "@media", "@supports", "@container", "@layer" ], yPe = /\/\* clean-css ignore:end \*\/$/, SPe = /^\/\* clean-css ignore:start \*\//, EPe = [ "@bottom-center", "@bottom-left", "@bottom-left-corner", "@bottom-right", "@bottom-right-corner", "@left-bottom", "@left-middle", "@left-top", "@right-bottom", "@right-middle", "@right-top", "@top-center", "@top-left", "@top-left-corner", "@top-right", "@top-right-corner" ], APe = [ "@footnote", "@footnotes", "@left", "@page-float-bottom", "@page-float-top", "@right" ], TPe = /^\[\s{0,31}\d+\s{0,31}\]$/, DPe = /([^}])\}*$/, xPe = /[\s(]/; function CPe(e, t) { var r = { level: Re.BLOCK, position: { source: t.source || void 0, line: 1, column: 0, index: 0 } }; return Nx(e, t, r, !1); } a(CPe, "tokenize"); function Nx(e, t, r, n) { for (var i = [], s = i, o, u, l = [], c, f, d = [], g = r.level, b = [], _ = [], T = [], p = !0, h, S, D = 0, E, C, m, v, A, w, F = !1, x, I = !1, N, H, U = !1, M, ee = !1, oe = !1, he = !1, le = !1, ze = !1, te = r.position, ve; te.index < e.length; te.index++) { var z = e[te.index]; if (E = g == Re.SINGLE_QUOTE || g == Re.DOUBLE_QUOTE, C = z == ye.SPACE || z == ye.TAB, m = z == ye.NEW_LINE_NIX, v = z == ye.NEW_LINE_NIX && e[te.index - 1] == ye.CARRIAGE_RETURN, A = z == ye.CARRIAGE_RETURN && e[te.index + 1] && e[te.index + 1] != ye.NEW_LINE_NIX, w = !I && g != Re.COMMENT && !E && z == ye.ASTERISK && e[te.index - 1] == ye.FORWARD_SLASH, N = !F && !E && z == ye.FORWARD_SLASH && e[te.index - 1] == ye.ASTERISK, x = g == Re.COMMENT && N, M = !C && !A && (z >= "A" && z <= "Z" || z >= "a" && z <= "z" || z >= "0" && z <= "9" || z == "-"), oe = oe || g != Re.COMMENT && !le && ee && z === "-" && _.length === 1, ee = z === "-", D = Math.max(D, 0), f = p ? [te.line, te. column, te.source] : f, H) _.push(z), p = !1; else if (M) _.push(z), p = !1; else if ((C || m && !v) && (E || g == Re.COMMENT)) _.push(z), p = !1; else if (!((C || m && !v) && p)) { if (!x && g == Re.COMMENT) _.push(z), p = !1; else if (!w && !x && he) _.push(z), p = !1; else if (w && oe && (g == Re.BLOCK || g == Re.RULE) && _.length > 1) _.push(z), p = !1, b.push(g), g = Re.COMMENT; else if (w && (g == Re.BLOCK || g == Re.RULE) && _.length > 1) d.push(f), _.push(z), T.push(_.slice(0, -2)), p = !1, _ = _.slice(-2), f = [te.line, te.column - 1, te.source], b.push(g), g = Re. COMMENT; else if (w) b.push(g), g = Re.COMMENT, _.push(z), p = !1; else if (x && oe) _.push(z), g = b.pop(); else if (x && wPe(_)) h = _.join("").trim() + z, o = [ rt.COMMENT, h, [ar(f, h, t)] ], s.push(o), he = !0, f = d.pop() || null, _ = T.pop() || [], p = _.length === 0; else if (x && OPe(_)) h = _.join("") + z, ve = h.lastIndexOf(ye.FORWARD_SLASH + ye.ASTERISK), S = h.substring(0, ve), o = [ rt.RAW, S, [ar(f, S, t)] ], s.push(o), S = h.substring(ve), f = [te.line, te.column - S.length + 1, te.source], o = [ rt.COMMENT, S, [ar(f, S, t)] ], s.push(o), he = !1, g = b.pop(), f = d.pop() || null, _ = T.pop() || [], p = _.length === 0; else if (x) h = _.join("").trim() + z, o = [ rt.COMMENT, h, [ar(f, h, t)] ], s.push(o), g = b.pop(), f = d.pop() || null, _ = T.pop() || [], p = _.length === 0; else if (N && e[te.index + 1] != ye.ASTERISK) t.warnings.push("Unexpected '*/' at " + gv([te.line, te.column, te.source]) + "."), _ = [], p = !0; else if (z == ye.SINGLE_QUOTE && !E) b.push(g), g = Re.SINGLE_QUOTE, _.push(z), p = !1; else if (z == ye.SINGLE_QUOTE && g == Re.SINGLE_QUOTE) g = b.pop(), _.push(z), p = !1; else if (z == ye.DOUBLE_QUOTE && !E) b.push(g), g = Re.DOUBLE_QUOTE, _.push(z), p = !1; else if (z == ye.DOUBLE_QUOTE && g == Re.DOUBLE_QUOTE) g = b.pop(), _.push(z), p = !1; else if (z != ye.CLOSE_ROUND_BRACKET && z != ye.OPEN_ROUND_BRACKET && g != Re.COMMENT && !E && D > 0) _.push(z), p = !1; else if (z == ye.OPEN_ROUND_BRACKET && !E && g != Re.COMMENT && !le) _.push(z), p = !1, D++; else if (z == ye.CLOSE_ROUND_BRACKET && !E && g != Re.COMMENT && !le) _.push(z), p = !1, D--; else if (z == ye.SEMICOLON && g == Re.BLOCK && _[0] == ye.AT) h = _.join("").trim(), i.push([ rt.AT_RULE, h, [ar(f, h, t)] ]), _ = [], p = !0; else if (z == ye.COMMA && g == Re.BLOCK && u) h = _.join("").trim(), u[1].push([ Ix(u[0]), h, [ar(f, h, t, u[1].length)] ]), _ = [], p = !0; else if (z == ye.COMMA && g == Re.BLOCK && _v(_) == rt.AT_RULE) _.push(z), p = !1; else if (z == ye.COMMA && g == Re.BLOCK) u = [_v(_), [], []], h = _.join("").trim(), u[1].push([ Ix(u[0]), h, [ar(f, h, t, 0)] ]), _ = [], p = !0; else if (z == ye.OPEN_CURLY_BRACKET && g == Re.BLOCK && u && u[0] == rt.NESTED_BLOCK) h = _.join("").trim(), u[1].push([ rt.NESTED_BLOCK_SCOPE, h, [ar(f, h, t)] ]), i.push(u), b.push(g), te.column++, te.index++, _ = [], p = !0, u[2] = Nx(e, t, r, !0), u = null; else if (z == ye.OPEN_CURLY_BRACKET && g == Re.BLOCK && _v(_) == rt.NESTED_BLOCK) h = _.join("").trim(), u = u || [rt.NESTED_BLOCK, [], []], u[1].push([ rt.NESTED_BLOCK_SCOPE, h, [ar(f, h, t)] ]), i.push(u), b.push(g), te.column++, te.index++, _ = [], p = !0, oe = !1, u[2] = Nx(e, t, r, !0), u = null; else if (z == ye.OPEN_CURLY_BRACKET && g == Re.BLOCK) h = _.join("").trim(), u = u || [_v(_), [], []], u[1].push([ Ix(u[0]), h, [ar(f, h, t, u[1].length)] ]), s = u[2], i.push(u), b.push(g), g = Re.RULE, _ = [], p = !0; else if (z == ye.OPEN_CURLY_BRACKET && g == Re.RULE && le) l.push(u), u = [rt.PROPERTY_BLOCK, []], c.push(u), s = u[1], b.push(g), g = Re.RULE, le = !1; else if (z == ye.OPEN_CURLY_BRACKET && g == Re.RULE && RPe(_)) h = _.join("").trim(), l.push(u), u = [rt.AT_RULE_BLOCK, [], []], u[1].push([ rt.AT_RULE_BLOCK_SCOPE, h, [ar(f, h, t)] ]), s.push(u), s = u[2], b.push(g), g = Re.RULE, _ = [], p = !0; else if (z == ye.COLON && g == Re.RULE && !le) h = _.join("").trim(), c = [ rt.PROPERTY, [ rt.PROPERTY_NAME, h, [ar(f, h, t)] ] ], s.push(c), le = !0, _ = [], p = !0; else if (z == ye.SEMICOLON && g == Re.RULE && c && l.length > 0 && !p && _[0] == ye.AT) h = _.join("").trim(), u[1].push([ rt.AT_RULE, h, [ar(f, h, t)] ]), _ = [], p = !0; else if (z == ye.SEMICOLON && g == Re.RULE && c && !p) h = _.join("").trim(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), c = null, le = !1, _ = [], p = !0, oe = !1; else if (z == ye.SEMICOLON && g == Re.RULE && c && p && oe && !c[2]) c.push([rt.PROPERTY_VALUE, " ", [ar(f, " ", t)]]), oe = !1, c = null, le = !1; else if (z == ye.SEMICOLON && g == Re.RULE && c && p) c = null, le = !1; else if (z == ye.SEMICOLON && g == Re.RULE && !p && _[0] == ye.AT) h = _.join(""), s.push([ rt.AT_RULE, h, [ar(f, h, t)] ]), le = !1, _ = [], p = !0; else if (z == ye.SEMICOLON && g == Re.RULE && ze) ze = !1, _ = [], p = !0; else if (!(z == ye.SEMICOLON && g == Re.RULE && p)) if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && c && le && !p && l.length > 0) h = _.join(""), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), c = null, u = l.pop(), s = u[2], g = b.pop(), le = !1, _ = [], p = !0; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && c && !p && _[0] == ye.AT && l.length > 0) h = _.join(""), u[1].push([ rt.AT_RULE, h, [ar(f, h, t)] ]), c = null, u = l.pop(), s = u[2], g = b.pop(), le = !1, _ = [], p = !0; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && c && l.length > 0) c = null, u = l.pop(), s = u[2], g = b.pop(), le = !1; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && c && !p) h = _.join(""), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), c = null, u = l.pop(), s = i, g = b.pop(), le = !1, _ = [], p = !0; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && !p && _[0] == ye.AT) c = null, u = null, h = _.join("").trim(), s.push([ rt.AT_RULE, h, [ar(f, h, t)] ]), s = i, g = b.pop(), le = !1, _ = [], p = !0; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && b[b.length - 1] == Re.RULE) c = null, u = l.pop(), s = u[2], g = b.pop(), le = !1, ze = !0, _ = [], p = !0; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE && oe && c && !c[2]) c.push([rt.PROPERTY_VALUE, " ", [ar(f, " ", t)]]), oe = !1, c = null, u = null, s = i, g = b.pop(), le = !1, oe = !1; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.RULE) c = null, u = null, s = i, g = b.pop(), le = !1, oe = !1; else if (z == ye.CLOSE_CURLY_BRACKET && g == Re.BLOCK && !n && te.index <= e.length - 1) t.warnings.push("Unexpected '}' at " + gv([te.line, te.column, te.source]) + "."), _.push(z), p = !1; else { if (z == ye.CLOSE_CURLY_BRACKET && g == Re.BLOCK) break; z == ye.OPEN_ROUND_BRACKET && g == Re.RULE && le ? (_.push(z), p = !1, D++) : z == ye.CLOSE_ROUND_BRACKET && g == Re.RULE && le && D == 1 ? (_.push(z), p = !1, h = _.join("").trim(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), D--, _ = [], p = !0, oe = !1) : z == ye.CLOSE_ROUND_BRACKET && g == Re.RULE && le ? (_.push(z), p = !1, oe = !1, D--) : z == ye.FORWARD_SLASH && e[te.index + 1] != ye.ASTERISK && g == Re.RULE && le && !p ? (h = _.join("").trim(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), c.push([ rt.PROPERTY_VALUE, z, [[te.line, te.column, te.source]] ]), _ = [], p = !0) : z == ye.FORWARD_SLASH && e[te.index + 1] != ye.ASTERISK && g == Re.RULE && le ? (c.push([ rt.PROPERTY_VALUE, z, [[te.line, te.column, te.source]] ]), _ = [], p = !0) : z == ye.COMMA && g == Re.RULE && le && !p ? (h = _.join("").trim(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), c.push([ rt.PROPERTY_VALUE, z, [[te.line, te.column, te.source]] ]), _ = [], p = !0) : z == ye.COMMA && g == Re.RULE && le ? (c.push([ rt.PROPERTY_VALUE, z, [[te.line, te.column, te.source]] ]), _ = [], p = !0) : z == ye.CLOSE_SQUARE_BRACKET && c && c.length > 1 && !p && kPe(_) ? (_.push(z), h = _.join("").trim(), c[c. length - 1][1] += h, _ = [], p = !0) : (C || m && !v) && g == Re.RULE && le && c && !p ? (h = _.join("").trim(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), _ = [], p = !0) : v && g == Re.RULE && le && c && _.length > 1 ? (h = _.join("").trim(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), _ = [], p = !0) : v && g == Re.RULE && le ? (_ = [], p = !0) : v && _.length == 1 ? (_.pop(), p = _.length === 0) : (!p || !C && !m && !v && !A) && (_.push(z), p = !1); } } U = H, H = !U && z == ye.BACK_SLASH, F = w, I = x, te.line = v || m || A ? te.line + 1 : te.line, te.column = v || m || A ? 0 : te.column + 1; } return le && t.warnings.push("Missing '}' at " + gv([te.line, te.column, te.source]) + "."), le && _.length > 0 && (h = _.join("").trimRight(). replace(DPe, "$1").trimRight(), c.push([ rt.PROPERTY_VALUE, h, [ar(f, h, t)] ]), _ = []), _.length > 0 && t.warnings.push("Invalid character(s) '" + _.join("") + "' at " + gv(f) + ". Ignoring."), i; } a(Nx, "intoTokens"); function wPe(e) { return SPe.test(e.join("") + ye.FORWARD_SLASH); } a(wPe, "isIgnoreStartComment"); function OPe(e) { return yPe.test(e.join("") + ye.FORWARD_SLASH); } a(OPe, "isIgnoreEndComment"); function ar(e, t, r, n) { var i = e[2]; return r.inputSourceMapTracker.isTracking(i) ? r.inputSourceMapTracker.originalPositionFor(e, t.length, n) : e; } a(ar, "originalMetadata"); function _v(e) { var t = e[0] == ye.AT || e[0] == ye.UNDERSCORE, r = e.join("").split(xPe)[0]; return t && bPe.indexOf(r) > -1 ? rt.NESTED_BLOCK : t && vPe.indexOf(r) > -1 ? rt.AT_RULE : t ? rt.AT_RULE_BLOCK : rt.RULE; } a(_v, "tokenTypeFrom"); function Ix(e) { if (e == rt.RULE) return rt.RULE_SCOPE; if (e == rt.NESTED_BLOCK) return rt.NESTED_BLOCK_SCOPE; if (e == rt.AT_RULE_BLOCK) return rt.AT_RULE_BLOCK_SCOPE; } a(Ix, "tokenScopeFrom"); function RPe(e) { var t = e.join("").trim(); return EPe.indexOf(t) > -1 || APe.indexOf(t) > -1; } a(RPe, "isPageMarginBox"); function kPe(e) { return TPe.test(e.join("") + ye.CLOSE_SQUARE_BRACKET); } a(kPe, "isRepeatToken"); vK.exports = CPe; }); // ../node_modules/clean-css/lib/reader/read-sources.js var wK = y((BJe, CK) => { var Lx = require("fs"), zi = require("path"), PPe = eK(), FPe = xx(), SK = pv(), IPe = iK(), EK = sK(), NPe = _K(), LPe = Ax(), BPe = Tx(), MPe = Ox(), qPe = bK(), Ap = _r(), UPe = zn(), VPe = yp(), HPe = Px(), vv = tf(), jPe = "uri:unknown", GPe = "file://"; function zPe(e, t, r) { return KPe(e, t, function(n) { return PPe(n, t, function() { return IPe(t, function() { return r(n); }); }); }); } a(zPe, "readSources"); function KPe(e, t, r) { if (typeof e == "string") return yK(e, t, r); if (Buffer.isBuffer(e)) return yK(e.toString(), t, r); if (Array.isArray(e)) return WPe(e, t, r); if (typeof e == "object") return $Pe(e, t, r); } a(KPe, "doReadSources"); function yK(e, t, r) { return t.source = void 0, t.sourcesContent[void 0] = e, t.stats.originalSize += e.length, Tp(e, t, { inline: t.options.inline }, r); } a(yK, "fromString"); function WPe(e, t, r) { var n = e.reduce(function(i, s) { return typeof s == "string" ? XPe(s, i) : AK(s, t, i); }, []); return Tp(n.join(""), t, { inline: ["all"] }, r); } a(WPe, "fromArray"); function $Pe(e, t, r) { var n = AK(e, t, []); return Tp(n.join(""), t, { inline: ["all"] }, r); } a($Pe, "fromHash"); function XPe(e, t) { return t.push(DK(TK(e))), t; } a(XPe, "addStringSource"); function AK(e, t, r) { var n, i, s; for (n in e) s = e[n], i = TK(n), r.push(DK(i)), t.sourcesContent[i] = s.styles, s.sourceMap && YPe(s.sourceMap, i, t); return r; } a(AK, "addHashSource"); function TK(e) { var t = zi.resolve(""), r, n, i; return vv(e) ? e : (r = zi.isAbsolute(e) ? e : zi.resolve(e), n = zi.relative(t, r), i = EK(n), i); } a(TK, "normalizeUri"); function YPe(e, t, r) { var n = typeof e == "string" ? JSON.parse(e) : e, i = vv(t) ? BPe(n, t) : LPe(n, t || jPe, r.options.rebaseTo); r.inputSourceMapTracker.track(t, i); } a(YPe, "trackSourceMap"); function DK(e) { return MPe("url(" + e + ")", "") + UPe.SEMICOLON; } a(DK, "restoreAsImport"); function Tp(e, t, r, n) { var i, s = {}; return t.source ? vv(t.source) ? (s.fromBase = t.source, s.toBase = t.source) : zi.isAbsolute(t.source) ? (s.fromBase = zi.dirname(t.source), s.toBase = t.options.rebaseTo) : (s.fromBase = zi.dirname(zi.resolve(t.source)), s.toBase = t.options.rebaseTo) : (s.fromBase = zi.resolve( ""), s.toBase = t.options.rebaseTo), i = qPe(e, t), i = NPe(i, t.options.rebase, t.validator, s), QPe(r.inline) ? ZPe(i, t, r, n) : n(i); } a(Tp, "fromStyles"); function QPe(e) { return !(e.length == 1 && e[0] == "none"); } a(QPe, "allowsAnyImports"); function ZPe(e, t, r, n) { var i = { afterContent: !1, callback: n, errors: t.errors, externalContext: t, fetch: t.options.fetch, inlinedStylesheets: r.inlinedStylesheets || t.inlinedStylesheets, inline: r.inline, inlineRequest: t.options.inlineRequest, inlineTimeout: t.options.inlineTimeout, isRemote: r.isRemote || !1, localOnly: t.localOnly, outputTokens: [], rebaseTo: t.options.rebaseTo, sourceTokens: e, warnings: t.warnings }; return es(i); } a(ZPe, "inline"); function es(e) { var t, r, n; for (r = 0, n = e.sourceTokens.length; r < n; r++) { if (t = e.sourceTokens[r], t[0] == Ap.AT_RULE && HPe(t[1])) return e.sourceTokens.splice(0, r), JPe(t, e); t[0] == Ap.AT_RULE || t[0] == Ap.COMMENT ? e.outputTokens.push(t) : (e.outputTokens.push(t), e.afterContent = !0); } return e.sourceTokens = [], e.callback(e.outputTokens); } a(es, "doInlineImports"); function JPe(e, t) { var r = FPe(e[1]), n = r[0], i = r[1], s = e[2]; return vv(n) ? eFe(n, i, s, t) : tFe(n, i, s, t); } a(JPe, "inlineStylesheet"); function eFe(e, t, r, n) { var i = SK(e, !0, n.inline), s = e, o = e in n.externalContext.sourcesContent, u = !VPe(e); if (n.inlinedStylesheets.indexOf(e) > -1) return n.warnings.push('Ignoring remote @import of "' + e + '" as it has already been imported.'), n.sourceTokens = n.sourceTokens.slice( 1), es(n); if (n.localOnly && n.afterContent) return n.warnings.push('Ignoring remote @import of "' + e + '" as no callback given and after other content.'), n.sourceTokens = n.sourceTokens. slice(1), es(n); if (u) return n.warnings.push('Skipping remote @import of "' + e + '" as no protocol given.'), n.outputTokens = n.outputTokens.concat(n.sourceTokens. slice(0, 1)), n.sourceTokens = n.sourceTokens.slice(1), es(n); if (n.localOnly && !o) return n.warnings.push('Skipping remote @import of "' + e + '" as no callback given.'), n.outputTokens = n.outputTokens.concat(n.sourceTokens. slice(0, 1)), n.sourceTokens = n.sourceTokens.slice(1), es(n); if (!i && n.afterContent) return n.warnings.push('Ignoring remote @import of "' + e + '" as resource is not allowed and after other content.'), n.sourceTokens = n.sourceTokens.slice(1), es(n); if (!i) return n.warnings.push('Skipping remote @import of "' + e + '" as resource is not allowed.'), n.outputTokens = n.outputTokens.concat(n. sourceTokens.slice(0, 1)), n.sourceTokens = n.sourceTokens.slice(1), es(n); n.inlinedStylesheets.push(e); function l(c, f) { return c ? (n.errors.push('Broken @import declaration of "' + e + '" - ' + c), process.nextTick(function() { n.outputTokens = n.outputTokens.concat(n.sourceTokens.slice(0, 1)), n.sourceTokens = n.sourceTokens.slice(1), es(n); })) : (n.inline = n.externalContext.options.inline, n.isRemote = !0, n.externalContext.source = s, n.externalContext.sourcesContent[e] = f, n.externalContext.stats.originalSize += f.length, Tp(f, n.externalContext, n, function(d) { return d = xK(d, t, r), n.outputTokens = n.outputTokens.concat(d), n.sourceTokens = n.sourceTokens.slice(1), es(n); })); } return a(l, "whenLoaded"), o ? l(null, n.externalContext.sourcesContent[e]) : n.fetch(e, n.inlineRequest, n.inlineTimeout, l); } a(eFe, "inlineRemoteStylesheet"); function tFe(e, t, r, n) { var i = e.replace(GPe, ""), s = zi.resolve(""), o = zi.isAbsolute(i) ? zi.resolve(s, i[0] == "/" ? i.substring(1) : i) : zi.resolve(n.rebaseTo, i), u = zi.relative(s, o), l, c = SK(i, !1, n.inline), f = EK(u), d = f in n.externalContext.sourcesContent; if (n.inlinedStylesheets.indexOf(o) > -1) n.warnings.push('Ignoring local @import of "' + i + '" as it has already been imported.'); else if (c && !d && (!Lx.existsSync(o) || !Lx.statSync(o).isFile())) n.errors.push('Ignoring local @import of "' + i + '" as resource is missing.'); else if (!c && n.afterContent) n.warnings.push('Ignoring local @import of "' + i + '" as resource is not allowed and after other content.'); else if (n.afterContent) n.warnings.push('Ignoring local @import of "' + i + '" as after other content.'); else if (!c) n.warnings.push('Skipping local @import of "' + i + '" as resource is not allowed.'), n.outputTokens = n.outputTokens.concat(n.sourceTokens. slice(0, 1)); else return l = d ? n.externalContext.sourcesContent[f] : Lx.readFileSync(o, "utf-8"), l.charCodeAt(0) === 65279 && (l = l.substring(1)), n. inlinedStylesheets.push(o), n.inline = n.externalContext.options.inline, n.externalContext.source = f, n.externalContext.sourcesContent[f] = l, n.externalContext.stats.originalSize += l.length, Tp(l, n.externalContext, n, function(g) { return g = xK(g, t, r), n.outputTokens = n.outputTokens.concat(g), n.sourceTokens = n.sourceTokens.slice(1), es(n); }); return n.sourceTokens = n.sourceTokens.slice(1), es(n); } a(tFe, "inlineLocalStylesheet"); function xK(e, t, r) { return t ? [[Ap.NESTED_BLOCK, [[Ap.NESTED_BLOCK_SCOPE, "@media " + t, r]], e]] : e; } a(xK, "wrapInMedia"); CK.exports = zPe; }); // ../node_modules/clean-css/lib/writer/simple.js var kK = y((qJe, RK) => { var rFe = z_().all; function nFe(e, t) { var r = typeof t == "string" ? t : t[1], n = e.wrap; n(e, r), OK(e, r), e.output.push(r); } a(nFe, "store"); function iFe(e, t) { e.column + t.length > e.format.wrapAt && (OK(e, e.format.breakWith), e.output.push(e.format.breakWith)); } a(iFe, "wrap"); function OK(e, t) { var r = t.split(` `); e.line += r.length - 1, e.column = r.length > 1 ? 0 : e.column + r.pop().length; } a(OK, "track"); function aFe(e, t) { var r = { column: 0, format: t.options.format, indentBy: 0, indentWith: "", line: 1, output: [], spaceAfterClosingBrace: t.options.compatibility.properties.spaceAfterClosingBrace, store: nFe, wrap: t.options.format.wrapAt ? iFe : function() { } }; return rFe(r, e), { styles: r.output.join("") }; } a(aFe, "serializeStyles"); RK.exports = aFe; }); // ../node_modules/clean-css/lib/writer/source-maps.js var IK = y((VJe, FK) => { var sFe = yx().SourceMapGenerator, oFe = z_().all, uFe = tf(), lFe = process.platform == "win32", cFe = /\//g, fFe = "$stdin", hFe = "\\"; function pFe(e, t) { var r = typeof t == "string", n = r ? t : t[1], i = r ? null : t[2], s = e.wrap; s(e, n), PK(e, n, i), e.output.push(n); } a(pFe, "store"); function dFe(e, t) { e.column + t.length > e.format.wrapAt && (PK(e, e.format.breakWith, !1), e.output.push(e.format.breakWith)); } a(dFe, "wrap"); function PK(e, t, r) { var n = t.split(` `); r && mFe(e, r), e.line += n.length - 1, e.column = n.length > 1 ? 0 : e.column + n.pop().length; } a(PK, "track"); function mFe(e, t) { for (var r = 0, n = t.length; r < n; r++) gFe(e, t[r]); } a(mFe, "trackAllMappings"); function gFe(e, t) { var r = t[0], n = t[1], i = t[2], s = i, o = s || fFe; lFe && s && !uFe(s) && (o = s.replace(cFe, hFe)), e.outputMap.addMapping({ generated: { line: e.line, column: e.column }, source: o, original: { line: r, column: n } }), e.inlineSources && i in e.sourcesContent && e.outputMap.setSourceContent( o, e.sourcesContent[i] ); } a(gFe, "trackMapping"); function _Fe(e, t) { var r = { column: 0, format: t.options.format, indentBy: 0, indentWith: "", inlineSources: t.options.sourceMapInlineSources, line: 1, output: [], outputMap: new sFe(), sourcesContent: t.sourcesContent, spaceAfterClosingBrace: t.options.compatibility.properties.spaceAfterClosingBrace, store: pFe, wrap: t.options.format.wrapAt ? dFe : function() { } }; return oFe(r, e), { sourceMap: r.outputMap, styles: r.output.join("") }; } a(_Fe, "serializeStylesAndSourceMap"); FK.exports = _Fe; }); // ../node_modules/clean-css/lib/clean.js var qK = y((jJe, MK) => { var vFe = v4(), bFe = Fj(), yFe = Oz(), SFe = Uz(), EFe = Hz(), AFe = Zz(), TFe = Xh().formatFrom, DFe = e7(), xFe = n7(), CFe = a7(), NK = Zr(). OptimizationLevel, wFe = Zr().optimizationLevelFrom, OFe = o7(), RFe = l7(), kFe = f7(), PFe = B7(), FFe = wK(), IFe = kK(), NFe = IK(), Bx = MK. exports = /* @__PURE__ */ a(function(t) { t = t || {}, this.options = { batch: !!t.batch, compatibility: EFe(t.compatibility), explicitRebaseTo: "rebaseTo" in t, fetch: AFe(t.fetch), format: TFe(t.format), inline: DFe(t.inline), inlineRequest: xFe(t.inlineRequest), inlineTimeout: CFe(t.inlineTimeout), level: wFe(t.level), plugins: OFe(t.plugins), rebase: RFe(t.rebase, t.rebaseTo), rebaseTo: kFe(t.rebaseTo), returnPromise: !!t.returnPromise, sourceMap: !!t.sourceMap, sourceMapInlineSources: !!t.sourceMapInlineSources }; }, "CleanCSS"); Bx.process = function(e, t) { var r, n = t.to; return delete t.to, r = new Bx(Object.assign({ returnPromise: !0, rebaseTo: n }, t)), r.minify(e).then(function(i) { return { css: i.styles }; }); }; Bx.prototype.minify = function(e, t, r) { var n = this.options; return n.returnPromise ? new Promise(function(i, s) { LK(e, n, t, function(o, u) { return o ? s(o) : i(u); }); }) : LK(e, n, t, r); }; function LK(e, t, r, n) { return t.batch && Array.isArray(e) ? LFe(e, t, r, n) : t.batch && typeof e == "object" ? BK(e, t, r, n) : Mx(e, t, r, n); } a(LK, "minifyAll"); function LFe(e, t, r, n) { var i = typeof n == "function" ? n : typeof r == "function" ? r : null, s = [], o = {}, u, l, c; function f(d, g) { o = Object.assign(o, g), d !== null && (s = s.concat(d)); } for (a(f, "whenHashBatchDone"), l = 0, c = e.length; l < c; l++) typeof e[l] == "object" ? BK(e[l], t, f) : (u = e[l], o[u] = Mx([u], t), s = s.concat(o[u].errors)); return i ? i(s.length > 0 ? s : null, o) : o; } a(LFe, "minifyInBatchesFromArray"); function BK(e, t, r, n) { var i = typeof n == "function" ? n : typeof r == "function" ? r : null, s = [], o = {}, u, l; for (u in e) l = e[u], o[u] = Mx(l.styles, t, l.sourceMap), s = s.concat(o[u].errors); return i ? i(s.length > 0 ? s : null, o) : o; } a(BK, "minifyInBatchesFromHash"); function Mx(e, t, r, n) { var i = typeof r != "function" ? r : null, s = typeof n == "function" ? n : typeof r == "function" ? r : null, o = { stats: { efficiency: 0, minifiedSize: 0, originalSize: 0, startedAt: Date.now(), timeSpent: 0 }, cache: { specificity: {} }, errors: [], inlinedStylesheets: [], inputSourceMapTracker: PFe(), localOnly: !s, options: t, source: null, sourcesContent: {}, validator: SFe(t.compatibility), warnings: [] }, u; return i && o.inputSourceMapTracker.track(void 0, i), t.rebase && !t.explicitRebaseTo && (u = "You have set `rebase: true` without givin\ g `rebaseTo` option, which, in this case, defaults to the current working directory. You are then warned this can lead to unexpected URL reb\ asing (aka here be dragons)! If you are OK with the clean-css output, then you can get rid of this warning by giving clean-css a `rebaseTo: \ process.cwd()` option.", o.warnings.push(u)), BFe(o.localOnly)(function() { return FFe(e, o, function(l) { var c = o.options.sourceMap ? NFe : IFe, f = MFe(l, o), d = c(f, o), g = qFe(d, o); return s ? s(o.errors.length > 0 ? o.errors : null, g) : g; }); }); } a(Mx, "minify"); function BFe(e) { return e ? function(t) { return t(); } : process.nextTick; } a(BFe, "runner"); function MFe(e, t) { var r = vFe(e, t); return r = NK.One in t.options.level ? bFe(e, t) : e, r = NK.Two in t.options.level ? yFe(e, t, !0) : r, r; } a(MFe, "optimize"); function qFe(e, t) { return e.stats = UFe(e.styles, t), e.errors = t.errors, e.inlinedStylesheets = t.inlinedStylesheets, e.warnings = t.warnings, e; } a(qFe, "withMetadata"); function UFe(e, t) { var r = Date.now(), n = r - t.stats.startedAt; return delete t.stats.startedAt, t.stats.timeSpent = n, t.stats.efficiency = 1 - e.length / t.stats.originalSize, t.stats.minifiedSize = e.length, t.stats; } a(UFe, "calculateStatsFrom"); }); // ../node_modules/clean-css/index.js var VK = y((zJe, UK) => { UK.exports = qK(); }); // ../node_modules/he/he.js var HK = y((bv, Dp) => { (function(e) { var t = typeof bv == "object" && bv, r = typeof Dp == "object" && Dp && Dp.exports == t && Dp, n = typeof global == "object" && global; (n.global === n || n.window === n) && (e = n); var i = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, s = /[\x01-\x7F]/g, o = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g, u = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g, l = { "\xAD": "shy", "\u200C": "zwnj", "\u200D": "zwj", "\u200E": "lrm", "\u2063": "ic", "\u2062": "it", "\u2061": "af", "\u200F": "rlm", "\u200B": "ZeroWidthSpace", "\u2060": "NoBreak", "\u0311": "DownBreve", "\u20DB": "tdot", "\u20DC": "DotDot", " ": "Tab", "\n": "NewLine", "\u2008": "puncsp", "\u205F": "MediumSpace", "\u2009": "thinsp", "\u200A": "hairsp", "\u2004": "emsp13", "\u2002": "ensp", "\u2005": "em\ sp14", "\u2003": "emsp", "\u2007": "numsp", "\xA0": "nbsp", "\u205F\u200A": "ThickSpace", "\u203E": "oline", _: "lowbar", "\u2010": "dash", "\ \u2013": "ndash", "\u2014": "mdash", "\u2015": "horbar", ",": "comma", ";": "semi", "\u204F": "bsemi", ":": "colon", "\u2A74": "Colone", "!": "\ excl", "\xA1": "iexcl", "?": "quest", "\xBF": "iquest", ".": "period", "\u2025": "nldr", "\u2026": "mldr", "\xB7": "middot", "'": "apos", "\u2018": "\ lsquo", "\u2019": "rsquo", "\u201A": "sbquo", "\u2039": "lsaquo", "\u203A": "rsaquo", '"': "quot", "\u201C": "ldquo", "\u201D": "rdquo", "\u201E": "\ bdquo", "\xAB": "laquo", "\xBB": "raquo", "(": "lpar", ")": "rpar", "[": "lsqb", "]": "rsqb", "{": "lcub", "}": "rcub", "\u2308": "lceil", "\ \u2309": "rceil", "\u230A": "lfloor", "\u230B": "rfloor", "\u2985": "lopar", "\u2986": "ropar", "\u298B": "lbrke", "\u298C": "rbrke", "\u298D": "\ lbrkslu", "\u298E": "rbrksld", "\u298F": "lbrksld", "\u2990": "rbrkslu", "\u2991": "langd", "\u2992": "rangd", "\u2993": "lparlt", "\u2994": "\ rpargt", "\u2995": "gtlPar", "\u2996": "ltrPar", "\u27E6": "lobrk", "\u27E7": "robrk", "\u27E8": "lang", "\u27E9": "rang", "\u27EA": "Lang", "\u27EB": "Rang", "\u27EC": "loang", "\u27ED": "roang", "\u2772": "lbbrk", "\u2773": "rbbrk", "\u2016": "Vert", "\xA7": "sect", "\xB6": "\ para", "@": "commat", "*": "ast", "/": "sol", undefined: null, "&": "amp", "#": "num", "%": "percnt", "\u2030": "permil", "\u2031": "pertenk", "\u2020": "dagger", "\u2021": "Dagger", "\u2022": "bull", "\u2043": "hybull", "\u2032": "prime", "\u2033": "Prime", "\u2034": "tprime", "\ \u2057": "qprime", "\u2035": "bprime", "\u2041": "caret", "`": "grave", "\xB4": "acute", "\u02DC": "tilde", "^": "Hat", "\xAF": "macr", "\u02D8": "\ breve", "\u02D9": "dot", "\xA8": "die", "\u02DA": "ring", "\u02DD": "dblac", "\xB8": "cedil", "\u02DB": "ogon", "\u02C6": "circ", "\u02C7": "\ caron", "\xB0": "deg", "\xA9": "copy", "\xAE": "reg", "\u2117": "copysr", "\u2118": "wp", "\u211E": "rx", "\u2127": "mho", "\u2129": "iiota", "\u2190": "larr", "\u219A": "nlarr", "\u2192": "rarr", "\u219B": "nrarr", "\u2191": "uarr", "\u2193": "darr", "\u2194": "harr", "\u21AE": "\ nharr", "\u2195": "varr", "\u2196": "nwarr", "\u2197": "nearr", "\u2198": "searr", "\u2199": "swarr", "\u219D": "rarrw", "\u219D\u0338": "nr\ arrw", "\u219E": "Larr", "\u219F": "Uarr", "\u21A0": "Rarr", "\u21A1": "Darr", "\u21A2": "larrtl", "\u21A3": "rarrtl", "\u21A4": "mapstoleft", "\u21A5": "mapstoup", "\u21A6": "map", "\u21A7": "mapstodown", "\u21A9": "larrhk", "\u21AA": "rarrhk", "\u21AB": "larrlp", "\u21AC": "ra\ rrlp", "\u21AD": "harrw", "\u21B0": "lsh", "\u21B1": "rsh", "\u21B2": "ldsh", "\u21B3": "rdsh", "\u21B5": "crarr", "\u21B6": "cularr", "\u21B7": "\ curarr", "\u21BA": "olarr", "\u21BB": "orarr", "\u21BC": "lharu", "\u21BD": "lhard", "\u21BE": "uharr", "\u21BF": "uharl", "\u21C0": "rharu", "\u21C1": "rhard", "\u21C2": "dharr", "\u21C3": "dharl", "\u21C4": "rlarr", "\u21C5": "udarr", "\u21C6": "lrarr", "\u21C7": "llarr", "\u21C8": "\ uuarr", "\u21C9": "rrarr", "\u21CA": "ddarr", "\u21CB": "lrhar", "\u21CC": "rlhar", "\u21D0": "lArr", "\u21CD": "nlArr", "\u21D1": "uArr", "\ \u21D2": "rArr", "\u21CF": "nrArr", "\u21D3": "dArr", "\u21D4": "iff", "\u21CE": "nhArr", "\u21D5": "vArr", "\u21D6": "nwArr", "\u21D7": "ne\ Arr", "\u21D8": "seArr", "\u21D9": "swArr", "\u21DA": "lAarr", "\u21DB": "rAarr", "\u21DD": "zigrarr", "\u21E4": "larrb", "\u21E5": "rarrb", "\u21F5": "duarr", "\u21FD": "loarr", "\u21FE": "roarr", "\u21FF": "hoarr", "\u2200": "forall", "\u2201": "comp", "\u2202": "part", "\u2202\u0338": "\ npart", "\u2203": "exist", "\u2204": "nexist", "\u2205": "empty", "\u2207": "Del", "\u2208": "in", "\u2209": "notin", "\u220B": "ni", "\u220C": "\ notni", "\u03F6": "bepsi", "\u220F": "prod", "\u2210": "coprod", "\u2211": "sum", "+": "plus", "\xB1": "pm", "\xF7": "div", "\xD7": "times", "<": "lt", "\u226E": "nlt", "<\u20D2": "nvlt", "=": "equals", "\u2260": "ne", "=\u20E5": "bne", "\u2A75": "Equal", ">": "gt", "\u226F": "\ ngt", ">\u20D2": "nvgt", "\xAC": "not", "|": "vert", "\xA6": "brvbar", "\u2212": "minus", "\u2213": "mp", "\u2214": "plusdo", "\u2044": "fra\ sl", "\u2216": "setmn", "\u2217": "lowast", "\u2218": "compfn", "\u221A": "Sqrt", "\u221D": "prop", "\u221E": "infin", "\u221F": "angrt", "\u2220": "\ ang", "\u2220\u20D2": "nang", "\u2221": "angmsd", "\u2222": "angsph", "\u2223": "mid", "\u2224": "nmid", "\u2225": "par", "\u2226": "npar", "\ \u2227": "and", "\u2228": "or", "\u2229": "cap", "\u2229\uFE00": "caps", "\u222A": "cup", "\u222A\uFE00": "cups", "\u222B": "int", "\u222C": "\ Int", "\u222D": "tint", "\u2A0C": "qint", "\u222E": "oint", "\u222F": "Conint", "\u2230": "Cconint", "\u2231": "cwint", "\u2232": "cwconint", "\u2233": "awconint", "\u2234": "there4", "\u2235": "becaus", "\u2236": "ratio", "\u2237": "Colon", "\u2238": "minusd", "\u223A": "mDDot", "\u223B": "homtht", "\u223C": "sim", "\u2241": "nsim", "\u223C\u20D2": "nvsim", "\u223D": "bsim", "\u223D\u0331": "race", "\u223E": "ac", "\u223E\u0333": "acE", "\u223F": "acd", "\u2240": "wr", "\u2242": "esim", "\u2242\u0338": "nesim", "\u2243": "sime", "\u2244": "nsime", "\ \u2245": "cong", "\u2247": "ncong", "\u2246": "simne", "\u2248": "ap", "\u2249": "nap", "\u224A": "ape", "\u224B": "apid", "\u224B\u0338": "\ napid", "\u224C": "bcong", "\u224D": "CupCap", "\u226D": "NotCupCap", "\u224D\u20D2": "nvap", "\u224E": "bump", "\u224E\u0338": "nbump", "\u224F": "\ bumpe", "\u224F\u0338": "nbumpe", "\u2250": "doteq", "\u2250\u0338": "nedot", "\u2251": "eDot", "\u2252": "efDot", "\u2253": "erDot", "\u2254": "\ colone", "\u2255": "ecolon", "\u2256": "ecir", "\u2257": "cire", "\u2259": "wedgeq", "\u225A": "veeeq", "\u225C": "trie", "\u225F": "equest", "\u2261": "equiv", "\u2262": "nequiv", "\u2261\u20E5": "bnequiv", "\u2264": "le", "\u2270": "nle", "\u2264\u20D2": "nvle", "\u2265": "ge", "\u2271": "nge", "\u2265\u20D2": "nvge", "\u2266": "lE", "\u2266\u0338": "nlE", "\u2267": "gE", "\u2267\u0338": "ngE", "\u2268\uFE00": "\ lvnE", "\u2268": "lnE", "\u2269": "gnE", "\u2269\uFE00": "gvnE", "\u226A": "ll", "\u226A\u0338": "nLtv", "\u226A\u20D2": "nLt", "\u226B": "g\ g", "\u226B\u0338": "nGtv", "\u226B\u20D2": "nGt", "\u226C": "twixt", "\u2272": "lsim", "\u2274": "nlsim", "\u2273": "gsim", "\u2275": "ngsi\ m", "\u2276": "lg", "\u2278": "ntlg", "\u2277": "gl", "\u2279": "ntgl", "\u227A": "pr", "\u2280": "npr", "\u227B": "sc", "\u2281": "nsc", "\u227C": "\ prcue", "\u22E0": "nprcue", "\u227D": "sccue", "\u22E1": "nsccue", "\u227E": "prsim", "\u227F": "scsim", "\u227F\u0338": "NotSucceedsTilde", "\u2282": "sub", "\u2284": "nsub", "\u2282\u20D2": "vnsub", "\u2283": "sup", "\u2285": "nsup", "\u2283\u20D2": "vnsup", "\u2286": "sube", "\u2288": "nsube", "\u2287": "supe", "\u2289": "nsupe", "\u228A\uFE00": "vsubne", "\u228A": "subne", "\u228B\uFE00": "vsupne", "\u228B": "\ supne", "\u228D": "cupdot", "\u228E": "uplus", "\u228F": "sqsub", "\u228F\u0338": "NotSquareSubset", "\u2290": "sqsup", "\u2290\u0338": "Not\ SquareSuperset", "\u2291": "sqsube", "\u22E2": "nsqsube", "\u2292": "sqsupe", "\u22E3": "nsqsupe", "\u2293": "sqcap", "\u2293\uFE00": "sqcap\ s", "\u2294": "sqcup", "\u2294\uFE00": "sqcups", "\u2295": "oplus", "\u2296": "ominus", "\u2297": "otimes", "\u2298": "osol", "\u2299": "odo\ t", "\u229A": "ocir", "\u229B": "oast", "\u229D": "odash", "\u229E": "plusb", "\u229F": "minusb", "\u22A0": "timesb", "\u22A1": "sdotb", "\u22A2": "\ vdash", "\u22AC": "nvdash", "\u22A3": "dashv", "\u22A4": "top", "\u22A5": "bot", "\u22A7": "models", "\u22A8": "vDash", "\u22AD": "nvDash", "\ \u22A9": "Vdash", "\u22AE": "nVdash", "\u22AA": "Vvdash", "\u22AB": "VDash", "\u22AF": "nVDash", "\u22B0": "prurel", "\u22B2": "vltri", "\u22EA": "\ nltri", "\u22B3": "vrtri", "\u22EB": "nrtri", "\u22B4": "ltrie", "\u22EC": "nltrie", "\u22B4\u20D2": "nvltrie", "\u22B5": "rtrie", "\u22ED": "\ nrtrie", "\u22B5\u20D2": "nvrtrie", "\u22B6": "origof", "\u22B7": "imof", "\u22B8": "mumap", "\u22B9": "hercon", "\u22BA": "intcal", "\u22BB": "\ veebar", "\u22BD": "barvee", "\u22BE": "angrtvb", "\u22BF": "lrtri", "\u22C0": "Wedge", "\u22C1": "Vee", "\u22C2": "xcap", "\u22C3": "xcup", "\u22C4": "diam", "\u22C5": "sdot", "\u22C6": "Star", "\u22C7": "divonx", "\u22C8": "bowtie", "\u22C9": "ltimes", "\u22CA": "rtimes", "\u22CB": "\ lthree", "\u22CC": "rthree", "\u22CD": "bsime", "\u22CE": "cuvee", "\u22CF": "cuwed", "\u22D0": "Sub", "\u22D1": "Sup", "\u22D2": "Cap", "\u22D3": "\ Cup", "\u22D4": "fork", "\u22D5": "epar", "\u22D6": "ltdot", "\u22D7": "gtdot", "\u22D8": "Ll", "\u22D8\u0338": "nLl", "\u22D9": "Gg", "\u22D9\u0338": "\ nGg", "\u22DA\uFE00": "lesg", "\u22DA": "leg", "\u22DB": "gel", "\u22DB\uFE00": "gesl", "\u22DE": "cuepr", "\u22DF": "cuesc", "\u22E6": "lns\ im", "\u22E7": "gnsim", "\u22E8": "prnsim", "\u22E9": "scnsim", "\u22EE": "vellip", "\u22EF": "ctdot", "\u22F0": "utdot", "\u22F1": "dtdot", "\u22F2": "disin", "\u22F3": "isinsv", "\u22F4": "isins", "\u22F5": "isindot", "\u22F5\u0338": "notindot", "\u22F6": "notinvc", "\u22F7": "\ notinvb", "\u22F9": "isinE", "\u22F9\u0338": "notinE", "\u22FA": "nisd", "\u22FB": "xnis", "\u22FC": "nis", "\u22FD": "notnivc", "\u22FE": "\ notnivb", "\u2305": "barwed", "\u2306": "Barwed", "\u230C": "drcrop", "\u230D": "dlcrop", "\u230E": "urcrop", "\u230F": "ulcrop", "\u2310": "\ bnot", "\u2312": "profline", "\u2313": "profsurf", "\u2315": "telrec", "\u2316": "target", "\u231C": "ulcorn", "\u231D": "urcorn", "\u231E": "\ dlcorn", "\u231F": "drcorn", "\u2322": "frown", "\u2323": "smile", "\u232D": "cylcty", "\u232E": "profalar", "\u2336": "topbot", "\u233D": "\ ovbar", "\u233F": "solbar", "\u237C": "angzarr", "\u23B0": "lmoust", "\u23B1": "rmoust", "\u23B4": "tbrk", "\u23B5": "bbrk", "\u23B6": "bbrk\ tbrk", "\u23DC": "OverParenthesis", "\u23DD": "UnderParenthesis", "\u23DE": "OverBrace", "\u23DF": "UnderBrace", "\u23E2": "trpezium", "\u23E7": "\ elinters", "\u2423": "blank", "\u2500": "boxh", "\u2502": "boxv", "\u250C": "boxdr", "\u2510": "boxdl", "\u2514": "boxur", "\u2518": "boxul", "\u251C": "boxvr", "\u2524": "boxvl", "\u252C": "boxhd", "\u2534": "boxhu", "\u253C": "boxvh", "\u2550": "boxH", "\u2551": "boxV", "\u2552": "\ boxdR", "\u2553": "boxDr", "\u2554": "boxDR", "\u2555": "boxdL", "\u2556": "boxDl", "\u2557": "boxDL", "\u2558": "boxuR", "\u2559": "boxUr", "\u255A": "boxUR", "\u255B": "boxuL", "\u255C": "boxUl", "\u255D": "boxUL", "\u255E": "boxvR", "\u255F": "boxVr", "\u2560": "boxVR", "\u2561": "\ boxvL", "\u2562": "boxVl", "\u2563": "boxVL", "\u2564": "boxHd", "\u2565": "boxhD", "\u2566": "boxHD", "\u2567": "boxHu", "\u2568": "boxhU", "\u2569": "boxHU", "\u256A": "boxvH", "\u256B": "boxVh", "\u256C": "boxVH", "\u2580": "uhblk", "\u2584": "lhblk", "\u2588": "block", "\u2591": "\ blk14", "\u2592": "blk12", "\u2593": "blk34", "\u25A1": "squ", "\u25AA": "squf", "\u25AB": "EmptyVerySmallSquare", "\u25AD": "rect", "\u25AE": "\ marker", "\u25B1": "fltns", "\u25B3": "xutri", "\u25B4": "utrif", "\u25B5": "utri", "\u25B8": "rtrif", "\u25B9": "rtri", "\u25BD": "xdtri", "\ \u25BE": "dtrif", "\u25BF": "dtri", "\u25C2": "ltrif", "\u25C3": "ltri", "\u25CA": "loz", "\u25CB": "cir", "\u25EC": "tridot", "\u25EF": "xc\ irc", "\u25F8": "ultri", "\u25F9": "urtri", "\u25FA": "lltri", "\u25FB": "EmptySmallSquare", "\u25FC": "FilledSmallSquare", "\u2605": "starf", "\u2606": "star", "\u260E": "phone", "\u2640": "female", "\u2642": "male", "\u2660": "spades", "\u2663": "clubs", "\u2665": "hearts", "\u2666": "\ diams", "\u266A": "sung", "\u2713": "check", "\u2717": "cross", "\u2720": "malt", "\u2736": "sext", "\u2758": "VerticalSeparator", "\u27C8": "\ bsolhsub", "\u27C9": "suphsol", "\u27F5": "xlarr", "\u27F6": "xrarr", "\u27F7": "xharr", "\u27F8": "xlArr", "\u27F9": "xrArr", "\u27FA": "xh\ Arr", "\u27FC": "xmap", "\u27FF": "dzigrarr", "\u2902": "nvlArr", "\u2903": "nvrArr", "\u2904": "nvHarr", "\u2905": "Map", "\u290C": "lbarr", "\u290D": "rbarr", "\u290E": "lBarr", "\u290F": "rBarr", "\u2910": "RBarr", "\u2911": "DDotrahd", "\u2912": "UpArrowBar", "\u2913": "Dow\ nArrowBar", "\u2916": "Rarrtl", "\u2919": "latail", "\u291A": "ratail", "\u291B": "lAtail", "\u291C": "rAtail", "\u291D": "larrfs", "\u291E": "\ rarrfs", "\u291F": "larrbfs", "\u2920": "rarrbfs", "\u2923": "nwarhk", "\u2924": "nearhk", "\u2925": "searhk", "\u2926": "swarhk", "\u2927": "\ nwnear", "\u2928": "toea", "\u2929": "tosa", "\u292A": "swnwar", "\u2933": "rarrc", "\u2933\u0338": "nrarrc", "\u2935": "cudarrr", "\u2936": "\ ldca", "\u2937": "rdca", "\u2938": "cudarrl", "\u2939": "larrpl", "\u293C": "curarrm", "\u293D": "cularrp", "\u2945": "rarrpl", "\u2948": "h\ arrcir", "\u2949": "Uarrocir", "\u294A": "lurdshar", "\u294B": "ldrushar", "\u294E": "LeftRightVector", "\u294F": "RightUpDownVector", "\u2950": "\ DownLeftRightVector", "\u2951": "LeftUpDownVector", "\u2952": "LeftVectorBar", "\u2953": "RightVectorBar", "\u2954": "RightUpVectorBar", "\u2955": "\ RightDownVectorBar", "\u2956": "DownLeftVectorBar", "\u2957": "DownRightVectorBar", "\u2958": "LeftUpVectorBar", "\u2959": "LeftDownVectorBa\ r", "\u295A": "LeftTeeVector", "\u295B": "RightTeeVector", "\u295C": "RightUpTeeVector", "\u295D": "RightDownTeeVector", "\u295E": "DownLeft\ TeeVector", "\u295F": "DownRightTeeVector", "\u2960": "LeftUpTeeVector", "\u2961": "LeftDownTeeVector", "\u2962": "lHar", "\u2963": "uHar", "\ \u2964": "rHar", "\u2965": "dHar", "\u2966": "luruhar", "\u2967": "ldrdhar", "\u2968": "ruluhar", "\u2969": "rdldhar", "\u296A": "lharul", "\ \u296B": "llhard", "\u296C": "rharul", "\u296D": "lrhard", "\u296E": "udhar", "\u296F": "duhar", "\u2970": "RoundImplies", "\u2971": "erarr", "\u2972": "simrarr", "\u2973": "larrsim", "\u2974": "rarrsim", "\u2975": "rarrap", "\u2976": "ltlarr", "\u2978": "gtrarr", "\u2979": "su\ brarr", "\u297B": "suplarr", "\u297C": "lfisht", "\u297D": "rfisht", "\u297E": "ufisht", "\u297F": "dfisht", "\u299A": "vzigzag", "\u299C": "\ vangrt", "\u299D": "angrtvbd", "\u29A4": "ange", "\u29A5": "range", "\u29A6": "dwangle", "\u29A7": "uwangle", "\u29A8": "angmsdaa", "\u29A9": "\ angmsdab", "\u29AA": "angmsdac", "\u29AB": "angmsdad", "\u29AC": "angmsdae", "\u29AD": "angmsdaf", "\u29AE": "angmsdag", "\u29AF": "angmsdah", "\u29B0": "bemptyv", "\u29B1": "demptyv", "\u29B2": "cemptyv", "\u29B3": "raemptyv", "\u29B4": "laemptyv", "\u29B5": "ohbar", "\u29B6": "\ omid", "\u29B7": "opar", "\u29B9": "operp", "\u29BB": "olcross", "\u29BC": "odsold", "\u29BE": "olcir", "\u29BF": "ofcir", "\u29C0": "olt", "\ \u29C1": "ogt", "\u29C2": "cirscir", "\u29C3": "cirE", "\u29C4": "solb", "\u29C5": "bsolb", "\u29C9": "boxbox", "\u29CD": "trisb", "\u29CE": "\ rtriltri", "\u29CF": "LeftTriangleBar", "\u29CF\u0338": "NotLeftTriangleBar", "\u29D0": "RightTriangleBar", "\u29D0\u0338": "NotRightTriangl\ eBar", "\u29DC": "iinfin", "\u29DD": "infintie", "\u29DE": "nvinfin", "\u29E3": "eparsl", "\u29E4": "smeparsl", "\u29E5": "eqvparsl", "\u29EB": "\ lozf", "\u29F4": "RuleDelayed", "\u29F6": "dsol", "\u2A00": "xodot", "\u2A01": "xoplus", "\u2A02": "xotime", "\u2A04": "xuplus", "\u2A06": "\ xsqcup", "\u2A0D": "fpartint", "\u2A10": "cirfnint", "\u2A11": "awint", "\u2A12": "rppolint", "\u2A13": "scpolint", "\u2A14": "npolint", "\u2A15": "\ pointint", "\u2A16": "quatint", "\u2A17": "intlarhk", "\u2A22": "pluscir", "\u2A23": "plusacir", "\u2A24": "simplus", "\u2A25": "plusdu", "\u2A26": "\ plussim", "\u2A27": "plustwo", "\u2A29": "mcomma", "\u2A2A": "minusdu", "\u2A2D": "loplus", "\u2A2E": "roplus", "\u2A2F": "Cross", "\u2A30": "\ timesd", "\u2A31": "timesbar", "\u2A33": "smashp", "\u2A34": "lotimes", "\u2A35": "rotimes", "\u2A36": "otimesas", "\u2A37": "Otimes", "\u2A38": "\ odiv", "\u2A39": "triplus", "\u2A3A": "triminus", "\u2A3B": "tritime", "\u2A3C": "iprod", "\u2A3F": "amalg", "\u2A40": "capdot", "\u2A42": "\ ncup", "\u2A43": "ncap", "\u2A44": "capand", "\u2A45": "cupor", "\u2A46": "cupcap", "\u2A47": "capcup", "\u2A48": "cupbrcap", "\u2A49": "cap\ brcup", "\u2A4A": "cupcup", "\u2A4B": "capcap", "\u2A4C": "ccups", "\u2A4D": "ccaps", "\u2A50": "ccupssm", "\u2A53": "And", "\u2A54": "Or", "\ \u2A55": "andand", "\u2A56": "oror", "\u2A57": "orslope", "\u2A58": "andslope", "\u2A5A": "andv", "\u2A5B": "orv", "\u2A5C": "andd", "\u2A5D": "\ ord", "\u2A5F": "wedbar", "\u2A66": "sdote", "\u2A6A": "simdot", "\u2A6D": "congdot", "\u2A6D\u0338": "ncongdot", "\u2A6E": "easter", "\u2A6F": "\ apacir", "\u2A70": "apE", "\u2A70\u0338": "napE", "\u2A71": "eplus", "\u2A72": "pluse", "\u2A73": "Esim", "\u2A77": "eDDot", "\u2A78": "equi\ vDD", "\u2A79": "ltcir", "\u2A7A": "gtcir", "\u2A7B": "ltquest", "\u2A7C": "gtquest", "\u2A7D": "les", "\u2A7D\u0338": "nles", "\u2A7E": "ge\ s", "\u2A7E\u0338": "nges", "\u2A7F": "lesdot", "\u2A80": "gesdot", "\u2A81": "lesdoto", "\u2A82": "gesdoto", "\u2A83": "lesdotor", "\u2A84": "\ gesdotol", "\u2A85": "lap", "\u2A86": "gap", "\u2A87": "lne", "\u2A88": "gne", "\u2A89": "lnap", "\u2A8A": "gnap", "\u2A8B": "lEg", "\u2A8C": "\ gEl", "\u2A8D": "lsime", "\u2A8E": "gsime", "\u2A8F": "lsimg", "\u2A90": "gsiml", "\u2A91": "lgE", "\u2A92": "glE", "\u2A93": "lesges", "\u2A94": "\ gesles", "\u2A95": "els", "\u2A96": "egs", "\u2A97": "elsdot", "\u2A98": "egsdot", "\u2A99": "el", "\u2A9A": "eg", "\u2A9D": "siml", "\u2A9E": "\ simg", "\u2A9F": "simlE", "\u2AA0": "simgE", "\u2AA1": "LessLess", "\u2AA1\u0338": "NotNestedLessLess", "\u2AA2": "GreaterGreater", "\u2AA2\u0338": "\ NotNestedGreaterGreater", "\u2AA4": "glj", "\u2AA5": "gla", "\u2AA6": "ltcc", "\u2AA7": "gtcc", "\u2AA8": "lescc", "\u2AA9": "gescc", "\u2AAA": "\ smt", "\u2AAB": "lat", "\u2AAC": "smte", "\u2AAC\uFE00": "smtes", "\u2AAD": "late", "\u2AAD\uFE00": "lates", "\u2AAE": "bumpE", "\u2AAF": "p\ re", "\u2AAF\u0338": "npre", "\u2AB0": "sce", "\u2AB0\u0338": "nsce", "\u2AB3": "prE", "\u2AB4": "scE", "\u2AB5": "prnE", "\u2AB6": "scnE", "\ \u2AB7": "prap", "\u2AB8": "scap", "\u2AB9": "prnap", "\u2ABA": "scnap", "\u2ABB": "Pr", "\u2ABC": "Sc", "\u2ABD": "subdot", "\u2ABE": "supd\ ot", "\u2ABF": "subplus", "\u2AC0": "supplus", "\u2AC1": "submult", "\u2AC2": "supmult", "\u2AC3": "subedot", "\u2AC4": "supedot", "\u2AC5": "\ subE", "\u2AC5\u0338": "nsubE", "\u2AC6": "supE", "\u2AC6\u0338": "nsupE", "\u2AC7": "subsim", "\u2AC8": "supsim", "\u2ACB\uFE00": "vsubnE", "\u2ACB": "subnE", "\u2ACC\uFE00": "vsupnE", "\u2ACC": "supnE", "\u2ACF": "csub", "\u2AD0": "csup", "\u2AD1": "csube", "\u2AD2": "csupe", "\u2AD3": "subsup", "\u2AD4": "supsub", "\u2AD5": "subsub", "\u2AD6": "supsup", "\u2AD7": "suphsub", "\u2AD8": "supdsub", "\u2AD9": "for\ kv", "\u2ADA": "topfork", "\u2ADB": "mlcp", "\u2AE4": "Dashv", "\u2AE6": "Vdashl", "\u2AE7": "Barv", "\u2AE8": "vBar", "\u2AE9": "vBarv", "\u2AEB": "\ Vbar", "\u2AEC": "Not", "\u2AED": "bNot", "\u2AEE": "rnmid", "\u2AEF": "cirmid", "\u2AF0": "midcir", "\u2AF1": "topcir", "\u2AF2": "nhpar", "\ \u2AF3": "parsim", "\u2AFD": "parsl", "\u2AFD\u20E5": "nparsl", "\u266D": "flat", "\u266E": "natur", "\u266F": "sharp", "\xA4": "curren", "\xA2": "\ cent", $: "dollar", "\xA3": "pound", "\xA5": "yen", "\u20AC": "euro", "\xB9": "sup1", "\xBD": "half", "\u2153": "frac13", "\xBC": "frac14", "\ \u2155": "frac15", "\u2159": "frac16", "\u215B": "frac18", "\xB2": "sup2", "\u2154": "frac23", "\u2156": "frac25", "\xB3": "sup3", "\xBE": "\ frac34", "\u2157": "frac35", "\u215C": "frac38", "\u2158": "frac45", "\u215A": "frac56", "\u215D": "frac58", "\u215E": "frac78", "\u{1D4B6}": "\ ascr", "\u{1D552}": "aopf", "\u{1D51E}": "afr", "\u{1D538}": "Aopf", "\u{1D504}": "Afr", "\u{1D49C}": "Ascr", \u00AA: "ordf", \u00E1: "aacut\ e", \u00C1: "Aacute", \u00E0: "agrave", \u00C0: "Agrave", \u0103: "abreve", \u0102: "Abreve", \u00E2: "acirc", \u00C2: "Acirc", \u00E5: "ari\ ng", \u00C5: "angst", \u00E4: "auml", \u00C4: "Auml", \u00E3: "atilde", \u00C3: "Atilde", \u0105: "aogon", \u0104: "Aogon", \u0101: "amacr", \u0100: "Amacr", \u00E6: "aelig", \u00C6: "AElig", "\u{1D4B7}": "bscr", "\u{1D553}": "bopf", "\u{1D51F}": "bfr", "\u{1D539}": "Bopf", \u212C: "\ Bscr", "\u{1D505}": "Bfr", "\u{1D520}": "cfr", "\u{1D4B8}": "cscr", "\u{1D554}": "copf", \u212D: "Cfr", "\u{1D49E}": "Cscr", \u2102: "Copf", \u0107: "cacute", \u0106: "Cacute", \u0109: "ccirc", \u0108: "Ccirc", \u010D: "ccaron", \u010C: "Ccaron", \u010B: "cdot", \u010A: "Cdot", \u00E7: "ccedil", \u00C7: "Ccedil", "\u2105": "incare", "\u{1D521}": "dfr", "\u2146": "dd", "\u{1D555}": "dopf", "\u{1D4B9}": "dscr", "\u{1D49F}": "\ Dscr", "\u{1D507}": "Dfr", "\u2145": "DD", "\u{1D53B}": "Dopf", \u010F: "dcaron", \u010E: "Dcaron", \u0111: "dstrok", \u0110: "Dstrok", \u00F0: "\ eth", \u00D0: "ETH", "\u2147": "ee", \u212F: "escr", "\u{1D522}": "efr", "\u{1D556}": "eopf", \u2130: "Escr", "\u{1D508}": "Efr", "\u{1D53C}": "\ Eopf", \u00E9: "eacute", \u00C9: "Eacute", \u00E8: "egrave", \u00C8: "Egrave", \u00EA: "ecirc", \u00CA: "Ecirc", \u011B: "ecaron", \u011A: "\ Ecaron", \u00EB: "euml", \u00CB: "Euml", \u0117: "edot", \u0116: "Edot", \u0119: "eogon", \u0118: "Eogon", \u0113: "emacr", \u0112: "Emacr", "\u{1D523}": "ffr", "\u{1D557}": "fopf", "\u{1D4BB}": "fscr", "\u{1D509}": "Ffr", "\u{1D53D}": "Fopf", \u2131: "Fscr", \uFB00: "fflig", \uFB03: "\ ffilig", \uFB04: "ffllig", \uFB01: "filig", fj: "fjlig", \uFB02: "fllig", \u0192: "fnof", \u210A: "gscr", "\u{1D558}": "gopf", "\u{1D524}": "\ gfr", "\u{1D4A2}": "Gscr", "\u{1D53E}": "Gopf", "\u{1D50A}": "Gfr", \u01F5: "gacute", \u011F: "gbreve", \u011E: "Gbreve", \u011D: "gcirc", \u011C: "\ Gcirc", \u0121: "gdot", \u0120: "Gdot", \u0122: "Gcedil", "\u{1D525}": "hfr", \u210E: "planckh", "\u{1D4BD}": "hscr", "\u{1D559}": "hopf", \u210B: "\ Hscr", \u210C: "Hfr", \u210D: "Hopf", \u0125: "hcirc", \u0124: "Hcirc", \u210F: "hbar", \u0127: "hstrok", \u0126: "Hstrok", "\u{1D55A}": "io\ pf", "\u{1D526}": "ifr", "\u{1D4BE}": "iscr", "\u2148": "ii", "\u{1D540}": "Iopf", \u2110: "Iscr", \u2111: "Im", \u00ED: "iacute", \u00CD: "\ Iacute", \u00EC: "igrave", \u00CC: "Igrave", \u00EE: "icirc", \u00CE: "Icirc", \u00EF: "iuml", \u00CF: "Iuml", \u0129: "itilde", \u0128: "It\ ilde", \u0130: "Idot", \u012F: "iogon", \u012E: "Iogon", \u012B: "imacr", \u012A: "Imacr", \u0133: "ijlig", \u0132: "IJlig", \u0131: "imath", "\u{1D4BF}": "jscr", "\u{1D55B}": "jopf", "\u{1D527}": "jfr", "\u{1D4A5}": "Jscr", "\u{1D50D}": "Jfr", "\u{1D541}": "Jopf", \u0135: "jci\ rc", \u0134: "Jcirc", "\u0237": "jmath", "\u{1D55C}": "kopf", "\u{1D4C0}": "kscr", "\u{1D528}": "kfr", "\u{1D4A6}": "Kscr", "\u{1D542}": "Ko\ pf", "\u{1D50E}": "Kfr", \u0137: "kcedil", \u0136: "Kcedil", "\u{1D529}": "lfr", "\u{1D4C1}": "lscr", \u2113: "ell", "\u{1D55D}": "lopf", \u2112: "\ Lscr", "\u{1D50F}": "Lfr", "\u{1D543}": "Lopf", \u013A: "lacute", \u0139: "Lacute", \u013E: "lcaron", \u013D: "Lcaron", \u013C: "lcedil", \u013B: "\ Lcedil", \u0142: "lstrok", \u0141: "Lstrok", \u0140: "lmidot", \u013F: "Lmidot", "\u{1D52A}": "mfr", "\u{1D55E}": "mopf", "\u{1D4C2}": "mscr", "\u{1D510}": "Mfr", "\u{1D544}": "Mopf", \u2133: "Mscr", "\u{1D52B}": "nfr", "\u{1D55F}": "nopf", "\u{1D4C3}": "nscr", \u2115: "Nopf", "\ \u{1D4A9}": "Nscr", "\u{1D511}": "Nfr", \u0144: "nacute", \u0143: "Nacute", \u0148: "ncaron", \u0147: "Ncaron", \u00F1: "ntilde", \u00D1: "N\ tilde", \u0146: "ncedil", \u0145: "Ncedil", "\u2116": "numero", \u014B: "eng", \u014A: "ENG", "\u{1D560}": "oopf", "\u{1D52C}": "ofr", \u2134: "\ oscr", "\u{1D4AA}": "Oscr", "\u{1D512}": "Ofr", "\u{1D546}": "Oopf", \u00BA: "ordm", \u00F3: "oacute", \u00D3: "Oacute", \u00F2: "ograve", \u00D2: "\ Ograve", \u00F4: "ocirc", \u00D4: "Ocirc", \u00F6: "ouml", \u00D6: "Ouml", \u0151: "odblac", \u0150: "Odblac", \u00F5: "otilde", \u00D5: "Ot\ ilde", \u00F8: "oslash", \u00D8: "Oslash", \u014D: "omacr", \u014C: "Omacr", \u0153: "oelig", \u0152: "OElig", "\u{1D52D}": "pfr", "\u{1D4C5}": "\ pscr", "\u{1D561}": "popf", \u2119: "Popf", "\u{1D513}": "Pfr", "\u{1D4AB}": "Pscr", "\u{1D562}": "qopf", "\u{1D52E}": "qfr", "\u{1D4C6}": "\ qscr", "\u{1D4AC}": "Qscr", "\u{1D514}": "Qfr", \u211A: "Qopf", \u0138: "kgreen", "\u{1D52F}": "rfr", "\u{1D563}": "ropf", "\u{1D4C7}": "rsc\ r", \u211B: "Rscr", \u211C: "Re", \u211D: "Ropf", \u0155: "racute", \u0154: "Racute", \u0159: "rcaron", \u0158: "Rcaron", \u0157: "rcedil", \u0156: "\ Rcedil", "\u{1D564}": "sopf", "\u{1D4C8}": "sscr", "\u{1D530}": "sfr", "\u{1D54A}": "Sopf", "\u{1D516}": "Sfr", "\u{1D4AE}": "Sscr", "\u24C8": "\ oS", \u015B: "sacute", \u015A: "Sacute", \u015D: "scirc", \u015C: "Scirc", \u0161: "scaron", \u0160: "Scaron", \u015F: "scedil", \u015E: "Sc\ edil", \u00DF: "szlig", "\u{1D531}": "tfr", "\u{1D4C9}": "tscr", "\u{1D565}": "topf", "\u{1D4AF}": "Tscr", "\u{1D517}": "Tfr", "\u{1D54B}": "\ Topf", \u0165: "tcaron", \u0164: "Tcaron", \u0163: "tcedil", \u0162: "Tcedil", "\u2122": "trade", \u0167: "tstrok", \u0166: "Tstrok", "\u{1D4CA}": "\ uscr", "\u{1D566}": "uopf", "\u{1D532}": "ufr", "\u{1D54C}": "Uopf", "\u{1D518}": "Ufr", "\u{1D4B0}": "Uscr", \u00FA: "uacute", \u00DA: "Uac\ ute", \u00F9: "ugrave", \u00D9: "Ugrave", \u016D: "ubreve", \u016C: "Ubreve", \u00FB: "ucirc", \u00DB: "Ucirc", \u016F: "uring", \u016E: "Ur\ ing", \u00FC: "uuml", \u00DC: "Uuml", \u0171: "udblac", \u0170: "Udblac", \u0169: "utilde", \u0168: "Utilde", \u0173: "uogon", \u0172: "Uogo\ n", \u016B: "umacr", \u016A: "Umacr", "\u{1D533}": "vfr", "\u{1D567}": "vopf", "\u{1D4CB}": "vscr", "\u{1D519}": "Vfr", "\u{1D54D}": "Vopf", "\u{1D4B1}": "Vscr", "\u{1D568}": "wopf", "\u{1D4CC}": "wscr", "\u{1D534}": "wfr", "\u{1D4B2}": "Wscr", "\u{1D54E}": "Wopf", "\u{1D51A}": "\ Wfr", \u0175: "wcirc", \u0174: "Wcirc", "\u{1D535}": "xfr", "\u{1D4CD}": "xscr", "\u{1D569}": "xopf", "\u{1D54F}": "Xopf", "\u{1D51B}": "Xfr", "\u{1D4B3}": "Xscr", "\u{1D536}": "yfr", "\u{1D4CE}": "yscr", "\u{1D56A}": "yopf", "\u{1D4B4}": "Yscr", "\u{1D51C}": "Yfr", "\u{1D550}": "\ Yopf", \u00FD: "yacute", \u00DD: "Yacute", \u0177: "ycirc", \u0176: "Ycirc", \u00FF: "yuml", \u0178: "Yuml", "\u{1D4CF}": "zscr", "\u{1D537}": "\ zfr", "\u{1D56B}": "zopf", \u2128: "Zfr", \u2124: "Zopf", "\u{1D4B5}": "Zscr", \u017A: "zacute", \u0179: "Zacute", \u017E: "zcaron", \u017D: "\ Zcaron", \u017C: "zdot", \u017B: "Zdot", \u01B5: "imped", \u00FE: "thorn", \u00DE: "THORN", \u0149: "napos", \u03B1: "alpha", \u0391: "Alpha", \u03B2: "beta", \u0392: "Beta", \u03B3: "gamma", \u0393: "Gamma", \u03B4: "delta", \u0394: "Delta", \u03B5: "epsi", "\u03F5": "epsiv", \u0395: "\ Epsilon", \u03DD: "gammad", \u03DC: "Gammad", \u03B6: "zeta", \u0396: "Zeta", \u03B7: "eta", \u0397: "Eta", \u03B8: "theta", \u03D1: "thetav", \u0398: "Theta", \u03B9: "iota", \u0399: "Iota", \u03BA: "kappa", \u03F0: "kappav", \u039A: "Kappa", \u03BB: "lambda", \u039B: "Lambda", \u03BC: "mu", \u00B5: "micro", \u039C: "Mu", \u03BD: "nu", \u039D: "Nu", \u03BE: "xi", \u039E: "Xi", \u03BF: "omicron", \u039F: "Omicron", \u03C0: "pi", \u03D6: "piv", \u03A0: "Pi", \u03C1: "rho", \u03F1: "rhov", \u03A1: "Rho", \u03C3: "sigma", \u03A3: "Sigma", \u03C2: "sigm\ af", \u03C4: "tau", \u03A4: "Tau", \u03C5: "upsi", \u03A5: "Upsilon", \u03D2: "Upsi", \u03C6: "phi", \u03D5: "phiv", \u03A6: "Phi", \u03C7: "\ chi", \u03A7: "Chi", \u03C8: "psi", \u03A8: "Psi", \u03C9: "omega", \u03A9: "ohm", \u0430: "acy", \u0410: "Acy", \u0431: "bcy", \u0411: "Bcy", \u0432: "vcy", \u0412: "Vcy", \u0433: "gcy", \u0413: "Gcy", \u0453: "gjcy", \u0403: "GJcy", \u0434: "dcy", \u0414: "Dcy", \u0452: "djcy", \u0402: "DJcy", \u0435: "iecy", \u0415: "IEcy", \u0451: "iocy", \u0401: "IOcy", \u0454: "jukcy", \u0404: "Jukcy", \u0436: "zhcy", \u0416: "\ ZHcy", \u0437: "zcy", \u0417: "Zcy", \u0455: "dscy", \u0405: "DScy", \u0438: "icy", \u0418: "Icy", \u0456: "iukcy", \u0406: "Iukcy", \u0457: "\ yicy", \u0407: "YIcy", \u0439: "jcy", \u0419: "Jcy", \u0458: "jsercy", \u0408: "Jsercy", \u043A: "kcy", \u041A: "Kcy", \u045C: "kjcy", \u040C: "\ KJcy", \u043B: "lcy", \u041B: "Lcy", \u0459: "ljcy", \u0409: "LJcy", \u043C: "mcy", \u041C: "Mcy", \u043D: "ncy", \u041D: "Ncy", \u045A: "nj\ cy", \u040A: "NJcy", \u043E: "ocy", \u041E: "Ocy", \u043F: "pcy", \u041F: "Pcy", \u0440: "rcy", \u0420: "Rcy", \u0441: "scy", \u0421: "Scy", \u0442: "tcy", \u0422: "Tcy", \u045B: "tshcy", \u040B: "TSHcy", \u0443: "ucy", \u0423: "Ucy", \u045E: "ubrcy", \u040E: "Ubrcy", \u0444: "\ fcy", \u0424: "Fcy", \u0445: "khcy", \u0425: "KHcy", \u0446: "tscy", \u0426: "TScy", \u0447: "chcy", \u0427: "CHcy", \u045F: "dzcy", \u040F: "\ DZcy", \u0448: "shcy", \u0428: "SHcy", \u0449: "shchcy", \u0429: "SHCHcy", \u044A: "hardcy", \u042A: "HARDcy", \u044B: "ycy", \u042B: "Ycy", \u044C: "softcy", \u042C: "SOFTcy", \u044D: "ecy", \u042D: "Ecy", \u044E: "yucy", \u042E: "YUcy", \u044F: "yacy", \u042F: "YAcy", \u2135: "\ aleph", \u2136: "beth", \u2137: "gimel", \u2138: "daleth" }, c = /["&'<>`]/g, f = { '"': """, "&": "&", "'": "'", "<": "<", // See https://mathiasbynens.be/notes/ambiguous-ampersands: in HTML, the // following is not strictly necessary unless it’s part of a tag or an // unquoted attribute value. We’re only escaping it to support those // situations, and for XML support. ">": ">", // In Internet Explorer ≤ 8, the backtick character can be used // to break out of (un)quoted attribute values or HTML comments. // See http://html5sec.org/#102, http://html5sec.org/#108, and // http://html5sec.org/#133. "`": "`" }, d = /&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/, g = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, b = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g, _ = { aacute: "\xE1", Aacute: "\xC1", abreve: "\u0103", Abreve: "\u0102", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", acirc: "\xE2", Acirc: "\xC2", acute: "\xB4", acy: "\u0430", Acy: "\u0410", aelig: "\xE6", AElig: "\xC6", af: "\u2061", afr: "\u{1D51E}", Afr: "\u{1D504}", agrave: "\xE0", Agrave: "\xC0", alefsym: "\u2135", aleph: "\u2135", alpha: "\u03B1", Alpha: "\u0391", amacr: "\u0101", Amacr: "\u0100", amalg: "\ \u2A3F", amp: "&", AMP: "&", and: "\u2227", And: "\u2A53", andand: "\u2A55", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsd: "\u2221", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\ \u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", aogon: "\u0105", Aogon: "\u0104", aopf: "\u{1D552}", Aopf: "\u{1D538}", ap: "\u2248", apacir: "\u2A6F", ape: "\u224A", apE: "\u2A70", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", aring: "\xE5", Aring: "\ \xC5", ascr: "\u{1D4B6}", Ascr: "\u{1D49C}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", atilde: "\xE3", Atilde: "\xC3", auml: "\xE4", Auml: "\xC4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\ \u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", bcy: "\u0431", Bcy: "\u0411", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", beta: "\u03B2", Beta: "\u0392", beth: "\u2136", between: "\u226C", bfr: "\u{1D51F}", Bfr: "\u{1D505}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\ \u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\ \u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\ \u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bnot: "\u2310", bNot: "\u2AED", bopf: "\u{1D553}", Bopf: "\u{1D539}", bot: "\u22A5", bottom: "\ \u22A5", bowtie: "\u22C8", boxbox: "\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxhD: "\u2565", boxHd: "\u2564", boxHD: "\u2566", boxhu: "\ \u2534", boxhU: "\u2568", boxHu: "\u2567", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\ \u255B", boxUl: "\u255C", boxUL: "\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\ \u251C", boxvR: "\u255E", boxVr: "\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsol: "\\", bsolb: "\u29C5", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\ \u2022", bump: "\u224E", bumpe: "\u224F", bumpE: "\u2AAE", bumpeq: "\u224F", Bumpeq: "\u224E", cacute: "\u0107", Cacute: "\u0106", cap: "\u2229", Cap: "\u22D2", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", ccaron: "\u010D", Ccaron: "\u010C", ccedil: "\ \xE7", Ccedil: "\xC7", ccirc: "\u0109", Ccirc: "\u0108", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", cdot: "\u010B", Cdot: "\u010A", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", chcy: "\ \u0447", CHcy: "\u0427", check: "\u2713", checkmark: "\u2713", chi: "\u03C7", Chi: "\u03A7", cir: "\u25CB", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", cire: "\u2257", cirE: "\u29C3", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\ \u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", colone: "\u2254", Colone: "\u2A74", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\ \u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\u21B5", cross: "\u2717", Cross: "\u2A2F", cscr: "\u{1D4B8}", Cscr: "\u{1D49E}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cup: "\u222A", Cup: "\u22D3", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\ \u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\ \u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\ \u2138", darr: "\u2193", dArr: "\u21D3", Darr: "\u21A1", dash: "\u2010", dashv: "\u22A3", Dashv: "\u2AE4", dbkarow: "\u290F", dblac: "\u02DD", dcaron: "\u010F", Dcaron: "\u010E", dcy: "\u0434", Dcy: "\u0414", dd: "\u2146", DD: "\u2145", ddagger: "\u2021", ddarr: "\u21CA", DDotrahd: "\ \u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", delta: "\u03B4", Delta: "\u0394", demptyv: "\u29B1", dfisht: "\u297F", dfr: "\u{1D521}", Dfr: "\u{1D507}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\ \u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\ \u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\ \u22C7", djcy: "\u0452", DJcy: "\u0402", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", dopf: "\u{1D555}", Dopf: "\u{1D53B}", dot: "\u02D9", Dot: "\xA8", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\ \u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\ \u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", downarrow: "\u2193", Downarrow: "\u21D3", DownArrow: "\u2193", DownArrowBar: "\u2913", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", downdownarrows: "\ \u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVector: "\ \u21BD", DownLeftVectorBar: "\u2956", DownRightTeeVector: "\u295F", DownRightVector: "\u21C1", DownRightVectorBar: "\u2957", DownTee: "\u22A4", DownTeeArrow: "\u21A7", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", dscr: "\u{1D4B9}", Dscr: "\u{1D49F}", dscy: "\u0455", DScy: "\ \u0405", dsol: "\u29F6", dstrok: "\u0111", Dstrok: "\u0110", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", dzcy: "\u045F", DZcy: "\u040F", dzigrarr: "\u27FF", eacute: "\xE9", Eacute: "\xC9", easter: "\u2A6E", ecaron: "\u011B", Ecaron: "\u011A", ecir: "\u2256", ecirc: "\xEA", Ecirc: "\xCA", ecolon: "\u2255", ecy: "\u044D", Ecy: "\u042D", eDDot: "\u2A77", edot: "\ \u0117", eDot: "\u2251", Edot: "\u0116", ee: "\u2147", efDot: "\u2252", efr: "\u{1D522}", Efr: "\u{1D508}", eg: "\u2A9A", egrave: "\xE8", Egrave: "\ \xC8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", emacr: "\u0113", Emacr: "\u0112", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\ \u25AB", emsp: "\u2003", emsp13: "\u2004", emsp14: "\u2005", eng: "\u014B", ENG: "\u014A", ensp: "\u2002", eogon: "\u0119", Eogon: "\u0118", eopf: "\u{1D556}", Eopf: "\u{1D53C}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", epsilon: "\u03B5", Epsilon: "\u0395", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", Equal: "\u2A75", equals: "\ =", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erarr: "\u2971", erDot: "\ \u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", esim: "\u2242", Esim: "\u2A73", eta: "\u03B7", Eta: "\u0397", eth: "\xF0", ETH: "\xD0", euml: "\xEB", Euml: "\xCB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", fcy: "\u0444", Fcy: "\u0424", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\ \uFB04", ffr: "\u{1D523}", Ffr: "\u{1D509}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", fjlig: "fj", flat: "\ \u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", fopf: "\u{1D557}", Fopf: "\u{1D53D}", forall: "\u2200", ForAll: "\u2200", fork: "\ \u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\ \u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\ \u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", gamma: "\ \u03B3", Gamma: "\u0393", gammad: "\u03DD", Gammad: "\u03DC", gap: "\u2A86", gbreve: "\u011F", Gbreve: "\u011E", Gcedil: "\u0122", gcirc: "\u011D", Gcirc: "\u011C", gcy: "\u0433", Gcy: "\u0413", gdot: "\u0121", Gdot: "\u0120", ge: "\u2265", gE: "\u2267", gel: "\u22DB", gEl: "\u2A8C", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", ges: "\u2A7E", gescc: "\u2AA9", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", gfr: "\u{1D524}", Gfr: "\u{1D50A}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", gjcy: "\ \u0453", GJcy: "\u0403", gl: "\u2277", gla: "\u2AA5", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\ \u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", gopf: "\u{1D558}", Gopf: "\u{1D53E}", grave: "`", GreaterEqual: "\u2265", GreaterEqualLess: "\ \u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", gscr: "\ \u210A", Gscr: "\u{1D4A2}", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gt: ">", Gt: "\u226B", GT: ">", gtcc: "\u2AA7", gtcir: "\u2A7A", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\ \u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", hardcy: "\u044A", HARDcy: "\u042A", harr: "\u2194", hArr: "\u21D4", harrcir: "\u2948", harrw: "\u21AD", Hat: "^", hbar: "\ \u210F", hcirc: "\u0125", Hcirc: "\u0124", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\ \u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\ \u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\u210B", hslash: "\u210F", hstrok: "\u0127", Hstrok: "\u0126", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", iacute: "\xED", Iacute: "\ \xCD", ic: "\u2063", icirc: "\xEE", Icirc: "\xCE", icy: "\u0438", Icy: "\u0418", Idot: "\u0130", iecy: "\u0435", IEcy: "\u0415", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", igrave: "\xEC", Igrave: "\xCC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\ \u29DC", iiota: "\u2129", ijlig: "\u0133", IJlig: "\u0132", Im: "\u2111", imacr: "\u012B", Imacr: "\u012A", image: "\u2111", ImaginaryI: "\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", in: "\u2208", incare: "\u2105", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", int: "\u222B", Int: "\u222C", intcal: "\u22BA", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", iocy: "\ \u0451", IOcy: "\u0401", iogon: "\u012F", Iogon: "\u012E", iopf: "\u{1D55A}", Iopf: "\u{1D540}", iota: "\u03B9", Iota: "\u0399", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", itilde: "\u0129", Itilde: "\u0128", iukcy: "\u0456", Iukcy: "\u0406", iuml: "\xEF", Iuml: "\xCF", jcirc: "\ \u0135", Jcirc: "\u0134", jcy: "\u0439", Jcy: "\u0419", jfr: "\u{1D527}", Jfr: "\u{1D50D}", jmath: "\u0237", jopf: "\u{1D55B}", Jopf: "\u{1D541}", jscr: "\u{1D4BF}", Jscr: "\u{1D4A5}", jsercy: "\u0458", Jsercy: "\u0408", jukcy: "\u0454", Jukcy: "\u0404", kappa: "\u03BA", Kappa: "\u039A", kappav: "\u03F0", kcedil: "\u0137", Kcedil: "\u0136", kcy: "\u043A", Kcy: "\u041A", kfr: "\u{1D528}", Kfr: "\u{1D50E}", kgreen: "\u0138", khcy: "\u0445", KHcy: "\u0425", kjcy: "\u045C", KJcy: "\u040C", kopf: "\u{1D55C}", Kopf: "\u{1D542}", kscr: "\u{1D4C0}", Kscr: "\u{1D4A6}", lAarr: "\u21DA", lacute: "\u013A", Lacute: "\u0139", laemptyv: "\u29B4", lagran: "\u2112", lambda: "\u03BB", Lambda: "\u039B", lang: "\u27E8", Lang: "\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larr: "\u2190", lArr: "\u21D0", Larr: "\ \u219E", larrb: "\u21E4", larrbfs: "\u291F", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\ \u21A2", lat: "\u2AAB", latail: "\u2919", lAtail: "\u291B", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\ \u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", lcaron: "\u013E", Lcaron: "\u013D", lcedil: "\u013C", Lcedil: "\u013B", lceil: "\u2308", lcub: "{", lcy: "\u043B", Lcy: "\u041B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\ \u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", leftarrow: "\u2190", Leftarrow: "\u21D0", LeftArrow: "\u2190", LeftArrowBar: "\u21E4", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\ \u27E6", LeftDownTeeVector: "\u2961", LeftDownVector: "\u21C3", LeftDownVectorBar: "\u2959", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", Leftrightarrow: "\u21D4", LeftRightArrow: "\u2194", leftrightarrows: "\ \u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTee: "\u22A3", LeftTeeArrow: "\u21A4", LeftTeeVector: "\ \u295A", leftthreetimes: "\u22CB", LeftTriangle: "\u22B2", LeftTriangleBar: "\u29CF", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVector: "\u21BF", LeftUpVectorBar: "\u2958", LeftVector: "\u21BC", LeftVectorBar: "\u2952", leg: "\u22DA", lEg: "\u2A8B", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", les: "\u2A7D", lescc: "\u2AA8", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\ \u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\ \u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\u297C", lfloor: "\u230A", lfr: "\u{1D529}", Lfr: "\u{1D50F}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", ljcy: "\u0459", LJcy: "\u0409", ll: "\u226A", Ll: "\u22D8", llarr: "\ \u21C7", llcorner: "\u231E", Lleftarrow: "\u21DA", llhard: "\u296B", lltri: "\u25FA", lmidot: "\u0140", Lmidot: "\u013F", lmoust: "\u23B0", lmoustache: "\ \u23B0", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\u27F5", Longleftarrow: "\u27F8", LongLeftArrow: "\u27F5", longleftrightarrow: "\u27F7", Longleftrightarrow: "\u27FA", LongLeftRightArrow: "\u27F7", longmapsto: "\u27FC", longrightarrow: "\u27F6", Longrightarrow: "\u27F9", LongRightArrow: "\ \u27F6", looparrowleft: "\u21AB", looparrowright: "\u21AC", lopar: "\u2985", lopf: "\u{1D55D}", Lopf: "\u{1D543}", loplus: "\u2A2D", lotimes: "\ \u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\ \u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\ \u2018", lsquor: "\u201A", lstrok: "\u0142", Lstrok: "\u0141", lt: "<", Lt: "\u226A", LT: "<", ltcc: "\u2AA6", ltcir: "\u2A79", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\ \u2720", map: "\u21A6", Map: "\u2905", mapsto: "\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\ \u2A29", mcy: "\u043C", Mcy: "\u041C", mdash: "\u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", mfr: "\u{1D52A}", Mfr: "\u{1D510}", mho: "\u2127", micro: "\xB5", mid: "\u2223", midast: "*", midcir: "\u2AF0", middot: "\xB7", minus: "\ \u2212", minusb: "\u229F", minusd: "\u2238", minusdu: "\u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\ \u22A7", mopf: "\u{1D55E}", Mopf: "\u{1D544}", mp: "\u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", mu: "\u03BC", Mu: "\u039C", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", nacute: "\u0144", Nacute: "\u0143", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\u2249", natur: "\u266E", natural: "\u266E", naturals: "\u2115", nbsp: "\xA0", nbump: "\ \u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", ncaron: "\u0148", Ncaron: "\u0147", ncedil: "\u0146", Ncedil: "\u0145", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", ncy: "\u043D", Ncy: "\u041D", ndash: "\u2013", ne: "\u2260", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\ \u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\ \u226A", NewLine: ` `, nexist: "\u2204", nexists: "\u2204", nfr: "\u{1D52B}", Nfr: "\u{1D511}", nge: "\u2271", ngE: "\u2267\u0338", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", ngt: "\u226F", nGt: "\u226B\u20D2", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", njcy: "\ \u045A", NJcy: "\u040A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nle: "\u2270", nlE: "\u2266\u0338", nleftarrow: "\u219A", nLeftarrow: "\ \u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nlt: "\u226E", nLt: "\u226A\u20D2", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", not: "\xAC", Not: "\u2AEC", NotCongruent: "\ \u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\ \u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\ \u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\ \u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangle: "\u22EA", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\ \u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", NotReverseElement: "\u220C", NotRightTriangle: "\u22EB", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangleEqual: "\ \u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\ \u2247", NotTildeTilde: "\u2249", NotVerticalBar: "\u2224", npar: "\u2226", nparallel: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\u2280", nprcue: "\u22E0", npre: "\u2AAF\u0338", nprec: "\u2280", npreceq: "\u2AAF\u0338", nrarr: "\u219B", nrArr: "\ \u21CF", nrarrc: "\u2933\u0338", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\ \u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", nscr: "\u{1D4C3}", Nscr: "\u{1D4A9}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\ \u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsube: "\ \u2288", nsubE: "\u2AC5\u0338", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupe: "\u2289", nsupE: "\u2AC6\u0338", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\ \u2279", ntilde: "\xF1", Ntilde: "\xD1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\ \u22ED", nu: "\u03BD", Nu: "\u039D", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\ \u22AE", nVDash: "\u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", oacute: "\xF3", Oacute: "\xD3", oast: "\u229B", ocir: "\u229A", ocirc: "\xF4", Ocirc: "\ \xD4", ocy: "\u043E", Ocy: "\u041E", odash: "\u229D", odblac: "\u0151", Odblac: "\u0150", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", oelig: "\ \u0153", OElig: "\u0152", ofcir: "\u29BF", ofr: "\u{1D52C}", Ofr: "\u{1D512}", ogon: "\u02DB", ograve: "\xF2", Ograve: "\xD2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", omacr: "\ \u014D", Omacr: "\u014C", omega: "\u03C9", Omega: "\u03A9", omicron: "\u03BF", Omicron: "\u039F", omid: "\u29B6", ominus: "\u2296", oopf: "\u{1D560}", Oopf: "\u{1D546}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", or: "\u2228", Or: "\u2A54", orarr: "\u21BB", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oS: "\u24C8", oscr: "\u2134", Oscr: "\u{1D4AA}", oslash: "\xF8", Oslash: "\xD8", osol: "\u2298", otilde: "\ \xF5", Otilde: "\xD5", otimes: "\u2297", Otimes: "\u2A37", otimesas: "\u2A36", ouml: "\xF6", Ouml: "\xD6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", par: "\u2225", para: "\xB6", parallel: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\u2202", PartialD: "\u2202", pcy: "\u043F", Pcy: "\u041F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", pfr: "\u{1D52D}", Pfr: "\u{1D513}", phi: "\u03C6", Phi: "\u03A6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", pi: "\ \u03C0", Pi: "\u03A0", pitchfork: "\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plus: "+", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", pr: "\u227A", Pr: "\u2ABB", prap: "\u2AB7", prcue: "\u227C", pre: "\u2AAF", prE: "\u2AB3", prec: "\u227A", precapprox: "\u2AB7", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportion: "\ \u2237", Proportional: "\u221D", propto: "\u221D", prsim: "\u227E", prurel: "\u22B0", pscr: "\u{1D4C5}", Pscr: "\u{1D4AB}", psi: "\u03C8", Psi: "\ \u03A8", puncsp: "\u2008", qfr: "\u{1D52E}", Qfr: "\u{1D514}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", qscr: "\u{1D4C6}", Qscr: "\u{1D4AC}", quaternions: "\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\ \u223D\u0331", racute: "\u0155", Racute: "\u0154", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\ \u29A5", rangle: "\u27E9", raquo: "\xBB", rarr: "\u2192", rArr: "\u21D2", Rarr: "\u21A0", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarrfs: "\u291E", rarrhk: "\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", rarrtl: "\u21A3", Rarrtl: "\u2916", rarrw: "\u219D", ratail: "\u291A", rAtail: "\u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", rcaron: "\u0159", Rcaron: "\u0158", rcedil: "\ \u0157", Rcedil: "\u0156", rceil: "\u2309", rcub: "}", rcy: "\u0440", Rcy: "\u0420", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\ \u201D", rdsh: "\u21B3", Re: "\u211C", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", rect: "\u25AD", reg: "\xAE", REG: "\ \xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", rho: "\u03C1", Rho: "\u03A1", rhov: "\u03F1", RightAngleBracket: "\ \u27E9", rightarrow: "\u2192", Rightarrow: "\u21D2", RightArrow: "\u2192", RightArrowBar: "\u21E5", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\ \u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\u27E7", RightDownTeeVector: "\u295D", RightDownVector: "\u21C2", RightDownVectorBar: "\ \u2955", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTee: "\u22A2", RightTeeArrow: "\u21A6", RightTeeVector: "\u295B", rightthreetimes: "\ \u22CC", RightTriangle: "\u22B3", RightTriangleBar: "\u29D0", RightTriangleEqual: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\ \u295C", RightUpVector: "\u21BE", RightUpVectorBar: "\u2954", RightVector: "\u21C0", RightVectorBar: "\u2953", ring: "\u02DA", risingdotseq: "\ \u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoust: "\u23B1", rmoustache: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\ \u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: "\ )", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\ \u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\ \u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", sacute: "\u015B", Sacute: "\u015A", sbquo: "\u201A", sc: "\ \u227B", Sc: "\u2ABC", scap: "\u2AB8", scaron: "\u0161", Scaron: "\u0160", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", scedil: "\u015F", Scedil: "\ \u015E", scirc: "\u015D", Scirc: "\u015C", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\u22E9", scpolint: "\u2A13", scsim: "\u227F", scy: "\u0441", Scy: "\u0421", sdot: "\u22C5", sdotb: "\u22A1", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\ \xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\u2736", sfr: "\u{1D530}", Sfr: "\u{1D516}", sfrown: "\u2322", sharp: "\u266F", shchcy: "\u0449", SHCHcy: "\u0429", shcy: "\u0448", SHcy: "\u0428", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\u2191", shy: "\xAD", sigma: "\u03C3", Sigma: "\u03A3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\ \u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", softcy: "\u044C", SOFTcy: "\u042C", sol: "/", solb: "\u29C4", solbar: "\u233F", sopf: "\u{1D564}", Sopf: "\u{1D54A}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\ \u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\u2290", sqsupseteq: "\u2292", squ: "\u25A1", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\u2291", SquareSuperset: "\ \u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squf: "\u25AA", srarr: "\u2192", sscr: "\u{1D4C8}", Sscr: "\ \u{1D4AE}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", star: "\u2606", Star: "\u22C6", starf: "\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", sube: "\u2286", subE: "\u2AC5", subedot: "\u2AC3", submult: "\u2AC1", subne: "\u228A", subnE: "\u2ACB", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\u22D0", subseteq: "\ \u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\ \u2AD3", succ: "\u227B", succapprox: "\u2AB8", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\ \u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup: "\u2283", Sup: "\u22D1", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", supdot: "\u2ABE", supdsub: "\u2AD8", supe: "\u2287", supE: "\u2AC6", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\ \u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supne: "\u228B", supnE: "\u2ACC", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\ \u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: " ", target: "\u2316", tau: "\u03C4", Tau: "\u03A4", tbrk: "\u23B4", tcaron: "\u0165", Tcaron: "\u0164", tcedil: "\u0163", Tcedil: "\u0162", tcy: "\u0442", Tcy: "\u0422", tdot: "\u20DB", telrec: "\ \u2315", tfr: "\u{1D531}", Tfr: "\u{1D517}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", theta: "\u03B8", Theta: "\u0398", thetasym: "\ \u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", thinsp: "\u2009", ThinSpace: "\u2009", thkap: "\ \u2248", thksim: "\u223C", thorn: "\xFE", THORN: "\xDE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\ \u2248", times: "\xD7", timesb: "\u22A0", timesbar: "\u2A31", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", top: "\u22A4", topbot: "\u2336", topcir: "\u2AF1", topf: "\u{1D565}", Topf: "\u{1D54B}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", tscr: "\u{1D4C9}", Tscr: "\u{1D4AF}", tscy: "\u0446", TScy: "\u0426", tshcy: "\u045B", TSHcy: "\u040B", tstrok: "\u0167", Tstrok: "\u0166", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", uacute: "\xFA", Uacute: "\xDA", uarr: "\u2191", uArr: "\u21D1", Uarr: "\u219F", Uarrocir: "\u2949", ubrcy: "\u045E", Ubrcy: "\u040E", ubreve: "\u016D", Ubreve: "\u016C", ucirc: "\xFB", Ucirc: "\xDB", ucy: "\u0443", Ucy: "\u0423", udarr: "\u21C5", udblac: "\u0171", Udblac: "\u0170", udhar: "\u296E", ufisht: "\ \u297E", ufr: "\u{1D532}", Ufr: "\u{1D518}", ugrave: "\xF9", Ugrave: "\xD9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", umacr: "\u016B", Umacr: "\u016A", uml: "\xA8", UnderBar: "_", UnderBrace: "\ \u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", uogon: "\u0173", Uogon: "\u0172", uopf: "\ \u{1D566}", Uopf: "\u{1D54C}", uparrow: "\u2191", Uparrow: "\u21D1", UpArrow: "\u2191", UpArrowBar: "\u2912", UpArrowDownArrow: "\u21C5", updownarrow: "\ \u2195", Updownarrow: "\u21D5", UpDownArrow: "\u2195", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", upsilon: "\u03C5", Upsilon: "\u03A5", UpTee: "\u22A5", UpTeeArrow: "\u21A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", uring: "\u016F", Uring: "\ \u016E", urtri: "\u25F9", uscr: "\u{1D4CA}", Uscr: "\u{1D4B0}", utdot: "\u22F0", utilde: "\u0169", Utilde: "\u0168", utri: "\u25B5", utrif: "\ \u25B4", uuarr: "\u21C8", uuml: "\xFC", Uuml: "\xDC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\ \u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\ \u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\ \u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", vcy: "\u0432", Vcy: "\u0412", vdash: "\u22A2", vDash: "\ \u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", vee: "\u2228", Vee: "\u22C1", veebar: "\u22BB", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\ \u2240", VeryThinSpace: "\u200A", vfr: "\u{1D533}", Vfr: "\u{1D519}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", vopf: "\ \u{1D567}", Vopf: "\u{1D54D}", vprop: "\u221D", vrtri: "\u22B3", vscr: "\u{1D4CB}", Vscr: "\u{1D4B1}", vsubne: "\u228A\uFE00", vsubnE: "\u2ACB\uFE00", vsupne: "\u228B\uFE00", vsupnE: "\u2ACC\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", wcirc: "\u0175", Wcirc: "\u0174", wedbar: "\u2A5F", wedge: "\u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", wfr: "\u{1D534}", Wfr: "\u{1D51A}", wopf: "\u{1D568}", Wopf: "\u{1D54E}", wp: "\u2118", wr: "\u2240", wreath: "\u2240", wscr: "\u{1D4CC}", Wscr: "\u{1D4B2}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\ \u25BD", xfr: "\u{1D535}", Xfr: "\u{1D51B}", xharr: "\u27F7", xhArr: "\u27FA", xi: "\u03BE", Xi: "\u039E", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\u27FC", xnis: "\u22FB", xodot: "\u2A00", xopf: "\u{1D569}", Xopf: "\u{1D54F}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\u27F9", xscr: "\u{1D4CD}", Xscr: "\u{1D4B3}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", yacute: "\xFD", Yacute: "\xDD", yacy: "\u044F", YAcy: "\u042F", ycirc: "\u0177", Ycirc: "\u0176", ycy: "\u044B", Ycy: "\u042B", yen: "\xA5", yfr: "\u{1D536}", Yfr: "\u{1D51C}", yicy: "\u0457", YIcy: "\u0407", yopf: "\u{1D56A}", Yopf: "\u{1D550}", yscr: "\u{1D4CE}", Yscr: "\u{1D4B4}", yucy: "\u044E", YUcy: "\u042E", yuml: "\xFF", Yuml: "\u0178", zacute: "\u017A", Zacute: "\u0179", zcaron: "\u017E", Zcaron: "\u017D", zcy: "\ \u0437", Zcy: "\u0417", zdot: "\u017C", Zdot: "\u017B", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", zeta: "\u03B6", Zeta: "\u0396", zfr: "\u{1D537}", Zfr: "\u2128", zhcy: "\u0436", ZHcy: "\u0416", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", zscr: "\u{1D4CF}", Zscr: "\u{1D4B5}", zwj: "\u200D", zwnj: "\u200C" }, T = { aacute: "\xE1", Aacute: "\xC1", acirc: "\xE2", Acirc: "\xC2", acute: "\xB4", aelig: "\xE6", AElig: "\ \xC6", agrave: "\xE0", Agrave: "\xC0", amp: "&", AMP: "&", aring: "\xE5", Aring: "\xC5", atilde: "\xE3", Atilde: "\xC3", auml: "\xE4", Auml: "\ \xC4", brvbar: "\xA6", ccedil: "\xE7", Ccedil: "\xC7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", eacute: "\xE9", Eacute: "\xC9", ecirc: "\xEA", Ecirc: "\xCA", egrave: "\xE8", Egrave: "\xC8", eth: "\xF0", ETH: "\xD0", euml: "\ \xEB", Euml: "\xCB", frac12: "\xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", iacute: "\xED", Iacute: "\xCD", icirc: "\xEE", Icirc: "\ \xCE", iexcl: "\xA1", igrave: "\xEC", Igrave: "\xCC", iquest: "\xBF", iuml: "\xEF", Iuml: "\xCF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", ntilde: "\xF1", Ntilde: "\xD1", oacute: "\xF3", Oacute: "\xD3", ocirc: "\xF4", Ocirc: "\xD4", ograve: "\xF2", Ograve: "\xD2", ordf: "\xAA", ordm: "\xBA", oslash: "\xF8", Oslash: "\xD8", otilde: "\xF5", Otilde: "\xD5", ouml: "\xF6", Ouml: "\xD6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\ \xA7", shy: "\xAD", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", szlig: "\xDF", thorn: "\xFE", THORN: "\xDE", times: "\xD7", uacute: "\xFA", Uacute: "\ \xDA", ucirc: "\xFB", Ucirc: "\xDB", ugrave: "\xF9", Ugrave: "\xD9", uml: "\xA8", uuml: "\xFC", Uuml: "\xDC", yacute: "\xFD", Yacute: "\xDD", yen: "\xA5", yuml: "\xFF" }, p = { 0: "\uFFFD", 128: "\u20AC", 130: "\u201A", 131: "\u0192", 132: "\u201E", 133: "\u2026", 134: "\u2020", 135: "\u2021", 136: "\u02C6", 137: "\u2030", 138: "\u0160", 139: "\u2039", 140: "\u0152", 142: "\u017D", 145: "\u2018", 146: "\u2019", 147: "\ \u201C", 148: "\u201D", 149: "\u2022", 150: "\u2013", 151: "\u2014", 152: "\u02DC", 153: "\u2122", 154: "\u0161", 155: "\u203A", 156: "\u0153", 158: "\u017E", 159: "\u0178" }, h = [1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 64976, 64977, 64978, 64979, 64980, 64981, 64982, 64983, 64984, 64985, 64986, 64987, 64988, 64989, 64990, 64991, 64992, 64993, 64994, 64995, 64996, 64997, 64998, 64999, 65e3, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111], S = String.fromCharCode, D = {}, E = D. hasOwnProperty, C = /* @__PURE__ */ a(function(ee, oe) { return E.call(ee, oe); }, "has"), m = /* @__PURE__ */ a(function(ee, oe) { for (var he = -1, le = ee.length; ++he < le; ) if (ee[he] == oe) return !0; return !1; }, "contains"), v = /* @__PURE__ */ a(function(ee, oe) { if (!ee) return oe; var he = {}, le; for (le in oe) he[le] = C(ee, le) ? ee[le] : oe[le]; return he; }, "merge"), A = /* @__PURE__ */ a(function(ee, oe) { var he = ""; return ee >= 55296 && ee <= 57343 || ee > 1114111 ? (oe && x("character reference outside the permissible Unicode range"), "\uFFFD") : C(p, ee) ? (oe && x("disallowed character reference"), p[ee]) : (oe && m(h, ee) && x("disallowed character reference"), ee > 65535 && (ee -= 65536, he += S(ee >>> 10 & 1023 | 55296), ee = 56320 | ee & 1023), he += S(ee), he); }, "codePointToSymbol"), w = /* @__PURE__ */ a(function(ee) { return "&#x" + ee.toString(16).toUpperCase() + ";"; }, "hexEscape"), F = /* @__PURE__ */ a(function(ee) { return "&#" + ee + ";"; }, "decEscape"), x = /* @__PURE__ */ a(function(ee) { throw Error("Parse error: " + ee); }, "parseError"), I = /* @__PURE__ */ a(function(ee, oe) { oe = v(oe, I.options); var he = oe.strict; he && g.test(ee) && x("forbidden code point"); var le = oe.encodeEverything, ze = oe.useNamedReferences, te = oe.allowUnsafeSymbols, ve = oe.decimal ? F : w, z = /* @__PURE__ */ a(function(j) { return ve(j.charCodeAt(0)); }, "escapeBmpSymbol"); return le ? (ee = ee.replace(s, function(j) { return ze && C(l, j) ? "&" + l[j] + ";" : z(j); }), ze && (ee = ee.replace(/>\u20D2/g, ">⃒").replace(/<\u20D2/g, "<⃒").replace(/fj/g, "fj")), ze && (ee = ee.replace(u, function(j) { return "&" + l[j] + ";"; }))) : ze ? (te || (ee = ee.replace(c, function(j) { return "&" + l[j] + ";"; })), ee = ee.replace(/>\u20D2/g, ">⃒").replace(/<\u20D2/g, "<⃒"), ee = ee.replace(u, function(j) { return "&" + l[j] + ";"; })) : te || (ee = ee.replace(c, z)), ee.replace(i, function(j) { var X = j.charCodeAt(0), re = j.charCodeAt(1), ce = (X - 55296) * 1024 + re - 56320 + 65536; return ve(ce); }).replace(o, z); }, "encode"); I.options = { allowUnsafeSymbols: !1, encodeEverything: !1, strict: !1, useNamedReferences: !1, decimal: !1 }; var N = /* @__PURE__ */ a(function(ee, oe) { oe = v(oe, N.options); var he = oe.strict; return he && d.test(ee) && x("malformed character reference"), ee.replace(b, function(le, ze, te, ve, z, j, X, re, ce) { var ie, je, Q, se, fe, V; return ze ? (fe = ze, _[fe]) : te ? (fe = te, V = ve, V && oe.isAttributeValue ? (he && V == "=" && x("`&` did not start a character\ reference"), le) : (he && x( "named character reference was not terminated by a semicolon" ), T[fe] + (V || ""))) : z ? (Q = z, je = j, he && !je && x("character reference was not terminated by a semicolon"), ie = parseInt( Q, 10), A(ie, he)) : X ? (se = X, je = re, he && !je && x("character reference was not terminated by a semicolon"), ie = parseInt(se, 16), A(ie, he)) : (he && x( "named character reference was not terminated by a semicolon" ), le); }); }, "decode"); N.options = { isAttributeValue: !1, strict: !1 }; var H = /* @__PURE__ */ a(function(ee) { return ee.replace(c, function(oe) { return f[oe]; }); }, "escape"), U = { version: "1.2.0", encode: I, decode: N, escape: H, unescape: N }; if (typeof define == "function" && typeof define.amd == "object" && define.amd) define(function() { return U; }); else if (t && !t.nodeType) if (r) r.exports = U; else for (var M in U) C(U, M) && (t[M] = U[M]); else e.he = U; })(bv); }); // ../node_modules/html-minifier-terser/src/utils.js var Sv = y((yv) => { "use strict"; function jK(e, t) { var r = {}; return e.forEach(function(n) { r[n] = 1; }), t ? function(n) { return r[n.toLowerCase()] === 1; } : function(n) { return r[n] === 1; }; } a(jK, "createMap"); async function VFe(e, t, r) { let n = []; e.replace(t, (s, ...o) => { let u = r(s, ...o); n.push(u); }); let i = await Promise.all(n); return e.replace(t, () => i.shift()); } a(VFe, "replaceAsync"); yv.createMap = jK; yv.createMapFromString = function(e, t) { return jK(e.split(/,/), t); }; yv.replaceAsync = VFe; }); // ../node_modules/html-minifier-terser/src/htmlparser.js var qx = y((Cp) => { "use strict"; var HFe = Sv().createMapFromString, GK = Sv().replaceAsync; function nf(e) { return HFe(e, !0); } a(nf, "makeMap"); var jFe = /([^\s"'<>/=]+)/, GFe = [/=/], zFe = [ // attr value double quotes /"([^"]*)"+/.source, // attr value, single quotes /'([^']*)'+/.source, // attr value, no quotes /([^ \t\n\f\r"'`=<>]+)/.source ], WK = function() { var e = "\\u0300-\\u0345\\u0360\\u0361\\u0483-\\u0486\\u0591-\\u05A1\\u05A3-\\u05B9\\u05BB-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u064B-\\u0652\\u0670\\u06D6-\ \\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0901-\\u0903\\u093C\\u093E-\\u094D\\u0951-\\u0954\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\\ u09CD\\u09D7\\u09E2\\u09E3\\u0A02\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A70\\u0A71\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0\ ACD\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B43\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B82\\u0B83\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C01-\\u0C\ 03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C82\\u0C83\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D4\ 3\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\\ u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86-\\u0F8B\\u0F90-\\u0F95\\u0F97\\u0F99-\\u0FAD\\u0FB1-\\u0FB7\\u0FB9\\u20D0-\\u20DC\\u20E1\\u302A-\\u302F\\u3099\\u309A", t = "0-9\\u0660-\\u0669\\u06F0-\\u06F9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE7-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0C\ EF\\u0D66-\\u0D6F\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29", r = "\\xB7\\u02D0\\u02D1\\u0387\\u0640\\u0E46\\u0EC6\\u3005\\u3031-\\u3035\\u309D\\u309\ E\\u30FC-\\u30FE", n = "A-Za-z\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u0131\\u0134-\\u013E\\u0141-\\u0148\\u014A-\\u017E\\u0180-\\u01C3\\u01CD-\\u01F0\\u01F4\\u01F5\\u01\ FA-\\u0217\\u0250-\\u02A8\\u02BB-\\u02C1\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03CE\\u03D0-\\u03D6\\u03DA\\u03DC\\u03DE\\u03E0\\u03E2-\\u03F3\\u04\ 01-\\u040C\\u040E-\\u044F\\u0451-\\u045C\\u045E-\\u0481\\u0490-\\u04C4\\u04C7\\u04C8\\u04CB\\u04CC\\u04D0-\\u04EB\\u04EE-\\u04F5\\u04F8\\u04F9\\u0531-\\u0556\\u05\ 59\\u0561-\\u0586\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u063A\\u0641-\\u064A\\u0671-\\u06B7\\u06BA-\\u06BE\\u06C0-\\u06CE\\u06D0-\\u06D3\\u06D5\\u06E5\\u06E6\\u0\ 905-\\u0939\\u093D\\u0958-\\u0961\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A\ 05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8B\\u0A8D\\u0A8F\ -\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AE0\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B36-\ \\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u\ 0BB5\\u0BB7-\\u0BB9\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\ \\u0CB3\\u0CB5-\\u0CB9\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D60\\u0D61\\u0E01-\\u0E2E\\u0E30\\u0E32\\u0E33\\u0E40-\\\ u0E45\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD\\u0EAE\\u0EB0\\u0EB2\\u0EB3\ \\u0EBD\\u0EC0-\\u0EC4\\u0F40-\\u0F47\\u0F49-\\u0F69\\u10A0-\\u10C5\\u10D0-\\u10F6\\u1100\\u1102\\u1103\\u1105-\\u1107\\u1109\\u110B\\u110C\\u110E-\\u1112\\u113C\\\ u113E\\u1140\\u114C\\u114E\\u1150\\u1154\\u1155\\u1159\\u115F-\\u1161\\u1163\\u1165\\u1167\\u1169\\u116D\\u116E\\u1172\\u1173\\u1175\\u119E\\u11A8\\u11AB\\u11AE\\u\ 11AF\\u11B7\\u11B8\\u11BA\\u11BC-\\u11C2\\u11EB\\u11F0\\u11F9\\u1E00-\\u1E9B\\u1EA0-\\u1EF9\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u\ 1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\\ u1FF4\\u1FF6-\\u1FFC\\u2126\\u212A\\u212B\\u212E\\u2180-\\u2182\\u3007\\u3021-\\u3029\\u3041-\\u3094\\u30A1-\\u30FA\\u3105-\\u312C\\u4E00-\\u9FA5\\uAC00-\\uD7A3", i = "[" + n + "_][" + n + t + "\\.\\-_" + e + r + "]*"; return "((?:" + i + "\\:)?" + i + ")"; }(), KFe = new RegExp("^<" + WK), WFe = /^\s*(\/?)>/, Ev = new RegExp("^<\\/" + WK + "[^>]*>"), $Fe = /^]+>/i, $K = !1; "x".replace(/x(.)?/g, function(e, t) { $K = t === ""; }); var XFe = nf("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"), zK = nf("a,abbr,acrony\ m,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,\ small,span,strike,strong,sub,sup,svg,textarea,tt,u,var"), YFe = nf("colgroup,dd,dt,li,option,p,td,tfoot,th,thead,tr,source"), QFe = nf("chec\ ked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"), ZFe = nf("script,style"), JFe = nf("ad\ dress,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4\ ,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,ol,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,\ tr,track,ul"), KK = {}; function eIe(e) { var t = jFe.source + "(?:\\s*(" + tIe(e) + ")[ \\t\\n\\f\\r]*(?:" + zFe.join("|") + "))?"; if (e.customAttrSurround) { for (var r = [], n = e.customAttrSurround.length - 1; n >= 0; n--) r[n] = "(?:(" + e.customAttrSurround[n][0].source + ")\\s*" + t + "\\s*(" + e.customAttrSurround[n][1].source + "))"; r.push("(?:" + t + ")"), t = "(?:" + r.join("|") + ")"; } return new RegExp("^\\s*" + t); } a(eIe, "attrForHandler"); function tIe(e) { return GFe.concat( e.customAttrAssign || [] ).map(function(t) { return "(?:" + t.source + ")"; }).join("|"); } a(tIe, "joinSingleAttrAssigns"); var xp = class { static { a(this, "HTMLParser"); } constructor(t, r) { this.html = t, this.handler = r; } async parse() { let t = this.html, r = this.handler; for (var n = [], i, s = eIe(r), o, u, l; t; ) { if (o = t, !i || !ZFe(i)) { var c = t.indexOf("<"); if (c === 0) { if (/^"); if (f >= 0) { r.comment && await r.comment(t.substring(4, f)), t = t.substring(f + 3), u = ""; continue; } } if (/^"); if (d >= 0) { r.comment && await r.comment( t.substring(2, d + 1), !0 /* non-standard */ ), t = t.substring(d + 2), u = ""; continue; } } var g = t.match($Fe); if (g) { r.doctype && r.doctype(g[0]), t = t.substring(g[0].length), u = ""; continue; } var b = t.match(Ev); if (b) { t = t.substring(b[0].length), await GK(b[0], Ev, v), u = "/" + b[1].toLowerCase(); continue; } var _ = D(t); if (_) { t = _.rest, await C(_), u = _.tagName.toLowerCase(); continue; } r.continueOnParseError && (c = t.indexOf("<", 1)); } var T; c >= 0 ? (T = t.substring(0, c), t = t.substring(c)) : (T = t, t = ""); var p = D(t); p ? l = p.tagName : (p = t.match(Ev), p ? l = "/" + p[1] : l = ""), r.chars && await r.chars(T, u, l), u = ""; } else { var h = i.toLowerCase(), S = KK[h] || (KK[h] = new RegExp("([\\s\\S]*?)]*>", "i")); t = await GK(t, S, async (A, w) => (h !== "script" && h !== "style" && h !== "noscript" && (w = w.replace(//g, "$\ 1").replace(//g, "$1")), r.chars && await r.chars(w), "")), await v("", h); } if (t === o) throw new Error("Parse Error: " + t); } r.partialMarkup || await v(); function D(A) { var w = A.match(KFe); if (w) { var F = { tagName: w[1], attrs: [] }; A = A.slice(w[0].length); for (var x, I; !(x = A.match(WFe)) && (I = A.match(s)); ) A = A.slice(I[0].length), F.attrs.push(I); if (x) return F.unarySlash = x[1], F.rest = A.slice(x[0].length), F; } } a(D, "parseStartTag"); async function E(A) { if (m(A) >= 0) return await v("", A), !0; } a(E, "closeIfFound"); async function C(A) { var w = A.tagName, F = A.unarySlash; if (r.html5 && (i === "p" && JFe(w) ? await v("", i) : w === "tbody" ? await E("thead") : w === "tfoot" && (await E("tbody") || await E( "thead")), w === "col" && m("colgroup") < 0 && (i = "colgroup", n.push({ tag: i, attrs: [] }), r.start && await r.start(i, [], !1, ""))), !r.html5 && !zK(w)) for (; i && zK(i); ) await v("", i); YFe(w) && i === w && await v("", w); var x = XFe(w) || w === "html" && i === "head" || !!F, I = A.attrs.map(function(N) { var H, U, M, ee, oe, he, le = 7; $K && N[0].indexOf('""') === -1 && (N[3] === "" && delete N[3], N[4] === "" && delete N[4], N[5] === "" && delete N[5]); function ze(j) { return oe = N[j], U = N[j + 1], typeof U < "u" ? '"' : (U = N[j + 2], typeof U < "u" ? "'" : (U = N[j + 3], typeof U > "u" && QFe( H) && (U = H), "")); } a(ze, "populate"); var te = 1; if (r.customAttrSurround) { for (var ve = 0, z = r.customAttrSurround.length; ve < z; ve++, te += le) if (H = N[te + 1], H) { he = ze(te + 2), M = N[te], ee = N[te + 6]; break; } } return !H && (H = N[te]) && (he = ze(te + 1)), { name: H, value: U, customAssign: oe || "=", customOpen: M || "", customClose: ee || "", quote: he || "" }; }); x || (n.push({ tag: w, attrs: I }), i = w, F = ""), r.start && await r.start(w, I, x, F); } a(C, "handleStartTag"); function m(A) { var w, F = A.toLowerCase(); for (w = n.length - 1; w >= 0 && n[w].tag.toLowerCase() !== F; w--) ; return w; } a(m, "findTag"); async function v(A, w) { var F; if (w ? F = m(w) : F = 0, F >= 0) { for (var x = n.length - 1; x >= F; x--) r.end && r.end(n[x].tag, n[x].attrs, x > F || !A); n.length = F, i = F && n[F - 1].tag; } else w.toLowerCase() === "br" ? r.start && await r.start(w, [], !0, "") : w.toLowerCase() === "p" && (r.start && await r.start(w, [], !1, "", !0), r.end && r.end(w, [])); } a(v, "parseEndTag"); } }; Cp.HTMLParser = xp; Cp.HTMLtoXML = function(e) { var t = ""; return new xp(e, { start: /* @__PURE__ */ a(function(r, n, i) { t += "<" + r; for (var s = 0, o = n.length; s < o; s++) t += " " + n[s].name + '="' + (n[s].value || "").replace(/"/g, """) + '"'; t += (i ? "/" : "") + ">"; }, "start"), end: /* @__PURE__ */ a(function(r) { t += ""; }, "end"), chars: /* @__PURE__ */ a(function(r) { t += r; }, "chars"), comment: /* @__PURE__ */ a(function(r) { t += ""; }, "comment"), ignore: /* @__PURE__ */ a(function(r) { t += r; }, "ignore") }), t; }; Cp.HTMLtoDOM = function(e, t) { var r = { html: !0, head: !0, body: !0, title: !0 }, n = { link: "head", base: "head" }; t ? t = t.ownerDocument || t.getOwnerDocument && t.getOwnerDocument() || t : typeof DOMDocument < "u" ? t = new DOMDocument() : typeof document < "u" && document.implementation && document.implementation.createDocument ? t = document.implementation.createDocument("", "", null) : typeof ActiveX < "u" && (t = new ActiveXObject("Msxml.DOMDocument")); var i = [], s = t.documentElement || t.getDocumentElement && t.getDocumentElement(); if (!s && t.createElement && function() { var l = t.createElement("html"), c = t.createElement("head"); c.appendChild(t.createElement("title")), l.appendChild(c), l.appendChild(t.createElement("body")), t.appendChild(l); }(), t.getElementsByTagName) for (var o in r) r[o] = t.getElementsByTagName(o)[0]; var u = r.body; return new xp(e, { start: /* @__PURE__ */ a(function(l, c, f) { if (r[l]) { u = r[l]; return; } var d = t.createElement(l); for (var g in c) d.setAttribute(c[g].name, c[g].value); n[l] && typeof r[n[l]] != "boolean" ? r[n[l]].appendChild(d) : u && u.appendChild && u.appendChild(d), f || (i.push(d), u = d); }, "start"), end: /* @__PURE__ */ a(function() { i.length -= 1, u = i[i.length - 1]; }, "end"), chars: /* @__PURE__ */ a(function(l) { u.appendChild(t.createTextNode(l)); }, "chars"), comment: /* @__PURE__ */ a(function() { }, "comment"), ignore: /* @__PURE__ */ a(function() { }, "ignore") }), t; }; Cp.endTag = Ev; }); // ../node_modules/relateurl/lib/constants.js var Ux = y((QJe, XK) => { "use strict"; XK.exports = { // Output ABSOLUTE: "absolute", PATH_RELATIVE: "pathRelative", ROOT_RELATIVE: "rootRelative", SHORTEST: "shortest" }; }); // ../node_modules/relateurl/lib/format.js var eW = y((ZJe, JK) => { "use strict"; var oa = Ux(); function rIe(e, t) { return e.auth && !t.removeAuth && (e.extra.relation.maximumHost || t.output === oa.ABSOLUTE) ? e.auth + "@" : ""; } a(rIe, "formatAuth"); function nIe(e, t) { return e.hash ? e.hash : ""; } a(nIe, "formatHash"); function iIe(e, t) { return e.host.full && (e.extra.relation.maximumAuth || t.output === oa.ABSOLUTE) ? e.host.full : ""; } a(iIe, "formatHost"); function aIe(e, t) { var r = "", n = e.path.absolute.string, i = e.path.relative.string, s = ZK(e, t); if (e.extra.relation.maximumHost || t.output === oa.ABSOLUTE || t.output === oa.ROOT_RELATIVE) r = n; else if (i.length <= n.length && t.output === oa.SHORTEST || t.output === oa.PATH_RELATIVE) { if (r = i, r === "") { var o = QK(e, t) && !!YK(e, t); (e.extra.relation.maximumPath && !s || e.extra.relation.overridesQuery && !s && !o) && (r = "./"); } } else r = n; return r === "/" && !s && t.removeRootTrailingSlash && (!e.extra.relation.minimumPort || t.output === oa.ABSOLUTE) && (r = ""), r; } a(aIe, "formatPath"); function sIe(e, t) { return e.port && !e.extra.portIsDefault && e.extra.relation.maximumHost ? ":" + e.port : ""; } a(sIe, "formatPort"); function oIe(e, t) { return QK(e, t) ? YK(e, t) : ""; } a(oIe, "formatQuery"); function uIe(e, t) { return ZK(e, t) ? e.resource : ""; } a(uIe, "formatResource"); function lIe(e, t) { var r = ""; return (e.extra.relation.maximumHost || t.output === oa.ABSOLUTE) && (!e.extra.relation.minimumScheme || !t.schemeRelative || t.output === oa.ABSOLUTE ? r += e.scheme + "://" : r += "//"), r; } a(lIe, "formatScheme"); function cIe(e, t) { var r = ""; return r += lIe(e, t), r += rIe(e, t), r += iIe(e, t), r += sIe(e, t), r += aIe(e, t), r += uIe(e, t), r += oIe(e, t), r += nIe(e, t), r; } a(cIe, "formatUrl"); function YK(e, t) { var r = t.removeEmptyQueries && e.extra.relation.minimumPort; return e.query.string[r ? "stripped" : "full"]; } a(YK, "getQuery"); function QK(e, t) { return !e.extra.relation.minimumQuery || t.output === oa.ABSOLUTE || t.output === oa.ROOT_RELATIVE; } a(QK, "showQuery"); function ZK(e, t) { var r = t.removeDirectoryIndexes && e.extra.resourceIsIndex, n = e.extra.relation.minimumResource && t.output !== oa.ABSOLUTE && t.output !== oa.ROOT_RELATIVE; return !!e.resource && !n && !r; } a(ZK, "showResource"); JK.exports = cIe; }); // ../node_modules/relateurl/lib/util/object.js var Av = y((eet, rW) => { "use strict"; function tW(e) { if (e instanceof Object) { var t = e instanceof Array ? [] : {}; for (var r in e) e.hasOwnProperty(r) && (t[r] = tW(e[r])); return t; } return e; } a(tW, "clone"); function fIe(e) { return !!e && typeof e == "object" && e.constructor === Object; } a(fIe, "isPlainObject"); function hIe(e, t) { if (e instanceof Object && t instanceof Object) for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); return e; } a(hIe, "shallowMerge"); rW.exports = { clone: tW, isPlainObject: fIe, shallowMerge: hIe }; }); // ../node_modules/relateurl/lib/options.js var aW = y((ret, iW) => { "use strict"; var nW = Av(); function pIe(e, t) { if (nW.isPlainObject(e)) { var r = {}; for (var n in t) t.hasOwnProperty(n) && (e[n] !== void 0 ? r[n] = dIe(e[n], t[n]) : r[n] = t[n]); return r; } else return t; } a(pIe, "getOptions"); function dIe(e, t) { return t instanceof Object && e instanceof Object ? t instanceof Array && e instanceof Array ? t.concat(e) : nW.shallowMerge(e, t) : e; } a(dIe, "mergeOption"); iW.exports = pIe; }); // ../node_modules/relateurl/lib/parse/hrefInfo.js var oW = y((iet, sW) => { "use strict"; function mIe(e) { var t = !e.scheme && !e.auth && !e.host.full && !e.port, r = t && !e.path.absolute.string, n = r && !e.resource, i = n && !e.query.string. full.length, s = i && !e.hash; e.extra.hrefInfo.minimumPathOnly = t, e.extra.hrefInfo.minimumResourceOnly = r, e.extra.hrefInfo.minimumQueryOnly = n, e.extra.hrefInfo. minimumHashOnly = i, e.extra.hrefInfo.empty = s; } a(mIe, "hrefInfo"); sW.exports = mIe; }); // ../node_modules/relateurl/lib/parse/host.js var lW = y((set, uW) => { "use strict"; function gIe(e, t) { if (t.ignore_www) { var r = e.host.full; if (r) { var n = r; r.indexOf("www.") === 0 && (n = r.substr(4)), e.host.stripped = n; } } } a(gIe, "parseHost"); uW.exports = gIe; }); // ../node_modules/relateurl/lib/parse/path.js var hW = y((uet, fW) => { "use strict"; function _Ie(e, t) { var r = !1; return t.directoryIndexes.every(function(n) { return n === e ? (r = !0, !1) : !0; }), r; } a(_Ie, "isDirectoryIndex"); function vIe(e, t) { var r = e.path.absolute.string; if (r) { var n = r.lastIndexOf("/"); if (n > -1) { if (++n < r.length) { var i = r.substr(n); i !== "." && i !== ".." ? (e.resource = i, r = r.substr(0, n)) : r += "/"; } e.path.absolute.string = r, e.path.absolute.array = cW(r); } else r === "." || r === ".." ? (r += "/", e.path.absolute.string = r, e.path.absolute.array = cW(r)) : (e.resource = r, e.path.absolute. string = null); e.extra.resourceIsIndex = _Ie(e.resource, t); } } a(vIe, "parsePath"); function cW(e) { if (e !== "/") { var t = []; return e.split("/").forEach(function(r) { r !== "" && t.push(r); }), t; } else return []; } a(cW, "splitPath"); fW.exports = vIe; }); // ../node_modules/relateurl/lib/parse/port.js var dW = y((fet, pW) => { "use strict"; function bIe(e, t) { var r = -1; for (var n in t.defaultPorts) if (n === e.scheme && t.defaultPorts.hasOwnProperty(n)) { r = t.defaultPorts[n]; break; } r > -1 && (r = r.toString(), e.port === null && (e.port = r), e.extra.portIsDefault = e.port === r); } a(bIe, "parsePort"); pW.exports = bIe; }); // ../node_modules/relateurl/lib/parse/query.js var _W = y((pet, gW) => { "use strict"; var yIe = Object.prototype.hasOwnProperty; function SIe(e, t) { e.query.string.full = mW(e.query.object, !1), t.removeEmptyQueries && (e.query.string.stripped = mW(e.query.object, !0)); } a(SIe, "parseQuery"); function mW(e, t) { var r = 0, n = ""; for (var i in e) if (i !== "" && yIe.call(e, i) === !0) { var s = e[i]; (s !== "" || !t) && (n += ++r === 1 ? "?" : "&", i = encodeURIComponent(i), s !== "" ? n += i + "=" + encodeURIComponent(s).replace( /%20/g, "+") : n += i); } return n; } a(mW, "stringify"); gW.exports = SIe; }); // ../node_modules/relateurl/lib/parse/urlstring.js var bW = y((met, vW) => { "use strict"; var EIe = require("url").parse; function AIe(e) { var t = e.protocol; return t && t.indexOf(":") === t.length - 1 && (t = t.substr(0, t.length - 1)), e.host = { // TODO :: unescape(encodeURIComponent(s)) ? ... http://ecmanaut.blogspot.ca/2006/07/encoding-decoding-utf8-in-javascript.html full: e.hostname, stripped: null }, e.path = { absolute: { array: null, string: e.pathname }, relative: { array: null, string: null } }, e.query = { object: e.query, string: { full: null, stripped: null } }, e.extra = { hrefInfo: { minimumPathOnly: null, minimumResourceOnly: null, minimumQueryOnly: null, minimumHashOnly: null, empty: null, separatorOnlyQuery: e.search === "?" }, portIsDefault: null, relation: { maximumScheme: null, maximumAuth: null, maximumHost: null, maximumPort: null, maximumPath: null, maximumResource: null, maximumQuery: null, maximumHash: null, minimumScheme: null, minimumAuth: null, minimumHost: null, minimumPort: null, minimumPath: null, minimumResource: null, minimumQuery: null, minimumHash: null, overridesQuery: null }, resourceIsIndex: null, slashes: e.slashes }, e.resource = null, e.scheme = t, delete e.hostname, delete e.pathname, delete e.protocol, delete e.search, delete e.slashes, e; } a(AIe, "clean"); function TIe(e, t) { var r = !0; return t.rejectedSchemes.every(function(n) { return r = e.indexOf(n + ":") !== 0, r; }), r; } a(TIe, "validScheme"); function DIe(e, t) { return TIe(e, t) ? AIe(EIe(e, !0, t.slashesDenoteHost)) : { href: e, valid: !1 }; } a(DIe, "parseUrlString"); vW.exports = DIe; }); // ../node_modules/relateurl/lib/util/path.js var Tv = y((_et, yW) => { "use strict"; function xIe(e) { return e.length > 0 ? e.join("/") + "/" : ""; } a(xIe, "joinPath"); function CIe(e) { var t = []; return e.forEach(function(r) { r !== ".." ? r !== "." && t.push(r) : t.length > 0 && t.splice(t.length - 1, 1); }), t; } a(CIe, "resolveDotSegments"); yW.exports = { join: xIe, resolveDotSegments: CIe }; }); // ../node_modules/relateurl/lib/parse/index.js var TW = y((bet, AW) => { "use strict"; var wIe = oW(), OIe = lW(), RIe = hW(), kIe = dW(), PIe = _W(), FIe = bW(), SW = Tv(); function IIe(e, t, r) { if (e) { var n = EW(e, t), i = SW.resolveDotSegments(n.path.absolute.array); return n.path.absolute.array = i, n.path.absolute.string = "/" + SW.join(i), n; } else return r; } a(IIe, "parseFromUrl"); function EW(e, t) { var r = FIe(e, t); return r.valid === !1 || (OIe(r, t), kIe(r, t), RIe(r, t), PIe(r, t), wIe(r)), r; } a(EW, "parseUrl"); AW.exports = { from: IIe, to: EW }; }); // ../node_modules/relateurl/lib/relate/findRelation.js var xW = y((Eet, DW) => { "use strict"; function NIe(e, t, r) { var n = e.extra.hrefInfo.minimumPathOnly, i = e.scheme === t.scheme || !e.scheme, s = i && (e.auth === t.auth || r.removeAuth || n), o = r. ignore_www ? "stripped" : "full", u = s && (e.host[o] === t.host[o] || n), l = u && (e.port === t.port || n); e.extra.relation.minimumScheme = i, e.extra.relation.minimumAuth = s, e.extra.relation.minimumHost = u, e.extra.relation.minimumPort = l, e.extra.relation.maximumScheme = !i || i && !s, e.extra.relation.maximumAuth = !i || i && !u, e.extra.relation.maximumHost = !i || i && !l; } a(NIe, "findRelation_upToPath"); function LIe(e, t, r) { var n = e.extra.hrefInfo.minimumQueryOnly, i = e.extra.hrefInfo.minimumHashOnly, s = e.extra.hrefInfo.empty, o = e.extra.relation.minimumPort, u = e.extra.relation.minimumScheme, l = o && e.path.absolute.string === t.path.absolute.string, c = e.resource === t.resource || !e.resource && t.extra.resourceIsIndex || r.removeDirectoryIndexes && e.extra.resourceIsIndex && !t.resource, f = l && (c || n || i || s), d = r.removeEmptyQueries ? "stripped" : "full", g = e.query.string[d], b = t.query.string[d], _ = f && !!g && g === b || (i || s) && !e.extra.hrefInfo.separatorOnlyQuery, T = _ && e.hash === t.hash; e.extra.relation.minimumPath = l, e.extra.relation.minimumResource = f, e.extra.relation.minimumQuery = _, e.extra.relation.minimumHash = T, e.extra.relation.maximumPort = !u || u && !l, e.extra.relation.maximumPath = !u || u && !f, e.extra.relation.maximumResource = !u || u && !_, e.extra.relation.maximumQuery = !u || u && !T, e.extra.relation.maximumHash = !u || u && !T, e.extra.relation.overridesQuery = l && e. extra.relation.maximumResource && !_ && !!b; } a(LIe, "findRelation_pathOn"); DW.exports = { pathOn: LIe, upToPath: NIe }; }); // ../node_modules/relateurl/lib/relate/absolutize.js var RW = y((Tet, OW) => { "use strict"; var CW = xW(), Vx = Av(), wW = Tv(); function BIe(e, t, r) { CW.upToPath(e, t, r), e.extra.relation.minimumScheme && (e.scheme = t.scheme), e.extra.relation.minimumAuth && (e.auth = t.auth), e.extra. relation.minimumHost && (e.host = Vx.clone(t.host)), e.extra.relation.minimumPort && qIe(e, t), e.extra.relation.minimumScheme && MIe(e, t), CW.pathOn(e, t, r), e.extra.relation.minimumResource && UIe(e, t), e.extra.relation.minimumQuery && (e.query = Vx.clone(t.query)), e. extra.relation.minimumHash && (e.hash = t.hash); } a(BIe, "absolutize"); function MIe(e, t) { if (e.extra.relation.maximumHost || !e.extra.hrefInfo.minimumResourceOnly) { var r = e.path.absolute.array, n = "/"; r ? (e.extra.hrefInfo.minimumPathOnly && e.path.absolute.string.indexOf("/") !== 0 && (r = t.path.absolute.array.concat(r)), r = wW.resolveDotSegments( r), n += wW.join(r)) : r = [], e.path.absolute.array = r, e.path.absolute.string = n; } else e.path = Vx.clone(t.path); } a(MIe, "copyPath"); function qIe(e, t) { e.port = t.port, e.extra.portIsDefault = t.extra.portIsDefault; } a(qIe, "copyPort"); function UIe(e, t) { e.resource = t.resource, e.extra.resourceIsIndex = t.extra.resourceIsIndex; } a(UIe, "copyResource"); OW.exports = BIe; }); // ../node_modules/relateurl/lib/relate/relativize.js var PW = y((xet, kW) => { "use strict"; var VIe = Tv(); function HIe(e, t) { var r = [], n = !0, i = -1; return t.forEach(function(s, o) { n && (e[o] !== s ? n = !1 : i = o), n || r.push(".."); }), e.forEach(function(s, o) { o > i && r.push(s); }), r; } a(HIe, "relatePath"); function jIe(e, t, r) { if (e.extra.relation.minimumScheme) { var n = HIe(e.path.absolute.array, t.path.absolute.array); e.path.relative.array = n, e.path.relative.string = VIe.join(n); } } a(jIe, "relativize"); kW.exports = jIe; }); // ../node_modules/relateurl/lib/relate/index.js var IW = y((wet, FW) => { "use strict"; var GIe = RW(), zIe = PW(); function KIe(e, t, r) { return GIe(t, e, r), zIe(t, e, r), t; } a(KIe, "relateUrl"); FW.exports = KIe; }); // ../node_modules/relateurl/lib/index.js var MW = y((Ret, BW) => { "use strict"; var WIe = Ux(), $Ie = eW(), NW = aW(), LW = Av(), Hx = TW(), XIe = IW(); function af(e, t) { this.options = NW( t, { defaultPorts: { ftp: 21, http: 80, https: 443 }, directoryIndexes: ["index.html"], ignore_www: !1, output: af.SHORTEST, rejectedSchemes: ["data", "javascript", "mailto"], removeAuth: !1, removeDirectoryIndexes: !0, removeEmptyQueries: !1, removeRootTrailingSlash: !0, schemeRelative: !0, site: void 0, slashesDenoteHost: !0 } ), this.from = Hx.from(e, this.options, null); } a(af, "RelateUrl"); af.prototype.relate = function(e, t, r) { if (LW.isPlainObject(t) ? (r = t, t = e, e = null) : t || (t = e, e = null), r = NW(r, this.options), e = e || r.site, e = Hx.from(e, r, this.from), !e || !e.href) throw new Error("from value not defined."); if (e.extra.hrefInfo.minimumPathOnly) throw new Error("from value supplied is not absolute: " + e.href); return t = Hx.to(t, r), t.valid === !1 ? t.href : (t = XIe(e, t, r), t = $Ie(t, r), t); }; af.relate = function(e, t, r) { return new af().relate(e, t, r); }; LW.shallowMerge(af, WIe); BW.exports = af; }); // ../node_modules/html-minifier-terser/src/tokenchain.js var VW = y((Pet, UW) => { "use strict"; function qW() { } a(qW, "Sorter"); qW.prototype.sort = function(e, t) { t = t || 0; for (var r = 0, n = this.keys.length; r < n; r++) { var i = this.keys[r], s = i.slice(1), o = e.indexOf(s, t); if (o !== -1) { do o !== t && (e.splice(o, 1), e.splice(t, 0, s)), t++; while ((o = e.indexOf(s, t)) !== -1); return this[i].sort(e, t); } } return e; }; function jx() { } a(jx, "TokenChain"); jx.prototype = { add: /* @__PURE__ */ a(function(e) { var t = this; e.forEach(function(r) { var n = "$" + r; t[n] || (t[n] = [], t[n].processed = 0), t[n].push(e); }); }, "add"), createSorter: /* @__PURE__ */ a(function() { var e = this, t = new qW(); return t.keys = Object.keys(e).sort(function(r, n) { var i = e[r].length, s = e[n].length; return i < s ? 1 : i > s || r < n ? -1 : r > n ? 1 : 0; }).filter(function(r) { if (e[r].processed < e[r].length) { var n = r.slice(1), i = new jx(); return e[r].forEach(function(s) { for (var o; (o = s.indexOf(n)) !== -1; ) s.splice(o, 1); s.forEach(function(u) { e["$" + u].processed++; }), i.add(s.slice(0)); }), t[r] = i.createSorter(), !0; } return !1; }), t; }, "createSorter") }; UW.exports = jx; }); // ../node_modules/terser/lib/utils/index.js function pl(e) { return e.split(""); } function wp(e, t) { return t.includes(e); } function Wn(e, t, r) { e === !0 ? e = {} : e != null && typeof e == "object" && (e = { ...e }); let n = e || {}; if (r) { for (let i in n) if (Fr(n, i) && !Fr(t, i)) throw new Gx("`" + i + "` is not a supported option", t); } for (let i in t) if (Fr(t, i)) if (!e || !Fr(e, i)) n[i] = t[i]; else if (i === "ecma") { let s = e[i] | 0; s > 5 && s < 2015 && (s += 2009), n[i] = s; } else n[i] = e && Fr(e, i) ? e[i] : t[i]; return n; } function An() { } function Qe() { return !1; } function Ir() { return !0; } function ts() { return this; } function Ms() { return null; } function k(e, t, r) { return r || (r = {}), t && (r.start || (r.start = t.start), r.end || (r.end = t.end)), new e(r); } function _o(e, t) { e.includes(t) || e.push(t); } function dl(e, t) { return e.replace(/{(.+?)}/g, function(r, n) { return t && t[n]; }); } function vo(e, t) { for (var r = e.length; --r >= 0; ) e[r] === t && e.splice(r, 1); } function zx(e, t) { if (e.length < 2) return e.slice(); function r(i, s) { for (var o = [], u = 0, l = 0, c = 0; u < i.length && l < s.length; ) t(i[u], s[l]) <= 0 ? o[c++] = i[u++] : o[c++] = s[l++]; return u < i.length && o.push.apply(o, i.slice(u)), l < s.length && o.push.apply(o, s.slice(l)), o; } a(r, "merge"); function n(i) { if (i.length <= 1) return i; var s = Math.floor(i.length / 2), o = i.slice(0, s), u = i.slice(s); return o = n(o), u = n(u), r(o, u); } return a(n, "_ms"), n(e); } function Ze(e) { return Array.isArray(e) || (e = e.split(" ")), new Set(e.sort()); } function Op(e, t, r) { e.has(t) ? e.get(t).push(r) : e.set(t, [r]); } function HW(e) { var t = /* @__PURE__ */ new Map(); for (var r in e) Fr(e, r) && r.charAt(0) === "$" && t.set(r.substr(1), e[r]); return t; } function jW(e) { var t = /* @__PURE__ */ Object.create(null); return e.forEach(function(r, n) { t["$" + n] = r; }), t; } function Fr(e, t) { return Object.prototype.hasOwnProperty.call(e, t); } function uu(e, t) { return e === !0 || e instanceof RegExp && e.test(t); } function lu(e) { return e.replace(/[\0\n\r\u2028\u2029]/g, function(t, r) { var n = e[r - 1] == "\\" && (e[r - 2] != "\\" || /(?:^|[^\\])(?:\\{2})*$/.test(e.slice(0, r - 1))); return (n ? "" : "\\") + YIe[t]; }); } function GW(e) { let t = new Set(e.split("")), r = ""; for (let n of ZIe) t.has(n) && (r += n, t.delete(n)); return t.size && t.forEach((n) => { r += n; }), r; } function tn(e, t) { return e._annotations & t; } function sf(e, t) { e._annotations |= t; } function Kx(e, t) { e._annotations &= ~t; } var Gx, yt, YIe, QIe, Dv, ZIe, rn = we(() => { "use strict"; Nr(); a(pl, "characters"); a(wp, "member"); Gx = class extends Error { static { a(this, "DefaultsError"); } constructor(t, r) { super(), this.name = "DefaultsError", this.message = t, this.defs = r; } }; a(Wn, "defaults"); a(An, "noop"); a(Qe, "return_false"); a(Ir, "return_true"); a(ts, "return_this"); a(Ms, "return_null"); yt = function() { function e(r, n, i = !0) { let s = []; for (let o = 0; o < r.length; ++o) { let l = r[o].transform(n, i); l instanceof ne ? s.push(l) : l instanceof t && s.push(...l.v); } return s; } a(e, "MAP"), e.splice = function(r) { return new t(r); }, e.skip = {}; function t(r) { this.v = r; } return a(t, "Splice"), e; }(); a(k, "make_node"); a(_o, "push_uniq"); a(dl, "string_template"); a(vo, "remove"); a(zx, "mergeSort"); a(Ze, "makePredicate"); a(Op, "map_add"); a(HW, "map_from_object"); a(jW, "map_to_object"); a(Fr, "HOP"); a(uu, "keep_name"); YIe = { "\0": "0", "\n": "n", "\r": "r", "\u2028": "u2028", "\u2029": "u2029" }; a(lu, "regexp_source_fix"); QIe = /^[\\/|\0\s\w^$.[\]()]*$/, Dv = /* @__PURE__ */ a((e) => QIe.test(e), "regexp_is_safe"), ZIe = "dgimsuyv"; a(GW, "sort_regexp_flags"); a(tn, "has_annotation"); a(sf, "set_annotation"); a(Kx, "clear_annotation"); }); // ../node_modules/terser/lib/parse.js function qs(e, t) { if (kv(e.charCodeAt(t))) { if (Yx(e.charCodeAt(t + 1))) return e.charAt(t) + e.charAt(t + 1); } else if (Yx(e.charCodeAt(t)) && kv(e.charCodeAt(t - 1))) return e.charAt(t - 1) + e.charAt(t); return e.charAt(t); } function QW(e, t) { return kv(e.charCodeAt(t)) ? 65536 + (e.charCodeAt(t) - 55296 << 10) + e.charCodeAt(t + 1) - 56320 : e.charCodeAt(t); } function oNe(e) { for (var t = 0, r = 0; r < e.length; r++) kv(e.charCodeAt(r)) && Yx(e.charCodeAt(r + 1)) && (t++, r++); return e.length - t; } function uNe(e) { return e > 65535 ? (e -= 65536, String.fromCharCode((e >> 10) + 55296) + String.fromCharCode(e % 1024 + 56320)) : String.fromCharCode(e); } function kv(e) { return e >= 55296 && e <= 56319; } function Yx(e) { return e >= 56320 && e <= 57343; } function WW(e) { return e >= 48 && e <= 57; } function Cv(e) { return Rv.ID_Start.test(e); } function ml(e) { return Rv.ID_Continue.test(e); } function gl(e) { return ZW.test(e); } function Qx(e, t) { if (ZW.test(e)) return !0; if (!t && /[\ud800-\udfff]/.test(e)) return !1; var r = Rv.ID_Start.exec(e); return !r || r.index !== 0 ? !1 : (e = e.slice(r[0].length), e ? (r = Rv.ID_Continue.exec(e), !!r && r[0].length === e.length) : !0); } function $W(e, t = !0) { if (!t && e.includes("e")) return NaN; if (XW.test(e)) return parseInt(e.substr(2), 16); if (YW.test(e)) return parseInt(e.substr(1), 8); if (eNe.test(e)) return parseInt(e.substr(2), 8); if (tNe.test(e)) return parseInt(e.substr(2), 2); if (rNe.test(e)) return parseFloat(e); var r = parseFloat(e); if (r == e) return r; } function Ip(e, t, r, n, i) { throw new Fp(e, t, r, n, i); } function Tn(e, t, r) { return e.type == t && (r == null || e.value == r); } function lNe(e, t, r, n) { var i = { text: e, filename: t, pos: 0, tokpos: 0, line: 1, tokline: 0, col: 0, tokcol: 0, newline_before: !1, regex_allowed: !1, brace_counter: 0, template_braces: [], comments_before: [], directives: {}, directive_stack: [] }; function s() { return qs(i.text, i.pos); } a(s, "peek"); function o() { if (!(i.text.charCodeAt(i.pos + 1) === 46)) return !1; let X = i.text.charCodeAt(i.pos + 2); return X < 48 || X > 57; } a(o, "is_option_chain_op"); function u(j, X) { var re = qs(i.text, i.pos++); if (j && !re) throw $x; return xv.has(re) ? (i.newline_before = i.newline_before || !X, ++i.line, i.col = 0, re == "\r" && s() == ` ` && (++i.pos, re = ` `)) : (re.length > 1 && (++i.pos, ++i.col), ++i.col), re; } a(u, "next"); function l(j) { for (; j--; ) u(); } a(l, "forward"); function c(j) { return i.text.substr(i.pos, j.length) == j; } a(c, "looking_at"); function f() { for (var j = i.text, X = i.pos, re = i.text.length; X < re; ++X) { var ce = j[X]; if (xv.has(ce)) return X; } return -1; } a(f, "find_eol"); function d(j, X) { var re = i.text.indexOf(j, i.pos); if (X && re == -1) throw $x; return re; } a(d, "find"); function g() { i.tokline = i.line, i.tokcol = i.col, i.tokpos = i.pos; } a(g, "start_token"); var b = !1, _ = null; function T(j, X, re) { i.regex_allowed = j == "operator" && !JW.has(X) || j == "keyword" && Xx.has(X) || j == "punc" && aNe.has(X) || j == "arrow", j == "punc" && (X == "." || X == "?.") ? b = !0 : re || (b = !1); let ce = i.tokline, ie = i.tokcol, je = i.tokpos, Q = i.newline_before, se = t, fe = [], V = []; re || (fe = i.comments_before, V = i.comments_before = []), i.newline_before = !1; let Y = new So(j, X, ce, ie, je, Q, fe, V, se); return re || (_ = Y), Y; } a(T, "token"); function p() { for (; KW.has(s()); ) u(); } a(p, "skip_whitespace"); function h() { for (var j = i.pos, X = !1; j < i.text.length; ) { var re = qs(i.text, j); if (xv.has(re)) return { char: re, pos: j }; if (X) re == "*" && qs(i.text, j + 1) == "/" ? (j += 2, X = !1) : j++; else if (KW.has(re)) j++; else { if (re == "/") { var ce = qs(i.text, j + 1); if (ce == "/") return j = f(), { char: qs(i.text, j), pos: j }; if (ce == "*") { X = !0, j += 2; continue; } } return { char: re, pos: j }; } } return { char: null, pos: j }; } a(h, "peek_next_token_start_or_newline"); function S(j, X) { if (j == "\\") return !0; if (Cv(j)) { if (Wx.lastIndex = X, Wx.test(i.text)) { var re = qs(i.text, Wx.lastIndex); if (!ml(re) && re != "\\") return !1; } return !0; } return !1; } a(S, "ch_starts_binding_identifier"); function D(j) { for (var X = "", re, ce = 0; (re = s()) && j(re, ce++); ) X += u(); return X; } a(D, "read_while"); function E(j) { Ip(j, t, i.tokline, i.tokcol, i.tokpos); } a(E, "parse_error"); function C(j) { var X = !1, re = !1, ce = !1, ie = j == ".", je = !1, Q = !1, se = D(function(V, Y) { if (je) return !1; var ae = V.charCodeAt(0); switch (ae) { case 95: return Q = !0; case 98: case 66: return ce = !0; // Can occur in hex sequence, don't return false yet case 111: case 79: // oO case 120: case 88: return ce ? !1 : ce = !0; case 101: case 69: return ce ? !0 : X ? !1 : X = re = !0; case 45: return re || Y == 0 && !j; case 43: return re; case (re = !1, 46): return !ie && !ce && !X ? ie = !0 : !1; case 110: return je = !0, !0; } return ae >= 48 && ae <= 57 || ae >= 97 && ae <= 102 || ae >= 65 && ae <= 70; }); if (j && (se = j + se), Rp = se, YW.test(se) && z.has_directive("use strict") && E("Legacy octal literals are not allowed in strict mode"), Q && (se.endsWith("_") ? E("Numeric separators are not allowed at the end of numeric literals") : se.includes("__") && E("Only one under\ score is allowed as numeric separator"), se = se.replace(/_/g, "")), je) { let V = se.slice(0, -1), Y = XW.test(V), ae = $W(V, Y); if (!ie && nNe.test(se) && !isNaN(ae)) return T("big_int", V); E("Invalid or unexpected token"); } var fe = $W(se); if (isNaN(fe)) E("Invalid syntax: " + se); else return T("num", fe); } a(C, "read_num"); function m(j) { return j >= "0" && j <= "7"; } a(m, "is_octal"); function v(j, X, re) { var ce = u(!0, j); switch (ce.charCodeAt(0)) { case 110: return ` `; case 114: return "\r"; case 116: return " "; case 98: return "\b"; case 118: return "\v"; // \v case 102: return "\f"; case 120: return String.fromCharCode(w(2, X)); // \x case 117: if (s() == "{") { for (u(!0), s() === "}" && E("Expecting hex-character between {}"); s() == "0"; ) u(!0); var ie, je = d("}", !0) - i.pos; return (je > 6 || (ie = w(je, X)) > 1114111) && E("Unicode reference out of bounds"), u(!0), uNe(ie); } return String.fromCharCode(w(4, X)); case 10: return ""; // newline case 13: if (s() == ` `) return u(!0, j), ""; } return m(ce) ? (re && X && (ce === "0" && !m(s()) || E("Octal escape sequences are not allowed in template strings")), A(ce, X)) : ce; } a(v, "read_escaped_char"); function A(j, X) { var re = s(); return re >= "0" && re <= "7" && (j += u(!0), j[0] <= "3" && (re = s()) >= "0" && re <= "7" && (j += u(!0))), j === "0" ? "\0" : (j.length > 0 && z.has_directive("use strict") && X && E("Legacy octal escape sequences are not allowed in strict mode"), String.fromCharCode(parseInt( j, 8))); } a(A, "read_octal_escape_sequence"); function w(j, X) { for (var re = 0; j > 0; --j) { if (!X && isNaN(parseInt(s(), 16))) return parseInt(re, 16) || ""; var ce = u(!0); isNaN(parseInt(ce, 16)) && E("Invalid hex-character pattern in string"), re += ce; } return parseInt(re, 16); } a(w, "hex_bytes"); var F = ve("Unterminated string constant", function() { let j = i.pos; for (var X = u(), re = []; ; ) { var ce = u(!0, !0); if (ce == "\\") ce = v(!0, !0); else if (ce == "\r" || ce == ` `) E("Unterminated string constant"); else if (ce == X) break; re.push(ce); } var ie = T("string", re.join("")); return Rp = i.text.slice(j, i.pos), ie.quote = X, ie; }), x = ve("Unterminated template", function(j) { j && i.template_braces.push(i.brace_counter); var X = "", re = "", ce, ie; for (u(!0, !0); (ce = u(!0, !0)) != "`"; ) { if (ce == "\r") s() == ` ` && ++i.pos, ce = ` `; else if (ce == "$" && s() == "{") return u(!0, !0), i.brace_counter++, ie = T(j ? "template_head" : "template_cont", X), kp.set(ie, re), ie.template_end = !1, ie; if (re += ce, ce == "\\") { var je = i.pos, Q = _ && (_.type === "name" || _.type === "punc" && (_.value === ")" || _.value === "]")); ce = v(!0, !Q, !0), re += i.text.substr(je, i.pos - je); } X += ce; } return i.template_braces.pop(), ie = T(j ? "template_head" : "template_cont", X), kp.set(ie, re), ie.template_end = !0, ie; }); function I(j) { var X = i.regex_allowed, re = f(), ce; return re == -1 ? (ce = i.text.substr(i.pos), i.pos = i.text.length) : (ce = i.text.substring(i.pos, re), i.pos = re), i.col = i.tokcol + (i.pos - i.tokpos), i.comments_before.push(T(j, ce, !0)), i.regex_allowed = X, z; } a(I, "skip_line_comment"); var N = ve("Unterminated multiline comment", function() { var j = i.regex_allowed, X = d("*/", !0), re = i.text.substring(i.pos, X).replace(/\r\n|\r|\u2028|\u2029/g, ` `); return l(oNe(re) + 2), i.comments_before.push(T("comment2", re, !0)), i.newline_before = i.newline_before || re.includes(` `), i.regex_allowed = j, z; }), H = /* @__PURE__ */ a(function() { let j = i.pos, X = j - 1, re = "c"; for (; (re = i.text.charAt(++X)) && (re >= "a" && re <= "z" || re >= "A" && re <= "Z"); ) ; return X > j + 1 && re && re !== "\\" && !ml(re) && re <= "~" ? (i.pos += X - j, i.col += X - j, i.text.slice(j, i.pos)) : U(); }, "read_name"), U = ve("Unterminated identifier name", function() { var j = [], X, re = !1, ce = /* @__PURE__ */ a(function() { return re = !0, u(), s() !== "u" && E("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}"), v(!1, !0); }, "read_escaped_identifier_char"); if ((X = s()) === "\\") X = ce(), Cv(X) || E("First identifier char is an invalid identifier char"); else if (Cv(X)) u(); else return ""; for (j.push(X); (X = s()) != null; ) { if ((X = s()) === "\\") X = ce(), ml(X) || E("Invalid escaped identifier char"); else { if (!ml(X)) break; u(); } j.push(X); } let ie = j.join(""); return Pp.has(ie) && re && E("Escaped characters are not allowed in keywords"), ie; }), M = ve("Unterminated regular expression", function(j) { for (var X = !1, re, ce = !1; re = u(!0); ) if (xv.has(re)) E("Unexpected line terminator"); else if (X) /^[\u0000-\u007F]$/.test(re) ? j += "\\" + re : j += re, X = !1; else if (re == "[") ce = !0, j += re; else if (re == "]" && ce) ce = !1, j += re; else { if (re == "/" && !ce) break; re == "\\" ? X = !0 : j += re; } let ie = H(); return T("regexp", "/" + j + "/" + ie); }); function ee(j) { function X(re) { if (!s()) return re; var ce = re + s(); return zW.has(ce) ? (u(), X(ce)) : re; } return a(X, "grow"), T("operator", X(j || u())); } a(ee, "read_operator"); function oe() { switch (u(), s()) { case "/": return u(), I("comment1"); case "*": return u(), N(); } return i.regex_allowed ? M("") : ee("/"); } a(oe, "handle_slash"); function he() { return u(), s() === ">" ? (u(), T("arrow", "=>")) : ee("="); } a(he, "handle_eq_sign"); function le() { return u(), WW(s().charCodeAt(0)) ? C(".") : s() === "." ? (u(), u(), T("expand", "...")) : T("punc", "."); } a(le, "handle_dot"); function ze() { var j = H(); return b ? T("name", j) : Ov.has(j) ? T("atom", j) : wv.has(j) ? zW.has(j) ? T("operator", j) : T("keyword", j) : T("name", j); } a(ze, "read_word"); function te() { return u(), T("privatename", H()); } a(te, "read_private_word"); function ve(j, X) { return function(re) { try { return X(re); } catch (ce) { if (ce === $x) E(j); else throw ce; } }; } a(ve, "with_eof_error"); function z(j) { if (j != null) return M(j); for (n && i.pos == 0 && c("#!") && (g(), l(2), I("comment5")); ; ) { if (p(), g(), r) { if (c("") && i.newline_before) { l(3), I("comment4"); continue; } } var X = s(); if (!X) return T("eof"); var re = X.charCodeAt(0); switch (re) { case 34: case 39: return F(); case 46: return le(); case 47: { var ce = oe(); if (ce === z) continue; return ce; } case 61: return he(); case 63: { if (!o()) break; return u(), u(), T("punc", "?."); } case 96: return x(!0); case 123: i.brace_counter++; break; case 125: if (i.brace_counter--, i.template_braces.length > 0 && i.template_braces[i.template_braces.length - 1] === i.brace_counter) return x(!1); break; } if (WW(re)) return C(); if (sNe.has(X)) return T("punc", u()); if (JIe.has(X)) return ee(); if (re == 92 || Cv(X)) return ze(); if (re == 35) return te(); break; } E("Unexpected character '" + X + "'"); } return a(z, "next_token"), z.next = u, z.peek = s, z.context = function(j) { return j && (i = j), i; }, z.add_directive = function(j) { i.directive_stack[i.directive_stack.length - 1].push(j), i.directives[j] === void 0 ? i.directives[j] = 1 : i.directives[j]++; }, z.push_directives_stack = function() { i.directive_stack.push([]); }, z.pop_directives_stack = function() { for (var j = i.directive_stack[i.directive_stack.length - 1], X = 0; X < j.length; X++) i.directives[j[X]]--; i.directive_stack.pop(); }, z.has_directive = function(j) { return i.directives[j] > 0; }, z.peek_next_token_start_or_newline = h, z.ch_starts_binding_identifier = S, z; } function Vs(e, t) { let r = /* @__PURE__ */ new WeakMap(); t = Wn(t, { bare_returns: !1, ecma: null, // Legacy expression: !1, filename: null, html5_comments: !0, module: !1, shebang: !0, strict: !1, toplevel: null }, !0); var n = { input: typeof e == "string" ? lNe( e, t.filename, t.html5_comments, t.shebang ) : e, token: null, prev: null, peeked: null, in_function: 0, in_async: -1, in_generator: -1, in_directives: !0, in_loop: 0, labels: [] }; n.token = o(); function i(O, B) { return Tn(n.token, O, B); } a(i, "is"); function s() { return n.peeked || (n.peeked = n.input()); } a(s, "peek"); function o() { return n.prev = n.token, n.peeked || s(), n.token = n.peeked, n.peeked = null, n.in_directives = n.in_directives && (n.token.type == "st\ ring" || i("punc", ";")), n.token; } a(o, "next"); function u() { return n.prev; } a(u, "prev"); function l(O, B, q, W) { var Z = n.input.context(); Ip( O, Z.filename, B ?? Z.tokline, q ?? Z.tokcol, W ?? Z.tokpos ); } a(l, "croak"); function c(O, B) { l(B, O.line, O.col); } a(c, "token_error"); function f(O) { O == null && (O = n.token), c(O, "Unexpected token: " + O.type + " (" + O.value + ")"); } a(f, "unexpected"); function d(O, B) { if (i(O, B)) return o(); c(n.token, "Unexpected token " + n.token.type + " \xAB" + n.token.value + "\xBB, expected " + O + " \xAB" + B + "\xBB"); } a(d, "expect_token"); function g(O) { return d("punc", O); } a(g, "expect"); function b(O) { return O.nlb || !O.comments_before.every((B) => !B.nlb); } a(b, "has_newline_before"); function _() { return !t.strict && (i("eof") || i("punc", "}") || b(n.token)); } a(_, "can_insert_semicolon"); function T() { return n.in_generator === n.in_function; } a(T, "is_in_generator"); function p() { return n.in_async === n.in_function; } a(p, "is_in_async"); function h() { return n.in_async === n.in_function || n.in_function === 0 && n.input.has_directive("use strict"); } a(h, "can_await"); function S(O) { i("punc", ";") ? o() : !O && !_() && f(); } a(S, "semicolon"); function D() { g("("); var O = vt(!0); return g(")"), O; } a(D, "parenthesised"); function E(O) { return /* @__PURE__ */ a(function(...q) { let W = n.token, Z = O(...q); return Z.start = W, Z.end = u(), Z; }, "_embed_tokens_wrapper"); } a(E, "embed_tokens"); function C() { (i("operator", "/") || i("operator", "/=")) && (n.peeked = null, n.token = n.input(n.token.value.substr(1))); } a(C, "handle_regexp"); var m = E(/* @__PURE__ */ a(function O(B, q, W) { switch (C(), n.token.type) { case "string": if (n.in_directives) { var Z = s(); !Rp.includes("\\") && (Tn(Z, "punc", ";") || Tn(Z, "punc", "}") || b(Z) || Tn(Z, "eof")) ? n.input.add_directive(n.token.value) : n. in_directives = !1; } var be = n.in_directives, Fe = A(); return be && Fe.body instanceof Ve ? new Br(Fe.body) : Fe; case "template_head": case "num": case "big_int": case "regexp": case "operator": case "atom": return A(); case "name": if (n.token.value == "async" && Tn(s(), "keyword", "function")) return o(), o(), q && l("functions are not allowed as the body of a loop"), U(gt, !1, !0, B); if (n.token.value == "import" && !Tn(s(), "punc", "(") && !Tn(s(), "punc", ".")) { o(); var $e = L(); return S(), $e; } if (n.token.value == "using" && Tn(s(), "name") && !b(s())) { o(); var $e = se(); return S(), $e; } if (n.token.value == "await" && h() && Tn(s(), "name", "using") && !b(s())) { var hn = n.input.peek_next_token_start_or_newline(); if (n.input.ch_starts_binding_identifier(hn.char, hn.pos)) { o(); var $e = fe(); return S(), $e; } } return Tn(s(), "punc", ":") ? v() : A(); case "privatename": return n.in_class || l("Private field must be used in an enclosing class"), A(); case "punc": switch (n.token.value) { case "{": return new Le({ start: n.token, body: j(), end: u() }); case "[": case "(": return A(); case ";": return n.in_directives = !1, o(), new it(); default: f(); } case "keyword": switch (n.token.value) { case "break": return o(), w(xn); case "continue": return o(), w(ua); case "debugger": return o(), S(), new ci(); case "do": o(); var Oi = Vl(O); d("keyword", "while"); var Ri = D(); return S(!0), new Un({ body: Oi, condition: Ri }); case "while": return o(), new Yn({ condition: D(), body: Vl(function() { return O(!1, !0); }) }); case "for": return o(), F(); case "class": return o(), q && l("classes are not allowed as the body of a loop"), W && l("classes are not allowed as the body of an if"), Ut( vn, B); case "function": return o(), q && l("functions are not allowed as the body of a loop"), U(gt, !1, !1, B); case "if": return o(), z(); case "return": n.in_function == 0 && !t.bare_returns && l("'return' outside of function"), o(); var ga = null; return i("punc", ";") ? o() : _() || (ga = vt(!0), S()), new At({ value: ga }); case "switch": return o(), new Zt({ expression: D(), body: Vl(X) }); case "throw": o(), b(n.token) && l("Illegal newline after 'throw'"); var ga = vt(!0); return S(), new Eo({ value: ga }); case "try": return o(), re(); case "var": o(); var $e = ie(); return S(), $e; case "let": o(); var $e = je(); return S(), $e; case "const": o(); var $e = Q(); return S(), $e; case "with": return n.input.has_directive("use strict") && l("Strict mode may not include a with statement"), o(), new Er({ expression: D(), body: O() }); case "export": if (!Tn(s(), "punc", "(")) { o(); var $e = fn(); return i("punc", ";") && S(), $e; } } } f(); }, "statement")); function v() { var O = La(hu); O.name === "await" && p() && c(n.prev, "await cannot be used as label inside async function"), n.labels.some((q) => q.name === O.name) && l("Label " + O.name + " defined twice"), g(":"), n.labels.push(O); var B = m(); return n.labels.pop(), B instanceof Xn || O.references.forEach(function(q) { q instanceof ua && (q = q.label.start, l( "Continue label `" + O.name + "` refers to non-IterationStatement.", q.line, q.col, q.pos )); }), new Ht({ body: B, label: O }); } a(v, "labeled_statement"); function A(O) { return new me({ body: (O = vt(!0), S(), O) }); } a(A, "simple_statement"); function w(O) { var B = null, q; _() || (B = La(of, !0)), B != null ? (q = n.labels.find((Z) => Z.name === B.name), q || l("Undefined label " + B.name), B.thedef = q) : n. in_loop == 0 && l(O.TYPE + " not inside a loop or switch"), S(); var W = new O({ label: B }); return q && q.references.push(W), W; } a(w, "break_cont"); function F() { var O = "`for await` invalid in this context", B = n.token; B.type == "name" && B.value == "await" ? (h() || c(B, O), o()) : B = !1, g("("); var q = null; if (i("punc", ";")) B && c(B, O); else { q = i("keyword", "var") ? (o(), ie(!0)) : i("keyword", "let") ? (o(), je(!0)) : i("keyword", "const") ? (o(), Q(!0)) : i("name", "usin\ g") && Tn(s(), "name") && (s().value != "of" || n.input.peek_next_token_start_or_newline().char == "=") ? (o(), se(!0)) : i("name", "await") && h() && Tn(s(), "name", "using") ? (o(), fe(!0)) : vt(!0, !0); var W = i("operator", "in"), Z = i("name", "of"); if (B && !Z && c(B, O), W || Z) return q instanceof an ? (q.definitions.length > 1 && c(q.start, "Only one variable declaration allowed in for..in loop"), W && q instanceof nn && c(q.start, "Invalid using declaration in for..in loop")) : Tb(q) || (q = Ul(q)) instanceof Je || c(q.start, "Invalid left-hand\ side in for..in loop"), o(), W ? N(q) : I(q, !!B); } return x(q); } a(F, "for_"); function x(O) { g(";"); var B = i("punc", ";") ? null : vt(!0); g(";"); var q = i("punc", ")") ? null : vt(!0); return g(")"), new Dt({ init: O, condition: B, step: q, body: Vl(function() { return m(!1, !0); }) }); } a(x, "regular_for"); function I(O, B) { var q = O instanceof an ? O.definitions[0].name : null, W = vt(!0); return g(")"), new ca({ await: B, init: O, name: q, object: W, body: Vl(function() { return m(!1, !0); }) }); } a(I, "for_of"); function N(O) { var B = vt(!0); return g(")"), new qt({ init: O, object: B, body: Vl(function() { return m(!1, !0); }) }); } a(N, "for_in"); var H = /* @__PURE__ */ a(function(O, B, q) { b(n.token) && l("Unexpected newline before arrow (=>)"), d("arrow", "=>"); var W = ze(i("punc", "{"), !1, q); return new pt({ start: O, end: W.end, async: q, argnames: B, body: W }); }, "arrow_function"), U = /* @__PURE__ */ a(function(O, B, q, W) { var Z = O === gt; i("operator", "*") && (B = !0, o()); var be = i("name") ? La(Z ? Qn : jn) : null; Z && !be && (W ? O = ot : f()), be && O !== li && !(be instanceof Wt) && f(u()); var Fe = [], $e = ze(!0, B, q, be, Fe); return new O({ start: Fe.start, end: $e.end, is_generator: B, async: q, name: be, argnames: Fe, body: $e }); }, "function_"); class M { static { a(this, "UsedParametersTracker"); } constructor(B, q, W = !1) { this.is_parameter = B, this.duplicates_ok = W, this.parameters = /* @__PURE__ */ new Set(), this.duplicate = null, this.default_assignment = !1, this.spread = !1, this.strict_mode = !!q; } add_parameter(B) { if (this.parameters.has(B.value)) this.duplicate === null && (this.duplicate = B), this.check_strict(); else if (this.parameters.add(B.value), this.is_parameter) switch (B.value) { case "arguments": case "eval": case "yield": this.strict_mode && c(B, "Unexpected " + B.value + " identifier as parameter inside strict mode"); break; default: Pp.has(B.value) && f(); } } mark_default_assignment(B) { this.default_assignment === !1 && (this.default_assignment = B); } mark_spread(B) { this.spread === !1 && (this.spread = B); } mark_strict_mode() { this.strict_mode = !0; } is_strict() { return this.default_assignment !== !1 || this.spread !== !1 || this.strict_mode; } check_strict() { this.is_strict() && this.duplicate !== null && !this.duplicates_ok && c(this.duplicate, "Parameter " + this.duplicate.value + " was us\ ed already"); } } function ee(O) { var B = new M(!0, n.input.has_directive("use strict")); for (g("("); !i("punc", ")"); ) { var q = oe(B); if (O.push(q), i("punc", ")") || g(","), q instanceof Ne) break; } o(); } a(ee, "parameters"); function oe(O, B) { var q, W = !1; return O === void 0 && (O = new M(!0, n.input.has_directive("use strict"))), i("expand", "...") && (W = n.token, O.mark_spread(n.token), o()), q = he(O, B), i("operator", "=") && W === !1 && (O.mark_default_assignment(n.token), o(), q = new yr({ start: q.start, left: q, operator: "=", right: vt(!1), end: n.token })), W !== !1 && (i("punc", ")") || f(), q = new Ne({ start: W, expression: q, end: W })), O.check_strict(), q; } a(oe, "parameter"); function he(O, B) { var q = [], W = !0, Z = !1, be, Fe = n.token; if (O === void 0) { let ga = n.input.has_directive("use strict"), Vr = B === yi; O = new M(!1, ga, Vr); } if (B = B === void 0 ? Kt : B, i("punc", "[")) { for (o(); !i("punc", "]"); ) { if (W ? W = !1 : g(","), i("expand", "...") && (Z = !0, be = n.token, O.mark_spread(n.token), o()), i("punc")) switch (n.token.value) { case ",": q.push(new bn({ start: n.token, end: n.token })); continue; case "]": break; case "[": case "{": q.push(he(O, B)); break; default: f(); } else i("name") ? (O.add_parameter(n.token), q.push(La(B))) : l("Invalid function parameter"); i("operator", "=") && Z === !1 && (O.mark_default_assignment(n.token), o(), q[q.length - 1] = new yr({ start: q[q.length - 1].start, left: q[q.length - 1], operator: "=", right: vt(!1), end: n.token })), Z && (i("punc", "]") || l("Rest element must be last element"), q[q.length - 1] = new Ne({ start: be, expression: q[q.length - 1], end: be })); } return g("]"), O.check_strict(), new Je({ start: Fe, names: q, is_array: !0, end: u() }); } else if (i("punc", "{")) { for (o(); !i("punc", "}"); ) { if (W ? W = !1 : g(","), i("expand", "...") && (Z = !0, be = n.token, O.mark_spread(n.token), o()), i("name") && (Tn(s(), "punc") || Tn(s(), "operator")) && [",", "}", "="].includes(s().value)) { O.add_parameter(n.token); var $e = u(), hn = La(B); Z ? q.push(new Ne({ start: be, expression: hn, end: hn.end })) : q.push(new et({ start: $e, key: hn.name, value: hn, end: hn.end })); } else { if (i("punc", "}")) continue; var Oi = n.token, Ri = _t(); Ri === null ? f(u()) : u().type === "name" && !i("punc", ":") ? q.push(new et({ start: u(), key: Ri, value: new B({ start: u(), name: Ri, end: u() }), end: u() })) : (g(":"), q.push(new et({ start: Oi, quote: Oi.quote, key: Ri, value: he(O, B), end: u() }))); } Z ? i("punc", "}") || l("Rest element must be last element") : i("operator", "=") && (O.mark_default_assignment(n.token), o(), q[q.length - 1].value = new yr({ start: q[q.length - 1].value.start, left: q[q.length - 1].value, operator: "=", right: vt(!1), end: n.token })); } return g("}"), O.check_strict(), new Je({ start: Fe, names: q, is_array: !1, end: u() }); } else { if (i("name")) return O.add_parameter(n.token), La(B); l("Invalid function parameter"); } } a(he, "binding_element"); function le(O, B) { var q, W, Z, be = []; for (g("("); !i("punc", ")"); ) q && f(q), i("expand", "...") ? (q = n.token, B && (W = n.token), o(), be.push(new Ne({ start: u(), expression: vt(), end: n.token }))) : be.push(vt()), i("punc", ")") || (g(","), i("punc", ")") && (Z = u(), B && (W = Z))); return g(")"), O && i("arrow", "=>") ? q && Z && f(Z) : W && f(W), be; } a(le, "params_or_seq_"); function ze(O, B, q, W, Z) { var be = n.in_loop, Fe = n.labels, $e = n.in_generator, hn = n.in_async; if (++n.in_function, B && (n.in_generator = n.in_function), q && (n.in_async = n.in_function), Z && ee(Z), O && (n.in_directives = !0), n. in_loop = 0, n.labels = [], O) { n.input.push_directives_stack(); var Oi = j(); W && Cu(W), Z && Z.forEach(Cu), n.input.pop_directives_stack(); } else var Oi = [new At({ start: n.token, value: vt(!1), end: n.token })]; return --n.in_function, n.in_loop = be, n.labels = Fe, n.in_generator = $e, n.in_async = hn, Oi; } a(ze, "_function_body"); function te() { return h() || l( "Unexpected await expression outside async function", n.prev.line, n.prev.col, n.prev.pos ), new zr({ start: u(), end: n.token, expression: Sb(!0) }); } a(te, "_await_expression"); function ve() { var O = n.token, B = !1, q = !0; return _() || i("punc") && iNe.has(n.token.value) || i("template_cont") ? q = !1 : i("operator", "*") && (B = !0, o()), new Mr({ start: O, is_star: B, expression: q ? vt() : null, end: u() }); } a(ve, "_yield_expression"); function z() { var O = D(), B = m(!1, !1, !0), q = null; return i("keyword", "else") && (o(), q = m(!1, !1, !0)), new at({ condition: O, body: B, alternative: q }); } a(z, "if_"); function j() { g("{"); for (var O = []; !i("punc", "}"); ) i("eof") && f(), O.push(m()); return o(), O; } a(j, "block_"); function X() { g("{"); for (var O = [], B = null, q = null, W; !i("punc", "}"); ) i("eof") && f(), i("keyword", "case") ? (q && (q.end = u()), B = [], q = new Cn({ start: (W = n.token, o(), W), expression: vt(!0), body: B }), O.push(q), g(":")) : i("keyword", "default") ? (q && (q.end = u()), B = [], q = new Ki({ start: (W = n.token, o(), g(":"), W), body: B }), O.push(q)) : (B || f(), B.push(m())); return q && (q.end = u()), o(), O; } a(X, "switch_body_"); function re() { var O, B = null, q = null; if (O = new fu({ start: n.token, body: j(), end: u() }), i("keyword", "catch")) { var W = n.token; if (o(), i("punc", "{")) var Z = null; else { g("("); var Z = oe(void 0, Zn); g(")"); } B = new Vn({ start: W, argname: Z, body: j(), end: u() }); } if (i("keyword", "finally")) { var W = n.token; o(), q = new as({ start: W, body: j(), end: u() }); } return !B && !q && l("Missing catch/finally blocks"), new Ar({ body: O, bcatch: B, bfinally: q }); } a(re, "try_"); function ce(O, B) { for (var q = [], W; ; ) { var Z = B === "var" ? yi : B === "const" ? pa : B === "let" ? os : B === "using" ? la : B === "await using" ? la : null, be = B === "u\ sing" || B === "await using" ? _l : Lt; if (i("punc", "{") || i("punc", "[") ? W = new be({ start: n.token, name: he(void 0, Z), value: i("operator", "=") ? (d("operator", "="), vt(!1, O)) : null, end: u() }) : (W = new be({ start: n.token, name: La(Z), value: i("operator", "=") ? (o(), vt(!1, O)) : !O && (B === "const" || B === "using" || B === "await using") ? l("Missing initialize\ r in " + B + " declaration") : null, end: u() }), W.name.name == "import" && l("Unexpected token: import")), q.push(W), !i("punc", ",")) break; o(); } return q; } a(ce, "vardefs"); var ie = /* @__PURE__ */ a(function(O) { return new Ft({ start: u(), definitions: ce(O, "var"), end: u() }); }, "var_"), je = /* @__PURE__ */ a(function(O) { return new fa({ start: u(), definitions: ce(O, "let"), end: u() }); }, "let_"), Q = /* @__PURE__ */ a(function(O) { return new ha({ start: u(), definitions: ce(O, "const"), end: u() }); }, "const_"), se = /* @__PURE__ */ a(function(O) { return new nn({ start: u(), await: !1, definitions: ce(O, "using"), end: u() }); }, "using_"), fe = /* @__PURE__ */ a(function(O) { return new nn({ start: u(), await: !0, definitions: (o(), ce(O, "await using")), end: u() }); }, "await_using_"), V = /* @__PURE__ */ a(function(O) { var B = n.token; if (d("operator", "new"), i("punc", ".")) return o(), d("name", "target"), In(new ss({ start: B, end: u() }), O); var q = Pe(!1), W; i("punc", "(") ? (o(), W = ut(")", !0)) : W = []; var Z = new Dr({ start: B, expression: q, args: W, end: u() }); return _i(Z), In(Z, O); }, "new_"); function Y() { var O = n.token, B; switch (O.type) { case "name": B = _s(ue); break; case "num": B = new Ae({ start: O, end: O, value: O.value, raw: Rp }); break; case "big_int": B = new un({ start: O, end: O, value: O.value, raw: Rp }); break; case "string": B = new Ve({ start: O, end: O, value: O.value, quote: O.quote }), _i(B); break; case "regexp": let [q, W, Z] = O.value.match(/^\/(.*)\/(\w*)$/); B = new or({ start: O, end: O, value: { source: W, flags: Z } }); break; case "atom": switch (O.value) { case "false": B = new Ei({ start: O, end: O }); break; case "true": B = new Sn({ start: O, end: O }); break; case "null": B = new ln({ start: O, end: O }); break; } break; } return o(), B; } a(Y, "as_atom_node"); function ae(O, B) { var q = /* @__PURE__ */ a(function(W, Z) { return Z ? new yr({ start: W.start, left: W, operator: "=", right: Z, end: Z.end }) : W; }, "insert_default"); if (O instanceof Ge) return q(new Je({ start: O.start, end: O.end, is_array: !1, names: O.properties.map((W) => ae(W)) }), B); if (O instanceof et) return O.value = ae(O.value), q(O, B); if (O instanceof bn) return O; if (O instanceof Je) return O.names = O.names.map((W) => ae(W)), q(O, B); if (O instanceof ue) return q(new Kt({ name: O.name, start: O.start, end: O.end }), B); if (O instanceof Ne) return O.expression = ae(O.expression), q(O, B); if (O instanceof Me) return q(new Je({ start: O.start, end: O.end, is_array: !0, names: O.elements.map((W) => ae(W)) }), B); if (O instanceof Ie) return q(ae(O.left, O.right), B); if (O instanceof yr) return O.left = ae(O.left), O; l("Invalid function parameter", O.start.line, O.start.col); } a(ae, "to_fun_args"); var Pe = /* @__PURE__ */ a(function(O, B) { if (i("operator", "new")) return V(O); if (i("name", "import") && Tn(s(), "punc", ".")) return de(O); var q = n.token, W, Z = i("name", "async") && (W = s()).value != "[" && W.type != "arrow" && Y(); if (i("punc")) { switch (n.token.value) { case "(": if (Z && !O) break; var be = le(B, !Z); if (B && i("arrow", "=>")) return H(q, be.map((Vr) => ae(Vr)), !!Z); var Fe = Z ? new pe({ expression: Z, args: be }) : uC(q, be); if (Fe.start) { let Vr = q.comments_before.length; if (r.set(q, Vr), Fe.start.comments_before.unshift(...q.comments_before), q.comments_before = Fe.start.comments_before, Vr == 0 && q.comments_before.length > 0) { var $e = q.comments_before[0]; $e.nlb || ($e.nlb = q.nlb, q.nlb = !1); } q.comments_after = Fe.start.comments_after; } Fe.start = q; var hn = u(); return Fe.end && (hn.comments_before = Fe.end.comments_before, Fe.end.comments_after.push(...hn.comments_after), hn.comments_after = Fe.end.comments_after), Fe.end = hn, Fe instanceof pe && _i(Fe), In(Fe, O); case "[": return In(tr(), O); case "{": return In(rr(), O); } Z || f(); } if (B && i("name") && Tn(s(), "arrow")) { var Oi = new Kt({ name: n.token.value, start: q, end: q }); return o(), H(q, [Oi], !!Z); } if (i("keyword", "function")) { o(); var Ri = U(ot, !1, !!Z); return Ri.start = q, Ri.end = u(), In(Ri, O); } if (Z) return In(Z, O); if (i("keyword", "class")) { o(); var ga = Ut(ui); return ga.start = q, ga.end = u(), In(ga, O); } if (i("template_head")) return In(Ye(), O); if (pNe.has(n.token.type)) return In(Y(), O); f(); }, "expr_atom"); function Ye() { var O = [], B = n.token; for (O.push(new $n({ start: n.token, raw: kp.get(n.token), value: n.token.value, end: n.token })); !n.token.template_end; ) o(), C(), O.push(vt(!0)), O.push(new $n({ start: n.token, raw: kp.get(n.token), value: n.token.value, end: n.token })); return o(), new Qt({ start: B, segments: O, end: n.token }); } a(Ye, "template_string"); function ut(O, B, q) { for (var W = !0, Z = []; !i("punc", O) && (W ? W = !1 : g(","), !(B && i("punc", O))); ) i("punc", ",") && q ? Z.push(new bn({ start: n.token, end: n.token })) : i("expand", "...") ? (o(), Z.push(new Ne({ start: u(), expression: vt(), end: n.token }))) : Z.push(vt(!1)); return o(), Z; } a(ut, "expr_list"); var tr = E(function() { return g("["), new Me({ elements: ut("]", !t.strict, !0) }); }), Nt = E((O, B) => U(li, O, B)), rr = E(/* @__PURE__ */ a(function() { var B = n.token, q = !0, W = []; for (g("{"); !i("punc", "}") && (q ? q = !1 : g(","), !(!t.strict && i("punc", "}"))); ) { if (B = n.token, B.type == "expand") { o(), W.push(new Ne({ start: B, expression: vt(!1), end: u() })); continue; } i("privatename") && l("private fields are not allowed in an object"); var Z = _t(), be; if (i("punc", ":")) Z === null ? f(u()) : (o(), be = vt(!1)); else { var Fe = nr(Z, B); if (Fe) { W.push(Fe); continue; } be = new ue({ start: u(), name: Z, end: u() }); } i("operator", "=") && (o(), be = new Ie({ start: B, left: be, operator: "=", right: vt(!1), logical: !1, end: u() })); let $e = new et({ start: B, quote: B.quote, key: Z, value: be, end: u() }); W.push(_i($e)); } return o(), new Ge({ properties: W }); }, "object_or_destructuring_")); function Ut(O, B) { var q, W, Z, be, Fe = []; n.input.push_directives_stack(), n.input.add_directive("use strict"), n.token.type == "name" && n.token.value != "extends" && (Z = La(O === vn ? vl : bl)), O === vn && !Z && (B ? O = ui : f()), n.token.value == "extends" && (o(), be = vt(!0)), g("{"); let $e = n.in_class; for (n.in_class = !0; i("punc", ";"); ) o(); for (; !i("punc", "}"); ) for (q = n.token, W = nr(_t(), q, !0), W || f(), Fe.push(W); i("punc", ";"); ) o(); return n.in_class = $e, n.input.pop_directives_stack(), o(), new O({ start: q, name: Z, extends: be, properties: Fe, end: u() }); } a(Ut, "class_"); function nr(O, B, q) { let W = /* @__PURE__ */ a((Vr, td) => typeof Vr == "string" ? new td({ start: B, name: Vr, end: u() }) : (Vr === null && f(), Vr), "get_\ symbol_ast"); var Z = u().type === "privatename"; let be = /* @__PURE__ */ a(() => !i("punc", "(") && !i("punc", ",") && !i("punc", "}") && !i("punc", ";") && !i("operator", "=") && !Z, "\ is_not_method_start"); var Fe = !1, $e = !1, hn = !1, Oi = null; if (q && O === "static" && be()) { let Vr = Yr(); if (Vr != null) return Vr; $e = !0, O = _t(); } O === "async" && be() && (Fe = !0, O = _t()), u().type === "operator" && u().value === "*" && (hn = !0, O = _t()), (O === "get" || O === "set") && be() && (Oi = O, O = _t()), !Z && u().type === "privatename" && (Z = !0); let Ri = u(); if (Oi != null) if (Z) { let Vr = Oi === "get" ? on : yn; return _i(new Vr({ start: B, static: $e, key: W(O, Sr), value: Nt(), end: u() })); } else { let Vr = Oi === "get" ? wn : Hn; return O = W(O, Sr), _i(new Vr({ start: B, static: $e, key: O, quote: O instanceof Sr ? Ri.quote : void 0, value: Nt(), end: u() })); } if (i("punc", "(")) { O = W(O, Sr); let Vr = Z ? qr : sr; var ga = new Vr({ start: B, static: $e, key: O, quote: O instanceof Sr ? Ri.quote : void 0, value: Nt(hn, Fe), end: u() }); return _i(ga); } if (q) { let Vr = Z ? yo : Si, td = Z ? Ur : Kr, Db = W(O, Vr), lC = Db instanceof Si ? Ri.quote : void 0; if (i("operator", "=")) return o(), _i( new td({ start: B, static: $e, quote: lC, key: Db, value: vt(!1), end: u() }) ); if (i("name") || i("privatename") || i("punc", "[") || i("operator", "*") || i("punc", ";") || i("punc", "}") || i("string") || i("num") || i("big_int")) return _i( new td({ start: B, static: $e, quote: lC, key: Db, end: u() }) ); } } a(nr, "object_or_class_property"); function Yr() { if (!i("punc", "{")) return null; let O = n.token, B = []; for (o(); !i("punc", "}"); ) B.push(m()); return o(), new Jt({ start: O, body: B, end: u() }); } a(Yr, "class_static_block"); function ql() { return (i("keyword", "with") || i("name", "assert")) && !b(n.token) ? (o(), rr()) : null; } a(ql, "maybe_import_attributes"); function L() { var O = u(), B, q; i("name") && (B = La(rs)), i("punc", ",") && o(), q = Bt(!0), (q || B) && d("name", "from"); var W = n.token; W.type !== "string" && f(), o(); let Z = ql(); return new Tr({ start: O, imported_name: B, imported_names: q, module_name: new Ve({ start: W, value: W.value, quote: W.quote, end: W }), attributes: Z, end: n.token }); } a(L, "import_statement"); function de(O) { var B = n.token; return d("name", "import"), d("punc", "."), d("name", "meta"), In(new fi({ start: B, end: u() }), O); } a(de, "import_meta"); function Be(O) { function B($e, hn) { return new $e({ name: _t(), quote: hn || void 0, start: u(), end: u() }); } a(B, "make_symbol"); var q = O ? bo : ns, W = O ? rs : is, Z = n.token, be, Fe; return O ? be = B(q, Z.quote) : Fe = B(W, Z.quote), i("name", "as") ? (o(), O ? Fe = B(W) : be = B(q, n.token.quote)) : O ? Fe = new W(be) : be = new q(Fe), new qn({ start: Z, foreign_name: be, name: Fe, end: u() }); } a(Be, "map_name"); function Ce(O, B) { var q = O ? bo : ns, W = O ? rs : is, Z = n.token, be, Fe, $e = u(); return O ? be = B : Fe = B, be = be || new W({ start: Z, name: "*", end: $e }), Fe = Fe || new q({ start: Z, name: "*", end: $e }), new qn({ start: Z, foreign_name: Fe, name: be, end: $e }); } a(Ce, "map_nameAsterisk"); function Bt(O) { var B; if (i("punc", "{")) { for (o(), B = []; !i("punc", "}"); ) B.push(Be(O)), i("punc", ",") && o(); o(); } else if (i("operator", "*")) { var q; o(), i("name", "as") && (o(), q = O ? La(rs) : yb(ns)), B = [Ce(O, q)]; } return B; } a(Bt, "map_names"); function fn() { var O = n.token, B, q; if (i("keyword", "default")) B = !0, o(); else if (q = Bt(!1)) if (i("name", "from")) { o(); var W = n.token; W.type !== "string" && f(), o(); let $e = ql(); return new Et({ start: O, is_default: B, exported_names: q, module_name: new Ve({ start: W, value: W.value, quote: W.quote, end: W }), end: u(), attributes: $e }); } else return new Et({ start: O, is_default: B, exported_names: q, end: u() }); var Z, be, Fe; return i("punc", "{") || B && (i("keyword", "class") || i("keyword", "function")) && Tn(s(), "punc") ? (be = vt(!1), S()) : (Z = m(B)) instanceof Lr && B ? f(Z.start) : Z instanceof Lr || Z instanceof gt || Z instanceof vn ? Fe = Z : Z instanceof ui || Z instanceof ot ? be = Z : Z instanceof me ? be = Z.body : f(Z.start), new Et({ start: O, is_default: B, exported_value: be, exported_definition: Fe, end: u(), attributes: null }); } a(fn, "export_statement"); function _t() { var O = n.token; switch (O.type) { case "punc": if (O.value === "[") { o(); var B = vt(!1); return g("]"), B; } else f(O); case "operator": if (O.value === "*") return o(), null; ["delete", "in", "instanceof", "new", "typeof", "void"].includes(O.value) || f(O); /* falls through */ case "name": case "privatename": case "string": case "keyword": case "atom": return o(), O.value; case "num": case "big_int": return o(), "" + O.value; default: f(O); } } a(_t, "as_property_name"); function Fn() { var O = n.token; return O.type != "name" && O.type != "privatename" && f(), o(), O.value; } a(Fn, "as_name"); function _s(O) { var B = n.token.value; return new (B == "this" ? jt : B == "super" ? us : O)({ name: String(B), start: n.token, end: n.token }); } a(_s, "_make_symbol"); function Cu(O) { var B = O.name; T() && B == "yield" && c(O.start, "Yield cannot be used as identifier inside generators"), n.input.has_directive("use strict") && (B == "\ yield" && c(O.start, "Unexpected yield identifier inside strict mode"), O instanceof Wt && (B == "arguments" || B == "eval") && c(O.start, "\ Unexpected " + B + " in strict mode")); } a(Cu, "_verify_symbol"); function La(O, B) { if (!i("name")) return B || l("Name expected"), null; var q = _s(O); return Cu(q), o(), q; } a(La, "as_symbol"); function yb(O) { if (!i("name")) { i("string") || l("Name or string expected"); var B = n.token, q = new O({ start: B, end: B, name: B.value, quote: B.quote }); return o(), q; } var W = _s(O); return Cu(W), o(), W; } a(yb, "as_symbol_or_string"); function _i(O, B = O.start) { var q = B.comments_before; let W = r.get(B); for (var Z = W ?? q.length; --Z >= 0; ) { var be = q[Z]; if (/[@#]__/.test(be.value)) { if (/[@#]__PURE__/.test(be.value)) { sf(O, uf); break; } if (/[@#]__INLINE__/.test(be.value)) { sf(O, lf); break; } if (/[@#]__NOINLINE__/.test(be.value)) { sf(O, ls); break; } if (/[@#]__KEY__/.test(be.value)) { sf(O, yl); break; } if (/[@#]__MANGLE_PROP__/.test(be.value)) { sf(O, Sl); break; } } } return O; } a(_i, "annotate"); var In = /* @__PURE__ */ a(function(O, B, q) { var W = O.start; if (i("punc", ".")) { o(), i("privatename") && !n.in_class && l("Private field must be used in an enclosing class"); let Fe = i("privatename") ? sn : nt; return _i(In(new Fe({ start: W, expression: O, optional: !1, property: Fn(), end: u() }), B, q)); } if (i("punc", "[")) { o(); var Z = vt(!0); return g("]"), _i(In(new Tt({ start: W, expression: O, optional: !1, property: Z, end: u() }), B, q)); } if (B && i("punc", "(")) { o(); var be = new pe({ start: W, expression: O, optional: !1, args: aC(), end: u() }); return _i(be), In(be, !0, q); } if (i("punc", "?.")) { o(); let Fe; if (B && i("punc", "(")) { o(); let $e = new pe({ start: W, optional: !0, expression: O, args: aC(), end: u() }); _i($e), Fe = In($e, !0, !0); } else if (i("name") || i("privatename")) { i("privatename") && !n.in_class && l("Private field must be used in an enclosing class"); let $e = i("privatename") ? sn : nt; Fe = _i(In(new $e({ start: W, expression: O, optional: !0, property: Fn(), end: u() }), B, !0)); } else if (i("punc", "[")) { o(); let $e = vt(!0); g("]"), Fe = _i(In(new Tt({ start: W, expression: O, optional: !0, property: $e, end: u() }), B, !0)); } return Fe || f(), Fe instanceof dt ? Fe : new dt({ start: W, expression: Fe, end: u() }); } return i("template_head") ? (q && f(), In(new Dn({ start: W, prefix: O, template_string: Ye(), end: u() }), B)) : O; }, "subscripts"); function aC() { for (var O = []; !i("punc", ")"); ) i("expand", "...") ? (o(), O.push(new Ne({ start: u(), expression: vt(!1), end: u() }))) : O.push(vt(!1)), i("punc", ")") || g(","); return o(), O; } a(aC, "call_args"); var Sb = /* @__PURE__ */ a(function(O, B) { var q = n.token; if (q.type == "name" && q.value == "await" && h()) return o(), te(); if (i("operator") && cNe.has(q.value)) { o(), C(); var W = sC(Se, q, Sb(O)); return W.start = q, W.end = u(), W; } for (var Z = Pe(O, B); i("operator") && JW.has(n.token.value) && !b(n.token); ) Z instanceof pt && f(), Z = sC(hi, n.token, Z), Z.start = q, Z.end = n.token, o(); return Z; }, "maybe_unary"); function sC(O, B, q) { var W = B.value; switch (W) { case "++": case "--": Tb(q) || l("Invalid use of " + W + " operator", B.line, B.col, B.pos); break; case "delete": q instanceof ue && n.input.has_directive("use strict") && l("Calling delete on expression not allowed in strict mode", q.start.line, q.start.col, q.start.pos); break; } return new O({ operator: W, expression: q }); } a(sC, "make_unary"); var Eb = /* @__PURE__ */ a(function(O, B, q) { var W = i("operator") ? n.token.value : null; W == "in" && q && (W = null), W == "**" && O instanceof Se && !Tn(O.start, "punc", "(") && O.operator !== "--" && O.operator !== "++" && f(O.start); var Z = W != null ? bi[W] : null; if (Z != null && (Z > B || W === "**" && B === Z)) { o(); var be = Ab(q, Z, !0); return Eb(new K({ start: O.start, left: O, operator: W, right: be, end: be.end }), B, q); } return O; }, "expr_op"); function Ab(O, B, q, W) { if (!O && B < bi.in && i("privatename")) { n.in_class || l("Private field must be used in an enclosing class"); let Z = n.token, be = new yo({ start: Z, name: Z.value, end: Z }); o(), d("operator", "in"); let Fe = new On({ start: Z, key: be, value: Ab(O, bi.in, !0), end: u() }); return Eb(Fe, 0, O); } else return Eb(Sb(q, W), B, O); } a(Ab, "expr_ops"); var ZY = /* @__PURE__ */ a(function(O) { var B = n.token, q = Ab(O, 0, !0, !0); if (i("operator", "?")) { o(); var W = vt(!1); return g(":"), new Te({ start: B, condition: q, consequent: W, alternative: vt(!1, O), end: u() }); } return q; }, "maybe_conditional"); function Tb(O) { return O instanceof _e || O instanceof ue; } a(Tb, "is_assignable"); function Ul(O) { if (O instanceof Ge) O = new Je({ start: O.start, names: O.properties.map(Ul), is_array: !1, end: O.end }); else if (O instanceof Me) { for (var B = [], q = 0; q < O.elements.length; q++) O.elements[q] instanceof Ne && (q + 1 !== O.elements.length && c(O.elements[q].start, "Spread must the be last element in destructur\ ing array"), O.elements[q].expression = Ul(O.elements[q].expression)), B.push(Ul(O.elements[q])); O = new Je({ start: O.start, names: B, is_array: !0, end: O.end }); } else O instanceof Ot ? O.value = Ul(O.value) : O instanceof Ie && (O = new yr({ start: O.start, left: O.left, operator: "=", right: O.right, end: O.end })); return O; } a(Ul, "to_destructuring"); var oC = /* @__PURE__ */ a(function(O) { C(); var B = n.token; if (B.type == "name" && B.value == "yield") { if (T()) return o(), ve(); n.input.has_directive("use strict") && c(n.token, "Unexpected yield identifier inside strict mode"); } var q = ZY(O), W = n.token.value; if (i("operator") && fNe.has(W)) { if (Tb(q) || (q = Ul(q)) instanceof Je) return o(), new Ie({ start: B, left: q, operator: W, right: oC(O), logical: hNe.has(W), end: u() }); l("Invalid assignment"); } return q; }, "maybe_assign"), uC = /* @__PURE__ */ a(function(O, B) { if (B.length === 1) return B[0]; if (B.length > 1) return new Ee({ start: O, expressions: B, end: s() }); l("Invalid parenthesized expression"); }, "to_expr_or_sequence"), vt = /* @__PURE__ */ a(function(O, B) { for (var q = n.token, W = []; W.push(oC(B)), !(!O || !i("punc", ",")); ) o(), O = !0; return uC(q, W); }, "expression"); function Vl(O) { ++n.in_loop; var B = O(); return --n.in_loop, B; } return a(Vl, "in_loop"), t.expression ? vt(!0) : (/* @__PURE__ */ a(function() { var B = n.token, q = []; for (n.input.push_directives_stack(), t.module && n.input.add_directive("use strict"); !i("eof"); ) q.push(m()); n.input.pop_directives_stack(); var W = u(), Z = t.toplevel; return Z ? (Z.body = Z.body.concat(q), Z.end = W) : Z = new lt({ start: B, body: q, end: W }), kp = /* @__PURE__ */ new Map(), Z; }, "parse_toplevel"))(); } var Rp, kp, wv, Ov, Pp, Us, Xx, JIe, XW, YW, eNe, tNe, rNe, nNe, Wx, zW, KW, xv, iNe, aNe, sNe, Rv, ZW, Fp, $x, cNe, JW, fNe, hNe, bi, pNe, cu = we( () => { "use strict"; rn(); Nr(); Rp = "", kp = /* @__PURE__ */ new Map(), wv = "break case catch class const continue debugger default delete do else export extends finall\ y for function if in instanceof let new return switch throw try typeof var void while with", Ov = "false null true", Pp = "enum import super\ this " + Ov + " " + wv, Us = "implements interface package private protected public static " + Pp, Xx = "return new delete throw else case \ yield await"; wv = Ze(wv); Pp = Ze(Pp); Xx = Ze(Xx); Ov = Ze(Ov); Us = Ze(Us); JIe = Ze(pl("+-*&%=<>!?|~^")), XW = /^0x[0-9a-f]+$/i, YW = /^0[0-7]+$/, eNe = /^0o[0-7]+$/i, tNe = /^0b[01]+$/i, rNe = /^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i, nNe = /^(0[xob])?[0-9a-f]+n$/i, Wx = /in(?:stanceof)?/y, zW = Ze([ "in", "instanceof", "typeof", "new", "void", "delete", "++", "--", "+", "-", "!", "~", "&", "|", "^", "*", "**", "/", "%", ">>", "<<", ">>>", "<", ">", "<=", ">=", "==", "===", "!=", "!==", "?", "=", "+=", "-=", "||=", "&&=", "??=", "/=", "*=", "**=", "%=", ">>=", "<<=", ">>>=", "|=", "^=", "&=", "&&", "??", "||" ]), KW = Ze(pl(` \xA0 \r \f\v\u200B\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`)), xv = Ze(pl(` \r\u2028\u2029`)), iNe = Ze(pl(";]),:")), aNe = Ze(pl("[{(,;:")), sNe = Ze(pl("[]{}(),;:")), Rv = { ID_Start: /[$A-Z_a-z\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\u08A0-\u08B4\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\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\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\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-\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\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\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\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\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[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD82C[\uDC00\uDC01]|\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]|\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]|\uD87E[\uDC00-\uDE1D]/, ID_Continue: /(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\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\u08A0-\u08B4\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\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\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\u0C81-\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\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\u1369-\u1371\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-\u19DA\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\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\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\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\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[\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\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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]|\uD82C[\uDC00\uDC01]|\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]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/ }; a(qs, "get_full_char"); a(QW, "get_full_char_code"); a(oNe, "get_full_char_length"); a(uNe, "from_char_code"); a(kv, "is_surrogate_pair_head"); a(Yx, "is_surrogate_pair_tail"); a(WW, "is_digit"); a(Cv, "is_identifier_start"); a(ml, "is_identifier_char"); ZW = /^[a-z_$][a-z0-9_$]*$/i; a(gl, "is_basic_identifier_string"); a(Qx, "is_identifier_string"); a($W, "parse_js_number"); Fp = class extends Error { static { a(this, "JS_Parse_Error"); } constructor(t, r, n, i, s) { super(), this.name = "SyntaxError", this.message = t, this.filename = r, this.line = n, this.col = i, this.pos = s; } }; a(Ip, "js_error"); a(Tn, "is_token"); $x = {}; a(lNe, "tokenizer"); cNe = Ze([ "typeof", "void", "delete", "--", "++", "!", "~", "-", "+" ]), JW = Ze(["--", "++"]), fNe = Ze(["=", "+=", "-=", "??=", "&&=", "||=", "/=", "*=", "**=", "%=", ">>=", "<<=", ">>>=", "|=", "^=", "&="]), hNe = Ze(["??=", "&&=", "||="]), bi = function(e, t) { for (var r = 0; r < e.length; ++r) for (let n of e[r]) t[n] = r + 1; return t; }( [ ["||"], ["??"], ["&&"], ["|"], ["^"], ["&"], ["==", "===", "!=", "!=="], ["<", ">", "<=", ">=", "in", "instanceof"], [">>", "<<", ">>>"], ["+", "-"], ["*", "/", "%"], ["**"] ], {} ), pNe = Ze(["atom", "num", "big_int", "string", "regexp", "name"]); a(Vs, "parse"); }); // ../node_modules/terser/lib/ast.js function J(e, t, r, n, i = ne) { t ? t = t.split(/\s+/) : t = []; var s = t; i && i.PROPS && (t = t.concat(i.PROPS)); let o = i && Object.create(i.prototype); if (o && (r.prototype = o, r.BASE = i), i && i.SUBCLASSES.push(r), r.prototype.CTOR = r, r.prototype.constructor = r, r.PROPS = t || null, r.SELF_PROPS = s, r.SUBCLASSES = [], e && (r.prototype.TYPE = r.TYPE = e), n) for (let u in n) Fr(n, u) && (u[0] === "$" ? r[u.substr(1)] = n[u] : r.prototype[u] = n[u]); return r.DEFMETHOD = function(u, l) { this.prototype[u] = l; }, r; } function pu(e, t) { let r = e.body; for (var n = 0, i = r.length; n < i; n++) r[n]._walk(t); } function Zx(e) { var t = this._clone(e); return this.block_scope && (t.block_scope = this.block_scope.clone()), t; } function Rt(e, t, r = [e]) { let n = r.push.bind(r); for (; r.length; ) { let i = r.pop(), s = t(i, r); if (s) { if (s === cn) return !0; continue; } i._children_backwards(n); } return !1; } function hf(e, t, r) { let n = [e], i = n.push.bind(n), s = r ? r.slice() : [], o = [], u, l = { parent: /* @__PURE__ */ a((c = 0) => c === -1 ? u : r && c >= s.length ? (c -= s.length, r[r.length - (c + 1)]) : s[s.length - (1 + c)], "parent") }; for (; n.length; ) { for (u = n.pop(); o.length && n.length == o[o.length - 1]; ) s.pop(), o.pop(); let c = t(u, l); if (c) { if (c === cn) return !0; continue; } let f = n.length; u._children_backwards(i), n.length > f && (s.push(u), o.push(f - 1)); } return !1; } var Pv, Fv, e$, t$, r$, n$, So, ne, Xt, ci, Br, me, It, Le, it, du, Ht, Xn, cf, Un, Yn, Dt, qt, ca, Er, De, lt, Ne, ge, li, ot, pt, gt, Je, Dn, Qt, $n, mu, En, At, Eo, Jn, xn, ua, zr, Mr, at, Zt, Ai, Ki, Cn, Ar, fu, Vn, as, an, Lr, Ft, fa, ha, nn, Ti, Lt, _l, qn, Tr, fi, Et, pe, Dr, Ee, _e, nt, sn, Tt, dt, st, Se, hi, K, Te, Ie, yr, Me, Ge, Ot, et, yn, on, Hn, wn, sr, qr, qe, Kr, Ur, On, vn, Jt, ui, He, ss, Wt, yi, wa, pa, la, os, Kt, Qn, Sr, Si, jn, vl, bl, Zn, rs, bo, hu, ue, is, ns, of, yo, jt, us, Xe, Ve, Ae, un, or, Hs, ln, gu, xt, bn, cs, ff, Ei, Sn, cn, $t, Wr, uf, lf, ls, yl, Sl, Nr = we(() => { rn(); cu(); a(J, "DEFNODE"); Pv = /* @__PURE__ */ a((e, t) => !!(e.flags & t), "has_tok_flag"), Fv = /* @__PURE__ */ a((e, t, r) => { r ? e.flags |= t : e.flags &= ~t; }, "set_tok_flag"), e$ = 1, t$ = 2, r$ = 4, n$ = 8, So = class { static { a(this, "AST_Token"); } constructor(t, r, n, i, s, o, u, l, c) { this.flags = o ? 1 : 0, this.type = t, this.value = r, this.line = n, this.col = i, this.pos = s, this.comments_before = u, this.comments_after = l, this.file = c, Object.seal(this); } // Return a string summary of the token for node.js console.log [Symbol.for("nodejs.util.inspect.custom")](t, r) { let n = /* @__PURE__ */ a((o) => r.stylize(o, "special"), "special"), i = typeof this.value == "string" && this.value.includes("`") ? "\ '" : "`", s = `${i}${this.value}${i}`; return `${n("[AST_Token")} ${s} at ${this.line}:${this.col}${n("]")}`; } get nlb() { return Pv(this, e$); } set nlb(t) { Fv(this, e$, t); } get quote() { return Pv(this, r$) ? Pv(this, t$) ? "'" : '"' : ""; } set quote(t) { Fv(this, t$, t === "'"), Fv(this, r$, !!t); } get template_end() { return Pv(this, n$); } set template_end(t) { Fv(this, n$, t); } }, ne = J("Node", "start end", /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Node"), { _clone: /* @__PURE__ */ a(function(e) { if (e) { var t = this.clone(); return t.transform(new Wr(function(r) { if (r !== t) return r.clone(!0); })); } return new this.CTOR(this); }, "_clone"), clone: /* @__PURE__ */ a(function(e) { return this._clone(e); }, "clone"), $documentation: "Base class of all AST nodes", $propdoc: { start: "[AST_Token] The first token of this node", end: "[AST_Token] The last token of this node" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this); }, "_walk"), walk: /* @__PURE__ */ a(function(e) { return this._walk(e); }, "walk"), _children_backwards: /* @__PURE__ */ a(() => { }, "_children_backwards") }, null), Xt = J("Statement", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Statement"), { $documentation: "Base class of all statements" }), ci = J("Debugger", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Debugger"), { $documentation: "Represents a debugger statement" }, Xt), Br = J("Directive", "value quote", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.quote = t.quote, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Directive"), { $documentation: 'Represents a directive, like "use strict";', $propdoc: { value: "[string] The value of this directive as a plain string (it's not an AST_String!)", quote: "[string] the original quote character" } }, Xt), me = J("SimpleStatement", "body", /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_SimpleStatement"), { $documentation: "A statement consisting of an expression, i.e. a = 1 + 2", $propdoc: { body: "[AST_Node] an expression node (should not be instanceof AST_Statement)" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.body._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.body); } }, Xt); a(pu, "walk_body"); a(Zx, "clone_block_scope"); It = J("Block", "body block_scope", /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Block"), { $documentation: "A body of statements (usually braced)", $propdoc: { body: "[AST_Statement*] an array of statements", block_scope: "[AST_Scope] the block scope" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { pu(this, e); }); }, "_walk"), _children_backwards(e) { let t = this.body.length; for (; t--; ) e(this.body[t]); }, clone: Zx }, Xt), Le = J("BlockStatement", null, /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_BlockStatement"), { $documentation: "A block statement" }, It), it = J("EmptyStatement", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_EmptyStatement"), { $documentation: "The empty statement (empty block or simply a semicolon)" }, Xt), du = J("StatementWithBody", "body", /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_StatementWithBody"), { $documentation: "Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`", $propdoc: { body: "[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement" } }, Xt), Ht = J("LabeledStatement", "label", /* @__PURE__ */ a(function(t) { t && (this.label = t.label, this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_LabeledStatement"), { $documentation: "Statement with a label", $propdoc: { label: "[AST_Label] a label definition" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.label._walk(e), this.body._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.body), e(this.label); }, clone: /* @__PURE__ */ a(function(e) { var t = this._clone(e); if (e) { var r = t.label, n = this.label; t.walk(new $t(function(i) { i instanceof Jn && i.label && i.label.thedef === n && (i.label.thedef = r, r.references.push(i)); })); } return t; }, "clone") }, du), Xn = J( "IterationStatement", "block_scope", /* @__PURE__ */ a(function(t) { t && (this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_IterationStatement"), { $documentation: "Internal class. All loops inherit from it.", $propdoc: { block_scope: "[AST_Scope] the block scope for this iteration statement." }, clone: Zx }, du ), cf = J("DWLoop", "condition", /* @__PURE__ */ a(function(t) { t && (this.condition = t.condition, this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_DWLoop"), { $documentation: "Base class for do/while statements", $propdoc: { condition: "[AST_Node] the loop condition. Should not be instanceof AST_Statement" } }, Xn), Un = J("Do", null, /* @__PURE__ */ a(function(t) { t && (this.condition = t.condition, this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_Do"), { $documentation: "A `do` statement", _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.body._walk(e), this.condition._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.condition), e(this.body); } }, cf), Yn = J("While", null, /* @__PURE__ */ a(function(t) { t && (this.condition = t.condition, this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_While"), { $documentation: "A `while` statement", _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.condition._walk(e), this.body._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.body), e(this.condition); } }, cf), Dt = J("For", "init condition step", /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.condition = t.condition, this.step = t.step, this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_For"), { $documentation: "A `for` statement", $propdoc: { init: "[AST_Node?] the `for` initialization code, or null if empty", condition: "[AST_Node?] the `for` termination clause, or null if empty", step: "[AST_Node?] the `for` update clause, or null if empty" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.init && this.init._walk(e), this.condition && this.condition._walk(e), this.step && this.step._walk(e), this.body._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.body), this.step && e(this.step), this.condition && e(this.condition), this.init && e(this.init); } }, Xn), qt = J("ForIn", "init object", /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.object = t.object, this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_ForIn"), { $documentation: "A `for ... in` statement", $propdoc: { init: "[AST_Node] the `for/in` initialization code", object: "[AST_Node] the object that we're looping through" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.init._walk(e), this.object._walk(e), this.body._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.body), this.object && e(this.object), this.init && e(this.init); } }, Xn), ca = J("ForOf", "await", /* @__PURE__ */ a(function(t) { t && (this.await = t.await, this.init = t.init, this.object = t.object, this.block_scope = t.block_scope, this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_ForOf"), { $documentation: "A `for ... of` statement" }, qt), Er = J("With", "expression", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.body = t.body, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_With"), { $documentation: "A `with` statement", $propdoc: { expression: "[AST_Node] the `with` expression" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e), this.body._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.body), e(this.expression); } }, du), De = J( "Scope", "variables uses_with uses_eval parent_scope enclosed cname", /* @__PURE__ */ a(function(t) { t && (this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this. enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t. end), this.flags = 0; }, "AST_Scope"), { $documentation: "Base class for all statements introducing a lexical scope", $propdoc: { variables: "[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope", uses_with: "[boolean/S] tells whether this scope uses the `with` statement", uses_eval: "[boolean/S] tells whether this scope contains a direct call to the global `eval`", parent_scope: "[AST_Scope?/S] link to the parent scope", enclosed: "[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes", cname: "[integer/S] current index for mangling variables (used internally by the mangler)" }, get_defun_scope: /* @__PURE__ */ a(function() { for (var e = this; e.is_block_scope(); ) e = e.parent_scope; return e; }, "get_defun_scope"), clone: /* @__PURE__ */ a(function(e, t) { var r = this._clone(e); return e && this.variables && t && !this._block_scope ? r.figure_out_scope({}, { toplevel: t, parent_scope: this.parent_scope }) : (this.variables && (r.variables = new Map(this.variables)), this.enclosed && (r.enclosed = this.enclosed.slice()), this._block_scope && (r._block_scope = this._block_scope)), r; }, "clone"), pinned: /* @__PURE__ */ a(function() { return this.uses_eval || this.uses_with; }, "pinned") }, It ), lt = J("Toplevel", "globals", /* @__PURE__ */ a(function(t) { t && (this.globals = t.globals, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this.enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Toplevel"), { $documentation: "The toplevel scope", $propdoc: { globals: "[Map/S] a map of name -> SymbolDef for all undeclared names" }, wrap_commonjs: /* @__PURE__ */ a(function(e) { var t = this.body, r = "(function(exports){'$ORIG';})(typeof " + e + "=='undefined'?(" + e + "={}):" + e + ");"; return r = Vs(r), r = r.transform(new Wr(function(n) { if (n instanceof Br && n.value == "$ORIG") return yt.splice(t); })), r; }, "wrap_commonjs"), wrap_enclose: /* @__PURE__ */ a(function(e) { typeof e != "string" && (e = ""); var t = e.indexOf(":"); t < 0 && (t = e.length); var r = this.body; return Vs([ "(function(", e.slice(0, t), '){"$ORIG"})(', e.slice(t + 1), ")" ].join("")).transform(new Wr(function(n) { if (n instanceof Br && n.value == "$ORIG") return yt.splice(r); })); }, "wrap_enclose") }, De), Ne = J("Expansion", "expression", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Expansion"), { $documentation: "An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such\ as var [first, ...rest] = list", $propdoc: { expression: "[AST_Node] the thing to be expanded" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression.walk(e); }); }, "_walk"), _children_backwards(e) { e(this.expression); } }), ge = J( "Lambda", "name argnames uses_arguments is_generator async", /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.argnames = t.argnames, this.uses_arguments = t.uses_arguments, this.is_generator = t.is_generator, this. async = t.async, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this.enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Lambda"), { $documentation: "Base class for functions", $propdoc: { name: "[AST_SymbolDeclaration?] the name of this function", argnames: "[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or exp\ anding arguments", uses_arguments: "[boolean/S] tells whether this function accesses the arguments array", is_generator: "[boolean] is this a generator method", async: "[boolean] is this method async" }, args_as_names: /* @__PURE__ */ a(function() { for (var e = [], t = 0; t < this.argnames.length; t++) this.argnames[t] instanceof Je ? e.push(...this.argnames[t].all_symbols()) : e.push(this.argnames[t]); return e; }, "args_as_names"), _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.name && this.name._walk(e); for (var t = this.argnames, r = 0, n = t.length; r < n; r++) t[r]._walk(e); pu(this, e); }); }, "_walk"), _children_backwards(e) { let t = this.body.length; for (; t--; ) e(this.body[t]); for (t = this.argnames.length; t--; ) e(this.argnames[t]); this.name && e(this.name); }, is_braceless() { return this.body[0] instanceof At && this.body[0].value; }, // Default args and expansion don't count, so .argnames.length doesn't cut it length_property() { let e = 0; for (let t of this.argnames) (t instanceof Kt || t instanceof Je) && e++; return e; } }, De ), li = J("Accessor", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.argnames = t.argnames, this.uses_arguments = t.uses_arguments, this.is_generator = t.is_generator, this.async = t.async, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this. enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Accessor"), { $documentation: "A setter/getter function. The `name` property is always null." }, ge), ot = J("Function", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.argnames = t.argnames, this.uses_arguments = t.uses_arguments, this.is_generator = t.is_generator, this.async = t.async, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this. enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Function"), { $documentation: "A function expression" }, ge), pt = J("Arrow", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.argnames = t.argnames, this.uses_arguments = t.uses_arguments, this.is_generator = t.is_generator, this.async = t.async, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this. enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Arrow"), { $documentation: "An ES6 Arrow function ((a) => b)" }, ge), gt = J("Defun", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.argnames = t.argnames, this.uses_arguments = t.uses_arguments, this.is_generator = t.is_generator, this.async = t.async, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this. enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Defun"), { $documentation: "A function definition" }, ge), Je = J("Destructuring", "names is_array", /* @__PURE__ */ a(function(t) { t && (this.names = t.names, this.is_array = t.is_array, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Destructuring"), { $documentation: "A destructuring of several names. Used in destructuring assignment and with destructuring function argument names", $propdoc: { names: "[AST_Node*] Array of properties or elements", is_array: "[Boolean] Whether the destructuring represents an object or array" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.names.forEach(function(t) { t._walk(e); }); }); }, "_walk"), _children_backwards(e) { let t = this.names.length; for (; t--; ) e(this.names[t]); }, all_symbols: /* @__PURE__ */ a(function() { var e = []; return Rt(this, (t) => { if (t instanceof Wt && e.push(t), t instanceof ge) return !0; }), e; }, "all_symbols") }), Dn = J( "PrefixedTemplateString", "template_string prefix", /* @__PURE__ */ a(function(t) { t && (this.template_string = t.template_string, this.prefix = t.prefix, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_PrefixedTemplateString"), { $documentation: "A templatestring with a prefix, such as String.raw`foobarbaz`", $propdoc: { template_string: "[AST_TemplateString] The template string", prefix: "[AST_Node] The prefix, which will get called." }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.prefix._walk(e), this.template_string._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.template_string), e(this.prefix); } } ), Qt = J("TemplateString", "segments", /* @__PURE__ */ a(function(t) { t && (this.segments = t.segments, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_TemplateString"), { $documentation: "A template string literal", $propdoc: { segments: "[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_\ Node must be followed by AST_TemplateSegment." }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.segments.forEach(function(t) { t._walk(e); }); }); }, "_walk"), _children_backwards(e) { let t = this.segments.length; for (; t--; ) e(this.segments[t]); } }), $n = J("TemplateSegment", "value raw", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.raw = t.raw, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_TemplateSegment"), { $documentation: "A segment of a template string literal", $propdoc: { value: "Content of the segment", raw: "Raw source of the segment" } }), mu = J("Jump", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Jump"), { $documentation: "Base class for \u201Cjumps\u201D (for now that's `return`, `throw`, `break` and `continue`)" }, Xt), En = J("Exit", "value", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Exit"), { $documentation: "Base class for \u201Cexits\u201D (`return` and `throw`)", $propdoc: { value: "[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, this.value && function() { this.value._walk(e); }); }, "_walk"), _children_backwards(e) { this.value && e(this.value); } }, mu), At = J("Return", null, /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Return"), { $documentation: "A `return` statement" }, En), Eo = J("Throw", null, /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Throw"), { $documentation: "A `throw` statement" }, En), Jn = J("LoopControl", "label", /* @__PURE__ */ a(function(t) { t && (this.label = t.label, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_LoopControl"), { $documentation: "Base class for loop control statements (`break` and `continue`)", $propdoc: { label: "[AST_LabelRef?] the label, or null if none" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, this.label && function() { this.label._walk(e); }); }, "_walk"), _children_backwards(e) { this.label && e(this.label); } }, mu), xn = J("Break", null, /* @__PURE__ */ a(function(t) { t && (this.label = t.label, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Break"), { $documentation: "A `break` statement" }, Jn), ua = J("Continue", null, /* @__PURE__ */ a(function(t) { t && (this.label = t.label, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Continue"), { $documentation: "A `continue` statement" }, Jn), zr = J("Await", "expression", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Await"), { $documentation: "An `await` statement", $propdoc: { expression: "[AST_Node] the mandatory expression being awaited" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.expression); } }), Mr = J("Yield", "expression is_star", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.is_star = t.is_star, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Yield"), { $documentation: "A `yield` statement", $propdoc: { expression: "[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star \ is set to false", is_star: "[Boolean] Whether this is a yield or yield* statement" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, this.expression && function() { this.expression._walk(e); }); }, "_walk"), _children_backwards(e) { this.expression && e(this.expression); } }), at = J("If", "condition alternative", /* @__PURE__ */ a(function(t) { t && (this.condition = t.condition, this.alternative = t.alternative, this.body = t.body, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_If"), { $documentation: "A `if` statement", $propdoc: { condition: "[AST_Node] the `if` condition", alternative: "[AST_Statement?] the `else` part, or null if not present" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.condition._walk(e), this.body._walk(e), this.alternative && this.alternative._walk(e); }); }, "_walk"), _children_backwards(e) { this.alternative && e(this.alternative), e(this.body), e(this.condition); } }, du), Zt = J("Switch", "expression", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_Switch"), { $documentation: "A `switch` statement", $propdoc: { expression: "[AST_Node] the `switch` \u201Cdiscriminant\u201D" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e), pu(this, e); }); }, "_walk"), _children_backwards(e) { let t = this.body.length; for (; t--; ) e(this.body[t]); e(this.expression); } }, It), Ai = J("SwitchBranch", null, /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_SwitchBranch"), { $documentation: "Base class for `switch` branches" }, It), Ki = J("Default", null, /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Default"), { $documentation: "A `default` switch branch" }, Ai), Cn = J("Case", "expression", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_Case"), { $documentation: "A `case` switch branch", $propdoc: { expression: "[AST_Node] the `case` expression" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e), pu(this, e); }); }, "_walk"), _children_backwards(e) { let t = this.body.length; for (; t--; ) e(this.body[t]); e(this.expression); } }, Ai), Ar = J("Try", "body bcatch bfinally", /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.bcatch = t.bcatch, this.bfinally = t.bfinally, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Try"), { $documentation: "A `try` statement", $propdoc: { body: "[AST_TryBlock] the try block", bcatch: "[AST_Catch?] the catch block, or null if not present", bfinally: "[AST_Finally?] the finally block, or null if not present" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.body._walk(e), this.bcatch && this.bcatch._walk(e), this.bfinally && this.bfinally._walk(e); }); }, "_walk"), _children_backwards(e) { this.bfinally && e(this.bfinally), this.bcatch && e(this.bcatch), e(this.body); } }, Xt), fu = J("TryBlock", null, /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_TryBlock"), { $documentation: "The `try` block of a try statement" }, It), Vn = J("Catch", "argname", /* @__PURE__ */ a(function(t) { t && (this.argname = t.argname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Catch"), { $documentation: "A `catch` node; only makes sense as part of a `try` statement", $propdoc: { argname: "[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.argname && this.argname._walk(e), pu(this, e); }); }, "_walk"), _children_backwards(e) { let t = this.body.length; for (; t--; ) e(this.body[t]); this.argname && e(this.argname); } }, It), as = J("Finally", null, /* @__PURE__ */ a(function(t) { t && (this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Finally"), { $documentation: "A `finally` node; only makes sense as part of a `try` statement" }, It), an = J("DefinitionsLike", "definitions", /* @__PURE__ */ a(function(t) { t && (this.definitions = t.definitions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_DefinitionsLike"), { $documentation: "Base class for variable definitions and `using`", $propdoc: { definitions: "[AST_VarDef*|AST_UsingDef*] array of variable definitions" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { for (var t = this.definitions, r = 0, n = t.length; r < n; r++) t[r]._walk(e); }); }, "_walk"), _children_backwards(e) { let t = this.definitions.length; for (; t--; ) e(this.definitions[t]); } }, Xt), Lr = J("Definitions", null, /* @__PURE__ */ a(function(t) { t && (this.definitions = t.definitions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Definitions"), { $documentation: "Base class for `var` or `const` nodes (variable declarations/initializations)" }, an), Ft = J("Var", null, /* @__PURE__ */ a(function(t) { t && (this.definitions = t.definitions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Var"), { $documentation: "A `var` statement" }, Lr), fa = J("Let", null, /* @__PURE__ */ a(function(t) { t && (this.definitions = t.definitions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Let"), { $documentation: "A `let` statement" }, Lr), ha = J("Const", null, /* @__PURE__ */ a(function(t) { t && (this.definitions = t.definitions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Const"), { $documentation: "A `const` statement" }, Lr), nn = J("Using", "await", /* @__PURE__ */ a(function(t) { t && (this.await = t.await, this.definitions = t.definitions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Using"), { $documentation: "A `using` statement", $propdoc: { await: "[boolean] Whether it's `await using`" } }, an), Ti = J("VarDefLike", "name value", /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_VarDefLike"), { $documentation: "A name=value pair in a variable definition statement or `using`", $propdoc: { name: "[AST_Destructuring|AST_SymbolDeclaration] name of the variable", value: "[AST_Node?] initializer, or null of there's no initializer" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.name._walk(e), this.value && this.value._walk(e); }); }, "_walk"), _children_backwards(e) { this.value && e(this.value), e(this.name); }, declarations_as_names() { return this.name instanceof Wt ? [this.name] : this.name.all_symbols(); } }), Lt = J("VarDef", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_VarDef"), { $documentation: "A variable declaration; only appears in a AST_Definitions node" }, Ti), _l = J("UsingDef", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_UsingDef"), { $documentation: "Like VarDef but specific to AST_Using" }, Ti), qn = J("NameMapping", "foreign_name name", /* @__PURE__ */ a(function(t) { t && (this.foreign_name = t.foreign_name, this.name = t.name, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_NameMapping"), { $documentation: "The part of the export/import statement that declare names from a module.", $propdoc: { foreign_name: "[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)", name: "[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module." }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.foreign_name._walk(e), this.name._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.name), e(this.foreign_name); } }), Tr = J( "Import", "imported_name imported_names module_name attributes", /* @__PURE__ */ a(function(t) { t && (this.imported_name = t.imported_name, this.imported_names = t.imported_names, this.module_name = t.module_name, this.attributes = t.attributes, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Import"), { $documentation: "An `import` statement", $propdoc: { imported_name: "[AST_SymbolImport] The name of the variable holding the module's default export.", imported_names: "[AST_NameMapping*] The names of non-default imported variables", module_name: "[AST_String] String literal describing where this module came from", attributes: "[AST_Object?] The import attributes (with {...})" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.imported_name && this.imported_name._walk(e), this.imported_names && this.imported_names.forEach(function(t) { t._walk(e); }), this.module_name._walk(e); }); }, "_walk"), _children_backwards(e) { if (e(this.module_name), this.imported_names) { let t = this.imported_names.length; for (; t--; ) e(this.imported_names[t]); } this.imported_name && e(this.imported_name); } } ), fi = J("ImportMeta", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_ImportMeta"), { $documentation: "A reference to import.meta" }), Et = J( "Export", "exported_definition exported_value is_default exported_names module_name attributes", /* @__PURE__ */ a(function(t) { t && (this.exported_definition = t.exported_definition, this.exported_value = t.exported_value, this.is_default = t.is_default, this.exported_names = t.exported_names, this.module_name = t.module_name, this.attributes = t.attributes, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Export"), { $documentation: "An `export` statement", $propdoc: { exported_definition: "[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition", exported_value: "[AST_Node?] An exported value", exported_names: "[AST_NameMapping*?] List of exported names", module_name: "[AST_String?] Name of the file to load exports from", is_default: "[Boolean] Whether this is the default exported value of this module", attributes: "[AST_Object?] The import attributes" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.exported_definition && this.exported_definition._walk(e), this.exported_value && this.exported_value._walk(e), this.exported_names && this.exported_names.forEach(function(t) { t._walk(e); }), this.module_name && this.module_name._walk(e); }); }, "_walk"), _children_backwards(e) { if (this.module_name && e(this.module_name), this.exported_names) { let t = this.exported_names.length; for (; t--; ) e(this.exported_names[t]); } this.exported_value && e(this.exported_value), this.exported_definition && e(this.exported_definition); } }, Xt ), pe = J( "Call", "expression args optional _annotations", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.args = t.args, this.optional = t.optional, this._annotations = t._annotations, this.start = t.start, this.end = t.end, this.initialize()), this.flags = 0; }, "AST_Call"), { $documentation: "A function call expression", $propdoc: { expression: "[AST_Node] expression to invoke as function", args: "[AST_Node*] array of arguments", optional: "[boolean] whether this is an optional call (IE ?.() )", _annotations: "[number] bitfield containing information about the call" }, initialize() { this._annotations == null && (this._annotations = 0); }, _walk(e) { return e._visit(this, function() { for (var t = this.args, r = 0, n = t.length; r < n; r++) t[r]._walk(e); this.expression._walk(e); }); }, _children_backwards(e) { let t = this.args.length; for (; t--; ) e(this.args[t]); e(this.expression); } } ), Dr = J("New", null, /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.args = t.args, this.optional = t.optional, this._annotations = t._annotations, this.start = t. start, this.end = t.end, this.initialize()), this.flags = 0; }, "AST_New"), { $documentation: "An object instantiation. Derives from a function call since it has exactly the same properties" }, pe), Ee = J("Sequence", "expressions", /* @__PURE__ */ a(function(t) { t && (this.expressions = t.expressions, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Sequence"), { $documentation: "A sequence expression (comma-separated expressions)", $propdoc: { expressions: "[AST_Node*] array of expressions (at least two)" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expressions.forEach(function(t) { t._walk(e); }); }); }, "_walk"), _children_backwards(e) { let t = this.expressions.length; for (; t--; ) e(this.expressions[t]); } }), _e = J( "PropAccess", "expression property optional", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.property = t.property, this.optional = t.optional, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_PropAccess"), { $documentation: 'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`', $propdoc: { expression: "[AST_Node] the \u201Ccontainer\u201D expression", property: "[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it'\ s an arbitrary AST_Node", optional: "[boolean] whether this is an optional property access (IE ?.)" } } ), nt = J("Dot", "quote", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.expression = t.expression, this.property = t.property, this.optional = t.optional, this._annotations = t. _annotations, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Dot"), { $documentation: "A dotted property access expression", $propdoc: { quote: "[string] the original quote character when transformed from AST_Sub" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.expression); } }, _e), sn = J("DotHash", "", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.property = t.property, this.optional = t.optional, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_DotHash"), { $documentation: "A dotted property access to a private property", _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.expression); } }, _e), Tt = J("Sub", null, /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.property = t.property, this.optional = t.optional, this._annotations = t._annotations, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Sub"), { $documentation: 'Index-style property access, i.e. `a["foo"]`', _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e), this.property._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.property), e(this.expression); } }, _e), dt = J("Chain", "expression", /* @__PURE__ */ a(function(t) { t && (this.expression = t.expression, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Chain"), { $documentation: "A chain expression like a?.b?.(c)?.[d]", $propdoc: { expression: "[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element." }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.expression); } }), st = J("Unary", "operator expression", /* @__PURE__ */ a(function(t) { t && (this.operator = t.operator, this.expression = t.expression, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Unary"), { $documentation: "Base class for unary expressions", $propdoc: { operator: "[string] the operator", expression: "[AST_Node] expression that this unary operator applies to" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.expression._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.expression); } }), Se = J("UnaryPrefix", null, /* @__PURE__ */ a(function(t) { t && (this.operator = t.operator, this.expression = t.expression, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_UnaryPrefix"), { $documentation: "Unary prefix expression, i.e. `typeof i` or `++i`" }, st), hi = J("UnaryPostfix", null, /* @__PURE__ */ a(function(t) { t && (this.operator = t.operator, this.expression = t.expression, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_UnaryPostfix"), { $documentation: "Unary postfix expression, i.e. `i++`" }, st), K = J("Binary", "operator left right", /* @__PURE__ */ a(function(t) { t && (this.operator = t.operator, this.left = t.left, this.right = t.right, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Binary"), { $documentation: "Binary expression, i.e. `a + b`", $propdoc: { left: "[AST_Node] left-hand side expression", operator: "[string] the operator", right: "[AST_Node] right-hand side expression" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.left._walk(e), this.right._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.right), e(this.left); } }), Te = J( "Conditional", "condition consequent alternative", /* @__PURE__ */ a(function(t) { t && (this.condition = t.condition, this.consequent = t.consequent, this.alternative = t.alternative, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Conditional"), { $documentation: "Conditional expression using the ternary operator, i.e. `a ? b : c`", $propdoc: { condition: "[AST_Node]", consequent: "[AST_Node]", alternative: "[AST_Node]" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.condition._walk(e), this.consequent._walk(e), this.alternative._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.alternative), e(this.consequent), e(this.condition); } } ), Ie = J("Assign", "logical", /* @__PURE__ */ a(function(t) { t && (this.logical = t.logical, this.operator = t.operator, this.left = t.left, this.right = t.right, this.start = t.start, this.end = t. end), this.flags = 0; }, "AST_Assign"), { $documentation: "An assignment expression \u2014 `a = b + 5`", $propdoc: { logical: "Whether it's a logical assignment" } }, K), yr = J("DefaultAssign", null, /* @__PURE__ */ a(function(t) { t && (this.operator = t.operator, this.left = t.left, this.right = t.right, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_DefaultAssign"), { $documentation: "A default assignment expression like in `(a = 3) => a`" }, K), Me = J("Array", "elements", /* @__PURE__ */ a(function(t) { t && (this.elements = t.elements, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Array"), { $documentation: "An array literal", $propdoc: { elements: "[AST_Node*] array of elements" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { for (var t = this.elements, r = 0, n = t.length; r < n; r++) t[r]._walk(e); }); }, "_walk"), _children_backwards(e) { let t = this.elements.length; for (; t--; ) e(this.elements[t]); } }), Ge = J("Object", "properties", /* @__PURE__ */ a(function(t) { t && (this.properties = t.properties, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Object"), { $documentation: "An object literal", $propdoc: { properties: "[AST_ObjectProperty*] array of properties" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { for (var t = this.properties, r = 0, n = t.length; r < n; r++) t[r]._walk(e); }); }, "_walk"), _children_backwards(e) { let t = this.properties.length; for (; t--; ) e(this.properties[t]); } }), Ot = J("ObjectProperty", "key value", /* @__PURE__ */ a(function(t) { t && (this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end, this._annotations = t._annotations), this.flags = 0; }, "AST_ObjectProperty"), { $documentation: "Base class for literal object properties", $propdoc: { key: "[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_No\ de.", value: "[AST_Node] property value. For getters, setters and methods this is an AST_Accessor." }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.key instanceof ne && this.key._walk(e), this.value._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.value), this.key instanceof ne && e(this.key); } }), et = J("ObjectKeyVal", "quote", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end, this._annotations = t._annotations), this.flags = 0; }, "AST_ObjectKeyVal"), { $documentation: "A key: value object property", $propdoc: { quote: "[string] the original quote character" }, computed_key() { return this.key instanceof ne; } }, Ot), yn = J("PrivateSetter", "static", /* @__PURE__ */ a(function(t) { t && (this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_PrivateSetter"), { $propdoc: { static: "[boolean] whether this is a static private setter" }, $documentation: "A private setter property", computed_key() { return !1; } }, Ot), on = J("PrivateGetter", "static", /* @__PURE__ */ a(function(t) { t && (this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_PrivateGetter"), { $propdoc: { static: "[boolean] whether this is a static private getter" }, $documentation: "A private getter property", computed_key() { return !1; } }, Ot), Hn = J("ObjectSetter", "quote static", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end, this. _annotations = t._annotations), this.flags = 0; }, "AST_ObjectSetter"), { $propdoc: { quote: "[string|undefined] the original quote character, if any", static: "[boolean] whether this is a static setter (classes only)" }, $documentation: "An object setter property", computed_key() { return !(this.key instanceof Sr); } }, Ot), wn = J("ObjectGetter", "quote static", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end, this. _annotations = t._annotations), this.flags = 0; }, "AST_ObjectGetter"), { $propdoc: { quote: "[string|undefined] the original quote character, if any", static: "[boolean] whether this is a static getter (classes only)" }, $documentation: "An object getter property", computed_key() { return !(this.key instanceof Sr); } }, Ot), sr = J("ConciseMethod", "quote static", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end, this. _annotations = t._annotations), this.flags = 0; }, "AST_ConciseMethod"), { $propdoc: { quote: "[string|undefined] the original quote character, if any", static: "[boolean] is this method static (classes only)" }, $documentation: "An ES6 concise method inside an object or class", computed_key() { return !(this.key instanceof Sr); } }, Ot), qr = J("PrivateMethod", "static", /* @__PURE__ */ a(function(t) { t && (this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_PrivateMethod"), { $documentation: "A private class method inside a class", $propdoc: { static: "[boolean] is this a static private method" }, computed_key() { return !1; } }, Ot), qe = J( "Class", "name extends properties", /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.extends = t.extends, this.properties = t.properties, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this.enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Class"), { $propdoc: { name: "[AST_SymbolClass|AST_SymbolDefClass?] optional class name.", extends: "[AST_Node]? optional parent class", properties: "[AST_ObjectProperty|AST_ClassStaticBlock]* array of properties or static blocks" }, $documentation: "An ES6 class", _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.name && this.name._walk(e), this.extends && this.extends._walk(e), this.properties.forEach((t) => t._walk(e)); }); }, "_walk"), _children_backwards(e) { let t = this.properties.length; for (; t--; ) e(this.properties[t]); this.extends && e(this.extends), this.name && e(this.name); }, /** go through the bits that are executed instantly, not when the class is `new`'d. Doesn't walk the name. */ visit_nondeferred_class_parts(e) { this.extends && this.extends._walk(e), this.properties.forEach((t) => { if (t instanceof Jt) { t._walk(e); return; } t.computed_key() && (e.push(t), t.key._walk(e), e.pop()), (t instanceof Ur && t.static && t.value || t instanceof Kr && t.static && t.value) && (e.push(t), t.value._walk(e), e.pop()); }); }, /** go through the bits that are executed later, when the class is `new`'d or a static method is called */ visit_deferred_class_parts(e) { this.properties.forEach((t) => { t instanceof sr || t instanceof qr ? t.walk(e) : (t instanceof Kr && !t.static && t.value || t instanceof Ur && !t.static && t.value) && (e.push(t), t.value._walk(e), e.pop()); }); }, is_self_referential: /* @__PURE__ */ a(function() { let e = this.name && this.name.definition().id, t = !1, r = !0; return this.visit_nondeferred_class_parts(new $t((n, i) => { if (t) return !0; if (n instanceof jt) return t = r; if (n instanceof ue) return t = n.definition().id === e; if (n instanceof ge && !(n instanceof pt)) { let s = r; return r = !1, i(), r = s, !0; } })), t; }, "is_self_referential") }, De /* TODO a class might have a scope but it's not a scope */ ), Kr = J("ClassProperty", "static quote", /* @__PURE__ */ a(function(t) { t && (this.static = t.static, this.quote = t.quote, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end, this. _annotations = t._annotations), this.flags = 0; }, "AST_ClassProperty"), { $documentation: "A class property", $propdoc: { static: "[boolean] whether this is a static key", quote: "[string] which quote is being used" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.key instanceof ne && this.key._walk(e), this.value instanceof ne && this.value._walk(e); }); }, "_walk"), _children_backwards(e) { this.value instanceof ne && e(this.value), this.key instanceof ne && e(this.key); }, computed_key() { return !(this.key instanceof Si); } }, Ot), Ur = J("ClassPrivateProperty", "", /* @__PURE__ */ a(function(t) { t && (this.static = t.static, this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_ClassPrivateProperty"), { $documentation: "A class property for a private property", _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.value instanceof ne && this.value._walk(e); }); }, "_walk"), _children_backwards(e) { this.value instanceof ne && e(this.value); }, computed_key() { return !1; } }, Ot), On = J("PrivateIn", "key value", /* @__PURE__ */ a(function(t) { t && (this.key = t.key, this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_PrivateIn"), { $documentation: "An `in` binop when the key is private, eg #x in this", _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { this.key._walk(e), this.value._walk(e); }); }, "_walk"), _children_backwards(e) { e(this.value), e(this.key); } }), vn = J("DefClass", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.extends = t.extends, this.properties = t.properties, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this.enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this. block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_DefClass"), { $documentation: "A class definition" }, qe), Jt = J("ClassStaticBlock", "body block_scope", /* @__PURE__ */ a(function(t) { this.body = t.body, this.block_scope = t.block_scope, this.start = t.start, this.end = t.end; }, "AST_ClassStaticBlock"), { $documentation: "A block containing statements to be executed in the context of the class", $propdoc: { body: "[AST_Statement*] an array of statements" }, _walk: /* @__PURE__ */ a(function(e) { return e._visit(this, function() { pu(this, e); }); }, "_walk"), _children_backwards(e) { let t = this.body.length; for (; t--; ) e(this.body[t]); }, clone: Zx, computed_key() { return !1; } }, De), ui = J("ClassExpression", null, /* @__PURE__ */ a(function(t) { t && (this.name = t.name, this.extends = t.extends, this.properties = t.properties, this.variables = t.variables, this.uses_with = t.uses_with, this.uses_eval = t.uses_eval, this.parent_scope = t.parent_scope, this.enclosed = t.enclosed, this.cname = t.cname, this.body = t.body, this. block_scope = t.block_scope, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_ClassExpression"), { $documentation: "A class expression." }, qe), He = J("Symbol", "scope name thedef", /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Symbol"), { $propdoc: { name: "[string] name of this symbol", scope: "[AST_Scope/S] the current scope (not necessarily the definition scope)", thedef: "[SymbolDef/S] the definition of this symbol" }, $documentation: "Base class for all symbols" }), ss = J("NewTarget", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_NewTarget"), { $documentation: "A reference to new.target" }), Wt = J("SymbolDeclaration", "init", /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolDeclaration"), { $documentation: "A declaration symbol (symbol in var/const, function name or argument, symbol in catch)" }, He), yi = J("SymbolVar", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolVar"), { $documentation: "Symbol defining a variable" }, Wt), wa = J( "SymbolBlockDeclaration", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolBlockDeclaration"), { $documentation: "Base class for block-scoped declaration symbols" }, Wt ), pa = J("SymbolConst", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolConst"), { $documentation: "A constant declaration" }, wa), la = J("SymbolUsing", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolUsing"), { $documentation: "A `using` declaration" }, wa), os = J("SymbolLet", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolLet"), { $documentation: "A block-scoped `let` declaration" }, wa), Kt = J("SymbolFunarg", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolFunarg"), { $documentation: "Symbol naming a function argument" }, yi), Qn = J("SymbolDefun", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolDefun"), { $documentation: "Symbol defining a function" }, Wt), Sr = J("SymbolMethod", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_SymbolMethod"), { $documentation: "Symbol in an object defining a method" }, He), Si = J("SymbolClassProperty", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_SymbolClassProperty"), { $documentation: "Symbol for a class property" }, He), jn = J("SymbolLambda", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolLambda"), { $documentation: "Symbol naming a function expression" }, Wt), vl = J("SymbolDefClass", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolDefClass"), { $documentation: "Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within th\ e class." }, wa), bl = J("SymbolClass", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolClass"), { $documentation: "Symbol naming a class's name. Lexically scoped to the class." }, Wt), Zn = J("SymbolCatch", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolCatch"), { $documentation: "Symbol naming the exception in catch" }, wa), rs = J("SymbolImport", null, /* @__PURE__ */ a(function(t) { t && (this.init = t.init, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolImport"), { $documentation: "Symbol referring to an imported name" }, wa), bo = J("SymbolImportForeign", "quote", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolImportForeign"), { $documentation: "A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module\ 's purposes" }, He), hu = J("Label", "references", /* @__PURE__ */ a(function(t) { t && (this.references = t.references, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end, this.initialize()), this.flags = 0; }, "AST_Label"), { $documentation: "Symbol naming a label (declaration)", $propdoc: { references: "[AST_LoopControl*] a list of nodes referring to this label" }, initialize: /* @__PURE__ */ a(function() { this.references = [], this.thedef = this; }, "initialize") }, He), ue = J("SymbolRef", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_SymbolRef"), { $documentation: "Reference to some symbol (not definition/declaration)" }, He), is = J("SymbolExport", "quote", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolExport"), { $documentation: "Symbol referring to a name to export" }, ue), ns = J("SymbolExportForeign", "quote", /* @__PURE__ */ a(function(t) { t && (this.quote = t.quote, this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this. flags = 0; }, "AST_SymbolExportForeign"), { $documentation: "A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module\ 's purposes" }, He), of = J("LabelRef", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_LabelRef"), { $documentation: "Reference to a label symbol" }, He), yo = J("SymbolPrivateProperty", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_SymbolPrivateProperty"), { $documentation: "A symbol that refers to a private property" }, He), jt = J("This", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_This"), { $documentation: "The `this` symbol" }, He), us = J("Super", null, /* @__PURE__ */ a(function(t) { t && (this.scope = t.scope, this.name = t.name, this.thedef = t.thedef, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Super"), { $documentation: "The `super` symbol" }, jt), Xe = J("Constant", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Constant"), { $documentation: "Base class for all constants", getValue: /* @__PURE__ */ a(function() { return this.value; }, "getValue") }), Ve = J("String", "value quote", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.quote = t.quote, this.start = t.start, this.end = t.end, this._annotations = t._annotations), this.flags = 0; }, "AST_String"), { $documentation: "A string literal", $propdoc: { value: "[string] the contents of this string", quote: "[string] the original quote character" } }, Xe), Ae = J("Number", "value raw", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.raw = t.raw, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Number"), { $documentation: "A number literal", $propdoc: { value: "[number] the numeric value", raw: "[string] numeric value as string" } }, Xe), un = J("BigInt", "value raw", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.raw = t.raw, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_BigInt"), { $documentation: "A big int literal", $propdoc: { value: "[string] big int value, represented as a string", raw: "[string] the original format preserved" } }, Xe), or = J("RegExp", "value", /* @__PURE__ */ a(function(t) { t && (this.value = t.value, this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_RegExp"), { $documentation: "A regexp literal", $propdoc: { value: "[RegExp] the actual regexp" } }, Xe), Hs = J("Atom", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Atom"), { $documentation: "Base class for atoms" }, Xe), ln = J("Null", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Null"), { $documentation: "The `null` atom", value: null }, Hs), gu = J("NaN", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_NaN"), { $documentation: "The impossible value", value: NaN }, Hs), xt = J("Undefined", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Undefined"), { $documentation: "The `undefined` value", value: /* @__PURE__ */ function() { }() }, Hs), bn = J("Hole", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Hole"), { $documentation: "A hole in an array", value: /* @__PURE__ */ function() { }() }, Hs), cs = J("Infinity", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Infinity"), { $documentation: "The `Infinity` value", value: 1 / 0 }, Hs), ff = J("Boolean", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_Boolean"), { $documentation: "Base class for booleans" }, Hs), Ei = J("False", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_False"), { $documentation: "The `false` atom", value: !1 }, ff), Sn = J("True", null, /* @__PURE__ */ a(function(t) { t && (this.start = t.start, this.end = t.end), this.flags = 0; }, "AST_True"), { $documentation: "The `true` atom", value: !0 }, ff); a(Rt, "walk"); a(hf, "walk_parent"); cn = Symbol("abort walk"), $t = class { static { a(this, "TreeWalker"); } constructor(t) { this.visit = t, this.stack = [], this.directives = /* @__PURE__ */ Object.create(null); } _visit(t, r) { this.push(t); var n = this.visit(t, r ? function() { r.call(t); } : An); return !n && r && r.call(t), this.pop(), n; } parent(t) { return this.stack[this.stack.length - 2 - (t || 0)]; } push(t) { t instanceof ge ? this.directives = Object.create(this.directives) : t instanceof Br && !this.directives[t.value] ? this.directives[t. value] = t : t instanceof qe && (this.directives = Object.create(this.directives), this.directives["use strict"] || (this.directives["\ use strict"] = t)), this.stack.push(t); } pop() { var t = this.stack.pop(); (t instanceof ge || t instanceof qe) && (this.directives = Object.getPrototypeOf(this.directives)); } self() { return this.stack[this.stack.length - 1]; } find_parent(t) { for (var r = this.stack, n = r.length; --n >= 0; ) { var i = r[n]; if (i instanceof t) return i; } } is_within_loop() { let t = this.stack.length - 1, r = this.stack[t]; for (; t--; ) { let n = this.stack[t]; if (n instanceof ge) return !1; if (n instanceof Xn && !(n instanceof Dt && r === n.init) && !((n instanceof qt || n instanceof ca) && r === n.object)) return !0; r = n; } return !1; } find_scope() { for (var t = this.stack, r = t.length; --r >= 0; ) { let n = t[r]; if (n instanceof lt || n instanceof ge) return n; if (n.block_scope) return n.block_scope; } } has_directive(t) { var r = this.directives[t]; if (r) return r; var n = this.stack[this.stack.length - 1]; if (n instanceof De && n.body) for (var i = 0; i < n.body.length; ++i) { var s = n.body[i]; if (!(s instanceof Br)) break; if (s.value == t) return s; } } loopcontrol_target(t) { var r = this.stack; if (t.label) for (var n = r.length; --n >= 0; ) { var i = r[n]; if (i instanceof Ht && i.label.name == t.label.name) return i.body; } else for (var n = r.length; --n >= 0; ) { var i = r[n]; if (i instanceof Xn || t instanceof xn && i instanceof Zt) return i; } } }, Wr = class extends $t { static { a(this, "TreeTransformer"); } constructor(t, r) { super(), this.before = t, this.after = r; } }, uf = 1, lf = 2, ls = 4, yl = 8, Sl = 16; }); // ../node_modules/terser/lib/transform.js function ct(e, t) { e.DEFMETHOD("transform", function(r, n) { let i; if (r.push(this), r.before && (i = r.before(this, t, n)), i === void 0 && (i = this, t(i, r), r.after)) { let s = r.after(i, n); s !== void 0 && (i = s); } return r.pop(), i; }); } var i$ = we(() => { "use strict"; Nr(); rn(); a(ct, "def_transform"); ct(ne, An); ct(Ht, function(e, t) { e.label = e.label.transform(t), e.body = e.body.transform(t); }); ct(me, function(e, t) { e.body = e.body.transform(t); }); ct(It, function(e, t) { e.body = yt(e.body, t); }); ct(Un, function(e, t) { e.body = e.body.transform(t), e.condition = e.condition.transform(t); }); ct(Yn, function(e, t) { e.condition = e.condition.transform(t), e.body = e.body.transform(t); }); ct(Dt, function(e, t) { e.init && (e.init = e.init.transform(t)), e.condition && (e.condition = e.condition.transform(t)), e.step && (e.step = e.step.transform( t)), e.body = e.body.transform(t); }); ct(qt, function(e, t) { e.init = e.init.transform(t), e.object = e.object.transform(t), e.body = e.body.transform(t); }); ct(Er, function(e, t) { e.expression = e.expression.transform(t), e.body = e.body.transform(t); }); ct(En, function(e, t) { e.value && (e.value = e.value.transform(t)); }); ct(Jn, function(e, t) { e.label && (e.label = e.label.transform(t)); }); ct(at, function(e, t) { e.condition = e.condition.transform(t), e.body = e.body.transform(t), e.alternative && (e.alternative = e.alternative.transform(t)); }); ct(Zt, function(e, t) { e.expression = e.expression.transform(t), e.body = yt(e.body, t); }); ct(Cn, function(e, t) { e.expression = e.expression.transform(t), e.body = yt(e.body, t); }); ct(Ar, function(e, t) { e.body = e.body.transform(t), e.bcatch && (e.bcatch = e.bcatch.transform(t)), e.bfinally && (e.bfinally = e.bfinally.transform(t)); }); ct(Vn, function(e, t) { e.argname && (e.argname = e.argname.transform(t)), e.body = yt(e.body, t); }); ct(an, function(e, t) { e.definitions = yt(e.definitions, t); }); ct(Ti, function(e, t) { e.name = e.name.transform(t), e.value && (e.value = e.value.transform(t)); }); ct(Je, function(e, t) { e.names = yt(e.names, t); }); ct(ge, function(e, t) { e.name && (e.name = e.name.transform(t)), e.argnames = yt( e.argnames, t, /* allow_splicing */ !1 ), e.body instanceof ne ? e.body = e.body.transform(t) : e.body = yt(e.body, t); }); ct(pe, function(e, t) { e.expression = e.expression.transform(t), e.args = yt( e.args, t, /* allow_splicing */ !1 ); }); ct(Ee, function(e, t) { let r = yt(e.expressions, t); e.expressions = r.length ? r : [new Ae({ value: 0 })]; }); ct(_e, function(e, t) { e.expression = e.expression.transform(t); }); ct(Tt, function(e, t) { e.expression = e.expression.transform(t), e.property = e.property.transform(t); }); ct(dt, function(e, t) { e.expression = e.expression.transform(t); }); ct(Mr, function(e, t) { e.expression && (e.expression = e.expression.transform(t)); }); ct(zr, function(e, t) { e.expression = e.expression.transform(t); }); ct(st, function(e, t) { e.expression = e.expression.transform(t); }); ct(K, function(e, t) { e.left = e.left.transform(t), e.right = e.right.transform(t); }); ct(On, function(e, t) { e.key = e.key.transform(t), e.value = e.value.transform(t); }); ct(Te, function(e, t) { e.condition = e.condition.transform(t), e.consequent = e.consequent.transform(t), e.alternative = e.alternative.transform(t); }); ct(Me, function(e, t) { e.elements = yt(e.elements, t); }); ct(Ge, function(e, t) { e.properties = yt(e.properties, t); }); ct(Ot, function(e, t) { e.key instanceof ne && (e.key = e.key.transform(t)), e.value && (e.value = e.value.transform(t)); }); ct(qe, function(e, t) { e.name && (e.name = e.name.transform(t)), e.extends && (e.extends = e.extends.transform(t)), e.properties = yt(e.properties, t); }); ct(Jt, function(e, t) { e.body = yt(e.body, t); }); ct(Ne, function(e, t) { e.expression = e.expression.transform(t); }); ct(qn, function(e, t) { e.foreign_name = e.foreign_name.transform(t), e.name = e.name.transform(t); }); ct(Tr, function(e, t) { e.imported_name && (e.imported_name = e.imported_name.transform(t)), e.imported_names && yt(e.imported_names, t), e.module_name = e.module_name. transform(t); }); ct(Et, function(e, t) { e.exported_definition && (e.exported_definition = e.exported_definition.transform(t)), e.exported_value && (e.exported_value = e.exported_value. transform(t)), e.exported_names && yt(e.exported_names, t), e.module_name && (e.module_name = e.module_name.transform(t)); }); ct(Qt, function(e, t) { e.segments = yt(e.segments, t); }); ct(Dn, function(e, t) { e.prefix = e.prefix.transform(t), e.template_string = e.template_string.transform(t); }); }); // ../node_modules/terser/lib/mozilla-ast.js var a$ = we(() => { rn(); Nr(); cu(); (function() { var e = /* @__PURE__ */ a(function(m) { for (var v = 0; v < m.length; v++) if (m[v] instanceof Xt && m[v].body instanceof Ve) m[v] = new Br({ start: m[v].start, end: m[v].end, quote: '"', value: m[v].body.value }); else return m; return m; }, "normalize_directives"); function t(m) { return m && m.length > 0 ? new Ge({ start: i(m), end: s(m), properties: m.map( (v) => new et({ start: i(v), end: s(v), key: v.key.name || v.key.value, value: u(v.value) }) ) }) : null; } a(t, "import_attributes_from_moz"); var r = { Program: /* @__PURE__ */ a(function(m) { return new lt({ start: i(m), end: s(m), body: e(m.body.map(u)) }); }, "Program"), ArrayPattern: /* @__PURE__ */ a(function(m) { return new Je({ start: i(m), end: s(m), names: m.elements.map(function(v) { return v === null ? new bn() : u(v); }), is_array: !0 }); }, "ArrayPattern"), ObjectPattern: /* @__PURE__ */ a(function(m) { return new Je({ start: i(m), end: s(m), names: m.properties.map(u), is_array: !1 }); }, "ObjectPattern"), AssignmentPattern: /* @__PURE__ */ a(function(m) { return new yr({ start: i(m), end: s(m), left: u(m.left), operator: "=", right: u(m.right) }); }, "AssignmentPattern"), SpreadElement: /* @__PURE__ */ a(function(m) { return new Ne({ start: i(m), end: s(m), expression: u(m.argument) }); }, "SpreadElement"), RestElement: /* @__PURE__ */ a(function(m) { return new Ne({ start: i(m), end: s(m), expression: u(m.argument) }); }, "RestElement"), TemplateElement: /* @__PURE__ */ a(function(m) { return new $n({ start: i(m), end: s(m), value: m.value.cooked, raw: m.value.raw }); }, "TemplateElement"), TemplateLiteral: /* @__PURE__ */ a(function(m) { for (var v = [], A = 0; A < m.quasis.length; A++) v.push(u(m.quasis[A])), m.expressions[A] && v.push(u(m.expressions[A])); return new Qt({ start: i(m), end: s(m), segments: v }); }, "TemplateLiteral"), TaggedTemplateExpression: /* @__PURE__ */ a(function(m) { return new Dn({ start: i(m), end: s(m), template_string: u(m.quasi), prefix: u(m.tag) }); }, "TaggedTemplateExpression"), FunctionDeclaration: /* @__PURE__ */ a(function(m) { return new gt({ start: i(m), end: s(m), name: m.id && c(Qn, m.id), argnames: m.params.map((v) => d(v, Kt)), is_generator: m.generator, async: m.async, body: e(u(m.body).body) }); }, "FunctionDeclaration"), FunctionExpression: /* @__PURE__ */ a(function(m) { return f( m, /*is_method=*/ !1 ); }, "FunctionExpression"), ArrowFunctionExpression: /* @__PURE__ */ a(function(m) { let v = m.body.type === "BlockStatement" ? u(m.body).body : [k(At, {}, { value: u(m.body) })]; return new pt({ start: i(m), end: s(m), argnames: m.params.map((A) => d(A, Kt)), body: v, async: m.async }); }, "ArrowFunctionExpression"), ExpressionStatement: /* @__PURE__ */ a(function(m) { return new me({ start: i(m), end: s(m), body: u(m.expression) }); }, "ExpressionStatement"), TryStatement: /* @__PURE__ */ a(function(m) { var v = m.handlers || [m.handler]; if (v.length > 1 || m.guardedHandlers && m.guardedHandlers.length) throw new Error("Multiple catch clauses are not supported."); return new Ar({ start: i(m), end: s(m), body: new fu(u(m.block)), bcatch: u(v[0]), bfinally: m.finalizer ? new as(u(m.finalizer)) : null }); }, "TryStatement"), Property: /* @__PURE__ */ a(function(m) { if (m.kind == "init" && !m.method) { var v = { start: i(m.key || m.value), end: s(m.value), key: m.computed ? u(m.key) : m.key.name || String(m.key.value), quote: l(m.key, m.computed), static: !1, // always an object value: u(m.value) }; return new et(v); } else { var A = f( m.value, /*is_method=*/ !0 ), v = { start: i(m.key || m.value), end: s(m.value), key: m.computed ? u(m.key) : c(Sr, m.key), quote: l(m.key, m.computed), static: !1, // always an object value: A }; if (m.kind == "get") return new wn(v); if (m.kind == "set") return new Hn(v); if (m.method) return new sr(v); } }, "Property"), MethodDefinition: /* @__PURE__ */ a(function(m) { let v = m.key.type === "PrivateIdentifier", A = m.computed ? u(m.key) : new Sr({ name: m.key.name || String(m.key.value) }); var w = { start: i(m), end: s(m), key: A, quote: l(m.key, m.computed), value: f( m.value, /*is_method=*/ !0 ), static: m.static }; return m.kind == "get" ? new (v ? on : wn)(w) : m.kind == "set" ? new (v ? yn : Hn)(w) : new (v ? qr : sr)(w); }, "MethodDefinition"), FieldDefinition: /* @__PURE__ */ a(function(m) { let v; if (m.computed) v = u(m.key); else { if (m.key.type !== "Identifier") throw new Error("Non-Identifier key in FieldDefinition"); v = u(m.key); } return new Kr({ start: i(m), end: s(m), quote: l(m.key, m.computed), key: v, value: u(m.value), static: m.static }); }, "FieldDefinition"), PropertyDefinition: /* @__PURE__ */ a(function(m) { let v; if (m.computed) v = u(m.key); else { if (m.key.type === "PrivateIdentifier") return new Ur({ start: i(m), end: s(m), key: u(m.key), value: u(m.value), static: m.static }); v = c(Si, m.key); } return new Kr({ start: i(m), end: s(m), quote: l(m.key, m.computed), key: v, value: u(m.value), static: m.static }); }, "PropertyDefinition"), PrivateIdentifier: /* @__PURE__ */ a(function(m) { return new yo({ start: i(m), end: s(m), name: m.name }); }, "PrivateIdentifier"), StaticBlock: /* @__PURE__ */ a(function(m) { return new Jt({ start: i(m), end: s(m), body: m.body.map(u) }); }, "StaticBlock"), ArrayExpression: /* @__PURE__ */ a(function(m) { return new Me({ start: i(m), end: s(m), elements: m.elements.map(function(v) { return v === null ? new bn() : u(v); }) }); }, "ArrayExpression"), ObjectExpression: /* @__PURE__ */ a(function(m) { return new Ge({ start: i(m), end: s(m), properties: m.properties.map(function(v) { return v.type === "SpreadElement" || (v.type = "Property"), u(v); }) }); }, "ObjectExpression"), SequenceExpression: /* @__PURE__ */ a(function(m) { return new Ee({ start: i(m), end: s(m), expressions: m.expressions.map(u) }); }, "SequenceExpression"), MemberExpression: /* @__PURE__ */ a(function(m) { return m.property.type === "PrivateIdentifier" ? new sn({ start: i(m), end: s(m), property: m.property.name, expression: u(m.object), optional: m.optional || !1 }) : new (m.computed ? Tt : nt)({ start: i(m), end: s(m), property: m.computed ? u(m.property) : m.property.name, expression: u(m.object), optional: m.optional || !1 }); }, "MemberExpression"), ChainExpression: /* @__PURE__ */ a(function(m) { return new dt({ start: i(m), end: s(m), expression: u(m.expression) }); }, "ChainExpression"), SwitchCase: /* @__PURE__ */ a(function(m) { return new (m.test ? Cn : Ki)({ start: i(m), end: s(m), expression: u(m.test), body: m.consequent.map(u) }); }, "SwitchCase"), VariableDeclaration: /* @__PURE__ */ a(function(m) { let v, A = Lt, w, F = !1; m.kind === "const" ? (v = ha, w = pa) : m.kind === "let" ? (v = fa, w = os) : m.kind === "using" ? (v = nn, A = _l, w = la) : m.kind === "await using" ? (v = nn, A = _l, w = la, F = !0) : (v = Ft, w = yi); let x = m.declarations.map((I) => new A({ start: i(I), end: s(I), name: d(I.id, w), value: u(I.init) })); return new v({ start: i(m), end: s(m), definitions: x, await: F }); }, "VariableDeclaration"), ImportDeclaration: /* @__PURE__ */ a(function(m) { var v = null, A = null; return m.specifiers.forEach(function(w) { w.type === "ImportSpecifier" || w.type === "ImportNamespaceSpecifier" ? (A || (A = []), A.push(u(w))) : w.type === "ImportDefaultS\ pecifier" && (v = u(w)); }), new Tr({ start: i(m), end: s(m), imported_name: v, imported_names: A, module_name: u(m.source), attributes: t(m.attributes || m.assertions) }); }, "ImportDeclaration"), ImportSpecifier: /* @__PURE__ */ a(function(m) { return new qn({ start: i(m), end: s(m), foreign_name: c(bo, m.imported, m.imported.type === "Literal"), name: c(rs, m.local) }); }, "ImportSpecifier"), ImportDefaultSpecifier: /* @__PURE__ */ a(function(m) { return c(rs, m.local); }, "ImportDefaultSpecifier"), ImportNamespaceSpecifier: /* @__PURE__ */ a(function(m) { return new qn({ start: i(m), end: s(m), foreign_name: new bo({ name: "*" }), name: c(rs, m.local) }); }, "ImportNamespaceSpecifier"), ImportExpression: /* @__PURE__ */ a(function(m) { let v = [u(m.source)]; return m.options && v.push(u(m.options)), new pe({ start: i(m), end: s(m), expression: u({ type: "Identifier", name: "import" }), optional: !1, args: v }); }, "ImportExpression"), ExportAllDeclaration: /* @__PURE__ */ a(function(m) { var v = m.exported == null ? new ns({ name: "*" }) : c(ns, m.exported, m.exported.type === "Literal"); return new Et({ start: i(m), end: s(m), exported_names: [ new qn({ start: i(m), end: s(m), name: new is({ name: "*" }), foreign_name: v }) ], module_name: u(m.source), attributes: t(m.attributes || m.assertions) }); }, "ExportAllDeclaration"), ExportNamedDeclaration: /* @__PURE__ */ a(function(m) { return m.declaration ? new Et({ start: i(m), end: s(m), exported_definition: u(m.declaration), exported_names: null, module_name: null, attributes: null }) : new Et({ start: i(m), end: s(m), exported_definition: null, exported_names: m.specifiers && m.specifiers.length ? m.specifiers.map(u) : [], module_name: u(m.source), attributes: t(m.attributes || m.assertions) }); }, "ExportNamedDeclaration"), ExportDefaultDeclaration: /* @__PURE__ */ a(function(m) { return new Et({ start: i(m), end: s(m), exported_value: u(m.declaration), is_default: !0 }); }, "ExportDefaultDeclaration"), ExportSpecifier: /* @__PURE__ */ a(function(m) { return new qn({ start: i(m), end: s(m), foreign_name: c(ns, m.exported, m.exported.type === "Literal"), name: c(is, m.local, m.local.type === "Literal") }); }, "ExportSpecifier"), Literal: /* @__PURE__ */ a(function(m) { var v = m.value, A = { start: i(m), end: s(m) }, w = m.regex; if (w && w.pattern) return A.value = { source: w.pattern, flags: w.flags }, new or(A); if (w) { let x = m.raw || v, I = x.match(/^\/(.*)\/(\w*)$/); if (!I) throw new Error("Invalid regex source " + x); let [N, H, U] = I; return A.value = { source: H, flags: U }, new or(A); } let F = typeof m.value == "bigint" ? m.value.toString() : m.bigint; if (typeof F == "string") return A.value = F, A.raw = m.raw, new un(A); if (v === null) return new ln(A); switch (typeof v) { case "string": return A.quote = '"', A.value = v, new Ve(A); case "number": return A.value = v, A.raw = m.raw || v.toString(), new Ae(A); case "boolean": return new (v ? Sn : Ei)(A); } }, "Literal"), MetaProperty: /* @__PURE__ */ a(function(m) { if (m.meta.name === "new" && m.property.name === "target") return new ss({ start: i(m), end: s(m) }); if (m.meta.name === "import" && m.property.name === "meta") return new fi({ start: i(m), end: s(m) }); }, "MetaProperty"), Identifier: /* @__PURE__ */ a(function(m) { return new ue({ start: i(m), end: s(m), name: m.name }); }, "Identifier"), EmptyStatement: /* @__PURE__ */ a(function(m) { return new it({ start: i(m), end: s(m) }); }, "EmptyStatement"), BlockStatement: /* @__PURE__ */ a(function(m) { return new Le({ start: i(m), end: s(m), body: m.body.map(u) }); }, "BlockStatement"), IfStatement: /* @__PURE__ */ a(function(m) { return new at({ start: i(m), end: s(m), condition: u(m.test), body: u(m.consequent), alternative: u(m.alternate) }); }, "IfStatement"), LabeledStatement: /* @__PURE__ */ a(function(m) { try { let v = c(hu, m.label); return o.push(v), new Ht({ start: i(m), end: s(m), label: v, body: u(m.body) }); } finally { o.pop(); } }, "LabeledStatement"), BreakStatement: /* @__PURE__ */ a(function(m) { return new xn({ start: i(m), end: s(m), label: g(m.label) }); }, "BreakStatement"), ContinueStatement: /* @__PURE__ */ a(function(m) { return new ua({ start: i(m), end: s(m), label: g(m.label) }); }, "ContinueStatement"), WithStatement: /* @__PURE__ */ a(function(m) { return new Er({ start: i(m), end: s(m), expression: u(m.object), body: u(m.body) }); }, "WithStatement"), SwitchStatement: /* @__PURE__ */ a(function(m) { return new Zt({ start: i(m), end: s(m), expression: u(m.discriminant), body: m.cases.map(u) }); }, "SwitchStatement"), ReturnStatement: /* @__PURE__ */ a(function(m) { return new At({ start: i(m), end: s(m), value: u(m.argument) }); }, "ReturnStatement"), ThrowStatement: /* @__PURE__ */ a(function(m) { return new Eo({ start: i(m), end: s(m), value: u(m.argument) }); }, "ThrowStatement"), WhileStatement: /* @__PURE__ */ a(function(m) { return new Yn({ start: i(m), end: s(m), condition: u(m.test), body: u(m.body) }); }, "WhileStatement"), DoWhileStatement: /* @__PURE__ */ a(function(m) { return new Un({ start: i(m), end: s(m), condition: u(m.test), body: u(m.body) }); }, "DoWhileStatement"), ForStatement: /* @__PURE__ */ a(function(m) { return new Dt({ start: i(m), end: s(m), init: u(m.init), condition: u(m.test), step: u(m.update), body: u(m.body) }); }, "ForStatement"), ForInStatement: /* @__PURE__ */ a(function(m) { return new qt({ start: i(m), end: s(m), init: u(m.left), object: u(m.right), body: u(m.body) }); }, "ForInStatement"), ForOfStatement: /* @__PURE__ */ a(function(m) { return new ca({ start: i(m), end: s(m), init: u(m.left), object: u(m.right), body: u(m.body), await: m.await }); }, "ForOfStatement"), AwaitExpression: /* @__PURE__ */ a(function(m) { return new zr({ start: i(m), end: s(m), expression: u(m.argument) }); }, "AwaitExpression"), YieldExpression: /* @__PURE__ */ a(function(m) { return new Mr({ start: i(m), end: s(m), expression: u(m.argument), is_star: m.delegate }); }, "YieldExpression"), DebuggerStatement: /* @__PURE__ */ a(function(m) { return new ci({ start: i(m), end: s(m) }); }, "DebuggerStatement"), CatchClause: /* @__PURE__ */ a(function(m) { return new Vn({ start: i(m), end: s(m), argname: m.param ? d(m.param, Zn) : null, body: u(m.body).body }); }, "CatchClause"), ThisExpression: /* @__PURE__ */ a(function(m) { return new jt({ start: i(m), name: "this", end: s(m) }); }, "ThisExpression"), Super: /* @__PURE__ */ a(function(m) { return new us({ start: i(m), end: s(m), name: "super" }); }, "Super"), BinaryExpression: /* @__PURE__ */ a(function(m) { return m.left.type === "PrivateIdentifier" ? new On({ start: i(m), end: s(m), key: new yo({ start: i(m.left), end: s(m.left), name: m.left.name }), value: u(m.right) }) : new K({ start: i(m), end: s(m), operator: m.operator, left: u(m.left), right: u(m.right) }); }, "BinaryExpression"), LogicalExpression: /* @__PURE__ */ a(function(m) { return new K({ start: i(m), end: s(m), operator: m.operator, left: u(m.left), right: u(m.right) }); }, "LogicalExpression"), AssignmentExpression: /* @__PURE__ */ a(function(m) { return new Ie({ start: i(m), end: s(m), operator: m.operator, logical: m.operator === "??=" || m.operator === "&&=" || m.operator === "||=", left: u(m.left), right: u(m.right) }); }, "AssignmentExpression"), ConditionalExpression: /* @__PURE__ */ a(function(m) { return new Te({ start: i(m), end: s(m), condition: u(m.test), consequent: u(m.consequent), alternative: u(m.alternate) }); }, "ConditionalExpression"), NewExpression: /* @__PURE__ */ a(function(m) { return new Dr({ start: i(m), end: s(m), expression: u(m.callee), args: m.arguments.map(u) }); }, "NewExpression"), CallExpression: /* @__PURE__ */ a(function(m) { return new pe({ start: i(m), end: s(m), expression: u(m.callee), optional: m.optional, args: m.arguments.map(u) }); }, "CallExpression") }; r.UpdateExpression = r.UnaryExpression = /* @__PURE__ */ a(function(v) { var A = "prefix" in v ? v.prefix : v.type == "UnaryExpression"; return new (A ? Se : hi)({ start: i(v), end: s(v), operator: v.operator, expression: u(v.argument) }); }, "To_Moz_Unary"), r.ClassDeclaration = r.ClassExpression = /* @__PURE__ */ a(function(v) { return new (v.type === "ClassDeclaration" ? vn : ui)({ start: i(v), end: s(v), name: v.id && c(v.type === "ClassDeclaration" ? vl : bl, v.id), extends: u(v.superClass), properties: v.body.body.map(u) }); }, "From_Moz_Class"), _(it, /* @__PURE__ */ a(function() { return { type: "EmptyStatement" }; }, "To_Moz_EmptyStatement")), _(Le, /* @__PURE__ */ a(function(v) { return { type: "BlockStatement", body: v.body.map(p) }; }, "To_Moz_BlockStatement")), _(at, /* @__PURE__ */ a(function(v) { return { type: "IfStatement", test: p(v.condition), consequent: p(v.body), alternate: p(v.alternative) }; }, "To_Moz_IfStatement")), _(Ht, /* @__PURE__ */ a(function(v) { return { type: "LabeledStatement", label: p(v.label), body: p(v.body) }; }, "To_Moz_LabeledStatement")), _(xn, /* @__PURE__ */ a(function(v) { return { type: "BreakStatement", label: p(v.label) }; }, "To_Moz_BreakStatement")), _(ua, /* @__PURE__ */ a(function(v) { return { type: "ContinueStatement", label: p(v.label) }; }, "To_Moz_ContinueStatement")), _(Er, /* @__PURE__ */ a(function(v) { return { type: "WithStatement", object: p(v.expression), body: p(v.body) }; }, "To_Moz_WithStatement")), _(Zt, /* @__PURE__ */ a(function(v) { return { type: "SwitchStatement", discriminant: p(v.expression), cases: v.body.map(p) }; }, "To_Moz_SwitchStatement")), _(At, /* @__PURE__ */ a(function(v) { return { type: "ReturnStatement", argument: p(v.value) }; }, "To_Moz_ReturnStatement")), _(Eo, /* @__PURE__ */ a(function(v) { return { type: "ThrowStatement", argument: p(v.value) }; }, "To_Moz_ThrowStatement")), _(Yn, /* @__PURE__ */ a(function(v) { return { type: "WhileStatement", test: p(v.condition), body: p(v.body) }; }, "To_Moz_WhileStatement")), _(Un, /* @__PURE__ */ a(function(v) { return { type: "DoWhileStatement", test: p(v.condition), body: p(v.body) }; }, "To_Moz_DoWhileStatement")), _(Dt, /* @__PURE__ */ a(function(v) { return { type: "ForStatement", init: p(v.init), test: p(v.condition), update: p(v.step), body: p(v.body) }; }, "To_Moz_ForStatement")), _(qt, /* @__PURE__ */ a(function(v) { return { type: "ForInStatement", left: p(v.init), right: p(v.object), body: p(v.body) }; }, "To_Moz_ForInStatement")), _(ca, /* @__PURE__ */ a(function(v) { return { type: "ForOfStatement", left: p(v.init), right: p(v.object), body: p(v.body), await: v.await }; }, "To_Moz_ForOfStatement")), _(zr, /* @__PURE__ */ a(function(v) { return { type: "AwaitExpression", argument: p(v.expression) }; }, "To_Moz_AwaitExpression")), _(Mr, /* @__PURE__ */ a(function(v) { return { type: "YieldExpression", argument: p(v.expression), delegate: v.is_star }; }, "To_Moz_YieldExpression")), _(ci, /* @__PURE__ */ a(function() { return { type: "DebuggerStatement" }; }, "To_Moz_DebuggerStatement")), _(Ti, /* @__PURE__ */ a(function(v) { return { type: "VariableDeclarator", id: p(v.name), init: p(v.value) }; }, "To_Moz_VariableDeclarator")), _(jt, /* @__PURE__ */ a(function() { return { type: "ThisExpression" }; }, "To_Moz_ThisExpression")), _(us, /* @__PURE__ */ a(function() { return { type: "Super" }; }, "To_Moz_Super")), _(Te, /* @__PURE__ */ a(function(v) { return { type: "ConditionalExpression", test: p(v.condition), consequent: p(v.consequent), alternate: p(v.alternative) }; }, "To_Moz_ConditionalExpression")), _(Dr, /* @__PURE__ */ a(function(v) { return { type: "NewExpression", callee: p(v.expression), arguments: v.args.map(p) }; }, "To_Moz_NewExpression")), _(pe, /* @__PURE__ */ a(function(v) { if (v.expression instanceof ue && v.expression.name === "import") { let [A, w] = v.args.map(p); return { type: "ImportExpression", source: A, options: w || null }; } return { type: "CallExpression", callee: p(v.expression), optional: v.optional, arguments: v.args.map(p) }; }, "To_Moz_CallExpression")), _(lt, /* @__PURE__ */ a(function(v) { return C("Program", v); }, "To_Moz_Program")), _(Ne, /* @__PURE__ */ a(function(v) { return { type: D() ? "RestElement" : "SpreadElement", argument: p(v.expression) }; }, "To_Moz_Spread")), _(Dn, /* @__PURE__ */ a(function(v) { return { type: "TaggedTemplateExpression", tag: p(v.prefix), quasi: p(v.template_string) }; }, "To_Moz_TaggedTemplateExpression")), _(Qt, /* @__PURE__ */ a(function(v) { for (var A = [], w = [], F = 0; F < v.segments.length; F++) F % 2 !== 0 ? w.push(p(v.segments[F])) : A.push({ type: "TemplateElement", value: { raw: v.segments[F].raw, cooked: v.segments[F].value }, tail: F === v.segments.length - 1 }); return { type: "TemplateLiteral", quasis: A, expressions: w }; }, "To_Moz_TemplateLiteral")), _(gt, /* @__PURE__ */ a(function(v) { return { type: "FunctionDeclaration", id: p(v.name), params: v.argnames.map(S), generator: v.is_generator, async: v.async, body: C("BlockStatement", v) }; }, "To_Moz_FunctionDeclaration")), _(ot, /* @__PURE__ */ a(function(v) { return { type: "FunctionExpression", id: p(v.name), params: v.argnames.map(S), generator: v.is_generator || !1, async: v.async || !1, body: C("BlockStatement", v) }; }, "To_Moz_FunctionExpression")), _(pt, /* @__PURE__ */ a(function(v) { var A = v.body.length === 1 && v.body[0] instanceof At && v.body[0].value ? p(v.body[0].value) : { type: "BlockStatement", body: v.body.map(p) }; return { type: "ArrowFunctionExpression", params: v.argnames.map(S), async: v.async, body: A }; }, "To_Moz_ArrowFunctionExpression")), _(Je, /* @__PURE__ */ a(function(v) { return v.is_array ? { type: "ArrayPattern", elements: v.names.map( (A) => A instanceof bn ? null : S(A) ) } : { type: "ObjectPattern", properties: v.names.map((A) => { if (A instanceof et) { var w = A.computed_key(); let [F, x] = h(A.key, w, A.quote, A.value); return { type: "Property", computed: w, kind: "init", key: x, method: !1, shorthand: F, value: S(A.value) }; } else return S(A); }) }; }, "To_Moz_ObjectPattern")), _(yr, /* @__PURE__ */ a(function(v) { return { type: "AssignmentPattern", left: S(v.left), right: p(v.right) }; }, "To_Moz_AssignmentExpression")), _(Br, /* @__PURE__ */ a(function(v) { return { type: "ExpressionStatement", expression: { type: "Literal", value: v.value, raw: v.print_to_string() }, directive: v.value }; }, "To_Moz_Directive")), _(me, /* @__PURE__ */ a(function(v) { return { type: "ExpressionStatement", expression: p(v.body) }; }, "To_Moz_ExpressionStatement")), _(Ai, /* @__PURE__ */ a(function(v) { return { type: "SwitchCase", test: p(v.expression), consequent: v.body.map(p) }; }, "To_Moz_SwitchCase")), _(Ar, /* @__PURE__ */ a(function(v) { return { type: "TryStatement", block: E(v.body), handler: p(v.bcatch), guardedHandlers: [], finalizer: p(v.bfinally) }; }, "To_Moz_TryStatement")), _(Vn, /* @__PURE__ */ a(function(v) { return { type: "CatchClause", param: v.argname != null ? S(v.argname) : null, body: E(v) }; }, "To_Moz_CatchClause")), _(an, /* @__PURE__ */ a(function(v) { return { type: "VariableDeclaration", kind: v instanceof ha ? "const" : v instanceof fa ? "let" : v instanceof nn ? v.await ? "await using" : "using" : "var", declarations: v.definitions.map(p) }; }, "To_Moz_VariableDeclaration")); function n(m) { let v = []; if (m) for (let { key: A, value: w } of m.properties) { let F = gl(A) ? { type: "Identifier", name: A } : { type: "Literal", value: A, raw: JSON.stringify(A) }; v.push({ type: "ImportAttribute", key: F, value: p(w) }); } return v; } a(n, "import_attributes_to_moz"), _(Et, /* @__PURE__ */ a(function(v) { if (v.exported_names) { var A = v.exported_names[0]; if (A && A.name.name === "*" && !A.name.quote) { var w = A.foreign_name, F = w.name === "*" && !w.quote ? null : p(w); return { type: "ExportAllDeclaration", source: p(v.module_name), exported: F, attributes: n(v.attributes) }; } return { type: "ExportNamedDeclaration", specifiers: v.exported_names.map(function(x) { return { type: "ExportSpecifier", exported: p(x.foreign_name), local: p(x.name) }; }), declaration: p(v.exported_definition), source: p(v.module_name), attributes: n(v.attributes) }; } return v.is_default ? { type: "ExportDefaultDeclaration", declaration: p(v.exported_value || v.exported_definition) } : { type: "ExportNamedDeclaration", declaration: p(v.exported_value || v.exported_definition), specifiers: [], source: null }; }, "To_Moz_ExportDeclaration")), _(Tr, /* @__PURE__ */ a(function(v) { var A = []; if (v.imported_name && A.push({ type: "ImportDefaultSpecifier", local: p(v.imported_name) }), v.imported_names) { var w = v.imported_names[0].foreign_name; w.name === "*" && !w.quote ? A.push({ type: "ImportNamespaceSpecifier", local: p(v.imported_names[0].name) }) : v.imported_names.forEach(function(F) { A.push({ type: "ImportSpecifier", local: p(F.name), imported: p(F.foreign_name) }); }); } return { type: "ImportDeclaration", specifiers: A, source: p(v.module_name), attributes: n(v.attributes) }; }, "To_Moz_ImportDeclaration")), _(fi, /* @__PURE__ */ a(function() { return { type: "MetaProperty", meta: { type: "Identifier", name: "import" }, property: { type: "Identifier", name: "meta" } }; }, "To_Moz_MetaProperty")), _(Ee, /* @__PURE__ */ a(function(v) { return { type: "SequenceExpression", expressions: v.expressions.map(p) }; }, "To_Moz_SequenceExpression")), _(sn, /* @__PURE__ */ a(function(v) { return { type: "MemberExpression", object: p(v.expression), computed: !1, property: { type: "PrivateIdentifier", name: v.property }, optional: v.optional }; }, "To_Moz_PrivateMemberExpression")), _(_e, /* @__PURE__ */ a(function(v) { var A = v instanceof Tt; return { type: "MemberExpression", object: p(v.expression), computed: A, property: A ? p(v.property) : { type: "Identifier", name: v.property }, optional: v.optional }; }, "To_Moz_MemberExpression")), _(dt, /* @__PURE__ */ a(function(v) { return { type: "ChainExpression", expression: p(v.expression) }; }, "To_Moz_ChainExpression")), _(st, /* @__PURE__ */ a(function(v) { return { type: v.operator == "++" || v.operator == "--" ? "UpdateExpression" : "UnaryExpression", operator: v.operator, prefix: v instanceof Se, argument: p(v.expression) }; }, "To_Moz_Unary")), _(K, /* @__PURE__ */ a(function(v) { return v.operator == "=" && D() ? { type: "AssignmentPattern", left: p(v.left), right: p(v.right) } : { type: v.operator == "&&" || v.operator == "||" || v.operator === "??" ? "LogicalExpression" : "BinaryExpression", left: p(v.left), operator: v.operator, right: p(v.right) }; }, "To_Moz_BinaryExpression")), _(Ie, /* @__PURE__ */ a(function(v) { return { type: "AssignmentExpression", operator: v.operator, left: p(v.left), right: p(v.right) }; }, "To_Moz_AssignmentExpression")), _(On, /* @__PURE__ */ a(function(v) { return { type: "BinaryExpression", left: { type: "PrivateIdentifier", name: v.key.name }, operator: "in", right: p(v.value) }; }, "To_Moz_BinaryExpression_PrivateIn")), _(Me, /* @__PURE__ */ a(function(v) { return { type: "ArrayExpression", elements: v.elements.map(p) }; }, "To_Moz_ArrayExpression")), _(Ge, /* @__PURE__ */ a(function(v) { return { type: "ObjectExpression", properties: v.properties.map(p) }; }, "To_Moz_ObjectExpression")), _(Ot, /* @__PURE__ */ a(function(v, A) { var w = v.computed_key(); let [F, x] = h(v.key, w, v.quote, v.value); var I; return v instanceof wn ? I = "get" : v instanceof Hn && (I = "set"), v instanceof on || v instanceof yn ? { type: "MethodDefinition", computed: !1, kind: v instanceof on ? "get" : "set", static: v.static, key: { type: "PrivateIdentifier", name: v.key.name }, value: p(v.value) } : v instanceof Ur ? { type: "PropertyDefinition", key: { type: "PrivateIdentifier", name: v.key.name }, value: p(v.value), computed: !1, static: v.static } : v instanceof Kr ? { type: "PropertyDefinition", key: x, value: p(v.value), computed: w, static: v.static } : A instanceof qe ? { type: "MethodDefinition", computed: w, kind: I, static: v.static, key: p(v.key), value: p(v.value) } : { type: "Property", computed: w, method: !1, shorthand: F, kind: I, key: x, value: p(v.value) }; }, "To_Moz_Property")), _(et, /* @__PURE__ */ a(function(v) { var A = v.computed_key(); let [w, F] = h(v.key, A, v.quote, v.value); return { type: "Property", computed: A, shorthand: w, method: !1, kind: "init", key: F, value: p(v.value) }; }, "To_Moz_Property")), _(sr, /* @__PURE__ */ a(function(v, A) { let w = v.computed_key(), [F, x] = h(v.key, w, v.quote, v.value); return A instanceof Ge ? { type: "Property", kind: "init", computed: w, method: !0, shorthand: !1, key: x, value: p(v.value) } : { type: "MethodDefinition", kind: !w && v.key.name === "constructor" ? "constructor" : "method", computed: w, key: x, value: p(v.value), static: v.static }; }, "To_Moz_MethodDefinition")), _(qr, /* @__PURE__ */ a(function(v) { return { type: "MethodDefinition", kind: "method", key: { type: "PrivateIdentifier", name: v.key.name }, value: p(v.value), computed: !1, static: v.static }; }, "To_Moz_MethodDefinition")), _(qe, /* @__PURE__ */ a(function(v) { var A = v instanceof ui ? "ClassExpression" : "ClassDeclaration"; return { type: A, superClass: p(v.extends), id: v.name ? p(v.name) : null, body: { type: "ClassBody", body: v.properties.map(p) } }; }, "To_Moz_Class")), _(Jt, /* @__PURE__ */ a(function(v) { return { type: "StaticBlock", body: v.body.map(p) }; }, "To_Moz_StaticBlock")), _(ss, /* @__PURE__ */ a(function() { return { type: "MetaProperty", meta: { type: "Identifier", name: "new" }, property: { type: "Identifier", name: "target" } }; }, "To_Moz_MetaProperty")), _(He, /* @__PURE__ */ a(function(v, A) { if (v instanceof Sr && A.quote || (v instanceof bo || v instanceof ns || v instanceof is) && v.quote) return { type: "Literal", value: v.name }; var w = v.definition(); return { type: "Identifier", name: w ? w.mangled_name || w.name : v.name }; }, "To_Moz_Identifier")), _(or, /* @__PURE__ */ a(function(v) { let A = v.value.source, w = v.value.flags; return { type: "Literal", value: null, raw: v.print_to_string(), regex: { pattern: A, flags: w } }; }, "To_Moz_RegExpLiteral")), _(Xe, /* @__PURE__ */ a(function(v) { var A = v.value; return { type: "Literal", value: A, raw: v.raw || v.print_to_string() }; }, "To_Moz_Literal")), _(Hs, /* @__PURE__ */ a(function(v) { return { type: "Identifier", name: String(v.value) }; }, "To_Moz_Atom")), _(un, (m) => ({ type: "Literal", // value cannot be represented natively // see: https://github.com/estree/estree/blob/master/es2020.md#bigintliteral value: null, // `M.value` is a string that may be a hex number representation. // but "bigint" property should have only decimal digits bigint: typeof BigInt == "function" ? BigInt(m.value).toString() : m.value, raw: m.raw })), ff.DEFMETHOD("to_mozilla_ast", Xe.prototype.to_mozilla_ast), ln.DEFMETHOD("to_mozilla_ast", Xe.prototype.to_mozilla_ast), bn.DEFMETHOD( "to_mozilla_ast", /* @__PURE__ */ a(function() { return null; }, "To_Moz_ArrayHole")), It.DEFMETHOD("to_mozilla_ast", Le.prototype.to_mozilla_ast), ge.DEFMETHOD("to_mozilla_ast", ot.prototype.to_mozilla_ast); function i(m) { var v = m.loc, A = v && v.start, w = m.range; return new So( "", "", A && A.line || 0, A && A.column || 0, w ? w[0] : m.start, !1, [], [], v && v.source ); } a(i, "my_start_token"); function s(m) { var v = m.loc, A = v && v.end, w = m.range; return new So( "", "", A && A.line || 0, A && A.column || 0, w ? w[0] : m.end, !1, [], [], v && v.source ); } a(s, "my_end_token"); var o = null; function u(m) { return m == null ? null : r[m.type](m); } a(u, "from_moz"); function l(m, v) { return !v && m.type === "Literal" && typeof m.value == "string" ? '"' : ""; } a(l, "from_moz_quote"); function c(m, v, A) { return new m({ start: i(v), quote: A ? '"' : void 0, name: v.type === "Identifier" ? v.name : String(v.value), end: s(v) }); } a(c, "from_moz_symbol"); function f(m, v) { return new (v ? li : ot)({ start: i(m), end: s(m), name: m.id && c(v ? Sr : jn, m.id), argnames: m.params.map((A) => d(A, Kt)), is_generator: m.generator, async: m.async, body: e(u(m.body).body) }); } a(f, "from_moz_lambda"); function d(m, v) { switch (m.type) { case "ObjectPattern": return new Je({ start: i(m), end: s(m), names: m.properties.map((F) => d(F, v)), is_array: !1 }); case "Property": var A = m.key, w = { start: i(A || m.value), end: s(m.value), key: A.type == "Identifier" ? A.name : String(A.value), quote: !m.computed && A.type === "Literal" && typeof A.value == "string" ? '"' : "", value: d(m.value, v) }; return m.computed && (w.key = u(m.key)), new et(w); case "ArrayPattern": return new Je({ start: i(m), end: s(m), names: m.elements.map(function(F) { return F === null ? new bn() : d(F, v); }), is_array: !0 }); case "SpreadElement": case "RestElement": return new Ne({ start: i(m), end: s(m), expression: d(m.argument, v) }); case "AssignmentPattern": return new yr({ start: i(m), end: s(m), left: d(m.left, v), operator: "=", right: u(m.right) }); case "Identifier": return new v({ start: i(m), end: s(m), name: m.name }); default: throw new Error("Invalid node type for destructuring: " + m.type); } } a(d, "from_moz_pattern"); function g(m) { if (!m) return null; let v = c(of, m), A = o.length; for (; A--; ) { let w = o[A]; if (v.name === w.name) { v.thedef = w; break; } } return v; } a(g, "from_moz_label_ref"), ne.from_mozilla_ast = function(m) { var v = o; o = []; var A = u(m); return o = v, A; }; function b(m, v) { var A = m.start, w = m.end; return A && w && (A.pos != null && w.endpos != null && (v.range = [A.pos, w.endpos]), A.line && (v.loc = { start: { line: A.line, column: A.col }, end: w.endline ? { line: w.endline, column: w.endcol } : null }, A.file && (v.loc.source = A.file))), v; } a(b, "set_moz_loc"); function _(m, v) { m.DEFMETHOD("to_mozilla_ast", function(A) { return b(this, v(this, A)); }); } a(_, "def_to_moz"); var T = null; function p(m) { T === null && (T = []), T.push(m); var v = m != null ? m.to_mozilla_ast(T[T.length - 2]) : null; return T.pop(), T.length === 0 && (T = null), v; } a(p, "to_moz"); function h(m, v = !1, A = !1, w = null) { if (v) return [!1, p(m)]; let F = typeof m == "string" ? m : m.name, x; return A ? x = { type: "Literal", value: F, raw: JSON.stringify(F) } : "" + +F === F && +F >= 0 ? x = { type: "Literal", value: +F, raw: JSON. stringify(+F) } : x = { type: "Identifier", name: F }, [x.type === "Identifier" && x.name === F && (w instanceof He && w.name === F || w instanceof yr && w.left.name === F), x]; } a(h, "to_moz_property_key"); function S(m) { if (m instanceof Ne) return { type: "RestElement", argument: S(m.expression) }; if (m instanceof He || m instanceof Je || m instanceof yr || m instanceof _e) return p(m); throw new Error(m.TYPE); } a(S, "to_moz_pattern"); function D() { for (var m = T.length; m--; ) if (T[m] instanceof Je) return !0; return !1; } a(D, "to_moz_in_destructuring"); function E(m) { return { type: "BlockStatement", body: m.body.map(p) }; } a(E, "to_moz_block"); function C(m, v) { var A = v.body.map(p); return v.body[0] instanceof me && v.body[0].body instanceof Ve && A.unshift(p(new it(v.body[0]))), { type: m, body: A }; } a(C, "to_moz_scope"); })(); }); // ../node_modules/terser/lib/utils/first_in_statement.js function pi(e) { let t = e.parent(-1); for (let r = 0, n; n = e.parent(r); r++) { if (n instanceof Xt && n.body === t) return !0; if (n instanceof Ee && n.expressions[0] === t || n.TYPE === "Call" && n.expression === t || n instanceof Dn && n.prefix === t || n instanceof nt && n.expression === t || n instanceof Tt && n.expression === t || n instanceof dt && n.expression === t || n instanceof Te && n.condition === t || n instanceof K && n.left === t || n instanceof hi && n.expression === t) t = n; else return !1; } } function js(e) { return e instanceof Ge ? !0 : e instanceof Ee ? js(e.expressions[0]) : e.TYPE === "Call" ? js(e.expression) : e instanceof Dn ? js(e.prefix) : e instanceof nt || e instanceof Tt || e instanceof dt ? js(e.expression) : e instanceof Te ? js(e.condition) : e instanceof K ? js(e.left) : e instanceof hi ? js(e.expression) : !1; } var pf = we(() => { Nr(); a(pi, "first_in_statement"); a(js, "left_is_object"); }); // ../node_modules/terser/lib/output.js function dNe(e) { return (e.type === "comment2" || e.type === "comment1") && /@preserve|@copyright|@lic|@cc_on|^\**!/i.test(e.value); } function El(e) { var t = !e; e = Wn(e, { ascii_only: !1, beautify: !1, braces: !1, comments: "some", ecma: 5, ie8: !1, indent_level: 4, indent_start: 0, inline_script: !0, keep_numbers: !1, keep_quoted_props: !1, max_line_len: !1, preamble: null, preserve_annotations: !1, quote_keys: !1, quote_style: 0, safari10: !1, semicolons: !0, shebang: !0, shorthand: void 0, source_map: null, webkit: !1, width: 80, wrap_iife: !1, wrap_func_args: !1, _destroy_ast: !1 }, !0), e.shorthand === void 0 && (e.shorthand = e.ecma > 5); var r = Qe; if (e.comments) { let V = e.comments; if (typeof e.comments == "string" && /^\/.*\/[a-zA-Z]*$/.test(e.comments)) { var n = e.comments.lastIndexOf("/"); V = new RegExp( e.comments.substr(1, n - 1), e.comments.substr(n + 1) ); } V instanceof RegExp ? r = /* @__PURE__ */ a(function(Y) { return Y.type != "comment5" && V.test(Y.value); }, "comment_filter") : typeof V == "function" ? r = /* @__PURE__ */ a(function(Y) { return Y.type != "comment5" && V(this, Y); }, "comment_filter") : V === "some" ? r = dNe : r = Ir; } if (e.preserve_annotations) { let V = r; r = /* @__PURE__ */ a(function(Y) { return u$.test(Y.value) || V.apply(this, arguments); }, "comment_filter"); } var i = 0, s = 0, o = 1, u = 0, l = new Jx(); let c = /* @__PURE__ */ new Set(); var f = e.ascii_only ? function(V, Y = !1, ae = !1) { return e.ecma >= 2015 && !e.safari10 && !ae && (V = V.replace(/[\ud800-\udbff][\udc00-\udfff]/g, function(Pe) { var Ye = QW(Pe, 0).toString(16); return "\\u{" + Ye + "}"; })), V.replace(/[\u0000-\u001f\u007f-\uffff]/g, function(Pe) { var Ye = Pe.charCodeAt(0).toString(16); if (Ye.length <= 2 && !Y) { for (; Ye.length < 2; ) Ye = "0" + Ye; return "\\x" + Ye; } else { for (; Ye.length < 4; ) Ye = "0" + Ye; return "\\u" + Ye; } }); } : function(V) { return V.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g, function(Y, ae) { return ae ? "\\u" + ae.charCodeAt(0).toString(16) : Y; }); }; function d(V, Y) { var ae = 0, Pe = 0; V = V.replace( /[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g, function(Nt, rr) { switch (Nt) { case '"': return ++ae, '"'; case "'": return ++Pe, "'"; case "\\": return "\\\\"; case ` `: return "\\n"; case "\r": return "\\r"; case " ": return "\\t"; case "\b": return "\\b"; case "\f": return "\\f"; case "\v": return e.ie8 ? "\\x0B" : "\\v"; case "\u2028": return "\\u2028"; case "\u2029": return "\\u2029"; case "\uFEFF": return "\\ufeff"; case "\0": return /[0-9]/.test(qs(V, rr + 1)) ? "\\x00" : "\\0"; } return Nt; } ); function Ye() { return "'" + V.replace(/\x27/g, "\\'") + "'"; } a(Ye, "quote_single"); function ut() { return '"' + V.replace(/\x22/g, '\\"') + '"'; } a(ut, "quote_double"); function tr() { return "`" + V.replace(/`/g, "\\`") + "`"; } if (a(tr, "quote_template"), V = f(V), Y === "`") return tr(); switch (e.quote_style) { case 1: return Ye(); case 2: return ut(); case 3: return Y == "'" ? Ye() : ut(); default: return ae > Pe ? Ye() : ut(); } } a(d, "make_string"); function g(V, Y) { var ae = d(V, Y); return e.inline_script && (ae = ae.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi, "<\\/$1$2"), ae = ae.replace(/\x3c!--/g, "\\x3c!--"), ae = ae.replace(/--\x3e/g, "--\\x3e")), ae; } a(g, "encode_string"); function b(V) { return V = V.toString(), V = f(V, !0), V; } a(b, "make_name"); function _(V) { return " ".repeat(e.indent_start + i - V * e.indent_level); } a(_, "make_indent"); var T = !1, p = !1, h = !1, S = 0, D = !1, E = !1, C = -1, m = "", v, A, w = e.source_map && [], F = w ? function() { w.forEach(function(V) { try { let { name: Y, token: ae } = V; Y !== !1 && (ae.type == "name" || ae.type === "privatename" ? Y = ae.value : Y instanceof He && (Y = ae.type === "string" ? ae.value : Y.name)), e.source_map.add( V.token.file, V.line, V.col, V.token.line, V.token.col, gl(Y) ? Y : void 0 ); } catch { } }), w = []; } : An, x = e.max_line_len ? function() { if (s > e.max_line_len && S) { l.insertAt(` `, S); let Y = l.length() - S - 1; if (w) { var V = Y - s; w.forEach(function(ae) { ae.line++, ae.col += V; }); } o++, u++, s = Y; } S && (S = 0, F()); } : An, I = Ze("( [ + * / - , . `"); function N(V) { V = String(V); var Y = qs(V, 0); D && Y && (D = !1, Y !== ` ` && (N(` `), M())), E && Y && (E = !1, /[\s;})]/.test(Y) || U()), C = -1; var ae = m.charAt(m.length - 1); h && (h = !1, (ae === ":" && Y === "}" || (!Y || !";}".includes(Y)) && ae !== ";") && (e.semicolons || I.has(Y) ? (l.append(";"), s++, u++) : (x(), s > 0 && (l.append(` `), u++, o++, s = 0), /^\s+$/.test(V) && (h = !0)), e.beautify || (p = !1))), p && ((ml(ae) && (ml(Y) || Y == "\\") || Y == "/" && Y == ae || (Y == "+" || Y == "-") && Y == m) && (l.append(" "), s++, u++), p = !1), v && (w.push({ token: v, name: A, line: o, col: s }), v = !1, S || F()), l.append(V), T = V[V.length - 1] == "(", u += V.length; var Pe = V.split(/\r?\n/), Ye = Pe.length - 1; o += Ye, s += Pe[0].length, Ye > 0 && (x(), s = Pe[Ye].length), m = V; } a(N, "print"); var H = /* @__PURE__ */ a(function() { N("*"); }, "star"), U = e.beautify ? function() { N(" "); } : function() { p = !0; }, M = e.beautify ? function(V) { e.beautify && N(_(V ? 0.5 : 0)); } : An, ee = e.beautify ? function(V, Y) { V === !0 && (V = ze()); var ae = i; i = V; var Pe = Y(); return i = ae, Pe; } : function(V, Y) { return Y(); }, oe = e.beautify ? function() { if (C < 0) return N(` `); l.charAt(C) != ` ` && (l.insertAt(` `, C), u++, o++), C++; } : e.max_line_len ? function() { x(), S = l.length(); } : An, he = e.beautify ? function() { N(";"); } : function() { h = !0; }; function le() { h = !1, N(";"); } a(le, "force_semicolon"); function ze() { return i + e.indent_level; } a(ze, "next_indent"); function te(V) { var Y; return N("{"), oe(), ee(ze(), function() { Y = V(); }), M(), N("}"), Y; } a(te, "with_block"); function ve(V) { N("("); var Y = V(); return N(")"), Y; } a(ve, "with_parens"); function z(V) { N("["); var Y = V(); return N("]"), Y; } a(z, "with_square"); function j() { N(","), U(); } a(j, "comma"); function X() { N(":"), U(); } a(X, "colon"); var re = w ? function(V, Y) { v = V, A = Y; } : An; function ce() { return S && x(), l.toString(); } a(ce, "get"); function ie(V) { return e.preserve_annotations || (V = V.replace(u$, " ")), /^\s*$/.test(V) ? "" : V.replace(/(<\s*\/\s*)(script)/i, "<\\/$2"); } a(ie, "filter_comment"); function je(V) { var Y = this, ae = V.start; if (!ae) return; var Pe = Y.printed_comments; let Ye = V instanceof En && V.value || (V instanceof zr || V instanceof Mr) && V.expression; if (ae.comments_before && Pe.has(ae.comments_before)) if (Ye) ae.comments_before = []; else return; var ut = ae.comments_before; if (ut || (ut = ae.comments_before = []), Pe.add(ut), Ye) { var tr = new $t(function(Ut) { var nr = tr.parent(); if (nr instanceof En || nr instanceof zr || nr instanceof Mr || nr instanceof K && nr.left === Ut || nr.TYPE == "Call" && nr.expression === Ut || nr instanceof Te && nr.condition === Ut || nr instanceof nt && nr.expression === Ut || nr instanceof Ee && nr.expressions[0] === Ut || nr instanceof Tt && nr.expression === Ut || nr instanceof hi) { if (!Ut.start) return; var Yr = Ut.start.comments_before; Yr && !Pe.has(Yr) && (Pe.add(Yr), ut = ut.concat(Yr)); } else return !0; }); tr.push(V), Ye.walk(tr); } if (u == 0) { ut.length > 0 && e.shebang && ut[0].type === "comment5" && !Pe.has(ut[0]) && (N("#!" + ut.shift().value + ` `), M()); var Nt = e.preamble; Nt && N(Nt.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g, ` `)); } if (ut = ut.filter(r, V).filter((Ut) => !Pe.has(Ut)), ut.length != 0) { var rr = l.hasNLB(); ut.forEach(function(Ut, nr) { if (Pe.add(Ut), rr || (Ut.nlb ? (N(` `), M(), rr = !0) : nr > 0 && U()), /comment[134]/.test(Ut.type)) { var Yr = ie(Ut.value); Yr && (N("//" + Yr + ` `), M()), rr = !0; } else if (Ut.type == "comment2") { var Yr = ie(Ut.value); Yr && N("/*" + Yr + "*/"), rr = !1; } }), rr || (ae.nlb ? (N(` `), M()) : U()); } } a(je, "prepend_comments"); function Q(V, Y) { var ae = this, Pe = V.end; if (Pe) { var Ye = ae.printed_comments, ut = Pe[Y ? "comments_before" : "comments_after"]; if (!(!ut || Ye.has(ut)) && (V instanceof Xt || ut.every( (Nt) => !/comment[134]/.test(Nt.type) ))) { Ye.add(ut); var tr = l.length(); ut.filter(r, V).forEach(function(Nt, rr) { if (!Ye.has(Nt)) { if (Ye.add(Nt), E = !1, D ? (N(` `), M(), D = !1) : Nt.nlb && (rr > 0 || !l.hasNLB()) ? (N(` `), M()) : (rr > 0 || !Y) && U(), /comment[134]/.test(Nt.type)) { let Ut = ie(Nt.value); Ut && N("//" + Ut), D = !0; } else if (Nt.type == "comment2") { let Ut = ie(Nt.value); Ut && N("/*" + Ut + "*/"), E = !0; } } }), l.length() > tr && (C = tr); } } } a(Q, "append_comments"); let se = e._destroy_ast ? /* @__PURE__ */ a(function(Y) { Y.body.length = 0, Y.argnames.length = 0; }, "gc_scope") : An; var fe = []; return { get: ce, toString: ce, indent: M, in_directive: !1, use_asm: null, active_scope: null, indentation: /* @__PURE__ */ a(function() { return i; }, "indentation"), current_width: /* @__PURE__ */ a(function() { return s - i; }, "current_width"), should_break: /* @__PURE__ */ a(function() { return e.width && this.current_width() >= e.width; }, "should_break"), has_parens: /* @__PURE__ */ a(function() { return T; }, "has_parens"), newline: oe, print: N, star: H, space: U, comma: j, colon: X, last: /* @__PURE__ */ a(function() { return m; }, "last"), semicolon: he, force_semicolon: le, to_utf8: f, print_name: /* @__PURE__ */ a(function(V) { N(b(V)); }, "print_name"), print_string: /* @__PURE__ */ a(function(V, Y, ae) { var Pe = g(V, Y); ae === !0 && !Pe.includes("\\") && (l.expectDirective() || le(), le()), N(Pe); }, "print_string"), print_template_string_chars: /* @__PURE__ */ a(function(V) { var Y = g(V, "`").replace(/\${/g, "\\${"); return N(Y.substr(1, Y.length - 2)); }, "print_template_string_chars"), encode_string: g, next_indent: ze, with_indent: ee, with_block: te, with_parens: ve, with_square: z, add_mapping: re, option: /* @__PURE__ */ a(function(V) { return e[V]; }, "option"), gc_scope: se, printed_comments: c, prepend_comments: t ? An : je, append_comments: t || r === Qe ? An : Q, line: /* @__PURE__ */ a(function() { return o; }, "line"), col: /* @__PURE__ */ a(function() { return s; }, "col"), pos: /* @__PURE__ */ a(function() { return u; }, "pos"), push_node: /* @__PURE__ */ a(function(V) { fe.push(V); }, "push_node"), pop_node: /* @__PURE__ */ a(function() { return fe.pop(); }, "pop_node"), parent: /* @__PURE__ */ a(function(V) { return fe[fe.length - 2 - (V || 0)]; }, "parent") }; } var s$, o$, u$, mNe, Jx, Iv = we(() => { "use strict"; rn(); pf(); Nr(); cu(); s$ = 10, o$ = 32, u$ = /[@#]__(PURE|INLINE|NOINLINE)__/; a(dNe, "is_some_comments"); mNe = 8 * 1e3, Jx = class { static { a(this, "Rope"); } constructor() { this.committed = "", this.current = ""; } append(t) { this.current.length > mNe ? (this.committed += this.current + t, this.current = "") : this.current += t; } insertAt(t, r) { let { committed: n, current: i } = this; r < n.length ? this.committed = n.slice(0, r) + t + n.slice(r) : r === n.length ? this.committed += t : (r -= n.length, this.committed += i.slice(0, r) + t, this.current = i.slice(r)); } charAt(t) { let { committed: r } = this; return t < r.length ? r[t] : this.current[t - r.length]; } charCodeAt(t) { let { committed: r } = this; return t < r.length ? r.charCodeAt(t) : this.current.charCodeAt(t - r.length); } length() { return this.committed.length + this.current.length; } expectDirective() { let t, r = this.length(); if (r <= 0) return !0; for (; (t = this.charCodeAt(--r)) && (t == o$ || t == s$); ) ; return !t || t === 59 || t === 123; } hasNLB() { let t = this.length() - 1; for (; t >= 0; ) { let r = this.charCodeAt(t--); if (r === s$) return !0; if (r !== o$) return !1; } return !0; } toString() { return this.committed + this.current; } }; a(El, "OutputStream"); (function() { function e(p, h) { p.DEFMETHOD("_codegen", h); } a(e, "DEFPRINT"), ne.DEFMETHOD("print", function(p, h) { var S = this, D = S._codegen; S instanceof De ? p.active_scope = S : !p.use_asm && S instanceof Br && S.value == "use asm" && (p.use_asm = p.active_scope); function E() { p.prepend_comments(S), S.add_source_map(p), D(S, p), p.append_comments(S); } a(E, "doit"), p.push_node(S), h || S.needs_parens(p) ? p.with_parens(E) : E(), p.pop_node(), S === p.use_asm && (p.use_asm = null); }), ne.DEFMETHOD("_print", ne.prototype.print), ne.DEFMETHOD("print_to_string", function(p) { var h = El(p); return this.print(h), h.get(); }); function t(p, h) { Array.isArray(p) ? p.forEach(function(S) { t(S, h); }) : p.DEFMETHOD("needs_parens", h); } a(t, "PARENS"), t(ne, Qe), t(ot, function(p) { if (!p.has_parens() && pi(p)) return !0; if (p.option("webkit")) { var h = p.parent(); if (h instanceof _e && h.expression === this) return !0; } if (p.option("wrap_iife")) { var h = p.parent(); if (h instanceof pe && h.expression === this) return !0; } if (p.option("wrap_func_args")) { var h = p.parent(); if (h instanceof pe && h.args.includes(this)) return !0; } return !1; }), t(pt, function(p) { var h = p.parent(); return p.option("wrap_func_args") && h instanceof pe && h.args.includes(this) ? !0 : h instanceof _e && h.expression === this || h instanceof Te && h.condition === this; }), t(Ge, function(p) { return !p.has_parens() && pi(p); }), t(ui, pi), t(st, function(p) { var h = p.parent(); return h instanceof _e && h.expression === this || h instanceof pe && h.expression === this || h instanceof K && h.operator === "**" && this instanceof Se && h.left === this && this.operator !== "++" && this.operator !== "--"; }), t(zr, function(p) { var h = p.parent(); return h instanceof _e && h.expression === this || h instanceof pe && h.expression === this || h instanceof K && h.operator === "**" && h.left === this || p.option("safari10") && h instanceof Se; }), t(Ee, function(p) { var h = p.parent(); return h instanceof pe || h instanceof st || h instanceof K || h instanceof Ti || h instanceof _e || h instanceof Me || h instanceof Ot || h instanceof Te || h instanceof pt || h instanceof yr || h instanceof Ne || h instanceof ca && this === h.object || h instanceof Mr || h instanceof Et; }), t(K, function(p) { var h = p.parent(); if (h instanceof pe && h.expression === this || h instanceof st || h instanceof _e && h.expression === this) return !0; if (h instanceof K) { let S = h.operator, D = this.operator; if (D === "??" && (S === "||" || S === "&&") || S === "??" && (D === "||" || D === "&&")) return !0; let E = bi[S], C = bi[D]; if (E > C || E == C && (this === h.right || S == "**")) return !0; } if (h instanceof On) { let S = this.operator, D = bi.in, E = bi[S]; if (D > E || D == E && this === h.value) return !0; } }), t(On, function(p) { var h = p.parent(); if (h instanceof pe && h.expression === this || h instanceof st || h instanceof _e && h.expression === this) return !0; if (h instanceof K) { let S = h.operator, D = bi[S], E = bi.in; if (D > E || D == E && (this === h.right || S == "**")) return !0; } if (h instanceof On && this === h.value) return !0; }), t(Mr, function(p) { var h = p.parent(); if (h instanceof K && h.operator !== "=" || h instanceof pe && h.expression === this || h instanceof Te && h.condition === this || h instanceof st || h instanceof _e && h.expression === this) return !0; }), t(dt, function(p) { var h = p.parent(); return h instanceof pe || h instanceof _e ? h.expression === this : !1; }), t(_e, function(p) { var h = p.parent(); if (h instanceof Dr && h.expression === this) return Rt(this, (S) => { if (S instanceof De) return !0; if (S instanceof pe) return cn; }); }), t(pe, function(p) { var h = p.parent(), S; return h instanceof Dr && h.expression === this || h instanceof Et && h.is_default && this.expression instanceof ot ? !0 : this.expression instanceof ot && h instanceof _e && h.expression === this && (S = p.parent(1)) instanceof Ie && S.left === h; }), t(Dr, function(p) { var h = p.parent(); if (this.args.length === 0 && (h instanceof _e || h instanceof pe && h.expression === this || h instanceof Dn && h.prefix === this)) return !0; }), t(Ae, function(p) { var h = p.parent(); if (h instanceof _e && h.expression === this) { var S = this.getValue(); if (S < 0 || /^0/.test(b(S))) return !0; } }), t(un, function(p) { var h = p.parent(); if (h instanceof _e && h.expression === this) { var S = this.getValue(); if (S.startsWith("-")) return !0; } }), t([Ie, Te], function(p) { var h = p.parent(); if (h instanceof st || h instanceof K && !(h instanceof Ie) || h instanceof pe && h.expression === this || h instanceof Te && h.condition === this || h instanceof _e && h.expression === this || this instanceof Ie && this.left instanceof Je && this.left.is_array === !1) return !0; }), e(Br, function(p, h) { h.print_string(p.value, p.quote), h.semicolon(); }), e(Ne, function(p, h) { h.print("..."), p.expression.print(h); }), e(Je, function(p, h) { h.print(p.is_array ? "[" : "{"); var S = p.names.length; p.names.forEach(function(D, E) { E > 0 && h.comma(), D.print(h), E == S - 1 && D instanceof bn && h.comma(); }), h.print(p.is_array ? "]" : "}"); }), e(ci, function(p, h) { h.print("debugger"), h.semicolon(); }); function r(p, h, S, D) { var E = p.length - 1; S.in_directive = D, p.forEach(function(C, m) { S.in_directive === !0 && !(C instanceof Br || C instanceof it || C instanceof me && C.body instanceof Ve) && (S.in_directive = !1), C instanceof it || (S.indent(), C.print(S), m == E && h || (S.newline(), h && S.newline())), S.in_directive === !0 && C instanceof me && C.body instanceof Ve && (S.in_directive = !1); }), S.in_directive = !1; } a(r, "display_body"), du.DEFMETHOD("_do_print_body", function(p) { d(this.body, p); }), e(Xt, function(p, h) { p.body.print(h), h.semicolon(); }), e(lt, function(p, h) { r(p.body, !0, h, !0), h.print(""); }), e(Ht, function(p, h) { p.label.print(h), h.colon(), p.body.print(h); }), e(me, function(p, h) { p.body.print(h), h.semicolon(); }); function n(p, h) { h.print("{"), h.with_indent(h.next_indent(), function() { h.append_comments(p, !0); }), h.add_mapping(p.end), h.print("}"); } a(n, "print_braced_empty"); function i(p, h, S) { p.body.length > 0 ? h.with_block(function() { r(p.body, !1, h, S), h.add_mapping(p.end); }) : n(p, h); } a(i, "print_braced"), e(Le, function(p, h) { i(p, h); }), e(it, function(p, h) { h.semicolon(); }), e(Un, function(p, h) { h.print("do"), h.space(), _(p.body, h), h.space(), h.print("while"), h.space(), h.with_parens(function() { p.condition.print(h); }), h.semicolon(); }), e(Yn, function(p, h) { h.print("while"), h.space(), h.with_parens(function() { p.condition.print(h); }), h.space(), p._do_print_body(h); }), e(Dt, function(p, h) { h.print("for"), h.space(), h.with_parens(function() { p.init ? (p.init instanceof an ? p.init.print(h) : o(p.init, h, !0), h.print(";"), h.space()) : h.print(";"), p.condition ? (p.condition. print(h), h.print(";"), h.space()) : h.print(";"), p.step && p.step.print(h); }), h.space(), p._do_print_body(h); }), e(qt, function(p, h) { h.print("for"), p.await && (h.space(), h.print("await")), h.space(), h.with_parens(function() { p.init.print(h), h.space(), h.print(p instanceof ca ? "of" : "in"), h.space(), p.object.print(h); }), h.space(), p._do_print_body(h); }), e(Er, function(p, h) { h.print("with"), h.space(), h.with_parens(function() { p.expression.print(h); }), h.space(), p._do_print_body(h); }), ge.DEFMETHOD("_do_print", function(p, h) { var S = this; h || (S.async && (p.print("async"), p.space()), p.print("function"), S.is_generator && p.star(), S.name && p.space()), S.name instanceof He ? S.name.print(p) : h && S.name instanceof ne && p.with_square(function() { S.name.print(p); }), p.with_parens(function() { S.argnames.forEach(function(D, E) { E && p.comma(), D.print(p); }); }), p.space(), i(S, p, !0); }), e(ge, function(p, h) { p._do_print(h), h.gc_scope(p); }), e(Dn, function(p, h) { var S = p.prefix, D = S instanceof ge || S instanceof K || S instanceof Te || S instanceof Ee || S instanceof st || S instanceof nt && S.expression instanceof Ge; D && h.print("("), p.prefix.print(h), D && h.print(")"), p.template_string.print(h); }), e(Qt, function(p, h) { var S = h.parent() instanceof Dn; h.print("`"); for (var D = 0; D < p.segments.length; D++) p.segments[D] instanceof $n ? S ? h.print(p.segments[D].raw) : h.print_template_string_chars(p.segments[D].value) : (h.print("${"), p. segments[D].print(h), h.print("}")); h.print("`"); }), e($n, function(p, h) { h.print_template_string_chars(p.value); }), pt.DEFMETHOD("_do_print", function(p) { var h = this, S = p.parent(), D = S instanceof K && !(S instanceof Ie) && !(S instanceof yr) || S instanceof st || S instanceof pe && h === S.expression; D && p.print("("), h.async && (p.print("async"), p.space()), h.argnames.length === 1 && h.argnames[0] instanceof He ? h.argnames[0].print( p) : p.with_parens(function() { h.argnames.forEach(function(C, m) { m && p.comma(), C.print(p); }); }), p.space(), p.print("=>"), p.space(); let E = h.body[0]; if (h.body.length === 1 && E instanceof At) { let C = E.value; C ? js(C) ? (p.print("("), C.print(p), p.print(")")) : C.print(p) : p.print("{}"); } else i(h, p); D && p.print(")"), p.gc_scope(h); }), En.DEFMETHOD("_do_print", function(p, h) { if (p.print(h), this.value) { p.space(); let S = this.value.start.comments_before; S && S.length && !p.printed_comments.has(S) ? (p.print("("), this.value.print(p), p.print(")")) : this.value.print(p); } p.semicolon(); }), e(At, function(p, h) { p._do_print(h, "return"); }), e(Eo, function(p, h) { p._do_print(h, "throw"); }), e(Mr, function(p, h) { var S = p.is_star ? "*" : ""; h.print("yield" + S), p.expression && (h.space(), p.expression.print(h)); }), e(zr, function(p, h) { h.print("await"), h.space(); var S = p.expression, D = !(S instanceof pe || S instanceof ue || S instanceof _e || S instanceof st || S instanceof Xe || S instanceof zr || S instanceof Ge); D && h.print("("), p.expression.print(h), D && h.print(")"); }), Jn.DEFMETHOD("_do_print", function(p, h) { p.print(h), this.label && (p.space(), this.label.print(p)), p.semicolon(); }), e(xn, function(p, h) { p._do_print(h, "break"); }), e(ua, function(p, h) { p._do_print(h, "continue"); }); function s(p, h) { var S = p.body; if (h.option("braces") || h.option("ie8") && S instanceof Un) return _(S, h); if (!S) return h.force_semicolon(); for (; ; ) if (S instanceof at) { if (!S.alternative) { _(p.body, h); return; } S = S.alternative; } else if (S instanceof du) S = S.body; else break; d(p.body, h); } a(s, "make_then"), e(at, function(p, h) { h.print("if"), h.space(), h.with_parens(function() { p.condition.print(h); }), h.space(), p.alternative ? (s(p, h), h.space(), h.print("else"), h.space(), p.alternative instanceof at ? p.alternative.print(h) : d(p.alternative, h)) : p._do_print_body(h); }), e(Zt, function(p, h) { h.print("switch"), h.space(), h.with_parens(function() { p.expression.print(h); }), h.space(); var S = p.body.length - 1; S < 0 ? n(p, h) : h.with_block(function() { p.body.forEach(function(D, E) { h.indent(!0), D.print(h), E < S && D.body.length > 0 && h.newline(); }); }); }), Ai.DEFMETHOD("_do_print_body", function(p) { p.newline(), this.body.forEach(function(h) { p.indent(), h.print(p), p.newline(); }); }), e(Ki, function(p, h) { h.print("default:"), p._do_print_body(h); }), e(Cn, function(p, h) { h.print("case"), h.space(), p.expression.print(h), h.print(":"), p._do_print_body(h); }), e(Ar, function(p, h) { h.print("try"), h.space(), p.body.print(h), p.bcatch && (h.space(), p.bcatch.print(h)), p.bfinally && (h.space(), p.bfinally.print(h)); }), e(fu, function(p, h) { i(p, h); }), e(Vn, function(p, h) { h.print("catch"), p.argname && (h.space(), h.with_parens(function() { p.argname.print(h); })), h.space(), i(p, h); }), e(as, function(p, h) { h.print("finally"), h.space(), i(p, h); }), an.DEFMETHOD("_do_print", function(p, h) { p.print(h), p.space(), this.definitions.forEach(function(C, m) { m && p.comma(), C.print(p); }); var S = p.parent(), D = S instanceof Dt || S instanceof qt, E = !D || S && S.init !== this; E && p.semicolon(); }), e(fa, function(p, h) { p._do_print(h, "let"); }), e(Ft, function(p, h) { p._do_print(h, "var"); }), e(ha, function(p, h) { p._do_print(h, "const"); }), e(nn, function(p, h) { p._do_print(h, p.await ? "await using" : "using"); }), e(Tr, function(p, h) { h.print("import"), h.space(), p.imported_name && p.imported_name.print(h), p.imported_name && p.imported_names && (h.print(","), h.space()), p.imported_names && (p.imported_names.length === 1 && p.imported_names[0].foreign_name.name === "*" && !p.imported_names[0].foreign_name. quote ? p.imported_names[0].print(h) : (h.print("{"), p.imported_names.forEach(function(S, D) { h.space(), S.print(h), D < p.imported_names.length - 1 && h.print(","); }), h.space(), h.print("}"))), (p.imported_name || p.imported_names) && (h.space(), h.print("from"), h.space()), p.module_name.print(h), p.attributes && (h.print("with"), p.attributes.print(h)), h.semicolon(); }), e(fi, function(p, h) { h.print("import.meta"); }), e(qn, function(p, h) { var S = h.parent() instanceof Tr, D = p.name.definition(), E = p.foreign_name, C = (D && D.mangled_name || p.name.name) !== E.name; !C && E.name === "*" && !!E.quote != !!p.name.quote && (C = !0); var m = !E.quote; C ? (S ? m ? h.print(E.name) : h.print_string(E.name, E.quote) : p.name.quote ? h.print_string(p.name.name, p.name.quote) : p.name.print( h), h.space(), h.print("as"), h.space(), S ? p.name.print(h) : m ? h.print(E.name) : h.print_string(E.name, E.quote)) : p.name.quote ? h.print_string(p.name.name, p.name.quote) : p.name.print(h); }), e(Et, function(p, h) { if (h.print("export"), h.space(), p.is_default && (h.print("default"), h.space()), p.exported_names) p.exported_names.length === 1 && p.exported_names[0].name.name === "*" && !p.exported_names[0].name.quote ? p.exported_names[0].print( h) : (h.print("{"), p.exported_names.forEach(function(S, D) { h.space(), S.print(h), D < p.exported_names.length - 1 && h.print(","); }), h.space(), h.print("}")); else if (p.exported_value) p.exported_value.print(h); else if (p.exported_definition && (p.exported_definition.print(h), p.exported_definition instanceof Lr)) return; p.module_name && (h.space(), h.print("from"), h.space(), p.module_name.print(h)), p.attributes && (h.print("with"), p.attributes.print( h)), (p.exported_value && !(p.exported_value instanceof gt || p.exported_value instanceof ot || p.exported_value instanceof qe) || p.module_name || p.exported_names) && h.semicolon(); }); function o(p, h, S) { var D = !1; S && (D = Rt(p, (E) => { if (E instanceof De && !(E instanceof pt)) return !0; if (E instanceof K && E.operator == "in" || E instanceof On) return cn; })), p.print(h, D); } a(o, "parenthesize_for_noin"), e(Ti, function(p, h) { if (p.name.print(h), p.value) { h.space(), h.print("="), h.space(); var S = h.parent(1), D = S instanceof Dt || S instanceof qt; o(p.value, h, D); } }), e(pe, function(p, h) { p.expression.print(h), !(p instanceof Dr && p.args.length === 0) && ((p.expression instanceof pe || p.expression instanceof ge) && h.add_mapping( p.start), p.optional && h.print("?."), h.with_parens(function() { p.args.forEach(function(S, D) { D && h.comma(), S.print(h); }); })); }), e(Dr, function(p, h) { h.print("new"), h.space(), pe.prototype._codegen(p, h); }), Ee.DEFMETHOD("_do_print", function(p) { this.expressions.forEach(function(h, S) { S > 0 && (p.comma(), p.should_break() && (p.newline(), p.indent())), h.print(p); }); }), e(Ee, function(p, h) { p._do_print(h); }), e(nt, function(p, h) { var S = p.expression; S.print(h); var D = p.property, E = Us.has(D) ? h.option("ie8") : !Qx( D, h.option("ecma") >= 2015 && !h.option("safari10") ); p.optional && h.print("?."), E ? (h.print("["), h.add_mapping(p.end), h.print_string(D), h.print("]")) : (S instanceof Ae && S.getValue() >= 0 && (/[xa-f.)]/i.test(h.last()) || h.print(".")), p.optional || h.print("."), h.add_mapping(p.end), h.print_name(D)); }), e(sn, function(p, h) { var S = p.expression; S.print(h); var D = p.property; p.optional && h.print("?"), h.print(".#"), h.add_mapping(p.end), h.print_name(D); }), e(Tt, function(p, h) { p.expression.print(h), p.optional && h.print("?."), h.print("["), p.property.print(h), h.print("]"); }), e(dt, function(p, h) { p.expression.print(h); }), e(Se, function(p, h) { var S = p.operator; S === "--" && h.last().endsWith("!") && h.print(" "), h.print(S), (/^[a-z]/i.test(S) || /[+-]$/.test(S) && p.expression instanceof Se && /^[+-]/.test(p.expression.operator)) && h.space(), p.expression.print(h); }), e(hi, function(p, h) { p.expression.print(h), h.print(p.operator); }), e(K, function(p, h) { var S = p.operator; p.left.print(h), S[0] == ">" && h.last().endsWith("--") ? h.print(" ") : h.space(), h.print(S), h.space(), p.right.print(h); }), e(Te, function(p, h) { p.condition.print(h), h.space(), h.print("?"), h.space(), p.consequent.print(h), h.space(), h.colon(), p.alternative.print(h); }), e(Me, function(p, h) { h.with_square(function() { var S = p.elements, D = S.length; D > 0 && h.space(), S.forEach(function(E, C) { C && h.comma(), E.print(h), C === D - 1 && E instanceof bn && h.comma(); }), D > 0 && h.space(); }); }), e(Ge, function(p, h) { p.properties.length > 0 ? h.with_block(function() { p.properties.forEach(function(S, D) { D && (h.print(","), h.newline()), h.indent(), S.print(h); }), h.newline(); }) : n(p, h); }), e(qe, function(p, h) { if (h.print("class"), h.space(), p.name && (p.name.print(h), h.space()), p.extends) { var S = !(p.extends instanceof ue) && !(p.extends instanceof _e) && !(p.extends instanceof ui) && !(p.extends instanceof ot); h.print("extends"), S ? h.print("(") : h.space(), p.extends.print(h), S ? h.print(")") : h.space(); } p.properties.length > 0 ? h.with_block(function() { p.properties.forEach(function(D, E) { E && h.newline(), h.indent(), D.print(h); }), h.newline(); }) : h.print("{}"); }), e(ss, function(p, h) { h.print("new.target"); }); function u(p, h, S) { if (S.option("quote_keys")) return S.print_string(p), !1; if ("" + +p == p && p >= 0) return S.option("keep_numbers") ? (S.print(p), !1) : (S.print(b(p)), !1); var D = Us.has(p) ? S.option("ie8") : S.option("ecma") < 2015 || S.option("safari10") ? !gl(p) : !Qx(p, !0); return D || h && S.option("keep_quoted_props") ? (S.print_string(p, h), !1) : (S.print_name(p), !0); } a(u, "print_property_name"), e(et, function(p, h) { function S(E) { var C = E.definition(); return C ? C.mangled_name || C.name : E.name; } a(S, "get_name"); let D = h.option("shorthand") && !(p.key instanceof ne); D && p.value instanceof He && S(p.value) === p.key && !Us.has(p.key) ? u(p.key, p.quote, h) || (h.colon(), p.value.print(h)) : D && p. value instanceof yr && p.value.left instanceof He && S(p.value.left) === p.key ? (u(p.key, p.quote, h) || (h.colon(), p.value.left.print( h)), h.space(), h.print("="), h.space(), p.value.right.print(h)) : (p.key instanceof ne ? h.with_square(function() { p.key.print(h); }) : u(p.key, p.quote, h), h.colon(), p.value.print(h)); }), e(Ur, (p, h) => { p.static && (h.print("static"), h.space()), h.print("#"), u(p.key.name, void 0, h), p.value && (h.print("="), p.value.print(h)), h.semicolon(); }), e(Kr, (p, h) => { p.static && (h.print("static"), h.space()), p.key instanceof Si ? u(p.key.name, p.quote, h) : (h.print("["), p.key.print(h), h.print("\ ]")), p.value && (h.print("="), p.value.print(h)), h.semicolon(); }), Ot.DEFMETHOD("_print_getter_setter", function(p, h, S) { var D = this; D.static && (S.print("static"), S.space()), p && (S.print(p), S.space()), D.key instanceof Sr ? (h && S.print("#"), u(D.key.name, D.quote, S), D.key.add_source_map(S)) : S.with_square(function() { D.key.print(S); }), D.value._do_print(S, !0); }), e(Hn, function(p, h) { p._print_getter_setter("set", !1, h); }), e(wn, function(p, h) { p._print_getter_setter("get", !1, h); }), e(yn, function(p, h) { p._print_getter_setter("set", !0, h); }), e(on, function(p, h) { p._print_getter_setter("get", !0, h); }), e(sr, function(p, h) { var S; p.value.is_generator && p.value.async ? S = "async*" : p.value.is_generator ? S = "*" : p.value.async && (S = "async"), p._print_getter_setter( S, !1, h); }), e(qr, function(p, h) { var S; p.value.is_generator && p.value.async ? S = "async*" : p.value.is_generator ? S = "*" : p.value.async && (S = "async"), p._print_getter_setter( S, !0, h); }), e(On, function(p, h) { p.key.print(h), h.space(), h.print("in"), h.space(), p.value.print(h); }), e(yo, function(p, h) { h.print("#" + p.name); }), e(Jt, function(p, h) { h.print("static"), h.space(), i(p, h); }), He.DEFMETHOD("_do_print", function(p) { var h = this.definition(); p.print_name(h ? h.mangled_name || h.name : this.name); }), e(He, function(p, h) { p._do_print(h); }), e(bn, An), e(jt, function(p, h) { h.print("this"); }), e(us, function(p, h) { h.print("super"); }), e(Xe, function(p, h) { h.print(p.getValue()); }), e(Ve, function(p, h) { h.print_string(p.getValue(), p.quote, h.in_directive); }), e(Ae, function(p, h) { (h.option("keep_numbers") || h.use_asm) && p.raw ? h.print(p.raw) : h.print(b(p.getValue())); }), e(un, function(p, h) { h.option("keep_numbers") && p.raw ? h.print(p.raw) : h.print(p.getValue() + "n"); }); let l = /(<\s*\/\s*script)/i, c = /^\s*script/i, f = /* @__PURE__ */ a((p, h) => h.replace("/", "\\/"), "slash_script_replace"); e(or, function(p, h) { let { source: S, flags: D } = p.getValue(); S = lu(S), D = D ? GW(D) : "", S = S.replace(l, f), c.test(S) && h.last().endsWith("<") && h.print(" "), h.print(h.to_utf8(`/${S}/${D}`, !1, !0)); let E = h.parent(); E instanceof K && /^\w/.test(E.operator) && E.left === p && h.print(" "); }); function d(p, h) { h.option("braces") ? _(p, h) : !p || p instanceof it ? h.force_semicolon() : p instanceof an && !(p instanceof Ft) || p instanceof qe ? _(p, h) : p.print(h); } a(d, "print_maybe_braced_body"); function g(p) { for (var h = p[0], S = h.length, D = 1; D < p.length; ++D) p[D].length < S && (h = p[D], S = h.length); return h; } a(g, "best_of"); function b(p) { var h = p.toString(10).replace(/^0\./, ".").replace("e+", "e"), S = [h]; Math.floor(p) === p && (p < 0 ? S.push("-0x" + (-p).toString(16).toLowerCase()) : S.push("0x" + p.toString(16).toLowerCase())); var D, E, C; return (D = /^\.0+/.exec(h)) ? (E = D[0].length, C = h.slice(E), S.push(C + "e-" + (C.length + E - 1))) : (D = /0+$/.exec(h)) ? (E = D[0]. length, S.push(h.slice(0, -E) + "e" + E)) : (D = /^(\d)\.(\d+)e(-?\d+)$/.exec(h)) && S.push(D[1] + D[2] + "e" + (D[3] - D[2].length)), g(S); } a(b, "make_num"); function _(p, h) { !p || p instanceof it ? h.print("{}") : p instanceof Le ? p.print(h) : h.with_block(function() { h.indent(), p.print(h), h.newline(); }); } a(_, "make_block"); function T(p, h) { p.forEach(function(S) { S.DEFMETHOD("add_source_map", h); }); } a(T, "DEFMAP"), T([ // We could easily add info for ALL nodes, but it seems to me that // would be quite wasteful, hence this noop in the base class. ne, // since the label symbol will mark it Ht, lt ], An), T([ Me, Le, Vn, qe, Xe, ci, an, Br, as, mu, ge, Dr, Ge, du, He, Zt, Ai, Qt, $n, Ar ], function(p) { p.add_mapping(this.start); }), T([ wn, Hn, on, yn, sr, qr ], function(p) { p.add_mapping( this.start, !1 /*name handled below*/ ); }), T([ Sr, yo ], function(p) { let h = this.end && this.end.type; h === "name" || h === "privatename" ? p.add_mapping(this.end, this.name) : p.add_mapping(this.end); }), T([Ot], function(p) { p.add_mapping(this.start, this.key); }); })(); }); // ../node_modules/terser/lib/equivalent-to.js var l$, c$, Ct, f$ = we(() => { Nr(); l$ = /* @__PURE__ */ a((e, t) => e === null && t === null || e.TYPE === t.TYPE && e.shallow_cmp(t), "shallow_cmp"), c$ = /* @__PURE__ */ a( (e, t) => { if (!l$(e, t)) return !1; let r = [e], n = [t], i = r.push.bind(r), s = n.push.bind(n); for (; r.length && n.length; ) { let o = r.pop(), u = n.pop(); if (!l$(o, u) || (o._children_backwards(i), u._children_backwards(s), r.length !== n.length)) return !1; } return r.length == 0 && n.length == 0; }, "equivalent_to"), Ct = /* @__PURE__ */ a(() => !0, "pass_through"); ne.prototype.shallow_cmp = function() { throw new Error("did not find a shallow_cmp function for " + this.constructor.name); }; ci.prototype.shallow_cmp = Ct; Br.prototype.shallow_cmp = function(e) { return this.value === e.value; }; me.prototype.shallow_cmp = Ct; It.prototype.shallow_cmp = Ct; it.prototype.shallow_cmp = Ct; Ht.prototype.shallow_cmp = function(e) { return this.label.name === e.label.name; }; Un.prototype.shallow_cmp = Ct; Yn.prototype.shallow_cmp = Ct; Dt.prototype.shallow_cmp = function(e) { return (this.init == null ? e.init == null : this.init === e.init) && (this.condition == null ? e.condition == null : this.condition === e.condition) && (this.step == null ? e.step == null : this.step === e.step); }; qt.prototype.shallow_cmp = Ct; ca.prototype.shallow_cmp = Ct; Er.prototype.shallow_cmp = Ct; lt.prototype.shallow_cmp = Ct; Ne.prototype.shallow_cmp = Ct; ge.prototype.shallow_cmp = function(e) { return this.is_generator === e.is_generator && this.async === e.async; }; Je.prototype.shallow_cmp = function(e) { return this.is_array === e.is_array; }; Dn.prototype.shallow_cmp = Ct; Qt.prototype.shallow_cmp = Ct; $n.prototype.shallow_cmp = function(e) { return this.value === e.value; }; mu.prototype.shallow_cmp = Ct; Jn.prototype.shallow_cmp = Ct; zr.prototype.shallow_cmp = Ct; Mr.prototype.shallow_cmp = function(e) { return this.is_star === e.is_star; }; at.prototype.shallow_cmp = function(e) { return this.alternative == null ? e.alternative == null : this.alternative === e.alternative; }; Zt.prototype.shallow_cmp = Ct; Ai.prototype.shallow_cmp = Ct; Ar.prototype.shallow_cmp = function(e) { return this.body === e.body && (this.bcatch == null ? e.bcatch == null : this.bcatch === e.bcatch) && (this.bfinally == null ? e.bfinally == null : this.bfinally === e.bfinally); }; Vn.prototype.shallow_cmp = function(e) { return this.argname == null ? e.argname == null : this.argname === e.argname; }; as.prototype.shallow_cmp = Ct; an.prototype.shallow_cmp = Ct; Ti.prototype.shallow_cmp = function(e) { return this.value == null ? e.value == null : this.value === e.value; }; qn.prototype.shallow_cmp = Ct; Tr.prototype.shallow_cmp = function(e) { return (this.imported_name == null ? e.imported_name == null : this.imported_name === e.imported_name) && (this.imported_names == null ? e.imported_names == null : this.imported_names === e.imported_names) && (this.attributes == null ? e.attributes == null : this.attributes === e.attributes); }; fi.prototype.shallow_cmp = Ct; Et.prototype.shallow_cmp = function(e) { return (this.exported_definition == null ? e.exported_definition == null : this.exported_definition === e.exported_definition) && (this. exported_value == null ? e.exported_value == null : this.exported_value === e.exported_value) && (this.exported_names == null ? e.exported_names == null : this.exported_names === e.exported_names) && (this.attributes == null ? e.attributes == null : this.attributes === e.attributes) && this.module_name === e.module_name && this.is_default === e.is_default; }; pe.prototype.shallow_cmp = Ct; Ee.prototype.shallow_cmp = Ct; _e.prototype.shallow_cmp = Ct; dt.prototype.shallow_cmp = Ct; nt.prototype.shallow_cmp = function(e) { return this.property === e.property; }; sn.prototype.shallow_cmp = function(e) { return this.property === e.property; }; st.prototype.shallow_cmp = function(e) { return this.operator === e.operator; }; K.prototype.shallow_cmp = function(e) { return this.operator === e.operator; }; On.prototype.shallow_cmp = Ct; Te.prototype.shallow_cmp = Ct; Me.prototype.shallow_cmp = Ct; Ge.prototype.shallow_cmp = Ct; Ot.prototype.shallow_cmp = Ct; et.prototype.shallow_cmp = function(e) { return this.key === e.key && this.quote === e.quote; }; Hn.prototype.shallow_cmp = function(e) { return this.static === e.static; }; wn.prototype.shallow_cmp = function(e) { return this.static === e.static; }; sr.prototype.shallow_cmp = function(e) { return this.static === e.static; }; qr.prototype.shallow_cmp = function(e) { return this.static === e.static; }; qe.prototype.shallow_cmp = function(e) { return (this.name == null ? e.name == null : this.name === e.name) && (this.extends == null ? e.extends == null : this.extends === e.extends); }; Kr.prototype.shallow_cmp = function(e) { return this.static === e.static && (typeof this.key == "string" ? this.key === e.key : !0); }; Ur.prototype.shallow_cmp = function(e) { return this.static === e.static; }; He.prototype.shallow_cmp = function(e) { return this.name === e.name; }; ss.prototype.shallow_cmp = Ct; jt.prototype.shallow_cmp = Ct; us.prototype.shallow_cmp = Ct; Ve.prototype.shallow_cmp = function(e) { return this.value === e.value; }; Ae.prototype.shallow_cmp = function(e) { return this.value === e.value; }; un.prototype.shallow_cmp = function(e) { return this.value === e.value; }; or.prototype.shallow_cmp = function(e) { return this.value.flags === e.value.flags && this.value.source === e.value.source; }; Hs.prototype.shallow_cmp = Ct; }); // ../node_modules/terser/lib/scope.js function e2(e) { if (e.orig[0] instanceof Zn && e.scope.is_block_scope()) return e.scope.get_defun_scope().variables.get(e.name); } function _Ne(e) { let t = /* @__PURE__ */ new Set(); for (let r of new Set(e)) (/* @__PURE__ */ a(function n(i) { i == null || t.has(i) || (t.add(i), n(i.parent_scope)); }, "bubble_up"))(r); return [...t]; } function t2(e, t) { let r; gf && (r = e.get_defun_scope()) && gf.has(r) && (e = r); var n = e.enclosed, i = t.nth_identifier; e: for (; ; ) { var s = i.get(++e.cname); if (!Us.has(s) && !t.reserved.has(s)) { if (mf && mf.has(s)) continue e; for (let o = n.length; --o >= 0; ) { let u = n[o], l = u.mangled_name || u.unmangleable(t) && u.name; if (s == l) continue e; } return s; } } } function Np(e) { return e = Wn(e, { eval: !1, nth_identifier: _u, ie8: !1, keep_classnames: !1, keep_fnames: !1, module: !1, reserved: [], toplevel: !1 }), e.module && (e.toplevel = !0), !Array.isArray(e.reserved) && !(e.reserved instanceof Set) && (e.reserved = []), e.reserved = new Set(e. reserved), e.reserved.add("arguments"), e; } var Nv, gNe, df, mf, gf, Al, _u, Lp = we(() => { "use strict"; rn(); Nr(); cu(); Nv = 1, gNe = 2, df = null, mf = null, gf = null, Al = class e { static { a(this, "SymbolDef"); } constructor(t, r, n) { this.name = r.name, this.orig = [r], this.init = n, this.eliminated = 0, this.assignments = 0, this.scope = t, this.replaced = 0, this. global = !1, this.export = 0, this.mangled_name = null, this.undeclared = !1, this.id = e.next_id++, this.chained = !1, this.direct_access = !1, this.escaped = 0, this.recursive_refs = 0, this.references = [], this.should_replace = void 0, this.single_use = !1, this.fixed = !1, Object.seal(this); } fixed_value() { return !this.fixed || this.fixed instanceof ne ? this.fixed : this.fixed(); } unmangleable(t) { return t || (t = {}), df && df.has(this.id) && uu(t.keep_fnames, this.orig[0].name) ? !0 : this.global && !t.toplevel || this.export & Nv || this.undeclared || !t.eval && this.scope.pinned() || (this.orig[0] instanceof jn || this.orig[0] instanceof Qn) && uu(t.keep_fnames, this.orig[0].name) || this.orig[0] instanceof Sr || (this.orig[0] instanceof bl || this.orig[0] instanceof vl) && uu(t.keep_classnames, this.orig[0].name); } mangle(t) { let r = t.cache && t.cache.props; if (this.global && r && r.has(this.name)) this.mangled_name = r.get(this.name); else if (!this.mangled_name && !this.unmangleable(t)) { var n = this.scope, i = this.orig[0]; t.ie8 && i instanceof jn && (n = n.parent_scope); let s = e2(this); this.mangled_name = s ? s.mangled_name || s.name : n.next_mangled(t, this), this.global && r && r.set(this.name, this.mangled_name); } } }; Al.next_id = 1; a(e2, "redefined_catch_def"); De.DEFMETHOD("figure_out_scope", function(e, { parent_scope: t = void 0, toplevel: r = this } = {}) { if (e = Wn(e, { cache: null, ie8: !1, safari10: !1, module: !1 }), !(r instanceof lt)) throw new Error("Invalid toplevel scope"); var n = this.parent_scope = t, i = /* @__PURE__ */ new Map(), s = null, o = null, u = [], f = new $t((d, g) => { if (d.is_block_scope()) { let E = n; if (d.block_scope = n = new De(d), n._block_scope = !0, n.init_scope_vars(E), n.uses_with = E.uses_with, n.uses_eval = E.uses_eval, e. safari10 && (d instanceof Dt || d instanceof qt || d instanceof ca) && u.push(n), d instanceof Zt) { let C = n; n = E, d.expression.walk(f), n = C; for (let m = 0; m < d.body.length; m++) d.body[m].walk(f); } else g(); return n = E, !0; } if (d instanceof Je) { let E = o; return o = d, g(), o = E, !0; } if (d instanceof De) { d.init_scope_vars(n); var b = n, _ = s, T = i; return s = n = d, i = /* @__PURE__ */ new Map(), g(), n = b, s = _, i = T, !0; } if (d instanceof Ht) { var p = d.label; if (i.has(p.name)) throw new Error(dl("Label {name} defined twice", p)); return i.set(p.name, p), g(), i.delete(p.name), !0; } if (d instanceof Er) { for (var h = n; h; h = h.parent_scope) h.uses_with = !0; return; } if (d instanceof He && (d.scope = n), d instanceof hu && (d.thedef = d, d.references = []), d instanceof jn) s.def_function(d, d.name == "arguments" ? void 0 : s); else if (d instanceof Qn) { let E = s.parent_scope; d.scope = f.directives["use strict"] ? E : E.get_defun_scope(), l(d.scope.def_function(d, s), 1); } else if (d instanceof bl) l(s.def_variable(d, s), 1); else if (d instanceof rs) n.def_variable(d); else if (d instanceof vl) l((d.scope = s.parent_scope).def_function(d, s), 1); else if (d instanceof yi || d instanceof os || d instanceof pa || d instanceof la || d instanceof Zn) { var S; if (d instanceof wa ? S = n.def_variable(d, null) : S = s.def_variable(d, d.TYPE == "SymbolVar" ? null : void 0), S.orig.every((E) => E === d ? !0 : d instanceof wa ? E instanceof jn : !(E instanceof os || E instanceof pa || E instanceof la)) || Ip( `"${d.name}" is redeclared`, d.start.file, d.start.line, d.start.col, d.start.pos ), d instanceof Kt || l(S, 2), s !== n) { d.mark_enclosed(); var S = n.find_variable(d); d.thedef !== S && (d.thedef = S, d.reference()); } } else if (d instanceof of) { var D = i.get(d.name); if (!D) throw new Error(dl("Undefined label {name} [{line},{col}]", { name: d.name, line: d.start.line, col: d.start.col })); d.thedef = D; } !(n instanceof lt) && (d instanceof Et || d instanceof Tr) && Ip( `"${d.TYPE}" statement may only appear at the top level`, d.start.file, d.start.line, d.start.col, d.start.pos ); }); e.module && (f.directives["use strict"] = !0), this.walk(f); function l(d, g) { if (o) { var b = 0; do g++; while (f.parent(b++) !== o); } var _ = f.parent(g); if (d.export = _ instanceof Et ? Nv : 0) { var T = _.exported_definition; (T instanceof gt || T instanceof vn) && _.is_default && (d.export = gNe); } } a(l, "mark_export"), this instanceof lt && (this.globals = /* @__PURE__ */ new Map()); var f = new $t((d) => { if (d instanceof Jn && d.label) return d.label.thedef.references.push(d), !0; if (d instanceof ue) { var g = d.name; if (g == "eval" && f.parent() instanceof pe) for (var b = d.scope; b && !b.uses_eval; b = b.parent_scope) b.uses_eval = !0; var _; return f.parent() instanceof qn && f.parent(1).module_name || !(_ = d.scope.find_variable(g)) ? (_ = r.def_global(d), d instanceof is && (_.export = Nv)) : _.scope instanceof ge && g == "arguments" && (_.scope.get_defun_scope().uses_arguments = !0), d.thedef = _, d.reference(), d.scope.is_block_scope() && !(_.orig[0] instanceof wa) && (d.scope = d.scope.get_defun_scope()), !0; } var T; if (d instanceof Zn && (T = e2(d.definition()))) for (var b = d.scope; b && (_o(b.enclosed, T), b !== T.scope); ) b = b.parent_scope; }); if (this.walk(f), (e.ie8 || e.safari10) && Rt(this, (d) => { if (d instanceof Zn) { var g = d.name, b = d.thedef.references, _ = d.scope.get_defun_scope(), T = _.find_variable(g) || r.globals.get(g) || _.def_variable( d); return b.forEach(function(p) { p.thedef = T, p.reference(); }), d.thedef = T, d.reference(), !0; } }), e.safari10) for (let d of u) d.parent_scope.variables.forEach(function(g) { _o(d.enclosed, g); }); }); lt.DEFMETHOD("def_global", function(e) { var t = this.globals, r = e.name; if (t.has(r)) return t.get(r); var n = new Al(this, e); return n.undeclared = !0, n.global = !0, t.set(r, n), n; }); De.DEFMETHOD("init_scope_vars", function(e) { this.variables = /* @__PURE__ */ new Map(), this.uses_with = !1, this.uses_eval = !1, this.parent_scope = e, this.enclosed = [], this.cname = -1; }); De.DEFMETHOD("conflicting_def", function(e) { return this.enclosed.find((t) => t.name === e) || this.variables.has(e) || this.parent_scope && this.parent_scope.conflicting_def(e); }); De.DEFMETHOD("conflicting_def_shallow", function(e) { return this.enclosed.find((t) => t.name === e) || this.variables.has(e); }); De.DEFMETHOD("add_child_scope", function(e) { if (e.parent_scope === this) return; e.parent_scope = this, e instanceof pt && this instanceof ge && !this.uses_arguments && (this.uses_arguments = Rt(e, (i) => { if (i instanceof ue && i.scope instanceof ge && i.name === "arguments") return cn; if (i instanceof ge && !(i instanceof pt)) return !0; })), this.uses_with = this.uses_with || e.uses_with, this.uses_eval = this.uses_eval || e.uses_eval; let t = (() => { let i = [], s = this; do i.push(s); while (s = s.parent_scope); return i.reverse(), i; })(), r = new Set(e.enclosed), n = []; for (let i of t) { n.forEach((s) => _o(i.enclosed, s)); for (let s of i.variables.values()) r.has(s) && (_o(n, s), _o(i.enclosed, s)); } }); a(_Ne, "find_scopes_visible_from"); De.DEFMETHOD("create_symbol", function(e, { source: t, tentative_name: r, scope: n, conflict_scopes: i = [n], init: s = null } = {}) { let o; if (i = _Ne(i), r) { r = o = r.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/ig, "_"); let l = 0; for (; i.find((c) => c.conflicting_def_shallow(o)); ) o = r + "$" + l++; } if (!o) throw new Error("No symbol name could be generated in create_symbol()"); let u = k(e, t, { name: o, scope: n }); return this.def_variable(u, s || null), u.mark_enclosed(), u; }); ne.DEFMETHOD("is_block_scope", Qe); qe.DEFMETHOD("is_block_scope", Qe); ge.DEFMETHOD("is_block_scope", Qe); lt.DEFMETHOD("is_block_scope", Qe); Ai.DEFMETHOD("is_block_scope", Qe); It.DEFMETHOD("is_block_scope", Ir); De.DEFMETHOD("is_block_scope", function() { return this._block_scope || !1; }); Xn.DEFMETHOD("is_block_scope", Ir); ge.DEFMETHOD("init_scope_vars", function() { De.prototype.init_scope_vars.apply(this, arguments), this.uses_arguments = !1, this.def_variable(new Kt({ name: "arguments", start: this.start, end: this.end })); }); pt.DEFMETHOD("init_scope_vars", function() { De.prototype.init_scope_vars.apply(this, arguments), this.uses_arguments = !1; }); He.DEFMETHOD("mark_enclosed", function() { for (var e = this.definition(), t = this.scope; t && (_o(t.enclosed, e), t !== e.scope); ) t = t.parent_scope; }); He.DEFMETHOD("reference", function() { this.definition().references.push(this), this.mark_enclosed(); }); De.DEFMETHOD("find_variable", function(e) { return e instanceof He && (e = e.name), this.variables.get(e) || this.parent_scope && this.parent_scope.find_variable(e); }); De.DEFMETHOD("def_function", function(e, t) { var r = this.def_variable(e, t); return (!r.init || r.init instanceof gt) && (r.init = t), r; }); De.DEFMETHOD("def_variable", function(e, t) { var r = this.variables.get(e.name); return r ? (r.orig.push(e), r.init && (r.scope !== e.scope || r.init instanceof ot) && (r.init = t)) : (r = new Al(this, e, t), this.variables. set(e.name, r), r.global = !this.parent_scope), e.thedef = r; }); a(t2, "next_mangled"); De.DEFMETHOD("next_mangled", function(e) { return t2(this, e); }); lt.DEFMETHOD("next_mangled", function(e) { let t, r = this.mangled_names; do t = t2(this, e); while (r.has(t)); return t; }); ot.DEFMETHOD("next_mangled", function(e, t) { for (var r = t.orig[0] instanceof Kt && this.name && this.name.definition(), n = r ? r.mangled_name || r.name : null; ; ) { var i = t2(this, e); if (!n || n != i) return i; } }); He.DEFMETHOD("unmangleable", function(e) { var t = this.definition(); return !t || t.unmangleable(e); }); hu.DEFMETHOD("unmangleable", Qe); He.DEFMETHOD("unreferenced", function() { return !this.definition().references.length && !this.scope.pinned(); }); He.DEFMETHOD("definition", function() { return this.thedef; }); He.DEFMETHOD("global", function() { return this.thedef.global; }); a(Np, "format_mangler_options"); lt.DEFMETHOD("mangle_names", function(e) { e = Np(e); var t = e.nth_identifier, r = -1, n = []; e.keep_fnames && (df = /* @__PURE__ */ new Set()); let i = this.mangled_names = /* @__PURE__ */ new Set(); mf = /* @__PURE__ */ new Set(), e.cache && (this.globals.forEach(o), e.cache.props && e.cache.props.forEach(function(u) { i.add(u); })); var s = new $t(function(u, l) { if (u instanceof Ht) { var c = r; return l(), r = c, !0; } if (u instanceof gt && !(s.parent() instanceof De) && (gf = gf || /* @__PURE__ */ new Set(), gf.add(u.parent_scope.get_defun_scope())), u instanceof De) { u.variables.forEach(o); return; } if (u.is_block_scope()) { u.block_scope.variables.forEach(o); return; } if (df && u instanceof Lt && u.value instanceof ge && !u.value.name && uu(e.keep_fnames, u.name.name)) { df.add(u.name.definition().id); return; } if (u instanceof hu) { let f; do f = t.get(++r); while (Us.has(f)); return u.mangled_name = f, !0; } if (!(e.ie8 || e.safari10) && u instanceof Zn) { n.push(u.definition()); return; } }); this.walk(s), (e.keep_fnames || e.keep_classnames) && n.forEach((u) => { u.name.length < 6 && u.unmangleable(e) && mf.add(u.name); }), n.forEach((u) => { u.mangle(e); }), df = null, mf = null, gf = null; function o(u) { u.export & Nv ? mf.add(u.name) : e.reserved.has(u.name) || n.push(u); } a(o, "collect"); }); lt.DEFMETHOD("find_colliding_names", function(e) { let t = e.cache && e.cache.props, r = /* @__PURE__ */ new Set(); return e.reserved.forEach(n), this.globals.forEach(i), this.walk(new $t(function(s) { s instanceof De && s.variables.forEach(i), s instanceof Zn && i(s.definition()); })), r; function n(s) { r.add(s); } a(n, "to_avoid"); function i(s) { var o = s.name; if (s.global && t && t.has(o)) o = t.get(o); else if (!s.unmangleable(e)) return; n(o); } a(i, "add_def"); }); lt.DEFMETHOD("expand_names", function(e) { e = Np(e); var t = e.nth_identifier; t.reset && t.sort && (t.reset(), t.sort()); var r = this.find_colliding_names(e), n = 0; this.globals.forEach(s), this.walk(new $t(function(o) { o instanceof De && o.variables.forEach(s), o instanceof Zn && s(o.definition()); })); function i() { var o; do o = t.get(n++); while (r.has(o) || Us.has(o)); return o; } a(i, "next_name"); function s(o) { if (o.global && e.cache || o.unmangleable(e) || e.reserved.has(o.name)) return; let u = e2(o), l = o.name = u ? u.name : i(); o.orig.forEach(function(c) { c.name = l; }), o.references.forEach(function(c) { c.name = l; }); } a(s, "rename"); }); ne.DEFMETHOD("tail_node", ts); Ee.DEFMETHOD("tail_node", function() { return this.expressions[this.expressions.length - 1]; }); lt.DEFMETHOD("compute_char_frequency", function(e) { e = Np(e); var t = e.nth_identifier; if (!t.reset || !t.consider || !t.sort) return; t.reset(); try { ne.prototype.print = function(n, i) { this._print(n, i), this instanceof He && !this.unmangleable(e) ? t.consider(this.name, -1) : e.properties && (this instanceof sn ? t. consider("#" + this.property, -1) : this instanceof nt ? t.consider(this.property, -1) : this instanceof Tt && r(this.property)); }, t.consider(this.print_to_string(), 1); } finally { ne.prototype.print = ne.prototype._print; } t.sort(); function r(n) { n instanceof Ve ? t.consider(n.value, -1) : n instanceof Te ? (r(n.consequent), r(n.alternative)) : n instanceof Ee && r(n.tail_node()); } a(r, "skip_string"); }); _u = (() => { let e = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split(""), t = "0123456789".split(""), r, n; function i() { n = /* @__PURE__ */ new Map(), e.forEach(function(c) { n.set(c, 0); }), t.forEach(function(c) { n.set(c, 0); }); } a(i, "reset"); function s(c, f) { for (var d = c.length; --d >= 0; ) n.set(c[d], n.get(c[d]) + f); } a(s, "consider"); function o(c, f) { return n.get(f) - n.get(c); } a(o, "compare"); function u() { r = zx(e, o).concat(zx(t, o)); } a(u, "sort"), i(), u(); function l(c) { var f = "", d = 54; c++; do c--, f += r[c % d], c = Math.floor(c / d), d = 64; while (c > 0); return f; } return a(l, "base54"), { get: l, consider: s, reset: i, sort: u }; })(); }); // ../node_modules/terser/lib/size.js var Lv, er, Bv, Mv, qv, r2 = we(() => { Nr(); pf(); ne.prototype.size = function(e, t) { Lv = e && e._mangle_options; let r = 0; return hf(this, (n, i) => { if (r += n._size(i), n instanceof pt && n.is_braceless()) return r += n.body[0].value._size(i), !0; }, t || e && e.stack), Lv = void 0, r; }; ne.prototype._size = () => 0; ci.prototype._size = () => 8; Br.prototype._size = function() { return 2 + this.value.length; }; er = /* @__PURE__ */ a((e) => e.length && e.length - 1, "list_overhead"); It.prototype._size = function() { return 2 + er(this.body); }; lt.prototype._size = function() { return er(this.body); }; it.prototype._size = () => 1; Ht.prototype._size = () => 2; Un.prototype._size = () => 9; Yn.prototype._size = () => 7; Dt.prototype._size = () => 8; qt.prototype._size = () => 8; Er.prototype._size = () => 6; Ne.prototype._size = () => 3; Bv = /* @__PURE__ */ a((e) => (e.is_generator ? 1 : 0) + (e.async ? 6 : 0), "lambda_modifiers"); li.prototype._size = function() { return Bv(this) + 4 + er(this.argnames) + er(this.body); }; ot.prototype._size = function(e) { return !!pi(e) * 2 + Bv(this) + 12 + er(this.argnames) + er(this.body); }; gt.prototype._size = function() { return Bv(this) + 13 + er(this.argnames) + er(this.body); }; pt.prototype._size = function() { let e = 2 + er(this.argnames); this.argnames.length === 1 && this.argnames[0] instanceof He || (e += 2); let t = this.is_braceless() ? 0 : er(this.body) + 2; return Bv(this) + e + t; }; Je.prototype._size = () => 2; Qt.prototype._size = function() { return 2 + Math.floor(this.segments.length / 2) * 3; }; $n.prototype._size = function() { return this.value.length; }; At.prototype._size = function() { return this.value ? 7 : 6; }; Eo.prototype._size = () => 6; xn.prototype._size = function() { return this.label ? 6 : 5; }; ua.prototype._size = function() { return this.label ? 9 : 8; }; at.prototype._size = () => 4; Zt.prototype._size = function() { return 8 + er(this.body); }; Cn.prototype._size = function() { return 5 + er(this.body); }; Ki.prototype._size = function() { return 8 + er(this.body); }; Ar.prototype._size = () => 3; Vn.prototype._size = function() { let e = 7 + er(this.body); return this.argname && (e += 2), e; }; as.prototype._size = function() { return 7 + er(this.body); }; Ft.prototype._size = function() { return 4 + er(this.definitions); }; fa.prototype._size = function() { return 4 + er(this.definitions); }; ha.prototype._size = function() { return 6 + er(this.definitions); }; nn.prototype._size = function() { return (this.await ? 6 : 0) + 6 + er(this.definitions); }; Ti.prototype._size = function() { return this.value ? 1 : 0; }; qn.prototype._size = function() { return this.name ? 4 : 0; }; Tr.prototype._size = function() { let e = 6; return this.imported_name && (e += 1), (this.imported_name || this.imported_names) && (e += 5), this.imported_names && (e += 2 + er(this. imported_names)), e; }; fi.prototype._size = () => 11; Et.prototype._size = function() { let e = 7 + (this.is_default ? 8 : 0); return this.exported_value && (e += this.exported_value._size()), this.exported_names && (e += 2 + er(this.exported_names)), this.module_name && (e += 5), e; }; pe.prototype._size = function() { return this.optional ? 4 + er(this.args) : 2 + er(this.args); }; Dr.prototype._size = function() { return 6 + er(this.args); }; Ee.prototype._size = function() { return er(this.expressions); }; nt.prototype._size = function() { return this.optional ? this.property.length + 2 : this.property.length + 1; }; sn.prototype._size = function() { return this.optional ? this.property.length + 3 : this.property.length + 2; }; Tt.prototype._size = function() { return this.optional ? 4 : 2; }; st.prototype._size = function() { return this.operator === "typeof" ? 7 : this.operator === "void" ? 5 : this.operator.length; }; K.prototype._size = function(e) { if (this.operator === "in") return 4; let t = this.operator.length; return (this.operator === "+" || this.operator === "-") && this.right instanceof st && this.right.operator === this.operator && (t += 1), this.needs_parens(e) && (t += 2), t; }; Te.prototype._size = () => 3; Me.prototype._size = function() { return 2 + er(this.elements); }; Ge.prototype._size = function(e) { let t = 2; return pi(e) && (t += 2), t + er(this.properties); }; Mv = /* @__PURE__ */ a((e) => typeof e == "string" ? e.length : 0, "key_size"); et.prototype._size = function() { return Mv(this.key) + 1; }; qv = /* @__PURE__ */ a((e) => e ? 7 : 0, "static_size"); wn.prototype._size = function() { return 5 + qv(this.static) + Mv(this.key); }; Hn.prototype._size = function() { return 5 + qv(this.static) + Mv(this.key); }; sr.prototype._size = function() { return qv(this.static) + Mv(this.key); }; qr.prototype._size = function() { return sr.prototype._size.call(this) + 1; }; on.prototype._size = function() { return sr.prototype._size.call(this) + 4; }; yn.prototype._size = function() { return sr.prototype._size.call(this) + 4; }; On.prototype._size = function() { return 5; }; qe.prototype._size = function() { return (this.name ? 8 : 7) + (this.extends ? 8 : 0); }; Jt.prototype._size = function() { return 8 + er(this.body); }; Kr.prototype._size = function() { return qv(this.static) + (typeof this.key == "string" ? this.key.length + 2 : 0) + (this.value ? 1 : 0); }; Ur.prototype._size = function() { return Kr.prototype._size.call(this) + 1; }; He.prototype._size = function() { return Lv && this.thedef && !this.thedef.unmangleable(Lv) ? 1 : this.name.length; }; Si.prototype._size = function() { return this.name.length; }; ue.prototype._size = Wt.prototype._size = function() { return this.name === "arguments" ? 9 : He.prototype._size.call(this); }; ss.prototype._size = () => 10; bo.prototype._size = function() { return this.name.length; }; ns.prototype._size = function() { return this.name.length; }; jt.prototype._size = () => 4; us.prototype._size = () => 5; Ve.prototype._size = function() { return this.value.length + 2; }; Ae.prototype._size = function() { let { value: e } = this; return e === 0 ? 1 : e > 0 && Math.floor(e) === e ? Math.floor(Math.log10(e) + 1) : e.toString().length; }; un.prototype._size = function() { return this.value.length; }; or.prototype._size = function() { return this.value.toString().length; }; ln.prototype._size = () => 4; gu.prototype._size = () => 3; xt.prototype._size = () => 6; bn.prototype._size = () => 0; cs.prototype._size = () => 8; Sn.prototype._size = () => 4; Ei.prototype._size = () => 5; zr.prototype._size = () => 6; Mr.prototype._size = () => 6; }); // ../node_modules/terser/lib/compress/compressor-flags.js var xr, Rn, Gs, Ao = we(() => { xr = /* @__PURE__ */ a((e, t) => e.flags & t, "has_flag"), Rn = /* @__PURE__ */ a((e, t) => { e.flags |= t; }, "set_flag"), Gs = /* @__PURE__ */ a((e, t) => { e.flags &= ~t; }, "clear_flag"); }); // ../node_modules/terser/lib/compress/common.js function Bp(e, t) { return t instanceof Ee ? e.push(...t.expressions) : e.push(t), e; } function Ue(e, t) { if (t.length == 1) return t[0]; if (t.length == 0) throw new Error("trying to create a sequence with length zero!"); return k(Ee, e, { expressions: t.reduce(Bp, []) }); } function Uv(e) { return k(ot, e, { uses_arguments: !1, argnames: [], body: [], is_generator: !1, async: !1, variables: /* @__PURE__ */ new Map(), uses_with: !1, uses_eval: !1, parent_scope: null, enclosed: [], cname: 0, block_scope: void 0 }); } function kn(e, t) { switch (typeof e) { case "string": return k(Ve, t, { value: e }); case "number": return isNaN(e) ? k(gu, t) : isFinite(e) ? 1 / e < 0 ? k(Se, t, { operator: "-", expression: k(Ae, t, { value: -e }) }) : k(Ae, t, { value: e }) : e < 0 ? k(Se, t, { operator: "-", expression: k(cs, t) }) : k(cs, t); case "bigint": return k(un, t, { value: e.toString() }); case "boolean": return k(e ? Sn : Ei, t); case "undefined": return k(xt, t); default: if (e === null) return k(ln, t, { value: null }); if (e instanceof RegExp) return k(or, t, { value: { source: lu(e.source), flags: e.flags } }); throw new Error(dl("Can't handle constant of type: {type}", { type: typeof e })); } } function fs(e, t) { return e.size() > t.size() ? t : e; } function vNe(e, t) { return fs( k(me, e, { body: e }), k(me, t, { body: t }) ).body; } function di(e, t, r) { return pi(e) ? vNe(t, r) : fs(t, r); } function i2(e) { if (e instanceof Xe) return e.getValue(); if (!(e instanceof Se && e.operator == "void" && e.expression instanceof Xe)) return e; } function Vv(e, t) { if (t = i2(t), !(t instanceof ne)) { var r; if (e instanceof Me) { var n = e.elements; if (t == "length") return kn(n.length, e); typeof t == "number" && t in n && (r = n[t]); } else if (e instanceof Ge) { t = "" + t; for (var i = e.properties, s = i.length; --s >= 0; ) { var o = i[s]; if (!(o instanceof et)) return; !r && i[s].key === t && (r = i[s].value); } } return r instanceof ue && r.fixed_value() || r; } } function Mp(e, t) { var r = !1, n = new $t(function(i) { if (r || i instanceof De) return !0; if (i instanceof Jn && n.loopcontrol_target(i) === e) return r = !0; }); return t instanceof Ht && n.push(t), n.push(e), e.body.walk(n), r; } function zs(e, t, r) { if (a2(e, t, r)) { let n = k(Ae, t, { value: 0 }); return Ue(t, [n, r]); } else return r; } function a2(e, t, r) { return e instanceof Se && e.operator == "delete" || e instanceof pe && e.expression === t && (r instanceof dt || r instanceof _e || r instanceof ue && r.name == "eval"); } function vu(e) { return e instanceof pt || e instanceof ot; } function qp(e) { return e.TYPE != "Call" ? !1 : e.expression instanceof ot || qp(e.expression); } function hs(e) { return e === null || e instanceof it ? !0 : e instanceof Le ? e.body.length == 0 : !1; } function Hv(e) { return e instanceof cs || e instanceof gu || e instanceof xt; } function _f(e, t) { if (!(e instanceof ue)) return !1; for (var r = e.definition().orig, n = r.length; --n >= 0; ) if (r[n] instanceof t) return !0; } function Tl(e) { return !(e instanceof vn || e instanceof gt || e instanceof fa || e instanceof ha || e instanceof nn || e instanceof Et || e instanceof Tr); } function vf(e) { if (e === null) return []; if (e instanceof Le) return e.body; if (e instanceof it) return []; if (e instanceof Xt) return [e]; throw new Error("Can't convert thing to statement array"); } function jv(e, t) { let r = /* @__PURE__ */ a((n) => { if (n instanceof ue && t.includes(n.definition())) return cn; }, "find_ref"); return hf(e, (n, i) => { if (n instanceof De && n !== e) { var s = i.parent(); return s instanceof pe && s.expression === n && !(n.async || n.is_generator) ? void 0 : Rt(n, r) ? cn : !0; } }); } function bf(e, t) { for (var r, n = 0; r = e.parent(n); n++) if (r instanceof ge || r instanceof qe) { var i = r.name; if (i && i.definition() === t) return !0; } return !1; } function o2(e, t) { return t.top_retain && e instanceof gt && xr(e, 1024) && e.name && t.top_retain(e.name.definition()); } var s2, To = we(() => { Nr(); rn(); pf(); Ao(); a(Bp, "merge_sequence"); a(Ue, "make_sequence"); a(Uv, "make_empty_function"); a(kn, "make_node_from_constant"); a(fs, "best_of_expression"); a(vNe, "best_of_statement"); a(di, "best_of"); a(i2, "get_simple_key"); a(Vv, "read_property"); a(Mp, "has_break_or_continue"); a(zs, "maintain_this_binding"); a(a2, "requires_sequence_to_maintain_binding"); a(vu, "is_func_expr"); a(qp, "is_iife_call"); a(hs, "is_empty"); s2 = Ze("Infinity NaN undefined"); a(Hv, "is_identifier_atom"); a(_f, "is_ref_of"); a(Tl, "can_be_evicted_from_block"); a(vf, "as_statement_array"); a(jv, "is_reachable"); a(bf, "is_recursive_ref"); a(o2, "retain_top_func"); }); // ../node_modules/terser/lib/compress/native-objects.js function u2(e) { let t = /* @__PURE__ */ new Map(); for (var r of Object.keys(e)) t.set(r, Ze(e[r])); return /* @__PURE__ */ a((i, s) => { let o = t.get(i); return o != null && o.has(s); }, "does_have"); } var xl, Dl, Gv, zv, h$, Up = we(() => { rn(); a(u2, "make_nested_lookup"); xl = /* @__PURE__ */ new Set([ "Number", "String", "Array", "Object", "Function", "Promise" ]), Dl = [ "constructor", "toString", "valueOf" ], Gv = u2({ Array: [ "at", "flat", "includes", "indexOf", "join", "lastIndexOf", "slice", ...Dl ], Boolean: Dl, Function: Dl, Number: [ "toExponential", "toFixed", "toPrecision", ...Dl ], Object: Dl, RegExp: [ "test", ...Dl ], String: [ "at", "charAt", "charCodeAt", "charPointAt", "concat", "endsWith", "fromCharCode", "fromCodePoint", "includes", "indexOf", "italics", "lastIndexOf", "localeCompare", "match", "matchAll", "normalize", "padStart", "padEnd", "repeat", "replace", "replaceAll", "search", "slice", "split", "startsWith", "substr", "substring", "repeat", "toLocaleLowerCase", "toLocaleUpperCase", "toLowerCase", "toUpperCase", "trim", "trimEnd", "trimStart", ...Dl ] }), zv = u2({ Array: [ "isArray" ], Math: [ "abs", "acos", "asin", "atan", "ceil", "cos", "exp", "floor", "log", "round", "sin", "sqrt", "tan", "atan2", "pow", "max", "min" ], Number: [ "isFinite", "isNaN" ], Object: [ "create", "getOwnPropertyDescriptor", "getOwnPropertyNames", "getPrototypeOf", "isExtensible", "isFrozen", "isSealed", "hasOwn", "keys" ], String: [ "fromCharCode" ] }), h$ = u2({ Math: [ "E", "LN10", "LN2", "LOG2E", "LOG10E", "PI", "SQRT1_2", "SQRT2" ], Number: [ "MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY" ] }); }); // ../node_modules/terser/lib/compress/inference.js function Ra(e, t) { return xr(e, 8) || e instanceof xt || e instanceof Se && e.operator == "void" && !e.expression.has_side_effects(t); } function p$(e, t) { let r; return e instanceof ln || Ra(e, t) || e instanceof ue && (r = e.definition().fixed) instanceof ne && Oa(r, t); } function Cl(e, t) { return e instanceof _e || e instanceof pe ? e.optional && p$(e.expression, t) || Cl(e.expression, t) : e instanceof dt ? Cl(e.expression, t) : !1; } function Oa(e, t) { return p$(e, t) ? !0 : Cl(e, t); } function ds(e, t) { if (t instanceof st && yf.has(t.operator)) return t.expression; if (t instanceof Ie && t.left === e || t instanceof qt && t.init === e) return e; } function bu(e, t, r, n, i, s) { var o = t.parent(i), u = ds(r, o); if (u) return u; if (!s && o instanceof pe && o.expression === r && !(n instanceof pt) && !(n instanceof qe) && !o.is_callee_pure(e) && (!(n instanceof ot) || !(o instanceof Dr) && n.contains_this())) return !0; if (o instanceof Me) return bu(e, t, o, o, i + 1); if (o instanceof et && r === o.value) { var l = t.parent(i + 1); return bu(e, t, l, l, i + 2); } if (o instanceof _e && o.expression === r) { var c = Vv(n, o.property); return !s && bu(e, t, o, c, i + 1); } } function $v(e) { for (let t = -1, r, n; r = e.parent(t), n = e.parent(t + 1); t++) { if (n instanceof Ee) if (n.expressions.indexOf(r) !== n.expressions.length - 1) { let s = e.parent(t + 2); return !(n.expressions.length > 2 || n.expressions.length === 1 || !a2(s, n, n.expressions[1])); } else continue; if (n instanceof st) { let i = n.operator; if (i === "void") return !1; if (i === "typeof" || i === "+" || i === "-" || i === "!" || i === "~") continue; } return !(n instanceof me || n instanceof Ht || n instanceof De); } return !0; } var da, Wv, ps, yf, bNe, Di, yu = we(() => { Nr(); rn(); To(); Ao(); Up(); da = /* @__PURE__ */ a((e) => e instanceof ue && e.definition().undeclared, "is_undeclared_ref"), Wv = Ze("<<< >> << & | ^ ~"), ps = Ze("&\ & || ??"), yf = Ze("delete ++ --"); (function(e) { let t = Ze("! delete"), r = Ze("in instanceof == != === !== < <= >= >"); e(ne, Qe), e(Se, function() { return t.has(this.operator); }), e(K, function() { return r.has(this.operator) || ps.has(this.operator) && this.left.is_boolean() && this.right.is_boolean(); }), e(Te, function() { return this.consequent.is_boolean() && this.alternative.is_boolean(); }), e(Ie, function() { return this.operator == "=" && this.right.is_boolean(); }), e(Ee, function() { return this.tail_node().is_boolean(); }), e(Sn, Ir), e(Ei, Ir); })(function(e, t) { e.DEFMETHOD("is_boolean", t); }); (function(e) { e(ne, Qe), e(Ae, Ir); let t = Ze("+ - ~ ++ --"); e(st, function(n) { return t.has(this.operator) && this.expression.is_number(n); }); let r = Ze("- * / % & | ^ << >> >>>"); e(K, function(n) { return this.operator === "+" ? this.left.is_number(n) && this.right.is_number_or_bigint(n) || this.right.is_number(n) && this.left.is_number_or_bigint( n) : r.has(this.operator) ? this.left.is_number(n) || this.right.is_number(n) : !1; }), e(Ie, function(n) { return (this.operator === "=" || r.has(this.operator.slice(0, -1))) && this.right.is_number(n); }), e(Ee, function(n) { return this.tail_node().is_number(n); }), e(Te, function(n) { return this.consequent.is_number(n) && this.alternative.is_number(n); }); })(function(e, t) { e.DEFMETHOD("is_number", t); }); (function(e) { e(ne, Qe), e(un, Ir); let t = Ze("+ - ~ ++ --"); e(st, function(n) { return t.has(this.operator) && this.expression.is_bigint(n); }); let r = Ze("- * / % & | ^ << >>"); e(K, function(n) { return this.operator === "+" ? this.left.is_bigint(n) && this.right.is_number_or_bigint(n) || this.right.is_bigint(n) && this.left.is_number_or_bigint( n) : r.has(this.operator) ? this.left.is_bigint(n) || this.right.is_bigint(n) : !1; }), e(Ie, function(n) { return (r.has(this.operator.slice(0, -1)) || this.operator == "=") && this.right.is_bigint(n); }), e(Ee, function(n) { return this.tail_node().is_bigint(n); }), e(Te, function(n) { return this.consequent.is_bigint(n) && this.alternative.is_bigint(n); }); })(function(e, t) { e.DEFMETHOD("is_bigint", t); }); (function(e) { e(ne, Qe), e(Ae, Ir), e(un, Ir); let t = Ze("+ - ~ ++ --"); e(st, function(n) { return t.has(this.operator); }); let r = Ze("- * / % & | ^ << >>"); e(K, function(n) { return this.operator === "+" ? this.left.is_number_or_bigint(n) && this.right.is_number_or_bigint(n) : r.has(this.operator); }), e(Ie, function(n) { return r.has(this.operator.slice(0, -1)) || this.operator == "=" && this.right.is_number_or_bigint(n); }), e(Ee, function(n) { return this.tail_node().is_number_or_bigint(n); }), e(Te, function(n) { return this.consequent.is_number_or_bigint(n) && this.alternative.is_number_or_bigint(n); }); })(function(e, t) { e.DEFMETHOD("is_number_or_bigint", t); }); (function(e) { e(ne, Qe), e(Ae, function(t) { return this.value === (this.value | 0); }), e(Se, function(t) { return this.operator == "~" ? this.expression.is_number(t) : this.operator === "+" ? this.expression.is_32_bit_integer(t) : !1; }), e(K, function(t) { return Wv.has(this.operator) && (this.left.is_number(t) || this.right.is_number(t)); }); })(function(e, t) { e.DEFMETHOD("is_32_bit_integer", t); }); (function(e) { e(ne, Qe), e(Ve, Ir), e(Qt, Ir), e(Se, function() { return this.operator == "typeof"; }), e(K, function(t) { return this.operator == "+" && (this.left.is_string(t) || this.right.is_string(t)); }), e(Ie, function(t) { return (this.operator == "=" || this.operator == "+=") && this.right.is_string(t); }), e(Ee, function(t) { return this.tail_node().is_string(t); }), e(Te, function(t) { return this.consequent.is_string(t) && this.alternative.is_string(t); }); })(function(e, t) { e.DEFMETHOD("is_string", t); }); a(Ra, "is_undefined"); a(p$, "is_null_or_undefined"); a(Cl, "is_nullish_shortcircuited"); a(Oa, "is_nullish"); (function(e) { e(ne, Ir), e(it, Qe), e(Xe, Qe), e(jt, Qe); function t(r, n) { for (var i = r.length; --i >= 0; ) if (r[i].has_side_effects(n)) return !0; return !1; } a(t, "any"), e(It, function(r) { return t(this.body, r); }), e(pe, function(r) { return !this.is_callee_pure(r) && (!this.expression.is_call_pure(r) || this.expression.has_side_effects(r)) ? !0 : t(this.args, r); }), e(Zt, function(r) { return this.expression.has_side_effects(r) || t(this.body, r); }), e(Cn, function(r) { return this.expression.has_side_effects(r) || t(this.body, r); }), e(Ar, function(r) { return this.body.has_side_effects(r) || this.bcatch && this.bcatch.has_side_effects(r) || this.bfinally && this.bfinally.has_side_effects( r); }), e(at, function(r) { return this.condition.has_side_effects(r) || this.body && this.body.has_side_effects(r) || this.alternative && this.alternative.has_side_effects( r); }), e(fi, Qe), e(Ht, function(r) { return this.body.has_side_effects(r); }), e(me, function(r) { return this.body.has_side_effects(r); }), e(ge, Qe), e(qe, function(r) { return this.extends && this.extends.has_side_effects(r) ? !0 : t(this.properties, r); }), e(Jt, function(r) { return t(this.body, r); }), e(K, function(r) { return this.left.has_side_effects(r) || this.right.has_side_effects(r); }), e(Ie, Ir), e(Te, function(r) { return this.condition.has_side_effects(r) || this.consequent.has_side_effects(r) || this.alternative.has_side_effects(r); }), e(st, function(r) { return yf.has(this.operator) || this.expression.has_side_effects(r); }), e(ue, function(r) { return !this.is_declared(r) && !xl.has(this.name); }), e(Si, Qe), e(Wt, Qe), e(Ge, function(r) { return t(this.properties, r); }), e(et, function(r) { return this.computed_key() && this.key.has_side_effects(r) || this.value && this.value.has_side_effects(r); }), e([ Kr, Ur ], function(r) { return this.computed_key() && this.key.has_side_effects(r) || this.static && this.value && this.value.has_side_effects(r); }), e([ qr, on, yn, sr, wn, Hn ], function(r) { return this.computed_key() && this.key.has_side_effects(r); }), e(Me, function(r) { return t(this.elements, r); }), e(nt, function(r) { return Oa(this, r) ? this.expression.has_side_effects(r) : !this.optional && this.expression.may_throw_on_access(r) ? !0 : this.expression. has_side_effects(r); }), e(Tt, function(r) { if (Oa(this, r)) return this.expression.has_side_effects(r); if (!this.optional && this.expression.may_throw_on_access(r)) return !0; var n = this.property.has_side_effects(r); return n && this.optional ? !0 : n || this.expression.has_side_effects(r); }), e(dt, function(r) { return this.expression.has_side_effects(r); }), e(Ee, function(r) { return t(this.expressions, r); }), e(Lr, function(r) { return t(this.definitions, r); }), e(Lt, function() { return this.value != null; }), e($n, Qe), e(Qt, function(r) { return t(this.segments, r); }); })(function(e, t) { for (let r of [].concat(e)) r.DEFMETHOD("has_side_effects", t); }); (function(e) { e(ne, Ir), e(Xe, Qe), e(it, Qe), e(ge, Qe), e(Wt, Qe), e(jt, Qe), e(fi, Qe); function t(r, n) { for (var i = r.length; --i >= 0; ) if (r[i].may_throw(n)) return !0; return !1; } a(t, "any"), e(qe, function(r) { return this.extends && this.extends.may_throw(r) ? !0 : t(this.properties, r); }), e(Jt, function(r) { return t(this.body, r); }), e(Me, function(r) { return t(this.elements, r); }), e(Ie, function(r) { return this.right.may_throw(r) ? !0 : !r.has_directive("use strict") && this.operator == "=" && this.left instanceof ue ? !1 : this.left. may_throw(r); }), e(K, function(r) { return this.left.may_throw(r) || this.right.may_throw(r); }), e(It, function(r) { return t(this.body, r); }), e(pe, function(r) { return Oa(this, r) ? !1 : t(this.args, r) ? !0 : this.is_callee_pure(r) ? !1 : this.expression.may_throw(r) ? !0 : !(this.expression instanceof ge) || t(this.expression.body, r); }), e(Cn, function(r) { return this.expression.may_throw(r) || t(this.body, r); }), e(Te, function(r) { return this.condition.may_throw(r) || this.consequent.may_throw(r) || this.alternative.may_throw(r); }), e(Lr, function(r) { return t(this.definitions, r); }), e(at, function(r) { return this.condition.may_throw(r) || this.body && this.body.may_throw(r) || this.alternative && this.alternative.may_throw(r); }), e(Ht, function(r) { return this.body.may_throw(r); }), e(Ge, function(r) { return t(this.properties, r); }), e(et, function(r) { return this.computed_key() && this.key.may_throw(r) || this.value ? this.value.may_throw(r) : !1; }), e([ Kr, Ur ], function(r) { return this.computed_key() && this.key.may_throw(r) || this.static && this.value && this.value.may_throw(r); }), e([ sr, wn, Hn ], function(r) { return this.computed_key() && this.key.may_throw(r); }), e([ qr, on, yn ], Qe), e(At, function(r) { return this.value && this.value.may_throw(r); }), e(Ee, function(r) { return t(this.expressions, r); }), e(me, function(r) { return this.body.may_throw(r); }), e(nt, function(r) { return Oa(this, r) ? !1 : !this.optional && this.expression.may_throw_on_access(r) || this.expression.may_throw(r); }), e(Tt, function(r) { return Oa(this, r) ? !1 : !this.optional && this.expression.may_throw_on_access(r) || this.expression.may_throw(r) || this.property.may_throw( r); }), e(dt, function(r) { return this.expression.may_throw(r); }), e(Zt, function(r) { return this.expression.may_throw(r) || t(this.body, r); }), e(ue, function(r) { return !this.is_declared(r) && !xl.has(this.name); }), e(Si, Qe), e(Ar, function(r) { return this.bcatch ? this.bcatch.may_throw(r) : this.body.may_throw(r) || this.bfinally && this.bfinally.may_throw(r); }), e(st, function(r) { return this.operator == "typeof" && this.expression instanceof ue ? !1 : this.expression.may_throw(r); }), e(Lt, function(r) { return this.value ? this.value.may_throw(r) : !1; }); })(function(e, t) { for (let r of [].concat(e)) r.DEFMETHOD("may_throw", t); }); (function(e) { function t(r) { let n = !0; return Rt(this, (i) => { if (i instanceof ue) { if (xr(this, 16)) return n = !1, cn; var s = i.definition(); if (wp(s, this.enclosed) && !this.variables.has(s.name)) { if (r) { var o = r.find_variable(i); if (s.undeclared ? !o : o === s) return n = "f", !0; } return n = !1, cn; } return !0; } if (i instanceof jt && this instanceof pt) return n = !1, cn; }), n; } a(t, "all_refs_local"), e(ne, Qe), e(Xe, Ir), e(qe, function(r) { if (this.extends && !this.extends.is_constant_expression(r)) return !1; for (let n of this.properties) if (n.computed_key() && !n.key.is_constant_expression(r) || n.static && n.value && !n.value.is_constant_expression(r) || n instanceof Jt) return !1; return t.call(this, r); }), e(ge, t), e(st, function() { return this.expression.is_constant_expression(); }), e(K, function() { return this.left.is_constant_expression() && this.right.is_constant_expression(); }), e(Me, function() { return this.elements.every((r) => r.is_constant_expression()); }), e(Ge, function() { return this.properties.every((r) => r.is_constant_expression()); }), e(Ot, function() { return !!(!(this.key instanceof ne) && this.value && this.value.is_constant_expression()); }); })(function(e, t) { e.DEFMETHOD("is_constant_expression", t); }); (function(e) { ne.DEFMETHOD("may_throw_on_access", function(r) { return !r.option("pure_getters") || this._dot_throw(r); }); function t(r) { return /strict/.test(r.option("pure_getters")); } a(t, "is_strict"), e(ne, t), e(ln, Ir), e(xt, Ir), e(Xe, Qe), e(Me, Qe), e(Ge, function(r) { if (!t(r)) return !1; for (var n = this.properties.length; --n >= 0; ) if (this.properties[n]._dot_throw(r)) return !0; return !1; }), e(qe, Qe), e(Ot, Qe), e(wn, Ir), e(Ne, function(r) { return this.expression._dot_throw(r); }), e(ot, Qe), e(pt, Qe), e(hi, Qe), e(Se, function() { return this.operator == "void"; }), e(K, function(r) { return (this.operator == "&&" || this.operator == "||" || this.operator == "??") && (this.left._dot_throw(r) || this.right._dot_throw( r)); }), e(Ie, function(r) { return this.logical ? !0 : this.operator == "=" && this.right._dot_throw(r); }), e(Te, function(r) { return this.consequent._dot_throw(r) || this.alternative._dot_throw(r); }), e(nt, function(r) { return t(r) ? this.property == "prototype" ? !(this.expression instanceof ot || this.expression instanceof qe) : !0 : !1; }), e(dt, function(r) { return this.expression._dot_throw(r); }), e(Ee, function(r) { return this.tail_node()._dot_throw(r); }), e(ue, function(r) { if (this.name === "arguments" && this.scope instanceof ge) return !1; if (xr(this, 8)) return !0; if (!t(r) || da(this) && this.is_declared(r) || this.is_immutable()) return !1; var n = this.fixed_value(); return !n || n._dot_throw(r); }); })(function(e, t) { e.DEFMETHOD("_dot_throw", t); }); a(ds, "is_lhs"); (function(e) { function t(n) { return k(Se, n, { operator: "!", expression: n }); } a(t, "basic_negation"); function r(n, i, s) { var o = t(n); if (s) { var u = k(me, i, { body: i }); return fs(o, u) === u ? i : o; } return fs(o, i); } a(r, "best"), e(ne, function() { return t(this); }), e(Xt, function() { throw new Error("Cannot negate a statement"); }), e(ot, function() { return t(this); }), e(qe, function() { return t(this); }), e(pt, function() { return t(this); }), e(Se, function() { return this.operator == "!" ? this.expression : t(this); }), e(Ee, function(n) { var i = this.expressions.slice(); return i.push(i.pop().negate(n)), Ue(this, i); }), e(Te, function(n, i) { var s = this.clone(); return s.consequent = s.consequent.negate(n), s.alternative = s.alternative.negate(n), r(this, s, i); }), e(K, function(n, i) { var s = this.clone(), o = this.operator; if (n.option("unsafe_comps")) switch (o) { case "<=": return s.operator = ">", s; case "<": return s.operator = ">=", s; case ">=": return s.operator = "<", s; case ">": return s.operator = "<=", s; } switch (o) { case "==": return s.operator = "!=", s; case "!=": return s.operator = "==", s; case "===": return s.operator = "!==", s; case "!==": return s.operator = "===", s; case "&&": return s.operator = "||", s.left = s.left.negate(n, i), s.right = s.right.negate(n), r(this, s, i); case "||": return s.operator = "&&", s.left = s.left.negate(n, i), s.right = s.right.negate(n), r(this, s, i); } return t(this); }); })(function(e, t) { e.DEFMETHOD("negate", function(r, n) { return t.call(this, r, n); }); }); (function(e) { function t(r) { return k(Se, r, { operator: "~", expression: r }); } a(t, "basic_bitwise_negation"), e(ne, function(r) { return t(this); }), e(Ae, function(r) { let n = ~this.value; return n.toString().length > this.value.toString().length ? t(this) : k(Ae, this, { value: n }); }), e(Se, function(r, n) { return this.operator == "~" && (this.expression.is_32_bit_integer(r) || (n ?? r.in_32_bit_context())) ? this.expression : t(this); }); })(function(e, t) { e.DEFMETHOD("bitwise_negate", t); }); bNe = Ze("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parse\ Float parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError"); pe.DEFMETHOD("is_callee_pure", function(e) { if (e.option("unsafe")) { var t = this.expression, r = this.args && this.args[0] && this.args[0].evaluate(e); if (t.expression && t.expression.name === "hasOwnProperty" && (r == null || r.thedef && r.thedef.undeclared)) return !1; if (da(t) && bNe.has(t.name) || t instanceof nt && da(t.expression) && zv(t.expression.name, t.property)) return !0; } return this instanceof Dr && e.option("pure_new") || e.option("side_effects") && tn(this, uf) ? !0 : !e.pure_funcs(this); }); ne.DEFMETHOD("is_call_pure", Qe); nt.DEFMETHOD("is_call_pure", function(e) { if (!e.option("unsafe")) return; let t = this.expression, r; return t instanceof Me ? r = "Array" : t.is_boolean() ? r = "Boolean" : t.is_number(e) ? r = "Number" : t instanceof or ? r = "RegExp" : t.is_string(e) ? r = "String" : this.may_throw_on_access(e) || (r = "Object"), r != null && Gv(r, this.property); }); Di = /* @__PURE__ */ a((e) => e && e.aborts(), "aborts"); (function(e) { e(Xt, Ms), e(mu, ts); function t() { for (var r = 0; r < this.body.length; r++) if (Di(this.body[r])) return this.body[r]; return null; } a(t, "block_aborts"), e(Tr, Ms), e(Le, t), e(Ai, t), e(vn, function() { for (let r of this.properties) if (r instanceof Jt && r.aborts()) return r; return null; }), e(Jt, t), e(at, function() { return this.alternative && Di(this.body) && Di(this.alternative) && this; }); })(function(e, t) { e.DEFMETHOD("aborts", t); }); ne.DEFMETHOD("contains_this", function() { return Rt(this, (e) => { if (e instanceof jt) return cn; if (e !== this && e instanceof De && !(e instanceof pt)) return !0; }); }); a(bu, "is_modified"); a($v, "is_used_in_expression"); }); // ../node_modules/terser/lib/compress/evaluate.js function Pn(e, t) { e.DEFMETHOD("_eval", t); } var Sf, yNe, SNe, ENe, ANe, TNe, d$, l2, m$, DNe, c2 = we(() => { rn(); Nr(); yu(); Up(); a(Pn, "def_eval"); Sf = Symbol("This AST_Chain is nullish"); ne.DEFMETHOD("evaluate", function(e) { if (!e.option("evaluate")) return this; var t = this._eval(e, 1); if (!t || t instanceof RegExp) return t; if (typeof t == "function" || typeof t == "object" || t == Sf) return this; if (typeof t == "string") { let r = this.size(e); if (t.length + 2 > r) return this; } return t; }); yNe = Ze("! ~ - + void"); ne.DEFMETHOD("is_constant", function() { return this instanceof Xe ? !(this instanceof or) : this instanceof Se && yNe.has(this.operator) && // `this.expression` may be an `AST_RegExp`, // so not only `.is_constant()`. (this.expression instanceof Xe || this.expression.is_constant()); }); Pn(Xt, function() { throw new Error(dl("Cannot evaluate a statement [{file}:{line},{col}]", this.start)); }); Pn(ge, ts); Pn(qe, ts); Pn(ne, ts); Pn(Xe, function() { return this.getValue(); }); SNe = typeof BigInt == "function"; Pn(un, function() { return SNe ? BigInt(this.value) : this; }); Pn(or, function(e) { let t = e.evaluated_regexps.get(this.value); if (t === void 0 && Dv(this.value.source)) { try { let { source: r, flags: n } = this.value; t = new RegExp(r, n); } catch { t = null; } e.evaluated_regexps.set(this.value, t); } return t || this; }); Pn(Qt, function() { return this.segments.length !== 1 ? this : this.segments[0].value; }); Pn(ot, function(e) { if (e.option("unsafe")) { var t = /* @__PURE__ */ a(function() { }, "fn"); return t.node = this, t.toString = () => this.print_to_string(), t; } return this; }); Pn(Me, function(e, t) { if (e.option("unsafe")) { for (var r = [], n = 0, i = this.elements.length; n < i; n++) { var s = this.elements[n], o = s._eval(e, t); if (s === o) return this; r.push(o); } return r; } return this; }); Pn(Ge, function(e, t) { if (e.option("unsafe")) { for (var r = {}, n = 0, i = this.properties.length; n < i; n++) { var s = this.properties[n]; if (s instanceof Ne) return this; var o = s.key; if (o instanceof He) o = o.name; else if (o instanceof ne && (o = o._eval(e, t), o === s.key)) return this; if (typeof Object.prototype[o] == "function") return this; if (!(s.value instanceof ot) && (r[o] = s.value._eval(e, t), r[o] === s.value)) return this; } return r; } return this; }); ENe = Ze("! typeof void"); Pn(Se, function(e, t) { var r = this.expression; if (e.option("typeofs") && this.operator == "typeof") { if (r instanceof ge || r instanceof ue && r.fixed_value() instanceof ge) return "function"; if ((r instanceof Ge || r instanceof Me || r instanceof ue && (r.fixed_value() instanceof Ge || r.fixed_value() instanceof Me)) && !r. has_side_effects(e)) return typeof {}; } if (ENe.has(this.operator) || t++, r = r._eval(e, t), r === this.expression) return this; switch (this.operator) { case "!": return !r; case "typeof": return r instanceof RegExp ? this : typeof r; case "void": return; case "~": return ~r; case "-": return -r; case "+": return +r; } return this; }); ANe = Ze("&& || ?? === !=="), TNe = Ze("== != === !=="), d$ = /* @__PURE__ */ a((e) => typeof e == "object" || typeof e == "function" || typeof e == "symbol", "has_identity"); Pn(K, function(e, t) { ANe.has(this.operator) || t++; var r = this.left._eval(e, t); if (r === this.left) return this; var n = this.right._eval(e, t); if (n === this.right) return this; if (r != null && n != null && TNe.has(this.operator) && d$(r) && d$(n) && typeof r == typeof n) return this; if (typeof r == "bigint" != (typeof n == "bigint") || typeof r == "bigint" && (this.operator === ">>>" || this.operator === "/" && Number( n) === 0)) return this; var i; switch (this.operator) { case "&&": i = r && n; break; case "||": i = r || n; break; case "??": i = r ?? n; break; case "|": i = r | n; break; case "&": i = r & n; break; case "^": i = r ^ n; break; case "+": i = r + n; break; case "*": i = r * n; break; case "**": i = r ** n; break; case "/": i = r / n; break; case "%": i = r % n; break; case "-": i = r - n; break; case "<<": i = r << n; break; case ">>": i = r >> n; break; case ">>>": i = r >>> n; break; case "==": i = r == n; break; case "===": i = r === n; break; case "!=": i = r != n; break; case "!==": i = r !== n; break; case "<": i = r < n; break; case "<=": i = r <= n; break; case ">": i = r > n; break; case ">=": i = r >= n; break; default: return this; } return typeof i == "number" && isNaN(i) && e.find_parent(Er) ? this : i; }); Pn(Te, function(e, t) { var r = this.condition._eval(e, t); if (r === this.condition) return this; var n = r ? this.consequent : this.alternative, i = n._eval(e, t); return i === n ? this : i; }); l2 = /* @__PURE__ */ new Set(); Pn(ue, function(e, t) { if (l2.has(this)) return this; var r = this.fixed_value(); if (!r) return this; l2.add(this); let n = r._eval(e, t); if (l2.delete(this), n === r) return this; if (n && typeof n == "object") { var i = this.definition().escaped; if (i && t > i) return this; } return n; }); m$ = { Array, Math, Number, Object, String }, DNe = /* @__PURE__ */ new Set([ "dotAll", "global", "ignoreCase", "multiline", "sticky", "unicode" ]); Pn(_e, function(e, t) { let r = this.expression._eval(e, t + 1); if (r === Sf || this.optional && r == null) return Sf; if (this.property === "length") { if (typeof r == "string") return r.length; if (r instanceof Me && r.elements.every((l) => !(l instanceof Ne)) && r.elements.every((l) => !l.has_side_effects(e))) return r.elements.length; } if (e.option("unsafe")) { var n = this.property; if (n instanceof ne && (n = n._eval(e, t), n === this.property)) return this; var i = this.expression; if (da(i)) { var s, o = i.name === "hasOwnProperty" && n === "call" && (s = e.parent() && e.parent().args) && s && s[0] && s[0].evaluate(e); if (o = o instanceof nt ? o.expression : o, o == null || o.thedef && o.thedef.undeclared) return this.clone(); if (!h$(i.name, n)) return this; r = m$[i.name]; } else { if (r instanceof RegExp) { if (n == "source") return lu(r.source); if (n == "flags" || DNe.has(n)) return r[n]; } if (!r || r === i || !Fr(r, n)) return this; if (typeof r == "function") switch (n) { case "name": return r.node.name ? r.node.name.name : ""; case "length": return r.node.length_property(); default: return this; } } return r[n]; } return this; }); Pn(dt, function(e, t) { let r = this.expression._eval(e, t); return r === Sf ? void 0 : r === this.expression ? this : r; }); Pn(pe, function(e, t) { var r = this.expression; let n = r._eval(e, t); if (n === Sf || this.optional && n == null) return Sf; if (e.option("unsafe") && r instanceof _e) { var i = r.property; if (i instanceof ne && (i = i._eval(e, t), i === r.property)) return this; var s, o = r.expression; if (da(o)) { var u = o.name === "hasOwnProperty" && i === "call" && this.args[0] && this.args[0].evaluate(e); if (u = u instanceof nt ? u.expression : u, u == null || u.thedef && u.thedef.undeclared) return this.clone(); if (!zv(o.name, i)) return this; s = m$[o.name]; } else { if (s = o._eval(e, t + 1), s === o || !s) return this; if (!Gv(s.constructor.name, i)) return this; } for (var l = [], c = 0, f = this.args.length; c < f; c++) { var d = this.args[c], g = d._eval(e, t); if (d === g) return this; if (d instanceof ge) return this; l.push(g); } try { return s[i].apply(s, l); } catch { } } return this; }); Pn(Dr, ts); }); // ../node_modules/terser/lib/compress/drop-side-effect-free.js function fr(e, t) { for (let r of [].concat(e)) r.DEFMETHOD("drop_side_effect_free", t); } function Vp(e, t, r) { var n = e.length; if (!n) return null; for (var i = [], s = !1, o = 0; o < n; o++) { var u = e[o].drop_side_effect_free(t, r); s |= u !== e[o], u && (i.push(u), r = !1); } return s ? i.length ? i : null : e; } var f2 = we(() => { Nr(); rn(); pf(); Up(); yu(); Ao(); To(); a(fr, "def_drop_side_effect_free"); a(Vp, "trim"); fr(ne, ts); fr(Xe, Ms); fr(jt, Ms); fr(pe, function(e, t) { if (Cl(this, e)) return this.expression.drop_side_effect_free(e, t); if (!this.is_callee_pure(e)) { if (this.expression.is_call_pure(e)) { var r = this.args.slice(); return r.unshift(this.expression.expression), r = Vp(r, e, t), r && Ue(this, r); } if (vu(this.expression) && (!this.expression.name || !this.expression.name.definition().references.length)) { var n = this.clone(); return n.expression.process_expression(!1, e), n; } return this; } var i = Vp(this.args, e, t); return i && Ue(this, i); }); fr(li, Ms); fr(ot, Ms); fr(pt, Ms); fr(qe, function(e) { let t = []; if (this.is_self_referential() && this.has_side_effects(e)) return this; let r = this.extends && this.extends.drop_side_effect_free(e); r && t.push(r); for (let i of this.properties) if (i instanceof Jt) { if (i.has_side_effects(e)) return this; } else { let s = i.drop_side_effect_free(e); s && t.push(s); } if (!t.length) return null; let n = Ue(this, t); return this instanceof vn ? k(me, this, { body: n }) : n; }); fr([ Kr, Ur ], function(e) { let t = this.computed_key() && this.key.drop_side_effect_free(e), r = this.static && this.value && this.value.drop_side_effect_free(e); return t && r ? Ue(this, [t, r]) : t || r || null; }); fr(K, function(e, t) { var r = this.right.drop_side_effect_free(e); if (!r) return this.left.drop_side_effect_free(e, t); if (ps.has(this.operator)) { if (r === this.right) return this; var n = this.clone(); return n.right = r, n; } else { var i = this.left.drop_side_effect_free(e, t); return i ? Ue(this, [i, r]) : this.right.drop_side_effect_free(e, t); } }); fr(Ie, function(e) { if (this.logical) return this; var t = this.left; if (t.has_side_effects(e) || e.has_directive("use strict") && t instanceof _e && t.expression.is_constant()) return this; for (Rn(this, 32); t instanceof _e; ) t = t.expression; return t.is_constant_expression(e.find_parent(De)) ? this.right.drop_side_effect_free(e) : this; }); fr(Te, function(e) { var t = this.consequent.drop_side_effect_free(e), r = this.alternative.drop_side_effect_free(e); if (t === this.consequent && r === this.alternative) return this; if (!t) return r ? k(K, this, { operator: "||", left: this.condition, right: r }) : this.condition.drop_side_effect_free(e); if (!r) return k(K, this, { operator: "&&", left: this.condition, right: t }); var n = this.clone(); return n.consequent = t, n.alternative = r, n; }); fr(st, function(e, t) { if (yf.has(this.operator)) return this.expression.has_side_effects(e) ? Gs(this, 32) : Rn(this, 32), this; if (this.operator == "typeof" && this.expression instanceof ue) return null; var r = this.expression.drop_side_effect_free(e, t); return t && r && qp(r) ? r === this.expression && this.operator == "!" ? this : r.negate(e, t) : r; }); fr(ue, function(e) { return this.is_declared(e) || xl.has(this.name) ? null : this; }); fr(Ge, function(e, t) { var r = Vp(this.properties, e, t); return r && Ue(this, r); }); fr(et, function(e, t) { let n = this.key instanceof ne && this.key.drop_side_effect_free(e, t), i = this.value.drop_side_effect_free(e, t); return n && i ? Ue(this, [n, i]) : n || i; }); fr([ sr, wn, Hn ], function() { return this.computed_key() ? this.key : null; }); fr([ qr, on, yn ], function() { return null; }); fr(Me, function(e, t) { var r = Vp(this.elements, e, t); return r && Ue(this, r); }); fr(nt, function(e, t) { return Cl(this, e) ? this.expression.drop_side_effect_free(e, t) : !this.optional && this.expression.may_throw_on_access(e) ? this : this. expression.drop_side_effect_free(e, t); }); fr(Tt, function(e, t) { if (Cl(this, e)) return this.expression.drop_side_effect_free(e, t); if (!this.optional && this.expression.may_throw_on_access(e)) return this; var r = this.property.drop_side_effect_free(e); if (r && this.optional) return this; var n = this.expression.drop_side_effect_free(e, t); return n && r ? Ue(this, [n, r]) : n || r; }); fr(dt, function(e, t) { return this.expression.drop_side_effect_free(e, t); }); fr(Ee, function(e) { var t = this.tail_node(), r = t.drop_side_effect_free(e); if (r === t) return this; var n = this.expressions.slice(0, -1); return r && n.push(r), n.length ? Ue(this, n) : k(Ae, this, { value: 0 }); }); fr(Ne, function(e, t) { return this.expression.drop_side_effect_free(e, t); }); fr($n, Ms); fr(Qt, function(e) { var t = Vp(this.segments, e, pi); return t && Ue(this, t); }); }); // ../node_modules/terser/lib/compress/drop-unused.js var xNe, g$ = we(() => { Nr(); rn(); Lp(); Ao(); To(); yu(); xNe = /keep_assign/; De.DEFMETHOD("drop_unused", function(e) { if (!e.option("unused") || e.has_directive("use asm") || !this.variables) return; var t = this; if (t.pinned()) return; var r = !(t instanceof lt) || e.toplevel.funcs, n = !(t instanceof lt) || e.toplevel.vars; let i = xNe.test(e.option("unused")) ? Qe : function(b) { if (b instanceof Ie && !b.logical && (xr(b, 32) || b.operator == "=")) return b.left; if (b instanceof st && xr(b, 32)) return b.expression; }; var s = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(); t instanceof lt && e.top_retain && t.variables.forEach(function(b) { e.top_retain(b) && s.set(b.id, b); }); var u = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), c = this, f = new $t(function(b, _) { if (b instanceof ge && b.uses_arguments && !f.has_directive("use strict") && b.argnames.forEach(function(h) { if (h instanceof Wt) { var S = h.definition(); s.set(S.id, S); } }), b === t) return; if (b instanceof qe && b.has_side_effects(e) && (b.is_self_referential() ? _() : b.visit_nondeferred_class_parts(f)), b instanceof gt || b instanceof vn) { var T = b.name.definition(); return (f.parent() instanceof Et || !r && c === t) && T.global && s.set(T.id, T), Op(l, T.id, b), !0; } let p = c === t; if (b instanceof Kt && p && Op(u, b.definition().id, b), b instanceof Lr && p) { let h = f.parent() instanceof Et; return b.definitions.forEach(function(S) { if (S.name instanceof yi && Op(u, S.name.definition().id, S), (h || !n) && Rt(S.name, (E) => { if (E instanceof Wt) { let C = E.definition(); C.global && s.set(C.id, C); } }), S.name instanceof Je && S.walk(f), S.name instanceof Wt && S.value) { var D = S.name.definition(); Op(l, D.id, S.value), !D.chained && S.name.fixed_value() === S.value && o.set(D.id, S), S.value.has_side_effects(e) && S.value.walk( f); } }), !0; } return g(b, _); }); t.walk(f), f = new $t(g), s.forEach(function(b) { var _ = l.get(b.id); _ && _.forEach(function(T) { T.walk(f); }); }); var d = new Wr( /* @__PURE__ */ a(function(_, T, p) { var h = d.parent(); if (n) { let H = i(_); if (H instanceof ue) { var D = H.definition(), S = s.has(D.id); if (_ instanceof Ie) { if (!S || o.has(D.id) && o.get(D.id) !== _) { let M = _.right.transform(d); return !S && !M.has_side_effects(e) && !$v(d) ? p ? yt.skip : k(Ae, _, { value: 0 }) : zs(h, _, M); } } else if (!S) return p ? yt.skip : k(Ae, _, { value: 0 }); } } if (c === t) { var D; if (_.name && (_ instanceof ui && !uu(e.option("keep_classnames"), (D = _.name.definition()).name) || _ instanceof ot && !uu(e.option( "keep_fnames"), (D = _.name.definition()).name)) && (!s.has(D.id) || D.orig.length > 1) && (_.name = null), _ instanceof ge && !(_ instanceof li)) for (var E = !e.option("keep_fargs") || h instanceof pe && h.expression === _ && !_.pinned() && (!_.name || _.name.unreferenced()), C = _.argnames, m = C.length; --m >= 0; ) { var v = C[m]; v instanceof Ne && (v = v.expression), v instanceof yr && (v = v.left), !(v instanceof Je) && !s.has(v.definition().id) ? (Rn( v, 1), E && C.pop()) : E = !1; } if (_ instanceof vn && _ !== t) { let H = _.name.definition(); if (T(_, this), !(H.global && !r || s.has(H.id))) { let M = _.drop_side_effect_free(e); return M ?? (H.eliminated++, p ? yt.skip : k(it, _)); } return _; } if (_ instanceof gt && _ !== t) { let H = _.name.definition(); if (!(H.global && !r || s.has(H.id))) return H.eliminated++, p ? yt.skip : k(it, _); } if (_ instanceof Lr && !(h instanceof qt && h.init === _)) { var A = !(h instanceof lt) && !(_ instanceof Ft), w = [], F = [], x = [], I = []; switch (_.definitions.forEach(function(H) { H.value && (H.value = H.value.transform(d)); var U = H.name instanceof Je, M = U ? new Al(null, { name: "" }) : H.name.definition(); if (A && M.global) return x.push(H); if (!(n || A) || U && (H.name.names.length || H.name.is_array || e.option("pure_getters") != !0) || s.has(M.id)) { if (H.value && o.has(M.id) && o.get(M.id) !== H && (H.value = H.value.drop_side_effect_free(e)), H.name instanceof yi) { var ee = u.get(M.id); if (ee.length > 1 && (!H.value || M.orig.indexOf(H.name) > M.eliminated)) { if (H.value) { var oe = k(ue, H.name, H.name); M.references.push(oe); var he = k(Ie, H, { operator: "=", logical: !1, left: oe, right: H.value }); o.get(M.id) === H && o.set(M.id, he), I.push(he.transform(d)); } vo(ee, H), M.eliminated++; return; } } H.value ? (I.length > 0 && (x.length > 0 ? (I.push(H.value), H.value = Ue(H.value, I)) : w.push(k(me, _, { body: Ue(_, I) })), I = []), x.push(H)) : F.push(H); } else if (M.orig[0] instanceof Zn) { var le = H.value && H.value.drop_side_effect_free(e); le && I.push(le), H.value = null, F.push(H); } else { var le = H.value && H.value.drop_side_effect_free(e); le && I.push(le), M.eliminated++; } }), (F.length > 0 || x.length > 0) && (_.definitions = F.concat(x), w.push(_)), I.length > 0 && w.push(k(me, _, { body: Ue(_, I) })), w.length) { case 0: return p ? yt.skip : k(it, _); case 1: return w[0]; default: return p ? yt.splice(w) : k(Le, _, { body: w }); } } if (_ instanceof Dt) { T(_, this); var N; return _.init instanceof Le && (N = _.init, _.init = N.body.pop(), N.body.push(_)), _.init instanceof me ? _.init = _.init.body : hs(_.init) && (_.init = null), N ? p ? yt.splice(N.body) : N : _; } if (_ instanceof Ht && _.body instanceof Dt) { if (T(_, this), _.body instanceof Le) { var N = _.body; return _.body = N.body.pop(), N.body.push(_), p ? yt.splice(N.body) : N; } return _; } if (_ instanceof Le) return T(_, this), p && _.body.every(Tl) ? yt.splice(_.body) : _; if (_ instanceof De && !(_ instanceof Jt)) { let H = c; return c = _, T(_, this), c = H, _; } } }, "before"), /* @__PURE__ */ a(function(_, T) { if (_ instanceof Ee) switch (_.expressions.length) { case 0: return T ? yt.skip : k(Ae, _, { value: 0 }); case 1: return _.expressions[0]; } }, "after") ); t.transform(d); function g(b, _) { var T; let p = i(b); if (p instanceof ue && !_f(b.left, wa) && t.variables.get(p.name) === (T = p.definition())) return b instanceof Ie && (b.right.walk(f), !T.chained && b.left.fixed_value() === b.right && o.set(T.id, b)), !0; if (b instanceof ue) { if (T = b.definition(), !s.has(T.id) && (s.set(T.id, T), T.orig[0] instanceof Zn)) { let S = T.scope.is_block_scope() && T.scope.get_defun_scope().variables.get(T.name); S && s.set(S.id, S); } return !0; } if (b instanceof qe) return _(), !0; if (b instanceof De && !(b instanceof Jt)) { var h = c; return c = b, _(), c = h, !0; } } a(g, "scan_ref_scoped"); }); }); // ../node_modules/terser/lib/compress/reduce-vars.js function ur(e, t) { e.DEFMETHOD("reduce_vars", t); } function h2(e, t) { t.assignments = 0, t.chained = !1, t.direct_access = !1, t.escaped = 0, t.recursive_refs = 0, t.references = [], t.single_use = void 0, t. scope.pinned() || t.orig[0] instanceof Kt && t.scope.uses_arguments ? t.fixed = !1 : t.orig[0] instanceof pa || !e.exposed(t) ? t.fixed = t. init : t.fixed = !1; } function p2(e, t, r) { r.variables.forEach(function(n) { h2(t, n), n.fixed === null ? (e.defs_to_safe_ids.set(n.id, e.safe_ids), Do(e, n, !0)) : n.fixed && (e.loop_ids.set(n.id, e.in_loop), Do( e, n, !0)); }); } function Ol(e, t) { t.block_scope && t.block_scope.variables.forEach((r) => { h2(e, r); }); } function Cr(e) { e.safe_ids = Object.create(e.safe_ids); } function $r(e) { e.safe_ids = Object.getPrototypeOf(e.safe_ids); } function Do(e, t, r) { e.safe_ids[t.id] = r; } function _$(e, t) { if (t.single_use == "m") return !1; if (e.safe_ids[t.id]) { if (t.fixed == null) { var r = t.orig[0]; if (r instanceof Kt || r.name == "arguments") return !1; t.fixed = k(xt, r); } return !0; } return t.fixed instanceof gt; } function d2(e, t, r, n) { if (t.fixed === void 0) return !0; let i; return t.fixed === null && (i = e.defs_to_safe_ids.get(t.id)) ? (i[t.id] = !1, e.defs_to_safe_ids.delete(t.id), !0) : !Fr(e.safe_ids, t.id) || !_$(e, t) || t.fixed === !1 || t.fixed != null && (!n || t.references.length > t.assignments) ? !1 : t.fixed instanceof gt ? n instanceof ne && t.fixed.parent_scope === r : t.orig.every((s) => !(s instanceof pa || s instanceof Qn || s instanceof jn)); } function CNe(e, t, r) { return t.option("unused") && !r.scope.pinned() && r.references.length - r.recursive_refs == 1 && e.loop_ids.get(r.id) === e.in_loop; } function wNe(e) { return e ? e.is_constant() || e instanceof ge || e instanceof jt : !1; } function Hp(e, t, r, n, i, s = 0, o = 1) { var u = e.parent(s); if (!(i && (i.is_constant() || i instanceof ui))) { if (u instanceof Ie && (u.operator === "=" || u.logical) && n === u.right || u instanceof pe && (n !== u.expression || u instanceof Dr) || u instanceof En && n === u.value && n.scope !== t.scope || u instanceof Ti && n === u.value || u instanceof Mr && n === u.value && n.scope !== t.scope) { o > 1 && !(i && i.is_constant_expression(r)) && (o = 1), (!t.escaped || t.escaped > o) && (t.escaped = o); return; } else if (u instanceof Me || u instanceof zr || u instanceof K && ps.has(u.operator) || u instanceof Te && n !== u.condition || u instanceof Ne || u instanceof Ee && n === u.tail_node()) Hp(e, t, r, u, u, s + 1, o); else if (u instanceof et && n === u.value) { var l = e.parent(s + 1); Hp(e, t, r, l, l, s + 2, o); } else if (u instanceof _e && n === u.expression && (i = Vv(i, u.property), Hp(e, t, r, u, i, s + 1, o + 1), i)) return; s > 0 || u instanceof Ee && n !== u.tail_node() || u instanceof me || (t.direct_access = !0); } } function ONe(e, t, r) { Gs(this, 16), Cr(e), p2(e, r, this); var n; return !this.name && !this.uses_arguments && !this.pinned() && (n = e.parent()) instanceof pe && n.expression === this && !n.args.some((i) => i instanceof Ne) && this.argnames.every((i) => i instanceof He) && this.argnames.forEach((i, s) => { if (i.definition) { var o = i.definition(); o.orig.length > 1 || (o.fixed === void 0 && (!this.uses_arguments || e.has_directive("use strict")) ? (o.fixed = function() { return n.args[s] || k(xt, n); }, e.loop_ids.set(o.id, e.in_loop), Do(e, o, !0)) : o.fixed = !1); } }), t(), $r(e), v$(this), !0; } function v$(e) { let t = []; Rt(e, (c) => { if (c !== e) { if (c instanceof gt) return t.push(c), !0; if (c instanceof De || c instanceof me) return !0; } }); let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set(); for (let c of t) { let f = c.name.definition(), d = []; for (let g of c.enclosed) if (!(g.fixed === !1 || g === f || g.scope.get_defun_scope() !== e)) { if (i.add(g.id), g.assignments === 0 && g.orig.length === 1 && g.orig[0] instanceof Qn) { s.add(g.id), i.add(g.id), s.add(f.id), i.add(f.id), r.has(f.id) || r.set(f.id, []), r.get(f.id).push(g.id); continue; } d.push(g); } d.length && (n.set(f.id, d), s.add(f.id), i.add(f.id)); } if (!n.size) return; let o = 1, u = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(); hf(e, (c, f) => { if (c instanceof He && c.thedef) { let d = c.definition().id; o++, i.has(d) && (c instanceof Wt || ds(c, f.parent())) && l.set(d, o), s.has(d) && !u.has(d) && !bf(f, d) && u.set(d, o); } }); for (let [c, f] of u) { let d = new Set(r.get(c)); for (let g of d) { let b = u.get(g); if (!(b != null && b < f)) { u.set(g, f); for (let _ of r.get(g) || []) d.add(_); } } } for (let [c, f] of n) { let d = u.get(c); if (d !== void 0) for (let g of f) { if (g.fixed === !1) continue; let b = l.get(g.id) || 0; d < b && (g.fixed = !1); } } } var Xv, m2 = we(() => { Nr(); rn(); yu(); Ao(); To(); a(ur, "def_reduce_vars"); ur(ne, An); a(h2, "reset_def"); a(p2, "reset_variables"); a(Ol, "reset_block_variables"); a(Cr, "push"); a($r, "pop"); a(Do, "mark"); a(_$, "safe_to_read"); a(d2, "safe_to_assign"); a(CNe, "ref_once"); a(wNe, "is_immutable"); a(Hp, "mark_escaped"); Xv = /* @__PURE__ */ a((e) => Rt(e, (t) => { if (t instanceof He) { var r = t.definition(); r && (t instanceof ue && r.references.push(t), r.fixed = !1); } }), "suppress"); ur(li, function(e, t, r) { return Cr(e), p2(e, r, this), t(), $r(e), !0; }); ur(Ie, function(e, t, r) { var n = this; if (n.left instanceof Je) { Xv(n.left); return; } let i = /* @__PURE__ */ a(() => { if (n.logical) return n.left.walk(e), Cr(e), n.right.walk(e), $r(e), !0; }, "finish_walk"); var s = n.left; if (!(s instanceof ue)) return i(); var o = s.definition(), u = d2(e, o, s.scope, n.right); if (o.assignments++, !u) return i(); var l = o.fixed; if (!l && n.operator != "=" && !n.logical) return i(); var c = n.operator == "=", f = c ? n.right : n; return bu(r, e, n, f, 0) ? i() : (o.references.push(s), n.logical || (c || (o.chained = !0), o.fixed = c ? function() { return n.right; } : function() { return k(K, n, { operator: n.operator.slice(0, -1), left: l instanceof ne ? l : l(), right: n.right }); }), n.logical ? (Do(e, o, !1), Cr(e), n.right.walk(e), $r(e), !0) : (Do(e, o, !1), n.right.walk(e), Do(e, o, !0), Hp(e, o, s.scope, n, f, 0, 1), !0)); }); ur(K, function(e) { if (ps.has(this.operator)) return this.left.walk(e), Cr(e), this.right.walk(e), $r(e), !0; }); ur(It, function(e, t, r) { Ol(r, this); }); ur(Cn, function(e) { return Cr(e), this.expression.walk(e), $r(e), Cr(e), pu(this, e), $r(e), !0; }); ur(qe, function(e, t) { return Gs(this, 16), Cr(e), t(), $r(e), !0; }); ur(Jt, function(e, t, r) { Ol(r, this); }); ur(Te, function(e) { return this.condition.walk(e), Cr(e), this.consequent.walk(e), $r(e), Cr(e), this.alternative.walk(e), $r(e), !0; }); ur(dt, function(e, t) { let r = e.safe_ids; return t(), e.safe_ids = r, !0; }); ur(pe, function(e) { this.expression.walk(e), this.optional && Cr(e); for (let t of this.args) t.walk(e); return !0; }); ur(_e, function(e) { if (this.optional) return this.expression.walk(e), Cr(e), this.property instanceof ne && this.property.walk(e), !0; }); ur(Ki, function(e, t) { return Cr(e), t(), $r(e), !0; }); a(ONe, "mark_lambda"); a(v$, "handle_defined_after_hoist"); ur(ge, ONe); ur(Un, function(e, t, r) { Ol(r, this); let n = e.in_loop; return e.in_loop = this, Cr(e), this.body.walk(e), Mp(this) && ($r(e), Cr(e)), this.condition.walk(e), $r(e), e.in_loop = n, !0; }); ur(Dt, function(e, t, r) { Ol(r, this), this.init && this.init.walk(e); let n = e.in_loop; return e.in_loop = this, Cr(e), this.condition && this.condition.walk(e), this.body.walk(e), this.step && (Mp(this) && ($r(e), Cr(e)), this. step.walk(e)), $r(e), e.in_loop = n, !0; }); ur(qt, function(e, t, r) { Ol(r, this), Xv(this.init), this.object.walk(e); let n = e.in_loop; return e.in_loop = this, Cr(e), this.body.walk(e), $r(e), e.in_loop = n, !0; }); ur(at, function(e) { return this.condition.walk(e), Cr(e), this.body.walk(e), $r(e), this.alternative && (Cr(e), this.alternative.walk(e), $r(e)), !0; }); ur(Ht, function(e) { return Cr(e), this.body.walk(e), $r(e), !0; }); ur(Zn, function() { this.definition().fixed = !1; }); ur(ue, function(e, t, r) { var n = this.definition(); n.references.push(this), n.references.length == 1 && !n.fixed && n.orig[0] instanceof Qn && e.loop_ids.set(n.id, e.in_loop); var i; n.fixed === void 0 || !_$(e, n) ? n.fixed = !1 : n.fixed && (i = this.fixed_value(), i instanceof ge && bf(e, n) ? n.recursive_refs++ : i && !r.exposed(n) && CNe(e, r, n) ? n.single_use = i instanceof ge && !i.pinned() || i instanceof qe || n.scope === this.scope && i.is_constant_expression() : n.single_use = !1, bu(r, e, this, i, 0, wNe(i)) && (n.single_use ? n.single_use = "m" : n.fixed = !1)), Hp(e, n, this.scope, this, i, 0, 1); }); ur(lt, function(e, t, r) { return this.globals.forEach(function(n) { h2(r, n); }), p2(e, r, this), t(), v$(this), !0; }); ur(Ar, function(e, t, r) { return Ol(r, this), Cr(e), this.body.walk(e), $r(e), this.bcatch && (Cr(e), this.bcatch.walk(e), $r(e)), this.bfinally && this.bfinally. walk(e), !0; }); ur(st, function(e) { var t = this; if (!(t.operator !== "++" && t.operator !== "--")) { var r = t.expression; if (r instanceof ue) { var n = r.definition(), i = d2(e, n, r.scope, !0); if (n.assignments++, !!i) { var s = n.fixed; if (s) return n.references.push(r), n.chained = !0, n.fixed = function() { return k(K, t, { operator: t.operator.slice(0, -1), left: k(Se, t, { operator: "+", expression: s instanceof ne ? s : s() }), right: k(Ae, t, { value: 1 }) }); }, Do(e, n, !0), !0; } } } }); ur(Lt, function(e, t) { var r = this; if (r.name instanceof Je) { Xv(r.name); return; } var n = r.name.definition(); if (r.value) { if (d2(e, n, r.name.scope, r.value)) return n.fixed = function() { return r.value; }, e.loop_ids.set(n.id, e.in_loop), Do(e, n, !1), t(), Do(e, n, !0), !0; n.fixed = !1; } }); ur(_l, function() { Xv(this.name); }); ur(Yn, function(e, t, r) { Ol(r, this); let n = e.in_loop; return e.in_loop = this, Cr(e), t(), $r(e), e.in_loop = n, !0; }); }); // ../node_modules/terser/lib/compress/tighten-body.js function g2(e) { return e instanceof Xn && e.body instanceof Le ? e.body : e; } function b$(e) { if (e instanceof jt) return !0; if (e instanceof ue) return e.definition().orig[0] instanceof jn; if (e instanceof _e) { if (e = e.expression, e instanceof ue) { if (e.is_immutable()) return !1; e = e.fixed_value(); } return e ? e instanceof or ? !1 : e instanceof Xe ? !0 : b$(e) : !0; } return !1; } function RNe(e) { var t = []; return e.definitions.forEach(function(r) { r.name instanceof Wt ? (r.value = null, t.push(r)) : r.declarations_as_names().forEach((n) => { t.push(k(Lt, r, { name: n, value: null })); }); }), t.length ? k(Ft, e, { definitions: t }) : null; } function Eu(e, t, r) { Rt(t, (n) => { if (n instanceof Ft) { let i = RNe(n); return i && r.push(i), !0; } if (n instanceof gt && (n === t || !e.has_directive("use strict"))) return r.push(n === t ? n : k(Ft, n, { definitions: [ k(Lt, n, { name: k(yi, n.name, n.name), value: null }) ] })), !0; if (n instanceof Et || n instanceof Tr) return r.push(n), !0; if (n instanceof De) return !0; }); } function jp(e, t) { let r = t.find_scope(), n = r.get_defun_scope(), { in_loop: i, in_try: s } = l(); var o, u = 10; do o = !1, f(e), t.option("dead_code") && g(e, t), t.option("if_return") && d(e, t), t.sequences_limit > 0 && (_(e, t), p(e, t)), t.option( "join_vars") && S(e), t.option("collapse_vars") && c(e, t); while (o && u-- > 0); function l() { var D = t.self(), E = 0, C = !1, m = !1; do if (D instanceof Xn) C = !0; else { if (D instanceof De) break; D instanceof fu && (m = !0); } while (D = t.parent(E++)); return { in_loop: C, in_try: m }; } a(l, "find_loop_scope_try"); function c(D, E) { if (r.pinned() || n.pinned()) return D; for (var C, m = [], v = D.length, A = new Wr(function(L) { if (z) return L; if (!ve) return L !== F[x] ? L : (x++, x < F.length ? ie(L) : (ve = !0, H = Y(L, 0), H === L && (z = !0), L)); var de = A.parent(); if (L instanceof Ie && (L.logical || L.operator != "=" && M.equivalent_to(L.left)) || L instanceof zr || L instanceof nn || L instanceof pe && M instanceof _e && M.equivalent_to(L.expression) || (L instanceof pe || L instanceof _e) && L.optional || L instanceof ci || L instanceof Je || L instanceof Ne && L.expression instanceof He && (L.expression instanceof jt || L.expression.definition().references.length > 1) || L instanceof Xn && !(L instanceof Dt) || L instanceof Jn || L instanceof Ar || L instanceof Er || L instanceof Mr || L instanceof Et || L instanceof qe || de instanceof Dt && L !== de.init || !le && L instanceof ue && !L.is_declared(E) && !xl.has(L) || L instanceof ue && de instanceof pe && tn(de, ls) || L instanceof Ot && L.key instanceof ne) return z = !0, L; if (!U && (!oe || !le) && (de instanceof K && ps.has(de.operator) && de.left !== L || de instanceof Te && de.condition !== L || de instanceof at && de.condition !== L) && (U = de), X && !(L instanceof Wt) && M.equivalent_to(L) && !ql(A.find_scope() || r, ee)) { if (U) return z = !0, L; if (ds(L, de)) return N && j++, L; if (j++, N && I instanceof Lt) return L; if (o = z = !0, I instanceof hi) return k(Se, I, I); if (I instanceof Lt) { var Be = I.name.definition(), Ce = I.value; return Be.references.length - Be.replaced == 1 && !E.exposed(Be) ? (Be.replaced++, te && Hv(Ce) ? Ce.transform(E) : zs(de, L, Ce)) : k(Ie, I, { operator: "=", logical: !1, left: k(ue, I.name, I.name), right: Ce }); } return Gs(I, 32), I; } var Bt; return (L instanceof pe || L instanceof En && (he || M instanceof _e || nr(M)) || L instanceof _e && (he || L.expression.may_throw_on_access( E)) || L instanceof ue && (ee.has(L.name) && ee.get(L.name).modified || he && nr(L)) || L instanceof Lt && L.value && (ee.has(L.name.name) || he && nr(L.name)) || L instanceof nn || (Bt = ds(L.left, L)) && (Bt instanceof _e || ee.has(Bt.name)) || ze && (s ? L.has_side_effects( E) : Yr(L))) && (H = L, L instanceof De && (z = !0)), ie(L); }, function(L) { z || (H === L && (z = !0), U === L && (U = null)); }), w = new Wr(function(L) { if (z) return L; if (!ve) return L !== F[x] ? L : (x++, x < F.length ? void 0 : (ve = !0, L)); if (L instanceof ue && L.name == ce.name) return --j || (z = !0), ds(L, w.parent()) ? L : (ce.replaced++, N.replaced--, I.value); if (L instanceof Ki || L instanceof De) return L; }); --v >= 0; ) { v == 0 && E.option("unused") && fe(); var F = []; for (V(D[v]); m.length > 0; ) { F = m.pop(); var x = 0, I = F[F.length - 1], N = null, H = null, U = null, M = Pe(I); if (!(!M || b$(M) || M.has_side_effects(E))) { var ee = ut(I), oe = Nt(M); M instanceof ue && ee.set(M.name, { def: M.definition(), modified: !1 }); var he = rr(I), le = Ut(), ze = I.may_throw(E), te = I.name instanceof Kt, ve = te, z = !1, j = 0, X = !C || !ve; if (!X) { for (let L = E.self().argnames.lastIndexOf(I.name) + 1; !z && L < C.length; L++) C[L].transform(A); X = !0; } for (var re = v; !z && re < D.length; re++) D[re].transform(A); if (N) { var ce = I.name.definition(); if (z && ce.references.length - ce.replaced > j) j = !1; else { z = !1, x = 0, ve = te; for (var re = v; !z && re < D.length; re++) D[re].transform(w); N.single_use = !1; } } j && !tr(I) && D.splice(v, 1); } } } function ie(L) { if (L instanceof De) return L; if (L instanceof Zt) { L.expression = L.expression.transform(A); for (var de = 0, Be = L.body.length; !z && de < Be; de++) { var Ce = L.body[de]; if (Ce instanceof Cn) { if (!ve) { if (Ce !== F[x]) continue; x++; } if (Ce.expression = Ce.expression.transform(A), !le) break; } } return z = !0, L; } } a(ie, "handle_custom_scan_order"); function je(L, de) { if (L.global) return !1; let Be = L.scope; for (; Be && Be !== de; ) { if (Be.variables.has(L.name)) return !0; Be = Be.parent_scope; } return !1; } a(je, "redefined_within_scope"); function Q(L, de, Be) { var Ce = !1, Bt = !(L instanceof pt); return de.walk(new $t(function(fn, _t) { if (Ce) return !0; if (fn instanceof ue && (L.variables.has(fn.name) || je(fn.definition(), L))) { var Fn = fn.definition().scope; if (Fn !== n) { for (; Fn = Fn.parent_scope; ) if (Fn === n) return !0; } return Ce = !0; } if ((Be || Bt) && fn instanceof jt) return Ce = !0; if (fn instanceof De && !(fn instanceof pt)) { var _s = Bt; return Bt = !1, _t(), Bt = _s, !0; } })), Ce; } a(Q, "has_overlapping_symbol"); function se(L) { return !(L instanceof Ne || Rt(L, (Be) => { if (Be instanceof zr) return cn; })); } a(se, "arg_is_injectable"); function fe() { var L, de = E.self(); if (vu(de) && !de.name && !de.uses_arguments && !de.pinned() && (L = E.parent()) instanceof pe && L.expression === de && L.args.every( se)) { var Be = E.has_directive("use strict"); Be && !wp(Be, de.body) && (Be = !1); var Ce = de.argnames.length; C = L.args.slice(Ce); for (var Bt = /* @__PURE__ */ new Set(), fn = Ce; --fn >= 0; ) { var _t = de.argnames[fn], Fn = L.args[fn]; let Cu = _t.definition && _t.definition(); if (!(Cu && Cu.orig.length > 1) && (C.unshift(k(Lt, _t, { name: _t, value: Fn })), !Bt.has(_t.name))) if (Bt.add(_t.name), _t instanceof Ne) { var _s = L.args.slice(fn); _s.every( (yb) => !Q(de, yb, Be) ) && m.unshift([k(Lt, _t, { name: _t.expression, value: k(Me, L, { elements: _s }) })]); } else Fn ? (Fn instanceof ge && Fn.pinned() || Q(de, Fn, Be)) && (Fn = null) : Fn = k(xt, _t).transform(E), Fn && m.unshift([k(Lt, _t, { name: _t, value: Fn })]); } } } a(fe, "extract_args"); function V(L) { if (F.push(L), L instanceof Ie) !L.left.has_side_effects(E) && !(L.right instanceof dt) && m.push(F.slice()), V(L.right); else if (L instanceof K) V(L.left), V(L.right); else if (L instanceof pe && !tn(L, ls)) V(L.expression), L.args.forEach(V); else if (L instanceof Cn) V(L.expression); else if (L instanceof Te) V(L.condition), V(L.consequent), V(L.alternative); else if (L instanceof Lr) { var de = L.definitions.length, Be = de - 200; for (Be < 0 && (Be = 0); Be < de; Be++) V(L.definitions[Be]); } else L instanceof cf ? (V(L.condition), L.body instanceof It || V(L.body)) : L instanceof En ? L.value && V(L.value) : L instanceof Dt ? (L.init && V(L.init), L.condition && V(L.condition), L.step && V(L.step), L.body instanceof It || V(L.body)) : L instanceof qt ? (V(L. object), L.body instanceof It || V(L.body)) : L instanceof at ? (V(L.condition), L.body instanceof It || V(L.body), L.alternative && !(L. alternative instanceof It) && V(L.alternative)) : L instanceof Ee ? L.expressions.forEach(V) : L instanceof me ? V(L.body) : L instanceof Zt ? (V(L.expression), L.body.forEach(V)) : L instanceof st ? (L.operator == "++" || L.operator == "--") && m.push(F.slice()) : L instanceof Lt && L.value && !(L.value instanceof dt) && (m.push(F.slice()), V(L.value)); F.pop(); } a(V, "extract_candidates"); function Y(L, de, Be) { var Ce = A.parent(de); return Ce instanceof Ie ? Be && !Ce.logical && !(Ce.left instanceof _e || ee.has(Ce.left.name)) ? Y(Ce, de + 1, Be) : L : Ce instanceof K ? Be && (!ps.has(Ce.operator) || Ce.left === L) ? Y(Ce, de + 1, Be) : L : Ce instanceof pe || Ce instanceof Cn ? L : Ce instanceof Te ? Be && Ce.condition === L ? Y(Ce, de + 1, Be) : L : Ce instanceof Lr ? Y(Ce, de + 1, !0) : Ce instanceof En ? Be ? Y(Ce, de + 1, Be) : L : Ce instanceof at ? Be && Ce.condition === L ? Y(Ce, de + 1, Be) : L : Ce instanceof Xn ? L : Ce instanceof Ee ? Y(Ce, de + 1, Ce.tail_node() !== L) : Ce instanceof me ? Y(Ce, de + 1, !0) : Ce instanceof Zt || Ce instanceof Lt ? L : null; } a(Y, "find_stop"); function ae(L) { var de = L.value; if (de instanceof ue && de.name != "arguments") { var Be = de.definition(); if (!Be.undeclared) return N = Be; } } a(ae, "mangleable_var"); function Pe(L) { if (L instanceof Ie && L.logical) return !1; if (L instanceof Lt && L.name instanceof Wt) { var de = L.name.definition(); if (!wp(L.name, de.orig)) return; var Be = de.references.length - de.replaced; if (!Be) return; var Ce = de.orig.length - de.eliminated; if (Ce > 1 && !(L.name instanceof Kt) || (Be > 1 ? ae(L) : !E.exposed(de))) return k(ue, L.name, L.name); } else { let Bt = L instanceof Ie ? L.left : L.expression; return !_f(Bt, pa) && !_f(Bt, os) && !_f(Bt, la) && Bt; } } a(Pe, "get_lhs"); function Ye(L) { return L instanceof Ie ? L.right : L.value; } a(Ye, "get_rvalue"); function ut(L) { var de = /* @__PURE__ */ new Map(); if (L instanceof st) return de; var Be = new $t(function(Ce) { for (var Bt = Ce; Bt instanceof _e; ) Bt = Bt.expression; if (Bt instanceof ue) { let fn = de.get(Bt.name); (!fn || !fn.modified) && de.set(Bt.name, { def: Bt.definition(), modified: bu(E, Be, Ce, Ce, 0) }); } }); return Ye(L).walk(Be), de; } a(ut, "get_lvalues"); function tr(L) { if (L.name instanceof Kt) { var de = E.parent(), Be = E.self().argnames, Ce = Be.indexOf(L.name); if (Ce < 0) de.args.length = Math.min(de.args.length, Be.length - 1); else { var Bt = de.args; Bt[Ce] && (Bt[Ce] = k(Ae, Bt[Ce], { value: 0 })); } return !0; } var fn = !1; return D[v].transform(new Wr(function(_t, Fn, _s) { if (fn) return _t; if (_t === L || _t.body === L) return fn = !0, _t instanceof Lt ? (_t.value = _t.name instanceof pa ? k(xt, _t.value) : null, _t) : _s ? yt.skip : null; }, function(_t) { if (_t instanceof Ee) switch (_t.expressions.length) { case 0: return null; case 1: return _t.expressions[0]; } })); } a(tr, "remove_candidate"); function Nt(L) { for (; L instanceof _e; ) L = L.expression; return L instanceof ue && L.definition().scope.get_defun_scope() === n && !(i && (ee.has(L.name) || I instanceof st || I instanceof Ie && !I.logical && I.operator != "=")); } a(Nt, "is_lhs_local"); function rr(L) { return L instanceof st ? yf.has(L.operator) : Ye(L).has_side_effects(E); } a(rr, "value_has_side_effects"); function Ut() { if (he) return !1; if (N) return !0; if (M instanceof ue) { var L = M.definition(); if (L.references.length - L.replaced == (I instanceof Lt ? 1 : 2)) return !0; } return !1; } a(Ut, "replace_all_symbols"); function nr(L) { if (!L.definition) return !0; var de = L.definition(); return de.orig.length == 1 && de.orig[0] instanceof Qn ? !1 : de.scope.get_defun_scope() !== n ? !0 : de.references.some( (Be) => Be.scope.get_defun_scope() !== n ); } a(nr, "may_modify"); function Yr(L, de) { if (L instanceof Ie) return Yr(L.left, !0); if (L instanceof st) return Yr(L.expression, !0); if (L instanceof Lt) return L.value && Yr(L.value); if (de) { if (L instanceof nt || L instanceof Tt) return Yr(L.expression, !0); if (L instanceof ue) return L.definition().scope.get_defun_scope() !== n; } return !1; } a(Yr, "side_effects_external"); function ql(L, de) { for (let { def: Be } of de.values()) { let Ce = L.find_variable(Be.name); if (Ce) { if (Ce === Be) continue; return !0; } } return !1; } a(ql, "shadows"); } a(c, "collapse"); function f(D) { for (var E = [], C = 0; C < D.length; ) { var m = D[C]; m instanceof Le && m.body.every(Tl) ? (o = !0, f(m.body), D.splice(C, 1, ...m.body), C += m.body.length) : m instanceof it ? (o = !0, D. splice(C, 1)) : m instanceof Br ? E.indexOf(m.value) < 0 ? (C++, E.push(m.value)) : (o = !0, D.splice(C, 1)) : C++; } } a(f, "eliminate_spurious_blocks"); function d(D, E) { var C = E.self(), m = U(D), v = C instanceof ge; let A = Math.min(D.length, 500); for (var w = A; --w >= 0; ) { var F = D[w], x = le(w), I = D[x]; if (v && !I && F instanceof At) { if (!F.value) { o = !0, D.splice(w, 1); continue; } if (F.value instanceof Se && F.value.operator == "void") { o = !0, D[w] = k(me, F, { body: F.value.expression }); continue; } } if (F instanceof at) { let te, ve; if (te = Di(F.body), ee(te) && (ve = he(F.body, te))) { te.label && vo(te.label.thedef.references, te), o = !0, F = F.clone(), F.condition = F.condition.negate(E), F.body = k(Le, F, { body: vf(F.alternative).concat(oe()) }), F.alternative = k(Le, F, { body: ve }), D[w] = F.transform(E); continue; } if (te = Di(F.alternative), ee(te) && (ve = he(F.alternative, te))) { te.label && vo(te.label.thedef.references, te), o = !0, F = F.clone(), F.body = k(Le, F.body, { body: vf(F.body).concat(oe()) }), F.alternative = k(Le, F.alternative, { body: ve }), D[w] = F.transform(E); continue; } } if (F instanceof at && F.body instanceof At) { var N = F.body.value; if (!N && !F.alternative && (v && !I || I instanceof At && !I.value)) { o = !0, D[w] = k(me, F.condition, { body: F.condition }); continue; } if (N && !F.alternative && I instanceof At && I.value) { o = !0, F = F.clone(), F.alternative = I, D[w] = F.transform(E), D.splice(x, 1); continue; } if (N && !F.alternative && (!I && v && m || I instanceof At)) { o = !0, F = F.clone(), F.alternative = I || k(At, F, { value: null }), D[w] = F.transform(E), I && D.splice(x, 1); continue; } var H = D[ze(w)]; if (E.option("sequences") && v && !F.alternative && H instanceof at && H.body instanceof At && le(x) == D.length && I instanceof me) { o = !0, F = F.clone(), F.alternative = k(Le, I, { body: [ I, k(At, I, { value: null }) ] }), D[w] = F.transform(E), D.splice(x, 1); continue; } } } function U(te) { for (var ve = 0, z = te.length; --z >= 0; ) { var j = te[z]; if (j instanceof at && j.body instanceof At && ++ve > 1) return !0; } return !1; } a(U, "has_multiple_if_returns"); function M(te) { return !te || te instanceof Se && te.operator == "void"; } a(M, "is_return_void"); function ee(te) { if (!te) return !1; for (var ve = w + 1, z = D.length; ve < z; ve++) { var j = D[ve]; if (j instanceof an && !(j instanceof Ft)) return !1; } var X = te instanceof Jn ? E.loopcontrol_target(te) : null; return te instanceof At && v && M(te.value) || te instanceof ua && C === g2(X) || te instanceof xn && X instanceof Le && C === X; } a(ee, "can_merge_flow"); function oe() { var te = D.slice(w + 1); return D.length = w + 1, te.filter(function(ve) { return ve instanceof gt ? (D.push(ve), !1) : !0; }); } a(oe, "extract_defuns"); function he(te, ve) { var z = vf(te); if (ve === z[z.length - 1] && (z = z.slice(0, -1), !!z.every((j) => Tl(j)))) return ve.value && z.push(k(me, ve.value, { body: ve.value.expression })), z; } a(he, "as_statement_array_with_return"); function le(te) { for (var ve = te + 1, z = D.length; ve < z; ve++) { var j = D[ve]; if (!(j instanceof Ft && b(j))) break; } return ve; } a(le, "next_index"); function ze(te) { for (var ve = te; --ve >= 0; ) { var z = D[ve]; if (!(z instanceof Ft && b(z))) break; } return ve; } a(ze, "prev_index"); } a(d, "handle_if_return"); function g(D, E) { for (var C, m = E.self(), v = 0, A = 0, w = D.length; v < w; v++) { var F = D[v]; if (F instanceof Jn) { var x = E.loopcontrol_target(F); F instanceof xn && !(x instanceof Xn) && g2(x) === m || F instanceof ua && g2(x) === m ? F.label && vo(F.label.thedef.references, F) : D[A++] = F; } else D[A++] = F; if (Di(F)) { C = D.slice(v + 1); break; } } D.length = A, o = A != w, C && C.forEach(function(I) { Eu(E, I, D); }); } a(g, "eliminate_dead_code"); function b(D) { return D.definitions.every((E) => !E.value); } a(b, "declarations_only"); function _(D, E) { if (D.length < 2) return; var C = [], m = 0; function v() { if (C.length) { var I = Ue(C[0], C); D[m++] = k(me, I, { body: I }), C = []; } } a(v, "push_seq"); for (var A = 0, w = D.length; A < w; A++) { var F = D[A]; if (F instanceof me) { C.length >= E.sequences_limit && v(); var x = F.body; C.length > 0 && (x = x.drop_side_effect_free(E)), x && Bp(C, x); } else F instanceof Lr && b(F) || F instanceof gt || v(), D[m++] = F; } v(), D.length = m, m != w && (o = !0); } a(_, "sequencesize"); function T(D, E) { if (!(D instanceof Le)) return D; for (var C = null, m = 0, v = D.body.length; m < v; m++) { var A = D.body[m]; if (A instanceof Ft && b(A)) E.push(A); else { if (C || A instanceof an && !(A instanceof Ft)) return !1; C = A; } } return C; } a(T, "to_simple_statement"); function p(D, E) { function C(H) { m--, o = !0; var U = v.body; return Ue(U, [U, H]).transform(E); } a(C, "cons_seq"); for (var m = 0, v, A = 0; A < D.length; A++) { var w = D[A]; if (v && (w instanceof En ? w.value = C(w.value || k(xt, w).transform(E)) : w instanceof Dt ? w.init instanceof an || Rt(v.body, (U) => { if (U instanceof De) return !0; if (U instanceof K && U.operator === "in") return cn; }) || (w.init ? w.init = C(w.init) : (w.init = v.body, m--, o = !0)) : w instanceof qt ? (!(w.init instanceof an) || w.init instanceof Ft) && (w.object = C(w.object)) : w instanceof at ? w.condition = C(w.condition) : (w instanceof Zt || w instanceof Er) && (w.expression = C(w.expression))), E.option("conditionals") && w instanceof at) { var F = [], x = T(w.body, F), I = T(w.alternative, F); if (x !== !1 && I !== !1 && F.length > 0) { var N = F.length; F.push(k(at, w, { condition: w.condition, body: x || k(it, w.body), alternative: I })), F.unshift(m, 1), [].splice.apply(D, F), A += N, m += N + 1, v = null, o = !0; continue; } } D[m++] = w, v = w instanceof me ? w : null; } D.length = m; } a(p, "sequencesize_2"); function h(D, E) { if (D instanceof Lr) { var C = D.definitions[D.definitions.length - 1]; if (C.value instanceof Ge) { var m; if (E instanceof Ie && !E.logical ? m = [E] : E instanceof Ee && (m = E.expressions.slice()), !!m) { var v = !1; do { var A = m[0]; if (!(A instanceof Ie) || A.operator != "=" || !(A.left instanceof _e)) break; var w = A.left.expression; if (!(w instanceof ue) || C.name.name != w.name || !A.right.is_constant_expression(r)) break; var F = A.left.property; if (F instanceof ne && (F = F.evaluate(t)), F instanceof ne) break; F = "" + F; var x = t.option("ecma") < 2015 && t.has_directive("use strict") ? function(N) { return N.key != F && N.key && N.key.name != F; } : function(N) { return N.key && N.key.name != F; }; if (!C.value.properties.every(x)) break; var I = C.value.properties.filter(function(N) { return N.key === F; })[0]; I ? I.value = new Ee({ start: I.start, expressions: [I.value.clone(), A.right.clone()], end: I.end }) : C.value.properties.push(k(et, A, { key: F, value: A.right })), m.shift(), v = !0; } while (m.length); return v && m; } } } } a(h, "join_object_assignments"); function S(D) { for (var E, C = 0, m = -1, v = D.length; C < v; C++) { var A = D[C], w = D[m]; if (A instanceof Lr) w && w.TYPE == A.TYPE ? (w.definitions = w.definitions.concat(A.definitions), o = !0) : E && E.TYPE == A.TYPE && b(A) ? (E.definitions = E.definitions.concat(A.definitions), o = !0) : (D[++m] = A, E = A); else if (A instanceof nn && w instanceof nn && w.await === A.await) w.definitions = w.definitions.concat(A.definitions); else if (A instanceof En) A.value = x(A.value); else if (A instanceof Dt) { var F = h(w, A.init); F ? (o = !0, A.init = F.length ? Ue(A.init, F) : null, D[++m] = A) : w instanceof Ft && (!A.init || A.init.TYPE == w.TYPE) ? (A.init && (w.definitions = w.definitions.concat(A.init.definitions)), A.init = w, D[m] = A, o = !0) : E instanceof Ft && A.init instanceof Ft && b(A.init) ? (E.definitions = E.definitions.concat(A.init.definitions), A.init = null, D[++m] = A, o = !0) : D[++m] = A; } else if (A instanceof qt) A.object = x(A.object); else if (A instanceof at) A.condition = x(A.condition); else if (A instanceof me) { var F = h(w, A.body); if (F) { if (o = !0, !F.length) continue; A.body = Ue(A.body, F); } D[++m] = A; } else A instanceof Zt || A instanceof Er ? A.expression = x(A.expression) : D[++m] = A; } D.length = m + 1; function x(I) { D[++m] = A; var N = h(w, I); return N ? (o = !0, N.length ? Ue(I, N) : I instanceof Ee ? I.tail_node().left : I.left) : I; } a(x, "extract_object_assignments"); } a(S, "join_consecutive_vars"); } var y$ = we(() => { Nr(); rn(); Up(); yu(); Ao(); To(); a(g2, "loop_body"); a(b$, "is_lhs_read_only"); a(RNe, "remove_initializers"); a(Eu, "trim_unreachable_code"); a(jp, "tighten_body"); }); // ../node_modules/terser/lib/compress/inline.js function kNe(e) { for (var t, r = 0; t = e.parent(r++); ) { if (t instanceof Xt) return !1; if (t instanceof Me || t instanceof et || t instanceof Ge) return !0; } return !1; } function _2(e, t) { for (let r of t.enclosed) { if (t.variables.has(r.name)) continue; let n = e.find_variable(r.name); if (n) { if (n === r) continue; return !0; } } return !1; } function PNe(e, t) { if (e.orig.length === 1 && t) { let r = t.size(), n = e.name.length; return r > n; } return !0; } function S$(e, t) { if (t.in_computed_key()) return e; let r = t.parent(), n = e.definition(), i = t.find_scope(), s = e.fixed_value(); if (t.top_retain && n.global && t.top_retain(n) && // when identifier is in top_retain option dose not mean we can always inline it. // if identifier name is longer then init value, we can replace it. PNe(n, s)) return n.fixed = !1, n.single_use = !1, e; if (A$(t, s)) return e; let o = n.single_use && !(r instanceof pe && r.is_callee_pure(t) || tn(r, ls)) && !(r instanceof Et && s instanceof ge && s.name); if (o && s instanceof ne && (o = !s.has_side_effects(t) && !s.may_throw(t)), s instanceof qe && n.scope !== e.scope) return e; if (o && (s instanceof ge || s instanceof qe)) { if (o2(s, t)) o = !1; else if (n.scope !== e.scope && (n.escaped == 1 || xr(s, 16) || kNe(t) || !t.option("reduce_funcs"))) o = !1; else if (bf(t, n)) o = !1; else if ((n.scope !== e.scope || n.orig[0] instanceof Kt) && (o = s.is_constant_expression(e.scope), o == "f")) { var u = e.scope; do (u instanceof gt || vu(u)) && Rn(u, 16); while (u = u.parent_scope); } } if (o && (s instanceof ge || s instanceof qe) && (o = n.scope === e.scope && !_2(i, s) || r instanceof pe && r.expression === e && !_2(i, s) && !(s.name && s.name.definition().recursive_refs > 0)), o && s) { if (s instanceof vn && (Rn(s, 256), s = k(ui, s, s)), s instanceof gt && (Rn(s, 256), s = k(ot, s, s)), n.recursive_refs > 0 && s.name instanceof Qn) { let c = s.name.definition(), f = s.variables.get(s.name.name), d = f && f.orig[0]; d instanceof jn || (d = k(jn, s.name, s.name), d.scope = s, s.name = d, f = s.def_function(d)), Rt(s, (g) => { g instanceof ue && g.definition() === c && (g.thedef = f, f.references.push(g)); }); } return (s instanceof ge || s instanceof qe) && s.parent_scope !== i && (s = s.clone(!0, t.get_toplevel()), i.add_child_scope(s)), s.optimize( t); } if (s) { let c; if (s instanceof jt) !(n.orig[0] instanceof Kt) && n.references.every( (f) => n.scope === f.scope ) && (c = s); else { var l = s.evaluate(t); l !== s && (t.option("unsafe_regexp") || !(l instanceof RegExp)) && (c = kn(l, s)); } if (c) { let f = e.size(t), d = c.size(t), g = 0; if (t.option("unused") && !t.exposed(n) && (g = (f + 2 + s.size(t)) / (n.references.length - n.assignments)), d <= f + g) return c; } } return e; } function E$(e, t) { if (t.in_computed_key()) return e; var r = e.expression, n = r, i = e.args.every((A) => !(A instanceof Ne)); if (t.option("reduce_vars") && n instanceof ue && !tn(e, ls)) { let A = n.fixed_value(); if (o2(A, t) || !t.toplevel.funcs && r.definition().global) return e; n = A; } if (A$(t, n) && !tn(e, lf)) return e; var s = n instanceof ge, o = s && n.body[0], u = s && !n.is_generator && !n.async, l = u && t.option("inline") && !e.is_callee_pure(t); if (l && o instanceof At) { let A = o.value; if (!A || A.is_constant_expression()) { A ? A = A.clone(!0) : A = k(xt, e); let w = e.args.concat(A); return Ue(e, w).optimize(t); } if (n.argnames.length === 1 && n.argnames[0] instanceof Kt && e.args.length < 2 && !(e.args[0] instanceof Ne) && A instanceof ue && A.name === n.argnames[0].name) { let w = (e.args[0] || k(xt)).optimize(t), F; return w instanceof _e && (F = t.parent()) instanceof pe && F.expression === e ? Ue(e, [ k(Ae, e, { value: 0 }), w ]) : w; } } if (l) { var c, f, d = -1; let A, w, F; if (i && !n.uses_arguments && !(t.parent() instanceof qe) && !(n.name && n instanceof ot) && (w = p(o)) && (r === n || tn(e, lf) || t.option( "unused") && (A = r.definition()).references.length == 1 && !bf(t, A) && n.is_constant_expression(r.scope)) && !tn(e, uf | ls) && !n.contains_this() && D() && (F = t.find_scope()) && !_2(F, n) && !(/* @__PURE__ */ a(function() { let I = 0, N; for (; N = t.parent(I++); ) { if (N instanceof yr) return !0; if (N instanceof It) break; } return !1; }, "in_default_assign"))() && !(c instanceof qe)) return Rn(n, 256), F.add_child_scope(n), Ue(e, v(w)).optimize(t); } if (l && tn(e, lf)) return Rn(n, 256), n = k(n.CTOR === gt ? ot : n.CTOR, n, n), n = n.clone(!0), n.figure_out_scope({}, { parent_scope: t.find_scope(), toplevel: t.get_toplevel() }), k(pe, e, { expression: n, args: e.args }).optimize(t); if (u && t.option("side_effects") && n.body.every(hs)) { var b = e.args.concat(k(xt, e)); return Ue(e, b).optimize(t); } if (t.option("negate_iife") && t.parent() instanceof me && qp(e)) return e.negate(t, !0); var _ = e.evaluate(t); if (_ !== e) return _ = kn(_, e).optimize(t), di(t, _, e); return e; function T(A) { if (!A) return k(xt, e); if (A instanceof At) return A.value ? A.value.clone(!0) : k(xt, e); if (A instanceof me) return k(Se, A, { operator: "void", expression: A.body.clone(!0) }); } function p(A) { var w = n.body, F = w.length; if (t.option("inline") < 3) return F == 1 && T(A); A = null; for (var x = 0; x < F; x++) { var I = w[x]; if (I instanceof Ft) { if (A && !I.definitions.every( (N) => !N.value )) return !1; } else { if (A) return !1; I instanceof it || (A = I); } } return T(A); } function h(A, w) { for (var F = 0, x = n.argnames.length; F < x; F++) { var I = n.argnames[F]; if (I instanceof yr) { if (xr(I.left, 1)) continue; return !1; } if (I instanceof Je) return !1; if (I instanceof Ne) { if (xr(I.expression, 1)) continue; return !1; } if (!xr(I, 1)) { if (!w || A.has(I.name) || s2.has(I.name) || c.conflicting_def(I.name)) return !1; f && f.push(I.definition()); } } return !0; } function S(A, w) { for (var F = n.body.length, x = 0; x < F; x++) { var I = n.body[x]; if (I instanceof Ft) { if (!w) return !1; for (var N = I.definitions.length; --N >= 0; ) { var H = I.definitions[N].name; if (H instanceof Je || A.has(H.name) || s2.has(H.name) || c.conflicting_def(H.name)) return !1; f && f.push(H.definition()); } } } return !0; } function D() { var A = /* @__PURE__ */ new Set(); do if (c = t.parent(++d), c.is_block_scope() && c.block_scope && c.block_scope.variables.forEach(function(x) { A.add(x.name); }), c instanceof Vn) c.argname && A.add(c.argname.name); else if (c instanceof Xn) f = []; else if (c instanceof ue && c.fixed_value() instanceof De) return !1; while (!(c instanceof De)); var w = !(c instanceof lt) || t.toplevel.vars, F = t.option("inline"); return !S(A, F >= 3 && w) || !h(A, F >= 2 && w) ? !1 : !f || f.length == 0 || !jv(n, f); } function E(A, w, F, x) { var I = F.definition(); c.variables.has(F.name) || (c.variables.set(F.name, I), c.enclosed.push(I), A.push(k(Lt, F, { name: F, value: null }))); var H = k(ue, F, F); I.references.push(H), x && w.push(k(Ie, e, { operator: "=", logical: !1, left: H, right: x.clone() })); } function C(A, w) { for (var F = n.argnames.length, x = e.args.length; --x >= F; ) w.push(e.args[x]); for (x = F; --x >= 0; ) { var I = n.argnames[x], N = e.args[x]; if (xr(I, 1) || !I.name || c.conflicting_def(I.name)) N && w.push(N); else { var H = k(yi, I, I); I.definition().orig.push(H), !N && f && (N = k(xt, e)), E(A, w, H, N); } } A.reverse(), w.reverse(); } function m(A, w) { for (var F = w.length, x = 0, I = n.body.length; x < I; x++) { var N = n.body[x]; if (N instanceof Ft) for (var H = 0, U = N.definitions.length; H < U; H++) { var M = N.definitions[H], ee = M.name; if (E(A, w, ee, M.value), f && n.argnames.every( (le) => le.name != ee.name )) { var oe = n.variables.get(ee.name), he = k(ue, ee, ee); oe.references.push(he), w.splice(F++, 0, k(Ie, M, { operator: "=", logical: !1, left: he, right: k(xt, ee) })); } } } } function v(A) { var w = [], F = []; if (C(w, F), m(w, F), F.push(A), w.length) { let x = c.body.indexOf(t.parent(d - 1)) + 1; c.body.splice(x, 0, k(Ft, n, { definitions: w })); } return F.map((x) => x.clone(!0)); } } function A$(e, t) { return (t instanceof ge || t instanceof qe) && !!e.is_within_loop(); } var T$ = we(() => { Nr(); rn(); r2(); c2(); f2(); m2(); Ao(); To(); a(kNe, "within_array_or_object_literal"); a(_2, "scope_encloses_variables_in_this_scope"); a(PNe, "is_const_symbol_short_than_init_value"); a(S$, "inline_into_symbolref"); a(E$, "inline_into_call"); a(A$, "dont_inline_lambda_in_loop"); }); // ../node_modules/terser/lib/compress/global-defs.js var D$ = we(() => { Nr(); rn(); To(); yu(); (function(e) { function t(r, n) { if (r instanceof ne) return r instanceof Xe || (r = r.clone(!0)), k(r.CTOR, n, r); if (Array.isArray(r)) return k(Me, n, { elements: r.map(function(o) { return t(o, n); }) }); if (r && typeof r == "object") { var i = []; for (var s in r) Fr(r, s) && i.push(k(et, n, { key: s, value: t(r[s], n) })); return k(Ge, n, { properties: i }); } return kn(r, n); } a(t, "to_node"), lt.DEFMETHOD("resolve_defines", function(r) { return r.option("global_defs") ? (this.figure_out_scope({ ie8: r.option("ie8") }), this.transform(new Wr(function(n) { var i = n._find_defs(r, ""); if (i) { for (var s = 0, o = n, u; (u = this.parent(s++)) && !(!(u instanceof _e) || u.expression !== o); ) o = u; if (!ds(o, u)) return i; } }))) : this; }), e(ne, An), e(dt, function(r, n) { return this.expression._find_defs(r, n); }), e(nt, function(r, n) { return this.expression._find_defs(r, "." + this.property + n); }), e(Wt, function() { this.global(); }), e(ue, function(r, n) { if (this.global()) { var i = r.option("global_defs"), s = this.name + n; if (Fr(i, s)) return t(i[s], this); } }), e(fi, function(r, n) { var i = r.option("global_defs"), s = "import.meta" + n; if (Fr(i, s)) return t(i[s], this); }); })(function(e, t) { e.DEFMETHOD("_find_defs", t); }); }); // ../node_modules/terser/lib/compress/index.js function We(e, t) { e.DEFMETHOD("optimize", function(r) { var n = this; if (xr(n, 512) || r.has_directive("use asm")) return n; var i = t(n, r); return Rn(i, 512), i; }); } function y2(e, t) { for (var r, n = 0; (r = e.parent(n++)) && !(r instanceof De); ) if (r instanceof Vn && r.argname) { r = r.argname.definition().scope; break; } return r.find_variable(t); } function LNe(e) { return !(e instanceof ha || e instanceof fa || e instanceof nn || e instanceof qe); } function S2(e, t) { return jp(e.body, t), t.option("side_effects") && e.body.length == 1 && e.body[0] === t.has_directive("use strict") && (e.body.length = 0), e; } function C$(e, t) { var r = e.body instanceof Le ? e.body.body[0] : e.body; if (t.option("dead_code") && i(r)) { var n = []; return e.init instanceof Xt ? n.push(e.init) : e.init && n.push(k(me, e.init, { body: e.init })), e.condition && n.push(k(me, e.condition, { body: e.condition })), Eu(t, e.body, n), k(Le, e, { body: n }); } return r instanceof at && (i(r.body) ? (e.condition ? e.condition = k(K, e.condition, { left: e.condition, operator: "&&", right: r.condition.negate(t) }) : e.condition = r.condition.negate(t), s(r.alternative)) : i(r.alternative) && (e.condition ? e.condition = k(K, e.condition, { left: e.condition, operator: "&&", right: r.condition }) : e.condition = r.condition, s(r.body))), e; function i(o) { return o instanceof xn && t.loopcontrol_target(o) === t.self(); } a(i, "is_break"); function s(o) { o = vf(o), e.body instanceof Le ? (e.body = e.body.clone(), e.body.body = o.concat(e.body.body.slice(1)), e.body = e.body.transform(t)) : e.body = k(Le, e.body, { body: o }).transform(t), e = C$(e, t); } a(s, "drop_it"); } function MNe(e) { return e instanceof Me || e instanceof ge || e instanceof Ge || e instanceof qe; } function Yv(e, t) { return e instanceof ue || e.TYPE === t.TYPE; } function VNe(e, t, r) { if (t.may_throw(r)) return !1; let n; if (e instanceof K && e.operator === "==" && ((n = Oa(e.left, r) && e.left) || (n = Oa(e.right, r) && e.right)) && (n === e.left ? e.right : e.left).equivalent_to(t)) return !0; if (e instanceof K && e.operator === "||") { let i, s, o = /* @__PURE__ */ a((u) => { if (!(u instanceof K && (u.operator === "===" || u.operator === "=="))) return !1; let l = 0, c; return u.left instanceof ln && (l++, i = u, c = u.right), u.right instanceof ln && (l++, i = u, c = u.left), Ra(u.left, r) && (l++, s = u, c = u.right), Ra(u.right, r) && (l++, s = u, c = u.left), !(l !== 1 || !c.equivalent_to(t)); }, "find_comparison"); if (!o(e.left) || !o(e.right)) return !1; if (i && s && i !== s) return !0; } return !1; } function w$(e, t) { return e instanceof ue && (e = e.fixed_value()), e ? !(e instanceof ge || e instanceof qe) || !(e instanceof ge && e.contains_this()) ? !0 : t.parent() instanceof Dr : !1; } function E2(e, t) { return t.in_boolean_context() ? di(t, e, Ue(e, [ e, k(Sn, e) ]).optimize(t)) : e; } function O$(e) { for (var t = 0; t < e.length; t++) { var r = e[t]; if (r instanceof Ne) { var n = r.expression; n instanceof Me && !n.elements.some((i) => i instanceof bn) && (e.splice(t, 1, ...n.elements), t--); } } } function HNe(e) { for (var t = 0; t < e.length; t++) { var r = e[t]; if (r instanceof Ne) { let n = r.expression; n instanceof Ge && n.properties.every((i) => i instanceof et) ? (e.splice(t, 1, ...n.properties), t--) : ( // `expr.is_constant()` returns `false` for `AST_RegExp`, so need both. (n instanceof Xe || n.is_constant()) && !(n instanceof Ve) && (e.splice(t, 1), t--) ); } } } function A2(e, t) { if (!t.option("computed_props") || !(e.key instanceof Xe)) return e; if (e.key instanceof Ve || e.key instanceof Ae) { let r = e.key.value.toString(); if (r === "__proto__" || r == "constructor" && t.parent() instanceof qe) return e; e instanceof et ? (e.quote = e.key.quote, e.key = r) : e instanceof Kr ? (e.quote = e.key.quote, e.key = k(Si, e.key, { name: r })) : (e.quote = e.key.quote, e.key = k(Sr, e.key, { name: r })); } return e; } var Gp, INe, NNe, BNe, qNe, UNe, R$ = we(() => { Nr(); rn(); pf(); f$(); cu(); Iv(); Lp(); r2(); c2(); f2(); g$(); m2(); yu(); Ao(); To(); y$(); T$(); D$(); Gp = class extends $t { static { a(this, "Compressor"); } constructor(t, { false_by_default: r = !1, mangle_options: n = !1 }) { super(), t.defaults !== void 0 && !t.defaults && (r = !0), this.options = Wn(t, { arguments: !1, arrows: !r, booleans: !r, booleans_as_integers: !1, collapse_vars: !r, comparisons: !r, computed_props: !r, conditionals: !r, dead_code: !r, defaults: !0, directives: !r, drop_console: !1, drop_debugger: !r, ecma: 5, evaluate: !r, expression: !1, global_defs: !1, hoist_funs: !1, hoist_props: !r, hoist_vars: !1, ie8: !1, if_return: !r, inline: !r, join_vars: !r, keep_classnames: !1, keep_fargs: !0, keep_fnames: !1, keep_infinity: !1, lhs_constants: !r, loops: !r, module: !1, negate_iife: !r, passes: 1, properties: !r, pure_getters: !r && "strict", pure_funcs: null, pure_new: !1, reduce_funcs: !r, reduce_vars: !r, sequences: !r, side_effects: !r, switches: !r, top_retain: null, toplevel: !!(t && t.top_retain), typeofs: !r, unsafe: !1, unsafe_arrows: !1, unsafe_comps: !1, unsafe_Function: !1, unsafe_math: !1, unsafe_symbols: !1, unsafe_methods: !1, unsafe_proto: !1, unsafe_regexp: !1, unsafe_undefined: !1, unused: !r, warnings: !1 // legacy }, !0); var i = this.options.global_defs; if (typeof i == "object") for (var s in i) s[0] === "@" && Fr(i, s) && (i[s.slice(1)] = Vs(i[s], { expression: !0 })); this.options.inline === !0 && (this.options.inline = 3); var o = this.options.pure_funcs; typeof o == "function" ? this.pure_funcs = o : this.pure_funcs = o ? function(f) { return !o.includes(f.expression.print_to_string()); } : Ir; var u = this.options.top_retain; u instanceof RegExp ? this.top_retain = function(f) { return u.test(f.name); } : typeof u == "function" ? this.top_retain = u : u && (typeof u == "string" && (u = u.split(/,/)), this.top_retain = function(f) { return u.includes(f.name); }), this.options.module && (this.directives["use strict"] = !0, this.options.toplevel = !0); var l = this.options.toplevel; this.toplevel = typeof l == "string" ? { funcs: /funcs/.test(l), vars: /vars/.test(l) } : { funcs: l, vars: l }; var c = this.options.sequences; this.sequences_limit = c == 1 ? 800 : c | 0, this.evaluated_regexps = /* @__PURE__ */ new Map(), this._toplevel = void 0, this._mangle_options = n && Np(n); } mangle_options() { var t = this._mangle_options && this._mangle_options.nth_identifier || _u, r = this._mangle_options && this._mangle_options.module || this. option("module"); return { ie8: this.option("ie8"), nth_identifier: t, module: r }; } option(t) { return this.options[t]; } exposed(t) { if (t.export) return !0; if (t.global) { for (var r = 0, n = t.orig.length; r < n; r++) if (!this.toplevel[t.orig[r] instanceof Qn ? "funcs" : "vars"]) return !0; } return !1; } in_boolean_context() { if (!this.option("booleans")) return !1; for (var t = this.self(), r = 0, n; n = this.parent(r); r++) { if (n instanceof me || n instanceof Te && n.condition === t || n instanceof cf && n.condition === t || n instanceof Dt && n.condition === t || n instanceof at && n.condition === t || n instanceof Se && n.operator == "!" && n.expression === t) return !0; if (n instanceof K && (n.operator == "&&" || n.operator == "||" || n.operator == "??") || n instanceof Te || n.tail_node() === t) t = n; else return !1; } } in_32_bit_context(t) { if (!this.option("evaluate")) return !1; for (var r = this.self(), n = 0, i; i = this.parent(n); n++) { if (i instanceof K && Wv.has(i.operator)) return t ? (r === i.left ? i.right : i.left).is_number(this) : !0; if (i instanceof Se) return i.operator === "~"; if (i instanceof K && (i.operator == "&&" || i.operator == "||" || i.operator == "??") || i instanceof Te && i.condition !== r || i. tail_node() === r) r = i; else return !1; } } in_computed_key() { if (!this.option("evaluate")) return !1; for (var t = this.self(), r = 0, n; n = this.parent(r); r++) if (n instanceof Ot && n.key === t) return !0; return !1; } get_toplevel() { return this._toplevel; } compress(t) { t = t.resolve_defines(this), this._toplevel = t, this.option("expression") && this._toplevel.process_expression(!0); for (var r = +this.options.passes || 1, n = 1 / 0, i = !1, s = this.mangle_options(), o = 0; o < r; o++) if (this._toplevel.figure_out_scope(s), o === 0 && this.option("drop_console") && (this._toplevel = this._toplevel.drop_console(this. option("drop_console"))), (o > 0 || this.option("reduce_vars")) && this._toplevel.reset_opt_flags(this), this._toplevel = this._toplevel. transform(this), r > 1) { let u = 0; if (Rt(this._toplevel, () => { u++; }), u < n) n = u, i = !1; else { if (i) break; i = !0; } } return this.option("expression") && this._toplevel.process_expression(!1), t = this._toplevel, this._toplevel = void 0, t; } before(t, r) { if (xr(t, 256)) return t; var n = !1; t instanceof De && (t = t.hoist_properties(this), t = t.hoist_declarations(this), n = !0), r(t, this), r(t, this); var i = t.optimize(this); return n && i instanceof De && (i.drop_unused(this), r(i, this)), i === t && Rn(i, 256), i; } /** Alternative to plain is_lhs() which doesn't work within .optimize() */ is_lhs() { let t = this.stack[this.stack.length - 1], r = this.stack[this.stack.length - 2]; return ds(t, r); } }; a(We, "def_optimize"); We(ne, function(e) { return e; }); lt.DEFMETHOD("drop_console", function(e) { let t = Array.isArray(e), r = new Wr(function(n) { if (n.TYPE === "Call") { var i = n.expression; if (i instanceof _e) { for (var s = i.expression, o = i.property, u = 2; s.expression; ) o = s.property, s = s.expression, u++; if (!(t && !e.includes(o)) && da(s) && s.name == "console") if (u === 3 && !["call", "apply"].includes(i.property) && $v(r)) i.expression = Uv(n), Rn(i.expression, 256), n.args = []; else return k(xt, n); } } }); return this.transform(r); }); ne.DEFMETHOD("equivalent_to", function(e) { return c$(this, e); }); De.DEFMETHOD("process_expression", function(e, t) { var r = this, n = new Wr(function(i) { if (e && i instanceof me) return k(At, i, { value: i.body }); if (!e && i instanceof At) { if (t) { var s = i.value && i.value.drop_side_effect_free(t, !0); return s ? k(me, i, { body: s }) : k(it, i); } return k(me, i, { body: i.value || k(Se, i, { operator: "void", expression: k(Ae, i, { value: 0 }) }) }); } if (i instanceof qe || i instanceof ge && i !== r) return i; if (i instanceof It) { var o = i.body.length - 1; o >= 0 && (i.body[o] = i.body[o].transform(n)); } else i instanceof at ? (i.body = i.body.transform(n), i.alternative && (i.alternative = i.alternative.transform(n))) : i instanceof Er && (i.body = i.body.transform(n)); return i; }); r.transform(n); }); lt.DEFMETHOD("reset_opt_flags", function(e) { let t = this, r = e.option("reduce_vars"), n = new $t(function(i, s) { if (Gs(i, 1792), r) return e.top_retain && i instanceof gt && n.parent() === t && Rn(i, 1024), i.reduce_vars(n, s, e); }); n.safe_ids = /* @__PURE__ */ Object.create(null), n.in_loop = null, n.loop_ids = /* @__PURE__ */ new Map(), n.defs_to_safe_ids = /* @__PURE__ */ new Map(), t.walk(n); }); He.DEFMETHOD("fixed_value", function() { var e = this.thedef.fixed; return !e || e instanceof ne ? e : e(); }); ue.DEFMETHOD("is_immutable", function() { var e = this.definition().orig; return e.length == 1 && e[0] instanceof jn; }); a(y2, "find_variable"); INe = Ze("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eva\ l EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout Stri\ ng SyntaxError TypeError unescape URIError"); ue.DEFMETHOD("is_declared", function(e) { return !this.definition().undeclared || e.option("unsafe") && INe.has(this.name); }); NNe = /* @__PURE__ */ new Set(["use asm", "use strict"]); We(Br, function(e, t) { return t.option("directives") && (!NNe.has(e.value) || t.has_directive(e.value) !== e) ? k(it, e) : e; }); We(ci, function(e, t) { return t.option("drop_debugger") ? k(it, e) : e; }); We(Ht, function(e, t) { return e.body instanceof xn && t.loopcontrol_target(e.body) === e.body ? k(it, e) : e.label.references.length == 0 ? e.body : e; }); We(It, function(e, t) { return jp(e.body, t), e; }); a(LNe, "can_be_extracted_from_if_block"); We(Le, function(e, t) { switch (jp(e.body, t), e.body.length) { case 1: if (!t.has_directive("use strict") && t.parent() instanceof at && LNe(e.body[0]) || Tl(e.body[0])) return e.body[0]; break; case 0: return k(it, e); } return e; }); a(S2, "opt_AST_Lambda"); We(ge, S2); De.DEFMETHOD("hoist_declarations", function(e) { var t = this; if (e.has_directive("use asm")) return t; var r = e.option("hoist_funs"), n = e.option("hoist_vars"); if (r || n) { var i = [], s = [], o = /* @__PURE__ */ new Map(), u = 0, l = 0; Rt(t, (p) => { if (p instanceof De && p !== t) return !0; if (p instanceof Ft) return ++l, !0; }), n = n && l > 1; var c = new Wr( /* @__PURE__ */ a(function(h) { if (h !== t) { if (h instanceof Br) return i.push(h), k(it, h); if (r && h instanceof gt && !(c.parent() instanceof Et) && c.parent() === t) return s.push(h), k(it, h); if (n && h instanceof Ft && !h.definitions.some((C) => C.name instanceof Je)) { h.definitions.forEach(function(C) { o.set(C.name.name, C), ++u; }); var S = h.to_assignments(e), D = c.parent(); if (D instanceof qt && D.init === h) { if (S == null) { var E = h.definitions[0].name; return k(ue, E, E); } return S; } return D instanceof Dt && D.init === h ? S : S ? k(me, h, { body: S }) : k(it, h); } if (h instanceof De) return h; } }, "before") ); if (t = t.transform(c), u > 0) { var f = []; let p = t instanceof ge, h = p ? t.args_as_names() : null; if (o.forEach((S, D) => { p && h.some((E) => E.name === S.name.name) ? o.delete(D) : (S = S.clone(), S.value = null, f.push(S), o.set(D, S)); }), f.length > 0) { for (var d = 0; d < t.body.length; ) { if (t.body[d] instanceof me) { var g = t.body[d].body, b, _; if (g instanceof Ie && g.operator == "=" && (b = g.left) instanceof He && o.has(b.name)) { var T = o.get(b.name); if (T.value) break; T.value = g.right, vo(f, T), f.push(T), t.body.splice(d, 1); continue; } if (g instanceof Ee && (_ = g.expressions[0]) instanceof Ie && _.operator == "=" && (b = _.left) instanceof He && o.has(b.name)) { var T = o.get(b.name); if (T.value) break; T.value = _.right, vo(f, T), f.push(T), t.body[d].body = Ue(g, g.expressions.slice(1)); continue; } } if (t.body[d] instanceof it) { t.body.splice(d, 1); continue; } if (t.body[d] instanceof Le) { t.body.splice(d, 1, ...t.body[d].body); continue; } break; } f = k(Ft, t, { definitions: f }), s.push(f); } } t.body = i.concat(s, t.body); } return t; }); De.DEFMETHOD("hoist_properties", function(e) { var t = this; if (!e.option("hoist_props") || e.has_directive("use asm")) return t; var r = t instanceof lt && e.top_retain || Qe, n = /* @__PURE__ */ new Map(), i = new Wr(function(s, o) { if (s instanceof Lt) { let u = s.name, l, c; if (u.scope === t && !(u instanceof la) && (l = u.definition()).escaped != 1 && !l.assignments && !l.direct_access && !l.single_use && !e.exposed(l) && !r(l) && (c = u.fixed_value()) === s.value && c instanceof Ge && !c.properties.some( (f) => f instanceof Ne || f.computed_key() )) { o(s, this); let f = /* @__PURE__ */ new Map(), d = []; return c.properties.forEach(({ key: g, value: b }) => { let _ = i.find_scope(), T = t.create_symbol(u.CTOR, { source: u, scope: _, conflict_scopes: /* @__PURE__ */ new Set([ _, ...u.definition().references.map((p) => p.scope) ]), tentative_name: u.name + "_" + g }); f.set(String(g), T.definition()), d.push(k(Lt, s, { name: T, value: b })); }), n.set(l.id, f), yt.splice(d); } } else if (s instanceof _e && s.expression instanceof ue) { let u = n.get(s.expression.definition().id); if (u) { let l = u.get(String(i2(s.property))), c = k(ue, s, { name: l.name, scope: s.expression.scope, thedef: l }); return c.reference({}), c; } } }); return t.transform(i); }); We(me, function(e, t) { if (t.option("side_effects")) { var r = e.body, n = r.drop_side_effect_free(t, !0); if (!n) return k(it, e); if (n !== r) return k(me, e, { body: n }); } return e; }); We(Yn, function(e, t) { return t.option("loops") ? k(Dt, e, e).optimize(t) : e; }); We(Un, function(e, t) { if (!t.option("loops")) return e; var r = e.condition.tail_node().evaluate(t); if (!(r instanceof ne)) { if (r) return k(Dt, e, { body: k(Le, e.body, { body: [ e.body, k(me, e.condition, { body: e.condition }) ] }) }).optimize(t); if (!Mp(e, t.parent())) return k(Le, e.body, { body: [ e.body, k(me, e.condition, { body: e.condition }) ] }).optimize(t); } return e; }); a(C$, "if_break_in_loop"); We(Dt, function(e, t) { if (!t.option("loops")) return e; if (t.option("side_effects") && e.init && (e.init = e.init.drop_side_effect_free(t)), e.condition) { var r = e.condition.evaluate(t); if (!(r instanceof ne)) { if (r) e.condition = null; else if (!t.option("dead_code")) { var n = e.condition; e.condition = kn(r, e.condition), e.condition = fs(e.condition.transform(t), n); } } if (t.option("dead_code") && (r instanceof ne && (r = e.condition.tail_node().evaluate(t)), !r)) { var i = []; return Eu(t, e.body, i), e.init instanceof Xt ? i.push(e.init) : e.init && i.push(k(me, e.init, { body: e.init })), i.push(k(me, e.condition, { body: e.condition })), k(Le, e, { body: i }).optimize(t); } } return C$(e, t); }); We(at, function(e, t) { if (hs(e.alternative) && (e.alternative = null), !t.option("conditionals")) return e; var r = e.condition.evaluate(t); if (!t.option("dead_code") && !(r instanceof ne)) { var n = e.condition; e.condition = kn(r, n), e.condition = fs(e.condition.transform(t), n); } if (t.option("dead_code")) if (r instanceof ne && (r = e.condition.tail_node().evaluate(t)), r) { if (!(r instanceof ne)) { var i = []; return i.push(k(me, e.condition, { body: e.condition })), i.push(e.body), e.alternative && Eu(t, e.alternative, i), k(Le, e, { body: i }).optimize(t); } } else { var i = []; return Eu(t, e.body, i), i.push(k(me, e.condition, { body: e.condition })), e.alternative && i.push(e.alternative), k(Le, e, { body: i }).optimize(t); } var s = e.condition.negate(t), o = e.condition.size(), u = s.size(), l = u < o; if (e.alternative && l) { l = !1, e.condition = s; var c = e.body; e.body = e.alternative || k(it, e), e.alternative = c; } if (hs(e.body) && hs(e.alternative)) return k(me, e.condition, { body: e.condition.clone() }).optimize(t); if (e.body instanceof me && e.alternative instanceof me) return k(me, e, { body: k(Te, e, { condition: e.condition, consequent: e.body.body, alternative: e.alternative.body }) }).optimize(t); if (hs(e.alternative) && e.body instanceof me) return o === u && !l && e.condition instanceof K && e.condition.operator == "||" && (l = !0), l ? k(me, e, { body: k(K, e, { operator: "||", left: s, right: e.body.body }) }).optimize(t) : k(me, e, { body: k(K, e, { operator: "&&", left: e.condition, right: e.body.body }) }).optimize(t); if (e.body instanceof it && e.alternative instanceof me) return k(me, e, { body: k(K, e, { operator: "||", left: e.condition, right: e.alternative.body }) }).optimize(t); if (e.body instanceof En && e.alternative instanceof En && e.body.TYPE == e.alternative.TYPE) return k(e.body.CTOR, e, { value: k(Te, e, { condition: e.condition, consequent: e.body.value || k(xt, e.body), alternative: e.alternative.value || k(xt, e.alternative) }).transform(t) }).optimize(t); if (e.body instanceof at && !e.body.alternative && !e.alternative && (e = k(at, e, { condition: k(K, e.condition, { operator: "&&", left: e.condition, right: e.body.condition }), body: e.body.body, alternative: null })), Di(e.body) && e.alternative) { var f = e.alternative; return e.alternative = null, k(Le, e, { body: [e, f] }).optimize(t); } if (Di(e.alternative)) { var i = e.body; return e.body = e.alternative, e.condition = l ? s : e.condition.negate(t), e.alternative = null, k(Le, e, { body: [e, i] }).optimize(t); } return e; }); We(Zt, function(e, t) { if (!t.option("switches")) return e; var r, n = e.expression.evaluate(t); if (!(n instanceof ne)) { var i = e.expression; e.expression = kn(n, i), e.expression = fs(e.expression.transform(t), i); } if (!t.option("dead_code")) return e; n instanceof ne && (n = e.expression.tail_node().evaluate(t)); for (var s = [], o = [], u, l, c = 0, f = e.body.length; c < f && !l; c++) { if (r = e.body[c], r instanceof Ki) u ? _(r, o[o.length - 1]) : u = r; else if (!(n instanceof ne)) { var d = r.expression.evaluate(t); if (!(d instanceof ne) && d !== n) { _(r, o[o.length - 1]); continue; } if (d instanceof ne && !d.has_side_effects(t) && (d = r.expression.tail_node().evaluate(t)), d === n && (l = r, u)) { var g = o.indexOf(u); o.splice(g, 1), _(u, o[g - 1]), u = null; } } o.push(r); } for (; c < f; ) _(e.body[c++], o[o.length - 1]); e.body = o; let b = u || l; if (u = null, l = null, o.every((E, C) => (E === b || E.expression instanceof Xe) && (E.body.length === 0 || Di(E) || o.length - 1 === C))) for (let E = 0; E < o.length; E++) { let C = o[E]; for (let m = E + 1; m < o.length; m++) { let v = o[m]; if (v.body.length === 0) continue; let A = m === o.length - 1, w = T(v, C, !1); if (w || A && T(v, C, !0)) { !w && A && v.body.push(k(xn)); let F = m - 1, x = 0; for (; F > E && D(o[F--]); ) x++; let I = o.splice(m - x, 1 + x); o.splice(E + 1, 0, ...I), E += I.length; } } } for (let E = 0; E < o.length; E++) { let C = o[E]; if (C.body.length !== 0 && Di(C)) for (let m = E + 1; m < o.length; E++, m++) { let v = o[m]; if (v.body.length !== 0) { if (T(v, C, !1) || m === o.length - 1 && T(v, C, !0)) { C.body = [], C = v; continue; } break; } } } { let E = o.length - 1; for (; E >= 0; E--) { let C = o[E].body; if (S(C[C.length - 1], t) && C.pop(), !D(o[E])) break; } if (E++, !b || o.indexOf(b) >= E) for (let C = o.length - 1; C >= E; C--) { let m = o[C]; if (m === b) b = null, o.pop(); else if (!m.expression.has_side_effects(t)) o.pop(); else break; } } e: if (b) { let E = o.indexOf(b), C = E; for (; C < o.length - 1 && D(o[C]); C++) ; if (C < o.length - 1) break e; let m = o.length - 1; for (; m >= 0; m--) { let v = o[m]; if (v !== b && v.expression.has_side_effects(t)) break; } if (C > m) { let v = E - 1; for (; v >= 0 && D(o[v]); v--) ; let A = Math.max(m, v) + 1, w = E; m > E ? (w = m, o[m].body = o[C].body) : b.body = o[C].body, o.splice(w + 1, C - w), o.splice(A, E - A); } } e: if (b) { let E = o.findIndex((A) => !D(A)), C; if (E === o.length - 1) { let A = o[E]; if (h(e)) break e; C = k(Le, A, { body: A.body }), A.body = []; } else if (E !== -1) break e; if (!o.find( (A) => A !== b && A.expression.has_side_effects(t) )) return k(Le, e, { body: s.concat( p(e.expression), b.expression ? p(b.expression) : [], C || [] ) }).optimize(t); let v = o.indexOf(b); if (o.splice(v, 1), b = null, C) return k(Le, e, { body: s.concat(e, C) }).optimize(t); } if (o.length > 0 && (o[0].body = s.concat(o[0].body)), o.length == 0) return k(Le, e, { body: s.concat(p(e.expression)) }).optimize(t); if (o.length == 1 && !h(e)) { let E = o[0]; return k(at, e, { condition: k(K, e, { operator: "===", left: e.expression, right: E.expression }), body: k(Le, E, { body: E.body }), alternative: null }).optimize(t); } if (o.length === 2 && b && !h(e)) { let E = o[0] === b ? o[1] : o[0], C = b.expression && p(b.expression); if (Di(o[0])) { let w = o[0]; return S(w.body[w.body.length - 1], t) && w.body.pop(), k(at, e, { condition: k(K, e, { operator: "===", left: e.expression, right: E.expression }), body: k(Le, E, { body: E.body }), alternative: k(Le, b, { body: [].concat( C || [], b.body ) }) }).optimize(t); } let m = "===", v = k(Le, E, { body: E.body }), A = k(Le, b, { body: [].concat( C || [], b.body ) }); if (o[0] === b) { m = "!=="; let w = A; A = v, v = w; } return k(Le, e, { body: [ k(at, e, { condition: k(K, e, { operator: m, left: e.expression, right: E.expression }), body: v, alternative: null }), A ] }).optimize(t); } return e; function _(E, C) { C && !Di(C) ? C.body = C.body.concat(E.body) : Eu(t, E, s); } function T(E, C, m) { let v = E.body, A = C.body; if (m && (v = v.concat(k(xn))), v.length !== A.length) return !1; let w = k(Le, E, { body: v }), F = k(Le, C, { body: A }); return w.equivalent_to(F); } function p(E) { return k(me, E, { body: E }); } function h(E) { let C = !1, m = new $t((v) => { if (C || v instanceof ge || v instanceof me) return !0; if (!S(v, m)) return; let A = m.parent(); A instanceof Ai && A.body[A.body.length - 1] === v || (C = !0); }); return E.walk(m), C; } function S(E, C) { return E instanceof xn && C.loopcontrol_target(E) === e; } function D(E) { return !Di(E) && !k(Le, E, { body: E.body }).has_side_effects(t); } }); We(Ar, function(e, t) { if (e.bcatch && e.bfinally && e.bfinally.body.every(hs) && (e.bfinally = null), t.option("dead_code") && e.body.body.every(hs)) { var r = []; return e.bcatch && Eu(t, e.bcatch, r), e.bfinally && r.push(...e.bfinally.body), k(Le, e, { body: r }).optimize(t); } return e; }); Lr.DEFMETHOD("to_assignments", function(e) { var t = e.option("reduce_vars"), r = []; for (let i of this.definitions) { if (i.value) { var n = k(ue, i.name, i.name); r.push(k(Ie, i, { operator: "=", logical: !1, left: n, right: i.value })), t && (n.definition().fixed = !1); } let s = i.name.definition(); s.eliminated++, s.replaced--; } return r.length == 0 ? null : Ue(this, r); }); We(Lr, function(e) { return e.definitions.length == 0 ? k(it, e) : e; }); We(Lt, function(e, t) { return e.name instanceof os && e.value != null && Ra(e.value, t) && (e.value = null), e; }); We(Tr, function(e) { return e; }); We(pe, function(e, t) { var r = e.expression, n = r; O$(e.args); var i = e.args.every((I) => !(I instanceof Ne)); t.option("reduce_vars") && n instanceof ue && (n = n.fixed_value()); var s = n instanceof ge; if (s && n.pinned()) return e; if (t.option("unused") && i && s && !n.uses_arguments) { for (var o = 0, u = 0, l = 0, c = e.args.length; l < c; l++) { if (n.argnames[l] instanceof Ne) { if (xr(n.argnames[l].expression, 1)) for (; l < c; ) { var f = e.args[l++].drop_side_effect_free(t); f && (e.args[o++] = f); } else for (; l < c; ) e.args[o++] = e.args[l++]; u = o; break; } var d = l >= n.argnames.length; if (d || xr(n.argnames[l], 1)) { var f = e.args[l].drop_side_effect_free(t); if (f) e.args[o++] = f; else if (!d) { e.args[o++] = k(Ae, e.args[l], { value: 0 }); continue; } } else e.args[o++] = e.args[l]; u = o; } e.args.length = u; } if (r instanceof nt && r.expression instanceof ue && r.expression.name === "console" && r.expression.definition().undeclared && r.property === "assert") { let I = e.args[0]; if (I) { let N = I.evaluate(t); if (N === 1 || N === !0) return k(xt, e); } } if (t.option("unsafe") && !r.contains_optional()) { if (r instanceof nt && r.start.value === "Array" && r.property === "from" && e.args.length === 1) { let [I] = e.args; if (I instanceof Me) return k(Me, I, { elements: I.elements }).optimize(t); } if (da(r)) switch (r.name) { case "Array": if (e.args.length != 1) return k(Me, e, { elements: e.args }).optimize(t); if (e.args[0] instanceof Ae && e.args[0].value <= 11) { let I = []; for (let N = 0; N < e.args[0].value; N++) I.push(new bn()); return new Me({ elements: I }); } break; case "Object": if (e.args.length == 0) return k(Ge, e, { properties: [] }); break; case "String": if (e.args.length == 0) return k(Ve, e, { value: "" }); if (e.args.length <= 1) return k(K, e, { left: e.args[0], operator: "+", right: k(Ve, e, { value: "" }) }).optimize(t); break; case "Number": if (e.args.length == 0) return k(Ae, e, { value: 0 }); if (e.args.length == 1 && t.option("unsafe_math")) return k(Se, e, { expression: e.args[0], operator: "+" }).optimize(t); break; case "Symbol": e.args.length == 1 && e.args[0] instanceof Ve && t.option("unsafe_symbols") && (e.args.length = 0); break; case "Boolean": if (e.args.length == 0) return k(Ei, e); if (e.args.length == 1) return k(Se, e, { expression: k(Se, e, { expression: e.args[0], operator: "!" }), operator: "!" }).optimize(t); break; case "RegExp": var g = []; if (e.args.length >= 1 && e.args.length <= 2 && e.args.every((I) => { var N = I.evaluate(t); return g.push(N), I !== N; }) && Dv(g[0])) { let [I, N] = g; I = lu(new RegExp(I).source); let H = k(or, e, { value: { source: I, flags: N } }); if (H._eval(t) !== H) return H; } break; } else if (r instanceof nt) switch (r.property) { case "toString": if (e.args.length == 0 && !r.expression.may_throw_on_access(t)) return k(K, e, { left: k(Ve, e, { value: "" }), operator: "+", right: r.expression }).optimize(t); break; case "join": if (r.expression instanceof Me) e: { var b; if (e.args.length > 0 && (b = e.args[0].evaluate(t), b === e.args[0])) break e; for (var _ = [], T = [], l = 0, c = r.expression.elements.length; l < c; l++) { var p = r.expression.elements[l]; if (p instanceof Ne) break e; var h = p.evaluate(t); h !== p ? T.push(h) : (T.length > 0 && (_.push(k(Ve, e, { value: T.join(b) })), T.length = 0), _.push(p)); } if (T.length > 0 && _.push(k(Ve, e, { value: T.join(b) })), _.length == 0) return k(Ve, e, { value: "" }); if (_.length == 1) return _[0].is_string(t) ? _[0] : k(K, _[0], { operator: "+", left: k(Ve, e, { value: "" }), right: _[0] }); if (b == "") { var S; return _[0].is_string(t) || _[1].is_string(t) ? S = _.shift() : S = k(Ve, e, { value: "" }), _.reduce(function(N, H) { return k(K, H, { operator: "+", left: N, right: H }); }, S).optimize(t); } var f = e.clone(); return f.expression = f.expression.clone(), f.expression.expression = f.expression.expression.clone(), f.expression.expression.elements = _, di(t, e, f); } break; case "charAt": if (r.expression.is_string(t)) { var D = e.args[0], E = D ? D.evaluate(t) : 0; if (E !== D) return k(Tt, r, { expression: r.expression, property: kn(E | 0, D || r) }).optimize(t); } break; case "apply": if (e.args.length == 2 && e.args[1] instanceof Me) { var C = e.args[1].elements.slice(); return C.unshift(e.args[0]), k(pe, e, { expression: k(nt, r, { expression: r.expression, optional: !1, property: "call" }), args: C }).optimize(t); } break; case "call": var m = r.expression; if (m instanceof ue && (m = m.fixed_value()), m instanceof ge && !m.contains_this()) return (e.args.length ? Ue(this, [ e.args[0], k(pe, e, { expression: r.expression, args: e.args.slice(1) }) ]) : k(pe, e, { expression: r.expression, args: [] })).optimize(t); break; } } if (t.option("unsafe_Function") && da(r) && r.name == "Function") { if (e.args.length == 0) return Uv(e).optimize(t); if (e.args.every((I) => I instanceof Ve)) try { var x = "n(function(" + e.args.slice(0, -1).map(function(I) { return I.value; }).join(",") + "){" + e.args[e.args.length - 1].value + "})", v = Vs(x), A = t.mangle_options(); v.figure_out_scope(A); var w = new Gp(t.options, { mangle_options: t._mangle_options }); v = v.transform(w), v.figure_out_scope(A), v.compute_char_frequency(A), v.mangle_names(A); var F; Rt(v, (I) => { if (vu(I)) return F = I, cn; }); var x = El(); return Le.prototype._codegen.call(F, F, x), e.args = [ k(Ve, e, { value: F.argnames.map(function(I) { return I.print_to_string(); }).join(",") }), k(Ve, e.args[e.args.length - 1], { value: x.get().replace(/^{|}$/g, "") }) ], e; } catch (I) { if (!(I instanceof Fp)) throw I; } } return E$(e, t); }); ne.DEFMETHOD("contains_optional", function() { return this instanceof _e || this instanceof pe || this instanceof dt ? this.optional ? !0 : this.expression.contains_optional() : !1; }); We(Dr, function(e, t) { return t.option("unsafe") && da(e.expression) && ["Object", "RegExp", "Function", "Error", "Array"].includes(e.expression.name) ? k(pe, e, e).transform(t) : e; }); We(Ee, function(e, t) { if (!t.option("side_effects")) return e; var r = []; i(); var n = r.length - 1; if (s(), n == 0) return e = zs(t.parent(), t.self(), r[0]), e instanceof Ee || (e = e.optimize(t)), e; return e.expressions = r, e; function i() { var o = pi(t), u = e.expressions.length - 1; e.expressions.forEach(function(l, c) { c < u && (l = l.drop_side_effect_free(t, o)), l && (Bp(r, l), o = !1); }); } a(i, "filter_for_side_effects"); function s() { for (; n > 0 && Ra(r[n], t); ) n--; n < r.length - 1 && (r[n] = k(Se, e, { operator: "void", expression: r[n] }), r.length = n + 1); } a(s, "trim_right_for_undefined"); }); st.DEFMETHOD("lift_sequences", function(e) { if (e.option("sequences") && this.expression instanceof Ee) { var t = this.expression.expressions.slice(), r = this.clone(); return r.expression = t.pop(), t.push(r), Ue(this, t).optimize(e); } return this; }); We(hi, function(e, t) { return e.lift_sequences(t); }); We(Se, function(e, t) { var r = e.expression; if (e.operator == "delete" && !(r instanceof ue || r instanceof _e || r instanceof dt || Hv(r))) return Ue(e, [r, k(Sn, e)]).optimize(t); var n = e.lift_sequences(t); if (n !== e) return n; if (t.option("side_effects") && e.operator == "void") return r = r.drop_side_effect_free(t), r ? (e.expression = r, e) : k(xt, e).optimize(t); if (t.in_boolean_context()) switch (e.operator) { case "!": if (r instanceof Se && r.operator == "!") return r.expression; r instanceof K && (e = di(t, e, r.negate(t, pi(t)))); break; case "typeof": return (r instanceof ue ? k(Sn, e) : Ue(e, [ r, k(Sn, e) ])).optimize(t); } if (e.operator == "-" && r instanceof cs && (r = r.transform(t)), r instanceof K && (e.operator == "+" || e.operator == "-") && (r.operator == "*" || r.operator == "/" || r.operator == "%")) return k(K, e, { operator: r.operator, left: k(Se, r.left, { operator: e.operator, expression: r.left }), right: r.right }); if (t.option("evaluate")) { if (e.operator === "~" && e.expression instanceof Se && e.expression.operator === "~" && (t.in_32_bit_context(!1) || e.expression.expression. is_32_bit_integer(t))) return e.expression.expression; if (e.operator === "~" && r instanceof K && r.operator === "^") return r.left instanceof Se && r.left.operator === "~" ? r.left = r.left.bitwise_negate(t, !0) : r.right = r.right.bitwise_negate(t, !0), r; } if (e.operator != "-" || !(r instanceof Ae || r instanceof cs || r instanceof un)) { var i = e.evaluate(t); if (i !== e) return i = kn(i, e).optimize(t), di(t, i, e); } return e; }); K.DEFMETHOD("lift_sequences", function(e) { if (e.option("sequences")) { if (this.left instanceof Ee) { var t = this.left.expressions.slice(), r = this.clone(); return r.left = t.pop(), t.push(r), Ue(this, t).optimize(e); } if (this.right instanceof Ee && !this.left.has_side_effects(e)) { for (var n = this.operator == "=" && this.left instanceof ue, t = this.right.expressions, i = t.length - 1, s = 0; s < i && !(!n && t[s]. has_side_effects(e)); s++) ; if (s == i) { t = t.slice(); var r = this.clone(); return r.right = t.pop(), t.push(r), Ue(this, t).optimize(e); } else if (s > 0) { var r = this.clone(); return r.right = Ue(this.right, t.slice(s)), t = t.slice(0, s), t.push(r), Ue(this, t).optimize(e); } } } return this; }); BNe = Ze("== === != !== * & | ^"); a(MNe, "is_object"); We(K, function(e, t) { function r() { return e.left.is_constant() || e.right.is_constant() || !e.left.has_side_effects(t) && !e.right.has_side_effects(t); } a(r, "reversible"); function n(m) { if (r()) { m && (e.operator = m); var v = e.left; e.left = e.right, e.right = v; } } if (a(n, "reverse"), t.option("lhs_constants") && BNe.has(e.operator) && e.right.is_constant() && !e.left.is_constant() && (e.left instanceof K && bi[e.left.operator] >= bi[e.operator] || n()), e = e.lift_sequences(t), t.option("comparisons")) switch (e.operator) { case "===": case "!==": var i = !0; (e.left.is_string(t) && e.right.is_string(t) || e.left.is_number(t) && e.right.is_number(t) || e.left.is_bigint(t) && e.right.is_bigint( t) || e.left.is_boolean() && e.right.is_boolean() || e.left.equivalent_to(e.right)) && (e.operator = e.operator.substr(0, 2)); // XXX: intentionally falling down to the next case case "==": case "!=": if (!i && Ra(e.left, t)) e.left = k(ln, e.left); else if (!i && Ra(e.right, t)) e.right = k(ln, e.right); else if (t.option("typeofs") && e.left instanceof Ve && e.left.value == "undefined" && e.right instanceof Se && e.right.operator == "\ typeof") { var s = e.right.expression; (s instanceof ue ? s.is_declared(t) : !(s instanceof _e && t.option("ie8"))) && (e.right = s, e.left = k(xt, e.left).optimize(t), e. operator.length == 2 && (e.operator += "=")); } else if (t.option("typeofs") && e.left instanceof Se && e.left.operator == "typeof" && e.right instanceof Ve && e.right.value == "\ undefined") { var s = e.left.expression; (s instanceof ue ? s.is_declared(t) : !(s instanceof _e && t.option("ie8"))) && (e.left = s, e.right = k(xt, e.right).optimize(t), e.operator.length == 2 && (e.operator += "=")); } else { if (e.left instanceof ue && e.right instanceof ue && e.left.definition() === e.right.definition() && MNe(e.left.fixed_value())) return k(e.operator[0] == "=" ? Sn : Ei, e); if (e.left.is_32_bit_integer(t) && e.right.is_32_bit_integer(t)) { let m = /* @__PURE__ */ a((x) => k(Se, x, { operator: "!", expression: x }), "not"), v = /* @__PURE__ */ a((x, I) => I ? t.in_boolean_context() ? x : m(m(x)) : m(x), "booleanify"); if (e.left instanceof Ae && e.left.value === 0) return v(e.right, e.operator[0] === "!"); if (e.right instanceof Ae && e.right.value === 0) return v(e.left, e.operator[0] === "!"); let A, w, F; if ((A = e.left instanceof K ? e.left : e.right instanceof K ? e.right : null) && (F = A === e.left ? e.right : e.left) && A.operator === "&" && F instanceof Ae && F.is_32_bit_integer(t) && (w = A.left.equivalent_to(F) ? A.right : A.right.equivalent_to(F) ? A.left : null)) { let x = v(k(K, e, { operator: "&", left: F, right: k(Se, e, { operator: "~", expression: w }) }), e.operator[0] === "!"); return di(t, x, e); } } } break; case "&&": case "||": var o = e.left; if (o.operator == e.operator && (o = o.right), o instanceof K && o.operator == (e.operator == "&&" ? "!==" : "===") && e.right instanceof K && o.operator == e.right.operator && (Ra(o.left, t) && e.right.left instanceof ln || o.left instanceof ln && Ra(e.right.left, t)) && !o.right.has_side_effects(t) && o.right.equivalent_to(e.right.right)) { var u = k(K, e, { operator: o.operator.slice(0, -1), left: k(ln, e), right: o.right }); return o !== e.left && (u = k(K, e, { operator: e.operator, left: e.left.left, right: u })), u; } break; } if (e.operator == "+" && t.in_boolean_context()) { var l = e.left.evaluate(t), c = e.right.evaluate(t); if (l && typeof l == "string") return Ue(e, [ e.right, k(Sn, e) ]).optimize(t); if (c && typeof c == "string") return Ue(e, [ e.left, k(Sn, e) ]).optimize(t); } if (t.option("comparisons") && e.is_boolean()) { if (!(t.parent() instanceof K) || t.parent() instanceof Ie) { var f = k(Se, e, { operator: "!", expression: e.negate(t, pi(t)) }); e = di(t, e, f); } if (t.option("unsafe_comps")) switch (e.operator) { case "<": n(">"); break; case "<=": n(">="); break; } } if (e.operator == "+") { if (e.right instanceof Ve && e.right.getValue() == "" && e.left.is_string(t)) return e.left; if (e.left instanceof Ve && e.left.getValue() == "" && e.right.is_string(t)) return e.right; if (e.left instanceof K && e.left.operator == "+" && e.left.left instanceof Ve && e.left.left.getValue() == "" && e.right.is_string(t)) return e.left = e.left.right, e; } if (t.option("evaluate")) { switch (e.operator) { case "&&": var l = xr(e.left, 2) ? !0 : xr(e.left, 4) ? !1 : e.left.evaluate(t); if (l) { if (!(l instanceof ne)) return Ue(e, [e.left, e.right]).optimize(t); } else return zs(t.parent(), t.self(), e.left).optimize(t); var c = e.right.evaluate(t); if (c) { if (!(c instanceof ne)) { var d = t.parent(); if (d.operator == "&&" && d.left === t.self() || t.in_boolean_context()) return e.left.optimize(t); } } else { if (t.in_boolean_context()) return Ue(e, [ e.left, k(Ei, e) ]).optimize(t); Rn(e, 4); } if (e.left.operator == "||") { var g = e.left.right.evaluate(t); if (!g) return k(Te, e, { condition: e.left.left, consequent: e.right, alternative: e.left.right }).optimize(t); } break; case "||": var l = xr(e.left, 2) ? !0 : xr(e.left, 4) ? !1 : e.left.evaluate(t); if (l) { if (!(l instanceof ne)) return zs(t.parent(), t.self(), e.left).optimize(t); } else return Ue(e, [e.left, e.right]).optimize(t); var c = e.right.evaluate(t); if (c) { if (!(c instanceof ne)) { if (t.in_boolean_context()) return Ue(e, [ e.left, k(Sn, e) ]).optimize(t); Rn(e, 2); } } else { var d = t.parent(); if (d.operator == "||" && d.left === t.self() || t.in_boolean_context()) return e.left.optimize(t); } if (e.left.operator == "&&") { var g = e.left.right.evaluate(t); if (g && !(g instanceof ne)) return k(Te, e, { condition: e.left.left, consequent: e.left.right, alternative: e.right }).optimize(t); } break; case "??": if (Oa(e.left, t)) return e.right; var l = e.left.evaluate(t); if (!(l instanceof ne)) return l == null ? e.right : e.left; if (t.in_boolean_context()) { let A = e.right.evaluate(t); if (!(A instanceof ne) && !A) return e.left; } } var b = !0; switch (e.operator) { case "+": if (e.right instanceof Xe && e.left instanceof K && e.left.operator == "+" && e.left.is_string(t)) { var _ = k(K, e, { operator: "+", left: e.left.right, right: e.right }), T = _.optimize(t); _ !== T && (e = k(K, e, { operator: "+", left: e.left.left, right: T })); } if (e.left instanceof K && e.left.operator == "+" && e.left.is_string(t) && e.right instanceof K && e.right.operator == "+" && e.right. is_string(t)) { var _ = k(K, e, { operator: "+", left: e.left.right, right: e.right.left }), p = _.optimize(t); _ !== p && (e = k(K, e, { operator: "+", left: k(K, e.left, { operator: "+", left: e.left.left, right: p }), right: e.right.right })); } if (e.right instanceof Se && e.right.operator == "-" && e.left.is_number_or_bigint(t)) { e = k(K, e, { operator: "-", left: e.left, right: e.right.expression }); break; } if (e.left instanceof Se && e.left.operator == "-" && r() && e.right.is_number_or_bigint(t)) { e = k(K, e, { operator: "-", left: e.right, right: e.left.expression }); break; } if (e.left instanceof Qt) { var h = e.left, T = e.right.evaluate(t); if (T != e.right) return h.segments[h.segments.length - 1].value += String(T), h; } if (e.right instanceof Qt) { var T = e.right, h = e.left.evaluate(t); if (h != e.left) return T.segments[0].value = String(h) + T.segments[0].value, T; } if (e.left instanceof Qt && e.right instanceof Qt) { var h = e.left, S = h.segments, T = e.right; S[S.length - 1].value += T.segments[0].value; for (var D = 1; D < T.segments.length; D++) S.push(T.segments[D]); return h; } case "*": b = t.option("unsafe_math"); case "&": case "|": case "^": if (e.left.is_number_or_bigint(t) && e.right.is_number_or_bigint(t) && r() && !(e.left instanceof K && e.left.operator != e.operator && bi[e.left.operator] >= bi[e.operator])) { var E = k(K, e, { operator: e.operator, left: e.right, right: e.left }); e.right instanceof Xe && !(e.left instanceof Xe) ? e = di(t, E, e) : e = di(t, e, E); } b && e.is_number_or_bigint(t) && (e.right instanceof K && e.right.operator == e.operator && (e = k(K, e, { operator: e.operator, left: k(K, e.left, { operator: e.operator, left: e.left, right: e.right.left, start: e.left.start, end: e.right.left.end }), right: e.right.right })), e.right instanceof Xe && e.left instanceof K && e.left.operator == e.operator && (e.left.left instanceof Xe ? e = k(K, e, { operator: e.operator, left: k(K, e.left, { operator: e.operator, left: e.left.left, right: e.right, start: e.left.left.start, end: e.right.end }), right: e.left.right }) : e.left.right instanceof Xe && (e = k(K, e, { operator: e.operator, left: k(K, e.left, { operator: e.operator, left: e.left.right, right: e.right, start: e.left.right.start, end: e.right.end }), right: e.left.left }))), e.left instanceof K && e.left.operator == e.operator && e.left.right instanceof Xe && e.right instanceof K && e.right.operator == e.operator && e.right.left instanceof Xe && (e = k(K, e, { operator: e.operator, left: k(K, e.left, { operator: e.operator, left: k(K, e.left.left, { operator: e.operator, left: e.left.right, right: e.right.left, start: e.left.right.start, end: e.right.left.end }), right: e.left.left }), right: e.right.right }))); } if (Wv.has(e.operator)) { let m, v, A, w, F = e.left; if (e.operator === "&" && e.right instanceof K && e.right.operator === "|" && typeof (v = e.left.evaluate(t)) == "number" && (typeof (m = e.right.right.evaluate(t)) == "number" ? (A = e.right.left, w = e.right.right) : typeof (m = e.right.left.evaluate(t)) == "number" && (A = e.right.right, w = e.right.left), A && w)) if ((m & v) === 0) e = k(K, e, { operator: e.operator, left: F, right: A }); else { let M = k(K, e, { operator: "|", left: k(K, e, { operator: "&", left: A, right: F }), right: kn(m & v, w) }); e = di(t, e, M); } (e.operator === "|" || e.operator === "&") && e.left.equivalent_to(e.right) && !e.left.has_side_effects(t) && t.in_32_bit_context(!0) && (e.left = k(Ae, e, { value: 0 }), e.operator = "|"), e.operator === "^" && e.left instanceof Se && e.left.operator === "~" && e.right instanceof Se && e.right.operator === "~" && (e = k(K, e, { operator: "^", left: e.left.expression, right: e.right.expression })), (e.operator === "<<" || e.operator === ">>") && e.right instanceof Ae && e.right.value === 0 && (e.operator = "|"); let x = e.right instanceof Ae && e.right.value === 0 ? e.right : e.left instanceof Ae && e.left.value === 0 ? e.left : null, I = x && (x === e.right ? e.left : e.right); if (x && (e.operator === "|" || e.operator === "^") && (I.is_32_bit_integer(t) || t.in_32_bit_context(!0))) return I; if (x && e.operator === "&" && !I.has_side_effects(t) && I.is_32_bit_integer(t)) return x; let N = /* @__PURE__ */ a((M) => M instanceof Ae && M.value === -1 || M instanceof Se && M.operator === "-" && M.expression instanceof Ae && M.expression.value === 1, "is_full_mask"), H = N(e.right) ? e.right : N(e.left) ? e.left : null, U = H === e.right ? e.left : e. right; if (H && e.operator === "&" && (U.is_32_bit_integer(t) || t.in_32_bit_context(!0))) return U; if (H && e.operator === "^" && (U.is_32_bit_integer(t) || t.in_32_bit_context(!0))) return U.bitwise_negate(t); } } if (e.right instanceof K && e.right.operator == e.operator && (ps.has(e.operator) || e.operator == "+" && (e.right.left.is_string(t) || e. left.is_string(t) && e.right.right.is_string(t)))) return e.left = k(K, e.left, { operator: e.operator, left: e.left.transform(t), right: e.right.left.transform(t) }), e.right = e.right.right.transform(t), e.transform(t); var C = e.evaluate(t); return C !== e ? (C = kn(C, e).optimize(t), di(t, C, e)) : e; }); We(is, function(e) { return e; }); We(ue, function(e, t) { if (!t.option("ie8") && da(e) && !t.find_parent(Er)) switch (e.name) { case "undefined": return k(xt, e).optimize(t); case "NaN": return k(gu, e).optimize(t); case "Infinity": return k(cs, e).optimize(t); } return t.option("reduce_vars") && !t.is_lhs() ? S$(e, t) : e; }); a(Yv, "is_atomic"); We(xt, function(e, t) { if (t.option("unsafe_undefined")) { var r = y2(t, "undefined"); if (r) { var n = k(ue, e, { name: "undefined", scope: r.scope, thedef: r }); return Rn(n, 8), n; } } var i = t.is_lhs(); return i && Yv(i, e) ? e : k(Se, e, { operator: "void", expression: k(Ae, e, { value: 0 }) }); }); We(cs, function(e, t) { var r = t.is_lhs(); return r && Yv(r, e) || t.option("keep_infinity") && !(r && !Yv(r, e)) && !y2(t, "Infinity") ? e : k(K, e, { operator: "/", left: k(Ae, e, { value: 1 }), right: k(Ae, e, { value: 0 }) }); }); We(gu, function(e, t) { var r = t.is_lhs(); return r && !Yv(r, e) || y2(t, "NaN") ? k(K, e, { operator: "/", left: k(Ae, e, { value: 0 }), right: k(Ae, e, { value: 0 }) }) : e; }); qNe = Ze("+ - / * % >> << >>> | ^ &"), UNe = Ze("* | ^ &"); We(Ie, function(e, t) { if (e.logical) return e.lift_sequences(t); var r; if (e.operator === "=" && e.left instanceof ue && e.left.name !== "arguments" && !(r = e.left.definition()).undeclared && e.right.equivalent_to( e.left)) return e.right; if (t.option("dead_code") && e.left instanceof ue && (r = e.left.definition()).scope === t.find_parent(ge)) { var n = 0, i, s = e; do if (i = s, s = t.parent(n++), s instanceof En) { if (o(n, s) || jv(r.scope, [r])) break; return e.operator == "=" ? e.right : (r.fixed = !1, k(K, e, { operator: e.operator.slice(0, -1), left: e.left, right: e.right }).optimize(t)); } while (s instanceof K && s.right === i || s instanceof Ee && s.tail_node() === i); } return e = e.lift_sequences(t), e.operator == "=" && e.left instanceof ue && e.right instanceof K && (e.right.left instanceof ue && e.right. left.name == e.left.name && qNe.has(e.right.operator) ? (e.operator = e.right.operator + "=", e.right = e.right.right) : e.right.right instanceof ue && e.right.right.name == e.left.name && UNe.has(e.right.operator) && !e.right.left.has_side_effects(t) && (e.operator = e.right.operator + "=", e.right = e.right.left)), e; function o(u, l) { function c() { let g = e.right; e.right = k(ln, g); let b = l.may_throw(t); return e.right = g, b; } a(c, "may_assignment_throw"); for (var f = e.left.definition().scope.get_defun_scope(), d; (d = t.parent(u++)) !== f; ) if (d instanceof Ar && (d.bfinally || d.bcatch && c())) return !0; } a(o, "in_try"); }); We(yr, function(e, t) { if (!t.option("evaluate")) return e; var r = e.right.evaluate(t); let n, i; return r === void 0 ? (!((n = t.parent()) instanceof ge) || t.option("keep_fargs") === !1 || (i = t.parent(1)).TYPE === "Call" && i.expression === n) && (e = e.left) : r !== e.right && (r = kn(r, e.right), e.right = fs(r, e.right)), e; }); a(VNe, "is_nullish_check"); We(Te, function(e, t) { if (!t.option("conditionals")) return e; if (e.condition instanceof Ee) { var r = e.condition.expressions.slice(); return e.condition = r.pop(), r.push(e), Ue(e, r); } var n = e.condition.evaluate(t); if (n !== e.condition) return n ? zs(t.parent(), t.self(), e.consequent) : zs(t.parent(), t.self(), e.alternative); var i = n.negate(t, pi(t)); di(t, n, i) === i && (e = k(Te, e, { condition: i, consequent: e.alternative, alternative: e.consequent })); var s = e.condition, o = e.consequent, u = e.alternative; if (s instanceof ue && o instanceof ue && s.definition() === o.definition()) return k(K, e, { operator: "||", left: s, right: u }); if (o instanceof Ie && u instanceof Ie && o.operator === u.operator && o.logical === u.logical && o.left.equivalent_to(u.left) && (!e.condition. has_side_effects(t) || o.operator == "=" && !o.left.has_side_effects(t))) return k(Ie, e, { operator: o.operator, left: o.left, logical: o.logical, right: k(Te, e, { condition: e.condition, consequent: o.right, alternative: u.right }) }); var l; if (o instanceof pe && u.TYPE === o.TYPE && o.args.length > 0 && o.args.length == u.args.length && o.expression.equivalent_to(u.expression) && !e.condition.has_side_effects(t) && !o.expression.has_side_effects(t) && typeof (l = _()) == "number") { var c = o.clone(); return c.args[l] = k(Te, e, { condition: e.condition, consequent: o.args[l], alternative: u.args[l] }), c; } if (u instanceof Te && o.equivalent_to(u.consequent)) return k(Te, e, { condition: k(K, e, { operator: "||", left: s, right: u.condition }), consequent: o, alternative: u.alternative }).optimize(t); if (t.option("ecma") >= 2020 && VNe(s, u, t)) return k(K, e, { operator: "??", left: u, right: o }).optimize(t); if (u instanceof Ee && o.equivalent_to(u.expressions[u.expressions.length - 1])) return Ue(e, [ k(K, e, { operator: "||", left: s, right: Ue(e, u.expressions.slice(0, -1)) }), o ]).optimize(t); if (u instanceof K && u.operator == "&&" && o.equivalent_to(u.right)) return k(K, e, { operator: "&&", left: k(K, e, { operator: "||", left: s, right: u.left }), right: o }).optimize(t); if (o instanceof Te && o.alternative.equivalent_to(u)) return k(Te, e, { condition: k(K, e, { left: e.condition, operator: "&&", right: o.condition }), consequent: o.consequent, alternative: u }); if (o.equivalent_to(u)) return Ue(e, [ e.condition, o ]).optimize(t); if (o instanceof K && o.operator == "||" && o.right.equivalent_to(u)) return k(K, e, { operator: "||", left: k(K, e, { operator: "&&", left: e.condition, right: o.left }), right: u }).optimize(t); let f = t.in_boolean_context(); if (g(e.consequent)) return b(e.alternative) ? d(e.condition) : k(K, e, { operator: "||", left: d(e.condition), right: e.alternative }); if (b(e.consequent)) return g(e.alternative) ? d(e.condition.negate(t)) : k(K, e, { operator: "&&", left: d(e.condition.negate(t)), right: e.alternative }); if (g(e.alternative)) return k(K, e, { operator: "||", left: d(e.condition.negate(t)), right: e.consequent }); if (b(e.alternative)) return k(K, e, { operator: "&&", left: d(e.condition), right: e.consequent }); return e; function d(T) { return T.is_boolean() ? T : k(Se, T, { operator: "!", expression: T.negate(t) }); } function g(T) { return T instanceof Sn || f && T instanceof Xe && T.getValue() || T instanceof Se && T.operator == "!" && T.expression instanceof Xe && !T.expression.getValue(); } function b(T) { return T instanceof Ei || f && T instanceof Xe && !T.getValue() || T instanceof Se && T.operator == "!" && T.expression instanceof Xe && T.expression.getValue(); } function _() { for (var T = o.args, p = u.args, h = 0, S = T.length; h < S; h++) { if (T[h] instanceof Ne) return; if (!T[h].equivalent_to(p[h])) { if (p[h] instanceof Ne) return; for (var D = h + 1; D < S; D++) if (T[D] instanceof Ne || !T[D].equivalent_to(p[D])) return; return h; } } } }); We(ff, function(e, t) { if (t.in_boolean_context()) return k(Ae, e, { value: +e.value }); var r = t.parent(); return t.option("booleans_as_integers") ? (r instanceof K && (r.operator == "===" || r.operator == "!==") && (r.operator = r.operator.replace( /=$/, "")), k(Ae, e, { value: +e.value })) : t.option("booleans") ? r instanceof K && (r.operator == "==" || r.operator == "!=") ? k(Ae, e, { value: +e.value }) : k(Se, e, { operator: "!", expression: k(Ae, e, { value: 1 - e.value }) }) : e; }); a(w$, "safe_to_flatten"); _e.DEFMETHOD("flatten_object", function(e, t) { if (t.option("properties") && e !== "__proto__" && !(this instanceof sn)) { var r = t.option("unsafe_arrows") && t.option("ecma") >= 2015, n = this.expression; if (n instanceof Ge) for (var i = n.properties, s = i.length; --s >= 0; ) { var o = i[s]; if ("" + (o instanceof sr ? o.key.name : o.key) == e) return !i.every( (l) => (l instanceof et || r && l instanceof sr && !l.value.is_generator) && !l.computed_key() ) || !w$(o.value, t) ? void 0 : k(Tt, this, { expression: k(Me, n, { elements: i.map(function(l) { var c = l.value; c instanceof li && (c = k(ot, c, c)); var f = l.key; return f instanceof ne && !(f instanceof Sr) ? Ue(l, [f, c]) : c; }) }), property: k(Ae, this, { value: s }) }); } } }); We(Tt, function(e, t) { var r = e.expression, n = e.property; if (t.option("properties")) { var i = n.evaluate(t); if (i !== n) { if (typeof i == "string") if (i == "undefined") i = void 0; else { var s = parseFloat(i); s.toString() == i && (i = s); } n = e.property = fs( n, kn(i, n).transform(t) ); var o = "" + i; if (gl(o) && o.length <= n.size() + 1) return k(nt, e, { expression: r, optional: e.optional, property: o, quote: n.quote }).optimize(t); } } var u; e: if (t.option("arguments") && r instanceof ue && r.name == "arguments" && r.definition().orig.length == 1 && (u = r.scope) instanceof ge && u.uses_arguments && !(u instanceof pt) && n instanceof Ae) { for (var l = n.getValue(), c = /* @__PURE__ */ new Set(), f = u.argnames, d = 0; d < f.length; d++) { if (!(f[d] instanceof Kt)) break e; var g = f[d].name; if (c.has(g)) break e; c.add(g); } var b = u.argnames[l]; if (b && t.has_directive("use strict")) { var _ = b.definition(); (!t.option("reduce_vars") || _.assignments || _.orig.length > 1) && (b = null); } else if (!b && !t.option("keep_fargs") && l < u.argnames.length + 5) for (; l >= u.argnames.length; ) b = u.create_symbol(Kt, { source: u, scope: u, tentative_name: "argument_" + u.argnames.length }), u.argnames.push(b); if (b) { var T = k(ue, e, b); return T.reference({}), Gs(b, 1), T; } } if (t.is_lhs()) return e; if (i !== n) { var p = e.flatten_object(o, t); p && (r = e.expression = p.expression, n = e.property = p.property); } if (t.option("properties") && t.option("side_effects") && n instanceof Ae && r instanceof Me) { var l = n.getValue(), h = r.elements, S = h[l]; e: if (w$(S, t)) { for (var D = !0, E = [], C = h.length; --C > l; ) { var s = h[C].drop_side_effect_free(t); s && (E.unshift(s), D && s.has_side_effects(t) && (D = !1)); } if (S instanceof Ne) break e; for (S = S instanceof bn ? k(xt, S) : S, D || E.unshift(S); --C >= 0; ) { var s = h[C]; if (s instanceof Ne) break e; s = s.drop_side_effect_free(t), s ? E.unshift(s) : l--; } return D ? (E.push(S), Ue(e, E).optimize(t)) : k(Tt, e, { expression: k(Me, r, { elements: E }), property: k(Ae, n, { value: l }) }); } } var m = e.evaluate(t); return m !== e ? (m = kn(m, e).optimize(t), di(t, m, e)) : e; }); We(dt, function(e, t) { if (Oa(e.expression, t)) { let r = t.parent(); return r instanceof Se && r.operator === "delete" ? kn(0, e) : k(xt, e); } return e.expression instanceof _e || e.expression instanceof pe ? e : e.expression; }); We(nt, function(e, t) { let r = t.parent(); if (t.is_lhs()) return e; if (t.option("unsafe_proto") && e.expression instanceof nt && e.expression.property == "prototype") { var n = e.expression.expression; if (da(n)) switch (n.name) { case "Array": e.expression = k(Me, e.expression, { elements: [] }); break; case "Function": e.expression = Uv(e.expression); break; case "Number": e.expression = k(Ae, e.expression, { value: 0 }); break; case "Object": e.expression = k(Ge, e.expression, { properties: [] }); break; case "RegExp": e.expression = k(or, e.expression, { value: { source: "t", flags: "" } }); break; case "String": e.expression = k(Ve, e.expression, { value: "" }); break; } } if (!(r instanceof pe) || !tn(r, ls)) { let s = e.flatten_object(e.property, t); if (s) return s.optimize(t); } if (e.expression instanceof _e && r instanceof _e) return e; let i = e.evaluate(t); return i !== e ? (i = kn(i, e).optimize(t), di(t, i, e)) : e; }); a(E2, "literals_in_boolean_context"); a(O$, "inline_array_like_spread"); We(Me, function(e, t) { var r = E2(e, t); return r !== e ? r : (O$(e.elements), e); }); a(HNe, "inline_object_prop_spread"); We(Ge, function(e, t) { var r = E2(e, t); return r !== e ? r : (HNe(e.properties), e); }); We(or, E2); We(At, function(e, t) { return e.value && Ra(e.value, t) && (e.value = null), e; }); We(pt, S2); We(ot, function(e, t) { return e = S2(e, t), t.option("unsafe_arrows") && t.option("ecma") >= 2015 && !e.name && !e.is_generator && !e.uses_arguments && !e.pinned() && !Rt(e, (n) => { if (n instanceof jt) return cn; }) ? k(pt, e, e).optimize(t) : e; }); We(qe, function(e) { for (let t = 0; t < e.properties.length; t++) { let r = e.properties[t]; r instanceof Jt && r.body.length == 0 && (e.properties.splice(t, 1), t--); } return e; }); We(Jt, function(e, t) { return jp(e.body, t), e; }); We(Mr, function(e, t) { return e.expression && !e.is_star && Ra(e.expression, t) && (e.expression = null), e; }); We(Qt, function(e, t) { if (!t.option("evaluate") || t.parent() instanceof Dn) return e; for (var r = [], n = 0; n < e.segments.length; n++) { var i = e.segments[n]; if (i instanceof ne) { var s = i.evaluate(t); if (s !== i && (s + "").length <= i.size() + 3) { r[r.length - 1].value = r[r.length - 1].value + s + e.segments[++n].value; continue; } if (i instanceof Qt) { var o = i.segments; r[r.length - 1].value += o[0].value; for (var u = 1; u < o.length; u++) i = o[u], r.push(i); continue; } } r.push(i); } if (e.segments = r, r.length == 1) return k(Ve, e, r[0]); if (r.length === 3 && r[1] instanceof ne && (r[1].is_string(t) || r[1].is_number_or_bigint(t) || Oa(r[1], t) || t.option("unsafe"))) { if (r[2].value === "") return k(K, e, { operator: "+", left: k(Ve, e, { value: r[0].value }), right: r[1] }); if (r[0].value === "") return k(K, e, { operator: "+", left: r[1], right: k(Ve, e, { value: r[2].value }) }); } return e; }); We(Dn, function(e) { return e; }); a(A2, "lift_key"); We(Ot, A2); We(sr, function(e, t) { if (A2(e, t), t.option("arrows") && t.parent() instanceof Ge && !e.value.is_generator && !e.value.uses_arguments && !e.value.pinned() && e.value.body.length == 1 && e.value.body[0] instanceof At && e.value.body[0].value && !e.value.contains_this()) { var r = k(pt, e.value, e.value); return r.async = e.value.async, r.is_generator = e.value.is_generator, k(et, e, { key: e.key instanceof Sr ? e.key.name : e.key, value: r, quote: e.quote }); } return e; }); We(et, function(e, t) { A2(e, t); var r = t.option("unsafe_methods"); if (r && t.option("ecma") >= 2015 && (!(r instanceof RegExp) || r.test(e.key + ""))) { var n = e.key, i = e.value, s = i instanceof pt && Array.isArray(i.body) && !i.contains_this(); if ((s || i instanceof ot) && !i.name) return k(sr, e, { key: n instanceof ne ? n : k(Sr, e, { name: n }), value: k(li, i, i), quote: e.quote }); } return e; }); We(Je, function(e, t) { if (t.option("pure_getters") == !0 && t.option("unused") && !e.is_array && Array.isArray(e.names) && !s(t) && !(e.names[e.names.length - 1] instanceof Ne)) { for (var r = [], n = 0; n < e.names.length; n++) { var i = e.names[n]; i instanceof et && typeof i.key == "string" && i.value instanceof Wt && !o(t, i.value.definition()) || r.push(i); } r.length != e.names.length && (e.names = r); } return e; function s(u) { for (var l = [/^VarDef$/, /^(Const|Let|Var)$/, /^Export$/], c = 0, f = 0, d = l.length; c < d; f++) { var g = u.parent(f); if (!g) return !1; if (!(c === 0 && g.TYPE == "Destructuring")) { if (!l[c].test(g.TYPE)) return !1; c++; } } return !0; } function o(u, l) { return l.references.length ? !0 : l.global ? u.toplevel.vars ? u.top_retain ? u.top_retain(l) : !1 : !0 : !1; } }); }); // ../node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js var k$ = y((T2, D2) => { (function(e, t) { typeof T2 == "object" && typeof D2 < "u" ? D2.exports = t() : typeof define == "function" && define.amd ? define(t) : (e = typeof globalThis < "u" ? globalThis : e || self, e.resolveURI = t()); })(T2, function() { "use strict"; let e = /^[\w+.-]+:\/\//, t = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/, r = /^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i; function n(p) { return e.test(p); } a(n, "isAbsoluteUrl"); function i(p) { return p.startsWith("//"); } a(i, "isSchemeRelativeUrl"); function s(p) { return p.startsWith("/"); } a(s, "isAbsolutePath"); function o(p) { return p.startsWith("file:"); } a(o, "isFileUrl"); function u(p) { return /^[.?#]/.test(p); } a(u, "isRelative"); function l(p) { let h = t.exec(p); return f(h[1], h[2] || "", h[3], h[4] || "", h[5] || "/", h[6] || "", h[7] || ""); } a(l, "parseAbsoluteUrl"); function c(p) { let h = r.exec(p), S = h[2]; return f("file:", "", h[1] || "", "", s(S) ? S : "/" + S, h[3] || "", h[4] || ""); } a(c, "parseFileUrl"); function f(p, h, S, D, E, C, m) { return { scheme: p, user: h, host: S, port: D, path: E, query: C, hash: m, type: 7 }; } a(f, "makeUrl"); function d(p) { if (i(p)) { let S = l("http:" + p); return S.scheme = "", S.type = 6, S; } if (s(p)) { let S = l("http://foo.com" + p); return S.scheme = "", S.host = "", S.type = 5, S; } if (o(p)) return c(p); if (n(p)) return l(p); let h = l("http://foo.com/" + p); return h.scheme = "", h.host = "", h.type = p ? p.startsWith("?") ? 3 : p.startsWith("#") ? 2 : 4 : 1, h; } a(d, "parseUrl"); function g(p) { if (p.endsWith("/..")) return p; let h = p.lastIndexOf("/"); return p.slice(0, h + 1); } a(g, "stripPathFilename"); function b(p, h) { _(h, h.type), p.path === "/" ? p.path = h.path : p.path = g(h.path) + p.path; } a(b, "mergePaths"); function _(p, h) { let S = h <= 4, D = p.path.split("/"), E = 1, C = 0, m = !1; for (let A = 1; A < D.length; A++) { let w = D[A]; if (!w) { m = !0; continue; } if (m = !1, w !== ".") { if (w === "..") { C ? (m = !0, C--, E--) : S && (D[E++] = w); continue; } D[E++] = w, C++; } } let v = ""; for (let A = 1; A < E; A++) v += "/" + D[A]; (!v || m && !v.endsWith("/..")) && (v += "/"), p.path = v; } a(_, "normalizePath"); function T(p, h) { if (!p && !h) return ""; let S = d(p), D = S.type; if (h && D !== 7) { let C = d(h), m = C.type; switch (D) { case 1: S.hash = C.hash; // fall through case 2: S.query = C.query; // fall through case 3: case 4: b(S, C); // fall through case 5: S.user = C.user, S.host = C.host, S.port = C.port; // fall through case 6: S.scheme = C.scheme; } m > D && (D = m); } _(S, D); let E = S.query + S.hash; switch (D) { // This is impossible, because of the empty checks at the start of the function. // case UrlType.Empty: case 2: case 3: return E; case 4: { let C = S.path.slice(1); return C ? u(h || p) && !u(C) ? "./" + C + E : C + E : E || "."; } case 5: return S.path + E; default: return S.scheme + "//" + S.user + S.host + S.port + S.path + E; } } return a(T, "resolve"), T; }); }); // ../node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs var $$ = {}; ki($$, { AnyMap: () => QNe, FlattenMap: () => QNe, GREATEST_LOWER_BOUND: () => Wp, LEAST_UPPER_BOUND: () => Kp, TraceMap: () => Ef, allGeneratedPositionsFor: () => nLe, decodedMap: () => oLe, decodedMappings: () => xo, eachMapping: () => iLe, encodedMap: () => uLe, encodedMappings: () => G$, generatedPositionFor: () => rLe, isIgnored: () => sLe, originalPositionFor: () => tLe, presortedDecodedMap: () => K$, sourceContentFor: () => aLe, traceSegment: () => eLe }); function jNe(e) { if (!e) return ""; let t = e.lastIndexOf("/"); return e.slice(0, t + 1); } function GNe(e, t) { let r = jNe(e), n = t ? t + "/" : ""; return (i) => (0, F$.default)(n + (i || ""), r); } function zNe(e, t) { let r = P$(e, 0); if (r === e.length) return e; t || (e = e.slice()); for (let n = r; n < e.length; n = P$(e, n + 1)) e[n] = WNe(e[n], t); return e; } function P$(e, t) { for (let r = t; r < e.length; r++) if (!KNe(e[r])) return r; return e.length; } function KNe(e) { for (let t = 1; t < e.length; t++) if (e[t][ms] < e[t - 1][ms]) return !1; return !0; } function WNe(e, t) { return t || (e = e.slice()), e.sort(B$); } function B$(e, t) { return e[ms] - t[ms]; } function $Ne(e, t) { let r = t.map(() => []); for (let n = 0; n < e.length; n++) { let i = e[n]; for (let s = 0; s < i.length; s++) { let o = i[s]; if (o.length === 1) continue; let u = o[C2], l = o[w2], c = o[O2], f = r[u]; (f[l] || (f[l] = [])).push([c, n, o[ms]]); } } for (let n = 0; n < r.length; n++) { let i = r[n]; for (let s = 0; s < i.length; s++) { let o = i[s]; o && o.sort(B$); } } return r; } function XNe(e, t, r, n) { for (; r <= n; ) { let i = r + (n - r >> 1), s = e[i][ms] - t; if (s === 0) return Rl = !0, i; s < 0 ? r = i + 1 : n = i - 1; } return Rl = !1, r - 1; } function M$(e, t, r) { for (let n = r + 1; n < e.length && e[n][ms] === t; r = n++) ; return r; } function q$(e, t, r) { for (let n = r - 1; n >= 0 && e[n][ms] === t; r = n--) ; return r; } function U$() { return { lastKey: -1, lastNeedle: -1, lastIndex: -1 }; } function YNe(e, t, r, n) { let { lastKey: i, lastNeedle: s, lastIndex: o } = r, u = 0, l = e.length - 1; if (n === i) { if (t === s) return Rl = o !== -1 && e[o][ms] === t, o; t >= s ? u = o === -1 ? 0 : o : l = o; } return r.lastKey = n, r.lastNeedle = t, r.lastIndex = XNe(e, t, u, l); } function R2(e) { return typeof e == "string" ? JSON.parse(e) : e; } function V$(e, t, r, n, i, s, o, u, l, c, f) { let { sections: d } = e; for (let g = 0; g < d.length; g++) { let { map: b, offset: _ } = d[g], T = c, p = f; if (g + 1 < d.length) { let h = d[g + 1].offset; T = Math.min(c, u + h.line), T === c ? p = Math.min(f, l + h.column) : T < c && (p = l + h.column); } ZNe( b, t, r, n, i, s, o, u + _.line, l + _.column, T, p ); } } function ZNe(e, t, r, n, i, s, o, u, l, c, f) { let d = R2(e); if ("sections" in d) return V$(...arguments); let g = new Ef(d, t), b = n.length, _ = s.length, T = xo(g), { resolvedSources: p, sourcesContent: h, ignoreList: S } = g; if (x2(n, p), x2(s, g.names), h) x2(i, h); else for (let D = 0; D < p.length; D++) i.push(null); if (S) for (let D = 0; D < S.length; D++) o.push(S[D] + b); for (let D = 0; D < T.length; D++) { let E = u + D; if (E > c) return; let C = JNe(r, E), m = D === 0 ? l : 0, v = T[D]; for (let A = 0; A < v.length; A++) { let w = v[A], F = m + w[ms]; if (E === c && F >= f) return; if (w.length === 1) { C.push([F]); continue; } let x = b + w[C2], I = w[w2], N = w[O2]; C.push( w.length === 4 ? [F, x, I, N] : [F, x, I, N, _ + w[I$]] ); } } } function x2(e, t) { for (let r = 0; r < t.length; r++) e.push(t[r]); } function JNe(e, t) { for (let r = e.length; r <= t; r++) e[r] = []; return e[t]; } function G$(e) { var t, r; return (r = (t = e)._encoded) != null ? r : t._encoded = fc(e._decoded); } function xo(e) { var t; return (t = e)._decoded || (t._decoded = rN(e._encoded)); } function eLe(e, t, r) { let n = xo(e); if (t >= n.length) return null; let i = n[t], s = Zv( i, e._decodedMemo, t, r, Wp ); return s === -1 ? null : i[s]; } function tLe(e, t) { let { line: r, column: n, bias: i } = t; if (r--, r < 0) throw new Error(H$); if (n < 0) throw new Error(j$); let s = xo(e); if (r >= s.length) return Qv(null, null, null, null); let o = s[r], u = Zv( o, e._decodedMemo, r, n, i || Wp ); if (u === -1) return Qv(null, null, null, null); let l = o[u]; if (l.length === 1) return Qv(null, null, null, null); let { names: c, resolvedSources: f } = e; return Qv( f[l[C2]], l[w2] + 1, l[O2], l.length === 5 ? c[l[I$]] : null ); } function rLe(e, t) { let { source: r, line: n, column: i, bias: s } = t; return W$(e, r, n, i, s || Wp, !1); } function nLe(e, t) { let { source: r, line: n, column: i, bias: s } = t; return W$(e, r, n, i, s || Kp, !0); } function iLe(e, t) { let r = xo(e), { names: n, resolvedSources: i } = e; for (let s = 0; s < r.length; s++) { let o = r[s]; for (let u = 0; u < o.length; u++) { let l = o[u], c = s + 1, f = l[0], d = null, g = null, b = null, _ = null; l.length !== 1 && (d = i[l[1]], g = l[2] + 1, b = l[3]), l.length === 5 && (_ = n[l[4]]), t({ generatedLine: c, generatedColumn: f, source: d, originalLine: g, originalColumn: b, name: _ }); } } } function z$(e, t) { let { sources: r, resolvedSources: n } = e, i = r.indexOf(t); return i === -1 && (i = n.indexOf(t)), i; } function aLe(e, t) { let { sourcesContent: r } = e; if (r == null) return null; let n = z$(e, t); return n === -1 ? null : r[n]; } function sLe(e, t) { let { ignoreList: r } = e; if (r == null) return !1; let n = z$(e, t); return n === -1 ? !1 : r.includes(n); } function K$(e, t) { let r = new Ef(k2(e, []), t); return r._decoded = e.mappings, r; } function oLe(e) { return k2(e, xo(e)); } function uLe(e) { return k2(e, G$(e)); } function k2(e, t) { return { version: e.version, file: e.file, names: e.names, sourceRoot: e.sourceRoot, sources: e.sources, sourcesContent: e.sourcesContent, mappings: t, ignoreList: e.ignoreList || e.x_google_ignoreList }; } function Qv(e, t, r, n) { return { source: e, line: t, column: r, name: n }; } function zp(e, t) { return { line: e, column: t }; } function Zv(e, t, r, n, i) { let s = YNe(e, n, t, r); return Rl ? s = (i === Kp ? M$ : q$)(e, n, s) : i === Kp && s++, s === -1 || s === e.length ? -1 : s; } function lLe(e, t, r, n, i) { let s = Zv(e, t, r, n, Wp); if (!Rl && i === Kp && s++, s === -1 || s === e.length) return []; let o = Rl ? n : e[s][ms]; Rl || (s = q$(e, o, s)); let u = M$(e, o, s), l = []; for (; s <= u; s++) { let c = e[s]; l.push(zp(c[N$] + 1, c[L$])); } return l; } function W$(e, t, r, n, i, s) { var o, u; if (r--, r < 0) throw new Error(H$); if (n < 0) throw new Error(j$); let { sources: l, resolvedSources: c } = e, f = l.indexOf(t); if (f === -1 && (f = c.indexOf(t)), f === -1) return s ? [] : zp(null, null); let d = (o = e)._bySourceMemos || (o._bySourceMemos = l.map(U$)), b = ((u = e)._bySources || (u._bySources = $Ne(xo(e), d)))[f][r]; if (b == null) return s ? [] : zp(null, null); let _ = d[f]; if (s) return lLe(b, _, r, n, i); let T = Zv(b, _, r, n, i); if (T === -1) return zp(null, null); let p = b[T]; return zp(p[N$] + 1, p[L$]); } var F$, ms, C2, w2, O2, I$, N$, L$, Rl, QNe, H$, j$, Kp, Wp, Ef, P2 = we(() => { ym(); F$ = mt(k$(), 1); a(jNe, "stripFilename"); a(GNe, "resolver"); ms = 0, C2 = 1, w2 = 2, O2 = 3, I$ = 4, N$ = 1, L$ = 2; a(zNe, "maybeSort"); a(P$, "nextUnsortedSegmentLine"); a(KNe, "isSorted"); a(WNe, "sortSegments"); a(B$, "sortComparator"); a($Ne, "buildBySources"); Rl = !1; a(XNe, "binarySearch"); a(M$, "upperBound"); a(q$, "lowerBound"); a(U$, "memoizedState"); a(YNe, "memoizedBinarySearch"); a(R2, "parse"); QNe = /* @__PURE__ */ a(function(e, t) { let r = R2(e); if (!("sections" in r)) return new Ef(r, t); let n = [], i = [], s = [], o = [], u = []; V$( r, t, n, i, s, o, u, 0, 0, 1 / 0, 1 / 0 ); let l = { version: 3, file: r.file, names: o, sources: i, sourcesContent: s, mappings: n, ignoreList: u }; return K$(l); }, "FlattenMap"); a(V$, "recurse"); a(ZNe, "addSection"); a(x2, "append"); a(JNe, "getLine"); H$ = "`line` must be greater than 0 (lines start at line 1)", j$ = "`column` must be greater than or equal to 0 (columns start at column 0\ )", Kp = -1, Wp = 1, Ef = class { static { a(this, "TraceMap"); } constructor(e, t) { let r = typeof e == "string"; if (!r && e._decodedMemo) return e; let n = R2(e), { version: i, file: s, names: o, sourceRoot: u, sources: l, sourcesContent: c } = n; this.version = i, this.file = s, this.names = o || [], this.sourceRoot = u, this.sources = l, this.sourcesContent = c, this.ignoreList = n.ignoreList || n.x_google_ignoreList || void 0; let f = GNe(t, u); this.resolvedSources = l.map(f); let { mappings: d } = n; if (typeof d == "string") this._encoded = d, this._decoded = void 0; else if (Array.isArray(d)) this._encoded = void 0, this._decoded = zNe(d, r); else throw n.sections ? new Error("TraceMap passed sectioned source map, please use FlattenMap export instead") : new Error(`invalid s\ ource map: ${JSON.stringify(n)}`); this._decodedMemo = U$(), this._bySources = void 0, this._bySourceMemos = void 0; } }; a(G$, "encodedMappings"); a(xo, "decodedMappings"); a(eLe, "traceSegment"); a(tLe, "originalPositionFor"); a(rLe, "generatedPositionFor"); a(nLe, "allGeneratedPositionsFor"); a(iLe, "eachMapping"); a(z$, "sourceIndex"); a(aLe, "sourceContentFor"); a(sLe, "isIgnored"); a(K$, "presortedDecodedMap"); a(oLe, "decodedMap"); a(uLe, "encodedMap"); a(k2, "clone"); a(Qv, "OMapping"); a(zp, "GMapping"); a(Zv, "traceSegmentInternal"); a(lLe, "sliceGeneratedPositions"); a(W$, "generatedPosition"); }); // ../node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs var sX = {}; ki(sX, { GenMapping: () => nX, addMapping: () => hLe, addSegment: () => fLe, allMappings: () => bLe, fromMap: () => vLe, maybeAddMapping: () => dLe, maybeAddSegment: () => pLe, setIgnore: () => gLe, setSourceContent: () => mLe, toDecodedMap: () => iX, toEncodedMap: () => _Le }); function Y$(e, t) { return e._indexes[t]; } function Af(e, t) { let r = Y$(e, t); if (r !== void 0) return r; let { array: n, _indexes: i } = e, s = n.push(t); return i[t] = s - 1; } function cLe(e, t) { let r = Y$(e, t); if (r === void 0) return; let { array: n, _indexes: i } = e; for (let s = r + 1; s < n.length; s++) { let o = n[s]; n[s - 1] = o, i[o]--; } i[t] = void 0, n.pop(); } function fLe(e, t, r, n, i, s, o, u) { return Jv( !1, e, t, r, n, i, s, o, u ); } function hLe(e, t) { return aX(!1, e, t); } function mLe(e, t, r) { let { _sources: n, _sourcesContent: i // _originalScopes: originalScopes, } = e, s = Af(n, t); i[s] = r; } function gLe(e, t, r = !0) { let { _sources: n, _sourcesContent: i, _ignoreList: s // _originalScopes: originalScopes, } = e, o = Af(n, t); o === i.length && (i[o] = null), r ? Af(s, o) : cLe(s, o); } function iX(e) { let { _mappings: t, _sources: r, _sourcesContent: n, _names: i, _ignoreList: s // _originalScopes: originalScopes, // _generatedRanges: generatedRanges, } = e; return ELe(t), { version: 3, file: e.file || void 0, names: i.array, sourceRoot: e.sourceRoot || void 0, sources: r.array, sourcesContent: n, mappings: t, // originalScopes, // generatedRanges, ignoreList: s.array }; } function _Le(e) { let t = iX(e); return Object.assign({}, t, { // originalScopes: decoded.originalScopes.map((os) => encodeOriginalScopes(os)), // generatedRanges: encodeGeneratedRanges(decoded.generatedRanges as GeneratedRange[]), mappings: fc(t.mappings) }); } function vLe(e) { let t = new Ef(e), r = new nX({ file: t.file, sourceRoot: t.sourceRoot }); return I2(r._names, t.names), I2(r._sources, t.sources), r._sourcesContent = t.sourcesContent || t.sources.map(() => null), r._mappings = xo( t), t.ignoreList && I2(r._ignoreList, t.ignoreList), r; } function bLe(e) { let t = [], { _mappings: r, _sources: n, _names: i } = e; for (let s = 0; s < r.length; s++) { let o = r[s]; for (let u = 0; u < o.length; u++) { let l = o[u], c = { line: s + 1, column: l[Q$] }, f, d, g; l.length !== 1 && (f = n.array[l[Z$]], d = { line: l[J$] + 1, column: l[eX] }, l.length === 5 && (g = i.array[l[tX]])), t.push({ generated: c, source: f, original: d, name: g }); } } return t; } function Jv(e, t, r, n, i, s, o, u, l) { let { _mappings: c, _sources: f, _sourcesContent: d, _names: g // _originalScopes: originalScopes, } = t, b = yLe(c, r), _ = SLe(b, n); if (!i) return e && ALe(b, _) ? void 0 : X$(b, _, [n]); let T = Af(f, i), p = u ? Af(g, u) : rX; if (T === d.length && (d[T] = l ?? null), !(e && TLe(b, _, T, s, o, p))) return X$( b, _, u ? [n, T, s, o, p] : [n, T, s, o] ); } function yLe(e, t) { for (let r = e.length; r <= t; r++) e[r] = []; return e[t]; } function SLe(e, t) { let r = e.length; for (let n = r - 1; n >= 0; r = n--) { let i = e[n]; if (t >= i[Q$]) break; } return r; } function X$(e, t, r) { for (let n = e.length; n > t; n--) e[n] = e[n - 1]; e[t] = r; } function ELe(e) { let { length: t } = e, r = t; for (let n = r - 1; n >= 0 && !(e[n].length > 0); r = n, n--) ; r < t && (e.length = r); } function I2(e, t) { for (let r = 0; r < t.length; r++) Af(e, t[r]); } function ALe(e, t) { return t === 0 ? !0 : e[t - 1].length === 1; } function TLe(e, t, r, n, i, s) { if (t === 0) return !1; let o = e[t - 1]; return o.length === 1 ? !1 : r === o[Z$] && n === o[J$] && i === o[eX] && s === (o.length === 5 ? o[tX] : rX); } function aX(e, t, r) { let { generated: n, source: i, original: s, name: o, content: u } = r; return i ? Jv( e, t, n.line - 1, n.column, i, s.line - 1, s.column, o, u ) : Jv( e, t, n.line - 1, n.column, null, null, null, null, null ); } var F2, Q$, Z$, J$, eX, tX, rX, nX, pLe, dLe, oX = we(() => { ym(); P2(); F2 = class { static { a(this, "SetArray"); } constructor() { this._indexes = { __proto__: null }, this.array = []; } }; a(Y$, "get"); a(Af, "put"); a(cLe, "remove"); Q$ = 0, Z$ = 1, J$ = 2, eX = 3, tX = 4, rX = -1, nX = class { static { a(this, "GenMapping"); } constructor({ file: e, sourceRoot: t } = {}) { this._names = new F2(), this._sources = new F2(), this._sourcesContent = [], this._mappings = [], this.file = e, this.sourceRoot = t, this. _ignoreList = new F2(); } }; a(fLe, "addSegment"); a(hLe, "addMapping"); pLe = /* @__PURE__ */ a((e, t, r, n, i, s, o, u) => Jv( !0, e, t, r, n, i, s, o, u ), "maybeAddSegment"), dLe = /* @__PURE__ */ a((e, t) => aX(!0, e, t), "maybeAddMapping"); a(mLe, "setSourceContent"); a(gLe, "setIgnore"); a(iX, "toDecodedMap"); a(_Le, "toEncodedMap"); a(vLe, "fromMap"); a(bLe, "allMappings"); a(Jv, "addSegmentInternal"); a(yLe, "getIndex"); a(SLe, "getColumnIndex"); a(X$, "insert"); a(ELe, "removeEmptyFinalLines"); a(I2, "putAll"); a(ALe, "skipSourceless"); a(TLe, "skipSource"); a(aX, "addMappingInternal"); }); // ../node_modules/@jridgewell/source-map/dist/source-map.cjs var uX = y((eb) => { "use strict"; Object.defineProperty(eb, "__esModule", { value: !0 }); var kl = (P2(), Po($$)), Pl = (oX(), Po(sX)), N2 = class e { static { a(this, "SourceMapConsumer"); } constructor(t, r) { let n = this._map = new kl.AnyMap(t, r); this.file = n.file, this.names = n.names, this.sourceRoot = n.sourceRoot, this.sources = n.resolvedSources, this.sourcesContent = n.sourcesContent, this.version = n.version; } static fromSourceMap(t, r) { return t.toDecodedMap ? new e(t.toDecodedMap(), r) : new e(t.toJSON(), r); } get mappings() { return kl.encodedMappings(this._map); } originalPositionFor(t) { return kl.originalPositionFor(this._map, t); } generatedPositionFor(t) { return kl.generatedPositionFor(this._map, t); } allGeneratedPositionsFor(t) { return kl.allGeneratedPositionsFor(this._map, t); } hasContentsOfAllSources() { if (!this.sourcesContent || this.sourcesContent.length !== this.sources.length) return !1; for (let t of this.sourcesContent) if (t == null) return !1; return !0; } sourceContentFor(t, r) { let n = kl.sourceContentFor(this._map, t); if (n != null) return n; if (r) return null; throw new Error(`"${t}" is not in the SourceMap.`); } eachMapping(t, r) { kl.eachMapping(this._map, r ? t.bind(r) : t); } destroy() { } }, L2 = class e { static { a(this, "SourceMapGenerator"); } constructor(t) { this._map = t instanceof Pl.GenMapping ? t : new Pl.GenMapping(t); } static fromSourceMap(t) { return new e(Pl.fromMap(t)); } addMapping(t) { Pl.maybeAddMapping(this._map, t); } setSourceContent(t, r) { Pl.setSourceContent(this._map, t, r); } toJSON() { return Pl.toEncodedMap(this._map); } toString() { return JSON.stringify(this.toJSON()); } toDecodedMap() { return Pl.toDecodedMap(this._map); } }; eb.SourceMapConsumer = N2; eb.SourceMapGenerator = L2; }); // ../node_modules/terser/lib/sourcemap.js function* lX(e) { e = Wn(e, { file: null, root: null, orig: null, files: {} }); var t, r = new tb.SourceMapGenerator({ file: e.file, sourceRoot: e.root }); let n = { __proto__: null }, i = e.files; for (var s in i) Fr(i, s) && (n[s] = i[s]); e.orig && (t = yield new tb.SourceMapConsumer(e.orig), t.sourcesContent && t.sources.forEach(function(d, g) { var b = t.sourcesContent[g]; b && (n[d] = b); })); function o(d, g, b, _, T, p) { let h = { line: g, column: b }; if (t) { var S = t.originalPositionFor({ line: _, column: T }); if (S.source === null) { r.addMapping({ generated: h, original: null, source: null, name: null }); return; } d = S.source, _ = S.line, T = S.column, p = S.name || p; } r.addMapping({ generated: h, original: { line: _, column: T }, source: d, name: p }), r.setSourceContent(d, n[d]); } a(o, "add"); function u(d) { return d.sourcesContent && d.sourcesContent.every((b) => b == null) && delete d.sourcesContent, d.file === void 0 && delete d.file, d.sourceRoot === void 0 && delete d.sourceRoot, d; } a(u, "clean"); function l() { return r.toDecodedMap ? u(r.toDecodedMap()) : null; } a(l, "getDecoded"); function c() { return u(r.toJSON()); } a(c, "getEncoded"); function f() { t && t.destroy && t.destroy(); } return a(f, "destroy"), { add: o, getDecoded: l, getEncoded: c, destroy: f }; } var tb, cX = we(() => { "use strict"; tb = mt(uX(), 1); rn(); a(lX, "SourceMap"); }); // ../node_modules/terser/tools/domprops.js var fX, hX = we(() => { fX = [ "$&", "$'", "$*", "$+", "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$9", "$_", "$`", "$input", "-moz-animation", "-moz-animation-delay", "-moz-animation-direction", "-moz-animation-duration", "-moz-animation-fill-mode", "-moz-animation-iteration-count", "-moz-animation-name", "-moz-animation-play-state", "-moz-animation-timing-function", "-moz-appearance", "-moz-backface-visibility", "-moz-border-end", "-moz-border-end-color", "-moz-border-end-style", "-moz-border-end-width", "-moz-border-image", "-moz-border-start", "-moz-border-start-color", "-moz-border-start-style", "-moz-border-start-width", "-moz-box-align", "-moz-box-direction", "-moz-box-flex", "-moz-box-ordinal-group", "-moz-box-orient", "-moz-box-pack", "-moz-box-sizing", "-moz-float-edge", "-moz-font-feature-settings", "-moz-font-language-override", "-moz-force-broken-image-icon", "-moz-hyphens", "-moz-image-region", "-moz-margin-end", "-moz-margin-start", "-moz-orient", "-moz-osx-font-smoothing", "-moz-outline-radius", "-moz-outline-radius-bottomleft", "-moz-outline-radius-bottomright", "-moz-outline-radius-topleft", "-moz-outline-radius-topright", "-moz-padding-end", "-moz-padding-start", "-moz-perspective", "-moz-perspective-origin", "-moz-tab-size", "-moz-text-size-adjust", "-moz-transform", "-moz-transform-origin", "-moz-transform-style", "-moz-transition", "-moz-transition-delay", "-moz-transition-duration", "-moz-transition-property", "-moz-transition-timing-function", "-moz-user-focus", "-moz-user-input", "-moz-user-modify", "-moz-user-select", "-moz-window-dragging", "-webkit-align-content", "-webkit-align-items", "-webkit-align-self", "-webkit-animation", "-webkit-animation-delay", "-webkit-animation-direction", "-webkit-animation-duration", "-webkit-animation-fill-mode", "-webkit-animation-iteration-count", "-webkit-animation-name", "-webkit-animation-play-state", "-webkit-animation-timing-function", "-webkit-appearance", "-webkit-backface-visibility", "-webkit-background-clip", "-webkit-background-origin", "-webkit-background-size", "-webkit-border-bottom-left-radius", "-webkit-border-bottom-right-radius", "-webkit-border-image", "-webkit-border-radius", "-webkit-border-top-left-radius", "-webkit-border-top-right-radius", "-webkit-box-align", "-webkit-box-direction", "-webkit-box-flex", "-webkit-box-ordinal-group", "-webkit-box-orient", "-webkit-box-pack", "-webkit-box-shadow", "-webkit-box-sizing", "-webkit-clip-path", "-webkit-filter", "-webkit-flex", "-webkit-flex-basis", "-webkit-flex-direction", "-webkit-flex-flow", "-webkit-flex-grow", "-webkit-flex-shrink", "-webkit-flex-wrap", "-webkit-font-feature-settings", "-webkit-justify-content", "-webkit-line-clamp", "-webkit-mask", "-webkit-mask-clip", "-webkit-mask-composite", "-webkit-mask-image", "-webkit-mask-origin", "-webkit-mask-position", "-webkit-mask-position-x", "-webkit-mask-position-y", "-webkit-mask-repeat", "-webkit-mask-size", "-webkit-order", "-webkit-perspective", "-webkit-perspective-origin", "-webkit-text-fill-color", "-webkit-text-security", "-webkit-text-size-adjust", "-webkit-text-stroke", "-webkit-text-stroke-color", "-webkit-text-stroke-width", "-webkit-transform", "-webkit-transform-origin", "-webkit-transform-style", "-webkit-transition", "-webkit-transition-delay", "-webkit-transition-duration", "-webkit-transition-property", "-webkit-transition-timing-function", "-webkit-user-select", "@@iterator", "ABORT_ERR", "ACTIVE", "ACTIVE_ATTRIBUTES", "ACTIVE_TEXTURE", "ACTIVE_UNIFORMS", "ACTIVE_UNIFORM_BLOCKS", "ADDITION", "ALIASED_LINE_WIDTH_RANGE", "ALIASED_POINT_SIZE_RANGE", "ALL", "ALLOW_KEYBOARD_INPUT", "ALLPASS", "ALPHA", "ALPHA_BITS", "ALREADY_SIGNALED", "ALT_MASK", "ALWAYS", "ANY_SAMPLES_PASSED", "ANY_SAMPLES_PASSED_CONSERVATIVE", "ANY_TYPE", "ANY_UNORDERED_NODE_TYPE", "ARRAY_BUFFER", "ARRAY_BUFFER_BINDING", "ATTACHED_SHADERS", "ATTRIBUTE_NODE", "AT_TARGET", "AbortController", "AbortSignal", "AbsoluteOrientationSensor", "AbstractRange", "Accelerometer", "AddSearchProvider", "AggregateError", "AnalyserNode", "Animation", "AnimationEffect", "AnimationEvent", "AnimationPlaybackEvent", "AnimationTimeline", "AnonXMLHttpRequest", "Any", "AnyPermissions", "ApplicationCache", "ApplicationCacheErrorEvent", "Array", "ArrayBuffer", "ArrayType", "Atomics", "Attr", "Audio", "AudioBuffer", "AudioBufferSourceNode", "AudioContext", "AudioData", "AudioDecoder", "AudioDestinationNode", "AudioEncoder", "AudioListener", "AudioNode", "AudioParam", "AudioParamMap", "AudioProcessingEvent", "AudioScheduledSourceNode", "AudioSinkInfo", "AudioStreamTrack", "AudioWorklet", "AudioWorkletNode", "AuthenticatorAssertionResponse", "AuthenticatorAttestationResponse", "AuthenticatorResponse", "AutocompleteErrorEvent", "BACK", "BAD_BOUNDARYPOINTS_ERR", "BAD_REQUEST", "BANDPASS", "BLEND", "BLEND_COLOR", "BLEND_DST_ALPHA", "BLEND_DST_RGB", "BLEND_EQUATION", "BLEND_EQUATION_ALPHA", "BLEND_EQUATION_RGB", "BLEND_SRC_ALPHA", "BLEND_SRC_RGB", "BLUE", "BLUE_BITS", "BLUR", "BOOL", "BOOLEAN_TYPE", "BOOL_VEC2", "BOOL_VEC3", "BOOL_VEC4", "BOTH", "BROWSER_DEFAULT_WEBGL", "BUBBLING_PHASE", "BUFFER_SIZE", "BUFFER_USAGE", "BYTE", "BYTES_PER_ELEMENT", "BackgroundFetchManager", "BackgroundFetchRecord", "BackgroundFetchRegistration", "BarProp", "BarcodeDetector", "BaseAudioContext", "BaseHref", "BatteryManager", "BeforeInstallPromptEvent", "BeforeLoadEvent", "BeforeUnloadEvent", "BigInt", "BigInt64Array", "BigUint64Array", "BiquadFilterNode", "Blob", "BlobEvent", "Bluetooth", "BluetoothCharacteristicProperties", "BluetoothDevice", "BluetoothRemoteGATTCharacteristic", "BluetoothRemoteGATTDescriptor", "BluetoothRemoteGATTServer", "BluetoothRemoteGATTService", "BluetoothUUID", "Boolean", "BroadcastChannel", "BrowserCaptureMediaStreamTrack", "BrowserInfo", "ByteLengthQueuingStrategy", "CAPTURING_PHASE", "CCW", "CDATASection", "CDATA_SECTION_NODE", "CHANGE", "CHARSET_RULE", "CHECKING", "CLAMP_TO_EDGE", "CLICK", "CLOSED", "CLOSING", "COLOR", "COLOR_ATTACHMENT0", "COLOR_ATTACHMENT1", "COLOR_ATTACHMENT10", "COLOR_ATTACHMENT11", "COLOR_ATTACHMENT12", "COLOR_ATTACHMENT13", "COLOR_ATTACHMENT14", "COLOR_ATTACHMENT15", "COLOR_ATTACHMENT2", "COLOR_ATTACHMENT3", "COLOR_ATTACHMENT4", "COLOR_ATTACHMENT5", "COLOR_ATTACHMENT6", "COLOR_ATTACHMENT7", "COLOR_ATTACHMENT8", "COLOR_ATTACHMENT9", "COLOR_BUFFER_BIT", "COLOR_CLEAR_VALUE", "COLOR_WRITEMASK", "COMMENT_NODE", "COMPARE_REF_TO_TEXTURE", "COMPILE_STATUS", "COMPLETION_STATUS_KHR", "COMPRESSED_RGBA_S3TC_DXT1_EXT", "COMPRESSED_RGBA_S3TC_DXT3_EXT", "COMPRESSED_RGBA_S3TC_DXT5_EXT", "COMPRESSED_RGB_S3TC_DXT1_EXT", "COMPRESSED_TEXTURE_FORMATS", "COMPUTE", "CONDITION_SATISFIED", "CONFIGURATION_UNSUPPORTED", "CONNECTING", "CONSTANT_ALPHA", "CONSTANT_COLOR", "CONSTRAINT_ERR", "CONTEXT_LOST_WEBGL", "CONTROL_MASK", "COPY_DST", "COPY_READ_BUFFER", "COPY_READ_BUFFER_BINDING", "COPY_SRC", "COPY_WRITE_BUFFER", "COPY_WRITE_BUFFER_BINDING", "COUNTER_STYLE_RULE", "CSS", "CSS2Properties", "CSSAnimation", "CSSCharsetRule", "CSSConditionRule", "CSSContainerRule", "CSSCounterStyleRule", "CSSFontFaceRule", "CSSFontFeatureValuesRule", "CSSFontPaletteValuesRule", "CSSGroupingRule", "CSSImageValue", "CSSImportRule", "CSSKeyframeRule", "CSSKeyframesRule", "CSSKeywordValue", "CSSLayerBlockRule", "CSSLayerStatementRule", "CSSMarginRule", "CSSMathClamp", "CSSMathInvert", "CSSMathMax", "CSSMathMin", "CSSMathNegate", "CSSMathProduct", "CSSMathSum", "CSSMathValue", "CSSMatrixComponent", "CSSMediaRule", "CSSMozDocumentRule", "CSSNameSpaceRule", "CSSNamespaceRule", "CSSNestedDeclarations", "CSSNumericArray", "CSSNumericValue", "CSSPageDescriptors", "CSSPageRule", "CSSPerspective", "CSSPositionTryDescriptors", "CSSPositionTryRule", "CSSPositionValue", "CSSPrimitiveValue", "CSSPropertyRule", "CSSRotate", "CSSRule", "CSSRuleList", "CSSScale", "CSSScopeRule", "CSSSkew", "CSSSkewX", "CSSSkewY", "CSSStartingStyleRule", "CSSStyleDeclaration", "CSSStyleRule", "CSSStyleSheet", "CSSStyleValue", "CSSSupportsRule", "CSSTransformComponent", "CSSTransformValue", "CSSTransition", "CSSTranslate", "CSSUnitValue", "CSSUnknownRule", "CSSUnparsedValue", "CSSValue", "CSSValueList", "CSSVariableReferenceValue", "CSSVariablesDeclaration", "CSSVariablesRule", "CSSViewTransitionRule", "CSSViewportRule", "CSS_ATTR", "CSS_CM", "CSS_COUNTER", "CSS_CUSTOM", "CSS_DEG", "CSS_DIMENSION", "CSS_EMS", "CSS_EXS", "CSS_FILTER_BLUR", "CSS_FILTER_BRIGHTNESS", "CSS_FILTER_CONTRAST", "CSS_FILTER_CUSTOM", "CSS_FILTER_DROP_SHADOW", "CSS_FILTER_GRAYSCALE", "CSS_FILTER_HUE_ROTATE", "CSS_FILTER_INVERT", "CSS_FILTER_OPACITY", "CSS_FILTER_REFERENCE", "CSS_FILTER_SATURATE", "CSS_FILTER_SEPIA", "CSS_GRAD", "CSS_HZ", "CSS_IDENT", "CSS_IN", "CSS_INHERIT", "CSS_KHZ", "CSS_MATRIX", "CSS_MATRIX3D", "CSS_MM", "CSS_MS", "CSS_NUMBER", "CSS_PC", "CSS_PERCENTAGE", "CSS_PERSPECTIVE", "CSS_PRIMITIVE_VALUE", "CSS_PT", "CSS_PX", "CSS_RAD", "CSS_RECT", "CSS_RGBCOLOR", "CSS_ROTATE", "CSS_ROTATE3D", "CSS_ROTATEX", "CSS_ROTATEY", "CSS_ROTATEZ", "CSS_S", "CSS_SCALE", "CSS_SCALE3D", "CSS_SCALEX", "CSS_SCALEY", "CSS_SCALEZ", "CSS_SKEW", "CSS_SKEWX", "CSS_SKEWY", "CSS_STRING", "CSS_TRANSLATE", "CSS_TRANSLATE3D", "CSS_TRANSLATEX", "CSS_TRANSLATEY", "CSS_TRANSLATEZ", "CSS_UNKNOWN", "CSS_URI", "CSS_VALUE_LIST", "CSS_VH", "CSS_VMAX", "CSS_VMIN", "CSS_VW", "CULL_FACE", "CULL_FACE_MODE", "CURRENT_PROGRAM", "CURRENT_QUERY", "CURRENT_VERTEX_ATTRIB", "CUSTOM", "CW", "Cache", "CacheStorage", "CanvasCaptureMediaStream", "CanvasCaptureMediaStreamTrack", "CanvasGradient", "CanvasPattern", "CanvasRenderingContext2D", "CaptureController", "CaretPosition", "ChannelMergerNode", "ChannelSplitterNode", "ChapterInformation", "CharacterBoundsUpdateEvent", "CharacterData", "ClientRect", "ClientRectList", "Clipboard", "ClipboardEvent", "ClipboardItem", "CloseEvent", "CloseWatcher", "Collator", "ColorArray", "ColorValue", "CommandEvent", "Comment", "CompileError", "CompositionEvent", "CompressionStream", "Console", "ConstantSourceNode", "ContentVisibilityAutoStateChangeEvent", "ContextFilter", "ContextType", "Controllers", "ConvolverNode", "CookieChangeEvent", "CookieStore", "CookieStoreManager", "CountQueuingStrategy", "Counter", "CreateType", "Credential", "CredentialsContainer", "CropTarget", "Crypto", "CryptoKey", "CustomElementRegistry", "CustomEvent", "CustomStateSet", "DATABASE_ERR", "DATA_CLONE_ERR", "DATA_ERR", "DBLCLICK", "DECR", "DECR_WRAP", "DELETE_STATUS", "DEPTH", "DEPTH24_STENCIL8", "DEPTH32F_STENCIL8", "DEPTH_ATTACHMENT", "DEPTH_BITS", "DEPTH_BUFFER_BIT", "DEPTH_CLEAR_VALUE", "DEPTH_COMPONENT", "DEPTH_COMPONENT16", "DEPTH_COMPONENT24", "DEPTH_COMPONENT32F", "DEPTH_FUNC", "DEPTH_RANGE", "DEPTH_STENCIL", "DEPTH_STENCIL_ATTACHMENT", "DEPTH_TEST", "DEPTH_WRITEMASK", "DEVICE_INELIGIBLE", "DIRECTION_DOWN", "DIRECTION_LEFT", "DIRECTION_RIGHT", "DIRECTION_UP", "DISABLED", "DISPATCH_REQUEST_ERR", "DITHER", "DOCUMENT_FRAGMENT_NODE", "DOCUMENT_NODE", "DOCUMENT_POSITION_CONTAINED_BY", "DOCUMENT_POSITION_CONTAINS", "DOCUMENT_POSITION_DISCONNECTED", "DOCUMENT_POSITION_FOLLOWING", "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", "DOCUMENT_POSITION_PRECEDING", "DOCUMENT_TYPE_NODE", "DOMCursor", "DOMError", "DOMException", "DOMImplementation", "DOMImplementationLS", "DOMMatrix", "DOMMatrixReadOnly", "DOMParser", "DOMPoint", "DOMPointReadOnly", "DOMQuad", "DOMRect", "DOMRectList", "DOMRectReadOnly", "DOMRequest", "DOMSTRING_SIZE_ERR", "DOMSettableTokenList", "DOMStringList", "DOMStringMap", "DOMTokenList", "DOMTransactionEvent", "DOM_DELTA_LINE", "DOM_DELTA_PAGE", "DOM_DELTA_PIXEL", "DOM_INPUT_METHOD_DROP", "DOM_INPUT_METHOD_HANDWRITING", "DOM_INPUT_METHOD_IME", "DOM_INPUT_METHOD_KEYBOARD", "DOM_INPUT_METHOD_MULTIMODAL", "DOM_INPUT_METHOD_OPTION", "DOM_INPUT_METHOD_PASTE", "DOM_INPUT_METHOD_SCRIPT", "DOM_INPUT_METHOD_UNKNOWN", "DOM_INPUT_METHOD_VOICE", "DOM_KEY_LOCATION_JOYSTICK", "DOM_KEY_LOCATION_LEFT", "DOM_KEY_LOCATION_MOBILE", "DOM_KEY_LOCATION_NUMPAD", "DOM_KEY_LOCATION_RIGHT", "DOM_KEY_LOCATION_STANDARD", "DOM_VK_0", "DOM_VK_1", "DOM_VK_2", "DOM_VK_3", "DOM_VK_4", "DOM_VK_5", "DOM_VK_6", "DOM_VK_7", "DOM_VK_8", "DOM_VK_9", "DOM_VK_A", "DOM_VK_ACCEPT", "DOM_VK_ADD", "DOM_VK_ALT", "DOM_VK_ALTGR", "DOM_VK_AMPERSAND", "DOM_VK_ASTERISK", "DOM_VK_AT", "DOM_VK_ATTN", "DOM_VK_B", "DOM_VK_BACKSPACE", "DOM_VK_BACK_QUOTE", "DOM_VK_BACK_SLASH", "DOM_VK_BACK_SPACE", "DOM_VK_C", "DOM_VK_CANCEL", "DOM_VK_CAPS_LOCK", "DOM_VK_CIRCUMFLEX", "DOM_VK_CLEAR", "DOM_VK_CLOSE_BRACKET", "DOM_VK_CLOSE_CURLY_BRACKET", "DOM_VK_CLOSE_PAREN", "DOM_VK_COLON", "DOM_VK_COMMA", "DOM_VK_CONTEXT_MENU", "DOM_VK_CONTROL", "DOM_VK_CONVERT", "DOM_VK_CRSEL", "DOM_VK_CTRL", "DOM_VK_D", "DOM_VK_DECIMAL", "DOM_VK_DELETE", "DOM_VK_DIVIDE", "DOM_VK_DOLLAR", "DOM_VK_DOUBLE_QUOTE", "DOM_VK_DOWN", "DOM_VK_E", "DOM_VK_EISU", "DOM_VK_END", "DOM_VK_ENTER", "DOM_VK_EQUALS", "DOM_VK_EREOF", "DOM_VK_ESCAPE", "DOM_VK_EXCLAMATION", "DOM_VK_EXECUTE", "DOM_VK_EXSEL", "DOM_VK_F", "DOM_VK_F1", "DOM_VK_F10", "DOM_VK_F11", "DOM_VK_F12", "DOM_VK_F13", "DOM_VK_F14", "DOM_VK_F15", "DOM_VK_F16", "DOM_VK_F17", "DOM_VK_F18", "DOM_VK_F19", "DOM_VK_F2", "DOM_VK_F20", "DOM_VK_F21", "DOM_VK_F22", "DOM_VK_F23", "DOM_VK_F24", "DOM_VK_F25", "DOM_VK_F26", "DOM_VK_F27", "DOM_VK_F28", "DOM_VK_F29", "DOM_VK_F3", "DOM_VK_F30", "DOM_VK_F31", "DOM_VK_F32", "DOM_VK_F33", "DOM_VK_F34", "DOM_VK_F35", "DOM_VK_F36", "DOM_VK_F4", "DOM_VK_F5", "DOM_VK_F6", "DOM_VK_F7", "DOM_VK_F8", "DOM_VK_F9", "DOM_VK_FINAL", "DOM_VK_FRONT", "DOM_VK_G", "DOM_VK_GREATER_THAN", "DOM_VK_H", "DOM_VK_HANGUL", "DOM_VK_HANJA", "DOM_VK_HASH", "DOM_VK_HELP", "DOM_VK_HK_TOGGLE", "DOM_VK_HOME", "DOM_VK_HYPHEN_MINUS", "DOM_VK_I", "DOM_VK_INSERT", "DOM_VK_J", "DOM_VK_JUNJA", "DOM_VK_K", "DOM_VK_KANA", "DOM_VK_KANJI", "DOM_VK_L", "DOM_VK_LEFT", "DOM_VK_LEFT_TAB", "DOM_VK_LESS_THAN", "DOM_VK_M", "DOM_VK_META", "DOM_VK_MODECHANGE", "DOM_VK_MULTIPLY", "DOM_VK_N", "DOM_VK_NONCONVERT", "DOM_VK_NUMPAD0", "DOM_VK_NUMPAD1", "DOM_VK_NUMPAD2", "DOM_VK_NUMPAD3", "DOM_VK_NUMPAD4", "DOM_VK_NUMPAD5", "DOM_VK_NUMPAD6", "DOM_VK_NUMPAD7", "DOM_VK_NUMPAD8", "DOM_VK_NUMPAD9", "DOM_VK_NUM_LOCK", "DOM_VK_O", "DOM_VK_OEM_1", "DOM_VK_OEM_102", "DOM_VK_OEM_2", "DOM_VK_OEM_3", "DOM_VK_OEM_4", "DOM_VK_OEM_5", "DOM_VK_OEM_6", "DOM_VK_OEM_7", "DOM_VK_OEM_8", "DOM_VK_OEM_COMMA", "DOM_VK_OEM_MINUS", "DOM_VK_OEM_PERIOD", "DOM_VK_OEM_PLUS", "DOM_VK_OPEN_BRACKET", "DOM_VK_OPEN_CURLY_BRACKET", "DOM_VK_OPEN_PAREN", "DOM_VK_P", "DOM_VK_PA1", "DOM_VK_PAGEDOWN", "DOM_VK_PAGEUP", "DOM_VK_PAGE_DOWN", "DOM_VK_PAGE_UP", "DOM_VK_PAUSE", "DOM_VK_PERCENT", "DOM_VK_PERIOD", "DOM_VK_PIPE", "DOM_VK_PLAY", "DOM_VK_PLUS", "DOM_VK_PRINT", "DOM_VK_PRINTSCREEN", "DOM_VK_PROCESSKEY", "DOM_VK_PROPERITES", "DOM_VK_Q", "DOM_VK_QUESTION_MARK", "DOM_VK_QUOTE", "DOM_VK_R", "DOM_VK_REDO", "DOM_VK_RETURN", "DOM_VK_RIGHT", "DOM_VK_S", "DOM_VK_SCROLL_LOCK", "DOM_VK_SELECT", "DOM_VK_SEMICOLON", "DOM_VK_SEPARATOR", "DOM_VK_SHIFT", "DOM_VK_SLASH", "DOM_VK_SLEEP", "DOM_VK_SPACE", "DOM_VK_SUBTRACT", "DOM_VK_T", "DOM_VK_TAB", "DOM_VK_TILDE", "DOM_VK_U", "DOM_VK_UNDERSCORE", "DOM_VK_UNDO", "DOM_VK_UNICODE", "DOM_VK_UP", "DOM_VK_V", "DOM_VK_VOLUME_DOWN", "DOM_VK_VOLUME_MUTE", "DOM_VK_VOLUME_UP", "DOM_VK_W", "DOM_VK_WIN", "DOM_VK_WINDOW", "DOM_VK_WIN_ICO_00", "DOM_VK_WIN_ICO_CLEAR", "DOM_VK_WIN_ICO_HELP", "DOM_VK_WIN_OEM_ATTN", "DOM_VK_WIN_OEM_AUTO", "DOM_VK_WIN_OEM_BACKTAB", "DOM_VK_WIN_OEM_CLEAR", "DOM_VK_WIN_OEM_COPY", "DOM_VK_WIN_OEM_CUSEL", "DOM_VK_WIN_OEM_ENLW", "DOM_VK_WIN_OEM_FINISH", "DOM_VK_WIN_OEM_FJ_JISHO", "DOM_VK_WIN_OEM_FJ_LOYA", "DOM_VK_WIN_OEM_FJ_MASSHOU", "DOM_VK_WIN_OEM_FJ_ROYA", "DOM_VK_WIN_OEM_FJ_TOUROKU", "DOM_VK_WIN_OEM_JUMP", "DOM_VK_WIN_OEM_PA1", "DOM_VK_WIN_OEM_PA2", "DOM_VK_WIN_OEM_PA3", "DOM_VK_WIN_OEM_RESET", "DOM_VK_WIN_OEM_WSCTRL", "DOM_VK_X", "DOM_VK_XF86XK_ADD_FAVORITE", "DOM_VK_XF86XK_APPLICATION_LEFT", "DOM_VK_XF86XK_APPLICATION_RIGHT", "DOM_VK_XF86XK_AUDIO_CYCLE_TRACK", "DOM_VK_XF86XK_AUDIO_FORWARD", "DOM_VK_XF86XK_AUDIO_LOWER_VOLUME", "DOM_VK_XF86XK_AUDIO_MEDIA", "DOM_VK_XF86XK_AUDIO_MUTE", "DOM_VK_XF86XK_AUDIO_NEXT", "DOM_VK_XF86XK_AUDIO_PAUSE", "DOM_VK_XF86XK_AUDIO_PLAY", "DOM_VK_XF86XK_AUDIO_PREV", "DOM_VK_XF86XK_AUDIO_RAISE_VOLUME", "DOM_VK_XF86XK_AUDIO_RANDOM_PLAY", "DOM_VK_XF86XK_AUDIO_RECORD", "DOM_VK_XF86XK_AUDIO_REPEAT", "DOM_VK_XF86XK_AUDIO_REWIND", "DOM_VK_XF86XK_AUDIO_STOP", "DOM_VK_XF86XK_AWAY", "DOM_VK_XF86XK_BACK", "DOM_VK_XF86XK_BACK_FORWARD", "DOM_VK_XF86XK_BATTERY", "DOM_VK_XF86XK_BLUE", "DOM_VK_XF86XK_BLUETOOTH", "DOM_VK_XF86XK_BOOK", "DOM_VK_XF86XK_BRIGHTNESS_ADJUST", "DOM_VK_XF86XK_CALCULATOR", "DOM_VK_XF86XK_CALENDAR", "DOM_VK_XF86XK_CD", "DOM_VK_XF86XK_CLOSE", "DOM_VK_XF86XK_COMMUNITY", "DOM_VK_XF86XK_CONTRAST_ADJUST", "DOM_VK_XF86XK_COPY", "DOM_VK_XF86XK_CUT", "DOM_VK_XF86XK_CYCLE_ANGLE", "DOM_VK_XF86XK_DISPLAY", "DOM_VK_XF86XK_DOCUMENTS", "DOM_VK_XF86XK_DOS", "DOM_VK_XF86XK_EJECT", "DOM_VK_XF86XK_EXCEL", "DOM_VK_XF86XK_EXPLORER", "DOM_VK_XF86XK_FAVORITES", "DOM_VK_XF86XK_FINANCE", "DOM_VK_XF86XK_FORWARD", "DOM_VK_XF86XK_FRAME_BACK", "DOM_VK_XF86XK_FRAME_FORWARD", "DOM_VK_XF86XK_GAME", "DOM_VK_XF86XK_GO", "DOM_VK_XF86XK_GREEN", "DOM_VK_XF86XK_HIBERNATE", "DOM_VK_XF86XK_HISTORY", "DOM_VK_XF86XK_HOME_PAGE", "DOM_VK_XF86XK_HOT_LINKS", "DOM_VK_XF86XK_I_TOUCH", "DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN", "DOM_VK_XF86XK_KBD_BRIGHTNESS_UP", "DOM_VK_XF86XK_KBD_LIGHT_ON_OFF", "DOM_VK_XF86XK_LAUNCH0", "DOM_VK_XF86XK_LAUNCH1", "DOM_VK_XF86XK_LAUNCH2", "DOM_VK_XF86XK_LAUNCH3", "DOM_VK_XF86XK_LAUNCH4", "DOM_VK_XF86XK_LAUNCH5", "DOM_VK_XF86XK_LAUNCH6", "DOM_VK_XF86XK_LAUNCH7", "DOM_VK_XF86XK_LAUNCH8", "DOM_VK_XF86XK_LAUNCH9", "DOM_VK_XF86XK_LAUNCH_A", "DOM_VK_XF86XK_LAUNCH_B", "DOM_VK_XF86XK_LAUNCH_C", "DOM_VK_XF86XK_LAUNCH_D", "DOM_VK_XF86XK_LAUNCH_E", "DOM_VK_XF86XK_LAUNCH_F", "DOM_VK_XF86XK_LIGHT_BULB", "DOM_VK_XF86XK_LOG_OFF", "DOM_VK_XF86XK_MAIL", "DOM_VK_XF86XK_MAIL_FORWARD", "DOM_VK_XF86XK_MARKET", "DOM_VK_XF86XK_MEETING", "DOM_VK_XF86XK_MEMO", "DOM_VK_XF86XK_MENU_KB", "DOM_VK_XF86XK_MENU_PB", "DOM_VK_XF86XK_MESSENGER", "DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN", "DOM_VK_XF86XK_MON_BRIGHTNESS_UP", "DOM_VK_XF86XK_MUSIC", "DOM_VK_XF86XK_MY_COMPUTER", "DOM_VK_XF86XK_MY_SITES", "DOM_VK_XF86XK_NEW", "DOM_VK_XF86XK_NEWS", "DOM_VK_XF86XK_OFFICE_HOME", "DOM_VK_XF86XK_OPEN", "DOM_VK_XF86XK_OPEN_URL", "DOM_VK_XF86XK_OPTION", "DOM_VK_XF86XK_PASTE", "DOM_VK_XF86XK_PHONE", "DOM_VK_XF86XK_PICTURES", "DOM_VK_XF86XK_POWER_DOWN", "DOM_VK_XF86XK_POWER_OFF", "DOM_VK_XF86XK_RED", "DOM_VK_XF86XK_REFRESH", "DOM_VK_XF86XK_RELOAD", "DOM_VK_XF86XK_REPLY", "DOM_VK_XF86XK_ROCKER_DOWN", "DOM_VK_XF86XK_ROCKER_ENTER", "DOM_VK_XF86XK_ROCKER_UP", "DOM_VK_XF86XK_ROTATE_WINDOWS", "DOM_VK_XF86XK_ROTATION_KB", "DOM_VK_XF86XK_ROTATION_PB", "DOM_VK_XF86XK_SAVE", "DOM_VK_XF86XK_SCREEN_SAVER", "DOM_VK_XF86XK_SCROLL_CLICK", "DOM_VK_XF86XK_SCROLL_DOWN", "DOM_VK_XF86XK_SCROLL_UP", "DOM_VK_XF86XK_SEARCH", "DOM_VK_XF86XK_SEND", "DOM_VK_XF86XK_SHOP", "DOM_VK_XF86XK_SPELL", "DOM_VK_XF86XK_SPLIT_SCREEN", "DOM_VK_XF86XK_STANDBY", "DOM_VK_XF86XK_START", "DOM_VK_XF86XK_STOP", "DOM_VK_XF86XK_SUBTITLE", "DOM_VK_XF86XK_SUPPORT", "DOM_VK_XF86XK_SUSPEND", "DOM_VK_XF86XK_TASK_PANE", "DOM_VK_XF86XK_TERMINAL", "DOM_VK_XF86XK_TIME", "DOM_VK_XF86XK_TOOLS", "DOM_VK_XF86XK_TOP_MENU", "DOM_VK_XF86XK_TO_DO_LIST", "DOM_VK_XF86XK_TRAVEL", "DOM_VK_XF86XK_USER1KB", "DOM_VK_XF86XK_USER2KB", "DOM_VK_XF86XK_USER_PB", "DOM_VK_XF86XK_UWB", "DOM_VK_XF86XK_VENDOR_HOME", "DOM_VK_XF86XK_VIDEO", "DOM_VK_XF86XK_VIEW", "DOM_VK_XF86XK_WAKE_UP", "DOM_VK_XF86XK_WEB_CAM", "DOM_VK_XF86XK_WHEEL_BUTTON", "DOM_VK_XF86XK_WLAN", "DOM_VK_XF86XK_WORD", "DOM_VK_XF86XK_WWW", "DOM_VK_XF86XK_XFER", "DOM_VK_XF86XK_YELLOW", "DOM_VK_XF86XK_ZOOM_IN", "DOM_VK_XF86XK_ZOOM_OUT", "DOM_VK_Y", "DOM_VK_Z", "DOM_VK_ZOOM", "DONE", "DONT_CARE", "DOWNLOADING", "DRAGDROP", "DRAW_BUFFER0", "DRAW_BUFFER1", "DRAW_BUFFER10", "DRAW_BUFFER11", "DRAW_BUFFER12", "DRAW_BUFFER13", "DRAW_BUFFER14", "DRAW_BUFFER15", "DRAW_BUFFER2", "DRAW_BUFFER3", "DRAW_BUFFER4", "DRAW_BUFFER5", "DRAW_BUFFER6", "DRAW_BUFFER7", "DRAW_BUFFER8", "DRAW_BUFFER9", "DRAW_FRAMEBUFFER", "DRAW_FRAMEBUFFER_BINDING", "DST_ALPHA", "DST_COLOR", "DYNAMIC_COPY", "DYNAMIC_DRAW", "DYNAMIC_READ", "DataChannel", "DataTransfer", "DataTransferItem", "DataTransferItemList", "DataView", "Date", "DateTimeFormat", "DecompressionStream", "DelayNode", "DelegatedInkTrailPresenter", "DeprecationReportBody", "DesktopNotification", "DesktopNotificationCenter", "Details", "DeviceLightEvent", "DeviceMotionEvent", "DeviceMotionEventAcceleration", "DeviceMotionEventRotationRate", "DeviceOrientationEvent", "DeviceProximityEvent", "DeviceStorage", "DeviceStorageChangeEvent", "Directory", "DisplayNames", "Document", "DocumentFragment", "DocumentPictureInPicture", "DocumentPictureInPictureEvent", "DocumentTimeline", "DocumentType", "DragEvent", "DurationFormat", "DynamicsCompressorNode", "E", "ELEMENT_ARRAY_BUFFER", "ELEMENT_ARRAY_BUFFER_BINDING", "ELEMENT_NODE", "EMPTY", "ENCODING_ERR", "ENDED", "END_TO_END", "END_TO_START", "ENTITY_NODE", "ENTITY_REFERENCE_NODE", "EPSILON", "EQUAL", "EQUALPOWER", "ERROR", "EXPONENTIAL_DISTANCE", "EditContext", "Element", "ElementInternals", "ElementQuery", "EncodedAudioChunk", "EncodedVideoChunk", "EnterPictureInPictureEvent", "Entity", "EntityReference", "Error", "ErrorEvent", "EvalError", "Event", "EventCounts", "EventException", "EventSource", "EventTarget", "Exception", "ExtensionContext", "ExtensionDisabledReason", "ExtensionInfo", "ExtensionInstallType", "ExtensionType", "External", "EyeDropper", "FASTEST", "FIDOSDK", "FILTER_ACCEPT", "FILTER_INTERRUPT", "FILTER_REJECT", "FILTER_SKIP", "FINISHED_STATE", "FIRST_ORDERED_NODE_TYPE", "FLOAT", "FLOAT_32_UNSIGNED_INT_24_8_REV", "FLOAT_MAT2", "FLOAT_MAT2x3", "FLOAT_MAT2x4", "FLOAT_MAT3", "FLOAT_MAT3x2", "FLOAT_MAT3x4", "FLOAT_MAT4", "FLOAT_MAT4x2", "FLOAT_MAT4x3", "FLOAT_VEC2", "FLOAT_VEC3", "FLOAT_VEC4", "FOCUS", "FONT_FACE_RULE", "FONT_FEATURE_VALUES_RULE", "FRAGMENT", "FRAGMENT_SHADER", "FRAGMENT_SHADER_DERIVATIVE_HINT", "FRAGMENT_SHADER_DERIVATIVE_HINT_OES", "FRAMEBUFFER", "FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE", "FRAMEBUFFER_ATTACHMENT_BLUE_SIZE", "FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING", "FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE", "FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE", "FRAMEBUFFER_ATTACHMENT_GREEN_SIZE", "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", "FRAMEBUFFER_ATTACHMENT_RED_SIZE", "FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE", "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", "FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER", "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", "FRAMEBUFFER_BINDING", "FRAMEBUFFER_COMPLETE", "FRAMEBUFFER_DEFAULT", "FRAMEBUFFER_INCOMPLETE_ATTACHMENT", "FRAMEBUFFER_INCOMPLETE_DIMENSIONS", "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", "FRAMEBUFFER_INCOMPLETE_MULTISAMPLE", "FRAMEBUFFER_UNSUPPORTED", "FRONT", "FRONT_AND_BACK", "FRONT_FACE", "FUNC_ADD", "FUNC_REVERSE_SUBTRACT", "FUNC_SUBTRACT", "FeaturePolicy", "FeaturePolicyViolationReportBody", "FederatedCredential", "Feed", "FeedEntry", "Fence", "FencedFrameConfig", "File", "FileError", "FileList", "FileReader", "FileSystem", "FileSystemDirectoryEntry", "FileSystemDirectoryHandle", "FileSystemDirectoryReader", "FileSystemEntry", "FileSystemFileEntry", "FileSystemFileHandle", "FileSystemHandle", "FileSystemWritableFileStream", "FinalizationRegistry", "FindInPage", "Float16Array", "Float32Array", "Float64Array", "FocusEvent", "FontData", "FontFace", "FontFaceSet", "FontFaceSetLoadEvent", "FormData", "FormDataEvent", "FragmentDirective", "Function", "GENERATE_MIPMAP_HINT", "GEQUAL", "GPU", "GPUAdapter", "GPUAdapterInfo", "GPUBindGroup", "GPUBindGroupLayout", "GPUBuffer", "GPUBufferUsage", "GPUCanvasContext", "GPUColorWrite", "GPUCommandBuffer", "GPUCommandEncoder", "GPUCompilationInfo", "GPUCompilationMessage", "GPUComputePassEncoder", "GPUComputePipeline", "GPUDevice", "GPUDeviceLostInfo", "GPUError", "GPUExternalTexture", "GPUInternalError", "GPUMapMode", "GPUOutOfMemoryError", "GPUPipelineError", "GPUPipelineLayout", "GPUQuerySet", "GPUQueue", "GPURenderBundle", "GPURenderBundleEncoder", "GPURenderPassEncoder", "GPURenderPipeline", "GPUSampler", "GPUShaderModule", "GPUShaderStage", "GPUSupportedFeatures", "GPUSupportedLimits", "GPUTexture", "GPUTextureUsage", "GPUTextureView", "GPUUncapturedErrorEvent", "GPUValidationError", "GREATER", "GREEN", "GREEN_BITS", "GainNode", "Gamepad", "GamepadAxisMoveEvent", "GamepadButton", "GamepadButtonEvent", "GamepadEvent", "GamepadHapticActuator", "GamepadPose", "Geolocation", "GeolocationCoordinates", "GeolocationPosition", "GeolocationPositionError", "GestureEvent", "GetInfo", "Global", "GravitySensor", "Gyroscope", "HALF_FLOAT", "HAVE_CURRENT_DATA", "HAVE_ENOUGH_DATA", "HAVE_FUTURE_DATA", "HAVE_METADATA", "HAVE_NOTHING", "HEADERS_RECEIVED", "HID", "HIDConnectionEvent", "HIDDEN", "HIDDevice", "HIDInputReportEvent", "HIERARCHY_REQUEST_ERR", "HIGHPASS", "HIGHSHELF", "HIGH_FLOAT", "HIGH_INT", "HORIZONTAL", "HORIZONTAL_AXIS", "HRTF", "HTMLAllCollection", "HTMLAnchorElement", "HTMLAppletElement", "HTMLAreaElement", "HTMLAudioElement", "HTMLBRElement", "HTMLBaseElement", "HTMLBaseFontElement", "HTMLBlockquoteElement", "HTMLBodyElement", "HTMLButtonElement", "HTMLCanvasElement", "HTMLCollection", "HTMLCommandElement", "HTMLContentElement", "HTMLDListElement", "HTMLDataElement", "HTMLDataListElement", "HTMLDetailsElement", "HTMLDialogElement", "HTMLDirectoryElement", "HTMLDivElement", "HTMLDocument", "HTMLElement", "HTMLEmbedElement", "HTMLFencedFrameElement", "HTMLFieldSetElement", "HTMLFontElement", "HTMLFormControlsCollection", "HTMLFormElement", "HTMLFrameElement", "HTMLFrameSetElement", "HTMLHRElement", "HTMLHeadElement", "HTMLHeadingElement", "HTMLHtmlElement", "HTMLIFrameElement", "HTMLImageElement", "HTMLInputElement", "HTMLIsIndexElement", "HTMLKeygenElement", "HTMLLIElement", "HTMLLabelElement", "HTMLLegendElement", "HTMLLinkElement", "HTMLMapElement", "HTMLMarqueeElement", "HTMLMediaElement", "HTMLMenuElement", "HTMLMenuItemElement", "HTMLMetaElement", "HTMLMeterElement", "HTMLModElement", "HTMLOListElement", "HTMLObjectElement", "HTMLOptGroupElement", "HTMLOptionElement", "HTMLOptionsCollection", "HTMLOutputElement", "HTMLParagraphElement", "HTMLParamElement", "HTMLPictureElement", "HTMLPreElement", "HTMLProgressElement", "HTMLPropertiesCollection", "HTMLQuoteElement", "HTMLScriptElement", "HTMLSelectElement", "HTMLShadowElement", "HTMLSlotElement", "HTMLSourceElement", "HTMLSpanElement", "HTMLStyleElement", "HTMLTableCaptionElement", "HTMLTableCellElement", "HTMLTableColElement", "HTMLTableElement", "HTMLTableRowElement", "HTMLTableSectionElement", "HTMLTemplateElement", "HTMLTextAreaElement", "HTMLTimeElement", "HTMLTitleElement", "HTMLTrackElement", "HTMLUListElement", "HTMLUnknownElement", "HTMLVideoElement", "HashChangeEvent", "Headers", "Highlight", "HighlightRegistry", "History", "Hz", "ICE_CHECKING", "ICE_CLOSED", "ICE_COMPLETED", "ICE_CONNECTED", "ICE_FAILED", "ICE_GATHERING", "ICE_WAITING", "IDBCursor", "IDBCursorWithValue", "IDBDatabase", "IDBDatabaseException", "IDBFactory", "IDBFileHandle", "IDBFileRequest", "IDBIndex", "IDBKeyRange", "IDBMutableFile", "IDBObjectStore", "IDBOpenDBRequest", "IDBRequest", "IDBTransaction", "IDBVersionChangeEvent", "IDLE", "IIRFilterNode", "IMPLEMENTATION_COLOR_READ_FORMAT", "IMPLEMENTATION_COLOR_READ_TYPE", "IMPORT_RULE", "INCR", "INCR_WRAP", "INDEX", "INDEX_SIZE_ERR", "INDIRECT", "INT", "INTERLEAVED_ATTRIBS", "INT_2_10_10_10_REV", "INT_SAMPLER_2D", "INT_SAMPLER_2D_ARRAY", "INT_SAMPLER_3D", "INT_SAMPLER_CUBE", "INT_VEC2", "INT_VEC3", "INT_VEC4", "INUSE_ATTRIBUTE_ERR", "INVALID_ACCESS_ERR", "INVALID_CHARACTER_ERR", "INVALID_ENUM", "INVALID_EXPRESSION_ERR", "INVALID_FRAMEBUFFER_OPERATION", "INVALID_INDEX", "INVALID_MODIFICATION_ERR", "INVALID_NODE_TYPE_ERR", "INVALID_OPERATION", "INVALID_STATE_ERR", "INVALID_VALUE", "INVERSE_DISTANCE", "INVERT", "IceCandidate", "IconInfo", "IdentityCredential", "IdentityCredentialError", "IdentityProvider", "IdleDeadline", "IdleDetector", "Image", "ImageBitmap", "ImageBitmapRenderingContext", "ImageCapture", "ImageData", "ImageDataType", "ImageDecoder", "ImageTrack", "ImageTrackList", "Infinity", "Ink", "InputDeviceCapabilities", "InputDeviceInfo", "InputEvent", "InputMethodContext", "InstallTrigger", "InstallTriggerImpl", "Instance", "Int16Array", "Int32Array", "Int8Array", "Intent", "InternalError", "IntersectionObserver", "IntersectionObserverEntry", "Intl", "IsSearchProviderInstalled", "Iterator", "JSON", "JSTag", "KEEP", "KEYDOWN", "KEYFRAMES_RULE", "KEYFRAME_RULE", "KEYPRESS", "KEYUP", "KeyEvent", "Keyboard", "KeyboardEvent", "KeyboardLayoutMap", "KeyframeEffect", "LENGTHADJUST_SPACING", "LENGTHADJUST_SPACINGANDGLYPHS", "LENGTHADJUST_UNKNOWN", "LEQUAL", "LESS", "LINEAR", "LINEAR_DISTANCE", "LINEAR_MIPMAP_LINEAR", "LINEAR_MIPMAP_NEAREST", "LINES", "LINE_LOOP", "LINE_STRIP", "LINE_WIDTH", "LINK_STATUS", "LIVE", "LN10", "LN2", "LOADED", "LOADING", "LOG10E", "LOG2E", "LOWPASS", "LOWSHELF", "LOW_FLOAT", "LOW_INT", "LSException", "LSParserFilter", "LUMINANCE", "LUMINANCE_ALPHA", "LanguageCode", "LargestContentfulPaint", "LaunchParams", "LaunchQueue", "LaunchType", "LayoutShift", "LayoutShiftAttribution", "LinearAccelerationSensor", "LinkError", "ListFormat", "LocalMediaStream", "Locale", "Location", "Lock", "LockManager", "MAP_READ", "MAP_WRITE", "MARGIN_RULE", "MAX", "MAX_3D_TEXTURE_SIZE", "MAX_ARRAY_TEXTURE_LAYERS", "MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND", "MAX_CLIENT_WAIT_TIMEOUT_WEBGL", "MAX_COLOR_ATTACHMENTS", "MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS", "MAX_COMBINED_TEXTURE_IMAGE_UNITS", "MAX_COMBINED_UNIFORM_BLOCKS", "MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS", "MAX_CUBE_MAP_TEXTURE_SIZE", "MAX_DRAW_BUFFERS", "MAX_ELEMENTS_INDICES", "MAX_ELEMENTS_VERTICES", "MAX_ELEMENT_INDEX", "MAX_FRAGMENT_INPUT_COMPONENTS", "MAX_FRAGMENT_UNIFORM_BLOCKS", "MAX_FRAGMENT_UNIFORM_COMPONENTS", "MAX_FRAGMENT_UNIFORM_VECTORS", "MAX_PROGRAM_TEXEL_OFFSET", "MAX_RENDERBUFFER_SIZE", "MAX_SAFE_INTEGER", "MAX_SAMPLES", "MAX_SERVER_WAIT_TIMEOUT", "MAX_TEXTURE_IMAGE_UNITS", "MAX_TEXTURE_LOD_BIAS", "MAX_TEXTURE_MAX_ANISOTROPY_EXT", "MAX_TEXTURE_SIZE", "MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS", "MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS", "MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS", "MAX_UNIFORM_BLOCK_SIZE", "MAX_UNIFORM_BUFFER_BINDINGS", "MAX_VALUE", "MAX_VARYING_COMPONENTS", "MAX_VARYING_VECTORS", "MAX_VERTEX_ATTRIBS", "MAX_VERTEX_OUTPUT_COMPONENTS", "MAX_VERTEX_TEXTURE_IMAGE_UNITS", "MAX_VERTEX_UNIFORM_BLOCKS", "MAX_VERTEX_UNIFORM_COMPONENTS", "MAX_VERTEX_UNIFORM_VECTORS", "MAX_VIEWPORT_DIMS", "MEDIA_ERR_ABORTED", "MEDIA_ERR_DECODE", "MEDIA_ERR_ENCRYPTED", "MEDIA_ERR_NETWORK", "MEDIA_ERR_SRC_NOT_SUPPORTED", "MEDIA_KEYERR_CLIENT", "MEDIA_KEYERR_DOMAIN", "MEDIA_KEYERR_HARDWARECHANGE", "MEDIA_KEYERR_OUTPUT", "MEDIA_KEYERR_SERVICE", "MEDIA_KEYERR_UNKNOWN", "MEDIA_RULE", "MEDIUM_FLOAT", "MEDIUM_INT", "META_MASK", "MIDIAccess", "MIDIConnectionEvent", "MIDIInput", "MIDIInputMap", "MIDIMessageEvent", "MIDIOutput", "MIDIOutputMap", "MIDIPort", "MIN", "MIN_PROGRAM_TEXEL_OFFSET", "MIN_SAFE_INTEGER", "MIN_VALUE", "MIRRORED_REPEAT", "MODE_ASYNCHRONOUS", "MODE_SYNCHRONOUS", "MODIFICATION", "MOUSEDOWN", "MOUSEDRAG", "MOUSEMOVE", "MOUSEOUT", "MOUSEOVER", "MOUSEUP", "MOZ_KEYFRAMES_RULE", "MOZ_KEYFRAME_RULE", "MOZ_SOURCE_CURSOR", "MOZ_SOURCE_ERASER", "MOZ_SOURCE_KEYBOARD", "MOZ_SOURCE_MOUSE", "MOZ_SOURCE_PEN", "MOZ_SOURCE_TOUCH", "MOZ_SOURCE_UNKNOWN", "MSGESTURE_FLAG_BEGIN", "MSGESTURE_FLAG_CANCEL", "MSGESTURE_FLAG_END", "MSGESTURE_FLAG_INERTIA", "MSGESTURE_FLAG_NONE", "MSPOINTER_TYPE_MOUSE", "MSPOINTER_TYPE_PEN", "MSPOINTER_TYPE_TOUCH", "MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE", "MS_ASYNC_CALLBACK_STATUS_CANCEL", "MS_ASYNC_CALLBACK_STATUS_CHOOSEANY", "MS_ASYNC_CALLBACK_STATUS_ERROR", "MS_ASYNC_CALLBACK_STATUS_JOIN", "MS_ASYNC_OP_STATUS_CANCELED", "MS_ASYNC_OP_STATUS_ERROR", "MS_ASYNC_OP_STATUS_SUCCESS", "MS_MANIPULATION_STATE_ACTIVE", "MS_MANIPULATION_STATE_CANCELLED", "MS_MANIPULATION_STATE_COMMITTED", "MS_MANIPULATION_STATE_DRAGGING", "MS_MANIPULATION_STATE_INERTIA", "MS_MANIPULATION_STATE_PRESELECT", "MS_MANIPULATION_STATE_SELECTING", "MS_MANIPULATION_STATE_STOPPED", "MS_MEDIA_ERR_ENCRYPTED", "MS_MEDIA_KEYERR_CLIENT", "MS_MEDIA_KEYERR_DOMAIN", "MS_MEDIA_KEYERR_HARDWARECHANGE", "MS_MEDIA_KEYERR_OUTPUT", "MS_MEDIA_KEYERR_SERVICE", "MS_MEDIA_KEYERR_UNKNOWN", "Map", "Math", "MathMLElement", "MediaCapabilities", "MediaCapabilitiesInfo", "MediaController", "MediaDeviceInfo", "MediaDevices", "MediaElementAudioSourceNode", "MediaEncryptedEvent", "MediaError", "MediaKeyError", "MediaKeyEvent", "MediaKeyMessageEvent", "MediaKeyNeededEvent", "MediaKeySession", "MediaKeyStatusMap", "MediaKeySystemAccess", "MediaKeys", "MediaList", "MediaMetadata", "MediaQueryList", "MediaQueryListEvent", "MediaRecorder", "MediaRecorderErrorEvent", "MediaSession", "MediaSettingsRange", "MediaSource", "MediaSourceHandle", "MediaStream", "MediaStreamAudioDestinationNode", "MediaStreamAudioSourceNode", "MediaStreamEvent", "MediaStreamTrack", "MediaStreamTrackAudioSourceNode", "MediaStreamTrackAudioStats", "MediaStreamTrackEvent", "MediaStreamTrackGenerator", "MediaStreamTrackProcessor", "MediaStreamTrackVideoStats", "Memory", "MessageChannel", "MessageEvent", "MessagePort", "MessageSender", "Methods", "MimeType", "MimeTypeArray", "Module", "MouseEvent", "MouseScrollEvent", "MozAnimation", "MozAnimationDelay", "MozAnimationDirection", "MozAnimationDuration", "MozAnimationFillMode", "MozAnimationIterationCount", "MozAnimationName", "MozAnimationPlayState", "MozAnimationTimingFunction", "MozAppearance", "MozBackfaceVisibility", "MozBinding", "MozBorderBottomColors", "MozBorderEnd", "MozBorderEndColor", "MozBorderEndStyle", "MozBorderEndWidth", "MozBorderImage", "MozBorderLeftColors", "MozBorderRightColors", "MozBorderStart", "MozBorderStartColor", "MozBorderStartStyle", "MozBorderStartWidth", "MozBorderTopColors", "MozBoxAlign", "MozBoxDirection", "MozBoxFlex", "MozBoxOrdinalGroup", "MozBoxOrient", "MozBoxPack", "MozBoxSizing", "MozCSSKeyframeRule", "MozCSSKeyframesRule", "MozColumnCount", "MozColumnFill", "MozColumnGap", "MozColumnRule", "MozColumnRuleColor", "MozColumnRuleStyle", "MozColumnRuleWidth", "MozColumnWidth", "MozColumns", "MozContactChangeEvent", "MozFloatEdge", "MozFontFeatureSettings", "MozFontLanguageOverride", "MozForceBrokenImageIcon", "MozHyphens", "MozImageRegion", "MozMarginEnd", "MozMarginStart", "MozMmsEvent", "MozMmsMessage", "MozMobileMessageThread", "MozOSXFontSmoothing", "MozOrient", "MozOsxFontSmoothing", "MozOutlineRadius", "MozOutlineRadiusBottomleft", "MozOutlineRadiusBottomright", "MozOutlineRadiusTopleft", "MozOutlineRadiusTopright", "MozPaddingEnd", "MozPaddingStart", "MozPerspective", "MozPerspectiveOrigin", "MozPowerManager", "MozSettingsEvent", "MozSmsEvent", "MozSmsMessage", "MozStackSizing", "MozTabSize", "MozTextAlignLast", "MozTextDecorationColor", "MozTextDecorationLine", "MozTextDecorationStyle", "MozTextSizeAdjust", "MozTransform", "MozTransformOrigin", "MozTransformStyle", "MozTransition", "MozTransitionDelay", "MozTransitionDuration", "MozTransitionProperty", "MozTransitionTimingFunction", "MozUserFocus", "MozUserInput", "MozUserModify", "MozUserSelect", "MozWindowDragging", "MozWindowShadow", "MutationEvent", "MutationObserver", "MutationRecord", "MutedInfo", "MutedInfoReason", "NAMESPACE_ERR", "NAMESPACE_RULE", "NEAREST", "NEAREST_MIPMAP_LINEAR", "NEAREST_MIPMAP_NEAREST", "NEGATIVE_INFINITY", "NETWORK_EMPTY", "NETWORK_ERR", "NETWORK_IDLE", "NETWORK_LOADED", "NETWORK_LOADING", "NETWORK_NO_SOURCE", "NEVER", "NEW", "NEXT", "NEXT_NO_DUPLICATE", "NICEST", "NODE_AFTER", "NODE_BEFORE", "NODE_BEFORE_AND_AFTER", "NODE_INSIDE", "NONE", "NON_TRANSIENT_ERR", "NOTATION_NODE", "NOTCH", "NOTEQUAL", "NOT_ALLOWED_ERR", "NOT_FOUND_ERR", "NOT_READABLE_ERR", "NOT_SUPPORTED_ERR", "NO_DATA_ALLOWED_ERR", "NO_ERR", "NO_ERROR", "NO_MODIFICATION_ALLOWED_ERR", "NUMBER_TYPE", "NUM_COMPRESSED_TEXTURE_FORMATS", "NaN", "NamedNodeMap", "NavigateEvent", "Navigation", "NavigationActivation", "NavigationCurrentEntryChangeEvent", "NavigationDestination", "NavigationHistoryEntry", "NavigationPreloadManager", "NavigationTransition", "Navigator", "NavigatorLogin", "NavigatorManagedData", "NavigatorUAData", "NearbyLinks", "NetworkInformation", "Node", "NodeFilter", "NodeIterator", "NodeList", "NotRestoredReasonDetails", "NotRestoredReasons", "Notation", "Notification", "NotifyPaintEvent", "Number", "NumberFormat", "OBJECT_TYPE", "OBSOLETE", "OK", "ONE", "ONE_MINUS_CONSTANT_ALPHA", "ONE_MINUS_CONSTANT_COLOR", "ONE_MINUS_DST_ALPHA", "ONE_MINUS_DST_COLOR", "ONE_MINUS_SRC_ALPHA", "ONE_MINUS_SRC_COLOR", "OPEN", "OPENED", "OPENING", "ORDERED_NODE_ITERATOR_TYPE", "ORDERED_NODE_SNAPSHOT_TYPE", "OTHER_ERROR", "OTPCredential", "OUT_OF_MEMORY", "Object", "OfflineAudioCompletionEvent", "OfflineAudioContext", "OfflineResourceList", "OffscreenCanvas", "OffscreenCanvasRenderingContext2D", "OnClickData", "OnInstalledReason", "OnPerformanceWarningCategory", "OnPerformanceWarningSeverity", "OnRestartRequiredReason", "Option", "OrientationSensor", "OscillatorNode", "OverconstrainedError", "OverflowEvent", "PACK_ALIGNMENT", "PACK_ROW_LENGTH", "PACK_SKIP_PIXELS", "PACK_SKIP_ROWS", "PAGE_RULE", "PARSE_ERR", "PATHSEG_ARC_ABS", "PATHSEG_ARC_REL", "PATHSEG_CLOSEPATH", "PATHSEG_CURVETO_CUBIC_ABS", "PATHSEG_CURVETO_CUBIC_REL", "PATHSEG_CURVETO_CUBIC_SMOOTH_ABS", "PATHSEG_CURVETO_CUBIC_SMOOTH_REL", "PATHSEG_CURVETO_QUADRATIC_ABS", "PATHSEG_CURVETO_QUADRATIC_REL", "PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS", "PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL", "PATHSEG_LINETO_ABS", "PATHSEG_LINETO_HORIZONTAL_ABS", "PATHSEG_LINETO_HORIZONTAL_REL", "PATHSEG_LINETO_REL", "PATHSEG_LINETO_VERTICAL_ABS", "PATHSEG_LINETO_VERTICAL_REL", "PATHSEG_MOVETO_ABS", "PATHSEG_MOVETO_REL", "PATHSEG_UNKNOWN", "PATH_EXISTS_ERR", "PEAKING", "PERMISSION_DENIED", "PERSISTENT", "PI", "PIXEL_PACK_BUFFER", "PIXEL_PACK_BUFFER_BINDING", "PIXEL_UNPACK_BUFFER", "PIXEL_UNPACK_BUFFER_BINDING", "PLAYING_STATE", "POINTS", "POLYGON_OFFSET_FACTOR", "POLYGON_OFFSET_FILL", "POLYGON_OFFSET_UNITS", "POSITION_UNAVAILABLE", "POSITIVE_INFINITY", "PREV", "PREV_NO_DUPLICATE", "PROCESSING_INSTRUCTION_NODE", "PageChangeEvent", "PageRevealEvent", "PageSettings", "PageSwapEvent", "PageTransitionEvent", "PaintRequest", "PaintRequestList", "PannerNode", "PasswordCredential", "Path2D", "PaymentAddress", "PaymentInstruments", "PaymentManager", "PaymentMethodChangeEvent", "PaymentRequest", "PaymentRequestUpdateEvent", "PaymentResponse", "Performance", "PerformanceElementTiming", "PerformanceEntry", "PerformanceEventTiming", "PerformanceLongAnimationFrameTiming", "PerformanceLongTaskTiming", "PerformanceMark", "PerformanceMeasure", "PerformanceNavigation", "PerformanceNavigationTiming", "PerformanceObserver", "PerformanceObserverEntryList", "PerformancePaintTiming", "PerformanceResourceTiming", "PerformanceScriptTiming", "PerformanceServerTiming", "PerformanceTiming", "PeriodicSyncManager", "PeriodicWave", "PermissionStatus", "Permissions", "PhotoCapabilities", "PictureInPictureEvent", "PictureInPictureWindow", "PlatformArch", "PlatformInfo", "PlatformNaclArch", "PlatformOs", "Plugin", "PluginArray", "PluralRules", "PointerEvent", "PopStateEvent", "PopupBlockedEvent", "Port", "Presentation", "PresentationAvailability", "PresentationConnection", "PresentationConnectionAvailableEvent", "PresentationConnectionCloseEvent", "PresentationConnectionList", "PresentationReceiver", "PresentationRequest", "PressureObserver", "PressureRecord", "ProcessingInstruction", "Profiler", "ProgressEvent", "Promise", "PromiseRejectionEvent", "PropertyNodeList", "ProtectedAudience", "Proxy", "PublicKeyCredential", "PushManager", "PushSubscription", "PushSubscriptionOptions", "Q", "QUERY_RESOLVE", "QUERY_RESULT", "QUERY_RESULT_AVAILABLE", "QUOTA_ERR", "QUOTA_EXCEEDED_ERR", "QueryInterface", "R11F_G11F_B10F", "R16F", "R16I", "R16UI", "R32F", "R32I", "R32UI", "R8", "R8I", "R8UI", "R8_SNORM", "RASTERIZER_DISCARD", "READ", "READ_BUFFER", "READ_FRAMEBUFFER", "READ_FRAMEBUFFER_BINDING", "READ_ONLY", "READ_ONLY_ERR", "READ_WRITE", "RED", "RED_BITS", "RED_INTEGER", "REMOVAL", "RENDERBUFFER", "RENDERBUFFER_ALPHA_SIZE", "RENDERBUFFER_BINDING", "RENDERBUFFER_BLUE_SIZE", "RENDERBUFFER_DEPTH_SIZE", "RENDERBUFFER_GREEN_SIZE", "RENDERBUFFER_HEIGHT", "RENDERBUFFER_INTERNAL_FORMAT", "RENDERBUFFER_RED_SIZE", "RENDERBUFFER_SAMPLES", "RENDERBUFFER_STENCIL_SIZE", "RENDERBUFFER_WIDTH", "RENDERER", "RENDERING_INTENT_ABSOLUTE_COLORIMETRIC", "RENDERING_INTENT_AUTO", "RENDERING_INTENT_PERCEPTUAL", "RENDERING_INTENT_RELATIVE_COLORIMETRIC", "RENDERING_INTENT_SATURATION", "RENDERING_INTENT_UNKNOWN", "RENDER_ATTACHMENT", "REPEAT", "REPLACE", "RG", "RG16F", "RG16I", "RG16UI", "RG32F", "RG32I", "RG32UI", "RG8", "RG8I", "RG8UI", "RG8_SNORM", "RGB", "RGB10_A2", "RGB10_A2UI", "RGB16F", "RGB16I", "RGB16UI", "RGB32F", "RGB32I", "RGB32UI", "RGB565", "RGB5_A1", "RGB8", "RGB8I", "RGB8UI", "RGB8_SNORM", "RGB9_E5", "RGBA", "RGBA16F", "RGBA16I", "RGBA16UI", "RGBA32F", "RGBA32I", "RGBA32UI", "RGBA4", "RGBA8", "RGBA8I", "RGBA8UI", "RGBA8_SNORM", "RGBA_INTEGER", "RGBColor", "RGB_INTEGER", "RG_INTEGER", "ROTATION_CLOCKWISE", "ROTATION_COUNTERCLOCKWISE", "RTCCertificate", "RTCDTMFSender", "RTCDTMFToneChangeEvent", "RTCDataChannel", "RTCDataChannelEvent", "RTCDtlsTransport", "RTCEncodedAudioFrame", "RTCEncodedVideoFrame", "RTCError", "RTCErrorEvent", "RTCIceCandidate", "RTCIceTransport", "RTCPeerConnection", "RTCPeerConnectionIceErrorEvent", "RTCPeerConnectionIceEvent", "RTCRtpReceiver", "RTCRtpScriptTransform", "RTCRtpSender", "RTCRtpTransceiver", "RTCSctpTransport", "RTCSessionDescription", "RTCStatsReport", "RTCTrackEvent", "RadioNodeList", "Range", "RangeError", "RangeException", "ReadableByteStreamController", "ReadableStream", "ReadableStreamBYOBReader", "ReadableStreamBYOBRequest", "ReadableStreamDefaultController", "ReadableStreamDefaultReader", "RecordErrorEvent", "Rect", "ReferenceError", "Reflect", "RegExp", "RelativeOrientationSensor", "RelativeTimeFormat", "RemotePlayback", "Report", "ReportBody", "ReportingObserver", "Request", "RequestUpdateCheckStatus", "ResizeObserver", "ResizeObserverEntry", "ResizeObserverSize", "Response", "RuntimeError", "SAMPLER_2D", "SAMPLER_2D_ARRAY", "SAMPLER_2D_ARRAY_SHADOW", "SAMPLER_2D_SHADOW", "SAMPLER_3D", "SAMPLER_BINDING", "SAMPLER_CUBE", "SAMPLER_CUBE_SHADOW", "SAMPLES", "SAMPLE_ALPHA_TO_COVERAGE", "SAMPLE_BUFFERS", "SAMPLE_COVERAGE", "SAMPLE_COVERAGE_INVERT", "SAMPLE_COVERAGE_VALUE", "SAWTOOTH", "SCHEDULED_STATE", "SCISSOR_BOX", "SCISSOR_TEST", "SCROLL_PAGE_DOWN", "SCROLL_PAGE_UP", "SDP_ANSWER", "SDP_OFFER", "SDP_PRANSWER", "SECURITY_ERR", "SELECT", "SEPARATE_ATTRIBS", "SERIALIZE_ERR", "SEVERITY_ERROR", "SEVERITY_FATAL_ERROR", "SEVERITY_WARNING", "SHADER_COMPILER", "SHADER_TYPE", "SHADING_LANGUAGE_VERSION", "SHIFT_MASK", "SHORT", "SHOWING", "SHOW_ALL", "SHOW_ATTRIBUTE", "SHOW_CDATA_SECTION", "SHOW_COMMENT", "SHOW_DOCUMENT", "SHOW_DOCUMENT_FRAGMENT", "SHOW_DOCUMENT_TYPE", "SHOW_ELEMENT", "SHOW_ENTITY", "SHOW_ENTITY_REFERENCE", "SHOW_NOTATION", "SHOW_PROCESSING_INSTRUCTION", "SHOW_TEXT", "SIGNALED", "SIGNED_NORMALIZED", "SINE", "SOUNDFIELD", "SQLException", "SQRT1_2", "SQRT2", "SQUARE", "SRC_ALPHA", "SRC_ALPHA_SATURATE", "SRC_COLOR", "SRGB", "SRGB8", "SRGB8_ALPHA8", "START_TO_END", "START_TO_START", "STATIC_COPY", "STATIC_DRAW", "STATIC_READ", "STENCIL", "STENCIL_ATTACHMENT", "STENCIL_BACK_FAIL", "STENCIL_BACK_FUNC", "STENCIL_BACK_PASS_DEPTH_FAIL", "STENCIL_BACK_PASS_DEPTH_PASS", "STENCIL_BACK_REF", "STENCIL_BACK_VALUE_MASK", "STENCIL_BACK_WRITEMASK", "STENCIL_BITS", "STENCIL_BUFFER_BIT", "STENCIL_CLEAR_VALUE", "STENCIL_FAIL", "STENCIL_FUNC", "STENCIL_INDEX", "STENCIL_INDEX8", "STENCIL_PASS_DEPTH_FAIL", "STENCIL_PASS_DEPTH_PASS", "STENCIL_REF", "STENCIL_TEST", "STENCIL_VALUE_MASK", "STENCIL_WRITEMASK", "STORAGE", "STORAGE_BINDING", "STREAM_COPY", "STREAM_DRAW", "STREAM_READ", "STRING_TYPE", "STYLE_RULE", "SUBPIXEL_BITS", "SUPPORTS_RULE", "SVGAElement", "SVGAltGlyphDefElement", "SVGAltGlyphElement", "SVGAltGlyphItemElement", "SVGAngle", "SVGAnimateColorElement", "SVGAnimateElement", "SVGAnimateMotionElement", "SVGAnimateTransformElement", "SVGAnimatedAngle", "SVGAnimatedBoolean", "SVGAnimatedEnumeration", "SVGAnimatedInteger", "SVGAnimatedLength", "SVGAnimatedLengthList", "SVGAnimatedNumber", "SVGAnimatedNumberList", "SVGAnimatedPreserveAspectRatio", "SVGAnimatedRect", "SVGAnimatedString", "SVGAnimatedTransformList", "SVGAnimationElement", "SVGCircleElement", "SVGClipPathElement", "SVGColor", "SVGComponentTransferFunctionElement", "SVGCursorElement", "SVGDefsElement", "SVGDescElement", "SVGDiscardElement", "SVGDocument", "SVGElement", "SVGElementInstance", "SVGElementInstanceList", "SVGEllipseElement", "SVGException", "SVGFEBlendElement", "SVGFEColorMatrixElement", "SVGFEComponentTransferElement", "SVGFECompositeElement", "SVGFEConvolveMatrixElement", "SVGFEDiffuseLightingElement", "SVGFEDisplacementMapElement", "SVGFEDistantLightElement", "SVGFEDropShadowElement", "SVGFEFloodElement", "SVGFEFuncAElement", "SVGFEFuncBElement", "SVGFEFuncGElement", "SVGFEFuncRElement", "SVGFEGaussianBlurElement", "SVGFEImageElement", "SVGFEMergeElement", "SVGFEMergeNodeElement", "SVGFEMorphologyElement", "SVGFEOffsetElement", "SVGFEPointLightElement", "SVGFESpecularLightingElement", "SVGFESpotLightElement", "SVGFETileElement", "SVGFETurbulenceElement", "SVGFilterElement", "SVGFontElement", "SVGFontFaceElement", "SVGFontFaceFormatElement", "SVGFontFaceNameElement", "SVGFontFaceSrcElement", "SVGFontFaceUriElement", "SVGForeignObjectElement", "SVGGElement", "SVGGeometryElement", "SVGGlyphElement", "SVGGlyphRefElement", "SVGGradientElement", "SVGGraphicsElement", "SVGHKernElement", "SVGImageElement", "SVGLength", "SVGLengthList", "SVGLineElement", "SVGLinearGradientElement", "SVGMPathElement", "SVGMarkerElement", "SVGMaskElement", "SVGMatrix", "SVGMetadataElement", "SVGMissingGlyphElement", "SVGNumber", "SVGNumberList", "SVGPaint", "SVGPathElement", "SVGPathSeg", "SVGPathSegArcAbs", "SVGPathSegArcRel", "SVGPathSegClosePath", "SVGPathSegCurvetoCubicAbs", "SVGPathSegCurvetoCubicRel", "SVGPathSegCurvetoCubicSmoothAbs", "SVGPathSegCurvetoCubicSmoothRel", "SVGPathSegCurvetoQuadraticAbs", "SVGPathSegCurvetoQuadraticRel", "SVGPathSegCurvetoQuadraticSmoothAbs", "SVGPathSegCurvetoQuadraticSmoothRel", "SVGPathSegLinetoAbs", "SVGPathSegLinetoHorizontalAbs", "SVGPathSegLinetoHorizontalRel", "SVGPathSegLinetoRel", "SVGPathSegLinetoVerticalAbs", "SVGPathSegLinetoVerticalRel", "SVGPathSegList", "SVGPathSegMovetoAbs", "SVGPathSegMovetoRel", "SVGPatternElement", "SVGPoint", "SVGPointList", "SVGPolygonElement", "SVGPolylineElement", "SVGPreserveAspectRatio", "SVGRadialGradientElement", "SVGRect", "SVGRectElement", "SVGRenderingIntent", "SVGSVGElement", "SVGScriptElement", "SVGSetElement", "SVGStopElement", "SVGStringList", "SVGStyleElement", "SVGSwitchElement", "SVGSymbolElement", "SVGTRefElement", "SVGTSpanElement", "SVGTextContentElement", "SVGTextElement", "SVGTextPathElement", "SVGTextPositioningElement", "SVGTitleElement", "SVGTransform", "SVGTransformList", "SVGUnitTypes", "SVGUseElement", "SVGVKernElement", "SVGViewElement", "SVGViewSpec", "SVGZoomAndPan", "SVGZoomEvent", "SVG_ANGLETYPE_DEG", "SVG_ANGLETYPE_GRAD", "SVG_ANGLETYPE_RAD", "SVG_ANGLETYPE_UNKNOWN", "SVG_ANGLETYPE_UNSPECIFIED", "SVG_CHANNEL_A", "SVG_CHANNEL_B", "SVG_CHANNEL_G", "SVG_CHANNEL_R", "SVG_CHANNEL_UNKNOWN", "SVG_COLORTYPE_CURRENTCOLOR", "SVG_COLORTYPE_RGBCOLOR", "SVG_COLORTYPE_RGBCOLOR_ICCCOLOR", "SVG_COLORTYPE_UNKNOWN", "SVG_EDGEMODE_DUPLICATE", "SVG_EDGEMODE_NONE", "SVG_EDGEMODE_UNKNOWN", "SVG_EDGEMODE_WRAP", "SVG_FEBLEND_MODE_COLOR", "SVG_FEBLEND_MODE_COLOR_BURN", "SVG_FEBLEND_MODE_COLOR_DODGE", "SVG_FEBLEND_MODE_DARKEN", "SVG_FEBLEND_MODE_DIFFERENCE", "SVG_FEBLEND_MODE_EXCLUSION", "SVG_FEBLEND_MODE_HARD_LIGHT", "SVG_FEBLEND_MODE_HUE", "SVG_FEBLEND_MODE_LIGHTEN", "SVG_FEBLEND_MODE_LUMINOSITY", "SVG_FEBLEND_MODE_MULTIPLY", "SVG_FEBLEND_MODE_NORMAL", "SVG_FEBLEND_MODE_OVERLAY", "SVG_FEBLEND_MODE_SATURATION", "SVG_FEBLEND_MODE_SCREEN", "SVG_FEBLEND_MODE_SOFT_LIGHT", "SVG_FEBLEND_MODE_UNKNOWN", "SVG_FECOLORMATRIX_TYPE_HUEROTATE", "SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA", "SVG_FECOLORMATRIX_TYPE_MATRIX", "SVG_FECOLORMATRIX_TYPE_SATURATE", "SVG_FECOLORMATRIX_TYPE_UNKNOWN", "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", "SVG_FECOMPOSITE_OPERATOR_ARITHMETIC", "SVG_FECOMPOSITE_OPERATOR_ATOP", "SVG_FECOMPOSITE_OPERATOR_IN", "SVG_FECOMPOSITE_OPERATOR_LIGHTER", "SVG_FECOMPOSITE_OPERATOR_OUT", "SVG_FECOMPOSITE_OPERATOR_OVER", "SVG_FECOMPOSITE_OPERATOR_UNKNOWN", "SVG_FECOMPOSITE_OPERATOR_XOR", "SVG_INVALID_VALUE_ERR", "SVG_LENGTHTYPE_CM", "SVG_LENGTHTYPE_EMS", "SVG_LENGTHTYPE_EXS", "SVG_LENGTHTYPE_IN", "SVG_LENGTHTYPE_MM", "SVG_LENGTHTYPE_NUMBER", "SVG_LENGTHTYPE_PC", "SVG_LENGTHTYPE_PERCENTAGE", "SVG_LENGTHTYPE_PT", "SVG_LENGTHTYPE_PX", "SVG_LENGTHTYPE_UNKNOWN", "SVG_MARKERUNITS_STROKEWIDTH", "SVG_MARKERUNITS_UNKNOWN", "SVG_MARKERUNITS_USERSPACEONUSE", "SVG_MARKER_ORIENT_ANGLE", "SVG_MARKER_ORIENT_AUTO", "SVG_MARKER_ORIENT_AUTO_START_REVERSE", "SVG_MARKER_ORIENT_UNKNOWN", "SVG_MASKTYPE_ALPHA", "SVG_MASKTYPE_LUMINANCE", "SVG_MATRIX_NOT_INVERTABLE", "SVG_MEETORSLICE_MEET", "SVG_MEETORSLICE_SLICE", "SVG_MEETORSLICE_UNKNOWN", "SVG_MORPHOLOGY_OPERATOR_DILATE", "SVG_MORPHOLOGY_OPERATOR_ERODE", "SVG_MORPHOLOGY_OPERATOR_UNKNOWN", "SVG_PAINTTYPE_CURRENTCOLOR", "SVG_PAINTTYPE_NONE", "SVG_PAINTTYPE_RGBCOLOR", "SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR", "SVG_PAINTTYPE_UNKNOWN", "SVG_PAINTTYPE_URI", "SVG_PAINTTYPE_URI_CURRENTCOLOR", "SVG_PAINTTYPE_URI_NONE", "SVG_PAINTTYPE_URI_RGBCOLOR", "SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR", "SVG_PRESERVEASPECTRATIO_NONE", "SVG_PRESERVEASPECTRATIO_UNKNOWN", "SVG_PRESERVEASPECTRATIO_XMAXYMAX", "SVG_PRESERVEASPECTRATIO_XMAXYMID", "SVG_PRESERVEASPECTRATIO_XMAXYMIN", "SVG_PRESERVEASPECTRATIO_XMIDYMAX", "SVG_PRESERVEASPECTRATIO_XMIDYMID", "SVG_PRESERVEASPECTRATIO_XMIDYMIN", "SVG_PRESERVEASPECTRATIO_XMINYMAX", "SVG_PRESERVEASPECTRATIO_XMINYMID", "SVG_PRESERVEASPECTRATIO_XMINYMIN", "SVG_SPREADMETHOD_PAD", "SVG_SPREADMETHOD_REFLECT", "SVG_SPREADMETHOD_REPEAT", "SVG_SPREADMETHOD_UNKNOWN", "SVG_STITCHTYPE_NOSTITCH", "SVG_STITCHTYPE_STITCH", "SVG_STITCHTYPE_UNKNOWN", "SVG_TRANSFORM_MATRIX", "SVG_TRANSFORM_ROTATE", "SVG_TRANSFORM_SCALE", "SVG_TRANSFORM_SKEWX", "SVG_TRANSFORM_SKEWY", "SVG_TRANSFORM_TRANSLATE", "SVG_TRANSFORM_UNKNOWN", "SVG_TURBULENCE_TYPE_FRACTALNOISE", "SVG_TURBULENCE_TYPE_TURBULENCE", "SVG_TURBULENCE_TYPE_UNKNOWN", "SVG_UNIT_TYPE_OBJECTBOUNDINGBOX", "SVG_UNIT_TYPE_UNKNOWN", "SVG_UNIT_TYPE_USERSPACEONUSE", "SVG_WRONG_TYPE_ERR", "SVG_ZOOMANDPAN_DISABLE", "SVG_ZOOMANDPAN_MAGNIFY", "SVG_ZOOMANDPAN_UNKNOWN", "SYNC_CONDITION", "SYNC_FENCE", "SYNC_FLAGS", "SYNC_FLUSH_COMMANDS_BIT", "SYNC_GPU_COMMANDS_COMPLETE", "SYNC_STATUS", "SYNTAX_ERR", "SavedPages", "Scheduler", "Scheduling", "Screen", "ScreenDetailed", "ScreenDetails", "ScreenOrientation", "Script", "ScriptProcessorNode", "ScrollAreaEvent", "ScrollTimeline", "SecurityPolicyViolationEvent", "Segmenter", "Selection", "Sensor", "SensorErrorEvent", "Serial", "SerialPort", "ServiceWorker", "ServiceWorkerContainer", "ServiceWorkerRegistration", "SessionDescription", "Set", "ShadowRoot", "SharedArrayBuffer", "SharedStorage", "SharedStorageWorklet", "SharedWorker", "SharingState", "SimpleGestureEvent", "SnapEvent", "SourceBuffer", "SourceBufferList", "SpeechSynthesis", "SpeechSynthesisErrorEvent", "SpeechSynthesisEvent", "SpeechSynthesisUtterance", "SpeechSynthesisVoice", "StaticRange", "StereoPannerNode", "StopIteration", "Storage", "StorageBucket", "StorageBucketManager", "StorageEvent", "StorageManager", "String", "StructType", "StylePropertyMap", "StylePropertyMapReadOnly", "StyleSheet", "StyleSheetList", "SubmitEvent", "SubtleCrypto", "Symbol", "SyncManager", "SyntaxError", "TAB_ID_NONE", "TAB_INDEX_NONE", "TEMPORARY", "TEXTPATH_METHODTYPE_ALIGN", "TEXTPATH_METHODTYPE_STRETCH", "TEXTPATH_METHODTYPE_UNKNOWN", "TEXTPATH_SPACINGTYPE_AUTO", "TEXTPATH_SPACINGTYPE_EXACT", "TEXTPATH_SPACINGTYPE_UNKNOWN", "TEXTURE", "TEXTURE0", "TEXTURE1", "TEXTURE10", "TEXTURE11", "TEXTURE12", "TEXTURE13", "TEXTURE14", "TEXTURE15", "TEXTURE16", "TEXTURE17", "TEXTURE18", "TEXTURE19", "TEXTURE2", "TEXTURE20", "TEXTURE21", "TEXTURE22", "TEXTURE23", "TEXTURE24", "TEXTURE25", "TEXTURE26", "TEXTURE27", "TEXTURE28", "TEXTURE29", "TEXTURE3", "TEXTURE30", "TEXTURE31", "TEXTURE4", "TEXTURE5", "TEXTURE6", "TEXTURE7", "TEXTURE8", "TEXTURE9", "TEXTURE_2D", "TEXTURE_2D_ARRAY", "TEXTURE_3D", "TEXTURE_BASE_LEVEL", "TEXTURE_BINDING", "TEXTURE_BINDING_2D", "TEXTURE_BINDING_2D_ARRAY", "TEXTURE_BINDING_3D", "TEXTURE_BINDING_CUBE_MAP", "TEXTURE_COMPARE_FUNC", "TEXTURE_COMPARE_MODE", "TEXTURE_CUBE_MAP", "TEXTURE_CUBE_MAP_NEGATIVE_X", "TEXTURE_CUBE_MAP_NEGATIVE_Y", "TEXTURE_CUBE_MAP_NEGATIVE_Z", "TEXTURE_CUBE_MAP_POSITIVE_X", "TEXTURE_CUBE_MAP_POSITIVE_Y", "TEXTURE_CUBE_MAP_POSITIVE_Z", "TEXTURE_IMMUTABLE_FORMAT", "TEXTURE_IMMUTABLE_LEVELS", "TEXTURE_MAG_FILTER", "TEXTURE_MAX_ANISOTROPY_EXT", "TEXTURE_MAX_LEVEL", "TEXTURE_MAX_LOD", "TEXTURE_MIN_FILTER", "TEXTURE_MIN_LOD", "TEXTURE_WRAP_R", "TEXTURE_WRAP_S", "TEXTURE_WRAP_T", "TEXT_NODE", "TIMEOUT", "TIMEOUT_ERR", "TIMEOUT_EXPIRED", "TIMEOUT_IGNORED", "TOO_LARGE_ERR", "TRANSACTION_INACTIVE_ERR", "TRANSFORM_FEEDBACK", "TRANSFORM_FEEDBACK_ACTIVE", "TRANSFORM_FEEDBACK_BINDING", "TRANSFORM_FEEDBACK_BUFFER", "TRANSFORM_FEEDBACK_BUFFER_BINDING", "TRANSFORM_FEEDBACK_BUFFER_MODE", "TRANSFORM_FEEDBACK_BUFFER_SIZE", "TRANSFORM_FEEDBACK_BUFFER_START", "TRANSFORM_FEEDBACK_PAUSED", "TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN", "TRANSFORM_FEEDBACK_VARYINGS", "TRIANGLE", "TRIANGLES", "TRIANGLE_FAN", "TRIANGLE_STRIP", "TYPE_BACK_FORWARD", "TYPE_ERR", "TYPE_MISMATCH_ERR", "TYPE_NAVIGATE", "TYPE_RELOAD", "TYPE_RESERVED", "Tab", "TabStatus", "Table", "Tag", "TaskAttributionTiming", "TaskController", "TaskPriorityChangeEvent", "TaskSignal", "Text", "TextDecoder", "TextDecoderStream", "TextEncoder", "TextEncoderStream", "TextEvent", "TextFormat", "TextFormatUpdateEvent", "TextMetrics", "TextTrack", "TextTrackCue", "TextTrackCueList", "TextTrackList", "TextUpdateEvent", "TimeEvent", "TimeRanges", "ToggleEvent", "Touch", "TouchEvent", "TouchList", "TrackEvent", "TransformStream", "TransformStreamDefaultController", "TransitionEvent", "TreeWalker", "TrustedHTML", "TrustedScript", "TrustedScriptURL", "TrustedTypePolicy", "TrustedTypePolicyFactory", "TypeError", "TypedObject", "U2F", "UIEvent", "UNCACHED", "UNIFORM", "UNIFORM_ARRAY_STRIDE", "UNIFORM_BLOCK_ACTIVE_UNIFORMS", "UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES", "UNIFORM_BLOCK_BINDING", "UNIFORM_BLOCK_DATA_SIZE", "UNIFORM_BLOCK_INDEX", "UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER", "UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER", "UNIFORM_BUFFER", "UNIFORM_BUFFER_BINDING", "UNIFORM_BUFFER_OFFSET_ALIGNMENT", "UNIFORM_BUFFER_SIZE", "UNIFORM_BUFFER_START", "UNIFORM_IS_ROW_MAJOR", "UNIFORM_MATRIX_STRIDE", "UNIFORM_OFFSET", "UNIFORM_SIZE", "UNIFORM_TYPE", "UNKNOWN_ERR", "UNKNOWN_RULE", "UNMASKED_RENDERER_WEBGL", "UNMASKED_VENDOR_WEBGL", "UNORDERED_NODE_ITERATOR_TYPE", "UNORDERED_NODE_SNAPSHOT_TYPE", "UNPACK_ALIGNMENT", "UNPACK_COLORSPACE_CONVERSION_WEBGL", "UNPACK_FLIP_Y_WEBGL", "UNPACK_IMAGE_HEIGHT", "UNPACK_PREMULTIPLY_ALPHA_WEBGL", "UNPACK_ROW_LENGTH", "UNPACK_SKIP_IMAGES", "UNPACK_SKIP_PIXELS", "UNPACK_SKIP_ROWS", "UNSCHEDULED_STATE", "UNSENT", "UNSIGNALED", "UNSIGNED_BYTE", "UNSIGNED_INT", "UNSIGNED_INT_10F_11F_11F_REV", "UNSIGNED_INT_24_8", "UNSIGNED_INT_2_10_10_10_REV", "UNSIGNED_INT_5_9_9_9_REV", "UNSIGNED_INT_SAMPLER_2D", "UNSIGNED_INT_SAMPLER_2D_ARRAY", "UNSIGNED_INT_SAMPLER_3D", "UNSIGNED_INT_SAMPLER_CUBE", "UNSIGNED_INT_VEC2", "UNSIGNED_INT_VEC3", "UNSIGNED_INT_VEC4", "UNSIGNED_NORMALIZED", "UNSIGNED_SHORT", "UNSIGNED_SHORT_4_4_4_4", "UNSIGNED_SHORT_5_5_5_1", "UNSIGNED_SHORT_5_6_5", "UNSPECIFIED_EVENT_TYPE_ERR", "UPDATEREADY", "URIError", "URL", "URLPattern", "URLSearchParams", "URLUnencoded", "URL_MISMATCH_ERR", "USB", "USBAlternateInterface", "USBConfiguration", "USBConnectionEvent", "USBDevice", "USBEndpoint", "USBInTransferResult", "USBInterface", "USBIsochronousInTransferPacket", "USBIsochronousInTransferResult", "USBIsochronousOutTransferPacket", "USBIsochronousOutTransferResult", "USBOutTransferResult", "UTC", "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray", "UpdateFilter", "UpdatePropertyName", "UserActivation", "UserMessageHandler", "UserMessageHandlersNamespace", "UserProximityEvent", "VALIDATE_STATUS", "VALIDATION_ERR", "VARIABLES_RULE", "VENDOR", "VERSION", "VERSION_CHANGE", "VERSION_ERR", "VERTEX", "VERTEX_ARRAY_BINDING", "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING", "VERTEX_ATTRIB_ARRAY_DIVISOR", "VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE", "VERTEX_ATTRIB_ARRAY_ENABLED", "VERTEX_ATTRIB_ARRAY_INTEGER", "VERTEX_ATTRIB_ARRAY_NORMALIZED", "VERTEX_ATTRIB_ARRAY_POINTER", "VERTEX_ATTRIB_ARRAY_SIZE", "VERTEX_ATTRIB_ARRAY_STRIDE", "VERTEX_ATTRIB_ARRAY_TYPE", "VERTEX_SHADER", "VERTICAL", "VERTICAL_AXIS", "VER_ERR", "VIEWPORT", "VIEWPORT_RULE", "VRDisplay", "VRDisplayCapabilities", "VRDisplayEvent", "VREyeParameters", "VRFieldOfView", "VRFrameData", "VRPose", "VRStageParameters", "VTTCue", "VTTRegion", "ValidityState", "VideoColorSpace", "VideoDecoder", "VideoEncoder", "VideoFrame", "VideoPlaybackQuality", "VideoStreamTrack", "ViewTimeline", "ViewTransition", "ViewTransitionTypeSet", "ViewType", "VirtualKeyboard", "VirtualKeyboardGeometryChangeEvent", "VisibilityStateEntry", "VisualViewport", "WAIT_FAILED", "WEBKIT_FILTER_RULE", "WEBKIT_KEYFRAMES_RULE", "WEBKIT_KEYFRAME_RULE", "WEBKIT_REGION_RULE", "WGSLLanguageFeatures", "WINDOW_ID_CURRENT", "WINDOW_ID_NONE", "WRITE", "WRONG_DOCUMENT_ERR", "WakeLock", "WakeLockSentinel", "WasmAnyRef", "WaveShaperNode", "WeakMap", "WeakRef", "WeakSet", "WebAssembly", "WebGL2RenderingContext", "WebGLActiveInfo", "WebGLBuffer", "WebGLContextEvent", "WebGLFramebuffer", "WebGLObject", "WebGLProgram", "WebGLQuery", "WebGLRenderbuffer", "WebGLRenderingContext", "WebGLSampler", "WebGLShader", "WebGLShaderPrecisionFormat", "WebGLSync", "WebGLTexture", "WebGLTransformFeedback", "WebGLUniformLocation", "WebGLVertexArray", "WebGLVertexArrayObject", "WebKitAnimationEvent", "WebKitBlobBuilder", "WebKitCSSFilterRule", "WebKitCSSFilterValue", "WebKitCSSKeyframeRule", "WebKitCSSKeyframesRule", "WebKitCSSMatrix", "WebKitCSSRegionRule", "WebKitCSSTransformValue", "WebKitDataCue", "WebKitGamepad", "WebKitMediaKeyError", "WebKitMediaKeyMessageEvent", "WebKitMediaKeySession", "WebKitMediaKeys", "WebKitMediaSource", "WebKitMutationObserver", "WebKitNamespace", "WebKitPlaybackTargetAvailabilityEvent", "WebKitPoint", "WebKitShadowRoot", "WebKitSourceBuffer", "WebKitSourceBufferList", "WebKitTransitionEvent", "WebSocket", "WebSocketError", "WebSocketStream", "WebTransport", "WebTransportBidirectionalStream", "WebTransportDatagramDuplexStream", "WebTransportError", "WebTransportReceiveStream", "WebTransportSendStream", "WebkitAlignContent", "WebkitAlignItems", "WebkitAlignSelf", "WebkitAnimation", "WebkitAnimationDelay", "WebkitAnimationDirection", "WebkitAnimationDuration", "WebkitAnimationFillMode", "WebkitAnimationIterationCount", "WebkitAnimationName", "WebkitAnimationPlayState", "WebkitAnimationTimingFunction", "WebkitAppearance", "WebkitBackfaceVisibility", "WebkitBackgroundClip", "WebkitBackgroundOrigin", "WebkitBackgroundSize", "WebkitBorderBottomLeftRadius", "WebkitBorderBottomRightRadius", "WebkitBorderImage", "WebkitBorderRadius", "WebkitBorderTopLeftRadius", "WebkitBorderTopRightRadius", "WebkitBoxAlign", "WebkitBoxDirection", "WebkitBoxFlex", "WebkitBoxOrdinalGroup", "WebkitBoxOrient", "WebkitBoxPack", "WebkitBoxShadow", "WebkitBoxSizing", "WebkitClipPath", "WebkitFilter", "WebkitFlex", "WebkitFlexBasis", "WebkitFlexDirection", "WebkitFlexFlow", "WebkitFlexGrow", "WebkitFlexShrink", "WebkitFlexWrap", "WebkitFontFeatureSettings", "WebkitJustifyContent", "WebkitLineClamp", "WebkitMask", "WebkitMaskClip", "WebkitMaskComposite", "WebkitMaskImage", "WebkitMaskOrigin", "WebkitMaskPosition", "WebkitMaskPositionX", "WebkitMaskPositionY", "WebkitMaskRepeat", "WebkitMaskSize", "WebkitOrder", "WebkitPerspective", "WebkitPerspectiveOrigin", "WebkitTextFillColor", "WebkitTextSecurity", "WebkitTextSizeAdjust", "WebkitTextStroke", "WebkitTextStrokeColor", "WebkitTextStrokeWidth", "WebkitTransform", "WebkitTransformOrigin", "WebkitTransformStyle", "WebkitTransition", "WebkitTransitionDelay", "WebkitTransitionDuration", "WebkitTransitionProperty", "WebkitTransitionTimingFunction", "WebkitUserSelect", "WheelEvent", "Window", "WindowControlsOverlay", "WindowControlsOverlayGeometryChangeEvent", "WindowState", "WindowType", "Worker", "Worklet", "WritableStream", "WritableStreamDefaultController", "WritableStreamDefaultWriter", "XMLDocument", "XMLHttpRequest", "XMLHttpRequestEventTarget", "XMLHttpRequestException", "XMLHttpRequestProgressEvent", "XMLHttpRequestUpload", "XMLSerializer", "XMLStylesheetProcessingInstruction", "XPathEvaluator", "XPathException", "XPathExpression", "XPathNSResolver", "XPathResult", "XRAnchor", "XRAnchorSet", "XRBoundedReferenceSpace", "XRCPUDepthInformation", "XRCamera", "XRDOMOverlayState", "XRDepthInformation", "XRFrame", "XRHand", "XRHitTestResult", "XRHitTestSource", "XRInputSource", "XRInputSourceArray", "XRInputSourceEvent", "XRInputSourcesChangeEvent", "XRJointPose", "XRJointSpace", "XRLayer", "XRLightEstimate", "XRLightProbe", "XRPose", "XRRay", "XRReferenceSpace", "XRReferenceSpaceEvent", "XRRenderState", "XRRigidTransform", "XRSession", "XRSessionEvent", "XRSpace", "XRSystem", "XRTransientInputHitTestResult", "XRTransientInputHitTestSource", "XRView", "XRViewerPose", "XRViewport", "XRWebGLBinding", "XRWebGLDepthInformation", "XRWebGLLayer", "XSLTProcessor", "ZERO", "ZoomSettings", "ZoomSettingsMode", "ZoomSettingsScope", "_XD0M_", "_YD0M_", "__REACT_DEVTOOLS_GLOBAL_HOOK__", "__brand", "__defineGetter__", "__defineSetter__", "__lookupGetter__", "__lookupSetter__", "__opera", "__proto__", "_browserjsran", "a", "aLink", "abbr", "abort", "aborted", "aboutConfigPrefs", "abs", "absolute", "acceleration", "accelerationIncludingGravity", "accelerator", "accent-color", "accentColor", "accept", "acceptCharset", "acceptNode", "access", "accessKey", "accessKeyLabel", "accuracy", "acos", "acosh", "action", "actionURL", "actions", "activated", "activation", "activationStart", "active", "activeCues", "activeElement", "activeSourceBuffers", "activeSourceCount", "activeTexture", "activeVRDisplays", "activityLog", "actualBoundingBoxAscent", "actualBoundingBoxDescent", "actualBoundingBoxLeft", "actualBoundingBoxRight", "adAuctionComponents", "adAuctionHeaders", "add", "addAll", "addBehavior", "addCandidate", "addColorStop", "addCue", "addElement", "addEventListener", "addFilter", "addFromString", "addFromUri", "addIceCandidate", "addImport", "addListener", "addModule", "addNamed", "addPageRule", "addPath", "addPointer", "addRange", "addRegion", "addRule", "addSearchEngine", "addSourceBuffer", "addStream", "addTextTrack", "addTrack", "addTransceiver", "addWakeLockListener", "added", "addedNodes", "additionalName", "additiveSymbols", "addons", "address", "addressLine", "addressModeU", "addressModeV", "addressModeW", "adoptNode", "adoptedCallback", "adoptedStyleSheets", "adr", "advance", "after", "alarms", "album", "alert", "algorithm", "align", "align-content", "align-items", "align-self", "alignContent", "alignItems", "alignSelf", "alignmentBaseline", "alinkColor", "all", "allSettled", "allocationSize", "allow", "allowFullscreen", "allowPaymentRequest", "allowedDirections", "allowedFeatures", "allowedToPlay", "allowsFeature", "alpha", "alphaMode", "alphaToCoverageEnabled", "alphabeticBaseline", "alt", "altGraphKey", "altHtml", "altKey", "altLeft", "alternate", "alternateSetting", "alternates", "altitude", "altitudeAccuracy", "altitudeAngle", "amplitude", "ancestorOrigins", "anchor", "anchorNode", "anchorOffset", "anchorSpace", "anchors", "and", "angle", "angularAcceleration", "angularVelocity", "animVal", "animate", "animated", "animatedInstanceRoot", "animatedNormalizedPathSegList", "animatedPathSegList", "animatedPoints", "animation", "animation-composition", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timing-function", "animationComposition", "animationDelay", "animationDirection", "animationDuration", "animationFillMode", "animationIterationCount", "animationName", "animationPlayState", "animationStartTime", "animationTimingFunction", "animationsPaused", "anniversary", "antialias", "anticipatedRemoval", "any", "app", "appCodeName", "appMinorVersion", "appName", "appNotifications", "appVersion", "appearance", "append", "appendBuffer", "appendChild", "appendData", "appendItem", "appendMedium", "appendNamed", "appendRule", "appendStream", "appendWindowEnd", "appendWindowStart", "applets", "applicationCache", "applicationServerKey", "apply", "applyConstraints", "applyElement", "arc", "arcTo", "arch", "architecture", "archive", "areas", "arguments", "ariaAtomic", "ariaAutoComplete", "ariaBrailleLabel", "ariaBrailleRoleDescription", "ariaBusy", "ariaChecked", "ariaColCount", "ariaColIndex", "ariaColIndexText", "ariaColSpan", "ariaCurrent", "ariaDescription", "ariaDisabled", "ariaExpanded", "ariaHasPopup", "ariaHidden", "ariaInvalid", "ariaKeyShortcuts", "ariaLabel", "ariaLevel", "ariaLive", "ariaModal", "ariaMultiLine", "ariaMultiSelectable", "ariaOrientation", "ariaPlaceholder", "ariaPosInSet", "ariaPressed", "ariaReadOnly", "ariaRelevant", "ariaRequired", "ariaRoleDescription", "ariaRowCount", "ariaRowIndex", "ariaRowIndexText", "ariaRowSpan", "ariaSelected", "ariaSetSize", "ariaSort", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "arrayBuffer", "arrayLayerCount", "arrayStride", "artist", "artwork", "as", "asIntN", "asUintN", "ascentOverride", "asin", "asinh", "aspect", "aspect-ratio", "aspectRatio", "assert", "assign", "assignedElements", "assignedNodes", "assignedSlot", "async", "asyncDispose", "asyncIterator", "at", "atEnd", "atan", "atan2", "atanh", "atob", "attachEvent", "attachInternals", "attachShader", "attachShadow", "attachedElements", "attachments", "attack", "attestationObject", "attrChange", "attrName", "attributeChangedCallback", "attributeFilter", "attributeName", "attributeNamespace", "attributeOldValue", "attributeStyleMap", "attributes", "attribution", "attributionSrc", "audioBitrateMode", "audioBitsPerSecond", "audioTracks", "audioWorklet", "authenticatedSignedWrites", "authenticatorAttachment", "authenticatorData", "autoIncrement", "autobuffer", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "automationRate", "autoplay", "availHeight", "availLeft", "availTop", "availWidth", "availability", "available", "averageLatency", "aversion", "ax", "axes", "axis", "ay", "azimuth", "azimuthAngle", "b", "back", "backdrop-filter", "backdropFilter", "backends", "backface-visibility", "backfaceVisibility", "background", "background-attachment", "background-blend-mode", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-position-x", "background-position-y", "background-repeat", "background-size", "backgroundAttachment", "backgroundBlendMode", "backgroundClip", "backgroundColor", "backgroundFetch", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundPositionX", "backgroundPositionY", "backgroundRepeat", "backgroundSize", "badInput", "badge", "balance", "baseArrayLayer", "baseFrequencyX", "baseFrequencyY", "baseLatency", "baseLayer", "baseMipLevel", "baseNode", "baseOffset", "basePalette", "baseURI", "baseVal", "baseline-source", "baselineShift", "baselineSource", "battery", "bday", "before", "beginComputePass", "beginElement", "beginElementAt", "beginOcclusionQuery", "beginPath", "beginQuery", "beginRenderPass", "beginTransformFeedback", "beginningOfPassWriteIndex", "behavior", "behaviorCookie", "behaviorPart", "behaviorUrns", "beta", "bezierCurveTo", "bgColor", "bgProperties", "bias", "big", "bigint64", "biguint64", "binaryType", "bind", "bindAttribLocation", "bindBuffer", "bindBufferBase", "bindBufferRange", "bindFramebuffer", "bindGroupLayouts", "bindRenderbuffer", "bindSampler", "bindTexture", "bindTransformFeedback", "bindVertexArray", "binding", "bitness", "blend", "blendColor", "blendEquation", "blendEquationSeparate", "blendFunc", "blendFuncSeparate", "blink", "blitFramebuffer", "blob", "block-size", "blockDirection", "blockSize", "blockedURI", "blocking", "blockingDuration", "blue", "bluetooth", "blur", "body", "bodyUsed", "bold", "bookmarks", "booleanValue", "border", "border-block", "border-block-color", "border-block-end", "border-block-end-color", "border-block-end-style", "border-block-end-width", "border-block-start", "border-block-start-color", "border-block-start-style", "border-block-start-width", "border-block-style", "border-block-width", "border-bottom", "border-bottom-color", "border-bottom-left-radius", "border-bottom-right-radius", "border-bottom-style", "border-bottom-width", "border-collapse", "border-color", "border-end-end-radius", "border-end-start-radius", "border-image", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width", "border-inline", "border-inline-color", "border-inline-end", "border-inline-end-color", "border-inline-end-style", "border-inline-end-width", "border-inline-start", "border-inline-start-color", "border-inline-start-style", "border-inline-start-width", "border-inline-style", "border-inline-width", "border-left", "border-left-color", "border-left-style", "border-left-width", "border-radius", "border-right", "border-right-color", "border-right-style", "border-right-width", "border-spacing", "border-start-end-radius", "border-start-start-radius", "border-style", "border-top", "border-top-color", "border-top-left-radius", "border-top-right-radius", "border-top-style", "border-top-width", "border-width", "borderBlock", "borderBlockColor", "borderBlockEnd", "borderBlockEndColor", "borderBlockEndStyle", "borderBlockEndWidth", "borderBlockStart", "borderBlockStartColor", "borderBlockStartStyle", "borderBlockStartWidth", "borderBlockStyle", "borderBlockWidth", "borderBottom", "borderBottomColor", "borderBottomLeftRadius", "borderBottomRightRadius", "borderBottomStyle", "borderBottomWidth", "borderBoxSize", "borderCollapse", "borderColor", "borderColorDark", "borderColorLight", "borderEndEndRadius", "borderEndStartRadius", "borderImage", "borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth", "borderInline", "borderInlineColor", "borderInlineEnd", "borderInlineEndColor", "borderInlineEndStyle", "borderInlineEndWidth", "borderInlineStart", "borderInlineStartColor", "borderInlineStartStyle", "borderInlineStartWidth", "borderInlineStyle", "borderInlineWidth", "borderLeft", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "borderRadius", "borderRight", "borderRightColor", "borderRightStyle", "borderRightWidth", "borderSpacing", "borderStartEndRadius", "borderStartStartRadius", "borderStyle", "borderTop", "borderTopColor", "borderTopLeftRadius", "borderTopRightRadius", "borderTopStyle", "borderTopWidth", "borderWidth", "bottom", "bottomMargin", "bound", "boundElements", "boundingClientRect", "boundingHeight", "boundingLeft", "boundingRect", "boundingTop", "boundingWidth", "bounds", "boundsGeometry", "box-decoration-break", "box-shadow", "box-sizing", "boxDecorationBreak", "boxShadow", "boxSizing", "brand", "brands", "break-after", "break-before", "break-inside", "breakAfter", "breakBefore", "breakInside", "broadcast", "browser", "browserLanguage", "browserSettings", "browsingData", "browsingTopics", "btoa", "bubbles", "buffer", "bufferData", "bufferDepth", "bufferSize", "bufferSubData", "buffered", "bufferedAmount", "bufferedAmountLowThreshold", "buffers", "buildID", "buildNumber", "button", "buttonID", "buttons", "byobRequest", "byteLength", "byteOffset", "bytes", "bytesPerRow", "bytesWritten", "c", "cache", "caches", "call", "caller", "camera", "canBeFormatted", "canBeMounted", "canBeShared", "canConstructInDedicatedWorker", "canGoBack", "canGoForward", "canHaveChildren", "canHaveHTML", "canInsertDTMF", "canIntercept", "canLoadAdAuctionFencedFrame", "canLoadOpaqueURL", "canMakePayment", "canParse", "canPlayType", "canPresent", "canShare", "canTransition", "canTrickleIceCandidates", "cancel", "cancelAndHoldAtTime", "cancelAnimationFrame", "cancelBubble", "cancelIdleCallback", "cancelScheduledValues", "cancelVideoFrameCallback", "cancelWatchAvailability", "cancelable", "candidate", "canonicalUUID", "canvas", "cap", "capabilities", "caption", "caption-side", "captionSide", "captivePortal", "capture", "captureEvents", "captureStackTrace", "captureStream", "captureTab", "captureVisibleTab", "caret-color", "caretBidiLevel", "caretColor", "caretPositionFromPoint", "caretRangeFromPoint", "cast", "catch", "category", "cbrt", "cd", "ceil", "cellIndex", "cellPadding", "cellSpacing", "cells", "ch", "chOff", "chain", "challenge", "changeType", "changed", "changedTouches", "channel", "channelCount", "channelCountMode", "channelInterpretation", "chapterInfo", "char", "charAt", "charCode", "charCodeAt", "charIndex", "charLength", "characterBounds", "characterBoundsRangeStart", "characterData", "characterDataOldValue", "characterSet", "characteristic", "charging", "chargingTime", "charset", "check", "checkDCE", "checkEnclosure", "checkFramebufferStatus", "checkIntersection", "checkValidity", "checkVisibility", "checked", "childElementCount", "childList", "childNodes", "children", "chrome", "ciphertext", "cite", "city", "claimInterface", "claimed", "classList", "className", "classid", "clear", "clearAppBadge", "clearAttributes", "clearBuffer", "clearBufferfi", "clearBufferfv", "clearBufferiv", "clearBufferuiv", "clearColor", "clearData", "clearDepth", "clearHalt", "clearImmediate", "clearInterval", "clearLiveSeekableRange", "clearMarks", "clearMaxGCPauseAccumulator", "clearMeasures", "clearOriginJoinedAdInterestGroups", "clearParameters", "clearRect", "clearResourceTimings", "clearShadow", "clearStencil", "clearTimeout", "clearValue", "clearWatch", "click", "clickCount", "clientDataJSON", "clientHeight", "clientInformation", "clientLeft", "clientRect", "clientRects", "clientTop", "clientWaitSync", "clientWidth", "clientX", "clientY", "clip", "clip-path", "clip-rule", "clipBottom", "clipLeft", "clipPath", "clipPathUnits", "clipRight", "clipRule", "clipTop", "clipboard", "clipboardData", "clonable", "clone", "cloneContents", "cloneNode", "cloneRange", "close", "closeCode", "closePath", "closed", "closest", "clz", "clz32", "cm", "cmp", "code", "codeBase", "codePointAt", "codeType", "codedHeight", "codedRect", "codedWidth", "colSpan", "collapse", "collapseToEnd", "collapseToStart", "collapsed", "collect", "collections", "colno", "color", "color-adjust", "color-interpolation", "color-interpolation-filters", "color-scheme", "colorAdjust", "colorAttachments", "colorDepth", "colorFormats", "colorInterpolation", "colorInterpolationFilters", "colorMask", "colorScheme", "colorSpace", "colorType", "cols", "column-count", "column-fill", "column-gap", "column-rule", "column-rule-color", "column-rule-style", "column-rule-width", "column-span", "column-width", "columnCount", "columnFill", "columnGap", "columnNumber", "columnRule", "columnRuleColor", "columnRuleStyle", "columnRuleWidth", "columnSpan", "columnWidth", "columns", "command", "commands", "commit", "commitLoadTime", "commitPreferences", "commitStyles", "commonAncestorContainer", "compact", "compare", "compareBoundaryPoints", "compareDocumentPosition", "compareEndPoints", "compareExchange", "compareNode", "comparePoint", "compatMode", "compatible", "compile", "compileShader", "compileStreaming", "complete", "completed", "component", "componentFromPoint", "composed", "composedPath", "composite", "compositionEndOffset", "compositionStartOffset", "compressedTexImage2D", "compressedTexImage3D", "compressedTexSubImage2D", "compressedTexSubImage3D", "compute", "computedStyleMap", "concat", "conditionText", "coneInnerAngle", "coneOuterAngle", "coneOuterGain", "config", "configurable", "configuration", "configurationName", "configurationValue", "configurations", "configure", "confirm", "confirmComposition", "confirmSiteSpecificTrackingException", "confirmWebWideTrackingException", "congestionControl", "connect", "connectEnd", "connectNative", "connectShark", "connectStart", "connected", "connectedCallback", "connection", "connectionInfo", "connectionList", "connectionSpeed", "connectionState", "connections", "console", "consolidate", "constants", "constraint", "constrictionActive", "construct", "constructor", "contactID", "contain", "contain-intrinsic-block-size", "contain-intrinsic-height", "contain-intrinsic-inline-size", "contain-intrinsic-size", "contain-intrinsic-width", "containIntrinsicBlockSize", "containIntrinsicHeight", "containIntrinsicInlineSize", "containIntrinsicSize", "containIntrinsicWidth", "container", "container-name", "container-type", "containerId", "containerName", "containerQuery", "containerSrc", "containerType", "contains", "containsNode", "content", "content-visibility", "contentBoxSize", "contentDocument", "contentEditable", "contentHint", "contentOverflow", "contentRect", "contentScriptType", "contentStyleType", "contentType", "contentVisibility", "contentWindow", "context", "contextId", "contextIds", "contextMenu", "contextMenus", "contextType", "contextTypes", "contextmenu", "contextualIdentities", "continue", "continuePrimaryKey", "continuous", "control", "controlTransferIn", "controlTransferOut", "controller", "controls", "controlsList", "convertPointFromNode", "convertQuadFromNode", "convertRectFromNode", "convertToBlob", "convertToSpecifiedUnits", "cookie", "cookieEnabled", "cookieStore", "cookies", "coords", "copyBufferSubData", "copyBufferToBuffer", "copyBufferToTexture", "copyExternalImageToTexture", "copyFromChannel", "copyTexImage2D", "copyTexSubImage2D", "copyTexSubImage3D", "copyTextureToBuffer", "copyTextureToTexture", "copyTo", "copyToChannel", "copyWithin", "correspondingElement", "correspondingUseElement", "corruptedVideoFrames", "cos", "cosh", "count", "countReset", "counter-increment", "counter-reset", "counter-set", "counterIncrement", "counterReset", "counterSet", "country", "cpuClass", "cpuSleepAllowed", "cqb", "cqh", "cqi", "cqmax", "cqmin", "cqw", "create", "createAnalyser", "createAnchor", "createAnswer", "createAttribute", "createAttributeNS", "createAuctionNonce", "createBidirectionalStream", "createBindGroup", "createBindGroupLayout", "createBiquadFilter", "createBuffer", "createBufferSource", "createCDATASection", "createCSSStyleSheet", "createCaption", "createChannelMerger", "createChannelSplitter", "createCommandEncoder", "createComment", "createComputePipeline", "createComputePipelineAsync", "createConicGradient", "createConstantSource", "createContextualFragment", "createControlRange", "createConvolver", "createDTMFSender", "createDataChannel", "createDelay", "createDelayNode", "createDocument", "createDocumentFragment", "createDocumentType", "createDynamicsCompressor", "createElement", "createElementNS", "createEncodedStreams", "createEntityReference", "createEvent", "createEventObject", "createExpression", "createFramebuffer", "createFunction", "createGain", "createGainNode", "createHTML", "createHTMLDocument", "createIIRFilter", "createImageBitmap", "createImageData", "createIndex", "createJavaScriptNode", "createLinearGradient", "createMediaElementSource", "createMediaKeys", "createMediaStreamDestination", "createMediaStreamSource", "createMediaStreamTrackSource", "createMutableFile", "createNSResolver", "createNodeIterator", "createNotification", "createObjectStore", "createObjectURL", "createOffer", "createOscillator", "createPanner", "createPattern", "createPeriodicWave", "createPipelineLayout", "createPolicy", "createPopup", "createProcessingInstruction", "createProgram", "createQuery", "createQuerySet", "createRadialGradient", "createRange", "createRangeCollection", "createReader", "createRenderBundleEncoder", "createRenderPipeline", "createRenderPipelineAsync", "createRenderbuffer", "createSVGAngle", "createSVGLength", "createSVGMatrix", "createSVGNumber", "createSVGPathSegArcAbs", "createSVGPathSegArcRel", "createSVGPathSegClosePath", "createSVGPathSegCurvetoCubicAbs", "createSVGPathSegCurvetoCubicRel", "createSVGPathSegCurvetoCubicSmoothAbs", "createSVGPathSegCurvetoCubicSmoothRel", "createSVGPathSegCurvetoQuadraticAbs", "createSVGPathSegCurvetoQuadraticRel", "createSVGPathSegCurvetoQuadraticSmoothAbs", "createSVGPathSegCurvetoQuadraticSmoothRel", "createSVGPathSegLinetoAbs", "createSVGPathSegLinetoHorizontalAbs", "createSVGPathSegLinetoHorizontalRel", "createSVGPathSegLinetoRel", "createSVGPathSegLinetoVerticalAbs", "createSVGPathSegLinetoVerticalRel", "createSVGPathSegMovetoAbs", "createSVGPathSegMovetoRel", "createSVGPoint", "createSVGRect", "createSVGTransform", "createSVGTransformFromMatrix", "createSampler", "createScript", "createScriptProcessor", "createScriptURL", "createSession", "createShader", "createShaderModule", "createShadowRoot", "createStereoPanner", "createStyleSheet", "createTBody", "createTFoot", "createTHead", "createTask", "createTextNode", "createTextRange", "createTexture", "createTouch", "createTouchList", "createTransformFeedback", "createTreeWalker", "createUnidirectionalStream", "createVertexArray", "createView", "createWaveShaper", "createWorklet", "createWritable", "creationTime", "credentialless", "credentials", "criticalCHRestart", "cropTo", "crossOrigin", "crossOriginIsolated", "crypto", "csi", "csp", "cssFloat", "cssRules", "cssText", "cssValueType", "ctrlKey", "ctrlLeft", "cues", "cullFace", "cullMode", "currentCSSZoom", "currentDirection", "currentEntry", "currentLocalDescription", "currentNode", "currentPage", "currentRect", "currentRemoteDescription", "currentScale", "currentScreen", "currentScript", "currentSrc", "currentState", "currentStyle", "currentTarget", "currentTime", "currentTranslate", "currentView", "cursor", "curve", "customElements", "customError", "cx", "cy", "d", "data", "dataFld", "dataFormatAs", "dataLoss", "dataLossMessage", "dataPageSize", "dataSrc", "dataTransfer", "database", "databases", "datagrams", "dataset", "dateTime", "db", "debug", "debuggerEnabled", "declarativeNetRequest", "declare", "decode", "decodeAudioData", "decodeQueueSize", "decodeURI", "decodeURIComponent", "decodedBodySize", "decoding", "decodingInfo", "decrypt", "default", "defaultCharset", "defaultChecked", "defaultMuted", "defaultPlaybackRate", "defaultPolicy", "defaultPrevented", "defaultQueue", "defaultRequest", "defaultSelected", "defaultStatus", "defaultURL", "defaultValue", "defaultView", "defaultstatus", "defer", "define", "defineMagicFunction", "defineMagicVariable", "defineProperties", "defineProperty", "deg", "delay", "delayTime", "delegatesFocus", "delete", "deleteBuffer", "deleteCaption", "deleteCell", "deleteContents", "deleteData", "deleteDatabase", "deleteFramebuffer", "deleteFromDocument", "deleteIndex", "deleteMedium", "deleteObjectStore", "deleteProgram", "deleteProperty", "deleteQuery", "deleteRenderbuffer", "deleteRow", "deleteRule", "deleteSampler", "deleteShader", "deleteSync", "deleteTFoot", "deleteTHead", "deleteTexture", "deleteTransformFeedback", "deleteVertexArray", "deleted", "deliverChangeRecords", "deliveredFrames", "deliveredFramesDuration", "delivery", "deliveryInfo", "deliveryStatus", "deliveryTimestamp", "deliveryType", "delta", "deltaMode", "deltaX", "deltaY", "deltaZ", "dependentLocality", "deprecatedReplaceInURN", "deprecatedRunAdAuctionEnforcesKAnonymity", "deprecatedURNToURL", "depthBias", "depthBiasClamp", "depthBiasSlopeScale", "depthClearValue", "depthCompare", "depthDataFormat", "depthFailOp", "depthFar", "depthFunc", "depthLoadOp", "depthMask", "depthNear", "depthOrArrayLayers", "depthRange", "depthReadOnly", "depthStencil", "depthStencilAttachment", "depthStencilFormat", "depthStoreOp", "depthUsage", "depthWriteEnabled", "deref", "deriveBits", "deriveKey", "descentOverride", "description", "deselectAll", "designMode", "desiredSize", "destination", "destinationURL", "destroy", "detach", "detachEvent", "detachShader", "detached", "detail", "details", "detect", "detectLanguage", "detune", "device", "deviceClass", "deviceId", "deviceMemory", "devicePixelContentBoxSize", "devicePixelRatio", "deviceProtocol", "deviceSubclass", "deviceVersionMajor", "deviceVersionMinor", "deviceVersionSubminor", "deviceXDPI", "deviceYDPI", "devtools", "devtools_panels", "didTimeout", "difference", "diffuseConstant", "digest", "dimension", "dimensions", "dir", "dirName", "direction", "dirxml", "disable", "disablePictureInPicture", "disableRemotePlayback", "disableVertexAttribArray", "disabled", "discard", "discardedFrames", "dischargingTime", "disconnect", "disconnectShark", "disconnectedCallback", "dispatchEvent", "dispatchWorkgroups", "dispatchWorkgroupsIndirect", "display", "displayHeight", "displayId", "displayName", "displayWidth", "dispose", "disposition", "distanceModel", "div", "divisor", "djsapi", "djsproxy", "dns", "doImport", "doNotTrack", "doScroll", "doctype", "document", "documentElement", "documentId", "documentIds", "documentLifecycle", "documentMode", "documentOrigin", "documentOrigins", "documentPictureInPicture", "documentURI", "documentUrl", "documentUrls", "dolphin", "dolphinGameCenter", "dolphininfo", "dolphinmeta", "dom", "domComplete", "domContentLoadedEventEnd", "domContentLoadedEventStart", "domInteractive", "domLoading", "domOverlayState", "domain", "domainLookupEnd", "domainLookupStart", "dominant-baseline", "dominantBaseline", "done", "dopplerFactor", "dotAll", "downDegrees", "downlink", "download", "downloadRequest", "downloadTotal", "downloaded", "downloads", "dpcm", "dpi", "dppx", "dragDrop", "draggable", "draw", "drawArrays", "drawArraysInstanced", "drawArraysInstancedANGLE", "drawBuffers", "drawCustomFocusRing", "drawElements", "drawElementsInstanced", "drawElementsInstancedANGLE", "drawFocusIfNeeded", "drawImage", "drawImageFromRect", "drawIndexed", "drawIndexedIndirect", "drawIndirect", "drawRangeElements", "drawSystemFocusRing", "drawingBufferColorSpace", "drawingBufferFormat", "drawingBufferHeight", "drawingBufferStorage", "drawingBufferWidth", "drop", "dropEffect", "droppedVideoFrames", "dropzone", "dstFactor", "dtmf", "dump", "dumpProfile", "duplex", "duplicate", "durability", "duration", "dvb", "dvh", "dvi", "dvmax", "dvmin", "dvname", "dvnum", "dvw", "dx", "dy", "dynamicId", "dynsrc", "e", "edgeMode", "editContext", "effect", "effectAllowed", "effectiveDirective", "effectiveType", "effects", "elapsedTime", "element", "elementFromPoint", "elementTiming", "elements", "elementsFromPoint", "elevation", "ellipse", "em", "emHeightAscent", "emHeightDescent", "email", "embeds", "emit", "emma", "empty", "empty-cells", "emptyCells", "emptyHTML", "emptyScript", "emulatedPosition", "enable", "enableBackground", "enableDelegations", "enableStyleSheetsForSet", "enableVertexAttribArray", "enabled", "enabledFeatures", "enabledPlugin", "encode", "encodeInto", "encodeQueueSize", "encodeURI", "encodeURIComponent", "encodedBodySize", "encoding", "encodingInfo", "encrypt", "enctype", "end", "endContainer", "endElement", "endElementAt", "endOcclusionQuery", "endOfPassWriteIndex", "endOfStream", "endOffset", "endQuery", "endTime", "endTransformFeedback", "ended", "endpoint", "endpointNumber", "endpoints", "endsWith", "enqueue", "enterKeyHint", "entities", "entries", "entry", "entryPoint", "entryType", "enumerable", "enumerate", "enumerateDevices", "enumerateEditable", "environmentBlendMode", "equals", "error", "errorCode", "errorDetail", "errorText", "escape", "estimate", "eval", "evaluate", "event", "eventCounts", "eventPhase", "events", "every", "ex", "exception", "exchange", "exec", "execCommand", "execCommandShowHelp", "execScript", "executeBundles", "executionStart", "exitFullscreen", "exitPictureInPicture", "exitPointerLock", "exitPresent", "exp", "expand", "expandEntityReferences", "expando", "expansion", "expectedImprovement", "experiments", "expiration", "expirationTime", "expires", "expiryDate", "explicitOriginalTarget", "expm1", "exponent", "exponentialRampToValueAtTime", "exportKey", "exports", "extend", "extension", "extensionTypes", "extensions", "extentNode", "extentOffset", "external", "externalResourcesRequired", "externalTexture", "extractContents", "extractable", "eye", "f", "f16round", "face", "factoryReset", "failOp", "failureReason", "fallback", "family", "familyName", "farthestViewportElement", "fastSeek", "fatal", "featureId", "featurePolicy", "featureSettings", "features", "fence", "fenceSync", "fetch", "fetchPriority", "fetchStart", "fftSize", "fgColor", "fieldOfView", "file", "fileCreatedDate", "fileHandle", "fileModifiedDate", "fileName", "fileSize", "fileUpdatedDate", "filename", "files", "filesystem", "fill", "fill-opacity", "fill-rule", "fillJointRadii", "fillLightMode", "fillOpacity", "fillPoses", "fillRect", "fillRule", "fillStyle", "fillText", "filter", "filterResX", "filterResY", "filterUnits", "filters", "finally", "find", "findIndex", "findLast", "findLastIndex", "findRule", "findText", "finish", "finishDocumentLoadTime", "finishLoadTime", "finished", "fireEvent", "firesTouchEvents", "firstChild", "firstElementChild", "firstInterimResponseStart", "firstPage", "firstPaintAfterLoadTime", "firstPaintTime", "firstUIEventTimestamp", "fixed", "flags", "flat", "flatMap", "flex", "flex-basis", "flex-direction", "flex-flow", "flex-grow", "flex-shrink", "flex-wrap", "flexBasis", "flexDirection", "flexFlow", "flexGrow", "flexShrink", "flexWrap", "flipX", "flipY", "float", "float32", "float64", "flood-color", "flood-opacity", "floodColor", "floodOpacity", "floor", "flush", "focus", "focusNode", "focusOffset", "font", "font-family", "font-feature-settings", "font-kerning", "font-language-override", "font-optical-sizing", "font-palette", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-synthesis", "font-synthesis-position", "font-synthesis-small-caps", "font-synthesis-style", "font-synthesis-weight", "font-variant", "font-variant-alternates", "font-variant-caps", "font-variant-east-asian", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-variation-settings", "font-weight", "fontBoundingBoxAscent", "fontBoundingBoxDescent", "fontFamily", "fontFeatureSettings", "fontKerning", "fontLanguageOverride", "fontOpticalSizing", "fontPalette", "fontSize", "fontSizeAdjust", "fontSmoothingEnabled", "fontStretch", "fontStyle", "fontSynthesis", "fontSynthesisPosition", "fontSynthesisSmallCaps", "fontSynthesisStyle", "fontSynthesisWeight", "fontVariant", "fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition", "fontVariationSettings", "fontWeight", "fontcolor", "fontfaces", "fonts", "fontsize", "for", "forEach", "force", "forceFallbackAdapter", "forceRedraw", "forced-color-adjust", "forcedColorAdjust", "forcedStyleAndLayoutDuration", "forget", "form", "formAction", "formData", "formEnctype", "formMethod", "formNoValidate", "formTarget", "format", "formatToParts", "forms", "forward", "forwardX", "forwardY", "forwardZ", "foundation", "fr", "fragment", "fragmentDirective", "frame", "frameBorder", "frameCount", "frameElement", "frameId", "frameIds", "frameSpacing", "framebuffer", "framebufferHeight", "framebufferRenderbuffer", "framebufferTexture2D", "framebufferTextureLayer", "framebufferWidth", "frames", "freeSpace", "freeze", "frequency", "frequencyBinCount", "from", "fromAsync", "fromBase64", "fromCharCode", "fromCodePoint", "fromElement", "fromEntries", "fromFloat32Array", "fromFloat64Array", "fromHex", "fromMatrix", "fromPoint", "fromQuad", "fromRect", "frontFace", "fround", "fullName", "fullPath", "fullRange", "fullScreen", "fullVersionList", "fullscreen", "fullscreenElement", "fullscreenEnabled", "fx", "fy", "g", "gain", "gamepad", "gamma", "gap", "gatheringState", "gatt", "geckoProfiler", "genderIdentity", "generateCertificate", "generateKey", "generateMipmap", "generateRequest", "geolocation", "gestureObject", "get", "getAcceptLanguages", "getActiveAttrib", "getActiveUniform", "getActiveUniformBlockName", "getActiveUniformBlockParameter", "getActiveUniforms", "getAdjacentText", "getAll", "getAllKeys", "getAllResponseHeaders", "getAllowlistForFeature", "getAnimations", "getAsFile", "getAsFileSystemHandle", "getAsString", "getAttachedShaders", "getAttribLocation", "getAttribute", "getAttributeNS", "getAttributeNames", "getAttributeNode", "getAttributeNodeNS", "getAttributeType", "getAudioTracks", "getAuthenticatorData", "getAutoplayPolicy", "getAvailability", "getBBox", "getBackgroundPage", "getBadgeBackgroundColor", "getBadgeText", "getBadgeTextColor", "getBattery", "getBigInt64", "getBigUint64", "getBindGroupLayout", "getBlob", "getBookmark", "getBoundingClientRect", "getBounds", "getBoxQuads", "getBrowserInfo", "getBufferParameter", "getBufferSubData", "getByteFrequencyData", "getByteTimeDomainData", "getCSSCanvasContext", "getCTM", "getCameraImage", "getCandidateWindowClientRect", "getCanonicalLocales", "getCapabilities", "getCaptureHandle", "getChannelData", "getCharNumAtPosition", "getCharacteristic", "getCharacteristics", "getClientExtensionResults", "getClientRect", "getClientRects", "getCoalescedEvents", "getCompilationInfo", "getCompositionAlternatives", "getComputedStyle", "getComputedTextLength", "getComputedTiming", "getConfiguration", "getConstraints", "getContext", "getContextAttributes", "getContexts", "getContributingSources", "getCounterValue", "getCueAsHTML", "getCueById", "getCurrent", "getCurrentPosition", "getCurrentTexture", "getCurrentTime", "getData", "getDatabaseNames", "getDate", "getDay", "getDefaultComputedStyle", "getDepthInMeters", "getDepthInformation", "getDescriptor", "getDescriptors", "getDestinationInsertionPoints", "getDevices", "getDirectory", "getDirectoryHandle", "getDisplayMedia", "getDistributedNodes", "getEditable", "getElementById", "getElementsByClassName", "getElementsByName", "getElementsByTagName", "getElementsByTagNameNS", "getEnclosureList", "getEndPositionOfChar", "getEntries", "getEntriesByName", "getEntriesByType", "getError", "getExtension", "getExtentOfChar", "getEyeParameters", "getFeature", "getFiberRoots", "getFile", "getFileHandle", "getFiles", "getFilesAndDirectories", "getFingerprints", "getFloat16", "getFloat32", "getFloat64", "getFloatFrequencyData", "getFloatTimeDomainData", "getFloatValue", "getFragDataLocation", "getFrameData", "getFrameId", "getFramebufferAttachmentParameter", "getFrequencyResponse", "getFullYear", "getGamepads", "getHTML", "getHeaderExtensionsToNegotiate", "getHighEntropyValues", "getHitTestResults", "getHitTestResultsForTransientInput", "getHours", "getIdentityAssertion", "getIds", "getImageData", "getIndexedParameter", "getInfo", "getInnerHTML", "getInstalledRelatedApps", "getInt16", "getInt32", "getInt8", "getInterestGroupAdAuctionData", "getInternalModuleRanges", "getInternalformatParameter", "getIntersectionList", "getItem", "getItems", "getJointPose", "getKey", "getKeyframes", "getLastFocused", "getLayers", "getLayoutMap", "getLightEstimate", "getLineDash", "getLocalCandidates", "getLocalParameters", "getLocalStreams", "getManagedConfiguration", "getManifest", "getMappedRange", "getMarks", "getMatchedCSSRules", "getMaxGCPauseSinceClear", "getMeasures", "getMessage", "getMetadata", "getMilliseconds", "getMinutes", "getModifierState", "getMonth", "getName", "getNamedItem", "getNamedItemNS", "getNativeFramebufferScaleFactor", "getNegotiatedHeaderExtensions", "getNestedConfigs", "getNotifications", "getNotifier", "getNumberOfChars", "getOffsetReferenceSpace", "getOutputTimestamp", "getOverrideHistoryNavigationMode", "getOverrideStyle", "getOwnPropertyDescriptor", "getOwnPropertyDescriptors", "getOwnPropertyNames", "getOwnPropertySymbols", "getPackageDirectoryEntry", "getParameter", "getParameters", "getParent", "getPathSegAtLength", "getPermissionWarningsByManifest", "getPhotoCapabilities", "getPhotoSettings", "getPlatformInfo", "getPointAtLength", "getPopup", "getPorts", "getPose", "getPredictedEvents", "getPreference", "getPreferenceDefault", "getPreferredCanvasFormat", "getPresentationAttribute", "getPreventDefault", "getPrimaryService", "getPrimaryServices", "getProgramInfoLog", "getProgramParameter", "getPropertyCSSValue", "getPropertyPriority", "getPropertyShorthand", "getPropertyType", "getPropertyValue", "getPrototypeOf", "getPublicKey", "getPublicKeyAlgorithm", "getQuery", "getQueryParameter", "getRGBColorValue", "getRandomValues", "getRangeAt", "getReader", "getReceivers", "getRectValue", "getReflectionCubeMap", "getRegistration", "getRegistrations", "getRemoteCandidates", "getRemoteCertificates", "getRemoteParameters", "getRemoteStreams", "getRenderbufferParameter", "getResponseHeader", "getRoot", "getRootNode", "getRotationOfChar", "getSVGDocument", "getSamplerParameter", "getScreenCTM", "getScreenDetails", "getSeconds", "getSelectedCandidatePair", "getSelection", "getSelf", "getSenders", "getService", "getSetCookie", "getSettings", "getShaderInfoLog", "getShaderParameter", "getShaderPrecisionFormat", "getShaderSource", "getSignals", "getSimpleDuration", "getSiteIcons", "getSources", "getSpeculativeParserUrls", "getStartPositionOfChar", "getStartTime", "getState", "getStats", "getStatusForPolicy", "getStorageUpdates", "getStreamById", "getStringValue", "getSubStringLength", "getSubscription", "getSubscriptions", "getSupportedConstraints", "getSupportedExtensions", "getSupportedFormats", "getSyncParameter", "getSynchronizationSources", "getTags", "getTargetRanges", "getTexParameter", "getTextFormats", "getTime", "getTimezoneOffset", "getTiming", "getTitle", "getTitlebarAreaRect", "getTotalLength", "getTrackById", "getTracks", "getTransceivers", "getTransform", "getTransformFeedbackVarying", "getTransformToElement", "getTransports", "getType", "getTypeMapping", "getUILanguage", "getURL", "getUTCDate", "getUTCDay", "getUTCFullYear", "getUTCHours", "getUTCMilliseconds", "getUTCMinutes", "getUTCMonth", "getUTCSeconds", "getUint16", "getUint32", "getUint8", "getUniform", "getUniformBlockIndex", "getUniformIndices", "getUniformLocation", "getUserInfo", "getUserMedia", "getUserSettings", "getVRDisplays", "getValues", "getVarDate", "getVariableValue", "getVertexAttrib", "getVertexAttribOffset", "getVideoPlaybackQuality", "getVideoTracks", "getViewerPose", "getViewport", "getViews", "getVoices", "getWakeLockState", "getWriter", "getYear", "getZoom", "getZoomSettings", "givenName", "global", "globalAlpha", "globalCompositeOperation", "globalPrivacyControl", "globalThis", "glyphOrientationHorizontal", "glyphOrientationVertical", "glyphRef", "go", "goBack", "goForward", "gpu", "grabFrame", "grad", "gradientTransform", "gradientUnits", "grammars", "green", "grid", "grid-area", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-column", "grid-column-end", "grid-column-gap", "grid-column-start", "grid-gap", "grid-row", "grid-row-end", "grid-row-gap", "grid-row-start", "grid-template", "grid-template-areas", "grid-template-columns", "grid-template-rows", "gridArea", "gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridGap", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "gripSpace", "group", "groupBy", "groupCollapsed", "groupEnd", "groupId", "groups", "grow", "growable", "guestProcessId", "guestRenderFrameRoutingId", "hadRecentInput", "hand", "handedness", "hangingBaseline", "hapticActuators", "hardwareConcurrency", "has", "hasAttribute", "hasAttributeNS", "hasAttributes", "hasBeenActive", "hasChildNodes", "hasComposition", "hasDynamicOffset", "hasEnrolledInstrument", "hasExtension", "hasExternalDisplay", "hasFeature", "hasFocus", "hasIndices", "hasInstance", "hasLayout", "hasOrientation", "hasOwn", "hasOwnProperty", "hasPointerCapture", "hasPosition", "hasPrivateToken", "hasReading", "hasRedemptionRecord", "hasRegExpGroups", "hasStorageAccess", "hasUAVisualTransition", "hasUnpartitionedCookieAccess", "hash", "hashChange", "head", "headers", "heading", "height", "hid", "hidden", "hide", "hideFocus", "hidePopover", "high", "highWaterMark", "highlight", "highlights", "hint", "hints", "history", "honorificPrefix", "honorificSuffix", "horizontalOverflow", "host", "hostCandidate", "hostname", "href", "hrefTranslate", "hreflang", "hspace", "html5TagCheckInerface", "htmlFor", "htmlText", "httpEquiv", "httpRequestStatusCode", "hwTimestamp", "hyphenate-character", "hyphenateCharacter", "hyphens", "hypot", "i18n", "ic", "iccId", "iceConnectionState", "iceGatheringState", "iceTransport", "icon", "iconURL", "id", "identifier", "identity", "ideographicBaseline", "idle", "idpLoginUrl", "ignoreBOM", "ignoreCase", "ignoreDepthValues", "image", "image-orientation", "image-rendering", "imageHeight", "imageOrientation", "imageRendering", "imageSizes", "imageSmoothingEnabled", "imageSmoothingQuality", "imageSrcset", "imageWidth", "images", "ime-mode", "imeMode", "implementation", "importExternalTexture", "importKey", "importNode", "importStylesheet", "imports", "impp", "imul", "in", "in1", "in2", "inBandMetadataTrackDispatchType", "inIncognitoContext", "inRange", "includes", "incognito", "incomingBidirectionalStreams", "incomingHighWaterMark", "incomingMaxAge", "incomingUnidirectionalStreams", "incremental", "indeterminate", "index", "indexNames", "indexOf", "indexedDB", "indicate", "indices", "inert", "inertiaDestinationX", "inertiaDestinationY", "info", "inherits", "init", "initAnimationEvent", "initBeforeLoadEvent", "initClipboardEvent", "initCloseEvent", "initCommandEvent", "initCompositionEvent", "initCustomEvent", "initData", "initDataType", "initDeviceMotionEvent", "initDeviceOrientationEvent", "initDragEvent", "initErrorEvent", "initEvent", "initFocusEvent", "initGestureEvent", "initHashChangeEvent", "initKeyEvent", "initKeyboardEvent", "initMSManipulationEvent", "initMessageEvent", "initMouseEvent", "initMouseScrollEvent", "initMouseWheelEvent", "initMutationEvent", "initNSMouseEvent", "initOverflowEvent", "initPageEvent", "initPageTransitionEvent", "initPointerEvent", "initPopStateEvent", "initProgressEvent", "initScrollAreaEvent", "initSimpleGestureEvent", "initStorageEvent", "initTextEvent", "initTimeEvent", "initTouchEvent", "initTransitionEvent", "initUIEvent", "initWebKitAnimationEvent", "initWebKitTransitionEvent", "initWebKitWheelEvent", "initWheelEvent", "initialTime", "initialValue", "initialize", "initiatorType", "inject", "ink", "inline-size", "inlineSize", "inlineVerticalFieldOfView", "inner", "innerHTML", "innerHeight", "innerText", "innerWidth", "input", "inputBuffer", "inputEncoding", "inputMethod", "inputMode", "inputSource", "inputSources", "inputType", "inputs", "insertAdjacentElement", "insertAdjacentHTML", "insertAdjacentText", "insertBefore", "insertCell", "insertDTMF", "insertData", "insertDebugMarker", "insertItemBefore", "insertNode", "insertRow", "insertRule", "inset", "inset-block", "inset-block-end", "inset-block-start", "inset-inline", "inset-inline-end", "inset-inline-start", "insetBlock", "insetBlockEnd", "insetBlockStart", "insetInline", "insetInlineEnd", "insetInlineStart", "install", "installing", "instanceRoot", "instantiate", "instantiateStreaming", "instruments", "int16", "int32", "int8", "integrity", "interactionId", "interactionMode", "intercept", "interfaceClass", "interfaceName", "interfaceNumber", "interfaceProtocol", "interfaceSubclass", "interfaces", "interimResults", "internalSubset", "interpretation", "intersection", "intersectionRatio", "intersectionRect", "intersectsNode", "interval", "invalidIteratorState", "invalidateFramebuffer", "invalidateSubFramebuffer", "inverse", "invertSelf", "invoker", "invokerType", "is", "is2D", "isActive", "isAllowedFileSchemeAccess", "isAllowedIncognitoAccess", "isAlternate", "isArray", "isAutoSelected", "isBingCurrentSearchDefault", "isBuffer", "isCandidateWindowVisible", "isChar", "isCollapsed", "isComposing", "isConcatSpreadable", "isConditionalMediationAvailable", "isConfigSupported", "isConnected", "isContentEditable", "isContentHandlerRegistered", "isContextLost", "isDefaultNamespace", "isDirectory", "isDisabled", "isDisjointFrom", "isEnabled", "isEqual", "isEqualNode", "isExtended", "isExtensible", "isExternalCTAP2SecurityKeySupported", "isFallbackAdapter", "isFile", "isFinite", "isFirstPersonObserver", "isFramebuffer", "isFrozen", "isGenerator", "isHTML", "isHistoryNavigation", "isId", "isIdentity", "isInjected", "isInputPending", "isInteger", "isInternal", "isIntersecting", "isLockFree", "isMap", "isMultiLine", "isNaN", "isOpen", "isPointInFill", "isPointInPath", "isPointInRange", "isPointInStroke", "isPrefAlternate", "isPresenting", "isPrimary", "isProgram", "isPropertyImplicit", "isProtocolHandlerRegistered", "isPrototypeOf", "isQuery", "isRawJSON", "isRenderbuffer", "isSafeInteger", "isSameEntry", "isSameNode", "isSampler", "isScript", "isScriptURL", "isSealed", "isSecureContext", "isSessionSupported", "isShader", "isSubsetOf", "isSupersetOf", "isSupported", "isSync", "isTextEdit", "isTexture", "isTransformFeedback", "isTrusted", "isTypeSupported", "isUserVerifyingPlatformAuthenticatorAvailable", "isVertexArray", "isView", "isVisible", "isWellFormed", "isochronousTransferIn", "isochronousTransferOut", "isolation", "italics", "item", "itemId", "itemProp", "itemRef", "itemScope", "itemType", "itemValue", "items", "iterateNext", "iterationComposite", "iterator", "javaEnabled", "jitterBufferTarget", "jobTitle", "join", "joinAdInterestGroup", "jointName", "json", "justify-content", "justify-items", "justify-self", "justifyContent", "justifyItems", "justifySelf", "k1", "k2", "k3", "k4", "kHz", "keepalive", "kernelMatrix", "kernelUnitLengthX", "kernelUnitLengthY", "kerning", "key", "keyCode", "keyFor", "keyIdentifier", "keyLightEnabled", "keyLocation", "keyPath", "keyStatuses", "keySystem", "keyText", "keyUsage", "keyboard", "keys", "keytype", "kind", "knee", "knownSources", "label", "labels", "lang", "language", "languages", "largeArcFlag", "lastChild", "lastElementChild", "lastError", "lastEventId", "lastIndex", "lastIndexOf", "lastInputTime", "lastMatch", "lastMessageSubject", "lastMessageType", "lastModified", "lastModifiedDate", "lastPage", "lastParen", "lastState", "lastStyleSheetSet", "latency", "latitude", "launchQueue", "layerName", "layerX", "layerY", "layout", "layoutFlow", "layoutGrid", "layoutGridChar", "layoutGridLine", "layoutGridMode", "layoutGridType", "lbound", "leaveAdInterestGroup", "left", "leftContext", "leftDegrees", "leftMargin", "leftProjectionMatrix", "leftViewMatrix", "length", "lengthAdjust", "lengthComputable", "letter-spacing", "letterSpacing", "level", "lh", "lighting-color", "lightingColor", "limitingConeAngle", "limits", "line", "line-break", "line-height", "lineAlign", "lineBreak", "lineCap", "lineDashOffset", "lineGapOverride", "lineHeight", "lineJoin", "lineNum", "lineNumber", "linePos", "lineTo", "lineWidth", "linearAcceleration", "linearRampToValueAtTime", "linearVelocity", "lineno", "lines", "link", "linkColor", "linkProgram", "links", "list", "list-style", "list-style-image", "list-style-position", "list-style-type", "listStyle", "listStyleImage", "listStylePosition", "listStyleType", "listener", "listeners", "load", "loadEventEnd", "loadEventStart", "loadOp", "loadTime", "loadTimes", "loaded", "loading", "localDescription", "localName", "localService", "localStorage", "locale", "localeCompare", "location", "locationbar", "lock", "locked", "lockedFile", "locks", "lodMaxClamp", "lodMinClamp", "log", "log10", "log1p", "log2", "logicalXDPI", "logicalYDPI", "login", "loglevel", "longDesc", "longitude", "lookupNamespaceURI", "lookupPrefix", "loop", "loopEnd", "loopStart", "looping", "lost", "low", "lower", "lowerBound", "lowerOpen", "lowsrc", "lvb", "lvh", "lvi", "lvmax", "lvmin", "lvw", "m11", "m12", "m13", "m14", "m21", "m22", "m23", "m24", "m31", "m32", "m33", "m34", "m41", "m42", "m43", "m44", "magFilter", "makeXRCompatible", "managed", "management", "manifest", "manufacturer", "manufacturerName", "map", "mapAsync", "mapState", "mappedAtCreation", "mapping", "margin", "margin-block", "margin-block-end", "margin-block-start", "margin-bottom", "margin-inline", "margin-inline-end", "margin-inline-start", "margin-left", "margin-right", "margin-top", "marginBlock", "marginBlockEnd", "marginBlockStart", "marginBottom", "marginHeight", "marginInline", "marginInlineEnd", "marginInlineStart", "marginLeft", "marginRight", "marginTop", "marginWidth", "mark", "marker", "marker-end", "marker-mid", "marker-offset", "marker-start", "markerEnd", "markerHeight", "markerMid", "markerOffset", "markerStart", "markerUnits", "markerWidth", "marks", "mask", "mask-clip", "mask-composite", "mask-image", "mask-mode", "mask-origin", "mask-position", "mask-position-x", "mask-position-y", "mask-repeat", "mask-size", "mask-type", "maskClip", "maskComposite", "maskContentUnits", "maskImage", "maskMode", "maskOrigin", "maskPosition", "maskPositionX", "maskPositionY", "maskRepeat", "maskSize", "maskType", "maskUnits", "match", "matchAll", "matchMedia", "matchMedium", "matchPatterns", "matches", "math-depth", "math-style", "mathDepth", "mathStyle", "matrix", "matrixTransform", "max", "max-block-size", "max-height", "max-inline-size", "max-width", "maxActions", "maxAlternatives", "maxAnisotropy", "maxBindGroups", "maxBindGroupsPlusVertexBuffers", "maxBindingsPerBindGroup", "maxBlockSize", "maxBufferSize", "maxByteLength", "maxChannelCount", "maxChannels", "maxColorAttachmentBytesPerSample", "maxColorAttachments", "maxComputeInvocationsPerWorkgroup", "maxComputeWorkgroupSizeX", "maxComputeWorkgroupSizeY", "maxComputeWorkgroupSizeZ", "maxComputeWorkgroupStorageSize", "maxComputeWorkgroupsPerDimension", "maxConnectionsPerServer", "maxDatagramSize", "maxDecibels", "maxDistance", "maxDrawCount", "maxDynamicStorageBuffersPerPipelineLayout", "maxDynamicUniformBuffersPerPipelineLayout", "maxHeight", "maxInlineSize", "maxInterStageShaderComponents", "maxInterStageShaderVariables", "maxLayers", "maxLength", "maxMessageSize", "maxPacketLifeTime", "maxRetransmits", "maxSampledTexturesPerShaderStage", "maxSamplersPerShaderStage", "maxStorageBufferBindingSize", "maxStorageBuffersPerShaderStage", "maxStorageTexturesPerShaderStage", "maxTextureArrayLayers", "maxTextureDimension1D", "maxTextureDimension2D", "maxTextureDimension3D", "maxTouchPoints", "maxUniformBufferBindingSize", "maxUniformBuffersPerShaderStage", "maxValue", "maxVertexAttributes", "maxVertexBufferArrayStride", "maxVertexBuffers", "maxWidth", "maximumLatency", "measure", "measureText", "media", "mediaCapabilities", "mediaDevices", "mediaElement", "mediaGroup", "mediaKeys", "mediaSession", "mediaStream", "mediaText", "meetOrSlice", "memory", "menubar", "menus", "menusChild", "menusInternal", "mergeAttributes", "message", "messageClass", "messageHandlers", "messageType", "messages", "metaKey", "metadata", "method", "methodDetails", "methodName", "mid", "mimeType", "mimeTypes", "min", "min-block-size", "min-height", "min-inline-size", "min-width", "minBindingSize", "minBlockSize", "minDecibels", "minFilter", "minHeight", "minInlineSize", "minLength", "minStorageBufferOffsetAlignment", "minUniformBufferOffsetAlignment", "minValue", "minWidth", "minimumLatency", "mipLevel", "mipLevelCount", "mipmapFilter", "miterLimit", "mix-blend-mode", "mixBlendMode", "mm", "mobile", "mode", "model", "modify", "module", "mount", "move", "moveBy", "moveEnd", "moveFirst", "moveFocusDown", "moveFocusLeft", "moveFocusRight", "moveFocusUp", "moveInSuccession", "moveNext", "moveRow", "moveStart", "moveTo", "moveToBookmark", "moveToElementText", "moveToPoint", "movementX", "movementY", "mozAdd", "mozAnimationStartTime", "mozAnon", "mozApps", "mozAudioCaptured", "mozAudioChannelType", "mozAutoplayEnabled", "mozCancelAnimationFrame", "mozCancelFullScreen", "mozCancelRequestAnimationFrame", "mozCaptureStream", "mozCaptureStreamUntilEnded", "mozClearDataAt", "mozContact", "mozContacts", "mozCreateFileHandle", "mozCurrentTransform", "mozCurrentTransformInverse", "mozCursor", "mozDash", "mozDashOffset", "mozDecodedFrames", "mozExitPointerLock", "mozFillRule", "mozFragmentEnd", "mozFrameDelay", "mozFullScreen", "mozFullScreenElement", "mozFullScreenEnabled", "mozGetAll", "mozGetAllKeys", "mozGetAsFile", "mozGetDataAt", "mozGetMetadata", "mozGetUserMedia", "mozHasAudio", "mozHasItem", "mozHidden", "mozImageSmoothingEnabled", "mozIndexedDB", "mozInnerScreenX", "mozInnerScreenY", "mozInputSource", "mozIsTextField", "mozItem", "mozItemCount", "mozItems", "mozLength", "mozLockOrientation", "mozMatchesSelector", "mozMovementX", "mozMovementY", "mozOpaque", "mozOrientation", "mozPaintCount", "mozPaintedFrames", "mozParsedFrames", "mozPay", "mozPointerLockElement", "mozPresentedFrames", "mozPreservesPitch", "mozPressure", "mozPrintCallback", "mozRTCIceCandidate", "mozRTCPeerConnection", "mozRTCSessionDescription", "mozRemove", "mozRequestAnimationFrame", "mozRequestFullScreen", "mozRequestPointerLock", "mozSetDataAt", "mozSetImageElement", "mozSourceNode", "mozSrcObject", "mozSystem", "mozTCPSocket", "mozTextStyle", "mozTypesAt", "mozUnlockOrientation", "mozUserCancelled", "mozVisibilityState", "ms", "msAnimation", "msAnimationDelay", "msAnimationDirection", "msAnimationDuration", "msAnimationFillMode", "msAnimationIterationCount", "msAnimationName", "msAnimationPlayState", "msAnimationStartTime", "msAnimationTimingFunction", "msBackfaceVisibility", "msBlockProgression", "msCSSOMElementFloatMetrics", "msCaching", "msCachingEnabled", "msCancelRequestAnimationFrame", "msCapsLockWarningOff", "msClearImmediate", "msClose", "msContentZoomChaining", "msContentZoomFactor", "msContentZoomLimit", "msContentZoomLimitMax", "msContentZoomLimitMin", "msContentZoomSnap", "msContentZoomSnapPoints", "msContentZoomSnapType", "msContentZooming", "msConvertURL", "msCrypto", "msDoNotTrack", "msElementsFromPoint", "msElementsFromRect", "msExitFullscreen", "msExtendedCode", "msFillRule", "msFirstPaint", "msFlex", "msFlexAlign", "msFlexDirection", "msFlexFlow", "msFlexItemAlign", "msFlexLinePack", "msFlexNegative", "msFlexOrder", "msFlexPack", "msFlexPositive", "msFlexPreferredSize", "msFlexWrap", "msFlowFrom", "msFlowInto", "msFontFeatureSettings", "msFullscreenElement", "msFullscreenEnabled", "msGetInputContext", "msGetRegionContent", "msGetUntransformedBounds", "msGraphicsTrustStatus", "msGridColumn", "msGridColumnAlign", "msGridColumnSpan", "msGridColumns", "msGridRow", "msGridRowAlign", "msGridRowSpan", "msGridRows", "msHidden", "msHighContrastAdjust", "msHyphenateLimitChars", "msHyphenateLimitLines", "msHyphenateLimitZone", "msHyphens", "msImageSmoothingEnabled", "msImeAlign", "msIndexedDB", "msInterpolationMode", "msIsStaticHTML", "msKeySystem", "msKeys", "msLaunchUri", "msLockOrientation", "msManipulationViewsEnabled", "msMatchMedia", "msMatchesSelector", "msMaxTouchPoints", "msOrientation", "msOverflowStyle", "msPerspective", "msPerspectiveOrigin", "msPlayToDisabled", "msPlayToPreferredSourceUri", "msPlayToPrimary", "msPointerEnabled", "msRegionOverflow", "msReleasePointerCapture", "msRequestAnimationFrame", "msRequestFullscreen", "msSaveBlob", "msSaveOrOpenBlob", "msScrollChaining", "msScrollLimit", "msScrollLimitXMax", "msScrollLimitXMin", "msScrollLimitYMax", "msScrollLimitYMin", "msScrollRails", "msScrollSnapPointsX", "msScrollSnapPointsY", "msScrollSnapType", "msScrollSnapX", "msScrollSnapY", "msScrollTranslation", "msSetImmediate", "msSetMediaKeys", "msSetPointerCapture", "msTextCombineHorizontal", "msTextSizeAdjust", "msToBlob", "msTouchAction", "msTouchSelect", "msTraceAsyncCallbackCompleted", "msTraceAsyncCallbackStarting", "msTraceAsyncOperationCompleted", "msTraceAsyncOperationStarting", "msTransform", "msTransformOrigin", "msTransformStyle", "msTransition", "msTransitionDelay", "msTransitionDuration", "msTransitionProperty", "msTransitionTimingFunction", "msUnlockOrientation", "msUpdateAsyncCallbackRelation", "msUserSelect", "msVisibilityState", "msWrapFlow", "msWrapMargin", "msWrapThrough", "msWriteProfilerMark", "msZoom", "msZoomTo", "mt", "mul", "multiEntry", "multiSelectionObj", "multiline", "multiple", "multiply", "multiplySelf", "multisample", "multisampled", "mutableFile", "muted", "n", "nacl_arch", "name", "nameList", "nameProp", "namedItem", "namedRecordset", "names", "namespaceURI", "namespaces", "nativeApplication", "nativeMap", "nativeObjectCreate", "nativeSet", "nativeWeakMap", "naturalHeight", "naturalWidth", "navigate", "navigation", "navigationMode", "navigationPreload", "navigationStart", "navigationType", "navigator", "near", "nearestViewportElement", "negative", "negotiated", "netscape", "networkState", "networkStatus", "newScale", "newState", "newTranslate", "newURL", "newValue", "newValueSpecifiedUnits", "newVersion", "newhome", "next", "nextElementSibling", "nextHopProtocol", "nextNode", "nextPage", "nextSibling", "nickname", "noHref", "noModule", "noResize", "noShade", "noValidate", "noWrap", "node", "nodeName", "nodeType", "nodeValue", "nonce", "normDepthBufferFromNormView", "normalize", "normalizedPathSegList", "normandyAddonStudy", "notRestoredReasons", "notationName", "notations", "note", "noteGrainOn", "noteOff", "noteOn", "notifications", "notify", "now", "npnNegotiatedProtocol", "numOctaves", "number", "numberOfChannels", "numberOfFrames", "numberOfInputs", "numberOfItems", "numberOfOutputs", "numberValue", "oMatchesSelector", "object", "object-fit", "object-position", "objectFit", "objectPosition", "objectStore", "objectStoreNames", "objectType", "observe", "occlusionQuerySet", "of", "off", "offscreenBuffering", "offset", "offset-anchor", "offset-distance", "offset-path", "offset-position", "offset-rotate", "offsetAnchor", "offsetDistance", "offsetHeight", "offsetLeft", "offsetNode", "offsetParent", "offsetPath", "offsetPosition", "offsetRotate", "offsetTop", "offsetWidth", "offsetX", "offsetY", "ok", "oldState", "oldURL", "oldValue", "oldVersion", "olderShadowRoot", "omnibox", "on", "onActivated", "onAdded", "onAttached", "onBoundsChanged", "onBrowserUpdateAvailable", "onClicked", "onCommitFiberRoot", "onCommitFiberUnmount", "onConnect", "onConnectExternal", "onConnectNative", "onCreated", "onDetached", "onDisabled", "onEnabled", "onFocusChanged", "onHighlighted", "onInstalled", "onLine", "onMessage", "onMessageExternal", "onMoved", "onPerformanceWarning", "onPostCommitFiberRoot", "onRemoved", "onReplaced", "onRestartRequired", "onStartup", "onSubmittedWorkDone", "onSuspend", "onSuspendCanceled", "onUninstalled", "onUpdateAvailable", "onUpdated", "onUserScriptConnect", "onUserScriptMessage", "onUserSettingsChanged", "onZoomChange", "onabort", "onabsolutedeviceorientation", "onactivate", "onactive", "onaddsourcebuffer", "onaddstream", "onaddtrack", "onafterprint", "onafterscriptexecute", "onafterupdate", "onanimationcancel", "onanimationend", "onanimationiteration", "onanimationstart", "onappinstalled", "onaudioend", "onaudioprocess", "onaudiostart", "onautocomplete", "onautocompleteerror", "onauxclick", "onbeforeactivate", "onbeforecopy", "onbeforecut", "onbeforedeactivate", "onbeforeeditfocus", "onbeforeinput", "onbeforeinstallprompt", "onbeforematch", "onbeforepaste", "onbeforeprint", "onbeforescriptexecute", "onbeforetoggle", "onbeforeunload", "onbeforeupdate", "onbeforexrselect", "onbegin", "onblocked", "onblur", "onbounce", "onboundary", "onbufferedamountlow", "oncached", "oncancel", "oncandidatewindowhide", "oncandidatewindowshow", "oncandidatewindowupdate", "oncanplay", "oncanplaythrough", "oncapturehandlechange", "once", "oncellchange", "onchange", "oncharacterboundsupdate", "oncharacteristicvaluechanged", "onchargingchange", "onchargingtimechange", "onchecking", "onclick", "onclose", "onclosing", "oncompassneedscalibration", "oncomplete", "oncompositionend", "oncompositionstart", "onconnect", "onconnecting", "onconnectionavailable", "onconnectionstatechange", "oncontentvisibilityautostatechange", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncontrollerchange", "oncontrolselect", "oncopy", "oncuechange", "oncurrententrychange", "oncurrentscreenchange", "oncut", "ondataavailable", "ondatachannel", "ondatasetchanged", "ondatasetcomplete", "ondblclick", "ondeactivate", "ondequeue", "ondevicechange", "ondevicelight", "ondevicemotion", "ondeviceorientation", "ondeviceorientationabsolute", "ondeviceproximity", "ondischargingtimechange", "ondisconnect", "ondisplay", "ondispose", "ondownloading", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onencrypted", "onend", "onended", "onenter", "onenterpictureinpicture", "onerror", "onerrorupdate", "onexit", "onfencedtreeclick", "onfilterchange", "onfinish", "onfocus", "onfocusin", "onfocusout", "onformdata", "onfreeze", "onfullscreenchange", "onfullscreenerror", "ongamepadconnected", "ongamepaddisconnected", "ongatheringstatechange", "ongattserverdisconnected", "ongeometrychange", "ongesturechange", "ongestureend", "ongesturestart", "ongotpointercapture", "onhashchange", "onhelp", "onicecandidate", "onicecandidateerror", "oniceconnectionstatechange", "onicegatheringstatechange", "oninactive", "oninput", "oninputreport", "oninputsourceschange", "oninvalid", "onkeydown", "onkeypress", "onkeystatuseschange", "onkeyup", "onlanguagechange", "onlayoutcomplete", "onleavepictureinpicture", "onlevelchange", "onload", "onloadT", "onloadeddata", "onloadedmetadata", "onloadend", "onloading", "onloadingdone", "onloadingerror", "onloadstart", "onlosecapture", "onlostpointercapture", "only", "onmanagedconfigurationchange", "onmark", "onmessage", "onmessageerror", "onmidimessage", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onmousewheel", "onmove", "onmoveend", "onmovestart", "onmozfullscreenchange", "onmozfullscreenerror", "onmozorientationchange", "onmozpointerlockchange", "onmozpointerlockerror", "onmscontentzoom", "onmsfullscreenchange", "onmsfullscreenerror", "onmsgesturechange", "onmsgesturedoubletap", "onmsgestureend", "onmsgesturehold", "onmsgesturestart", "onmsgesturetap", "onmsgotpointercapture", "onmsinertiastart", "onmslostpointercapture", "onmsmanipulationstatechanged", "onmsneedkey", "onmsorientationchange", "onmspointercancel", "onmspointerdown", "onmspointerenter", "onmspointerhover", "onmspointerleave", "onmspointermove", "onmspointerout", "onmspointerover", "onmspointerup", "onmssitemodejumplistitemremoved", "onmsthumbnailclick", "onmute", "onnavigate", "onnavigateerror", "onnavigatesuccess", "onnegotiationneeded", "onnomatch", "onnoupdate", "onobsolete", "onoffline", "ononline", "onopen", "onorientationchange", "onpagechange", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onpayerdetailchange", "onpaymentmethodchange", "onplay", "onplaying", "onpluginstreamstart", "onpointercancel", "onpointerdown", "onpointerenter", "onpointerleave", "onpointerlockchange", "onpointerlockerror", "onpointermove", "onpointerout", "onpointerover", "onpointerrawupdate", "onpointerup", "onpopstate", "onprerenderingchange", "onprioritychange", "onprocessorerror", "onprogress", "onpropertychange", "onratechange", "onreading", "onreadystatechange", "onreflectionchange", "onrejectionhandled", "onrelease", "onremove", "onremovesourcebuffer", "onremovestream", "onremovetrack", "onrepeat", "onreset", "onresize", "onresizeend", "onresizestart", "onresourcetimingbufferfull", "onresult", "onresume", "onrowenter", "onrowexit", "onrowsdelete", "onrowsinserted", "onscreenschange", "onscroll", "onscrollend", "onscrollsnapchange", "onscrollsnapchanging", "onsearch", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onselectedcandidatepairchange", "onselectend", "onselectionchange", "onselectstart", "onshippingaddresschange", "onshippingoptionchange", "onshow", "onsignalingstatechange", "onsinkchange", "onslotchange", "onsoundend", "onsoundstart", "onsourceclose", "onsourceclosed", "onsourceended", "onsourceopen", "onspeechend", "onspeechstart", "onsqueeze", "onsqueezeend", "onsqueezestart", "onstalled", "onstart", "onstatechange", "onstop", "onstorage", "onstoragecommit", "onsubmit", "onsuccess", "onsuspend", "onterminate", "ontextformatupdate", "ontextinput", "ontextupdate", "ontimeout", "ontimeupdate", "ontoggle", "ontonechange", "ontouchcancel", "ontouchend", "ontouchmove", "ontouchstart", "ontrack", "ontransitioncancel", "ontransitionend", "ontransitionrun", "ontransitionstart", "onuncapturederror", "onunhandledrejection", "onunload", "onunmute", "onupdate", "onupdateend", "onupdatefound", "onupdateready", "onupdatestart", "onupgradeneeded", "onuserproximity", "onversionchange", "onvisibilitychange", "onvoiceschanged", "onvolumechange", "onvrdisplayactivate", "onvrdisplayconnect", "onvrdisplaydeactivate", "onvrdisplaydisconnect", "onvrdisplaypresentchange", "onwaiting", "onwaitingforkey", "onwarning", "onwebkitanimationend", "onwebkitanimationiteration", "onwebkitanimationstart", "onwebkitcurrentplaybacktargetiswirelesschanged", "onwebkitfullscreenchange", "onwebkitfullscreenerror", "onwebkitkeyadded", "onwebkitkeyerror", "onwebkitkeymessage", "onwebkitneedkey", "onwebkitorientationchange", "onwebkitplaybacktargetavailabilitychanged", "onwebkitpointerlockchange", "onwebkitpointerlockerror", "onwebkitresourcetimingbufferfull", "onwebkittransitionend", "onwheel", "onzoom", "opacity", "open", "openCursor", "openDatabase", "openKeyCursor", "openOptionsPage", "openOrClosedShadowRoot", "openPopup", "opened", "opener", "opera", "operation", "operationType", "operator", "opr", "optimum", "options", "or", "order", "orderX", "orderY", "ordered", "org", "organization", "orient", "orientAngle", "orientType", "orientation", "orientationX", "orientationY", "orientationZ", "origin", "originAgentCluster", "originalPolicy", "originalTarget", "orphans", "os", "oscpu", "outerHTML", "outerHeight", "outerText", "outerWidth", "outgoingHighWaterMark", "outgoingMaxAge", "outline", "outline-color", "outline-offset", "outline-style", "outline-width", "outlineColor", "outlineOffset", "outlineStyle", "outlineWidth", "outputBuffer", "outputChannelCount", "outputLatency", "outputs", "overflow", "overflow-anchor", "overflow-block", "overflow-clip-margin", "overflow-inline", "overflow-wrap", "overflow-x", "overflow-y", "overflowAnchor", "overflowBlock", "overflowClipMargin", "overflowInline", "overflowWrap", "overflowX", "overflowY", "overlaysContent", "overrideColors", "overrideMimeType", "oversample", "overscroll-behavior", "overscroll-behavior-block", "overscroll-behavior-inline", "overscroll-behavior-x", "overscroll-behavior-y", "overscrollBehavior", "overscrollBehaviorBlock", "overscrollBehaviorInline", "overscrollBehaviorX", "overscrollBehaviorY", "ownKeys", "ownerDocument", "ownerElement", "ownerNode", "ownerRule", "ownerSVGElement", "owningElement", "p1", "p2", "p3", "p4", "packetSize", "packets", "pad", "padEnd", "padStart", "padding", "padding-block", "padding-block-end", "padding-block-start", "padding-bottom", "padding-inline", "padding-inline-end", "padding-inline-start", "padding-left", "padding-right", "padding-top", "paddingBlock", "paddingBlockEnd", "paddingBlockStart", "paddingBottom", "paddingInline", "paddingInlineEnd", "paddingInlineStart", "paddingLeft", "paddingRight", "paddingTop", "page", "page-break-after", "page-break-before", "page-break-inside", "page-orientation", "pageAction", "pageBreakAfter", "pageBreakBefore", "pageBreakInside", "pageCount", "pageLeft", "pageOrientation", "pageT", "pageTop", "pageX", "pageXOffset", "pageY", "pageYOffset", "pages", "paint-order", "paintOrder", "paintRequests", "paintType", "paintWorklet", "palette", "pan", "panningModel", "parameterData", "parameters", "parent", "parentElement", "parentNode", "parentRule", "parentStyleSheet", "parentTextEdit", "parentWindow", "parse", "parseAll", "parseCreationOptionsFromJSON", "parseFloat", "parseFromString", "parseHTMLUnsafe", "parseInt", "parseRequestOptionsFromJSON", "part", "participants", "passOp", "passive", "password", "pasteHTML", "path", "pathLength", "pathSegList", "pathSegType", "pathSegTypeAsLetter", "pathname", "pattern", "patternContentUnits", "patternMismatch", "patternTransform", "patternUnits", "pause", "pauseAnimations", "pauseDuration", "pauseOnExit", "pauseProfilers", "pauseTransformFeedback", "paused", "payerEmail", "payerName", "payerPhone", "paymentManager", "pc", "pdfViewerEnabled", "peerIdentity", "pending", "pendingLocalDescription", "pendingRemoteDescription", "percent", "performance", "periodicSync", "permission", "permissionState", "permissions", "persist", "persisted", "persistentDeviceId", "personalbar", "perspective", "perspective-origin", "perspectiveOrigin", "phone", "phoneticFamilyName", "phoneticGivenName", "photo", "pictureInPictureChild", "pictureInPictureElement", "pictureInPictureEnabled", "pictureInPictureWindow", "ping", "pipeThrough", "pipeTo", "pitch", "pixelBottom", "pixelDepth", "pixelHeight", "pixelLeft", "pixelRight", "pixelStorei", "pixelTop", "pixelUnitToMillimeterX", "pixelUnitToMillimeterY", "pixelWidth", "pkcs11", "place-content", "place-items", "place-self", "placeContent", "placeItems", "placeSelf", "placeholder", "platform", "platformVersion", "platforms", "play", "playEffect", "playState", "playbackRate", "playbackState", "playbackTime", "played", "playoutDelayHint", "playsInline", "plugins", "pluginspage", "pname", "pointer-events", "pointerBeforeReferenceNode", "pointerEnabled", "pointerEvents", "pointerId", "pointerLockElement", "pointerType", "points", "pointsAtX", "pointsAtY", "pointsAtZ", "polygonOffset", "pop", "popDebugGroup", "popErrorScope", "popover", "popoverTargetAction", "popoverTargetElement", "populateMatrix", "popupWindowFeatures", "popupWindowName", "popupWindowURI", "port", "port1", "port2", "ports", "posBottom", "posHeight", "posLeft", "posRight", "posTop", "posWidth", "pose", "position", "position-anchor", "position-area", "positionAlign", "positionAnchor", "positionArea", "positionX", "positionY", "positionZ", "postError", "postMessage", "postTask", "postalCode", "poster", "postscriptName", "pow", "powerEfficient", "powerOff", "powerPreference", "preMultiplySelf", "precision", "preferredReflectionFormat", "preferredStyleSheetSet", "preferredStylesheetSet", "prefix", "preload", "premultipliedAlpha", "prepend", "prerendering", "presentation", "presentationArea", "presentationStyle", "preserveAlpha", "preserveAspectRatio", "preserveAspectRatioString", "preservesPitch", "pressed", "pressure", "prevValue", "preventDefault", "preventExtensions", "preventSilentAccess", "previousElementSibling", "previousNode", "previousPage", "previousPriority", "previousRect", "previousScale", "previousSibling", "previousTranslate", "primaries", "primaryKey", "primaryLightDirection", "primaryLightIntensity", "primitive", "primitiveType", "primitiveUnits", "principals", "print", "print-color-adjust", "printColorAdjust", "printPreview", "priority", "privacy", "privateKey", "privateToken", "probablySupportsContext", "probeSpace", "process", "processIceMessage", "processingEnd", "processingStart", "processorOptions", "product", "productId", "productName", "productSub", "profile", "profileEnd", "profiles", "projectionMatrix", "promise", "prompt", "properties", "propertyIsEnumerable", "propertyName", "protectedAudience", "protocol", "protocolLong", "prototype", "provider", "proxy", "pseudoClass", "pseudoElement", "pt", "publicId", "publicKey", "published", "pulse", "push", "pushDebugGroup", "pushErrorScope", "pushManager", "pushNotification", "pushState", "put", "putImageData", "px", "quadraticCurveTo", "qualifier", "quaternion", "query", "queryCommandEnabled", "queryCommandIndeterm", "queryCommandState", "queryCommandSupported", "queryCommandText", "queryCommandValue", "queryFeatureSupport", "queryLocalFonts", "queryPermission", "querySelector", "querySelectorAll", "querySet", "queue", "queueMicrotask", "quote", "quotes", "r", "r1", "r2", "race", "rad", "radiogroup", "radius", "radiusX", "radiusY", "random", "randomUUID", "range", "rangeCount", "rangeEnd", "rangeMax", "rangeMin", "rangeOffset", "rangeOverflow", "rangeParent", "rangeStart", "rangeUnderflow", "rate", "ratio", "raw", "rawId", "rawJSON", "rawValueToMeters", "rcap", "rch", "read", "readAsArrayBuffer", "readAsBinaryString", "readAsBlob", "readAsDataURL", "readAsText", "readBuffer", "readEntries", "readOnly", "readPixels", "readReportRequested", "readText", "readValue", "readable", "ready", "readyState", "reason", "reasons", "reboot", "receiveFeatureReport", "receivedAlert", "receiver", "receivers", "recipient", "recommendedViewportScale", "reconnect", "recordNumber", "recordsAvailable", "recordset", "rect", "red", "redEyeReduction", "redirect", "redirectCount", "redirectEnd", "redirectStart", "redirected", "reduce", "reduceRight", "reduction", "refDistance", "refX", "refY", "referenceNode", "referenceSpace", "referrer", "referrerPolicy", "refresh", "region", "regionAnchorX", "regionAnchorY", "regionId", "regions", "register", "registerContentHandler", "registerElement", "registerInternalModuleStart", "registerInternalModuleStop", "registerProperty", "registerProtocolHandler", "reject", "rel", "relList", "relatedAddress", "relatedNode", "relatedPort", "relatedTarget", "relayProtocol", "release", "releaseCapture", "releaseEvents", "releaseInterface", "releaseLock", "releasePointerCapture", "releaseShaderCompiler", "released", "reliability", "reliable", "reliableWrite", "reload", "rem", "remainingSpace", "remote", "remoteDescription", "remove", "removeAllRanges", "removeAttribute", "removeAttributeNS", "removeAttributeNode", "removeBehavior", "removeChild", "removeCue", "removeEntry", "removeEventListener", "removeFilter", "removeImport", "removeItem", "removeListener", "removeNamedItem", "removeNamedItemNS", "removeNode", "removeParameter", "removeProperty", "removeRange", "removeRegion", "removeRule", "removeSiteSpecificTrackingException", "removeSourceBuffer", "removeStream", "removeTrack", "removeVariable", "removeWakeLockListener", "removeWebWideTrackingException", "removed", "removedNodes", "renderBlockingStatus", "renderHeight", "renderStart", "renderState", "renderTime", "renderWidth", "renderbufferStorage", "renderbufferStorageMultisample", "renderedBuffer", "rendererInterfaces", "renderers", "renderingMode", "renotify", "repeat", "repetitionCount", "replace", "replaceAdjacentText", "replaceAll", "replaceChild", "replaceChildren", "replaceData", "replaceId", "replaceItem", "replaceNode", "replaceState", "replaceSync", "replaceTrack", "replaceWholeText", "replaceWith", "reportError", "reportEvent", "reportId", "reportValidity", "request", "requestAdapter", "requestAdapterInfo", "requestAnimationFrame", "requestAutocomplete", "requestClose", "requestData", "requestDevice", "requestFrame", "requestFullscreen", "requestHitTestSource", "requestHitTestSourceForTransientInput", "requestId", "requestIdleCallback", "requestLightProbe", "requestMIDIAccess", "requestMediaKeySystemAccess", "requestPermission", "requestPictureInPicture", "requestPointerLock", "requestPort", "requestPresent", "requestPresenter", "requestReferenceSpace", "requestSession", "requestStart", "requestStorageAccess", "requestStorageAccessFor", "requestSubmit", "requestTime", "requestUpdateCheck", "requestVideoFrameCallback", "requestViewportScale", "requestWindow", "requestingWindow", "requireInteraction", "required", "requiredExtensions", "requiredFeatures", "requiredLimits", "reset", "resetLatency", "resetPose", "resetTransform", "resizable", "resize", "resizeBy", "resizeTo", "resolve", "resolveQuerySet", "resolveTarget", "resource", "respond", "respondWithNewView", "response", "responseBody", "responseEnd", "responseReady", "responseStart", "responseStatus", "responseText", "responseType", "responseURL", "responseXML", "restart", "restartAfterDelay", "restartIce", "restore", "result", "resultIndex", "resultType", "results", "resume", "resumeProfilers", "resumeTransformFeedback", "retry", "returnValue", "rev", "reverse", "reversed", "revocable", "revokeObjectURL", "rex", "rgbColor", "ric", "right", "rightContext", "rightDegrees", "rightMargin", "rightProjectionMatrix", "rightViewMatrix", "rlh", "role", "rolloffFactor", "root", "rootBounds", "rootElement", "rootMargin", "rotate", "rotateAxisAngle", "rotateAxisAngleSelf", "rotateFromVector", "rotateFromVectorSelf", "rotateSelf", "rotation", "rotationAngle", "rotationRate", "round", "roundRect", "row-gap", "rowGap", "rowIndex", "rowSpan", "rows", "rowsPerImage", "rtcpTransport", "rtt", "ruby-align", "ruby-position", "rubyAlign", "rubyOverhang", "rubyPosition", "rules", "run", "runAdAuction", "runtime", "runtimeStyle", "rx", "ry", "s", "safari", "sameDocument", "sample", "sampleCount", "sampleCoverage", "sampleInterval", "sampleRate", "sampleType", "sampler", "samplerParameterf", "samplerParameteri", "sandbox", "save", "saveAsPDF", "saveData", "scale", "scale3d", "scale3dSelf", "scaleNonUniform", "scaleNonUniformSelf", "scaleSelf", "scheduler", "scheduling", "scheme", "scissor", "scope", "scopeName", "scoped", "screen", "screenBrightness", "screenEnabled", "screenLeft", "screenPixelToMillimeterX", "screenPixelToMillimeterY", "screenState", "screenTop", "screenX", "screenY", "screens", "scriptURL", "scripting", "scripts", "scroll", "scroll-behavior", "scroll-margin", "scroll-margin-block", "scroll-margin-block-end", "scroll-margin-block-start", "scroll-margin-bottom", "scroll-margin-inline", "scroll-margin-inline-end", "scroll-margin-inline-start", "scroll-margin-left", "scroll-margin-right", "scroll-margin-top", "scroll-padding", "scroll-padding-block", "scroll-padding-block-end", "scroll-padding-block-start", "scroll-padding-bottom", "scroll-padding-inline", "scroll-padding-inline-end", "scroll-padding-inline-start", "scroll-padding-left", "scroll-padding-right", "scroll-padding-top", "scroll-snap-align", "scroll-snap-stop", "scroll-snap-type", "scrollAmount", "scrollBehavior", "scrollBy", "scrollByLines", "scrollByPages", "scrollDelay", "scrollHeight", "scrollIntoView", "scrollIntoViewIfNeeded", "scrollLeft", "scrollLeftMax", "scrollMargin", "scrollMarginBlock", "scrollMarginBlockEnd", "scrollMarginBlockStart", "scrollMarginBottom", "scrollMarginInline", "scrollMarginInlineEnd", "scrollMarginInlineStart", "scrollMarginLeft", "scrollMarginRight", "scrollMarginTop", "scrollMaxX", "scrollMaxY", "scrollPadding", "scrollPaddingBlock", "scrollPaddingBlockEnd", "scrollPaddingBlockStart", "scrollPaddingBottom", "scrollPaddingInline", "scrollPaddingInlineEnd", "scrollPaddingInlineStart", "scrollPaddingLeft", "scrollPaddingRight", "scrollPaddingTop", "scrollRestoration", "scrollSnapAlign", "scrollSnapStop", "scrollSnapType", "scrollTo", "scrollTop", "scrollTopMax", "scrollWidth", "scrollX", "scrollY", "scrollbar-color", "scrollbar-gutter", "scrollbar-width", "scrollbar3dLightColor", "scrollbarArrowColor", "scrollbarBaseColor", "scrollbarColor", "scrollbarDarkShadowColor", "scrollbarFaceColor", "scrollbarGutter", "scrollbarHighlightColor", "scrollbarShadowColor", "scrollbarTrackColor", "scrollbarWidth", "scrollbars", "scrolling", "scrollingElement", "sctp", "sctpCauseCode", "sdp", "sdpLineNumber", "sdpMLineIndex", "sdpMid", "seal", "search", "searchBox", "searchBoxJavaBridge_", "searchParams", "sectionRowIndex", "secureConnectionStart", "security", "seed", "seek", "seekToNextFrame", "seekable", "seeking", "select", "selectAllChildren", "selectAlternateInterface", "selectAudioOutput", "selectConfiguration", "selectNode", "selectNodeContents", "selectNodes", "selectSingleNode", "selectSubString", "selectURL", "selected", "selectedIndex", "selectedOptions", "selectedStyleSheetSet", "selectedStylesheetSet", "selectedTrack", "selection", "selectionDirection", "selectionEnd", "selectionStart", "selector", "selectorText", "self", "send", "sendAsBinary", "sendBeacon", "sendFeatureReport", "sendMessage", "sendNativeMessage", "sendOrder", "sendReport", "sender", "sentAlert", "sentTimestamp", "separator", "serial", "serialNumber", "serializable", "serializeToString", "serverTiming", "service", "serviceWorker", "session", "sessionId", "sessionStorage", "sessions", "set", "setActionHandler", "setActive", "setAlpha", "setAppBadge", "setAttribute", "setAttributeNS", "setAttributeNode", "setAttributeNodeNS", "setAttributionReporting", "setBadgeBackgroundColor", "setBadgeText", "setBadgeTextColor", "setBaseAndExtent", "setBigInt64", "setBigUint64", "setBindGroup", "setBingCurrentSearchDefault", "setBlendConstant", "setCameraActive", "setCapture", "setCaptureHandleConfig", "setCodecPreferences", "setColor", "setCompositeOperation", "setConfiguration", "setConsumer", "setCurrentTime", "setCustomValidity", "setData", "setDate", "setDragImage", "setEnabled", "setEnd", "setEndAfter", "setEndBefore", "setEndPoint", "setExpires", "setFillColor", "setFilterRes", "setFloat16", "setFloat32", "setFloat64", "setFloatValue", "setFocusBehavior", "setFormValue", "setFromBase64", "setFromHex", "setFullYear", "setHTMLUnsafe", "setHeaderExtensionsToNegotiate", "setHeaderValue", "setHours", "setIcon", "setIdentityProvider", "setImmediate", "setIndexBuffer", "setInt16", "setInt32", "setInt8", "setInterval", "setItem", "setKeyframes", "setLineCap", "setLineDash", "setLineJoin", "setLineWidth", "setLiveSeekableRange", "setLocalDescription", "setMatrix", "setMatrixValue", "setMediaKeys", "setMicrophoneActive", "setMilliseconds", "setMinutes", "setMiterLimit", "setMonth", "setNamedItem", "setNamedItemNS", "setNonUserCodeExceptions", "setOrientToAngle", "setOrientToAuto", "setOrientation", "setOverrideHistoryNavigationMode", "setPaint", "setParameter", "setParameters", "setPeriodicWave", "setPipeline", "setPointerCapture", "setPopup", "setPosition", "setPositionState", "setPreference", "setPriority", "setPrivateToken", "setProperty", "setPrototypeOf", "setRGBColor", "setRGBColorICCColor", "setRadius", "setRangeText", "setRemoteDescription", "setReportEventDataForAutomaticBeacons", "setRequestHeader", "setResizable", "setResourceTimingBufferSize", "setRotate", "setScale", "setScissorRect", "setSeconds", "setSelectionRange", "setServerCertificate", "setShadow", "setSharedStorageContext", "setSignals", "setSinkId", "setSkewX", "setSkewY", "setStart", "setStartAfter", "setStartBefore", "setStatus", "setStdDeviation", "setStencilReference", "setStreams", "setStrictMode", "setStringValue", "setStrokeColor", "setSuggestResult", "setTargetAtTime", "setTargetValueAtTime", "setTime", "setTimeout", "setTitle", "setTransform", "setTranslate", "setUTCDate", "setUTCFullYear", "setUTCHours", "setUTCMilliseconds", "setUTCMinutes", "setUTCMonth", "setUTCSeconds", "setUint16", "setUint32", "setUint8", "setUninstallURL", "setUpdateUrlData", "setUri", "setValidity", "setValueAtTime", "setValueCurveAtTime", "setVariable", "setVelocity", "setVersion", "setVertexBuffer", "setViewport", "setYear", "setZoom", "setZoomSettings", "settingName", "settingValue", "sex", "shaderLocation", "shaderSource", "shadowBlur", "shadowColor", "shadowOffsetX", "shadowOffsetY", "shadowRoot", "shadowRootClonable", "shadowRootDelegatesFocus", "shadowRootMode", "shadowRootSerializable", "shape", "shape-image-threshold", "shape-margin", "shape-outside", "shape-rendering", "shapeImageThreshold", "shapeMargin", "shapeOutside", "shapeRendering", "share", "sharedStorage", "sharedStorageWritable", "sheet", "shift", "shiftKey", "shiftLeft", "shippingAddress", "shippingOption", "shippingType", "show", "showDirectoryPicker", "showHelp", "showModal", "showModalDialog", "showModelessDialog", "showNotification", "showOpenFilePicker", "showPicker", "showPopover", "showSaveFilePicker", "sidebar", "sidebarAction", "sign", "signal", "signalingState", "signature", "silent", "sin", "singleNodeValue", "sinh", "sinkId", "sittingToStandingTransform", "size", "sizeAdjust", "sizeToContent", "sizeX", "sizeZ", "sizes", "skewX", "skewXSelf", "skewY", "skewYSelf", "skipTransition", "skipped", "slice", "slope", "slot", "slotAssignment", "small", "smil", "smooth", "smoothingTimeConstant", "snapTargetBlock", "snapTargetInline", "snapToLines", "snapshotItem", "snapshotLength", "some", "sort", "sortingCode", "source", "sourceBuffer", "sourceBuffers", "sourceCapabilities", "sourceCharPosition", "sourceFile", "sourceFunctionName", "sourceIndex", "sourceMap", "sourceURL", "sources", "spacing", "span", "speak", "speakAs", "speaking", "species", "specified", "specularConstant", "specularExponent", "speechSynthesis", "speed", "speedOfSound", "spellcheck", "sphericalHarmonicsCoefficients", "splice", "split", "splitText", "spreadMethod", "sqrt", "src", "srcElement", "srcFactor", "srcFilter", "srcObject", "srcUrn", "srcdoc", "srclang", "srcset", "stack", "stackTraceLimit", "stacktrace", "stageParameters", "standalone", "standby", "start", "startContainer", "startE", "startIce", "startLoadTime", "startMessages", "startNotifications", "startOffset", "startProfiling", "startRendering", "startShark", "startTime", "startViewTransition", "startsWith", "state", "states", "stats", "status", "statusCode", "statusMessage", "statusText", "statusbar", "stdDeviationX", "stdDeviationY", "stencilBack", "stencilClearValue", "stencilFront", "stencilFunc", "stencilFuncSeparate", "stencilLoadOp", "stencilMask", "stencilMaskSeparate", "stencilOp", "stencilOpSeparate", "stencilReadMask", "stencilReadOnly", "stencilStoreOp", "stencilWriteMask", "step", "stepDown", "stepMismatch", "stepMode", "stepUp", "sticky", "stitchTiles", "stop", "stop-color", "stop-opacity", "stopColor", "stopImmediatePropagation", "stopNotifications", "stopOpacity", "stopProfiling", "stopPropagation", "stopShark", "stopped", "storage", "storageArea", "storageBuckets", "storageName", "storageStatus", "storageTexture", "store", "storeOp", "storeSiteSpecificTrackingException", "storeWebWideTrackingException", "stpVersion", "stream", "streamErrorCode", "streams", "stretch", "strike", "string", "stringValue", "stringify", "stripIndexFormat", "stroke", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke-width", "strokeDasharray", "strokeDashoffset", "strokeLinecap", "strokeLinejoin", "strokeMiterlimit", "strokeOpacity", "strokeRect", "strokeStyle", "strokeText", "strokeWidth", "structuredClone", "style", "styleAndLayoutStart", "styleFloat", "styleMap", "styleMedia", "styleSheet", "styleSheetSets", "styleSheets", "sub", "subarray", "subject", "submit", "submitFrame", "submitter", "subscribe", "substr", "substring", "substringData", "subtle", "subtree", "suffix", "suffixes", "summary", "sup", "supported", "supportedContentEncodings", "supportedEntryTypes", "supportedValuesOf", "supports", "supportsFiber", "supportsSession", "supportsText", "surfaceScale", "surroundContents", "suspend", "suspendRedraw", "svb", "svh", "svi", "svmax", "svmin", "svw", "swapCache", "swapNode", "sweepFlag", "symbols", "symmetricDifference", "sync", "syntax", "sysexEnabled", "system", "systemCode", "systemId", "systemLanguage", "systemXDPI", "systemYDPI", "tBodies", "tFoot", "tHead", "tab", "tab-size", "tabId", "tabIds", "tabIndex", "tabSize", "table", "table-layout", "tableLayout", "tableValues", "tabs", "tag", "tagName", "tagUrn", "tags", "taintEnabled", "take", "takePhoto", "takeRecords", "tan", "tangentialPressure", "tanh", "target", "targetAddressSpace", "targetElement", "targetRayMode", "targetRaySpace", "targetTouches", "targetURL", "targetX", "targetY", "targets", "tcpType", "tee", "tel", "telemetry", "terminate", "test", "texImage2D", "texImage3D", "texParameterf", "texParameteri", "texStorage2D", "texStorage3D", "texSubImage2D", "texSubImage3D", "text", "text-align", "text-align-last", "text-anchor", "text-combine-upright", "text-decoration", "text-decoration-color", "text-decoration-line", "text-decoration-skip-ink", "text-decoration-style", "text-decoration-thickness", "text-emphasis", "text-emphasis-color", "text-emphasis-position", "text-emphasis-style", "text-indent", "text-justify", "text-orientation", "text-overflow", "text-rendering", "text-shadow", "text-transform", "text-underline-offset", "text-underline-position", "text-wrap", "text-wrap-mode", "text-wrap-style", "textAlign", "textAlignLast", "textAnchor", "textAutospace", "textBaseline", "textCombineUpright", "textContent", "textDecoration", "textDecorationBlink", "textDecorationColor", "textDecorationLine", "textDecorationLineThrough", "textDecorationNone", "textDecorationOverline", "textDecorationSkipInk", "textDecorationStyle", "textDecorationThickness", "textDecorationUnderline", "textEmphasis", "textEmphasisColor", "textEmphasisPosition", "textEmphasisStyle", "textIndent", "textJustify", "textJustifyTrim", "textKashida", "textKashidaSpace", "textLength", "textOrientation", "textOverflow", "textRendering", "textShadow", "textTracks", "textTransform", "textUnderlineOffset", "textUnderlinePosition", "textWrap", "textWrapMode", "textWrapStyle", "texture", "theme", "then", "threadId", "threshold", "thresholds", "throwIfAborted", "tiltX", "tiltY", "time", "timeEnd", "timeLog", "timeOrigin", "timeRemaining", "timeStamp", "timecode", "timeline", "timelineTime", "timeout", "timestamp", "timestampOffset", "timestampWrites", "timing", "title", "titlebarAreaRect", "tlsChannelId", "to", "toArray", "toBase64", "toBlob", "toDataURL", "toDateString", "toElement", "toExponential", "toFixed", "toFloat32Array", "toFloat64Array", "toGMTString", "toHex", "toISOString", "toJSON", "toLocaleDateString", "toLocaleFormat", "toLocaleLowerCase", "toLocaleString", "toLocaleTimeString", "toLocaleUpperCase", "toLowerCase", "toMatrix", "toMethod", "toPrecision", "toPrimitive", "toReversed", "toSdp", "toSorted", "toSource", "toSpliced", "toStaticHTML", "toString", "toStringTag", "toSum", "toTimeString", "toUTCString", "toUpperCase", "toWellFormed", "toggle", "toggleAttribute", "toggleLongPressEnabled", "togglePopover", "toggleReaderMode", "token", "tone", "toneBuffer", "tooLong", "tooShort", "toolbar", "top", "topMargin", "topSites", "topology", "total", "totalFrameDelay", "totalFrames", "totalFramesDuration", "totalVideoFrames", "touch-action", "touchAction", "touched", "touches", "trace", "track", "trackVisibility", "trackedAnchors", "tracks", "tran", "transaction", "transactions", "transceiver", "transfer", "transferControlToOffscreen", "transferFromImageBitmap", "transferImageBitmap", "transferIn", "transferOut", "transferSize", "transferToFixedLength", "transferToImageBitmap", "transform", "transform-box", "transform-origin", "transform-style", "transformBox", "transformFeedbackVaryings", "transformOrigin", "transformPoint", "transformString", "transformStyle", "transformToDocument", "transformToFragment", "transition", "transition-behavior", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", "transitionBehavior", "transitionDelay", "transitionDuration", "transitionProperty", "transitionTimingFunction", "translate", "translateSelf", "translationX", "translationY", "transport", "traverseTo", "trim", "trimEnd", "trimLeft", "trimRight", "trimStart", "trueSpeed", "trunc", "truncate", "trustedTypes", "try", "turn", "twist", "type", "typeDetail", "typeMismatch", "typeMustMatch", "types", "u2f", "ubound", "uint16", "uint32", "uint8", "uint8Clamped", "unadjustedMovement", "unclippedDepth", "unconfigure", "undefined", "underlineStyle", "underlineThickness", "unescape", "uneval", "ungroup", "unicode", "unicode-bidi", "unicodeBidi", "unicodeRange", "unicodeSets", "uniform1f", "uniform1fv", "uniform1i", "uniform1iv", "uniform1ui", "uniform1uiv", "uniform2f", "uniform2fv", "uniform2i", "uniform2iv", "uniform2ui", "uniform2uiv", "uniform3f", "uniform3fv", "uniform3i", "uniform3iv", "uniform3ui", "uniform3uiv", "uniform4f", "uniform4fv", "uniform4i", "uniform4iv", "uniform4ui", "uniform4uiv", "uniformBlockBinding", "uniformMatrix2fv", "uniformMatrix2x3fv", "uniformMatrix2x4fv", "uniformMatrix3fv", "uniformMatrix3x2fv", "uniformMatrix3x4fv", "uniformMatrix4fv", "uniformMatrix4x2fv", "uniformMatrix4x3fv", "uninstallSelf", "union", "unique", "uniqueID", "uniqueNumber", "unit", "unitType", "units", "unloadEventEnd", "unloadEventStart", "unlock", "unmap", "unmount", "unobserve", "unpackColorSpace", "unpause", "unpauseAnimations", "unreadCount", "unregister", "unregisterContentHandler", "unregisterProtocolHandler", "unscopables", "unselectable", "unshift", "unsubscribe", "unsuspendRedraw", "unsuspendRedrawAll", "unwatch", "unwrapKey", "upDegrees", "upX", "upY", "upZ", "update", "updateAdInterestGroups", "updateCallbackDone", "updateCharacterBounds", "updateCommands", "updateControlBounds", "updateCurrentEntry", "updateIce", "updateInkTrailStartPoint", "updateInterval", "updatePlaybackRate", "updateRangeEnd", "updateRangeStart", "updateRenderState", "updateSelection", "updateSelectionBounds", "updateSettings", "updateText", "updateTiming", "updateViaCache", "updateWith", "updated", "updating", "upgrade", "upload", "uploadTotal", "uploaded", "upper", "upperBound", "upperOpen", "uri", "url", "urn", "urns", "usage", "usages", "usb", "usbVersionMajor", "usbVersionMinor", "usbVersionSubminor", "useCurrentView", "useMap", "useProgram", "usedSpace", "user-select", "userActivation", "userAgent", "userAgentData", "userChoice", "userHandle", "userHint", "userInitiated", "userLanguage", "userSelect", "userState", "userVisibleOnly", "username", "usernameFragment", "utterance", "uuid", "v8BreakIterator", "vAlign", "vLink", "valid", "validate", "validateProgram", "validationMessage", "validity", "value", "valueAsDate", "valueAsNumber", "valueAsString", "valueInSpecifiedUnits", "valueMissing", "valueOf", "valueText", "valueType", "values", "variable", "variant", "variationSettings", "vb", "vector-effect", "vectorEffect", "velocityAngular", "velocityExpansion", "velocityX", "velocityY", "vendor", "vendorId", "vendorSub", "verify", "version", "vertex", "vertexAttrib1f", "vertexAttrib1fv", "vertexAttrib2f", "vertexAttrib2fv", "vertexAttrib3f", "vertexAttrib3fv", "vertexAttrib4f", "vertexAttrib4fv", "vertexAttribDivisor", "vertexAttribDivisorANGLE", "vertexAttribI4i", "vertexAttribI4iv", "vertexAttribI4ui", "vertexAttribI4uiv", "vertexAttribIPointer", "vertexAttribPointer", "vertical", "vertical-align", "verticalAlign", "verticalOverflow", "vh", "vi", "vibrate", "vibrationActuator", "videoBitsPerSecond", "videoHeight", "videoTracks", "videoWidth", "view", "viewBox", "viewBoxString", "viewDimension", "viewFormats", "viewTarget", "viewTargetString", "viewTransition", "viewport", "viewportAnchorX", "viewportAnchorY", "viewportElement", "views", "violatedDirective", "virtualKeyboard", "virtualKeyboardPolicy", "visibility", "visibilityState", "visible", "visibleRect", "visualViewport", "vlinkColor", "vmax", "vmin", "voice", "voiceURI", "volume", "vrml", "vspace", "vw", "w", "wait", "waitAsync", "waitSync", "waiting", "wake", "wakeLock", "wand", "warmup", "warn", "wasAlternateProtocolAvailable", "wasClean", "wasDiscarded", "wasFetchedViaSpdy", "wasNpnNegotiated", "watch", "watchAvailability", "watchPosition", "webNavigation", "webRequest", "webdriver", "webkitAddKey", "webkitAlignContent", "webkitAlignItems", "webkitAlignSelf", "webkitAnimation", "webkitAnimationDelay", "webkitAnimationDirection", "webkitAnimationDuration", "webkitAnimationFillMode", "webkitAnimationIterationCount", "webkitAnimationName", "webkitAnimationPlayState", "webkitAnimationTimingFunction", "webkitAppearance", "webkitAudioContext", "webkitAudioDecodedByteCount", "webkitAudioPannerNode", "webkitBackfaceVisibility", "webkitBackground", "webkitBackgroundAttachment", "webkitBackgroundClip", "webkitBackgroundColor", "webkitBackgroundImage", "webkitBackgroundOrigin", "webkitBackgroundPosition", "webkitBackgroundPositionX", "webkitBackgroundPositionY", "webkitBackgroundRepeat", "webkitBackgroundSize", "webkitBackingStorePixelRatio", "webkitBorderBottomLeftRadius", "webkitBorderBottomRightRadius", "webkitBorderImage", "webkitBorderImageOutset", "webkitBorderImageRepeat", "webkitBorderImageSlice", "webkitBorderImageSource", "webkitBorderImageWidth", "webkitBorderRadius", "webkitBorderTopLeftRadius", "webkitBorderTopRightRadius", "webkitBoxAlign", "webkitBoxDirection", "webkitBoxFlex", "webkitBoxOrdinalGroup", "webkitBoxOrient", "webkitBoxPack", "webkitBoxShadow", "webkitBoxSizing", "webkitCancelAnimationFrame", "webkitCancelFullScreen", "webkitCancelKeyRequest", "webkitCancelRequestAnimationFrame", "webkitClearResourceTimings", "webkitClipPath", "webkitClosedCaptionsVisible", "webkitConvertPointFromNodeToPage", "webkitConvertPointFromPageToNode", "webkitCreateShadowRoot", "webkitCurrentFullScreenElement", "webkitCurrentPlaybackTargetIsWireless", "webkitDecodedFrameCount", "webkitDirectionInvertedFromDevice", "webkitDisplayingFullscreen", "webkitDroppedFrameCount", "webkitEnterFullScreen", "webkitEnterFullscreen", "webkitEntries", "webkitExitFullScreen", "webkitExitFullscreen", "webkitExitPointerLock", "webkitFilter", "webkitFlex", "webkitFlexBasis", "webkitFlexDirection", "webkitFlexFlow", "webkitFlexGrow", "webkitFlexShrink", "webkitFlexWrap", "webkitFontFeatureSettings", "webkitFullScreenKeyboardInputAllowed", "webkitFullscreenElement", "webkitFullscreenEnabled", "webkitGenerateKeyRequest", "webkitGetAsEntry", "webkitGetDatabaseNames", "webkitGetEntries", "webkitGetEntriesByName", "webkitGetEntriesByType", "webkitGetFlowByName", "webkitGetGamepads", "webkitGetImageDataHD", "webkitGetNamedFlows", "webkitGetRegionFlowRanges", "webkitGetUserMedia", "webkitHasClosedCaptions", "webkitHidden", "webkitIDBCursor", "webkitIDBDatabase", "webkitIDBDatabaseError", "webkitIDBDatabaseException", "webkitIDBFactory", "webkitIDBIndex", "webkitIDBKeyRange", "webkitIDBObjectStore", "webkitIDBRequest", "webkitIDBTransaction", "webkitImageSmoothingEnabled", "webkitIndexedDB", "webkitInitMessageEvent", "webkitIsFullScreen", "webkitJustifyContent", "webkitKeys", "webkitLineClamp", "webkitLineDashOffset", "webkitLockOrientation", "webkitMask", "webkitMaskClip", "webkitMaskComposite", "webkitMaskImage", "webkitMaskOrigin", "webkitMaskPosition", "webkitMaskPositionX", "webkitMaskPositionY", "webkitMaskRepeat", "webkitMaskSize", "webkitMatchesSelector", "webkitMediaStream", "webkitNotifications", "webkitOfflineAudioContext", "webkitOrder", "webkitOrientation", "webkitPeerConnection00", "webkitPersistentStorage", "webkitPerspective", "webkitPerspectiveOrigin", "webkitPointerLockElement", "webkitPostMessage", "webkitPreservesPitch", "webkitPutImageDataHD", "webkitRTCPeerConnection", "webkitRegionOverset", "webkitRelativePath", "webkitRequestAnimationFrame", "webkitRequestFileSystem", "webkitRequestFullScreen", "webkitRequestFullscreen", "webkitRequestPointerLock", "webkitResolveLocalFileSystemURL", "webkitSetMediaKeys", "webkitSetResourceTimingBufferSize", "webkitShadowRoot", "webkitShowPlaybackTargetPicker", "webkitSlice", "webkitSpeechGrammar", "webkitSpeechGrammarList", "webkitSpeechRecognition", "webkitSpeechRecognitionError", "webkitSpeechRecognitionEvent", "webkitStorageInfo", "webkitSupportsFullscreen", "webkitTemporaryStorage", "webkitTextFillColor", "webkitTextSecurity", "webkitTextSizeAdjust", "webkitTextStroke", "webkitTextStrokeColor", "webkitTextStrokeWidth", "webkitTransform", "webkitTransformOrigin", "webkitTransformStyle", "webkitTransition", "webkitTransitionDelay", "webkitTransitionDuration", "webkitTransitionProperty", "webkitTransitionTimingFunction", "webkitURL", "webkitUnlockOrientation", "webkitUserSelect", "webkitVideoDecodedByteCount", "webkitVisibilityState", "webkitWirelessVideoPlaybackDisabled", "webkitdirectory", "webkitdropzone", "webstore", "weight", "wgslLanguageFeatures", "whatToShow", "wheelDelta", "wheelDeltaX", "wheelDeltaY", "whenDefined", "which", "white-space", "white-space-collapse", "whiteSpace", "whiteSpaceCollapse", "wholeText", "widows", "width", "will-change", "willChange", "willValidate", "window", "windowAttribution", "windowControlsOverlay", "windowId", "windowIds", "windows", "with", "withCredentials", "withResolvers", "word-break", "word-spacing", "word-wrap", "wordBreak", "wordSpacing", "wordWrap", "workerStart", "worklet", "wow64", "wrap", "wrapKey", "writable", "writableAuxiliaries", "write", "writeBuffer", "writeMask", "writeText", "writeTexture", "writeTimestamp", "writeValue", "writeValueWithResponse", "writeValueWithoutResponse", "writeWithoutResponse", "writeln", "writing-mode", "writingMode", "writingSuggestions", "x", "x1", "x2", "xChannelSelector", "xmlEncoding", "xmlStandalone", "xmlVersion", "xmlbase", "xmllang", "xmlspace", "xor", "xr", "y", "y1", "y2", "yChannelSelector", "yandex", "yield", "z", "z-index", "zIndex", "zoom", "zoomAndPan", "zoomRectScreen" ]; }); // ../node_modules/terser/lib/propmangle.js function DLe(e) { fX.forEach(i); var t = ["Symbol", "Map", "Promise", "Proxy", "Reflect", "Set", "WeakMap", "WeakSet"], r = {}, n = typeof global == "object" ? global : self; t.forEach(function(s) { r[s] = n[s] || function() { }; }), [ "null", "true", "false", "NaN", "Infinity", "-Infinity", "undefined" ].forEach(i), [ Object, Array, Function, Number, String, Boolean, Error, Math, Date, RegExp, r.Symbol, ArrayBuffer, DataView, decodeURI, decodeURIComponent, encodeURI, encodeURIComponent, eval, EvalError, Float32Array, Float64Array, Int8Array, Int16Array, Int32Array, isFinite, isNaN, JSON, r.Map, parseFloat, parseInt, r.Promise, r.Proxy, RangeError, ReferenceError, r.Reflect, r.Set, SyntaxError, TypeError, Uint8Array, Uint8ClampedArray, Uint16Array, Uint32Array, URIError, r.WeakMap, r.WeakSet ].forEach(function(s) { Object.getOwnPropertyNames(s).map(i), s.prototype && Object.getOwnPropertyNames(s.prototype).map(i); }); function i(s) { e.add(s); } a(i, "add"); } function pX(e, t) { function r(n) { _o(t, n); } a(r, "add"), e.walk(new $t(function(n) { n instanceof et && n.quote ? r(n.key) : n instanceof Ot && n.quote ? r(n.key.name) : n instanceof Tt && Fl(n.property, r); })); } function Fl(e, t) { e.walk(new $t(function(r) { return r instanceof Ee ? Fl(r.tail_node(), t) : r instanceof Ve ? t(r.value) : r instanceof Te && (Fl(r.consequent, t), Fl(r.alternative, t)), !0; })); } function dX(e, t) { var r = -1, n = /* @__PURE__ */ new Map(), i = t.nth_identifier || _u; return e = e.transform(new Wr(function(o) { o instanceof Ur || o instanceof qr || o instanceof on || o instanceof yn || o instanceof On ? o.key.name = s(o.key.name) : o instanceof sn && (o.property = s(o.property)); })), e; function s(o) { let u = n.get(o); return u || (u = i.get(++r), n.set(o, u)), u; } a(s, "mangle_private"); } function B2(e) { var t = /* @__PURE__ */ new Set(); return Rt(e, (r) => { r instanceof Ur || r instanceof qr || r instanceof on || r instanceof yn || r instanceof sn || (r instanceof et ? typeof r.key == "strin\ g" && tn(r, Sl) && t.add(r.key) : r instanceof Ot ? tn(r, Sl) && t.add(r.key.name) : r instanceof nt ? tn(r, Sl) && t.add(r.property) : r instanceof Tt && r.property instanceof Ve && tn(r, Sl) && t.add(r.property.value)); }), t; } function mX(e, t, r = B2(e)) { t = Wn(t, { builtins: !1, cache: null, debug: !1, keep_quoted: !1, nth_identifier: _u, only_cache: !1, regex: null, reserved: null, undeclared: !1, only_annotated: !1 }, !0); var n = t.nth_identifier, i = t.reserved; Array.isArray(i) || (i = [i]); var s = new Set(i); t.builtins || DLe(s); var o = -1, u; t.cache ? u = t.cache.props : u = /* @__PURE__ */ new Map(); var l = t.only_annotated, c = t.regex && new RegExp(t.regex), f = t.debug !== !1, d; f && (d = t.debug === !0 ? "" : t.debug); var g = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(); u.forEach((E) => b.add(E)); var _ = !!t.keep_quoted; return e.walk(new $t(function(E) { if (!(E instanceof Ur || E instanceof qr || E instanceof on || E instanceof yn || E instanceof sn)) if (E instanceof et) typeof E.key == "string" && (!_ || !E.quote) && h(E.key); else if (E instanceof Ot) (!_ || !E.quote) && h(E.key.name); else if (E instanceof nt) { var C = !!t.undeclared; if (!C) { for (var m = E; m.expression; ) m = m.expression; C = !(m.thedef && m.thedef.undeclared); } C && (!_ || !E.quote) && h(E.property); } else E instanceof Tt ? _ || Fl(E.property, h) : E instanceof pe && E.expression.print_to_string() == "Object.defineProperty" ? Fl(E. args[1], h) : E instanceof K && E.operator === "in" ? Fl(E.left, h) : E instanceof Ve && tn(E, yl) && h(E.value); })), e.transform(new Wr(function(E) { E instanceof Ur || E instanceof qr || E instanceof on || E instanceof yn || E instanceof sn || (E instanceof et ? typeof E.key == "strin\ g" && (!_ || !E.quote) && (E.key = S(E.key)) : E instanceof Ot ? (!_ || !E.quote) && (E.computed_key() || (E.key.name = S(E.key.name))) : E instanceof nt ? (!_ || !E.quote) && (E.property = S(E.property)) : !_ && E instanceof Tt ? E.property = D(E.property) : E instanceof pe && E.expression. print_to_string() == "Object.defineProperty" ? E.args[1] = D(E.args[1]) : E instanceof K && E.operator === "in" ? E.left = D(E.left) : E instanceof Ve && tn(E, yl) && (Kx(E, yl), E.value = S(E.value))); })); function T(E) { return b.has(E) || s.has(E) ? !1 : t.only_cache ? u.has(E) : !/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(E); } a(T, "can_mangle"); function p(E) { return l && !r.has(E) ? !1 : c && !c.test(E) ? r.has(E) : s.has(E) ? !1 : u.has(E) || g.has(E); } a(p, "should_mangle"); function h(E) { T(E) && g.add(E), p(E) || b.add(E); } a(h, "add"); function S(E) { if (!p(E)) return E; var C = u.get(E); if (!C) { if (f) { var m = "_$" + E + "$" + d + "_"; T(m) && (C = m); } if (!C) do C = n.get(++o); while (!T(C)); u.set(E, C); } return C; } a(S, "mangle"); function D(E) { return E.transform(new Wr(function(C) { if (C instanceof Ee) { var m = C.expressions.length - 1; C.expressions[m] = D(C.expressions[m]); } else C instanceof Ve ? (Kx(C, yl), C.value = S(C.value)) : C instanceof Te && (C.consequent = D(C.consequent), C.alternative = D(C.alternative)); return C; })); } a(D, "mangleStrings"); } var gX = we(() => { "use strict"; rn(); Lp(); Nr(); hX(); a(DLe, "find_builtins"); a(pX, "reserve_quoted_keys"); a(Fl, "addStrings"); a(dX, "mangle_private_properties"); a(B2, "find_annotated_props"); a(mX, "mangle_properties"); }); // ../node_modules/terser/lib/minify.js function wLe(e) { var t = /(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(e); return t ? xLe(t[2]) : (console.warn("inline source map not found"), null); } function Tu(e, t, r) { t[e] && r.forEach(function(n) { t[n] && (typeof t[n] != "object" && (t[n] = {}), e in t[n] || (t[n][e] = t[e])); }); } function _X(e) { e && ("props" in e ? e.props instanceof Map || (e.props = HW(e.props)) : e.props = /* @__PURE__ */ new Map()); } function vX(e) { return { props: jW(e.props) }; } function OLe(e, t, r, n) { if (!(r && r.writeFileSync && r.mkdirSync)) return; try { r.mkdirSync(n); } catch (u) { if (u.code !== "EEXIST") throw u; } let i = `${n}/terser-debug-${Math.random() * 9999999 | 0}.log`; t = t || {}; let s = JSON.stringify(t, (u, l) => typeof l == "function" ? "[Function " + l.toString() + "]" : l instanceof RegExp ? "[RegExp " + l.toString() + "]" : l, 4), o = /* @__PURE__ */ a((u) => typeof u == "object" && t.parse && t.parse.spidermonkey ? JSON.stringify(u, null, 2) : typeof u == "object" ? Object.keys(u).map((l) => l + ": " + o(u[l])).join(` `) : typeof u == "string" ? "```\n" + u + "\n```" : u, "files_str"); r.writeFileSync(i, `Options: ` + s + ` Input files: ` + o(e) + ` `); } function* bX(e, t, r) { r && typeof process == "object" && process.env && typeof process.env.TERSER_DEBUG_DIR == "string" && OLe(e, t, r, process.env.TERSER_DEBUG_DIR), t = Wn(t, { compress: {}, ecma: void 0, enclose: !1, ie8: !1, keep_classnames: void 0, keep_fnames: !1, mangle: {}, module: !1, nameCache: null, output: null, format: null, parse: {}, rename: void 0, safari10: !1, sourceMap: !1, spidermonkey: !1, timings: !1, toplevel: !1, warnings: !1, wrap: !1 }, !0); var n = t.timings && { start: Date.now() }; if (t.keep_classnames === void 0 && (t.keep_classnames = t.keep_fnames), t.rename === void 0 && (t.rename = t.compress && t.mangle), t.output && t.format) throw new Error("Please only specify either output or format option, preferrably format."); t.format = t.format || t.output || {}, Tu("ecma", t, ["parse", "compress", "format"]), Tu("ie8", t, ["compress", "mangle", "format"]), Tu( "keep_classnames", t, ["compress", "mangle"]), Tu("keep_fnames", t, ["compress", "mangle"]), Tu("module", t, ["parse", "compress", "mangle"]), Tu("safari10", t, ["mangle", "format"]), Tu("toplevel", t, ["compress", "mangle"]), Tu("warnings", t, ["compress"]); var i; t.mangle && (t.mangle = Wn(t.mangle, { cache: t.nameCache && (t.nameCache.vars || {}), eval: !1, ie8: !1, keep_classnames: !1, keep_fnames: !1, module: !1, nth_identifier: _u, properties: !1, reserved: [], safari10: !1, toplevel: !1 }, !0), t.mangle.properties && (typeof t.mangle.properties != "object" && (t.mangle.properties = {}), t.mangle.properties.keep_quoted && (i = t.mangle.properties.reserved, Array.isArray(i) || (i = []), t.mangle.properties.reserved = i), t.nameCache && !("cache" in t.mangle.properties) && (t.mangle.properties.cache = t.nameCache.props || {})), _X(t.mangle.cache), _X(t.mangle.properties.cache)), t.sourceMap && (t.sourceMap = Wn( t.sourceMap, { asObject: !1, content: null, filename: null, includeSources: !1, root: null, url: null }, !0)), n && (n.parse = Date.now()); var s; if (e instanceof lt) s = e; else { if ((typeof e == "string" || t.parse.spidermonkey && !Array.isArray(e)) && (e = [e]), t.parse = t.parse || {}, t.parse.toplevel = null, t. parse.spidermonkey) t.parse.toplevel = ne.from_mozilla_ast(Object.keys(e).reduce(function(g, b) { return g ? (g.body = g.body.concat(e[b].body), g) : e[b]; }, null)); else { delete t.parse.spidermonkey; for (var o in e) if (Fr(e, o) && (t.parse.filename = o, t.parse.toplevel = Vs(e[o], t.parse), t.sourceMap && t.sourceMap.content == "i\ nline")) { if (Object.keys(e).length > 1) throw new Error("inline source map only works with singular input"); t.sourceMap.content = wLe(e[o]); } } if (t.parse.toplevel === null) throw new Error("no source file given"); s = t.parse.toplevel; } i && t.mangle.properties.keep_quoted !== "strict" && pX(s, i); var u; t.mangle && t.mangle.properties && (u = B2(s)), t.wrap && (s = s.wrap_commonjs(t.wrap)), t.enclose && (s = s.wrap_enclose(t.enclose)), n && (n.rename = Date.now()), n && (n.compress = Date.now()), t.compress && (s = new Gp(t.compress, { mangle_options: t.mangle }).compress(s)), n && (n.scope = Date.now()), t.mangle && s.figure_out_scope(t.mangle), n && (n.mangle = Date.now()), t.mangle && (s.compute_char_frequency( t.mangle), s.mangle_names(t.mangle), s = dX(s, t.mangle)), n && (n.properties = Date.now()), t.mangle && t.mangle.properties && (s = mX(s, t.mangle.properties, u)), n && (n.format = Date.now()); var l = {}; t.format.ast && (l.ast = s), t.format.spidermonkey && (l.ast = s.to_mozilla_ast()); let c; if (!Fr(t.format, "code") || t.format.code) { if (c = { ...t.format }, c.ast || (c._destroy_ast = !0, Rt(s, (g) => { g instanceof De && (g.variables = void 0, g.enclosed = void 0, g.parent_scope = void 0), g.block_scope && (g.block_scope.variables = void 0, g.block_scope.enclosed = void 0, g.block_scope.parent_scope = void 0); })), t.sourceMap) { if (t.sourceMap.includeSources && e instanceof lt) throw new Error("original source content unavailable"); c.source_map = yield* lX({ file: t.sourceMap.filename, orig: t.sourceMap.content, root: t.sourceMap.root, files: t.sourceMap.includeSources ? e : null }); } delete c.ast, delete c.code, delete c.spidermonkey; var f = El(c); if (s.print(f), l.code = f.get(), t.sourceMap) if (Object.defineProperty(l, "map", { configurable: !0, enumerable: !0, get() { let g = c.source_map.getEncoded(); return l.map = t.sourceMap.asObject ? g : JSON.stringify(g); }, set(g) { Object.defineProperty(l, "map", { value: g, writable: !0 }); } }), l.decoded_map = c.source_map.getDecoded(), t.sourceMap.url == "inline") { var d = typeof l.map == "object" ? JSON.stringify(l.map) : l.map; l.code += ` //# sourceMappingURL=data:application/json;charset=utf-8;base64,` + CLe(d); } else t.sourceMap.url && (l.code += ` //# sourceMappingURL=` + t.sourceMap.url); } return t.nameCache && t.mangle && (t.mangle.cache && (t.nameCache.vars = vX(t.mangle.cache)), t.mangle.properties && t.mangle.properties.cache && (t.nameCache.props = vX(t.mangle.properties.cache))), c && c.source_map && c.source_map.destroy(), n && (n.end = Date.now(), l.timings = { parse: 1e-3 * (n.rename - n.parse), rename: 1e-3 * (n.compress - n.rename), compress: 1e-3 * (n.scope - n.compress), scope: 1e-3 * (n.mangle - n.scope), mangle: 1e-3 * (n.properties - n.mangle), properties: 1e-3 * (n.format - n.properties), format: 1e-3 * (n.end - n.format), total: 1e-3 * (n.end - n.start) }), l; } async function Il(e, t, r) { let n = bX(e, t, r), i, s; do s = n.next(await i), i = s.value; while (!s.done); return s.value; } function yX(e, t, r) { let n = bX(e, t, r), i, s; do { if (i && typeof i.then == "function") throw new Error("minify_sync cannot be used with the legacy source-map module"); s = n.next(i), i = s.value; } while (!s.done); return s.value; } var xLe, CLe, M2 = we(() => { "use strict"; rn(); Nr(); cu(); Iv(); R$(); Lp(); cX(); gX(); xLe = typeof Buffer < "u" ? (e) => Buffer.from(e, "base64").toString() : (e) => decodeURIComponent(escape(atob(e))), CLe = typeof Buffer < "u" ? (e) => Buffer.from(e).toString("base64") : (e) => btoa(unescape(encodeURIComponent(e))); a(wLe, "read_source_map"); a(Tu, "set_shorthand"); a(_X, "init_cache"); a(vX, "cache_to_json"); a(OLe, "log_input"); a(bX, "minify_sync_or_async"); a(Il, "minify"); a(yX, "minify_sync"); }); // ../node_modules/terser/node_modules/acorn/dist/acorn.mjs var oY = {}; ki(oY, { Node: () => Zp, Parser: () => Xr, Position: () => Tf, SourceLocation: () => Yp, TokContext: () => Fa, Token: () => pb, TokenType: () => kt, defaultOptions: () => nb, getLineInfo: () => K2, isIdentifierChar: () => Co, isIdentifierStart: () => gs, isNewLine: () => Nl, keywordTypes: () => ub, lineBreak: () => xi, lineBreakG: () => wX, nonASCIIwhitespace: () => z2, parse: () => hBe, parseExpressionAt: () => pBe, tokContexts: () => br, tokTypes: () => R, tokenizer: () => dBe, version: () => sY }); function H2(e, t) { for (var r = 65536, n = 0; n < t.length; n += 2) { if (r += t[n], r > e) return !1; if (r += t[n + 1], r >= e) return !0; } return !1; } function gs(e, t) { return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && ILe.test(String.fromCharCode(e)) : t === !1 ? !1 : H2(e, xX); } function Co(e, t) { return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && NLe.test( String.fromCharCode(e)) : t === !1 ? !1 : H2(e, xX) || H2(e, RLe); } function ka(e, t) { return new kt(e, { beforeExpr: !0, binop: t }); } function wt(e, t) { return t === void 0 && (t = {}), t.keyword = e, ub[e] = new kt(e, t); } function Nl(e) { return e === 10 || e === 13 || e === 8232 || e === 8233; } function OX(e, t, r) { r === void 0 && (r = e.length); for (var n = t; n < r; n++) { var i = e.charCodeAt(n); if (Nl(i)) return n < r - 1 && i === 13 && e.charCodeAt(n + 1) === 10 ? n + 2 : n + 1; } return -1; } function Du(e) { return EX[e] || (EX[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$")); } function wo(e) { return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320)); } function K2(e, t) { for (var r = 1, n = 0; ; ) { var i = OX(e, n, t); if (i < 0) return new Tf(r, t - n); ++r, n = i; } } function qLe(e) { var t = {}; for (var r in nb) t[r] = e && Df(e, r) ? e[r] : nb[r]; if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!AX && typeof console == "object" && console.warn && (AX = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t. allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), SX(t.onToken)) { var n = t.onToken; t.onToken = function(i) { return n.push(i); }; } return SX(t.onComment) && (t.onComment = ULe(t, t.onComment)), t; } function ULe(e, t) { return function(r, n, i, s, o, u) { var l = { type: r ? "Block" : "Line", value: n, start: i, end: s }; e.locations && (l.loc = new Yp(this, o, u)), e.ranges && (l.range = [i, s]), t.push(l); }; } function X2(e, t) { return xf | (e ? W2 : 0) | (t ? kX : 0); } function GLe(e, t) { var r = t.key.name, n = e[r], i = "true"; return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (i = (t.static ? "s" : "i") + t.kind), n === "iget" && i === "iset" || n === "iset" && i === "iget" || n === "sget" && i === "sset" || n === "sset" && i === "sget" ? (e[r] = "true", !1) : n ? !0 : (e[r] = i, !1); } function ab(e, t) { var r = e.computed, n = e.key; return !r && (n.type === "Identifier" && n.name === t || n.type === "Literal" && n.value === t); } function MX(e) { return e.type === "Identifier" || e.type === "ParenthesizedExpression" && MX(e.expression); } function G2(e) { return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && G2(e.expression) || e.type === "ParenthesizedExpression" && G2(e.expression); } function qX(e, t, r, n) { return e.type = t, e.end = r, this.options.locations && (e.loc.end = n), this.options.ranges && (e.range[1] = r), e; } function eBe(e) { var t = YX[e] = { binary: Du(XLe[e] + " " + TX), binaryOfStrings: Du(QLe[e]), nonBinary: { General_Category: Du(TX), Script: Du(JLe[e]) } }; t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t. nonBinary.scx = t.nonBinary.Script_Extensions; } function tBe(e) { for (var t in e) return !0; return !1; } function rBe(e) { return e === 105 || e === 109 || e === 115; } function QX(e) { return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125; } function nBe(e) { return gs(e, !0) || e === 36 || e === 95; } function iBe(e) { return Co(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205; } function ZX(e) { return e >= 65 && e <= 90 || e >= 97 && e <= 122; } function aBe(e) { return e >= 0 && e <= 1114111; } function sBe(e) { return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87; } function eY(e) { return ZX(e) || e === 95; } function oBe(e) { return eY(e) || hb(e); } function uBe(e) { return e === 33 || e >= 35 && e <= 38 || e >= 42 && e <= 44 || e === 46 || e >= 58 && e <= 64 || e === 94 || e === 96 || e === 126; } function lBe(e) { return e === 40 || e === 41 || e === 45 || e === 47 || e >= 91 && e <= 93 || e >= 123 && e <= 125; } function cBe(e) { return e === 33 || e === 35 || e === 37 || e === 38 || e === 44 || e === 45 || e >= 58 && e <= 62 || e === 64 || e === 96 || e === 126; } function hb(e) { return e >= 48 && e <= 57; } function tY(e) { return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102; } function rY(e) { return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48; } function nY(e) { return e >= 48 && e <= 55; } function fBe(e, t) { return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, "")); } function iY(e) { return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, "")); } function hBe(e, t) { return Xr.parse(e, t); } function pBe(e, t, r) { return Xr.parseExpressionAt(e, t, r); } function dBe(e, t) { return Xr.tokenizer(e, t); } var RLe, xX, kLe, CX, q2, U2, PLe, FLe, ILe, NLe, kt, Pa, Wi, ub, R, xi, wX, z2, mi, RX, LLe, BLe, Df, SX, EX, MLe, Tf, Yp, nb, AX, Xp, xf, W2, kX, $2, PX, lb, FX, Ll, Qp, cb, ib, Y2, Ro, IX, NX, LX, Xr, Ws, Ci, VLe, fb, ke, Q2, HLe, jLe, $p, j2, BX, Na, Fa, br, Cf, tt, zLe, sb, xu, KLe, Zp, Jp, WLe, UX, VX, HX, jX, GX, $Le, XLe, YLe, QLe, TX, zX, KX, WX, $X, XX, ZLe, JLe, YX, DX, rb, V2, xe, ob, $s, JX, Oo, Ia, pb, St, aY, sY, uY = we(() => { RLe = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], xX = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191], kLe = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\ \u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\ \u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\ \u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\ \uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65", CX = "\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\ \u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\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\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\ \u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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", q2 = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package pri\ vate protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }, U2 = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false\ instanceof typeof void delete new in this", PLe = { 5: U2, "5module": U2 + " export import", 6: U2 + " const class extends export import super" }, FLe = /^in(stanceof)?$/, ILe = new RegExp("[" + CX + "]"), NLe = new RegExp("[" + CX + kLe + "]"); a(H2, "isInAstralSet"); a(gs, "isIdentifierStart"); a(Co, "isIdentifierChar"); kt = /* @__PURE__ */ a(function(t, r) { r === void 0 && (r = {}), this.label = t, this.keyword = r.keyword, this.beforeExpr = !!r.beforeExpr, this.startsExpr = !!r.startsExpr, this. isLoop = !!r.isLoop, this.isAssign = !!r.isAssign, this.prefix = !!r.prefix, this.postfix = !!r.postfix, this.binop = r.binop || null, this. updateContext = null; }, "TokenType"); a(ka, "binop"); Pa = { beforeExpr: !0 }, Wi = { startsExpr: !0 }, ub = {}; a(wt, "kw"); R = { num: new kt("num", Wi), regexp: new kt("regexp", Wi), string: new kt("string", Wi), name: new kt("name", Wi), privateId: new kt("privateId", Wi), eof: new kt("eof"), // Punctuation token types. bracketL: new kt("[", { beforeExpr: !0, startsExpr: !0 }), bracketR: new kt("]"), braceL: new kt("{", { beforeExpr: !0, startsExpr: !0 }), braceR: new kt("}"), parenL: new kt("(", { beforeExpr: !0, startsExpr: !0 }), parenR: new kt(")"), comma: new kt(",", Pa), semi: new kt(";", Pa), colon: new kt(":", Pa), dot: new kt("."), question: new kt("?", Pa), questionDot: new kt("?."), arrow: new kt("=>", Pa), template: new kt("template"), invalidTemplate: new kt("invalidTemplate"), ellipsis: new kt("...", Pa), backQuote: new kt("`", Wi), dollarBraceL: new kt("${", { beforeExpr: !0, startsExpr: !0 }), // Operators. These carry several kinds of properties to help the // parser use them properly (the presence of these properties is // what categorizes them as operators). // // `binop`, when present, specifies that this operator is a binary // operator, and will refer to its precedence. // // `prefix` and `postfix` mark the operator as a prefix or postfix // unary operator. // // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as // binary operators with a very low precedence, that should result // in AssignmentExpression nodes. eq: new kt("=", { beforeExpr: !0, isAssign: !0 }), assign: new kt("_=", { beforeExpr: !0, isAssign: !0 }), incDec: new kt("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }), prefix: new kt("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }), logicalOR: ka("||", 1), logicalAND: ka("&&", 2), bitwiseOR: ka("|", 3), bitwiseXOR: ka("^", 4), bitwiseAND: ka("&", 5), equality: ka("==/!=/===/!==", 6), relational: ka("/<=/>=", 7), bitShift: ka("<>/>>>", 8), plusMin: new kt("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }), modulo: ka("%", 10), star: ka("*", 10), slash: ka("/", 10), starstar: new kt("**", { beforeExpr: !0 }), coalesce: ka("??", 1), // Keyword token types. _break: wt("break"), _case: wt("case", Pa), _catch: wt("catch"), _continue: wt("continue"), _debugger: wt("debugger"), _default: wt("default", Pa), _do: wt("do", { isLoop: !0, beforeExpr: !0 }), _else: wt("else", Pa), _finally: wt("finally"), _for: wt("for", { isLoop: !0 }), _function: wt("function", Wi), _if: wt("if"), _return: wt("return", Pa), _switch: wt("switch"), _throw: wt("throw", Pa), _try: wt("try"), _var: wt("var"), _const: wt("const"), _while: wt("while", { isLoop: !0 }), _with: wt("with"), _new: wt("new", { beforeExpr: !0, startsExpr: !0 }), _this: wt("this", Wi), _super: wt("super", Wi), _class: wt("class", Wi), _extends: wt("extends", Pa), _export: wt("export"), _import: wt("import", Wi), _null: wt("null", Wi), _true: wt("true", Wi), _false: wt("false", Wi), _in: wt("in", { beforeExpr: !0, binop: 7 }), _instanceof: wt("instanceof", { beforeExpr: !0, binop: 7 }), _typeof: wt("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }), _void: wt("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }), _delete: wt("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 }) }, xi = /\r\n?|\n|\u2028|\u2029/, wX = new RegExp(xi.source, "g"); a(Nl, "isNewLine"); a(OX, "nextLineBreak"); z2 = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, mi = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, RX = Object.prototype, LLe = RX.hasOwnProperty, BLe = RX.toString, Df = Object.hasOwn || function(e, t) { return LLe.call(e, t); }, SX = Array.isArray || function(e) { return BLe.call(e) === "[object Array]"; }, EX = /* @__PURE__ */ Object.create(null); a(Du, "wordsRegexp"); a(wo, "codePointToString"); MLe = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, Tf = /* @__PURE__ */ a(function(t, r) { this.line = t, this.column = r; }, "Position"); Tf.prototype.offset = /* @__PURE__ */ a(function(t) { return new Tf(this.line, this.column + t); }, "offset"); Yp = /* @__PURE__ */ a(function(t, r, n) { this.start = r, this.end = n, t.sourceFile !== null && (this.source = t.sourceFile); }, "SourceLocation"); a(K2, "getLineInfo"); nb = { // `ecmaVersion` indicates the ECMAScript version to parse. Must be // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10 // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"` // (the latest version the library supports). This influences // support for strict mode, the set of reserved words, and support // for new syntax features. ecmaVersion: null, // `sourceType` indicates the mode the code should be parsed in. // Can be either `"script"` or `"module"`. This influences global // strict mode and parsing of `import` and `export` declarations. sourceType: "script", // `onInsertedSemicolon` can be a callback that will be called when // a semicolon is automatically inserted. It will be passed the // position of the inserted semicolon as an offset, and if // `locations` is enabled, it is given the location as a `{line, // column}` object as second argument. onInsertedSemicolon: null, // `onTrailingComma` is similar to `onInsertedSemicolon`, but for // trailing commas. onTrailingComma: null, // By default, reserved words are only enforced if ecmaVersion >= 5. // Set `allowReserved` to a boolean value to explicitly turn this on // an off. When this option has the value "never", reserved words // and keywords can also not be used as property names. allowReserved: null, // When enabled, a return at the top level is not considered an // error. allowReturnOutsideFunction: !1, // When enabled, import/export statements are not constrained to // appearing at the top of the program, and an import.meta expression // in a script isn't considered an error. allowImportExportEverywhere: !1, // By default, await identifiers are allowed to appear at the top-level scope only if ecmaVersion >= 2022. // When enabled, await identifiers are allowed to appear at the top-level scope, // but they are still not allowed in non-async functions. allowAwaitOutsideFunction: null, // When enabled, super identifiers are not constrained to // appearing in methods and do not raise an error when they appear elsewhere. allowSuperOutsideMethod: null, // When enabled, hashbang directive in the beginning of file is // allowed and treated as a line comment. Enabled by default when // `ecmaVersion` >= 2023. allowHashBang: !1, // By default, the parser will verify that private properties are // only used in places where they are valid and have been declared. // Set this to false to turn such checks off. checkPrivateFields: !0, // When `locations` is on, `loc` properties holding objects with // `start` and `end` properties in `{line, column}` form (with // line being 1-based and column 0-based) will be attached to the // nodes. locations: !1, // A function can be passed as `onToken` option, which will // cause Acorn to call that function with object in the same // format as tokens returned from `tokenizer().getToken()`. Note // that you are not allowed to call the parser from the // callback—that will corrupt its internal state. onToken: null, // A function can be passed as `onComment` option, which will // cause Acorn to call that function with `(block, text, start, // end)` parameters whenever a comment is skipped. `block` is a // boolean indicating whether this is a block (`/* */`) comment, // `text` is the content of the comment, and `start` and `end` are // character offsets that denote the start and end of the comment. // When the `locations` option is on, two more parameters are // passed, the full `{line, column}` locations of the start and // end of the comments. Note that you are not allowed to call the // parser from the callback—that will corrupt its internal state. // When this option has an array as value, objects representing the // comments are pushed to it. onComment: null, // Nodes have their start and end characters offsets recorded in // `start` and `end` properties (directly on the node, rather than // the `loc` object, which holds line/column data. To also add a // [semi-standardized][range] `range` property holding a `[start, // end]` array with the same numbers, set the `ranges` option to // `true`. // // [range]: https://bugzilla.mozilla.org/show_bug.cgi?id=745678 ranges: !1, // It is possible to parse multiple files into a single AST by // passing the tree produced by parsing the first file as // `program` option in subsequent parses. This will add the // toplevel forms of the parsed file to the `Program` (top) node // of an existing parse tree. program: null, // When `locations` is on, you can pass this to record the source // file in every node's `loc` object. sourceFile: null, // This value, if given, is stored in every node, whether // `locations` is on or off. directSourceFile: null, // When enabled, parenthesized expressions are represented by // (non-standard) ParenthesizedExpression nodes preserveParens: !1 }, AX = !1; a(qLe, "getOptions"); a(ULe, "pushComment"); Xp = 1, xf = 2, W2 = 4, kX = 8, $2 = 16, PX = 32, lb = 64, FX = 128, Ll = 256, Qp = 512, cb = Xp | xf | Ll; a(X2, "functionFlags"); ib = 0, Y2 = 1, Ro = 2, IX = 3, NX = 4, LX = 5, Xr = /* @__PURE__ */ a(function(t, r, n) { this.options = t = qLe(t), this.sourceFile = t.sourceFile, this.keywords = Du(PLe[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "\ 5module" : 5]); var i = ""; t.allowReserved !== !0 && (i = q2[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (i += " await")), this. reservedWords = Du(i); var s = (i ? i + " " : "") + q2.strict; this.reservedWordsStrict = Du(s), this.reservedWordsStrictBind = Du(s + " " + q2.strictBind), this.input = String(r), this.containsEsc = !1, n ? (this.pos = n, this.lineStart = this.input.lastIndexOf(` `, n - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(xi).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this. type = R.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this. potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object. create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this. enterScope(Xp), this.regexpState = null, this.privateNameStack = []; }, "Parser"), Ws = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } }; Xr.prototype.parse = /* @__PURE__ */ a(function() { var t = this.options.program || this.startNode(); return this.nextToken(), this.parseTopLevel(t); }, "parse"); Ws.inFunction.get = function() { return (this.currentVarScope().flags & xf) > 0; }; Ws.inGenerator.get = function() { return (this.currentVarScope().flags & kX) > 0; }; Ws.inAsync.get = function() { return (this.currentVarScope().flags & W2) > 0; }; Ws.canAwait.get = function() { for (var e = this.scopeStack.length - 1; e >= 0; e--) { var t = this.scopeStack[e], r = t.flags; if (r & (Ll | Qp)) return !1; if (r & xf) return (r & W2) > 0; } return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction; }; Ws.allowSuper.get = function() { var e = this.currentThisScope(), t = e.flags; return (t & lb) > 0 || this.options.allowSuperOutsideMethod; }; Ws.allowDirectSuper.get = function() { return (this.currentThisScope().flags & FX) > 0; }; Ws.treatFunctionsAsVar.get = function() { return this.treatFunctionsAsVarInScope(this.currentScope()); }; Ws.allowNewDotTarget.get = function() { for (var e = this.scopeStack.length - 1; e >= 0; e--) { var t = this.scopeStack[e], r = t.flags; if (r & (Ll | Qp) || r & xf && !(r & $2)) return !0; } return !1; }; Ws.inClassStaticBlock.get = function() { return (this.currentVarScope().flags & Ll) > 0; }; Xr.extend = /* @__PURE__ */ a(function() { for (var t = [], r = arguments.length; r--; ) t[r] = arguments[r]; for (var n = this, i = 0; i < t.length; i++) n = t[i](n); return n; }, "extend"); Xr.parse = /* @__PURE__ */ a(function(t, r) { return new this(r, t).parse(); }, "parse"); Xr.parseExpressionAt = /* @__PURE__ */ a(function(t, r, n) { var i = new this(n, t, r); return i.nextToken(), i.parseExpression(); }, "parseExpressionAt"); Xr.tokenizer = /* @__PURE__ */ a(function(t, r) { return new this(r, t); }, "tokenizer"); Object.defineProperties(Xr.prototype, Ws); Ci = Xr.prototype, VLe = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/; Ci.strictDirective = function(e) { if (this.options.ecmaVersion < 5) return !1; for (; ; ) { mi.lastIndex = e, e += mi.exec(this.input)[0].length; var t = VLe.exec(this.input.slice(e)); if (!t) return !1; if ((t[1] || t[2]) === "use strict") { mi.lastIndex = e + t[0].length; var r = mi.exec(this.input), n = r.index + r[0].length, i = this.input.charAt(n); return i === ";" || i === "}" || xi.test(r[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(i) || i === "!" && this.input.charAt(n + 1) === "="); } e += t[0].length, mi.lastIndex = e, e += mi.exec(this.input)[0].length, this.input[e] === ";" && e++; } }; Ci.eat = function(e) { return this.type === e ? (this.next(), !0) : !1; }; Ci.isContextual = function(e) { return this.type === R.name && this.value === e && !this.containsEsc; }; Ci.eatContextual = function(e) { return this.isContextual(e) ? (this.next(), !0) : !1; }; Ci.expectContextual = function(e) { this.eatContextual(e) || this.unexpected(); }; Ci.canInsertSemicolon = function() { return this.type === R.eof || this.type === R.braceR || xi.test(this.input.slice(this.lastTokEnd, this.start)); }; Ci.insertSemicolon = function() { if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0; }; Ci.semicolon = function() { !this.eat(R.semi) && !this.insertSemicolon() && this.unexpected(); }; Ci.afterTrailingComma = function(e, t) { if (this.type === e) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0; }; Ci.expect = function(e) { this.eat(e) || this.unexpected(); }; Ci.unexpected = function(e) { this.raise(e ?? this.start, "Unexpected token"); }; fb = /* @__PURE__ */ a(function() { this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1; }, "DestructuringErrors"); Ci.checkPatternErrors = function(e, t) { if (e) { e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element"); var r = t ? e.parenthesizedAssign : e.parenthesizedBind; r > -1 && this.raiseRecoverable(r, t ? "Assigning to rvalue" : "Parenthesized pattern"); } }; Ci.checkExpressionErrors = function(e, t) { if (!e) return !1; var r = e.shorthandAssign, n = e.doubleProto; if (!t) return r >= 0 || n >= 0; r >= 0 && this.raise(r, "Shorthand property assignments are valid only in destructuring patterns"), n >= 0 && this.raiseRecoverable(n, "\ Redefinition of __proto__ property"); }; Ci.checkYieldAwaitInDefaultParams = function() { this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default va\ lue"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value"); }; Ci.isSimpleAssignTarget = function(e) { return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExp\ ression"; }; ke = Xr.prototype; ke.parseTopLevel = function(e) { var t = /* @__PURE__ */ Object.create(null); for (e.body || (e.body = []); this.type !== R.eof; ) { var r = this.parseStatement(null, !0, t); e.body.push(r); } if (this.inModule) for (var n = 0, i = Object.keys(this.undefinedExports); n < i.length; n += 1) { var s = i[n]; this.raiseRecoverable(this.undefinedExports[s].start, "Export '" + s + "' is not defined"); } return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program"); }; Q2 = { kind: "loop" }, HLe = { kind: "switch" }; ke.isLet = function(e) { if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return !1; mi.lastIndex = this.pos; var t = mi.exec(this.input), r = this.pos + t[0].length, n = this.input.charCodeAt(r); if (n === 91 || n === 92) return !0; if (e) return !1; if (n === 123 || n > 55295 && n < 56320) return !0; if (gs(n, !0)) { for (var i = r + 1; Co(n = this.input.charCodeAt(i), !0); ) ++i; if (n === 92 || n > 55295 && n < 56320) return !0; var s = this.input.slice(r, i); if (!FLe.test(s)) return !0; } return !1; }; ke.isAsyncFunction = function() { if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return !1; mi.lastIndex = this.pos; var e = mi.exec(this.input), t = this.pos + e[0].length, r; return !xi.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Co(r = this. input.charCodeAt(t + 8)) || r > 55295 && r < 56320)); }; ke.isUsingKeyword = function(e, t) { if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using")) return !1; mi.lastIndex = this.pos; var r = mi.exec(this.input), n = this.pos + r[0].length; if (xi.test(this.input.slice(this.pos, n))) return !1; if (e) { var i = n + 5, s; if (this.input.slice(n, i) !== "using" || i === this.input.length || Co(s = this.input.charCodeAt(i)) || s > 55295 && s < 56320) return !1; mi.lastIndex = i; var o = mi.exec(this.input); if (o && xi.test(this.input.slice(i, i + o[0].length))) return !1; } if (t) { var u = n + 2, l; if (this.input.slice(n, u) === "of" && (u === this.input.length || !Co(l = this.input.charCodeAt(u)) && !(l > 55295 && l < 56320))) return !1; } var c = this.input.charCodeAt(n); return gs(c, !0) || c === 92; }; ke.isAwaitUsing = function(e) { return this.isUsingKeyword(!0, e); }; ke.isUsing = function(e) { return this.isUsingKeyword(!1, e); }; ke.parseStatement = function(e, t, r) { var n = this.type, i = this.startNode(), s; switch (this.isLet(e) && (n = R._var, s = "let"), n) { case R._break: case R._continue: return this.parseBreakContinueStatement(i, n.keyword); case R._debugger: return this.parseDebuggerStatement(i); case R._do: return this.parseDoStatement(i); case R._for: return this.parseForStatement(i); case R._function: return e && (this.strict || e !== "if" && e !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement( i, !1, !e); case R._class: return e && this.unexpected(), this.parseClass(i, !0); case R._if: return this.parseIfStatement(i); case R._return: return this.parseReturnStatement(i); case R._switch: return this.parseSwitchStatement(i); case R._throw: return this.parseThrowStatement(i); case R._try: return this.parseTryStatement(i); case R._const: case R._var: return s = s || this.value, e && s !== "var" && this.unexpected(), this.parseVarStatement(i, s); case R._while: return this.parseWhileStatement(i); case R._with: return this.parseWithStatement(i); case R.braceL: return this.parseBlock(!0, i); case R.semi: return this.parseEmptyStatement(i); case R._export: case R._import: if (this.options.ecmaVersion > 10 && n === R._import) { mi.lastIndex = this.pos; var o = mi.exec(this.input), u = this.pos + o[0].length, l = this.input.charCodeAt(u); if (l === 40 || l === 46) return this.parseExpressionStatement(i, this.parseExpression()); } return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top le\ vel"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), n === R._import ? this.parseImport( i) : this.parseExport(i, r); // If the statement does not start with a statement keyword or a // brace, it's an ExpressionStatement or LabeledStatement. We // simply start parsing an expression, and afterwards, if the // next token is a colon and the expression was a simple // Identifier node, we switch to interpreting it as a label. default: if (this.isAsyncFunction()) return e && this.unexpected(), this.next(), this.parseFunctionStatement(i, !0, !e); var c = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null; if (c) return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when \ source type is `script`"), c === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async funct\ ion"), this.next()), this.next(), this.parseVar(i, !1, c), this.semicolon(), this.finishNode(i, "VariableDeclaration"); var f = this.value, d = this.parseExpression(); return n === R.name && d.type === "Identifier" && this.eat(R.colon) ? this.parseLabeledStatement(i, f, d, e) : this.parseExpressionStatement( i, d); } }; ke.parseBreakContinueStatement = function(e, t) { var r = t === "break"; this.next(), this.eat(R.semi) || this.insertSemicolon() ? e.label = null : this.type !== R.name ? this.unexpected() : (e.label = this.parseIdent(), this.semicolon()); for (var n = 0; n < this.labels.length; ++n) { var i = this.labels[n]; if ((e.label == null || i.name === e.label.name) && (i.kind != null && (r || i.kind === "loop") || e.label && r)) break; } return n === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, r ? "BreakStatement" : "ContinueStatement"); }; ke.parseDebuggerStatement = function(e) { return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement"); }; ke.parseDoStatement = function(e) { return this.next(), this.labels.push(Q2), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(R._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(R.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement"); }; ke.parseForStatement = function(e) { this.next(); var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1; if (this.labels.push(Q2), this.enterScope(0), this.expect(R.parenL), this.type === R.semi) return t > -1 && this.unexpected(t), this.parseFor(e, null); var r = this.isLet(); if (this.type === R._var || this.type === R._const || r) { var n = this.startNode(), i = r ? "let" : this.value; return this.next(), this.parseVar(n, !0, i), this.finishNode(n, "VariableDeclaration"), this.parseForAfterInit(e, n, t); } var s = this.isContextual("let"), o = !1, u = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null; if (u) { var l = this.startNode(); return this.next(), u === "await using" && this.next(), this.parseVar(l, !0, u), this.finishNode(l, "VariableDeclaration"), this.parseForAfterInit( e, l, t); } var c = this.containsEsc, f = new fb(), d = this.start, g = t > -1 ? this.parseExprSubscripts(f, "await") : this.parseExpression(!0, f); return this.type === R._in || (o = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === R._in && this.unexpected( t), e.await = !0) : o && this.options.ecmaVersion >= 8 && (g.start === d && !c && g.type === "Identifier" && g.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), s && o && this.raise(g.start, "The left-hand side of a for-of loop may not start with \ 'let'."), this.toAssignable(g, !1, f), this.checkLValPattern(g), this.parseForIn(e, g)) : (this.checkExpressionErrors(f, !0), t > -1 && this. unexpected(t), this.parseFor(e, g)); }; ke.parseForAfterInit = function(e, t, r) { return (this.type === R._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options. ecmaVersion >= 9 && (this.type === R._in ? r > -1 && this.unexpected(r) : e.await = r > -1), this.parseForIn(e, t)) : (r > -1 && this.unexpected( r), this.parseFor(e, t)); }; ke.parseFunctionStatement = function(e, t, r) { return this.next(), this.parseFunction(e, $p | (r ? 0 : j2), !1, t); }; ke.parseIfStatement = function(e) { return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(R._else) ? this. parseStatement("if") : null, this.finishNode(e, "IfStatement"); }; ke.parseReturnStatement = function(e) { return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(R.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode( e, "ReturnStatement"); }; ke.parseSwitchStatement = function(e) { this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(R.braceL), this.labels.push(HLe), this.enterScope(0); for (var t, r = !1; this.type !== R.braceR; ) if (this.type === R._case || this.type === R._default) { var n = this.type === R._case; t && this.finishNode(t, "SwitchCase"), e.cases.push(t = this.startNode()), t.consequent = [], this.next(), n ? t.test = this.parseExpression() : (r && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), r = !0, t.test = null), this.expect(R.colon); } else t || this.unexpected(), t.consequent.push(this.parseStatement(null)); return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement"); }; ke.parseThrowStatement = function(e) { return this.next(), xi.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement"); }; jLe = []; ke.parseCatchClauseParam = function() { var e = this.parseBindingAtom(), t = e.type === "Identifier"; return this.enterScope(t ? PX : 0), this.checkLValPattern(e, t ? NX : Ro), this.expect(R.parenR), e; }; ke.parseTryStatement = function(e) { if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === R._catch) { var t = this.startNode(); this.next(), this.eat(R.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause"); } return e.finalizer = this.eat(R._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch o\ r finally clause"), this.finishNode(e, "TryStatement"); }; ke.parseVarStatement = function(e, t, r) { return this.next(), this.parseVar(e, !1, t, r), this.semicolon(), this.finishNode(e, "VariableDeclaration"); }; ke.parseWhileStatement = function(e) { return this.next(), e.test = this.parseParenExpression(), this.labels.push(Q2), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement"); }; ke.parseWithStatement = function(e) { return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this. parseStatement("with"), this.finishNode(e, "WithStatement"); }; ke.parseEmptyStatement = function(e) { return this.next(), this.finishNode(e, "EmptyStatement"); }; ke.parseLabeledStatement = function(e, t, r, n) { for (var i = 0, s = this.labels; i < s.length; i += 1) { var o = s[i]; o.name === t && this.raise(r.start, "Label '" + t + "' is already declared"); } for (var u = this.type.isLoop ? "loop" : this.type === R._switch ? "switch" : null, l = this.labels.length - 1; l >= 0; l--) { var c = this.labels[l]; if (c.statementStart === e.start) c.statementStart = this.start, c.kind = u; else break; } return this.labels.push({ name: t, kind: u, statementStart: this.start }), e.body = this.parseStatement(n ? n.indexOf("label") === -1 ? n + "label" : n : "label"), this.labels.pop(), e.label = r, this.finishNode(e, "LabeledStatement"); }; ke.parseExpressionStatement = function(e, t) { return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement"); }; ke.parseBlock = function(e, t, r) { for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(R.braceL), e && this.enterScope(0); this. type !== R.braceR; ) { var n = this.parseStatement(null); t.body.push(n); } return r && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement"); }; ke.parseFor = function(e, t) { return e.init = t, this.expect(R.semi), e.test = this.type === R.semi ? null : this.parseExpression(), this.expect(R.semi), e.update = this. type === R.parenR ? null : this.parseExpression(), this.expect(R.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels. pop(), this.finishNode(e, "ForStatement"); }; ke.parseForIn = function(e, t) { var r = this.type === R._in; return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!r || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise( t.start, (r ? "for-in" : "for-of") + " loop variable declaration may not have an initializer" ), e.left = t, e.right = r ? this.parseExpression() : this.parseMaybeAssign(), this.expect(R.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, r ? "ForInStatement" : "ForOfStatement"); }; ke.parseVar = function(e, t, r, n) { for (e.declarations = [], e.kind = r; ; ) { var i = this.startNode(); if (this.parseVarId(i, r), this.eat(R.eq) ? i.init = this.parseMaybeAssign(t) : !n && r === "const" && !(this.type === R._in || this.options. ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !n && (r === "using" || r === "await using") && this.options.ecmaVersion >= 17 && this.type !== R._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + r + " declaration") : !n && i.id.type !== "Identifier" && !(t && (this.type === R._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding \ patterns require an initialization value") : i.init = null, e.declarations.push(this.finishNode(i, "VariableDeclarator")), !this.eat(R.comma)) break; } return e; }; ke.parseVarId = function(e, t) { e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Y2 : Ro, !1); }; $p = 1, j2 = 2, BX = 4; ke.parseFunction = function(e, t, r, n, i) { this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !n) && (this.type === R.star && t & j2 && this. unexpected(), e.generator = this.eat(R.star)), this.options.ecmaVersion >= 8 && (e.async = !!n), t & $p && (e.id = t & BX && this.type !== R.name ? null : this.parseIdent(), e.id && !(t & j2) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Y2 : Ro : IX)); var s = this.yieldPos, o = this.awaitPos, u = this.awaitIdentPos; return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(X2(e.async, e.generator)), t & $p || (e.id = this.type === R.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, r, !1, i), this.yieldPos = s, this.awaitPos = o, this.awaitIdentPos = u, this.finishNode(e, t & $p ? "FunctionDeclaration" : "FunctionExpression"); }; ke.parseFunctionParams = function(e) { this.expect(R.parenL), e.params = this.parseBindingList(R.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(); }; ke.parseClass = function(e, t) { this.next(); var r = this.strict; this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e); var n = this.enterClassBody(), i = this.startNode(), s = !1; for (i.body = [], this.expect(R.braceL); this.type !== R.braceR; ) { var o = this.parseClassElement(e.superClass !== null); o && (i.body.push(o), o.type === "MethodDefinition" && o.kind === "constructor" ? (s && this.raiseRecoverable(o.start, "Duplicate cons\ tructor in the same class"), s = !0) : o.key && o.key.type === "PrivateIdentifier" && GLe(n, o) && this.raiseRecoverable(o.key.start, "Ident\ ifier '#" + o.key.name + "' has already been declared")); } return this.strict = r, this.next(), e.body = this.finishNode(i, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclar\ ation" : "ClassExpression"); }; ke.parseClassElement = function(e) { if (this.eat(R.semi)) return null; var t = this.options.ecmaVersion, r = this.startNode(), n = "", i = !1, s = !1, o = "method", u = !1; if (this.eatContextual("static")) { if (t >= 13 && this.eat(R.braceL)) return this.parseClassStaticBlock(r), r; this.isClassElementNameStart() || this.type === R.star ? u = !0 : n = "static"; } if (r.static = u, !n && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === R.star) && !this.canInsertSemicolon() ? s = !0 : n = "async"), !n && (t >= 9 || !s) && this.eat(R.star) && (i = !0), !n && !s && !i) { var l = this.value; (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? o = l : n = l); } if (n ? (r.computed = !1, r.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), r.key.name = n, this.finishNode(r.key, "Ide\ ntifier")) : this.parseClassElementName(r), t < 13 || this.type === R.parenL || o !== "method" || i || s) { var c = !r.static && ab(r, "constructor"), f = c && e; c && o !== "method" && this.raise(r.key.start, "Constructor can't have get/set modifier"), r.kind = c ? "constructor" : o, this.parseClassMethod( r, i, s, f); } else this.parseClassField(r); return r; }; ke.isClassElementNameStart = function() { return this.type === R.name || this.type === R.privateId || this.type === R.num || this.type === R.string || this.type === R.bracketL || this.type.keyword; }; ke.parseClassElementName = function(e) { this.type === R.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e); }; ke.parseClassMethod = function(e, t, r, n) { var i = e.key; e.kind === "constructor" ? (t && this.raise(i.start, "Constructor can't be a generator"), r && this.raise(i.start, "Constructor can't be\ an async method")) : e.static && ab(e, "prototype") && this.raise(i.start, "Classes may not have a static property named prototype"); var s = e.value = this.parseMethod(t, r, n); return e.kind === "get" && s.params.length !== 0 && this.raiseRecoverable(s.start, "getter should have no params"), e.kind === "set" && s. params.length !== 1 && this.raiseRecoverable(s.start, "setter should have exactly one param"), e.kind === "set" && s.params[0].type === "\ RestElement" && this.raiseRecoverable(s.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition"); }; ke.parseClassField = function(e) { return ab(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && ab(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(R.eq) ? (this.enterScope(Qp | lb), e.value = this. parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition"); }; ke.parseClassStaticBlock = function(e) { e.body = []; var t = this.labels; for (this.labels = [], this.enterScope(Ll | lb); this.type !== R.braceR; ) { var r = this.parseStatement(null); e.body.push(r); } return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock"); }; ke.parseClassId = function(e, t) { this.type === R.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Ro, !1)) : (t === !0 && this.unexpected(), e.id = null); }; ke.parseClassSuper = function(e) { e.superClass = this.eat(R._extends) ? this.parseExprSubscripts(null, !1) : null; }; ke.enterClassBody = function() { var e = { declared: /* @__PURE__ */ Object.create(null), used: [] }; return this.privateNameStack.push(e), e.declared; }; ke.exitClassBody = function() { var e = this.privateNameStack.pop(), t = e.declared, r = e.used; if (this.options.checkPrivateFields) for (var n = this.privateNameStack.length, i = n === 0 ? null : this.privateNameStack[n - 1], s = 0; s < r.length; ++s) { var o = r[s]; Df(t, o.name) || (i ? i.used.push(o) : this.raiseRecoverable(o.start, "Private field '#" + o.name + "' must be declared in an enclos\ ing class")); } }; a(GLe, "isPrivateNameConflicted"); a(ab, "checkKeyName"); ke.parseExportAllDeclaration = function(e, t) { return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== R.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration"); }; ke.parseExport = function(e, t) { if (this.next(), this.eat(R.star)) return this.parseExportAllDeclaration(e, t); if (this.eat(R._default)) return this.checkExport(t, "default", this.lastTokStart), e.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e, "Ex\ portDefaultDeclaration"); if (this.shouldParseExportStatement()) e.declaration = this.parseExportDeclaration(e), e.declaration.type === "VariableDeclaration" ? this.checkVariableExport(t, e.declaration. declarations) : this.checkExport(t, e.declaration.id, e.declaration.id.start), e.specifiers = [], e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []); else { if (e.declaration = null, e.specifiers = this.parseExportSpecifiers(t), this.eatContextual("from")) this.type !== R.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this. parseWithClause()); else { for (var r = 0, n = e.specifiers; r < n.length; r += 1) { var i = n[r]; this.checkUnreserved(i.local), this.checkLocalExport(i.local), i.local.type === "Literal" && this.raise(i.local.start, "A string l\ iteral cannot be used as an exported binding without `from`."); } e.source = null, this.options.ecmaVersion >= 16 && (e.attributes = []); } this.semicolon(); } return this.finishNode(e, "ExportNamedDeclaration"); }; ke.parseExportDeclaration = function(e) { return this.parseStatement(null); }; ke.parseExportDefaultDeclaration = function() { var e; if (this.type === R._function || (e = this.isAsyncFunction())) { var t = this.startNode(); return this.next(), e && this.next(), this.parseFunction(t, $p | BX, !1, e); } else if (this.type === R._class) { var r = this.startNode(); return this.parseClass(r, "nullableID"); } else { var n = this.parseMaybeAssign(); return this.semicolon(), n; } }; ke.checkExport = function(e, t, r) { e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), Df(e, t) && this.raiseRecoverable(r, "Duplicate export '" + t + "'"), e[t] = !0); }; ke.checkPatternExport = function(e, t) { var r = t.type; if (r === "Identifier") this.checkExport(e, t, t.start); else if (r === "ObjectPattern") for (var n = 0, i = t.properties; n < i.length; n += 1) { var s = i[n]; this.checkPatternExport(e, s); } else if (r === "ArrayPattern") for (var o = 0, u = t.elements; o < u.length; o += 1) { var l = u[o]; l && this.checkPatternExport(e, l); } else r === "Property" ? this.checkPatternExport(e, t.value) : r === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : r === "Re\ stElement" && this.checkPatternExport(e, t.argument); }; ke.checkVariableExport = function(e, t) { if (e) for (var r = 0, n = t; r < n.length; r += 1) { var i = n[r]; this.checkPatternExport(e, i.id); } }; ke.shouldParseExportStatement = function() { return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction(); }; ke.parseExportSpecifier = function(e) { var t = this.startNode(); return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport( e, t.exported, t.exported.start ), this.finishNode(t, "ExportSpecifier"); }; ke.parseExportSpecifiers = function(e) { var t = [], r = !0; for (this.expect(R.braceL); !this.eat(R.braceR); ) { if (r) r = !1; else if (this.expect(R.comma), this.afterTrailingComma(R.braceR)) break; t.push(this.parseExportSpecifier(e)); } return t; }; ke.parseImport = function(e) { return this.next(), this.type === R.string ? (e.specifiers = jLe, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === R.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration"); }; ke.parseImportSpecifier = function() { var e = this.startNode(); return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, Ro), this.finishNode(e, "ImportSpecifier"); }; ke.parseImportDefaultSpecifier = function() { var e = this.startNode(); return e.local = this.parseIdent(), this.checkLValSimple(e.local, Ro), this.finishNode(e, "ImportDefaultSpecifier"); }; ke.parseImportNamespaceSpecifier = function() { var e = this.startNode(); return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Ro), this.finishNode(e, "Imp\ ortNamespaceSpecifier"); }; ke.parseImportSpecifiers = function() { var e = [], t = !0; if (this.type === R.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(R.comma))) return e; if (this.type === R.star) return e.push(this.parseImportNamespaceSpecifier()), e; for (this.expect(R.braceL); !this.eat(R.braceR); ) { if (t) t = !1; else if (this.expect(R.comma), this.afterTrailingComma(R.braceR)) break; e.push(this.parseImportSpecifier()); } return e; }; ke.parseWithClause = function() { var e = []; if (!this.eat(R._with)) return e; this.expect(R.braceL); for (var t = {}, r = !0; !this.eat(R.braceR); ) { if (r) r = !1; else if (this.expect(R.comma), this.afterTrailingComma(R.braceR)) break; var n = this.parseImportAttribute(), i = n.key.type === "Identifier" ? n.key.name : n.key.value; Df(t, i) && this.raiseRecoverable(n.key.start, "Duplicate attribute key '" + i + "'"), t[i] = !0, e.push(n); } return e; }; ke.parseImportAttribute = function() { var e = this.startNode(); return e.key = this.type === R.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(R.colon), this.type !== R.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute"); }; ke.parseModuleExportName = function() { if (this.options.ecmaVersion >= 13 && this.type === R.string) { var e = this.parseLiteral(this.value); return MLe.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e; } return this.parseIdent(!0); }; ke.adaptDirectivePrologue = function(e) { for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t) e[t].directive = e[t].expression.raw.slice(1, -1); }; ke.isDirectiveCandidate = function(e) { return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && // Reject parenthesized strings. (this.input[e.start] === '"' || this.input[e.start] === "'"); }; Na = Xr.prototype; Na.toAssignable = function(e, t, r) { if (this.options.ecmaVersion >= 6 && e) switch (e.type) { case "Identifier": this.inAsync && e.name === "await" && this.raise(e.start, "Cannot use 'await' as identifier inside an async function"); break; case "ObjectPattern": case "ArrayPattern": case "AssignmentPattern": case "RestElement": break; case "ObjectExpression": e.type = "ObjectPattern", r && this.checkPatternErrors(r, !0); for (var n = 0, i = e.properties; n < i.length; n += 1) { var s = i[n]; this.toAssignable(s, t), s.type === "RestElement" && (s.argument.type === "ArrayPattern" || s.argument.type === "ObjectPattern") && this.raise(s.argument.start, "Unexpected token"); } break; case "Property": e.kind !== "init" && this.raise(e.key.start, "Object pattern can't contain getter or setter"), this.toAssignable(e.value, t); break; case "ArrayExpression": e.type = "ArrayPattern", r && this.checkPatternErrors(r, !0), this.toAssignableList(e.elements, t); break; case "SpreadElement": e.type = "RestElement", this.toAssignable(e.argument, t), e.argument.type === "AssignmentPattern" && this.raise(e.argument.start, "\ Rest elements cannot have a default value"); break; case "AssignmentExpression": e.operator !== "=" && this.raise(e.left.end, "Only '=' operator can be used for specifying default value."), e.type = "AssignmentP\ attern", delete e.operator, this.toAssignable(e.left, t); break; case "ParenthesizedExpression": this.toAssignable(e.expression, t, r); break; case "ChainExpression": this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side"); break; case "MemberExpression": if (!t) break; default: this.raise(e.start, "Assigning to rvalue"); } else r && this.checkPatternErrors(r, !0); return e; }; Na.toAssignableList = function(e, t) { for (var r = e.length, n = 0; n < r; n++) { var i = e[n]; i && this.toAssignable(i, t); } if (r) { var s = e[r - 1]; this.options.ecmaVersion === 6 && t && s && s.type === "RestElement" && s.argument.type !== "Identifier" && this.unexpected(s.argument. start); } return e; }; Na.parseSpread = function(e) { var t = this.startNode(); return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement"); }; Na.parseRestBinding = function() { var e = this.startNode(); return this.next(), this.options.ecmaVersion === 6 && this.type !== R.name && this.unexpected(), e.argument = this.parseBindingAtom(), this. finishNode(e, "RestElement"); }; Na.parseBindingAtom = function() { if (this.options.ecmaVersion >= 6) switch (this.type) { case R.bracketL: var e = this.startNode(); return this.next(), e.elements = this.parseBindingList(R.bracketR, !0, !0), this.finishNode(e, "ArrayPattern"); case R.braceL: return this.parseObj(!0); } return this.parseIdent(); }; Na.parseBindingList = function(e, t, r, n) { for (var i = [], s = !0; !this.eat(e); ) if (s ? s = !1 : this.expect(R.comma), t && this.type === R.comma) i.push(null); else { if (r && this.afterTrailingComma(e)) break; if (this.type === R.ellipsis) { var o = this.parseRestBinding(); this.parseBindingListItem(o), i.push(o), this.type === R.comma && this.raiseRecoverable(this.start, "Comma is not permitted after \ the rest element"), this.expect(e); break; } else i.push(this.parseAssignableListItem(n)); } return i; }; Na.parseAssignableListItem = function(e) { var t = this.parseMaybeDefault(this.start, this.startLoc); return this.parseBindingListItem(t), t; }; Na.parseBindingListItem = function(e) { return e; }; Na.parseMaybeDefault = function(e, t, r) { if (r = r || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(R.eq)) return r; var n = this.startNodeAt(e, t); return n.left = r, n.right = this.parseMaybeAssign(), this.finishNode(n, "AssignmentPattern"); }; Na.checkLValSimple = function(e, t, r) { t === void 0 && (t = ib); var n = t !== ib; switch (e.type) { case "Identifier": this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (n ? "Binding " : "Assigning to ") + e.name + " in strict mode"), n && (t === Ro && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound nam\ e"), r && (Df(r, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), r[e.name] = !0), t !== LX && this.declareName(e.name, t, e. start)); break; case "ChainExpression": this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side"); break; case "MemberExpression": n && this.raiseRecoverable(e.start, "Binding member expression"); break; case "ParenthesizedExpression": return n && this.raiseRecoverable(e.start, "Binding parenthesized expression"), this.checkLValSimple(e.expression, t, r); default: this.raise(e.start, (n ? "Binding" : "Assigning to") + " rvalue"); } }; Na.checkLValPattern = function(e, t, r) { switch (t === void 0 && (t = ib), e.type) { case "ObjectPattern": for (var n = 0, i = e.properties; n < i.length; n += 1) { var s = i[n]; this.checkLValInnerPattern(s, t, r); } break; case "ArrayPattern": for (var o = 0, u = e.elements; o < u.length; o += 1) { var l = u[o]; l && this.checkLValInnerPattern(l, t, r); } break; default: this.checkLValSimple(e, t, r); } }; Na.checkLValInnerPattern = function(e, t, r) { switch (t === void 0 && (t = ib), e.type) { case "Property": this.checkLValInnerPattern(e.value, t, r); break; case "AssignmentPattern": this.checkLValPattern(e.left, t, r); break; case "RestElement": this.checkLValPattern(e.argument, t, r); break; default: this.checkLValPattern(e, t, r); } }; Fa = /* @__PURE__ */ a(function(t, r, n, i, s) { this.token = t, this.isExpr = !!r, this.preserveSpace = !!n, this.override = i, this.generator = !!s; }, "TokContext"), br = { b_stat: new Fa("{", !1), b_expr: new Fa("{", !0), b_tmpl: new Fa("${", !1), p_stat: new Fa("(", !1), p_expr: new Fa("(", !0), q_tmpl: new Fa("`", !0, !0, function(e) { return e.tryReadTemplateToken(); }), f_stat: new Fa("function", !1), f_expr: new Fa("function", !0), f_expr_gen: new Fa("function", !0, !1, null, !0), f_gen: new Fa("function", !1, !1, null, !0) }, Cf = Xr.prototype; Cf.initialContext = function() { return [br.b_stat]; }; Cf.curContext = function() { return this.context[this.context.length - 1]; }; Cf.braceIsBlock = function(e) { var t = this.curContext(); return t === br.f_expr || t === br.f_stat ? !0 : e === R.colon && (t === br.b_stat || t === br.b_expr) ? !t.isExpr : e === R._return || e === R.name && this.exprAllowed ? xi.test(this.input.slice(this.lastTokEnd, this.start)) : e === R._else || e === R.semi || e === R.eof || e === R.parenR || e === R.arrow ? !0 : e === R.braceL ? t === br.b_stat : e === R._var || e === R._const || e === R.name ? !1 : !this.exprAllowed; }; Cf.inGeneratorContext = function() { for (var e = this.context.length - 1; e >= 1; e--) { var t = this.context[e]; if (t.token === "function") return t.generator; } return !1; }; Cf.updateContext = function(e) { var t, r = this.type; r.keyword && e === R.dot ? this.exprAllowed = !1 : (t = r.updateContext) ? t.call(this, e) : this.exprAllowed = r.beforeExpr; }; Cf.overrideContext = function(e) { this.curContext() !== e && (this.context[this.context.length - 1] = e); }; R.parenR.updateContext = R.braceR.updateContext = function() { if (this.context.length === 1) { this.exprAllowed = !0; return; } var e = this.context.pop(); e === br.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr; }; R.braceL.updateContext = function(e) { this.context.push(this.braceIsBlock(e) ? br.b_stat : br.b_expr), this.exprAllowed = !0; }; R.dollarBraceL.updateContext = function() { this.context.push(br.b_tmpl), this.exprAllowed = !0; }; R.parenL.updateContext = function(e) { var t = e === R._if || e === R._for || e === R._with || e === R._while; this.context.push(t ? br.p_stat : br.p_expr), this.exprAllowed = !0; }; R.incDec.updateContext = function() { }; R._function.updateContext = R._class.updateContext = function(e) { e.beforeExpr && e !== R._else && !(e === R.semi && this.curContext() !== br.p_stat) && !(e === R._return && xi.test(this.input.slice(this. lastTokEnd, this.start))) && !((e === R.colon || e === R.braceL) && this.curContext() === br.b_stat) ? this.context.push(br.f_expr) : this. context.push(br.f_stat), this.exprAllowed = !1; }; R.colon.updateContext = function() { this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0; }; R.backQuote.updateContext = function() { this.curContext() === br.q_tmpl ? this.context.pop() : this.context.push(br.q_tmpl), this.exprAllowed = !1; }; R.star.updateContext = function(e) { if (e === R._function) { var t = this.context.length - 1; this.context[t] === br.f_expr ? this.context[t] = br.f_expr_gen : this.context[t] = br.f_gen; } this.exprAllowed = !0; }; R.name.updateContext = function(e) { var t = !1; this.options.ecmaVersion >= 6 && e !== R.dot && (this.value === "of" && !this.exprAllowed || this.value === "yield" && this.inGeneratorContext()) && (t = !0), this.exprAllowed = t; }; tt = Xr.prototype; tt.checkPropClash = function(e, t, r) { if (!(this.options.ecmaVersion >= 9 && e.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (e.computed || e.method || e.shorthand))) { var n = e.key, i; switch (n.type) { case "Identifier": i = n.name; break; case "Literal": i = String(n.value); break; default: return; } var s = e.kind; if (this.options.ecmaVersion >= 6) { i === "__proto__" && s === "init" && (t.proto && (r ? r.doubleProto < 0 && (r.doubleProto = n.start) : this.raiseRecoverable(n.start, "Redefinition of __proto__ property")), t.proto = !0); return; } i = "$" + i; var o = t[i]; if (o) { var u; s === "init" ? u = this.strict && o.init || o.get || o.set : u = o.init || o[s], u && this.raiseRecoverable(n.start, "Redefinition o\ f property"); } else o = t[i] = { init: !1, get: !1, set: !1 }; o[s] = !0; } }; tt.parseExpression = function(e, t) { var r = this.start, n = this.startLoc, i = this.parseMaybeAssign(e, t); if (this.type === R.comma) { var s = this.startNodeAt(r, n); for (s.expressions = [i]; this.eat(R.comma); ) s.expressions.push(this.parseMaybeAssign(e, t)); return this.finishNode(s, "SequenceExpression"); } return i; }; tt.parseMaybeAssign = function(e, t, r) { if (this.isContextual("yield")) { if (this.inGenerator) return this.parseYield(e); this.exprAllowed = !1; } var n = !1, i = -1, s = -1, o = -1; t ? (i = t.parenthesizedAssign, s = t.trailingComma, o = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new fb(), n = !0); var u = this.start, l = this.startLoc; (this.type === R.parenL || this.type === R.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await"); var c = this.parseMaybeConditional(e, t); if (r && (c = r.call(this, c, u, l)), this.type.isAssign) { var f = this.startNodeAt(u, l); return f.operator = this.value, this.type === R.eq && (c = this.toAssignable(c, !1, t)), n || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= c.start && (t.shorthandAssign = -1), this.type === R.eq ? this.checkLValPattern(c) : this.checkLValSimple( c), f.left = c, this.next(), f.right = this.parseMaybeAssign(e), o > -1 && (t.doubleProto = o), this.finishNode(f, "AssignmentExpressi\ on"); } else n && this.checkExpressionErrors(t, !0); return i > -1 && (t.parenthesizedAssign = i), s > -1 && (t.trailingComma = s), c; }; tt.parseMaybeConditional = function(e, t) { var r = this.start, n = this.startLoc, i = this.parseExprOps(e, t); if (this.checkExpressionErrors(t)) return i; if (this.eat(R.question)) { var s = this.startNodeAt(r, n); return s.test = i, s.consequent = this.parseMaybeAssign(), this.expect(R.colon), s.alternate = this.parseMaybeAssign(e), this.finishNode( s, "ConditionalExpression"); } return i; }; tt.parseExprOps = function(e, t) { var r = this.start, n = this.startLoc, i = this.parseMaybeUnary(t, !1, !1, e); return this.checkExpressionErrors(t) || i.start === r && i.type === "ArrowFunctionExpression" ? i : this.parseExprOp(i, r, n, -1, e); }; tt.parseExprOp = function(e, t, r, n, i) { var s = this.type.binop; if (s != null && (!i || this.type !== R._in) && s > n) { var o = this.type === R.logicalOR || this.type === R.logicalAND, u = this.type === R.coalesce; u && (s = R.logicalAND.binop); var l = this.value; this.next(); var c = this.start, f = this.startLoc, d = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, i), c, f, s, i), g = this.buildBinary(t, r, e, d, l, o || u); return (o && this.type === R.coalesce || u && (this.type === R.logicalOR || this.type === R.logicalAND)) && this.raiseRecoverable(this. start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(g, t, r, n, i); } return e; }; tt.buildBinary = function(e, t, r, n, i, s) { n.type === "PrivateIdentifier" && this.raise(n.start, "Private identifier can only be left side of binary expression"); var o = this.startNodeAt(e, t); return o.left = r, o.operator = i, o.right = n, this.finishNode(o, s ? "LogicalExpression" : "BinaryExpression"); }; tt.parseMaybeUnary = function(e, t, r, n) { var i = this.start, s = this.startLoc, o; if (this.isContextual("await") && this.canAwait) o = this.parseAwait(n), t = !0; else if (this.type.prefix) { var u = this.startNode(), l = this.type === R.incDec; u.operator = this.value, u.prefix = !0, this.next(), u.argument = this.parseMaybeUnary(null, !0, l, n), this.checkExpressionErrors(e, !0), l ? this.checkLValSimple(u.argument) : this.strict && u.operator === "delete" && MX(u.argument) ? this.raiseRecoverable(u.start, "Dele\ ting local variable in strict mode") : u.operator === "delete" && G2(u.argument) ? this.raiseRecoverable(u.start, "Private fields can not be\ deleted") : t = !0, o = this.finishNode(u, l ? "UpdateExpression" : "UnaryExpression"); } else if (!t && this.type === R.privateId) (n || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), o = this.parsePrivateIdent(), this. type !== R._in && this.unexpected(); else { if (o = this.parseExprSubscripts(e, n), this.checkExpressionErrors(e)) return o; for (; this.type.postfix && !this.canInsertSemicolon(); ) { var c = this.startNodeAt(i, s); c.operator = this.value, c.prefix = !1, c.argument = o, this.checkLValSimple(o), this.next(), o = this.finishNode(c, "UpdateExpressi\ on"); } } if (!r && this.eat(R.starstar)) if (t) this.unexpected(this.lastTokStart); else return this.buildBinary(i, s, o, this.parseMaybeUnary(null, !1, !1, n), "**", !1); else return o; }; a(MX, "isLocalVariableAccess"); a(G2, "isPrivateFieldAccess"); tt.parseExprSubscripts = function(e, t) { var r = this.start, n = this.startLoc, i = this.parseExprAtom(e, t); if (i.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")") return i; var s = this.parseSubscripts(i, r, n, !1, t); return e && s.type === "MemberExpression" && (e.parenthesizedAssign >= s.start && (e.parenthesizedAssign = -1), e.parenthesizedBind >= s. start && (e.parenthesizedBind = -1), e.trailingComma >= s.start && (e.trailingComma = -1)), s; }; tt.parseSubscripts = function(e, t, r, n, i) { for (var s = this.options.ecmaVersion >= 8 && e.type === "Identifier" && e.name === "async" && this.lastTokEnd === e.end && !this.canInsertSemicolon() && e.end - e.start === 5 && this.potentialArrowAt === e.start, o = !1; ; ) { var u = this.parseSubscript(e, t, r, n, s, o, i); if (u.optional && (o = !0), u === e || u.type === "ArrowFunctionExpression") { if (o) { var l = this.startNodeAt(t, r); l.expression = u, u = this.finishNode(l, "ChainExpression"); } return u; } e = u; } }; tt.shouldParseAsyncArrow = function() { return !this.canInsertSemicolon() && this.eat(R.arrow); }; tt.parseSubscriptAsyncArrow = function(e, t, r, n) { return this.parseArrowExpression(this.startNodeAt(e, t), r, !0, n); }; tt.parseSubscript = function(e, t, r, n, i, s, o) { var u = this.options.ecmaVersion >= 11, l = u && this.eat(R.questionDot); n && l && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions"); var c = this.eat(R.bracketL); if (c || l && this.type !== R.parenL && this.type !== R.backQuote || this.eat(R.dot)) { var f = this.startNodeAt(t, r); f.object = e, c ? (f.property = this.parseExpression(), this.expect(R.bracketR)) : this.type === R.privateId && e.type !== "Super" ? f. property = this.parsePrivateIdent() : f.property = this.parseIdent(this.options.allowReserved !== "never"), f.computed = !!c, u && (f. optional = l), e = this.finishNode(f, "MemberExpression"); } else if (!n && this.eat(R.parenL)) { var d = new fb(), g = this.yieldPos, b = this.awaitPos, _ = this.awaitIdentPos; this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0; var T = this.parseExprList(R.parenR, this.options.ecmaVersion >= 8, !1, d); if (i && !l && this.shouldParseAsyncArrow()) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = g, this.awaitPos = b, this.awaitIdentPos = _, this.parseSubscriptAsyncArrow( t, r, T, o); this.checkExpressionErrors(d, !0), this.yieldPos = g || this.yieldPos, this.awaitPos = b || this.awaitPos, this.awaitIdentPos = _ || this. awaitIdentPos; var p = this.startNodeAt(t, r); p.callee = e, p.arguments = T, u && (p.optional = l), e = this.finishNode(p, "CallExpression"); } else if (this.type === R.backQuote) { (l || s) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions"); var h = this.startNodeAt(t, r); h.tag = e, h.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(h, "TaggedTemplateExpression"); } return e; }; tt.parseExprAtom = function(e, t, r) { this.type === R.slash && this.readRegexp(); var n, i = this.potentialArrowAt === this.start; switch (this.type) { case R._super: return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), n = this.startNode(), this.next(), this.type === R.parenL && !this.allowDirectSuper && this.raise(n.start, "super() call outside constructor of a subclass"), this.type !== R.dot && this. type !== R.bracketL && this.type !== R.parenL && this.unexpected(), this.finishNode(n, "Super"); case R._this: return n = this.startNode(), this.next(), this.finishNode(n, "ThisExpression"); case R.name: var s = this.start, o = this.startLoc, u = this.containsEsc, l = this.parseIdent(!1); if (this.options.ecmaVersion >= 8 && !u && l.name === "async" && !this.canInsertSemicolon() && this.eat(R._function)) return this.overrideContext(br.f_expr), this.parseFunction(this.startNodeAt(s, o), 0, !1, !0, t); if (i && !this.canInsertSemicolon()) { if (this.eat(R.arrow)) return this.parseArrowExpression(this.startNodeAt(s, o), [l], !1, t); if (this.options.ecmaVersion >= 8 && l.name === "async" && this.type === R.name && !u && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return l = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(R.arrow)) && this.unexpected(), this.parseArrowExpression( this.startNodeAt(s, o), [l], !0, t); } return l; case R.regexp: var c = this.value; return n = this.parseLiteral(c.value), n.regex = { pattern: c.pattern, flags: c.flags }, n; case R.num: case R.string: return this.parseLiteral(this.value); case R._null: case R._true: case R._false: return n = this.startNode(), n.value = this.type === R._null ? null : this.type === R._true, n.raw = this.type.keyword, this.next(), this.finishNode(n, "Literal"); case R.parenL: var f = this.start, d = this.parseParenAndDistinguishExpression(i, t); return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(d) && (e.parenthesizedAssign = f), e.parenthesizedBind < 0 && (e. parenthesizedBind = f)), d; case R.bracketL: return n = this.startNode(), this.next(), n.elements = this.parseExprList(R.bracketR, !0, !0, e), this.finishNode(n, "ArrayExpressio\ n"); case R.braceL: return this.overrideContext(br.b_expr), this.parseObj(!1, e); case R._function: return n = this.startNode(), this.next(), this.parseFunction(n, 0); case R._class: return this.parseClass(this.startNode(), !1); case R._new: return this.parseNew(); case R.backQuote: return this.parseTemplate(); case R._import: return this.options.ecmaVersion >= 11 ? this.parseExprImport(r) : this.unexpected(); default: return this.parseExprAtomDefault(); } }; tt.parseExprAtomDefault = function() { this.unexpected(); }; tt.parseExprImport = function(e) { var t = this.startNode(); if (this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword import"), this.next(), this.type === R.parenL && !e) return this.parseDynamicImport(t); if (this.type === R.dot) { var r = this.startNodeAt(t.start, t.loc && t.loc.start); return r.name = "import", t.meta = this.finishNode(r, "Identifier"), this.parseImportMeta(t); } else this.unexpected(); }; tt.parseDynamicImport = function(e) { if (this.next(), e.source = this.parseMaybeAssign(), this.options.ecmaVersion >= 16) this.eat(R.parenR) ? e.options = null : (this.expect(R.comma), this.afterTrailingComma(R.parenR) ? e.options = null : (e.options = this. parseMaybeAssign(), this.eat(R.parenR) || (this.expect(R.comma), this.afterTrailingComma(R.parenR) || this.unexpected()))); else if (!this.eat(R.parenR)) { var t = this.start; this.eat(R.comma) && this.eat(R.parenR) ? this.raiseRecoverable(t, "Trailing comma is not allowed in import()") : this.unexpected(t); } return this.finishNode(e, "ImportExpression"); }; tt.parseImportMeta = function(e) { this.next(); var t = this.containsEsc; return e.property = this.parseIdent(!0), e.property.name !== "meta" && this.raiseRecoverable(e.property.start, "The only valid meta prop\ erty for import is 'import.meta'"), t && this.raiseRecoverable(e.start, "'import.meta' must not contain escaped characters"), this.options.sourceType !== "module" && !this.options.allowImportExportEverywhere && this.raiseRecoverable(e.start, "Cannot use 'import.meta' outside a module"), this. finishNode(e, "MetaProperty"); }; tt.parseLiteral = function(e) { var t = this.startNode(); return t.value = e, t.raw = this.input.slice(this.start, this.end), t.raw.charCodeAt(t.raw.length - 1) === 110 && (t.bigint = t.value != null ? t.value.toString() : t.raw.slice(0, -1).replace(/_/g, "")), this.next(), this.finishNode(t, "Literal"); }; tt.parseParenExpression = function() { this.expect(R.parenL); var e = this.parseExpression(); return this.expect(R.parenR), e; }; tt.shouldParseArrow = function(e) { return !this.canInsertSemicolon(); }; tt.parseParenAndDistinguishExpression = function(e, t) { var r = this.start, n = this.startLoc, i, s = this.options.ecmaVersion >= 8; if (this.options.ecmaVersion >= 6) { this.next(); var o = this.start, u = this.startLoc, l = [], c = !0, f = !1, d = new fb(), g = this.yieldPos, b = this.awaitPos, _; for (this.yieldPos = 0, this.awaitPos = 0; this.type !== R.parenR; ) if (c ? c = !1 : this.expect(R.comma), s && this.afterTrailingComma(R.parenR, !0)) { f = !0; break; } else if (this.type === R.ellipsis) { _ = this.start, l.push(this.parseParenItem(this.parseRestBinding())), this.type === R.comma && this.raiseRecoverable( this.start, "Comma is not permitted after the rest element" ); break; } else l.push(this.parseMaybeAssign(!1, d, this.parseParenItem)); var T = this.lastTokEnd, p = this.lastTokEndLoc; if (this.expect(R.parenR), e && this.shouldParseArrow(l) && this.eat(R.arrow)) return this.checkPatternErrors(d, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = g, this.awaitPos = b, this.parseParenArrowList( r, n, l, t); (!l.length || f) && this.unexpected(this.lastTokStart), _ && this.unexpected(_), this.checkExpressionErrors(d, !0), this.yieldPos = g || this.yieldPos, this.awaitPos = b || this.awaitPos, l.length > 1 ? (i = this.startNodeAt(o, u), i.expressions = l, this.finishNodeAt(i, "SequenceExpression", T, p)) : i = l[0]; } else i = this.parseParenExpression(); if (this.options.preserveParens) { var h = this.startNodeAt(r, n); return h.expression = i, this.finishNode(h, "ParenthesizedExpression"); } else return i; }; tt.parseParenItem = function(e) { return e; }; tt.parseParenArrowList = function(e, t, r, n) { return this.parseArrowExpression(this.startNodeAt(e, t), r, !1, n); }; zLe = []; tt.parseNew = function() { this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new"); var e = this.startNode(); if (this.next(), this.options.ecmaVersion >= 6 && this.type === R.dot) { var t = this.startNodeAt(e.start, e.loc && e.loc.start); t.name = "new", e.meta = this.finishNode(t, "Identifier"), this.next(); var r = this.containsEsc; return e.property = this.parseIdent(!0), e.property.name !== "target" && this.raiseRecoverable(e.property.start, "The only valid meta \ property for new is 'new.target'"), r && this.raiseRecoverable(e.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(e.start, "'new.target' can only be used in functions and class static block"), this.finishNode(e, "MetaProperty"); } var n = this.start, i = this.startLoc; return e.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), n, i, !0, !1), this.eat(R.parenL) ? e.arguments = this.parseExprList( R.parenR, this.options.ecmaVersion >= 8, !1) : e.arguments = zLe, this.finishNode(e, "NewExpression"); }; tt.parseTemplateElement = function(e) { var t = e.isTagged, r = this.startNode(); return this.type === R.invalidTemplate ? (t || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), r. value = { raw: this.value.replace(/\r\n?/g, ` `), cooked: null }) : r.value = { raw: this.input.slice(this.start, this.end).replace(/\r\n?/g, ` `), cooked: this.value }, this.next(), r.tail = this.type === R.backQuote, this.finishNode(r, "TemplateElement"); }; tt.parseTemplate = function(e) { e === void 0 && (e = {}); var t = e.isTagged; t === void 0 && (t = !1); var r = this.startNode(); this.next(), r.expressions = []; var n = this.parseTemplateElement({ isTagged: t }); for (r.quasis = [n]; !n.tail; ) this.type === R.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(R.dollarBraceL), r.expressions.push(this.parseExpression()), this.expect(R.braceR), r.quasis.push(n = this.parseTemplateElement({ isTagged: t })); return this.next(), this.finishNode(r, "TemplateLiteral"); }; tt.isAsyncProp = function(e) { return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === R.name || this.type === R.num || this.type === R.string || this.type === R.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === R.star) && !xi.test(this.input. slice(this.lastTokEnd, this.start)); }; tt.parseObj = function(e, t) { var r = this.startNode(), n = !0, i = {}; for (r.properties = [], this.next(); !this.eat(R.braceR); ) { if (n) n = !1; else if (this.expect(R.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(R.braceR)) break; var s = this.parseProperty(e, t); e || this.checkPropClash(s, i, t), r.properties.push(s); } return this.finishNode(r, e ? "ObjectPattern" : "ObjectExpression"); }; tt.parseProperty = function(e, t) { var r = this.startNode(), n, i, s, o; if (this.options.ecmaVersion >= 9 && this.eat(R.ellipsis)) return e ? (r.argument = this.parseIdent(!1), this.type === R.comma && this.raiseRecoverable(this.start, "Comma is not permitted after\ the rest element"), this.finishNode(r, "RestElement")) : (r.argument = this.parseMaybeAssign(!1, t), this.type === R.comma && t && t.trailingComma < 0 && (t.trailingComma = this.start), this.finishNode(r, "SpreadElement")); this.options.ecmaVersion >= 6 && (r.method = !1, r.shorthand = !1, (e || t) && (s = this.start, o = this.startLoc), e || (n = this.eat(R. star))); var u = this.containsEsc; return this.parsePropertyName(r), !e && !u && this.options.ecmaVersion >= 8 && !n && this.isAsyncProp(r) ? (i = !0, n = this.options.ecmaVersion >= 9 && this.eat(R.star), this.parsePropertyName(r)) : i = !1, this.parsePropertyValue(r, e, n, i, s, o, t, u), this.finishNode(r, "Propert\ y"); }; tt.parseGetterSetter = function(e) { var t = e.key.name; this.parsePropertyName(e), e.value = this.parseMethod(!1), e.kind = t; var r = e.kind === "get" ? 0 : 1; if (e.value.params.length !== r) { var n = e.value.start; e.kind === "get" ? this.raiseRecoverable(n, "getter should have no params") : this.raiseRecoverable(n, "setter should have exactly one\ param"); } else e.kind === "set" && e.value.params[0].type === "RestElement" && this.raiseRecoverable(e.value.params[0].start, "Setter cannot use rest\ params"); }; tt.parsePropertyValue = function(e, t, r, n, i, s, o, u) { (r || n) && this.type === R.colon && this.unexpected(), this.eat(R.colon) ? (e.value = t ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, o), e.kind = "init") : this.options.ecmaVersion >= 6 && this.type === R.parenL ? (t && this.unexpected(), e.method = !0, e.value = this.parseMethod(r, n), e.kind = "init") : !t && !u && this.options.ecmaVersion >= 5 && !e.computed && e.key.type === "Ide\ ntifier" && (e.key.name === "get" || e.key.name === "set") && this.type !== R.comma && this.type !== R.braceR && this.type !== R.eq ? ((r || n) && this.unexpected(), this.parseGetterSetter(e)) : this.options.ecmaVersion >= 6 && !e.computed && e.key.type === "Identifier" ? ((r || n) && this.unexpected(), this.checkUnreserved(e.key), e.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = i), t ? e.value = this.parseMaybeDefault(i, s, this.copyNode(e.key)) : this.type === R.eq && o ? (o.shorthandAssign < 0 && (o.shorthandAssign = this.start), e.value = this.parseMaybeDefault(i, s, this.copyNode(e.key))) : e.value = this.copyNode(e.key), e.kind = "init", e.shorthand = !0) : this. unexpected(); }; tt.parsePropertyName = function(e) { if (this.options.ecmaVersion >= 6) { if (this.eat(R.bracketL)) return e.computed = !0, e.key = this.parseMaybeAssign(), this.expect(R.bracketR), e.key; e.computed = !1; } return e.key = this.type === R.num || this.type === R.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "ne\ ver"); }; tt.initFunction = function(e) { e.id = null, this.options.ecmaVersion >= 6 && (e.generator = e.expression = !1), this.options.ecmaVersion >= 8 && (e.async = !1); }; tt.parseMethod = function(e, t, r) { var n = this.startNode(), i = this.yieldPos, s = this.awaitPos, o = this.awaitIdentPos; return this.initFunction(n), this.options.ecmaVersion >= 6 && (n.generator = e), this.options.ecmaVersion >= 8 && (n.async = !!t), this. yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(X2(t, n.generator) | lb | (r ? FX : 0)), this.expect(R.parenL), n.params = this.parseBindingList(R.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody( n, !1, !0, !1), this.yieldPos = i, this.awaitPos = s, this.awaitIdentPos = o, this.finishNode(n, "FunctionExpression"); }; tt.parseArrowExpression = function(e, t, r, n) { var i = this.yieldPos, s = this.awaitPos, o = this.awaitIdentPos; return this.enterScope(X2(r, !1) | $2), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!r), this.yieldPos = 0, this. awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, n), this.yieldPos = i, this. awaitPos = s, this.awaitIdentPos = o, this.finishNode(e, "ArrowFunctionExpression"); }; tt.parseFunctionBody = function(e, t, r, n) { var i = t && this.type !== R.braceL, s = this.strict, o = !1; if (i) e.body = this.parseMaybeAssign(n), e.expression = !0, this.checkParams(e, !1); else { var u = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params); (!s || u) && (o = this.strictDirective(this.end), o && u && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function\ with non-simple parameter list")); var l = this.labels; this.labels = [], o && (this.strict = !0), this.checkParams(e, !s && !o && !t && !r && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, LX), e.body = this.parseBlock(!1, void 0, o && !s), e.expression = !1, this.adaptDirectivePrologue( e.body.body), this.labels = l; } this.exitScope(); }; tt.isSimpleParamList = function(e) { for (var t = 0, r = e; t < r.length; t += 1) { var n = r[t]; if (n.type !== "Identifier") return !1; } return !0; }; tt.checkParams = function(e, t) { for (var r = /* @__PURE__ */ Object.create(null), n = 0, i = e.params; n < i.length; n += 1) { var s = i[n]; this.checkLValInnerPattern(s, Y2, t ? null : r); } }; tt.parseExprList = function(e, t, r, n) { for (var i = [], s = !0; !this.eat(e); ) { if (s) s = !1; else if (this.expect(R.comma), t && this.afterTrailingComma(e)) break; var o = void 0; r && this.type === R.comma ? o = null : this.type === R.ellipsis ? (o = this.parseSpread(n), n && this.type === R.comma && n.trailingComma < 0 && (n.trailingComma = this.start)) : o = this.parseMaybeAssign(!1, n), i.push(o); } return i; }; tt.checkUnreserved = function(e) { var t = e.start, r = e.end, n = e.name; if (this.inGenerator && n === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && n === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & cb) && n === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (n === "arguments" || n === "await") && this.raise(t, "Cannot use " + n + " in class static initialization block"), this.keywords.test(n) && this. raise(t, "Unexpected keyword '" + n + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, r).indexOf("\\") !== -1)) { var i = this.strict ? this.reservedWordsStrict : this.reservedWords; i.test(n) && (!this.inAsync && n === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this. raiseRecoverable(t, "The keyword '" + n + "' is reserved")); } }; tt.parseIdent = function(e) { var t = this.parseIdentNode(); return this.next(!!e), this.finishNode(t, "Identifier"), e || (this.checkUnreserved(t), t.name === "await" && !this.awaitIdentPos && (this. awaitIdentPos = t.start)), t; }; tt.parseIdentNode = function() { var e = this.startNode(); return this.type === R.name ? e.name = this.value : this.type.keyword ? (e.name = this.type.keyword, (e.name === "class" || e.name === "\ function") && (this.lastTokEnd !== this.lastTokStart + 1 || this.input.charCodeAt(this.lastTokStart) !== 46) && this.context.pop(), this.type = R.name) : this.unexpected(), e; }; tt.parsePrivateIdent = function() { var e = this.startNode(); return this.type === R.privateId ? e.name = this.value : this.unexpected(), this.next(), this.finishNode(e, "PrivateIdentifier"), this.options. checkPrivateFields && (this.privateNameStack.length === 0 ? this.raise(e.start, "Private field '#" + e.name + "' must be declared in an \ enclosing class") : this.privateNameStack[this.privateNameStack.length - 1].used.push(e)), e; }; tt.parseYield = function(e) { this.yieldPos || (this.yieldPos = this.start); var t = this.startNode(); return this.next(), this.type === R.semi || this.canInsertSemicolon() || this.type !== R.star && !this.type.startsExpr ? (t.delegate = !1, t.argument = null) : (t.delegate = this.eat(R.star), t.argument = this.parseMaybeAssign(e)), this.finishNode(t, "YieldExpression"); }; tt.parseAwait = function(e) { this.awaitPos || (this.awaitPos = this.start); var t = this.startNode(); return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression"); }; sb = Xr.prototype; sb.raise = function(e, t) { var r = K2(this.input, e); t += " (" + r.line + ":" + r.column + ")", this.sourceFile && (t += " in " + this.sourceFile); var n = new SyntaxError(t); throw n.pos = e, n.loc = r, n.raisedAt = this.pos, n; }; sb.raiseRecoverable = sb.raise; sb.curPosition = function() { if (this.options.locations) return new Tf(this.curLine, this.pos - this.lineStart); }; xu = Xr.prototype, KLe = /* @__PURE__ */ a(function(t) { this.flags = t, this.var = [], this.lexical = [], this.functions = []; }, "Scope"); xu.enterScope = function(e) { this.scopeStack.push(new KLe(e)); }; xu.exitScope = function() { this.scopeStack.pop(); }; xu.treatFunctionsAsVarInScope = function(e) { return e.flags & xf || !this.inModule && e.flags & Xp; }; xu.declareName = function(e, t, r) { var n = !1; if (t === Ro) { var i = this.currentScope(); n = i.lexical.indexOf(e) > -1 || i.functions.indexOf(e) > -1 || i.var.indexOf(e) > -1, i.lexical.push(e), this.inModule && i.flags & Xp && delete this.undefinedExports[e]; } else if (t === NX) { var s = this.currentScope(); s.lexical.push(e); } else if (t === IX) { var o = this.currentScope(); this.treatFunctionsAsVar ? n = o.lexical.indexOf(e) > -1 : n = o.lexical.indexOf(e) > -1 || o.var.indexOf(e) > -1, o.functions.push(e); } else for (var u = this.scopeStack.length - 1; u >= 0; --u) { var l = this.scopeStack[u]; if (l.lexical.indexOf(e) > -1 && !(l.flags & PX && l.lexical[0] === e) || !this.treatFunctionsAsVarInScope(l) && l.functions.indexOf( e) > -1) { n = !0; break; } if (l.var.push(e), this.inModule && l.flags & Xp && delete this.undefinedExports[e], l.flags & cb) break; } n && this.raiseRecoverable(r, "Identifier '" + e + "' has already been declared"); }; xu.checkLocalExport = function(e) { this.scopeStack[0].lexical.indexOf(e.name) === -1 && this.scopeStack[0].var.indexOf(e.name) === -1 && (this.undefinedExports[e.name] = e); }; xu.currentScope = function() { return this.scopeStack[this.scopeStack.length - 1]; }; xu.currentVarScope = function() { for (var e = this.scopeStack.length - 1; ; e--) { var t = this.scopeStack[e]; if (t.flags & (cb | Qp | Ll)) return t; } }; xu.currentThisScope = function() { for (var e = this.scopeStack.length - 1; ; e--) { var t = this.scopeStack[e]; if (t.flags & (cb | Qp | Ll) && !(t.flags & $2)) return t; } }; Zp = /* @__PURE__ */ a(function(t, r, n) { this.type = "", this.start = r, this.end = 0, t.options.locations && (this.loc = new Yp(t, n)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [r, 0]); }, "Node"), Jp = Xr.prototype; Jp.startNode = function() { return new Zp(this, this.start, this.startLoc); }; Jp.startNodeAt = function(e, t) { return new Zp(this, e, t); }; a(qX, "finishNodeAt"); Jp.finishNode = function(e, t) { return qX.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc); }; Jp.finishNodeAt = function(e, t, r, n) { return qX.call(this, e, t, r, n); }; Jp.copyNode = function(e) { var t = new Zp(this, e.start, this.startLoc); for (var r in e) t[r] = e[r]; return t; }; WLe = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr T\ ulu_Tigalari Tutg Unknown Zzzz", UX = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Cas\ e_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKC\ F Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Comp\ onent Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Bina\ ry_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Low\ ercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indi\ cator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS Whit\ e_Space space XID_Continue XIDC XID_Start XIDS", VX = UX + " Extended_Pictographic", HX = VX, jX = HX + " EBase EComp EMod EPres ExtPict", GX = jX, $Le = GX, XLe = { 9: UX, 10: VX, 11: HX, 12: jX, 13: GX, 14: $Le }, YLe = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Seque\ nce RGI_Emoji", QLe = { 9: "", 10: "", 11: "", 12: "", 13: "", 14: YLe }, TX = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Num\ ber Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_L\ etter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C \ Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z S\ pace_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", zX = "Adlam Adlm Ahom Anatol\ ian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks B\ opomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham\ Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egypti\ an_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru\ Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phl\ i Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khud\ awadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam \ Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hierog\ lyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Og\ ham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old\ _Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahl\ avi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Som\ peng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri\ Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wa\ ra Yi Yiii Zanabazar_Square Zanb", KX = zX + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian \ Sogo Sogdian Sogd", WX = KX + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", $X = WX + " Chorasmian Chrs Diak Div\ es_Akuru Khitan_Small_Script Kits Yezi Yezidi", XX = $X + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", ZLe = XX + " " + WLe, JLe = { 9: zX, 10: KX, 11: WX, 12: $X, 13: XX, 14: ZLe }, YX = {}; a(eBe, "buildUnicodeData"); for (rb = 0, V2 = [9, 10, 11, 12, 13, 14]; rb < V2.length; rb += 1) DX = V2[rb], eBe(DX); xe = Xr.prototype, ob = /* @__PURE__ */ a(function(t, r) { this.parent = t, this.base = r || this; }, "BranchID"); ob.prototype.separatedFrom = /* @__PURE__ */ a(function(t) { for (var r = this; r; r = r.parent) for (var n = t; n; n = n.parent) if (r.base === n.base && r !== n) return !0; return !1; }, "separatedFrom"); ob.prototype.sibling = /* @__PURE__ */ a(function() { return new ob(this.parent, this.base); }, "sibling"); $s = /* @__PURE__ */ a(function(t) { this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options. ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = YX[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this. pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null; }, "RegExpValidationState"); $s.prototype.reset = /* @__PURE__ */ a(function(t, r, n) { var i = n.indexOf("v") !== -1, s = n.indexOf("u") !== -1; this.start = t | 0, this.source = r + "", this.flags = n, i && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = s && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = s && this.parser.options. ecmaVersion >= 9); }, "reset"); $s.prototype.raise = /* @__PURE__ */ a(function(t) { this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + t); }, "raise"); $s.prototype.at = /* @__PURE__ */ a(function(t, r) { r === void 0 && (r = !1); var n = this.source, i = n.length; if (t >= i) return -1; var s = n.charCodeAt(t); if (!(r || this.switchU) || s <= 55295 || s >= 57344 || t + 1 >= i) return s; var o = n.charCodeAt(t + 1); return o >= 56320 && o <= 57343 ? (s << 10) + o - 56613888 : s; }, "at"); $s.prototype.nextIndex = /* @__PURE__ */ a(function(t, r) { r === void 0 && (r = !1); var n = this.source, i = n.length; if (t >= i) return i; var s = n.charCodeAt(t), o; return !(r || this.switchU) || s <= 55295 || s >= 57344 || t + 1 >= i || (o = n.charCodeAt(t + 1)) < 56320 || o > 57343 ? t + 1 : t + 2; }, "nextIndex"); $s.prototype.current = /* @__PURE__ */ a(function(t) { return t === void 0 && (t = !1), this.at(this.pos, t); }, "current"); $s.prototype.lookahead = /* @__PURE__ */ a(function(t) { return t === void 0 && (t = !1), this.at(this.nextIndex(this.pos, t), t); }, "lookahead"); $s.prototype.advance = /* @__PURE__ */ a(function(t) { t === void 0 && (t = !1), this.pos = this.nextIndex(this.pos, t); }, "advance"); $s.prototype.eat = /* @__PURE__ */ a(function(t, r) { return r === void 0 && (r = !1), this.current(r) === t ? (this.advance(r), !0) : !1; }, "eat"); $s.prototype.eatChars = /* @__PURE__ */ a(function(t, r) { r === void 0 && (r = !1); for (var n = this.pos, i = 0, s = t; i < s.length; i += 1) { var o = s[i], u = this.at(n, r); if (u === -1 || u !== o) return !1; n = this.nextIndex(n, r); } return this.pos = n, !0; }, "eatChars"); xe.validateRegExpFlags = function(e) { for (var t = e.validFlags, r = e.flags, n = !1, i = !1, s = 0; s < r.length; s++) { var o = r.charAt(s); t.indexOf(o) === -1 && this.raise(e.start, "Invalid regular expression flag"), r.indexOf(o, s + 1) > -1 && this.raise(e.start, "Duplic\ ate regular expression flag"), o === "u" && (n = !0), o === "v" && (i = !0); } this.options.ecmaVersion >= 15 && n && i && this.raise(e.start, "Invalid regular expression flag"); }; a(tBe, "hasProp"); xe.validateRegExpPattern = function(e) { this.regexp_pattern(e), !e.switchN && this.options.ecmaVersion >= 9 && tBe(e.groupNames) && (e.switchN = !0, this.regexp_pattern(e)); }; xe.regexp_pattern = function(e) { e.pos = 0, e.lastIntValue = 0, e.lastStringValue = "", e.lastAssertionIsQuantifiable = !1, e.numCapturingParens = 0, e.maxBackReference = 0, e.groupNames = /* @__PURE__ */ Object.create(null), e.backReferenceNames.length = 0, e.branchID = null, this.regexp_disjunction(e), e. pos !== e.source.length && (e.eat( 41 /* ) */ ) && e.raise("Unmatched ')'"), (e.eat( 93 /* ] */ ) || e.eat( 125 /* } */ )) && e.raise("Lone quantifier brackets")), e.maxBackReference > e.numCapturingParens && e.raise("Invalid escape"); for (var t = 0, r = e.backReferenceNames; t < r.length; t += 1) { var n = r[t]; e.groupNames[n] || e.raise("Invalid named capture referenced"); } }; xe.regexp_disjunction = function(e) { var t = this.options.ecmaVersion >= 16; for (t && (e.branchID = new ob(e.branchID, null)), this.regexp_alternative(e); e.eat( 124 /* | */ ); ) t && (e.branchID = e.branchID.sibling()), this.regexp_alternative(e); t && (e.branchID = e.branchID.parent), this.regexp_eatQuantifier(e, !0) && e.raise("Nothing to repeat"), e.eat( 123 /* { */ ) && e.raise("Lone quantifier brackets"); }; xe.regexp_alternative = function(e) { for (; e.pos < e.source.length && this.regexp_eatTerm(e); ) ; }; xe.regexp_eatTerm = function(e) { return this.regexp_eatAssertion(e) ? (e.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(e) && e.switchU && e.raise("Invalid qua\ ntifier"), !0) : (e.switchU ? this.regexp_eatAtom(e) : this.regexp_eatExtendedAtom(e)) ? (this.regexp_eatQuantifier(e), !0) : !1; }; xe.regexp_eatAssertion = function(e) { var t = e.pos; if (e.lastAssertionIsQuantifiable = !1, e.eat( 94 /* ^ */ ) || e.eat( 36 /* $ */ )) return !0; if (e.eat( 92 /* \ */ )) { if (e.eat( 66 /* B */ ) || e.eat( 98 /* b */ )) return !0; e.pos = t; } if (e.eat( 40 /* ( */ ) && e.eat( 63 /* ? */ )) { var r = !1; if (this.options.ecmaVersion >= 9 && (r = e.eat( 60 /* < */ )), e.eat( 61 /* = */ ) || e.eat( 33 /* ! */ )) return this.regexp_disjunction(e), e.eat( 41 /* ) */ ) || e.raise("Unterminated group"), e.lastAssertionIsQuantifiable = !r, !0; } return e.pos = t, !1; }; xe.regexp_eatQuantifier = function(e, t) { return t === void 0 && (t = !1), this.regexp_eatQuantifierPrefix(e, t) ? (e.eat( 63 /* ? */ ), !0) : !1; }; xe.regexp_eatQuantifierPrefix = function(e, t) { return e.eat( 42 /* * */ ) || e.eat( 43 /* + */ ) || e.eat( 63 /* ? */ ) || this.regexp_eatBracedQuantifier(e, t); }; xe.regexp_eatBracedQuantifier = function(e, t) { var r = e.pos; if (e.eat( 123 /* { */ )) { var n = 0, i = -1; if (this.regexp_eatDecimalDigits(e) && (n = e.lastIntValue, e.eat( 44 /* , */ ) && this.regexp_eatDecimalDigits(e) && (i = e.lastIntValue), e.eat( 125 /* } */ ))) return i !== -1 && i < n && !t && e.raise("numbers out of order in {} quantifier"), !0; e.switchU && !t && e.raise("Incomplete quantifier"), e.pos = r; } return !1; }; xe.regexp_eatAtom = function(e) { return this.regexp_eatPatternCharacters(e) || e.eat( 46 /* . */ ) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup( e); }; xe.regexp_eatReverseSolidusAtomEscape = function(e) { var t = e.pos; if (e.eat( 92 /* \ */ )) { if (this.regexp_eatAtomEscape(e)) return !0; e.pos = t; } return !1; }; xe.regexp_eatUncapturingGroup = function(e) { var t = e.pos; if (e.eat( 40 /* ( */ )) { if (e.eat( 63 /* ? */ )) { if (this.options.ecmaVersion >= 16) { var r = this.regexp_eatModifiers(e), n = e.eat( 45 /* - */ ); if (r || n) { for (var i = 0; i < r.length; i++) { var s = r.charAt(i); r.indexOf(s, i + 1) > -1 && e.raise("Duplicate regular expression modifiers"); } if (n) { var o = this.regexp_eatModifiers(e); !r && !o && e.current() === 58 && e.raise("Invalid regular expression modifiers"); for (var u = 0; u < o.length; u++) { var l = o.charAt(u); (o.indexOf(l, u + 1) > -1 || r.indexOf(l) > -1) && e.raise("Duplicate regular expression modifiers"); } } } } if (e.eat( 58 /* : */ )) { if (this.regexp_disjunction(e), e.eat( 41 /* ) */ )) return !0; e.raise("Unterminated group"); } } e.pos = t; } return !1; }; xe.regexp_eatCapturingGroup = function(e) { if (e.eat( 40 /* ( */ )) { if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(e) : e.current() === 63 && e.raise("Invalid group"), this.regexp_disjunction( e), e.eat( 41 /* ) */ )) return e.numCapturingParens += 1, !0; e.raise("Unterminated group"); } return !1; }; xe.regexp_eatModifiers = function(e) { for (var t = "", r = 0; (r = e.current()) !== -1 && rBe(r); ) t += wo(r), e.advance(); return t; }; a(rBe, "isRegularExpressionModifier"); xe.regexp_eatExtendedAtom = function(e) { return e.eat( 46 /* . */ ) || this.regexp_eatReverseSolidusAtomEscape(e) || this.regexp_eatCharacterClass(e) || this.regexp_eatUncapturingGroup(e) || this.regexp_eatCapturingGroup( e) || this.regexp_eatInvalidBracedQuantifier(e) || this.regexp_eatExtendedPatternCharacter(e); }; xe.regexp_eatInvalidBracedQuantifier = function(e) { return this.regexp_eatBracedQuantifier(e, !0) && e.raise("Nothing to repeat"), !1; }; xe.regexp_eatSyntaxCharacter = function(e) { var t = e.current(); return QX(t) ? (e.lastIntValue = t, e.advance(), !0) : !1; }; a(QX, "isSyntaxCharacter"); xe.regexp_eatPatternCharacters = function(e) { for (var t = e.pos, r = 0; (r = e.current()) !== -1 && !QX(r); ) e.advance(); return e.pos !== t; }; xe.regexp_eatExtendedPatternCharacter = function(e) { var t = e.current(); return t !== -1 && t !== 36 && !(t >= 40 && t <= 43) && t !== 46 && t !== 63 && t !== 91 && t !== 94 && t !== 124 ? (e.advance(), !0) : !1; }; xe.regexp_groupSpecifier = function(e) { if (e.eat( 63 /* ? */ )) { this.regexp_eatGroupName(e) || e.raise("Invalid group"); var t = this.options.ecmaVersion >= 16, r = e.groupNames[e.lastStringValue]; if (r) if (t) for (var n = 0, i = r; n < i.length; n += 1) { var s = i[n]; s.separatedFrom(e.branchID) || e.raise("Duplicate capture group name"); } else e.raise("Duplicate capture group name"); t ? (r || (e.groupNames[e.lastStringValue] = [])).push(e.branchID) : e.groupNames[e.lastStringValue] = !0; } }; xe.regexp_eatGroupName = function(e) { if (e.lastStringValue = "", e.eat( 60 /* < */ )) { if (this.regexp_eatRegExpIdentifierName(e) && e.eat( 62 /* > */ )) return !0; e.raise("Invalid capture group name"); } return !1; }; xe.regexp_eatRegExpIdentifierName = function(e) { if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) { for (e.lastStringValue += wo(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); ) e.lastStringValue += wo(e.lastIntValue); return !0; } return !1; }; xe.regexp_eatRegExpIdentifierStart = function(e) { var t = e.pos, r = this.options.ecmaVersion >= 11, n = e.current(r); return e.advance(r), n === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, r) && (n = e.lastIntValue), nBe(n) ? (e.lastIntValue = n, !0) : (e.pos = t, !1); }; a(nBe, "isRegExpIdentifierStart"); xe.regexp_eatRegExpIdentifierPart = function(e) { var t = e.pos, r = this.options.ecmaVersion >= 11, n = e.current(r); return e.advance(r), n === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, r) && (n = e.lastIntValue), iBe(n) ? (e.lastIntValue = n, !0) : (e.pos = t, !1); }; a(iBe, "isRegExpIdentifierPart"); xe.regexp_eatAtomEscape = function(e) { return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this. regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1); }; xe.regexp_eatBackReference = function(e) { var t = e.pos; if (this.regexp_eatDecimalEscape(e)) { var r = e.lastIntValue; if (e.switchU) return r > e.maxBackReference && (e.maxBackReference = r), !0; if (r <= e.numCapturingParens) return !0; e.pos = t; } return !1; }; xe.regexp_eatKGroupName = function(e) { if (e.eat( 107 /* k */ )) { if (this.regexp_eatGroupName(e)) return e.backReferenceNames.push(e.lastStringValue), !0; e.raise("Invalid named reference"); } return !1; }; xe.regexp_eatCharacterEscape = function(e) { return this.regexp_eatControlEscape(e) || this.regexp_eatCControlLetter(e) || this.regexp_eatZero(e) || this.regexp_eatHexEscapeSequence( e) || this.regexp_eatRegExpUnicodeEscapeSequence(e, !1) || !e.switchU && this.regexp_eatLegacyOctalEscapeSequence(e) || this.regexp_eatIdentityEscape( e); }; xe.regexp_eatCControlLetter = function(e) { var t = e.pos; if (e.eat( 99 /* c */ )) { if (this.regexp_eatControlLetter(e)) return !0; e.pos = t; } return !1; }; xe.regexp_eatZero = function(e) { return e.current() === 48 && !hb(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1; }; xe.regexp_eatControlEscape = function(e) { var t = e.current(); return t === 116 ? (e.lastIntValue = 9, e.advance(), !0) : t === 110 ? (e.lastIntValue = 10, e.advance(), !0) : t === 118 ? (e.lastIntValue = 11, e.advance(), !0) : t === 102 ? (e.lastIntValue = 12, e.advance(), !0) : t === 114 ? (e.lastIntValue = 13, e.advance(), !0) : !1; }; xe.regexp_eatControlLetter = function(e) { var t = e.current(); return ZX(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1; }; a(ZX, "isControlLetter"); xe.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) { t === void 0 && (t = !1); var r = e.pos, n = t || e.switchU; if (e.eat( 117 /* u */ )) { if (this.regexp_eatFixedHexDigits(e, 4)) { var i = e.lastIntValue; if (n && i >= 55296 && i <= 56319) { var s = e.pos; if (e.eat( 92 /* \ */ ) && e.eat( 117 /* u */ ) && this.regexp_eatFixedHexDigits(e, 4)) { var o = e.lastIntValue; if (o >= 56320 && o <= 57343) return e.lastIntValue = (i - 55296) * 1024 + (o - 56320) + 65536, !0; } e.pos = s, e.lastIntValue = i; } return !0; } if (n && e.eat( 123 /* { */ ) && this.regexp_eatHexDigits(e) && e.eat( 125 /* } */ ) && aBe(e.lastIntValue)) return !0; n && e.raise("Invalid unicode escape"), e.pos = r; } return !1; }; a(aBe, "isValidUnicode"); xe.regexp_eatIdentityEscape = function(e) { if (e.switchU) return this.regexp_eatSyntaxCharacter(e) ? !0 : e.eat( 47 /* / */ ) ? (e.lastIntValue = 47, !0) : !1; var t = e.current(); return t !== 99 && (!e.switchN || t !== 107) ? (e.lastIntValue = t, e.advance(), !0) : !1; }; xe.regexp_eatDecimalEscape = function(e) { e.lastIntValue = 0; var t = e.current(); if (t >= 49 && t <= 57) { do e.lastIntValue = 10 * e.lastIntValue + (t - 48), e.advance(); while ((t = e.current()) >= 48 && t <= 57); return !0; } return !1; }; JX = 0, Oo = 1, Ia = 2; xe.regexp_eatCharacterClassEscape = function(e) { var t = e.current(); if (sBe(t)) return e.lastIntValue = -1, e.advance(), Oo; var r = !1; if (e.switchU && this.options.ecmaVersion >= 9 && ((r = t === 80) || t === 112)) { e.lastIntValue = -1, e.advance(); var n; if (e.eat( 123 /* { */ ) && (n = this.regexp_eatUnicodePropertyValueExpression(e)) && e.eat( 125 /* } */ )) return r && n === Ia && e.raise("Invalid property name"), n; e.raise("Invalid property name"); } return JX; }; a(sBe, "isCharacterClassEscape"); xe.regexp_eatUnicodePropertyValueExpression = function(e) { var t = e.pos; if (this.regexp_eatUnicodePropertyName(e) && e.eat( 61 /* = */ )) { var r = e.lastStringValue; if (this.regexp_eatUnicodePropertyValue(e)) { var n = e.lastStringValue; return this.regexp_validateUnicodePropertyNameAndValue(e, r, n), Oo; } } if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) { var i = e.lastStringValue; return this.regexp_validateUnicodePropertyNameOrValue(e, i); } return JX; }; xe.regexp_validateUnicodePropertyNameAndValue = function(e, t, r) { Df(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(r) || e.raise("Invalid p\ roperty value"); }; xe.regexp_validateUnicodePropertyNameOrValue = function(e, t) { if (e.unicodeProperties.binary.test(t)) return Oo; if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t)) return Ia; e.raise("Invalid property name"); }; xe.regexp_eatUnicodePropertyName = function(e) { var t = 0; for (e.lastStringValue = ""; eY(t = e.current()); ) e.lastStringValue += wo(t), e.advance(); return e.lastStringValue !== ""; }; a(eY, "isUnicodePropertyNameCharacter"); xe.regexp_eatUnicodePropertyValue = function(e) { var t = 0; for (e.lastStringValue = ""; oBe(t = e.current()); ) e.lastStringValue += wo(t), e.advance(); return e.lastStringValue !== ""; }; a(oBe, "isUnicodePropertyValueCharacter"); xe.regexp_eatLoneUnicodePropertyNameOrValue = function(e) { return this.regexp_eatUnicodePropertyValue(e); }; xe.regexp_eatCharacterClass = function(e) { if (e.eat( 91 /* [ */ )) { var t = e.eat( 94 /* ^ */ ), r = this.regexp_classContents(e); return e.eat( 93 /* ] */ ) || e.raise("Unterminated character class"), t && r === Ia && e.raise("Negated character class may contain strings"), !0; } return !1; }; xe.regexp_classContents = function(e) { return e.current() === 93 ? Oo : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), Oo); }; xe.regexp_nonEmptyClassRanges = function(e) { for (; this.regexp_eatClassAtom(e); ) { var t = e.lastIntValue; if (e.eat( 45 /* - */ ) && this.regexp_eatClassAtom(e)) { var r = e.lastIntValue; e.switchU && (t === -1 || r === -1) && e.raise("Invalid character class"), t !== -1 && r !== -1 && t > r && e.raise("Range out of or\ der in character class"); } } }; xe.regexp_eatClassAtom = function(e) { var t = e.pos; if (e.eat( 92 /* \ */ )) { if (this.regexp_eatClassEscape(e)) return !0; if (e.switchU) { var r = e.current(); (r === 99 || nY(r)) && e.raise("Invalid class escape"), e.raise("Invalid escape"); } e.pos = t; } var n = e.current(); return n !== 93 ? (e.lastIntValue = n, e.advance(), !0) : !1; }; xe.regexp_eatClassEscape = function(e) { var t = e.pos; if (e.eat( 98 /* b */ )) return e.lastIntValue = 8, !0; if (e.switchU && e.eat( 45 /* - */ )) return e.lastIntValue = 45, !0; if (!e.switchU && e.eat( 99 /* c */ )) { if (this.regexp_eatClassControlLetter(e)) return !0; e.pos = t; } return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e); }; xe.regexp_classSetExpression = function(e) { var t = Oo, r; if (!this.regexp_eatClassSetRange(e)) if (r = this.regexp_eatClassSetOperand(e)) { r === Ia && (t = Ia); for (var n = e.pos; e.eatChars( [38, 38] /* && */ ); ) { if (e.current() !== 38 && (r = this.regexp_eatClassSetOperand(e))) { r !== Ia && (t = Oo); continue; } e.raise("Invalid character in character class"); } if (n !== e.pos) return t; for (; e.eatChars( [45, 45] /* -- */ ); ) this.regexp_eatClassSetOperand(e) || e.raise("Invalid character in character class"); if (n !== e.pos) return t; } else e.raise("Invalid character in character class"); for (; ; ) if (!this.regexp_eatClassSetRange(e)) { if (r = this.regexp_eatClassSetOperand(e), !r) return t; r === Ia && (t = Ia); } }; xe.regexp_eatClassSetRange = function(e) { var t = e.pos; if (this.regexp_eatClassSetCharacter(e)) { var r = e.lastIntValue; if (e.eat( 45 /* - */ ) && this.regexp_eatClassSetCharacter(e)) { var n = e.lastIntValue; return r !== -1 && n !== -1 && r > n && e.raise("Range out of order in character class"), !0; } e.pos = t; } return !1; }; xe.regexp_eatClassSetOperand = function(e) { return this.regexp_eatClassSetCharacter(e) ? Oo : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e); }; xe.regexp_eatNestedClass = function(e) { var t = e.pos; if (e.eat( 91 /* [ */ )) { var r = e.eat( 94 /* ^ */ ), n = this.regexp_classContents(e); if (e.eat( 93 /* ] */ )) return r && n === Ia && e.raise("Negated character class may contain strings"), n; e.pos = t; } if (e.eat( 92 /* \ */ )) { var i = this.regexp_eatCharacterClassEscape(e); if (i) return i; e.pos = t; } return null; }; xe.regexp_eatClassStringDisjunction = function(e) { var t = e.pos; if (e.eatChars( [92, 113] /* \q */ )) { if (e.eat( 123 /* { */ )) { var r = this.regexp_classStringDisjunctionContents(e); if (e.eat( 125 /* } */ )) return r; } else e.raise("Invalid escape"); e.pos = t; } return null; }; xe.regexp_classStringDisjunctionContents = function(e) { for (var t = this.regexp_classString(e); e.eat( 124 /* | */ ); ) this.regexp_classString(e) === Ia && (t = Ia); return t; }; xe.regexp_classString = function(e) { for (var t = 0; this.regexp_eatClassSetCharacter(e); ) t++; return t === 1 ? Oo : Ia; }; xe.regexp_eatClassSetCharacter = function(e) { var t = e.pos; if (e.eat( 92 /* \ */ )) return this.regexp_eatCharacterEscape(e) || this.regexp_eatClassSetReservedPunctuator(e) ? !0 : e.eat( 98 /* b */ ) ? (e.lastIntValue = 8, !0) : (e.pos = t, !1); var r = e.current(); return r < 0 || r === e.lookahead() && uBe(r) || lBe(r) ? !1 : (e.advance(), e.lastIntValue = r, !0); }; a(uBe, "isClassSetReservedDoublePunctuatorCharacter"); a(lBe, "isClassSetSyntaxCharacter"); xe.regexp_eatClassSetReservedPunctuator = function(e) { var t = e.current(); return cBe(t) ? (e.lastIntValue = t, e.advance(), !0) : !1; }; a(cBe, "isClassSetReservedPunctuator"); xe.regexp_eatClassControlLetter = function(e) { var t = e.current(); return hb(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1; }; xe.regexp_eatHexEscapeSequence = function(e) { var t = e.pos; if (e.eat( 120 /* x */ )) { if (this.regexp_eatFixedHexDigits(e, 2)) return !0; e.switchU && e.raise("Invalid escape"), e.pos = t; } return !1; }; xe.regexp_eatDecimalDigits = function(e) { var t = e.pos, r = 0; for (e.lastIntValue = 0; hb(r = e.current()); ) e.lastIntValue = 10 * e.lastIntValue + (r - 48), e.advance(); return e.pos !== t; }; a(hb, "isDecimalDigit"); xe.regexp_eatHexDigits = function(e) { var t = e.pos, r = 0; for (e.lastIntValue = 0; tY(r = e.current()); ) e.lastIntValue = 16 * e.lastIntValue + rY(r), e.advance(); return e.pos !== t; }; a(tY, "isHexDigit"); a(rY, "hexToInt"); xe.regexp_eatLegacyOctalEscapeSequence = function(e) { if (this.regexp_eatOctalDigit(e)) { var t = e.lastIntValue; if (this.regexp_eatOctalDigit(e)) { var r = e.lastIntValue; t <= 3 && this.regexp_eatOctalDigit(e) ? e.lastIntValue = t * 64 + r * 8 + e.lastIntValue : e.lastIntValue = t * 8 + r; } else e.lastIntValue = t; return !0; } return !1; }; xe.regexp_eatOctalDigit = function(e) { var t = e.current(); return nY(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1); }; a(nY, "isOctalDigit"); xe.regexp_eatFixedHexDigits = function(e, t) { var r = e.pos; e.lastIntValue = 0; for (var n = 0; n < t; ++n) { var i = e.current(); if (!tY(i)) return e.pos = r, !1; e.lastIntValue = 16 * e.lastIntValue + rY(i), e.advance(); } return !0; }; pb = /* @__PURE__ */ a(function(t) { this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new Yp(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]); }, "Token"), St = Xr.prototype; St.next = function(e) { !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this. options.onToken && this.options.onToken(new pb(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this. endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken(); }; St.getToken = function() { return this.next(), new pb(this); }; typeof Symbol < "u" && (St[Symbol.iterator] = function() { var e = this; return { next: /* @__PURE__ */ a(function() { var t = e.getToken(); return { done: t.type === R.eof, value: t }; }, "next") }; }); St.nextToken = function() { var e = this.curContext(); if ((!e || !e.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length) return this.finishToken(R.eof); if (e.override) return e.override(this); this.readToken(this.fullCharCodeAtPos()); }; St.readToken = function(e) { return gs(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e); }; St.fullCharCodeAtPos = function() { var e = this.input.charCodeAt(this.pos); if (e <= 55295 || e >= 56320) return e; var t = this.input.charCodeAt(this.pos + 1); return t <= 56319 || t >= 57344 ? e : (e << 10) + t - 56613888; }; St.skipBlockComment = function() { var e = this.options.onComment && this.curPosition(), t = this.pos, r = this.input.indexOf("*/", this.pos += 2); if (r === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = r + 2, this.options.locations) for (var n = void 0, i = t; (n = OX(this.input, i, this.pos)) > -1; ) ++this.curLine, i = this.lineStart = n; this.options.onComment && this.options.onComment( !0, this.input.slice(t + 2, r), t, this.pos, e, this.curPosition() ); }; St.skipLineComment = function(e) { for (var t = this.pos, r = this.options.onComment && this.curPosition(), n = this.input.charCodeAt(this.pos += e); this.pos < this.input. length && !Nl(n); ) n = this.input.charCodeAt(++this.pos); this.options.onComment && this.options.onComment( !1, this.input.slice(t + e, this.pos), t, this.pos, r, this.curPosition() ); }; St.skipSpace = function() { e: for (; this.pos < this.input.length; ) { var e = this.input.charCodeAt(this.pos); switch (e) { case 32: case 160: ++this.pos; break; case 13: this.input.charCodeAt(this.pos + 1) === 10 && ++this.pos; case 10: case 8232: case 8233: ++this.pos, this.options.locations && (++this.curLine, this.lineStart = this.pos); break; case 47: switch (this.input.charCodeAt(this.pos + 1)) { case 42: this.skipBlockComment(); break; case 47: this.skipLineComment(2); break; default: break e; } break; default: if (e > 8 && e < 14 || e >= 5760 && z2.test(String.fromCharCode(e))) ++this.pos; else break e; } } }; St.finishToken = function(e, t) { this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition()); var r = this.type; this.type = e, this.value = t, this.updateContext(r); }; St.readToken_dot = function() { var e = this.input.charCodeAt(this.pos + 1); if (e >= 48 && e <= 57) return this.readNumber(!0); var t = this.input.charCodeAt(this.pos + 2); return this.options.ecmaVersion >= 6 && e === 46 && t === 46 ? (this.pos += 3, this.finishToken(R.ellipsis)) : (++this.pos, this.finishToken( R.dot)); }; St.readToken_slash = function() { var e = this.input.charCodeAt(this.pos + 1); return this.exprAllowed ? (++this.pos, this.readRegexp()) : e === 61 ? this.finishOp(R.assign, 2) : this.finishOp(R.slash, 1); }; St.readToken_mult_modulo_exp = function(e) { var t = this.input.charCodeAt(this.pos + 1), r = 1, n = e === 42 ? R.star : R.modulo; return this.options.ecmaVersion >= 7 && e === 42 && t === 42 && (++r, n = R.starstar, t = this.input.charCodeAt(this.pos + 2)), t === 61 ? this.finishOp(R.assign, r + 1) : this.finishOp(n, r); }; St.readToken_pipe_amp = function(e) { var t = this.input.charCodeAt(this.pos + 1); if (t === e) { if (this.options.ecmaVersion >= 12) { var r = this.input.charCodeAt(this.pos + 2); if (r === 61) return this.finishOp(R.assign, 3); } return this.finishOp(e === 124 ? R.logicalOR : R.logicalAND, 2); } return t === 61 ? this.finishOp(R.assign, 2) : this.finishOp(e === 124 ? R.bitwiseOR : R.bitwiseAND, 1); }; St.readToken_caret = function() { var e = this.input.charCodeAt(this.pos + 1); return e === 61 ? this.finishOp(R.assign, 2) : this.finishOp(R.bitwiseXOR, 1); }; St.readToken_plus_min = function(e) { var t = this.input.charCodeAt(this.pos + 1); return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || xi.test(this.input. slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(R.incDec, 2) : t === 61 ? this.finishOp(R.assign, 2) : this.finishOp(R.plusMin, 1); }; St.readToken_lt_gt = function(e) { var t = this.input.charCodeAt(this.pos + 1), r = 1; return t === e ? (r = e === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + r) === 61 ? this. finishOp(R.assign, r + 1) : this.finishOp(R.bitShift, r)) : t === 33 && e === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (t === 61 && (r = 2), this.finishOp(R.relational, r)); }; St.readToken_eq_excl = function(e) { var t = this.input.charCodeAt(this.pos + 1); return t === 61 ? this.finishOp(R.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : e === 61 && t === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(R.arrow)) : this.finishOp(e === 61 ? R.eq : R.prefix, 1); }; St.readToken_question = function() { var e = this.options.ecmaVersion; if (e >= 11) { var t = this.input.charCodeAt(this.pos + 1); if (t === 46) { var r = this.input.charCodeAt(this.pos + 2); if (r < 48 || r > 57) return this.finishOp(R.questionDot, 2); } if (t === 63) { if (e >= 12) { var n = this.input.charCodeAt(this.pos + 2); if (n === 61) return this.finishOp(R.assign, 3); } return this.finishOp(R.coalesce, 2); } } return this.finishOp(R.question, 1); }; St.readToken_numberSign = function() { var e = this.options.ecmaVersion, t = 35; if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), gs(t, !0) || t === 92)) return this.finishToken(R.privateId, this.readWord1()); this.raise(this.pos, "Unexpected character '" + wo(t) + "'"); }; St.getTokenFromCode = function(e) { switch (e) { // The interpretation of a dot depends on whether it is followed // by a digit or another two dots. case 46: return this.readToken_dot(); // Punctuation tokens. case 40: return ++this.pos, this.finishToken(R.parenL); case 41: return ++this.pos, this.finishToken(R.parenR); case 59: return ++this.pos, this.finishToken(R.semi); case 44: return ++this.pos, this.finishToken(R.comma); case 91: return ++this.pos, this.finishToken(R.bracketL); case 93: return ++this.pos, this.finishToken(R.bracketR); case 123: return ++this.pos, this.finishToken(R.braceL); case 125: return ++this.pos, this.finishToken(R.braceR); case 58: return ++this.pos, this.finishToken(R.colon); case 96: if (this.options.ecmaVersion < 6) break; return ++this.pos, this.finishToken(R.backQuote); case 48: var t = this.input.charCodeAt(this.pos + 1); if (t === 120 || t === 88) return this.readRadixNumber(16); if (this.options.ecmaVersion >= 6) { if (t === 111 || t === 79) return this.readRadixNumber(8); if (t === 98 || t === 66) return this.readRadixNumber(2); } // Anything else beginning with a digit is an integer, octal // number, or float. case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: return this.readNumber(!1); // Quotes produce strings. case 34: case 39: return this.readString(e); // Operators are parsed inline in tiny state machines. '=' (61) is // often referred to. `finishOp` simply skips the amount of // characters it is given as second argument, and returns a token // of the type given by its first argument. case 47: return this.readToken_slash(); case 37: case 42: return this.readToken_mult_modulo_exp(e); case 124: case 38: return this.readToken_pipe_amp(e); case 94: return this.readToken_caret(); case 43: case 45: return this.readToken_plus_min(e); case 60: case 62: return this.readToken_lt_gt(e); case 61: case 33: return this.readToken_eq_excl(e); case 63: return this.readToken_question(); case 126: return this.finishOp(R.prefix, 1); case 35: return this.readToken_numberSign(); } this.raise(this.pos, "Unexpected character '" + wo(e) + "'"); }; St.finishOp = function(e, t) { var r = this.input.slice(this.pos, this.pos + t); return this.pos += t, this.finishToken(e, r); }; St.readRegexp = function() { for (var e, t, r = this.pos; ; ) { this.pos >= this.input.length && this.raise(r, "Unterminated regular expression"); var n = this.input.charAt(this.pos); if (xi.test(n) && this.raise(r, "Unterminated regular expression"), e) e = !1; else { if (n === "[") t = !0; else if (n === "]" && t) t = !1; else if (n === "/" && !t) break; e = n === "\\"; } ++this.pos; } var i = this.input.slice(r, this.pos); ++this.pos; var s = this.pos, o = this.readWord1(); this.containsEsc && this.unexpected(s); var u = this.regexpState || (this.regexpState = new $s(this)); u.reset(r, i, o), this.validateRegExpFlags(u), this.validateRegExpPattern(u); var l = null; try { l = new RegExp(i, o); } catch { } return this.finishToken(R.regexp, { pattern: i, flags: o, value: l }); }; St.readInt = function(e, t, r) { for (var n = this.options.ecmaVersion >= 12 && t === void 0, i = r && this.input.charCodeAt(this.pos) === 48, s = this.pos, o = 0, u = 0, l = 0, c = t ?? 1 / 0; l < c; ++l, ++this.pos) { var f = this.input.charCodeAt(this.pos), d = void 0; if (n && f === 95) { i && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), u === 95 && this.raiseRecoverable( this.pos, "Numeric separator must be exactly one underscore"), l === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not \ allowed at the first of digits"), u = f; continue; } if (f >= 97 ? d = f - 97 + 10 : f >= 65 ? d = f - 65 + 10 : f >= 48 && f <= 57 ? d = f - 48 : d = 1 / 0, d >= e) break; u = f, o = o * e + d; } return n && u === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === s || t != null && this.pos - s !== t ? null : o; }; a(fBe, "stringToNumber"); a(iY, "stringToBigInt"); St.readRadixNumber = function(e) { var t = this.pos; this.pos += 2; var r = this.readInt(e); return r == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt( this.pos) === 110 ? (r = iY(this.input.slice(t, this.pos)), ++this.pos) : gs(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifi\ er directly after number"), this.finishToken(R.num, r); }; St.readNumber = function(e) { var t = this.pos; !e && this.readInt(10, void 0, !0) === null && this.raise(t, "Invalid number"); var r = this.pos - t >= 2 && this.input.charCodeAt(t) === 48; r && this.strict && this.raise(t, "Invalid number"); var n = this.input.charCodeAt(this.pos); if (!r && !e && this.options.ecmaVersion >= 11 && n === 110) { var i = iY(this.input.slice(t, this.pos)); return ++this.pos, gs(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(R.num, i); } r && /[89]/.test(this.input.slice(t, this.pos)) && (r = !1), n === 46 && !r && (++this.pos, this.readInt(10), n = this.input.charCodeAt( this.pos)), (n === 69 || n === 101) && !r && (n = this.input.charCodeAt(++this.pos), (n === 43 || n === 45) && ++this.pos, this.readInt( 10) === null && this.raise(t, "Invalid number")), gs(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"); var s = fBe(this.input.slice(t, this.pos), r); return this.finishToken(R.num, s); }; St.readCodePoint = function() { var e = this.input.charCodeAt(this.pos), t; if (e === 123) { this.options.ecmaVersion < 6 && this.unexpected(); var r = ++this.pos; t = this.readHexChar(this.input.indexOf("}", this.pos) - this.pos), ++this.pos, t > 1114111 && this.invalidStringToken(r, "Code point \ out of bounds"); } else t = this.readHexChar(4); return t; }; St.readString = function(e) { for (var t = "", r = ++this.pos; ; ) { this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant"); var n = this.input.charCodeAt(this.pos); if (n === e) break; n === 92 ? (t += this.input.slice(r, this.pos), t += this.readEscapedChar(!1), r = this.pos) : n === 8232 || n === 8233 ? (this.options. ecmaVersion < 10 && this.raise(this.start, "Unterminated string constant"), ++this.pos, this.options.locations && (this.curLine++, this. lineStart = this.pos)) : (Nl(n) && this.raise(this.start, "Unterminated string constant"), ++this.pos); } return t += this.input.slice(r, this.pos++), this.finishToken(R.string, t); }; aY = {}; St.tryReadTemplateToken = function() { this.inTemplateElement = !0; try { this.readTmplToken(); } catch (e) { if (e === aY) this.readInvalidTemplateToken(); else throw e; } this.inTemplateElement = !1; }; St.invalidStringToken = function(e, t) { if (this.inTemplateElement && this.options.ecmaVersion >= 9) throw aY; this.raise(e, t); }; St.readTmplToken = function() { for (var e = "", t = this.pos; ; ) { this.pos >= this.input.length && this.raise(this.start, "Unterminated template"); var r = this.input.charCodeAt(this.pos); if (r === 96 || r === 36 && this.input.charCodeAt(this.pos + 1) === 123) return this.pos === this.start && (this.type === R.template || this.type === R.invalidTemplate) ? r === 36 ? (this.pos += 2, this.finishToken( R.dollarBraceL)) : (++this.pos, this.finishToken(R.backQuote)) : (e += this.input.slice(t, this.pos), this.finishToken(R.template, e)); if (r === 92) e += this.input.slice(t, this.pos), e += this.readEscapedChar(!0), t = this.pos; else if (Nl(r)) { switch (e += this.input.slice(t, this.pos), ++this.pos, r) { case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos; case 10: e += ` `; break; default: e += String.fromCharCode(r); break; } this.options.locations && (++this.curLine, this.lineStart = this.pos), t = this.pos; } else ++this.pos; } }; St.readInvalidTemplateToken = function() { for (; this.pos < this.input.length; this.pos++) switch (this.input[this.pos]) { case "\\": ++this.pos; break; case "$": if (this.input[this.pos + 1] !== "{") break; // fall through case "`": return this.finishToken(R.invalidTemplate, this.input.slice(this.start, this.pos)); case "\r": this.input[this.pos + 1] === ` ` && ++this.pos; // fall through case ` `: case "\u2028": case "\u2029": ++this.curLine, this.lineStart = this.pos + 1; break; } this.raise(this.start, "Unterminated template"); }; St.readEscapedChar = function(e) { var t = this.input.charCodeAt(++this.pos); switch (++this.pos, t) { case 110: return ` `; // 'n' -> '\n' case 114: return "\r"; // 'r' -> '\r' case 120: return String.fromCharCode(this.readHexChar(2)); // 'x' case 117: return wo(this.readCodePoint()); // 'u' case 116: return " "; // 't' -> '\t' case 98: return "\b"; // 'b' -> '\b' case 118: return "\v"; // 'v' -> '\u000b' case 102: return "\f"; // 'f' -> '\f' case 13: this.input.charCodeAt(this.pos) === 10 && ++this.pos; // '\r\n' case 10: return this.options.locations && (this.lineStart = this.pos, ++this.curLine), ""; case 56: case 57: if (this.strict && this.invalidStringToken( this.pos - 1, "Invalid escape sequence" ), e) { var r = this.pos - 1; this.invalidStringToken( r, "Invalid escape sequence in template string" ); } default: if (t >= 48 && t <= 55) { var n = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], i = parseInt(n, 8); return i > 255 && (n = n.slice(0, -1), i = parseInt(n, 8)), this.pos += n.length - 1, t = this.input.charCodeAt(this.pos), (n !== "\ 0" || t === 56 || t === 57) && (this.strict || e) && this.invalidStringToken( this.pos - 1 - n.length, e ? "Octal literal in template string" : "Octal literal in strict mode" ), String.fromCharCode(i); } return Nl(t) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(t); } }; St.readHexChar = function(e) { var t = this.pos, r = this.readInt(16, e); return r === null && this.invalidStringToken(t, "Bad character escape sequence"), r; }; St.readWord1 = function() { this.containsEsc = !1; for (var e = "", t = !0, r = this.pos, n = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) { var i = this.fullCharCodeAtPos(); if (Co(i, n)) this.pos += i <= 65535 ? 1 : 2; else if (i === 92) { this.containsEsc = !0, e += this.input.slice(r, this.pos); var s = this.pos; this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this. pos; var o = this.readCodePoint(); (t ? gs : Co)(o, n) || this.invalidStringToken(s, "Invalid Unicode escape"), e += wo(o), r = this.pos; } else break; t = !1; } return e + this.input.slice(r, this.pos); }; St.readWord = function() { var e = this.readWord1(), t = R.name; return this.keywords.test(e) && (t = ub[e]), this.finishToken(t, e); }; sY = "8.15.0"; Xr.acorn = { Parser: Xr, version: sY, defaultOptions: nb, Position: Tf, SourceLocation: Yp, getLineInfo: K2, Node: Zp, TokenType: kt, tokTypes: R, keywordTypes: ub, TokContext: Fa, tokContexts: br, isIdentifierChar: Co, isIdentifierStart: gs, Token: pb, isNewLine: Nl, lineBreak: xi, lineBreakG: wX, nonASCIIwhitespace: z2 }; a(hBe, "parse"); a(pBe, "parseExpressionAt"); a(dBe, "tokenizer"); }); // ../node_modules/terser/lib/cli.js async function lY({ program: e, packageJson: t, fs: r, path: n }) { let i = /* @__PURE__ */ new Set(["cname", "parent_scope", "scope", "uses_eval", "uses_with"]); var s = {}, o = { compress: !1, mangle: !1 }; let u = await Z2(); if (e.version(t.name + " " + t.version), e.parseArgv = e.parse, e.parse = void 0, process.argv.includes("ast") ? e.helpInformation = C : process. argv.includes("options") && (e.helpInformation = function() { var m = []; for (var v in u) m.push("--" + (v === "sourceMap" ? "source-map" : v) + " options:"), m.push(D(u[v])), m.push(""); return m.join(` `); }), e.option("-p, --parse ", "Specify parser options.", p()), e.option("-c, --compress [options]", "Enable compressor/specify com\ pressor options.", p()), e.option("-m, --mangle [options]", "Mangle names/specify mangler options.", p()), e.option("--mangle-props [options\ ]", "Mangle properties/specify mangler options.", p()), e.option("-f, --format [options]", "Format options.", p()), e.option("-b, --beautify\ [options]", "Alias for --format.", p()), e.option("-o, --output ", "Output file (default STDOUT)."), e.option("--comments [filter]", "\ Preserve copyright comments in the output."), e.option("--config-file ", "Read minify() options from JSON file."), e.option("-d, --def\ ine [=value]", "Global definitions.", p("define")), e.option("--ecma ", "Specify ECMAScript release: 5, 2015, 2016 or 2017..."), e.option("-e, --enclose [arg[,...][:value[,...]]]", "Embed output in a big function with configurable arguments and values."), e.option("-\ -ie8", "Support non-standard Internet Explorer 8."), e.option("--keep-classnames", "Do not mangle/drop class names."), e.option("--keep-fnam\ es", "Do not mangle/drop function names. Useful for code relying on Function.prototype.name."), e.option("--module", "Input is an ES6 module"), e.option("--name-cache ", "File to hold mangled name mappings."), e.option("--rename", "Force symbol expansion."), e.option("--no-re\ name", "Disable symbol expansion."), e.option("--safari10", "Support non-standard Safari 10."), e.option("--source-map [options]", "Enable s\ ource map/specify source map options.", p()), e.option("--timings", "Display operations run time on STDERR."), e.option("--toplevel", "Compr\ ess and/or mangle variables in toplevel scope."), e.option("--wrap ", "Embed everything as a function with \u201Cexports\u201D corresponding to \ \u201Cname\u201D globally."), e.arguments("[files...]").parseArgv(process.argv), e.configFile && (o = JSON.parse(T(e.configFile))), !e.output && e.sourceMap && e.sourceMap.url != "inline" && b("ERROR: cannot write source map to STDOUT"), [ "compress", "enclose", "ie8", "mangle", "module", "safari10", "sourceMap", "toplevel", "wrap" ].forEach(function(m) { m in e && (o[m] = e[m]); }), "ecma" in e) { e.ecma != (e.ecma | 0) && b("ERROR: ecma must be an integer"); let m = e.ecma | 0; m > 5 && m < 2015 ? o.ecma = m + 2009 : o.ecma = m; } if (e.format || e.beautify) { let m = e.format || e.beautify; o.format = typeof m == "object" ? m : {}; } if (e.comments && (typeof o.format != "object" && (o.format = {}), o.format.comments = typeof e.comments == "string" ? e.comments == "fals\ e" ? !1 : e.comments : "some"), e.define) { typeof o.compress != "object" && (o.compress = {}), typeof o.compress.global_defs != "object" && (o.compress.global_defs = {}); for (var l in e.define) o.compress.global_defs[l] = e.define[l]; } e.keepClassnames && (o.keep_classnames = !0), e.keepFnames && (o.keep_fnames = !0), e.mangleProps && (e.mangleProps.domprops ? delete e.mangleProps. domprops : (typeof e.mangleProps != "object" && (e.mangleProps = {}), Array.isArray(e.mangleProps.reserved) || (e.mangleProps.reserved = [])), typeof o.mangle != "object" && (o.mangle = {}), o.mangle.properties = e.mangleProps), e.nameCache && (o.nameCache = JSON.parse(T(e.nameCache, "{}"))), e.output == "ast" && (o.format = { ast: !0, code: !1 }), e.parse && (!e.parse.acorn && !e.parse.spidermonkey ? o.parse = e.parse : e.sourceMap && e.sourceMap.content == "inline" && b("ERROR: \ inline source map only works with built-in parser")), ~e.rawArgs.indexOf("--rename") ? o.rename = !0 : e.rename || (o.rename = !1); let c = /* @__PURE__ */ a((m) => m, "convert_path"); typeof e.sourceMap == "object" && "base" in e.sourceMap && (c = function() { var m = e.sourceMap.base; return delete o.sourceMap.base, function(v) { return n.relative(m, v); }; }()); let f; o.files && o.files.length ? (f = o.files, delete o.files) : e.args.length && (f = e.args), f ? _(f).forEach(function(m) { s[c(m)] = T(m); }) : await new Promise((m) => { var v = []; process.stdin.setEncoding("utf8"), process.stdin.on("data", function(A) { v.push(A); }).on("end", function() { s = [v.join("")], m(); }), process.stdin.resume(); }), await g(); function d(m) { return ne.from_mozilla_ast(Object.keys(s).reduce(m, null)); } a(d, "convert_ast"); async function g() { var m = e.sourceMap && e.sourceMap.content; m && m !== "inline" && (o.sourceMap.content = T(m, m)), e.timings && (o.timings = !0); try { e.parse && (e.parse.acorn ? s = d(function(N, H) { return (uY(), Po(oY)).parse(s[H], { ecmaVersion: 2024, locations: !0, program: N, sourceFile: H, sourceType: o.module || e.parse.module ? "module" : "script" }); }) : e.parse.spidermonkey && (s = d(function(N, H) { var U = JSON.parse(s[H]); return N ? (N.body = N.body.concat(U.body), N) : U; }))); } catch (N) { b(N); } let v; try { v = await Il(s, o, r); } catch (N) { if (N.name == "SyntaxError") { E("Parse error at " + N.filename + ":" + N.line + "," + N.col); var A = N.col, w = s[N.filename].split(/\r?\n/), F = w[N.line - 1]; if (!F && !A && (F = w[N.line - 2], A = F.length), F) { var x = 70; A > x && (F = F.slice(A - x), A = x), E(F.slice(0, 80)), E(F.slice(0, A).replace(/\S/g, " ") + "^"); } } N.defs && (E("Supported options:"), E(D(N.defs))), b(N); return; } if (e.output == "ast") !o.compress && !o.mangle && v.ast.figure_out_scope({}), console.log(JSON.stringify(v.ast, function(N, H) { if (H) switch (N) { case "thedef": return h(H); case "enclosed": return H.length ? H.map(h) : void 0; case "variables": case "globals": return H.size ? S(H, h) : void 0; } if (!i.has(N) && !(H instanceof So) && !(H instanceof Map)) { if (H instanceof ne) { var U = { _class: "AST_" + H.TYPE }; return H.block_scope && (U.variables = H.block_scope.variables, U.enclosed = H.block_scope.enclosed), H.CTOR.PROPS.forEach(function(M) { M !== "block_scope" && (U[M] = H[M]); }), U; } return H; } }, 2)); else if (e.output == "spidermonkey") try { let N = await Il( v.code, { compress: !1, mangle: !1, format: { ast: !0, code: !1 } }, r ); console.log(JSON.stringify(N.ast.to_mozilla_ast(), null, 2)); } catch (N) { b(N); return; } else e.output ? (r.mkdirSync(n.dirname(e.output), { recursive: !0 }), r.writeFileSync(e.output, v.code), o.sourceMap && o.sourceMap.url !== "inline" && v.map && r.writeFileSync(e.output + ".map", v.map)) : console.log(v.code); if (e.nameCache && r.writeFileSync(e.nameCache, JSON.stringify(o.nameCache)), v.timings) for (var I in v.timings) E("- " + I + ": " + v.timings[I].toFixed(3) + "s"); } a(g, "run_cli"); function b(m) { m instanceof Error && (m = m.stack.replace(/^\S*?Error:/, "ERROR:")), E(m), process.exit(1); } a(b, "fatal"); function _(m) { if (Array.isArray(m)) return [].concat.apply([], m.map(_)); if (m && m.match(/[*?]/)) { var v = n.dirname(m); try { var A = r.readdirSync(v); } catch { } if (A) { var w = "^" + n.basename(m).replace(/[.+^$[\]\\(){}]/g, "\\$&").replace(/\*/g, "[^/\\\\]*").replace(/\?/g, "[^/\\\\]") + "$", F = process. platform === "win32" ? "i" : "", x = new RegExp(w, F), I = A.filter(function(N) { return x.test(N); }).map(function(N) { return n.join(v, N); }); if (I.length) return I; } } return [m]; } a(_, "simple_glob"); function T(m, v) { try { return r.readFileSync(m, "utf8"); } catch (A) { if ((A.code == "ENOENT" || A.code == "ENAMETOOLONG") && v != null) return v; b(A); } } a(T, "read_file"); function p(m) { return function(v, A) { A = A || {}; try { Rt(Vs(v, { expression: !0 }), (w) => { if (w instanceof Ie) { var F = w.left.print_to_string(), x = w.right; return m ? A[F] = x : x instanceof Me ? A[F] = x.elements.map(I) : x instanceof or ? (x = x.value, A[F] = new RegExp(x.source, x. flags)) : A[F] = I(x), !0; } if (w instanceof He || w instanceof _e) { var F = w.print_to_string(); return A[F] = !0, !0; } if (!(w instanceof Ee)) throw w; function I(N) { return N instanceof Xe ? N.getValue() : N.print_to_string({ quote_keys: !0 }); } a(I, "to_string"); }); } catch { m ? b("Error parsing arguments for '" + m + "': " + v) : A[v] = null; } return A; }; } a(p, "parse_js"); function h(m) { var v = 1e6 + m.id + " " + m.name; return m.mangled_name && (v += " " + m.mangled_name), v; } a(h, "symdef"); function S(m, v) { var A = []; return m.forEach(function(w) { A.push(v(w)); }), A; } a(S, "collect_from_map"); function D(m) { var v = [], A = ""; return Object.keys(m).map(function(w) { return A.length < w.length && (A = Array(w.length + 1).join(" ")), [w, JSON.stringify(m[w])]; }).forEach(function(w) { v.push(" " + w[0] + A.slice(w[0].length - 2) + w[1]); }), v.join(` `); } a(D, "format_object"); function E(m) { process.stderr.write(m), process.stderr.write(` `); } a(E, "print_error"); function C() { var m = El({ beautify: !0 }); function v(A) { m.print("AST_" + A.TYPE); let w = A.SELF_PROPS.filter((F) => !/^\$/.test(F)); w.length > 0 && (m.space(), m.with_parens(function() { w.forEach(function(F, x) { x && m.space(), m.print(F); }); })), A.documentation && (m.space(), m.print_string(A.documentation)), A.SUBCLASSES.length > 0 && (m.space(), m.with_block(function() { A.SUBCLASSES.forEach(function(F) { m.indent(), v(F), m.newline(); }); })); } return a(v, "doitem"), v(ne), m + ` `; } a(C, "describe_ast"); } var cY = we(() => { J2(); cu(); Nr(); Iv(); a(lY, "run_cli"); }); // ../node_modules/terser/main.js var hY = {}; ki(hY, { _default_options: () => Z2, _run_cli: () => lY, minify: () => Il, minify_sync: () => yX }); async function Z2() { let e = {}; return Object.keys(fY({ 0: 0 })).forEach((t) => { let r = fY({ [t]: { 0: 0 } }); r && (e[t] = r); }), e; } async function fY(e) { try { await Il("", e); } catch (t) { return t.defs; } } var J2 = we(() => { i$(); a$(); M2(); M2(); cY(); a(Z2, "_default_options"); a(fY, "infer_options"); }); // ../node_modules/html-minifier-terser/src/htmlminifier.js var FY = y((PY) => { "use strict"; var EY = VK(), AY = HK().decode, TY = qx().HTMLParser, mBe = qx().endTag, gBe = MW(), pY = VW(), _Be = (J2(), Po(hY)), _b = Sv(); function $i(e) { return e && e.replace(/^[ \n\r\t\f]+/, "").replace(/[ \n\r\t\f]+$/, ""); } a($i, "trimWhitespace"); function mb(e) { return e && e.replace(/[ \n\r\t\f\xA0]+/g, function(t) { return t === " " ? " " : t.replace(/(^|\xA0+)[^\xA0]+/g, "$1 "); }); } a(mb, "collapseWhitespaceAll"); function Bl(e, t, r, n, i) { var s = "", o = ""; return t.preserveLineBreaks && (e = e.replace(/^[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*/, function() { return s = ` `, ""; }).replace(/[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*$/, function() { return o = ` `, ""; })), r && (e = e.replace(/^[ \n\r\t\f\xA0]+/, function(u) { var l = !s && t.conservativeCollapse; return l && u === " " ? " " : u.replace(/^[^\xA0]+/, "").replace(/(\xA0+)[^\xA0]+/g, "$1 ") || (l ? " " : ""); })), n && (e = e.replace(/[ \n\r\t\f\xA0]+$/, function(u) { var l = !o && t.conservativeCollapse; return l && u === " " ? " " : u.replace(/[^\xA0]+(\xA0+)/g, " $1").replace(/[^\xA0]+$/, "") || (l ? " " : ""); })), i && (e = mb(e)), s + e + o; } a(Bl, "collapseWhitespace"); var wr = _b.createMapFromString, eC = wr("a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,label,mark,math,nobr,obj\ ect,q,rp,rt,rtc,ruby,s,samp,select,small,span,strike,strong,sub,sup,svg,textarea,time,tt,u,var"), gb = wr("a,abbr,acronym,b,big,del,em,font,\ i,ins,kbd,mark,nobr,rp,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"), dY = wr("comment,img,input,wbr"); function mY(e, t, r, n) { var i = t && !dY(t); i && !n.collapseInlineTagWhitespace && (i = t.charAt(0) === "/" ? !eC(t.slice(1)) : !gb(t)); var s = r && !dY(r); return s && !n.collapseInlineTagWhitespace && (s = r.charAt(0) === "/" ? !gb(r.slice(1)) : !eC(r)), Bl(e, n, i, s, t && r); } a(mY, "collapseWhitespaceSmart"); function vBe(e) { return /^\[if\s[^\]]+]|\[endif]$/.test(e); } a(vBe, "isConditionalComment"); function bBe(e, t) { for (var r = 0, n = t.ignoreCustomComments.length; r < n; r++) if (t.ignoreCustomComments[r].test(e)) return !0; return !1; } a(bBe, "isIgnoredComment"); function yBe(e, t) { var r = t.customEventAttributes; if (r) { for (var n = r.length; n--; ) if (r[n].test(e)) return !0; return !1; } return /^on[a-z]{3,}$/.test(e); } a(yBe, "isEventAttribute"); function SBe(e) { return /^[^ \t\n\f\r"'`=<>]+$/.test(e); } a(SBe, "canRemoveAttributeQuotes"); function gY(e, t) { for (var r = e.length; r--; ) if (e[r].name.toLowerCase() === t) return !0; return !1; } a(gY, "attributesInclude"); function EBe(e, t, r, n) { return r = r ? $i(r.toLowerCase()) : "", e === "script" && t === "language" && r === "javascript" || e === "form" && t === "method" && r === "get" || e === "input" && t === "type" && r === "text" || e === "script" && t === "charset" && !gY(n, "src") || e === "a" && t === "name" && gY(n, "id") || e === "area" && t === "shape" && r === "rect"; } a(EBe, "isAttributeRedundant"); var ABe = _b.createMap([ "text/javascript", "text/ecmascript", "text/jscript", "application/javascript", "application/x-javascript", "application/ecmascript", "module" ]), TBe = _b.createMap([ "module" ]); function DY(e) { return e = $i(e.split(/;/, 2)[0]).toLowerCase(), e === "" || ABe(e); } a(DY, "isScriptTypeAttribute"); function DBe(e) { return e = $i(e.split(/;/, 2)[0]).toLowerCase(), TBe(e); } a(DBe, "keepScriptTypeAttribute"); function xBe(e, t) { if (e !== "script") return !1; for (var r = 0, n = t.length; r < n; r++) { var i = t[r].name.toLowerCase(); if (i === "type") return DY(t[r].value); } return !0; } a(xBe, "isExecutableScript"); function xY(e) { return e = $i(e).toLowerCase(), e === "" || e === "text/css"; } a(xY, "isStyleLinkTypeAttribute"); function CY(e, t) { if (e !== "style") return !1; for (var r = 0, n = t.length; r < n; r++) { var i = t[r].name.toLowerCase(); if (i === "type") return xY(t[r].value); } return !0; } a(CY, "isStyleSheet"); var CBe = wr("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselecte\ d,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,no\ wrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"), wBe = wr("true,false"); function OBe(e, t) { return CBe(e) || e === "draggable" && !wBe(t); } a(OBe, "isBooleanAttribute"); function RBe(e, t) { return /^(?:a|area|link|base)$/.test(t) && e === "href" || t === "img" && /^(?:src|longdesc|usemap)$/.test(e) || t === "object" && /^(?:classid|codebase|data|usemap)$/. test(e) || t === "q" && e === "cite" || t === "blockquote" && e === "cite" || (t === "ins" || t === "del") && e === "cite" || t === "for\ m" && e === "action" || t === "input" && (e === "src" || e === "usemap") || t === "head" && e === "profile" || t === "script" && (e === "src" || e === "for"); } a(RBe, "isUriTypeAttribute"); function kBe(e, t) { return /^(?:a|area|object|button)$/.test(t) && e === "tabindex" || t === "input" && (e === "maxlength" || e === "tabindex") || t === "se\ lect" && (e === "size" || e === "tabindex") || t === "textarea" && /^(?:rows|cols|tabindex)$/.test(e) || t === "colgroup" && e === "span" || t === "col" && e === "span" || (t === "th" || t === "td") && (e === "rowspan" || e === "colspan"); } a(kBe, "isNumberTypeAttribute"); function wY(e, t, r) { if (e !== "link") return !1; for (var n = 0, i = t.length; n < i; n++) if (t[n].name === "rel" && t[n].value === r) return !0; } a(wY, "isLinkType"); function PBe(e, t, r) { return r === "media" && (wY(e, t, "stylesheet") || CY(e, t)); } a(PBe, "isMediaQuery"); var FBe = wr("img,source"); function IBe(e, t) { return e === "srcset" && FBe(t); } a(IBe, "isSrcset"); async function NBe(e, t, r, n, i) { if (yBe(t, n)) return r = $i(r).replace(/^javascript:\s*/i, ""), await n.minifyJS(r, !0); if (t === "class") return r = $i(r), n.sortClassName ? r = n.sortClassName(r) : r = mb(r), r; if (RBe(t, e)) return r = $i(r), wY(e, i, "canonical") ? r : n.minifyURLs(r); if (kBe(t, e)) return $i(r); if (t === "style") return r = $i(r), r && (/;$/.test(r) && !/&#?[0-9a-zA-Z]+;$/.test(r) && (r = r.replace(/\s*;$/, ";")), r = n.minifyCSS(r, "inline")), r; if (IBe(t, e)) r = $i(r).split(/\s+,\s*|\s*,\s+/).map(function(s) { var o = s, u = "", l = s.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/); if (l) { o = o.slice(0, -l[0].length); var c = +l[1].slice(0, -1), f = l[1].slice(-1); (c !== 1 || f !== "x") && (u = " " + c + f); } return n.minifyURLs(o) + u; }).join(", "); else if (LBe(e, i) && t === "content") r = r.replace(/\s+/g, "").replace(/[0-9]+\.[0-9]+/g, function(s) { return (+s).toString(); }); else { if (BBe(e, i) && t.toLowerCase() === "content") return mb(r); if (n.customAttrCollapse && n.customAttrCollapse.test(t)) r = $i(r.replace(/ ?[\n\r]+ ?/g, "").replace(/\s{2,}/g, n.conservativeCollapse ? " " : "")); else if (e === "script" && t === "type") r = $i(r.replace(/\s*;\s*/g, ";")); else if (PBe(e, i, t)) return r = $i(r), n.minifyCSS(r, "media"); } return r; } a(NBe, "cleanAttributeValue"); function LBe(e, t) { if (e !== "meta") return !1; for (var r = 0, n = t.length; r < n; r++) if (t[r].name === "name" && t[r].value === "viewport") return !0; } a(LBe, "isMetaViewport"); function BBe(e, t) { if (e !== "meta") return !1; for (var r = 0, n = t.length; r < n; r++) if (t[r].name.toLowerCase() === "http-equiv" && t[r].value.toLowerCase() === "content-security-policy") return !0; } a(BBe, "isContentSecurityPolicy"); function _Y(e) { return "/* clean-css ignore:start */" + e + "/* clean-css ignore:end */"; } a(_Y, "ignoreCSS"); function OY(e, t) { switch (t) { case "inline": return "*{" + e + "}"; case "media": return "@media " + e + "{a{top:0}}"; default: return e; } } a(OY, "wrapCSS"); function MBe(e, t) { var r; switch (t) { case "inline": r = e.match(/^\*\{([\s\S]*)\}$/); break; case "media": r = e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/); break; } return r ? r[1] : e; } a(MBe, "unwrapCSS"); async function qBe(e, t) { return t.processConditionalComments ? await _b.replaceAsync(e, /^(\[if\s[^\]]+]>)([\s\S]*?)( -1) return await vb(e, t); return e; } a(UBe, "processScript"); var VBe = wr("html,head,body,colgroup,tbody"), HBe = wr("html,head,body,li,dt,dd,p,rb,rt,rtc,rp,optgroup,option,colgroup,caption,thead,tbo\ dy,tfoot,tr,td,th"), jBe = wr("meta,link,script,style,template,noscript"), GBe = wr("dt,dd"), zBe = wr("address,article,aside,blockquote,det\ ails,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,menu,nav,ol,p,pre,section,table,ul"), KBe = wr("a\ ,audio,del,ins,map,noscript,video"), WBe = wr("rb,rt,rtc,rp"), $Be = wr("rb,rtc,rp"), XBe = wr("option,optgroup"), YBe = wr("tbody,tfoot"), QBe = wr( "thead,tbody,tfoot"), ZBe = wr("td,th"), vY = wr("html,head,body"), JBe = wr("html,body"), eMe = wr("head,colgroup,caption"), bY = wr("dt,\ thead"), yY = wr("a,abbr,acronym,address,applet,area,article,aside,audio,b,base,basefont,bdi,bdo,bgsound,big,blink,blockquote,body,br,button\ ,canvas,caption,center,cite,code,col,colgroup,command,content,data,datalist,dd,del,details,dfn,dialog,dir,div,dl,dt,element,em,embed,fieldse\ t,figcaption,figure,font,footer,form,frame,frameset,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,image,img,input,ins,isindex,kbd,ke\ ygen,label,legend,li,link,listing,main,map,mark,marquee,menu,menuitem,meta,meter,multicol,nav,nobr,noembed,noframes,noscript,object,ol,optgr\ oup,option,output,p,param,picture,plaintext,pre,progress,q,rb,rp,rt,rtc,ruby,s,samp,script,section,select,shadow,small,source,spacer,span,st\ rike,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,tt,u,ul,var,video,wbr,xmp"); function tMe(e, t) { switch (e) { case "html": case "head": return !0; case "body": return !jBe(t); case "colgroup": return t === "col"; case "tbody": return t === "tr"; } return !1; } a(tMe, "canRemoveParentTag"); function rMe(e, t) { switch (t) { case "colgroup": return e === "colgroup"; case "tbody": return QBe(e); } return !1; } a(rMe, "isStartTagMandatory"); function nMe(e, t) { switch (e) { case "html": case "head": case "body": case "colgroup": case "caption": return !0; case "li": case "optgroup": case "tr": return t === e; case "dt": case "dd": return GBe(t); case "p": return zBe(t); case "rb": case "rt": case "rp": return WBe(t); case "rtc": return $Be(t); case "option": return XBe(t); case "thead": case "tbody": return YBe(t); case "tfoot": return t === "tbody"; case "td": case "th": return ZBe(t); } return !1; } a(nMe, "canRemovePrecedingTag"); var iMe = new RegExp( "^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$" ); function aMe(e, t, r, n) { var i = !r || /^\s*$/.test(r); return i ? typeof n.removeEmptyAttributes == "function" ? n.removeEmptyAttributes(t, e) : e === "input" && t === "value" || iMe.test(t) : !1; } a(aMe, "canDeleteEmptyAttribute"); function ed(e, t) { for (var r = t.length - 1; r >= 0; r--) if (t[r].name === e) return !0; return !1; } a(ed, "hasAttrName"); function sMe(e, t) { switch (e) { case "textarea": return !1; case "audio": case "script": case "video": if (ed("src", t)) return !1; break; case "iframe": if (ed("src", t) || ed("srcdoc", t)) return !1; break; case "object": if (ed("data", t)) return !1; break; case "applet": if (ed("code", t)) return !1; break; } return !0; } a(sMe, "canRemoveElement"); function RY(e) { return !/^(?:script|style|pre|textarea)$/.test(e); } a(RY, "canCollapseWhitespace"); function kY(e) { return !/^(?:pre|textarea)$/.test(e); } a(kY, "canTrimWhitespace"); async function oMe(e, t, r, n) { var i = n.name(e.name), s = e.value; if (n.decodeEntities && s && (s = AY(s, { isAttributeValue: !0 })), !(n.removeRedundantAttributes && EBe(r, i, s, t) || n.removeScriptTypeAttributes && r === "script" && i === "type" && DY(s) && !DBe(s) || n.removeStyleLinkTypeAttributes && (r === "style" || r === "link") && i === "type" && xY(s)) && (s && (s = await NBe(r, i, s, n, t)), !(n.removeEmptyAttributes && aMe(r, i, s, n)))) return n.decodeEntities && s && (s = s.replace(/&(#?[0-9a-zA-Z]+;)/g, "&$1")), { attr: e, name: i, value: s }; } a(oMe, "normalizeAttr"); function uMe(e, t, r, n, i) { var s = e.name, o = e.value, u = e.attr, l = u.quote, c, f; if (typeof o < "u" && (!r.removeAttributeQuotes || ~o.indexOf(i) || !SBe(o))) { if (!r.preventAttributesEscaping) { if (typeof r.quoteCharacter > "u") { var d = (o.match(/'/g) || []).length, g = (o.match(/"/g) || []).length; l = d < g ? "'" : '"'; } else l = r.quoteCharacter === "'" ? "'" : '"'; l === '"' ? o = o.replace(/"/g, """) : o = o.replace(/'/g, "'"); } f = l + o + l, !n && !r.removeTagWhitespace && (f += " "); } else n && !t && !/\/$/.test(o) ? f = o : f = o + " "; return typeof o > "u" || r.collapseBooleanAttributes && OBe(s.toLowerCase(), o.toLowerCase()) ? (c = s, n || (c += " ")) : c = s + u.customAssign + f, u.customOpen + c + u.customClose; } a(uMe, "buildAttr"); function ko(e) { return e; } a(ko, "identity"); function lMe(e) { var t = { name: /* @__PURE__ */ a(function(r) { return r.toLowerCase(); }, "name"), canCollapseWhitespace: RY, canTrimWhitespace: kY, html5: !0, ignoreCustomComments: [ /^!/, /^\s*#/ ], ignoreCustomFragments: [ /<%[\s\S]*?%>/, /<\?[\s\S]*?\?>/ ], includeAutoGeneratedTags: !0, log: ko, minifyCSS: ko, minifyJS: ko, minifyURLs: ko }; return Object.keys(e).forEach(function(r) { var n = e[r]; if (r === "caseSensitive") n && (t.name = ko); else if (r === "log") typeof n == "function" && (t.log = n); else if (r === "minifyCSS" && typeof n != "function") { if (!n) return; typeof n != "object" && (n = {}), t.minifyCSS = function(i, s) { i = i.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/ig, function(u, l, c, f, d) { return l + c + t.minifyURLs(f) + c + d; }); var o = new EY(n).minify(OY(i, s)); return o.errors.length > 0 ? (o.errors.forEach(t.log), i) : MBe(o.styles, s); }; } else if (r === "minifyJS" && typeof n != "function") { if (!n) return; typeof n != "object" && (n = {}), (n.parse || (n.parse = {})).bare_returns = !1, t.minifyJS = async function(i, s) { var o = i.match(/^\s*\s*$/, "") : i; n.parse.bare_returns = s; try { return (await _Be.minify(u, n)).code.replace(/;$/, ""); } catch (l) { return t.log(l), i; } }; } else if (r === "minifyURLs" && typeof n != "function") { if (!n) return; typeof n == "string" ? n = { site: n } : typeof n != "object" && (n = {}), t.minifyURLs = function(i) { try { return gBe.relate(i, n); } catch (s) { return t.log(s), i; } }; } else t[r] = n; }), t; } a(lMe, "processOptions"); function SY(e) { var t; do t = Math.random().toString(36).replace(/^0\.[0-9]*/, ""); while (~e.indexOf(t)); return t; } a(SY, "uniqueId"); var db = wr("script,style"); async function cMe(e, t, r, n) { var i = t.sortAttributes && /* @__PURE__ */ Object.create(null), s = t.sortClassName && new pY(); function o(_) { return _.map(function(T) { return t.name(T.name); }); } a(o, "attrNames"); function u(_, T) { return !T || _.indexOf(T) === -1; } a(u, "shouldSkipUID"); function l(_) { return u(_, r) && u(_, n); } a(l, "shouldSkipUIDs"); async function c(_) { var T, p; await new TY(_, { start: /* @__PURE__ */ a(function(S, D) { i && (i[S] || (i[S] = new pY()), i[S].add(o(D).filter(l))); for (var E = 0, C = D.length; E < C; E++) { var m = D[E]; s && m.value && t.name(m.name) === "class" ? s.add($i(m.value).split(/[ \t\n\f\r]+/).filter(l)) : t.processScripts && m.name.toLowerCase() === "type" && (T = S, p = m.value); } }, "start"), end: /* @__PURE__ */ a(function() { T = ""; }, "end"), chars: /* @__PURE__ */ a(async function(S) { t.processScripts && db(T) && t.processScripts.indexOf(p) > -1 && await c(S); }, "chars") }).parse(); } a(c, "scan"); var f = t.log; if (t.log = ko, t.sortAttributes = !1, t.sortClassName = !1, await c(await vb(e, t)), t.log = f, i) { var d = /* @__PURE__ */ Object.create(null); for (var g in i) d[g] = i[g].createSorter(); t.sortAttributes = function(_, T) { var p = d[_]; if (p) { var h = /* @__PURE__ */ Object.create(null), S = o(T); S.forEach(function(D, E) { (h[D] || (h[D] = [])).push(T[E]); }), p.sort(S).forEach(function(D, E) { T[E] = h[D].shift(); }); } }; } if (s) { var b = s.createSorter(); t.sortClassName = function(_) { return b.sort(_.split(/[ \n\f\r]+/)).join(" "); }; } } a(cMe, "createSortFns"); async function vb(e, t, r) { t.collapseWhitespace && (e = Bl(e, t, !0, !0)); var n = [], i, s = "", o, u = "", l = [], c = [], f = [], d = "", g = "", b = [], _ = [], T, p, h; e = e.replace(/([\s\S]*?)/g, function(x, I) { if (!T) { T = SY(e); var N = new RegExp("^" + T + "([0-9]+)$"); t.ignoreCustomComments ? t.ignoreCustomComments = t.ignoreCustomComments.slice() : t.ignoreCustomComments = [], t.ignoreCustomComments. push(N); } var H = ""; return b.push(I), H; }); var S = t.ignoreCustomFragments.map(function(x) { return x.source; }); if (S.length) { var D = new RegExp("\\s*(?:" + S.join("|") + ")+\\s*", "g"); e = e.replace(D, function(x) { p || (p = SY(e), h = new RegExp("(\\s*)" + p + "([0-9]+)" + p + "(\\s*)", "g"), t.minifyCSS && (t.minifyCSS = /* @__PURE__ */ function(N) { return function(H, U) { H = H.replace(h, function(ee, oe, he) { var le = _[+he]; return le[1] + p + he + p + le[2]; }); var M = []; return new EY().minify(OY(H, U)).warnings.forEach(function(ee) { var oe = h.exec(ee); if (oe) { var he = p + oe[2] + p; H = H.replace(he, _Y(he)), M.push(he); } }), H = N(H, U), M.forEach(function(ee) { H = H.replace(_Y(ee), ee); }), H; }; }(t.minifyCSS)), t.minifyJS && (t.minifyJS = /* @__PURE__ */ function(N) { return function(H, U) { return N(H.replace(h, function(M, ee, oe) { var he = _[+oe]; return he[1] + p + oe + p + he[2]; }), U); }; }(t.minifyJS))); var I = p + _.length + p; return _.push(/^(\s*)[\s\S]*?(\s*)$/.exec(x)), " " + I + " "; }); } (t.sortAttributes && typeof t.sortAttributes != "function" || t.sortClassName && typeof t.sortClassName != "function") && await cMe(e, t, T, p); function E(x, I) { return t.canCollapseWhitespace(x, I, RY); } a(E, "_canCollapseWhitespace"); function C(x, I) { return t.canTrimWhitespace(x, I, kY); } a(C, "_canTrimWhitespace"); function m() { for (var x = n.length - 1; x > 0 && !/^<[^/!]/.test(n[x]); ) x--; n.length = Math.max(0, x); } a(m, "removeStartTag"); function v() { for (var x = n.length - 1; x > 0 && !/^<\//.test(n[x]); ) x--; n.length = Math.max(0, x); } a(v, "removeEndTag"); function A(x, I) { for (var N = null; x >= 0 && C(N); x--) { var H = n[x], U = H.match(/^<\/([\w:-]+)>$/); if (U) N = U[1]; else if (/>$/.test(H) || (n[x] = mY(H, null, I, t))) break; } } a(A, "trimTrailingWhitespace"); function w(x) { var I = n.length - 1; if (n.length > 1) { var N = n[n.length - 1]; /^(?:= 0; ) { var ve = await oMe(I[ze], I, x, t); ve && (le.unshift(uMe(ve, he, t, te, p)), te = !1); } le.length > 0 ? (n.push(" "), n.push.apply(n, le)) : M && VBe(x) && (d = x), n.push(n.pop() + (he ? "/" : "") + ">"), U && !t.includeAutoGeneratedTags && (m(), d = ""); }, "start"), end: /* @__PURE__ */ a(function(x, I, N) { x.toLowerCase() === "svg" && (t = Object.getPrototypeOf(t)), x = t.name(x), t.collapseWhitespace && (c.length ? x === c[c.length - 1] && c.pop() : w("/" + x), f.length && x === f[f.length - 1] && f.pop()); var H = !1; x === u && (u = "", H = !o), t.removeOptionalTags && (H && vY(d) && m(), d = "", yY(x) && g && !bY(g) && (g !== "p" || !KBe(x)) && v(), g = HBe(x) ? x : ""), t.removeEmptyElements && H && sMe(x, I) ? (m(), d = "", g = "") : (N && !t.includeAutoGeneratedTags ? g = "" : n.push(""), i = "/" + x, eC(x) ? H && (s += "|") : s = ""); }, "end"), chars: /* @__PURE__ */ a(async function(x, I, N) { if (I = I === "" ? "comment" : I, N = N === "" ? "comment" : N, t.decodeEntities && x && !db(u) && (x = AY(x)), t.collapseWhitespace) { if (!c.length) { if (I === "comment") { var H = n[n.length - 1]; if (H.indexOf(T) === -1 && (H || (I = i), n.length > 1 && (!H || !t.conservativeCollapse && / $/.test(s)))) { var U = n.length - 2; n[U] = n[U].replace(/\s+$/, function(ee) { return x = ee + x, ""; }); } } if (I) if (I === "/nobr" || I === "wbr") { if (/^\s/.test(x)) { for (var M = n.length - 1; M > 0 && n[M].lastIndexOf("<" + I) !== 0; ) M--; A(M - 1, "br"); } } else gb(I.charAt(0) === "/" ? I.slice(1) : I) && (x = Bl(x, t, /(?:^|\s)$/.test(s))); I || N ? x = mY(x, I, N, t) : x = Bl(x, t, !0, !0), !x && /\s$/.test(s) && I && I.charAt(0) === "/" && A(n.length - 1, N); } !f.length && N !== "html" && !(I && N) && (x = Bl(x, t, !1, !1, !0)); } t.processScripts && db(u) && (x = await UBe(x, t, l)), xBe(u, l) && (x = await t.minifyJS(x)), CY(u, l) && (x = t.minifyCSS(x)), t.removeOptionalTags && x && ((d === "html" || d === "body" && !/^\s/.test(x)) && m(), d = "", (JBe(g) || eMe(g) && !/^\s/.test(x)) && v(), g = ""), i = /^\s*$/. test(x) ? I : "comment", t.decodeEntities && x && !db(u) && (x = x.replace(/&((?:Iacute|aacute|uacute|plusmn|Otilde|otilde|agrave|Agrave|Yacute|yacute|Oslash|oslash|atilde|Atilde|brvbar|ccedil|Ccedil|Ograve|curren|divide|eacute|Eacute|ograve|Oacute|egrave|Egrave|Ugrave|frac12|frac14|frac34|ugrave|oacute|iacute|Ntilde|ntilde|Uacute|middot|igrave|Igrave|iquest|Aacute|cedil|laquo|micro|iexcl|Icirc|icirc|acirc|Ucirc|Ecirc|ocirc|Ocirc|ecirc|ucirc|Aring|aring|AElig|aelig|acute|pound|raquo|Acirc|times|THORN|szlig|thorn|COPY|auml|ordf|ordm|Uuml|macr|uuml|Auml|ouml|Ouml|para|nbsp|euml|quot|QUOT|Euml|yuml|cent|sect|copy|sup1|sup2|sup3|iuml|Iuml|ETH|shy|reg|not|yen|amp|AMP|REG|uml|eth|deg|gt|GT|LT|lt)(?!;)|(?:#?[0-9a-zA-Z]+;))/g, "&$1").replace(/" : "-->"; vBe(x) ? x = N + await qBe(x, t) + H : t.removeComments ? bBe(x, t) ? x = "" : x = "" : x = N + x + H, t.removeOptionalTags && x && (d = "", g = ""), n.push(x); }, "comment"), doctype: /* @__PURE__ */ a(function(x) { n.push(t.useShortDoctype ? "" : mb(x)); }, "doctype") }).parse(), t.removeOptionalTags && (vY(d) && m(), g && !bY(g) && v()), t.collapseWhitespace && w("br"), fMe(n, t, h ? function(x) { return x.replace(h, function(I, N, H, U) { var M = _[+H][0]; return t.collapseWhitespace ? (N !== " " && (M = N + M), U !== " " && (M += U), Bl(M, { preserveLineBreaks: t.preserveLineBreaks, conservativeCollapse: !t.trimCustomFragments }, /^[ \n\r\t\f]/.test(M), /[ \n\r\t\f]$/.test(M))) : M; }); } : ko, T ? function(x) { return x.replace(new RegExp("", "g"), function(I, N) { return b[+N]; }); } : ko); } a(vb, "minify"); function fMe(e, t, r, n) { var i, s = t.maxLineLength, o = t.noNewlinesBeforeTagClose; if (s) { for (var u = "", l = []; e.length; ) { var c = u.length, f = e[0].indexOf(` `), d = !!e[0].match(mBe), g = o && d; f < 0 ? u += n(r(e.shift())) : (u += n(r(e[0].slice(0, f))), e[0] = e[0].slice(f + 1)), c > 0 && u.length > s && !g ? (l.push(u.slice( 0, c)), u = u.slice(c)) : f >= 0 && (l.push(u), u = ""); } u && l.push(u), i = l.join(` `); } else i = n(r(e.join(""))); return t.collapseWhitespace ? Bl(i, t, !0, !0) : i; } a(fMe, "joinResultSegments"); PY.minify = async function(e, t) { var r = Date.now(); t = lMe(t || {}); var n = await vb(e, t); return t.log("minified in: " + (Date.now() - r) + "ms"), n; }; }); // ../node_modules/html-webpack-plugin/index.js var qY = y((Gnt, MY) => { "use strict"; var hMe = require("util").promisify, IY = require("vm"), pMe = require("fs"), dMe = yB(), wi = require("path"), { CachedChildCompilation: mMe } = TB(), { createHtmlTagObject: gMe, htmlTagObjectToString: tC, HtmlTagArray: _Me } = xB(), bb = O6(), NY = R6(), { AsyncSeriesWaterfallHook: wf } = g4(), LY = /* @__PURE__ */ new WeakMap(), Ml = class e { static { a(this, "HtmlWebpackPlugin"); } // The following is the API definition for all available hooks // For the TypeScript definition, see the Hooks type in typings.d.ts /** beforeAssetTagGeneration: AsyncSeriesWaterfallHook<{ assets: { publicPath: string, js: Array, css: Array, favicon?: string | undefined, manifest?: string | undefined }, outputName: string, plugin: HtmlWebpackPlugin }>, alterAssetTags: AsyncSeriesWaterfallHook<{ assetTags: { scripts: Array, styles: Array, meta: Array, }, publicPath: string, outputName: string, plugin: HtmlWebpackPlugin }>, alterAssetTagGroups: AsyncSeriesWaterfallHook<{ headTags: Array, bodyTags: Array, publicPath: string, outputName: string, plugin: HtmlWebpackPlugin }>, afterTemplateExecution: AsyncSeriesWaterfallHook<{ html: string, headTags: Array, bodyTags: Array, outputName: string, plugin: HtmlWebpackPlugin, }>, beforeEmit: AsyncSeriesWaterfallHook<{ html: string, outputName: string, plugin: HtmlWebpackPlugin, }>, afterEmit: AsyncSeriesWaterfallHook<{ outputName: string, plugin: HtmlWebpackPlugin }> */ /** * Returns all public hooks of the html webpack plugin for the given compilation * * @param {Compilation} compilation * @returns {HtmlWebpackPluginHooks} */ static getCompilationHooks(t) { let r = LY.get(t); return r || (r = { beforeAssetTagGeneration: new wf(["pluginArgs"]), alterAssetTags: new wf(["pluginArgs"]), alterAssetTagGroups: new wf(["pluginArgs"]), afterTemplateExecution: new wf(["pluginArgs"]), beforeEmit: new wf(["pluginArgs"]), afterEmit: new wf(["pluginArgs"]) }, LY.set(t, r)), r; } /** * @param {HtmlWebpackOptions} [options] */ constructor(t) { this.userOptions = t || {}, this.version = e.version; let r = { template: "auto", templateContent: !1, templateParameters: BY, filename: "index.html", publicPath: this.userOptions.publicPath === void 0 ? "auto" : this.userOptions.publicPath, hash: !1, inject: this.userOptions.scriptLoading === "blocking" ? "body" : "head", scriptLoading: "defer", compile: !0, favicon: !1, minify: "auto", cache: !0, showErrors: !0, chunks: "all", excludeChunks: [], chunksSortMode: "auto", meta: {}, base: !1, title: "Webpack App", xhtml: !1 }; this.options = Object.assign(r, this.userOptions); } /** * * @param {Compiler} compiler * @returns {void} */ apply(t) { this.logger = t.getInfrastructureLogger("HtmlWebpackPlugin"); let r = this.options; r.template = this.getTemplatePath( this.options.template, t.context ), r.scriptLoading !== "defer" && r.scriptLoading !== "blocking" && r.scriptLoading !== "module" && r.scriptLoading !== "systemjs-modu\ le" && this.logger.error( 'The "scriptLoading" option need to be set to "defer", "blocking" or "module" or "systemjs-module"' ), r.inject !== !0 && r.inject !== !1 && r.inject !== "head" && r.inject !== "body" && this.logger.error( 'The `inject` option needs to be set to true, false, "head" or "body' ), this.options.templateParameters !== !1 && typeof this.options.templateParameters != "function" && typeof this.options.templateParameters != "object" && this.logger.error( "The `templateParameters` has to be either a function or an object or false" ), !this.userOptions.template && r.templateContent === !1 && r.meta && (r.meta = Object.assign( {}, r.meta, { // TODO remove in the next major release // From https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag viewport: "width=device-width, initial-scale=1" }, this.userOptions.meta )); let n = this.userOptions.filename || this.options.filename, i = typeof n == "function" ? n : ( // Replace '[name]' with entry name (u) => n.replace(/\[name\]/g, u) ), s = Object.keys(t.options.entry); new Set( (s.length ? s : ["main"]).map(i) ).forEach((u) => { let l = { value: void 0 }, c = [], f = new mMe(t); this.options.templateContent || f.addEntry(this.options.template); let d = u; if (wi.resolve(d) === wi.normalize(d)) { let g = ( /** @type {string} - Once initialized the path is always a string */ t.options.output.path ); d = wi.relative(g, d); } t.hooks.thisCompilation.tap( "HtmlWebpackPlugin", /** * Hook into the webpack compilation * @param {Compilation} compilation */ (g) => { g.hooks.processAssets.tapAsync( { name: "HtmlWebpackPlugin", stage: ( /** * Generate the html after minification and dev tooling is done */ t.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE ) }, /** * Hook into the process assets hook * @param {any} _ * @param {(err?: Error) => void} callback */ (b, _) => { this.generateHTML( t, g, d, f, c, l, _ ); } ); } ); }); } /** * Helper to return the absolute template path with a fallback loader * * @private * @param {string} template The path to the template e.g. './index.html' * @param {string} context The webpack base resolution path for relative paths e.g. process.cwd() */ getTemplatePath(t, r) { return t === "auto" && (t = wi.resolve(r, "src/index.ejs"), pMe.existsSync(t) || (t = wi.join(__dirname, "default_index.ejs"))), t.indexOf( "!") === -1 && (t = require.resolve("./lib/loader.js") + "!" + wi.resolve(r, t)), t.replace( /([!])([^/\\][^!?]+|[^/\\!?])($|\?[^!?\n]+$)/, (n, i, s, o) => i + wi.resolve(s) + o ); } /** * Return all chunks from the compilation result which match the exclude and include filters * * @private * @param {any} chunks * @param {string[]|'all'} includedChunks * @param {string[]} excludedChunks */ filterEntryChunks(t, r, n) { return t.filter((i) => !(Array.isArray(r) && r.indexOf(i) === -1 || Array.isArray(n) && n.indexOf(i) !== -1)); } /** * Helper to sort chunks * * @private * @param {string[]} entryNames * @param {string|((entryNameA: string, entryNameB: string) => number)} sortMode * @param {Compilation} compilation */ sortEntryChunks(t, r, n) { if (typeof r == "function") return t.sort(r); if (typeof NY[r] < "u") return NY[r](t, n, this.options); throw new Error('"' + r + '" is not a valid chunk sort mode'); } /** * Encode each path component using `encodeURIComponent` as files can contain characters * which needs special encoding in URLs like `+ `. * * Valid filesystem characters which need to be encoded for urls: * * # pound, % percent, & ampersand, { left curly bracket, } right curly bracket, * \ back slash, < left angle bracket, > right angle bracket, * asterisk, ? question mark, * blank spaces, $ dollar sign, ! exclamation point, ' single quotes, " double quotes, * : colon, @ at sign, + plus sign, ` backtick, | pipe, = equal sign * * However the query string must not be encoded: * * fo:demonstration-path/very fancy+name.js?path=/home?value=abc&value=def#zzz * ^ ^ ^ ^ ^ ^ ^ ^^ ^ ^ ^ ^ ^ * | | | | | | | || | | | | | * encoded | | encoded | | || | | | | | * ignored ignored ignored ignored ignored * * @private * @param {string} filePath */ urlencodePath(t) { let r = t.indexOf("?"), n = r === -1 ? t : t.substr(0, r), i = t.substr(n.length); return n.split("/").map(encodeURIComponent).join("/") + i; } /** * Appends a cache busting hash to the query string of the url * E.g. http://localhost:8080/ -> http://localhost:8080/?50c9096ba6183fd728eeb065a26ec175 * * @private * @param {string | undefined} url * @param {string} hash */ appendHash(t, r) { return t && t + (t.indexOf("?") === -1 ? "?" : "&") + r; } /** * Generate the relative or absolute base url to reference images, css, and javascript files * from within the html file - the publicPath * * @private * @param {Compilation} compilation * @param {string} filename * @param {string | 'auto'} customPublicPath * @returns {string} */ getPublicPath(t, r, n) { let i = t.getAssetPath( /** @type {NonNullable} */ t.outputOptions.publicPath, { hash: t.hash } ), o = ( // If the html-webpack-plugin options contain a custom public path unset it n !== "auto" ? n : i !== "auto" ? ( // If a hard coded public path exists use it i ) : ( // If no public path was set get a relative url path wi.relative( wi.resolve( /** @type {string} */ t.options.output.path, wi.dirname(r) ), /** @type {string} */ t.options.output.path ).split(wi.sep).join("/") ) ); return o.length && o.substr(-1, 1) !== "/" && (o += "/"), o; } /** * The getAssetsForHTML extracts the asset information of a webpack compilation for all given entry names. * * @private * @param {Compilation} compilation * @param {string} outputName * @param {string[]} entryNames * @returns {AssetsInformationByGroups} */ getAssetsInformationByGroups(t, r, n) { let i = this.getPublicPath( t, r, this.options.publicPath ), s = { // The public path publicPath: i, // Will contain all js and mjs files js: [], // Will contain all css files css: [], // Will contain the html5 appcache manifest files if it exists manifest: Object.keys(t.assets).find( (l) => wi.extname(l) === ".appcache" ), // Favicon favicon: void 0 }; this.options.hash && s.manifest && (s.manifest = this.appendHash( s.manifest, /** @type {string} */ t.hash )); let o = {}, u = /\.(css|js|mjs)(\?|$)/; for (let l = 0; l < n.length; l++) { let c = n[l]; /** @type {Entrypoint} */ t.entrypoints.get(c).getFiles().filter((b) => { let _ = t.getAsset(b); if (!_) return !0; let T = _.info || {}; return !(T.hotModuleReplacement || T.development); }).map((b) => { let _ = i + this.urlencodePath(b); return this.options.hash ? this.appendHash( _, /** @type {string} */ t.hash ) : _; }).forEach((b) => { let _ = u.exec( /** @type {string} */ b ); if (!_ || o[b]) return; o[b] = !0; let T = _[1] === "mjs" ? "js" : _[1]; s[T].push(b); }); } return s; } /** * Once webpack is done with compiling the template into a NodeJS code this function * evaluates it to generate the html result * * The evaluateCompilationResult is only a class function to allow spying during testing. * Please change that in a further refactoring * * @param {string} source * @param {string} publicPath * @param {string} templateFilename * @returns {Promise string | Promise)>} */ evaluateCompilationResult(t, r, n) { if (!t) return Promise.reject( new Error("The child compilation didn't provide a result") ); t.indexOf("HTML_WEBPACK_PLUGIN_RESULT") >= 0 && (t += `; HTML_WEBPACK_PLUGIN_RESULT`); let i = n.replace(/^.+!/, "").replace(/\?.+$/, ""), s = IY.createContext({ ...global, HTML_WEBPACK_PLUGIN: !0, require, htmlWebpackPluginPublicPath: r, __filename: i, __dirname: wi.dirname(i), AbortController: global.AbortController, AbortSignal: global.AbortSignal, Blob: global.Blob, Buffer: global.Buffer, ByteLengthQueuingStrategy: global.ByteLengthQueuingStrategy, BroadcastChannel: global.BroadcastChannel, CompressionStream: global.CompressionStream, CountQueuingStrategy: global.CountQueuingStrategy, Crypto: global.Crypto, CryptoKey: global.CryptoKey, CustomEvent: global.CustomEvent, DecompressionStream: global.DecompressionStream, Event: global.Event, EventTarget: global.EventTarget, File: global.File, FormData: global.FormData, Headers: global.Headers, MessageChannel: global.MessageChannel, MessageEvent: global.MessageEvent, MessagePort: global.MessagePort, PerformanceEntry: global.PerformanceEntry, PerformanceMark: global.PerformanceMark, PerformanceMeasure: global.PerformanceMeasure, PerformanceObserver: global.PerformanceObserver, PerformanceObserverEntryList: global.PerformanceObserverEntryList, PerformanceResourceTiming: global.PerformanceResourceTiming, ReadableByteStreamController: global.ReadableByteStreamController, ReadableStream: global.ReadableStream, ReadableStreamBYOBReader: global.ReadableStreamBYOBReader, ReadableStreamBYOBRequest: global.ReadableStreamBYOBRequest, ReadableStreamDefaultController: global.ReadableStreamDefaultController, ReadableStreamDefaultReader: global.ReadableStreamDefaultReader, Response: global.Response, Request: global.Request, SubtleCrypto: global.SubtleCrypto, DOMException: global.DOMException, TextDecoder: global.TextDecoder, TextDecoderStream: global.TextDecoderStream, TextEncoder: global.TextEncoder, TextEncoderStream: global.TextEncoderStream, TransformStream: global.TransformStream, TransformStreamDefaultController: global.TransformStreamDefaultController, URL: global.URL, URLSearchParams: global.URLSearchParams, WebAssembly: global.WebAssembly, WritableStream: global.WritableStream, WritableStreamDefaultController: global.WritableStreamDefaultController, WritableStreamDefaultWriter: global.WritableStreamDefaultWriter }), o = new IY.Script(t, { filename: i }), u; try { u = o.runInContext(s); } catch (l) { return Promise.reject(l); } return typeof u == "object" && u.__esModule && u.default !== void 0 && (u = u.default), typeof u == "string" || typeof u == "function" ? Promise.resolve(u) : Promise.reject( new Error( 'The loader "' + i + `" didn't return html.` ) ); } /** * Add toString methods for easier rendering inside the template * * @private * @param {Array} assetTagGroup * @returns {Array} */ prepareAssetTagGroupForRendering(t) { let r = this.options.xhtml; return _Me.from( t.map((n) => { let i = Object.assign({}, n); return i.toString = function() { return tC(this, r); }, i; }) ); } /** * Generate the template parameters for the template function * * @private * @param {Compilation} compilation * @param {AssetsInformationByGroups} assetsInformationByGroups * @param {{ headTags: HtmlTagObject[], bodyTags: HtmlTagObject[] }} assetTags * @returns {Promise<{[key: any]: any}>} */ getTemplateParameters(t, r, n) { let i = this.options.templateParameters; if (i === !1) return Promise.resolve({}); if (typeof i != "function" && typeof i != "object") throw new Error( "templateParameters has to be either a function or an object" ); let s = typeof i == "function" ? ( // A custom function can overwrite the entire template parameter preparation i ) : ( // If the template parameters is an object merge it with the default values (u, l, c, f) => Object.assign( {}, BY( u, l, c, f ), i ) ), o = { headTags: this.prepareAssetTagGroupForRendering(n.headTags), bodyTags: this.prepareAssetTagGroupForRendering(n.bodyTags) }; return Promise.resolve().then( () => s( t, r, o, this.options ) ); } /** * This function renders the actual html by executing the template function * * @private * @param {(templateParameters) => string | Promise} templateFunction * @param {AssetsInformationByGroups} assetsInformationByGroups * @param {{ headTags: HtmlTagObject[], bodyTags: HtmlTagObject[] }} assetTags * @param {Compilation} compilation * @returns Promise */ executeTemplate(t, r, n, i) { return this.getTemplateParameters( i, r, n ).then((o) => { try { return t(o); } catch (u) { return i.errors.push(new Error("Template execution failed: " + u)), Promise.reject(u); } }); } /** * Html Post processing * * @private * @param {Compiler} compiler The compiler instance * @param {any} originalHtml The input html * @param {AssetsInformationByGroups} assetsInformationByGroups * @param {{headTags: HtmlTagObject[], bodyTags: HtmlTagObject[]}} assetTags The asset tags to inject * @returns {Promise} */ postProcessHtml(t, r, n, i) { let s = r; if (typeof s != "string") return Promise.reject( new Error( "Expected html to be a string but got " + JSON.stringify(s) ) ); if (this.options.inject) { let c = /(]*>)/i, f = /(<\/head\s*>)/i, d = /(<\/body\s*>)/i, g = /]+name=["']viewport["'][^>]*>/i, b = i.bodyTags.map( (T) => tC(T, this.options.xhtml) ), _ = i.headTags.filter((T) => !(T.tagName === "meta" && T.attributes && T.attributes.name === "viewport" && g.test(s))).map( (T) => tC(T, this.options.xhtml) ); b.length && (d.test(s) ? s = s.replace(d, (T) => b.join("") + T) : s += b.join("")), _.length && (f.test(s) || (c.test(s) ? s = s.replace( c, (T) => T + "") : s = "" + s), s = s.replace(f, (T) => _.join("") + T)), n.manifest && (s = s.replace(/(]*)(>)/i, (T, p, h) => /\smanifest\s*=/.test(T) ? T : p + ' manifest="' + n.manifest + '"' + h)); } let o = t.options.mode === "production" || !t.options.mode; if (!(this.options.minify === !0 || typeof this.options.minify == "object" || this.options.minify === "auto" && o)) return Promise.resolve(s); let l = typeof this.options.minify == "object" ? this.options.minify : { // https://www.npmjs.com/package/html-minifier-terser#options-quick-reference collapseWhitespace: !0, keepClosingSlash: !0, removeComments: !0, removeRedundantAttributes: !0, removeScriptTypeAttributes: !0, removeStyleLinkTypeAttributes: !0, useShortDoctype: !0 }; try { s = FY().minify(s, l); } catch (c) { return String(c.message).indexOf("Parse Error") === 0 && (c.message = `html-webpack-plugin could not minify the generated output. In production mode the html minification is enabled by default. If you are not generating a valid html output please disable it manually. You can do so by adding the following setting to your HtmlWebpackPlugin config: | | minify: false | See https://github.com/jantimon/html-webpack-plugin#options for details. For parser dedicated bugs please create an issue here: https://danielruf.github.io/html-minifier-terser/ ` + c.message), Promise.reject(c); } return Promise.resolve(s); } /** * Helper to return a sorted unique array of all asset files out of the asset object * @private */ getAssetFiles(t) { let r = dMe( Object.keys(t).filter((n) => n !== "chunks" && t[n]).reduce((n, i) => n.concat(t[i]), []) ); return r.sort(), r; } /** * Converts a favicon file from disk to a webpack resource and returns the url to the resource * * @private * @param {Compiler} compiler * @param {string|false} favicon * @param {Compilation} compilation * @param {string} publicPath * @param {PreviousEmittedAssets} previousEmittedAssets * @returns {Promise} */ generateFavicon(t, r, n, i, s) { if (!r) return Promise.resolve(void 0); let o = wi.resolve(n.compiler.context, r); return hMe(n.inputFileSystem.readFile)(o).then((u) => { let l = new t.webpack.sources.RawSource( /** @type {string | Buffer} */ u, !1 ), c = wi.basename(o); n.fileDependencies.add(o), n.emitAsset(c, l), s.push({ name: c, source: l }); let f = i + c; return this.options.hash ? this.appendHash( f, /** @type {string} */ n.hash ) : f; }).catch( () => Promise.reject( new Error("HtmlWebpackPlugin: could not load file " + o) ) ); } /** * Generate all tags script for the given file paths * * @private * @param {Array} jsAssets * @returns {Array} */ generatedScriptTags(t) { return t.map((r) => { let n = {}; return this.options.scriptLoading === "defer" ? n.defer = !0 : this.options.scriptLoading === "module" ? n.type = "module" : this.options. scriptLoading === "systemjs-module" && (n.type = "systemjs-module"), n.src = r, { tagName: "script", voidTag: !1, meta: { plugin: "html-webpack-plugin" }, attributes: n }; }); } /** * Generate all style tags for the given file paths * * @private * @param {Array} cssAssets * @returns {Array} */ generateStyleTags(t) { return t.map((r) => ({ tagName: "link", voidTag: !0, meta: { plugin: "html-webpack-plugin" }, attributes: { href: r, rel: "stylesheet" } })); } /** * Generate an optional base tag * * @param {string | {[attributeName: string]: string}} base * @returns {Array} */ generateBaseTag(t) { return [ { tagName: "base", voidTag: !0, meta: { plugin: "html-webpack-plugin" }, // attributes e.g. { href:"http://example.com/page.html" target:"_blank" } attributes: typeof t == "string" ? { href: t } : t } ]; } /** * Generate all meta tags for the given meta configuration * * @private * @param {false | {[name: string]: false | string | {[attributeName: string]: string|boolean}}} metaOptions * @returns {Array} */ generatedMetaTags(t) { return t === !1 ? [] : Object.keys(t).map((n) => { let i = t[n]; return typeof i == "string" ? { name: n, content: i } : i; }).filter((n) => n !== !1).map((n) => { if (n === !1) throw new Error("Invalid meta tag"); return { tagName: "meta", voidTag: !0, meta: { plugin: "html-webpack-plugin" }, attributes: n }; }); } /** * Generate a favicon tag for the given file path * * @private * @param {string} favicon * @returns {Array} */ generateFaviconTag(t) { return [ { tagName: "link", voidTag: !0, meta: { plugin: "html-webpack-plugin" }, attributes: { rel: "icon", href: t } } ]; } /** * Group assets to head and body tags * * @param {{ scripts: Array; styles: Array; meta: Array; }} assetTags * @param {"body" | "head"} scriptTarget * @returns {{ headTags: Array; bodyTags: Array; }} */ groupAssetsByElements(t, r) { let n = { headTags: [...t.meta, ...t.styles], bodyTags: [] }; if (r === "body") n.bodyTags.push(...t.scripts); else { let i = this.options.scriptLoading === "blocking" ? n.headTags.length : t.meta.length; n.headTags.splice(i, 0, ...t.scripts); } return n; } /** * Replace [contenthash] in filename * * @see https://survivejs.com/webpack/optimizing/adding-hashes-to-filenames/ * * @private * @param {Compiler} compiler * @param {string} filename * @param {string|Buffer} fileContent * @param {Compilation} compilation * @returns {{ path: string, info: {} }} */ replacePlaceholdersInFilename(t, r, n, i) { if (/\[\\*([\w:]+)\\*\]/i.test(r) === !1) return { path: r, info: {} }; let s = t.webpack.util.createHash( i.outputOptions.hashFunction ); s.update(n), i.outputOptions.hashSalt && s.update(i.outputOptions.hashSalt); let o = ( /** @type {string} */ s.digest(i.outputOptions.hashDigest).slice(0, i.outputOptions.hashDigestLength) ); return i.getPathWithInfo(r, { contentHash: o, chunk: { hash: o, // @ts-ignore contentHash: o } }); } /** * Function to generate HTML file. * * @private * @param {Compiler} compiler * @param {Compilation} compilation * @param {string} outputName * @param {CachedChildCompilation} childCompilerPlugin * @param {PreviousEmittedAssets} previousEmittedAssets * @param {{ value: string | undefined }} assetJson * @param {(err?: Error) => void} callback */ generateHTML(t, r, n, i, s, o, u) { let l = Array.from(r.entrypoints.keys()), c = this.filterEntryChunks( l, this.options.chunks, this.options.excludeChunks ), f = this.sortEntryChunks( c, this.options.chunksSortMode, r ), d = this.options.templateContent ? { mainCompilationHash: r.hash } : i.getCompilationEntryResult(this.options.template); "error" in d && r.errors.push( bb(d.error, t.context).toString() ); let g = d.mainCompilationHash !== r.hash, b = this.getAssetsInformationByGroups( r, n, f ), _ = JSON.stringify( this.getAssetFiles(b) ); if (g && this.options.cache && o.value === _) return s.forEach(({ name: C, source: m, info: v }) => { r.emitAsset(C, m, v); }), u(); s.length = 0, o.value = _; let T = this.generateFavicon( t, this.options.favicon, r, b.publicPath, s ).then((C) => (b.favicon = C, e.getCompilationHooks( r ).beforeAssetTagGeneration.promise({ assets: b, outputName: n, plugin: this }))), p = T.then( ({ assets: C }) => e.getCompilationHooks( r ).alterAssetTags.promise({ assetTags: { scripts: this.generatedScriptTags(C.js), styles: this.generateStyleTags(C.css), meta: [ ...this.options.base !== !1 ? this.generateBaseTag(this.options.base) : [], ...this.generatedMetaTags(this.options.meta), ...C.favicon ? this.generateFaviconTag(C.favicon) : [] ] }, outputName: n, publicPath: b.publicPath, plugin: this }) ).then(({ assetTags: C }) => { let m = this.options.inject === "head" || this.options.inject !== "body" && this.options.scriptLoading !== "blocking" ? "head" : "bo\ dy", v = this.groupAssetsByElements(C, m); return e.getCompilationHooks( r ).alterAssetTagGroups.promise({ headTags: v.headTags, bodyTags: v.bodyTags, outputName: n, publicPath: b.publicPath, plugin: this }); }), h = Promise.resolve().then(() => { if ("error" in d) return this.options.showErrors ? bb(d.error, t.context).toHtml() : "ERROR"; if (this.options.templateContent !== !1) return this.options.templateContent; if ("compiledEntry" in d) { let C = d.compiledEntry, m = C.assets; for (let v in m) s.push({ name: v, source: m[v].source, info: m[v].info }); return this.evaluateCompilationResult( C.content, b.publicPath, this.options.template ); } return Promise.reject( new Error("Child compilation contained no compiledEntry") ); }), S = Promise.all([ T, p, h ]).then( ([C, m, v]) => typeof v != "function" ? v : this.executeTemplate( v, C.assets, { headTags: m.headTags, bodyTags: m.bodyTags }, r ) ); Promise.all([ p, S ]).then(([C, m]) => { let v = { html: m, headTags: C.headTags, bodyTags: C.bodyTags, plugin: this, outputName: n }; return e.getCompilationHooks( r ).afterTemplateExecution.promise(v); }).then(({ html: C, headTags: m, bodyTags: v }) => this.postProcessHtml(t, C, b, { headTags: m, bodyTags: v })).then((C) => { let m = { html: C, plugin: this, outputName: n }; return e.getCompilationHooks(r).beforeEmit.promise(m).then((v) => v.html); }).catch((C) => (r.errors.push(bb(C, t.context).toString()), this.options.showErrors ? bb(C, t.context).toHtml() : "ERROR")).then((C) => { let m = n.replace( /\[templatehash([^\]]*)\]/g, require("util").deprecate( (w, F) => `[contenthash${F}]`, "[templatehash] is now [contenthash]" ) ), v = this.replacePlaceholdersInFilename( t, m, C, r ), A = new t.webpack.sources.RawSource(C, !1); return r.emitAsset( v.path, A, v.info ), s.push({ name: v.path, source: A }), v.path; }).then( (C) => e.getCompilationHooks(r).afterEmit.promise({ outputName: C, plugin: this }).catch((m) => (this.logger.error(m), null)).then(() => null) ).then(() => { u(); }); } }; function BY(e, t, r, n) { return { compilation: e, webpackConfig: e.options, htmlWebpackPlugin: { tags: r, files: t, options: n } }; } a(BY, "templateParametersGenerator"); Ml.version = 5; Ml.getHooks = Ml.getCompilationHooks; Ml.createHtmlTagObject = gMe; MY.exports = Ml; }); // src/core-server/presets/webpack/plugins/webpack-inject-mocker-runtime-plugin.ts var HY = {}; ki(HY, { WebpackInjectMockerRuntimePlugin: () => nC }); var UY, VY, rC, nC, jY = we(() => { "use strict"; UY = require("node:path"), VY = require("esbuild"), rC = "WebpackInjectMockerRuntimePlugin", nC = class { static { a(this, "WebpackInjectMockerRuntimePlugin"); } // We need to lazy-require HtmlWebpackPlugin because it's an optional peer dependency. getHtmlWebpackPlugin(t) { try { let r = t.options.plugins.find( (n) => n?.constructor?.name === "HtmlWebpackPlugin" )?.constructor; return r || qY(); } catch { return t.getInfrastructureLogger(rC).warn("html-webpack-plugin is not installed. Cannot inject mocker runtime."), null; } } /** * The main entry point for the Webpack plugin. * * @param {Compiler} compiler The Webpack compiler instance. */ apply(t) { let r = this.getHtmlWebpackPlugin(t); r && t.hooks.compilation.tap(rC, (n) => { r.getHooks(n).beforeAssetTagGeneration.tapAsync( rC, (i, s) => { try { let o = require.resolve((0, UY.join)(__dirname, "..", "..", "..", "templates", "mocker-runtime.template.js")), l = (0, VY.buildSync)( { entryPoints: [o], bundle: !0, write: !1, // Return the result in memory instead of writing to disk format: "esm", target: "es2020", external: ["msw/browser", "msw/core/http"] }).outputFiles[0].text, c = "mocker-runtime-injected.js"; n.emitAsset( c, new t.webpack.sources.RawSource(l) ), i.assets.js.unshift(c), s(null, i); } catch (o) { s(o); } } ); }); } }; }); // src/core-server/presets/common-preset.ts var jMe = {}; ki(jMe, { babel: () => EMe, channelToken: () => LMe, core: () => kMe, csfIndexer: () => QY, env: () => xMe, experimental_indexers: () => FMe, experimental_serverAPI: () => OMe, experimental_serverChannel: () => BMe, favicon: () => SMe, features: () => PMe, frameworkOptions: () => IMe, logLevel: () => TMe, managerEntries: () => UMe, managerHead: () => NMe, previewBody: () => CMe, previewHead: () => DMe, resolvedReact: () => MMe, staticDirs: () => yMe, tags: () => qMe, title: () => AMe, typescript: () => wMe, viteFinal: () => VMe, webpackFinal: () => HMe }); module.exports = Po(jMe); var GY = require("node:crypto"), iC = require("node:fs"), zY = require("node:fs/promises"), ma = require("node:path"), KY = require("storybook/internal/common"), gi = require("storybook/internal/common"), WY = require("storybook/internal/csf-tools"), $Y = require("storybook/internal/node-logger"), XY = require("storybook/internal/telemetry"), YY = mt(Fo(), 1); // src/core-server/server-channel/create-new-story-channel.ts var FC = require("node:fs"), IC = require("node:fs/promises"), kb = require("node:path"), NC = require("storybook/internal/common"), zl = require("storybook/internal/core-events"), ad = require("storybook/internal/telemetry"); // src/core-server/utils/get-new-story-file.ts var Ff = require("node:fs"), RC = require("node:fs/promises"), Gn = require("node:path"), vs = require("storybook/internal/common"), kC = require("storybook/internal/csf-tools"); // src/csf-tools/ConfigFile.ts var hC = require("node:fs/promises"), $ = require("storybook/internal/babel"), rd = require("storybook/internal/node-logger"), pC = mt(Fo(), 1); var xb = /* @__PURE__ */ a(({ expectedType: e, foundType: t, node: r }) => pC.dedent` CSF Parsing error: Expected '${e}' but found '${t}' instead in '${r?.type}'. `, "getCsfParsingErrorMessage"), jl = /* @__PURE__ */ a((e) => $.types.isIdentifier(e.key) ? e.key.name : $.types.isStringLiteral(e.key) ? e.key.value : null, "propKey"), nd = /* @__PURE__ */ a((e) => $.types.isTSAsExpression(e) || $.types.isTSSatisfiesExpression(e) ? nd(e.expression) : e, "unwrap"), dC = /* @__PURE__ */ a((e, t) => { if (e.length === 0) return t; if ($.types.isObjectExpression(t)) { let [r, ...n] = e, i = t.properties.find((s) => jl(s) === r); if (i) return dC(n, i.value); } }, "_getPath"), mC = /* @__PURE__ */ a((e, t) => { if (e.length === 0) { if ($.types.isObjectExpression(t)) return t.properties; throw new Error("Expected object expression"); } if ($.types.isObjectExpression(t)) { let [r, ...n] = e, i = t.properties.find((s) => jl(s) === r); if (i) return n.length === 0 ? t.properties : mC(n, i.value); } }, "_getPathProperties"), id = /* @__PURE__ */ a((e, t) => { let r = null, n = null; return t.body.find((i) => ($.types.isVariableDeclaration(i) ? n = i.declarations : $.types.isExportNamedDeclaration(i) && $.types.isVariableDeclaration( i.declaration) && (n = i.declaration.declarations), n && n.find((s) => $.types.isVariableDeclarator(s) && $.types.isIdentifier(s.id) && s. id.name === e ? (r = s, !0) : !1))), r; }, "_findVarDeclarator"), Hl = /* @__PURE__ */ a((e, t) => id(e, t)?.init, "_findVarInitialization"), Pf = /* @__PURE__ */ a((e, t) => { if (e.length === 0) return t; let [r, ...n] = e, i = Pf(n, t); return $.types.objectExpression([$.types.objectProperty($.types.identifier(r), i)]); }, "_makeObjectExpression"), kf = /* @__PURE__ */ a((e, t, r) => { let [n, ...i] = e, s = r.properties.find( (o) => jl(o) === n ); s ? $.types.isObjectExpression(s.value) && i.length > 0 ? kf(i, t, s.value) : s.value = Pf(i, t) : r.properties.push( $.types.objectProperty($.types.identifier(n), Pf(i, t)) ); }, "_updateExportNode"), Cb = class { constructor(t, r, n) { this._exports = {}; // FIXME: this is a hack. this is only used in the case where the user is // modifying a named export that's a scalar. The _exports map is not suitable // for that. But rather than refactor the whole thing, we just use this as a stopgap. this._exportDecls = {}; this.hasDefaultExport = !1; this._ast = t, this._code = r, this.fileName = n; } static { a(this, "ConfigFile"); } _parseExportsObject(t) { this._exportsObject = t, t.properties.forEach((r) => { let n = jl(r); if (n) { let i = r.value; $.types.isIdentifier(i) && (i = Hl(i.name, this._ast.program)), this._exports[n] = i; } }); } parse() { let t = this; return (0, $.traverse)(this._ast, { ExportDefaultDeclaration: { enter({ node: r, parent: n }) { t.hasDefaultExport = !0; let i = $.types.isIdentifier(r.declaration) && $.types.isProgram(n) ? Hl(r.declaration.name, n) : r.declaration; i = nd(i), $.types.isCallExpression(i) && $.types.isObjectExpression(i.arguments[0]) && (i = i.arguments[0]), $.types.isObjectExpression( i) ? t._parseExportsObject(i) : rd.logger.warn( xb({ expectedType: "ObjectExpression", foundType: i?.type, node: i || r.declaration }) ); } }, ExportNamedDeclaration: { enter({ node: r, parent: n }) { if ($.types.isVariableDeclaration(r.declaration)) r.declaration.declarations.forEach((i) => { if ($.types.isVariableDeclarator(i) && $.types.isIdentifier(i.id)) { let { name: s } = i.id, o = i.init; $.types.isIdentifier(o) && (o = Hl(o.name, n)), t._exports[s] = o, t._exportDecls[s] = i; } }); else if ($.types.isFunctionDeclaration(r.declaration)) { let i = r.declaration; if ($.types.isIdentifier(i.id)) { let { name: s } = i.id; t._exportDecls[s] = i; } } else r.specifiers ? r.specifiers.forEach((i) => { if ($.types.isExportSpecifier(i) && $.types.isIdentifier(i.local) && $.types.isIdentifier(i.exported)) { let { name: s } = i.local, { name: o } = i.exported, u = id(s, n); u && (t._exports[o] = u.init, t._exportDecls[o] = u); } }) : rd.logger.warn( xb({ expectedType: "VariableDeclaration", foundType: r.declaration?.type, node: r.declaration }) ); } }, ExpressionStatement: { enter({ node: r, parent: n }) { if ($.types.isAssignmentExpression(r.expression) && r.expression.operator === "=") { let { left: i, right: s } = r.expression; if ($.types.isMemberExpression(i) && $.types.isIdentifier(i.object) && i.object.name === "module" && $.types.isIdentifier(i.property) && i.property.name === "exports") { let o = s; $.types.isIdentifier(s) && (o = Hl(s.name, n)), o = nd(o), $.types.isObjectExpression(o) ? (t._exportsObject = o, o.properties. forEach((u) => { let l = jl(u); if (l) { let c = u.value; $.types.isIdentifier(c) && (c = Hl( c.name, n )), t._exports[l] = c; } })) : rd.logger.warn( xb({ expectedType: "ObjectExpression", foundType: o?.type, node: o }) ); } } } }, CallExpression: { enter: /* @__PURE__ */ a(({ node: r }) => { $.types.isIdentifier(r.callee) && r.callee.name === "definePreview" && r.arguments.length === 1 && $.types.isObjectExpression(r.arguments[0]) && t._parseExportsObject(r.arguments[0]); }, "enter") } }), t; } getFieldNode(t) { let [r, ...n] = t, i = this._exports[r]; if (i) return dC(n, i); } getFieldProperties(t) { let [r, ...n] = t, i = this._exports[r]; if (i) return mC(n, i); } getFieldValue(t) { let r = this.getFieldNode(t); if (r) { let { code: n } = (0, $.generate)(r, {}); return (0, eval)(`(() => (${n}))()`); } } getSafeFieldValue(t) { try { return this.getFieldValue(t); } catch { } } setFieldNode(t, r) { let [n, ...i] = t, s = this._exports[n]; if (this._exportsObject) { let l = this._exportsObject.properties.find((c) => jl(c) === n); if (l && $.types.isIdentifier(l.value)) { let c = id(l.value.name, this._ast.program); if (c && $.types.isObjectExpression(c.init)) { kf(i, r, c.init); return; } } kf(t, r, this._exportsObject), this._exports[t[0]] = r; return; } if (s && $.types.isObjectExpression(s) && i.length > 0) { kf(i, r, s); return; } let o = id(n, this._ast.program); if (o && $.types.isObjectExpression(o.init)) { kf(i, r, o.init); return; } if (s && i.length === 0 && this._exportDecls[t[0]]) { let u = this._exportDecls[t[0]]; $.types.isVariableDeclarator(u) && (u.init = Pf([], r)); } else { if (this.hasDefaultExport) throw new Error( `Could not set the "${t.join( "." )}" field as the default export is not an object in this file.` ); { let u = Pf(i, r), l = $.types.exportNamedDeclaration( $.types.variableDeclaration("const", [$.types.variableDeclarator($.types.identifier(n), u)]) ); this._exports[n] = u, this._ast.program.body.push(l); } } } /** * @example * * ```ts * // 1. { framework: 'framework-name' } * // 2. { framework: { name: 'framework-name', options: {} } * getNameFromPath(['framework']); // => 'framework-name' * ``` * * @returns The name of a node in a given path, supporting the following formats: */ getNameFromPath(t) { let r = this.getFieldNode(t); if (r) return this._getPresetValue(r, "name"); } /** * Returns an array of names of a node in a given path, supporting the following formats: * * @example * * ```ts * const config = { * addons: ['first-addon', { name: 'second-addon', options: {} }], * }; * // => ['first-addon', 'second-addon'] * getNamesFromPath(['addons']); * ``` */ getNamesFromPath(t) { let r = this.getFieldNode(t); if (!r) return; let n = []; return $.types.isArrayExpression(r) && r.elements.forEach((i) => { n.push(this._getPresetValue(i, "name")); }), n; } _getPnpWrappedValue(t) { if ($.types.isCallExpression(t)) { let r = t.arguments[0]; if ($.types.isStringLiteral(r)) return r.value; } } /** * Given a node and a fallback property, returns a **non-evaluated** string value of the node. * * 1. `{ node: 'value' }` * 2. `{ node: { fallbackProperty: 'value' } }` */ _getPresetValue(t, r) { let n; if ($.types.isStringLiteral(t) ? n = t.value : $.types.isObjectExpression(t) ? t.properties.forEach((i) => { $.types.isObjectProperty(i) && $.types.isIdentifier(i.key) && i.key.name === r && ($.types.isStringLiteral(i.value) ? n = i.value.value : n = this._getPnpWrappedValue(i.value)), $.types.isObjectProperty(i) && $.types.isStringLiteral(i.key) && i.key.value === "name" && $.types. isStringLiteral(i.value) && (n = i.value.value); }) : $.types.isCallExpression(t) && (n = this._getPnpWrappedValue(t)), !n) throw new Error( `The given node must be a string literal or an object expression with a "${r}" property that is a string literal.` ); return n; } removeField(t) { let r = /* @__PURE__ */ a((i, s) => { let o = i.findIndex( (u) => $.types.isIdentifier(u.key) && u.key.name === s || $.types.isStringLiteral(u.key) && u.key.value === s ); o >= 0 && i.splice(o, 1); }, "removeProperty"); if (t.length === 1) { let i = !1; if (this._ast.program.body.forEach((s) => { if ($.types.isExportNamedDeclaration(s) && $.types.isVariableDeclaration(s.declaration)) { let o = s.declaration.declarations[0]; $.types.isIdentifier(o.id) && o.id.name === t[0] && (this._ast.program.body.splice(this._ast.program.body.indexOf(s), 1), i = !0); } if ($.types.isExportDefaultDeclaration(s)) { let o = s.declaration; if ($.types.isIdentifier(o) && (o = Hl(o.name, this._ast.program)), o = nd(o), $.types.isObjectExpression(o)) { let u = o.properties; r(u, t[0]), i = !0; } } if ($.types.isExpressionStatement(s) && $.types.isAssignmentExpression(s.expression) && $.types.isMemberExpression(s.expression.left) && $.types.isIdentifier(s.expression.left.object) && s.expression.left.object.name === "module" && $.types.isIdentifier(s.expression.left. property) && s.expression.left.property.name === "exports" && $.types.isObjectExpression(s.expression.right)) { let o = s.expression.right.properties; r(o, t[0]), i = !0; } }), i) return; } let n = this.getFieldProperties(t); if (n) { let i = t.at(-1); r(n, i); } } appendValueToArray(t, r) { let n = this.valueToNode(r); n && this.appendNodeToArray(t, n); } appendNodeToArray(t, r) { let n = this.getFieldNode(t); if (!n) this.setFieldNode(t, $.types.arrayExpression([r])); else if ($.types.isArrayExpression(n)) n.elements.push(r); else throw new Error(`Expected array at '${t.join(".")}', got '${n.type}'`); } /** * Specialized helper to remove addons or other array entries that can either be strings or * objects with a name property. */ removeEntryFromArray(t, r) { let n = this.getFieldNode(t); if (n) if ($.types.isArrayExpression(n)) { let i = n.elements.findIndex((s) => $.types.isStringLiteral(s) ? s.value === r : $.types.isObjectExpression(s) ? this._getPresetValue( s, "name") === r : this._getPnpWrappedValue(s) === r); if (i >= 0) n.elements.splice(i, 1); else throw new Error(`Could not find '${r}' in array at '${t.join(".")}'`); } else throw new Error(`Expected array at '${t.join(".")}', got '${n.type}'`); } _inferQuotes() { if (!this._quotes) { let t = (this._ast.tokens || []).slice(0, 500).reduce( (r, n) => (n.type.label === "string" && (r[this._code[n.start]] += 1), r), { "'": 0, '"': 0 } ); this._quotes = t["'"] > t['"'] ? "single" : "double"; } return this._quotes; } valueToNode(t) { let r = this._inferQuotes(), n; if (r === "single") { let { code: i } = (0, $.generate)($.types.valueToNode(t), { jsescOption: { quotes: r } }), s = (0, $.babelParse)(`const __x = ${i}`); (0, $.traverse)(s, { VariableDeclaration: { enter({ node: o }) { o.declarations.length === 1 && $.types.isVariableDeclarator(o.declarations[0]) && $.types.isIdentifier(o.declarations[0].id) && o. declarations[0].id.name === "__x" && (n = o.declarations[0].init); } } }); } else n = $.types.valueToNode(t); return n; } setFieldValue(t, r) { let n = this.valueToNode(r); if (!n) throw new Error(`Unexpected value ${JSON.stringify(r)}`); this.setFieldNode(t, n); } getBodyDeclarations() { return this._ast.program.body; } setBodyDeclaration(t) { this._ast.program.body.push(t); } /** * Import specifiers for a specific require import * * @example * * ```ts * // const { foo } = require('bar'); * setRequireImport(['foo'], 'bar'); * * // const foo = require('bar'); * setRequireImport('foo', 'bar'); * ``` * * @param importSpecifiers - The import specifiers to set. If a string is passed in, a default * import will be set. Otherwise, an array of named imports will be set * @param fromImport - The module to import from */ setRequireImport(t, r) { let n = this._ast.program.body.find((o) => { let u = $.types.isVariableDeclaration(o) && o.declarations.length === 1 && $.types.isVariableDeclarator(o.declarations[0]) && $.types. isCallExpression(o.declarations[0].init) && $.types.isIdentifier(o.declarations[0].init.callee) && o.declarations[0].init.callee.name === "require" && $.types.isStringLiteral(o.declarations[0].init.arguments[0]) && (o.declarations[0].init.arguments[0].value === r || o.declarations[0]. init.arguments[0].value === r.split("node:")[1]); return u && (r = o.declarations[0].init.arguments[0].value), u; }), i = /* @__PURE__ */ a((o) => $.types.isObjectPattern(n?.declarations[0].id) && n?.declarations[0].id.properties.find( (u) => $.types.isObjectProperty(u) && $.types.isIdentifier(u.key) && u.key.name === o ), "hasRequireSpecifier"), s = /* @__PURE__ */ a((o, u) => o.declarations.length === 1 && $.types.isVariableDeclarator(o.declarations[0]) && $.types.isIdentifier(o.declarations[0].id) && o.declarations[0].id.name === u, "hasDefaultRequireSpecifier"); if (typeof t == "string") { let o = /* @__PURE__ */ a(() => { this._ast.program.body.unshift( $.types.variableDeclaration("const", [ $.types.variableDeclarator( $.types.identifier(t), $.types.callExpression($.types.identifier("require"), [$.types.stringLiteral(r)]) ) ]) ); }, "addDefaultRequireSpecifier"); n && s(n, t) || o(); } else n ? t.forEach((o) => { i(o) || n.declarations[0].id.properties.push( $.types.objectProperty($.types.identifier(o), $.types.identifier(o), void 0, !0) ); }) : this._ast.program.body.unshift( $.types.variableDeclaration("const", [ $.types.variableDeclarator( $.types.objectPattern( t.map( (o) => $.types.objectProperty($.types.identifier(o), $.types.identifier(o), void 0, !0) ) ), $.types.callExpression($.types.identifier("require"), [$.types.stringLiteral(r)]) ) ]) ); } /** * Set import specifiers for a given import statement. * * Does not support setting type imports (yet) * * @example * * ```ts * // import { foo } from 'bar'; * setImport(['foo'], 'bar'); * * // import foo from 'bar'; * setImport('foo', 'bar'); * * // import * as foo from 'bar'; * setImport({ namespace: 'foo' }, 'bar'); * * // import 'bar'; * setImport(null, 'bar'); * ``` * * @param importSpecifiers - The import specifiers to set. If a string is passed in, a default * import will be set. Otherwise, an array of named imports will be set * @param fromImport - The module to import from */ setImport(t, r) { let n = this._ast.program.body.find((l) => { let c = $.types.isImportDeclaration(l) && (l.source.value === r || l.source.value === r.split("node:")[1]); return c && (r = l.source.value), c; }), i = /* @__PURE__ */ a((l) => $.types.importSpecifier($.types.identifier(l), $.types.identifier(l)), "getNewImportSpecifier"), s = /* @__PURE__ */ a( (l, c) => l.specifiers.find( (f) => $.types.isImportSpecifier(f) && $.types.isIdentifier(f.imported) && f.imported.name === c ), "hasImportSpecifier"), o = /* @__PURE__ */ a((l, c) => l.specifiers.find( (f) => $.types.isImportNamespaceSpecifier(f) && $.types.isIdentifier(f.local) && f.local.name === c ), "hasNamespaceImportSpecifier"); t === null ? n || this._ast.program.body.unshift($.types.importDeclaration([], $.types.stringLiteral(r))) : typeof t == "string" ? n ? (/* @__PURE__ */ a( (l, c) => l.specifiers.find( (f) => $.types.isImportDefaultSpecifier(f) && $.types.isIdentifier(f.local) && f.local.name === c ), "hasDefaultImportSpecifier"))(n, t) || n.specifiers.push( $.types.importDefaultSpecifier($.types.identifier(t)) ) : this._ast.program.body.unshift( $.types.importDeclaration( [$.types.importDefaultSpecifier($.types.identifier(t))], $.types.stringLiteral(r) ) ) : Array.isArray(t) ? n ? t.forEach((l) => { s(n, l) || n.specifiers.push(i(l)); }) : this._ast.program.body.unshift( $.types.importDeclaration( t.map(i), $.types.stringLiteral(r) ) ) : t.namespace && (n ? o(n, t.namespace) || n.specifiers.push( $.types.importNamespaceSpecifier($.types.identifier(t.namespace)) ) : this._ast.program.body.unshift( $.types.importDeclaration( [$.types.importNamespaceSpecifier($.types.identifier(t.namespace))], $.types.stringLiteral(r) ) )); } }, gC = /* @__PURE__ */ a((e, t) => { let r = (0, $.babelParse)(e); return new Cb(r, e, t); }, "loadConfig"); // src/core-server/utils/new-story-templates/csf-factory-template.ts var TC = mt(Fo(), 1); // src/core-server/utils/get-component-variable-name.ts var Gl = /* @__PURE__ */ a(async (e) => (await Promise.resolve().then(() => (AC(), EC))).default(e.replace(/^[^a-zA-Z_$]*/, ""), { pascalCase: !0 }). replace(/[^a-zA-Z_$]+/, ""), "getComponentVariableName"); // src/core-server/utils/new-story-templates/csf-factory-template.ts async function DC(e) { let t = e.componentIsDefaultExport ? await Gl(e.basenameWithoutExtension) : e.componentExportName, r = e.componentIsDefaultExport ? `impor\ t ${t} from './${e.basenameWithoutExtension}';` : `import { ${t} } from './${e.basenameWithoutExtension}';`; return TC.dedent` ${"import preview from '#.storybook/preview';"} ${r} const meta = preview.meta({ component: ${t}, }); export const ${e.exportedStoryName} = meta.story({}); `; } a(DC, "getCsfFactoryTemplateForNewStoryFile"); // src/core-server/utils/new-story-templates/javascript.ts var xC = mt(Fo(), 1); async function CC(e) { let t = e.componentIsDefaultExport ? await Gl(e.basenameWithoutExtension) : e.componentExportName, r = e.componentIsDefaultExport ? `impor\ t ${t} from './${e.basenameWithoutExtension}';` : `import { ${t} } from './${e.basenameWithoutExtension}';`; return xC.dedent` ${r} const meta = { component: ${t}, }; export default meta; export const ${e.exportedStoryName} = {}; `; } a(CC, "getJavaScriptTemplateForNewStoryFile"); // src/core-server/utils/new-story-templates/typescript.ts var wC = mt(Fo(), 1); async function OC(e) { let t = e.componentIsDefaultExport ? await Gl(e.basenameWithoutExtension) : e.componentExportName, r = e.componentIsDefaultExport ? `impor\ t ${t} from './${e.basenameWithoutExtension}'` : `import { ${t} } from './${e.basenameWithoutExtension}'`; return wC.dedent` import type { Meta, StoryObj } from '${e.frameworkPackage}'; ${r}; const meta = { component: ${t}, } satisfies Meta; export default meta; type Story = StoryObj; export const ${e.exportedStoryName}: Story = {}; `; } a(OC, "getTypeScriptTemplateForNewStoryFile"); // src/core-server/utils/get-new-story-file.ts async function PC({ componentFilePath: e, componentExportName: t, componentIsDefaultExport: r, componentExportCount: n }, i) { let s = await (0, vs.getFrameworkName)(i), o = (0, vs.extractProperFrameworkName)(s), u = (0, Gn.basename)(e), l = (0, Gn.extname)(e), c = u. replace(l, ""), f = (0, Gn.dirname)(e), { storyFileName: d, isTypescript: g, storyFileExtension: b } = Ob(e), _ = `${d}.${b}`, T = `${c}.${t}\ .stories.${b}`, p = "Default", h = !1; try { let E = (0, vs.findConfigFile)("preview", i.configDir); if (E) { let C = await (0, RC.readFile)(E, "utf-8"); h = (0, kC.isCsfFactoryPreview)(gC(C)); } } catch { } let S = ""; return h ? S = await DC({ basenameWithoutExtension: c, componentExportName: t, componentIsDefaultExport: r, exportedStoryName: p }) : S = g && s ? await OC({ basenameWithoutExtension: c, componentExportName: t, componentIsDefaultExport: r, frameworkPackage: o, exportedStoryName: p }) : await CC({ basenameWithoutExtension: c, componentExportName: t, componentIsDefaultExport: r, exportedStoryName: p }), { storyFilePath: Rb((0, Gn.join)((0, vs.getProjectRoot)(), f), d) && n > 1 ? (0, Gn.join)((0, vs.getProjectRoot)(), f, T) : (0, Gn.join)( (0, vs.getProjectRoot)(), f, _), exportedStoryName: p, storyFileContent: S, dirname: Gn.dirname }; } a(PC, "getNewStoryFile"); var Ob = /* @__PURE__ */ a((e) => { let t = /\.(ts|tsx|mts|cts)$/.test(e), r = (0, Gn.basename)(e), n = (0, Gn.extname)(e), i = r.replace(n, ""), s = t ? "tsx" : "jsx"; return { storyFileName: `${i}.stories`, storyFileExtension: s, isTypescript: t }; }, "getStoryMetadata"), Rb = /* @__PURE__ */ a((e, t) => (0, Ff.existsSync)((0, Gn.join)(e, `${t}.ts`)) || (0, Ff.existsSync)((0, Gn.join)(e, `${t}.tsx`)) || (0, Ff.existsSync)((0, Gn.join)(e, `${t}.js`)) || (0, Ff.existsSync)((0, Gn.join)(e, `${t}.jsx`)), "doesStoryFileExist"); // src/core-server/server-channel/create-new-story-channel.ts function LC(e, t, r) { return e.on( zl.CREATE_NEW_STORYFILE_REQUEST, async (n) => { try { let { storyFilePath: i, exportedStoryName: s, storyFileContent: o } = await PC( n.payload, t ), u = (0, kb.relative)(process.cwd(), i), { storyId: l, kind: c } = await (0, NC.getStoryId)({ storyFilePath: i, exportedStoryName: s }, t); if ((0, FC.existsSync)(i)) { e.emit(zl.CREATE_NEW_STORYFILE_RESPONSE, { success: !1, id: n.id, payload: { type: "STORY_FILE_EXISTS", kind: c }, error: `A story file already exists at ${u}` }), r.disableTelemetry || (0, ad.telemetry)("create-new-story-file", { success: !1, error: "STORY_FILE_EXISTS" }); return; } await (0, IC.writeFile)(i, o, "utf-8"), e.emit(zl.CREATE_NEW_STORYFILE_RESPONSE, { success: !0, id: n.id, payload: { storyId: l, storyFilePath: (0, kb.relative)(process.cwd(), i), exportedStoryName: s }, error: null }), r.disableTelemetry || (0, ad.telemetry)("create-new-story-file", { success: !0 }); } catch (i) { e.emit(zl.CREATE_NEW_STORYFILE_RESPONSE, { success: !1, id: n.id, error: i?.message }), r.disableTelemetry || await (0, ad.telemetry)("create-new-story-file", { success: !1, error: i }); } } ), e; } a(LC, "initCreateNewStoryChannel"); // src/core-server/server-channel/file-search-channel.ts var TR = require("node:fs/promises"), rc = require("node:path"), Zs = require("storybook/internal/common"), zf = require("storybook/internal/core-events"), Hd = require("storybook/internal/telemetry"); // src/core-server/utils/parser/generic-parser.ts var Pi = require("storybook/internal/babel"); var sd = class { static { a(this, "GenericParser"); } /** * Parse the content of a file and return the exports * * @param content The content of the file * @returns The exports of the file */ async parse(t) { let r = Pi.parser.parse(t, { allowImportExportEverywhere: !0, allowAwaitOutsideFunction: !0, allowNewTargetOutsideFunction: !0, allowReturnOutsideFunction: !0, allowUndeclaredExports: !0, plugins: [ // Language features "typescript", "jsx", // Latest ECMAScript features "asyncGenerators", "bigInt", "classProperties", "classPrivateProperties", "classPrivateMethods", "classStaticBlock", "dynamicImport", "exportNamespaceFrom", "logicalAssignment", "moduleStringNames", "nullishCoalescingOperator", "numericSeparator", "objectRestSpread", "optionalCatchBinding", "optionalChaining", "privateIn", "regexpUnicodeSets", "topLevelAwait", // ECMAScript proposals "asyncDoExpressions", "decimal", "decorators", "decoratorAutoAccessors", "deferredImportEvaluation", "destructuringPrivate", "doExpressions", "explicitResourceManagement", "exportDefaultFrom", "functionBind", "functionSent", "importAttributes", "importReflection", "moduleBlocks", "partialApplication", "recordAndTuple", "sourcePhaseImports", "throwExpressions" ] }), n = []; return r.program.body.forEach(/* @__PURE__ */ a(function(s) { Pi.types.isExportNamedDeclaration(s) ? (Pi.types.isFunctionDeclaration(s.declaration) && Pi.types.isIdentifier(s.declaration.id) && n. push({ name: s.declaration.id.name, default: !1 }), Pi.types.isClassDeclaration(s.declaration) && Pi.types.isIdentifier(s.declaration.id) && n.push({ name: s.declaration.id.name, default: !1 }), s.declaration === null && s.specifiers.length > 0 && s.specifiers.forEach((o) => { Pi.types.isExportSpecifier(o) && Pi.types.isIdentifier(o.exported) && n.push({ name: o.exported.name, default: !1 }); }), Pi.types.isVariableDeclaration(s.declaration) && s.declaration.declarations.forEach((o) => { Pi.types.isVariableDeclarator(o) && Pi.types.isIdentifier(o.id) && n.push({ name: o.id.name, default: !1 }); })) : Pi.types.isExportDefaultDeclaration(s) && n.push({ name: "default", default: !0 }); }, "traverse")), { exports: n }; } }; // src/core-server/utils/parser/index.ts function BC(e) { return new sd(); } a(BC, "getParser"); // src/core-server/utils/search-files.ts var are = ["js", "mjs", "cjs", "jsx", "mts", "ts", "tsx", "cts"], sre = [ "**/node_modules/**", "**/*.spec.*", "**/*.test.*", "**/*.stories.*", "**/storybook-static/**" ]; async function AR({ searchQuery: e, cwd: t, ignoredFiles: r = sre, fileExtensions: n = are }) { let { globby: i, isDynamicPattern: s } = await Promise.resolve().then(() => (ER(), SR)), o = s(e, { cwd: t }), l = /(\.[a-z]+)$/i.test(e), c = `{${n.join(",")}}`, f = o ? e : l ? [`**/*${e}*`, `**/*${e}*/**`] : [ `**/*${e}*.${c}`, `**/*${e}*/**/*.${c}` ]; return (await i(f, { ignore: r, gitignore: !0, caseSensitiveMatch: !1, cwd: t, objectMode: !0 })).map((g) => g.path).filter((g) => n.some((b) => g.endsWith(`.${b}`))); } a(AR, "searchFiles"); // src/core-server/server-channel/file-search-channel.ts async function DR(e, t, r) { return e.on( zf.FILE_COMPONENT_SEARCH_REQUEST, async (n) => { let i = n.id; try { if (!i) return; let s = await (0, Zs.getFrameworkName)(t), o = await (0, Zs.extractProperRendererNameFromFramework)( s ), l = (await AR({ searchQuery: i, cwd: (0, Zs.getProjectRoot)() })).map(async (c) => { let f = BC(o); try { let d = await (0, TR.readFile)((0, rc.join)((0, Zs.getProjectRoot)(), c), "utf-8"), { storyFileName: g } = Ob((0, rc.join)((0, Zs.getProjectRoot)(), c)), b = (0, rc.dirname)(c), _ = Rb((0, rc.join)((0, Zs.getProjectRoot)(), b), g), T = await f.parse(d); return { filepath: c, exportedComponents: T.exports, storyFileExists: _ }; } catch (d) { return r.disableTelemetry || (0, Hd.telemetry)("create-new-story-file-search", { success: !1, error: `Could not parse file: ${d}` }), { filepath: c, storyFileExists: !1, exportedComponents: null }; } }); r.disableTelemetry || (0, Hd.telemetry)("create-new-story-file-search", { success: !0, payload: { fileCount: l.length } }), e.emit(zf.FILE_COMPONENT_SEARCH_RESPONSE, { success: !0, id: i, payload: { files: await Promise.all(l) }, error: null }); } catch (s) { e.emit(zf.FILE_COMPONENT_SEARCH_RESPONSE, { success: !1, id: i ?? "", error: `An error occurred while searching for components in the project. ${s?.message}` }), r.disableTelemetry || (0, Hd.telemetry)("create-new-story-file-search", { success: !1, error: `An error occured while searching for components: ${s}` }); } } ), e; } a(DR, "initFileSearchChannel"); // src/core-server/server-channel/preview-initialized-channel.ts var kR = require("storybook/internal/core-events"), PR = require("storybook/internal/telemetry"); // src/telemetry/event-cache.ts var xR = require("storybook/internal/common"); var LVe = Promise.resolve(); var CR = /* @__PURE__ */ a(async () => await xR.cache.get("lastEvents") || {}, "getLastEvents"); // src/telemetry/session-id.ts var q0 = require("storybook/internal/common"); // ../node_modules/nanoid/index.js var M0 = require("crypto"); // ../node_modules/nanoid/url-alphabet/index.js var wR = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"; // ../node_modules/nanoid/index.js var ore = 128, Fu, nc, ure = /* @__PURE__ */ a((e) => { !Fu || Fu.length < e ? (Fu = Buffer.allocUnsafe(e * ore), (0, M0.randomFillSync)(Fu), nc = 0) : nc + e > Fu.length && ((0, M0.randomFillSync)( Fu), nc = 0), nc += e; }, "fillPool"); var OR = /* @__PURE__ */ a((e = 21) => { ure(e -= 0); let t = ""; for (let r = nc - e; r < nc; r++) t += wR[Fu[r] & 63]; return t; }, "nanoid"); // src/telemetry/session-id.ts var lre = 1e3 * 60 * 60 * 2, Kf; var RR = /* @__PURE__ */ a(async () => { let e = Date.now(); if (!Kf) { let t = await q0.cache.get("session"); t && t.lastUsed >= e - lre ? Kf = t.id : Kf = OR(); } return await q0.cache.set("session", { id: Kf, lastUsed: e }), Kf; }, "getSessionId"); // src/core-server/server-channel/preview-initialized-channel.ts var cre = /* @__PURE__ */ a((e, t, r) => { let i = { userAgent: e, isNewUser: !1, timeSinceInit: void 0 }; return r && t?.body?.sessionId === r && (i.timeSinceInit = Date.now() - t.timestamp, i.isNewUser = !!t.body.payload.newUser), i; }, "makePayload"); function FR(e, t, r) { e.on(kR.PREVIEW_INITIALIZED, async ({ userAgent: n }) => { if (!t.disableTelemetry) try { let i = await RR(), s = await CR(), o = s.init; if (!s["preview-first-load"]) { let l = cre(n, o, i); (0, PR.telemetry)("preview-first-load", l); } } catch { } }); } a(FR, "initPreviewInitializedChannel"); // src/core-server/utils/constants.ts var jd = require("node:path"); var IR = [ { from: (0, jd.join)((0, jd.dirname)(require.resolve("storybook/internal/package.json")), "assets", "browser"), to: "/sb-common-assets" } ]; // src/core-server/utils/save-story/save-story.ts var BR = require("node:fs/promises"), zd = require("node:path"), MR = require("storybook/internal/common"), Vo = require("storybook/internal/core-events"), Wf = require("storybook/internal/csf"), Kd = require("storybook/internal/csf-tools"), qR = require("storybook/internal/node-logger"), $f = require("storybook/internal/telemetry"); // src/core-server/utils/save-story/duplicate-story-with-new-name.ts var Sa = require("storybook/internal/babel"); // src/core-server/utils/save-story/utils.ts var ya = class extends Error { static { a(this, "SaveStoryError"); } }; // src/core-server/utils/save-story/duplicate-story-with-new-name.ts var NR = /* @__PURE__ */ a((e, t, r) => { let n = e._storyExports[t], i = Sa.types.cloneNode(n); if (!i) throw new ya("cannot clone Node"); let s = !1; if ((0, Sa.traverse)(i, { Identifier(u) { s || u.node.name === t && (s = !0, u.node.name = r); }, ObjectProperty(u) { let l = u.get("key"); l.isIdentifier() && l.node.name === "args" && u.remove(); }, noScope: !0 }), !(Sa.types.isCallExpression(i.init) && Sa.types.isMemberExpression(i.init.callee) && Sa.types.isIdentifier(i.init.callee.property) && i. init.callee.property.name === "story") && (Sa.types.isArrowFunctionExpression(i.init) || Sa.types.isCallExpression(i.init))) throw new ya("Creating a new story based on a CSF2 story is not supported"); return (0, Sa.traverse)(e._ast, { Program(u) { u.pushContainer( "body", Sa.types.exportNamedDeclaration(Sa.types.variableDeclaration("const", [i])) ); } }), i; }, "duplicateStoryWithNewName"); // src/core-server/utils/save-story/update-args-in-csf-file.ts var Gt = require("storybook/internal/babel"); // src/core-server/utils/save-story/valueToAST.ts var Ea = require("storybook/internal/babel"); function Gd(e) { if (e === null) return Ea.types.nullLiteral(); switch (typeof e) { case "function": return Ea.parser.parse(e.toString(), { allowReturnOutsideFunction: !0, allowSuperOutsideMethod: !0 }).program.body[0]?.expression; case "number": return Ea.types.numericLiteral(e); case "string": return Ea.types.stringLiteral(e); case "boolean": return Ea.types.booleanLiteral(e); case "undefined": return Ea.types.identifier("undefined"); default: return Array.isArray(e) ? Ea.types.arrayExpression(e.map(Gd)) : Ea.types.objectExpression( Object.keys(e).filter((r) => typeof e[r] < "u").map((r) => { let n = e[r]; return Ea.types.objectProperty(Ea.types.stringLiteral(r), Gd(n)); }) ); } } a(Gd, "valueToAST"); // src/core-server/utils/save-story/update-args-in-csf-file.ts var LR = /* @__PURE__ */ a(async (e, t) => { let r = !1, n = Object.fromEntries( Object.entries(t).map(([s, o]) => [s, Gd(o)]) ); if (!(Gt.types.isCallExpression(e) && Gt.types.isMemberExpression(e.callee) && Gt.types.isIdentifier(e.callee.property) && e.callee.property. name === "story") && (Gt.types.isArrowFunctionExpression(e) || Gt.types.isCallExpression(e))) throw new ya("Updating a CSF2 story is not supported"); if (Gt.types.isObjectExpression(e)) { let s = e.properties, o = s.find((u) => { if (Gt.types.isObjectProperty(u)) { let l = u.key; return Gt.types.isIdentifier(l) && l.name === "args"; } return !1; }); if (o) { if (Gt.types.isObjectProperty(o)) { let u = o.value; if (Gt.types.isObjectExpression(u)) { u.properties.forEach((c) => { if (Gt.types.isObjectProperty(c)) { let f = c.key; Gt.types.isIdentifier(f) && f.name in n && (c.value = n[f.name], delete n[f.name]); } }); let l = Object.entries(n); Object.keys(n).length && l.forEach(([c, f]) => { u.properties.push(Gt.types.objectProperty(Gt.types.identifier(c), f)); }); } } } else s.unshift( Gt.types.objectProperty( Gt.types.identifier("args"), Gt.types.objectExpression( Object.entries(n).map(([u, l]) => Gt.types.objectProperty(Gt.types.identifier(u), l)) ) ) ); return; } (0, Gt.traverse)(e, { ObjectExpression(s) { if (r) return; r = !0; let u = s.get("properties").find((l) => { if (l.isObjectProperty()) { let c = l.get("key"); return c.isIdentifier() && c.node.name === "args"; } return !1; }); if (u) { if (u.isObjectProperty()) { let l = u.get("value"); if (l.isObjectExpression()) { l.traverse({ ObjectProperty(f) { let d = f.get("key"); d.isIdentifier() && d.node.name in n && (f.get("value").replaceWith(n[d.node.name]), delete n[d.node.name]); }, noScope: !0 }); let c = Object.entries(n); Object.keys(n).length && c.forEach(([f, d]) => { l.pushContainer("properties", Gt.types.objectProperty(Gt.types.identifier(f), d)); }); } } } else s.unshiftContainer( "properties", Gt.types.objectProperty( Gt.types.identifier("args"), Gt.types.objectExpression( Object.entries(n).map(([l, c]) => Gt.types.objectProperty(Gt.types.identifier(l), c)) ) ) ); }, noScope: !0 }); }, "updateArgsInCsfFile"); // src/core-server/utils/save-story/save-story.ts var fre = /* @__PURE__ */ a((e) => JSON.parse(e, (t, r) => r === "__sb_empty_function_arg__" ? () => { } : r), "parseArgs"), hre = /* @__PURE__ */ a((e, t) => { let r = "([\\s\\S])", n = "(\\r\\n|\\r|\\n)", i = n + "};" + n, s = new RegExp( // Looks for an export by the given name, considers the first closing brace on its own line // to be the end of the story definition. `^(?${r}*)(?export const ${t} =${r}+?${i})(?${r}*)$` ), { before: o, story: u, after: l } = e.match(s)?.groups || {}; return u ? o + u.replaceAll(/(\r\n|\r|\n)(\r\n|\r|\n)([ \t]*[a-z0-9_]+): /gi, "$2$3:") + l : e; }, "removeExtraNewlines"); function UR(e, t, r) { e.on(Vo.SAVE_STORY_REQUEST, async ({ id: n, payload: i }) => { let { csfId: s, importPath: o, args: u, name: l } = i, c, f, d, g, b; try { d = (0, zd.basename)(o), g = (0, zd.join)(process.cwd(), o); let _ = await (0, Kd.readCsf)(g, { makeTitle: /* @__PURE__ */ a((m) => m || "myTitle", "makeTitle") }), T = _.parse(), p = Object.entries(T._stories), [h, S] = s.split("--"); f = l && (0, Wf.storyNameFromExport)(l), c = f && (0, Wf.toId)(h, f); let [D] = p.find(([m, v]) => v.id.endsWith(`--${S}`)) || []; if (!D) throw new ya("Source story not found."); if (l && _.getStoryExport(l)) throw new ya("Story already exists."); b = (0, Wf.storyNameFromExport)(D), await LR( l ? NR(T, D, l) : _.getStoryExport(D), u ? fre(u) : {} ); let E = await (0, MR.formatFileContent)( g, hre((0, Kd.printCsf)(_).code, l || D) ); await Promise.all([ new Promise((m) => { e.on(Vo.STORY_RENDERED, m), setTimeout(() => m(e.off(Vo.STORY_RENDERED, m)), 3e3); }), (0, BR.writeFile)(g, E) ]), e.emit(Vo.SAVE_STORY_RESPONSE, { id: n, success: !0, payload: { csfId: s, newStoryId: c, newStoryName: f, newStoryExportName: l, sourceFileContent: E, sourceFileName: d, sourceStoryName: b, sourceStoryExportName: D }, error: null }); let C = (0, $f.isExampleStoryId)(c ?? s); !r.disableTelemetry && !C && await (0, $f.telemetry)("save-story", { action: l ? "createStory" : "updateStory", success: !0 }); } catch (_) { e.emit(Vo.SAVE_STORY_RESPONSE, { id: n, success: !1, error: _ instanceof ya ? _.message : "Unknown error" }), qR.logger.error( `Error writing to ${g}: ${_.stack || _.message || _.toString()}` ), !r.disableTelemetry && !(_ instanceof ya) && await (0, $f.telemetry)("save-story", { action: l ? "createStory" : "updateStory", success: !1, error: _ }); } }); } a(UR, "initializeSaveStory"); // src/core-server/utils/server-statics.ts var Yd = require("node:fs"), nk = require("node:fs/promises"), ri = require("node:path"), H0 = require("storybook/internal/common"), ik = require("storybook/internal/node-logger"), ak = mt(jR(), 1), kre = mt(rk(), 1), sk = mt(Fo(), 1); var y8e = (0, H0.resolvePathInStorybookCache)("", "ignored-sub").split("ignored-sub")[0]; var S8e = (0, ri.join)( (0, ri.dirname)(require.resolve("storybook/internal/package.json")), "/assets/browser/favicon-wrapper.svg" ); var ok = /* @__PURE__ */ a((e) => { let t = e.lastIndexOf(":"), n = ri.win32.isAbsolute(e) && t === 1, i = t !== -1 && !n ? t : e.length, [s, o] = [e.slice(0, i), e.slice(i + 1)], u = (0, ri.isAbsolute)(s) ? s : `./${s}`, l = (0, ri.resolve)(u); if (!(0, Yd.existsSync)(l)) throw new Error( sk.dedent` Failed to load static files, no such directory: ${ak.default.cyan(l)} Make sure this directory exists. ` ); let d = (o || ((0, Yd.statSync)(l).isFile() ? (0, ri.basename)(l) : "/")).split(ri.sep).join(ri.posix.sep).replace(/^\/?/, "./"), g = d.substring( 1); return { staticDir: u, staticPath: l, targetDir: d, targetEndpoint: g }; }, "parseStaticDir"); // src/core-server/utils/whats-new.ts var qI = require("node:fs/promises"), pm = require("storybook/internal/common"), Va = require("storybook/internal/core-events"), dm = require("storybook/internal/csf-tools"), iE = require("storybook/internal/node-logger"), UI = require("storybook/internal/telemetry"); // ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js var Pre = process.env.NODE_ENV === "production", j0 = "Invariant failed"; function G0(e, t) { if (!e) { if (Pre) throw new Error(j0); var r = typeof t == "function" ? t() : t, n = r ? "".concat(j0, ": ").concat(r) : j0; throw new Error(n); } } a(G0, "invariant"); // src/core-server/withTelemetry.ts var so = require("storybook/internal/common"), Bae = require("storybook/internal/node-logger"), lc = require("storybook/internal/telemetry"), MI = mt(BI(), 1); var Mae = /* @__PURE__ */ a(async () => { if ((0, so.isCI)() || !process.stdout.isTTY) return; let { enableCrashReports: e } = await (0, MI.default)({ type: "confirm", name: "enableCrashReports", message: "Would you like to help improve Storybook by sending anonymous crash reports?", initial: !0 }); return await so.cache.set("enableCrashReports", e), e; }, "promptCrashReports"); async function qae({ cliOptions: e, presetOptions: t, skipPrompt: r }) { if (e.disableTelemetry) return "none"; if (!t) return "full"; let i = await (await (0, so.loadAllPresets)(t)).apply("core"); if (i?.enableCrashReports !== void 0) return i.enableCrashReports ? "full" : "error"; if (i?.disableTelemetry) return "none"; let s = await so.cache.get("enableCrashReports") ?? await so.cache.get("enableCrashreports"); if (s !== void 0) return s ? "full" : "error"; if (r) return "error"; let o = await Mae(); return o !== void 0 ? o ? "full" : "error" : "full"; } a(qae, "getErrorLevel"); async function rE(e, t, r) { try { let n = "error"; try { n = await qae(r); } catch { } if (n !== "none") { let i = await (0, lc.getPrecedingUpgrade)(), s = e, o; "message" in s ? o = s.message ? (0, lc.oneWayHash)(s.message) : "EMPTY_MESSAGE" : o = "NO_MESSAGE"; let { code: u, name: l, category: c } = s; await (0, lc.telemetry)( "error", { code: u, name: l, category: c, eventType: t, precedingUpgrade: i, error: n === "full" ? s : void 0, errorHash: o, // if we ever end up sending a non-error instance, we'd like to know isErrorInstance: s instanceof Error }, { immediate: !0, configDir: r.cliOptions.configDir || r.presetOptions?.configDir, enableCrashReports: n === "full" } ); } } catch { } } a(rE, "sendTelemetryError"); // src/core-server/utils/whats-new.ts var nE = "whats-new-cache", Uae = "https://storybook.js.org/whats-new/v1"; function VI(e, t, r) { e.on(Va.SET_WHATS_NEW_CACHE, async (n) => { let i = await t.cache.get(nE).catch((s) => (iE.logger.verbose(s), {})); await t.cache.set(nE, { ...i, ...n }); }), e.on(Va.REQUEST_WHATS_NEW_DATA, async () => { try { let n = await fetch(Uae).then(async (l) => { if (l.ok) return l.json(); throw l; }), s = (await (0, pm.loadMainConfig)({ configDir: t.configDir, noCache: !0 })).core?.disableWhatsNewNotifications === !0, o = await t. cache.get(nE) ?? {}, u = { ...n, status: "SUCCESS", postIsRead: n.url === o.lastReadPost, showNotification: n.url !== o.lastDismissedPost && n.url !== o.lastReadPost, disableWhatsNewNotifications: s }; e.emit(Va.RESULT_WHATS_NEW_DATA, { data: u }); } catch (n) { iE.logger.verbose(n instanceof Error ? n.message : String(n)), e.emit(Va.RESULT_WHATS_NEW_DATA, { data: { status: "ERROR" } }); } }), e.on( Va.TOGGLE_WHATS_NEW_NOTIFICATIONS, async ({ disableWhatsNewNotifications: n }) => { let i = r.disableTelemetry !== !0; try { let s = (0, pm.findConfigFile)("main", t.configDir); G0(s, `unable to find Storybook main file in ${t.configDir}`); let o = await (0, dm.readConfig)(s); if (!o._exportsObject) throw new Error( "Unable to parse Storybook main file while trying to read 'core' property" ); o.setFieldValue(["core", "disableWhatsNewNotifications"], n), await (0, qI.writeFile)(s, (0, dm.printConfig)(o).code), i && await (0, UI.telemetry)( "core-config", { disableWhatsNewNotifications: n }); } catch (s) { G0(s instanceof Error), i && await rE(s, "core-config", { cliOptions: t, presetOptions: { ...t, corePresets: [], overridePresets: [] }, skipPrompt: !0 }); } } ), e.on(Va.TELEMETRY_ERROR, async (n) => { r.disableTelemetry !== !0 && await rE(n, "browser", { cliOptions: t, presetOptions: { ...t, corePresets: [], overridePresets: [] }, skipPrompt: !0 }); }); } a(VI, "initializeWhatsNew"); // src/core-server/presets/common-preset.ts var vMe = /* @__PURE__ */ a((e, t = {}) => Object.entries(t).reduce((r, [n, i]) => r.replace(new RegExp(`%${n}%`, "g"), i), e), "interpolate"), bMe = (0, ma.join)( (0, ma.dirname)(require.resolve("storybook/internal/package.json")), "/assets/browser/favicon.svg" ), yMe = /* @__PURE__ */ a(async (e = []) => [ ...IR, ...e ], "staticDirs"), SMe = /* @__PURE__ */ a(async (e, t) => { if (e) return e; let r = await t.presets.apply("staticDirs"), i = (r ? r.map((s) => typeof s == "string" ? s : `${s.from}:${s.to}`) : []).map((s) => { let o = [], u = r && !(0, ma.isAbsolute)(s) ? (0, gi.getDirectoryFromWorkingDir)({ configDir: t.configDir, workingDir: process.cwd(), directory: s }) : s, { staticPath: l, targetEndpoint: c } = ok(u); return ["/favicon.svg", "/favicon.ico"].includes(c) && o.push(l), c === "/" && (o.push((0, ma.join)(l, "favicon.svg")), o.push((0, ma.join)( l, "favicon.ico"))), o.filter((f) => (0, iC.existsSync)(f)); }).reduce((s, o) => s.concat(o), []); return i.length > 1 && $Y.logger.warn(YY.dedent` Looks like multiple favicons were detected. Using the first one. ${i.join(", ")} `), i[0] || bMe; }, "favicon"), EMe = /* @__PURE__ */ a(async (e, t) => { let { presets: r } = t, n = await r.apply("babelDefault", {}, t) ?? {}; return { ...n, // This override makes sure that we will never transpile babel further down then the browsers that storybook supports. // This is needed to support the mount property of the context described here: // https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-each-test overrides: [ ...n?.overrides ?? [], { include: /\.(story|stories)\.[cm]?[jt]sx?$/, presets: [ [ "@babel/preset-env", { bugfixes: !0, targets: { // This is the same browser supports that we use to bundle our manager and preview code. chrome: 100, safari: 15, firefox: 91 } } ] ] } ] }; }, "babel"), AMe = /* @__PURE__ */ a((e, t) => e || t.packageJson?.name || !1, "title"), TMe = /* @__PURE__ */ a((e, t) => e || t.loglevel || "info", "logLevel"), DMe = /* @__PURE__ */ a(async (e, { configDir: t, presets: r }) => { let n = await r.apply("env"); return (0, gi.getPreviewHeadTemplate)(t, n); }, "previewHead"), xMe = /* @__PURE__ */ a(async () => { let { raw: e } = await (0, gi.loadEnvs)({ production: !0 }); return e; }, "env"), CMe = /* @__PURE__ */ a(async (e, { configDir: t, presets: r }) => { let n = await r.apply("env"); return (0, gi.getPreviewBodyTemplate)(t, n); }, "previewBody"), wMe = /* @__PURE__ */ a(() => ({ check: !1, // 'react-docgen' faster than `react-docgen-typescript` but produces lower quality results reactDocgen: "react-docgen", reactDocgenTypescriptOptions: { shouldExtractLiteralValuesFromEnum: !0, shouldRemoveUndefinedFromOptional: !0, propFilter: /* @__PURE__ */ a((e) => e.parent ? !/node_modules/.test(e.parent.fileName) : !0, "propFilter"), // NOTE: this default cannot be changed savePropValueAsString: !0 } }), "typescript"), OMe = /* @__PURE__ */ a((e, t) => { let r = gi.removeAddon, n = gi.JsPackageManagerFactory.getPackageManager({ configDir: t.configDir }); return t.disableTelemetry || (r = /* @__PURE__ */ a(async (i, s) => (await (0, XY.telemetry)("remove", { addon: i, source: "api" }), (0, gi.removeAddon)( i, { ...s, packageManager: n })), "removeAddon")), { ...e, removeAddon: r }; }, "experimental_serverAPI"), RMe = (0, GY.randomUUID)(), kMe = /* @__PURE__ */ a(async (e, t) => ({ ...e, disableTelemetry: t.disableTelemetry === !0, channelOptions: { ...e?.channelOptions ?? {}, ...t.configType === "DEVELOPMENT" ? { wsToken: RMe } : {} }, enableCrashReports: t.enableCrashReports || (0, KY.optionalEnvToBoolean)(process.env.STORYBOOK_ENABLE_CRASH_REPORTS) }), "core"), PMe = /* @__PURE__ */ a(async (e) => ({ ...e, argTypeTargetsV7: !0, legacyDecoratorFileOrder: !1, disallowImplicitActionsInRenderV8: !0, viewport: !0, highlight: !0, controls: !0, interactions: !0, actions: !0, backgrounds: !0, outline: !0, measure: !0 }), "features"), QY = { test: /(stories|story)\.(m?js|ts)x?$/, createIndex: /* @__PURE__ */ a(async (e, t) => (await (0, WY.readCsf)(e, t)).parse().indexInputs, "createIndex") }, FMe = /* @__PURE__ */ a((e) => [QY].concat(e || []), "experimental_indexers"), IMe = /* @__PURE__ */ a(async (e, t) => { let r = await t.presets.apply("framework"); return typeof r == "string" ? {} : typeof r > "u" ? null : r.options; }, "frameworkOptions"), NMe = /* @__PURE__ */ a(async (e, t) => { let r = (0, ma.join)(t.configDir, "manager-head.html"); if ((0, iC.existsSync)(r)) { let n = (0, zY.readFile)(r, { encoding: "utf8" }), i = t.presets.apply("env"); return vMe(await n, await i); } return ""; }, "managerHead"), LMe = /* @__PURE__ */ a(async (e) => e, "channelToken"), BMe = /* @__PURE__ */ a(async (e, t) => { let r = await t.presets.apply("core"); return VI(e, t, r), UR(e, t, r), DR(e, t, r), LC(e, t, r), FR(e, t, r), e; }, "experimental_serverChannel"), MMe = /* @__PURE__ */ a(async (e) => { try { return { ...e, react: (0, ma.dirname)(require.resolve("react/package.json")), reactDom: (0, ma.dirname)(require.resolve("react-dom/package.json")) }; } catch { return e; } }, "resolvedReact"), qMe = /* @__PURE__ */ a(async (e) => ({ ...e, "dev-only": { excludeFromDocsStories: !0 }, "docs-only": { excludeFromSidebar: !0 }, "test-only": { excludeFromSidebar: !0, excludeFromDocsStories: !0 } }), "tags"), UMe = /* @__PURE__ */ a(async (e) => [ (0, ma.join)( (0, ma.dirname)(require.resolve("storybook/internal/package.json")), "dist/core-server/presets/common-manager.js" ), ...e || [] ], "managerEntries"), VMe = /* @__PURE__ */ a(async (e, t) => { let r = (0, gi.findConfigFile)("preview", t.configDir); if (!r) return e; let { viteInjectMockerRuntime: n } = await Promise.resolve().then(() => (KI(), zI)), { viteMockPlugin: i } = await Promise.resolve().then(() => (wN(), CN)), s = await t.presets.apply("core"); return { ...e, plugins: [ ...e.plugins ?? [], ...r ? [ n({ previewConfigPath: r }), i({ previewConfigPath: r, coreOptions: s, configDir: t.configDir }) ] : [] ] }; }, "viteFinal"), HMe = /* @__PURE__ */ a(async (e, t) => { let r = (0, gi.findConfigFile)("preview", t.configDir); if (!r) return e; let { WebpackMockPlugin: n } = await Promise.resolve().then(() => (RN(), ON)), { WebpackInjectMockerRuntimePlugin: i } = await Promise.resolve().then(() => (jY(), HY)); return e.plugins = e.plugins || [], e.module.rules.push({ test: /preview\.(t|j)sx?$/, use: [ { loader: require.resolve("storybook/internal/core-server/presets/webpack/loaders/storybook-mock-transform-loader") } ] }), e.plugins.push(new n({ previewConfigPath: r })), e.plugins.push(new i()), e; }, "webpackFinal");