@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/index.js
CHANGED
|
@@ -50991,6 +50991,7 @@ var require_follow_redirects = __commonJS({
|
|
|
50991
50991
|
"ERR_STREAM_WRITE_AFTER_END",
|
|
50992
50992
|
"write after end"
|
|
50993
50993
|
);
|
|
50994
|
+
var destroy = Writable.prototype.destroy || noop;
|
|
50994
50995
|
function RedirectableRequest(options, responseCallback) {
|
|
50995
50996
|
Writable.call(this);
|
|
50996
50997
|
this._sanitizeOptions(options);
|
|
@@ -51012,9 +51013,15 @@ var require_follow_redirects = __commonJS({
|
|
|
51012
51013
|
}
|
|
51013
51014
|
RedirectableRequest.prototype = Object.create(Writable.prototype);
|
|
51014
51015
|
RedirectableRequest.prototype.abort = function() {
|
|
51015
|
-
|
|
51016
|
+
destroyRequest(this._currentRequest);
|
|
51017
|
+
this._currentRequest.abort();
|
|
51016
51018
|
this.emit("abort");
|
|
51017
51019
|
};
|
|
51020
|
+
RedirectableRequest.prototype.destroy = function(error) {
|
|
51021
|
+
destroyRequest(this._currentRequest, error);
|
|
51022
|
+
destroy.call(this, error);
|
|
51023
|
+
return this;
|
|
51024
|
+
};
|
|
51018
51025
|
RedirectableRequest.prototype.write = function(data, encoding, callback) {
|
|
51019
51026
|
if (this._ending) {
|
|
51020
51027
|
throw new WriteAfterEndError();
|
|
@@ -51095,6 +51102,7 @@ var require_follow_redirects = __commonJS({
|
|
|
51095
51102
|
self2.removeListener("abort", clearTimer);
|
|
51096
51103
|
self2.removeListener("error", clearTimer);
|
|
51097
51104
|
self2.removeListener("response", clearTimer);
|
|
51105
|
+
self2.removeListener("close", clearTimer);
|
|
51098
51106
|
if (callback) {
|
|
51099
51107
|
self2.removeListener("timeout", callback);
|
|
51100
51108
|
}
|
|
@@ -51114,6 +51122,7 @@ var require_follow_redirects = __commonJS({
|
|
|
51114
51122
|
this.on("abort", clearTimer);
|
|
51115
51123
|
this.on("error", clearTimer);
|
|
51116
51124
|
this.on("response", clearTimer);
|
|
51125
|
+
this.on("close", clearTimer);
|
|
51117
51126
|
return this;
|
|
51118
51127
|
};
|
|
51119
51128
|
[
|
|
@@ -51211,7 +51220,7 @@ var require_follow_redirects = __commonJS({
|
|
|
51211
51220
|
this._requestBodyBuffers = [];
|
|
51212
51221
|
return;
|
|
51213
51222
|
}
|
|
51214
|
-
|
|
51223
|
+
destroyRequest(this._currentRequest);
|
|
51215
51224
|
response.destroy();
|
|
51216
51225
|
if (++this._redirectCount > this._options.maxRedirects) {
|
|
51217
51226
|
this.emit("error", new TooManyRedirectsError());
|
|
@@ -51376,12 +51385,12 @@ var require_follow_redirects = __commonJS({
|
|
|
51376
51385
|
CustomError.prototype.name = "Error [" + code + "]";
|
|
51377
51386
|
return CustomError;
|
|
51378
51387
|
}
|
|
51379
|
-
function
|
|
51388
|
+
function destroyRequest(request, error) {
|
|
51380
51389
|
for (var event of events) {
|
|
51381
51390
|
request.removeListener(event, eventHandlers[event]);
|
|
51382
51391
|
}
|
|
51383
51392
|
request.on("error", noop);
|
|
51384
|
-
request.
|
|
51393
|
+
request.destroy(error);
|
|
51385
51394
|
}
|
|
51386
51395
|
function isSubdomain(subdomain, domain) {
|
|
51387
51396
|
assert2(isString(subdomain) && isString(domain));
|
|
@@ -66553,6 +66562,7 @@ var require_generated = __commonJS({
|
|
|
66553
66562
|
exports.isImportAttribute = isImportAttribute;
|
|
66554
66563
|
exports.isImportDeclaration = isImportDeclaration;
|
|
66555
66564
|
exports.isImportDefaultSpecifier = isImportDefaultSpecifier;
|
|
66565
|
+
exports.isImportExpression = isImportExpression;
|
|
66556
66566
|
exports.isImportNamespaceSpecifier = isImportNamespaceSpecifier;
|
|
66557
66567
|
exports.isImportOrExportDeclaration = isImportOrExportDeclaration;
|
|
66558
66568
|
exports.isImportSpecifier = isImportSpecifier;
|
|
@@ -67215,6 +67225,13 @@ var require_generated = __commonJS({
|
|
|
67215
67225
|
return false;
|
|
67216
67226
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
67217
67227
|
}
|
|
67228
|
+
function isImportExpression(node, opts) {
|
|
67229
|
+
if (!node)
|
|
67230
|
+
return false;
|
|
67231
|
+
if (node.type !== "ImportExpression")
|
|
67232
|
+
return false;
|
|
67233
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
67234
|
+
}
|
|
67218
67235
|
function isMetaProperty(node, opts) {
|
|
67219
67236
|
if (!node)
|
|
67220
67237
|
return false;
|
|
@@ -68566,6 +68583,7 @@ var require_generated = __commonJS({
|
|
|
68566
68583
|
case "ImportDefaultSpecifier":
|
|
68567
68584
|
case "ImportNamespaceSpecifier":
|
|
68568
68585
|
case "ImportSpecifier":
|
|
68586
|
+
case "ImportExpression":
|
|
68569
68587
|
case "MetaProperty":
|
|
68570
68588
|
case "ClassMethod":
|
|
68571
68589
|
case "ObjectPattern":
|
|
@@ -68631,6 +68649,7 @@ var require_generated = __commonJS({
|
|
|
68631
68649
|
case "UpdateExpression":
|
|
68632
68650
|
case "ArrowFunctionExpression":
|
|
68633
68651
|
case "ClassExpression":
|
|
68652
|
+
case "ImportExpression":
|
|
68634
68653
|
case "MetaProperty":
|
|
68635
68654
|
case "Super":
|
|
68636
68655
|
case "TaggedTemplateExpression":
|
|
@@ -69957,11 +69976,11 @@ var require_identifier = __commonJS({
|
|
|
69957
69976
|
exports.isIdentifierName = isIdentifierName;
|
|
69958
69977
|
exports.isIdentifierStart = isIdentifierStart;
|
|
69959
69978
|
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";
|
|
69960
|
-
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";
|
|
69979
|
+
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";
|
|
69961
69980
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
69962
69981
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
69963
69982
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
69964
|
-
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,
|
|
69983
|
+
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];
|
|
69965
69984
|
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];
|
|
69966
69985
|
function isInAstralSet(code, set) {
|
|
69967
69986
|
let pos = 65536;
|
|
@@ -70833,7 +70852,7 @@ var require_core = __commonJS({
|
|
|
70833
70852
|
}()
|
|
70834
70853
|
},
|
|
70835
70854
|
left: {
|
|
70836
|
-
validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal") : (0, _utils.assertNodeType)("Identifier", "MemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression")
|
|
70855
|
+
validate: !process.env.BABEL_TYPES_8_BREAKING ? (0, _utils.assertNodeType)("LVal", "OptionalMemberExpression") : (0, _utils.assertNodeType)("Identifier", "MemberExpression", "OptionalMemberExpression", "ArrayPattern", "ObjectPattern", "TSAsExpression", "TSSatisfiesExpression", "TSTypeAssertion", "TSNonNullExpression")
|
|
70837
70856
|
},
|
|
70838
70857
|
right: {
|
|
70839
70858
|
validate: (0, _utils.assertNodeType)("Expression")
|
|
@@ -71994,6 +72013,10 @@ var require_core = __commonJS({
|
|
|
71994
72013
|
optional: true,
|
|
71995
72014
|
validate: (0, _utils.assertValueType)("boolean")
|
|
71996
72015
|
},
|
|
72016
|
+
phase: {
|
|
72017
|
+
default: null,
|
|
72018
|
+
validate: (0, _utils.assertOneOf)("source", "defer")
|
|
72019
|
+
},
|
|
71997
72020
|
specifiers: {
|
|
71998
72021
|
validate: (0, _utils.chain)((0, _utils.assertValueType)("array"), (0, _utils.assertEach)((0, _utils.assertNodeType)("ImportSpecifier", "ImportDefaultSpecifier", "ImportNamespaceSpecifier")))
|
|
71999
72022
|
},
|
|
@@ -72040,6 +72063,23 @@ var require_core = __commonJS({
|
|
|
72040
72063
|
}
|
|
72041
72064
|
}
|
|
72042
72065
|
});
|
|
72066
|
+
defineType("ImportExpression", {
|
|
72067
|
+
visitor: ["source", "options"],
|
|
72068
|
+
aliases: ["Expression"],
|
|
72069
|
+
fields: {
|
|
72070
|
+
phase: {
|
|
72071
|
+
default: null,
|
|
72072
|
+
validate: (0, _utils.assertOneOf)("source", "defer")
|
|
72073
|
+
},
|
|
72074
|
+
source: {
|
|
72075
|
+
validate: (0, _utils.assertNodeType)("Expression")
|
|
72076
|
+
},
|
|
72077
|
+
options: {
|
|
72078
|
+
validate: (0, _utils.assertNodeType)("Expression"),
|
|
72079
|
+
optional: true
|
|
72080
|
+
}
|
|
72081
|
+
}
|
|
72082
|
+
});
|
|
72043
72083
|
defineType("MetaProperty", {
|
|
72044
72084
|
visitor: ["meta", "property"],
|
|
72045
72085
|
aliases: ["Expression"],
|
|
@@ -74114,6 +74154,7 @@ var require_generated2 = __commonJS({
|
|
|
74114
74154
|
exports.importAttribute = importAttribute;
|
|
74115
74155
|
exports.importDeclaration = importDeclaration;
|
|
74116
74156
|
exports.importDefaultSpecifier = importDefaultSpecifier;
|
|
74157
|
+
exports.importExpression = importExpression;
|
|
74117
74158
|
exports.importNamespaceSpecifier = importNamespaceSpecifier;
|
|
74118
74159
|
exports.importSpecifier = importSpecifier;
|
|
74119
74160
|
exports.indexedAccessType = indexedAccessType;
|
|
@@ -74758,6 +74799,13 @@ var require_generated2 = __commonJS({
|
|
|
74758
74799
|
imported
|
|
74759
74800
|
});
|
|
74760
74801
|
}
|
|
74802
|
+
function importExpression(source, options = null) {
|
|
74803
|
+
return (0, _validateNode.default)({
|
|
74804
|
+
type: "ImportExpression",
|
|
74805
|
+
source,
|
|
74806
|
+
options
|
|
74807
|
+
});
|
|
74808
|
+
}
|
|
74761
74809
|
function metaProperty(meta, property) {
|
|
74762
74810
|
return (0, _validateNode.default)({
|
|
74763
74811
|
type: "MetaProperty",
|
|
@@ -76232,6 +76280,7 @@ var require_generated3 = __commonJS({
|
|
|
76232
76280
|
exports.assertImportAttribute = assertImportAttribute;
|
|
76233
76281
|
exports.assertImportDeclaration = assertImportDeclaration;
|
|
76234
76282
|
exports.assertImportDefaultSpecifier = assertImportDefaultSpecifier;
|
|
76283
|
+
exports.assertImportExpression = assertImportExpression;
|
|
76235
76284
|
exports.assertImportNamespaceSpecifier = assertImportNamespaceSpecifier;
|
|
76236
76285
|
exports.assertImportOrExportDeclaration = assertImportOrExportDeclaration;
|
|
76237
76286
|
exports.assertImportSpecifier = assertImportSpecifier;
|
|
@@ -76635,6 +76684,9 @@ var require_generated3 = __commonJS({
|
|
|
76635
76684
|
function assertImportSpecifier(node, opts) {
|
|
76636
76685
|
assert2("ImportSpecifier", node, opts);
|
|
76637
76686
|
}
|
|
76687
|
+
function assertImportExpression(node, opts) {
|
|
76688
|
+
assert2("ImportExpression", node, opts);
|
|
76689
|
+
}
|
|
76638
76690
|
function assertMetaProperty(node, opts) {
|
|
76639
76691
|
assert2("MetaProperty", node, opts);
|
|
76640
76692
|
}
|
|
@@ -78072,6 +78124,12 @@ var require_uppercase = __commonJS({
|
|
|
78072
78124
|
return _index.importDefaultSpecifier;
|
|
78073
78125
|
}
|
|
78074
78126
|
});
|
|
78127
|
+
Object.defineProperty(exports, "ImportExpression", {
|
|
78128
|
+
enumerable: true,
|
|
78129
|
+
get: function() {
|
|
78130
|
+
return _index.importExpression;
|
|
78131
|
+
}
|
|
78132
|
+
});
|
|
78075
78133
|
Object.defineProperty(exports, "ImportNamespaceSpecifier", {
|
|
78076
78134
|
enumerable: true,
|
|
78077
78135
|
get: function() {
|
|
@@ -79102,6 +79160,21 @@ var require_uppercase = __commonJS({
|
|
|
79102
79160
|
}
|
|
79103
79161
|
});
|
|
79104
79162
|
|
|
79163
|
+
// ../../node_modules/@babel/types/lib/builders/productions.js
|
|
79164
|
+
var require_productions = __commonJS({
|
|
79165
|
+
"../../node_modules/@babel/types/lib/builders/productions.js"(exports) {
|
|
79166
|
+
"use strict";
|
|
79167
|
+
Object.defineProperty(exports, "__esModule", {
|
|
79168
|
+
value: true
|
|
79169
|
+
});
|
|
79170
|
+
exports.buildUndefinedNode = buildUndefinedNode;
|
|
79171
|
+
var _index = require_generated2();
|
|
79172
|
+
function buildUndefinedNode() {
|
|
79173
|
+
return (0, _index.unaryExpression)("void", (0, _index.numericLiteral)(0), true);
|
|
79174
|
+
}
|
|
79175
|
+
}
|
|
79176
|
+
});
|
|
79177
|
+
|
|
79105
79178
|
// ../../node_modules/@babel/types/lib/clone/cloneNode.js
|
|
79106
79179
|
var require_cloneNode = __commonJS({
|
|
79107
79180
|
"../../node_modules/@babel/types/lib/clone/cloneNode.js"(exports) {
|
|
@@ -80566,15 +80639,6 @@ var require_isVar = __commonJS({
|
|
|
80566
80639
|
var require_lib4 = __commonJS({
|
|
80567
80640
|
"../../node_modules/@babel/types/lib/index.js"(exports) {
|
|
80568
80641
|
"use strict";
|
|
80569
|
-
if (typeof process === "object" && process.version === "v20.6.0") {
|
|
80570
|
-
if (exports["___internal__alreadyRunning"])
|
|
80571
|
-
return;
|
|
80572
|
-
Object.defineProperty(exports, "___internal__alreadyRunning", {
|
|
80573
|
-
value: true,
|
|
80574
|
-
enumerable: false,
|
|
80575
|
-
configurable: true
|
|
80576
|
-
});
|
|
80577
|
-
}
|
|
80578
80642
|
Object.defineProperty(exports, "__esModule", {
|
|
80579
80643
|
value: true
|
|
80580
80644
|
});
|
|
@@ -81033,6 +81097,21 @@ var require_lib4 = __commonJS({
|
|
|
81033
81097
|
}
|
|
81034
81098
|
});
|
|
81035
81099
|
});
|
|
81100
|
+
var _productions = require_productions();
|
|
81101
|
+
Object.keys(_productions).forEach(function(key) {
|
|
81102
|
+
if (key === "default" || key === "__esModule")
|
|
81103
|
+
return;
|
|
81104
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key))
|
|
81105
|
+
return;
|
|
81106
|
+
if (key in exports && exports[key] === _productions[key])
|
|
81107
|
+
return;
|
|
81108
|
+
Object.defineProperty(exports, key, {
|
|
81109
|
+
enumerable: true,
|
|
81110
|
+
get: function() {
|
|
81111
|
+
return _productions[key];
|
|
81112
|
+
}
|
|
81113
|
+
});
|
|
81114
|
+
});
|
|
81036
81115
|
var _cloneNode = require_cloneNode();
|
|
81037
81116
|
var _clone = require_clone2();
|
|
81038
81117
|
var _cloneDeep = require_cloneDeep();
|
|
@@ -81165,8 +81244,6 @@ var require_lib4 = __commonJS({
|
|
|
81165
81244
|
buildChildren: _buildChildren.default
|
|
81166
81245
|
};
|
|
81167
81246
|
exports.react = react;
|
|
81168
|
-
if (typeof process === "object" && process.version === "v20.6.0")
|
|
81169
|
-
delete exports["___internal__alreadyRunning"];
|
|
81170
81247
|
}
|
|
81171
81248
|
});
|
|
81172
81249
|
|
|
@@ -81532,16 +81609,12 @@ var require_lib6 = __commonJS({
|
|
|
81532
81609
|
exports.default = void 0;
|
|
81533
81610
|
exports.requeueComputedKeyAndDecorators = requeueComputedKeyAndDecorators;
|
|
81534
81611
|
{
|
|
81535
|
-
{
|
|
81536
|
-
|
|
81537
|
-
|
|
81538
|
-
|
|
81539
|
-
if (path15.node.computed) {
|
|
81540
|
-
path15.context.maybeQueue(path15.get("key"));
|
|
81541
|
-
}
|
|
81542
|
-
};
|
|
81612
|
+
exports.skipAllButComputedKey = function skipAllButComputedKey(path15) {
|
|
81613
|
+
path15.skip();
|
|
81614
|
+
if (path15.node.computed) {
|
|
81615
|
+
path15.context.maybeQueue(path15.get("key"));
|
|
81543
81616
|
}
|
|
81544
|
-
}
|
|
81617
|
+
};
|
|
81545
81618
|
}
|
|
81546
81619
|
function requeueComputedKeyAndDecorators(path15) {
|
|
81547
81620
|
const {
|
|
@@ -83416,7 +83489,6 @@ var require_scope = __commonJS({
|
|
|
83416
83489
|
memberExpression,
|
|
83417
83490
|
numericLiteral,
|
|
83418
83491
|
toIdentifier,
|
|
83419
|
-
unaryExpression,
|
|
83420
83492
|
variableDeclaration,
|
|
83421
83493
|
variableDeclarator,
|
|
83422
83494
|
isRecordExpression,
|
|
@@ -83425,7 +83497,8 @@ var require_scope = __commonJS({
|
|
|
83425
83497
|
isTopicReference,
|
|
83426
83498
|
isMetaProperty,
|
|
83427
83499
|
isPrivateName,
|
|
83428
|
-
isExportDeclaration
|
|
83500
|
+
isExportDeclaration,
|
|
83501
|
+
buildUndefinedNode
|
|
83429
83502
|
} = _t;
|
|
83430
83503
|
function gatherNodeParts(node, parts2) {
|
|
83431
83504
|
switch (node == null ? void 0 : node.type) {
|
|
@@ -83887,7 +83960,7 @@ var require_scope = __commonJS({
|
|
|
83887
83960
|
}
|
|
83888
83961
|
}
|
|
83889
83962
|
buildUndefinedNode() {
|
|
83890
|
-
return
|
|
83963
|
+
return buildUndefinedNode();
|
|
83891
83964
|
}
|
|
83892
83965
|
registerConstantViolation(path15) {
|
|
83893
83966
|
const ids = path15.getBindingIdentifiers();
|
|
@@ -87268,6 +87341,7 @@ var require_modules = __commonJS({
|
|
|
87268
87341
|
exports.ImportAttribute = ImportAttribute;
|
|
87269
87342
|
exports.ImportDeclaration = ImportDeclaration;
|
|
87270
87343
|
exports.ImportDefaultSpecifier = ImportDefaultSpecifier;
|
|
87344
|
+
exports.ImportExpression = ImportExpression;
|
|
87271
87345
|
exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier;
|
|
87272
87346
|
exports.ImportSpecifier = ImportSpecifier;
|
|
87273
87347
|
exports._printAttributes = _printAttributes;
|
|
@@ -87455,6 +87529,10 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
87455
87529
|
this.noIndentInnerCommentsHere();
|
|
87456
87530
|
this.word("module");
|
|
87457
87531
|
this.space();
|
|
87532
|
+
} else if (node.phase) {
|
|
87533
|
+
this.noIndentInnerCommentsHere();
|
|
87534
|
+
this.word(node.phase);
|
|
87535
|
+
this.space();
|
|
87458
87536
|
}
|
|
87459
87537
|
const specifiers = node.specifiers.slice(0);
|
|
87460
87538
|
const hasSpecifiers = !!specifiers.length;
|
|
@@ -87507,6 +87585,21 @@ Please specify the "importAttributesKeyword" generator option, whose value can b
|
|
|
87507
87585
|
this.space();
|
|
87508
87586
|
this.print(node.local, node);
|
|
87509
87587
|
}
|
|
87588
|
+
function ImportExpression(node) {
|
|
87589
|
+
this.word("import");
|
|
87590
|
+
if (node.phase) {
|
|
87591
|
+
this.tokenChar(46);
|
|
87592
|
+
this.word(node.phase);
|
|
87593
|
+
}
|
|
87594
|
+
this.tokenChar(40);
|
|
87595
|
+
this.print(node.source, node);
|
|
87596
|
+
if (node.options != null) {
|
|
87597
|
+
this.tokenChar(44);
|
|
87598
|
+
this.space();
|
|
87599
|
+
this.print(node.options, node);
|
|
87600
|
+
}
|
|
87601
|
+
this.tokenChar(41);
|
|
87602
|
+
}
|
|
87510
87603
|
}
|
|
87511
87604
|
});
|
|
87512
87605
|
|
|
@@ -92978,9 +93071,7 @@ var require_lib8 = __commonJS({
|
|
|
92978
93071
|
return _chalk.default;
|
|
92979
93072
|
}
|
|
92980
93073
|
{
|
|
92981
|
-
|
|
92982
|
-
exports.getChalk = (options) => getChalk(options.forceColor);
|
|
92983
|
-
}
|
|
93074
|
+
exports.getChalk = (options) => getChalk(options.forceColor);
|
|
92984
93075
|
}
|
|
92985
93076
|
function highlight(code, options = {}) {
|
|
92986
93077
|
if (code !== "" && shouldHighlight(options)) {
|
|
@@ -94852,6 +94943,7 @@ var require_lib10 = __commonJS({
|
|
|
94852
94943
|
DecoratorExportClass: "Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",
|
|
94853
94944
|
DecoratorSemicolon: "Decorators must not be followed by a semicolon.",
|
|
94854
94945
|
DecoratorStaticBlock: "Decorators can't be used with a static block.",
|
|
94946
|
+
DeferImportRequiresNamespace: 'Only `import defer * as x from "./module"` is valid.',
|
|
94855
94947
|
DeletePrivateField: "Deleting a private field is not allowed.",
|
|
94856
94948
|
DestructureNamedImport: "ES2015 named imports do not destructure. Use another statement for destructuring after the import.",
|
|
94857
94949
|
DuplicateConstructor: "Duplicate constructor in the same class.",
|
|
@@ -94861,6 +94953,9 @@ var require_lib10 = __commonJS({
|
|
|
94861
94953
|
}) => `\`${exportName}\` has already been exported. Exported identifiers must be unique.`,
|
|
94862
94954
|
DuplicateProto: "Redefinition of __proto__ property.",
|
|
94863
94955
|
DuplicateRegExpFlags: "Duplicate regular expression flag.",
|
|
94956
|
+
DynamicImportPhaseRequiresImportExpressions: ({
|
|
94957
|
+
phase
|
|
94958
|
+
}) => `'import.${phase}(...)' can only be parsed when using the 'createImportExpressions' option.`,
|
|
94864
94959
|
ElementAfterRest: "Rest element must be last element.",
|
|
94865
94960
|
EscapedCharNotAnIdentifier: "Invalid Unicode escape.",
|
|
94866
94961
|
ExportBindingIsString: ({
|
|
@@ -94917,6 +95012,9 @@ var require_lib10 = __commonJS({
|
|
|
94917
95012
|
InvalidLhsBinding: ({
|
|
94918
95013
|
ancestor
|
|
94919
95014
|
}) => `Binding invalid left-hand side in ${toNodeDescription(ancestor)}.`,
|
|
95015
|
+
InvalidLhsOptionalChaining: ({
|
|
95016
|
+
ancestor
|
|
95017
|
+
}) => `Invalid optional chaining in the left-hand side of ${toNodeDescription(ancestor)}.`,
|
|
94920
95018
|
InvalidNumber: "Invalid number.",
|
|
94921
95019
|
InvalidOrMissingExponent: "Floating-point numbers require a valid exponent after the 'e'.",
|
|
94922
95020
|
InvalidOrUnexpectedToken: ({
|
|
@@ -94982,6 +95080,7 @@ var require_lib10 = __commonJS({
|
|
|
94982
95080
|
RestTrailingComma: "Unexpected trailing comma after rest element.",
|
|
94983
95081
|
SloppyFunction: "In non-strict mode code, functions can only be declared at top level or inside a block.",
|
|
94984
95082
|
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.",
|
|
95083
|
+
SourcePhaseImportRequiresDefault: 'Only `import source x from "./module"` is valid.',
|
|
94985
95084
|
StaticPrototype: "Classes may not have static property named prototype.",
|
|
94986
95085
|
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?",
|
|
94987
95086
|
SuperPrivateField: "Private fields can't be accessed on super.",
|
|
@@ -95401,8 +95500,9 @@ var require_lib10 = __commonJS({
|
|
|
95401
95500
|
node.type = "ImportExpression";
|
|
95402
95501
|
node.source = node.arguments[0];
|
|
95403
95502
|
if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
|
|
95404
|
-
var _node$arguments
|
|
95405
|
-
node.
|
|
95503
|
+
var _node$arguments$, _node$arguments$2;
|
|
95504
|
+
node.options = (_node$arguments$ = node.arguments[1]) != null ? _node$arguments$ : null;
|
|
95505
|
+
node.attributes = (_node$arguments$2 = node.arguments[1]) != null ? _node$arguments$2 : null;
|
|
95406
95506
|
}
|
|
95407
95507
|
delete node.arguments;
|
|
95408
95508
|
delete node.callee;
|
|
@@ -95458,6 +95558,12 @@ var require_lib10 = __commonJS({
|
|
|
95458
95558
|
}
|
|
95459
95559
|
return node;
|
|
95460
95560
|
}
|
|
95561
|
+
isOptionalMemberExpression(node) {
|
|
95562
|
+
if (node.type === "ChainExpression") {
|
|
95563
|
+
return node.expression.type === "MemberExpression";
|
|
95564
|
+
}
|
|
95565
|
+
return super.isOptionalMemberExpression(node);
|
|
95566
|
+
}
|
|
95461
95567
|
hasPropertyAsPrivateName(node) {
|
|
95462
95568
|
if (node.type === "ChainExpression") {
|
|
95463
95569
|
node = node.expression;
|
|
@@ -95831,6 +95937,9 @@ var require_lib10 = __commonJS({
|
|
|
95831
95937
|
_await: createKeywordLike("await", {
|
|
95832
95938
|
startsExpr
|
|
95833
95939
|
}),
|
|
95940
|
+
_defer: createKeywordLike("defer", {
|
|
95941
|
+
startsExpr
|
|
95942
|
+
}),
|
|
95834
95943
|
_from: createKeywordLike("from", {
|
|
95835
95944
|
startsExpr
|
|
95836
95945
|
}),
|
|
@@ -95852,6 +95961,9 @@ var require_lib10 = __commonJS({
|
|
|
95852
95961
|
_set: createKeywordLike("set", {
|
|
95853
95962
|
startsExpr
|
|
95854
95963
|
}),
|
|
95964
|
+
_source: createKeywordLike("source", {
|
|
95965
|
+
startsExpr
|
|
95966
|
+
}),
|
|
95855
95967
|
_static: createKeywordLike("static", {
|
|
95856
95968
|
startsExpr
|
|
95857
95969
|
}),
|
|
@@ -95965,16 +96077,16 @@ var require_lib10 = __commonJS({
|
|
|
95965
96077
|
})
|
|
95966
96078
|
};
|
|
95967
96079
|
function tokenIsIdentifier(token) {
|
|
95968
|
-
return token >= 93 && token <=
|
|
96080
|
+
return token >= 93 && token <= 132;
|
|
95969
96081
|
}
|
|
95970
96082
|
function tokenKeywordOrIdentifierIsKeyword(token) {
|
|
95971
96083
|
return token <= 92;
|
|
95972
96084
|
}
|
|
95973
96085
|
function tokenIsKeywordOrIdentifier(token) {
|
|
95974
|
-
return token >= 58 && token <=
|
|
96086
|
+
return token >= 58 && token <= 132;
|
|
95975
96087
|
}
|
|
95976
96088
|
function tokenIsLiteralPropertyName(token) {
|
|
95977
|
-
return token >= 58 && token <=
|
|
96089
|
+
return token >= 58 && token <= 136;
|
|
95978
96090
|
}
|
|
95979
96091
|
function tokenComesBeforeExpression(token) {
|
|
95980
96092
|
return tokenBeforeExprs[token];
|
|
@@ -95986,7 +96098,7 @@ var require_lib10 = __commonJS({
|
|
|
95986
96098
|
return token >= 29 && token <= 33;
|
|
95987
96099
|
}
|
|
95988
96100
|
function tokenIsFlowInterfaceOrTypeOrOpaque(token) {
|
|
95989
|
-
return token >=
|
|
96101
|
+
return token >= 129 && token <= 131;
|
|
95990
96102
|
}
|
|
95991
96103
|
function tokenIsLoop(token) {
|
|
95992
96104
|
return token >= 90 && token <= 92;
|
|
@@ -96004,10 +96116,10 @@ var require_lib10 = __commonJS({
|
|
|
96004
96116
|
return tokenPrefixes[token];
|
|
96005
96117
|
}
|
|
96006
96118
|
function tokenIsTSTypeOperator(token) {
|
|
96007
|
-
return token >=
|
|
96119
|
+
return token >= 121 && token <= 123;
|
|
96008
96120
|
}
|
|
96009
96121
|
function tokenIsTSDeclarationStart(token) {
|
|
96010
|
-
return token >=
|
|
96122
|
+
return token >= 124 && token <= 130;
|
|
96011
96123
|
}
|
|
96012
96124
|
function tokenLabelName(token) {
|
|
96013
96125
|
return tokenLabels[token];
|
|
@@ -96038,16 +96150,16 @@ var require_lib10 = __commonJS({
|
|
|
96038
96150
|
context.push(types2.template);
|
|
96039
96151
|
}
|
|
96040
96152
|
};
|
|
96041
|
-
tokenTypes[
|
|
96153
|
+
tokenTypes[142].updateContext = (context) => {
|
|
96042
96154
|
context.push(types2.j_expr, types2.j_oTag);
|
|
96043
96155
|
};
|
|
96044
96156
|
}
|
|
96045
96157
|
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";
|
|
96046
|
-
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";
|
|
96158
|
+
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";
|
|
96047
96159
|
var nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
|
|
96048
96160
|
var nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
|
|
96049
96161
|
nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
|
|
96050
|
-
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,
|
|
96162
|
+
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];
|
|
96051
96163
|
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];
|
|
96052
96164
|
function isInAstralSet(code2, set) {
|
|
96053
96165
|
let pos = 65536;
|
|
@@ -96590,7 +96702,7 @@ var require_lib10 = __commonJS({
|
|
|
96590
96702
|
this.comments = [];
|
|
96591
96703
|
this.commentStack = [];
|
|
96592
96704
|
this.pos = 0;
|
|
96593
|
-
this.type =
|
|
96705
|
+
this.type = 139;
|
|
96594
96706
|
this.value = null;
|
|
96595
96707
|
this.start = 0;
|
|
96596
96708
|
this.end = 0;
|
|
@@ -97080,7 +97192,7 @@ var require_lib10 = __commonJS({
|
|
|
97080
97192
|
if (!this.isLookahead)
|
|
97081
97193
|
this.state.startLoc = this.state.curPosition();
|
|
97082
97194
|
if (this.state.pos >= this.length) {
|
|
97083
|
-
this.finishToken(
|
|
97195
|
+
this.finishToken(139);
|
|
97084
97196
|
return;
|
|
97085
97197
|
}
|
|
97086
97198
|
this.getTokenFromCode(this.codePointAtPos(this.state.pos));
|
|
@@ -97273,10 +97385,10 @@ var require_lib10 = __commonJS({
|
|
|
97273
97385
|
}
|
|
97274
97386
|
} else if (isIdentifierStart(next)) {
|
|
97275
97387
|
++this.state.pos;
|
|
97276
|
-
this.finishToken(
|
|
97388
|
+
this.finishToken(138, this.readWord1(next));
|
|
97277
97389
|
} else if (next === 92) {
|
|
97278
97390
|
++this.state.pos;
|
|
97279
|
-
this.finishToken(
|
|
97391
|
+
this.finishToken(138, this.readWord1());
|
|
97280
97392
|
} else {
|
|
97281
97393
|
this.finishOp(27, 1);
|
|
97282
97394
|
}
|
|
@@ -97710,7 +97822,7 @@ var require_lib10 = __commonJS({
|
|
|
97710
97822
|
mods += char;
|
|
97711
97823
|
}
|
|
97712
97824
|
this.state.pos = pos;
|
|
97713
|
-
this.finishToken(
|
|
97825
|
+
this.finishToken(137, {
|
|
97714
97826
|
pattern: content,
|
|
97715
97827
|
flags: mods
|
|
97716
97828
|
});
|
|
@@ -97750,10 +97862,10 @@ var require_lib10 = __commonJS({
|
|
|
97750
97862
|
}
|
|
97751
97863
|
if (isBigInt) {
|
|
97752
97864
|
const str = this.input.slice(startLoc.index, this.state.pos).replace(/[_n]/g, "");
|
|
97753
|
-
this.finishToken(
|
|
97865
|
+
this.finishToken(135, str);
|
|
97754
97866
|
return;
|
|
97755
97867
|
}
|
|
97756
|
-
this.finishToken(
|
|
97868
|
+
this.finishToken(134, val);
|
|
97757
97869
|
}
|
|
97758
97870
|
readNumber(startsWithDot) {
|
|
97759
97871
|
const start = this.state.pos;
|
|
@@ -97831,15 +97943,15 @@ var require_lib10 = __commonJS({
|
|
|
97831
97943
|
}
|
|
97832
97944
|
const str = this.input.slice(start, this.state.pos).replace(/[_mn]/g, "");
|
|
97833
97945
|
if (isBigInt) {
|
|
97834
|
-
this.finishToken(
|
|
97946
|
+
this.finishToken(135, str);
|
|
97835
97947
|
return;
|
|
97836
97948
|
}
|
|
97837
97949
|
if (isDecimal) {
|
|
97838
|
-
this.finishToken(
|
|
97950
|
+
this.finishToken(136, str);
|
|
97839
97951
|
return;
|
|
97840
97952
|
}
|
|
97841
97953
|
const val = isOctal ? parseInt(str, 8) : parseFloat(str);
|
|
97842
|
-
this.finishToken(
|
|
97954
|
+
this.finishToken(134, val);
|
|
97843
97955
|
}
|
|
97844
97956
|
readCodePoint(throwOnInvalid) {
|
|
97845
97957
|
const {
|
|
@@ -97859,7 +97971,7 @@ var require_lib10 = __commonJS({
|
|
|
97859
97971
|
this.state.pos = pos + 1;
|
|
97860
97972
|
this.state.lineStart = lineStart;
|
|
97861
97973
|
this.state.curLine = curLine;
|
|
97862
|
-
this.finishToken(
|
|
97974
|
+
this.finishToken(133, str);
|
|
97863
97975
|
}
|
|
97864
97976
|
readTemplateContinuation() {
|
|
97865
97977
|
if (!this.match(8)) {
|
|
@@ -97949,7 +98061,7 @@ var require_lib10 = __commonJS({
|
|
|
97949
98061
|
if (type !== void 0) {
|
|
97950
98062
|
this.finishToken(type, tokenLabelName(type));
|
|
97951
98063
|
} else {
|
|
97952
|
-
this.finishToken(
|
|
98064
|
+
this.finishToken(132, word);
|
|
97953
98065
|
}
|
|
97954
98066
|
}
|
|
97955
98067
|
checkKeywordEscapes() {
|
|
@@ -98323,7 +98435,7 @@ var require_lib10 = __commonJS({
|
|
|
98323
98435
|
}
|
|
98324
98436
|
}
|
|
98325
98437
|
canInsertSemicolon() {
|
|
98326
|
-
return this.match(
|
|
98438
|
+
return this.match(139) || this.match(8) || this.hasPrecedingLineBreak();
|
|
98327
98439
|
}
|
|
98328
98440
|
hasPrecedingLineBreak() {
|
|
98329
98441
|
return lineBreak.test(this.input.slice(this.state.lastTokEndLoc.index, this.state.start));
|
|
@@ -98745,7 +98857,7 @@ var require_lib10 = __commonJS({
|
|
|
98745
98857
|
return !!this.getPluginOption("flow", "enums");
|
|
98746
98858
|
}
|
|
98747
98859
|
finishToken(type, val) {
|
|
98748
|
-
if (type !==
|
|
98860
|
+
if (type !== 133 && type !== 13 && type !== 28) {
|
|
98749
98861
|
if (this.flowPragma === void 0) {
|
|
98750
98862
|
this.flowPragma = null;
|
|
98751
98863
|
}
|
|
@@ -98779,7 +98891,7 @@ var require_lib10 = __commonJS({
|
|
|
98779
98891
|
const node = this.startNode();
|
|
98780
98892
|
const moduloLoc = this.state.startLoc;
|
|
98781
98893
|
this.next();
|
|
98782
|
-
this.expectContextual(
|
|
98894
|
+
this.expectContextual(110);
|
|
98783
98895
|
if (this.state.lastTokStart > moduloLoc.index + 1) {
|
|
98784
98896
|
this.raise(FlowErrors.UnexpectedSpaceBetweenModuloChecks, {
|
|
98785
98897
|
at: moduloLoc
|
|
@@ -98847,7 +98959,7 @@ var require_lib10 = __commonJS({
|
|
|
98847
98959
|
return this.flowParseDeclareFunction(node);
|
|
98848
98960
|
} else if (this.match(74)) {
|
|
98849
98961
|
return this.flowParseDeclareVariable(node);
|
|
98850
|
-
} else if (this.eatContextual(
|
|
98962
|
+
} else if (this.eatContextual(127)) {
|
|
98851
98963
|
if (this.match(16)) {
|
|
98852
98964
|
return this.flowParseDeclareModuleExports(node);
|
|
98853
98965
|
} else {
|
|
@@ -98858,11 +98970,11 @@ var require_lib10 = __commonJS({
|
|
|
98858
98970
|
}
|
|
98859
98971
|
return this.flowParseDeclareModule(node);
|
|
98860
98972
|
}
|
|
98861
|
-
} else if (this.isContextual(
|
|
98973
|
+
} else if (this.isContextual(130)) {
|
|
98862
98974
|
return this.flowParseDeclareTypeAlias(node);
|
|
98863
|
-
} else if (this.isContextual(
|
|
98975
|
+
} else if (this.isContextual(131)) {
|
|
98864
98976
|
return this.flowParseDeclareOpaqueType(node);
|
|
98865
|
-
} else if (this.isContextual(
|
|
98977
|
+
} else if (this.isContextual(129)) {
|
|
98866
98978
|
return this.flowParseDeclareInterface(node);
|
|
98867
98979
|
} else if (this.match(82)) {
|
|
98868
98980
|
return this.flowParseDeclareExportDeclaration(node, insideModule);
|
|
@@ -98879,7 +98991,7 @@ var require_lib10 = __commonJS({
|
|
|
98879
98991
|
}
|
|
98880
98992
|
flowParseDeclareModule(node) {
|
|
98881
98993
|
this.scope.enter(0);
|
|
98882
|
-
if (this.match(
|
|
98994
|
+
if (this.match(133)) {
|
|
98883
98995
|
node.id = super.parseExprAtom();
|
|
98884
98996
|
} else {
|
|
98885
98997
|
node.id = this.parseIdentifier();
|
|
@@ -98891,14 +99003,14 @@ var require_lib10 = __commonJS({
|
|
|
98891
99003
|
let bodyNode2 = this.startNode();
|
|
98892
99004
|
if (this.match(83)) {
|
|
98893
99005
|
this.next();
|
|
98894
|
-
if (!this.isContextual(
|
|
99006
|
+
if (!this.isContextual(130) && !this.match(87)) {
|
|
98895
99007
|
this.raise(FlowErrors.InvalidNonTypeImportInDeclareModule, {
|
|
98896
99008
|
at: this.state.lastTokStartLoc
|
|
98897
99009
|
});
|
|
98898
99010
|
}
|
|
98899
99011
|
super.parseImport(bodyNode2);
|
|
98900
99012
|
} else {
|
|
98901
|
-
this.expectContextual(
|
|
99013
|
+
this.expectContextual(125, FlowErrors.UnsupportedStatementInDeclareModule);
|
|
98902
99014
|
bodyNode2 = this.flowParseDeclare(bodyNode2, true);
|
|
98903
99015
|
}
|
|
98904
99016
|
body.push(bodyNode2);
|
|
@@ -98946,7 +99058,7 @@ var require_lib10 = __commonJS({
|
|
|
98946
99058
|
node.default = true;
|
|
98947
99059
|
return this.finishNode(node, "DeclareExportDeclaration");
|
|
98948
99060
|
} else {
|
|
98949
|
-
if (this.match(75) || this.isLet() || (this.isContextual(
|
|
99061
|
+
if (this.match(75) || this.isLet() || (this.isContextual(130) || this.isContextual(129)) && !insideModule) {
|
|
98950
99062
|
const label = this.state.value;
|
|
98951
99063
|
throw this.raise(FlowErrors.UnsupportedDeclareExportKind, {
|
|
98952
99064
|
at: this.state.startLoc,
|
|
@@ -98954,11 +99066,11 @@ var require_lib10 = __commonJS({
|
|
|
98954
99066
|
suggestion: exportSuggestions[label]
|
|
98955
99067
|
});
|
|
98956
99068
|
}
|
|
98957
|
-
if (this.match(74) || this.match(68) || this.match(80) || this.isContextual(
|
|
99069
|
+
if (this.match(74) || this.match(68) || this.match(80) || this.isContextual(131)) {
|
|
98958
99070
|
node.declaration = this.flowParseDeclare(this.startNode());
|
|
98959
99071
|
node.default = false;
|
|
98960
99072
|
return this.finishNode(node, "DeclareExportDeclaration");
|
|
98961
|
-
} else if (this.match(55) || this.match(5) || this.isContextual(
|
|
99073
|
+
} else if (this.match(55) || this.match(5) || this.isContextual(129) || this.isContextual(130) || this.isContextual(131)) {
|
|
98962
99074
|
node = this.parseExport(node, null);
|
|
98963
99075
|
if (node.type === "ExportNamedDeclaration") {
|
|
98964
99076
|
node.type = "ExportDeclaration";
|
|
@@ -98973,7 +99085,7 @@ var require_lib10 = __commonJS({
|
|
|
98973
99085
|
}
|
|
98974
99086
|
flowParseDeclareModuleExports(node) {
|
|
98975
99087
|
this.next();
|
|
98976
|
-
this.expectContextual(
|
|
99088
|
+
this.expectContextual(111);
|
|
98977
99089
|
node.typeAnnotation = this.flowParseTypeAnnotation();
|
|
98978
99090
|
this.semicolon();
|
|
98979
99091
|
return this.finishNode(node, "DeclareModuleExports");
|
|
@@ -99012,12 +99124,12 @@ var require_lib10 = __commonJS({
|
|
|
99012
99124
|
if (isClass) {
|
|
99013
99125
|
node.implements = [];
|
|
99014
99126
|
node.mixins = [];
|
|
99015
|
-
if (this.eatContextual(
|
|
99127
|
+
if (this.eatContextual(117)) {
|
|
99016
99128
|
do {
|
|
99017
99129
|
node.mixins.push(this.flowParseInterfaceExtends());
|
|
99018
99130
|
} while (this.eat(12));
|
|
99019
99131
|
}
|
|
99020
|
-
if (this.eatContextual(
|
|
99132
|
+
if (this.eatContextual(113)) {
|
|
99021
99133
|
do {
|
|
99022
99134
|
node.implements.push(this.flowParseInterfaceExtends());
|
|
99023
99135
|
} while (this.eat(12));
|
|
@@ -99077,7 +99189,7 @@ var require_lib10 = __commonJS({
|
|
|
99077
99189
|
return this.finishNode(node, "TypeAlias");
|
|
99078
99190
|
}
|
|
99079
99191
|
flowParseOpaqueType(node, declare) {
|
|
99080
|
-
this.expectContextual(
|
|
99192
|
+
this.expectContextual(130);
|
|
99081
99193
|
node.id = this.flowParseRestrictedIdentifier(true, true);
|
|
99082
99194
|
this.scope.declareName(node.id.name, 8201, node.id.loc.start);
|
|
99083
99195
|
if (this.match(47)) {
|
|
@@ -99121,7 +99233,7 @@ var require_lib10 = __commonJS({
|
|
|
99121
99233
|
const node = this.startNode();
|
|
99122
99234
|
node.params = [];
|
|
99123
99235
|
this.state.inType = true;
|
|
99124
|
-
if (this.match(47) || this.match(
|
|
99236
|
+
if (this.match(47) || this.match(142)) {
|
|
99125
99237
|
this.next();
|
|
99126
99238
|
} else {
|
|
99127
99239
|
this.unexpected();
|
|
@@ -99178,7 +99290,7 @@ var require_lib10 = __commonJS({
|
|
|
99178
99290
|
}
|
|
99179
99291
|
flowParseInterfaceType() {
|
|
99180
99292
|
const node = this.startNode();
|
|
99181
|
-
this.expectContextual(
|
|
99293
|
+
this.expectContextual(129);
|
|
99182
99294
|
node.extends = [];
|
|
99183
99295
|
if (this.eat(81)) {
|
|
99184
99296
|
do {
|
|
@@ -99195,7 +99307,7 @@ var require_lib10 = __commonJS({
|
|
|
99195
99307
|
return this.finishNode(node, "InterfaceTypeAnnotation");
|
|
99196
99308
|
}
|
|
99197
99309
|
flowParseObjectPropertyKey() {
|
|
99198
|
-
return this.match(
|
|
99310
|
+
return this.match(134) || this.match(133) ? super.parseExprAtom() : this.parseIdentifier(true);
|
|
99199
99311
|
}
|
|
99200
99312
|
flowParseObjectTypeIndexer(node, isStatic, variance) {
|
|
99201
99313
|
node.static = isStatic;
|
|
@@ -99296,7 +99408,7 @@ var require_lib10 = __commonJS({
|
|
|
99296
99408
|
let protoStartLoc = null;
|
|
99297
99409
|
let inexactStartLoc = null;
|
|
99298
99410
|
const node = this.startNode();
|
|
99299
|
-
if (allowProto && this.isContextual(
|
|
99411
|
+
if (allowProto && this.isContextual(118)) {
|
|
99300
99412
|
const lookahead = this.lookahead();
|
|
99301
99413
|
if (lookahead.type !== 14 && lookahead.type !== 17) {
|
|
99302
99414
|
this.next();
|
|
@@ -99304,7 +99416,7 @@ var require_lib10 = __commonJS({
|
|
|
99304
99416
|
allowStatic = false;
|
|
99305
99417
|
}
|
|
99306
99418
|
}
|
|
99307
|
-
if (allowStatic && this.isContextual(
|
|
99419
|
+
if (allowStatic && this.isContextual(106)) {
|
|
99308
99420
|
const lookahead = this.lookahead();
|
|
99309
99421
|
if (lookahead.type !== 14 && lookahead.type !== 17) {
|
|
99310
99422
|
this.next();
|
|
@@ -99334,7 +99446,7 @@ var require_lib10 = __commonJS({
|
|
|
99334
99446
|
nodeStart.callProperties.push(this.flowParseObjectTypeCallProperty(node, isStatic));
|
|
99335
99447
|
} else {
|
|
99336
99448
|
let kind = "init";
|
|
99337
|
-
if (this.isContextual(
|
|
99449
|
+
if (this.isContextual(99) || this.isContextual(104)) {
|
|
99338
99450
|
const lookahead = this.lookahead();
|
|
99339
99451
|
if (tokenIsLiteralPropertyName(lookahead.type)) {
|
|
99340
99452
|
kind = this.state.value;
|
|
@@ -99659,7 +99771,7 @@ var require_lib10 = __commonJS({
|
|
|
99659
99771
|
node.returnType = this.flowParseType();
|
|
99660
99772
|
node.typeParameters = null;
|
|
99661
99773
|
return this.finishNode(node, "FunctionTypeAnnotation");
|
|
99662
|
-
case
|
|
99774
|
+
case 133:
|
|
99663
99775
|
return this.parseLiteral(this.state.value, "StringLiteralTypeAnnotation");
|
|
99664
99776
|
case 85:
|
|
99665
99777
|
case 86:
|
|
@@ -99669,10 +99781,10 @@ var require_lib10 = __commonJS({
|
|
|
99669
99781
|
case 53:
|
|
99670
99782
|
if (this.state.value === "-") {
|
|
99671
99783
|
this.next();
|
|
99672
|
-
if (this.match(
|
|
99784
|
+
if (this.match(134)) {
|
|
99673
99785
|
return this.parseLiteralAtNode(-this.state.value, "NumberLiteralTypeAnnotation", node);
|
|
99674
99786
|
}
|
|
99675
|
-
if (this.match(
|
|
99787
|
+
if (this.match(135)) {
|
|
99676
99788
|
return this.parseLiteralAtNode(-this.state.value, "BigIntLiteralTypeAnnotation", node);
|
|
99677
99789
|
}
|
|
99678
99790
|
throw this.raise(FlowErrors.UnexpectedSubtractionOperand, {
|
|
@@ -99681,9 +99793,9 @@ var require_lib10 = __commonJS({
|
|
|
99681
99793
|
}
|
|
99682
99794
|
this.unexpected();
|
|
99683
99795
|
return;
|
|
99684
|
-
case
|
|
99796
|
+
case 134:
|
|
99685
99797
|
return this.parseLiteral(this.state.value, "NumberLiteralTypeAnnotation");
|
|
99686
|
-
case
|
|
99798
|
+
case 135:
|
|
99687
99799
|
return this.parseLiteral(this.state.value, "BigIntLiteralTypeAnnotation");
|
|
99688
99800
|
case 88:
|
|
99689
99801
|
this.next();
|
|
@@ -99705,7 +99817,7 @@ var require_lib10 = __commonJS({
|
|
|
99705
99817
|
this.next();
|
|
99706
99818
|
return super.createIdentifier(node, label);
|
|
99707
99819
|
} else if (tokenIsIdentifier(this.state.type)) {
|
|
99708
|
-
if (this.isContextual(
|
|
99820
|
+
if (this.isContextual(129)) {
|
|
99709
99821
|
return this.flowParseInterfaceType();
|
|
99710
99822
|
}
|
|
99711
99823
|
return this.flowIdentToTypeAnnotation(startLoc, node, this.parseIdentifier());
|
|
@@ -99790,7 +99902,7 @@ var require_lib10 = __commonJS({
|
|
|
99790
99902
|
return type;
|
|
99791
99903
|
}
|
|
99792
99904
|
flowParseTypeOrImplicitInstantiation() {
|
|
99793
|
-
if (this.state.type ===
|
|
99905
|
+
if (this.state.type === 132 && this.state.value === "_") {
|
|
99794
99906
|
const startLoc = this.state.startLoc;
|
|
99795
99907
|
const node = this.parseIdentifier();
|
|
99796
99908
|
return this.flowParseGenericType(startLoc, node);
|
|
@@ -99846,14 +99958,14 @@ var require_lib10 = __commonJS({
|
|
|
99846
99958
|
return super.parseFunctionBodyAndFinish(node, type, isMethod);
|
|
99847
99959
|
}
|
|
99848
99960
|
parseStatementLike(flags) {
|
|
99849
|
-
if (this.state.strict && this.isContextual(
|
|
99961
|
+
if (this.state.strict && this.isContextual(129)) {
|
|
99850
99962
|
const lookahead = this.lookahead();
|
|
99851
99963
|
if (tokenIsKeywordOrIdentifier(lookahead.type)) {
|
|
99852
99964
|
const node = this.startNode();
|
|
99853
99965
|
this.next();
|
|
99854
99966
|
return this.flowParseInterface(node);
|
|
99855
99967
|
}
|
|
99856
|
-
} else if (this.shouldParseEnums() && this.isContextual(
|
|
99968
|
+
} else if (this.shouldParseEnums() && this.isContextual(126)) {
|
|
99857
99969
|
const node = this.startNode();
|
|
99858
99970
|
this.next();
|
|
99859
99971
|
return this.flowParseEnumDeclaration(node);
|
|
@@ -99886,7 +99998,7 @@ var require_lib10 = __commonJS({
|
|
|
99886
99998
|
const {
|
|
99887
99999
|
type
|
|
99888
100000
|
} = this.state;
|
|
99889
|
-
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type ===
|
|
100001
|
+
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 126) {
|
|
99890
100002
|
return !this.state.containsEsc;
|
|
99891
100003
|
}
|
|
99892
100004
|
return super.shouldParseExportDeclaration();
|
|
@@ -99895,13 +100007,13 @@ var require_lib10 = __commonJS({
|
|
|
99895
100007
|
const {
|
|
99896
100008
|
type
|
|
99897
100009
|
} = this.state;
|
|
99898
|
-
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type ===
|
|
100010
|
+
if (tokenIsFlowInterfaceOrTypeOrOpaque(type) || this.shouldParseEnums() && type === 126) {
|
|
99899
100011
|
return this.state.containsEsc;
|
|
99900
100012
|
}
|
|
99901
100013
|
return super.isExportDefaultSpecifier();
|
|
99902
100014
|
}
|
|
99903
100015
|
parseExportDefaultExpression() {
|
|
99904
|
-
if (this.shouldParseEnums() && this.isContextual(
|
|
100016
|
+
if (this.shouldParseEnums() && this.isContextual(126)) {
|
|
99905
100017
|
const node = this.startNode();
|
|
99906
100018
|
this.next();
|
|
99907
100019
|
return this.flowParseEnumDeclaration(node);
|
|
@@ -100036,7 +100148,7 @@ var require_lib10 = __commonJS({
|
|
|
100036
100148
|
super.assertModuleNodeAllowed(node);
|
|
100037
100149
|
}
|
|
100038
100150
|
parseExportDeclaration(node) {
|
|
100039
|
-
if (this.isContextual(
|
|
100151
|
+
if (this.isContextual(130)) {
|
|
100040
100152
|
node.exportKind = "type";
|
|
100041
100153
|
const declarationNode = this.startNode();
|
|
100042
100154
|
this.next();
|
|
@@ -100047,17 +100159,17 @@ var require_lib10 = __commonJS({
|
|
|
100047
100159
|
} else {
|
|
100048
100160
|
return this.flowParseTypeAlias(declarationNode);
|
|
100049
100161
|
}
|
|
100050
|
-
} else if (this.isContextual(
|
|
100162
|
+
} else if (this.isContextual(131)) {
|
|
100051
100163
|
node.exportKind = "type";
|
|
100052
100164
|
const declarationNode = this.startNode();
|
|
100053
100165
|
this.next();
|
|
100054
100166
|
return this.flowParseOpaqueType(declarationNode, false);
|
|
100055
|
-
} else if (this.isContextual(
|
|
100167
|
+
} else if (this.isContextual(129)) {
|
|
100056
100168
|
node.exportKind = "type";
|
|
100057
100169
|
const declarationNode = this.startNode();
|
|
100058
100170
|
this.next();
|
|
100059
100171
|
return this.flowParseInterface(declarationNode);
|
|
100060
|
-
} else if (this.shouldParseEnums() && this.isContextual(
|
|
100172
|
+
} else if (this.shouldParseEnums() && this.isContextual(126)) {
|
|
100061
100173
|
node.exportKind = "value";
|
|
100062
100174
|
const declarationNode = this.startNode();
|
|
100063
100175
|
this.next();
|
|
@@ -100069,7 +100181,7 @@ var require_lib10 = __commonJS({
|
|
|
100069
100181
|
eatExportStar(node) {
|
|
100070
100182
|
if (super.eatExportStar(node))
|
|
100071
100183
|
return true;
|
|
100072
|
-
if (this.isContextual(
|
|
100184
|
+
if (this.isContextual(130) && this.lookahead().type === 55) {
|
|
100073
100185
|
node.exportKind = "type";
|
|
100074
100186
|
this.next();
|
|
100075
100187
|
this.next();
|
|
@@ -100097,7 +100209,7 @@ var require_lib10 = __commonJS({
|
|
|
100097
100209
|
const {
|
|
100098
100210
|
startLoc
|
|
100099
100211
|
} = this.state;
|
|
100100
|
-
if (this.isContextual(
|
|
100212
|
+
if (this.isContextual(125)) {
|
|
100101
100213
|
if (super.parseClassMemberFromModifier(classBody, member)) {
|
|
100102
100214
|
return;
|
|
100103
100215
|
}
|
|
@@ -100128,7 +100240,7 @@ var require_lib10 = __commonJS({
|
|
|
100128
100240
|
identifierName: fullWord
|
|
100129
100241
|
});
|
|
100130
100242
|
}
|
|
100131
|
-
this.finishToken(
|
|
100243
|
+
this.finishToken(132, fullWord);
|
|
100132
100244
|
}
|
|
100133
100245
|
getTokenFromCode(code2) {
|
|
100134
100246
|
const next = this.input.charCodeAt(this.state.pos + 1);
|
|
@@ -100254,7 +100366,7 @@ var require_lib10 = __commonJS({
|
|
|
100254
100366
|
if (node.superClass && this.match(47)) {
|
|
100255
100367
|
node.superTypeParameters = this.flowParseTypeParameterInstantiation();
|
|
100256
100368
|
}
|
|
100257
|
-
if (this.isContextual(
|
|
100369
|
+
if (this.isContextual(113)) {
|
|
100258
100370
|
this.next();
|
|
100259
100371
|
const implemented = node.implements = [];
|
|
100260
100372
|
do {
|
|
@@ -100358,7 +100470,7 @@ var require_lib10 = __commonJS({
|
|
|
100358
100470
|
isPotentialImportPhase(isExport) {
|
|
100359
100471
|
if (super.isPotentialImportPhase(isExport))
|
|
100360
100472
|
return true;
|
|
100361
|
-
if (this.isContextual(
|
|
100473
|
+
if (this.isContextual(130)) {
|
|
100362
100474
|
if (!isExport)
|
|
100363
100475
|
return true;
|
|
100364
100476
|
const ch = this.lookaheadCharCode();
|
|
@@ -100474,7 +100586,7 @@ var require_lib10 = __commonJS({
|
|
|
100474
100586
|
var _jsx;
|
|
100475
100587
|
let state = null;
|
|
100476
100588
|
let jsx2;
|
|
100477
|
-
if (this.hasPlugin("jsx") && (this.match(
|
|
100589
|
+
if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) {
|
|
100478
100590
|
state = this.state.clone();
|
|
100479
100591
|
jsx2 = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state);
|
|
100480
100592
|
if (!jsx2.error)
|
|
@@ -100773,7 +100885,7 @@ var require_lib10 = __commonJS({
|
|
|
100773
100885
|
const startLoc = this.state.startLoc;
|
|
100774
100886
|
const endOfInit = () => this.match(12) || this.match(8);
|
|
100775
100887
|
switch (this.state.type) {
|
|
100776
|
-
case
|
|
100888
|
+
case 134: {
|
|
100777
100889
|
const literal = this.parseNumericLiteral(this.state.value);
|
|
100778
100890
|
if (endOfInit()) {
|
|
100779
100891
|
return {
|
|
@@ -100787,7 +100899,7 @@ var require_lib10 = __commonJS({
|
|
|
100787
100899
|
loc: startLoc
|
|
100788
100900
|
};
|
|
100789
100901
|
}
|
|
100790
|
-
case
|
|
100902
|
+
case 133: {
|
|
100791
100903
|
const literal = this.parseStringLiteral(this.state.value);
|
|
100792
100904
|
if (endOfInit()) {
|
|
100793
100905
|
return {
|
|
@@ -100964,7 +101076,7 @@ var require_lib10 = __commonJS({
|
|
|
100964
101076
|
flowEnumParseExplicitType({
|
|
100965
101077
|
enumName
|
|
100966
101078
|
}) {
|
|
100967
|
-
if (!this.eatContextual(
|
|
101079
|
+
if (!this.eatContextual(102))
|
|
100968
101080
|
return null;
|
|
100969
101081
|
if (!tokenIsIdentifier(this.state.type)) {
|
|
100970
101082
|
throw this.raise(FlowErrors.EnumInvalidExplicitTypeUnknownSupplied, {
|
|
@@ -101392,14 +101504,14 @@ var require_lib10 = __commonJS({
|
|
|
101392
101504
|
if (this.state.pos === this.state.start) {
|
|
101393
101505
|
if (ch === 60 && this.state.canStartJSXElement) {
|
|
101394
101506
|
++this.state.pos;
|
|
101395
|
-
this.finishToken(
|
|
101507
|
+
this.finishToken(142);
|
|
101396
101508
|
} else {
|
|
101397
101509
|
super.getTokenFromCode(ch);
|
|
101398
101510
|
}
|
|
101399
101511
|
return;
|
|
101400
101512
|
}
|
|
101401
101513
|
out += this.input.slice(chunkStart, this.state.pos);
|
|
101402
|
-
this.finishToken(
|
|
101514
|
+
this.finishToken(141, out);
|
|
101403
101515
|
return;
|
|
101404
101516
|
case 38:
|
|
101405
101517
|
out += this.input.slice(chunkStart, this.state.pos);
|
|
@@ -101458,7 +101570,7 @@ var require_lib10 = __commonJS({
|
|
|
101458
101570
|
}
|
|
101459
101571
|
}
|
|
101460
101572
|
out += this.input.slice(chunkStart, this.state.pos++);
|
|
101461
|
-
this.finishToken(
|
|
101573
|
+
this.finishToken(133, out);
|
|
101462
101574
|
}
|
|
101463
101575
|
jsxReadEntity() {
|
|
101464
101576
|
const startPos = ++this.state.pos;
|
|
@@ -101498,11 +101610,11 @@ var require_lib10 = __commonJS({
|
|
|
101498
101610
|
do {
|
|
101499
101611
|
ch = this.input.charCodeAt(++this.state.pos);
|
|
101500
101612
|
} while (isIdentifierChar(ch) || ch === 45);
|
|
101501
|
-
this.finishToken(
|
|
101613
|
+
this.finishToken(140, this.input.slice(start, this.state.pos));
|
|
101502
101614
|
}
|
|
101503
101615
|
jsxParseIdentifier() {
|
|
101504
101616
|
const node = this.startNode();
|
|
101505
|
-
if (this.match(
|
|
101617
|
+
if (this.match(140)) {
|
|
101506
101618
|
node.name = this.state.value;
|
|
101507
101619
|
} else if (tokenIsKeyword(this.state.type)) {
|
|
101508
101620
|
node.name = tokenLabelName(this.state.type);
|
|
@@ -101550,8 +101662,8 @@ var require_lib10 = __commonJS({
|
|
|
101550
101662
|
});
|
|
101551
101663
|
}
|
|
101552
101664
|
return node;
|
|
101553
|
-
case
|
|
101554
|
-
case
|
|
101665
|
+
case 142:
|
|
101666
|
+
case 133:
|
|
101555
101667
|
return this.parseExprAtom();
|
|
101556
101668
|
default:
|
|
101557
101669
|
throw this.raise(JsxErrors.UnsupportedJsxValue, {
|
|
@@ -101601,7 +101713,7 @@ var require_lib10 = __commonJS({
|
|
|
101601
101713
|
}
|
|
101602
101714
|
jsxParseOpeningElementAt(startLoc) {
|
|
101603
101715
|
const node = this.startNodeAt(startLoc);
|
|
101604
|
-
if (this.eat(
|
|
101716
|
+
if (this.eat(143)) {
|
|
101605
101717
|
return this.finishNode(node, "JSXOpeningFragment");
|
|
101606
101718
|
}
|
|
101607
101719
|
node.name = this.jsxParseElementName();
|
|
@@ -101609,21 +101721,21 @@ var require_lib10 = __commonJS({
|
|
|
101609
101721
|
}
|
|
101610
101722
|
jsxParseOpeningElementAfterName(node) {
|
|
101611
101723
|
const attributes = [];
|
|
101612
|
-
while (!this.match(56) && !this.match(
|
|
101724
|
+
while (!this.match(56) && !this.match(143)) {
|
|
101613
101725
|
attributes.push(this.jsxParseAttribute());
|
|
101614
101726
|
}
|
|
101615
101727
|
node.attributes = attributes;
|
|
101616
101728
|
node.selfClosing = this.eat(56);
|
|
101617
|
-
this.expect(
|
|
101729
|
+
this.expect(143);
|
|
101618
101730
|
return this.finishNode(node, "JSXOpeningElement");
|
|
101619
101731
|
}
|
|
101620
101732
|
jsxParseClosingElementAt(startLoc) {
|
|
101621
101733
|
const node = this.startNodeAt(startLoc);
|
|
101622
|
-
if (this.eat(
|
|
101734
|
+
if (this.eat(143)) {
|
|
101623
101735
|
return this.finishNode(node, "JSXClosingFragment");
|
|
101624
101736
|
}
|
|
101625
101737
|
node.name = this.jsxParseElementName();
|
|
101626
|
-
this.expect(
|
|
101738
|
+
this.expect(143);
|
|
101627
101739
|
return this.finishNode(node, "JSXClosingElement");
|
|
101628
101740
|
}
|
|
101629
101741
|
jsxParseElementAt(startLoc) {
|
|
@@ -101635,7 +101747,7 @@ var require_lib10 = __commonJS({
|
|
|
101635
101747
|
contents:
|
|
101636
101748
|
for (; ; ) {
|
|
101637
101749
|
switch (this.state.type) {
|
|
101638
|
-
case
|
|
101750
|
+
case 142:
|
|
101639
101751
|
startLoc = this.state.startLoc;
|
|
101640
101752
|
this.next();
|
|
101641
101753
|
if (this.eat(56)) {
|
|
@@ -101644,7 +101756,7 @@ var require_lib10 = __commonJS({
|
|
|
101644
101756
|
}
|
|
101645
101757
|
children.push(this.jsxParseElementAt(startLoc));
|
|
101646
101758
|
break;
|
|
101647
|
-
case
|
|
101759
|
+
case 141:
|
|
101648
101760
|
children.push(this.parseExprAtom());
|
|
101649
101761
|
break;
|
|
101650
101762
|
case 5: {
|
|
@@ -101707,12 +101819,12 @@ var require_lib10 = __commonJS({
|
|
|
101707
101819
|
context[context.length - 1] = newContext;
|
|
101708
101820
|
}
|
|
101709
101821
|
parseExprAtom(refExpressionErrors) {
|
|
101710
|
-
if (this.match(
|
|
101822
|
+
if (this.match(141)) {
|
|
101711
101823
|
return this.parseLiteral(this.state.value, "JSXText");
|
|
101712
|
-
} else if (this.match(
|
|
101824
|
+
} else if (this.match(142)) {
|
|
101713
101825
|
return this.jsxParseElement();
|
|
101714
101826
|
} else if (this.match(47) && this.input.charCodeAt(this.state.pos) !== 33) {
|
|
101715
|
-
this.replaceToken(
|
|
101827
|
+
this.replaceToken(142);
|
|
101716
101828
|
return this.jsxParseElement();
|
|
101717
101829
|
} else {
|
|
101718
101830
|
return super.parseExprAtom(refExpressionErrors);
|
|
@@ -101736,7 +101848,7 @@ var require_lib10 = __commonJS({
|
|
|
101736
101848
|
}
|
|
101737
101849
|
if (code2 === 62) {
|
|
101738
101850
|
++this.state.pos;
|
|
101739
|
-
this.finishToken(
|
|
101851
|
+
this.finishToken(143);
|
|
101740
101852
|
return;
|
|
101741
101853
|
}
|
|
101742
101854
|
if ((code2 === 34 || code2 === 39) && context === types2.j_oTag) {
|
|
@@ -101746,7 +101858,7 @@ var require_lib10 = __commonJS({
|
|
|
101746
101858
|
}
|
|
101747
101859
|
if (code2 === 60 && this.state.canStartJSXElement && this.input.charCodeAt(this.state.pos + 1) !== 33) {
|
|
101748
101860
|
++this.state.pos;
|
|
101749
|
-
this.finishToken(
|
|
101861
|
+
this.finishToken(142);
|
|
101750
101862
|
return;
|
|
101751
101863
|
}
|
|
101752
101864
|
super.getTokenFromCode(code2);
|
|
@@ -101756,12 +101868,12 @@ var require_lib10 = __commonJS({
|
|
|
101756
101868
|
context,
|
|
101757
101869
|
type
|
|
101758
101870
|
} = this.state;
|
|
101759
|
-
if (type === 56 && prevType ===
|
|
101871
|
+
if (type === 56 && prevType === 142) {
|
|
101760
101872
|
context.splice(-2, 2, types2.j_cTag);
|
|
101761
101873
|
this.state.canStartJSXElement = false;
|
|
101762
|
-
} else if (type ===
|
|
101874
|
+
} else if (type === 142) {
|
|
101763
101875
|
context.push(types2.j_oTag);
|
|
101764
|
-
} else if (type ===
|
|
101876
|
+
} else if (type === 143) {
|
|
101765
101877
|
const out = context[context.length - 1];
|
|
101766
101878
|
if (out === types2.j_oTag && prevType === 56 || out === types2.j_cTag) {
|
|
101767
101879
|
context.pop();
|
|
@@ -101904,7 +102016,7 @@ var require_lib10 = __commonJS({
|
|
|
101904
102016
|
this.expressionScope.recordArrowParameterBindingError(Errors.InvalidParenthesizedAssignment, {
|
|
101905
102017
|
at: node
|
|
101906
102018
|
});
|
|
101907
|
-
} else if (parenthesized.type !== "MemberExpression") {
|
|
102019
|
+
} else if (parenthesized.type !== "MemberExpression" && !this.isOptionalMemberExpression(parenthesized)) {
|
|
101908
102020
|
this.raise(Errors.InvalidParenthesizedAssignment, {
|
|
101909
102021
|
at: node
|
|
101910
102022
|
});
|
|
@@ -102131,7 +102243,7 @@ var require_lib10 = __commonJS({
|
|
|
102131
102243
|
} = this.state;
|
|
102132
102244
|
if (type === 21) {
|
|
102133
102245
|
return this.parseBindingRestProperty(prop);
|
|
102134
|
-
} else if (type ===
|
|
102246
|
+
} else if (type === 138) {
|
|
102135
102247
|
this.expectPlugin("destructuringPrivate", startLoc);
|
|
102136
102248
|
this.classScope.usePrivateName(this.state.value, startLoc);
|
|
102137
102249
|
prop.key = this.parsePrivateName();
|
|
@@ -102174,6 +102286,9 @@ var require_lib10 = __commonJS({
|
|
|
102174
102286
|
ObjectPattern: "properties"
|
|
102175
102287
|
}, type);
|
|
102176
102288
|
}
|
|
102289
|
+
isOptionalMemberExpression(expression) {
|
|
102290
|
+
return expression.type === "OptionalMemberExpression";
|
|
102291
|
+
}
|
|
102177
102292
|
checkLVal(expression, {
|
|
102178
102293
|
in: ancestor,
|
|
102179
102294
|
binding = 64,
|
|
@@ -102185,7 +102300,17 @@ var require_lib10 = __commonJS({
|
|
|
102185
102300
|
const type = expression.type;
|
|
102186
102301
|
if (this.isObjectMethod(expression))
|
|
102187
102302
|
return;
|
|
102188
|
-
|
|
102303
|
+
const isOptionalMemberExpression = this.isOptionalMemberExpression(expression);
|
|
102304
|
+
if (isOptionalMemberExpression || type === "MemberExpression") {
|
|
102305
|
+
if (isOptionalMemberExpression) {
|
|
102306
|
+
this.expectPlugin("optionalChainingAssign", expression.loc.start);
|
|
102307
|
+
if (ancestor.type !== "AssignmentExpression") {
|
|
102308
|
+
this.raise(Errors.InvalidLhsOptionalChaining, {
|
|
102309
|
+
at: expression,
|
|
102310
|
+
ancestor
|
|
102311
|
+
});
|
|
102312
|
+
}
|
|
102313
|
+
}
|
|
102189
102314
|
if (binding !== 64) {
|
|
102190
102315
|
this.raise(Errors.InvalidPropertyBindingPattern, {
|
|
102191
102316
|
at: expression
|
|
@@ -102221,7 +102346,7 @@ var require_lib10 = __commonJS({
|
|
|
102221
102346
|
return;
|
|
102222
102347
|
}
|
|
102223
102348
|
const [key, isParenthesizedExpression] = Array.isArray(validity) ? validity : [validity, type === "ParenthesizedExpression"];
|
|
102224
|
-
const nextAncestor = type === "ArrayPattern" || type === "ObjectPattern"
|
|
102349
|
+
const nextAncestor = type === "ArrayPattern" || type === "ObjectPattern" ? {
|
|
102225
102350
|
type
|
|
102226
102351
|
} : ancestor;
|
|
102227
102352
|
for (const child of [].concat(expression[key])) {
|
|
@@ -102361,7 +102486,6 @@ var require_lib10 = __commonJS({
|
|
|
102361
102486
|
InvalidPropertyAccessAfterInstantiationExpression: "Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",
|
|
102362
102487
|
InvalidTupleMemberLabel: "Tuple members must be labeled with a simple identifier.",
|
|
102363
102488
|
MissingInterfaceName: "'interface' declarations must be followed by an identifier.",
|
|
102364
|
-
MixedLabeledAndUnlabeledElements: "Tuple members must all have names or all not have names.",
|
|
102365
102489
|
NonAbstractClassHasAbstractMethod: "Abstract methods can only appear within an abstract class.",
|
|
102366
102490
|
NonClassMethodPropertyHasAbstractModifer: "'abstract' modifier can only appear on a class, method, or property declaration.",
|
|
102367
102491
|
OptionalTypeBeforeRequired: "A required element cannot follow an optional element.",
|
|
@@ -102454,7 +102578,7 @@ var require_lib10 = __commonJS({
|
|
|
102454
102578
|
return tokenIsIdentifier(this.state.type);
|
|
102455
102579
|
}
|
|
102456
102580
|
tsTokenCanFollowModifier() {
|
|
102457
|
-
return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(
|
|
102581
|
+
return (this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(138) || this.isLiteralPropertyName()) && !this.hasPrecedingLineBreak();
|
|
102458
102582
|
}
|
|
102459
102583
|
tsNextTokenCanFollowModifier() {
|
|
102460
102584
|
this.next();
|
|
@@ -102622,7 +102746,7 @@ var require_lib10 = __commonJS({
|
|
|
102622
102746
|
const node = this.startNode();
|
|
102623
102747
|
this.expect(83);
|
|
102624
102748
|
this.expect(10);
|
|
102625
|
-
if (!this.match(
|
|
102749
|
+
if (!this.match(133)) {
|
|
102626
102750
|
this.raise(TSErrors.UnsupportedImportTypeArgument, {
|
|
102627
102751
|
at: this.state.startLoc
|
|
102628
102752
|
});
|
|
@@ -102696,7 +102820,7 @@ var require_lib10 = __commonJS({
|
|
|
102696
102820
|
}
|
|
102697
102821
|
tsParseTypeParameters(parseModifiers) {
|
|
102698
102822
|
const node = this.startNode();
|
|
102699
|
-
if (this.match(47) || this.match(
|
|
102823
|
+
if (this.match(47) || this.match(142)) {
|
|
102700
102824
|
this.next();
|
|
102701
102825
|
} else {
|
|
102702
102826
|
this.unexpected();
|
|
@@ -102895,9 +103019,9 @@ var require_lib10 = __commonJS({
|
|
|
102895
103019
|
tsIsStartOfMappedType() {
|
|
102896
103020
|
this.next();
|
|
102897
103021
|
if (this.eat(53)) {
|
|
102898
|
-
return this.isContextual(
|
|
103022
|
+
return this.isContextual(122);
|
|
102899
103023
|
}
|
|
102900
|
-
if (this.isContextual(
|
|
103024
|
+
if (this.isContextual(122)) {
|
|
102901
103025
|
this.next();
|
|
102902
103026
|
}
|
|
102903
103027
|
if (!this.match(0)) {
|
|
@@ -102922,8 +103046,8 @@ var require_lib10 = __commonJS({
|
|
|
102922
103046
|
if (this.match(53)) {
|
|
102923
103047
|
node.readonly = this.state.value;
|
|
102924
103048
|
this.next();
|
|
102925
|
-
this.expectContextual(
|
|
102926
|
-
} else if (this.eatContextual(
|
|
103049
|
+
this.expectContextual(122);
|
|
103050
|
+
} else if (this.eatContextual(122)) {
|
|
102927
103051
|
node.readonly = true;
|
|
102928
103052
|
}
|
|
102929
103053
|
this.expect(0);
|
|
@@ -102946,9 +103070,7 @@ var require_lib10 = __commonJS({
|
|
|
102946
103070
|
const node = this.startNode();
|
|
102947
103071
|
node.elementTypes = this.tsParseBracketedList("TupleElementTypes", this.tsParseTupleElementType.bind(this), true, false);
|
|
102948
103072
|
let seenOptionalElement = false;
|
|
102949
|
-
let labeledElements = null;
|
|
102950
103073
|
node.elementTypes.forEach((elementNode) => {
|
|
102951
|
-
var _labeledElements;
|
|
102952
103074
|
const {
|
|
102953
103075
|
type
|
|
102954
103076
|
} = elementNode;
|
|
@@ -102958,18 +103080,6 @@ var require_lib10 = __commonJS({
|
|
|
102958
103080
|
});
|
|
102959
103081
|
}
|
|
102960
103082
|
seenOptionalElement || (seenOptionalElement = type === "TSNamedTupleMember" && elementNode.optional || type === "TSOptionalType");
|
|
102961
|
-
let checkType = type;
|
|
102962
|
-
if (type === "TSRestType") {
|
|
102963
|
-
elementNode = elementNode.typeAnnotation;
|
|
102964
|
-
checkType = elementNode.type;
|
|
102965
|
-
}
|
|
102966
|
-
const isLabeled = checkType === "TSNamedTupleMember";
|
|
102967
|
-
(_labeledElements = labeledElements) != null ? _labeledElements : labeledElements = isLabeled;
|
|
102968
|
-
if (labeledElements !== isLabeled) {
|
|
102969
|
-
this.raise(TSErrors.MixedLabeledAndUnlabeledElements, {
|
|
102970
|
-
at: elementNode
|
|
102971
|
-
});
|
|
102972
|
-
}
|
|
102973
103083
|
});
|
|
102974
103084
|
return this.finishNode(node, "TSTupleType");
|
|
102975
103085
|
}
|
|
@@ -103067,9 +103177,9 @@ var require_lib10 = __commonJS({
|
|
|
103067
103177
|
tsParseLiteralTypeNode() {
|
|
103068
103178
|
const node = this.startNode();
|
|
103069
103179
|
switch (this.state.type) {
|
|
103070
|
-
case
|
|
103180
|
+
case 134:
|
|
103181
|
+
case 135:
|
|
103071
103182
|
case 133:
|
|
103072
|
-
case 131:
|
|
103073
103183
|
case 85:
|
|
103074
103184
|
case 86:
|
|
103075
103185
|
node.literal = super.parseExprAtom();
|
|
@@ -103091,7 +103201,7 @@ var require_lib10 = __commonJS({
|
|
|
103091
103201
|
}
|
|
103092
103202
|
tsParseThisTypeOrThisTypePredicate() {
|
|
103093
103203
|
const thisKeyword = this.tsParseThisTypeNode();
|
|
103094
|
-
if (this.isContextual(
|
|
103204
|
+
if (this.isContextual(116) && !this.hasPrecedingLineBreak()) {
|
|
103095
103205
|
return this.tsParseThisTypePredicate(thisKeyword);
|
|
103096
103206
|
} else {
|
|
103097
103207
|
return thisKeyword;
|
|
@@ -103099,9 +103209,9 @@ var require_lib10 = __commonJS({
|
|
|
103099
103209
|
}
|
|
103100
103210
|
tsParseNonArrayType() {
|
|
103101
103211
|
switch (this.state.type) {
|
|
103102
|
-
case 131:
|
|
103103
|
-
case 132:
|
|
103104
103212
|
case 133:
|
|
103213
|
+
case 134:
|
|
103214
|
+
case 135:
|
|
103105
103215
|
case 85:
|
|
103106
103216
|
case 86:
|
|
103107
103217
|
return this.tsParseLiteralTypeNode();
|
|
@@ -103109,7 +103219,7 @@ var require_lib10 = __commonJS({
|
|
|
103109
103219
|
if (this.state.value === "-") {
|
|
103110
103220
|
const node = this.startNode();
|
|
103111
103221
|
const nextToken = this.lookahead();
|
|
103112
|
-
if (nextToken.type !==
|
|
103222
|
+
if (nextToken.type !== 134 && nextToken.type !== 135) {
|
|
103113
103223
|
this.unexpected();
|
|
103114
103224
|
}
|
|
103115
103225
|
node.literal = this.parseMaybeUnary();
|
|
@@ -103190,7 +103300,7 @@ var require_lib10 = __commonJS({
|
|
|
103190
103300
|
}
|
|
103191
103301
|
tsParseInferType() {
|
|
103192
103302
|
const node = this.startNode();
|
|
103193
|
-
this.expectContextual(
|
|
103303
|
+
this.expectContextual(115);
|
|
103194
103304
|
const typeParameter = this.startNode();
|
|
103195
103305
|
typeParameter.name = this.tsParseTypeParameterName();
|
|
103196
103306
|
typeParameter.constraint = this.tsTryParse(() => this.tsParseConstraintForInferType());
|
|
@@ -103207,7 +103317,7 @@ var require_lib10 = __commonJS({
|
|
|
103207
103317
|
}
|
|
103208
103318
|
tsParseTypeOperatorOrHigher() {
|
|
103209
103319
|
const isTypeOperator = tokenIsTSTypeOperator(this.state.type) && !this.state.containsEsc;
|
|
103210
|
-
return isTypeOperator ? this.tsParseTypeOperator() : this.isContextual(
|
|
103320
|
+
return isTypeOperator ? this.tsParseTypeOperator() : this.isContextual(115) ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(() => this.tsParseArrayTypeOrHigher());
|
|
103211
103321
|
}
|
|
103212
103322
|
tsParseUnionOrIntersectionType(kind, parseConstituentType, operator) {
|
|
103213
103323
|
const node = this.startNode();
|
|
@@ -103338,13 +103448,13 @@ var require_lib10 = __commonJS({
|
|
|
103338
103448
|
}
|
|
103339
103449
|
tsParseTypePredicatePrefix() {
|
|
103340
103450
|
const id = this.parseIdentifier();
|
|
103341
|
-
if (this.isContextual(
|
|
103451
|
+
if (this.isContextual(116) && !this.hasPrecedingLineBreak()) {
|
|
103342
103452
|
this.next();
|
|
103343
103453
|
return id;
|
|
103344
103454
|
}
|
|
103345
103455
|
}
|
|
103346
103456
|
tsParseTypePredicateAsserts() {
|
|
103347
|
-
if (this.state.type !==
|
|
103457
|
+
if (this.state.type !== 109) {
|
|
103348
103458
|
return false;
|
|
103349
103459
|
}
|
|
103350
103460
|
const containsEsc = this.state.containsEsc;
|
|
@@ -103384,7 +103494,7 @@ var require_lib10 = __commonJS({
|
|
|
103384
103494
|
return this.finishNode(node, "TSConditionalType");
|
|
103385
103495
|
}
|
|
103386
103496
|
isAbstractConstructorSignature() {
|
|
103387
|
-
return this.isContextual(
|
|
103497
|
+
return this.isContextual(124) && this.lookahead().type === 77;
|
|
103388
103498
|
}
|
|
103389
103499
|
tsParseNonConditionalType() {
|
|
103390
103500
|
if (this.tsIsStartOfFunctionType()) {
|
|
@@ -103433,7 +103543,7 @@ var require_lib10 = __commonJS({
|
|
|
103433
103543
|
tsParseInterfaceDeclaration(node, properties = {}) {
|
|
103434
103544
|
if (this.hasFollowingLineBreak())
|
|
103435
103545
|
return null;
|
|
103436
|
-
this.expectContextual(
|
|
103546
|
+
this.expectContextual(129);
|
|
103437
103547
|
if (properties.declare)
|
|
103438
103548
|
node.declare = true;
|
|
103439
103549
|
if (tokenIsIdentifier(this.state.type)) {
|
|
@@ -103460,7 +103570,7 @@ var require_lib10 = __commonJS({
|
|
|
103460
103570
|
node.typeAnnotation = this.tsInType(() => {
|
|
103461
103571
|
node.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers);
|
|
103462
103572
|
this.expect(29);
|
|
103463
|
-
if (this.isContextual(
|
|
103573
|
+
if (this.isContextual(114) && this.lookahead().type !== 16) {
|
|
103464
103574
|
const node2 = this.startNode();
|
|
103465
103575
|
this.next();
|
|
103466
103576
|
return this.finishNode(node2, "TSIntrinsicKeyword");
|
|
@@ -103525,7 +103635,7 @@ var require_lib10 = __commonJS({
|
|
|
103525
103635
|
}
|
|
103526
103636
|
tsParseEnumMember() {
|
|
103527
103637
|
const node = this.startNode();
|
|
103528
|
-
node.id = this.match(
|
|
103638
|
+
node.id = this.match(133) ? super.parseStringLiteral(this.state.value) : this.parseIdentifier(true);
|
|
103529
103639
|
if (this.eat(29)) {
|
|
103530
103640
|
node.initializer = super.parseMaybeAssignAllowIn();
|
|
103531
103641
|
}
|
|
@@ -103536,7 +103646,7 @@ var require_lib10 = __commonJS({
|
|
|
103536
103646
|
node.const = true;
|
|
103537
103647
|
if (properties.declare)
|
|
103538
103648
|
node.declare = true;
|
|
103539
|
-
this.expectContextual(
|
|
103649
|
+
this.expectContextual(126);
|
|
103540
103650
|
node.id = this.parseIdentifier();
|
|
103541
103651
|
this.checkIdentifier(node.id, node.const ? 8971 : 8459);
|
|
103542
103652
|
this.expect(5);
|
|
@@ -103571,10 +103681,10 @@ var require_lib10 = __commonJS({
|
|
|
103571
103681
|
return this.finishNode(node, "TSModuleDeclaration");
|
|
103572
103682
|
}
|
|
103573
103683
|
tsParseAmbientExternalModuleDeclaration(node) {
|
|
103574
|
-
if (this.isContextual(
|
|
103684
|
+
if (this.isContextual(112)) {
|
|
103575
103685
|
node.global = true;
|
|
103576
103686
|
node.id = this.parseIdentifier();
|
|
103577
|
-
} else if (this.match(
|
|
103687
|
+
} else if (this.match(133)) {
|
|
103578
103688
|
node.id = super.parseStringLiteral(this.state.value);
|
|
103579
103689
|
} else {
|
|
103580
103690
|
this.unexpected();
|
|
@@ -103606,16 +103716,16 @@ var require_lib10 = __commonJS({
|
|
|
103606
103716
|
return this.finishNode(node, "TSImportEqualsDeclaration");
|
|
103607
103717
|
}
|
|
103608
103718
|
tsIsExternalModuleReference() {
|
|
103609
|
-
return this.isContextual(
|
|
103719
|
+
return this.isContextual(119) && this.lookaheadCharCode() === 40;
|
|
103610
103720
|
}
|
|
103611
103721
|
tsParseModuleReference() {
|
|
103612
103722
|
return this.tsIsExternalModuleReference() ? this.tsParseExternalModuleReference() : this.tsParseEntityName(false);
|
|
103613
103723
|
}
|
|
103614
103724
|
tsParseExternalModuleReference() {
|
|
103615
103725
|
const node = this.startNode();
|
|
103616
|
-
this.expectContextual(
|
|
103726
|
+
this.expectContextual(119);
|
|
103617
103727
|
this.expect(10);
|
|
103618
|
-
if (!this.match(
|
|
103728
|
+
if (!this.match(133)) {
|
|
103619
103729
|
this.unexpected();
|
|
103620
103730
|
}
|
|
103621
103731
|
node.expression = super.parseExprAtom();
|
|
@@ -103651,7 +103761,7 @@ var require_lib10 = __commonJS({
|
|
|
103651
103761
|
}
|
|
103652
103762
|
let startType = this.state.type;
|
|
103653
103763
|
let kind;
|
|
103654
|
-
if (this.isContextual(
|
|
103764
|
+
if (this.isContextual(100)) {
|
|
103655
103765
|
startType = 74;
|
|
103656
103766
|
kind = "let";
|
|
103657
103767
|
}
|
|
@@ -103663,11 +103773,11 @@ var require_lib10 = __commonJS({
|
|
|
103663
103773
|
case 80:
|
|
103664
103774
|
nany.declare = true;
|
|
103665
103775
|
return this.parseClass(nany, true, false);
|
|
103666
|
-
case
|
|
103776
|
+
case 126:
|
|
103667
103777
|
return this.tsParseEnumDeclaration(nany, {
|
|
103668
103778
|
declare: true
|
|
103669
103779
|
});
|
|
103670
|
-
case
|
|
103780
|
+
case 112:
|
|
103671
103781
|
return this.tsParseAmbientExternalModuleDeclaration(nany);
|
|
103672
103782
|
case 75:
|
|
103673
103783
|
case 74:
|
|
@@ -103680,7 +103790,7 @@ var require_lib10 = __commonJS({
|
|
|
103680
103790
|
const: true,
|
|
103681
103791
|
declare: true
|
|
103682
103792
|
});
|
|
103683
|
-
case
|
|
103793
|
+
case 129: {
|
|
103684
103794
|
const result = this.tsParseInterfaceDeclaration(nany, {
|
|
103685
103795
|
declare: true
|
|
103686
103796
|
});
|
|
@@ -103732,7 +103842,7 @@ var require_lib10 = __commonJS({
|
|
|
103732
103842
|
break;
|
|
103733
103843
|
case "module":
|
|
103734
103844
|
if (this.tsCheckLineTerminator(next)) {
|
|
103735
|
-
if (this.match(
|
|
103845
|
+
if (this.match(133)) {
|
|
103736
103846
|
return this.tsParseAmbientExternalModuleDeclaration(node);
|
|
103737
103847
|
} else if (tokenIsIdentifier(this.state.type)) {
|
|
103738
103848
|
return this.tsParseModuleOrNamespaceDeclaration(node);
|
|
@@ -103995,7 +104105,7 @@ var require_lib10 = __commonJS({
|
|
|
103995
104105
|
}
|
|
103996
104106
|
parseExprOp(left, leftStartLoc, minPrec) {
|
|
103997
104107
|
let isSatisfies;
|
|
103998
|
-
if (tokenOperatorPrecedence(58) > minPrec && !this.hasPrecedingLineBreak() && (this.isContextual(93) || (isSatisfies = this.isContextual(
|
|
104108
|
+
if (tokenOperatorPrecedence(58) > minPrec && !this.hasPrecedingLineBreak() && (this.isContextual(93) || (isSatisfies = this.isContextual(120)))) {
|
|
103999
104109
|
const node = this.startNodeAt(leftStartLoc);
|
|
104000
104110
|
node.expression = left;
|
|
104001
104111
|
node.typeAnnotation = this.tsInType(() => {
|
|
@@ -104035,7 +104145,7 @@ var require_lib10 = __commonJS({
|
|
|
104035
104145
|
isPotentialImportPhase(isExport) {
|
|
104036
104146
|
if (super.isPotentialImportPhase(isExport))
|
|
104037
104147
|
return true;
|
|
104038
|
-
if (this.isContextual(
|
|
104148
|
+
if (this.isContextual(130)) {
|
|
104039
104149
|
const ch = this.lookaheadCharCode();
|
|
104040
104150
|
return isExport ? ch === 123 || ch === 42 : ch !== 61;
|
|
104041
104151
|
}
|
|
@@ -104050,7 +104160,7 @@ var require_lib10 = __commonJS({
|
|
|
104050
104160
|
}
|
|
104051
104161
|
}
|
|
104052
104162
|
parseImport(node) {
|
|
104053
|
-
if (this.match(
|
|
104163
|
+
if (this.match(133)) {
|
|
104054
104164
|
node.importKind = "value";
|
|
104055
104165
|
return super.parseImport(node);
|
|
104056
104166
|
}
|
|
@@ -104058,7 +104168,7 @@ var require_lib10 = __commonJS({
|
|
|
104058
104168
|
if (tokenIsIdentifier(this.state.type) && this.lookaheadCharCode() === 61) {
|
|
104059
104169
|
node.importKind = "value";
|
|
104060
104170
|
return this.tsParseImportEqualsDeclaration(node);
|
|
104061
|
-
} else if (this.isContextual(
|
|
104171
|
+
} else if (this.isContextual(130)) {
|
|
104062
104172
|
const maybeDefaultIdentifier = this.parseMaybeImportPhase(node, false);
|
|
104063
104173
|
if (this.lookaheadCharCode() === 61) {
|
|
104064
104174
|
return this.tsParseImportEqualsDeclaration(node, maybeDefaultIdentifier);
|
|
@@ -104079,7 +104189,7 @@ var require_lib10 = __commonJS({
|
|
|
104079
104189
|
if (this.match(83)) {
|
|
104080
104190
|
this.next();
|
|
104081
104191
|
let maybeDefaultIdentifier = null;
|
|
104082
|
-
if (this.isContextual(
|
|
104192
|
+
if (this.isContextual(130) && this.isPotentialImportPhase(false)) {
|
|
104083
104193
|
maybeDefaultIdentifier = this.parseMaybeImportPhase(node, false);
|
|
104084
104194
|
} else {
|
|
104085
104195
|
node.importKind = "value";
|
|
@@ -104093,7 +104203,7 @@ var require_lib10 = __commonJS({
|
|
|
104093
104203
|
return this.finishNode(assign, "TSExportAssignment");
|
|
104094
104204
|
} else if (this.eatContextual(93)) {
|
|
104095
104205
|
const decl = node;
|
|
104096
|
-
this.expectContextual(
|
|
104206
|
+
this.expectContextual(128);
|
|
104097
104207
|
decl.id = this.parseIdentifier();
|
|
104098
104208
|
this.semicolon();
|
|
104099
104209
|
return this.finishNode(decl, "TSNamespaceExportDeclaration");
|
|
@@ -104102,7 +104212,7 @@ var require_lib10 = __commonJS({
|
|
|
104102
104212
|
}
|
|
104103
104213
|
}
|
|
104104
104214
|
isAbstractClass() {
|
|
104105
|
-
return this.isContextual(
|
|
104215
|
+
return this.isContextual(124) && this.lookahead().type === 80;
|
|
104106
104216
|
}
|
|
104107
104217
|
parseExportDefaultExpression() {
|
|
104108
104218
|
if (this.isAbstractClass()) {
|
|
@@ -104111,7 +104221,7 @@ var require_lib10 = __commonJS({
|
|
|
104111
104221
|
cls.abstract = true;
|
|
104112
104222
|
return this.parseClass(cls, true, true);
|
|
104113
104223
|
}
|
|
104114
|
-
if (this.match(
|
|
104224
|
+
if (this.match(129)) {
|
|
104115
104225
|
const result = this.tsParseInterfaceDeclaration(this.startNode());
|
|
104116
104226
|
if (result)
|
|
104117
104227
|
return result;
|
|
@@ -104151,10 +104261,10 @@ var require_lib10 = __commonJS({
|
|
|
104151
104261
|
const: true
|
|
104152
104262
|
});
|
|
104153
104263
|
}
|
|
104154
|
-
if (this.isContextual(
|
|
104264
|
+
if (this.isContextual(126)) {
|
|
104155
104265
|
return this.tsParseEnumDeclaration(this.startNode());
|
|
104156
104266
|
}
|
|
104157
|
-
if (this.isContextual(
|
|
104267
|
+
if (this.isContextual(129)) {
|
|
104158
104268
|
const result = this.tsParseInterfaceDeclaration(this.startNode());
|
|
104159
104269
|
if (result)
|
|
104160
104270
|
return result;
|
|
@@ -104173,7 +104283,7 @@ var require_lib10 = __commonJS({
|
|
|
104173
104283
|
});
|
|
104174
104284
|
}
|
|
104175
104285
|
tsIsStartOfStaticBlocks() {
|
|
104176
|
-
return this.isContextual(
|
|
104286
|
+
return this.isContextual(106) && this.lookaheadCharCode() === 123;
|
|
104177
104287
|
}
|
|
104178
104288
|
parseClassMember(classBody, member, state) {
|
|
104179
104289
|
const modifiers = ["declare", "private", "public", "protected", "override", "abstract", "readonly", "static"];
|
|
@@ -104298,12 +104408,12 @@ var require_lib10 = __commonJS({
|
|
|
104298
104408
|
return node;
|
|
104299
104409
|
}
|
|
104300
104410
|
parseExportDeclaration(node) {
|
|
104301
|
-
if (!this.state.isAmbientContext && this.isContextual(
|
|
104411
|
+
if (!this.state.isAmbientContext && this.isContextual(125)) {
|
|
104302
104412
|
return this.tsInAmbientContext(() => this.parseExportDeclaration(node));
|
|
104303
104413
|
}
|
|
104304
104414
|
const startLoc = this.state.startLoc;
|
|
104305
|
-
const isDeclare = this.eatContextual(
|
|
104306
|
-
if (isDeclare && (this.isContextual(
|
|
104415
|
+
const isDeclare = this.eatContextual(125);
|
|
104416
|
+
if (isDeclare && (this.isContextual(125) || !this.shouldParseExportDeclaration())) {
|
|
104307
104417
|
throw this.raise(TSErrors.ExpectedAmbientAfterExportDeclare, {
|
|
104308
104418
|
at: this.state.startLoc
|
|
104309
104419
|
});
|
|
@@ -104322,7 +104432,7 @@ var require_lib10 = __commonJS({
|
|
|
104322
104432
|
return declaration;
|
|
104323
104433
|
}
|
|
104324
104434
|
parseClassId(node, isStatement, optionalId, bindingType) {
|
|
104325
|
-
if ((!isStatement || optionalId) && this.isContextual(
|
|
104435
|
+
if ((!isStatement || optionalId) && this.isContextual(113)) {
|
|
104326
104436
|
return;
|
|
104327
104437
|
}
|
|
104328
104438
|
super.parseClassId(node, isStatement, optionalId, node.declare ? 1024 : 8331);
|
|
@@ -104423,7 +104533,7 @@ var require_lib10 = __commonJS({
|
|
|
104423
104533
|
if (node.superClass && (this.match(47) || this.match(51))) {
|
|
104424
104534
|
node.superTypeParameters = this.tsParseTypeArgumentsInExpression();
|
|
104425
104535
|
}
|
|
104426
|
-
if (this.eatContextual(
|
|
104536
|
+
if (this.eatContextual(113)) {
|
|
104427
104537
|
node.implements = this.tsParseHeritageClause("implements");
|
|
104428
104538
|
}
|
|
104429
104539
|
}
|
|
@@ -104461,7 +104571,7 @@ var require_lib10 = __commonJS({
|
|
|
104461
104571
|
let state;
|
|
104462
104572
|
let jsx2;
|
|
104463
104573
|
let typeCast;
|
|
104464
|
-
if (this.hasPlugin("jsx") && (this.match(
|
|
104574
|
+
if (this.hasPlugin("jsx") && (this.match(142) || this.match(47))) {
|
|
104465
104575
|
state = this.state.clone();
|
|
104466
104576
|
jsx2 = this.tryParse(() => super.parseMaybeAssign(refExpressionErrors, afterLeftParse), state);
|
|
104467
104577
|
if (!jsx2.error)
|
|
@@ -104785,7 +104895,7 @@ var require_lib10 = __commonJS({
|
|
|
104785
104895
|
if (this.match(80)) {
|
|
104786
104896
|
node.abstract = true;
|
|
104787
104897
|
return this.maybeTakeDecorators(decorators, this.parseClass(node, true, false));
|
|
104788
|
-
} else if (this.isContextual(
|
|
104898
|
+
} else if (this.isContextual(129)) {
|
|
104789
104899
|
if (!this.hasFollowingLineBreak()) {
|
|
104790
104900
|
node.abstract = true;
|
|
104791
104901
|
this.raise(TSErrors.NonClassMethodPropertyHasAbstractModifer, {
|
|
@@ -104984,13 +105094,13 @@ var require_lib10 = __commonJS({
|
|
|
104984
105094
|
});
|
|
104985
105095
|
var placeholders = (superClass) => class PlaceholdersParserMixin extends superClass {
|
|
104986
105096
|
parsePlaceholder(expectedNode) {
|
|
104987
|
-
if (this.match(
|
|
105097
|
+
if (this.match(144)) {
|
|
104988
105098
|
const node = this.startNode();
|
|
104989
105099
|
this.next();
|
|
104990
105100
|
this.assertNoSpace();
|
|
104991
105101
|
node.name = super.parseIdentifier(true);
|
|
104992
105102
|
this.assertNoSpace();
|
|
104993
|
-
this.expect(
|
|
105103
|
+
this.expect(144);
|
|
104994
105104
|
return this.finishPlaceholder(node, expectedNode);
|
|
104995
105105
|
}
|
|
104996
105106
|
}
|
|
@@ -105001,7 +105111,7 @@ var require_lib10 = __commonJS({
|
|
|
105001
105111
|
}
|
|
105002
105112
|
getTokenFromCode(code2) {
|
|
105003
105113
|
if (code2 === 37 && this.input.charCodeAt(this.state.pos + 1) === 37) {
|
|
105004
|
-
this.finishOp(
|
|
105114
|
+
this.finishOp(144, 2);
|
|
105005
105115
|
} else {
|
|
105006
105116
|
super.getTokenFromCode(code2);
|
|
105007
105117
|
}
|
|
@@ -105035,7 +105145,7 @@ var require_lib10 = __commonJS({
|
|
|
105035
105145
|
return true;
|
|
105036
105146
|
}
|
|
105037
105147
|
const nextToken = this.lookahead();
|
|
105038
|
-
if (nextToken.type ===
|
|
105148
|
+
if (nextToken.type === 144) {
|
|
105039
105149
|
return true;
|
|
105040
105150
|
}
|
|
105041
105151
|
return false;
|
|
@@ -105073,7 +105183,7 @@ var require_lib10 = __commonJS({
|
|
|
105073
105183
|
const oldStrict = this.state.strict;
|
|
105074
105184
|
const placeholder = this.parsePlaceholder("Identifier");
|
|
105075
105185
|
if (placeholder) {
|
|
105076
|
-
if (this.match(81) || this.match(
|
|
105186
|
+
if (this.match(81) || this.match(144) || this.match(5)) {
|
|
105077
105187
|
node.id = placeholder;
|
|
105078
105188
|
} else if (optionalId || !isStatement) {
|
|
105079
105189
|
node.id = null;
|
|
@@ -105095,7 +105205,7 @@ var require_lib10 = __commonJS({
|
|
|
105095
105205
|
const placeholder = this.parsePlaceholder("Identifier");
|
|
105096
105206
|
if (!placeholder)
|
|
105097
105207
|
return super.parseExport(node, decorators);
|
|
105098
|
-
if (!this.isContextual(
|
|
105208
|
+
if (!this.isContextual(98) && !this.match(12)) {
|
|
105099
105209
|
node.specifiers = [];
|
|
105100
105210
|
node.source = null;
|
|
105101
105211
|
node.declaration = this.finishPlaceholder(placeholder, "Declaration");
|
|
@@ -105111,7 +105221,7 @@ var require_lib10 = __commonJS({
|
|
|
105111
105221
|
if (this.match(65)) {
|
|
105112
105222
|
const next = this.nextTokenStart();
|
|
105113
105223
|
if (this.isUnparsedContextual(next, "from")) {
|
|
105114
|
-
if (this.input.startsWith(tokenLabelName(
|
|
105224
|
+
if (this.input.startsWith(tokenLabelName(144), this.nextTokenStartSince(next + 4))) {
|
|
105115
105225
|
return true;
|
|
105116
105226
|
}
|
|
105117
105227
|
}
|
|
@@ -105140,7 +105250,7 @@ var require_lib10 = __commonJS({
|
|
|
105140
105250
|
if (!placeholder)
|
|
105141
105251
|
return super.parseImport(node);
|
|
105142
105252
|
node.specifiers = [];
|
|
105143
|
-
if (!this.isContextual(
|
|
105253
|
+
if (!this.isContextual(98) && !this.match(12)) {
|
|
105144
105254
|
node.source = this.finishPlaceholder(placeholder, "StringLiteral");
|
|
105145
105255
|
this.semicolon();
|
|
105146
105256
|
return this.finishNode(node, "ImportDeclaration");
|
|
@@ -105153,7 +105263,7 @@ var require_lib10 = __commonJS({
|
|
|
105153
105263
|
if (!hasStarImport)
|
|
105154
105264
|
this.parseNamedImportSpecifiers(node);
|
|
105155
105265
|
}
|
|
105156
|
-
this.expectContextual(
|
|
105266
|
+
this.expectContextual(98);
|
|
105157
105267
|
node.source = this.parseImportSource();
|
|
105158
105268
|
this.semicolon();
|
|
105159
105269
|
return this.finishNode(node, "ImportDeclaration");
|
|
@@ -105297,6 +105407,9 @@ var require_lib10 = __commonJS({
|
|
|
105297
105407
|
error.missingPlugins = "doExpressions";
|
|
105298
105408
|
throw error;
|
|
105299
105409
|
}
|
|
105410
|
+
if (hasPlugin(plugins, "optionalChainingAssign") && getPluginOption(plugins, "optionalChainingAssign", "version") !== "2023-07") {
|
|
105411
|
+
throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");
|
|
105412
|
+
}
|
|
105300
105413
|
}
|
|
105301
105414
|
var mixinPlugins = {
|
|
105302
105415
|
estree,
|
|
@@ -105322,6 +105435,7 @@ var require_lib10 = __commonJS({
|
|
|
105322
105435
|
strictMode: null,
|
|
105323
105436
|
ranges: false,
|
|
105324
105437
|
tokens: false,
|
|
105438
|
+
createImportExpressions: false,
|
|
105325
105439
|
createParenthesizedExpressions: false,
|
|
105326
105440
|
errorRecovery: false,
|
|
105327
105441
|
attachComment: true,
|
|
@@ -105376,7 +105490,7 @@ var require_lib10 = __commonJS({
|
|
|
105376
105490
|
this.enterInitialScopes();
|
|
105377
105491
|
this.nextToken();
|
|
105378
105492
|
const expr = this.parseExpression();
|
|
105379
|
-
if (!this.match(
|
|
105493
|
+
if (!this.match(139)) {
|
|
105380
105494
|
this.unexpected();
|
|
105381
105495
|
}
|
|
105382
105496
|
this.finalizeRemainingComments();
|
|
@@ -105419,7 +105533,7 @@ var require_lib10 = __commonJS({
|
|
|
105419
105533
|
}
|
|
105420
105534
|
parseMaybeAssign(refExpressionErrors, afterLeftParse) {
|
|
105421
105535
|
const startLoc = this.state.startLoc;
|
|
105422
|
-
if (this.isContextual(
|
|
105536
|
+
if (this.isContextual(108)) {
|
|
105423
105537
|
if (this.prodParam.hasYield) {
|
|
105424
105538
|
let left2 = this.parseYield();
|
|
105425
105539
|
if (afterLeftParse) {
|
|
@@ -105498,7 +105612,7 @@ var require_lib10 = __commonJS({
|
|
|
105498
105612
|
return expr;
|
|
105499
105613
|
}
|
|
105500
105614
|
parseMaybeUnaryOrPrivate(refExpressionErrors) {
|
|
105501
|
-
return this.match(
|
|
105615
|
+
return this.match(138) ? this.parsePrivateName() : this.parseMaybeUnary(refExpressionErrors);
|
|
105502
105616
|
}
|
|
105503
105617
|
parseExprOps(refExpressionErrors) {
|
|
105504
105618
|
const startLoc = this.state.startLoc;
|
|
@@ -105573,7 +105687,7 @@ var require_lib10 = __commonJS({
|
|
|
105573
105687
|
});
|
|
105574
105688
|
case "smart":
|
|
105575
105689
|
return this.withTopicBindingContext(() => {
|
|
105576
|
-
if (this.prodParam.hasYield && this.isContextual(
|
|
105690
|
+
if (this.prodParam.hasYield && this.isContextual(108)) {
|
|
105577
105691
|
throw this.raise(Errors.PipeBodyIsTighter, {
|
|
105578
105692
|
at: this.state.startLoc
|
|
105579
105693
|
});
|
|
@@ -105763,7 +105877,7 @@ var require_lib10 = __commonJS({
|
|
|
105763
105877
|
if (computed) {
|
|
105764
105878
|
node.property = this.parseExpression();
|
|
105765
105879
|
this.expect(3);
|
|
105766
|
-
} else if (this.match(
|
|
105880
|
+
} else if (this.match(138)) {
|
|
105767
105881
|
if (base.type === "Super") {
|
|
105768
105882
|
this.raise(Errors.SuperPrivateField, {
|
|
105769
105883
|
at: startLoc
|
|
@@ -105940,12 +106054,18 @@ var require_lib10 = __commonJS({
|
|
|
105940
106054
|
if (this.match(16)) {
|
|
105941
106055
|
return this.parseImportMetaProperty(node);
|
|
105942
106056
|
}
|
|
105943
|
-
if (
|
|
106057
|
+
if (this.match(10)) {
|
|
106058
|
+
if (this.options.createImportExpressions) {
|
|
106059
|
+
return this.parseImportCall(node);
|
|
106060
|
+
} else {
|
|
106061
|
+
return this.finishNode(node, "Import");
|
|
106062
|
+
}
|
|
106063
|
+
} else {
|
|
105944
106064
|
this.raise(Errors.UnsupportedImport, {
|
|
105945
106065
|
at: this.state.lastTokStartLoc
|
|
105946
106066
|
});
|
|
106067
|
+
return this.finishNode(node, "Import");
|
|
105947
106068
|
}
|
|
105948
|
-
return this.finishNode(node, "Import");
|
|
105949
106069
|
case 78:
|
|
105950
106070
|
node = this.startNode();
|
|
105951
106071
|
this.next();
|
|
@@ -105958,13 +106078,13 @@ var require_lib10 = __commonJS({
|
|
|
105958
106078
|
this.readRegexp();
|
|
105959
106079
|
return this.parseRegExpLiteral(this.state.value);
|
|
105960
106080
|
}
|
|
105961
|
-
case
|
|
106081
|
+
case 134:
|
|
105962
106082
|
return this.parseNumericLiteral(this.state.value);
|
|
105963
|
-
case
|
|
106083
|
+
case 135:
|
|
105964
106084
|
return this.parseBigIntLiteral(this.state.value);
|
|
105965
|
-
case
|
|
106085
|
+
case 136:
|
|
105966
106086
|
return this.parseDecimalLiteral(this.state.value);
|
|
105967
|
-
case
|
|
106087
|
+
case 133:
|
|
105968
106088
|
return this.parseStringLiteral(this.state.value);
|
|
105969
106089
|
case 84:
|
|
105970
106090
|
return this.parseNullLiteral();
|
|
@@ -106014,7 +106134,7 @@ var require_lib10 = __commonJS({
|
|
|
106014
106134
|
});
|
|
106015
106135
|
}
|
|
106016
106136
|
}
|
|
106017
|
-
case
|
|
106137
|
+
case 138: {
|
|
106018
106138
|
this.raise(Errors.PrivateInExpectedIn, {
|
|
106019
106139
|
at: this.state.startLoc,
|
|
106020
106140
|
identifierName: this.state.value
|
|
@@ -106052,7 +106172,7 @@ var require_lib10 = __commonJS({
|
|
|
106052
106172
|
}
|
|
106053
106173
|
default:
|
|
106054
106174
|
if (tokenIsIdentifier(type)) {
|
|
106055
|
-
if (this.isContextual(
|
|
106175
|
+
if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) {
|
|
106056
106176
|
return this.parseModuleExpression();
|
|
106057
106177
|
}
|
|
106058
106178
|
const canBeArrow = this.state.potentialArrowAt === this.state.start;
|
|
@@ -106203,7 +106323,7 @@ var require_lib10 = __commonJS({
|
|
|
106203
106323
|
if (this.prodParam.hasYield && this.match(16)) {
|
|
106204
106324
|
const meta = this.createIdentifier(this.startNodeAtNode(node), "function");
|
|
106205
106325
|
this.next();
|
|
106206
|
-
if (this.match(
|
|
106326
|
+
if (this.match(103)) {
|
|
106207
106327
|
this.expectPlugin("functionSent");
|
|
106208
106328
|
} else if (!this.hasPlugin("functionSent")) {
|
|
106209
106329
|
this.unexpected();
|
|
@@ -106228,13 +106348,27 @@ var require_lib10 = __commonJS({
|
|
|
106228
106348
|
parseImportMetaProperty(node) {
|
|
106229
106349
|
const id = this.createIdentifier(this.startNodeAtNode(node), "import");
|
|
106230
106350
|
this.next();
|
|
106231
|
-
if (this.isContextual(
|
|
106351
|
+
if (this.isContextual(101)) {
|
|
106232
106352
|
if (!this.inModule) {
|
|
106233
106353
|
this.raise(Errors.ImportMetaOutsideModule, {
|
|
106234
106354
|
at: id
|
|
106235
106355
|
});
|
|
106236
106356
|
}
|
|
106237
106357
|
this.sawUnambiguousESM = true;
|
|
106358
|
+
} else if (this.isContextual(105) || this.isContextual(97)) {
|
|
106359
|
+
const isSource = this.isContextual(105);
|
|
106360
|
+
if (!isSource)
|
|
106361
|
+
this.unexpected();
|
|
106362
|
+
this.expectPlugin(isSource ? "sourcePhaseImports" : "deferredImportEvaluation");
|
|
106363
|
+
if (!this.options.createImportExpressions) {
|
|
106364
|
+
throw this.raise(Errors.DynamicImportPhaseRequiresImportExpressions, {
|
|
106365
|
+
at: this.state.startLoc,
|
|
106366
|
+
phase: this.state.value
|
|
106367
|
+
});
|
|
106368
|
+
}
|
|
106369
|
+
this.next();
|
|
106370
|
+
node.phase = isSource ? "source" : "defer";
|
|
106371
|
+
return this.parseImportCall(node);
|
|
106238
106372
|
}
|
|
106239
106373
|
return this.parseMetaProperty(node, id, "meta");
|
|
106240
106374
|
}
|
|
@@ -106396,10 +106530,12 @@ var require_lib10 = __commonJS({
|
|
|
106396
106530
|
return this.finishNode(node, "NewExpression");
|
|
106397
106531
|
}
|
|
106398
106532
|
parseNewCallee(node) {
|
|
106399
|
-
|
|
106400
|
-
|
|
106533
|
+
const isImport = this.match(83);
|
|
106534
|
+
const callee = this.parseNoCallExpr();
|
|
106535
|
+
node.callee = callee;
|
|
106536
|
+
if (isImport && (callee.type === "Import" || callee.type === "ImportExpression")) {
|
|
106401
106537
|
this.raise(Errors.ImportCallNotNewExpression, {
|
|
106402
|
-
at:
|
|
106538
|
+
at: callee
|
|
106403
106539
|
});
|
|
106404
106540
|
}
|
|
106405
106541
|
}
|
|
@@ -106645,19 +106781,19 @@ var require_lib10 = __commonJS({
|
|
|
106645
106781
|
key = this.parseIdentifier(true);
|
|
106646
106782
|
} else {
|
|
106647
106783
|
switch (type) {
|
|
106648
|
-
case
|
|
106784
|
+
case 134:
|
|
106649
106785
|
key = this.parseNumericLiteral(value2);
|
|
106650
106786
|
break;
|
|
106651
|
-
case
|
|
106787
|
+
case 133:
|
|
106652
106788
|
key = this.parseStringLiteral(value2);
|
|
106653
106789
|
break;
|
|
106654
|
-
case
|
|
106790
|
+
case 135:
|
|
106655
106791
|
key = this.parseBigIntLiteral(value2);
|
|
106656
106792
|
break;
|
|
106657
|
-
case
|
|
106793
|
+
case 136:
|
|
106658
106794
|
key = this.parseDecimalLiteral(value2);
|
|
106659
106795
|
break;
|
|
106660
|
-
case
|
|
106796
|
+
case 138: {
|
|
106661
106797
|
const privateKeyLoc = this.state.startLoc;
|
|
106662
106798
|
if (refExpressionErrors != null) {
|
|
106663
106799
|
if (refExpressionErrors.privateKeyLoc === null) {
|
|
@@ -106676,7 +106812,7 @@ var require_lib10 = __commonJS({
|
|
|
106676
106812
|
}
|
|
106677
106813
|
}
|
|
106678
106814
|
prop.key = key;
|
|
106679
|
-
if (type !==
|
|
106815
|
+
if (type !== 138) {
|
|
106680
106816
|
prop.computed = false;
|
|
106681
106817
|
}
|
|
106682
106818
|
}
|
|
@@ -106863,7 +106999,7 @@ var require_lib10 = __commonJS({
|
|
|
106863
106999
|
const tokenIsKeyword2 = tokenKeywordOrIdentifierIsKeyword(type);
|
|
106864
107000
|
if (liberal) {
|
|
106865
107001
|
if (tokenIsKeyword2) {
|
|
106866
|
-
this.replaceToken(
|
|
107002
|
+
this.replaceToken(132);
|
|
106867
107003
|
}
|
|
106868
107004
|
} else {
|
|
106869
107005
|
this.checkReservedWord(name, startLoc, tokenIsKeyword2, false);
|
|
@@ -106960,7 +107096,7 @@ var require_lib10 = __commonJS({
|
|
|
106960
107096
|
const {
|
|
106961
107097
|
type
|
|
106962
107098
|
} = this.state;
|
|
106963
|
-
return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type ===
|
|
107099
|
+
return type === 53 || type === 10 || type === 0 || tokenIsTemplate(type) || type === 102 && !this.state.containsEsc || type === 137 || type === 56 || this.hasPlugin("v8intrinsic") && type === 54;
|
|
106964
107100
|
}
|
|
106965
107101
|
parseYield() {
|
|
106966
107102
|
const node = this.startNode();
|
|
@@ -106974,7 +107110,7 @@ var require_lib10 = __commonJS({
|
|
|
106974
107110
|
delegating = this.eat(55);
|
|
106975
107111
|
switch (this.state.type) {
|
|
106976
107112
|
case 13:
|
|
106977
|
-
case
|
|
107113
|
+
case 139:
|
|
106978
107114
|
case 8:
|
|
106979
107115
|
case 11:
|
|
106980
107116
|
case 3:
|
|
@@ -106991,6 +107127,22 @@ var require_lib10 = __commonJS({
|
|
|
106991
107127
|
node.argument = argument;
|
|
106992
107128
|
return this.finishNode(node, "YieldExpression");
|
|
106993
107129
|
}
|
|
107130
|
+
parseImportCall(node) {
|
|
107131
|
+
this.next();
|
|
107132
|
+
node.source = this.parseMaybeAssignAllowIn();
|
|
107133
|
+
if (this.hasPlugin("importAttributes") || this.hasPlugin("importAssertions")) {
|
|
107134
|
+
node.options = null;
|
|
107135
|
+
}
|
|
107136
|
+
if (this.eat(12)) {
|
|
107137
|
+
this.expectImportAttributesPlugin();
|
|
107138
|
+
if (!this.match(11)) {
|
|
107139
|
+
node.options = this.parseMaybeAssignAllowIn();
|
|
107140
|
+
this.eat(12);
|
|
107141
|
+
}
|
|
107142
|
+
}
|
|
107143
|
+
this.expect(11);
|
|
107144
|
+
return this.finishNode(node, "ImportExpression");
|
|
107145
|
+
}
|
|
106994
107146
|
checkPipelineAtInfixOperator(left, leftStartLoc) {
|
|
106995
107147
|
if (this.hasPlugin(["pipelineOperator", {
|
|
106996
107148
|
proposal: "smart"
|
|
@@ -107156,7 +107308,7 @@ var require_lib10 = __commonJS({
|
|
|
107156
107308
|
} = token;
|
|
107157
107309
|
if (typeof type === "number") {
|
|
107158
107310
|
{
|
|
107159
|
-
if (type ===
|
|
107311
|
+
if (type === 138) {
|
|
107160
107312
|
const {
|
|
107161
107313
|
loc,
|
|
107162
107314
|
start,
|
|
@@ -107173,7 +107325,7 @@ var require_lib10 = __commonJS({
|
|
|
107173
107325
|
startLoc: loc.start,
|
|
107174
107326
|
endLoc: hashEndLoc
|
|
107175
107327
|
}), new Token({
|
|
107176
|
-
type: getExportedToken(
|
|
107328
|
+
type: getExportedToken(132),
|
|
107177
107329
|
value: value2,
|
|
107178
107330
|
start: hashEndPos,
|
|
107179
107331
|
end,
|
|
@@ -107264,7 +107416,7 @@ var require_lib10 = __commonJS({
|
|
|
107264
107416
|
}
|
|
107265
107417
|
return this.finishNode(file, "File");
|
|
107266
107418
|
}
|
|
107267
|
-
parseProgram(program, end =
|
|
107419
|
+
parseProgram(program, end = 139, sourceType = this.options.sourceType) {
|
|
107268
107420
|
program.sourceType = sourceType;
|
|
107269
107421
|
program.interpreter = this.parseInterpreterDirective();
|
|
107270
107422
|
this.parseBlockBody(program, true, true, end);
|
|
@@ -107277,7 +107429,7 @@ var require_lib10 = __commonJS({
|
|
|
107277
107429
|
}
|
|
107278
107430
|
}
|
|
107279
107431
|
let finishedProgram;
|
|
107280
|
-
if (end ===
|
|
107432
|
+
if (end === 139) {
|
|
107281
107433
|
finishedProgram = this.finishNode(program, "Program");
|
|
107282
107434
|
} else {
|
|
107283
107435
|
finishedProgram = this.finishNodeAt(program, "Program", createPositionWithColumnOffset(this.state.startLoc, -1));
|
|
@@ -107309,7 +107461,7 @@ var require_lib10 = __commonJS({
|
|
|
107309
107461
|
return this.finishNode(node, "InterpreterDirective");
|
|
107310
107462
|
}
|
|
107311
107463
|
isLet() {
|
|
107312
|
-
if (!this.isContextual(
|
|
107464
|
+
if (!this.isContextual(100)) {
|
|
107313
107465
|
return false;
|
|
107314
107466
|
}
|
|
107315
107467
|
return this.hasFollowingBindingAtom();
|
|
@@ -107348,7 +107500,7 @@ var require_lib10 = __commonJS({
|
|
|
107348
107500
|
type,
|
|
107349
107501
|
containsEsc
|
|
107350
107502
|
} = this.lookahead();
|
|
107351
|
-
if (type ===
|
|
107503
|
+
if (type === 102 && !containsEsc) {
|
|
107352
107504
|
return false;
|
|
107353
107505
|
} else if (tokenIsIdentifier(type) && !this.hasFollowingLineBreak()) {
|
|
107354
107506
|
this.expectPlugin("explicitResourceManagement");
|
|
@@ -107448,7 +107600,7 @@ var require_lib10 = __commonJS({
|
|
|
107448
107600
|
return this.parseVarStatement(node, "await using");
|
|
107449
107601
|
}
|
|
107450
107602
|
break;
|
|
107451
|
-
case
|
|
107603
|
+
case 107:
|
|
107452
107604
|
if (this.state.containsEsc || !this.hasInLineFollowingBindingIdentifier()) {
|
|
107453
107605
|
break;
|
|
107454
107606
|
}
|
|
@@ -107463,7 +107615,7 @@ var require_lib10 = __commonJS({
|
|
|
107463
107615
|
});
|
|
107464
107616
|
}
|
|
107465
107617
|
return this.parseVarStatement(node, "using");
|
|
107466
|
-
case
|
|
107618
|
+
case 100: {
|
|
107467
107619
|
if (this.state.containsEsc) {
|
|
107468
107620
|
break;
|
|
107469
107621
|
}
|
|
@@ -107623,7 +107775,7 @@ var require_lib10 = __commonJS({
|
|
|
107623
107775
|
while (this.eat(16)) {
|
|
107624
107776
|
const node2 = this.startNodeAt(startLoc);
|
|
107625
107777
|
node2.object = expr;
|
|
107626
|
-
if (this.match(
|
|
107778
|
+
if (this.match(138)) {
|
|
107627
107779
|
this.classScope.usePrivateName(this.state.value, this.state.startLoc);
|
|
107628
107780
|
node2.property = this.parsePrivateName();
|
|
107629
107781
|
} else {
|
|
@@ -107715,10 +107867,10 @@ var require_lib10 = __commonJS({
|
|
|
107715
107867
|
}
|
|
107716
107868
|
return this.parseFor(node, null);
|
|
107717
107869
|
}
|
|
107718
|
-
const startsWithLet = this.isContextual(
|
|
107870
|
+
const startsWithLet = this.isContextual(100);
|
|
107719
107871
|
{
|
|
107720
107872
|
const startsWithAwaitUsing = this.isContextual(96) && this.startsAwaitUsing();
|
|
107721
|
-
const starsWithUsingDeclaration = startsWithAwaitUsing || this.isContextual(
|
|
107873
|
+
const starsWithUsingDeclaration = startsWithAwaitUsing || this.isContextual(107) && this.startsUsingForOf();
|
|
107722
107874
|
const isLetOrUsing = startsWithLet && this.hasFollowingBindingAtom() || starsWithUsingDeclaration;
|
|
107723
107875
|
if (this.match(74) || this.match(75) || isLetOrUsing) {
|
|
107724
107876
|
const initNode = this.startNode();
|
|
@@ -107743,7 +107895,7 @@ var require_lib10 = __commonJS({
|
|
|
107743
107895
|
at: init3
|
|
107744
107896
|
});
|
|
107745
107897
|
}
|
|
107746
|
-
if ((isForIn || this.isContextual(
|
|
107898
|
+
if ((isForIn || this.isContextual(102)) && init3.declarations.length === 1) {
|
|
107747
107899
|
return this.parseForIn(node, init3, awaitAt);
|
|
107748
107900
|
}
|
|
107749
107901
|
if (awaitAt !== null) {
|
|
@@ -107755,7 +107907,7 @@ var require_lib10 = __commonJS({
|
|
|
107755
107907
|
const startsWithAsync = this.isContextual(95);
|
|
107756
107908
|
const refExpressionErrors = new ExpressionErrors();
|
|
107757
107909
|
const init2 = this.parseExpression(true, refExpressionErrors);
|
|
107758
|
-
const isForOf = this.isContextual(
|
|
107910
|
+
const isForOf = this.isContextual(102);
|
|
107759
107911
|
if (isForOf) {
|
|
107760
107912
|
if (startsWithLet) {
|
|
107761
107913
|
this.raise(Errors.ForOfLet, {
|
|
@@ -108068,12 +108220,12 @@ var require_lib10 = __commonJS({
|
|
|
108068
108220
|
this.parseVarId(decl, kind);
|
|
108069
108221
|
decl.init = !this.eat(29) ? null : isFor ? this.parseMaybeAssignDisallowIn() : this.parseMaybeAssignAllowIn();
|
|
108070
108222
|
if (decl.init === null && !allowMissingInitializer) {
|
|
108071
|
-
if (decl.id.type !== "Identifier" && !(isFor && (this.match(58) || this.isContextual(
|
|
108223
|
+
if (decl.id.type !== "Identifier" && !(isFor && (this.match(58) || this.isContextual(102)))) {
|
|
108072
108224
|
this.raise(Errors.DeclarationMissingInitializer, {
|
|
108073
108225
|
at: this.state.lastTokEndLoc,
|
|
108074
108226
|
kind: "destructuring"
|
|
108075
108227
|
});
|
|
108076
|
-
} else if (kind === "const" && !(this.match(58) || this.isContextual(
|
|
108228
|
+
} else if (kind === "const" && !(this.match(58) || this.isContextual(102))) {
|
|
108077
108229
|
this.raise(Errors.DeclarationMissingInitializer, {
|
|
108078
108230
|
at: this.state.lastTokEndLoc,
|
|
108079
108231
|
kind: "const"
|
|
@@ -108238,7 +108390,7 @@ var require_lib10 = __commonJS({
|
|
|
108238
108390
|
return false;
|
|
108239
108391
|
}
|
|
108240
108392
|
parseClassMember(classBody, member, state) {
|
|
108241
|
-
const isStatic = this.isContextual(
|
|
108393
|
+
const isStatic = this.isContextual(106);
|
|
108242
108394
|
if (isStatic) {
|
|
108243
108395
|
if (this.parseClassMemberFromModifier(classBody, member)) {
|
|
108244
108396
|
return;
|
|
@@ -108262,7 +108414,7 @@ var require_lib10 = __commonJS({
|
|
|
108262
108414
|
this.parsePropertyNamePrefixOperator(member);
|
|
108263
108415
|
if (this.eat(55)) {
|
|
108264
108416
|
method.kind = "method";
|
|
108265
|
-
const isPrivateName = this.match(
|
|
108417
|
+
const isPrivateName = this.match(138);
|
|
108266
108418
|
this.parseClassElementName(method);
|
|
108267
108419
|
if (isPrivateName) {
|
|
108268
108420
|
this.pushClassPrivateMethod(classBody, privateMethod, true, false);
|
|
@@ -108277,7 +108429,7 @@ var require_lib10 = __commonJS({
|
|
|
108277
108429
|
return;
|
|
108278
108430
|
}
|
|
108279
108431
|
const isContextual = tokenIsIdentifier(this.state.type) && !this.state.containsEsc;
|
|
108280
|
-
const isPrivate = this.match(
|
|
108432
|
+
const isPrivate = this.match(138);
|
|
108281
108433
|
const key = this.parseClassElementName(member);
|
|
108282
108434
|
const maybeQuestionTokenStartLoc = this.state.startLoc;
|
|
108283
108435
|
this.parsePostMemberNameModifiers(publicMember);
|
|
@@ -108318,7 +108470,7 @@ var require_lib10 = __commonJS({
|
|
|
108318
108470
|
this.unexpected(maybeQuestionTokenStartLoc);
|
|
108319
108471
|
}
|
|
108320
108472
|
method.kind = "method";
|
|
108321
|
-
const isPrivate2 = this.match(
|
|
108473
|
+
const isPrivate2 = this.match(138);
|
|
108322
108474
|
this.parseClassElementName(method);
|
|
108323
108475
|
this.parsePostMemberNameModifiers(publicMember);
|
|
108324
108476
|
if (isPrivate2) {
|
|
@@ -108334,7 +108486,7 @@ var require_lib10 = __commonJS({
|
|
|
108334
108486
|
} else if (isContextual && (key.name === "get" || key.name === "set") && !(this.match(55) && this.isLineTerminator())) {
|
|
108335
108487
|
this.resetPreviousNodeTrailingComments(key);
|
|
108336
108488
|
method.kind = key.name;
|
|
108337
|
-
const isPrivate2 = this.match(
|
|
108489
|
+
const isPrivate2 = this.match(138);
|
|
108338
108490
|
this.parseClassElementName(publicMethod);
|
|
108339
108491
|
if (isPrivate2) {
|
|
108340
108492
|
this.pushClassPrivateMethod(classBody, privateMethod, false, false);
|
|
@@ -108350,7 +108502,7 @@ var require_lib10 = __commonJS({
|
|
|
108350
108502
|
} else if (isContextual && key.name === "accessor" && !this.isLineTerminator()) {
|
|
108351
108503
|
this.expectPlugin("decoratorAutoAccessors");
|
|
108352
108504
|
this.resetPreviousNodeTrailingComments(key);
|
|
108353
|
-
const isPrivate2 = this.match(
|
|
108505
|
+
const isPrivate2 = this.match(138);
|
|
108354
108506
|
this.parseClassElementName(publicProp);
|
|
108355
108507
|
this.pushClassAccessorProperty(classBody, accessorProp, isPrivate2);
|
|
108356
108508
|
} else if (this.isLineTerminator()) {
|
|
@@ -108368,12 +108520,12 @@ var require_lib10 = __commonJS({
|
|
|
108368
108520
|
type,
|
|
108369
108521
|
value: value2
|
|
108370
108522
|
} = this.state;
|
|
108371
|
-
if ((type ===
|
|
108523
|
+
if ((type === 132 || type === 133) && member.static && value2 === "prototype") {
|
|
108372
108524
|
this.raise(Errors.StaticPrototype, {
|
|
108373
108525
|
at: this.state.startLoc
|
|
108374
108526
|
});
|
|
108375
108527
|
}
|
|
108376
|
-
if (type ===
|
|
108528
|
+
if (type === 138) {
|
|
108377
108529
|
if (value2 === "constructor") {
|
|
108378
108530
|
this.raise(Errors.ConstructorClassPrivateField, {
|
|
108379
108531
|
at: this.state.startLoc
|
|
@@ -108512,7 +108664,7 @@ var require_lib10 = __commonJS({
|
|
|
108512
108664
|
this.unexpected(null, 5);
|
|
108513
108665
|
}
|
|
108514
108666
|
if (hasNamespace && parseAfterNamespace) {
|
|
108515
|
-
this.unexpected(null,
|
|
108667
|
+
this.unexpected(null, 98);
|
|
108516
108668
|
}
|
|
108517
108669
|
let hasDeclaration;
|
|
108518
108670
|
if (isFromRequired || hasSpecifiers) {
|
|
@@ -108656,14 +108808,14 @@ var require_lib10 = __commonJS({
|
|
|
108656
108808
|
type
|
|
108657
108809
|
} = this.state;
|
|
108658
108810
|
if (tokenIsIdentifier(type)) {
|
|
108659
|
-
if (type === 95 && !this.state.containsEsc || type ===
|
|
108811
|
+
if (type === 95 && !this.state.containsEsc || type === 100) {
|
|
108660
108812
|
return false;
|
|
108661
108813
|
}
|
|
108662
|
-
if ((type ===
|
|
108814
|
+
if ((type === 130 || type === 129) && !this.state.containsEsc) {
|
|
108663
108815
|
const {
|
|
108664
108816
|
type: nextType
|
|
108665
108817
|
} = this.lookahead();
|
|
108666
|
-
if (tokenIsIdentifier(nextType) && nextType !==
|
|
108818
|
+
if (tokenIsIdentifier(nextType) && nextType !== 98 || nextType === 5) {
|
|
108667
108819
|
this.expectOnePlugin(["flow", "typescript"]);
|
|
108668
108820
|
return false;
|
|
108669
108821
|
}
|
|
@@ -108683,7 +108835,7 @@ var require_lib10 = __commonJS({
|
|
|
108683
108835
|
return false;
|
|
108684
108836
|
}
|
|
108685
108837
|
parseExportFrom(node, expect) {
|
|
108686
|
-
if (this.eatContextual(
|
|
108838
|
+
if (this.eatContextual(98)) {
|
|
108687
108839
|
node.source = this.parseImportSource();
|
|
108688
108840
|
this.checkExport(node);
|
|
108689
108841
|
this.maybeParseImportAttributes(node);
|
|
@@ -108809,8 +108961,8 @@ var require_lib10 = __commonJS({
|
|
|
108809
108961
|
if (this.eat(8))
|
|
108810
108962
|
break;
|
|
108811
108963
|
}
|
|
108812
|
-
const isMaybeTypeOnly = this.isContextual(
|
|
108813
|
-
const isString = this.match(
|
|
108964
|
+
const isMaybeTypeOnly = this.isContextual(130);
|
|
108965
|
+
const isString = this.match(133);
|
|
108814
108966
|
const node = this.startNode();
|
|
108815
108967
|
node.local = this.parseModuleExportName();
|
|
108816
108968
|
nodes.push(this.parseExportSpecifier(node, isString, isInTypeExport, isMaybeTypeOnly));
|
|
@@ -108828,7 +108980,7 @@ var require_lib10 = __commonJS({
|
|
|
108828
108980
|
return this.finishNode(node, "ExportSpecifier");
|
|
108829
108981
|
}
|
|
108830
108982
|
parseModuleExportName() {
|
|
108831
|
-
if (this.match(
|
|
108983
|
+
if (this.match(133)) {
|
|
108832
108984
|
const result = this.parseStringLiteral(this.state.value);
|
|
108833
108985
|
const surrogate = result.value.match(loneSurrogate);
|
|
108834
108986
|
if (surrogate) {
|
|
@@ -108853,11 +109005,27 @@ var require_lib10 = __commonJS({
|
|
|
108853
109005
|
return false;
|
|
108854
109006
|
}
|
|
108855
109007
|
checkImportReflection(node) {
|
|
108856
|
-
|
|
109008
|
+
const {
|
|
109009
|
+
specifiers
|
|
109010
|
+
} = node;
|
|
109011
|
+
const singleBindingType = specifiers.length === 1 ? specifiers[0].type : null;
|
|
109012
|
+
if (node.phase === "source") {
|
|
109013
|
+
if (singleBindingType !== "ImportDefaultSpecifier") {
|
|
109014
|
+
this.raise(Errors.SourcePhaseImportRequiresDefault, {
|
|
109015
|
+
at: specifiers[0].loc.start
|
|
109016
|
+
});
|
|
109017
|
+
}
|
|
109018
|
+
} else if (node.phase === "defer") {
|
|
109019
|
+
if (singleBindingType !== "ImportNamespaceSpecifier") {
|
|
109020
|
+
this.raise(Errors.DeferImportRequiresNamespace, {
|
|
109021
|
+
at: specifiers[0].loc.start
|
|
109022
|
+
});
|
|
109023
|
+
}
|
|
109024
|
+
} else if (node.module) {
|
|
108857
109025
|
var _node$assertions;
|
|
108858
|
-
if (
|
|
109026
|
+
if (singleBindingType !== "ImportDefaultSpecifier") {
|
|
108859
109027
|
this.raise(Errors.ImportReflectionNotBinding, {
|
|
108860
|
-
at:
|
|
109028
|
+
at: specifiers[0].loc.start
|
|
108861
109029
|
});
|
|
108862
109030
|
}
|
|
108863
109031
|
if (((_node$assertions = node.assertions) == null ? void 0 : _node$assertions.length) > 0) {
|
|
@@ -108893,7 +109061,9 @@ var require_lib10 = __commonJS({
|
|
|
108893
109061
|
}
|
|
108894
109062
|
}
|
|
108895
109063
|
isPotentialImportPhase(isExport) {
|
|
108896
|
-
|
|
109064
|
+
if (isExport)
|
|
109065
|
+
return false;
|
|
109066
|
+
return this.isContextual(105) || this.isContextual(97) || this.isContextual(127);
|
|
108897
109067
|
}
|
|
108898
109068
|
applyImportPhase(node, isExport, phase, loc) {
|
|
108899
109069
|
if (isExport) {
|
|
@@ -108905,6 +109075,15 @@ var require_lib10 = __commonJS({
|
|
|
108905
109075
|
} else if (this.hasPlugin("importReflection")) {
|
|
108906
109076
|
node.module = false;
|
|
108907
109077
|
}
|
|
109078
|
+
if (phase === "source") {
|
|
109079
|
+
this.expectPlugin("sourcePhaseImports", loc);
|
|
109080
|
+
node.phase = "source";
|
|
109081
|
+
} else if (phase === "defer") {
|
|
109082
|
+
this.expectPlugin("deferredImportEvaluation", loc);
|
|
109083
|
+
node.phase = "defer";
|
|
109084
|
+
} else if (this.hasPlugin("sourcePhaseImports")) {
|
|
109085
|
+
node.phase = null;
|
|
109086
|
+
}
|
|
108908
109087
|
}
|
|
108909
109088
|
parseMaybeImportPhase(node, isExport) {
|
|
108910
109089
|
if (!this.isPotentialImportPhase(isExport)) {
|
|
@@ -108915,7 +109094,7 @@ var require_lib10 = __commonJS({
|
|
|
108915
109094
|
const {
|
|
108916
109095
|
type
|
|
108917
109096
|
} = this.state;
|
|
108918
|
-
const isImportPhase = tokenIsKeywordOrIdentifier(type) ? type !==
|
|
109097
|
+
const isImportPhase = tokenIsKeywordOrIdentifier(type) ? type !== 98 || this.lookaheadCharCode() === 102 : type !== 12;
|
|
108919
109098
|
if (isImportPhase) {
|
|
108920
109099
|
this.resetPreviousIdentifierLeadingComments(phaseIdentifier);
|
|
108921
109100
|
this.applyImportPhase(node, isExport, phaseIdentifier.name, phaseIdentifier.loc.start);
|
|
@@ -108929,10 +109108,10 @@ var require_lib10 = __commonJS({
|
|
|
108929
109108
|
const {
|
|
108930
109109
|
type
|
|
108931
109110
|
} = this.state;
|
|
108932
|
-
return tokenIsIdentifier(type) ? type !==
|
|
109111
|
+
return tokenIsIdentifier(type) ? type !== 98 || this.lookaheadCharCode() === 102 : type !== 12;
|
|
108933
109112
|
}
|
|
108934
109113
|
parseImport(node) {
|
|
108935
|
-
if (this.match(
|
|
109114
|
+
if (this.match(133)) {
|
|
108936
109115
|
return this.parseImportSourceAndAttributes(node);
|
|
108937
109116
|
}
|
|
108938
109117
|
return this.parseImportSpecifiersAndAfter(node, this.parseMaybeImportPhase(node, false));
|
|
@@ -108944,7 +109123,7 @@ var require_lib10 = __commonJS({
|
|
|
108944
109123
|
const hasStar = parseNext && this.maybeParseStarImportSpecifier(node);
|
|
108945
109124
|
if (parseNext && !hasStar)
|
|
108946
109125
|
this.parseNamedImportSpecifiers(node);
|
|
108947
|
-
this.expectContextual(
|
|
109126
|
+
this.expectContextual(98);
|
|
108948
109127
|
return this.parseImportSourceAndAttributes(node);
|
|
108949
109128
|
}
|
|
108950
109129
|
parseImportSourceAndAttributes(node) {
|
|
@@ -108958,7 +109137,7 @@ var require_lib10 = __commonJS({
|
|
|
108958
109137
|
return this.finishNode(node, "ImportDeclaration");
|
|
108959
109138
|
}
|
|
108960
109139
|
parseImportSource() {
|
|
108961
|
-
if (!this.match(
|
|
109140
|
+
if (!this.match(133))
|
|
108962
109141
|
this.unexpected();
|
|
108963
109142
|
return this.parseExprAtom();
|
|
108964
109143
|
}
|
|
@@ -108992,13 +109171,13 @@ var require_lib10 = __commonJS({
|
|
|
108992
109171
|
});
|
|
108993
109172
|
}
|
|
108994
109173
|
attrNames.add(keyName);
|
|
108995
|
-
if (this.match(
|
|
109174
|
+
if (this.match(133)) {
|
|
108996
109175
|
node.key = this.parseStringLiteral(keyName);
|
|
108997
109176
|
} else {
|
|
108998
109177
|
node.key = this.parseIdentifier(true);
|
|
108999
109178
|
}
|
|
109000
109179
|
this.expect(14);
|
|
109001
|
-
if (!this.match(
|
|
109180
|
+
if (!this.match(133)) {
|
|
109002
109181
|
throw this.raise(Errors.ModuleAttributeInvalidValue, {
|
|
109003
109182
|
at: this.state.startLoc
|
|
109004
109183
|
});
|
|
@@ -109028,7 +109207,7 @@ var require_lib10 = __commonJS({
|
|
|
109028
109207
|
}
|
|
109029
109208
|
attributes.add(node.key.name);
|
|
109030
109209
|
this.expect(14);
|
|
109031
|
-
if (!this.match(
|
|
109210
|
+
if (!this.match(133)) {
|
|
109032
109211
|
throw this.raise(Errors.ModuleAttributeInvalidValue, {
|
|
109033
109212
|
at: this.state.startLoc
|
|
109034
109213
|
});
|
|
@@ -109121,8 +109300,8 @@ var require_lib10 = __commonJS({
|
|
|
109121
109300
|
break;
|
|
109122
109301
|
}
|
|
109123
109302
|
const specifier = this.startNode();
|
|
109124
|
-
const importedIsString = this.match(
|
|
109125
|
-
const isMaybeTypeOnly = this.isContextual(
|
|
109303
|
+
const importedIsString = this.match(133);
|
|
109304
|
+
const isMaybeTypeOnly = this.isContextual(130);
|
|
109126
109305
|
specifier.imported = this.parseModuleExportName();
|
|
109127
109306
|
const importSpecifier = this.parseImportSpecifier(specifier, importedIsString, node.importKind === "type" || node.importKind === "typeof", isMaybeTypeOnly, void 0);
|
|
109128
109307
|
node.specifiers.push(importSpecifier);
|
|
@@ -109533,10 +109712,14 @@ var require_evaluation = __commonJS({
|
|
|
109533
109712
|
});
|
|
109534
109713
|
exports.evaluate = evaluate;
|
|
109535
109714
|
exports.evaluateTruthy = evaluateTruthy;
|
|
109536
|
-
var
|
|
109715
|
+
var VALID_OBJECT_CALLEES = ["Number", "String", "Math"];
|
|
109716
|
+
var VALID_IDENTIFIER_CALLEES = ["isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", null, null];
|
|
109537
109717
|
var INVALID_METHODS = ["random"];
|
|
109538
|
-
function
|
|
109539
|
-
return
|
|
109718
|
+
function isValidObjectCallee(val) {
|
|
109719
|
+
return VALID_OBJECT_CALLEES.includes(val);
|
|
109720
|
+
}
|
|
109721
|
+
function isValidIdentifierCallee(val) {
|
|
109722
|
+
return VALID_IDENTIFIER_CALLEES.includes(val);
|
|
109540
109723
|
}
|
|
109541
109724
|
function isInvalidMethod(val) {
|
|
109542
109725
|
return INVALID_METHODS.includes(val);
|
|
@@ -109822,13 +110005,13 @@ var require_evaluation = __commonJS({
|
|
|
109822
110005
|
const callee = path15.get("callee");
|
|
109823
110006
|
let context;
|
|
109824
110007
|
let func;
|
|
109825
|
-
if (callee.isIdentifier() && !path15.scope.getBinding(callee.node.name) &&
|
|
110008
|
+
if (callee.isIdentifier() && !path15.scope.getBinding(callee.node.name) && (isValidObjectCallee(callee.node.name) || isValidIdentifierCallee(callee.node.name))) {
|
|
109826
110009
|
func = global[callee.node.name];
|
|
109827
110010
|
}
|
|
109828
110011
|
if (callee.isMemberExpression()) {
|
|
109829
110012
|
const object = callee.get("object");
|
|
109830
110013
|
const property = callee.get("property");
|
|
109831
|
-
if (object.isIdentifier() && property.isIdentifier() &&
|
|
110014
|
+
if (object.isIdentifier() && property.isIdentifier() && isValidObjectCallee(object.node.name) && !isInvalidMethod(property.node.name)) {
|
|
109832
110015
|
context = global[object.node.name];
|
|
109833
110016
|
func = context[property.node.name];
|
|
109834
110017
|
}
|
|
@@ -110809,13 +110992,11 @@ var require_conversion = __commonJS({
|
|
|
110809
110992
|
return this.node;
|
|
110810
110993
|
}
|
|
110811
110994
|
{
|
|
110812
|
-
{
|
|
110813
|
-
|
|
110814
|
-
|
|
110815
|
-
|
|
110816
|
-
|
|
110817
|
-
};
|
|
110818
|
-
}
|
|
110995
|
+
exports.arrowFunctionToShadowed = function() {
|
|
110996
|
+
if (!this.isArrowFunctionExpression())
|
|
110997
|
+
return;
|
|
110998
|
+
this.arrowFunctionToExpression();
|
|
110999
|
+
};
|
|
110819
111000
|
}
|
|
110820
111001
|
function unwrapFunctionEnvironment() {
|
|
110821
111002
|
if (!this.isArrowFunctionExpression() && !this.isFunctionExpression() && !this.isFunctionDeclaration()) {
|
|
@@ -112936,14 +113117,12 @@ var require_virtual_types_validator = __commonJS({
|
|
|
112936
113117
|
});
|
|
112937
113118
|
}
|
|
112938
113119
|
{
|
|
112939
|
-
{
|
|
112940
|
-
|
|
112941
|
-
|
|
112942
|
-
|
|
112943
|
-
|
|
112944
|
-
|
|
112945
|
-
};
|
|
112946
|
-
}
|
|
113120
|
+
exports.isExistentialTypeParam = function isExistentialTypeParam() {
|
|
113121
|
+
throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.");
|
|
113122
|
+
};
|
|
113123
|
+
exports.isNumericLiteralTypeAnnotation = function isNumericLiteralTypeAnnotation() {
|
|
113124
|
+
throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.");
|
|
113125
|
+
};
|
|
112947
113126
|
}
|
|
112948
113127
|
}
|
|
112949
113128
|
});
|
|
@@ -113340,15 +113519,6 @@ var require_hub = __commonJS({
|
|
|
113340
113519
|
var require_lib14 = __commonJS({
|
|
113341
113520
|
"../../node_modules/@babel/traverse/lib/index.js"(exports) {
|
|
113342
113521
|
"use strict";
|
|
113343
|
-
if (typeof process === "object" && process.version === "v20.6.0") {
|
|
113344
|
-
if (exports["___internal__alreadyRunning"])
|
|
113345
|
-
return;
|
|
113346
|
-
Object.defineProperty(exports, "___internal__alreadyRunning", {
|
|
113347
|
-
value: true,
|
|
113348
|
-
enumerable: false,
|
|
113349
|
-
configurable: true
|
|
113350
|
-
});
|
|
113351
|
-
}
|
|
113352
113522
|
Object.defineProperty(exports, "__esModule", {
|
|
113353
113523
|
value: true
|
|
113354
113524
|
});
|
|
@@ -113443,8 +113613,6 @@ var require_lib14 = __commonJS({
|
|
|
113443
113613
|
return state.has;
|
|
113444
113614
|
};
|
|
113445
113615
|
traverse2.cache = cache2;
|
|
113446
|
-
if (typeof process === "object" && process.version === "v20.6.0")
|
|
113447
|
-
delete exports["___internal__alreadyRunning"];
|
|
113448
113616
|
}
|
|
113449
113617
|
});
|
|
113450
113618
|
|
|
@@ -113472,13 +113640,14 @@ var require_helpers_generated = __commonJS({
|
|
|
113472
113640
|
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)}'),
|
|
113473
113641
|
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)}'),
|
|
113474
113642
|
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)}'),
|
|
113475
|
-
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,
|
|
113643
|
+
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)}}}'),
|
|
113476
113644
|
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}'),
|
|
113477
113645
|
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)}'),
|
|
113478
113646
|
awaitAsyncGenerator: helper("7.0.0-beta.0", 'import OverloadYield from"OverloadYield";export default function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}'),
|
|
113479
113647
|
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}`),
|
|
113480
113648
|
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)}"),
|
|
113481
113649
|
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()}'),
|
|
113650
|
+
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)})}"),
|
|
113482
113651
|
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}}'),
|
|
113483
113652
|
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}}'),
|
|
113484
113653
|
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}}'),
|
|
@@ -115276,6 +115445,11 @@ var require_helpers = __commonJS({
|
|
|
115276
115445
|
export default function _identity(x) {
|
|
115277
115446
|
return x;
|
|
115278
115447
|
}
|
|
115448
|
+
`;
|
|
115449
|
+
helpers.nullishReceiverError = helper("7.22.6")`
|
|
115450
|
+
export default function _nullishReceiverError(r) {
|
|
115451
|
+
throw new TypeError("Cannot set property of null or undefined.");
|
|
115452
|
+
}
|
|
115279
115453
|
`;
|
|
115280
115454
|
}
|
|
115281
115455
|
});
|
|
@@ -116101,11 +116275,14 @@ var require_rewrite_live_references = __commonJS({
|
|
|
116101
116275
|
var _helperSimpleAccess = require_lib17();
|
|
116102
116276
|
var {
|
|
116103
116277
|
assignmentExpression,
|
|
116104
|
-
callExpression,
|
|
116105
116278
|
cloneNode,
|
|
116106
116279
|
expressionStatement,
|
|
116107
116280
|
getOuterBindingIdentifiers,
|
|
116108
116281
|
identifier,
|
|
116282
|
+
isArrowFunctionExpression,
|
|
116283
|
+
isClassExpression,
|
|
116284
|
+
isFunctionExpression,
|
|
116285
|
+
isIdentifier,
|
|
116109
116286
|
isMemberExpression,
|
|
116110
116287
|
isVariableDeclaration,
|
|
116111
116288
|
jsxIdentifier,
|
|
@@ -116135,7 +116312,7 @@ var require_rewrite_live_references = __commonJS({
|
|
|
116135
116312
|
}
|
|
116136
116313
|
} while (path15 = path15.parentPath);
|
|
116137
116314
|
}
|
|
116138
|
-
function rewriteLiveReferences(programPath, metadata) {
|
|
116315
|
+
function rewriteLiveReferences(programPath, metadata, wrapReference) {
|
|
116139
116316
|
const imported = /* @__PURE__ */ new Map();
|
|
116140
116317
|
const exported = /* @__PURE__ */ new Map();
|
|
116141
116318
|
const requeueInParent = (path15) => {
|
|
@@ -116175,18 +116352,21 @@ var require_rewrite_live_references = __commonJS({
|
|
|
116175
116352
|
scope: programPath.scope,
|
|
116176
116353
|
imported,
|
|
116177
116354
|
exported,
|
|
116178
|
-
buildImportReference
|
|
116355
|
+
buildImportReference([source, importName, localName], identNode) {
|
|
116179
116356
|
const meta = metadata.source.get(source);
|
|
116180
116357
|
meta.referenced = true;
|
|
116181
116358
|
if (localName) {
|
|
116182
|
-
if (meta.
|
|
116183
|
-
|
|
116359
|
+
if (meta.wrap) {
|
|
116360
|
+
var _wrapReference;
|
|
116361
|
+
identNode = (_wrapReference = wrapReference(identNode, meta.wrap)) != null ? _wrapReference : identNode;
|
|
116184
116362
|
}
|
|
116185
116363
|
return identNode;
|
|
116186
116364
|
}
|
|
116187
116365
|
let namespace = identifier(meta.name);
|
|
116188
|
-
if (meta.
|
|
116189
|
-
|
|
116366
|
+
if (meta.wrap) {
|
|
116367
|
+
var _wrapReference2;
|
|
116368
|
+
namespace = (_wrapReference2 = wrapReference(namespace, meta.wrap)) != null ? _wrapReference2 : namespace;
|
|
116369
|
+
}
|
|
116190
116370
|
if (importName === "default" && meta.interop === "node-default") {
|
|
116191
116371
|
return namespace;
|
|
116192
116372
|
}
|
|
@@ -116225,14 +116405,34 @@ var require_rewrite_live_references = __commonJS({
|
|
|
116225
116405
|
exported,
|
|
116226
116406
|
metadata
|
|
116227
116407
|
} = this;
|
|
116228
|
-
|
|
116229
|
-
|
|
116230
|
-
|
|
116231
|
-
|
|
116232
|
-
|
|
116233
|
-
|
|
116408
|
+
const isVar = path15.node.kind === "var";
|
|
116409
|
+
for (const decl of path15.get("declarations")) {
|
|
116410
|
+
const {
|
|
116411
|
+
id
|
|
116412
|
+
} = decl.node;
|
|
116413
|
+
let {
|
|
116414
|
+
init: init2
|
|
116415
|
+
} = decl.node;
|
|
116416
|
+
if (isIdentifier(id) && exported.has(id.name) && !isArrowFunctionExpression(init2) && (!isFunctionExpression(init2) || init2.id) && (!isClassExpression(init2) || init2.id)) {
|
|
116417
|
+
if (!init2) {
|
|
116418
|
+
if (isVar) {
|
|
116419
|
+
continue;
|
|
116420
|
+
} else {
|
|
116421
|
+
init2 = path15.scope.buildUndefinedNode();
|
|
116422
|
+
}
|
|
116423
|
+
}
|
|
116424
|
+
decl.node.init = buildBindingExportAssignmentExpression(metadata, exported.get(id.name), init2, path15.scope);
|
|
116425
|
+
requeueInParent(decl.get("init"));
|
|
116426
|
+
} else {
|
|
116427
|
+
for (const localName of Object.keys(decl.getOuterBindingIdentifiers())) {
|
|
116428
|
+
if (exported.has(localName)) {
|
|
116429
|
+
const statement = expressionStatement(buildBindingExportAssignmentExpression(metadata, exported.get(localName), identifier(localName), path15.scope));
|
|
116430
|
+
statement._blockHoist = path15.node._blockHoist;
|
|
116431
|
+
requeueInParent(path15.insertAfter(statement)[0]);
|
|
116432
|
+
}
|
|
116433
|
+
}
|
|
116234
116434
|
}
|
|
116235
|
-
}
|
|
116435
|
+
}
|
|
116236
116436
|
}
|
|
116237
116437
|
};
|
|
116238
116438
|
var buildBindingExportAssignmentExpression = (metadata, exportNames, localExpr, scope) => {
|
|
@@ -116482,7 +116682,7 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116482
116682
|
function normalizeModuleAndLoadMetadata(programPath, exportName, {
|
|
116483
116683
|
importInterop,
|
|
116484
116684
|
initializeReexports = false,
|
|
116485
|
-
|
|
116685
|
+
getWrapperPayload,
|
|
116486
116686
|
esNamespaceOnly = false,
|
|
116487
116687
|
filename
|
|
116488
116688
|
}) {
|
|
@@ -116497,12 +116697,17 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116497
116697
|
hasExports: hasExports2
|
|
116498
116698
|
} = getModuleMetadata(programPath, {
|
|
116499
116699
|
initializeReexports,
|
|
116500
|
-
|
|
116700
|
+
getWrapperPayload
|
|
116501
116701
|
}, stringSpecifiers);
|
|
116502
116702
|
removeImportExportDeclarations(programPath);
|
|
116503
116703
|
for (const [source, metadata] of sources) {
|
|
116504
|
-
|
|
116505
|
-
|
|
116704
|
+
const {
|
|
116705
|
+
importsNamespace,
|
|
116706
|
+
imports
|
|
116707
|
+
} = metadata;
|
|
116708
|
+
if (importsNamespace.size > 0 && imports.size === 0) {
|
|
116709
|
+
const [nameOfnamespace] = importsNamespace;
|
|
116710
|
+
metadata.name = nameOfnamespace;
|
|
116506
116711
|
}
|
|
116507
116712
|
const resolvedInterop = resolveImportInterop(importInterop, source, filename);
|
|
116508
116713
|
if (resolvedInterop === "none") {
|
|
@@ -116547,12 +116752,13 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116547
116752
|
}
|
|
116548
116753
|
}
|
|
116549
116754
|
function getModuleMetadata(programPath, {
|
|
116550
|
-
|
|
116755
|
+
getWrapperPayload,
|
|
116551
116756
|
initializeReexports
|
|
116552
116757
|
}, stringSpecifiers) {
|
|
116553
116758
|
const localData = getLocalExportMetadata(programPath, initializeReexports, stringSpecifiers);
|
|
116759
|
+
const importNodes = /* @__PURE__ */ new Map();
|
|
116554
116760
|
const sourceData = /* @__PURE__ */ new Map();
|
|
116555
|
-
const getData = (sourceNode) => {
|
|
116761
|
+
const getData = (sourceNode, node) => {
|
|
116556
116762
|
const source = sourceNode.value;
|
|
116557
116763
|
let data = sourceData.get(source);
|
|
116558
116764
|
if (!data) {
|
|
@@ -116565,17 +116771,23 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116565
116771
|
reexports: /* @__PURE__ */ new Map(),
|
|
116566
116772
|
reexportNamespace: /* @__PURE__ */ new Set(),
|
|
116567
116773
|
reexportAll: null,
|
|
116568
|
-
|
|
116774
|
+
wrap: null,
|
|
116775
|
+
get lazy() {
|
|
116776
|
+
return this.wrap === "lazy";
|
|
116777
|
+
},
|
|
116569
116778
|
referenced: false
|
|
116570
116779
|
};
|
|
116571
116780
|
sourceData.set(source, data);
|
|
116781
|
+
importNodes.set(source, [node]);
|
|
116782
|
+
} else {
|
|
116783
|
+
importNodes.get(source).push(node);
|
|
116572
116784
|
}
|
|
116573
116785
|
return data;
|
|
116574
116786
|
};
|
|
116575
116787
|
let hasExports2 = false;
|
|
116576
116788
|
programPath.get("body").forEach((child) => {
|
|
116577
116789
|
if (child.isImportDeclaration()) {
|
|
116578
|
-
const data = getData(child.node.source);
|
|
116790
|
+
const data = getData(child.node.source, child.node);
|
|
116579
116791
|
if (!data.loc)
|
|
116580
116792
|
data.loc = child.node.loc;
|
|
116581
116793
|
child.get("specifiers").forEach((spec) => {
|
|
@@ -116617,7 +116829,7 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116617
116829
|
});
|
|
116618
116830
|
} else if (child.isExportAllDeclaration()) {
|
|
116619
116831
|
hasExports2 = true;
|
|
116620
|
-
const data = getData(child.node.source);
|
|
116832
|
+
const data = getData(child.node.source, child.node);
|
|
116621
116833
|
if (!data.loc)
|
|
116622
116834
|
data.loc = child.node.loc;
|
|
116623
116835
|
data.reexportAll = {
|
|
@@ -116626,7 +116838,7 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116626
116838
|
data.referenced = true;
|
|
116627
116839
|
} else if (child.isExportNamedDeclaration() && child.node.source) {
|
|
116628
116840
|
hasExports2 = true;
|
|
116629
|
-
const data = getData(child.node.source);
|
|
116841
|
+
const data = getData(child.node.source, child.node);
|
|
116630
116842
|
if (!data.loc)
|
|
116631
116843
|
data.loc = child.node.loc;
|
|
116632
116844
|
child.get("specifiers").forEach((spec) => {
|
|
@@ -116671,17 +116883,9 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116671
116883
|
metadata.interop = "default";
|
|
116672
116884
|
}
|
|
116673
116885
|
}
|
|
116674
|
-
|
|
116675
|
-
|
|
116676
|
-
|
|
116677
|
-
metadata.lazy = !/\./.test(source);
|
|
116678
|
-
} else if (Array.isArray(lazy)) {
|
|
116679
|
-
metadata.lazy = lazy.indexOf(source) !== -1;
|
|
116680
|
-
} else if (typeof lazy === "function") {
|
|
116681
|
-
metadata.lazy = lazy(source);
|
|
116682
|
-
} else {
|
|
116683
|
-
throw new Error(`.lazy must be a boolean, string array, or function`);
|
|
116684
|
-
}
|
|
116886
|
+
if (getWrapperPayload) {
|
|
116887
|
+
for (const [source, metadata] of sourceData) {
|
|
116888
|
+
metadata.wrap = getWrapperPayload(source, metadata, importNodes.get(source));
|
|
116685
116889
|
}
|
|
116686
116890
|
}
|
|
116687
116891
|
return {
|
|
@@ -116814,6 +117018,43 @@ var require_normalize_and_load_metadata = __commonJS({
|
|
|
116814
117018
|
}
|
|
116815
117019
|
});
|
|
116816
117020
|
|
|
117021
|
+
// ../../node_modules/@babel/helper-module-transforms/lib/lazy-modules.js
|
|
117022
|
+
var require_lazy_modules = __commonJS({
|
|
117023
|
+
"../../node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"(exports) {
|
|
117024
|
+
"use strict";
|
|
117025
|
+
Object.defineProperty(exports, "__esModule", {
|
|
117026
|
+
value: true
|
|
117027
|
+
});
|
|
117028
|
+
exports.toGetWrapperPayload = toGetWrapperPayload;
|
|
117029
|
+
exports.wrapReference = wrapReference;
|
|
117030
|
+
var _core = require_lib34();
|
|
117031
|
+
var _normalizeAndLoadMetadata = require_normalize_and_load_metadata();
|
|
117032
|
+
function toGetWrapperPayload(lazy) {
|
|
117033
|
+
return (source, metadata) => {
|
|
117034
|
+
if (lazy === false)
|
|
117035
|
+
return null;
|
|
117036
|
+
if ((0, _normalizeAndLoadMetadata.isSideEffectImport)(metadata) || metadata.reexportAll)
|
|
117037
|
+
return null;
|
|
117038
|
+
if (lazy === true) {
|
|
117039
|
+
return /\./.test(source) ? null : "lazy";
|
|
117040
|
+
}
|
|
117041
|
+
if (Array.isArray(lazy)) {
|
|
117042
|
+
return lazy.indexOf(source) === -1 ? null : "lazy";
|
|
117043
|
+
}
|
|
117044
|
+
if (typeof lazy === "function") {
|
|
117045
|
+
return lazy(source) ? "lazy" : null;
|
|
117046
|
+
}
|
|
117047
|
+
throw new Error(`.lazy must be a boolean, string array, or function`);
|
|
117048
|
+
};
|
|
117049
|
+
}
|
|
117050
|
+
function wrapReference(ref, payload) {
|
|
117051
|
+
if (payload === "lazy")
|
|
117052
|
+
return _core.types.callExpression(ref, []);
|
|
117053
|
+
return null;
|
|
117054
|
+
}
|
|
117055
|
+
}
|
|
117056
|
+
});
|
|
117057
|
+
|
|
116817
117058
|
// ../../node_modules/@babel/helper-module-transforms/lib/dynamic-import.js
|
|
116818
117059
|
var require_dynamic_import = __commonJS({
|
|
116819
117060
|
"../../node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"(exports) {
|
|
@@ -116824,17 +117065,13 @@ var require_dynamic_import = __commonJS({
|
|
|
116824
117065
|
exports.buildDynamicImport = buildDynamicImport;
|
|
116825
117066
|
var _core = require_lib34();
|
|
116826
117067
|
{
|
|
116827
|
-
{
|
|
116828
|
-
|
|
116829
|
-
|
|
116830
|
-
|
|
116831
|
-
return _core.types.isStringLiteral(source) || _core.types.isTemplateLiteral(source) ? source : _core.template.expression.ast`\`\${${source}}\``;
|
|
116832
|
-
};
|
|
116833
|
-
}
|
|
116834
|
-
}
|
|
117068
|
+
exports.getDynamicImportSource = function getDynamicImportSource(node) {
|
|
117069
|
+
const [source] = node.arguments;
|
|
117070
|
+
return _core.types.isStringLiteral(source) || _core.types.isTemplateLiteral(source) ? source : _core.template.expression.ast`\`\${${source}}\``;
|
|
117071
|
+
};
|
|
116835
117072
|
}
|
|
116836
117073
|
function buildDynamicImport(node, deferToThen, wrapWithPromise, builder) {
|
|
116837
|
-
const
|
|
117074
|
+
const specifier = _core.types.isCallExpression(node) ? node.arguments[0] : node.source;
|
|
116838
117075
|
if (_core.types.isStringLiteral(specifier) || _core.types.isTemplateLiteral(specifier) && specifier.quasis.length === 0) {
|
|
116839
117076
|
if (deferToThen) {
|
|
116840
117077
|
return _core.template.expression.ast`
|
|
@@ -116975,6 +117212,7 @@ var require_lib18 = __commonJS({
|
|
|
116975
117212
|
var _rewriteThis = require_rewrite_this();
|
|
116976
117213
|
var _rewriteLiveReferences = require_rewrite_live_references();
|
|
116977
117214
|
var _normalizeAndLoadMetadata = require_normalize_and_load_metadata();
|
|
117215
|
+
var Lazy = require_lazy_modules();
|
|
116978
117216
|
var _dynamicImport = require_dynamic_import();
|
|
116979
117217
|
var _getModuleName = require_get_module_name();
|
|
116980
117218
|
var {
|
|
@@ -116993,11 +117231,7 @@ var require_lib18 = __commonJS({
|
|
|
116993
117231
|
variableDeclarator
|
|
116994
117232
|
} = _core.types;
|
|
116995
117233
|
{
|
|
116996
|
-
|
|
116997
|
-
{
|
|
116998
|
-
exports.getDynamicImportSource = require_dynamic_import().getDynamicImportSource;
|
|
116999
|
-
}
|
|
117000
|
-
}
|
|
117234
|
+
exports.getDynamicImportSource = require_dynamic_import().getDynamicImportSource;
|
|
117001
117235
|
}
|
|
117002
117236
|
function rewriteModuleStatementsAndPrepareHeader(path15, {
|
|
117003
117237
|
exportName,
|
|
@@ -117007,6 +117241,8 @@ var require_lib18 = __commonJS({
|
|
|
117007
117241
|
noInterop,
|
|
117008
117242
|
importInterop = noInterop ? "none" : "babel",
|
|
117009
117243
|
lazy,
|
|
117244
|
+
getWrapperPayload = Lazy.toGetWrapperPayload(lazy != null ? lazy : false),
|
|
117245
|
+
wrapReference = Lazy.wrapReference,
|
|
117010
117246
|
esNamespaceOnly,
|
|
117011
117247
|
filename,
|
|
117012
117248
|
constantReexports = arguments[1].loose,
|
|
@@ -117019,14 +117255,14 @@ var require_lib18 = __commonJS({
|
|
|
117019
117255
|
const meta = (0, _normalizeAndLoadMetadata.default)(path15, exportName, {
|
|
117020
117256
|
importInterop,
|
|
117021
117257
|
initializeReexports: constantReexports,
|
|
117022
|
-
|
|
117258
|
+
getWrapperPayload,
|
|
117023
117259
|
esNamespaceOnly,
|
|
117024
117260
|
filename
|
|
117025
117261
|
});
|
|
117026
117262
|
if (!allowTopLevelThis) {
|
|
117027
117263
|
(0, _rewriteThis.default)(path15);
|
|
117028
117264
|
}
|
|
117029
|
-
(0, _rewriteLiveReferences.default)(path15, meta);
|
|
117265
|
+
(0, _rewriteLiveReferences.default)(path15, meta, wrapReference);
|
|
117030
117266
|
if (strictMode !== false) {
|
|
117031
117267
|
const hasStrict = path15.node.directives.some((directive2) => {
|
|
117032
117268
|
return directive2.value.value === "use strict";
|
|
@@ -117044,7 +117280,7 @@ var require_lib18 = __commonJS({
|
|
|
117044
117280
|
meta.exportNameListName = nameList.name;
|
|
117045
117281
|
headers.push(nameList.statement);
|
|
117046
117282
|
}
|
|
117047
|
-
headers.push(...buildExportInitializationStatements(path15, meta, constantReexports, noIncompleteNsImportDetection));
|
|
117283
|
+
headers.push(...buildExportInitializationStatements(path15, meta, wrapReference, constantReexports, noIncompleteNsImportDetection));
|
|
117048
117284
|
return {
|
|
117049
117285
|
meta,
|
|
117050
117286
|
headers
|
|
@@ -117074,7 +117310,8 @@ var require_lib18 = __commonJS({
|
|
|
117074
117310
|
}
|
|
117075
117311
|
return callExpression(programPath.hub.addHelper(helper), [expr]);
|
|
117076
117312
|
}
|
|
117077
|
-
function buildNamespaceInitStatements(metadata, sourceMetadata, constantReexports = false) {
|
|
117313
|
+
function buildNamespaceInitStatements(metadata, sourceMetadata, constantReexports = false, wrapReference = Lazy.wrapReference) {
|
|
117314
|
+
var _wrapReference;
|
|
117078
117315
|
const statements = [];
|
|
117079
117316
|
const srcNamespaceId = identifier(sourceMetadata.name);
|
|
117080
117317
|
for (const localName of sourceMetadata.importsNamespace) {
|
|
@@ -117085,12 +117322,12 @@ var require_lib18 = __commonJS({
|
|
|
117085
117322
|
SOURCE: cloneNode(srcNamespaceId)
|
|
117086
117323
|
}));
|
|
117087
117324
|
}
|
|
117088
|
-
const srcNamespace =
|
|
117325
|
+
const srcNamespace = (_wrapReference = wrapReference(srcNamespaceId, sourceMetadata.wrap)) != null ? _wrapReference : srcNamespaceId;
|
|
117089
117326
|
if (constantReexports) {
|
|
117090
|
-
statements.push(...buildReexportsFromMeta(metadata, sourceMetadata, true));
|
|
117327
|
+
statements.push(...buildReexportsFromMeta(metadata, sourceMetadata, true, wrapReference));
|
|
117091
117328
|
}
|
|
117092
117329
|
for (const exportName of sourceMetadata.reexportNamespace) {
|
|
117093
|
-
statements.push((
|
|
117330
|
+
statements.push((!_core.types.isIdentifier(srcNamespace) ? _core.template.statement`
|
|
117094
117331
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
117095
117332
|
enumerable: true,
|
|
117096
117333
|
get: function() {
|
|
@@ -117122,8 +117359,10 @@ var require_lib18 = __commonJS({
|
|
|
117122
117359
|
});
|
|
117123
117360
|
`
|
|
117124
117361
|
};
|
|
117125
|
-
function buildReexportsFromMeta(meta, metadata, constantReexports) {
|
|
117126
|
-
|
|
117362
|
+
function buildReexportsFromMeta(meta, metadata, constantReexports, wrapReference) {
|
|
117363
|
+
var _wrapReference2;
|
|
117364
|
+
let namespace = identifier(metadata.name);
|
|
117365
|
+
namespace = (_wrapReference2 = wrapReference(namespace, metadata.wrap)) != null ? _wrapReference2 : namespace;
|
|
117127
117366
|
const {
|
|
117128
117367
|
stringSpecifiers
|
|
117129
117368
|
} = meta;
|
|
@@ -117220,7 +117459,7 @@ var require_lib18 = __commonJS({
|
|
|
117220
117459
|
statement: variableDeclaration("var", [variableDeclarator(name, valueToNode(exportedVars))])
|
|
117221
117460
|
};
|
|
117222
117461
|
}
|
|
117223
|
-
function buildExportInitializationStatements(programPath, metadata, constantReexports = false, noIncompleteNsImportDetection = false) {
|
|
117462
|
+
function buildExportInitializationStatements(programPath, metadata, wrapReference, constantReexports = false, noIncompleteNsImportDetection = false) {
|
|
117224
117463
|
const initStatements = [];
|
|
117225
117464
|
for (const [localName, data] of metadata.local) {
|
|
117226
117465
|
if (data.kind === "import") {
|
|
@@ -117234,7 +117473,7 @@ var require_lib18 = __commonJS({
|
|
|
117234
117473
|
}
|
|
117235
117474
|
for (const data of metadata.source.values()) {
|
|
117236
117475
|
if (!constantReexports) {
|
|
117237
|
-
const reexportsStatements = buildReexportsFromMeta(metadata, data, false);
|
|
117476
|
+
const reexportsStatements = buildReexportsFromMeta(metadata, data, false, wrapReference);
|
|
117238
117477
|
const reexports = [...data.reexports.keys()];
|
|
117239
117478
|
for (let i2 = 0; i2 < reexportsStatements.length; i2++) {
|
|
117240
117479
|
initStatements.push([reexports[i2], reexportsStatements[i2]]);
|
|
@@ -121180,7 +121419,7 @@ var require_browsers2 = __commonJS({
|
|
|
121180
121419
|
// ../../node_modules/caniuse-lite/data/browserVersions.js
|
|
121181
121420
|
var require_browserVersions = __commonJS({
|
|
121182
121421
|
"../../node_modules/caniuse-lite/data/browserVersions.js"(exports, module2) {
|
|
121183
|
-
module2.exports = { "0": "113", "1": "114", "2": "115", "3": "
|
|
121422
|
+
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" };
|
|
121184
121423
|
}
|
|
121185
121424
|
});
|
|
121186
121425
|
|
|
@@ -121194,7 +121433,7 @@ var require_browserVersions2 = __commonJS({
|
|
|
121194
121433
|
// ../../node_modules/caniuse-lite/data/agents.js
|
|
121195
121434
|
var require_agents = __commonJS({
|
|
121196
121435
|
"../../node_modules/caniuse-lite/data/agents.js"(exports, module2) {
|
|
121197
|
-
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 } } };
|
|
121436
|
+
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 } } };
|
|
121198
121437
|
}
|
|
121199
121438
|
});
|
|
121200
121439
|
|
|
@@ -122232,8 +122471,8 @@ var require_browserslist = __commonJS({
|
|
|
122232
122471
|
}
|
|
122233
122472
|
return list.slice(jump - 1 - nVersions);
|
|
122234
122473
|
}
|
|
122235
|
-
function isSupported(flags) {
|
|
122236
|
-
return typeof flags === "string" && (flags.indexOf("y") >= 0 || flags.indexOf("a") >= 0);
|
|
122474
|
+
function isSupported(flags, withPartial) {
|
|
122475
|
+
return typeof flags === "string" && (flags.indexOf("y") >= 0 || withPartial && flags.indexOf("a") >= 0);
|
|
122237
122476
|
}
|
|
122238
122477
|
function resolve(queries, context) {
|
|
122239
122478
|
return parse4(QUERIES, queries).reduce(function(result, node, index) {
|
|
@@ -122773,21 +123012,22 @@ var require_browserslist = __commonJS({
|
|
|
122773
123012
|
select: coverQuery
|
|
122774
123013
|
},
|
|
122775
123014
|
supports: {
|
|
122776
|
-
matches: ["feature"],
|
|
122777
|
-
regexp: /^supports\s+([\w-]+)$/,
|
|
123015
|
+
matches: ["supportType", "feature"],
|
|
123016
|
+
regexp: /^(?:(fully|partially) )?supports\s+([\w-]+)$/,
|
|
122778
123017
|
select: function(context, node) {
|
|
122779
123018
|
env.loadFeature(browserslist.cache, node.feature);
|
|
123019
|
+
var withPartial = node.supportType !== "fully";
|
|
122780
123020
|
var features = browserslist.cache[node.feature];
|
|
122781
123021
|
var result = [];
|
|
122782
123022
|
for (var name in features) {
|
|
122783
123023
|
var data = byName(name, context);
|
|
122784
|
-
var checkDesktop = context.mobileToDesktop && name in browserslist.desktopNames && isSupported(features[name][data.released.slice(-1)[0]]);
|
|
123024
|
+
var checkDesktop = context.mobileToDesktop && name in browserslist.desktopNames && isSupported(features[name][data.released.slice(-1)[0]], withPartial);
|
|
122785
123025
|
data.versions.forEach(function(version) {
|
|
122786
123026
|
var flags = features[name][version];
|
|
122787
123027
|
if (flags === void 0 && checkDesktop) {
|
|
122788
123028
|
flags = features[browserslist.desktopNames[name]][version];
|
|
122789
123029
|
}
|
|
122790
|
-
if (isSupported(flags)) {
|
|
123030
|
+
if (isSupported(flags, withPartial)) {
|
|
122791
123031
|
result.push(name + " " + version);
|
|
122792
123032
|
}
|
|
122793
123033
|
});
|
|
@@ -122877,7 +123117,7 @@ var require_browserslist = __commonJS({
|
|
|
122877
123117
|
matches: [],
|
|
122878
123118
|
regexp: /^(firefox|ff|fx)\s+esr$/i,
|
|
122879
123119
|
select: function() {
|
|
122880
|
-
return ["firefox
|
|
123120
|
+
return ["firefox 115"];
|
|
122881
123121
|
}
|
|
122882
123122
|
},
|
|
122883
123123
|
opera_mini_all: {
|
|
@@ -125214,6 +125454,7 @@ var require_plugins = __commonJS({
|
|
|
125214
125454
|
opera: "98",
|
|
125215
125455
|
edge: "112",
|
|
125216
125456
|
firefox: "116",
|
|
125457
|
+
safari: "tp",
|
|
125217
125458
|
node: "20",
|
|
125218
125459
|
deno: "1.32",
|
|
125219
125460
|
opera_mobile: "75",
|
|
@@ -128684,20 +128925,18 @@ var require_normalize_opts = __commonJS({
|
|
|
128684
128925
|
}
|
|
128685
128926
|
});
|
|
128686
128927
|
|
|
128687
|
-
// ../../node_modules/convert-source-map/index.js
|
|
128928
|
+
// ../../node_modules/@babel/core/node_modules/convert-source-map/index.js
|
|
128688
128929
|
var require_convert_source_map = __commonJS({
|
|
128689
|
-
"../../node_modules/convert-source-map/index.js"(exports) {
|
|
128930
|
+
"../../node_modules/@babel/core/node_modules/convert-source-map/index.js"(exports) {
|
|
128690
128931
|
"use strict";
|
|
128691
|
-
var fs4 = require("fs");
|
|
128692
|
-
var path15 = require("path");
|
|
128693
128932
|
Object.defineProperty(exports, "commentRegex", {
|
|
128694
128933
|
get: function getCommentRegex() {
|
|
128695
|
-
return /^\s
|
|
128934
|
+
return /^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg;
|
|
128696
128935
|
}
|
|
128697
128936
|
});
|
|
128698
128937
|
Object.defineProperty(exports, "mapFileCommentRegex", {
|
|
128699
128938
|
get: function getMapFileCommentRegex() {
|
|
128700
|
-
return /(?:\/\/[@#][ \t]
|
|
128939
|
+
return /(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg;
|
|
128701
128940
|
}
|
|
128702
128941
|
});
|
|
128703
128942
|
var decodeBase64;
|
|
@@ -128725,26 +128964,36 @@ var require_convert_source_map = __commonJS({
|
|
|
128725
128964
|
function stripComment(sm) {
|
|
128726
128965
|
return sm.split(",").pop();
|
|
128727
128966
|
}
|
|
128728
|
-
function readFromFileMap(sm,
|
|
128967
|
+
function readFromFileMap(sm, read) {
|
|
128729
128968
|
var r = exports.mapFileCommentRegex.exec(sm);
|
|
128730
128969
|
var filename = r[1] || r[2];
|
|
128731
|
-
var filepath = path15.resolve(dir, filename);
|
|
128732
128970
|
try {
|
|
128733
|
-
|
|
128971
|
+
var sm = read(filename);
|
|
128972
|
+
if (sm != null && typeof sm.catch === "function") {
|
|
128973
|
+
return sm.catch(throwError);
|
|
128974
|
+
} else {
|
|
128975
|
+
return sm;
|
|
128976
|
+
}
|
|
128734
128977
|
} catch (e) {
|
|
128735
|
-
|
|
128978
|
+
throwError(e);
|
|
128979
|
+
}
|
|
128980
|
+
function throwError(e) {
|
|
128981
|
+
throw new Error("An error occurred while trying to read the map file at " + filename + "\n" + e.stack);
|
|
128736
128982
|
}
|
|
128737
128983
|
}
|
|
128738
128984
|
function Converter(sm, opts) {
|
|
128739
128985
|
opts = opts || {};
|
|
128740
|
-
if (opts.
|
|
128741
|
-
sm = readFromFileMap(sm, opts.commentFileDir);
|
|
128742
|
-
if (opts.hasComment)
|
|
128986
|
+
if (opts.hasComment) {
|
|
128743
128987
|
sm = stripComment(sm);
|
|
128744
|
-
|
|
128988
|
+
}
|
|
128989
|
+
if (opts.encoding === "base64") {
|
|
128745
128990
|
sm = decodeBase64(sm);
|
|
128746
|
-
if (opts.
|
|
128991
|
+
} else if (opts.encoding === "uri") {
|
|
128992
|
+
sm = decodeURIComponent(sm);
|
|
128993
|
+
}
|
|
128994
|
+
if (opts.isJSON || opts.encoding) {
|
|
128747
128995
|
sm = JSON.parse(sm);
|
|
128996
|
+
}
|
|
128748
128997
|
this.sourcemap = sm;
|
|
128749
128998
|
}
|
|
128750
128999
|
Converter.prototype.toJSON = function(space) {
|
|
@@ -128774,10 +129023,21 @@ var require_convert_source_map = __commonJS({
|
|
|
128774
129023
|
var json = this.toJSON();
|
|
128775
129024
|
return btoa(unescape(encodeURIComponent(json)));
|
|
128776
129025
|
}
|
|
129026
|
+
Converter.prototype.toURI = function() {
|
|
129027
|
+
var json = this.toJSON();
|
|
129028
|
+
return encodeURIComponent(json);
|
|
129029
|
+
};
|
|
128777
129030
|
Converter.prototype.toComment = function(options) {
|
|
128778
|
-
var
|
|
128779
|
-
|
|
128780
|
-
|
|
129031
|
+
var encoding, content, data;
|
|
129032
|
+
if (options != null && options.encoding === "uri") {
|
|
129033
|
+
encoding = "";
|
|
129034
|
+
content = this.toURI();
|
|
129035
|
+
} else {
|
|
129036
|
+
encoding = ";base64";
|
|
129037
|
+
content = this.toBase64();
|
|
129038
|
+
}
|
|
129039
|
+
data = "sourceMappingURL=data:application/json;charset=utf-8" + encoding + "," + content;
|
|
129040
|
+
return options != null && options.multiline ? "/*# " + data + " */" : "//# " + data;
|
|
128781
129041
|
};
|
|
128782
129042
|
Converter.prototype.toObject = function() {
|
|
128783
129043
|
return JSON.parse(this.toJSON());
|
|
@@ -128800,23 +129060,47 @@ var require_convert_source_map = __commonJS({
|
|
|
128800
129060
|
exports.fromJSON = function(json) {
|
|
128801
129061
|
return new Converter(json, { isJSON: true });
|
|
128802
129062
|
};
|
|
129063
|
+
exports.fromURI = function(uri) {
|
|
129064
|
+
return new Converter(uri, { encoding: "uri" });
|
|
129065
|
+
};
|
|
128803
129066
|
exports.fromBase64 = function(base64) {
|
|
128804
|
-
return new Converter(base64, {
|
|
129067
|
+
return new Converter(base64, { encoding: "base64" });
|
|
128805
129068
|
};
|
|
128806
129069
|
exports.fromComment = function(comment) {
|
|
129070
|
+
var m, encoding;
|
|
128807
129071
|
comment = comment.replace(/^\/\*/g, "//").replace(/\*\/$/g, "");
|
|
128808
|
-
|
|
129072
|
+
m = exports.commentRegex.exec(comment);
|
|
129073
|
+
encoding = m && m[4] || "uri";
|
|
129074
|
+
return new Converter(comment, { encoding, hasComment: true });
|
|
128809
129075
|
};
|
|
128810
|
-
|
|
128811
|
-
return new Converter(
|
|
129076
|
+
function makeConverter(sm) {
|
|
129077
|
+
return new Converter(sm, { isJSON: true });
|
|
129078
|
+
}
|
|
129079
|
+
exports.fromMapFileComment = function(comment, read) {
|
|
129080
|
+
if (typeof read === "string") {
|
|
129081
|
+
throw new Error(
|
|
129082
|
+
"String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading"
|
|
129083
|
+
);
|
|
129084
|
+
}
|
|
129085
|
+
var sm = readFromFileMap(comment, read);
|
|
129086
|
+
if (sm != null && typeof sm.then === "function") {
|
|
129087
|
+
return sm.then(makeConverter);
|
|
129088
|
+
} else {
|
|
129089
|
+
return makeConverter(sm);
|
|
129090
|
+
}
|
|
128812
129091
|
};
|
|
128813
129092
|
exports.fromSource = function(content) {
|
|
128814
129093
|
var m = content.match(exports.commentRegex);
|
|
128815
129094
|
return m ? exports.fromComment(m.pop()) : null;
|
|
128816
129095
|
};
|
|
128817
|
-
exports.fromMapFileSource = function(content,
|
|
129096
|
+
exports.fromMapFileSource = function(content, read) {
|
|
129097
|
+
if (typeof read === "string") {
|
|
129098
|
+
throw new Error(
|
|
129099
|
+
"String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading"
|
|
129100
|
+
);
|
|
129101
|
+
}
|
|
128818
129102
|
var m = content.match(exports.mapFileCommentRegex);
|
|
128819
|
-
return m ? exports.fromMapFileComment(m.pop(),
|
|
129103
|
+
return m ? exports.fromMapFileComment(m.pop(), read) : null;
|
|
128820
129104
|
};
|
|
128821
129105
|
exports.removeComments = function(src) {
|
|
128822
129106
|
return src.replace(exports.commentRegex, "");
|
|
@@ -129368,9 +129652,11 @@ var require_normalize_file = __commonJS({
|
|
|
129368
129652
|
const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast);
|
|
129369
129653
|
if (lastComment) {
|
|
129370
129654
|
try {
|
|
129371
|
-
inputMap = _convertSourceMap().fromComment(lastComment);
|
|
129655
|
+
inputMap = _convertSourceMap().fromComment("//" + lastComment);
|
|
129372
129656
|
} catch (err) {
|
|
129373
|
-
|
|
129657
|
+
{
|
|
129658
|
+
debug11("discarding unknown inline input sourcemap");
|
|
129659
|
+
}
|
|
129374
129660
|
}
|
|
129375
129661
|
}
|
|
129376
129662
|
}
|
|
@@ -129834,7 +130120,7 @@ var require_package4 = __commonJS({
|
|
|
129834
130120
|
"../../node_modules/@babel/preset-typescript/package.json"(exports, module2) {
|
|
129835
130121
|
module2.exports = {
|
|
129836
130122
|
name: "@babel/preset-typescript",
|
|
129837
|
-
version: "7.
|
|
130123
|
+
version: "7.23.0",
|
|
129838
130124
|
description: "Babel preset for TypeScript.",
|
|
129839
130125
|
repository: {
|
|
129840
130126
|
type: "git",
|
|
@@ -129854,14 +130140,14 @@ var require_package4 = __commonJS({
|
|
|
129854
130140
|
"@babel/helper-plugin-utils": "^7.22.5",
|
|
129855
130141
|
"@babel/helper-validator-option": "^7.22.15",
|
|
129856
130142
|
"@babel/plugin-syntax-jsx": "^7.22.5",
|
|
129857
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
130143
|
+
"@babel/plugin-transform-modules-commonjs": "^7.23.0",
|
|
129858
130144
|
"@babel/plugin-transform-typescript": "^7.22.15"
|
|
129859
130145
|
},
|
|
129860
130146
|
peerDependencies: {
|
|
129861
130147
|
"@babel/core": "^7.0.0-0"
|
|
129862
130148
|
},
|
|
129863
130149
|
devDependencies: {
|
|
129864
|
-
"@babel/core": "^7.
|
|
130150
|
+
"@babel/core": "^7.23.0",
|
|
129865
130151
|
"@babel/helper-plugin-test-runner": "^7.22.5"
|
|
129866
130152
|
},
|
|
129867
130153
|
homepage: "https://babel.dev/docs/en/next/babel-preset-typescript",
|
|
@@ -131354,11 +131640,12 @@ var require_lib24 = __commonJS({
|
|
|
131354
131640
|
const rootParentPath = endPath.parentPath;
|
|
131355
131641
|
if (rootParentPath.isUpdateExpression({
|
|
131356
131642
|
argument: node
|
|
131357
|
-
}) || rootParentPath.isAssignmentExpression({
|
|
131358
|
-
left: node
|
|
131359
131643
|
})) {
|
|
131360
|
-
throw member.buildCodeFrameError(`can't handle
|
|
131644
|
+
throw member.buildCodeFrameError(`can't handle update expression`);
|
|
131361
131645
|
}
|
|
131646
|
+
const isAssignment = rootParentPath.isAssignmentExpression({
|
|
131647
|
+
left: endPath.node
|
|
131648
|
+
});
|
|
131362
131649
|
const isDeleteOperation = rootParentPath.isUnaryExpression({
|
|
131363
131650
|
operator: "delete"
|
|
131364
131651
|
});
|
|
@@ -131403,6 +131690,8 @@ var require_lib24 = __commonJS({
|
|
|
131403
131690
|
operator: "delete"
|
|
131404
131691
|
})) {
|
|
131405
131692
|
parentPath.replaceWith(this.delete(member));
|
|
131693
|
+
} else if (parentPath.isAssignmentExpression()) {
|
|
131694
|
+
handleAssignment(this, member, parentPath);
|
|
131406
131695
|
} else {
|
|
131407
131696
|
member.replaceWith(this.get(member));
|
|
131408
131697
|
}
|
|
@@ -131431,7 +131720,7 @@ var require_lib24 = __commonJS({
|
|
|
131431
131720
|
}
|
|
131432
131721
|
}
|
|
131433
131722
|
let replacementPath = endPath;
|
|
131434
|
-
if (isDeleteOperation) {
|
|
131723
|
+
if (isDeleteOperation || isAssignment) {
|
|
131435
131724
|
replacementPath = endParentPath;
|
|
131436
131725
|
regular = endParentPath.node;
|
|
131437
131726
|
}
|
|
@@ -131495,26 +131784,7 @@ var require_lib24 = __commonJS({
|
|
|
131495
131784
|
if (parentPath.isAssignmentExpression({
|
|
131496
131785
|
left: node
|
|
131497
131786
|
})) {
|
|
131498
|
-
|
|
131499
|
-
member.replaceWith(this.simpleSet(member));
|
|
131500
|
-
return;
|
|
131501
|
-
}
|
|
131502
|
-
const {
|
|
131503
|
-
operator,
|
|
131504
|
-
right: value2
|
|
131505
|
-
} = parentPath.node;
|
|
131506
|
-
if (operator === "=") {
|
|
131507
|
-
parentPath.replaceWith(this.set(member, value2));
|
|
131508
|
-
} else {
|
|
131509
|
-
const operatorTrunc = operator.slice(0, -1);
|
|
131510
|
-
if (LOGICAL_OPERATORS.includes(operatorTrunc)) {
|
|
131511
|
-
this.memoise(member, 1);
|
|
131512
|
-
parentPath.replaceWith(logicalExpression(operatorTrunc, this.get(member), this.set(member, value2)));
|
|
131513
|
-
} else {
|
|
131514
|
-
this.memoise(member, 2);
|
|
131515
|
-
parentPath.replaceWith(this.set(member, binaryExpression(operatorTrunc, this.get(member), value2)));
|
|
131516
|
-
}
|
|
131517
|
-
}
|
|
131787
|
+
handleAssignment(this, member, parentPath);
|
|
131518
131788
|
return;
|
|
131519
131789
|
}
|
|
131520
131790
|
if (parentPath.isCallExpression({
|
|
@@ -131560,6 +131830,28 @@ var require_lib24 = __commonJS({
|
|
|
131560
131830
|
}
|
|
131561
131831
|
}
|
|
131562
131832
|
};
|
|
131833
|
+
function handleAssignment(state, member, parentPath) {
|
|
131834
|
+
if (state.simpleSet) {
|
|
131835
|
+
member.replaceWith(state.simpleSet(member));
|
|
131836
|
+
return;
|
|
131837
|
+
}
|
|
131838
|
+
const {
|
|
131839
|
+
operator,
|
|
131840
|
+
right: value2
|
|
131841
|
+
} = parentPath.node;
|
|
131842
|
+
if (operator === "=") {
|
|
131843
|
+
parentPath.replaceWith(state.set(member, value2));
|
|
131844
|
+
} else {
|
|
131845
|
+
const operatorTrunc = operator.slice(0, -1);
|
|
131846
|
+
if (LOGICAL_OPERATORS.includes(operatorTrunc)) {
|
|
131847
|
+
state.memoise(member, 1);
|
|
131848
|
+
parentPath.replaceWith(logicalExpression(operatorTrunc, state.get(member), state.set(member, value2)));
|
|
131849
|
+
} else {
|
|
131850
|
+
state.memoise(member, 2);
|
|
131851
|
+
parentPath.replaceWith(state.set(member, binaryExpression(operatorTrunc, state.get(member), value2)));
|
|
131852
|
+
}
|
|
131853
|
+
}
|
|
131854
|
+
}
|
|
131563
131855
|
function memberExpressionToFunctions(path15, visitor, state) {
|
|
131564
131856
|
path15.traverse(visitor, Object.assign({}, handle, state, {
|
|
131565
131857
|
memoiser: new AssignmentMemoiser()
|
|
@@ -131629,13 +131921,9 @@ var require_lib26 = __commonJS({
|
|
|
131629
131921
|
thisExpression
|
|
131630
131922
|
} = _core.types;
|
|
131631
131923
|
{
|
|
131632
|
-
|
|
131633
|
-
|
|
131634
|
-
|
|
131635
|
-
exports.environmentVisitor = ns.default;
|
|
131636
|
-
exports.skipAllButComputedKey = ns.skipAllButComputedKey;
|
|
131637
|
-
}
|
|
131638
|
-
}
|
|
131924
|
+
const ns = require_lib6();
|
|
131925
|
+
exports.environmentVisitor = ns.default;
|
|
131926
|
+
exports.skipAllButComputedKey = ns.skipAllButComputedKey;
|
|
131639
131927
|
}
|
|
131640
131928
|
function getPrototypeOfExpression(objectRef, isStatic, file, isPrivateMethod) {
|
|
131641
131929
|
objectRef = cloneNode(objectRef);
|
|
@@ -134520,6 +134808,97 @@ var require_dynamic_import2 = __commonJS({
|
|
|
134520
134808
|
}
|
|
134521
134809
|
});
|
|
134522
134810
|
|
|
134811
|
+
// ../../node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js
|
|
134812
|
+
var require_lazy = __commonJS({
|
|
134813
|
+
"../../node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"(exports) {
|
|
134814
|
+
"use strict";
|
|
134815
|
+
Object.defineProperty(exports, "__esModule", {
|
|
134816
|
+
value: true
|
|
134817
|
+
});
|
|
134818
|
+
exports.lazyImportsHook = void 0;
|
|
134819
|
+
var _core = require_lib34();
|
|
134820
|
+
var _helperModuleTransforms = require_lib18();
|
|
134821
|
+
var lazyImportsHook = (lazy) => ({
|
|
134822
|
+
name: `${"@babel/plugin-transform-modules-commonjs"}/lazy`,
|
|
134823
|
+
version: "7.23.0",
|
|
134824
|
+
getWrapperPayload(source, metadata) {
|
|
134825
|
+
if ((0, _helperModuleTransforms.isSideEffectImport)(metadata) || metadata.reexportAll) {
|
|
134826
|
+
return null;
|
|
134827
|
+
}
|
|
134828
|
+
if (lazy === true) {
|
|
134829
|
+
return /\./.test(source) ? null : "lazy/function";
|
|
134830
|
+
}
|
|
134831
|
+
if (Array.isArray(lazy)) {
|
|
134832
|
+
return lazy.indexOf(source) === -1 ? null : "lazy/function";
|
|
134833
|
+
}
|
|
134834
|
+
if (typeof lazy === "function") {
|
|
134835
|
+
return lazy(source) ? "lazy/function" : null;
|
|
134836
|
+
}
|
|
134837
|
+
},
|
|
134838
|
+
buildRequireWrapper(name, init2, payload, referenced) {
|
|
134839
|
+
if (payload === "lazy/function") {
|
|
134840
|
+
if (!referenced)
|
|
134841
|
+
return false;
|
|
134842
|
+
return _core.template.statement.ast`
|
|
134843
|
+
function ${name}() {
|
|
134844
|
+
const data = ${init2};
|
|
134845
|
+
${name} = function(){ return data; };
|
|
134846
|
+
return data;
|
|
134847
|
+
}
|
|
134848
|
+
`;
|
|
134849
|
+
}
|
|
134850
|
+
},
|
|
134851
|
+
wrapReference(ref, payload) {
|
|
134852
|
+
if (payload === "lazy/function")
|
|
134853
|
+
return _core.types.callExpression(ref, []);
|
|
134854
|
+
}
|
|
134855
|
+
});
|
|
134856
|
+
exports.lazyImportsHook = lazyImportsHook;
|
|
134857
|
+
}
|
|
134858
|
+
});
|
|
134859
|
+
|
|
134860
|
+
// ../../node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js
|
|
134861
|
+
var require_hooks = __commonJS({
|
|
134862
|
+
"../../node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js"(exports) {
|
|
134863
|
+
"use strict";
|
|
134864
|
+
Object.defineProperty(exports, "__esModule", {
|
|
134865
|
+
value: true
|
|
134866
|
+
});
|
|
134867
|
+
exports.defineCommonJSHook = defineCommonJSHook;
|
|
134868
|
+
exports.makeInvokers = makeInvokers;
|
|
134869
|
+
var commonJSHooksKey = "@babel/plugin-transform-modules-commonjs/customWrapperPlugin";
|
|
134870
|
+
function defineCommonJSHook(file, hook) {
|
|
134871
|
+
let hooks = file.get(commonJSHooksKey);
|
|
134872
|
+
if (!hooks)
|
|
134873
|
+
file.set(commonJSHooksKey, hooks = []);
|
|
134874
|
+
hooks.push(hook);
|
|
134875
|
+
}
|
|
134876
|
+
function findMap(arr, cb) {
|
|
134877
|
+
if (arr) {
|
|
134878
|
+
for (const el of arr) {
|
|
134879
|
+
const res = cb(el);
|
|
134880
|
+
if (res != null)
|
|
134881
|
+
return res;
|
|
134882
|
+
}
|
|
134883
|
+
}
|
|
134884
|
+
}
|
|
134885
|
+
function makeInvokers(file) {
|
|
134886
|
+
const hooks = file.get(commonJSHooksKey);
|
|
134887
|
+
return {
|
|
134888
|
+
getWrapperPayload(...args) {
|
|
134889
|
+
return findMap(hooks, (hook) => hook.getWrapperPayload == null ? void 0 : hook.getWrapperPayload(...args));
|
|
134890
|
+
},
|
|
134891
|
+
wrapReference(...args) {
|
|
134892
|
+
return findMap(hooks, (hook) => hook.wrapReference == null ? void 0 : hook.wrapReference(...args));
|
|
134893
|
+
},
|
|
134894
|
+
buildRequireWrapper(...args) {
|
|
134895
|
+
return findMap(hooks, (hook) => hook.buildRequireWrapper == null ? void 0 : hook.buildRequireWrapper(...args));
|
|
134896
|
+
}
|
|
134897
|
+
};
|
|
134898
|
+
}
|
|
134899
|
+
}
|
|
134900
|
+
});
|
|
134901
|
+
|
|
134523
134902
|
// ../../node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js
|
|
134524
134903
|
var require_lib32 = __commonJS({
|
|
134525
134904
|
"../../node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"(exports) {
|
|
@@ -134528,11 +134907,19 @@ var require_lib32 = __commonJS({
|
|
|
134528
134907
|
value: true
|
|
134529
134908
|
});
|
|
134530
134909
|
exports.default = void 0;
|
|
134910
|
+
Object.defineProperty(exports, "defineCommonJSHook", {
|
|
134911
|
+
enumerable: true,
|
|
134912
|
+
get: function() {
|
|
134913
|
+
return _hooks.defineCommonJSHook;
|
|
134914
|
+
}
|
|
134915
|
+
});
|
|
134531
134916
|
var _helperPluginUtils = require_lib22();
|
|
134532
134917
|
var _helperModuleTransforms = require_lib18();
|
|
134533
134918
|
var _helperSimpleAccess = require_lib17();
|
|
134534
134919
|
var _core = require_lib34();
|
|
134535
134920
|
var _dynamicImport = require_dynamic_import2();
|
|
134921
|
+
var _lazy = require_lazy();
|
|
134922
|
+
var _hooks = require_hooks();
|
|
134536
134923
|
var _default = (0, _helperPluginUtils.declare)((api, options) => {
|
|
134537
134924
|
var _api$assumption, _api$assumption2, _api$assumption3;
|
|
134538
134925
|
api.assertVersion(7);
|
|
@@ -134629,12 +135016,14 @@ var require_lib32 = __commonJS({
|
|
|
134629
135016
|
name: "transform-modules-commonjs",
|
|
134630
135017
|
pre() {
|
|
134631
135018
|
this.file.set("@babel/plugin-transform-modules-*", "commonjs");
|
|
135019
|
+
if (lazy)
|
|
135020
|
+
(0, _hooks.defineCommonJSHook)(this.file, (0, _lazy.lazyImportsHook)(lazy));
|
|
134632
135021
|
},
|
|
134633
135022
|
visitor: {
|
|
134634
|
-
CallExpression(path15) {
|
|
135023
|
+
["CallExpression" + (api.types.importExpression ? "|ImportExpression" : "")](path15) {
|
|
134635
135024
|
if (!this.file.has("@babel/plugin-proposal-dynamic-import"))
|
|
134636
135025
|
return;
|
|
134637
|
-
if (!_core.types.isImport(path15.node.callee))
|
|
135026
|
+
if (path15.isCallExpression() && !_core.types.isImport(path15.node.callee))
|
|
134638
135027
|
return;
|
|
134639
135028
|
let {
|
|
134640
135029
|
scope
|
|
@@ -134664,6 +135053,7 @@ var require_lib32 = __commonJS({
|
|
|
134664
135053
|
let moduleName = (0, _helperModuleTransforms.getModuleName)(this.file.opts, options);
|
|
134665
135054
|
if (moduleName)
|
|
134666
135055
|
moduleName = _core.types.stringLiteral(moduleName);
|
|
135056
|
+
const hooks = (0, _hooks.makeInvokers)(this.file);
|
|
134667
135057
|
const {
|
|
134668
135058
|
meta,
|
|
134669
135059
|
headers
|
|
@@ -134676,7 +135066,8 @@ var require_lib32 = __commonJS({
|
|
|
134676
135066
|
allowTopLevelThis,
|
|
134677
135067
|
noInterop,
|
|
134678
135068
|
importInterop,
|
|
134679
|
-
|
|
135069
|
+
wrapReference: hooks.wrapReference,
|
|
135070
|
+
getWrapperPayload: hooks.getWrapperPayload,
|
|
134680
135071
|
esNamespaceOnly: typeof state.filename === "string" && /\.mjs$/.test(state.filename) ? mjsStrictNamespace : strictNamespace,
|
|
134681
135072
|
noIncompleteNsImportDetection,
|
|
134682
135073
|
filename: this.file.opts.filename
|
|
@@ -134685,31 +135076,27 @@ var require_lib32 = __commonJS({
|
|
|
134685
135076
|
const loadExpr = _core.types.callExpression(_core.types.identifier("require"), [_core.types.stringLiteral(source)]);
|
|
134686
135077
|
let header;
|
|
134687
135078
|
if ((0, _helperModuleTransforms.isSideEffectImport)(metadata)) {
|
|
134688
|
-
if (metadata.
|
|
135079
|
+
if (lazy && metadata.wrap === "function") {
|
|
134689
135080
|
throw new Error("Assertion failure");
|
|
135081
|
+
}
|
|
134690
135082
|
header = _core.types.expressionStatement(loadExpr);
|
|
134691
135083
|
} else {
|
|
134692
|
-
|
|
134693
|
-
continue;
|
|
134694
|
-
}
|
|
135084
|
+
var _header;
|
|
134695
135085
|
const init2 = (0, _helperModuleTransforms.wrapInterop)(path15, loadExpr, metadata.interop) || loadExpr;
|
|
134696
|
-
if (metadata.
|
|
134697
|
-
|
|
134698
|
-
|
|
134699
|
-
|
|
134700
|
-
|
|
134701
|
-
|
|
134702
|
-
}
|
|
134703
|
-
`;
|
|
134704
|
-
} else {
|
|
134705
|
-
header = _core.template.statement.ast`
|
|
134706
|
-
var ${metadata.name} = ${init2};
|
|
134707
|
-
`;
|
|
135086
|
+
if (metadata.wrap) {
|
|
135087
|
+
const res = hooks.buildRequireWrapper(metadata.name, init2, metadata.wrap, metadata.referenced);
|
|
135088
|
+
if (res === false)
|
|
135089
|
+
continue;
|
|
135090
|
+
else
|
|
135091
|
+
header = res;
|
|
134708
135092
|
}
|
|
135093
|
+
(_header = header) != null ? _header : header = _core.template.statement.ast`
|
|
135094
|
+
var ${metadata.name} = ${init2};
|
|
135095
|
+
`;
|
|
134709
135096
|
}
|
|
134710
135097
|
header.loc = metadata.loc;
|
|
134711
135098
|
headers.push(header);
|
|
134712
|
-
headers.push(...(0, _helperModuleTransforms.buildNamespaceInitStatements)(meta, metadata, constantReexports));
|
|
135099
|
+
headers.push(...(0, _helperModuleTransforms.buildNamespaceInitStatements)(meta, metadata, constantReexports, hooks.wrapReference));
|
|
134713
135100
|
}
|
|
134714
135101
|
(0, _helperModuleTransforms.ensureStatementsHoisted)(headers);
|
|
134715
135102
|
path15.unshiftContainer("body", headers);
|
|
@@ -134759,6 +135146,7 @@ var require_lib33 = __commonJS({
|
|
|
134759
135146
|
jsxPragmaFrag: "jsxPragmaFrag",
|
|
134760
135147
|
onlyRemoveTypeImports: "onlyRemoveTypeImports",
|
|
134761
135148
|
optimizeConstEnums: "optimizeConstEnums",
|
|
135149
|
+
rewriteImportExtensions: "rewriteImportExtensions",
|
|
134762
135150
|
allExtensions: "allExtensions",
|
|
134763
135151
|
isTSX: "isTSX"
|
|
134764
135152
|
};
|
|
@@ -134778,6 +135166,7 @@ var require_lib33 = __commonJS({
|
|
|
134778
135166
|
}
|
|
134779
135167
|
}
|
|
134780
135168
|
const optimizeConstEnums = v.validateBooleanOption(TopLevelOptions.optimizeConstEnums, options.optimizeConstEnums, false);
|
|
135169
|
+
const rewriteImportExtensions = v.validateBooleanOption(TopLevelOptions.rewriteImportExtensions, options.rewriteImportExtensions, false);
|
|
134781
135170
|
const normalized = {
|
|
134782
135171
|
ignoreExtensions,
|
|
134783
135172
|
allowNamespaces,
|
|
@@ -134785,7 +135174,8 @@ var require_lib33 = __commonJS({
|
|
|
134785
135174
|
jsxPragma,
|
|
134786
135175
|
jsxPragmaFrag,
|
|
134787
135176
|
onlyRemoveTypeImports,
|
|
134788
|
-
optimizeConstEnums
|
|
135177
|
+
optimizeConstEnums,
|
|
135178
|
+
rewriteImportExtensions
|
|
134789
135179
|
};
|
|
134790
135180
|
{
|
|
134791
135181
|
normalized.allExtensions = allExtensions;
|
|
@@ -134793,6 +135183,26 @@ var require_lib33 = __commonJS({
|
|
|
134793
135183
|
}
|
|
134794
135184
|
return normalized;
|
|
134795
135185
|
}
|
|
135186
|
+
var pluginRewriteTSImports = helperPluginUtils.declare(function({
|
|
135187
|
+
types: t
|
|
135188
|
+
}) {
|
|
135189
|
+
return {
|
|
135190
|
+
name: "preset-typescript/plugin-rewrite-ts-imports",
|
|
135191
|
+
visitor: {
|
|
135192
|
+
"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"({
|
|
135193
|
+
node
|
|
135194
|
+
}) {
|
|
135195
|
+
const {
|
|
135196
|
+
source
|
|
135197
|
+
} = node;
|
|
135198
|
+
const kind = t.isImportDeclaration(node) ? node.importKind : node.exportKind;
|
|
135199
|
+
if (kind === "value" && source && /[\\/]/.test(source.value)) {
|
|
135200
|
+
source.value = source.value.replace(/(\.[mc]?)ts$/, "$1js");
|
|
135201
|
+
}
|
|
135202
|
+
}
|
|
135203
|
+
}
|
|
135204
|
+
};
|
|
135205
|
+
});
|
|
134796
135206
|
var index = helperPluginUtils.declarePreset((api, opts) => {
|
|
134797
135207
|
api.assertVersion(7);
|
|
134798
135208
|
const {
|
|
@@ -134804,7 +135214,8 @@ var require_lib33 = __commonJS({
|
|
|
134804
135214
|
jsxPragma,
|
|
134805
135215
|
jsxPragmaFrag,
|
|
134806
135216
|
onlyRemoveTypeImports,
|
|
134807
|
-
optimizeConstEnums
|
|
135217
|
+
optimizeConstEnums,
|
|
135218
|
+
rewriteImportExtensions
|
|
134808
135219
|
} = normalizeOptions(opts);
|
|
134809
135220
|
const pluginOptions = (disallowAmbiguousJSXLike2) => ({
|
|
134810
135221
|
allowDeclareFields: opts.allowDeclareFields,
|
|
@@ -134824,6 +135235,7 @@ var require_lib33 = __commonJS({
|
|
|
134824
135235
|
};
|
|
134825
135236
|
const disableExtensionDetect = allExtensions || ignoreExtensions;
|
|
134826
135237
|
return {
|
|
135238
|
+
plugins: rewriteImportExtensions ? [pluginRewriteTSImports] : [],
|
|
134827
135239
|
overrides: disableExtensionDetect ? [{
|
|
134828
135240
|
plugins: getPlugins(isTSX, disallowAmbiguousJSXLike)
|
|
134829
135241
|
}] : [{
|
|
@@ -136916,15 +137328,6 @@ var require_parse7 = __commonJS({
|
|
|
136916
137328
|
var require_lib34 = __commonJS({
|
|
136917
137329
|
"../../node_modules/@babel/core/lib/index.js"(exports) {
|
|
136918
137330
|
"use strict";
|
|
136919
|
-
if (typeof process === "object" && process.version === "v20.6.0") {
|
|
136920
|
-
if (exports["___internal__alreadyRunning"])
|
|
136921
|
-
return;
|
|
136922
|
-
Object.defineProperty(exports, "___internal__alreadyRunning", {
|
|
136923
|
-
value: true,
|
|
136924
|
-
enumerable: false,
|
|
136925
|
-
configurable: true
|
|
136926
|
-
});
|
|
136927
|
-
}
|
|
136928
137331
|
Object.defineProperty(exports, "__esModule", {
|
|
136929
137332
|
value: true
|
|
136930
137333
|
});
|
|
@@ -137148,24 +137551,20 @@ var require_lib34 = __commonJS({
|
|
|
137148
137551
|
var _transformAst = require_transform_ast();
|
|
137149
137552
|
var _parse = require_parse7();
|
|
137150
137553
|
var thisFile = require_lib34();
|
|
137151
|
-
var version = "7.
|
|
137554
|
+
var version = "7.23.0";
|
|
137152
137555
|
exports.version = version;
|
|
137153
137556
|
var DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]);
|
|
137154
137557
|
exports.DEFAULT_EXTENSIONS = DEFAULT_EXTENSIONS;
|
|
137155
137558
|
{
|
|
137156
|
-
{
|
|
137157
|
-
|
|
137158
|
-
|
|
137159
|
-
|
|
137160
|
-
|
|
137161
|
-
|
|
137162
|
-
|
|
137163
|
-
|
|
137164
|
-
};
|
|
137165
|
-
}
|
|
137559
|
+
exports.OptionManager = class OptionManager {
|
|
137560
|
+
init(opts) {
|
|
137561
|
+
return (0, _index2.loadOptionsSync)(opts);
|
|
137562
|
+
}
|
|
137563
|
+
};
|
|
137564
|
+
exports.Plugin = function Plugin(alias) {
|
|
137565
|
+
throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`);
|
|
137566
|
+
};
|
|
137166
137567
|
}
|
|
137167
|
-
if (typeof process === "object" && process.version === "v20.6.0")
|
|
137168
|
-
delete exports["___internal__alreadyRunning"];
|
|
137169
137568
|
}
|
|
137170
137569
|
});
|
|
137171
137570
|
|