@plasmicapp/cli 0.1.311 → 0.1.313
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/index.js +880 -481
- package/dist/lib.js +880 -481
- package/package.json +2 -2
package/dist/lib.js
CHANGED
|
@@ -46319,6 +46319,7 @@ var require_follow_redirects = __commonJS({
|
|
|
46319
46319
|
"ERR_STREAM_WRITE_AFTER_END",
|
|
46320
46320
|
"write after end"
|
|
46321
46321
|
);
|
|
46322
|
+
var destroy = Writable.prototype.destroy || noop;
|
|
46322
46323
|
function RedirectableRequest(options, responseCallback) {
|
|
46323
46324
|
Writable.call(this);
|
|
46324
46325
|
this._sanitizeOptions(options);
|
|
@@ -46340,9 +46341,15 @@ var require_follow_redirects = __commonJS({
|
|
|
46340
46341
|
}
|
|
46341
46342
|
RedirectableRequest.prototype = Object.create(Writable.prototype);
|
|
46342
46343
|
RedirectableRequest.prototype.abort = function() {
|
|
46343
|
-
|
|
46344
|
+
destroyRequest(this._currentRequest);
|
|
46345
|
+
this._currentRequest.abort();
|
|
46344
46346
|
this.emit("abort");
|
|
46345
46347
|
};
|
|
46348
|
+
RedirectableRequest.prototype.destroy = function(error) {
|
|
46349
|
+
destroyRequest(this._currentRequest, error);
|
|
46350
|
+
destroy.call(this, error);
|
|
46351
|
+
return this;
|
|
46352
|
+
};
|
|
46346
46353
|
RedirectableRequest.prototype.write = function(data, encoding, callback) {
|
|
46347
46354
|
if (this._ending) {
|
|
46348
46355
|
throw new WriteAfterEndError();
|
|
@@ -46423,6 +46430,7 @@ var require_follow_redirects = __commonJS({
|
|
|
46423
46430
|
self2.removeListener("abort", clearTimer);
|
|
46424
46431
|
self2.removeListener("error", clearTimer);
|
|
46425
46432
|
self2.removeListener("response", clearTimer);
|
|
46433
|
+
self2.removeListener("close", clearTimer);
|
|
46426
46434
|
if (callback) {
|
|
46427
46435
|
self2.removeListener("timeout", callback);
|
|
46428
46436
|
}
|
|
@@ -46442,6 +46450,7 @@ var require_follow_redirects = __commonJS({
|
|
|
46442
46450
|
this.on("abort", clearTimer);
|
|
46443
46451
|
this.on("error", clearTimer);
|
|
46444
46452
|
this.on("response", clearTimer);
|
|
46453
|
+
this.on("close", clearTimer);
|
|
46445
46454
|
return this;
|
|
46446
46455
|
};
|
|
46447
46456
|
[
|
|
@@ -46539,7 +46548,7 @@ var require_follow_redirects = __commonJS({
|
|
|
46539
46548
|
this._requestBodyBuffers = [];
|
|
46540
46549
|
return;
|
|
46541
46550
|
}
|
|
46542
|
-
|
|
46551
|
+
destroyRequest(this._currentRequest);
|
|
46543
46552
|
response.destroy();
|
|
46544
46553
|
if (++this._redirectCount > this._options.maxRedirects) {
|
|
46545
46554
|
this.emit("error", new TooManyRedirectsError());
|
|
@@ -46704,12 +46713,12 @@ var require_follow_redirects = __commonJS({
|
|
|
46704
46713
|
CustomError.prototype.name = "Error [" + code + "]";
|
|
46705
46714
|
return CustomError;
|
|
46706
46715
|
}
|
|
46707
|
-
function
|
|
46716
|
+
function destroyRequest(request, error) {
|
|
46708
46717
|
for (var event of events) {
|
|
46709
46718
|
request.removeListener(event, eventHandlers[event]);
|
|
46710
46719
|
}
|
|
46711
46720
|
request.on("error", noop);
|
|
46712
|
-
request.
|
|
46721
|
+
request.destroy(error);
|
|
46713
46722
|
}
|
|
46714
46723
|
function isSubdomain(subdomain, domain) {
|
|
46715
46724
|
assert2(isString(subdomain) && isString(domain));
|
|
@@ -61881,6 +61890,7 @@ var require_generated = __commonJS({
|
|
|
61881
61890
|
exports.isImportAttribute = isImportAttribute;
|
|
61882
61891
|
exports.isImportDeclaration = isImportDeclaration;
|
|
61883
61892
|
exports.isImportDefaultSpecifier = isImportDefaultSpecifier;
|
|
61893
|
+
exports.isImportExpression = isImportExpression;
|
|
61884
61894
|
exports.isImportNamespaceSpecifier = isImportNamespaceSpecifier;
|
|
61885
61895
|
exports.isImportOrExportDeclaration = isImportOrExportDeclaration;
|
|
61886
61896
|
exports.isImportSpecifier = isImportSpecifier;
|
|
@@ -62543,6 +62553,13 @@ var require_generated = __commonJS({
|
|
|
62543
62553
|
return false;
|
|
62544
62554
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
62545
62555
|
}
|
|
62556
|
+
function isImportExpression(node, opts) {
|
|
62557
|
+
if (!node)
|
|
62558
|
+
return false;
|
|
62559
|
+
if (node.type !== "ImportExpression")
|
|
62560
|
+
return false;
|
|
62561
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
62562
|
+
}
|
|
62546
62563
|
function isMetaProperty(node, opts) {
|
|
62547
62564
|
if (!node)
|
|
62548
62565
|
return false;
|
|
@@ -63894,6 +63911,7 @@ var require_generated = __commonJS({
|
|
|
63894
63911
|
case "ImportDefaultSpecifier":
|
|
63895
63912
|
case "ImportNamespaceSpecifier":
|
|
63896
63913
|
case "ImportSpecifier":
|
|
63914
|
+
case "ImportExpression":
|
|
63897
63915
|
case "MetaProperty":
|
|
63898
63916
|
case "ClassMethod":
|
|
63899
63917
|
case "ObjectPattern":
|
|
@@ -63959,6 +63977,7 @@ var require_generated = __commonJS({
|
|
|
63959
63977
|
case "UpdateExpression":
|
|
63960
63978
|
case "ArrowFunctionExpression":
|
|
63961
63979
|
case "ClassExpression":
|
|
63980
|
+
case "ImportExpression":
|
|
63962
63981
|
case "MetaProperty":
|
|
63963
63982
|
case "Super":
|
|
63964
63983
|
case "TaggedTemplateExpression":
|
|
@@ -65285,11 +65304,11 @@ var require_identifier = __commonJS({
|
|
|
65285
65304
|
exports.isIdentifierName = isIdentifierName;
|
|
65286
65305
|
exports.isIdentifierStart = isIdentifierStart;
|
|
65287
65306
|
var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
|
|
65288
|
-
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\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";
|
|
65307
|
+
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
65289
65308
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
65290
65309
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
65291
65310
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
65292
|
-
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472,
|
|
65311
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
|
|
65293
65312
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
65294
65313
|
function isInAstralSet(code, set) {
|
|
65295
65314
|
let pos = 65536;
|
|
@@ -66161,7 +66180,7 @@ var require_core = __commonJS({
|
|
|
66161
66180
|
}()
|
|
66162
66181
|
},
|
|
66163
66182
|
left: {
|
|
66164
|
-
validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal") : (0, _utils.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression")
|
|
66183
|
+
validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal", "OptionalMemberExpression") : (0, _utils.assertNodeType)("Identifier", "MemberExpression", "OptionalMemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression")
|
|
66165
66184
|
},
|
|
66166
66185
|
right: {
|
|
66167
66186
|
validate: (0, _utils.assertNodeType)("Expression")
|
|
@@ -67322,6 +67341,10 @@ var require_core = __commonJS({
|
|
|
67322
67341
|
optional: true,
|
|
67323
67342
|
validate: (0, _utils.assertValueType)("boolean")
|
|
67324
67343
|
},
|
|
67344
|
+
phase: {
|
|
67345
|
+
default: null,
|
|
67346
|
+
validate: (0, _utils.assertOneOf)("source", "defer")
|
|
67347
|
+
},
|
|
67325
67348
|
specifiers: {
|
|
67326
67349
|
validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier")))
|
|
67327
67350
|
},
|
|
@@ -67368,6 +67391,23 @@ var require_core = __commonJS({
|
|
|
67368
67391
|
}
|
|
67369
67392
|
}
|
|
67370
67393
|
});
|
|
67394
|
+
defineType("ImportExpression", {
|
|
67395
|
+
visitor: ["source", "options"],
|
|
67396
|
+
aliases: ["Expression"],
|
|
67397
|
+
fields: {
|
|
67398
|
+
phase: {
|
|
67399
|
+
default: null,
|
|
67400
|
+
validate: (0, _utils.assertOneOf)("source", "defer")
|
|
67401
|
+
},
|
|
67402
|
+
source: {
|
|
67403
|
+
validate: (0, _utils.assertNodeType)("Expression")
|
|
67404
|
+
},
|
|
67405
|
+
options: {
|
|
67406
|
+
validate: (0, _utils.assertNodeType)("Expression"),
|
|
67407
|
+
optional: true
|
|
67408
|
+
}
|
|
67409
|
+
}
|
|
67410
|
+
});
|
|
67371
67411
|
defineType("MetaProperty", {
|
|
67372
67412
|
visitor: ["meta", "property"],
|
|
67373
67413
|
aliases: ["Expression"],
|
|
@@ -69442,6 +69482,7 @@ var require_generated2 = __commonJS({
|
|
|
69442
69482
|
exports.importAttribute = importAttribute;
|
|
69443
69483
|
exports.importDeclaration = importDeclaration;
|
|
69444
69484
|
exports.importDefaultSpecifier = importDefaultSpecifier;
|
|
69485
|
+
exports.importExpression = importExpression;
|
|
69445
69486
|
exports.importNamespaceSpecifier = importNamespaceSpecifier;
|
|
69446
69487
|
exports.importSpecifier = importSpecifier;
|
|
69447
69488
|
exports.indexedAccessType = indexedAccessType;
|
|
@@ -70086,6 +70127,13 @@ var require_generated2 = __commonJS({
|
|
|
70086
70127
|
imported
|
|
70087
70128
|
});
|
|
70088
70129
|
}
|
|
70130
|
+
function importExpression(source, options = null) {
|
|
70131
|
+
return (0, _validateNode.default)({
|
|
70132
|
+
type: "ImportExpression",
|
|
70133
|
+
source,
|
|
70134
|
+
options
|
|
70135
|
+
});
|
|
70136
|
+
}
|
|
70089
70137
|
function metaProperty(meta, property) {
|
|
70090
70138
|
return (0, _validateNode.default)({
|
|
70091
70139
|
type: "MetaProperty",
|
|
@@ -71560,6 +71608,7 @@ var require_generated3 = __commonJS({
|
|
|
71560
71608
|
exports.assertImportAttribute = assertImportAttribute;
|
|
71561
71609
|
exports.assertImportDeclaration = assertImportDeclaration;
|
|
71562
71610
|
exports.assertImportDefaultSpecifier = assertImportDefaultSpecifier;
|
|
71611
|
+
exports.assertImportExpression = assertImportExpression;
|
|
71563
71612
|
exports.assertImportNamespaceSpecifier = assertImportNamespaceSpecifier;
|
|
71564
71613
|
exports.assertImportOrExportDeclaration = assertImportOrExportDeclaration;
|
|
71565
71614
|
exports.assertImportSpecifier = assertImportSpecifier;
|
|
@@ -71963,6 +72012,9 @@ var require_generated3 = __commonJS({
|
|
|
71963
72012
|
function assertImportSpecifier(node, opts) {
|
|
71964
72013
|
assert2("ImportSpecifier", node, opts);
|
|
71965
72014
|
}
|
|
72015
|
+
function assertImportExpression(node, opts) {
|
|
72016
|
+
assert2("ImportExpression", node, opts);
|
|
72017
|
+
}
|
|
71966
72018
|
function assertMetaProperty(node, opts) {
|
|
71967
72019
|
assert2("MetaProperty", node, opts);
|
|
71968
72020
|
}
|
|
@@ -73400,6 +73452,12 @@ var require_uppercase = __commonJS({
|
|
|
73400
73452
|
return _index.importDefaultSpecifier;
|
|
73401
73453
|
}
|
|
73402
73454
|
});
|
|
73455
|
+
Object.defineProperty(exports, "ImportExpression", {
|
|
73456
|
+
enumerable: true,
|
|
73457
|
+
get: function() {
|
|
73458
|
+
return _index.importExpression;
|
|
73459
|
+
}
|
|
73460
|
+
});
|
|
73403
73461
|
Object.defineProperty(exports, "ImportNamespaceSpecifier", {
|
|
73404
73462
|
enumerable: true,
|
|
73405
73463
|
get: function() {
|
|
@@ -74430,6 +74488,21 @@ var require_uppercase = __commonJS({
|
|
|
74430
74488
|
}
|
|
74431
74489
|
});
|
|
74432
74490
|
|
|
74491
|
+
// ../../node_modules/@babel/types/lib/builders/productions.js
|
|
74492
|
+
var require_productions = __commonJS({
|
|
74493
|
+
"../../node_modules/@babel/types/lib/builders/productions.js"(exports) {
|
|
74494
|
+
"use strict";
|
|
74495
|
+
Object.defineProperty(exports, "__esModule", {
|
|
74496
|
+
value: true
|
|
74497
|
+
});
|
|
74498
|
+
exports.buildUndefinedNode = buildUndefinedNode;
|
|
74499
|
+
var _index = require_generated2();
|
|
74500
|
+
function buildUndefinedNode() {
|
|
74501
|
+
return (0, _index.unaryExpression)("void", (0, _index.numericLiteral)(0), true);
|
|
74502
|
+
}
|
|
74503
|
+
}
|
|
74504
|
+
});
|
|
74505
|
+
|
|
74433
74506
|
// ../../node_modules/@babel/types/lib/clone/cloneNode.js
|
|
74434
74507
|
var require_cloneNode = __commonJS({
|
|
74435
74508
|
"../../node_modules/@babel/types/lib/clone/cloneNode.js"(exports) {
|
|
@@ -75894,15 +75967,6 @@ var require_isVar = __commonJS({
|
|
|
75894
75967
|
var require_lib4 = __commonJS({
|
|
75895
75968
|
"../../node_modules/@babel/types/lib/index.js"(exports) {
|
|
75896
75969
|
"use strict";
|
|
75897
|
-
if (typeof process === "object" && process.version === "v20.6.0") {
|
|
75898
|
-
if (exports["___internal__alreadyRunning"])
|
|
75899
|
-
return;
|
|
75900
|
-
Object.defineProperty(exports, "___internal__alreadyRunning", {
|
|
75901
|
-
value: true,
|
|
75902
|
-
enumerable: false,
|
|
75903
|
-
configurable: true
|
|
75904
|
-
});
|
|
75905
|
-
}
|
|
75906
75970
|
Object.defineProperty(exports, "__esModule", {
|
|
75907
75971
|
value: true
|
|
75908
75972
|
});
|
|
@@ -76361,6 +76425,21 @@ var require_lib4 = __commonJS({
|
|
|
76361
76425
|
}
|
|
76362
76426
|
});
|
|
76363
76427
|
});
|
|
76428
|
+
var _productions = require_productions();
|
|
76429
|
+
Object.keys(_productions).forEach(function(key) {
|
|
76430
|
+
if (key === "default" || key === "__esModule")
|
|
76431
|
+
return;
|
|
76432
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key))
|
|
76433
|
+
return;
|
|
76434
|
+
if (key in exports && exports[key] === _productions[key])
|
|
76435
|
+
return;
|
|
76436
|
+
Object.defineProperty(exports, key, {
|
|
76437
|
+
enumerable: true,
|
|
76438
|
+
get: function() {
|
|
76439
|
+
return _productions[key];
|
|
76440
|
+
}
|
|
76441
|
+
});
|
|
76442
|
+
});
|
|
76364
76443
|
var _cloneNode = require_cloneNode();
|
|
76365
76444
|
var _clone = require_clone2();
|
|
76366
76445
|
var _cloneDeep = require_cloneDeep();
|
|
@@ -76493,8 +76572,6 @@ var require_lib4 = __commonJS({
|
|
|
76493
76572
|
buildChildren: _buildChildren.default
|
|
76494
76573
|
};
|
|
76495
76574
|
exports.react = react;
|
|
76496
|
-
if (typeof process === "object" && process.version === "v20.6.0")
|
|
76497
|
-
delete exports["___internal__alreadyRunning"];
|
|
76498
76575
|
}
|
|
76499
76576
|
});
|
|
76500
76577
|
|
|
@@ -76860,16 +76937,12 @@ var require_lib6 = __commonJS({
|
|
|
76860
76937
|
exports.default = void 0;
|
|
76861
76938
|
exports.requeueComputedKeyAndDecorators = requeueComputedKeyAndDecorators;
|
|
76862
76939
|
{
|
|
76863
|
-
{
|
|
76864
|
-
|
|
76865
|
-
|
|
76866
|
-
|
|
76867
|
-
if (path15.node.computed) {
|
|
76868
|
-
path15.context.maybeQueue(path15.get("key"));
|
|
76869
|
-
}
|
|
76870
|
-
};
|
|
76940
|
+
exports.skipAllButComputedKey = function skipAllButComputedKey(path15) {
|
|
76941
|
+
path15.skip();
|
|
76942
|
+
if (path15.node.computed) {
|
|
76943
|
+
path15.context.maybeQueue(path15.get("key"));
|
|
76871
76944
|
}
|
|
76872
|
-
}
|
|
76945
|
+
};
|
|
76873
76946
|
}
|
|
76874
76947
|
function requeueComputedKeyAndDecorators(path15) {
|
|
76875
76948
|
const {
|
|
@@ -78744,7 +78817,6 @@ var require_scope = __commonJS({
|
|
|
78744
78817
|
memberExpression,
|
|
78745
78818
|
numericLiteral,
|
|
78746
78819
|
toIdentifier,
|
|
78747
|
-
unaryExpression,
|
|
78748
78820
|
variableDeclaration,
|
|
78749
78821
|
variableDeclarator,
|
|
78750
78822
|
isRecordExpression,
|
|
@@ -78753,7 +78825,8 @@ var require_scope = __commonJS({
|
|
|
78753
78825
|
isTopicReference,
|
|
78754
78826
|
isMetaProperty,
|
|
78755
78827
|
isPrivateName,
|
|
78756
|
-
isExportDeclaration
|
|
78828
|
+
isExportDeclaration,
|
|
78829
|
+
buildUndefinedNode
|
|
78757
78830
|
} = _t;
|
|
78758
78831
|
function gatherNodeParts(node, parts2) {
|
|
78759
78832
|
switch (node == null ? void 0 : node.type) {
|
|
@@ -79215,7 +79288,7 @@ var require_scope = __commonJS({
|
|
|
79215
79288
|
}
|
|
79216
79289
|
}
|
|
79217
79290
|
buildUndefinedNode() {
|
|
79218
|
-
return
|
|
79291
|
+
return buildUndefinedNode();
|
|
79219
79292
|
}
|
|
79220
79293
|
registerConstantViolation(path15) {
|
|
79221
79294
|
const ids = path15.getBindingIdentifiers();
|
|
@@ -82596,6 +82669,7 @@ var require_modules = __commonJS({
|
|
|
82596
82669
|
exports.ImportAttribute = ImportAttribute;
|
|
82597
82670
|
exports.ImportDeclaration = ImportDeclaration;
|
|
82598
82671
|
exports.ImportDefaultSpecifier = ImportDefaultSpecifier;
|
|
82672
|
+
exports.ImportExpression = ImportExpression;
|
|
82599
82673
|
exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier;
|
|
82600
82674
|
exports.ImportSpecifier = ImportSpecifier;
|
|
82601
82675
|
exports._printAttributes = _printAttributes;
|
|
@@ -82783,6 +82857,10 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
82783
82857
|
this.noIndentInnerCommentsHere();
|
|
82784
82858
|
this.word("module");
|
|
82785
82859
|
this.space();
|
|
82860
|
+
} else if (node.phase) {
|
|
82861
|
+
this.noIndentInnerCommentsHere();
|
|
82862
|
+
this.word(node.phase);
|
|
82863
|
+
this.space();
|
|
82786
82864
|
}
|
|
82787
82865
|
const specifiers = node.specifiers.slice(0);
|
|
82788
82866
|
const hasSpecifiers = !!specifiers.length;
|
|
@@ -82835,6 +82913,21 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
82835
82913
|
this.space();
|
|
82836
82914
|
this.print(node.local, node);
|
|
82837
82915
|
}
|
|
82916
|
+
function ImportExpression(node) {
|
|
82917
|
+
this.word("import");
|
|
82918
|
+
if (node.phase) {
|
|
82919
|
+
this.tokenChar(46);
|
|
82920
|
+
this.word(node.phase);
|
|
82921
|
+
}
|
|
82922
|
+
this.tokenChar(40);
|
|
82923
|
+
this.print(node.source, node);
|
|
82924
|
+
if (node.options != null) {
|
|
82925
|
+
this.tokenChar(44);
|
|
82926
|
+
this.space();
|
|
82927
|
+
this.print(node.options, node);
|
|
82928
|
+
}
|
|
82929
|
+
this.tokenChar(41);
|
|
82930
|
+
}
|
|
82838
82931
|
}
|
|
82839
82932
|
});
|
|
82840
82933
|
|
|
@@ -88306,9 +88399,7 @@ var require_lib8 = __commonJS({
|
|
|
88306
88399
|
return _chalk.default;
|
|
88307
88400
|
}
|
|
88308
88401
|
{
|
|
88309
|
-
|
|
88310
|
-
exports.getChalk = (options) => getChalk(options.forceColor);
|
|
88311
|
-
}
|
|
88402
|
+
exports.getChalk = (options) => getChalk(options.forceColor);
|
|
88312
88403
|
}
|
|
88313
88404
|
function highlight(code, options = {}) {
|
|
88314
88405
|
if (code !== "" && shouldHighlight(options)) {
|
|
@@ -90180,6 +90271,7 @@ var require_lib10 = __commonJS({
|
|
|
90180
90271
|
DecoratorExportClass: "Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",
|
|
90181
90272
|
DecoratorSemicolon: "Decorators must not be followed by a semicolon.",
|
|
90182
90273
|
DecoratorStaticBlock: "Decorators can't be used with a static block.",
|
|
90274
|
+
DeferImportRequiresNamespace: 'Only `import defer * as x from "./module"` is valid.',
|
|
90183
90275
|
DeletePrivateField: "Deleting a private field is not allowed.",
|
|
90184
90276
|
DestructureNamedImport: "ES2015 named imports do not destructure. Use another statement for destructuring after the import.",
|
|
90185
90277
|
DuplicateConstructor: "Duplicate constructor in the same class.",
|
|
@@ -90189,6 +90281,9 @@ var require_lib10 = __commonJS({
|
|
|
90189
90281
|
}) => `\`${exportName}\` has already been exported. Exported identifiers must be unique.`,
|
|
90190
90282
|
DuplicateProto: "Redefinition of __proto__ property.",
|
|
90191
90283
|
DuplicateRegExpFlags: "Duplicate regular expression flag.",
|
|
90284
|
+
DynamicImportPhaseRequiresImportExpressions: ({
|
|
90285
|
+
phase
|
|
90286
|
+
}) => `'import.${phase}(...)' can only be parsed when using the 'createImportExpressions' option.`,
|
|
90192
90287
|
ElementAfterRest: "Rest element must be last element.",
|
|
90193
90288
|
EscapedCharNotAnIdentifier: "Invalid Unicode escape.",
|
|
90194
90289
|
ExportBindingIsString: ({
|
|
@@ -90245,6 +90340,9 @@ var require_lib10 = __commonJS({
|
|
|
90245
90340
|
InvalidLhsBinding: ({
|
|
90246
90341
|
ancestor
|
|
90247
90342
|
}) => `Binding invalid left-hand side in ${toNodeDescription(ancestor)}.`,
|
|
90343
|
+
InvalidLhsOptionalChaining: ({
|
|
90344
|
+
ancestor
|
|
90345
|
+
}) => `Invalid optional chaining in the left-hand side of ${toNodeDescription(ancestor)}.`,
|
|
90248
90346
|
InvalidNumber: "Invalid number.",
|
|
90249
90347
|
InvalidOrMissingExponent: "Floating-point numbers require a valid exponent after the 'e'.",
|
|
90250
90348
|
InvalidOrUnexpectedToken: ({
|
|
@@ -90310,6 +90408,7 @@ var require_lib10 = __commonJS({
|
|
|
90310
90408
|
RestTrailingComma: "Unexpected trailing comma after rest element.",
|
|
90311
90409
|
SloppyFunction: "In non-strict mode code, functions can only be declared at top level or inside a block.",
|
|
90312
90410
|
SloppyFunctionAnnexB: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",
|
|
90411
|
+
SourcePhaseImportRequiresDefault: 'Only `import source x from "./module"` is valid.',
|
|
90313
90412
|
StaticPrototype: "Classes may not have static property named prototype.",
|
|
90314
90413
|
SuperNotAllowed: "`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",
|
|
90315
90414
|
SuperPrivateField: "Private fields can't be accessed on super.",
|
|
@@ -90729,8 +90828,9 @@ var require_lib10 = __commonJS({
|
|
|
90729
90828
|
node.type = "ImportExpression";
|
|
90730
90829
|
node.source = node.arguments[0];
|
|
90731
90830
|
if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
|
|
90732
|
-
var _node$arguments
|
|
90733
|
-
node.
|
|
90831
|
+
var _node$arguments$, _node$arguments$2;
|
|
90832
|
+
node.options = (_node$arguments$ = node.arguments[1]) != null ? _node$arguments$ : null;
|
|
90833
|
+
node.attributes = (_node$arguments$2 = node.arguments[1]) != null ? _node$arguments$2 : null;
|
|
90734
90834
|
}
|
|
90735
90835
|
delete node.arguments;
|
|
90736
90836
|
delete node.callee;
|
|
@@ -90786,6 +90886,12 @@ var require_lib10 = __commonJS({
|
|
|
90786
90886
|
}
|
|
90787
90887
|
return node;
|
|
90788
90888
|
}
|
|
90889
|
+
isOptionalMemberExpression(node) {
|
|
90890
|
+
if (node.type === "ChainExpression") {
|
|
90891
|
+
return node.expression.type === "MemberExpression";
|
|
90892
|
+
}
|
|
90893
|
+
return super.isOptionalMemberExpression(node);
|
|
90894
|
+
}
|
|
90789
90895
|
hasPropertyAsPrivateName(node) {
|
|
90790
90896
|
if (node.type === "ChainExpression") {
|
|
90791
90897
|
node = node.expression;
|
|
@@ -91159,6 +91265,9 @@ var require_lib10 = __commonJS({
|
|
|
91159
91265
|
_await: createKeywordLike("await", {
|
|
91160
91266
|
startsExpr
|
|
91161
91267
|
}),
|
|
91268
|
+
_defer: createKeywordLike("defer", {
|
|
91269
|
+
startsExpr
|
|
91270
|
+
}),
|
|
91162
91271
|
_from: createKeywordLike("from", {
|
|
91163
91272
|
startsExpr
|
|
91164
91273
|
}),
|
|
@@ -91180,6 +91289,9 @@ var require_lib10 = __commonJS({
|
|
|
91180
91289
|
_set: createKeywordLike("set", {
|
|
91181
91290
|
startsExpr
|
|
91182
91291
|
}),
|
|
91292
|
+
_source: createKeywordLike("source", {
|
|
91293
|
+
startsExpr
|
|
91294
|
+
}),
|
|
91183
91295
|
_static: createKeywordLike("static", {
|
|
91184
91296
|
startsExpr
|
|
91185
91297
|
}),
|
|
@@ -91293,16 +91405,16 @@ var require_lib10 = __commonJS({
|
|
|
91293
91405
|
})
|
|
91294
91406
|
};
|
|
91295
91407
|
function tokenIsIdentifier(token) {
|
|
91296
|
-
return token >= 93 && token <=
|
|
91408
|
+
return token >= 93 && token <= 132;
|
|
91297
91409
|
}
|
|
91298
91410
|
function tokenKeywordOrIdentifierIsKeyword(token) {
|
|
91299
91411
|
return token <= 92;
|
|
91300
91412
|
}
|
|
91301
91413
|
function tokenIsKeywordOrIdentifier(token) {
|
|
91302
|
-
return token >= 58 && token <=
|
|
91414
|
+
return token >= 58 && token <= 132;
|
|
91303
91415
|
}
|
|
91304
91416
|
function tokenIsLiteralPropertyName(token) {
|
|
91305
|
-
return token >= 58 && token <=
|
|
91417
|
+
return token >= 58 && token <= 136;
|
|
91306
91418
|
}
|
|
91307
91419
|
function tokenComesBeforeExpression(token) {
|
|
91308
91420
|
return tokenBeforeExprs[token];
|
|
@@ -91314,7 +91426,7 @@ var require_lib10 = __commonJS({
|
|
|
91314
91426
|
return token >= 29 && token <= 33;
|
|
91315
91427
|
}
|
|
91316
91428
|
function tokenIsFlowInterfaceOrTypeOrOpaque(token) {
|
|
91317
|
-
return token >=
|
|
91429
|
+
return token >= 129 && token <= 131;
|
|
91318
91430
|
}
|
|
91319
91431
|
function tokenIsLoop(token) {
|
|
91320
91432
|
return token >= 90 && token <= 92;
|
|
@@ -91332,10 +91444,10 @@ var require_lib10 = __commonJS({
|
|
|
91332
91444
|
return tokenPrefixes[token];
|
|
91333
91445
|
}
|
|
91334
91446
|
function tokenIsTSTypeOperator(token) {
|
|
91335
|
-
return token >=
|
|
91447
|
+
return token >= 121 && token <= 123;
|
|
91336
91448
|
}
|
|
91337
91449
|
function tokenIsTSDeclarationStart(token) {
|
|
91338
|
-
return token >=
|
|
91450
|
+
return token >= 124 && token <= 130;
|
|
91339
91451
|
}
|
|
91340
91452
|
function tokenLabelName(token) {
|
|
91341
91453
|
return tokenLabels[token];
|
|
@@ -91366,16 +91478,16 @@ var require_lib10 = __commonJS({
|
|
|
91366
91478
|
context.push(types2.template);
|
|
91367
91479
|
}
|
|
91368
91480
|
};
|
|
91369
|
-
tokenTypes[
|
|
91481
|
+
tokenTypes[142].updateContext = (context) => {
|
|
91370
91482
|
context.push(types2.j_expr, types2.j_oTag);
|
|
91371
91483
|
};
|
|
91372
91484
|
}
|
|
91373
91485
|
var nonASCIIidentifierStartChars = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
|
|
91374
|
-
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\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";
|
|
91486
|
+
var nonASCIIidentifierChars = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
91375
91487
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
91376
91488
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
91377
91489
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
91378
|
-
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472,
|
|
91490
|
+
var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
|
|
91379
91491
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
91380
91492
|
function isInAstralSet(code2, set) {
|
|
91381
91493
|
let pos = 65536;
|
|
@@ -91918,7 +92030,7 @@ var require_lib10 = __commonJS({
|
|
|
91918
92030
|
this.comments = [];
|
|
91919
92031
|
this.commentStack = [];
|
|
91920
92032
|
this.pos = 0;
|
|
91921
|
-
this.type =
|
|
92033
|
+
this.type = 139;
|
|
91922
92034
|
this.value = null;
|
|
91923
92035
|
this.start = 0;
|
|
91924
92036
|
this.end = 0;
|
|
@@ -92408,7 +92520,7 @@ var require_lib10 = __commonJS({
|
|
|
92408
92520
|
if (!this.isLookahead)
|
|
92409
92521
|
this.state.startLoc = this.state.curPosition();
|
|
92410
92522
|
if (this.state.pos >= this.length) {
|
|
92411
|
-
this.finishToken(
|
|
92523
|
+
this.finishToken(139);
|
|
92412
92524
|
return;
|
|
92413
92525
|
}
|
|
92414
92526
|
this.getTokenFromCode(this.codePointAtPos(this.state.pos));
|
|
@@ -92601,10 +92713,10 @@ var require_lib10 = __commonJS({
|
|
|
92601
92713
|
}
|
|
92602
92714
|
} else if (isIdentifierStart(next)) {
|
|
92603
92715
|
++this.state.pos;
|
|
92604
|
-
this.finishToken(
|
|
92716
|
+
this.finishToken(138, this.readWord1(next));
|
|
92605
92717
|
} else if (next === 92) {
|
|
92606
92718
|
++this.state.pos;
|
|
92607
|
-
this.finishToken(
|
|
92719
|
+
this.finishToken(138, this.readWord1());
|
|
92608
92720
|
} else {
|
|
92609
92721
|
this.finishOp(27, 1);
|
|
92610
92722
|
}
|
|
@@ -93038,7 +93150,7 @@ var require_lib10 = __commonJS({
|
|
|
93038
93150
|
mods += char;
|
|
93039
93151
|
}
|
|
93040
93152
|
this.state.pos = pos;
|
|
93041
|
-
this.finishToken(
|
|
93153
|
+
this.finishToken(137, {
|
|
93042
93154
|
pattern: content,
|
|
93043
93155
|
flags: mods
|
|
93044
93156
|
});
|
|
@@ -93078,10 +93190,10 @@ var require_lib10 = __commonJS({
|
|
|
93078
93190
|
}
|
|
93079
93191
|
if (isBigInt) {
|
|
93080
93192
|
const str = this.input.slice(startLoc.index, this.state.pos).replace(/[_n]/g, "");
|
|
93081
|
-
this.finishToken(
|
|
93193
|
+
this.finishToken(135, str);
|
|
93082
93194
|
return;
|
|
93083
93195
|
}
|
|
93084
|
-
this.finishToken(
|
|
93196
|
+
this.finishToken(134, val);
|
|
93085
93197
|
}
|
|
93086
93198
|
readNumber(startsWithDot) {
|
|
93087
93199
|
const start = this.state.pos;
|
|
@@ -93159,15 +93271,15 @@ var require_lib10 = __commonJS({
|
|
|
93159
93271
|
}
|
|
93160
93272
|
const str = this.input.slice(start, this.state.pos).replace(/[_mn]/g, "");
|
|
93161
93273
|
if (isBigInt) {
|
|
93162
|
-
this.finishToken(
|
|
93274
|
+
this.finishToken(135, str);
|
|
93163
93275
|
return;
|
|
93164
93276
|
}
|
|
93165
93277
|
if (isDecimal) {
|
|
93166
|
-
this.finishToken(
|
|
93278
|
+
this.finishToken(136, str);
|
|
93167
93279
|
return;
|
|
93168
93280
|
}
|
|
93169
93281
|
const val = isOctal ? parseInt(str, 8) : parseFloat(str);
|
|
93170
|
-
this.finishToken(
|
|
93282
|
+
this.finishToken(134, val);
|
|
93171
93283
|
}
|
|
93172
93284
|
readCodePoint(throwOnInvalid) {
|
|
93173
93285
|
const {
|
|
@@ -93187,7 +93299,7 @@ var require_lib10 = __commonJS({
|
|
|
93187
93299
|
this.state.pos = pos + 1;
|
|
93188
93300
|
this.state.lineStart = lineStart;
|
|
93189
93301
|
this.state.curLine = curLine;
|
|
93190
|
-
this.finishToken(
|
|
93302
|
+
this.finishToken(133, str);
|
|
93191
93303
|
}
|
|
93192
93304
|
readTemplateContinuation() {
|
|
93193
93305
|
if (!this.match(8)) {
|
|
@@ -93277,7 +93389,7 @@ var require_lib10 = __commonJS({
|
|
|
93277
93389
|
if (type !== void 0) {
|
|
93278
93390
|
this.finishToken(type, tokenLabelName(type));
|
|
93279
93391
|
} else {
|
|
93280
|
-
this.finishToken(
|
|
93392
|
+
this.finishToken(132, word);
|
|
93281
93393
|
}
|
|
93282
93394
|
}
|
|
93283
93395
|
checkKeywordEscapes() {
|
|
@@ -93651,7 +93763,7 @@ var require_lib10 = __commonJS({
|
|
|
93651
93763
|
}
|
|
93652
93764
|
}
|
|
93653
93765
|
canInsertSemicolon() {
|
|
93654
|
-
return this.match(
|
|
93766
|
+
return this.match(139) || this.match(8) || this.hasPrecedingLineBreak();
|
|
93655
93767
|
}
|
|
93656
93768
|
hasPrecedingLineBreak() {
|
|
93657
93769
|
return lineBreak.test(this.input.slice(this.state.lastTokEndLoc.index, this.state.start));
|
|
@@ -94073,7 +94185,7 @@ var require_lib10 = __commonJS({
|
|
|
94073
94185
|
return !!this.getPluginOption("flow", "enums");
|
|
94074
94186
|
}
|
|
94075
94187
|
finishToken(type, val) {
|
|
94076
|
-
if (type !==
|
|
94188
|
+
if (type !== 133 && type !== 13 && type !== 28) {
|
|
94077
94189
|
if (this.flowPragma === void 0) {
|
|
94078
94190
|
this.flowPragma = null;
|
|
94079
94191
|
}
|
|
@@ -94107,7 +94219,7 @@ var require_lib10 = __commonJS({
|
|
|
94107
94219
|
const node = this.startNode();
|
|
94108
94220
|
const moduloLoc = this.state.startLoc;
|
|
94109
94221
|
this.next();
|
|
94110
|
-
this.expectContextual(
|
|
94222
|
+
this.expectContextual(110);
|
|
94111
94223
|
if (this.state.lastTokStart > moduloLoc.index + 1) {
|
|
94112
94224
|
this.raise(FlowErrors.UnexpectedSpaceBetweenModuloChecks, {
|
|
94113
94225
|
at: moduloLoc
|
|
@@ -94175,7 +94287,7 @@ var require_lib10 = __commonJS({
|
|
|
94175
94287
|
return this.flowParseDeclareFunction(node);
|
|
94176
94288
|
} else if (this.match(74)) {
|
|
94177
94289
|
return this.flowParseDeclareVariable(node);
|
|
94178
|
-
} else if (this.eatContextual(
|
|
94290
|
+
} else if (this.eatContextual(127)) {
|
|
94179
94291
|
if (this.match(16)) {
|
|
94180
94292
|
return this.flowParseDeclareModuleExports(node);
|
|
94181
94293
|
} else {
|
|
@@ -94186,11 +94298,11 @@ var require_lib10 = __commonJS({
|
|
|
94186
94298
|
}
|
|
94187
94299
|
return this.flowParseDeclareModule(node);
|
|
94188
94300
|
}
|
|
94189
|
-
} else if (this.isContextual(
|
|
94301
|
+
} else if (this.isContextual(130)) {
|
|
94190
94302
|
return this.flowParseDeclareTypeAlias(node);
|
|
94191
|
-
} else if (this.isContextual(
|
|
94303
|
+
} else if (this.isContextual(131)) {
|
|
94192
94304
|
return this.flowParseDeclareOpaqueType(node);
|
|
94193
|
-
} else if (this.isContextual(
|
|
94305
|
+
} else if (this.isContextual(129)) {
|
|
94194
94306
|
return this.flowParseDeclareInterface(node);
|
|
94195
94307
|
} else if (this.match(82)) {
|
|
94196
94308
|
return this.flowParseDeclareExportDeclaration(node, insideModule);
|
|
@@ -94207,7 +94319,7 @@ var require_lib10 = __commonJS({
|
|
|
94207
94319
|
}
|
|
94208
94320
|
flowParseDeclareModule(node) {
|
|
94209
94321
|
this.scope.enter(0);
|
|
94210
|
-
if (this.match(
|
|
94322
|
+
if (this.match(133)) {
|
|
94211
94323
|
node.id = super.parseExprAtom();
|
|
94212
94324
|
} else {
|
|
94213
94325
|
node.id = this.parseIdentifier();
|
|
@@ -94219,14 +94331,14 @@ var require_lib10 = __commonJS({
|
|
|
94219
94331
|
let bodyNode2 = this.startNode();
|
|
94220
94332
|
if (this.match(83)) {
|
|
94221
94333
|
this.next();
|
|
94222
|
-
if (!this.isContextual(
|
|
94334
|
+
if (!this.isContextual(130) && !this.match(87)) {
|
|
94223
94335
|
this.raise(FlowErrors.InvalidNonTypeImportInDeclareModule, {
|
|
94224
94336
|
at: this.state.lastTokStartLoc
|
|
94225
94337
|
});
|
|
94226
94338
|
}
|
|
94227
94339
|
super.parseImport(bodyNode2);
|
|
94228
94340
|
} else {
|
|
94229
|
-
this.expectContextual(
|
|
94341
|
+
this.expectContextual(125, FlowErrors.UnsupportedStatementInDeclareModule);
|
|
94230
94342
|
bodyNode2 = this.flowParseDeclare(bodyNode2, true);
|
|
94231
94343
|
}
|
|
94232
94344
|
body.push(bodyNode2);
|
|
@@ -94274,7 +94386,7 @@ var require_lib10 = __commonJS({
|
|
|
94274
94386
|
node.default = true;
|
|
94275
94387
|
return this.finishNode(node, "DeclareExportDeclaration");
|
|
94276
94388
|
} else {
|
|
94277
|
-
if (this.match(75) || this.isLet() || (this.isContextual(
|
|
94389
|
+
if (this.match(75) || this.isLet() || (this.isContextual(130) || this.isContextual(129)) && !insideModule) {
|
|
94278
94390
|
const label = this.state.value;
|
|
94279
94391
|
throw this.raise(FlowErrors.UnsupportedDeclareExportKind, {
|
|
94280
94392
|
at: this.state.startLoc,
|
|
@@ -94282,11 +94394,11 @@ var require_lib10 = __commonJS({
|
|
|
94282
94394
|
suggestion: exportSuggestions[label]
|
|
94283
94395
|
});
|
|
94284
94396
|
}
|
|
94285
|
-
if (this.match(74) || this.match(68) || this.match(80) || this.isContextual(
|
|
94397
|
+
if (this.match(74) || this.match(68) || this.match(80) || this.isContextual(131)) {
|
|
94286
94398
|
node.declaration = this.flowParseDeclare(this.startNode());
|
|
94287
94399
|
node.default = false;
|
|
94288
94400
|
return this.finishNode(node, "DeclareExportDeclaration");
|
|
94289
|
-
} else if (this.match(55) || this.match(5) || this.isContextual(
|
|
94401
|
+
} else if (this.match(55) || this.match(5) || this.isContextual(129) || this.isContextual(130) || this.isContextual(131)) {
|
|
94290
94402
|
node = this.parseExport(node, null);
|
|
94291
94403
|
if (node.type === "ExportNamedDeclaration") {
|
|
94292
94404
|
node.type = "ExportDeclaration";
|
|
@@ -94301,7 +94413,7 @@ var require_lib10 = __commonJS({
|
|
|
94301
94413
|
}
|
|
94302
94414
|
flowParseDeclareModuleExports(node) {
|
|
94303
94415
|
this.next();
|
|
94304
|
-
this.expectContextual(
|
|
94416
|
+
this.expectContextual(111);
|
|
94305
94417
|
node.typeAnnotation = this.flowParseTypeAnnotation();
|
|
94306
94418
|
this.semicolon();
|
|
94307
94419
|
return this.finishNode(node, "DeclareModuleExports");
|
|
@@ -94340,12 +94452,12 @@ var require_lib10 = __commonJS({
|
|
|
94340
94452
|
if (isClass) {
|
|
94341
94453
|
node.implements = [];
|
|
94342
94454
|
node.mixins = [];
|
|
94343
|
-
if (this.eatContextual(
|
|
94455
|
+
if (this.eatContextual(117)) {
|
|
94344
94456
|
do {
|
|
94345
94457
|
node.mixins.push(this.flowParseInterfaceExtends());
|
|
94346
94458
|
} while (this.eat(12));
|
|
94347
94459
|
}
|
|
94348
|
-
if (this.eatContextual(
|
|
94460
|
+
if (this.eatContextual(113)) {
|
|
94349
94461
|
do {
|
|
94350
94462
|
node.implements.push(this.flowParseInterfaceExtends());
|
|
94351
94463
|
} while (this.eat(12));
|
|
@@ -94405,7 +94517,7 @@ var require_lib10 = __commonJS({
|
|
|
94405
94517
|
return this.finishNode(node, "TypeAlias");
|
|
94406
94518
|
}
|
|
94407
94519
|
flowParseOpaqueType(node, declare) {
|
|
94408
|
-
this.expectContextual(
|
|
94520
|
+
this.expectContextual(130);
|
|
94409
94521
|
node.id = this.flowParseRestrictedIdentifier(true, true);
|
|
94410
94522
|
this.scope.declareName(node.id.name, 8201, node.id.loc.start);
|
|
94411
94523
|
if (this.match(47)) {
|
|
@@ -94449,7 +94561,7 @@ var require_lib10 = __commonJS({
|
|
|
94449
94561
|
const node = this.startNode();
|
|
94450
94562
|
node.params = [];
|
|
94451
94563
|
this.state.inType = true;
|
|
94452
|
-
if (this.match(47) || this.match(
|
|
94564
|
+
if (this.match(47) || this.match(142)) {
|
|
94453
94565
|
this.next();
|
|
94454
94566
|
} else {
|
|
94455
94567
|
this.unexpected();
|
|
@@ -94506,7 +94618,7 @@ var require_lib10 = __commonJS({
|
|
|
94506
94618
|
}
|
|
94507
94619
|
flowParseInterfaceType() {
|
|
94508
94620
|
const node = this.startNode();
|
|
94509
|
-
this.expectContextual(
|
|
94621
|
+
this.expectContextual(129);
|
|
94510
94622
|
node.extends = [];
|
|
94511
94623
|
if (this.eat(81)) {
|
|
94512
94624
|
do {
|
|
@@ -94523,7 +94635,7 @@ var require_lib10 = __commonJS({
|
|
|
94523
94635
|
return this.finishNode(node, "InterfaceTypeAnnotation");
|
|
94524
94636
|
}
|
|
94525
94637
|
flowParseObjectPropertyKey() {
|
|
94526
|
-
return this.match(
|
|
94638
|
+
return this.match(134) || this.match(133) ? super.parseExprAtom() : this.parseIdentifier(true);
|
|
94527
94639
|
}
|
|
94528
94640
|
flowParseObjectTypeIndexer(node, isStatic, variance) {
|
|
94529
94641
|
node.static = isStatic;
|
|
@@ -94624,7 +94736,7 @@ var require_lib10 = __commonJS({
|
|
|
94624
94736
|
let protoStartLoc = null;
|
|
94625
94737
|
let inexactStartLoc = null;
|
|
94626
94738
|
const node = this.startNode();
|
|
94627
|
-
if (allowProto && this.isContextual(
|
|
94739
|
+
if (allowProto && this.isContextual(118)) {
|
|
94628
94740
|
const lookahead = this.lookahead();
|
|
94629
94741
|
if (lookahead.type !== 14 && lookahead.type !== 17) {
|
|
94630
94742
|
this.next();
|
|
@@ -94632,7 +94744,7 @@ var require_lib10 = __commonJS({
|
|
|
94632
94744
|
allowStatic = false;
|
|
94633
94745
|
}
|
|
94634
94746
|
}
|
|
94635
|
-
if (allowStatic && this.isContextual(
|
|
94747
|
+
if (allowStatic && this.isContextual(106)) {
|
|
94636
94748
|
const lookahead = this.lookahead();
|
|
94637
94749
|
if (lookahead.type !== 14 && lookahead.type !== 17) {
|
|
94638
94750
|
this.next();
|
|
@@ -94662,7 +94774,7 @@ var require_lib10 = __commonJS({
|
|
|
94662
94774
|
nodeStart.callProperties.push(this.flowParseObjectTypeCallProperty(node, isStatic));
|
|
94663
94775
|
} else {
|
|
94664
94776
|
let kind = "init";
|
|
94665
|
-
if (this.isContextual(
|
|
94777
|
+
if (this.isContextual(99) || this.isContextual(104)) {
|
|
94666
94778
|
const lookahead = this.lookahead();
|
|
94667
94779
|
if (tokenIsLiteralPropertyName(lookahead.type)) {
|
|
94668
94780
|
kind = this.state.value;
|
|
@@ -94987,7 +95099,7 @@ var require_lib10 = __commonJS({
|
|
|
94987
95099
|
node.returnType = this.flowParseType();
|
|
94988
95100
|
node.typeParameters = null;
|
|
94989
95101
|
return this.finishNode(node, "FunctionTypeAnnotation");
|
|
94990
|
-
case
|
|
95102
|
+
case 133:
|
|
94991
95103
|
return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation");
|
|
94992
95104
|
case 85:
|
|
94993
95105
|
case 86:
|
|
@@ -94997,10 +95109,10 @@ var require_lib10 = __commonJS({
|
|
|
94997
95109
|
case 53:
|
|
94998
95110
|
if (this.state.value === "-") {
|
|
94999
95111
|
this.next();
|
|
95000
|
-
if (this.match(
|
|
95112
|
+
if (this.match(134)) {
|
|
95001
95113
|
return this.parseLiteralAtNode(-this.state.value, "NumberLiteralTypeAnnotation", node);
|
|
95002
95114
|
}
|
|
95003
|
-
if (this.match(
|
|
95115
|
+
if (this.match(135)) {
|
|
95004
95116
|
return this.parseLiteralAtNode(-this.state.value, "BigIntLiteralTypeAnnotation", node);
|
|
95005
95117
|
}
|
|
95006
95118
|
throw this.raise(FlowErrors.UnexpectedSubtractionOperand, {
|
|
@@ -95009,9 +95121,9 @@ var require_lib10 = __commonJS({
|
|
|
95009
95121
|
}
|
|
95010
95122
|
this.unexpected();
|
|
95011
95123
|
return;
|
|
95012
|
-
case
|
|
95124
|
+
case 134:
|
|
95013
95125
|
return this.parseLiteral(this.state.value, "NumberLiteralTypeAnnotation");
|
|
95014
|
-
case
|
|
95126
|
+
case 135:
|
|
95015
95127
|
return this.parseLiteral(this.state.value, "BigIntLiteralTypeAnnotation");
|
|
95016
95128
|
case 88:
|
|
95017
95129
|
this.next();
|
|
@@ -95033,7 +95145,7 @@ var require_lib10 = __commonJS({
|
|
|
95033
95145
|
this.next();
|
|
95034
95146
|
return super.createIdentifier(node, label);
|
|
95035
95147
|
} else if (tokenIsIdentifier(this.state.type)) {
|
|
95036
|
-
if (this.isContextual(
|
|
95148
|
+
if (this.isContextual(129)) {
|
|
95037
95149
|
return this.flowParseInterfaceType();
|
|
95038
95150
|
}
|
|
95039
95151
|
return this.flowIdentToTypeAnnotation(startLoc, node, this.parseIdentifier());
|
|
@@ -95118,7 +95230,7 @@ var require_lib10 = __commonJS({
|
|
|
95118
95230
|
return type;
|
|
95119
95231
|
}
|
|
95120
95232
|
flowParseTypeOrImplicitInstantiation() {
|
|
95121
|
-
if (this.state.type ===
|
|
95233
|
+
if (this.state.type === 132 && this.state.value === "_") {
|
|
95122
95234
|
const startLoc = this.state.startLoc;
|
|
95123
95235
|
const node = this.parseIdentifier();
|
|
95124
95236
|
return this.flowParseGenericType(startLoc, node);
|
|
@@ -95174,14 +95286,14 @@ var require_lib10 = __commonJS({
|
|
|
95174
95286
|
return super.parseFunctionBodyAndFinish(node, type, isMethod);
|
|
95175
95287
|
}
|
|
95176
95288
|
parseStatementLike(flags) {
|
|
95177
|
-
if (this.state.strict && this.isContextual(
|
|
95289
|
+
if (this.state.strict && this.isContextual(129)) {
|
|
95178
95290
|
const lookahead = this.lookahead();
|
|
95179
95291
|
if (tokenIsKeywordOrIdentifier(lookahead.type)) {
|
|
95180
95292
|
const node = this.startNode();
|
|
95181
95293
|
this.next();
|
|
95182
95294
|
return this.flowParseInterface(node);
|
|
95183
95295
|
}
|
|
95184
|
-
} else if (this.shouldParseEnums() && this.isContextual(
|
|
95296
|
+
} else if (this.shouldParseEnums() && this.isContextual(126)) {
|
|
95185
95297
|
const node = this.startNode();
|
|
95186
95298
|
this.next();
|
|
95187
95299
|
return this.flowParseEnumDeclaration(node);
|
|
@@ -95214,7 +95326,7 @@ var require_lib10 = __commonJS({
|
|
|
95214
95326
|
const {
|
|
95215
95327
|
type
|
|
95216
95328
|
} = this.state;
|
|
95217
|
-
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type ===
|
|
95329
|
+
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 126) {
|
|
95218
95330
|
return !this.state.containsEsc;
|
|
95219
95331
|
}
|
|
95220
95332
|
return super.shouldParseExportDeclaration();
|
|
@@ -95223,13 +95335,13 @@ var require_lib10 = __commonJS({
|
|
|
95223
95335
|
const {
|
|
95224
95336
|
type
|
|
95225
95337
|
} = this.state;
|
|
95226
|
-
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type ===
|
|
95338
|
+
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 126) {
|
|
95227
95339
|
return this.state.containsEsc;
|
|
95228
95340
|
}
|
|
95229
95341
|
return super.isExportDefaultSpecifier();
|
|
95230
95342
|
}
|
|
95231
95343
|
parseExportDefaultExpression() {
|
|
95232
|
-
if (this.shouldParseEnums() && this.isContextual(
|
|
95344
|
+
if (this.shouldParseEnums() && this.isContextual(126)) {
|
|
95233
95345
|
const node = this.startNode();
|
|
95234
95346
|
this.next();
|
|
95235
95347
|
return this.flowParseEnumDeclaration(node);
|
|
@@ -95364,7 +95476,7 @@ var require_lib10 = __commonJS({
|
|
|
95364
95476
|
super.assertModuleNodeAllowed(node);
|
|
95365
95477
|
}
|
|
95366
95478
|
parseExportDeclaration(node) {
|
|
95367
|
-
if (this.isContextual(
|
|
95479
|
+
if (this.isContextual(130)) {
|
|
95368
95480
|
node.exportKind = "type";
|
|
95369
95481
|
const declarationNode = this.startNode();
|
|
95370
95482
|
this.next();
|
|
@@ -95375,17 +95487,17 @@ var require_lib10 = __commonJS({
|
|
|
95375
95487
|
} else {
|
|
95376
95488
|
return this.flowParseTypeAlias(declarationNode);
|
|
95377
95489
|
}
|
|
95378
|
-
} else if (this.isContextual(
|
|
95490
|
+
} else if (this.isContextual(131)) {
|
|
95379
95491
|
node.exportKind = "type";
|
|
95380
95492
|
const declarationNode = this.startNode();
|
|
95381
95493
|
this.next();
|
|
95382
95494
|
return this.flowParseOpaqueType(declarationNode, false);
|
|
95383
|
-
} else if (this.isContextual(
|
|
95495
|
+
} else if (this.isContextual(129)) {
|
|
95384
95496
|
node.exportKind = "type";
|
|
95385
95497
|
const declarationNode = this.startNode();
|
|
95386
95498
|
this.next();
|
|
95387
95499
|
return this.flowParseInterface(declarationNode);
|
|
95388
|
-
} else if (this.shouldParseEnums() && this.isContextual(
|
|
95500
|
+
} else if (this.shouldParseEnums() && this.isContextual(126)) {
|
|
95389
95501
|
node.exportKind = "value";
|
|
95390
95502
|
const declarationNode = this.startNode();
|
|
95391
95503
|
this.next();
|
|
@@ -95397,7 +95509,7 @@ var require_lib10 = __commonJS({
|
|
|
95397
95509
|
eatExportStar(node) {
|
|
95398
95510
|
if (super.eatExportStar(node))
|
|
95399
95511
|
return true;
|
|
95400
|
-
if (this.isContextual(
|
|
95512
|
+
if (this.isContextual(130) && this.lookahead().type === 55) {
|
|
95401
95513
|
node.exportKind = "type";
|
|
95402
95514
|
this.next();
|
|
95403
95515
|
this.next();
|
|
@@ -95425,7 +95537,7 @@ var require_lib10 = __commonJS({
|
|
|
95425
95537
|
const {
|
|
95426
95538
|
startLoc
|
|
95427
95539
|
} = this.state;
|
|
95428
|
-
if (this.isContextual(
|
|
95540
|
+
if (this.isContextual(125)) {
|
|
95429
95541
|
if (super.parseClassMemberFromModifier(classBody, member)) {
|
|
95430
95542
|
return;
|
|
95431
95543
|
}
|
|
@@ -95456,7 +95568,7 @@ var require_lib10 = __commonJS({
|
|
|
95456
95568
|
identifierName: fullWord
|
|
95457
95569
|
});
|
|
95458
95570
|
}
|
|
95459
|
-
this.finishToken(
|
|
95571
|
+
this.finishToken(132, fullWord);
|
|
95460
95572
|
}
|
|
95461
95573
|
getTokenFromCode(code2) {
|
|
95462
95574
|
const next = this.input.charCodeAt(this.state.pos + 1);
|
|
@@ -95582,7 +95694,7 @@ var require_lib10 = __commonJS({
|
|
|
95582
95694
|
if (node.superClass && this.match(47)) {
|
|
95583
95695
|
node.superTypeParameters = this.flowParseTypeParameterInstantiation();
|
|
95584
95696
|
}
|
|
95585
|
-
if (this.isContextual(
|
|
95697
|
+
if (this.isContextual(113)) {
|
|
95586
95698
|
this.next();
|
|
95587
95699
|
const implemented = node.implements = [];
|
|
95588
95700
|
do {
|
|
@@ -95686,7 +95798,7 @@ var require_lib10 = __commonJS({
|
|
|
95686
95798
|
isPotentialImportPhase(isExport) {
|
|
95687
95799
|
if (super.isPotentialImportPhase(isExport))
|
|
95688
95800
|
return true;
|
|
95689
|
-
if (this.isContextual(
|
|
95801
|
+
if (this.isContextual(130)) {
|
|
95690
95802
|
if (!isExport)
|
|
95691
95803
|
return true;
|
|
95692
95804
|
const ch = this.lookaheadCharCode();
|
|
@@ -95802,7 +95914,7 @@ var require_lib10 = __commonJS({
|
|
|
95802
95914
|
var _jsx;
|
|
95803
95915
|
let state = null;
|
|
95804
95916
|
let jsx2;
|
|
95805
|
-
if (this.hasPlugin("jsx") && (this.match(
|
|
95917
|
+
if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) {
|
|
95806
95918
|
state = this.state.clone();
|
|
95807
95919
|
jsx2 = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state);
|
|
95808
95920
|
if (!jsx2.error)
|
|
@@ -96101,7 +96213,7 @@ var require_lib10 = __commonJS({
|
|
|
96101
96213
|
const startLoc = this.state.startLoc;
|
|
96102
96214
|
const endOfInit = () => this.match(12) || this.match(8);
|
|
96103
96215
|
switch (this.state.type) {
|
|
96104
|
-
case
|
|
96216
|
+
case 134: {
|
|
96105
96217
|
const literal = this.parseNumericLiteral(this.state.value);
|
|
96106
96218
|
if (endOfInit()) {
|
|
96107
96219
|
return {
|
|
@@ -96115,7 +96227,7 @@ var require_lib10 = __commonJS({
|
|
|
96115
96227
|
loc: startLoc
|
|
96116
96228
|
};
|
|
96117
96229
|
}
|
|
96118
|
-
case
|
|
96230
|
+
case 133: {
|
|
96119
96231
|
const literal = this.parseStringLiteral(this.state.value);
|
|
96120
96232
|
if (endOfInit()) {
|
|
96121
96233
|
return {
|
|
@@ -96292,7 +96404,7 @@ var require_lib10 = __commonJS({
|
|
|
96292
96404
|
flowEnumParseExplicitType({
|
|
96293
96405
|
enumName
|
|
96294
96406
|
}) {
|
|
96295
|
-
if (!this.eatContextual(
|
|
96407
|
+
if (!this.eatContextual(102))
|
|
96296
96408
|
return null;
|
|
96297
96409
|
if (!tokenIsIdentifier(this.state.type)) {
|
|
96298
96410
|
throw this.raise(FlowErrors.EnumInvalidExplicitTypeUnknownSupplied, {
|
|
@@ -96720,14 +96832,14 @@ var require_lib10 = __commonJS({
|
|
|
96720
96832
|
if (this.state.pos === this.state.start) {
|
|
96721
96833
|
if (ch === 60 && this.state.canStartJSXElement) {
|
|
96722
96834
|
++this.state.pos;
|
|
96723
|
-
this.finishToken(
|
|
96835
|
+
this.finishToken(142);
|
|
96724
96836
|
} else {
|
|
96725
96837
|
super.getTokenFromCode(ch);
|
|
96726
96838
|
}
|
|
96727
96839
|
return;
|
|
96728
96840
|
}
|
|
96729
96841
|
out += this.input.slice(chunkStart, this.state.pos);
|
|
96730
|
-
this.finishToken(
|
|
96842
|
+
this.finishToken(141, out);
|
|
96731
96843
|
return;
|
|
96732
96844
|
case 38:
|
|
96733
96845
|
out += this.input.slice(chunkStart, this.state.pos);
|
|
@@ -96786,7 +96898,7 @@ var require_lib10 = __commonJS({
|
|
|
96786
96898
|
}
|
|
96787
96899
|
}
|
|
96788
96900
|
out += this.input.slice(chunkStart, this.state.pos++);
|
|
96789
|
-
this.finishToken(
|
|
96901
|
+
this.finishToken(133, out);
|
|
96790
96902
|
}
|
|
96791
96903
|
jsxReadEntity() {
|
|
96792
96904
|
const startPos = ++this.state.pos;
|
|
@@ -96826,11 +96938,11 @@ var require_lib10 = __commonJS({
|
|
|
96826
96938
|
do {
|
|
96827
96939
|
ch = this.input.charCodeAt(++this.state.pos);
|
|
96828
96940
|
} while (isIdentifierChar(ch) || ch === 45);
|
|
96829
|
-
this.finishToken(
|
|
96941
|
+
this.finishToken(140, this.input.slice(start, this.state.pos));
|
|
96830
96942
|
}
|
|
96831
96943
|
jsxParseIdentifier() {
|
|
96832
96944
|
const node = this.startNode();
|
|
96833
|
-
if (this.match(
|
|
96945
|
+
if (this.match(140)) {
|
|
96834
96946
|
node.name = this.state.value;
|
|
96835
96947
|
} else if (tokenIsKeyword(this.state.type)) {
|
|
96836
96948
|
node.name = tokenLabelName(this.state.type);
|
|
@@ -96878,8 +96990,8 @@ var require_lib10 = __commonJS({
|
|
|
96878
96990
|
});
|
|
96879
96991
|
}
|
|
96880
96992
|
return node;
|
|
96881
|
-
case
|
|
96882
|
-
case
|
|
96993
|
+
case 142:
|
|
96994
|
+
case 133:
|
|
96883
96995
|
return this.parseExprAtom();
|
|
96884
96996
|
default:
|
|
96885
96997
|
throw this.raise(JsxErrors.UnsupportedJsxValue, {
|
|
@@ -96929,7 +97041,7 @@ var require_lib10 = __commonJS({
|
|
|
96929
97041
|
}
|
|
96930
97042
|
jsxParseOpeningElementAt(startLoc) {
|
|
96931
97043
|
const node = this.startNodeAt(startLoc);
|
|
96932
|
-
if (this.eat(
|
|
97044
|
+
if (this.eat(143)) {
|
|
96933
97045
|
return this.finishNode(node, "JSXOpeningFragment");
|
|
96934
97046
|
}
|
|
96935
97047
|
node.name = this.jsxParseElementName();
|
|
@@ -96937,21 +97049,21 @@ var require_lib10 = __commonJS({
|
|
|
96937
97049
|
}
|
|
96938
97050
|
jsxParseOpeningElementAfterName(node) {
|
|
96939
97051
|
const attributes = [];
|
|
96940
|
-
while (!this.match(56) && !this.match(
|
|
97052
|
+
while (!this.match(56) && !this.match(143)) {
|
|
96941
97053
|
attributes.push(this.jsxParseAttribute());
|
|
96942
97054
|
}
|
|
96943
97055
|
node.attributes = attributes;
|
|
96944
97056
|
node.selfClosing = this.eat(56);
|
|
96945
|
-
this.expect(
|
|
97057
|
+
this.expect(143);
|
|
96946
97058
|
return this.finishNode(node, "JSXOpeningElement");
|
|
96947
97059
|
}
|
|
96948
97060
|
jsxParseClosingElementAt(startLoc) {
|
|
96949
97061
|
const node = this.startNodeAt(startLoc);
|
|
96950
|
-
if (this.eat(
|
|
97062
|
+
if (this.eat(143)) {
|
|
96951
97063
|
return this.finishNode(node, "JSXClosingFragment");
|
|
96952
97064
|
}
|
|
96953
97065
|
node.name = this.jsxParseElementName();
|
|
96954
|
-
this.expect(
|
|
97066
|
+
this.expect(143);
|
|
96955
97067
|
return this.finishNode(node, "JSXClosingElement");
|
|
96956
97068
|
}
|
|
96957
97069
|
jsxParseElementAt(startLoc) {
|
|
@@ -96963,7 +97075,7 @@ var require_lib10 = __commonJS({
|
|
|
96963
97075
|
contents:
|
|
96964
97076
|
for (; ; ) {
|
|
96965
97077
|
switch (this.state.type) {
|
|
96966
|
-
case
|
|
97078
|
+
case 142:
|
|
96967
97079
|
startLoc = this.state.startLoc;
|
|
96968
97080
|
this.next();
|
|
96969
97081
|
if (this.eat(56)) {
|
|
@@ -96972,7 +97084,7 @@ var require_lib10 = __commonJS({
|
|
|
96972
97084
|
}
|
|
96973
97085
|
children.push(this.jsxParseElementAt(startLoc));
|
|
96974
97086
|
break;
|
|
96975
|
-
case
|
|
97087
|
+
case 141:
|
|
96976
97088
|
children.push(this.parseExprAtom());
|
|
96977
97089
|
break;
|
|
96978
97090
|
case 5: {
|
|
@@ -97035,12 +97147,12 @@ var require_lib10 = __commonJS({
|
|
|
97035
97147
|
context[context.length - 1] = newContext;
|
|
97036
97148
|
}
|
|
97037
97149
|
parseExprAtom(refExpressionErrors) {
|
|
97038
|
-
if (this.match(
|
|
97150
|
+
if (this.match(141)) {
|
|
97039
97151
|
return this.parseLiteral(this.state.value, "JSXText");
|
|
97040
|
-
} else if (this.match(
|
|
97152
|
+
} else if (this.match(142)) {
|
|
97041
97153
|
return this.jsxParseElement();
|
|
97042
97154
|
} else if (this.match(47) && this.input.charCodeAt(this.state.pos) !== 33) {
|
|
97043
|
-
this.replaceToken(
|
|
97155
|
+
this.replaceToken(142);
|
|
97044
97156
|
return this.jsxParseElement();
|
|
97045
97157
|
} else {
|
|
97046
97158
|
return super.parseExprAtom(refExpressionErrors);
|
|
@@ -97064,7 +97176,7 @@ var require_lib10 = __commonJS({
|
|
|
97064
97176
|
}
|
|
97065
97177
|
if (code2 === 62) {
|
|
97066
97178
|
++this.state.pos;
|
|
97067
|
-
this.finishToken(
|
|
97179
|
+
this.finishToken(143);
|
|
97068
97180
|
return;
|
|
97069
97181
|
}
|
|
97070
97182
|
if ((code2 === 34 || code2 === 39) && context === types2.j_oTag) {
|
|
@@ -97074,7 +97186,7 @@ var require_lib10 = __commonJS({
|
|
|
97074
97186
|
}
|
|
97075
97187
|
if (code2 === 60 && this.state.canStartJSXElement && this.input.charCodeAt(this.state.pos + 1) !== 33) {
|
|
97076
97188
|
++this.state.pos;
|
|
97077
|
-
this.finishToken(
|
|
97189
|
+
this.finishToken(142);
|
|
97078
97190
|
return;
|
|
97079
97191
|
}
|
|
97080
97192
|
super.getTokenFromCode(code2);
|
|
@@ -97084,12 +97196,12 @@ var require_lib10 = __commonJS({
|
|
|
97084
97196
|
context,
|
|
97085
97197
|
type
|
|
97086
97198
|
} = this.state;
|
|
97087
|
-
if (type === 56 && prevType ===
|
|
97199
|
+
if (type === 56 && prevType === 142) {
|
|
97088
97200
|
context.splice(-2, 2, types2.j_cTag);
|
|
97089
97201
|
this.state.canStartJSXElement = false;
|
|
97090
|
-
} else if (type ===
|
|
97202
|
+
} else if (type === 142) {
|
|
97091
97203
|
context.push(types2.j_oTag);
|
|
97092
|
-
} else if (type ===
|
|
97204
|
+
} else if (type === 143) {
|
|
97093
97205
|
const out = context[context.length - 1];
|
|
97094
97206
|
if (out === types2.j_oTag && prevType === 56 || out === types2.j_cTag) {
|
|
97095
97207
|
context.pop();
|
|
@@ -97232,7 +97344,7 @@ var require_lib10 = __commonJS({
|
|
|
97232
97344
|
this.expressionScope.recordArrowParameterBindingError(Errors.InvalidParenthesizedAssignment, {
|
|
97233
97345
|
at: node
|
|
97234
97346
|
});
|
|
97235
|
-
} else if (parenthesized.type !== "MemberExpression") {
|
|
97347
|
+
} else if (parenthesized.type !== "MemberExpression" && !this.isOptionalMemberExpression(parenthesized)) {
|
|
97236
97348
|
this.raise(Errors.InvalidParenthesizedAssignment, {
|
|
97237
97349
|
at: node
|
|
97238
97350
|
});
|
|
@@ -97459,7 +97571,7 @@ var require_lib10 = __commonJS({
|
|
|
97459
97571
|
} = this.state;
|
|
97460
97572
|
if (type === 21) {
|
|
97461
97573
|
return this.parseBindingRestProperty(prop);
|
|
97462
|
-
} else if (type ===
|
|
97574
|
+
} else if (type === 138) {
|
|
97463
97575
|
this.expectPlugin("destructuringPrivate", startLoc);
|
|
97464
97576
|
this.classScope.usePrivateName(this.state.value, startLoc);
|
|
97465
97577
|
prop.key = this.parsePrivateName();
|
|
@@ -97502,6 +97614,9 @@ var require_lib10 = __commonJS({
|
|
|
97502
97614
|
ObjectPattern: "properties"
|
|
97503
97615
|
}, type);
|
|
97504
97616
|
}
|
|
97617
|
+
isOptionalMemberExpression(expression) {
|
|
97618
|
+
return expression.type === "OptionalMemberExpression";
|
|
97619
|
+
}
|
|
97505
97620
|
checkLVal(expression, {
|
|
97506
97621
|
in: ancestor,
|
|
97507
97622
|
binding = 64,
|
|
@@ -97513,7 +97628,17 @@ var require_lib10 = __commonJS({
|
|
|
97513
97628
|
const type = expression.type;
|
|
97514
97629
|
if (this.isObjectMethod(expression))
|
|
97515
97630
|
return;
|
|
97516
|
-
|
|
97631
|
+
const isOptionalMemberExpression = this.isOptionalMemberExpression(expression);
|
|
97632
|
+
if (isOptionalMemberExpression || type === "MemberExpression") {
|
|
97633
|
+
if (isOptionalMemberExpression) {
|
|
97634
|
+
this.expectPlugin("optionalChainingAssign", expression.loc.start);
|
|
97635
|
+
if (ancestor.type !== "AssignmentExpression") {
|
|
97636
|
+
this.raise(Errors.InvalidLhsOptionalChaining, {
|
|
97637
|
+
at: expression,
|
|
97638
|
+
ancestor
|
|
97639
|
+
});
|
|
97640
|
+
}
|
|
97641
|
+
}
|
|
97517
97642
|
if (binding !== 64) {
|
|
97518
97643
|
this.raise(Errors.InvalidPropertyBindingPattern, {
|
|
97519
97644
|
at: expression
|
|
@@ -97549,7 +97674,7 @@ var require_lib10 = __commonJS({
|
|
|
97549
97674
|
return;
|
|
97550
97675
|
}
|
|
97551
97676
|
const [key, isParenthesizedExpression] = Array.isArray(validity) ? validity : [validity, type === "ParenthesizedExpression"];
|
|
97552
|
-
const nextAncestor = type === "ArrayPattern" || type === "ObjectPattern"
|
|
97677
|
+
const nextAncestor = type === "ArrayPattern" || type === "ObjectPattern" ? {
|
|
97553
97678
|
type
|
|
97554
97679
|
} : ancestor;
|
|
97555
97680
|
for (const child of [].concat(expression[key])) {
|
|
@@ -97689,7 +97814,6 @@ var require_lib10 = __commonJS({
|
|
|
97689
97814
|
InvalidPropertyAccessAfterInstantiationExpression: "Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",
|
|
97690
97815
|
InvalidTupleMemberLabel: "Tuple members must be labeled with a simple identifier.",
|
|
97691
97816
|
MissingInterfaceName: "'interface' declarations must be followed by an identifier.",
|
|
97692
|
-
MixedLabeledAndUnlabeledElements: "Tuple members must all have names or all not have names.",
|
|
97693
97817
|
NonAbstractClassHasAbstractMethod: "Abstract methods can only appear within an abstract class.",
|
|
97694
97818
|
NonClassMethodPropertyHasAbstractModifer: "'abstract' modifier can only appear on a class, method, or property declaration.",
|
|
97695
97819
|
OptionalTypeBeforeRequired: "A required element cannot follow an optional element.",
|
|
@@ -97782,7 +97906,7 @@ var require_lib10 = __commonJS({
|
|
|
97782
97906
|
return tokenIsIdentifier(this.state.type);
|
|
97783
97907
|
}
|
|
97784
97908
|
tsTokenCanFollowModifier() {
|
|
97785
|
-
return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(
|
|
97909
|
+
return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(138) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak();
|
|
97786
97910
|
}
|
|
97787
97911
|
tsNextTokenCanFollowModifier() {
|
|
97788
97912
|
this.next();
|
|
@@ -97950,7 +98074,7 @@ var require_lib10 = __commonJS({
|
|
|
97950
98074
|
const node = this.startNode();
|
|
97951
98075
|
this.expect(83);
|
|
97952
98076
|
this.expect(10);
|
|
97953
|
-
if (!this.match(
|
|
98077
|
+
if (!this.match(133)) {
|
|
97954
98078
|
this.raise(TSErrors.UnsupportedImportTypeArgument, {
|
|
97955
98079
|
at: this.state.startLoc
|
|
97956
98080
|
});
|
|
@@ -98024,7 +98148,7 @@ var require_lib10 = __commonJS({
|
|
|
98024
98148
|
}
|
|
98025
98149
|
tsParseTypeParameters(parseModifiers) {
|
|
98026
98150
|
const node = this.startNode();
|
|
98027
|
-
if (this.match(47) || this.match(
|
|
98151
|
+
if (this.match(47) || this.match(142)) {
|
|
98028
98152
|
this.next();
|
|
98029
98153
|
} else {
|
|
98030
98154
|
this.unexpected();
|
|
@@ -98223,9 +98347,9 @@ var require_lib10 = __commonJS({
|
|
|
98223
98347
|
tsIsStartOfMappedType() {
|
|
98224
98348
|
this.next();
|
|
98225
98349
|
if (this.eat(53)) {
|
|
98226
|
-
return this.isContextual(
|
|
98350
|
+
return this.isContextual(122);
|
|
98227
98351
|
}
|
|
98228
|
-
if (this.isContextual(
|
|
98352
|
+
if (this.isContextual(122)) {
|
|
98229
98353
|
this.next();
|
|
98230
98354
|
}
|
|
98231
98355
|
if (!this.match(0)) {
|
|
@@ -98250,8 +98374,8 @@ var require_lib10 = __commonJS({
|
|
|
98250
98374
|
if (this.match(53)) {
|
|
98251
98375
|
node.readonly = this.state.value;
|
|
98252
98376
|
this.next();
|
|
98253
|
-
this.expectContextual(
|
|
98254
|
-
} else if (this.eatContextual(
|
|
98377
|
+
this.expectContextual(122);
|
|
98378
|
+
} else if (this.eatContextual(122)) {
|
|
98255
98379
|
node.readonly = true;
|
|
98256
98380
|
}
|
|
98257
98381
|
this.expect(0);
|
|
@@ -98274,9 +98398,7 @@ var require_lib10 = __commonJS({
|
|
|
98274
98398
|
const node = this.startNode();
|
|
98275
98399
|
node.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), true, false);
|
|
98276
98400
|
let seenOptionalElement = false;
|
|
98277
|
-
let labeledElements = null;
|
|
98278
98401
|
node.elementTypes.forEach((elementNode) => {
|
|
98279
|
-
var _labeledElements;
|
|
98280
98402
|
const {
|
|
98281
98403
|
type
|
|
98282
98404
|
} = elementNode;
|
|
@@ -98286,18 +98408,6 @@ var require_lib10 = __commonJS({
|
|
|
98286
98408
|
});
|
|
98287
98409
|
}
|
|
98288
98410
|
seenOptionalElement || (seenOptionalElement = type === "TSNamedTupleMember" && elementNode.optional || type === "TSOptionalType");
|
|
98289
|
-
let checkType = type;
|
|
98290
|
-
if (type === "TSRestType") {
|
|
98291
|
-
elementNode = elementNode.typeAnnotation;
|
|
98292
|
-
checkType = elementNode.type;
|
|
98293
|
-
}
|
|
98294
|
-
const isLabeled = checkType === "TSNamedTupleMember";
|
|
98295
|
-
(_labeledElements = labeledElements) != null ? _labeledElements : labeledElements = isLabeled;
|
|
98296
|
-
if (labeledElements !== isLabeled) {
|
|
98297
|
-
this.raise(TSErrors.MixedLabeledAndUnlabeledElements, {
|
|
98298
|
-
at: elementNode
|
|
98299
|
-
});
|
|
98300
|
-
}
|
|
98301
98411
|
});
|
|
98302
98412
|
return this.finishNode(node, "TSTupleType");
|
|
98303
98413
|
}
|
|
@@ -98395,9 +98505,9 @@ var require_lib10 = __commonJS({
|
|
|
98395
98505
|
tsParseLiteralTypeNode() {
|
|
98396
98506
|
const node = this.startNode();
|
|
98397
98507
|
switch (this.state.type) {
|
|
98398
|
-
case
|
|
98508
|
+
case 134:
|
|
98509
|
+
case 135:
|
|
98399
98510
|
case 133:
|
|
98400
|
-
case 131:
|
|
98401
98511
|
case 85:
|
|
98402
98512
|
case 86:
|
|
98403
98513
|
node.literal = super.parseExprAtom();
|
|
@@ -98419,7 +98529,7 @@ var require_lib10 = __commonJS({
|
|
|
98419
98529
|
}
|
|
98420
98530
|
tsParseThisTypeOrThisTypePredicate() {
|
|
98421
98531
|
const thisKeyword = this.tsParseThisTypeNode();
|
|
98422
|
-
if (this.isContextual(
|
|
98532
|
+
if (this.isContextual(116) && !this.hasPrecedingLineBreak()) {
|
|
98423
98533
|
return this.tsParseThisTypePredicate(thisKeyword);
|
|
98424
98534
|
} else {
|
|
98425
98535
|
return thisKeyword;
|
|
@@ -98427,9 +98537,9 @@ var require_lib10 = __commonJS({
|
|
|
98427
98537
|
}
|
|
98428
98538
|
tsParseNonArrayType() {
|
|
98429
98539
|
switch (this.state.type) {
|
|
98430
|
-
case 131:
|
|
98431
|
-
case 132:
|
|
98432
98540
|
case 133:
|
|
98541
|
+
case 134:
|
|
98542
|
+
case 135:
|
|
98433
98543
|
case 85:
|
|
98434
98544
|
case 86:
|
|
98435
98545
|
return this.tsParseLiteralTypeNode();
|
|
@@ -98437,7 +98547,7 @@ var require_lib10 = __commonJS({
|
|
|
98437
98547
|
if (this.state.value === "-") {
|
|
98438
98548
|
const node = this.startNode();
|
|
98439
98549
|
const nextToken = this.lookahead();
|
|
98440
|
-
if (nextToken.type !==
|
|
98550
|
+
if (nextToken.type !== 134 && nextToken.type !== 135) {
|
|
98441
98551
|
this.unexpected();
|
|
98442
98552
|
}
|
|
98443
98553
|
node.literal = this.parseMaybeUnary();
|
|
@@ -98518,7 +98628,7 @@ var require_lib10 = __commonJS({
|
|
|
98518
98628
|
}
|
|
98519
98629
|
tsParseInferType() {
|
|
98520
98630
|
const node = this.startNode();
|
|
98521
|
-
this.expectContextual(
|
|
98631
|
+
this.expectContextual(115);
|
|
98522
98632
|
const typeParameter = this.startNode();
|
|
98523
98633
|
typeParameter.name = this.tsParseTypeParameterName();
|
|
98524
98634
|
typeParameter.constraint = this.tsTryParse(() => this.tsParseConstraintForInferType());
|
|
@@ -98535,7 +98645,7 @@ var require_lib10 = __commonJS({
|
|
|
98535
98645
|
}
|
|
98536
98646
|
tsParseTypeOperatorOrHigher() {
|
|
98537
98647
|
const isTypeOperator = tokenIsTSTypeOperator(this.state.type) && !this.state.containsEsc;
|
|
98538
|
-
return isTypeOperator ? this.tsParseTypeOperator() : this.isContextual(
|
|
98648
|
+
return isTypeOperator ? this.tsParseTypeOperator() : this.isContextual(115) ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(() => this.tsParseArrayTypeOrHigher());
|
|
98539
98649
|
}
|
|
98540
98650
|
tsParseUnionOrIntersectionType(kind, parseConstituentType, operator) {
|
|
98541
98651
|
const node = this.startNode();
|
|
@@ -98666,13 +98776,13 @@ var require_lib10 = __commonJS({
|
|
|
98666
98776
|
}
|
|
98667
98777
|
tsParseTypePredicatePrefix() {
|
|
98668
98778
|
const id = this.parseIdentifier();
|
|
98669
|
-
if (this.isContextual(
|
|
98779
|
+
if (this.isContextual(116) && !this.hasPrecedingLineBreak()) {
|
|
98670
98780
|
this.next();
|
|
98671
98781
|
return id;
|
|
98672
98782
|
}
|
|
98673
98783
|
}
|
|
98674
98784
|
tsParseTypePredicateAsserts() {
|
|
98675
|
-
if (this.state.type !==
|
|
98785
|
+
if (this.state.type !== 109) {
|
|
98676
98786
|
return false;
|
|
98677
98787
|
}
|
|
98678
98788
|
const containsEsc = this.state.containsEsc;
|
|
@@ -98712,7 +98822,7 @@ var require_lib10 = __commonJS({
|
|
|
98712
98822
|
return this.finishNode(node, "TSConditionalType");
|
|
98713
98823
|
}
|
|
98714
98824
|
isAbstractConstructorSignature() {
|
|
98715
|
-
return this.isContextual(
|
|
98825
|
+
return this.isContextual(124) && this.lookahead().type === 77;
|
|
98716
98826
|
}
|
|
98717
98827
|
tsParseNonConditionalType() {
|
|
98718
98828
|
if (this.tsIsStartOfFunctionType()) {
|
|
@@ -98761,7 +98871,7 @@ var require_lib10 = __commonJS({
|
|
|
98761
98871
|
tsParseInterfaceDeclaration(node, properties = {}) {
|
|
98762
98872
|
if (this.hasFollowingLineBreak())
|
|
98763
98873
|
return null;
|
|
98764
|
-
this.expectContextual(
|
|
98874
|
+
this.expectContextual(129);
|
|
98765
98875
|
if (properties.declare)
|
|
98766
98876
|
node.declare = true;
|
|
98767
98877
|
if (tokenIsIdentifier(this.state.type)) {
|
|
@@ -98788,7 +98898,7 @@ var require_lib10 = __commonJS({
|
|
|
98788
98898
|
node.typeAnnotation = this.tsInType(() => {
|
|
98789
98899
|
node.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers);
|
|
98790
98900
|
this.expect(29);
|
|
98791
|
-
if (this.isContextual(
|
|
98901
|
+
if (this.isContextual(114) && this.lookahead().type !== 16) {
|
|
98792
98902
|
const node2 = this.startNode();
|
|
98793
98903
|
this.next();
|
|
98794
98904
|
return this.finishNode(node2, "TSIntrinsicKeyword");
|
|
@@ -98853,7 +98963,7 @@ var require_lib10 = __commonJS({
|
|
|
98853
98963
|
}
|
|
98854
98964
|
tsParseEnumMember() {
|
|
98855
98965
|
const node = this.startNode();
|
|
98856
|
-
node.id = this.match(
|
|
98966
|
+
node.id = this.match(133) ? super.parseStringLiteral(this.state.value) : this.parseIdentifier(true);
|
|
98857
98967
|
if (this.eat(29)) {
|
|
98858
98968
|
node.initializer = super.parseMaybeAssignAllowIn();
|
|
98859
98969
|
}
|
|
@@ -98864,7 +98974,7 @@ var require_lib10 = __commonJS({
|
|
|
98864
98974
|
node.const = true;
|
|
98865
98975
|
if (properties.declare)
|
|
98866
98976
|
node.declare = true;
|
|
98867
|
-
this.expectContextual(
|
|
98977
|
+
this.expectContextual(126);
|
|
98868
98978
|
node.id = this.parseIdentifier();
|
|
98869
98979
|
this.checkIdentifier(node.id, node.const ? 8971 : 8459);
|
|
98870
98980
|
this.expect(5);
|
|
@@ -98899,10 +99009,10 @@ var require_lib10 = __commonJS({
|
|
|
98899
99009
|
return this.finishNode(node, "TSModuleDeclaration");
|
|
98900
99010
|
}
|
|
98901
99011
|
tsParseAmbientExternalModuleDeclaration(node) {
|
|
98902
|
-
if (this.isContextual(
|
|
99012
|
+
if (this.isContextual(112)) {
|
|
98903
99013
|
node.global = true;
|
|
98904
99014
|
node.id = this.parseIdentifier();
|
|
98905
|
-
} else if (this.match(
|
|
99015
|
+
} else if (this.match(133)) {
|
|
98906
99016
|
node.id = super.parseStringLiteral(this.state.value);
|
|
98907
99017
|
} else {
|
|
98908
99018
|
this.unexpected();
|
|
@@ -98934,16 +99044,16 @@ var require_lib10 = __commonJS({
|
|
|
98934
99044
|
return this.finishNode(node, "TSImportEqualsDeclaration");
|
|
98935
99045
|
}
|
|
98936
99046
|
tsIsExternalModuleReference() {
|
|
98937
|
-
return this.isContextual(
|
|
99047
|
+
return this.isContextual(119) && this.lookaheadCharCode() === 40;
|
|
98938
99048
|
}
|
|
98939
99049
|
tsParseModuleReference() {
|
|
98940
99050
|
return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(false);
|
|
98941
99051
|
}
|
|
98942
99052
|
tsParseExternalModuleReference() {
|
|
98943
99053
|
const node = this.startNode();
|
|
98944
|
-
this.expectContextual(
|
|
99054
|
+
this.expectContextual(119);
|
|
98945
99055
|
this.expect(10);
|
|
98946
|
-
if (!this.match(
|
|
99056
|
+
if (!this.match(133)) {
|
|
98947
99057
|
this.unexpected();
|
|
98948
99058
|
}
|
|
98949
99059
|
node.expression = super.parseExprAtom();
|
|
@@ -98979,7 +99089,7 @@ var require_lib10 = __commonJS({
|
|
|
98979
99089
|
}
|
|
98980
99090
|
let startType = this.state.type;
|
|
98981
99091
|
let kind;
|
|
98982
|
-
if (this.isContextual(
|
|
99092
|
+
if (this.isContextual(100)) {
|
|
98983
99093
|
startType = 74;
|
|
98984
99094
|
kind = "let";
|
|
98985
99095
|
}
|
|
@@ -98991,11 +99101,11 @@ var require_lib10 = __commonJS({
|
|
|
98991
99101
|
case 80:
|
|
98992
99102
|
nany.declare = true;
|
|
98993
99103
|
return this.parseClass(nany, true, false);
|
|
98994
|
-
case
|
|
99104
|
+
case 126:
|
|
98995
99105
|
return this.tsParseEnumDeclaration(nany, {
|
|
98996
99106
|
declare: true
|
|
98997
99107
|
});
|
|
98998
|
-
case
|
|
99108
|
+
case 112:
|
|
98999
99109
|
return this.tsParseAmbientExternalModuleDeclaration(nany);
|
|
99000
99110
|
case 75:
|
|
99001
99111
|
case 74:
|
|
@@ -99008,7 +99118,7 @@ var require_lib10 = __commonJS({
|
|
|
99008
99118
|
const: true,
|
|
99009
99119
|
declare: true
|
|
99010
99120
|
});
|
|
99011
|
-
case
|
|
99121
|
+
case 129: {
|
|
99012
99122
|
const result = this.tsParseInterfaceDeclaration(nany, {
|
|
99013
99123
|
declare: true
|
|
99014
99124
|
});
|
|
@@ -99060,7 +99170,7 @@ var require_lib10 = __commonJS({
|
|
|
99060
99170
|
break;
|
|
99061
99171
|
case "module":
|
|
99062
99172
|
if (this.tsCheckLineTerminator(next)) {
|
|
99063
|
-
if (this.match(
|
|
99173
|
+
if (this.match(133)) {
|
|
99064
99174
|
return this.tsParseAmbientExternalModuleDeclaration(node);
|
|
99065
99175
|
} else if (tokenIsIdentifier(this.state.type)) {
|
|
99066
99176
|
return this.tsParseModuleOrNamespaceDeclaration(node);
|
|
@@ -99323,7 +99433,7 @@ var require_lib10 = __commonJS({
|
|
|
99323
99433
|
}
|
|
99324
99434
|
parseExprOp(left, leftStartLoc, minPrec) {
|
|
99325
99435
|
let isSatisfies;
|
|
99326
|
-
if (tokenOperatorPrecedence(58) > minPrec && !this.hasPrecedingLineBreak() && (this.isContextual(93) || (isSatisfies = this.isContextual(
|
|
99436
|
+
if (tokenOperatorPrecedence(58) > minPrec && !this.hasPrecedingLineBreak() && (this.isContextual(93) || (isSatisfies = this.isContextual(120)))) {
|
|
99327
99437
|
const node = this.startNodeAt(leftStartLoc);
|
|
99328
99438
|
node.expression = left;
|
|
99329
99439
|
node.typeAnnotation = this.tsInType(() => {
|
|
@@ -99363,7 +99473,7 @@ var require_lib10 = __commonJS({
|
|
|
99363
99473
|
isPotentialImportPhase(isExport) {
|
|
99364
99474
|
if (super.isPotentialImportPhase(isExport))
|
|
99365
99475
|
return true;
|
|
99366
|
-
if (this.isContextual(
|
|
99476
|
+
if (this.isContextual(130)) {
|
|
99367
99477
|
const ch = this.lookaheadCharCode();
|
|
99368
99478
|
return isExport ? ch === 123 || ch === 42 : ch !== 61;
|
|
99369
99479
|
}
|
|
@@ -99378,7 +99488,7 @@ var require_lib10 = __commonJS({
|
|
|
99378
99488
|
}
|
|
99379
99489
|
}
|
|
99380
99490
|
parseImport(node) {
|
|
99381
|
-
if (this.match(
|
|
99491
|
+
if (this.match(133)) {
|
|
99382
99492
|
node.importKind = "value";
|
|
99383
99493
|
return super.parseImport(node);
|
|
99384
99494
|
}
|
|
@@ -99386,7 +99496,7 @@ var require_lib10 = __commonJS({
|
|
|
99386
99496
|
if (tokenIsIdentifier(this.state.type) && this.lookaheadCharCode() === 61) {
|
|
99387
99497
|
node.importKind = "value";
|
|
99388
99498
|
return this.tsParseImportEqualsDeclaration(node);
|
|
99389
|
-
} else if (this.isContextual(
|
|
99499
|
+
} else if (this.isContextual(130)) {
|
|
99390
99500
|
const maybeDefaultIdentifier = this.parseMaybeImportPhase(node, false);
|
|
99391
99501
|
if (this.lookaheadCharCode() === 61) {
|
|
99392
99502
|
return this.tsParseImportEqualsDeclaration(node, maybeDefaultIdentifier);
|
|
@@ -99407,7 +99517,7 @@ var require_lib10 = __commonJS({
|
|
|
99407
99517
|
if (this.match(83)) {
|
|
99408
99518
|
this.next();
|
|
99409
99519
|
let maybeDefaultIdentifier = null;
|
|
99410
|
-
if (this.isContextual(
|
|
99520
|
+
if (this.isContextual(130) && this.isPotentialImportPhase(false)) {
|
|
99411
99521
|
maybeDefaultIdentifier = this.parseMaybeImportPhase(node, false);
|
|
99412
99522
|
} else {
|
|
99413
99523
|
node.importKind = "value";
|
|
@@ -99421,7 +99531,7 @@ var require_lib10 = __commonJS({
|
|
|
99421
99531
|
return this.finishNode(assign, "TSExportAssignment");
|
|
99422
99532
|
} else if (this.eatContextual(93)) {
|
|
99423
99533
|
const decl = node;
|
|
99424
|
-
this.expectContextual(
|
|
99534
|
+
this.expectContextual(128);
|
|
99425
99535
|
decl.id = this.parseIdentifier();
|
|
99426
99536
|
this.semicolon();
|
|
99427
99537
|
return this.finishNode(decl, "TSNamespaceExportDeclaration");
|
|
@@ -99430,7 +99540,7 @@ var require_lib10 = __commonJS({
|
|
|
99430
99540
|
}
|
|
99431
99541
|
}
|
|
99432
99542
|
isAbstractClass() {
|
|
99433
|
-
return this.isContextual(
|
|
99543
|
+
return this.isContextual(124) && this.lookahead().type === 80;
|
|
99434
99544
|
}
|
|
99435
99545
|
parseExportDefaultExpression() {
|
|
99436
99546
|
if (this.isAbstractClass()) {
|
|
@@ -99439,7 +99549,7 @@ var require_lib10 = __commonJS({
|
|
|
99439
99549
|
cls.abstract = true;
|
|
99440
99550
|
return this.parseClass(cls, true, true);
|
|
99441
99551
|
}
|
|
99442
|
-
if (this.match(
|
|
99552
|
+
if (this.match(129)) {
|
|
99443
99553
|
const result = this.tsParseInterfaceDeclaration(this.startNode());
|
|
99444
99554
|
if (result)
|
|
99445
99555
|
return result;
|
|
@@ -99479,10 +99589,10 @@ var require_lib10 = __commonJS({
|
|
|
99479
99589
|
const: true
|
|
99480
99590
|
});
|
|
99481
99591
|
}
|
|
99482
|
-
if (this.isContextual(
|
|
99592
|
+
if (this.isContextual(126)) {
|
|
99483
99593
|
return this.tsParseEnumDeclaration(this.startNode());
|
|
99484
99594
|
}
|
|
99485
|
-
if (this.isContextual(
|
|
99595
|
+
if (this.isContextual(129)) {
|
|
99486
99596
|
const result = this.tsParseInterfaceDeclaration(this.startNode());
|
|
99487
99597
|
if (result)
|
|
99488
99598
|
return result;
|
|
@@ -99501,7 +99611,7 @@ var require_lib10 = __commonJS({
|
|
|
99501
99611
|
});
|
|
99502
99612
|
}
|
|
99503
99613
|
tsIsStartOfStaticBlocks() {
|
|
99504
|
-
return this.isContextual(
|
|
99614
|
+
return this.isContextual(106) && this.lookaheadCharCode() === 123;
|
|
99505
99615
|
}
|
|
99506
99616
|
parseClassMember(classBody, member, state) {
|
|
99507
99617
|
const modifiers = ["declare", "private", "public", "protected", "override", "abstract", "readonly", "static"];
|
|
@@ -99626,12 +99736,12 @@ var require_lib10 = __commonJS({
|
|
|
99626
99736
|
return node;
|
|
99627
99737
|
}
|
|
99628
99738
|
parseExportDeclaration(node) {
|
|
99629
|
-
if (!this.state.isAmbientContext && this.isContextual(
|
|
99739
|
+
if (!this.state.isAmbientContext && this.isContextual(125)) {
|
|
99630
99740
|
return this.tsInAmbientContext(() => this.parseExportDeclaration(node));
|
|
99631
99741
|
}
|
|
99632
99742
|
const startLoc = this.state.startLoc;
|
|
99633
|
-
const isDeclare = this.eatContextual(
|
|
99634
|
-
if (isDeclare && (this.isContextual(
|
|
99743
|
+
const isDeclare = this.eatContextual(125);
|
|
99744
|
+
if (isDeclare && (this.isContextual(125) || !this.shouldParseExportDeclaration())) {
|
|
99635
99745
|
throw this.raise(TSErrors.ExpectedAmbientAfterExportDeclare, {
|
|
99636
99746
|
at: this.state.startLoc
|
|
99637
99747
|
});
|
|
@@ -99650,7 +99760,7 @@ var require_lib10 = __commonJS({
|
|
|
99650
99760
|
return declaration;
|
|
99651
99761
|
}
|
|
99652
99762
|
parseClassId(node, isStatement, optionalId, bindingType) {
|
|
99653
|
-
if ((!isStatement || optionalId) && this.isContextual(
|
|
99763
|
+
if ((!isStatement || optionalId) && this.isContextual(113)) {
|
|
99654
99764
|
return;
|
|
99655
99765
|
}
|
|
99656
99766
|
super.parseClassId(node, isStatement, optionalId, node.declare ? 1024 : 8331);
|
|
@@ -99751,7 +99861,7 @@ var require_lib10 = __commonJS({
|
|
|
99751
99861
|
if (node.superClass && (this.match(47) || this.match(51))) {
|
|
99752
99862
|
node.superTypeParameters = this.tsParseTypeArgumentsInExpression();
|
|
99753
99863
|
}
|
|
99754
|
-
if (this.eatContextual(
|
|
99864
|
+
if (this.eatContextual(113)) {
|
|
99755
99865
|
node.implements = this.tsParseHeritageClause("implements");
|
|
99756
99866
|
}
|
|
99757
99867
|
}
|
|
@@ -99789,7 +99899,7 @@ var require_lib10 = __commonJS({
|
|
|
99789
99899
|
let state;
|
|
99790
99900
|
let jsx2;
|
|
99791
99901
|
let typeCast;
|
|
99792
|
-
if (this.hasPlugin("jsx") && (this.match(
|
|
99902
|
+
if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) {
|
|
99793
99903
|
state = this.state.clone();
|
|
99794
99904
|
jsx2 = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state);
|
|
99795
99905
|
if (!jsx2.error)
|
|
@@ -100113,7 +100223,7 @@ var require_lib10 = __commonJS({
|
|
|
100113
100223
|
if (this.match(80)) {
|
|
100114
100224
|
node.abstract = true;
|
|
100115
100225
|
return this.maybeTakeDecorators(decorators, this.parseClass(node, true, false));
|
|
100116
|
-
} else if (this.isContextual(
|
|
100226
|
+
} else if (this.isContextual(129)) {
|
|
100117
100227
|
if (!this.hasFollowingLineBreak()) {
|
|
100118
100228
|
node.abstract = true;
|
|
100119
100229
|
this.raise(TSErrors.NonClassMethodPropertyHasAbstractModifer, {
|
|
@@ -100312,13 +100422,13 @@ var require_lib10 = __commonJS({
|
|
|
100312
100422
|
});
|
|
100313
100423
|
var placeholders = (superClass) => class PlaceholdersParserMixin extends superClass {
|
|
100314
100424
|
parsePlaceholder(expectedNode) {
|
|
100315
|
-
if (this.match(
|
|
100425
|
+
if (this.match(144)) {
|
|
100316
100426
|
const node = this.startNode();
|
|
100317
100427
|
this.next();
|
|
100318
100428
|
this.assertNoSpace();
|
|
100319
100429
|
node.name = super.parseIdentifier(true);
|
|
100320
100430
|
this.assertNoSpace();
|
|
100321
|
-
this.expect(
|
|
100431
|
+
this.expect(144);
|
|
100322
100432
|
return this.finishPlaceholder(node, expectedNode);
|
|
100323
100433
|
}
|
|
100324
100434
|
}
|
|
@@ -100329,7 +100439,7 @@ var require_lib10 = __commonJS({
|
|
|
100329
100439
|
}
|
|
100330
100440
|
getTokenFromCode(code2) {
|
|
100331
100441
|
if (code2 === 37 && this.input.charCodeAt(this.state.pos + 1) === 37) {
|
|
100332
|
-
this.finishOp(
|
|
100442
|
+
this.finishOp(144, 2);
|
|
100333
100443
|
} else {
|
|
100334
100444
|
super.getTokenFromCode(code2);
|
|
100335
100445
|
}
|
|
@@ -100363,7 +100473,7 @@ var require_lib10 = __commonJS({
|
|
|
100363
100473
|
return true;
|
|
100364
100474
|
}
|
|
100365
100475
|
const nextToken = this.lookahead();
|
|
100366
|
-
if (nextToken.type ===
|
|
100476
|
+
if (nextToken.type === 144) {
|
|
100367
100477
|
return true;
|
|
100368
100478
|
}
|
|
100369
100479
|
return false;
|
|
@@ -100401,7 +100511,7 @@ var require_lib10 = __commonJS({
|
|
|
100401
100511
|
const oldStrict = this.state.strict;
|
|
100402
100512
|
const placeholder = this.parsePlaceholder("Identifier");
|
|
100403
100513
|
if (placeholder) {
|
|
100404
|
-
if (this.match(81) || this.match(
|
|
100514
|
+
if (this.match(81) || this.match(144) || this.match(5)) {
|
|
100405
100515
|
node.id = placeholder;
|
|
100406
100516
|
} else if (optionalId || !isStatement) {
|
|
100407
100517
|
node.id = null;
|
|
@@ -100423,7 +100533,7 @@ var require_lib10 = __commonJS({
|
|
|
100423
100533
|
const placeholder = this.parsePlaceholder("Identifier");
|
|
100424
100534
|
if (!placeholder)
|
|
100425
100535
|
return super.parseExport(node, decorators);
|
|
100426
|
-
if (!this.isContextual(
|
|
100536
|
+
if (!this.isContextual(98) && !this.match(12)) {
|
|
100427
100537
|
node.specifiers = [];
|
|
100428
100538
|
node.source = null;
|
|
100429
100539
|
node.declaration = this.finishPlaceholder(placeholder, "Declaration");
|
|
@@ -100439,7 +100549,7 @@ var require_lib10 = __commonJS({
|
|
|
100439
100549
|
if (this.match(65)) {
|
|
100440
100550
|
const next = this.nextTokenStart();
|
|
100441
100551
|
if (this.isUnparsedContextual(next, "from")) {
|
|
100442
|
-
if (this.input.startsWith(tokenLabelName(
|
|
100552
|
+
if (this.input.startsWith(tokenLabelName(144), this.nextTokenStartSince(next + 4))) {
|
|
100443
100553
|
return true;
|
|
100444
100554
|
}
|
|
100445
100555
|
}
|
|
@@ -100468,7 +100578,7 @@ var require_lib10 = __commonJS({
|
|
|
100468
100578
|
if (!placeholder)
|
|
100469
100579
|
return super.parseImport(node);
|
|
100470
100580
|
node.specifiers = [];
|
|
100471
|
-
if (!this.isContextual(
|
|
100581
|
+
if (!this.isContextual(98) && !this.match(12)) {
|
|
100472
100582
|
node.source = this.finishPlaceholder(placeholder, "StringLiteral");
|
|
100473
100583
|
this.semicolon();
|
|
100474
100584
|
return this.finishNode(node, "ImportDeclaration");
|
|
@@ -100481,7 +100591,7 @@ var require_lib10 = __commonJS({
|
|
|
100481
100591
|
if (!hasStarImport)
|
|
100482
100592
|
this.parseNamedImportSpecifiers(node);
|
|
100483
100593
|
}
|
|
100484
|
-
this.expectContextual(
|
|
100594
|
+
this.expectContextual(98);
|
|
100485
100595
|
node.source = this.parseImportSource();
|
|
100486
100596
|
this.semicolon();
|
|
100487
100597
|
return this.finishNode(node, "ImportDeclaration");
|
|
@@ -100625,6 +100735,9 @@ var require_lib10 = __commonJS({
|
|
|
100625
100735
|
error.missingPlugins = "doExpressions";
|
|
100626
100736
|
throw error;
|
|
100627
100737
|
}
|
|
100738
|
+
if (hasPlugin(plugins, "optionalChainingAssign") && getPluginOption(plugins, "optionalChainingAssign", "version") !== "2023-07") {
|
|
100739
|
+
throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");
|
|
100740
|
+
}
|
|
100628
100741
|
}
|
|
100629
100742
|
var mixinPlugins = {
|
|
100630
100743
|
estree,
|
|
@@ -100650,6 +100763,7 @@ var require_lib10 = __commonJS({
|
|
|
100650
100763
|
strictMode: null,
|
|
100651
100764
|
ranges: false,
|
|
100652
100765
|
tokens: false,
|
|
100766
|
+
createImportExpressions: false,
|
|
100653
100767
|
createParenthesizedExpressions: false,
|
|
100654
100768
|
errorRecovery: false,
|
|
100655
100769
|
attachComment: true,
|
|
@@ -100704,7 +100818,7 @@ var require_lib10 = __commonJS({
|
|
|
100704
100818
|
this.enterInitialScopes();
|
|
100705
100819
|
this.nextToken();
|
|
100706
100820
|
const expr = this.parseExpression();
|
|
100707
|
-
if (!this.match(
|
|
100821
|
+
if (!this.match(139)) {
|
|
100708
100822
|
this.unexpected();
|
|
100709
100823
|
}
|
|
100710
100824
|
this.finalizeRemainingComments();
|
|
@@ -100747,7 +100861,7 @@ var require_lib10 = __commonJS({
|
|
|
100747
100861
|
}
|
|
100748
100862
|
parseMaybeAssign(refExpressionErrors, afterLeftParse) {
|
|
100749
100863
|
const startLoc = this.state.startLoc;
|
|
100750
|
-
if (this.isContextual(
|
|
100864
|
+
if (this.isContextual(108)) {
|
|
100751
100865
|
if (this.prodParam.hasYield) {
|
|
100752
100866
|
let left2 = this.parseYield();
|
|
100753
100867
|
if (afterLeftParse) {
|
|
@@ -100826,7 +100940,7 @@ var require_lib10 = __commonJS({
|
|
|
100826
100940
|
return expr;
|
|
100827
100941
|
}
|
|
100828
100942
|
parseMaybeUnaryOrPrivate(refExpressionErrors) {
|
|
100829
|
-
return this.match(
|
|
100943
|
+
return this.match(138) ? this.parsePrivateName() : this.parseMaybeUnary(refExpressionErrors);
|
|
100830
100944
|
}
|
|
100831
100945
|
parseExprOps(refExpressionErrors) {
|
|
100832
100946
|
const startLoc = this.state.startLoc;
|
|
@@ -100901,7 +101015,7 @@ var require_lib10 = __commonJS({
|
|
|
100901
101015
|
});
|
|
100902
101016
|
case "smart":
|
|
100903
101017
|
return this.withTopicBindingContext(() => {
|
|
100904
|
-
if (this.prodParam.hasYield && this.isContextual(
|
|
101018
|
+
if (this.prodParam.hasYield && this.isContextual(108)) {
|
|
100905
101019
|
throw this.raise(Errors.PipeBodyIsTighter, {
|
|
100906
101020
|
at: this.state.startLoc
|
|
100907
101021
|
});
|
|
@@ -101091,7 +101205,7 @@ var require_lib10 = __commonJS({
|
|
|
101091
101205
|
if (computed) {
|
|
101092
101206
|
node.property = this.parseExpression();
|
|
101093
101207
|
this.expect(3);
|
|
101094
|
-
} else if (this.match(
|
|
101208
|
+
} else if (this.match(138)) {
|
|
101095
101209
|
if (base.type === "Super") {
|
|
101096
101210
|
this.raise(Errors.SuperPrivateField, {
|
|
101097
101211
|
at: startLoc
|
|
@@ -101268,12 +101382,18 @@ var require_lib10 = __commonJS({
|
|
|
101268
101382
|
if (this.match(16)) {
|
|
101269
101383
|
return this.parseImportMetaProperty(node);
|
|
101270
101384
|
}
|
|
101271
|
-
if (
|
|
101385
|
+
if (this.match(10)) {
|
|
101386
|
+
if (this.options.createImportExpressions) {
|
|
101387
|
+
return this.parseImportCall(node);
|
|
101388
|
+
} else {
|
|
101389
|
+
return this.finishNode(node, "Import");
|
|
101390
|
+
}
|
|
101391
|
+
} else {
|
|
101272
101392
|
this.raise(Errors.UnsupportedImport, {
|
|
101273
101393
|
at: this.state.lastTokStartLoc
|
|
101274
101394
|
});
|
|
101395
|
+
return this.finishNode(node, "Import");
|
|
101275
101396
|
}
|
|
101276
|
-
return this.finishNode(node, "Import");
|
|
101277
101397
|
case 78:
|
|
101278
101398
|
node = this.startNode();
|
|
101279
101399
|
this.next();
|
|
@@ -101286,13 +101406,13 @@ var require_lib10 = __commonJS({
|
|
|
101286
101406
|
this.readRegexp();
|
|
101287
101407
|
return this.parseRegExpLiteral(this.state.value);
|
|
101288
101408
|
}
|
|
101289
|
-
case
|
|
101409
|
+
case 134:
|
|
101290
101410
|
return this.parseNumericLiteral(this.state.value);
|
|
101291
|
-
case
|
|
101411
|
+
case 135:
|
|
101292
101412
|
return this.parseBigIntLiteral(this.state.value);
|
|
101293
|
-
case
|
|
101413
|
+
case 136:
|
|
101294
101414
|
return this.parseDecimalLiteral(this.state.value);
|
|
101295
|
-
case
|
|
101415
|
+
case 133:
|
|
101296
101416
|
return this.parseStringLiteral(this.state.value);
|
|
101297
101417
|
case 84:
|
|
101298
101418
|
return this.parseNullLiteral();
|
|
@@ -101342,7 +101462,7 @@ var require_lib10 = __commonJS({
|
|
|
101342
101462
|
});
|
|
101343
101463
|
}
|
|
101344
101464
|
}
|
|
101345
|
-
case
|
|
101465
|
+
case 138: {
|
|
101346
101466
|
this.raise(Errors.PrivateInExpectedIn, {
|
|
101347
101467
|
at: this.state.startLoc,
|
|
101348
101468
|
identifierName: this.state.value
|
|
@@ -101380,7 +101500,7 @@ var require_lib10 = __commonJS({
|
|
|
101380
101500
|
}
|
|
101381
101501
|
default:
|
|
101382
101502
|
if (tokenIsIdentifier(type)) {
|
|
101383
|
-
if (this.isContextual(
|
|
101503
|
+
if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) {
|
|
101384
101504
|
return this.parseModuleExpression();
|
|
101385
101505
|
}
|
|
101386
101506
|
const canBeArrow = this.state.potentialArrowAt === this.state.start;
|
|
@@ -101531,7 +101651,7 @@ var require_lib10 = __commonJS({
|
|
|
101531
101651
|
if (this.prodParam.hasYield && this.match(16)) {
|
|
101532
101652
|
const meta = this.createIdentifier(this.startNodeAtNode(node), "function");
|
|
101533
101653
|
this.next();
|
|
101534
|
-
if (this.match(
|
|
101654
|
+
if (this.match(103)) {
|
|
101535
101655
|
this.expectPlugin("functionSent");
|
|
101536
101656
|
} else if (!this.hasPlugin("functionSent")) {
|
|
101537
101657
|
this.unexpected();
|
|
@@ -101556,13 +101676,27 @@ var require_lib10 = __commonJS({
|
|
|
101556
101676
|
parseImportMetaProperty(node) {
|
|
101557
101677
|
const id = this.createIdentifier(this.startNodeAtNode(node), "import");
|
|
101558
101678
|
this.next();
|
|
101559
|
-
if (this.isContextual(
|
|
101679
|
+
if (this.isContextual(101)) {
|
|
101560
101680
|
if (!this.inModule) {
|
|
101561
101681
|
this.raise(Errors.ImportMetaOutsideModule, {
|
|
101562
101682
|
at: id
|
|
101563
101683
|
});
|
|
101564
101684
|
}
|
|
101565
101685
|
this.sawUnambiguousESM = true;
|
|
101686
|
+
} else if (this.isContextual(105) || this.isContextual(97)) {
|
|
101687
|
+
const isSource = this.isContextual(105);
|
|
101688
|
+
if (!isSource)
|
|
101689
|
+
this.unexpected();
|
|
101690
|
+
this.expectPlugin(isSource ? "sourcePhaseImports" : "deferredImportEvaluation");
|
|
101691
|
+
if (!this.options.createImportExpressions) {
|
|
101692
|
+
throw this.raise(Errors.DynamicImportPhaseRequiresImportExpressions, {
|
|
101693
|
+
at: this.state.startLoc,
|
|
101694
|
+
phase: this.state.value
|
|
101695
|
+
});
|
|
101696
|
+
}
|
|
101697
|
+
this.next();
|
|
101698
|
+
node.phase = isSource ? "source" : "defer";
|
|
101699
|
+
return this.parseImportCall(node);
|
|
101566
101700
|
}
|
|
101567
101701
|
return this.parseMetaProperty(node, id, "meta");
|
|
101568
101702
|
}
|
|
@@ -101724,10 +101858,12 @@ var require_lib10 = __commonJS({
|
|
|
101724
101858
|
return this.finishNode(node, "NewExpression");
|
|
101725
101859
|
}
|
|
101726
101860
|
parseNewCallee(node) {
|
|
101727
|
-
|
|
101728
|
-
|
|
101861
|
+
const isImport = this.match(83);
|
|
101862
|
+
const callee = this.parseNoCallExpr();
|
|
101863
|
+
node.callee = callee;
|
|
101864
|
+
if (isImport && (callee.type === "Import" || callee.type === "ImportExpression")) {
|
|
101729
101865
|
this.raise(Errors.ImportCallNotNewExpression, {
|
|
101730
|
-
at:
|
|
101866
|
+
at: callee
|
|
101731
101867
|
});
|
|
101732
101868
|
}
|
|
101733
101869
|
}
|
|
@@ -101973,19 +102109,19 @@ var require_lib10 = __commonJS({
|
|
|
101973
102109
|
key = this.parseIdentifier(true);
|
|
101974
102110
|
} else {
|
|
101975
102111
|
switch (type) {
|
|
101976
|
-
case
|
|
102112
|
+
case 134:
|
|
101977
102113
|
key = this.parseNumericLiteral(value2);
|
|
101978
102114
|
break;
|
|
101979
|
-
case
|
|
102115
|
+
case 133:
|
|
101980
102116
|
key = this.parseStringLiteral(value2);
|
|
101981
102117
|
break;
|
|
101982
|
-
case
|
|
102118
|
+
case 135:
|
|
101983
102119
|
key = this.parseBigIntLiteral(value2);
|
|
101984
102120
|
break;
|
|
101985
|
-
case
|
|
102121
|
+
case 136:
|
|
101986
102122
|
key = this.parseDecimalLiteral(value2);
|
|
101987
102123
|
break;
|
|
101988
|
-
case
|
|
102124
|
+
case 138: {
|
|
101989
102125
|
const privateKeyLoc = this.state.startLoc;
|
|
101990
102126
|
if (refExpressionErrors != null) {
|
|
101991
102127
|
if (refExpressionErrors.privateKeyLoc === null) {
|
|
@@ -102004,7 +102140,7 @@ var require_lib10 = __commonJS({
|
|
|
102004
102140
|
}
|
|
102005
102141
|
}
|
|
102006
102142
|
prop.key = key;
|
|
102007
|
-
if (type !==
|
|
102143
|
+
if (type !== 138) {
|
|
102008
102144
|
prop.computed = false;
|
|
102009
102145
|
}
|
|
102010
102146
|
}
|
|
@@ -102191,7 +102327,7 @@ var require_lib10 = __commonJS({
|
|
|
102191
102327
|
const tokenIsKeyword2 = tokenKeywordOrIdentifierIsKeyword(type);
|
|
102192
102328
|
if (liberal) {
|
|
102193
102329
|
if (tokenIsKeyword2) {
|
|
102194
|
-
this.replaceToken(
|
|
102330
|
+
this.replaceToken(132);
|
|
102195
102331
|
}
|
|
102196
102332
|
} else {
|
|
102197
102333
|
this.checkReservedWord(name, startLoc, tokenIsKeyword2, false);
|
|
@@ -102288,7 +102424,7 @@ var require_lib10 = __commonJS({
|
|
|
102288
102424
|
const {
|
|
102289
102425
|
type
|
|
102290
102426
|
} = this.state;
|
|
102291
|
-
return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type ===
|
|
102427
|
+
return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type === 102 && !this.state.containsEsc || type === 137 || type === 56 || this.hasPlugin("v8intrinsic") && type === 54;
|
|
102292
102428
|
}
|
|
102293
102429
|
parseYield() {
|
|
102294
102430
|
const node = this.startNode();
|
|
@@ -102302,7 +102438,7 @@ var require_lib10 = __commonJS({
|
|
|
102302
102438
|
delegating = this.eat(55);
|
|
102303
102439
|
switch (this.state.type) {
|
|
102304
102440
|
case 13:
|
|
102305
|
-
case
|
|
102441
|
+
case 139:
|
|
102306
102442
|
case 8:
|
|
102307
102443
|
case 11:
|
|
102308
102444
|
case 3:
|
|
@@ -102319,6 +102455,22 @@ var require_lib10 = __commonJS({
|
|
|
102319
102455
|
node.argument = argument;
|
|
102320
102456
|
return this.finishNode(node, "YieldExpression");
|
|
102321
102457
|
}
|
|
102458
|
+
parseImportCall(node) {
|
|
102459
|
+
this.next();
|
|
102460
|
+
node.source = this.parseMaybeAssignAllowIn();
|
|
102461
|
+
if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
|
|
102462
|
+
node.options = null;
|
|
102463
|
+
}
|
|
102464
|
+
if (this.eat(12)) {
|
|
102465
|
+
this.expectImportAttributesPlugin();
|
|
102466
|
+
if (!this.match(11)) {
|
|
102467
|
+
node.options = this.parseMaybeAssignAllowIn();
|
|
102468
|
+
this.eat(12);
|
|
102469
|
+
}
|
|
102470
|
+
}
|
|
102471
|
+
this.expect(11);
|
|
102472
|
+
return this.finishNode(node, "ImportExpression");
|
|
102473
|
+
}
|
|
102322
102474
|
checkPipelineAtInfixOperator(left, leftStartLoc) {
|
|
102323
102475
|
if (this.hasPlugin(["pipelineOperator", {
|
|
102324
102476
|
proposal: "smart"
|
|
@@ -102484,7 +102636,7 @@ var require_lib10 = __commonJS({
|
|
|
102484
102636
|
} = token;
|
|
102485
102637
|
if (typeof type === "number") {
|
|
102486
102638
|
{
|
|
102487
|
-
if (type ===
|
|
102639
|
+
if (type === 138) {
|
|
102488
102640
|
const {
|
|
102489
102641
|
loc,
|
|
102490
102642
|
start,
|
|
@@ -102501,7 +102653,7 @@ var require_lib10 = __commonJS({
|
|
|
102501
102653
|
startLoc: loc.start,
|
|
102502
102654
|
endLoc: hashEndLoc
|
|
102503
102655
|
}), new Token({
|
|
102504
|
-
type: getExportedToken(
|
|
102656
|
+
type: getExportedToken(132),
|
|
102505
102657
|
value: value2,
|
|
102506
102658
|
start: hashEndPos,
|
|
102507
102659
|
end,
|
|
@@ -102592,7 +102744,7 @@ var require_lib10 = __commonJS({
|
|
|
102592
102744
|
}
|
|
102593
102745
|
return this.finishNode(file, "File");
|
|
102594
102746
|
}
|
|
102595
|
-
parseProgram(program, end =
|
|
102747
|
+
parseProgram(program, end = 139, sourceType = this.options.sourceType) {
|
|
102596
102748
|
program.sourceType = sourceType;
|
|
102597
102749
|
program.interpreter = this.parseInterpreterDirective();
|
|
102598
102750
|
this.parseBlockBody(program, true, true, end);
|
|
@@ -102605,7 +102757,7 @@ var require_lib10 = __commonJS({
|
|
|
102605
102757
|
}
|
|
102606
102758
|
}
|
|
102607
102759
|
let finishedProgram;
|
|
102608
|
-
if (end ===
|
|
102760
|
+
if (end === 139) {
|
|
102609
102761
|
finishedProgram = this.finishNode(program, "Program");
|
|
102610
102762
|
} else {
|
|
102611
102763
|
finishedProgram = this.finishNodeAt(program, "Program", createPositionWithColumnOffset(this.state.startLoc, -1));
|
|
@@ -102637,7 +102789,7 @@ var require_lib10 = __commonJS({
|
|
|
102637
102789
|
return this.finishNode(node, "InterpreterDirective");
|
|
102638
102790
|
}
|
|
102639
102791
|
isLet() {
|
|
102640
|
-
if (!this.isContextual(
|
|
102792
|
+
if (!this.isContextual(100)) {
|
|
102641
102793
|
return false;
|
|
102642
102794
|
}
|
|
102643
102795
|
return this.hasFollowingBindingAtom();
|
|
@@ -102676,7 +102828,7 @@ var require_lib10 = __commonJS({
|
|
|
102676
102828
|
type,
|
|
102677
102829
|
containsEsc
|
|
102678
102830
|
} = this.lookahead();
|
|
102679
|
-
if (type ===
|
|
102831
|
+
if (type === 102 && !containsEsc) {
|
|
102680
102832
|
return false;
|
|
102681
102833
|
} else if (tokenIsIdentifier(type) && !this.hasFollowingLineBreak()) {
|
|
102682
102834
|
this.expectPlugin("explicitResourceManagement");
|
|
@@ -102776,7 +102928,7 @@ var require_lib10 = __commonJS({
|
|
|
102776
102928
|
return this.parseVarStatement(node, "await using");
|
|
102777
102929
|
}
|
|
102778
102930
|
break;
|
|
102779
|
-
case
|
|
102931
|
+
case 107:
|
|
102780
102932
|
if (this.state.containsEsc || !this.hasInLineFollowingBindingIdentifier()) {
|
|
102781
102933
|
break;
|
|
102782
102934
|
}
|
|
@@ -102791,7 +102943,7 @@ var require_lib10 = __commonJS({
|
|
|
102791
102943
|
});
|
|
102792
102944
|
}
|
|
102793
102945
|
return this.parseVarStatement(node, "using");
|
|
102794
|
-
case
|
|
102946
|
+
case 100: {
|
|
102795
102947
|
if (this.state.containsEsc) {
|
|
102796
102948
|
break;
|
|
102797
102949
|
}
|
|
@@ -102951,7 +103103,7 @@ var require_lib10 = __commonJS({
|
|
|
102951
103103
|
while (this.eat(16)) {
|
|
102952
103104
|
const node2 = this.startNodeAt(startLoc);
|
|
102953
103105
|
node2.object = expr;
|
|
102954
|
-
if (this.match(
|
|
103106
|
+
if (this.match(138)) {
|
|
102955
103107
|
this.classScope.usePrivateName(this.state.value, this.state.startLoc);
|
|
102956
103108
|
node2.property = this.parsePrivateName();
|
|
102957
103109
|
} else {
|
|
@@ -103043,10 +103195,10 @@ var require_lib10 = __commonJS({
|
|
|
103043
103195
|
}
|
|
103044
103196
|
return this.parseFor(node, null);
|
|
103045
103197
|
}
|
|
103046
|
-
const startsWithLet = this.isContextual(
|
|
103198
|
+
const startsWithLet = this.isContextual(100);
|
|
103047
103199
|
{
|
|
103048
103200
|
const startsWithAwaitUsing = this.isContextual(96) && this.startsAwaitUsing();
|
|
103049
|
-
const starsWithUsingDeclaration = startsWithAwaitUsing || this.isContextual(
|
|
103201
|
+
const starsWithUsingDeclaration = startsWithAwaitUsing || this.isContextual(107) && this.startsUsingForOf();
|
|
103050
103202
|
const isLetOrUsing = startsWithLet && this.hasFollowingBindingAtom() || starsWithUsingDeclaration;
|
|
103051
103203
|
if (this.match(74) || this.match(75) || isLetOrUsing) {
|
|
103052
103204
|
const initNode = this.startNode();
|
|
@@ -103071,7 +103223,7 @@ var require_lib10 = __commonJS({
|
|
|
103071
103223
|
at: init3
|
|
103072
103224
|
});
|
|
103073
103225
|
}
|
|
103074
|
-
if ((isForIn || this.isContextual(
|
|
103226
|
+
if ((isForIn || this.isContextual(102)) && init3.declarations.length === 1) {
|
|
103075
103227
|
return this.parseForIn(node, init3, awaitAt);
|
|
103076
103228
|
}
|
|
103077
103229
|
if (awaitAt !== null) {
|
|
@@ -103083,7 +103235,7 @@ var require_lib10 = __commonJS({
|
|
|
103083
103235
|
const startsWithAsync = this.isContextual(95);
|
|
103084
103236
|
const refExpressionErrors = new ExpressionErrors();
|
|
103085
103237
|
const init2 = this.parseExpression(true, refExpressionErrors);
|
|
103086
|
-
const isForOf = this.isContextual(
|
|
103238
|
+
const isForOf = this.isContextual(102);
|
|
103087
103239
|
if (isForOf) {
|
|
103088
103240
|
if (startsWithLet) {
|
|
103089
103241
|
this.raise(Errors.ForOfLet, {
|
|
@@ -103396,12 +103548,12 @@ var require_lib10 = __commonJS({
|
|
|
103396
103548
|
this.parseVarId(decl, kind);
|
|
103397
103549
|
decl.init = !this.eat(29) ? null : isFor ? this.parseMaybeAssignDisallowIn() : this.parseMaybeAssignAllowIn();
|
|
103398
103550
|
if (decl.init === null && !allowMissingInitializer) {
|
|
103399
|
-
if (decl.id.type !== "Identifier" && !(isFor && (this.match(58) || this.isContextual(
|
|
103551
|
+
if (decl.id.type !== "Identifier" && !(isFor && (this.match(58) || this.isContextual(102)))) {
|
|
103400
103552
|
this.raise(Errors.DeclarationMissingInitializer, {
|
|
103401
103553
|
at: this.state.lastTokEndLoc,
|
|
103402
103554
|
kind: "destructuring"
|
|
103403
103555
|
});
|
|
103404
|
-
} else if (kind === "const" && !(this.match(58) || this.isContextual(
|
|
103556
|
+
} else if (kind === "const" && !(this.match(58) || this.isContextual(102))) {
|
|
103405
103557
|
this.raise(Errors.DeclarationMissingInitializer, {
|
|
103406
103558
|
at: this.state.lastTokEndLoc,
|
|
103407
103559
|
kind: "const"
|
|
@@ -103566,7 +103718,7 @@ var require_lib10 = __commonJS({
|
|
|
103566
103718
|
return false;
|
|
103567
103719
|
}
|
|
103568
103720
|
parseClassMember(classBody, member, state) {
|
|
103569
|
-
const isStatic = this.isContextual(
|
|
103721
|
+
const isStatic = this.isContextual(106);
|
|
103570
103722
|
if (isStatic) {
|
|
103571
103723
|
if (this.parseClassMemberFromModifier(classBody, member)) {
|
|
103572
103724
|
return;
|
|
@@ -103590,7 +103742,7 @@ var require_lib10 = __commonJS({
|
|
|
103590
103742
|
this.parsePropertyNamePrefixOperator(member);
|
|
103591
103743
|
if (this.eat(55)) {
|
|
103592
103744
|
method.kind = "method";
|
|
103593
|
-
const isPrivateName = this.match(
|
|
103745
|
+
const isPrivateName = this.match(138);
|
|
103594
103746
|
this.parseClassElementName(method);
|
|
103595
103747
|
if (isPrivateName) {
|
|
103596
103748
|
this.pushClassPrivateMethod(classBody, privateMethod, true, false);
|
|
@@ -103605,7 +103757,7 @@ var require_lib10 = __commonJS({
|
|
|
103605
103757
|
return;
|
|
103606
103758
|
}
|
|
103607
103759
|
const isContextual = tokenIsIdentifier(this.state.type) && !this.state.containsEsc;
|
|
103608
|
-
const isPrivate = this.match(
|
|
103760
|
+
const isPrivate = this.match(138);
|
|
103609
103761
|
const key = this.parseClassElementName(member);
|
|
103610
103762
|
const maybeQuestionTokenStartLoc = this.state.startLoc;
|
|
103611
103763
|
this.parsePostMemberNameModifiers(publicMember);
|
|
@@ -103646,7 +103798,7 @@ var require_lib10 = __commonJS({
|
|
|
103646
103798
|
this.unexpected(maybeQuestionTokenStartLoc);
|
|
103647
103799
|
}
|
|
103648
103800
|
method.kind = "method";
|
|
103649
|
-
const isPrivate2 = this.match(
|
|
103801
|
+
const isPrivate2 = this.match(138);
|
|
103650
103802
|
this.parseClassElementName(method);
|
|
103651
103803
|
this.parsePostMemberNameModifiers(publicMember);
|
|
103652
103804
|
if (isPrivate2) {
|
|
@@ -103662,7 +103814,7 @@ var require_lib10 = __commonJS({
|
|
|
103662
103814
|
} else if (isContextual && (key.name === "get" || key.name === "set") && !(this.match(55) && this.isLineTerminator())) {
|
|
103663
103815
|
this.resetPreviousNodeTrailingComments(key);
|
|
103664
103816
|
method.kind = key.name;
|
|
103665
|
-
const isPrivate2 = this.match(
|
|
103817
|
+
const isPrivate2 = this.match(138);
|
|
103666
103818
|
this.parseClassElementName(publicMethod);
|
|
103667
103819
|
if (isPrivate2) {
|
|
103668
103820
|
this.pushClassPrivateMethod(classBody, privateMethod, false, false);
|
|
@@ -103678,7 +103830,7 @@ var require_lib10 = __commonJS({
|
|
|
103678
103830
|
} else if (isContextual && key.name === "accessor" && !this.isLineTerminator()) {
|
|
103679
103831
|
this.expectPlugin("decoratorAutoAccessors");
|
|
103680
103832
|
this.resetPreviousNodeTrailingComments(key);
|
|
103681
|
-
const isPrivate2 = this.match(
|
|
103833
|
+
const isPrivate2 = this.match(138);
|
|
103682
103834
|
this.parseClassElementName(publicProp);
|
|
103683
103835
|
this.pushClassAccessorProperty(classBody, accessorProp, isPrivate2);
|
|
103684
103836
|
} else if (this.isLineTerminator()) {
|
|
@@ -103696,12 +103848,12 @@ var require_lib10 = __commonJS({
|
|
|
103696
103848
|
type,
|
|
103697
103849
|
value: value2
|
|
103698
103850
|
} = this.state;
|
|
103699
|
-
if ((type ===
|
|
103851
|
+
if ((type === 132 || type === 133) && member.static && value2 === "prototype") {
|
|
103700
103852
|
this.raise(Errors.StaticPrototype, {
|
|
103701
103853
|
at: this.state.startLoc
|
|
103702
103854
|
});
|
|
103703
103855
|
}
|
|
103704
|
-
if (type ===
|
|
103856
|
+
if (type === 138) {
|
|
103705
103857
|
if (value2 === "constructor") {
|
|
103706
103858
|
this.raise(Errors.ConstructorClassPrivateField, {
|
|
103707
103859
|
at: this.state.startLoc
|
|
@@ -103840,7 +103992,7 @@ var require_lib10 = __commonJS({
|
|
|
103840
103992
|
this.unexpected(null, 5);
|
|
103841
103993
|
}
|
|
103842
103994
|
if (hasNamespace && parseAfterNamespace) {
|
|
103843
|
-
this.unexpected(null,
|
|
103995
|
+
this.unexpected(null, 98);
|
|
103844
103996
|
}
|
|
103845
103997
|
let hasDeclaration;
|
|
103846
103998
|
if (isFromRequired || hasSpecifiers) {
|
|
@@ -103984,14 +104136,14 @@ var require_lib10 = __commonJS({
|
|
|
103984
104136
|
type
|
|
103985
104137
|
} = this.state;
|
|
103986
104138
|
if (tokenIsIdentifier(type)) {
|
|
103987
|
-
if (type === 95 && !this.state.containsEsc || type ===
|
|
104139
|
+
if (type === 95 && !this.state.containsEsc || type === 100) {
|
|
103988
104140
|
return false;
|
|
103989
104141
|
}
|
|
103990
|
-
if ((type ===
|
|
104142
|
+
if ((type === 130 || type === 129) && !this.state.containsEsc) {
|
|
103991
104143
|
const {
|
|
103992
104144
|
type: nextType
|
|
103993
104145
|
} = this.lookahead();
|
|
103994
|
-
if (tokenIsIdentifier(nextType) && nextType !==
|
|
104146
|
+
if (tokenIsIdentifier(nextType) && nextType !== 98 || nextType === 5) {
|
|
103995
104147
|
this.expectOnePlugin(["flow", "typescript"]);
|
|
103996
104148
|
return false;
|
|
103997
104149
|
}
|
|
@@ -104011,7 +104163,7 @@ var require_lib10 = __commonJS({
|
|
|
104011
104163
|
return false;
|
|
104012
104164
|
}
|
|
104013
104165
|
parseExportFrom(node, expect) {
|
|
104014
|
-
if (this.eatContextual(
|
|
104166
|
+
if (this.eatContextual(98)) {
|
|
104015
104167
|
node.source = this.parseImportSource();
|
|
104016
104168
|
this.checkExport(node);
|
|
104017
104169
|
this.maybeParseImportAttributes(node);
|
|
@@ -104137,8 +104289,8 @@ var require_lib10 = __commonJS({
|
|
|
104137
104289
|
if (this.eat(8))
|
|
104138
104290
|
break;
|
|
104139
104291
|
}
|
|
104140
|
-
const isMaybeTypeOnly = this.isContextual(
|
|
104141
|
-
const isString = this.match(
|
|
104292
|
+
const isMaybeTypeOnly = this.isContextual(130);
|
|
104293
|
+
const isString = this.match(133);
|
|
104142
104294
|
const node = this.startNode();
|
|
104143
104295
|
node.local = this.parseModuleExportName();
|
|
104144
104296
|
nodes.push(this.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly));
|
|
@@ -104156,7 +104308,7 @@ var require_lib10 = __commonJS({
|
|
|
104156
104308
|
return this.finishNode(node, "ExportSpecifier");
|
|
104157
104309
|
}
|
|
104158
104310
|
parseModuleExportName() {
|
|
104159
|
-
if (this.match(
|
|
104311
|
+
if (this.match(133)) {
|
|
104160
104312
|
const result = this.parseStringLiteral(this.state.value);
|
|
104161
104313
|
const surrogate = result.value.match(loneSurrogate);
|
|
104162
104314
|
if (surrogate) {
|
|
@@ -104181,11 +104333,27 @@ var require_lib10 = __commonJS({
|
|
|
104181
104333
|
return false;
|
|
104182
104334
|
}
|
|
104183
104335
|
checkImportReflection(node) {
|
|
104184
|
-
|
|
104336
|
+
const {
|
|
104337
|
+
specifiers
|
|
104338
|
+
} = node;
|
|
104339
|
+
const singleBindingType = specifiers.length === 1 ? specifiers[0].type : null;
|
|
104340
|
+
if (node.phase === "source") {
|
|
104341
|
+
if (singleBindingType !== "ImportDefaultSpecifier") {
|
|
104342
|
+
this.raise(Errors.SourcePhaseImportRequiresDefault, {
|
|
104343
|
+
at: specifiers[0].loc.start
|
|
104344
|
+
});
|
|
104345
|
+
}
|
|
104346
|
+
} else if (node.phase === "defer") {
|
|
104347
|
+
if (singleBindingType !== "ImportNamespaceSpecifier") {
|
|
104348
|
+
this.raise(Errors.DeferImportRequiresNamespace, {
|
|
104349
|
+
at: specifiers[0].loc.start
|
|
104350
|
+
});
|
|
104351
|
+
}
|
|
104352
|
+
} else if (node.module) {
|
|
104185
104353
|
var _node$assertions;
|
|
104186
|
-
if (
|
|
104354
|
+
if (singleBindingType !== "ImportDefaultSpecifier") {
|
|
104187
104355
|
this.raise(Errors.ImportReflectionNotBinding, {
|
|
104188
|
-
at:
|
|
104356
|
+
at: specifiers[0].loc.start
|
|
104189
104357
|
});
|
|
104190
104358
|
}
|
|
104191
104359
|
if (((_node$assertions = node.assertions) == null ? void 0 : _node$assertions.length) > 0) {
|
|
@@ -104221,7 +104389,9 @@ var require_lib10 = __commonJS({
|
|
|
104221
104389
|
}
|
|
104222
104390
|
}
|
|
104223
104391
|
isPotentialImportPhase(isExport) {
|
|
104224
|
-
|
|
104392
|
+
if (isExport)
|
|
104393
|
+
return false;
|
|
104394
|
+
return this.isContextual(105) || this.isContextual(97) || this.isContextual(127);
|
|
104225
104395
|
}
|
|
104226
104396
|
applyImportPhase(node, isExport, phase, loc) {
|
|
104227
104397
|
if (isExport) {
|
|
@@ -104233,6 +104403,15 @@ var require_lib10 = __commonJS({
|
|
|
104233
104403
|
} else if (this.hasPlugin("importReflection")) {
|
|
104234
104404
|
node.module = false;
|
|
104235
104405
|
}
|
|
104406
|
+
if (phase === "source") {
|
|
104407
|
+
this.expectPlugin("sourcePhaseImports", loc);
|
|
104408
|
+
node.phase = "source";
|
|
104409
|
+
} else if (phase === "defer") {
|
|
104410
|
+
this.expectPlugin("deferredImportEvaluation", loc);
|
|
104411
|
+
node.phase = "defer";
|
|
104412
|
+
} else if (this.hasPlugin("sourcePhaseImports")) {
|
|
104413
|
+
node.phase = null;
|
|
104414
|
+
}
|
|
104236
104415
|
}
|
|
104237
104416
|
parseMaybeImportPhase(node, isExport) {
|
|
104238
104417
|
if (!this.isPotentialImportPhase(isExport)) {
|
|
@@ -104243,7 +104422,7 @@ var require_lib10 = __commonJS({
|
|
|
104243
104422
|
const {
|
|
104244
104423
|
type
|
|
104245
104424
|
} = this.state;
|
|
104246
|
-
const isImportPhase = tokenIsKeywordOrIdentifier(type) ? type !==
|
|
104425
|
+
const isImportPhase = tokenIsKeywordOrIdentifier(type) ? type !== 98 || this.lookaheadCharCode() === 102 : type !== 12;
|
|
104247
104426
|
if (isImportPhase) {
|
|
104248
104427
|
this.resetPreviousIdentifierLeadingComments(phaseIdentifier);
|
|
104249
104428
|
this.applyImportPhase(node, isExport, phaseIdentifier.name, phaseIdentifier.loc.start);
|
|
@@ -104257,10 +104436,10 @@ var require_lib10 = __commonJS({
|
|
|
104257
104436
|
const {
|
|
104258
104437
|
type
|
|
104259
104438
|
} = this.state;
|
|
104260
|
-
return tokenIsIdentifier(type) ? type !==
|
|
104439
|
+
return tokenIsIdentifier(type) ? type !== 98 || this.lookaheadCharCode() === 102 : type !== 12;
|
|
104261
104440
|
}
|
|
104262
104441
|
parseImport(node) {
|
|
104263
|
-
if (this.match(
|
|
104442
|
+
if (this.match(133)) {
|
|
104264
104443
|
return this.parseImportSourceAndAttributes(node);
|
|
104265
104444
|
}
|
|
104266
104445
|
return this.parseImportSpecifiersAndAfter(node, this.parseMaybeImportPhase(node, false));
|
|
@@ -104272,7 +104451,7 @@ var require_lib10 = __commonJS({
|
|
|
104272
104451
|
const hasStar = parseNext && this.maybeParseStarImportSpecifier(node);
|
|
104273
104452
|
if (parseNext && !hasStar)
|
|
104274
104453
|
this.parseNamedImportSpecifiers(node);
|
|
104275
|
-
this.expectContextual(
|
|
104454
|
+
this.expectContextual(98);
|
|
104276
104455
|
return this.parseImportSourceAndAttributes(node);
|
|
104277
104456
|
}
|
|
104278
104457
|
parseImportSourceAndAttributes(node) {
|
|
@@ -104286,7 +104465,7 @@ var require_lib10 = __commonJS({
|
|
|
104286
104465
|
return this.finishNode(node, "ImportDeclaration");
|
|
104287
104466
|
}
|
|
104288
104467
|
parseImportSource() {
|
|
104289
|
-
if (!this.match(
|
|
104468
|
+
if (!this.match(133))
|
|
104290
104469
|
this.unexpected();
|
|
104291
104470
|
return this.parseExprAtom();
|
|
104292
104471
|
}
|
|
@@ -104320,13 +104499,13 @@ var require_lib10 = __commonJS({
|
|
|
104320
104499
|
});
|
|
104321
104500
|
}
|
|
104322
104501
|
attrNames.add(keyName);
|
|
104323
|
-
if (this.match(
|
|
104502
|
+
if (this.match(133)) {
|
|
104324
104503
|
node.key = this.parseStringLiteral(keyName);
|
|
104325
104504
|
} else {
|
|
104326
104505
|
node.key = this.parseIdentifier(true);
|
|
104327
104506
|
}
|
|
104328
104507
|
this.expect(14);
|
|
104329
|
-
if (!this.match(
|
|
104508
|
+
if (!this.match(133)) {
|
|
104330
104509
|
throw this.raise(Errors.ModuleAttributeInvalidValue, {
|
|
104331
104510
|
at: this.state.startLoc
|
|
104332
104511
|
});
|
|
@@ -104356,7 +104535,7 @@ var require_lib10 = __commonJS({
|
|
|
104356
104535
|
}
|
|
104357
104536
|
attributes.add(node.key.name);
|
|
104358
104537
|
this.expect(14);
|
|
104359
|
-
if (!this.match(
|
|
104538
|
+
if (!this.match(133)) {
|
|
104360
104539
|
throw this.raise(Errors.ModuleAttributeInvalidValue, {
|
|
104361
104540
|
at: this.state.startLoc
|
|
104362
104541
|
});
|
|
@@ -104449,8 +104628,8 @@ var require_lib10 = __commonJS({
|
|
|
104449
104628
|
break;
|
|
104450
104629
|
}
|
|
104451
104630
|
const specifier = this.startNode();
|
|
104452
|
-
const importedIsString = this.match(
|
|
104453
|
-
const isMaybeTypeOnly = this.isContextual(
|
|
104631
|
+
const importedIsString = this.match(133);
|
|
104632
|
+
const isMaybeTypeOnly = this.isContextual(130);
|
|
104454
104633
|
specifier.imported = this.parseModuleExportName();
|
|
104455
104634
|
const importSpecifier = this.parseImportSpecifier(specifier, importedIsString, node.importKind === "type" || node.importKind === "typeof", isMaybeTypeOnly, void 0);
|
|
104456
104635
|
node.specifiers.push(importSpecifier);
|
|
@@ -104861,10 +105040,14 @@ var require_evaluation = __commonJS({
|
|
|
104861
105040
|
});
|
|
104862
105041
|
exports.evaluate = evaluate;
|
|
104863
105042
|
exports.evaluateTruthy = evaluateTruthy;
|
|
104864
|
-
var
|
|
105043
|
+
var VALID_OBJECT_CALLEES = ["Number", "String", "Math"];
|
|
105044
|
+
var VALID_IDENTIFIER_CALLEES = ["isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", null, null];
|
|
104865
105045
|
var INVALID_METHODS = ["random"];
|
|
104866
|
-
function
|
|
104867
|
-
return
|
|
105046
|
+
function isValidObjectCallee(val) {
|
|
105047
|
+
return VALID_OBJECT_CALLEES.includes(val);
|
|
105048
|
+
}
|
|
105049
|
+
function isValidIdentifierCallee(val) {
|
|
105050
|
+
return VALID_IDENTIFIER_CALLEES.includes(val);
|
|
104868
105051
|
}
|
|
104869
105052
|
function isInvalidMethod(val) {
|
|
104870
105053
|
return INVALID_METHODS.includes(val);
|
|
@@ -105150,13 +105333,13 @@ var require_evaluation = __commonJS({
|
|
|
105150
105333
|
const callee = path15.get("callee");
|
|
105151
105334
|
let context;
|
|
105152
105335
|
let func;
|
|
105153
|
-
if (callee.isIdentifier() && !path15.scope.getBinding(callee.node.name) &&
|
|
105336
|
+
if (callee.isIdentifier() && !path15.scope.getBinding(callee.node.name) && (isValidObjectCallee(callee.node.name) || isValidIdentifierCallee(callee.node.name))) {
|
|
105154
105337
|
func = global[callee.node.name];
|
|
105155
105338
|
}
|
|
105156
105339
|
if (callee.isMemberExpression()) {
|
|
105157
105340
|
const object = callee.get("object");
|
|
105158
105341
|
const property = callee.get("property");
|
|
105159
|
-
if (object.isIdentifier() && property.isIdentifier() &&
|
|
105342
|
+
if (object.isIdentifier() && property.isIdentifier() && isValidObjectCallee(object.node.name) && !isInvalidMethod(property.node.name)) {
|
|
105160
105343
|
context = global[object.node.name];
|
|
105161
105344
|
func = context[property.node.name];
|
|
105162
105345
|
}
|
|
@@ -106137,13 +106320,11 @@ var require_conversion = __commonJS({
|
|
|
106137
106320
|
return this.node;
|
|
106138
106321
|
}
|
|
106139
106322
|
{
|
|
106140
|
-
{
|
|
106141
|
-
|
|
106142
|
-
|
|
106143
|
-
|
|
106144
|
-
|
|
106145
|
-
};
|
|
106146
|
-
}
|
|
106323
|
+
exports.arrowFunctionToShadowed = function() {
|
|
106324
|
+
if (!this.isArrowFunctionExpression())
|
|
106325
|
+
return;
|
|
106326
|
+
this.arrowFunctionToExpression();
|
|
106327
|
+
};
|
|
106147
106328
|
}
|
|
106148
106329
|
function unwrapFunctionEnvironment() {
|
|
106149
106330
|
if (!this.isArrowFunctionExpression() && !this.isFunctionExpression() && !this.isFunctionDeclaration()) {
|
|
@@ -108264,14 +108445,12 @@ var require_virtual_types_validator = __commonJS({
|
|
|
108264
108445
|
});
|
|
108265
108446
|
}
|
|
108266
108447
|
{
|
|
108267
|
-
{
|
|
108268
|
-
|
|
108269
|
-
|
|
108270
|
-
|
|
108271
|
-
|
|
108272
|
-
|
|
108273
|
-
};
|
|
108274
|
-
}
|
|
108448
|
+
exports.isExistentialTypeParam = function isExistentialTypeParam() {
|
|
108449
|
+
throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.");
|
|
108450
|
+
};
|
|
108451
|
+
exports.isNumericLiteralTypeAnnotation = function isNumericLiteralTypeAnnotation() {
|
|
108452
|
+
throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.");
|
|
108453
|
+
};
|
|
108275
108454
|
}
|
|
108276
108455
|
}
|
|
108277
108456
|
});
|
|
@@ -108668,15 +108847,6 @@ var require_hub = __commonJS({
|
|
|
108668
108847
|
var require_lib14 = __commonJS({
|
|
108669
108848
|
"../../node_modules/@babel/traverse/lib/index.js"(exports) {
|
|
108670
108849
|
"use strict";
|
|
108671
|
-
if (typeof process === "object" && process.version === "v20.6.0") {
|
|
108672
|
-
if (exports["___internal__alreadyRunning"])
|
|
108673
|
-
return;
|
|
108674
|
-
Object.defineProperty(exports, "___internal__alreadyRunning", {
|
|
108675
|
-
value: true,
|
|
108676
|
-
enumerable: false,
|
|
108677
|
-
configurable: true
|
|
108678
|
-
});
|
|
108679
|
-
}
|
|
108680
108850
|
Object.defineProperty(exports, "__esModule", {
|
|
108681
108851
|
value: true
|
|
108682
108852
|
});
|
|
@@ -108771,8 +108941,6 @@ var require_lib14 = __commonJS({
|
|
|
108771
108941
|
return state.has;
|
|
108772
108942
|
};
|
|
108773
108943
|
traverse2.cache = cache2;
|
|
108774
|
-
if (typeof process === "object" && process.version === "v20.6.0")
|
|
108775
|
-
delete exports["___internal__alreadyRunning"];
|
|
108776
108944
|
}
|
|
108777
108945
|
});
|
|
108778
108946
|
|
|
@@ -108800,13 +108968,14 @@ var require_helpers_generated = __commonJS({
|
|
|
108800
108968
|
applyDecs2203: helper("7.19.0", 'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,a,n,i,s,o){var c;switch(n){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==n&&(f.addInitializer=createAddInitializerMethod(a,p)),0===n?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===n?l=function(){return r.value}:(1!==n&&3!==n||(l=function(){return r.get.call(this)}),1!==n&&4!==n||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":10===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,a,n,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===n||1===n?{get:r[3],set:r[4]}:3===n?{get:r[3]}:4===n?{set:r[3]}:{value:r[3]}:0!==n&&(c=Object.getOwnPropertyDescriptor(t,a)),1===n?u={get:c.get,set:c.set}:2===n?u=c.value:3===n?u=c.get:4===n&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,a,c,o,n,i,s,u))&&(assertValidReturnValue(n,f),0===n?l=f:1===n?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],a,c,o,n,i,s,u)))assertValidReturnValue(n,f),0===n?g=f:1===n?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===n||1===n){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,a=0;a<y.length;a++)r=y[a].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==n&&(1===n?(c.get=u.get,c.set=u.set):2===n?c.value=u:3===n?c.get=u:4===n&&(c.set=u),s?1===n?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===n?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,a,c))}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){var a=[];return function(e,t,r){for(var a,n,i=new Map,s=new Map,o=0;o<r.length;o++){var c=r[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=t,0!=(f-=5)&&(u=n=n||[])):(l=t.prototype,0!==f&&(u=a=a||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(e,l,c,p,f,h,d,u)}}pushInitializers(e,a),pushInitializers(e,n)}(a,e,t),function(e,t,r){if(r.length>0){for(var a=[],n=t,i=t.name,s=r.length-1;s>=0;s--){var o={v:!1};try{var c=r[s](n,{kind:"class",name:i,addInitializer:createAddInitializerMethod(a,o)})}finally{o.v=!0}void 0!==c&&(assertValidReturnValue(10,c),n=c)}e.push(n,(function(){for(var e=0;e<a.length;e++)a[e].call(n)}))}}(a,e,r),a}}var applyDecs2203Impl;export default function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}'),
|
|
108801
108969
|
applyDecs2203R: helper("7.20.0", 'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,s,o){var c;switch(a){case 1:c="accessor";break;case 2:c="method";break;case 3:c="getter";break;case 4:c="setter";break;default:c="field"}var l,u,f={kind:c,name:s?"#"+t:t,static:i,private:s},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?s?(l=r.get,u=r.set):(l=function(){return this[t]},u=function(e){this[t]=e}):2===a?l=function(){return r.value}:(1!==a&&3!==a||(l=function(){return r.get.call(this)}),1!==a&&4!==a||(u=function(e){r.set.call(this,e)})),f.access=l&&u?{get:l,set:u}:l?{get:l}:{set:u};try{return e(o,f)}finally{p.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function applyMemberDec(e,t,r,n,a,i,s,o){var c,l,u,f,p,d,h=r[0];if(s?c=0===a||1===a?{get:r[3],set:r[4]}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?u={get:c.get,set:c.set}:2===a?u=c.value:3===a?u=c.get:4===a&&(u=c.set),"function"==typeof h)void 0!==(f=memberDec(h,n,c,o,a,i,s,u))&&(assertValidReturnValue(a,f),0===a?l=f:1===a?(l=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f);else for(var v=h.length-1;v>=0;v--){var g;if(void 0!==(f=memberDec(h[v],n,c,o,a,i,s,u)))assertValidReturnValue(a,f),0===a?g=f:1===a?(g=f.init,p=f.get||u.get,d=f.set||u.set,u={get:p,set:d}):u=f,void 0!==g&&(void 0===l?l=g:"function"==typeof l?l=[l,g]:l.push(g))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var y=l;l=function(e,t){for(var r=t,n=0;n<y.length;n++)r=y[n].call(e,r);return r}}else{var m=l;l=function(e,t){return m.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=u.get,c.set=u.set):2===a?c.value=u:3===a?c.get=u:4===a&&(c.set=u),s?1===a?(e.push((function(e,t){return u.get.call(e,t)})),e.push((function(e,t){return u.set.call(e,t)}))):2===a?e.push(u):e.push((function(e,t){return u.call(e,t)})):Object.defineProperty(t,n,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,s=new Map,o=0;o<t.length;o++){var c=t[o];if(Array.isArray(c)){var l,u,f=c[1],p=c[2],d=c.length>3,h=f>=5;if(h?(l=e,0!==(f-=5)&&(u=n=n||[])):(l=e.prototype,0!==f&&(u=r=r||[])),0!==f&&!d){var v=h?s:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+p);!g&&f>2?v.set(p,f):v.set(p,!0)}applyMemberDec(a,l,c,p,f,h,d,u)}}return pushInitializers(a,r),pushInitializers(a,n),a}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r){return{e:applyMemberDecs(e,t),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}'),
|
|
108802
108970
|
applyDecs2301: helper("7.21.0", 'import checkInRHS from"checkInRHS";function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,a,i,s,o,c){var u;switch(a){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var l,f,p={kind:u,name:s?"#"+t:t,static:i,private:s},d={v:!1};if(0!==a&&(p.addInitializer=createAddInitializerMethod(n,d)),s||0!==a&&2!==a)if(2===a)l=function(e){return assertInstanceIfPrivate(c,e),r.value};else{var h=0===a||1===a;(h||3===a)&&(l=s?function(e){return assertInstanceIfPrivate(c,e),r.get.call(e)}:function(e){return r.get.call(e)}),(h||4===a)&&(f=s?function(e,t){assertInstanceIfPrivate(c,e),r.set.call(e,t)}:function(e,t){r.set.call(e,t)})}else l=function(e){return e[t]},0===a&&(f=function(e,r){e[t]=r});var v=s?c.bind():function(e){return t in e};p.access=l&&f?{get:l,set:f,has:v}:l?{get:l,has:v}:{set:f,has:v};try{return e(o,p)}finally{d.v=!0}}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var n;throw n=0===e?"field":10===e?"class":"method",new TypeError(n+" decorators must return a function or void 0")}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,n,a,i,s,o,c){var u,l,f,p,d,h,v,g=r[0];if(s?u=0===a||1===a?{get:(p=r[3],function(){return p(this)}),set:curryThis2(r[4])}:3===a?{get:r[3]}:4===a?{set:r[3]}:{value:r[3]}:0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:u.get,set:u.set}:2===a?f=u.value:3===a?f=u.get:4===a&&(f=u.set),"function"==typeof g)void 0!==(d=memberDec(g,n,u,o,a,i,s,f,c))&&(assertValidReturnValue(a,d),0===a?l=d:1===a?(l=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d);else for(var y=g.length-1;y>=0;y--){var m;if(void 0!==(d=memberDec(g[y],n,u,o,a,i,s,f,c)))assertValidReturnValue(a,d),0===a?m=d:1===a?(m=d.init,h=d.get||f.get,v=d.set||f.set,f={get:h,set:v}):f=d,void 0!==m&&(void 0===l?l=m:"function"==typeof l?l=[l,m]:l.push(m))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var b=l;l=function(e,t){for(var r=t,n=0;n<b.length;n++)r=b[n].call(e,r);return r}}else{var I=l;l=function(e,t){return I.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=f.get,u.set=f.set):2===a?u.value=f:3===a?u.get=f:4===a&&(u.set=f),s?1===a?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===a?e.push(f):e.push((function(e,t){return f.call(e,t)})):Object.defineProperty(t,n,u))}function applyMemberDecs(e,t,r){for(var n,a,i,s=[],o=new Map,c=new Map,u=0;u<t.length;u++){var l=t[u];if(Array.isArray(l)){var f,p,d=l[1],h=l[2],v=l.length>3,g=d>=5,y=r;if(g?(f=e,0!==(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),y=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=g?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+h);!b&&d>2?m.set(h,d):m.set(h,!0)}applyMemberDec(s,f,l,h,d,g,v,p,y)}}return pushInitializers(s,n),pushInitializers(s,a),s}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}return function(e,t,r,n){return{e:applyMemberDecs(e,t,n),get c(){return function(e,t){if(t.length>0){for(var r=[],n=e,a=e.name,i=t.length-1;i>=0;i--){var s={v:!1};try{var o=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,s)})}finally{s.v=!0}void 0!==o&&(assertValidReturnValue(10,o),n=o)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}export default function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}'),
|
|
108803
|
-
applyDecs2305: helper("7.21.0", 'import checkInRHS from"checkInRHS";function createAddInitializerMethod(e,t){return function(r){assertNotFinished(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,n,
|
|
108971
|
+
applyDecs2305: helper("7.21.0", 'import checkInRHS from"checkInRHS";function createAddInitializerMethod(e,t){return function(r){assertNotFinished(t,"addInitializer"),assertCallable(r,"An initializer"),e.push(r)}}function assertInstanceIfPrivate(e,t){if(!e(t))throw new TypeError("Attempted to access private element on non-instance")}function memberDec(e,t,r,a,n,i,s,o,c,l,u){var f;switch(i){case 1:f="accessor";break;case 2:f="method";break;case 3:f="getter";break;case 4:f="setter";break;default:f="field"}var d,p,h={kind:f,name:o?"#"+r:r,static:s,private:o,metadata:u},v={v:!1};if(0!==i&&(h.addInitializer=createAddInitializerMethod(n,v)),o||0!==i&&2!==i)if(2===i)d=function(e){return assertInstanceIfPrivate(l,e),a.value};else{var y=0===i||1===i;(y||3===i)&&(d=o?function(e){return assertInstanceIfPrivate(l,e),a.get.call(e)}:function(e){return a.get.call(e)}),(y||4===i)&&(p=o?function(e,t){assertInstanceIfPrivate(l,e),a.set.call(e,t)}:function(e,t){a.set.call(e,t)})}else d=function(e){return e[r]},0===i&&(p=function(e,t){e[r]=t});var m=o?l.bind():function(e){return r in e};h.access=d&&p?{get:d,set:p,has:m}:d?{get:d,has:m}:{set:p,has:m};try{return e.call(t,c,h)}finally{v.v=!0}}function assertNotFinished(e,t){if(e.v)throw new Error("attempted to call "+t+" after decoration was finished")}function assertCallable(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function assertValidReturnValue(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&assertCallable(t.get,"accessor.get"),void 0!==t.set&&assertCallable(t.set,"accessor.set"),void 0!==t.init&&assertCallable(t.init,"accessor.init")}else if("function"!==r){var a;throw a=0===e?"field":5===e?"class":"method",new TypeError(a+" decorators must return a function or void 0")}}function curryThis1(e){return function(){return e(this)}}function curryThis2(e){return function(t){e(this,t)}}function applyMemberDec(e,t,r,a,n,i,s,o,c,l,u){var f,d,p,h,v,y,m=r[0];a||Array.isArray(m)||(m=[m]),o?f=0===i||1===i?{get:curryThis1(r[3]),set:curryThis2(r[4])}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(f=Object.getOwnPropertyDescriptor(t,n)),1===i?p={get:f.get,set:f.set}:2===i?p=f.value:3===i?p=f.get:4===i&&(p=f.set);for(var g=a?2:1,b=m.length-1;b>=0;b-=g){var I;if(void 0!==(h=memberDec(m[b],a?m[b-1]:void 0,n,f,c,i,s,o,p,l,u)))assertValidReturnValue(i,h),0===i?I=h:1===i?(I=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==I&&(void 0===d?d=I:"function"==typeof d?d=[d,I]:d.push(I))}if(0===i||1===i){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var w=d;d=function(e,t){for(var r=t,a=w.length-1;a>=0;a--)r=w[a].call(e,r);return r}}else{var M=d;d=function(e,t){return M.call(e,t)}}e.push(d)}0!==i&&(1===i?(f.get=p.get,f.set=p.set):2===i?f.value=p:3===i?f.get=p:4===i&&(f.set=p),o?1===i?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===i?e.push(p):e.push((function(e,t){return p.call(e,t)})):Object.defineProperty(t,n,f))}function applyMemberDecs(e,t,r,a){for(var n,i,s,o=[],c=new Map,l=new Map,u=0;u<t.length;u++){var f=t[u];if(Array.isArray(f)){var d,p,h=f[1],v=f[2],y=f.length>3,m=16&h,g=!!(8&h),b=r;if(h&=7,g?(d=e,0!==h&&(p=i=i||[]),y&&!s&&(s=function(t){return checkInRHS(t)===e}),b=s):(d=e.prototype,0!==h&&(p=n=n||[])),0!==h&&!y){var I=g?l:c,w=I.get(v)||0;if(!0===w||3===w&&4!==h||4===w&&3!==h)throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+v);I.set(v,!(!w&&h>2)||h)}applyMemberDec(o,d,f,m,v,h,g,y,p,b,a)}}return pushInitializers(o,n),pushInitializers(o,i),o}function pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r<t.length;r++)t[r].call(e);return e}))}function applyClassDecs(e,t,r,a){if(t.length){for(var n=[],i=e,s=e.name,o=r?2:1,c=t.length-1;c>=0;c-=o){var l={v:!1};try{var u=t[c].call(r?t[c-1]:void 0,i,{kind:"class",name:s,addInitializer:createAddInitializerMethod(n,l),metadata:a})}finally{l.v=!0}void 0!==u&&(assertValidReturnValue(5,u),i=u)}return[defineMetadata(i,a),function(){for(var e=0;e<n.length;e++)n[e].call(i)}]}}function defineMetadata(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}export default function applyDecs2305(e,t,r,a,n,i){if(arguments.length>=6)var s=i[Symbol.metadata||Symbol.for("Symbol.metadata")];var o=Object.create(void 0===s?null:s),c=applyMemberDecs(e,t,n,o);return r.length||defineMetadata(e,o),{e:c,get c(){return applyClassDecs(e,r,a,o)}}}'),
|
|
108804
108972
|
asyncGeneratorDelegate: helper("7.0.0-beta.0", 'import OverloadYield from"OverloadYield";export default function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise((function(n){n(t[e](r))})),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}'),
|
|
108805
108973
|
asyncIterator: helper("7.15.9", 'export default function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then((function(r){return{value:r,done:n}}))}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.return;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}'),
|
|
108806
108974
|
awaitAsyncGenerator: helper("7.0.0-beta.0", 'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}'),
|
|
108807
108975
|
checkInRHS: helper("7.20.5", `export default function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}`),
|
|
108808
108976
|
defineAccessor: helper("7.20.7", "export default function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}"),
|
|
108809
108977
|
dispose: helper("7.22.0", 'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=r,this.error=e,this.stack=(new Error).stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}export default function _dispose(r,e,s){function next(){for(;r.length>0;)try{var o=r.pop(),p=o.d.call(o.v);if(o.a)return Promise.resolve(p).then(next,err)}catch(r){return err(r)}if(s)throw e}function err(r){return e=s?new dispose_SuppressedError(r,e):r,s=!0,next()}return next()}'),
|
|
108978
|
+
importDeferProxy: helper("7.23.0", "export default function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}"),
|
|
108810
108979
|
iterableToArrayLimit: helper("7.0.0-beta.0", 'export default function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}'),
|
|
108811
108980
|
iterableToArrayLimitLoose: helper("7.0.0-beta.0", 'export default function _iterableToArrayLimitLoose(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var o,l=[];for(t=t.call(e);e.length<r&&!(o=t.next()).done;)l.push(o.value);return l}}'),
|
|
108812
108981
|
jsx: helper("7.0.0-beta.0", 'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=new Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}'),
|
|
@@ -110604,6 +110773,11 @@ var require_helpers = __commonJS({
|
|
|
110604
110773
|
export default function _identity(x) {
|
|
110605
110774
|
return x;
|
|
110606
110775
|
}
|
|
110776
|
+
`;
|
|
110777
|
+
helpers.nullishReceiverError = helper("7.22.6")`
|
|
110778
|
+
export default function _nullishReceiverError(r) {
|
|
110779
|
+
throw new TypeError("Cannot set property of null or undefined.");
|
|
110780
|
+
}
|
|
110607
110781
|
`;
|
|
110608
110782
|
}
|
|
110609
110783
|
});
|
|
@@ -111429,11 +111603,14 @@ var require_rewrite_live_references = __commonJS({
|
|
|
111429
111603
|
var _helperSimpleAccess = require_lib17();
|
|
111430
111604
|
var {
|
|
111431
111605
|
assignmentExpression,
|
|
111432
|
-
callExpression,
|
|
111433
111606
|
cloneNode,
|
|
111434
111607
|
expressionStatement,
|
|
111435
111608
|
getOuterBindingIdentifiers,
|
|
111436
111609
|
identifier,
|
|
111610
|
+
isArrowFunctionExpression,
|
|
111611
|
+
isClassExpression,
|
|
111612
|
+
isFunctionExpression,
|
|
111613
|
+
isIdentifier,
|
|
111437
111614
|
isMemberExpression,
|
|
111438
111615
|
isVariableDeclaration,
|
|
111439
111616
|
jsxIdentifier,
|
|
@@ -111463,7 +111640,7 @@ var require_rewrite_live_references = __commonJS({
|
|
|
111463
111640
|
}
|
|
111464
111641
|
} while (path15 = path15.parentPath);
|
|
111465
111642
|
}
|
|
111466
|
-
function rewriteLiveReferences(programPath, metadata) {
|
|
111643
|
+
function rewriteLiveReferences(programPath, metadata, wrapReference) {
|
|
111467
111644
|
const imported = /* @__PURE__ */ new Map();
|
|
111468
111645
|
const exported = /* @__PURE__ */ new Map();
|
|
111469
111646
|
const requeueInParent = (path15) => {
|
|
@@ -111503,18 +111680,21 @@ var require_rewrite_live_references = __commonJS({
|
|
|
111503
111680
|
scope: programPath.scope,
|
|
111504
111681
|
imported,
|
|
111505
111682
|
exported,
|
|
111506
|
-
buildImportReference
|
|
111683
|
+
buildImportReference([source, importName, localName], identNode) {
|
|
111507
111684
|
const meta = metadata.source.get(source);
|
|
111508
111685
|
meta.referenced = true;
|
|
111509
111686
|
if (localName) {
|
|
111510
|
-
if (meta.
|
|
111511
|
-
|
|
111687
|
+
if (meta.wrap) {
|
|
111688
|
+
var _wrapReference;
|
|
111689
|
+
identNode = (_wrapReference = wrapReference(identNode, meta.wrap)) != null ? _wrapReference : identNode;
|
|
111512
111690
|
}
|
|
111513
111691
|
return identNode;
|
|
111514
111692
|
}
|
|
111515
111693
|
let namespace = identifier(meta.name);
|
|
111516
|
-
if (meta.
|
|
111517
|
-
|
|
111694
|
+
if (meta.wrap) {
|
|
111695
|
+
var _wrapReference2;
|
|
111696
|
+
namespace = (_wrapReference2 = wrapReference(namespace, meta.wrap)) != null ? _wrapReference2 : namespace;
|
|
111697
|
+
}
|
|
111518
111698
|
if (importName === "default" && meta.interop === "node-default") {
|
|
111519
111699
|
return namespace;
|
|
111520
111700
|
}
|
|
@@ -111553,14 +111733,34 @@ var require_rewrite_live_references = __commonJS({
|
|
|
111553
111733
|
exported,
|
|
111554
111734
|
metadata
|
|
111555
111735
|
} = this;
|
|
111556
|
-
|
|
111557
|
-
|
|
111558
|
-
|
|
111559
|
-
|
|
111560
|
-
|
|
111561
|
-
|
|
111736
|
+
const isVar = path15.node.kind === "var";
|
|
111737
|
+
for (const decl of path15.get("declarations")) {
|
|
111738
|
+
const {
|
|
111739
|
+
id
|
|
111740
|
+
} = decl.node;
|
|
111741
|
+
let {
|
|
111742
|
+
init: init2
|
|
111743
|
+
} = decl.node;
|
|
111744
|
+
if (isIdentifier(id) && exported.has(id.name) && !isArrowFunctionExpression(init2) && (!isFunctionExpression(init2) || init2.id) && (!isClassExpression(init2) || init2.id)) {
|
|
111745
|
+
if (!init2) {
|
|
111746
|
+
if (isVar) {
|
|
111747
|
+
continue;
|
|
111748
|
+
} else {
|
|
111749
|
+
init2 = path15.scope.buildUndefinedNode();
|
|
111750
|
+
}
|
|
111751
|
+
}
|
|
111752
|
+
decl.node.init = buildBindingExportAssignmentExpression(metadata, exported.get(id.name), init2, path15.scope);
|
|
111753
|
+
requeueInParent(decl.get("init"));
|
|
111754
|
+
} else {
|
|
111755
|
+
for (const localName of Object.keys(decl.getOuterBindingIdentifiers())) {
|
|
111756
|
+
if (exported.has(localName)) {
|
|
111757
|
+
const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exported.get(localName), identifier(localName), path15.scope));
|
|
111758
|
+
statement._blockHoist = path15.node._blockHoist;
|
|
111759
|
+
requeueInParent(path15.insertAfter(statement)[0]);
|
|
111760
|
+
}
|
|
111761
|
+
}
|
|
111562
111762
|
}
|
|
111563
|
-
}
|
|
111763
|
+
}
|
|
111564
111764
|
}
|
|
111565
111765
|
};
|
|
111566
111766
|
var buildBindingExportAssignmentExpression = (metadata, exportNames, localExpr, scope) => {
|
|
@@ -111810,7 +112010,7 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111810
112010
|
function normalizeModuleAndLoadMetadata(programPath, exportName, {
|
|
111811
112011
|
importInterop,
|
|
111812
112012
|
initializeReexports = false,
|
|
111813
|
-
|
|
112013
|
+
getWrapperPayload,
|
|
111814
112014
|
esNamespaceOnly = false,
|
|
111815
112015
|
filename
|
|
111816
112016
|
}) {
|
|
@@ -111825,12 +112025,17 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111825
112025
|
hasExports: hasExports2
|
|
111826
112026
|
} = getModuleMetadata(programPath, {
|
|
111827
112027
|
initializeReexports,
|
|
111828
|
-
|
|
112028
|
+
getWrapperPayload
|
|
111829
112029
|
}, stringSpecifiers);
|
|
111830
112030
|
removeImportExportDeclarations(programPath);
|
|
111831
112031
|
for (const [source, metadata] of sources) {
|
|
111832
|
-
|
|
111833
|
-
|
|
112032
|
+
const {
|
|
112033
|
+
importsNamespace,
|
|
112034
|
+
imports
|
|
112035
|
+
} = metadata;
|
|
112036
|
+
if (importsNamespace.size > 0 && imports.size === 0) {
|
|
112037
|
+
const [nameOfnamespace] = importsNamespace;
|
|
112038
|
+
metadata.name = nameOfnamespace;
|
|
111834
112039
|
}
|
|
111835
112040
|
const resolvedInterop = resolveImportInterop(importInterop, source, filename);
|
|
111836
112041
|
if (resolvedInterop === "none") {
|
|
@@ -111875,12 +112080,13 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111875
112080
|
}
|
|
111876
112081
|
}
|
|
111877
112082
|
function getModuleMetadata(programPath, {
|
|
111878
|
-
|
|
112083
|
+
getWrapperPayload,
|
|
111879
112084
|
initializeReexports
|
|
111880
112085
|
}, stringSpecifiers) {
|
|
111881
112086
|
const localData = getLocalExportMetadata(programPath, initializeReexports, stringSpecifiers);
|
|
112087
|
+
const importNodes = /* @__PURE__ */ new Map();
|
|
111882
112088
|
const sourceData = /* @__PURE__ */ new Map();
|
|
111883
|
-
const getData = (sourceNode) => {
|
|
112089
|
+
const getData = (sourceNode, node) => {
|
|
111884
112090
|
const source = sourceNode.value;
|
|
111885
112091
|
let data = sourceData.get(source);
|
|
111886
112092
|
if (!data) {
|
|
@@ -111893,17 +112099,23 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111893
112099
|
reexports: /* @__PURE__ */ new Map(),
|
|
111894
112100
|
reexportNamespace: /* @__PURE__ */ new Set(),
|
|
111895
112101
|
reexportAll: null,
|
|
111896
|
-
|
|
112102
|
+
wrap: null,
|
|
112103
|
+
get lazy() {
|
|
112104
|
+
return this.wrap === "lazy";
|
|
112105
|
+
},
|
|
111897
112106
|
referenced: false
|
|
111898
112107
|
};
|
|
111899
112108
|
sourceData.set(source, data);
|
|
112109
|
+
importNodes.set(source, [node]);
|
|
112110
|
+
} else {
|
|
112111
|
+
importNodes.get(source).push(node);
|
|
111900
112112
|
}
|
|
111901
112113
|
return data;
|
|
111902
112114
|
};
|
|
111903
112115
|
let hasExports2 = false;
|
|
111904
112116
|
programPath.get("body").forEach((child) => {
|
|
111905
112117
|
if (child.isImportDeclaration()) {
|
|
111906
|
-
const data = getData(child.node.source);
|
|
112118
|
+
const data = getData(child.node.source, child.node);
|
|
111907
112119
|
if (!data.loc)
|
|
111908
112120
|
data.loc = child.node.loc;
|
|
111909
112121
|
child.get("specifiers").forEach((spec) => {
|
|
@@ -111945,7 +112157,7 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111945
112157
|
});
|
|
111946
112158
|
} else if (child.isExportAllDeclaration()) {
|
|
111947
112159
|
hasExports2 = true;
|
|
111948
|
-
const data = getData(child.node.source);
|
|
112160
|
+
const data = getData(child.node.source, child.node);
|
|
111949
112161
|
if (!data.loc)
|
|
111950
112162
|
data.loc = child.node.loc;
|
|
111951
112163
|
data.reexportAll = {
|
|
@@ -111954,7 +112166,7 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111954
112166
|
data.referenced = true;
|
|
111955
112167
|
} else if (child.isExportNamedDeclaration() && child.node.source) {
|
|
111956
112168
|
hasExports2 = true;
|
|
111957
|
-
const data = getData(child.node.source);
|
|
112169
|
+
const data = getData(child.node.source, child.node);
|
|
111958
112170
|
if (!data.loc)
|
|
111959
112171
|
data.loc = child.node.loc;
|
|
111960
112172
|
child.get("specifiers").forEach((spec) => {
|
|
@@ -111999,17 +112211,9 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
111999
112211
|
metadata.interop = "default";
|
|
112000
112212
|
}
|
|
112001
112213
|
}
|
|
112002
|
-
|
|
112003
|
-
|
|
112004
|
-
|
|
112005
|
-
metadata.lazy = !/\./.test(source);
|
|
112006
|
-
} else if (Array.isArray(lazy)) {
|
|
112007
|
-
metadata.lazy = lazy.indexOf(source) !== -1;
|
|
112008
|
-
} else if (typeof lazy === "function") {
|
|
112009
|
-
metadata.lazy = lazy(source);
|
|
112010
|
-
} else {
|
|
112011
|
-
throw new Error(`.lazy must be a boolean, string array, or function`);
|
|
112012
|
-
}
|
|
112214
|
+
if (getWrapperPayload) {
|
|
112215
|
+
for (const [source, metadata] of sourceData) {
|
|
112216
|
+
metadata.wrap = getWrapperPayload(source, metadata, importNodes.get(source));
|
|
112013
112217
|
}
|
|
112014
112218
|
}
|
|
112015
112219
|
return {
|
|
@@ -112142,6 +112346,43 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
112142
112346
|
}
|
|
112143
112347
|
});
|
|
112144
112348
|
|
|
112349
|
+
// ../../node_modules/@babel/helper-module-transforms/lib/lazy-modules.js
|
|
112350
|
+
var require_lazy_modules = __commonJS({
|
|
112351
|
+
"../../node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"(exports) {
|
|
112352
|
+
"use strict";
|
|
112353
|
+
Object.defineProperty(exports, "__esModule", {
|
|
112354
|
+
value: true
|
|
112355
|
+
});
|
|
112356
|
+
exports.toGetWrapperPayload = toGetWrapperPayload;
|
|
112357
|
+
exports.wrapReference = wrapReference;
|
|
112358
|
+
var _core = require_lib34();
|
|
112359
|
+
var _normalizeAndLoadMetadata = require_normalize_and_load_metadata();
|
|
112360
|
+
function toGetWrapperPayload(lazy) {
|
|
112361
|
+
return (source, metadata) => {
|
|
112362
|
+
if (lazy === false)
|
|
112363
|
+
return null;
|
|
112364
|
+
if ((0, _normalizeAndLoadMetadata.isSideEffectImport)(metadata) || metadata.reexportAll)
|
|
112365
|
+
return null;
|
|
112366
|
+
if (lazy === true) {
|
|
112367
|
+
return /\./.test(source) ? null : "lazy";
|
|
112368
|
+
}
|
|
112369
|
+
if (Array.isArray(lazy)) {
|
|
112370
|
+
return lazy.indexOf(source) === -1 ? null : "lazy";
|
|
112371
|
+
}
|
|
112372
|
+
if (typeof lazy === "function") {
|
|
112373
|
+
return lazy(source) ? "lazy" : null;
|
|
112374
|
+
}
|
|
112375
|
+
throw new Error(`.lazy must be a boolean, string array, or function`);
|
|
112376
|
+
};
|
|
112377
|
+
}
|
|
112378
|
+
function wrapReference(ref, payload) {
|
|
112379
|
+
if (payload === "lazy")
|
|
112380
|
+
return _core.types.callExpression(ref, []);
|
|
112381
|
+
return null;
|
|
112382
|
+
}
|
|
112383
|
+
}
|
|
112384
|
+
});
|
|
112385
|
+
|
|
112145
112386
|
// ../../node_modules/@babel/helper-module-transforms/lib/dynamic-import.js
|
|
112146
112387
|
var require_dynamic_import = __commonJS({
|
|
112147
112388
|
"../../node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"(exports) {
|
|
@@ -112152,17 +112393,13 @@ var require_dynamic_import = __commonJS({
|
|
|
112152
112393
|
exports.buildDynamicImport = buildDynamicImport;
|
|
112153
112394
|
var _core = require_lib34();
|
|
112154
112395
|
{
|
|
112155
|
-
{
|
|
112156
|
-
|
|
112157
|
-
|
|
112158
|
-
|
|
112159
|
-
return _core.types.isStringLiteral(source) || _core.types.isTemplateLiteral(source) ? source : _core.template.expression.ast`\`\${${source}}\``;
|
|
112160
|
-
};
|
|
112161
|
-
}
|
|
112162
|
-
}
|
|
112396
|
+
exports.getDynamicImportSource = function getDynamicImportSource(node) {
|
|
112397
|
+
const [source] = node.arguments;
|
|
112398
|
+
return _core.types.isStringLiteral(source) || _core.types.isTemplateLiteral(source) ? source : _core.template.expression.ast`\`\${${source}}\``;
|
|
112399
|
+
};
|
|
112163
112400
|
}
|
|
112164
112401
|
function buildDynamicImport(node, deferToThen, wrapWithPromise, builder) {
|
|
112165
|
-
const
|
|
112402
|
+
const specifier = _core.types.isCallExpression(node) ? node.arguments[0] : node.source;
|
|
112166
112403
|
if (_core.types.isStringLiteral(specifier) || _core.types.isTemplateLiteral(specifier) && specifier.quasis.length === 0) {
|
|
112167
112404
|
if (deferToThen) {
|
|
112168
112405
|
return _core.template.expression.ast`
|
|
@@ -112303,6 +112540,7 @@ var require_lib18 = __commonJS({
|
|
|
112303
112540
|
var _rewriteThis = require_rewrite_this();
|
|
112304
112541
|
var _rewriteLiveReferences = require_rewrite_live_references();
|
|
112305
112542
|
var _normalizeAndLoadMetadata = require_normalize_and_load_metadata();
|
|
112543
|
+
var Lazy = require_lazy_modules();
|
|
112306
112544
|
var _dynamicImport = require_dynamic_import();
|
|
112307
112545
|
var _getModuleName = require_get_module_name();
|
|
112308
112546
|
var {
|
|
@@ -112321,11 +112559,7 @@ var require_lib18 = __commonJS({
|
|
|
112321
112559
|
variableDeclarator
|
|
112322
112560
|
} = _core.types;
|
|
112323
112561
|
{
|
|
112324
|
-
|
|
112325
|
-
{
|
|
112326
|
-
exports.getDynamicImportSource = require_dynamic_import().getDynamicImportSource;
|
|
112327
|
-
}
|
|
112328
|
-
}
|
|
112562
|
+
exports.getDynamicImportSource = require_dynamic_import().getDynamicImportSource;
|
|
112329
112563
|
}
|
|
112330
112564
|
function rewriteModuleStatementsAndPrepareHeader(path15, {
|
|
112331
112565
|
exportName,
|
|
@@ -112335,6 +112569,8 @@ var require_lib18 = __commonJS({
|
|
|
112335
112569
|
noInterop,
|
|
112336
112570
|
importInterop = noInterop ? "none" : "babel",
|
|
112337
112571
|
lazy,
|
|
112572
|
+
getWrapperPayload = Lazy.toGetWrapperPayload(lazy != null ? lazy : false),
|
|
112573
|
+
wrapReference = Lazy.wrapReference,
|
|
112338
112574
|
esNamespaceOnly,
|
|
112339
112575
|
filename,
|
|
112340
112576
|
constantReexports = arguments[1].loose,
|
|
@@ -112347,14 +112583,14 @@ var require_lib18 = __commonJS({
|
|
|
112347
112583
|
const meta = (0, _normalizeAndLoadMetadata.default)(path15, exportName, {
|
|
112348
112584
|
importInterop,
|
|
112349
112585
|
initializeReexports: constantReexports,
|
|
112350
|
-
|
|
112586
|
+
getWrapperPayload,
|
|
112351
112587
|
esNamespaceOnly,
|
|
112352
112588
|
filename
|
|
112353
112589
|
});
|
|
112354
112590
|
if (!allowTopLevelThis) {
|
|
112355
112591
|
(0, _rewriteThis.default)(path15);
|
|
112356
112592
|
}
|
|
112357
|
-
(0, _rewriteLiveReferences.default)(path15, meta);
|
|
112593
|
+
(0, _rewriteLiveReferences.default)(path15, meta, wrapReference);
|
|
112358
112594
|
if (strictMode !== false) {
|
|
112359
112595
|
const hasStrict = path15.node.directives.some((directive2) => {
|
|
112360
112596
|
return directive2.value.value === "use strict";
|
|
@@ -112372,7 +112608,7 @@ var require_lib18 = __commonJS({
|
|
|
112372
112608
|
meta.exportNameListName = nameList.name;
|
|
112373
112609
|
headers.push(nameList.statement);
|
|
112374
112610
|
}
|
|
112375
|
-
headers.push(...buildExportInitializationStatements(path15, meta, constantReexports, noIncompleteNsImportDetection));
|
|
112611
|
+
headers.push(...buildExportInitializationStatements(path15, meta, wrapReference, constantReexports, noIncompleteNsImportDetection));
|
|
112376
112612
|
return {
|
|
112377
112613
|
meta,
|
|
112378
112614
|
headers
|
|
@@ -112402,7 +112638,8 @@ var require_lib18 = __commonJS({
|
|
|
112402
112638
|
}
|
|
112403
112639
|
return callExpression(programPath.hub.addHelper(helper), [expr]);
|
|
112404
112640
|
}
|
|
112405
|
-
function buildNamespaceInitStatements(metadata, sourceMetadata, constantReexports = false) {
|
|
112641
|
+
function buildNamespaceInitStatements(metadata, sourceMetadata, constantReexports = false, wrapReference = Lazy.wrapReference) {
|
|
112642
|
+
var _wrapReference;
|
|
112406
112643
|
const statements = [];
|
|
112407
112644
|
const srcNamespaceId = identifier(sourceMetadata.name);
|
|
112408
112645
|
for (const localName of sourceMetadata.importsNamespace) {
|
|
@@ -112413,12 +112650,12 @@ var require_lib18 = __commonJS({
|
|
|
112413
112650
|
SOURCE: cloneNode(srcNamespaceId)
|
|
112414
112651
|
}));
|
|
112415
112652
|
}
|
|
112416
|
-
const srcNamespace =
|
|
112653
|
+
const srcNamespace = (_wrapReference = wrapReference(srcNamespaceId, sourceMetadata.wrap)) != null ? _wrapReference : srcNamespaceId;
|
|
112417
112654
|
if (constantReexports) {
|
|
112418
|
-
statements.push(...buildReexportsFromMeta(metadata, sourceMetadata, true));
|
|
112655
|
+
statements.push(...buildReexportsFromMeta(metadata, sourceMetadata, true, wrapReference));
|
|
112419
112656
|
}
|
|
112420
112657
|
for (const exportName of sourceMetadata.reexportNamespace) {
|
|
112421
|
-
statements.push((
|
|
112658
|
+
statements.push((!_core.types.isIdentifier(srcNamespace) ? _core.template.statement`
|
|
112422
112659
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
112423
112660
|
enumerable: true,
|
|
112424
112661
|
get: function() {
|
|
@@ -112450,8 +112687,10 @@ var require_lib18 = __commonJS({
|
|
|
112450
112687
|
});
|
|
112451
112688
|
`
|
|
112452
112689
|
};
|
|
112453
|
-
function buildReexportsFromMeta(meta, metadata, constantReexports) {
|
|
112454
|
-
|
|
112690
|
+
function buildReexportsFromMeta(meta, metadata, constantReexports, wrapReference) {
|
|
112691
|
+
var _wrapReference2;
|
|
112692
|
+
let namespace = identifier(metadata.name);
|
|
112693
|
+
namespace = (_wrapReference2 = wrapReference(namespace, metadata.wrap)) != null ? _wrapReference2 : namespace;
|
|
112455
112694
|
const {
|
|
112456
112695
|
stringSpecifiers
|
|
112457
112696
|
} = meta;
|
|
@@ -112548,7 +112787,7 @@ var require_lib18 = __commonJS({
|
|
|
112548
112787
|
statement: variableDeclaration("var", [variableDeclarator(name, valueToNode(exportedVars))])
|
|
112549
112788
|
};
|
|
112550
112789
|
}
|
|
112551
|
-
function buildExportInitializationStatements(programPath, metadata, constantReexports = false, noIncompleteNsImportDetection = false) {
|
|
112790
|
+
function buildExportInitializationStatements(programPath, metadata, wrapReference, constantReexports = false, noIncompleteNsImportDetection = false) {
|
|
112552
112791
|
const initStatements = [];
|
|
112553
112792
|
for (const [localName, data] of metadata.local) {
|
|
112554
112793
|
if (data.kind === "import") {
|
|
@@ -112562,7 +112801,7 @@ var require_lib18 = __commonJS({
|
|
|
112562
112801
|
}
|
|
112563
112802
|
for (const data of metadata.source.values()) {
|
|
112564
112803
|
if (!constantReexports) {
|
|
112565
|
-
const reexportsStatements = buildReexportsFromMeta(metadata, data, false);
|
|
112804
|
+
const reexportsStatements = buildReexportsFromMeta(metadata, data, false, wrapReference);
|
|
112566
112805
|
const reexports = [...data.reexports.keys()];
|
|
112567
112806
|
for (let i2 = 0; i2 < reexportsStatements.length; i2++) {
|
|
112568
112807
|
initStatements.push([reexports[i2], reexportsStatements[i2]]);
|
|
@@ -116508,7 +116747,7 @@ var require_browsers2 = __commonJS({
|
|
|
116508
116747
|
// ../../node_modules/caniuse-lite/data/browserVersions.js
|
|
116509
116748
|
var require_browserVersions = __commonJS({
|
|
116510
116749
|
"../../node_modules/caniuse-lite/data/browserVersions.js"(exports, module2) {
|
|
116511
|
-
module2.exports = { "0": "113", "1": "114", "2": "115", "3": "
|
|
116750
|
+
module2.exports = { "0": "113", "1": "114", "2": "115", "3": "116", "4": "5", "5": "19", "6": "23", "7": "24", "8": "25", "9": "26", A: "10", B: "11", C: "12", D: "117", E: "7", F: "8", G: "9", H: "15", I: "4", J: "6", K: "13", L: "14", M: "16", N: "17", O: "18", P: "79", Q: "80", R: "81", S: "83", T: "84", U: "85", V: "86", W: "87", X: "88", Y: "89", Z: "90", a: "91", b: "92", c: "93", d: "94", e: "95", f: "96", g: "97", h: "98", i: "99", j: "100", k: "101", l: "102", m: "20", n: "21", o: "22", p: "73", q: "103", r: "104", s: "105", t: "106", u: "107", v: "108", w: "109", x: "110", y: "111", z: "112", AB: "27", BB: "28", CB: "29", DB: "30", EB: "31", FB: "32", GB: "33", HB: "34", IB: "35", JB: "36", KB: "37", LB: "38", MB: "39", NB: "40", OB: "41", PB: "42", QB: "43", RB: "44", SB: "45", TB: "46", UB: "47", VB: "48", WB: "49", XB: "50", YB: "51", ZB: "52", aB: "53", bB: "54", cB: "55", dB: "56", eB: "57", fB: "58", gB: "60", hB: "62", iB: "63", jB: "64", kB: "65", lB: "66", mB: "67", nB: "68", oB: "69", pB: "70", qB: "71", rB: "72", sB: "74", tB: "75", uB: "76", vB: "77", wB: "78", xB: "11.1", yB: "12.1", zB: "15.5", "0B": "16.0", "1B": "17.0", "2B": "3", "3B": "59", "4B": "61", "5B": "82", "6B": "118", "7B": "119", "8B": "120", "9B": "3.2", AC: "10.1", BC: "13.1", CC: "15.2-15.3", DC: "15.4", EC: "16.1", FC: "16.2", GC: "16.3", HC: "16.4", IC: "16.5", JC: "16.6", KC: "17.1", LC: "11.5", MC: "4.2-4.3", NC: "5.5", OC: "2", PC: "3.5", QC: "3.6", RC: "3.1", SC: "5.1", TC: "6.1", UC: "7.1", VC: "9.1", WC: "14.1", XC: "15.1", YC: "15.6", ZC: "TP", aC: "9.5-9.6", bC: "10.0-10.1", cC: "10.5", dC: "10.6", eC: "11.6", fC: "4.0-4.1", gC: "5.0-5.1", hC: "6.0-6.1", iC: "7.0-7.1", jC: "8.1-8.4", kC: "9.0-9.2", lC: "9.3", mC: "10.0-10.2", nC: "10.3", oC: "11.0-11.2", pC: "11.3-11.4", qC: "12.0-12.1", rC: "12.2-12.5", sC: "13.0-13.1", tC: "13.2", uC: "13.3", vC: "13.4-13.7", wC: "14.0-14.4", xC: "14.5-14.8", yC: "15.0-15.1", zC: "15.6-15.7", "0C": "all", "1C": "2.1", "2C": "2.2", "3C": "2.3", "4C": "4.1", "5C": "4.4", "6C": "4.4.3-4.4.4", "7C": "5.0-5.4", "8C": "6.2-6.4", "9C": "7.2-7.4", AD: "8.2", BD: "9.2", CD: "11.1-11.2", DD: "12.0", ED: "13.0", FD: "14.0", GD: "15.0", HD: "18.0", ID: "19.0", JD: "13.18", KD: "2.5", LD: "3.0-3.1" };
|
|
116512
116751
|
}
|
|
116513
116752
|
});
|
|
116514
116753
|
|
|
@@ -116522,7 +116761,7 @@ var require_browserVersions2 = __commonJS({
|
|
|
116522
116761
|
// ../../node_modules/caniuse-lite/data/agents.js
|
|
116523
116762
|
var require_agents = __commonJS({
|
|
116524
116763
|
"../../node_modules/caniuse-lite/data/agents.js"(exports, module2) {
|
|
116525
|
-
module2.exports = { A: { A: { K: 0, F: 0, G: 0.0268696, H: 0.0537391, A: 0, B: 0.416478, KC: 0 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "KC", "K", "F", "G", "H", "A", "B", "", "", ""], E: "IE", F: { KC: 962323200, K: 998870400, F: 1161129600, G: 1237420800, H: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { "0": 0.035192, "1": 0.607062, "2": 3.20687, C: 4399e-6, L: 4399e-6, M: 4399e-6, I: 4399e-6, N: 0, D: 4399e-6, O: 8798e-6, P: 0, Q: 4399e-6, R: 4399e-6, S: 4399e-6, T: 8798e-6, U: 4399e-6, V: 8798e-6, W: 4399e-6, X: 4399e-6, Y: 4399e-6, Z: 8798e-6, a: 0, b: 0.013197, c: 0, d: 0, e: 0, f: 0, g: 0, h: 0, i: 0.017596, j: 0, k: 0, l: 0, q: 0, r: 0, s: 0, t: 0, u: 8798e-6, v: 0.013197, w: 0.083581, x: 0.013197, y: 0.092379, z: 0.096778, E: 1.03376 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "L", "M", "I", "N", "D", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "E", "", "", ""], E: "Edge", F: { "0": 1683158400, "1": 1685664e3, "2": 1689897600, C: 1438128e3, L: 1447286400, M: 1470096e3, I: 1491868800, N: 1508198400, D: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, c: 1630627200, d: 1632441600, e: 1634774400, f: 1637539200, g: 1641427200, h: 1643932800, i: 1646265600, j: 1649635200, k: 1651190400, l: 1653955200, q: 1655942400, r: 1659657600, s: 1661990400, t: 1664755200, u: 1666915200, v: 1670198400, w: 1673481600, x: 1675900800, y: 1678665600, z: 1680825600, E: 1692576e3 }, D: { C: "ms", L: "ms", M: "ms", I: "ms", N: "ms", D: "ms", O: "ms" } }, C: { A: { "0": 0.026394, "1": 0.030793, "2": 0.580668, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, LC: 0, "0B": 0, J: 0, K: 0, F: 0, G: 0, H: 0, A: 0, B: 8798e-6, C: 0, L: 0, M: 0, I: 0, N: 0, D: 0, O: 0, m: 0, n: 0, o: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 0, IB: 0, JB: 0, KB: 0, LB: 0, MB: 0, NB: 0, OB: 0, PB: 8798e-6, QB: 4399e-6, RB: 0, SB: 0, TB: 0, UB: 4399e-6, VB: 0, WB: 8798e-6, XB: 0, YB: 0.052788, ZB: 4399e-6, aB: 4399e-6, bB: 0, cB: 8798e-6, dB: 0, eB: 0, "1B": 4399e-6, fB: 0, "2B": 0, gB: 0, hB: 0, iB: 0, jB: 0, kB: 0, lB: 0, mB: 0, nB: 0, oB: 0, pB: 0, qB: 0.030793, p: 0, rB: 0, sB: 0, tB: 0, uB: 0, vB: 0.039591, P: 0, Q: 0, R: 0, "3B": 0, S: 8798e-6, T: 0, U: 0, V: 0, W: 0, X: 4399e-6, Y: 0, Z: 4399e-6, a: 8798e-6, b: 0, c: 0, d: 0.013197, e: 0, f: 0, g: 0, h: 0, i: 0, j: 0, k: 0, l: 0.118773, q: 0.017596, r: 0, s: 4399e-6, t: 4399e-6, u: 4399e-6, v: 8798e-6, w: 8798e-6, x: 8798e-6, y: 0.013197, z: 0.065985, E: 1.39008, "4B": 0.052788, "5B": 0, "6B": 0, MC: 0, NC: 0, OC: 0 }, B: "moz", C: ["LC", "0B", "NC", "OC", "J", "3", "K", "F", "G", "H", "A", "B", "C", "L", "M", "I", "N", "D", "O", "4", "m", "n", "o", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "1B", "fB", "2B", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "p", "rB", "sB", "tB", "uB", "vB", "P", "Q", "R", "3B", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "E", "4B", "5B", "6B", "MC"], E: "Firefox", F: { "0": 1683590400, "1": 1686009600, "2": 1688428800, "3": 1308614400, "4": 1357603200, "5": 1372118400, "6": 1375747200, "7": 1379376e3, "8": 1386633600, "9": 1391472e3, LC: 1161648e3, "0B": 1213660800, NC: 124632e4, OC: 1264032e3, J: 1300752e3, K: 1313452800, F: 1317081600, G: 1317081600, H: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, L: 1335225600, M: 1338854400, I: 1342483200, N: 1346112e3, D: 1349740800, O: 1353628800, m: 1361232e3, n: 1364860800, o: 1368489600, AB: 1395100800, BB: 1398729600, CB: 1402358400, DB: 1405987200, EB: 1409616e3, FB: 1413244800, GB: 1417392e3, HB: 1421107200, IB: 1424736e3, JB: 1428278400, KB: 1431475200, LB: 1435881600, MB: 1439251200, NB: 144288e4, OB: 1446508800, PB: 1450137600, QB: 1453852800, RB: 1457395200, SB: 1461628800, TB: 1465257600, UB: 1470096e3, VB: 1474329600, WB: 1479168e3, XB: 1485216e3, YB: 1488844800, ZB: 149256e4, aB: 1497312e3, bB: 1502150400, cB: 1506556800, dB: 1510617600, eB: 1516665600, "1B": 1520985600, fB: 1525824e3, "2B": 1529971200, gB: 1536105600, hB: 1540252800, iB: 1544486400, jB: 154872e4, kB: 1552953600, lB: 1558396800, mB: 1562630400, nB: 1567468800, oB: 1571788800, pB: 1575331200, qB: 1578355200, p: 1581379200, rB: 1583798400, sB: 1586304e3, tB: 1588636800, uB: 1591056e3, vB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, "3B": 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, c: 1633392e3, d: 1635811200, e: 1638835200, f: 1641859200, g: 1644364800, h: 1646697600, i: 1649116800, j: 1651536e3, k: 1653955200, l: 1656374400, q: 1658793600, r: 1661212800, s: 1663632e3, t: 1666051200, u: 1668470400, v: 1670889600, w: 1673913600, x: 1676332800, y: 1678752e3, z: 1681171200, E: 1690848e3, "4B": 1693267200, "5B": null, "6B": null, MC: null } }, D: { A: { "0": 0.255142, "1": 2.10712, "2": 12.8099, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, J: 0, K: 0, F: 0, G: 0, H: 0, A: 0, B: 0, C: 0, L: 0, M: 0, I: 0, N: 0, D: 0, O: 0, m: 0, n: 0, o: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 4399e-6, HB: 0, IB: 0, JB: 0, KB: 0.013197, LB: 0, MB: 0, NB: 0, OB: 0, PB: 0, QB: 0, RB: 0, SB: 0, TB: 4399e-6, UB: 0.017596, VB: 0.030793, WB: 0.013197, XB: 0, YB: 0, ZB: 8798e-6, aB: 0, bB: 4399e-6, cB: 0.048389, dB: 4399e-6, eB: 0, "1B": 0, fB: 0.021995, "2B": 4399e-6, gB: 4399e-6, hB: 8798e-6, iB: 0, jB: 8798e-6, kB: 0.026394, lB: 4399e-6, mB: 0.039591, nB: 0.065985, oB: 0.039591, pB: 0.021995, qB: 0.026394, p: 0.030793, rB: 0.048389, sB: 0.048389, tB: 0.096778, uB: 0.026394, vB: 0.039591, P: 0.202354, Q: 0.079182, R: 0.057187, S: 0.114374, T: 0.030793, U: 0.083581, V: 0.092379, W: 0.08798, X: 0.048389, Y: 0.039591, Z: 0.048389, a: 0.061586, b: 0.035192, c: 0.127571, d: 0.030793, e: 0.017596, f: 0.026394, g: 0.026394, h: 0.061586, i: 0.04399, j: 0.035192, k: 0.035192, l: 0.039591, q: 0.211152, r: 0.052788, s: 0.048389, t: 0.052788, u: 0.123172, v: 0.180359, w: 1.83878, x: 0.149566, y: 0.285935, z: 0.228748, E: 5.7231, "4B": 0.017596, "5B": 4399e-6, "6B": 0 }, B: "webkit", C: ["", "", "", "", "", "", "J", "3", "K", "F", "G", "H", "A", "B", "C", "L", "M", "I", "N", "D", "O", "4", "m", "n", "o", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "1B", "fB", "2B", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "p", "rB", "sB", "tB", "uB", "vB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "E", "4B", "5B", "6B"], E: "Chrome", F: { "0": 1682985600, "1": 1685404800, "2": 1689724800, "3": 1274745600, "4": 1332892800, "5": 1348531200, "6": 1352246400, "7": 1357862400, "8": 1361404800, "9": 1364428800, J: 1264377600, K: 1283385600, F: 1287619200, G: 1291248e3, H: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, L: 1312243200, M: 1316131200, I: 1316131200, N: 1319500800, D: 1323734400, O: 1328659200, m: 133704e4, n: 1340668800, o: 1343692800, AB: 1369094400, BB: 1374105600, CB: 1376956800, DB: 1384214400, EB: 1389657600, FB: 1392940800, GB: 1397001600, HB: 1400544e3, IB: 1405468800, JB: 1409011200, KB: 141264e4, LB: 1416268800, MB: 1421798400, NB: 1425513600, OB: 1429401600, PB: 143208e4, QB: 1437523200, RB: 1441152e3, SB: 1444780800, TB: 1449014400, UB: 1453248e3, VB: 1456963200, WB: 1460592e3, XB: 1464134400, YB: 1469059200, ZB: 1472601600, aB: 1476230400, bB: 1480550400, cB: 1485302400, dB: 1489017600, eB: 149256e4, "1B": 1496707200, fB: 1500940800, "2B": 1504569600, gB: 1508198400, hB: 1512518400, iB: 1516752e3, jB: 1520294400, kB: 1523923200, lB: 1527552e3, mB: 1532390400, nB: 1536019200, oB: 1539648e3, pB: 1543968e3, qB: 154872e4, p: 1552348800, rB: 1555977600, sB: 1559606400, tB: 1564444800, uB: 1568073600, vB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, c: 1630368e3, d: 1632268800, e: 1634601600, f: 1637020800, g: 1641340800, h: 1643673600, i: 1646092800, j: 1648512e3, k: 1650931200, l: 1653350400, q: 1655769600, r: 1659398400, s: 1661817600, t: 1664236800, u: 1666656e3, v: 166968e4, w: 1673308800, x: 1675728e3, y: 1678147200, z: 1680566400, E: 1692057600, "4B": null, "5B": null, "6B": null } }, E: { A: { "3": 0, J: 0, K: 0, F: 0, G: 0, H: 0, A: 0, B: 0, C: 0, L: 0.017596, M: 0.105576, I: 0.017596, D: 0.026394, PC: 0, "7B": 0, QC: 8798e-6, RC: 0, SC: 0, TC: 0.140768, "8B": 0, wB: 4399e-6, xB: 0.030793, "9B": 0.136369, UC: 0.255142, VC: 0.039591, AC: 0.035192, BC: 0.070384, yB: 0.123172, WC: 0.576269, zB: 0.171561, CC: 0.180359, DC: 0.184758, EC: 0.422304, FC: 0.189157, GC: 1.15254, HC: 1.65402, XC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "PC", "7B", "J", "3", "QC", "K", "RC", "F", "SC", "G", "H", "TC", "A", "8B", "B", "wB", "C", "xB", "L", "9B", "M", "UC", "I", "VC", "AC", "BC", "yB", "WC", "zB", "CC", "DC", "EC", "FC", "GC", "HC", "D", "XC", ""], E: "Safari", F: { "3": 1275868800, PC: 1205798400, "7B": 1226534400, J: 1244419200, QC: 131112e4, K: 1343174400, RC: 13824e5, F: 13824e5, SC: 1410998400, G: 1413417600, H: 1443657600, TC: 1458518400, A: 1474329600, "8B": 1490572800, B: 1505779200, wB: 1522281600, C: 1537142400, xB: 1553472e3, L: 1568851200, "9B": 1585008e3, M: 1600214400, UC: 1619395200, I: 1632096e3, VC: 1635292800, AC: 1639353600, BC: 1647216e3, yB: 1652745600, WC: 1658275200, zB: 1662940800, CC: 1666569600, DC: 1670889600, EC: 1674432e3, FC: 1679875200, GC: 1684368e3, HC: 1690156800, D: null, XC: null } }, F: { A: { "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, H: 0, B: 0, C: 0, I: 0, N: 0, D: 0, O: 0, m: 0, n: 0, o: 0, AB: 4399e-6, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 0, IB: 0, JB: 0, KB: 0, LB: 0, MB: 0, NB: 0, OB: 0, PB: 0, QB: 0, RB: 0, SB: 0.013197, TB: 0, UB: 0, VB: 0, WB: 0, XB: 0, YB: 0, ZB: 0, aB: 0, bB: 0, cB: 0, dB: 0, eB: 0, fB: 0, gB: 0, hB: 0, iB: 0, jB: 0, kB: 0, lB: 0, mB: 0, nB: 0, oB: 0, pB: 0, qB: 0, p: 0, rB: 0, sB: 0, tB: 0, uB: 0, vB: 0, P: 0, Q: 0, R: 0, "3B": 0, S: 0, T: 0, U: 4399e-6, V: 0, W: 0, X: 0, Y: 0, Z: 0, a: 0, b: 0, c: 0, d: 0, e: 0.057187, f: 0, g: 0.079182, h: 0, i: 0.030793, j: 0.83581, k: 0.466294, l: 8798e-6, YC: 0, ZC: 0, aC: 0, bC: 0, wB: 0, IC: 0, cC: 0, xB: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "H", "YC", "ZC", "aC", "bC", "B", "wB", "IC", "cC", "C", "xB", "I", "N", "D", "O", "4", "m", "n", "o", "5", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "p", "rB", "sB", "tB", "uB", "vB", "P", "Q", "R", "3B", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "", "", ""], E: "Opera", F: { "4": 1390867200, "5": 1405987200, "6": 1409616e3, "7": 1413331200, "8": 1417132800, "9": 1422316800, H: 1150761600, YC: 1223424e3, ZC: 1251763200, aC: 1267488e3, bC: 1277942400, B: 1292457600, wB: 1302566400, IC: 1309219200, cC: 1323129600, C: 1323129600, xB: 1352073600, I: 1372723200, N: 1377561600, D: 1381104e3, O: 1386288e3, m: 1393891200, n: 1399334400, o: 1401753600, AB: 1425945600, BB: 1430179200, CB: 1433808e3, DB: 1438646400, EB: 1442448e3, FB: 1445904e3, GB: 1449100800, HB: 1454371200, IB: 1457308800, JB: 146232e4, KB: 1465344e3, LB: 1470096e3, MB: 1474329600, NB: 1477267200, OB: 1481587200, PB: 1486425600, QB: 1490054400, RB: 1494374400, SB: 1498003200, TB: 1502236800, UB: 1506470400, VB: 1510099200, WB: 1515024e3, XB: 1517961600, YB: 1521676800, ZB: 1525910400, aB: 1530144e3, bB: 1534982400, cB: 1537833600, dB: 1543363200, eB: 1548201600, fB: 1554768e3, gB: 1561593600, hB: 1566259200, iB: 1570406400, jB: 1573689600, kB: 1578441600, lB: 1583971200, mB: 1587513600, nB: 1592956800, oB: 1595894400, pB: 1600128e3, qB: 1603238400, p: 161352e4, rB: 1612224e3, sB: 1616544e3, tB: 1619568e3, uB: 1623715200, vB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, "3B": 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3, c: 1668643200, d: 1671062400, e: 1675209600, f: 1677024e3, g: 1679529600, h: 1681948800, i: 1684195200, j: 1687219200, k: 1690329600, l: 1692748800 }, D: { H: "o", B: "o", C: "o", YC: "o", ZC: "o", aC: "o", bC: "o", wB: "o", IC: "o", cC: "o", xB: "o" } }, G: { A: { G: 0, D: 0.0965185, "7B": 0, dC: 0, JC: 279764e-8, eC: 419646e-8, fC: 279764e-8, gC: 0.0125894, hC: 419646e-8, iC: 839291e-8, jC: 0.0391669, kC: 279764e-8, lC: 0.0545539, mC: 0.0223811, nC: 0.0195835, oC: 0.015387, pC: 0.257383, qC: 699409e-8, rC: 0.0111905, sC: 0.0181846, tC: 0.0573516, uC: 0.149674, vC: 0.257383, wC: 0.0965185, AC: 0.10631, BC: 0.120298, yB: 0.170656, xC: 1.13864, zB: 0.43783, CC: 0.863071, DC: 0.440628, EC: 0.879857, FC: 0.211222, GC: 2.6032, HC: 5.87084 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "7B", "dC", "JC", "eC", "fC", "gC", "G", "hC", "iC", "jC", "kC", "lC", "mC", "nC", "oC", "pC", "qC", "rC", "sC", "tC", "uC", "vC", "wC", "AC", "BC", "yB", "xC", "zB", "CC", "DC", "EC", "FC", "GC", "HC", "D", ""], E: "Safari on iOS", F: { "7B": 1270252800, dC: 1283904e3, JC: 1299628800, eC: 1331078400, fC: 1359331200, gC: 1394409600, G: 1410912e3, hC: 1413763200, iC: 1442361600, jC: 1458518400, kC: 1473724800, lC: 1490572800, mC: 1505779200, nC: 1522281600, oC: 1537142400, pC: 1553472e3, qC: 1568851200, rC: 1572220800, sC: 1580169600, tC: 1585008e3, uC: 1600214400, vC: 1619395200, wC: 1632096e3, AC: 1639353600, BC: 1647216e3, yB: 1652659200, xC: 1658275200, zB: 1662940800, CC: 1666569600, DC: 1670889600, EC: 1674432e3, FC: 1679875200, GC: 1684368e3, HC: null, D: null } }, H: { A: { yC: 1.08194 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yC", "", "", ""], E: "Opera Mini", F: { yC: 1426464e3 } }, I: { A: { "0B": 0, J: 0.0136938, E: 0, zC: 0, "0C": 684689e-8, "1C": 0, "2C": 0.0273876, JC: 0.0479282, "3C": 0, "4C": 0.212254 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "zC", "0C", "1C", "0B", "J", "2C", "JC", "3C", "4C", "E", "", "", ""], E: "Android Browser", F: { zC: 1256515200, "0C": 1274313600, "1C": 1291593600, "0B": 1298332800, J: 1318896e3, "2C": 1341792e3, JC: 1374624e3, "3C": 1386547200, "4C": 1401667200, E: 1692057600 } }, J: { A: { F: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "F", "A", "", "", ""], E: "Blackberry Browser", F: { F: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, p: 0, wB: 0, IC: 0, xB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "wB", "IC", "C", "xB", "p", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, wB: 1314835200, IC: 1318291200, C: 1330300800, xB: 1349740800, p: 1673827200 }, D: { p: "webkit" } }, L: { A: { E: 37.5486 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "", "", ""], E: "Chrome for Android", F: { E: 1692057600 } }, M: { A: { E: 0.263294 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "", "", ""], E: "Firefox for Android", F: { E: 1690848e3 } }, N: { A: { A: 0, B: 0 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { yB: 1.00276 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "yB", "", "", ""], E: "UC Browser for Android", F: { yB: 1687132800 }, D: { yB: "webkit" } }, P: { A: { J: 0.115947, m: 0.0843248, n: 0.210812, o: 0, "5C": 0, "6C": 0, "7C": 0.0421624, "8C": 0, "9C": 0, "8B": 0, AD: 0.0105406, BD: 0, CD: 0.0210812, DD: 0.0210812, ED: 0, zB: 0.0316218, FD: 0.0316218, GD: 0.0316218, HD: 0.052703 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "J", "5C", "6C", "7C", "8C", "9C", "8B", "AD", "BD", "CD", "DD", "ED", "zB", "FD", "GD", "HD", "m", "n", "o", "", "", ""], E: "Samsung Internet", F: { J: 1461024e3, "5C": 1481846400, "6C": 1509408e3, "7C": 1528329600, "8C": 1546128e3, "9C": 1554163200, "8B": 1567900800, AD: 1582588800, BD: 1593475200, CD: 1605657600, DD: 1618531200, ED: 1629072e3, zB: 1640736e3, FD: 1651708800, GD: 1659657600, HD: 1667260800, m: 1677369600, n: 1684454400, o: 1689292800 } }, Q: { A: { "9B": 0.173662 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "9B", "", "", ""], E: "QQ Browser", F: { "9B": 1663718400 } }, R: { A: { ID: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "ID", "", "", ""], E: "Baidu Browser", F: { ID: 1663027200 } }, S: { A: { JD: 0.05602, KD: 0 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "JD", "KD", "", "", ""], E: "KaiOS Browser", F: { JD: 1527811200, KD: 1631664e3 } } };
|
|
116764
|
+
module2.exports = { A: { A: { J: 0, E: 0, F: 0.0268696, G: 0.0537391, A: 0, B: 0.416478, NC: 0 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "NC", "J", "E", "F", "G", "A", "B", "", "", ""], E: "IE", F: { NC: 962323200, J: 998870400, E: 1161129600, F: 1237420800, G: 1300060800, A: 1346716800, B: 1381968e3 } }, B: { A: { "0": 0.035192, "1": 0.607062, "2": 3.20687, "3": 1.03376, C: 4399e-6, K: 4399e-6, L: 4399e-6, H: 4399e-6, M: 0, N: 4399e-6, O: 8798e-6, P: 0, Q: 4399e-6, R: 4399e-6, S: 4399e-6, T: 8798e-6, U: 4399e-6, V: 8798e-6, W: 4399e-6, X: 4399e-6, Y: 4399e-6, Z: 8798e-6, a: 0, b: 0.013197, c: 0, d: 0, e: 0, f: 0, g: 0, h: 0, i: 0.017596, j: 0, k: 0, l: 0, q: 0, r: 0, s: 0, t: 0, u: 8798e-6, v: 0.013197, w: 0.083581, x: 0.013197, y: 0.092379, z: 0.096778, D: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "C", "K", "L", "H", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "D", "", "", ""], E: "Edge", F: { "0": 1683158400, "1": 1685664e3, "2": 1689897600, "3": 1692576e3, C: 1438128e3, K: 1447286400, L: 1470096e3, H: 1491868800, M: 1508198400, N: 1525046400, O: 1542067200, P: 1579046400, Q: 1581033600, R: 1586736e3, S: 1590019200, T: 1594857600, U: 1598486400, V: 1602201600, W: 1605830400, X: 161136e4, Y: 1614816e3, Z: 1618358400, a: 1622073600, b: 1626912e3, c: 1630627200, d: 1632441600, e: 1634774400, f: 1637539200, g: 1641427200, h: 1643932800, i: 1646265600, j: 1649635200, k: 1651190400, l: 1653955200, q: 1655942400, r: 1659657600, s: 1661990400, t: 1664755200, u: 1666915200, v: 1670198400, w: 1673481600, x: 1675900800, y: 1678665600, z: 1680825600, D: 1694649600 }, D: { C: "ms", K: "ms", L: "ms", H: "ms", M: "ms", N: "ms", O: "ms" } }, C: { A: { "0": 0.026394, "1": 0.030793, "2": 0.580668, "3": 1.39008, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, OC: 0, "2B": 0, I: 0, J: 0, E: 0, F: 0, G: 0, A: 0, B: 8798e-6, C: 0, K: 0, L: 0, H: 0, M: 0, N: 0, O: 0, m: 0, n: 0, o: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 0, IB: 0, JB: 0, KB: 0, LB: 0, MB: 0, NB: 0, OB: 0, PB: 0, QB: 8798e-6, RB: 4399e-6, SB: 0, TB: 0, UB: 0, VB: 4399e-6, WB: 0, XB: 8798e-6, YB: 0, ZB: 0.052788, aB: 4399e-6, bB: 4399e-6, cB: 0, dB: 8798e-6, eB: 0, fB: 0, "3B": 4399e-6, gB: 0, "4B": 0, hB: 0, iB: 0, jB: 0, kB: 0, lB: 0, mB: 0, nB: 0, oB: 0, pB: 0, qB: 0, rB: 0.030793, p: 0, sB: 0, tB: 0, uB: 0, vB: 0, wB: 0.039591, P: 0, Q: 0, R: 0, "5B": 0, S: 8798e-6, T: 0, U: 0, V: 0, W: 0, X: 4399e-6, Y: 0, Z: 4399e-6, a: 8798e-6, b: 0, c: 0, d: 0.013197, e: 0, f: 0, g: 0, h: 0, i: 0, j: 0, k: 0, l: 0.118773, q: 0.017596, r: 0, s: 4399e-6, t: 4399e-6, u: 4399e-6, v: 8798e-6, w: 8798e-6, x: 8798e-6, y: 0.013197, z: 0.065985, D: 0.052788, "6B": 0, "7B": 0, "8B": 0, PC: 0, QC: 0 }, B: "moz", C: ["OC", "2B", "PC", "QC", "I", "4", "J", "E", "F", "G", "A", "B", "C", "K", "L", "H", "M", "N", "O", "5", "m", "n", "o", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "3B", "gB", "4B", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "rB", "p", "sB", "tB", "uB", "vB", "wB", "P", "Q", "R", "5B", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "D", "6B", "7B", "8B"], E: "Firefox", F: { "0": 1683590400, "1": 1686009600, "2": 1688428800, "3": 1690848e3, "4": 1308614400, "5": 1357603200, "6": 1372118400, "7": 1375747200, "8": 1379376e3, "9": 1386633600, OC: 1161648e3, "2B": 1213660800, PC: 124632e4, QC: 1264032e3, I: 1300752e3, J: 1313452800, E: 1317081600, F: 1317081600, G: 1320710400, A: 1324339200, B: 1327968e3, C: 1331596800, K: 1335225600, L: 1338854400, H: 1342483200, M: 1346112e3, N: 1349740800, O: 1353628800, m: 1361232e3, n: 1364860800, o: 1368489600, AB: 1391472e3, BB: 1395100800, CB: 1398729600, DB: 1402358400, EB: 1405987200, FB: 1409616e3, GB: 1413244800, HB: 1417392e3, IB: 1421107200, JB: 1424736e3, KB: 1428278400, LB: 1431475200, MB: 1435881600, NB: 1439251200, OB: 144288e4, PB: 1446508800, QB: 1450137600, RB: 1453852800, SB: 1457395200, TB: 1461628800, UB: 1465257600, VB: 1470096e3, WB: 1474329600, XB: 1479168e3, YB: 1485216e3, ZB: 1488844800, aB: 149256e4, bB: 1497312e3, cB: 1502150400, dB: 1506556800, eB: 1510617600, fB: 1516665600, "3B": 1520985600, gB: 1525824e3, "4B": 1529971200, hB: 1536105600, iB: 1540252800, jB: 1544486400, kB: 154872e4, lB: 1552953600, mB: 1558396800, nB: 1562630400, oB: 1567468800, pB: 1571788800, qB: 1575331200, rB: 1578355200, p: 1581379200, sB: 1583798400, tB: 1586304e3, uB: 1588636800, vB: 1591056e3, wB: 1593475200, P: 1595894400, Q: 1598313600, R: 1600732800, "5B": 1603152e3, S: 1605571200, T: 1607990400, U: 1611619200, V: 1614038400, W: 1616457600, X: 1618790400, Y: 1622505600, Z: 1626134400, a: 1628553600, b: 1630972800, c: 1633392e3, d: 1635811200, e: 1638835200, f: 1641859200, g: 1644364800, h: 1646697600, i: 1649116800, j: 1651536e3, k: 1653955200, l: 1656374400, q: 1658793600, r: 1661212800, s: 1663632e3, t: 1666051200, u: 1668470400, v: 1670889600, w: 1673913600, x: 1676332800, y: 1678752e3, z: 1681171200, D: 1693267200, "6B": null, "7B": null, "8B": null } }, D: { A: { "0": 0.255142, "1": 2.10712, "2": 12.8099, "3": 5.7231, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, I: 0, J: 0, E: 0, F: 0, G: 0, A: 0, B: 0, C: 0, K: 0, L: 0, H: 0, M: 0, N: 0, O: 0, m: 0, n: 0, o: 0, AB: 0, BB: 0, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 4399e-6, IB: 0, JB: 0, KB: 0, LB: 0.013197, MB: 0, NB: 0, OB: 0, PB: 0, QB: 0, RB: 0, SB: 0, TB: 0, UB: 4399e-6, VB: 0.017596, WB: 0.030793, XB: 0.013197, YB: 0, ZB: 0, aB: 8798e-6, bB: 0, cB: 4399e-6, dB: 0.048389, eB: 4399e-6, fB: 0, "3B": 0, gB: 0.021995, "4B": 4399e-6, hB: 4399e-6, iB: 8798e-6, jB: 0, kB: 8798e-6, lB: 0.026394, mB: 4399e-6, nB: 0.039591, oB: 0.065985, pB: 0.039591, qB: 0.021995, rB: 0.026394, p: 0.030793, sB: 0.048389, tB: 0.048389, uB: 0.096778, vB: 0.026394, wB: 0.039591, P: 0.202354, Q: 0.079182, R: 0.057187, S: 0.114374, T: 0.030793, U: 0.083581, V: 0.092379, W: 0.08798, X: 0.048389, Y: 0.039591, Z: 0.048389, a: 0.061586, b: 0.035192, c: 0.127571, d: 0.030793, e: 0.017596, f: 0.026394, g: 0.026394, h: 0.061586, i: 0.04399, j: 0.035192, k: 0.035192, l: 0.039591, q: 0.211152, r: 0.052788, s: 0.048389, t: 0.052788, u: 0.123172, v: 0.180359, w: 1.83878, x: 0.149566, y: 0.285935, z: 0.228748, D: 0.017596, "6B": 4399e-6, "7B": 0, "8B": 0 }, B: "webkit", C: ["", "", "", "", "", "I", "4", "J", "E", "F", "G", "A", "B", "C", "K", "L", "H", "M", "N", "O", "5", "m", "n", "o", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "3B", "gB", "4B", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "rB", "p", "sB", "tB", "uB", "vB", "wB", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "D", "6B", "7B", "8B"], E: "Chrome", F: { "0": 1682985600, "1": 1685404800, "2": 1689724800, "3": 1692057600, "4": 1274745600, "5": 1332892800, "6": 1348531200, "7": 1352246400, "8": 1357862400, "9": 1361404800, I: 1264377600, J: 1283385600, E: 1287619200, F: 1291248e3, G: 1296777600, A: 1299542400, B: 1303862400, C: 1307404800, K: 1312243200, L: 1316131200, H: 1316131200, M: 1319500800, N: 1323734400, O: 1328659200, m: 133704e4, n: 1340668800, o: 1343692800, AB: 1364428800, BB: 1369094400, CB: 1374105600, DB: 1376956800, EB: 1384214400, FB: 1389657600, GB: 1392940800, HB: 1397001600, IB: 1400544e3, JB: 1405468800, KB: 1409011200, LB: 141264e4, MB: 1416268800, NB: 1421798400, OB: 1425513600, PB: 1429401600, QB: 143208e4, RB: 1437523200, SB: 1441152e3, TB: 1444780800, UB: 1449014400, VB: 1453248e3, WB: 1456963200, XB: 1460592e3, YB: 1464134400, ZB: 1469059200, aB: 1472601600, bB: 1476230400, cB: 1480550400, dB: 1485302400, eB: 1489017600, fB: 149256e4, "3B": 1496707200, gB: 1500940800, "4B": 1504569600, hB: 1508198400, iB: 1512518400, jB: 1516752e3, kB: 1520294400, lB: 1523923200, mB: 1527552e3, nB: 1532390400, oB: 1536019200, pB: 1539648e3, qB: 1543968e3, rB: 154872e4, p: 1552348800, sB: 1555977600, tB: 1559606400, uB: 1564444800, vB: 1568073600, wB: 1571702400, P: 1575936e3, Q: 1580860800, R: 1586304e3, S: 1589846400, T: 1594684800, U: 1598313600, V: 1601942400, W: 1605571200, X: 1611014400, Y: 1614556800, Z: 1618272e3, a: 1621987200, b: 1626739200, c: 1630368e3, d: 1632268800, e: 1634601600, f: 1637020800, g: 1641340800, h: 1643673600, i: 1646092800, j: 1648512e3, k: 1650931200, l: 1653350400, q: 1655769600, r: 1659398400, s: 1661817600, t: 1664236800, u: 1666656e3, v: 166968e4, w: 1673308800, x: 1675728e3, y: 1678147200, z: 1680566400, D: 1694476800, "6B": null, "7B": null, "8B": null } }, E: { A: { "4": 0, I: 0, J: 0, E: 0, F: 0, G: 0, A: 0, B: 0, C: 0, K: 0.017596, L: 0.105576, H: 0.017596, RC: 0, "9B": 0, SC: 8798e-6, TC: 0, UC: 0, VC: 0.140768, AC: 0, xB: 4399e-6, yB: 0.030793, BC: 0.136369, WC: 0.255142, XC: 0.039591, CC: 0.035192, DC: 0.070384, zB: 0.123172, YC: 0.576269, "0B": 0.171561, EC: 0.180359, FC: 0.184758, GC: 0.422304, HC: 0.189157, IC: 1.15254, JC: 1.65402, "1B": 0.026394, KC: 0, ZC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "RC", "9B", "I", "4", "SC", "J", "TC", "E", "UC", "F", "G", "VC", "A", "AC", "B", "xB", "C", "yB", "K", "BC", "L", "WC", "H", "XC", "CC", "DC", "zB", "YC", "0B", "EC", "FC", "GC", "HC", "IC", "JC", "1B", "KC", "ZC", ""], E: "Safari", F: { "4": 1275868800, RC: 1205798400, "9B": 1226534400, I: 1244419200, SC: 131112e4, J: 1343174400, TC: 13824e5, E: 13824e5, UC: 1410998400, F: 1413417600, G: 1443657600, VC: 1458518400, A: 1474329600, AC: 1490572800, B: 1505779200, xB: 1522281600, C: 1537142400, yB: 1553472e3, K: 1568851200, BC: 1585008e3, L: 1600214400, WC: 1619395200, H: 1632096e3, XC: 1635292800, CC: 1639353600, DC: 1647216e3, zB: 1652745600, YC: 1658275200, "0B": 1662940800, EC: 1666569600, FC: 1670889600, GC: 1674432e3, HC: 1679875200, IC: 1684368e3, JC: 1690156800, "1B": 1695686400, KC: null, ZC: null } }, F: { A: { "5": 0, "6": 0, "7": 0, "8": 0, "9": 0, G: 0, B: 0, C: 0, H: 0, M: 0, N: 0, O: 0, m: 0, n: 0, o: 0, AB: 0, BB: 4399e-6, CB: 0, DB: 0, EB: 0, FB: 0, GB: 0, HB: 0, IB: 0, JB: 0, KB: 0, LB: 0, MB: 0, NB: 0, OB: 0, PB: 0, QB: 0, RB: 0, SB: 0, TB: 0.013197, UB: 0, VB: 0, WB: 0, XB: 0, YB: 0, ZB: 0, aB: 0, bB: 0, cB: 0, dB: 0, eB: 0, fB: 0, gB: 0, hB: 0, iB: 0, jB: 0, kB: 0, lB: 0, mB: 0, nB: 0, oB: 0, pB: 0, qB: 0, rB: 0, p: 0, sB: 0, tB: 0, uB: 0, vB: 0, wB: 0, P: 0, Q: 0, R: 0, "5B": 0, S: 0, T: 0, U: 4399e-6, V: 0, W: 0, X: 0, Y: 0, Z: 0, a: 0, b: 0, c: 0, d: 0, e: 0.057187, f: 0, g: 0.079182, h: 0, i: 0.030793, j: 0.83581, k: 0.466294, l: 8798e-6, aC: 0, bC: 0, cC: 0, dC: 0, xB: 0, LC: 0, eC: 0, yB: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "G", "aC", "bC", "cC", "dC", "B", "xB", "LC", "eC", "C", "yB", "H", "M", "N", "O", "5", "m", "n", "o", "6", "7", "8", "9", "AB", "BB", "CB", "DB", "EB", "FB", "GB", "HB", "IB", "JB", "KB", "LB", "MB", "NB", "OB", "PB", "QB", "RB", "SB", "TB", "UB", "VB", "WB", "XB", "YB", "ZB", "aB", "bB", "cB", "dB", "eB", "fB", "gB", "hB", "iB", "jB", "kB", "lB", "mB", "nB", "oB", "pB", "qB", "rB", "p", "sB", "tB", "uB", "vB", "wB", "P", "Q", "R", "5B", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "", "", ""], E: "Opera", F: { "5": 1390867200, "6": 1405987200, "7": 1409616e3, "8": 1413331200, "9": 1417132800, G: 1150761600, aC: 1223424e3, bC: 1251763200, cC: 1267488e3, dC: 1277942400, B: 1292457600, xB: 1302566400, LC: 1309219200, eC: 1323129600, C: 1323129600, yB: 1352073600, H: 1372723200, M: 1377561600, N: 1381104e3, O: 1386288e3, m: 1393891200, n: 1399334400, o: 1401753600, AB: 1422316800, BB: 1425945600, CB: 1430179200, DB: 1433808e3, EB: 1438646400, FB: 1442448e3, GB: 1445904e3, HB: 1449100800, IB: 1454371200, JB: 1457308800, KB: 146232e4, LB: 1465344e3, MB: 1470096e3, NB: 1474329600, OB: 1477267200, PB: 1481587200, QB: 1486425600, RB: 1490054400, SB: 1494374400, TB: 1498003200, UB: 1502236800, VB: 1506470400, WB: 1510099200, XB: 1515024e3, YB: 1517961600, ZB: 1521676800, aB: 1525910400, bB: 1530144e3, cB: 1534982400, dB: 1537833600, eB: 1543363200, fB: 1548201600, gB: 1554768e3, hB: 1561593600, iB: 1566259200, jB: 1570406400, kB: 1573689600, lB: 1578441600, mB: 1583971200, nB: 1587513600, oB: 1592956800, pB: 1595894400, qB: 1600128e3, rB: 1603238400, p: 161352e4, sB: 1612224e3, tB: 1616544e3, uB: 1619568e3, vB: 1623715200, wB: 1627948800, P: 1631577600, Q: 1633392e3, R: 1635984e3, "5B": 1638403200, S: 1642550400, T: 1644969600, U: 1647993600, V: 1650412800, W: 1652745600, X: 1654646400, Y: 1657152e3, Z: 1660780800, a: 1663113600, b: 1668816e3, c: 1668643200, d: 1671062400, e: 1675209600, f: 1677024e3, g: 1679529600, h: 1681948800, i: 1684195200, j: 1687219200, k: 1690329600, l: 1692748800 }, D: { G: "o", B: "o", C: "o", aC: "o", bC: "o", cC: "o", dC: "o", xB: "o", LC: "o", eC: "o", yB: "o" } }, G: { A: { F: 0, "9B": 0, fC: 0, MC: 279764e-8, gC: 419646e-8, hC: 279764e-8, iC: 0.0125894, jC: 419646e-8, kC: 839291e-8, lC: 0.0391669, mC: 279764e-8, nC: 0.0545539, oC: 0.0223811, pC: 0.0195835, qC: 0.015387, rC: 0.257383, sC: 699409e-8, tC: 0.0111905, uC: 0.0181846, vC: 0.0573516, wC: 0.149674, xC: 0.257383, yC: 0.0965185, CC: 0.10631, DC: 0.120298, zB: 0.170656, zC: 1.13864, "0B": 0.43783, EC: 0.863071, FC: 0.440628, GC: 0.879857, HC: 0.211222, IC: 2.6032, JC: 5.87084, "1B": 0.0965185, KC: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "9B", "fC", "MC", "gC", "hC", "iC", "F", "jC", "kC", "lC", "mC", "nC", "oC", "pC", "qC", "rC", "sC", "tC", "uC", "vC", "wC", "xC", "yC", "CC", "DC", "zB", "zC", "0B", "EC", "FC", "GC", "HC", "IC", "JC", "1B", "KC", "", ""], E: "Safari on iOS", F: { "9B": 1270252800, fC: 1283904e3, MC: 1299628800, gC: 1331078400, hC: 1359331200, iC: 1394409600, F: 1410912e3, jC: 1413763200, kC: 1442361600, lC: 1458518400, mC: 1473724800, nC: 1490572800, oC: 1505779200, pC: 1522281600, qC: 1537142400, rC: 1553472e3, sC: 1568851200, tC: 1572220800, uC: 1580169600, vC: 1585008e3, wC: 1600214400, xC: 1619395200, yC: 1632096e3, CC: 1639353600, DC: 1647216e3, zB: 1652659200, zC: 1658275200, "0B": 1662940800, EC: 1666569600, FC: 1670889600, GC: 1674432e3, HC: 1679875200, IC: 1684368e3, JC: 1690156800, "1B": 1694995200, KC: null } }, H: { A: { "0C": 1.08194 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "0C", "", "", ""], E: "Opera Mini", F: { "0C": 1426464e3 } }, I: { A: { "2B": 0, I: 0.0136938, D: 0, "1C": 0, "2C": 684689e-8, "3C": 0, "4C": 0.0273876, MC: 0.0479282, "5C": 0, "6C": 0.212254 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "1C", "2C", "3C", "2B", "I", "4C", "MC", "5C", "6C", "D", "", "", ""], E: "Android Browser", F: { "1C": 1256515200, "2C": 1274313600, "3C": 1291593600, "2B": 1298332800, I: 1318896e3, "4C": 1341792e3, MC: 1374624e3, "5C": 1386547200, "6C": 1401667200, D: 1694476800 } }, J: { A: { E: 0, A: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "E", "A", "", "", ""], E: "Blackberry Browser", F: { E: 1325376e3, A: 1359504e3 } }, K: { A: { A: 0, B: 0, C: 0, p: 0, xB: 0, LC: 0, yB: 0 }, B: "o", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "xB", "LC", "C", "yB", "p", "", "", ""], E: "Opera Mobile", F: { A: 1287100800, B: 1300752e3, xB: 1314835200, LC: 1318291200, C: 1330300800, yB: 1349740800, p: 1673827200 }, D: { p: "webkit" } }, L: { A: { D: 37.5486 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "", "", ""], E: "Chrome for Android", F: { D: 1694476800 } }, M: { A: { D: 0.263294 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "D", "", "", ""], E: "Firefox for Android", F: { D: 1693267200 } }, N: { A: { A: 0, B: 0 }, B: "ms", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "A", "B", "", "", ""], E: "IE Mobile", F: { A: 1340150400, B: 1353456e3 } }, O: { A: { zB: 1.00276 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "zB", "", "", ""], E: "UC Browser for Android", F: { zB: 1687132800 }, D: { zB: "webkit" } }, P: { A: { I: 0.115947, m: 0.0843248, n: 0.210812, o: 0, "7C": 0, "8C": 0, "9C": 0.0421624, AD: 0, BD: 0, AC: 0, CD: 0.0105406, DD: 0, ED: 0.0210812, FD: 0.0210812, GD: 0, "0B": 0.0316218, "1B": 0.0316218, HD: 0.0316218, ID: 0.052703 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I", "7C", "8C", "9C", "AD", "BD", "AC", "CD", "DD", "ED", "FD", "GD", "0B", "1B", "HD", "ID", "m", "n", "o", "", "", ""], E: "Samsung Internet", F: { I: 1461024e3, "7C": 1481846400, "8C": 1509408e3, "9C": 1528329600, AD: 1546128e3, BD: 1554163200, AC: 1567900800, CD: 1582588800, DD: 1593475200, ED: 1605657600, FD: 1618531200, GD: 1629072e3, "0B": 1640736e3, "1B": 1651708800, HD: 1659657600, ID: 1667260800, m: 1677369600, n: 1684454400, o: 1689292800 } }, Q: { A: { BC: 0.173662 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "BC", "", "", ""], E: "QQ Browser", F: { BC: 1663718400 } }, R: { A: { JD: 0 }, B: "webkit", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "JD", "", "", ""], E: "Baidu Browser", F: { JD: 1663027200 } }, S: { A: { KD: 0.05602, LD: 0 }, B: "moz", C: ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "KD", "LD", "", "", ""], E: "KaiOS Browser", F: { KD: 1527811200, LD: 1631664e3 } } };
|
|
116526
116765
|
}
|
|
116527
116766
|
});
|
|
116528
116767
|
|
|
@@ -117560,8 +117799,8 @@ var require_browserslist = __commonJS({
|
|
|
117560
117799
|
}
|
|
117561
117800
|
return list.slice(jump - 1 - nVersions);
|
|
117562
117801
|
}
|
|
117563
|
-
function isSupported(flags) {
|
|
117564
|
-
return typeof flags === "string" && (flags.indexOf("y") >= 0 || flags.indexOf("a") >= 0);
|
|
117802
|
+
function isSupported(flags, withPartial) {
|
|
117803
|
+
return typeof flags === "string" && (flags.indexOf("y") >= 0 || withPartial && flags.indexOf("a") >= 0);
|
|
117565
117804
|
}
|
|
117566
117805
|
function resolve(queries, context) {
|
|
117567
117806
|
return parse4(QUERIES, queries).reduce(function(result, node, index) {
|
|
@@ -118101,21 +118340,22 @@ var require_browserslist = __commonJS({
|
|
|
118101
118340
|
select: coverQuery
|
|
118102
118341
|
},
|
|
118103
118342
|
supports: {
|
|
118104
|
-
matches: ["feature"],
|
|
118105
|
-
regexp: /^supports\s+([\w-]+)$/,
|
|
118343
|
+
matches: ["supportType", "feature"],
|
|
118344
|
+
regexp: /^(?:(fully|partially) )?supports\s+([\w-]+)$/,
|
|
118106
118345
|
select: function(context, node) {
|
|
118107
118346
|
env.loadFeature(browserslist.cache, node.feature);
|
|
118347
|
+
var withPartial = node.supportType !== "fully";
|
|
118108
118348
|
var features = browserslist.cache[node.feature];
|
|
118109
118349
|
var result = [];
|
|
118110
118350
|
for (var name in features) {
|
|
118111
118351
|
var data = byName(name, context);
|
|
118112
|
-
var checkDesktop = context.mobileToDesktop && name in browserslist.desktopNames && isSupported(features[name][data.released.slice(-1)[0]]);
|
|
118352
|
+
var checkDesktop = context.mobileToDesktop && name in browserslist.desktopNames && isSupported(features[name][data.released.slice(-1)[0]], withPartial);
|
|
118113
118353
|
data.versions.forEach(function(version) {
|
|
118114
118354
|
var flags = features[name][version];
|
|
118115
118355
|
if (flags === void 0 && checkDesktop) {
|
|
118116
118356
|
flags = features[browserslist.desktopNames[name]][version];
|
|
118117
118357
|
}
|
|
118118
|
-
if (isSupported(flags)) {
|
|
118358
|
+
if (isSupported(flags, withPartial)) {
|
|
118119
118359
|
result.push(name + " " + version);
|
|
118120
118360
|
}
|
|
118121
118361
|
});
|
|
@@ -118205,7 +118445,7 @@ var require_browserslist = __commonJS({
|
|
|
118205
118445
|
matches: [],
|
|
118206
118446
|
regexp: /^(firefox|ff|fx)\s+esr$/i,
|
|
118207
118447
|
select: function() {
|
|
118208
|
-
return ["firefox
|
|
118448
|
+
return ["firefox 115"];
|
|
118209
118449
|
}
|
|
118210
118450
|
},
|
|
118211
118451
|
opera_mini_all: {
|
|
@@ -120542,6 +120782,7 @@ var require_plugins = __commonJS({
|
|
|
120542
120782
|
opera: "98",
|
|
120543
120783
|
edge: "112",
|
|
120544
120784
|
firefox: "116",
|
|
120785
|
+
safari: "tp",
|
|
120545
120786
|
node: "20",
|
|
120546
120787
|
deno: "1.32",
|
|
120547
120788
|
opera_mobile: "75",
|
|
@@ -124012,20 +124253,18 @@ var require_normalize_opts = __commonJS({
|
|
|
124012
124253
|
}
|
|
124013
124254
|
});
|
|
124014
124255
|
|
|
124015
|
-
// ../../node_modules/convert-source-map/index.js
|
|
124256
|
+
// ../../node_modules/@babel/core/node_modules/convert-source-map/index.js
|
|
124016
124257
|
var require_convert_source_map = __commonJS({
|
|
124017
|
-
"../../node_modules/convert-source-map/index.js"(exports) {
|
|
124258
|
+
"../../node_modules/@babel/core/node_modules/convert-source-map/index.js"(exports) {
|
|
124018
124259
|
"use strict";
|
|
124019
|
-
var fs4 = require("fs");
|
|
124020
|
-
var path15 = require("path");
|
|
124021
124260
|
Object.defineProperty(exports, "commentRegex", {
|
|
124022
124261
|
get: function getCommentRegex() {
|
|
124023
|
-
return /^\s
|
|
124262
|
+
return /^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg;
|
|
124024
124263
|
}
|
|
124025
124264
|
});
|
|
124026
124265
|
Object.defineProperty(exports, "mapFileCommentRegex", {
|
|
124027
124266
|
get: function getMapFileCommentRegex() {
|
|
124028
|
-
return /(?:\/\/[@#][ \t]
|
|
124267
|
+
return /(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg;
|
|
124029
124268
|
}
|
|
124030
124269
|
});
|
|
124031
124270
|
var decodeBase64;
|
|
@@ -124053,26 +124292,36 @@ var require_convert_source_map = __commonJS({
|
|
|
124053
124292
|
function stripComment(sm) {
|
|
124054
124293
|
return sm.split(",").pop();
|
|
124055
124294
|
}
|
|
124056
|
-
function readFromFileMap(sm,
|
|
124295
|
+
function readFromFileMap(sm, read) {
|
|
124057
124296
|
var r = exports.mapFileCommentRegex.exec(sm);
|
|
124058
124297
|
var filename = r[1] || r[2];
|
|
124059
|
-
var filepath = path15.resolve(dir, filename);
|
|
124060
124298
|
try {
|
|
124061
|
-
|
|
124299
|
+
var sm = read(filename);
|
|
124300
|
+
if (sm != null && typeof sm.catch === "function") {
|
|
124301
|
+
return sm.catch(throwError);
|
|
124302
|
+
} else {
|
|
124303
|
+
return sm;
|
|
124304
|
+
}
|
|
124062
124305
|
} catch (e) {
|
|
124063
|
-
|
|
124306
|
+
throwError(e);
|
|
124307
|
+
}
|
|
124308
|
+
function throwError(e) {
|
|
124309
|
+
throw new Error("An error occurred while trying to read the map file at " + filename + "\n" + e.stack);
|
|
124064
124310
|
}
|
|
124065
124311
|
}
|
|
124066
124312
|
function Converter(sm, opts) {
|
|
124067
124313
|
opts = opts || {};
|
|
124068
|
-
if (opts.
|
|
124069
|
-
sm = readFromFileMap(sm, opts.commentFileDir);
|
|
124070
|
-
if (opts.hasComment)
|
|
124314
|
+
if (opts.hasComment) {
|
|
124071
124315
|
sm = stripComment(sm);
|
|
124072
|
-
|
|
124316
|
+
}
|
|
124317
|
+
if (opts.encoding === "base64") {
|
|
124073
124318
|
sm = decodeBase64(sm);
|
|
124074
|
-
if (opts.
|
|
124319
|
+
} else if (opts.encoding === "uri") {
|
|
124320
|
+
sm = decodeURIComponent(sm);
|
|
124321
|
+
}
|
|
124322
|
+
if (opts.isJSON || opts.encoding) {
|
|
124075
124323
|
sm = JSON.parse(sm);
|
|
124324
|
+
}
|
|
124076
124325
|
this.sourcemap = sm;
|
|
124077
124326
|
}
|
|
124078
124327
|
Converter.prototype.toJSON = function(space) {
|
|
@@ -124102,10 +124351,21 @@ var require_convert_source_map = __commonJS({
|
|
|
124102
124351
|
var json = this.toJSON();
|
|
124103
124352
|
return btoa(unescape(encodeURIComponent(json)));
|
|
124104
124353
|
}
|
|
124354
|
+
Converter.prototype.toURI = function() {
|
|
124355
|
+
var json = this.toJSON();
|
|
124356
|
+
return encodeURIComponent(json);
|
|
124357
|
+
};
|
|
124105
124358
|
Converter.prototype.toComment = function(options) {
|
|
124106
|
-
var
|
|
124107
|
-
|
|
124108
|
-
|
|
124359
|
+
var encoding, content, data;
|
|
124360
|
+
if (options != null && options.encoding === "uri") {
|
|
124361
|
+
encoding = "";
|
|
124362
|
+
content = this.toURI();
|
|
124363
|
+
} else {
|
|
124364
|
+
encoding = ";base64";
|
|
124365
|
+
content = this.toBase64();
|
|
124366
|
+
}
|
|
124367
|
+
data = "sourceMappingURL=data:application/json;charset=utf-8" + encoding + "," + content;
|
|
124368
|
+
return options != null && options.multiline ? "/*# " + data + " */" : "//# " + data;
|
|
124109
124369
|
};
|
|
124110
124370
|
Converter.prototype.toObject = function() {
|
|
124111
124371
|
return JSON.parse(this.toJSON());
|
|
@@ -124128,23 +124388,47 @@ var require_convert_source_map = __commonJS({
|
|
|
124128
124388
|
exports.fromJSON = function(json) {
|
|
124129
124389
|
return new Converter(json, { isJSON: true });
|
|
124130
124390
|
};
|
|
124391
|
+
exports.fromURI = function(uri) {
|
|
124392
|
+
return new Converter(uri, { encoding: "uri" });
|
|
124393
|
+
};
|
|
124131
124394
|
exports.fromBase64 = function(base64) {
|
|
124132
|
-
return new Converter(base64, {
|
|
124395
|
+
return new Converter(base64, { encoding: "base64" });
|
|
124133
124396
|
};
|
|
124134
124397
|
exports.fromComment = function(comment) {
|
|
124398
|
+
var m, encoding;
|
|
124135
124399
|
comment = comment.replace(/^\/\*/g, "//").replace(/\*\/$/g, "");
|
|
124136
|
-
|
|
124400
|
+
m = exports.commentRegex.exec(comment);
|
|
124401
|
+
encoding = m && m[4] || "uri";
|
|
124402
|
+
return new Converter(comment, { encoding, hasComment: true });
|
|
124137
124403
|
};
|
|
124138
|
-
|
|
124139
|
-
return new Converter(
|
|
124404
|
+
function makeConverter(sm) {
|
|
124405
|
+
return new Converter(sm, { isJSON: true });
|
|
124406
|
+
}
|
|
124407
|
+
exports.fromMapFileComment = function(comment, read) {
|
|
124408
|
+
if (typeof read === "string") {
|
|
124409
|
+
throw new Error(
|
|
124410
|
+
"String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading"
|
|
124411
|
+
);
|
|
124412
|
+
}
|
|
124413
|
+
var sm = readFromFileMap(comment, read);
|
|
124414
|
+
if (sm != null && typeof sm.then === "function") {
|
|
124415
|
+
return sm.then(makeConverter);
|
|
124416
|
+
} else {
|
|
124417
|
+
return makeConverter(sm);
|
|
124418
|
+
}
|
|
124140
124419
|
};
|
|
124141
124420
|
exports.fromSource = function(content) {
|
|
124142
124421
|
var m = content.match(exports.commentRegex);
|
|
124143
124422
|
return m ? exports.fromComment(m.pop()) : null;
|
|
124144
124423
|
};
|
|
124145
|
-
exports.fromMapFileSource = function(content,
|
|
124424
|
+
exports.fromMapFileSource = function(content, read) {
|
|
124425
|
+
if (typeof read === "string") {
|
|
124426
|
+
throw new Error(
|
|
124427
|
+
"String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading"
|
|
124428
|
+
);
|
|
124429
|
+
}
|
|
124146
124430
|
var m = content.match(exports.mapFileCommentRegex);
|
|
124147
|
-
return m ? exports.fromMapFileComment(m.pop(),
|
|
124431
|
+
return m ? exports.fromMapFileComment(m.pop(), read) : null;
|
|
124148
124432
|
};
|
|
124149
124433
|
exports.removeComments = function(src) {
|
|
124150
124434
|
return src.replace(exports.commentRegex, "");
|
|
@@ -124696,9 +124980,11 @@ var require_normalize_file = __commonJS({
|
|
|
124696
124980
|
const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast);
|
|
124697
124981
|
if (lastComment) {
|
|
124698
124982
|
try {
|
|
124699
|
-
inputMap = _convertSourceMap().fromComment(lastComment);
|
|
124983
|
+
inputMap = _convertSourceMap().fromComment("//" + lastComment);
|
|
124700
124984
|
} catch (err) {
|
|
124701
|
-
|
|
124985
|
+
{
|
|
124986
|
+
debug11("discarding unknown inline input sourcemap");
|
|
124987
|
+
}
|
|
124702
124988
|
}
|
|
124703
124989
|
}
|
|
124704
124990
|
}
|
|
@@ -125162,7 +125448,7 @@ var require_package4 = __commonJS({
|
|
|
125162
125448
|
"../../node_modules/@babel/preset-typescript/package.json"(exports, module2) {
|
|
125163
125449
|
module2.exports = {
|
|
125164
125450
|
name: "@babel/preset-typescript",
|
|
125165
|
-
version: "7.
|
|
125451
|
+
version: "7.23.0",
|
|
125166
125452
|
description: "Babel preset for TypeScript.",
|
|
125167
125453
|
repository: {
|
|
125168
125454
|
type: "git",
|
|
@@ -125182,14 +125468,14 @@ var require_package4 = __commonJS({
|
|
|
125182
125468
|
"@babel/helper-plugin-utils": "^7.22.5",
|
|
125183
125469
|
"@babel/helper-validator-option": "^7.22.15",
|
|
125184
125470
|
"@babel/plugin-syntax-jsx": "^7.22.5",
|
|
125185
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
125471
|
+
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
|
|
125186
125472
|
"@babel/plugin-transform-typescript": "^7.22.15"
|
|
125187
125473
|
},
|
|
125188
125474
|
peerDependencies: {
|
|
125189
125475
|
"@babel/core": "^7.0.0-0"
|
|
125190
125476
|
},
|
|
125191
125477
|
devDependencies: {
|
|
125192
|
-
"@babel/core": "^7.
|
|
125478
|
+
"@babel/core": "^7.23.0",
|
|
125193
125479
|
"@babel/helper-plugin-test-runner": "^7.22.5"
|
|
125194
125480
|
},
|
|
125195
125481
|
homepage: "https://babel.dev/docs/en/next/babel-preset-typescript",
|
|
@@ -126682,11 +126968,12 @@ var require_lib24 = __commonJS({
|
|
|
126682
126968
|
const rootParentPath = endPath.parentPath;
|
|
126683
126969
|
if (rootParentPath.isUpdateExpression({
|
|
126684
126970
|
argument: node
|
|
126685
|
-
}) || rootParentPath.isAssignmentExpression({
|
|
126686
|
-
left: node
|
|
126687
126971
|
})) {
|
|
126688
|
-
throw member.buildCodeFrameError(`can't handle
|
|
126972
|
+
throw member.buildCodeFrameError(`can't handle update expression`);
|
|
126689
126973
|
}
|
|
126974
|
+
const isAssignment = rootParentPath.isAssignmentExpression({
|
|
126975
|
+
left: endPath.node
|
|
126976
|
+
});
|
|
126690
126977
|
const isDeleteOperation = rootParentPath.isUnaryExpression({
|
|
126691
126978
|
operator: "delete"
|
|
126692
126979
|
});
|
|
@@ -126731,6 +127018,8 @@ var require_lib24 = __commonJS({
|
|
|
126731
127018
|
operator: "delete"
|
|
126732
127019
|
})) {
|
|
126733
127020
|
parentPath.replaceWith(this.delete(member));
|
|
127021
|
+
} else if (parentPath.isAssignmentExpression()) {
|
|
127022
|
+
handleAssignment(this, member, parentPath);
|
|
126734
127023
|
} else {
|
|
126735
127024
|
member.replaceWith(this.get(member));
|
|
126736
127025
|
}
|
|
@@ -126759,7 +127048,7 @@ var require_lib24 = __commonJS({
|
|
|
126759
127048
|
}
|
|
126760
127049
|
}
|
|
126761
127050
|
let replacementPath = endPath;
|
|
126762
|
-
if (isDeleteOperation) {
|
|
127051
|
+
if (isDeleteOperation || isAssignment) {
|
|
126763
127052
|
replacementPath = endParentPath;
|
|
126764
127053
|
regular = endParentPath.node;
|
|
126765
127054
|
}
|
|
@@ -126823,26 +127112,7 @@ var require_lib24 = __commonJS({
|
|
|
126823
127112
|
if (parentPath.isAssignmentExpression({
|
|
126824
127113
|
left: node
|
|
126825
127114
|
})) {
|
|
126826
|
-
|
|
126827
|
-
member.replaceWith(this.simpleSet(member));
|
|
126828
|
-
return;
|
|
126829
|
-
}
|
|
126830
|
-
const {
|
|
126831
|
-
operator,
|
|
126832
|
-
right: value2
|
|
126833
|
-
} = parentPath.node;
|
|
126834
|
-
if (operator === "=") {
|
|
126835
|
-
parentPath.replaceWith(this.set(member, value2));
|
|
126836
|
-
} else {
|
|
126837
|
-
const operatorTrunc = operator.slice(0, -1);
|
|
126838
|
-
if (LOGICAL_OPERATORS.includes(operatorTrunc)) {
|
|
126839
|
-
this.memoise(member, 1);
|
|
126840
|
-
parentPath.replaceWith(logicalExpression(operatorTrunc, this.get(member), this.set(member, value2)));
|
|
126841
|
-
} else {
|
|
126842
|
-
this.memoise(member, 2);
|
|
126843
|
-
parentPath.replaceWith(this.set(member, binaryExpression(operatorTrunc, this.get(member), value2)));
|
|
126844
|
-
}
|
|
126845
|
-
}
|
|
127115
|
+
handleAssignment(this, member, parentPath);
|
|
126846
127116
|
return;
|
|
126847
127117
|
}
|
|
126848
127118
|
if (parentPath.isCallExpression({
|
|
@@ -126888,6 +127158,28 @@ var require_lib24 = __commonJS({
|
|
|
126888
127158
|
}
|
|
126889
127159
|
}
|
|
126890
127160
|
};
|
|
127161
|
+
function handleAssignment(state, member, parentPath) {
|
|
127162
|
+
if (state.simpleSet) {
|
|
127163
|
+
member.replaceWith(state.simpleSet(member));
|
|
127164
|
+
return;
|
|
127165
|
+
}
|
|
127166
|
+
const {
|
|
127167
|
+
operator,
|
|
127168
|
+
right: value2
|
|
127169
|
+
} = parentPath.node;
|
|
127170
|
+
if (operator === "=") {
|
|
127171
|
+
parentPath.replaceWith(state.set(member, value2));
|
|
127172
|
+
} else {
|
|
127173
|
+
const operatorTrunc = operator.slice(0, -1);
|
|
127174
|
+
if (LOGICAL_OPERATORS.includes(operatorTrunc)) {
|
|
127175
|
+
state.memoise(member, 1);
|
|
127176
|
+
parentPath.replaceWith(logicalExpression(operatorTrunc, state.get(member), state.set(member, value2)));
|
|
127177
|
+
} else {
|
|
127178
|
+
state.memoise(member, 2);
|
|
127179
|
+
parentPath.replaceWith(state.set(member, binaryExpression(operatorTrunc, state.get(member), value2)));
|
|
127180
|
+
}
|
|
127181
|
+
}
|
|
127182
|
+
}
|
|
126891
127183
|
function memberExpressionToFunctions(path15, visitor, state) {
|
|
126892
127184
|
path15.traverse(visitor, Object.assign({}, handle, state, {
|
|
126893
127185
|
memoiser: new AssignmentMemoiser()
|
|
@@ -126957,13 +127249,9 @@ var require_lib26 = __commonJS({
|
|
|
126957
127249
|
thisExpression
|
|
126958
127250
|
} = _core.types;
|
|
126959
127251
|
{
|
|
126960
|
-
|
|
126961
|
-
|
|
126962
|
-
|
|
126963
|
-
exports.environmentVisitor = ns.default;
|
|
126964
|
-
exports.skipAllButComputedKey = ns.skipAllButComputedKey;
|
|
126965
|
-
}
|
|
126966
|
-
}
|
|
127252
|
+
const ns = require_lib6();
|
|
127253
|
+
exports.environmentVisitor = ns.default;
|
|
127254
|
+
exports.skipAllButComputedKey = ns.skipAllButComputedKey;
|
|
126967
127255
|
}
|
|
126968
127256
|
function getPrototypeOfExpression(objectRef, isStatic, file, isPrivateMethod) {
|
|
126969
127257
|
objectRef = cloneNode(objectRef);
|
|
@@ -129848,6 +130136,97 @@ var require_dynamic_import2 = __commonJS({
|
|
|
129848
130136
|
}
|
|
129849
130137
|
});
|
|
129850
130138
|
|
|
130139
|
+
// ../../node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js
|
|
130140
|
+
var require_lazy = __commonJS({
|
|
130141
|
+
"../../node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"(exports) {
|
|
130142
|
+
"use strict";
|
|
130143
|
+
Object.defineProperty(exports, "__esModule", {
|
|
130144
|
+
value: true
|
|
130145
|
+
});
|
|
130146
|
+
exports.lazyImportsHook = void 0;
|
|
130147
|
+
var _core = require_lib34();
|
|
130148
|
+
var _helperModuleTransforms = require_lib18();
|
|
130149
|
+
var lazyImportsHook = (lazy) => ({
|
|
130150
|
+
name: `${"@babel/plugin-transform-modules-commonjs"}/lazy`,
|
|
130151
|
+
version: "7.23.0",
|
|
130152
|
+
getWrapperPayload(source, metadata) {
|
|
130153
|
+
if ((0, _helperModuleTransforms.isSideEffectImport)(metadata) || metadata.reexportAll) {
|
|
130154
|
+
return null;
|
|
130155
|
+
}
|
|
130156
|
+
if (lazy === true) {
|
|
130157
|
+
return /\./.test(source) ? null : "lazy/function";
|
|
130158
|
+
}
|
|
130159
|
+
if (Array.isArray(lazy)) {
|
|
130160
|
+
return lazy.indexOf(source) === -1 ? null : "lazy/function";
|
|
130161
|
+
}
|
|
130162
|
+
if (typeof lazy === "function") {
|
|
130163
|
+
return lazy(source) ? "lazy/function" : null;
|
|
130164
|
+
}
|
|
130165
|
+
},
|
|
130166
|
+
buildRequireWrapper(name, init2, payload, referenced) {
|
|
130167
|
+
if (payload === "lazy/function") {
|
|
130168
|
+
if (!referenced)
|
|
130169
|
+
return false;
|
|
130170
|
+
return _core.template.statement.ast`
|
|
130171
|
+
function ${name}() {
|
|
130172
|
+
const data = ${init2};
|
|
130173
|
+
${name} = function(){ return data; };
|
|
130174
|
+
return data;
|
|
130175
|
+
}
|
|
130176
|
+
`;
|
|
130177
|
+
}
|
|
130178
|
+
},
|
|
130179
|
+
wrapReference(ref, payload) {
|
|
130180
|
+
if (payload === "lazy/function")
|
|
130181
|
+
return _core.types.callExpression(ref, []);
|
|
130182
|
+
}
|
|
130183
|
+
});
|
|
130184
|
+
exports.lazyImportsHook = lazyImportsHook;
|
|
130185
|
+
}
|
|
130186
|
+
});
|
|
130187
|
+
|
|
130188
|
+
// ../../node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js
|
|
130189
|
+
var require_hooks = __commonJS({
|
|
130190
|
+
"../../node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js"(exports) {
|
|
130191
|
+
"use strict";
|
|
130192
|
+
Object.defineProperty(exports, "__esModule", {
|
|
130193
|
+
value: true
|
|
130194
|
+
});
|
|
130195
|
+
exports.defineCommonJSHook = defineCommonJSHook;
|
|
130196
|
+
exports.makeInvokers = makeInvokers;
|
|
130197
|
+
var commonJSHooksKey = "@babel/plugin-transform-modules-commonjs/customWrapperPlugin";
|
|
130198
|
+
function defineCommonJSHook(file, hook) {
|
|
130199
|
+
let hooks = file.get(commonJSHooksKey);
|
|
130200
|
+
if (!hooks)
|
|
130201
|
+
file.set(commonJSHooksKey, hooks = []);
|
|
130202
|
+
hooks.push(hook);
|
|
130203
|
+
}
|
|
130204
|
+
function findMap(arr, cb) {
|
|
130205
|
+
if (arr) {
|
|
130206
|
+
for (const el of arr) {
|
|
130207
|
+
const res = cb(el);
|
|
130208
|
+
if (res != null)
|
|
130209
|
+
return res;
|
|
130210
|
+
}
|
|
130211
|
+
}
|
|
130212
|
+
}
|
|
130213
|
+
function makeInvokers(file) {
|
|
130214
|
+
const hooks = file.get(commonJSHooksKey);
|
|
130215
|
+
return {
|
|
130216
|
+
getWrapperPayload(...args) {
|
|
130217
|
+
return findMap(hooks, (hook) => hook.getWrapperPayload == null ? void 0 : hook.getWrapperPayload(...args));
|
|
130218
|
+
},
|
|
130219
|
+
wrapReference(...args) {
|
|
130220
|
+
return findMap(hooks, (hook) => hook.wrapReference == null ? void 0 : hook.wrapReference(...args));
|
|
130221
|
+
},
|
|
130222
|
+
buildRequireWrapper(...args) {
|
|
130223
|
+
return findMap(hooks, (hook) => hook.buildRequireWrapper == null ? void 0 : hook.buildRequireWrapper(...args));
|
|
130224
|
+
}
|
|
130225
|
+
};
|
|
130226
|
+
}
|
|
130227
|
+
}
|
|
130228
|
+
});
|
|
130229
|
+
|
|
129851
130230
|
// ../../node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js
|
|
129852
130231
|
var require_lib32 = __commonJS({
|
|
129853
130232
|
"../../node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"(exports) {
|
|
@@ -129856,11 +130235,19 @@ var require_lib32 = __commonJS({
|
|
|
129856
130235
|
value: true
|
|
129857
130236
|
});
|
|
129858
130237
|
exports.default = void 0;
|
|
130238
|
+
Object.defineProperty(exports, "defineCommonJSHook", {
|
|
130239
|
+
enumerable: true,
|
|
130240
|
+
get: function() {
|
|
130241
|
+
return _hooks.defineCommonJSHook;
|
|
130242
|
+
}
|
|
130243
|
+
});
|
|
129859
130244
|
var _helperPluginUtils = require_lib22();
|
|
129860
130245
|
var _helperModuleTransforms = require_lib18();
|
|
129861
130246
|
var _helperSimpleAccess = require_lib17();
|
|
129862
130247
|
var _core = require_lib34();
|
|
129863
130248
|
var _dynamicImport = require_dynamic_import2();
|
|
130249
|
+
var _lazy = require_lazy();
|
|
130250
|
+
var _hooks = require_hooks();
|
|
129864
130251
|
var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
|
129865
130252
|
var _api$assumption, _api$assumption2, _api$assumption3;
|
|
129866
130253
|
api.assertVersion(7);
|
|
@@ -129957,12 +130344,14 @@ var require_lib32 = __commonJS({
|
|
|
129957
130344
|
name: "transform-modules-commonjs",
|
|
129958
130345
|
pre() {
|
|
129959
130346
|
this.file.set("@babel/plugin-transform-modules-*", "commonjs");
|
|
130347
|
+
if (lazy)
|
|
130348
|
+
(0, _hooks.defineCommonJSHook)(this.file, (0, _lazy.lazyImportsHook)(lazy));
|
|
129960
130349
|
},
|
|
129961
130350
|
visitor: {
|
|
129962
|
-
CallExpression(path15) {
|
|
130351
|
+
["CallExpression" + (api.types.importExpression ? "|ImportExpression" : "")](path15) {
|
|
129963
130352
|
if (!this.file.has("@babel/plugin-proposal-dynamic-import"))
|
|
129964
130353
|
return;
|
|
129965
|
-
if (!_core.types.isImport(path15.node.callee))
|
|
130354
|
+
if (path15.isCallExpression() && !_core.types.isImport(path15.node.callee))
|
|
129966
130355
|
return;
|
|
129967
130356
|
let {
|
|
129968
130357
|
scope
|
|
@@ -129992,6 +130381,7 @@ var require_lib32 = __commonJS({
|
|
|
129992
130381
|
let moduleName = (0, _helperModuleTransforms.getModuleName)(this.file.opts, options);
|
|
129993
130382
|
if (moduleName)
|
|
129994
130383
|
moduleName = _core.types.stringLiteral(moduleName);
|
|
130384
|
+
const hooks = (0, _hooks.makeInvokers)(this.file);
|
|
129995
130385
|
const {
|
|
129996
130386
|
meta,
|
|
129997
130387
|
headers
|
|
@@ -130004,7 +130394,8 @@ var require_lib32 = __commonJS({
|
|
|
130004
130394
|
allowTopLevelThis,
|
|
130005
130395
|
noInterop,
|
|
130006
130396
|
importInterop,
|
|
130007
|
-
|
|
130397
|
+
wrapReference: hooks.wrapReference,
|
|
130398
|
+
getWrapperPayload: hooks.getWrapperPayload,
|
|
130008
130399
|
esNamespaceOnly: typeof state.filename === "string" && /\.mjs$/.test(state.filename) ? mjsStrictNamespace : strictNamespace,
|
|
130009
130400
|
noIncompleteNsImportDetection,
|
|
130010
130401
|
filename: this.file.opts.filename
|
|
@@ -130013,31 +130404,27 @@ var require_lib32 = __commonJS({
|
|
|
130013
130404
|
const loadExpr = _core.types.callExpression(_core.types.identifier("require"), [_core.types.stringLiteral(source)]);
|
|
130014
130405
|
let header;
|
|
130015
130406
|
if ((0, _helperModuleTransforms.isSideEffectImport)(metadata)) {
|
|
130016
|
-
if (metadata.
|
|
130407
|
+
if (lazy && metadata.wrap === "function") {
|
|
130017
130408
|
throw new Error("Assertion failure");
|
|
130409
|
+
}
|
|
130018
130410
|
header = _core.types.expressionStatement(loadExpr);
|
|
130019
130411
|
} else {
|
|
130020
|
-
|
|
130021
|
-
continue;
|
|
130022
|
-
}
|
|
130412
|
+
var _header;
|
|
130023
130413
|
const init2 = (0, _helperModuleTransforms.wrapInterop)(path15, loadExpr, metadata.interop) || loadExpr;
|
|
130024
|
-
if (metadata.
|
|
130025
|
-
|
|
130026
|
-
|
|
130027
|
-
|
|
130028
|
-
|
|
130029
|
-
|
|
130030
|
-
}
|
|
130031
|
-
`;
|
|
130032
|
-
} else {
|
|
130033
|
-
header = _core.template.statement.ast`
|
|
130034
|
-
var ${metadata.name} = ${init2};
|
|
130035
|
-
`;
|
|
130414
|
+
if (metadata.wrap) {
|
|
130415
|
+
const res = hooks.buildRequireWrapper(metadata.name, init2, metadata.wrap, metadata.referenced);
|
|
130416
|
+
if (res === false)
|
|
130417
|
+
continue;
|
|
130418
|
+
else
|
|
130419
|
+
header = res;
|
|
130036
130420
|
}
|
|
130421
|
+
(_header = header) != null ? _header : header = _core.template.statement.ast`
|
|
130422
|
+
var ${metadata.name} = ${init2};
|
|
130423
|
+
`;
|
|
130037
130424
|
}
|
|
130038
130425
|
header.loc = metadata.loc;
|
|
130039
130426
|
headers.push(header);
|
|
130040
|
-
headers.push(...(0, _helperModuleTransforms.buildNamespaceInitStatements)(meta, metadata, constantReexports));
|
|
130427
|
+
headers.push(...(0, _helperModuleTransforms.buildNamespaceInitStatements)(meta, metadata, constantReexports, hooks.wrapReference));
|
|
130041
130428
|
}
|
|
130042
130429
|
(0, _helperModuleTransforms.ensureStatementsHoisted)(headers);
|
|
130043
130430
|
path15.unshiftContainer("body", headers);
|
|
@@ -130087,6 +130474,7 @@ var require_lib33 = __commonJS({
|
|
|
130087
130474
|
jsxPragmaFrag: "jsxPragmaFrag",
|
|
130088
130475
|
onlyRemoveTypeImports: "onlyRemoveTypeImports",
|
|
130089
130476
|
optimizeConstEnums: "optimizeConstEnums",
|
|
130477
|
+
rewriteImportExtensions: "rewriteImportExtensions",
|
|
130090
130478
|
allExtensions: "allExtensions",
|
|
130091
130479
|
isTSX: "isTSX"
|
|
130092
130480
|
};
|
|
@@ -130106,6 +130494,7 @@ var require_lib33 = __commonJS({
|
|
|
130106
130494
|
}
|
|
130107
130495
|
}
|
|
130108
130496
|
const optimizeConstEnums = v.validateBooleanOption(TopLevelOptions.optimizeConstEnums, options.optimizeConstEnums, false);
|
|
130497
|
+
const rewriteImportExtensions = v.validateBooleanOption(TopLevelOptions.rewriteImportExtensions, options.rewriteImportExtensions, false);
|
|
130109
130498
|
const normalized = {
|
|
130110
130499
|
ignoreExtensions,
|
|
130111
130500
|
allowNamespaces,
|
|
@@ -130113,7 +130502,8 @@ var require_lib33 = __commonJS({
|
|
|
130113
130502
|
jsxPragma,
|
|
130114
130503
|
jsxPragmaFrag,
|
|
130115
130504
|
onlyRemoveTypeImports,
|
|
130116
|
-
optimizeConstEnums
|
|
130505
|
+
optimizeConstEnums,
|
|
130506
|
+
rewriteImportExtensions
|
|
130117
130507
|
};
|
|
130118
130508
|
{
|
|
130119
130509
|
normalized.allExtensions = allExtensions;
|
|
@@ -130121,6 +130511,26 @@ var require_lib33 = __commonJS({
|
|
|
130121
130511
|
}
|
|
130122
130512
|
return normalized;
|
|
130123
130513
|
}
|
|
130514
|
+
var pluginRewriteTSImports = helperPluginUtils.declare(function({
|
|
130515
|
+
types: t
|
|
130516
|
+
}) {
|
|
130517
|
+
return {
|
|
130518
|
+
name: "preset-typescript/plugin-rewrite-ts-imports",
|
|
130519
|
+
visitor: {
|
|
130520
|
+
"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({
|
|
130521
|
+
node
|
|
130522
|
+
}) {
|
|
130523
|
+
const {
|
|
130524
|
+
source
|
|
130525
|
+
} = node;
|
|
130526
|
+
const kind = t.isImportDeclaration(node) ? node.importKind : node.exportKind;
|
|
130527
|
+
if (kind === "value" && source && /[\\/]/.test(source.value)) {
|
|
130528
|
+
source.value = source.value.replace(/(\.[mc]?)ts$/, "$1js");
|
|
130529
|
+
}
|
|
130530
|
+
}
|
|
130531
|
+
}
|
|
130532
|
+
};
|
|
130533
|
+
});
|
|
130124
130534
|
var index = helperPluginUtils.declarePreset((api, opts) => {
|
|
130125
130535
|
api.assertVersion(7);
|
|
130126
130536
|
const {
|
|
@@ -130132,7 +130542,8 @@ var require_lib33 = __commonJS({
|
|
|
130132
130542
|
jsxPragma,
|
|
130133
130543
|
jsxPragmaFrag,
|
|
130134
130544
|
onlyRemoveTypeImports,
|
|
130135
|
-
optimizeConstEnums
|
|
130545
|
+
optimizeConstEnums,
|
|
130546
|
+
rewriteImportExtensions
|
|
130136
130547
|
} = normalizeOptions(opts);
|
|
130137
130548
|
const pluginOptions = (disallowAmbiguousJSXLike2) => ({
|
|
130138
130549
|
allowDeclareFields: opts.allowDeclareFields,
|
|
@@ -130152,6 +130563,7 @@ var require_lib33 = __commonJS({
|
|
|
130152
130563
|
};
|
|
130153
130564
|
const disableExtensionDetect = allExtensions || ignoreExtensions;
|
|
130154
130565
|
return {
|
|
130566
|
+
plugins: rewriteImportExtensions ? [pluginRewriteTSImports] : [],
|
|
130155
130567
|
overrides: disableExtensionDetect ? [{
|
|
130156
130568
|
plugins: getPlugins(isTSX, disallowAmbiguousJSXLike)
|
|
130157
130569
|
}] : [{
|
|
@@ -132244,15 +132656,6 @@ var require_parse7 = __commonJS({
|
|
|
132244
132656
|
var require_lib34 = __commonJS({
|
|
132245
132657
|
"../../node_modules/@babel/core/lib/index.js"(exports) {
|
|
132246
132658
|
"use strict";
|
|
132247
|
-
if (typeof process === "object" && process.version === "v20.6.0") {
|
|
132248
|
-
if (exports["___internal__alreadyRunning"])
|
|
132249
|
-
return;
|
|
132250
|
-
Object.defineProperty(exports, "___internal__alreadyRunning", {
|
|
132251
|
-
value: true,
|
|
132252
|
-
enumerable: false,
|
|
132253
|
-
configurable: true
|
|
132254
|
-
});
|
|
132255
|
-
}
|
|
132256
132659
|
Object.defineProperty(exports, "__esModule", {
|
|
132257
132660
|
value: true
|
|
132258
132661
|
});
|
|
@@ -132476,24 +132879,20 @@ var require_lib34 = __commonJS({
|
|
|
132476
132879
|
var _transformAst = require_transform_ast();
|
|
132477
132880
|
var _parse = require_parse7();
|
|
132478
132881
|
var thisFile = require_lib34();
|
|
132479
|
-
var version = "7.
|
|
132882
|
+
var version = "7.23.0";
|
|
132480
132883
|
exports.version = version;
|
|
132481
132884
|
var DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);
|
|
132482
132885
|
exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS;
|
|
132483
132886
|
{
|
|
132484
|
-
{
|
|
132485
|
-
|
|
132486
|
-
|
|
132487
|
-
|
|
132488
|
-
|
|
132489
|
-
|
|
132490
|
-
|
|
132491
|
-
|
|
132492
|
-
};
|
|
132493
|
-
}
|
|
132887
|
+
exports.OptionManager = class OptionManager {
|
|
132888
|
+
init(opts) {
|
|
132889
|
+
return (0, _index2.loadOptionsSync)(opts);
|
|
132890
|
+
}
|
|
132891
|
+
};
|
|
132892
|
+
exports.Plugin = function Plugin(alias) {
|
|
132893
|
+
throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`);
|
|
132894
|
+
};
|
|
132494
132895
|
}
|
|
132495
|
-
if (typeof process === "object" && process.version === "v20.6.0")
|
|
132496
|
-
delete exports["___internal__alreadyRunning"];
|
|
132497
132896
|
}
|
|
132498
132897
|
});
|
|
132499
132898
|
|