oxfmt 0.58.0 → 0.59.0
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/configuration_schema.json +3 -3
- package/dist/{acorn-CZllRq2x.js → acorn-Dxp-n4ed.js} +136 -43
- package/dist/{angular-CsoDKqo4.js → angular-Clx-wbm6.js} +253 -90
- package/dist/{apis-DLO0lBDu.js → apis-D299uPBa.js} +4 -4
- package/dist/{babel-DZD6u90w.js → babel-7tfAjQas.js} +178 -69
- package/dist/{bindings-DTiEua0g.js → bindings-CjOHPMBU.js} +26 -26
- package/dist/{chunk-DSjvVL_1-DX2STy_I.js → chunk-DSjvVL_1-Do0Iorfu.js} +1 -1
- package/dist/cli-worker.d.ts +18 -24
- package/dist/cli-worker.js +1 -1
- package/dist/cli.js +2 -2
- package/dist/{dist-YOS4M6hk.js → dist-Byfj_1s9.js} +14 -14
- package/dist/{estree-ChnhgzGg.js → estree-CyQu6pff.js} +1982 -1861
- package/dist/{flow-C6LkWPPl.js → flow-BH5imzwC.js} +2014 -1999
- package/dist/{glimmer-YnkKK2a7.js → glimmer-B5hfTXAX.js} +107 -42
- package/dist/{graphql-BNiwkZTo.js → graphql-DQB_nHt9.js} +80 -15
- package/dist/{html-DMHXIbrM.js → html--849eFzc.js} +257 -155
- package/dist/index.d.ts +7 -3
- package/dist/index.js +3 -3
- package/dist/{jiti-Bb1dT6Cw-B61jQmj-.js → jiti-Bb1dT6Cw-cY1yrK9n.js} +2 -2
- package/dist/{markdown-BjyDFyaO.js → markdown-B1lBrqaF.js} +3778 -3745
- package/dist/{meriyah-zDNCk2o1.js → meriyah-B5wbO5kj.js} +264 -213
- package/dist/{migrate-prettier-BmSsy164.js → migrate-prettier-CbxtU9AG.js} +1 -1
- package/dist/{plugin-B4cguZ1l.js → plugin-D1B0s0iv.js} +3 -3
- package/dist/{postcss-CwPwODg8.js → postcss-DuOoF7OX.js} +1129 -1050
- package/dist/{prettier-BByt4AhK.js → prettier-CEZwFZsY.js} +18 -19
- package/dist/{sorter-BZkvDMjt-B8ihSEiX.js → sorter-BZkvDMjt-DFTeIPU-.js} +7 -7
- package/dist/{sorter-BcGkkjyR.js → sorter-Cm0Z2eGI.js} +1 -1
- package/dist/{typescript-Bq_S3kyC.js → typescript-Cvdwz3-D.js} +120 -47
- package/dist/{v3-D-mr2VVh-p01OHBjH.js → v3-D-mr2VVh-C_WUxELf.js} +6 -5
- package/dist/{v4-C-HWEQJm-BbuYNtSW.js → v4-C-HWEQJm-C0ut0NwJ.js} +108 -30
- package/dist/{yaml-DlyuuZmC.js → yaml-Dd4aShtG.js} +138 -49
- package/package.json +20 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-CE-6LUnI.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/prettier@3.9.
|
|
2
|
+
//#region ../../node_modules/.pnpm/prettier@3.9.5/node_modules/prettier/plugins/babel.mjs
|
|
3
3
|
var babel_exports = /* @__PURE__ */ __exportAll({
|
|
4
4
|
default: () => ei,
|
|
5
5
|
parsers: () => Aa
|
|
@@ -1086,7 +1086,8 @@ var init_babel = __esmMin((() => {
|
|
|
1086
1086
|
X = (a, e) => (t, s, ...i) => t | 1 && s == null ? void 0 : (e.call(s) ?? s[a]).apply(s, i);
|
|
1087
1087
|
ii = String.prototype.replaceAll ?? function(a, e) {
|
|
1088
1088
|
return a.global ? this.replace(a, e) : this.split(a).join(e);
|
|
1089
|
-
}
|
|
1089
|
+
};
|
|
1090
|
+
U = X("replaceAll", function() {
|
|
1090
1091
|
if (typeof this == "string") return ii;
|
|
1091
1092
|
});
|
|
1092
1093
|
lt = Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
@@ -1094,7 +1095,8 @@ var init_babel = __esmMin((() => {
|
|
|
1094
1095
|
constructor(e, t, s) {
|
|
1095
1096
|
this.line = void 0, this.column = void 0, s !== void 0 && (this.index = void 0), this.line = e, this.column = t, s !== void 0 && (this.index = s);
|
|
1096
1097
|
}
|
|
1097
|
-
}
|
|
1098
|
+
};
|
|
1099
|
+
st = class {
|
|
1098
1100
|
start;
|
|
1099
1101
|
end;
|
|
1100
1102
|
filename;
|
|
@@ -1103,7 +1105,8 @@ var init_babel = __esmMin((() => {
|
|
|
1103
1105
|
this.start = e, this.end = t;
|
|
1104
1106
|
}
|
|
1105
1107
|
};
|
|
1106
|
-
Fe = "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"
|
|
1108
|
+
Fe = "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";
|
|
1109
|
+
ni = {
|
|
1107
1110
|
ImportMetaOutsideModule: {
|
|
1108
1111
|
message: `import.meta may appear only with 'sourceType: "module"'`,
|
|
1109
1112
|
code: Fe
|
|
@@ -1112,7 +1115,8 @@ var init_babel = __esmMin((() => {
|
|
|
1112
1115
|
message: `'import' and 'export' may appear only with 'sourceType: "module"'`,
|
|
1113
1116
|
code: Fe
|
|
1114
1117
|
}
|
|
1115
|
-
}
|
|
1118
|
+
};
|
|
1119
|
+
Be = {
|
|
1116
1120
|
ArrayPattern: "array destructuring pattern",
|
|
1117
1121
|
AssignmentExpression: "assignment expression",
|
|
1118
1122
|
AssignmentPattern: "assignment expression",
|
|
@@ -1136,7 +1140,9 @@ var init_babel = __esmMin((() => {
|
|
|
1136
1140
|
},
|
|
1137
1141
|
VariableDeclarator: "variable declaration",
|
|
1138
1142
|
YieldExpression: "yield expression"
|
|
1139
|
-
}
|
|
1143
|
+
};
|
|
1144
|
+
wt = (a) => a.type === "UpdateExpression" ? Be.UpdateExpression[`${a.prefix}`] : Be[a.type];
|
|
1145
|
+
oi = {
|
|
1140
1146
|
AccessorIsGenerator: ({ kind: a }) => `A ${a}ter cannot be a generator.`,
|
|
1141
1147
|
ArgumentsInClass: "'arguments' is only allowed in functions and class methods.",
|
|
1142
1148
|
AsyncFunctionInSingleStatementContext: "Async functions can only be declared at the top level or inside a block.",
|
|
@@ -1278,7 +1284,8 @@ var init_babel = __esmMin((() => {
|
|
|
1278
1284
|
YieldInParameter: "Yield expression is not allowed in formal parameters.",
|
|
1279
1285
|
YieldNotInGeneratorFunction: "'yield' is only allowed within generator functions.",
|
|
1280
1286
|
ZeroDigitNumericSeparator: "Numeric separator can not be used after leading 0."
|
|
1281
|
-
}
|
|
1287
|
+
};
|
|
1288
|
+
hi = {
|
|
1282
1289
|
StrictDelete: "Deleting local variable in strict mode.",
|
|
1283
1290
|
StrictEvalArguments: ({ referenceName: a }) => `Assigning to '${a}' in strict mode.`,
|
|
1284
1291
|
StrictEvalArgumentsBinding: ({ bindingName: a }) => `Binding '${a}' in strict mode.`,
|
|
@@ -1286,22 +1293,26 @@ var init_babel = __esmMin((() => {
|
|
|
1286
1293
|
StrictNumericEscape: "The only valid numeric escape in strict mode is '\\0'.",
|
|
1287
1294
|
StrictOctalLiteral: "Legacy octal literals are not allowed in strict mode.",
|
|
1288
1295
|
StrictWith: "'with' in strict mode."
|
|
1289
|
-
}
|
|
1296
|
+
};
|
|
1297
|
+
ci = {
|
|
1290
1298
|
ParseExpressionEmptyInput: "Unexpected parseExpression() input: The input is empty or contains only comments.",
|
|
1291
1299
|
ParseExpressionExpectsEOF: ({ unexpected: a }) => `Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(a)}\`.`
|
|
1292
|
-
}
|
|
1300
|
+
};
|
|
1301
|
+
li = /* @__PURE__ */ new Set([
|
|
1293
1302
|
"ArrowFunctionExpression",
|
|
1294
1303
|
"AssignmentExpression",
|
|
1295
1304
|
"ConditionalExpression",
|
|
1296
1305
|
"YieldExpression"
|
|
1297
|
-
])
|
|
1306
|
+
]);
|
|
1307
|
+
pi = {
|
|
1298
1308
|
PipeTopicRequiresHackPipes: "Topic references are only supported when using the `\"proposal\": \"hack\"` version of the pipeline proposal.",
|
|
1299
1309
|
PipeTopicUnbound: "Topic reference is unbound; it must be inside a pipe body.",
|
|
1300
1310
|
PipeTopicUnconfiguredToken: ({ token: a }) => `Invalid topic token ${a}. In order to use ${a} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${a}" }.`,
|
|
1301
1311
|
PipeTopicUnused: "Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",
|
|
1302
1312
|
PipeUnparenthesizedBody: ({ type: a }) => `Hack-style pipe body cannot be an unparenthesized ${wt({ type: a })}; please wrap it in parentheses.`,
|
|
1303
1313
|
PipelineUnparenthesized: "Cannot mix binary operator with solo-await F#-style pipeline. Please wrap the pipeline in parentheses."
|
|
1304
|
-
}
|
|
1314
|
+
};
|
|
1315
|
+
ui = {
|
|
1305
1316
|
UnsupportedBind: "Binding should be performed on object property.",
|
|
1306
1317
|
UnsupportedBindRHS: "The right-hand side of binding can not be super or import."
|
|
1307
1318
|
};
|
|
@@ -1520,7 +1531,14 @@ var init_babel = __esmMin((() => {
|
|
|
1520
1531
|
resetEndLocation(t, s = this.state.lastTokEndLoc) {
|
|
1521
1532
|
super.resetEndLocation(t, s), Y(t);
|
|
1522
1533
|
}
|
|
1523
|
-
}
|
|
1534
|
+
};
|
|
1535
|
+
A = !0;
|
|
1536
|
+
y = !0;
|
|
1537
|
+
$t = !0;
|
|
1538
|
+
pt = !0;
|
|
1539
|
+
V = !0;
|
|
1540
|
+
xi = !0;
|
|
1541
|
+
kt = class {
|
|
1524
1542
|
label;
|
|
1525
1543
|
keyword;
|
|
1526
1544
|
beforeExpr;
|
|
@@ -1534,8 +1552,15 @@ var init_babel = __esmMin((() => {
|
|
|
1534
1552
|
constructor(e, t = {}) {
|
|
1535
1553
|
this.label = e, this.keyword = t.keyword, this.beforeExpr = !!t.beforeExpr, this.startsExpr = !!t.startsExpr, this.rightAssociative = !!t.rightAssociative, this.isLoop = !!t.isLoop, this.isAssign = !!t.isAssign, this.prefix = !!t.prefix, this.postfix = !!t.postfix, this.binop = t.binop != null ? t.binop : null;
|
|
1536
1554
|
}
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1555
|
+
};
|
|
1556
|
+
Pe = /* @__PURE__ */ new Map();
|
|
1557
|
+
mt = -1;
|
|
1558
|
+
ge = [];
|
|
1559
|
+
Te = [];
|
|
1560
|
+
be = [];
|
|
1561
|
+
Ae = [];
|
|
1562
|
+
Se = [];
|
|
1563
|
+
Ce = [];
|
|
1539
1564
|
Pi = {
|
|
1540
1565
|
bracketL: g("[", {
|
|
1541
1566
|
beforeExpr: A,
|
|
@@ -1769,12 +1794,16 @@ var init_babel = __esmMin((() => {
|
|
|
1769
1794
|
}
|
|
1770
1795
|
token;
|
|
1771
1796
|
preserveSpace;
|
|
1772
|
-
}
|
|
1797
|
+
};
|
|
1798
|
+
w = {
|
|
1773
1799
|
brace: new Q("{"),
|
|
1774
1800
|
j_oTag: new Q("<tag"),
|
|
1775
1801
|
j_cTag: new Q("</tag"),
|
|
1776
1802
|
j_expr: new Q("<tag>...</tag>", !0)
|
|
1777
|
-
}
|
|
1803
|
+
};
|
|
1804
|
+
Ze = "\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u037f\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u052f\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05d0-\\u05ea\\u05ef-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086a\\u0870-\\u0887\\u0889-\\u088f\\u08a0-\\u08c9\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u09fc\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0af9\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c39\\u0c3d\\u0c58-\\u0c5a\\u0c5c\\u0c5d\\u0c60\\u0c61\\u0c80\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cdc-\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d04-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d54-\\u0d56\\u0d5f-\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e86-\\u0e8a\\u0e8c-\\u0ea3\\u0ea5\\u0ea7-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f5\\u13f8-\\u13fd\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f8\\u1700-\\u1711\\u171f-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1878\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191e\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19b0-\\u19c9\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4c\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1c80-\\u1c8a\\u1c90-\\u1cba\\u1cbd-\\u1cbf\\u1ce9-\\u1cec\\u1cee-\\u1cf3\\u1cf5\\u1cf6\\u1cfa\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2118-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309b-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u31a0-\\u31bf\\u31f0-\\u31ff\\u3400-\\u4dbf\\u4e00-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua69d\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua7dc\\ua7f1-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua8fd\\ua8fe\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\ua9e0-\\ua9e4\\ua9e6-\\ua9ef\\ua9fa-\\ua9fe\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa7e-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uab30-\\uab5a\\uab5c-\\uab69\\uab70-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc";
|
|
1805
|
+
Ni = "\\xb7\\u0300-\\u036f\\u0387\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u0669\\u0670\\u06d6-\\u06dc\\u06df-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u06f0-\\u06f9\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07c0-\\u07c9\\u07eb-\\u07f3\\u07fd\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0859-\\u085b\\u0897-\\u089f\\u08ca-\\u08e1\\u08e3-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09cb-\\u09cd\\u09d7\\u09e2\\u09e3\\u09e6-\\u09ef\\u09fe\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2\\u0ae3\\u0ae6-\\u0aef\\u0afa-\\u0aff\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b55-\\u0b57\\u0b62\\u0b63\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c00-\\u0c04\\u0c3c\\u0c3e-\\u0c44\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0c66-\\u0c6f\\u0c81-\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0ce6-\\u0cef\\u0cf3\\u0d00-\\u0d03\\u0d3b\\u0d3c\\u0d3e-\\u0d44\\u0d46-\\u0d48\\u0d4a-\\u0d4d\\u0d57\\u0d62\\u0d63\\u0d66-\\u0d6f\\u0d81-\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0de6-\\u0def\\u0df2\\u0df3\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0e50-\\u0e59\\u0eb1\\u0eb4-\\u0ebc\\u0ec8-\\u0ece\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f3e\\u0f3f\\u0f71-\\u0f84\\u0f86\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102b-\\u103e\\u1040-\\u1049\\u1056-\\u1059\\u105e-\\u1060\\u1062-\\u1064\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u1369-\\u1371\\u1712-\\u1715\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b4-\\u17d3\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u180f-\\u1819\\u18a9\\u1920-\\u192b\\u1930-\\u193b\\u1946-\\u194f\\u19d0-\\u19da\\u1a17-\\u1a1b\\u1a55-\\u1a5e\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1ab0-\\u1abd\\u1abf-\\u1add\\u1ae0-\\u1aeb\\u1b00-\\u1b04\\u1b34-\\u1b44\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1b80-\\u1b82\\u1ba1-\\u1bad\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c24-\\u1c37\\u1c40-\\u1c49\\u1c50-\\u1c59\\u1cd0-\\u1cd2\\u1cd4-\\u1ce8\\u1ced\\u1cf4\\u1cf7-\\u1cf9\\u1dc0-\\u1dff\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2cef-\\u2cf1\\u2d7f\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\u30fb\\ua620-\\ua629\\ua66f\\ua674-\\ua67d\\ua69e\\ua69f\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua823-\\ua827\\ua82c\\ua880\\ua881\\ua8b4-\\ua8c5\\ua8d0-\\ua8d9\\ua8e0-\\ua8f1\\ua8ff-\\ua909\\ua926-\\ua92d\\ua947-\\ua953\\ua980-\\ua983\\ua9b3-\\ua9c0\\ua9d0-\\ua9d9\\ua9e5\\ua9f0-\\ua9f9\\uaa29-\\uaa36\\uaa43\\uaa4c\\uaa4d\\uaa50-\\uaa59\\uaa7b-\\uaa7d\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uaaeb-\\uaaef\\uaaf5\\uaaf6\\uabe3-\\uabea\\uabec\\uabed\\uabf0-\\uabf9\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe2f\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\\uff65";
|
|
1806
|
+
ts = [
|
|
1778
1807
|
0,
|
|
1779
1808
|
11,
|
|
1780
1809
|
2,
|
|
@@ -2393,7 +2422,8 @@ var init_babel = __esmMin((() => {
|
|
|
2393
2422
|
4938,
|
|
2394
2423
|
6,
|
|
2395
2424
|
8489
|
|
2396
|
-
]
|
|
2425
|
+
];
|
|
2426
|
+
ki = [
|
|
2397
2427
|
509,
|
|
2398
2428
|
0,
|
|
2399
2429
|
227,
|
|
@@ -2724,7 +2754,9 @@ var init_babel = __esmMin((() => {
|
|
|
2724
2754
|
9,
|
|
2725
2755
|
787719,
|
|
2726
2756
|
239
|
|
2727
|
-
]
|
|
2757
|
+
];
|
|
2758
|
+
vi = new RegExp("[" + Ze + "]");
|
|
2759
|
+
Li = new RegExp("[" + Ze + Ni + "]");
|
|
2728
2760
|
we = {
|
|
2729
2761
|
keyword: [
|
|
2730
2762
|
"break",
|
|
@@ -2775,7 +2807,10 @@ var init_babel = __esmMin((() => {
|
|
|
2775
2807
|
"yield"
|
|
2776
2808
|
],
|
|
2777
2809
|
strictBind: ["eval", "arguments"]
|
|
2778
|
-
}
|
|
2810
|
+
};
|
|
2811
|
+
Di = new Set(we.keyword);
|
|
2812
|
+
Mi = new Set(we.strict);
|
|
2813
|
+
Oi = new Set(we.strictBind);
|
|
2779
2814
|
Ri = /* @__PURE__ */ new Set([
|
|
2780
2815
|
"break",
|
|
2781
2816
|
"case",
|
|
@@ -2833,7 +2868,8 @@ var init_babel = __esmMin((() => {
|
|
|
2833
2868
|
constructor(e) {
|
|
2834
2869
|
this.flags = e;
|
|
2835
2870
|
}
|
|
2836
|
-
}
|
|
2871
|
+
};
|
|
2872
|
+
xt = class {
|
|
2837
2873
|
parser;
|
|
2838
2874
|
scopeStack = [];
|
|
2839
2875
|
inModule;
|
|
@@ -2931,9 +2967,11 @@ var init_babel = __esmMin((() => {
|
|
|
2931
2967
|
if (t & 3779 && !(t & 4)) return t;
|
|
2932
2968
|
}
|
|
2933
2969
|
}
|
|
2934
|
-
}
|
|
2970
|
+
};
|
|
2971
|
+
Yt = class extends yt {
|
|
2935
2972
|
declareFunctions = /* @__PURE__ */ new Set();
|
|
2936
|
-
}
|
|
2973
|
+
};
|
|
2974
|
+
Qt = class extends xt {
|
|
2937
2975
|
createScope(e) {
|
|
2938
2976
|
return new Yt(e);
|
|
2939
2977
|
}
|
|
@@ -2956,7 +2994,8 @@ var init_babel = __esmMin((() => {
|
|
|
2956
2994
|
checkLocalExport(e) {
|
|
2957
2995
|
this.scopeStack[0].declareFunctions.has(e.name) || super.checkLocalExport(e);
|
|
2958
2996
|
}
|
|
2959
|
-
}
|
|
2997
|
+
};
|
|
2998
|
+
_i = /* @__PURE__ */ new Set([
|
|
2960
2999
|
"_",
|
|
2961
3000
|
"any",
|
|
2962
3001
|
"bool",
|
|
@@ -2973,7 +3012,8 @@ var init_babel = __esmMin((() => {
|
|
|
2973
3012
|
"true",
|
|
2974
3013
|
"typeof",
|
|
2975
3014
|
"void"
|
|
2976
|
-
])
|
|
3015
|
+
]);
|
|
3016
|
+
P = F`flow`({
|
|
2977
3017
|
AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",
|
|
2978
3018
|
AmbiguousDeclareModuleKind: "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",
|
|
2979
3019
|
AssignReservedType: ({ reservedType: a }) => `Cannot overwrite reserved type ${a}.`,
|
|
@@ -3028,7 +3068,8 @@ var init_babel = __esmMin((() => {
|
|
|
3028
3068
|
type: "export type",
|
|
3029
3069
|
interface: "export interface"
|
|
3030
3070
|
};
|
|
3031
|
-
zi = /\*?\s*@((?:no)?flow)\b
|
|
3071
|
+
zi = /\*?\s*@((?:no)?flow)\b/;
|
|
3072
|
+
Hi = (a) => class extends a {
|
|
3032
3073
|
flowPragma = void 0;
|
|
3033
3074
|
getScopeHandler() {
|
|
3034
3075
|
return Qt;
|
|
@@ -4112,7 +4153,8 @@ var init_babel = __esmMin((() => {
|
|
|
4112
4153
|
}
|
|
4113
4154
|
};
|
|
4114
4155
|
St = new RegExp(/\r\n|[\r\n\u2028\u2029]/.source, "g");
|
|
4115
|
-
zt = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g
|
|
4156
|
+
zt = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
|
|
4157
|
+
Ht = /(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;
|
|
4116
4158
|
_ = F`jsx`({
|
|
4117
4159
|
AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.",
|
|
4118
4160
|
MissingClosingTagElement: ({ openingTagName: a }) => `Expected corresponding JSX closing tag for <${a}>.`,
|
|
@@ -4338,9 +4380,11 @@ var init_babel = __esmMin((() => {
|
|
|
4338
4380
|
r === w.j_oTag && t === 52 || r === w.j_cTag ? (s.pop(), this.state.canStartJSXElement = s[s.length - 1] === w.j_expr) : (this.setContext(w.j_expr), this.state.canStartJSXElement = !0);
|
|
4339
4381
|
} else this.state.canStartJSXElement = Ti(i);
|
|
4340
4382
|
}
|
|
4341
|
-
}
|
|
4383
|
+
};
|
|
4384
|
+
Zt = class extends yt {
|
|
4342
4385
|
tsNames = /* @__PURE__ */ new Map();
|
|
4343
|
-
}
|
|
4386
|
+
};
|
|
4387
|
+
te = class extends xt {
|
|
4344
4388
|
get inTSNamespace() {
|
|
4345
4389
|
let e = this.scopeStack;
|
|
4346
4390
|
return e.length >= 2 && e[e.length - 1].flags === 0 && (e[e.length - 2].flags & 2048) > 0;
|
|
@@ -4394,7 +4438,8 @@ var init_babel = __esmMin((() => {
|
|
|
4394
4438
|
}
|
|
4395
4439
|
super.checkLocalExport(e);
|
|
4396
4440
|
}
|
|
4397
|
-
}
|
|
4441
|
+
};
|
|
4442
|
+
ee = class {
|
|
4398
4443
|
sawUnambiguousESM = !1;
|
|
4399
4444
|
ambiguousScriptDifferentAst = !1;
|
|
4400
4445
|
sourceToOffsetPos(e) {
|
|
@@ -4506,7 +4551,8 @@ var init_babel = __esmMin((() => {
|
|
|
4506
4551
|
else if (h < t) break;
|
|
4507
4552
|
}
|
|
4508
4553
|
}
|
|
4509
|
-
}
|
|
4554
|
+
};
|
|
4555
|
+
ie = class a {
|
|
4510
4556
|
flags = 2048;
|
|
4511
4557
|
get strict() {
|
|
4512
4558
|
return (this.flags & 1) > 0;
|
|
@@ -4624,9 +4670,11 @@ var init_babel = __esmMin((() => {
|
|
|
4624
4670
|
let e = new a();
|
|
4625
4671
|
return e.flags = this.flags, e.startIndex = this.startIndex, e.curLine = this.curLine, e.lineStart = this.lineStart, e.startLoc = this.startLoc, e.endLoc = this.endLoc, e.errors = this.errors.slice(), e.noArrowAt = this.noArrowAt.slice(), e.noArrowParamsConversionAt = this.noArrowParamsConversionAt.slice(), e.labels = this.labels.slice(), e.commentsLen = this.commentsLen, e.commentStack = this.commentStack.slice(), e.pos = this.pos, e.type = this.type, e.value = this.value, e.start = this.start, e.end = this.end, e.lastTokEndLoc = this.lastTokEndLoc, e.lastTokStartLoc = this.lastTokStartLoc, e.context = this.context.slice(), e.firstInvalidTemplateEscapePos = this.firstInvalidTemplateEscapePos, e.strictErrors = this.strictErrors, e.tokensLength = this.tokensLength, e;
|
|
4626
4672
|
}
|
|
4627
|
-
}
|
|
4673
|
+
};
|
|
4674
|
+
Yi = function(e) {
|
|
4628
4675
|
return e >= 48 && e <= 57;
|
|
4629
|
-
}
|
|
4676
|
+
};
|
|
4677
|
+
qe = {
|
|
4630
4678
|
decBinOct: /* @__PURE__ */ new Set([
|
|
4631
4679
|
46,
|
|
4632
4680
|
66,
|
|
@@ -4643,7 +4691,8 @@ var init_babel = __esmMin((() => {
|
|
|
4643
4691
|
95,
|
|
4644
4692
|
120
|
|
4645
4693
|
])
|
|
4646
|
-
}
|
|
4694
|
+
};
|
|
4695
|
+
Ct = {
|
|
4647
4696
|
bin: (a) => a === 48 || a === 49,
|
|
4648
4697
|
oct: (a) => a >= 48 && a <= 55,
|
|
4649
4698
|
dec: (a) => a >= 48 && a <= 57,
|
|
@@ -4658,12 +4707,14 @@ var init_babel = __esmMin((() => {
|
|
|
4658
4707
|
117,
|
|
4659
4708
|
100,
|
|
4660
4709
|
118
|
|
4661
|
-
])
|
|
4710
|
+
]);
|
|
4711
|
+
ae = class {
|
|
4662
4712
|
constructor(e) {
|
|
4663
4713
|
let t = e.startIndex || 0;
|
|
4664
4714
|
this.type = e.type, this.value = e.value, this.start = t + e.start, this.end = t + e.end, this.loc = new st(e.startLoc, e.endLoc);
|
|
4665
4715
|
}
|
|
4666
|
-
}
|
|
4716
|
+
};
|
|
4717
|
+
ne = class extends se {
|
|
4667
4718
|
isLookahead;
|
|
4668
4719
|
tokens = [];
|
|
4669
4720
|
constructor(e, t) {
|
|
@@ -5257,11 +5308,13 @@ var init_babel = __esmMin((() => {
|
|
|
5257
5308
|
throw this.raise(l.UnterminatedTemplate, ut(e, t, s));
|
|
5258
5309
|
}
|
|
5259
5310
|
};
|
|
5260
|
-
}
|
|
5311
|
+
};
|
|
5312
|
+
oe = class {
|
|
5261
5313
|
privateNames = /* @__PURE__ */ new Set();
|
|
5262
5314
|
loneAccessors = /* @__PURE__ */ new Map();
|
|
5263
5315
|
undefinedPrivateNames = /* @__PURE__ */ new Map();
|
|
5264
|
-
}
|
|
5316
|
+
};
|
|
5317
|
+
he = class {
|
|
5265
5318
|
parser;
|
|
5266
5319
|
stack = [];
|
|
5267
5320
|
constructor(e) {
|
|
@@ -5293,7 +5346,8 @@ var init_babel = __esmMin((() => {
|
|
|
5293
5346
|
for (s of this.stack) if (s.privateNames.has(e)) return;
|
|
5294
5347
|
s ? s.undefinedPrivateNames.set(e, t) : this.parser.raise(l.InvalidPrivateFieldResolution, t, { identifierName: e });
|
|
5295
5348
|
}
|
|
5296
|
-
}
|
|
5349
|
+
};
|
|
5350
|
+
it = class {
|
|
5297
5351
|
constructor(e = 0) {
|
|
5298
5352
|
this.type = e;
|
|
5299
5353
|
}
|
|
@@ -5303,7 +5357,8 @@ var init_babel = __esmMin((() => {
|
|
|
5303
5357
|
isCertainlyParameterDeclaration() {
|
|
5304
5358
|
return this.type === 3;
|
|
5305
5359
|
}
|
|
5306
|
-
}
|
|
5360
|
+
};
|
|
5361
|
+
vt = class extends it {
|
|
5307
5362
|
declarationErrors = /* @__PURE__ */ new Map();
|
|
5308
5363
|
constructor(e) {
|
|
5309
5364
|
super(e);
|
|
@@ -5317,7 +5372,8 @@ var init_babel = __esmMin((() => {
|
|
|
5317
5372
|
iterateErrors(e) {
|
|
5318
5373
|
this.declarationErrors.forEach(e);
|
|
5319
5374
|
}
|
|
5320
|
-
}
|
|
5375
|
+
};
|
|
5376
|
+
ce = class {
|
|
5321
5377
|
parser;
|
|
5322
5378
|
stack = [new it()];
|
|
5323
5379
|
constructor(e) {
|
|
@@ -5530,18 +5586,22 @@ var init_babel = __esmMin((() => {
|
|
|
5530
5586
|
let { privateKeyLoc: t } = e;
|
|
5531
5587
|
t !== null && this.expectPlugin("destructuringPrivate", t);
|
|
5532
5588
|
}
|
|
5533
|
-
}
|
|
5589
|
+
};
|
|
5590
|
+
et = class {
|
|
5534
5591
|
shorthandAssignLoc = null;
|
|
5535
5592
|
doubleProtoLoc = null;
|
|
5536
5593
|
privateKeyLoc = null;
|
|
5537
5594
|
optionalParametersLoc = null;
|
|
5538
5595
|
voidPatternLoc = null;
|
|
5539
|
-
}
|
|
5596
|
+
};
|
|
5597
|
+
K = class {
|
|
5540
5598
|
constructor(e, t, s, i) {
|
|
5541
5599
|
this.start = s, this.end = 0, i !== void 0 && (this.loc = new st(i)), e & 128 && (this.range = [s, 0]), i !== void 0 && t && (this.loc.filename = t);
|
|
5542
5600
|
}
|
|
5543
5601
|
type = "";
|
|
5544
|
-
}
|
|
5602
|
+
};
|
|
5603
|
+
ze = K.prototype;
|
|
5604
|
+
ue = class extends pe {
|
|
5545
5605
|
createPosition(e) {
|
|
5546
5606
|
return e;
|
|
5547
5607
|
}
|
|
@@ -5601,7 +5661,9 @@ var init_babel = __esmMin((() => {
|
|
|
5601
5661
|
let { type: t, start: s, end: i, loc: r, range: n, extra: o } = e, h = Object.create(ze);
|
|
5602
5662
|
return h.type = t, h.start = s, h.end = i, h.loc = r, h.range = n, h.extra = o, h.value = e.value, h;
|
|
5603
5663
|
}
|
|
5604
|
-
}
|
|
5664
|
+
};
|
|
5665
|
+
fe = (a) => a.type === "ParenthesizedExpression" ? fe(a.expression) : a;
|
|
5666
|
+
de = class extends ue {
|
|
5605
5667
|
toAssignable(e, t = !1) {
|
|
5606
5668
|
let s;
|
|
5607
5669
|
switch ((e.type === "ParenthesizedExpression" || e.extra?.parenthesized) && (s = fe(e), t ? s.type === "Identifier" ? this.expressionScope.recordArrowParameterBindingError(l.InvalidParenthesizedAssignment, e) : s.type !== "CallExpression" && s.type !== "MemberExpression" && !this.isOptionalMemberExpression(s) && this.raise(l.InvalidParenthesizedAssignment, e) : this.raise(l.InvalidParenthesizedAssignment, e)), e.type) {
|
|
@@ -5810,7 +5872,8 @@ var init_babel = __esmMin((() => {
|
|
|
5810
5872
|
checkCommaAfterRest(e) {
|
|
5811
5873
|
return this.match(8) ? (this.raise(this.lookaheadCharCode() === e ? l.RestTrailingComma : l.ElementAfterRest, this.state.startLoc), !0) : !1;
|
|
5812
5874
|
}
|
|
5813
|
-
}
|
|
5875
|
+
};
|
|
5876
|
+
me = class extends de {
|
|
5814
5877
|
checkProto(e, t, s) {
|
|
5815
5878
|
if (e.type === "SpreadElement" || this.isObjectMethod(e) || e.computed || e.shorthand) return t;
|
|
5816
5879
|
let i = e.key;
|
|
@@ -6626,7 +6689,11 @@ var init_babel = __esmMin((() => {
|
|
|
6626
6689
|
return this.parseMaybeAssignAllowIn(t, s);
|
|
6627
6690
|
}
|
|
6628
6691
|
parsePropertyNamePrefixOperator(e) {}
|
|
6629
|
-
}
|
|
6692
|
+
};
|
|
6693
|
+
Kt = { kind: 1 };
|
|
6694
|
+
rr = { kind: 2 };
|
|
6695
|
+
ar = /[\uD800-\uDFFF]/u;
|
|
6696
|
+
Wt = /in(?:stanceof)?/y;
|
|
6630
6697
|
ye = class extends me {
|
|
6631
6698
|
parseTopLevel(e, t) {
|
|
6632
6699
|
return e.program = this.parseProgram(t, 135, this.options.sourceType === "module" ? "module" : "script"), e.comments = this.comments, this.optionFlags & 512 && (e.tokens = cs(this.tokens)), this.finishNode(e, "File");
|
|
@@ -7397,7 +7464,8 @@ var init_babel = __esmMin((() => {
|
|
|
7397
7464
|
isThisParam(e) {
|
|
7398
7465
|
return e.type === "Identifier" && e.name === "this";
|
|
7399
7466
|
}
|
|
7400
|
-
}
|
|
7467
|
+
};
|
|
7468
|
+
Jt = /in(?:stanceof)?|as|satisfies/y;
|
|
7401
7469
|
m = F`typescript`({
|
|
7402
7470
|
AbstractMethodHasImplementation: ({ methodName: a }) => `Method '${a}' cannot have an implementation because it is marked abstract.`,
|
|
7403
7471
|
AbstractPropertyHasInitializer: ({ propertyName: a }) => `Property '${a}' cannot have an initializer because it is marked abstract.`,
|
|
@@ -8890,7 +8958,8 @@ var init_babel = __esmMin((() => {
|
|
|
8890
8958
|
We = F`placeholders`({
|
|
8891
8959
|
ClassNameIsRequired: "A class name is required.",
|
|
8892
8960
|
UnexpectedSpace: "Unexpected space in placeholder."
|
|
8893
|
-
})
|
|
8961
|
+
});
|
|
8962
|
+
mr = (a) => class extends a {
|
|
8894
8963
|
parsePlaceholder(t) {
|
|
8895
8964
|
if (this.match(129)) {
|
|
8896
8965
|
let s = this.startNode();
|
|
@@ -9001,7 +9070,8 @@ var init_babel = __esmMin((() => {
|
|
|
9001
9070
|
assertNoSpace() {
|
|
9002
9071
|
this.state.start > this.offsetToSourcePos(this.state.lastTokEndLoc.index) && this.raise(We.UnexpectedSpace, this.state.lastTokEndLoc);
|
|
9003
9072
|
}
|
|
9004
|
-
}
|
|
9073
|
+
};
|
|
9074
|
+
yr = (a) => class extends a {
|
|
9005
9075
|
parseV8Intrinsic() {
|
|
9006
9076
|
if (this.match(50)) {
|
|
9007
9077
|
let t = this.state.startLoc, s = this.startNode();
|
|
@@ -9015,7 +9085,9 @@ var init_babel = __esmMin((() => {
|
|
|
9015
9085
|
parseExprAtom(t) {
|
|
9016
9086
|
return this.parseV8Intrinsic() || super.parseExprAtom(t);
|
|
9017
9087
|
}
|
|
9018
|
-
}
|
|
9088
|
+
};
|
|
9089
|
+
Je = ["fsharp", "hack"];
|
|
9090
|
+
Ge = [
|
|
9019
9091
|
"^^",
|
|
9020
9092
|
"@@",
|
|
9021
9093
|
"^",
|
|
@@ -9029,7 +9101,9 @@ var init_babel = __esmMin((() => {
|
|
|
9029
9101
|
typescript: lr,
|
|
9030
9102
|
v8intrinsic: yr,
|
|
9031
9103
|
placeholders: mr
|
|
9032
|
-
}
|
|
9104
|
+
};
|
|
9105
|
+
Pr = Object.keys(us);
|
|
9106
|
+
Lt = class extends ye {
|
|
9033
9107
|
constructor(e, t, s) {
|
|
9034
9108
|
let i = mi(e);
|
|
9035
9109
|
super(i, t), this.options = i, this.initializeScopes(), this.plugins = s, this.filename = i.sourceFilename, this.startIndex = i.startIndex;
|
|
@@ -9049,7 +9123,8 @@ var init_babel = __esmMin((() => {
|
|
|
9049
9123
|
};
|
|
9050
9124
|
gr(Pi);
|
|
9051
9125
|
Xe = /* @__PURE__ */ new Map();
|
|
9052
|
-
fs = Ot(" ")
|
|
9126
|
+
fs = Ot(" ");
|
|
9127
|
+
ds = Ot(/[^\n\r]/);
|
|
9053
9128
|
ms = br;
|
|
9054
9129
|
ys = (a) => a === `
|
|
9055
9130
|
` || a === "\r" || a === "\u2028" || a === "\u2029";
|
|
@@ -9062,14 +9137,20 @@ var init_babel = __esmMin((() => {
|
|
|
9062
9137
|
let t = this[e];
|
|
9063
9138
|
if (a(t, e, this)) return t;
|
|
9064
9139
|
}
|
|
9065
|
-
}
|
|
9140
|
+
};
|
|
9141
|
+
bs = X("findLast", function() {
|
|
9066
9142
|
if (Array.isArray(this)) return wr;
|
|
9067
9143
|
});
|
|
9068
9144
|
Bt = Symbol.for("comments");
|
|
9069
9145
|
As = X("at", function() {
|
|
9070
9146
|
if (Array.isArray(this) || typeof this == "string") return Nr;
|
|
9071
9147
|
});
|
|
9072
|
-
vr = 5
|
|
9148
|
+
vr = 5;
|
|
9149
|
+
Lr = 8;
|
|
9150
|
+
Dr = 8;
|
|
9151
|
+
Ss = (a) => (e) => e.label ? k(e.label) : N(e) + a;
|
|
9152
|
+
Mr = (a) => a.__contentEnd ?? rt(a);
|
|
9153
|
+
Cs = [
|
|
9073
9154
|
"ExpressionStatement",
|
|
9074
9155
|
"Directive",
|
|
9075
9156
|
"ImportDeclaration",
|
|
@@ -9079,18 +9160,21 @@ var init_babel = __esmMin((() => {
|
|
|
9079
9160
|
"ReturnStatement",
|
|
9080
9161
|
"ThrowStatement",
|
|
9081
9162
|
"DoWhileStatement"
|
|
9082
|
-
]
|
|
9163
|
+
];
|
|
9164
|
+
Or = new Map([
|
|
9083
9165
|
["BreakStatement", Ss(vr)],
|
|
9084
9166
|
["ContinueStatement", Ss(Lr)],
|
|
9085
9167
|
["DebuggerStatement", (a) => N(a) + Dr],
|
|
9086
9168
|
["VariableDeclaration", (a) => k(As(0, a.declarations, -1))],
|
|
9087
9169
|
...Cs.map((a) => [a, Mr])
|
|
9088
|
-
])
|
|
9170
|
+
]);
|
|
9171
|
+
Ie = J(Cs);
|
|
9089
9172
|
at = J([
|
|
9090
9173
|
"Block",
|
|
9091
9174
|
"CommentBlock",
|
|
9092
9175
|
"MultiLine"
|
|
9093
|
-
])
|
|
9176
|
+
]);
|
|
9177
|
+
Es = J([
|
|
9094
9178
|
"Line",
|
|
9095
9179
|
"CommentLine",
|
|
9096
9180
|
"SingleLine",
|
|
@@ -9789,12 +9873,23 @@ var init_babel = __esmMin((() => {
|
|
|
9789
9873
|
Ut = Wr;
|
|
9790
9874
|
_s = "Unexpected parseExpression() input: ";
|
|
9791
9875
|
_t = Jr;
|
|
9792
|
-
Gr =
|
|
9793
|
-
|
|
9876
|
+
Gr = /\*\/$/;
|
|
9877
|
+
Xr = /^\/\*\*?/;
|
|
9878
|
+
Yr = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/;
|
|
9879
|
+
Qr = /(^|\s+)\/\/([^\n\r]*)/g;
|
|
9880
|
+
js = /^(\r?\n)+/;
|
|
9881
|
+
Zr = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g;
|
|
9882
|
+
Vs = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g;
|
|
9883
|
+
ta = /(\r?\n|^) *\* ?/g;
|
|
9884
|
+
ea = [];
|
|
9885
|
+
zs = ["noformat", "noprettier"];
|
|
9886
|
+
Hs = ["format", "prettier"];
|
|
9794
9887
|
G = sa;
|
|
9795
|
-
jt = "module"
|
|
9888
|
+
jt = "module";
|
|
9889
|
+
Le = "commonjs";
|
|
9796
9890
|
Vt = ia;
|
|
9797
|
-
ot = (a) => G(ha(a))
|
|
9891
|
+
ot = (a) => G(ha(a));
|
|
9892
|
+
ra = {
|
|
9798
9893
|
sourceType: jt,
|
|
9799
9894
|
allowImportExportEverywhere: !0,
|
|
9800
9895
|
allowReturnOutsideFunction: !0,
|
|
@@ -9823,13 +9918,17 @@ var init_babel = __esmMin((() => {
|
|
|
9823
9918
|
],
|
|
9824
9919
|
tokens: !1,
|
|
9825
9920
|
ranges: !1
|
|
9826
|
-
}
|
|
9921
|
+
};
|
|
9922
|
+
Xs = "v8intrinsic";
|
|
9923
|
+
Ys = [["pipelineOperator", {
|
|
9827
9924
|
proposal: "hack",
|
|
9828
9925
|
topicToken: "%"
|
|
9829
|
-
}], ["pipelineOperator", { proposal: "fsharp" }]]
|
|
9926
|
+
}], ["pipelineOperator", { proposal: "fsharp" }]];
|
|
9927
|
+
j = (a, e = ra) => ({
|
|
9830
9928
|
...e,
|
|
9831
9929
|
plugins: [...e.plugins, ...a]
|
|
9832
|
-
})
|
|
9930
|
+
});
|
|
9931
|
+
aa = /@(?:no)?flow\b/;
|
|
9833
9932
|
la = /* @__PURE__ */ new Set([
|
|
9834
9933
|
"StrictNumericEscape",
|
|
9835
9934
|
"StrictWith",
|
|
@@ -9853,17 +9952,24 @@ var init_babel = __esmMin((() => {
|
|
|
9853
9952
|
"DuplicateExport",
|
|
9854
9953
|
"DeclarationMissingInitializer",
|
|
9855
9954
|
"DecoratorAbstractMethod"
|
|
9856
|
-
])
|
|
9955
|
+
]);
|
|
9956
|
+
Qs = [j(["jsx"])];
|
|
9957
|
+
pa = ot({ optionsCombinations: Qs });
|
|
9958
|
+
ua = ot({ optionsCombinations: [j(["jsx", "typescript"]), j(["typescript"])] });
|
|
9959
|
+
fa = ot({
|
|
9857
9960
|
isExpression: !0,
|
|
9858
9961
|
optionsCombinations: [j(["jsx"])]
|
|
9859
|
-
})
|
|
9962
|
+
});
|
|
9963
|
+
da = ot({
|
|
9860
9964
|
isExpression: !0,
|
|
9861
9965
|
optionsCombinations: [j(["typescript"])]
|
|
9862
|
-
})
|
|
9966
|
+
});
|
|
9967
|
+
Zs = ot({ optionsCombinations: [j([
|
|
9863
9968
|
"jsx",
|
|
9864
9969
|
["flow", { all: !0 }],
|
|
9865
9970
|
"flowComments"
|
|
9866
|
-
])] })
|
|
9971
|
+
])] });
|
|
9972
|
+
ma = ot({ optionsCombinations: Qs.map((a) => j(["estree"], a)) });
|
|
9867
9973
|
Oe = {};
|
|
9868
9974
|
qt(Oe, {
|
|
9869
9975
|
json: () => Pa,
|
|
@@ -9882,7 +9988,10 @@ var init_babel = __esmMin((() => {
|
|
|
9882
9988
|
parse: (a) => bt(a),
|
|
9883
9989
|
hasPragma: () => !0,
|
|
9884
9990
|
hasIgnorePragma: () => !1
|
|
9885
|
-
})
|
|
9991
|
+
});
|
|
9992
|
+
ga = G((a) => bt(a));
|
|
9993
|
+
Ta = G((a) => bt(a, { allowEmpty: !0 }));
|
|
9994
|
+
ba = G({
|
|
9886
9995
|
parse: (a) => bt(a, { allowComments: !1 }),
|
|
9887
9996
|
astFormat: "estree-json"
|
|
9888
9997
|
});
|