@pi-outpost/embed 0.40.0 → 0.40.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/{CodeEditor-Cb6i9oIs.cjs → CodeEditor-B699PZlx.cjs} +1 -1
- package/dist/{CodeEditor-2Vx8PHAy.js → CodeEditor-CxKTvrhG.js} +5 -5
- package/dist/PdfViewer-COOgvLyp.js +428 -0
- package/dist/PdfViewer-Dyou2VMw.cjs +1 -0
- package/dist/{abnfDiagram-WEYOIA3C-B2ss_Vsq.js → abnfDiagram-WEYOIA3C-B_dTFm2g.js} +5 -5
- package/dist/{abnfDiagram-WEYOIA3C-DMn87p58.cjs → abnfDiagram-WEYOIA3C-Dk2VD3Iw.cjs} +1 -1
- package/dist/{arc-CLGGhOeW.js → arc-37kcMiGl.js} +1 -1
- package/dist/{arc-Dh2Zrypi.cjs → arc-C7P0rHQr.cjs} +1 -1
- package/dist/architecture-WOLXFQ4H-Dg4VU8sZ.js +2 -0
- package/dist/architecture-WOLXFQ4H-u_y_0ZVC.cjs +1 -0
- package/dist/architectureDiagram-ZHVYKT53-Bud-mHjo.cjs +36 -0
- package/dist/{architectureDiagram-ZHVYKT53-C5QppHvM.js → architectureDiagram-ZHVYKT53-CslNYmQN.js} +48 -64
- package/dist/{blockDiagram-RJAE7QA3-DOvlohR9.js → blockDiagram-RJAE7QA3-Dgm9J6pS.js} +27 -38
- package/dist/{blockDiagram-RJAE7QA3-CODM9GdZ.cjs → blockDiagram-RJAE7QA3-lEBn-_Yn.cjs} +2 -2
- package/dist/{c4Diagram-XDPPPE54-eTVK3Kzy.cjs → c4Diagram-XDPPPE54-BKNqVY-U.cjs} +1 -1
- package/dist/{c4Diagram-XDPPPE54-8dwnUpAO.js → c4Diagram-XDPPPE54-rbzhqhW5.js} +8 -8
- package/dist/channel-AESWk0Yw.cjs +1 -0
- package/dist/{channel-B1lf-ehw.js → channel-CEoRf1uz.js} +1 -1
- package/dist/{chunk-2E7WHVMD-DkV-cet-.cjs → chunk-2E7WHVMD-BNsJOdNP.cjs} +1 -1
- package/dist/{chunk-2E7WHVMD-Dg_Sckag.js → chunk-2E7WHVMD-Vo-POJc_.js} +3 -3
- package/dist/{chunk-4EMNKR2T-C2XrT3x_.js → chunk-4EMNKR2T-BIO9veC4.js} +1 -1
- package/dist/{chunk-4EMNKR2T-DfeN909d.cjs → chunk-4EMNKR2T-CGAdq4EA.cjs} +1 -1
- package/dist/{chunk-55XCU76K-d9D4PS_7.cjs → chunk-55XCU76K-IpMfjRYv.cjs} +1 -1
- package/dist/{chunk-55XCU76K-CADZXRVb.js → chunk-55XCU76K-o8OgDLPD.js} +3 -3
- package/dist/{chunk-7S6XSTFO-DV8etStf.js → chunk-7S6XSTFO-DrDRohsE.js} +4 -4
- package/dist/{chunk-7S6XSTFO-DJ37SdG5.cjs → chunk-7S6XSTFO-ejBVk-tI.cjs} +1 -1
- package/dist/{chunk-AQDTSKZB-DElrkKED.cjs → chunk-AQDTSKZB-B-MpZ-y2.cjs} +7 -7
- package/dist/{chunk-AQDTSKZB-CUCC855j.js → chunk-AQDTSKZB-DUZx386i.js} +14 -73
- package/dist/chunk-DSNLSHJZ-BxQ7lMXY.cjs +129 -0
- package/dist/{chunk-DSNLSHJZ-Bicto10E.js → chunk-DSNLSHJZ-DPpiuUZK.js} +627 -624
- package/dist/{chunk-HAGFOTED-Dykk1LyE.cjs → chunk-HAGFOTED-BUPxFGdn.cjs} +1 -1
- package/dist/{chunk-HAGFOTED-BjDmRfgG.js → chunk-HAGFOTED-ceXO12G4.js} +6 -6
- package/dist/{chunk-HNE4Q36P-C-j5Nn9f.cjs → chunk-HNE4Q36P-CCHAgwa3.cjs} +1 -1
- package/dist/{chunk-HNE4Q36P-5u7dvjgt.js → chunk-HNE4Q36P-uON_vFhT.js} +6 -6
- package/dist/{chunk-NGNAAXSQ-kHtfTQLE.cjs → chunk-NGNAAXSQ-BaBpWF2S.cjs} +6 -6
- package/dist/{chunk-NGNAAXSQ-DM0DL2MX.js → chunk-NGNAAXSQ-uUWLDjAm.js} +46 -50
- package/dist/{chunk-NQOKRVIF-CpOc5MEh.cjs → chunk-NQOKRVIF-DcZqKWzv.cjs} +1 -1
- package/dist/{chunk-NQOKRVIF-DUgN94ic.js → chunk-NQOKRVIF-DmOxzSOQ.js} +9 -9
- package/dist/{chunk-UHW7PFBP-NbzzxkEP.js → chunk-UHW7PFBP-BTk1ZC8L.js} +1 -1
- package/dist/{chunk-UHW7PFBP-SZ8KvGM0.cjs → chunk-UHW7PFBP-Bays5Zi8.cjs} +1 -1
- package/dist/{chunk-VQ5W62QI-D3c9tcDC.js → chunk-VQ5W62QI-Bvcxpp51.js} +2 -2
- package/dist/{chunk-VQ5W62QI-CsW6i5Ev.cjs → chunk-VQ5W62QI-Dw9Kffnl.cjs} +1 -1
- package/dist/{chunk-WQQL4CDK-l3Yf4SAX.js → chunk-WQQL4CDK-C3yDIFZ3.js} +8 -8
- package/dist/{chunk-WQQL4CDK-TvwGUFeE.cjs → chunk-WQQL4CDK-DxEEyQzx.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-IzhWXllg.js → chunk-XXDRQBXY-CNtMgRT_.js} +1 -1
- package/dist/{chunk-XXDRQBXY-yMT3rT5Y.cjs → chunk-XXDRQBXY-DfReYcER.cjs} +1 -1
- package/dist/{chunk-YZO67HFG-CLf5aoHk.cjs → chunk-YZO67HFG-DCQIFG8j.cjs} +1 -1
- package/dist/{chunk-YZO67HFG-DWHo0c6-.js → chunk-YZO67HFG-WF3jklBn.js} +2 -2
- package/dist/{chunk-ZAUX2LTX-BwjEPfG0.cjs → chunk-ZAUX2LTX-DIQkgUFr.cjs} +1 -1
- package/dist/{chunk-ZAUX2LTX-COHXRsvU.js → chunk-ZAUX2LTX-P8LAwm_U.js} +3 -3
- package/dist/{chunk-ZCHMQSOR-Cw-9SNln.js → chunk-ZCHMQSOR-BbO7eY2w.js} +78 -80
- package/dist/chunk-ZCHMQSOR-Cg8zPt0w.cjs +1 -0
- package/dist/{classDiagram-v2-4MYWR3UA-vsmkJ0Cx.js → classDiagram-v2-4MYWR3UA-DIjHIULx.js} +16 -16
- package/dist/{classDiagram-v2-4MYWR3UA-wLbwKHvU.cjs → classDiagram-v2-4MYWR3UA-DyMM0DMP.cjs} +2 -2
- package/dist/{clike-8rZWBES0.cjs → clike-I-fVVl3d.cjs} +1 -1
- package/dist/{clike-D-dOQnrm.js → clike-VB7owi7S.js} +1 -5
- package/dist/{conversationExport-BmvGyAf-.cjs → conversationExport-Co-E1-fF.cjs} +1 -1
- package/dist/{conversationExport-CBiBLWVk.js → conversationExport-KyCOByU5.js} +7 -8
- package/dist/conversationHistory-BYekdNUk.cjs +31 -0
- package/dist/conversationHistory-DPZF00Qz.js +21639 -0
- package/dist/{core-D_MCdR2m.js → core-BGZbe1UJ.js} +2 -6
- package/dist/{core-BrupIPpc.cjs → core-CmCLKhYZ.cjs} +2 -2
- package/dist/{cose-bilkent-JH36ORCC-qPjrc3_9.js → cose-bilkent-JH36ORCC-DjbvRWCz.js} +58 -71
- package/dist/cose-bilkent-JH36ORCC-KeNQ2SMA.cjs +1 -0
- package/dist/cynefin-EF2NZ3EQ-BBhIrDKD.cjs +1 -0
- package/dist/cynefin-EF2NZ3EQ-DDZjUykJ.js +2 -0
- package/dist/{cynefinDiagram-WF24UDRP-CHBmFbqk.cjs → cynefinDiagram-WF24UDRP-BC09SRT2.cjs} +1 -1
- package/dist/{cynefinDiagram-WF24UDRP-BhWkOxCi.js → cynefinDiagram-WF24UDRP-DEFG-MNh.js} +5 -5
- package/dist/cytoscape.esm-BN8NndIc.cjs +321 -0
- package/dist/{cytoscape.esm-Cq7KPj0t.js → cytoscape.esm-BmhLauwj.js} +412 -513
- package/dist/dagre-NK4GIZVX-D0_oLrA9.cjs +4 -0
- package/dist/{dagre-NK4GIZVX-CJfLDa-C.js → dagre-NK4GIZVX-D6Xuc_Nw.js} +43 -47
- package/dist/{diagram-CBK3MWTC-2pAHlnGJ.js → diagram-CBK3MWTC-CuUrHQAz.js} +7 -7
- package/dist/{diagram-CBK3MWTC-B_5GBGbb.cjs → diagram-CBK3MWTC-DbXGbFMz.cjs} +1 -1
- package/dist/{diagram-I5XIIV2D-CQ_Y9NJs.js → diagram-I5XIIV2D-DbwsxgDf.js} +5 -5
- package/dist/{diagram-I5XIIV2D-BPxYY-Kp.cjs → diagram-I5XIIV2D-Dom9usNq.cjs} +1 -1
- package/dist/{diagram-ODIL2UCW-pyDNtrY0.cjs → diagram-ODIL2UCW-CLSAtgxG.cjs} +2 -2
- package/dist/{diagram-ODIL2UCW-BJL-7QWJ.js → diagram-ODIL2UCW-CSnuo9bJ.js} +7 -15
- package/dist/{diagram-PFBEJUXE-CXd3x3TA.js → diagram-PFBEJUXE-ChA6KYWw.js} +6 -6
- package/dist/{diagram-PFBEJUXE-BUvTWvw5.cjs → diagram-PFBEJUXE-DAIw33Bx.cjs} +1 -1
- package/dist/{diagram-RJA3I4VV-T3Hd1koB.cjs → diagram-RJA3I4VV-Bt-BxYua.cjs} +1 -1
- package/dist/{diagram-RJA3I4VV-eMNhs7pW.js → diagram-RJA3I4VV-DCygetH_.js} +5 -5
- package/dist/{diagram-TYUNFSNR-CWpFSB2K.js → diagram-TYUNFSNR-BSq4ni3b.js} +22 -35
- package/dist/diagram-TYUNFSNR-Dy2nkVin.cjs +200 -0
- package/dist/{dist-Dvqp7T4I.cjs → dist-2ynRxsSC.cjs} +1 -1
- package/dist/{dist-B7I27gkN.cjs → dist-AeGgfThs.cjs} +1 -1
- package/dist/{dist-Dwv2VYAL.cjs → dist-BB5r6V4R.cjs} +1 -1
- package/dist/{dist-BvsCdwbL.cjs → dist-BDenKBYL.cjs} +1 -1
- package/dist/{dist-BhXQJ0x3.js → dist-BJHB0x8Y.js} +12 -18
- package/dist/{dist-BWlGU9XM.js → dist-BTD5L343.js} +3 -3
- package/dist/{dist-Dr4zY56l.js → dist-BWEDf1a-.js} +2 -2
- package/dist/{dist-BlD6NhiG.js → dist-BWVp6Da-.js} +4 -7
- package/dist/{dist-B8gmxwh-.cjs → dist-C6eKaA9j.cjs} +1 -1
- package/dist/{dist-C0_uLrCb.cjs → dist-CCIM600Y.cjs} +1 -1
- package/dist/{dist-BZcglaBe.cjs → dist-CFf_g4kk.cjs} +1 -1
- package/dist/{dist-DPXHxuWb.js → dist-CGZbBQje.js} +2 -2
- package/dist/{dist-Xjm88mbq.js → dist-CIBKGNWD.js} +4 -4
- package/dist/{dist-DqbI0un6.cjs → dist-CQNYwGEy.cjs} +1 -1
- package/dist/{dist-CyFPTQ2l.cjs → dist-CT7H4C9g.cjs} +1 -1
- package/dist/{dist-BBUKMRrs.js → dist-CYUF5YPj.js} +2 -2
- package/dist/{dist-DWv23S35.js → dist-CZhfI1u7.js} +1 -1
- package/dist/{dist-CHKg1Qb9.js → dist-ChWDi62w.js} +3 -3
- package/dist/dist-CmF-TINl.cjs +1 -0
- package/dist/{dist-C8jjSrIs.cjs → dist-Cz8GulTe.cjs} +1 -1
- package/dist/{dist-qNFo_ASR.cjs → dist-D6LkseRA.cjs} +1 -1
- package/dist/{dist-BZjcsPqi.cjs → dist-DEZD35IP.cjs} +7 -7
- package/dist/{dist-DZrtSp8H.js → dist-DNg4hNu7.js} +3 -3
- package/dist/dist-D_oMTxAl.cjs +2 -0
- package/dist/{dist-BfQGuM1r.js → dist-DaJf_JYz.js} +4 -4
- package/dist/dist-Dpu_aN4m.cjs +1 -0
- package/dist/{dist-CA6ERWRG.js → dist-DszFZlYh.js} +2 -2
- package/dist/{dist-qq9a_ch2.js → dist-Kg2QsUg8.js} +4 -4
- package/dist/{dist-FSzij9Rn.js → dist-LM11INLG.js} +2 -2
- package/dist/{dist-C9dtxVRR.cjs → dist-M4fo1U45.cjs} +1 -1
- package/dist/{dist-BhNvvg0I.js → dist-gn9y7Yb8.js} +116 -119
- package/dist/{dist-B0lO3k1f.js → dist-hv72z6I6.js} +3 -3
- package/dist/{dist-Bppoi_v9.js → dist-lPCEVnGX.js} +2 -2
- package/dist/{dist-D8I4FQ-Q.cjs → dist-rfjaCa2V.cjs} +1 -1
- package/dist/{docxExport-BGYavEI-.js → docxExport-DpgcioIA.js} +2 -2
- package/dist/{docxExport-B24fOHFl.cjs → docxExport-ZYp4tZ7k.cjs} +1 -1
- package/dist/{ebnfDiagram-V4P3TTPT-DAoJZ85k.cjs → ebnfDiagram-V4P3TTPT-6xhHNshj.cjs} +1 -1
- package/dist/{ebnfDiagram-V4P3TTPT-B7cCNP3X.js → ebnfDiagram-V4P3TTPT-e4I3Otpa.js} +5 -5
- package/dist/{elk-QONTBCTQ-BYnAuRAH.js → elk-QONTBCTQ-B8RYU1Ay.js} +746 -1241
- package/dist/elk-QONTBCTQ-hBYUI6Nr.cjs +27 -0
- package/dist/{erDiagram-KYQIGQAA-BKkxORU3.js → erDiagram-KYQIGQAA-BTNANm6p.js} +14 -14
- package/dist/{erDiagram-KYQIGQAA-BIlejnVi.cjs → erDiagram-KYQIGQAA-DsqyoDOz.cjs} +1 -1
- package/dist/eventmodeling-K75KTNOO-Ckh9Djrw.js +2 -0
- package/dist/eventmodeling-K75KTNOO-DKYlYG2c.cjs +1 -0
- package/dist/flowDiagram-IUGLLWBU-BJlVRCj8.js +15 -0
- package/dist/flowDiagram-IUGLLWBU-CsC_IEV_.cjs +1 -0
- package/dist/{ganttDiagram-R7GPNTJY-BGcXo1KA.cjs → ganttDiagram-R7GPNTJY-B1juClwW.cjs} +2 -2
- package/dist/{ganttDiagram-R7GPNTJY-dcubAqZI.js → ganttDiagram-R7GPNTJY-CEGQ6hzi.js} +18 -26
- package/dist/gitGraph-VSP46ZUC-5x2CrP9e.js +2 -0
- package/dist/gitGraph-VSP46ZUC-Cgx_wrMl.cjs +1 -0
- package/dist/{gitGraphDiagram-PDYL7XHY-BoJsALki.cjs → gitGraphDiagram-PDYL7XHY-6cCNinUi.cjs} +1 -1
- package/dist/{gitGraphDiagram-PDYL7XHY-CfRYMd3w.js → gitGraphDiagram-PDYL7XHY-D_ADFBrL.js} +4 -4
- package/dist/info-OHQRW6UA-DDzA9eXN.cjs +1 -0
- package/dist/info-OHQRW6UA-DkaWmfEE.js +2 -0
- package/dist/{infoDiagram-MVDRKAX5-B1QBSTSo.cjs → infoDiagram-MVDRKAX5-CVeFOzof.cjs} +1 -1
- package/dist/{infoDiagram-MVDRKAX5-BYGrp2QT.js → infoDiagram-MVDRKAX5-Dkuw3h5s.js} +4 -4
- package/dist/{ishikawaDiagram-HPEHV2GE-BWJo3pFM.cjs → ishikawaDiagram-HPEHV2GE-92CAbMpi.cjs} +2 -2
- package/dist/{ishikawaDiagram-HPEHV2GE-C32LoFQd.js → ishikawaDiagram-HPEHV2GE-oTSoKUOA.js} +5 -7
- package/dist/{javascript-CIP6I0eT.js → javascript-BSRoJWCv.js} +1 -8
- package/dist/javascript-B_OkdA1F.cjs +1 -0
- package/dist/{journeyDiagram-BOSHW7O7-DJ9OKW8H.js → journeyDiagram-BOSHW7O7-CMbGxPLA.js} +4 -4
- package/dist/{journeyDiagram-BOSHW7O7-090H5NM8.cjs → journeyDiagram-BOSHW7O7-Cb_yTQWF.cjs} +1 -1
- package/dist/{kanban-definition-FNSA4HC5-BhC2u-9L.cjs → kanban-definition-FNSA4HC5-DlUMoAIT.cjs} +1 -1
- package/dist/{kanban-definition-FNSA4HC5-FqIvMKJw.js → kanban-definition-FNSA4HC5-DzEQcVPw.js} +10 -10
- package/dist/{katex-DTnCNBYg.js → katex-BOYcAQ2I.js} +17 -26
- package/dist/{katex-DBUQi-HZ.cjs → katex-C-T_oEhv.cjs} +5 -5
- package/dist/lib-CRTt_FoR.cjs +26 -0
- package/dist/{lib-DILNlJGg.js → lib-CSMo4o20.js} +1522 -1452
- package/dist/{line-CJjnW4T-.js → line-0VTxwDiV.js} +1 -1
- package/dist/{line-DjYp3Ff8.cjs → line-ZwhMGa3_.cjs} +1 -1
- package/dist/linear-Bh2vuvAF.cjs +1 -0
- package/dist/{linear-DVFZQF4V.js → linear-CxE0kir0.js} +2 -3
- package/dist/{loadReferencedImage-CkvnSeQi.js → loadReferencedImage-2qNdVVhQ.js} +2 -2
- package/dist/{loadReferencedImage-CHTgZKAP.cjs → loadReferencedImage-qVqyIGz2.cjs} +1 -1
- package/dist/mermaid-parser.core-DKJw9lm9.cjs +6 -0
- package/dist/{mermaid-parser.core-CI12FMcX.js → mermaid-parser.core-IoY9gmm6.js} +19 -25
- package/dist/{mermaid.core-2PafqU96.cjs → mermaid.core-73kk5oPm.cjs} +7 -7
- package/dist/{mermaid.core-BxQmR6RW.js → mermaid.core-C8dp1dnD.js} +69 -75
- package/dist/{mermaidToImage-DowDuCUe.js → mermaidToImage-B2aJB9x8.js} +4900 -2274
- package/dist/mermaidToImage-qujM0Ggp.cjs +28 -0
- package/dist/{mindmap-definition-6OY57UG3-C0JXAaiI.js → mindmap-definition-6OY57UG3-CXobmoZM.js} +13 -13
- package/dist/{mindmap-definition-6OY57UG3-QMaMZxqJ.cjs → mindmap-definition-6OY57UG3-DLx3d1V6.cjs} +1 -1
- package/dist/packet-JDAUHWVQ-7Kdl1aNj.js +2 -0
- package/dist/packet-JDAUHWVQ-BB_DuPiR.cjs +1 -0
- package/dist/{pdf-D6MygsxO.js → pdf-CL7gVGT1.js} +3278 -3383
- package/dist/pdf-HcLHRelN.cjs +54 -0
- package/dist/{pegDiagram-ECIUJNBX-agFLe55J.cjs → pegDiagram-ECIUJNBX-B-eSDSQK.cjs} +1 -1
- package/dist/{pegDiagram-ECIUJNBX-BluDPMz-.js → pegDiagram-ECIUJNBX-ODBWqs1V.js} +5 -5
- package/dist/pi-outpost-embed.cjs +15 -15
- package/dist/pi-outpost-embed.js +160 -325
- package/dist/pie-XZMESJXO-CxP1ntAS.cjs +1 -0
- package/dist/pie-XZMESJXO-vkOzPeYA.js +2 -0
- package/dist/{pieDiagram-GNMPY74T-Bkt6LXIr.cjs → pieDiagram-GNMPY74T-BtYyKCrf.cjs} +1 -1
- package/dist/{pieDiagram-GNMPY74T-D2Dlw9oL.js → pieDiagram-GNMPY74T-DYDC5z2D.js} +7 -7
- package/dist/{quadrantDiagram-D57K4MC3-vbdBbRAF.js → quadrantDiagram-D57K4MC3-BfQWcg-D.js} +3 -3
- package/dist/{quadrantDiagram-D57K4MC3-BwUPO-ri.cjs → quadrantDiagram-D57K4MC3-Cu6JmzPE.cjs} +1 -1
- package/dist/radar-ABXABTNO-BIDY5R4F.cjs +1 -0
- package/dist/radar-ABXABTNO-DvS23EDt.js +2 -0
- package/dist/railroad-I3PHUGI6-BRbLa2w3.cjs +1 -0
- package/dist/railroad-I3PHUGI6-DH5Ttw2P.js +2 -0
- package/dist/railroad-abnf-LNEFI6M7-Qj3WuV4C.cjs +1 -0
- package/dist/railroad-abnf-LNEFI6M7-wA0DIfJr.js +2 -0
- package/dist/railroad-ebnf-DWYD2UWJ-C7YCjuXb.cjs +1 -0
- package/dist/railroad-ebnf-DWYD2UWJ-CkakbyYF.js +2 -0
- package/dist/railroad-peg-JR7BVNR7-CpVGf7CG.cjs +1 -0
- package/dist/railroad-peg-JR7BVNR7-Kw2gXekA.js +2 -0
- package/dist/{railroadDiagram-Y72NRBL7-CJ9MP3wV.cjs → railroadDiagram-Y72NRBL7-BdHmqKV_.cjs} +1 -1
- package/dist/{railroadDiagram-Y72NRBL7-B2x_q8pa.js → railroadDiagram-Y72NRBL7-ChQwG3mZ.js} +5 -5
- package/dist/{requirementDiagram-EQYSW5RA-CP0M11vC.cjs → requirementDiagram-EQYSW5RA-CDQ6Nza1.cjs} +1 -1
- package/dist/{requirementDiagram-EQYSW5RA-j7VZ-e65.js → requirementDiagram-EQYSW5RA-Dj4E0fE3.js} +13 -13
- package/dist/{rolldown-runtime-DArdT4gl.js → rolldown-runtime-5HNE8Q1r.js} +1 -1
- package/dist/rolldown-runtime-DbbDpzbe.cjs +1 -0
- package/dist/{sankeyDiagram-SY24JHO5-B7NuxaKG.cjs → sankeyDiagram-SY24JHO5-BPFkmPzT.cjs} +1 -1
- package/dist/{sankeyDiagram-SY24JHO5-Cgewgbc8.js → sankeyDiagram-SY24JHO5-luxVW4uf.js} +2 -2
- package/dist/{sequenceDiagram-BLEHNHQU-B5THoiqW.cjs → sequenceDiagram-BLEHNHQU-DX51aIRY.cjs} +1 -1
- package/dist/{sequenceDiagram-BLEHNHQU-DsjvHcWN.js → sequenceDiagram-BLEHNHQU-H4rQDzp-.js} +6 -6
- package/dist/{sizeCapture-INFHLROL-B5Lg3qGn.js → sizeCapture-INFHLROL-Uzko9_4n.js} +1 -1
- package/dist/sizeCapture-INFHLROL-bi8MyHwB.cjs +1 -0
- package/dist/{src-Dkp7vqs8.js → src-65Lfw03T.js} +12 -18
- package/dist/src-BN1VgXwj.cjs +1 -0
- package/dist/{stateDiagram-v2-A6IESKWZ-BD0FNkiB.js → stateDiagram-v2-A6IESKWZ-DBJ11U2p.js} +14 -14
- package/dist/{stateDiagram-v2-A6IESKWZ-Dqzvdrv1.cjs → stateDiagram-v2-A6IESKWZ-Dbp783Hd.cjs} +1 -1
- package/dist/{swimlanes-B3ENRKFQ-Do-xntE9.js → swimlanes-B3ENRKFQ-Bp3vZCmK.js} +38 -60
- package/dist/swimlanes-B3ENRKFQ-DY1V--Rq.cjs +1 -0
- package/dist/swimlanesDiagram-AYQRV4AK-COavJcG4.js +27 -0
- package/dist/swimlanesDiagram-AYQRV4AK-dUd5QjxZ.cjs +8 -0
- package/dist/{timeline-definition-JXYKGLGB-Cxi2ay-W.js → timeline-definition-JXYKGLGB-BE6iAj4r.js} +5 -5
- package/dist/{timeline-definition-JXYKGLGB-B_QITrmE.cjs → timeline-definition-JXYKGLGB-DKhMPFBi.cjs} +1 -1
- package/dist/treeView-D4JQ5SDB-BAXbN8Bf.cjs +1 -0
- package/dist/treeView-D4JQ5SDB-BAub6u3e.js +2 -0
- package/dist/treemap-SAJKECNS-DlyYa6yd.js +2 -0
- package/dist/treemap-SAJKECNS-EjU-hEqB.cjs +1 -0
- package/dist/{typescript-C93MG6Zk.js → typescript-4QjI-Ug2.js} +1 -8
- package/dist/typescript-CUdTaGTg.cjs +1 -0
- package/dist/{usecaseDiagram-WPOLBNNX-_GFZAFdK.cjs → usecaseDiagram-WPOLBNNX-BRWufOTq.cjs} +6 -6
- package/dist/{usecaseDiagram-WPOLBNNX-C5u6uogx.js → usecaseDiagram-WPOLBNNX-DY9Md_AG.js} +36 -48
- package/dist/{vennDiagram-Q3Y3IDCW-CircfM4o.js → vennDiagram-Q3Y3IDCW-DbPGt27W.js} +4 -4
- package/dist/{vennDiagram-Q3Y3IDCW-Bf1i94bS.cjs → vennDiagram-Q3Y3IDCW-NYVHk5sI.cjs} +1 -1
- package/dist/wardley-7MLQ67FV-BDYz-MEd.js +2 -0
- package/dist/wardley-7MLQ67FV-BdwutaJ8.cjs +1 -0
- package/dist/{wardleyDiagram-IVAIDKWA-BOSseRAa.js → wardleyDiagram-IVAIDKWA-BHkJFpfC.js} +5 -5
- package/dist/{wardleyDiagram-IVAIDKWA-Cr5LS-u2.cjs → wardleyDiagram-IVAIDKWA-DsYJNlmX.cjs} +1 -1
- package/dist/{xychartDiagram-4URNHDU4-DOUN6alM.cjs → xychartDiagram-4URNHDU4-B_g46bSg.cjs} +1 -1
- package/dist/{xychartDiagram-4URNHDU4-C4X8LFY4.js → xychartDiagram-4URNHDU4-IvFjWG-y.js} +8 -8
- package/package.json +14 -14
- package/dist/PdfViewer-BJfC4rzg.js +0 -428
- package/dist/PdfViewer-D6C-NAyn.cjs +0 -1
- package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +0 -1
- package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +0 -3
- package/dist/architectureDiagram-ZHVYKT53-DBfdIpyr.cjs +0 -36
- package/dist/channel-BRczbI_M.cjs +0 -1
- package/dist/chunk-DSNLSHJZ-DZO9xahH.cjs +0 -129
- package/dist/chunk-ZCHMQSOR-7slscxYq.cjs +0 -1
- package/dist/conversationHistory-DN1r7WZT.cjs +0 -287
- package/dist/conversationHistory-DwB6hasI.js +0 -43647
- package/dist/cose-bilkent-JH36ORCC-Cc2qvpLA.cjs +0 -1
- package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +0 -3
- package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +0 -1
- package/dist/cytoscape.esm-uHsEX1XI.cjs +0 -321
- package/dist/dagre-NK4GIZVX-BI_akQkH.cjs +0 -4
- package/dist/diagram-TYUNFSNR-B_p2UHsR.cjs +0 -200
- package/dist/dist-DEl2Ze0j.cjs +0 -2
- package/dist/dist-DJbgM591.cjs +0 -1
- package/dist/dist-Dja2VlN5.cjs +0 -1
- package/dist/elk-QONTBCTQ-BDAptnPT.cjs +0 -27
- package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +0 -3
- package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +0 -1
- package/dist/flowDiagram-IUGLLWBU-BSiCLGuL.cjs +0 -1
- package/dist/flowDiagram-IUGLLWBU-DL_I6QCE.js +0 -16
- package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +0 -3
- package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +0 -1
- package/dist/info-OHQRW6UA-DPTZOb30.js +0 -3
- package/dist/info-OHQRW6UA-deop1PPz.cjs +0 -1
- package/dist/javascript-Gn0piXHk.cjs +0 -1
- package/dist/lib-BDkAiWI9.cjs +0 -26
- package/dist/linear-Nt9BuHfn.cjs +0 -1
- package/dist/mermaid-parser.core-BHBS1DqP.cjs +0 -6
- package/dist/mermaidToImage-CSR5Vyvs.cjs +0 -25
- package/dist/packet-JDAUHWVQ-Bcik24Kz.js +0 -3
- package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +0 -1
- package/dist/pdf-BcvU2rBV.cjs +0 -54
- package/dist/pie-XZMESJXO-BYQC-ufi.js +0 -3
- package/dist/pie-XZMESJXO-WjCBboSE.cjs +0 -1
- package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +0 -1
- package/dist/radar-ABXABTNO-MxbyaZja.js +0 -3
- package/dist/railroad-I3PHUGI6-DckUArT-.js +0 -3
- package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +0 -1
- package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +0 -3
- package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +0 -1
- package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +0 -1
- package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +0 -3
- package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +0 -3
- package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +0 -1
- package/dist/rolldown-runtime-DF3sbh8G.cjs +0 -1
- package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +0 -1
- package/dist/src-D9o9TOtH.cjs +0 -1
- package/dist/swimlanes-B3ENRKFQ-DEsfJ_Va.cjs +0 -1
- package/dist/swimlanesDiagram-AYQRV4AK-CU4USE4p.cjs +0 -8
- package/dist/swimlanesDiagram-AYQRV4AK-ora_Y3LB.js +0 -27
- package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +0 -1
- package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +0 -3
- package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +0 -1
- package/dist/treemap-SAJKECNS-DiC0668-.js +0 -3
- package/dist/typescript-BarIi8q9.cjs +0 -1
- package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +0 -1
- package/dist/wardley-7MLQ67FV-CFF6IT1d.js +0 -3
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-DSNLSHJZ-DZO9xahH.cjs");require("./chunk-7S6XSTFO-DJ37SdG5.cjs"),require("./chunk-YZO67HFG-CLf5aoHk.cjs"),require("./chunk-AQDTSKZB-DElrkKED.cjs"),require("./chunk-UHW7PFBP-SZ8KvGM0.cjs");const r=require("./chunk-HAGFOTED-Dykk1LyE.cjs"),i=require("./chunk-ZAUX2LTX-BwjEPfG0.cjs"),a=require("./chunk-WQQL4CDK-TvwGUFeE.cjs"),o=require("./graphlib-BaETKKSa.cjs"),s=require("./chunk-HNE4Q36P-C-j5Nn9f.cjs"),c=require("./chunk-ZCHMQSOR-7slscxYq.cjs");var l=/\s/;function u(e){for(var t=e.length;t--&&l.test(e.charAt(t)););return t}var d=/^\s+/;function f(e){return e&&e.slice(0,u(e)+1).replace(d,``)}var p=NaN,m=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,g=/^0o[0-7]+$/i,_=parseInt;function v(e){if(typeof e==`number`)return e;if(o.et(e))return p;if(o.Z(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=o.Z(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=f(e);var n=h.test(e);return n||g.test(e)?_(e.slice(2),n?2:8):m.test(e)?p:+e}var y=1/0,ee=17976931348623157e292;function b(e){return e?(e=v(e),e===y||e===-y?(e<0?-1:1)*ee:e===e?e:0):e===0?e:0}function te(e){var t=b(e),n=t%1;return t===t?n?t-n:t:0}var ne=Object.create,re=function(){function e(){}return function(t){if(!o.Z(t))return{};if(ne)return ne(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function ie(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}function x(e,t,n){t==`__proto__`&&o.q?o.q(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var ae=Object.prototype.hasOwnProperty;function S(e,t,n){var r=e[t];(!(ae.call(e,t)&&o.H(r,n))||n===void 0&&!(t in e))&&x(e,t,n)}function C(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?x(n,s,c):S(n,s,c)}return n}function w(e,t,n){if(!o.Z(n))return!1;var r=typeof t;return(r==`number`?o.z(n)&&o.U(t,n.length):r==`string`&&t in n)?o.H(n[t],e):!1}function oe(e){return o.B(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&w(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}function se(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var ce=Object.prototype.hasOwnProperty;function le(e){if(!o.Z(e))return se(e);var t=o.R(e),n=[];for(var r in e)r==`constructor`&&(t||!ce.call(e,r))||n.push(r);return n}function T(e){return o.z(e)?o.M(e,!0):le(e)}function E(e){return e!=null&&e.length?o.C(e,1):[]}function ue(e){return o.K(o.V(e,void 0,E),e+``)}var D=o.j(Object.getPrototypeOf,Object),de=`[object Object]`,fe=Function.prototype,pe=Object.prototype,me=fe.toString,he=pe.hasOwnProperty,ge=me.call(Object);function _e(e){if(!o.tt(e)||o.nt(e)!=de)return!1;var t=D(e);if(t===null)return!0;var n=he.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&me.call(n)==ge}var ve=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function ye(e){return ve.test(e)}function be(e,t){return e&&C(t,o.k(t),e)}function xe(e,t){return e&&C(t,T(t),e)}var Se=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Ce=Se&&typeof module==`object`&&module&&!module.nodeType&&module,we=Ce&&Ce.exports===Se?o.it.Buffer:void 0,Te=we?we.allocUnsafe:void 0;function Ee(e,t){if(t)return e.slice();var n=e.length,r=Te?Te(n):new e.constructor(n);return e.copy(r),r}function De(e,t){return C(e,o.b(e),t)}var Oe=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)o.w(t,o.b(e)),e=D(e);return t}:o.x;function ke(e,t){return C(e,Oe(e),t)}function Ae(e){return o.y(e,T,Oe)}var je=Object.prototype.hasOwnProperty;function Me(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&je.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function Ne(e){var t=new e.constructor(e.byteLength);return new o.g(t).set(new o.g(e)),t}function Pe(e,t){var n=t?Ne(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Fe=/\w*$/;function Ie(e){var t=new e.constructor(e.source,Fe.exec(e));return t.lastIndex=e.lastIndex,t}var Le=o.rt?o.rt.prototype:void 0,Re=Le?Le.valueOf:void 0;function ze(e){return Re?Object(Re.call(e)):{}}function Be(e,t){var n=t?Ne(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ve=`[object Boolean]`,He=`[object Date]`,Ue=`[object Map]`,We=`[object Number]`,Ge=`[object RegExp]`,Ke=`[object Set]`,qe=`[object String]`,Je=`[object Symbol]`,Ye=`[object ArrayBuffer]`,Xe=`[object DataView]`,Ze=`[object Float32Array]`,Qe=`[object Float64Array]`,$e=`[object Int8Array]`,et=`[object Int16Array]`,tt=`[object Int32Array]`,nt=`[object Uint8Array]`,rt=`[object Uint8ClampedArray]`,it=`[object Uint16Array]`,at=`[object Uint32Array]`;function ot(e,t,n){var r=e.constructor;switch(t){case Ye:return Ne(e);case Ve:case He:return new r(+e);case Xe:return Pe(e,n);case Ze:case Qe:case $e:case et:case tt:case nt:case rt:case it:case at:return Be(e,n);case Ue:return new r;case We:case qe:return new r(e);case Ge:return Ie(e);case Ke:return new r;case Je:return ze(e)}}function st(e){return typeof e.constructor==`function`&&!o.R(e)?re(D(e)):{}}var ct=`[object Map]`;function lt(e){return o.tt(e)&&o._(e)==ct}var ut=o.P&&o.P.isMap,dt=ut?o.F(ut):lt,ft=`[object Set]`;function pt(e){return o.tt(e)&&o._(e)==ft}var mt=o.P&&o.P.isSet,ht=mt?o.F(mt):pt,gt=1,_t=2,vt=4,yt=`[object Arguments]`,bt=`[object Array]`,xt=`[object Boolean]`,St=`[object Date]`,Ct=`[object Error]`,wt=`[object Function]`,Tt=`[object GeneratorFunction]`,Et=`[object Map]`,Dt=`[object Number]`,Ot=`[object Object]`,kt=`[object RegExp]`,At=`[object Set]`,jt=`[object String]`,Mt=`[object Symbol]`,Nt=`[object WeakMap]`,Pt=`[object ArrayBuffer]`,Ft=`[object DataView]`,It=`[object Float32Array]`,Lt=`[object Float64Array]`,Rt=`[object Int8Array]`,zt=`[object Int16Array]`,Bt=`[object Int32Array]`,Vt=`[object Uint8Array]`,Ht=`[object Uint8ClampedArray]`,Ut=`[object Uint16Array]`,Wt=`[object Uint32Array]`,O={};O[yt]=O[bt]=O[Pt]=O[Ft]=O[xt]=O[St]=O[It]=O[Lt]=O[Rt]=O[zt]=O[Bt]=O[Et]=O[Dt]=O[Ot]=O[kt]=O[At]=O[jt]=O[Mt]=O[Vt]=O[Ht]=O[Ut]=O[Wt]=!0,O[Ct]=O[wt]=O[Nt]=!1;function k(e,t,n,r,i,a){var s,c=t>,l=t&_t,u=t&vt;if(n&&(s=i?n(e,r,i,a):n(e)),s!==void 0)return s;if(!o.Z(e))return e;var d=o.Q(e);if(d){if(s=Me(e),!c)return ie(e,s)}else{var f=o._(e),p=f==wt||f==Tt;if(o.I(e))return Ee(e,c);if(f==Ot||f==yt||p&&!i){if(s=l||p?{}:st(e),!c)return l?ke(e,xe(s,e)):De(e,be(s,e))}else{if(!O[f])return i?e:{};s=ot(e,f,c)}}a||=new o.S;var m=a.get(e);if(m)return m;a.set(e,s),ht(e)?e.forEach(function(r){s.add(k(r,t,n,r,e,a))}):dt(e)&&e.forEach(function(r,i){s.set(i,k(r,t,n,i,e,a))});var h=d?void 0:(u?l?Ae:o.v:l?T:o.k)(e);return o.G(h||e,function(r,i){h&&(i=r,r=e[i]),S(s,i,k(r,t,n,i,e,a))}),s}var Gt=1,Kt=4;function qt(e){return k(e,Gt|Kt)}var Jt=function(){return o.it.Date.now()},Yt=Object.prototype,Xt=Yt.hasOwnProperty,Zt=o.B(function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&w(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=T(a),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===void 0||o.H(d,Yt[u])&&!Xt.call(e,u))&&(e[u]=a[u])}return e});function A(e,t,n){(n!==void 0&&!o.H(e[t],n)||n===void 0&&!(t in e))&&x(e,t,n)}function j(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}function Qt(e){return C(e,T(e))}function $t(e,t,n,r,i,a,s){var c=j(e,n),l=j(t,n),u=s.get(l);if(u){A(e,n,u);return}var d=a?a(c,l,n+``,e,t,s):void 0,f=d===void 0;if(f){var p=o.Q(l),m=!p&&o.I(l),h=!p&&!m&&o.N(l);d=l,p||m||h?o.Q(c)?d=c:o.c(c)?d=ie(c):m?(f=!1,d=Ee(l,!0)):h?(f=!1,d=Be(l,!0)):d=[]:_e(l)||o.L(l)?(d=c,o.L(c)?d=Qt(c):(!o.Z(c)||o.Y(c))&&(d=st(l))):f=!1}f&&(s.set(l,d),i(d,l,r,a,s),s.delete(l)),A(e,n,d)}function en(e,t,n,r,i){e!==t&&o.d(t,function(a,s){if(i||=new o.S,o.Z(a))$t(e,t,s,n,en,r,i);else{var c=r?r(j(e,s),a,s+``,e,t,i):void 0;c===void 0&&(c=a),A(e,s,c)}},T)}function M(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function tn(e){return function(t,n,r){var i=Object(t);if(!o.z(t)){var a=o.f(n,3);t=o.k(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:void 0}}var nn=Math.max;function rn(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:te(n);return i<0&&(i=nn(r+i,0)),o.W(e,o.f(t,3),i)}var N=tn(rn);function an(e,t){var n=-1,r=o.z(e)?Array(e.length):[];return o.l(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function P(e,t){return(o.Q(e)?o.$:an)(e,o.f(t,3))}function on(e,t){return e==null?e:o.d(e,o.s(t),T)}function sn(e,t){return e&&o.u(e,o.s(t))}function cn(e,t){return e>t}var ln=Object.prototype.hasOwnProperty;function un(e,t){return e!=null&&ln.call(e,t)}function dn(e,t){return e!=null&&o.h(e,t,un)}var fn=`[object String]`;function pn(e){return typeof e==`string`||!o.Q(e)&&o.tt(e)&&o.nt(e)==fn}function mn(e,t){return e<t}function F(e,t){var n={};return t=o.f(t,3),o.u(e,function(e,r,i){x(n,r,t(e,r,i))}),n}function I(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(s!=null&&(c===void 0?s===s&&!o.et(s):n(s,c)))var c=s,l=a}return l}function L(e){return e&&e.length?I(e,o.X,cn):void 0}var R=oe(function(e,t,n){en(e,t,n)});function z(e){return e&&e.length?I(e,o.X,mn):void 0}function B(e,t){return e&&e.length?I(e,o.f(t,2),mn):void 0}function hn(e,t,n,r){if(!o.Z(e))return e;t=o.D(t,e);for(var i=-1,a=t.length,s=a-1,c=e;c!=null&&++i<a;){var l=o.E(t[i]),u=n;if(l===`__proto__`||l===`constructor`||l===`prototype`)return e;if(i!=s){var d=c[l];u=r?r(d,l,c):void 0,u===void 0&&(u=o.Z(d)?d:o.U(t[i+1])?[]:{})}S(c,l,u),c=c[l]}return e}function gn(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],c=o.T(e,s);n(c,s)&&hn(a,o.D(s,e),c)}return a}function _n(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function vn(e,t){if(e!==t){var n=e!==void 0,r=e===null,i=e===e,a=o.et(e),s=t!==void 0,c=t===null,l=t===t,u=o.et(t);if(!c&&!u&&!a&&e>t||a&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!l)return-1}return 0}function yn(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=vn(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function bn(e,t,n){t=t.length?o.$(t,function(e){return o.Q(e)?function(t){return o.T(t,e.length===1?e[0]:e)}:e}):[o.X];var r=-1;return t=o.$(t,o.F(o.f)),_n(an(e,function(e,n,i){return{criteria:o.$(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return yn(e,t,n)})}var xn=o.p(`length`),Sn=`\\ud800-\\udfff`,Cn=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,wn=`\\ufe0e\\ufe0f`,Tn=`[`+Sn+`]`,V=`[`+Cn+`]`,H=`\\ud83c[\\udffb-\\udfff]`,En=`(?:`+V+`|`+H+`)`,Dn=`[^`+Sn+`]`,On=`(?:\\ud83c[\\udde6-\\uddff]){2}`,kn=`[\\ud800-\\udbff][\\udc00-\\udfff]`,An=`\\u200d`,jn=En+`?`,Mn=`[`+wn+`]?`,Nn=`(?:`+An+`(?:`+[Dn,On,kn].join(`|`)+`)`+Mn+jn+`)*`,Pn=Mn+jn+Nn,Fn=`(?:`+[Dn+V+`?`,V,On,kn,Tn].join(`|`)+`)`,In=RegExp(H+`(?=`+H+`)|`+Fn+Pn,`g`);function Ln(e){for(var t=In.lastIndex=0;In.test(e);)++t;return t}function Rn(e){return ye(e)?Ln(e):xn(e)}function zn(e,t){return gn(e,t,function(t,n){return o.m(e,n)})}var U=ue(function(e,t){return e==null?{}:zn(e,t)}),Bn=Math.ceil,Vn=Math.max;function Hn(e,t,n,r){for(var i=-1,a=Vn(Bn((t-e)/(n||1)),0),o=Array(a);a--;)o[r?a:++i]=e,e+=n;return o}function Un(e){return function(t,n,r){return r&&typeof r!=`number`&&w(t,n,r)&&(n=r=void 0),t=b(t),n===void 0?(n=t,t=0):n=b(n),r=r===void 0?t<n?1:-1:b(r),Hn(t,n,r,e)}}var W=Un(),Wn=`[object Map]`,Gn=`[object Set]`;function Kn(e){if(e==null)return 0;if(o.z(e))return pn(e)?Rn(e):e.length;var t=o._(e);return t==Wn||t==Gn?e.size:o.A(e).length}var G=o.B(function(e,t){if(e==null)return[];var n=t.length;return n>1&&w(e,t[0],t[1])?t=[]:n>2&&w(t[0],t[1],t[2])&&(t=[t[0]]),bn(e,o.C(t,1),[])}),qn=0;function K(e){var t=++qn;return o.O(e)+t}function Jn(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;){var s=r<a?t[r]:void 0;n(o,e[r],s)}return o}function Yn(e,t){return Jn(e||[],t||[],S)}var Xn=class{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,t=e._prev;if(t!==e)return Zn(t),t}enqueue(e){var t=this._sentinel;e._prev&&e._next&&Zn(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,Qn)),n=n._prev;return`[`+e.join(`, `)+`]`}};function Zn(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function Qn(e,t){if(e!==`_next`&&e!==`_prev`)return t}var $n=o.J(1);function er(e,t){if(e.nodeCount()<=1)return[];var n=nr(e,t||$n);return E(P(tr(n.graph,n.buckets,n.zeroIdx),function(t){return e.outEdges(t.v,t.w)}))}function tr(e,t,n){for(var r=[],i=t[t.length-1],a=t[0],o;e.nodeCount();){for(;o=a.dequeue();)q(e,t,n,o);for(;o=i.dequeue();)q(e,t,n,o);if(e.nodeCount()){for(var s=t.length-2;s>0;--s)if(o=t[s].dequeue(),o){r=r.concat(q(e,t,n,o,!0));break}}}return r}function q(e,t,n,r,i){var a=i?[]:void 0;return o.o(e.inEdges(r.v),function(r){var o=e.edge(r),s=e.node(r.v);i&&a.push({v:r.v,w:r.w}),s.out-=o,rr(t,n,s)}),o.o(e.outEdges(r.v),function(r){var i=e.edge(r),a=r.w,o=e.node(a);o.in-=i,rr(t,n,o)}),e.removeNode(r.v),a}function nr(e,t){var n=new o.t,r=0,i=0;o.o(e.nodes(),function(e){n.setNode(e,{v:e,in:0,out:0})}),o.o(e.edges(),function(e){var a=n.edge(e.v,e.w)||0,o=t(e),s=a+o;n.setEdge(e.v,e.w,s),i=Math.max(i,n.node(e.v).out+=o),r=Math.max(r,n.node(e.w).in+=o)});var a=W(i+r+3).map(function(){return new Xn}),s=r+1;return o.o(n.nodes(),function(e){rr(a,s,n.node(e))}),{graph:n,buckets:a,zeroIdx:s}}function rr(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}function ir(e){var t=e.graph().acyclicer===`greedy`?er(e,n(e)):ar(e);o.o(t,function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,K(`rev`))});function n(e){return function(t){return e.edge(t).weight}}}function ar(e){var t=[],n={},r={};function i(a){Object.prototype.hasOwnProperty.call(r,a)||(r[a]=!0,n[a]=!0,o.o(e.outEdges(a),function(e){Object.prototype.hasOwnProperty.call(n,e.w)?t.push(e):i(e.w)}),delete n[a])}return o.o(e.nodes(),i),t}function or(e){o.o(e.edges(),function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}})}function J(e,t,n,r){var i;do i=K(r);while(e.hasNode(i));return n.dummy=t,e.setNode(i,n),i}function sr(e){var t=new o.t().setGraph(e.graph());return o.o(e.nodes(),function(n){t.setNode(n,e.node(n))}),o.o(e.edges(),function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),t}function cr(e){var t=new o.t({multigraph:e.isMultigraph()}).setGraph(e.graph());return o.o(e.nodes(),function(n){e.children(n).length||t.setNode(n,e.node(n))}),o.o(e.edges(),function(n){t.setEdge(n,e.edge(n))}),t}function lr(e,t){var n=e.x,r=e.y,i=t.x-n,a=t.y-r,o=e.width/2,s=e.height/2;if(!i&&!a)throw Error(`Not possible to find intersection inside of the rectangle`);var c,l;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),c=s*i/a,l=s):(i<0&&(o=-o),c=o,l=o*a/i),{x:n+c,y:r+l}}function Y(e){var t=P(W(pr(e)+1),function(){return[]});return o.o(e.nodes(),function(n){var r=e.node(n),i=r.rank;o.r(i)||(t[i][r.order]=n)}),t}function ur(e){var t=z(P(e.nodes(),function(t){return e.node(t).rank}));o.o(e.nodes(),function(n){var r=e.node(n);dn(r,`rank`)&&(r.rank-=t)})}function dr(e){var t=z(P(e.nodes(),function(t){return e.node(t).rank})),n=[];o.o(e.nodes(),function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)});var r=0,i=e.graph().nodeRankFactor;o.o(n,function(t,n){o.r(t)&&n%i!==0?--r:r&&o.o(t,function(t){e.node(t).rank+=r})})}function fr(e,t,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),J(e,`border`,i,t)}function pr(e){return L(P(e.nodes(),function(t){var n=e.node(t).rank;if(!o.r(n))return n}))}function mr(e,t){var n={lhs:[],rhs:[]};return o.o(e,function(e){t(e)?n.lhs.push(e):n.rhs.push(e)}),n}function hr(e,t){var n=Jt();try{return t()}finally{console.log(e+` time: `+(Jt()-n)+`ms`)}}function gr(e,t){return t()}function _r(e){function t(n){var r=e.children(n),i=e.node(n);if(r.length&&o.o(r,t),Object.prototype.hasOwnProperty.call(i,`minRank`)){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,s=i.maxRank+1;a<s;++a)vr(e,`borderLeft`,`_bl`,n,i,a),vr(e,`borderRight`,`_br`,n,i,a)}}o.o(e.children(),t)}function vr(e,t,n,r,i,a){var o={width:0,height:0,rank:a,borderType:t},s=i[t][a-1],c=J(e,`border`,o,n);i[t][a]=c,e.setParent(c,r),s&&e.setEdge(s,c,{weight:1})}function yr(e){var t=e.graph().rankdir.toLowerCase();(t===`lr`||t===`rl`)&&xr(e)}function br(e){var t=e.graph().rankdir.toLowerCase();(t===`bt`||t===`rl`)&&Cr(e),(t===`lr`||t===`rl`)&&(Tr(e),xr(e))}function xr(e){o.o(e.nodes(),function(t){Sr(e.node(t))}),o.o(e.edges(),function(t){Sr(e.edge(t))})}function Sr(e){var t=e.width;e.width=e.height,e.height=t}function Cr(e){o.o(e.nodes(),function(t){wr(e.node(t))}),o.o(e.edges(),function(t){var n=e.edge(t);o.o(n.points,wr),Object.prototype.hasOwnProperty.call(n,`y`)&&wr(n)})}function wr(e){e.y=-e.y}function Tr(e){o.o(e.nodes(),function(t){Er(e.node(t))}),o.o(e.edges(),function(t){var n=e.edge(t);o.o(n.points,Er),Object.prototype.hasOwnProperty.call(n,`x`)&&Er(n)})}function Er(e){var t=e.x;e.x=e.y,e.y=t}function Dr(e){e.graph().dummyChains=[],o.o(e.edges(),function(t){Or(e,t)})}function Or(e,t){var n=t.v,r=e.node(n).rank,i=t.w,a=e.node(i).rank,o=t.name,s=e.edge(t),c=s.labelRank;if(a!==r+1){e.removeEdge(t);var l=void 0,u,d;for(d=0,++r;r<a;++d,++r)s.points=[],l={width:0,height:0,edgeLabel:s,edgeObj:t,rank:r},u=J(e,`edge`,l,`_d`),r===c&&(l.width=s.width,l.height=s.height,l.dummy=`edge-label`,l.labelpos=s.labelpos),e.setEdge(n,u,{weight:s.weight},o),d===0&&e.graph().dummyChains.push(u),n=u;e.setEdge(n,i,{weight:s.weight},o)}}function kr(e){o.o(e.graph().dummyChains,function(t){var n=e.node(t),r=n.edgeLabel,i;for(e.setEdge(n.edgeObj,r);n.dummy;)i=e.successors(t)[0],e.removeNode(t),r.points.push({x:n.x,y:n.y}),n.dummy===`edge-label`&&(r.x=n.x,r.y=n.y,r.width=n.width,r.height=n.height),t=i,n=e.node(t)})}function Ar(e){var t={};function n(r){var i=e.node(r);if(Object.prototype.hasOwnProperty.call(t,r))return i.rank;t[r]=!0;var a=z(P(e.outEdges(r),function(t){return n(t.w)-e.edge(t).minlen}));return(a===1/0||a==null)&&(a=0),i.rank=a}o.o(e.sources(),n)}function X(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}function jr(e){var t=new o.t({directed:!1}),n=e.nodes()[0],r=e.nodeCount();t.setNode(n,{});for(var i,a;Mr(t,e)<r;)i=Nr(t,e),a=t.hasNode(i.v)?X(e,i):-X(e,i),Pr(t,e,a);return t}function Mr(e,t){function n(r){o.o(t.nodeEdges(r),function(i){var a=i.v,o=r===a?i.w:a;!e.hasNode(o)&&!X(t,i)&&(e.setNode(o,{}),e.setEdge(r,o,{}),n(o))})}return o.o(e.nodes(),n),e.nodeCount()}function Nr(e,t){return B(t.edges(),function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return X(t,n)})}function Pr(e,t,n){o.o(e.nodes(),function(e){t.node(e).rank+=n})}o.J(1),o.J(1),Fr.CycleException=Z;function Fr(e){var t={},n={},r=[];function i(a){if(Object.prototype.hasOwnProperty.call(n,a))throw new Z;Object.prototype.hasOwnProperty.call(t,a)||(n[a]=!0,t[a]=!0,o.o(e.predecessors(a),i),delete n[a],r.push(a))}if(o.o(e.sinks(),i),Kn(t)!==e.nodeCount())throw new Z;return r}function Z(){}Z.prototype=Error();function Ir(e,t,n){o.Q(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],a={};return o.o(t,function(t){if(!e.hasNode(t))throw Error(`Graph does not have node: `+t);Lr(e,t,n===`post`,a,r,i)}),i}function Lr(e,t,n,r,i,a){Object.prototype.hasOwnProperty.call(r,t)||(r[t]=!0,n||a.push(t),o.o(i(t),function(t){Lr(e,t,n,r,i,a)}),n&&a.push(t))}function Rr(e,t){return Ir(e,t,`post`)}function zr(e,t){return Ir(e,t,`pre`)}Q.initLowLimValues=Ur,Q.initCutValues=Br,Q.calcCutValue=Hr,Q.leaveEdge=Gr,Q.enterEdge=Kr,Q.exchangeEdges=qr;function Q(e){e=sr(e),Ar(e);var t=jr(e);Ur(t),Br(t,e);for(var n,r;n=Gr(t);)r=Kr(t,e,n),qr(t,e,n,r)}function Br(e,t){var n=Rr(e,e.nodes());n=n.slice(0,n.length-1),o.o(n,function(n){Vr(e,t,n)})}function Vr(e,t,n){var r=e.node(n).parent;e.edge(n,r).cutvalue=Hr(e,t,n)}function Hr(e,t,n){var r=e.node(n).parent,i=!0,a=t.edge(n,r),s=0;return a||=(i=!1,t.edge(r,n)),s=a.weight,o.o(t.nodeEdges(n),function(a){var o=a.v===n,c=o?a.w:a.v;if(c!==r){var l=o===i,u=t.edge(a).weight;if(s+=l?u:-u,Yr(e,n,c)){var d=e.edge(n,c).cutvalue;s+=l?-d:d}}}),s}function Ur(e,t){arguments.length<2&&(t=e.nodes()[0]),Wr(e,{},1,t)}function Wr(e,t,n,r,i){var a=n,s=e.node(r);return t[r]=!0,o.o(e.neighbors(r),function(i){Object.prototype.hasOwnProperty.call(t,i)||(n=Wr(e,t,n,i,r))}),s.low=a,s.lim=n++,i?s.parent=i:delete s.parent,n}function Gr(e){return N(e.edges(),function(t){return e.edge(t).cutvalue<0})}function Kr(e,t,n){var r=n.v,i=n.w;t.hasEdge(r,i)||(r=n.w,i=n.v);var a=e.node(r),s=e.node(i),c=a,l=!1;return a.lim>s.lim&&(c=s,l=!0),B(o.a(t.edges(),function(t){return l===Xr(e,e.node(t.v),c)&&l!==Xr(e,e.node(t.w),c)}),function(e){return X(t,e)})}function qr(e,t,n,r){var i=n.v,a=n.w;e.removeEdge(i,a),e.setEdge(r.v,r.w,{}),Ur(e),Br(e,t),Jr(e,t)}function Jr(e,t){var n=zr(e,N(e.nodes(),function(e){return!t.node(e).parent}));n=n.slice(1),o.o(n,function(n){var r=e.node(n).parent,i=t.edge(n,r),a=!1;i||(i=t.edge(r,n),a=!0),t.node(n).rank=t.node(r).rank+(a?i.minlen:-i.minlen)})}function Yr(e,t,n){return e.hasEdge(t,n)}function Xr(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}function Zr(e){switch(e.graph().ranker){case`network-simplex`:ei(e);break;case`tight-tree`:$r(e);break;case`longest-path`:Qr(e);break;default:ei(e)}}var Qr=Ar;function $r(e){Ar(e),jr(e)}function ei(e){Q(e)}function ti(e){var t=J(e,`root`,{},`_root`),n=ri(e),r=L(o.i(n))-1,i=2*r+1;e.graph().nestingRoot=t,o.o(e.edges(),function(t){e.edge(t).minlen*=i});var a=ii(e)+1;o.o(e.children(),function(o){ni(e,t,i,a,r,n,o)}),e.graph().nodeRankFactor=i}function ni(e,t,n,r,i,a,s){var c=e.children(s);if(!c.length){s!==t&&e.setEdge(t,s,{weight:0,minlen:n});return}var l=fr(e,`_bt`),u=fr(e,`_bb`),d=e.node(s);e.setParent(l,s),d.borderTop=l,e.setParent(u,s),d.borderBottom=u,o.o(c,function(o){ni(e,t,n,r,i,a,o);var c=e.node(o),d=c.borderTop?c.borderTop:o,f=c.borderBottom?c.borderBottom:o,p=c.borderTop?r:2*r,m=d===f?i-a[s]+1:1;e.setEdge(l,d,{weight:p,minlen:m,nestingEdge:!0}),e.setEdge(f,u,{weight:p,minlen:m,nestingEdge:!0})}),e.parent(s)||e.setEdge(t,l,{weight:0,minlen:i+a[s]})}function ri(e){var t={};function n(r,i){var a=e.children(r);a&&a.length&&o.o(a,function(e){n(e,i+1)}),t[r]=i}return o.o(e.children(),function(e){n(e,1)}),t}function ii(e){return o.n(e.edges(),function(t,n){return t+e.edge(n).weight},0)}function ai(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,o.o(e.edges(),function(t){e.edge(t).nestingEdge&&e.removeEdge(t)})}function oi(e,t,n){var r={},i;o.o(n,function(n){for(var a=e.parent(n),o,s;a;){if(o=e.parent(a),o?(s=r[o],r[o]=a):(s=i,i=a),s&&s!==a){t.setEdge(s,a);return}a=o}})}function si(e,t,n){var r=ci(e),i=new o.t({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(function(t){return e.node(t)});return o.o(e.nodes(),function(a){var s=e.node(a),c=e.parent(a);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(i.setNode(a),i.setParent(a,c||r),o.o(e[n](a),function(t){var n=t.v===a?t.w:t.v,r=i.edge(n,a),s=o.r(r)?0:r.weight;i.setEdge(n,a,{weight:e.edge(t).weight+s})}),Object.prototype.hasOwnProperty.call(s,`minRank`)&&i.setNode(a,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))}),i}function ci(e){for(var t;e.hasNode(t=K(`_root`)););return t}function li(e,t){for(var n=0,r=1;r<t.length;++r)n+=ui(e,t[r-1],t[r]);return n}function ui(e,t,n){for(var r=Yn(n,P(n,function(e,t){return t})),i=E(P(t,function(t){return G(P(e.outEdges(t),function(t){return{pos:r[t.w],weight:e.edge(t).weight}}),`pos`)})),a=1;a<n.length;)a<<=1;var s=2*a-1;--a;var c=P(Array(s),function(){return 0}),l=0;return o.o(i.forEach(function(e){var t=e.pos+a;c[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=c[t+1]),t=t-1>>1,c[t]+=e.weight;l+=e.weight*n})),l}function di(e){var t={},n=o.a(e.nodes(),function(t){return!e.children(t).length}),r=P(W(L(P(n,function(t){return e.node(t).rank}))+1),function(){return[]});function i(n){dn(t,n)||(t[n]=!0,r[e.node(n).rank].push(n),o.o(e.successors(n),i))}var a=G(n,function(t){return e.node(t).rank});return o.o(a,i),r}function fi(e,t){return P(t,function(t){var n=e.inEdges(t);if(n.length){var r=o.n(n,function(t,n){var r=e.edge(n),i=e.node(n.v);return{sum:t.sum+r.weight*i.order,weight:t.weight+r.weight}},{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}return{v:t}})}function pi(e,t){var n={};return o.o(e,function(e,t){var r=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};o.r(e.barycenter)||(r.barycenter=e.barycenter,r.weight=e.weight)}),o.o(t.edges(),function(e){var t=n[e.v],r=n[e.w];!o.r(t)&&!o.r(r)&&(r.indegree++,t.out.push(n[e.w]))}),mi(o.a(n,function(e){return!e.indegree}))}function mi(e){var t=[];function n(e){return function(t){t.merged||(o.r(t.barycenter)||o.r(e.barycenter)||t.barycenter>=e.barycenter)&&hi(e,t)}}function r(t){return function(n){n.in.push(t),--n.indegree===0&&e.push(n)}}for(;e.length;){var i=e.pop();t.push(i),o.o(i.in.reverse(),n(i)),o.o(i.out,r(i))}return P(o.a(t,function(e){return!e.merged}),function(e){return U(e,[`vs`,`i`,`barycenter`,`weight`])})}function hi(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}function gi(e,t){var n=mr(e,function(e){return Object.prototype.hasOwnProperty.call(e,`barycenter`)}),r=n.lhs,i=G(n.rhs,function(e){return-e.i}),a=[],s=0,c=0,l=0;r.sort(vi(!!t)),l=_i(a,i,l),o.o(r,function(e){l+=e.vs.length,a.push(e.vs),s+=e.barycenter*e.weight,c+=e.weight,l=_i(a,i,l)});var u={vs:E(a)};return c&&(u.barycenter=s/c,u.weight=c),u}function _i(e,t,n){for(var r;t.length&&(r=M(t)).i<=n;)t.pop(),e.push(r.vs),n++;return n}function vi(e){return function(t,n){return t.barycenter<n.barycenter?-1:t.barycenter>n.barycenter?1:e?n.i-t.i:t.i-n.i}}function yi(e,t,n,r){var i=e.children(t),a=e.node(t),s=a?a.borderLeft:void 0,c=a?a.borderRight:void 0,l={};s&&(i=o.a(i,function(e){return e!==s&&e!==c}));var u=fi(e,i);o.o(u,function(t){if(e.children(t.v).length){var i=yi(e,t.v,n,r);l[t.v]=i,Object.prototype.hasOwnProperty.call(i,`barycenter`)&&xi(t,i)}});var d=pi(u,n);bi(d,l);var f=gi(d,r);if(s&&(f.vs=E([s,f.vs,c]),e.predecessors(s).length)){var p=e.node(e.predecessors(s)[0]),m=e.node(e.predecessors(c)[0]);Object.prototype.hasOwnProperty.call(f,`barycenter`)||(f.barycenter=0,f.weight=0),f.barycenter=(f.barycenter*f.weight+p.order+m.order)/(f.weight+2),f.weight+=2}return f}function bi(e,t){o.o(e,function(e){e.vs=E(e.vs.map(function(e){return t[e]?t[e].vs:e}))})}function xi(e,t){o.r(e.barycenter)?(e.barycenter=t.barycenter,e.weight=t.weight):(e.barycenter=(e.barycenter*e.weight+t.barycenter*t.weight)/(e.weight+t.weight),e.weight+=t.weight)}function Si(e){var t=pr(e),n=Ci(e,W(1,t+1),`inEdges`),r=Ci(e,W(t-1,-1,-1),`outEdges`),i=di(e);Ti(e,i);for(var a=1/0,o,s=0,c=0;c<4;++s,++c){wi(s%2?n:r,s%4>=2),i=Y(e);var l=li(e,i);l<a&&(c=0,o=qt(i),a=l)}Ti(e,o)}function Ci(e,t,n){return P(t,function(t){return si(e,t,n)})}function wi(e,t){var n=new o.t;o.o(e,function(e){var r=e.graph().root,i=yi(e,r,n,t);o.o(i.vs,function(t,n){e.node(t).order=n}),oi(e,n,i.vs)})}function Ti(e,t){o.o(t,function(t){o.o(t,function(t,n){e.node(t).order=n})})}function Ei(e){var t=Oi(e);o.o(e.graph().dummyChains,function(n){for(var r=e.node(n),i=r.edgeObj,a=Di(e,t,i.v,i.w),o=a.path,s=a.lca,c=0,l=o[c],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(l=o[c])!==s&&e.node(l).maxRank<r.rank;)c++;l===s&&(u=!1)}if(!u){for(;c<o.length-1&&e.node(l=o[c+1]).minRank<=r.rank;)c++;l=o[c]}e.setParent(n,l),n=e.successors(n)[0]}})}function Di(e,t,n,r){var i=[],a=[],o=Math.min(t[n].low,t[r].low),s=Math.max(t[n].lim,t[r].lim),c=n,l;do c=e.parent(c),i.push(c);while(c&&(t[c].low>o||s>t[c].lim));for(l=c,c=r;(c=e.parent(c))!==l;)a.push(c);return{path:i.concat(a.reverse()),lca:l}}function Oi(e){var t={},n=0;function r(i){var a=n;o.o(e.children(i),r),t[i]={low:a,lim:n++}}return o.o(e.children(),r),t}function ki(e,t){var n={};function r(t,r){var i=0,a=0,s=t.length,c=M(r);return o.o(r,function(t,l){var u=ji(e,t),d=u?e.node(u).order:s;(u||t===c)&&(o.o(r.slice(a,l+1),function(t){o.o(e.predecessors(t),function(r){var a=e.node(r),o=a.order;(o<i||d<o)&&!(a.dummy&&e.node(t).dummy)&&Mi(n,r,t)})}),a=l+1,i=d)}),r}return o.n(t,r),n}function Ai(e,t){var n={};function r(t,r,i,a,s){var c;o.o(W(r,i),function(r){c=t[r],e.node(c).dummy&&o.o(e.predecessors(c),function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>s)&&Mi(n,t,c)})})}function i(t,n){var i=-1,a,s=0;return o.o(n,function(o,c){if(e.node(o).dummy===`border`){var l=e.predecessors(o);l.length&&(a=e.node(l[0]).order,r(n,s,c,i,a),s=c,i=a)}r(n,s,n.length,a,t.length)}),n}return o.n(t,i),n}function ji(e,t){if(e.node(t).dummy)return N(e.predecessors(t),function(t){return e.node(t).dummy})}function Mi(e,t,n){if(t>n){var r=t;t=n,n=r}Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,configurable:!0,value:{},writable:!0});var i=e[t];Object.defineProperty(i,n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function Ni(e,t,n){if(t>n){var r=t;t=n,n=r}return!!e[t]&&Object.prototype.hasOwnProperty.call(e[t],n)}function Pi(e,t,n,r){var i={},a={},s={};return o.o(t,function(e){o.o(e,function(e,t){i[e]=e,a[e]=e,s[e]=t})}),o.o(t,function(e){var t=-1;o.o(e,function(e){var o=r(e);if(o.length){o=G(o,function(e){return s[e]});for(var c=(o.length-1)/2,l=Math.floor(c),u=Math.ceil(c);l<=u;++l){var d=o[l];a[e]===e&&t<s[d]&&!Ni(n,e,d)&&(a[d]=e,a[e]=i[e]=i[d],t=s[d])}}})}),{root:i,align:a}}function Fi(e,t,n,r,i){var a={},s=Ii(e,t,n,i),c=i?`borderLeft`:`borderRight`;function l(e,t){for(var n=s.nodes(),r=n.pop(),i={};r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}function u(e){a[e]=s.inEdges(e).reduce(function(e,t){return Math.max(e,a[t.v]+s.edge(t))},0)}function d(t){var n=s.outEdges(t).reduce(function(e,t){return Math.min(e,a[t.w]-s.edge(t))},1/0),r=e.node(t);n!==1/0&&r.borderType!==c&&(a[t]=Math.max(a[t],n))}return l(u,s.predecessors.bind(s)),l(d,s.successors.bind(s)),o.o(r,function(e){a[e]=a[n[e]]}),a}function Ii(e,t,n,r){var i=new o.t,a=e.graph(),s=Vi(a.nodesep,a.edgesep,r);return o.o(t,function(t){var r;o.o(t,function(t){var a=n[t];if(i.setNode(a),r){var o=n[r],c=i.edge(o,a);i.setEdge(o,a,Math.max(s(e,t,r),c||0))}r=t})}),i}function Li(e,t){return B(o.i(t),function(t){var n=-1/0,r=1/0;return on(t,function(t,i){var a=Hi(e,i)/2;n=Math.max(t+a,n),r=Math.min(t-a,r)}),n-r})}function Ri(e,t){var n=o.i(t),r=z(n),i=L(n);o.o([`u`,`d`],function(n){o.o([`l`,`r`],function(a){var s=n+a,c=e[s],l;if(c!==t){var u=o.i(c);l=a===`l`?r-z(u):i-L(u),l&&(e[s]=F(c,function(e){return e+l}))}})})}function zi(e,t){return F(e.ul,function(n,r){if(t)return e[t.toLowerCase()][r];var i=G(P(e,r));return(i[1]+i[2])/2})}function Bi(e){var t=Y(e),n=R(ki(e,t),Ai(e,t)),r={},i;return o.o([`u`,`d`],function(a){i=a===`u`?t:o.i(t).reverse(),o.o([`l`,`r`],function(t){t===`r`&&(i=P(i,function(e){return o.i(e).reverse()}));var s=(a===`u`?e.predecessors:e.successors).bind(e),c=Pi(e,i,n,s),l=Fi(e,i,c.root,c.align,t===`r`);t===`r`&&(l=F(l,function(e){return-e})),r[a+t]=l})}),Ri(r,Li(e,r)),zi(r,e.graph().align)}function Vi(e,t,n){return function(r,i,a){var o=r.node(i),s=r.node(a),c=0,l;if(c+=o.width/2,Object.prototype.hasOwnProperty.call(o,`labelpos`))switch(o.labelpos.toLowerCase()){case`l`:l=-o.width/2;break;case`r`:l=o.width/2}if(l&&(c+=n?l:-l),l=0,c+=(o.dummy?t:e)/2,c+=(s.dummy?t:e)/2,c+=s.width/2,Object.prototype.hasOwnProperty.call(s,`labelpos`))switch(s.labelpos.toLowerCase()){case`l`:l=s.width/2;break;case`r`:l=-s.width/2}return l&&(c+=n?l:-l),l=0,c}}function Hi(e,t){return e.node(t).width}function Ui(e){e=cr(e),Wi(e),sn(Bi(e),function(t,n){e.node(n).x=t})}function Wi(e){var t=Y(e),n=e.graph().ranksep,r=0;o.o(t,function(t){var i=L(P(t,function(t){return e.node(t).height}));o.o(t,function(t){e.node(t).y=r+i/2}),r+=i+n})}function Gi(e,t){var n=t&&t.debugTiming?hr:gr;n(`layout`,()=>{var t=n(` buildLayoutGraph`,()=>na(e));n(` runLayout`,()=>Ki(t,n)),n(` updateInputGraph`,()=>qi(e,t))})}function Ki(e,t){t(` makeSpaceForEdgeLabels`,()=>ra(e)),t(` removeSelfEdges`,()=>fa(e)),t(` acyclic`,()=>ir(e)),t(` nestingGraph.run`,()=>ti(e)),t(` rank`,()=>Zr(cr(e))),t(` injectEdgeLabelProxies`,()=>ia(e)),t(` removeEmptyRanks`,()=>dr(e)),t(` nestingGraph.cleanup`,()=>ai(e)),t(` normalizeRanks`,()=>ur(e)),t(` assignRankMinMax`,()=>aa(e)),t(` removeEdgeLabelProxies`,()=>oa(e)),t(` normalize.run`,()=>Dr(e)),t(` parentDummyChains`,()=>Ei(e)),t(` addBorderSegments`,()=>_r(e)),t(` order`,()=>Si(e)),t(` insertSelfEdges`,()=>pa(e)),t(` adjustCoordinateSystem`,()=>yr(e)),t(` position`,()=>Ui(e)),t(` positionSelfEdges`,()=>ma(e)),t(` removeBorderNodes`,()=>da(e)),t(` normalize.undo`,()=>kr(e)),t(` fixupEdgeLabelCoords`,()=>la(e)),t(` undoCoordinateSystem`,()=>br(e)),t(` translateGraph`,()=>sa(e)),t(` assignNodeIntersects`,()=>ca(e)),t(` reversePoints`,()=>ua(e)),t(` acyclic.undo`,()=>or(e))}function qi(e,t){o.o(e.nodes(),function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))}),o.o(e.edges(),function(n){var r=e.edge(n),i=t.edge(n);r.points=i.points,Object.prototype.hasOwnProperty.call(i,`x`)&&(r.x=i.x,r.y=i.y)}),e.graph().width=t.graph().width,e.graph().height=t.graph().height}var Ji=[`nodesep`,`edgesep`,`ranksep`,`marginx`,`marginy`],Yi={ranksep:50,edgesep:20,nodesep:50,rankdir:`tb`},Xi=[`acyclicer`,`ranker`,`rankdir`,`align`],Zi=[`width`,`height`],Qi={width:0,height:0},$i=[`minlen`,`weight`,`width`,`height`,`labeloffset`],ea={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:`r`},ta=[`labelpos`];function na(e){var t=new o.t({multigraph:!0,compound:!0}),n=ga(e.graph());return t.setGraph(R({},Yi,ha(n,Ji),U(n,Xi))),o.o(e.nodes(),function(n){var r=ga(e.node(n));t.setNode(n,Zt(ha(r,Zi),Qi)),t.setParent(n,e.parent(n))}),o.o(e.edges(),function(n){var r=ga(e.edge(n));t.setEdge(n,R({},ea,ha(r,$i),U(r,ta)))}),t}function ra(e){var t=e.graph();t.ranksep/=2,o.o(e.edges(),function(n){var r=e.edge(n);r.minlen*=2,r.labelpos.toLowerCase()!==`c`&&(t.rankdir===`TB`||t.rankdir===`BT`?r.width+=r.labeloffset:r.height+=r.labeloffset)})}function ia(e){o.o(e.edges(),function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v);J(e,`edge-proxy`,{rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t},`_ep`)}})}function aa(e){var t=0;o.o(e.nodes(),function(n){var r=e.node(n);r.borderTop&&(r.minRank=e.node(r.borderTop).rank,r.maxRank=e.node(r.borderBottom).rank,t=L(t,r.maxRank))}),e.graph().maxRank=t}function oa(e){o.o(e.nodes(),function(t){var n=e.node(t);n.dummy===`edge-proxy`&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))})}function sa(e){var t=1/0,n=0,r=1/0,i=0,a=e.graph(),s=a.marginx||0,c=a.marginy||0;function l(e){var a=e.x,o=e.y,s=e.width,c=e.height;t=Math.min(t,a-s/2),n=Math.max(n,a+s/2),r=Math.min(r,o-c/2),i=Math.max(i,o+c/2)}o.o(e.nodes(),function(t){l(e.node(t))}),o.o(e.edges(),function(t){var n=e.edge(t);Object.prototype.hasOwnProperty.call(n,`x`)&&l(n)}),t-=s,r-=c,o.o(e.nodes(),function(n){var i=e.node(n);i.x-=t,i.y-=r}),o.o(e.edges(),function(n){var i=e.edge(n);o.o(i.points,function(e){e.x-=t,e.y-=r}),Object.prototype.hasOwnProperty.call(i,`x`)&&(i.x-=t),Object.prototype.hasOwnProperty.call(i,`y`)&&(i.y-=r)}),a.width=n-t+s,a.height=i-r+c}function ca(e){o.o(e.edges(),function(t){var n=e.edge(t),r=e.node(t.v),i=e.node(t.w),a,o;n.points?(a=n.points[0],o=n.points[n.points.length-1]):(n.points=[],a=i,o=r),n.points.unshift(lr(r,a)),n.points.push(lr(i,o))})}function la(e){o.o(e.edges(),function(t){var n=e.edge(t);if(Object.prototype.hasOwnProperty.call(n,`x`))switch((n.labelpos===`l`||n.labelpos===`r`)&&(n.width-=n.labeloffset),n.labelpos){case`l`:n.x-=n.width/2+n.labeloffset;break;case`r`:n.x+=n.width/2+n.labeloffset}})}function ua(e){o.o(e.edges(),function(t){var n=e.edge(t);n.reversed&&n.points.reverse()})}function da(e){o.o(e.nodes(),function(t){if(e.children(t).length){var n=e.node(t),r=e.node(n.borderTop),i=e.node(n.borderBottom),a=e.node(M(n.borderLeft)),o=e.node(M(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(i.y-r.y),n.x=a.x+n.width/2,n.y=r.y+n.height/2}}),o.o(e.nodes(),function(t){e.node(t).dummy===`border`&&e.removeNode(t)})}function fa(e){o.o(e.edges(),function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||=[],n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}})}function pa(e){var t=Y(e);o.o(t,function(t){var n=0;o.o(t,function(t,r){var i=e.node(t);i.order=r+n,o.o(i.selfEdges,function(t){J(e,`selfedge`,{width:t.label.width,height:t.label.height,rank:i.rank,order:r+ ++n,e:t.e,label:t.label},`_se`)}),delete i.selfEdges})})}function ma(e){o.o(e.nodes(),function(t){var n=e.node(t);if(n.dummy===`selfedge`){var r=e.node(n.e.v),i=r.x+r.width/2,a=r.y,o=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*o/3,y:a-s},{x:i+5*o/6,y:a-s},{x:i+o,y:a},{x:i+5*o/6,y:a+s},{x:i+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}})}function ha(e,t){return F(U(e,t),Number)}function ga(e){var t={};return o.o(e,function(e,n){t[n.toLowerCase()]=e}),t}var _a=e.n((e,t,n)=>Math.max(t,Math.min(n,e)),`clamp`),va=e.n((e=`TB`)=>{switch(e){case`BT`:return`bottom`;case`LR`:return`right`;case`RL`:return`left`;default:return`top`}},`getDefaultSelfLoopSide`),ya=e.n(e=>e===`flowchart`||e===`flowchart-v2`||e===`stateDiagram`||e===`er`||e===`classDiagram`,`shouldMergeSelfLoopSegments`),ba=[`x`,`y`,`width`,`height`,`labelBBox`,`intersect`,`calcIntersect`,`diff`,`clusterNode`],xa=e.n((e,t,n,r,i)=>{let a=[],o=new Set;if(n.forEach(({start:e,end:t})=>{e!==r&&o.add(e),t!==r&&o.add(t)}),o.forEach(t=>{let n=e.node(t);typeof n?.x==`number`&&typeof n?.y==`number`&&a.push(n)}),a.length===0&&n.forEach(({edge:e})=>{(e.points??[]).forEach(e=>{typeof e?.x==`number`&&typeof e?.y==`number`&&a.push(e)})}),a.length===0)return va(i);let s=a.reduce((e,t)=>({x:e.x+t.x/a.length,y:e.y+t.y/a.length}),{x:0,y:0}),c=s.x-t.x,l=s.y-t.y;return Math.abs(c)>Math.abs(l)?c>0?`right`:`left`:Math.abs(l)>0?l>0?`bottom`:`top`:va(i)},`getSelfLoopSide`),Sa=e.n((e,t=`top`,n=0,r=0)=>{let i=e.x,a=e.y-n,o=e.width/2,s=e.height/2,c=Math.max(36,Math.min(100,e.width*.8)),l=_a(Math.max(r,e.width*.35),36,c),u=_a(Math.min(e.width,e.height)*.45,24,48);switch(t){case`bottom`:{let e=a+s;return[{x:i-l/2,y:e},{x:i-l/2,y:e+u},{x:i+l/2,y:e+u},{x:i+l/2,y:e}]}case`right`:{let e=i+o;return[{x:e,y:a-l/2},{x:e+u,y:a-l/2},{x:e+u,y:a+l/2},{x:e,y:a+l/2}]}case`left`:{let e=i-o;return[{x:e,y:a-l/2},{x:e-u,y:a-l/2},{x:e-u,y:a+l/2},{x:e,y:a+l/2}]}default:{let e=a-s;return[{x:i-l/2,y:e},{x:i-l/2,y:e-u},{x:i+l/2,y:e-u},{x:i+l/2,y:e}]}}},`getSelfLoopPoints`),Ca=e.n((e,t,n=`top`,r=0,i={})=>{let a=e.x,o=e.y-r,s=i.width??0,c=i.height??0;switch(n){case`bottom`:return{x:a,y:Math.max(...t.map(e=>e.y))+c/2+4};case`right`:return{x:Math.max(...t.map(e=>e.x))+s/2+4,y:o};case`left`:return{x:Math.min(...t.map(e=>e.x))-s/2-4,y:o};default:return{x:a,y:Math.min(...t.map(e=>e.y))-c/2-4}}},`getSelfLoopLabelPosition`),wa=e.n((e,t=0,{mergeSelfLoops:n=!0}={})=>{let r=new Map,i=[],a=e.graph()?.rankdir;return e.edges().forEach(t=>{let a=e.edge(t);if(n&&a.selfLoop){let e=a.selfLoop.id;r.has(e)||r.set(e,[]),r.get(e).push({edge:a,start:t.v,end:t.w})}else i.push({edge:a,start:t.v,end:t.w})}),r.forEach(n=>{if(n.length!==3){n.forEach(e=>i.push(e));return}n.sort((e,t)=>e.edge.selfLoop.order-t.edge.selfLoop.order);let[r,o,s]=n,c=r.edge.originalEdge??o.edge.originalEdge??s.edge.originalEdge??o.edge,l=e.node(c.start);if(!l){n.forEach(e=>i.push(e));return}let u={width:o.edge.width,height:o.edge.height},d=xa(e,l,n,c.start,a),f=Sa(l,d,t,u.width??0),p=Ca(l,f,d,t,u),m={...o.edge,...c,id:c.id,points:f,start:c.start,end:c.end,x:p.x,y:p.y,width:u.width,height:u.height,labelStyle:o.edge.labelStyle,fromCluster:r.edge.fromCluster??o.edge.fromCluster??s.edge.fromCluster,toCluster:r.edge.toCluster??o.edge.toCluster??s.edge.toCluster};delete m.selfLoop,delete m.originalEdge,i.push({edge:m,start:m.start,end:m.end})}),i},`getEdgesToRender`),Ta=e.n(async({element:n,graph:o,diagramType:s,id:l,parentCluster:u,siteConfig:d})=>{let f=o.graph().rankdir;t.m.trace(`Dir in recursive render - dir:`,f);let{clusters:p,edgePaths:m,edgeLabels:h,nodes:g,rootGroups:_}=c.i(n,{edgePathsClass:`edgePaths`});o.nodes()?t.m.info(`Recursive render XXX`,o.nodes()):t.m.info(`No nodes found for`,o),o.edges().length>0&&t.m.info(`Recursive edges`,o.edge(o.edges()[0]));let v=ya(s);await Promise.all(o.nodes().map(async function(e){let n=o.node(e);if(u!==void 0){let n=JSON.parse(JSON.stringify(u.clusterData));t.m.trace(`Setting data for parent cluster XXX
|
|
2
|
-
Node.id = `,e,`
|
|
3
|
-
data=`,n.height,`
|
|
4
|
-
Parent cluster`,u.height),o.setNode(u.id,n),o.parent(e)||(t.m.trace(`Setting parent`,e,u.id),o.setParent(e,u.id,n))}if(t.m.info(`(Insert) Node XXX`+e+`: `+JSON.stringify(o.node(e))),n?.clusterNode){t.m.info(`Cluster identified XBX`,e,n.width,o.node(e));let{ranksep:a,nodesep:c}=o.graph();n.graph.setGraph({...n.graph.graph(),ranksep:a+25,nodesep:c});let u=await Ma({element:g,graph:n.graph,diagramType:s,id:l,parentCluster:o.node(e),siteConfig:d}),f=u.elem;r.c(n,f),n.diff=u.diff||0,t.m.info(`New compound node after recursive render XAX`,e,`width`,n.width,`height`,n.height),i.a(f,n)}else o.children(e).length>0?(t.m.trace(`Cluster - the non recursive path XBX`,e,n.id,n,n.width,`Graph:`,o),t.m.trace(c.o(n.id,o)),c.n.set(n.id,{id:c.o(n.id,o),node:n})):(t.m.trace(`Node - the non recursive path XAX`,e,g,o.node(e),f),await c.s(g,o.node(e),{config:d,dir:f}))})),await e.n(async()=>{let e=o.edges().map(async function(e){let n=o.edge(e.v,e.w,e.name);if(t.m.info(`Edge `+e.v+` -> `+e.w+`: `+JSON.stringify(e)),t.m.info(`Edge `+e.v+` -> `+e.w+`: `,e,` `,JSON.stringify(o.edge(e))),t.m.info(`Fix`,c.n,`ids:`,e.v,e.w,`Translating: `,c.n.get(e.v),c.n.get(e.w)),v&&n.selfLoop){if(n.selfLoop.order!==1)return;let e={...n.originalEdge,...n,id:n.selfLoop.id,startLabelLeft:n.originalEdge?.startLabelLeft??n.startLabelLeft,startLabelRight:n.originalEdge?.startLabelRight??n.startLabelRight,endLabelLeft:n.originalEdge?.endLabelLeft??n.endLabelLeft,endLabelRight:n.originalEdge?.endLabelRight??n.endLabelRight};await a.a(h,e),n.width=e.width,n.height=e.height,n.labelStyle=e.labelStyle;return}await a.a(h,n)});await Promise.all(e)},`processEdges`)();let{subGraphTitleTotalMargin:y}=i.n(d);return{elem:_,graph:o,groups:{clusters:p,edgePaths:m,edgeLabels:h,nodes:g,rootGroups:_},diagramType:s,id:l,mergeSelfLoops:v,subGraphTitleTotalMargin:y}},`measureDagreGraph`),Ea=e.n(e=>{t.m.info(`############################################# XXX`),t.m.info(`### Layout ### XXX`),t.m.info(`############################################# XXX`),Gi(e)},`runDagreGraphLayout`),Da=e.n((e,t,n)=>{let r=e.node(t);if(!r)return;let i={...r};return r?.clusterNode?i.y=(r.y??0)+n:e.children(t).length>0?i.height=(r.height??0)+n:i.y=(r.y??0)+n/2,i},`normalizeDagreNode`),Oa=e.n((e,t)=>{ba.forEach(n=>{t[n]!==void 0&&(e[n]=t[n])})},`applyDagreNodeLayout`),ka=e.n((e,t,n,r)=>({...e,start:e.start??t,end:e.end??n,points:(e.points??[]).map(e=>({...e,y:typeof e.y==`number`?e.y+r:e.y}))}),`normalizeDagreEdge`),Aa=e.n((e,t)=>{let{graph:n,mergeSelfLoops:r,subGraphTitleTotalMargin:i=0}=t,a=new Map(e.nodes.map(e=>[e.id,e]));c.c(n).forEach(e=>{let t=Da(n,e,i);if(!t)return;Oa(n.node(e),t);let r=a.get(e);r&&Oa(r,t)});let o=i/2;return e.edges=wa(n,o,{mergeSelfLoops:r}).map(({edge:e,start:t,end:n})=>ka(e,t,n,o)),e},`applyDagreLayoutResult`),ja=e.n(async({elem:e,graph:n,groups:{clusters:r,edgePaths:o},diagramType:l,id:u,mergeSelfLoops:d,subGraphTitleTotalMargin:f})=>{let p=0;await Promise.all(c.c(n).map(async function(e){let a=n.node(e);if(t.m.info(`Position XBX => `+e+`: (`+a.x,`,`+a.y,`) width: `,a.width,` height: `,a.height),a?.clusterNode)a.y+=f,t.m.info(`A tainted cluster node XBX1`,e,a.id,a.width,a.height,a.x,a.y,n.parent(e)),c.n.get(a.id).node=a,i.i(a);else if(n.children(e).length>0){t.m.info(`A pure cluster node XBX1`,e,a.id,a.x,a.y,a.width,a.height,n.parent(e)),a.height+=f,n.node(a.parentId);let i=a?.padding/2||0,o=a?.labelBBox?.height||0,l=o-i||0;t.m.debug(`OffsetY`,l,`labelHeight`,o,`halfPadding`,i),await s.r(r,a),c.n.get(a.id).node=a}else{let e=n.node(a.parentId);a.y+=f/2,t.m.info(`A regular node XBX1 - using the padding`,a.id,`parent`,a.parentId,a.width,a.height,a.x,a.y,`offsetY`,a.offsetY,`parent`,e,e?.offsetY,a),i.i(a)}}));let m=f/2;return wa(n,m,{mergeSelfLoops:d}).forEach(function({edge:e,start:r,end:i}){t.m.info(`Edge `+r+` -> `+i+`: `+JSON.stringify(e),e),e.points.forEach(e=>e.y+=m);let s=n.node(r),d=n.node(i),f=a.i(o,e,c.n,l,s,d,u);a.l(e,f)}),n.nodes().forEach(function(e){let r=n.node(e);t.m.info(e,r.type,r.diff),r.isGroup&&(p=r.diff)}),t.m.warn(`Returning from recursive render XAX`,e,p),{elem:e,diff:p}},`paintDagreLayoutCore`),Ma=e.n(async e=>{let t=await Ta(e);return Ea(t.graph),await ja(t)},`renderDagreSubgraph`),$=e.n(e=>{let n=new o.t({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.nodeSpacing||e.config?.flowchart?.nodeSpacing,ranksep:e.config?.rankSpacing||e.rankSpacing||e.config?.flowchart?.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});return e.nodes.forEach(e=>{n.setNode(e.id,{...e}),e.parentId&&n.setParent(e.id,e.parentId)}),t.m.debug(`Edges:`,e.edges),e.edges.forEach(e=>{if(e.start===e.end){let t=e.start,r=t+`---`+t+`---1`,i=t+`---`+t+`---2`,a=n.node(t);n.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:``,label:``,padding:0,shape:`labelRect`,style:``,width:10,height:10}),n.setParent(r,a.parentId),n.setNode(i,{domId:i,id:i,parentId:a.parentId,labelStyle:``,padding:0,shape:`labelRect`,label:``,style:``,width:10,height:10}),n.setParent(i,a.parentId);let o=structuredClone(e),s=structuredClone(e),c=structuredClone(e),l=structuredClone(e);s.originalEdge=o,s.selfLoop={id:o.id,order:0},c.originalEdge=o,c.selfLoop={id:o.id,order:1},l.originalEdge=o,l.selfLoop={id:o.id,order:2},s.label=``,s.arrowTypeEnd=`none`,s.endLabelLeft=``,s.endLabelRight=``,s.startLabelLeft=``,s.id=t+`-cyclic-special-1`,c.startLabelRight=``,c.startLabelLeft=``,c.endLabelLeft=``,c.endLabelRight=``,c.arrowTypeStart=`none`,c.arrowTypeEnd=`none`,c.id=t+`-cyclic-special-mid`,l.label=``,l.startLabelRight=``,l.startLabelLeft=``,l.arrowTypeStart=`none`,a.isGroup&&(s.fromCluster=t,l.toCluster=t),l.id=t+`-cyclic-special-2`,l.arrowTypeStart=`none`,n.setEdge(t,r,s,t+`-cyclic-special-0`),n.setEdge(r,i,c,t+`-cyclic-special-1`),n.setEdge(i,t,l,t+`-cyclic-special-2`)}else n.setEdge(e.start,e.end,{...e},e.id)}),c.t(n),{graph:n}},`prepareLayoutForDagre`),Na=e.n(async(e,{element:t,preparedLayout:r})=>{let i=r??$(e),a=n.b(),o=await Ta({element:t,graph:i.graph,diagramType:e.type,id:e.diagramId,parentCluster:void 0,siteConfig:a});return i.measuredLayout=o,o},`measureDagreLayout`),Pa=e.n((e,t)=>{let n=t.preparedLayout?.measuredLayout;if(!n)throw Error(`runDagreLayoutCore requires measureDagreLayout to run first`);return Ea(n.graph),Aa(e,n),n},`runDagreLayoutCore`),Fa=c.r({prepareLayout:$,measureLayout:Na,runLayoutCore:Pa,paintOptions:{clusterDb:c.n,getNodes:e.n((e,{measure:t})=>c.c(t.graph).map(e=>t.graph.node(e)).filter(Boolean),`getDagrePaintNodes`),getEdgeNode:e.n((e,t,{measure:n})=>e?n.graph.node(e):void 0,`getDagreEdgeNode`),skipNode:e.n((e,{measure:t})=>!t.graph.hasNode(e.id),`skipNode`),isCluster:e.n((e,{measure:t})=>t.graph.hasNode(e.id)&&(t.graph.children(e.id)??[]).length>0,`isCluster`)}});exports.applyDagreLayoutResult=Aa,exports.getEdgesToRender=wa,exports.measureDagreLayout=Na,exports.prepareLayoutForDagre=$,exports.render=Fa,exports.runDagreLayoutCore=Pa;
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-DSNLSHJZ-DZO9xahH.cjs"),r=require("./channel-BRczbI_M.cjs"),i=require("./chunk-7S6XSTFO-DJ37SdG5.cjs");require("./chunk-YZO67HFG-CLf5aoHk.cjs"),require("./chunk-AQDTSKZB-DElrkKED.cjs");const a=require("./chunk-5VM5RSS4-CwDmQ9T_.cjs");require("./chunk-UHW7PFBP-SZ8KvGM0.cjs");const o=require("./chunk-J5ZVWO5B-CK5HGA-t.cjs"),s=require("./chunk-HAGFOTED-Dykk1LyE.cjs");require("./chunk-ZAUX2LTX-BwjEPfG0.cjs"),require("./chunk-WQQL4CDK-TvwGUFeE.cjs");const c=require("./chunk-55XCU76K-d9D4PS_7.cjs"),l=require("./chunk-XXDRQBXY-yMT3rT5Y.cjs"),u=require("./chunk-VQ5W62QI-CsW6i5Ev.cjs");require("./chunk-HNE4Q36P-C-j5Nn9f.cjs");const d=require("./mermaid.core-2PafqU96.cjs");var f={SHAPE_UNSUPPORTED:`SHAPE_UNSUPPORTED`,SHAPE_REMOVED:`SHAPE_REMOVED`,EDGE_OPERATOR_UNSUPPORTED:`EDGE_OPERATOR_UNSUPPORTED`,REFERENCE_EDGE_LABEL_REJECTED:`REFERENCE_EDGE_LABEL_REJECTED`,CONNECTOR_REF_UNRESOLVED:`CONNECTOR_REF_UNRESOLVED`,CONNECTOR_REF_NOT_A_CONNECTOR:`CONNECTOR_REF_NOT_A_CONNECTOR`,METADATA_KEY_MISAPPLIED:`METADATA_KEY_MISAPPLIED`,DUPLICATE_ID_NODE:`DUPLICATE_ID_NODE`,RESERVED_SYNTHETIC_ID:`RESERVED_SYNTHETIC_ID`,CONTAINMENT_VIOLATION:`CONTAINMENT_VIOLATION`,EDGE_SEMANTIC_CONTRADICTION:`EDGE_SEMANTIC_CONTRADICTION`,FLOW_NO_INPUT:`FLOW_NO_INPUT`},p=new Set([f.SHAPE_UNSUPPORTED,f.SHAPE_REMOVED,f.CONTAINMENT_VIOLATION]);new Set(Object.values(f).filter(e=>!p.has(e)));var m=new Map([[`task`,`roundedRect`],[`tool`,`subroutine`],[`input`,`lean-right`],[`decision`,`diamond`],[`refdoc`,`lin-doc`],[`action`,`hexagon`],[`round`,`rect`]]),h=new Set(`doc.stadium.terminal.circle.trapezoid.inv_trapezoid.inv-trapezoid.doublecircle.double-circle.typeDeclaration.procs.lean_left.lean-left.in-out.cylinder.ellipse.odd.tag-rect.tagged-rectangle.delay.half-rounded-rectangle.lin-rect.lined-rectangle.win-pane.window-pane.curv-trap.curved-trapezoid`.split(`.`)),g=new Set([`roundedRect`,`subroutine`,`subprocess`,`subproc`,`framed-rectangle`,`lean-right`,`diamond`,`lin-doc`,`lined-document`,`hexagon`,`hex`,`connector`,`collapsedGroup`]),_=`roundedRect`;function v(e){return e&&(m.get(e)??e)}e.n(v,`resolveShapeAlias`);function y(e,n){for(let r of e)if(!r.isGroup){if((!r.shape||r.shape===`squareRect`||r.shape===`rect`)&&(r.shape=_),h.has(r.shape)){let e=`shape "${r.shape}" was removed in v0.8.1, using "${_}"`;n?.emitError?n.emitError(`SHAPE_REMOVED`,e,{nodeId:r.id}):t.m.warn(`agentflow: ${e}`),r.shape=_;continue}if(!g.has(r.shape)){let e=`shape "${r.shape}" is not supported, using "${_}"`;n?.emitWarning?n.emitWarning(`SHAPE_UNSUPPORTED`,e,{nodeId:r.id}):t.m.warn(`agentflow: ${e}`),r.shape=_}}}e.n(y,`normaliseNodeShapes`);var b=new Map([[`tool`,0],[`task`,1],[`decision`,2],[`input`,3],[`refdoc`,4],[`connector`,5],[`action`,6]]),x=b.size,S=e.n(e=>`af-kind-${e}`,`kindClass`),C=[...b.keys()],w=e.n(e=>Math.max(1,e-x),`containerSlotCount`),T=e.n((e,t)=>{let n=x+e%w(t);return t>0?n%t:n},`containerSlot`);function E(e,t,r){let i=n.b().themeVariables?.borderColorArray,a=Array.isArray(i)?i.length:0,o=r.size;for(let n of e??[]){if(n.isGroup||n.shape===`collapsedGroup`){n.colorIndex=T(r.get(String(n.id))??o++,a);continue}let e=t(String(n.id));e&&b.has(e)&&(n.cssClasses=`${n.cssClasses??``} ${S(e)}`.replace(/\s+/g,` `).trim())}}e.n(E,`assignColorSlots`);var D=`agentflow-`,O=new Set([`shape`,`view`,`icon`,`img`,`form`,`pos`,`w`,`h`,`class`,`style`,`labelType`]),k=new Set([`subroutine`,`subprocess`,`subproc`,`framed-rectangle`,`tool`]),A={flow:`flowGroup`};function j(e){if(Array.isArray(e))return e.map(e=>j(e));if(typeof e!=`object`||!e)return e;let t={};for(let n of Object.keys(e))n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=j(e[n]));return t}e.n(j,`stripPrototypeKeys`);function M(e){let t=!1,n=!1,r=0,i,a=[];for(let o of e.split(`
|
|
2
|
-
`)){if(i!==void 0){let e=o.length-o.trimStart().length;if(o.trim()===``||e>i){a.push(o);continue}i=void 0}let e=-1;for(let i=0;i<o.length;i++){let a=o[i];if(n)a===`\\`?i++:a===`"`&&(n=!1);else if(t)a===`'`&&(t=!1);else if(a===`"`)n=!0;else if(a===`'`)t=!0;else if(a===`#`&&(i===0||o[i-1]===` `||o[i-1]===` `)){e=i;break}else a===`[`||a===`{`?r++:(a===`]`||a===`}`)&&(r=Math.max(0,r-1))}if(t||n||r>0){a.push(o);continue}let s=e>=0?o.slice(0,e):o,c=e>=0?o.slice(e):``;if(/:\s*[>|][\d+-]*\s*$/.test(s)){i=o.length-o.trimStart().length,a.push(o);continue}a.push(s.replace(/,([\t ]*)$/,`$1`)+c)}return a.join(`
|
|
3
|
-
`)}e.n(M,`stripLineTrailingCommas`);var N=class{constructor(){this.vertexCounter=0,this.config=n.b(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.diagramId=``,this.preserveCommentsWhenParsing=!0,this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,this.funs=[],this.setAccTitle=n.U,this.setAccDescription=n.H,this.setDiagramTitle=n.q,this.getAccTitle=n.v,this.getAccDescription=n._,this.getDiagramTitle=n.C,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.addGlobal=this.addGlobal.bind(this),this.addConnector=this.addConnector.bind(this),this.addConnectorMapping=this.addConnectorMapping.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.setFrontmatterLineOffset=this.setFrontmatterLineOffset.bind(this),this.addVertexMapping=this.addVertexMapping.bind(this),this.extendVertexMapping=this.extendVertexMapping.bind(this),this.addEdgeMapping=this.addEdgeMapping.bind(this),this.addSubgraphMapping=this.addSubgraphMapping.bind(this),this.emitWarning=this.emitWarning.bind(this),this.emitError=this.emitError.bind(this),this.getDiagnostics=this.getDiagnostics.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen(`gen-2`)}static{e.n(this,`AgentFlowDB`)}sanitizeText(e){return n.s.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case`markdown`:case`string`:case`text`:return e;default:return`markdown`}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let t of this.vertices.values())if(t.id===e)return this.diagramId?`${this.diagramId}-${t.domId}`:t.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,t,r,i,a,o,c={},l,u){if(!e||e.trim().length===0)return;let f;if(l!==void 0){let e;e=l.includes(`
|
|
4
|
-
`)?l+`
|
|
5
|
-
`:`{
|
|
6
|
-
`+l+`
|
|
7
|
-
}`;try{f=d.r(e,{schema:d.n})??{}}catch(e){let t=l.includes(`
|
|
8
|
-
`)?M(l):l;if(t!==l)try{f=d.r(t+`
|
|
9
|
-
`,{schema:d.n})??{}}catch{this.rethrowMetadataYamlError(e,l,u)}else this.rethrowMetadataYamlError(e,l,u)}f=j(f)}let p;if(f&&typeof f.shape==`string`){let e=f;p=e.shape;let t=v(p);t&&t!==p&&(e.shape=t)}let m=this.subGraphLookup.get(e);if(m&&f){m.metadata={...m.metadata,...f};return}let h=this.connectors.get(e);if(h&&f){h.metadata={...h.metadata,...f};return}if(e===`connectors`)return;let g=this.edges.find(t=>t.id===e);if(g){let e=f;e?.animate!==void 0&&(g.animate=e.animate),e?.animation!==void 0&&(g.animation=e.animation),e?.curve!==void 0&&(g.interpolate=e.curve),f&&(g.metadata={...g.metadata,...f});return}let _,y=this.vertices.get(e);if(y===void 0&&(y={id:e,labelType:`text`,domId:D+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,y)),this.vertexCounter++,t===void 0?y.text===void 0&&(y.text=e):(this.config=n.b(),_=this.sanitizeText(t.text.trim()),y.labelType=t.type,_.startsWith(`"`)&&_.endsWith(`"`)&&(_=_.substring(1,_.length-1)),y.text=_),r!==void 0&&(y.type=r),i?.forEach(e=>{y.styles.push(e)}),a?.forEach(e=>{y.classes.push(e)}),o!==void 0&&(y.dir=o),y.props===void 0?y.props=c:c!==void 0&&Object.assign(y.props,c),f){if(y.metadata={...y.metadata,...f},f.shape){let e=p??f.shape;if(typeof e!=`string`)throw this.positionedShapeError(`No such shape: ${JSON.stringify(e)}.`,u);if(e!==e.toLowerCase()||e.includes(`_`))throw this.positionedShapeError(`No such shape: ${e}. Shape names should be lowercase.`,u);if(!s.a(f.shape))throw this.positionedShapeError(`No such shape: ${f.shape}.`,u);y.type=f?.shape}f?.label&&(y.text=this.sanitizeText(f.label),y.labelType=this.sanitizeNodeLabelType(f?.labelType))}}positionedShapeError(e,t){let n=Error(e);if(!t)return n;let r=t.first_line+this.frontmatterLineOffset;return Object.assign(n,{hash:{text:``,token:null,line:r-1,loc:{first_line:r,last_line:t.last_line+this.frontmatterLineOffset,first_column:t.first_column,last_column:t.last_column},expected:[]}}),n}rethrowMetadataYamlError(t,n,r){let i=t;if(!i||i.name!==`YAMLException`||!i.mark||!r)throw t;let a;try{let t=!n.includes(`
|
|
10
|
-
`),o=t?`{
|
|
11
|
-
`+n+`
|
|
12
|
-
}`:n+`
|
|
13
|
-
`,s=r.first_line+this.frontmatterLineOffset,c=r.first_column+2,l=e.n((e,n)=>t?{line:s,column:c+(e===1?n:0)}:{line:s+e,column:e===0?c+n:n},`toSource`),u=l(i.mark.line,i.mark.column),d=i.reason??(i.message??``).split(`
|
|
14
|
-
`)[0].replace(/\s*\(\d+:\d+\)\s*$/,``),f=o.split(`
|
|
15
|
-
`),p=[];if(t)p.push(1);else for(let e=i.mark.line-1;e<=i.mark.line+1;e++)e<0||e>=f.length||(e!==f.length-1||f[e]!==``||e===i.mark.line)&&p.push(e);let m=Math.max(...p.map(e=>String(l(e,0).line).length)),h=[];for(let e of p){let t=l(e,0).line,n=` ${String(t).padStart(m)} | `;h.push(n+f[e].replace(/\t/g,`→`)),e===i.mark.line&&h.push(`-`.repeat(n.length+i.mark.column)+`^`)}a={message:`${d} (${u.line}:${u.column+1})
|
|
16
|
-
|
|
17
|
-
${h.join(`
|
|
18
|
-
`)}`,markLine:u.line-1,markColumn:u.column,hash:{text:``,token:null,line:u.line-1,loc:{first_line:u.line,last_line:u.line,first_column:u.column,last_column:u.column+1},expected:[]}}}catch{}throw a&&(i.message=a.message,i.mark.line=a.markLine,i.mark.column=a.markColumn,i.hash=a.hash),i}addSingleLink(e,n,r,a){let o={start:e,end:n,type:void 0,text:``,labelType:`text`,classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};t.m.info(`abc78 Got edge...`,o);let s=r.text;if(s!==void 0&&(o.text=this.sanitizeText(s.text.trim()),o.text.startsWith(`"`)&&o.text.endsWith(`"`)&&(o.text=o.text.substring(1,o.text.length-1)),o.labelType=this.sanitizeNodeLabelType(s.type)),r!==void 0&&(o.type=r.type,o.stroke=r.stroke,o.length=r.length>10?10:r.length,r.edgeSemantic&&(o.edgeSemantic=r.edgeSemantic)),a&&!this.edges.some(e=>e.id===a))o.id=a,o.isUserDefinedId=!0;else{let e=this.edges.filter(e=>e.start===o.start&&e.end===o.end);o.id=e.length===0?i.c(o.start,o.end,{counter:0,prefix:`L`}):i.c(o.start,o.end,{counter:e.length+1,prefix:`L`})}if(this.edges.length<(this.config.maxEdges??500))t.m.info(`Pushing edge...`),this.edges.push(o);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
19
|
-
|
|
20
|
-
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
21
|
-
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
22
|
-
You have to call mermaid.initialize.`)}isLinkData(e){return typeof e==`object`&&!!e&&`id`in e&&typeof e.id==`string`}addLink(e,n,r){let i=this.isLinkData(r)?r.id.replace(`@`,``):void 0;t.m.info(`addLink`,e,n,i);for(let t of e)for(let a of n){let o=t===e[e.length-1],s=a===n[0];o&&s?this.addSingleLink(t,a,r,i):this.addSingleLink(t,a,r,void 0)}}updateLinkInterpolate(e,t){e.forEach(e=>{if(e==="default"){this.edges.defaultInterpolate=t;return}if(typeof e==`number`&&e>=this.edges.length)throw Error(`The index ${e} 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.)`);this.edges[e].interpolate=t})}updateLink(e,t){e.forEach(e=>{if(typeof e==`number`&&e>=this.edges.length)throw Error(`The index ${e} 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.)`);e==="default"?this.edges.defaultStyle=t:(this.edges[e].style=t,(this.edges[e]?.style?.length??0)>0&&!this.edges[e]?.style?.some(e=>e?.startsWith(`fill`))&&this.edges[e]?.style?.push(`fill:none`))})}addClass(e,t){let n=t.join().replace(/\\,/g,`§§§`).replace(/,/g,`;`).replace(/§§§/g,`,`).split(`;`);e.split(`,`).forEach(e=>{let t=this.classes.get(e);t===void 0&&(t={id:e,styles:[],textStyles:[]},this.classes.set(e,t)),n?.forEach(e=>{if(/color/.exec(e)){let n=e.replace(`fill`,`bgFill`);t.textStyles.push(n)}t.styles.push(e)})})}setDirection(e){this.direction=e.trim(),/.*</.exec(this.direction)&&(this.direction=`RL`),/.*\^/.exec(this.direction)&&(this.direction=`BT`),/.*>/.exec(this.direction)&&(this.direction=`LR`),/.*v/.exec(this.direction)&&(this.direction=`TB`),this.direction===`TD`&&(this.direction=`TB`)}setClass(e,t){for(let n of e.split(`,`)){let e=this.vertices.get(n);e&&e.classes.push(t);let r=this.edges.find(e=>e.id===n);r&&r.classes.push(t);let i=this.subGraphLookup.get(n);i&&i.classes.push(t)}}setTooltip(e,t){if(t!==void 0){t=this.sanitizeText(t);for(let n of e.split(`,`))this.tooltips.set(this.version===`gen-1`?this.lookUpDomId(n):n,t)}}setClickFun(e,t,r){if(n.b().securityLevel!==`loose`||t===void 0)return;let a=[];if(typeof r==`string`){a=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<a.length;e++){let t=a[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),a[e]=t}}a.length===0&&a.push(e);let o=this.vertices.get(e);o&&(o.haveCallback=!0,this.funs.push(()=>{let n=this.lookUpDomId(e),r=document.querySelector(`[id="${n}"]`);r!==null&&r.addEventListener(`click`,()=>{i._.runFunc(t,...a)},!1)}))}setLink(e,t,n){e.split(`,`).forEach(e=>{let r=this.vertices.get(e);r!==void 0&&(r.link=i._.formatUrl(t,this.config),r.linkTarget=n)}),this.setClass(e,`clickable`)}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,t,n){e.split(`,`).forEach(e=>{this.setClickFun(e,t,n)}),this.setClass(e,`clickable`)}bindFunctions(e){this.funs.forEach(t=>{t(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}isToolDefinition(e){return k.has(e.type)}getTools(){let e=[];for(let t of this.vertices.values())this.isToolDefinition(t)&&e.push(t);return e}getClasses(){return this.classes}setupToolTips(e){let r=c.t();t.p(e).select(`svg`).selectAll(`g.node`).on(`mouseover`,e=>{let i=t.p(e.currentTarget),a=i.attr(`title`);if(a===null)return;let o=e.currentTarget?.getBoundingClientRect();r.transition().duration(200).style(`opacity`,`.9`),r.text(i.attr(`title`)).style(`left`,window.scrollX+o.left+(o.right-o.left)/2+`px`).style(`top`,window.scrollY+o.bottom+`px`),r.html(n.et.sanitize(a)),i.classed(`hover`,!0)}).on(`mouseout`,e=>{r.transition().duration(500).style(`opacity`,0),t.p(e.currentTarget).classed(`hover`,!1)})}clear(e=`gen-2`){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.globalNodes=new Set,this.connectors=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=n.b(),this.diagramId=``,this.vertexCounter=0,this.direction=void 0,this.secCount=-1,this.posCrossRef=[],this.frontmatterLineOffset=0,this.elementMappings=[],this.bareVertexMappings=new WeakSet,this.diagnostics=[],this.postParseValidationRun=!1,n.a()}setGen(e){this.version=e||`gen-2`}defaultStyle(){return`fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;`}addSubGraph(r,i,a,o){let s=r?.text?.trim(),c=a?.text;r===a&&a?.text&&/\s/.exec(a.text)&&(s=void 0);let l=e.n(e=>{let t={boolean:{},number:{},string:{}},n=[],r;return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&e.stmt===`dir`?(r=e.value,!1):e.trim()===``?!1:i in t?t[i].hasOwnProperty(e)?!1:t[i][e]=!0:!n.includes(e)&&n.push(e)}),dir:r}},`uniq`)(i.flat()),u=l.nodeList,d=l.dir,f=n.b().flowchart??{};if(d??=f.inheritDir?this.getDirection()??n.b().direction??void 0:void 0,this.version===`gen-1`)for(let e=0;e<u.length;e++)u[e]=this.lookUpDomId(u[e]);s??=`subGraph`+this.subCount,c||=``,c=this.sanitizeText(c),this.subCount+=1;let p={id:s,nodes:u.filter(e=>e!==s&&!this.globalNodes.has(e)),title:c.trim(),classes:[],dir:d,labelType:this.sanitizeNodeLabelType(a?.type),type:o??`flow`};t.m.info(`Adding`,p.id,p.nodes,p.dir),p.nodes=this.makeUniq(p,this.subGraphs).nodes;let m=this.getPosForId(s);if(m!==-1){let e=this.subGraphs[m];for(let t of p.nodes)e.nodes.includes(t)||e.nodes.push(t);p.title&&(e.title=p.title),p.dir&&(e.dir=p.dir),p.type&&(e.type=p.type),this.subGraphLookup.set(s,e)}else this.subGraphs.push(p),this.subGraphLookup.set(s,p);return s}addGlobal(e){for(let t of e.flat()){if(typeof t!=`string`)continue;let e=t.trim();e!==``&&this.globalNodes.add(e)}for(let e of this.subGraphs)e.nodes=e.nodes.filter(e=>!this.globalNodes.has(e))}getPosForId(e){for(let[t,n]of this.subGraphs.entries())if(n.id===e)return t;return-1}indexNodes2(e,t){let n=this.subGraphs[t].nodes;if(this.secCount+=1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=t,this.subGraphs[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){let t=this.getPosForId(n[r]);if(t>=0){let n=this.indexNodes2(e,t);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2(`none`,this.subGraphs.length-1)}addConnector(e,t){let n=e?.text?.trim();if(!n)return``;let r=t?.text?.trim()??``,i=r.length>0?this.sanitizeText(r):n,a=this.connectors.get(n);return a?r.length>0&&(a.text=i):(a={id:n,labelType:`text`,domId:D+n+`-`+this.vertexCounter,styles:[],classes:[],isConnector:!0,text:i},this.connectors.set(n,a),this.vertices.set(n,a),this.vertexCounter++),n}getSubGraphs(){return this.subGraphs}getConnectors(){return[...this.connectors.values()]}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}computeEdgeSemantic(e,t){if(e===`arrow_point`&&t===`normal`)return`sequence`;if(e===`arrow_cross`&&t===`normal`)return`failure`;if(e===`arrow_open`&&t===`dotted`)return`reference`}destructStartLink(e){let t=e.trim(),n=`normal`;return t.includes(`.`)&&(n=`dotted`),{type:`arrow_open`,stroke:n}}countChar(e,t){let n=t.length,r=0;for(let i=0;i<n;++i)t[i]===e&&++r;return r}destructEndLink(e){let t=e.trim(),n=t.slice(0,-1),r=`arrow_open`;switch(t.slice(-1)){case`x`:r=`arrow_cross`;break;case`>`:r=`arrow_point`;break;case`-`:case`.`:r=`arrow_open`,n=t}let i=`normal`,a=n.length-1,o=this.countChar(`.`,n);return o>0&&(i=`dotted`,a=o),{type:r,stroke:i,length:a}}destructLink(e,t){let n=this.destructEndLink(e),r;return t?(r=this.destructStartLink(t),r.stroke===n.stroke?(r.type=n.type,r.length=n.length,{...r,edgeSemantic:this.computeEdgeSemantic(r.type,r.stroke)}):{type:`INVALID`,stroke:`INVALID`}):{...n,edgeSemantic:this.computeEdgeSemantic(n.type,n.stroke)}}exists(e,t){for(let n of e)if(n.nodes.includes(t))return!0;return!1}makeUniq(e,t){let n=[];return e.nodes.forEach((r,i)=>{this.exists(t,r)||n.push(e.nodes[i])}),{nodes:n}}getTypeFromVertex(e){let t=typeof e.type==`string`?v(e.type):e.type;switch(t){case`square`:case void 0:return`squareRect`;case`round`:return`roundedRect`;case`ellipse`:return`ellipse`;default:return t}}findNode(e,t){return e.find(e=>e.id===t)}destructEdgeType(e){let t=`none`,n=`arrow_point`;switch(e){case`arrow_point`:case`arrow_circle`:case`arrow_cross`:case`arrow_hierarchy`:n=e;break;case`double_arrow_point`:case`double_arrow_circle`:case`double_arrow_cross`:t=e.replace(`double_`,``),n=t}return{arrowTypeStart:t,arrowTypeEnd:n}}addNodeFromVertex(e,t,n,r,i,a){let o=n.get(e.id),s=r.get(e.id)??!1,c=this.findNode(t,e.id);if(c)c.cssStyles=e.styles,c.cssCompiledStyles=this.getCompiledStyles(e.classes),c.cssClasses=e.classes.join(` `);else{let n={id:e.id,label:e.text,labelType:e.labelType,labelStyle:``,parentId:o,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles([`default`,`node`,...e.classes]),cssClasses:`default `+e.classes.join(` `),dir:e.dir,domId:e.domId,look:a,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),metadata:e.metadata};s?t.push({...n,isGroup:!0,shape:`rect`}):t.push({...n,isGroup:!1,shape:this.getTypeFromVertex(e),wrappingWidth:i.agentflow?.wrappingWidth,minWidth:i.agentflow?.minNodeWidth})}}getCompiledStyles(e){let t=[];for(let n of e){let e=this.classes.get(n);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}runPostParseValidators(){this.postParseValidationRun||=!0}getData(){this.runPostParseValidators();let t=n.b(),r=[],a=[],o=this.getSubGraphs(),s=new Map,c=new Map,l=new Set,u=new Map,d=e.n((e,t,n=new Set)=>{if(n.has(e))return;n.add(e);let r=this.subGraphLookup.get(e);if(r)for(let e of r.nodes)e===t||n.has(e)||(l.add(e),u.set(e,t),d(e,t,n))},`collectDescendants`);for(let e of o)e.metadata?.view===`collapsed`&&!l.has(e.id)&&d(e.id,e.id);let p=e.n((e,t)=>{let n=new Set,r=t;for(;r!==void 0&&!n.has(r);){if(r===e)return!0;n.add(r),r=s.get(r)}return!1},`wouldCloseContainmentCycle`);for(let e=o.length-1;e>=0;e--){let t=o[e];if(!l.has(t.id)){t.nodes.length>0&&c.set(t.id,!0);for(let e of t.nodes){if(p(e,t.id)){this.emitWarning(f.CONTAINMENT_VIOLATION,`Container "${t.id}" cannot contain "${e}" because "${e}" already contains it. The nesting that would close the loop is dropped.`,{nodeId:e});continue}s.set(e,t.id)}}}for(let e=o.length-1;e>=0;e--){let n=o[e];if(!l.has(n.id)){if(n.metadata?.view===`collapsed`){let e={...n.metadata,containerType:n.type};r.push({id:n.id,label:n.title,labelStyle:``,labelType:n.labelType,parentId:s.get(n.id),padding:8,cssCompiledStyles:this.getCompiledStyles(n.classes),cssClasses:n.classes.join(` `),shape:`collapsedGroup`,dir:n.dir,isGroup:!1,look:t.look,metadata:e})}else r.push({id:n.id,label:n.title,labelStyle:``,labelType:n.labelType,parentId:s.get(n.id),padding:8,cssCompiledStyles:this.getCompiledStyles(n.classes),cssClasses:n.classes.join(` `),shape:A[n.type??`flow`],dir:n.dir,isGroup:!0,look:t.look,metadata:n.metadata})}}this.getVertices().forEach(e=>{l.has(e.id)||this.addNodeFromVertex(e,r,s,c,t,t.look||`classic`)});let m=this.getEdges();m.forEach((e,n)=>{let r=u.get(e.start)??e.start,o=u.get(e.end)??e.end;if(r===o&&e.start!==e.end)return;let{arrowTypeStart:s,arrowTypeEnd:c}=this.destructEdgeType(e.type),l=[...m.defaultStyle??[]];e.style&&l.push(...e.style);let d={id:i.c(r,o,{counter:n,prefix:`L`},e.id),isUserDefinedId:e.isUserDefinedId,start:r,end:o,type:e.type??`normal`,label:e.text,labelType:e.labelType,labelpos:`c`,thickness:e.stroke,minlen:e.length,classes:e?.stroke===`invisible`?``:`edge-thickness-normal edge-pattern-solid flowchart-link`,arrowTypeStart:e?.stroke===`invisible`||e?.type===`arrow_open`?`none`:s,arrowTypeEnd:e?.stroke===`invisible`||e?.type===`arrow_open`?`none`:c,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(e.classes),labelStyle:l,style:l,pattern:e.stroke,look:t.look,animate:e.animate,animation:e.animation,curve:e.interpolate||this.edges.defaultInterpolate||t.flowchart?.curve,metadata:e.metadata};a.push(d)}),y(r,this);let h=new Map,g=new Map;for(let e of o){let t=s.get(e.id);t!==void 0&&g.set(t,[...g.get(t)??[],e.id])}let _=0,b=e.n(e=>{if(!h.has(e)){h.set(e,_++);for(let t of g.get(e)??[])b(t)}},`walkContainers`);for(let e of o)s.get(e.id)===void 0&&b(e.id);let x=new Set(this.getConnectors().map(e=>e.id));return E(r,e=>{if(x.has(e))return`connector`;let t=this.vertices.get(e);return t?this.deriveVertexKind(t,v(t.type)):void 0},h),{nodes:r,edges:a,other:{},config:t,connectors:this.getConnectors()}}defaultConfig(){return n.d.flowchart}deriveVertexKind(e,t){return this.isToolDefinition(e)?`tool`:t===`hexagon`||t===`hex`?`action`:t===`lean-right`||t===`lean_right`?`input`:t===`lin-doc`||t===`lined-document`?`refdoc`:t===`diamond`?`decision`:`task`}getSemanticModel(){this.runPostParseValidators();let e=new Set(this.subGraphs.map(e=>e.id)),t=[],n=[];for(let[r,i]of this.vertices){if(e.has(r))continue;if(i.isConnector){let e={id:r};if(i.text!==void 0&&i.text!==r&&(e.title=i.text),i.metadata&&Object.keys(i.metadata).length>0){let t={};for(let[e,n]of Object.entries(i.metadata))O.has(e)||(t[e]=n);Object.keys(t).length>0&&(e.metadata=t)}n.push(e);continue}let a={id:r};i.text!==void 0&&(a.label=i.text);let o=typeof i.type==`string`?v(i.type):i.type;if(o!==void 0&&(a.shape=o),a.vertexKind=this.deriveVertexKind(i,o),i.metadata&&Object.keys(i.metadata).length>0){let e={};for(let[t,n]of Object.entries(i.metadata))O.has(t)||(e[t]=n);Object.keys(e).length>0&&(a.metadata=e)}t.push(a)}let r={vertices:t,edges:this.edges.map(e=>{let t={start:e.start,end:e.end};return e.id!==void 0&&(t.id=e.id),typeof e.text==`string`&&e.text.length>0&&(t.label=e.text),e.type!==void 0&&(t.type=e.type),e.stroke!==void 0&&(t.stroke=e.stroke),e.edgeSemantic!==void 0&&(t.edgeSemantic=e.edgeSemantic),e.length!==void 0&&(t.length=e.length),e.metadata&&Object.keys(e.metadata).length>0&&(t.metadata={...e.metadata}),t}),subGraphs:this.subGraphs.map(e=>{let t={id:e.id,nodes:[...e.nodes]};if(e.type!==void 0&&(t.type=e.type),e.title!==void 0&&(t.title=e.title),e.dir!==void 0&&(t.direction=e.dir),e.metadata&&Object.keys(e.metadata).length>0){let n={};for(let[t,r]of Object.entries(e.metadata))O.has(t)||(n[t]=r);Object.keys(n).length>0&&(t.metadata=n)}return t}),connectors:n,diagnostics:this.diagnostics};return this.direction!==void 0&&(r.direction=this.direction),r}setFrontmatterLineOffset(e){this.frontmatterLineOffset=e??0}toElementPosition(e){let t=e?.first_line??0,n=e?.first_column??0,r=e?.last_line??t,i=e?.last_column??n,[a,o]=e?.range??[0,0];return{startLine:t+this.frontmatterLineOffset,startColumn:n,endLine:r+this.frontmatterLineOffset,endColumn:i,startIndex:a,endIndex:o}}pushMapping(e,t,n){if(!e)return;let r={id:e,type:t,position:this.toElementPosition(n)};return this.elementMappings.push(r),r}addVertexMapping(e,t,n,r){let i=this.pushMapping(e,`vertex`,r);i&&n==null&&this.bareVertexMappings.add(i)}extendVertexMapping(e,t){if(!e||!t)return;let n=this.toElementPosition(t);for(let t=this.elementMappings.length-1;t>=0;t--){let r=this.elementMappings[t];if(r.type===`vertex`&&r.id===e){this.bareVertexMappings.has(r)&&(r.type=`attachment`,this.bareVertexMappings.delete(r)),(n.endLine>r.position.endLine||n.endLine===r.position.endLine&&n.endColumn>r.position.endColumn)&&(r.position.endLine=n.endLine,r.position.endColumn=n.endColumn,r.position.endIndex=n.endIndex);return}}this.pushMapping(e,`attachment`,t)}addEdgeMapping(e,t,n,r){let i=Array.isArray(t)?t.map(e=>typeof e==`string`?e:e?.id??``).filter(Boolean):[],a=i.length>0?i.join(`>`):`edge`;this.pushMapping(a,`edge`,r)}addSubgraphMapping(e,t,n,r){let i=(typeof e==`string`?e:e?.text)??``,a=this.toElementPosition(n),o=r?this.toElementPosition(r):a;i&&this.elementMappings.push({id:i,type:`subgraph`,position:{startLine:a.startLine,startColumn:a.startColumn,endLine:o.endLine,endColumn:o.endColumn,startIndex:a.startIndex,endIndex:o.endIndex}})}addConnectorMapping(e,t,n,r){let i=e?.text?.trim()??``;if(!i)return;let a=this.toElementPosition(n),o=r?this.toElementPosition(r):a;this.elementMappings.push({id:i,type:`connector`,position:{startLine:a.startLine,startColumn:a.startColumn,endLine:o.endLine,endColumn:o.endColumn,startIndex:a.startIndex,endIndex:o.endIndex}})}getElementMappings(){return[...this.elementMappings]}getElementById(e){return this.elementMappings.find(t=>t.id===e)}getElementsOnLine(e){return this.elementMappings.filter(t=>e>=t.position.startLine&&e<=t.position.endLine)}getElementAtPosition(t,n){let r=this.elementMappings.filter(e=>{let{startLine:r,startColumn:i,endLine:a,endColumn:o}=e.position;return!(t<r||t>a||t===r&&n<i||t===a&&n>o)});if(r.length===0)return;let i=e.n(({position:e})=>[e.endLine-e.startLine,e.endColumn-e.startColumn],`span`);return r.reduce((e,t)=>{let[n,r]=i(e),[a,o]=i(t);return a===n?o<r?t:e:a<n?t:e})}getMappingStats(){let e=0,t=0,n=0,r=0,i=0;for(let a of this.elementMappings)a.type===`vertex`?e++:a.type===`edge`?t++:a.type===`subgraph`?n++:a.type===`connector`?r++:a.type===`attachment`&&i++;return{vertices:e,edges:t,subgraphs:n,connectors:r,attachments:i,totalElements:this.elementMappings.length}}emitDiagnostic(e,n,r,i){let a=i?.nodeId??i?.edgeId,o=a?this.getElementById(a):void 0,s={id:e,severity:n,message:r,...i?.nodeId?{nodeId:i.nodeId}:{},...i?.edgeId&&!i?.nodeId?{edgeId:i.edgeId}:{},...o?{position:o.position}:{}};if(this.diagnostics.some(e=>e.id===s.id&&e.severity===s.severity&&e.message===s.message&&e.nodeId===s.nodeId&&e.edgeId===s.edgeId))return;this.diagnostics.push(s);let c=`agentflow[${e}]: ${r}`;n===`error`?t.m.error(c):t.m.warn(c)}emitWarning(e,t,n){this.emitDiagnostic(e,`warning`,t,n)}emitError(e,t,n){this.emitDiagnostic(e,`error`,t,n)}getDiagnostics(){return[...this.diagnostics]}},P={getClasses:e.n(function(e,t){return t.db.getClasses()},`getClasses`),draw:e.n(async function(e,r,a,o){t.m.debug(`Drawing agentflow diagram`,r);let{securityLevel:s,agentflow:c,layout:f}=n.b();o.db.setDiagramId(r),t.m.debug(`Before getData: `);let p=o.db.getData();t.m.debug(`Data: `,p);let m=l.t(r,s),h=o.db.getDirection();p.type=o.type,p.layoutAlgorithm=d.i(f),p.layoutAlgorithm===`dagre`&&f===`elk`&&t.m.warn("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."),p.direction=h,p.nodeSpacing=c?.nodeSpacing||50,p.rankSpacing=c?.rankSpacing||50,p.markers=[`point`,`circle`,`cross`,`hierarchy`],p.diagramId=r,t.m.debug(`REF1:`,p),await d.a(p,m);let g=c?.diagramPadding??8;i._.insertTitle(m,`agentflowTitleText`,c?.titleTopMargin??0,o.db.getDiagramTitle()),u.t(m,g,`agentflow`,c?.useMaxWidth??!0)},`draw`)},F=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,5],r=[1,4],i=[1,3],a=[1,6],o=[1,8,9,10,11,12,28,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],s=[2,2],c=[1,15],l=[1,16],u=[1,17],d=[1,18],f=[1,19],p=[1,26],m=[1,27],h=[1,28],g=[1,30],_=[1,31],v=[1,32],y=[1,55],b=[1,54],x=[1,34],S=[1,35],C=[1,36],w=[1,37],T=[1,38],E=[1,50],D=[1,52],O=[1,48],k=[1,53],A=[1,49],j=[1,56],M=[1,51],N=[1,57],P=[1,58],F=[1,39],ee=[1,40],te=[1,41],ne=[1,42],re=[1,43],ie=[1,64],I=[1,8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],L=[1,70],R=[1,68],z=[1,67],B=[1,69],ae=[8,9,10,12,78,80,81],oe=[1,88],se=[1,101],ce=[1,106],le=[1,105],ue=[1,102],de=[1,98],fe=[1,104],pe=[1,100],me=[1,107],he=[1,103],ge=[1,108],_e=[1,99],ve=[8,9,10,11,12,43,78,80,81],V=[8,9,10,11,12,43,49,78,80,81],H=[8,9,10,11,12,30,43,47,49,51,53,55,57,59,61,63,66,68,70,71,73,78,80,81,92,105,108,109,112,114,117,118,119],ye=[8,9,10,12,47,63,78,80,81,92,105,108,109,112,114,117,118,119],be=[47,63,92,105,108,109,112,114,117,118,119],xe=[1,131],Se=[1,132],Ce=[1,134],we=[1,133],Te=[47,63,65,77,92,105,108,109,112,114,117,118,119],Ee=[1,143],De=[1,157],Oe=[1,158],ke=[1,159],Ae=[1,162],je=[1,161],Me=[1,160],Ne=[1,145],Pe=[1,147],Fe=[1,151],Ie=[1,139],Le=[1,140],Re=[1,152],ze=[1,153],Be=[1,154],Ve=[1,155],He=[1,156],Ue=[1,163],We=[1,164],Ge=[1,141],Ke=[1,142],qe=[1,149],Je=[1,144],Ye=[1,148],Xe=[1,146],Ze=[8,9,10,11,12,28,33,35,36,38,40,42,47,63,87,88,89,90,91,92,105,108,109,112,114,117,118,119,124,125,126,127,128],Qe=[1,168],$e=[1,170],U=[8,9,10,12],W=[8,9,10,11,12,15,47,63,92,108,109,112,114,117,118,119],G=[1,190],K=[1,186],q=[1,187],J=[1,191],Y=[1,188],X=[1,189],et=[80,119,122],Z=[8,9,10,11,12,13,15,28,30,33,35,36,43,47,63,78,87,88,89,90,91,92,93,108,112,114,117,118,119],tt=[11,109],nt=[32,52,54,56,58,60,65,67,69,70,72,74,119,120,121],Q=[1,269],rt=[1,267],it=[1,271],at=[1,265],ot=[1,266],st=[1,268],ct=[1,270],lt=[1,272],ut=[1,292],dt=[8,9,10,12,109],$=[8,9,10,11,12,63,87,108,109,112,113,114,115],ft={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,COMMENT:8,SEMI:9,NEWLINE:10,SPACE:11,EOF:12,GRAPH:13,NODIR:14,DIR:15,FirstStmtSeparator:16,ending:17,endToken:18,spaceList:19,spaceListNewline:20,vertexStatement:21,separator:22,styleStatement:23,linkStyleStatement:24,classDefStatement:25,classStatement:26,clickStatement:27,flow:28,textNoTags:29,SQS:30,text:31,SQE:32,end:33,shapeData:34,global:35,connector:36,direction:37,acc_title:38,acc_title_value:39,acc_descr:40,acc_descr_value:41,acc_descr_multiline_value:42,SHAPE_DATA:43,link:44,node:45,styledVertex:46,AMP:47,vertex:48,STYLE_SEPARATOR:49,idString:50,DOUBLECIRCLESTART:51,DOUBLECIRCLEEND:52,PS:53,PE:54,"(-":55,"-)":56,STADIUMSTART:57,STADIUMEND:58,SUBROUTINESTART:59,SUBROUTINEEND:60,VERTEX_WITH_PROPS_START:61,"NODE_STRING[field]":62,COLON:63,"NODE_STRING[value]":64,PIPE:65,CYLINDERSTART:66,CYLINDEREND:67,DIAMOND_START:68,DIAMOND_STOP:69,TAGEND:70,TRAPSTART:71,TRAPEND:72,INVTRAPSTART:73,INVTRAPEND:74,linkStatement:75,arrowText:76,TESTSTR:77,START_LINK:78,edgeText:79,LINK:80,LINK_ID:81,edgeTextToken:82,STR:83,MD_STR:84,textToken:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTagsToken:94,stylesOpt:95,"idString[vertex]":96,"idString[class]":97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,"STR[link]":102,"STR[tooltip]":103,alphaNum:104,DEFAULT:105,numList:106,INTERPOLATE:107,NUM:108,COMMA:109,style:110,styleComponent:111,NODE_STRING:112,UNIT:113,BRKT:114,PCT:115,idStringToken:116,MINUS:117,MULT:118,UNICODE_TEXT:119,TEXT:120,TAGSTART:121,EDGE_TEXT:122,alphaNumToken:123,direction_tb:124,direction_bt:125,direction_rl:126,direction_lr:127,direction_td:128,$accept:0,$end:1},terminals_:{2:`error`,8:`COMMENT`,9:`SEMI`,10:`NEWLINE`,11:`SPACE`,12:`EOF`,13:`GRAPH`,14:`NODIR`,15:`DIR`,28:`flow`,30:`SQS`,32:`SQE`,33:`end`,35:`global`,36:`connector`,38:`acc_title`,39:`acc_title_value`,40:`acc_descr`,41:`acc_descr_value`,42:`acc_descr_multiline_value`,43:`SHAPE_DATA`,47:`AMP`,49:`STYLE_SEPARATOR`,51:`DOUBLECIRCLESTART`,52:`DOUBLECIRCLEEND`,53:`PS`,54:`PE`,55:`(-`,56:`-)`,57:`STADIUMSTART`,58:`STADIUMEND`,59:`SUBROUTINESTART`,60:`SUBROUTINEEND`,61:`VERTEX_WITH_PROPS_START`,62:`NODE_STRING[field]`,63:`COLON`,64:`NODE_STRING[value]`,65:`PIPE`,66:`CYLINDERSTART`,67:`CYLINDEREND`,68:`DIAMOND_START`,69:`DIAMOND_STOP`,70:`TAGEND`,71:`TRAPSTART`,72:`TRAPEND`,73:`INVTRAPSTART`,74:`INVTRAPEND`,77:`TESTSTR`,78:`START_LINK`,80:`LINK`,81:`LINK_ID`,83:`STR`,84:`MD_STR`,87:`STYLE`,88:`LINKSTYLE`,89:`CLASSDEF`,90:`CLASS`,91:`CLICK`,92:`DOWN`,93:`UP`,96:`idString[vertex]`,97:`idString[class]`,98:`CALLBACKNAME`,99:`CALLBACKARGS`,100:`HREF`,101:`LINK_TARGET`,102:`STR[link]`,103:`STR[tooltip]`,105:`DEFAULT`,107:`INTERPOLATE`,108:`NUM`,109:`COMMA`,112:`NODE_STRING`,113:`UNIT`,114:`BRKT`,115:`PCT`,117:`MINUS`,118:`MULT`,119:`UNICODE_TEXT`,120:`TEXT`,121:`TAGSTART`,122:`EDGE_TEXT`,124:`direction_tb`,125:`direction_bt`,126:`direction_rl`,127:`direction_lr`,128:`direction_td`},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,2],[4,3],[17,2],[17,1],[18,1],[18,1],[18,1],[16,1],[16,1],[16,2],[16,1],[20,2],[20,2],[20,2],[20,1],[20,1],[20,1],[19,2],[19,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,10],[7,6],[7,7],[7,4],[7,4],[7,7],[7,8],[7,4],[7,5],[7,1],[7,2],[7,2],[7,1],[22,1],[22,1],[22,1],[22,1],[34,2],[34,1],[21,4],[21,3],[21,4],[21,2],[21,2],[21,1],[45,1],[45,6],[45,5],[46,1],[46,3],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,8],[48,4],[48,4],[48,4],[48,6],[48,4],[48,4],[48,4],[48,4],[48,4],[48,1],[44,2],[44,3],[44,3],[44,1],[44,3],[44,4],[79,1],[79,2],[79,1],[79,1],[75,1],[75,2],[76,3],[31,1],[31,2],[31,1],[31,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[29,1],[29,2],[29,1],[29,1],[25,5],[26,5],[27,2],[27,4],[27,3],[27,5],[27,3],[27,5],[27,5],[27,7],[27,2],[27,4],[27,2],[27,4],[27,4],[27,6],[23,5],[24,5],[24,5],[24,9],[24,9],[24,7],[24,7],[106,1],[106,3],[95,1],[95,3],[110,1],[110,2],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[111,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[85,1],[85,1],[85,1],[85,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[94,1],[82,1],[82,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[123,1],[50,1],[50,2],[104,1],[104,2],[37,1],[37,1],[37,1],[37,1],[37,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 2:this.$=[];break;case 3:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 198:this.$=a[s];break;case 5:case 33:case 34:case 35:case 36:case 37:this.$=[];break;case 13:r.setDirection(`TB`),this.$=`TB`;break;case 14:r.setDirection(a[s-1]),this.$=a[s-1];break;case 32:this.$=a[s-1].nodes;break;case 38:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4],`flow`),r.addSubgraphMapping&&r.addSubgraphMapping(a[s-6],a[s-4],o[s-8],o[s]);break;case 39:this.$=r.addSubGraph(a[s-7],a[s-1],a[s-5],`flow`),r.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,a[s-3],o[s-3]),r.addSubgraphMapping&&r.addSubgraphMapping(a[s-7],a[s-5],o[s-9],o[s]);break;case 40:this.$=r.addSubGraph(a[s-3],a[s-1],{text:``,type:`text`},`flow`),r.addSubgraphMapping&&r.addSubgraphMapping(a[s-3],{text:``,type:`text`},o[s-5],o[s]);break;case 41:this.$=r.addSubGraph(a[s-4],a[s-1],{text:``,type:`text`},`flow`),r.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,a[s-3],o[s-3]),r.addSubgraphMapping&&r.addSubgraphMapping(a[s-4],{text:``,type:`text`},o[s-6],o[s]);break;case 42:this.$=r.addSubGraph(void 0,a[s-1],void 0,`flow`),r.addSubgraphMapping&&r.addSubgraphMapping(void 0,void 0,o[s-3],o[s]);break;case 43:r.addGlobal(a[s-1]),this.$=[];break;case 44:this.$=r.addConnector(a[s-4],a[s-2]),r.addConnectorMapping&&r.addConnectorMapping(a[s-4],a[s-2],o[s-6],o[s]);break;case 45:this.$=r.addConnector(a[s-5],a[s-3]),r.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,a[s-1],o[s-1]),r.addConnectorMapping&&r.addConnectorMapping(a[s-5],a[s-3],o[s-7],o[s]);break;case 46:this.$=r.addConnector(a[s-1],{text:``,type:`text`}),r.addConnectorMapping&&r.addConnectorMapping(a[s-1],{text:``,type:`text`},o[s-3],o[s]);break;case 47:this.$=r.addConnector(a[s-2],{text:``,type:`text`}),r.addVertex(this.$,void 0,void 0,void 0,void 0,void 0,void 0,a[s-1],o[s-1]),r.addConnectorMapping&&r.addConnectorMapping(a[s-2],{text:``,type:`text`},o[s-4],o[s]);break;case 49:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 50:case 51:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 56:this.$=a[s-1]+a[s];break;case 57:this.$=a[s];break;case 58:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s],o[s]),r.extendVertexMapping&&r.extendVertexMapping(a[s-1][a[s-1].length-1],o[s]),r.addLink(a[s-3].stmt,a[s-1],a[s-2]),r.addEdgeMapping&&r.addEdgeMapping(a[s-3].stmt,a[s-1],a[s-2],this._$),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 59:r.addLink(a[s-2].stmt,a[s],a[s-1]),r.addEdgeMapping&&r.addEdgeMapping(a[s-2].stmt,a[s],a[s-1],this._$),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 60:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),r.addEdgeMapping&&r.addEdgeMapping(a[s-3].stmt,a[s-1],a[s-2],this._$),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 61:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 62:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s],o[s]),r.extendVertexMapping&&r.extendVertexMapping(a[s-1][a[s-1].length-1],o[s]),this.$={stmt:a[s-1],nodes:a[s-1],shapeData:a[s]};break;case 63:this.$={stmt:a[s],nodes:a[s]};break;case 64:this.$=[a[s]];break;case 65:r.addVertex(a[s-5][a[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-4],o[s-4]),r.extendVertexMapping&&r.extendVertexMapping(a[s-5][a[s-5].length-1],o[s-4]),this.$=a[s-5].concat(a[s]);break;case 66:this.$=a[s-4].concat(a[s]);break;case 67:this.$=a[s];break;case 68:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`square`,this._$);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`doublecircle`,this._$);break;case 71:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`),r.addVertexMapping&&r.addVertexMapping(a[s-5],a[s-2],`circle`,this._$);break;case 72:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`ellipse`,this._$);break;case 73:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`stadium`,this._$);break;case 74:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`subroutine`,this._$);break;case 75:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],`rect`,void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]])),r.addVertexMapping&&r.addVertexMapping(a[s-7],a[s-1],`rect`,this._$);break;case 76:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`cylinder`,this._$);break;case 77:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`round`,this._$);break;case 78:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`diamond`,this._$);break;case 79:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`),r.addVertexMapping&&r.addVertexMapping(a[s-5],a[s-2],`hexagon`,this._$);break;case 80:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`odd`,this._$);break;case 81:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`trapezoid`,this._$);break;case 82:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`inv_trapezoid`,this._$);break;case 83:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`lean_right`,this._$);break;case 84:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`),r.addVertexMapping&&r.addVertexMapping(a[s-3],a[s-1],`lean_left`,this._$);break;case 85:this.$=a[s],r.addVertex(a[s]),r.addVertexMapping&&r.addVertexMapping(a[s],void 0,void 0,this._$);break;case 86:a[s-1].text=a[s],this.$=a[s-1];break;case 87:case 88:a[s-2].text=a[s-1],this.$=a[s-2];break;case 89:this.$=a[s];break;case 90:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,edgeSemantic:c.edgeSemantic,text:a[s-1]};break;case 91:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,edgeSemantic:c.edgeSemantic,text:a[s-1],id:a[s-3]};break;case 92:this.$={text:a[s],type:`text`};break;case 93:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 94:this.$={text:a[s],type:`string`};break;case 95:this.$={text:a[s],type:`markdown`};break;case 96:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,edgeSemantic:c.edgeSemantic};break;case 97:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,edgeSemantic:c.edgeSemantic,id:a[s-1]};break;case 98:this.$=a[s-1];break;case 99:this.$={text:a[s],type:`text`};break;case 100:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 101:this.$={text:a[s],type:`string`};break;case 102:case 119:this.$={text:a[s],type:`markdown`};break;case 116:this.$={text:a[s],type:`text`};break;case 117:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 118:this.$={text:a[s],type:`text`};break;case 120:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 121:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 122:case 130:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 123:case 131:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 124:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 125:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 126:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 127:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 128:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 129:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 132:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 133:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 134:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 135:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 136:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 137:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 138:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 139:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 140:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 141:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 142:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 143:case 145:this.$=[a[s]];break;case 144:case 146:a[s-2].push(a[s]),this.$=a[s-2];break;case 148:this.$=a[s-1]+a[s];break;case 196:this.$=a[s];break;case 197:this.$=a[s-1]+``+a[s];break;case 199:this.$=a[s-1]+``+a[s];break;case 200:this.$={stmt:`dir`,value:`TB`};break;case 201:this.$={stmt:`dir`,value:`BT`};break;case 202:this.$={stmt:`dir`,value:`RL`};break;case 203:this.$={stmt:`dir`,value:`LR`};break;case 204:this.$={stmt:`dir`,value:`TD`}}},`anonymous`),table:[{3:1,4:2,8:n,10:r,11:i,13:a},{1:[3]},t(o,s,{5:7}),{4:8,8:n,10:r,11:i,13:a},{4:9,8:n,10:r,11:i,13:a},{4:10,8:n,10:r,11:i,13:a},{14:[1,11],15:[1,12]},{1:[2,1],6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},t(o,[2,10]),t(o,[2,11]),t(o,[2,12]),t(o,[2,13]),{8:[1,63],9:[1,60],10:[1,61],11:ie,16:59,19:62},t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),{8:L,9:R,10:z,12:B,22:65,44:66,75:71,78:[1,72],80:[1,74],81:[1,73]},{8:L,9:R,10:z,12:B,22:75},{8:L,9:R,10:z,12:B,22:76},{8:L,9:R,10:z,12:B,22:77},{8:L,9:R,10:z,12:B,22:78},{8:L,9:R,10:z,12:B,22:79},{8:L,9:R,10:z,11:[1,80],12:B,22:81},{8:L,9:R,10:z,12:B,22:82},{11:[1,83]},t(I,[2,48]),{39:[1,84]},{41:[1,85]},t(I,[2,51]),t(ae,[2,63],{19:86,34:87,11:ie,43:oe}),{11:[1,89]},{11:[1,90]},{11:[1,91]},{11:[1,92]},{15:se,47:ce,63:le,83:[1,96],92:ue,98:[1,93],100:[1,94],104:95,108:de,109:fe,112:pe,114:me,117:he,118:ge,119:_e,123:97},t(I,[2,200]),t(I,[2,201]),t(I,[2,202]),t(I,[2,203]),t(I,[2,204]),t(ve,[2,64]),t(ve,[2,67],{49:[1,109]}),t(V,[2,85],{116:122,30:[1,110],47:y,51:[1,111],53:[1,112],55:[1,113],57:[1,114],59:[1,115],61:[1,116],63:b,66:[1,117],68:[1,118],70:[1,119],71:[1,120],73:[1,121],92:E,105:D,108:O,109:k,112:A,114:j,117:M,118:N,119:P}),t(H,[2,196]),t(H,[2,157]),t(H,[2,158]),t(H,[2,159]),t(H,[2,160]),t(H,[2,161]),t(H,[2,162]),t(H,[2,163]),t(H,[2,164]),t(H,[2,165]),t(H,[2,166]),t(H,[2,167]),t(o,[2,14]),t(o,[2,20]),t(o,[2,21]),{10:[1,123]},t(o,[2,23]),t(ye,[2,31],{19:124,11:ie}),t(I,[2,32]),{45:125,46:44,47:y,48:45,50:46,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},t(I,[2,52]),t(I,[2,53]),t(I,[2,54]),t(I,[2,55]),t(be,[2,89],{76:126,65:[1,128],77:[1,127]}),{79:129,82:130,83:xe,84:Se,119:Ce,122:we},{78:[1,135],80:[1,136]},t(Te,[2,96]),t(I,[2,33]),t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),{11:Ee,13:De,15:Oe,28:ke,29:137,33:Ae,35:je,36:Me,47:Ne,63:Pe,78:Fe,83:Ie,84:Le,86:150,87:Re,88:ze,89:Be,90:Ve,91:He,92:Ue,93:We,94:138,108:Ge,112:Ke,114:qe,117:Je,118:Ye,119:Xe},t(Ze,s,{5:165}),t(Ze,s,{5:166}),{11:Ee,13:De,15:Oe,28:ke,29:167,33:Ae,35:je,36:Me,47:Ne,63:Pe,78:Fe,83:Ie,84:Le,86:150,87:Re,88:ze,89:Be,90:Ve,91:He,92:Ue,93:We,94:138,108:Ge,112:Ke,114:qe,117:Je,118:Ye,119:Xe},t(I,[2,49]),t(I,[2,50]),t(ae,[2,61],{47:Qe}),t(ae,[2,62],{19:169,11:ie,43:$e}),t(ve,[2,57]),{47:y,50:171,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},{105:[1,172],106:173,108:[1,174]},{47:y,50:175,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},{47:y,50:176,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},t(U,[2,122],{11:[1,177],99:[1,178]}),{83:[1,179]},t(U,[2,130],{123:181,11:[1,180],15:se,47:ce,63:le,92:ue,108:de,109:fe,112:pe,114:me,117:he,118:ge,119:_e}),t(U,[2,132],{11:[1,182]}),t(W,[2,198]),t(W,[2,185]),t(W,[2,186]),t(W,[2,187]),t(W,[2,188]),t(W,[2,189]),t(W,[2,190]),t(W,[2,191]),t(W,[2,192]),t(W,[2,193]),t(W,[2,194]),t(W,[2,195]),{47:y,50:183,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},{31:184,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:192,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:194,53:[1,193],70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:195,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:196,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:197,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{112:[1,198]},{31:199,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:200,68:[1,201],70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:202,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:203,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{31:204,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},t(H,[2,197]),t(o,[2,22]),t(ye,[2,30]),t(ae,[2,59],{34:205,19:206,11:ie,43:oe}),t(be,[2,86],{11:[1,207]}),{11:[1,208]},{31:209,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{80:[1,210],82:211,119:Ce,122:we},t(et,[2,92]),t(et,[2,94]),t(et,[2,95]),t(et,[2,183]),t(et,[2,184]),{79:212,82:130,83:xe,84:Se,119:Ce,122:we},t(Te,[2,97]),{8:L,9:R,10:z,11:Ee,12:B,13:De,15:Oe,22:214,28:ke,30:[1,213],33:Ae,34:215,35:je,36:Me,43:oe,47:Ne,63:Pe,78:Fe,86:150,87:Re,88:ze,89:Be,90:Ve,91:He,92:Ue,93:We,94:216,108:Ge,112:Ke,114:qe,117:Je,118:Ye,119:Xe},t(Z,[2,116]),t(Z,[2,118]),t(Z,[2,119]),t(Z,[2,172]),t(Z,[2,173]),t(Z,[2,174]),t(Z,[2,175]),t(Z,[2,176]),t(Z,[2,177]),t(Z,[2,178]),t(Z,[2,179]),t(Z,[2,180]),t(Z,[2,181]),t(Z,[2,182]),t(Z,[2,103]),t(Z,[2,104]),t(Z,[2,105]),t(Z,[2,106]),t(Z,[2,107]),t(Z,[2,108]),t(Z,[2,109]),t(Z,[2,110]),t(Z,[2,111]),t(Z,[2,112]),t(Z,[2,113]),t(Z,[2,114]),t(Z,[2,115]),{6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,33:[1,217],35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},{6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,33:[1,218],35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},{8:L,9:R,10:z,11:Ee,12:B,13:De,15:Oe,22:220,28:ke,30:[1,219],33:Ae,34:221,35:je,36:Me,43:oe,47:Ne,63:Pe,78:Fe,86:150,87:Re,88:ze,89:Be,90:Ve,91:He,92:Ue,93:We,94:216,108:Ge,112:Ke,114:qe,117:Je,118:Ye,119:Xe},{11:ie,19:222},{47:[1,223]},t(ve,[2,56]),{11:[1,224],47:y,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:122,117:M,118:N,119:P},{11:[1,225]},{11:[1,226],109:[1,227]},t(tt,[2,143]),{11:[1,228],47:y,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:122,117:M,118:N,119:P},{11:[1,229],47:y,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:122,117:M,118:N,119:P},{83:[1,230]},t(U,[2,124],{11:[1,231]}),t(U,[2,126],{11:[1,232]}),{83:[1,233]},t(W,[2,199]),{83:[1,234],101:[1,235]},t(ve,[2,68],{116:122,47:y,63:b,92:E,105:D,108:O,109:k,112:A,114:j,117:M,118:N,119:P}),{32:[1,236],70:G,85:237,119:J,120:Y,121:X},t(nt,[2,99]),t(nt,[2,101]),t(nt,[2,102]),t(nt,[2,168]),t(nt,[2,169]),t(nt,[2,170]),t(nt,[2,171]),{52:[1,238],70:G,85:237,119:J,120:Y,121:X},{31:239,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{54:[1,240],70:G,85:237,119:J,120:Y,121:X},{56:[1,241],70:G,85:237,119:J,120:Y,121:X},{58:[1,242],70:G,85:237,119:J,120:Y,121:X},{60:[1,243],70:G,85:237,119:J,120:Y,121:X},{63:[1,244]},{67:[1,245],70:G,85:237,119:J,120:Y,121:X},{69:[1,246],70:G,85:237,119:J,120:Y,121:X},{31:247,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},{32:[1,248],70:G,85:237,119:J,120:Y,121:X},{70:G,72:[1,249],74:[1,250],85:237,119:J,120:Y,121:X},{70:G,72:[1,252],74:[1,251],85:237,119:J,120:Y,121:X},t(ae,[2,58],{19:169,11:ie,43:$e}),t(ae,[2,60],{47:Qe}),t(be,[2,88]),t(be,[2,87]),{65:[1,253],70:G,85:237,119:J,120:Y,121:X},t(be,[2,90]),t(et,[2,93]),{80:[1,254],82:211,119:Ce,122:we},{31:255,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},t(Ze,s,{5:256}),{8:L,9:R,10:z,12:B,22:257,43:$e},t(Z,[2,117]),t(I,[2,42]),t(I,[2,43]),{31:258,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},t(I,[2,46]),{8:L,9:R,10:z,12:B,22:259,43:$e},{46:260,47:y,48:45,50:46,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},{11:ie,19:261},{11:Q,63:rt,87:it,95:262,108:at,110:263,111:264,112:ot,113:st,114:ct,115:lt},{11:Q,63:rt,87:it,95:273,107:[1,274],108:at,110:263,111:264,112:ot,113:st,114:ct,115:lt},{11:Q,63:rt,87:it,95:275,107:[1,276],108:at,110:263,111:264,112:ot,113:st,114:ct,115:lt},{108:[1,277]},{11:Q,63:rt,87:it,95:278,108:at,110:263,111:264,112:ot,113:st,114:ct,115:lt},{47:y,50:279,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},t(U,[2,123]),{83:[1,280]},{83:[1,281],101:[1,282]},t(U,[2,131]),t(U,[2,133],{11:[1,283]}),t(U,[2,134]),t(V,[2,69]),t(nt,[2,100]),t(V,[2,70]),{54:[1,284],70:G,85:237,119:J,120:Y,121:X},t(V,[2,77]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),{112:[1,285]},t(V,[2,76]),t(V,[2,78]),{69:[1,286],70:G,85:237,119:J,120:Y,121:X},t(V,[2,80]),t(V,[2,81]),t(V,[2,83]),t(V,[2,82]),t(V,[2,84]),t([11,47,63,92,105,108,109,112,114,117,118,119],[2,98]),t(be,[2,91]),{32:[1,287],70:G,85:237,119:J,120:Y,121:X},{6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,33:[1,288],35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},t(Ze,s,{5:289}),{32:[1,290],70:G,85:237,119:J,120:Y,121:X},t(I,[2,47]),t(ve,[2,66]),{46:291,47:y,48:45,50:46,63:b,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P},t(U,[2,136],{109:ut}),t(dt,[2,145],{111:293,11:Q,63:rt,87:it,108:at,112:ot,113:st,114:ct,115:lt}),t($,[2,147]),t($,[2,149]),t($,[2,150]),t($,[2,151]),t($,[2,152]),t($,[2,153]),t($,[2,154]),t($,[2,155]),t($,[2,156]),t(U,[2,137],{109:ut}),{11:[1,294]},t(U,[2,138],{109:ut}),{11:[1,295]},t(tt,[2,144]),t(U,[2,120],{109:ut}),t(U,[2,121],{116:122,47:y,63:b,92:E,105:D,108:O,109:k,112:A,114:j,117:M,118:N,119:P}),t(U,[2,125]),t(U,[2,127],{11:[1,296]}),t(U,[2,128]),{101:[1,297]},{54:[1,298]},{65:[1,299]},{69:[1,300]},{8:L,9:R,10:z,12:B,22:301,34:302,43:oe},t(I,[2,40]),{6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,33:[1,303],35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},{8:L,9:R,10:z,12:B,22:304,34:305,43:oe},t(ve,[2,65]),{11:Q,63:rt,87:it,108:at,110:306,111:264,112:ot,113:st,114:ct,115:lt},t($,[2,148]),{15:se,47:ce,63:le,92:ue,104:307,108:de,109:fe,112:pe,114:me,117:he,118:ge,119:_e,123:97},{15:se,47:ce,63:le,92:ue,104:308,108:de,109:fe,112:pe,114:me,117:he,118:ge,119:_e,123:97},{101:[1,309]},t(U,[2,135]),t(V,[2,71]),{31:310,70:G,83:K,84:q,85:185,119:J,120:Y,121:X},t(V,[2,79]),t(Ze,s,{5:311}),{8:L,9:R,10:z,12:B,22:312,43:$e},t(I,[2,41]),t(I,[2,44]),{8:L,9:R,10:z,12:B,22:313,43:$e},t(dt,[2,146],{111:293,11:Q,63:rt,87:it,108:at,112:ot,113:st,114:ct,115:lt}),t(U,[2,141],{123:181,11:[1,314],15:se,47:ce,63:le,92:ue,108:de,109:fe,112:pe,114:me,117:he,118:ge,119:_e}),t(U,[2,142],{123:181,11:[1,315],15:se,47:ce,63:le,92:ue,108:de,109:fe,112:pe,114:me,117:he,118:ge,119:_e}),t(U,[2,129]),{32:[1,316],70:G,85:237,119:J,120:Y,121:X},{6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,33:[1,317],35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},t(Ze,s,{5:318}),t(I,[2,45]),{11:Q,63:rt,87:it,95:319,108:at,110:263,111:264,112:ot,113:st,114:ct,115:lt},{11:Q,63:rt,87:it,95:320,108:at,110:263,111:264,112:ot,113:st,114:ct,115:lt},t(V,[2,75]),t(I,[2,38]),{6:13,7:14,8:c,9:l,10:u,11:d,12:f,21:20,23:21,24:22,25:23,26:24,27:25,28:p,33:[1,321],35:m,36:h,37:29,38:g,40:_,42:v,45:33,46:44,47:y,48:45,50:46,63:b,87:x,88:S,89:C,90:w,91:T,92:E,105:D,108:O,109:k,112:A,114:j,116:47,117:M,118:N,119:P,124:F,125:ee,126:te,127:ne,128:re},t(U,[2,139],{109:ut}),t(U,[2,140],{109:ut}),t(I,[2,39])],defaultActions:{},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
23
|
-
`+h.showPosition()+`
|
|
24
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};ft.lexer=(function(){return{EOF:1,parseError:e.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:e.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.n(function(){return this._more=!0,this},`more`),reject:e.n(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).
|
|
25
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
26
|
-
`+t+`^`},`showPosition`),test_match:e.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
27
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e.n(function(){return this.next()||this.lex()},`lex`),begin:e.n(function(e){this.conditionStack.push(e)},`begin`),popState:e.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e.n(function(e){this.begin(e)},`pushState`),stateStackSize:e.n(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:e.n(function(e,t,n,r){switch(n){case 0:return this.begin(`acc_title`),38;case 1:return this.popState(),`acc_title_value`;case 2:return this.begin(`acc_descr`),40;case 3:return this.popState(),`acc_descr_value`;case 4:this.begin(`acc_descr_multiline`);break;case 5:this.popState();break;case 6:return`acc_descr_multiline_value`;case 7:return this.pushState(`shapeData`),t.yytext=``,43;case 8:return this.pushState(`shapeDataStr`),43;case 9:return this.popState(),43;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),43;case 11:return 43;case 12:this.popState();break;case 13:this.begin(`callbackname`);break;case 14:this.popState();break;case 15:this.popState(),this.begin(`callbackargs`);break;case 16:return 98;case 17:this.popState();break;case 18:return 99;case 19:return`MD_STR`;case 20:this.popState();break;case 21:this.begin(`md_string`);break;case 22:return`STR`;case 23:this.popState();break;case 24:this.pushState(`string`);break;case 25:return 87;case 26:return 105;case 27:return 88;case 28:return 107;case 29:return 89;case 30:return 90;case 31:return 100;case 32:this.begin(`click`);break;case 33:this.popState();break;case 34:return 91;case 35:return e.lex.firstGraph()&&this.begin(`dir`),13;case 36:return 28;case 37:return 36;case 38:return 35;case 39:return 33;case 40:return 101;case 41:return 101;case 42:return 101;case 43:return 101;case 44:return this.popState(),14;case 45:return this.popState(),15;case 46:return this.popState(),15;case 47:return this.popState(),15;case 48:return this.popState(),15;case 49:return this.popState(),15;case 50:return this.popState(),15;case 51:return this.popState(),15;case 52:return this.popState(),15;case 53:return this.popState(),15;case 54:return this.popState(),15;case 55:return 124;case 56:return 125;case 57:return 126;case 58:return 127;case 59:return 128;case 60:return 81;case 61:return 108;case 62:return 114;case 63:return 49;case 64:return 63;case 65:return 47;case 66:return 9;case 67:return 109;case 68:return 118;case 69:return this.popState(),80;case 70:return this.pushState(`edgeText`),78;case 71:return 122;case 72:return 80;case 73:break;case 74:return this.popState(),56;case 75:return`TEXT`;case 76:return this.pushState(`ellipseText`),55;case 77:return this.popState(),58;case 78:return this.pushState(`text`),57;case 79:return this.popState(),60;case 80:return this.pushState(`text`),59;case 81:return 61;case 82:return this.pushState(`text`),70;case 83:return this.popState(),67;case 84:return this.pushState(`text`),66;case 85:return this.popState(),52;case 86:return this.pushState(`text`),51;case 87:break;case 88:return this.popState(),72;case 89:return this.popState(),74;case 90:return 120;case 91:return this.pushState(`trapText`),71;case 92:return this.pushState(`trapText`),73;case 93:return 121;case 94:return 70;case 95:return 93;case 96:return`SEP`;case 97:return 92;case 98:return 118;case 99:return 114;case 100:return 47;case 101:return 8;case 102:return 112;case 103:return 117;case 104:return 119;case 105:return this.popState(),65;case 106:return this.pushState(`text`),65;case 107:return this.popState(),54;case 108:return this.pushState(`text`),53;case 109:return this.popState(),32;case 110:return this.pushState(`text`),30;case 111:return this.popState(),69;case 112:return this.pushState(`text`),68;case 113:break;case 114:return`TEXT`;case 115:return`QUOTE`;case 116:return 10;case 117:return 11;case 118:return 12}},`anonymous`),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:agentflow-beta\b)/,/^(?:flow\b)/,/^(?:connector\b)/,/^(?:global\b[ \t]*)/,/^(?:end\b[ \t]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--+[x>]\s*)/,/^(?:\s*--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*-\.+-\s*)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:[ \t]*%%(?!\{)[^\n]*)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:%%(?!\{)[^\n]*)/,/^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},href:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},click:{rules:[21,24,33,34,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},edgeText:{rules:[21,24,69,71,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},trapText:{rules:[21,24,76,78,80,84,86,87,88,89,90,91,92,106,108,110,112],inclusive:!1},ellipseText:{rules:[21,24,73,74,75,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},text:{rules:[21,24,76,77,78,79,80,83,84,85,86,91,92,105,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_descr:{rules:[3,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},acc_title:{rules:[1,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},md_string:{rules:[19,20,21,24,76,78,80,84,86,91,92,106,108,110,112],inclusive:!1},string:{rules:[21,22,23,24,76,78,80,84,86,91,92,106,108,110,112],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,70,72,76,78,80,81,82,84,86,91,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,115,116,117,118],inclusive:!0}}}})();function pt(){this.yy={}}return e.n(pt,`Parser`),pt.prototype=ft,ft.Parser=pt,new pt})();F.parser=F;var ee=F,te=Object.assign({},ee);te.parse=e=>{let t=e.replace(/}[^\S\n]*\n/g,`}
|
|
28
|
-
`);return ee.parse(t)};var ne=te,re=e.n(t=>{let{theme:n,bkgColorArray:r,borderColorArray:i}=t;if(!o.i(n,i))return``;let a=o.o(t.look),s=o.r(r),c=o.n(t.THEME_COLOR_LIMIT,i),l=e.n(e=>i[e%i.length],`border`),u=e.n(e=>s?`fill: ${r[e%r.length]};`:``,`fill`),d=``;for(let e of C){let t=b.get(e),n=`[data-look="${a}"].node.${S(e)}`;d+=`
|
|
29
|
-
|
|
30
|
-
${n} rect,
|
|
31
|
-
${n} path,
|
|
32
|
-
${n} polygon {
|
|
33
|
-
stroke: ${l(t)};
|
|
34
|
-
${u(t)}
|
|
35
|
-
}
|
|
36
|
-
`}for(let t=0;t<w(c);t++){let n=T(t,c),r=`[data-look="${a}"][data-color-id="color-${n}"].cluster`,i=`[data-look="${a}"][data-color-id="color-${n}"].node`,o=e.n(e=>`${r} ${e}, ${i} ${e}`,`rule`);d+=`
|
|
37
|
-
|
|
38
|
-
${o(`rect`)},
|
|
39
|
-
${o(`path`)} {
|
|
40
|
-
stroke: ${l(n)};
|
|
41
|
-
${u(n)}
|
|
42
|
-
}
|
|
43
|
-
`}return d},`genColor`),ie=e.n((e,t)=>{let i=r.t,a=i(e,`r`),o=i(e,`g`),s=i(e,`b`);return n.at(a,o,s,t)},`fade`),I={parser:ne,get db(){return new N},renderer:P,styles:e.n(e=>`${re(e)}
|
|
44
|
-
.label {
|
|
45
|
-
font-family: ${e.fontFamily};
|
|
46
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
47
|
-
}
|
|
48
|
-
.cluster-label text {
|
|
49
|
-
fill: ${e.titleColor};
|
|
50
|
-
}
|
|
51
|
-
.cluster-label span {
|
|
52
|
-
color: ${e.titleColor};
|
|
53
|
-
}
|
|
54
|
-
.cluster-label span p {
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.label text,span {
|
|
59
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
60
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.node rect,
|
|
64
|
-
.node circle,
|
|
65
|
-
.node ellipse,
|
|
66
|
-
.node polygon,
|
|
67
|
-
.node path {
|
|
68
|
-
fill: ${e.mainBkg};
|
|
69
|
-
stroke: ${e.nodeBorder};
|
|
70
|
-
stroke-width: ${e.strokeWidth??1}px;
|
|
71
|
-
}
|
|
72
|
-
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
73
|
-
text-anchor: middle;
|
|
74
|
-
}
|
|
75
|
-
.node .katex path {
|
|
76
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
77
|
-
stroke: ${e.nodeTextColor||e.textColor};
|
|
78
|
-
stroke-width: 1px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
82
|
-
text-align: center;
|
|
83
|
-
}
|
|
84
|
-
.node.clickable {
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
.root .anchor path {
|
|
90
|
-
fill: ${e.lineColor} !important;
|
|
91
|
-
stroke-width: 0;
|
|
92
|
-
stroke: ${e.lineColor};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.arrowheadPath {
|
|
96
|
-
fill: ${e.arrowheadColor};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.edgePaths .path {
|
|
100
|
-
stroke: ${e.lineColor};
|
|
101
|
-
stroke-width: ${e.strokeWidth??2}px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.flowchart-link {
|
|
105
|
-
stroke: ${e.lineColor};
|
|
106
|
-
fill: none;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.edgeLabel {
|
|
110
|
-
background-color: ${e.edgeLabelBackground};
|
|
111
|
-
p {
|
|
112
|
-
background-color: ${e.edgeLabelBackground};
|
|
113
|
-
}
|
|
114
|
-
rect {
|
|
115
|
-
opacity: 0.5;
|
|
116
|
-
background-color: ${e.edgeLabelBackground};
|
|
117
|
-
fill: ${e.edgeLabelBackground};
|
|
118
|
-
}
|
|
119
|
-
text-align: center;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/* For html labels only */
|
|
123
|
-
.labelBkg {
|
|
124
|
-
background-color: ${ie(e.edgeLabelBackground,.5)};
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.cluster rect {
|
|
128
|
-
fill: ${e.clusterBkg};
|
|
129
|
-
stroke: ${e.clusterBorder};
|
|
130
|
-
stroke-width: 1px;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.flow-cluster rect {
|
|
134
|
-
fill: none;
|
|
135
|
-
stroke: ${e.clusterBorder};
|
|
136
|
-
stroke-width: 0.75px;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.node .collapsed-indicator {
|
|
140
|
-
fill: ${e.nodeBorder};
|
|
141
|
-
stroke: none;
|
|
142
|
-
stroke-width: 0;
|
|
143
|
-
opacity: 0.5;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.node .collapsed-separator {
|
|
147
|
-
stroke-width: 0.75px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.cluster text {
|
|
151
|
-
fill: ${e.titleColor};
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.cluster span {
|
|
155
|
-
color: ${e.titleColor};
|
|
156
|
-
}
|
|
157
|
-
/* .cluster div {
|
|
158
|
-
color: ${e.titleColor};
|
|
159
|
-
} */
|
|
160
|
-
|
|
161
|
-
div.mermaidTooltip {
|
|
162
|
-
position: absolute;
|
|
163
|
-
text-align: center;
|
|
164
|
-
max-width: 200px;
|
|
165
|
-
padding: 2px;
|
|
166
|
-
font-family: ${e.fontFamily};
|
|
167
|
-
font-size: 12px;
|
|
168
|
-
background: ${e.tertiaryColor};
|
|
169
|
-
border: 1px solid ${e.border2};
|
|
170
|
-
border-radius: 2px;
|
|
171
|
-
pointer-events: none;
|
|
172
|
-
z-index: 100;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.agentflowTitleText {
|
|
176
|
-
text-anchor: middle;
|
|
177
|
-
font-size: 18px;
|
|
178
|
-
fill: ${e.textColor};
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
rect.text {
|
|
182
|
-
fill: none;
|
|
183
|
-
stroke-width: 0;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.icon-shape, .image-shape {
|
|
187
|
-
background-color: ${e.edgeLabelBackground};
|
|
188
|
-
p {
|
|
189
|
-
background-color: ${e.edgeLabelBackground};
|
|
190
|
-
padding: 2px;
|
|
191
|
-
}
|
|
192
|
-
.label rect {
|
|
193
|
-
opacity: 0.5;
|
|
194
|
-
background-color: ${e.edgeLabelBackground};
|
|
195
|
-
fill: ${e.edgeLabelBackground};
|
|
196
|
-
}
|
|
197
|
-
text-align: center;
|
|
198
|
-
}
|
|
199
|
-
${a.t()}
|
|
200
|
-
`,`getStyles`),init:e.n(e=>{e.agentflow??={},e.layout&&n.G({layout:e.layout}),e.flowchart??={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,n.G({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},`init`)};exports.diagram=I;
|
package/dist/dist-DEl2Ze0j.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("./dist-BZjcsPqi.cjs"),t=require("./dist-D8I4FQ-Q.cjs"),n=require("./CodeEditor-Cb6i9oIs.cjs");var r=36,i=1,a=2,o=3,s=4,c=5,l=6,u=7,ee=8,d=9,te=10,ne=11,re=12,f=13,p=14,m=15,h=16,g=17,_=18,v=19,y=20,b=21,x=22,ie=23,ae=24;function S(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function C(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function w(e,t,n){for(let r=!1;;){if(e.next<0)return;if(e.next==t&&!r){e.advance();return}r=n&&!r&&e.next==92,e.advance()}}function T(e,t){scan:for(;;){if(e.next<0)return;if(e.next==36){e.advance();for(let n=0;n<t.length;n++){if(e.next!=t.charCodeAt(n))continue scan;e.advance()}if(e.next==36){e.advance();return}}else e.advance()}}function E(e,t){let n=`[{<(`.indexOf(String.fromCharCode(t)),r=n<0?t:`]}>)`.charCodeAt(n);for(;;){if(e.next<0)return;if(e.next==r&&e.peek(1)==39){e.advance(2);return}e.advance()}}function D(e,t){for(;!(e.next!=95&&!S(e.next));)t!=null&&(t+=String.fromCharCode(e.next)),e.advance();return t}function oe(e){if(e.next==39||e.next==34||e.next==96){let t=e.next;e.advance(),w(e,t,!1)}else D(e)}function O(e,t){for(;e.next==48||e.next==49;)e.advance();t&&e.next==t&&e.advance()}function k(e,t){for(;;){if(e.next==46){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(e.next==69||e.next==101)for(e.advance(),(e.next==43||e.next==45)&&e.advance();e.next>=48&&e.next<=57;)e.advance()}function A(e){for(;!(e.next<0||e.next==10);)e.advance()}function j(e,t){for(let n=0;n<t.length;n++)if(t.charCodeAt(n)==e)return!0;return!1}var M=` \r
|
|
2
|
-
`;function N(e,t,n){let r=Object.create(null);r.true=r.false=c,r.null=r.unknown=l;for(let t of e.split(` `))t&&(r[t]=y);for(let e of t.split(` `))e&&(r[e]=b);for(let e of(n||``).split(` `))e&&(r[e]=ae);return r}var P=`array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying `,F=`absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone `,I={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:`*+-%<>!=&|~^/`,specialVar:`?`,identifierQuotes:`"`,caseInsensitiveIdentifiers:!1,words:N(F,P)};function L(e,t,n,r){let i={};for(let t in I)i[t]=(e.hasOwnProperty(t)?e:I)[t];return t&&(i.words=N(t,n||``,r)),i}function R(e){return new t.n(t=>{let{next:n}=t;if(t.advance(),j(n,M)){for(;j(t.next,M);)t.advance();t.acceptToken(r)}else if(n==36&&e.doubleDollarQuotedStrings){let e=D(t,``);t.next==36&&(t.advance(),T(t,e),t.acceptToken(o))}else if(n==39||n==34&&e.doubleQuotedStrings)w(t,n,e.backslashEscapes),t.acceptToken(o);else if(n==35&&e.hashComments||n==47&&t.next==47&&e.slashComments)A(t),t.acceptToken(i);else if(n==45&&t.next==45&&(!e.spaceAfterDashes||t.peek(1)==32))A(t),t.acceptToken(i);else if(n==47&&t.next==42){t.advance();for(let e=1;;){let n=t.next;if(t.next<0)break;if(t.advance(),n==42&&t.next==47){if(e--,t.advance(),!e)break}else n==47&&t.next==42&&(e++,t.advance())}t.acceptToken(a)}else if((n==101||n==69)&&t.next==39)t.advance(),w(t,39,!0),t.acceptToken(o);else if((n==110||n==78)&&t.next==39&&e.charSetCasts)t.advance(),w(t,39,e.backslashEscapes),t.acceptToken(o);else if(n==95&&e.charSetCasts)for(let n=0;;n++){if(t.next==39&&n>1){t.advance(),w(t,39,e.backslashEscapes),t.acceptToken(o);break}if(!S(t.next))break;t.advance()}else if(e.plsqlQuotingMechanism&&(n==113||n==81)&&t.next==39&&t.peek(1)>0&&!j(t.peek(1),M)){let e=t.peek(1);t.advance(2),E(t,e),t.acceptToken(o)}else if(j(n,e.identifierQuotes))w(t,n==91?93:n,!1),t.acceptToken(v);else if(n==40)t.acceptToken(u);else if(n==41)t.acceptToken(ee);else if(n==123)t.acceptToken(d);else if(n==125)t.acceptToken(te);else if(n==91)t.acceptToken(ne);else if(n==93)t.acceptToken(re);else if(n==59)t.acceptToken(f);else if(e.unquotedBitLiterals&&n==48&&t.next==98)t.advance(),O(t),t.acceptToken(x);else if((n==98||n==66)&&(t.next==39||t.next==34)){let n=t.next;t.advance(),e.treatBitsAsBytes?(w(t,n,e.backslashEscapes),t.acceptToken(ie)):(O(t,n),t.acceptToken(x))}else if(n==48&&(t.next==120||t.next==88)||(n==120||n==88)&&t.next==39){let e=t.next==39;for(t.advance();C(t.next);)t.advance();e&&t.next==39&&t.advance(),t.acceptToken(s)}else if(n==46&&t.next>=48&&t.next<=57)k(t,!0),t.acceptToken(s);else if(n==46)t.acceptToken(p);else if(n>=48&&n<=57)k(t,!1),t.acceptToken(s);else if(j(n,e.operatorChars)){for(;j(t.next,e.operatorChars);)t.advance();t.acceptToken(m)}else if(j(n,e.specialVar))t.next==n&&t.advance(),oe(t),t.acceptToken(g);else if(n==58||n==44)t.acceptToken(h);else if(S(n)){let r=D(t,String.fromCharCode(n));t.acceptToken(t.next==46||t.peek(-r.length-1)==46?_:e.words[r.toLowerCase()]??_)}})}var z=R(I),B=t.r.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:`⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement`,maxTerm:38,nodeProps:[[`isolate`,-4,1,2,3,19,``]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:`RORO`,tokenizers:[0,z],topRules:{Script:[0,25]},tokenPrec:0});function V(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function H(e,t){let n=e.sliceString(t.from,t.to),r=/^([`'"\[])(.*)([`'"\]])$/.exec(n);return r?r[2]:n}function U(e){return e&&(e.name==`Identifier`||e.name==`QuotedIdentifier`)}function W(e,t){if(t.name==`CompositeIdentifier`){let n=[];for(let r=t.firstChild;r;r=r.nextSibling)U(r)&&n.push(H(e,r));return n}return[H(e,t)]}function G(e,t){for(let n=[];;){if(!t||t.name!=`.`)return n;let r=V(t);if(!U(r))return n;n.unshift(H(e,r)),t=V(r)}}function K(t,n){let r=e.k(t).resolveInner(n,-1),i=se(t.doc,r);return r.name==`Identifier`||r.name==`QuotedIdentifier`||r.name==`Keyword`?{from:r.from,quoted:r.name==`QuotedIdentifier`?t.doc.sliceString(r.from,r.from+1):null,parents:G(t.doc,V(r)),aliases:i}:r.name==`.`?{from:n,quoted:null,parents:G(t.doc,r),aliases:i}:{from:n,quoted:null,parents:[],empty:!0,aliases:i}}var q=new Set(`where group having order union intersect except all distinct limit offset fetch for`.split(` `));function se(e,t){let n;for(let e=t;!n;e=e.parent){if(!e)return null;e.name==`Statement`&&(n=e)}let r=null;for(let t=n.firstChild,i=!1,a=null;t;t=t.nextSibling){let n=t.name==`Keyword`?e.sliceString(t.from,t.to).toLowerCase():null,o=null;if(!i)i=n==`from`;else if(n==`as`&&a&&U(t.nextSibling))o=H(e,t.nextSibling);else if(n&&q.has(n))break;else a&&U(t)&&(o=H(e,t));o&&(r||=Object.create(null),r[o]=W(e,a)),a=/Identifier$/.test(t.name)?t:null}return r}function ce(e,t,n){return n.map(n=>({...n,label:n.label[0]==e?n.label:e+n.label+t,apply:void 0}))}var le=/^\w*$/,ue=/^[`'"\[]?\w*[`'"\]]?$/;function J(e){return e.self&&typeof e.self.label==`string`}var de=class e{constructor(e,t){this.idQuote=e,this.idCaseInsensitive=t,this.list=[],this.children=void 0}child(t){let n=this.children||=Object.create(null);return n[t]||(t&&!this.list.some(e=>e.label==t)&&this.list.push(Y(t,`type`,this.idQuote,this.idCaseInsensitive)),n[t]=new e(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let t=this.list.findIndex(t=>t.label==e.label);t>-1?this.list[t]=e:this.list.push(e)}addCompletions(e){for(let t of e)this.addCompletion(typeof t==`string`?Y(t,`property`,this.idQuote,this.idCaseInsensitive):t)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):J(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let t of Object.keys(e)){let n=e[t],r=null,i=t.replace(/\\?\./g,e=>e==`.`?`\0`:e).split(`\0`),a=this;J(n)&&(r=n.self,n=n.children);for(let e=0;e<i.length;e++)r&&e==i.length-1&&a.addCompletion(r),a=a.child(i[e].replace(/\\\./g,`.`));a.addNamespace(n)}}};function Y(e,t,n,r){return RegExp(`^[a-z_][a-z_\\d]*$`,r?`i`:``).test(e)?{label:e,type:t}:{label:e,type:t,apply:n+e+X(n)}}function X(e){return e===`[`?`]`:e}function fe(e,t,n,r,i,a){let o=new de(a?.spec.identifierQuotes?.[0]||`"`,!!a?.spec.caseInsensitiveIdentifiers),s=i?o.child(i):null;return o.addNamespace(e),t&&(s||o).addCompletions(t),n&&o.addCompletions(n),s&&o.addCompletions(s.list),r&&o.addCompletions((s||o).child(r).list),e=>{let{parents:t,from:n,quoted:i,empty:a,aliases:c}=K(e.state,e.pos);if(a&&!e.explicit)return null;c&&t.length==1&&(t=c[t[0]]||t);let l=o;for(let e of t){for(;!l.children||!l.children[e];)if(l==o&&s)l=s;else if(l==s&&r)l=l.child(r);else return null;let t=l.maybeChild(e);if(!t)return null;l=t}let u=l.list;if(l==o&&c&&(u=u.concat(Object.keys(c).map(e=>({label:e,type:`constant`})))),i){let t=i[0],r=X(t);return{from:n,to:e.state.sliceDoc(e.pos,e.pos+1)==r?e.pos+1:void 0,options:ce(t,r,u),validFor:ue}}return{from:n,options:u,validFor:le}}}function pe(e){return e==b?`type`:e==y?`keyword`:`variable`}function me(e,t,r){let i=Object.keys(e).map(n=>r(t?n.toUpperCase():n,pe(e[n])));return n.i([`QuotedIdentifier`,`String`,`LineComment`,`BlockComment`,`.`],n.r(i))}var Z=B.configure({props:[e.x.add({Statement:e.u()}),e._.add({Statement(e,t){return{from:Math.min(e.from+100,t.doc.lineAt(e.from).to),to:e.to}},BlockComment(e){return{from:e.from+2,to:e.to-2}}}),e._t({Keyword:e.vt.keyword,Type:e.vt.typeName,Builtin:e.vt.standard(e.vt.name),Bits:e.vt.number,Bytes:e.vt.string,Bool:e.vt.bool,Null:e.vt.null,Number:e.vt.number,String:e.vt.string,Identifier:e.vt.name,QuotedIdentifier:e.vt.special(e.vt.string),SpecialVar:e.vt.special(e.vt.name),LineComment:e.vt.lineComment,BlockComment:e.vt.blockComment,Operator:e.vt.operator,"Semi Punctuation":e.vt.punctuation,"( )":e.vt.paren,"{ }":e.vt.brace,"[ ]":e.vt.squareBracket})]}),he=class t{constructor(e,t,n){this.dialect=e,this.language=t,this.spec=n}get extension(){return this.language.extension}configureLanguage(e,n){return new t(this.dialect,this.language.configure(e,n),this.spec)}static define(n){let r=L(n,n.keywords,n.types,n.builtin),i=e.n.define({name:`sql`,parser:Z.configure({tokenizers:[{from:z,to:R(r)}]}),languageData:{commentTokens:{line:`--`,block:{open:`/*`,close:`*/`}},closeBrackets:{brackets:[`(`,`[`,`{`,`'`,`"`,"`"]}}});return new t(r,i,n)}};function ge(e,t){return{label:e,type:t,boost:-1}}function _e(e,t=!1,n){return me(e.dialect.words,t,n||ge)}function ve(e){return e.schema?fe(e.schema,e.tables,e.schemas,e.defaultTable,e.defaultSchema,e.dialect||Q):()=>null}function ye(e){return e.schema?(e.dialect||Q).language.data.of({autocomplete:ve(e)}):[]}function be(t={}){let n=t.dialect||Q;return new e.a(n.language,[ye(t),n.language.data.of({autocomplete:_e(n,t.upperCaseKeywords,t.keywordCompletion)})])}var Q=he.define({});F+``,P+``;var $=`accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill`;P+``,F+``+$,F+``+$,F+``,P+``,F+``,P+``,P+``,F+``,P+``,exports.sql=be;
|
package/dist/dist-DJbgM591.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./dist-BZjcsPqi.cjs"),t=require("./dist-D8I4FQ-Q.cjs");var n=63,r=64,i=1,a=2,o=3,s=4,c=5,l=6,u=7,d=65,f=66,p=8,m=9,h=10,g=11,_=12,v=13,y=19,b=20,x=29,S=33,C=34,w=47,T=0,E=1,D=2,O=3,k=4,A=class{constructor(e,t,n){this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n}};A.top=new A(null,-1,T);function j(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r);if(N(t)||t==-1)return n}}function M(e){return e==32||e==9}function N(e){return e==10||e==13}function P(e){return M(e)||N(e)}function F(e){return e<0||P(e)}var I=new t.t({start:A.top,reduce(e,t){return e.type==O&&(t==b||t==C)?e.parent:e},shift(e,t,r,i){if(t==o)return new A(e,j(i,i.pos),E);if(t==d||t==c)return new A(e,j(i,i.pos),D);if(t==n)return e.parent;if(t==y||t==S)return new A(e,0,O);if(t==v&&e.type==k)return e.parent;if(t==w){let t=/[1-9]/.exec(i.read(i.pos,r.pos));if(t)return new A(e,e.depth+ +t[0],k)}return e},hash(e){return e.hash}});function L(e,t,n=0){return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&F(e.peek(n+3))}var R=new t.n((e,t)=>{if(e.next==-1&&t.canShift(r))return e.acceptToken(r);let o=e.peek(-1);if((N(o)||o<0)&&t.context.type!=O){if(L(e,45)){if(t.canShift(n))e.acceptToken(n);else return e.acceptToken(i,3)}if(L(e,46)){if(t.canShift(n))e.acceptToken(n);else return e.acceptToken(a,3)}let r=0;for(;e.next==32;)r++,e.advance();(r<t.context.depth||r==t.context.depth&&t.context.type==E&&(e.next!=45||!F(e.peek(1))))&&e.next!=-1&&!N(e.next)&&e.next!=35&&e.acceptToken(n,-r)}},{contextual:!0}),z=new t.n((e,t)=>{if(t.context.type==O){e.next==63&&(e.advance(),F(e.next)&&e.acceptToken(u));return}if(e.next==45)e.advance(),F(e.next)&&e.acceptToken(t.context.type==E&&t.context.depth==j(e,e.pos-1)?s:o);else if(e.next==63)e.advance(),F(e.next)&&e.acceptToken(t.context.type==D&&t.context.depth==j(e,e.pos-1)?l:c);else{let n=e.pos;for(;;)if(M(e.next)){if(e.pos==n)return;e.advance()}else if(e.next==33)U(e);else if(e.next==38)W(e);else if(e.next==42){W(e);break}else if(e.next==39||e.next==34){if(G(e,!0))break;return}else if(e.next==91||e.next==123){if(!K(e))return;break}else{X(e,!0,!1,0);break}for(;M(e.next);)e.advance();if(e.next==58){if(e.pos==n&&t.canShift(x))return;F(e.peek(1))&&e.acceptTokenTo(t.context.type==D&&t.context.depth==j(e,n)?f:d,n)}}},{contextual:!0});function B(e){return e>32&&e<127&&e!=34&&e!=37&&e!=44&&e!=60&&e!=62&&e!=92&&e!=94&&e!=96&&e!=123&&e!=124&&e!=125}function V(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function H(e,t){return e.next==37?(e.advance(),V(e.next)&&e.advance(),V(e.next)&&e.advance(),!0):B(e.next)||t&&e.next==44?(e.advance(),!0):!1}function U(e){if(e.advance(),e.next==60){for(e.advance();;)if(!H(e,!0)){e.next==62&&e.advance();break}}else for(;H(e,!1););}function W(e){for(e.advance();!F(e.next)&&J(e.next)!=`f`;)e.advance()}function G(e,t){let n=e.next,r=!1,i=e.pos;for(e.advance();;){let a=e.next;if(a<0)break;if(e.advance(),a==n){if(a==39){if(e.next==39)e.advance();else break}else break}else if(a==92&&n==34)e.next>=0&&e.advance();else if(N(a)){if(t)return!1;r=!0}else if(t&&e.pos>=i+1024)return!1}return!r}function K(e){for(let t=[],n=e.pos+1024;;)if(e.next==91||e.next==123)t.push(e.next),e.advance();else if(e.next==39||e.next==34){if(!G(e,!0))return!1}else if(e.next==93||e.next==125){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else if(e.next<0||e.pos>n||N(e.next))return!1;else e.advance()}var q=`iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif`;function J(e){return e<33?`u`:e>125?`s`:q[e-33]}function Y(e,t){let n=J(e);return n!=`u`&&!(t&&n==`f`)}function X(e,t,n,r){if(J(e.next)==`s`||(e.next==63||e.next==58||e.next==45)&&Y(e.peek(1),n))e.advance();else return!1;let i=e.pos;for(;;){let a=e.next,o=0,s=r+1;for(;P(a);){if(N(a)){if(t)return!1;s=0}else s++;a=e.peek(++o)}if(!(a>=0&&(a==58?Y(e.peek(o+1),n):a==35?e.peek(o-1)!=32:Y(a,n)))||!n&&s<=r||s==0&&!n&&(L(e,45,o)||L(e,46,o)))break;if(t&&J(a)==`f`)return!1;for(let t=o;t>=0;t--)e.advance();if(t&&e.pos>i+1024)return!1}return!0}var Z=new t.n((e,t)=>{if(e.next==33)U(e),e.acceptToken(_);else if(e.next==38||e.next==42){let t=e.next==38?h:g;W(e),e.acceptToken(t)}else e.next==39||e.next==34?(G(e,!1),e.acceptToken(m)):X(e,!1,t.context.type==O,t.context.depth)&&e.acceptToken(p)}),Q=new t.n((e,t)=>{let n=t.context.type==k?t.context.depth:-1,r=e.pos;scan:for(;;){let i=0,a=e.next;for(;a==32;)a=e.peek(++i);if(!i&&(L(e,45,i)||L(e,46,i))||!N(a)&&(n<0&&(n=Math.max(t.context.depth+1,i)),i<n))break;for(;;){if(e.next<0)break scan;let t=N(e.next);if(e.advance(),t)continue scan;r=e.pos}}e.acceptTokenTo(v,r)}),$=e._t({DirectiveName:e.vt.keyword,DirectiveContent:e.vt.attributeValue,"DirectiveEnd DocEnd":e.vt.meta,QuotedLiteral:e.vt.string,BlockLiteralHeader:e.vt.special(e.vt.string),BlockLiteralContent:e.vt.content,Literal:e.vt.content,"Key/Literal Key/QuotedLiteral":e.vt.definition(e.vt.propertyName),"Anchor Alias":e.vt.labelName,Tag:e.vt.typeName,Comment:e.vt.lineComment,": , -":e.vt.separator,"?":e.vt.punctuation,"[ ]":e.vt.squareBracket,"{ }":e.vt.brace}),ee=t.r.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:`⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document`,maxTerm:74,context:I,nodeProps:[[`isolate`,-3,8,9,14,``],[`openedBy`,18,`[`,32,`{`],[`closedBy`,19,`]`,33,`}`]],propSources:[$],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[R,z,Z,Q,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),te=e.n.define({name:`yaml`,parser:ee.configure({props:[e.x.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if(t.name==`BlockLiteralContent`&&t.from<t.to)return e.baseIndentFor(t);if(t.name==`BlockLiteral`)return e.baseIndentFor(t)+e.unit;if(t.name==`BlockSequence`||t.name==`BlockMapping`)return e.column(t.firstChild.from,1);if(t.name==`QuotedLiteral`)return null;if(t.name==`Literal`){let n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n;if(t.to>e.pos)return null}}return null},FlowMapping:e.f({closing:`}`}),FlowSequence:e.f({closing:`]`})}),e._.add({"FlowMapping FlowSequence":e.h,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:`#`},indentOnInput:/^\s*[\]\}]$/}});function ne(){return new e.a(te)}e.vt.meta,exports.yaml=ne;
|