@storybook/addon-docs 10.2.0-alpha.0 → 10.2.0-alpha.2
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/_browser-chunks/{Color-ASIRERSW.js → Color-O2RRNL2I.js} +11 -67
- package/dist/_browser-chunks/{chunk-DDRHE7EB.js → chunk-AAVP3AE4.js} +10 -10
- package/dist/_browser-chunks/chunk-FYME3FCW.js +209 -0
- package/dist/_node-chunks/{chunk-EDAZHJNF.js → chunk-A36BWZ7F.js} +10 -10
- package/dist/_node-chunks/{chunk-4VU572SL.js → chunk-CUVES73C.js} +10 -10
- package/dist/_node-chunks/{chunk-MMAWRUWA.js → chunk-DMMP3S2I.js} +6 -6
- package/dist/_node-chunks/{chunk-FSMTZVJJ.js → chunk-VNOIWML5.js} +762 -762
- package/dist/_node-chunks/{mdx-plugin-YZJA3WDA.js → mdx-plugin-A7UMKD7O.js} +24 -24
- package/dist/_node-chunks/{rehype-external-links-3FOX5D2V.js → rehype-external-links-MNLSOFUX.js} +12 -12
- package/dist/_node-chunks/{rehype-slug-ZMVENDZQ.js → rehype-slug-ECLIOYN6.js} +13 -13
- package/dist/blocks.js +4510 -329
- package/dist/manager.js +1 -1
- package/dist/mdx-loader.js +10 -10
- package/dist/preset.js +11 -11
- package/package.json +4 -8
- package/dist/_browser-chunks/chunk-CYSK6WYR.js +0 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_va7slxkg4al from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_va7slxkg4al from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_va7slxkg4al from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_va7slxkg4al.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_va7slxkg4al.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_va7slxkg4al.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -12,19 +12,19 @@ var require = CJS_COMPAT_NODE_MODULE_tzyp0zo9t5.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
esm_default,
|
|
14
14
|
stringify
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-A36BWZ7F.js";
|
|
16
16
|
import {
|
|
17
17
|
visit
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CUVES73C.js";
|
|
19
19
|
import {
|
|
20
20
|
__commonJS,
|
|
21
21
|
__export,
|
|
22
22
|
__toESM
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DMMP3S2I.js";
|
|
24
24
|
|
|
25
|
-
//
|
|
25
|
+
// ../../../node_modules/@mdx-js/mdx/node_modules/acorn-jsx/xhtml.js
|
|
26
26
|
var require_xhtml = __commonJS({
|
|
27
|
-
"
|
|
27
|
+
"../../../node_modules/@mdx-js/mdx/node_modules/acorn-jsx/xhtml.js"(exports, module) {
|
|
28
28
|
module.exports = {
|
|
29
29
|
quot: '"',
|
|
30
30
|
amp: "&",
|
|
@@ -283,9 +283,9 @@ var require_xhtml = __commonJS({
|
|
|
283
283
|
}
|
|
284
284
|
});
|
|
285
285
|
|
|
286
|
-
//
|
|
286
|
+
// ../../../node_modules/@mdx-js/mdx/node_modules/acorn/dist/acorn.js
|
|
287
287
|
var require_acorn = __commonJS({
|
|
288
|
-
"
|
|
288
|
+
"../../../node_modules/@mdx-js/mdx/node_modules/acorn/dist/acorn.js"(exports, module) {
|
|
289
289
|
(function(global, factory) {
|
|
290
290
|
typeof exports == "object" && typeof module < "u" ? factory(exports) : typeof define == "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis < "u" ? globalThis : global || self, factory(global.acorn = {}));
|
|
291
291
|
})(exports, (function(exports2) {
|
|
@@ -3165,9 +3165,9 @@ Defaulting to 2020, but this will stop working in the future.`)), options.ecmaVe
|
|
|
3165
3165
|
}
|
|
3166
3166
|
});
|
|
3167
3167
|
|
|
3168
|
-
//
|
|
3168
|
+
// ../../../node_modules/@mdx-js/mdx/node_modules/acorn-jsx/index.js
|
|
3169
3169
|
var require_acorn_jsx = __commonJS({
|
|
3170
|
-
"
|
|
3170
|
+
"../../../node_modules/@mdx-js/mdx/node_modules/acorn-jsx/index.js"(exports, module) {
|
|
3171
3171
|
"use strict";
|
|
3172
3172
|
var XHTMLEntities = require_xhtml(), hexNumber = /^[\da-fA-F]+$/, decimalNumber = /^\d+$/, acornJsxMap = /* @__PURE__ */ new WeakMap();
|
|
3173
3173
|
function getJsxTokens(acorn) {
|
|
@@ -3430,9 +3430,9 @@ var require_acorn_jsx = __commonJS({
|
|
|
3430
3430
|
}
|
|
3431
3431
|
});
|
|
3432
3432
|
|
|
3433
|
-
//
|
|
3433
|
+
// ../../../node_modules/inline-style-parser/cjs/index.js
|
|
3434
3434
|
var require_cjs = __commonJS({
|
|
3435
|
-
"
|
|
3435
|
+
"../../../node_modules/inline-style-parser/cjs/index.js"(exports, module) {
|
|
3436
3436
|
"use strict";
|
|
3437
3437
|
var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, NEWLINE_REGEX = /\n/g, WHITESPACE_REGEX = /^\s*/, PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, COLON_REGEX = /^:\s*/, VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, SEMICOLON_REGEX = /^[;\s]*/, TRIM_REGEX = /^\s+|\s+$/g, NEWLINE = `
|
|
3438
3438
|
`, FORWARD_SLASH = "/", ASTERISK = "*", EMPTY_STRING = "", TYPE_COMMENT = "comment", TYPE_DECLARATION = "declaration";
|
|
@@ -3522,9 +3522,9 @@ var require_cjs = __commonJS({
|
|
|
3522
3522
|
}
|
|
3523
3523
|
});
|
|
3524
3524
|
|
|
3525
|
-
//
|
|
3525
|
+
// ../../../node_modules/style-to-object/cjs/index.js
|
|
3526
3526
|
var require_cjs2 = __commonJS({
|
|
3527
|
-
"
|
|
3527
|
+
"../../../node_modules/style-to-object/cjs/index.js"(exports) {
|
|
3528
3528
|
"use strict";
|
|
3529
3529
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
3530
3530
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -3547,9 +3547,9 @@ var require_cjs2 = __commonJS({
|
|
|
3547
3547
|
}
|
|
3548
3548
|
});
|
|
3549
3549
|
|
|
3550
|
-
//
|
|
3550
|
+
// ../../../node_modules/style-to-js/cjs/utilities.js
|
|
3551
3551
|
var require_utilities = __commonJS({
|
|
3552
|
-
"
|
|
3552
|
+
"../../../node_modules/style-to-js/cjs/utilities.js"(exports) {
|
|
3553
3553
|
"use strict";
|
|
3554
3554
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
3555
3555
|
exports.camelCase = void 0;
|
|
@@ -3566,9 +3566,9 @@ var require_utilities = __commonJS({
|
|
|
3566
3566
|
}
|
|
3567
3567
|
});
|
|
3568
3568
|
|
|
3569
|
-
//
|
|
3569
|
+
// ../../../node_modules/style-to-js/cjs/index.js
|
|
3570
3570
|
var require_cjs3 = __commonJS({
|
|
3571
|
-
"
|
|
3571
|
+
"../../../node_modules/style-to-js/cjs/index.js"(exports, module) {
|
|
3572
3572
|
"use strict";
|
|
3573
3573
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
3574
3574
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
@@ -3584,9 +3584,9 @@ var require_cjs3 = __commonJS({
|
|
|
3584
3584
|
}
|
|
3585
3585
|
});
|
|
3586
3586
|
|
|
3587
|
-
//
|
|
3587
|
+
// ../../../node_modules/micromark-extension-mdxjs/node_modules/acorn-jsx/xhtml.js
|
|
3588
3588
|
var require_xhtml2 = __commonJS({
|
|
3589
|
-
"
|
|
3589
|
+
"../../../node_modules/micromark-extension-mdxjs/node_modules/acorn-jsx/xhtml.js"(exports, module) {
|
|
3590
3590
|
module.exports = {
|
|
3591
3591
|
quot: '"',
|
|
3592
3592
|
amp: "&",
|
|
@@ -3845,9 +3845,9 @@ var require_xhtml2 = __commonJS({
|
|
|
3845
3845
|
}
|
|
3846
3846
|
});
|
|
3847
3847
|
|
|
3848
|
-
//
|
|
3848
|
+
// ../../../node_modules/micromark-extension-mdxjs/node_modules/acorn/dist/acorn.js
|
|
3849
3849
|
var require_acorn2 = __commonJS({
|
|
3850
|
-
"
|
|
3850
|
+
"../../../node_modules/micromark-extension-mdxjs/node_modules/acorn/dist/acorn.js"(exports, module) {
|
|
3851
3851
|
(function(global, factory) {
|
|
3852
3852
|
typeof exports == "object" && typeof module < "u" ? factory(exports) : typeof define == "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis < "u" ? globalThis : global || self, factory(global.acorn = {}));
|
|
3853
3853
|
})(exports, (function(exports2) {
|
|
@@ -6727,9 +6727,9 @@ Defaulting to 2020, but this will stop working in the future.`)), options.ecmaVe
|
|
|
6727
6727
|
}
|
|
6728
6728
|
});
|
|
6729
6729
|
|
|
6730
|
-
//
|
|
6730
|
+
// ../../../node_modules/micromark-extension-mdxjs/node_modules/acorn-jsx/index.js
|
|
6731
6731
|
var require_acorn_jsx2 = __commonJS({
|
|
6732
|
-
"
|
|
6732
|
+
"../../../node_modules/micromark-extension-mdxjs/node_modules/acorn-jsx/index.js"(exports, module) {
|
|
6733
6733
|
"use strict";
|
|
6734
6734
|
var XHTMLEntities = require_xhtml2(), hexNumber = /^[\da-fA-F]+$/, decimalNumber = /^\d+$/, acornJsxMap = /* @__PURE__ */ new WeakMap();
|
|
6735
6735
|
function getJsxTokens(acorn) {
|
|
@@ -6992,9 +6992,9 @@ var require_acorn_jsx2 = __commonJS({
|
|
|
6992
6992
|
}
|
|
6993
6993
|
});
|
|
6994
6994
|
|
|
6995
|
-
//
|
|
6995
|
+
// ../../../node_modules/extend/index.js
|
|
6996
6996
|
var require_extend = __commonJS({
|
|
6997
|
-
"
|
|
6997
|
+
"../../../node_modules/extend/index.js"(exports, module) {
|
|
6998
6998
|
"use strict";
|
|
6999
6999
|
var hasOwn2 = Object.prototype.hasOwnProperty, toStr = Object.prototype.toString, defineProperty = Object.defineProperty, gOPD = Object.getOwnPropertyDescriptor, isArray2 = function(arr) {
|
|
7000
7000
|
return typeof Array.isArray == "function" ? Array.isArray(arr) : toStr.call(arr) === "[object Array]";
|
|
@@ -7034,7 +7034,7 @@ var require_extend = __commonJS({
|
|
|
7034
7034
|
}
|
|
7035
7035
|
});
|
|
7036
7036
|
|
|
7037
|
-
//
|
|
7037
|
+
// ../../../node_modules/unist-util-stringify-position/lib/index.js
|
|
7038
7038
|
function stringifyPosition(value) {
|
|
7039
7039
|
return !value || typeof value != "object" ? "" : "position" in value || "type" in value ? position(value.position) : "start" in value || "end" in value ? position(value) : "line" in value || "column" in value ? point(value) : "";
|
|
7040
7040
|
}
|
|
@@ -7048,7 +7048,7 @@ function index(value) {
|
|
|
7048
7048
|
return value && typeof value == "number" ? value : 1;
|
|
7049
7049
|
}
|
|
7050
7050
|
|
|
7051
|
-
//
|
|
7051
|
+
// ../../../node_modules/vfile-message/lib/index.js
|
|
7052
7052
|
var VFileMessage = class extends Error {
|
|
7053
7053
|
/**
|
|
7054
7054
|
* Create a message for `reason`.
|
|
@@ -7137,22 +7137,22 @@ VFileMessage.prototype.place = void 0;
|
|
|
7137
7137
|
VFileMessage.prototype.ruleId = void 0;
|
|
7138
7138
|
VFileMessage.prototype.source = void 0;
|
|
7139
7139
|
|
|
7140
|
-
//
|
|
7140
|
+
// ../../../node_modules/vfile/lib/minpath.js
|
|
7141
7141
|
import { default as default2 } from "node:path";
|
|
7142
7142
|
|
|
7143
|
-
//
|
|
7143
|
+
// ../../../node_modules/vfile/lib/minproc.js
|
|
7144
7144
|
import { default as default3 } from "node:process";
|
|
7145
7145
|
|
|
7146
|
-
//
|
|
7146
|
+
// ../../../node_modules/vfile/lib/minurl.js
|
|
7147
7147
|
import { fileURLToPath } from "node:url";
|
|
7148
7148
|
|
|
7149
|
-
//
|
|
7149
|
+
// ../../../node_modules/vfile/lib/minurl.shared.js
|
|
7150
7150
|
function isUrl(fileUrlOrPath) {
|
|
7151
7151
|
return !!(fileUrlOrPath !== null && typeof fileUrlOrPath == "object" && "href" in fileUrlOrPath && fileUrlOrPath.href && "protocol" in fileUrlOrPath && fileUrlOrPath.protocol && // @ts-expect-error: indexing is fine.
|
|
7152
7152
|
fileUrlOrPath.auth === void 0);
|
|
7153
7153
|
}
|
|
7154
7154
|
|
|
7155
|
-
//
|
|
7155
|
+
// ../../../node_modules/vfile/lib/index.js
|
|
7156
7156
|
var order = (
|
|
7157
7157
|
/** @type {const} */
|
|
7158
7158
|
[
|
|
@@ -7551,7 +7551,7 @@ function isUint8Array(value) {
|
|
|
7551
7551
|
return !!(value && typeof value == "object" && "byteLength" in value && "byteOffset" in value);
|
|
7552
7552
|
}
|
|
7553
7553
|
|
|
7554
|
-
//
|
|
7554
|
+
// ../../../node_modules/markdown-extensions/index.js
|
|
7555
7555
|
var markdownExtension = [
|
|
7556
7556
|
"md",
|
|
7557
7557
|
"markdown",
|
|
@@ -7563,12 +7563,12 @@ var markdownExtension = [
|
|
|
7563
7563
|
"ron"
|
|
7564
7564
|
], markdown_extensions_default = markdownExtension;
|
|
7565
7565
|
|
|
7566
|
-
//
|
|
7566
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/extnames.js
|
|
7567
7567
|
var md = markdown_extensions_default.map(function(d) {
|
|
7568
7568
|
return "." + d;
|
|
7569
7569
|
});
|
|
7570
7570
|
|
|
7571
|
-
//
|
|
7571
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/resolve-file-and-options.js
|
|
7572
7572
|
function resolveFileAndOptions(vfileCompatible, options) {
|
|
7573
7573
|
let file = looksLikeAVFile(vfileCompatible) ? vfileCompatible : new VFile(vfileCompatible), { format, ...rest } = options || {};
|
|
7574
7574
|
return {
|
|
@@ -7583,7 +7583,7 @@ function looksLikeAVFile(value) {
|
|
|
7583
7583
|
return !!(value && typeof value == "object" && "message" in value && "messages" in value);
|
|
7584
7584
|
}
|
|
7585
7585
|
|
|
7586
|
-
//
|
|
7586
|
+
// ../../../node_modules/estree-util-is-identifier-name/lib/index.js
|
|
7587
7587
|
var startRe = /[$_\p{ID_Start}]/u, contRe = /[$_\u{200C}\u{200D}\p{ID_Continue}]/u, contReJsx = /[-$_\u{200C}\u{200D}\p{ID_Continue}]/u, nameRe = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, nameReJsx = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, emptyOptions = {};
|
|
7588
7588
|
function start(code2) {
|
|
7589
7589
|
return code2 ? startRe.test(String.fromCodePoint(code2)) : !1;
|
|
@@ -7596,7 +7596,7 @@ function name(name2, options) {
|
|
|
7596
7596
|
return ((options || emptyOptions).jsx ? nameReJsx : nameRe).test(name2);
|
|
7597
7597
|
}
|
|
7598
7598
|
|
|
7599
|
-
//
|
|
7599
|
+
// ../../../node_modules/estree-walker/src/walker.js
|
|
7600
7600
|
var WalkerBase = class {
|
|
7601
7601
|
constructor() {
|
|
7602
7602
|
this.should_skip = !1, this.should_remove = !1, this.replacement = null, this.context = {
|
|
@@ -7626,7 +7626,7 @@ var WalkerBase = class {
|
|
|
7626
7626
|
}
|
|
7627
7627
|
};
|
|
7628
7628
|
|
|
7629
|
-
//
|
|
7629
|
+
// ../../../node_modules/estree-walker/src/sync.js
|
|
7630
7630
|
var SyncWalker = class extends WalkerBase {
|
|
7631
7631
|
/**
|
|
7632
7632
|
*
|
|
@@ -7686,12 +7686,12 @@ function isNode(value) {
|
|
|
7686
7686
|
return value !== null && typeof value == "object" && "type" in value && typeof value.type == "string";
|
|
7687
7687
|
}
|
|
7688
7688
|
|
|
7689
|
-
//
|
|
7689
|
+
// ../../../node_modules/estree-walker/src/index.js
|
|
7690
7690
|
function walk(ast, { enter, leave }) {
|
|
7691
7691
|
return new SyncWalker(enter, leave).visit(ast, null);
|
|
7692
7692
|
}
|
|
7693
7693
|
|
|
7694
|
-
//
|
|
7694
|
+
// ../../../node_modules/estree-util-build-jsx/lib/index.js
|
|
7695
7695
|
var regex = /@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;
|
|
7696
7696
|
function buildJsx(tree, options) {
|
|
7697
7697
|
let config = options || {}, automatic = config.runtime === "automatic", annotations = {}, imports = {};
|
|
@@ -7941,17 +7941,17 @@ function create(from, to) {
|
|
|
7941
7941
|
}
|
|
7942
7942
|
}
|
|
7943
7943
|
|
|
7944
|
-
//
|
|
7944
|
+
// ../../../node_modules/recma-build-jsx/lib/index.js
|
|
7945
7945
|
function recmaJsx(options) {
|
|
7946
7946
|
return function(tree, file) {
|
|
7947
7947
|
buildJsx(tree, { filePath: file.history[0], ...options });
|
|
7948
7948
|
};
|
|
7949
7949
|
}
|
|
7950
7950
|
|
|
7951
|
-
//
|
|
7951
|
+
// ../../../node_modules/@mdx-js/mdx/node_modules/recma-jsx/lib/index.js
|
|
7952
7952
|
var import_acorn_jsx = __toESM(require_acorn_jsx(), 1);
|
|
7953
7953
|
|
|
7954
|
-
//
|
|
7954
|
+
// ../../../node_modules/astring/dist/astring.mjs
|
|
7955
7955
|
var { stringify: stringify2 } = JSON;
|
|
7956
7956
|
if (!String.prototype.repeat)
|
|
7957
7957
|
throw new Error(
|
|
@@ -8506,7 +8506,7 @@ function generate(node2, options) {
|
|
|
8506
8506
|
return state.generator[node2.type](node2, state), state.output;
|
|
8507
8507
|
}
|
|
8508
8508
|
|
|
8509
|
-
//
|
|
8509
|
+
// ../../../node_modules/estree-util-to-js/lib/index.js
|
|
8510
8510
|
var emptyOptions2 = {};
|
|
8511
8511
|
function toJs(tree, options) {
|
|
8512
8512
|
let { SourceMapGenerator, filePath, handlers: handlers3 } = options || emptyOptions2, sourceMap = SourceMapGenerator ? new SourceMapGenerator({ file: filePath || "<unknown>.js" }) : void 0, value = generate(
|
|
@@ -8521,7 +8521,7 @@ function toJs(tree, options) {
|
|
|
8521
8521
|
return { value, map };
|
|
8522
8522
|
}
|
|
8523
8523
|
|
|
8524
|
-
//
|
|
8524
|
+
// ../../../node_modules/estree-util-to-js/lib/jsx.js
|
|
8525
8525
|
var jsx = {
|
|
8526
8526
|
JSXAttribute: jsxAttribute,
|
|
8527
8527
|
JSXClosingElement: jsxClosingElement,
|
|
@@ -8609,13 +8609,13 @@ function replaceJsxChar($0) {
|
|
|
8609
8609
|
return $0 === "<" ? "<" : $0 === ">" ? ">" : $0 === "{" ? "{" : "}";
|
|
8610
8610
|
}
|
|
8611
8611
|
|
|
8612
|
-
//
|
|
8612
|
+
// ../../../node_modules/@mdx-js/mdx/node_modules/recma-jsx/lib/index.js
|
|
8613
8613
|
function recmaJsx2() {
|
|
8614
8614
|
let data2 = this.data(), settings = data2.settings || (data2.settings = {}), handlers3 = settings.handlers || (settings.handlers = {});
|
|
8615
8615
|
(settings.plugins || (settings.plugins = [])).push((0, import_acorn_jsx.default)()), Object.assign(handlers3, jsx);
|
|
8616
8616
|
}
|
|
8617
8617
|
|
|
8618
|
-
//
|
|
8618
|
+
// ../../../node_modules/recma-stringify/lib/index.js
|
|
8619
8619
|
function recmaStringify(options) {
|
|
8620
8620
|
let self2 = this;
|
|
8621
8621
|
this.compiler = compiler2;
|
|
@@ -8629,7 +8629,7 @@ function recmaStringify(options) {
|
|
|
8629
8629
|
}
|
|
8630
8630
|
}
|
|
8631
8631
|
|
|
8632
|
-
//
|
|
8632
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/comment.js
|
|
8633
8633
|
function comment(node2, state) {
|
|
8634
8634
|
let result = { type: "Block", value: node2.value };
|
|
8635
8635
|
state.inherit(node2, result), state.comments.push(result);
|
|
@@ -8643,7 +8643,7 @@ function comment(node2, state) {
|
|
|
8643
8643
|
return state.patch(node2, container), container;
|
|
8644
8644
|
}
|
|
8645
8645
|
|
|
8646
|
-
//
|
|
8646
|
+
// ../../../node_modules/comma-separated-tokens/index.js
|
|
8647
8647
|
function stringify3(values, options) {
|
|
8648
8648
|
let settings = options || {};
|
|
8649
8649
|
return (values[values.length - 1] === "" ? [...values, ""] : values).join(
|
|
@@ -8651,7 +8651,7 @@ function stringify3(values, options) {
|
|
|
8651
8651
|
).trim();
|
|
8652
8652
|
}
|
|
8653
8653
|
|
|
8654
|
-
//
|
|
8654
|
+
// ../../../node_modules/property-information/lib/util/schema.js
|
|
8655
8655
|
var Schema = class {
|
|
8656
8656
|
/**
|
|
8657
8657
|
* @param {SchemaType['property']} property
|
|
@@ -8671,7 +8671,7 @@ Schema.prototype.normal = {};
|
|
|
8671
8671
|
Schema.prototype.property = {};
|
|
8672
8672
|
Schema.prototype.space = void 0;
|
|
8673
8673
|
|
|
8674
|
-
//
|
|
8674
|
+
// ../../../node_modules/property-information/lib/util/merge.js
|
|
8675
8675
|
function merge(definitions, space) {
|
|
8676
8676
|
let property = {}, normal = {};
|
|
8677
8677
|
for (let definition2 of definitions)
|
|
@@ -8679,12 +8679,12 @@ function merge(definitions, space) {
|
|
|
8679
8679
|
return new Schema(property, normal, space);
|
|
8680
8680
|
}
|
|
8681
8681
|
|
|
8682
|
-
//
|
|
8682
|
+
// ../../../node_modules/property-information/lib/normalize.js
|
|
8683
8683
|
function normalize(value) {
|
|
8684
8684
|
return value.toLowerCase();
|
|
8685
8685
|
}
|
|
8686
8686
|
|
|
8687
|
-
//
|
|
8687
|
+
// ../../../node_modules/property-information/lib/util/info.js
|
|
8688
8688
|
var Info = class {
|
|
8689
8689
|
/**
|
|
8690
8690
|
* @param {string} property
|
|
@@ -8711,7 +8711,7 @@ Info.prototype.property = "";
|
|
|
8711
8711
|
Info.prototype.spaceSeparated = !1;
|
|
8712
8712
|
Info.prototype.space = void 0;
|
|
8713
8713
|
|
|
8714
|
-
//
|
|
8714
|
+
// ../../../node_modules/property-information/lib/util/types.js
|
|
8715
8715
|
var types_exports = {};
|
|
8716
8716
|
__export(types_exports, {
|
|
8717
8717
|
boolean: () => boolean,
|
|
@@ -8727,7 +8727,7 @@ function increment() {
|
|
|
8727
8727
|
return 2 ** ++powers;
|
|
8728
8728
|
}
|
|
8729
8729
|
|
|
8730
|
-
//
|
|
8730
|
+
// ../../../node_modules/property-information/lib/util/defined-info.js
|
|
8731
8731
|
var checks = (
|
|
8732
8732
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
8733
8733
|
Object.keys(types_exports)
|
|
@@ -8759,7 +8759,7 @@ function mark(values, key2, value) {
|
|
|
8759
8759
|
value && (values[key2] = value);
|
|
8760
8760
|
}
|
|
8761
8761
|
|
|
8762
|
-
//
|
|
8762
|
+
// ../../../node_modules/property-information/lib/util/create.js
|
|
8763
8763
|
function create2(definition2) {
|
|
8764
8764
|
let properties = {}, normals = {};
|
|
8765
8765
|
for (let [property, value] of Object.entries(definition2.properties)) {
|
|
@@ -8774,7 +8774,7 @@ function create2(definition2) {
|
|
|
8774
8774
|
return new Schema(properties, normals, definition2.space);
|
|
8775
8775
|
}
|
|
8776
8776
|
|
|
8777
|
-
//
|
|
8777
|
+
// ../../../node_modules/property-information/lib/aria.js
|
|
8778
8778
|
var aria = create2({
|
|
8779
8779
|
properties: {
|
|
8780
8780
|
ariaActiveDescendant: null,
|
|
@@ -8832,17 +8832,17 @@ var aria = create2({
|
|
|
8832
8832
|
}
|
|
8833
8833
|
});
|
|
8834
8834
|
|
|
8835
|
-
//
|
|
8835
|
+
// ../../../node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
8836
8836
|
function caseSensitiveTransform(attributes, attribute) {
|
|
8837
8837
|
return attribute in attributes ? attributes[attribute] : attribute;
|
|
8838
8838
|
}
|
|
8839
8839
|
|
|
8840
|
-
//
|
|
8840
|
+
// ../../../node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
8841
8841
|
function caseInsensitiveTransform(attributes, property) {
|
|
8842
8842
|
return caseSensitiveTransform(attributes, property.toLowerCase());
|
|
8843
8843
|
}
|
|
8844
8844
|
|
|
8845
|
-
//
|
|
8845
|
+
// ../../../node_modules/property-information/lib/html.js
|
|
8846
8846
|
var html = create2({
|
|
8847
8847
|
attributes: {
|
|
8848
8848
|
acceptcharset: "accept-charset",
|
|
@@ -9206,7 +9206,7 @@ var html = create2({
|
|
|
9206
9206
|
transform: caseInsensitiveTransform
|
|
9207
9207
|
});
|
|
9208
9208
|
|
|
9209
|
-
//
|
|
9209
|
+
// ../../../node_modules/property-information/lib/svg.js
|
|
9210
9210
|
var svg = create2({
|
|
9211
9211
|
attributes: {
|
|
9212
9212
|
accentHeight: "accent-height",
|
|
@@ -9768,7 +9768,7 @@ var svg = create2({
|
|
|
9768
9768
|
transform: caseSensitiveTransform
|
|
9769
9769
|
});
|
|
9770
9770
|
|
|
9771
|
-
//
|
|
9771
|
+
// ../../../node_modules/property-information/lib/xlink.js
|
|
9772
9772
|
var xlink = create2({
|
|
9773
9773
|
properties: {
|
|
9774
9774
|
xLinkActuate: null,
|
|
@@ -9785,7 +9785,7 @@ var xlink = create2({
|
|
|
9785
9785
|
}
|
|
9786
9786
|
});
|
|
9787
9787
|
|
|
9788
|
-
//
|
|
9788
|
+
// ../../../node_modules/property-information/lib/xmlns.js
|
|
9789
9789
|
var xmlns = create2({
|
|
9790
9790
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
9791
9791
|
properties: { xmlnsXLink: null, xmlns: null },
|
|
@@ -9793,7 +9793,7 @@ var xmlns = create2({
|
|
|
9793
9793
|
transform: caseInsensitiveTransform
|
|
9794
9794
|
});
|
|
9795
9795
|
|
|
9796
|
-
//
|
|
9796
|
+
// ../../../node_modules/property-information/lib/xml.js
|
|
9797
9797
|
var xml = create2({
|
|
9798
9798
|
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
9799
9799
|
space: "xml",
|
|
@@ -9802,7 +9802,7 @@ var xml = create2({
|
|
|
9802
9802
|
}
|
|
9803
9803
|
});
|
|
9804
9804
|
|
|
9805
|
-
//
|
|
9805
|
+
// ../../../node_modules/property-information/lib/hast-to-react.js
|
|
9806
9806
|
var hastToReact = {
|
|
9807
9807
|
classId: "classID",
|
|
9808
9808
|
dataType: "datatype",
|
|
@@ -9823,7 +9823,7 @@ var hastToReact = {
|
|
|
9823
9823
|
xmlnsXLink: "xmlnsXlink"
|
|
9824
9824
|
};
|
|
9825
9825
|
|
|
9826
|
-
//
|
|
9826
|
+
// ../../../node_modules/property-information/lib/find.js
|
|
9827
9827
|
var cap = /[A-Z]/g, dash = /-[a-z]/g, valid = /^data[-\w.:]+$/i;
|
|
9828
9828
|
function find(schema, value) {
|
|
9829
9829
|
let normal = normalize(value), property = value, Type = Info;
|
|
@@ -9851,10 +9851,10 @@ function camelcase($0) {
|
|
|
9851
9851
|
return $0.charAt(1).toUpperCase();
|
|
9852
9852
|
}
|
|
9853
9853
|
|
|
9854
|
-
//
|
|
9854
|
+
// ../../../node_modules/property-information/index.js
|
|
9855
9855
|
var html2 = merge([aria, html, xlink, xmlns, xml], "html"), svg2 = merge([aria, svg, xlink, xmlns, xml], "svg");
|
|
9856
9856
|
|
|
9857
|
-
//
|
|
9857
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/element.js
|
|
9858
9858
|
var import_style_to_js = __toESM(require_cjs3(), 1), own = {}.hasOwnProperty, cap2 = /[A-Z]/g, tableCellElement = /* @__PURE__ */ new Set(["td", "th"]);
|
|
9859
9859
|
function element(node2, state) {
|
|
9860
9860
|
let parentSchema = state.schema, schema = parentSchema, properties = node2.properties || {};
|
|
@@ -9979,7 +9979,7 @@ function toDash($0) {
|
|
|
9979
9979
|
return "-" + $0.toLowerCase();
|
|
9980
9980
|
}
|
|
9981
9981
|
|
|
9982
|
-
//
|
|
9982
|
+
// ../../../node_modules/estree-util-attach-comments/lib/index.js
|
|
9983
9983
|
var own2 = {}.hasOwnProperty, emptyComments = [];
|
|
9984
9984
|
function attachComments(tree, comments) {
|
|
9985
9985
|
let list3 = comments ? [...comments].sort(compare) : emptyComments;
|
|
@@ -10021,7 +10021,7 @@ function compare(left, right, compareEnd) {
|
|
|
10021
10021
|
return left.range && right.range ? left.range[0] - right.range[compareEnd ? 1 : 0] : left.loc && left.loc.start && right.loc && right.loc[field] ? left.loc.start.line - right.loc[field].line || left.loc.start.column - right.loc[field].column : "start" in left && field in right ? left.start - right[field] : Number.NaN;
|
|
10022
10022
|
}
|
|
10023
10023
|
|
|
10024
|
-
//
|
|
10024
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/mdx-expression.js
|
|
10025
10025
|
function mdxExpression(node2, state) {
|
|
10026
10026
|
let estree = node2.data && node2.data.estree, comments = estree && estree.comments || [], expression;
|
|
10027
10027
|
estree && (state.comments.push(...comments), attachComments(estree, estree.comments), expression = estree.body[0] && estree.body[0].type === "ExpressionStatement" && estree.body[0].expression || void 0), expression || (expression = { type: "JSXEmptyExpression" }, state.patch(node2, expression));
|
|
@@ -10029,7 +10029,7 @@ function mdxExpression(node2, state) {
|
|
|
10029
10029
|
return state.inherit(node2, result), result;
|
|
10030
10030
|
}
|
|
10031
10031
|
|
|
10032
|
-
//
|
|
10032
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/mdx-jsx-element.js
|
|
10033
10033
|
function mdxJsxElement(node2, state) {
|
|
10034
10034
|
let parentSchema = state.schema, schema = parentSchema, attributes = node2.attributes || [], index2 = -1;
|
|
10035
10035
|
node2.name && parentSchema.space === "html" && node2.name.toLowerCase() === "svg" && (schema = svg2, state.schema = schema);
|
|
@@ -10086,13 +10086,13 @@ function mdxJsxElement(node2, state) {
|
|
|
10086
10086
|
return state.inherit(node2, result), result;
|
|
10087
10087
|
}
|
|
10088
10088
|
|
|
10089
|
-
//
|
|
10089
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/mdxjs-esm.js
|
|
10090
10090
|
function mdxjsEsm(node2, state) {
|
|
10091
10091
|
let estree = node2.data && node2.data.estree, comments = estree && estree.comments || [];
|
|
10092
10092
|
estree && (state.comments.push(...comments), attachComments(estree, comments), state.esm.push(...estree.body));
|
|
10093
10093
|
}
|
|
10094
10094
|
|
|
10095
|
-
//
|
|
10095
|
+
// ../../../node_modules/hast-util-whitespace/lib/index.js
|
|
10096
10096
|
var re = /[ \t\n\f\r]/g;
|
|
10097
10097
|
function whitespace(thing) {
|
|
10098
10098
|
return typeof thing == "object" ? thing.type === "text" ? empty(thing.value) : !1 : empty(thing);
|
|
@@ -10101,7 +10101,7 @@ function empty(value) {
|
|
|
10101
10101
|
return value.replace(re, "") === "";
|
|
10102
10102
|
}
|
|
10103
10103
|
|
|
10104
|
-
//
|
|
10104
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/root.js
|
|
10105
10105
|
function root(node2, state) {
|
|
10106
10106
|
let children = state.all(node2), cleanChildren = [], index2 = -1, queue;
|
|
10107
10107
|
for (; ++index2 < children.length; ) {
|
|
@@ -10117,7 +10117,7 @@ function root(node2, state) {
|
|
|
10117
10117
|
return state.inherit(node2, result), result;
|
|
10118
10118
|
}
|
|
10119
10119
|
|
|
10120
|
-
//
|
|
10120
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/text.js
|
|
10121
10121
|
function text(node2, state) {
|
|
10122
10122
|
let value = String(node2.value || "");
|
|
10123
10123
|
if (value) {
|
|
@@ -10128,7 +10128,7 @@ function text(node2, state) {
|
|
|
10128
10128
|
}
|
|
10129
10129
|
}
|
|
10130
10130
|
|
|
10131
|
-
//
|
|
10131
|
+
// ../../../node_modules/hast-util-to-estree/lib/handlers/index.js
|
|
10132
10132
|
var handlers = {
|
|
10133
10133
|
comment,
|
|
10134
10134
|
doctype: ignore,
|
|
@@ -10144,7 +10144,7 @@ var handlers = {
|
|
|
10144
10144
|
function ignore() {
|
|
10145
10145
|
}
|
|
10146
10146
|
|
|
10147
|
-
//
|
|
10147
|
+
// ../../../node_modules/unist-util-position/lib/index.js
|
|
10148
10148
|
var pointEnd = point2("end"), pointStart = point2("start");
|
|
10149
10149
|
function point2(type) {
|
|
10150
10150
|
return point4;
|
|
@@ -10164,7 +10164,7 @@ function position2(node2) {
|
|
|
10164
10164
|
return { start: start2, end };
|
|
10165
10165
|
}
|
|
10166
10166
|
|
|
10167
|
-
//
|
|
10167
|
+
// ../../../node_modules/zwitch/index.js
|
|
10168
10168
|
var own3 = {}.hasOwnProperty;
|
|
10169
10169
|
function zwitch(key2, options) {
|
|
10170
10170
|
let settings = options || {};
|
|
@@ -10180,7 +10180,7 @@ function zwitch(key2, options) {
|
|
|
10180
10180
|
return one2.handlers = settings.handlers || {}, one2.invalid = settings.invalid, one2.unknown = settings.unknown, one2;
|
|
10181
10181
|
}
|
|
10182
10182
|
|
|
10183
|
-
//
|
|
10183
|
+
// ../../../node_modules/hast-util-to-estree/lib/state.js
|
|
10184
10184
|
var own4 = {}.hasOwnProperty, tableElements = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]);
|
|
10185
10185
|
function createState(options) {
|
|
10186
10186
|
let one2 = zwitch("type", {
|
|
@@ -10277,7 +10277,7 @@ function createJsxNameFromString(name2) {
|
|
|
10277
10277
|
return { type: "JSXIdentifier", name: name2 };
|
|
10278
10278
|
}
|
|
10279
10279
|
|
|
10280
|
-
//
|
|
10280
|
+
// ../../../node_modules/hast-util-to-estree/lib/index.js
|
|
10281
10281
|
function toEstree(tree, options) {
|
|
10282
10282
|
let state = createState(options || {}), result = state.handle(tree), body = state.esm;
|
|
10283
10283
|
if (result) {
|
|
@@ -10299,14 +10299,14 @@ function toEstree(tree, options) {
|
|
|
10299
10299
|
return state.patch(tree, program), program;
|
|
10300
10300
|
}
|
|
10301
10301
|
|
|
10302
|
-
//
|
|
10302
|
+
// ../../../node_modules/rehype-recma/lib/index.js
|
|
10303
10303
|
function rehypeRecma(options) {
|
|
10304
10304
|
return function(tree) {
|
|
10305
10305
|
return toEstree(tree, options);
|
|
10306
10306
|
};
|
|
10307
10307
|
}
|
|
10308
10308
|
|
|
10309
|
-
//
|
|
10309
|
+
// ../../../node_modules/mdast-util-mdx-expression/lib/index.js
|
|
10310
10310
|
function mdxExpressionFromMarkdown() {
|
|
10311
10311
|
return {
|
|
10312
10312
|
enter: {
|
|
@@ -10353,7 +10353,7 @@ function handleMdxExpression(node2, parent, state) {
|
|
|
10353
10353
|
}) + "}";
|
|
10354
10354
|
}
|
|
10355
10355
|
|
|
10356
|
-
//
|
|
10356
|
+
// ../../../node_modules/ccount/index.js
|
|
10357
10357
|
function ccount(value, character) {
|
|
10358
10358
|
let source = String(value);
|
|
10359
10359
|
if (typeof character != "string")
|
|
@@ -10364,7 +10364,7 @@ function ccount(value, character) {
|
|
|
10364
10364
|
return count;
|
|
10365
10365
|
}
|
|
10366
10366
|
|
|
10367
|
-
//
|
|
10367
|
+
// ../../../node_modules/character-entities-legacy/index.js
|
|
10368
10368
|
var characterEntitiesLegacy = [
|
|
10369
10369
|
"AElig",
|
|
10370
10370
|
"AMP",
|
|
@@ -10474,7 +10474,7 @@ var characterEntitiesLegacy = [
|
|
|
10474
10474
|
"yuml"
|
|
10475
10475
|
];
|
|
10476
10476
|
|
|
10477
|
-
//
|
|
10477
|
+
// ../../../node_modules/character-reference-invalid/index.js
|
|
10478
10478
|
var characterReferenceInvalid = {
|
|
10479
10479
|
0: "\uFFFD",
|
|
10480
10480
|
128: "\u20AC",
|
|
@@ -10506,30 +10506,30 @@ var characterReferenceInvalid = {
|
|
|
10506
10506
|
159: "\u0178"
|
|
10507
10507
|
};
|
|
10508
10508
|
|
|
10509
|
-
//
|
|
10509
|
+
// ../../../node_modules/is-decimal/index.js
|
|
10510
10510
|
function isDecimal(character) {
|
|
10511
10511
|
let code2 = typeof character == "string" ? character.charCodeAt(0) : character;
|
|
10512
10512
|
return code2 >= 48 && code2 <= 57;
|
|
10513
10513
|
}
|
|
10514
10514
|
|
|
10515
|
-
//
|
|
10515
|
+
// ../../../node_modules/is-hexadecimal/index.js
|
|
10516
10516
|
function isHexadecimal(character) {
|
|
10517
10517
|
let code2 = typeof character == "string" ? character.charCodeAt(0) : character;
|
|
10518
10518
|
return code2 >= 97 && code2 <= 102 || code2 >= 65 && code2 <= 70 || code2 >= 48 && code2 <= 57;
|
|
10519
10519
|
}
|
|
10520
10520
|
|
|
10521
|
-
//
|
|
10521
|
+
// ../../../node_modules/is-alphabetical/index.js
|
|
10522
10522
|
function isAlphabetical(character) {
|
|
10523
10523
|
let code2 = typeof character == "string" ? character.charCodeAt(0) : character;
|
|
10524
10524
|
return code2 >= 97 && code2 <= 122 || code2 >= 65 && code2 <= 90;
|
|
10525
10525
|
}
|
|
10526
10526
|
|
|
10527
|
-
//
|
|
10527
|
+
// ../../../node_modules/is-alphanumerical/index.js
|
|
10528
10528
|
function isAlphanumerical(character) {
|
|
10529
10529
|
return isAlphabetical(character) || isDecimal(character);
|
|
10530
10530
|
}
|
|
10531
10531
|
|
|
10532
|
-
//
|
|
10532
|
+
// ../../../node_modules/character-entities/index.js
|
|
10533
10533
|
var characterEntities = {
|
|
10534
10534
|
AElig: "\xC6",
|
|
10535
10535
|
AMP: "&",
|
|
@@ -12659,13 +12659,13 @@ var characterEntities = {
|
|
|
12659
12659
|
zwnj: "\u200C"
|
|
12660
12660
|
};
|
|
12661
12661
|
|
|
12662
|
-
//
|
|
12662
|
+
// ../../../node_modules/decode-named-character-reference/index.js
|
|
12663
12663
|
var own5 = {}.hasOwnProperty;
|
|
12664
12664
|
function decodeNamedCharacterReference(value) {
|
|
12665
12665
|
return own5.call(characterEntities, value) ? characterEntities[value] : !1;
|
|
12666
12666
|
}
|
|
12667
12667
|
|
|
12668
|
-
//
|
|
12668
|
+
// ../../../node_modules/parse-entities/lib/index.js
|
|
12669
12669
|
var messages = [
|
|
12670
12670
|
"",
|
|
12671
12671
|
/* 1: Non terminated (named) */
|
|
@@ -12791,7 +12791,7 @@ function disallowed(code2) {
|
|
|
12791
12791
|
return code2 >= 1 && code2 <= 8 || code2 === 11 || code2 >= 13 && code2 <= 31 || code2 >= 127 && code2 <= 159 || code2 >= 64976 && code2 <= 65007 || (code2 & 65535) === 65535 || (code2 & 65535) === 65534;
|
|
12792
12792
|
}
|
|
12793
12793
|
|
|
12794
|
-
//
|
|
12794
|
+
// ../../../node_modules/stringify-entities/lib/core.js
|
|
12795
12795
|
var defaultSubsetRegex = /["&'<>`]/g, surrogatePairsRegex = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, controlCharactersRegex = (
|
|
12796
12796
|
// eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
|
|
12797
12797
|
/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
|
|
@@ -12829,7 +12829,7 @@ function charactersToExpression(subset) {
|
|
|
12829
12829
|
return new RegExp("(?:" + groups.join("|") + ")", "g");
|
|
12830
12830
|
}
|
|
12831
12831
|
|
|
12832
|
-
//
|
|
12832
|
+
// ../../../node_modules/character-entities-html4/index.js
|
|
12833
12833
|
var characterEntitiesHtml4 = {
|
|
12834
12834
|
nbsp: "\xA0",
|
|
12835
12835
|
iexcl: "\xA1",
|
|
@@ -13085,22 +13085,22 @@ var characterEntitiesHtml4 = {
|
|
|
13085
13085
|
euro: "\u20AC"
|
|
13086
13086
|
};
|
|
13087
13087
|
|
|
13088
|
-
//
|
|
13088
|
+
// ../../../node_modules/stringify-entities/lib/util/to-named.js
|
|
13089
13089
|
var own6 = {}.hasOwnProperty, characters = {}, key;
|
|
13090
13090
|
for (key in characterEntitiesHtml4)
|
|
13091
13091
|
own6.call(characterEntitiesHtml4, key) && (characters[characterEntitiesHtml4[key]] = key);
|
|
13092
13092
|
|
|
13093
|
-
//
|
|
13093
|
+
// ../../../node_modules/stringify-entities/lib/util/format-basic.js
|
|
13094
13094
|
function formatBasic(code2) {
|
|
13095
13095
|
return "&#x" + code2.toString(16).toUpperCase() + ";";
|
|
13096
13096
|
}
|
|
13097
13097
|
|
|
13098
|
-
//
|
|
13098
|
+
// ../../../node_modules/stringify-entities/lib/index.js
|
|
13099
13099
|
function stringifyEntitiesLight(value, options) {
|
|
13100
13100
|
return core(value, Object.assign({ format: formatBasic }, options));
|
|
13101
13101
|
}
|
|
13102
13102
|
|
|
13103
|
-
//
|
|
13103
|
+
// ../../../node_modules/mdast-util-mdx-jsx/lib/index.js
|
|
13104
13104
|
var indent = " ";
|
|
13105
13105
|
function mdxJsxFromMarkdown() {
|
|
13106
13106
|
return {
|
|
@@ -13430,7 +13430,7 @@ function peekElement() {
|
|
|
13430
13430
|
return "<";
|
|
13431
13431
|
}
|
|
13432
13432
|
|
|
13433
|
-
//
|
|
13433
|
+
// ../../../node_modules/mdast-util-mdxjs-esm/lib/index.js
|
|
13434
13434
|
function mdxjsEsmFromMarkdown() {
|
|
13435
13435
|
return {
|
|
13436
13436
|
enter: { mdxjsEsm: enterMdxjsEsm },
|
|
@@ -13456,7 +13456,7 @@ function handleMdxjsEsm(node2) {
|
|
|
13456
13456
|
return node2.value || "";
|
|
13457
13457
|
}
|
|
13458
13458
|
|
|
13459
|
-
//
|
|
13459
|
+
// ../../../node_modules/mdast-util-mdx/lib/index.js
|
|
13460
13460
|
function mdxFromMarkdown() {
|
|
13461
13461
|
return [
|
|
13462
13462
|
mdxExpressionFromMarkdown(),
|
|
@@ -13474,7 +13474,7 @@ function mdxToMarkdown(options) {
|
|
|
13474
13474
|
};
|
|
13475
13475
|
}
|
|
13476
13476
|
|
|
13477
|
-
//
|
|
13477
|
+
// ../../../node_modules/micromark-extension-mdxjs/node_modules/acorn/dist/acorn.mjs
|
|
13478
13478
|
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, 80, 3, 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, 343, 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, 330, 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, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], 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, 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, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 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, 328, 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, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 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, 229, 29, 3, 0, 496, 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], 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-\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", 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-\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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", reservedWords = {
|
|
13479
13479
|
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",
|
|
13480
13480
|
5: "class enum extends super const export import",
|
|
@@ -16591,11 +16591,11 @@ Parser.acorn = {
|
|
|
16591
16591
|
nonASCIIwhitespace
|
|
16592
16592
|
};
|
|
16593
16593
|
|
|
16594
|
-
//
|
|
16594
|
+
// ../../../node_modules/micromark-extension-mdxjs/index.js
|
|
16595
16595
|
var import_acorn_jsx2 = __toESM(require_acorn_jsx2(), 1);
|
|
16596
16596
|
|
|
16597
|
-
//
|
|
16598
|
-
var asciiAlpha = regexCheck(/[A-Za-z]/), asciiAlphanumeric = regexCheck(/[\dA-Za-z]/), asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
16597
|
+
// ../../../node_modules/micromark-util-character/index.js
|
|
16598
|
+
var unicodePunctuationInternal = regexCheck(new RegExp("\\p{P}", "u")), asciiAlpha = regexCheck(/[A-Za-z]/), asciiAlphanumeric = regexCheck(/[\dA-Za-z]/), asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
|
|
16599
16599
|
function asciiControl(code2) {
|
|
16600
16600
|
return (
|
|
16601
16601
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -16613,7 +16613,10 @@ function markdownLineEndingOrSpace(code2) {
|
|
|
16613
16613
|
function markdownSpace(code2) {
|
|
16614
16614
|
return code2 === -2 || code2 === -1 || code2 === 32;
|
|
16615
16615
|
}
|
|
16616
|
-
|
|
16616
|
+
function unicodePunctuation(code2) {
|
|
16617
|
+
return asciiPunctuation(code2) || unicodePunctuationInternal(code2);
|
|
16618
|
+
}
|
|
16619
|
+
var unicodeWhitespace = regexCheck(/\s/);
|
|
16617
16620
|
function regexCheck(regex2) {
|
|
16618
16621
|
return check;
|
|
16619
16622
|
function check(code2) {
|
|
@@ -16621,7 +16624,7 @@ function regexCheck(regex2) {
|
|
|
16621
16624
|
}
|
|
16622
16625
|
}
|
|
16623
16626
|
|
|
16624
|
-
//
|
|
16627
|
+
// ../../../node_modules/micromark-factory-space/index.js
|
|
16625
16628
|
function factorySpace(effects, ok2, type, max) {
|
|
16626
16629
|
let limit = max ? max - 1 : Number.POSITIVE_INFINITY, size = 0;
|
|
16627
16630
|
return start2;
|
|
@@ -16633,12 +16636,12 @@ function factorySpace(effects, ok2, type, max) {
|
|
|
16633
16636
|
}
|
|
16634
16637
|
}
|
|
16635
16638
|
|
|
16636
|
-
//
|
|
16639
|
+
// ../../../node_modules/estree-util-visit/lib/color.node.js
|
|
16637
16640
|
function color(d) {
|
|
16638
16641
|
return "\x1B[33m" + d + "\x1B[39m";
|
|
16639
16642
|
}
|
|
16640
16643
|
|
|
16641
|
-
//
|
|
16644
|
+
// ../../../node_modules/estree-util-visit/lib/index.js
|
|
16642
16645
|
var own7 = {}.hasOwnProperty, CONTINUE = Symbol("continue"), EXIT = Symbol("exit"), SKIP = Symbol("skip");
|
|
16643
16646
|
function visit2(tree, visitor) {
|
|
16644
16647
|
let enter, leave;
|
|
@@ -16692,7 +16695,7 @@ function nodelike(value) {
|
|
|
16692
16695
|
return !!(value && typeof value == "object" && "type" in value && typeof value.type == "string" && value.type.length > 0);
|
|
16693
16696
|
}
|
|
16694
16697
|
|
|
16695
|
-
//
|
|
16698
|
+
// ../../../node_modules/micromark-util-events-to-acorn/lib/index.js
|
|
16696
16699
|
function eventsToAcorn(events, options) {
|
|
16697
16700
|
let prefix = options.prefix || "", suffix = options.suffix || "", acornOptions = Object.assign({}, options.acornOptions), comments = [], tokens = [], onComment = acornOptions.onComment, onToken = acornOptions.onToken, swallow = !1, estree, exception, acornConfig = Object.assign({}, acornOptions, {
|
|
16698
16701
|
onComment: comments,
|
|
@@ -16868,7 +16871,7 @@ function serializeChunks(chunks) {
|
|
|
16868
16871
|
return result.join("");
|
|
16869
16872
|
}
|
|
16870
16873
|
|
|
16871
|
-
//
|
|
16874
|
+
// ../../../node_modules/unist-util-position-from-estree/lib/index.js
|
|
16872
16875
|
function positionFromEstree(node2) {
|
|
16873
16876
|
let nodeLike = node2 || {}, loc = nodeLike.loc || {}, range = nodeLike.range || [void 0, void 0], start2 = pointOrUndefined(loc.start, range[0] || nodeLike.start), end = pointOrUndefined(loc.end, range[1] || nodeLike.end);
|
|
16874
16877
|
if (start2 && end)
|
|
@@ -16889,7 +16892,7 @@ function numberOrUndefined(value) {
|
|
|
16889
16892
|
return typeof value == "number" && value > -1 ? value : void 0;
|
|
16890
16893
|
}
|
|
16891
16894
|
|
|
16892
|
-
//
|
|
16895
|
+
// ../../../node_modules/micromark-factory-mdx-expression/index.js
|
|
16893
16896
|
var indentSize = 2, trouble = "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression", unexpectedEndOfFileHash = "#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-", unexpectedLazyHash = "#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed", nonSpreadHash = "#unexpected-type-in-code-expected-an-object-spread-spread", spreadExtraHash = "#unexpected-extra-content-in-spread-only-a-single-spread-is-supported", acornHash = "#could-not-parse-expression-with-acorn";
|
|
16894
16897
|
function factoryMdxExpression(effects, ok2, type, markerType, chunkType, acorn, acornOptions, addResult, spread, allowEmpty, allowLazy) {
|
|
16895
16898
|
let self2 = this, eventStart = this.events.length + 3, size = 0, pointStart2, lastCrash;
|
|
@@ -17001,7 +17004,7 @@ function mdxExpressionParse(acorn, acornOptions, chunkType, eventStart, pointSta
|
|
|
17001
17004
|
};
|
|
17002
17005
|
}
|
|
17003
17006
|
|
|
17004
|
-
//
|
|
17007
|
+
// ../../../node_modules/micromark-extension-mdx-expression/lib/syntax.js
|
|
17005
17008
|
function mdxExpression2(options) {
|
|
17006
17009
|
let options_ = options || {}, addResult = options_.addResult, acorn = options_.acorn, spread = options_.spread, allowEmpty = options_.allowEmpty, acornOptions;
|
|
17007
17010
|
if (allowEmpty == null && (allowEmpty = !0), acorn) {
|
|
@@ -17059,7 +17062,7 @@ function mdxExpression2(options) {
|
|
|
17059
17062
|
}
|
|
17060
17063
|
}
|
|
17061
17064
|
|
|
17062
|
-
//
|
|
17065
|
+
// ../../../node_modules/micromark-extension-mdx-jsx/lib/factory-tag.js
|
|
17063
17066
|
var trouble2 = "https://github.com/micromark/micromark-extension-mdx-jsx";
|
|
17064
17067
|
function factoryTag(effects, ok2, nok, acorn, acornOptions, addResult, allowLazy, tagType, tagMarkerType, tagClosingMarkerType, tagSelfClosingMarker, tagNameType, tagNamePrimaryType, tagNameMemberMarkerType, tagNameMemberType, tagNamePrefixMarkerType, tagNameLocalType, tagExpressionAttributeType, tagExpressionAttributeMarkerType, tagExpressionAttributeValueType, tagAttributeType, tagAttributeNameType, tagAttributeNamePrimaryType, tagAttributeNamePrefixMarkerType, tagAttributeNameLocalType, tagAttributeInitializerMarkerType, tagAttributeValueLiteralType, tagAttributeValueLiteralMarkerType, tagAttributeValueLiteralValueType, tagAttributeValueExpressionType, tagAttributeValueExpressionMarkerType, tagAttributeValueExpressionValueType) {
|
|
17065
17068
|
let self2 = this, returnState, marker;
|
|
@@ -17243,7 +17246,7 @@ function serializeCharCode(code2) {
|
|
|
17243
17246
|
return "U+" + code2.toString(16).toUpperCase().padStart(4, "0");
|
|
17244
17247
|
}
|
|
17245
17248
|
|
|
17246
|
-
//
|
|
17249
|
+
// ../../../node_modules/micromark-extension-mdx-jsx/lib/jsx-text.js
|
|
17247
17250
|
function jsxText2(acorn, options) {
|
|
17248
17251
|
return {
|
|
17249
17252
|
name: "mdxJsxTextTag",
|
|
@@ -17254,7 +17257,7 @@ function jsxText2(acorn, options) {
|
|
|
17254
17257
|
}
|
|
17255
17258
|
}
|
|
17256
17259
|
|
|
17257
|
-
//
|
|
17260
|
+
// ../../../node_modules/micromark-extension-mdx-jsx/lib/jsx-flow.js
|
|
17258
17261
|
function jsxFlow(acorn, options) {
|
|
17259
17262
|
return {
|
|
17260
17263
|
concrete: !0,
|
|
@@ -17288,7 +17291,7 @@ function jsxFlow(acorn, options) {
|
|
|
17288
17291
|
}
|
|
17289
17292
|
}
|
|
17290
17293
|
|
|
17291
|
-
//
|
|
17294
|
+
// ../../../node_modules/micromark-extension-mdx-jsx/lib/syntax.js
|
|
17292
17295
|
function mdxJsx(options) {
|
|
17293
17296
|
let settings = options || {}, acorn = settings.acorn, acornOptions;
|
|
17294
17297
|
if (acorn) {
|
|
@@ -17318,14 +17321,14 @@ function mdxJsx(options) {
|
|
|
17318
17321
|
};
|
|
17319
17322
|
}
|
|
17320
17323
|
|
|
17321
|
-
//
|
|
17324
|
+
// ../../../node_modules/micromark-extension-mdx-md/index.js
|
|
17322
17325
|
function mdxMd() {
|
|
17323
17326
|
return {
|
|
17324
17327
|
disable: { null: ["autolink", "codeIndented", "htmlFlow", "htmlText"] }
|
|
17325
17328
|
};
|
|
17326
17329
|
}
|
|
17327
17330
|
|
|
17328
|
-
//
|
|
17331
|
+
// ../../../node_modules/micromark-util-chunked/index.js
|
|
17329
17332
|
function splice(list3, start2, remove, items) {
|
|
17330
17333
|
let end = list3.length, chunkStart = 0, parameters;
|
|
17331
17334
|
if (start2 < 0 ? start2 = -start2 > end ? 0 : end + start2 : start2 = start2 > end ? end : start2, remove = remove > 0 ? remove : 0, items.length < 1e4)
|
|
@@ -17338,7 +17341,7 @@ function push(list3, items) {
|
|
|
17338
17341
|
return list3.length > 0 ? (splice(list3, list3.length, 0, items), list3) : items;
|
|
17339
17342
|
}
|
|
17340
17343
|
|
|
17341
|
-
//
|
|
17344
|
+
// ../../../node_modules/micromark-util-classify-character/index.js
|
|
17342
17345
|
function classifyCharacter(code2) {
|
|
17343
17346
|
if (code2 === null || markdownLineEndingOrSpace(code2) || unicodeWhitespace(code2))
|
|
17344
17347
|
return 1;
|
|
@@ -17346,7 +17349,7 @@ function classifyCharacter(code2) {
|
|
|
17346
17349
|
return 2;
|
|
17347
17350
|
}
|
|
17348
17351
|
|
|
17349
|
-
//
|
|
17352
|
+
// ../../../node_modules/micromark-util-resolve-all/index.js
|
|
17350
17353
|
function resolveAll(constructs2, events, context) {
|
|
17351
17354
|
let called = [], index2 = -1;
|
|
17352
17355
|
for (; ++index2 < constructs2.length; ) {
|
|
@@ -17356,11 +17359,11 @@ function resolveAll(constructs2, events, context) {
|
|
|
17356
17359
|
return events;
|
|
17357
17360
|
}
|
|
17358
17361
|
|
|
17359
|
-
//
|
|
17362
|
+
// ../../../node_modules/micromark-core-commonmark/lib/attention.js
|
|
17360
17363
|
var attention = {
|
|
17361
17364
|
name: "attention",
|
|
17362
|
-
|
|
17363
|
-
|
|
17365
|
+
tokenize: tokenizeAttention,
|
|
17366
|
+
resolveAll: resolveAllAttention
|
|
17364
17367
|
};
|
|
17365
17368
|
function resolveAllAttention(events, context) {
|
|
17366
17369
|
let index2 = -1, open, group, text5, openingSequence, closingSequence, use, nextEvents, offset2;
|
|
@@ -17372,44 +17375,47 @@ function resolveAllAttention(events, context) {
|
|
|
17372
17375
|
if ((events[open][1]._close || events[index2][1]._open) && (events[index2][1].end.offset - events[index2][1].start.offset) % 3 && !((events[open][1].end.offset - events[open][1].start.offset + events[index2][1].end.offset - events[index2][1].start.offset) % 3))
|
|
17373
17376
|
continue;
|
|
17374
17377
|
use = events[open][1].end.offset - events[open][1].start.offset > 1 && events[index2][1].end.offset - events[index2][1].start.offset > 1 ? 2 : 1;
|
|
17375
|
-
let start2 = {
|
|
17376
|
-
...events[open][1].end
|
|
17377
|
-
}, end = {
|
|
17378
|
-
...events[index2][1].start
|
|
17379
|
-
};
|
|
17378
|
+
let start2 = Object.assign({}, events[open][1].end), end = Object.assign({}, events[index2][1].start);
|
|
17380
17379
|
movePoint(start2, -use), movePoint(end, use), openingSequence = {
|
|
17381
17380
|
type: use > 1 ? "strongSequence" : "emphasisSequence",
|
|
17382
17381
|
start: start2,
|
|
17383
|
-
end: {
|
|
17384
|
-
...events[open][1].end
|
|
17385
|
-
}
|
|
17382
|
+
end: Object.assign({}, events[open][1].end)
|
|
17386
17383
|
}, closingSequence = {
|
|
17387
17384
|
type: use > 1 ? "strongSequence" : "emphasisSequence",
|
|
17388
|
-
start: {
|
|
17389
|
-
...events[index2][1].start
|
|
17390
|
-
},
|
|
17385
|
+
start: Object.assign({}, events[index2][1].start),
|
|
17391
17386
|
end
|
|
17392
17387
|
}, text5 = {
|
|
17393
17388
|
type: use > 1 ? "strongText" : "emphasisText",
|
|
17394
|
-
start: {
|
|
17395
|
-
|
|
17396
|
-
},
|
|
17397
|
-
end: {
|
|
17398
|
-
...events[index2][1].start
|
|
17399
|
-
}
|
|
17389
|
+
start: Object.assign({}, events[open][1].end),
|
|
17390
|
+
end: Object.assign({}, events[index2][1].start)
|
|
17400
17391
|
}, group = {
|
|
17401
17392
|
type: use > 1 ? "strong" : "emphasis",
|
|
17402
|
-
start: {
|
|
17403
|
-
|
|
17404
|
-
|
|
17405
|
-
|
|
17406
|
-
|
|
17407
|
-
|
|
17408
|
-
|
|
17409
|
-
|
|
17410
|
-
|
|
17411
|
-
|
|
17412
|
-
|
|
17393
|
+
start: Object.assign({}, openingSequence.start),
|
|
17394
|
+
end: Object.assign({}, closingSequence.end)
|
|
17395
|
+
}, events[open][1].end = Object.assign({}, openingSequence.start), events[index2][1].start = Object.assign({}, closingSequence.end), nextEvents = [], events[open][1].end.offset - events[open][1].start.offset && (nextEvents = push(nextEvents, [
|
|
17396
|
+
["enter", events[open][1], context],
|
|
17397
|
+
["exit", events[open][1], context]
|
|
17398
|
+
])), nextEvents = push(nextEvents, [
|
|
17399
|
+
["enter", group, context],
|
|
17400
|
+
["enter", openingSequence, context],
|
|
17401
|
+
["exit", openingSequence, context],
|
|
17402
|
+
["enter", text5, context]
|
|
17403
|
+
]), nextEvents = push(
|
|
17404
|
+
nextEvents,
|
|
17405
|
+
resolveAll(
|
|
17406
|
+
context.parser.constructs.insideSpan.null,
|
|
17407
|
+
events.slice(open + 1, index2),
|
|
17408
|
+
context
|
|
17409
|
+
)
|
|
17410
|
+
), nextEvents = push(nextEvents, [
|
|
17411
|
+
["exit", text5, context],
|
|
17412
|
+
["enter", closingSequence, context],
|
|
17413
|
+
["exit", closingSequence, context],
|
|
17414
|
+
["exit", group, context]
|
|
17415
|
+
]), events[index2][1].end.offset - events[index2][1].start.offset ? (offset2 = 2, nextEvents = push(nextEvents, [
|
|
17416
|
+
["enter", events[index2][1], context],
|
|
17417
|
+
["exit", events[index2][1], context]
|
|
17418
|
+
])) : offset2 = 0, splice(events, open - 1, index2 - open + 3, nextEvents), index2 = open + nextEvents.length - offset2 - 2;
|
|
17413
17419
|
break;
|
|
17414
17420
|
}
|
|
17415
17421
|
}
|
|
@@ -17434,7 +17440,7 @@ function movePoint(point4, offset2) {
|
|
|
17434
17440
|
point4.column += offset2, point4.offset += offset2, point4._bufferIndex += offset2;
|
|
17435
17441
|
}
|
|
17436
17442
|
|
|
17437
|
-
//
|
|
17443
|
+
// ../../../node_modules/micromark-core-commonmark/lib/autolink.js
|
|
17438
17444
|
var autolink = {
|
|
17439
17445
|
name: "autolink",
|
|
17440
17446
|
tokenize: tokenizeAutolink
|
|
@@ -17446,7 +17452,7 @@ function tokenizeAutolink(effects, ok2, nok) {
|
|
|
17446
17452
|
return effects.enter("autolink"), effects.enter("autolinkMarker"), effects.consume(code2), effects.exit("autolinkMarker"), effects.enter("autolinkProtocol"), open;
|
|
17447
17453
|
}
|
|
17448
17454
|
function open(code2) {
|
|
17449
|
-
return asciiAlpha(code2) ? (effects.consume(code2), schemeOrEmailAtext) :
|
|
17455
|
+
return asciiAlpha(code2) ? (effects.consume(code2), schemeOrEmailAtext) : emailAtext(code2);
|
|
17450
17456
|
}
|
|
17451
17457
|
function schemeOrEmailAtext(code2) {
|
|
17452
17458
|
return code2 === 43 || code2 === 45 || code2 === 46 || asciiAlphanumeric(code2) ? (size = 1, schemeInsideOrEmailAtext(code2)) : emailAtext(code2);
|
|
@@ -17475,10 +17481,10 @@ function tokenizeAutolink(effects, ok2, nok) {
|
|
|
17475
17481
|
}
|
|
17476
17482
|
}
|
|
17477
17483
|
|
|
17478
|
-
//
|
|
17484
|
+
// ../../../node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
17479
17485
|
var blankLine = {
|
|
17480
|
-
|
|
17481
|
-
|
|
17486
|
+
tokenize: tokenizeBlankLine,
|
|
17487
|
+
partial: !0
|
|
17482
17488
|
};
|
|
17483
17489
|
function tokenizeBlankLine(effects, ok2, nok) {
|
|
17484
17490
|
return start2;
|
|
@@ -17490,14 +17496,14 @@ function tokenizeBlankLine(effects, ok2, nok) {
|
|
|
17490
17496
|
}
|
|
17491
17497
|
}
|
|
17492
17498
|
|
|
17493
|
-
//
|
|
17499
|
+
// ../../../node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
17494
17500
|
var blockQuote = {
|
|
17501
|
+
name: "blockQuote",
|
|
17502
|
+
tokenize: tokenizeBlockQuoteStart,
|
|
17495
17503
|
continuation: {
|
|
17496
17504
|
tokenize: tokenizeBlockQuoteContinuation
|
|
17497
17505
|
},
|
|
17498
|
-
exit
|
|
17499
|
-
name: "blockQuote",
|
|
17500
|
-
tokenize: tokenizeBlockQuoteStart
|
|
17506
|
+
exit
|
|
17501
17507
|
};
|
|
17502
17508
|
function tokenizeBlockQuoteStart(effects, ok2, nok) {
|
|
17503
17509
|
let self2 = this;
|
|
@@ -17519,7 +17525,12 @@ function tokenizeBlockQuoteContinuation(effects, ok2, nok) {
|
|
|
17519
17525
|
let self2 = this;
|
|
17520
17526
|
return contStart;
|
|
17521
17527
|
function contStart(code2) {
|
|
17522
|
-
return markdownSpace(code2) ? factorySpace(
|
|
17528
|
+
return markdownSpace(code2) ? factorySpace(
|
|
17529
|
+
effects,
|
|
17530
|
+
contBefore,
|
|
17531
|
+
"linePrefix",
|
|
17532
|
+
self2.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
17533
|
+
)(code2) : contBefore(code2);
|
|
17523
17534
|
}
|
|
17524
17535
|
function contBefore(code2) {
|
|
17525
17536
|
return effects.attempt(blockQuote, ok2, nok)(code2);
|
|
@@ -17529,7 +17540,7 @@ function exit(effects) {
|
|
|
17529
17540
|
effects.exit("blockQuote");
|
|
17530
17541
|
}
|
|
17531
17542
|
|
|
17532
|
-
//
|
|
17543
|
+
// ../../../node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
17533
17544
|
var characterEscape = {
|
|
17534
17545
|
name: "characterEscape",
|
|
17535
17546
|
tokenize: tokenizeCharacterEscape
|
|
@@ -17544,7 +17555,7 @@ function tokenizeCharacterEscape(effects, ok2, nok) {
|
|
|
17544
17555
|
}
|
|
17545
17556
|
}
|
|
17546
17557
|
|
|
17547
|
-
//
|
|
17558
|
+
// ../../../node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
17548
17559
|
var characterReference = {
|
|
17549
17560
|
name: "characterReference",
|
|
17550
17561
|
tokenize: tokenizeCharacterReference
|
|
@@ -17570,19 +17581,19 @@ function tokenizeCharacterReference(effects, ok2, nok) {
|
|
|
17570
17581
|
}
|
|
17571
17582
|
}
|
|
17572
17583
|
|
|
17573
|
-
//
|
|
17584
|
+
// ../../../node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
17574
17585
|
var nonLazyContinuation = {
|
|
17575
|
-
|
|
17576
|
-
|
|
17586
|
+
tokenize: tokenizeNonLazyContinuation,
|
|
17587
|
+
partial: !0
|
|
17577
17588
|
}, codeFenced = {
|
|
17578
|
-
concrete: !0,
|
|
17579
17589
|
name: "codeFenced",
|
|
17580
|
-
tokenize: tokenizeCodeFenced
|
|
17590
|
+
tokenize: tokenizeCodeFenced,
|
|
17591
|
+
concrete: !0
|
|
17581
17592
|
};
|
|
17582
17593
|
function tokenizeCodeFenced(effects, ok2, nok) {
|
|
17583
17594
|
let self2 = this, closeStart = {
|
|
17584
|
-
|
|
17585
|
-
|
|
17595
|
+
tokenize: tokenizeCloseStart,
|
|
17596
|
+
partial: !0
|
|
17586
17597
|
}, initialPrefix = 0, sizeOpen = 0, marker;
|
|
17587
17598
|
return start2;
|
|
17588
17599
|
function start2(code2) {
|
|
@@ -17618,7 +17629,12 @@ function tokenizeCodeFenced(effects, ok2, nok) {
|
|
|
17618
17629
|
return effects.enter("lineEnding"), effects.consume(code2), effects.exit("lineEnding"), contentStart;
|
|
17619
17630
|
}
|
|
17620
17631
|
function contentStart(code2) {
|
|
17621
|
-
return initialPrefix > 0 && markdownSpace(code2) ? factorySpace(
|
|
17632
|
+
return initialPrefix > 0 && markdownSpace(code2) ? factorySpace(
|
|
17633
|
+
effects,
|
|
17634
|
+
beforeContentChunk,
|
|
17635
|
+
"linePrefix",
|
|
17636
|
+
initialPrefix + 1
|
|
17637
|
+
)(code2) : beforeContentChunk(code2);
|
|
17622
17638
|
}
|
|
17623
17639
|
function beforeContentChunk(code2) {
|
|
17624
17640
|
return code2 === null || markdownLineEnding(code2) ? effects.check(nonLazyContinuation, atNonLazyBreak, after)(code2) : (effects.enter("codeFlowValue"), contentChunk(code2));
|
|
@@ -17636,7 +17652,12 @@ function tokenizeCodeFenced(effects, ok2, nok) {
|
|
|
17636
17652
|
return effects2.enter("lineEnding"), effects2.consume(code2), effects2.exit("lineEnding"), start3;
|
|
17637
17653
|
}
|
|
17638
17654
|
function start3(code2) {
|
|
17639
|
-
return effects2.enter("codeFencedFence"), markdownSpace(code2) ? factorySpace(
|
|
17655
|
+
return effects2.enter("codeFencedFence"), markdownSpace(code2) ? factorySpace(
|
|
17656
|
+
effects2,
|
|
17657
|
+
beforeSequenceClose,
|
|
17658
|
+
"linePrefix",
|
|
17659
|
+
self2.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
17660
|
+
)(code2) : beforeSequenceClose(code2);
|
|
17640
17661
|
}
|
|
17641
17662
|
function beforeSequenceClose(code2) {
|
|
17642
17663
|
return code2 === marker ? (effects2.enter("codeFencedFenceSequence"), sequenceClose(code2)) : nok2(code2);
|
|
@@ -17660,13 +17681,13 @@ function tokenizeNonLazyContinuation(effects, ok2, nok) {
|
|
|
17660
17681
|
}
|
|
17661
17682
|
}
|
|
17662
17683
|
|
|
17663
|
-
//
|
|
17684
|
+
// ../../../node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
17664
17685
|
var codeIndented = {
|
|
17665
17686
|
name: "codeIndented",
|
|
17666
17687
|
tokenize: tokenizeCodeIndented
|
|
17667
17688
|
}, furtherStart = {
|
|
17668
|
-
|
|
17669
|
-
|
|
17689
|
+
tokenize: tokenizeFurtherStart,
|
|
17690
|
+
partial: !0
|
|
17670
17691
|
};
|
|
17671
17692
|
function tokenizeCodeIndented(effects, ok2, nok) {
|
|
17672
17693
|
let self2 = this;
|
|
@@ -17700,12 +17721,12 @@ function tokenizeFurtherStart(effects, ok2, nok) {
|
|
|
17700
17721
|
}
|
|
17701
17722
|
}
|
|
17702
17723
|
|
|
17703
|
-
//
|
|
17724
|
+
// ../../../node_modules/micromark-core-commonmark/lib/code-text.js
|
|
17704
17725
|
var codeText = {
|
|
17705
17726
|
name: "codeText",
|
|
17706
|
-
|
|
17727
|
+
tokenize: tokenizeCodeText,
|
|
17707
17728
|
resolve: resolveCodeText,
|
|
17708
|
-
|
|
17729
|
+
previous
|
|
17709
17730
|
};
|
|
17710
17731
|
function resolveCodeText(events) {
|
|
17711
17732
|
let tailExitIndex = events.length - 4, headEnterIndex = 3, index2, enter;
|
|
@@ -17743,210 +17764,29 @@ function tokenizeCodeText(effects, ok2, nok) {
|
|
|
17743
17764
|
}
|
|
17744
17765
|
}
|
|
17745
17766
|
|
|
17746
|
-
//
|
|
17747
|
-
|
|
17748
|
-
|
|
17749
|
-
* @param {ReadonlyArray<T> | null | undefined} [initial]
|
|
17750
|
-
* Initial items (optional).
|
|
17751
|
-
* @returns
|
|
17752
|
-
* Splice buffer.
|
|
17753
|
-
*/
|
|
17754
|
-
constructor(initial) {
|
|
17755
|
-
this.left = initial ? [...initial] : [], this.right = [];
|
|
17756
|
-
}
|
|
17757
|
-
/**
|
|
17758
|
-
* Array access;
|
|
17759
|
-
* does not move the cursor.
|
|
17760
|
-
*
|
|
17761
|
-
* @param {number} index
|
|
17762
|
-
* Index.
|
|
17763
|
-
* @return {T}
|
|
17764
|
-
* Item.
|
|
17765
|
-
*/
|
|
17766
|
-
get(index2) {
|
|
17767
|
-
if (index2 < 0 || index2 >= this.left.length + this.right.length)
|
|
17768
|
-
throw new RangeError("Cannot access index `" + index2 + "` in a splice buffer of size `" + (this.left.length + this.right.length) + "`");
|
|
17769
|
-
return index2 < this.left.length ? this.left[index2] : this.right[this.right.length - index2 + this.left.length - 1];
|
|
17770
|
-
}
|
|
17771
|
-
/**
|
|
17772
|
-
* The length of the splice buffer, one greater than the largest index in the
|
|
17773
|
-
* array.
|
|
17774
|
-
*/
|
|
17775
|
-
get length() {
|
|
17776
|
-
return this.left.length + this.right.length;
|
|
17777
|
-
}
|
|
17778
|
-
/**
|
|
17779
|
-
* Remove and return `list[0]`;
|
|
17780
|
-
* moves the cursor to `0`.
|
|
17781
|
-
*
|
|
17782
|
-
* @returns {T | undefined}
|
|
17783
|
-
* Item, optional.
|
|
17784
|
-
*/
|
|
17785
|
-
shift() {
|
|
17786
|
-
return this.setCursor(0), this.right.pop();
|
|
17787
|
-
}
|
|
17788
|
-
/**
|
|
17789
|
-
* Slice the buffer to get an array;
|
|
17790
|
-
* does not move the cursor.
|
|
17791
|
-
*
|
|
17792
|
-
* @param {number} start
|
|
17793
|
-
* Start.
|
|
17794
|
-
* @param {number | null | undefined} [end]
|
|
17795
|
-
* End (optional).
|
|
17796
|
-
* @returns {Array<T>}
|
|
17797
|
-
* Array of items.
|
|
17798
|
-
*/
|
|
17799
|
-
slice(start2, end) {
|
|
17800
|
-
let stop = end ?? Number.POSITIVE_INFINITY;
|
|
17801
|
-
return stop < this.left.length ? this.left.slice(start2, stop) : start2 > this.left.length ? this.right.slice(this.right.length - stop + this.left.length, this.right.length - start2 + this.left.length).reverse() : this.left.slice(start2).concat(this.right.slice(this.right.length - stop + this.left.length).reverse());
|
|
17802
|
-
}
|
|
17803
|
-
/**
|
|
17804
|
-
* Mimics the behavior of Array.prototype.splice() except for the change of
|
|
17805
|
-
* interface necessary to avoid segfaults when patching in very large arrays.
|
|
17806
|
-
*
|
|
17807
|
-
* This operation moves cursor is moved to `start` and results in the cursor
|
|
17808
|
-
* placed after any inserted items.
|
|
17809
|
-
*
|
|
17810
|
-
* @param {number} start
|
|
17811
|
-
* Start;
|
|
17812
|
-
* zero-based index at which to start changing the array;
|
|
17813
|
-
* negative numbers count backwards from the end of the array and values
|
|
17814
|
-
* that are out-of bounds are clamped to the appropriate end of the array.
|
|
17815
|
-
* @param {number | null | undefined} [deleteCount=0]
|
|
17816
|
-
* Delete count (default: `0`);
|
|
17817
|
-
* maximum number of elements to delete, starting from start.
|
|
17818
|
-
* @param {Array<T> | null | undefined} [items=[]]
|
|
17819
|
-
* Items to include in place of the deleted items (default: `[]`).
|
|
17820
|
-
* @return {Array<T>}
|
|
17821
|
-
* Any removed items.
|
|
17822
|
-
*/
|
|
17823
|
-
splice(start2, deleteCount, items) {
|
|
17824
|
-
let count = deleteCount || 0;
|
|
17825
|
-
this.setCursor(Math.trunc(start2));
|
|
17826
|
-
let removed = this.right.splice(this.right.length - count, Number.POSITIVE_INFINITY);
|
|
17827
|
-
return items && chunkedPush(this.left, items), removed.reverse();
|
|
17828
|
-
}
|
|
17829
|
-
/**
|
|
17830
|
-
* Remove and return the highest-numbered item in the array, so
|
|
17831
|
-
* `list[list.length - 1]`;
|
|
17832
|
-
* Moves the cursor to `length`.
|
|
17833
|
-
*
|
|
17834
|
-
* @returns {T | undefined}
|
|
17835
|
-
* Item, optional.
|
|
17836
|
-
*/
|
|
17837
|
-
pop() {
|
|
17838
|
-
return this.setCursor(Number.POSITIVE_INFINITY), this.left.pop();
|
|
17839
|
-
}
|
|
17840
|
-
/**
|
|
17841
|
-
* Inserts a single item to the high-numbered side of the array;
|
|
17842
|
-
* moves the cursor to `length`.
|
|
17843
|
-
*
|
|
17844
|
-
* @param {T} item
|
|
17845
|
-
* Item.
|
|
17846
|
-
* @returns {undefined}
|
|
17847
|
-
* Nothing.
|
|
17848
|
-
*/
|
|
17849
|
-
push(item) {
|
|
17850
|
-
this.setCursor(Number.POSITIVE_INFINITY), this.left.push(item);
|
|
17851
|
-
}
|
|
17852
|
-
/**
|
|
17853
|
-
* Inserts many items to the high-numbered side of the array.
|
|
17854
|
-
* Moves the cursor to `length`.
|
|
17855
|
-
*
|
|
17856
|
-
* @param {Array<T>} items
|
|
17857
|
-
* Items.
|
|
17858
|
-
* @returns {undefined}
|
|
17859
|
-
* Nothing.
|
|
17860
|
-
*/
|
|
17861
|
-
pushMany(items) {
|
|
17862
|
-
this.setCursor(Number.POSITIVE_INFINITY), chunkedPush(this.left, items);
|
|
17863
|
-
}
|
|
17864
|
-
/**
|
|
17865
|
-
* Inserts a single item to the low-numbered side of the array;
|
|
17866
|
-
* Moves the cursor to `0`.
|
|
17867
|
-
*
|
|
17868
|
-
* @param {T} item
|
|
17869
|
-
* Item.
|
|
17870
|
-
* @returns {undefined}
|
|
17871
|
-
* Nothing.
|
|
17872
|
-
*/
|
|
17873
|
-
unshift(item) {
|
|
17874
|
-
this.setCursor(0), this.right.push(item);
|
|
17875
|
-
}
|
|
17876
|
-
/**
|
|
17877
|
-
* Inserts many items to the low-numbered side of the array;
|
|
17878
|
-
* moves the cursor to `0`.
|
|
17879
|
-
*
|
|
17880
|
-
* @param {Array<T>} items
|
|
17881
|
-
* Items.
|
|
17882
|
-
* @returns {undefined}
|
|
17883
|
-
* Nothing.
|
|
17884
|
-
*/
|
|
17885
|
-
unshiftMany(items) {
|
|
17886
|
-
this.setCursor(0), chunkedPush(this.right, items.reverse());
|
|
17887
|
-
}
|
|
17888
|
-
/**
|
|
17889
|
-
* Move the cursor to a specific position in the array. Requires
|
|
17890
|
-
* time proportional to the distance moved.
|
|
17891
|
-
*
|
|
17892
|
-
* If `n < 0`, the cursor will end up at the beginning.
|
|
17893
|
-
* If `n > length`, the cursor will end up at the end.
|
|
17894
|
-
*
|
|
17895
|
-
* @param {number} n
|
|
17896
|
-
* Position.
|
|
17897
|
-
* @return {undefined}
|
|
17898
|
-
* Nothing.
|
|
17899
|
-
*/
|
|
17900
|
-
setCursor(n) {
|
|
17901
|
-
if (!(n === this.left.length || n > this.left.length && this.right.length === 0 || n < 0 && this.left.length === 0))
|
|
17902
|
-
if (n < this.left.length) {
|
|
17903
|
-
let removed = this.left.splice(n, Number.POSITIVE_INFINITY);
|
|
17904
|
-
chunkedPush(this.right, removed.reverse());
|
|
17905
|
-
} else {
|
|
17906
|
-
let removed = this.right.splice(this.left.length + this.right.length - n, Number.POSITIVE_INFINITY);
|
|
17907
|
-
chunkedPush(this.left, removed.reverse());
|
|
17908
|
-
}
|
|
17909
|
-
}
|
|
17910
|
-
};
|
|
17911
|
-
function chunkedPush(list3, right) {
|
|
17912
|
-
let chunkStart = 0;
|
|
17913
|
-
if (right.length < 1e4)
|
|
17914
|
-
list3.push(...right);
|
|
17915
|
-
else
|
|
17916
|
-
for (; chunkStart < right.length; )
|
|
17917
|
-
list3.push(...right.slice(chunkStart, chunkStart + 1e4)), chunkStart += 1e4;
|
|
17918
|
-
}
|
|
17919
|
-
|
|
17920
|
-
// ../../node_modules/micromark-util-subtokenize/index.js
|
|
17921
|
-
function subtokenize(eventsArray) {
|
|
17922
|
-
let jumps = {}, index2 = -1, event, lineIndex, otherIndex, otherEvent, parameters, subevents, more, events = new SpliceBuffer(eventsArray);
|
|
17767
|
+
// ../../../node_modules/micromark-util-subtokenize/index.js
|
|
17768
|
+
function subtokenize(events) {
|
|
17769
|
+
let jumps = {}, index2 = -1, event, lineIndex, otherIndex, otherEvent, parameters, subevents, more;
|
|
17923
17770
|
for (; ++index2 < events.length; ) {
|
|
17924
17771
|
for (; index2 in jumps; )
|
|
17925
17772
|
index2 = jumps[index2];
|
|
17926
|
-
if (event = events
|
|
17773
|
+
if (event = events[index2], index2 && event[1].type === "chunkFlow" && events[index2 - 1][1].type === "listItemPrefix" && (subevents = event[1]._tokenizer.events, otherIndex = 0, otherIndex < subevents.length && subevents[otherIndex][1].type === "lineEndingBlank" && (otherIndex += 2), otherIndex < subevents.length && subevents[otherIndex][1].type === "content"))
|
|
17927
17774
|
for (; ++otherIndex < subevents.length && subevents[otherIndex][1].type !== "content"; )
|
|
17928
17775
|
subevents[otherIndex][1].type === "chunkText" && (subevents[otherIndex][1]._isInFirstContentOfListItem = !0, otherIndex++);
|
|
17929
17776
|
if (event[0] === "enter")
|
|
17930
17777
|
event[1].contentType && (Object.assign(jumps, subcontent(events, index2)), index2 = jumps[index2], more = !0);
|
|
17931
17778
|
else if (event[1]._container) {
|
|
17932
|
-
for (otherIndex = index2, lineIndex = void 0; otherIndex
|
|
17933
|
-
|
|
17934
|
-
|
|
17935
|
-
else if (!(otherEvent[1].type === "linePrefix" || otherEvent[1].type === "listItemIndent"))
|
|
17936
|
-
break;
|
|
17937
|
-
lineIndex && (event[1].end = {
|
|
17938
|
-
...events.get(lineIndex)[1].start
|
|
17939
|
-
}, parameters = events.slice(lineIndex, index2), parameters.unshift(event), events.splice(lineIndex, index2 - lineIndex + 1, parameters));
|
|
17779
|
+
for (otherIndex = index2, lineIndex = void 0; otherIndex-- && (otherEvent = events[otherIndex], otherEvent[1].type === "lineEnding" || otherEvent[1].type === "lineEndingBlank"); )
|
|
17780
|
+
otherEvent[0] === "enter" && (lineIndex && (events[lineIndex][1].type = "lineEndingBlank"), otherEvent[1].type = "lineEnding", lineIndex = otherIndex);
|
|
17781
|
+
lineIndex && (event[1].end = Object.assign({}, events[lineIndex][1].start), parameters = events.slice(lineIndex, index2), parameters.unshift(event), splice(events, lineIndex, index2 - lineIndex + 1, parameters));
|
|
17940
17782
|
}
|
|
17941
17783
|
}
|
|
17942
|
-
return
|
|
17784
|
+
return !more;
|
|
17943
17785
|
}
|
|
17944
17786
|
function subcontent(events, eventIndex) {
|
|
17945
|
-
let token = events
|
|
17946
|
-
tokenizer2 || (tokenizer2 = context.parser[token.contentType](token.start), token._contentTypeTextTrailing && (tokenizer2._contentTypeTextTrailing = !0));
|
|
17947
|
-
let childEvents = tokenizer2.events, jumps = [], gaps = {}, stream, previous2, index2 = -1, current2 = token, adjust = 0, start2 = 0, breaks = [start2];
|
|
17787
|
+
let token = events[eventIndex][1], context = events[eventIndex][2], startPosition = eventIndex - 1, startPositions = [], tokenizer2 = token._tokenizer || context.parser[token.contentType](token.start), childEvents = tokenizer2.events, jumps = [], gaps = {}, stream, previous2, index2 = -1, current2 = token, adjust = 0, start2 = 0, breaks = [start2];
|
|
17948
17788
|
for (; current2; ) {
|
|
17949
|
-
for (; events
|
|
17789
|
+
for (; events[++startPosition][1] !== current2; )
|
|
17950
17790
|
;
|
|
17951
17791
|
startPositions.push(startPosition), current2._tokenizer || (stream = context.sliceStream(current2), current2.next || stream.push(null), previous2 && tokenizer2.defineSkip(current2.start), current2._isInFirstContentOfListItem && (tokenizer2._gfmTasklistFirstContentOfListItem = !0), tokenizer2.write(stream), current2._isInFirstContentOfListItem && (tokenizer2._gfmTasklistFirstContentOfListItem = void 0)), previous2 = current2, current2 = current2.next;
|
|
17952
17792
|
}
|
|
@@ -17955,20 +17795,20 @@ function subcontent(events, eventIndex) {
|
|
|
17955
17795
|
childEvents[index2][0] === "exit" && childEvents[index2 - 1][0] === "enter" && childEvents[index2][1].type === childEvents[index2 - 1][1].type && childEvents[index2][1].start.line !== childEvents[index2][1].end.line && (start2 = index2 + 1, breaks.push(start2), current2._tokenizer = void 0, current2.previous = void 0, current2 = current2.next);
|
|
17956
17796
|
for (tokenizer2.events = [], current2 ? (current2._tokenizer = void 0, current2.previous = void 0) : breaks.pop(), index2 = breaks.length; index2--; ) {
|
|
17957
17797
|
let slice2 = childEvents.slice(breaks[index2], breaks[index2 + 1]), start3 = startPositions.pop();
|
|
17958
|
-
jumps.
|
|
17798
|
+
jumps.unshift([start3, start3 + slice2.length - 1]), splice(events, start3, 2, slice2);
|
|
17959
17799
|
}
|
|
17960
|
-
for (
|
|
17800
|
+
for (index2 = -1; ++index2 < jumps.length; )
|
|
17961
17801
|
gaps[adjust + jumps[index2][0]] = adjust + jumps[index2][1], adjust += jumps[index2][1] - jumps[index2][0] - 1;
|
|
17962
17802
|
return gaps;
|
|
17963
17803
|
}
|
|
17964
17804
|
|
|
17965
|
-
//
|
|
17805
|
+
// ../../../node_modules/micromark-core-commonmark/lib/content.js
|
|
17966
17806
|
var content = {
|
|
17967
|
-
|
|
17968
|
-
|
|
17807
|
+
tokenize: tokenizeContent,
|
|
17808
|
+
resolve: resolveContent
|
|
17969
17809
|
}, continuationConstruct = {
|
|
17970
|
-
|
|
17971
|
-
|
|
17810
|
+
tokenize: tokenizeContinuation,
|
|
17811
|
+
partial: !0
|
|
17972
17812
|
};
|
|
17973
17813
|
function resolveContent(events) {
|
|
17974
17814
|
return subtokenize(events), events;
|
|
@@ -17982,7 +17822,11 @@ function tokenizeContent(effects, ok2) {
|
|
|
17982
17822
|
}), chunkInside(code2);
|
|
17983
17823
|
}
|
|
17984
17824
|
function chunkInside(code2) {
|
|
17985
|
-
return code2 === null ? contentEnd(code2) : markdownLineEnding(code2) ? effects.check(
|
|
17825
|
+
return code2 === null ? contentEnd(code2) : markdownLineEnding(code2) ? effects.check(
|
|
17826
|
+
continuationConstruct,
|
|
17827
|
+
contentContinue,
|
|
17828
|
+
contentEnd
|
|
17829
|
+
)(code2) : (effects.consume(code2), chunkInside);
|
|
17986
17830
|
}
|
|
17987
17831
|
function contentEnd(code2) {
|
|
17988
17832
|
return effects.exit("chunkContent"), effects.exit("content"), ok2(code2);
|
|
@@ -18008,7 +17852,7 @@ function tokenizeContinuation(effects, ok2, nok) {
|
|
|
18008
17852
|
}
|
|
18009
17853
|
}
|
|
18010
17854
|
|
|
18011
|
-
//
|
|
17855
|
+
// ../../../node_modules/micromark-factory-destination/index.js
|
|
18012
17856
|
function factoryDestination(effects, ok2, nok, type, literalType, literalMarkerType, rawType, stringType, max) {
|
|
18013
17857
|
let limit = max || Number.POSITIVE_INFINITY, balance = 0;
|
|
18014
17858
|
return start2;
|
|
@@ -18036,7 +17880,7 @@ function factoryDestination(effects, ok2, nok, type, literalType, literalMarkerT
|
|
|
18036
17880
|
}
|
|
18037
17881
|
}
|
|
18038
17882
|
|
|
18039
|
-
//
|
|
17883
|
+
// ../../../node_modules/micromark-factory-label/index.js
|
|
18040
17884
|
function factoryLabel(effects, ok2, nok, type, markerType, stringType) {
|
|
18041
17885
|
let self2 = this, size = 0, seen;
|
|
18042
17886
|
return start2;
|
|
@@ -18061,7 +17905,7 @@ function factoryLabel(effects, ok2, nok, type, markerType, stringType) {
|
|
|
18061
17905
|
}
|
|
18062
17906
|
}
|
|
18063
17907
|
|
|
18064
|
-
//
|
|
17908
|
+
// ../../../node_modules/micromark-factory-title/index.js
|
|
18065
17909
|
function factoryTitle(effects, ok2, nok, type, markerType, stringType) {
|
|
18066
17910
|
let marker;
|
|
18067
17911
|
return start2;
|
|
@@ -18084,27 +17928,31 @@ function factoryTitle(effects, ok2, nok, type, markerType, stringType) {
|
|
|
18084
17928
|
}
|
|
18085
17929
|
}
|
|
18086
17930
|
|
|
18087
|
-
//
|
|
17931
|
+
// ../../../node_modules/micromark-factory-whitespace/index.js
|
|
18088
17932
|
function factoryWhitespace(effects, ok2) {
|
|
18089
17933
|
let seen;
|
|
18090
17934
|
return start2;
|
|
18091
17935
|
function start2(code2) {
|
|
18092
|
-
return markdownLineEnding(code2) ? (effects.enter("lineEnding"), effects.consume(code2), effects.exit("lineEnding"), seen = !0, start2) : markdownSpace(code2) ? factorySpace(
|
|
17936
|
+
return markdownLineEnding(code2) ? (effects.enter("lineEnding"), effects.consume(code2), effects.exit("lineEnding"), seen = !0, start2) : markdownSpace(code2) ? factorySpace(
|
|
17937
|
+
effects,
|
|
17938
|
+
start2,
|
|
17939
|
+
seen ? "linePrefix" : "lineSuffix"
|
|
17940
|
+
)(code2) : ok2(code2);
|
|
18093
17941
|
}
|
|
18094
17942
|
}
|
|
18095
17943
|
|
|
18096
|
-
//
|
|
17944
|
+
// ../../../node_modules/micromark-util-normalize-identifier/index.js
|
|
18097
17945
|
function normalizeIdentifier(value) {
|
|
18098
17946
|
return value.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
18099
17947
|
}
|
|
18100
17948
|
|
|
18101
|
-
//
|
|
17949
|
+
// ../../../node_modules/micromark-core-commonmark/lib/definition.js
|
|
18102
17950
|
var definition = {
|
|
18103
17951
|
name: "definition",
|
|
18104
17952
|
tokenize: tokenizeDefinition
|
|
18105
17953
|
}, titleBefore = {
|
|
18106
|
-
|
|
18107
|
-
|
|
17954
|
+
tokenize: tokenizeTitleBefore,
|
|
17955
|
+
partial: !0
|
|
18108
17956
|
};
|
|
18109
17957
|
function tokenizeDefinition(effects, ok2, nok) {
|
|
18110
17958
|
let self2 = this, identifier;
|
|
@@ -18125,7 +17973,9 @@ function tokenizeDefinition(effects, ok2, nok) {
|
|
|
18125
17973
|
)(code2);
|
|
18126
17974
|
}
|
|
18127
17975
|
function labelAfter(code2) {
|
|
18128
|
-
return identifier = normalizeIdentifier(
|
|
17976
|
+
return identifier = normalizeIdentifier(
|
|
17977
|
+
self2.sliceSerialize(self2.events[self2.events.length - 1][1]).slice(1, -1)
|
|
17978
|
+
), code2 === 58 ? (effects.enter("definitionMarker"), effects.consume(code2), effects.exit("definitionMarker"), markerAfter) : nok(code2);
|
|
18129
17979
|
}
|
|
18130
17980
|
function markerAfter(code2) {
|
|
18131
17981
|
return markdownLineEndingOrSpace(code2) ? factoryWhitespace(effects, destinationBefore)(code2) : destinationBefore(code2);
|
|
@@ -18159,7 +18009,14 @@ function tokenizeTitleBefore(effects, ok2, nok) {
|
|
|
18159
18009
|
return markdownLineEndingOrSpace(code2) ? factoryWhitespace(effects, beforeMarker)(code2) : nok(code2);
|
|
18160
18010
|
}
|
|
18161
18011
|
function beforeMarker(code2) {
|
|
18162
|
-
return factoryTitle(
|
|
18012
|
+
return factoryTitle(
|
|
18013
|
+
effects,
|
|
18014
|
+
titleAfter,
|
|
18015
|
+
nok,
|
|
18016
|
+
"definitionTitle",
|
|
18017
|
+
"definitionTitleMarker",
|
|
18018
|
+
"definitionTitleString"
|
|
18019
|
+
)(code2);
|
|
18163
18020
|
}
|
|
18164
18021
|
function titleAfter(code2) {
|
|
18165
18022
|
return markdownSpace(code2) ? factorySpace(effects, titleAfterOptionalWhitespace, "whitespace")(code2) : titleAfterOptionalWhitespace(code2);
|
|
@@ -18169,7 +18026,7 @@ function tokenizeTitleBefore(effects, ok2, nok) {
|
|
|
18169
18026
|
}
|
|
18170
18027
|
}
|
|
18171
18028
|
|
|
18172
|
-
//
|
|
18029
|
+
// ../../../node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
18173
18030
|
var hardBreakEscape = {
|
|
18174
18031
|
name: "hardBreakEscape",
|
|
18175
18032
|
tokenize: tokenizeHardBreakEscape
|
|
@@ -18184,11 +18041,11 @@ function tokenizeHardBreakEscape(effects, ok2, nok) {
|
|
|
18184
18041
|
}
|
|
18185
18042
|
}
|
|
18186
18043
|
|
|
18187
|
-
//
|
|
18044
|
+
// ../../../node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
18188
18045
|
var headingAtx = {
|
|
18189
18046
|
name: "headingAtx",
|
|
18190
|
-
|
|
18191
|
-
|
|
18047
|
+
tokenize: tokenizeHeadingAtx,
|
|
18048
|
+
resolve: resolveHeadingAtx
|
|
18192
18049
|
};
|
|
18193
18050
|
function resolveHeadingAtx(events, context) {
|
|
18194
18051
|
let contentEnd = events.length - 2, contentStart = 3, content3, text5;
|
|
@@ -18201,7 +18058,12 @@ function resolveHeadingAtx(events, context) {
|
|
|
18201
18058
|
start: events[contentStart][1].start,
|
|
18202
18059
|
end: events[contentEnd][1].end,
|
|
18203
18060
|
contentType: "text"
|
|
18204
|
-
}, splice(events, contentStart, contentEnd - contentStart + 1, [
|
|
18061
|
+
}, splice(events, contentStart, contentEnd - contentStart + 1, [
|
|
18062
|
+
["enter", content3, context],
|
|
18063
|
+
["enter", text5, context],
|
|
18064
|
+
["exit", text5, context],
|
|
18065
|
+
["exit", content3, context]
|
|
18066
|
+
])), events;
|
|
18205
18067
|
}
|
|
18206
18068
|
function tokenizeHeadingAtx(effects, ok2, nok) {
|
|
18207
18069
|
let size = 0;
|
|
@@ -18226,7 +18088,7 @@ function tokenizeHeadingAtx(effects, ok2, nok) {
|
|
|
18226
18088
|
}
|
|
18227
18089
|
}
|
|
18228
18090
|
|
|
18229
|
-
//
|
|
18091
|
+
// ../../../node_modules/micromark-util-html-tag-name/index.js
|
|
18230
18092
|
var htmlBlockNames = [
|
|
18231
18093
|
"address",
|
|
18232
18094
|
"article",
|
|
@@ -18292,18 +18154,18 @@ var htmlBlockNames = [
|
|
|
18292
18154
|
"ul"
|
|
18293
18155
|
], htmlRawNames = ["pre", "script", "style", "textarea"];
|
|
18294
18156
|
|
|
18295
|
-
//
|
|
18157
|
+
// ../../../node_modules/micromark-core-commonmark/lib/html-flow.js
|
|
18296
18158
|
var htmlFlow = {
|
|
18297
|
-
concrete: !0,
|
|
18298
18159
|
name: "htmlFlow",
|
|
18160
|
+
tokenize: tokenizeHtmlFlow,
|
|
18299
18161
|
resolveTo: resolveToHtmlFlow,
|
|
18300
|
-
|
|
18162
|
+
concrete: !0
|
|
18301
18163
|
}, blankLineBefore = {
|
|
18302
|
-
|
|
18303
|
-
|
|
18164
|
+
tokenize: tokenizeBlankLineBefore,
|
|
18165
|
+
partial: !0
|
|
18304
18166
|
}, nonLazyContinuationStart = {
|
|
18305
|
-
|
|
18306
|
-
|
|
18167
|
+
tokenize: tokenizeNonLazyContinuationStart,
|
|
18168
|
+
partial: !0
|
|
18307
18169
|
};
|
|
18308
18170
|
function resolveToHtmlFlow(events) {
|
|
18309
18171
|
let index2 = events.length;
|
|
@@ -18377,10 +18239,18 @@ function tokenizeHtmlFlow(effects, ok2, nok) {
|
|
|
18377
18239
|
return code2 === null || markdownLineEnding(code2) ? continuation(code2) : markdownSpace(code2) ? (effects.consume(code2), completeAfter) : nok(code2);
|
|
18378
18240
|
}
|
|
18379
18241
|
function continuation(code2) {
|
|
18380
|
-
return code2 === 45 && marker === 2 ? (effects.consume(code2), continuationCommentInside) : code2 === 60 && marker === 1 ? (effects.consume(code2), continuationRawTagOpen) : code2 === 62 && marker === 4 ? (effects.consume(code2), continuationClose) : code2 === 63 && marker === 3 ? (effects.consume(code2), continuationDeclarationInside) : code2 === 93 && marker === 5 ? (effects.consume(code2), continuationCdataInside) : markdownLineEnding(code2) && (marker === 6 || marker === 7) ? (effects.exit("htmlFlowData"), effects.check(
|
|
18242
|
+
return code2 === 45 && marker === 2 ? (effects.consume(code2), continuationCommentInside) : code2 === 60 && marker === 1 ? (effects.consume(code2), continuationRawTagOpen) : code2 === 62 && marker === 4 ? (effects.consume(code2), continuationClose) : code2 === 63 && marker === 3 ? (effects.consume(code2), continuationDeclarationInside) : code2 === 93 && marker === 5 ? (effects.consume(code2), continuationCdataInside) : markdownLineEnding(code2) && (marker === 6 || marker === 7) ? (effects.exit("htmlFlowData"), effects.check(
|
|
18243
|
+
blankLineBefore,
|
|
18244
|
+
continuationAfter,
|
|
18245
|
+
continuationStart
|
|
18246
|
+
)(code2)) : code2 === null || markdownLineEnding(code2) ? (effects.exit("htmlFlowData"), continuationStart(code2)) : (effects.consume(code2), continuation);
|
|
18381
18247
|
}
|
|
18382
18248
|
function continuationStart(code2) {
|
|
18383
|
-
return effects.check(
|
|
18249
|
+
return effects.check(
|
|
18250
|
+
nonLazyContinuationStart,
|
|
18251
|
+
continuationStartNonLazy,
|
|
18252
|
+
continuationAfter
|
|
18253
|
+
)(code2);
|
|
18384
18254
|
}
|
|
18385
18255
|
function continuationStartNonLazy(code2) {
|
|
18386
18256
|
return effects.enter("lineEnding"), effects.consume(code2), effects.exit("lineEnding"), continuationBefore;
|
|
@@ -18431,7 +18301,7 @@ function tokenizeBlankLineBefore(effects, ok2, nok) {
|
|
|
18431
18301
|
}
|
|
18432
18302
|
}
|
|
18433
18303
|
|
|
18434
|
-
//
|
|
18304
|
+
// ../../../node_modules/micromark-core-commonmark/lib/html-text.js
|
|
18435
18305
|
var htmlText = {
|
|
18436
18306
|
name: "htmlText",
|
|
18437
18307
|
tokenize: tokenizeHtmlText
|
|
@@ -18522,19 +18392,24 @@ function tokenizeHtmlText(effects, ok2, nok) {
|
|
|
18522
18392
|
return effects.exit("htmlTextData"), effects.enter("lineEnding"), effects.consume(code2), effects.exit("lineEnding"), lineEndingAfter;
|
|
18523
18393
|
}
|
|
18524
18394
|
function lineEndingAfter(code2) {
|
|
18525
|
-
return markdownSpace(code2) ? factorySpace(
|
|
18395
|
+
return markdownSpace(code2) ? factorySpace(
|
|
18396
|
+
effects,
|
|
18397
|
+
lineEndingAfterPrefix,
|
|
18398
|
+
"linePrefix",
|
|
18399
|
+
self2.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
18400
|
+
)(code2) : lineEndingAfterPrefix(code2);
|
|
18526
18401
|
}
|
|
18527
18402
|
function lineEndingAfterPrefix(code2) {
|
|
18528
18403
|
return effects.enter("htmlTextData"), returnState(code2);
|
|
18529
18404
|
}
|
|
18530
18405
|
}
|
|
18531
18406
|
|
|
18532
|
-
//
|
|
18407
|
+
// ../../../node_modules/micromark-core-commonmark/lib/label-end.js
|
|
18533
18408
|
var labelEnd = {
|
|
18534
18409
|
name: "labelEnd",
|
|
18535
|
-
|
|
18410
|
+
tokenize: tokenizeLabelEnd,
|
|
18536
18411
|
resolveTo: resolveToLabelEnd,
|
|
18537
|
-
|
|
18412
|
+
resolveAll: resolveAllLabelEnd
|
|
18538
18413
|
}, resourceConstruct = {
|
|
18539
18414
|
tokenize: tokenizeResource
|
|
18540
18415
|
}, referenceFullConstruct = {
|
|
@@ -18543,15 +18418,12 @@ var labelEnd = {
|
|
|
18543
18418
|
tokenize: tokenizeReferenceCollapsed
|
|
18544
18419
|
};
|
|
18545
18420
|
function resolveAllLabelEnd(events) {
|
|
18546
|
-
let index2 = -1
|
|
18421
|
+
let index2 = -1;
|
|
18547
18422
|
for (; ++index2 < events.length; ) {
|
|
18548
18423
|
let token = events[index2][1];
|
|
18549
|
-
|
|
18550
|
-
let offset2 = token.type === "labelImage" ? 4 : 2;
|
|
18551
|
-
token.type = "data", index2 += offset2;
|
|
18552
|
-
}
|
|
18424
|
+
(token.type === "labelImage" || token.type === "labelLink" || token.type === "labelEnd") && (events.splice(index2 + 1, token.type === "labelImage" ? 4 : 2), token.type = "data", index2++);
|
|
18553
18425
|
}
|
|
18554
|
-
return events
|
|
18426
|
+
return events;
|
|
18555
18427
|
}
|
|
18556
18428
|
function resolveToLabelEnd(events, context) {
|
|
18557
18429
|
let index2 = events.length, offset2 = 0, token, open, close, media;
|
|
@@ -18568,30 +18440,33 @@ function resolveToLabelEnd(events, context) {
|
|
|
18568
18440
|
} else token.type === "labelEnd" && (close = index2);
|
|
18569
18441
|
let group = {
|
|
18570
18442
|
type: events[open][1].type === "labelLink" ? "link" : "image",
|
|
18571
|
-
start: {
|
|
18572
|
-
|
|
18573
|
-
},
|
|
18574
|
-
end: {
|
|
18575
|
-
...events[events.length - 1][1].end
|
|
18576
|
-
}
|
|
18443
|
+
start: Object.assign({}, events[open][1].start),
|
|
18444
|
+
end: Object.assign({}, events[events.length - 1][1].end)
|
|
18577
18445
|
}, label = {
|
|
18578
18446
|
type: "label",
|
|
18579
|
-
start: {
|
|
18580
|
-
|
|
18581
|
-
},
|
|
18582
|
-
end: {
|
|
18583
|
-
...events[close][1].end
|
|
18584
|
-
}
|
|
18447
|
+
start: Object.assign({}, events[open][1].start),
|
|
18448
|
+
end: Object.assign({}, events[close][1].end)
|
|
18585
18449
|
}, text5 = {
|
|
18586
18450
|
type: "labelText",
|
|
18587
|
-
start: {
|
|
18588
|
-
|
|
18589
|
-
},
|
|
18590
|
-
end: {
|
|
18591
|
-
...events[close - 2][1].start
|
|
18592
|
-
}
|
|
18451
|
+
start: Object.assign({}, events[open + offset2 + 2][1].end),
|
|
18452
|
+
end: Object.assign({}, events[close - 2][1].start)
|
|
18593
18453
|
};
|
|
18594
|
-
return media = [
|
|
18454
|
+
return media = [
|
|
18455
|
+
["enter", group, context],
|
|
18456
|
+
["enter", label, context]
|
|
18457
|
+
], media = push(media, events.slice(open + 1, open + offset2 + 3)), media = push(media, [["enter", text5, context]]), media = push(
|
|
18458
|
+
media,
|
|
18459
|
+
resolveAll(
|
|
18460
|
+
context.parser.constructs.insideSpan.null,
|
|
18461
|
+
events.slice(open + offset2 + 4, close - 3),
|
|
18462
|
+
context
|
|
18463
|
+
)
|
|
18464
|
+
), media = push(media, [
|
|
18465
|
+
["exit", text5, context],
|
|
18466
|
+
events[close - 2],
|
|
18467
|
+
events[close - 1],
|
|
18468
|
+
["exit", label, context]
|
|
18469
|
+
]), media = push(media, events.slice(close + 1)), media = push(media, [["exit", group, context]]), splice(events, open, events.length, media), events;
|
|
18595
18470
|
}
|
|
18596
18471
|
function tokenizeLabelEnd(effects, ok2, nok) {
|
|
18597
18472
|
let self2 = this, index2 = self2.events.length, labelStart, defined;
|
|
@@ -18602,16 +18477,32 @@ function tokenizeLabelEnd(effects, ok2, nok) {
|
|
|
18602
18477
|
}
|
|
18603
18478
|
return start2;
|
|
18604
18479
|
function start2(code2) {
|
|
18605
|
-
return labelStart ? labelStart._inactive ? labelEndNok(code2) : (defined = self2.parser.defined.includes(
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18480
|
+
return labelStart ? labelStart._inactive ? labelEndNok(code2) : (defined = self2.parser.defined.includes(
|
|
18481
|
+
normalizeIdentifier(
|
|
18482
|
+
self2.sliceSerialize({
|
|
18483
|
+
start: labelStart.end,
|
|
18484
|
+
end: self2.now()
|
|
18485
|
+
})
|
|
18486
|
+
)
|
|
18487
|
+
), effects.enter("labelEnd"), effects.enter("labelMarker"), effects.consume(code2), effects.exit("labelMarker"), effects.exit("labelEnd"), after) : nok(code2);
|
|
18609
18488
|
}
|
|
18610
18489
|
function after(code2) {
|
|
18611
|
-
return code2 === 40 ? effects.attempt(
|
|
18490
|
+
return code2 === 40 ? effects.attempt(
|
|
18491
|
+
resourceConstruct,
|
|
18492
|
+
labelEndOk,
|
|
18493
|
+
defined ? labelEndOk : labelEndNok
|
|
18494
|
+
)(code2) : code2 === 91 ? effects.attempt(
|
|
18495
|
+
referenceFullConstruct,
|
|
18496
|
+
labelEndOk,
|
|
18497
|
+
defined ? referenceNotFull : labelEndNok
|
|
18498
|
+
)(code2) : defined ? labelEndOk(code2) : labelEndNok(code2);
|
|
18612
18499
|
}
|
|
18613
18500
|
function referenceNotFull(code2) {
|
|
18614
|
-
return effects.attempt(
|
|
18501
|
+
return effects.attempt(
|
|
18502
|
+
referenceCollapsedConstruct,
|
|
18503
|
+
labelEndOk,
|
|
18504
|
+
labelEndNok
|
|
18505
|
+
)(code2);
|
|
18615
18506
|
}
|
|
18616
18507
|
function labelEndOk(code2) {
|
|
18617
18508
|
return ok2(code2);
|
|
@@ -18629,7 +18520,17 @@ function tokenizeResource(effects, ok2, nok) {
|
|
|
18629
18520
|
return markdownLineEndingOrSpace(code2) ? factoryWhitespace(effects, resourceOpen)(code2) : resourceOpen(code2);
|
|
18630
18521
|
}
|
|
18631
18522
|
function resourceOpen(code2) {
|
|
18632
|
-
return code2 === 41 ? resourceEnd(code2) : factoryDestination(
|
|
18523
|
+
return code2 === 41 ? resourceEnd(code2) : factoryDestination(
|
|
18524
|
+
effects,
|
|
18525
|
+
resourceDestinationAfter,
|
|
18526
|
+
resourceDestinationMissing,
|
|
18527
|
+
"resourceDestination",
|
|
18528
|
+
"resourceDestinationLiteral",
|
|
18529
|
+
"resourceDestinationLiteralMarker",
|
|
18530
|
+
"resourceDestinationRaw",
|
|
18531
|
+
"resourceDestinationString",
|
|
18532
|
+
32
|
|
18533
|
+
)(code2);
|
|
18633
18534
|
}
|
|
18634
18535
|
function resourceDestinationAfter(code2) {
|
|
18635
18536
|
return markdownLineEndingOrSpace(code2) ? factoryWhitespace(effects, resourceBetween)(code2) : resourceEnd(code2);
|
|
@@ -18638,7 +18539,14 @@ function tokenizeResource(effects, ok2, nok) {
|
|
|
18638
18539
|
return nok(code2);
|
|
18639
18540
|
}
|
|
18640
18541
|
function resourceBetween(code2) {
|
|
18641
|
-
return code2 === 34 || code2 === 39 || code2 === 40 ? factoryTitle(
|
|
18542
|
+
return code2 === 34 || code2 === 39 || code2 === 40 ? factoryTitle(
|
|
18543
|
+
effects,
|
|
18544
|
+
resourceTitleAfter,
|
|
18545
|
+
nok,
|
|
18546
|
+
"resourceTitle",
|
|
18547
|
+
"resourceTitleMarker",
|
|
18548
|
+
"resourceTitleString"
|
|
18549
|
+
)(code2) : resourceEnd(code2);
|
|
18642
18550
|
}
|
|
18643
18551
|
function resourceTitleAfter(code2) {
|
|
18644
18552
|
return markdownLineEndingOrSpace(code2) ? factoryWhitespace(effects, resourceEnd)(code2) : resourceEnd(code2);
|
|
@@ -18651,10 +18559,22 @@ function tokenizeReferenceFull(effects, ok2, nok) {
|
|
|
18651
18559
|
let self2 = this;
|
|
18652
18560
|
return referenceFull;
|
|
18653
18561
|
function referenceFull(code2) {
|
|
18654
|
-
return factoryLabel.call(
|
|
18562
|
+
return factoryLabel.call(
|
|
18563
|
+
self2,
|
|
18564
|
+
effects,
|
|
18565
|
+
referenceFullAfter,
|
|
18566
|
+
referenceFullMissing,
|
|
18567
|
+
"reference",
|
|
18568
|
+
"referenceMarker",
|
|
18569
|
+
"referenceString"
|
|
18570
|
+
)(code2);
|
|
18655
18571
|
}
|
|
18656
18572
|
function referenceFullAfter(code2) {
|
|
18657
|
-
return self2.parser.defined.includes(
|
|
18573
|
+
return self2.parser.defined.includes(
|
|
18574
|
+
normalizeIdentifier(
|
|
18575
|
+
self2.sliceSerialize(self2.events[self2.events.length - 1][1]).slice(1, -1)
|
|
18576
|
+
)
|
|
18577
|
+
) ? ok2(code2) : nok(code2);
|
|
18658
18578
|
}
|
|
18659
18579
|
function referenceFullMissing(code2) {
|
|
18660
18580
|
return nok(code2);
|
|
@@ -18670,11 +18590,11 @@ function tokenizeReferenceCollapsed(effects, ok2, nok) {
|
|
|
18670
18590
|
}
|
|
18671
18591
|
}
|
|
18672
18592
|
|
|
18673
|
-
//
|
|
18593
|
+
// ../../../node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
18674
18594
|
var labelStartImage = {
|
|
18675
18595
|
name: "labelStartImage",
|
|
18676
|
-
|
|
18677
|
-
|
|
18596
|
+
tokenize: tokenizeLabelStartImage,
|
|
18597
|
+
resolveAll: labelEnd.resolveAll
|
|
18678
18598
|
};
|
|
18679
18599
|
function tokenizeLabelStartImage(effects, ok2, nok) {
|
|
18680
18600
|
let self2 = this;
|
|
@@ -18690,11 +18610,11 @@ function tokenizeLabelStartImage(effects, ok2, nok) {
|
|
|
18690
18610
|
}
|
|
18691
18611
|
}
|
|
18692
18612
|
|
|
18693
|
-
//
|
|
18613
|
+
// ../../../node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
18694
18614
|
var labelStartLink = {
|
|
18695
18615
|
name: "labelStartLink",
|
|
18696
|
-
|
|
18697
|
-
|
|
18616
|
+
tokenize: tokenizeLabelStartLink,
|
|
18617
|
+
resolveAll: labelEnd.resolveAll
|
|
18698
18618
|
};
|
|
18699
18619
|
function tokenizeLabelStartLink(effects, ok2, nok) {
|
|
18700
18620
|
let self2 = this;
|
|
@@ -18707,7 +18627,7 @@ function tokenizeLabelStartLink(effects, ok2, nok) {
|
|
|
18707
18627
|
}
|
|
18708
18628
|
}
|
|
18709
18629
|
|
|
18710
|
-
//
|
|
18630
|
+
// ../../../node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
18711
18631
|
var lineEnding = {
|
|
18712
18632
|
name: "lineEnding",
|
|
18713
18633
|
tokenize: tokenizeLineEnding
|
|
@@ -18719,7 +18639,7 @@ function tokenizeLineEnding(effects, ok2) {
|
|
|
18719
18639
|
}
|
|
18720
18640
|
}
|
|
18721
18641
|
|
|
18722
|
-
//
|
|
18642
|
+
// ../../../node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
18723
18643
|
var thematicBreak = {
|
|
18724
18644
|
name: "thematicBreak",
|
|
18725
18645
|
tokenize: tokenizeThematicBreak
|
|
@@ -18741,20 +18661,20 @@ function tokenizeThematicBreak(effects, ok2, nok) {
|
|
|
18741
18661
|
}
|
|
18742
18662
|
}
|
|
18743
18663
|
|
|
18744
|
-
//
|
|
18664
|
+
// ../../../node_modules/micromark-core-commonmark/lib/list.js
|
|
18745
18665
|
var list = {
|
|
18666
|
+
name: "list",
|
|
18667
|
+
tokenize: tokenizeListStart,
|
|
18746
18668
|
continuation: {
|
|
18747
18669
|
tokenize: tokenizeListContinuation
|
|
18748
18670
|
},
|
|
18749
|
-
exit: tokenizeListEnd
|
|
18750
|
-
name: "list",
|
|
18751
|
-
tokenize: tokenizeListStart
|
|
18671
|
+
exit: tokenizeListEnd
|
|
18752
18672
|
}, listItemPrefixWhitespaceConstruct = {
|
|
18753
|
-
|
|
18754
|
-
|
|
18673
|
+
tokenize: tokenizeListItemPrefixWhitespace,
|
|
18674
|
+
partial: !0
|
|
18755
18675
|
}, indentConstruct = {
|
|
18756
|
-
|
|
18757
|
-
|
|
18676
|
+
tokenize: tokenizeIndent,
|
|
18677
|
+
partial: !0
|
|
18758
18678
|
};
|
|
18759
18679
|
function tokenizeListStart(effects, ok2, nok) {
|
|
18760
18680
|
let self2 = this, tail = self2.events[self2.events.length - 1], initialSize = tail && tail[1].type === "linePrefix" ? tail[2].sliceSerialize(tail[1], !0).length : 0, size = 0;
|
|
@@ -18779,7 +18699,11 @@ function tokenizeListStart(effects, ok2, nok) {
|
|
|
18779
18699
|
blankLine,
|
|
18780
18700
|
// Can’t be empty when interrupting.
|
|
18781
18701
|
self2.interrupt ? nok : onBlank,
|
|
18782
|
-
effects.attempt(
|
|
18702
|
+
effects.attempt(
|
|
18703
|
+
listItemPrefixWhitespaceConstruct,
|
|
18704
|
+
endOfPrefix,
|
|
18705
|
+
otherPrefix
|
|
18706
|
+
)
|
|
18783
18707
|
);
|
|
18784
18708
|
}
|
|
18785
18709
|
function onBlank(code2) {
|
|
@@ -18796,18 +18720,33 @@ function tokenizeListContinuation(effects, ok2, nok) {
|
|
|
18796
18720
|
let self2 = this;
|
|
18797
18721
|
return self2.containerState._closeFlow = void 0, effects.check(blankLine, onBlank, notBlank);
|
|
18798
18722
|
function onBlank(code2) {
|
|
18799
|
-
return self2.containerState.furtherBlankLines = self2.containerState.furtherBlankLines || self2.containerState.initialBlankLine, factorySpace(
|
|
18723
|
+
return self2.containerState.furtherBlankLines = self2.containerState.furtherBlankLines || self2.containerState.initialBlankLine, factorySpace(
|
|
18724
|
+
effects,
|
|
18725
|
+
ok2,
|
|
18726
|
+
"listItemIndent",
|
|
18727
|
+
self2.containerState.size + 1
|
|
18728
|
+
)(code2);
|
|
18800
18729
|
}
|
|
18801
18730
|
function notBlank(code2) {
|
|
18802
18731
|
return self2.containerState.furtherBlankLines || !markdownSpace(code2) ? (self2.containerState.furtherBlankLines = void 0, self2.containerState.initialBlankLine = void 0, notInCurrentItem(code2)) : (self2.containerState.furtherBlankLines = void 0, self2.containerState.initialBlankLine = void 0, effects.attempt(indentConstruct, ok2, notInCurrentItem)(code2));
|
|
18803
18732
|
}
|
|
18804
18733
|
function notInCurrentItem(code2) {
|
|
18805
|
-
return self2.containerState._closeFlow = !0, self2.interrupt = void 0, factorySpace(
|
|
18734
|
+
return self2.containerState._closeFlow = !0, self2.interrupt = void 0, factorySpace(
|
|
18735
|
+
effects,
|
|
18736
|
+
effects.attempt(list, ok2, nok),
|
|
18737
|
+
"linePrefix",
|
|
18738
|
+
self2.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
18739
|
+
)(code2);
|
|
18806
18740
|
}
|
|
18807
18741
|
}
|
|
18808
18742
|
function tokenizeIndent(effects, ok2, nok) {
|
|
18809
18743
|
let self2 = this;
|
|
18810
|
-
return factorySpace(
|
|
18744
|
+
return factorySpace(
|
|
18745
|
+
effects,
|
|
18746
|
+
afterPrefix,
|
|
18747
|
+
"listItemIndent",
|
|
18748
|
+
self2.containerState.size + 1
|
|
18749
|
+
);
|
|
18811
18750
|
function afterPrefix(code2) {
|
|
18812
18751
|
let tail = self2.events[self2.events.length - 1];
|
|
18813
18752
|
return tail && tail[1].type === "listItemIndent" && tail[2].sliceSerialize(tail[1], !0).length === self2.containerState.size ? ok2(code2) : nok(code2);
|
|
@@ -18818,18 +18757,23 @@ function tokenizeListEnd(effects) {
|
|
|
18818
18757
|
}
|
|
18819
18758
|
function tokenizeListItemPrefixWhitespace(effects, ok2, nok) {
|
|
18820
18759
|
let self2 = this;
|
|
18821
|
-
return factorySpace(
|
|
18760
|
+
return factorySpace(
|
|
18761
|
+
effects,
|
|
18762
|
+
afterPrefix,
|
|
18763
|
+
"listItemPrefixWhitespace",
|
|
18764
|
+
self2.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5
|
|
18765
|
+
);
|
|
18822
18766
|
function afterPrefix(code2) {
|
|
18823
18767
|
let tail = self2.events[self2.events.length - 1];
|
|
18824
18768
|
return !markdownSpace(code2) && tail && tail[1].type === "listItemPrefixWhitespace" ? ok2(code2) : nok(code2);
|
|
18825
18769
|
}
|
|
18826
18770
|
}
|
|
18827
18771
|
|
|
18828
|
-
//
|
|
18772
|
+
// ../../../node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
18829
18773
|
var setextUnderline = {
|
|
18830
18774
|
name: "setextUnderline",
|
|
18831
|
-
|
|
18832
|
-
|
|
18775
|
+
tokenize: tokenizeSetextUnderline,
|
|
18776
|
+
resolveTo: resolveToSetextUnderline
|
|
18833
18777
|
};
|
|
18834
18778
|
function resolveToSetextUnderline(events, context) {
|
|
18835
18779
|
let index2 = events.length, content3, text5, definition2;
|
|
@@ -18844,16 +18788,10 @@ function resolveToSetextUnderline(events, context) {
|
|
|
18844
18788
|
events[index2][1].type === "content" && events.splice(index2, 1), !definition2 && events[index2][1].type === "definition" && (definition2 = index2);
|
|
18845
18789
|
let heading2 = {
|
|
18846
18790
|
type: "setextHeading",
|
|
18847
|
-
start: {
|
|
18848
|
-
|
|
18849
|
-
},
|
|
18850
|
-
end: {
|
|
18851
|
-
...events[events.length - 1][1].end
|
|
18852
|
-
}
|
|
18791
|
+
start: Object.assign({}, events[text5][1].start),
|
|
18792
|
+
end: Object.assign({}, events[events.length - 1][1].end)
|
|
18853
18793
|
};
|
|
18854
|
-
return events[text5][1].type = "setextHeadingText", definition2 ? (events.splice(text5, 0, ["enter", heading2, context]), events.splice(definition2 + 1, 0, ["exit", events[content3][1], context]), events[content3][1].end = {
|
|
18855
|
-
...events[definition2][1].end
|
|
18856
|
-
}) : events[content3][1] = heading2, events.push(["exit", heading2, context]), events;
|
|
18794
|
+
return events[text5][1].type = "setextHeadingText", definition2 ? (events.splice(text5, 0, ["enter", heading2, context]), events.splice(definition2 + 1, 0, ["exit", events[content3][1], context]), events[content3][1].end = Object.assign({}, events[definition2][1].end)) : events[content3][1] = heading2, events.push(["exit", heading2, context]), events;
|
|
18857
18795
|
}
|
|
18858
18796
|
function tokenizeSetextUnderline(effects, ok2, nok) {
|
|
18859
18797
|
let self2 = this, marker;
|
|
@@ -18878,7 +18816,7 @@ function tokenizeSetextUnderline(effects, ok2, nok) {
|
|
|
18878
18816
|
}
|
|
18879
18817
|
}
|
|
18880
18818
|
|
|
18881
|
-
//
|
|
18819
|
+
// ../../../node_modules/micromark-extension-mdxjs-esm/lib/syntax.js
|
|
18882
18820
|
var blankLineBefore2 = {
|
|
18883
18821
|
tokenize: tokenizeNextBlank,
|
|
18884
18822
|
partial: !0
|
|
@@ -18978,7 +18916,7 @@ function tokenizeNextBlank(effects, ok2, nok) {
|
|
|
18978
18916
|
}
|
|
18979
18917
|
}
|
|
18980
18918
|
|
|
18981
|
-
//
|
|
18919
|
+
// ../../../node_modules/micromark-util-combine-extensions/index.js
|
|
18982
18920
|
var hasOwnProperty2 = {}.hasOwnProperty;
|
|
18983
18921
|
function combineExtensions(extensions) {
|
|
18984
18922
|
let all3 = {}, index2 = -1;
|
|
@@ -19009,7 +18947,7 @@ function constructs(existing, list3) {
|
|
|
19009
18947
|
splice(existing, 0, 0, before);
|
|
19010
18948
|
}
|
|
19011
18949
|
|
|
19012
|
-
//
|
|
18950
|
+
// ../../../node_modules/micromark-extension-mdxjs/index.js
|
|
19013
18951
|
function mdxjs(options) {
|
|
19014
18952
|
let settings = Object.assign(
|
|
19015
18953
|
{
|
|
@@ -19027,14 +18965,14 @@ function mdxjs(options) {
|
|
|
19027
18965
|
]);
|
|
19028
18966
|
}
|
|
19029
18967
|
|
|
19030
|
-
//
|
|
18968
|
+
// ../../../node_modules/remark-mdx/lib/index.js
|
|
19031
18969
|
var emptyOptions3 = {};
|
|
19032
18970
|
function remarkMdx(options) {
|
|
19033
18971
|
let self2 = this, settings = options || emptyOptions3, data2 = self2.data(), micromarkExtensions = data2.micromarkExtensions || (data2.micromarkExtensions = []), fromMarkdownExtensions = data2.fromMarkdownExtensions || (data2.fromMarkdownExtensions = []), toMarkdownExtensions = data2.toMarkdownExtensions || (data2.toMarkdownExtensions = []);
|
|
19034
18972
|
micromarkExtensions.push(mdxjs(settings)), fromMarkdownExtensions.push(mdxFromMarkdown()), toMarkdownExtensions.push(mdxToMarkdown(settings));
|
|
19035
18973
|
}
|
|
19036
18974
|
|
|
19037
|
-
//
|
|
18975
|
+
// ../../../node_modules/mdast-util-to-string/lib/index.js
|
|
19038
18976
|
var emptyOptions4 = {};
|
|
19039
18977
|
function toString2(value, options) {
|
|
19040
18978
|
let settings = options || emptyOptions4, includeImageAlt = typeof settings.includeImageAlt == "boolean" ? settings.includeImageAlt : !0, includeHtml = typeof settings.includeHtml == "boolean" ? settings.includeHtml : !0;
|
|
@@ -19061,7 +18999,7 @@ function node(value) {
|
|
|
19061
18999
|
return !!(value && typeof value == "object");
|
|
19062
19000
|
}
|
|
19063
19001
|
|
|
19064
|
-
//
|
|
19002
|
+
// ../../../node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
19065
19003
|
function decodeNumericCharacterReference(value, base) {
|
|
19066
19004
|
let code2 = Number.parseInt(value, base);
|
|
19067
19005
|
return (
|
|
@@ -19076,7 +19014,7 @@ function decodeNumericCharacterReference(value, base) {
|
|
|
19076
19014
|
);
|
|
19077
19015
|
}
|
|
19078
19016
|
|
|
19079
|
-
//
|
|
19017
|
+
// ../../../node_modules/micromark-util-sanitize-uri/index.js
|
|
19080
19018
|
function normalizeUri(value) {
|
|
19081
19019
|
let result = [], index2 = -1, start2 = 0, skip = 0;
|
|
19082
19020
|
for (; ++index2 < value.length; ) {
|
|
@@ -19095,15 +19033,19 @@ function normalizeUri(value) {
|
|
|
19095
19033
|
return result.join("") + value.slice(start2);
|
|
19096
19034
|
}
|
|
19097
19035
|
|
|
19098
|
-
//
|
|
19036
|
+
// ../../../node_modules/micromark/lib/compile.js
|
|
19099
19037
|
var hasOwnProperty3 = {}.hasOwnProperty;
|
|
19100
19038
|
|
|
19101
|
-
//
|
|
19039
|
+
// ../../../node_modules/micromark/lib/initialize/content.js
|
|
19102
19040
|
var content2 = {
|
|
19103
19041
|
tokenize: initializeContent
|
|
19104
19042
|
};
|
|
19105
19043
|
function initializeContent(effects) {
|
|
19106
|
-
let contentStart = effects.attempt(
|
|
19044
|
+
let contentStart = effects.attempt(
|
|
19045
|
+
this.parser.constructs.contentInitial,
|
|
19046
|
+
afterContentStartConstruct,
|
|
19047
|
+
paragraphInitial
|
|
19048
|
+
), previous2;
|
|
19107
19049
|
return contentStart;
|
|
19108
19050
|
function afterContentStartConstruct(code2) {
|
|
19109
19051
|
if (code2 === null) {
|
|
@@ -19131,7 +19073,7 @@ function initializeContent(effects) {
|
|
|
19131
19073
|
}
|
|
19132
19074
|
}
|
|
19133
19075
|
|
|
19134
|
-
//
|
|
19076
|
+
// ../../../node_modules/micromark/lib/initialize/document.js
|
|
19135
19077
|
var document = {
|
|
19136
19078
|
tokenize: initializeDocument
|
|
19137
19079
|
}, containerConstruct = {
|
|
@@ -19143,7 +19085,11 @@ function initializeDocument(effects) {
|
|
|
19143
19085
|
function start2(code2) {
|
|
19144
19086
|
if (continued < stack.length) {
|
|
19145
19087
|
let item = stack[continued];
|
|
19146
|
-
return self2.containerState = item[1], effects.attempt(
|
|
19088
|
+
return self2.containerState = item[1], effects.attempt(
|
|
19089
|
+
item[0].continuation,
|
|
19090
|
+
documentContinue,
|
|
19091
|
+
checkNewContainers
|
|
19092
|
+
)(code2);
|
|
19147
19093
|
}
|
|
19148
19094
|
return checkNewContainers(code2);
|
|
19149
19095
|
}
|
|
@@ -19159,10 +19105,13 @@ function initializeDocument(effects) {
|
|
|
19159
19105
|
exitContainers(continued);
|
|
19160
19106
|
let index2 = indexBeforeExits;
|
|
19161
19107
|
for (; index2 < self2.events.length; )
|
|
19162
|
-
self2.events[index2][1].end = {
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
|
|
19108
|
+
self2.events[index2][1].end = Object.assign({}, point4), index2++;
|
|
19109
|
+
return splice(
|
|
19110
|
+
self2.events,
|
|
19111
|
+
indexBeforeFlow + 1,
|
|
19112
|
+
0,
|
|
19113
|
+
self2.events.slice(indexBeforeExits)
|
|
19114
|
+
), self2.events.length = index2, checkNewContainers(code2);
|
|
19166
19115
|
}
|
|
19167
19116
|
return start2(code2);
|
|
19168
19117
|
}
|
|
@@ -19174,7 +19123,11 @@ function initializeDocument(effects) {
|
|
|
19174
19123
|
return flowStart(code2);
|
|
19175
19124
|
self2.interrupt = !!(childFlow.currentConstruct && !childFlow._gfmTableDynamicInterruptHack);
|
|
19176
19125
|
}
|
|
19177
|
-
return self2.containerState = {}, effects.check(
|
|
19126
|
+
return self2.containerState = {}, effects.check(
|
|
19127
|
+
containerConstruct,
|
|
19128
|
+
thereIsANewContainer,
|
|
19129
|
+
thereIsNoNewContainer
|
|
19130
|
+
)(code2);
|
|
19178
19131
|
}
|
|
19179
19132
|
function thereIsANewContainer(code2) {
|
|
19180
19133
|
return childFlow && closeFlow(), exitContainers(continued), documentContinued(code2);
|
|
@@ -19183,7 +19136,11 @@ function initializeDocument(effects) {
|
|
|
19183
19136
|
return self2.parser.lazy[self2.now().line] = continued !== stack.length, lineStartOffset = self2.now().offset, flowStart(code2);
|
|
19184
19137
|
}
|
|
19185
19138
|
function documentContinued(code2) {
|
|
19186
|
-
return self2.containerState = {}, effects.attempt(
|
|
19139
|
+
return self2.containerState = {}, effects.attempt(
|
|
19140
|
+
containerConstruct,
|
|
19141
|
+
containerContinue,
|
|
19142
|
+
flowStart
|
|
19143
|
+
)(code2);
|
|
19187
19144
|
}
|
|
19188
19145
|
function containerContinue(code2) {
|
|
19189
19146
|
return continued++, stack.push([self2.currentConstruct, self2.containerState]), documentContinued(code2);
|
|
@@ -19194,9 +19151,9 @@ function initializeDocument(effects) {
|
|
|
19194
19151
|
return;
|
|
19195
19152
|
}
|
|
19196
19153
|
return childFlow = childFlow || self2.parser.flow(self2.now()), effects.enter("chunkFlow", {
|
|
19197
|
-
_tokenizer: childFlow,
|
|
19198
19154
|
contentType: "flow",
|
|
19199
|
-
previous: childToken
|
|
19155
|
+
previous: childToken,
|
|
19156
|
+
_tokenizer: childFlow
|
|
19200
19157
|
}), flowContinue(code2);
|
|
19201
19158
|
}
|
|
19202
19159
|
function flowContinue(code2) {
|
|
@@ -19206,9 +19163,9 @@ function initializeDocument(effects) {
|
|
|
19206
19163
|
}
|
|
19207
19164
|
return markdownLineEnding(code2) ? (effects.consume(code2), writeToChild(effects.exit("chunkFlow")), continued = 0, self2.interrupt = void 0, start2) : (effects.consume(code2), flowContinue);
|
|
19208
19165
|
}
|
|
19209
|
-
function writeToChild(token,
|
|
19166
|
+
function writeToChild(token, eof) {
|
|
19210
19167
|
let stream = self2.sliceStream(token);
|
|
19211
|
-
if (
|
|
19168
|
+
if (eof && stream.push(null), token.previous = childToken, childToken && (childToken.next = token), childToken = token, childFlow.defineSkip(token.start), childFlow.write(stream), self2.parser.lazy[token.start.line]) {
|
|
19212
19169
|
let index2 = childFlow.events.length;
|
|
19213
19170
|
for (; index2--; )
|
|
19214
19171
|
if (
|
|
@@ -19228,10 +19185,13 @@ function initializeDocument(effects) {
|
|
|
19228
19185
|
seen = !0;
|
|
19229
19186
|
}
|
|
19230
19187
|
for (exitContainers(continued), index2 = indexBeforeExits; index2 < self2.events.length; )
|
|
19231
|
-
self2.events[index2][1].end = {
|
|
19232
|
-
|
|
19233
|
-
|
|
19234
|
-
|
|
19188
|
+
self2.events[index2][1].end = Object.assign({}, point4), index2++;
|
|
19189
|
+
splice(
|
|
19190
|
+
self2.events,
|
|
19191
|
+
indexBeforeFlow + 1,
|
|
19192
|
+
0,
|
|
19193
|
+
self2.events.slice(indexBeforeExits)
|
|
19194
|
+
), self2.events.length = index2;
|
|
19235
19195
|
}
|
|
19236
19196
|
}
|
|
19237
19197
|
function exitContainers(size) {
|
|
@@ -19247,10 +19207,15 @@ function initializeDocument(effects) {
|
|
|
19247
19207
|
}
|
|
19248
19208
|
}
|
|
19249
19209
|
function tokenizeContainer(effects, ok2, nok) {
|
|
19250
|
-
return factorySpace(
|
|
19210
|
+
return factorySpace(
|
|
19211
|
+
effects,
|
|
19212
|
+
effects.attempt(this.parser.constructs.document, ok2, nok),
|
|
19213
|
+
"linePrefix",
|
|
19214
|
+
this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
19215
|
+
);
|
|
19251
19216
|
}
|
|
19252
19217
|
|
|
19253
|
-
//
|
|
19218
|
+
// ../../../node_modules/micromark/lib/initialize/flow.js
|
|
19254
19219
|
var flow = {
|
|
19255
19220
|
tokenize: initializeFlow
|
|
19256
19221
|
};
|
|
@@ -19260,7 +19225,19 @@ function initializeFlow(effects) {
|
|
|
19260
19225
|
blankLine,
|
|
19261
19226
|
atBlankEnding,
|
|
19262
19227
|
// Try to parse initial flow (essentially, only code).
|
|
19263
|
-
effects.attempt(
|
|
19228
|
+
effects.attempt(
|
|
19229
|
+
this.parser.constructs.flowInitial,
|
|
19230
|
+
afterConstruct,
|
|
19231
|
+
factorySpace(
|
|
19232
|
+
effects,
|
|
19233
|
+
effects.attempt(
|
|
19234
|
+
this.parser.constructs.flow,
|
|
19235
|
+
afterConstruct,
|
|
19236
|
+
effects.attempt(content, afterConstruct)
|
|
19237
|
+
),
|
|
19238
|
+
"linePrefix"
|
|
19239
|
+
)
|
|
19240
|
+
)
|
|
19264
19241
|
);
|
|
19265
19242
|
return initial;
|
|
19266
19243
|
function atBlankEnding(code2) {
|
|
@@ -19279,14 +19256,16 @@ function initializeFlow(effects) {
|
|
|
19279
19256
|
}
|
|
19280
19257
|
}
|
|
19281
19258
|
|
|
19282
|
-
//
|
|
19259
|
+
// ../../../node_modules/micromark/lib/initialize/text.js
|
|
19283
19260
|
var resolver = {
|
|
19284
19261
|
resolveAll: createResolver()
|
|
19285
19262
|
}, string = initializeFactory("string"), text2 = initializeFactory("text");
|
|
19286
19263
|
function initializeFactory(field) {
|
|
19287
19264
|
return {
|
|
19288
|
-
|
|
19289
|
-
|
|
19265
|
+
tokenize: initializeText,
|
|
19266
|
+
resolveAll: createResolver(
|
|
19267
|
+
field === "text" ? resolveAllLineSuffixes : void 0
|
|
19268
|
+
)
|
|
19290
19269
|
};
|
|
19291
19270
|
function initializeText(effects) {
|
|
19292
19271
|
let self2 = this, constructs2 = this.parser.constructs[field], text5 = effects.attempt(constructs2, start2, notText);
|
|
@@ -19346,123 +19325,61 @@ function resolveAllLineSuffixes(events, context) {
|
|
|
19346
19325
|
break;
|
|
19347
19326
|
}
|
|
19348
19327
|
}
|
|
19349
|
-
if (
|
|
19328
|
+
if (size) {
|
|
19350
19329
|
let token = {
|
|
19351
19330
|
type: eventIndex === events.length || tabs || size < 2 ? "lineSuffix" : "hardBreakTrailing",
|
|
19352
19331
|
start: {
|
|
19353
|
-
_bufferIndex: index2 ? bufferIndex : data2.start._bufferIndex + bufferIndex,
|
|
19354
|
-
_index: data2.start._index + index2,
|
|
19355
19332
|
line: data2.end.line,
|
|
19356
19333
|
column: data2.end.column - size,
|
|
19357
|
-
offset: data2.end.offset - size
|
|
19334
|
+
offset: data2.end.offset - size,
|
|
19335
|
+
_index: data2.start._index + index2,
|
|
19336
|
+
_bufferIndex: index2 ? bufferIndex : data2.start._bufferIndex + bufferIndex
|
|
19358
19337
|
},
|
|
19359
|
-
end: {
|
|
19360
|
-
...data2.end
|
|
19361
|
-
}
|
|
19338
|
+
end: Object.assign({}, data2.end)
|
|
19362
19339
|
};
|
|
19363
|
-
data2.end = {
|
|
19364
|
-
|
|
19365
|
-
|
|
19340
|
+
data2.end = Object.assign({}, token.start), data2.start.offset === data2.end.offset ? Object.assign(data2, token) : (events.splice(
|
|
19341
|
+
eventIndex,
|
|
19342
|
+
0,
|
|
19343
|
+
["enter", token, context],
|
|
19344
|
+
["exit", token, context]
|
|
19345
|
+
), eventIndex += 2);
|
|
19366
19346
|
}
|
|
19367
19347
|
eventIndex++;
|
|
19368
19348
|
}
|
|
19369
19349
|
return events;
|
|
19370
19350
|
}
|
|
19371
19351
|
|
|
19372
|
-
//
|
|
19373
|
-
var constructs_exports = {};
|
|
19374
|
-
__export(constructs_exports, {
|
|
19375
|
-
attentionMarkers: () => attentionMarkers,
|
|
19376
|
-
contentInitial: () => contentInitial,
|
|
19377
|
-
disable: () => disable,
|
|
19378
|
-
document: () => document2,
|
|
19379
|
-
flow: () => flow2,
|
|
19380
|
-
flowInitial: () => flowInitial,
|
|
19381
|
-
insideSpan: () => insideSpan,
|
|
19382
|
-
string: () => string2,
|
|
19383
|
-
text: () => text3
|
|
19384
|
-
});
|
|
19385
|
-
var document2 = {
|
|
19386
|
-
42: list,
|
|
19387
|
-
43: list,
|
|
19388
|
-
45: list,
|
|
19389
|
-
48: list,
|
|
19390
|
-
49: list,
|
|
19391
|
-
50: list,
|
|
19392
|
-
51: list,
|
|
19393
|
-
52: list,
|
|
19394
|
-
53: list,
|
|
19395
|
-
54: list,
|
|
19396
|
-
55: list,
|
|
19397
|
-
56: list,
|
|
19398
|
-
57: list,
|
|
19399
|
-
62: blockQuote
|
|
19400
|
-
}, contentInitial = {
|
|
19401
|
-
91: definition
|
|
19402
|
-
}, flowInitial = {
|
|
19403
|
-
[-2]: codeIndented,
|
|
19404
|
-
[-1]: codeIndented,
|
|
19405
|
-
32: codeIndented
|
|
19406
|
-
}, flow2 = {
|
|
19407
|
-
35: headingAtx,
|
|
19408
|
-
42: thematicBreak,
|
|
19409
|
-
45: [setextUnderline, thematicBreak],
|
|
19410
|
-
60: htmlFlow,
|
|
19411
|
-
61: setextUnderline,
|
|
19412
|
-
95: thematicBreak,
|
|
19413
|
-
96: codeFenced,
|
|
19414
|
-
126: codeFenced
|
|
19415
|
-
}, string2 = {
|
|
19416
|
-
38: characterReference,
|
|
19417
|
-
92: characterEscape
|
|
19418
|
-
}, text3 = {
|
|
19419
|
-
[-5]: lineEnding,
|
|
19420
|
-
[-4]: lineEnding,
|
|
19421
|
-
[-3]: lineEnding,
|
|
19422
|
-
33: labelStartImage,
|
|
19423
|
-
38: characterReference,
|
|
19424
|
-
42: attention,
|
|
19425
|
-
60: [autolink, htmlText],
|
|
19426
|
-
91: labelStartLink,
|
|
19427
|
-
92: [hardBreakEscape, characterEscape],
|
|
19428
|
-
93: labelEnd,
|
|
19429
|
-
95: attention,
|
|
19430
|
-
96: codeText
|
|
19431
|
-
}, insideSpan = {
|
|
19432
|
-
null: [attention, resolver]
|
|
19433
|
-
}, attentionMarkers = {
|
|
19434
|
-
null: [42, 95]
|
|
19435
|
-
}, disable = {
|
|
19436
|
-
null: []
|
|
19437
|
-
};
|
|
19438
|
-
|
|
19439
|
-
// ../../node_modules/micromark/lib/create-tokenizer.js
|
|
19352
|
+
// ../../../node_modules/micromark/lib/create-tokenizer.js
|
|
19440
19353
|
function createTokenizer(parser, initialize, from) {
|
|
19441
|
-
let point4 =
|
|
19442
|
-
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
19449
|
-
|
|
19354
|
+
let point4 = Object.assign(
|
|
19355
|
+
from ? Object.assign({}, from) : {
|
|
19356
|
+
line: 1,
|
|
19357
|
+
column: 1,
|
|
19358
|
+
offset: 0
|
|
19359
|
+
},
|
|
19360
|
+
{
|
|
19361
|
+
_index: 0,
|
|
19362
|
+
_bufferIndex: -1
|
|
19363
|
+
}
|
|
19364
|
+
), columnStart = {}, resolveAllConstructs = [], chunks = [], stack = [], consumed = !0, effects = {
|
|
19450
19365
|
consume,
|
|
19451
19366
|
enter,
|
|
19452
19367
|
exit: exit2,
|
|
19368
|
+
attempt: constructFactory(onsuccessfulconstruct),
|
|
19369
|
+
check: constructFactory(onsuccessfulcheck),
|
|
19453
19370
|
interrupt: constructFactory(onsuccessfulcheck, {
|
|
19454
19371
|
interrupt: !0
|
|
19455
19372
|
})
|
|
19456
19373
|
}, context = {
|
|
19374
|
+
previous: null,
|
|
19457
19375
|
code: null,
|
|
19458
19376
|
containerState: {},
|
|
19459
|
-
defineSkip,
|
|
19460
19377
|
events: [],
|
|
19461
|
-
now,
|
|
19462
19378
|
parser,
|
|
19463
|
-
previous: null,
|
|
19464
|
-
sliceSerialize,
|
|
19465
19379
|
sliceStream,
|
|
19380
|
+
sliceSerialize,
|
|
19381
|
+
now,
|
|
19382
|
+
defineSkip,
|
|
19466
19383
|
write
|
|
19467
19384
|
}, state = initialize.tokenize.call(context, effects), expectedCode;
|
|
19468
19385
|
return initialize.resolveAll && resolveAllConstructs.push(initialize), context;
|
|
@@ -19476,19 +19393,13 @@ function createTokenizer(parser, initialize, from) {
|
|
|
19476
19393
|
return sliceChunks(chunks, token);
|
|
19477
19394
|
}
|
|
19478
19395
|
function now() {
|
|
19479
|
-
let {
|
|
19480
|
-
_bufferIndex,
|
|
19481
|
-
_index,
|
|
19482
|
-
line,
|
|
19483
|
-
column,
|
|
19484
|
-
offset: offset2
|
|
19485
|
-
} = point4;
|
|
19396
|
+
let { line, column, offset: offset2, _index, _bufferIndex } = point4;
|
|
19486
19397
|
return {
|
|
19487
|
-
_bufferIndex,
|
|
19488
|
-
_index,
|
|
19489
19398
|
line,
|
|
19490
19399
|
column,
|
|
19491
|
-
offset: offset2
|
|
19400
|
+
offset: offset2,
|
|
19401
|
+
_index,
|
|
19402
|
+
_bufferIndex
|
|
19492
19403
|
};
|
|
19493
19404
|
}
|
|
19494
19405
|
function defineSkip(value) {
|
|
@@ -19509,10 +19420,7 @@ function createTokenizer(parser, initialize, from) {
|
|
|
19509
19420
|
consumed = void 0, expectedCode = code2, state = state(code2);
|
|
19510
19421
|
}
|
|
19511
19422
|
function consume(code2) {
|
|
19512
|
-
markdownLineEnding(code2) ? (point4.line++, point4.column = 1, point4.offset += code2 === -3 ? 2 : 1, accountForPotentialSkip()) : code2 !== -1 && (point4.column++, point4.offset++), point4._bufferIndex < 0 ? point4._index++ : (point4._bufferIndex++, point4._bufferIndex ===
|
|
19513
|
-
// strings.
|
|
19514
|
-
/** @type {string} */
|
|
19515
|
-
chunks[point4._index].length && (point4._bufferIndex = -1, point4._index++)), context.previous = code2, consumed = !0;
|
|
19423
|
+
markdownLineEnding(code2) ? (point4.line++, point4.column = 1, point4.offset += code2 === -3 ? 2 : 1, accountForPotentialSkip()) : code2 !== -1 && (point4.column++, point4.offset++), point4._bufferIndex < 0 ? point4._index++ : (point4._bufferIndex++, point4._bufferIndex === chunks[point4._index].length && (point4._bufferIndex = -1, point4._index++)), context.previous = code2, consumed = !0;
|
|
19516
19424
|
}
|
|
19517
19425
|
function enter(type, fields) {
|
|
19518
19426
|
let token = fields || {};
|
|
@@ -19532,23 +19440,17 @@ function createTokenizer(parser, initialize, from) {
|
|
|
19532
19440
|
return hook;
|
|
19533
19441
|
function hook(constructs2, returnState, bogusState) {
|
|
19534
19442
|
let listOfConstructs, constructIndex, currentConstruct, info;
|
|
19535
|
-
return Array.isArray(constructs2) ? (
|
|
19536
|
-
|
|
19537
|
-
handleListOfConstructs(constructs2)
|
|
19538
|
-
) : "tokenize" in constructs2 ? (
|
|
19539
|
-
// Looks like a construct.
|
|
19540
|
-
handleListOfConstructs([
|
|
19541
|
-
/** @type {Construct} */
|
|
19542
|
-
constructs2
|
|
19543
|
-
])
|
|
19443
|
+
return Array.isArray(constructs2) ? handleListOfConstructs(constructs2) : "tokenize" in constructs2 ? (
|
|
19444
|
+
// @ts-expect-error Looks like a construct.
|
|
19445
|
+
handleListOfConstructs([constructs2])
|
|
19544
19446
|
) : handleMapOfConstructs(constructs2);
|
|
19545
19447
|
function handleMapOfConstructs(map) {
|
|
19546
19448
|
return start2;
|
|
19547
19449
|
function start2(code2) {
|
|
19548
|
-
let
|
|
19450
|
+
let def = code2 !== null && map[code2], all3 = code2 !== null && map.null, list3 = [
|
|
19549
19451
|
// To do: add more extension tests.
|
|
19550
19452
|
/* c8 ignore next 2 */
|
|
19551
|
-
...Array.isArray(
|
|
19453
|
+
...Array.isArray(def) ? def : def ? [def] : [],
|
|
19552
19454
|
...Array.isArray(all3) ? all3 : all3 ? [all3] : []
|
|
19553
19455
|
];
|
|
19554
19456
|
return handleListOfConstructs(list3)(code2);
|
|
@@ -19580,13 +19482,18 @@ function createTokenizer(parser, initialize, from) {
|
|
|
19580
19482
|
}
|
|
19581
19483
|
}
|
|
19582
19484
|
function addResult(construct, from2) {
|
|
19583
|
-
construct.resolveAll && !resolveAllConstructs.includes(construct) && resolveAllConstructs.push(construct), construct.resolve && splice(
|
|
19485
|
+
construct.resolveAll && !resolveAllConstructs.includes(construct) && resolveAllConstructs.push(construct), construct.resolve && splice(
|
|
19486
|
+
context.events,
|
|
19487
|
+
from2,
|
|
19488
|
+
context.events.length - from2,
|
|
19489
|
+
construct.resolve(context.events.slice(from2), context)
|
|
19490
|
+
), construct.resolveTo && (context.events = construct.resolveTo(context.events, context));
|
|
19584
19491
|
}
|
|
19585
19492
|
function store() {
|
|
19586
19493
|
let startPoint = now(), startPrevious = context.previous, startCurrentConstruct = context.currentConstruct, startEventsIndex = context.events.length, startStack = Array.from(stack);
|
|
19587
19494
|
return {
|
|
19588
|
-
|
|
19589
|
-
|
|
19495
|
+
restore,
|
|
19496
|
+
from: startEventsIndex
|
|
19590
19497
|
};
|
|
19591
19498
|
function restore() {
|
|
19592
19499
|
point4 = startPoint, context.previous = startPrevious, context.currentConstruct = startCurrentConstruct, context.events.length = startEventsIndex, stack = startStack, accountForPotentialSkip();
|
|
@@ -19615,50 +19522,118 @@ function serializeChunks2(chunks, expandTabs) {
|
|
|
19615
19522
|
let chunk = chunks[index2], value;
|
|
19616
19523
|
if (typeof chunk == "string")
|
|
19617
19524
|
value = chunk;
|
|
19618
|
-
else
|
|
19619
|
-
|
|
19620
|
-
|
|
19621
|
-
|
|
19622
|
-
|
|
19623
|
-
|
|
19624
|
-
|
|
19525
|
+
else
|
|
19526
|
+
switch (chunk) {
|
|
19527
|
+
case -5: {
|
|
19528
|
+
value = "\r";
|
|
19529
|
+
break;
|
|
19530
|
+
}
|
|
19531
|
+
case -4: {
|
|
19532
|
+
value = `
|
|
19625
19533
|
`;
|
|
19626
|
-
|
|
19627
|
-
|
|
19628
|
-
|
|
19629
|
-
|
|
19534
|
+
break;
|
|
19535
|
+
}
|
|
19536
|
+
case -3: {
|
|
19537
|
+
value = `\r
|
|
19630
19538
|
`;
|
|
19631
|
-
|
|
19632
|
-
|
|
19633
|
-
|
|
19634
|
-
|
|
19635
|
-
|
|
19636
|
-
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
|
|
19640
|
-
|
|
19539
|
+
break;
|
|
19540
|
+
}
|
|
19541
|
+
case -2: {
|
|
19542
|
+
value = expandTabs ? " " : " ";
|
|
19543
|
+
break;
|
|
19544
|
+
}
|
|
19545
|
+
case -1: {
|
|
19546
|
+
if (!expandTabs && atTab) continue;
|
|
19547
|
+
value = " ";
|
|
19548
|
+
break;
|
|
19549
|
+
}
|
|
19550
|
+
default:
|
|
19551
|
+
value = String.fromCharCode(chunk);
|
|
19641
19552
|
}
|
|
19642
|
-
default:
|
|
19643
|
-
value = String.fromCharCode(chunk);
|
|
19644
|
-
}
|
|
19645
19553
|
atTab = chunk === -2, result.push(value);
|
|
19646
19554
|
}
|
|
19647
19555
|
return result.join("");
|
|
19648
19556
|
}
|
|
19649
19557
|
|
|
19650
|
-
//
|
|
19558
|
+
// ../../../node_modules/micromark/lib/constructs.js
|
|
19559
|
+
var constructs_exports = {};
|
|
19560
|
+
__export(constructs_exports, {
|
|
19561
|
+
attentionMarkers: () => attentionMarkers,
|
|
19562
|
+
contentInitial: () => contentInitial,
|
|
19563
|
+
disable: () => disable,
|
|
19564
|
+
document: () => document2,
|
|
19565
|
+
flow: () => flow2,
|
|
19566
|
+
flowInitial: () => flowInitial,
|
|
19567
|
+
insideSpan: () => insideSpan,
|
|
19568
|
+
string: () => string2,
|
|
19569
|
+
text: () => text3
|
|
19570
|
+
});
|
|
19571
|
+
var document2 = {
|
|
19572
|
+
42: list,
|
|
19573
|
+
43: list,
|
|
19574
|
+
45: list,
|
|
19575
|
+
48: list,
|
|
19576
|
+
49: list,
|
|
19577
|
+
50: list,
|
|
19578
|
+
51: list,
|
|
19579
|
+
52: list,
|
|
19580
|
+
53: list,
|
|
19581
|
+
54: list,
|
|
19582
|
+
55: list,
|
|
19583
|
+
56: list,
|
|
19584
|
+
57: list,
|
|
19585
|
+
62: blockQuote
|
|
19586
|
+
}, contentInitial = {
|
|
19587
|
+
91: definition
|
|
19588
|
+
}, flowInitial = {
|
|
19589
|
+
[-2]: codeIndented,
|
|
19590
|
+
[-1]: codeIndented,
|
|
19591
|
+
32: codeIndented
|
|
19592
|
+
}, flow2 = {
|
|
19593
|
+
35: headingAtx,
|
|
19594
|
+
42: thematicBreak,
|
|
19595
|
+
45: [setextUnderline, thematicBreak],
|
|
19596
|
+
60: htmlFlow,
|
|
19597
|
+
61: setextUnderline,
|
|
19598
|
+
95: thematicBreak,
|
|
19599
|
+
96: codeFenced,
|
|
19600
|
+
126: codeFenced
|
|
19601
|
+
}, string2 = {
|
|
19602
|
+
38: characterReference,
|
|
19603
|
+
92: characterEscape
|
|
19604
|
+
}, text3 = {
|
|
19605
|
+
[-5]: lineEnding,
|
|
19606
|
+
[-4]: lineEnding,
|
|
19607
|
+
[-3]: lineEnding,
|
|
19608
|
+
33: labelStartImage,
|
|
19609
|
+
38: characterReference,
|
|
19610
|
+
42: attention,
|
|
19611
|
+
60: [autolink, htmlText],
|
|
19612
|
+
91: labelStartLink,
|
|
19613
|
+
92: [hardBreakEscape, characterEscape],
|
|
19614
|
+
93: labelEnd,
|
|
19615
|
+
95: attention,
|
|
19616
|
+
96: codeText
|
|
19617
|
+
}, insideSpan = {
|
|
19618
|
+
null: [attention, resolver]
|
|
19619
|
+
}, attentionMarkers = {
|
|
19620
|
+
null: [42, 95]
|
|
19621
|
+
}, disable = {
|
|
19622
|
+
null: []
|
|
19623
|
+
};
|
|
19624
|
+
|
|
19625
|
+
// ../../../node_modules/micromark/lib/parse.js
|
|
19651
19626
|
function parse3(options) {
|
|
19652
|
-
let
|
|
19653
|
-
|
|
19654
|
-
|
|
19655
|
-
|
|
19656
|
-
),
|
|
19657
|
-
content: create4(content2),
|
|
19627
|
+
let constructs2 = (
|
|
19628
|
+
/** @type {FullNormalizedExtension} */
|
|
19629
|
+
combineExtensions([constructs_exports, ...(options || {}).extensions || []])
|
|
19630
|
+
), parser = {
|
|
19658
19631
|
defined: [],
|
|
19632
|
+
lazy: {},
|
|
19633
|
+
constructs: constructs2,
|
|
19634
|
+
content: create4(content2),
|
|
19659
19635
|
document: create4(document),
|
|
19660
19636
|
flow: create4(flow),
|
|
19661
|
-
lazy: {},
|
|
19662
19637
|
string: create4(string),
|
|
19663
19638
|
text: create4(text2)
|
|
19664
19639
|
};
|
|
@@ -19671,14 +19646,14 @@ function parse3(options) {
|
|
|
19671
19646
|
}
|
|
19672
19647
|
}
|
|
19673
19648
|
|
|
19674
|
-
//
|
|
19649
|
+
// ../../../node_modules/micromark/lib/postprocess.js
|
|
19675
19650
|
function postprocess(events) {
|
|
19676
19651
|
for (; !subtokenize(events); )
|
|
19677
19652
|
;
|
|
19678
19653
|
return events;
|
|
19679
19654
|
}
|
|
19680
19655
|
|
|
19681
|
-
//
|
|
19656
|
+
// ../../../node_modules/micromark/lib/preprocess.js
|
|
19682
19657
|
var search = /[\0\t\n\r]/g;
|
|
19683
19658
|
function preprocess() {
|
|
19684
19659
|
let column = 1, buffer = "", start2 = !0, atCarriageReturn;
|
|
@@ -19715,7 +19690,7 @@ function preprocess() {
|
|
|
19715
19690
|
}
|
|
19716
19691
|
}
|
|
19717
19692
|
|
|
19718
|
-
//
|
|
19693
|
+
// ../../../node_modules/micromark-util-decode-string/index.js
|
|
19719
19694
|
var characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
19720
19695
|
function decodeString(value) {
|
|
19721
19696
|
return value.replace(characterEscapeOrReference, decode);
|
|
@@ -19730,10 +19705,14 @@ function decode($0, $1, $2) {
|
|
|
19730
19705
|
return decodeNamedCharacterReference($2) || $0;
|
|
19731
19706
|
}
|
|
19732
19707
|
|
|
19733
|
-
//
|
|
19708
|
+
// ../../../node_modules/mdast-util-from-markdown/lib/index.js
|
|
19734
19709
|
var own8 = {}.hasOwnProperty;
|
|
19735
19710
|
function fromMarkdown(value, encoding, options) {
|
|
19736
|
-
return typeof encoding != "string" && (options = encoding, encoding = void 0), compiler(options)(
|
|
19711
|
+
return typeof encoding != "string" && (options = encoding, encoding = void 0), compiler(options)(
|
|
19712
|
+
postprocess(
|
|
19713
|
+
parse3(options).document().write(preprocess()(value, encoding, !0))
|
|
19714
|
+
)
|
|
19715
|
+
);
|
|
19737
19716
|
}
|
|
19738
19717
|
function compiler(options) {
|
|
19739
19718
|
let config = {
|
|
@@ -19793,7 +19772,6 @@ function compiler(options) {
|
|
|
19793
19772
|
characterReferenceMarkerHexadecimal: onexitcharacterreferencemarker,
|
|
19794
19773
|
characterReferenceMarkerNumeric: onexitcharacterreferencemarker,
|
|
19795
19774
|
characterReferenceValue: onexitcharacterreferencevalue,
|
|
19796
|
-
characterReference: onexitcharacterreference,
|
|
19797
19775
|
codeFenced: closer(onexitcodefenced),
|
|
19798
19776
|
codeFencedFence: onexitcodefencedfence,
|
|
19799
19777
|
codeFencedFenceInfo: onexitcodefencedfenceinfo,
|
|
@@ -19861,25 +19839,35 @@ function compiler(options) {
|
|
|
19861
19839
|
}
|
|
19862
19840
|
for (index2 = -1; ++index2 < events.length; ) {
|
|
19863
19841
|
let handler = config[events[index2][0]];
|
|
19864
|
-
own8.call(handler, events[index2][1].type) && handler[events[index2][1].type].call(
|
|
19865
|
-
|
|
19866
|
-
|
|
19842
|
+
own8.call(handler, events[index2][1].type) && handler[events[index2][1].type].call(
|
|
19843
|
+
Object.assign(
|
|
19844
|
+
{
|
|
19845
|
+
sliceSerialize: events[index2][2].sliceSerialize
|
|
19846
|
+
},
|
|
19847
|
+
context
|
|
19848
|
+
),
|
|
19849
|
+
events[index2][1]
|
|
19850
|
+
);
|
|
19867
19851
|
}
|
|
19868
19852
|
if (context.tokenStack.length > 0) {
|
|
19869
19853
|
let tail = context.tokenStack[context.tokenStack.length - 1];
|
|
19870
19854
|
(tail[1] || defaultOnError).call(context, void 0, tail[0]);
|
|
19871
19855
|
}
|
|
19872
19856
|
for (tree.position = {
|
|
19873
|
-
start: point3(
|
|
19874
|
-
|
|
19875
|
-
|
|
19876
|
-
|
|
19877
|
-
|
|
19878
|
-
|
|
19879
|
-
|
|
19880
|
-
|
|
19881
|
-
|
|
19882
|
-
|
|
19857
|
+
start: point3(
|
|
19858
|
+
events.length > 0 ? events[0][1].start : {
|
|
19859
|
+
line: 1,
|
|
19860
|
+
column: 1,
|
|
19861
|
+
offset: 0
|
|
19862
|
+
}
|
|
19863
|
+
),
|
|
19864
|
+
end: point3(
|
|
19865
|
+
events.length > 0 ? events[events.length - 2][1].end : {
|
|
19866
|
+
line: 1,
|
|
19867
|
+
column: 1,
|
|
19868
|
+
offset: 0
|
|
19869
|
+
}
|
|
19870
|
+
)
|
|
19883
19871
|
}, index2 = -1; ++index2 < config.transforms.length; )
|
|
19884
19872
|
tree = config.transforms[index2](tree) || tree;
|
|
19885
19873
|
return tree;
|
|
@@ -19919,7 +19907,10 @@ function compiler(options) {
|
|
|
19919
19907
|
} else if (!(tailEvent[1].type === "linePrefix" || tailEvent[1].type === "blockQuotePrefix" || tailEvent[1].type === "blockQuotePrefixWhitespace" || tailEvent[1].type === "blockQuoteMarker" || tailEvent[1].type === "listItemIndent"))
|
|
19920
19908
|
break;
|
|
19921
19909
|
}
|
|
19922
|
-
firstBlankLineIndex && (!lineIndex || firstBlankLineIndex < lineIndex) && (listItem3._spread = !0), listItem3.end = Object.assign(
|
|
19910
|
+
firstBlankLineIndex && (!lineIndex || firstBlankLineIndex < lineIndex) && (listItem3._spread = !0), listItem3.end = Object.assign(
|
|
19911
|
+
{},
|
|
19912
|
+
lineIndex ? events[lineIndex][1].start : event[1].end
|
|
19913
|
+
), events.splice(lineIndex || index2, 0, ["exit", listItem3, event[2]]), index2++, length++;
|
|
19923
19914
|
}
|
|
19924
19915
|
if (event[1].type === "listItemPrefix") {
|
|
19925
19916
|
let item = {
|
|
@@ -19948,7 +19939,7 @@ function compiler(options) {
|
|
|
19948
19939
|
});
|
|
19949
19940
|
}
|
|
19950
19941
|
function enter(node2, token, errorHandler) {
|
|
19951
|
-
this.stack[this.stack.length - 1].children.push(node2), this.stack.push(node2), this.tokenStack.push([token, errorHandler
|
|
19942
|
+
this.stack[this.stack.length - 1].children.push(node2), this.stack.push(node2), this.tokenStack.push([token, errorHandler]), node2.position = {
|
|
19952
19943
|
start: point3(token.start),
|
|
19953
19944
|
// @ts-expect-error: `end` will be patched later.
|
|
19954
19945
|
end: void 0
|
|
@@ -19964,10 +19955,12 @@ function compiler(options) {
|
|
|
19964
19955
|
let node2 = this.stack.pop(), open = this.tokenStack.pop();
|
|
19965
19956
|
if (open)
|
|
19966
19957
|
open[0].type !== token.type && (onExitError ? onExitError.call(this, token, open[0]) : (open[1] || defaultOnError).call(this, token, open[0]));
|
|
19967
|
-
else throw new Error(
|
|
19968
|
-
|
|
19969
|
-
|
|
19970
|
-
|
|
19958
|
+
else throw new Error(
|
|
19959
|
+
"Cannot close `" + token.type + "` (" + stringifyPosition({
|
|
19960
|
+
start: token.start,
|
|
19961
|
+
end: token.end
|
|
19962
|
+
}) + "): it\u2019s not open"
|
|
19963
|
+
);
|
|
19971
19964
|
node2.position.end = point3(token.end);
|
|
19972
19965
|
}
|
|
19973
19966
|
function resume() {
|
|
@@ -20003,7 +19996,9 @@ function compiler(options) {
|
|
|
20003
19996
|
}
|
|
20004
19997
|
function onexitdefinitionlabelstring(token) {
|
|
20005
19998
|
let label = this.resume(), node2 = this.stack[this.stack.length - 1];
|
|
20006
|
-
node2.label = label, node2.identifier = normalizeIdentifier(
|
|
19999
|
+
node2.label = label, node2.identifier = normalizeIdentifier(
|
|
20000
|
+
this.sliceSerialize(token)
|
|
20001
|
+
).toLowerCase();
|
|
20007
20002
|
}
|
|
20008
20003
|
function onexitdefinitiontitlestring() {
|
|
20009
20004
|
let data3 = this.resume(), node2 = this.stack[this.stack.length - 1];
|
|
@@ -20112,20 +20107,21 @@ function compiler(options) {
|
|
|
20112
20107
|
}
|
|
20113
20108
|
function onexitreferencestring(token) {
|
|
20114
20109
|
let label = this.resume(), node2 = this.stack[this.stack.length - 1];
|
|
20115
|
-
node2.label = label, node2.identifier = normalizeIdentifier(
|
|
20110
|
+
node2.label = label, node2.identifier = normalizeIdentifier(
|
|
20111
|
+
this.sliceSerialize(token)
|
|
20112
|
+
).toLowerCase(), this.data.referenceType = "full";
|
|
20116
20113
|
}
|
|
20117
20114
|
function onexitcharacterreferencemarker(token) {
|
|
20118
20115
|
this.data.characterReferenceType = token.type;
|
|
20119
20116
|
}
|
|
20120
20117
|
function onexitcharacterreferencevalue(token) {
|
|
20121
20118
|
let data3 = this.sliceSerialize(token), type = this.data.characterReferenceType, value;
|
|
20122
|
-
type ? (value = decodeNumericCharacterReference(
|
|
20123
|
-
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
function onexitcharacterreference(token) {
|
|
20119
|
+
type ? (value = decodeNumericCharacterReference(
|
|
20120
|
+
data3,
|
|
20121
|
+
type === "characterReferenceMarkerNumeric" ? 10 : 16
|
|
20122
|
+
), this.data.characterReferenceType = void 0) : value = decodeNamedCharacterReference(data3);
|
|
20127
20123
|
let tail = this.stack.pop();
|
|
20128
|
-
tail.position.end = point3(token.end);
|
|
20124
|
+
tail.value += value, tail.position.end = point3(token.end);
|
|
20129
20125
|
}
|
|
20130
20126
|
function onexitautolinkprotocol(token) {
|
|
20131
20127
|
onexitdata.call(this, token);
|
|
@@ -20286,19 +20282,23 @@ function extension(combined, extension2) {
|
|
|
20286
20282
|
}
|
|
20287
20283
|
}
|
|
20288
20284
|
function defaultOnError(left, right) {
|
|
20289
|
-
throw left ? new Error(
|
|
20290
|
-
|
|
20291
|
-
|
|
20292
|
-
|
|
20293
|
-
|
|
20294
|
-
|
|
20295
|
-
|
|
20296
|
-
|
|
20297
|
-
|
|
20298
|
-
|
|
20285
|
+
throw left ? new Error(
|
|
20286
|
+
"Cannot close `" + left.type + "` (" + stringifyPosition({
|
|
20287
|
+
start: left.start,
|
|
20288
|
+
end: left.end
|
|
20289
|
+
}) + "): a different token (`" + right.type + "`, " + stringifyPosition({
|
|
20290
|
+
start: right.start,
|
|
20291
|
+
end: right.end
|
|
20292
|
+
}) + ") is open"
|
|
20293
|
+
) : new Error(
|
|
20294
|
+
"Cannot close document, a token (`" + right.type + "`, " + stringifyPosition({
|
|
20295
|
+
start: right.start,
|
|
20296
|
+
end: right.end
|
|
20297
|
+
}) + ") is still open"
|
|
20298
|
+
);
|
|
20299
20299
|
}
|
|
20300
20300
|
|
|
20301
|
-
//
|
|
20301
|
+
// ../../../node_modules/remark-parse/lib/index.js
|
|
20302
20302
|
function remarkParse(options) {
|
|
20303
20303
|
let self2 = this;
|
|
20304
20304
|
self2.parser = parser;
|
|
@@ -20315,7 +20315,7 @@ function remarkParse(options) {
|
|
|
20315
20315
|
}
|
|
20316
20316
|
}
|
|
20317
20317
|
|
|
20318
|
-
//
|
|
20318
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js
|
|
20319
20319
|
function blockquote(state, node2) {
|
|
20320
20320
|
let result = {
|
|
20321
20321
|
type: "element",
|
|
@@ -20326,14 +20326,14 @@ function blockquote(state, node2) {
|
|
|
20326
20326
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20327
20327
|
}
|
|
20328
20328
|
|
|
20329
|
-
//
|
|
20329
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/break.js
|
|
20330
20330
|
function hardBreak(state, node2) {
|
|
20331
20331
|
let result = { type: "element", tagName: "br", properties: {}, children: [] };
|
|
20332
20332
|
return state.patch(node2, result), [state.applyData(node2, result), { type: "text", value: `
|
|
20333
20333
|
` }];
|
|
20334
20334
|
}
|
|
20335
20335
|
|
|
20336
|
-
//
|
|
20336
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/code.js
|
|
20337
20337
|
function code(state, node2) {
|
|
20338
20338
|
let value = node2.value ? node2.value + `
|
|
20339
20339
|
` : "", properties = {};
|
|
@@ -20347,7 +20347,7 @@ function code(state, node2) {
|
|
|
20347
20347
|
return node2.meta && (result.data = { meta: node2.meta }), state.patch(node2, result), result = state.applyData(node2, result), result = { type: "element", tagName: "pre", properties: {}, children: [result] }, state.patch(node2, result), result;
|
|
20348
20348
|
}
|
|
20349
20349
|
|
|
20350
|
-
//
|
|
20350
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/delete.js
|
|
20351
20351
|
function strikethrough(state, node2) {
|
|
20352
20352
|
let result = {
|
|
20353
20353
|
type: "element",
|
|
@@ -20358,7 +20358,7 @@ function strikethrough(state, node2) {
|
|
|
20358
20358
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20359
20359
|
}
|
|
20360
20360
|
|
|
20361
|
-
//
|
|
20361
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js
|
|
20362
20362
|
function emphasis(state, node2) {
|
|
20363
20363
|
let result = {
|
|
20364
20364
|
type: "element",
|
|
@@ -20369,7 +20369,7 @@ function emphasis(state, node2) {
|
|
|
20369
20369
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20370
20370
|
}
|
|
20371
20371
|
|
|
20372
|
-
//
|
|
20372
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js
|
|
20373
20373
|
function footnoteReference(state, node2) {
|
|
20374
20374
|
let clobberPrefix = typeof state.options.clobberPrefix == "string" ? state.options.clobberPrefix : "user-content-", id = String(node2.identifier).toUpperCase(), safeId = normalizeUri(id.toLowerCase()), index2 = state.footnoteOrder.indexOf(id), counter, reuseCounter = state.footnoteCounts.get(id);
|
|
20375
20375
|
reuseCounter === void 0 ? (reuseCounter = 0, state.footnoteOrder.push(id), counter = state.footnoteOrder.length) : counter = index2 + 1, reuseCounter += 1, state.footnoteCounts.set(id, reuseCounter);
|
|
@@ -20394,7 +20394,7 @@ function footnoteReference(state, node2) {
|
|
|
20394
20394
|
return state.patch(node2, sup), state.applyData(node2, sup);
|
|
20395
20395
|
}
|
|
20396
20396
|
|
|
20397
|
-
//
|
|
20397
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/heading.js
|
|
20398
20398
|
function heading(state, node2) {
|
|
20399
20399
|
let result = {
|
|
20400
20400
|
type: "element",
|
|
@@ -20405,7 +20405,7 @@ function heading(state, node2) {
|
|
|
20405
20405
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20406
20406
|
}
|
|
20407
20407
|
|
|
20408
|
-
//
|
|
20408
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/html.js
|
|
20409
20409
|
function html3(state, node2) {
|
|
20410
20410
|
if (state.options.allowDangerousHtml) {
|
|
20411
20411
|
let result = { type: "raw", value: node2.value };
|
|
@@ -20413,7 +20413,7 @@ function html3(state, node2) {
|
|
|
20413
20413
|
}
|
|
20414
20414
|
}
|
|
20415
20415
|
|
|
20416
|
-
//
|
|
20416
|
+
// ../../../node_modules/mdast-util-to-hast/lib/revert.js
|
|
20417
20417
|
function revert(state, node2) {
|
|
20418
20418
|
let subtype = node2.referenceType, suffix = "]";
|
|
20419
20419
|
if (subtype === "collapsed" ? suffix += "[]" : subtype === "full" && (suffix += "[" + (node2.label || node2.identifier) + "]"), node2.type === "imageReference")
|
|
@@ -20424,7 +20424,7 @@ function revert(state, node2) {
|
|
|
20424
20424
|
return tail && tail.type === "text" ? tail.value += suffix : contents.push({ type: "text", value: suffix }), contents;
|
|
20425
20425
|
}
|
|
20426
20426
|
|
|
20427
|
-
//
|
|
20427
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js
|
|
20428
20428
|
function imageReference(state, node2) {
|
|
20429
20429
|
let id = String(node2.identifier).toUpperCase(), definition2 = state.definitionById.get(id);
|
|
20430
20430
|
if (!definition2)
|
|
@@ -20435,7 +20435,7 @@ function imageReference(state, node2) {
|
|
|
20435
20435
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20436
20436
|
}
|
|
20437
20437
|
|
|
20438
|
-
//
|
|
20438
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/image.js
|
|
20439
20439
|
function image(state, node2) {
|
|
20440
20440
|
let properties = { src: normalizeUri(node2.url) };
|
|
20441
20441
|
node2.alt !== null && node2.alt !== void 0 && (properties.alt = node2.alt), node2.title !== null && node2.title !== void 0 && (properties.title = node2.title);
|
|
@@ -20443,7 +20443,7 @@ function image(state, node2) {
|
|
|
20443
20443
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20444
20444
|
}
|
|
20445
20445
|
|
|
20446
|
-
//
|
|
20446
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js
|
|
20447
20447
|
function inlineCode(state, node2) {
|
|
20448
20448
|
let text5 = { type: "text", value: node2.value.replace(/\r?\n|\r/g, " ") };
|
|
20449
20449
|
state.patch(node2, text5);
|
|
@@ -20456,7 +20456,7 @@ function inlineCode(state, node2) {
|
|
|
20456
20456
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20457
20457
|
}
|
|
20458
20458
|
|
|
20459
|
-
//
|
|
20459
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/link-reference.js
|
|
20460
20460
|
function linkReference(state, node2) {
|
|
20461
20461
|
let id = String(node2.identifier).toUpperCase(), definition2 = state.definitionById.get(id);
|
|
20462
20462
|
if (!definition2)
|
|
@@ -20472,7 +20472,7 @@ function linkReference(state, node2) {
|
|
|
20472
20472
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20473
20473
|
}
|
|
20474
20474
|
|
|
20475
|
-
//
|
|
20475
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/link.js
|
|
20476
20476
|
function link(state, node2) {
|
|
20477
20477
|
let properties = { href: normalizeUri(node2.url) };
|
|
20478
20478
|
node2.title !== null && node2.title !== void 0 && (properties.title = node2.title);
|
|
@@ -20485,7 +20485,7 @@ function link(state, node2) {
|
|
|
20485
20485
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20486
20486
|
}
|
|
20487
20487
|
|
|
20488
|
-
//
|
|
20488
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/list-item.js
|
|
20489
20489
|
function listItem(state, node2, parent) {
|
|
20490
20490
|
let results = state.all(node2), loose = parent ? listLoose(parent) : listItemLoose(node2), properties = {}, children = [];
|
|
20491
20491
|
if (typeof node2.checked == "boolean") {
|
|
@@ -20524,7 +20524,7 @@ function listItemLoose(node2) {
|
|
|
20524
20524
|
return spread ?? node2.children.length > 1;
|
|
20525
20525
|
}
|
|
20526
20526
|
|
|
20527
|
-
//
|
|
20527
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/list.js
|
|
20528
20528
|
function list2(state, node2) {
|
|
20529
20529
|
let properties = {}, results = state.all(node2), index2 = -1;
|
|
20530
20530
|
for (typeof node2.start == "number" && node2.start !== 1 && (properties.start = node2.start); ++index2 < results.length; ) {
|
|
@@ -20543,7 +20543,7 @@ function list2(state, node2) {
|
|
|
20543
20543
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20544
20544
|
}
|
|
20545
20545
|
|
|
20546
|
-
//
|
|
20546
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/paragraph.js
|
|
20547
20547
|
function paragraph(state, node2) {
|
|
20548
20548
|
let result = {
|
|
20549
20549
|
type: "element",
|
|
@@ -20554,13 +20554,13 @@ function paragraph(state, node2) {
|
|
|
20554
20554
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20555
20555
|
}
|
|
20556
20556
|
|
|
20557
|
-
//
|
|
20557
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/root.js
|
|
20558
20558
|
function root2(state, node2) {
|
|
20559
20559
|
let result = { type: "root", children: state.wrap(state.all(node2)) };
|
|
20560
20560
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20561
20561
|
}
|
|
20562
20562
|
|
|
20563
|
-
//
|
|
20563
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/strong.js
|
|
20564
20564
|
function strong(state, node2) {
|
|
20565
20565
|
let result = {
|
|
20566
20566
|
type: "element",
|
|
@@ -20571,7 +20571,7 @@ function strong(state, node2) {
|
|
|
20571
20571
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20572
20572
|
}
|
|
20573
20573
|
|
|
20574
|
-
//
|
|
20574
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/table.js
|
|
20575
20575
|
function table(state, node2) {
|
|
20576
20576
|
let rows = state.all(node2), firstRow = rows.shift(), tableContent = [];
|
|
20577
20577
|
if (firstRow) {
|
|
@@ -20601,7 +20601,7 @@ function table(state, node2) {
|
|
|
20601
20601
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20602
20602
|
}
|
|
20603
20603
|
|
|
20604
|
-
//
|
|
20604
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/table-row.js
|
|
20605
20605
|
function tableRow(state, node2, parent) {
|
|
20606
20606
|
let siblings = parent ? parent.children : void 0, tagName = (siblings ? siblings.indexOf(node2) : 1) === 0 ? "th" : "td", align = parent && parent.type === "table" ? parent.align : void 0, length = align ? align.length : node2.children.length, cellIndex = -1, cells = [];
|
|
20607
20607
|
for (; ++cellIndex < length; ) {
|
|
@@ -20619,7 +20619,7 @@ function tableRow(state, node2, parent) {
|
|
|
20619
20619
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20620
20620
|
}
|
|
20621
20621
|
|
|
20622
|
-
//
|
|
20622
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/table-cell.js
|
|
20623
20623
|
function tableCell(state, node2) {
|
|
20624
20624
|
let result = {
|
|
20625
20625
|
type: "element",
|
|
@@ -20631,7 +20631,7 @@ function tableCell(state, node2) {
|
|
|
20631
20631
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20632
20632
|
}
|
|
20633
20633
|
|
|
20634
|
-
//
|
|
20634
|
+
// ../../../node_modules/trim-lines/index.js
|
|
20635
20635
|
function trimLines(value) {
|
|
20636
20636
|
let source = String(value), search2 = /\r?\n|\r/g, match = search2.exec(source), last = 0, lines = [];
|
|
20637
20637
|
for (; match; )
|
|
@@ -20656,13 +20656,13 @@ function trimLine(value, start2, end) {
|
|
|
20656
20656
|
return endIndex > startIndex ? value.slice(startIndex, endIndex) : "";
|
|
20657
20657
|
}
|
|
20658
20658
|
|
|
20659
|
-
//
|
|
20659
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/text.js
|
|
20660
20660
|
function text4(state, node2) {
|
|
20661
20661
|
let result = { type: "text", value: trimLines(String(node2.value)) };
|
|
20662
20662
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20663
20663
|
}
|
|
20664
20664
|
|
|
20665
|
-
//
|
|
20665
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js
|
|
20666
20666
|
function thematicBreak2(state, node2) {
|
|
20667
20667
|
let result = {
|
|
20668
20668
|
type: "element",
|
|
@@ -20673,7 +20673,7 @@ function thematicBreak2(state, node2) {
|
|
|
20673
20673
|
return state.patch(node2, result), state.applyData(node2, result);
|
|
20674
20674
|
}
|
|
20675
20675
|
|
|
20676
|
-
//
|
|
20676
|
+
// ../../../node_modules/mdast-util-to-hast/lib/handlers/index.js
|
|
20677
20677
|
var handlers2 = {
|
|
20678
20678
|
blockquote,
|
|
20679
20679
|
break: hardBreak,
|
|
@@ -20707,7 +20707,7 @@ var handlers2 = {
|
|
|
20707
20707
|
function ignore2() {
|
|
20708
20708
|
}
|
|
20709
20709
|
|
|
20710
|
-
//
|
|
20710
|
+
// ../../../node_modules/mdast-util-to-hast/lib/footer.js
|
|
20711
20711
|
function defaultFootnoteBackContent(_, rereferenceIndex) {
|
|
20712
20712
|
let result = [{ type: "text", value: "\u21A9" }];
|
|
20713
20713
|
return rereferenceIndex > 1 && result.push({
|
|
@@ -20789,7 +20789,7 @@ function footer(state) {
|
|
|
20789
20789
|
};
|
|
20790
20790
|
}
|
|
20791
20791
|
|
|
20792
|
-
//
|
|
20792
|
+
// ../../../node_modules/mdast-util-to-hast/lib/state.js
|
|
20793
20793
|
var own9 = {}.hasOwnProperty, emptyOptions5 = {};
|
|
20794
20794
|
function createState2(tree, options) {
|
|
20795
20795
|
let settings = options || emptyOptions5, definitionById = /* @__PURE__ */ new Map(), footnoteById = /* @__PURE__ */ new Map(), footnoteCounts = /* @__PURE__ */ new Map(), handlers3 = { ...handlers2, ...settings.handlers }, state = {
|
|
@@ -20885,14 +20885,14 @@ function trimMarkdownSpaceStart(value) {
|
|
|
20885
20885
|
return value.slice(index2);
|
|
20886
20886
|
}
|
|
20887
20887
|
|
|
20888
|
-
//
|
|
20888
|
+
// ../../../node_modules/mdast-util-to-hast/lib/index.js
|
|
20889
20889
|
function toHast(tree, options) {
|
|
20890
20890
|
let state = createState2(tree, options), node2 = state.one(tree, void 0), foot = footer(state), result = Array.isArray(node2) ? { type: "root", children: node2 } : node2 || { type: "root", children: [] };
|
|
20891
20891
|
return foot && ("children" in result, result.children.push({ type: "text", value: `
|
|
20892
20892
|
` }, foot)), result;
|
|
20893
20893
|
}
|
|
20894
20894
|
|
|
20895
|
-
//
|
|
20895
|
+
// ../../../node_modules/remark-rehype/lib/index.js
|
|
20896
20896
|
function remarkRehype(destination, options) {
|
|
20897
20897
|
return destination && "run" in destination ? async function(tree, file) {
|
|
20898
20898
|
let hastTree = (
|
|
@@ -20908,16 +20908,16 @@ function remarkRehype(destination, options) {
|
|
|
20908
20908
|
};
|
|
20909
20909
|
}
|
|
20910
20910
|
|
|
20911
|
-
//
|
|
20911
|
+
// ../../../node_modules/bail/index.js
|
|
20912
20912
|
function bail(error) {
|
|
20913
20913
|
if (error)
|
|
20914
20914
|
throw error;
|
|
20915
20915
|
}
|
|
20916
20916
|
|
|
20917
|
-
//
|
|
20917
|
+
// ../../../node_modules/unified/lib/index.js
|
|
20918
20918
|
var import_extend = __toESM(require_extend(), 1);
|
|
20919
20919
|
|
|
20920
|
-
//
|
|
20920
|
+
// ../../../node_modules/is-plain-obj/index.js
|
|
20921
20921
|
function isPlainObject(value) {
|
|
20922
20922
|
if (typeof value != "object" || value === null)
|
|
20923
20923
|
return !1;
|
|
@@ -20925,7 +20925,7 @@ function isPlainObject(value) {
|
|
|
20925
20925
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
20926
20926
|
}
|
|
20927
20927
|
|
|
20928
|
-
//
|
|
20928
|
+
// ../../../node_modules/trough/lib/index.js
|
|
20929
20929
|
function trough() {
|
|
20930
20930
|
let fns = [], pipeline = { run: run2, use };
|
|
20931
20931
|
return pipeline;
|
|
@@ -20980,7 +20980,7 @@ function wrap2(middleware, callback) {
|
|
|
20980
20980
|
}
|
|
20981
20981
|
}
|
|
20982
20982
|
|
|
20983
|
-
//
|
|
20983
|
+
// ../../../node_modules/unified/lib/callable-instance.js
|
|
20984
20984
|
var CallableInstance = (
|
|
20985
20985
|
/**
|
|
20986
20986
|
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
@@ -21004,7 +21004,7 @@ var CallableInstance = (
|
|
|
21004
21004
|
})
|
|
21005
21005
|
);
|
|
21006
21006
|
|
|
21007
|
-
//
|
|
21007
|
+
// ../../../node_modules/unified/lib/index.js
|
|
21008
21008
|
var own10 = {}.hasOwnProperty, Processor = class _Processor extends CallableInstance {
|
|
21009
21009
|
/**
|
|
21010
21010
|
* Create a processor.
|
|
@@ -21523,7 +21523,7 @@ function isUint8Array2(value) {
|
|
|
21523
21523
|
return !!(value && typeof value == "object" && "byteLength" in value && "byteOffset" in value);
|
|
21524
21524
|
}
|
|
21525
21525
|
|
|
21526
|
-
//
|
|
21526
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/estree-util-create.js
|
|
21527
21527
|
function create3(from, to) {
|
|
21528
21528
|
let fields = ["start", "end", "loc", "range"], index2 = -1;
|
|
21529
21529
|
for (; ++index2 < fields.length; ) {
|
|
@@ -21532,7 +21532,7 @@ function create3(from, to) {
|
|
|
21532
21532
|
}
|
|
21533
21533
|
}
|
|
21534
21534
|
|
|
21535
|
-
//
|
|
21535
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/estree-util-specifiers-to-declarations.js
|
|
21536
21536
|
function specifiersToDeclarations(specifiers, init) {
|
|
21537
21537
|
let index2 = -1, declarations = [], otherSpecifiers = [], importNamespaceSpecifier;
|
|
21538
21538
|
for (; ++index2 < specifiers.length; ) {
|
|
@@ -21570,7 +21570,7 @@ function specifiersToDeclarations(specifiers, init) {
|
|
|
21570
21570
|
}), declarations;
|
|
21571
21571
|
}
|
|
21572
21572
|
|
|
21573
|
-
//
|
|
21573
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/estree-util-to-id-or-member-expression.js
|
|
21574
21574
|
function toIdOrMemberExpression(ids) {
|
|
21575
21575
|
let index2 = -1, object;
|
|
21576
21576
|
for (; ++index2 < ids.length; ) {
|
|
@@ -21596,7 +21596,7 @@ function toJsxIdOrMemberExpression(ids) {
|
|
|
21596
21596
|
return object;
|
|
21597
21597
|
}
|
|
21598
21598
|
|
|
21599
|
-
//
|
|
21599
|
+
// ../../../node_modules/@mdx-js/mdx/lib/plugin/recma-build-jsx-transform.js
|
|
21600
21600
|
function recmaBuildJsxTransform(options) {
|
|
21601
21601
|
let { outputFormat } = options || {};
|
|
21602
21602
|
return function(tree) {
|
|
@@ -21624,7 +21624,7 @@ function recmaBuildJsxTransform(options) {
|
|
|
21624
21624
|
};
|
|
21625
21625
|
}
|
|
21626
21626
|
|
|
21627
|
-
//
|
|
21627
|
+
// ../../../node_modules/estree-util-scope/lib/index.js
|
|
21628
21628
|
function createVisitors() {
|
|
21629
21629
|
let scopes = [{ block: !1, defined: [] }];
|
|
21630
21630
|
return { enter, exit: exit2, scopes };
|
|
@@ -21685,17 +21685,17 @@ function createVisitors() {
|
|
|
21685
21685
|
}
|
|
21686
21686
|
}
|
|
21687
21687
|
|
|
21688
|
-
//
|
|
21688
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/estree-util-declaration-to-expression.js
|
|
21689
21689
|
function declarationToExpression(declaration) {
|
|
21690
21690
|
return declaration.type === "FunctionDeclaration" ? { ...declaration, type: "FunctionExpression" } : (declaration.type, { ...declaration, type: "ClassExpression" });
|
|
21691
21691
|
}
|
|
21692
21692
|
|
|
21693
|
-
//
|
|
21693
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/estree-util-is-declaration.js
|
|
21694
21694
|
function isDeclaration(node2) {
|
|
21695
21695
|
return node2.type === "FunctionDeclaration" || node2.type === "ClassDeclaration" || node2.type === "VariableDeclaration";
|
|
21696
21696
|
}
|
|
21697
21697
|
|
|
21698
|
-
//
|
|
21698
|
+
// ../../../node_modules/@mdx-js/mdx/lib/plugin/recma-document.js
|
|
21699
21699
|
function recmaDocument(options) {
|
|
21700
21700
|
let baseUrl = options.baseUrl || void 0, baseHref = typeof baseUrl == "object" ? baseUrl.href : baseUrl, outputFormat = options.outputFormat || "program", pragma = options.pragma === void 0 ? "React.createElement" : options.pragma, pragmaFrag = options.pragmaFrag === void 0 ? "React.Fragment" : options.pragmaFrag, pragmaImportSource = options.pragmaImportSource || "react", jsxImportSource = options.jsxImportSource || "react", jsxRuntime = options.jsxRuntime || "automatic";
|
|
21701
21701
|
return function(tree, file) {
|
|
@@ -22200,7 +22200,7 @@ function createImportMetaUrlVariable() {
|
|
|
22200
22200
|
];
|
|
22201
22201
|
}
|
|
22202
22202
|
|
|
22203
|
-
//
|
|
22203
|
+
// ../../../node_modules/@mdx-js/mdx/lib/util/estree-util-to-binary-addition.js
|
|
22204
22204
|
function toBinaryAddition(expressions) {
|
|
22205
22205
|
let index2 = -1, left;
|
|
22206
22206
|
for (; ++index2 < expressions.length; ) {
|
|
@@ -22210,7 +22210,7 @@ function toBinaryAddition(expressions) {
|
|
|
22210
22210
|
return left;
|
|
22211
22211
|
}
|
|
22212
22212
|
|
|
22213
|
-
//
|
|
22213
|
+
// ../../../node_modules/@mdx-js/mdx/lib/plugin/recma-jsx-rewrite.js
|
|
22214
22214
|
function recmaJsxRewrite(options) {
|
|
22215
22215
|
let { development, outputFormat, providerImportSource } = options;
|
|
22216
22216
|
return function(tree, file) {
|
|
@@ -22484,7 +22484,7 @@ function inScope(scopes, id) {
|
|
|
22484
22484
|
return !1;
|
|
22485
22485
|
}
|
|
22486
22486
|
|
|
22487
|
-
//
|
|
22487
|
+
// ../../../node_modules/@mdx-js/mdx/lib/plugin/rehype-remove-raw.js
|
|
22488
22488
|
function rehypeRemoveRaw() {
|
|
22489
22489
|
return function(tree) {
|
|
22490
22490
|
visit(tree, "raw", function(_, index2, parent) {
|
|
@@ -22494,7 +22494,7 @@ function rehypeRemoveRaw() {
|
|
|
22494
22494
|
};
|
|
22495
22495
|
}
|
|
22496
22496
|
|
|
22497
|
-
//
|
|
22497
|
+
// ../../../node_modules/collapse-white-space/index.js
|
|
22498
22498
|
var js = /\s+/g, html4 = /[\t\n\v\f\r ]+/g;
|
|
22499
22499
|
function collapseWhiteSpace(value, options) {
|
|
22500
22500
|
options ? typeof options == "string" && (options = { style: options }) : options = {};
|
|
@@ -22518,7 +22518,7 @@ function trimFactory(replace) {
|
|
|
22518
22518
|
}
|
|
22519
22519
|
}
|
|
22520
22520
|
|
|
22521
|
-
//
|
|
22521
|
+
// ../../../node_modules/@mdx-js/mdx/lib/plugin/remark-mark-and-unravel.js
|
|
22522
22522
|
function remarkMarkAndUnravel() {
|
|
22523
22523
|
return function(tree) {
|
|
22524
22524
|
visit(tree, function(node2, index2, parent) {
|
|
@@ -22560,7 +22560,7 @@ function remarkMarkAndUnravel() {
|
|
|
22560
22560
|
};
|
|
22561
22561
|
}
|
|
22562
22562
|
|
|
22563
|
-
//
|
|
22563
|
+
// ../../../node_modules/@mdx-js/mdx/lib/node-types.js
|
|
22564
22564
|
var nodeTypes = (
|
|
22565
22565
|
/** @type {const} */
|
|
22566
22566
|
[
|
|
@@ -22572,7 +22572,7 @@ var nodeTypes = (
|
|
|
22572
22572
|
]
|
|
22573
22573
|
);
|
|
22574
22574
|
|
|
22575
|
-
//
|
|
22575
|
+
// ../../../node_modules/@mdx-js/mdx/lib/core.js
|
|
22576
22576
|
var removedOptions = [
|
|
22577
22577
|
"compilers",
|
|
22578
22578
|
"filepath",
|
|
@@ -22600,13 +22600,13 @@ function createProcessor(options) {
|
|
|
22600
22600
|
}).use(settings.rehypePlugins || []), settings.format === "md" && pipeline.use(rehypeRemoveRaw), pipeline.use(rehypeRecma, settings).use(recmaDocument, settings).use(recmaJsxRewrite, settings), settings.jsx || pipeline.use(recmaJsx, settings).use(recmaBuildJsxTransform, settings), pipeline.use(recmaJsx2).use(recmaStringify, settings).use(settings.recmaPlugins || []), pipeline;
|
|
22601
22601
|
}
|
|
22602
22602
|
|
|
22603
|
-
//
|
|
22603
|
+
// ../../../node_modules/@mdx-js/mdx/lib/compile.js
|
|
22604
22604
|
function compile2(vfileCompatible, compileOptions) {
|
|
22605
22605
|
let { file, options } = resolveFileAndOptions(vfileCompatible, compileOptions);
|
|
22606
22606
|
return createProcessor(options).process(file);
|
|
22607
22607
|
}
|
|
22608
22608
|
|
|
22609
|
-
//
|
|
22609
|
+
// ../../../node_modules/@mdx-js/mdx/lib/run.js
|
|
22610
22610
|
var AsyncFunction = Object.getPrototypeOf(run).constructor;
|
|
22611
22611
|
async function run(code2, options) {
|
|
22612
22612
|
return new AsyncFunction(String(code2))(options);
|