@ashwin_droid/notion-stream 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseUniq-DSwfPiGC.js → _baseUniq-D32sgNIc.js} +1 -1
- package/dist/{_baseUniq-CT-tc-CG.mjs → _baseUniq-DCnQIx8G.mjs} +51 -51
- package/dist/{arc-BBnIBs2j.js → arc-B0uBm0sN.js} +1 -1
- package/dist/{arc-DmoYXidQ.mjs → arc-OrNNmmBm.mjs} +1 -1
- package/dist/{architecture-U656AL7Q-C0ZB2O9M.js → architecture-U656AL7Q-CLYqYgyv.js} +1 -1
- package/dist/{architecture-U656AL7Q-CMPtJMZ-.mjs → architecture-U656AL7Q-seCMyeyz.mjs} +1 -1
- package/dist/architectureDiagram-VXUJARFQ-BGsDPmi_.js +36 -0
- package/dist/{architectureDiagram-VXUJARFQ-BYzpbF40.mjs → architectureDiagram-VXUJARFQ-BmPLNLcs.mjs} +1846 -1850
- package/dist/{blockDiagram-VD42YOAC-DPVTCHn5.mjs → blockDiagram-VD42YOAC-CXKvT-9-.mjs} +913 -922
- package/dist/blockDiagram-VD42YOAC-NQhzFvsO.js +122 -0
- package/dist/c4Diagram-YG6GDRKO-CMXx6pyB.js +10 -0
- package/dist/{c4Diagram-YG6GDRKO-C2Y4q08p.mjs → c4Diagram-YG6GDRKO-DAGMHESb.mjs} +169 -170
- package/dist/{channel-DVpqhnow.mjs → channel-BXGyzQA6.mjs} +1 -1
- package/dist/channel-Dw8BXC8D.js +1 -0
- package/dist/chunk-4BX2VUAB-MnK73C0-.js +1 -0
- package/dist/chunk-4BX2VUAB-ZaWvd3Xe.mjs +8 -0
- package/dist/{chunk-55IACEB6-P_FVKIbW.js → chunk-55IACEB6-B1EpdpVW.js} +1 -1
- package/dist/{chunk-55IACEB6-Du1Simcj.mjs → chunk-55IACEB6-iKbZBHA5.mjs} +1 -1
- package/dist/chunk-B4BG7PRW-Bo_sfBKL.js +165 -0
- package/dist/{chunk-B4BG7PRW-BUKsa2yH.mjs → chunk-B4BG7PRW-DgqSow4f.mjs} +251 -252
- package/dist/{chunk-DI55MBZ5-C9h0qLVI.mjs → chunk-DI55MBZ5-BAHL-2VJ.mjs} +444 -456
- package/dist/chunk-DI55MBZ5-BuuMLI1S.js +220 -0
- package/dist/{chunk-FMBD7UC4-C08-zA06.mjs → chunk-FMBD7UC4-BE8MbNLe.mjs} +1 -1
- package/dist/{chunk-FMBD7UC4-48-zdz-1.js → chunk-FMBD7UC4-Cs1BNv23.js} +1 -1
- package/dist/chunk-QN33PNHL-MX1ZMWu-.js +1 -0
- package/dist/chunk-QN33PNHL-ZaWv5vaA.mjs +19 -0
- package/dist/{chunk-QZHKN3VN-DbO6TJSK.mjs → chunk-QZHKN3VN-D2X7PBDi.mjs} +1 -1
- package/dist/{chunk-QZHKN3VN-Dy2264ui.js → chunk-QZHKN3VN-Db6mVb9M.js} +1 -1
- package/dist/{chunk-TZMSLE5B-BPmI9i6R.mjs → chunk-TZMSLE5B-AMFXF6mq.mjs} +20 -20
- package/dist/{chunk-TZMSLE5B-COENnLAZ.js → chunk-TZMSLE5B-CzjtACDr.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-mzvV1Ifg.mjs → classDiagram-2ON5EDUG-CPwvtUDj.mjs} +2 -2
- package/dist/{classDiagram-2ON5EDUG-CFFwYK87.js → classDiagram-2ON5EDUG-UNrH9bQo.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-mzvV1Ifg.mjs → classDiagram-v2-WZHVMYZB-CPwvtUDj.mjs} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-CFFwYK87.js → classDiagram-v2-WZHVMYZB-UNrH9bQo.js} +1 -1
- package/dist/{clone-KtLCwiKH.mjs → clone-CV4F8CSW.mjs} +1 -1
- package/dist/clone-HVsPHeK3.js +1 -0
- package/dist/{code-block-37QAKDTI-sxlq94xm.js → code-block-37QAKDTI-38K5Mxo2.js} +1 -1
- package/dist/{code-block-37QAKDTI-CmykMxjQ.mjs → code-block-37QAKDTI-Q-OOsw6q.mjs} +1 -1
- package/dist/cose-bilkent-S5V4N54A-1B77PywG.js +1 -0
- package/dist/{cose-bilkent-S5V4N54A-BXcldnso.mjs → cose-bilkent-S5V4N54A-greBbyuM.mjs} +592 -589
- package/dist/cytoscape.esm-CNUX3VTg.js +321 -0
- package/dist/{cytoscape.esm-ZmItrg9y.mjs → cytoscape.esm-Cvf3sx9F.mjs} +56 -83
- package/dist/dagre-6UL2VRFP-DEQXyXKh.js +4 -0
- package/dist/dagre-6UL2VRFP-DN5Inkgr.mjs +443 -0
- package/dist/diagram-PSM6KHXK-C7tjFZpr.js +24 -0
- package/dist/{diagram-PSM6KHXK-DIV3jw9d.mjs → diagram-PSM6KHXK-D-GS1fTc.mjs} +45 -48
- package/dist/{diagram-QEK2KX5R-Q0M2_YtR.mjs → diagram-QEK2KX5R-DJXBxeH4.mjs} +10 -14
- package/dist/diagram-QEK2KX5R-Doa8ooC_.js +43 -0
- package/dist/diagram-S2PKOQOG-BN04h93a.js +24 -0
- package/dist/{diagram-S2PKOQOG-_WGA6s2-.mjs → diagram-S2PKOQOG-BuPevKqw.mjs} +22 -23
- package/dist/erDiagram-Q2GNP2WA-AS2vnQKc.js +60 -0
- package/dist/{erDiagram-Q2GNP2WA-CW0D_QGb.mjs → erDiagram-Q2GNP2WA-DxOmvmqL.mjs} +77 -78
- package/dist/flowDiagram-NV44I4VS-BChiRwcp.js +162 -0
- package/dist/{flowDiagram-NV44I4VS-DVQ8Ntc4.mjs → flowDiagram-NV44I4VS-Cs_jC87H.mjs} +442 -449
- package/dist/{ganttDiagram-JELNMOA3-Bk-dX6qT.mjs → ganttDiagram-JELNMOA3-02b_-xyZ.mjs} +1049 -1041
- package/dist/ganttDiagram-JELNMOA3-BGy1b6TD.js +267 -0
- package/dist/{gitGraph-F6HP7TQM-CsdwxYUE.mjs → gitGraph-F6HP7TQM-BWm0SBV4.mjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-DvIgo2TM.js → gitGraph-F6HP7TQM-DVfckSNX.js} +1 -1
- package/dist/gitGraphDiagram-NY62KEGX-CfzoE07P.mjs +699 -0
- package/dist/gitGraphDiagram-NY62KEGX-Cm9ywQoW.js +65 -0
- package/dist/{graph-C_T4ZBuC.mjs → graph-DEu7-ZhH.mjs} +8 -8
- package/dist/{graph-BNpx6ebg.js → graph-Dw_87ii6.js} +1 -1
- package/dist/index-BwYOYPeK.js +670 -0
- package/dist/{index-oe4HpmeG.mjs → index-DH3CVXwD.mjs} +22541 -22646
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{info-NVLQJR56-BwFQRguW.js → info-NVLQJR56-BpKxONZx.js} +1 -1
- package/dist/info-NVLQJR56-MmJP3L6S.mjs +5 -0
- package/dist/{infoDiagram-WHAUD3N6-C-gzsm95.mjs → infoDiagram-WHAUD3N6-Bfsucvti.mjs} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-CCb5k_S7.js → infoDiagram-WHAUD3N6-q-yX3_By.js} +1 -1
- package/dist/journeyDiagram-XKPGCS4Q-BqtyHvQF.js +139 -0
- package/dist/{journeyDiagram-XKPGCS4Q-DzkUL_YG.mjs → journeyDiagram-XKPGCS4Q-dFRLmnr-.mjs} +24 -26
- package/dist/kanban-definition-3W4ZIXB7-DeOl9Eme.mjs +719 -0
- package/dist/kanban-definition-3W4ZIXB7-DraMxv75.js +89 -0
- package/dist/{layout-CuWQnP5Y.js → layout-BKTUO8WZ.js} +1 -1
- package/dist/{layout-Cd98WJ7r.mjs → layout-CpL-hYTa.mjs} +22 -22
- package/dist/{linear-SU4e8MRt.mjs → linear-CLwIU3di.mjs} +20 -20
- package/dist/{linear-DFDw13y6.js → linear-DvM229Di.js} +1 -1
- package/dist/mermaid-4DMBBIKO-BpqXz0_U.mjs +4 -0
- package/dist/{mermaid-4DMBBIKO-BihEtyib.js → mermaid-4DMBBIKO-Cd15t2pT.js} +1 -1
- package/dist/mermaid-parser.core-BVlc9Lqd.js +128 -0
- package/dist/{mermaid-parser.core-C8Sxzqul.mjs → mermaid-parser.core-CLAapB2-.mjs} +3404 -3369
- package/dist/{min-C2k771MZ.mjs → min--ML-ONY_.mjs} +2 -2
- package/dist/{min-CppMRDFn.js → min-BQ4NUvNf.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-BUd354uH.mjs → mindmap-definition-VGOIOE7T-78K_EDCb.mjs} +170 -172
- package/dist/mindmap-definition-VGOIOE7T-ZHY70ZzV.js +68 -0
- package/dist/notion-stream.css +1 -0
- package/dist/{ordinal-C0oynhte.mjs → ordinal-B-KqvkJf.mjs} +1 -1
- package/dist/{packet-BFZMPI3H-Cz_A86d3.mjs → packet-BFZMPI3H-B34lFb6T.mjs} +1 -1
- package/dist/{packet-BFZMPI3H-CFx3kSkL.js → packet-BFZMPI3H-C9xcJQVN.js} +1 -1
- package/dist/{pie-7BOR55EZ-_1MqisBd.js → pie-7BOR55EZ-Bz_jfTd_.js} +1 -1
- package/dist/pie-7BOR55EZ-DW2Zgje5.mjs +5 -0
- package/dist/{pieDiagram-ADFJNKIX-Bg0_gu43.js → pieDiagram-ADFJNKIX-CKzchAXU.js} +2 -2
- package/dist/{pieDiagram-ADFJNKIX-lRs_rpwI.mjs → pieDiagram-ADFJNKIX-Ctp6QR7f.mjs} +21 -21
- package/dist/quadrantDiagram-AYHSOK5B-D2Rt32D2.js +7 -0
- package/dist/{quadrantDiagram-AYHSOK5B-D9kypJt6.mjs → quadrantDiagram-AYHSOK5B-D3U_Qicu.mjs} +230 -232
- package/dist/{radar-NHE76QYJ-B-PvZD0K.mjs → radar-NHE76QYJ-CO5ECFHq.mjs} +1 -1
- package/dist/{radar-NHE76QYJ-CdtC4C8F.js → radar-NHE76QYJ-DI4PJJjm.js} +1 -1
- package/dist/requirementDiagram-UZGBJVZJ-CSgb6U9N.js +64 -0
- package/dist/{requirementDiagram-UZGBJVZJ-B5ulaHjE.mjs → requirementDiagram-UZGBJVZJ-Da_yWSD1.mjs} +190 -192
- package/dist/sankeyDiagram-TZEHDZUN-C8jpBnM0.js +10 -0
- package/dist/{sankeyDiagram-TZEHDZUN-DprIPFbe.mjs → sankeyDiagram-TZEHDZUN-Dp3Eyl8Q.mjs} +189 -189
- package/dist/sequenceDiagram-WL72ISMW-BZJ7d_X4.js +145 -0
- package/dist/{sequenceDiagram-WL72ISMW-B4m4oag0.mjs → sequenceDiagram-WL72ISMW-yJKe02sV.mjs} +222 -229
- package/dist/{stateDiagram-FKZM4ZOC-BD4tnS-V.js → stateDiagram-FKZM4ZOC-Cfuygt_P.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-DjkdDbQ2.mjs → stateDiagram-FKZM4ZOC-z0IX85WL.mjs} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-AK86F3i6.mjs → stateDiagram-v2-4FDKWEC3-BDMFqSat.mjs} +2 -2
- package/dist/{stateDiagram-v2-4FDKWEC3-sybMoxOk.js → stateDiagram-v2-4FDKWEC3-BiriAQkj.js} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-BFuQEeZP.mjs → timeline-definition-IT6M3QCI-BmEq-RM3.mjs} +217 -223
- package/dist/timeline-definition-IT6M3QCI-CBmpRgUM.js +61 -0
- package/dist/{treemap-KMMF4GRG-gtrnY16v.mjs → treemap-KMMF4GRG-IaHP18r_.mjs} +1 -1
- package/dist/{treemap-KMMF4GRG-DTnRa789.js → treemap-KMMF4GRG-qP0VzKwW.js} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-CjXiy6m0.mjs → xychartDiagram-PRI3JC2R-BSaI76KX.mjs} +7 -7
- package/dist/xychartDiagram-PRI3JC2R-CQgij0Fy.js +7 -0
- package/package.json +5 -5
- package/dist/architectureDiagram-VXUJARFQ-BPQoZmaM.js +0 -36
- package/dist/blockDiagram-VD42YOAC-Z3Fc3Bew.js +0 -122
- package/dist/c4Diagram-YG6GDRKO-LzDuCZ2V.js +0 -10
- package/dist/channel-6dUO0MQi.js +0 -1
- package/dist/chunk-4BX2VUAB-BwubFldI.js +0 -1
- package/dist/chunk-4BX2VUAB-DldMXCTt.mjs +0 -9
- package/dist/chunk-B4BG7PRW-CKX0VJ-S.js +0 -165
- package/dist/chunk-DI55MBZ5-CMq-O8k2.js +0 -220
- package/dist/chunk-QN33PNHL-B0sO38bZ.js +0 -1
- package/dist/chunk-QN33PNHL-B_PGnTkk.mjs +0 -20
- package/dist/clone-B0UaPT2Z.js +0 -1
- package/dist/cose-bilkent-S5V4N54A-BCaAPmuF.js +0 -1
- package/dist/cytoscape.esm-DkGgpG6d.js +0 -331
- package/dist/dagre-6UL2VRFP-By42zbLA.mjs +0 -446
- package/dist/dagre-6UL2VRFP-DCwfkcWi.js +0 -4
- package/dist/diagram-PSM6KHXK-hjXN9n1N.js +0 -24
- package/dist/diagram-QEK2KX5R-B04ODMim.js +0 -43
- package/dist/diagram-S2PKOQOG-BmCs4MZE.js +0 -24
- package/dist/erDiagram-Q2GNP2WA-4KtQUUuI.js +0 -60
- package/dist/flowDiagram-NV44I4VS-BwpfJE0U.js +0 -162
- package/dist/ganttDiagram-JELNMOA3-D7rI7u8B.js +0 -267
- package/dist/gitGraphDiagram-NY62KEGX-BDTsbSkO.mjs +0 -712
- package/dist/gitGraphDiagram-NY62KEGX-IQ8KriUw.js +0 -65
- package/dist/index-CkYZRBYn.js +0 -676
- package/dist/info-NVLQJR56-B5gDnSIT.mjs +0 -5
- package/dist/journeyDiagram-XKPGCS4Q-POnSekz9.js +0 -139
- package/dist/kanban-definition-3W4ZIXB7-BPr0_7wG.mjs +0 -720
- package/dist/kanban-definition-3W4ZIXB7-Bm064qrf.js +0 -89
- package/dist/mermaid-4DMBBIKO-DDxvQcE9.mjs +0 -4
- package/dist/mermaid-parser.core-BHAgLMGa.js +0 -128
- package/dist/mindmap-definition-VGOIOE7T-CV7bD4HY.js +0 -68
- package/dist/pie-7BOR55EZ-B0-atE_o.mjs +0 -5
- package/dist/quadrantDiagram-AYHSOK5B-B4gVakRV.js +0 -7
- package/dist/requirementDiagram-UZGBJVZJ-0zMPj-SD.js +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-Cl8-L83T.js +0 -10
- package/dist/sequenceDiagram-WL72ISMW-DRQn7Fe4.js +0 -145
- package/dist/timeline-definition-IT6M3QCI-2X4dfyLj.js +0 -61
- package/dist/xychartDiagram-PRI3JC2R-BaFd1In8.js +0 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g as Ht } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { _ as m, r as Ot, l as
|
|
3
|
-
import { g as le } from "./chunk-55IACEB6-
|
|
4
|
-
import { s as ce } from "./chunk-QN33PNHL-
|
|
5
|
-
import { c as he } from "./channel-
|
|
6
|
-
var de = "flowchart-",
|
|
1
|
+
import { g as Ht } from "./chunk-FMBD7UC4-BE8MbNLe.mjs";
|
|
2
|
+
import { _ as m, r as Ot, l as $, f as A1, h as E1, u as qt, v as Xt, x as it, e as Qt, s as Jt, y as Zt, d as $t, g as te, z as ee, o as se, A as ie, J as re, B as ae, C as st, D as ne, E as ue, F as oe } from "./index-DH3CVXwD.mjs";
|
|
3
|
+
import { g as le } from "./chunk-55IACEB6-iKbZBHA5.mjs";
|
|
4
|
+
import { s as ce } from "./chunk-QN33PNHL-ZaWv5vaA.mjs";
|
|
5
|
+
import { c as he } from "./channel-BXGyzQA6.mjs";
|
|
6
|
+
var de = "flowchart-", G1, pe = (G1 = class {
|
|
7
7
|
// cspell:ignore funs
|
|
8
8
|
constructor() {
|
|
9
9
|
this.vertexCounter = 0, this.config = A1(), this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = Qt, this.setAccDescription = Jt, this.setDiagramTitle = Zt, this.getAccTitle = $t, this.getAccDescription = te, this.getDiagramTitle = ee, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = {
|
|
@@ -19,63 +19,62 @@ var de = "flowchart-", P1, pe = (P1 = class {
|
|
|
19
19
|
* @param id - id of the node
|
|
20
20
|
*/
|
|
21
21
|
lookUpDomId(i) {
|
|
22
|
-
for (const
|
|
23
|
-
if (
|
|
24
|
-
return
|
|
22
|
+
for (const r of this.vertices.values())
|
|
23
|
+
if (r.id === i)
|
|
24
|
+
return r.domId;
|
|
25
25
|
return i;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Function called by parser when a node definition has been found
|
|
29
29
|
*/
|
|
30
|
-
addVertex(i, a, n,
|
|
31
|
-
var L, C;
|
|
30
|
+
addVertex(i, r, a, n, l, g, c = {}, A) {
|
|
32
31
|
if (!i || i.trim().length === 0)
|
|
33
32
|
return;
|
|
34
|
-
let
|
|
35
|
-
if (
|
|
36
|
-
let
|
|
37
|
-
|
|
38
|
-
`) ?
|
|
39
|
-
` :
|
|
40
|
-
` +
|
|
41
|
-
}`,
|
|
33
|
+
let u;
|
|
34
|
+
if (A !== void 0) {
|
|
35
|
+
let k;
|
|
36
|
+
A.includes(`
|
|
37
|
+
`) ? k = A + `
|
|
38
|
+
` : k = `{
|
|
39
|
+
` + A + `
|
|
40
|
+
}`, u = ie(k, { schema: re });
|
|
42
41
|
}
|
|
43
|
-
const
|
|
44
|
-
if (
|
|
45
|
-
const
|
|
46
|
-
|
|
42
|
+
const b = this.edges.find((k) => k.id === i);
|
|
43
|
+
if (b) {
|
|
44
|
+
const k = u;
|
|
45
|
+
k?.animate !== void 0 && (b.animate = k.animate), k?.animation !== void 0 && (b.animation = k.animation), k?.curve !== void 0 && (b.interpolate = k.curve);
|
|
47
46
|
return;
|
|
48
47
|
}
|
|
49
|
-
let
|
|
50
|
-
if (
|
|
48
|
+
let y, f = this.vertices.get(i);
|
|
49
|
+
if (f === void 0 && (f = {
|
|
51
50
|
id: i,
|
|
52
51
|
labelType: "text",
|
|
53
52
|
domId: de + i + "-" + this.vertexCounter,
|
|
54
53
|
styles: [],
|
|
55
54
|
classes: []
|
|
56
|
-
}, this.vertices.set(i,
|
|
57
|
-
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
if (
|
|
62
|
-
if (
|
|
63
|
-
throw new Error(`No such shape: ${
|
|
64
|
-
if (!ae(
|
|
65
|
-
throw new Error(`No such shape: ${
|
|
66
|
-
|
|
55
|
+
}, this.vertices.set(i, f)), this.vertexCounter++, r !== void 0 ? (this.config = A1(), y = this.sanitizeText(r.text.trim()), f.labelType = r.type, y.startsWith('"') && y.endsWith('"') && (y = y.substring(1, y.length - 1)), f.text = y) : f.text === void 0 && (f.text = i), a !== void 0 && (f.type = a), n?.forEach((k) => {
|
|
56
|
+
f.styles.push(k);
|
|
57
|
+
}), l?.forEach((k) => {
|
|
58
|
+
f.classes.push(k);
|
|
59
|
+
}), g !== void 0 && (f.dir = g), f.props === void 0 ? f.props = c : c !== void 0 && Object.assign(f.props, c), u !== void 0) {
|
|
60
|
+
if (u.shape) {
|
|
61
|
+
if (u.shape !== u.shape.toLowerCase() || u.shape.includes("_"))
|
|
62
|
+
throw new Error(`No such shape: ${u.shape}. Shape names should be lowercase.`);
|
|
63
|
+
if (!ae(u.shape))
|
|
64
|
+
throw new Error(`No such shape: ${u.shape}.`);
|
|
65
|
+
f.type = u?.shape;
|
|
67
66
|
}
|
|
68
|
-
|
|
67
|
+
u?.label && (f.text = u?.label), u?.icon && (f.icon = u?.icon, !u.label?.trim() && f.text === i && (f.text = "")), u?.form && (f.form = u?.form), u?.pos && (f.pos = u?.pos), u?.img && (f.img = u?.img, !u.label?.trim() && f.text === i && (f.text = "")), u?.constraint && (f.constraint = u.constraint), u.w && (f.assetWidth = Number(u.w)), u.h && (f.assetHeight = Number(u.h));
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
70
|
/**
|
|
72
71
|
* Function called by parser when a link/edge definition has been found
|
|
73
72
|
*
|
|
74
73
|
*/
|
|
75
|
-
addSingleLink(i, a, n
|
|
74
|
+
addSingleLink(i, r, a, n) {
|
|
76
75
|
const c = {
|
|
77
76
|
start: i,
|
|
78
|
-
end:
|
|
77
|
+
end: r,
|
|
79
78
|
type: void 0,
|
|
80
79
|
text: "",
|
|
81
80
|
labelType: "text",
|
|
@@ -83,19 +82,19 @@ var de = "flowchart-", P1, pe = (P1 = class {
|
|
|
83
82
|
isUserDefinedId: !1,
|
|
84
83
|
interpolate: this.edges.defaultInterpolate
|
|
85
84
|
};
|
|
86
|
-
|
|
87
|
-
const
|
|
88
|
-
if (
|
|
89
|
-
c.id =
|
|
85
|
+
$.info("abc78 Got edge...", c);
|
|
86
|
+
const A = a.text;
|
|
87
|
+
if (A !== void 0 && (c.text = this.sanitizeText(A.text.trim()), c.text.startsWith('"') && c.text.endsWith('"') && (c.text = c.text.substring(1, c.text.length - 1)), c.labelType = A.type), a !== void 0 && (c.type = a.type, c.stroke = a.stroke, c.length = a.length > 10 ? 10 : a.length), n && !this.edges.some((u) => u.id === n))
|
|
88
|
+
c.id = n, c.isUserDefinedId = !0;
|
|
90
89
|
else {
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
counter:
|
|
90
|
+
const u = this.edges.filter((b) => b.start === c.start && b.end === c.end);
|
|
91
|
+
u.length === 0 ? c.id = st(c.start, c.end, { counter: 0, prefix: "L" }) : c.id = st(c.start, c.end, {
|
|
92
|
+
counter: u.length + 1,
|
|
94
93
|
prefix: "L"
|
|
95
94
|
});
|
|
96
95
|
}
|
|
97
96
|
if (this.edges.length < (this.config.maxEdges ?? 500))
|
|
98
|
-
|
|
97
|
+
$.info("Pushing edge..."), this.edges.push(c);
|
|
99
98
|
else
|
|
100
99
|
throw new Error(
|
|
101
100
|
`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
@@ -108,47 +107,46 @@ You have to call mermaid.initialize.`
|
|
|
108
107
|
isLinkData(i) {
|
|
109
108
|
return i !== null && typeof i == "object" && "id" in i && typeof i.id == "string";
|
|
110
109
|
}
|
|
111
|
-
addLink(i,
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
for (const
|
|
115
|
-
for (const
|
|
116
|
-
const c =
|
|
117
|
-
c &&
|
|
110
|
+
addLink(i, r, a) {
|
|
111
|
+
const n = this.isLinkData(a) ? a.id.replace("@", "") : void 0;
|
|
112
|
+
$.info("addLink", i, r, n);
|
|
113
|
+
for (const l of i)
|
|
114
|
+
for (const g of r) {
|
|
115
|
+
const c = l === i[i.length - 1], A = g === r[0];
|
|
116
|
+
c && A ? this.addSingleLink(l, g, a, n) : this.addSingleLink(l, g, a, void 0);
|
|
118
117
|
}
|
|
119
118
|
}
|
|
120
119
|
/**
|
|
121
120
|
* Updates a link's line interpolation algorithm
|
|
122
121
|
*/
|
|
123
|
-
updateLinkInterpolate(i,
|
|
124
|
-
i.forEach((
|
|
125
|
-
|
|
122
|
+
updateLinkInterpolate(i, r) {
|
|
123
|
+
i.forEach((a) => {
|
|
124
|
+
a === "default" ? this.edges.defaultInterpolate = r : this.edges[a].interpolate = r;
|
|
126
125
|
});
|
|
127
126
|
}
|
|
128
127
|
/**
|
|
129
128
|
* Updates a link with a style
|
|
130
129
|
*
|
|
131
130
|
*/
|
|
132
|
-
updateLink(i,
|
|
133
|
-
i.forEach((
|
|
134
|
-
|
|
135
|
-
if (typeof n == "number" && n >= this.edges.length)
|
|
131
|
+
updateLink(i, r) {
|
|
132
|
+
i.forEach((a) => {
|
|
133
|
+
if (typeof a == "number" && a >= this.edges.length)
|
|
136
134
|
throw new Error(
|
|
137
|
-
`The index ${
|
|
135
|
+
`The index ${a} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`
|
|
138
136
|
);
|
|
139
|
-
|
|
137
|
+
a === "default" ? this.edges.defaultStyle = r : (this.edges[a].style = r, (this.edges[a]?.style?.length ?? 0) > 0 && !this.edges[a]?.style?.some((n) => n?.startsWith("fill")) && this.edges[a]?.style?.push("fill:none"));
|
|
140
138
|
});
|
|
141
139
|
}
|
|
142
|
-
addClass(i,
|
|
143
|
-
const
|
|
144
|
-
i.split(",").forEach((
|
|
145
|
-
let
|
|
146
|
-
|
|
147
|
-
if (/color/.exec(
|
|
148
|
-
const c =
|
|
149
|
-
|
|
140
|
+
addClass(i, r) {
|
|
141
|
+
const a = r.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
|
|
142
|
+
i.split(",").forEach((n) => {
|
|
143
|
+
let l = this.classes.get(n);
|
|
144
|
+
l === void 0 && (l = { id: n, styles: [], textStyles: [] }, this.classes.set(n, l)), a?.forEach((g) => {
|
|
145
|
+
if (/color/.exec(g)) {
|
|
146
|
+
const c = g.replace("fill", "bgFill");
|
|
147
|
+
l.textStyles.push(c);
|
|
150
148
|
}
|
|
151
|
-
|
|
149
|
+
l.styles.push(g);
|
|
152
150
|
});
|
|
153
151
|
});
|
|
154
152
|
}
|
|
@@ -165,43 +163,43 @@ You have to call mermaid.initialize.`
|
|
|
165
163
|
* @param ids - Comma separated list of ids
|
|
166
164
|
* @param className - Class to add
|
|
167
165
|
*/
|
|
168
|
-
setClass(i,
|
|
169
|
-
for (const
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
const
|
|
175
|
-
|
|
166
|
+
setClass(i, r) {
|
|
167
|
+
for (const a of i.split(",")) {
|
|
168
|
+
const n = this.vertices.get(a);
|
|
169
|
+
n && n.classes.push(r);
|
|
170
|
+
const l = this.edges.find((c) => c.id === a);
|
|
171
|
+
l && l.classes.push(r);
|
|
172
|
+
const g = this.subGraphLookup.get(a);
|
|
173
|
+
g && g.classes.push(r);
|
|
176
174
|
}
|
|
177
175
|
}
|
|
178
|
-
setTooltip(i,
|
|
179
|
-
if (
|
|
180
|
-
|
|
181
|
-
for (const
|
|
182
|
-
this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(
|
|
176
|
+
setTooltip(i, r) {
|
|
177
|
+
if (r !== void 0) {
|
|
178
|
+
r = this.sanitizeText(r);
|
|
179
|
+
for (const a of i.split(","))
|
|
180
|
+
this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(a) : a, r);
|
|
183
181
|
}
|
|
184
182
|
}
|
|
185
|
-
setClickFun(i,
|
|
186
|
-
const
|
|
187
|
-
if (A1().securityLevel !== "loose" ||
|
|
183
|
+
setClickFun(i, r, a) {
|
|
184
|
+
const n = this.lookUpDomId(i);
|
|
185
|
+
if (A1().securityLevel !== "loose" || r === void 0)
|
|
188
186
|
return;
|
|
189
|
-
let
|
|
190
|
-
if (typeof
|
|
191
|
-
|
|
192
|
-
for (let c = 0; c <
|
|
193
|
-
let
|
|
194
|
-
|
|
187
|
+
let l = [];
|
|
188
|
+
if (typeof a == "string") {
|
|
189
|
+
l = a.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
190
|
+
for (let c = 0; c < l.length; c++) {
|
|
191
|
+
let A = l[c].trim();
|
|
192
|
+
A.startsWith('"') && A.endsWith('"') && (A = A.substr(1, A.length - 2)), l[c] = A;
|
|
195
193
|
}
|
|
196
194
|
}
|
|
197
|
-
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
const c = document.querySelector(`[id="${
|
|
195
|
+
l.length === 0 && l.push(i);
|
|
196
|
+
const g = this.vertices.get(i);
|
|
197
|
+
g && (g.haveCallback = !0, this.funs.push(() => {
|
|
198
|
+
const c = document.querySelector(`[id="${n}"]`);
|
|
201
199
|
c !== null && c.addEventListener(
|
|
202
200
|
"click",
|
|
203
201
|
() => {
|
|
204
|
-
it.runFunc(
|
|
202
|
+
it.runFunc(r, ...l);
|
|
205
203
|
},
|
|
206
204
|
!1
|
|
207
205
|
);
|
|
@@ -214,10 +212,10 @@ You have to call mermaid.initialize.`
|
|
|
214
212
|
* @param linkStr - URL to create a link for
|
|
215
213
|
* @param target - Target attribute for the link
|
|
216
214
|
*/
|
|
217
|
-
setLink(i,
|
|
218
|
-
i.split(",").forEach((
|
|
219
|
-
const
|
|
220
|
-
|
|
215
|
+
setLink(i, r, a) {
|
|
216
|
+
i.split(",").forEach((n) => {
|
|
217
|
+
const l = this.vertices.get(n);
|
|
218
|
+
l !== void 0 && (l.link = it.formatUrl(r, this.config), l.linkTarget = a);
|
|
221
219
|
}), this.setClass(i, "clickable");
|
|
222
220
|
}
|
|
223
221
|
getTooltip(i) {
|
|
@@ -230,19 +228,18 @@ You have to call mermaid.initialize.`
|
|
|
230
228
|
* @param functionName - Function to be called on click
|
|
231
229
|
* @param functionArgs - Arguments to be passed to the function
|
|
232
230
|
*/
|
|
233
|
-
setClickEvent(i,
|
|
234
|
-
i.split(",").forEach((
|
|
235
|
-
this.setClickFun(
|
|
231
|
+
setClickEvent(i, r, a) {
|
|
232
|
+
i.split(",").forEach((n) => {
|
|
233
|
+
this.setClickFun(n, r, a);
|
|
236
234
|
}), this.setClass(i, "clickable");
|
|
237
235
|
}
|
|
238
236
|
bindFunctions(i) {
|
|
239
|
-
this.funs.forEach((
|
|
240
|
-
|
|
237
|
+
this.funs.forEach((r) => {
|
|
238
|
+
r(i);
|
|
241
239
|
});
|
|
242
240
|
}
|
|
243
241
|
getDirection() {
|
|
244
|
-
|
|
245
|
-
return (i = this.direction) == null ? void 0 : i.trim();
|
|
242
|
+
return this.direction?.trim();
|
|
246
243
|
}
|
|
247
244
|
/**
|
|
248
245
|
* Retrieval function for fetching the found nodes after parsing has completed.
|
|
@@ -266,16 +263,15 @@ You have to call mermaid.initialize.`
|
|
|
266
263
|
return this.classes;
|
|
267
264
|
}
|
|
268
265
|
setupToolTips(i) {
|
|
269
|
-
let
|
|
270
|
-
(
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
if (f.attr("title") === null)
|
|
266
|
+
let r = E1(".mermaidTooltip");
|
|
267
|
+
(r._groups || r)[0][0] === null && (r = E1("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), E1(i).select("svg").selectAll("g.node").on("mouseover", (l) => {
|
|
268
|
+
const g = E1(l.currentTarget);
|
|
269
|
+
if (g.attr("title") === null)
|
|
274
270
|
return;
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
}).on("mouseout", (
|
|
278
|
-
|
|
271
|
+
const A = l.currentTarget?.getBoundingClientRect();
|
|
272
|
+
r.transition().duration(200).style("opacity", ".9"), r.text(g.attr("title")).style("left", window.scrollX + A.left + (A.right - A.left) / 2 + "px").style("top", window.scrollY + A.bottom + "px"), r.html(r.html().replace(/<br\/>/g, "<br/>")), g.classed("hover", !0);
|
|
273
|
+
}).on("mouseout", (l) => {
|
|
274
|
+
r.transition().duration(500).style("opacity", 0), E1(l.currentTarget).classed("hover", !1);
|
|
279
275
|
});
|
|
280
276
|
}
|
|
281
277
|
/**
|
|
@@ -291,68 +287,68 @@ You have to call mermaid.initialize.`
|
|
|
291
287
|
defaultStyle() {
|
|
292
288
|
return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
|
|
293
289
|
}
|
|
294
|
-
addSubGraph(i,
|
|
295
|
-
let
|
|
296
|
-
i ===
|
|
297
|
-
const c = (/* @__PURE__ */ m((
|
|
298
|
-
const
|
|
299
|
-
let
|
|
300
|
-
return { nodeList:
|
|
301
|
-
const
|
|
302
|
-
return W.stmt && W.stmt === "dir" ? (
|
|
303
|
-
}), dir:
|
|
304
|
-
}, "uniq"))(
|
|
305
|
-
let
|
|
306
|
-
const
|
|
307
|
-
if (
|
|
308
|
-
for (let
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const
|
|
312
|
-
id:
|
|
313
|
-
nodes:
|
|
314
|
-
title:
|
|
290
|
+
addSubGraph(i, r, a) {
|
|
291
|
+
let n = i.text.trim(), l = a.text;
|
|
292
|
+
i === a && /\s/.exec(a.text) && (n = void 0);
|
|
293
|
+
const c = (/* @__PURE__ */ m((f) => {
|
|
294
|
+
const k = { boolean: {}, number: {}, string: {} }, x = [];
|
|
295
|
+
let T;
|
|
296
|
+
return { nodeList: f.filter(function(W) {
|
|
297
|
+
const J = typeof W;
|
|
298
|
+
return W.stmt && W.stmt === "dir" ? (T = W.value, !1) : W.trim() === "" ? !1 : J in k ? k[J].hasOwnProperty(W) ? !1 : k[J][W] = !0 : x.includes(W) ? !1 : x.push(W);
|
|
299
|
+
}), dir: T };
|
|
300
|
+
}, "uniq"))(r.flat()), A = c.nodeList;
|
|
301
|
+
let u = c.dir;
|
|
302
|
+
const b = A1().flowchart ?? {};
|
|
303
|
+
if (u = u ?? (b.inheritDir ? this.getDirection() ?? A1().direction ?? void 0 : void 0), this.version === "gen-1")
|
|
304
|
+
for (let f = 0; f < A.length; f++)
|
|
305
|
+
A[f] = this.lookUpDomId(A[f]);
|
|
306
|
+
n = n ?? "subGraph" + this.subCount, l = l || "", l = this.sanitizeText(l), this.subCount = this.subCount + 1;
|
|
307
|
+
const y = {
|
|
308
|
+
id: n,
|
|
309
|
+
nodes: A,
|
|
310
|
+
title: l.trim(),
|
|
315
311
|
classes: [],
|
|
316
|
-
dir:
|
|
317
|
-
labelType:
|
|
312
|
+
dir: u,
|
|
313
|
+
labelType: a.type
|
|
318
314
|
};
|
|
319
|
-
return
|
|
315
|
+
return $.info("Adding", y.id, y.nodes, y.dir), y.nodes = this.makeUniq(y, this.subGraphs).nodes, this.subGraphs.push(y), this.subGraphLookup.set(n, y), n;
|
|
320
316
|
}
|
|
321
317
|
getPosForId(i) {
|
|
322
|
-
for (const [
|
|
323
|
-
if (
|
|
324
|
-
return
|
|
318
|
+
for (const [r, a] of this.subGraphs.entries())
|
|
319
|
+
if (a.id === i)
|
|
320
|
+
return r;
|
|
325
321
|
return -1;
|
|
326
322
|
}
|
|
327
|
-
indexNodes2(i,
|
|
328
|
-
const
|
|
323
|
+
indexNodes2(i, r) {
|
|
324
|
+
const a = this.subGraphs[r].nodes;
|
|
329
325
|
if (this.secCount = this.secCount + 1, this.secCount > 2e3)
|
|
330
326
|
return {
|
|
331
327
|
result: !1,
|
|
332
328
|
count: 0
|
|
333
329
|
};
|
|
334
|
-
if (this.posCrossRef[this.secCount] =
|
|
330
|
+
if (this.posCrossRef[this.secCount] = r, this.subGraphs[r].id === i)
|
|
335
331
|
return {
|
|
336
332
|
result: !0,
|
|
337
333
|
count: 0
|
|
338
334
|
};
|
|
339
|
-
let
|
|
340
|
-
for (;
|
|
341
|
-
const
|
|
342
|
-
if (
|
|
343
|
-
const c = this.indexNodes2(i,
|
|
335
|
+
let n = 0, l = 1;
|
|
336
|
+
for (; n < a.length; ) {
|
|
337
|
+
const g = this.getPosForId(a[n]);
|
|
338
|
+
if (g >= 0) {
|
|
339
|
+
const c = this.indexNodes2(i, g);
|
|
344
340
|
if (c.result)
|
|
345
341
|
return {
|
|
346
342
|
result: !0,
|
|
347
|
-
count:
|
|
343
|
+
count: l + c.count
|
|
348
344
|
};
|
|
349
|
-
|
|
345
|
+
l = l + c.count;
|
|
350
346
|
}
|
|
351
|
-
|
|
347
|
+
n = n + 1;
|
|
352
348
|
}
|
|
353
349
|
return {
|
|
354
350
|
result: !1,
|
|
355
|
-
count:
|
|
351
|
+
count: l
|
|
356
352
|
};
|
|
357
353
|
}
|
|
358
354
|
getDepthFirstPos(i) {
|
|
@@ -368,68 +364,68 @@ You have to call mermaid.initialize.`
|
|
|
368
364
|
return this.firstGraphFlag ? (this.firstGraphFlag = !1, !0) : !1;
|
|
369
365
|
}
|
|
370
366
|
destructStartLink(i) {
|
|
371
|
-
let
|
|
372
|
-
switch (
|
|
367
|
+
let r = i.trim(), a = "arrow_open";
|
|
368
|
+
switch (r[0]) {
|
|
373
369
|
case "<":
|
|
374
|
-
|
|
370
|
+
a = "arrow_point", r = r.slice(1);
|
|
375
371
|
break;
|
|
376
372
|
case "x":
|
|
377
|
-
|
|
373
|
+
a = "arrow_cross", r = r.slice(1);
|
|
378
374
|
break;
|
|
379
375
|
case "o":
|
|
380
|
-
|
|
376
|
+
a = "arrow_circle", r = r.slice(1);
|
|
381
377
|
break;
|
|
382
378
|
}
|
|
383
|
-
let
|
|
384
|
-
return
|
|
385
|
-
}
|
|
386
|
-
countChar(i,
|
|
387
|
-
const
|
|
388
|
-
let
|
|
389
|
-
for (let
|
|
390
|
-
|
|
391
|
-
return
|
|
379
|
+
let n = "normal";
|
|
380
|
+
return r.includes("=") && (n = "thick"), r.includes(".") && (n = "dotted"), { type: a, stroke: n };
|
|
381
|
+
}
|
|
382
|
+
countChar(i, r) {
|
|
383
|
+
const a = r.length;
|
|
384
|
+
let n = 0;
|
|
385
|
+
for (let l = 0; l < a; ++l)
|
|
386
|
+
r[l] === i && ++n;
|
|
387
|
+
return n;
|
|
392
388
|
}
|
|
393
389
|
destructEndLink(i) {
|
|
394
|
-
const
|
|
395
|
-
let
|
|
396
|
-
switch (
|
|
390
|
+
const r = i.trim();
|
|
391
|
+
let a = r.slice(0, -1), n = "arrow_open";
|
|
392
|
+
switch (r.slice(-1)) {
|
|
397
393
|
case "x":
|
|
398
|
-
|
|
394
|
+
n = "arrow_cross", r.startsWith("x") && (n = "double_" + n, a = a.slice(1));
|
|
399
395
|
break;
|
|
400
396
|
case ">":
|
|
401
|
-
|
|
397
|
+
n = "arrow_point", r.startsWith("<") && (n = "double_" + n, a = a.slice(1));
|
|
402
398
|
break;
|
|
403
399
|
case "o":
|
|
404
|
-
|
|
400
|
+
n = "arrow_circle", r.startsWith("o") && (n = "double_" + n, a = a.slice(1));
|
|
405
401
|
break;
|
|
406
402
|
}
|
|
407
|
-
let
|
|
408
|
-
|
|
409
|
-
const c = this.countChar(".",
|
|
410
|
-
return c && (
|
|
411
|
-
}
|
|
412
|
-
destructLink(i,
|
|
413
|
-
const
|
|
414
|
-
let
|
|
415
|
-
if (
|
|
416
|
-
if (
|
|
403
|
+
let l = "normal", g = a.length - 1;
|
|
404
|
+
a.startsWith("=") && (l = "thick"), a.startsWith("~") && (l = "invisible");
|
|
405
|
+
const c = this.countChar(".", a);
|
|
406
|
+
return c && (l = "dotted", g = c), { type: n, stroke: l, length: g };
|
|
407
|
+
}
|
|
408
|
+
destructLink(i, r) {
|
|
409
|
+
const a = this.destructEndLink(i);
|
|
410
|
+
let n;
|
|
411
|
+
if (r) {
|
|
412
|
+
if (n = this.destructStartLink(r), n.stroke !== a.stroke)
|
|
417
413
|
return { type: "INVALID", stroke: "INVALID" };
|
|
418
|
-
if (
|
|
419
|
-
|
|
414
|
+
if (n.type === "arrow_open")
|
|
415
|
+
n.type = a.type;
|
|
420
416
|
else {
|
|
421
|
-
if (
|
|
417
|
+
if (n.type !== a.type)
|
|
422
418
|
return { type: "INVALID", stroke: "INVALID" };
|
|
423
|
-
|
|
419
|
+
n.type = "double_" + n.type;
|
|
424
420
|
}
|
|
425
|
-
return
|
|
421
|
+
return n.type === "double_arrow" && (n.type = "double_arrow_point"), n.length = a.length, n;
|
|
426
422
|
}
|
|
427
|
-
return
|
|
423
|
+
return a;
|
|
428
424
|
}
|
|
429
425
|
// Todo optimizer this by caching existing nodes
|
|
430
|
-
exists(i,
|
|
431
|
-
for (const
|
|
432
|
-
if (
|
|
426
|
+
exists(i, r) {
|
|
427
|
+
for (const a of i)
|
|
428
|
+
if (a.nodes.includes(r))
|
|
433
429
|
return !0;
|
|
434
430
|
return !1;
|
|
435
431
|
}
|
|
@@ -437,11 +433,11 @@ You have to call mermaid.initialize.`
|
|
|
437
433
|
* Deletes an id from all subgraphs
|
|
438
434
|
*
|
|
439
435
|
*/
|
|
440
|
-
makeUniq(i,
|
|
441
|
-
const
|
|
442
|
-
return i.nodes.forEach((
|
|
443
|
-
this.exists(
|
|
444
|
-
}), { nodes:
|
|
436
|
+
makeUniq(i, r) {
|
|
437
|
+
const a = [];
|
|
438
|
+
return i.nodes.forEach((n, l) => {
|
|
439
|
+
this.exists(r, n) || a.push(i.nodes[l]);
|
|
440
|
+
}), { nodes: a };
|
|
445
441
|
}
|
|
446
442
|
getTypeFromVertex(i) {
|
|
447
443
|
if (i.img)
|
|
@@ -460,43 +456,42 @@ You have to call mermaid.initialize.`
|
|
|
460
456
|
return i.type;
|
|
461
457
|
}
|
|
462
458
|
}
|
|
463
|
-
findNode(i,
|
|
464
|
-
return i.find((
|
|
459
|
+
findNode(i, r) {
|
|
460
|
+
return i.find((a) => a.id === r);
|
|
465
461
|
}
|
|
466
462
|
destructEdgeType(i) {
|
|
467
|
-
let
|
|
463
|
+
let r = "none", a = "arrow_point";
|
|
468
464
|
switch (i) {
|
|
469
465
|
case "arrow_point":
|
|
470
466
|
case "arrow_circle":
|
|
471
467
|
case "arrow_cross":
|
|
472
|
-
|
|
468
|
+
a = i;
|
|
473
469
|
break;
|
|
474
470
|
case "double_arrow_point":
|
|
475
471
|
case "double_arrow_circle":
|
|
476
472
|
case "double_arrow_cross":
|
|
477
|
-
|
|
473
|
+
r = i.replace("double_", ""), a = r;
|
|
478
474
|
break;
|
|
479
475
|
}
|
|
480
|
-
return { arrowTypeStart:
|
|
476
|
+
return { arrowTypeStart: r, arrowTypeEnd: a };
|
|
481
477
|
}
|
|
482
|
-
addNodeFromVertex(i, a, n,
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
r.cssStyles = i.styles, r.cssCompiledStyles = this.getCompiledStyles(i.classes), r.cssClasses = i.classes.join(" ");
|
|
478
|
+
addNodeFromVertex(i, r, a, n, l, g) {
|
|
479
|
+
const c = a.get(i.id), A = n.get(i.id) ?? !1, u = this.findNode(r, i.id);
|
|
480
|
+
if (u)
|
|
481
|
+
u.cssStyles = i.styles, u.cssCompiledStyles = this.getCompiledStyles(i.classes), u.cssClasses = i.classes.join(" ");
|
|
487
482
|
else {
|
|
488
|
-
const
|
|
483
|
+
const b = {
|
|
489
484
|
id: i.id,
|
|
490
485
|
label: i.text,
|
|
491
486
|
labelStyle: "",
|
|
492
487
|
parentId: c,
|
|
493
|
-
padding:
|
|
488
|
+
padding: l.flowchart?.padding || 8,
|
|
494
489
|
cssStyles: i.styles,
|
|
495
490
|
cssCompiledStyles: this.getCompiledStyles(["default", "node", ...i.classes]),
|
|
496
491
|
cssClasses: "default " + i.classes.join(" "),
|
|
497
492
|
dir: i.dir,
|
|
498
493
|
domId: i.domId,
|
|
499
|
-
look:
|
|
494
|
+
look: g,
|
|
500
495
|
link: i.link,
|
|
501
496
|
linkTarget: i.linkTarget,
|
|
502
497
|
tooltip: this.getTooltip(i.id),
|
|
@@ -507,143 +502,141 @@ You have to call mermaid.initialize.`
|
|
|
507
502
|
assetHeight: i.assetHeight,
|
|
508
503
|
constraint: i.constraint
|
|
509
504
|
};
|
|
510
|
-
|
|
511
|
-
...
|
|
505
|
+
A ? r.push({
|
|
506
|
+
...b,
|
|
512
507
|
isGroup: !0,
|
|
513
508
|
shape: "rect"
|
|
514
|
-
}) :
|
|
515
|
-
...
|
|
509
|
+
}) : r.push({
|
|
510
|
+
...b,
|
|
516
511
|
isGroup: !1,
|
|
517
512
|
shape: this.getTypeFromVertex(i)
|
|
518
513
|
});
|
|
519
514
|
}
|
|
520
515
|
}
|
|
521
516
|
getCompiledStyles(i) {
|
|
522
|
-
let
|
|
523
|
-
for (const
|
|
524
|
-
const
|
|
525
|
-
|
|
517
|
+
let r = [];
|
|
518
|
+
for (const a of i) {
|
|
519
|
+
const n = this.classes.get(a);
|
|
520
|
+
n?.styles && (r = [...r, ...n.styles ?? []].map((l) => l.trim())), n?.textStyles && (r = [...r, ...n.textStyles ?? []].map((l) => l.trim()));
|
|
526
521
|
}
|
|
527
|
-
return
|
|
522
|
+
return r;
|
|
528
523
|
}
|
|
529
524
|
getData() {
|
|
530
|
-
const i = A1(),
|
|
531
|
-
for (let
|
|
532
|
-
const
|
|
533
|
-
|
|
534
|
-
for (const
|
|
535
|
-
|
|
525
|
+
const i = A1(), r = [], a = [], n = this.getSubGraphs(), l = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
526
|
+
for (let u = n.length - 1; u >= 0; u--) {
|
|
527
|
+
const b = n[u];
|
|
528
|
+
b.nodes.length > 0 && g.set(b.id, !0);
|
|
529
|
+
for (const y of b.nodes)
|
|
530
|
+
l.set(y, b.id);
|
|
536
531
|
}
|
|
537
|
-
for (let
|
|
538
|
-
const
|
|
539
|
-
|
|
540
|
-
id:
|
|
541
|
-
label:
|
|
532
|
+
for (let u = n.length - 1; u >= 0; u--) {
|
|
533
|
+
const b = n[u];
|
|
534
|
+
r.push({
|
|
535
|
+
id: b.id,
|
|
536
|
+
label: b.title,
|
|
542
537
|
labelStyle: "",
|
|
543
|
-
parentId:
|
|
538
|
+
parentId: l.get(b.id),
|
|
544
539
|
padding: 8,
|
|
545
|
-
cssCompiledStyles: this.getCompiledStyles(
|
|
546
|
-
cssClasses:
|
|
540
|
+
cssCompiledStyles: this.getCompiledStyles(b.classes),
|
|
541
|
+
cssClasses: b.classes.join(" "),
|
|
547
542
|
shape: "rect",
|
|
548
|
-
dir:
|
|
543
|
+
dir: b.dir,
|
|
549
544
|
isGroup: !0,
|
|
550
545
|
look: i.look
|
|
551
546
|
});
|
|
552
547
|
}
|
|
553
|
-
this.getVertices().forEach((
|
|
554
|
-
this.addNodeFromVertex(
|
|
548
|
+
this.getVertices().forEach((u) => {
|
|
549
|
+
this.addNodeFromVertex(u, r, l, g, i, i.look || "classic");
|
|
555
550
|
});
|
|
556
|
-
const
|
|
557
|
-
return
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
label: r.text,
|
|
551
|
+
const A = this.getEdges();
|
|
552
|
+
return A.forEach((u, b) => {
|
|
553
|
+
const { arrowTypeStart: y, arrowTypeEnd: f } = this.destructEdgeType(u.type), k = [...A.defaultStyle ?? []];
|
|
554
|
+
u.style && k.push(...u.style);
|
|
555
|
+
const x = {
|
|
556
|
+
id: st(u.start, u.end, { counter: b, prefix: "L" }, u.id),
|
|
557
|
+
isUserDefinedId: u.isUserDefinedId,
|
|
558
|
+
start: u.start,
|
|
559
|
+
end: u.end,
|
|
560
|
+
type: u.type ?? "normal",
|
|
561
|
+
label: u.text,
|
|
568
562
|
labelpos: "c",
|
|
569
|
-
thickness:
|
|
570
|
-
minlen:
|
|
571
|
-
classes:
|
|
572
|
-
arrowTypeStart:
|
|
573
|
-
arrowTypeEnd:
|
|
563
|
+
thickness: u.stroke,
|
|
564
|
+
minlen: u.length,
|
|
565
|
+
classes: u?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
|
|
566
|
+
arrowTypeStart: u?.stroke === "invisible" || u?.type === "arrow_open" ? "none" : y,
|
|
567
|
+
arrowTypeEnd: u?.stroke === "invisible" || u?.type === "arrow_open" ? "none" : f,
|
|
574
568
|
arrowheadStyle: "fill: #333",
|
|
575
|
-
cssCompiledStyles: this.getCompiledStyles(
|
|
576
|
-
labelStyle:
|
|
577
|
-
style:
|
|
578
|
-
pattern:
|
|
569
|
+
cssCompiledStyles: this.getCompiledStyles(u.classes),
|
|
570
|
+
labelStyle: k,
|
|
571
|
+
style: k,
|
|
572
|
+
pattern: u.stroke,
|
|
579
573
|
look: i.look,
|
|
580
|
-
animate:
|
|
581
|
-
animation:
|
|
582
|
-
curve:
|
|
574
|
+
animate: u.animate,
|
|
575
|
+
animation: u.animation,
|
|
576
|
+
curve: u.interpolate || this.edges.defaultInterpolate || i.flowchart?.curve
|
|
583
577
|
};
|
|
584
|
-
|
|
585
|
-
}), { nodes:
|
|
578
|
+
a.push(x);
|
|
579
|
+
}), { nodes: r, edges: a, other: {}, config: i };
|
|
586
580
|
}
|
|
587
581
|
defaultConfig() {
|
|
588
582
|
return ue.flowchart;
|
|
589
583
|
}
|
|
590
|
-
}, m(
|
|
584
|
+
}, m(G1, "FlowDB"), G1), fe = /* @__PURE__ */ m(function(s, i) {
|
|
591
585
|
return i.db.getClasses();
|
|
592
|
-
}, "getClasses"), ge = /* @__PURE__ */ m(async function(s, i,
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
const { securityLevel: u, flowchart: o, layout: f } = A1();
|
|
586
|
+
}, "getClasses"), ge = /* @__PURE__ */ m(async function(s, i, r, a) {
|
|
587
|
+
$.info("REF0:"), $.info("Drawing state diagram (v2)", i);
|
|
588
|
+
const { securityLevel: n, flowchart: l, layout: g } = A1();
|
|
596
589
|
let c;
|
|
597
|
-
|
|
598
|
-
const
|
|
599
|
-
|
|
600
|
-
const
|
|
601
|
-
|
|
602
|
-
const
|
|
603
|
-
|
|
590
|
+
n === "sandbox" && (c = E1("#i" + i));
|
|
591
|
+
const A = n === "sandbox" ? c.nodes()[0].contentDocument : document;
|
|
592
|
+
$.debug("Before getData: ");
|
|
593
|
+
const u = a.db.getData();
|
|
594
|
+
$.debug("Data: ", u);
|
|
595
|
+
const b = le(i, n), y = a.db.getDirection();
|
|
596
|
+
u.type = a.type, u.layoutAlgorithm = qt(g), u.layoutAlgorithm === "dagre" && g === "elk" && $.warn(
|
|
604
597
|
"flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."
|
|
605
|
-
),
|
|
606
|
-
const
|
|
598
|
+
), u.direction = y, u.nodeSpacing = l?.nodeSpacing || 50, u.rankSpacing = l?.rankSpacing || 50, u.markers = ["point", "circle", "cross"], u.diagramId = i, $.debug("REF1:", u), await Xt(u, b);
|
|
599
|
+
const f = u.config.flowchart?.diagramPadding ?? 8;
|
|
607
600
|
it.insertTitle(
|
|
608
|
-
|
|
601
|
+
b,
|
|
609
602
|
"flowchartTitleText",
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
), ce(
|
|
613
|
-
for (const
|
|
614
|
-
const
|
|
615
|
-
if (!
|
|
603
|
+
l?.titleTopMargin || 0,
|
|
604
|
+
a.db.getDiagramTitle()
|
|
605
|
+
), ce(b, f, "flowchart", l?.useMaxWidth || !1);
|
|
606
|
+
for (const k of u.nodes) {
|
|
607
|
+
const x = E1(`#${i} [id="${k.id}"]`);
|
|
608
|
+
if (!x || !k.link)
|
|
616
609
|
continue;
|
|
617
|
-
const
|
|
618
|
-
|
|
619
|
-
const
|
|
620
|
-
return
|
|
621
|
-
}, ":first-child"),
|
|
622
|
-
|
|
623
|
-
return
|
|
610
|
+
const T = A.createElementNS("http://www.w3.org/2000/svg", "a");
|
|
611
|
+
T.setAttributeNS("http://www.w3.org/2000/svg", "class", k.cssClasses), T.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), n === "sandbox" ? T.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : k.linkTarget && T.setAttributeNS("http://www.w3.org/2000/svg", "target", k.linkTarget);
|
|
612
|
+
const d1 = x.insert(function() {
|
|
613
|
+
return T;
|
|
614
|
+
}, ":first-child"), W = x.select(".label-container");
|
|
615
|
+
W && d1.append(function() {
|
|
616
|
+
return W.node();
|
|
624
617
|
});
|
|
625
|
-
const
|
|
626
|
-
|
|
627
|
-
return
|
|
618
|
+
const J = x.select(".label");
|
|
619
|
+
J && d1.append(function() {
|
|
620
|
+
return J.node();
|
|
628
621
|
});
|
|
629
622
|
}
|
|
630
623
|
}, "draw"), Ae = {
|
|
631
624
|
getClasses: fe,
|
|
632
625
|
draw: ge
|
|
633
|
-
}, rt = function() {
|
|
634
|
-
var s = /* @__PURE__ */ m(function(g1, h,
|
|
635
|
-
for (
|
|
636
|
-
return
|
|
637
|
-
}, "o"), i = [1, 4],
|
|
626
|
+
}, rt = (function() {
|
|
627
|
+
var s = /* @__PURE__ */ m(function(g1, h, d, p) {
|
|
628
|
+
for (d = d || {}, p = g1.length; p--; d[g1[p]] = h) ;
|
|
629
|
+
return d;
|
|
630
|
+
}, "o"), i = [1, 4], r = [1, 3], a = [1, 5], n = [1, 8, 9, 10, 11, 27, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], l = [2, 2], g = [1, 13], c = [1, 14], A = [1, 15], u = [1, 16], b = [1, 23], y = [1, 25], f = [1, 26], k = [1, 27], x = [1, 49], T = [1, 48], d1 = [1, 29], W = [1, 30], J = [1, 31], O1 = [1, 32], M1 = [1, 33], V = [1, 44], w = [1, 46], I = [1, 42], R = [1, 47], N = [1, 43], G = [1, 50], P = [1, 45], O = [1, 51], M = [1, 52], U1 = [1, 34], W1 = [1, 35], z1 = [1, 36], j1 = [1, 37], p1 = [1, 57], F = [1, 8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], t1 = [1, 61], e1 = [1, 60], s1 = [1, 62], C1 = [8, 9, 11, 75, 77, 78], at = [1, 78], D1 = [1, 91], S1 = [1, 96], x1 = [1, 95], T1 = [1, 92], y1 = [1, 88], F1 = [1, 94], _1 = [1, 90], B1 = [1, 97], v1 = [1, 93], L1 = [1, 98], V1 = [1, 89], b1 = [8, 9, 10, 11, 40, 75, 77, 78], z = [8, 9, 10, 11, 40, 46, 75, 77, 78], H = [8, 9, 10, 11, 29, 40, 44, 46, 48, 50, 52, 54, 56, 58, 60, 63, 65, 67, 68, 70, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], nt = [8, 9, 11, 44, 60, 75, 77, 78, 89, 102, 105, 106, 109, 111, 114, 115, 116], w1 = [44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], ut = [1, 121], ot = [1, 122], K1 = [1, 124], Y1 = [1, 123], lt = [44, 60, 62, 74, 89, 102, 105, 106, 109, 111, 114, 115, 116], ct = [1, 133], ht = [1, 147], dt = [1, 148], pt = [1, 149], ft = [1, 150], gt = [1, 135], At = [1, 137], bt = [1, 141], kt = [1, 142], mt = [1, 143], Et = [1, 144], Ct = [1, 145], Dt = [1, 146], St = [1, 151], xt = [1, 152], Tt = [1, 131], yt = [1, 132], Ft = [1, 139], _t = [1, 134], Bt = [1, 138], vt = [1, 136], Q1 = [8, 9, 10, 11, 27, 32, 34, 36, 38, 44, 60, 84, 85, 86, 87, 88, 89, 102, 105, 106, 109, 111, 114, 115, 116, 121, 122, 123, 124], Lt = [1, 154], Vt = [1, 156], v = [8, 9, 11], q = [8, 9, 10, 11, 14, 44, 60, 89, 105, 106, 109, 111, 114, 115, 116], E = [1, 176], j = [1, 172], K = [1, 173], C = [1, 177], D = [1, 174], S = [1, 175], I1 = [77, 116, 119], _ = [8, 9, 10, 11, 12, 14, 27, 29, 32, 44, 60, 75, 84, 85, 86, 87, 88, 89, 90, 105, 109, 111, 114, 115, 116], wt = [10, 106], f1 = [31, 49, 51, 53, 55, 57, 62, 64, 66, 67, 69, 71, 116, 117, 118], i1 = [1, 247], r1 = [1, 245], a1 = [1, 249], n1 = [1, 243], u1 = [1, 244], o1 = [1, 246], l1 = [1, 248], c1 = [1, 250], R1 = [1, 268], It = [8, 9, 11, 106], Z = [8, 9, 10, 11, 60, 84, 105, 106, 109, 110, 111, 112], J1 = {
|
|
638
631
|
trace: /* @__PURE__ */ m(function() {
|
|
639
632
|
}, "trace"),
|
|
640
633
|
yy: {},
|
|
641
634
|
symbols_: { error: 2, start: 3, graphConfig: 4, document: 5, line: 6, statement: 7, SEMI: 8, NEWLINE: 9, SPACE: 10, EOF: 11, GRAPH: 12, NODIR: 13, DIR: 14, FirstStmtSeparator: 15, ending: 16, endToken: 17, spaceList: 18, spaceListNewline: 19, vertexStatement: 20, separator: 21, styleStatement: 22, linkStyleStatement: 23, classDefStatement: 24, classStatement: 25, clickStatement: 26, subgraph: 27, textNoTags: 28, SQS: 29, text: 30, SQE: 31, end: 32, direction: 33, acc_title: 34, acc_title_value: 35, acc_descr: 36, acc_descr_value: 37, acc_descr_multiline_value: 38, shapeData: 39, SHAPE_DATA: 40, link: 41, node: 42, styledVertex: 43, AMP: 44, vertex: 45, STYLE_SEPARATOR: 46, idString: 47, DOUBLECIRCLESTART: 48, DOUBLECIRCLEEND: 49, PS: 50, PE: 51, "(-": 52, "-)": 53, STADIUMSTART: 54, STADIUMEND: 55, SUBROUTINESTART: 56, SUBROUTINEEND: 57, VERTEX_WITH_PROPS_START: 58, "NODE_STRING[field]": 59, COLON: 60, "NODE_STRING[value]": 61, PIPE: 62, CYLINDERSTART: 63, CYLINDEREND: 64, DIAMOND_START: 65, DIAMOND_STOP: 66, TAGEND: 67, TRAPSTART: 68, TRAPEND: 69, INVTRAPSTART: 70, INVTRAPEND: 71, linkStatement: 72, arrowText: 73, TESTSTR: 74, START_LINK: 75, edgeText: 76, LINK: 77, LINK_ID: 78, edgeTextToken: 79, STR: 80, MD_STR: 81, textToken: 82, keywords: 83, STYLE: 84, LINKSTYLE: 85, CLASSDEF: 86, CLASS: 87, CLICK: 88, DOWN: 89, UP: 90, textNoTagsToken: 91, stylesOpt: 92, "idString[vertex]": 93, "idString[class]": 94, CALLBACKNAME: 95, CALLBACKARGS: 96, HREF: 97, LINK_TARGET: 98, "STR[link]": 99, "STR[tooltip]": 100, alphaNum: 101, DEFAULT: 102, numList: 103, INTERPOLATE: 104, NUM: 105, COMMA: 106, style: 107, styleComponent: 108, NODE_STRING: 109, UNIT: 110, BRKT: 111, PCT: 112, idStringToken: 113, MINUS: 114, MULT: 115, UNICODE_TEXT: 116, TEXT: 117, TAGSTART: 118, EDGE_TEXT: 119, alphaNumToken: 120, direction_tb: 121, direction_bt: 122, direction_rl: 123, direction_lr: 124, $accept: 0, $end: 1 },
|
|
642
635
|
terminals_: { 2: "error", 8: "SEMI", 9: "NEWLINE", 10: "SPACE", 11: "EOF", 12: "GRAPH", 13: "NODIR", 14: "DIR", 27: "subgraph", 29: "SQS", 31: "SQE", 32: "end", 34: "acc_title", 35: "acc_title_value", 36: "acc_descr", 37: "acc_descr_value", 38: "acc_descr_multiline_value", 40: "SHAPE_DATA", 44: "AMP", 46: "STYLE_SEPARATOR", 48: "DOUBLECIRCLESTART", 49: "DOUBLECIRCLEEND", 50: "PS", 51: "PE", 52: "(-", 53: "-)", 54: "STADIUMSTART", 55: "STADIUMEND", 56: "SUBROUTINESTART", 57: "SUBROUTINEEND", 58: "VERTEX_WITH_PROPS_START", 59: "NODE_STRING[field]", 60: "COLON", 61: "NODE_STRING[value]", 62: "PIPE", 63: "CYLINDERSTART", 64: "CYLINDEREND", 65: "DIAMOND_START", 66: "DIAMOND_STOP", 67: "TAGEND", 68: "TRAPSTART", 69: "TRAPEND", 70: "INVTRAPSTART", 71: "INVTRAPEND", 74: "TESTSTR", 75: "START_LINK", 77: "LINK", 78: "LINK_ID", 80: "STR", 81: "MD_STR", 84: "STYLE", 85: "LINKSTYLE", 86: "CLASSDEF", 87: "CLASS", 88: "CLICK", 89: "DOWN", 90: "UP", 93: "idString[vertex]", 94: "idString[class]", 95: "CALLBACKNAME", 96: "CALLBACKARGS", 97: "HREF", 98: "LINK_TARGET", 99: "STR[link]", 100: "STR[tooltip]", 102: "DEFAULT", 104: "INTERPOLATE", 105: "NUM", 106: "COMMA", 109: "NODE_STRING", 110: "UNIT", 111: "BRKT", 112: "PCT", 114: "MINUS", 115: "MULT", 116: "UNICODE_TEXT", 117: "TEXT", 118: "TAGSTART", 119: "EDGE_TEXT", 121: "direction_tb", 122: "direction_bt", 123: "direction_rl", 124: "direction_lr" },
|
|
643
636
|
productions_: [0, [3, 2], [5, 0], [5, 2], [6, 1], [6, 1], [6, 1], [6, 1], [6, 1], [4, 2], [4, 2], [4, 2], [4, 3], [16, 2], [16, 1], [17, 1], [17, 1], [17, 1], [15, 1], [15, 1], [15, 2], [19, 2], [19, 2], [19, 1], [19, 1], [18, 2], [18, 1], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 9], [7, 6], [7, 4], [7, 1], [7, 2], [7, 2], [7, 1], [21, 1], [21, 1], [21, 1], [39, 2], [39, 1], [20, 4], [20, 3], [20, 4], [20, 2], [20, 2], [20, 1], [42, 1], [42, 6], [42, 5], [43, 1], [43, 3], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 8], [45, 4], [45, 4], [45, 4], [45, 6], [45, 4], [45, 4], [45, 4], [45, 4], [45, 4], [45, 1], [41, 2], [41, 3], [41, 3], [41, 1], [41, 3], [41, 4], [76, 1], [76, 2], [76, 1], [76, 1], [72, 1], [72, 2], [73, 3], [30, 1], [30, 2], [30, 1], [30, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [28, 1], [28, 2], [28, 1], [28, 1], [24, 5], [25, 5], [26, 2], [26, 4], [26, 3], [26, 5], [26, 3], [26, 5], [26, 5], [26, 7], [26, 2], [26, 4], [26, 2], [26, 4], [26, 4], [26, 6], [22, 5], [23, 5], [23, 5], [23, 9], [23, 9], [23, 7], [23, 7], [103, 1], [103, 3], [92, 1], [92, 3], [107, 1], [107, 2], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [113, 1], [82, 1], [82, 1], [82, 1], [82, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [91, 1], [79, 1], [79, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [120, 1], [47, 1], [47, 2], [101, 1], [101, 2], [33, 1], [33, 1], [33, 1], [33, 1]],
|
|
644
|
-
performAction: /* @__PURE__ */ m(function(h,
|
|
637
|
+
performAction: /* @__PURE__ */ m(function(h, d, p, o, B, t, P1) {
|
|
645
638
|
var e = t.length - 1;
|
|
646
|
-
switch (
|
|
639
|
+
switch (B) {
|
|
647
640
|
case 2:
|
|
648
641
|
this.$ = [];
|
|
649
642
|
break;
|
|
@@ -655,10 +648,10 @@ You have to call mermaid.initialize.`
|
|
|
655
648
|
this.$ = t[e];
|
|
656
649
|
break;
|
|
657
650
|
case 11:
|
|
658
|
-
|
|
651
|
+
o.setDirection("TB"), this.$ = "TB";
|
|
659
652
|
break;
|
|
660
653
|
case 12:
|
|
661
|
-
|
|
654
|
+
o.setDirection(t[e - 1]), this.$ = t[e - 1];
|
|
662
655
|
break;
|
|
663
656
|
case 27:
|
|
664
657
|
this.$ = t[e - 1].nodes;
|
|
@@ -671,20 +664,20 @@ You have to call mermaid.initialize.`
|
|
|
671
664
|
this.$ = [];
|
|
672
665
|
break;
|
|
673
666
|
case 33:
|
|
674
|
-
this.$ =
|
|
667
|
+
this.$ = o.addSubGraph(t[e - 6], t[e - 1], t[e - 4]);
|
|
675
668
|
break;
|
|
676
669
|
case 34:
|
|
677
|
-
this.$ =
|
|
670
|
+
this.$ = o.addSubGraph(t[e - 3], t[e - 1], t[e - 3]);
|
|
678
671
|
break;
|
|
679
672
|
case 35:
|
|
680
|
-
this.$ =
|
|
673
|
+
this.$ = o.addSubGraph(void 0, t[e - 1], void 0);
|
|
681
674
|
break;
|
|
682
675
|
case 37:
|
|
683
|
-
this.$ = t[e].trim(),
|
|
676
|
+
this.$ = t[e].trim(), o.setAccTitle(this.$);
|
|
684
677
|
break;
|
|
685
678
|
case 38:
|
|
686
679
|
case 39:
|
|
687
|
-
this.$ = t[e].trim(),
|
|
680
|
+
this.$ = t[e].trim(), o.setAccDescription(this.$);
|
|
688
681
|
break;
|
|
689
682
|
case 43:
|
|
690
683
|
this.$ = t[e - 1] + t[e];
|
|
@@ -693,19 +686,19 @@ You have to call mermaid.initialize.`
|
|
|
693
686
|
this.$ = t[e];
|
|
694
687
|
break;
|
|
695
688
|
case 45:
|
|
696
|
-
|
|
689
|
+
o.addVertex(t[e - 1][t[e - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, t[e]), o.addLink(t[e - 3].stmt, t[e - 1], t[e - 2]), this.$ = { stmt: t[e - 1], nodes: t[e - 1].concat(t[e - 3].nodes) };
|
|
697
690
|
break;
|
|
698
691
|
case 46:
|
|
699
|
-
|
|
692
|
+
o.addLink(t[e - 2].stmt, t[e], t[e - 1]), this.$ = { stmt: t[e], nodes: t[e].concat(t[e - 2].nodes) };
|
|
700
693
|
break;
|
|
701
694
|
case 47:
|
|
702
|
-
|
|
695
|
+
o.addLink(t[e - 3].stmt, t[e - 1], t[e - 2]), this.$ = { stmt: t[e - 1], nodes: t[e - 1].concat(t[e - 3].nodes) };
|
|
703
696
|
break;
|
|
704
697
|
case 48:
|
|
705
698
|
this.$ = { stmt: t[e - 1], nodes: t[e - 1] };
|
|
706
699
|
break;
|
|
707
700
|
case 49:
|
|
708
|
-
|
|
701
|
+
o.addVertex(t[e - 1][t[e - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, t[e]), this.$ = { stmt: t[e - 1], nodes: t[e - 1], shapeData: t[e] };
|
|
709
702
|
break;
|
|
710
703
|
case 50:
|
|
711
704
|
this.$ = { stmt: t[e], nodes: t[e] };
|
|
@@ -714,7 +707,7 @@ You have to call mermaid.initialize.`
|
|
|
714
707
|
this.$ = [t[e]];
|
|
715
708
|
break;
|
|
716
709
|
case 52:
|
|
717
|
-
|
|
710
|
+
o.addVertex(t[e - 5][t[e - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, t[e - 4]), this.$ = t[e - 5].concat(t[e]);
|
|
718
711
|
break;
|
|
719
712
|
case 53:
|
|
720
713
|
this.$ = t[e - 4].concat(t[e]);
|
|
@@ -723,58 +716,58 @@ You have to call mermaid.initialize.`
|
|
|
723
716
|
this.$ = t[e];
|
|
724
717
|
break;
|
|
725
718
|
case 55:
|
|
726
|
-
this.$ = t[e - 2],
|
|
719
|
+
this.$ = t[e - 2], o.setClass(t[e - 2], t[e]);
|
|
727
720
|
break;
|
|
728
721
|
case 56:
|
|
729
|
-
this.$ = t[e - 3],
|
|
722
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "square");
|
|
730
723
|
break;
|
|
731
724
|
case 57:
|
|
732
|
-
this.$ = t[e - 3],
|
|
725
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "doublecircle");
|
|
733
726
|
break;
|
|
734
727
|
case 58:
|
|
735
|
-
this.$ = t[e - 5],
|
|
728
|
+
this.$ = t[e - 5], o.addVertex(t[e - 5], t[e - 2], "circle");
|
|
736
729
|
break;
|
|
737
730
|
case 59:
|
|
738
|
-
this.$ = t[e - 3],
|
|
731
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "ellipse");
|
|
739
732
|
break;
|
|
740
733
|
case 60:
|
|
741
|
-
this.$ = t[e - 3],
|
|
734
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "stadium");
|
|
742
735
|
break;
|
|
743
736
|
case 61:
|
|
744
|
-
this.$ = t[e - 3],
|
|
737
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "subroutine");
|
|
745
738
|
break;
|
|
746
739
|
case 62:
|
|
747
|
-
this.$ = t[e - 7],
|
|
740
|
+
this.$ = t[e - 7], o.addVertex(t[e - 7], t[e - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[t[e - 5], t[e - 3]]]));
|
|
748
741
|
break;
|
|
749
742
|
case 63:
|
|
750
|
-
this.$ = t[e - 3],
|
|
743
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "cylinder");
|
|
751
744
|
break;
|
|
752
745
|
case 64:
|
|
753
|
-
this.$ = t[e - 3],
|
|
746
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "round");
|
|
754
747
|
break;
|
|
755
748
|
case 65:
|
|
756
|
-
this.$ = t[e - 3],
|
|
749
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "diamond");
|
|
757
750
|
break;
|
|
758
751
|
case 66:
|
|
759
|
-
this.$ = t[e - 5],
|
|
752
|
+
this.$ = t[e - 5], o.addVertex(t[e - 5], t[e - 2], "hexagon");
|
|
760
753
|
break;
|
|
761
754
|
case 67:
|
|
762
|
-
this.$ = t[e - 3],
|
|
755
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "odd");
|
|
763
756
|
break;
|
|
764
757
|
case 68:
|
|
765
|
-
this.$ = t[e - 3],
|
|
758
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "trapezoid");
|
|
766
759
|
break;
|
|
767
760
|
case 69:
|
|
768
|
-
this.$ = t[e - 3],
|
|
761
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "inv_trapezoid");
|
|
769
762
|
break;
|
|
770
763
|
case 70:
|
|
771
|
-
this.$ = t[e - 3],
|
|
764
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "lean_right");
|
|
772
765
|
break;
|
|
773
766
|
case 71:
|
|
774
|
-
this.$ = t[e - 3],
|
|
767
|
+
this.$ = t[e - 3], o.addVertex(t[e - 3], t[e - 1], "lean_left");
|
|
775
768
|
break;
|
|
776
769
|
case 72:
|
|
777
|
-
this.$ = t[e],
|
|
770
|
+
this.$ = t[e], o.addVertex(t[e]);
|
|
778
771
|
break;
|
|
779
772
|
case 73:
|
|
780
773
|
t[e - 1].text = t[e], this.$ = t[e - 1];
|
|
@@ -787,12 +780,12 @@ You have to call mermaid.initialize.`
|
|
|
787
780
|
this.$ = t[e];
|
|
788
781
|
break;
|
|
789
782
|
case 77:
|
|
790
|
-
var
|
|
791
|
-
this.$ = { type:
|
|
783
|
+
var L = o.destructLink(t[e], t[e - 2]);
|
|
784
|
+
this.$ = { type: L.type, stroke: L.stroke, length: L.length, text: t[e - 1] };
|
|
792
785
|
break;
|
|
793
786
|
case 78:
|
|
794
|
-
var
|
|
795
|
-
this.$ = { type:
|
|
787
|
+
var L = o.destructLink(t[e], t[e - 2]);
|
|
788
|
+
this.$ = { type: L.type, stroke: L.stroke, length: L.length, text: t[e - 1], id: t[e - 3] };
|
|
796
789
|
break;
|
|
797
790
|
case 79:
|
|
798
791
|
this.$ = { text: t[e], type: "text" };
|
|
@@ -807,12 +800,12 @@ You have to call mermaid.initialize.`
|
|
|
807
800
|
this.$ = { text: t[e], type: "markdown" };
|
|
808
801
|
break;
|
|
809
802
|
case 83:
|
|
810
|
-
var
|
|
811
|
-
this.$ = { type:
|
|
803
|
+
var L = o.destructLink(t[e]);
|
|
804
|
+
this.$ = { type: L.type, stroke: L.stroke, length: L.length };
|
|
812
805
|
break;
|
|
813
806
|
case 84:
|
|
814
|
-
var
|
|
815
|
-
this.$ = { type:
|
|
807
|
+
var L = o.destructLink(t[e]);
|
|
808
|
+
this.$ = { type: L.type, stroke: L.stroke, length: L.length, id: t[e - 1] };
|
|
816
809
|
break;
|
|
817
810
|
case 85:
|
|
818
811
|
this.$ = t[e - 1];
|
|
@@ -840,69 +833,69 @@ You have to call mermaid.initialize.`
|
|
|
840
833
|
this.$ = { text: t[e], type: "text" };
|
|
841
834
|
break;
|
|
842
835
|
case 105:
|
|
843
|
-
this.$ = t[e - 4],
|
|
836
|
+
this.$ = t[e - 4], o.addClass(t[e - 2], t[e]);
|
|
844
837
|
break;
|
|
845
838
|
case 106:
|
|
846
|
-
this.$ = t[e - 4],
|
|
839
|
+
this.$ = t[e - 4], o.setClass(t[e - 2], t[e]);
|
|
847
840
|
break;
|
|
848
841
|
case 107:
|
|
849
842
|
case 115:
|
|
850
|
-
this.$ = t[e - 1],
|
|
843
|
+
this.$ = t[e - 1], o.setClickEvent(t[e - 1], t[e]);
|
|
851
844
|
break;
|
|
852
845
|
case 108:
|
|
853
846
|
case 116:
|
|
854
|
-
this.$ = t[e - 3],
|
|
847
|
+
this.$ = t[e - 3], o.setClickEvent(t[e - 3], t[e - 2]), o.setTooltip(t[e - 3], t[e]);
|
|
855
848
|
break;
|
|
856
849
|
case 109:
|
|
857
|
-
this.$ = t[e - 2],
|
|
850
|
+
this.$ = t[e - 2], o.setClickEvent(t[e - 2], t[e - 1], t[e]);
|
|
858
851
|
break;
|
|
859
852
|
case 110:
|
|
860
|
-
this.$ = t[e - 4],
|
|
853
|
+
this.$ = t[e - 4], o.setClickEvent(t[e - 4], t[e - 3], t[e - 2]), o.setTooltip(t[e - 4], t[e]);
|
|
861
854
|
break;
|
|
862
855
|
case 111:
|
|
863
|
-
this.$ = t[e - 2],
|
|
856
|
+
this.$ = t[e - 2], o.setLink(t[e - 2], t[e]);
|
|
864
857
|
break;
|
|
865
858
|
case 112:
|
|
866
|
-
this.$ = t[e - 4],
|
|
859
|
+
this.$ = t[e - 4], o.setLink(t[e - 4], t[e - 2]), o.setTooltip(t[e - 4], t[e]);
|
|
867
860
|
break;
|
|
868
861
|
case 113:
|
|
869
|
-
this.$ = t[e - 4],
|
|
862
|
+
this.$ = t[e - 4], o.setLink(t[e - 4], t[e - 2], t[e]);
|
|
870
863
|
break;
|
|
871
864
|
case 114:
|
|
872
|
-
this.$ = t[e - 6],
|
|
865
|
+
this.$ = t[e - 6], o.setLink(t[e - 6], t[e - 4], t[e]), o.setTooltip(t[e - 6], t[e - 2]);
|
|
873
866
|
break;
|
|
874
867
|
case 117:
|
|
875
|
-
this.$ = t[e - 1],
|
|
868
|
+
this.$ = t[e - 1], o.setLink(t[e - 1], t[e]);
|
|
876
869
|
break;
|
|
877
870
|
case 118:
|
|
878
|
-
this.$ = t[e - 3],
|
|
871
|
+
this.$ = t[e - 3], o.setLink(t[e - 3], t[e - 2]), o.setTooltip(t[e - 3], t[e]);
|
|
879
872
|
break;
|
|
880
873
|
case 119:
|
|
881
|
-
this.$ = t[e - 3],
|
|
874
|
+
this.$ = t[e - 3], o.setLink(t[e - 3], t[e - 2], t[e]);
|
|
882
875
|
break;
|
|
883
876
|
case 120:
|
|
884
|
-
this.$ = t[e - 5],
|
|
877
|
+
this.$ = t[e - 5], o.setLink(t[e - 5], t[e - 4], t[e]), o.setTooltip(t[e - 5], t[e - 2]);
|
|
885
878
|
break;
|
|
886
879
|
case 121:
|
|
887
|
-
this.$ = t[e - 4],
|
|
880
|
+
this.$ = t[e - 4], o.addVertex(t[e - 2], void 0, void 0, t[e]);
|
|
888
881
|
break;
|
|
889
882
|
case 122:
|
|
890
|
-
this.$ = t[e - 4],
|
|
883
|
+
this.$ = t[e - 4], o.updateLink([t[e - 2]], t[e]);
|
|
891
884
|
break;
|
|
892
885
|
case 123:
|
|
893
|
-
this.$ = t[e - 4],
|
|
886
|
+
this.$ = t[e - 4], o.updateLink(t[e - 2], t[e]);
|
|
894
887
|
break;
|
|
895
888
|
case 124:
|
|
896
|
-
this.$ = t[e - 8],
|
|
889
|
+
this.$ = t[e - 8], o.updateLinkInterpolate([t[e - 6]], t[e - 2]), o.updateLink([t[e - 6]], t[e]);
|
|
897
890
|
break;
|
|
898
891
|
case 125:
|
|
899
|
-
this.$ = t[e - 8],
|
|
892
|
+
this.$ = t[e - 8], o.updateLinkInterpolate(t[e - 6], t[e - 2]), o.updateLink(t[e - 6], t[e]);
|
|
900
893
|
break;
|
|
901
894
|
case 126:
|
|
902
|
-
this.$ = t[e - 6],
|
|
895
|
+
this.$ = t[e - 6], o.updateLinkInterpolate([t[e - 4]], t[e]);
|
|
903
896
|
break;
|
|
904
897
|
case 127:
|
|
905
|
-
this.$ = t[e - 6],
|
|
898
|
+
this.$ = t[e - 6], o.updateLinkInterpolate(t[e - 4], t[e]);
|
|
906
899
|
break;
|
|
907
900
|
case 128:
|
|
908
901
|
case 130:
|
|
@@ -938,43 +931,43 @@ You have to call mermaid.initialize.`
|
|
|
938
931
|
break;
|
|
939
932
|
}
|
|
940
933
|
}, "anonymous"),
|
|
941
|
-
table: [{ 3: 1, 4: 2, 9: i, 10: a, 12: n }, { 1: [3] }, s(u, o, { 5: 6 }), { 4: 7, 9: i, 10: a, 12: n }, { 4: 8, 9: i, 10: a, 12: n }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: f, 9: c, 10: b, 11: r, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: k, 33: 24, 34: E, 36: A, 38: L, 42: 28, 43: 38, 44: C, 45: 39, 47: 40, 60: d, 84: J, 85: W, 86: Z, 87: b1, 88: M1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, s(u, [2, 9]), s(u, [2, 10]), s(u, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: p1, 15: 53, 18: 56 }, s(y, [2, 3]), s(y, [2, 4]), s(y, [2, 5]), s(y, [2, 6]), s(y, [2, 7]), s(y, [2, 8]), { 8: e1, 9: s1, 11: i1, 21: 58, 41: 59, 72: 63, 75: [1, 64], 77: [1, 66], 78: [1, 65] }, { 8: e1, 9: s1, 11: i1, 21: 67 }, { 8: e1, 9: s1, 11: i1, 21: 68 }, { 8: e1, 9: s1, 11: i1, 21: 69 }, { 8: e1, 9: s1, 11: i1, 21: 70 }, { 8: e1, 9: s1, 11: i1, 21: 71 }, { 8: e1, 9: s1, 10: [1, 72], 11: i1, 21: 73 }, s(y, [2, 36]), { 35: [1, 74] }, { 37: [1, 75] }, s(y, [2, 39]), s(D1, [2, 50], { 18: 76, 39: 77, 10: p1, 40: at }), { 10: [1, 79] }, { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 14: x1, 44: T1, 60: E1, 80: [1, 86], 89: y1, 95: [1, 83], 97: [1, 84], 101: 85, 105: F1, 106: _1, 109: B1, 111: v1, 114: L1, 115: V1, 116: I1, 120: 87 }, s(y, [2, 185]), s(y, [2, 186]), s(y, [2, 187]), s(y, [2, 188]), s(k1, [2, 51]), s(k1, [2, 54], { 46: [1, 99] }), s(z, [2, 72], { 113: 112, 29: [1, 100], 44: C, 48: [1, 101], 50: [1, 102], 52: [1, 103], 54: [1, 104], 56: [1, 105], 58: [1, 106], 60: d, 63: [1, 107], 65: [1, 108], 67: [1, 109], 68: [1, 110], 70: [1, 111], 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(H, [2, 181]), s(H, [2, 142]), s(H, [2, 143]), s(H, [2, 144]), s(H, [2, 145]), s(H, [2, 146]), s(H, [2, 147]), s(H, [2, 148]), s(H, [2, 149]), s(H, [2, 150]), s(H, [2, 151]), s(H, [2, 152]), s(u, [2, 12]), s(u, [2, 18]), s(u, [2, 19]), { 9: [1, 113] }, s(nt, [2, 26], { 18: 114, 10: p1 }), s(y, [2, 27]), { 42: 115, 43: 38, 44: C, 45: 39, 47: 40, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(y, [2, 40]), s(y, [2, 41]), s(y, [2, 42]), s(w1, [2, 76], { 73: 116, 62: [1, 118], 74: [1, 117] }), { 76: 119, 79: 120, 80: ut, 81: ot, 116: K1, 119: Y1 }, { 75: [1, 125], 77: [1, 126] }, s(lt, [2, 83]), s(y, [2, 28]), s(y, [2, 29]), s(y, [2, 30]), s(y, [2, 31]), s(y, [2, 32]), { 10: ct, 12: ht, 14: dt, 27: pt, 28: 127, 32: ft, 44: gt, 60: At, 75: bt, 80: [1, 129], 81: [1, 130], 83: 140, 84: kt, 85: mt, 86: Ct, 87: St, 88: Dt, 89: xt, 90: Tt, 91: 128, 105: Et, 109: yt, 111: Ft, 114: _t, 115: Bt, 116: vt }, s(Q1, o, { 5: 153 }), s(y, [2, 37]), s(y, [2, 38]), s(D1, [2, 48], { 44: Lt }), s(D1, [2, 49], { 18: 155, 10: p1, 40: Vt }), s(k1, [2, 44]), { 44: C, 47: 157, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 102: [1, 158], 103: 159, 105: [1, 160] }, { 44: C, 47: 161, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 44: C, 47: 162, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(B, [2, 107], { 10: [1, 163], 96: [1, 164] }), { 80: [1, 165] }, s(B, [2, 115], { 120: 167, 10: [1, 166], 14: x1, 44: T1, 60: E1, 89: y1, 105: F1, 106: _1, 109: B1, 111: v1, 114: L1, 115: V1, 116: I1 }), s(B, [2, 117], { 10: [1, 168] }), s(q, [2, 183]), s(q, [2, 170]), s(q, [2, 171]), s(q, [2, 172]), s(q, [2, 173]), s(q, [2, 174]), s(q, [2, 175]), s(q, [2, 176]), s(q, [2, 177]), s(q, [2, 178]), s(q, [2, 179]), s(q, [2, 180]), { 44: C, 47: 169, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 30: 170, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 178, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 180, 50: [1, 179], 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 181, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 182, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 183, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 109: [1, 184] }, { 30: 185, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 186, 65: [1, 187], 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 188, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 189, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 30: 190, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, s(H, [2, 182]), s(u, [2, 20]), s(nt, [2, 25]), s(D1, [2, 46], { 39: 191, 18: 192, 10: p1, 40: at }), s(w1, [2, 73], { 10: [1, 193] }), { 10: [1, 194] }, { 30: 195, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 77: [1, 196], 79: 197, 116: K1, 119: Y1 }, s(R1, [2, 79]), s(R1, [2, 81]), s(R1, [2, 82]), s(R1, [2, 168]), s(R1, [2, 169]), { 76: 198, 79: 120, 80: ut, 81: ot, 116: K1, 119: Y1 }, s(lt, [2, 84]), { 8: e1, 9: s1, 10: ct, 11: i1, 12: ht, 14: dt, 21: 200, 27: pt, 29: [1, 199], 32: ft, 44: gt, 60: At, 75: bt, 83: 140, 84: kt, 85: mt, 86: Ct, 87: St, 88: Dt, 89: xt, 90: Tt, 91: 201, 105: Et, 109: yt, 111: Ft, 114: _t, 115: Bt, 116: vt }, s(F, [2, 101]), s(F, [2, 103]), s(F, [2, 104]), s(F, [2, 157]), s(F, [2, 158]), s(F, [2, 159]), s(F, [2, 160]), s(F, [2, 161]), s(F, [2, 162]), s(F, [2, 163]), s(F, [2, 164]), s(F, [2, 165]), s(F, [2, 166]), s(F, [2, 167]), s(F, [2, 90]), s(F, [2, 91]), s(F, [2, 92]), s(F, [2, 93]), s(F, [2, 94]), s(F, [2, 95]), s(F, [2, 96]), s(F, [2, 97]), s(F, [2, 98]), s(F, [2, 99]), s(F, [2, 100]), { 6: 11, 7: 12, 8: f, 9: c, 10: b, 11: r, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: k, 32: [1, 202], 33: 24, 34: E, 36: A, 38: L, 42: 28, 43: 38, 44: C, 45: 39, 47: 40, 60: d, 84: J, 85: W, 86: Z, 87: b1, 88: M1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, { 10: p1, 18: 203 }, { 44: [1, 204] }, s(k1, [2, 43]), { 10: [1, 205], 44: C, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 112, 114: P, 115: O, 116: M }, { 10: [1, 206] }, { 10: [1, 207], 106: [1, 208] }, s(It, [2, 128]), { 10: [1, 209], 44: C, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 112, 114: P, 115: O, 116: M }, { 10: [1, 210], 44: C, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 112, 114: P, 115: O, 116: M }, { 80: [1, 211] }, s(B, [2, 109], { 10: [1, 212] }), s(B, [2, 111], { 10: [1, 213] }), { 80: [1, 214] }, s(q, [2, 184]), { 80: [1, 215], 98: [1, 216] }, s(k1, [2, 55], { 113: 112, 44: C, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), { 31: [1, 217], 67: S, 82: 218, 116: D, 117: x, 118: T }, s(f1, [2, 86]), s(f1, [2, 88]), s(f1, [2, 89]), s(f1, [2, 153]), s(f1, [2, 154]), s(f1, [2, 155]), s(f1, [2, 156]), { 49: [1, 219], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 30: 220, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 51: [1, 221], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 53: [1, 222], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 55: [1, 223], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 57: [1, 224], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 60: [1, 225] }, { 64: [1, 226], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 66: [1, 227], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 30: 228, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, { 31: [1, 229], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 67: S, 69: [1, 230], 71: [1, 231], 82: 218, 116: D, 117: x, 118: T }, { 67: S, 69: [1, 233], 71: [1, 232], 82: 218, 116: D, 117: x, 118: T }, s(D1, [2, 45], { 18: 155, 10: p1, 40: Vt }), s(D1, [2, 47], { 44: Lt }), s(w1, [2, 75]), s(w1, [2, 74]), { 62: [1, 234], 67: S, 82: 218, 116: D, 117: x, 118: T }, s(w1, [2, 77]), s(R1, [2, 80]), { 77: [1, 235], 79: 197, 116: K1, 119: Y1 }, { 30: 236, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, s(Q1, o, { 5: 237 }), s(F, [2, 102]), s(y, [2, 35]), { 43: 238, 44: C, 45: 39, 47: 40, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 10: p1, 18: 239 }, { 10: r1, 60: a1, 84: n1, 92: 240, 105: u1, 107: 241, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, { 10: r1, 60: a1, 84: n1, 92: 251, 104: [1, 252], 105: u1, 107: 241, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, { 10: r1, 60: a1, 84: n1, 92: 253, 104: [1, 254], 105: u1, 107: 241, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, { 105: [1, 255] }, { 10: r1, 60: a1, 84: n1, 92: 256, 105: u1, 107: 241, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, { 44: C, 47: 257, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(B, [2, 108]), { 80: [1, 258] }, { 80: [1, 259], 98: [1, 260] }, s(B, [2, 116]), s(B, [2, 118], { 10: [1, 261] }), s(B, [2, 119]), s(z, [2, 56]), s(f1, [2, 87]), s(z, [2, 57]), { 51: [1, 262], 67: S, 82: 218, 116: D, 117: x, 118: T }, s(z, [2, 64]), s(z, [2, 59]), s(z, [2, 60]), s(z, [2, 61]), { 109: [1, 263] }, s(z, [2, 63]), s(z, [2, 65]), { 66: [1, 264], 67: S, 82: 218, 116: D, 117: x, 118: T }, s(z, [2, 67]), s(z, [2, 68]), s(z, [2, 70]), s(z, [2, 69]), s(z, [2, 71]), s([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), s(w1, [2, 78]), { 31: [1, 265], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 6: 11, 7: 12, 8: f, 9: c, 10: b, 11: r, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: k, 32: [1, 266], 33: 24, 34: E, 36: A, 38: L, 42: 28, 43: 38, 44: C, 45: 39, 47: 40, 60: d, 84: J, 85: W, 86: Z, 87: b1, 88: M1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, s(k1, [2, 53]), { 43: 267, 44: C, 45: 39, 47: 40, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(B, [2, 121], { 106: N1 }), s(wt, [2, 130], { 108: 269, 10: r1, 60: a1, 84: n1, 105: u1, 109: o1, 110: l1, 111: c1, 112: h1 }), s($, [2, 132]), s($, [2, 134]), s($, [2, 135]), s($, [2, 136]), s($, [2, 137]), s($, [2, 138]), s($, [2, 139]), s($, [2, 140]), s($, [2, 141]), s(B, [2, 122], { 106: N1 }), { 10: [1, 270] }, s(B, [2, 123], { 106: N1 }), { 10: [1, 271] }, s(It, [2, 129]), s(B, [2, 105], { 106: N1 }), s(B, [2, 106], { 113: 112, 44: C, 60: d, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(B, [2, 110]), s(B, [2, 112], { 10: [1, 272] }), s(B, [2, 113]), { 98: [1, 273] }, { 51: [1, 274] }, { 62: [1, 275] }, { 66: [1, 276] }, { 8: e1, 9: s1, 11: i1, 21: 277 }, s(y, [2, 34]), s(k1, [2, 52]), { 10: r1, 60: a1, 84: n1, 105: u1, 107: 278, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, s($, [2, 133]), { 14: x1, 44: T1, 60: E1, 89: y1, 101: 279, 105: F1, 106: _1, 109: B1, 111: v1, 114: L1, 115: V1, 116: I1, 120: 87 }, { 14: x1, 44: T1, 60: E1, 89: y1, 101: 280, 105: F1, 106: _1, 109: B1, 111: v1, 114: L1, 115: V1, 116: I1, 120: 87 }, { 98: [1, 281] }, s(B, [2, 120]), s(z, [2, 58]), { 30: 282, 67: S, 80: j, 81: K, 82: 171, 116: D, 117: x, 118: T }, s(z, [2, 66]), s(Q1, o, { 5: 283 }), s(wt, [2, 131], { 108: 269, 10: r1, 60: a1, 84: n1, 105: u1, 109: o1, 110: l1, 111: c1, 112: h1 }), s(B, [2, 126], { 120: 167, 10: [1, 284], 14: x1, 44: T1, 60: E1, 89: y1, 105: F1, 106: _1, 109: B1, 111: v1, 114: L1, 115: V1, 116: I1 }), s(B, [2, 127], { 120: 167, 10: [1, 285], 14: x1, 44: T1, 60: E1, 89: y1, 105: F1, 106: _1, 109: B1, 111: v1, 114: L1, 115: V1, 116: I1 }), s(B, [2, 114]), { 31: [1, 286], 67: S, 82: 218, 116: D, 117: x, 118: T }, { 6: 11, 7: 12, 8: f, 9: c, 10: b, 11: r, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: k, 32: [1, 287], 33: 24, 34: E, 36: A, 38: L, 42: 28, 43: 38, 44: C, 45: 39, 47: 40, 60: d, 84: J, 85: W, 86: Z, 87: b1, 88: M1, 89: V, 102: I, 105: w, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, { 10: r1, 60: a1, 84: n1, 92: 288, 105: u1, 107: 241, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, { 10: r1, 60: a1, 84: n1, 92: 289, 105: u1, 107: 241, 108: 242, 109: o1, 110: l1, 111: c1, 112: h1 }, s(z, [2, 62]), s(y, [2, 33]), s(B, [2, 124], { 106: N1 }), s(B, [2, 125], { 106: N1 })],
|
|
934
|
+
table: [{ 3: 1, 4: 2, 9: i, 10: r, 12: a }, { 1: [3] }, s(n, l, { 5: 6 }), { 4: 7, 9: i, 10: r, 12: a }, { 4: 8, 9: i, 10: r, 12: a }, { 13: [1, 9], 14: [1, 10] }, { 1: [2, 1], 6: 11, 7: 12, 8: g, 9: c, 10: A, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: b, 33: 24, 34: y, 36: f, 38: k, 42: 28, 43: 38, 44: x, 45: 39, 47: 40, 60: T, 84: d1, 85: W, 86: J, 87: O1, 88: M1, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, s(n, [2, 9]), s(n, [2, 10]), s(n, [2, 11]), { 8: [1, 54], 9: [1, 55], 10: p1, 15: 53, 18: 56 }, s(F, [2, 3]), s(F, [2, 4]), s(F, [2, 5]), s(F, [2, 6]), s(F, [2, 7]), s(F, [2, 8]), { 8: t1, 9: e1, 11: s1, 21: 58, 41: 59, 72: 63, 75: [1, 64], 77: [1, 66], 78: [1, 65] }, { 8: t1, 9: e1, 11: s1, 21: 67 }, { 8: t1, 9: e1, 11: s1, 21: 68 }, { 8: t1, 9: e1, 11: s1, 21: 69 }, { 8: t1, 9: e1, 11: s1, 21: 70 }, { 8: t1, 9: e1, 11: s1, 21: 71 }, { 8: t1, 9: e1, 10: [1, 72], 11: s1, 21: 73 }, s(F, [2, 36]), { 35: [1, 74] }, { 37: [1, 75] }, s(F, [2, 39]), s(C1, [2, 50], { 18: 76, 39: 77, 10: p1, 40: at }), { 10: [1, 79] }, { 10: [1, 80] }, { 10: [1, 81] }, { 10: [1, 82] }, { 14: D1, 44: S1, 60: x1, 80: [1, 86], 89: T1, 95: [1, 83], 97: [1, 84], 101: 85, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 87 }, s(F, [2, 185]), s(F, [2, 186]), s(F, [2, 187]), s(F, [2, 188]), s(b1, [2, 51]), s(b1, [2, 54], { 46: [1, 99] }), s(z, [2, 72], { 113: 112, 29: [1, 100], 44: x, 48: [1, 101], 50: [1, 102], 52: [1, 103], 54: [1, 104], 56: [1, 105], 58: [1, 106], 60: T, 63: [1, 107], 65: [1, 108], 67: [1, 109], 68: [1, 110], 70: [1, 111], 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(H, [2, 181]), s(H, [2, 142]), s(H, [2, 143]), s(H, [2, 144]), s(H, [2, 145]), s(H, [2, 146]), s(H, [2, 147]), s(H, [2, 148]), s(H, [2, 149]), s(H, [2, 150]), s(H, [2, 151]), s(H, [2, 152]), s(n, [2, 12]), s(n, [2, 18]), s(n, [2, 19]), { 9: [1, 113] }, s(nt, [2, 26], { 18: 114, 10: p1 }), s(F, [2, 27]), { 42: 115, 43: 38, 44: x, 45: 39, 47: 40, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(F, [2, 40]), s(F, [2, 41]), s(F, [2, 42]), s(w1, [2, 76], { 73: 116, 62: [1, 118], 74: [1, 117] }), { 76: 119, 79: 120, 80: ut, 81: ot, 116: K1, 119: Y1 }, { 75: [1, 125], 77: [1, 126] }, s(lt, [2, 83]), s(F, [2, 28]), s(F, [2, 29]), s(F, [2, 30]), s(F, [2, 31]), s(F, [2, 32]), { 10: ct, 12: ht, 14: dt, 27: pt, 28: 127, 32: ft, 44: gt, 60: At, 75: bt, 80: [1, 129], 81: [1, 130], 83: 140, 84: kt, 85: mt, 86: Et, 87: Ct, 88: Dt, 89: St, 90: xt, 91: 128, 105: Tt, 109: yt, 111: Ft, 114: _t, 115: Bt, 116: vt }, s(Q1, l, { 5: 153 }), s(F, [2, 37]), s(F, [2, 38]), s(C1, [2, 48], { 44: Lt }), s(C1, [2, 49], { 18: 155, 10: p1, 40: Vt }), s(b1, [2, 44]), { 44: x, 47: 157, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 102: [1, 158], 103: 159, 105: [1, 160] }, { 44: x, 47: 161, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 44: x, 47: 162, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(v, [2, 107], { 10: [1, 163], 96: [1, 164] }), { 80: [1, 165] }, s(v, [2, 115], { 120: 167, 10: [1, 166], 14: D1, 44: S1, 60: x1, 89: T1, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(v, [2, 117], { 10: [1, 168] }), s(q, [2, 183]), s(q, [2, 170]), s(q, [2, 171]), s(q, [2, 172]), s(q, [2, 173]), s(q, [2, 174]), s(q, [2, 175]), s(q, [2, 176]), s(q, [2, 177]), s(q, [2, 178]), s(q, [2, 179]), s(q, [2, 180]), { 44: x, 47: 169, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 30: 170, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 178, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 180, 50: [1, 179], 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 181, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 182, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 183, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 109: [1, 184] }, { 30: 185, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 186, 65: [1, 187], 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 188, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 189, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 30: 190, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, s(H, [2, 182]), s(n, [2, 20]), s(nt, [2, 25]), s(C1, [2, 46], { 39: 191, 18: 192, 10: p1, 40: at }), s(w1, [2, 73], { 10: [1, 193] }), { 10: [1, 194] }, { 30: 195, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 77: [1, 196], 79: 197, 116: K1, 119: Y1 }, s(I1, [2, 79]), s(I1, [2, 81]), s(I1, [2, 82]), s(I1, [2, 168]), s(I1, [2, 169]), { 76: 198, 79: 120, 80: ut, 81: ot, 116: K1, 119: Y1 }, s(lt, [2, 84]), { 8: t1, 9: e1, 10: ct, 11: s1, 12: ht, 14: dt, 21: 200, 27: pt, 29: [1, 199], 32: ft, 44: gt, 60: At, 75: bt, 83: 140, 84: kt, 85: mt, 86: Et, 87: Ct, 88: Dt, 89: St, 90: xt, 91: 201, 105: Tt, 109: yt, 111: Ft, 114: _t, 115: Bt, 116: vt }, s(_, [2, 101]), s(_, [2, 103]), s(_, [2, 104]), s(_, [2, 157]), s(_, [2, 158]), s(_, [2, 159]), s(_, [2, 160]), s(_, [2, 161]), s(_, [2, 162]), s(_, [2, 163]), s(_, [2, 164]), s(_, [2, 165]), s(_, [2, 166]), s(_, [2, 167]), s(_, [2, 90]), s(_, [2, 91]), s(_, [2, 92]), s(_, [2, 93]), s(_, [2, 94]), s(_, [2, 95]), s(_, [2, 96]), s(_, [2, 97]), s(_, [2, 98]), s(_, [2, 99]), s(_, [2, 100]), { 6: 11, 7: 12, 8: g, 9: c, 10: A, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: b, 32: [1, 202], 33: 24, 34: y, 36: f, 38: k, 42: 28, 43: 38, 44: x, 45: 39, 47: 40, 60: T, 84: d1, 85: W, 86: J, 87: O1, 88: M1, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, { 10: p1, 18: 203 }, { 44: [1, 204] }, s(b1, [2, 43]), { 10: [1, 205], 44: x, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 112, 114: P, 115: O, 116: M }, { 10: [1, 206] }, { 10: [1, 207], 106: [1, 208] }, s(wt, [2, 128]), { 10: [1, 209], 44: x, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 112, 114: P, 115: O, 116: M }, { 10: [1, 210], 44: x, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 112, 114: P, 115: O, 116: M }, { 80: [1, 211] }, s(v, [2, 109], { 10: [1, 212] }), s(v, [2, 111], { 10: [1, 213] }), { 80: [1, 214] }, s(q, [2, 184]), { 80: [1, 215], 98: [1, 216] }, s(b1, [2, 55], { 113: 112, 44: x, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), { 31: [1, 217], 67: E, 82: 218, 116: C, 117: D, 118: S }, s(f1, [2, 86]), s(f1, [2, 88]), s(f1, [2, 89]), s(f1, [2, 153]), s(f1, [2, 154]), s(f1, [2, 155]), s(f1, [2, 156]), { 49: [1, 219], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 30: 220, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 51: [1, 221], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 53: [1, 222], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 55: [1, 223], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 57: [1, 224], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 60: [1, 225] }, { 64: [1, 226], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 66: [1, 227], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 30: 228, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, { 31: [1, 229], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 67: E, 69: [1, 230], 71: [1, 231], 82: 218, 116: C, 117: D, 118: S }, { 67: E, 69: [1, 233], 71: [1, 232], 82: 218, 116: C, 117: D, 118: S }, s(C1, [2, 45], { 18: 155, 10: p1, 40: Vt }), s(C1, [2, 47], { 44: Lt }), s(w1, [2, 75]), s(w1, [2, 74]), { 62: [1, 234], 67: E, 82: 218, 116: C, 117: D, 118: S }, s(w1, [2, 77]), s(I1, [2, 80]), { 77: [1, 235], 79: 197, 116: K1, 119: Y1 }, { 30: 236, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, s(Q1, l, { 5: 237 }), s(_, [2, 102]), s(F, [2, 35]), { 43: 238, 44: x, 45: 39, 47: 40, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, { 10: p1, 18: 239 }, { 10: i1, 60: r1, 84: a1, 92: 240, 105: n1, 107: 241, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, { 10: i1, 60: r1, 84: a1, 92: 251, 104: [1, 252], 105: n1, 107: 241, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, { 10: i1, 60: r1, 84: a1, 92: 253, 104: [1, 254], 105: n1, 107: 241, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, { 105: [1, 255] }, { 10: i1, 60: r1, 84: a1, 92: 256, 105: n1, 107: 241, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, { 44: x, 47: 257, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(v, [2, 108]), { 80: [1, 258] }, { 80: [1, 259], 98: [1, 260] }, s(v, [2, 116]), s(v, [2, 118], { 10: [1, 261] }), s(v, [2, 119]), s(z, [2, 56]), s(f1, [2, 87]), s(z, [2, 57]), { 51: [1, 262], 67: E, 82: 218, 116: C, 117: D, 118: S }, s(z, [2, 64]), s(z, [2, 59]), s(z, [2, 60]), s(z, [2, 61]), { 109: [1, 263] }, s(z, [2, 63]), s(z, [2, 65]), { 66: [1, 264], 67: E, 82: 218, 116: C, 117: D, 118: S }, s(z, [2, 67]), s(z, [2, 68]), s(z, [2, 70]), s(z, [2, 69]), s(z, [2, 71]), s([10, 44, 60, 89, 102, 105, 106, 109, 111, 114, 115, 116], [2, 85]), s(w1, [2, 78]), { 31: [1, 265], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 6: 11, 7: 12, 8: g, 9: c, 10: A, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: b, 32: [1, 266], 33: 24, 34: y, 36: f, 38: k, 42: 28, 43: 38, 44: x, 45: 39, 47: 40, 60: T, 84: d1, 85: W, 86: J, 87: O1, 88: M1, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, s(b1, [2, 53]), { 43: 267, 44: x, 45: 39, 47: 40, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M }, s(v, [2, 121], { 106: R1 }), s(It, [2, 130], { 108: 269, 10: i1, 60: r1, 84: a1, 105: n1, 109: u1, 110: o1, 111: l1, 112: c1 }), s(Z, [2, 132]), s(Z, [2, 134]), s(Z, [2, 135]), s(Z, [2, 136]), s(Z, [2, 137]), s(Z, [2, 138]), s(Z, [2, 139]), s(Z, [2, 140]), s(Z, [2, 141]), s(v, [2, 122], { 106: R1 }), { 10: [1, 270] }, s(v, [2, 123], { 106: R1 }), { 10: [1, 271] }, s(wt, [2, 129]), s(v, [2, 105], { 106: R1 }), s(v, [2, 106], { 113: 112, 44: x, 60: T, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 114: P, 115: O, 116: M }), s(v, [2, 110]), s(v, [2, 112], { 10: [1, 272] }), s(v, [2, 113]), { 98: [1, 273] }, { 51: [1, 274] }, { 62: [1, 275] }, { 66: [1, 276] }, { 8: t1, 9: e1, 11: s1, 21: 277 }, s(F, [2, 34]), s(b1, [2, 52]), { 10: i1, 60: r1, 84: a1, 105: n1, 107: 278, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, s(Z, [2, 133]), { 14: D1, 44: S1, 60: x1, 89: T1, 101: 279, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 87 }, { 14: D1, 44: S1, 60: x1, 89: T1, 101: 280, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1, 120: 87 }, { 98: [1, 281] }, s(v, [2, 120]), s(z, [2, 58]), { 30: 282, 67: E, 80: j, 81: K, 82: 171, 116: C, 117: D, 118: S }, s(z, [2, 66]), s(Q1, l, { 5: 283 }), s(It, [2, 131], { 108: 269, 10: i1, 60: r1, 84: a1, 105: n1, 109: u1, 110: o1, 111: l1, 112: c1 }), s(v, [2, 126], { 120: 167, 10: [1, 284], 14: D1, 44: S1, 60: x1, 89: T1, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(v, [2, 127], { 120: 167, 10: [1, 285], 14: D1, 44: S1, 60: x1, 89: T1, 105: y1, 106: F1, 109: _1, 111: B1, 114: v1, 115: L1, 116: V1 }), s(v, [2, 114]), { 31: [1, 286], 67: E, 82: 218, 116: C, 117: D, 118: S }, { 6: 11, 7: 12, 8: g, 9: c, 10: A, 11: u, 20: 17, 22: 18, 23: 19, 24: 20, 25: 21, 26: 22, 27: b, 32: [1, 287], 33: 24, 34: y, 36: f, 38: k, 42: 28, 43: 38, 44: x, 45: 39, 47: 40, 60: T, 84: d1, 85: W, 86: J, 87: O1, 88: M1, 89: V, 102: w, 105: I, 106: R, 109: N, 111: G, 113: 41, 114: P, 115: O, 116: M, 121: U1, 122: W1, 123: z1, 124: j1 }, { 10: i1, 60: r1, 84: a1, 92: 288, 105: n1, 107: 241, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, { 10: i1, 60: r1, 84: a1, 92: 289, 105: n1, 107: 241, 108: 242, 109: u1, 110: o1, 111: l1, 112: c1 }, s(z, [2, 62]), s(F, [2, 33]), s(v, [2, 124], { 106: R1 }), s(v, [2, 125], { 106: R1 })],
|
|
942
935
|
defaultActions: {},
|
|
943
|
-
parseError: /* @__PURE__ */ m(function(h,
|
|
944
|
-
if (
|
|
936
|
+
parseError: /* @__PURE__ */ m(function(h, d) {
|
|
937
|
+
if (d.recoverable)
|
|
945
938
|
this.trace(h);
|
|
946
939
|
else {
|
|
947
|
-
var
|
|
948
|
-
throw
|
|
940
|
+
var p = new Error(h);
|
|
941
|
+
throw p.hash = d, p;
|
|
949
942
|
}
|
|
950
943
|
}, "parseError"),
|
|
951
944
|
parse: /* @__PURE__ */ m(function(h) {
|
|
952
|
-
var
|
|
945
|
+
var d = this, p = [0], o = [], B = [null], t = [], P1 = this.table, e = "", L = 0, Rt = 0, zt = 2, Nt = 1, jt = t.slice.call(arguments, 1), U = Object.create(this.lexer), k1 = { yy: {} };
|
|
953
946
|
for (var Z1 in this.yy)
|
|
954
|
-
Object.prototype.hasOwnProperty.call(this.yy, Z1) && (
|
|
955
|
-
U.setInput(h,
|
|
947
|
+
Object.prototype.hasOwnProperty.call(this.yy, Z1) && (k1.yy[Z1] = this.yy[Z1]);
|
|
948
|
+
U.setInput(h, k1.yy), k1.yy.lexer = U, k1.yy.parser = this, typeof U.yylloc > "u" && (U.yylloc = {});
|
|
956
949
|
var $1 = U.yylloc;
|
|
957
950
|
t.push($1);
|
|
958
951
|
var Kt = U.options && U.options.ranges;
|
|
959
|
-
typeof
|
|
952
|
+
typeof k1.yy.parseError == "function" ? this.parseError = k1.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
960
953
|
function Yt(X) {
|
|
961
|
-
|
|
954
|
+
p.length = p.length - 2 * X, B.length = B.length - X, t.length = t.length - X;
|
|
962
955
|
}
|
|
963
956
|
m(Yt, "popStack");
|
|
964
957
|
function Gt() {
|
|
965
958
|
var X;
|
|
966
|
-
return X =
|
|
959
|
+
return X = o.pop() || U.lex() || Nt, typeof X != "number" && (X instanceof Array && (o = X, X = o.pop()), X = d.symbols_[X] || X), X;
|
|
967
960
|
}
|
|
968
961
|
m(Gt, "lex");
|
|
969
|
-
for (var Y,
|
|
970
|
-
if (
|
|
962
|
+
for (var Y, m1, Q, tt, N1 = {}, q1, h1, Pt, X1; ; ) {
|
|
963
|
+
if (m1 = p[p.length - 1], this.defaultActions[m1] ? Q = this.defaultActions[m1] : ((Y === null || typeof Y > "u") && (Y = Gt()), Q = P1[m1] && P1[m1][Y]), typeof Q > "u" || !Q.length || !Q[0]) {
|
|
971
964
|
var et = "";
|
|
972
965
|
X1 = [];
|
|
973
|
-
for (q1 in
|
|
966
|
+
for (q1 in P1[m1])
|
|
974
967
|
this.terminals_[q1] && q1 > zt && X1.push("'" + this.terminals_[q1] + "'");
|
|
975
|
-
U.showPosition ? et = "Parse error on line " + (
|
|
968
|
+
U.showPosition ? et = "Parse error on line " + (L + 1) + `:
|
|
976
969
|
` + U.showPosition() + `
|
|
977
|
-
Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et = "Parse error on line " + (
|
|
970
|
+
Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et = "Parse error on line " + (L + 1) + ": Unexpected " + (Y == Nt ? "end of input" : "'" + (this.terminals_[Y] || Y) + "'"), this.parseError(et, {
|
|
978
971
|
text: U.match,
|
|
979
972
|
token: this.terminals_[Y] || Y,
|
|
980
973
|
line: U.yylineno,
|
|
@@ -983,31 +976,31 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
983
976
|
});
|
|
984
977
|
}
|
|
985
978
|
if (Q[0] instanceof Array && Q.length > 1)
|
|
986
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
979
|
+
throw new Error("Parse Error: multiple actions possible at state: " + m1 + ", token: " + Y);
|
|
987
980
|
switch (Q[0]) {
|
|
988
981
|
case 1:
|
|
989
|
-
|
|
982
|
+
p.push(Y), B.push(U.yytext), t.push(U.yylloc), p.push(Q[1]), Y = null, Rt = U.yyleng, e = U.yytext, L = U.yylineno, $1 = U.yylloc;
|
|
990
983
|
break;
|
|
991
984
|
case 2:
|
|
992
|
-
if (
|
|
993
|
-
first_line: t[t.length - (
|
|
985
|
+
if (h1 = this.productions_[Q[1]][1], N1.$ = B[B.length - h1], N1._$ = {
|
|
986
|
+
first_line: t[t.length - (h1 || 1)].first_line,
|
|
994
987
|
last_line: t[t.length - 1].last_line,
|
|
995
|
-
first_column: t[t.length - (
|
|
988
|
+
first_column: t[t.length - (h1 || 1)].first_column,
|
|
996
989
|
last_column: t[t.length - 1].last_column
|
|
997
|
-
}, Kt && (
|
|
998
|
-
t[t.length - (
|
|
990
|
+
}, Kt && (N1._$.range = [
|
|
991
|
+
t[t.length - (h1 || 1)].range[0],
|
|
999
992
|
t[t.length - 1].range[1]
|
|
1000
|
-
]), tt = this.performAction.apply(
|
|
993
|
+
]), tt = this.performAction.apply(N1, [
|
|
1001
994
|
e,
|
|
1002
995
|
Rt,
|
|
1003
|
-
|
|
1004
|
-
|
|
996
|
+
L,
|
|
997
|
+
k1.yy,
|
|
1005
998
|
Q[1],
|
|
1006
|
-
|
|
999
|
+
B,
|
|
1007
1000
|
t
|
|
1008
1001
|
].concat(jt)), typeof tt < "u")
|
|
1009
1002
|
return tt;
|
|
1010
|
-
|
|
1003
|
+
h1 && (p = p.slice(0, -1 * h1 * 2), B = B.slice(0, -1 * h1), t = t.slice(0, -1 * h1)), p.push(this.productions_[Q[1]][0]), B.push(N1.$), t.push(N1._$), Pt = P1[p[p.length - 2]][p[p.length - 1]], p.push(Pt);
|
|
1011
1004
|
break;
|
|
1012
1005
|
case 3:
|
|
1013
1006
|
return !0;
|
|
@@ -1015,18 +1008,18 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1015
1008
|
}
|
|
1016
1009
|
return !0;
|
|
1017
1010
|
}, "parse")
|
|
1018
|
-
}, Wt = /* @__PURE__ */ function() {
|
|
1011
|
+
}, Wt = /* @__PURE__ */ (function() {
|
|
1019
1012
|
var g1 = {
|
|
1020
1013
|
EOF: 1,
|
|
1021
|
-
parseError: /* @__PURE__ */ m(function(
|
|
1014
|
+
parseError: /* @__PURE__ */ m(function(d, p) {
|
|
1022
1015
|
if (this.yy.parser)
|
|
1023
|
-
this.yy.parser.parseError(
|
|
1016
|
+
this.yy.parser.parseError(d, p);
|
|
1024
1017
|
else
|
|
1025
|
-
throw new Error(
|
|
1018
|
+
throw new Error(d);
|
|
1026
1019
|
}, "parseError"),
|
|
1027
1020
|
// resets the lexer, sets new input
|
|
1028
|
-
setInput: /* @__PURE__ */ m(function(h,
|
|
1029
|
-
return this.yy =
|
|
1021
|
+
setInput: /* @__PURE__ */ m(function(h, d) {
|
|
1022
|
+
return this.yy = d || this.yy || {}, this._input = h, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
1030
1023
|
first_line: 1,
|
|
1031
1024
|
first_column: 0,
|
|
1032
1025
|
last_line: 1,
|
|
@@ -1037,22 +1030,22 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1037
1030
|
input: /* @__PURE__ */ m(function() {
|
|
1038
1031
|
var h = this._input[0];
|
|
1039
1032
|
this.yytext += h, this.yyleng++, this.offset++, this.match += h, this.matched += h;
|
|
1040
|
-
var
|
|
1041
|
-
return
|
|
1033
|
+
var d = h.match(/(?:\r\n?|\n).*/g);
|
|
1034
|
+
return d ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), h;
|
|
1042
1035
|
}, "input"),
|
|
1043
1036
|
// unshifts one char (or a string) into the input
|
|
1044
1037
|
unput: /* @__PURE__ */ m(function(h) {
|
|
1045
|
-
var
|
|
1046
|
-
this._input = h + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
1047
|
-
var
|
|
1048
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
1049
|
-
var
|
|
1038
|
+
var d = h.length, p = h.split(/(?:\r\n?|\n)/g);
|
|
1039
|
+
this._input = h + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - d), this.offset -= d;
|
|
1040
|
+
var o = this.match.split(/(?:\r\n?|\n)/g);
|
|
1041
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), p.length - 1 && (this.yylineno -= p.length - 1);
|
|
1042
|
+
var B = this.yylloc.range;
|
|
1050
1043
|
return this.yylloc = {
|
|
1051
1044
|
first_line: this.yylloc.first_line,
|
|
1052
1045
|
last_line: this.yylineno + 1,
|
|
1053
1046
|
first_column: this.yylloc.first_column,
|
|
1054
|
-
last_column:
|
|
1055
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
1047
|
+
last_column: p ? (p.length === o.length ? this.yylloc.first_column : 0) + o[o.length - p.length].length - p[0].length : this.yylloc.first_column - d
|
|
1048
|
+
}, this.options.ranges && (this.yylloc.range = [B[0], B[0] + this.yyleng - d]), this.yyleng = this.yytext.length, this;
|
|
1056
1049
|
}, "unput"),
|
|
1057
1050
|
// When called from action, caches matched text and appends it on next action
|
|
1058
1051
|
more: /* @__PURE__ */ m(function() {
|
|
@@ -1087,14 +1080,14 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1087
1080
|
}, "upcomingInput"),
|
|
1088
1081
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
1089
1082
|
showPosition: /* @__PURE__ */ m(function() {
|
|
1090
|
-
var h = this.pastInput(),
|
|
1083
|
+
var h = this.pastInput(), d = new Array(h.length + 1).join("-");
|
|
1091
1084
|
return h + this.upcomingInput() + `
|
|
1092
|
-
` +
|
|
1085
|
+
` + d + "^";
|
|
1093
1086
|
}, "showPosition"),
|
|
1094
1087
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
1095
|
-
test_match: /* @__PURE__ */ m(function(h,
|
|
1096
|
-
var
|
|
1097
|
-
if (this.options.backtrack_lexer && (
|
|
1088
|
+
test_match: /* @__PURE__ */ m(function(h, d) {
|
|
1089
|
+
var p, o, B;
|
|
1090
|
+
if (this.options.backtrack_lexer && (B = {
|
|
1098
1091
|
yylineno: this.yylineno,
|
|
1099
1092
|
yylloc: {
|
|
1100
1093
|
first_line: this.yylloc.first_line,
|
|
@@ -1113,16 +1106,16 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1113
1106
|
yy: this.yy,
|
|
1114
1107
|
conditionStack: this.conditionStack.slice(0),
|
|
1115
1108
|
done: this.done
|
|
1116
|
-
}, this.options.ranges && (
|
|
1109
|
+
}, this.options.ranges && (B.yylloc.range = this.yylloc.range.slice(0))), o = h[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
|
|
1117
1110
|
first_line: this.yylloc.last_line,
|
|
1118
1111
|
last_line: this.yylineno + 1,
|
|
1119
1112
|
first_column: this.yylloc.last_column,
|
|
1120
|
-
last_column:
|
|
1121
|
-
}, this.yytext += h[0], this.match += h[0], this.matches = h, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(h[0].length), this.matched += h[0],
|
|
1122
|
-
return
|
|
1113
|
+
last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + h[0].length
|
|
1114
|
+
}, this.yytext += h[0], this.match += h[0], this.matches = h, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(h[0].length), this.matched += h[0], p = this.performAction.call(this, this.yy, this, d, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), p)
|
|
1115
|
+
return p;
|
|
1123
1116
|
if (this._backtrack) {
|
|
1124
|
-
for (var t in
|
|
1125
|
-
this[t] =
|
|
1117
|
+
for (var t in B)
|
|
1118
|
+
this[t] = B[t];
|
|
1126
1119
|
return !1;
|
|
1127
1120
|
}
|
|
1128
1121
|
return !1;
|
|
@@ -1132,22 +1125,22 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1132
1125
|
if (this.done)
|
|
1133
1126
|
return this.EOF;
|
|
1134
1127
|
this._input || (this.done = !0);
|
|
1135
|
-
var h,
|
|
1128
|
+
var h, d, p, o;
|
|
1136
1129
|
this._more || (this.yytext = "", this.match = "");
|
|
1137
|
-
for (var
|
|
1138
|
-
if (
|
|
1139
|
-
if (
|
|
1140
|
-
if (h = this.test_match(
|
|
1130
|
+
for (var B = this._currentRules(), t = 0; t < B.length; t++)
|
|
1131
|
+
if (p = this._input.match(this.rules[B[t]]), p && (!d || p[0].length > d[0].length)) {
|
|
1132
|
+
if (d = p, o = t, this.options.backtrack_lexer) {
|
|
1133
|
+
if (h = this.test_match(p, B[t]), h !== !1)
|
|
1141
1134
|
return h;
|
|
1142
1135
|
if (this._backtrack) {
|
|
1143
|
-
|
|
1136
|
+
d = !1;
|
|
1144
1137
|
continue;
|
|
1145
1138
|
} else
|
|
1146
1139
|
return !1;
|
|
1147
1140
|
} else if (!this.options.flex)
|
|
1148
1141
|
break;
|
|
1149
1142
|
}
|
|
1150
|
-
return
|
|
1143
|
+
return d ? (h = this.test_match(d, B[o]), h !== !1 ? h : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
1151
1144
|
` + this.showPosition(), {
|
|
1152
1145
|
text: "",
|
|
1153
1146
|
token: null,
|
|
@@ -1156,37 +1149,37 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1156
1149
|
}, "next"),
|
|
1157
1150
|
// return next match that has a token
|
|
1158
1151
|
lex: /* @__PURE__ */ m(function() {
|
|
1159
|
-
var
|
|
1160
|
-
return
|
|
1152
|
+
var d = this.next();
|
|
1153
|
+
return d || this.lex();
|
|
1161
1154
|
}, "lex"),
|
|
1162
1155
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
1163
|
-
begin: /* @__PURE__ */ m(function(
|
|
1164
|
-
this.conditionStack.push(
|
|
1156
|
+
begin: /* @__PURE__ */ m(function(d) {
|
|
1157
|
+
this.conditionStack.push(d);
|
|
1165
1158
|
}, "begin"),
|
|
1166
1159
|
// pop the previously active lexer condition state off the condition stack
|
|
1167
1160
|
popState: /* @__PURE__ */ m(function() {
|
|
1168
|
-
var
|
|
1169
|
-
return
|
|
1161
|
+
var d = this.conditionStack.length - 1;
|
|
1162
|
+
return d > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
1170
1163
|
}, "popState"),
|
|
1171
1164
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
1172
1165
|
_currentRules: /* @__PURE__ */ m(function() {
|
|
1173
1166
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
1174
1167
|
}, "_currentRules"),
|
|
1175
1168
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
1176
|
-
topState: /* @__PURE__ */ m(function(
|
|
1177
|
-
return
|
|
1169
|
+
topState: /* @__PURE__ */ m(function(d) {
|
|
1170
|
+
return d = this.conditionStack.length - 1 - Math.abs(d || 0), d >= 0 ? this.conditionStack[d] : "INITIAL";
|
|
1178
1171
|
}, "topState"),
|
|
1179
1172
|
// alias for begin(condition)
|
|
1180
|
-
pushState: /* @__PURE__ */ m(function(
|
|
1181
|
-
this.begin(
|
|
1173
|
+
pushState: /* @__PURE__ */ m(function(d) {
|
|
1174
|
+
this.begin(d);
|
|
1182
1175
|
}, "pushState"),
|
|
1183
1176
|
// return the number of states currently on the stack
|
|
1184
1177
|
stateStackSize: /* @__PURE__ */ m(function() {
|
|
1185
1178
|
return this.conditionStack.length;
|
|
1186
1179
|
}, "stateStackSize"),
|
|
1187
1180
|
options: {},
|
|
1188
|
-
performAction: /* @__PURE__ */ m(function(
|
|
1189
|
-
switch (
|
|
1181
|
+
performAction: /* @__PURE__ */ m(function(d, p, o, B) {
|
|
1182
|
+
switch (o) {
|
|
1190
1183
|
case 0:
|
|
1191
1184
|
return this.begin("acc_title"), 34;
|
|
1192
1185
|
case 1:
|
|
@@ -1204,14 +1197,14 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1204
1197
|
case 6:
|
|
1205
1198
|
return "acc_descr_multiline_value";
|
|
1206
1199
|
case 7:
|
|
1207
|
-
return this.pushState("shapeData"),
|
|
1200
|
+
return this.pushState("shapeData"), p.yytext = "", 40;
|
|
1208
1201
|
case 8:
|
|
1209
1202
|
return this.pushState("shapeDataStr"), 40;
|
|
1210
1203
|
case 9:
|
|
1211
1204
|
return this.popState(), 40;
|
|
1212
1205
|
case 10:
|
|
1213
1206
|
const t = /\n\s*/g;
|
|
1214
|
-
return
|
|
1207
|
+
return p.yytext = p.yytext.replace(t, "<br/>"), 40;
|
|
1215
1208
|
case 11:
|
|
1216
1209
|
return 40;
|
|
1217
1210
|
case 12:
|
|
@@ -1272,11 +1265,11 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1272
1265
|
case 34:
|
|
1273
1266
|
return 88;
|
|
1274
1267
|
case 35:
|
|
1275
|
-
return
|
|
1268
|
+
return d.lex.firstGraph() && this.begin("dir"), 12;
|
|
1276
1269
|
case 36:
|
|
1277
|
-
return
|
|
1270
|
+
return d.lex.firstGraph() && this.begin("dir"), 12;
|
|
1278
1271
|
case 37:
|
|
1279
|
-
return
|
|
1272
|
+
return d.lex.firstGraph() && this.begin("dir"), 12;
|
|
1280
1273
|
case 38:
|
|
1281
1274
|
return 27;
|
|
1282
1275
|
case 39:
|
|
@@ -1447,13 +1440,13 @@ Expecting ` + X1.join(", ") + ", got '" + (this.terminals_[Y] || Y) + "'" : et =
|
|
|
1447
1440
|
conditions: { shapeDataEndBracket: { rules: [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, shapeDataStr: { rules: [9, 10, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, shapeData: { rules: [8, 11, 12, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, callbackargs: { rules: [17, 18, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, callbackname: { rules: [14, 15, 16, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, href: { rules: [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, click: { rules: [21, 24, 33, 34, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, dottedEdgeText: { rules: [21, 24, 74, 76, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, thickEdgeText: { rules: [21, 24, 71, 73, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, edgeText: { rules: [21, 24, 68, 70, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, trapText: { rules: [21, 24, 77, 80, 82, 84, 88, 90, 91, 92, 93, 94, 95, 108, 110, 112, 114], inclusive: !1 }, ellipseText: { rules: [21, 24, 77, 78, 79, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, text: { rules: [21, 24, 77, 80, 81, 82, 83, 84, 87, 88, 89, 90, 94, 95, 107, 108, 109, 110, 111, 112, 113, 114, 115], inclusive: !1 }, vertex: { rules: [21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, dir: { rules: [21, 24, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, acc_descr: { rules: [3, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, acc_title: { rules: [1, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, md_string: { rules: [19, 20, 21, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, string: { rules: [21, 22, 23, 24, 77, 80, 82, 84, 88, 90, 94, 95, 108, 110, 112, 114], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 13, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 74, 75, 77, 80, 82, 84, 85, 86, 88, 90, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 108, 110, 112, 114, 116, 117, 118, 119], inclusive: !0 } }
|
|
1448
1441
|
};
|
|
1449
1442
|
return g1;
|
|
1450
|
-
}();
|
|
1443
|
+
})();
|
|
1451
1444
|
J1.lexer = Wt;
|
|
1452
1445
|
function H1() {
|
|
1453
1446
|
this.yy = {};
|
|
1454
1447
|
}
|
|
1455
1448
|
return m(H1, "Parser"), H1.prototype = J1, J1.Parser = H1, new H1();
|
|
1456
|
-
}();
|
|
1449
|
+
})();
|
|
1457
1450
|
rt.parser = rt;
|
|
1458
1451
|
var Mt = rt, Ut = Object.assign({}, Mt);
|
|
1459
1452
|
Ut.parse = (s) => {
|
|
@@ -1462,8 +1455,8 @@ Ut.parse = (s) => {
|
|
|
1462
1455
|
return Mt.parse(i);
|
|
1463
1456
|
};
|
|
1464
1457
|
var be = Ut, ke = /* @__PURE__ */ m((s, i) => {
|
|
1465
|
-
const
|
|
1466
|
-
return oe(
|
|
1458
|
+
const r = he, a = r(s, "r"), n = r(s, "g"), l = r(s, "b");
|
|
1459
|
+
return oe(a, n, l, i);
|
|
1467
1460
|
}, "fade"), me = /* @__PURE__ */ m((s) => `.label {
|
|
1468
1461
|
font-family: ${s.fontFamily};
|
|
1469
1462
|
color: ${s.nodeTextColor || s.textColor};
|
|
@@ -1611,13 +1604,13 @@ var be = Ut, ke = /* @__PURE__ */ m((s, i) => {
|
|
|
1611
1604
|
text-align: center;
|
|
1612
1605
|
}
|
|
1613
1606
|
${Ht()}
|
|
1614
|
-
`, "getStyles"),
|
|
1607
|
+
`, "getStyles"), Ee = me, ye = {
|
|
1615
1608
|
parser: be,
|
|
1616
1609
|
get db() {
|
|
1617
1610
|
return new pe();
|
|
1618
1611
|
},
|
|
1619
1612
|
renderer: Ae,
|
|
1620
|
-
styles:
|
|
1613
|
+
styles: Ee,
|
|
1621
1614
|
init: /* @__PURE__ */ m((s) => {
|
|
1622
1615
|
s.flowchart || (s.flowchart = {}), s.layout && Ot({ layout: s.layout }), s.flowchart.arrowMarkerAbsolute = s.arrowMarkerAbsolute, Ot({ flowchart: { arrowMarkerAbsolute: s.arrowMarkerAbsolute } });
|
|
1623
1616
|
}, "init")
|