markview-vue 0.1.13 → 0.1.15
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/assets/{_basePickBy-CHITUj4p.cjs → _basePickBy-Bw-9vLR6.cjs} +1 -1
- package/dist/assets/{_basePickBy-ybeSkJfi.js → _basePickBy-CtTUbZnY.js} +2 -2
- package/dist/assets/{_baseUniq-xGqTUv6g.js → _baseUniq-D3cZ8Jy8.js} +1 -1
- package/dist/assets/{_baseUniq-BGLq8QRh.cjs → _baseUniq-DVvv1jUW.cjs} +1 -1
- package/dist/assets/{arc-CbsfC7zA.js → arc-CAJB5hr8.js} +1 -1
- package/dist/assets/{arc-Ba_uALHe.cjs → arc-ClCNUFlf.cjs} +1 -1
- package/dist/assets/architecture-7HQA4BMR-B-CrYegc.js +6 -0
- package/dist/assets/{architecture-7HQA4BMR-BdQzdD9-.cjs → architecture-7HQA4BMR-Bm_sK24c.cjs} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-CIAXg-eb.js → architectureDiagram-VXUJARFQ-BEtrmZ1K.js} +4 -4
- package/dist/assets/{architectureDiagram-VXUJARFQ-DDSvQNjx.cjs → architectureDiagram-VXUJARFQ-D78bDwTG.cjs} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-wQlEggOh.js → blockDiagram-VD42YOAC-Coo1YGct.js} +5 -5
- package/dist/assets/{blockDiagram-VD42YOAC-CWR8l5l2.cjs → blockDiagram-VD42YOAC-D_7kEIMh.cjs} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-CrrMmY-D.cjs → c4Diagram-YG6GDRKO-CsURvdbh.cjs} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-FBfLZqNW.js → c4Diagram-YG6GDRKO-Dtdph91R.js} +2 -2
- package/dist/assets/{channel-BRGQuuVl.js → channel-Cnn0TWLT.js} +1 -1
- package/dist/assets/{channel-CZ4XWtuo.cjs → channel-D9BcbEVP.cjs} +1 -1
- package/dist/assets/{chunk-4BX2VUAB-FPWk2Aj8.cjs → chunk-4BX2VUAB-B5L5GUwP.cjs} +1 -1
- package/dist/assets/{chunk-4BX2VUAB-BMbuSe4x.js → chunk-4BX2VUAB-CtSEAawo.js} +1 -1
- package/dist/assets/{chunk-55IACEB6-Cjgh_--n.cjs → chunk-55IACEB6-CA5zYnm4.cjs} +1 -1
- package/dist/assets/{chunk-55IACEB6-DiVv8R-7.js → chunk-55IACEB6-DX5O_Z1o.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-B_CFJmuC.cjs → chunk-B4BG7PRW-WnROxjbC.cjs} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-CObtScCP.js → chunk-B4BG7PRW-ZvzKinji.js} +4 -4
- package/dist/assets/{chunk-DI55MBZ5-BFm-KDUn.js → chunk-DI55MBZ5-1cBGN35w.js} +3 -3
- package/dist/assets/{chunk-DI55MBZ5-BZpMjriS.cjs → chunk-DI55MBZ5-DO2FRhyw.cjs} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-Cd9Z8061.cjs → chunk-FMBD7UC4-Cnbs7ctF.cjs} +1 -1
- package/dist/assets/{chunk-FMBD7UC4-Bo7IX0Tg.js → chunk-FMBD7UC4-DBi0t_HI.js} +1 -1
- package/dist/assets/{chunk-QN33PNHL-KOmxd_kK.cjs → chunk-QN33PNHL-Cb2VpYgx.cjs} +1 -1
- package/dist/assets/{chunk-QN33PNHL-CaS89Uk_.js → chunk-QN33PNHL-DKjBwxjF.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-Czbci--E.js → chunk-QZHKN3VN-DOqyLzzD.js} +1 -1
- package/dist/assets/{chunk-QZHKN3VN-D0_TUemW.cjs → chunk-QZHKN3VN-DaxJi0zI.cjs} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-tWWaxsin.cjs → chunk-TZMSLE5B-C9zsdCET.cjs} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-DPTrW-NE.js → chunk-TZMSLE5B-M14tAPd0.js} +1 -1
- package/dist/assets/{classDiagram-2ON5EDUG-BwYE0avN.js → classDiagram-2ON5EDUG-Bvfuxw_y.js} +2 -2
- package/dist/assets/{classDiagram-2ON5EDUG-D6CGN0lK.cjs → classDiagram-2ON5EDUG-BvoC_LN2.cjs} +1 -1
- package/dist/assets/{classDiagram-v2-WZHVMYZB-BwYE0avN.js → classDiagram-v2-WZHVMYZB-Bvfuxw_y.js} +2 -2
- package/dist/assets/{classDiagram-v2-WZHVMYZB-D6CGN0lK.cjs → classDiagram-v2-WZHVMYZB-BvoC_LN2.cjs} +1 -1
- package/dist/assets/{clone-CIEijpnt.js → clone-BMGjjOdn.js} +1 -1
- package/dist/assets/clone-DDhDEP0h.cjs +1 -0
- package/dist/assets/{cose-bilkent-S5V4N54A-D8qsMnvS.js → cose-bilkent-S5V4N54A-3w69kl4j.js} +2 -2
- package/dist/assets/{cose-bilkent-S5V4N54A-CGYbjcpr.cjs → cose-bilkent-S5V4N54A-BW-scnOk.cjs} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-C4Q40rgn.js → dagre-6UL2VRFP-C_53YKBp.js} +6 -6
- package/dist/assets/{dagre-6UL2VRFP-BzWnLxya.cjs → dagre-6UL2VRFP-DjYRHecM.cjs} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-CwWgRjfE.cjs → diagram-PSM6KHXK-B0sEugYK.cjs} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-Cb5u6c6h.js → diagram-PSM6KHXK-CtAGKo6u.js} +4 -4
- package/dist/assets/{diagram-QEK2KX5R-Bi2NJFR_.js → diagram-QEK2KX5R--Gk0G1G9.js} +3 -3
- package/dist/assets/{diagram-QEK2KX5R-CLiJ34Ww.cjs → diagram-QEK2KX5R-BQahGnK2.cjs} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-C3UiRU3w.js → diagram-S2PKOQOG-0Sde0SqZ.js} +3 -3
- package/dist/assets/{diagram-S2PKOQOG-OPuGn1kE.cjs → diagram-S2PKOQOG-b2e17aSe.cjs} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-mrezvRlN.cjs → erDiagram-Q2GNP2WA-4p8_yiEW.cjs} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-DVhIup4P.js → erDiagram-Q2GNP2WA-BfZ9MoU8.js} +4 -4
- package/dist/assets/{flowDiagram-NV44I4VS-BI2afYbF.js → flowDiagram-NV44I4VS-BspCjF_c.js} +5 -5
- package/dist/assets/{flowDiagram-NV44I4VS-uldiRJtW.cjs → flowDiagram-NV44I4VS-n7cFUkt3.cjs} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-XTesuTLx.cjs → ganttDiagram-JELNMOA3-BhCokPuM.cjs} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-B8_pSkSq.js → ganttDiagram-JELNMOA3-CKUGZMkz.js} +3 -3
- package/dist/assets/{gitGraph-G5XIXVHT-DEcLAdEU.cjs → gitGraph-G5XIXVHT-BZsHrSA3.cjs} +1 -1
- package/dist/assets/gitGraph-G5XIXVHT-e2c_uvDt.js +6 -0
- package/dist/assets/{gitGraphDiagram-V2S2FVAM-Cnf8w3oC.js → gitGraphDiagram-V2S2FVAM-C1Ngcl_Z.js} +4 -4
- package/dist/assets/{gitGraphDiagram-V2S2FVAM-CTOC3DiT.cjs → gitGraphDiagram-V2S2FVAM-CgnMwONR.cjs} +1 -1
- package/dist/assets/{graph-BuIO7SSf.js → graph-CZGAqWFn.js} +2 -2
- package/dist/assets/{graph-p9DI0XAm.cjs → graph-CrHCBrs9.cjs} +1 -1
- package/dist/assets/{index-C69mIz56.js → index-B8CWq9H4.js} +914 -886
- package/dist/assets/{index-C9QevtQd.cjs → index-D6Ybm0Wv.cjs} +27 -27
- package/dist/assets/{info-VBDWY6EO-BsNozlXs.cjs → info-VBDWY6EO-C7BMkPyJ.cjs} +1 -1
- package/dist/assets/info-VBDWY6EO-D8GJxql0.js +6 -0
- package/dist/assets/{infoDiagram-HS3SLOUP-BiRaPpy-.cjs → infoDiagram-HS3SLOUP-BvcUEfR8.cjs} +1 -1
- package/dist/assets/{infoDiagram-HS3SLOUP-DguMzWUX.js → infoDiagram-HS3SLOUP-bY31BW3I.js} +2 -2
- package/dist/assets/{journeyDiagram-XKPGCS4Q-SAJGgxHv.js → journeyDiagram-XKPGCS4Q-Qq3e5Q5p.js} +4 -4
- package/dist/assets/{journeyDiagram-XKPGCS4Q-DrmZKsPZ.cjs → journeyDiagram-XKPGCS4Q-dAYFL-NL.cjs} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-Dqllh40x.js → kanban-definition-3W4ZIXB7-KDD3A01R.js} +2 -2
- package/dist/assets/{kanban-definition-3W4ZIXB7-CACD_qKY.cjs → kanban-definition-3W4ZIXB7-oKDuxQKB.cjs} +1 -1
- package/dist/assets/{layout-DJMp8xuD.cjs → layout-9Pkfu9Wd.cjs} +1 -1
- package/dist/assets/{layout-BfkZhPei.js → layout-CReLVe0u.js} +4 -4
- package/dist/assets/{linear-qhmmwiXh.cjs → linear-CSpik3NA.cjs} +1 -1
- package/dist/assets/{linear-B9X-K1ie.js → linear-Iez5x-id.js} +1 -1
- package/dist/assets/{mermaid-parser.core-9igjpGWA.js → mermaid-parser.core-CL7eEs_D.js} +12 -12
- package/dist/assets/{mermaid-parser.core-CdI_2l2U.cjs → mermaid-parser.core-CaTvBlEq.cjs} +2 -2
- package/dist/assets/{mermaid.core-D53Nknii.cjs → mermaid.core-Cuef0yPf.cjs} +4 -4
- package/dist/assets/{mermaid.core-C0ptc8Ci.js → mermaid.core-X0mmzLZi.js} +31 -31
- package/dist/assets/{mindmap-definition-VGOIOE7T-C5GlPlyz.cjs → mindmap-definition-VGOIOE7T-BGHJzqOr.cjs} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-D9ynDOFV.js → mindmap-definition-VGOIOE7T-BIP2CUTd.js} +3 -3
- package/dist/assets/packet-DYOGHKS2-C1PQLnqM.js +6 -0
- package/dist/assets/{packet-DYOGHKS2-DZgqFf8l.cjs → packet-DYOGHKS2-CaBWfzoK.cjs} +1 -1
- package/dist/assets/{pie-VRWISCQL-BuCxcsRA.cjs → pie-VRWISCQL-BvH9RuA5.cjs} +1 -1
- package/dist/assets/pie-VRWISCQL-DzDMRYef.js +6 -0
- package/dist/assets/{pieDiagram-ADFJNKIX-DJy51I_a.cjs → pieDiagram-ADFJNKIX-Bf2Rwiah.cjs} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-beKcRjnx.js → pieDiagram-ADFJNKIX-BojZ30Oq.js} +4 -4
- package/dist/assets/{quadrantDiagram-AYHSOK5B-DW0ytD6Y.cjs → quadrantDiagram-AYHSOK5B-Bqq6LR2i.cjs} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-CHvt8eYr.js → quadrantDiagram-AYHSOK5B-DAq-m6LP.js} +2 -2
- package/dist/assets/radar-ZZBFDIW7-BjApLxe-.js +6 -0
- package/dist/assets/{radar-ZZBFDIW7-CTFB0BiB.cjs → radar-ZZBFDIW7-KfBmWmen.cjs} +1 -1
- package/dist/assets/{requirementDiagram-UZGBJVZJ-BRAtpmw9.js → requirementDiagram-UZGBJVZJ-BU9u6Kjv.js} +3 -3
- package/dist/assets/{requirementDiagram-UZGBJVZJ-BaBtXpY5.cjs → requirementDiagram-UZGBJVZJ-CXJO5R51.cjs} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-jQduv77E.js → sankeyDiagram-TZEHDZUN-GGALz5Hz.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-CC-AD2xc.cjs → sankeyDiagram-TZEHDZUN-_LWZFTaV.cjs} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-CMJL0tZT.cjs → sequenceDiagram-WL72ISMW-CMG2nLeF.cjs} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-DeVW1A54.js → sequenceDiagram-WL72ISMW-Xx7FLO3u.js} +3 -3
- package/dist/assets/{stateDiagram-FKZM4ZOC-BlHSDL2f.js → stateDiagram-FKZM4ZOC-CZltDNks.js} +4 -4
- package/dist/assets/{stateDiagram-FKZM4ZOC-D8dN0qMe.cjs → stateDiagram-FKZM4ZOC-D676YYHi.cjs} +1 -1
- package/dist/assets/{stateDiagram-v2-4FDKWEC3-B5KcJcLk.cjs → stateDiagram-v2-4FDKWEC3-Cn0VKGbh.cjs} +1 -1
- package/dist/assets/{stateDiagram-v2-4FDKWEC3-D6MOxCaK.js → stateDiagram-v2-4FDKWEC3-DrWY-xLg.js} +2 -2
- package/dist/assets/{timeline-definition-IT6M3QCI-CQQMX29d.js → timeline-definition-IT6M3QCI-D1g1aOrN.js} +2 -2
- package/dist/assets/{timeline-definition-IT6M3QCI-DPNrBMbj.cjs → timeline-definition-IT6M3QCI-DD69VwJC.cjs} +1 -1
- package/dist/assets/{treemap-GDKQZRPO-DXgt6YFC.cjs → treemap-GDKQZRPO-D2oPU9Ou.cjs} +1 -1
- package/dist/assets/treemap-GDKQZRPO-DaqJRBP7.js +6 -0
- package/dist/assets/{xychartDiagram-PRI3JC2R-BymhHCL4.cjs → xychartDiagram-PRI3JC2R--myk0ucB.cjs} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-ZD4dLllP.js → xychartDiagram-PRI3JC2R-uBHPikfC.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/assets/architecture-7HQA4BMR-B6phKgs-.js +0 -6
- package/dist/assets/clone-BfRhdNm4.cjs +0 -1
- package/dist/assets/gitGraph-G5XIXVHT-C3nHpXwk.js +0 -6
- package/dist/assets/info-VBDWY6EO-C_OL8dwF.js +0 -6
- package/dist/assets/packet-DYOGHKS2-1rlG7uoS.js +0 -6
- package/dist/assets/pie-VRWISCQL-CSl0KPjm.js +0 -6
- package/dist/assets/radar-ZZBFDIW7-rwWCZwIk.js +0 -6
- package/dist/assets/treemap-GDKQZRPO-BRkjlMcy.js +0 -6
|
@@ -893,8 +893,8 @@ function b4(e, t) {
|
|
|
893
893
|
throw new Error(
|
|
894
894
|
"Expected `key` to come before any spread expressions"
|
|
895
895
|
);
|
|
896
|
-
const
|
|
897
|
-
|
|
896
|
+
const B = I.value;
|
|
897
|
+
B.type !== "AssignmentPattern" && B.type !== "ArrayPattern" && B.type !== "ObjectPattern" && B.type, g = B;
|
|
898
898
|
} else
|
|
899
899
|
h.push(I);
|
|
900
900
|
}
|
|
@@ -1359,9 +1359,9 @@ function Uc() {
|
|
|
1359
1359
|
function T(u, p) {
|
|
1360
1360
|
return new _(u, { beforeExpr: !0, binop: p });
|
|
1361
1361
|
}
|
|
1362
|
-
var C = { beforeExpr: !0 }, I = { startsExpr: !0 },
|
|
1363
|
-
function
|
|
1364
|
-
return p === void 0 && (p = {}), p.keyword = u,
|
|
1362
|
+
var C = { beforeExpr: !0 }, I = { startsExpr: !0 }, B = {};
|
|
1363
|
+
function L(u, p) {
|
|
1364
|
+
return p === void 0 && (p = {}), p.keyword = u, B[u] = new _(u, p);
|
|
1365
1365
|
}
|
|
1366
1366
|
var b = {
|
|
1367
1367
|
num: new _("num", I),
|
|
@@ -1421,42 +1421,42 @@ function Uc() {
|
|
|
1421
1421
|
starstar: new _("**", { beforeExpr: !0 }),
|
|
1422
1422
|
coalesce: T("??", 1),
|
|
1423
1423
|
// Keyword token types.
|
|
1424
|
-
_break:
|
|
1425
|
-
_case:
|
|
1426
|
-
_catch:
|
|
1427
|
-
_continue:
|
|
1428
|
-
_debugger:
|
|
1429
|
-
_default:
|
|
1430
|
-
_do:
|
|
1431
|
-
_else:
|
|
1432
|
-
_finally:
|
|
1433
|
-
_for:
|
|
1434
|
-
_function:
|
|
1435
|
-
_if:
|
|
1436
|
-
_return:
|
|
1437
|
-
_switch:
|
|
1438
|
-
_throw:
|
|
1439
|
-
_try:
|
|
1440
|
-
_var:
|
|
1441
|
-
_const:
|
|
1442
|
-
_while:
|
|
1443
|
-
_with:
|
|
1444
|
-
_new:
|
|
1445
|
-
_this:
|
|
1446
|
-
_super:
|
|
1447
|
-
_class:
|
|
1448
|
-
_extends:
|
|
1449
|
-
_export:
|
|
1450
|
-
_import:
|
|
1451
|
-
_null:
|
|
1452
|
-
_true:
|
|
1453
|
-
_false:
|
|
1454
|
-
_in:
|
|
1455
|
-
_instanceof:
|
|
1456
|
-
_typeof:
|
|
1457
|
-
_void:
|
|
1458
|
-
_delete:
|
|
1459
|
-
},
|
|
1424
|
+
_break: L("break"),
|
|
1425
|
+
_case: L("case", C),
|
|
1426
|
+
_catch: L("catch"),
|
|
1427
|
+
_continue: L("continue"),
|
|
1428
|
+
_debugger: L("debugger"),
|
|
1429
|
+
_default: L("default", C),
|
|
1430
|
+
_do: L("do", { isLoop: !0, beforeExpr: !0 }),
|
|
1431
|
+
_else: L("else", C),
|
|
1432
|
+
_finally: L("finally"),
|
|
1433
|
+
_for: L("for", { isLoop: !0 }),
|
|
1434
|
+
_function: L("function", I),
|
|
1435
|
+
_if: L("if"),
|
|
1436
|
+
_return: L("return", C),
|
|
1437
|
+
_switch: L("switch"),
|
|
1438
|
+
_throw: L("throw", C),
|
|
1439
|
+
_try: L("try"),
|
|
1440
|
+
_var: L("var"),
|
|
1441
|
+
_const: L("const"),
|
|
1442
|
+
_while: L("while", { isLoop: !0 }),
|
|
1443
|
+
_with: L("with"),
|
|
1444
|
+
_new: L("new", { beforeExpr: !0, startsExpr: !0 }),
|
|
1445
|
+
_this: L("this", I),
|
|
1446
|
+
_super: L("super", I),
|
|
1447
|
+
_class: L("class", I),
|
|
1448
|
+
_extends: L("extends", C),
|
|
1449
|
+
_export: L("export"),
|
|
1450
|
+
_import: L("import", I),
|
|
1451
|
+
_null: L("null", I),
|
|
1452
|
+
_true: L("true", I),
|
|
1453
|
+
_false: L("false", I),
|
|
1454
|
+
_in: L("in", { beforeExpr: !0, binop: 7 }),
|
|
1455
|
+
_instanceof: L("instanceof", { beforeExpr: !0, binop: 7 }),
|
|
1456
|
+
_typeof: L("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
1457
|
+
_void: L("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
1458
|
+
_delete: L("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
|
|
1459
|
+
}, R = /\r\n?|\n|\u2028|\u2029/, q = new RegExp(R.source, "g");
|
|
1460
1460
|
function W(u) {
|
|
1461
1461
|
return u === 10 || u === 13 || u === 8232 || u === 8233;
|
|
1462
1462
|
}
|
|
@@ -1628,7 +1628,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
1628
1628
|
p.allowReserved !== !0 && (O = o[p.ecmaVersion >= 6 ? 6 : p.ecmaVersion === 5 ? 5 : 3], p.sourceType === "module" && (O += " await")), this.reservedWords = Xe(O);
|
|
1629
1629
|
var $ = (O ? O + " " : "") + o.strict;
|
|
1630
1630
|
this.reservedWordsStrict = Xe($), this.reservedWordsStrictBind = Xe($ + " " + o.strictBind), this.input = String(E), this.containsEsc = !1, w ? (this.pos = w, this.lineStart = this.input.lastIndexOf(`
|
|
1631
|
-
`, w - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(
|
|
1631
|
+
`, w - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(R).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = b.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = p.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && p.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(St), this.regexpState = null, this.privateNameStack = [];
|
|
1632
1632
|
}, P = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
|
|
1633
1633
|
ee.prototype.parse = function() {
|
|
1634
1634
|
var p = this.options.program || this.startNode();
|
|
@@ -1689,7 +1689,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
1689
1689
|
if ((p[1] || p[2]) === "use strict") {
|
|
1690
1690
|
J.lastIndex = u + p[0].length;
|
|
1691
1691
|
var E = J.exec(this.input), w = E.index + E[0].length, O = this.input.charAt(w);
|
|
1692
|
-
return O === ";" || O === "}" ||
|
|
1692
|
+
return O === ";" || O === "}" || R.test(E[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(O) || O === "!" && this.input.charAt(w + 1) === "=");
|
|
1693
1693
|
}
|
|
1694
1694
|
u += p[0].length, J.lastIndex = u, u += J.exec(this.input)[0].length, this.input[u] === ";" && u++;
|
|
1695
1695
|
}
|
|
@@ -1702,7 +1702,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
1702
1702
|
}, Ce.expectContextual = function(u) {
|
|
1703
1703
|
this.eatContextual(u) || this.unexpected();
|
|
1704
1704
|
}, Ce.canInsertSemicolon = function() {
|
|
1705
|
-
return this.type === b.eof || this.type === b.braceR ||
|
|
1705
|
+
return this.type === b.eof || this.type === b.braceR || R.test(this.input.slice(this.lastTokEnd, this.start));
|
|
1706
1706
|
}, Ce.insertSemicolon = function() {
|
|
1707
1707
|
if (this.canInsertSemicolon())
|
|
1708
1708
|
return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
|
|
@@ -1778,13 +1778,13 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
1778
1778
|
return !1;
|
|
1779
1779
|
J.lastIndex = this.pos;
|
|
1780
1780
|
var u = J.exec(this.input), p = this.pos + u[0].length, E;
|
|
1781
|
-
return !
|
|
1781
|
+
return !R.test(this.input.slice(this.pos, p)) && this.input.slice(p, p + 8) === "function" && (p + 8 === this.input.length || !(k(E = this.input.charCodeAt(p + 8)) || E > 55295 && E < 56320));
|
|
1782
1782
|
}, xe.isUsingKeyword = function(u, p) {
|
|
1783
1783
|
if (this.options.ecmaVersion < 17 || !this.isContextual(u ? "await" : "using"))
|
|
1784
1784
|
return !1;
|
|
1785
1785
|
J.lastIndex = this.pos;
|
|
1786
1786
|
var E = J.exec(this.input), w = this.pos + E[0].length;
|
|
1787
|
-
if (
|
|
1787
|
+
if (R.test(this.input.slice(this.pos, w)))
|
|
1788
1788
|
return !1;
|
|
1789
1789
|
if (u) {
|
|
1790
1790
|
var O = w + 5, $;
|
|
@@ -1792,7 +1792,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
1792
1792
|
return !1;
|
|
1793
1793
|
J.lastIndex = O;
|
|
1794
1794
|
var Q = J.exec(this.input);
|
|
1795
|
-
if (Q &&
|
|
1795
|
+
if (Q && R.test(this.input.slice(O, O + Q[0].length)))
|
|
1796
1796
|
return !1;
|
|
1797
1797
|
}
|
|
1798
1798
|
if (p) {
|
|
@@ -1914,7 +1914,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
1914
1914
|
p || this.unexpected(), p.consequent.push(this.parseStatement(null));
|
|
1915
1915
|
return this.exitScope(), p && this.finishNode(p, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(u, "SwitchStatement");
|
|
1916
1916
|
}, xe.parseThrowStatement = function(u) {
|
|
1917
|
-
return this.next(),
|
|
1917
|
+
return this.next(), R.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), u.argument = this.parseExpression(), this.semicolon(), this.finishNode(u, "ThrowStatement");
|
|
1918
1918
|
};
|
|
1919
1919
|
var li = [];
|
|
1920
1920
|
xe.parseCatchClauseParam = function() {
|
|
@@ -2352,7 +2352,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
2352
2352
|
return this.context[this.context.length - 1];
|
|
2353
2353
|
}, Ti.braceIsBlock = function(u) {
|
|
2354
2354
|
var p = this.curContext();
|
|
2355
|
-
return p === ht.f_expr || p === ht.f_stat ? !0 : u === b.colon && (p === ht.b_stat || p === ht.b_expr) ? !p.isExpr : u === b._return || u === b.name && this.exprAllowed ?
|
|
2355
|
+
return p === ht.f_expr || p === ht.f_stat ? !0 : u === b.colon && (p === ht.b_stat || p === ht.b_expr) ? !p.isExpr : u === b._return || u === b.name && this.exprAllowed ? R.test(this.input.slice(this.lastTokEnd, this.start)) : u === b._else || u === b.semi || u === b.eof || u === b.parenR || u === b.arrow ? !0 : u === b.braceL ? p === ht.b_stat : u === b._var || u === b._const || u === b.name ? !1 : !this.exprAllowed;
|
|
2356
2356
|
}, Ti.inGeneratorContext = function() {
|
|
2357
2357
|
for (var u = this.context.length - 1; u >= 1; u--) {
|
|
2358
2358
|
var p = this.context[u];
|
|
@@ -2381,7 +2381,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
2381
2381
|
this.context.push(p ? ht.p_stat : ht.p_expr), this.exprAllowed = !0;
|
|
2382
2382
|
}, b.incDec.updateContext = function() {
|
|
2383
2383
|
}, b._function.updateContext = b._class.updateContext = function(u) {
|
|
2384
|
-
u.beforeExpr && u !== b._else && !(u === b.semi && this.curContext() !== ht.p_stat) && !(u === b._return &&
|
|
2384
|
+
u.beforeExpr && u !== b._else && !(u === b.semi && this.curContext() !== ht.p_stat) && !(u === b._return && R.test(this.input.slice(this.lastTokEnd, this.start))) && !((u === b.colon || u === b.braceL) && this.curContext() === ht.b_stat) ? this.context.push(ht.f_expr) : this.context.push(ht.f_stat), this.exprAllowed = !1;
|
|
2385
2385
|
}, b.colon.updateContext = function() {
|
|
2386
2386
|
this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
|
|
2387
2387
|
}, b.backQuote.updateContext = function() {
|
|
@@ -2704,7 +2704,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
2704
2704
|
this.type === b.eof && this.raise(this.pos, "Unterminated template literal"), this.expect(b.dollarBraceL), E.expressions.push(this.parseExpression()), this.expect(b.braceR), E.quasis.push(w = this.parseTemplateElement({ isTagged: p }));
|
|
2705
2705
|
return this.next(), this.finishNode(E, "TemplateLiteral");
|
|
2706
2706
|
}, Pe.isAsyncProp = function(u) {
|
|
2707
|
-
return !u.computed && u.key.type === "Identifier" && u.key.name === "async" && (this.type === b.name || this.type === b.num || this.type === b.string || this.type === b.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === b.star) && !
|
|
2707
|
+
return !u.computed && u.key.type === "Identifier" && u.key.name === "async" && (this.type === b.name || this.type === b.num || this.type === b.string || this.type === b.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === b.star) && !R.test(this.input.slice(this.lastTokEnd, this.start));
|
|
2708
2708
|
}, Pe.parseObj = function(u, p) {
|
|
2709
2709
|
var E = this.startNode(), w = !0, O = {};
|
|
2710
2710
|
for (E.properties = [], this.next(); !this.eat(b.braceR); ) {
|
|
@@ -3818,7 +3818,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
3818
3818
|
return u === 61 ? this.finishOp(b.assign, 2) : this.finishOp(b.bitwiseXOR, 1);
|
|
3819
3819
|
}, qe.readToken_plus_min = function(u) {
|
|
3820
3820
|
var p = this.input.charCodeAt(this.pos + 1);
|
|
3821
|
-
return p === u ? p === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 ||
|
|
3821
|
+
return p === u ? p === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || R.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(b.incDec, 2) : p === 61 ? this.finishOp(b.assign, 2) : this.finishOp(b.plusMin, 1);
|
|
3822
3822
|
}, qe.readToken_lt_gt = function(u) {
|
|
3823
3823
|
var p = this.input.charCodeAt(this.pos + 1), E = 1;
|
|
3824
3824
|
return p === u ? (E = u === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + E) === 61 ? this.finishOp(b.assign, E + 1) : this.finishOp(b.bitShift, E)) : p === 33 && u === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (p === 61 && (E = 2), this.finishOp(b.relational, E));
|
|
@@ -3942,7 +3942,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
3942
3942
|
for (var u, p, E = this.pos; ; ) {
|
|
3943
3943
|
this.pos >= this.input.length && this.raise(E, "Unterminated regular expression");
|
|
3944
3944
|
var w = this.input.charAt(this.pos);
|
|
3945
|
-
if (
|
|
3945
|
+
if (R.test(w) && this.raise(E, "Unterminated regular expression"), u)
|
|
3946
3946
|
u = !1;
|
|
3947
3947
|
else {
|
|
3948
3948
|
if (w === "[")
|
|
@@ -4164,7 +4164,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
4164
4164
|
return u + this.input.slice(E, this.pos);
|
|
4165
4165
|
}, qe.readWord = function() {
|
|
4166
4166
|
var u = this.readWord1(), p = b.name;
|
|
4167
|
-
return this.keywords.test(u) && (p =
|
|
4167
|
+
return this.keywords.test(u) && (p = B[u]), this.finishToken(p, u);
|
|
4168
4168
|
};
|
|
4169
4169
|
var Rc = "8.15.0";
|
|
4170
4170
|
ee.acorn = {
|
|
@@ -4177,14 +4177,14 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
4177
4177
|
Node: la,
|
|
4178
4178
|
TokenType: _,
|
|
4179
4179
|
tokTypes: b,
|
|
4180
|
-
keywordTypes:
|
|
4180
|
+
keywordTypes: B,
|
|
4181
4181
|
TokContext: Ar,
|
|
4182
4182
|
tokContexts: ht,
|
|
4183
4183
|
isIdentifierChar: k,
|
|
4184
4184
|
isIdentifierStart: v,
|
|
4185
4185
|
Token: ds,
|
|
4186
4186
|
isNewLine: W,
|
|
4187
|
-
lineBreak:
|
|
4187
|
+
lineBreak: R,
|
|
4188
4188
|
lineBreakG: q,
|
|
4189
4189
|
nonASCIIwhitespace: te
|
|
4190
4190
|
};
|
|
@@ -4197,7 +4197,7 @@ Defaulting to 2020, but this will stop working in the future.`)), p.ecmaVersion
|
|
|
4197
4197
|
function Ug(u, p) {
|
|
4198
4198
|
return ee.tokenizer(u, p);
|
|
4199
4199
|
}
|
|
4200
|
-
r.Node = la, r.Parser = ee, r.Position = Qe, r.SourceLocation = V, r.TokContext = Ar, r.Token = ds, r.TokenType = _, r.defaultOptions = vt, r.getLineInfo = Tt, r.isIdentifierChar = k, r.isIdentifierStart = v, r.isNewLine = W, r.keywordTypes =
|
|
4200
|
+
r.Node = la, r.Parser = ee, r.Position = Qe, r.SourceLocation = V, r.TokContext = Ar, r.Token = ds, r.TokenType = _, r.defaultOptions = vt, r.getLineInfo = Tt, r.isIdentifierChar = k, r.isIdentifierStart = v, r.isNewLine = W, r.keywordTypes = B, r.lineBreak = R, r.lineBreakG = q, r.nonASCIIwhitespace = te, r.parse = Fg, r.parseExpressionAt = Hg, r.tokContexts = ht, r.tokTypes = b, r.tokenizer = Ug, r.version = Rc;
|
|
4201
4201
|
}));
|
|
4202
4202
|
})(Ea, Ea.exports)), Ea.exports;
|
|
4203
4203
|
}
|
|
@@ -4253,7 +4253,7 @@ function T4() {
|
|
|
4253
4253
|
enumerable: !0
|
|
4254
4254
|
});
|
|
4255
4255
|
function o(l, c) {
|
|
4256
|
-
const h = c.acorn || Uc(), f = a(h), g = h.tokTypes, m = f.tokTypes, v = h.tokContexts, k = f.tokContexts.tc_oTag, _ = f.tokContexts.tc_cTag, T = f.tokContexts.tc_expr, C = h.isNewLine, I = h.isIdentifierStart,
|
|
4256
|
+
const h = c.acorn || Uc(), f = a(h), g = h.tokTypes, m = f.tokTypes, v = h.tokContexts, k = f.tokContexts.tc_oTag, _ = f.tokContexts.tc_cTag, T = f.tokContexts.tc_expr, C = h.isNewLine, I = h.isIdentifierStart, B = h.isIdentifierChar;
|
|
4257
4257
|
return class extends c {
|
|
4258
4258
|
// Expose actual `tokTypes` and `tokContexts` to other plugins.
|
|
4259
4259
|
static get acornJsx() {
|
|
@@ -4261,58 +4261,58 @@ function T4() {
|
|
|
4261
4261
|
}
|
|
4262
4262
|
// Reads inline JSX contents token.
|
|
4263
4263
|
jsx_readToken() {
|
|
4264
|
-
let
|
|
4264
|
+
let L = "", b = this.pos;
|
|
4265
4265
|
for (; ; ) {
|
|
4266
4266
|
this.pos >= this.input.length && this.raise(this.start, "Unterminated JSX contents");
|
|
4267
|
-
let
|
|
4268
|
-
switch (
|
|
4267
|
+
let R = this.input.charCodeAt(this.pos);
|
|
4268
|
+
switch (R) {
|
|
4269
4269
|
case 60:
|
|
4270
4270
|
// '<'
|
|
4271
4271
|
case 123:
|
|
4272
|
-
return this.pos === this.start ?
|
|
4272
|
+
return this.pos === this.start ? R === 60 && this.exprAllowed ? (++this.pos, this.finishToken(m.jsxTagStart)) : this.getTokenFromCode(R) : (L += this.input.slice(b, this.pos), this.finishToken(m.jsxText, L));
|
|
4273
4273
|
case 38:
|
|
4274
|
-
|
|
4274
|
+
L += this.input.slice(b, this.pos), L += this.jsx_readEntity(), b = this.pos;
|
|
4275
4275
|
break;
|
|
4276
4276
|
case 62:
|
|
4277
4277
|
// '>'
|
|
4278
4278
|
case 125:
|
|
4279
4279
|
this.raise(
|
|
4280
4280
|
this.pos,
|
|
4281
|
-
"Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (
|
|
4281
|
+
"Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (R === 62 ? ">" : "}") + '` or `{"' + this.input[this.pos] + '"}`?'
|
|
4282
4282
|
);
|
|
4283
4283
|
default:
|
|
4284
|
-
C(
|
|
4284
|
+
C(R) ? (L += this.input.slice(b, this.pos), L += this.jsx_readNewLine(!0), b = this.pos) : ++this.pos;
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
|
-
jsx_readNewLine(
|
|
4289
|
-
let b = this.input.charCodeAt(this.pos),
|
|
4290
|
-
return ++this.pos, b === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos,
|
|
4288
|
+
jsx_readNewLine(L) {
|
|
4289
|
+
let b = this.input.charCodeAt(this.pos), R;
|
|
4290
|
+
return ++this.pos, b === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos, R = L ? `
|
|
4291
4291
|
` : `\r
|
|
4292
|
-
`) :
|
|
4292
|
+
`) : R = String.fromCharCode(b), this.options.locations && (++this.curLine, this.lineStart = this.pos), R;
|
|
4293
4293
|
}
|
|
4294
|
-
jsx_readString(
|
|
4295
|
-
let b = "",
|
|
4294
|
+
jsx_readString(L) {
|
|
4295
|
+
let b = "", R = ++this.pos;
|
|
4296
4296
|
for (; ; ) {
|
|
4297
4297
|
this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
|
|
4298
4298
|
let q = this.input.charCodeAt(this.pos);
|
|
4299
|
-
if (q ===
|
|
4300
|
-
q === 38 ? (b += this.input.slice(
|
|
4299
|
+
if (q === L) break;
|
|
4300
|
+
q === 38 ? (b += this.input.slice(R, this.pos), b += this.jsx_readEntity(), R = this.pos) : C(q) ? (b += this.input.slice(R, this.pos), b += this.jsx_readNewLine(!1), R = this.pos) : ++this.pos;
|
|
4301
4301
|
}
|
|
4302
|
-
return b += this.input.slice(
|
|
4302
|
+
return b += this.input.slice(R, this.pos++), this.finishToken(g.string, b);
|
|
4303
4303
|
}
|
|
4304
4304
|
jsx_readEntity() {
|
|
4305
|
-
let
|
|
4305
|
+
let L = "", b = 0, R, q = this.input[this.pos];
|
|
4306
4306
|
q !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
|
|
4307
4307
|
let W = ++this.pos;
|
|
4308
4308
|
for (; this.pos < this.input.length && b++ < 10; ) {
|
|
4309
4309
|
if (q = this.input[this.pos++], q === ";") {
|
|
4310
|
-
|
|
4310
|
+
L[0] === "#" ? L[1] === "x" ? (L = L.substr(2), r.test(L) && (R = String.fromCharCode(parseInt(L, 16)))) : (L = L.substr(1), n.test(L) && (R = String.fromCharCode(parseInt(L, 10)))) : R = t[L];
|
|
4311
4311
|
break;
|
|
4312
4312
|
}
|
|
4313
|
-
|
|
4313
|
+
L += q;
|
|
4314
4314
|
}
|
|
4315
|
-
return
|
|
4315
|
+
return R || (this.pos = W, "&");
|
|
4316
4316
|
}
|
|
4317
4317
|
// Read a JSX identifier (valid tag or attribute name).
|
|
4318
4318
|
//
|
|
@@ -4321,41 +4321,41 @@ function T4() {
|
|
|
4321
4321
|
// Also assumes that first character was already checked
|
|
4322
4322
|
// by isIdentifierStart in readToken.
|
|
4323
4323
|
jsx_readWord() {
|
|
4324
|
-
let
|
|
4324
|
+
let L, b = this.pos;
|
|
4325
4325
|
do
|
|
4326
|
-
|
|
4327
|
-
while (
|
|
4326
|
+
L = this.input.charCodeAt(++this.pos);
|
|
4327
|
+
while (B(L) || L === 45);
|
|
4328
4328
|
return this.finishToken(m.jsxName, this.input.slice(b, this.pos));
|
|
4329
4329
|
}
|
|
4330
4330
|
// Parse next token as JSX identifier
|
|
4331
4331
|
jsx_parseIdentifier() {
|
|
4332
|
-
let
|
|
4333
|
-
return this.type === m.jsxName ?
|
|
4332
|
+
let L = this.startNode();
|
|
4333
|
+
return this.type === m.jsxName ? L.name = this.value : this.type.keyword ? L.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(L, "JSXIdentifier");
|
|
4334
4334
|
}
|
|
4335
4335
|
// Parse namespaced identifier.
|
|
4336
4336
|
jsx_parseNamespacedName() {
|
|
4337
|
-
let
|
|
4338
|
-
if (!l.allowNamespaces || !this.eat(g.colon)) return
|
|
4339
|
-
var q = this.startNodeAt(
|
|
4340
|
-
return q.namespace =
|
|
4337
|
+
let L = this.start, b = this.startLoc, R = this.jsx_parseIdentifier();
|
|
4338
|
+
if (!l.allowNamespaces || !this.eat(g.colon)) return R;
|
|
4339
|
+
var q = this.startNodeAt(L, b);
|
|
4340
|
+
return q.namespace = R, q.name = this.jsx_parseIdentifier(), this.finishNode(q, "JSXNamespacedName");
|
|
4341
4341
|
}
|
|
4342
4342
|
// Parses element name in any form - namespaced, member
|
|
4343
4343
|
// or single identifier.
|
|
4344
4344
|
jsx_parseElementName() {
|
|
4345
4345
|
if (this.type === m.jsxTagEnd) return "";
|
|
4346
|
-
let
|
|
4347
|
-
for (this.type === g.dot &&
|
|
4348
|
-
let q = this.startNodeAt(
|
|
4349
|
-
q.object =
|
|
4346
|
+
let L = this.start, b = this.startLoc, R = this.jsx_parseNamespacedName();
|
|
4347
|
+
for (this.type === g.dot && R.type === "JSXNamespacedName" && !l.allowNamespacedObjects && this.unexpected(); this.eat(g.dot); ) {
|
|
4348
|
+
let q = this.startNodeAt(L, b);
|
|
4349
|
+
q.object = R, q.property = this.jsx_parseIdentifier(), R = this.finishNode(q, "JSXMemberExpression");
|
|
4350
4350
|
}
|
|
4351
|
-
return
|
|
4351
|
+
return R;
|
|
4352
4352
|
}
|
|
4353
4353
|
// Parses any type of JSX attribute value.
|
|
4354
4354
|
jsx_parseAttributeValue() {
|
|
4355
4355
|
switch (this.type) {
|
|
4356
4356
|
case g.braceL:
|
|
4357
|
-
let
|
|
4358
|
-
return
|
|
4357
|
+
let L = this.jsx_parseExpressionContainer();
|
|
4358
|
+
return L.expression.type === "JSXEmptyExpression" && this.raise(L.start, "JSX attributes must only be assigned a non-empty expression"), L;
|
|
4359
4359
|
case m.jsxTagStart:
|
|
4360
4360
|
case g.string:
|
|
4361
4361
|
return this.parseExprAtom();
|
|
@@ -4367,46 +4367,46 @@ function T4() {
|
|
|
4367
4367
|
// and so it should start at the end of last read token (left brace) and finish
|
|
4368
4368
|
// at the beginning of the next one (right brace).
|
|
4369
4369
|
jsx_parseEmptyExpression() {
|
|
4370
|
-
let
|
|
4371
|
-
return this.finishNodeAt(
|
|
4370
|
+
let L = this.startNodeAt(this.lastTokEnd, this.lastTokEndLoc);
|
|
4371
|
+
return this.finishNodeAt(L, "JSXEmptyExpression", this.start, this.startLoc);
|
|
4372
4372
|
}
|
|
4373
4373
|
// Parses JSX expression enclosed into curly brackets.
|
|
4374
4374
|
jsx_parseExpressionContainer() {
|
|
4375
|
-
let
|
|
4376
|
-
return this.next(),
|
|
4375
|
+
let L = this.startNode();
|
|
4376
|
+
return this.next(), L.expression = this.type === g.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(g.braceR), this.finishNode(L, "JSXExpressionContainer");
|
|
4377
4377
|
}
|
|
4378
4378
|
// Parses following JSX attribute name-value pair.
|
|
4379
4379
|
jsx_parseAttribute() {
|
|
4380
|
-
let
|
|
4381
|
-
return this.eat(g.braceL) ? (this.expect(g.ellipsis),
|
|
4380
|
+
let L = this.startNode();
|
|
4381
|
+
return this.eat(g.braceL) ? (this.expect(g.ellipsis), L.argument = this.parseMaybeAssign(), this.expect(g.braceR), this.finishNode(L, "JSXSpreadAttribute")) : (L.name = this.jsx_parseNamespacedName(), L.value = this.eat(g.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(L, "JSXAttribute"));
|
|
4382
4382
|
}
|
|
4383
4383
|
// Parses JSX opening tag starting after '<'.
|
|
4384
|
-
jsx_parseOpeningElementAt(
|
|
4385
|
-
let
|
|
4386
|
-
|
|
4384
|
+
jsx_parseOpeningElementAt(L, b) {
|
|
4385
|
+
let R = this.startNodeAt(L, b);
|
|
4386
|
+
R.attributes = [];
|
|
4387
4387
|
let q = this.jsx_parseElementName();
|
|
4388
|
-
for (q && (
|
|
4389
|
-
|
|
4390
|
-
return
|
|
4388
|
+
for (q && (R.name = q); this.type !== g.slash && this.type !== m.jsxTagEnd; )
|
|
4389
|
+
R.attributes.push(this.jsx_parseAttribute());
|
|
4390
|
+
return R.selfClosing = this.eat(g.slash), this.expect(m.jsxTagEnd), this.finishNode(R, q ? "JSXOpeningElement" : "JSXOpeningFragment");
|
|
4391
4391
|
}
|
|
4392
4392
|
// Parses JSX closing tag starting after '</'.
|
|
4393
|
-
jsx_parseClosingElementAt(
|
|
4394
|
-
let
|
|
4395
|
-
return q && (
|
|
4393
|
+
jsx_parseClosingElementAt(L, b) {
|
|
4394
|
+
let R = this.startNodeAt(L, b), q = this.jsx_parseElementName();
|
|
4395
|
+
return q && (R.name = q), this.expect(m.jsxTagEnd), this.finishNode(R, q ? "JSXClosingElement" : "JSXClosingFragment");
|
|
4396
4396
|
}
|
|
4397
4397
|
// Parses entire JSX element, including it's opening tag
|
|
4398
4398
|
// (starting after '<'), attributes, contents and closing tag.
|
|
4399
|
-
jsx_parseElementAt(
|
|
4400
|
-
let
|
|
4399
|
+
jsx_parseElementAt(L, b) {
|
|
4400
|
+
let R = this.startNodeAt(L, b), q = [], W = this.jsx_parseOpeningElementAt(L, b), j = null;
|
|
4401
4401
|
if (!W.selfClosing) {
|
|
4402
4402
|
e: for (; ; )
|
|
4403
4403
|
switch (this.type) {
|
|
4404
4404
|
case m.jsxTagStart:
|
|
4405
|
-
if (
|
|
4406
|
-
j = this.jsx_parseClosingElementAt(
|
|
4405
|
+
if (L = this.start, b = this.startLoc, this.next(), this.eat(g.slash)) {
|
|
4406
|
+
j = this.jsx_parseClosingElementAt(L, b);
|
|
4407
4407
|
break e;
|
|
4408
4408
|
}
|
|
4409
|
-
q.push(this.jsx_parseElementAt(
|
|
4409
|
+
q.push(this.jsx_parseElementAt(L, b));
|
|
4410
4410
|
break;
|
|
4411
4411
|
case m.jsxText:
|
|
4412
4412
|
q.push(this.parseExprAtom());
|
|
@@ -4423,41 +4423,41 @@ function T4() {
|
|
|
4423
4423
|
);
|
|
4424
4424
|
}
|
|
4425
4425
|
let te = W.name ? "Element" : "Fragment";
|
|
4426
|
-
return
|
|
4426
|
+
return R["opening" + te] = W, R["closing" + te] = j, R.children = q, this.type === g.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(R, "JSX" + te);
|
|
4427
4427
|
}
|
|
4428
4428
|
// Parse JSX text
|
|
4429
4429
|
jsx_parseText() {
|
|
4430
|
-
let
|
|
4431
|
-
return
|
|
4430
|
+
let L = this.parseLiteral(this.value);
|
|
4431
|
+
return L.type = "JSXText", L;
|
|
4432
4432
|
}
|
|
4433
4433
|
// Parses entire JSX element from current position.
|
|
4434
4434
|
jsx_parseElement() {
|
|
4435
|
-
let
|
|
4436
|
-
return this.next(), this.jsx_parseElementAt(
|
|
4435
|
+
let L = this.start, b = this.startLoc;
|
|
4436
|
+
return this.next(), this.jsx_parseElementAt(L, b);
|
|
4437
4437
|
}
|
|
4438
|
-
parseExprAtom(
|
|
4439
|
-
return this.type === m.jsxText ? this.jsx_parseText() : this.type === m.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(
|
|
4438
|
+
parseExprAtom(L) {
|
|
4439
|
+
return this.type === m.jsxText ? this.jsx_parseText() : this.type === m.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(L);
|
|
4440
4440
|
}
|
|
4441
|
-
readToken(
|
|
4441
|
+
readToken(L) {
|
|
4442
4442
|
let b = this.curContext();
|
|
4443
4443
|
if (b === T) return this.jsx_readToken();
|
|
4444
4444
|
if (b === k || b === _) {
|
|
4445
|
-
if (I(
|
|
4446
|
-
if (
|
|
4445
|
+
if (I(L)) return this.jsx_readWord();
|
|
4446
|
+
if (L == 62)
|
|
4447
4447
|
return ++this.pos, this.finishToken(m.jsxTagEnd);
|
|
4448
|
-
if ((
|
|
4449
|
-
return this.jsx_readString(
|
|
4448
|
+
if ((L === 34 || L === 39) && b == k)
|
|
4449
|
+
return this.jsx_readString(L);
|
|
4450
4450
|
}
|
|
4451
|
-
return
|
|
4451
|
+
return L === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33 ? (++this.pos, this.finishToken(m.jsxTagStart)) : super.readToken(L);
|
|
4452
4452
|
}
|
|
4453
|
-
updateContext(
|
|
4453
|
+
updateContext(L) {
|
|
4454
4454
|
if (this.type == g.braceL) {
|
|
4455
4455
|
var b = this.curContext();
|
|
4456
|
-
b == k ? this.context.push(v.b_expr) : b == T ? this.context.push(v.b_tmpl) : super.updateContext(
|
|
4457
|
-
} else if (this.type === g.slash &&
|
|
4456
|
+
b == k ? this.context.push(v.b_expr) : b == T ? this.context.push(v.b_tmpl) : super.updateContext(L), this.exprAllowed = !0;
|
|
4457
|
+
} else if (this.type === g.slash && L === m.jsxTagStart)
|
|
4458
4458
|
this.context.length -= 2, this.context.push(_), this.exprAllowed = !1;
|
|
4459
4459
|
else
|
|
4460
|
-
return super.updateContext(
|
|
4460
|
+
return super.updateContext(L);
|
|
4461
4461
|
}
|
|
4462
4462
|
};
|
|
4463
4463
|
}
|
|
@@ -6345,13 +6345,13 @@ function s3() {
|
|
|
6345
6345
|
if (!_) return [];
|
|
6346
6346
|
T = T || {};
|
|
6347
6347
|
var C = 1, I = 1;
|
|
6348
|
-
function
|
|
6348
|
+
function B(ae) {
|
|
6349
6349
|
var ne = ae.match(t);
|
|
6350
6350
|
ne && (C += ne.length);
|
|
6351
6351
|
var Se = ae.lastIndexOf(l);
|
|
6352
6352
|
I = ~Se ? ae.length - Se : I + ae.length;
|
|
6353
6353
|
}
|
|
6354
|
-
function
|
|
6354
|
+
function L() {
|
|
6355
6355
|
var ae = { line: C, column: I };
|
|
6356
6356
|
return function(ne) {
|
|
6357
6357
|
return ne.position = new b(ae), W(), ne;
|
|
@@ -6361,7 +6361,7 @@ function s3() {
|
|
|
6361
6361
|
this.start = ae, this.end = { line: C, column: I }, this.source = T.source;
|
|
6362
6362
|
}
|
|
6363
6363
|
b.prototype.content = _;
|
|
6364
|
-
function
|
|
6364
|
+
function R(ae) {
|
|
6365
6365
|
var ne = new Error(
|
|
6366
6366
|
T.source + ":" + C + ":" + I + ": " + ae
|
|
6367
6367
|
);
|
|
@@ -6371,7 +6371,7 @@ function s3() {
|
|
|
6371
6371
|
var ne = ae.exec(_);
|
|
6372
6372
|
if (ne) {
|
|
6373
6373
|
var Se = ne[0];
|
|
6374
|
-
return
|
|
6374
|
+
return B(Se), _ = _.slice(Se.length), ne;
|
|
6375
6375
|
}
|
|
6376
6376
|
}
|
|
6377
6377
|
function W() {
|
|
@@ -6384,23 +6384,23 @@ function s3() {
|
|
|
6384
6384
|
return ae;
|
|
6385
6385
|
}
|
|
6386
6386
|
function te() {
|
|
6387
|
-
var ae =
|
|
6387
|
+
var ae = L();
|
|
6388
6388
|
if (!(c != _.charAt(0) || h != _.charAt(1))) {
|
|
6389
6389
|
for (var ne = 2; f != _.charAt(ne) && (h != _.charAt(ne) || c != _.charAt(ne + 1)); )
|
|
6390
6390
|
++ne;
|
|
6391
6391
|
if (ne += 2, f === _.charAt(ne - 1))
|
|
6392
|
-
return
|
|
6392
|
+
return R("End of comment missing");
|
|
6393
6393
|
var Se = _.slice(2, ne - 2);
|
|
6394
|
-
return I += 2,
|
|
6394
|
+
return I += 2, B(Se), _ = _.slice(ne), I += 2, ae({
|
|
6395
6395
|
type: g,
|
|
6396
6396
|
comment: Se
|
|
6397
6397
|
});
|
|
6398
6398
|
}
|
|
6399
6399
|
}
|
|
6400
6400
|
function J() {
|
|
6401
|
-
var ae =
|
|
6401
|
+
var ae = L(), ne = q(n);
|
|
6402
6402
|
if (ne) {
|
|
6403
|
-
if (te(), !q(i)) return
|
|
6403
|
+
if (te(), !q(i)) return R("property missing ':'");
|
|
6404
6404
|
var Se = q(a), _e = ae({
|
|
6405
6405
|
type: m,
|
|
6406
6406
|
property: k(ne[0].replace(e, f)),
|
|
@@ -7166,47 +7166,47 @@ function j3(e, t) {
|
|
|
7166
7166
|
continue;
|
|
7167
7167
|
}
|
|
7168
7168
|
const C = a + 1;
|
|
7169
|
-
let I = C,
|
|
7169
|
+
let I = C, B = C, L;
|
|
7170
7170
|
if (T === 35) {
|
|
7171
|
-
|
|
7172
|
-
const ue = e.charCodeAt(
|
|
7173
|
-
ue === 88 || ue === 120 ? (
|
|
7171
|
+
B = ++I;
|
|
7172
|
+
const ue = e.charCodeAt(B);
|
|
7173
|
+
ue === 88 || ue === 120 ? (L = "hexadecimal", B = ++I) : L = "decimal";
|
|
7174
7174
|
} else
|
|
7175
|
-
|
|
7176
|
-
let b = "",
|
|
7177
|
-
const W =
|
|
7178
|
-
for (
|
|
7179
|
-
const ue = e.charCodeAt(
|
|
7175
|
+
L = "named";
|
|
7176
|
+
let b = "", R = "", q = "";
|
|
7177
|
+
const W = L === "named" ? hh : L === "decimal" ? Zp : z3;
|
|
7178
|
+
for (B--; ++B <= e.length; ) {
|
|
7179
|
+
const ue = e.charCodeAt(B);
|
|
7180
7180
|
if (!W(ue))
|
|
7181
7181
|
break;
|
|
7182
|
-
q += String.fromCharCode(ue),
|
|
7182
|
+
q += String.fromCharCode(ue), L === "named" && Kp.includes(q) && (b = q, R = Ha(q));
|
|
7183
7183
|
}
|
|
7184
|
-
let j = e.charCodeAt(
|
|
7184
|
+
let j = e.charCodeAt(B) === 59;
|
|
7185
7185
|
if (j) {
|
|
7186
|
-
|
|
7187
|
-
const ue =
|
|
7188
|
-
ue && (b = q,
|
|
7186
|
+
B++;
|
|
7187
|
+
const ue = L === "named" ? Ha(q) : !1;
|
|
7188
|
+
ue && (b = q, R = ue);
|
|
7189
7189
|
}
|
|
7190
|
-
let te = 1 +
|
|
7190
|
+
let te = 1 + B - C, J = "";
|
|
7191
7191
|
if (!(!j && r.nonTerminated === !1)) if (!q)
|
|
7192
|
-
|
|
7193
|
-
else if (
|
|
7194
|
-
if (j && !
|
|
7192
|
+
L !== "named" && k(4, te);
|
|
7193
|
+
else if (L === "named") {
|
|
7194
|
+
if (j && !R)
|
|
7195
7195
|
k(5, 1);
|
|
7196
|
-
else if (b !== q && (
|
|
7196
|
+
else if (b !== q && (B = I + b.length, te = 1 + B - I, j = !1), !j) {
|
|
7197
7197
|
const ue = b ? 1 : 3;
|
|
7198
7198
|
if (r.attribute) {
|
|
7199
|
-
const ae = e.charCodeAt(
|
|
7200
|
-
ae === 61 ? (k(ue, te),
|
|
7199
|
+
const ae = e.charCodeAt(B);
|
|
7200
|
+
ae === 61 ? (k(ue, te), R = "") : hh(ae) ? R = "" : k(ue, te);
|
|
7201
7201
|
} else
|
|
7202
7202
|
k(ue, te);
|
|
7203
7203
|
}
|
|
7204
|
-
J =
|
|
7204
|
+
J = R;
|
|
7205
7205
|
} else {
|
|
7206
7206
|
j || k(2, te);
|
|
7207
7207
|
let ue = Number.parseInt(
|
|
7208
7208
|
q,
|
|
7209
|
-
|
|
7209
|
+
L === "hexadecimal" ? 16 : 10
|
|
7210
7210
|
);
|
|
7211
7211
|
if (G3(ue))
|
|
7212
7212
|
k(7, te), J = "�";
|
|
@@ -7220,16 +7220,16 @@ function j3(e, t) {
|
|
|
7220
7220
|
}
|
|
7221
7221
|
}
|
|
7222
7222
|
if (J) {
|
|
7223
|
-
_(), g = v(), a =
|
|
7223
|
+
_(), g = v(), a = B - 1, f += B - C + 1, i.push(J);
|
|
7224
7224
|
const ue = v();
|
|
7225
7225
|
ue.offset++, r.reference && r.reference.call(
|
|
7226
7226
|
r.referenceContext || void 0,
|
|
7227
7227
|
J,
|
|
7228
7228
|
{ start: g, end: ue },
|
|
7229
|
-
e.slice(C - 1,
|
|
7229
|
+
e.slice(C - 1, B)
|
|
7230
7230
|
), g = ue;
|
|
7231
7231
|
} else
|
|
7232
|
-
q = e.slice(C - 1,
|
|
7232
|
+
q = e.slice(C - 1, B), o += q, f += q.length, a = B - 1;
|
|
7233
7233
|
} else
|
|
7234
7234
|
m === 10 && (h++, s++, f = 0), Number.isNaN(m) ? _() : (o += String.fromCharCode(m), f++);
|
|
7235
7235
|
return i.join("");
|
|
@@ -7660,153 +7660,153 @@ function l6() {
|
|
|
7660
7660
|
function e() {
|
|
7661
7661
|
this.buffer();
|
|
7662
7662
|
}
|
|
7663
|
-
function t(
|
|
7664
|
-
return { line:
|
|
7663
|
+
function t(R) {
|
|
7664
|
+
return { line: R.line, column: R.column, offset: R.offset };
|
|
7665
7665
|
}
|
|
7666
|
-
function r(
|
|
7667
|
-
this.config.enter.data.call(this,
|
|
7666
|
+
function r(R) {
|
|
7667
|
+
this.config.enter.data.call(this, R), this.config.exit.data.call(this, R);
|
|
7668
7668
|
}
|
|
7669
|
-
function n(
|
|
7669
|
+
function n(R) {
|
|
7670
7670
|
const q = {
|
|
7671
7671
|
name: void 0,
|
|
7672
7672
|
attributes: [],
|
|
7673
7673
|
close: !1,
|
|
7674
7674
|
selfClosing: !1,
|
|
7675
|
-
start:
|
|
7676
|
-
end:
|
|
7675
|
+
start: R.start,
|
|
7676
|
+
end: R.end
|
|
7677
7677
|
};
|
|
7678
7678
|
this.data.mdxJsxTagStack || (this.data.mdxJsxTagStack = []), this.data.mdxJsxTag = q, this.buffer();
|
|
7679
7679
|
}
|
|
7680
|
-
function i(
|
|
7680
|
+
function i(R) {
|
|
7681
7681
|
if (this.data.mdxJsxTagStack.length === 0)
|
|
7682
7682
|
throw new Ze(
|
|
7683
7683
|
"Unexpected closing slash `/` in tag, expected an open tag first",
|
|
7684
|
-
{ start:
|
|
7684
|
+
{ start: R.start, end: R.end },
|
|
7685
7685
|
"mdast-util-mdx-jsx:unexpected-closing-slash"
|
|
7686
7686
|
);
|
|
7687
7687
|
}
|
|
7688
|
-
function a(
|
|
7688
|
+
function a(R) {
|
|
7689
7689
|
if (this.data.mdxJsxTag.close)
|
|
7690
7690
|
throw new Ze(
|
|
7691
7691
|
"Unexpected attribute in closing tag, expected the end of the tag",
|
|
7692
|
-
{ start:
|
|
7692
|
+
{ start: R.start, end: R.end },
|
|
7693
7693
|
"mdast-util-mdx-jsx:unexpected-attribute"
|
|
7694
7694
|
);
|
|
7695
7695
|
}
|
|
7696
|
-
function s(
|
|
7696
|
+
function s(R) {
|
|
7697
7697
|
if (this.data.mdxJsxTag.close)
|
|
7698
7698
|
throw new Ze(
|
|
7699
7699
|
"Unexpected self-closing slash `/` in closing tag, expected the end of the tag",
|
|
7700
|
-
{ start:
|
|
7700
|
+
{ start: R.start, end: R.end },
|
|
7701
7701
|
"mdast-util-mdx-jsx:unexpected-self-closing-slash"
|
|
7702
7702
|
);
|
|
7703
7703
|
}
|
|
7704
7704
|
function o() {
|
|
7705
|
-
const
|
|
7706
|
-
|
|
7705
|
+
const R = this.data.mdxJsxTag;
|
|
7706
|
+
R.close = !0;
|
|
7707
7707
|
}
|
|
7708
|
-
function l(
|
|
7708
|
+
function l(R) {
|
|
7709
7709
|
const q = this.data.mdxJsxTag;
|
|
7710
|
-
q.name = this.sliceSerialize(
|
|
7710
|
+
q.name = this.sliceSerialize(R);
|
|
7711
7711
|
}
|
|
7712
|
-
function c(
|
|
7712
|
+
function c(R) {
|
|
7713
7713
|
const q = this.data.mdxJsxTag;
|
|
7714
|
-
q.name += "." + this.sliceSerialize(
|
|
7714
|
+
q.name += "." + this.sliceSerialize(R);
|
|
7715
7715
|
}
|
|
7716
|
-
function h(
|
|
7716
|
+
function h(R) {
|
|
7717
7717
|
const q = this.data.mdxJsxTag;
|
|
7718
|
-
q.name += ":" + this.sliceSerialize(
|
|
7718
|
+
q.name += ":" + this.sliceSerialize(R);
|
|
7719
7719
|
}
|
|
7720
|
-
function f(
|
|
7720
|
+
function f(R) {
|
|
7721
7721
|
const q = this.data.mdxJsxTag;
|
|
7722
|
-
a.call(this,
|
|
7722
|
+
a.call(this, R), q.attributes.push({
|
|
7723
7723
|
type: "mdxJsxAttribute",
|
|
7724
7724
|
name: "",
|
|
7725
7725
|
value: null,
|
|
7726
7726
|
position: {
|
|
7727
|
-
start: t(
|
|
7727
|
+
start: t(R.start),
|
|
7728
7728
|
// @ts-expect-error: `end` will be patched later.
|
|
7729
7729
|
end: void 0
|
|
7730
7730
|
}
|
|
7731
7731
|
});
|
|
7732
7732
|
}
|
|
7733
|
-
function g(
|
|
7733
|
+
function g(R) {
|
|
7734
7734
|
const q = this.data.mdxJsxTag;
|
|
7735
|
-
a.call(this,
|
|
7735
|
+
a.call(this, R), q.attributes.push({
|
|
7736
7736
|
type: "mdxJsxExpressionAttribute",
|
|
7737
7737
|
value: "",
|
|
7738
7738
|
position: {
|
|
7739
|
-
start: t(
|
|
7739
|
+
start: t(R.start),
|
|
7740
7740
|
// @ts-expect-error: `end` will be patched later.
|
|
7741
7741
|
end: void 0
|
|
7742
7742
|
}
|
|
7743
7743
|
}), this.buffer();
|
|
7744
7744
|
}
|
|
7745
|
-
function m(
|
|
7745
|
+
function m(R) {
|
|
7746
7746
|
const q = this.data.mdxJsxTag, W = q.attributes[q.attributes.length - 1];
|
|
7747
7747
|
W.type;
|
|
7748
|
-
const j =
|
|
7749
|
-
W.value = this.resume(), W.position, W.position.end = t(
|
|
7748
|
+
const j = R.estree;
|
|
7749
|
+
W.value = this.resume(), W.position, W.position.end = t(R.end), j && (W.data = { estree: j });
|
|
7750
7750
|
}
|
|
7751
|
-
function v(
|
|
7751
|
+
function v(R) {
|
|
7752
7752
|
const q = this.data.mdxJsxTag, W = q.attributes[q.attributes.length - 1];
|
|
7753
|
-
W.type, W.name = this.sliceSerialize(
|
|
7753
|
+
W.type, W.name = this.sliceSerialize(R), W.position, W.position.end = t(R.end);
|
|
7754
7754
|
}
|
|
7755
|
-
function k(
|
|
7755
|
+
function k(R) {
|
|
7756
7756
|
const q = this.data.mdxJsxTag, W = q.attributes[q.attributes.length - 1];
|
|
7757
|
-
W.type, W.name += ":" + this.sliceSerialize(
|
|
7757
|
+
W.type, W.name += ":" + this.sliceSerialize(R), W.position, W.position.end = t(R.end);
|
|
7758
7758
|
}
|
|
7759
|
-
function _(
|
|
7759
|
+
function _(R) {
|
|
7760
7760
|
const q = this.data.mdxJsxTag, W = q.attributes[q.attributes.length - 1];
|
|
7761
|
-
W.value = j3(this.resume(), { nonTerminated: !1 }), W.position, W.position.end = t(
|
|
7761
|
+
W.value = j3(this.resume(), { nonTerminated: !1 }), W.position, W.position.end = t(R.end);
|
|
7762
7762
|
}
|
|
7763
|
-
function T(
|
|
7763
|
+
function T(R) {
|
|
7764
7764
|
const q = this.data.mdxJsxTag, W = q.attributes[q.attributes.length - 1];
|
|
7765
7765
|
W.type;
|
|
7766
|
-
const j = { type: "mdxJsxAttributeValueExpression", value: this.resume() }, te =
|
|
7767
|
-
te && (j.data = { estree: te }), W.value = j, W.position, W.position.end = t(
|
|
7766
|
+
const j = { type: "mdxJsxAttributeValueExpression", value: this.resume() }, te = R.estree;
|
|
7767
|
+
te && (j.data = { estree: te }), W.value = j, W.position, W.position.end = t(R.end);
|
|
7768
7768
|
}
|
|
7769
7769
|
function C() {
|
|
7770
|
-
const
|
|
7771
|
-
|
|
7770
|
+
const R = this.data.mdxJsxTag;
|
|
7771
|
+
R.selfClosing = !0;
|
|
7772
7772
|
}
|
|
7773
|
-
function I(
|
|
7773
|
+
function I(R) {
|
|
7774
7774
|
const q = this.data.mdxJsxTag, W = this.data.mdxJsxTagStack, j = W[W.length - 1];
|
|
7775
7775
|
if (q.close && j.name !== q.name)
|
|
7776
7776
|
throw new Ze(
|
|
7777
7777
|
"Unexpected closing tag `" + b(q) + "`, expected corresponding closing tag for `" + b(j) + "` (" + Br(j) + ")",
|
|
7778
|
-
{ start:
|
|
7778
|
+
{ start: R.start, end: R.end },
|
|
7779
7779
|
"mdast-util-mdx-jsx:end-tag-mismatch"
|
|
7780
7780
|
);
|
|
7781
7781
|
this.resume(), q.close ? W.pop() : this.enter(
|
|
7782
7782
|
{
|
|
7783
|
-
type:
|
|
7783
|
+
type: R.type === "mdxJsxTextTag" ? "mdxJsxTextElement" : "mdxJsxFlowElement",
|
|
7784
7784
|
name: q.name || null,
|
|
7785
7785
|
attributes: q.attributes,
|
|
7786
7786
|
children: []
|
|
7787
7787
|
},
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
), q.selfClosing || q.close ? this.exit(
|
|
7788
|
+
R,
|
|
7789
|
+
B
|
|
7790
|
+
), q.selfClosing || q.close ? this.exit(R, L) : W.push(q);
|
|
7791
7791
|
}
|
|
7792
|
-
function
|
|
7793
|
-
const W = this.data.mdxJsxTagStack, j = W[W.length - 1], te =
|
|
7792
|
+
function B(R, q) {
|
|
7793
|
+
const W = this.data.mdxJsxTagStack, j = W[W.length - 1], te = R ? " before the end of `" + R.type + "`" : "", J = R ? { start: R.start, end: R.end } : void 0;
|
|
7794
7794
|
throw new Ze(
|
|
7795
7795
|
"Expected a closing tag for `" + b(j) + "` (" + Br({ start: q.start, end: q.end }) + ")" + te,
|
|
7796
7796
|
J,
|
|
7797
7797
|
"mdast-util-mdx-jsx:end-tag-mismatch"
|
|
7798
7798
|
);
|
|
7799
7799
|
}
|
|
7800
|
-
function R
|
|
7800
|
+
function L(R, q) {
|
|
7801
7801
|
const W = this.data.mdxJsxTag;
|
|
7802
7802
|
throw new Ze(
|
|
7803
7803
|
"Expected the closing tag `" + b(W) + "` either after the end of `" + q.type + "` (" + Br(q.end) + ") or another opening tag after the start of `" + q.type + "` (" + Br(q.start) + ")",
|
|
7804
|
-
{ start:
|
|
7804
|
+
{ start: R.start, end: R.end },
|
|
7805
7805
|
"mdast-util-mdx-jsx:end-tag-mismatch"
|
|
7806
7806
|
);
|
|
7807
7807
|
}
|
|
7808
|
-
function b(
|
|
7809
|
-
return "<" + (
|
|
7808
|
+
function b(R) {
|
|
7809
|
+
return "<" + (R.close ? "/" : "") + (R.name || "") + ">";
|
|
7810
7810
|
}
|
|
7811
7811
|
}
|
|
7812
7812
|
function c6(e) {
|
|
@@ -7830,7 +7830,7 @@ function c6(e) {
|
|
|
7830
7830
|
resourceLink: !0
|
|
7831
7831
|
};
|
|
7832
7832
|
function o(l, c, h, f) {
|
|
7833
|
-
const g = l.type === "mdxJsxFlowElement", m = l.name ? !l.children || l.children.length === 0 : !1, v = nd(h), k = id(v), _ = h.createTracker(f), T = h.createTracker(f), C = [], I = (g ? k : "") + "<" + (l.name || ""),
|
|
7833
|
+
const g = l.type === "mdxJsxFlowElement", m = l.name ? !l.children || l.children.length === 0 : !1, v = nd(h), k = id(v), _ = h.createTracker(f), T = h.createTracker(f), C = [], I = (g ? k : "") + "<" + (l.name || ""), B = h.enter(l.type);
|
|
7834
7834
|
if (_.move(I), T.move(I), l.attributes && l.attributes.length > 0) {
|
|
7835
7835
|
if (!l.name)
|
|
7836
7836
|
throw new Error("Cannot serialize fragment w/ attributes");
|
|
@@ -7856,7 +7856,7 @@ function c6(e) {
|
|
|
7856
7856
|
C.push(te);
|
|
7857
7857
|
}
|
|
7858
7858
|
}
|
|
7859
|
-
let
|
|
7859
|
+
let L = !1;
|
|
7860
7860
|
const b = C.join(" ");
|
|
7861
7861
|
// Block:
|
|
7862
7862
|
g && // Including a line ending (expressions).
|
|
@@ -7864,33 +7864,33 @@ function c6(e) {
|
|
|
7864
7864
|
_.current().now.column + // -1 because columns, +1 for ` ` before attributes.
|
|
7865
7865
|
// Attributes joined by spaces.
|
|
7866
7866
|
b.length + // ` />`.
|
|
7867
|
-
(m ? i ? 2 : 3 : 1) > a) && (
|
|
7868
|
-
let
|
|
7869
|
-
if (
|
|
7870
|
-
|
|
7867
|
+
(m ? i ? 2 : 3 : 1) > a) && (L = !0);
|
|
7868
|
+
let R = _, q = I;
|
|
7869
|
+
if (L) {
|
|
7870
|
+
R = T;
|
|
7871
7871
|
let W = -1;
|
|
7872
7872
|
for (; ++W < C.length; )
|
|
7873
7873
|
C[W] = k + rd + C[W];
|
|
7874
|
-
q +=
|
|
7874
|
+
q += R.move(
|
|
7875
7875
|
`
|
|
7876
7876
|
` + C.join(`
|
|
7877
7877
|
`) + `
|
|
7878
7878
|
` + k
|
|
7879
7879
|
);
|
|
7880
|
-
} else b && (q +=
|
|
7881
|
-
return m && (q +=
|
|
7882
|
-
(i ||
|
|
7883
|
-
)), q +=
|
|
7880
|
+
} else b && (q += R.move(" " + b));
|
|
7881
|
+
return m && (q += R.move(
|
|
7882
|
+
(i || L ? "" : " ") + "/"
|
|
7883
|
+
)), q += R.move(">"), l.children && l.children.length > 0 && (l.type === "mdxJsxTextElement" ? q += R.move(
|
|
7884
7884
|
h.containerPhrasing(l, {
|
|
7885
|
-
...
|
|
7885
|
+
...R.current(),
|
|
7886
7886
|
before: ">",
|
|
7887
7887
|
after: "<"
|
|
7888
7888
|
})
|
|
7889
|
-
) : (
|
|
7890
|
-
`), q +=
|
|
7891
|
-
`))), m || (q +=
|
|
7889
|
+
) : (R.shift(2), q += R.move(`
|
|
7890
|
+
`), q += R.move(h6(l, h, R.current())), q += R.move(`
|
|
7891
|
+
`))), m || (q += R.move(
|
|
7892
7892
|
(g ? k : "") + "</" + (l.name || "") + ">"
|
|
7893
|
-
)),
|
|
7893
|
+
)), B(), q;
|
|
7894
7894
|
}
|
|
7895
7895
|
}
|
|
7896
7896
|
function h6(e, t, r) {
|
|
@@ -11189,15 +11189,15 @@ function Ud(e, t) {
|
|
|
11189
11189
|
try {
|
|
11190
11190
|
h = t.expression && !_ ? t.acorn.parseExpressionAt(k, 0, g) : t.acorn.parse(k, g);
|
|
11191
11191
|
} catch (I) {
|
|
11192
|
-
const
|
|
11192
|
+
const B = (
|
|
11193
11193
|
/** @type {AcornError} */
|
|
11194
11194
|
I
|
|
11195
|
-
),
|
|
11196
|
-
|
|
11197
|
-
line:
|
|
11198
|
-
column:
|
|
11199
|
-
}, f =
|
|
11200
|
-
|
|
11195
|
+
), L = C(B.pos);
|
|
11196
|
+
B.message = String(B.message).replace(/ \(\d+:\d+\)$/, ""), B.pos = L.offset, B.loc = {
|
|
11197
|
+
line: L.line,
|
|
11198
|
+
column: L.column - 1
|
|
11199
|
+
}, f = B, c = B.raisedAt >= r.length + v.length || // Broken comments are raised at their start, not their end.
|
|
11200
|
+
B.message === "Unterminated comment";
|
|
11201
11201
|
}
|
|
11202
11202
|
if (h && t.expression && !_)
|
|
11203
11203
|
if (vh(k.slice(h.end, k.length - n.length)))
|
|
@@ -11216,22 +11216,22 @@ function Ud(e, t) {
|
|
|
11216
11216
|
comments: []
|
|
11217
11217
|
};
|
|
11218
11218
|
else {
|
|
11219
|
-
const I = C(h.end),
|
|
11219
|
+
const I = C(h.end), B = (
|
|
11220
11220
|
/** @type {AcornError} */
|
|
11221
11221
|
new Error("Unexpected content after expression")
|
|
11222
11222
|
);
|
|
11223
|
-
|
|
11223
|
+
B.pos = I.offset, B.loc = {
|
|
11224
11224
|
line: I.line,
|
|
11225
11225
|
column: I.column - 1
|
|
11226
|
-
}, f =
|
|
11226
|
+
}, f = B, h = void 0;
|
|
11227
11227
|
}
|
|
11228
11228
|
if (h) {
|
|
11229
|
-
if (h.comments = a, fb(h, function(I,
|
|
11230
|
-
let
|
|
11229
|
+
if (h.comments = a, fb(h, function(I, B, L, b) {
|
|
11230
|
+
let R = (
|
|
11231
11231
|
/** @type {AcornNode | Array<AcornNode>} */
|
|
11232
11232
|
b[b.length - 1]
|
|
11233
|
-
), q =
|
|
11234
|
-
I.type === "ParenthesizedExpression" &&
|
|
11233
|
+
), q = B;
|
|
11234
|
+
I.type === "ParenthesizedExpression" && R && q && (typeof L == "number" && (R = R[q], q = L), R[q] = I.expression), T(I);
|
|
11235
11235
|
}), Array.isArray(o))
|
|
11236
11236
|
o.push(...a);
|
|
11237
11237
|
else if (typeof o == "function")
|
|
@@ -11246,31 +11246,31 @@ function Ud(e, t) {
|
|
|
11246
11246
|
swallow: c
|
|
11247
11247
|
};
|
|
11248
11248
|
function T(I) {
|
|
11249
|
-
const
|
|
11250
|
-
I.start =
|
|
11249
|
+
const B = C(I.start), L = C(I.end);
|
|
11250
|
+
I.start = B.offset, I.end = L.offset, I.loc = {
|
|
11251
11251
|
start: {
|
|
11252
|
-
line:
|
|
11253
|
-
column:
|
|
11252
|
+
line: B.line,
|
|
11253
|
+
column: B.column - 1,
|
|
11254
11254
|
// @ts-expect-error: not allowed by acorn types.
|
|
11255
|
-
offset:
|
|
11255
|
+
offset: B.offset
|
|
11256
11256
|
},
|
|
11257
11257
|
end: {
|
|
11258
|
-
line:
|
|
11259
|
-
column:
|
|
11258
|
+
line: L.line,
|
|
11259
|
+
column: L.column - 1,
|
|
11260
11260
|
// @ts-expect-error: not allowed by acorn types.
|
|
11261
|
-
offset:
|
|
11261
|
+
offset: L.offset
|
|
11262
11262
|
}
|
|
11263
11263
|
}, I.range = [I.start, I.end];
|
|
11264
11264
|
}
|
|
11265
11265
|
function C(I) {
|
|
11266
|
-
let
|
|
11267
|
-
|
|
11268
|
-
let
|
|
11269
|
-
return
|
|
11266
|
+
let B = I - r.length;
|
|
11267
|
+
B < 0 ? B = 0 : B > v.length && (B = v.length);
|
|
11268
|
+
let L = db(m.stops, B);
|
|
11269
|
+
return L || (L = {
|
|
11270
11270
|
line: t.start.line,
|
|
11271
11271
|
column: t.start.column,
|
|
11272
11272
|
offset: t.start.offset
|
|
11273
|
-
}),
|
|
11273
|
+
}), L;
|
|
11274
11274
|
}
|
|
11275
11275
|
}
|
|
11276
11276
|
function vh(e) {
|
|
@@ -11375,43 +11375,43 @@ function Zs(e, t, r, n, i, a, s, o, l, c, h) {
|
|
|
11375
11375
|
const f = this, g = this.events.length + 3;
|
|
11376
11376
|
let m = 0, v, k;
|
|
11377
11377
|
return _;
|
|
11378
|
-
function _(
|
|
11379
|
-
return e.enter(r), e.enter(n), e.consume(
|
|
11378
|
+
function _(B) {
|
|
11379
|
+
return e.enter(r), e.enter(n), e.consume(B), e.exit(n), v = f.now(), T;
|
|
11380
11380
|
}
|
|
11381
|
-
function T(
|
|
11382
|
-
if (
|
|
11381
|
+
function T(B) {
|
|
11382
|
+
if (B === null) {
|
|
11383
11383
|
if (k) throw k;
|
|
11384
|
-
const
|
|
11384
|
+
const L = new Ze("Unexpected end of file in expression, expected a corresponding closing brace for `{`", {
|
|
11385
11385
|
place: f.now(),
|
|
11386
11386
|
ruleId: "unexpected-eof",
|
|
11387
11387
|
source: "micromark-extension-mdx-expression"
|
|
11388
11388
|
});
|
|
11389
|
-
throw
|
|
11389
|
+
throw L.url = Ri + bb, L;
|
|
11390
11390
|
}
|
|
11391
|
-
if (ye(
|
|
11392
|
-
return e.enter("lineEnding"), e.consume(
|
|
11393
|
-
if (
|
|
11394
|
-
const
|
|
11391
|
+
if (ye(B))
|
|
11392
|
+
return e.enter("lineEnding"), e.consume(B), e.exit("lineEnding"), I;
|
|
11393
|
+
if (B === 125 && m === 0) {
|
|
11394
|
+
const L = a ? Eb.call(f, a, s, i, g, v, c || !1, l || !1) : {
|
|
11395
11395
|
type: "ok",
|
|
11396
11396
|
estree: void 0
|
|
11397
11397
|
};
|
|
11398
|
-
if (
|
|
11399
|
-
e.enter(n), e.consume(
|
|
11398
|
+
if (L.type === "ok") {
|
|
11399
|
+
e.enter(n), e.consume(B), e.exit(n);
|
|
11400
11400
|
const b = e.exit(r);
|
|
11401
|
-
return o &&
|
|
11402
|
-
estree:
|
|
11401
|
+
return o && L.estree && Object.assign(b, {
|
|
11402
|
+
estree: L.estree
|
|
11403
11403
|
}), t;
|
|
11404
11404
|
}
|
|
11405
|
-
return k =
|
|
11405
|
+
return k = L.message, e.enter(i), e.consume(B), C;
|
|
11406
11406
|
}
|
|
11407
|
-
return e.enter(i), C(
|
|
11407
|
+
return e.enter(i), C(B);
|
|
11408
11408
|
}
|
|
11409
|
-
function C(
|
|
11410
|
-
return
|
|
11409
|
+
function C(B) {
|
|
11410
|
+
return B === 125 && m === 0 || B === null || ye(B) ? (e.exit(i), T(B)) : (B === 123 && !a ? m += 1 : B === 125 && (m -= 1), e.consume(B), C);
|
|
11411
11411
|
}
|
|
11412
|
-
function I(
|
|
11413
|
-
const
|
|
11414
|
-
if (
|
|
11412
|
+
function I(B) {
|
|
11413
|
+
const L = f.now();
|
|
11414
|
+
if (L.line !== v.line && !h && f.parser.lazy[L.line]) {
|
|
11415
11415
|
const b = new Ze("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc", {
|
|
11416
11416
|
place: f.now(),
|
|
11417
11417
|
ruleId: "unexpected-lazy",
|
|
@@ -11419,7 +11419,7 @@ function Zs(e, t, r, n, i, a, s, o, l, c, h) {
|
|
|
11419
11419
|
});
|
|
11420
11420
|
throw b.url = Ri + xb, b;
|
|
11421
11421
|
}
|
|
11422
|
-
return Oe(
|
|
11422
|
+
return Oe(B) ? Be(e, T, "linePrefix", gb + 1)(B) : T(B);
|
|
11423
11423
|
}
|
|
11424
11424
|
}
|
|
11425
11425
|
function Eb(e, t, r, n, i, a, s) {
|
|
@@ -11521,13 +11521,13 @@ function Tb(e) {
|
|
|
11521
11521
|
return Oe(T) ? Be(c, _, "whitespace")(T) : _(T);
|
|
11522
11522
|
}
|
|
11523
11523
|
function _(T) {
|
|
11524
|
-
const C = g.parser.constructs.flow[60],
|
|
11524
|
+
const C = g.parser.constructs.flow[60], B = (Array.isArray(C) ? C : (
|
|
11525
11525
|
/* c8 ignore next 3 -- always a list when normalized. */
|
|
11526
11526
|
C ? [C] : []
|
|
11527
|
-
)).find(function(
|
|
11528
|
-
return
|
|
11527
|
+
)).find(function(L) {
|
|
11528
|
+
return L.name === "mdxJsxFlowTag";
|
|
11529
11529
|
});
|
|
11530
|
-
return T === 60 &&
|
|
11530
|
+
return T === 60 && B ? c.attempt(B, _, f)(T) : T === null || ye(T) ? h(T) : f(T);
|
|
11531
11531
|
}
|
|
11532
11532
|
}
|
|
11533
11533
|
function l(c, h) {
|
|
@@ -11539,7 +11539,7 @@ function Tb(e) {
|
|
|
11539
11539
|
}
|
|
11540
11540
|
}
|
|
11541
11541
|
const kh = "https://github.com/micromark/micromark-extension-mdx-jsx";
|
|
11542
|
-
function zd(e, t, r, n, i, a, s, o, l, c, h, f, g, m, v, k, _, T, C, I,
|
|
11542
|
+
function zd(e, t, r, n, i, a, s, o, l, c, h, f, g, m, v, k, _, T, C, I, B, L, b, R, q, W, j, te, J, ue, ae, ne) {
|
|
11543
11543
|
const Se = this;
|
|
11544
11544
|
let _e, ze;
|
|
11545
11545
|
return Xe;
|
|
@@ -11631,7 +11631,7 @@ function zd(e, t, r, n, i, a, s, o, l, c, h, f, g, m, v, k, _, T, C, I, F, R, b,
|
|
|
11631
11631
|
if (P === 123)
|
|
11632
11632
|
return Zs.call(Se, e, Hn, T, C, I, n, i, a, !0, !1, s)(P);
|
|
11633
11633
|
if (P !== null && P >= 0 && Gr(P))
|
|
11634
|
-
return e.enter(
|
|
11634
|
+
return e.enter(B), e.enter(L), e.enter(b), e.consume(P), Qr;
|
|
11635
11635
|
ee(P, "before attribute name", "a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag");
|
|
11636
11636
|
}
|
|
11637
11637
|
function Hn(P) {
|
|
@@ -11648,11 +11648,11 @@ function zd(e, t, r, n, i, a, s, o, l, c, h, f, g, m, v, k, _, T, C, I, F, R, b,
|
|
|
11648
11648
|
}
|
|
11649
11649
|
function Kr(P) {
|
|
11650
11650
|
if (P === 58)
|
|
11651
|
-
return e.enter(
|
|
11651
|
+
return e.enter(R), e.consume(P), e.exit(R), _e = Sr, ot;
|
|
11652
11652
|
if (P === 61)
|
|
11653
|
-
return e.exit(
|
|
11653
|
+
return e.exit(L), e.enter(W), e.consume(P), e.exit(W), _e = er, ot;
|
|
11654
11654
|
if (P === 47 || P === 62 || P === 123 || $e(P) || nr(P) || P !== null && P >= 0 && Gr(P))
|
|
11655
|
-
return e.exit(
|
|
11655
|
+
return e.exit(L), e.exit(B), _e = Nt, ot(P);
|
|
11656
11656
|
ee(P, "after attribute name", "a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag");
|
|
11657
11657
|
}
|
|
11658
11658
|
function Sr(P) {
|
|
@@ -11666,14 +11666,14 @@ function zd(e, t, r, n, i, a, s, o, l, c, h, f, g, m, v, k, _, T, C, I, F, R, b,
|
|
|
11666
11666
|
}))
|
|
11667
11667
|
return e.consume(P), jr;
|
|
11668
11668
|
if (P === 47 || P === 61 || P === 62 || P === 123 || $e(P) || nr(P))
|
|
11669
|
-
return e.exit(q), e.exit(
|
|
11669
|
+
return e.exit(q), e.exit(L), _e = Gt, ot(P);
|
|
11670
11670
|
ee(P, "in local attribute name", "an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag");
|
|
11671
11671
|
}
|
|
11672
11672
|
function Gt(P) {
|
|
11673
11673
|
if (P === 61)
|
|
11674
11674
|
return e.enter(W), e.consume(P), e.exit(W), _e = er, ot;
|
|
11675
11675
|
if (P === 47 || P === 62 || P === 123 || P !== null && P >= 0 && Gr(P))
|
|
11676
|
-
return e.exit(
|
|
11676
|
+
return e.exit(B), Nt(P);
|
|
11677
11677
|
ee(P, "after local attribute name", "a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag");
|
|
11678
11678
|
}
|
|
11679
11679
|
function er(P) {
|
|
@@ -11684,10 +11684,10 @@ function zd(e, t, r, n, i, a, s, o, l, c, h, f, g, m, v, k, _, T, C, I, F, R, b,
|
|
|
11684
11684
|
ee(P, "before attribute value", "a character that can start an attribute value, such as `\"`, `'`, or `{`" + (P === 60 ? " (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)" : ""));
|
|
11685
11685
|
}
|
|
11686
11686
|
function lr(P) {
|
|
11687
|
-
return e.exit(
|
|
11687
|
+
return e.exit(B), _e = Nt, ot(P);
|
|
11688
11688
|
}
|
|
11689
11689
|
function Zr(P) {
|
|
11690
|
-
return P === null && ee(P, "in attribute value", "a corresponding closing quote `" + String.fromCodePoint(ze) + "`"), P === ze ? (e.enter(te), e.consume(P), e.exit(te), e.exit(j), e.exit(
|
|
11690
|
+
return P === null && ee(P, "in attribute value", "a corresponding closing quote `" + String.fromCodePoint(ze) + "`"), P === ze ? (e.enter(te), e.consume(P), e.exit(te), e.exit(j), e.exit(B), ze = void 0, _e = Nt, ot) : ye(P) ? (_e = Zr, ot(P)) : (e.enter(J), En(P));
|
|
11691
11691
|
}
|
|
11692
11692
|
function En(P) {
|
|
11693
11693
|
return P === null || P === ze || ye(P) ? (e.exit(J), Zr(P)) : (e.consume(P), En);
|
|
@@ -12039,7 +12039,7 @@ const Sh = {
|
|
|
12039
12039
|
function Fb(e, t, r) {
|
|
12040
12040
|
const n = this, i = {
|
|
12041
12041
|
partial: !0,
|
|
12042
|
-
tokenize:
|
|
12042
|
+
tokenize: L
|
|
12043
12043
|
};
|
|
12044
12044
|
let a = 0, s = 0, o;
|
|
12045
12045
|
return l;
|
|
@@ -12047,14 +12047,14 @@ function Fb(e, t, r) {
|
|
|
12047
12047
|
return c(b);
|
|
12048
12048
|
}
|
|
12049
12049
|
function c(b) {
|
|
12050
|
-
const
|
|
12051
|
-
return a =
|
|
12050
|
+
const R = n.events[n.events.length - 1];
|
|
12051
|
+
return a = R && R[1].type === "linePrefix" ? R[2].sliceSerialize(R[1], !0).length : 0, o = b, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), h(b);
|
|
12052
12052
|
}
|
|
12053
12053
|
function h(b) {
|
|
12054
12054
|
return b === o ? (s++, e.consume(b), h) : s < 3 ? r(b) : (e.exit("codeFencedFenceSequence"), Oe(b) ? Be(e, f, "whitespace")(b) : f(b));
|
|
12055
12055
|
}
|
|
12056
12056
|
function f(b) {
|
|
12057
|
-
return b === null || ye(b) ? (e.exit("codeFencedFence"), n.interrupt ? t(b) : e.check(Sh, k,
|
|
12057
|
+
return b === null || ye(b) ? (e.exit("codeFencedFence"), n.interrupt ? t(b) : e.check(Sh, k, B)(b)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
12058
12058
|
contentType: "string"
|
|
12059
12059
|
}), g(b));
|
|
12060
12060
|
}
|
|
@@ -12070,7 +12070,7 @@ function Fb(e, t, r) {
|
|
|
12070
12070
|
return b === null || ye(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(b)) : b === 96 && b === o ? r(b) : (e.consume(b), v);
|
|
12071
12071
|
}
|
|
12072
12072
|
function k(b) {
|
|
12073
|
-
return e.attempt(i,
|
|
12073
|
+
return e.attempt(i, B, _)(b);
|
|
12074
12074
|
}
|
|
12075
12075
|
function _(b) {
|
|
12076
12076
|
return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), T;
|
|
@@ -12079,15 +12079,15 @@ function Fb(e, t, r) {
|
|
|
12079
12079
|
return a > 0 && Oe(b) ? Be(e, C, "linePrefix", a + 1)(b) : C(b);
|
|
12080
12080
|
}
|
|
12081
12081
|
function C(b) {
|
|
12082
|
-
return b === null || ye(b) ? e.check(Sh, k,
|
|
12082
|
+
return b === null || ye(b) ? e.check(Sh, k, B)(b) : (e.enter("codeFlowValue"), I(b));
|
|
12083
12083
|
}
|
|
12084
12084
|
function I(b) {
|
|
12085
12085
|
return b === null || ye(b) ? (e.exit("codeFlowValue"), C(b)) : (e.consume(b), I);
|
|
12086
12086
|
}
|
|
12087
|
-
function
|
|
12087
|
+
function B(b) {
|
|
12088
12088
|
return e.exit("codeFenced"), t(b);
|
|
12089
12089
|
}
|
|
12090
|
-
function
|
|
12090
|
+
function L(b, R, q) {
|
|
12091
12091
|
let W = 0;
|
|
12092
12092
|
return j;
|
|
12093
12093
|
function j(ne) {
|
|
@@ -12103,7 +12103,7 @@ function Fb(e, t, r) {
|
|
|
12103
12103
|
return ne === o ? (W++, b.consume(ne), ue) : W >= s ? (b.exit("codeFencedFenceSequence"), Oe(ne) ? Be(b, ae, "whitespace")(ne) : ae(ne)) : q(ne);
|
|
12104
12104
|
}
|
|
12105
12105
|
function ae(ne) {
|
|
12106
|
-
return ne === null || ye(ne) ? (b.exit("codeFencedFence"),
|
|
12106
|
+
return ne === null || ye(ne) ? (b.exit("codeFencedFence"), R(ne)) : q(ne);
|
|
12107
12107
|
}
|
|
12108
12108
|
}
|
|
12109
12109
|
}
|
|
@@ -12787,22 +12787,22 @@ function d5(e, t, r) {
|
|
|
12787
12787
|
return Oe(V) ? (e.consume(V), C) : j(V);
|
|
12788
12788
|
}
|
|
12789
12789
|
function I(V) {
|
|
12790
|
-
return V === 47 ? (e.consume(V), j) : V === 58 || V === 95 || Jt(V) ? (e.consume(V),
|
|
12790
|
+
return V === 47 ? (e.consume(V), j) : V === 58 || V === 95 || Jt(V) ? (e.consume(V), B) : Oe(V) ? (e.consume(V), I) : j(V);
|
|
12791
12791
|
}
|
|
12792
|
-
function
|
|
12793
|
-
return V === 45 || V === 46 || V === 58 || V === 95 || Kt(V) ? (e.consume(V),
|
|
12792
|
+
function B(V) {
|
|
12793
|
+
return V === 45 || V === 46 || V === 58 || V === 95 || Kt(V) ? (e.consume(V), B) : L(V);
|
|
12794
12794
|
}
|
|
12795
|
-
function
|
|
12796
|
-
return V === 61 ? (e.consume(V), b) : Oe(V) ? (e.consume(V),
|
|
12795
|
+
function L(V) {
|
|
12796
|
+
return V === 61 ? (e.consume(V), b) : Oe(V) ? (e.consume(V), L) : I(V);
|
|
12797
12797
|
}
|
|
12798
12798
|
function b(V) {
|
|
12799
|
-
return V === null || V === 60 || V === 61 || V === 62 || V === 96 ? r(V) : V === 34 || V === 39 ? (e.consume(V), l = V,
|
|
12799
|
+
return V === null || V === 60 || V === 61 || V === 62 || V === 96 ? r(V) : V === 34 || V === 39 ? (e.consume(V), l = V, R) : Oe(V) ? (e.consume(V), b) : q(V);
|
|
12800
12800
|
}
|
|
12801
|
-
function
|
|
12802
|
-
return V === l ? (e.consume(V), l = null, W) : V === null || ye(V) ? r(V) : (e.consume(V),
|
|
12801
|
+
function R(V) {
|
|
12802
|
+
return V === l ? (e.consume(V), l = null, W) : V === null || ye(V) ? r(V) : (e.consume(V), R);
|
|
12803
12803
|
}
|
|
12804
12804
|
function q(V) {
|
|
12805
|
-
return V === null || V === 34 || V === 39 || V === 47 || V === 60 || V === 61 || V === 62 || V === 96 || $e(V) ?
|
|
12805
|
+
return V === null || V === 34 || V === 39 || V === 47 || V === 60 || V === 61 || V === 62 || V === 96 || $e(V) ? L(V) : (e.consume(V), q);
|
|
12806
12806
|
}
|
|
12807
12807
|
function W(V) {
|
|
12808
12808
|
return V === 47 || V === 62 || Oe(V) ? I(V) : r(V);
|
|
@@ -12879,7 +12879,7 @@ function x5(e, t, r) {
|
|
|
12879
12879
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(z), l;
|
|
12880
12880
|
}
|
|
12881
12881
|
function l(z) {
|
|
12882
|
-
return z === 33 ? (e.consume(z), c) : z === 47 ? (e.consume(z),
|
|
12882
|
+
return z === 33 ? (e.consume(z), c) : z === 47 ? (e.consume(z), L) : z === 63 ? (e.consume(z), I) : Jt(z) ? (e.consume(z), q) : r(z);
|
|
12883
12883
|
}
|
|
12884
12884
|
function c(z) {
|
|
12885
12885
|
return z === 45 ? (e.consume(z), h) : z === 91 ? (e.consume(z), a = 0, v) : Jt(z) ? (e.consume(z), C) : r(z);
|
|
@@ -12913,19 +12913,19 @@ function x5(e, t, r) {
|
|
|
12913
12913
|
return z === null || z === 62 ? Se(z) : ye(z) ? (s = C, _e(z)) : (e.consume(z), C);
|
|
12914
12914
|
}
|
|
12915
12915
|
function I(z) {
|
|
12916
|
-
return z === null ? r(z) : z === 63 ? (e.consume(z),
|
|
12916
|
+
return z === null ? r(z) : z === 63 ? (e.consume(z), B) : ye(z) ? (s = I, _e(z)) : (e.consume(z), I);
|
|
12917
12917
|
}
|
|
12918
|
-
function
|
|
12918
|
+
function B(z) {
|
|
12919
12919
|
return z === 62 ? Se(z) : I(z);
|
|
12920
12920
|
}
|
|
12921
|
-
function
|
|
12921
|
+
function L(z) {
|
|
12922
12922
|
return Jt(z) ? (e.consume(z), b) : r(z);
|
|
12923
12923
|
}
|
|
12924
12924
|
function b(z) {
|
|
12925
|
-
return z === 45 || Kt(z) ? (e.consume(z), b) :
|
|
12925
|
+
return z === 45 || Kt(z) ? (e.consume(z), b) : R(z);
|
|
12926
12926
|
}
|
|
12927
|
-
function
|
|
12928
|
-
return ye(z) ? (s =
|
|
12927
|
+
function R(z) {
|
|
12928
|
+
return ye(z) ? (s = R, _e(z)) : Oe(z) ? (e.consume(z), R) : Se(z);
|
|
12929
12929
|
}
|
|
12930
12930
|
function q(z) {
|
|
12931
12931
|
return z === 45 || Kt(z) ? (e.consume(z), q) : z === 47 || z === 62 || $e(z) ? W(z) : r(z);
|
|
@@ -13356,7 +13356,7 @@ function G5(e) {
|
|
|
13356
13356
|
if (I.error) {
|
|
13357
13357
|
if (C !== null && I.swallow)
|
|
13358
13358
|
return _(C);
|
|
13359
|
-
const
|
|
13359
|
+
const L = new Ze("Could not parse import/exports with acorn", {
|
|
13360
13360
|
cause: I.error,
|
|
13361
13361
|
place: {
|
|
13362
13362
|
line: I.error.loc.line,
|
|
@@ -13366,25 +13366,25 @@ function G5(e) {
|
|
|
13366
13366
|
ruleId: "acorn",
|
|
13367
13367
|
source: "micromark-extension-mdxjs-esm"
|
|
13368
13368
|
});
|
|
13369
|
-
throw
|
|
13369
|
+
throw L.url = Ih + "#could-not-parse-importexports-with-acorn", L;
|
|
13370
13370
|
}
|
|
13371
13371
|
c.length > 0 && I.estree.body.shift();
|
|
13372
|
-
let
|
|
13373
|
-
for (; ++
|
|
13374
|
-
const
|
|
13375
|
-
if (!j5.has(
|
|
13376
|
-
const b = new Ze("Unexpected `" +
|
|
13377
|
-
place: Cn(
|
|
13372
|
+
let B = -1;
|
|
13373
|
+
for (; ++B < I.estree.body.length; ) {
|
|
13374
|
+
const L = I.estree.body[B];
|
|
13375
|
+
if (!j5.has(L.type)) {
|
|
13376
|
+
const b = new Ze("Unexpected `" + L.type + "` in code: only import/exports are supported", {
|
|
13377
|
+
place: Cn(L),
|
|
13378
13378
|
ruleId: "non-esm",
|
|
13379
13379
|
source: "micromark-extension-mdxjs-esm"
|
|
13380
13380
|
});
|
|
13381
13381
|
throw b.url = Ih + "#unexpected-type-in-code-only-importexports-are-supported", b;
|
|
13382
13382
|
}
|
|
13383
|
-
if (
|
|
13383
|
+
if (L.type === "ImportDeclaration" && !l.interrupt) {
|
|
13384
13384
|
let b = -1;
|
|
13385
|
-
for (; ++b <
|
|
13386
|
-
const
|
|
13387
|
-
c.push(
|
|
13385
|
+
for (; ++b < L.specifiers.length; ) {
|
|
13386
|
+
const R = L.specifiers[b];
|
|
13387
|
+
c.push(R.local.name);
|
|
13388
13388
|
}
|
|
13389
13389
|
}
|
|
13390
13390
|
}
|
|
@@ -13554,28 +13554,28 @@ function nx(e) {
|
|
|
13554
13554
|
return o;
|
|
13555
13555
|
function o(I) {
|
|
13556
13556
|
if (n < r.length) {
|
|
13557
|
-
const
|
|
13558
|
-
return t.containerState =
|
|
13557
|
+
const B = r[n];
|
|
13558
|
+
return t.containerState = B[1], e.attempt(B[0].continuation, l, c)(I);
|
|
13559
13559
|
}
|
|
13560
13560
|
return c(I);
|
|
13561
13561
|
}
|
|
13562
13562
|
function l(I) {
|
|
13563
13563
|
if (n++, t.containerState._closeFlow) {
|
|
13564
13564
|
t.containerState._closeFlow = void 0, i && C();
|
|
13565
|
-
const
|
|
13566
|
-
let
|
|
13567
|
-
for (;
|
|
13568
|
-
if (t.events[
|
|
13569
|
-
b = t.events[
|
|
13565
|
+
const B = t.events.length;
|
|
13566
|
+
let L = B, b;
|
|
13567
|
+
for (; L--; )
|
|
13568
|
+
if (t.events[L][0] === "exit" && t.events[L][1].type === "chunkFlow") {
|
|
13569
|
+
b = t.events[L][1].end;
|
|
13570
13570
|
break;
|
|
13571
13571
|
}
|
|
13572
13572
|
T(n);
|
|
13573
|
-
let
|
|
13574
|
-
for (;
|
|
13575
|
-
t.events[
|
|
13573
|
+
let R = B;
|
|
13574
|
+
for (; R < t.events.length; )
|
|
13575
|
+
t.events[R][1].end = {
|
|
13576
13576
|
...b
|
|
13577
|
-
},
|
|
13578
|
-
return Er(t.events,
|
|
13577
|
+
}, R++;
|
|
13578
|
+
return Er(t.events, L + 1, 0, t.events.slice(B)), t.events.length = R, c(I);
|
|
13579
13579
|
}
|
|
13580
13580
|
return o(I);
|
|
13581
13581
|
}
|
|
@@ -13619,9 +13619,9 @@ function nx(e) {
|
|
|
13619
13619
|
}
|
|
13620
13620
|
return ye(I) ? (e.consume(I), _(e.exit("chunkFlow")), n = 0, t.interrupt = void 0, o) : (e.consume(I), k);
|
|
13621
13621
|
}
|
|
13622
|
-
function _(I,
|
|
13623
|
-
const
|
|
13624
|
-
if (
|
|
13622
|
+
function _(I, B) {
|
|
13623
|
+
const L = t.sliceStream(I);
|
|
13624
|
+
if (B && L.push(null), I.previous = a, a && (a.next = I), a = I, i.defineSkip(I.start), i.write(L), t.parser.lazy[I.start.line]) {
|
|
13625
13625
|
let b = i.events.length;
|
|
13626
13626
|
for (; b--; )
|
|
13627
13627
|
if (
|
|
@@ -13631,8 +13631,8 @@ function nx(e) {
|
|
|
13631
13631
|
i.events[b][1].end.offset > s)
|
|
13632
13632
|
)
|
|
13633
13633
|
return;
|
|
13634
|
-
const
|
|
13635
|
-
let q =
|
|
13634
|
+
const R = t.events.length;
|
|
13635
|
+
let q = R, W, j;
|
|
13636
13636
|
for (; q--; )
|
|
13637
13637
|
if (t.events[q][0] === "exit" && t.events[q][1].type === "chunkFlow") {
|
|
13638
13638
|
if (W) {
|
|
@@ -13641,18 +13641,18 @@ function nx(e) {
|
|
|
13641
13641
|
}
|
|
13642
13642
|
W = !0;
|
|
13643
13643
|
}
|
|
13644
|
-
for (T(n), b =
|
|
13644
|
+
for (T(n), b = R; b < t.events.length; )
|
|
13645
13645
|
t.events[b][1].end = {
|
|
13646
13646
|
...j
|
|
13647
13647
|
}, b++;
|
|
13648
|
-
Er(t.events, q + 1, 0, t.events.slice(
|
|
13648
|
+
Er(t.events, q + 1, 0, t.events.slice(R)), t.events.length = b;
|
|
13649
13649
|
}
|
|
13650
13650
|
}
|
|
13651
13651
|
function T(I) {
|
|
13652
|
-
let
|
|
13653
|
-
for (;
|
|
13654
|
-
const
|
|
13655
|
-
t.containerState =
|
|
13652
|
+
let B = r.length;
|
|
13653
|
+
for (; B-- > I; ) {
|
|
13654
|
+
const L = r[B];
|
|
13655
|
+
t.containerState = L[1], L[0].exit.call(t, e);
|
|
13656
13656
|
}
|
|
13657
13657
|
r.length = I;
|
|
13658
13658
|
}
|
|
@@ -13855,12 +13855,12 @@ function Ex(e, t, r) {
|
|
|
13855
13855
|
const i = {}, a = [];
|
|
13856
13856
|
let s = [], o = [];
|
|
13857
13857
|
const l = {
|
|
13858
|
-
attempt: L
|
|
13859
|
-
check:
|
|
13858
|
+
attempt: R(L),
|
|
13859
|
+
check: R(b),
|
|
13860
13860
|
consume: C,
|
|
13861
13861
|
enter: I,
|
|
13862
|
-
exit:
|
|
13863
|
-
interrupt:
|
|
13862
|
+
exit: B,
|
|
13863
|
+
interrupt: R(b, {
|
|
13864
13864
|
interrupt: !0
|
|
13865
13865
|
})
|
|
13866
13866
|
}, c = {
|
|
@@ -13929,17 +13929,17 @@ function Ex(e, t, r) {
|
|
|
13929
13929
|
const ue = J || {};
|
|
13930
13930
|
return ue.type = te, ue.start = v(), c.events.push(["enter", ue, c]), o.push(ue), ue;
|
|
13931
13931
|
}
|
|
13932
|
-
function
|
|
13932
|
+
function B(te) {
|
|
13933
13933
|
const J = o.pop();
|
|
13934
13934
|
return J.end = v(), c.events.push(["exit", J, c]), J;
|
|
13935
13935
|
}
|
|
13936
|
-
function
|
|
13936
|
+
function L(te, J) {
|
|
13937
13937
|
q(te, J.from);
|
|
13938
13938
|
}
|
|
13939
13939
|
function b(te, J) {
|
|
13940
13940
|
J.restore();
|
|
13941
13941
|
}
|
|
13942
|
-
function
|
|
13942
|
+
function R(te, J) {
|
|
13943
13943
|
return ue;
|
|
13944
13944
|
function ue(ae, ne, Se) {
|
|
13945
13945
|
let _e, ze, Xe, z;
|
|
@@ -14190,7 +14190,7 @@ function Lx(e) {
|
|
|
14190
14190
|
},
|
|
14191
14191
|
exit: {
|
|
14192
14192
|
atxHeading: l(),
|
|
14193
|
-
atxHeadingSequence:
|
|
14193
|
+
atxHeadingSequence: L,
|
|
14194
14194
|
autolink: l(),
|
|
14195
14195
|
autolinkEmail: St,
|
|
14196
14196
|
autolinkProtocol: It,
|
|
@@ -14210,7 +14210,7 @@ function Lx(e) {
|
|
|
14210
14210
|
codeTextData: j,
|
|
14211
14211
|
data: j,
|
|
14212
14212
|
definition: l(),
|
|
14213
|
-
definitionDestinationString:
|
|
14213
|
+
definitionDestinationString: B,
|
|
14214
14214
|
definitionLabelString: C,
|
|
14215
14215
|
definitionTitleString: I,
|
|
14216
14216
|
emphasis: l(),
|
|
@@ -14234,7 +14234,7 @@ function Lx(e) {
|
|
|
14234
14234
|
resourceTitleString: rt,
|
|
14235
14235
|
resource: Qe,
|
|
14236
14236
|
setextHeading: l(q),
|
|
14237
|
-
setextHeadingLineSequence:
|
|
14237
|
+
setextHeadingLineSequence: R,
|
|
14238
14238
|
setextHeadingText: b,
|
|
14239
14239
|
strong: l(),
|
|
14240
14240
|
thematicBreak: l()
|
|
@@ -14416,11 +14416,11 @@ function Lx(e) {
|
|
|
14416
14416
|
const Z = this.resume(), ee = this.stack[this.stack.length - 1];
|
|
14417
14417
|
ee.title = Z;
|
|
14418
14418
|
}
|
|
14419
|
-
function
|
|
14419
|
+
function B() {
|
|
14420
14420
|
const Z = this.resume(), ee = this.stack[this.stack.length - 1];
|
|
14421
14421
|
ee.url = Z;
|
|
14422
14422
|
}
|
|
14423
|
-
function
|
|
14423
|
+
function L(Z) {
|
|
14424
14424
|
const ee = this.stack[this.stack.length - 1];
|
|
14425
14425
|
if (!ee.depth) {
|
|
14426
14426
|
const P = this.sliceSerialize(Z).length;
|
|
@@ -14430,7 +14430,7 @@ function Lx(e) {
|
|
|
14430
14430
|
function b() {
|
|
14431
14431
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
14432
14432
|
}
|
|
14433
|
-
function
|
|
14433
|
+
function R(Z) {
|
|
14434
14434
|
const ee = this.stack[this.stack.length - 1];
|
|
14435
14435
|
ee.depth = this.sliceSerialize(Z).codePointAt(0) === 61 ? 1 : 2;
|
|
14436
14436
|
}
|
|
@@ -16395,7 +16395,7 @@ function U8(e) {
|
|
|
16395
16395
|
throw new Error(
|
|
16396
16396
|
"Missing `pragma` in classic runtime with `pragmaImportSource`"
|
|
16397
16397
|
);
|
|
16398
|
-
|
|
16398
|
+
L({
|
|
16399
16399
|
type: "ImportDeclaration",
|
|
16400
16400
|
specifiers: [
|
|
16401
16401
|
{
|
|
@@ -16433,19 +16433,19 @@ function U8(e) {
|
|
|
16433
16433
|
/** @type {SimpleLiteral} */
|
|
16434
16434
|
T.source
|
|
16435
16435
|
);
|
|
16436
|
-
T.specifiers = T.specifiers.filter(function(
|
|
16437
|
-
if (
|
|
16436
|
+
T.specifiers = T.specifiers.filter(function(R) {
|
|
16437
|
+
if (R.exported.type === "Identifier" && R.exported.name === "default") {
|
|
16438
16438
|
k && f.fail(
|
|
16439
16439
|
"Unexpected duplicate layout, expected a single layout (previous: " + Br(Cn(k)) + ")",
|
|
16440
16440
|
{
|
|
16441
|
-
ancestors: [h, T,
|
|
16441
|
+
ancestors: [h, T, R],
|
|
16442
16442
|
place: Cn(T),
|
|
16443
16443
|
ruleId: "duplicate-layout",
|
|
16444
16444
|
source: "recma-document"
|
|
16445
16445
|
}
|
|
16446
|
-
), k =
|
|
16446
|
+
), k = R;
|
|
16447
16447
|
const q = [];
|
|
16448
|
-
if (
|
|
16448
|
+
if (R.local.type === "Identifier" && R.local.name === "default")
|
|
16449
16449
|
q.push({
|
|
16450
16450
|
type: "ImportDefaultSpecifier",
|
|
16451
16451
|
local: { type: "Identifier", name: "MDXLayout" }
|
|
@@ -16453,10 +16453,10 @@ function U8(e) {
|
|
|
16453
16453
|
else {
|
|
16454
16454
|
const te = {
|
|
16455
16455
|
type: "ImportSpecifier",
|
|
16456
|
-
imported:
|
|
16456
|
+
imported: R.local,
|
|
16457
16457
|
local: { type: "Identifier", name: "MDXLayout" }
|
|
16458
16458
|
};
|
|
16459
|
-
$n(
|
|
16459
|
+
$n(R.local, te), q.push(te);
|
|
16460
16460
|
}
|
|
16461
16461
|
const W = { type: "Literal", value: b.value };
|
|
16462
16462
|
$n(b, W);
|
|
@@ -16466,11 +16466,11 @@ function U8(e) {
|
|
|
16466
16466
|
attributes: [],
|
|
16467
16467
|
source: W
|
|
16468
16468
|
};
|
|
16469
|
-
return $n(
|
|
16469
|
+
return $n(R, j), L(j), !1;
|
|
16470
16470
|
}
|
|
16471
16471
|
return !0;
|
|
16472
|
-
}), T.specifiers.length > 0 &&
|
|
16473
|
-
} else T.type === "ExportNamedDeclaration" || T.type === "ExportAllDeclaration" ?
|
|
16472
|
+
}), T.specifiers.length > 0 && B(T);
|
|
16473
|
+
} else T.type === "ExportNamedDeclaration" || T.type === "ExportAllDeclaration" ? B(T) : T.type === "ImportDeclaration" ? L(T) : T.type === "ExpressionStatement" && (T.expression.type === "JSXElement" || T.expression.type === "JSXFragment") ? (_ = !0, m.push(
|
|
16474
16474
|
...c(T.expression, n, !!k)
|
|
16475
16475
|
)) : m.push(T);
|
|
16476
16476
|
_ || m.push(
|
|
@@ -16489,12 +16489,12 @@ function U8(e) {
|
|
|
16489
16489
|
* @returns {SpreadElement}
|
|
16490
16490
|
* Node.
|
|
16491
16491
|
*/
|
|
16492
|
-
function(b,
|
|
16492
|
+
function(b, R) {
|
|
16493
16493
|
return {
|
|
16494
16494
|
type: "SpreadElement",
|
|
16495
16495
|
argument: {
|
|
16496
16496
|
type: "Identifier",
|
|
16497
|
-
name: "_exportAll" + (
|
|
16497
|
+
name: "_exportAll" + (R + 1)
|
|
16498
16498
|
}
|
|
16499
16499
|
};
|
|
16500
16500
|
}
|
|
@@ -16523,31 +16523,31 @@ function U8(e) {
|
|
|
16523
16523
|
(r || n === "function-body") && Mi(h, {
|
|
16524
16524
|
enter(b) {
|
|
16525
16525
|
if ((b.type === "ExportAllDeclaration" || b.type === "ExportNamedDeclaration" || b.type === "ImportDeclaration") && b.source) {
|
|
16526
|
-
let
|
|
16526
|
+
let R = b.source.value;
|
|
16527
16527
|
try {
|
|
16528
|
-
new URL(
|
|
16528
|
+
new URL(R);
|
|
16529
16529
|
} catch {
|
|
16530
|
-
(
|
|
16530
|
+
(R.startsWith("/") || R.startsWith("./") || R.startsWith("../")) && (R = new URL(R, r).href);
|
|
16531
16531
|
}
|
|
16532
|
-
const q = { type: "Literal", value:
|
|
16532
|
+
const q = { type: "Literal", value: R };
|
|
16533
16533
|
$n(b.source, q), b.source = q;
|
|
16534
16534
|
return;
|
|
16535
16535
|
}
|
|
16536
16536
|
if (b.type === "ImportExpression") {
|
|
16537
16537
|
I = !0;
|
|
16538
|
-
const
|
|
16538
|
+
const R = {
|
|
16539
16539
|
type: "CallExpression",
|
|
16540
16540
|
callee: { type: "Identifier", name: "_resolveDynamicMdxSpecifier" },
|
|
16541
16541
|
arguments: [b.source],
|
|
16542
16542
|
optional: !1
|
|
16543
16543
|
};
|
|
16544
|
-
b.source =
|
|
16544
|
+
b.source = R;
|
|
16545
16545
|
return;
|
|
16546
16546
|
}
|
|
16547
16547
|
if (b.type === "MemberExpression" && "object" in b && b.object.type === "MetaProperty" && b.property.type === "Identifier" && b.object.meta.name === "import" && b.object.property.name === "meta" && b.property.name === "url") {
|
|
16548
16548
|
C = !0;
|
|
16549
|
-
const
|
|
16550
|
-
$n(b,
|
|
16549
|
+
const R = { type: "Identifier", name: "_importMetaUrl" };
|
|
16550
|
+
$n(b, R), this.replace(R);
|
|
16551
16551
|
}
|
|
16552
16552
|
}
|
|
16553
16553
|
}), I && (r || (C = !0), h.body.push(
|
|
@@ -16555,24 +16555,24 @@ function U8(e) {
|
|
|
16555
16555
|
r ? { type: "Literal", value: r } : { type: "Identifier", name: "_importMetaUrl" }
|
|
16556
16556
|
)
|
|
16557
16557
|
)), C && h.body.unshift(...V8());
|
|
16558
|
-
function
|
|
16558
|
+
function B(b) {
|
|
16559
16559
|
if (b.type === "ExportNamedDeclaration") {
|
|
16560
16560
|
if (b.declaration) {
|
|
16561
|
-
const
|
|
16561
|
+
const R = o1();
|
|
16562
16562
|
Mi(b, {
|
|
16563
16563
|
enter(q) {
|
|
16564
|
-
|
|
16564
|
+
R.enter(q), (q.type === "ArrowFunctionExpression" || q.type === "FunctionDeclaration" || q.type === "FunctionExpression") && (this.skip(), R.exit(q));
|
|
16565
16565
|
},
|
|
16566
|
-
leave:
|
|
16567
|
-
}), g.push(...
|
|
16566
|
+
leave: R.exit
|
|
16567
|
+
}), g.push(...R.scopes[0].defined);
|
|
16568
16568
|
}
|
|
16569
16569
|
for (T of b.specifiers)
|
|
16570
16570
|
T.exported.type === "Identifier" ? g.push(T.exported.name) : (T.exported.value, g.push(T.exported.value));
|
|
16571
16571
|
}
|
|
16572
|
-
|
|
16572
|
+
L(b);
|
|
16573
16573
|
}
|
|
16574
|
-
function
|
|
16575
|
-
let
|
|
16574
|
+
function L(b) {
|
|
16575
|
+
let R, q;
|
|
16576
16576
|
if (n === "function-body")
|
|
16577
16577
|
if (
|
|
16578
16578
|
// Always have a source:
|
|
@@ -16581,7 +16581,7 @@ function U8(e) {
|
|
|
16581
16581
|
) {
|
|
16582
16582
|
b.source;
|
|
16583
16583
|
const W = { type: "ImportExpression", source: b.source };
|
|
16584
|
-
$n(b, W), q = { type: "AwaitExpression", argument: W }, (b.type === "ImportDeclaration" || b.type === "ExportNamedDeclaration") && b.specifiers.length === 0 ?
|
|
16584
|
+
$n(b, W), q = { type: "AwaitExpression", argument: W }, (b.type === "ImportDeclaration" || b.type === "ExportNamedDeclaration") && b.specifiers.length === 0 ? R = { type: "ExpressionStatement", expression: q } : R = {
|
|
16585
16585
|
type: "VariableDeclaration",
|
|
16586
16586
|
kind: "const",
|
|
16587
16587
|
declarations: b.type === "ExportAllDeclaration" ? [
|
|
@@ -16596,7 +16596,7 @@ function U8(e) {
|
|
|
16596
16596
|
] : y0(b.specifiers, q)
|
|
16597
16597
|
};
|
|
16598
16598
|
} else if (b.declaration)
|
|
16599
|
-
|
|
16599
|
+
R = b.declaration;
|
|
16600
16600
|
else {
|
|
16601
16601
|
const W = [];
|
|
16602
16602
|
for (const j of b.specifiers)
|
|
@@ -16605,15 +16605,15 @@ function U8(e) {
|
|
|
16605
16605
|
id: j.exported,
|
|
16606
16606
|
init: j.local
|
|
16607
16607
|
});
|
|
16608
|
-
W.length > 0 && (
|
|
16608
|
+
W.length > 0 && (R = {
|
|
16609
16609
|
type: "VariableDeclaration",
|
|
16610
16610
|
kind: "const",
|
|
16611
16611
|
declarations: W
|
|
16612
16612
|
});
|
|
16613
16613
|
}
|
|
16614
16614
|
else
|
|
16615
|
-
|
|
16616
|
-
|
|
16615
|
+
R = b;
|
|
16616
|
+
R && m.push(R);
|
|
16617
16617
|
}
|
|
16618
16618
|
};
|
|
16619
16619
|
function c(h, f, g) {
|
|
@@ -16973,9 +16973,9 @@ function q8(e) {
|
|
|
16973
16973
|
arguments: [],
|
|
16974
16974
|
optional: !1
|
|
16975
16975
|
})), (Ii(k.node, "MDXContent") || Ii(k.node, "_createMdxContent")) && m.push(Jn(["props", "components"])), f.length > 0 || m.length > 1)
|
|
16976
|
-
for (const
|
|
16977
|
-
f.push({ type: "SpreadElement", argument:
|
|
16978
|
-
let
|
|
16976
|
+
for (const R of m)
|
|
16977
|
+
f.push({ type: "SpreadElement", argument: R });
|
|
16978
|
+
let L = f.length > 0 ? { type: "ObjectExpression", properties: f } : (
|
|
16979
16979
|
// If we’re only getting components from `props.components`,
|
|
16980
16980
|
// make sure it’s defined.
|
|
16981
16981
|
{
|
|
@@ -16987,26 +16987,26 @@ function q8(e) {
|
|
|
16987
16987
|
), b;
|
|
16988
16988
|
if (g.length > 0 && (b = {
|
|
16989
16989
|
type: "ObjectPattern",
|
|
16990
|
-
properties: g.map(function(
|
|
16990
|
+
properties: g.map(function(R) {
|
|
16991
16991
|
return {
|
|
16992
16992
|
type: "Property",
|
|
16993
16993
|
kind: "init",
|
|
16994
16994
|
key: {
|
|
16995
16995
|
type: "Identifier",
|
|
16996
|
-
name:
|
|
16996
|
+
name: R === "MDXLayout" ? "wrapper" : R
|
|
16997
16997
|
},
|
|
16998
|
-
value: { type: "Identifier", name:
|
|
16998
|
+
value: { type: "Identifier", name: R },
|
|
16999
16999
|
method: !1,
|
|
17000
|
-
shorthand:
|
|
17000
|
+
shorthand: R !== "MDXLayout",
|
|
17001
17001
|
computed: !1
|
|
17002
17002
|
};
|
|
17003
17003
|
})
|
|
17004
17004
|
}), k.tags.length > 0 && (v.push({
|
|
17005
17005
|
type: "VariableDeclarator",
|
|
17006
17006
|
id: { type: "Identifier", name: "_components" },
|
|
17007
|
-
init:
|
|
17008
|
-
}),
|
|
17009
|
-
for (const [
|
|
17007
|
+
init: L
|
|
17008
|
+
}), L = { type: "Identifier", name: "_components" }), Ii(k.node, "_createMdxContent"))
|
|
17009
|
+
for (const [R, q] of [
|
|
17010
17010
|
...k.idToInvalidComponentName
|
|
17011
17011
|
].sort(function([W], [j]) {
|
|
17012
17012
|
return W.localeCompare(j);
|
|
@@ -17020,7 +17020,7 @@ function q8(e) {
|
|
|
17020
17020
|
init: {
|
|
17021
17021
|
type: "MemberExpression",
|
|
17022
17022
|
object: { type: "Identifier", name: "_components" },
|
|
17023
|
-
property: { type: "Literal", value:
|
|
17023
|
+
property: { type: "Literal", value: R },
|
|
17024
17024
|
computed: !0,
|
|
17025
17025
|
optional: !1
|
|
17026
17026
|
}
|
|
@@ -17028,7 +17028,7 @@ function q8(e) {
|
|
|
17028
17028
|
b && v.push({
|
|
17029
17029
|
type: "VariableDeclarator",
|
|
17030
17030
|
id: b,
|
|
17031
|
-
init:
|
|
17031
|
+
init: L
|
|
17032
17032
|
}), v.length > 0 && T.push({
|
|
17033
17033
|
type: "VariableDeclaration",
|
|
17034
17034
|
kind: "const",
|
|
@@ -17038,30 +17038,30 @@ function q8(e) {
|
|
|
17038
17038
|
let C;
|
|
17039
17039
|
for (C in k.references)
|
|
17040
17040
|
if (Object.hasOwn(k.references, C)) {
|
|
17041
|
-
const
|
|
17041
|
+
const L = C.split(".");
|
|
17042
17042
|
let b = 0;
|
|
17043
|
-
for (; ++b <
|
|
17044
|
-
const
|
|
17045
|
-
Object.hasOwn(k.references,
|
|
17043
|
+
for (; ++b < L.length; ) {
|
|
17044
|
+
const R = L.slice(0, b).join(".");
|
|
17045
|
+
Object.hasOwn(k.references, R) || (k.references[R] = {
|
|
17046
17046
|
component: !1,
|
|
17047
17047
|
node: k.references[C].node
|
|
17048
17048
|
});
|
|
17049
17049
|
}
|
|
17050
17050
|
}
|
|
17051
17051
|
const I = Object.keys(k.references).sort();
|
|
17052
|
-
let
|
|
17053
|
-
for (; ++
|
|
17054
|
-
const
|
|
17055
|
-
{ type: "Literal", value:
|
|
17052
|
+
let B = -1;
|
|
17053
|
+
for (; ++B < I.length; ) {
|
|
17054
|
+
const L = I[B], b = k.references[L], R = Br(Cn(b.node)), q = [
|
|
17055
|
+
{ type: "Literal", value: L },
|
|
17056
17056
|
{ type: "Literal", value: b.component }
|
|
17057
17057
|
];
|
|
17058
|
-
c = !0, t &&
|
|
17058
|
+
c = !0, t && R && q.push({ type: "Literal", value: R }), T.push({
|
|
17059
17059
|
type: "IfStatement",
|
|
17060
17060
|
test: {
|
|
17061
17061
|
type: "UnaryExpression",
|
|
17062
17062
|
operator: "!",
|
|
17063
17063
|
prefix: !0,
|
|
17064
|
-
argument: Jn(
|
|
17064
|
+
argument: Jn(L.split("."))
|
|
17065
17065
|
},
|
|
17066
17066
|
consequent: {
|
|
17067
17067
|
type: "ExpressionStatement",
|
|
@@ -17342,16 +17342,16 @@ function sy(e, t, r) {
|
|
|
17342
17342
|
g.lastIndex = 0;
|
|
17343
17343
|
let I = g.exec(c.value);
|
|
17344
17344
|
for (; I; ) {
|
|
17345
|
-
const
|
|
17345
|
+
const B = I.index, L = {
|
|
17346
17346
|
index: I.index,
|
|
17347
17347
|
input: I.input,
|
|
17348
17348
|
stack: [...h, c]
|
|
17349
17349
|
};
|
|
17350
|
-
let b = m(...I,
|
|
17351
|
-
if (typeof b == "string" && (b = b.length > 0 ? { type: "text", value: b } : void 0), b === !1 ? g.lastIndex =
|
|
17350
|
+
let b = m(...I, L);
|
|
17351
|
+
if (typeof b == "string" && (b = b.length > 0 ? { type: "text", value: b } : void 0), b === !1 ? g.lastIndex = B + 1 : (v !== B && C.push({
|
|
17352
17352
|
type: "text",
|
|
17353
|
-
value: c.value.slice(v,
|
|
17354
|
-
}), Array.isArray(b) ? C.push(...b) : b && C.push(b), v =
|
|
17353
|
+
value: c.value.slice(v, B)
|
|
17354
|
+
}), Array.isArray(b) ? C.push(...b) : b && C.push(b), v = B + I[0].length, T = !0), !g.global)
|
|
17355
17355
|
break;
|
|
17356
17356
|
I = g.exec(c.value);
|
|
17357
17357
|
}
|
|
@@ -17684,14 +17684,14 @@ function zy(e, t) {
|
|
|
17684
17684
|
const T = [];
|
|
17685
17685
|
for (; ++f < c; ) {
|
|
17686
17686
|
const C = k[f] || "";
|
|
17687
|
-
let I = "",
|
|
17687
|
+
let I = "", B = "";
|
|
17688
17688
|
if (r.alignDelimiters !== !1) {
|
|
17689
|
-
const
|
|
17690
|
-
b === 114 ? I = " ".repeat(
|
|
17689
|
+
const L = l[f] - (_[f] || 0), b = a[f];
|
|
17690
|
+
b === 114 ? I = " ".repeat(L) : b === 99 ? L % 2 ? (I = " ".repeat(L / 2 + 0.5), B = " ".repeat(L / 2 - 0.5)) : (I = " ".repeat(L / 2), B = I) : B = " ".repeat(L);
|
|
17691
17691
|
}
|
|
17692
17692
|
r.delimiterStart !== !1 && !f && T.push("|"), r.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
17693
17693
|
// empty: there will be a closing space.
|
|
17694
|
-
!(r.alignDelimiters === !1 && C === "") && (r.delimiterStart !== !1 || f) && T.push(" "), r.alignDelimiters !== !1 && T.push(I), T.push(C), r.alignDelimiters !== !1 && T.push(
|
|
17694
|
+
!(r.alignDelimiters === !1 && C === "") && (r.delimiterStart !== !1 || f) && T.push(" "), r.alignDelimiters !== !1 && T.push(I), T.push(C), r.alignDelimiters !== !1 && T.push(B), r.padding !== !1 && T.push(" "), (r.delimiterEnd !== !1 || f !== c - 1) && T.push("|");
|
|
17695
17695
|
}
|
|
17696
17696
|
v.push(
|
|
17697
17697
|
r.delimiterEnd === !1 ? T.join("").replace(/ +$/, "") : T.join("")
|
|
@@ -19071,37 +19071,37 @@ function iv(e, t, r) {
|
|
|
19071
19071
|
return n.interrupt = !1, n.parser.lazy[n.now().line] ? r(j) : (e.enter("tableDelimiterRow"), s = !1, Oe(j) ? Be(e, v, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(j) : v(j));
|
|
19072
19072
|
}
|
|
19073
19073
|
function v(j) {
|
|
19074
|
-
return j === 45 || j === 58 ? _(j) : j === 124 ? (s = !0, e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"), k) :
|
|
19074
|
+
return j === 45 || j === 58 ? _(j) : j === 124 ? (s = !0, e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"), k) : L(j);
|
|
19075
19075
|
}
|
|
19076
19076
|
function k(j) {
|
|
19077
19077
|
return Oe(j) ? Be(e, _, "whitespace")(j) : _(j);
|
|
19078
19078
|
}
|
|
19079
19079
|
function _(j) {
|
|
19080
|
-
return j === 58 ? (a += 1, s = !0, e.enter("tableDelimiterMarker"), e.consume(j), e.exit("tableDelimiterMarker"), T) : j === 45 ? (a += 1, T(j)) : j === null || ye(j) ?
|
|
19080
|
+
return j === 58 ? (a += 1, s = !0, e.enter("tableDelimiterMarker"), e.consume(j), e.exit("tableDelimiterMarker"), T) : j === 45 ? (a += 1, T(j)) : j === null || ye(j) ? B(j) : L(j);
|
|
19081
19081
|
}
|
|
19082
19082
|
function T(j) {
|
|
19083
|
-
return j === 45 ? (e.enter("tableDelimiterFiller"), C(j)) :
|
|
19083
|
+
return j === 45 ? (e.enter("tableDelimiterFiller"), C(j)) : L(j);
|
|
19084
19084
|
}
|
|
19085
19085
|
function C(j) {
|
|
19086
19086
|
return j === 45 ? (e.consume(j), C) : j === 58 ? (s = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(j), e.exit("tableDelimiterMarker"), I) : (e.exit("tableDelimiterFiller"), I(j));
|
|
19087
19087
|
}
|
|
19088
19088
|
function I(j) {
|
|
19089
|
-
return Oe(j) ? Be(e,
|
|
19089
|
+
return Oe(j) ? Be(e, B, "whitespace")(j) : B(j);
|
|
19090
19090
|
}
|
|
19091
|
-
function
|
|
19092
|
-
return j === 124 ? v(j) : j === null || ye(j) ? !s || i !== a ?
|
|
19091
|
+
function B(j) {
|
|
19092
|
+
return j === 124 ? v(j) : j === null || ye(j) ? !s || i !== a ? L(j) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(j)) : L(j);
|
|
19093
19093
|
}
|
|
19094
|
-
function
|
|
19094
|
+
function L(j) {
|
|
19095
19095
|
return r(j);
|
|
19096
19096
|
}
|
|
19097
19097
|
function b(j) {
|
|
19098
|
-
return e.enter("tableRow"),
|
|
19098
|
+
return e.enter("tableRow"), R(j);
|
|
19099
19099
|
}
|
|
19100
|
-
function
|
|
19101
|
-
return j === 124 ? (e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"),
|
|
19100
|
+
function R(j) {
|
|
19101
|
+
return j === 124 ? (e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"), R) : j === null || ye(j) ? (e.exit("tableRow"), t(j)) : Oe(j) ? Be(e, R, "whitespace")(j) : (e.enter("data"), q(j));
|
|
19102
19102
|
}
|
|
19103
19103
|
function q(j) {
|
|
19104
|
-
return j === null || j === 124 || $e(j) ? (e.exit("data"),
|
|
19104
|
+
return j === null || j === 124 || $e(j) ? (e.exit("data"), R(j)) : (e.consume(j), j === 92 ? W : q);
|
|
19105
19105
|
}
|
|
19106
19106
|
function W(j) {
|
|
19107
19107
|
return j === 92 || j === 124 ? (e.consume(j), q) : q(j);
|
|
@@ -19406,17 +19406,17 @@ function gv(e, t, r) {
|
|
|
19406
19406
|
function _(C) {
|
|
19407
19407
|
return e.exit("mathFlow"), t(C);
|
|
19408
19408
|
}
|
|
19409
|
-
function T(C, I,
|
|
19410
|
-
let
|
|
19409
|
+
function T(C, I, B) {
|
|
19410
|
+
let L = 0;
|
|
19411
19411
|
return Be(C, b, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
19412
19412
|
function b(W) {
|
|
19413
|
-
return C.enter("mathFlowFence"), C.enter("mathFlowFenceSequence"),
|
|
19413
|
+
return C.enter("mathFlowFence"), C.enter("mathFlowFenceSequence"), R(W);
|
|
19414
19414
|
}
|
|
19415
|
-
function
|
|
19416
|
-
return W === 36 ? (
|
|
19415
|
+
function R(W) {
|
|
19416
|
+
return W === 36 ? (L++, C.consume(W), R) : L < s ? B(W) : (C.exit("mathFlowFenceSequence"), Be(C, q, "whitespace")(W));
|
|
19417
19417
|
}
|
|
19418
19418
|
function q(W) {
|
|
19419
|
-
return W === null || ye(W) ? (C.exit("mathFlowFence"), I(W)) :
|
|
19419
|
+
return W === null || ye(W) ? (C.exit("mathFlowFence"), I(W)) : B(W);
|
|
19420
19420
|
}
|
|
19421
19421
|
}
|
|
19422
19422
|
}
|
|
@@ -23064,7 +23064,7 @@ function x(e, t, r, n, i, a) {
|
|
|
23064
23064
|
replace: n
|
|
23065
23065
|
}, a && n && (ct[e][n] = ct[e][i]);
|
|
23066
23066
|
}
|
|
23067
|
-
var y = "math", ie = "text", S = "main",
|
|
23067
|
+
var y = "math", ie = "text", S = "main", F = "ams", bt = "accent-token", Ee = "bin", or = "close", ra = "inner", Ie = "mathord", At = "op-token", wr = "open", Ou = "punct", H = "rel", Fn = "spacing", G = "textord";
|
|
23068
23068
|
x(y, S, H, "≡", "\\equiv", !0);
|
|
23069
23069
|
x(y, S, H, "≺", "\\prec", !0);
|
|
23070
23070
|
x(y, S, H, "≻", "\\succ", !0);
|
|
@@ -23160,232 +23160,232 @@ x(y, S, H, "↽", "\\leftharpoondown", !0);
|
|
|
23160
23160
|
x(y, S, H, "⇁", "\\rightharpoondown", !0);
|
|
23161
23161
|
x(y, S, H, "↖", "\\nwarrow", !0);
|
|
23162
23162
|
x(y, S, H, "⇌", "\\rightleftharpoons", !0);
|
|
23163
|
-
x(y,
|
|
23164
|
-
x(y,
|
|
23165
|
-
x(y,
|
|
23166
|
-
x(y,
|
|
23167
|
-
x(y,
|
|
23168
|
-
x(y,
|
|
23169
|
-
x(y,
|
|
23170
|
-
x(y,
|
|
23171
|
-
x(y,
|
|
23172
|
-
x(y,
|
|
23173
|
-
x(y,
|
|
23174
|
-
x(y,
|
|
23175
|
-
x(y,
|
|
23176
|
-
x(y,
|
|
23177
|
-
x(y,
|
|
23178
|
-
x(y,
|
|
23179
|
-
x(y,
|
|
23180
|
-
x(y,
|
|
23181
|
-
x(y,
|
|
23182
|
-
x(y,
|
|
23183
|
-
x(y,
|
|
23184
|
-
x(y,
|
|
23185
|
-
x(y,
|
|
23186
|
-
x(y,
|
|
23187
|
-
x(y,
|
|
23188
|
-
x(y,
|
|
23189
|
-
x(y,
|
|
23190
|
-
x(y,
|
|
23191
|
-
x(y,
|
|
23192
|
-
x(y,
|
|
23193
|
-
x(y,
|
|
23194
|
-
x(y,
|
|
23195
|
-
x(y,
|
|
23196
|
-
x(y,
|
|
23197
|
-
x(y,
|
|
23198
|
-
x(y,
|
|
23199
|
-
x(y,
|
|
23200
|
-
x(y,
|
|
23201
|
-
x(y,
|
|
23202
|
-
x(y,
|
|
23203
|
-
x(y,
|
|
23204
|
-
x(y,
|
|
23205
|
-
x(y,
|
|
23206
|
-
x(y,
|
|
23207
|
-
x(y,
|
|
23208
|
-
x(y,
|
|
23209
|
-
x(y,
|
|
23210
|
-
x(y,
|
|
23211
|
-
x(y,
|
|
23212
|
-
x(y,
|
|
23213
|
-
x(y,
|
|
23214
|
-
x(y,
|
|
23215
|
-
x(y,
|
|
23216
|
-
x(y,
|
|
23217
|
-
x(y,
|
|
23218
|
-
x(y,
|
|
23219
|
-
x(y,
|
|
23220
|
-
x(y,
|
|
23221
|
-
x(y,
|
|
23222
|
-
x(y,
|
|
23223
|
-
x(y,
|
|
23224
|
-
x(y,
|
|
23225
|
-
x(y,
|
|
23226
|
-
x(y,
|
|
23227
|
-
x(ie,
|
|
23228
|
-
x(y,
|
|
23229
|
-
x(y,
|
|
23230
|
-
x(y,
|
|
23231
|
-
x(y,
|
|
23232
|
-
x(y,
|
|
23233
|
-
x(y,
|
|
23234
|
-
x(y,
|
|
23235
|
-
x(y,
|
|
23236
|
-
x(y,
|
|
23237
|
-
x(y,
|
|
23238
|
-
x(y,
|
|
23239
|
-
x(y,
|
|
23240
|
-
x(y,
|
|
23241
|
-
x(y,
|
|
23163
|
+
x(y, F, H, "≮", "\\nless", !0);
|
|
23164
|
+
x(y, F, H, "", "\\@nleqslant");
|
|
23165
|
+
x(y, F, H, "", "\\@nleqq");
|
|
23166
|
+
x(y, F, H, "⪇", "\\lneq", !0);
|
|
23167
|
+
x(y, F, H, "≨", "\\lneqq", !0);
|
|
23168
|
+
x(y, F, H, "", "\\@lvertneqq");
|
|
23169
|
+
x(y, F, H, "⋦", "\\lnsim", !0);
|
|
23170
|
+
x(y, F, H, "⪉", "\\lnapprox", !0);
|
|
23171
|
+
x(y, F, H, "⊀", "\\nprec", !0);
|
|
23172
|
+
x(y, F, H, "⋠", "\\npreceq", !0);
|
|
23173
|
+
x(y, F, H, "⋨", "\\precnsim", !0);
|
|
23174
|
+
x(y, F, H, "⪹", "\\precnapprox", !0);
|
|
23175
|
+
x(y, F, H, "≁", "\\nsim", !0);
|
|
23176
|
+
x(y, F, H, "", "\\@nshortmid");
|
|
23177
|
+
x(y, F, H, "∤", "\\nmid", !0);
|
|
23178
|
+
x(y, F, H, "⊬", "\\nvdash", !0);
|
|
23179
|
+
x(y, F, H, "⊭", "\\nvDash", !0);
|
|
23180
|
+
x(y, F, H, "⋪", "\\ntriangleleft");
|
|
23181
|
+
x(y, F, H, "⋬", "\\ntrianglelefteq", !0);
|
|
23182
|
+
x(y, F, H, "⊊", "\\subsetneq", !0);
|
|
23183
|
+
x(y, F, H, "", "\\@varsubsetneq");
|
|
23184
|
+
x(y, F, H, "⫋", "\\subsetneqq", !0);
|
|
23185
|
+
x(y, F, H, "", "\\@varsubsetneqq");
|
|
23186
|
+
x(y, F, H, "≯", "\\ngtr", !0);
|
|
23187
|
+
x(y, F, H, "", "\\@ngeqslant");
|
|
23188
|
+
x(y, F, H, "", "\\@ngeqq");
|
|
23189
|
+
x(y, F, H, "⪈", "\\gneq", !0);
|
|
23190
|
+
x(y, F, H, "≩", "\\gneqq", !0);
|
|
23191
|
+
x(y, F, H, "", "\\@gvertneqq");
|
|
23192
|
+
x(y, F, H, "⋧", "\\gnsim", !0);
|
|
23193
|
+
x(y, F, H, "⪊", "\\gnapprox", !0);
|
|
23194
|
+
x(y, F, H, "⊁", "\\nsucc", !0);
|
|
23195
|
+
x(y, F, H, "⋡", "\\nsucceq", !0);
|
|
23196
|
+
x(y, F, H, "⋩", "\\succnsim", !0);
|
|
23197
|
+
x(y, F, H, "⪺", "\\succnapprox", !0);
|
|
23198
|
+
x(y, F, H, "≆", "\\ncong", !0);
|
|
23199
|
+
x(y, F, H, "", "\\@nshortparallel");
|
|
23200
|
+
x(y, F, H, "∦", "\\nparallel", !0);
|
|
23201
|
+
x(y, F, H, "⊯", "\\nVDash", !0);
|
|
23202
|
+
x(y, F, H, "⋫", "\\ntriangleright");
|
|
23203
|
+
x(y, F, H, "⋭", "\\ntrianglerighteq", !0);
|
|
23204
|
+
x(y, F, H, "", "\\@nsupseteqq");
|
|
23205
|
+
x(y, F, H, "⊋", "\\supsetneq", !0);
|
|
23206
|
+
x(y, F, H, "", "\\@varsupsetneq");
|
|
23207
|
+
x(y, F, H, "⫌", "\\supsetneqq", !0);
|
|
23208
|
+
x(y, F, H, "", "\\@varsupsetneqq");
|
|
23209
|
+
x(y, F, H, "⊮", "\\nVdash", !0);
|
|
23210
|
+
x(y, F, H, "⪵", "\\precneqq", !0);
|
|
23211
|
+
x(y, F, H, "⪶", "\\succneqq", !0);
|
|
23212
|
+
x(y, F, H, "", "\\@nsubseteqq");
|
|
23213
|
+
x(y, F, Ee, "⊴", "\\unlhd");
|
|
23214
|
+
x(y, F, Ee, "⊵", "\\unrhd");
|
|
23215
|
+
x(y, F, H, "↚", "\\nleftarrow", !0);
|
|
23216
|
+
x(y, F, H, "↛", "\\nrightarrow", !0);
|
|
23217
|
+
x(y, F, H, "⇍", "\\nLeftarrow", !0);
|
|
23218
|
+
x(y, F, H, "⇏", "\\nRightarrow", !0);
|
|
23219
|
+
x(y, F, H, "↮", "\\nleftrightarrow", !0);
|
|
23220
|
+
x(y, F, H, "⇎", "\\nLeftrightarrow", !0);
|
|
23221
|
+
x(y, F, H, "△", "\\vartriangle");
|
|
23222
|
+
x(y, F, G, "ℏ", "\\hslash");
|
|
23223
|
+
x(y, F, G, "▽", "\\triangledown");
|
|
23224
|
+
x(y, F, G, "◊", "\\lozenge");
|
|
23225
|
+
x(y, F, G, "Ⓢ", "\\circledS");
|
|
23226
|
+
x(y, F, G, "®", "\\circledR");
|
|
23227
|
+
x(ie, F, G, "®", "\\circledR");
|
|
23228
|
+
x(y, F, G, "∡", "\\measuredangle", !0);
|
|
23229
|
+
x(y, F, G, "∄", "\\nexists");
|
|
23230
|
+
x(y, F, G, "℧", "\\mho");
|
|
23231
|
+
x(y, F, G, "Ⅎ", "\\Finv", !0);
|
|
23232
|
+
x(y, F, G, "⅁", "\\Game", !0);
|
|
23233
|
+
x(y, F, G, "‵", "\\backprime");
|
|
23234
|
+
x(y, F, G, "▲", "\\blacktriangle");
|
|
23235
|
+
x(y, F, G, "▼", "\\blacktriangledown");
|
|
23236
|
+
x(y, F, G, "■", "\\blacksquare");
|
|
23237
|
+
x(y, F, G, "⧫", "\\blacklozenge");
|
|
23238
|
+
x(y, F, G, "★", "\\bigstar");
|
|
23239
|
+
x(y, F, G, "∢", "\\sphericalangle", !0);
|
|
23240
|
+
x(y, F, G, "∁", "\\complement", !0);
|
|
23241
|
+
x(y, F, G, "ð", "\\eth", !0);
|
|
23242
23242
|
x(ie, S, G, "ð", "ð");
|
|
23243
|
-
x(y,
|
|
23244
|
-
x(y,
|
|
23245
|
-
x(y,
|
|
23246
|
-
x(y,
|
|
23247
|
-
x(y,
|
|
23248
|
-
x(y,
|
|
23249
|
-
x(ie,
|
|
23250
|
-
x(y,
|
|
23251
|
-
x(ie,
|
|
23252
|
-
x(y,
|
|
23253
|
-
x(y,
|
|
23254
|
-
x(y,
|
|
23255
|
-
x(y,
|
|
23256
|
-
x(y,
|
|
23257
|
-
x(y,
|
|
23258
|
-
x(y,
|
|
23259
|
-
x(y,
|
|
23260
|
-
x(y,
|
|
23261
|
-
x(y,
|
|
23262
|
-
x(y,
|
|
23263
|
-
x(y,
|
|
23264
|
-
x(y,
|
|
23265
|
-
x(y,
|
|
23266
|
-
x(y,
|
|
23267
|
-
x(y,
|
|
23268
|
-
x(y,
|
|
23269
|
-
x(y,
|
|
23270
|
-
x(y,
|
|
23271
|
-
x(y,
|
|
23272
|
-
x(y,
|
|
23273
|
-
x(y,
|
|
23274
|
-
x(y,
|
|
23275
|
-
x(y,
|
|
23276
|
-
x(y,
|
|
23277
|
-
x(y,
|
|
23278
|
-
x(y,
|
|
23279
|
-
x(y,
|
|
23280
|
-
x(y,
|
|
23281
|
-
x(y,
|
|
23282
|
-
x(y,
|
|
23283
|
-
x(y,
|
|
23284
|
-
x(y,
|
|
23285
|
-
x(y,
|
|
23286
|
-
x(y,
|
|
23287
|
-
x(y,
|
|
23288
|
-
x(y,
|
|
23289
|
-
x(y,
|
|
23290
|
-
x(y,
|
|
23291
|
-
x(y,
|
|
23292
|
-
x(y,
|
|
23293
|
-
x(y,
|
|
23294
|
-
x(y,
|
|
23295
|
-
x(y,
|
|
23296
|
-
x(y,
|
|
23297
|
-
x(y,
|
|
23298
|
-
x(y,
|
|
23299
|
-
x(y,
|
|
23300
|
-
x(y,
|
|
23301
|
-
x(y,
|
|
23302
|
-
x(y,
|
|
23303
|
-
x(y,
|
|
23304
|
-
x(y,
|
|
23305
|
-
x(y,
|
|
23306
|
-
x(y,
|
|
23307
|
-
x(y,
|
|
23308
|
-
x(y,
|
|
23309
|
-
x(y,
|
|
23310
|
-
x(y,
|
|
23311
|
-
x(y,
|
|
23312
|
-
x(y,
|
|
23313
|
-
x(y,
|
|
23314
|
-
x(y,
|
|
23315
|
-
x(y,
|
|
23316
|
-
x(y,
|
|
23317
|
-
x(y,
|
|
23318
|
-
x(y,
|
|
23319
|
-
x(y,
|
|
23320
|
-
x(y,
|
|
23321
|
-
x(y,
|
|
23322
|
-
x(y,
|
|
23323
|
-
x(y,
|
|
23324
|
-
x(y,
|
|
23325
|
-
x(y,
|
|
23326
|
-
x(y,
|
|
23327
|
-
x(y,
|
|
23328
|
-
x(y,
|
|
23329
|
-
x(y,
|
|
23330
|
-
x(y,
|
|
23331
|
-
x(y,
|
|
23243
|
+
x(y, F, G, "╱", "\\diagup");
|
|
23244
|
+
x(y, F, G, "╲", "\\diagdown");
|
|
23245
|
+
x(y, F, G, "□", "\\square");
|
|
23246
|
+
x(y, F, G, "□", "\\Box");
|
|
23247
|
+
x(y, F, G, "◊", "\\Diamond");
|
|
23248
|
+
x(y, F, G, "¥", "\\yen", !0);
|
|
23249
|
+
x(ie, F, G, "¥", "\\yen", !0);
|
|
23250
|
+
x(y, F, G, "✓", "\\checkmark", !0);
|
|
23251
|
+
x(ie, F, G, "✓", "\\checkmark");
|
|
23252
|
+
x(y, F, G, "ℶ", "\\beth", !0);
|
|
23253
|
+
x(y, F, G, "ℸ", "\\daleth", !0);
|
|
23254
|
+
x(y, F, G, "ℷ", "\\gimel", !0);
|
|
23255
|
+
x(y, F, G, "ϝ", "\\digamma", !0);
|
|
23256
|
+
x(y, F, G, "ϰ", "\\varkappa");
|
|
23257
|
+
x(y, F, wr, "┌", "\\@ulcorner", !0);
|
|
23258
|
+
x(y, F, or, "┐", "\\@urcorner", !0);
|
|
23259
|
+
x(y, F, wr, "└", "\\@llcorner", !0);
|
|
23260
|
+
x(y, F, or, "┘", "\\@lrcorner", !0);
|
|
23261
|
+
x(y, F, H, "≦", "\\leqq", !0);
|
|
23262
|
+
x(y, F, H, "⩽", "\\leqslant", !0);
|
|
23263
|
+
x(y, F, H, "⪕", "\\eqslantless", !0);
|
|
23264
|
+
x(y, F, H, "≲", "\\lesssim", !0);
|
|
23265
|
+
x(y, F, H, "⪅", "\\lessapprox", !0);
|
|
23266
|
+
x(y, F, H, "≊", "\\approxeq", !0);
|
|
23267
|
+
x(y, F, Ee, "⋖", "\\lessdot");
|
|
23268
|
+
x(y, F, H, "⋘", "\\lll", !0);
|
|
23269
|
+
x(y, F, H, "≶", "\\lessgtr", !0);
|
|
23270
|
+
x(y, F, H, "⋚", "\\lesseqgtr", !0);
|
|
23271
|
+
x(y, F, H, "⪋", "\\lesseqqgtr", !0);
|
|
23272
|
+
x(y, F, H, "≑", "\\doteqdot");
|
|
23273
|
+
x(y, F, H, "≓", "\\risingdotseq", !0);
|
|
23274
|
+
x(y, F, H, "≒", "\\fallingdotseq", !0);
|
|
23275
|
+
x(y, F, H, "∽", "\\backsim", !0);
|
|
23276
|
+
x(y, F, H, "⋍", "\\backsimeq", !0);
|
|
23277
|
+
x(y, F, H, "⫅", "\\subseteqq", !0);
|
|
23278
|
+
x(y, F, H, "⋐", "\\Subset", !0);
|
|
23279
|
+
x(y, F, H, "⊏", "\\sqsubset", !0);
|
|
23280
|
+
x(y, F, H, "≼", "\\preccurlyeq", !0);
|
|
23281
|
+
x(y, F, H, "⋞", "\\curlyeqprec", !0);
|
|
23282
|
+
x(y, F, H, "≾", "\\precsim", !0);
|
|
23283
|
+
x(y, F, H, "⪷", "\\precapprox", !0);
|
|
23284
|
+
x(y, F, H, "⊲", "\\vartriangleleft");
|
|
23285
|
+
x(y, F, H, "⊴", "\\trianglelefteq");
|
|
23286
|
+
x(y, F, H, "⊨", "\\vDash", !0);
|
|
23287
|
+
x(y, F, H, "⊪", "\\Vvdash", !0);
|
|
23288
|
+
x(y, F, H, "⌣", "\\smallsmile");
|
|
23289
|
+
x(y, F, H, "⌢", "\\smallfrown");
|
|
23290
|
+
x(y, F, H, "≏", "\\bumpeq", !0);
|
|
23291
|
+
x(y, F, H, "≎", "\\Bumpeq", !0);
|
|
23292
|
+
x(y, F, H, "≧", "\\geqq", !0);
|
|
23293
|
+
x(y, F, H, "⩾", "\\geqslant", !0);
|
|
23294
|
+
x(y, F, H, "⪖", "\\eqslantgtr", !0);
|
|
23295
|
+
x(y, F, H, "≳", "\\gtrsim", !0);
|
|
23296
|
+
x(y, F, H, "⪆", "\\gtrapprox", !0);
|
|
23297
|
+
x(y, F, Ee, "⋗", "\\gtrdot");
|
|
23298
|
+
x(y, F, H, "⋙", "\\ggg", !0);
|
|
23299
|
+
x(y, F, H, "≷", "\\gtrless", !0);
|
|
23300
|
+
x(y, F, H, "⋛", "\\gtreqless", !0);
|
|
23301
|
+
x(y, F, H, "⪌", "\\gtreqqless", !0);
|
|
23302
|
+
x(y, F, H, "≖", "\\eqcirc", !0);
|
|
23303
|
+
x(y, F, H, "≗", "\\circeq", !0);
|
|
23304
|
+
x(y, F, H, "≜", "\\triangleq", !0);
|
|
23305
|
+
x(y, F, H, "∼", "\\thicksim");
|
|
23306
|
+
x(y, F, H, "≈", "\\thickapprox");
|
|
23307
|
+
x(y, F, H, "⫆", "\\supseteqq", !0);
|
|
23308
|
+
x(y, F, H, "⋑", "\\Supset", !0);
|
|
23309
|
+
x(y, F, H, "⊐", "\\sqsupset", !0);
|
|
23310
|
+
x(y, F, H, "≽", "\\succcurlyeq", !0);
|
|
23311
|
+
x(y, F, H, "⋟", "\\curlyeqsucc", !0);
|
|
23312
|
+
x(y, F, H, "≿", "\\succsim", !0);
|
|
23313
|
+
x(y, F, H, "⪸", "\\succapprox", !0);
|
|
23314
|
+
x(y, F, H, "⊳", "\\vartriangleright");
|
|
23315
|
+
x(y, F, H, "⊵", "\\trianglerighteq");
|
|
23316
|
+
x(y, F, H, "⊩", "\\Vdash", !0);
|
|
23317
|
+
x(y, F, H, "∣", "\\shortmid");
|
|
23318
|
+
x(y, F, H, "∥", "\\shortparallel");
|
|
23319
|
+
x(y, F, H, "≬", "\\between", !0);
|
|
23320
|
+
x(y, F, H, "⋔", "\\pitchfork", !0);
|
|
23321
|
+
x(y, F, H, "∝", "\\varpropto");
|
|
23322
|
+
x(y, F, H, "◀", "\\blacktriangleleft");
|
|
23323
|
+
x(y, F, H, "∴", "\\therefore", !0);
|
|
23324
|
+
x(y, F, H, "∍", "\\backepsilon");
|
|
23325
|
+
x(y, F, H, "▶", "\\blacktriangleright");
|
|
23326
|
+
x(y, F, H, "∵", "\\because", !0);
|
|
23327
|
+
x(y, F, H, "⋘", "\\llless");
|
|
23328
|
+
x(y, F, H, "⋙", "\\gggtr");
|
|
23329
|
+
x(y, F, Ee, "⊲", "\\lhd");
|
|
23330
|
+
x(y, F, Ee, "⊳", "\\rhd");
|
|
23331
|
+
x(y, F, H, "≂", "\\eqsim", !0);
|
|
23332
23332
|
x(y, S, H, "⋈", "\\Join");
|
|
23333
|
-
x(y,
|
|
23334
|
-
x(y,
|
|
23335
|
-
x(y,
|
|
23336
|
-
x(y,
|
|
23337
|
-
x(y,
|
|
23338
|
-
x(y,
|
|
23339
|
-
x(y,
|
|
23340
|
-
x(y,
|
|
23341
|
-
x(y,
|
|
23342
|
-
x(y,
|
|
23343
|
-
x(y,
|
|
23344
|
-
x(y,
|
|
23345
|
-
x(y,
|
|
23346
|
-
x(y,
|
|
23347
|
-
x(y,
|
|
23348
|
-
x(y,
|
|
23349
|
-
x(y,
|
|
23350
|
-
x(y,
|
|
23351
|
-
x(y,
|
|
23352
|
-
x(y,
|
|
23353
|
-
x(y,
|
|
23354
|
-
x(y,
|
|
23355
|
-
x(y,
|
|
23356
|
-
x(y,
|
|
23357
|
-
x(y,
|
|
23358
|
-
x(y,
|
|
23359
|
-
x(y,
|
|
23360
|
-
x(y,
|
|
23361
|
-
x(y,
|
|
23362
|
-
x(y,
|
|
23363
|
-
x(y,
|
|
23364
|
-
x(y,
|
|
23365
|
-
x(y,
|
|
23366
|
-
x(y,
|
|
23367
|
-
x(y,
|
|
23368
|
-
x(y,
|
|
23369
|
-
x(y,
|
|
23333
|
+
x(y, F, H, "≑", "\\Doteq", !0);
|
|
23334
|
+
x(y, F, Ee, "∔", "\\dotplus", !0);
|
|
23335
|
+
x(y, F, Ee, "∖", "\\smallsetminus");
|
|
23336
|
+
x(y, F, Ee, "⋒", "\\Cap", !0);
|
|
23337
|
+
x(y, F, Ee, "⋓", "\\Cup", !0);
|
|
23338
|
+
x(y, F, Ee, "⩞", "\\doublebarwedge", !0);
|
|
23339
|
+
x(y, F, Ee, "⊟", "\\boxminus", !0);
|
|
23340
|
+
x(y, F, Ee, "⊞", "\\boxplus", !0);
|
|
23341
|
+
x(y, F, Ee, "⋇", "\\divideontimes", !0);
|
|
23342
|
+
x(y, F, Ee, "⋉", "\\ltimes", !0);
|
|
23343
|
+
x(y, F, Ee, "⋊", "\\rtimes", !0);
|
|
23344
|
+
x(y, F, Ee, "⋋", "\\leftthreetimes", !0);
|
|
23345
|
+
x(y, F, Ee, "⋌", "\\rightthreetimes", !0);
|
|
23346
|
+
x(y, F, Ee, "⋏", "\\curlywedge", !0);
|
|
23347
|
+
x(y, F, Ee, "⋎", "\\curlyvee", !0);
|
|
23348
|
+
x(y, F, Ee, "⊝", "\\circleddash", !0);
|
|
23349
|
+
x(y, F, Ee, "⊛", "\\circledast", !0);
|
|
23350
|
+
x(y, F, Ee, "⋅", "\\centerdot");
|
|
23351
|
+
x(y, F, Ee, "⊺", "\\intercal", !0);
|
|
23352
|
+
x(y, F, Ee, "⋒", "\\doublecap");
|
|
23353
|
+
x(y, F, Ee, "⋓", "\\doublecup");
|
|
23354
|
+
x(y, F, Ee, "⊠", "\\boxtimes", !0);
|
|
23355
|
+
x(y, F, H, "⇢", "\\dashrightarrow", !0);
|
|
23356
|
+
x(y, F, H, "⇠", "\\dashleftarrow", !0);
|
|
23357
|
+
x(y, F, H, "⇇", "\\leftleftarrows", !0);
|
|
23358
|
+
x(y, F, H, "⇆", "\\leftrightarrows", !0);
|
|
23359
|
+
x(y, F, H, "⇚", "\\Lleftarrow", !0);
|
|
23360
|
+
x(y, F, H, "↞", "\\twoheadleftarrow", !0);
|
|
23361
|
+
x(y, F, H, "↢", "\\leftarrowtail", !0);
|
|
23362
|
+
x(y, F, H, "↫", "\\looparrowleft", !0);
|
|
23363
|
+
x(y, F, H, "⇋", "\\leftrightharpoons", !0);
|
|
23364
|
+
x(y, F, H, "↶", "\\curvearrowleft", !0);
|
|
23365
|
+
x(y, F, H, "↺", "\\circlearrowleft", !0);
|
|
23366
|
+
x(y, F, H, "↰", "\\Lsh", !0);
|
|
23367
|
+
x(y, F, H, "⇈", "\\upuparrows", !0);
|
|
23368
|
+
x(y, F, H, "↿", "\\upharpoonleft", !0);
|
|
23369
|
+
x(y, F, H, "⇃", "\\downharpoonleft", !0);
|
|
23370
23370
|
x(y, S, H, "⊶", "\\origof", !0);
|
|
23371
23371
|
x(y, S, H, "⊷", "\\imageof", !0);
|
|
23372
|
-
x(y,
|
|
23373
|
-
x(y,
|
|
23374
|
-
x(y,
|
|
23375
|
-
x(y,
|
|
23376
|
-
x(y,
|
|
23377
|
-
x(y,
|
|
23378
|
-
x(y,
|
|
23379
|
-
x(y,
|
|
23380
|
-
x(y,
|
|
23381
|
-
x(y,
|
|
23382
|
-
x(y,
|
|
23383
|
-
x(y,
|
|
23384
|
-
x(y,
|
|
23385
|
-
x(y,
|
|
23386
|
-
x(y,
|
|
23387
|
-
x(y,
|
|
23388
|
-
x(y,
|
|
23372
|
+
x(y, F, H, "⊸", "\\multimap", !0);
|
|
23373
|
+
x(y, F, H, "↭", "\\leftrightsquigarrow", !0);
|
|
23374
|
+
x(y, F, H, "⇉", "\\rightrightarrows", !0);
|
|
23375
|
+
x(y, F, H, "⇄", "\\rightleftarrows", !0);
|
|
23376
|
+
x(y, F, H, "↠", "\\twoheadrightarrow", !0);
|
|
23377
|
+
x(y, F, H, "↣", "\\rightarrowtail", !0);
|
|
23378
|
+
x(y, F, H, "↬", "\\looparrowright", !0);
|
|
23379
|
+
x(y, F, H, "↷", "\\curvearrowright", !0);
|
|
23380
|
+
x(y, F, H, "↻", "\\circlearrowright", !0);
|
|
23381
|
+
x(y, F, H, "↱", "\\Rsh", !0);
|
|
23382
|
+
x(y, F, H, "⇊", "\\downdownarrows", !0);
|
|
23383
|
+
x(y, F, H, "↾", "\\upharpoonright", !0);
|
|
23384
|
+
x(y, F, H, "⇂", "\\downharpoonright", !0);
|
|
23385
|
+
x(y, F, H, "⇝", "\\rightsquigarrow", !0);
|
|
23386
|
+
x(y, F, H, "⇝", "\\leadsto");
|
|
23387
|
+
x(y, F, H, "⇛", "\\Rrightarrow", !0);
|
|
23388
|
+
x(y, F, H, "↾", "\\restriction");
|
|
23389
23389
|
x(y, S, G, "‘", "`");
|
|
23390
23390
|
x(y, S, G, "$", "\\$");
|
|
23391
23391
|
x(ie, S, G, "$", "\\$");
|
|
@@ -23428,7 +23428,7 @@ x(y, S, G, "¬", "\\lnot");
|
|
|
23428
23428
|
x(y, S, G, "⊤", "\\top");
|
|
23429
23429
|
x(y, S, G, "⊥", "\\bot");
|
|
23430
23430
|
x(y, S, G, "∅", "\\emptyset");
|
|
23431
|
-
x(y,
|
|
23431
|
+
x(y, F, G, "∅", "\\varnothing");
|
|
23432
23432
|
x(y, S, Ie, "α", "\\alpha", !0);
|
|
23433
23433
|
x(y, S, Ie, "β", "\\beta", !0);
|
|
23434
23434
|
x(y, S, Ie, "γ", "\\gamma", !0);
|
|
@@ -23497,8 +23497,8 @@ x(y, S, H, "⊂", "\\subset", !0);
|
|
|
23497
23497
|
x(y, S, H, "⊃", "\\supset", !0);
|
|
23498
23498
|
x(y, S, H, "⊆", "\\subseteq", !0);
|
|
23499
23499
|
x(y, S, H, "⊇", "\\supseteq", !0);
|
|
23500
|
-
x(y,
|
|
23501
|
-
x(y,
|
|
23500
|
+
x(y, F, H, "⊈", "\\nsubseteq", !0);
|
|
23501
|
+
x(y, F, H, "⊉", "\\nsupseteq", !0);
|
|
23502
23502
|
x(y, S, H, "⊨", "\\models");
|
|
23503
23503
|
x(y, S, H, "←", "\\leftarrow", !0);
|
|
23504
23504
|
x(y, S, H, "≤", "\\le");
|
|
@@ -23506,8 +23506,8 @@ x(y, S, H, "≤", "\\leq", !0);
|
|
|
23506
23506
|
x(y, S, H, "<", "\\lt", !0);
|
|
23507
23507
|
x(y, S, H, "→", "\\rightarrow", !0);
|
|
23508
23508
|
x(y, S, H, "→", "\\to");
|
|
23509
|
-
x(y,
|
|
23510
|
-
x(y,
|
|
23509
|
+
x(y, F, H, "≱", "\\ngeq", !0);
|
|
23510
|
+
x(y, F, H, "≰", "\\nleq", !0);
|
|
23511
23511
|
x(y, S, Fn, " ", "\\ ");
|
|
23512
23512
|
x(y, S, Fn, " ", "\\space");
|
|
23513
23513
|
x(y, S, Fn, " ", "\\nobreakspace");
|
|
@@ -23519,15 +23519,15 @@ x(y, S, Fn, null, "\\nobreak");
|
|
|
23519
23519
|
x(y, S, Fn, null, "\\allowbreak");
|
|
23520
23520
|
x(y, S, Ou, ",", ",");
|
|
23521
23521
|
x(y, S, Ou, ";", ";");
|
|
23522
|
-
x(y,
|
|
23523
|
-
x(y,
|
|
23522
|
+
x(y, F, Ee, "⊼", "\\barwedge", !0);
|
|
23523
|
+
x(y, F, Ee, "⊻", "\\veebar", !0);
|
|
23524
23524
|
x(y, S, Ee, "⊙", "\\odot", !0);
|
|
23525
23525
|
x(y, S, Ee, "⊕", "\\oplus", !0);
|
|
23526
23526
|
x(y, S, Ee, "⊗", "\\otimes", !0);
|
|
23527
23527
|
x(y, S, G, "∂", "\\partial", !0);
|
|
23528
23528
|
x(y, S, Ee, "⊘", "\\oslash", !0);
|
|
23529
|
-
x(y,
|
|
23530
|
-
x(y,
|
|
23529
|
+
x(y, F, Ee, "⊚", "\\circledcirc", !0);
|
|
23530
|
+
x(y, F, Ee, "⊡", "\\boxdot", !0);
|
|
23531
23531
|
x(y, S, Ee, "△", "\\bigtriangleup");
|
|
23532
23532
|
x(y, S, Ee, "▽", "\\bigtriangledown");
|
|
23533
23533
|
x(y, S, Ee, "†", "\\dagger");
|
|
@@ -23661,8 +23661,8 @@ x(y, S, G, "£", "\\pounds");
|
|
|
23661
23661
|
x(y, S, G, "£", "\\mathsterling", !0);
|
|
23662
23662
|
x(ie, S, G, "£", "\\pounds");
|
|
23663
23663
|
x(ie, S, G, "£", "\\textsterling", !0);
|
|
23664
|
-
x(y,
|
|
23665
|
-
x(ie,
|
|
23664
|
+
x(y, F, G, "✠", "\\maltese");
|
|
23665
|
+
x(ie, F, G, "✠", "\\maltese");
|
|
23666
23666
|
var lf = '0123456789/@."';
|
|
23667
23667
|
for (var Ro = 0; Ro < lf.length; Ro++) {
|
|
23668
23668
|
var cf = lf.charAt(Ro);
|
|
@@ -23678,20 +23678,20 @@ for (var Do = 0; Do < nu.length; Do++) {
|
|
|
23678
23678
|
var Ss = nu.charAt(Do);
|
|
23679
23679
|
x(y, S, Ie, Ss, Ss), x(ie, S, G, Ss, Ss);
|
|
23680
23680
|
}
|
|
23681
|
-
x(y,
|
|
23682
|
-
x(ie,
|
|
23683
|
-
x(y,
|
|
23684
|
-
x(ie,
|
|
23685
|
-
x(y,
|
|
23686
|
-
x(ie,
|
|
23687
|
-
x(y,
|
|
23688
|
-
x(ie,
|
|
23689
|
-
x(y,
|
|
23690
|
-
x(ie,
|
|
23691
|
-
x(y,
|
|
23692
|
-
x(ie,
|
|
23693
|
-
x(y,
|
|
23694
|
-
x(ie,
|
|
23681
|
+
x(y, F, G, "C", "ℂ");
|
|
23682
|
+
x(ie, F, G, "C", "ℂ");
|
|
23683
|
+
x(y, F, G, "H", "ℍ");
|
|
23684
|
+
x(ie, F, G, "H", "ℍ");
|
|
23685
|
+
x(y, F, G, "N", "ℕ");
|
|
23686
|
+
x(ie, F, G, "N", "ℕ");
|
|
23687
|
+
x(y, F, G, "P", "ℙ");
|
|
23688
|
+
x(ie, F, G, "P", "ℙ");
|
|
23689
|
+
x(y, F, G, "Q", "ℚ");
|
|
23690
|
+
x(ie, F, G, "Q", "ℚ");
|
|
23691
|
+
x(y, F, G, "R", "ℝ");
|
|
23692
|
+
x(ie, F, G, "R", "ℝ");
|
|
23693
|
+
x(y, F, G, "Z", "ℤ");
|
|
23694
|
+
x(ie, F, G, "Z", "ℤ");
|
|
23695
23695
|
x(y, S, Ie, "h", "ℎ");
|
|
23696
23696
|
x(ie, S, Ie, "h", "ℎ");
|
|
23697
23697
|
var Le = "";
|
|
@@ -23960,18 +23960,18 @@ var Cs = [
|
|
|
23960
23960
|
}
|
|
23961
23961
|
f = Math.min(f, m), g = Math.max(g, m);
|
|
23962
23962
|
}
|
|
23963
|
-
var
|
|
23964
|
-
|
|
23965
|
-
var
|
|
23963
|
+
var B = pr(["vlist"], h);
|
|
23964
|
+
B.style.height = me(g);
|
|
23965
|
+
var L;
|
|
23966
23966
|
if (f < 0) {
|
|
23967
|
-
var b = pr([], []),
|
|
23968
|
-
|
|
23967
|
+
var b = pr([], []), R = pr(["vlist"], [b]);
|
|
23968
|
+
R.style.height = me(-f);
|
|
23969
23969
|
var q = pr(["vlist-s"], [new zr("")]);
|
|
23970
|
-
|
|
23970
|
+
L = [pr(["vlist-r"], [B, q]), pr(["vlist-r"], [R])];
|
|
23971
23971
|
} else
|
|
23972
|
-
|
|
23973
|
-
var W = pr(["vlist-t"],
|
|
23974
|
-
return
|
|
23972
|
+
L = [pr(["vlist-r"], [B])];
|
|
23973
|
+
var W = pr(["vlist-t"], L);
|
|
23974
|
+
return L.length === 2 && W.classes.push("vlist-t2"), W.height = g, W.depth = -f, W;
|
|
23975
23975
|
}, m9 = (e, t) => {
|
|
23976
23976
|
var r = pr(["mspace"], [], t), n = yt(e, t);
|
|
23977
23977
|
return r.style.marginRight = me(n), r;
|
|
@@ -24700,35 +24700,35 @@ var X1 = function(t) {
|
|
|
24700
24700
|
height: m
|
|
24701
24701
|
};
|
|
24702
24702
|
} else {
|
|
24703
|
-
var T = [], C = I9[l], [I,
|
|
24704
|
-
if (
|
|
24703
|
+
var T = [], C = I9[l], [I, B, L] = C, b = L / 1e3, R = I.length, q, W;
|
|
24704
|
+
if (R === 1) {
|
|
24705
24705
|
var j = C[3];
|
|
24706
24706
|
q = ["hide-tail"], W = [j];
|
|
24707
|
-
} else if (
|
|
24707
|
+
} else if (R === 2)
|
|
24708
24708
|
q = ["halfarrow-left", "halfarrow-right"], W = ["xMinYMin", "xMaxYMin"];
|
|
24709
|
-
else if (
|
|
24709
|
+
else if (R === 3)
|
|
24710
24710
|
q = ["brace-left", "brace-center", "brace-right"], W = ["xMinYMin", "xMidYMin", "xMaxYMin"];
|
|
24711
24711
|
else
|
|
24712
24712
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
24713
|
-
` +
|
|
24714
|
-
for (var te = 0; te <
|
|
24713
|
+
` + R + " children.");
|
|
24714
|
+
for (var te = 0; te < R; te++) {
|
|
24715
24715
|
var J = new ei(I[te]), ue = new Rn([J], {
|
|
24716
24716
|
width: "400em",
|
|
24717
24717
|
height: me(b),
|
|
24718
|
-
viewBox: "0 0 " + o + " " +
|
|
24718
|
+
viewBox: "0 0 " + o + " " + L,
|
|
24719
24719
|
preserveAspectRatio: W[te] + " slice"
|
|
24720
24720
|
}), ae = X.makeSvgSpan([q[te]], [ue], r);
|
|
24721
|
-
if (
|
|
24721
|
+
if (R === 1)
|
|
24722
24722
|
return {
|
|
24723
24723
|
span: ae,
|
|
24724
|
-
minWidth:
|
|
24724
|
+
minWidth: B,
|
|
24725
24725
|
height: b
|
|
24726
24726
|
};
|
|
24727
24727
|
ae.style.height = me(b), T.push(ae);
|
|
24728
24728
|
}
|
|
24729
24729
|
return {
|
|
24730
24730
|
span: X.makeSpan(["stretchy"], T, r),
|
|
24731
|
-
minWidth:
|
|
24731
|
+
minWidth: B,
|
|
24732
24732
|
height: b
|
|
24733
24733
|
};
|
|
24734
24734
|
}
|
|
@@ -25643,12 +25643,12 @@ var Ta = function(t, r, n) {
|
|
|
25643
25643
|
o = c = h = t, l = null;
|
|
25644
25644
|
var m = "Size1-Regular";
|
|
25645
25645
|
t === "\\uparrow" ? c = h = "⏐" : t === "\\Uparrow" ? c = h = "‖" : t === "\\downarrow" ? o = c = "⏐" : t === "\\Downarrow" ? o = c = "‖" : t === "\\updownarrow" ? (o = "\\uparrow", c = "⏐", h = "\\downarrow") : t === "\\Updownarrow" ? (o = "\\Uparrow", c = "‖", h = "\\Downarrow") : V9.includes(t) ? (c = "∣", f = "vert", g = 333) : q9.includes(t) ? (c = "∥", f = "doublevert", g = 556) : t === "[" || t === "\\lbrack" ? (o = "⎡", c = "⎢", h = "⎣", m = "Size4-Regular", f = "lbrack", g = 667) : t === "]" || t === "\\rbrack" ? (o = "⎤", c = "⎥", h = "⎦", m = "Size4-Regular", f = "rbrack", g = 667) : t === "\\lfloor" || t === "⌊" ? (c = o = "⎢", h = "⎣", m = "Size4-Regular", f = "lfloor", g = 667) : t === "\\lceil" || t === "⌈" ? (o = "⎡", c = h = "⎢", m = "Size4-Regular", f = "lceil", g = 667) : t === "\\rfloor" || t === "⌋" ? (c = o = "⎥", h = "⎦", m = "Size4-Regular", f = "rfloor", g = 667) : t === "\\rceil" || t === "⌉" ? (o = "⎤", c = h = "⎥", m = "Size4-Regular", f = "rceil", g = 667) : t === "(" || t === "\\lparen" ? (o = "⎛", c = "⎜", h = "⎝", m = "Size4-Regular", f = "lparen", g = 875) : t === ")" || t === "\\rparen" ? (o = "⎞", c = "⎟", h = "⎠", m = "Size4-Regular", f = "rparen", g = 875) : t === "\\{" || t === "\\lbrace" ? (o = "⎧", l = "⎨", h = "⎩", c = "⎪", m = "Size4-Regular") : t === "\\}" || t === "\\rbrace" ? (o = "⎫", l = "⎬", h = "⎭", c = "⎪", m = "Size4-Regular") : t === "\\lgroup" || t === "⟮" ? (o = "⎧", h = "⎩", c = "⎪", m = "Size4-Regular") : t === "\\rgroup" || t === "⟯" ? (o = "⎫", h = "⎭", c = "⎪", m = "Size4-Regular") : t === "\\lmoustache" || t === "⎰" ? (o = "⎧", h = "⎭", c = "⎪", m = "Size4-Regular") : (t === "\\rmoustache" || t === "⎱") && (o = "⎫", h = "⎩", c = "⎪", m = "Size4-Regular");
|
|
25646
|
-
var v = Ta(o, m, a), k = v.height + v.depth, _ = Ta(c, m, a), T = _.height + _.depth, C = Ta(h, m, a), I = C.height + C.depth,
|
|
25646
|
+
var v = Ta(o, m, a), k = v.height + v.depth, _ = Ta(c, m, a), T = _.height + _.depth, C = Ta(h, m, a), I = C.height + C.depth, B = 0, L = 1;
|
|
25647
25647
|
if (l !== null) {
|
|
25648
25648
|
var b = Ta(l, m, a);
|
|
25649
|
-
|
|
25649
|
+
B = b.height + b.depth, L = 2;
|
|
25650
25650
|
}
|
|
25651
|
-
var
|
|
25651
|
+
var R = k + I + B, q = Math.max(0, Math.ceil((r - R) / (L * T))), W = R + q * L * T, j = i.fontMetrics().axisHeight;
|
|
25652
25652
|
n && (j *= i.sizeMultiplier);
|
|
25653
25653
|
var te = W / 2 - j, J = [];
|
|
25654
25654
|
if (f.length > 0) {
|
|
@@ -25666,7 +25666,7 @@ var Ta = function(t, r, n) {
|
|
|
25666
25666
|
var rt = W - k - I + 2 * Sl;
|
|
25667
25667
|
J.push(Fo(c, rt, i));
|
|
25668
25668
|
} else {
|
|
25669
|
-
var Qe = (W - k - I -
|
|
25669
|
+
var Qe = (W - k - I - B) / 2 + 2 * Sl;
|
|
25670
25670
|
J.push(Fo(c, Qe, i)), J.push(Ls), J.push(Bo(l, m, a)), J.push(Ls), J.push(Fo(c, Qe, i));
|
|
25671
25671
|
}
|
|
25672
25672
|
J.push(Ls), J.push(Bo(o, m, a));
|
|
@@ -26304,21 +26304,21 @@ function ai(e, t, r) {
|
|
|
26304
26304
|
function I() {
|
|
26305
26305
|
l && e.gullet.macros.set("\\@eqnsw", "1", !0);
|
|
26306
26306
|
}
|
|
26307
|
-
function
|
|
26307
|
+
function B() {
|
|
26308
26308
|
C && (e.gullet.macros.get("\\df@tag") ? (C.push(e.subparse([new Tr("\\df@tag")])), e.gullet.macros.set("\\df@tag", void 0, !0)) : C.push(!!l && e.gullet.macros.get("\\@eqnsw") === "1"));
|
|
26309
26309
|
}
|
|
26310
26310
|
for (I(), T.push(vf(e)); ; ) {
|
|
26311
|
-
var
|
|
26312
|
-
e.gullet.endGroup(), e.gullet.beginGroup(),
|
|
26311
|
+
var L = e.parseExpression(!1, c ? "\\end" : "\\\\");
|
|
26312
|
+
e.gullet.endGroup(), e.gullet.beginGroup(), L = {
|
|
26313
26313
|
type: "ordgroup",
|
|
26314
26314
|
mode: e.mode,
|
|
26315
|
-
body:
|
|
26316
|
-
}, r && (
|
|
26315
|
+
body: L
|
|
26316
|
+
}, r && (L = {
|
|
26317
26317
|
type: "styling",
|
|
26318
26318
|
mode: e.mode,
|
|
26319
26319
|
style: r,
|
|
26320
|
-
body: [
|
|
26321
|
-
}), v.push(
|
|
26320
|
+
body: [L]
|
|
26321
|
+
}), v.push(L);
|
|
26322
26322
|
var b = e.fetch().text;
|
|
26323
26323
|
if (b === "&") {
|
|
26324
26324
|
if (f && v.length === f) {
|
|
@@ -26328,12 +26328,12 @@ function ai(e, t, r) {
|
|
|
26328
26328
|
}
|
|
26329
26329
|
e.consume();
|
|
26330
26330
|
} else if (b === "\\end") {
|
|
26331
|
-
|
|
26331
|
+
B(), v.length === 1 && L.type === "styling" && L.body[0].body.length === 0 && (k.length > 1 || !h) && k.pop(), T.length < k.length + 1 && T.push([]);
|
|
26332
26332
|
break;
|
|
26333
26333
|
} else if (b === "\\\\") {
|
|
26334
26334
|
e.consume();
|
|
26335
|
-
var
|
|
26336
|
-
e.gullet.future().text !== " " && (
|
|
26335
|
+
var R = void 0;
|
|
26336
|
+
e.gullet.future().text !== " " && (R = e.parseSizeGroup(!0)), _.push(R ? R.value : null), B(), T.push(vf(e)), v = [], k.push(v), I();
|
|
26337
26337
|
} else
|
|
26338
26338
|
throw new he("Expected & or \\\\ or \\cr or \\end", e.nextToken);
|
|
26339
26339
|
}
|
|
@@ -26370,23 +26370,23 @@ var yn = function(t, r) {
|
|
|
26370
26370
|
number: 3,
|
|
26371
26371
|
unit: "ex"
|
|
26372
26372
|
}, r) : 12 * f, k = 3 * f, _ = t.arraystretch * v, T = 0.7 * _, C = 0.3 * _, I = 0;
|
|
26373
|
-
function
|
|
26373
|
+
function B(er) {
|
|
26374
26374
|
for (var lr = 0; lr < er.length; ++lr)
|
|
26375
26375
|
lr > 0 && (I += 0.25), c.push({
|
|
26376
26376
|
pos: I,
|
|
26377
26377
|
isDashed: er[lr]
|
|
26378
26378
|
});
|
|
26379
26379
|
}
|
|
26380
|
-
for (
|
|
26381
|
-
var
|
|
26382
|
-
o <
|
|
26383
|
-
var q = new Array(
|
|
26384
|
-
for (i = 0; i <
|
|
26385
|
-
var W = Ye(
|
|
26386
|
-
|
|
26380
|
+
for (B(s[0]), n = 0; n < t.body.length; ++n) {
|
|
26381
|
+
var L = t.body[n], b = T, R = C;
|
|
26382
|
+
o < L.length && (o = L.length);
|
|
26383
|
+
var q = new Array(L.length);
|
|
26384
|
+
for (i = 0; i < L.length; ++i) {
|
|
26385
|
+
var W = Ye(L[i], r);
|
|
26386
|
+
R < W.depth && (R = W.depth), b < W.height && (b = W.height), q[i] = W;
|
|
26387
26387
|
}
|
|
26388
26388
|
var j = t.rowGaps[n], te = 0;
|
|
26389
|
-
j && (te = yt(j, r), te > 0 && (te += C,
|
|
26389
|
+
j && (te = yt(j, r), te > 0 && (te += C, R < te && (R = te), te = 0)), t.addJot && (R += k), q.height = b, q.depth = R, I += b, q.pos = I, I += R + te, l[n] = q, B(s[n + 1]);
|
|
26390
26390
|
}
|
|
26391
26391
|
var J = I / 2 + r.fontMetrics().axisHeight, ue = t.cols || [], ae = [], ne, Se, _e = [];
|
|
26392
26392
|
if (t.tags && t.tags.some((er) => er))
|
|
@@ -26486,15 +26486,15 @@ var yn = function(t, r) {
|
|
|
26486
26486
|
h.setAttribute("columnalign", m.trim()), /[sd]/.test(k) && h.setAttribute("columnlines", k.trim());
|
|
26487
26487
|
}
|
|
26488
26488
|
if (t.colSeparationType === "align") {
|
|
26489
|
-
for (var
|
|
26490
|
-
|
|
26491
|
-
h.setAttribute("columnspacing",
|
|
26489
|
+
for (var B = t.cols || [], L = "", b = 1; b < B.length; b++)
|
|
26490
|
+
L += b % 2 ? "0em " : "1em ";
|
|
26491
|
+
h.setAttribute("columnspacing", L.trim());
|
|
26492
26492
|
} else t.colSeparationType === "alignat" || t.colSeparationType === "gather" ? h.setAttribute("columnspacing", "0em") : t.colSeparationType === "small" ? h.setAttribute("columnspacing", "0.2778em") : t.colSeparationType === "CD" ? h.setAttribute("columnspacing", "0.5em") : h.setAttribute("columnspacing", "1em");
|
|
26493
|
-
var
|
|
26493
|
+
var R = "", q = t.hLinesBeforeRow;
|
|
26494
26494
|
g += q[0].length > 0 ? "left " : "", g += q[q.length - 1].length > 0 ? "right " : "";
|
|
26495
26495
|
for (var W = 1; W < q.length - 1; W++)
|
|
26496
|
-
|
|
26497
|
-
return /[sd]/.test(
|
|
26496
|
+
R += q[W].length === 0 ? "none " : q[W][0] ? "dashed " : "solid ";
|
|
26497
|
+
return /[sd]/.test(R) && h.setAttribute("rowlines", R.trim()), g !== "" && (h = new le.MathNode("menclose", [h]), h.setAttribute("notation", g.trim())), t.arraystretch && t.arraystretch < 1 && (h = new le.MathNode("mstyle", [h]), h.setAttribute("scriptlevel", "1")), h;
|
|
26498
26498
|
}, dm = function(t, r) {
|
|
26499
26499
|
t.envName.indexOf("ed") === -1 && Uu(t);
|
|
26500
26500
|
var n = [], i = t.envName.indexOf("at") > -1 ? "alignat" : "align", a = t.envName === "split", s = ai(t.parser, {
|
|
@@ -26520,15 +26520,15 @@ var yn = function(t, r) {
|
|
|
26520
26520
|
var m = !l;
|
|
26521
26521
|
s.body.forEach(function(T) {
|
|
26522
26522
|
for (var C = 1; C < T.length; C += 2) {
|
|
26523
|
-
var I = Fe(T[C], "styling"),
|
|
26524
|
-
|
|
26523
|
+
var I = Fe(T[C], "styling"), B = Fe(I.body[0], "ordgroup");
|
|
26524
|
+
B.body.unshift(c);
|
|
26525
26525
|
}
|
|
26526
26526
|
if (m)
|
|
26527
26527
|
l < T.length && (l = T.length);
|
|
26528
26528
|
else {
|
|
26529
|
-
var
|
|
26530
|
-
if (o <
|
|
26531
|
-
throw new he("Too many math in a row: " + ("expected " + o + ", but got " +
|
|
26529
|
+
var L = T.length / 2;
|
|
26530
|
+
if (o < L)
|
|
26531
|
+
throw new he("Too many math in a row: " + ("expected " + o + ", but got " + L), T[0]);
|
|
26532
26532
|
}
|
|
26533
26533
|
});
|
|
26534
26534
|
for (var v = 0; v < l; ++v) {
|
|
@@ -27001,10 +27001,10 @@ var bm = (e, t) => {
|
|
|
27001
27001
|
}, t);
|
|
27002
27002
|
}
|
|
27003
27003
|
a = t.havingStyle(r), _.height *= a.sizeMultiplier / t.sizeMultiplier, _.depth *= a.sizeMultiplier / t.sizeMultiplier;
|
|
27004
|
-
var
|
|
27005
|
-
r.size === Ne.DISPLAY.size ?
|
|
27006
|
-
var
|
|
27007
|
-
return e.leftDelim == null ?
|
|
27004
|
+
var B;
|
|
27005
|
+
r.size === Ne.DISPLAY.size ? B = t.fontMetrics().delim1 : r.size === Ne.SCRIPTSCRIPT.size ? B = t.havingStyle(Ne.SCRIPT).fontMetrics().delim2 : B = t.fontMetrics().delim2;
|
|
27006
|
+
var L, b;
|
|
27007
|
+
return e.leftDelim == null ? L = ja(t, ["mopen"]) : L = In.customSizedDelim(e.leftDelim, B, !0, t.havingStyle(r), e.mode, ["mopen"]), e.continued ? b = X.makeSpan([]) : e.rightDelim == null ? b = ja(t, ["mclose"]) : b = In.customSizedDelim(e.rightDelim, B, !0, t.havingStyle(r), e.mode, ["mclose"]), X.makeSpan(["mord"].concat(a.sizingClasses(t)), [L, X.makeSpan(["mfrac"], [_]), b], t);
|
|
27008
27008
|
}, F0 = (e, t) => {
|
|
27009
27009
|
var r = new le.MathNode("mfrac", [st(e.numer, t), st(e.denom, t)]);
|
|
27010
27010
|
if (!e.hasBarLine)
|
|
@@ -28617,14 +28617,14 @@ yi({
|
|
|
28617
28617
|
var I = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
|
|
28618
28618
|
(s instanceof zr || I) && (C = me(-s.italic));
|
|
28619
28619
|
}
|
|
28620
|
-
var
|
|
28620
|
+
var B;
|
|
28621
28621
|
if (o && l) {
|
|
28622
28622
|
h = Math.max(h, k, o.depth + 0.25 * c.xHeight), f = Math.max(f, c.sub2);
|
|
28623
|
-
var
|
|
28623
|
+
var L = c.defaultRuleThickness, b = 4 * L;
|
|
28624
28624
|
if (h - o.depth - (l.height - f) < b) {
|
|
28625
28625
|
f = b - (h - o.depth) + l.height;
|
|
28626
|
-
var
|
|
28627
|
-
|
|
28626
|
+
var R = 0.8 * c.xHeight - (h - o.depth);
|
|
28627
|
+
R > 0 && (h += R, f -= R);
|
|
28628
28628
|
}
|
|
28629
28629
|
var q = [{
|
|
28630
28630
|
type: "elem",
|
|
@@ -28638,7 +28638,7 @@ yi({
|
|
|
28638
28638
|
shift: -h,
|
|
28639
28639
|
marginRight: T
|
|
28640
28640
|
}];
|
|
28641
|
-
|
|
28641
|
+
B = X.makeVList({
|
|
28642
28642
|
positionType: "individualShift",
|
|
28643
28643
|
children: q
|
|
28644
28644
|
}, t);
|
|
@@ -28650,13 +28650,13 @@ yi({
|
|
|
28650
28650
|
marginLeft: C,
|
|
28651
28651
|
marginRight: T
|
|
28652
28652
|
}];
|
|
28653
|
-
|
|
28653
|
+
B = X.makeVList({
|
|
28654
28654
|
positionType: "shift",
|
|
28655
28655
|
positionData: f,
|
|
28656
28656
|
children: W
|
|
28657
28657
|
}, t);
|
|
28658
28658
|
} else if (o)
|
|
28659
|
-
h = Math.max(h, k, o.depth + 0.25 * c.xHeight),
|
|
28659
|
+
h = Math.max(h, k, o.depth + 0.25 * c.xHeight), B = X.makeVList({
|
|
28660
28660
|
positionType: "shift",
|
|
28661
28661
|
positionData: -h,
|
|
28662
28662
|
children: [{
|
|
@@ -28668,7 +28668,7 @@ yi({
|
|
|
28668
28668
|
else
|
|
28669
28669
|
throw new Error("supsub must have either sup or sub.");
|
|
28670
28670
|
var j = Tl(s, "right") || "mord";
|
|
28671
|
-
return X.makeSpan([j], [s, X.makeSpan(["msupsub"], [
|
|
28671
|
+
return X.makeSpan([j], [s, X.makeSpan(["msupsub"], [B])], t);
|
|
28672
28672
|
},
|
|
28673
28673
|
mathmlBuilder(e, t) {
|
|
28674
28674
|
var r = !1, n, i;
|
|
@@ -38897,22 +38897,22 @@ const FS = tt("zoom-out", [
|
|
|
38897
38897
|
function c() {
|
|
38898
38898
|
if (!r.value || !n.value) return;
|
|
38899
38899
|
const _ = r.value.getBoundingClientRect(), T = n.value.getBoundingClientRect(), C = 8;
|
|
38900
|
-
let I = 0,
|
|
38900
|
+
let I = 0, B = 0;
|
|
38901
38901
|
switch (t.position) {
|
|
38902
38902
|
case "top":
|
|
38903
|
-
I = _.top + window.scrollY - T.height - C,
|
|
38903
|
+
I = _.top + window.scrollY - T.height - C, B = _.left + window.scrollX + (_.width - T.width) / 2;
|
|
38904
38904
|
break;
|
|
38905
38905
|
case "bottom":
|
|
38906
|
-
I = _.bottom + window.scrollY + C,
|
|
38906
|
+
I = _.bottom + window.scrollY + C, B = _.left + window.scrollX + (_.width - T.width) / 2;
|
|
38907
38907
|
break;
|
|
38908
38908
|
case "left":
|
|
38909
|
-
I = _.top + window.scrollY + (_.height - T.height) / 2,
|
|
38909
|
+
I = _.top + window.scrollY + (_.height - T.height) / 2, B = _.left + window.scrollX - T.width - C;
|
|
38910
38910
|
break;
|
|
38911
38911
|
case "right":
|
|
38912
|
-
I = _.top + window.scrollY + (_.height - T.height) / 2,
|
|
38912
|
+
I = _.top + window.scrollY + (_.height - T.height) / 2, B = _.right + window.scrollX + C;
|
|
38913
38913
|
break;
|
|
38914
38914
|
}
|
|
38915
|
-
a.value = { top: I, left:
|
|
38915
|
+
a.value = { top: I, left: B };
|
|
38916
38916
|
}
|
|
38917
38917
|
function h() {
|
|
38918
38918
|
t.disabled || (o && (clearTimeout(o), o = null), s = setTimeout(() => {
|
|
@@ -40236,7 +40236,7 @@ function H2(e, t, r, n, i, a, s, o) {
|
|
|
40236
40236
|
} else {
|
|
40237
40237
|
const T = e.getRule(k);
|
|
40238
40238
|
a.produce(i, v[0].start);
|
|
40239
|
-
const C = i, I = T.getName(t.content, v),
|
|
40239
|
+
const C = i, I = T.getName(t.content, v), B = i.contentNameScopesList.pushAttributed(
|
|
40240
40240
|
I,
|
|
40241
40241
|
e
|
|
40242
40242
|
);
|
|
@@ -40246,28 +40246,28 @@ function H2(e, t, r, n, i, a, s, o) {
|
|
|
40246
40246
|
h,
|
|
40247
40247
|
v[0].end === l,
|
|
40248
40248
|
null,
|
|
40249
|
-
|
|
40250
|
-
|
|
40249
|
+
B,
|
|
40250
|
+
B
|
|
40251
40251
|
), T instanceof Fl) {
|
|
40252
|
-
const
|
|
40252
|
+
const L = T;
|
|
40253
40253
|
wa(
|
|
40254
40254
|
e,
|
|
40255
40255
|
t,
|
|
40256
40256
|
r,
|
|
40257
40257
|
i,
|
|
40258
40258
|
a,
|
|
40259
|
-
|
|
40259
|
+
L.beginCaptures,
|
|
40260
40260
|
v
|
|
40261
40261
|
), a.produce(i, v[0].end), h = v[0].end;
|
|
40262
|
-
const b =
|
|
40262
|
+
const b = L.getContentName(
|
|
40263
40263
|
t.content,
|
|
40264
40264
|
v
|
|
40265
|
-
),
|
|
40265
|
+
), R = B.pushAttributed(
|
|
40266
40266
|
b,
|
|
40267
40267
|
e
|
|
40268
40268
|
);
|
|
40269
|
-
if (i = i.withContentNameScopesList(
|
|
40270
|
-
|
|
40269
|
+
if (i = i.withContentNameScopesList(R), L.endHasBackReferences && (i = i.withEndRule(
|
|
40270
|
+
L.getEndWithResolvedBackReferences(
|
|
40271
40271
|
t.content,
|
|
40272
40272
|
v
|
|
40273
40273
|
)
|
|
@@ -40276,25 +40276,25 @@ function H2(e, t, r, n, i, a, s, o) {
|
|
|
40276
40276
|
return;
|
|
40277
40277
|
}
|
|
40278
40278
|
} else if (T instanceof pu) {
|
|
40279
|
-
const
|
|
40279
|
+
const L = T;
|
|
40280
40280
|
wa(
|
|
40281
40281
|
e,
|
|
40282
40282
|
t,
|
|
40283
40283
|
r,
|
|
40284
40284
|
i,
|
|
40285
40285
|
a,
|
|
40286
|
-
|
|
40286
|
+
L.beginCaptures,
|
|
40287
40287
|
v
|
|
40288
40288
|
), a.produce(i, v[0].end), h = v[0].end;
|
|
40289
|
-
const b =
|
|
40289
|
+
const b = L.getContentName(
|
|
40290
40290
|
t.content,
|
|
40291
40291
|
v
|
|
40292
|
-
),
|
|
40292
|
+
), R = B.pushAttributed(
|
|
40293
40293
|
b,
|
|
40294
40294
|
e
|
|
40295
40295
|
);
|
|
40296
|
-
if (i = i.withContentNameScopesList(
|
|
40297
|
-
|
|
40296
|
+
if (i = i.withContentNameScopesList(R), L.whileHasBackReferences && (i = i.withEndRule(
|
|
40297
|
+
L.getWhileWithResolvedBackReferences(
|
|
40298
40298
|
t.content,
|
|
40299
40299
|
v
|
|
40300
40300
|
)
|
|
@@ -40412,10 +40412,10 @@ function wa(e, t, r, n, i, a, s) {
|
|
|
40412
40412
|
for (; c.length > 0 && c[c.length - 1].endPos <= m.start; )
|
|
40413
40413
|
i.produceFromScopes(c[c.length - 1].scopes, c[c.length - 1].endPos), c.pop();
|
|
40414
40414
|
if (c.length > 0 ? i.produceFromScopes(c[c.length - 1].scopes, m.start) : i.produce(n, m.start), g.retokenizeCapturedWithRuleId) {
|
|
40415
|
-
const k = g.getName(o, s), _ = n.contentNameScopesList.pushAttributed(k, e), T = g.getContentName(o, s), C = _.pushAttributed(T, e), I = n.push(g.retokenizeCapturedWithRuleId, m.start, -1, !1, null, _, C),
|
|
40415
|
+
const k = g.getName(o, s), _ = n.contentNameScopesList.pushAttributed(k, e), T = g.getContentName(o, s), C = _.pushAttributed(T, e), I = n.push(g.retokenizeCapturedWithRuleId, m.start, -1, !1, null, _, C), B = e.createOnigString(o.substring(0, m.end));
|
|
40416
40416
|
H2(
|
|
40417
40417
|
e,
|
|
40418
|
-
|
|
40418
|
+
B,
|
|
40419
40419
|
r && m.start === 0,
|
|
40420
40420
|
m.start,
|
|
40421
40421
|
I,
|
|
@@ -40423,7 +40423,7 @@ function wa(e, t, r, n, i, a, s) {
|
|
|
40423
40423
|
!1,
|
|
40424
40424
|
/* no time limit */
|
|
40425
40425
|
0
|
|
40426
|
-
), D2(
|
|
40426
|
+
), D2(B);
|
|
40427
40427
|
continue;
|
|
40428
40428
|
}
|
|
40429
40429
|
const v = g.getName(o, s);
|
|
@@ -41775,8 +41775,8 @@ function nA() {
|
|
|
41775
41775
|
const k = i[f];
|
|
41776
41776
|
let _ = "", T = -1, C = -1;
|
|
41777
41777
|
if (g === 0 && (T = 0), m === 0 && (C = 0), m === Number.POSITIVE_INFINITY && (C = k.children.length), T === -1 || C === -1)
|
|
41778
|
-
for (let
|
|
41779
|
-
_ += Y2(k.children[
|
|
41778
|
+
for (let B = 0; B < k.children.length; B++)
|
|
41779
|
+
_ += Y2(k.children[B]), T === -1 && _.length === g && (T = B + 1), C === -1 && _.length === m && (C = B + 1);
|
|
41780
41780
|
if (T === -1)
|
|
41781
41781
|
throw new Ut(`Failed to find start index for decoration ${JSON.stringify(v.start)}`);
|
|
41782
41782
|
if (C === -1)
|
|
@@ -41787,13 +41787,13 @@ function nA() {
|
|
|
41787
41787
|
else if (!v.alwaysWrap && I.length === 1 && I[0].type === "element")
|
|
41788
41788
|
o(I[0], v, "token");
|
|
41789
41789
|
else {
|
|
41790
|
-
const
|
|
41790
|
+
const B = {
|
|
41791
41791
|
type: "element",
|
|
41792
41792
|
tagName: "span",
|
|
41793
41793
|
properties: {},
|
|
41794
41794
|
children: I
|
|
41795
41795
|
};
|
|
41796
|
-
o(
|
|
41796
|
+
o(B, v, "wrapper"), k.children.splice(T, I.length, B);
|
|
41797
41797
|
}
|
|
41798
41798
|
}
|
|
41799
41799
|
function s(f, g) {
|
|
@@ -42219,16 +42219,16 @@ function rc(e, t, r, n, i) {
|
|
|
42219
42219
|
}
|
|
42220
42220
|
let _, T, C;
|
|
42221
42221
|
i.includeExplanation && (_ = t.tokenizeLine(v, c, o), T = _.tokens, C = 0);
|
|
42222
|
-
const I = t.tokenizeLine2(v, c, o),
|
|
42223
|
-
for (let
|
|
42224
|
-
const b = I.tokens[2 *
|
|
42225
|
-
if (b ===
|
|
42222
|
+
const I = t.tokenizeLine2(v, c, o), B = I.tokens.length / 2;
|
|
42223
|
+
for (let L = 0; L < B; L++) {
|
|
42224
|
+
const b = I.tokens[2 * L], R = L + 1 < B ? I.tokens[2 * L + 2] : v.length;
|
|
42225
|
+
if (b === R)
|
|
42226
42226
|
continue;
|
|
42227
|
-
const q = I.tokens[2 *
|
|
42227
|
+
const q = I.tokens[2 * L + 1], W = Qn(
|
|
42228
42228
|
n[$i.getForeground(q)],
|
|
42229
42229
|
a
|
|
42230
42230
|
), j = $i.getFontStyle(q), te = {
|
|
42231
|
-
content: v.substring(b,
|
|
42231
|
+
content: v.substring(b, R),
|
|
42232
42232
|
offset: k + b,
|
|
42233
42233
|
color: W,
|
|
42234
42234
|
fontStyle: j
|
|
@@ -42255,7 +42255,7 @@ function rc(e, t, r, n, i) {
|
|
|
42255
42255
|
}
|
|
42256
42256
|
te.explanation = [];
|
|
42257
42257
|
let ue = 0;
|
|
42258
|
-
for (; b + ue <
|
|
42258
|
+
for (; b + ue < R; ) {
|
|
42259
42259
|
const ae = T[C], ne = v.substring(
|
|
42260
42260
|
ae.startIndex,
|
|
42261
42261
|
ae.endIndex
|
|
@@ -42490,8 +42490,8 @@ function TA(e, t, r, n = Xa(e)) {
|
|
|
42490
42490
|
class: `shiki ${t.themeName || ""}`
|
|
42491
42491
|
};
|
|
42492
42492
|
t.rootStyle !== !1 && (t.rootStyle != null ? c.style = t.rootStyle : c.style = `background-color:${t.bg};color:${t.fg}`), l !== !1 && l != null && (c.tabindex = l.toString());
|
|
42493
|
-
for (const [I,
|
|
42494
|
-
I.startsWith("_") || (c[I] =
|
|
42493
|
+
for (const [I, B] of Object.entries(t.meta || {}))
|
|
42494
|
+
I.startsWith("_") || (c[I] = B);
|
|
42495
42495
|
let h = {
|
|
42496
42496
|
type: "element",
|
|
42497
42497
|
tagName: "pre",
|
|
@@ -42530,11 +42530,11 @@ function TA(e, t, r, n = Xa(e)) {
|
|
|
42530
42530
|
return g;
|
|
42531
42531
|
}
|
|
42532
42532
|
};
|
|
42533
|
-
if (e.forEach((I,
|
|
42534
|
-
var
|
|
42535
|
-
|
|
42533
|
+
if (e.forEach((I, B) => {
|
|
42534
|
+
var R, q;
|
|
42535
|
+
B && (o === "inline" ? s.children.push({ type: "element", tagName: "br", properties: {}, children: [] }) : o === "classic" && a.push({ type: "text", value: `
|
|
42536
42536
|
` }));
|
|
42537
|
-
let
|
|
42537
|
+
let L = {
|
|
42538
42538
|
type: "element",
|
|
42539
42539
|
tagName: "span",
|
|
42540
42540
|
properties: { class: "line" },
|
|
@@ -42552,14 +42552,14 @@ function TA(e, t, r, n = Xa(e)) {
|
|
|
42552
42552
|
const te = zl(W.htmlStyle || gu(W));
|
|
42553
42553
|
te && (j.properties.style = te);
|
|
42554
42554
|
for (const J of i)
|
|
42555
|
-
j = ((
|
|
42556
|
-
o === "inline" ? s.children.push(j) : o === "classic" &&
|
|
42555
|
+
j = ((R = J == null ? void 0 : J.span) == null ? void 0 : R.call(m, j, B + 1, b, L, W)) || j;
|
|
42556
|
+
o === "inline" ? s.children.push(j) : o === "classic" && L.children.push(j), b += W.content.length;
|
|
42557
42557
|
}
|
|
42558
42558
|
if (o === "classic") {
|
|
42559
42559
|
for (const W of i)
|
|
42560
|
-
|
|
42561
|
-
g.push(
|
|
42562
|
-
} else o === "inline" && g.push(
|
|
42560
|
+
L = ((q = W == null ? void 0 : W.line) == null ? void 0 : q.call(m, L, B + 1)) || L;
|
|
42561
|
+
g.push(L), a.push(L);
|
|
42562
|
+
} else o === "inline" && g.push(L);
|
|
42563
42563
|
}), o === "classic") {
|
|
42564
42564
|
for (const I of i)
|
|
42565
42565
|
f = ((k = I == null ? void 0 : I.code) == null ? void 0 : k.call(m, f)) || f;
|
|
@@ -42569,32 +42569,32 @@ function TA(e, t, r, n = Xa(e)) {
|
|
|
42569
42569
|
s.children.push(h);
|
|
42570
42570
|
} else if (o === "inline") {
|
|
42571
42571
|
const I = [];
|
|
42572
|
-
let
|
|
42572
|
+
let B = {
|
|
42573
42573
|
type: "element",
|
|
42574
42574
|
tagName: "span",
|
|
42575
42575
|
properties: { class: "line" },
|
|
42576
42576
|
children: []
|
|
42577
42577
|
};
|
|
42578
|
-
for (const
|
|
42579
|
-
|
|
42578
|
+
for (const R of s.children)
|
|
42579
|
+
R.type === "element" && R.tagName === "br" ? (I.push(B), B = {
|
|
42580
42580
|
type: "element",
|
|
42581
42581
|
tagName: "span",
|
|
42582
42582
|
properties: { class: "line" },
|
|
42583
42583
|
children: []
|
|
42584
|
-
}) : (
|
|
42585
|
-
I.push(
|
|
42584
|
+
}) : (R.type === "element" || R.type === "text") && B.children.push(R);
|
|
42585
|
+
I.push(B);
|
|
42586
42586
|
let b = {
|
|
42587
42587
|
type: "element",
|
|
42588
42588
|
tagName: "code",
|
|
42589
42589
|
properties: {},
|
|
42590
42590
|
children: I
|
|
42591
42591
|
};
|
|
42592
|
-
for (const
|
|
42593
|
-
b = ((T =
|
|
42592
|
+
for (const R of i)
|
|
42593
|
+
b = ((T = R == null ? void 0 : R.code) == null ? void 0 : T.call(m, b)) || b;
|
|
42594
42594
|
s.children = [];
|
|
42595
|
-
for (let
|
|
42596
|
-
|
|
42597
|
-
const q = b.children[
|
|
42595
|
+
for (let R = 0; R < b.children.length; R++) {
|
|
42596
|
+
R > 0 && s.children.push({ type: "element", tagName: "br", properties: {}, children: [] });
|
|
42597
|
+
const q = b.children[R];
|
|
42598
42598
|
q.type === "element" && s.children.push(...q.children);
|
|
42599
42599
|
}
|
|
42600
42600
|
}
|
|
@@ -42912,28 +42912,28 @@ function RA(e) {
|
|
|
42912
42912
|
}
|
|
42913
42913
|
function l(I) {
|
|
42914
42914
|
T();
|
|
42915
|
-
const
|
|
42916
|
-
if (!
|
|
42915
|
+
const B = a.getGrammar(typeof I == "string" ? I : I.name);
|
|
42916
|
+
if (!B)
|
|
42917
42917
|
throw new Di(`Language \`${I}\` not found, you may need to load it first`);
|
|
42918
|
-
return
|
|
42918
|
+
return B;
|
|
42919
42919
|
}
|
|
42920
42920
|
function c(I) {
|
|
42921
42921
|
if (I === "none")
|
|
42922
42922
|
return { bg: "", fg: "", name: "none", settings: [], type: "dark" };
|
|
42923
42923
|
T();
|
|
42924
|
-
const
|
|
42925
|
-
if (!
|
|
42924
|
+
const B = a.getTheme(I);
|
|
42925
|
+
if (!B)
|
|
42926
42926
|
throw new Di(`Theme \`${I}\` not found, you may need to load it first`);
|
|
42927
|
-
return
|
|
42927
|
+
return B;
|
|
42928
42928
|
}
|
|
42929
42929
|
function h(I) {
|
|
42930
42930
|
T();
|
|
42931
|
-
const
|
|
42932
|
-
s !== I && (a.setTheme(
|
|
42933
|
-
const
|
|
42931
|
+
const B = c(I);
|
|
42932
|
+
s !== I && (a.setTheme(B), s = I);
|
|
42933
|
+
const L = a.getColorMap();
|
|
42934
42934
|
return {
|
|
42935
|
-
theme:
|
|
42936
|
-
colorMap:
|
|
42935
|
+
theme: B,
|
|
42936
|
+
colorMap: L
|
|
42937
42937
|
};
|
|
42938
42938
|
}
|
|
42939
42939
|
function f() {
|
|
@@ -42950,8 +42950,8 @@ function RA(e) {
|
|
|
42950
42950
|
}
|
|
42951
42951
|
function k(...I) {
|
|
42952
42952
|
T();
|
|
42953
|
-
for (const
|
|
42954
|
-
a.loadTheme(
|
|
42953
|
+
for (const B of I.flat(1))
|
|
42954
|
+
a.loadTheme(B);
|
|
42955
42955
|
}
|
|
42956
42956
|
async function _(...I) {
|
|
42957
42957
|
return T(), k(await Q2(I));
|
|
@@ -43067,13 +43067,13 @@ async function FA(e) {
|
|
|
43067
43067
|
C += String.fromCharCode(I);
|
|
43068
43068
|
continue;
|
|
43069
43069
|
}
|
|
43070
|
-
const
|
|
43070
|
+
const B = m[v++] & 63;
|
|
43071
43071
|
if ((I & 224) === 192) {
|
|
43072
|
-
C += String.fromCharCode((I & 31) << 6 |
|
|
43072
|
+
C += String.fromCharCode((I & 31) << 6 | B);
|
|
43073
43073
|
continue;
|
|
43074
43074
|
}
|
|
43075
|
-
const
|
|
43076
|
-
if ((I & 240) === 224 ? I = (I & 15) << 12 |
|
|
43075
|
+
const L = m[v++] & 63;
|
|
43076
|
+
if ((I & 240) === 224 ? I = (I & 15) << 12 | B << 6 | L : I = (I & 7) << 18 | B << 12 | L << 6 | m[v++] & 63, I < 65536)
|
|
43077
43077
|
C += String.fromCharCode(I);
|
|
43078
43078
|
else {
|
|
43079
43079
|
const b = I - 65536;
|
|
@@ -43844,50 +43844,78 @@ const Lp = /* @__PURE__ */ it(XI, [["render", QI], ["__scopeId", "data-v-477a333
|
|
|
43844
43844
|
},
|
|
43845
43845
|
setup(e) {
|
|
43846
43846
|
const t = e, r = Ql(sc, Ae("light")), n = Ae(), i = Ae(""), a = Ae(!0), s = Ae(!1), o = Ae(""), l = Ae(!1);
|
|
43847
|
-
let c = 0;
|
|
43848
|
-
|
|
43847
|
+
let c = 0, h = null, f = "";
|
|
43848
|
+
const g = [];
|
|
43849
|
+
let m = !1;
|
|
43850
|
+
function v() {
|
|
43849
43851
|
return `mermaid-${Date.now()}-${c++}`;
|
|
43850
43852
|
}
|
|
43851
|
-
async function
|
|
43852
|
-
|
|
43853
|
-
|
|
43853
|
+
async function k(B) {
|
|
43854
|
+
return h || (h = (await import("./mermaid.core-X0mmzLZi.js").then((L) => L.bC)).default), f !== B && (f = B, h.initialize({
|
|
43855
|
+
startOnLoad: !1,
|
|
43856
|
+
theme: B === "dark" ? "dark" : "default",
|
|
43857
|
+
securityLevel: "loose",
|
|
43858
|
+
fontFamily: "inherit",
|
|
43859
|
+
maxTextSize: 1e5,
|
|
43860
|
+
flowchart: {
|
|
43861
|
+
htmlLabels: !0,
|
|
43862
|
+
nodeSpacing: 30,
|
|
43863
|
+
rankSpacing: 40,
|
|
43864
|
+
padding: 15,
|
|
43865
|
+
useMaxWidth: !0,
|
|
43866
|
+
wrappingWidth: 200
|
|
43867
|
+
},
|
|
43868
|
+
sequence: {
|
|
43869
|
+
useMaxWidth: !0
|
|
43870
|
+
}
|
|
43871
|
+
})), h;
|
|
43872
|
+
}
|
|
43873
|
+
function _(B) {
|
|
43874
|
+
return new Promise((L) => {
|
|
43875
|
+
g.push(async () => {
|
|
43876
|
+
await B(), L();
|
|
43877
|
+
}), T();
|
|
43878
|
+
});
|
|
43879
|
+
}
|
|
43880
|
+
async function T() {
|
|
43881
|
+
if (!(m || g.length === 0)) {
|
|
43882
|
+
for (m = !0; g.length > 0; )
|
|
43883
|
+
await g.shift()();
|
|
43884
|
+
m = !1;
|
|
43885
|
+
}
|
|
43886
|
+
}
|
|
43887
|
+
async function C() {
|
|
43888
|
+
t.code && (a.value = !0, s.value = !1, o.value = "", await _(async () => {
|
|
43854
43889
|
try {
|
|
43855
|
-
const
|
|
43856
|
-
|
|
43857
|
-
|
|
43858
|
-
|
|
43859
|
-
securityLevel: "loose",
|
|
43860
|
-
fontFamily: "inherit"
|
|
43861
|
-
});
|
|
43862
|
-
const v = h(), { svg: k } = await m.render(v, t.code.trim());
|
|
43863
|
-
i.value = k;
|
|
43864
|
-
} catch (m) {
|
|
43865
|
-
s.value = !0, o.value = (m == null ? void 0 : m.message) || String(m), console.error("Mermaid render error:", m);
|
|
43890
|
+
const B = await k(r.value), L = v(), { svg: b } = await B.render(L, t.code.trim());
|
|
43891
|
+
i.value = b;
|
|
43892
|
+
} catch (B) {
|
|
43893
|
+
s.value = !0, o.value = (B == null ? void 0 : B.message) || String(B), console.error("Mermaid render error:", B);
|
|
43866
43894
|
} finally {
|
|
43867
43895
|
a.value = !1;
|
|
43868
43896
|
}
|
|
43869
|
-
}
|
|
43897
|
+
}));
|
|
43870
43898
|
}
|
|
43871
|
-
async function
|
|
43899
|
+
async function I() {
|
|
43872
43900
|
await $u(t.code) ? ri.success("复制成功") : ri.error("复制失败");
|
|
43873
43901
|
}
|
|
43874
|
-
return gi(
|
|
43875
|
-
Hr(
|
|
43902
|
+
return gi(C), qt(() => t.code, () => {
|
|
43903
|
+
Hr(C);
|
|
43876
43904
|
}), qt(r, () => {
|
|
43877
|
-
Hr(
|
|
43878
|
-
}), (
|
|
43905
|
+
f = "", Hr(C);
|
|
43906
|
+
}), (B, L) => (pe(), ve("div", {
|
|
43879
43907
|
class: gt(["md-mermaid", { "md-mermaid--error": s.value }])
|
|
43880
43908
|
}, [
|
|
43881
43909
|
nt(Ku, {
|
|
43882
43910
|
label: "mermaid",
|
|
43883
43911
|
copyable: "",
|
|
43884
|
-
onCopy:
|
|
43912
|
+
onCopy: I
|
|
43885
43913
|
}, {
|
|
43886
43914
|
extra: Ur(() => [
|
|
43887
43915
|
s.value ? at("", !0) : (pe(), ve("button", {
|
|
43888
43916
|
key: 0,
|
|
43889
43917
|
class: "md-mermaid__toggle",
|
|
43890
|
-
onClick:
|
|
43918
|
+
onClick: L[0] || (L[0] = (b) => l.value = !l.value),
|
|
43891
43919
|
title: l.value ? "查看图表" : "查看源码"
|
|
43892
43920
|
}, [
|
|
43893
43921
|
nt(Dt(Vt), {
|
|
@@ -43903,10 +43931,10 @@ const Lp = /* @__PURE__ */ it(XI, [["render", QI], ["__scopeId", "data-v-477a333
|
|
|
43903
43931
|
ge("code", null, sr(e.code), 1)
|
|
43904
43932
|
])
|
|
43905
43933
|
])) : (pe(), ve("div", aN, [
|
|
43906
|
-
a.value ? (pe(), ve("div", sN, [...
|
|
43934
|
+
a.value ? (pe(), ve("div", sN, [...L[1] || (L[1] = [
|
|
43907
43935
|
ge("span", { class: "md-mermaid__spinner" }, null, -1)
|
|
43908
43936
|
])])) : s.value ? (pe(), ve("div", uN, [
|
|
43909
|
-
|
|
43937
|
+
L[2] || (L[2] = ge("p", null, "Mermaid 渲染失败", -1)),
|
|
43910
43938
|
ge("pre", null, sr(o.value), 1)
|
|
43911
43939
|
])) : (pe(), ve("div", {
|
|
43912
43940
|
key: 2,
|
|
@@ -43918,7 +43946,7 @@ const Lp = /* @__PURE__ */ it(XI, [["render", QI], ["__scopeId", "data-v-477a333
|
|
|
43918
43946
|
]))
|
|
43919
43947
|
], 2));
|
|
43920
43948
|
}
|
|
43921
|
-
}), ng = /* @__PURE__ */ it(lN, [["__scopeId", "data-v-
|
|
43949
|
+
}), ng = /* @__PURE__ */ it(lN, [["__scopeId", "data-v-e7cce137"]]), cN = ["title"], hN = {
|
|
43922
43950
|
key: 0,
|
|
43923
43951
|
class: "md-code-block__lines",
|
|
43924
43952
|
"aria-hidden": "true"
|
|
@@ -43937,22 +43965,22 @@ const Lp = /* @__PURE__ */ it(XI, [["render", QI], ["__scopeId", "data-v-477a333
|
|
|
43937
43965
|
l.value = !l.value;
|
|
43938
43966
|
};
|
|
43939
43967
|
async function k(C, I) {
|
|
43940
|
-
const
|
|
43941
|
-
return rI(C,
|
|
43968
|
+
const B = y_(I);
|
|
43969
|
+
return rI(C, B, c.value);
|
|
43942
43970
|
}
|
|
43943
43971
|
async function _() {
|
|
43944
|
-
var
|
|
43945
|
-
const C = (
|
|
43972
|
+
var L;
|
|
43973
|
+
const C = (L = r.default) == null ? void 0 : L.call(r);
|
|
43946
43974
|
if (!C) return;
|
|
43947
43975
|
let I = Ma(C);
|
|
43948
43976
|
I = v_(I), a.value = I, o.value = I.split(`
|
|
43949
43977
|
`).length;
|
|
43950
|
-
let
|
|
43951
|
-
if (
|
|
43978
|
+
let B = Dl(C);
|
|
43979
|
+
if (B === "text" && t.className) {
|
|
43952
43980
|
const b = t.className.match(/language-(\w+)/);
|
|
43953
|
-
b && (
|
|
43981
|
+
b && (B = b[1]);
|
|
43954
43982
|
}
|
|
43955
|
-
s.value =
|
|
43983
|
+
s.value = B, i.value = await k(I, B);
|
|
43956
43984
|
}
|
|
43957
43985
|
gi(_), qt(() => {
|
|
43958
43986
|
var C;
|
|
@@ -43999,10 +44027,10 @@ const Lp = /* @__PURE__ */ it(XI, [["render", QI], ["__scopeId", "data-v-477a333
|
|
|
43999
44027
|
style: kr(m.value)
|
|
44000
44028
|
}, [
|
|
44001
44029
|
e.showLineNumbers ? (pe(), ve("div", hN, [
|
|
44002
|
-
(pe(!0), ve(di, null, Oi(o.value, (
|
|
44003
|
-
key:
|
|
44030
|
+
(pe(!0), ve(di, null, Oi(o.value, (B) => (pe(), ve("span", {
|
|
44031
|
+
key: B,
|
|
44004
44032
|
class: "md-code-block__line-number"
|
|
44005
|
-
}, sr(
|
|
44033
|
+
}, sr(B), 1))), 128))
|
|
44006
44034
|
])) : at("", !0),
|
|
44007
44035
|
ge("div", {
|
|
44008
44036
|
class: "md-code-block__code",
|
|
@@ -44169,9 +44197,9 @@ const Lp = /* @__PURE__ */ it(XI, [["render", QI], ["__scopeId", "data-v-477a333
|
|
|
44169
44197
|
if (!_ || !o.value) return;
|
|
44170
44198
|
const T = l.get(_);
|
|
44171
44199
|
if (!T) return;
|
|
44172
|
-
const C = o.value, I = C.getBoundingClientRect(),
|
|
44200
|
+
const C = o.value, I = C.getBoundingClientRect(), B = T.getBoundingClientRect(), L = B.top - I.top, b = B.bottom - I.top, R = C.clientHeight, q = L < 20, W = b > R - 20;
|
|
44173
44201
|
if (q || W) {
|
|
44174
|
-
const j =
|
|
44202
|
+
const j = L - R / 2 + T.clientHeight / 2;
|
|
44175
44203
|
C.scrollTo({
|
|
44176
44204
|
top: C.scrollTop + j,
|
|
44177
44205
|
behavior: "smooth"
|
|
@@ -44507,7 +44535,7 @@ const LN = oa(1), RN = oa(2), PN = oa(3), DN = oa(4), ON = oa(5), MN = oa(6), cg
|
|
|
44507
44535
|
baseUrl: typeof window < "u" ? window.location.href : "https://example.com"
|
|
44508
44536
|
};
|
|
44509
44537
|
}
|
|
44510
|
-
async function
|
|
44538
|
+
async function B(J) {
|
|
44511
44539
|
if (!J) {
|
|
44512
44540
|
a.value = "div", s.value = !1, n("rendered");
|
|
44513
44541
|
return;
|
|
@@ -44539,7 +44567,7 @@ const LN = oa(1), RN = oa(2), PN = oa(3), DN = oa(4), ON = oa(5), MN = oa(6), cg
|
|
|
44539
44567
|
},
|
|
44540
44568
|
{ deep: !0 }
|
|
44541
44569
|
);
|
|
44542
|
-
function
|
|
44570
|
+
function L() {
|
|
44543
44571
|
c.value && Hr(() => {
|
|
44544
44572
|
var ae;
|
|
44545
44573
|
const J = ((ae = c.value) == null ? void 0 : ae.querySelectorAll("h1, h2, h3, h4, h5, h6")) || [], ue = [];
|
|
@@ -44562,7 +44590,7 @@ const LN = oa(1), RN = oa(2), PN = oa(3), DN = oa(4), ON = oa(5), MN = oa(6), cg
|
|
|
44562
44590
|
function b() {
|
|
44563
44591
|
return m.value && l.value ? l.value.scrollTop : window.scrollY;
|
|
44564
44592
|
}
|
|
44565
|
-
function
|
|
44593
|
+
function R() {
|
|
44566
44594
|
r.showBackTop && (g.value = b() > r.backTopThreshold);
|
|
44567
44595
|
}
|
|
44568
44596
|
function q(J) {
|
|
@@ -44572,21 +44600,21 @@ const LN = oa(1), RN = oa(2), PN = oa(3), DN = oa(4), ON = oa(5), MN = oa(6), cg
|
|
|
44572
44600
|
m.value && l.value ? l.value.scrollTo({ top: 0, behavior: "smooth" }) : window.scrollTo({ top: 0, behavior: "smooth" }), n("scroll-to-top");
|
|
44573
44601
|
}
|
|
44574
44602
|
qt(s, (J) => {
|
|
44575
|
-
J ||
|
|
44603
|
+
J || L();
|
|
44576
44604
|
});
|
|
44577
44605
|
function j() {
|
|
44578
|
-
r.showBackTop && ((m.value && l.value ? l.value : window).addEventListener("scroll",
|
|
44606
|
+
r.showBackTop && ((m.value && l.value ? l.value : window).addEventListener("scroll", R, { passive: !0 }), R());
|
|
44579
44607
|
}
|
|
44580
44608
|
function te() {
|
|
44581
|
-
l.value && l.value.removeEventListener("scroll",
|
|
44609
|
+
l.value && l.value.removeEventListener("scroll", R), window.removeEventListener("scroll", R);
|
|
44582
44610
|
}
|
|
44583
44611
|
return gi(async () => {
|
|
44584
|
-
|
|
44612
|
+
B(r.raw), Hr(() => {
|
|
44585
44613
|
j();
|
|
44586
44614
|
});
|
|
44587
44615
|
}), Wi(() => {
|
|
44588
44616
|
te();
|
|
44589
|
-
}), qt(() => r.raw,
|
|
44617
|
+
}), qt(() => r.raw, B), (J, ue) => (pe(), ve("div", {
|
|
44590
44618
|
ref_key: "wrapperRef",
|
|
44591
44619
|
ref: l,
|
|
44592
44620
|
class: gt(k.value),
|