@aiquants/markdown 6.0.0 → 6.2.0
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/README.md +142 -7
- package/dist/{abnfDiagram-VRR7QNED-D7Rp9EaV.js → abnfDiagram-VRR7QNED-Csrzuwyl.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-KTGT9TWM.cjs → abnfDiagram-VRR7QNED-DX6eyf4O.cjs} +1 -1
- package/dist/arc-Gw7Urszo.js +83 -0
- package/dist/{arc-D5T_urCC.cjs → arc-ZAQ3z7kr.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-DLrGYTYy.js → architectureDiagram-ZJ3FMSHR-Coy6_Fcg.js} +2 -2
- package/dist/{architectureDiagram-ZJ3FMSHR-BOo3y9aD.cjs → architectureDiagram-ZJ3FMSHR-DxzMbkp1.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-B60l5Fpl.js → blockDiagram-677ZJIJ3-CbR-wn2x.js} +3 -3
- package/dist/{blockDiagram-677ZJIJ3-DnjCjo0a.cjs → blockDiagram-677ZJIJ3-THmR4OyE.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-bd8fWQ1F.cjs → c4Diagram-LMCZKHZV-BcJpuXK1.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-BmbplKCu.js → c4Diagram-LMCZKHZV-DHMqNO9p.js} +2 -2
- package/dist/{channel-B3oXm84X.js → channel-CfC4eqki.js} +1 -1
- package/dist/{channel-DJ_PyD9w.cjs → channel-Cryph4zI.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-C0hbxO3D.js → chunk-2Q5K7J3B-C3BIc3MH.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-CWLCO342.cjs → chunk-2Q5K7J3B-CxWyY331.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-DUWtkDEY.js → chunk-32BRIVSS-C37ccuiX.js} +1 -1
- package/dist/{chunk-32BRIVSS-Cb9nTxqN.cjs → chunk-32BRIVSS-C3w_aYfI.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-DHA5n_Ls.cjs → chunk-5VM5RSS4-Cbt79-V5.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-C3mSh-gE.js → chunk-5VM5RSS4-DVLmkcyq.js} +1 -1
- package/dist/{chunk-EX3LRPZG-ByY6_kep.cjs → chunk-EX3LRPZG-BZOxrSRn.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-DCF1zjtT.js → chunk-EX3LRPZG-Co0Bql0-.js} +37 -37
- package/dist/{chunk-JWPE2WC7-CUBzYD4G.cjs → chunk-JWPE2WC7-Cvt_ToFU.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-CPLOunIL.js → chunk-JWPE2WC7-DUndc3Wb.js} +1 -1
- package/dist/{chunk-MOJQB5TN-P8-yb3-j.cjs → chunk-MOJQB5TN-AAMW2q8N.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-CmOhW6SK.js → chunk-MOJQB5TN-aTSDPliR.js} +11 -11
- package/dist/{chunk-PUDLZKDR-pKdIELvz.cjs → chunk-PUDLZKDR-CzCdcyAN.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-DH7B7ZTK.js → chunk-PUDLZKDR-Q5QzbDtY.js} +11 -11
- package/dist/{chunk-RYQCIY6F-DcvQCEoc.cjs → chunk-RYQCIY6F-DbjhsOnH.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-C7ytn_QX.js → chunk-RYQCIY6F-O6wbIIFF.js} +10 -10
- package/dist/{chunk-V7JOEXUC-CtXgqODy.cjs → chunk-V7JOEXUC-B6Qc5ABc.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-BgLcssUF.js → chunk-V7JOEXUC-OTS1fN7j.js} +10 -10
- package/dist/{chunk-VR4S4FIN-BK6xeIQk.js → chunk-VR4S4FIN-D4tY80kq.js} +1 -1
- package/dist/{chunk-VR4S4FIN-Cc4GDi2Z.cjs → chunk-VR4S4FIN-DlneMFEg.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-COtZ25Ez.js → chunk-XXDRQBXY-58rTAwvh.js} +1 -1
- package/dist/{chunk-XXDRQBXY-D1OixGzR.cjs → chunk-XXDRQBXY-CvhBfnFQ.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-DDLmqaG6.cjs → classDiagram-OUVF2IWQ-C0S2HAJU.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-Jc-IwOm0.js → classDiagram-OUVF2IWQ-hcuKRiyp.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-DDLmqaG6.cjs → classDiagram-v2-EOCWNBFH-C0S2HAJU.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-Jc-IwOm0.js → classDiagram-v2-EOCWNBFH-hcuKRiyp.js} +2 -2
- package/dist/components/HostedScrollArea.d.ts +15 -0
- package/dist/components/MarkdownViewer.d.ts +3 -1
- package/dist/components/embeds/LinkCard.d.ts +14 -3
- package/dist/components/mermaidInteraction.d.ts +1 -0
- package/dist/{cose-bilkent-JH36ORCC-DaucPocG.js → cose-bilkent-JH36ORCC-BwltbHKG.js} +5 -5
- package/dist/{cose-bilkent-JH36ORCC-OwiXHdQY.cjs → cose-bilkent-JH36ORCC-DVZVn03H.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-Ag-HcuUm.cjs → cynefinDiagram-TSTJHNR4-DYCBxaEi.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-Dkmz7gDw.js → cynefinDiagram-TSTJHNR4-ogTeIoNY.js} +28 -28
- package/dist/{dagre-VKFMJZFB-BHGdcjt3.js → dagre-VKFMJZFB-BfNdgMHQ.js} +9 -9
- package/dist/{dagre-VKFMJZFB-Q4CcAQ09.cjs → dagre-VKFMJZFB-DJW9o9XX.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-jWCrN_AW.cjs → diagram-FQU43EPY-BRpNVpgn.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-DBASKnKu.js → diagram-FQU43EPY-CJf3yD8h.js} +25 -25
- package/dist/{diagram-G47NLZAW-B4XMStX7.cjs → diagram-G47NLZAW-5rZfUeWV.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-BY1mmnYA.js → diagram-G47NLZAW-D0-6oupP.js} +25 -25
- package/dist/{diagram-NH7WQ7WH-BXFvYRtm.js → diagram-NH7WQ7WH-BwrWWWZJ.js} +19 -19
- package/dist/{diagram-NH7WQ7WH-BS1eEa9R.cjs → diagram-NH7WQ7WH-g7m8p5fK.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-DgGrzezu.js → diagram-OA4YK3LP-BBqA1m8s.js} +13 -13
- package/dist/{diagram-OA4YK3LP-CTaL_2Nc.cjs → diagram-OA4YK3LP-BxP8KUna.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-BHxWKH3v.js → diagram-WEI45ONY-CMexm2GN.js} +35 -35
- package/dist/{diagram-WEI45ONY-DX7BGSMI.cjs → diagram-WEI45ONY-DgJyq1w0.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-BUK_anpV.js → ebnfDiagram-CCIWWBDH-DvLr_8nV.js} +3 -3
- package/dist/{ebnfDiagram-CCIWWBDH-BpDmVVJY.cjs → ebnfDiagram-CCIWWBDH-sfiWOXCW.cjs} +1 -1
- package/dist/embeds/linkCards.d.ts +32 -0
- package/dist/embeds/testing.cjs +1 -1
- package/dist/embeds/testing.js +1 -1
- package/dist/embeds.cjs +1 -1
- package/dist/embeds.d.ts +1 -1
- package/dist/embeds.js +53 -74
- package/dist/{erDiagram-Q63AITRT-Cd9H9BtP.cjs → erDiagram-Q63AITRT-B11THykZ.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-Qb2bmkNp.js → erDiagram-Q63AITRT-D6U6Ng3Y.js} +4 -4
- package/dist/{extractHeadings-B2pUyEPa.js → extractHeadings-CdLPwHlC.js} +4882 -4827
- package/dist/extractHeadings-DRUBnhbi.cjs +311 -0
- package/dist/flowDiagram-23GEKE2U-CDscoQ9F.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-CLibi_u4.js +7 -0
- package/dist/{ganttDiagram-NO4QXBWP-C6-ExcDz.cjs → ganttDiagram-NO4QXBWP-BLlXK3zo.cjs} +1 -1
- package/dist/{ganttDiagram-NO4QXBWP-BVISsrzr.js → ganttDiagram-NO4QXBWP-CGCdgj0K.js} +2 -2
- package/dist/{gitGraphDiagram-IHSO6WYX-DLzPc702.cjs → gitGraphDiagram-IHSO6WYX-BHOyibqH.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-BDVA2TFP.js → gitGraphDiagram-IHSO6WYX-Bib3c0C6.js} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +1 -0
- package/dist/index.client.js +33 -32
- package/dist/index.js +33 -32
- package/dist/index.server.cjs +1 -1
- package/dist/index.server.d.ts +1 -0
- package/dist/index.server.js +598 -151
- package/dist/{infoDiagram-FWYZ7A6U-D31UwqjR.js → infoDiagram-FWYZ7A6U-BUqDBIaP.js} +3 -3
- package/dist/{infoDiagram-FWYZ7A6U-DMF_wb2h.cjs → infoDiagram-FWYZ7A6U-BcDp6g1Y.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-DUlnwraq.cjs → ishikawaDiagram-FXEZZL3T-C3QHQ1ia.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-XA6-gyHY.js → ishikawaDiagram-FXEZZL3T-CcPh4nuP.js} +18 -18
- package/dist/{journeyDiagram-5HDEW3XC-CwQyFcYa.cjs → journeyDiagram-5HDEW3XC-B17v98Wb.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-B8sfsWpu.js → journeyDiagram-5HDEW3XC-MdxndgF1.js} +30 -30
- package/dist/{kanban-definition-HUTT4EX6-BjPlt2-E.cjs → kanban-definition-HUTT4EX6-BApVXeVQ.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-FTrTBare.js → kanban-definition-HUTT4EX6-JhfZ6Qik.js} +120 -120
- package/dist/{linear-D3AJM3sY.cjs → linear-CIVwb13z.cjs} +1 -1
- package/dist/{linear-DI9P_z72.js → linear-dbOUbGpD.js} +8 -8
- package/dist/linkCardServer/addressGuard.server.d.ts +25 -0
- package/dist/linkCardServer/htmlEncoding.server.d.ts +6 -0
- package/dist/linkCardServer/linkCardHandler.server.d.ts +7 -0
- package/dist/linkCardServer/metadataCache.server.d.ts +5 -0
- package/dist/linkCardServer/pageFetch.server.d.ts +37 -0
- package/dist/linkCardServer/pageMetadata.server.d.ts +11 -0
- package/dist/linkCards-1JxY8wdm.js +48 -0
- package/dist/linkCards-Bjd_vW39.cjs +1 -0
- package/dist/markdown.css +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-CxgWZidl.cjs → mindmap-definition-LN4V7U3C-BUbo0u-Y.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-YW4YcL9x.js → mindmap-definition-LN4V7U3C-gNTBga2z.js} +16 -16
- package/dist/{pegDiagram-2B236MQR-sJjLKeF3.js → pegDiagram-2B236MQR-BqjpbNkG.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-CUo7q5bl.cjs → pegDiagram-2B236MQR-DZiQVxu1.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-D4VanIOv.js → pieDiagram-ENE6RG2P-C1Gr48CK.js} +60 -60
- package/dist/{pieDiagram-ENE6RG2P-Cy_sUuLQ.cjs → pieDiagram-ENE6RG2P-D2nxDVFV.cjs} +1 -1
- package/dist/providers-BO7J62-7.cjs +1 -0
- package/dist/{providers-Drq7MT_K.js → providers-L5RM3KgR.js} +23 -23
- package/dist/{quadrantDiagram-ABIIQ3AL-D3c8xLpt.cjs → quadrantDiagram-ABIIQ3AL-C855tL3K.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-ubxphjb_.js → quadrantDiagram-ABIIQ3AL-DuD9ZdUQ.js} +18 -18
- package/dist/{railroadDiagram-RFXS5EU6-_Q4W5hB-.cjs → railroadDiagram-RFXS5EU6-BZsnhaQd.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DvpD4C_A.js → railroadDiagram-RFXS5EU6-xx1d3Md8.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-Dk_6BuX9.js → requirementDiagram-TGXJPOKE-CCu1UYFH.js} +3 -3
- package/dist/{requirementDiagram-TGXJPOKE-DdYIO-wU.cjs → requirementDiagram-TGXJPOKE-D_NbFRkb.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-zuYg6LTg.cjs → sankeyDiagram-HTMAVEWB-Dn2Ta-XX.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-s3Kd7T8n.js → sankeyDiagram-HTMAVEWB-QGzXzczJ.js} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-BvNPCevg.cjs → sequenceDiagram-DBY2YBRQ-BA3Oc4pz.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-YQic4wxL.js → sequenceDiagram-DBY2YBRQ-CjnUnaw9.js} +3 -3
- package/dist/simple-logger-9yf7ypyB.cjs +1 -0
- package/dist/simple-logger-DwH1YQvq.js +103 -0
- package/dist/{sizeCapture-X5ZJPWSS-BqrdzzsI.cjs → sizeCapture-X5ZJPWSS-BPQhVBe0.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-qMsWGfjy.js → sizeCapture-X5ZJPWSS-nb9uU-BE.js} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-D1Ub8LYq.js → stateDiagram-2N3HPSRC-Byg3E1AA.js} +11 -11
- package/dist/{stateDiagram-2N3HPSRC-Ds8f-scd.cjs → stateDiagram-2N3HPSRC-DSqLqSY5.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-PmrsPXuZ.cjs → stateDiagram-v2-6OUMAXLB-VRhXyf-C.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-DW8wjtk3.js → stateDiagram-v2-6OUMAXLB-hKcuYy9t.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-jZhcesRT.cjs → swimlanes-5IMT3BWC-CVnOKNcb.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-C8P8vU0w.js → swimlanes-5IMT3BWC-DyIDdThc.js} +3 -3
- package/dist/{swimlanesDiagram-G3AALYLV-B9FKeJRf.js → swimlanesDiagram-G3AALYLV-BF1ofRjP.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-M5Cg2MHU.cjs → swimlanesDiagram-G3AALYLV-C3U5wLlX.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-Ch-He--D.js → timeline-definition-FHXFAJF6-DBmE_qU3.js} +38 -38
- package/dist/{timeline-definition-FHXFAJF6-DZm1-KlQ.cjs → timeline-definition-FHXFAJF6-KUETCXLT.cjs} +1 -1
- package/dist/utils/simple-logger.d.ts +1 -0
- package/dist/{vennDiagram-L72KCM5P-CaoPscCM.js → vennDiagram-L72KCM5P-C6j4k5X-.js} +102 -102
- package/dist/{vennDiagram-L72KCM5P-mUSI238J.cjs → vennDiagram-L72KCM5P-DkSV3dIE.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-CSAqF366.js → wardleyDiagram-EHGQE667-BaG6Cf_u.js} +18 -18
- package/dist/{wardleyDiagram-EHGQE667-CkKP97H-.cjs → wardleyDiagram-EHGQE667-uWMTMxL-.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-OEsTD_k4.js → xychartDiagram-FW5EYKEG-BPl5BnMB.js} +27 -27
- package/dist/{xychartDiagram-FW5EYKEG-BivGpkVk.cjs → xychartDiagram-FW5EYKEG-QAFE-xqg.cjs} +1 -1
- package/package.json +12 -8
- package/dist/arc-DzZml7Bc.js +0 -83
- package/dist/extractHeadings-DgefF9l1.cjs +0 -311
- package/dist/flowDiagram-23GEKE2U-BOmNlv7X.cjs +0 -1
- package/dist/flowDiagram-23GEKE2U-DMZnRz-6.js +0 -7
- package/dist/providers-Bxr2Wb-j.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Tr } from "./chunk-RYQCIY6F-
|
|
2
|
-
import {
|
|
1
|
+
import { c as Tr } from "./chunk-RYQCIY6F-O6wbIIFF.js";
|
|
2
|
+
import { a$ as Er, b0 as wr, b1 as Ar, b2 as Rr, Q as Ke, K as Nr, aT as Or, aS as Pr, aU as Br, b6 as kr, b8 as Fr, ag as _r, b5 as Dr, b9 as Hr, a5 as Oe, ba as Ye, _ as d, bb as Ao } from "./extractHeadings-CdLPwHlC.js";
|
|
3
3
|
import { G as Xr } from "./graph-DAHC4kPm.js";
|
|
4
4
|
async function Fo(t, e) {
|
|
5
5
|
const n = new Xr({
|
|
@@ -22,7 +22,7 @@ async function Fo(t, e) {
|
|
|
22
22
|
for (const I of o)
|
|
23
23
|
n.setEdge(I.start, I.end, { ...I }, I.id), e.edges.some((p) => p.id === I.id) || e.edges.push(I);
|
|
24
24
|
if (globalThis.mermaidCaptureSizes) {
|
|
25
|
-
const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-
|
|
25
|
+
const { captureNodeSizes: I } = await import("./sizeCapture-X5ZJPWSS-nb9uU-BE.js");
|
|
26
26
|
I(t, e);
|
|
27
27
|
}
|
|
28
28
|
return {
|
package/dist/{swimlanesDiagram-G3AALYLV-B9FKeJRf.js → swimlanesDiagram-G3AALYLV-BF1ofRjP.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as t, s as a } from "./chunk-PUDLZKDR-
|
|
2
|
-
import { _ as r } from "./extractHeadings-
|
|
1
|
+
import { c as t, s as a } from "./chunk-PUDLZKDR-Q5QzbDtY.js";
|
|
2
|
+
import { _ as r } from "./extractHeadings-CdLPwHlC.js";
|
|
3
3
|
var s = /* @__PURE__ */ r((e) => `${a(e)}
|
|
4
4
|
.swimlane.cluster rect {
|
|
5
5
|
stroke: ${e.clusterBorder} !important;
|
package/dist/{swimlanesDiagram-G3AALYLV-M5Cg2MHU.cjs → swimlanesDiagram-G3AALYLV-C3U5wLlX.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-PUDLZKDR-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./chunk-PUDLZKDR-CzCdcyAN.cjs"),r=require("./extractHeadings-DRUBnhbi.cjs");var a=r.__name(e=>`${t.styles_default(e)}
|
|
2
2
|
.swimlane.cluster rect {
|
|
3
3
|
stroke: ${e.clusterBorder} !important;
|
|
4
4
|
}
|
package/dist/{timeline-definition-FHXFAJF6-Ch-He--D.js → timeline-definition-FHXFAJF6-DBmE_qU3.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o,
|
|
2
|
-
import { d as ot } from "./arc-
|
|
1
|
+
import { _ as o, ag as pt, ay as Ct, az as Rt, aA as Wt, K as gt, Q as E, al as Pt, ap as Bt, aB as ft, O as X, af as Vt, aC as Ft, ac as zt } from "./extractHeadings-CdLPwHlC.js";
|
|
2
|
+
import { d as ot } from "./arc-Gw7Urszo.js";
|
|
3
3
|
var tt = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ o(function(k, s, d, l) {
|
|
5
5
|
for (d = d || {}, l = k.length; l--; d[k[l]] = s) ;
|
|
@@ -68,7 +68,7 @@ var tt = (function() {
|
|
|
68
68
|
}
|
|
69
69
|
}, "parseError"),
|
|
70
70
|
parse: /* @__PURE__ */ o(function(s) {
|
|
71
|
-
var d = this, l = [0], p = [], x = [null], u = [], S = this.table, v = "", I = 0,
|
|
71
|
+
var d = this, l = [0], p = [], x = [null], u = [], S = this.table, v = "", I = 0, C = 0, W = 2, O = 1, L = u.slice.call(arguments, 1), w = Object.create(this.lexer), H = { yy: {} };
|
|
72
72
|
for (var V in this.yy)
|
|
73
73
|
Object.prototype.hasOwnProperty.call(this.yy, V) && (H.yy[V] = this.yy[V]);
|
|
74
74
|
w.setInput(s, H.yy), H.yy.lexer = w, H.yy.parser = this, typeof w.yylloc > "u" && (w.yylloc = {});
|
|
@@ -85,7 +85,7 @@ var tt = (function() {
|
|
|
85
85
|
return A = p.pop() || w.lex() || O, typeof A != "number" && (A instanceof Array && (p = A, A = p.pop()), A = d.symbols_[A] || A), A;
|
|
86
86
|
}
|
|
87
87
|
o(b, "lex");
|
|
88
|
-
for (var _, $, T, P,
|
|
88
|
+
for (var _, $, T, P, R = {}, G, B, Z, j; ; ) {
|
|
89
89
|
if ($ = l[l.length - 1], this.defaultActions[$] ? T = this.defaultActions[$] : ((_ === null || typeof _ > "u") && (_ = b()), T = S[$] && S[$][_]), typeof T > "u" || !T.length || !T[0]) {
|
|
90
90
|
var Y = "";
|
|
91
91
|
j = [];
|
|
@@ -105,20 +105,20 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "
|
|
|
105
105
|
throw new Error("Parse Error: multiple actions possible at state: " + $ + ", token: " + _);
|
|
106
106
|
switch (T[0]) {
|
|
107
107
|
case 1:
|
|
108
|
-
l.push(_), x.push(w.yytext), u.push(w.yylloc), l.push(T[1]), _ = null,
|
|
108
|
+
l.push(_), x.push(w.yytext), u.push(w.yylloc), l.push(T[1]), _ = null, C = w.yyleng, v = w.yytext, I = w.yylineno, F = w.yylloc;
|
|
109
109
|
break;
|
|
110
110
|
case 2:
|
|
111
|
-
if (B = this.productions_[T[1]][1],
|
|
111
|
+
if (B = this.productions_[T[1]][1], R.$ = x[x.length - B], R._$ = {
|
|
112
112
|
first_line: u[u.length - (B || 1)].first_line,
|
|
113
113
|
last_line: u[u.length - 1].last_line,
|
|
114
114
|
first_column: u[u.length - (B || 1)].first_column,
|
|
115
115
|
last_column: u[u.length - 1].last_column
|
|
116
|
-
}, U && (
|
|
116
|
+
}, U && (R._$.range = [
|
|
117
117
|
u[u.length - (B || 1)].range[0],
|
|
118
118
|
u[u.length - 1].range[1]
|
|
119
|
-
]), P = this.performAction.apply(
|
|
119
|
+
]), P = this.performAction.apply(R, [
|
|
120
120
|
v,
|
|
121
|
-
|
|
121
|
+
C,
|
|
122
122
|
I,
|
|
123
123
|
H.yy,
|
|
124
124
|
T[1],
|
|
@@ -126,7 +126,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "
|
|
|
126
126
|
u
|
|
127
127
|
].concat(L)), typeof P < "u")
|
|
128
128
|
return P;
|
|
129
|
-
B && (l = l.slice(0, -1 * B * 2), x = x.slice(0, -1 * B), u = u.slice(0, -1 * B)), l.push(this.productions_[T[1]][0]), x.push(
|
|
129
|
+
B && (l = l.slice(0, -1 * B * 2), x = x.slice(0, -1 * B), u = u.slice(0, -1 * B)), l.push(this.productions_[T[1]][0]), x.push(R.$), u.push(R._$), Z = S[l[l.length - 2]][l[l.length - 1]], l.push(Z);
|
|
130
130
|
break;
|
|
131
131
|
case 3:
|
|
132
132
|
return !0;
|
|
@@ -436,7 +436,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], K = [], xt = /* @__PURE__ */ o((
|
|
|
436
436
|
addTask: Et,
|
|
437
437
|
addTaskOrg: $t,
|
|
438
438
|
addEvent: Tt
|
|
439
|
-
}, Nt = 0,
|
|
439
|
+
}, Nt = 0, Q = /* @__PURE__ */ o(function(e, t) {
|
|
440
440
|
const n = e.append("rect");
|
|
441
441
|
return n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), n.attr("rx", t.rx), n.attr("ry", t.ry), t.class !== void 0 && n.attr("class", t.class), n;
|
|
442
442
|
}, "drawRect"), Dt = /* @__PURE__ */ o(function(e, t) {
|
|
@@ -473,7 +473,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], K = [], xt = /* @__PURE__ */ o((
|
|
|
473
473
|
i.attr("points", n(t.x, t.y, 50, 20, 7)), i.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, It(e, t);
|
|
474
474
|
}, "drawLabel"), Xt = /* @__PURE__ */ o(function(e, t, n) {
|
|
475
475
|
const i = e.append("g"), r = st();
|
|
476
|
-
r.x = t.x, r.y = t.y, r.fill = t.fill, r.width = n.width, r.height = n.height, r.class = "journey-section section-type-" + t.num, r.rx = 3, r.ry = 3,
|
|
476
|
+
r.x = t.x, r.y = t.y, r.fill = t.fill, r.width = n.width, r.height = n.height, r.class = "journey-section section-type-" + t.num, r.rx = 3, r.ry = 3, Q(i, r), Ht(n)(
|
|
477
477
|
t.text,
|
|
478
478
|
i,
|
|
479
479
|
r.x,
|
|
@@ -492,7 +492,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], K = [], xt = /* @__PURE__ */ o((
|
|
|
492
492
|
score: t.score
|
|
493
493
|
});
|
|
494
494
|
const a = st();
|
|
495
|
-
a.x = t.x, a.y = t.y, a.fill = t.fill, a.width = n.width, a.height = n.height, a.class = "task task-type-" + t.num, a.rx = 3, a.ry = 3,
|
|
495
|
+
a.x = t.x, a.y = t.y, a.fill = t.fill, a.width = n.width, a.height = n.height, a.class = "task task-type-" + t.num, a.rx = 3, a.ry = 3, Q(h, a), Ht(n)(
|
|
496
496
|
t.task,
|
|
497
497
|
h,
|
|
498
498
|
a.x,
|
|
@@ -504,7 +504,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], K = [], xt = /* @__PURE__ */ o((
|
|
|
504
504
|
t.colour
|
|
505
505
|
);
|
|
506
506
|
}, "drawTask"), jt = /* @__PURE__ */ o(function(e, t) {
|
|
507
|
-
|
|
507
|
+
Q(e, {
|
|
508
508
|
x: t.startx,
|
|
509
509
|
y: t.starty,
|
|
510
510
|
width: t.stopx - t.startx,
|
|
@@ -560,7 +560,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], K = [], xt = /* @__PURE__ */ o((
|
|
|
560
560
|
return o(i, "_setTextAttrs"), function(r) {
|
|
561
561
|
return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
|
|
562
562
|
};
|
|
563
|
-
})(),
|
|
563
|
+
})(), Qt = /* @__PURE__ */ o(function(e, t) {
|
|
564
564
|
Nt = 0, et = -1, e.append("defs").append("marker").attr("id", t + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
|
|
565
565
|
}, "initGraphics");
|
|
566
566
|
function it(e, t) {
|
|
@@ -571,7 +571,7 @@ function it(e, t) {
|
|
|
571
571
|
});
|
|
572
572
|
}
|
|
573
573
|
o(it, "wrap");
|
|
574
|
-
var
|
|
574
|
+
var Jt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
575
575
|
const { theme: c, look: a } = i, f = c?.includes("redux"), g = i?.themeVariables?.THEME_COLOR_LIMIT ?? 12, m = n % g - 1, y = e.append("g");
|
|
576
576
|
t.section = m, y.attr(
|
|
577
577
|
"class",
|
|
@@ -584,8 +584,8 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
584
584
|
), te(k, t, m, r, i), a === "neo" && (y.attr("data-look", "neo"), f)) {
|
|
585
585
|
const x = c.includes("dark"), u = e.node()?.ownerSVGElement ?? e.node(), S = X(u), v = S.attr("id") ?? "", I = v ? `${v}-drop-shadow` : "drop-shadow";
|
|
586
586
|
if (S.select(`#${I}`).empty()) {
|
|
587
|
-
const
|
|
588
|
-
(
|
|
587
|
+
const C = S.select("defs");
|
|
588
|
+
(C.empty() ? S.append("defs") : C).append("filter").attr("id", I).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", x ? "0.2" : "0.06").attr("flood-color", x ? "#FFFFFF" : "#000000");
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
return t;
|
|
@@ -596,7 +596,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
596
596
|
const { theme: h } = r, c = h?.includes("redux") ? 0 : 5, a = 5, f = c > 0 ? `M0 ${t.height - a} v${-t.height + 2 * a} q0,-${c},${c},-${c} h${t.width - 2 * a} q${c},0,${c},${c} v${t.height - a} H0 Z` : `M0 ${t.height - a} v${-(t.height - a)} h${t.width} v${t.height} H0 Z`;
|
|
597
597
|
e.append("path").attr("id", i + "-node-" + Nt++).attr("class", "node-bkg node-" + t.type).attr("d", f), h?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
|
|
598
598
|
}, "defaultBkg"), M = {
|
|
599
|
-
drawRect:
|
|
599
|
+
drawRect: Q,
|
|
600
600
|
drawCircle: Kt,
|
|
601
601
|
drawSection: Xt,
|
|
602
602
|
drawText: It,
|
|
@@ -605,8 +605,8 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
605
605
|
drawBackgroundRect: jt,
|
|
606
606
|
getTextObj: qt,
|
|
607
607
|
getNoteRect: st,
|
|
608
|
-
initGraphics:
|
|
609
|
-
drawNode:
|
|
608
|
+
initGraphics: Qt,
|
|
609
|
+
drawNode: Jt,
|
|
610
610
|
getVirtualNodeHeight: Yt
|
|
611
611
|
}, ee = /* @__PURE__ */ o(function(e, t, n, i) {
|
|
612
612
|
const r = gt(), { look: h, theme: c, themeVariables: a } = r, { useGradient: f, gradientStart: g, gradientStop: m } = a, y = r.timeline?.leftMargin ?? 50;
|
|
@@ -620,8 +620,8 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
620
620
|
E.debug("task", p), M.initGraphics(l, t);
|
|
621
621
|
const u = i.db.getSections();
|
|
622
622
|
E.debug("sections", u);
|
|
623
|
-
let S = 0, v = 0, I = 0,
|
|
624
|
-
|
|
623
|
+
let S = 0, v = 0, I = 0, C = 0, W = 50 + y, O = 50;
|
|
624
|
+
C = 50;
|
|
625
625
|
let L = 0, w = !0;
|
|
626
626
|
u.forEach(function(N) {
|
|
627
627
|
const b = {
|
|
@@ -648,7 +648,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
648
648
|
E.debug("taskHeight before draw", $), v = Math.max(v, $ + 20), H = Math.max(H, b.events.length);
|
|
649
649
|
let T = 0;
|
|
650
650
|
for (const P of b.events) {
|
|
651
|
-
const
|
|
651
|
+
const R = {
|
|
652
652
|
descr: P,
|
|
653
653
|
section: b.section,
|
|
654
654
|
number: b.section,
|
|
@@ -656,7 +656,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
656
656
|
padding: 20,
|
|
657
657
|
maxHeight: 50
|
|
658
658
|
};
|
|
659
|
-
T += M.getVirtualNodeHeight(l,
|
|
659
|
+
T += M.getVirtualNodeHeight(l, R, r);
|
|
660
660
|
}
|
|
661
661
|
b.events.length > 0 && (T += (b.events.length - 1) * 10), V = Math.max(V, T);
|
|
662
662
|
}
|
|
@@ -671,7 +671,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
671
671
|
};
|
|
672
672
|
E.debug("sectionNode", _);
|
|
673
673
|
const $ = l.append("g"), T = M.drawNode($, _, L, r, t);
|
|
674
|
-
E.debug("sectionNode output", T), $.attr("transform", `translate(${W}, ${
|
|
674
|
+
E.debug("sectionNode output", T), $.attr("transform", `translate(${W}, ${C})`), O += S + 50, b.length > 0 && lt(
|
|
675
675
|
l,
|
|
676
676
|
b,
|
|
677
677
|
L,
|
|
@@ -684,7 +684,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
684
684
|
S,
|
|
685
685
|
!1,
|
|
686
686
|
t
|
|
687
|
-
), W += 200 * Math.max(b.length, 1), O =
|
|
687
|
+
), W += 200 * Math.max(b.length, 1), O = C, L++;
|
|
688
688
|
}) : (w = !1, lt(
|
|
689
689
|
l,
|
|
690
690
|
p,
|
|
@@ -752,7 +752,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
752
752
|
setConf: /* @__PURE__ */ o(() => {
|
|
753
753
|
}, "setConf"),
|
|
754
754
|
draw: ee
|
|
755
|
-
},
|
|
755
|
+
}, J = 200, z = 5, se = J + z * 2, at = J + 100, ie = at + z * 2, Lt = 10, ae = 0, ht = 20, Mt = 20, dt = 30, At = 50, oe = /* @__PURE__ */ o(function(e, t, n, i) {
|
|
756
756
|
const r = gt(), h = r.timeline?.leftMargin ?? 50;
|
|
757
757
|
E.debug("timeline", i.db);
|
|
758
758
|
const c = Pt(t);
|
|
@@ -766,13 +766,13 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
766
766
|
let s = 50;
|
|
767
767
|
const d = s, l = k, p = se + Mt, x = ie + At, u = l + p;
|
|
768
768
|
let S = 0;
|
|
769
|
-
const v = g && g.length > 0, I = v ? u : k + p,
|
|
769
|
+
const v = g && g.length > 0, I = v ? u : k + p, C = Math.max(50, p + x - z * 2);
|
|
770
770
|
g.forEach(function(N) {
|
|
771
771
|
const b = {
|
|
772
772
|
number: S,
|
|
773
773
|
descr: N,
|
|
774
774
|
section: S,
|
|
775
|
-
width:
|
|
775
|
+
width: C,
|
|
776
776
|
padding: z,
|
|
777
777
|
maxHeight: m
|
|
778
778
|
}, _ = M.getVirtualNodeHeight(c, b, r);
|
|
@@ -785,14 +785,14 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
785
785
|
number: N,
|
|
786
786
|
descr: b,
|
|
787
787
|
section: b.section,
|
|
788
|
-
width:
|
|
788
|
+
width: J,
|
|
789
789
|
padding: z,
|
|
790
790
|
maxHeight: y
|
|
791
791
|
}, $ = M.getVirtualNodeHeight(c, _, r);
|
|
792
792
|
E.debug("taskHeight before draw", $), y = Math.max(y, $);
|
|
793
793
|
let T = 0;
|
|
794
794
|
for (const P of b.events) {
|
|
795
|
-
const
|
|
795
|
+
const R = {
|
|
796
796
|
descr: P,
|
|
797
797
|
section: b.section,
|
|
798
798
|
number: b.section,
|
|
@@ -800,7 +800,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
800
800
|
padding: z,
|
|
801
801
|
maxHeight: 50
|
|
802
802
|
};
|
|
803
|
-
T += M.getVirtualNodeHeight(c,
|
|
803
|
+
T += M.getVirtualNodeHeight(c, R, r);
|
|
804
804
|
}
|
|
805
805
|
b.events.length > 0 && (T += (b.events.length - 1) * Lt), W = Math.max(W, T) + ae;
|
|
806
806
|
}
|
|
@@ -811,7 +811,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
811
811
|
number: S,
|
|
812
812
|
descr: N,
|
|
813
813
|
section: S,
|
|
814
|
-
width:
|
|
814
|
+
width: C,
|
|
815
815
|
padding: z,
|
|
816
816
|
maxHeight: m
|
|
817
817
|
};
|
|
@@ -820,13 +820,13 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
820
820
|
E.debug("sectionNode output", T);
|
|
821
821
|
const P = I - p;
|
|
822
822
|
$.attr("transform", `translate(${P}, ${s})`);
|
|
823
|
-
const
|
|
823
|
+
const R = s + T.height + ht;
|
|
824
824
|
b.length > 0 && ut(
|
|
825
825
|
c,
|
|
826
826
|
b,
|
|
827
827
|
S,
|
|
828
828
|
I,
|
|
829
|
-
|
|
829
|
+
R,
|
|
830
830
|
y,
|
|
831
831
|
r,
|
|
832
832
|
L,
|
|
@@ -866,7 +866,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
866
866
|
descr: g.task,
|
|
867
867
|
section: n,
|
|
868
868
|
number: n,
|
|
869
|
-
width:
|
|
869
|
+
width: J,
|
|
870
870
|
padding: z,
|
|
871
871
|
maxHeight: h
|
|
872
872
|
};
|
|
@@ -960,7 +960,7 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
|
960
960
|
}, "genReduxSections"), de = /* @__PURE__ */ o((e) => {
|
|
961
961
|
let t = "";
|
|
962
962
|
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++)
|
|
963
|
-
e["lineColor" + n] = e["lineColor" + n] || e["cScaleInv" + n],
|
|
963
|
+
e["lineColor" + n] = e["lineColor" + n] || e["cScaleInv" + n], Ct(e["lineColor" + n]) ? e["lineColor" + n] = Rt(e["lineColor" + n], 20) : e["lineColor" + n] = Wt(e["lineColor" + n], 20);
|
|
964
964
|
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
|
|
965
965
|
const i = "" + (17 - 3 * n);
|
|
966
966
|
t += `
|
package/dist/{timeline-definition-FHXFAJF6-DZm1-KlQ.cjs → timeline-definition-FHXFAJF6-KUETCXLT.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./extractHeadings-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./extractHeadings-DRUBnhbi.cjs"),st=require("./arc-ZAQ3z7kr.cjs");var Q=(function(){var e=r.__name(function(x,s,d,c){for(d=d||{},c=x.length;c--;d[x[c]]=s);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],n=[1,12],i=[1,13],a=[1,14],h=[1,15],l=[1,16],o=[1,19],f=[1,20],p={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:r.__name(function(s,d,c,g,y,u,S){var k=u.length-1;switch(y){case 1:return u[k-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[k-1].push(u[k]),this.$=u[k-1];break;case 7:case 8:this.$=u[k];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[k].substr(6)),this.$=u[k].substr(6);break;case 12:this.$=u[k].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[k].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[k].substr(8)),this.$=u[k].substr(8);break;case 18:g.addTask(u[k],0,""),this.$=u[k];break;case 19:g.addEvent(u[k].substr(2)),this.$=u[k];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:n,15:i,17:a,19:h,20:l,21:17,22:18,23:o,24:f},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:n,15:i,17:a,19:h,20:l,21:17,22:18,23:o,24:f},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:r.__name(function(s,d){if(d.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=d,c}},"parseError"),parse:r.__name(function(s){var d=this,c=[0],g=[],y=[null],u=[],S=this.table,k="",N=0,A=0,R=2,O=1,H=u.slice.call(arguments,1),w=Object.create(this.lexer),I={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(I.yy[B]=this.yy[B]);w.setInput(s,I.yy),I.yy.lexer=w,I.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var V=w.yylloc;u.push(V);var q=w.options&&w.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $(M){c.length=c.length-2*M,y.length=y.length-M,u.length=u.length-M}r.__name($,"popStack");function v(){var M;return M=g.pop()||w.lex()||O,typeof M!="number"&&(M instanceof Array&&(g=M,M=g.pop()),M=d.symbols_[M]||M),M}r.__name(v,"lex");for(var b,T,E,W,C={},z,P,j,K;;){if(T=c[c.length-1],this.defaultActions[T]?E=this.defaultActions[T]:((b===null||typeof b>"u")&&(b=v()),E=S[T]&&S[T][b]),typeof E>"u"||!E.length||!E[0]){var J="";K=[];for(z in S[T])this.terminals_[z]&&z>R&&K.push("'"+this.terminals_[z]+"'");w.showPosition?J="Parse error on line "+(N+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+K.join(", ")+", got '"+(this.terminals_[b]||b)+"'":J="Parse error on line "+(N+1)+": Unexpected "+(b==O?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(J,{text:w.match,token:this.terminals_[b]||b,line:w.yylineno,loc:V,expected:K})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+b);switch(E[0]){case 1:c.push(b),y.push(w.yytext),u.push(w.yylloc),c.push(E[1]),b=null,A=w.yyleng,k=w.yytext,N=w.yylineno,V=w.yylloc;break;case 2:if(P=this.productions_[E[1]][1],C.$=y[y.length-P],C._$={first_line:u[u.length-(P||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(P||1)].first_column,last_column:u[u.length-1].last_column},q&&(C._$.range=[u[u.length-(P||1)].range[0],u[u.length-1].range[1]]),W=this.performAction.apply(C,[k,A,N,I.yy,E[1],y,u].concat(H)),typeof W<"u")return W;P&&(c=c.slice(0,-1*P*2),y=y.slice(0,-1*P),u=u.slice(0,-1*P)),c.push(this.productions_[E[1]][0]),y.push(C.$),u.push(C._$),j=S[c[c.length-2]][c[c.length-1]],c.push(j);break;case 3:return!0}}return!0},"parse")},_=(function(){var x={EOF:1,parseError:r.__name(function(d,c){if(this.yy.parser)this.yy.parser.parseError(d,c);else throw new Error(d)},"parseError"),setInput:r.__name(function(s,d){return this.yy=d||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var d=s.match(/(?:\r\n?|\n).*/g);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),s},"input"),unput:r.__name(function(s){var d=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===g.length?this.yylloc.first_column:0)+g[g.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:r.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var s=this.pastInput(),d=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|