cli-jaw 2.17.73 → 2.17.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +10 -10
- package/README.ko.md +10 -10
- package/README.md +10 -10
- package/README.zh-CN.md +10 -10
- package/dist/server.js +33 -1
- package/dist/server.js.map +1 -1
- package/dist/src/agent/claude-runtime-run.js +9 -2
- package/dist/src/agent/claude-runtime-run.js.map +1 -1
- package/dist/src/agent/lifecycle-handler.js +5 -3
- package/dist/src/agent/lifecycle-handler.js.map +1 -1
- package/dist/src/agent/runtime/claude-sdk-events.js +18 -5
- package/dist/src/agent/runtime/claude-sdk-events.js.map +1 -1
- package/dist/src/agent/runtime/claude-sdk-messages.js +10 -4
- package/dist/src/agent/runtime/claude-sdk-messages.js.map +1 -1
- package/dist/src/agent/runtime/claude-sdk-session.js +8 -0
- package/dist/src/agent/runtime/claude-sdk-session.js.map +1 -1
- package/dist/src/agent/runtime/claude-sdk-version.js +1 -1
- package/dist/src/agent/runtime/codex-projection.js +9 -1
- package/dist/src/agent/runtime/codex-projection.js.map +1 -1
- package/dist/src/agent/runtime/print-activity.js +5 -8
- package/dist/src/agent/runtime/print-activity.js.map +1 -1
- package/dist/src/agent/runtime/projection.js +9 -6
- package/dist/src/agent/runtime/projection.js.map +1 -1
- package/dist/src/agent/spawn/queue.js +3 -0
- package/dist/src/agent/spawn/queue.js.map +1 -1
- package/dist/src/agent/spawn.js +4 -2
- package/dist/src/agent/spawn.js.map +1 -1
- package/dist/src/cli/claude-models.js +2 -0
- package/dist/src/cli/claude-models.js.map +1 -1
- package/dist/src/cli/handlers-runtime.js +1 -0
- package/dist/src/cli/handlers-runtime.js.map +1 -1
- package/dist/src/code-mode/manager.js +75 -18
- package/dist/src/code-mode/manager.js.map +1 -1
- package/dist/src/code-mode/normalize.js +222 -12
- package/dist/src/code-mode/normalize.js.map +1 -1
- package/dist/src/code-mode/session.js +9 -4
- package/dist/src/code-mode/session.js.map +1 -1
- package/dist/src/code-mode/store.js +57 -8
- package/dist/src/code-mode/store.js.map +1 -1
- package/dist/src/core/config.js +3 -0
- package/dist/src/core/config.js.map +1 -1
- package/dist/src/manager/routes/embedded-browser.js +317 -50
- package/dist/src/manager/routes/embedded-browser.js.map +1 -1
- package/dist/src/memory/heartbeat-mention-watch.js +15 -1
- package/dist/src/memory/heartbeat-mention-watch.js.map +1 -1
- package/dist/src/memory/heartbeat.js +82 -17
- package/dist/src/memory/heartbeat.js.map +1 -1
- package/dist/src/messaging/silent-reply.js +20 -0
- package/dist/src/messaging/silent-reply.js.map +1 -0
- package/dist/src/messaging/slack-pre-send-hook.js +192 -0
- package/dist/src/messaging/slack-pre-send-hook.js.map +1 -0
- package/dist/src/orchestrator/gateway.js +5 -4
- package/dist/src/orchestrator/gateway.js.map +1 -1
- package/dist/src/orchestrator/pipeline.js +5 -0
- package/dist/src/orchestrator/pipeline.js.map +1 -1
- package/dist/src/routes/code-native.js +39 -16
- package/dist/src/routes/code-native.js.map +1 -1
- package/dist/src/routes/messaging.js +38 -4
- package/dist/src/routes/messaging.js.map +1 -1
- package/dist/src/shared/markdown-table.js +99 -0
- package/dist/src/shared/markdown-table.js.map +1 -0
- package/dist/src/slack/action-runtime.js +74 -5
- package/dist/src/slack/action-runtime.js.map +1 -1
- package/dist/src/slack/action-store.js +65 -1
- package/dist/src/slack/action-store.js.map +1 -1
- package/dist/src/slack/actions-message.js +3 -1
- package/dist/src/slack/actions-message.js.map +1 -1
- package/dist/src/slack/bot.js +72 -10
- package/dist/src/slack/bot.js.map +1 -1
- package/dist/src/slack/event-tap.js +97 -0
- package/dist/src/slack/event-tap.js.map +1 -0
- package/dist/src/slack/failure-routing.js +55 -0
- package/dist/src/slack/failure-routing.js.map +1 -0
- package/dist/src/slack/failure-store.js +22 -0
- package/dist/src/slack/failure-store.js.map +1 -0
- package/dist/src/slack/forwarder.js +14 -0
- package/dist/src/slack/forwarder.js.map +1 -1
- package/dist/src/slack/ingress.js +1 -0
- package/dist/src/slack/ingress.js.map +1 -1
- package/dist/src/slack/progress-lifecycle.js +4 -0
- package/dist/src/slack/progress-lifecycle.js.map +1 -1
- package/dist/src/slack/progress.js +15 -0
- package/dist/src/slack/progress.js.map +1 -1
- package/dist/src/slack/tool-context.js +63 -0
- package/dist/src/slack/tool-context.js.map +1 -1
- package/dist/src/slack/workflow.js +7 -3
- package/dist/src/slack/workflow.js.map +1 -1
- package/dist/src/trace/redact.js +1 -1
- package/dist/src/trace/redact.js.map +1 -1
- package/package.json +2 -3
- package/public/css/markdown.css +17 -1
- package/public/dist/.vite/manifest.json +1389 -1378
- package/public/dist/assets/Activity-_mROd5PB.js +1 -0
- package/public/dist/assets/AdvancedExport-BVZC_94z.js +1 -0
- package/public/dist/assets/Agent-Bl8JPzQg.js +1 -0
- package/public/dist/assets/{AsideSelectionFields-DvU5xWAP.js → AsideSelectionFields-Br5O1IGF.js} +1 -1
- package/public/dist/assets/Browser-S8JF5UNK.js +1 -0
- package/public/dist/assets/BrowserPanel-BblnraGJ.js +3 -0
- package/public/dist/assets/ChannelEnablementControl-BoXzEMji.js +85 -0
- package/public/dist/assets/{ChannelSetupEntry-B0b4TdhH.js → ChannelSetupEntry-5ovZkhmE.js} +1 -1
- package/public/dist/assets/ChannelsDiscord-DBRRtuL0.js +1 -0
- package/public/dist/assets/ChannelsSlack-mWMsKekl.js +1 -0
- package/public/dist/assets/ChannelsTelegram-6p1lbx3c.js +1 -0
- package/public/dist/assets/CodeCanvas-Ba7ROkA8.js +3 -0
- package/public/dist/assets/{DashboardMeta-wjEuh9-E.js → DashboardMeta-DbRne9as.js} +1 -1
- package/public/dist/assets/DesignPanel-CeaqySk2.js +2 -0
- package/public/dist/assets/{Developer-B3cDkldo.js → Developer-Bza2nF82.js} +1 -1
- package/public/dist/assets/DiffPanel-wAvVWJ9I.js +3 -0
- package/public/dist/assets/Display-B2Z-lPGo.js +1 -0
- package/public/dist/assets/Display-D3WNkayx.js +1 -0
- package/public/dist/assets/DocPanel-Jq6Ks-W-.js +1 -0
- package/public/dist/assets/{Embedding-D-T92-En.js → Embedding-B7d2-LKQ.js} +1 -1
- package/public/dist/assets/{Employees-Cf4IeF0N.js → Employees-D_ywKQYu.js} +1 -1
- package/public/dist/assets/{FolderPanel-DOLT_syh.js → FolderPanel-CRi8MS5C.js} +3 -3
- package/public/dist/assets/Heartbeat-BmjddZ9I.js +1 -0
- package/public/dist/assets/{InlineWarn-Cq4z28F3.js → InlineWarn-vBHtuiN7.js} +1 -1
- package/public/dist/assets/MarkdownRenderer-BamzcuOK.js +18 -0
- package/public/dist/assets/MarkdownRenderer-CYlCMwtr.js +1 -0
- package/public/dist/assets/Mcp-BvEl62A8.js +4 -0
- package/public/dist/assets/Memory-BZDSveeA.js +1 -0
- package/public/dist/assets/MilkdownWysiwygEditor-BMJcCB5B.js +160 -0
- package/public/dist/assets/ModelProvider-79Zqa21N.js +1 -0
- package/public/dist/assets/Network-CR0UDby3.js +1 -0
- package/public/dist/assets/NotesGraphWorkspace-C1iPvDzX.js +1 -0
- package/public/dist/assets/{PanelLayoutProvider-DRZ4QkBC.js → PanelLayoutProvider-KQn0EFin.js} +1 -1
- package/public/dist/assets/Permissions-C3HpdG9D.js +1 -0
- package/public/dist/assets/Permissions-IIfbAYtc.js +1 -0
- package/public/dist/assets/Profile-Bp2Uo1Gp.js +1 -0
- package/public/dist/assets/{Prompts-BRAgZLNQ.js → Prompts-LW2LqJ8Y.js} +1 -1
- package/public/dist/assets/SpeechKeys-CWXYXkBo.js +1 -0
- package/public/dist/assets/TelegramHub-C8oyn0KM.js +1 -0
- package/public/dist/assets/TerminalPanel-CQjHkHn3.js +16 -0
- package/public/dist/assets/abnfDiagram-VCTEODGH-D0TruaAU.js +1 -0
- package/public/dist/assets/agent-meta-Mkoa-pwP.js +1 -0
- package/public/dist/assets/api-DktmZuf7.js +1 -0
- package/public/dist/assets/{app-BjKzqXCv.css → app-COVWLybB.css} +1 -1
- package/public/dist/assets/app-DdjJ1Rt9.js +59 -0
- package/public/dist/assets/architecture-7GRP2DOG-BwOkVmWy.js +1 -0
- package/public/dist/assets/architectureDiagram-5GKGNRK7-C3bEV5EG.js +36 -0
- package/public/dist/assets/{bgtask-badge-tYRnplEV.js → bgtask-badge-I2LnGkDF.js} +5 -5
- package/public/dist/assets/bgtask-badge-WlheipWK.js +1 -0
- package/public/dist/assets/blockDiagram-I7D4REHJ-DRVJQPQr.js +129 -0
- package/public/dist/assets/{c4Diagram-7LVT6UL2-LEkz5bLc.js → c4Diagram-7LVT6UL2-BTpAk0Oh.js} +8 -8
- package/public/dist/assets/channel-BADgdbiz.js +1 -0
- package/public/dist/assets/chunk-2E4U76K2-DCQ4--ve.js +1 -0
- package/public/dist/assets/chunk-2ZTRR5NV-DQcXEc4G.js +2 -0
- package/public/dist/assets/{chunk-3Z5EZCMW-udVqggne.js → chunk-3Z5EZCMW-DGWuRk8Z.js} +1 -1
- package/public/dist/assets/chunk-4HAMMTFA-DlwZo5aH.js +62 -0
- package/public/dist/assets/{chunk-5V3GS4D5-ecLo0f1p.js → chunk-5V3GS4D5-CeS4BpM4.js} +1 -1
- package/public/dist/assets/{chunk-6AZGARVD-Cou1D2Ji.js → chunk-6AZGARVD-CX6-4vg6.js} +1 -1
- package/public/dist/assets/{chunk-6EIED4P4-DeqPLKcQ.js → chunk-6EIED4P4-BGCUyOFp.js} +1 -1
- package/public/dist/assets/{chunk-6K3QC6MW-Cn9odKk7.js → chunk-6K3QC6MW-DKCbN7g0.js} +1 -1
- package/public/dist/assets/{chunk-6TQVIW2G-IVBzI7O8.js → chunk-6TQVIW2G-B6frloLT.js} +1 -1
- package/public/dist/assets/chunk-747NJXEK-DTfS-BUy.js +2 -0
- package/public/dist/assets/{chunk-75Z2AOVW-BbE6Kwgh.js → chunk-75Z2AOVW-s9GsKoLq.js} +2 -2
- package/public/dist/assets/chunk-CLGD4ZFX-CkbMx7nz.js +1 -0
- package/public/dist/assets/{chunk-DU6HZSFF-zk1cX9hK.js → chunk-DU6HZSFF-Kve-uAsf.js} +31 -31
- package/public/dist/assets/{chunk-F27PBJKO-B30QZPgt.js → chunk-F27PBJKO-Cnx_Y017.js} +1 -1
- package/public/dist/assets/{chunk-FOHPRMQF-CoA4358r.js → chunk-FOHPRMQF-DhwWuAwv.js} +9 -9
- package/public/dist/assets/chunk-GMAD6QVW-CSmc-wky.js +13 -0
- package/public/dist/assets/chunk-GVQU2GXP-CYwps-Ca.js +1 -0
- package/public/dist/assets/{chunk-I5DQTOEV-BYKVfZyL.js → chunk-I5DQTOEV-BgzlyjId.js} +1 -1
- package/public/dist/assets/{chunk-ICYGCRZG-hvV-gq8M.js → chunk-ICYGCRZG-DdylDSek.js} +1 -1
- package/public/dist/assets/{chunk-IH6LHLGP-DTNFuJiP.js → chunk-IH6LHLGP-CnJ_zIDM.js} +1 -1
- package/public/dist/assets/{chunk-ZLD2IHE6-IhoyCIEM.js → chunk-IMKFNOWR-B_O5cXo1.js} +6 -6
- package/public/dist/assets/{chunk-KI3K4JFJ-B4ZziqcX.js → chunk-KI3K4JFJ-AR6SSfUs.js} +1 -1
- package/public/dist/assets/chunk-L3NEJ4N5-C-UQbl_D.js +1 -0
- package/public/dist/assets/{chunk-LNGE3PJU-5-SxdO55.js → chunk-LNGE3PJU-DRjopGY8.js} +4 -4
- package/public/dist/assets/chunk-OSK3NFVY-Icg4EkJ4.js +10 -0
- package/public/dist/assets/chunk-OUJLGHUK-7bP2ipuY.js +2 -0
- package/public/dist/assets/{chunk-P2QGCYS3-8ni2cD3V.js → chunk-P2QGCYS3-rLsFrWD2.js} +1 -1
- package/public/dist/assets/chunk-POPQ4Y6H-pvS-jwKT.js +1 -0
- package/public/dist/assets/chunk-PWAF6VOD-NCpbd1-V.js +1 -0
- package/public/dist/assets/chunk-SHT3W25Y-BzgLgk7J.js +168 -0
- package/public/dist/assets/{chunk-SVP7TREG-Chm-3YCY.js → chunk-SVP7TREG-CTaIV4CJ.js} +4 -4
- package/public/dist/assets/{chunk-HLEWEB6X-CrFaTtiN.js → chunk-TICWLB2K-BgBwrDZH.js} +54 -54
- package/public/dist/assets/{chunk-LQGUR6SS-xn-VsXhF.js → chunk-TLUHSLCS-u75X_M3m.js} +1 -1
- package/public/dist/assets/{chunk-UY3FDG6J-BVPsKpVN.js → chunk-UY3FDG6J-ypI7r5Zu.js} +1 -1
- package/public/dist/assets/chunk-X3CZISLH-NOpCnvgE.js +1 -0
- package/public/dist/assets/{chunk-XHIXRSVI-CQipzMEr.js → chunk-XHIXRSVI-DMHeA0L3.js} +1 -1
- package/public/dist/assets/{chunk-XXDRQBXY-Uq2wLB4L.js → chunk-XXDRQBXY-B2HRxRu1.js} +1 -1
- package/public/dist/assets/classDiagram-ZZMXUADV-DS57CaUF.js +1 -0
- package/public/dist/assets/classDiagram-v2-VYDZK3BY-DS57CaUF.js +1 -0
- package/public/dist/assets/client-Btezu8ky.js +9 -0
- package/public/dist/assets/{clike-D_6L3tnO.js → clike-xvONpD0Z.js} +1 -1
- package/public/dist/assets/constants-CTqPY2lB.js +1 -0
- package/public/dist/assets/cose-bilkent-JH36ORCC-DK8lEzSx.js +1 -0
- package/public/dist/assets/crystal-Bl6YKCG_.js +1 -0
- package/public/dist/assets/cynefin-OW5HDTMX-ChJg9RfW.js +1 -0
- package/public/dist/assets/cynefinDiagram-5FMLGOSQ-CfCxGNBe.js +62 -0
- package/public/dist/assets/cytoscape.esm-D6khvY9F.js +321 -0
- package/public/dist/assets/dagre-BN2sb7bz.js +1 -0
- package/public/dist/assets/dagre-GXQ25YYZ-D7ldzbwc.js +4 -0
- package/public/dist/assets/diagram-S7CK7UJ4-BS7z1jhb.js +30 -0
- package/public/dist/assets/diagram-UQ7AKVKN-ClWq_iyn.js +41 -0
- package/public/dist/assets/diagram-VSXAHHWV-CqQIYz-g.js +3 -0
- package/public/dist/assets/diagram-VX7I27RA-B_TWoS1x.js +24 -0
- package/public/dist/assets/{diagram-Z3DM3KII-HOm2nOM1.js → diagram-Z3DM3KII-C-9G6cjK.js} +1 -1
- package/public/dist/assets/{dist-lsEiXLAb.js → dist-5eQbxmQw.js} +1 -1
- package/public/dist/assets/{dist-Bp7q5-Qc.js → dist-BB-jv8rL.js} +9 -9
- package/public/dist/assets/dist-BI6iarO4.js +1 -0
- package/public/dist/assets/{dist-kYfyPZP9.js → dist-BJYSqj-d.js} +1 -1
- package/public/dist/assets/{dist-CHO5CBK1.js → dist-BTHqiFV5.js} +1 -1
- package/public/dist/assets/dist-BTJL3ijr.js +1 -0
- package/public/dist/assets/dist-BTdw__Ac.js +1 -0
- package/public/dist/assets/dist-BabEweR0.js +1 -0
- package/public/dist/assets/{dist-DJGc9cyj.js → dist-BhiOE4Je.js} +1 -1
- package/public/dist/assets/dist-BilTf2R_.js +1 -0
- package/public/dist/assets/{dist-B_o5XbiL.js → dist-C3TcSBS9.js} +1 -1
- package/public/dist/assets/{dist-CJNnOuaA.js → dist-CGsf1rFO.js} +1 -1
- package/public/dist/assets/{dist-CcmA2WLJ.js → dist-CGzsRBzE.js} +1 -1
- package/public/dist/assets/{dist-XM8qpb8C.js → dist-CMbSipnS.js} +1 -1
- package/public/dist/assets/{dist-D011G-p-.js → dist-CUMQ4CVq.js} +6 -6
- package/public/dist/assets/{dist-TN2_Nms3.js → dist-CnD_n59I.js} +2 -2
- package/public/dist/assets/{dist-Ds6qQDMC.js → dist-D2b8rFhK.js} +1 -1
- package/public/dist/assets/dist-D4DqSwQ2.js +23 -0
- package/public/dist/assets/dist-D9HfhF9D.js +1 -0
- package/public/dist/assets/{dist-DUl4SBwX.js → dist-DWokXs00.js} +1 -1
- package/public/dist/assets/dist-DdqvA4zv.js +9 -0
- package/public/dist/assets/dist-DeyC1sN9.js +1 -0
- package/public/dist/assets/dist-Di0v3BEu.js +1 -0
- package/public/dist/assets/{dist-DBX5LjYY.js → dist-DoBloT63.js} +1 -1
- package/public/dist/assets/dist-JPv0hNyT.js +1 -0
- package/public/dist/assets/dist-KSYtBgaM.js +1 -0
- package/public/dist/assets/dist-LdDcGdMi.js +1 -0
- package/public/dist/assets/dist-NkMr7bN9.js +1 -0
- package/public/dist/assets/{dist-B6-H00Bu.js → dist-cfKP2EZP.js} +1 -1
- package/public/dist/assets/{dist-ClT6EIJP.js → dist-r7Uj7aHZ.js} +1 -1
- package/public/dist/assets/{dist-Ohtnri73.js → dist-sD6o13f2.js} +5 -5
- package/public/dist/assets/{dylan-BCDoL_-p.js → dylan-S7ucR4pR.js} +1 -1
- package/public/dist/assets/ebnfDiagram-PWID7BFC-D-UUemMX.js +1 -0
- package/public/dist/assets/employees-HGGmvr9h.js +33 -0
- package/public/dist/assets/erDiagram-RLTQ6QDP-DWrD2gMN.js +99 -0
- package/public/dist/assets/{error-normalize-jnjrKZDu.js → error-normalize-B1Qok_rC.js} +1 -1
- package/public/dist/assets/esm-DiXGSyHP.js +4 -0
- package/public/dist/assets/eventmodeling-NTZA5JFV-CQtXR2mx.js +1 -0
- package/public/dist/assets/{fields-CicOWY-X.js → fields-BjZx5voq.js} +1 -1
- package/public/dist/assets/flowDiagram-HODETNUW-OcVWrbeH.js +1 -0
- package/public/dist/assets/ganttDiagram-EL5Y4UJY-B63PfZl2.js +292 -0
- package/public/dist/assets/gitGraph-4MIJSDKK-BhtE9IvL.js +1 -0
- package/public/dist/assets/gitGraphDiagram-WWUBYQGX-LSbqOlPw.js +106 -0
- package/public/dist/assets/{graphlib-CGJNr7IJ.js → graphlib-DVKScnWL.js} +1 -1
- package/public/dist/assets/groovy-CUrWKPia.js +1 -0
- package/public/dist/assets/{icons-QgChTDzZ.js → icons-ChnWzzCc.js} +1 -1
- package/public/dist/assets/idb-cache-B9lPiu4R.js +1 -0
- package/public/dist/assets/idb-cache-DCRNTYaU.js +1 -0
- package/public/dist/assets/iframe-renderer-CY6EkgYf.js +1 -0
- package/public/dist/assets/iframe-renderer-Diy4kgO2.js +142 -0
- package/public/dist/assets/info-A6RAGUB7-CdvjKg5T.js +1 -0
- package/public/dist/assets/infoDiagram-27XIBGKW-D46ogWRs.js +2 -0
- package/public/dist/assets/{ishikawaDiagram-5VMMS53U-clFsYLNd.js → ishikawaDiagram-5VMMS53U-AWno_NcU.js} +6 -6
- package/public/dist/assets/javascript-DZ4Qsoqy.js +1 -0
- package/public/dist/assets/javascript-lj9EKOz0.js +1 -0
- package/public/dist/assets/journeyDiagram-3NMN7TZE-Ck2NRLBr.js +139 -0
- package/public/dist/assets/{jsx-runtime-CkEUZM6i.js → jsx-runtime-DZDtxMw1.js} +1 -1
- package/public/dist/assets/kanban-definition-UXKFOSKX-DZHZVYP8.js +89 -0
- package/public/dist/assets/katex-Cy4J_nNl.js +1 -0
- package/public/dist/assets/manager-DIaOU2Vf.js +5 -0
- package/public/dist/assets/manager-DQjyj2aO.css +1 -0
- package/public/dist/assets/memory-BwOHZFr3.js +1 -0
- package/public/dist/assets/memory-eUFypRgE.js +20 -0
- package/public/dist/assets/mermaid-loader-Bc8dzRYA.js +1 -0
- package/public/dist/assets/mermaid-parser.core-BR4wyv6_.js +3 -0
- package/public/dist/assets/mermaid-preprocess-C0kIneRY.js +7 -0
- package/public/dist/assets/mermaid.core-CFjSTb5z.js +1 -0
- package/public/dist/assets/mermaid.core-LL322ONn.js +11 -0
- package/public/dist/assets/message-history-B_ZNUY2q.js +4 -0
- package/public/dist/assets/message-history-CiLUEwFc.js +1 -0
- package/public/dist/assets/{mindmap-definition-THT77NOG-BoWJfXfW.js → mindmap-definition-YA3MSWOX-C83w8Lkx.js} +29 -29
- package/public/dist/assets/{nginx-8H7HVH4w.js → nginx-C-ORUuei.js} +1 -1
- package/public/dist/assets/{ntriples-B9h1VB_g.js → ntriples-CzMBulkp.js} +1 -1
- package/public/dist/assets/packet-AYTQ26CC-E4FuQ9SS.js +1 -0
- package/public/dist/assets/{page-shell-Cz2ylri8.js → page-shell-DNmz6ho8.js} +1 -1
- package/public/dist/assets/pegDiagram-XKGWAZYB-Ce99veKU.js +1 -0
- package/public/dist/assets/{pi-settings-tRVfevu-.js → pi-settings-BNsQ8qT6.js} +1 -1
- package/public/dist/assets/pi-settings-Dqzh0ayi.js +1 -0
- package/public/dist/assets/pie-WAS4IAKB-DfFXe2Ls.js +1 -0
- package/public/dist/assets/pieDiagram-E7YTZNPT-DJdA9QnZ.js +39 -0
- package/public/dist/assets/{powershell-BcIto6Sf.js → powershell-D8WpQPaX.js} +1 -1
- package/public/dist/assets/preload-helper-BZ2o5wmf.js +1 -0
- package/public/dist/assets/presentation-preference-D9SOadIN.js +1 -0
- package/public/dist/assets/presentation-preference-nMt8km7E.js +1 -0
- package/public/dist/assets/pug-CGoiHVBP.js +1 -0
- package/public/dist/assets/{quadrantDiagram-AXDQQJYC-T6Sv85w7.js → quadrantDiagram-AXDQQJYC-hH3v4DNs.js} +6 -6
- package/public/dist/assets/radar-RG4KPBEZ-YAc2iOvS.js +1 -0
- package/public/dist/assets/railroad-74A4TZTK-BFJqYnkA.js +1 -0
- package/public/dist/assets/railroad-abnf-HS5TGJTU-BHlt04u9.js +1 -0
- package/public/dist/assets/railroad-ebnf-LZEXJU2U-TT-f7Txi.js +1 -0
- package/public/dist/assets/railroad-peg-WCYAUIDC-AyjfvGmk.js +1 -0
- package/public/dist/assets/railroadDiagram-O6MQD6OU-BblhUBBS.js +1 -0
- package/public/dist/assets/{react-dom-URBLzV3w.js → react-dom-W24aPQgI.js} +1 -1
- package/public/dist/assets/render-Dgs3nzCZ.js +159 -0
- package/public/dist/assets/{requirementDiagram-IS5BZ75X-Bwa18E8d.js → requirementDiagram-BXWQKSXE-tKxc5G-A.js} +8 -8
- package/public/dist/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/public/dist/assets/{sankeyDiagram-P5KCCOFB-io3P7h-z.js → sankeyDiagram-P5KCCOFB-Cq32xL01.js} +7 -7
- package/public/dist/assets/sequenceDiagram-WJ2MYXX4-BEC_IyrM.js +162 -0
- package/public/dist/assets/settings-8hkzL8Bg.js +1 -0
- package/public/dist/assets/settings-BSMxaup8.js +1 -0
- package/public/dist/assets/settings-DFh4jovJ.js +217 -0
- package/public/dist/assets/settings-core-BgsJJaG5.js +2 -0
- package/public/dist/assets/settings-core-U-fx_-9v.js +1 -0
- package/public/dist/assets/settings-embedding-CXjrQCpY.js +1 -0
- package/public/dist/assets/{shared-CftvKNY9.js → shared-D-HRoQ5T.js} +1 -1
- package/public/dist/assets/sidebar-DB-vrWeg.js +49 -0
- package/public/dist/assets/sizeCapture-INFHLROL-3uHXrFqA.js +1 -0
- package/public/dist/assets/skills-4zBHjNB1.js +1 -0
- package/public/dist/assets/skills-JAP5Y-C7.js +12 -0
- package/public/dist/assets/slash-commands-1ZpHCSXN.js +1 -0
- package/public/dist/assets/slash-commands-D9MK2ST2.js +20 -0
- package/public/dist/assets/stateDiagram-D77RDMKH-BXew1iLw.js +1 -0
- package/public/dist/assets/stateDiagram-v2-MP3YSRHH-BKp55ebb.js +1 -0
- package/public/dist/assets/swimlanes-42K2YHIH-DYlh--m0.js +1 -0
- package/public/dist/assets/swimlanesDiagram-VR7AAH4N-DJjv7fhP.js +8 -0
- package/public/dist/assets/{tiki-AK6FwT8q.js → tiki-CvUEFusT.js} +1 -1
- package/public/dist/assets/timeline-definition-24CTP7MA-C4Ig5tHv.js +120 -0
- package/public/dist/assets/{tool-input-DI7uu8Ah.js → tool-input-C7u0AQMw.js} +1 -1
- package/public/dist/assets/{trace-drawer-B4O0Tl1M.js → trace-drawer-BLGCCu8f.js} +4 -4
- package/public/dist/assets/treeView-Q6P3EWNA-BzFpnMzS.js +1 -0
- package/public/dist/assets/treemap-WGGIJYW6-DlrbAd29.js +1 -0
- package/public/dist/assets/ui-Bp2LVZ2v.js +2 -0
- package/public/dist/assets/ui-Cx4Qp6jr.js +1 -0
- package/public/dist/assets/{vendor-render-BsyPjvQm.js → vendor-render-CnRVYDPP.js} +32 -32
- package/public/dist/assets/vendor-utils-BXzsw95K.js +1 -0
- package/public/dist/assets/{vennDiagram-4TSXK5OY-Zw3mI5Km.js → vennDiagram-4TSXK5OY-CJuv3pW9.js} +8 -8
- package/public/dist/assets/wardley-WFR3VGLG-iSfZtkCK.js +1 -0
- package/public/dist/assets/wardleyDiagram-VM6X3IG4-C6kLelFN.js +78 -0
- package/public/dist/assets/wiki-link-resolver-DknqRIaW.js +22 -0
- package/public/dist/assets/{xychartDiagram-S5SC5T6Z-B1_1yNTd.js → xychartDiagram-S5SC5T6Z-BQavBx4y.js} +7 -7
- package/public/dist/index.html +2 -2
- package/public/dist/manager/index.html +3 -3
- package/public/dist/settings/index.html +1 -1
- package/public/js/constants.ts +1 -0
- package/public/js/render/delegations.ts +2 -0
- package/public/js/render/markdown.ts +14 -2
- package/public/js/render/sanitize.ts +1 -1
- package/public/js/render/table-actions.ts +161 -0
- package/public/js/ui.ts +2 -1
- package/public/locales/en.json +9 -0
- package/public/locales/ja.json +9 -0
- package/public/locales/ko.json +9 -0
- package/public/locales/zh.json +9 -0
- package/public/manager/src/browser-panel/use-embedded-target-sync.ts +161 -113
- package/public/manager/src/code/CodeTranscript.tsx +60 -37
- package/public/manager/src/code/CodeWorkbench.tsx +4 -3
- package/public/manager/src/code/code-controller-draft-storage.ts +9 -4
- package/public/manager/src/code/code-controller-drafts.ts +13 -3
- package/public/manager/src/code/code-controller-runtime.ts +193 -21
- package/public/manager/src/code/code-controller-types.ts +2 -0
- package/public/manager/src/code/code-session-client.ts +20 -2
- package/public/manager/src/code/code-types.ts +7 -0
- package/public/manager/src/code/code.css +31 -0
- package/public/manager/src/code/tool-summary.ts +24 -7
- package/public/manager/src/code/transcript-view-memory.ts +25 -0
- package/public/manager/src/code/use-code-transcript-scroll.ts +85 -45
- package/public/manager/src/code/useCodeTranscriptVirtualRows.ts +16 -1
- package/public/manager/src/notes/rendering/MarkdownRenderer.tsx +25 -5
- package/public/manager/src/notes/rendering/MarkdownTableActions.tsx +81 -0
- package/public/manager/src/notes/rendering/markdown-table-model.ts +62 -0
- package/public/manager/src/panels/desktop-bridge.ts +8 -4
- package/public/manager/src/settings/pages/components/agent/agent-meta.ts +1 -0
- package/scripts/collect-fresh-install-evidence.sh +1 -1
- package/scripts/ensure-pty-spawn-helper.cjs +63 -0
- package/scripts/install-wsl.sh +1 -1
- package/scripts/install.ps1 +1 -1
- package/scripts/install.sh +1 -1
- package/scripts/promote-to-main.sh +2 -294
- package/scripts/release-gates.mjs +5 -26
- package/scripts/release-preview.sh +2 -423
- package/scripts/release-version.mjs +63 -0
- package/scripts/release.sh +182 -0
- package/scripts/require-release-evidence.mjs +6 -10
- package/scripts/verify-npm-provenance.mjs +34 -0
- package/scripts/windows-support-contract.json +1 -1
- package/public/dist/assets/Activity-DsBgOkCP.js +0 -1
- package/public/dist/assets/AdvancedExport-COGQ7vbK.js +0 -1
- package/public/dist/assets/Agent-6qGQN7lY.js +0 -1
- package/public/dist/assets/Browser-r09vOsR1.js +0 -1
- package/public/dist/assets/BrowserPanel-Bb-Bge6B.js +0 -3
- package/public/dist/assets/ChannelEnablementControl-ooOkdd-Q.js +0 -85
- package/public/dist/assets/ChannelsDiscord-9EMLt5b3.js +0 -1
- package/public/dist/assets/ChannelsSlack-B8ETzWFt.js +0 -1
- package/public/dist/assets/ChannelsTelegram-CflLUsQw.js +0 -1
- package/public/dist/assets/CodeCanvas-DKFuJurF.js +0 -3
- package/public/dist/assets/DesignPanel-BOb-HMbl.js +0 -2
- package/public/dist/assets/DiffPanel-D9Cch5FG.js +0 -3
- package/public/dist/assets/Display-BXQxpv6-.js +0 -1
- package/public/dist/assets/Display-Cl4DD334.js +0 -1
- package/public/dist/assets/DocPanel-CMDbvBGX.js +0 -1
- package/public/dist/assets/Heartbeat-Bj8V_bUM.js +0 -1
- package/public/dist/assets/MarkdownRenderer-5xz8Wyte.js +0 -1
- package/public/dist/assets/MarkdownRenderer-C77VMHhX.js +0 -15
- package/public/dist/assets/Mcp-jAcut_fw.js +0 -4
- package/public/dist/assets/Memory-BOXkBFKg.js +0 -1
- package/public/dist/assets/MilkdownWysiwygEditor-BK26KbJ4.js +0 -160
- package/public/dist/assets/ModelProvider-DIDQ37z-.js +0 -1
- package/public/dist/assets/Network-I5eOe2hf.js +0 -1
- package/public/dist/assets/NotesGraphWorkspace-DO9LtVGF.js +0 -1
- package/public/dist/assets/Permissions-B7PthH01.js +0 -1
- package/public/dist/assets/Permissions-BCYUfJg1.js +0 -1
- package/public/dist/assets/Profile-CYPMVhQM.js +0 -1
- package/public/dist/assets/SpeechKeys-UlXNSFoe.js +0 -1
- package/public/dist/assets/TelegramHub-BhUFhIcv.js +0 -1
- package/public/dist/assets/TerminalPanel-c1xhiy53.js +0 -16
- package/public/dist/assets/abnfDiagram-VCTEODGH-CKwWysIF.js +0 -1
- package/public/dist/assets/agent-meta-v4jNRAbX.js +0 -1
- package/public/dist/assets/api-CLHen33W.js +0 -1
- package/public/dist/assets/app-SVIyP1TT.js +0 -59
- package/public/dist/assets/architecture-7GRP2DOG-Bp3iCG16.js +0 -1
- package/public/dist/assets/architectureDiagram-5GKGNRK7-B9qqrT3E.js +0 -36
- package/public/dist/assets/bgtask-badge-HIrvpcr_.js +0 -1
- package/public/dist/assets/blockDiagram-OSKFZWR5-BjdWo_0R.js +0 -129
- package/public/dist/assets/channel-J_3cbKDK.js +0 -1
- package/public/dist/assets/chunk-2ZTRR5NV-BFt7Dm5O.js +0 -2
- package/public/dist/assets/chunk-3NF5O7KM-D30d98yD.js +0 -168
- package/public/dist/assets/chunk-4HAMMTFA-47nees_K.js +0 -62
- package/public/dist/assets/chunk-747NJXEK-Bxgd5wfl.js +0 -2
- package/public/dist/assets/chunk-CLGD4ZFX-CuX1dWxe.js +0 -1
- package/public/dist/assets/chunk-GMAD6QVW-1bgL6bkT.js +0 -13
- package/public/dist/assets/chunk-GVQU2GXP-DPd6VgIg.js +0 -1
- package/public/dist/assets/chunk-H2I77ZZE-BS90ONOa.js +0 -1
- package/public/dist/assets/chunk-L3NEJ4N5-BU_TE1Gv.js +0 -1
- package/public/dist/assets/chunk-OSK3NFVY-hIzY7BE2.js +0 -10
- package/public/dist/assets/chunk-OUJLGHUK-CTWiVXba.js +0 -2
- package/public/dist/assets/chunk-POPQ4Y6H-XK7yYMir.js +0 -1
- package/public/dist/assets/chunk-PWAF6VOD-bnJEdC3p.js +0 -1
- package/public/dist/assets/chunk-X3CZISLH-ChyOdCnY.js +0 -1
- package/public/dist/assets/classDiagram-CYGNFDIV-j1lFRpNs.js +0 -1
- package/public/dist/assets/classDiagram-v2-TLXNO2FR-j1lFRpNs.js +0 -1
- package/public/dist/assets/constants-_iw-lnKY.js +0 -1
- package/public/dist/assets/cose-bilkent-JH36ORCC-BqCMCbxR.js +0 -1
- package/public/dist/assets/crystal-Bsdphhtm.js +0 -1
- package/public/dist/assets/cynefin-OW5HDTMX-57vG-IQU.js +0 -1
- package/public/dist/assets/cynefinDiagram-5FMLGOSQ-jN-7O_sZ.js +0 -62
- package/public/dist/assets/cytoscape.esm-Ql0ZPabT.js +0 -321
- package/public/dist/assets/dagre-Fg-GCROL.js +0 -1
- package/public/dist/assets/dagre-OS7QT2EB-CFjTsoYe.js +0 -4
- package/public/dist/assets/diagram-S7CK7UJ4-J-pfE07X.js +0 -30
- package/public/dist/assets/diagram-UQ7AKVKN-Cxj9eMt1.js +0 -41
- package/public/dist/assets/diagram-VSXAHHWV-CEieVcAW.js +0 -3
- package/public/dist/assets/diagram-VX7I27RA-D4x2ePaD.js +0 -24
- package/public/dist/assets/dist--wUCkuiC.js +0 -9
- package/public/dist/assets/dist-B2ugUS7T.js +0 -1
- package/public/dist/assets/dist-Bn361Kgk.js +0 -23
- package/public/dist/assets/dist-Box-O1ow.js +0 -1
- package/public/dist/assets/dist-C9i-hLBK.js +0 -1
- package/public/dist/assets/dist-CGUtB2hn.js +0 -1
- package/public/dist/assets/dist-CPYD5RoF.js +0 -1
- package/public/dist/assets/dist-CW1HDUim.js +0 -1
- package/public/dist/assets/dist-Cbkb9LHa.js +0 -1
- package/public/dist/assets/dist-DBpt7gM8.js +0 -1
- package/public/dist/assets/dist-DWvaIPaS.js +0 -1
- package/public/dist/assets/dist-Dxy8kUAu.js +0 -1
- package/public/dist/assets/dist-OaQUa3cd.js +0 -1
- package/public/dist/assets/dist-Y0iINzVl.js +0 -1
- package/public/dist/assets/ebnfDiagram-PWID7BFC-UEkYjpJn.js +0 -1
- package/public/dist/assets/employees-DNTPcxtZ.js +0 -33
- package/public/dist/assets/erDiagram-2YWLMYGG-BWn9ynBx.js +0 -99
- package/public/dist/assets/esm-Q6VOkDbn.js +0 -4
- package/public/dist/assets/eventmodeling-NTZA5JFV-Dz1yjNT-.js +0 -1
- package/public/dist/assets/flowDiagram-T62WH6J4-DolY8JK4.js +0 -1
- package/public/dist/assets/ganttDiagram-EL5Y4UJY-CVIT3S7m.js +0 -292
- package/public/dist/assets/gitGraph-4MIJSDKK-NIO2XoGv.js +0 -1
- package/public/dist/assets/gitGraphDiagram-WWUBYQGX-Y8ZCUmfW.js +0 -106
- package/public/dist/assets/groovy-CUpZ7dEl.js +0 -1
- package/public/dist/assets/idb-cache-BRpjf_a8.js +0 -1
- package/public/dist/assets/idb-cache-CFBnPfHz.js +0 -1
- package/public/dist/assets/iframe-renderer--lHbKTDh.js +0 -142
- package/public/dist/assets/iframe-renderer-DigNC5FU.js +0 -1
- package/public/dist/assets/info-A6RAGUB7-yRMwEr76.js +0 -1
- package/public/dist/assets/infoDiagram-FKFFQAWI-DT2EWjxa.js +0 -2
- package/public/dist/assets/javascript-B9I2pbsP.js +0 -1
- package/public/dist/assets/javascript-DctB8BJo.js +0 -1
- package/public/dist/assets/journeyDiagram-EYS64GPL-DMxKSsKZ.js +0 -139
- package/public/dist/assets/kanban-definition-UXKFOSKX-CbCpLSup.js +0 -89
- package/public/dist/assets/katex-1VKIni13.js +0 -1
- package/public/dist/assets/manager-B9imHVqw.css +0 -1
- package/public/dist/assets/manager-qGH-xUZ7.js +0 -5
- package/public/dist/assets/memory-BAdRkBdk.js +0 -20
- package/public/dist/assets/memory-DA8x5314.js +0 -1
- package/public/dist/assets/mermaid-loader-CCSp7XfV.js +0 -1
- package/public/dist/assets/mermaid-parser.core-J035_CYr.js +0 -3
- package/public/dist/assets/mermaid-preprocess-BtbPvSni.js +0 -5
- package/public/dist/assets/mermaid.core--NXRyXtf.js +0 -1
- package/public/dist/assets/mermaid.core-C6YN2KGZ.js +0 -11
- package/public/dist/assets/message-history-CGOgZH4l.js +0 -1
- package/public/dist/assets/message-history-PAYeKmia.js +0 -4
- package/public/dist/assets/packet-AYTQ26CC-BreuCLNh.js +0 -1
- package/public/dist/assets/pegDiagram-XKGWAZYB-C6MTHw9U.js +0 -1
- package/public/dist/assets/pi-settings-Ch6XdqIF.js +0 -1
- package/public/dist/assets/pie-WAS4IAKB-Co3_rQ80.js +0 -1
- package/public/dist/assets/pieDiagram-E7YTZNPT-CiTFZJAT.js +0 -39
- package/public/dist/assets/preload-helper-CfbQpVni.js +0 -1
- package/public/dist/assets/presentation-preference-BYEPPRPg.js +0 -1
- package/public/dist/assets/presentation-preference-D9u6LD07.js +0 -1
- package/public/dist/assets/pug-CqqUmdG7.js +0 -1
- package/public/dist/assets/radar-RG4KPBEZ-C2cOxc85.js +0 -1
- package/public/dist/assets/railroad-74A4TZTK-BZ4umY4g.js +0 -1
- package/public/dist/assets/railroad-abnf-HS5TGJTU-DxbXiuYs.js +0 -1
- package/public/dist/assets/railroad-ebnf-LZEXJU2U-Bthp2_-B.js +0 -1
- package/public/dist/assets/railroad-peg-WCYAUIDC-YcQ4ouxQ.js +0 -1
- package/public/dist/assets/railroadDiagram-O6MQD6OU-5wGap_iU.js +0 -1
- package/public/dist/assets/render-F6xF6w6c.js +0 -157
- package/public/dist/assets/rolldown-runtime-hePW80VL.js +0 -1
- package/public/dist/assets/sequenceDiagram-WJ2MYXX4-BXE7_NFT.js +0 -162
- package/public/dist/assets/settings-DMbNzuTm.js +0 -1
- package/public/dist/assets/settings-DZ2-ca8T.js +0 -1
- package/public/dist/assets/settings-W0WFhBf2.js +0 -217
- package/public/dist/assets/settings-core-2vZXNf6n.js +0 -2
- package/public/dist/assets/settings-core-BofMyzL9.js +0 -1
- package/public/dist/assets/settings-embedding-Bjwpe8xu.js +0 -9
- package/public/dist/assets/sidebar-Clkqd78q.js +0 -49
- package/public/dist/assets/sizeCapture-INFHLROL-B0uUizjq.js +0 -1
- package/public/dist/assets/skills-0aA-RuN9.js +0 -12
- package/public/dist/assets/skills-SqmQXndw.js +0 -1
- package/public/dist/assets/slash-commands-4zHHXEeU.js +0 -20
- package/public/dist/assets/slash-commands-D5LqONzL.js +0 -1
- package/public/dist/assets/stateDiagram-XQSTLZYL-D4fdsjJT.js +0 -1
- package/public/dist/assets/stateDiagram-v2-IH3M54BS-C0qjVfYw.js +0 -1
- package/public/dist/assets/swimlanes-V6O3JKXN-BGnQAfcf.js +0 -1
- package/public/dist/assets/swimlanesDiagram-JKAHXJPX-CO8ucSKU.js +0 -8
- package/public/dist/assets/timeline-definition-24CTP7MA-DokSBeMC.js +0 -120
- package/public/dist/assets/treeView-Q6P3EWNA-CDjnLfDO.js +0 -1
- package/public/dist/assets/treemap-WGGIJYW6-CbGUwvA1.js +0 -1
- package/public/dist/assets/ui-CVtGpivr.js +0 -2
- package/public/dist/assets/ui-_cqgseFX.js +0 -1
- package/public/dist/assets/vendor-utils-C1xaEGmb.js +0 -1
- package/public/dist/assets/wardley-WFR3VGLG-Cj73o4Iq.js +0 -1
- package/public/dist/assets/wardleyDiagram-VM6X3IG4-CKWgGmAD.js +0 -78
- package/public/dist/assets/wiki-link-resolver-5Pkm1Mtc.js +0 -22
- package/scripts/promotion-checkout.sh +0 -141
- package/scripts/promotion-state.mjs +0 -133
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,t}from"./bgtask-badge-tYRnplEV.js";export{t as applyBgtaskUpdate,e as refreshBgtaskBadge};
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./chunk-X3CZISLH-ChyOdCnY.js";import{a as n,b as r,c as i,rt as a,s as o,x as s}from"./chunk-DU6HZSFF-zk1cX9hK.js";import{t as c}from"./channel-J_3cbKDK.js";import{Bt as l}from"./vendor-utils-C1xaEGmb.js";import"./chunk-PWAF6VOD-bnJEdC3p.js";import{A as u,B as d,C as f,D as p,E as m,F as h,H as g,I as _,L as v,M as y,N as b,O as x,P as S,R as C,S as w,T,U as E,V as D,W as O,j as k,k as A,l as j,v as M,w as ee,x as te,z as ne}from"./chunk-75Z2AOVW-BbE6Kwgh.js";import"./chunk-GMAD6QVW-1bgL6bkT.js";import{t as re}from"./chunk-5VM5RSS4-ZNzvKenW.js";import"./chunk-P2QGCYS3-8ni2cD3V.js";import"./chunk-4HAMMTFA-47nees_K.js";import{i as ie,r as ae}from"./chunk-GVQU2GXP-DPd6VgIg.js";import{a as oe,c as se,i as ce,s as le}from"./chunk-OSK3NFVY-hIzY7BE2.js";import{t as ue}from"./graphlib-CGJNr7IJ.js";function de(e){return Array.isArray(e)}function fe(e){if(O(e))return e;let t=E(e);if(!pe(e))return{};if(de(e)){let t=Array.from(e);return e.length>0&&typeof e[0]==`string`&&Object.hasOwn(e,`index`)&&(t.index=e.index,t.input=e.input),t}if(M(e)){let t=e,n=t.constructor;return new n(t.buffer,t.byteOffset,t.length)}if(t===`[object ArrayBuffer]`)return new ArrayBuffer(e.byteLength);if(t===`[object DataView]`){let t=e,n=t.buffer,r=t.byteOffset,i=t.byteLength,a=new ArrayBuffer(i),o=new Uint8Array(n,r,i);return new Uint8Array(a).set(o),new DataView(a)}if(t===`[object Boolean]`||t===`[object Number]`||t===`[object String]`){let n=e.constructor,r=new n(e.valueOf());return t===`[object String]`?he(r,e):N(r,e),r}if(t===`[object Date]`)return new Date(Number(e));if(t===`[object RegExp]`){let t=e,n=new RegExp(t.source,t.flags);return n.lastIndex=t.lastIndex,n}if(t===`[object Symbol]`)return Object(Symbol.prototype.valueOf.call(e));if(t===`[object Map]`){let t=e,n=new Map;return t.forEach((e,t)=>{n.set(t,e)}),n}if(t===`[object Set]`){let t=e,n=new Set;return t.forEach(e=>{n.add(e)}),n}if(t===`[object Arguments]`){let t=e,n={};return N(n,t),n.length=t.length,n[Symbol.iterator]=t[Symbol.iterator],n}let n={};return ge(n,e),N(n,e),me(n,e),n}function pe(e){switch(E(e)){case te:case f:case w:case T:case ee:case m:case p:case x:case k:case A:case u:case y:case b:case S:case h:case _:case v:case C:case D:case g:case ne:case d:return!0;default:return!1}}function N(e,t){for(let n in t)Object.hasOwn(t,n)&&(e[n]=t[n])}function me(e,t){let n=Object.getOwnPropertySymbols(t);for(let r=0;r<n.length;r++){let i=n[r];Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}}function he(e,t){let n=t.valueOf().length;for(let r in t)Object.hasOwn(t,r)&&(Number.isNaN(Number(r))||Number(r)>=n)&&(e[r]=t[r])}function ge(e,t){let n=Object.getPrototypeOf(t);n!==null&&typeof t.constructor==`function`&&Object.setPrototypeOf(e,n)}var P=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,15],r=[1,7],i=[1,13],a=[1,14],o=[1,19],s=[1,16],c=[1,17],l=[1,18],u=[8,30],d=[8,10,21,28,29,30,31,39,43,46],f=[1,23],p=[1,24],m=[8,10,15,16,21,28,29,30,31,39,43,46],h=[8,10,15,16,21,27,28,29,30,31,39,43,46],g=[1,49],_={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACELINE`,5:`NL`,7:`SPACE`,8:`EOF`,10:`BLOCK_DIAGRAM_KEY`,15:`LINK`,16:`START_LINK`,17:`LINK_LABEL`,18:`STR`,21:`SPACE_BLOCK`,27:`SIZE`,28:`COLUMNS`,29:`id-block`,30:`end`,31:`NODE_ID`,34:`DIR`,35:`NODE_DSTART`,36:`NODE_DEND`,37:`BLOCK_ARROW_START`,38:`BLOCK_ARROW_END`,39:`classDef`,40:`CLASSDEF_ID`,41:`CLASSDEF_STYLEOPTS`,42:`DEFAULT`,43:`class`,44:`CLASSENTITY_IDS`,45:`STYLECLASS`,46:`style`,47:`STYLE_ENTITY_IDS`,48:`STYLE_DEFINITION_DATA`},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.getLogger().debug(`Rule: separator (NL) `);break;case 5:r.getLogger().debug(`Rule: separator (Space) `);break;case 6:r.getLogger().debug(`Rule: separator (EOF) `);break;case 7:r.getLogger().debug(`Rule: hierarchy: `,a[s-1]),r.setHierarchy(a[s-1]);break;case 8:r.getLogger().debug(`Stop NL `);break;case 9:r.getLogger().debug(`Stop EOF `);break;case 10:r.getLogger().debug(`Stop NL2 `);break;case 11:r.getLogger().debug(`Stop EOF2 `);break;case 12:r.getLogger().debug(`Rule: statement: `,a[s]),this.$=typeof a[s].length==`number`?a[s]:[a[s]];break;case 13:r.getLogger().debug(`Rule: statement #2: `,a[s-1]),this.$=[a[s-1]].concat(a[s]);break;case 14:r.getLogger().debug(`Rule: link: `,a[s],e),this.$={edgeTypeStr:a[s],label:``};break;case 15:r.getLogger().debug(`Rule: LABEL link: `,a[s-3],a[s-1],a[s]),this.$={edgeTypeStr:a[s],label:a[s-1]};break;case 18:let t=parseInt(a[s]),n=r.generateId();this.$={id:n,type:`space`,label:``,width:t,children:[]};break;case 23:r.getLogger().debug(`Rule: (nodeStatement link node) `,a[s-2],a[s-1],a[s],` typestr: `,a[s-1].edgeTypeStr);let i=r.edgeStrToEdgeData(a[s-1].edgeTypeStr),o=r.edgeStrToEdgeStartData(a[s-1].edgeTypeStr),c=r.edgeStrToThickness(a[s-1].edgeTypeStr),l=r.edgeStrToPattern(a[s-1].edgeTypeStr);this.$=[{id:a[s-2].id,label:a[s-2].label,type:a[s-2].type,directions:a[s-2].directions},{id:a[s-2].id+`-`+a[s].id,start:a[s-2].id,end:a[s].id,label:a[s-1].label,type:`edge`,thickness:c,pattern:l,directions:a[s].directions,arrowTypeEnd:i,arrowTypeStart:o},{id:a[s].id,label:a[s].label,type:r.typeStr2Type(a[s].typeStr),directions:a[s].directions}];break;case 24:r.getLogger().debug(`Rule: nodeStatement (abc88 node size) `,a[s-1],a[s]),this.$={id:a[s-1].id,label:a[s-1].label,type:r.typeStr2Type(a[s-1].typeStr),directions:a[s-1].directions,widthInColumns:parseInt(a[s],10)};break;case 25:r.getLogger().debug(`Rule: nodeStatement (node) `,a[s]),this.$={id:a[s].id,label:a[s].label,type:r.typeStr2Type(a[s].typeStr),directions:a[s].directions,widthInColumns:1};break;case 26:r.getLogger().debug(`APA123`,this?this:`na`),r.getLogger().debug(`COLUMNS: `,a[s]),this.$={type:`column-setting`,columns:a[s]===`auto`?-1:parseInt(a[s])};break;case 27:r.getLogger().debug(`Rule: id-block statement : `,a[s-2],a[s-1]),r.generateId(),this.$={...a[s-2],type:`composite`,children:a[s-1]};break;case 28:r.getLogger().debug(`Rule: blockStatement : `,a[s-2],a[s-1],a[s]);let u=r.generateId();this.$={id:u,type:`composite`,label:``,children:a[s-1]};break;case 29:r.getLogger().debug(`Rule: node (NODE_ID separator): `,a[s]),this.$={id:a[s]};break;case 30:r.getLogger().debug(`Rule: node (NODE_ID nodeShapeNLabel separator): `,a[s-1],a[s]),this.$={id:a[s-1],label:a[s].label,typeStr:a[s].typeStr,directions:a[s].directions};break;case 31:r.getLogger().debug(`Rule: dirList: `,a[s]),this.$=[a[s]];break;case 32:r.getLogger().debug(`Rule: dirList: `,a[s-1],a[s]),this.$=[a[s-1]].concat(a[s]);break;case 33:r.getLogger().debug(`Rule: nodeShapeNLabel: `,a[s-2],a[s-1],a[s]),this.$={typeStr:a[s-2]+a[s],label:a[s-1]};break;case 34:r.getLogger().debug(`Rule: BLOCK_ARROW nodeShapeNLabel: `,a[s-3],a[s-2],` #3:`,a[s-1],a[s]),this.$={typeStr:a[s-3]+a[s],label:a[s-2],directions:a[s-1]};break;case 35:case 36:this.$={type:`classDef`,id:a[s-1].trim(),css:a[s].trim()};break;case 37:this.$={type:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:this.$={type:`applyStyles`,id:a[s-1].trim(),stylesStr:a[s].trim()}}},`anonymous`),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{8:[1,20]},t(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:r,28:i,29:a,31:o,39:s,43:c,46:l}),t(d,[2,16],{14:22,15:f,16:p}),t(d,[2,17]),t(d,[2,18]),t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),t(d,[2,22]),t(m,[2,25],{27:[1,25]}),t(d,[2,26]),{19:26,26:12,31:o},{10:n,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(h,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(u,[2,13]),{26:35,31:o},{31:[2,14]},{17:[1,36]},t(m,[2,24]),{10:n,11:37,13:4,14:22,15:f,16:p,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(h,[2,30]),{18:[1,43]},{18:[1,44]},t(m,[2,23]),{18:[1,45]},{30:[1,46]},t(d,[2,28]),t(d,[2,35]),t(d,[2,36]),t(d,[2,37]),t(d,[2,38]),{36:[1,47]},{33:48,34:g},{15:[1,50]},t(d,[2,27]),t(h,[2,33]),{38:[1,51]},{33:52,34:g,38:[2,31]},{31:[2,15]},t(h,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
-
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};_.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(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(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(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(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(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(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(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:e(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(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.
|
|
6
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(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(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:e(function(e,t,n,r){switch(n){case 0:return e.getLogger().debug(`Found block-beta`),10;case 1:return e.getLogger().debug(`Found id-block`),29;case 2:return e.getLogger().debug(`Found block`),10;case 3:e.getLogger().debug(`.`,t.yytext);break;case 4:e.getLogger().debug(`_`,t.yytext);break;case 5:return 5;case 6:return t.yytext=-1,28;case 7:return t.yytext=t.yytext.replace(/columns\s+/,``),e.getLogger().debug(`COLUMNS (LEX)`,t.yytext),28;case 8:this.pushState(`md_string`);break;case 9:return`MD_STR`;case 10:this.popState();break;case 11:this.pushState(`string`);break;case 12:e.getLogger().debug(`LEX: POPPING STR:`,t.yytext),this.popState();break;case 13:return e.getLogger().debug(`LEX: STR end:`,t.yytext),`STR`;case 14:return t.yytext=t.yytext.replace(/space\:/,``),e.getLogger().debug(`SPACE NUM (LEX)`,t.yytext),21;case 15:return t.yytext=`1`,e.getLogger().debug(`COLUMNS (LEX)`,t.yytext),21;case 16:return 42;case 17:return`LINKSTYLE`;case 18:return`INTERPOLATE`;case 19:return this.pushState(`CLASSDEF`),39;case 20:return this.popState(),this.pushState(`CLASSDEFID`),`DEFAULT_CLASSDEF_ID`;case 21:return this.popState(),this.pushState(`CLASSDEFID`),40;case 22:return this.popState(),41;case 23:return this.pushState(`CLASS`),43;case 24:return this.popState(),this.pushState(`CLASS_STYLE`),44;case 25:return this.popState(),45;case 26:return this.pushState(`STYLE_STMNT`),46;case 27:return this.popState(),this.pushState(`STYLE_DEFINITION`),47;case 28:return this.popState(),48;case 29:return this.pushState(`acc_title`),`acc_title`;case 30:return this.popState(),`acc_title_value`;case 31:return this.pushState(`acc_descr`),`acc_descr`;case 32:return this.popState(),`acc_descr_value`;case 33:this.pushState(`acc_descr_multiline`);break;case 34:this.popState();break;case 35:return`acc_descr_multiline_value`;case 36:return 30;case 37:return this.popState(),e.getLogger().debug(`Lex: ((`),`NODE_DEND`;case 38:return this.popState(),e.getLogger().debug(`Lex: ((`),`NODE_DEND`;case 39:return this.popState(),e.getLogger().debug(`Lex: ))`),`NODE_DEND`;case 40:return this.popState(),e.getLogger().debug(`Lex: ((`),`NODE_DEND`;case 41:return this.popState(),e.getLogger().debug(`Lex: ((`),`NODE_DEND`;case 42:return this.popState(),e.getLogger().debug(`Lex: (-`),`NODE_DEND`;case 43:return this.popState(),e.getLogger().debug(`Lex: -)`),`NODE_DEND`;case 44:return this.popState(),e.getLogger().debug(`Lex: ((`),`NODE_DEND`;case 45:return this.popState(),e.getLogger().debug(`Lex: ]]`),`NODE_DEND`;case 46:return this.popState(),e.getLogger().debug(`Lex: (`),`NODE_DEND`;case 47:return this.popState(),e.getLogger().debug(`Lex: ])`),`NODE_DEND`;case 48:return this.popState(),e.getLogger().debug(`Lex: /]`),`NODE_DEND`;case 49:return this.popState(),e.getLogger().debug(`Lex: /]`),`NODE_DEND`;case 50:return this.popState(),e.getLogger().debug(`Lex: )]`),`NODE_DEND`;case 51:return this.popState(),e.getLogger().debug(`Lex: )`),`NODE_DEND`;case 52:return this.popState(),e.getLogger().debug(`Lex: ]>`),`NODE_DEND`;case 53:return this.popState(),e.getLogger().debug(`Lex: ]`),`NODE_DEND`;case 54:return e.getLogger().debug(`Lexa: -)`),this.pushState(`NODE`),35;case 55:return e.getLogger().debug(`Lexa: (-`),this.pushState(`NODE`),35;case 56:return e.getLogger().debug(`Lexa: ))`),this.pushState(`NODE`),35;case 57:return e.getLogger().debug(`Lexa: )`),this.pushState(`NODE`),35;case 58:return e.getLogger().debug(`Lex: (((`),this.pushState(`NODE`),35;case 59:return e.getLogger().debug(`Lexa: )`),this.pushState(`NODE`),35;case 60:return e.getLogger().debug(`Lexa: )`),this.pushState(`NODE`),35;case 61:return e.getLogger().debug(`Lexa: )`),this.pushState(`NODE`),35;case 62:return e.getLogger().debug(`Lexc: >`),this.pushState(`NODE`),35;case 63:return e.getLogger().debug(`Lexa: ([`),this.pushState(`NODE`),35;case 64:return e.getLogger().debug(`Lexa: )`),this.pushState(`NODE`),35;case 65:return this.pushState(`NODE`),35;case 66:return this.pushState(`NODE`),35;case 67:return this.pushState(`NODE`),35;case 68:return this.pushState(`NODE`),35;case 69:return this.pushState(`NODE`),35;case 70:return this.pushState(`NODE`),35;case 71:return this.pushState(`NODE`),35;case 72:return e.getLogger().debug(`Lexa: [`),this.pushState(`NODE`),35;case 73:return this.pushState(`BLOCK_ARROW`),e.getLogger().debug(`LEX ARR START`),37;case 74:return e.getLogger().debug(`Lex: NODE_ID`,t.yytext),31;case 75:return e.getLogger().debug(`Lex: EOF`,t.yytext),8;case 76:this.pushState(`md_string`);break;case 77:this.pushState(`md_string`);break;case 78:return`NODE_DESCR`;case 79:this.popState();break;case 80:e.getLogger().debug(`Lex: Starting string`),this.pushState(`string`);break;case 81:e.getLogger().debug(`LEX ARR: Starting string`),this.pushState(`string`);break;case 82:return e.getLogger().debug(`LEX: NODE_DESCR:`,t.yytext),`NODE_DESCR`;case 83:e.getLogger().debug(`LEX POPPING`),this.popState();break;case 84:e.getLogger().debug(`Lex: =>BAE`),this.pushState(`ARROW_DIR`);break;case 85:return t.yytext=t.yytext.replace(/^,\s*/,``),e.getLogger().debug(`Lex (right): dir:`,t.yytext),`DIR`;case 86:return t.yytext=t.yytext.replace(/^,\s*/,``),e.getLogger().debug(`Lex (left):`,t.yytext),`DIR`;case 87:return t.yytext=t.yytext.replace(/^,\s*/,``),e.getLogger().debug(`Lex (x):`,t.yytext),`DIR`;case 88:return t.yytext=t.yytext.replace(/^,\s*/,``),e.getLogger().debug(`Lex (y):`,t.yytext),`DIR`;case 89:return t.yytext=t.yytext.replace(/^,\s*/,``),e.getLogger().debug(`Lex (up):`,t.yytext),`DIR`;case 90:return t.yytext=t.yytext.replace(/^,\s*/,``),e.getLogger().debug(`Lex (down):`,t.yytext),`DIR`;case 91:return t.yytext=`]>`,e.getLogger().debug(`Lex (ARROW_DIR end):`,t.yytext),this.popState(),this.popState(),`BLOCK_ARROW_END`;case 92:return e.getLogger().debug(`Lex: LINK`,`#`+t.yytext+`#`),15;case 93:return e.getLogger().debug(`Lex: LINK`,t.yytext),15;case 94:return e.getLogger().debug(`Lex: LINK`,t.yytext),15;case 95:return e.getLogger().debug(`Lex: LINK`,t.yytext),15;case 96:return e.getLogger().debug(`Lex: START_LINK`,t.yytext),this.pushState(`LLABEL`),16;case 97:return e.getLogger().debug(`Lex: START_LINK`,t.yytext),this.pushState(`LLABEL`),16;case 98:return e.getLogger().debug(`Lex: START_LINK`,t.yytext),this.pushState(`LLABEL`),16;case 99:this.pushState(`md_string`);break;case 100:return e.getLogger().debug(`Lex: Starting string`),this.pushState(`string`),`LINK_LABEL`;case 101:return this.popState(),e.getLogger().debug(`Lex: LINK`,`#`+t.yytext+`#`),15;case 102:return this.popState(),e.getLogger().debug(`Lex: LINK`,t.yytext),15;case 103:return this.popState(),e.getLogger().debug(`Lex: LINK`,t.yytext),15;case 104:return e.getLogger().debug(`Lex: COLON`,t.yytext),t.yytext=t.yytext.slice(1),27}},`anonymous`),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}}})();function v(){this.yy={}}return e(v,`Parser`),v.prototype=_,_.Parser=v,new v})();P.parser=P;var _e=P,F=new Map,I=[],L=new Map,ve=`color`,R=`fill`,ye=`bgFill`,be=`,`,z=new Map,B=``,xe=e(e=>o.sanitizeText(e,s()),`sanitizeText`),Se=e(function(e,t=``){let n=z.get(e);n||(n={id:e,styles:[],textStyles:[]},z.set(e,n)),t?.split(be).forEach(e=>{let t=e.replace(/([^;]*);/,`$1`).trim();if(RegExp(ve).exec(e)){let e=t.replace(R,ye).replace(ve,R);n.textStyles.push(e)}n.styles.push(t)})},`addStyleClass`),Ce=e(function(e,t=``){let n=F.get(e);t!=null&&(n.styles=t.split(be))},`addStyle2Node`),we=e(function(e,t){e.split(`,`).forEach(function(e){let n=F.get(e);if(n===void 0){let t=e.trim();n={id:t,type:`na`,children:[]},F.set(t,n)}n.classes||(n.classes=[]),n.classes.push(t)})},`setCssClass`),Te=e((e,n)=>{let r=e.flat(),i=[],a=r.find(e=>e?.type===`column-setting`)?.columns??-1;for(let e of r){if(typeof a==`number`&&a>0&&e.type!==`column-setting`&&typeof e.widthInColumns==`number`&&e.widthInColumns>a&&t.warn(`Block ${e.id} width ${e.widthInColumns} exceeds configured column width ${a}`),e.label&&=xe(e.label),e.type===`classDef`){Se(e.id,e.css);continue}if(e.type===`applyClass`){we(e.id,e?.styleClass??``);continue}if(e.type===`applyStyles`){e?.stylesStr&&Ce(e.id,e?.stylesStr);continue}if(e.type===`column-setting`)n.columns=e.columns??-1;else if(e.type===`edge`){let t=(L.get(e.id)??0)+1;L.set(e.id,t),e.id=t+`-`+e.id,I.push(e)}else{e.label||=e.type===`composite`?``:e.id;let t=F.get(e.id);if(t===void 0?F.set(e.id,e):(e.type!==`na`&&(t.type=e.type),e.label!==e.id&&(t.label=e.label)),e.children&&Te(e.children,e),e.type===`space`){let t=e.width??1;for(let n=0;n<t;n++){let t=fe(e);t.id=t.id+`-`+n,F.set(t.id,t),i.push(t)}}else t===void 0&&i.push(e)}}n.children=i},`populateBlockDatabase`),V=[],H={id:`root`,type:`composite`,children:[],columns:-1},Ee=e(()=>{t.debug(`Clear called`),n(),H={id:`root`,type:`composite`,children:[],columns:-1},F=new Map([[`root`,H]]),V=[],z=new Map,I=[],L=new Map,B=``},`clear`);function De(e){switch(t.debug(`typeStr2Type`,e),e){case`[]`:return`square`;case`()`:return t.debug(`we have a round`),`round`;case`(())`:return`circle`;case`>]`:return`rect_left_inv_arrow`;case`{}`:return`diamond`;case`{{}}`:return`hexagon`;case`([])`:return`stadium`;case`[[]]`:return`subroutine`;case`[()]`:return`cylinder`;case`((()))`:return`doublecircle`;case`[//]`:return`lean_right`;case`[\\\\]`:return`lean_left`;case`[/\\]`:return`trapezoid`;case`[\\/]`:return`inv_trapezoid`;case`<[]>`:return`block_arrow`;default:return`na`}}e(De,`typeStr2Type`);function Oe(e){switch(t.debug(`typeStr2Type`,e),e){case`==`:return`thick`;default:return`normal`}}e(Oe,`edgeTypeStr2Type`);function U(e){switch(e.trim().slice(-1)){case`x`:return`arrow_cross`;case`o`:return`arrow_circle`;case`>`:return`arrow_point`;default:return``}}e(U,`edgeStrToEdgeData`);function ke(e){switch(e.trim().charAt(0)){case`x`:return`arrow_cross`;case`o`:return`arrow_circle`;case`<`:return`arrow_point`;default:return`arrow_open`}}e(ke,`edgeStrToEdgeStartData`);function W(e){return e.includes(`==`)?`thick`:`normal`}e(W,`edgeStrToThickness`);function G(e){return e.includes(`.-`)?`dotted`:`solid`}e(G,`edgeStrToPattern`);var K=0,Ae={getConfig:e(()=>r().block,`getConfig`),typeStr2Type:De,edgeTypeStr2Type:Oe,edgeStrToEdgeData:U,edgeStrToEdgeStartData:ke,edgeStrToThickness:W,edgeStrToPattern:G,getLogger:e(()=>t,`getLogger`),getBlocksFlat:e(()=>[...F.values()],`getBlocksFlat`),getBlocks:e(()=>V||[],`getBlocks`),getEdges:e(()=>I,`getEdges`),setHierarchy:e(e=>{H.children=e,Te(e,H),V=H.children},`setHierarchy`),getBlock:e(e=>F.get(e),`getBlock`),setBlock:e(e=>{F.set(e.id,e)},`setBlock`),getColumns:e(e=>{let t=F.get(e);return t?t.columns?t.columns:t.children?t.children.length:-1:-1},`getColumns`),getClasses:e(function(){return z},`getClasses`),clear:Ee,generateId:e(()=>(K++,`id-`+Math.random().toString(36).substr(2,12)+`-`+K),`generateId`),setDiagramId:e(e=>{B=e},`setDiagramId`),getDiagramId:e(()=>B,`getDiagramId`)},q=e((e,t)=>{let n=c,r=n(e,`r`),i=n(e,`g`),o=n(e,`b`);return a(r,i,o,t)},`fade`),je=e(e=>`.label {
|
|
7
|
-
font-family: ${e.fontFamily};
|
|
8
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
9
|
-
}
|
|
10
|
-
.cluster-label text {
|
|
11
|
-
fill: ${e.titleColor};
|
|
12
|
-
}
|
|
13
|
-
.cluster-label span {
|
|
14
|
-
color: ${e.titleColor};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.label text,span {
|
|
20
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
21
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.node rect,
|
|
25
|
-
.node circle,
|
|
26
|
-
.node ellipse,
|
|
27
|
-
.node polygon,
|
|
28
|
-
.node path {
|
|
29
|
-
fill: ${e.mainBkg};
|
|
30
|
-
stroke: ${e.nodeBorder};
|
|
31
|
-
stroke-width: 1px;
|
|
32
|
-
}
|
|
33
|
-
.flowchart-label text {
|
|
34
|
-
text-anchor: middle;
|
|
35
|
-
}
|
|
36
|
-
// .flowchart-label .text-outer-tspan {
|
|
37
|
-
// text-anchor: middle;
|
|
38
|
-
// }
|
|
39
|
-
// .flowchart-label .text-inner-tspan {
|
|
40
|
-
// text-anchor: start;
|
|
41
|
-
// }
|
|
42
|
-
|
|
43
|
-
.node .label {
|
|
44
|
-
text-align: center;
|
|
45
|
-
}
|
|
46
|
-
.node.clickable {
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.arrowheadPath {
|
|
51
|
-
fill: ${e.arrowheadColor};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.edgePath .path {
|
|
55
|
-
stroke: ${e.lineColor};
|
|
56
|
-
stroke-width: 2.0px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.flowchart-link {
|
|
60
|
-
stroke: ${e.lineColor};
|
|
61
|
-
fill: none;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.edgeLabel {
|
|
65
|
-
background-color: ${e.edgeLabelBackground};
|
|
66
|
-
/*
|
|
67
|
-
* This is for backward compatibility with existing code that didn't
|
|
68
|
-
* add a \`<p>\` around edge labels.
|
|
69
|
-
*
|
|
70
|
-
* TODO: We should probably remove this in a future release.
|
|
71
|
-
*/
|
|
72
|
-
p {
|
|
73
|
-
margin: 0;
|
|
74
|
-
padding: 0;
|
|
75
|
-
display: inline;
|
|
76
|
-
}
|
|
77
|
-
rect {
|
|
78
|
-
opacity: 0.5;
|
|
79
|
-
background-color: ${e.edgeLabelBackground};
|
|
80
|
-
fill: ${e.edgeLabelBackground};
|
|
81
|
-
}
|
|
82
|
-
text-align: center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/* For html labels only */
|
|
86
|
-
.labelBkg {
|
|
87
|
-
background-color: ${e.edgeLabelBackground};
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.node .cluster {
|
|
91
|
-
// fill: ${q(e.mainBkg,.5)};
|
|
92
|
-
fill: ${q(e.clusterBkg,.5)};
|
|
93
|
-
stroke: ${q(e.clusterBorder,.2)};
|
|
94
|
-
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
|
|
95
|
-
stroke-width: 1px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.cluster text {
|
|
99
|
-
fill: ${e.titleColor};
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.cluster span {
|
|
103
|
-
color: ${e.titleColor};
|
|
104
|
-
}
|
|
105
|
-
/* .cluster div {
|
|
106
|
-
color: ${e.titleColor};
|
|
107
|
-
} */
|
|
108
|
-
|
|
109
|
-
div.mermaidTooltip {
|
|
110
|
-
position: absolute;
|
|
111
|
-
text-align: center;
|
|
112
|
-
max-width: 200px;
|
|
113
|
-
padding: 2px;
|
|
114
|
-
font-family: ${e.fontFamily};
|
|
115
|
-
font-size: 12px;
|
|
116
|
-
background: ${e.tertiaryColor};
|
|
117
|
-
border: 1px solid ${e.border2};
|
|
118
|
-
border-radius: 2px;
|
|
119
|
-
pointer-events: none;
|
|
120
|
-
z-index: 100;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.flowchartTitleText {
|
|
124
|
-
text-anchor: middle;
|
|
125
|
-
font-size: 18px;
|
|
126
|
-
fill: ${e.textColor};
|
|
127
|
-
}
|
|
128
|
-
${re()}
|
|
129
|
-
`,`getStyles`);function J(e,t){if(e===0||!Number.isInteger(e))throw Error(`Columns must be an integer !== 0.`);if(t<0||!Number.isInteger(t))throw Error(`Position must be a non-negative integer.`+t);return e<0?{px:t,py:0}:e===1?{px:0,py:t}:{px:t%e,py:Math.floor(t/e)}}e(J,`calculateBlockPosition`);var Me=e(e=>{let n=0,r=0;for(let i of e.children){let{width:e,height:a,x:o,y:s}=i.size??{width:0,height:0,x:0,y:0};if(t.debug(`getMaxChildSize abc95 child:`,i.id,`width:`,e,`height:`,a,`x:`,o,`y:`,s,i.type),i.type===`space`)continue;let c=e/(i.widthInColumns??1);c>n&&(n=c),a>r&&(r=a)}return{width:n,height:r}},`getMaxChildSize`);function Y(e,n,r=0,i=0,a=8){t.debug(`setBlockSizes abc95 (start)`,e.id,e?.size?.x,`block width =`,e?.size,`siblingWidth`,r),e?.size?.width||(e.size={width:r,height:i,x:0,y:0});let o=0,s=0;if(e.children?.length>0){for(let t of e.children)Y(t,n,0,0,a);let c=Me(e);o=c.width,s=c.height,t.debug(`setBlockSizes abc95 maxWidth of`,e.id,`:s children is `,o,s);for(let n of e.children)n.size&&(t.debug(`abc95 Setting size of children of ${e.id} id=${n.id} ${o} ${s} ${JSON.stringify(n.size)}`),n.size.width=o*(n.widthInColumns??1)+a*((n.widthInColumns??1)-1),n.size.height=s,n.size.x=0,n.size.y=0,t.debug(`abc95 updating size of ${e.id} children child:${n.id} maxWidth:${o} maxHeight:${s}`));for(let t of e.children)Y(t,n,o,s,a);let l=e.columns??-1,u=0;for(let t of e.children)u+=t.widthInColumns??1;let d=e.children.length;l>0&&l<u&&(d=l);let f=Math.ceil(u/d),p=d*(o+a)+a,m=f*(s+a)+a;if(p<r){t.debug(`Detected to small sibling: abc95 ${e.id} siblingWidth ${r} siblingHeight ${i} width ${p}`),p=r,m=i;let n=(r-d*a-a)/d,c=(i-f*a-a)/f;t.debug(`Size indata abc88`,e.id,`childWidth`,n,`maxWidth`,o),t.debug(`Size indata abc88`,e.id,`childHeight`,c,`maxHeight`,s),t.debug(`Size indata abc88 xSize`,d,`padding`,a);for(let t of e.children)t.size&&(t.size.width=n,t.size.height=c,t.size.x=0,t.size.y=0)}if(t.debug(`abc95 (finale calc) ${e.id} xSize ${d} ySize ${f} columns ${l}${e.children.length} width=${Math.max(p,e.size?.width||0)}`),p<(e?.size?.width||0)){p=e?.size?.width||0;let n=l>0?Math.min(e.children.length,l):e.children.length;if(n>0){let r=(p-n*a-a)/n;t.debug(`abc95 (growing to fit) width`,e.id,p,e.size?.width,r);for(let t of e.children)t.size&&(t.size.width=r)}}e.size={width:p,height:m,x:0,y:0}}t.debug(`setBlockSizes abc94 (done)`,e.id,e?.size?.x,e?.size?.width,e?.size?.y,e?.size?.height)}e(Y,`setBlockSizes`);function X(e,n,r=8){t.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`);let i=e.columns??-1;if(t.debug(`layoutBlocks columns abc95`,e.id,`=>`,i,e),e.children&&e.children.length>0){let a=e?.children[0]?.size?.width??0,o=e.children.length*a+(e.children.length-1)*r;t.debug(`widthOfChildren 88`,o,`posX`);let s=new Map;{let t=0;for(let n of e.children){if(!n.size)continue;let{py:e}=J(i,t),r=s.get(e)??0;n.size.height>r&&s.set(e,n.size.height);let a=n?.widthInColumns??1;i>0&&(a=Math.min(a,i-t%i)),t+=a}}let c=new Map;{let e=0,t=[...s.keys()].sort((e,t)=>e-t);for(let n of t)c.set(n,e),e+=(s.get(n)??0)+r}let l=0;t.debug(`abc91 block?.size?.x`,e.id,e?.size?.x);let u=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-r,d=0;for(let a of e.children){let o=e;if(!a.size)continue;let{width:f,height:p}=a.size,{px:m,py:h}=J(i,l);if(h!=d&&(d=h,u=e?.size?.x?e?.size?.x+(-e?.size?.width/2||0):-r,t.debug(`New row in layout for block`,e.id,` and child `,a.id,d)),t.debug(`abc89 layout blocks (child) id: ${a.id} Pos: ${l} (px, py) ${m},${h} (${o?.size?.x},${o?.size?.y}) parent: ${o.id} width: ${f}${r}`),o.size){let e=f/2;a.size.x=u+r+e,t.debug(`abc91 layout blocks (calc) px, pyid:${a.id} startingPos=X${u} new startingPosX${a.size.x} ${e} padding=${r} width=${f} halfWidth=${e} => x:${a.size.x} y:${a.size.y} ${a.widthInColumns} (width * (child?.w || 1)) / 2 ${f*(a?.widthInColumns??1)/2}`),u=a.size.x+e;let n=c.get(h)??0,i=s.get(h)??p;a.size.y=o.size.y-o.size.height/2+n+i/2+r,t.debug(`abc88 layout blocks (calc) px, pyid:${a.id}startingPosX${u}${r}${e}=>x:${a.size.x}y:${a.size.y}${a.widthInColumns}(width * (child?.w || 1)) / 2${f*(a?.widthInColumns??1)/2}`)}a.children&&X(a,n,r);let g=a?.widthInColumns??1;i>0&&(g=Math.min(g,i-l%i)),l+=g,t.debug(`abc88 columnsPos`,a,l)}}t.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${e?.size?.x} y: ${e?.size?.y} width: ${e?.size?.width}`)}e(X,`layoutBlocks`);function Z(e,{minX:t,minY:n,maxX:r,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&e.id!==`root`){let{x:a,y:o,width:s,height:c}=e.size;a-s/2<t&&(t=a-s/2),o-c/2<n&&(n=o-c/2),a+s/2>r&&(r=a+s/2),o+c/2>i&&(i=o+c/2)}if(e.children)for(let a of e.children)({minX:t,minY:n,maxX:r,maxY:i}=Z(a,{minX:t,minY:n,maxX:r,maxY:i}));return{minX:t,minY:n,maxX:r,maxY:i}}e(Z,`findBounds`);function Ne(e){let n=e.getBlock(`root`);if(!n)return;let r=s()?.block?.padding??8;Y(n,e,0,0,r),X(n,e,r),t.debug(`getBlocks`,JSON.stringify(n,null,2));let{minX:i,minY:a,maxX:o,maxY:c}=Z(n),l=c-a;return{x:i,y:a,width:o-i,height:l}}e(Ne,`layout`);function Q(e,t,n=!1){let i=e,a=`default`;(i?.classes?.length||0)>0&&(a=(i?.classes??[]).join(` `)),a+=` flowchart-label`;let o=(i?.classes??[]).flatMap(e=>t.getClasses().get(e)?.styles??[]),s=0,c=`rect`,l;switch(i.type){case`round`:s=5,c=`rect`;break;case`composite`:s=0,c=`composite`,l=0;break;case`square`:c=`rect`;break;case`diamond`:c=`question`;break;case`hexagon`:c=`hexagon`;break;case`block_arrow`:c=`block_arrow`;break;case`odd`:c=`rect_left_inv_arrow`;break;case`lean_right`:c=`lean_right`;break;case`lean_left`:c=`lean_left`;break;case`trapezoid`:c=`trapezoid`;break;case`inv_trapezoid`:c=`inv_trapezoid`;break;case`rect_left_inv_arrow`:c=`rect_left_inv_arrow`;break;case`circle`:c=`circle`;break;case`ellipse`:c=`ellipse`;break;case`stadium`:c=`stadium`;break;case`subroutine`:c=`subroutine`;break;case`cylinder`:c=`cylinder`;break;case`group`:c=`rect`;break;case`doublecircle`:c=`doublecircle`;break;default:c=`rect`}let u=j(i?.styles??[]),d=i.label,f=i.size??{width:0,height:0,x:0,y:0},p=t.getDiagramId();return{labelStyle:u.labelStyle,shape:c,label:d,labelText:d,rx:s,ry:s,class:a,cssClasses:a,cssStyles:i?.styles??[],cssCompiledStyles:o,style:u.style,id:i.id,domId:p?`${p}-${i.id}`:i.id,isGroup:!1,directions:i.directions,width:f.width||void 0,height:f.height||void 0,wrappingWidth:f.width||1/0,x:f.x,y:f.y,positioned:n,intersect:void 0,padding:l??r()?.block?.padding??0,widthInColumns:i.widthInColumns??1}}e(Q,`getNodeFromBlock`);async function Pe(e,t,n){let i=Q(t,n,!1);if(t.type===`group`)return;let a=r(),o=await ae(e,i,{config:a}),s=o.node()?.getBBox()??{width:0,height:0},c=n.getBlock(i.id);c.size={width:s.width,height:s.height,x:0,y:0,node:o},n.setBlock(c),o.remove()}e(Pe,`calculateBlockSize`);async function Fe(e,t,n){let i=Q(t,n,!0);if(n.getBlock(i.id).type!==`space`){let n=r();await ae(e,i,{config:n}),t.intersect=i?.intersect,ie(i)}}e(Fe,`insertBlockPositioned`);async function $(e,t,n,r){for(let i of t)await r(e,i,n),i.children&&await $(e,i.children,n,r)}e($,`performOperations`);async function Ie(e,t,n){await $(e,t,n,Pe)}e(Ie,`calculateBlockSizes`);async function Le(e,t,n){await $(e,t,n,Fe)}e(Le,`insertBlocks`);async function Re(e,t,n,r,i){let a=new ue({multigraph:!0,compound:!0});a.setGraph({rankdir:`TB`,nodesep:10,ranksep:10,marginx:8,marginy:8});for(let e of n)e.size&&a.setNode(e.id,{width:e.size.width,height:e.size.height,intersect:e.intersect});for(let n of t)if(n.start&&n.end){let t=r.getBlock(n.start),o=r.getBlock(n.end);if(t?.size&&o?.size){let r=t.size,s=o.size,c=[{x:r.x,y:r.y},{x:r.x+(s.x-r.x)/2,y:r.y+(s.y-r.y)/2},{x:s.x,y:s.y}],l=i?`${i}-${n.id}`:n.id,u=`${n.thickness===`thick`?`edge-thickness-thick`:`edge-thickness-normal`} ${n.pattern===`dotted`?`edge-pattern-dotted`:`edge-pattern-solid`} flowchart-link LS-a1 LE-b1`;ce(e,{...n,id:l,arrowTypeEnd:n.arrowTypeEnd,arrowTypeStart:n.arrowTypeStart,points:c,classes:u},{},`block`,a.node(n.start),a.node(n.end),i),n.label&&(await oe(e,{...n,label:n.label,labelStyle:`stroke: #333; stroke-width: 1.5px;fill:none;`,arrowTypeEnd:n.arrowTypeEnd,arrowTypeStart:n.arrowTypeStart,points:c,classes:u}),se({...n,x:c[1].x,y:c[1].y},{originalPath:c}))}}}e(Re,`insertEdges`);var ze={parser:_e,db:Ae,renderer:{draw:e(async function(e,n,a,o){let{securityLevel:s,block:c}=r(),u=o.db;u.setDiagramId(n);let d;s===`sandbox`&&(d=l(`#i`+n));let f=l(s===`sandbox`?d.nodes()[0].contentDocument.body:`body`),p=s===`sandbox`?f.select(`[id="${n}"]`):l(`[id="${n}"]`);le(p,[`point`,`circle`,`cross`],o.type,n);let m=u.getBlocks(),h=u.getBlocksFlat(),g=u.getEdges(),_=p.insert(`g`).attr(`class`,`block`);await Ie(_,m,u);let v=Ne(u);await Le(_,m,u),await Re(_,g,h,u,n);let y=_.node()?.getBBox(),b=y&&Number.isFinite(y.width)&&Number.isFinite(y.height)?y:v;if(b){let e=Math.max(1,Math.round(.125*(b.width/b.height))),n=b.height+e+10,r=b.width+10,{useMaxWidth:a}=c;i(p,n,r,!!a),t.debug(`Here Bounds`,v,b),p.attr(`viewBox`,`${b.x-5} ${b.y-5} ${b.width+10} ${b.height+10}`)}},`draw`),getClasses:e(function(e,t){return t.db.getClasses()},`getClasses`)},styles:je};export{ze as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{at as e,it as t}from"./chunk-DU6HZSFF-zk1cX9hK.js";var n=(n,r)=>e.lang.round(t.parse(n)[r]);export{n as t};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as e,S as t,h as n,n as r,o as i,t as a,u as o,w as s,x as c}from"./chunk-FOHPRMQF-CoA4358r.js";var l=class extends a{static{c(this,`RailroadEbnfTokenBuilder`)}constructor(){super([`railroad-ebnf-beta`])}},u=c(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
|
|
2
|
-
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}continue}n+=r}return n},`decodeEscapedString`),d=class extends r{static{c(this,`RailroadEbnfValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return u(e)}return r}runCustomConverter(e,t,n){if(e.name===`EBNF_STRING`)return u(t);if(e.name===`EBNF_SPECIAL_SEQUENCE`)return t.slice(1,-1).trim()}},f={parser:{TokenBuilder:c(()=>new l,`TokenBuilder`),ValueConverter:c(()=>new d,`ValueConverter`)}};function p(r=i){let a=s(e(r),o),c=s(t({shared:a}),n,f);return a.ServiceRegistry.register(c),{shared:a,RailroadEbnf:c}}c(p,`createRailroadEbnfServices`);export{p as n,f as t};
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import{S as e}from"./vendor-render-BsyPjvQm.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as n}from"./chunk-X3CZISLH-ChyOdCnY.js";import{G as r,H as i,K as a,U as o,a as s,d as c,k as l,rt as u,s as d,v as f,w as p,x as m,y as h}from"./chunk-DU6HZSFF-zk1cX9hK.js";import{t as g}from"./channel-J_3cbKDK.js";import{Bt as _}from"./vendor-utils-C1xaEGmb.js";import{c as v,g as ee}from"./chunk-75Z2AOVW-BbE6Kwgh.js";import{t as te}from"./chunk-5VM5RSS4-ZNzvKenW.js";import{i as ne}from"./chunk-4HAMMTFA-47nees_K.js";import{t as y}from"./chunk-F27PBJKO-B30QZPgt.js";import{t as b}from"./chunk-XXDRQBXY-Uq2wLB4L.js";import{t as x}from"./chunk-POPQ4Y6H-XK7yYMir.js";import{r as S,t as C}from"./chunk-LQGUR6SS-xn-VsXhF.js";import{n as w,t as T}from"./chunk-LNGE3PJU-5-SxdO55.js";var E=`flowchart-`,D=class{constructor(){this.vertexCounter=0,this.config=m(),this.diagramId=``,this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=o,this.setAccDescription=i,this.setDiagramTitle=a,this.getAccTitle=h,this.getAccDescription=f,this.getDiagramTitle=p,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{t(this,`FlowDB`)}sanitizeText(e){return d.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case`markdown`:case`string`:case`text`:return e;default:return`markdown`}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let t of this.vertices.values())if(t.id===e)return this.diagramId?`${this.diagramId}-${t.domId}`:t.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,t,r,i,a,o,s={},c){if(!e||e.trim().length===0)return;let l;if(c!==void 0){let e;e=c.includes(`
|
|
2
|
-
`)?c+`
|
|
3
|
-
`:`{
|
|
4
|
-
`+c+`
|
|
5
|
-
}`,l=w(e,{schema:T})}let u=this.subGraphLookup.get(e);if(u&&l){u.metadata={...u.metadata,...l};return}let d=this.edges.find(t=>t.id===e);if(d){let e=l;e?.animate!==void 0&&(d.animate=e.animate),e?.animation!==void 0&&(d.animation=e.animation),e?.curve!==void 0&&(d.interpolate=e.curve);return}let f,p=this.vertices.get(e);if(p===void 0&&(t===void 0&&r===void 0&&i!=null&&n.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),p={id:e,labelType:`text`,domId:E+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,p)),this.vertexCounter++,t===void 0?p.text===void 0&&(p.text=e):(this.config=m(),f=this.sanitizeText(t.text.trim()),p.labelType=t.type,f.startsWith(`"`)&&f.endsWith(`"`)&&(f=f.substring(1,f.length-1)),p.text=f),r!==void 0&&(p.type=r),i?.forEach(e=>{p.styles.push(e)}),a?.forEach(e=>{p.classes.push(e)}),o!==void 0&&(p.dir=o),p.props===void 0?p.props=s:s!==void 0&&Object.assign(p.props,s),l!==void 0){if(l.shape){if(l.shape!==l.shape.toLowerCase()||l.shape.includes(`_`))throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);if(!ne(l.shape))throw Error(`No such shape: ${l.shape}.`);p.type=l?.shape}l?.label&&(p.text=l?.label,p.labelType=this.sanitizeNodeLabelType(l?.labelType)),l?.icon&&(p.icon=l?.icon,!l.label?.trim()&&p.text===e&&(p.text=``)),l?.form&&(p.form=l?.form),l?.pos&&(p.pos=l?.pos),l?.img&&(p.img=l?.img,!l.label?.trim()&&p.text===e&&(p.text=``)),l?.constraint&&(p.constraint=l.constraint),l.w&&(p.assetWidth=Number(l.w)),l.h&&(p.assetHeight=Number(l.h))}}addSingleLink(e,t,r,i){let a={start:e,end:t,type:void 0,text:``,labelType:`text`,classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};n.info(`abc78 Got edge...`,a);let o=r.text;if(o!==void 0&&(a.text=this.sanitizeText(o.text.trim()),a.text.startsWith(`"`)&&a.text.endsWith(`"`)&&(a.text=a.text.substring(1,a.text.length-1)),a.labelType=this.sanitizeNodeLabelType(o.type)),r!==void 0&&(a.type=r.type,a.stroke=r.stroke,a.length=r.length>10?10:r.length),i&&!this.edges.some(e=>e.id===i))a.id=i,a.isUserDefinedId=!0;else{let e=this.edges.filter(e=>e.start===a.start&&e.end===a.end);a.id=e.length===0?v(a.start,a.end,{counter:0,prefix:`L`}):v(a.start,a.end,{counter:e.length+1,prefix:`L`})}if(this.edges.length<(this.config.maxEdges??500))n.info(`Pushing edge...`),this.edges.push(a);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,t,r){let i=this.isLinkData(r)?r.id.replace(`@`,``):void 0;n.info(`addLink`,e,t,i);for(let n of e)for(let a of t){let o=n===e[e.length-1],s=a===t[0];o&&s?this.addSingleLink(n,a,r,i):this.addSingleLink(n,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,n){if(m().securityLevel!==`loose`||t===void 0)return;let r=[];if(typeof n==`string`){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<r.length;e++){let t=r[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),r[e]=t}}r.length===0&&r.push(e);let i=this.vertices.get(e);i&&(i.haveCallback=!0,this.funs.push(()=>{let n=this.lookUpDomId(e),i=document.querySelector(`[id="${n}"]`);i!==null&&i.addEventListener(`click`,()=>{ee.runFunc(t,...r)},!1)}))}setLink(e,t,n){e.split(`,`).forEach(e=>{let r=this.vertices.get(e);r!==void 0&&(r.link=ee.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(t){let n=y();_(t).select(`svg`).selectAll(`g.node`).on(`mouseover`,t=>{let r=_(t.currentTarget),i=r.attr(`title`);if(i===null)return;let a=t.currentTarget?.getBoundingClientRect();n.transition().duration(200).style(`opacity`,`.9`),n.text(r.attr(`title`)).style(`left`,window.scrollX+a.left+(a.right-a.left)/2+`px`).style(`top`,window.scrollY+a.bottom+`px`),n.html(e.sanitize(i)),r.classed(`hover`,!0)}).on(`mouseout`,e=>{n.transition().duration(500).style(`opacity`,0),_(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.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=m(),s()}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(e,r,i){let a=e.text.trim(),o=i.text;e===i&&/\s/.exec(i.text)&&(a=void 0);let s=t(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`)(r.flat()),c=s.nodeList,l=s.dir,u=m().flowchart??{};if(l??=u.inheritDir?this.getDirection()??m().direction??void 0:void 0,this.version===`gen-1`)for(let e=0;e<c.length;e++)c[e]=this.lookUpDomId(c[e]);a??=`subGraph`+this.subCount,o||=``,o=this.sanitizeText(o),this.subCount+=1;let d={id:a,nodes:c,title:o.trim(),classes:[],dir:l,labelType:this.sanitizeNodeLabelType(i?.type)};return n.info(`Adding`,d.id,d.nodes,d.dir),d.nodes=this.makeUniq(d,this.subGraphs).nodes,this.subGraphs.push(d),this.subGraphLookup.set(a,d),a}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)})}}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 e=m(),n=[],r=[],i=this.getSubGraphs(),a=new Map,o=new Map,s=new Map;for(let e of i)for(let t of e.nodes)this.subGraphLookup.has(t)&&s.set(t,e.id);let c=t(e=>this.subGraphLookup.get(e)?.metadata?.view===`collapsed`,`isCollapsed`),l=t(e=>{let t,n=new Set,r=e;for(;r!==void 0&&!n.has(r);)n.add(r),c(r)&&(t=r),r=s.get(r);return t},`outermostCollapsed`),u=new Set,d=new Map;for(let e of i){let t=l(e.id);if(t!==void 0){e.id!==t&&(u.add(e.id),d.set(e.id,t));for(let n of e.nodes)n!==t&&(u.add(n),d.set(n,t))}}for(let e=i.length-1;e>=0;e--){let t=i[e];if(!u.has(t.id)){t.nodes.length>0&&o.set(t.id,!0);for(let e of t.nodes)a.set(e,t.id)}}for(let t=i.length-1;t>=0;t--){let r=i[t];u.has(r.id)||(r.metadata?.view===`collapsed`?n.push({id:r.id,label:r.title,labelStyle:``,labelType:r.labelType,parentId:a.get(r.id),padding:8,cssCompiledStyles:this.getCompiledStyles(r.classes),cssClasses:r.classes.join(` `),shape:`collapsedGroup`,dir:r.dir,isGroup:!1,look:e.look}):n.push({id:r.id,label:r.title,labelStyle:``,labelType:r.labelType,parentId:a.get(r.id),padding:8,cssCompiledStyles:this.getCompiledStyles(r.classes),cssClasses:r.classes.join(` `),shape:`rect`,dir:r.dir,isGroup:!0,look:e.look}))}this.getVertices().forEach(t=>{u.has(t.id)||this.addNodeFromVertex(t,n,a,o,e,e.look||`classic`)});let f=this.getEdges();return f.forEach((t,n)=>{let{arrowTypeStart:i,arrowTypeEnd:a}=this.destructEdgeType(t.type),o=[...f.defaultStyle??[]],s=d.get(t.start)??t.start,c=d.get(t.end)??t.end;if(s===c&&(d.has(t.start)||d.has(t.end)))return;t.style&&o.push(...t.style);let l={id:v(s,c,{counter:n,prefix:`L`},t.id),isUserDefinedId:t.isUserDefinedId,start:s,end:c,type:t.type??`normal`,label:t.text,labelType:t.labelType,labelpos:`c`,thickness:t.stroke,minlen:t.length,classes:t?.stroke===`invisible`?``:`edge-thickness-normal edge-pattern-solid flowchart-link`,arrowTypeStart:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:i,arrowTypeEnd:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:a,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(t.classes),labelStyle:o,style:o,pattern:t.stroke,look:e.look,animate:t.animate,animation:t.animation,curve:t.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};r.push(l)}),{nodes:n,edges:r,other:{},config:e}}defaultConfig(){return c.flowchart}},O={getClasses:t(function(e,t){return t.db.getClasses()},`getClasses`),draw:t(async function(e,t,r,i){n.info(`REF0:`),n.info(`Drawing state diagram (v2)`,t);let{securityLevel:a,flowchart:o,layout:s}=m();i.db.setDiagramId(t),n.debug(`Before getData: `);let c=i.db.getData();n.debug(`Data: `,c);let l=b(t,a),u=i.db.getDirection();c.type=i.type,c.layoutAlgorithm=C(s),c.layoutAlgorithm===`dagre`&&s===`elk`&&n.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),c.direction=u,c.nodeSpacing=o?.nodeSpacing||50,c.rankSpacing=o?.rankSpacing||50,c.markers=[`point`,`circle`,`cross`],c.diagramId=t,n.debug(`REF1:`,c),await S(c,l);let d=c.config.flowchart?.diagramPadding??8;ee.insertTitle(l,`flowchartTitleText`,o?.titleTopMargin||0,i.db.getDiagramTitle()),x(l,d,`flowchart`,o?.useMaxWidth||!1)},`draw`)},k=(function(){var e=t(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],ee=[1,31],te=[1,32],ne=[1,33],y=[1,45],b=[1,47],x=[1,43],S=[1,48],C=[1,44],w=[1,51],T=[1,46],E=[1,52],D=[1,53],O=[1,34],k=[1,35],re=[1,36],ie=[1,37],ae=[1,38],A=[1,58],j=[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],M=[1,62],N=[1,61],P=[1,63],oe=[8,9,11,75,77,78],se=[1,79],ce=[1,92],le=[1,97],ue=[1,96],de=[1,93],fe=[1,89],pe=[1,95],me=[1,91],he=[1,98],ge=[1,94],_e=[1,99],ve=[1,90],ye=[8,9,10,11,40,75,77,78],F=[8,9,10,11,40,46,75,77,78],I=[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],be=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],xe=[44,60,89,102,105,106,109,111,114,115,116],Se=[1,122],Ce=[1,123],we=[1,125],Te=[1,124],Ee=[44,60,62,74,89,102,105,106,109,111,114,115,116],De=[1,134],Oe=[1,148],ke=[1,149],Ae=[1,150],je=[1,151],Me=[1,136],Ne=[1,138],Pe=[1,142],Fe=[1,143],Ie=[1,144],Le=[1,145],Re=[1,146],ze=[1,147],Be=[1,152],Ve=[1,153],He=[1,132],Ue=[1,133],We=[1,140],Ge=[1,135],Ke=[1,139],qe=[1,137],Je=[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],Ye=[1,155],Xe=[1,157],L=[8,9,11],R=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],z=[1,177],B=[1,173],V=[1,174],H=[1,178],U=[1,175],W=[1,176],Ze=[77,116,119],G=[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],Qe=[10,106],$e=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],K=[1,248],q=[1,246],J=[1,250],Y=[1,244],X=[1,245],Z=[1,247],et=[1,249],Q=[1,251],tt=[1,269],nt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],rt={trace:t(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,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:t(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 183: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.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 47: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 48:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 49: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 50:this.$={stmt:a[s],nodes:a[s]};break;case 51:this.$=[a[s]];break;case 52: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 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=a[s];break;case 55:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 56:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`);break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`);break;case 58:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`);break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`);break;case 60:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`);break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`);break;case 62: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 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`);break;case 64:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`);break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`);break;case 66:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`);break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`);break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`);break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`);break;case 72:this.$=a[s],r.addVertex(a[s]);break;case 73:a[s-1].text=a[s],this.$=a[s-1];break;case 74:case 75:a[s-2].text=a[s-1],this.$=a[s-2];break;case 76:this.$=a[s];break;case 77: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 78: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 79:this.$={text:a[s],type:`text`};break;case 80:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 81:this.$={text:a[s],type:`string`};break;case 82:this.$={text:a[s],type:`markdown`};break;case 83:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 84:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,id:a[s-1]};break;case 85:this.$=a[s-1];break;case 86:this.$={text:a[s],type:`text`};break;case 87:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 88:this.$={text:a[s],type:`string`};break;case 89:case 104:this.$={text:a[s],type:`markdown`};break;case 101:this.$={text:a[s],type:`text`};break;case 102:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 103:this.$={text:a[s],type:`text`};break;case 105:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 106:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 107:case 115:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 108:case 116:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 109:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 110:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 111:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 112:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 113:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 114:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 117:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 118:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 119:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 120:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 121:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 122:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 123:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 124:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 125:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 126:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 127:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 128:case 130:this.$=[a[s]];break;case 129:case 131:a[s-2].push(a[s]),this.$=a[s-2];break;case 133:this.$=a[s-1]+a[s];break;case 181:this.$=a[s];break;case 182:this.$=a[s-1]+``+a[s];break;case 184:this.$=a[s-1]+``+a[s];break;case 185:this.$={stmt:`dir`,value:`TB`};break;case 186:this.$={stmt:`dir`,value:`BT`};break;case 187:this.$={stmt:`dir`,value:`RL`};break;case 188:this.$={stmt:`dir`,value:`LR`};break;case 189:this.$={stmt:`dir`,value:`TD`}}},`anonymous`),table:[{3:1,4:2,9:n,10:r,12:i},{1:[3]},e(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:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},e(a,[2,9]),e(a,[2,10]),e(a,[2,11]),{8:[1,55],9:[1,56],10:A,15:54,18:57},e(j,[2,3]),e(j,[2,4]),e(j,[2,5]),e(j,[2,6]),e(j,[2,7]),e(j,[2,8]),{8:M,9:N,11:P,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:M,9:N,11:P,21:68},{8:M,9:N,11:P,21:69},{8:M,9:N,11:P,21:70},{8:M,9:N,11:P,21:71},{8:M,9:N,11:P,21:72},{8:M,9:N,10:[1,73],11:P,21:74},e(j,[2,36]),{35:[1,75]},{37:[1,76]},e(j,[2,39]),e(oe,[2,50],{18:77,39:78,10:A,40:se}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:ce,44:le,60:ue,80:[1,87],89:de,95:[1,84],97:[1,85],101:86,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve,120:88},e(j,[2,185]),e(j,[2,186]),e(j,[2,187]),e(j,[2,188]),e(j,[2,189]),e(ye,[2,51]),e(ye,[2,54],{46:[1,100]}),e(F,[2,72],{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:y,102:b,105:x,106:S,109:C,111:w,114:T,115:E,116:D}),e(I,[2,181]),e(I,[2,142]),e(I,[2,143]),e(I,[2,144]),e(I,[2,145]),e(I,[2,146]),e(I,[2,147]),e(I,[2,148]),e(I,[2,149]),e(I,[2,150]),e(I,[2,151]),e(I,[2,152]),e(a,[2,12]),e(a,[2,18]),e(a,[2,19]),{9:[1,114]},e(be,[2,26],{18:115,10:A}),e(j,[2,27]),{42:116,43:39,44:h,45:40,47:41,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},e(j,[2,40]),e(j,[2,41]),e(j,[2,42]),e(xe,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Se,81:Ce,116:we,119:Te},{75:[1,126],77:[1,127]},e(Ee,[2,83]),e(j,[2,28]),e(j,[2,29]),e(j,[2,30]),e(j,[2,31]),e(j,[2,32]),{10:De,12:Oe,14:ke,27:Ae,28:128,32:je,44:Me,60:Ne,75:Pe,80:[1,130],81:[1,131],83:141,84:Fe,85:Ie,86:Le,87:Re,88:ze,89:Be,90:Ve,91:129,105:He,109:Ue,111:We,114:Ge,115:Ke,116:qe},e(Je,o,{5:154}),e(j,[2,37]),e(j,[2,38]),e(oe,[2,48],{44:Ye}),e(oe,[2,49],{18:156,10:A,40:Xe}),e(ye,[2,44]),{44:h,47:158,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{102:[1,159],103:160,105:[1,161]},{44:h,47:162,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{44:h,47:163,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},e(L,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(L,[2,115],{120:168,10:[1,167],14:ce,44:le,60:ue,89:de,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve}),e(L,[2,117],{10:[1,169]}),e(R,[2,183]),e(R,[2,170]),e(R,[2,171]),e(R,[2,172]),e(R,[2,173]),e(R,[2,174]),e(R,[2,175]),e(R,[2,176]),e(R,[2,177]),e(R,[2,178]),e(R,[2,179]),e(R,[2,180]),{44:h,47:170,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{30:171,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:179,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:181,50:[1,180],67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:182,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:183,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:184,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{109:[1,185]},{30:186,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:187,65:[1,188],67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:189,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:190,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{30:191,67:z,80:B,81:V,82:172,116:H,117:U,118:W},e(I,[2,182]),e(a,[2,20]),e(be,[2,25]),e(oe,[2,46],{39:192,18:193,10:A,40:se}),e(xe,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{77:[1,197],79:198,116:we,119:Te},e(Ze,[2,79]),e(Ze,[2,81]),e(Ze,[2,82]),e(Ze,[2,168]),e(Ze,[2,169]),{76:199,79:121,80:Se,81:Ce,116:we,119:Te},e(Ee,[2,84]),{8:M,9:N,10:De,11:P,12:Oe,14:ke,21:201,27:Ae,29:[1,200],32:je,44:Me,60:Ne,75:Pe,83:141,84:Fe,85:Ie,86:Le,87:Re,88:ze,89:Be,90:Ve,91:202,105:He,109:Ue,111:We,114:Ge,115:Ke,116:qe},e(G,[2,101]),e(G,[2,103]),e(G,[2,104]),e(G,[2,157]),e(G,[2,158]),e(G,[2,159]),e(G,[2,160]),e(G,[2,161]),e(G,[2,162]),e(G,[2,163]),e(G,[2,164]),e(G,[2,165]),e(G,[2,166]),e(G,[2,167]),e(G,[2,90]),e(G,[2,91]),e(G,[2,92]),e(G,[2,93]),e(G,[2,94]),e(G,[2,95]),e(G,[2,96]),e(G,[2,97]),e(G,[2,98]),e(G,[2,99]),e(G,[2,100]),{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:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},{10:A,18:204},{44:[1,205]},e(ye,[2,43]),{10:[1,206],44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:113,114:T,115:E,116:D},{10:[1,207]},{10:[1,208],106:[1,209]},e(Qe,[2,128]),{10:[1,210],44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:113,114:T,115:E,116:D},{10:[1,211],44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:113,114:T,115:E,116:D},{80:[1,212]},e(L,[2,109],{10:[1,213]}),e(L,[2,111],{10:[1,214]}),{80:[1,215]},e(R,[2,184]),{80:[1,216],98:[1,217]},e(ye,[2,55],{113:113,44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,114:T,115:E,116:D}),{31:[1,218],67:z,82:219,116:H,117:U,118:W},e($e,[2,86]),e($e,[2,88]),e($e,[2,89]),e($e,[2,153]),e($e,[2,154]),e($e,[2,155]),e($e,[2,156]),{49:[1,220],67:z,82:219,116:H,117:U,118:W},{30:221,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{51:[1,222],67:z,82:219,116:H,117:U,118:W},{53:[1,223],67:z,82:219,116:H,117:U,118:W},{55:[1,224],67:z,82:219,116:H,117:U,118:W},{57:[1,225],67:z,82:219,116:H,117:U,118:W},{60:[1,226]},{64:[1,227],67:z,82:219,116:H,117:U,118:W},{66:[1,228],67:z,82:219,116:H,117:U,118:W},{30:229,67:z,80:B,81:V,82:172,116:H,117:U,118:W},{31:[1,230],67:z,82:219,116:H,117:U,118:W},{67:z,69:[1,231],71:[1,232],82:219,116:H,117:U,118:W},{67:z,69:[1,234],71:[1,233],82:219,116:H,117:U,118:W},e(oe,[2,45],{18:156,10:A,40:Xe}),e(oe,[2,47],{44:Ye}),e(xe,[2,75]),e(xe,[2,74]),{62:[1,235],67:z,82:219,116:H,117:U,118:W},e(xe,[2,77]),e(Ze,[2,80]),{77:[1,236],79:198,116:we,119:Te},{30:237,67:z,80:B,81:V,82:172,116:H,117:U,118:W},e(Je,o,{5:238}),e(G,[2,102]),e(j,[2,35]),{43:239,44:h,45:40,47:41,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},{10:A,18:240},{10:K,60:q,84:J,92:241,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{10:K,60:q,84:J,92:252,104:[1,253],105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{10:K,60:q,84:J,92:254,104:[1,255],105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{105:[1,256]},{10:K,60:q,84:J,92:257,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{44:h,47:258,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},e(L,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(L,[2,116]),e(L,[2,118],{10:[1,262]}),e(L,[2,119]),e(F,[2,56]),e($e,[2,87]),e(F,[2,57]),{51:[1,263],67:z,82:219,116:H,117:U,118:W},e(F,[2,64]),e(F,[2,59]),e(F,[2,60]),e(F,[2,61]),{109:[1,264]},e(F,[2,63]),e(F,[2,65]),{66:[1,265],67:z,82:219,116:H,117:U,118:W},e(F,[2,67]),e(F,[2,68]),e(F,[2,70]),e(F,[2,69]),e(F,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(xe,[2,78]),{31:[1,266],67:z,82:219,116:H,117:U,118:W},{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,267],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},e(ye,[2,53]),{43:268,44:h,45:40,47:41,60:g,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D},e(L,[2,121],{106:tt}),e(nt,[2,130],{108:270,10:K,60:q,84:J,105:Y,109:X,110:Z,111:et,112:Q}),e($,[2,132]),e($,[2,134]),e($,[2,135]),e($,[2,136]),e($,[2,137]),e($,[2,138]),e($,[2,139]),e($,[2,140]),e($,[2,141]),e(L,[2,122],{106:tt}),{10:[1,271]},e(L,[2,123],{106:tt}),{10:[1,272]},e(Qe,[2,129]),e(L,[2,105],{106:tt}),e(L,[2,106],{113:113,44:h,60:g,89:y,102:b,105:x,106:S,109:C,111:w,114:T,115:E,116:D}),e(L,[2,110]),e(L,[2,112],{10:[1,273]}),e(L,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:M,9:N,11:P,21:278},e(j,[2,34]),e(ye,[2,52]),{10:K,60:q,84:J,105:Y,107:279,108:243,109:X,110:Z,111:et,112:Q},e($,[2,133]),{14:ce,44:le,60:ue,89:de,101:280,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve,120:88},{14:ce,44:le,60:ue,89:de,101:281,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve,120:88},{98:[1,282]},e(L,[2,120]),e(F,[2,58]),{30:283,67:z,80:B,81:V,82:172,116:H,117:U,118:W},e(F,[2,66]),e(Je,o,{5:284}),e(nt,[2,131],{108:270,10:K,60:q,84:J,105:Y,109:X,110:Z,111:et,112:Q}),e(L,[2,126],{120:168,10:[1,285],14:ce,44:le,60:ue,89:de,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve}),e(L,[2,127],{120:168,10:[1,286],14:ce,44:le,60:ue,89:de,105:fe,106:pe,109:me,111:he,114:ge,115:_e,116:ve}),e(L,[2,114]),{31:[1,287],67:z,82:219,116:H,117:U,118:W},{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,288],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:_,85:v,86:ee,87:te,88:ne,89:y,102:b,105:x,106:S,109:C,111:w,113:42,114:T,115:E,116:D,121:O,122:k,123:re,124:ie,125:ae},{10:K,60:q,84:J,92:289,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},{10:K,60:q,84:J,92:290,105:Y,107:242,108:243,109:X,110:Z,111:et,112:Q},e(F,[2,62]),e(j,[2,33]),e(L,[2,124],{106:tt}),e(L,[2,125],{106:tt})],defaultActions:{},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){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(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var ee=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function te(e){r.length-=2*e,a.length-=e,o.length-=e}t(te,`popStack`);function ne(){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}t(ne,`lex`);for(var y,b,x,S,C,w={},T,E,D,O;;){if(x=r[r.length-1],this.defaultActions[x]?S=this.defaultActions[x]:(y??=ne(),S=s[x]&&s[x][y]),S===void 0||!S.length||!S[0]){var k=``;for(T in O=[],s[x])this.terminals_[T]&&T>f&&O.push(`'`+this.terminals_[T]+`'`);k=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
10
|
-
`+h.showPosition()+`
|
|
11
|
-
Expecting `+O.join(`, `)+`, got '`+(this.terminals_[y]||y)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(y==p?`end of input`:`'`+(this.terminals_[y]||y)+`'`),this.parseError(k,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:v,expected:O})}if(S[0]instanceof Array&&S.length>1)throw Error(`Parse Error: multiple actions possible at state: `+x+`, token: `+y);switch(S[0]){case 1:r.push(y),a.push(h.yytext),o.push(h.yylloc),r.push(S[1]),y=null,b?(y=b,b=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(E=this.productions_[S[1]][1],w.$=a[a.length-E],w._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},ee&&(w._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),C=this.performAction.apply(w,[c,u,l,g.yy,S[1],a,o].concat(m)),C!==void 0)return C;E&&(r=r.slice(0,-1*E*2),a=a.slice(0,-1*E),o=o.slice(0,-1*E)),r.push(this.productions_[S[1]][0]),a.push(w.$),o.push(w._$),D=s[r[r.length-2]][r[r.length-1]],r.push(D);break;case 3:return!0}}return!0},`parse`)};rt.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(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:t(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:t(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:t(function(){return this._more=!0,this},`more`),reject:t(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:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(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:t(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:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
13
|
-
`+t+`^`},`showPosition`),test_match:t(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:t(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:t(function(){return this.next()||this.lex()},`lex`),begin:t(function(e){this.conditionStack.push(e)},`begin`),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:t(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:t(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:t(function(e){this.begin(e)},`pushState`),stateStackSize:t(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:t(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)/,/^(?:$)/],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 it(){this.yy={}}return t(it,`Parser`),it.prototype=rt,rt.Parser=it,new it})();k.parser=k;var re=k,ie=Object.assign({},re);ie.parse=e=>{let t=e.replace(/}\s*\n/g,`}
|
|
15
|
-
`);return re.parse(t)};var ae=ie,A=t((e,t)=>{let n=g,r=n(e,`r`),i=n(e,`g`),a=n(e,`b`);return u(r,i,a,t)},`fade`),j=t(e=>`.label {
|
|
16
|
-
font-family: ${e.fontFamily};
|
|
17
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
18
|
-
}
|
|
19
|
-
.cluster-label text {
|
|
20
|
-
fill: ${e.titleColor};
|
|
21
|
-
}
|
|
22
|
-
.cluster-label span {
|
|
23
|
-
color: ${e.titleColor};
|
|
24
|
-
}
|
|
25
|
-
.cluster-label span p {
|
|
26
|
-
background-color: transparent;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.label text,span {
|
|
30
|
-
fill: ${e.nodeTextColor||e.textColor};
|
|
31
|
-
color: ${e.nodeTextColor||e.textColor};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.node rect,
|
|
35
|
-
.node circle,
|
|
36
|
-
.node ellipse,
|
|
37
|
-
.node polygon,
|
|
38
|
-
.node path {
|
|
39
|
-
fill: ${e.mainBkg};
|
|
40
|
-
stroke: ${e.nodeBorder};
|
|
41
|
-
stroke-width: ${e.strokeWidth??1}px;
|
|
42
|
-
}
|
|
43
|
-
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
44
|
-
text-anchor: middle;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.node .katex path {
|
|
48
|
-
fill: #000;
|
|
49
|
-
stroke: #000;
|
|
50
|
-
stroke-width: 1px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
54
|
-
text-align: center;
|
|
55
|
-
}
|
|
56
|
-
.node.clickable {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
.root .anchor path {
|
|
62
|
-
fill: ${e.lineColor} !important;
|
|
63
|
-
stroke-width: 0;
|
|
64
|
-
stroke: ${e.lineColor};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.arrowheadPath {
|
|
68
|
-
fill: ${e.arrowheadColor};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.edgePath .path {
|
|
72
|
-
stroke: ${e.lineColor};
|
|
73
|
-
stroke-width: ${e.strokeWidth??2}px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.flowchart-link {
|
|
77
|
-
stroke: ${e.lineColor};
|
|
78
|
-
fill: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.edgeLabel {
|
|
82
|
-
background-color: ${e.edgeLabelBackground};
|
|
83
|
-
p {
|
|
84
|
-
background-color: ${e.edgeLabelBackground};
|
|
85
|
-
}
|
|
86
|
-
rect {
|
|
87
|
-
opacity: 0.5;
|
|
88
|
-
background-color: ${e.edgeLabelBackground};
|
|
89
|
-
fill: ${e.edgeLabelBackground};
|
|
90
|
-
}
|
|
91
|
-
text-align: center;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* For html labels only */
|
|
95
|
-
.labelBkg {
|
|
96
|
-
background-color: ${A(e.edgeLabelBackground,.5)};
|
|
97
|
-
// background-color:
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.cluster rect {
|
|
101
|
-
fill: ${e.clusterBkg};
|
|
102
|
-
stroke: ${e.clusterBorder};
|
|
103
|
-
stroke-width: 1px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.cluster text {
|
|
107
|
-
fill: ${e.titleColor};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.cluster span {
|
|
111
|
-
color: ${e.titleColor};
|
|
112
|
-
}
|
|
113
|
-
/* .cluster div {
|
|
114
|
-
color: ${e.titleColor};
|
|
115
|
-
} */
|
|
116
|
-
|
|
117
|
-
/* Collapsed subgraph node (@{ view: collapsed }) */
|
|
118
|
-
.node .collapsed-indicator {
|
|
119
|
-
fill: ${e.clusterBorder};
|
|
120
|
-
stroke: none;
|
|
121
|
-
opacity: 0.6;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.node .collapsed-separator {
|
|
125
|
-
stroke: ${e.clusterBorder};
|
|
126
|
-
stroke-width: 0.75px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
div.mermaidTooltip {
|
|
130
|
-
position: absolute;
|
|
131
|
-
text-align: center;
|
|
132
|
-
max-width: 200px;
|
|
133
|
-
padding: 2px;
|
|
134
|
-
font-family: ${e.fontFamily};
|
|
135
|
-
font-size: 12px;
|
|
136
|
-
background: ${e.tertiaryColor};
|
|
137
|
-
border: 1px solid ${e.border2};
|
|
138
|
-
border-radius: 2px;
|
|
139
|
-
pointer-events: none;
|
|
140
|
-
z-index: 100;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.flowchartTitleText {
|
|
144
|
-
text-anchor: middle;
|
|
145
|
-
font-size: 18px;
|
|
146
|
-
fill: ${e.textColor};
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
rect.text {
|
|
150
|
-
fill: none;
|
|
151
|
-
stroke-width: 0;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.icon-shape, .image-shape {
|
|
155
|
-
background-color: ${e.edgeLabelBackground};
|
|
156
|
-
p {
|
|
157
|
-
background-color: ${e.edgeLabelBackground};
|
|
158
|
-
padding: 2px;
|
|
159
|
-
}
|
|
160
|
-
.label rect {
|
|
161
|
-
opacity: 0.5;
|
|
162
|
-
background-color: ${e.edgeLabelBackground};
|
|
163
|
-
fill: ${e.edgeLabelBackground};
|
|
164
|
-
}
|
|
165
|
-
text-align: center;
|
|
166
|
-
}
|
|
167
|
-
${te()}
|
|
168
|
-
`,`getStyles`),M=t(({defaultLayout:e,styles:n=j}={})=>({parser:ae,get db(){return new D},renderer:O,styles:n,init:t(t=>{t.flowchart||={};let n=l().layout??e??t.layout;n&&r({layout:n}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}})},`init`)}),`createFlowDiagram`),N=M();export{N as n,j as r,M as t};
|