hot-updater 0.21.7 → 0.21.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-DWy1uDak.cjs +39 -0
- package/dist/config.cjs +1 -2
- package/dist/config.d.cts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/config.js +1 -2
- package/dist/{fingerprint-CUyLNgcg.js → fingerprint-BBD702SI.js} +34 -9
- package/dist/{fingerprint-xeLO0LG3.cjs → fingerprint-DqX6r8Tm.cjs} +184 -187
- package/dist/index.cjs +768 -704
- package/dist/index.js +379 -316
- package/dist/plugins/babel.cjs +6 -5
- package/dist/plugins/babel.js +2 -3
- package/package.json +11 -12
- package/dist/picocolors-O3YZQBCJ.js +0 -99
- package/dist/picocolors-y8lGs7d-.cjs +0 -114
package/dist/index.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import { a as nativeFingerprint, c as showFingerprintDiff, d as IosConfigParser, f as require_plist, i as generateFingerprints, l as isFingerprintEquals, m as AndroidConfigParser, o as readLocalFingerprint, p as require_base64_js, s as getFingerprintDiff, t as createAndInjectFingerprintFiles, u as require_out } from "./fingerprint-CUyLNgcg.js";
|
|
4
|
-
import * as p from "@clack/prompts";
|
|
2
|
+
import { _ as __toESM, a as nativeFingerprint, c as showFingerprintDiff, d as IosConfigParser, f as require_plist, g as __require, h as __commonJS, i as generateFingerprints, l as isFingerprintEquals, m as AndroidConfigParser, o as readLocalFingerprint, p as require_base64_js, s as getFingerprintDiff, t as createAndInjectFingerprintFiles, u as require_out } from "./fingerprint-BBD702SI.js";
|
|
5
3
|
import { EventEmitter, addAbortListener, on, once, setMaxListeners } from "node:events";
|
|
6
4
|
import childProcess, { ChildProcess, execFile, spawn, spawnSync } from "node:child_process";
|
|
7
5
|
import path from "node:path";
|
|
8
6
|
import fs, { appendFileSync, createReadStream, createWriteStream, readFileSync, statSync, writeFileSync } from "node:fs";
|
|
9
7
|
import process$1, { execArgv, execPath, hrtime, platform } from "node:process";
|
|
10
|
-
import { banner, createTarBrTargetFiles, createTarGzTargetFiles, createZipTargetFiles,
|
|
8
|
+
import { banner, colors, createTarBrTargetFiles, createTarGzTargetFiles, createZipTargetFiles, getCwd, loadConfig, log, p, printBanner } from "@hot-updater/cli-tools";
|
|
11
9
|
import { fileURLToPath } from "node:url";
|
|
12
10
|
import { StringDecoder } from "node:string_decoder";
|
|
13
11
|
import { aborted, callbackify, debuglog, inspect, promisify, stripVTControlCharacters } from "node:util";
|
|
@@ -23,6 +21,7 @@ import { Duplex, PassThrough, Readable, Transform, Writable, getDefaultHighWater
|
|
|
23
21
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
24
22
|
import { promisify as promisify$1 } from "util";
|
|
25
23
|
import { Readable as Readable$1 } from "stream";
|
|
24
|
+
import { generateMinBundleId } from "@hot-updater/plugin-core";
|
|
26
25
|
import fs$2, { constants as constants$1 } from "node:fs/promises";
|
|
27
26
|
import fs$3, { access, mkdir, readFile, readdir, writeFile } from "fs/promises";
|
|
28
27
|
import crypto, { createHash } from "crypto";
|
|
@@ -1815,34 +1814,34 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1815
1814
|
*
|
|
1816
1815
|
* @private
|
|
1817
1816
|
*/
|
|
1818
|
-
_prepareUserArgs(argv, parseOptions$6) {
|
|
1819
|
-
if (argv !== void 0 && !Array.isArray(argv)) throw new Error("first parameter to parse must be array or undefined");
|
|
1817
|
+
_prepareUserArgs(argv$1, parseOptions$6) {
|
|
1818
|
+
if (argv$1 !== void 0 && !Array.isArray(argv$1)) throw new Error("first parameter to parse must be array or undefined");
|
|
1820
1819
|
parseOptions$6 = parseOptions$6 || {};
|
|
1821
|
-
if (argv === void 0 && parseOptions$6.from === void 0) {
|
|
1820
|
+
if (argv$1 === void 0 && parseOptions$6.from === void 0) {
|
|
1822
1821
|
if (process$3.versions?.electron) parseOptions$6.from = "electron";
|
|
1823
1822
|
const execArgv$1 = process$3.execArgv ?? [];
|
|
1824
1823
|
if (execArgv$1.includes("-e") || execArgv$1.includes("--eval") || execArgv$1.includes("-p") || execArgv$1.includes("--print")) parseOptions$6.from = "eval";
|
|
1825
1824
|
}
|
|
1826
|
-
if (argv === void 0) argv = process$3.argv;
|
|
1827
|
-
this.rawArgs = argv.slice();
|
|
1825
|
+
if (argv$1 === void 0) argv$1 = process$3.argv;
|
|
1826
|
+
this.rawArgs = argv$1.slice();
|
|
1828
1827
|
let userArgs;
|
|
1829
1828
|
switch (parseOptions$6.from) {
|
|
1830
1829
|
case void 0:
|
|
1831
1830
|
case "node":
|
|
1832
|
-
this._scriptPath = argv[1];
|
|
1833
|
-
userArgs = argv.slice(2);
|
|
1831
|
+
this._scriptPath = argv$1[1];
|
|
1832
|
+
userArgs = argv$1.slice(2);
|
|
1834
1833
|
break;
|
|
1835
1834
|
case "electron":
|
|
1836
1835
|
if (process$3.defaultApp) {
|
|
1837
|
-
this._scriptPath = argv[1];
|
|
1838
|
-
userArgs = argv.slice(2);
|
|
1839
|
-
} else userArgs = argv.slice(1);
|
|
1836
|
+
this._scriptPath = argv$1[1];
|
|
1837
|
+
userArgs = argv$1.slice(2);
|
|
1838
|
+
} else userArgs = argv$1.slice(1);
|
|
1840
1839
|
break;
|
|
1841
1840
|
case "user":
|
|
1842
|
-
userArgs = argv.slice(0);
|
|
1841
|
+
userArgs = argv$1.slice(0);
|
|
1843
1842
|
break;
|
|
1844
1843
|
case "eval":
|
|
1845
|
-
userArgs = argv.slice(1);
|
|
1844
|
+
userArgs = argv$1.slice(1);
|
|
1846
1845
|
break;
|
|
1847
1846
|
default: throw new Error(`unexpected parse option { from: '${parseOptions$6.from}' }`);
|
|
1848
1847
|
}
|
|
@@ -1872,9 +1871,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1872
1871
|
* @param {string} [parseOptions.from] - where the args are from: 'node', 'user', 'electron'
|
|
1873
1872
|
* @return {Command} `this` command for chaining
|
|
1874
1873
|
*/
|
|
1875
|
-
parse(argv, parseOptions$6) {
|
|
1874
|
+
parse(argv$1, parseOptions$6) {
|
|
1876
1875
|
this._prepareForParse();
|
|
1877
|
-
const userArgs = this._prepareUserArgs(argv, parseOptions$6);
|
|
1876
|
+
const userArgs = this._prepareUserArgs(argv$1, parseOptions$6);
|
|
1878
1877
|
this._parseCommand([], userArgs);
|
|
1879
1878
|
return this;
|
|
1880
1879
|
}
|
|
@@ -1898,9 +1897,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1898
1897
|
* @param {string} parseOptions.from - where the args are from: 'node', 'user', 'electron'
|
|
1899
1898
|
* @return {Promise}
|
|
1900
1899
|
*/
|
|
1901
|
-
async parseAsync(argv, parseOptions$6) {
|
|
1900
|
+
async parseAsync(argv$1, parseOptions$6) {
|
|
1902
1901
|
this._prepareForParse();
|
|
1903
|
-
const userArgs = this._prepareUserArgs(argv, parseOptions$6);
|
|
1902
|
+
const userArgs = this._prepareUserArgs(argv$1, parseOptions$6);
|
|
1904
1903
|
await this._parseCommand([], userArgs);
|
|
1905
1904
|
return this;
|
|
1906
1905
|
}
|
|
@@ -2301,11 +2300,11 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2301
2300
|
* @param {string[]} argv
|
|
2302
2301
|
* @return {{operands: string[], unknown: string[]}}
|
|
2303
2302
|
*/
|
|
2304
|
-
parseOptions(argv) {
|
|
2303
|
+
parseOptions(argv$1) {
|
|
2305
2304
|
const operands = [];
|
|
2306
2305
|
const unknown = [];
|
|
2307
2306
|
let dest = operands;
|
|
2308
|
-
const args = argv.slice();
|
|
2307
|
+
const args = argv$1.slice();
|
|
2309
2308
|
function maybeOption(arg) {
|
|
2310
2309
|
return arg.length > 1 && arg[0] === "-";
|
|
2311
2310
|
}
|
|
@@ -3740,16 +3739,16 @@ var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semve
|
|
|
3740
3739
|
};
|
|
3741
3740
|
const replaceTilde = (comp, options) => {
|
|
3742
3741
|
const r = options.loose ? re$3[t$3.TILDELOOSE] : re$3[t$3.TILDE];
|
|
3743
|
-
return comp.replace(r, (_, M, m$1, p$
|
|
3744
|
-
debug$7("tilde", comp, _, M, m$1, p$
|
|
3742
|
+
return comp.replace(r, (_, M, m$1, p$2, pr) => {
|
|
3743
|
+
debug$7("tilde", comp, _, M, m$1, p$2, pr);
|
|
3745
3744
|
let ret;
|
|
3746
3745
|
if (isX(M)) ret = "";
|
|
3747
3746
|
else if (isX(m$1)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
3748
|
-
else if (isX(p$
|
|
3747
|
+
else if (isX(p$2)) ret = `>=${M}.${m$1}.0 <${M}.${+m$1 + 1}.0-0`;
|
|
3749
3748
|
else if (pr) {
|
|
3750
3749
|
debug$7("replaceTilde pr", pr);
|
|
3751
|
-
ret = `>=${M}.${m$1}.${p$
|
|
3752
|
-
} else ret = `>=${M}.${m$1}.${p$
|
|
3750
|
+
ret = `>=${M}.${m$1}.${p$2}-${pr} <${M}.${+m$1 + 1}.0-0`;
|
|
3751
|
+
} else ret = `>=${M}.${m$1}.${p$2} <${M}.${+m$1 + 1}.0-0`;
|
|
3753
3752
|
debug$7("tilde return", ret);
|
|
3754
3753
|
return ret;
|
|
3755
3754
|
});
|
|
@@ -3761,23 +3760,23 @@ var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semve
|
|
|
3761
3760
|
debug$7("caret", comp, options);
|
|
3762
3761
|
const r = options.loose ? re$3[t$3.CARETLOOSE] : re$3[t$3.CARET];
|
|
3763
3762
|
const z = options.includePrerelease ? "-0" : "";
|
|
3764
|
-
return comp.replace(r, (_, M, m$1, p$
|
|
3765
|
-
debug$7("caret", comp, _, M, m$1, p$
|
|
3763
|
+
return comp.replace(r, (_, M, m$1, p$2, pr) => {
|
|
3764
|
+
debug$7("caret", comp, _, M, m$1, p$2, pr);
|
|
3766
3765
|
let ret;
|
|
3767
3766
|
if (isX(M)) ret = "";
|
|
3768
3767
|
else if (isX(m$1)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
|
|
3769
|
-
else if (isX(p$
|
|
3768
|
+
else if (isX(p$2)) if (M === "0") ret = `>=${M}.${m$1}.0${z} <${M}.${+m$1 + 1}.0-0`;
|
|
3770
3769
|
else ret = `>=${M}.${m$1}.0${z} <${+M + 1}.0.0-0`;
|
|
3771
3770
|
else if (pr) {
|
|
3772
3771
|
debug$7("replaceCaret pr", pr);
|
|
3773
|
-
if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$
|
|
3774
|
-
else ret = `>=${M}.${m$1}.${p$
|
|
3775
|
-
else ret = `>=${M}.${m$1}.${p$
|
|
3772
|
+
if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$2}-${pr} <${M}.${m$1}.${+p$2 + 1}-0`;
|
|
3773
|
+
else ret = `>=${M}.${m$1}.${p$2}-${pr} <${M}.${+m$1 + 1}.0-0`;
|
|
3774
|
+
else ret = `>=${M}.${m$1}.${p$2}-${pr} <${+M + 1}.0.0-0`;
|
|
3776
3775
|
} else {
|
|
3777
3776
|
debug$7("no pr");
|
|
3778
|
-
if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$
|
|
3779
|
-
else ret = `>=${M}.${m$1}.${p$
|
|
3780
|
-
else ret = `>=${M}.${m$1}.${p$
|
|
3777
|
+
if (M === "0") if (m$1 === "0") ret = `>=${M}.${m$1}.${p$2}${z} <${M}.${m$1}.${+p$2 + 1}-0`;
|
|
3778
|
+
else ret = `>=${M}.${m$1}.${p$2}${z} <${M}.${+m$1 + 1}.0-0`;
|
|
3779
|
+
else ret = `>=${M}.${m$1}.${p$2} <${+M + 1}.0.0-0`;
|
|
3781
3780
|
}
|
|
3782
3781
|
debug$7("caret return", ret);
|
|
3783
3782
|
return ret;
|
|
@@ -3790,11 +3789,11 @@ var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semve
|
|
|
3790
3789
|
const replaceXRange = (comp, options) => {
|
|
3791
3790
|
comp = comp.trim();
|
|
3792
3791
|
const r = options.loose ? re$3[t$3.XRANGELOOSE] : re$3[t$3.XRANGE];
|
|
3793
|
-
return comp.replace(r, (ret, gtlt, M, m$1, p$
|
|
3794
|
-
debug$7("xRange", comp, ret, gtlt, M, m$1, p$
|
|
3792
|
+
return comp.replace(r, (ret, gtlt, M, m$1, p$2, pr) => {
|
|
3793
|
+
debug$7("xRange", comp, ret, gtlt, M, m$1, p$2, pr);
|
|
3795
3794
|
const xM = isX(M);
|
|
3796
3795
|
const xm = xM || isX(m$1);
|
|
3797
|
-
const xp = xm || isX(p$
|
|
3796
|
+
const xp = xm || isX(p$2);
|
|
3798
3797
|
const anyX = xp;
|
|
3799
3798
|
if (gtlt === "=" && anyX) gtlt = "";
|
|
3800
3799
|
pr = options.includePrerelease ? "-0" : "";
|
|
@@ -3802,16 +3801,16 @@ var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semve
|
|
|
3802
3801
|
else ret = "*";
|
|
3803
3802
|
else if (gtlt && anyX) {
|
|
3804
3803
|
if (xm) m$1 = 0;
|
|
3805
|
-
p$
|
|
3804
|
+
p$2 = 0;
|
|
3806
3805
|
if (gtlt === ">") {
|
|
3807
3806
|
gtlt = ">=";
|
|
3808
3807
|
if (xm) {
|
|
3809
3808
|
M = +M + 1;
|
|
3810
3809
|
m$1 = 0;
|
|
3811
|
-
p$
|
|
3810
|
+
p$2 = 0;
|
|
3812
3811
|
} else {
|
|
3813
3812
|
m$1 = +m$1 + 1;
|
|
3814
|
-
p$
|
|
3813
|
+
p$2 = 0;
|
|
3815
3814
|
}
|
|
3816
3815
|
} else if (gtlt === "<=") {
|
|
3817
3816
|
gtlt = "<";
|
|
@@ -3819,7 +3818,7 @@ var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semve
|
|
|
3819
3818
|
else m$1 = +m$1 + 1;
|
|
3820
3819
|
}
|
|
3821
3820
|
if (gtlt === "<") pr = "-0";
|
|
3822
|
-
ret = `${gtlt + M}.${m$1}.${p$
|
|
3821
|
+
ret = `${gtlt + M}.${m$1}.${p$2}${pr}`;
|
|
3823
3822
|
} else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
3824
3823
|
else if (xp) ret = `>=${M}.${m$1}.0${pr} <${M}.${+m$1 + 1}.0-0`;
|
|
3825
3824
|
debug$7("xRange return", ret);
|
|
@@ -3882,7 +3881,6 @@ var require_valid$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/sem
|
|
|
3882
3881
|
//#endregion
|
|
3883
3882
|
//#region src/commandOptions/index.ts
|
|
3884
3883
|
var import_valid$4 = /* @__PURE__ */ __toESM(require_valid$2(), 1);
|
|
3885
|
-
var import_picocolors$5 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
3886
3884
|
const platformCommandOption = new Option("-p, --platform <platform>", "specify the platform").choices(["ios", "android"]);
|
|
3887
3885
|
const interactiveCommandOption = new Option("-i, --interactive", "interactive mode").default(false);
|
|
3888
3886
|
|
|
@@ -4183,10 +4181,10 @@ const NO_ESCAPE_REGEXP = /^[\w./-]+$/;
|
|
|
4183
4181
|
//#endregion
|
|
4184
4182
|
//#region ../../node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
|
|
4185
4183
|
function isUnicodeSupported() {
|
|
4186
|
-
const { env: env$
|
|
4187
|
-
const { TERM, TERM_PROGRAM } = env$
|
|
4184
|
+
const { env: env$2 } = process$1;
|
|
4185
|
+
const { TERM, TERM_PROGRAM } = env$2;
|
|
4188
4186
|
if (process$1.platform !== "win32") return TERM !== "linux";
|
|
4189
|
-
return Boolean(env$
|
|
4187
|
+
return Boolean(env$2.WT_SESSION) || Boolean(env$2.TERMINUS_SUBLIME) || env$2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env$2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
4190
4188
|
}
|
|
4191
4189
|
|
|
4192
4190
|
//#endregion
|
|
@@ -4684,8 +4682,8 @@ var require_windows = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/ise
|
|
|
4684
4682
|
pathext = pathext.split(";");
|
|
4685
4683
|
if (pathext.indexOf("") !== -1) return true;
|
|
4686
4684
|
for (var i$1 = 0; i$1 < pathext.length; i$1++) {
|
|
4687
|
-
var p$
|
|
4688
|
-
if (p$
|
|
4685
|
+
var p$2 = pathext[i$1].toLowerCase();
|
|
4686
|
+
if (p$2 && path$6.substr(-p$2.length).toLowerCase() === p$2) return true;
|
|
4689
4687
|
}
|
|
4690
4688
|
return false;
|
|
4691
4689
|
}
|
|
@@ -4814,13 +4812,13 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
|
|
|
4814
4812
|
const pCmd = path$4.join(pathPart, cmd);
|
|
4815
4813
|
resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i$1, 0));
|
|
4816
4814
|
});
|
|
4817
|
-
const subStep = (p$
|
|
4815
|
+
const subStep = (p$2, i$1, ii) => new Promise((resolve, reject) => {
|
|
4818
4816
|
if (ii === pathExt.length) return resolve(step(i$1 + 1));
|
|
4819
4817
|
const ext = pathExt[ii];
|
|
4820
|
-
isexe(p$
|
|
4821
|
-
if (!er && is) if (opt.all) found.push(p$
|
|
4822
|
-
else return resolve(p$
|
|
4823
|
-
return resolve(subStep(p$
|
|
4818
|
+
isexe(p$2 + ext, { pathExt: pathExtExe }, (er, is) => {
|
|
4819
|
+
if (!er && is) if (opt.all) found.push(p$2 + ext);
|
|
4820
|
+
else return resolve(p$2 + ext);
|
|
4821
|
+
return resolve(subStep(p$2, i$1, ii + 1));
|
|
4824
4822
|
});
|
|
4825
4823
|
});
|
|
4826
4824
|
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
@@ -4833,9 +4831,9 @@ var require_which = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/which
|
|
|
4833
4831
|
const ppRaw = pathEnv[i$1];
|
|
4834
4832
|
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
4835
4833
|
const pCmd = path$4.join(pathPart, cmd);
|
|
4836
|
-
const p$
|
|
4834
|
+
const p$2 = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
4837
4835
|
for (let j = 0; j < pathExt.length; j++) {
|
|
4838
|
-
const cur = p$
|
|
4836
|
+
const cur = p$2 + pathExt[j];
|
|
4839
4837
|
try {
|
|
4840
4838
|
if (isexe.sync(cur, { pathExt: pathExtExe })) if (opt.all) found.push(cur);
|
|
4841
4839
|
else return cur;
|
|
@@ -4869,7 +4867,7 @@ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
4869
4867
|
const which = require_which();
|
|
4870
4868
|
const getPathKey = require_path_key();
|
|
4871
4869
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
4872
|
-
const env$
|
|
4870
|
+
const env$2 = parsed.options.env || process.env;
|
|
4873
4871
|
const cwd = process.cwd();
|
|
4874
4872
|
const hasCustomCwd = parsed.options.cwd != null;
|
|
4875
4873
|
const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
|
|
@@ -4879,7 +4877,7 @@ var require_resolveCommand = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
4879
4877
|
let resolved;
|
|
4880
4878
|
try {
|
|
4881
4879
|
resolved = which.sync(parsed.command, {
|
|
4882
|
-
path: env$
|
|
4880
|
+
path: env$2[getPathKey({ env: env$2 })],
|
|
4883
4881
|
pathExt: withoutPathExt ? path$3.delimiter : void 0
|
|
4884
4882
|
});
|
|
4885
4883
|
} catch (e) {} finally {
|
|
@@ -5085,9 +5083,9 @@ var require_cross_spawn = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
5085
5083
|
//#region ../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js
|
|
5086
5084
|
var import_cross_spawn = /* @__PURE__ */ __toESM(require_cross_spawn(), 1);
|
|
5087
5085
|
function pathKey(options = {}) {
|
|
5088
|
-
const { env: env$
|
|
5086
|
+
const { env: env$2 = process.env, platform: platform$2 = process.platform } = options;
|
|
5089
5087
|
if (platform$2 !== "win32") return "PATH";
|
|
5090
|
-
return Object.keys(env$
|
|
5088
|
+
return Object.keys(env$2).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
|
|
5091
5089
|
}
|
|
5092
5090
|
|
|
5093
5091
|
//#endregion
|
|
@@ -5129,12 +5127,12 @@ const applyExecPath = (result, pathParts, execPath$1, cwdPath) => {
|
|
|
5129
5127
|
const pathPart = path.resolve(cwdPath, toPath$2(execPath$1), "..");
|
|
5130
5128
|
if (!pathParts.includes(pathPart)) result.push(pathPart);
|
|
5131
5129
|
};
|
|
5132
|
-
const npmRunPathEnv = ({ env: env$
|
|
5133
|
-
env$
|
|
5134
|
-
const pathName = pathKey({ env: env$
|
|
5135
|
-
options.path = env$
|
|
5136
|
-
env$
|
|
5137
|
-
return env$
|
|
5130
|
+
const npmRunPathEnv = ({ env: env$2 = process$1.env,...options } = {}) => {
|
|
5131
|
+
env$2 = { ...env$2 };
|
|
5132
|
+
const pathName = pathKey({ env: env$2 });
|
|
5133
|
+
options.path = env$2[pathName];
|
|
5134
|
+
env$2[pathName] = npmRunPath(options);
|
|
5135
|
+
return env$2;
|
|
5138
5136
|
};
|
|
5139
5137
|
|
|
5140
5138
|
//#endregion
|
|
@@ -6325,18 +6323,18 @@ const addDefaultOptions = ({ extendEnv = true, preferLocal = false, cwd, localDi
|
|
|
6325
6323
|
serialization
|
|
6326
6324
|
});
|
|
6327
6325
|
const getEnv = ({ env: envOption, extendEnv, preferLocal, node, localDirectory, nodePath }) => {
|
|
6328
|
-
const env$
|
|
6326
|
+
const env$2 = extendEnv ? {
|
|
6329
6327
|
...process$1.env,
|
|
6330
6328
|
...envOption
|
|
6331
6329
|
} : envOption;
|
|
6332
6330
|
if (preferLocal || node) return npmRunPathEnv({
|
|
6333
|
-
env: env$
|
|
6331
|
+
env: env$2,
|
|
6334
6332
|
cwd: localDirectory,
|
|
6335
6333
|
execPath: nodePath,
|
|
6336
6334
|
preferLocal,
|
|
6337
6335
|
addExecPath: node
|
|
6338
6336
|
});
|
|
6339
|
-
return env$
|
|
6337
|
+
return env$2;
|
|
6340
6338
|
};
|
|
6341
6339
|
|
|
6342
6340
|
//#endregion
|
|
@@ -8878,8 +8876,8 @@ var SignalExit = class extends SignalExitBase {
|
|
|
8878
8876
|
const listeners = this.#process.listeners(sig);
|
|
8879
8877
|
let { count: count$1 } = this.#emitter;
|
|
8880
8878
|
/* c8 ignore start */
|
|
8881
|
-
const p$
|
|
8882
|
-
if (typeof p$
|
|
8879
|
+
const p$2 = process$4;
|
|
8880
|
+
if (typeof p$2.__signal_exit_emitter__ === "object" && typeof p$2.__signal_exit_emitter__.count === "number") count$1 += p$2.__signal_exit_emitter__.count;
|
|
8883
8881
|
/* c8 ignore stop */
|
|
8884
8882
|
if (listeners.length === count$1) {
|
|
8885
8883
|
this.unload();
|
|
@@ -10350,6 +10348,75 @@ function findUpSync(name, { cwd = process$1.cwd(), type: type$1 = "file", stopAt
|
|
|
10350
10348
|
}
|
|
10351
10349
|
}
|
|
10352
10350
|
|
|
10351
|
+
//#endregion
|
|
10352
|
+
//#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
10353
|
+
var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
|
|
10354
|
+
let p$1 = process || {}, argv = p$1.argv || [], env$1 = p$1.env || {};
|
|
10355
|
+
let isColorSupported$1 = !(!!env$1.NO_COLOR || argv.includes("--no-color")) && (!!env$1.FORCE_COLOR || argv.includes("--color") || p$1.platform === "win32" || (p$1.stdout || {}).isTTY && env$1.TERM !== "dumb" || !!env$1.CI);
|
|
10356
|
+
let formatter = (open$1, close, replace = open$1) => (input) => {
|
|
10357
|
+
let string = "" + input, index = string.indexOf(close, open$1.length);
|
|
10358
|
+
return ~index ? open$1 + replaceClose(string, close, replace, index) + close : open$1 + string + close;
|
|
10359
|
+
};
|
|
10360
|
+
let replaceClose = (string, close, replace, index) => {
|
|
10361
|
+
let result = "", cursor = 0;
|
|
10362
|
+
do {
|
|
10363
|
+
result += string.substring(cursor, index) + replace;
|
|
10364
|
+
cursor = index + close.length;
|
|
10365
|
+
index = string.indexOf(close, cursor);
|
|
10366
|
+
} while (~index);
|
|
10367
|
+
return result + string.substring(cursor);
|
|
10368
|
+
};
|
|
10369
|
+
let createColors = (enabled = isColorSupported$1) => {
|
|
10370
|
+
let f = enabled ? formatter : () => String;
|
|
10371
|
+
return {
|
|
10372
|
+
isColorSupported: enabled,
|
|
10373
|
+
reset: f("\x1B[0m", "\x1B[0m"),
|
|
10374
|
+
bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
|
|
10375
|
+
dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
|
|
10376
|
+
italic: f("\x1B[3m", "\x1B[23m"),
|
|
10377
|
+
underline: f("\x1B[4m", "\x1B[24m"),
|
|
10378
|
+
inverse: f("\x1B[7m", "\x1B[27m"),
|
|
10379
|
+
hidden: f("\x1B[8m", "\x1B[28m"),
|
|
10380
|
+
strikethrough: f("\x1B[9m", "\x1B[29m"),
|
|
10381
|
+
black: f("\x1B[30m", "\x1B[39m"),
|
|
10382
|
+
red: f("\x1B[31m", "\x1B[39m"),
|
|
10383
|
+
green: f("\x1B[32m", "\x1B[39m"),
|
|
10384
|
+
yellow: f("\x1B[33m", "\x1B[39m"),
|
|
10385
|
+
blue: f("\x1B[34m", "\x1B[39m"),
|
|
10386
|
+
magenta: f("\x1B[35m", "\x1B[39m"),
|
|
10387
|
+
cyan: f("\x1B[36m", "\x1B[39m"),
|
|
10388
|
+
white: f("\x1B[37m", "\x1B[39m"),
|
|
10389
|
+
gray: f("\x1B[90m", "\x1B[39m"),
|
|
10390
|
+
bgBlack: f("\x1B[40m", "\x1B[49m"),
|
|
10391
|
+
bgRed: f("\x1B[41m", "\x1B[49m"),
|
|
10392
|
+
bgGreen: f("\x1B[42m", "\x1B[49m"),
|
|
10393
|
+
bgYellow: f("\x1B[43m", "\x1B[49m"),
|
|
10394
|
+
bgBlue: f("\x1B[44m", "\x1B[49m"),
|
|
10395
|
+
bgMagenta: f("\x1B[45m", "\x1B[49m"),
|
|
10396
|
+
bgCyan: f("\x1B[46m", "\x1B[49m"),
|
|
10397
|
+
bgWhite: f("\x1B[47m", "\x1B[49m"),
|
|
10398
|
+
blackBright: f("\x1B[90m", "\x1B[39m"),
|
|
10399
|
+
redBright: f("\x1B[91m", "\x1B[39m"),
|
|
10400
|
+
greenBright: f("\x1B[92m", "\x1B[39m"),
|
|
10401
|
+
yellowBright: f("\x1B[93m", "\x1B[39m"),
|
|
10402
|
+
blueBright: f("\x1B[94m", "\x1B[39m"),
|
|
10403
|
+
magentaBright: f("\x1B[95m", "\x1B[39m"),
|
|
10404
|
+
cyanBright: f("\x1B[96m", "\x1B[39m"),
|
|
10405
|
+
whiteBright: f("\x1B[97m", "\x1B[39m"),
|
|
10406
|
+
bgBlackBright: f("\x1B[100m", "\x1B[49m"),
|
|
10407
|
+
bgRedBright: f("\x1B[101m", "\x1B[49m"),
|
|
10408
|
+
bgGreenBright: f("\x1B[102m", "\x1B[49m"),
|
|
10409
|
+
bgYellowBright: f("\x1B[103m", "\x1B[49m"),
|
|
10410
|
+
bgBlueBright: f("\x1B[104m", "\x1B[49m"),
|
|
10411
|
+
bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
|
|
10412
|
+
bgCyanBright: f("\x1B[106m", "\x1B[49m"),
|
|
10413
|
+
bgWhiteBright: f("\x1B[107m", "\x1B[49m")
|
|
10414
|
+
};
|
|
10415
|
+
};
|
|
10416
|
+
module.exports = createColors();
|
|
10417
|
+
module.exports.createColors = createColors;
|
|
10418
|
+
}) });
|
|
10419
|
+
|
|
10353
10420
|
//#endregion
|
|
10354
10421
|
//#region ../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js
|
|
10355
10422
|
var require_js_tokens = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js": ((exports) => {
|
|
@@ -11490,32 +11557,32 @@ var require_lib$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babe
|
|
|
11490
11557
|
//#region ../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js
|
|
11491
11558
|
var require_lib$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js": ((exports) => {
|
|
11492
11559
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11493
|
-
var picocolors
|
|
11560
|
+
var picocolors = require_picocolors();
|
|
11494
11561
|
var jsTokens = require_js_tokens();
|
|
11495
11562
|
var helperValidatorIdentifier = require_lib$4();
|
|
11496
11563
|
function isColorSupported() {
|
|
11497
|
-
return typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors
|
|
11564
|
+
return typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported;
|
|
11498
11565
|
}
|
|
11499
11566
|
const compose = (f, g) => (v) => f(g(v));
|
|
11500
|
-
function buildDefs(colors) {
|
|
11567
|
+
function buildDefs(colors$1) {
|
|
11501
11568
|
return {
|
|
11502
|
-
keyword: colors.cyan,
|
|
11503
|
-
capitalized: colors.yellow,
|
|
11504
|
-
jsxIdentifier: colors.yellow,
|
|
11505
|
-
punctuator: colors.yellow,
|
|
11506
|
-
number: colors.magenta,
|
|
11507
|
-
string: colors.green,
|
|
11508
|
-
regex: colors.magenta,
|
|
11509
|
-
comment: colors.gray,
|
|
11510
|
-
invalid: compose(compose(colors.white, colors.bgRed), colors.bold),
|
|
11511
|
-
gutter: colors.gray,
|
|
11512
|
-
marker: compose(colors.red, colors.bold),
|
|
11513
|
-
message: compose(colors.red, colors.bold),
|
|
11514
|
-
reset: colors.reset
|
|
11569
|
+
keyword: colors$1.cyan,
|
|
11570
|
+
capitalized: colors$1.yellow,
|
|
11571
|
+
jsxIdentifier: colors$1.yellow,
|
|
11572
|
+
punctuator: colors$1.yellow,
|
|
11573
|
+
number: colors$1.magenta,
|
|
11574
|
+
string: colors$1.green,
|
|
11575
|
+
regex: colors$1.magenta,
|
|
11576
|
+
comment: colors$1.gray,
|
|
11577
|
+
invalid: compose(compose(colors$1.white, colors$1.bgRed), colors$1.bold),
|
|
11578
|
+
gutter: colors$1.gray,
|
|
11579
|
+
marker: compose(colors$1.red, colors$1.bold),
|
|
11580
|
+
message: compose(colors$1.red, colors$1.bold),
|
|
11581
|
+
reset: colors$1.reset
|
|
11515
11582
|
};
|
|
11516
11583
|
}
|
|
11517
|
-
const defsOn = buildDefs(picocolors
|
|
11518
|
-
const defsOff = buildDefs(picocolors
|
|
11584
|
+
const defsOn = buildDefs(picocolors.createColors(true));
|
|
11585
|
+
const defsOff = buildDefs(picocolors.createColors(false));
|
|
11519
11586
|
function getDefs(enabled) {
|
|
11520
11587
|
return enabled ? defsOn : defsOff;
|
|
11521
11588
|
}
|
|
@@ -13560,7 +13627,7 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
13560
13627
|
return c$1.#tail;
|
|
13561
13628
|
},
|
|
13562
13629
|
free: c$1.#free,
|
|
13563
|
-
isBackgroundFetch: (p$
|
|
13630
|
+
isBackgroundFetch: (p$2) => c$1.#isBackgroundFetch(p$2),
|
|
13564
13631
|
backgroundFetch: (k, index, options, context) => c$1.#backgroundFetch(k, index, options, context),
|
|
13565
13632
|
moveToTail: (index) => c$1.#moveToTail(index),
|
|
13566
13633
|
indexes: (options) => c$1.#indexes(options),
|
|
@@ -14168,8 +14235,8 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14168
14235
|
if (ignoreAbort) options.status.fetchAbortIgnored = true;
|
|
14169
14236
|
} else options.status.fetchResolved = true;
|
|
14170
14237
|
if (aborted$1 && !ignoreAbort && !updateCache) return fetchFail(ac.signal.reason);
|
|
14171
|
-
const bf$1 = p$
|
|
14172
|
-
if (this.#valList[index] === p$
|
|
14238
|
+
const bf$1 = p$2;
|
|
14239
|
+
if (this.#valList[index] === p$2) if (v$1 === void 0) if (bf$1.__staleWhileFetching) this.#valList[index] = bf$1.__staleWhileFetching;
|
|
14173
14240
|
else this.delete(k);
|
|
14174
14241
|
else {
|
|
14175
14242
|
if (options.status) options.status.fetchUpdated = true;
|
|
@@ -14189,8 +14256,8 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14189
14256
|
const allowStaleAborted = aborted$1 && options.allowStaleOnFetchAbort;
|
|
14190
14257
|
const allowStale = allowStaleAborted || options.allowStaleOnFetchRejection;
|
|
14191
14258
|
const noDelete = allowStale || options.noDeleteOnFetchRejection;
|
|
14192
|
-
const bf$1 = p$
|
|
14193
|
-
if (this.#valList[index] === p$
|
|
14259
|
+
const bf$1 = p$2;
|
|
14260
|
+
if (this.#valList[index] === p$2) {
|
|
14194
14261
|
if (!noDelete || bf$1.__staleWhileFetching === void 0) this.delete(k);
|
|
14195
14262
|
else if (!allowStaleAborted) this.#valList[index] = bf$1.__staleWhileFetching;
|
|
14196
14263
|
}
|
|
@@ -14210,8 +14277,8 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14210
14277
|
});
|
|
14211
14278
|
};
|
|
14212
14279
|
if (options.status) options.status.fetchDispatched = true;
|
|
14213
|
-
const p$
|
|
14214
|
-
const bf = Object.assign(p$
|
|
14280
|
+
const p$2 = new Promise(pcall).then(cb, eb);
|
|
14281
|
+
const bf = Object.assign(p$2, {
|
|
14215
14282
|
__abortController: ac,
|
|
14216
14283
|
__staleWhileFetching: v,
|
|
14217
14284
|
__returned: void 0
|
|
@@ -14225,9 +14292,9 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14225
14292
|
} else this.#valList[index] = bf;
|
|
14226
14293
|
return bf;
|
|
14227
14294
|
}
|
|
14228
|
-
#isBackgroundFetch(p$
|
|
14295
|
+
#isBackgroundFetch(p$2) {
|
|
14229
14296
|
if (!this.#hasFetchMethod) return false;
|
|
14230
|
-
const b = p$
|
|
14297
|
+
const b = p$2;
|
|
14231
14298
|
return !!b && b instanceof Promise && b.hasOwnProperty("__staleWhileFetching") && b.__abortController instanceof AC;
|
|
14232
14299
|
}
|
|
14233
14300
|
async fetch(k, fetchOptions = {}) {
|
|
@@ -14260,8 +14327,8 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14260
14327
|
let index = this.#keyMap.get(k);
|
|
14261
14328
|
if (index === void 0) {
|
|
14262
14329
|
if (status) status.fetch = "miss";
|
|
14263
|
-
const p$
|
|
14264
|
-
return p$
|
|
14330
|
+
const p$2 = this.#backgroundFetch(k, index, options, context);
|
|
14331
|
+
return p$2.__returned = p$2;
|
|
14265
14332
|
} else {
|
|
14266
14333
|
const v = this.#valList[index];
|
|
14267
14334
|
if (this.#isBackgroundFetch(v)) {
|
|
@@ -14280,13 +14347,13 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14280
14347
|
if (status) this.#statusTTL(status, index);
|
|
14281
14348
|
return v;
|
|
14282
14349
|
}
|
|
14283
|
-
const p$
|
|
14284
|
-
const staleVal = p$
|
|
14350
|
+
const p$2 = this.#backgroundFetch(k, index, options, context);
|
|
14351
|
+
const staleVal = p$2.__staleWhileFetching !== void 0 && allowStale;
|
|
14285
14352
|
if (status) {
|
|
14286
14353
|
status.fetch = isStale ? "stale" : "refresh";
|
|
14287
14354
|
if (staleVal && isStale) status.returnedStale = true;
|
|
14288
14355
|
}
|
|
14289
|
-
return staleVal ? p$
|
|
14356
|
+
return staleVal ? p$2.__staleWhileFetching : p$2.__returned = p$2;
|
|
14290
14357
|
}
|
|
14291
14358
|
}
|
|
14292
14359
|
/**
|
|
@@ -14321,9 +14388,9 @@ var require_commonjs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lr
|
|
|
14321
14388
|
}
|
|
14322
14389
|
} else if (status) status.get = "miss";
|
|
14323
14390
|
}
|
|
14324
|
-
#connect(p$
|
|
14325
|
-
this.#prev[n$1] = p$
|
|
14326
|
-
this.#next[p$
|
|
14391
|
+
#connect(p$2, n$1) {
|
|
14392
|
+
this.#prev[n$1] = p$2;
|
|
14393
|
+
this.#next[p$2] = n$1;
|
|
14327
14394
|
}
|
|
14328
14395
|
#moveToTail(index) {
|
|
14329
14396
|
if (index !== this.#tail) {
|
|
@@ -15869,7 +15936,7 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/debu
|
|
|
15869
15936
|
* This is the common logic for both the Node.js and web browser
|
|
15870
15937
|
* implementations of `debug()`.
|
|
15871
15938
|
*/
|
|
15872
|
-
function setup(env$
|
|
15939
|
+
function setup(env$2) {
|
|
15873
15940
|
createDebug.debug = createDebug;
|
|
15874
15941
|
createDebug.default = createDebug;
|
|
15875
15942
|
createDebug.coerce = coerce$2;
|
|
@@ -15878,8 +15945,8 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/debu
|
|
|
15878
15945
|
createDebug.enabled = enabled;
|
|
15879
15946
|
createDebug.humanize = require_ms();
|
|
15880
15947
|
createDebug.destroy = destroy;
|
|
15881
|
-
Object.keys(env$
|
|
15882
|
-
createDebug[key] = env$
|
|
15948
|
+
Object.keys(env$2).forEach((key) => {
|
|
15949
|
+
createDebug[key] = env$2[key];
|
|
15883
15950
|
});
|
|
15884
15951
|
/**
|
|
15885
15952
|
* The currently active debug mode names, and names to skip.
|
|
@@ -15933,10 +16000,10 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/debu
|
|
|
15933
16000
|
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format$2) => {
|
|
15934
16001
|
if (match === "%%") return "%";
|
|
15935
16002
|
index++;
|
|
15936
|
-
const formatter = createDebug.formatters[format$2];
|
|
15937
|
-
if (typeof formatter === "function") {
|
|
16003
|
+
const formatter$1 = createDebug.formatters[format$2];
|
|
16004
|
+
if (typeof formatter$1 === "function") {
|
|
15938
16005
|
const val = args[index];
|
|
15939
|
-
match = formatter.call(self$1, val);
|
|
16006
|
+
match = formatter$1.call(self$1, val);
|
|
15940
16007
|
args.splice(index, 1);
|
|
15941
16008
|
index--;
|
|
15942
16009
|
}
|
|
@@ -16265,10 +16332,10 @@ var require_browser = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/deb
|
|
|
16265
16332
|
//#endregion
|
|
16266
16333
|
//#region ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
|
|
16267
16334
|
var require_has_flag = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js": ((exports, module) => {
|
|
16268
|
-
module.exports = (flag, argv = process.argv) => {
|
|
16335
|
+
module.exports = (flag, argv$1 = process.argv) => {
|
|
16269
16336
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
16270
|
-
const position$1 = argv.indexOf(prefix + flag);
|
|
16271
|
-
const terminatorPosition = argv.indexOf("--");
|
|
16337
|
+
const position$1 = argv$1.indexOf(prefix + flag);
|
|
16338
|
+
const terminatorPosition = argv$1.indexOf("--");
|
|
16272
16339
|
return position$1 !== -1 && (terminatorPosition === -1 || position$1 < terminatorPosition);
|
|
16273
16340
|
};
|
|
16274
16341
|
}) });
|
|
@@ -16866,8 +16933,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
16866
16933
|
1634: (t$8, e$1, r$1) => {
|
|
16867
16934
|
var n$2 = r$1(6473), o$1 = r$1(9631), i$1 = r$1(6152), a$1 = r$1(3226), s$1 = r$1(9045), u$1 = r$1(7598), c$1 = Object.prototype.hasOwnProperty;
|
|
16868
16935
|
t$8.exports = function(t$9, e$2) {
|
|
16869
|
-
var r$2 = i$1(t$9), l = !r$2 && o$1(t$9), f = !r$2 && !l && a$1(t$9), p$
|
|
16870
|
-
for (var y$1 in t$9) !e$2 && !c$1.call(t$9, y$1) || d$1 && ("length" == y$1 || f && ("offset" == y$1 || "parent" == y$1) || p$
|
|
16936
|
+
var r$2 = i$1(t$9), l = !r$2 && o$1(t$9), f = !r$2 && !l && a$1(t$9), p$2 = !r$2 && !l && !f && u$1(t$9), d$1 = r$2 || l || f || p$2, h$2 = d$1 ? n$2(t$9.length, String) : [], v = h$2.length;
|
|
16937
|
+
for (var y$1 in t$9) !e$2 && !c$1.call(t$9, y$1) || d$1 && ("length" == y$1 || f && ("offset" == y$1 || "parent" == y$1) || p$2 && ("buffer" == y$1 || "byteLength" == y$1 || "byteOffset" == y$1) || s$1(y$1, v)) || h$2.push(y$1);
|
|
16871
16938
|
return h$2;
|
|
16872
16939
|
};
|
|
16873
16940
|
},
|
|
@@ -16947,7 +17014,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
16947
17014
|
};
|
|
16948
17015
|
},
|
|
16949
17016
|
8874: (t$8, e$1, r$1) => {
|
|
16950
|
-
var n$2 = r$1(6571), o$1 = r$1(2517), i$1 = r$1(91), a$1 = r$1(7993), s$1 = r$1(5906), u$1 = r$1(2175), c$1 = r$1(1522), l = r$1(7680), f = r$1(9987), p$
|
|
17017
|
+
var n$2 = r$1(6571), o$1 = r$1(2517), i$1 = r$1(91), a$1 = r$1(7993), s$1 = r$1(5906), u$1 = r$1(2175), c$1 = r$1(1522), l = r$1(7680), f = r$1(9987), p$2 = r$1(3483), d$1 = r$1(6939), h$2 = r$1(940), v = r$1(9917), y$1 = r$1(8222), m$1 = r$1(8725), T = r$1(6152), E = r$1(3226), _ = r$1(4714), g = r$1(9259), O = r$1(3679), R$2 = r$1(249), A = r$1(8582), I = "[object Arguments]", x = "[object Function]", N = "[object Object]", P = {};
|
|
16951
17018
|
P[I] = P["[object Array]"] = P["[object ArrayBuffer]"] = P["[object DataView]"] = P["[object Boolean]"] = P["[object Date]"] = P["[object Float32Array]"] = P["[object Float64Array]"] = P["[object Int8Array]"] = P["[object Int16Array]"] = P["[object Int32Array]"] = P["[object Map]"] = P["[object Number]"] = P[N] = P["[object RegExp]"] = P["[object Set]"] = P["[object String]"] = P["[object Symbol]"] = P["[object Uint8Array]"] = P["[object Uint8ClampedArray]"] = P["[object Uint16Array]"] = P["[object Uint32Array]"] = !0, P["[object Error]"] = P[x] = P["[object WeakMap]"] = !1, t$8.exports = function t$9(e$2, r$2, S, b, k, L) {
|
|
16952
17019
|
var C, M = 1 & r$2, D = 2 & r$2, w$1 = 4 & r$2;
|
|
16953
17020
|
if (S && (C = k ? S(e$2, b, k, L) : S(e$2)), void 0 !== C) return C;
|
|
@@ -16973,7 +17040,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
16973
17040
|
})) : _(e$2) && e$2.forEach((function(n$3, o$2) {
|
|
16974
17041
|
C.set(o$2, t$9(n$3, r$2, S, o$2, e$2, L));
|
|
16975
17042
|
}));
|
|
16976
|
-
var G = F ? void 0 : (w$1 ? D ? d$1 : p$
|
|
17043
|
+
var G = F ? void 0 : (w$1 ? D ? d$1 : p$2 : D ? A : R$2)(e$2);
|
|
16977
17044
|
return o$1(G || e$2, (function(n$3, o$2) {
|
|
16978
17045
|
G && (n$3 = e$2[o$2 = n$3]), i$1(C, o$2, t$9(n$3, r$2, S, o$2, e$2, L));
|
|
16979
17046
|
})), C;
|
|
@@ -16995,12 +17062,12 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
16995
17062
|
5246: (t$8, e$1, r$1) => {
|
|
16996
17063
|
var n$2 = r$1(5386), o$1 = r$1(8333), i$1 = r$1(4893), a$1 = r$1(343), s$1 = r$1(7826), u$1 = r$1(9950);
|
|
16997
17064
|
t$8.exports = function(t$9, e$2, r$2, c$1) {
|
|
16998
|
-
var l = -1, f = o$1, p$
|
|
17065
|
+
var l = -1, f = o$1, p$2 = !0, d$1 = t$9.length, h$2 = [], v = e$2.length;
|
|
16999
17066
|
if (!d$1) return h$2;
|
|
17000
|
-
r$2 && (e$2 = a$1(e$2, s$1(r$2))), c$1 ? (f = i$1, p$
|
|
17067
|
+
r$2 && (e$2 = a$1(e$2, s$1(r$2))), c$1 ? (f = i$1, p$2 = !1) : e$2.length >= 200 && (f = u$1, p$2 = !1, e$2 = new n$2(e$2));
|
|
17001
17068
|
t: for (; ++l < d$1;) {
|
|
17002
17069
|
var y$1 = t$9[l], m$1 = null == r$2 ? y$1 : r$2(y$1);
|
|
17003
|
-
if (y$1 = c$1 || 0 !== y$1 ? y$1 : 0, p$
|
|
17070
|
+
if (y$1 = c$1 || 0 !== y$1 ? y$1 : 0, p$2 && m$1 == m$1) {
|
|
17004
17071
|
for (var T = v; T--;) if (e$2[T] === m$1) continue t;
|
|
17005
17072
|
h$2.push(y$1);
|
|
17006
17073
|
} else f(e$2, m$1, c$1) || h$2.push(y$1);
|
|
@@ -17106,9 +17173,9 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17106
17173
|
};
|
|
17107
17174
|
},
|
|
17108
17175
|
1952: (t$8, e$1, r$1) => {
|
|
17109
|
-
var n$2 = r$1(6571), o$1 = r$1(4871), i$1 = r$1(1491), a$1 = r$1(7416), s$1 = r$1(940), u$1 = r$1(6152), c$1 = r$1(3226), l = r$1(7598), f = "[object Arguments]", p$
|
|
17176
|
+
var n$2 = r$1(6571), o$1 = r$1(4871), i$1 = r$1(1491), a$1 = r$1(7416), s$1 = r$1(940), u$1 = r$1(6152), c$1 = r$1(3226), l = r$1(7598), f = "[object Arguments]", p$2 = "[object Array]", d$1 = "[object Object]", h$2 = Object.prototype.hasOwnProperty;
|
|
17110
17177
|
t$8.exports = function(t$9, e$2, r$2, v, y$1, m$1) {
|
|
17111
|
-
var T = u$1(t$9), E = u$1(e$2), _ = T ? p$
|
|
17178
|
+
var T = u$1(t$9), E = u$1(e$2), _ = T ? p$2 : s$1(t$9), g = E ? p$2 : s$1(e$2), O = (_ = _ == f ? d$1 : _) == d$1, R$2 = (g = g == f ? d$1 : g) == d$1, A = _ == g;
|
|
17112
17179
|
if (A && c$1(t$9)) {
|
|
17113
17180
|
if (!c$1(e$2)) return !1;
|
|
17114
17181
|
T = !0, O = !1;
|
|
@@ -17140,13 +17207,13 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17140
17207
|
if (u$1 && c$1[2] ? c$1[1] !== t$9[c$1[0]] : !(c$1[0] in t$9)) return !1;
|
|
17141
17208
|
}
|
|
17142
17209
|
for (; ++a$1 < s$1;) {
|
|
17143
|
-
var l = (c$1 = r$2[a$1])[0], f = t$9[l], p$
|
|
17210
|
+
var l = (c$1 = r$2[a$1])[0], f = t$9[l], p$2 = c$1[1];
|
|
17144
17211
|
if (u$1 && c$1[2]) {
|
|
17145
17212
|
if (void 0 === f && !(l in t$9)) return !1;
|
|
17146
17213
|
} else {
|
|
17147
17214
|
var d$1 = new n$2();
|
|
17148
|
-
if (i$1) var h$2 = i$1(f, p$
|
|
17149
|
-
if (!(void 0 === h$2 ? o$1(p$
|
|
17215
|
+
if (i$1) var h$2 = i$1(f, p$2, l, t$9, e$2, d$1);
|
|
17216
|
+
if (!(void 0 === h$2 ? o$1(p$2, f, 3, i$1, d$1) : h$2)) return !1;
|
|
17150
17217
|
}
|
|
17151
17218
|
}
|
|
17152
17219
|
return !0;
|
|
@@ -17158,9 +17225,9 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17158
17225
|
};
|
|
17159
17226
|
},
|
|
17160
17227
|
6840: (t$8, e$1, r$1) => {
|
|
17161
|
-
var n$2 = r$1(1049), o$1 = r$1(7394), i$1 = r$1(9259), a$1 = r$1(7035), s$1 = /^\[object .+?Constructor\]$/, u$1 = Function.prototype, c$1 = Object.prototype, l = u$1.toString, f = c$1.hasOwnProperty, p$
|
|
17228
|
+
var n$2 = r$1(1049), o$1 = r$1(7394), i$1 = r$1(9259), a$1 = r$1(7035), s$1 = /^\[object .+?Constructor\]$/, u$1 = Function.prototype, c$1 = Object.prototype, l = u$1.toString, f = c$1.hasOwnProperty, p$2 = RegExp("^" + l.call(f).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
17162
17229
|
t$8.exports = function(t$9) {
|
|
17163
|
-
return !(!i$1(t$9) || o$1(t$9)) && (n$2(t$9) ? p$
|
|
17230
|
+
return !(!i$1(t$9) || o$1(t$9)) && (n$2(t$9) ? p$2 : s$1).test(a$1(t$9));
|
|
17164
17231
|
};
|
|
17165
17232
|
},
|
|
17166
17233
|
4333: (t$8, e$1, r$1) => {
|
|
@@ -17274,14 +17341,14 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17274
17341
|
var n$2 = r$1(91), o$1 = r$1(7297), i$1 = r$1(9045), a$1 = r$1(9259), s$1 = r$1(3812);
|
|
17275
17342
|
t$8.exports = function(t$9, e$2, r$2, u$1) {
|
|
17276
17343
|
if (!a$1(t$9)) return t$9;
|
|
17277
|
-
for (var c$1 = -1, l = (e$2 = o$1(e$2, t$9)).length, f = l - 1, p$
|
|
17344
|
+
for (var c$1 = -1, l = (e$2 = o$1(e$2, t$9)).length, f = l - 1, p$2 = t$9; null != p$2 && ++c$1 < l;) {
|
|
17278
17345
|
var d$1 = s$1(e$2[c$1]), h$2 = r$2;
|
|
17279
17346
|
if ("__proto__" === d$1 || "constructor" === d$1 || "prototype" === d$1) return t$9;
|
|
17280
17347
|
if (c$1 != f) {
|
|
17281
|
-
var v = p$
|
|
17282
|
-
void 0 === (h$2 = u$1 ? u$1(v, d$1, p$
|
|
17348
|
+
var v = p$2[d$1];
|
|
17349
|
+
void 0 === (h$2 = u$1 ? u$1(v, d$1, p$2) : void 0) && (h$2 = a$1(v) ? v : i$1(e$2[c$1 + 1]) ? [] : {});
|
|
17283
17350
|
}
|
|
17284
|
-
n$2(p$
|
|
17351
|
+
n$2(p$2, d$1, h$2), p$2 = p$2[d$1];
|
|
17285
17352
|
}
|
|
17286
17353
|
return t$9;
|
|
17287
17354
|
};
|
|
@@ -17346,16 +17413,16 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17346
17413
|
7326: (t$8, e$1, r$1) => {
|
|
17347
17414
|
var n$2 = r$1(5386), o$1 = r$1(8333), i$1 = r$1(4893), a$1 = r$1(9950), s$1 = r$1(8803), u$1 = r$1(4207);
|
|
17348
17415
|
t$8.exports = function(t$9, e$2, r$2) {
|
|
17349
|
-
var c$1 = -1, l = o$1, f = t$9.length, p$
|
|
17350
|
-
if (r$2) p$
|
|
17416
|
+
var c$1 = -1, l = o$1, f = t$9.length, p$2 = !0, d$1 = [], h$2 = d$1;
|
|
17417
|
+
if (r$2) p$2 = !1, l = i$1;
|
|
17351
17418
|
else if (f >= 200) {
|
|
17352
17419
|
var v = e$2 ? null : s$1(t$9);
|
|
17353
17420
|
if (v) return u$1(v);
|
|
17354
|
-
p$
|
|
17421
|
+
p$2 = !1, l = a$1, h$2 = new n$2();
|
|
17355
17422
|
} else h$2 = e$2 ? [] : d$1;
|
|
17356
17423
|
t: for (; ++c$1 < f;) {
|
|
17357
17424
|
var y$1 = t$9[c$1], m$1 = e$2 ? e$2(y$1) : y$1;
|
|
17358
|
-
if (y$1 = r$2 || 0 !== y$1 ? y$1 : 0, p$
|
|
17425
|
+
if (y$1 = r$2 || 0 !== y$1 ? y$1 : 0, p$2 && m$1 == m$1) {
|
|
17359
17426
|
for (var T = h$2.length; T--;) if (h$2[T] === m$1) continue t;
|
|
17360
17427
|
e$2 && h$2.push(m$1), d$1.push(y$1);
|
|
17361
17428
|
} else l(h$2, m$1, r$2) || (h$2 !== d$1 && h$2.push(m$1), d$1.push(y$1));
|
|
@@ -17562,8 +17629,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17562
17629
|
t$8.exports = function(t$9, e$2, r$2, a$1, s$1, u$1) {
|
|
17563
17630
|
var c$1 = 1 & r$2, l = t$9.length, f = e$2.length;
|
|
17564
17631
|
if (l != f && !(c$1 && f > l)) return !1;
|
|
17565
|
-
var p$
|
|
17566
|
-
if (p$
|
|
17632
|
+
var p$2 = u$1.get(t$9), d$1 = u$1.get(e$2);
|
|
17633
|
+
if (p$2 && d$1) return p$2 == e$2 && d$1 == t$9;
|
|
17567
17634
|
var h$2 = -1, v = !0, y$1 = 2 & r$2 ? new n$2() : void 0;
|
|
17568
17635
|
for (u$1.set(t$9, e$2), u$1.set(e$2, t$9); ++h$2 < l;) {
|
|
17569
17636
|
var m$1 = t$9[h$2], T = e$2[h$2];
|
|
@@ -17590,7 +17657,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17590
17657
|
},
|
|
17591
17658
|
1491: (t$8, e$1, r$1) => {
|
|
17592
17659
|
var n$2 = r$1(857), o$1 = r$1(9162), i$1 = r$1(1225), a$1 = r$1(4871), s$1 = r$1(5179), u$1 = r$1(4207), c$1 = n$2 ? n$2.prototype : void 0, l = c$1 ? c$1.valueOf : void 0;
|
|
17593
|
-
t$8.exports = function(t$9, e$2, r$2, n$3, c$2, f, p$
|
|
17660
|
+
t$8.exports = function(t$9, e$2, r$2, n$3, c$2, f, p$2) {
|
|
17594
17661
|
switch (r$2) {
|
|
17595
17662
|
case "[object DataView]":
|
|
17596
17663
|
if (t$9.byteLength != e$2.byteLength || t$9.byteOffset != e$2.byteOffset) return !1;
|
|
@@ -17606,11 +17673,11 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17606
17673
|
case "[object Set]":
|
|
17607
17674
|
var h$2 = 1 & n$3;
|
|
17608
17675
|
if (d$1 || (d$1 = u$1), t$9.size != e$2.size && !h$2) return !1;
|
|
17609
|
-
var v = p$
|
|
17676
|
+
var v = p$2.get(t$9);
|
|
17610
17677
|
if (v) return v == e$2;
|
|
17611
|
-
n$3 |= 2, p$
|
|
17612
|
-
var y$1 = a$1(d$1(t$9), d$1(e$2), n$3, c$2, f, p$
|
|
17613
|
-
return p$
|
|
17678
|
+
n$3 |= 2, p$2.set(t$9, e$2);
|
|
17679
|
+
var y$1 = a$1(d$1(t$9), d$1(e$2), n$3, c$2, f, p$2);
|
|
17680
|
+
return p$2.delete(t$9), y$1;
|
|
17614
17681
|
case "[object Symbol]": if (l) return l.call(t$9) == l.call(e$2);
|
|
17615
17682
|
}
|
|
17616
17683
|
return !1;
|
|
@@ -17622,21 +17689,21 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17622
17689
|
var u$1 = 1 & r$2, c$1 = n$2(t$9), l = c$1.length;
|
|
17623
17690
|
if (l != n$2(e$2).length && !u$1) return !1;
|
|
17624
17691
|
for (var f = l; f--;) {
|
|
17625
|
-
var p$
|
|
17626
|
-
if (!(u$1 ? p$
|
|
17692
|
+
var p$2 = c$1[f];
|
|
17693
|
+
if (!(u$1 ? p$2 in e$2 : o$1.call(e$2, p$2))) return !1;
|
|
17627
17694
|
}
|
|
17628
17695
|
var d$1 = s$1.get(t$9), h$2 = s$1.get(e$2);
|
|
17629
17696
|
if (d$1 && h$2) return d$1 == e$2 && h$2 == t$9;
|
|
17630
17697
|
var v = !0;
|
|
17631
17698
|
s$1.set(t$9, e$2), s$1.set(e$2, t$9);
|
|
17632
17699
|
for (var y$1 = u$1; ++f < l;) {
|
|
17633
|
-
var m$1 = t$9[p$
|
|
17634
|
-
if (i$1) var E = u$1 ? i$1(T, m$1, p$
|
|
17700
|
+
var m$1 = t$9[p$2 = c$1[f]], T = e$2[p$2];
|
|
17701
|
+
if (i$1) var E = u$1 ? i$1(T, m$1, p$2, e$2, t$9, s$1) : i$1(m$1, T, p$2, t$9, e$2, s$1);
|
|
17635
17702
|
if (!(void 0 === E ? m$1 === T || a$1(m$1, T, r$2, i$1, s$1) : E)) {
|
|
17636
17703
|
v = !1;
|
|
17637
17704
|
break;
|
|
17638
17705
|
}
|
|
17639
|
-
y$1 || (y$1 = "constructor" == p$
|
|
17706
|
+
y$1 || (y$1 = "constructor" == p$2);
|
|
17640
17707
|
}
|
|
17641
17708
|
if (v && !y$1) {
|
|
17642
17709
|
var _ = t$9.constructor, g = e$2.constructor;
|
|
@@ -17719,14 +17786,14 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17719
17786
|
} : a$1;
|
|
17720
17787
|
},
|
|
17721
17788
|
940: (t$8, e$1, r$1) => {
|
|
17722
|
-
var n$2 = r$1(9515), o$1 = r$1(326), i$1 = r$1(2760), a$1 = r$1(2143), s$1 = r$1(3215), u$1 = r$1(3366), c$1 = r$1(7035), l = "[object Map]", f = "[object Promise]", p$
|
|
17723
|
-
(n$2 && _(new n$2(/* @__PURE__ */ new ArrayBuffer(1))) != h$2 || o$1 && _(new o$1()) != l || i$1 && _(i$1.resolve()) != f || a$1 && _(new a$1()) != p$
|
|
17789
|
+
var n$2 = r$1(9515), o$1 = r$1(326), i$1 = r$1(2760), a$1 = r$1(2143), s$1 = r$1(3215), u$1 = r$1(3366), c$1 = r$1(7035), l = "[object Map]", f = "[object Promise]", p$2 = "[object Set]", d$1 = "[object WeakMap]", h$2 = "[object DataView]", v = c$1(n$2), y$1 = c$1(o$1), m$1 = c$1(i$1), T = c$1(a$1), E = c$1(s$1), _ = u$1;
|
|
17790
|
+
(n$2 && _(new n$2(/* @__PURE__ */ new ArrayBuffer(1))) != h$2 || o$1 && _(new o$1()) != l || i$1 && _(i$1.resolve()) != f || a$1 && _(new a$1()) != p$2 || s$1 && _(new s$1()) != d$1) && (_ = function(t$9) {
|
|
17724
17791
|
var e$2 = u$1(t$9), r$2 = "[object Object]" == e$2 ? t$9.constructor : void 0, n$3 = r$2 ? c$1(r$2) : "";
|
|
17725
17792
|
if (n$3) switch (n$3) {
|
|
17726
17793
|
case v: return h$2;
|
|
17727
17794
|
case y$1: return l;
|
|
17728
17795
|
case m$1: return f;
|
|
17729
|
-
case T: return p$
|
|
17796
|
+
case T: return p$2;
|
|
17730
17797
|
case E: return d$1;
|
|
17731
17798
|
}
|
|
17732
17799
|
return e$2;
|
|
@@ -17741,11 +17808,11 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
17741
17808
|
var n$2 = r$1(7297), o$1 = r$1(9631), i$1 = r$1(6152), a$1 = r$1(9045), s$1 = r$1(1158), u$1 = r$1(3812);
|
|
17742
17809
|
t$8.exports = function(t$9, e$2, r$2) {
|
|
17743
17810
|
for (var c$1 = -1, l = (e$2 = n$2(e$2, t$9)).length, f = !1; ++c$1 < l;) {
|
|
17744
|
-
var p$
|
|
17745
|
-
if (!(f = null != t$9 && r$2(t$9, p$
|
|
17746
|
-
t$9 = t$9[p$
|
|
17811
|
+
var p$2 = u$1(e$2[c$1]);
|
|
17812
|
+
if (!(f = null != t$9 && r$2(t$9, p$2))) break;
|
|
17813
|
+
t$9 = t$9[p$2];
|
|
17747
17814
|
}
|
|
17748
|
-
return f || ++c$1 != l ? f : !!(l = null == t$9 ? 0 : t$9.length) && s$1(l) && a$1(p$
|
|
17815
|
+
return f || ++c$1 != l ? f : !!(l = null == t$9 ? 0 : t$9.length) && s$1(l) && a$1(p$2, l) && (i$1(t$9) || o$1(t$9));
|
|
17749
17816
|
};
|
|
17750
17817
|
},
|
|
17751
17818
|
3880: (t$8) => {
|
|
@@ -18196,8 +18263,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
18196
18263
|
t$8.exports = n$2((function(t$9, e$2) {
|
|
18197
18264
|
t$9 = Object(t$9);
|
|
18198
18265
|
var r$2 = -1, n$3 = e$2.length, c$1 = n$3 > 2 ? e$2[2] : void 0;
|
|
18199
|
-
for (c$1 && i$1(e$2[0], e$2[1], c$1) && (n$3 = 1); ++r$2 < n$3;) for (var l = e$2[r$2], f = a$1(l), p$
|
|
18200
|
-
var h$2 = f[p$
|
|
18266
|
+
for (c$1 && i$1(e$2[0], e$2[1], c$1) && (n$3 = 1); ++r$2 < n$3;) for (var l = e$2[r$2], f = a$1(l), p$2 = -1, d$1 = f.length; ++p$2 < d$1;) {
|
|
18267
|
+
var h$2 = f[p$2], v = t$9[h$2];
|
|
18201
18268
|
(void 0 === v || o$1(v, s$1[h$2]) && !u$1.call(t$9, h$2)) && (t$9[h$2] = l[h$2]);
|
|
18202
18269
|
}
|
|
18203
18270
|
return t$9;
|
|
@@ -19117,15 +19184,15 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19117
19184
|
i$1(" "),
|
|
19118
19185
|
i$1("")
|
|
19119
19186
|
];
|
|
19120
|
-
function p$
|
|
19121
|
-
return p$
|
|
19187
|
+
function p$2() {}
|
|
19188
|
+
return p$2.prototype.visitChildren = function(t$10) {
|
|
19122
19189
|
for (var e$3 in t$10) {
|
|
19123
19190
|
var r$3 = t$10[e$3];
|
|
19124
19191
|
t$10.hasOwnProperty(e$3) && (void 0 !== r$3.type ? this.visit(r$3) : Array.isArray(r$3) && r$3.forEach((function(t$11) {
|
|
19125
19192
|
this.visit(t$11);
|
|
19126
19193
|
}), this));
|
|
19127
19194
|
}
|
|
19128
|
-
}, p$
|
|
19195
|
+
}, p$2.prototype.visit = function(t$10) {
|
|
19129
19196
|
switch (t$10.type) {
|
|
19130
19197
|
case "Pattern":
|
|
19131
19198
|
this.visitPattern(t$10);
|
|
@@ -19172,9 +19239,9 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19172
19239
|
case "Quantifier": this.visitQuantifier(t$10);
|
|
19173
19240
|
}
|
|
19174
19241
|
this.visitChildren(t$10);
|
|
19175
|
-
}, p$
|
|
19242
|
+
}, p$2.prototype.visitPattern = function(t$10) {}, p$2.prototype.visitFlags = function(t$10) {}, p$2.prototype.visitDisjunction = function(t$10) {}, p$2.prototype.visitAlternative = function(t$10) {}, p$2.prototype.visitStartAnchor = function(t$10) {}, p$2.prototype.visitEndAnchor = function(t$10) {}, p$2.prototype.visitWordBoundary = function(t$10) {}, p$2.prototype.visitNonWordBoundary = function(t$10) {}, p$2.prototype.visitLookahead = function(t$10) {}, p$2.prototype.visitNegativeLookahead = function(t$10) {}, p$2.prototype.visitCharacter = function(t$10) {}, p$2.prototype.visitSet = function(t$10) {}, p$2.prototype.visitGroup = function(t$10) {}, p$2.prototype.visitGroupBackReference = function(t$10) {}, p$2.prototype.visitQuantifier = function(t$10) {}, {
|
|
19176
19243
|
RegExpParser: t$9,
|
|
19177
|
-
BaseRegExpVisitor: p$
|
|
19244
|
+
BaseRegExpVisitor: p$2,
|
|
19178
19245
|
VERSION: "0.5.0"
|
|
19179
19246
|
};
|
|
19180
19247
|
}) ? r$1.apply(e$1, []) : r$1) || (t$8.exports = n$2);
|
|
@@ -19216,7 +19283,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19216
19283
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
19217
19284
|
};
|
|
19218
19285
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.validateRedundantMethods = e$1.validateMissingCstMethods = e$1.validateVisitor = e$1.CstVisitorDefinitionError = e$1.createBaseVisitorConstructorWithDefaults = e$1.createBaseSemanticVisitorConstructor = e$1.defaultVisit = void 0;
|
|
19219
|
-
var o$1, i$1 = n$2(r$1(5455)), a$1 = n$2(r$1(417)), s$1 = n$2(r$1(6152)), u$1 = n$2(r$1(6760)), c$1 = n$2(r$1(9756)), l = n$2(r$1(882)), f = n$2(r$1(249)), p$
|
|
19286
|
+
var o$1, i$1 = n$2(r$1(5455)), a$1 = n$2(r$1(417)), s$1 = n$2(r$1(6152)), u$1 = n$2(r$1(6760)), c$1 = n$2(r$1(9756)), l = n$2(r$1(882)), f = n$2(r$1(249)), p$2 = n$2(r$1(1049)), d$1 = n$2(r$1(4336)), h$2 = n$2(r$1(1886)), v = r$1(4105);
|
|
19220
19287
|
function y$1(t$9, e$2) {
|
|
19221
19288
|
for (var r$2 = (0, f.default)(t$9), n$3 = r$2.length, o$2 = 0; o$2 < n$3; o$2++) for (var i$2 = t$9[r$2[o$2]], a$2 = i$2.length, s$2 = 0; s$2 < a$2; s$2++) {
|
|
19222
19289
|
var u$2 = i$2[s$2];
|
|
@@ -19229,7 +19296,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19229
19296
|
}
|
|
19230
19297
|
function T(t$9, e$2) {
|
|
19231
19298
|
var r$2 = (0, l.default)(e$2, (function(e$3) {
|
|
19232
|
-
return !1 === (0, p$
|
|
19299
|
+
return !1 === (0, p$2.default)(t$9[e$3]);
|
|
19233
19300
|
})), n$3 = (0, u$1.default)(r$2, (function(e$3) {
|
|
19234
19301
|
return {
|
|
19235
19302
|
msg: "Missing visitor method: <".concat(e$3, "> on ").concat(t$9.constructor.name, " CST Visitor."),
|
|
@@ -19272,7 +19339,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19272
19339
|
];
|
|
19273
19340
|
function _(t$9, e$2) {
|
|
19274
19341
|
var r$2 = [];
|
|
19275
|
-
for (var n$3 in t$9) !(0, p$
|
|
19342
|
+
for (var n$3 in t$9) !(0, p$2.default)(t$9[n$3]) || (0, h$2.default)(E, n$3) || (0, h$2.default)(e$2, n$3) || r$2.push({
|
|
19276
19343
|
msg: "Redundant visitor method: <".concat(n$3, "> on ").concat(t$9.constructor.name, " CST Visitor\n") + "There is no Grammar Rule corresponding to this method's name.\n",
|
|
19277
19344
|
type: o$1.REDUNDANT_METHOD,
|
|
19278
19345
|
methodName: n$3
|
|
@@ -19305,10 +19372,10 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19305
19372
|
return "[".concat((0, a$1.default)(t$10, (function(t$11) {
|
|
19306
19373
|
return (0, o$1.tokenLabel)(t$11);
|
|
19307
19374
|
})).join(", "), "]");
|
|
19308
|
-
})), p$
|
|
19375
|
+
})), p$2 = (0, a$1.default)(f, (function(t$10, e$3) {
|
|
19309
19376
|
return " ".concat(e$3 + 1, ". ").concat(t$10);
|
|
19310
19377
|
}));
|
|
19311
|
-
return u$2 + "one of these possible Token sequences:\n".concat(p$
|
|
19378
|
+
return u$2 + "one of these possible Token sequences:\n".concat(p$2.join("\n")) + c$2;
|
|
19312
19379
|
},
|
|
19313
19380
|
buildEarlyExitMessage: function(t$9) {
|
|
19314
19381
|
var e$2 = t$9.expectedIterationPaths, r$2 = t$9.actual, n$3 = t$9.customUserDescription, s$2 = (t$9.ruleName, "Expecting: "), u$2 = "\nbut found: '" + (0, i$1.default)(r$2).image + "'";
|
|
@@ -19324,8 +19391,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19324
19391
|
return "Invalid grammar, reference to a rule which is not defined: ->" + e$2.nonTerminalName + "<-\ninside top level rule: ->" + t$9.name + "<-";
|
|
19325
19392
|
} }, e$1.defaultGrammarValidatorErrorProvider = {
|
|
19326
19393
|
buildDuplicateFoundError: function(t$9, e$2) {
|
|
19327
|
-
var r$2, n$3 = t$9.name, o$2 = (0, i$1.default)(e$2), a$2 = o$2.idx, s$2 = (0, c$1.getProductionDslName)(o$2), l = (r$2 = o$2) instanceof u$1.Terminal ? r$2.terminalType.name : r$2 instanceof u$1.NonTerminal ? r$2.nonTerminalName : "", f = a$2 > 0, p$
|
|
19328
|
-
return (p$
|
|
19394
|
+
var r$2, n$3 = t$9.name, o$2 = (0, i$1.default)(e$2), a$2 = o$2.idx, s$2 = (0, c$1.getProductionDslName)(o$2), l = (r$2 = o$2) instanceof u$1.Terminal ? r$2.terminalType.name : r$2 instanceof u$1.NonTerminal ? r$2.nonTerminalName : "", f = a$2 > 0, p$2 = "->".concat(s$2).concat(f ? a$2 : "", "<- ").concat(l ? "with argument: ->".concat(l, "<-") : "", "\n appears more than once (").concat(e$2.length, " times) in the top level rule: ->").concat(n$3, "<-. \n For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES \n ");
|
|
19395
|
+
return (p$2 = p$2.replace(/[ \t]+/g, " ")).replace(/\s\s+/g, "\n");
|
|
19329
19396
|
},
|
|
19330
19397
|
buildNamespaceConflictError: function(t$9) {
|
|
19331
19398
|
return "Namespace conflict found in grammar.\n" + "The grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <".concat(t$9.name, ">.\n") + "To resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter.";
|
|
@@ -19396,7 +19463,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19396
19463
|
Object.freeze(f), e$1.isRecognitionException = function(t$9) {
|
|
19397
19464
|
return (0, a$1.default)(f, t$9.name);
|
|
19398
19465
|
};
|
|
19399
|
-
var p$
|
|
19466
|
+
var p$2 = function(t$9) {
|
|
19400
19467
|
function e$2(e$3, r$2) {
|
|
19401
19468
|
var n$3 = this.constructor, o$2 = t$9.call(this, e$3) || this;
|
|
19402
19469
|
return o$2.token = r$2, o$2.resyncedTokens = [], Object.setPrototypeOf(o$2, n$3.prototype), Error.captureStackTrace && Error.captureStackTrace(o$2, o$2.constructor), o$2;
|
|
@@ -19409,28 +19476,28 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19409
19476
|
return o$2.previousToken = n$3, o$2.name = s$1, o$2;
|
|
19410
19477
|
}
|
|
19411
19478
|
return o$1(e$2, t$9), e$2;
|
|
19412
|
-
}(p$
|
|
19479
|
+
}(p$2);
|
|
19413
19480
|
e$1.NoViableAltException = function(t$9) {
|
|
19414
19481
|
function e$2(e$3, r$2, n$3) {
|
|
19415
19482
|
var o$2 = t$9.call(this, e$3, r$2) || this;
|
|
19416
19483
|
return o$2.previousToken = n$3, o$2.name = u$1, o$2;
|
|
19417
19484
|
}
|
|
19418
19485
|
return o$1(e$2, t$9), e$2;
|
|
19419
|
-
}(p$
|
|
19486
|
+
}(p$2);
|
|
19420
19487
|
e$1.NotAllInputParsedException = function(t$9) {
|
|
19421
19488
|
function e$2(e$3, r$2) {
|
|
19422
19489
|
var n$3 = t$9.call(this, e$3, r$2) || this;
|
|
19423
19490
|
return n$3.name = l, n$3;
|
|
19424
19491
|
}
|
|
19425
19492
|
return o$1(e$2, t$9), e$2;
|
|
19426
|
-
}(p$
|
|
19493
|
+
}(p$2);
|
|
19427
19494
|
e$1.EarlyExitException = function(t$9) {
|
|
19428
19495
|
function e$2(e$3, r$2, n$3) {
|
|
19429
19496
|
var o$2 = t$9.call(this, e$3, r$2) || this;
|
|
19430
19497
|
return o$2.previousToken = n$3, o$2.name = c$1, o$2;
|
|
19431
19498
|
}
|
|
19432
19499
|
return o$1(e$2, t$9), e$2;
|
|
19433
|
-
}(p$
|
|
19500
|
+
}(p$2);
|
|
19434
19501
|
},
|
|
19435
19502
|
3870: function(t$8, e$1, r$1) {
|
|
19436
19503
|
var n$2, o$1 = this && this.__extends || (n$2 = function(t$9, e$2) {
|
|
@@ -19449,7 +19516,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19449
19516
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
19450
19517
|
};
|
|
19451
19518
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.checkPrefixAlternativesAmbiguities = e$1.validateSomeNonEmptyLookaheadPath = e$1.validateTooManyAlts = e$1.RepetitionCollector = e$1.validateAmbiguousAlternationAlternatives = e$1.validateEmptyOrAlternative = e$1.getFirstNoneTerminal = e$1.validateNoLeftRecursion = e$1.validateRuleIsOverridden = e$1.validateRuleDoesNotAlreadyExist = e$1.OccurrenceValidationCollector = e$1.identifyProductionForDuplicates = e$1.validateGrammar = void 0;
|
|
19452
|
-
var a$1 = i$1(r$1(3237)), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(7264)), c$1 = i$1(r$1(5676)), l = i$1(r$1(882)), f = i$1(r$1(2070)), p$
|
|
19519
|
+
var a$1 = i$1(r$1(3237)), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(7264)), c$1 = i$1(r$1(5676)), l = i$1(r$1(882)), f = i$1(r$1(2070)), p$2 = i$1(r$1(7335)), d$1 = i$1(r$1(6760)), h$2 = i$1(r$1(9756)), v = i$1(r$1(3440)), y$1 = i$1(r$1(8215)), m$1 = i$1(r$1(2208)), T = i$1(r$1(8346)), E = i$1(r$1(1886)), _ = i$1(r$1(5838)), g = i$1(r$1(4004)), O = r$1(2941), R$2 = r$1(7729), A = r$1(4677), I = r$1(9985), x = r$1(7729), N = r$1(7729), P = i$1(r$1(4934)), S = i$1(r$1(417)), b = r$1(1201);
|
|
19453
19520
|
function k(t$9) {
|
|
19454
19521
|
return "".concat((0, R$2.getProductionDslName)(t$9), "_#_").concat(t$9.idx, "_#_").concat(L(t$9));
|
|
19455
19522
|
}
|
|
@@ -19483,7 +19550,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19483
19550
|
})), l$1 = (0, _.default)(t$9, (function(t$10) {
|
|
19484
19551
|
return U(t$10, e$2, n$3);
|
|
19485
19552
|
})), f$1 = W(t$9, e$2, n$3));
|
|
19486
|
-
var p$
|
|
19553
|
+
var p$3 = function(t$10, e$3, r$3) {
|
|
19487
19554
|
var n$4 = [], o$3 = (0, d$1.default)(e$3, (function(t$11) {
|
|
19488
19555
|
return t$11.name;
|
|
19489
19556
|
}));
|
|
@@ -19503,7 +19570,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19503
19570
|
})), g$1 = (0, _.default)(t$9, (function(e$3) {
|
|
19504
19571
|
return M(e$3, t$9, o$2, n$3);
|
|
19505
19572
|
}));
|
|
19506
|
-
return i$2.concat(f$1, u$2, c$2, l$1, p$
|
|
19573
|
+
return i$2.concat(f$1, u$2, c$2, l$1, p$3, y$2, g$1);
|
|
19507
19574
|
}, e$1.identifyProductionForDuplicates = k;
|
|
19508
19575
|
var C = function(t$9) {
|
|
19509
19576
|
function e$2() {
|
|
@@ -19558,7 +19625,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19558
19625
|
type: O.ParserDefinitionErrorType.LEFT_RECURSION,
|
|
19559
19626
|
ruleName: a$2
|
|
19560
19627
|
});
|
|
19561
|
-
var u$2 = (0, p$
|
|
19628
|
+
var u$2 = (0, p$2.default)(i$2, n$3.concat([t$9])), c$2 = (0, _.default)(u$2, (function(e$3) {
|
|
19562
19629
|
var o$3 = (0, g.default)(n$3);
|
|
19563
19630
|
return o$3.push(e$3), D(t$9, e$3, r$2, o$3);
|
|
19564
19631
|
}));
|
|
@@ -19756,7 +19823,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19756
19823
|
var o$1 = n$2(r$1(5676)), i$1 = n$2(r$1(5652)), a$1 = n$2(r$1(6760)), s$1 = r$1(7729), u$1 = r$1(7729);
|
|
19757
19824
|
function c$1(t$9) {
|
|
19758
19825
|
if (t$9 instanceof s$1.NonTerminal) return c$1(t$9.referencedRule);
|
|
19759
|
-
if (t$9 instanceof s$1.Terminal) return p$
|
|
19826
|
+
if (t$9 instanceof s$1.Terminal) return p$2(t$9);
|
|
19760
19827
|
if ((0, u$1.isSequenceProd)(t$9)) return l(t$9);
|
|
19761
19828
|
if ((0, u$1.isBranchingProd)(t$9)) return f(t$9);
|
|
19762
19829
|
throw Error("non exhaustive match");
|
|
@@ -19771,10 +19838,10 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19771
19838
|
}));
|
|
19772
19839
|
return (0, i$1.default)((0, o$1.default)(e$2));
|
|
19773
19840
|
}
|
|
19774
|
-
function p$
|
|
19841
|
+
function p$2(t$9) {
|
|
19775
19842
|
return [t$9.terminalType];
|
|
19776
19843
|
}
|
|
19777
|
-
e$1.first = c$1, e$1.firstForSequence = l, e$1.firstForBranching = f, e$1.firstForTerminal = p$
|
|
19844
|
+
e$1.first = c$1, e$1.firstForSequence = l, e$1.firstForBranching = f, e$1.firstForTerminal = p$2;
|
|
19778
19845
|
},
|
|
19779
19846
|
4917: function(t$8, e$1, r$1) {
|
|
19780
19847
|
var n$2, o$1 = this && this.__extends || (n$2 = function(t$9, e$2) {
|
|
@@ -19793,7 +19860,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19793
19860
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
19794
19861
|
};
|
|
19795
19862
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.buildInProdFollowPrefix = e$1.buildBetweenProdsFollowPrefix = e$1.computeAllProdsFollows = e$1.ResyncFollowsWalker = void 0;
|
|
19796
|
-
var a$1 = r$1(8567), s$1 = r$1(8052), u$1 = i$1(r$1(9756)), c$1 = i$1(r$1(19)), l = r$1(3710), f = r$1(7729), p$
|
|
19863
|
+
var a$1 = r$1(8567), s$1 = r$1(8052), u$1 = i$1(r$1(9756)), c$1 = i$1(r$1(19)), l = r$1(3710), f = r$1(7729), p$2 = function(t$9) {
|
|
19797
19864
|
function e$2(e$3) {
|
|
19798
19865
|
var r$2 = t$9.call(this) || this;
|
|
19799
19866
|
return r$2.topProd = e$3, r$2.follows = {}, r$2;
|
|
@@ -19808,10 +19875,10 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19808
19875
|
function d$1(t$9, e$2) {
|
|
19809
19876
|
return t$9.name + e$2 + l.IN;
|
|
19810
19877
|
}
|
|
19811
|
-
e$1.ResyncFollowsWalker = p$
|
|
19878
|
+
e$1.ResyncFollowsWalker = p$2, e$1.computeAllProdsFollows = function(t$9) {
|
|
19812
19879
|
var e$2 = {};
|
|
19813
19880
|
return (0, u$1.default)(t$9, (function(t$10) {
|
|
19814
|
-
var r$2 = new p$
|
|
19881
|
+
var r$2 = new p$2(t$10).startWalking();
|
|
19815
19882
|
(0, c$1.default)(e$2, r$2);
|
|
19816
19883
|
})), e$2;
|
|
19817
19884
|
}, e$1.buildBetweenProdsFollowPrefix = d$1, e$1.buildInProdFollowPrefix = function(t$9) {
|
|
@@ -19850,7 +19917,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19850
19917
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
19851
19918
|
};
|
|
19852
19919
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.nextPossibleTokensAfter = e$1.possiblePathsFrom = e$1.NextTerminalAfterAtLeastOneSepWalker = e$1.NextTerminalAfterAtLeastOneWalker = e$1.NextTerminalAfterManySepWalker = e$1.NextTerminalAfterManyWalker = e$1.AbstractNextTerminalAfterProductionWalker = e$1.NextAfterTokenWalker = e$1.AbstractNextPossibleTokensWalker = void 0;
|
|
19853
|
-
var a$1 = r$1(8567), s$1 = i$1(r$1(3237)), u$1 = i$1(r$1(5455)), c$1 = i$1(r$1(4934)), l = i$1(r$1(7264)), f = i$1(r$1(6974)), p$
|
|
19920
|
+
var a$1 = r$1(8567), s$1 = i$1(r$1(3237)), u$1 = i$1(r$1(5455)), c$1 = i$1(r$1(4934)), l = i$1(r$1(7264)), f = i$1(r$1(6974)), p$2 = i$1(r$1(9756)), d$1 = i$1(r$1(4004)), h$2 = r$1(8052), v = r$1(7729), y$1 = function(t$9) {
|
|
19854
19921
|
function e$2(e$3, r$2) {
|
|
19855
19922
|
var n$3 = t$9.call(this) || this;
|
|
19856
19923
|
return n$3.topProd = e$3, n$3.path = r$2, n$3.possibleTokTypes = [], n$3.nextProductionName = "", n$3.nextProductionOccurrence = 0, n$3.found = !1, n$3.isAtEndOfPath = !1, n$3;
|
|
@@ -19971,7 +20038,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19971
20038
|
o$2 = a$2(c$2);
|
|
19972
20039
|
} else if (s$2 instanceof v.Repetition) c$2 = s$2.definition.concat([new v.Repetition({ definition: s$2.definition })]), o$2 = a$2(c$2);
|
|
19973
20040
|
else {
|
|
19974
|
-
if (s$2 instanceof v.Alternation) return (0, p$
|
|
20041
|
+
if (s$2 instanceof v.Alternation) return (0, p$2.default)(s$2.definition, (function(t$10) {
|
|
19975
20042
|
!1 === (0, u$1.default)(t$10.definition) && (o$2 = a$2(t$10.definition));
|
|
19976
20043
|
})), o$2;
|
|
19977
20044
|
if (!(s$2 instanceof v.Terminal)) throw Error("non exhaustive match");
|
|
@@ -19985,7 +20052,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
19985
20052
|
suffixDef: (0, l.default)(e$2, i$2)
|
|
19986
20053
|
}), o$2;
|
|
19987
20054
|
}, e$1.nextPossibleTokensAfter = function(t$9, e$2, r$2, n$3) {
|
|
19988
|
-
var o$2 = "EXIT_NONE_TERMINAL", i$2 = [o$2], a$2 = "EXIT_ALTERNATIVE", s$2 = !1, p$
|
|
20055
|
+
var o$2 = "EXIT_NONE_TERMINAL", i$2 = [o$2], a$2 = "EXIT_ALTERNATIVE", s$2 = !1, p$3 = e$2.length, h$3 = p$3 - n$3 - 1, y$2 = [], m$1 = [];
|
|
19989
20056
|
for (m$1.push({
|
|
19990
20057
|
idx: -1,
|
|
19991
20058
|
def: t$9,
|
|
@@ -20005,7 +20072,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20005
20072
|
occurrenceStack: (0, c$1.default)(O$1)
|
|
20006
20073
|
};
|
|
20007
20074
|
m$1.push(I);
|
|
20008
|
-
} else if (A instanceof v.Terminal) if (_ < p$
|
|
20075
|
+
} else if (A instanceof v.Terminal) if (_ < p$3 - 1) {
|
|
20009
20076
|
var x = _ + 1;
|
|
20010
20077
|
r$2(e$2[x], A.terminalType) && (I = {
|
|
20011
20078
|
idx: x,
|
|
@@ -20014,7 +20081,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20014
20081
|
occurrenceStack: O$1
|
|
20015
20082
|
}, m$1.push(I));
|
|
20016
20083
|
} else {
|
|
20017
|
-
if (_ !== p$
|
|
20084
|
+
if (_ !== p$3 - 1) throw Error("non exhaustive match");
|
|
20018
20085
|
y$2.push({
|
|
20019
20086
|
nextTokenType: A.terminalType,
|
|
20020
20087
|
nextTokenOccurrence: A.idx,
|
|
@@ -20147,7 +20214,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20147
20214
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
20148
20215
|
};
|
|
20149
20216
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.areTokenCategoriesNotUsed = e$1.isStrictPrefixOfPath = e$1.containsPath = e$1.getLookaheadPathsForOptionalProd = e$1.getLookaheadPathsForOr = e$1.lookAheadSequenceFromAlternatives = e$1.buildSingleAlternativeLookaheadFunction = e$1.buildAlternativesLookAheadFunc = e$1.buildLookaheadFuncForOptionalProd = e$1.buildLookaheadFuncForOr = e$1.getProdType = e$1.PROD_TYPE = void 0;
|
|
20150
|
-
var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(9794)), l = i$1(r$1(6760)), f = i$1(r$1(9756)), p$
|
|
20217
|
+
var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(9794)), l = i$1(r$1(6760)), f = i$1(r$1(9756)), p$2 = i$1(r$1(3352)), d$1 = i$1(r$1(8215)), h$2 = r$1(9985), v = r$1(8567), y$1 = r$1(1201), m$1 = r$1(7729), T = r$1(7729);
|
|
20151
20218
|
(function(t$9) {
|
|
20152
20219
|
t$9[t$9.OPTION = 0] = "OPTION", t$9[t$9.REPETITION = 1] = "REPETITION", t$9[t$9.REPETITION_MANDATORY = 2] = "REPETITION_MANDATORY", t$9[t$9.REPETITION_MANDATORY_WITH_SEPARATOR = 3] = "REPETITION_MANDATORY_WITH_SEPARATOR", t$9[t$9.REPETITION_WITH_SEPARATOR = 4] = "REPETITION_WITH_SEPARATOR", t$9[t$9.ALTERNATION = 5] = "ALTERNATION";
|
|
20153
20220
|
})(a$1 = e$1.PROD_TYPE || (e$1.PROD_TYPE = {})), e$1.getProdType = function(t$9) {
|
|
@@ -20176,7 +20243,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20176
20243
|
})), i$3 = 0; i$3 < o$2; i$3++) {
|
|
20177
20244
|
var a$3 = t$9[i$3], s$3 = a$3.length, u$2 = n$4[i$3];
|
|
20178
20245
|
if (void 0 === u$2 || !1 !== u$2.call(this)) t: for (var c$2 = 0; c$2 < s$3; c$2++) {
|
|
20179
|
-
for (var f$1 = a$3[c$2], p$
|
|
20246
|
+
for (var f$1 = a$3[c$2], p$3 = f$1.length, d$2 = 0; d$2 < p$3; d$2++) if (!1 === r$2(this.LA(d$2 + 1), f$1[d$2])) continue t;
|
|
20180
20247
|
return i$3;
|
|
20181
20248
|
}
|
|
20182
20249
|
}
|
|
@@ -20186,8 +20253,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20186
20253
|
return (0, u$1.default)(t$10);
|
|
20187
20254
|
})), s$2 = (0, d$1.default)(a$2, (function(t$10, e$3, r$3) {
|
|
20188
20255
|
return (0, f.default)(e$3, (function(e$4) {
|
|
20189
|
-
(0, p$
|
|
20190
|
-
(0, p$
|
|
20256
|
+
(0, p$2.default)(t$10, e$4.tokenTypeIdx) || (t$10[e$4.tokenTypeIdx] = r$3), (0, f.default)(e$4.categoryMatches, (function(e$5) {
|
|
20257
|
+
(0, p$2.default)(t$10, e$5) || (t$10[e$5] = r$3);
|
|
20191
20258
|
}));
|
|
20192
20259
|
})), t$10;
|
|
20193
20260
|
}), {});
|
|
@@ -20314,8 +20381,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20314
20381
|
i$2 = g(u$2.length);
|
|
20315
20382
|
for (var c$2 = function(t$10) {
|
|
20316
20383
|
for (var r$3 = u$2[t$10], c$3 = 0; c$3 < r$3.length; c$3++) {
|
|
20317
|
-
var l$1 = r$3[c$3].partialPath, p$
|
|
20318
|
-
if (R$2(o$2, d$2, t$10) || (0, s$1.default)(p$
|
|
20384
|
+
var l$1 = r$3[c$3].partialPath, p$4 = r$3[c$3].suffixDef, d$2 = O(l$1);
|
|
20385
|
+
if (R$2(o$2, d$2, t$10) || (0, s$1.default)(p$4) || l$1.length === e$2) {
|
|
20319
20386
|
var v$1 = n$3[t$10];
|
|
20320
20387
|
if (!1 === N(v$1, l$1)) {
|
|
20321
20388
|
v$1.push(l$1);
|
|
@@ -20325,7 +20392,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20325
20392
|
}
|
|
20326
20393
|
}
|
|
20327
20394
|
} else {
|
|
20328
|
-
var T$1 = (0, h$2.possiblePathsFrom)(p$
|
|
20395
|
+
var T$1 = (0, h$2.possiblePathsFrom)(p$4, a$2 + 1, l$1);
|
|
20329
20396
|
i$2[t$10] = i$2[t$10].concat(T$1), (0, f.default)(T$1, (function(e$3) {
|
|
20330
20397
|
var r$4 = O(e$3.partialPath);
|
|
20331
20398
|
(0, f.default)(r$4, (function(e$4) {
|
|
@@ -20334,7 +20401,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20334
20401
|
}));
|
|
20335
20402
|
}
|
|
20336
20403
|
}
|
|
20337
|
-
}, p$
|
|
20404
|
+
}, p$3 = 0; p$3 < u$2.length; p$3++) c$2(p$3);
|
|
20338
20405
|
}
|
|
20339
20406
|
return n$3;
|
|
20340
20407
|
}
|
|
@@ -20497,7 +20564,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20497
20564
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
20498
20565
|
};
|
|
20499
20566
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.EmbeddedActionsParser = e$1.CstParser = e$1.Parser = e$1.EMPTY_ALT = e$1.ParserDefinitionErrorType = e$1.DEFAULT_RULE_CONFIG = e$1.DEFAULT_PARSER_CONFIG = e$1.END_OF_FILE = void 0;
|
|
20500
|
-
var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(6760)), c$1 = i$1(r$1(9756)), l = i$1(r$1(8346)), f = i$1(r$1(3352)), p$
|
|
20567
|
+
var a$1, s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(6760)), c$1 = i$1(r$1(9756)), l = i$1(r$1(8346)), f = i$1(r$1(3352)), p$2 = i$1(r$1(4004)), d$1 = r$1(7146), h$2 = r$1(4917), v = r$1(6736), y$1 = r$1(1007), m$1 = r$1(1665), T = r$1(9992), E = r$1(161), _ = r$1(3225), g = r$1(598), O = r$1(8503), R$2 = r$1(3273), A = r$1(9464), I = r$1(1625), x = r$1(6688), N = r$1(146), P = r$1(4803);
|
|
20501
20568
|
e$1.END_OF_FILE = (0, v.createTokenInstance)(v.EOF, "", NaN, NaN, NaN, NaN, NaN, NaN), Object.freeze(e$1.END_OF_FILE), e$1.DEFAULT_PARSER_CONFIG = Object.freeze({
|
|
20502
20569
|
recoveryEnabled: !1,
|
|
20503
20570
|
maxLookahead: 3,
|
|
@@ -20583,7 +20650,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20583
20650
|
e$1.CstParser = function(t$9) {
|
|
20584
20651
|
function r$2(r$3, n$3) {
|
|
20585
20652
|
void 0 === n$3 && (n$3 = e$1.DEFAULT_PARSER_CONFIG);
|
|
20586
|
-
var o$2 = (0, p$
|
|
20653
|
+
var o$2 = (0, p$2.default)(n$3);
|
|
20587
20654
|
return o$2.outputCst = !0, t$9.call(this, r$3, o$2) || this;
|
|
20588
20655
|
}
|
|
20589
20656
|
return o$1(r$2, t$9), r$2;
|
|
@@ -20591,7 +20658,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20591
20658
|
e$1.EmbeddedActionsParser = function(t$9) {
|
|
20592
20659
|
function r$2(r$3, n$3) {
|
|
20593
20660
|
void 0 === n$3 && (n$3 = e$1.DEFAULT_PARSER_CONFIG);
|
|
20594
|
-
var o$2 = (0, p$
|
|
20661
|
+
var o$2 = (0, p$2.default)(n$3);
|
|
20595
20662
|
return o$2.outputCst = !1, t$9.call(this, r$3, o$2) || this;
|
|
20596
20663
|
}
|
|
20597
20664
|
return o$1(r$2, t$9), r$2;
|
|
@@ -20668,13 +20735,13 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20668
20735
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
20669
20736
|
};
|
|
20670
20737
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.GastRecorder = void 0;
|
|
20671
|
-
var o$1 = n$2(r$1(6974)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(1525)), s$1 = n$2(r$1(9756)), u$1 = n$2(r$1(1049)), c$1 = n$2(r$1(3352)), l = r$1(7729), f = r$1(9027), p$
|
|
20738
|
+
var o$1 = n$2(r$1(6974)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(1525)), s$1 = n$2(r$1(9756)), u$1 = n$2(r$1(1049)), c$1 = n$2(r$1(3352)), l = r$1(7729), f = r$1(9027), p$2 = r$1(1201), d$1 = r$1(6736), h$2 = r$1(2941), v = r$1(8209), y$1 = { description: "This Object indicates the Parser is during Recording Phase" };
|
|
20672
20739
|
Object.freeze(y$1);
|
|
20673
20740
|
var m$1 = Math.pow(2, v.BITS_FOR_OCCURRENCE_IDX) - 1, T = (0, d$1.createToken)({
|
|
20674
20741
|
name: "RECORDING_PHASE_TOKEN",
|
|
20675
20742
|
pattern: f.Lexer.NA
|
|
20676
20743
|
});
|
|
20677
|
-
(0, p$
|
|
20744
|
+
(0, p$2.augmentTokenTypes)([T]);
|
|
20678
20745
|
var E = (0, d$1.createTokenInstance)(T, "This IToken indicates the Parser is in Recording Phase\n See: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details", -1, -1, -1, -1, -1, -1);
|
|
20679
20746
|
Object.freeze(E);
|
|
20680
20747
|
var _ = {
|
|
@@ -20776,7 +20843,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20776
20843
|
});
|
|
20777
20844
|
return i$2.definition.push(s$2), this.outputCst ? _ : y$1;
|
|
20778
20845
|
}, t$9.prototype.consumeInternalRecord = function(t$10, e$2, r$2) {
|
|
20779
|
-
if (I(e$2), !(0, p$
|
|
20846
|
+
if (I(e$2), !(0, p$2.hasShortKeyProperty)(t$10)) {
|
|
20780
20847
|
var n$3 = new Error("<CONSUME".concat(A(e$2), "> argument is invalid") + " expecting a TokenType reference but got: <".concat(JSON.stringify(t$10), ">") + "\n inside top level rule: <".concat(this.recordingProdStack[0].name, ">"));
|
|
20781
20848
|
throw n$3.KNOWN_RECORDER_ERROR = !0, n$3;
|
|
20782
20849
|
}
|
|
@@ -20799,15 +20866,15 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20799
20866
|
function R$2(t$9, e$2) {
|
|
20800
20867
|
var r$2 = this;
|
|
20801
20868
|
I(e$2);
|
|
20802
|
-
var n$3 = (0, o$1.default)(this.recordingProdStack), f$1 = !1 === (0, i$1.default)(t$9), p$
|
|
20869
|
+
var n$3 = (0, o$1.default)(this.recordingProdStack), f$1 = !1 === (0, i$1.default)(t$9), p$3 = !1 === f$1 ? t$9 : t$9.DEF, d$2 = new l.Alternation({
|
|
20803
20870
|
definition: [],
|
|
20804
20871
|
idx: e$2,
|
|
20805
20872
|
ignoreAmbiguities: f$1 && !0 === t$9.IGNORE_AMBIGUITIES
|
|
20806
20873
|
});
|
|
20807
20874
|
(0, c$1.default)(t$9, "MAX_LOOKAHEAD") && (d$2.maxLookahead = t$9.MAX_LOOKAHEAD);
|
|
20808
|
-
return d$2.hasPredicates = (0, a$1.default)(p$
|
|
20875
|
+
return d$2.hasPredicates = (0, a$1.default)(p$3, (function(t$10) {
|
|
20809
20876
|
return (0, u$1.default)(t$10.GATE);
|
|
20810
|
-
})), n$3.definition.push(d$2), (0, s$1.default)(p$
|
|
20877
|
+
})), n$3.definition.push(d$2), (0, s$1.default)(p$3, (function(t$10) {
|
|
20811
20878
|
var e$3 = new l.Alternative({ definition: [] });
|
|
20812
20879
|
d$2.definition.push(e$3), (0, c$1.default)(t$10, "IGNORE_AMBIGUITIES") ? e$3.ignoreAmbiguities = t$10.IGNORE_AMBIGUITIES : (0, c$1.default)(t$10, "GATE") && (e$3.ignoreAmbiguities = !0), r$2.recordingProdStack.push(e$3), t$10.ALT.call(r$2), r$2.recordingProdStack.pop();
|
|
20813
20880
|
})), y$1;
|
|
@@ -20877,7 +20944,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20877
20944
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
20878
20945
|
};
|
|
20879
20946
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.collectMethods = e$1.LooksAhead = void 0;
|
|
20880
|
-
var a$1 = r$1(4677), s$1 = i$1(r$1(9756)), u$1 = i$1(r$1(3352)), c$1 = r$1(2941), l = r$1(8209), f = r$1(7729), p$
|
|
20947
|
+
var a$1 = r$1(4677), s$1 = i$1(r$1(9756)), u$1 = i$1(r$1(3352)), c$1 = r$1(2941), l = r$1(8209), f = r$1(7729), p$2 = r$1(7729);
|
|
20881
20948
|
e$1.LooksAhead = function() {
|
|
20882
20949
|
function t$9() {}
|
|
20883
20950
|
return t$9.prototype.initLooksAhead = function(t$10) {
|
|
@@ -20889,20 +20956,20 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
20889
20956
|
var r$2 = v(t$11), n$3 = r$2.alternation, o$2 = r$2.repetition, i$2 = r$2.option, u$2 = r$2.repetitionMandatory, c$2 = r$2.repetitionMandatoryWithSeparator, f$1 = r$2.repetitionWithSeparator;
|
|
20890
20957
|
(0, s$1.default)(n$3, (function(r$3) {
|
|
20891
20958
|
var n$4 = 0 === r$3.idx ? "" : r$3.idx;
|
|
20892
|
-
e$2.TRACE_INIT("".concat((0, p$
|
|
20959
|
+
e$2.TRACE_INIT("".concat((0, p$2.getProductionDslName)(r$3)).concat(n$4), (function() {
|
|
20893
20960
|
var n$5 = (0, a$1.buildLookaheadFuncForOr)(r$3.idx, t$11, r$3.maxLookahead || e$2.maxLookahead, r$3.hasPredicates, e$2.dynamicTokensEnabled, e$2.lookAheadBuilderForAlternatives), o$3 = (0, l.getKeyForAutomaticLookahead)(e$2.fullRuleNameToShort[t$11.name], l.OR_IDX, r$3.idx);
|
|
20894
20961
|
e$2.setLaFuncCache(o$3, n$5);
|
|
20895
20962
|
}));
|
|
20896
20963
|
})), (0, s$1.default)(o$2, (function(r$3) {
|
|
20897
|
-
e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_IDX, a$1.PROD_TYPE.REPETITION, r$3.maxLookahead, (0, p$
|
|
20964
|
+
e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_IDX, a$1.PROD_TYPE.REPETITION, r$3.maxLookahead, (0, p$2.getProductionDslName)(r$3));
|
|
20898
20965
|
})), (0, s$1.default)(i$2, (function(r$3) {
|
|
20899
|
-
e$2.computeLookaheadFunc(t$11, r$3.idx, l.OPTION_IDX, a$1.PROD_TYPE.OPTION, r$3.maxLookahead, (0, p$
|
|
20966
|
+
e$2.computeLookaheadFunc(t$11, r$3.idx, l.OPTION_IDX, a$1.PROD_TYPE.OPTION, r$3.maxLookahead, (0, p$2.getProductionDslName)(r$3));
|
|
20900
20967
|
})), (0, s$1.default)(u$2, (function(r$3) {
|
|
20901
|
-
e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY, r$3.maxLookahead, (0, p$
|
|
20968
|
+
e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY, r$3.maxLookahead, (0, p$2.getProductionDslName)(r$3));
|
|
20902
20969
|
})), (0, s$1.default)(c$2, (function(r$3) {
|
|
20903
|
-
e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_SEP_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR, r$3.maxLookahead, (0, p$
|
|
20970
|
+
e$2.computeLookaheadFunc(t$11, r$3.idx, l.AT_LEAST_ONE_SEP_IDX, a$1.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR, r$3.maxLookahead, (0, p$2.getProductionDslName)(r$3));
|
|
20904
20971
|
})), (0, s$1.default)(f$1, (function(r$3) {
|
|
20905
|
-
e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_SEP_IDX, a$1.PROD_TYPE.REPETITION_WITH_SEPARATOR, r$3.maxLookahead, (0, p$
|
|
20972
|
+
e$2.computeLookaheadFunc(t$11, r$3.idx, l.MANY_SEP_IDX, a$1.PROD_TYPE.REPETITION_WITH_SEPARATOR, r$3.maxLookahead, (0, p$2.getProductionDslName)(r$3));
|
|
20906
20973
|
}));
|
|
20907
20974
|
}));
|
|
20908
20975
|
}));
|
|
@@ -21221,7 +21288,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21221
21288
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
21222
21289
|
};
|
|
21223
21290
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.RecognizerEngine = void 0;
|
|
21224
|
-
var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(5676)), s$1 = n$2(r$1(9794)), u$1 = n$2(r$1(5652)), c$1 = n$2(r$1(9259)), l = n$2(r$1(3352)), f = n$2(r$1(8346)), p$
|
|
21291
|
+
var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(6152)), a$1 = n$2(r$1(5676)), s$1 = n$2(r$1(9794)), u$1 = n$2(r$1(5652)), c$1 = n$2(r$1(9259)), l = n$2(r$1(3352)), f = n$2(r$1(8346)), p$2 = n$2(r$1(8215)), d$1 = n$2(r$1(4004)), h$2 = r$1(8209), v = r$1(643), y$1 = r$1(4677), m$1 = r$1(9985), T = r$1(2941), E = r$1(9992), _ = r$1(6736), g = r$1(1201);
|
|
21225
21292
|
e$1.RecognizerEngine = function() {
|
|
21226
21293
|
function t$9() {}
|
|
21227
21294
|
return t$9.prototype.initRecognizerEngine = function(t$10, e$2) {
|
|
@@ -21230,12 +21297,12 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21230
21297
|
if ((0, o$1.default)(t$10)) throw Error("A Token Vocabulary cannot be empty.\n Note that the first argument for the parser constructor\n is no longer a Token vector (since v4.0).");
|
|
21231
21298
|
if ("number" == typeof t$10[0].startOffset) throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.");
|
|
21232
21299
|
}
|
|
21233
|
-
if ((0, i$1.default)(t$10)) this.tokensMap = (0, p$
|
|
21300
|
+
if ((0, i$1.default)(t$10)) this.tokensMap = (0, p$2.default)(t$10, (function(t$11, e$3) {
|
|
21234
21301
|
return t$11[e$3.name] = e$3, t$11;
|
|
21235
21302
|
}), {});
|
|
21236
21303
|
else if ((0, l.default)(t$10, "modes") && (0, s$1.default)((0, a$1.default)((0, f.default)(t$10.modes)), g.isTokenType)) {
|
|
21237
21304
|
var r$2 = (0, a$1.default)((0, f.default)(t$10.modes)), n$3 = (0, u$1.default)(r$2);
|
|
21238
|
-
this.tokensMap = (0, p$
|
|
21305
|
+
this.tokensMap = (0, p$2.default)(n$3, (function(t$11, e$3) {
|
|
21239
21306
|
return t$11[e$3.name] = e$3, t$11;
|
|
21240
21307
|
}), {});
|
|
21241
21308
|
} else {
|
|
@@ -21475,7 +21542,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21475
21542
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
21476
21543
|
};
|
|
21477
21544
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.attemptInRepetitionRecovery = e$1.Recoverable = e$1.InRuleRecoveryException = e$1.IN_RULE_RECOVERY_EXCEPTION = e$1.EOF_FOLLOW_KEY = void 0;
|
|
21478
|
-
var a$1 = r$1(6736), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(4934)), c$1 = i$1(r$1(5676)), l = i$1(r$1(6760)), f = i$1(r$1(5281)), p$
|
|
21545
|
+
var a$1 = r$1(6736), s$1 = i$1(r$1(5455)), u$1 = i$1(r$1(4934)), c$1 = i$1(r$1(5676)), l = i$1(r$1(6760)), f = i$1(r$1(5281)), p$2 = i$1(r$1(3352)), d$1 = i$1(r$1(1886)), h$2 = i$1(r$1(4004)), v = r$1(643), y$1 = r$1(3710), m$1 = r$1(2941);
|
|
21479
21546
|
e$1.EOF_FOLLOW_KEY = {}, e$1.IN_RULE_RECOVERY_EXCEPTION = "InRuleRecoveryException";
|
|
21480
21547
|
var T = function(t$9) {
|
|
21481
21548
|
function r$2(r$3) {
|
|
@@ -21488,7 +21555,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21488
21555
|
var E = function() {
|
|
21489
21556
|
function t$9() {}
|
|
21490
21557
|
return t$9.prototype.initRecoverable = function(t$10) {
|
|
21491
|
-
this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = (0, p$
|
|
21558
|
+
this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = (0, p$2.default)(t$10, "recoveryEnabled") ? t$10.recoveryEnabled : m$1.DEFAULT_PARSER_CONFIG.recoveryEnabled, this.recoveryEnabled && (this.attemptInRepetitionRecovery = _);
|
|
21492
21559
|
}, t$9.prototype.getTokenToInsert = function(t$10) {
|
|
21493
21560
|
var e$2 = (0, a$1.createTokenInstance)(t$10, "", NaN, NaN, NaN, NaN, NaN, NaN);
|
|
21494
21561
|
return e$2.isInsertedInRecovery = !0, e$2;
|
|
@@ -21497,7 +21564,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21497
21564
|
}, t$9.prototype.canTokenTypeBeDeletedInRecovery = function(t$10) {
|
|
21498
21565
|
return !0;
|
|
21499
21566
|
}, t$9.prototype.tryInRepetitionRecovery = function(t$10, e$2, r$2, n$3) {
|
|
21500
|
-
for (var o$2 = this, i$2 = this.findReSyncTokenType(), a$2 = this.exportLexerState(), s$2 = [], c$2 = !1, l$1 = this.LA(1), f$1 = this.LA(1), p$
|
|
21567
|
+
for (var o$2 = this, i$2 = this.findReSyncTokenType(), a$2 = this.exportLexerState(), s$2 = [], c$2 = !1, l$1 = this.LA(1), f$1 = this.LA(1), p$3 = function() {
|
|
21501
21568
|
var t$11 = o$2.LA(0), e$3 = o$2.errorMessageProvider.buildMismatchTokenMessage({
|
|
21502
21569
|
expected: n$3,
|
|
21503
21570
|
actual: l$1,
|
|
@@ -21506,8 +21573,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21506
21573
|
}), r$3 = new v.MismatchedTokenException(e$3, l$1, o$2.LA(0));
|
|
21507
21574
|
r$3.resyncedTokens = (0, u$1.default)(s$2), o$2.SAVE_ERROR(r$3);
|
|
21508
21575
|
}; !c$2;) {
|
|
21509
|
-
if (this.tokenMatcher(f$1, n$3)) return void p$
|
|
21510
|
-
if (r$2.call(this)) return p$
|
|
21576
|
+
if (this.tokenMatcher(f$1, n$3)) return void p$3();
|
|
21577
|
+
if (r$2.call(this)) return p$3(), void t$10.apply(this, e$2);
|
|
21511
21578
|
this.tokenMatcher(f$1, i$2) ? c$2 = !0 : (f$1 = this.SKIP_TOKEN(), this.addToResyncTokens(f$1, s$2));
|
|
21512
21579
|
}
|
|
21513
21580
|
this.importLexerState(a$2);
|
|
@@ -21597,8 +21664,8 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21597
21664
|
var l$1 = this.getCurrRuleFullName();
|
|
21598
21665
|
c$2 = new i$2(this.getGAstProductions()[l$1], o$2).startWalking(), this.firstAfterRepMap[u$2] = c$2;
|
|
21599
21666
|
}
|
|
21600
|
-
var f$1 = c$2.token, p$
|
|
21601
|
-
1 === this.RULE_STACK.length && d$2 && void 0 === f$1 && (f$1 = a$1.EOF, p$
|
|
21667
|
+
var f$1 = c$2.token, p$3 = c$2.occurrence, d$2 = c$2.isEndOfRule;
|
|
21668
|
+
1 === this.RULE_STACK.length && d$2 && void 0 === f$1 && (f$1 = a$1.EOF, p$3 = 1), void 0 !== f$1 && void 0 !== p$3 && this.shouldInRepetitionRecoveryBeTried(f$1, p$3, s$2) && this.tryInRepetitionRecovery(t$9, e$2, r$2, f$1);
|
|
21602
21669
|
}
|
|
21603
21670
|
e$1.Recoverable = E, e$1.attemptInRepetitionRecovery = _;
|
|
21604
21671
|
},
|
|
@@ -21721,7 +21788,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21721
21788
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
21722
21789
|
};
|
|
21723
21790
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.charCodeToOptimizedIndex = e$1.minOptimizationVal = e$1.buildLineBreakIssueMessage = e$1.LineTerminatorOptimizedTester = e$1.isShortPattern = e$1.isCustomPattern = e$1.cloneEmptyGroups = e$1.performWarningRuntimeChecks = e$1.performRuntimeChecks = e$1.addStickyFlag = e$1.addStartOfInput = e$1.findUnreachablePatterns = e$1.findModesThatDoNotExist = e$1.findInvalidGroupType = e$1.findDuplicatePatterns = e$1.findUnsupportedFlags = e$1.findStartOfInputAnchor = e$1.findEmptyMatchRegExps = e$1.findEndOfInputAnchor = e$1.findInvalidPatterns = e$1.findMissingPatterns = e$1.validatePatterns = e$1.analyzeTokenTypes = e$1.enableSticky = e$1.disableSticky = e$1.SUPPORT_STICKY = e$1.MODES = e$1.DEFAULT_MODE = void 0;
|
|
21724
|
-
var a$1 = r$1(4844), s$1 = r$1(9027), u$1 = i$1(r$1(3237)), c$1 = i$1(r$1(5455)), l = i$1(r$1(417)), f = i$1(r$1(6152)), p$
|
|
21791
|
+
var a$1 = r$1(4844), s$1 = r$1(9027), u$1 = i$1(r$1(3237)), c$1 = i$1(r$1(5455)), l = i$1(r$1(417)), f = i$1(r$1(6152)), p$2 = i$1(r$1(8346)), d$1 = i$1(r$1(5676)), h$2 = i$1(r$1(2070)), v = i$1(r$1(7335)), y$1 = i$1(r$1(3493)), m$1 = i$1(r$1(6760)), T = i$1(r$1(9756)), E = i$1(r$1(5505)), _ = i$1(r$1(1049)), g = i$1(r$1(4336)), O = i$1(r$1(5281)), R$2 = i$1(r$1(3352)), A = i$1(r$1(249)), I = i$1(r$1(859)), x = i$1(r$1(882)), N = i$1(r$1(4573)), P = i$1(r$1(8215)), S = i$1(r$1(1886)), b = r$1(7146), k = r$1(1480), L = r$1(3067);
|
|
21725
21792
|
function C(t$9) {
|
|
21726
21793
|
var e$2 = (0, x.default)(t$9, (function(t$10) {
|
|
21727
21794
|
return !(0, R$2.default)(t$10, "PATTERN");
|
|
@@ -21780,7 +21847,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21780
21847
|
return t$10.PATTERN === s$1.Lexer.NA;
|
|
21781
21848
|
}));
|
|
21782
21849
|
}));
|
|
21783
|
-
var i$2, a$2, u$2, l$1, p$
|
|
21850
|
+
var i$2, a$2, u$2, l$1, p$3, d$2, v$1, O$1, A$1, x$1, L$1, C$1 = !1;
|
|
21784
21851
|
o$2("Transform Patterns", (function() {
|
|
21785
21852
|
C$1 = !1, i$2 = (0, m$1.default)(n$3, (function(t$10) {
|
|
21786
21853
|
var e$2 = t$10.PATTERN;
|
|
@@ -21829,7 +21896,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21829
21896
|
if (e$2) return (0, f.default)(e$2) ? (0, m$1.default)(e$2, (function(t$11) {
|
|
21830
21897
|
return (0, y$1.default)(n$3, t$11);
|
|
21831
21898
|
})) : [(0, y$1.default)(n$3, e$2)];
|
|
21832
|
-
})), p$
|
|
21899
|
+
})), p$3 = (0, m$1.default)(n$3, (function(t$10) {
|
|
21833
21900
|
return t$10.PUSH_MODE;
|
|
21834
21901
|
})), d$2 = (0, m$1.default)(n$3, (function(t$10) {
|
|
21835
21902
|
return (0, R$2.default)(t$10, "POP_MODE");
|
|
@@ -21853,7 +21920,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
21853
21920
|
isCustom: O$1[e$2],
|
|
21854
21921
|
short: A$1[e$2],
|
|
21855
21922
|
group: u$2[e$2],
|
|
21856
|
-
push: p$
|
|
21923
|
+
push: p$3[e$2],
|
|
21857
21924
|
pop: d$2[e$2],
|
|
21858
21925
|
tokenTypeIdx: a$2[e$2],
|
|
21859
21926
|
tokenType: n$3[e$2]
|
|
@@ -22146,7 +22213,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22146
22213
|
}));
|
|
22147
22214
|
})), o$2;
|
|
22148
22215
|
}, e$1.performWarningRuntimeChecks = function(t$9, e$2, r$2) {
|
|
22149
|
-
var n$3 = [], o$2 = !1, i$2 = (0, l.default)((0, d$1.default)((0, p$
|
|
22216
|
+
var n$3 = [], o$2 = !1, i$2 = (0, l.default)((0, d$1.default)((0, p$2.default)(t$9.modes))), a$2 = (0, h$2.default)(i$2, (function(t$10) {
|
|
22150
22217
|
return t$10.PATTERN === s$1.Lexer.NA;
|
|
22151
22218
|
})), u$2 = Q(r$2);
|
|
22152
22219
|
return e$2 && (0, T.default)(a$2, (function(t$10) {
|
|
@@ -22202,7 +22269,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22202
22269
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
22203
22270
|
};
|
|
22204
22271
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.Lexer = e$1.LexerDefinitionErrorType = void 0;
|
|
22205
|
-
var o$1, i$1 = r$1(6178), a$1 = n$2(r$1(4291)), s$1 = n$2(r$1(5455)), u$1 = n$2(r$1(6152)), c$1 = n$2(r$1(6974)), l = n$2(r$1(2070)), f = n$2(r$1(6760)), p$
|
|
22272
|
+
var o$1, i$1 = r$1(6178), a$1 = n$2(r$1(4291)), s$1 = n$2(r$1(5455)), u$1 = n$2(r$1(6152)), c$1 = n$2(r$1(6974)), l = n$2(r$1(2070)), f = n$2(r$1(6760)), p$2 = n$2(r$1(9756)), d$1 = n$2(r$1(249)), h$2 = n$2(r$1(4336)), v = n$2(r$1(3059)), y$1 = n$2(r$1(19)), m$1 = n$2(r$1(8215)), T = n$2(r$1(4004)), E = r$1(7146), _ = r$1(1201), g = r$1(495), O = r$1(3067);
|
|
22206
22273
|
(o$1 = e$1.LexerDefinitionErrorType || (e$1.LexerDefinitionErrorType = {}))[o$1.MISSING_PATTERN = 0] = "MISSING_PATTERN", o$1[o$1.INVALID_PATTERN = 1] = "INVALID_PATTERN", o$1[o$1.EOI_ANCHOR_FOUND = 2] = "EOI_ANCHOR_FOUND", o$1[o$1.UNSUPPORTED_FLAGS_FOUND = 3] = "UNSUPPORTED_FLAGS_FOUND", o$1[o$1.DUPLICATE_PATTERNS_FOUND = 4] = "DUPLICATE_PATTERNS_FOUND", o$1[o$1.INVALID_GROUP_TYPE_FOUND = 5] = "INVALID_GROUP_TYPE_FOUND", o$1[o$1.PUSH_MODE_DOES_NOT_EXIST = 6] = "PUSH_MODE_DOES_NOT_EXIST", o$1[o$1.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE = 7] = "MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE", o$1[o$1.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY = 8] = "MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY", o$1[o$1.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST = 9] = "MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST", o$1[o$1.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED = 10] = "LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED", o$1[o$1.SOI_ANCHOR_FOUND = 11] = "SOI_ANCHOR_FOUND", o$1[o$1.EMPTY_MATCH_PATTERN = 12] = "EMPTY_MATCH_PATTERN", o$1[o$1.NO_LINE_BREAKS_FLAGS = 13] = "NO_LINE_BREAKS_FLAGS", o$1[o$1.UNREACHABLE_PATTERN = 14] = "UNREACHABLE_PATTERN", o$1[o$1.IDENTIFY_TERMINATOR = 15] = "IDENTIFY_TERMINATOR", o$1[o$1.CUSTOM_LINE_BREAK = 16] = "CUSTOM_LINE_BREAK";
|
|
22207
22274
|
var R$2 = {
|
|
22208
22275
|
deferDefinitionErrorsHandling: !1,
|
|
@@ -22246,13 +22313,13 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22246
22313
|
r$2.lexerDefinitionErrors = r$2.lexerDefinitionErrors.concat((0, i$1.performRuntimeChecks)(n$4, r$2.trackStartLines, r$2.config.lineTerminatorCharacters));
|
|
22247
22314
|
})), r$2.TRACE_INIT("performWarningRuntimeChecks", (function() {
|
|
22248
22315
|
r$2.lexerDefinitionWarning = r$2.lexerDefinitionWarning.concat((0, i$1.performWarningRuntimeChecks)(n$4, r$2.trackStartLines, r$2.config.lineTerminatorCharacters));
|
|
22249
|
-
}))), n$4.modes = n$4.modes ? n$4.modes : {}, (0, p$
|
|
22316
|
+
}))), n$4.modes = n$4.modes ? n$4.modes : {}, (0, p$2.default)(n$4.modes, (function(t$11, e$3) {
|
|
22250
22317
|
n$4.modes[e$3] = (0, l.default)(t$11, (function(t$12) {
|
|
22251
22318
|
return (0, h$2.default)(t$12);
|
|
22252
22319
|
}));
|
|
22253
22320
|
}));
|
|
22254
22321
|
var c$2 = (0, d$1.default)(n$4.modes);
|
|
22255
|
-
if ((0, p$
|
|
22322
|
+
if ((0, p$2.default)(n$4.modes, (function(t$11, n$5) {
|
|
22256
22323
|
r$2.TRACE_INIT("Mode: <".concat(n$5, "> processing"), (function() {
|
|
22257
22324
|
var o$3;
|
|
22258
22325
|
r$2.modes.push(n$5), !1 === r$2.config.skipValidations && r$2.TRACE_INIT("validatePatterns", (function() {
|
|
@@ -22273,7 +22340,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22273
22340
|
})).join("-----------------------\n");
|
|
22274
22341
|
throw new Error("Errors detected in definition of Lexer:\n" + g$1);
|
|
22275
22342
|
}
|
|
22276
|
-
(0, p$
|
|
22343
|
+
(0, p$2.default)(r$2.lexerDefinitionWarning, (function(t$11) {
|
|
22277
22344
|
(0, E.PRINT_WARNING)(t$11.message);
|
|
22278
22345
|
})), r$2.TRACE_INIT("Choosing sub-methods implementations", (function() {
|
|
22279
22346
|
if (i$1.SUPPORT_STICKY ? (r$2.chopInput = v.default, r$2.match = r$2.matchWithTest) : (r$2.updateLastIndex = a$1.default, r$2.match = r$2.matchWithExec), o$2 && (r$2.handleModes = a$1.default), !1 === r$2.trackStartLines && (r$2.computeNewColumn = v.default), !1 === r$2.trackEndLines && (r$2.updateTokenEndLineColumnLocation = a$1.default), /full/i.test(r$2.config.positionTracking)) r$2.createTokenInstance = r$2.createFullToken;
|
|
@@ -22304,7 +22371,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22304
22371
|
}
|
|
22305
22372
|
return this.tokenizeInternal(t$10, e$2);
|
|
22306
22373
|
}, t$9.prototype.tokenizeInternal = function(t$10, e$2) {
|
|
22307
|
-
var r$2, n$3, o$2, a$2, s$2, u$2, l$1, f$1, p$
|
|
22374
|
+
var r$2, n$3, o$2, a$2, s$2, u$2, l$1, f$1, p$3, d$2, h$3, v$1, y$2, m$2, T$1, E$1, _$1 = this, g$1 = t$10, O$1 = g$1.length, R$3 = 0, A = 0, I = this.hasCustom ? 0 : Math.floor(t$10.length / 10), x = new Array(I), N = [], P = this.trackStartLines ? 1 : void 0, S = this.trackStartLines ? 1 : void 0, b = (0, i$1.cloneEmptyGroups)(this.emptyGroups), k = this.trackStartLines, L = this.config.lineTerminatorsPattern, C = 0, M = [], D = [], w$1 = [], F = [];
|
|
22308
22375
|
function j() {
|
|
22309
22376
|
return M;
|
|
22310
22377
|
}
|
|
@@ -22356,13 +22423,13 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22356
22423
|
}
|
|
22357
22424
|
}
|
|
22358
22425
|
if (null !== u$2) {
|
|
22359
|
-
if (p$
|
|
22426
|
+
if (p$3 = u$2.length, void 0 !== (d$2 = B.group) && (h$3 = B.tokenTypeIdx, v$1 = this.createTokenInstance(u$2, R$3, h$3, B.tokenType, P, S, p$3), this.handlePayload(v$1, l$1), !1 === d$2 ? A = this.addToken(x, A, v$1) : b[d$2].push(v$1)), t$10 = this.chopInput(t$10, p$3), R$3 += p$3, S = this.computeNewColumn(S, p$3), !0 === k && !0 === B.canLineTerminator) {
|
|
22360
22427
|
var $$1 = 0, Q = void 0, Z = void 0;
|
|
22361
22428
|
L.lastIndex = 0;
|
|
22362
22429
|
do
|
|
22363
22430
|
!0 === (Q = L.test(u$2)) && (Z = L.lastIndex - 1, $$1++);
|
|
22364
22431
|
while (!0 === Q);
|
|
22365
|
-
0 !== $$1 && (P += $$1, S = p$
|
|
22432
|
+
0 !== $$1 && (P += $$1, S = p$3 - Z, this.updateTokenEndLineColumnLocation(v$1, d$2, Z, $$1, P, S, p$3));
|
|
22366
22433
|
}
|
|
22367
22434
|
this.handleModes(B, G, W, v$1);
|
|
22368
22435
|
} else {
|
|
@@ -22457,7 +22524,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22457
22524
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
22458
22525
|
};
|
|
22459
22526
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.canMatchCharCode = e$1.firstCharOptimizedIndices = e$1.getOptimizedStartCodesIndices = e$1.failedOptimizationPrefixMsg = void 0;
|
|
22460
|
-
var a$1 = r$1(4844), s$1 = i$1(r$1(6152)), u$1 = i$1(r$1(9794)), c$1 = i$1(r$1(9756)), l = i$1(r$1(5281)), f = i$1(r$1(8346)), p$
|
|
22527
|
+
var a$1 = r$1(4844), s$1 = i$1(r$1(6152)), u$1 = i$1(r$1(9794)), c$1 = i$1(r$1(9756)), l = i$1(r$1(5281)), f = i$1(r$1(8346)), p$2 = i$1(r$1(1886)), d$1 = r$1(7146), h$2 = r$1(3067), v = r$1(6178), y$1 = "Complement Sets are not supported for first char optimization";
|
|
22461
22528
|
function m$1(t$9, e$2, r$2) {
|
|
22462
22529
|
switch (t$9.type) {
|
|
22463
22530
|
case "Disjunction":
|
|
@@ -22521,7 +22588,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22521
22588
|
}
|
|
22522
22589
|
function E(t$9, e$2) {
|
|
22523
22590
|
return (0, l.default)(t$9.value, (function(t$10) {
|
|
22524
|
-
if ("number" == typeof t$10) return (0, p$
|
|
22591
|
+
if ("number" == typeof t$10) return (0, p$2.default)(e$2, t$10);
|
|
22525
22592
|
var r$2 = t$10;
|
|
22526
22593
|
return void 0 !== (0, l.default)(e$2, (function(t$11) {
|
|
22527
22594
|
return r$2.from <= t$11 && t$11 <= r$2.to;
|
|
@@ -22564,7 +22631,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22564
22631
|
t$9.prototype.visitChildren.call(this, e$3);
|
|
22565
22632
|
}
|
|
22566
22633
|
}, e$2.prototype.visitCharacter = function(t$10) {
|
|
22567
|
-
(0, p$
|
|
22634
|
+
(0, p$2.default)(this.targetCharCodes, t$10.value) && (this.found = !0);
|
|
22568
22635
|
}, e$2.prototype.visitSet = function(t$10) {
|
|
22569
22636
|
t$10.complement ? void 0 === E(t$10, this.targetCharCodes) && (this.found = !0) : void 0 !== E(t$10, this.targetCharCodes) && (this.found = !0);
|
|
22570
22637
|
}, e$2;
|
|
@@ -22575,7 +22642,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22575
22642
|
return n$3.visit(r$2), n$3.found;
|
|
22576
22643
|
}
|
|
22577
22644
|
return void 0 !== (0, l.default)(e$2, (function(e$3) {
|
|
22578
|
-
return (0, p$
|
|
22645
|
+
return (0, p$2.default)(t$9, e$3.charCodeAt(0));
|
|
22579
22646
|
}));
|
|
22580
22647
|
};
|
|
22581
22648
|
},
|
|
@@ -22596,7 +22663,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22596
22663
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
22597
22664
|
};
|
|
22598
22665
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.isTokenType = e$1.hasExtendingTokensTypesMapProperty = e$1.hasExtendingTokensTypesProperty = e$1.hasCategoriesProperty = e$1.hasShortKeyProperty = e$1.singleAssignCategoriesToksMap = e$1.assignCategoriesMapProp = e$1.assignCategoriesTokensProp = e$1.assignTokenDefaultProps = e$1.expandCategories = e$1.augmentTokenTypes = e$1.tokenIdxToClass = e$1.tokenShortNameIdx = e$1.tokenStructuredMatcherNoCategories = e$1.tokenStructuredMatcher = void 0;
|
|
22599
|
-
var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(417)), a$1 = n$2(r$1(6152)), s$1 = n$2(r$1(5676)), u$1 = n$2(r$1(7335)), c$1 = n$2(r$1(6760)), l = n$2(r$1(9756)), f = n$2(r$1(3352)), p$
|
|
22666
|
+
var o$1 = n$2(r$1(5455)), i$1 = n$2(r$1(417)), a$1 = n$2(r$1(6152)), s$1 = n$2(r$1(5676)), u$1 = n$2(r$1(7335)), c$1 = n$2(r$1(6760)), l = n$2(r$1(9756)), f = n$2(r$1(3352)), p$2 = n$2(r$1(1886)), d$1 = n$2(r$1(4004));
|
|
22600
22667
|
function h$2(t$9) {
|
|
22601
22668
|
for (var e$2 = (0, d$1.default)(t$9), r$2 = t$9, n$3 = !0; n$3;) {
|
|
22602
22669
|
r$2 = (0, i$1.default)((0, s$1.default)((0, c$1.default)(r$2, (function(t$10) {
|
|
@@ -22629,7 +22696,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22629
22696
|
e$2.categoryMatchesMap[t$10.tokenTypeIdx] = !0;
|
|
22630
22697
|
})), (0, l.default)(e$2.CATEGORIES, (function(r$2) {
|
|
22631
22698
|
var n$3 = t$9.concat(e$2);
|
|
22632
|
-
(0, p$
|
|
22699
|
+
(0, p$2.default)(n$3, r$2) || T(n$3, r$2);
|
|
22633
22700
|
}));
|
|
22634
22701
|
}
|
|
22635
22702
|
function E(t$9) {
|
|
@@ -22730,7 +22797,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22730
22797
|
function f(t$9) {
|
|
22731
22798
|
return (0, c$1.default)(t$9) + "CstNode";
|
|
22732
22799
|
}
|
|
22733
|
-
function p$
|
|
22800
|
+
function p$2(t$9) {
|
|
22734
22801
|
return (0, c$1.default)(t$9) + "CstChildren";
|
|
22735
22802
|
}
|
|
22736
22803
|
e$1.genDts = function(t$9, e$2) {
|
|
@@ -22738,10 +22805,10 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22738
22805
|
return c$2 = (c$2 = c$2.concat("import type { CstNode, ICstVisitor, IToken } from \"chevrotain\";")).concat((0, o$1.default)((0, a$1.default)(t$9, (function(t$10) {
|
|
22739
22806
|
return function(t$11) {
|
|
22740
22807
|
return [function(t$12) {
|
|
22741
|
-
var e$3 = f(t$12.name), r$3 = p$
|
|
22808
|
+
var e$3 = f(t$12.name), r$3 = p$2(t$12.name);
|
|
22742
22809
|
return "export interface ".concat(e$3, " extends CstNode {\n name: \"").concat(t$12.name, "\";\n children: ").concat(r$3, ";\n}");
|
|
22743
22810
|
}(t$11), function(t$12) {
|
|
22744
|
-
var e$3 = p$
|
|
22811
|
+
var e$3 = p$2(t$12.name);
|
|
22745
22812
|
return "export type ".concat(e$3, " = {\n ").concat((0, a$1.default)(t$12.properties, (function(t$13) {
|
|
22746
22813
|
return function(t$14) {
|
|
22747
22814
|
var e$4 = function(t$15) {
|
|
@@ -22762,7 +22829,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22762
22829
|
}(t$10);
|
|
22763
22830
|
})))), e$2.includeVisitorInterface && (c$2 = c$2.concat((r$2 = e$2.visitorInterfaceName, n$3 = t$9, "export interface ".concat(r$2, "<IN, OUT> extends ICstVisitor<IN, OUT> {\n ").concat((0, a$1.default)(n$3, (function(t$10) {
|
|
22764
22831
|
return function(t$11) {
|
|
22765
|
-
var e$3 = p$
|
|
22832
|
+
var e$3 = p$2(t$11.name);
|
|
22766
22833
|
return "".concat(t$11.name, "(children: ").concat(e$3, ", param?: IN): OUT;");
|
|
22767
22834
|
}(t$10);
|
|
22768
22835
|
})).join("\n "), "\n}")))), c$2.join("\n\n") + "\n";
|
|
@@ -22785,7 +22852,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22785
22852
|
return t$9 && t$9.__esModule ? t$9 : { default: t$9 };
|
|
22786
22853
|
};
|
|
22787
22854
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.buildModel = void 0;
|
|
22788
|
-
var a$1 = r$1(7729), s$1 = i$1(r$1(6760)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(8346)), l = i$1(r$1(1525)), f = i$1(r$1(3440)), p$
|
|
22855
|
+
var a$1 = r$1(7729), s$1 = i$1(r$1(6760)), u$1 = i$1(r$1(5676)), c$1 = i$1(r$1(8346)), l = i$1(r$1(1525)), f = i$1(r$1(3440)), p$2 = i$1(r$1(19));
|
|
22789
22856
|
e$1.buildModel = function(t$9) {
|
|
22790
22857
|
var e$2 = new d$1(), r$2 = (0, c$1.default)(t$9);
|
|
22791
22858
|
return (0, s$1.default)(r$2, (function(t$10) {
|
|
@@ -22851,7 +22918,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
22851
22918
|
}];
|
|
22852
22919
|
}, e$2.prototype.visitEachAndOverrideWith = function(t$10, e$3) {
|
|
22853
22920
|
return (0, s$1.default)(this.visitEach(t$10), (function(t$11) {
|
|
22854
|
-
return (0, p$
|
|
22921
|
+
return (0, p$2.default)({}, t$11, e$3);
|
|
22855
22922
|
}));
|
|
22856
22923
|
}, e$2.prototype.visitEach = function(t$10) {
|
|
22857
22924
|
var e$3 = this;
|
|
@@ -23007,7 +23074,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23007
23074
|
};
|
|
23008
23075
|
Object.defineProperty(e$1, "__esModule", { value: !0 }), e$1.serializeProduction = e$1.serializeGrammar = e$1.Terminal = e$1.Alternation = e$1.RepetitionWithSeparator = e$1.Repetition = e$1.RepetitionMandatoryWithSeparator = e$1.RepetitionMandatory = e$1.Option = e$1.Alternative = e$1.Rule = e$1.NonTerminal = e$1.AbstractProduction = void 0;
|
|
23009
23076
|
var a$1 = i$1(r$1(6760)), s$1 = i$1(r$1(9756)), u$1 = i$1(r$1(5505)), c$1 = i$1(r$1(859)), l = i$1(r$1(2208)), f = i$1(r$1(19));
|
|
23010
|
-
var p$
|
|
23077
|
+
var p$2 = function() {
|
|
23011
23078
|
function t$9(t$10) {
|
|
23012
23079
|
this._definition = t$10;
|
|
23013
23080
|
}
|
|
@@ -23026,7 +23093,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23026
23093
|
}));
|
|
23027
23094
|
}, t$9;
|
|
23028
23095
|
}();
|
|
23029
|
-
e$1.AbstractProduction = p$
|
|
23096
|
+
e$1.AbstractProduction = p$2;
|
|
23030
23097
|
var d$1 = function(t$9) {
|
|
23031
23098
|
function e$2(e$3) {
|
|
23032
23099
|
var r$2 = t$9.call(this, []) || this;
|
|
@@ -23044,7 +23111,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23044
23111
|
}), e$2.prototype.accept = function(t$10) {
|
|
23045
23112
|
t$10.visit(this);
|
|
23046
23113
|
}, e$2;
|
|
23047
|
-
}(p$
|
|
23114
|
+
}(p$2);
|
|
23048
23115
|
e$1.NonTerminal = d$1;
|
|
23049
23116
|
var h$2 = function(t$9) {
|
|
23050
23117
|
function e$2(e$3) {
|
|
@@ -23054,7 +23121,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23054
23121
|
}))), r$2;
|
|
23055
23122
|
}
|
|
23056
23123
|
return o$1(e$2, t$9), e$2;
|
|
23057
|
-
}(p$
|
|
23124
|
+
}(p$2);
|
|
23058
23125
|
e$1.Rule = h$2;
|
|
23059
23126
|
var v = function(t$9) {
|
|
23060
23127
|
function e$2(e$3) {
|
|
@@ -23064,7 +23131,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23064
23131
|
}))), r$2;
|
|
23065
23132
|
}
|
|
23066
23133
|
return o$1(e$2, t$9), e$2;
|
|
23067
|
-
}(p$
|
|
23134
|
+
}(p$2);
|
|
23068
23135
|
e$1.Alternative = v;
|
|
23069
23136
|
var y$1 = function(t$9) {
|
|
23070
23137
|
function e$2(e$3) {
|
|
@@ -23074,7 +23141,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23074
23141
|
}))), r$2;
|
|
23075
23142
|
}
|
|
23076
23143
|
return o$1(e$2, t$9), e$2;
|
|
23077
|
-
}(p$
|
|
23144
|
+
}(p$2);
|
|
23078
23145
|
e$1.Option = y$1;
|
|
23079
23146
|
var m$1 = function(t$9) {
|
|
23080
23147
|
function e$2(e$3) {
|
|
@@ -23084,7 +23151,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23084
23151
|
}))), r$2;
|
|
23085
23152
|
}
|
|
23086
23153
|
return o$1(e$2, t$9), e$2;
|
|
23087
|
-
}(p$
|
|
23154
|
+
}(p$2);
|
|
23088
23155
|
e$1.RepetitionMandatory = m$1;
|
|
23089
23156
|
var T = function(t$9) {
|
|
23090
23157
|
function e$2(e$3) {
|
|
@@ -23094,7 +23161,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23094
23161
|
}))), r$2;
|
|
23095
23162
|
}
|
|
23096
23163
|
return o$1(e$2, t$9), e$2;
|
|
23097
|
-
}(p$
|
|
23164
|
+
}(p$2);
|
|
23098
23165
|
e$1.RepetitionMandatoryWithSeparator = T;
|
|
23099
23166
|
var E = function(t$9) {
|
|
23100
23167
|
function e$2(e$3) {
|
|
@@ -23104,7 +23171,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23104
23171
|
}))), r$2;
|
|
23105
23172
|
}
|
|
23106
23173
|
return o$1(e$2, t$9), e$2;
|
|
23107
|
-
}(p$
|
|
23174
|
+
}(p$2);
|
|
23108
23175
|
e$1.Repetition = E;
|
|
23109
23176
|
var _ = function(t$9) {
|
|
23110
23177
|
function e$2(e$3) {
|
|
@@ -23114,7 +23181,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23114
23181
|
}))), r$2;
|
|
23115
23182
|
}
|
|
23116
23183
|
return o$1(e$2, t$9), e$2;
|
|
23117
|
-
}(p$
|
|
23184
|
+
}(p$2);
|
|
23118
23185
|
e$1.RepetitionWithSeparator = _;
|
|
23119
23186
|
var g = function(t$9) {
|
|
23120
23187
|
function e$2(e$3) {
|
|
@@ -23133,7 +23200,7 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23133
23200
|
enumerable: !1,
|
|
23134
23201
|
configurable: !0
|
|
23135
23202
|
}), e$2;
|
|
23136
|
-
}(p$
|
|
23203
|
+
}(p$2);
|
|
23137
23204
|
e$1.Alternation = g;
|
|
23138
23205
|
var O = function() {
|
|
23139
23206
|
function t$9(t$10) {
|
|
@@ -23502,11 +23569,11 @@ var require_chevrotain = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
23502
23569
|
return f.GAstVisitor;
|
|
23503
23570
|
}
|
|
23504
23571
|
});
|
|
23505
|
-
var p$
|
|
23572
|
+
var p$2 = r(8962);
|
|
23506
23573
|
Object.defineProperty(t$8, "generateCstDts", {
|
|
23507
23574
|
enumerable: !0,
|
|
23508
23575
|
get: function() {
|
|
23509
|
-
return p$
|
|
23576
|
+
return p$2.generateCstDts;
|
|
23510
23577
|
}
|
|
23511
23578
|
}), t$8.clearCache = function() {
|
|
23512
23579
|
console.warn("The clearCache function was 'soft' removed from the Chevrotain API.\n It performs no action other than printing this message.\n Please avoid using it as it will be completely removed in the future");
|
|
@@ -24381,7 +24448,7 @@ var require_json = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@bacon
|
|
|
24381
24448
|
return result;
|
|
24382
24449
|
};
|
|
24383
24450
|
var __exportStar$1 = exports && exports.__exportStar || function(m$1, exports$1) {
|
|
24384
|
-
for (var p$
|
|
24451
|
+
for (var p$2 in m$1) if (p$2 !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p$2)) __createBinding$23(exports$1, m$1, p$2);
|
|
24385
24452
|
};
|
|
24386
24453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24387
24454
|
exports.build = exports.parse = void 0;
|
|
@@ -28005,7 +28072,7 @@ var require_dom = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
28005
28072
|
};
|
|
28006
28073
|
}
|
|
28007
28074
|
function copy(src$2, dest) {
|
|
28008
|
-
for (var p$
|
|
28075
|
+
for (var p$2 in src$2) if (Object.prototype.hasOwnProperty.call(src$2, p$2)) dest[p$2] = src$2[p$2];
|
|
28009
28076
|
}
|
|
28010
28077
|
/**
|
|
28011
28078
|
^\w+\.prototype\.([_\w]+)\s*=\s*((?:.*\{\s*?[\r\n][\s\S]*?^})|\S.*?(?=[;\r\n]));?
|
|
@@ -31419,13 +31486,13 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
31419
31486
|
start = end$1;
|
|
31420
31487
|
}
|
|
31421
31488
|
}
|
|
31422
|
-
function position$1(p$
|
|
31423
|
-
while (p$
|
|
31489
|
+
function position$1(p$2, m$1) {
|
|
31490
|
+
while (p$2 >= lineEnd && (m$1 = linePattern.exec(source))) {
|
|
31424
31491
|
lineStart = m$1.index;
|
|
31425
31492
|
lineEnd = lineStart + m$1[0].length;
|
|
31426
31493
|
locator.lineNumber++;
|
|
31427
31494
|
}
|
|
31428
|
-
locator.columnNumber = p$
|
|
31495
|
+
locator.columnNumber = p$2 - lineStart + 1;
|
|
31429
31496
|
}
|
|
31430
31497
|
var lineStart = 0;
|
|
31431
31498
|
var lineEnd = 0;
|
|
@@ -31534,14 +31601,14 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
31534
31601
|
}
|
|
31535
31602
|
var attrName;
|
|
31536
31603
|
var value;
|
|
31537
|
-
var p$
|
|
31604
|
+
var p$2 = ++start;
|
|
31538
31605
|
var s$1 = S_TAG;
|
|
31539
31606
|
while (true) {
|
|
31540
|
-
var c$1 = source.charAt(p$
|
|
31607
|
+
var c$1 = source.charAt(p$2);
|
|
31541
31608
|
switch (c$1) {
|
|
31542
31609
|
case "=":
|
|
31543
31610
|
if (s$1 === S_ATTR) {
|
|
31544
|
-
attrName = source.slice(start, p$
|
|
31611
|
+
attrName = source.slice(start, p$2);
|
|
31545
31612
|
s$1 = S_EQ;
|
|
31546
31613
|
} else if (s$1 === S_ATTR_SPACE) s$1 = S_EQ;
|
|
31547
31614
|
else throw new Error("attribute equal must after attrName");
|
|
@@ -31551,26 +31618,26 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
31551
31618
|
if (s$1 === S_EQ || s$1 === S_ATTR) {
|
|
31552
31619
|
if (s$1 === S_ATTR) {
|
|
31553
31620
|
errorHandler.warning("attribute value must after \"=\"");
|
|
31554
|
-
attrName = source.slice(start, p$
|
|
31621
|
+
attrName = source.slice(start, p$2);
|
|
31555
31622
|
}
|
|
31556
|
-
start = p$
|
|
31557
|
-
p$
|
|
31558
|
-
if (p$
|
|
31559
|
-
value = source.slice(start, p$
|
|
31623
|
+
start = p$2 + 1;
|
|
31624
|
+
p$2 = source.indexOf(c$1, start);
|
|
31625
|
+
if (p$2 > 0) {
|
|
31626
|
+
value = source.slice(start, p$2).replace(/&#?\w+;/g, entityReplacer);
|
|
31560
31627
|
addAttribute(attrName, value, start - 1);
|
|
31561
31628
|
s$1 = S_ATTR_END;
|
|
31562
31629
|
} else throw new Error("attribute value no end '" + c$1 + "' match");
|
|
31563
31630
|
} else if (s$1 == S_ATTR_NOQUOT_VALUE) {
|
|
31564
|
-
value = source.slice(start, p$
|
|
31631
|
+
value = source.slice(start, p$2).replace(/&#?\w+;/g, entityReplacer);
|
|
31565
31632
|
addAttribute(attrName, value, start);
|
|
31566
31633
|
errorHandler.warning("attribute \"" + attrName + "\" missed start quot(" + c$1 + ")!!");
|
|
31567
|
-
start = p$
|
|
31634
|
+
start = p$2 + 1;
|
|
31568
31635
|
s$1 = S_ATTR_END;
|
|
31569
31636
|
} else throw new Error("attribute value must after \"=\"");
|
|
31570
31637
|
break;
|
|
31571
31638
|
case "/":
|
|
31572
31639
|
switch (s$1) {
|
|
31573
|
-
case S_TAG: el.setTagName(source.slice(start, p$
|
|
31640
|
+
case S_TAG: el.setTagName(source.slice(start, p$2));
|
|
31574
31641
|
case S_ATTR_END:
|
|
31575
31642
|
case S_TAG_SPACE:
|
|
31576
31643
|
case S_TAG_CLOSE:
|
|
@@ -31586,17 +31653,17 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
31586
31653
|
break;
|
|
31587
31654
|
case "":
|
|
31588
31655
|
errorHandler.error("unexpected end of input");
|
|
31589
|
-
if (s$1 == S_TAG) el.setTagName(source.slice(start, p$
|
|
31590
|
-
return p$
|
|
31656
|
+
if (s$1 == S_TAG) el.setTagName(source.slice(start, p$2));
|
|
31657
|
+
return p$2;
|
|
31591
31658
|
case ">":
|
|
31592
31659
|
switch (s$1) {
|
|
31593
|
-
case S_TAG: el.setTagName(source.slice(start, p$
|
|
31660
|
+
case S_TAG: el.setTagName(source.slice(start, p$2));
|
|
31594
31661
|
case S_ATTR_END:
|
|
31595
31662
|
case S_TAG_SPACE:
|
|
31596
31663
|
case S_TAG_CLOSE: break;
|
|
31597
31664
|
case S_ATTR_NOQUOT_VALUE:
|
|
31598
31665
|
case S_ATTR:
|
|
31599
|
-
value = source.slice(start, p$
|
|
31666
|
+
value = source.slice(start, p$2);
|
|
31600
31667
|
if (value.slice(-1) === "/") {
|
|
31601
31668
|
el.closed = true;
|
|
31602
31669
|
value = value.slice(0, -1);
|
|
@@ -31613,19 +31680,19 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
31613
31680
|
break;
|
|
31614
31681
|
case S_EQ: throw new Error("attribute value missed!!");
|
|
31615
31682
|
}
|
|
31616
|
-
return p$
|
|
31683
|
+
return p$2;
|
|
31617
31684
|
case "": c$1 = " ";
|
|
31618
31685
|
default: if (c$1 <= " ") switch (s$1) {
|
|
31619
31686
|
case S_TAG:
|
|
31620
|
-
el.setTagName(source.slice(start, p$
|
|
31687
|
+
el.setTagName(source.slice(start, p$2));
|
|
31621
31688
|
s$1 = S_TAG_SPACE;
|
|
31622
31689
|
break;
|
|
31623
31690
|
case S_ATTR:
|
|
31624
|
-
attrName = source.slice(start, p$
|
|
31691
|
+
attrName = source.slice(start, p$2);
|
|
31625
31692
|
s$1 = S_ATTR_SPACE;
|
|
31626
31693
|
break;
|
|
31627
31694
|
case S_ATTR_NOQUOT_VALUE:
|
|
31628
|
-
var value = source.slice(start, p$
|
|
31695
|
+
var value = source.slice(start, p$2).replace(/&#?\w+;/g, entityReplacer);
|
|
31629
31696
|
errorHandler.warning("attribute \"" + value + "\" missed quot(\")!!");
|
|
31630
31697
|
addAttribute(attrName, value, start);
|
|
31631
31698
|
case S_ATTR_END:
|
|
@@ -31637,22 +31704,22 @@ var require_sax = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@xmldom
|
|
|
31637
31704
|
el.tagName;
|
|
31638
31705
|
if (!NAMESPACE$1.isHTML(currentNSMap[""]) || !attrName.match(/^(?:disabled|checked|selected)$/i)) errorHandler.warning("attribute \"" + attrName + "\" missed value!! \"" + attrName + "\" instead2!!");
|
|
31639
31706
|
addAttribute(attrName, attrName, start);
|
|
31640
|
-
start = p$
|
|
31707
|
+
start = p$2;
|
|
31641
31708
|
s$1 = S_ATTR;
|
|
31642
31709
|
break;
|
|
31643
31710
|
case S_ATTR_END: errorHandler.warning("attribute space is required\"" + attrName + "\"!!");
|
|
31644
31711
|
case S_TAG_SPACE:
|
|
31645
31712
|
s$1 = S_ATTR;
|
|
31646
|
-
start = p$
|
|
31713
|
+
start = p$2;
|
|
31647
31714
|
break;
|
|
31648
31715
|
case S_EQ:
|
|
31649
31716
|
s$1 = S_ATTR_NOQUOT_VALUE;
|
|
31650
|
-
start = p$
|
|
31717
|
+
start = p$2;
|
|
31651
31718
|
break;
|
|
31652
31719
|
case S_TAG_CLOSE: throw new Error("elements closed character '/' and '>' must be connected to");
|
|
31653
31720
|
}
|
|
31654
31721
|
}
|
|
31655
|
-
p$
|
|
31722
|
+
p$2++;
|
|
31656
31723
|
}
|
|
31657
31724
|
}
|
|
31658
31725
|
/**
|
|
@@ -34305,7 +34372,7 @@ var require_build = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@baco
|
|
|
34305
34372
|
o$1[k2] = m$1[k];
|
|
34306
34373
|
}));
|
|
34307
34374
|
var __exportStar = exports && exports.__exportStar || function(m$1, exports$1) {
|
|
34308
|
-
for (var p$
|
|
34375
|
+
for (var p$2 in m$1) if (p$2 !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p$2)) __createBinding(exports$1, m$1, p$2);
|
|
34309
34376
|
};
|
|
34310
34377
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34311
34378
|
__exportStar(require_api(), exports);
|
|
@@ -34423,7 +34490,7 @@ const nativeBuild = async (options) => {
|
|
|
34423
34490
|
s$1.start(`Fingerprinting (${platform$2})`);
|
|
34424
34491
|
const generatedFingerprint = (await createAndInjectFingerprintFiles()).fingerprint[platform$2];
|
|
34425
34492
|
s$1.stop(`Fingerprint(${platform$2}): ${generatedFingerprint}`);
|
|
34426
|
-
if (!isFingerprintEquals(localFingerprint, generatedFingerprint)) p.log.info(`${
|
|
34493
|
+
if (!isFingerprintEquals(localFingerprint, generatedFingerprint)) p.log.info(`${colors.blue(`fingerprint.json, ${platform$2} fingerprint config files`)} have been changed.`);
|
|
34427
34494
|
target.fingerprintHash = generatedFingerprint.hash;
|
|
34428
34495
|
} else if (config.updateStrategy === "appVersion") {
|
|
34429
34496
|
const s$1 = p.spinner();
|
|
@@ -34461,7 +34528,7 @@ const nativeBuild = async (options) => {
|
|
|
34461
34528
|
taskRef.buildResult.buildDirectory = buildDirectory;
|
|
34462
34529
|
await buildPlugin.nativeBuild?.postbuild?.({ platform: platform$2 });
|
|
34463
34530
|
await fs$1.promises.mkdir(normalizeOutputPath, { recursive: true });
|
|
34464
|
-
p.log.success(`Artifact stored at ${
|
|
34531
|
+
p.log.success(`Artifact stored at ${colors.blueBright(path$1.relative(getCwd(), artifactResultStorePath))}.`);
|
|
34465
34532
|
await fs$1.promises.rm(artifactResultStorePath, {
|
|
34466
34533
|
recursive: true,
|
|
34467
34534
|
force: true
|
|
@@ -35387,7 +35454,6 @@ const getDefaultTargetAppVersion = async (platform$2) => {
|
|
|
35387
35454
|
|
|
35388
35455
|
//#endregion
|
|
35389
35456
|
//#region src/commands/deploy.ts
|
|
35390
|
-
var import_picocolors$4 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
35391
35457
|
var import_valid$1 = /* @__PURE__ */ __toESM(require_valid$2(), 1);
|
|
35392
35458
|
const getExtensionFromCompressStrategy = (compressStrategy) => {
|
|
35393
35459
|
switch (compressStrategy) {
|
|
@@ -35520,7 +35586,7 @@ const deploy = async (options) => {
|
|
|
35520
35586
|
}
|
|
35521
35587
|
bundleId = taskRef.buildResult.bundleId;
|
|
35522
35588
|
fileHash = await getFileHashFromFile(bundlePath);
|
|
35523
|
-
p.log.success(`Bundle stored at ${
|
|
35589
|
+
p.log.success(`Bundle stored at ${colors.blueBright(path$1.relative(cwd, bundlePath))}`);
|
|
35524
35590
|
return `✅ Build Complete (${buildPlugin.name})`;
|
|
35525
35591
|
}
|
|
35526
35592
|
}]);
|
|
@@ -35854,27 +35920,26 @@ const getChannel = async (platform$2) => {
|
|
|
35854
35920
|
|
|
35855
35921
|
//#endregion
|
|
35856
35922
|
//#region src/commands/channel.ts
|
|
35857
|
-
var import_picocolors$3 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
35858
35923
|
const handleChannel = async () => {
|
|
35859
35924
|
const androidChannel = await getChannel("android");
|
|
35860
35925
|
const iosChannel = await getChannel("ios");
|
|
35861
|
-
p.log.info(`Current Android channel: ${
|
|
35862
|
-
p.log.info(` from: ${
|
|
35863
|
-
p.log.info(`Current iOS channel: ${
|
|
35864
|
-
p.log.info(` from: ${
|
|
35926
|
+
p.log.info(`Current Android channel: ${colors.green(androidChannel.value)}`);
|
|
35927
|
+
p.log.info(` from: ${colors.blue(androidChannel.paths[0])}`);
|
|
35928
|
+
p.log.info(`Current iOS channel: ${colors.green(iosChannel.value)}`);
|
|
35929
|
+
p.log.info(` from: ${colors.blue(iosChannel.paths[0])}`);
|
|
35865
35930
|
};
|
|
35866
35931
|
const handleSetChannel = async (channel) => {
|
|
35867
35932
|
const { paths: androidPaths } = await setChannel("android", channel);
|
|
35868
|
-
p.log.success(`Set Android channel to: ${
|
|
35933
|
+
p.log.success(`Set Android channel to: ${colors.green(channel)}`);
|
|
35869
35934
|
if (androidPaths.length > 0) {
|
|
35870
|
-
p.log.info(
|
|
35871
|
-
for (const path$6 of androidPaths) p.log.info(` ${
|
|
35935
|
+
p.log.info(colors.bold("Changed Android paths:"));
|
|
35936
|
+
for (const path$6 of androidPaths) p.log.info(` ${colors.green(path$6)}`);
|
|
35872
35937
|
}
|
|
35873
35938
|
const { paths: iosPaths } = await setChannel("ios", channel);
|
|
35874
|
-
p.log.success(`Set iOS channel to: ${
|
|
35939
|
+
p.log.success(`Set iOS channel to: ${colors.green(channel)}`);
|
|
35875
35940
|
if (iosPaths.length > 0) {
|
|
35876
|
-
p.log.info(
|
|
35877
|
-
for (const path$6 of iosPaths) p.log.info(` ${
|
|
35941
|
+
p.log.info(colors.bold("Changed iOS paths:"));
|
|
35942
|
+
for (const path$6 of iosPaths) p.log.info(` ${colors.green(path$6)}`);
|
|
35878
35943
|
}
|
|
35879
35944
|
p.log.success("You need to rebuild the native app if the channel has changed.");
|
|
35880
35945
|
};
|
|
@@ -36604,7 +36669,6 @@ const handleDoctor = async ({ fix }) => {
|
|
|
36604
36669
|
|
|
36605
36670
|
//#endregion
|
|
36606
36671
|
//#region src/commands/fingerprint.ts
|
|
36607
|
-
var import_picocolors$2 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
36608
36672
|
const handleFingerprint = async () => {
|
|
36609
36673
|
const s$1 = p.spinner();
|
|
36610
36674
|
s$1.start("Generating fingerprints");
|
|
@@ -36659,14 +36723,14 @@ const handleCreateFingerprint = async () => {
|
|
|
36659
36723
|
}
|
|
36660
36724
|
if (diffChanged && result) {
|
|
36661
36725
|
if (result.androidPaths.length > 0) {
|
|
36662
|
-
p.log.info(
|
|
36663
|
-
for (const path$6 of result.androidPaths) p.log.info(` ${
|
|
36726
|
+
p.log.info(colors.bold("Changed Android paths:"));
|
|
36727
|
+
for (const path$6 of result.androidPaths) p.log.info(` ${colors.green(path$6)}`);
|
|
36664
36728
|
}
|
|
36665
36729
|
if (result.iosPaths.length > 0) {
|
|
36666
|
-
p.log.info(
|
|
36667
|
-
for (const path$6 of result.iosPaths) p.log.info(` ${
|
|
36730
|
+
p.log.info(colors.bold("Changed iOS paths:"));
|
|
36731
|
+
for (const path$6 of result.iosPaths) p.log.info(` ${colors.green(path$6)}`);
|
|
36668
36732
|
}
|
|
36669
|
-
p.log.success(
|
|
36733
|
+
p.log.success(colors.bold(`${colors.blue("fingerprint.json")} has changed, you need to rebuild the native app.`));
|
|
36670
36734
|
if (localFingerprint && result.fingerprint) {
|
|
36671
36735
|
const fingerprintConfig = (await loadConfig(null)).fingerprint;
|
|
36672
36736
|
try {
|
|
@@ -36682,7 +36746,7 @@ const handleCreateFingerprint = async () => {
|
|
|
36682
36746
|
p.log.warn("Could not generate fingerprint diff");
|
|
36683
36747
|
}
|
|
36684
36748
|
}
|
|
36685
|
-
} else p.log.success(
|
|
36749
|
+
} else p.log.success(colors.bold(`${colors.blue("fingerprint.json")} is up to date.`));
|
|
36686
36750
|
};
|
|
36687
36751
|
|
|
36688
36752
|
//#endregion
|
|
@@ -37056,7 +37120,7 @@ async function generatePrismaSchema(schemaCode, outputDir, skipConfirm) {
|
|
|
37056
37120
|
|
|
37057
37121
|
//#endregion
|
|
37058
37122
|
//#region src/commands/migrate.ts
|
|
37059
|
-
var import_picocolors
|
|
37123
|
+
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
37060
37124
|
/**
|
|
37061
37125
|
* Format migration operations into human-readable changes
|
|
37062
37126
|
*/
|
|
@@ -37080,7 +37144,7 @@ function formatOperations(operations) {
|
|
|
37080
37144
|
const maxNameLength = Math.max(...columns.map((c$1) => c$1.name.length));
|
|
37081
37145
|
for (const col of columns) {
|
|
37082
37146
|
const paddedName = col.name.padEnd(maxNameLength);
|
|
37083
|
-
changes.push(` ${import_picocolors
|
|
37147
|
+
changes.push(` ${import_picocolors.default.cyan(paddedName)} ${import_picocolors.default.yellow(col.type)}`);
|
|
37084
37148
|
}
|
|
37085
37149
|
}
|
|
37086
37150
|
}
|
|
@@ -37224,7 +37288,6 @@ async function migrateWithMigrator(hotUpdater, skipConfirm, s$1) {
|
|
|
37224
37288
|
|
|
37225
37289
|
//#endregion
|
|
37226
37290
|
//#region src/index.ts
|
|
37227
|
-
var import_picocolors = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
37228
37291
|
var import_valid = /* @__PURE__ */ __toESM(require_valid$2(), 1);
|
|
37229
37292
|
const DEFAULT_CHANNEL = "production";
|
|
37230
37293
|
const program = new Command();
|
|
@@ -37249,7 +37312,7 @@ program.command("deploy").description("deploy a new version").addOption(platform
|
|
|
37249
37312
|
program.command("console").description("open the console").action(async () => {
|
|
37250
37313
|
printBanner$1();
|
|
37251
37314
|
await openConsole(await getConsolePort(), (info) => {
|
|
37252
|
-
console.log(`Server running on ${
|
|
37315
|
+
console.log(`Server running on ${colors.magenta(colors.underline(`http://localhost:${info.port}`))}`);
|
|
37253
37316
|
});
|
|
37254
37317
|
});
|
|
37255
37318
|
program.command("app-version").description("get the current app version").action(async () => {
|