@tinacms/mdx 2.1.9 → 2.1.10
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.browser.js +166 -89
- package/dist/index.js +166 -89
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -128,9 +128,9 @@ var require_extend = __commonJS({
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
// ../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.
|
|
131
|
+
// ../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.16.0/node_modules/acorn-jsx/xhtml.js
|
|
132
132
|
var require_xhtml = __commonJS({
|
|
133
|
-
"../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.
|
|
133
|
+
"../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.16.0/node_modules/acorn-jsx/xhtml.js"(exports, module) {
|
|
134
134
|
module.exports = {
|
|
135
135
|
quot: '"',
|
|
136
136
|
amp: "&",
|
|
@@ -389,17 +389,17 @@ var require_xhtml = __commonJS({
|
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
391
|
|
|
392
|
-
// ../../../node_modules/.pnpm/acorn@8.
|
|
392
|
+
// ../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/dist/acorn.js
|
|
393
393
|
var require_acorn = __commonJS({
|
|
394
|
-
"../../../node_modules/.pnpm/acorn@8.
|
|
394
|
+
"../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/dist/acorn.js"(exports, module) {
|
|
395
395
|
(function(global2, factory) {
|
|
396
396
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.acorn = {}));
|
|
397
397
|
})(exports, function(exports2) {
|
|
398
398
|
"use strict";
|
|
399
|
-
var astralIdentifierCodes3 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1,
|
|
400
|
-
var astralIdentifierStartCodes3 = [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, 4, 51, 13, 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,
|
|
401
|
-
var nonASCIIidentifierChars3 = "\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\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\
|
|
402
|
-
var nonASCIIidentifierStartChars3 = "\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-\
|
|
399
|
+
var astralIdentifierCodes3 = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 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, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 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, 199, 7, 137, 9, 54, 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, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 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, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
400
|
+
var astralIdentifierStartCodes3 = [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, 4, 51, 13, 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, 7, 25, 39, 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, 39, 27, 10, 22, 251, 41, 7, 1, 17, 5, 57, 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, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 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, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 24, 43, 261, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 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, 229, 29, 3, 0, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 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, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
|
|
401
|
+
var nonASCIIidentifierChars3 = "\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\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
402
|
+
var nonASCIIidentifierStartChars3 = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
|
|
403
403
|
var reservedWords3 = {
|
|
404
404
|
3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
|
|
405
405
|
5: "class enum extends super const export import",
|
|
@@ -666,7 +666,7 @@ var require_acorn = __commonJS({
|
|
|
666
666
|
// for new syntax features.
|
|
667
667
|
ecmaVersion: null,
|
|
668
668
|
// `sourceType` indicates the mode the code should be parsed in.
|
|
669
|
-
// Can be either `"script"` or `"
|
|
669
|
+
// Can be either `"script"`, `"module"` or `"commonjs"`. This influences global
|
|
670
670
|
// strict mode and parsing of `import` and `export` declarations.
|
|
671
671
|
sourceType: "script",
|
|
672
672
|
// `onInsertedSemicolon` can be a callback that will be called when
|
|
@@ -786,6 +786,9 @@ var require_acorn = __commonJS({
|
|
|
786
786
|
if (isArray3(options.onComment)) {
|
|
787
787
|
options.onComment = pushComment3(options, options.onComment);
|
|
788
788
|
}
|
|
789
|
+
if (options.sourceType === "commonjs" && options.allowAwaitOutsideFunction) {
|
|
790
|
+
throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
|
|
791
|
+
}
|
|
789
792
|
return options;
|
|
790
793
|
}
|
|
791
794
|
function pushComment3(options, array) {
|
|
@@ -805,7 +808,7 @@ var require_acorn = __commonJS({
|
|
|
805
808
|
array.push(comment);
|
|
806
809
|
};
|
|
807
810
|
}
|
|
808
|
-
var SCOPE_TOP3 = 1, SCOPE_FUNCTION3 = 2, SCOPE_ASYNC3 = 4, SCOPE_GENERATOR3 = 8, SCOPE_ARROW3 = 16, SCOPE_SIMPLE_CATCH3 = 32, SCOPE_SUPER3 = 64, SCOPE_DIRECT_SUPER3 = 128, SCOPE_CLASS_STATIC_BLOCK3 = 256, SCOPE_CLASS_FIELD_INIT2 = 512, SCOPE_VAR3 = SCOPE_TOP3 | SCOPE_FUNCTION3 | SCOPE_CLASS_STATIC_BLOCK3;
|
|
811
|
+
var SCOPE_TOP3 = 1, SCOPE_FUNCTION3 = 2, SCOPE_ASYNC3 = 4, SCOPE_GENERATOR3 = 8, SCOPE_ARROW3 = 16, SCOPE_SIMPLE_CATCH3 = 32, SCOPE_SUPER3 = 64, SCOPE_DIRECT_SUPER3 = 128, SCOPE_CLASS_STATIC_BLOCK3 = 256, SCOPE_CLASS_FIELD_INIT2 = 512, SCOPE_SWITCH2 = 1024, SCOPE_VAR3 = SCOPE_TOP3 | SCOPE_FUNCTION3 | SCOPE_CLASS_STATIC_BLOCK3;
|
|
809
812
|
function functionFlags3(async, generator) {
|
|
810
813
|
return SCOPE_FUNCTION3 | (async ? SCOPE_ASYNC3 : 0) | (generator ? SCOPE_GENERATOR3 : 0);
|
|
811
814
|
}
|
|
@@ -854,11 +857,13 @@ var require_acorn = __commonJS({
|
|
|
854
857
|
this.skipLineComment(2);
|
|
855
858
|
}
|
|
856
859
|
this.scopeStack = [];
|
|
857
|
-
this.enterScope(
|
|
860
|
+
this.enterScope(
|
|
861
|
+
this.options.sourceType === "commonjs" ? SCOPE_FUNCTION3 : SCOPE_TOP3
|
|
862
|
+
);
|
|
858
863
|
this.regexpState = null;
|
|
859
864
|
this.privateNameStack = [];
|
|
860
865
|
};
|
|
861
|
-
var prototypeAccessors3 = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
866
|
+
var prototypeAccessors3 = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowReturn: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, allowUsing: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
862
867
|
Parser5.prototype.parse = function parse8() {
|
|
863
868
|
var node2 = this.options.program || this.startNode();
|
|
864
869
|
this.nextToken();
|
|
@@ -886,6 +891,15 @@ var require_acorn = __commonJS({
|
|
|
886
891
|
}
|
|
887
892
|
return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
|
|
888
893
|
};
|
|
894
|
+
prototypeAccessors3.allowReturn.get = function() {
|
|
895
|
+
if (this.inFunction) {
|
|
896
|
+
return true;
|
|
897
|
+
}
|
|
898
|
+
if (this.options.allowReturnOutsideFunction && this.currentVarScope().flags & SCOPE_TOP3) {
|
|
899
|
+
return true;
|
|
900
|
+
}
|
|
901
|
+
return false;
|
|
902
|
+
};
|
|
889
903
|
prototypeAccessors3.allowSuper.get = function() {
|
|
890
904
|
var ref4 = this.currentThisScope();
|
|
891
905
|
var flags = ref4.flags;
|
|
@@ -907,6 +921,17 @@ var require_acorn = __commonJS({
|
|
|
907
921
|
}
|
|
908
922
|
return false;
|
|
909
923
|
};
|
|
924
|
+
prototypeAccessors3.allowUsing.get = function() {
|
|
925
|
+
var ref4 = this.currentScope();
|
|
926
|
+
var flags = ref4.flags;
|
|
927
|
+
if (flags & SCOPE_SWITCH2) {
|
|
928
|
+
return false;
|
|
929
|
+
}
|
|
930
|
+
if (!this.inModule && flags & SCOPE_TOP3) {
|
|
931
|
+
return false;
|
|
932
|
+
}
|
|
933
|
+
return true;
|
|
934
|
+
};
|
|
910
935
|
prototypeAccessors3.inClassStaticBlock.get = function() {
|
|
911
936
|
return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK3) > 0;
|
|
912
937
|
};
|
|
@@ -1077,7 +1102,7 @@ var require_acorn = __commonJS({
|
|
|
1077
1102
|
}
|
|
1078
1103
|
this.adaptDirectivePrologue(node2.body);
|
|
1079
1104
|
this.next();
|
|
1080
|
-
node2.sourceType = this.options.sourceType;
|
|
1105
|
+
node2.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType;
|
|
1081
1106
|
return this.finishNode(node2, "Program");
|
|
1082
1107
|
};
|
|
1083
1108
|
var loopLabel3 = { kind: "loop" }, switchLabel3 = { kind: "switch" };
|
|
@@ -1087,25 +1112,25 @@ var require_acorn = __commonJS({
|
|
|
1087
1112
|
}
|
|
1088
1113
|
skipWhiteSpace3.lastIndex = this.pos;
|
|
1089
1114
|
var skip = skipWhiteSpace3.exec(this.input);
|
|
1090
|
-
var next = this.pos + skip[0].length, nextCh = this.
|
|
1115
|
+
var next = this.pos + skip[0].length, nextCh = this.fullCharCodeAt(next);
|
|
1091
1116
|
if (nextCh === 91 || nextCh === 92) {
|
|
1092
1117
|
return true;
|
|
1093
1118
|
}
|
|
1094
1119
|
if (context) {
|
|
1095
1120
|
return false;
|
|
1096
1121
|
}
|
|
1097
|
-
if (nextCh === 123
|
|
1122
|
+
if (nextCh === 123) {
|
|
1098
1123
|
return true;
|
|
1099
1124
|
}
|
|
1100
|
-
if (isIdentifierStart3(nextCh
|
|
1101
|
-
var
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
}
|
|
1105
|
-
if (nextCh === 92
|
|
1125
|
+
if (isIdentifierStart3(nextCh)) {
|
|
1126
|
+
var start3 = next;
|
|
1127
|
+
do {
|
|
1128
|
+
next += nextCh <= 65535 ? 1 : 2;
|
|
1129
|
+
} while (isIdentifierChar3(nextCh = this.fullCharCodeAt(next)));
|
|
1130
|
+
if (nextCh === 92) {
|
|
1106
1131
|
return true;
|
|
1107
1132
|
}
|
|
1108
|
-
var ident = this.input.slice(
|
|
1133
|
+
var ident = this.input.slice(start3, next);
|
|
1109
1134
|
if (!keywordRelationalOperator3.test(ident)) {
|
|
1110
1135
|
return true;
|
|
1111
1136
|
}
|
|
@@ -1119,7 +1144,7 @@ var require_acorn = __commonJS({
|
|
|
1119
1144
|
skipWhiteSpace3.lastIndex = this.pos;
|
|
1120
1145
|
var skip = skipWhiteSpace3.exec(this.input);
|
|
1121
1146
|
var next = this.pos + skip[0].length, after;
|
|
1122
|
-
return !lineBreak3.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar3(after = this.
|
|
1147
|
+
return !lineBreak3.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar3(after = this.fullCharCodeAt(next + 8)) || after === 92));
|
|
1123
1148
|
};
|
|
1124
1149
|
pp$83.isUsingKeyword = function(isAwaitUsing, isFor) {
|
|
1125
1150
|
if (this.options.ecmaVersion < 17 || !this.isContextual(isAwaitUsing ? "await" : "using")) {
|
|
@@ -1132,26 +1157,33 @@ var require_acorn = __commonJS({
|
|
|
1132
1157
|
return false;
|
|
1133
1158
|
}
|
|
1134
1159
|
if (isAwaitUsing) {
|
|
1135
|
-
var
|
|
1136
|
-
if (this.input.slice(next,
|
|
1160
|
+
var usingEndPos = next + 5, after;
|
|
1161
|
+
if (this.input.slice(next, usingEndPos) !== "using" || usingEndPos === this.input.length || isIdentifierChar3(after = this.fullCharCodeAt(usingEndPos)) || after === 92) {
|
|
1137
1162
|
return false;
|
|
1138
1163
|
}
|
|
1139
|
-
skipWhiteSpace3.lastIndex =
|
|
1164
|
+
skipWhiteSpace3.lastIndex = usingEndPos;
|
|
1140
1165
|
var skipAfterUsing = skipWhiteSpace3.exec(this.input);
|
|
1141
|
-
|
|
1166
|
+
next = usingEndPos + skipAfterUsing[0].length;
|
|
1167
|
+
if (skipAfterUsing && lineBreak3.test(this.input.slice(usingEndPos, next))) {
|
|
1142
1168
|
return false;
|
|
1143
1169
|
}
|
|
1144
1170
|
}
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1171
|
+
var ch = this.fullCharCodeAt(next);
|
|
1172
|
+
if (!isIdentifierStart3(ch) && ch !== 92) {
|
|
1173
|
+
return false;
|
|
1174
|
+
}
|
|
1175
|
+
var idStart = next;
|
|
1176
|
+
do {
|
|
1177
|
+
next += ch <= 65535 ? 1 : 2;
|
|
1178
|
+
} while (isIdentifierChar3(ch = this.fullCharCodeAt(next)));
|
|
1179
|
+
if (ch === 92) {
|
|
1180
|
+
return true;
|
|
1152
1181
|
}
|
|
1153
|
-
var
|
|
1154
|
-
|
|
1182
|
+
var id2 = this.input.slice(idStart, next);
|
|
1183
|
+
if (keywordRelationalOperator3.test(id2) || isFor && id2 === "of") {
|
|
1184
|
+
return false;
|
|
1185
|
+
}
|
|
1186
|
+
return true;
|
|
1155
1187
|
};
|
|
1156
1188
|
pp$83.isAwaitUsing = function(isFor) {
|
|
1157
1189
|
return this.isUsingKeyword(true, isFor);
|
|
@@ -1244,8 +1276,8 @@ var require_acorn = __commonJS({
|
|
|
1244
1276
|
}
|
|
1245
1277
|
var usingKind = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
|
|
1246
1278
|
if (usingKind) {
|
|
1247
|
-
if (
|
|
1248
|
-
this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`");
|
|
1279
|
+
if (!this.allowUsing) {
|
|
1280
|
+
this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");
|
|
1249
1281
|
}
|
|
1250
1282
|
if (usingKind === "await using") {
|
|
1251
1283
|
if (!this.canAwait) {
|
|
@@ -1339,6 +1371,9 @@ var require_acorn = __commonJS({
|
|
|
1339
1371
|
var init$2 = this.startNode();
|
|
1340
1372
|
this.next();
|
|
1341
1373
|
if (usingKind === "await using") {
|
|
1374
|
+
if (!this.canAwait) {
|
|
1375
|
+
this.raise(this.start, "Await using cannot appear outside of async function");
|
|
1376
|
+
}
|
|
1342
1377
|
this.next();
|
|
1343
1378
|
}
|
|
1344
1379
|
this.parseVar(init$2, true, usingKind);
|
|
@@ -1406,7 +1441,7 @@ var require_acorn = __commonJS({
|
|
|
1406
1441
|
return this.finishNode(node2, "IfStatement");
|
|
1407
1442
|
};
|
|
1408
1443
|
pp$83.parseReturnStatement = function(node2) {
|
|
1409
|
-
if (!this.
|
|
1444
|
+
if (!this.allowReturn) {
|
|
1410
1445
|
this.raise(this.start, "'return' outside of function");
|
|
1411
1446
|
}
|
|
1412
1447
|
this.next();
|
|
@@ -1424,7 +1459,7 @@ var require_acorn = __commonJS({
|
|
|
1424
1459
|
node2.cases = [];
|
|
1425
1460
|
this.expect(types$13.braceL);
|
|
1426
1461
|
this.labels.push(switchLabel3);
|
|
1427
|
-
this.enterScope(
|
|
1462
|
+
this.enterScope(SCOPE_SWITCH2);
|
|
1428
1463
|
var cur;
|
|
1429
1464
|
for (var sawDefault = false; this.type !== types$13.braceR; ) {
|
|
1430
1465
|
if (this.type === types$13._case || this.type === types$13._default) {
|
|
@@ -3764,7 +3799,7 @@ var require_acorn = __commonJS({
|
|
|
3764
3799
|
}
|
|
3765
3800
|
return newNode;
|
|
3766
3801
|
};
|
|
3767
|
-
var scriptValuesAddedInUnicode2 = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz";
|
|
3802
|
+
var scriptValuesAddedInUnicode2 = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz";
|
|
3768
3803
|
var ecma9BinaryProperties3 = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";
|
|
3769
3804
|
var ecma10BinaryProperties3 = ecma9BinaryProperties3 + " Extended_Pictographic";
|
|
3770
3805
|
var ecma11BinaryProperties3 = ecma10BinaryProperties3;
|
|
@@ -5182,14 +5217,17 @@ var require_acorn = __commonJS({
|
|
|
5182
5217
|
}
|
|
5183
5218
|
return this.getTokenFromCode(code3);
|
|
5184
5219
|
};
|
|
5185
|
-
pp3.
|
|
5186
|
-
var code3 = this.input.charCodeAt(
|
|
5220
|
+
pp3.fullCharCodeAt = function(pos) {
|
|
5221
|
+
var code3 = this.input.charCodeAt(pos);
|
|
5187
5222
|
if (code3 <= 55295 || code3 >= 56320) {
|
|
5188
5223
|
return code3;
|
|
5189
5224
|
}
|
|
5190
|
-
var next = this.input.charCodeAt(
|
|
5225
|
+
var next = this.input.charCodeAt(pos + 1);
|
|
5191
5226
|
return next <= 56319 || next >= 57344 ? code3 : (code3 << 10) + next - 56613888;
|
|
5192
5227
|
};
|
|
5228
|
+
pp3.fullCharCodeAtPos = function() {
|
|
5229
|
+
return this.fullCharCodeAt(this.pos);
|
|
5230
|
+
};
|
|
5193
5231
|
pp3.skipBlockComment = function() {
|
|
5194
5232
|
var startLoc = this.options.onComment && this.curPosition();
|
|
5195
5233
|
var start3 = this.pos, end = this.input.indexOf("*/", this.pos += 2);
|
|
@@ -5959,7 +5997,7 @@ var require_acorn = __commonJS({
|
|
|
5959
5997
|
}
|
|
5960
5998
|
return this.finishToken(type, word);
|
|
5961
5999
|
};
|
|
5962
|
-
var version3 = "8.
|
|
6000
|
+
var version3 = "8.16.0";
|
|
5963
6001
|
Parser5.acorn = {
|
|
5964
6002
|
Parser: Parser5,
|
|
5965
6003
|
version: version3,
|
|
@@ -6016,9 +6054,9 @@ var require_acorn = __commonJS({
|
|
|
6016
6054
|
}
|
|
6017
6055
|
});
|
|
6018
6056
|
|
|
6019
|
-
// ../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.
|
|
6057
|
+
// ../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.16.0/node_modules/acorn-jsx/index.js
|
|
6020
6058
|
var require_acorn_jsx = __commonJS({
|
|
6021
|
-
"../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.
|
|
6059
|
+
"../../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.16.0/node_modules/acorn-jsx/index.js"(exports, module) {
|
|
6022
6060
|
"use strict";
|
|
6023
6061
|
var XHTMLEntities = require_xhtml();
|
|
6024
6062
|
var hexNumber = /^[\da-fA-F]+$/;
|
|
@@ -18237,11 +18275,11 @@ function remarkGfm(options = {}) {
|
|
|
18237
18275
|
}
|
|
18238
18276
|
}
|
|
18239
18277
|
|
|
18240
|
-
// ../../../node_modules/.pnpm/acorn@8.
|
|
18241
|
-
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, 7, 9, 32, 4, 318, 1,
|
|
18242
|
-
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, 4, 51, 13, 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,
|
|
18243
|
-
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\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\
|
|
18244
|
-
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-\
|
|
18278
|
+
// ../../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/dist/acorn.mjs
|
|
18279
|
+
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, 7, 9, 32, 4, 318, 1, 78, 5, 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, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 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, 199, 7, 137, 9, 54, 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, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 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, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
18280
|
+
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, 4, 51, 13, 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, 7, 25, 39, 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, 39, 27, 10, 22, 251, 41, 7, 1, 17, 5, 57, 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, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 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, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 24, 43, 261, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 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, 229, 29, 3, 0, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 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, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489];
|
|
18281
|
+
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\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65";
|
|
18282
|
+
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-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC";
|
|
18245
18283
|
var reservedWords = {
|
|
18246
18284
|
3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",
|
|
18247
18285
|
5: "class enum extends super const export import",
|
|
@@ -18509,7 +18547,7 @@ var defaultOptions = {
|
|
|
18509
18547
|
// for new syntax features.
|
|
18510
18548
|
ecmaVersion: null,
|
|
18511
18549
|
// `sourceType` indicates the mode the code should be parsed in.
|
|
18512
|
-
// Can be either `"script"` or `"
|
|
18550
|
+
// Can be either `"script"`, `"module"` or `"commonjs"`. This influences global
|
|
18513
18551
|
// strict mode and parsing of `import` and `export` declarations.
|
|
18514
18552
|
sourceType: "script",
|
|
18515
18553
|
// `onInsertedSemicolon` can be a callback that will be called when
|
|
@@ -18629,6 +18667,9 @@ function getOptions(opts) {
|
|
|
18629
18667
|
if (isArray(options.onComment)) {
|
|
18630
18668
|
options.onComment = pushComment(options, options.onComment);
|
|
18631
18669
|
}
|
|
18670
|
+
if (options.sourceType === "commonjs" && options.allowAwaitOutsideFunction) {
|
|
18671
|
+
throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");
|
|
18672
|
+
}
|
|
18632
18673
|
return options;
|
|
18633
18674
|
}
|
|
18634
18675
|
function pushComment(options, array) {
|
|
@@ -18658,6 +18699,7 @@ var SCOPE_SUPER = 64;
|
|
|
18658
18699
|
var SCOPE_DIRECT_SUPER = 128;
|
|
18659
18700
|
var SCOPE_CLASS_STATIC_BLOCK = 256;
|
|
18660
18701
|
var SCOPE_CLASS_FIELD_INIT = 512;
|
|
18702
|
+
var SCOPE_SWITCH = 1024;
|
|
18661
18703
|
var SCOPE_VAR = SCOPE_TOP | SCOPE_FUNCTION | SCOPE_CLASS_STATIC_BLOCK;
|
|
18662
18704
|
function functionFlags(async, generator) {
|
|
18663
18705
|
return SCOPE_FUNCTION | (async ? SCOPE_ASYNC : 0) | (generator ? SCOPE_GENERATOR : 0);
|
|
@@ -18712,11 +18754,13 @@ var Parser = function Parser2(options, input, startPos) {
|
|
|
18712
18754
|
this.skipLineComment(2);
|
|
18713
18755
|
}
|
|
18714
18756
|
this.scopeStack = [];
|
|
18715
|
-
this.enterScope(
|
|
18757
|
+
this.enterScope(
|
|
18758
|
+
this.options.sourceType === "commonjs" ? SCOPE_FUNCTION : SCOPE_TOP
|
|
18759
|
+
);
|
|
18716
18760
|
this.regexpState = null;
|
|
18717
18761
|
this.privateNameStack = [];
|
|
18718
18762
|
};
|
|
18719
|
-
var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
18763
|
+
var prototypeAccessors = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowReturn: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, allowUsing: { configurable: true }, inClassStaticBlock: { configurable: true } };
|
|
18720
18764
|
Parser.prototype.parse = function parse2() {
|
|
18721
18765
|
var node2 = this.options.program || this.startNode();
|
|
18722
18766
|
this.nextToken();
|
|
@@ -18744,6 +18788,15 @@ prototypeAccessors.canAwait.get = function() {
|
|
|
18744
18788
|
}
|
|
18745
18789
|
return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
|
|
18746
18790
|
};
|
|
18791
|
+
prototypeAccessors.allowReturn.get = function() {
|
|
18792
|
+
if (this.inFunction) {
|
|
18793
|
+
return true;
|
|
18794
|
+
}
|
|
18795
|
+
if (this.options.allowReturnOutsideFunction && this.currentVarScope().flags & SCOPE_TOP) {
|
|
18796
|
+
return true;
|
|
18797
|
+
}
|
|
18798
|
+
return false;
|
|
18799
|
+
};
|
|
18747
18800
|
prototypeAccessors.allowSuper.get = function() {
|
|
18748
18801
|
var ref3 = this.currentThisScope();
|
|
18749
18802
|
var flags = ref3.flags;
|
|
@@ -18765,6 +18818,17 @@ prototypeAccessors.allowNewDotTarget.get = function() {
|
|
|
18765
18818
|
}
|
|
18766
18819
|
return false;
|
|
18767
18820
|
};
|
|
18821
|
+
prototypeAccessors.allowUsing.get = function() {
|
|
18822
|
+
var ref3 = this.currentScope();
|
|
18823
|
+
var flags = ref3.flags;
|
|
18824
|
+
if (flags & SCOPE_SWITCH) {
|
|
18825
|
+
return false;
|
|
18826
|
+
}
|
|
18827
|
+
if (!this.inModule && flags & SCOPE_TOP) {
|
|
18828
|
+
return false;
|
|
18829
|
+
}
|
|
18830
|
+
return true;
|
|
18831
|
+
};
|
|
18768
18832
|
prototypeAccessors.inClassStaticBlock.get = function() {
|
|
18769
18833
|
return (this.currentVarScope().flags & SCOPE_CLASS_STATIC_BLOCK) > 0;
|
|
18770
18834
|
};
|
|
@@ -18935,7 +18999,7 @@ pp$8.parseTopLevel = function(node2) {
|
|
|
18935
18999
|
}
|
|
18936
19000
|
this.adaptDirectivePrologue(node2.body);
|
|
18937
19001
|
this.next();
|
|
18938
|
-
node2.sourceType = this.options.sourceType;
|
|
19002
|
+
node2.sourceType = this.options.sourceType === "commonjs" ? "script" : this.options.sourceType;
|
|
18939
19003
|
return this.finishNode(node2, "Program");
|
|
18940
19004
|
};
|
|
18941
19005
|
var loopLabel = { kind: "loop" };
|
|
@@ -18946,25 +19010,25 @@ pp$8.isLet = function(context) {
|
|
|
18946
19010
|
}
|
|
18947
19011
|
skipWhiteSpace.lastIndex = this.pos;
|
|
18948
19012
|
var skip = skipWhiteSpace.exec(this.input);
|
|
18949
|
-
var next = this.pos + skip[0].length, nextCh = this.
|
|
19013
|
+
var next = this.pos + skip[0].length, nextCh = this.fullCharCodeAt(next);
|
|
18950
19014
|
if (nextCh === 91 || nextCh === 92) {
|
|
18951
19015
|
return true;
|
|
18952
19016
|
}
|
|
18953
19017
|
if (context) {
|
|
18954
19018
|
return false;
|
|
18955
19019
|
}
|
|
18956
|
-
if (nextCh === 123
|
|
19020
|
+
if (nextCh === 123) {
|
|
18957
19021
|
return true;
|
|
18958
19022
|
}
|
|
18959
|
-
if (isIdentifierStart(nextCh
|
|
18960
|
-
var
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
}
|
|
18964
|
-
if (nextCh === 92
|
|
19023
|
+
if (isIdentifierStart(nextCh)) {
|
|
19024
|
+
var start3 = next;
|
|
19025
|
+
do {
|
|
19026
|
+
next += nextCh <= 65535 ? 1 : 2;
|
|
19027
|
+
} while (isIdentifierChar(nextCh = this.fullCharCodeAt(next)));
|
|
19028
|
+
if (nextCh === 92) {
|
|
18965
19029
|
return true;
|
|
18966
19030
|
}
|
|
18967
|
-
var ident = this.input.slice(
|
|
19031
|
+
var ident = this.input.slice(start3, next);
|
|
18968
19032
|
if (!keywordRelationalOperator.test(ident)) {
|
|
18969
19033
|
return true;
|
|
18970
19034
|
}
|
|
@@ -18978,7 +19042,7 @@ pp$8.isAsyncFunction = function() {
|
|
|
18978
19042
|
skipWhiteSpace.lastIndex = this.pos;
|
|
18979
19043
|
var skip = skipWhiteSpace.exec(this.input);
|
|
18980
19044
|
var next = this.pos + skip[0].length, after;
|
|
18981
|
-
return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.
|
|
19045
|
+
return !lineBreak.test(this.input.slice(this.pos, next)) && this.input.slice(next, next + 8) === "function" && (next + 8 === this.input.length || !(isIdentifierChar(after = this.fullCharCodeAt(next + 8)) || after === 92));
|
|
18982
19046
|
};
|
|
18983
19047
|
pp$8.isUsingKeyword = function(isAwaitUsing, isFor) {
|
|
18984
19048
|
if (this.options.ecmaVersion < 17 || !this.isContextual(isAwaitUsing ? "await" : "using")) {
|
|
@@ -18991,26 +19055,33 @@ pp$8.isUsingKeyword = function(isAwaitUsing, isFor) {
|
|
|
18991
19055
|
return false;
|
|
18992
19056
|
}
|
|
18993
19057
|
if (isAwaitUsing) {
|
|
18994
|
-
var
|
|
18995
|
-
if (this.input.slice(next,
|
|
19058
|
+
var usingEndPos = next + 5, after;
|
|
19059
|
+
if (this.input.slice(next, usingEndPos) !== "using" || usingEndPos === this.input.length || isIdentifierChar(after = this.fullCharCodeAt(usingEndPos)) || after === 92) {
|
|
18996
19060
|
return false;
|
|
18997
19061
|
}
|
|
18998
|
-
skipWhiteSpace.lastIndex =
|
|
19062
|
+
skipWhiteSpace.lastIndex = usingEndPos;
|
|
18999
19063
|
var skipAfterUsing = skipWhiteSpace.exec(this.input);
|
|
19000
|
-
|
|
19064
|
+
next = usingEndPos + skipAfterUsing[0].length;
|
|
19065
|
+
if (skipAfterUsing && lineBreak.test(this.input.slice(usingEndPos, next))) {
|
|
19001
19066
|
return false;
|
|
19002
19067
|
}
|
|
19003
19068
|
}
|
|
19004
|
-
|
|
19005
|
-
|
|
19006
|
-
|
|
19007
|
-
|
|
19008
|
-
|
|
19009
|
-
|
|
19010
|
-
|
|
19069
|
+
var ch = this.fullCharCodeAt(next);
|
|
19070
|
+
if (!isIdentifierStart(ch) && ch !== 92) {
|
|
19071
|
+
return false;
|
|
19072
|
+
}
|
|
19073
|
+
var idStart = next;
|
|
19074
|
+
do {
|
|
19075
|
+
next += ch <= 65535 ? 1 : 2;
|
|
19076
|
+
} while (isIdentifierChar(ch = this.fullCharCodeAt(next)));
|
|
19077
|
+
if (ch === 92) {
|
|
19078
|
+
return true;
|
|
19079
|
+
}
|
|
19080
|
+
var id2 = this.input.slice(idStart, next);
|
|
19081
|
+
if (keywordRelationalOperator.test(id2) || isFor && id2 === "of") {
|
|
19082
|
+
return false;
|
|
19011
19083
|
}
|
|
19012
|
-
|
|
19013
|
-
return isIdentifierStart(ch, true) || ch === 92;
|
|
19084
|
+
return true;
|
|
19014
19085
|
};
|
|
19015
19086
|
pp$8.isAwaitUsing = function(isFor) {
|
|
19016
19087
|
return this.isUsingKeyword(true, isFor);
|
|
@@ -19103,8 +19174,8 @@ pp$8.parseStatement = function(context, topLevel, exports) {
|
|
|
19103
19174
|
}
|
|
19104
19175
|
var usingKind = this.isAwaitUsing(false) ? "await using" : this.isUsing(false) ? "using" : null;
|
|
19105
19176
|
if (usingKind) {
|
|
19106
|
-
if (
|
|
19107
|
-
this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`");
|
|
19177
|
+
if (!this.allowUsing) {
|
|
19178
|
+
this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");
|
|
19108
19179
|
}
|
|
19109
19180
|
if (usingKind === "await using") {
|
|
19110
19181
|
if (!this.canAwait) {
|
|
@@ -19198,6 +19269,9 @@ pp$8.parseForStatement = function(node2) {
|
|
|
19198
19269
|
var init$2 = this.startNode();
|
|
19199
19270
|
this.next();
|
|
19200
19271
|
if (usingKind === "await using") {
|
|
19272
|
+
if (!this.canAwait) {
|
|
19273
|
+
this.raise(this.start, "Await using cannot appear outside of async function");
|
|
19274
|
+
}
|
|
19201
19275
|
this.next();
|
|
19202
19276
|
}
|
|
19203
19277
|
this.parseVar(init$2, true, usingKind);
|
|
@@ -19265,7 +19339,7 @@ pp$8.parseIfStatement = function(node2) {
|
|
|
19265
19339
|
return this.finishNode(node2, "IfStatement");
|
|
19266
19340
|
};
|
|
19267
19341
|
pp$8.parseReturnStatement = function(node2) {
|
|
19268
|
-
if (!this.
|
|
19342
|
+
if (!this.allowReturn) {
|
|
19269
19343
|
this.raise(this.start, "'return' outside of function");
|
|
19270
19344
|
}
|
|
19271
19345
|
this.next();
|
|
@@ -19283,7 +19357,7 @@ pp$8.parseSwitchStatement = function(node2) {
|
|
|
19283
19357
|
node2.cases = [];
|
|
19284
19358
|
this.expect(types$1.braceL);
|
|
19285
19359
|
this.labels.push(switchLabel);
|
|
19286
|
-
this.enterScope(
|
|
19360
|
+
this.enterScope(SCOPE_SWITCH);
|
|
19287
19361
|
var cur;
|
|
19288
19362
|
for (var sawDefault = false; this.type !== types$1.braceR; ) {
|
|
19289
19363
|
if (this.type === types$1._case || this.type === types$1._default) {
|
|
@@ -21625,7 +21699,7 @@ pp$2.copyNode = function(node2) {
|
|
|
21625
21699
|
}
|
|
21626
21700
|
return newNode;
|
|
21627
21701
|
};
|
|
21628
|
-
var scriptValuesAddedInUnicode = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz";
|
|
21702
|
+
var scriptValuesAddedInUnicode = "Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz";
|
|
21629
21703
|
var ecma9BinaryProperties = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";
|
|
21630
21704
|
var ecma10BinaryProperties = ecma9BinaryProperties + " Extended_Pictographic";
|
|
21631
21705
|
var ecma11BinaryProperties = ecma10BinaryProperties;
|
|
@@ -23046,14 +23120,17 @@ pp.readToken = function(code3) {
|
|
|
23046
23120
|
}
|
|
23047
23121
|
return this.getTokenFromCode(code3);
|
|
23048
23122
|
};
|
|
23049
|
-
pp.
|
|
23050
|
-
var code3 = this.input.charCodeAt(
|
|
23123
|
+
pp.fullCharCodeAt = function(pos) {
|
|
23124
|
+
var code3 = this.input.charCodeAt(pos);
|
|
23051
23125
|
if (code3 <= 55295 || code3 >= 56320) {
|
|
23052
23126
|
return code3;
|
|
23053
23127
|
}
|
|
23054
|
-
var next = this.input.charCodeAt(
|
|
23128
|
+
var next = this.input.charCodeAt(pos + 1);
|
|
23055
23129
|
return next <= 56319 || next >= 57344 ? code3 : (code3 << 10) + next - 56613888;
|
|
23056
23130
|
};
|
|
23131
|
+
pp.fullCharCodeAtPos = function() {
|
|
23132
|
+
return this.fullCharCodeAt(this.pos);
|
|
23133
|
+
};
|
|
23057
23134
|
pp.skipBlockComment = function() {
|
|
23058
23135
|
var startLoc = this.options.onComment && this.curPosition();
|
|
23059
23136
|
var start3 = this.pos, end = this.input.indexOf("*/", this.pos += 2);
|
|
@@ -23823,7 +23900,7 @@ pp.readWord = function() {
|
|
|
23823
23900
|
}
|
|
23824
23901
|
return this.finishToken(type, word);
|
|
23825
23902
|
};
|
|
23826
|
-
var version = "8.
|
|
23903
|
+
var version = "8.16.0";
|
|
23827
23904
|
Parser.acorn = {
|
|
23828
23905
|
Parser,
|
|
23829
23906
|
version,
|
|
@@ -50685,7 +50762,7 @@ var remarkToSlate = (root2, field, imageCallback, raw, skipMDXProcess) => {
|
|
|
50685
50762
|
};
|
|
50686
50763
|
}),
|
|
50687
50764
|
props: {
|
|
50688
|
-
align: content4.align?.
|
|
50765
|
+
align: content4.align?.some((item) => !!item) ? content4.align : []
|
|
50689
50766
|
}
|
|
50690
50767
|
};
|
|
50691
50768
|
}
|