@pi-outpost/embed 0.58.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abnfDiagram-WEYOIA3C-B_dTFm2g.js → abnfDiagram-S7VZAUFO-BdOzCXh1.js} +4 -4
- package/dist/{abnfDiagram-WEYOIA3C-Dk2VD3Iw.cjs → abnfDiagram-S7VZAUFO-zyFnpqZ0.cjs} +1 -1
- package/dist/{architectureDiagram-ZHVYKT53-CslNYmQN.js → architectureDiagram-YGSQEFNW-DiYOcBqo.js} +5 -5
- package/dist/{architectureDiagram-ZHVYKT53-Bud-mHjo.cjs → architectureDiagram-YGSQEFNW-gEzRb5xY.cjs} +3 -3
- package/dist/{blockDiagram-RJAE7QA3-Dgm9J6pS.js → blockDiagram-APKKGZFW-CIX-8mpK.js} +106 -107
- package/dist/{blockDiagram-RJAE7QA3-lEBn-_Yn.cjs → blockDiagram-APKKGZFW-KL3nQT0s.cjs} +7 -7
- package/dist/bpmnIcons-APHXDYXF-BcsYKfS7.js +39 -0
- package/dist/bpmnIcons-APHXDYXF-DX8xcBUd.cjs +1 -0
- package/dist/{c4Diagram-XDPPPE54-rbzhqhW5.js → c4Diagram-KJ2TOQU5-BS_M90FN.js} +8 -8
- package/dist/{c4Diagram-XDPPPE54-BKNqVY-U.cjs → c4Diagram-KJ2TOQU5-D-dCJWvI.cjs} +1 -1
- package/dist/{chunk-7S6XSTFO-ejBVk-tI.cjs → chunk-6MUBBAK2-BTabKnTR.cjs} +1 -1
- package/dist/{chunk-7S6XSTFO-DrDRohsE.js → chunk-6MUBBAK2-DlUTxzYh.js} +2 -2
- package/dist/{chunk-HAGFOTED-BUPxFGdn.cjs → chunk-AXFCVDMN-B6dhmE32.cjs} +8 -8
- package/dist/{chunk-HAGFOTED-ceXO12G4.js → chunk-AXFCVDMN-DrVQa3gP.js} +1256 -1041
- package/dist/{chunk-DSNLSHJZ-BxQ7lMXY.cjs → chunk-BG4553SI-DFPUniBw.cjs} +1 -1
- package/dist/{chunk-DSNLSHJZ-DPpiuUZK.js → chunk-BG4553SI-j_gQs8M_.js} +2 -0
- package/dist/chunk-DQASFODM-BBkQ8gE7.cjs +10 -0
- package/dist/{chunk-WQQL4CDK-C3yDIFZ3.js → chunk-DQASFODM-DAaU7yoa.js} +520 -211
- package/dist/{chunk-55XCU76K-o8OgDLPD.js → chunk-HFQBQIA3-DqHSeXIz.js} +2 -2
- package/dist/{chunk-55XCU76K-IpMfjRYv.cjs → chunk-HFQBQIA3-lOxrhpos.cjs} +1 -1
- package/dist/{chunk-ZCHMQSOR-BbO7eY2w.js → chunk-KQLB2F66-C7twW9LJ.js} +30 -30
- package/dist/{chunk-ZCHMQSOR-Cg8zPt0w.cjs → chunk-KQLB2F66-Ec2IAtUR.cjs} +1 -1
- package/dist/{chunk-4EMNKR2T-CGAdq4EA.cjs → chunk-KS47KZWR-C7Yv0kfF.cjs} +1 -1
- package/dist/{chunk-4EMNKR2T-BIO9veC4.js → chunk-KS47KZWR-OD3AMBe8.js} +2 -2
- package/dist/{chunk-ZAUX2LTX-DIQkgUFr.cjs → chunk-LEVMRMFU-BFGXlIAt.cjs} +1 -1
- package/dist/{chunk-ZAUX2LTX-P8LAwm_U.js → chunk-LEVMRMFU-NLMudZfn.js} +3 -3
- package/dist/chunk-M57EVK23-BSZ7OEGY.cjs +1 -0
- package/dist/{chunk-HNE4Q36P-uON_vFhT.js → chunk-M57EVK23-C8-Jp43x.js} +55 -54
- package/dist/{chunk-2E7WHVMD-Vo-POJc_.js → chunk-OY52VR5R-B7NRk2-S.js} +3 -3
- package/dist/{chunk-2E7WHVMD-BNsJOdNP.cjs → chunk-OY52VR5R-CvyV3pJF.cjs} +1 -1
- package/dist/{chunk-NQOKRVIF-DmOxzSOQ.js → chunk-QB3YPZ4I-DPQ26dC9.js} +788 -730
- package/dist/chunk-QB3YPZ4I-DaIXN7QF.cjs +213 -0
- package/dist/{chunk-YZO67HFG-DCQIFG8j.cjs → chunk-R3KSYZAL-BQPJVcO7.cjs} +1 -1
- package/dist/{chunk-YZO67HFG-WF3jklBn.js → chunk-R3KSYZAL-DeNSy3X8.js} +8 -8
- package/dist/{chunk-AQDTSKZB-DUZx386i.js → chunk-STOXU5M4-0WKKmqbF.js} +4 -4
- package/dist/{chunk-AQDTSKZB-B-MpZ-y2.cjs → chunk-STOXU5M4-CmoaBap6.cjs} +1 -1
- package/dist/{chunk-VQ5W62QI-Dw9Kffnl.cjs → chunk-TU62E6Q5-CMbRLUnW.cjs} +1 -1
- package/dist/{chunk-VQ5W62QI-Bvcxpp51.js → chunk-TU62E6Q5-DPxNUFFP.js} +2 -2
- package/dist/{chunk-UHW7PFBP-BTk1ZC8L.js → chunk-X4PVCEUW-C80IBt-t.js} +2 -2
- package/dist/{chunk-UHW7PFBP-Bays5Zi8.cjs → chunk-X4PVCEUW-Djs21j48.cjs} +1 -1
- package/dist/{classDiagram-v2-4MYWR3UA-DyMM0DMP.cjs → classDiagram-v2-L25IHNXF-CAbdJ2_W.cjs} +1 -1
- package/dist/{classDiagram-v2-4MYWR3UA-DIjHIULx.js → classDiagram-v2-L25IHNXF-CAts0vNW.js} +13 -13
- package/dist/{conversationExport-DojQkOLk.js → conversationExport-BWbYNcNf.js} +3 -3
- package/dist/{conversationExport-CE0UTxEg.cjs → conversationExport-DuKpkQDn.cjs} +1 -1
- package/dist/{conversationHistory-DdjP3rjR.cjs → conversationHistory-DIGz_MD4.cjs} +1 -1
- package/dist/{conversationHistory-g6h0_Fjx.js → conversationHistory-DXpSCV87.js} +2 -2
- package/dist/{cynefinDiagram-WF24UDRP-DEFG-MNh.js → cynefinDiagram-L36ESFBY-ByHpHKCc.js} +4 -4
- package/dist/{cynefinDiagram-WF24UDRP-BC09SRT2.cjs → cynefinDiagram-L36ESFBY-CrsJmb7x.cjs} +1 -1
- package/dist/{dagre-NK4GIZVX-D6Xuc_Nw.js → dagre-SPEB5RXH-C01_UMxx.js} +51 -51
- package/dist/{dagre-NK4GIZVX-D0_oLrA9.cjs → dagre-SPEB5RXH-ExCiSqVu.cjs} +2 -2
- package/dist/{diagram-TYUNFSNR-Dy2nkVin.cjs → diagram-3B7GL73J-CRNoSH2i.cjs} +2 -2
- package/dist/{diagram-TYUNFSNR-BSq4ni3b.js → diagram-3B7GL73J-D7i6eGGQ.js} +14 -14
- package/dist/{diagram-I5XIIV2D-Dom9usNq.cjs → diagram-DNEMPZML-CkhkOJo2.cjs} +1 -1
- package/dist/{diagram-I5XIIV2D-DbwsxgDf.js → diagram-DNEMPZML-Di5RqN_h.js} +4 -4
- package/dist/{diagram-RJA3I4VV-Bt-BxYua.cjs → diagram-L3MUGCDN-B1vXsDB1.cjs} +1 -1
- package/dist/{diagram-RJA3I4VV-DCygetH_.js → diagram-L3MUGCDN-BtQkAzOD.js} +4 -4
- package/dist/{diagram-CBK3MWTC-CuUrHQAz.js → diagram-LA4NIPWU-Badv-tyU.js} +6 -6
- package/dist/{diagram-CBK3MWTC-DbXGbFMz.cjs → diagram-LA4NIPWU-DST6DvSP.cjs} +1 -1
- package/dist/{diagram-PFBEJUXE-DAIw33Bx.cjs → diagram-MHCOC4E2-BafwTqOD.cjs} +1 -1
- package/dist/{diagram-PFBEJUXE-ChA6KYWw.js → diagram-MHCOC4E2-DmA9ezb9.js} +3 -3
- package/dist/{diagram-ODIL2UCW-CSnuo9bJ.js → diagram-XPFHEONP-CZHt29x-.js} +5 -5
- package/dist/{diagram-ODIL2UCW-CLSAtgxG.cjs → diagram-XPFHEONP-DCm8Rjp8.cjs} +2 -2
- package/dist/{docxExport-CrsGZa8E.cjs → docxExport-BlPADe6b.cjs} +1 -1
- package/dist/{docxExport-9XrmWN9x.js → docxExport-Bwi2TlqP.js} +2 -2
- package/dist/{ebnfDiagram-V4P3TTPT-e4I3Otpa.js → ebnfDiagram-UZSYDL2S-DVGQga8g.js} +4 -4
- package/dist/{ebnfDiagram-V4P3TTPT-6xhHNshj.cjs → ebnfDiagram-UZSYDL2S-fO0plY-B.cjs} +1 -1
- package/dist/elk-XV6XMXQE-BkH0WNCd.js +48285 -0
- package/dist/elk-XV6XMXQE-CioXUob9.cjs +27 -0
- package/dist/{erDiagram-KYQIGQAA-BTNANm6p.js → erDiagram-EYBAPDEH-Byy0RKKe.js} +12 -13
- package/dist/{erDiagram-KYQIGQAA-DsqyoDOz.cjs → erDiagram-EYBAPDEH-CUgDxVam.cjs} +2 -2
- package/dist/flowDiagram-MALGAFMO-D2e4rl0I.js +15 -0
- package/dist/flowDiagram-MALGAFMO-ZfeGO5tQ.cjs +1 -0
- package/dist/{ganttDiagram-R7GPNTJY-B1juClwW.cjs → ganttDiagram-23REXITY-D82ogzPM.cjs} +1 -1
- package/dist/{ganttDiagram-R7GPNTJY-CEGQ6hzi.js → ganttDiagram-23REXITY-DAs5LGLL.js} +2 -2
- package/dist/{gitGraphDiagram-PDYL7XHY-6cCNinUi.cjs → gitGraphDiagram-STJD7YCW-B3zcpUUP.cjs} +1 -1
- package/dist/{gitGraphDiagram-PDYL7XHY-D_ADFBrL.js → gitGraphDiagram-STJD7YCW-BVa0DHTU.js} +3 -3
- package/dist/{infoDiagram-MVDRKAX5-Dkuw3h5s.js → infoDiagram-KBXO4MBG-BW7IcSQr.js} +4 -4
- package/dist/{infoDiagram-MVDRKAX5-CVeFOzof.cjs → infoDiagram-KBXO4MBG-DRQkxKbg.cjs} +1 -1
- package/dist/{ishikawaDiagram-HPEHV2GE-oTSoKUOA.js → ishikawaDiagram-M35NCXHK-BiLoyI1l.js} +4 -4
- package/dist/{ishikawaDiagram-HPEHV2GE-92CAbMpi.cjs → ishikawaDiagram-M35NCXHK-DBokYlS8.cjs} +1 -1
- package/dist/{journeyDiagram-BOSHW7O7-Cb_yTQWF.cjs → journeyDiagram-OPLOXDXO-CgabMAC2.cjs} +1 -1
- package/dist/{journeyDiagram-BOSHW7O7-CMbGxPLA.js → journeyDiagram-OPLOXDXO-DsyubZVY.js} +3 -3
- package/dist/{kanban-definition-FNSA4HC5-DlUMoAIT.cjs → kanban-definition-BZKZHSQY-CLi3J9cI.cjs} +1 -1
- package/dist/{kanban-definition-FNSA4HC5-DzEQcVPw.js → kanban-definition-BZKZHSQY-DU8sOWQd.js} +10 -10
- package/dist/{line-ZwhMGa3_.cjs → line-Bf0B129l.cjs} +1 -1
- package/dist/{line-0VTxwDiV.js → line-DRq00lCg.js} +1 -1
- package/dist/{loadReferencedImage-RUfxAG0o.cjs → loadReferencedImage-D47xCpa7.cjs} +1 -1
- package/dist/{loadReferencedImage-LF2DEOPa.js → loadReferencedImage-VNYxXIzB.js} +1 -1
- package/dist/{mermaid.core-73kk5oPm.cjs → mermaid.core-BL4WDqAH.cjs} +12 -12
- package/dist/{mermaid.core-C8dp1dnD.js → mermaid.core-DPCy8dJO.js} +511 -504
- package/dist/{mermaidToImage-Ckx06W6z.cjs → mermaidToImage-B7I6iJ9s.cjs} +1 -1
- package/dist/{mermaidToImage-knc9XzLd.js → mermaidToImage-CViP9wx2.js} +1 -1
- package/dist/{mindmap-definition-6OY57UG3-CXobmoZM.js → mindmap-definition-I2QAS2VK-C2KpoDqG.js} +38 -68
- package/dist/{mindmap-definition-6OY57UG3-DLx3d1V6.cjs → mindmap-definition-I2QAS2VK-GT8_r7or.cjs} +8 -8
- package/dist/{pegDiagram-ECIUJNBX-ODBWqs1V.js → pegDiagram-FD4XPPHP-CSA4sB83.js} +4 -4
- package/dist/{pegDiagram-ECIUJNBX-B-eSDSQK.cjs → pegDiagram-FD4XPPHP-D0OZoETj.cjs} +1 -1
- package/dist/pi-outpost-embed.cjs +5 -5
- package/dist/pi-outpost-embed.js +169 -155
- package/dist/{pieDiagram-GNMPY74T-DYDC5z2D.js → pieDiagram-J4AKIIQI-CNLlH6kK.js} +4 -4
- package/dist/{pieDiagram-GNMPY74T-BtYyKCrf.cjs → pieDiagram-J4AKIIQI-O870G6iX.cjs} +1 -1
- package/dist/{quadrantDiagram-D57K4MC3-BfQWcg-D.js → quadrantDiagram-XTYBLID2-BjaZuA3m.js} +2 -2
- package/dist/{quadrantDiagram-D57K4MC3-Cu6JmzPE.cjs → quadrantDiagram-XTYBLID2-CfdtTmYm.cjs} +1 -1
- package/dist/{railroadDiagram-Y72NRBL7-BdHmqKV_.cjs → railroadDiagram-MRQ6NCDL-DDOA_8gY.cjs} +1 -1
- package/dist/{railroadDiagram-Y72NRBL7-ChQwG3mZ.js → railroadDiagram-MRQ6NCDL-DgAKQKiD.js} +4 -4
- package/dist/{requirementDiagram-EQYSW5RA-Dj4E0fE3.js → requirementDiagram-Y7LWUY3S-Bhlk2ueA.js} +12 -12
- package/dist/{requirementDiagram-EQYSW5RA-CDQ6Nza1.cjs → requirementDiagram-Y7LWUY3S-nSr_pknl.cjs} +1 -1
- package/dist/{sankeyDiagram-SY24JHO5-luxVW4uf.js → sankeyDiagram-WGJFYUXA-DUYWd4HF.js} +2 -2
- package/dist/{sankeyDiagram-SY24JHO5-BPFkmPzT.cjs → sankeyDiagram-WGJFYUXA-x6J896b3.cjs} +1 -1
- package/dist/{sequenceDiagram-BLEHNHQU-DX51aIRY.cjs → sequenceDiagram-5NDRBG5M-BFgcr8MT.cjs} +1 -1
- package/dist/{sequenceDiagram-BLEHNHQU-H4rQDzp-.js → sequenceDiagram-5NDRBG5M-D1YS8Amk.js} +5 -5
- package/dist/{stateDiagram-v2-A6IESKWZ-DBJ11U2p.js → stateDiagram-v2-FJ4FJNEA-6j2vDdvl.js} +13 -13
- package/dist/{stateDiagram-v2-A6IESKWZ-Dbp783Hd.cjs → stateDiagram-v2-FJ4FJNEA-DOTmLAY2.cjs} +1 -1
- package/dist/swimlanes-UMQ2AFYF-BQLQzNLz.cjs +1 -0
- package/dist/{swimlanes-B3ENRKFQ-Bp3vZCmK.js → swimlanes-UMQ2AFYF-CNb1NF60.js} +1742 -1338
- package/dist/swimlanesDiagram-OMPLPG4O-BNDsO6gw.cjs +8 -0
- package/dist/swimlanesDiagram-OMPLPG4O-BOl138lS.js +27 -0
- package/dist/{timeline-definition-JXYKGLGB-BE6iAj4r.js → timeline-definition-SEUHKTQE-B_909Amn.js} +4 -4
- package/dist/{timeline-definition-JXYKGLGB-DKhMPFBi.cjs → timeline-definition-SEUHKTQE-Du5-RSsU.cjs} +1 -1
- package/dist/{usecaseDiagram-WPOLBNNX-BRWufOTq.cjs → usecaseDiagram-AFA6YXN4-BUs_YsqB.cjs} +2 -2
- package/dist/{usecaseDiagram-WPOLBNNX-DY9Md_AG.js → usecaseDiagram-AFA6YXN4-CiVGRP5X.js} +12 -12
- package/dist/{vennDiagram-Q3Y3IDCW-NYVHk5sI.cjs → vennDiagram-NNMJR3RB-CKxaec4G.cjs} +1 -1
- package/dist/{vennDiagram-Q3Y3IDCW-DbPGt27W.js → vennDiagram-NNMJR3RB-l3A_FZxZ.js} +4 -4
- package/dist/{wardleyDiagram-IVAIDKWA-BHkJFpfC.js → wardleyDiagram-S7YFUSEH-BMQf5dl9.js} +4 -4
- package/dist/{wardleyDiagram-IVAIDKWA-DsYJNlmX.cjs → wardleyDiagram-S7YFUSEH-Ctqri3T4.cjs} +1 -1
- package/dist/{xychartDiagram-4URNHDU4-B_g46bSg.cjs → xychartDiagram-GGNKY7IX-BUma86Wh.cjs} +1 -1
- package/dist/{xychartDiagram-4URNHDU4-IvFjWG-y.js → xychartDiagram-GGNKY7IX-CuFU4ynf.js} +7 -7
- package/package.json +2 -2
- package/dist/channel-AESWk0Yw.cjs +0 -1
- package/dist/channel-CEoRf1uz.js +0 -5
- package/dist/chunk-HNE4Q36P-CCHAgwa3.cjs +0 -1
- package/dist/chunk-NQOKRVIF-DcZqKWzv.cjs +0 -213
- package/dist/chunk-WQQL4CDK-DxEEyQzx.cjs +0 -10
- package/dist/elk-QONTBCTQ-B8RYU1Ay.js +0 -47505
- package/dist/elk-QONTBCTQ-hBYUI6Nr.cjs +0 -27
- package/dist/flowDiagram-IUGLLWBU-BJlVRCj8.js +0 -15
- package/dist/flowDiagram-IUGLLWBU-CsC_IEV_.cjs +0 -1
- package/dist/swimlanes-B3ENRKFQ-DY1V--Rq.cjs +0 -1
- package/dist/swimlanesDiagram-AYQRV4AK-COavJcG4.js +0 -27
- package/dist/swimlanesDiagram-AYQRV4AK-dUd5QjxZ.cjs +0 -8
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-BG4553SI-DFPUniBw.cjs"),r=require("./chunk-DQASFODM-BBkQ8gE7.cjs"),i=require("./chunk-6MUBBAK2-BTabKnTR.cjs"),a=require("./chunk-5VM5RSS4-CwDmQ9T_.cjs"),o=require("./chunk-J5ZVWO5B-CK5HGA-t.cjs"),s=require("./chunk-AXFCVDMN-B6dhmE32.cjs"),c=require("./chunk-HFQBQIA3-lOxrhpos.cjs"),l=require("./chunk-XXDRQBXY-DfReYcER.cjs"),u=require("./chunk-TU62E6Q5-CMbRLUnW.cjs"),d=require("./mermaid.core-BL4WDqAH.cjs");var f=`flowchart-`,p=[`laneRole`,`laneIndex`,`drawnExtent`];function m(e){if(!e||typeof e!=`object`)return e;let t={...e};for(let e of p)Reflect.deleteProperty(t,e);return t}e.n(m,`withoutInternalKeys`);var h=class{constructor(){this.vertexCounter=0,this.config=n.b(),this.diagramId=``,this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],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.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen(`gen-2`)}static{e.n(this,`FlowDB`)}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,i,a,o,c,l,u={},p){if(!e||e.trim().length===0)return;let h;if(p!==void 0){let e;e=p.includes(`
|
|
2
|
+
`)?p+`
|
|
3
|
+
`:`{
|
|
4
|
+
`+p+`
|
|
5
|
+
}`,h=m(d.r(e,{schema:d.n}))}let g=this.subGraphLookup.get(e);if(g&&h){Object.keys(h).length>0&&(g.metadata={...g.metadata,...h});return}let _=this.edges.find(t=>t.id===e);if(_){let n=h;n?.animate!==void 0&&(_.animate=n.animate),n?.animation!==void 0&&(_.animation=n.animation),n?.curve!==void 0&&(_.interpolate=n.curve),n?.step!==void 0&&(r.s(n)?_.step=n.step:t.m.warn(`Ignoring step on edge ${e}: expected a positive integer`,n.step));return}let v,y=this.vertices.get(e);if(y===void 0&&(i===void 0&&a===void 0&&o!=null&&t.m.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),y={id:e,labelType:`text`,domId:f+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,y)),this.vertexCounter++,i===void 0?y.text===void 0&&(y.text=e):(this.config=n.b(),v=this.sanitizeText(i.text.trim()),y.labelType=i.type,v.startsWith(`"`)&&v.endsWith(`"`)&&(v=v.substring(1,v.length-1)),y.text=v),a!==void 0&&(y.type=a),o?.forEach(e=>{y.styles.push(e)}),c?.forEach(e=>{y.classes.push(e)}),l!==void 0&&(y.dir=l),y.props===void 0?y.props=u:u!==void 0&&Object.assign(y.props,u),h!==void 0){if(h.shape){if(h.shape!==h.shape.toLowerCase()||h.shape.includes(`_`))throw Error(`No such shape: ${h.shape}. Shape names should be lowercase.`);if(!s.a(h.shape))throw Error(`No such shape: ${h.shape}.`);y.type=h?.shape}h?.label&&(y.text=h?.label,y.labelType=this.sanitizeNodeLabelType(h?.labelType)),h?.icon&&(y.icon=h?.icon,!h.label?.trim()&&y.text===e&&(y.text=``)),h?.form&&(y.form=h?.form),h?.pos&&(y.pos=h?.pos),h?.img&&(y.img=h?.img,!h.label?.trim()&&y.text===e&&(y.text=``)),h?.constraint&&(y.constraint=h.constraint),h.w&&(y.assetWidth=Number(h.w)),h.h&&(y.assetHeight=Number(h.h))}}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),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}.
|
|
6
|
+
|
|
7
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
+
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=>{e==="default"?this.edges.defaultInterpolate=t: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}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.diagramId=``,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=n.b(),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){let o=r.text.trim(),s=a.text;r===a&&/\s/.exec(a.text)&&(o=void 0);let c=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()),l=c.nodeList,u=c.dir,d=n.b().flowchart??{};if(u??=d.inheritDir?this.getDirection()??n.b().direction??void 0:void 0,this.version===`gen-1`)for(let e=0;e<l.length;e++)l[e]=this.lookUpDomId(l[e]);o??=`subGraph`+this.subCount,s||=``,s=this.sanitizeText(s),this.subCount+=1;let f={id:o,nodes:l,title:s.trim(),classes:[],dir:u,labelType:this.sanitizeNodeLabelType(a?.type)};t.m.info(`Adding`,f.id,f.nodes,f.dir);let p=this.makeUniq(f,this.subGraphs).nodes;this.recordDroppedMembers(f,p),f.nodes=p.filter(e=>e!==o);let m=this.subGraphs.find(e=>e.id===o);return m?m.nodes.push(...f.nodes):this.subGraphs.push(f),this.subGraphLookup.set(o,m??f),o}recordDroppedMembers(e,t){let n=new Set(t);for(let t of e.nodes){if(n.has(t)||t===e.id)continue;let r=this.subGraphs.find(e=>e.nodes.includes(t));r&&r.id!==e.id&&!this.isNestedIn(r.id,e)&&this.droppedSubGraphMembers.push({node:t,keptBy:r.id,droppedFrom:e.id})}}isNestedIn(e,t){let n=new Set,r=e;for(;r!==void 0&&!n.has(r);){if(t.nodes.includes(r))return!0;n.add(r);let e=r;r=this.subGraphs.find(t=>t.nodes.includes(e))?.id}return!1}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)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let t=e.trim(),n=`arrow_open`;switch(t[0]){case`<`:n=`arrow_point`,t=t.slice(1);break;case`x`:n=`arrow_cross`,t=t.slice(1);break;case`o`:n=`arrow_circle`,t=t.slice(1)}let r=`normal`;return t.includes(`=`)&&(r=`thick`),t.includes(`.`)&&(r=`dotted`),{type:n,stroke:r}}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`,t.startsWith(`x`)&&(r=`double_`+r,n=n.slice(1));break;case`>`:r=`arrow_point`,t.startsWith(`<`)&&(r=`double_`+r,n=n.slice(1));break;case`o`:r=`arrow_circle`,t.startsWith(`o`)&&(r=`double_`+r,n=n.slice(1))}let i=`normal`,a=n.length-1;n.startsWith(`=`)&&(i=`thick`),n.startsWith(`~`)&&(i=`invisible`);let o=this.countChar(`.`,n);return o&&(i=`dotted`,a=o),{type:r,stroke:i,length:a}}destructLink(e,t){let n=this.destructEndLink(e),r;if(t){if(r=this.destructStartLink(t),r.stroke!==n.stroke)return{type:`INVALID`,stroke:`INVALID`};if(r.type===`arrow_open`)r.type=n.type;else{if(r.type!==n.type)return{type:`INVALID`,stroke:`INVALID`};r.type=`double_`+r.type}return r.type===`double_arrow`&&(r.type=`double_arrow_point`),r.length=n.length,r}return n}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){if(e.img)return`imageSquare`;if(e.icon)return e.form===`circle`?`iconCircle`:e.form===`square`?`iconSquare`:e.form===`rounded`?`iconRounded`:`icon`;switch(e.type){case`square`:case void 0:return`squareRect`;case`round`:return`roundedRect`;case`ellipse`:return`ellipse`;default:return e.type}}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`: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),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};s?t.push({...n,isGroup:!0,shape:`rect`}):t.push({...n,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:i.flowchart?.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}getData(){let t=n.b(),a=[],o=[],s=this.getSubGraphs(),c=new Map,l=new Map,u=new Map;for(let e of s)for(let t of e.nodes)this.subGraphLookup.has(t)&&u.set(t,e.id);let d=new Map,f=new Map;for(let e of s){let t=u.get(e.id);t!==void 0&&f.set(t,[...f.get(t)??[],e.id])}let p=0,m=e.n(e=>{d.set(e,p++);for(let t of f.get(e)??[])m(t)},`walk`);for(let e of s)u.has(e.id)||m(e.id);let h=e.n(e=>this.subGraphLookup.get(e)?.metadata?.view===`collapsed`,`isCollapsed`),g=e.n(e=>{let t,n=new Set,r=e;for(;r!==void 0&&!n.has(r);)n.add(r),h(r)&&(t=r),r=u.get(r);return t},`outermostCollapsed`),_=new Set,v=new Map;for(let e of s){let t=g(e.id);if(t!==void 0){e.id!==t&&(_.add(e.id),v.set(e.id,t));for(let n of e.nodes)n!==t&&(_.add(n),v.set(n,t))}}for(let e=s.length-1;e>=0;e--){let t=s[e];if(!_.has(t.id)){t.nodes.length>0&&l.set(t.id,!0);for(let e of t.nodes)c.set(e,t.id)}}for(let e=s.length-1;e>=0;e--){let n=s[e];_.has(n.id)||(n.metadata?.view===`collapsed`?a.push({id:n.id,label:n.title,labelStyle:``,labelType:n.labelType,parentId:c.get(n.id),padding:8,cssCompiledStyles:this.getCompiledStyles(n.classes),cssClasses:n.classes.join(` `),shape:`collapsedGroup`,dir:n.dir,isGroup:!1,look:t.look,colorIndex:d.get(n.id)}):a.push({id:n.id,label:n.title,labelStyle:``,labelType:n.labelType,parentId:c.get(n.id),padding:8,cssCompiledStyles:this.getCompiledStyles(n.classes),cssClasses:n.classes.join(` `),shape:`rect`,dir:n.dir,isGroup:!0,look:t.look,colorIndex:d.get(n.id),metadata:n.metadata}))}this.getVertices().forEach(e=>{_.has(e.id)||this.addNodeFromVertex(e,a,c,l,t,t.look||`classic`)});let y=this.getEdges(),ee=y.reduce((e,t)=>r.s(t)?Math.max(e,t.step):e,0),te=r.r(t.flowchart?.stepDuration),b=t.flowchart?.stepNumbers===!0?{showStepNumber:!0}:{};return y.forEach((e,n)=>{let{arrowTypeStart:a,arrowTypeEnd:s}=this.destructEdgeType(e.type),c=[...y.defaultStyle??[]],l=v.get(e.start)??e.start,u=v.get(e.end)??e.end;if(l===u&&(v.has(e.start)||v.has(e.end)))return;e.style&&c.push(...e.style);let d={id:i.c(l,u,{counter:n,prefix:`L`},e.id),isUserDefinedId:e.isUserDefinedId,start:l,end:u,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`:a,arrowTypeEnd:e?.stroke===`invisible`||e?.type===`arrow_open`?`none`:s,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(e.classes),labelStyle:c,style:c,pattern:e.stroke,look:t.look,animate:e.animate,animation:e.animation,...r.s(e)?{step:e.step,stepCount:ee,stepDuration:te,...b}:{},curve:e.interpolate||this.edges.defaultInterpolate||t.flowchart?.curve};o.push(d)}),{nodes:a,edges:o,other:this.droppedSubGraphMembers.length>0?{droppedSubGraphMembers:[...this.droppedSubGraphMembers]}:{},config:t}}defaultConfig(){return n.d.flowchart}},g={getClasses:e.n(function(e,t){return t.db.getClasses()},`getClasses`),draw:e.n(async function(e,r,a,o){t.m.info(`REF0:`),t.m.info(`Drawing state diagram (v2)`,r);let{securityLevel:s,flowchart: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.direction=h,p.nodeSpacing=c?.nodeSpacing||50,p.rankSpacing=c?.rankSpacing||50,p.markers=[`point`,`circle`,`cross`],p.diagramId=r,t.m.debug(`REF1:`,p),await d.a(p,m);let g=p.config.flowchart?.diagramPadding??8;i._.insertTitle(m,`flowchartTitleText`,c?.titleTopMargin||0,o.db.getDiagramTitle()),u.t(m,g,`flowchart`,c?.useMaxWidth||!1)},`draw`)},_=(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,4],r=[1,3],i=[1,5],a=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],o=[2,2],s=[1,13],c=[1,14],l=[1,15],u=[1,16],d=[1,23],f=[1,25],p=[1,26],m=[1,27],h=[1,50],g=[1,49],_=[1,29],v=[1,30],y=[1,31],ee=[1,32],te=[1,33],b=[1,45],x=[1,47],S=[1,43],C=[1,48],w=[1,44],T=[1,51],E=[1,46],D=[1,52],O=[1,53],k=[1,34],ne=[1,35],re=[1,36],ie=[1,37],ae=[1,38],oe=[1,58],A=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],j=[1,62],M=[1,61],N=[1,63],se=[8,9,11,75,77,78],ce=[1,79],le=[1,92],ue=[1,97],de=[1,96],fe=[1,93],pe=[1,89],me=[1,95],he=[1,91],ge=[1,98],_e=[1,94],ve=[1,99],ye=[1,90],be=[8,9,10,11,40,75,77,78],P=[8,9,10,11,40,46,75,77,78],F=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],xe=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],Se=[44,60,89,102,105,106,109,111,114,115,116],Ce=[1,122],we=[1,123],Te=[1,125],Ee=[1,124],De=[44,60,62,74,89,102,105,106,109,111,114,115,116],Oe=[1,134],ke=[1,148],Ae=[1,149],je=[1,150],Me=[1,151],Ne=[1,136],Pe=[1,138],Fe=[1,142],Ie=[1,143],Le=[1,144],Re=[1,145],ze=[1,146],Be=[1,147],Ve=[1,152],He=[1,153],Ue=[1,132],We=[1,133],Ge=[1,140],Ke=[1,135],qe=[1,139],Je=[1,137],Ye=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Xe=[1,155],Ze=[1,157],I=[8,9,11],L=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],R=[1,177],z=[1,173],B=[1,174],V=[1,178],H=[1,175],U=[1,176],Qe=[77,116,119],W=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],$e=[1,205],et=[10,106],tt=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],G=[1,249],K=[1,247],q=[1,251],J=[1,245],Y=[1,246],X=[1,248],Z=[1,250],Q=[1,252],nt=[1,270],rt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],it={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:`error`,8:`SEMI`,9:`NEWLINE`,10:`SPACE`,11:`EOF`,12:`GRAPH`,13:`NODIR`,14:`DIR`,27:`subgraph`,29:`SQS`,31:`SQE`,32:`end`,34:`acc_title`,35:`acc_title_value`,36:`acc_descr`,37:`acc_descr_value`,38:`acc_descr_multiline_value`,40:`SHAPE_DATA`,44:`AMP`,46:`STYLE_SEPARATOR`,48:`DOUBLECIRCLESTART`,49:`DOUBLECIRCLEEND`,50:`PS`,51:`PE`,52:`(-`,53:`-)`,54:`STADIUMSTART`,55:`STADIUMEND`,56:`SUBROUTINESTART`,57:`SUBROUTINEEND`,58:`VERTEX_WITH_PROPS_START`,59:`NODE_STRING[field]`,60:`COLON`,61:`NODE_STRING[value]`,62:`PIPE`,63:`CYLINDERSTART`,64:`CYLINDEREND`,65:`DIAMOND_START`,66:`DIAMOND_STOP`,67:`TAGEND`,68:`TRAPSTART`,69:`TRAPEND`,70:`INVTRAPSTART`,71:`INVTRAPEND`,74:`TESTSTR`,75:`START_LINK`,77:`LINK`,78:`LINK_ID`,80:`STR`,81:`MD_STR`,84:`STYLE`,85:`LINKSTYLE`,86:`CLASSDEF`,87:`CLASS`,88:`CLICK`,89:`DOWN`,90:`UP`,93:`idString[vertex]`,94:`idString[class]`,95:`CALLBACKNAME`,96:`CALLBACKARGS`,97:`HREF`,98:`LINK_TARGET`,99:`STR[link]`,100:`STR[tooltip]`,102:`DEFAULT`,104:`INTERPOLATE`,105:`NUM`,106:`COMMA`,109:`NODE_STRING`,110:`UNIT`,111:`BRKT`,112:`PCT`,114:`MINUS`,115:`MULT`,116:`UNICODE_TEXT`,117:`TEXT`,118:`TAGSTART`,119:`EDGE_TEXT`,121:`direction_tb`,122:`direction_bt`,123:`direction_rl`,124:`direction_lr`,125:`direction_td`},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,5],[20,3],[20,4],[20,2],[20,2],[20,3],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,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 185:this.$=a[s];break;case 11:r.setDirection(`TB`),this.$=`TB`;break;case 12:r.setDirection(a[s-1]),this.$=a[s-1];break;case 27:this.$=a[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 34:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 35:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 37:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 43:this.$=a[s-1]+a[s];break;case 44:this.$=a[s];break;case 45:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 46:r.addVertex(a[s-2][a[s-2].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-1]),r.addLink(a[s-4].stmt,a[s-2],a[s-3]),this.$={stmt:a[s-2],nodes:a[s-2].concat(a[s-4].nodes)};break;case 47:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 48:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 49:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 50:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),this.$={stmt:a[s-1],nodes:a[s-1],shapeData:a[s]};break;case 51:r.addVertex(a[s-2][a[s-2].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-1]),this.$={stmt:a[s-2],nodes:a[s-2],shapeData:a[s-1]};break;case 52:this.$={stmt:a[s],nodes:a[s]};break;case 53:this.$=[a[s]];break;case 54: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]),this.$=a[s-5].concat(a[s]);break;case 55:this.$=a[s-4].concat(a[s]);break;case 56:this.$=a[s];break;case 57:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`);break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`);break;case 60:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`);break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`);break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`);break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`);break;case 64: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]]]));break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`);break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`);break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`);break;case 68:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`);break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`);break;case 72:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`);break;case 73:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`);break;case 74:this.$=a[s],r.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 78:this.$=a[s];break;case 79:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 80:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1],id:a[s-3]};break;case 81:this.$={text:a[s],type:`text`};break;case 82:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 83:this.$={text:a[s],type:`string`};break;case 84:this.$={text:a[s],type:`markdown`};break;case 85:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 86:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,id:a[s-1]};break;case 87:this.$=a[s-1];break;case 88:this.$={text:a[s],type:`text`};break;case 89:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 90:this.$={text:a[s],type:`string`};break;case 91:case 106:this.$={text:a[s],type:`markdown`};break;case 103:this.$={text:a[s],type:`text`};break;case 104:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 105:this.$={text:a[s],type:`text`};break;case 107:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 108:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 109:case 117:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 110:case 118:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 111:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 112:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 113:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 114:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 115:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 116:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 119:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 120:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 121:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 122:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 123:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 124:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 125:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 126:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 127:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 128:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 129:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 130:case 132:this.$=[a[s]];break;case 131:case 133:a[s-2].push(a[s]),this.$=a[s-2];break;case 135:this.$=a[s-1]+a[s];break;case 183:this.$=a[s];break;case 184:this.$=a[s-1]+``+a[s];break;case 186:this.$=a[s-1]+``+a[s];break;case 187:this.$={stmt:`dir`,value:`TB`};break;case 188:this.$={stmt:`dir`,value:`BT`};break;case 189:this.$={stmt:`dir`,value:`RL`};break;case 190:this.$={stmt:`dir`,value:`LR`};break;case 191:this.$={stmt:`dir`,value:`TD`}}},`anonymous`),table:[{3:1,4:2,9:n,10:r,12:i},{1:[3]},t(a,o,{5:6}),{4:7,9:n,10:r,12:i},{4:8,9:n,10:r,12:i},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:y,87:ee,88:te,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O,121:k,122:ne,123:re,124:ie,125:ae},t(a,[2,9]),t(a,[2,10]),t(a,[2,11]),{8:[1,55],9:[1,56],10:oe,15:54,18:57},t(A,[2,3]),t(A,[2,4]),t(A,[2,5]),t(A,[2,6]),t(A,[2,7]),t(A,[2,8]),{8:j,9:M,11:N,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:j,9:M,11:N,21:68},{8:j,9:M,11:N,21:69},{8:j,9:M,11:N,21:70},{8:j,9:M,11:N,21:71},{8:j,9:M,11:N,21:72},{8:j,9:M,10:[1,73],11:N,21:74},t(A,[2,36]),{35:[1,75]},{37:[1,76]},t(A,[2,39]),t(se,[2,52],{18:77,39:78,10:oe,40:ce}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:le,44:ue,60:de,80:[1,87],89:fe,95:[1,84],97:[1,85],101:86,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye,120:88},t(A,[2,187]),t(A,[2,188]),t(A,[2,189]),t(A,[2,190]),t(A,[2,191]),t(be,[2,53]),t(be,[2,56],{46:[1,100]}),t(P,[2,74],{113:113,29:[1,101],44:h,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:g,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:b,102:x,105:S,106:C,109:w,111:T,114:E,115:D,116:O}),t(F,[2,183]),t(F,[2,144]),t(F,[2,145]),t(F,[2,146]),t(F,[2,147]),t(F,[2,148]),t(F,[2,149]),t(F,[2,150]),t(F,[2,151]),t(F,[2,152]),t(F,[2,153]),t(F,[2,154]),t(a,[2,12]),t(a,[2,18]),t(a,[2,19]),{9:[1,114]},t(xe,[2,26],{18:115,10:oe}),t(A,[2,27]),{42:116,43:39,44:h,45:40,47:41,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},t(A,[2,40]),t(A,[2,41]),t(A,[2,42]),t(Se,[2,78],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Ce,81:we,116:Te,119:Ee},{75:[1,126],77:[1,127]},t(De,[2,85]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),t(A,[2,31]),t(A,[2,32]),{10:Oe,12:ke,14:Ae,27:je,28:128,32:Me,44:Ne,60:Pe,75:Fe,80:[1,130],81:[1,131],83:141,84:Ie,85:Le,86:Re,87:ze,88:Be,89:Ve,90:He,91:129,105:Ue,109:We,111:Ge,114:Ke,115:qe,116:Je},t(Ye,o,{5:154}),t(A,[2,37]),t(A,[2,38]),t(se,[2,49],{44:Xe}),t(se,[2,50],{18:156,10:oe,40:Ze}),t(be,[2,44]),{44:h,47:158,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},{102:[1,159],103:160,105:[1,161]},{44:h,47:162,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},{44:h,47:163,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},t(I,[2,109],{10:[1,164],96:[1,165]}),{80:[1,166]},t(I,[2,117],{120:168,10:[1,167],14:le,44:ue,60:de,89:fe,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye}),t(I,[2,119],{10:[1,169]}),t(L,[2,185]),t(L,[2,172]),t(L,[2,173]),t(L,[2,174]),t(L,[2,175]),t(L,[2,176]),t(L,[2,177]),t(L,[2,178]),t(L,[2,179]),t(L,[2,180]),t(L,[2,181]),t(L,[2,182]),{44:h,47:170,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},{30:171,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:179,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:181,50:[1,180],67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:182,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:183,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:184,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{109:[1,185]},{30:186,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:187,65:[1,188],67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:189,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:190,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:191,67:R,80:z,81:B,82:172,116:V,117:H,118:U},t(F,[2,184]),t(a,[2,20]),t(xe,[2,25]),t(se,[2,47],{39:192,18:193,10:oe,40:ce}),t(Se,[2,75],{10:[1,194]}),{10:[1,195]},{30:196,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{77:[1,197],79:198,116:Te,119:Ee},t(Qe,[2,81]),t(Qe,[2,83]),t(Qe,[2,84]),t(Qe,[2,170]),t(Qe,[2,171]),{76:199,79:121,80:Ce,81:we,116:Te,119:Ee},t(De,[2,86]),{8:j,9:M,10:Oe,11:N,12:ke,14:Ae,21:201,27:je,29:[1,200],32:Me,44:Ne,60:Pe,75:Fe,83:141,84:Ie,85:Le,86:Re,87:ze,88:Be,89:Ve,90:He,91:202,105:Ue,109:We,111:Ge,114:Ke,115:qe,116:Je},t(W,[2,103]),t(W,[2,105]),t(W,[2,106]),t(W,[2,159]),t(W,[2,160]),t(W,[2,161]),t(W,[2,162]),t(W,[2,163]),t(W,[2,164]),t(W,[2,165]),t(W,[2,166]),t(W,[2,167]),t(W,[2,168]),t(W,[2,169]),t(W,[2,92]),t(W,[2,93]),t(W,[2,94]),t(W,[2,95]),t(W,[2,96]),t(W,[2,97]),t(W,[2,98]),t(W,[2,99]),t(W,[2,100]),t(W,[2,101]),t(W,[2,102]),{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,203],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:y,87:ee,88:te,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O,121:k,122:ne,123:re,124:ie,125:ae},{10:oe,18:204},t(se,[2,51],{44:$e}),t(be,[2,43]),{10:[1,206],44:h,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:113,114:E,115:D,116:O},{10:[1,207]},{10:[1,208],106:[1,209]},t(et,[2,130]),{10:[1,210],44:h,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:113,114:E,115:D,116:O},{10:[1,211],44:h,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:113,114:E,115:D,116:O},{80:[1,212]},t(I,[2,111],{10:[1,213]}),t(I,[2,113],{10:[1,214]}),{80:[1,215]},t(L,[2,186]),{80:[1,216],98:[1,217]},t(be,[2,57],{113:113,44:h,60:g,89:b,102:x,105:S,106:C,109:w,111:T,114:E,115:D,116:O}),{31:[1,218],67:R,82:219,116:V,117:H,118:U},t(tt,[2,88]),t(tt,[2,90]),t(tt,[2,91]),t(tt,[2,155]),t(tt,[2,156]),t(tt,[2,157]),t(tt,[2,158]),{49:[1,220],67:R,82:219,116:V,117:H,118:U},{30:221,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{51:[1,222],67:R,82:219,116:V,117:H,118:U},{53:[1,223],67:R,82:219,116:V,117:H,118:U},{55:[1,224],67:R,82:219,116:V,117:H,118:U},{57:[1,225],67:R,82:219,116:V,117:H,118:U},{60:[1,226]},{64:[1,227],67:R,82:219,116:V,117:H,118:U},{66:[1,228],67:R,82:219,116:V,117:H,118:U},{30:229,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{31:[1,230],67:R,82:219,116:V,117:H,118:U},{67:R,69:[1,231],71:[1,232],82:219,116:V,117:H,118:U},{67:R,69:[1,234],71:[1,233],82:219,116:V,117:H,118:U},t(se,[2,45],{18:235,10:oe,40:Ze}),t(se,[2,48],{44:Xe}),t(Se,[2,77]),t(Se,[2,76]),{62:[1,236],67:R,82:219,116:V,117:H,118:U},t(Se,[2,79]),t(Qe,[2,82]),{77:[1,237],79:198,116:Te,119:Ee},{30:238,67:R,80:z,81:B,82:172,116:V,117:H,118:U},t(Ye,o,{5:239}),t(W,[2,104]),t(A,[2,35]),{43:240,44:h,45:40,47:41,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},{10:oe,18:241},{10:G,60:K,84:q,92:242,105:J,107:243,108:244,109:Y,110:X,111:Z,112:Q},{10:G,60:K,84:q,92:253,104:[1,254],105:J,107:243,108:244,109:Y,110:X,111:Z,112:Q},{10:G,60:K,84:q,92:255,104:[1,256],105:J,107:243,108:244,109:Y,110:X,111:Z,112:Q},{105:[1,257]},{10:G,60:K,84:q,92:258,105:J,107:243,108:244,109:Y,110:X,111:Z,112:Q},{44:h,47:259,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},t(I,[2,110]),{80:[1,260]},{80:[1,261],98:[1,262]},t(I,[2,118]),t(I,[2,120],{10:[1,263]}),t(I,[2,121]),t(P,[2,58]),t(tt,[2,89]),t(P,[2,59]),{51:[1,264],67:R,82:219,116:V,117:H,118:U},t(P,[2,66]),t(P,[2,61]),t(P,[2,62]),t(P,[2,63]),{109:[1,265]},t(P,[2,65]),t(P,[2,67]),{66:[1,266],67:R,82:219,116:V,117:H,118:U},t(P,[2,69]),t(P,[2,70]),t(P,[2,72]),t(P,[2,71]),t(P,[2,73]),t(se,[2,46],{44:$e}),t([10,44,60,89,102,105,106,109,111,114,115,116],[2,87]),t(Se,[2,80]),{31:[1,267],67:R,82:219,116:V,117:H,118:U},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,268],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:y,87:ee,88:te,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O,121:k,122:ne,123:re,124:ie,125:ae},t(be,[2,55]),{43:269,44:h,45:40,47:41,60:g,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O},t(I,[2,123],{106:nt}),t(rt,[2,132],{108:271,10:G,60:K,84:q,105:J,109:Y,110:X,111:Z,112:Q}),t($,[2,134]),t($,[2,136]),t($,[2,137]),t($,[2,138]),t($,[2,139]),t($,[2,140]),t($,[2,141]),t($,[2,142]),t($,[2,143]),t(I,[2,124],{106:nt}),{10:[1,272]},t(I,[2,125],{106:nt}),{10:[1,273]},t(et,[2,131]),t(I,[2,107],{106:nt}),t(I,[2,108],{113:113,44:h,60:g,89:b,102:x,105:S,106:C,109:w,111:T,114:E,115:D,116:O}),t(I,[2,112]),t(I,[2,114],{10:[1,274]}),t(I,[2,115]),{98:[1,275]},{51:[1,276]},{62:[1,277]},{66:[1,278]},{8:j,9:M,11:N,21:279},t(A,[2,34]),t(be,[2,54]),{10:G,60:K,84:q,105:J,107:280,108:244,109:Y,110:X,111:Z,112:Q},t($,[2,135]),{14:le,44:ue,60:de,89:fe,101:281,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye,120:88},{14:le,44:ue,60:de,89:fe,101:282,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye,120:88},{98:[1,283]},t(I,[2,122]),t(P,[2,60]),{30:284,67:R,80:z,81:B,82:172,116:V,117:H,118:U},t(P,[2,68]),t(Ye,o,{5:285}),t(rt,[2,133],{108:271,10:G,60:K,84:q,105:J,109:Y,110:X,111:Z,112:Q}),t(I,[2,128],{120:168,10:[1,286],14:le,44:ue,60:de,89:fe,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye}),t(I,[2,129],{120:168,10:[1,287],14:le,44:ue,60:de,89:fe,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye}),t(I,[2,116]),{31:[1,288],67:R,82:219,116:V,117:H,118:U},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,289],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:y,87:ee,88:te,89:b,102:x,105:S,106:C,109:w,111:T,113:42,114:E,115:D,116:O,121:k,122:ne,123:re,124:ie,125:ae},{10:G,60:K,84:q,92:290,105:J,107:243,108:244,109:Y,110:X,111:Z,112:Q},{10:G,60:K,84:q,92:291,105:J,107:243,108:244,109:Y,110:X,111:Z,112:Q},t(P,[2,64]),t(A,[2,33]),t(I,[2,126],{106:nt}),t(I,[2,127],{106:nt})],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 ee(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(ee,`popStack`);function te(){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(te,`lex`);for(var b,x,S,C,w,T={},E,D,O,k;;){if(S=r[r.length-1],this.defaultActions[S]?C=this.defaultActions[S]:(b??=te(),C=s[S]&&s[S][b]),C===void 0||!C.length||!C[0]){var ne=``;for(E in k=[],s[S])this.terminals_[E]&&E>f&&k.push(`'`+this.terminals_[E]+`'`);ne=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
10
|
+
`+h.showPosition()+`
|
|
11
|
+
Expecting `+k.join(`, `)+`, got '`+(this.terminals_[b]||b)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(b==p?`end of input`:`'`+(this.terminals_[b]||b)+`'`),this.parseError(ne,{text:h.match,token:this.terminals_[b]||b,line:h.yylineno,loc:v,expected:k})}if(C[0]instanceof Array&&C.length>1)throw Error(`Parse Error: multiple actions possible at state: `+S+`, token: `+b);switch(C[0]){case 1:r.push(b),a.push(h.yytext),o.push(h.yylloc),r.push(C[1]),b=null,x?(b=x,x=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(D=this.productions_[C[1]][1],T.$=a[a.length-D],T._$={first_line:o[o.length-(D||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(D||1)].first_column,last_column:o[o.length-1].last_column},y&&(T._$.range=[o[o.length-(D||1)].range[0],o[o.length-1].range[1]]),w=this.performAction.apply(T,[c,u,l,g.yy,C[1],a,o].concat(m)),w!==void 0)return w;D&&(r=r.slice(0,-1*D*2),a=a.slice(0,-1*D),o=o.slice(0,-1*D)),r.push(this.productions_[C[1]][0]),a.push(T.$),o.push(T._$),O=s[r[r.length-2]][r[r.length-1]],r.push(O);break;case 3:return!0}}return!0},`parse`)};it.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).
|
|
12
|
+
`+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()+`
|
|
13
|
+
`+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.
|
|
14
|
+
`+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`),34;case 1:return this.popState(),`acc_title_value`;case 2:return this.begin(`acc_descr`),36;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=``,40;case 8:return this.pushState(`shapeDataStr`),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),40;case 11:return 40;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 95;case 17:this.popState();break;case 18:return 96;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 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin(`click`);break;case 33:this.popState();break;case 34:return 88;case 35:return e.lex.firstGraph()&&this.begin(`dir`),12;case 36:return e.lex.firstGraph()&&this.begin(`dir`),12;case 37:return e.lex.firstGraph()&&this.begin(`dir`),12;case 38:return e.lex.firstGraph()&&this.begin(`dir`),12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return this.popState(),14;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;case 71:return this.pushState(`edgeText`),75;case 72:return 119;case 73:return this.popState(),77;case 74:return this.pushState(`thickEdgeText`),75;case 75:return 119;case 76:return this.popState(),77;case 77:return this.pushState(`dottedEdgeText`),75;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;case 81:return`TEXT`;case 82:return this.pushState(`ellipseText`),52;case 83:return this.popState(),55;case 84:return this.pushState(`text`),54;case 85:return this.popState(),57;case 86:return this.pushState(`text`),56;case 87:return 58;case 88:return this.pushState(`text`),67;case 89:return this.popState(),64;case 90:return this.pushState(`text`),63;case 91:return this.popState(),49;case 92:return this.pushState(`text`),48;case 93:return this.popState(),69;case 94:return this.popState(),71;case 95:return 117;case 96:return this.pushState(`trapText`),68;case 97:return this.pushState(`trapText`),70;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return`SEP`;case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;case 110:return this.pushState(`text`),62;case 111:return this.popState(),51;case 112:return this.pushState(`text`),50;case 113:return this.popState(),31;case 114:return this.pushState(`text`),29;case 115:return this.popState(),66;case 116:return this.pushState(`text`),65;case 117:return`TEXT`;case 118:return`QUOTE`;case 119:return 9;case 120:return 10;case 121:return 11}},`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]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_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*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([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])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],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,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}}})();function at(){this.yy={}}return e.n(at,`Parser`),at.prototype=it,it.Parser=at,new at})();_.parser=_;var v=_,y=Object.assign({},v);y.parse=e=>{let t=e.replace(/}\s*\n/g,`}
|
|
15
|
+
`);return v.parse(t)};var ee=y,te=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=``;for(let n=0;n<o.n(t.THEME_COLOR_LIMIT,i);n++){let t=i[n%i.length],o=s?`fill: ${r[n%r.length]};`:``,l=`[data-look="${a}"][data-color-id="color-${n}"]`,u=e.n(e=>`${l}.node ${e}, ${l}.rough-node ${e}`,`collapsedRule`),d=e.n(e=>`${l}.swimlane.cluster .swimlane-title${e}, ${l}.swimlane.cluster .swimlane-body${e}`,`laneRule`);c+=`
|
|
16
|
+
|
|
17
|
+
${l}.cluster:not(.swimlane) rect {
|
|
18
|
+
stroke: ${t};
|
|
19
|
+
${o}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${l}.cluster:not(.swimlane) path {
|
|
23
|
+
stroke: ${t};
|
|
24
|
+
${o}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Lane, classic and neo. */
|
|
28
|
+
${l}.swimlane.cluster rect.swimlane-title,
|
|
29
|
+
${l}.swimlane.cluster rect.swimlane-body {
|
|
30
|
+
stroke: ${t};
|
|
31
|
+
${o}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
|
|
35
|
+
${d(` path:nth-of-type(2)`)} {
|
|
36
|
+
stroke: ${t};
|
|
37
|
+
}
|
|
38
|
+
${s?`
|
|
39
|
+
/* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
|
|
40
|
+
${d(` path:first-of-type`)} {
|
|
41
|
+
stroke: ${r[n%r.length]};
|
|
42
|
+
}
|
|
43
|
+
`:``}
|
|
44
|
+
${u(`.collapsed-group`)},
|
|
45
|
+
${u(`.collapsed-group path`)} {
|
|
46
|
+
stroke: ${t};
|
|
47
|
+
${o}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* The ellipsis dots and the separator take clusterBorder further down, so without
|
|
51
|
+
these the container is palette-coloured while its own markers are not. */
|
|
52
|
+
${u(`.collapsed-indicator`)} {
|
|
53
|
+
fill: ${t};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
${u(`.collapsed-separator`)} {
|
|
57
|
+
stroke: ${t};
|
|
58
|
+
}
|
|
59
|
+
`}return c},`genColor`),b=e.n((e,t)=>{let i=r.h,a=i(e,`r`),o=i(e,`g`),s=i(e,`b`);return n.at(a,o,s,t)},`fade`),x=e.n(e=>`${te(e)}
|
|
60
|
+
.label {
|
|
61
|
+
font-family: ${e.fontFamily};
|
|
62
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
63
|
+
}
|
|
64
|
+
.cluster-label text {
|
|
65
|
+
fill: ${e.titleColor};
|
|
66
|
+
}
|
|
67
|
+
.cluster-label span {
|
|
68
|
+
color: ${e.titleColor};
|
|
69
|
+
}
|
|
70
|
+
.cluster-label span p {
|
|
71
|
+
background-color: transparent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.label text,span {
|
|
75
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
76
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.node rect,
|
|
80
|
+
.node circle,
|
|
81
|
+
.node ellipse,
|
|
82
|
+
.node polygon,
|
|
83
|
+
.node path {
|
|
84
|
+
fill: ${e.mainBkg};
|
|
85
|
+
stroke: ${e.nodeBorder};
|
|
86
|
+
stroke-width: ${e.strokeWidth??1}px;
|
|
87
|
+
}
|
|
88
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
89
|
+
text-anchor: middle;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.node .katex path {
|
|
93
|
+
fill: #000;
|
|
94
|
+
stroke: #000;
|
|
95
|
+
stroke-width: 1px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
99
|
+
text-align: center;
|
|
100
|
+
}
|
|
101
|
+
.node.clickable {
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
.root .anchor path {
|
|
107
|
+
fill: ${e.lineColor} !important;
|
|
108
|
+
stroke-width: 0;
|
|
109
|
+
stroke: ${e.lineColor};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.arrowheadPath {
|
|
113
|
+
fill: ${e.arrowheadColor};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.edgePaths .path {
|
|
117
|
+
stroke: ${e.lineColor};
|
|
118
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.flowchart-link {
|
|
122
|
+
stroke: ${e.lineColor};
|
|
123
|
+
fill: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.edgeLabel {
|
|
127
|
+
background-color: ${e.edgeLabelBackground};
|
|
128
|
+
p {
|
|
129
|
+
background-color: ${e.edgeLabelBackground};
|
|
130
|
+
}
|
|
131
|
+
rect {
|
|
132
|
+
opacity: 0.5;
|
|
133
|
+
background-color: ${e.edgeLabelBackground};
|
|
134
|
+
fill: ${e.edgeLabelBackground};
|
|
135
|
+
}
|
|
136
|
+
text-align: center;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* For html labels only */
|
|
140
|
+
.labelBkg {
|
|
141
|
+
background-color: ${b(e.edgeLabelBackground,.5)};
|
|
142
|
+
// background-color:
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.cluster rect {
|
|
146
|
+
fill: ${e.clusterBkg};
|
|
147
|
+
stroke: ${e.clusterBorder};
|
|
148
|
+
stroke-width: 1px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.cluster text {
|
|
152
|
+
fill: ${e.titleColor};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.cluster span {
|
|
156
|
+
color: ${e.titleColor};
|
|
157
|
+
}
|
|
158
|
+
/* .cluster div {
|
|
159
|
+
color: ${e.titleColor};
|
|
160
|
+
} */
|
|
161
|
+
|
|
162
|
+
/* Collapsed subgraph node (@{ view: collapsed }) */
|
|
163
|
+
.node .collapsed-indicator {
|
|
164
|
+
fill: ${e.clusterBorder};
|
|
165
|
+
stroke: none;
|
|
166
|
+
opacity: 0.6;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.node .collapsed-separator {
|
|
170
|
+
stroke: ${e.clusterBorder};
|
|
171
|
+
stroke-width: 0.75px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
div.mermaidTooltip {
|
|
175
|
+
position: absolute;
|
|
176
|
+
text-align: center;
|
|
177
|
+
max-width: 200px;
|
|
178
|
+
padding: 2px;
|
|
179
|
+
font-family: ${e.fontFamily};
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
background: ${e.tertiaryColor};
|
|
182
|
+
border: 1px solid ${e.border2};
|
|
183
|
+
border-radius: 2px;
|
|
184
|
+
pointer-events: none;
|
|
185
|
+
z-index: 100;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.flowchartTitleText {
|
|
189
|
+
text-anchor: middle;
|
|
190
|
+
font-size: 18px;
|
|
191
|
+
fill: ${e.textColor};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
rect.text {
|
|
195
|
+
fill: none;
|
|
196
|
+
stroke-width: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.icon-shape, .image-shape {
|
|
200
|
+
background-color: ${e.edgeLabelBackground};
|
|
201
|
+
p {
|
|
202
|
+
background-color: ${e.edgeLabelBackground};
|
|
203
|
+
padding: 2px;
|
|
204
|
+
}
|
|
205
|
+
.label rect {
|
|
206
|
+
opacity: 0.5;
|
|
207
|
+
background-color: ${e.edgeLabelBackground};
|
|
208
|
+
fill: ${e.edgeLabelBackground};
|
|
209
|
+
}
|
|
210
|
+
text-align: center;
|
|
211
|
+
}
|
|
212
|
+
${a.t()}
|
|
213
|
+
`,`getStyles`),S=e.n(({styles:t=x}={})=>({parser:ee,get db(){return new h},renderer:g,styles:t,init:e.n(e=>{e.flowchart||={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,n.G({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},`init`)}),`createFlowDiagram`),C=S();Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return S}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-BG4553SI-DFPUniBw.cjs");var r=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze({...r,...i}),o=Object.freeze({...a,body:``,hidden:!1}),s=Object.freeze({width:null,height:null}),c=Object.freeze({...s,...i}),l=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!u(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!u(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!u(e,n)?null:e}return null},u=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function d(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function f(e,t){let n=d(e,t);for(let r in o)r in i?r in e&&!(r in n)&&(n[r]=i[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function p(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function m(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=f(r[e]||i[e],a)}return o(t),n.forEach(o),f(e,a)}function h(e,t){if(e.icons[t])return m(e,t,[]);let n=p(e,[t])[t];return n?m(e,t,n):null}var g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function v(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(g);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=_.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function y(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function b(e,t){return e?`<defs>`+e+`</defs>`+t:t}function x(e,t,n){let r=y(e);return b(r.defs,t+r.content+n)}var S=e=>e===`unset`||e===`undefined`||e===`none`;function C(e,t){let n={...a,...e},r={...c,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},o=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,a=e.rotate;n?r?a+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(a<0&&(a-=Math.floor(a/4)*4),a%=4,a){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(o=x(o,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,l=r.height,u=i.width,d=i.height,f,p;s===null?(p=l===null?`1em`:l===`auto`?d:l,f=v(p,u/d)):(f=s===`auto`?u:s,p=l===null?v(f,d/u):l===`auto`?d:l);let m={},h=(e,t)=>{S(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:o}}var w=/\sid="(\S+)"/g,T=new Map;function E(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=T.get(e)||0;return T.set(e,t+1),t?`${e}${t}`:e}function D(e){let t=[],n;for(;n=w.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=E(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function O(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var k={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},A=new Map,j=new Map,M=e.n(e=>{for(let n of e){if(!n.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(t.m.debug(`Registering icon pack:`,n.name),`loader`in n)j.set(n.name,n.loader);else if(`icons`in n)A.set(n.name,n.icons);else throw t.m.error(`Invalid icon loader:`,n),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),N=e.n(e=>A.has(e)||j.has(e),`isIconPackRegistered`),P=e.n(async(e,n)=>{let r=l(e,!0,n!==void 0);if(!r)throw Error(`Invalid icon name: ${e}`);let i=r.prefix||n;if(!i)throw Error(`Icon name must contain a prefix: ${e}`);let a=A.get(i);if(!a){let e=j.get(i);if(!e)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await e(),prefix:i},A.set(i,a)}catch(e){throw t.m.error(e),Error(`Failed to load icon set: ${r.prefix}`)}}let o=h(a,r.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),F=e.n(async e=>{try{return await P(e),!0}catch{return!1}},`isIconAvailable`),I=e.n(async(e,r,i)=>{let a;try{a=await P(e,r?.fallbackPrefix)}catch(e){t.m.error(e),a=k}let o=C(a,r),s=O(D(o.body),{...o.attributes,...i});return n.z(s,n.y())},`getIconSVG`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return I}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
2
|
import { m as t } from "./src-65Lfw03T.js";
|
|
3
|
-
import { y as n, z as r } from "./chunk-
|
|
3
|
+
import { y as n, z as r } from "./chunk-BG4553SI-j_gQs8M_.js";
|
|
4
4
|
//#region ../node_modules/@iconify/utils/lib/icon/defaults.js
|
|
5
5
|
var i = Object.freeze({
|
|
6
6
|
left: 0,
|
|
@@ -219,7 +219,7 @@ function k(e, t) {
|
|
|
219
219
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
222
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-R3KSYZAL.mjs
|
|
223
223
|
var A = {
|
|
224
224
|
body: "<g><rect width=\"80\" height=\"80\" style=\"fill: #087ebf; stroke-width: 0px;\"/><text transform=\"translate(21.16 64.67)\" style=\"fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;\"><tspan x=\"0\" y=\"0\">?</tspan></text></g>",
|
|
225
225
|
height: 80,
|
|
@@ -231,7 +231,7 @@ var A = {
|
|
|
231
231
|
else if ("icons" in n) j.set(n.name, n.icons);
|
|
232
232
|
else throw t.error("Invalid icon loader:", n), Error("Invalid icon loader. Must have either \"icons\" or \"loader\" property.");
|
|
233
233
|
}
|
|
234
|
-
}, "registerIconPacks"), P = /* @__PURE__ */ e(async (e, n) => {
|
|
234
|
+
}, "registerIconPacks"), P = /* @__PURE__ */ e((e) => j.has(e) || M.has(e), "isIconPackRegistered"), F = /* @__PURE__ */ e(async (e, n) => {
|
|
235
235
|
let r = u(e, !0, n !== void 0);
|
|
236
236
|
if (!r) throw Error(`Invalid icon name: ${e}`);
|
|
237
237
|
let i = r.prefix || n;
|
|
@@ -252,16 +252,16 @@ var A = {
|
|
|
252
252
|
let o = g(a, r.name);
|
|
253
253
|
if (!o) throw Error(`Icon not found: ${e}`);
|
|
254
254
|
return o;
|
|
255
|
-
}, "getRegisteredIconData"),
|
|
255
|
+
}, "getRegisteredIconData"), I = /* @__PURE__ */ e(async (e) => {
|
|
256
256
|
try {
|
|
257
|
-
return await
|
|
257
|
+
return await F(e), !0;
|
|
258
258
|
} catch {
|
|
259
259
|
return !1;
|
|
260
260
|
}
|
|
261
|
-
}, "isIconAvailable"),
|
|
261
|
+
}, "isIconAvailable"), L = /* @__PURE__ */ e(async (e, i, a) => {
|
|
262
262
|
let o;
|
|
263
263
|
try {
|
|
264
|
-
o = await
|
|
264
|
+
o = await F(e, i?.fallbackPrefix);
|
|
265
265
|
} catch (e) {
|
|
266
266
|
t.error(e), o = A;
|
|
267
267
|
}
|
|
@@ -272,4 +272,4 @@ var A = {
|
|
|
272
272
|
return r(c, n());
|
|
273
273
|
}, "getIconSVG");
|
|
274
274
|
//#endregion
|
|
275
|
-
export { A as i,
|
|
275
|
+
export { A as a, N as i, I as n, P as r, L as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
2
|
import { m as t, p as n } from "./src-65Lfw03T.js";
|
|
3
|
-
import { F as r, k as i, s as a, y as o, z as s } from "./chunk-
|
|
4
|
-
import { a as c } from "./chunk-
|
|
5
|
-
import { n as l, t as u } from "./chunk-
|
|
3
|
+
import { F as r, k as i, s as a, y as o, z as s } from "./chunk-BG4553SI-j_gQs8M_.js";
|
|
4
|
+
import { a as c } from "./chunk-6MUBBAK2-DlUTxzYh.js";
|
|
5
|
+
import { n as l, t as u } from "./chunk-R3KSYZAL-DeNSy3X8.js";
|
|
6
6
|
//#region ../node_modules/mermaid/node_modules/marked/lib/marked.esm.js
|
|
7
7
|
function d() {
|
|
8
8
|
return {
|
|
@@ -1362,7 +1362,7 @@ function Xe(e) {
|
|
|
1362
1362
|
}), a;
|
|
1363
1363
|
}
|
|
1364
1364
|
//#endregion
|
|
1365
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
1365
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-STOXU5M4.mjs
|
|
1366
1366
|
var H = typeof performance < "u" && typeof performance.now == "function", U = /* @__PURE__ */ e(() => H ? performance.now() : 0, "now"), W = "🧜 ", Ze = "Mermaid render", Qe = "Mermaid", $e = {
|
|
1367
1367
|
parse: "tertiary",
|
|
1368
1368
|
prepare: "secondary",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-BG4553SI-DFPUniBw.cjs"),r=require("./chunk-6MUBBAK2-BTabKnTR.cjs"),i=require("./chunk-R3KSYZAL-BQPJVcO7.cjs");function a(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var o=a();function s(e){o=e}var c={exec:()=>null};function l(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(d.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var u=(()=>{try{return!0}catch{return!1}})(),d={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},f=/^(?:[ \t]*(?:\n|$))+/,p=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,m=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,h=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ee=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,g=/(?:[*+-]|\d{1,9}[.)])/,_=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,te=l(_).replace(/bull/g,g).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),ne=l(_).replace(/bull/g,g).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),v=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,re=/^[^\n]+/,y=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ie=l(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,y).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ae=l(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,g).getRegex(),b=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,x=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,oe=l(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,x).replace(`tag`,b).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),se=l(v).replace(`hr`,h).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,b).getRegex(),S={blockquote:l(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,se).getRegex(),code:p,def:ie,fences:m,heading:ee,hr:h,html:oe,lheading:te,list:ae,newline:f,paragraph:se,table:c,text:re},ce=l(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,h).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,b).getRegex(),le={...S,lheading:ne,table:ce,paragraph:l(v).replace(`hr`,h).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,ce).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,b).getRegex()},ue={...S,html:l(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,x).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:c,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:l(v).replace(`hr`,h).replace(`heading`,` *#{1,6} *[^
|
|
2
2
|
]`).replace(`lheading`,te).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},de=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,fe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,pe=/^( {2,}|\\)\n(?!\s*$)/,me=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,C=/[\p{P}\p{S}]/u,w=/[\s\p{P}\p{S}]/u,he=/[^\s\p{P}\p{S}]/u,ge=l(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,w).getRegex(),_e=/(?!~)[\p{P}\p{S}]/u,ve=/(?!~)[\s\p{P}\p{S}]/u,ye=/(?:[^\s\p{P}\p{S}]|~)/u,be=l(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,u?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),xe=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Se=l(xe,`u`).replace(/punct/g,C).getRegex(),Ce=l(xe,`u`).replace(/punct/g,_e).getRegex(),we=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,Te=l(we,`gu`).replace(/notPunctSpace/g,he).replace(/punctSpace/g,w).replace(/punct/g,C).getRegex(),Ee=l(we,`gu`).replace(/notPunctSpace/g,ye).replace(/punctSpace/g,ve).replace(/punct/g,_e).getRegex(),De=l(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,he).replace(/punctSpace/g,w).replace(/punct/g,C).getRegex(),Oe=l(/\\(punct)/,`gu`).replace(/punct/g,C).getRegex(),ke=l(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ae=l(x).replace(`(?:-->|$)`,`-->`).getRegex(),je=l(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Ae).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),T=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Me=l(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace(`label`,T).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),E=l(/^!?\[(label)\]\[(ref)\]/).replace(`label`,T).replace(`ref`,y).getRegex(),Ne=l(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,y).getRegex(),Pe=l(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,E).replace(`nolink`,Ne).getRegex(),Fe=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,D={_backpedal:c,anyPunctuation:Oe,autolink:ke,blockSkip:be,br:pe,code:fe,del:c,emStrongLDelim:Se,emStrongRDelimAst:Te,emStrongRDelimUnd:De,escape:de,link:Me,nolink:Ne,punctuation:ge,reflink:E,reflinkSearch:Pe,tag:je,text:me,url:c},Ie={...D,link:l(/^!?\[(label)\]\((.*?)\)/).replace(`label`,T).getRegex(),reflink:l(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,T).getRegex()},O={...D,emStrongRDelimAst:Ee,emStrongLDelim:Ce,url:l(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,Fe).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:l(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,Fe).getRegex()},Le={...O,br:l(pe).replace(`{2,}`,`*`).getRegex(),text:l(O.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},k={normal:S,gfm:le,pedantic:ue},A={normal:D,gfm:O,breaks:Le,pedantic:Ie},Re={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},ze=e=>Re[e];function j(e,t){if(t){if(d.escapeTest.test(e))return e.replace(d.escapeReplace,ze)}else if(d.escapeTestNoEncode.test(e))return e.replace(d.escapeReplaceNoEncode,ze);return e}function Be(e){try{e=encodeURI(e).replace(d.percentDecode,`%`)}catch{return null}return e}function Ve(e,t){let n=e.replace(d.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(d.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(d.slashPipe,`|`);return n}function M(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function He(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Ue(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function We(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
3
3
|
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
4
4
|
`)}var N=class{options;rules;lexer;constructor(e){this.options=e||o}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:M(e,`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-BN1VgXwj.cjs"),n=require("./chunk-BG4553SI-DFPUniBw.cjs");var r=e.n((e,r,o,s)=>{e.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(e,r);n.c(e,l,c,s);let f=a(u,d,c,l,r);e.attr(`viewBox`,f),t.m.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=e.n((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=e.n((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
2
|
import { m as t } from "./src-65Lfw03T.js";
|
|
3
|
-
import { c as n } from "./chunk-
|
|
4
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
3
|
+
import { c as n } from "./chunk-BG4553SI-j_gQs8M_.js";
|
|
4
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-TU62E6Q5.mjs
|
|
5
5
|
var r = /* @__PURE__ */ e((e, r, o, s) => {
|
|
6
6
|
e.attr("class", o);
|
|
7
7
|
let { width: c, height: l, x: u, y: d } = i(e, r);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
|
-
import { b as t } from "./chunk-
|
|
3
|
-
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
2
|
+
import { b as t } from "./chunk-BG4553SI-j_gQs8M_.js";
|
|
3
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-X4PVCEUW.mjs
|
|
4
4
|
var n = /* @__PURE__ */ e((e) => {
|
|
5
5
|
let { handDrawnSeed: n } = t();
|
|
6
6
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-BG4553SI-DFPUniBw.cjs");var n=e.n(e=>{let{handDrawnSeed:n}=t.b();return{fill:e,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e.n(e=>Array.isArray(e)?e:e?e.split(`;`).map(e=>e.trim()).filter(Boolean):[],`normalizeStyleList`),i=e.n(e=>{let t=a([...e.cssCompiledStyles||[],...e.cssStyles||[],...r(e.labelStyle)]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),a=e.n(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),o=e.n(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),s=e.n(e=>{let{stylesArray:t}=i(e),n=[],r=[],a=[],s=[];return t.forEach(e=>{let t=e[0];o(t)?n.push(e.join(`:`)+` !important`):(r.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&a.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:r.join(`;`),stylesArray:t,borderStyles:a,backgroundStyles:s}},`styles2String`),c=e.n((e,n)=>{let{themeVariables:r,handDrawnSeed:a}=t.b(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:c}=i(e);return Object.assign({roughness:.7,fill:c.get(`fill`)||s,fillStyle:`hachure`,fillWeight:1.5,hachureGap:1.5,stroke:c.get(`stroke`)||o,seed:a,strokeWidth:c.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:l(c.get(`stroke-dasharray`))},n)},`userNodeOverrides`),l=e.n(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|