create-nuxt-nightly 3.32.1-20260204-103045-362ab3a → 3.32.1-20260204-103652-362ab3a
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/{dist-B3VCpMSW.mjs → dist-C39I2Bdy.mjs} +180 -211
- package/dist/index.mjs +5230 -5231
- package/dist/{multipart-parser-DOQcgkJ3.mjs → multipart-parser-B3Qu3iGm.mjs} +2 -2
- package/dist/{node-IfZTMC2c.mjs → node-DJcXTKoV.mjs} +924 -924
- package/dist/{nypm-DwdvAaR8.mjs → nypm-Bi7vmiVi.mjs} +177 -177
- package/dist/nypm-C9DTspIp.mjs +3 -0
- package/dist/satisfies-DOqxhoWl.mjs +5 -0
- package/dist/{satisfies-DLMV-m6h.mjs → satisfies-qSxe73EV.mjs} +1 -1
- package/dist/{tar-D46i5ptU.mjs → tar-DRrB9fR1.mjs} +469 -469
- package/dist/templates-DB-kStWC.mjs +3 -0
- package/package.json +2 -2
- package/dist/nypm-O0U1CM5U.mjs +0 -3
- package/dist/satisfies-DzjEjgTI.mjs +0 -5
- package/dist/templates-By17X9z0.mjs +0 -3
- /package/dist/{chunk-nJFzdKgM.mjs → chunk-DPkJJFeX.mjs} +0 -0
- /package/dist/{rolldown-runtime-BxXLIsv-.mjs → rolldown-runtime-DSGdMMwJ.mjs} +0 -0
- /package/dist/{templates-DthP0PsI.mjs → templates-Bwk32I7P.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as __toESM$1, t as __commonJSMin } from "./chunk-
|
|
1
|
+
import { o as __toESM$1, t as __commonJSMin } from "./chunk-DPkJJFeX.mjs";
|
|
2
2
|
import { promises } from "node:fs";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/@babel+parser@7.28.6/node_modules/@babel/parser/lib/index.js
|
|
@@ -7,9 +7,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7
7
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
8
8
|
if (null == r) return {};
|
|
9
9
|
var t = {};
|
|
10
|
-
for (var n
|
|
11
|
-
if (-1 !== e.indexOf(n
|
|
12
|
-
t[n
|
|
10
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
11
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
12
|
+
t[n] = r[n];
|
|
13
13
|
}
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
@@ -1092,8 +1092,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1092
1092
|
};
|
|
1093
1093
|
let nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
|
|
1094
1094
|
let nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
|
|
1095
|
-
const nonASCIIidentifierStart =
|
|
1096
|
-
const nonASCIIidentifier =
|
|
1095
|
+
const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
1096
|
+
const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
1097
1097
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
1098
1098
|
const astralIdentifierStartCodes = [
|
|
1099
1099
|
0,
|
|
@@ -2559,14 +2559,14 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2559
2559
|
const body = bodyNode.body = [];
|
|
2560
2560
|
this.expect(5);
|
|
2561
2561
|
while (!this.match(8)) {
|
|
2562
|
-
const bodyNode
|
|
2562
|
+
const bodyNode = this.startNode();
|
|
2563
2563
|
if (this.match(83)) {
|
|
2564
2564
|
this.next();
|
|
2565
2565
|
if (!this.isContextual(130) && !this.match(87)) this.raise(FlowErrors.InvalidNonTypeImportInDeclareModule, this.state.lastTokStartLoc);
|
|
2566
|
-
body.push(super.parseImport(bodyNode
|
|
2566
|
+
body.push(super.parseImport(bodyNode));
|
|
2567
2567
|
} else {
|
|
2568
2568
|
this.expectContextual(125, FlowErrors.UnsupportedStatementInDeclareModule);
|
|
2569
|
-
body.push(this.flowParseDeclare(bodyNode
|
|
2569
|
+
body.push(this.flowParseDeclare(bodyNode, true));
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
2572
2572
|
this.scope.exit();
|
|
@@ -3122,20 +3122,20 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3122
3122
|
this.state.noAnonFunctionType = oldNoAnonFunctionType;
|
|
3123
3123
|
return type;
|
|
3124
3124
|
case 47: {
|
|
3125
|
-
const node
|
|
3126
|
-
node
|
|
3125
|
+
const node = this.startNode();
|
|
3126
|
+
node.typeParameters = this.flowParseTypeParameterDeclaration();
|
|
3127
3127
|
this.expect(10);
|
|
3128
3128
|
tmp = this.flowParseFunctionTypeParams();
|
|
3129
|
-
node
|
|
3130
|
-
node
|
|
3131
|
-
node
|
|
3129
|
+
node.params = tmp.params;
|
|
3130
|
+
node.rest = tmp.rest;
|
|
3131
|
+
node.this = tmp._this;
|
|
3132
3132
|
this.expect(11);
|
|
3133
3133
|
this.expect(19);
|
|
3134
|
-
node
|
|
3135
|
-
return this.finishNode(node
|
|
3134
|
+
node.returnType = this.flowParseType();
|
|
3135
|
+
return this.finishNode(node, "FunctionTypeAnnotation");
|
|
3136
3136
|
}
|
|
3137
3137
|
case 10: {
|
|
3138
|
-
const node
|
|
3138
|
+
const node = this.startNode();
|
|
3139
3139
|
this.next();
|
|
3140
3140
|
if (!this.match(11) && !this.match(21)) if (tokenIsIdentifier(this.state.type) || this.match(78)) {
|
|
3141
3141
|
const token = this.lookahead().type;
|
|
@@ -3152,14 +3152,14 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3152
3152
|
}
|
|
3153
3153
|
if (type) tmp = this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(type)]);
|
|
3154
3154
|
else tmp = this.flowParseFunctionTypeParams();
|
|
3155
|
-
node
|
|
3156
|
-
node
|
|
3157
|
-
node
|
|
3155
|
+
node.params = tmp.params;
|
|
3156
|
+
node.rest = tmp.rest;
|
|
3157
|
+
node.this = tmp._this;
|
|
3158
3158
|
this.expect(11);
|
|
3159
3159
|
this.expect(19);
|
|
3160
|
-
node
|
|
3161
|
-
node
|
|
3162
|
-
return this.finishNode(node
|
|
3160
|
+
node.returnType = this.flowParseType();
|
|
3161
|
+
node.typeParameters = null;
|
|
3162
|
+
return this.finishNode(node, "FunctionTypeAnnotation");
|
|
3163
3163
|
}
|
|
3164
3164
|
case 134: return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation");
|
|
3165
3165
|
case 85:
|
|
@@ -3420,21 +3420,21 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3420
3420
|
const stack = [node];
|
|
3421
3421
|
const arrows = [];
|
|
3422
3422
|
while (stack.length !== 0) {
|
|
3423
|
-
const node
|
|
3424
|
-
if (node
|
|
3425
|
-
if (node
|
|
3426
|
-
else arrows.push(node
|
|
3427
|
-
stack.push(node
|
|
3428
|
-
} else if (node
|
|
3429
|
-
stack.push(node
|
|
3430
|
-
stack.push(node
|
|
3423
|
+
const node = stack.pop();
|
|
3424
|
+
if (node.type === "ArrowFunctionExpression" && node.body.type !== "BlockStatement") {
|
|
3425
|
+
if (node.typeParameters || !node.returnType) this.finishArrowValidation(node);
|
|
3426
|
+
else arrows.push(node);
|
|
3427
|
+
stack.push(node.body);
|
|
3428
|
+
} else if (node.type === "ConditionalExpression") {
|
|
3429
|
+
stack.push(node.consequent);
|
|
3430
|
+
stack.push(node.alternate);
|
|
3431
3431
|
}
|
|
3432
3432
|
}
|
|
3433
3433
|
if (disallowInvalid) {
|
|
3434
|
-
arrows.forEach((node
|
|
3434
|
+
arrows.forEach((node) => this.finishArrowValidation(node));
|
|
3435
3435
|
return [arrows, []];
|
|
3436
3436
|
}
|
|
3437
|
-
return partition(arrows, (node
|
|
3437
|
+
return partition(arrows, (node) => node.params.every((param) => this.isAssignable(param, true)));
|
|
3438
3438
|
}
|
|
3439
3439
|
finishArrowValidation(node) {
|
|
3440
3440
|
var _node$extra;
|
|
@@ -3443,13 +3443,13 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3443
3443
|
super.checkParams(node, false, true);
|
|
3444
3444
|
this.scope.exit();
|
|
3445
3445
|
}
|
|
3446
|
-
forwardNoArrowParamsConversionAt(node, parse
|
|
3446
|
+
forwardNoArrowParamsConversionAt(node, parse) {
|
|
3447
3447
|
let result;
|
|
3448
3448
|
if (this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(node.start))) {
|
|
3449
3449
|
this.state.noArrowParamsConversionAt.push(this.state.start);
|
|
3450
|
-
result = parse
|
|
3450
|
+
result = parse();
|
|
3451
3451
|
this.state.noArrowParamsConversionAt.pop();
|
|
3452
|
-
} else result = parse
|
|
3452
|
+
} else result = parse();
|
|
3453
3453
|
return result;
|
|
3454
3454
|
}
|
|
3455
3455
|
parseParenItem(node, startLoc) {
|
|
@@ -3623,11 +3623,11 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3623
3623
|
this.next();
|
|
3624
3624
|
const implemented = node.implements = [];
|
|
3625
3625
|
do {
|
|
3626
|
-
const node
|
|
3627
|
-
node
|
|
3628
|
-
if (this.match(47)) node
|
|
3629
|
-
else node
|
|
3630
|
-
implemented.push(this.finishNode(node
|
|
3626
|
+
const node = this.startNode();
|
|
3627
|
+
node.id = this.flowParseRestrictedIdentifier(true);
|
|
3628
|
+
if (this.match(47)) node.typeParameters = this.flowParseTypeParameterInstantiation();
|
|
3629
|
+
else node.typeParameters = null;
|
|
3630
|
+
implemented.push(this.finishNode(node, "ClassImplements"));
|
|
3631
3631
|
} while (this.eat(12));
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
@@ -3788,17 +3788,17 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3788
3788
|
const arrow = this.tryParse((abort) => {
|
|
3789
3789
|
var _arrowExpression$extr;
|
|
3790
3790
|
typeParameters = this.flowParseTypeParameterDeclaration();
|
|
3791
|
-
const arrowExpression
|
|
3791
|
+
const arrowExpression = this.forwardNoArrowParamsConversionAt(typeParameters, () => {
|
|
3792
3792
|
const result = super.parseMaybeAssign(refExpressionErrors, afterLeftParse);
|
|
3793
3793
|
this.resetStartLocationFromNode(result, typeParameters);
|
|
3794
3794
|
return result;
|
|
3795
3795
|
});
|
|
3796
|
-
if ((_arrowExpression$extr = arrowExpression
|
|
3797
|
-
const expr = this.maybeUnwrapTypeCastExpression(arrowExpression
|
|
3796
|
+
if ((_arrowExpression$extr = arrowExpression.extra) != null && _arrowExpression$extr.parenthesized) abort();
|
|
3797
|
+
const expr = this.maybeUnwrapTypeCastExpression(arrowExpression);
|
|
3798
3798
|
if (expr.type !== "ArrowFunctionExpression") abort();
|
|
3799
3799
|
expr.typeParameters = typeParameters;
|
|
3800
3800
|
this.resetStartLocationFromNode(expr, typeParameters);
|
|
3801
|
-
return arrowExpression
|
|
3801
|
+
return arrowExpression;
|
|
3802
3802
|
}, state);
|
|
3803
3803
|
let arrowExpression = null;
|
|
3804
3804
|
if (arrow.node && this.maybeUnwrapTypeCastExpression(arrow.node).type === "ArrowFunctionExpression") {
|
|
@@ -4595,8 +4595,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4595
4595
|
out += this.jsxReadEntity();
|
|
4596
4596
|
chunkStart = this.state.pos;
|
|
4597
4597
|
break;
|
|
4598
|
-
case 62:
|
|
4599
|
-
case 125:
|
|
4600
4598
|
default: if (isNewLine(ch)) {
|
|
4601
4599
|
out += this.input.slice(chunkStart, this.state.pos);
|
|
4602
4600
|
out += this.jsxReadNewLine(true);
|
|
@@ -4793,11 +4791,11 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4793
4791
|
children.push(this.parseLiteral(this.state.value, "JSXText"));
|
|
4794
4792
|
break;
|
|
4795
4793
|
case 5: {
|
|
4796
|
-
const node
|
|
4794
|
+
const node = this.startNode();
|
|
4797
4795
|
this.setContext(types.brace);
|
|
4798
4796
|
this.next();
|
|
4799
|
-
if (this.match(21)) children.push(this.jsxParseSpreadChild(node
|
|
4800
|
-
else children.push(this.jsxParseExpressionContainer(node
|
|
4797
|
+
if (this.match(21)) children.push(this.jsxParseSpreadChild(node));
|
|
4798
|
+
else children.push(this.jsxParseExpressionContainer(node, types.j_expr));
|
|
4801
4799
|
break;
|
|
4802
4800
|
}
|
|
4803
4801
|
default: this.unexpected();
|
|
@@ -5401,9 +5399,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5401
5399
|
function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) {
|
|
5402
5400
|
const throwOnInvalid = !inTemplate;
|
|
5403
5401
|
pos++;
|
|
5404
|
-
const res = (ch
|
|
5402
|
+
const res = (ch) => ({
|
|
5405
5403
|
pos,
|
|
5406
|
-
ch
|
|
5404
|
+
ch,
|
|
5407
5405
|
lineStart,
|
|
5408
5406
|
curLine
|
|
5409
5407
|
});
|
|
@@ -5454,12 +5452,12 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5454
5452
|
}
|
|
5455
5453
|
function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) {
|
|
5456
5454
|
const initialPos = pos;
|
|
5457
|
-
let n
|
|
5458
|
-
({n
|
|
5459
|
-
if (n
|
|
5455
|
+
let n;
|
|
5456
|
+
({n, pos} = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors, !throwOnInvalid));
|
|
5457
|
+
if (n === null) if (throwOnInvalid) errors.invalidEscapeSequence(initialPos, lineStart, curLine);
|
|
5460
5458
|
else pos = initialPos - 1;
|
|
5461
5459
|
return {
|
|
5462
|
-
code: n
|
|
5460
|
+
code: n,
|
|
5463
5461
|
pos
|
|
5464
5462
|
};
|
|
5465
5463
|
}
|
|
@@ -6191,9 +6189,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6191
6189
|
});
|
|
6192
6190
|
}
|
|
6193
6191
|
readInt(radix, len, forceLen = false, allowNumSeparator = true) {
|
|
6194
|
-
const { n
|
|
6192
|
+
const { n, pos } = readInt(this.input, this.state.pos, this.state.lineStart, this.state.curLine, radix, len, forceLen, allowNumSeparator, this.errorHandlers_readInt, false);
|
|
6195
6193
|
this.state.pos = pos;
|
|
6196
|
-
return n
|
|
6194
|
+
return n;
|
|
6197
6195
|
}
|
|
6198
6196
|
readRadixNumber(radix) {
|
|
6199
6197
|
const start = this.state.pos;
|
|
@@ -6589,8 +6587,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6589
6587
|
tryParse(fn, oldState = this.state.clone()) {
|
|
6590
6588
|
const abortSignal = { node: null };
|
|
6591
6589
|
try {
|
|
6592
|
-
const node = fn((node
|
|
6593
|
-
abortSignal.node = node
|
|
6590
|
+
const node = fn((node = null) => {
|
|
6591
|
+
abortSignal.node = node;
|
|
6594
6592
|
throw abortSignal;
|
|
6595
6593
|
});
|
|
6596
6594
|
if (this.state.errors.length > oldState.errors.length) {
|
|
@@ -8023,9 +8021,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8023
8021
|
node.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers);
|
|
8024
8022
|
this.expect(29);
|
|
8025
8023
|
if (this.isContextual(114) && this.lookaheadCharCode() !== 46) {
|
|
8026
|
-
const node
|
|
8024
|
+
const node = this.startNode();
|
|
8027
8025
|
this.next();
|
|
8028
|
-
return this.finishNode(node
|
|
8026
|
+
return this.finishNode(node, "TSIntrinsicKeyword");
|
|
8029
8027
|
}
|
|
8030
8028
|
return this.tsParseType();
|
|
8031
8029
|
});
|
|
@@ -8421,18 +8419,18 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8421
8419
|
return;
|
|
8422
8420
|
}
|
|
8423
8421
|
if (tokenIsTemplate(this.state.type)) {
|
|
8424
|
-
const result
|
|
8425
|
-
result
|
|
8426
|
-
return result
|
|
8422
|
+
const result = super.parseTaggedTemplateExpression(base, startLoc, state);
|
|
8423
|
+
result.typeParameters = typeArguments;
|
|
8424
|
+
return result;
|
|
8427
8425
|
}
|
|
8428
8426
|
if (!noCalls && this.eat(10)) {
|
|
8429
|
-
const node
|
|
8430
|
-
node
|
|
8431
|
-
node
|
|
8432
|
-
this.tsCheckForInvalidTypeCasts(node
|
|
8433
|
-
node
|
|
8434
|
-
if (state.optionalChainMember) node
|
|
8435
|
-
return this.finishCallExpression(node
|
|
8427
|
+
const node = this.startNodeAt(startLoc);
|
|
8428
|
+
node.callee = base;
|
|
8429
|
+
node.arguments = this.parseCallExpressionArguments();
|
|
8430
|
+
this.tsCheckForInvalidTypeCasts(node.arguments);
|
|
8431
|
+
node.typeParameters = typeArguments;
|
|
8432
|
+
if (state.optionalChainMember) node.optional = isOptionalCall;
|
|
8433
|
+
return this.finishCallExpression(node, state.optionalChainMember);
|
|
8436
8434
|
}
|
|
8437
8435
|
const tokenType = this.state.type;
|
|
8438
8436
|
if (tokenType === 48 || tokenType === 52 || tokenType !== 10 && tokenCanStartExpression(tokenType) && !this.hasPrecedingLineBreak()) return;
|
|
@@ -9120,13 +9118,13 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9120
9118
|
if (this.shouldParseAsAmbientContext()) this.state.isAmbientContext = true;
|
|
9121
9119
|
return super.getExpression();
|
|
9122
9120
|
}
|
|
9123
|
-
parseExportSpecifier(node, isString
|
|
9124
|
-
if (!isString
|
|
9121
|
+
parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly) {
|
|
9122
|
+
if (!isString && isMaybeTypeOnly) {
|
|
9125
9123
|
this.parseTypeOnlyImportExportSpecifier(node, false, isInTypeExport);
|
|
9126
9124
|
return this.finishNode(node, "ExportSpecifier");
|
|
9127
9125
|
}
|
|
9128
9126
|
node.exportKind = "value";
|
|
9129
|
-
return super.parseExportSpecifier(node, isString
|
|
9127
|
+
return super.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly);
|
|
9130
9128
|
}
|
|
9131
9129
|
parseImportSpecifier(specifier, importedIsString, isInTypeOnlyImport, isMaybeTypeOnly, bindingType) {
|
|
9132
9130
|
if (!importedIsString && isMaybeTypeOnly) {
|
|
@@ -9475,7 +9473,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9475
9473
|
}
|
|
9476
9474
|
checkExport(node) {
|
|
9477
9475
|
const { specifiers } = node;
|
|
9478
|
-
if (specifiers != null && specifiers.length) node.specifiers = specifiers.filter((node
|
|
9476
|
+
if (specifiers != null && specifiers.length) node.specifiers = specifiers.filter((node) => node.exported.type === "Placeholder");
|
|
9479
9477
|
super.checkExport(node);
|
|
9480
9478
|
node.specifiers = specifiers;
|
|
9481
9479
|
}
|
|
@@ -9662,9 +9660,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9662
9660
|
if (isYield) {
|
|
9663
9661
|
if (this.prodParam.hasYield) {
|
|
9664
9662
|
this.next();
|
|
9665
|
-
let left
|
|
9666
|
-
if (afterLeftParse) left
|
|
9667
|
-
return left
|
|
9663
|
+
let left = this.parseYield(startLoc);
|
|
9664
|
+
if (afterLeftParse) left = afterLeftParse.call(this, left, startLoc);
|
|
9665
|
+
return left;
|
|
9668
9666
|
}
|
|
9669
9667
|
}
|
|
9670
9668
|
let ownExpressionErrors;
|
|
@@ -9699,8 +9697,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9699
9697
|
return node;
|
|
9700
9698
|
} else if (ownExpressionErrors) this.checkExpressionErrors(refExpressionErrors, true);
|
|
9701
9699
|
if (isYield) {
|
|
9702
|
-
const { type
|
|
9703
|
-
if ((this.hasPlugin("v8intrinsic") ? tokenCanStartExpression(type
|
|
9700
|
+
const { type } = this.state;
|
|
9701
|
+
if ((this.hasPlugin("v8intrinsic") ? tokenCanStartExpression(type) : tokenCanStartExpression(type) && !this.match(54)) && !this.isAmbiguousPrefixOrIdentifier()) {
|
|
9704
9702
|
this.raiseOverwrite(Errors.YieldNotInGeneratorFunction, startLoc);
|
|
9705
9703
|
return this.parseYield(startLoc);
|
|
9706
9704
|
}
|
|
@@ -9808,9 +9806,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9808
9806
|
const isAwait = this.isContextual(96);
|
|
9809
9807
|
if (isAwait && this.recordAwaitIfAllowed()) {
|
|
9810
9808
|
this.next();
|
|
9811
|
-
const expr
|
|
9812
|
-
if (!sawUnary) this.checkExponentialAfterUnary(expr
|
|
9813
|
-
return expr
|
|
9809
|
+
const expr = this.parseAwait(startLoc);
|
|
9810
|
+
if (!sawUnary) this.checkExponentialAfterUnary(expr);
|
|
9811
|
+
return expr;
|
|
9814
9812
|
}
|
|
9815
9813
|
const update = this.match(34);
|
|
9816
9814
|
const node = this.startNode();
|
|
@@ -9852,12 +9850,12 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
9852
9850
|
let expr = this.parseExprSubscripts(refExpressionErrors);
|
|
9853
9851
|
if (this.checkExpressionErrors(refExpressionErrors, false)) return expr;
|
|
9854
9852
|
while (tokenIsPostfix(this.state.type) && !this.canInsertSemicolon()) {
|
|
9855
|
-
const node
|
|
9856
|
-
node
|
|
9857
|
-
node
|
|
9858
|
-
node
|
|
9853
|
+
const node = this.startNodeAt(startLoc);
|
|
9854
|
+
node.operator = this.state.value;
|
|
9855
|
+
node.prefix = false;
|
|
9856
|
+
node.argument = expr;
|
|
9859
9857
|
this.next();
|
|
9860
|
-
this.checkLVal(expr, expr = this.finishNode(node
|
|
9858
|
+
this.checkLVal(expr, expr = this.finishNode(node, "UpdateExpression"));
|
|
9861
9859
|
}
|
|
9862
9860
|
return expr;
|
|
9863
9861
|
}
|
|
@@ -10101,14 +10099,14 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10101
10099
|
const containsEsc = this.state.containsEsc;
|
|
10102
10100
|
const id = this.parseIdentifier();
|
|
10103
10101
|
if (!containsEsc && id.name === "async" && !this.canInsertSemicolon()) {
|
|
10104
|
-
const { type
|
|
10105
|
-
if (type
|
|
10102
|
+
const { type } = this.state;
|
|
10103
|
+
if (type === 68) {
|
|
10106
10104
|
this.resetPreviousNodeTrailingComments(id);
|
|
10107
10105
|
this.next();
|
|
10108
10106
|
return this.parseAsyncFunctionExpression(this.startNodeAtNode(id));
|
|
10109
|
-
} else if (tokenIsIdentifier(type
|
|
10107
|
+
} else if (tokenIsIdentifier(type)) if (this.lookaheadCharCode() === 61) return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(id));
|
|
10110
10108
|
else return id;
|
|
10111
|
-
else if (type
|
|
10109
|
+
else if (type === 90) {
|
|
10112
10110
|
this.resetPreviousNodeTrailingComments(id);
|
|
10113
10111
|
return this.parseDo(this.startNodeAtNode(id), true);
|
|
10114
10112
|
}
|
|
@@ -11319,25 +11317,25 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11319
11317
|
const startLoc = this.state.startLoc;
|
|
11320
11318
|
let expr;
|
|
11321
11319
|
if (this.match(10)) {
|
|
11322
|
-
const startLoc
|
|
11320
|
+
const startLoc = this.state.startLoc;
|
|
11323
11321
|
this.next();
|
|
11324
11322
|
expr = this.parseExpression();
|
|
11325
11323
|
this.expect(11);
|
|
11326
|
-
expr = this.wrapParenthesis(startLoc
|
|
11324
|
+
expr = this.wrapParenthesis(startLoc, expr);
|
|
11327
11325
|
const paramsStartLoc = this.state.startLoc;
|
|
11328
|
-
node.expression = this.parseMaybeDecoratorArguments(expr, startLoc
|
|
11326
|
+
node.expression = this.parseMaybeDecoratorArguments(expr, startLoc);
|
|
11329
11327
|
if (this.getPluginOption("decorators", "allowCallParenthesized") === false && node.expression !== expr) this.raise(Errors.DecoratorArgumentsOutsideParentheses, paramsStartLoc);
|
|
11330
11328
|
} else {
|
|
11331
11329
|
expr = this.parseIdentifier(false);
|
|
11332
11330
|
while (this.eat(16)) {
|
|
11333
|
-
const node
|
|
11334
|
-
node
|
|
11331
|
+
const node = this.startNodeAt(startLoc);
|
|
11332
|
+
node.object = expr;
|
|
11335
11333
|
if (this.match(139)) {
|
|
11336
11334
|
this.classScope.usePrivateName(this.state.value, this.state.startLoc);
|
|
11337
|
-
node
|
|
11338
|
-
} else node
|
|
11339
|
-
node
|
|
11340
|
-
expr = this.finishNode(node
|
|
11335
|
+
node.property = this.parsePrivateName();
|
|
11336
|
+
} else node.property = this.parseIdentifier(true);
|
|
11337
|
+
node.computed = false;
|
|
11338
|
+
expr = this.finishNode(node, "MemberExpression");
|
|
11341
11339
|
}
|
|
11342
11340
|
node.expression = this.parseMaybeDecoratorArguments(expr, startLoc);
|
|
11343
11341
|
}
|
|
@@ -11428,12 +11426,12 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11428
11426
|
} else kind = this.state.value;
|
|
11429
11427
|
this.next();
|
|
11430
11428
|
this.parseVar(initNode, true, kind);
|
|
11431
|
-
const init
|
|
11429
|
+
const init = this.finishNode(initNode, "VariableDeclaration");
|
|
11432
11430
|
const isForIn = this.match(58);
|
|
11433
|
-
if (isForIn && starsWithUsingDeclaration) this.raise(Errors.ForInUsing, init
|
|
11434
|
-
if ((isForIn || this.isContextual(102)) && init
|
|
11431
|
+
if (isForIn && starsWithUsingDeclaration) this.raise(Errors.ForInUsing, init);
|
|
11432
|
+
if ((isForIn || this.isContextual(102)) && init.declarations.length === 1) return this.parseForIn(node, init, awaitAt);
|
|
11435
11433
|
if (awaitAt !== null) this.unexpected(awaitAt);
|
|
11436
|
-
return this.parseFor(node, init
|
|
11434
|
+
return this.parseFor(node, init);
|
|
11437
11435
|
}
|
|
11438
11436
|
}
|
|
11439
11437
|
const startsWithAsync = this.isContextual(95);
|
|
@@ -11868,10 +11866,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11868
11866
|
const isGenerator = this.eat(55);
|
|
11869
11867
|
if (publicMember.optional) this.unexpected(maybeQuestionTokenStartLoc);
|
|
11870
11868
|
method.kind = "method";
|
|
11871
|
-
const isPrivate
|
|
11869
|
+
const isPrivate = this.match(139);
|
|
11872
11870
|
this.parseClassElementName(method);
|
|
11873
11871
|
this.parsePostMemberNameModifiers(publicMember);
|
|
11874
|
-
if (isPrivate
|
|
11872
|
+
if (isPrivate) this.pushClassPrivateMethod(classBody, privateMethod, isGenerator, true);
|
|
11875
11873
|
else {
|
|
11876
11874
|
if (this.isNonstaticConstructor(publicMethod)) this.raise(Errors.ConstructorIsAsync, publicMethod.key);
|
|
11877
11875
|
this.pushClassMethod(classBody, publicMethod, isGenerator, true, false, false);
|
|
@@ -11879,9 +11877,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11879
11877
|
} else if ((maybeContextualKw === "get" || maybeContextualKw === "set") && !(this.match(55) && this.isLineTerminator())) {
|
|
11880
11878
|
this.resetPreviousNodeTrailingComments(key);
|
|
11881
11879
|
method.kind = maybeContextualKw;
|
|
11882
|
-
const isPrivate
|
|
11880
|
+
const isPrivate = this.match(139);
|
|
11883
11881
|
this.parseClassElementName(publicMethod);
|
|
11884
|
-
if (isPrivate
|
|
11882
|
+
if (isPrivate) this.pushClassPrivateMethod(classBody, privateMethod, false, false);
|
|
11885
11883
|
else {
|
|
11886
11884
|
if (this.isNonstaticConstructor(publicMethod)) this.raise(Errors.ConstructorIsAccessor, publicMethod.key);
|
|
11887
11885
|
this.pushClassMethod(classBody, publicMethod, false, false, false, false);
|
|
@@ -11890,9 +11888,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
11890
11888
|
} else if (maybeContextualKw === "accessor" && !this.isLineTerminator()) {
|
|
11891
11889
|
this.expectPlugin("decoratorAutoAccessors");
|
|
11892
11890
|
this.resetPreviousNodeTrailingComments(key);
|
|
11893
|
-
const isPrivate
|
|
11891
|
+
const isPrivate = this.match(139);
|
|
11894
11892
|
this.parseClassElementName(publicProp);
|
|
11895
|
-
this.pushClassAccessorProperty(classBody, accessorProp, isPrivate
|
|
11893
|
+
this.pushClassAccessorProperty(classBody, accessorProp, isPrivate);
|
|
11896
11894
|
} else if (this.isLineTerminator()) if (isPrivate) this.pushClassPrivateProperty(classBody, privateProp);
|
|
11897
11895
|
else this.pushClassProperty(classBody, publicProp);
|
|
11898
11896
|
else this.unexpected();
|
|
@@ -12115,9 +12113,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12115
12113
|
if (tokenIsIdentifier(type)) {
|
|
12116
12114
|
if (type === 95 && !this.state.containsEsc || type === 100) return false;
|
|
12117
12115
|
if ((type === 130 || type === 129) && !this.state.containsEsc) {
|
|
12118
|
-
const next
|
|
12119
|
-
const nextChar = this.input.charCodeAt(next
|
|
12120
|
-
if (nextChar === 123 || this.chStartsBindingIdentifier(nextChar, next
|
|
12116
|
+
const next = this.nextTokenStart();
|
|
12117
|
+
const nextChar = this.input.charCodeAt(next);
|
|
12118
|
+
if (nextChar === 123 || this.chStartsBindingIdentifier(nextChar, next) && !this.input.startsWith("from", next)) {
|
|
12121
12119
|
this.expectOnePlugin(["flow", "typescript"]);
|
|
12122
12120
|
return false;
|
|
12123
12121
|
}
|
|
@@ -12221,16 +12219,16 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
12221
12219
|
if (this.eat(8)) break;
|
|
12222
12220
|
}
|
|
12223
12221
|
const isMaybeTypeOnly = this.isContextual(130);
|
|
12224
|
-
const isString
|
|
12222
|
+
const isString = this.match(134);
|
|
12225
12223
|
const node = this.startNode();
|
|
12226
12224
|
node.local = this.parseModuleExportName();
|
|
12227
|
-
nodes.push(this.parseExportSpecifier(node, isString
|
|
12225
|
+
nodes.push(this.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly));
|
|
12228
12226
|
}
|
|
12229
12227
|
return nodes;
|
|
12230
12228
|
}
|
|
12231
|
-
parseExportSpecifier(node, isString
|
|
12229
|
+
parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly) {
|
|
12232
12230
|
if (this.eatContextual(93)) node.exported = this.parseModuleExportName();
|
|
12233
|
-
else if (isString
|
|
12231
|
+
else if (isString) node.exported = this.cloneStringLiteral(node.local);
|
|
12234
12232
|
else if (!node.exported) node.exported = this.cloneIdentifier(node.local);
|
|
12235
12233
|
return this.finishNode(node, "ExportSpecifier");
|
|
12236
12234
|
}
|
|
@@ -12713,7 +12711,7 @@ var PredicateType = class extends BaseType {
|
|
|
12713
12711
|
return result;
|
|
12714
12712
|
}
|
|
12715
12713
|
};
|
|
12716
|
-
var Def = class Def
|
|
12714
|
+
var Def = class Def {
|
|
12717
12715
|
baseNames = [];
|
|
12718
12716
|
ownFields = Object.create(null);
|
|
12719
12717
|
allSupertypes = Object.create(null);
|
|
@@ -12728,7 +12726,7 @@ var Def = class Def$1 {
|
|
|
12728
12726
|
this.typeName = typeName;
|
|
12729
12727
|
}
|
|
12730
12728
|
isSupertypeOf(that) {
|
|
12731
|
-
if (that instanceof Def
|
|
12729
|
+
if (that instanceof Def) {
|
|
12732
12730
|
if (this.finalized !== true || that.finalized !== true) throw new Error("");
|
|
12733
12731
|
return hasOwn$6.call(that.allSupertypes, this.typeName);
|
|
12734
12732
|
} else throw new Error(that + " is not a Def");
|
|
@@ -14730,12 +14728,12 @@ const { astNodesAreEquivalent, builders: builders$1, builtInTypes, defineMethod,
|
|
|
14730
14728
|
typescript_default
|
|
14731
14729
|
]);
|
|
14732
14730
|
Object.assign(namedTypes$1, n$3);
|
|
14733
|
-
var require_base64 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.js": ((exports
|
|
14731
|
+
var require_base64 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64.js": ((exports) => {
|
|
14734
14732
|
var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
14735
14733
|
/**
|
|
14736
14734
|
* Encode an integer in the range of 0 to 63 to a single base 64 digit.
|
|
14737
14735
|
*/
|
|
14738
|
-
exports
|
|
14736
|
+
exports.encode = function(number) {
|
|
14739
14737
|
if (0 <= number && number < intToCharMap.length) return intToCharMap[number];
|
|
14740
14738
|
throw new TypeError("Must be between 0 and 63: " + number);
|
|
14741
14739
|
};
|
|
@@ -14743,7 +14741,7 @@ var require_base64 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map
|
|
|
14743
14741
|
* Decode a single base 64 character code digit to an integer. Returns -1 on
|
|
14744
14742
|
* failure.
|
|
14745
14743
|
*/
|
|
14746
|
-
exports
|
|
14744
|
+
exports.decode = function(charCode) {
|
|
14747
14745
|
var bigA = 65;
|
|
14748
14746
|
var bigZ = 90;
|
|
14749
14747
|
var littleA = 97;
|
|
@@ -14762,7 +14760,7 @@ var require_base64 = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map
|
|
|
14762
14760
|
return -1;
|
|
14763
14761
|
};
|
|
14764
14762
|
}) });
|
|
14765
|
-
var require_base64_vlq = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.js": ((exports
|
|
14763
|
+
var require_base64_vlq = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/base64-vlq.js": ((exports) => {
|
|
14766
14764
|
var base64 = require_base64();
|
|
14767
14765
|
var VLQ_BASE_SHIFT = 5;
|
|
14768
14766
|
var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
|
|
@@ -14791,7 +14789,7 @@ var require_base64_vlq = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source
|
|
|
14791
14789
|
/**
|
|
14792
14790
|
* Returns the base 64 VLQ encoded value.
|
|
14793
14791
|
*/
|
|
14794
|
-
exports
|
|
14792
|
+
exports.encode = function base64VLQ_encode(aValue) {
|
|
14795
14793
|
var encoded = "";
|
|
14796
14794
|
var digit;
|
|
14797
14795
|
var vlq = toVLQSigned(aValue);
|
|
@@ -14807,7 +14805,7 @@ var require_base64_vlq = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source
|
|
|
14807
14805
|
* Decodes the next base 64 VLQ value from the given string and returns the
|
|
14808
14806
|
* value and the rest of the string via the out parameter.
|
|
14809
14807
|
*/
|
|
14810
|
-
exports
|
|
14808
|
+
exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
|
|
14811
14809
|
var strLen = aStr.length;
|
|
14812
14810
|
var result = 0;
|
|
14813
14811
|
var shift = 0;
|
|
@@ -14825,7 +14823,7 @@ var require_base64_vlq = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source
|
|
|
14825
14823
|
aOutParam.rest = aIndex;
|
|
14826
14824
|
};
|
|
14827
14825
|
}) });
|
|
14828
|
-
var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.js": ((exports
|
|
14826
|
+
var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/util.js": ((exports) => {
|
|
14829
14827
|
/**
|
|
14830
14828
|
* This is a helper function for getting values from parameter/options
|
|
14831
14829
|
* objects.
|
|
@@ -14841,7 +14839,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
14841
14839
|
else if (arguments.length === 3) return aDefaultValue;
|
|
14842
14840
|
else throw new Error("\"" + aName + "\" is a required argument.");
|
|
14843
14841
|
}
|
|
14844
|
-
exports
|
|
14842
|
+
exports.getArg = getArg;
|
|
14845
14843
|
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
14846
14844
|
var dataUrlRegexp = /^data:.+\,.+$/;
|
|
14847
14845
|
function urlParse(aUrl) {
|
|
@@ -14855,7 +14853,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
14855
14853
|
path: match[5]
|
|
14856
14854
|
};
|
|
14857
14855
|
}
|
|
14858
|
-
exports
|
|
14856
|
+
exports.urlParse = urlParse;
|
|
14859
14857
|
function urlGenerate(aParsedUrl) {
|
|
14860
14858
|
var url = "";
|
|
14861
14859
|
if (aParsedUrl.scheme) url += aParsedUrl.scheme + ":";
|
|
@@ -14866,7 +14864,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
14866
14864
|
if (aParsedUrl.path) url += aParsedUrl.path;
|
|
14867
14865
|
return url;
|
|
14868
14866
|
}
|
|
14869
|
-
exports
|
|
14867
|
+
exports.urlGenerate = urlGenerate;
|
|
14870
14868
|
var MAX_CACHED_INPUTS = 32;
|
|
14871
14869
|
/**
|
|
14872
14870
|
* Takes some function `f(input) -> result` and returns a memoized version of
|
|
@@ -14911,7 +14909,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
14911
14909
|
if (!url.path) return aPath;
|
|
14912
14910
|
path = url.path;
|
|
14913
14911
|
}
|
|
14914
|
-
var isAbsolute = exports
|
|
14912
|
+
var isAbsolute = exports.isAbsolute(path);
|
|
14915
14913
|
var parts = [];
|
|
14916
14914
|
var start = 0;
|
|
14917
14915
|
var i = 0;
|
|
@@ -14946,7 +14944,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
14946
14944
|
}
|
|
14947
14945
|
return path;
|
|
14948
14946
|
});
|
|
14949
|
-
exports
|
|
14947
|
+
exports.normalize = normalize$1;
|
|
14950
14948
|
/**
|
|
14951
14949
|
* Joins two paths/URLs.
|
|
14952
14950
|
*
|
|
@@ -14985,8 +14983,8 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
14985
14983
|
}
|
|
14986
14984
|
return joined;
|
|
14987
14985
|
}
|
|
14988
|
-
exports
|
|
14989
|
-
exports
|
|
14986
|
+
exports.join = join;
|
|
14987
|
+
exports.isAbsolute = function(aPath) {
|
|
14990
14988
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
14991
14989
|
};
|
|
14992
14990
|
/**
|
|
@@ -15008,7 +15006,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15008
15006
|
}
|
|
15009
15007
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
15010
15008
|
}
|
|
15011
|
-
exports
|
|
15009
|
+
exports.relative = relative;
|
|
15012
15010
|
var supportsNullProto = function() {
|
|
15013
15011
|
return !("__proto__" in Object.create(null));
|
|
15014
15012
|
}();
|
|
@@ -15028,12 +15026,12 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15028
15026
|
if (isProtoString(aStr)) return "$" + aStr;
|
|
15029
15027
|
return aStr;
|
|
15030
15028
|
}
|
|
15031
|
-
exports
|
|
15029
|
+
exports.toSetString = supportsNullProto ? identity : toSetString;
|
|
15032
15030
|
function fromSetString(aStr) {
|
|
15033
15031
|
if (isProtoString(aStr)) return aStr.slice(1);
|
|
15034
15032
|
return aStr;
|
|
15035
15033
|
}
|
|
15036
|
-
exports
|
|
15034
|
+
exports.fromSetString = supportsNullProto ? identity : fromSetString;
|
|
15037
15035
|
function isProtoString(s) {
|
|
15038
15036
|
if (!s) return false;
|
|
15039
15037
|
var length = s.length;
|
|
@@ -15063,7 +15061,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15063
15061
|
if (cmp !== 0) return cmp;
|
|
15064
15062
|
return strcmp(mappingA.name, mappingB.name);
|
|
15065
15063
|
}
|
|
15066
|
-
exports
|
|
15064
|
+
exports.compareByOriginalPositions = compareByOriginalPositions;
|
|
15067
15065
|
function compareByOriginalPositionsNoSource(mappingA, mappingB, onlyCompareOriginal) {
|
|
15068
15066
|
var cmp = mappingA.originalLine - mappingB.originalLine;
|
|
15069
15067
|
if (cmp !== 0) return cmp;
|
|
@@ -15075,7 +15073,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15075
15073
|
if (cmp !== 0) return cmp;
|
|
15076
15074
|
return strcmp(mappingA.name, mappingB.name);
|
|
15077
15075
|
}
|
|
15078
|
-
exports
|
|
15076
|
+
exports.compareByOriginalPositionsNoSource = compareByOriginalPositionsNoSource;
|
|
15079
15077
|
/**
|
|
15080
15078
|
* Comparator between two mappings with deflated source and name indices where
|
|
15081
15079
|
* the generated positions are compared.
|
|
@@ -15098,7 +15096,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15098
15096
|
if (cmp !== 0) return cmp;
|
|
15099
15097
|
return strcmp(mappingA.name, mappingB.name);
|
|
15100
15098
|
}
|
|
15101
|
-
exports
|
|
15099
|
+
exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;
|
|
15102
15100
|
function compareByGeneratedPositionsDeflatedNoLine(mappingA, mappingB, onlyCompareGenerated) {
|
|
15103
15101
|
var cmp = mappingA.generatedColumn - mappingB.generatedColumn;
|
|
15104
15102
|
if (cmp !== 0 || onlyCompareGenerated) return cmp;
|
|
@@ -15110,7 +15108,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15110
15108
|
if (cmp !== 0) return cmp;
|
|
15111
15109
|
return strcmp(mappingA.name, mappingB.name);
|
|
15112
15110
|
}
|
|
15113
|
-
exports
|
|
15111
|
+
exports.compareByGeneratedPositionsDeflatedNoLine = compareByGeneratedPositionsDeflatedNoLine;
|
|
15114
15112
|
function strcmp(aStr1, aStr2) {
|
|
15115
15113
|
if (aStr1 === aStr2) return 0;
|
|
15116
15114
|
if (aStr1 === null) return 1;
|
|
@@ -15135,7 +15133,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15135
15133
|
if (cmp !== 0) return cmp;
|
|
15136
15134
|
return strcmp(mappingA.name, mappingB.name);
|
|
15137
15135
|
}
|
|
15138
|
-
exports
|
|
15136
|
+
exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
|
|
15139
15137
|
/**
|
|
15140
15138
|
* Strip any JSON XSSI avoidance prefix from the string (as documented
|
|
15141
15139
|
* in the source maps specification), and then parse the string as
|
|
@@ -15144,7 +15142,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15144
15142
|
function parseSourceMapInput(str) {
|
|
15145
15143
|
return JSON.parse(str.replace(/^\)]}'[^\n]*\n/, ""));
|
|
15146
15144
|
}
|
|
15147
|
-
exports
|
|
15145
|
+
exports.parseSourceMapInput = parseSourceMapInput;
|
|
15148
15146
|
/**
|
|
15149
15147
|
* Compute the URL of a source given the the source root, the source's
|
|
15150
15148
|
* URL, and the source map's URL.
|
|
@@ -15166,9 +15164,9 @@ var require_util = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-j
|
|
|
15166
15164
|
}
|
|
15167
15165
|
return normalize$1(sourceURL);
|
|
15168
15166
|
}
|
|
15169
|
-
exports
|
|
15167
|
+
exports.computeSourceURL = computeSourceURL;
|
|
15170
15168
|
}) });
|
|
15171
|
-
var require_array_set = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.js": ((exports
|
|
15169
|
+
var require_array_set = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/array-set.js": ((exports) => {
|
|
15172
15170
|
var util$4 = require_util();
|
|
15173
15171
|
var has = Object.prototype.hasOwnProperty;
|
|
15174
15172
|
var hasNativeMap = typeof Map !== "undefined";
|
|
@@ -15256,9 +15254,9 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-
|
|
|
15256
15254
|
ArraySet$2.prototype.toArray = function ArraySet_toArray() {
|
|
15257
15255
|
return this._array.slice();
|
|
15258
15256
|
};
|
|
15259
|
-
exports
|
|
15257
|
+
exports.ArraySet = ArraySet$2;
|
|
15260
15258
|
}) });
|
|
15261
|
-
var require_mapping_list = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.js": ((exports
|
|
15259
|
+
var require_mapping_list = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/mapping-list.js": ((exports) => {
|
|
15262
15260
|
var util$3 = require_util();
|
|
15263
15261
|
/**
|
|
15264
15262
|
* Determine whether mappingB is after mappingA with respect to generated
|
|
@@ -15323,9 +15321,9 @@ var require_mapping_list = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sour
|
|
|
15323
15321
|
}
|
|
15324
15322
|
return this._array;
|
|
15325
15323
|
};
|
|
15326
|
-
exports
|
|
15324
|
+
exports.MappingList = MappingList$1;
|
|
15327
15325
|
}) });
|
|
15328
|
-
var require_source_map_generator = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.js": ((exports
|
|
15326
|
+
var require_source_map_generator = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-generator.js": ((exports) => {
|
|
15329
15327
|
var base64VLQ$1 = require_base64_vlq();
|
|
15330
15328
|
var util$2 = require_util();
|
|
15331
15329
|
var ArraySet$1 = require_array_set().ArraySet;
|
|
@@ -15605,11 +15603,11 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "node_modules/.p
|
|
|
15605
15603
|
SourceMapGenerator$2.prototype.toString = function SourceMapGenerator_toString() {
|
|
15606
15604
|
return JSON.stringify(this.toJSON());
|
|
15607
15605
|
};
|
|
15608
|
-
exports
|
|
15606
|
+
exports.SourceMapGenerator = SourceMapGenerator$2;
|
|
15609
15607
|
}) });
|
|
15610
|
-
var require_binary_search = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.js": ((exports
|
|
15611
|
-
exports
|
|
15612
|
-
exports
|
|
15608
|
+
var require_binary_search = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/binary-search.js": ((exports) => {
|
|
15609
|
+
exports.GREATEST_LOWER_BOUND = 1;
|
|
15610
|
+
exports.LEAST_UPPER_BOUND = 2;
|
|
15613
15611
|
/**
|
|
15614
15612
|
* Recursive implementation of binary search.
|
|
15615
15613
|
*
|
|
@@ -15629,11 +15627,11 @@ var require_binary_search = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sou
|
|
|
15629
15627
|
if (cmp === 0) return mid;
|
|
15630
15628
|
else if (cmp > 0) {
|
|
15631
15629
|
if (aHigh - mid > 1) return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);
|
|
15632
|
-
if (aBias == exports
|
|
15630
|
+
if (aBias == exports.LEAST_UPPER_BOUND) return aHigh < aHaystack.length ? aHigh : -1;
|
|
15633
15631
|
else return mid;
|
|
15634
15632
|
} else {
|
|
15635
15633
|
if (mid - aLow > 1) return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);
|
|
15636
|
-
if (aBias == exports
|
|
15634
|
+
if (aBias == exports.LEAST_UPPER_BOUND) return mid;
|
|
15637
15635
|
else return aLow < 0 ? -1 : aLow;
|
|
15638
15636
|
}
|
|
15639
15637
|
}
|
|
@@ -15655,9 +15653,9 @@ var require_binary_search = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sou
|
|
|
15655
15653
|
* searching for, respectively, if the exact element cannot be found.
|
|
15656
15654
|
* Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.
|
|
15657
15655
|
*/
|
|
15658
|
-
exports
|
|
15656
|
+
exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
|
|
15659
15657
|
if (aHaystack.length === 0) return -1;
|
|
15660
|
-
var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, aCompare, aBias || exports
|
|
15658
|
+
var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, aCompare, aBias || exports.GREATEST_LOWER_BOUND);
|
|
15661
15659
|
if (index < 0) return -1;
|
|
15662
15660
|
while (index - 1 >= 0) {
|
|
15663
15661
|
if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) break;
|
|
@@ -15666,7 +15664,7 @@ var require_binary_search = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sou
|
|
|
15666
15664
|
return index;
|
|
15667
15665
|
};
|
|
15668
15666
|
}) });
|
|
15669
|
-
var require_quick_sort = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.js": ((exports
|
|
15667
|
+
var require_quick_sort = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/quick-sort.js": ((exports) => {
|
|
15670
15668
|
function SortTemplate(comparator) {
|
|
15671
15669
|
/**
|
|
15672
15670
|
* Swap the elements indexed by `x` and `y` in the array `ary`.
|
|
@@ -15737,7 +15735,7 @@ var require_quick_sort = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source
|
|
|
15737
15735
|
* Function to use to compare two items.
|
|
15738
15736
|
*/
|
|
15739
15737
|
let sortCache = /* @__PURE__ */ new WeakMap();
|
|
15740
|
-
exports
|
|
15738
|
+
exports.quickSort = function(ary, comparator, start = 0) {
|
|
15741
15739
|
let doQuickSort = sortCache.get(comparator);
|
|
15742
15740
|
if (doQuickSort === void 0) {
|
|
15743
15741
|
doQuickSort = cloneSort(comparator);
|
|
@@ -15746,7 +15744,7 @@ var require_quick_sort = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source
|
|
|
15746
15744
|
doQuickSort(ary, comparator, start, ary.length - 1);
|
|
15747
15745
|
};
|
|
15748
15746
|
}) });
|
|
15749
|
-
var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js": ((exports
|
|
15747
|
+
var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-map-consumer.js": ((exports) => {
|
|
15750
15748
|
var util$1 = require_util();
|
|
15751
15749
|
var binarySearch = require_binary_search();
|
|
15752
15750
|
var ArraySet = require_array_set().ArraySet;
|
|
@@ -15905,7 +15903,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "node_modules/.pn
|
|
|
15905
15903
|
}
|
|
15906
15904
|
return mappings;
|
|
15907
15905
|
};
|
|
15908
|
-
exports
|
|
15906
|
+
exports.SourceMapConsumer = SourceMapConsumer$1;
|
|
15909
15907
|
/**
|
|
15910
15908
|
* A BasicSourceMapConsumer instance represents a parsed source map which we can
|
|
15911
15909
|
* query for information about the original file positions by giving it a file
|
|
@@ -16291,7 +16289,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "node_modules/.pn
|
|
|
16291
16289
|
lastColumn: null
|
|
16292
16290
|
};
|
|
16293
16291
|
};
|
|
16294
|
-
exports
|
|
16292
|
+
exports.BasicSourceMapConsumer = BasicSourceMapConsumer;
|
|
16295
16293
|
/**
|
|
16296
16294
|
* An IndexedSourceMapConsumer instance represents a parsed source map which
|
|
16297
16295
|
* we can query for information. It differs from BasicSourceMapConsumer in
|
|
@@ -16518,9 +16516,9 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "node_modules/.pn
|
|
|
16518
16516
|
quickSort(this.__generatedMappings, util$1.compareByGeneratedPositionsDeflated);
|
|
16519
16517
|
quickSort(this.__originalMappings, util$1.compareByOriginalPositions);
|
|
16520
16518
|
};
|
|
16521
|
-
exports
|
|
16519
|
+
exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
|
|
16522
16520
|
}) });
|
|
16523
|
-
var require_source_node = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.js": ((exports
|
|
16521
|
+
var require_source_node = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/lib/source-node.js": ((exports) => {
|
|
16524
16522
|
var SourceMapGenerator$1 = require_source_map_generator().SourceMapGenerator;
|
|
16525
16523
|
var util = require_util();
|
|
16526
16524
|
var REGEX_NEWLINE = /(\r?\n)/;
|
|
@@ -16800,12 +16798,12 @@ var require_source_node = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/sourc
|
|
|
16800
16798
|
map
|
|
16801
16799
|
};
|
|
16802
16800
|
};
|
|
16803
|
-
exports
|
|
16801
|
+
exports.SourceNode = SourceNode;
|
|
16804
16802
|
}) });
|
|
16805
|
-
var require_source_map = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js": ((exports
|
|
16806
|
-
exports
|
|
16807
|
-
exports
|
|
16808
|
-
exports
|
|
16803
|
+
var require_source_map = /* @__PURE__ */ __commonJS({ "node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.js": ((exports) => {
|
|
16804
|
+
exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
|
|
16805
|
+
exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
|
|
16806
|
+
exports.SourceNode = require_source_node().SourceNode;
|
|
16809
16807
|
}) });
|
|
16810
16808
|
var import_source_map$1 = /* @__PURE__ */ __toESM(require_source_map());
|
|
16811
16809
|
const n$2 = namedTypes$1;
|
|
@@ -17046,7 +17044,7 @@ function normalize(opts) {
|
|
|
17046
17044
|
tokens: !!get("tokens")
|
|
17047
17045
|
};
|
|
17048
17046
|
}
|
|
17049
|
-
var Mapping = class Mapping
|
|
17047
|
+
var Mapping = class Mapping {
|
|
17050
17048
|
constructor(sourceLines, sourceLoc, targetLoc = sourceLoc) {
|
|
17051
17049
|
this.sourceLines = sourceLines;
|
|
17052
17050
|
this.sourceLoc = sourceLoc;
|
|
@@ -17106,16 +17104,16 @@ var Mapping = class Mapping$1 {
|
|
|
17106
17104
|
};
|
|
17107
17105
|
}
|
|
17108
17106
|
}
|
|
17109
|
-
return new Mapping
|
|
17107
|
+
return new Mapping(this.sourceLines, sourceLoc, targetLoc);
|
|
17110
17108
|
}
|
|
17111
17109
|
add(line, column) {
|
|
17112
|
-
return new Mapping
|
|
17110
|
+
return new Mapping(this.sourceLines, this.sourceLoc, {
|
|
17113
17111
|
start: addPos(this.targetLoc.start, line, column),
|
|
17114
17112
|
end: addPos(this.targetLoc.end, line, column)
|
|
17115
17113
|
});
|
|
17116
17114
|
}
|
|
17117
17115
|
subtract(line, column) {
|
|
17118
|
-
return new Mapping
|
|
17116
|
+
return new Mapping(this.sourceLines, this.sourceLoc, {
|
|
17119
17117
|
start: subtractPos(this.targetLoc.start, line, column),
|
|
17120
17118
|
end: subtractPos(this.targetLoc.end, line, column)
|
|
17121
17119
|
});
|
|
@@ -17144,7 +17142,7 @@ var Mapping = class Mapping$1 {
|
|
|
17144
17142
|
column: noNegativeColumns ? Math.max(0, endColumn) : endColumn
|
|
17145
17143
|
};
|
|
17146
17144
|
}
|
|
17147
|
-
return new Mapping
|
|
17145
|
+
return new Mapping(this.sourceLines, this.sourceLoc, targetLoc);
|
|
17148
17146
|
}
|
|
17149
17147
|
};
|
|
17150
17148
|
function addPos(toPos, line, column) {
|
|
@@ -17189,7 +17187,7 @@ function skipChars(sourceLines, sourceFromPos, targetLines, targetFromPos, targe
|
|
|
17189
17187
|
return sourceCursor;
|
|
17190
17188
|
}
|
|
17191
17189
|
var import_source_map = /* @__PURE__ */ __toESM(require_source_map());
|
|
17192
|
-
var Lines = class Lines
|
|
17190
|
+
var Lines = class Lines {
|
|
17193
17191
|
length;
|
|
17194
17192
|
name;
|
|
17195
17193
|
mappings = [];
|
|
@@ -17269,7 +17267,7 @@ var Lines = class Lines$1 {
|
|
|
17269
17267
|
stripMargin(width, skipFirstLine) {
|
|
17270
17268
|
if (width === 0) return this;
|
|
17271
17269
|
if (skipFirstLine && this.length === 1) return this;
|
|
17272
|
-
const lines = new Lines
|
|
17270
|
+
const lines = new Lines(this.infos.map(function(info, i) {
|
|
17273
17271
|
if (info.line && (i > 0 || !skipFirstLine)) info = {
|
|
17274
17272
|
...info,
|
|
17275
17273
|
indent: Math.max(0, info.indent - width)
|
|
@@ -17286,7 +17284,7 @@ var Lines = class Lines$1 {
|
|
|
17286
17284
|
}
|
|
17287
17285
|
indent(by) {
|
|
17288
17286
|
if (by === 0) return this;
|
|
17289
|
-
const lines = new Lines
|
|
17287
|
+
const lines = new Lines(this.infos.map(function(info) {
|
|
17290
17288
|
if (info.line && !info.locked) info = {
|
|
17291
17289
|
...info,
|
|
17292
17290
|
indent: info.indent + by
|
|
@@ -17304,7 +17302,7 @@ var Lines = class Lines$1 {
|
|
|
17304
17302
|
indentTail(by) {
|
|
17305
17303
|
if (by === 0) return this;
|
|
17306
17304
|
if (this.length < 2) return this;
|
|
17307
|
-
const lines = new Lines
|
|
17305
|
+
const lines = new Lines(this.infos.map(function(info, i) {
|
|
17308
17306
|
if (i > 0 && info.line && !info.locked) info = {
|
|
17309
17307
|
...info,
|
|
17310
17308
|
indent: info.indent + by
|
|
@@ -17321,7 +17319,7 @@ var Lines = class Lines$1 {
|
|
|
17321
17319
|
}
|
|
17322
17320
|
lockIndentTail() {
|
|
17323
17321
|
if (this.length < 2) return this;
|
|
17324
|
-
return new Lines
|
|
17322
|
+
return new Lines(this.infos.map((info, i) => ({
|
|
17325
17323
|
...info,
|
|
17326
17324
|
locked: i > 0
|
|
17327
17325
|
})));
|
|
@@ -17463,7 +17461,7 @@ var Lines = class Lines$1 {
|
|
|
17463
17461
|
sliced[0] = sliceInfo(sliced[0], start.column);
|
|
17464
17462
|
sliced.push(sliceInfo(sliced.pop(), 0, end.column));
|
|
17465
17463
|
}
|
|
17466
|
-
const lines = new Lines
|
|
17464
|
+
const lines = new Lines(sliced);
|
|
17467
17465
|
if (this.mappings.length > 0) {
|
|
17468
17466
|
const newMappings = lines.mappings;
|
|
17469
17467
|
this.mappings.forEach(function(mapping) {
|
|
@@ -17546,7 +17544,7 @@ var Lines = class Lines$1 {
|
|
|
17546
17544
|
else appendWithSeparator(linesOrNull, i);
|
|
17547
17545
|
});
|
|
17548
17546
|
if (infos.length < 1) return emptyLines;
|
|
17549
|
-
const lines = new Lines
|
|
17547
|
+
const lines = new Lines(infos);
|
|
17550
17548
|
lines.mappings = mappings;
|
|
17551
17549
|
return lines;
|
|
17552
17550
|
}
|
|
@@ -19695,34 +19693,6 @@ function genericPrintNoParens(path, options, print$1) {
|
|
|
19695
19693
|
return concat(parts);
|
|
19696
19694
|
case "V8IntrinsicIdentifier": return concat(["%", path.call(print$1, "name")]);
|
|
19697
19695
|
case "TopicReference": return fromString("#");
|
|
19698
|
-
case "ClassHeritage":
|
|
19699
|
-
case "ComprehensionBlock":
|
|
19700
|
-
case "ComprehensionExpression":
|
|
19701
|
-
case "Glob":
|
|
19702
|
-
case "GeneratorExpression":
|
|
19703
|
-
case "LetStatement":
|
|
19704
|
-
case "LetExpression":
|
|
19705
|
-
case "GraphExpression":
|
|
19706
|
-
case "GraphIndexExpression":
|
|
19707
|
-
case "XMLDefaultDeclaration":
|
|
19708
|
-
case "XMLAnyName":
|
|
19709
|
-
case "XMLQualifiedIdentifier":
|
|
19710
|
-
case "XMLFunctionQualifiedIdentifier":
|
|
19711
|
-
case "XMLAttributeSelector":
|
|
19712
|
-
case "XMLFilterExpression":
|
|
19713
|
-
case "XML":
|
|
19714
|
-
case "XMLElement":
|
|
19715
|
-
case "XMLList":
|
|
19716
|
-
case "XMLEscape":
|
|
19717
|
-
case "XMLText":
|
|
19718
|
-
case "XMLStartTag":
|
|
19719
|
-
case "XMLEndTag":
|
|
19720
|
-
case "XMLPointTag":
|
|
19721
|
-
case "XMLName":
|
|
19722
|
-
case "XMLAttribute":
|
|
19723
|
-
case "XMLCdata":
|
|
19724
|
-
case "XMLComment":
|
|
19725
|
-
case "XMLProcessingInstruction":
|
|
19726
19696
|
default:
|
|
19727
19697
|
debugger;
|
|
19728
19698
|
throw new Error("unknown type: " + JSON.stringify(n$4.type));
|
|
@@ -19990,7 +19960,6 @@ function nodeStr(str, options) {
|
|
|
19990
19960
|
return double.length > single.length ? single : double;
|
|
19991
19961
|
}
|
|
19992
19962
|
case "single": return swapQuotes(jsSafeStringify(swapQuotes(str)));
|
|
19993
|
-
case "double":
|
|
19994
19963
|
default: return jsSafeStringify(str);
|
|
19995
19964
|
}
|
|
19996
19965
|
}
|