@microvac/ui 0.0.0-stage → 0.1.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -2
- package/dist/android-chrome-192x192.png +0 -0
- package/dist/android-chrome-512x512.png +0 -0
- package/dist/announcement-preview.svg +11 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/assets/ActiveAgentsPanel-BEx06tMt.js +1 -0
- package/dist/assets/AdapterManager-3kEEQWFJ.js +1 -0
- package/dist/assets/AdvancedToolsRoute-CgS6B-oh.js +39 -0
- package/dist/assets/AgentActionButtons-Cz3jCEd7.js +1 -0
- package/dist/assets/AgentAdvancedTab-BG6ZIAuN.js +131 -0
- package/dist/assets/AgentBulkSettingsSheet-BrrbvspS.js +1 -0
- package/dist/assets/AgentChat-Dw9iXD6H.js +1 -0
- package/dist/assets/AgentDetailPage-CuVIHv_q.js +39 -0
- package/dist/assets/AgentIdentityChip-BrVCcuHQ.js +1 -0
- package/dist/assets/AgentRosterFilters-GQ2bdXfW.js +2 -0
- package/dist/assets/Agents-clrVQnvc.js +2 -0
- package/dist/assets/Agents.production-DTopo7XB.js +2 -0
- package/dist/assets/AnimatedDialogContent-CDLfw-dJ.js +1 -0
- package/dist/assets/AppDetail-BcWBg5yW.js +1 -0
- package/dist/assets/AppNotConnected-NgfyHZ4L.js +1 -0
- package/dist/assets/ApprovalDetail-Dm_1V4tC.js +1 -0
- package/dist/assets/Approvals-i5AB3JPj.js +1 -0
- package/dist/assets/AppsConnect-D660Tpuo.js +1 -0
- package/dist/assets/AppsReview-DdTqOisY.js +1 -0
- package/dist/assets/ArtifactEmptyGraphic-DzxCruYA.js +1 -0
- package/dist/assets/Artifacts-CkXBz6nh.js +1 -0
- package/dist/assets/AssigneePickerInner-BNjyABBe.js +1 -0
- package/dist/assets/AssistantConnection-CNF6mDmO.js +1 -0
- package/dist/assets/AttentionInlineVerbs-BiyZ1ekZ.js +1 -0
- package/dist/assets/AttentionQueueRow-Bh0dKHpF.js +1 -0
- package/dist/assets/AuditHub-BK848cb4.js +1 -0
- package/dist/assets/AuditRuns-CUdlbP7S.js +1 -0
- package/dist/assets/Auth-DDqxm5gD.js +3 -0
- package/dist/assets/BoardChat-fvKqk0R7.js +18 -0
- package/dist/assets/BoardClaim-BEC5BZfz.js +1 -0
- package/dist/assets/BootstrapSetupUxLab-CXzErrin.js +1 -0
- package/dist/assets/Browse-DoovSMuF.js +1 -0
- package/dist/assets/BudgetPolicyCard-BYMlczCq.js +1 -0
- package/dist/assets/CaseDetail-UMAcSH_x.js +1 -0
- package/dist/assets/CaseStatus-BI0aMl9l.js +1 -0
- package/dist/assets/Cases-CMTkGghU.js +1 -0
- package/dist/assets/ChatEndpointDetail-CocNEInH.js +5 -0
- package/dist/assets/ChatEndpointSetup-Cyi2tI9K.js +1 -0
- package/dist/assets/ChatIdentityConfirm-Ba3JuTX1.js +1 -0
- package/dist/assets/CliAuth-D2jnueGH.js +1 -0
- package/dist/assets/Companies-K75I9dJs.js +1 -0
- package/dist/assets/CompanyAccess-Cw6nLUhE.js +1 -0
- package/dist/assets/CompanyActivity-BsgmVpWS.js +1 -0
- package/dist/assets/CompanyActivity.production-w-KGxvo6.js +1 -0
- package/dist/assets/CompanyConnections-yRPYSdm7.js +1 -0
- package/dist/assets/CompanyEnvironments-BA7kWdOJ.js +35 -0
- package/dist/assets/CompanyEnvironments-BrP-ENHg.css +1 -0
- package/dist/assets/CompanyExport-DfsK4b9c.js +4 -0
- package/dist/assets/CompanyImport-DJHAsmSF.js +1 -0
- package/dist/assets/CompanySettings-DwzHGXec.js +1 -0
- package/dist/assets/CompanySettingsPluginPage-Bpa81PF3.js +1 -0
- package/dist/assets/CompanySkills-eTqgbqQN.js +10 -0
- package/dist/assets/CompanySkills.production-CQSWfH0r.js +10 -0
- package/dist/assets/ConfigureBuiltInAgentModal-DgeD7t_i.js +1 -0
- package/dist/assets/CopyableGatewayUrl-B6K3rOal.js +1 -0
- package/dist/assets/CordisPluginSettings-DD3AnD2G.js +1 -0
- package/dist/assets/Costs-orBM8T-a.js +1 -0
- package/dist/assets/CrossIssueCollaborationUxLab-Bv9y9-NE.js +1 -0
- package/dist/assets/Dashboard-CrSBNKX1.js +2 -0
- package/dist/assets/DashboardLive-Cg8C9RiS.js +1 -0
- package/dist/assets/DecisionDateChips-BLZKZH71.js +1 -0
- package/dist/assets/DecisionHistoryPanel-yK-CP7Qg.js +1 -0
- package/dist/assets/DecisionQueuePage-BKXbERai.js +1 -0
- package/dist/assets/DesignGuide-2FswNsXz.js +25 -0
- package/dist/assets/DesignSandboxTaskThread-CGU--FXR.js +28 -0
- package/dist/assets/EmailConnectionAccess-CZ5QRKyg.js +1 -0
- package/dist/assets/EmailEndpointSetup-BI2vsd8Y.js +1 -0
- package/dist/assets/EnforcementBanner-B-iX466h.js +1 -0
- package/dist/assets/EntityRow-BsICt6pd.js +1 -0
- package/dist/assets/ExecutionWorkspaceDetail-CMqR9puh.js +19 -0
- package/dist/assets/ExternalAgentInviteDialog-De30ZrLP.js +50 -0
- package/dist/assets/FilterBar-rCmsTtG4.js +1 -0
- package/dist/assets/FolderControls-CmnB7Ap-.js +1 -0
- package/dist/assets/GatewayDetail-Duw9pJ10.js +2 -0
- package/dist/assets/GatewaysList-BBhVGhRq.js +1 -0
- package/dist/assets/GitHubConnectionRecovery-6VshLoNV.js +1 -0
- package/dist/assets/GoalDetail-CahntjlI.js +1 -0
- package/dist/assets/GoalTree-CU4GBFCh.js +1 -0
- package/dist/assets/Goals-CzM2NDFR.js +1 -0
- package/dist/assets/InstanceAccess-CZzkE65W.js +1 -0
- package/dist/assets/InstanceExperimentalSettings-DWumKtOK.js +1 -0
- package/dist/assets/InviteLanding-BIy2z50u.js +1 -0
- package/dist/assets/IssueChatLongThreadPerf-D4DJvdOG.js +2 -0
- package/dist/assets/JoinRequestQueue-C5rauGYm.js +1 -0
- package/dist/assets/Layout.production-BSDWnupa.js +1 -0
- package/dist/assets/McpConnect-BN8ST0RS.js +1 -0
- package/dist/assets/MembershipAction-DTjhGn-L.js +1 -0
- package/dist/assets/MetricCard-CeL9Pdn5.js +1 -0
- package/dist/assets/MissingPluginTabPlaceholder-CbQiSVnZ.js +1 -0
- package/dist/assets/NewAgent-BszrNpQk.js +1 -0
- package/dist/assets/NewAgentDialog-U9qAcTzc.js +1 -0
- package/dist/assets/NewGoalDialog-DqKbk4-i.js +1 -0
- package/dist/assets/NewProjectDialog-DrlUAF-N.js +1 -0
- package/dist/assets/OnboardingPrimitives-BkgPF4Mu.js +1 -0
- package/dist/assets/OnboardingWizard-CMBMcuXv.js +2 -0
- package/dist/assets/OrgChart.production-BLczTjRj.js +1 -0
- package/dist/assets/PaperclipCloudOAuthHandoff-BTtF8UPD.js +1 -0
- package/dist/assets/PluginManager-CCcqlfgK.js +1 -0
- package/dist/assets/PluginPage-B1empV69.js +1 -0
- package/dist/assets/PluginSettings-DtopaRqR.js +1 -0
- package/dist/assets/ProfileDetailRoute-BqvVpBZi.js +1 -0
- package/dist/assets/ProfileSettings-5__tVfGi.js +1 -0
- package/dist/assets/ProfileWizardRoute-vt-MRLuD.js +1 -0
- package/dist/assets/ProjectDetail-DJ4zjube.js +1 -0
- package/dist/assets/ProjectRepositoryInput-BJcnj3At.js +1 -0
- package/dist/assets/ProjectWorkspaceDetail-DEAO3q6v.js +29 -0
- package/dist/assets/ProjectWorkspacesContent-CZvO7p0i.js +1 -0
- package/dist/assets/Projects-Dm7-zXUH.js +1 -0
- package/dist/assets/QuotaBar-Drp3CaxX.js +1 -0
- package/dist/assets/RepositoryEditor-BT_VAkJu.js +1 -0
- package/dist/assets/Responsibilities-DbUEtGZu.js +4 -0
- package/dist/assets/ResponsibilityDetail--S8_GOkb.js +1 -0
- package/dist/assets/ResponsibleUserDenialUxLab-1PB3JNG0.js +1 -0
- package/dist/assets/ReviewQueueCard-B8w9aXKU.js +1 -0
- package/dist/assets/RoutineAuditActivity-BCo7pYe5.js +1 -0
- package/dist/assets/RoutineDetail-C9Dwn5G9.js +2 -0
- package/dist/assets/RoutineRunVariablesDialog-Baomcbe3.js +1 -0
- package/dist/assets/Routines-Dkv4gJno.js +1 -0
- package/dist/assets/Routines.production-Cs2Y-lpt.js +1 -0
- package/dist/assets/RoutinesToolbar-BNKfCrTo.js +1 -0
- package/dist/assets/Search-CVx4cl2o.js +1 -0
- package/dist/assets/Secrets-C2qv2HKZ.js +4 -0
- package/dist/assets/SkillBinaryFile-DDkhLlfC.js +1 -0
- package/dist/assets/SkillCardIcon-Cp_hws0N.js +2 -0
- package/dist/assets/SkillFolderTree-Cv0CmfYx.js +1 -0
- package/dist/assets/SkillSourceTree-DmjlUswf.js +2 -0
- package/dist/assets/SkillSources-nmlYypUU.js +2 -0
- package/dist/assets/SkillStudio-BK3y_3zr.js +9 -0
- package/dist/assets/SkillsNavigationTabs-DRwMP1eu.js +1 -0
- package/dist/assets/SpekoPhoneCallback-Cqi7AIyH.js +1 -0
- package/dist/assets/SpekoProviderSetup-CJI4oXk5.js +1 -0
- package/dist/assets/StatusCards-DKyyY81S.js +1 -0
- package/dist/assets/SummarySlotCard-f3RomdZS.js +1 -0
- package/dist/assets/TailscaleConnector-yQWLR1Ra.js +1 -0
- package/dist/assets/TaskChatLab-Dsr7eyj4.js +11 -0
- package/dist/assets/TaskSummaryList-eFDfK_QH.js +1 -0
- package/dist/assets/Timeline-BWA9dyk6.js +1 -0
- package/dist/assets/ToolsAdminGate-DpBg30hQ.js +1 -0
- package/dist/assets/TrustPresetSection-DtWjK9Kp.js +1 -0
- package/dist/assets/UserProfile-C66UI5xx.js +1 -0
- package/dist/assets/WebhookUrlWarning-CDygVnDH.js +1 -0
- package/dist/assets/WhatNeedsMe-BQ82RHus.js +1 -0
- package/dist/assets/Workspaces-DrjJes30.js +1 -0
- package/dist/assets/abnfDiagram-YUKMZFIV-Crkksu2D.js +1 -0
- package/dist/assets/apl-MHzTCvfx.js +1 -0
- package/dist/assets/arc-Dnq9Aszq.js +1 -0
- package/dist/assets/architecture-WOLXFQ4H-bHU8FW0c.js +1 -0
- package/dist/assets/architectureDiagram-47P4ROYG-Bj5Styf9.js +36 -0
- package/dist/assets/array-CL5Tisss.js +1 -0
- package/dist/assets/arrow-down-left-Ck9VQyqQ.js +1 -0
- package/dist/assets/asciiarmor-DFLNSgns.js +1 -0
- package/dist/assets/asn1-CfPVWRYE.js +1 -0
- package/dist/assets/asterisk-CJ4OeA7Y.js +1 -0
- package/dist/assets/blockDiagram-E7TT5TSB-OeHpNCQ-.js +140 -0
- package/dist/assets/brainfuck-NEHkmXMc.js +1 -0
- package/dist/assets/budgets-CAWPqcn4.js +1 -0
- package/dist/assets/building-complex-Dxiyk_pH.js +1 -0
- package/dist/assets/c4Diagram-CRA5TL53-QbK5p76P.js +38 -0
- package/dist/assets/channel-BSmZkKA8.js +1 -0
- package/dist/assets/character-CguPM7IG.js +1 -0
- package/dist/assets/chat-channels-CzTZV2fr.js +1 -0
- package/dist/assets/chunk-2BW5OAIV-Ckr4HfBO.js +10 -0
- package/dist/assets/chunk-2Q5K7J3B-CkPHWFj-.js +1 -0
- package/dist/assets/chunk-3YJQHVM4-C_uoPpLR.js +2 -0
- package/dist/assets/chunk-4EA7E6EY-BeMEfIRS.js +1 -0
- package/dist/assets/chunk-5VM5RSS4-2H3r6wq0.js +15 -0
- package/dist/assets/chunk-7TKQ45FW-DiwqWHvN.js +1 -0
- package/dist/assets/chunk-AW2ZBBNX-Cf57K3PO.js +88 -0
- package/dist/assets/chunk-DBDB3WZW-B2qouVQO.js +1 -0
- package/dist/assets/chunk-DUW6YSOI-slPglwIh.js +1 -0
- package/dist/assets/chunk-E2ZNV5FY-DG8wQ_NS.js +70 -0
- package/dist/assets/chunk-EU5HNXII-cxRrXRGV.js +213 -0
- package/dist/assets/chunk-FVRAUYC3-Dizswk0V.js +2 -0
- package/dist/assets/chunk-HJ2JQQFS-DL4lnpSv.js +1 -0
- package/dist/assets/chunk-HTAEGDNF-Zxjdb6kj.js +1 -0
- package/dist/assets/chunk-J5ZVWO5B-ClU583ja.js +1 -0
- package/dist/assets/chunk-JWPE2WC7--HEGjv3t.js +1 -0
- package/dist/assets/chunk-KQW6MTUR-BsVaJdnu.js +1 -0
- package/dist/assets/chunk-NGNAAXSQ-e5XI1hSt.js +128 -0
- package/dist/assets/chunk-NTY3LDVX-DyT9N5sM.js +1 -0
- package/dist/assets/chunk-VPRB5NB3-BNz5CtBn.js +129 -0
- package/dist/assets/chunk-XC4XBNZT-CCgIhjYS.js +62 -0
- package/dist/assets/chunk-XXDRQBXY-BdWplhUD.js +1 -0
- package/dist/assets/chunk-Y2CYZVJY-OvsAdhaO.js +1 -0
- package/dist/assets/circle-slash-uNv_ha0X.js +1 -0
- package/dist/assets/classDiagram-v2-K4WV4PDN-Cdh3CEl4.js +217 -0
- package/dist/assets/clike-CIx9nZSv.js +1 -0
- package/dist/assets/clojure-DFaIEz5O.js +1 -0
- package/dist/assets/cmake-koz-qBlo.js +1 -0
- package/dist/assets/cobol-Bo8Zw9gB.js +1 -0
- package/dist/assets/coffeescript-CXYzYf-Y.js +1 -0
- package/dist/assets/coins-BDAh8hDQ.js +1 -0
- package/dist/assets/collections-B58p51lw.js +3 -0
- package/dist/assets/commonlisp-C4OOCwkD.js +1 -0
- package/dist/assets/company-skill-routes-D5LJ1l8M.js +1 -0
- package/dist/assets/company-skill-summary-DnWVmP1S.js +1 -0
- package/dist/assets/configuration-warnings-CZKSfHJv.js +2 -0
- package/dist/assets/connection-owner-D8fNrFqC.js +1 -0
- package/dist/assets/cose-bilkent-JH36ORCC-DFyVDb92.js +1 -0
- package/dist/assets/crystal-BlJXQDvy.js +1 -0
- package/dist/assets/css-DEZwfVpY.js +1 -0
- package/dist/assets/cynefin-EF2NZ3EQ-BkwhfqJ0.js +1 -0
- package/dist/assets/cynefinDiagram-3GCD6N5R-DuGb_wq2.js +62 -0
- package/dist/assets/cypher-z2oFsVv2.js +1 -0
- package/dist/assets/cytoscape.esm-C2vp4vBx.js +321 -0
- package/dist/assets/d-Dkt6y7AQ.js +1 -0
- package/dist/assets/dagre-W4DXFKR2-Bxq_Mhia.js +4 -0
- package/dist/assets/defaultLocale-C2Bpu8Ih.js +1 -0
- package/dist/assets/definition-DxwMBXnu.js +1 -0
- package/dist/assets/diagram-2UJZ2QOL-B-P_hrXV.js +200 -0
- package/dist/assets/diagram-OVF4WLC6-Ds0BqQWH.js +24 -0
- package/dist/assets/diagram-PFPMY2P6-Dpqb2-Cb.js +30 -0
- package/dist/assets/diagram-UMYRVEAY-BJSoxjiu.js +24 -0
- package/dist/assets/diagram-YEKJPTXX-BxaG_9tT.js +41 -0
- package/dist/assets/diagram-ZIFT7M5P-6acvVOtc.js +3 -0
- package/dist/assets/diff-C60bAYOU.js +1 -0
- package/dist/assets/dist-0EWXio4m.js +1 -0
- package/dist/assets/dist-BGvZP_Cl.js +1 -0
- package/dist/assets/dist-BZ7AbEhN.js +1 -0
- package/dist/assets/dist-BlosHr86.js +6 -0
- package/dist/assets/dist-Bmr4uhSk.js +1 -0
- package/dist/assets/dist-C6yMfMNS.js +13 -0
- package/dist/assets/dist-CMZQedYl.js +1 -0
- package/dist/assets/dist-CTlCK4Pe.js +1 -0
- package/dist/assets/dist-C_N_-eaT.js +1 -0
- package/dist/assets/dist-CaUbG4Hl.js +1 -0
- package/dist/assets/dist-Cd7wdKYE.js +39 -0
- package/dist/assets/dist-Cn7-nxjU.js +1 -0
- package/dist/assets/dist-Cnj95_pX.js +1 -0
- package/dist/assets/dist-D9DR7k9k.js +3 -0
- package/dist/assets/dist-DIwsVdS2.js +2 -0
- package/dist/assets/dist-DVE0lLId.js +1 -0
- package/dist/assets/dist-DkAPL4CQ.js +1 -0
- package/dist/assets/dist-Dl6N3kpQ.js +1 -0
- package/dist/assets/dist-DmBvXBzK.js +1 -0
- package/dist/assets/dist-DpgXK0aZ.js +1 -0
- package/dist/assets/dist-gMRyU9GJ.js +7 -0
- package/dist/assets/dist-jQQX2kOU.js +1 -0
- package/dist/assets/dist-lUaUoFTq.js +1 -0
- package/dist/assets/dist-qw1ZF2vD.js +1 -0
- package/dist/assets/dist-rH4qrNAn.js +1 -0
- package/dist/assets/dockerfile-BttNdtK0.js +1 -0
- package/dist/assets/dtd-CCVZU5Da.js +1 -0
- package/dist/assets/dylan-3pmV5wzs.js +1 -0
- package/dist/assets/ebnf-bm-I2WIh.js +1 -0
- package/dist/assets/ebnfDiagram-VR2GEFS7-Ytj3Z5qC.js +1 -0
- package/dist/assets/ecl-BIv3PrZb.js +1 -0
- package/dist/assets/eiffel-DuLnr4-r.js +1 -0
- package/dist/assets/elk-IJKZMXRS-CJurNqqK.js +25 -0
- package/dist/assets/elm-njbaCU-L.js +1 -0
- package/dist/assets/erDiagram-O2IAPWRE-hyXckW2d.js +99 -0
- package/dist/assets/erlang-CuhOC2I8.js +1 -0
- package/dist/assets/eventmodeling-K75KTNOO-D3xQujrh.js +1 -0
- package/dist/assets/factor-CM3-9V3b.js +1 -0
- package/dist/assets/fcl-nWsMJ92o.js +1 -0
- package/dist/assets/flowDiagram-OXPTDLAJ-D4ojBTuY.js +1 -0
- package/dist/assets/folder-plus-BJZSMzuj.js +1 -0
- package/dist/assets/forth-BQ9HrCVY.js +1 -0
- package/dist/assets/fortran-DHJe28ev.js +1 -0
- package/dist/assets/ganttDiagram-R7TSEDQI-C8U_ITl4.js +292 -0
- package/dist/assets/gas-ByO0qYMr.js +1 -0
- package/dist/assets/gherkin-CwOmHL5K.js +1 -0
- package/dist/assets/gitGraph-VSP46ZUC-CDeq3yKT.js +1 -0
- package/dist/assets/gitGraphDiagram-XJZIOB7I-CST3EWE9.js +106 -0
- package/dist/assets/goals-BNJZ4nzg.js +1 -0
- package/dist/assets/googleAccessRemoval-CQIi1dvu.js +1 -0
- package/dist/assets/graphlib-DHhK3saS.js +1 -0
- package/dist/assets/groovy-ByXGF8cx.js +1 -0
- package/dist/assets/haskell-CHSpCNOy.js +1 -0
- package/dist/assets/haxe-P2jh68ck.js +1 -0
- package/dist/assets/http-0jwMmfWP.js +1 -0
- package/dist/assets/idl-DTVVj6r5.js +1 -0
- package/dist/assets/index-BJtnP7H1.js +706 -0
- package/dist/assets/index-z7lcCz2I.css +1 -0
- package/dist/assets/info-OHQRW6UA-CPvTWk7J.js +1 -0
- package/dist/assets/infoDiagram-5W2HQ5XZ-BPUiNdxI.js +2 -0
- package/dist/assets/init-BXPE0p7i.js +1 -0
- package/dist/assets/invite-memory-BKdqfr5K.js +1 -0
- package/dist/assets/ishikawaDiagram-K3B6WC7H-D5Z3rmaA.js +70 -0
- package/dist/assets/issue-detail-CZfjXs0M.js +119 -0
- package/dist/assets/javascript-Cblpdx44.js +1 -0
- package/dist/assets/journeyDiagram-COXZFDF6-CEkwEYdR.js +139 -0
- package/dist/assets/julia-KVJvUu_F.js +1 -0
- package/dist/assets/kanban-definition-P3RFRI5V-8h_R6Qjq.js +89 -0
- package/dist/assets/katex-Du_FPwxl.js +257 -0
- package/dist/assets/line-Ljt_vfsb.js +1 -0
- package/dist/assets/linear-BRQgexd0.js +1 -0
- package/dist/assets/link-DvgFK0mz.js +1 -0
- package/dist/assets/list-filter-BR4_dvwm.js +1 -0
- package/dist/assets/livescript-DSHsJPcD.js +1 -0
- package/dist/assets/log-in-Dvx9-FMC.js +1 -0
- package/dist/assets/lua-Vher-70I.js +1 -0
- package/dist/assets/mathematica-CE9SaVsW.js +1 -0
- package/dist/assets/mbox-JGl1Fgvq.js +1 -0
- package/dist/assets/mcpSkills-76szK_k1.js +1 -0
- package/dist/assets/mermaid-parser.core-BjFu937m.js +7 -0
- package/dist/assets/mermaid.core-B0t95EIS.js +42 -0
- package/dist/assets/mindmap-definition-LZFPQGKD-TVnHYUR4.js +96 -0
- package/dist/assets/mirc-BGWbO906.js +1 -0
- package/dist/assets/mllike-DuNQsEw8.js +1 -0
- package/dist/assets/model-DL5biheO.js +1 -0
- package/dist/assets/modelica-5XCgKQt8.js +1 -0
- package/dist/assets/mscgen-mVFg19ri.js +1 -0
- package/dist/assets/mumps-C7oS353s.js +1 -0
- package/dist/assets/nginx-DXVlpyCz.js +1 -0
- package/dist/assets/nsis-KFC6hioG.js +1 -0
- package/dist/assets/ntriples-5ckCopnn.js +1 -0
- package/dist/assets/octave-D1J2QQNt.js +1 -0
- package/dist/assets/onboarding-state-C5_mIw3o.js +1 -0
- package/dist/assets/ordinal-BJyFM1v8.js +1 -0
- package/dist/assets/oz-CPsllMDD.js +1 -0
- package/dist/assets/packet-JDAUHWVQ-aNGiRWLy.js +1 -0
- package/dist/assets/palette-tokens-CL5ZDrEd.js +1 -0
- package/dist/assets/pascal-B-I6JP0Y.js +1 -0
- package/dist/assets/path-D6mommQw.js +1 -0
- package/dist/assets/pegDiagram-BGZESJAR-DDadxqWQ.js +1 -0
- package/dist/assets/perl-CI8WIWBi.js +1 -0
- package/dist/assets/pie-XZMESJXO-CydFP1hd.js +1 -0
- package/dist/assets/pieDiagram-CAPJLFHJ-KhdUDwDS.js +39 -0
- package/dist/assets/pig-FQI0W3S3.js +1 -0
- package/dist/assets/portable-files-CloN_vbk.js +1 -0
- package/dist/assets/power-sYV-WuqQ.js +1 -0
- package/dist/assets/powershell-BAu6x78A.js +1 -0
- package/dist/assets/prod-C6Q7tISe.js +495 -0
- package/dist/assets/profile-summary-D4LPX-Dv.js +1 -0
- package/dist/assets/properties-BKTTDgau.js +1 -0
- package/dist/assets/protobuf-UWh8gh_j.js +1 -0
- package/dist/assets/pug-C20tNwmy.js +1 -0
- package/dist/assets/puppet-BAHVzCkO.js +1 -0
- package/dist/assets/python-C2DOnsac.js +1 -0
- package/dist/assets/q-Cooe-Nh8.js +1 -0
- package/dist/assets/quadrantDiagram-GDMTTRAM-B1X8K2Fs.js +7 -0
- package/dist/assets/r-CktBKya9.js +1 -0
- package/dist/assets/radar-ABXABTNO-BqodkLpx.js +1 -0
- package/dist/assets/railroad-I3PHUGI6-HmRKXDJj.js +1 -0
- package/dist/assets/railroad-abnf-LNEFI6M7-CkBttaHp.js +1 -0
- package/dist/assets/railroad-ebnf-DWYD2UWJ-C6DBawFA.js +1 -0
- package/dist/assets/railroad-peg-JR7BVNR7-Z9df3u5o.js +1 -0
- package/dist/assets/railroadDiagram-SM67HX2B-2vDUUppL.js +1 -0
- package/dist/assets/requirementDiagram-X7JNWC4A-DAuP39Hc.js +84 -0
- package/dist/assets/rolldown-runtime-DhZMWcEn.js +1 -0
- package/dist/assets/rough.esm-DnC5Tr1g.js +1 -0
- package/dist/assets/rpm-Csj9nLHl.js +1 -0
- package/dist/assets/ruby-bGx9eo-K.js +1 -0
- package/dist/assets/runtime-IAg0vdY9.js +4137 -0
- package/dist/assets/sankeyDiagram-UM26HJRW-ByS54QZK.js +40 -0
- package/dist/assets/sas-Drou_EQ9.js +1 -0
- package/dist/assets/saved-permissions-CPiYtxkZ.js +1 -0
- package/dist/assets/scheme-DcjG9bAf.js +1 -0
- package/dist/assets/scroll-text-CVSt6aO2.js +1 -0
- package/dist/assets/sdk-vrG4HtB4.js +1 -0
- package/dist/assets/search-CG-QtPVH.js +1 -0
- package/dist/assets/send-CH-0xdLm.js +1 -0
- package/dist/assets/sequenceDiagram-ZO4K6R2Y-DvWxKTLK.js +169 -0
- package/dist/assets/shared-D37zfckm.js +1 -0
- package/dist/assets/shell-BSKClwid.js +1 -0
- package/dist/assets/sieve-CcvsXPZo.js +1 -0
- package/dist/assets/simple-mode-B79cVo-x.js +1 -0
- package/dist/assets/sizeCapture-INFHLROL-XURNLuv_.js +1 -0
- package/dist/assets/skill-source-connect-return-eFTeuj7y.js +1 -0
- package/dist/assets/smalltalk-Cmg-4mjQ.js +1 -0
- package/dist/assets/smoke-lab-matrix-C5gR81E3.js +1 -0
- package/dist/assets/solr-Dj8ahEwG.js +1 -0
- package/dist/assets/sparql-LAJYmgfk.js +1 -0
- package/dist/assets/spreadsheet-B8doD_pL.js +1 -0
- package/dist/assets/sql-C3kWxFGw.js +1 -0
- package/dist/assets/src-DYjgETqR.js +1 -0
- package/dist/assets/stateDiagram-v2-TBUQTH76-DtiiZIXq.js +291 -0
- package/dist/assets/stex-CW6K5Nmu.js +1 -0
- package/dist/assets/stylus-BS-Ienrc.js +1 -0
- package/dist/assets/swift-BD82LMDK.js +1 -0
- package/dist/assets/swimlanes-N4OXWK64-BWSEtCbX.js +1 -0
- package/dist/assets/swimlanesDiagram-K3J5GTZL-Bl_9DvHU.js +8 -0
- package/dist/assets/tcl-RZa1cqc-.js +1 -0
- package/dist/assets/textile-C-BY_OGF.js +1 -0
- package/dist/assets/tiddlywiki-C9bm_Oju.js +1 -0
- package/dist/assets/tiki-DJOT-rFT.js +1 -0
- package/dist/assets/timeline-definition-YOQAKGHF-U4QcniMh.js +120 -0
- package/dist/assets/toml-Civ2fTsu.js +1 -0
- package/dist/assets/treeView-D4JQ5SDB-B2tdrtsj.js +1 -0
- package/dist/assets/treemap-SAJKECNS-DodN8j4n.js +1 -0
- package/dist/assets/troff-Lns35Xcq.js +1 -0
- package/dist/assets/ttcn-7vlxVTUK.js +1 -0
- package/dist/assets/ttcn-cfg-B8qhhp6o.js +1 -0
- package/dist/assets/turtle-DTIS1YQ7.js +1 -0
- package/dist/assets/useAgentlessOnboardingAutoOpen-DSWW7Juw.js +1 -0
- package/dist/assets/useAuthorizationWindow-tg3aKEU7.js +1 -0
- package/dist/assets/useDateRange-CnZQr2KO.js +1 -0
- package/dist/assets/useFastResponsesEnabled-B8tHSJ1y.js +1 -0
- package/dist/assets/usePageView-CtFMs34g.js +1 -0
- package/dist/assets/useProfilesData-CWHdMSuL.js +1 -0
- package/dist/assets/useReviewCount-W_bCZ2Hz.js +1 -0
- package/dist/assets/useRoutineFormOptions-CCLMmVSF.js +3 -0
- package/dist/assets/useSummaryDraftStream-NVNYNt72.js +3 -0
- package/dist/assets/useTailscaleConnections-Dy52nCY3.js +1 -0
- package/dist/assets/usecaseDiagram-VIAY4XPW-kEHhqgOj.js +362 -0
- package/dist/assets/vb-BO8UacKu.js +1 -0
- package/dist/assets/vbscript-DWLru3lT.js +1 -0
- package/dist/assets/velocity-BIIn-Nl2.js +1 -0
- package/dist/assets/vennDiagram-BLWOH2XV-NPJU0aCU.js +34 -0
- package/dist/assets/verilog-BVYlmXGg.js +1 -0
- package/dist/assets/vhdl-Cn8cC8Yb.js +1 -0
- package/dist/assets/wardley-7MLQ67FV-bUGKvIPT.js +1 -0
- package/dist/assets/wardleyDiagram-YMQ3BMBF-qtUDHfhb.js +78 -0
- package/dist/assets/webidl-ChvzbZ5-.js +1 -0
- package/dist/assets/xquery-BKN7qEbU.js +1 -0
- package/dist/assets/xychartDiagram-TAQBALBS-C-z57aZj.js +7 -0
- package/dist/assets/yacas-BG9ha7tU.js +1 -0
- package/dist/assets/z80-CB2cGLew.js +1 -0
- package/dist/brands/adapters/LICENSE +21 -0
- package/dist/brands/adapters/README.md +7 -0
- package/dist/brands/adapters/cursor-dark.svg +1 -0
- package/dist/brands/adapters/cursor.svg +1 -0
- package/dist/brands/adapters/gemini-color.svg +1 -0
- package/dist/brands/adapters/grok-dark.svg +1 -0
- package/dist/brands/adapters/grok.svg +1 -0
- package/dist/brands/adapters/hermesagent-dark.svg +1 -0
- package/dist/brands/adapters/hermesagent.svg +1 -0
- package/dist/brands/adapters/kimi-color-light.svg +1 -0
- package/dist/brands/adapters/kimi-color.svg +1 -0
- package/dist/brands/adapters/openai-dot.README.md +7 -0
- package/dist/brands/adapters/openai-dot.svg +3 -0
- package/dist/brands/adapters/pi-dark.svg +1 -0
- package/dist/brands/adapters/pi.svg +1 -0
- package/dist/brands/apps/1password-dark.svg +1 -0
- package/dist/brands/apps/1password.svg +1 -0
- package/dist/brands/apps/LOBE-LICENSE +21 -0
- package/dist/brands/apps/agentmail-dark.svg +16 -0
- package/dist/brands/apps/agentmail.svg +17 -0
- package/dist/brands/apps/airtable.svg +1 -0
- package/dist/brands/apps/anthropic-dark.svg +1 -0
- package/dist/brands/apps/anthropic.svg +1 -0
- package/dist/brands/apps/antigravity.svg +31 -0
- package/dist/brands/apps/api-key-generic.svg +1 -0
- package/dist/brands/apps/arcade.png +0 -0
- package/dist/brands/apps/asana.svg +12 -0
- package/dist/brands/apps/aws-dark.svg +1 -0
- package/dist/brands/apps/aws.svg +1 -0
- package/dist/brands/apps/bedrock.svg +1 -0
- package/dist/brands/apps/beehiiv.png +0 -0
- package/dist/brands/apps/bitly.svg +1 -0
- package/dist/brands/apps/box.svg +1 -0
- package/dist/brands/apps/braintrust-dark.png +0 -0
- package/dist/brands/apps/braintrust.png +0 -0
- package/dist/brands/apps/brex-dark.svg +1 -0
- package/dist/brands/apps/brex.svg +1 -0
- package/dist/brands/apps/browser-use.svg +6 -0
- package/dist/brands/apps/calendly.png +0 -0
- package/dist/brands/apps/candid.png +0 -0
- package/dist/brands/apps/circleback.png +0 -0
- package/dist/brands/apps/clickhouse-dark.svg +1 -0
- package/dist/brands/apps/clickhouse.svg +1 -0
- package/dist/brands/apps/clickup.png +0 -0
- package/dist/brands/apps/cloudflare.svg +1 -0
- package/dist/brands/apps/cloudinary-dark.svg +1 -0
- package/dist/brands/apps/cloudinary.svg +3 -0
- package/dist/brands/apps/coda.svg +1 -0
- package/dist/brands/apps/cognee.png +0 -0
- package/dist/brands/apps/composio-dark.svg +11 -0
- package/dist/brands/apps/composio.svg +16 -0
- package/dist/brands/apps/connection-pool.svg +1 -0
- package/dist/brands/apps/context7-dark.svg +8 -0
- package/dist/brands/apps/context7.svg +8 -0
- package/dist/brands/apps/daytona-dark.svg +1 -0
- package/dist/brands/apps/daytona.svg +1 -0
- package/dist/brands/apps/discord-dark.svg +1 -0
- package/dist/brands/apps/discord.svg +1 -0
- package/dist/brands/apps/ditto.png +0 -0
- package/dist/brands/apps/egnyte.svg +1 -0
- package/dist/brands/apps/embat.svg +1 -0
- package/dist/brands/apps/enterpret.png +0 -0
- package/dist/brands/apps/exa.svg +5 -0
- package/dist/brands/apps/executor.png +0 -0
- package/dist/brands/apps/firecrawl.svg +12 -0
- package/dist/brands/apps/fireflies.svg +76 -0
- package/dist/brands/apps/gauge.png +0 -0
- package/dist/brands/apps/github-copilot-dark.svg +1 -0
- package/dist/brands/apps/github-copilot.svg +1 -0
- package/dist/brands/apps/github-dark.svg +10 -0
- package/dist/brands/apps/github.svg +10 -0
- package/dist/brands/apps/gmail.svg +1 -0
- package/dist/brands/apps/google-calendar.svg +1 -0
- package/dist/brands/apps/google-chat.svg +1 -0
- package/dist/brands/apps/google-docs.svg +1 -0
- package/dist/brands/apps/google-drive.svg +1 -0
- package/dist/brands/apps/google-people.svg +1 -0
- package/dist/brands/apps/google-sheets.svg +1 -0
- package/dist/brands/apps/google-slides.svg +1 -0
- package/dist/brands/apps/google-workspace-search.svg +1 -0
- package/dist/brands/apps/google.svg +1 -0
- package/dist/brands/apps/gsc-wizard.png +0 -0
- package/dist/brands/apps/honcho.svg +33 -0
- package/dist/brands/apps/hugging-face.svg +8 -0
- package/dist/brands/apps/imessage-photon.png +0 -0
- package/dist/brands/apps/jam-dev-dark.svg +1 -0
- package/dist/brands/apps/jam-dev.svg +1 -0
- package/dist/brands/apps/jira-dark.svg +1 -0
- package/dist/brands/apps/jira.svg +4 -0
- package/dist/brands/apps/kernel.svg +3 -0
- package/dist/brands/apps/klaviyo.png +0 -0
- package/dist/brands/apps/linear-dark.svg +5 -0
- package/dist/brands/apps/linear.svg +5 -0
- package/dist/brands/apps/local-falcon.png +0 -0
- package/dist/brands/apps/make-dark.svg +1 -0
- package/dist/brands/apps/make.svg +1 -0
- package/dist/brands/apps/manifest.json +756 -0
- package/dist/brands/apps/manufact-dark.svg +6 -0
- package/dist/brands/apps/manufact.svg +5 -0
- package/dist/brands/apps/mem0.svg +1 -0
- package/dist/brands/apps/microsoft-teams.svg +68 -0
- package/dist/brands/apps/miro-dark.svg +1 -0
- package/dist/brands/apps/miro.svg +4 -0
- package/dist/brands/apps/mixpanel-dark.svg +1 -0
- package/dist/brands/apps/mixpanel.svg +1 -0
- package/dist/brands/apps/monday-dark.png +0 -0
- package/dist/brands/apps/monday.png +0 -0
- package/dist/brands/apps/neon.png +0 -0
- package/dist/brands/apps/netlify-dark.svg +1 -0
- package/dist/brands/apps/netlify.svg +16 -0
- package/dist/brands/apps/notion-dark.svg +1 -0
- package/dist/brands/apps/notion.svg +1 -0
- package/dist/brands/apps/oauth-generic.svg +1 -0
- package/dist/brands/apps/openai-dark.svg +1 -0
- package/dist/brands/apps/openai.svg +1 -0
- package/dist/brands/apps/openrouter-dark.svg +3 -0
- package/dist/brands/apps/openrouter.svg +3 -0
- package/dist/brands/apps/oreilly.svg +1 -0
- package/dist/brands/apps/pagerduty.svg +4 -0
- package/dist/brands/apps/paperclip-notebook-dark.svg +1 -0
- package/dist/brands/apps/paperclip-notebook.svg +1 -0
- package/dist/brands/apps/parallel-dark.svg +11 -0
- package/dist/brands/apps/parallel.svg +11 -0
- package/dist/brands/apps/planetscale-dark.svg +1 -0
- package/dist/brands/apps/planetscale.svg +1 -0
- package/dist/brands/apps/posthog-dark.svg +1 -0
- package/dist/brands/apps/posthog.svg +1 -0
- package/dist/brands/apps/postman.svg +1 -0
- package/dist/brands/apps/railway-dark.svg +1 -0
- package/dist/brands/apps/railway.svg +1 -0
- package/dist/brands/apps/razorpay-dark.svg +1 -0
- package/dist/brands/apps/razorpay.svg +1 -0
- package/dist/brands/apps/resend-dark.svg +1 -0
- package/dist/brands/apps/resend.svg +1 -0
- package/dist/brands/apps/sanity-dark.svg +1 -0
- package/dist/brands/apps/sanity.svg +1 -0
- package/dist/brands/apps/sentry-dark.svg +1 -0
- package/dist/brands/apps/sentry.svg +1 -0
- package/dist/brands/apps/shopify.svg +24 -0
- package/dist/brands/apps/similarweb-dark.svg +1 -0
- package/dist/brands/apps/similarweb.svg +1 -0
- package/dist/brands/apps/slack.png +0 -0
- package/dist/brands/apps/slack.svg +17 -0
- package/dist/brands/apps/speko.svg +16 -0
- package/dist/brands/apps/stripe.svg +11 -0
- package/dist/brands/apps/supabase.svg +15 -0
- package/dist/brands/apps/superagent.png +0 -0
- package/dist/brands/apps/supermemory.png +0 -0
- package/dist/brands/apps/tailscale.png +0 -0
- package/dist/brands/apps/tavily.png +0 -0
- package/dist/brands/apps/telegram.svg +12 -0
- package/dist/brands/apps/telem-dark.svg +9 -0
- package/dist/brands/apps/telem.svg +9 -0
- package/dist/brands/apps/ticket-tailor-dark.svg +1 -0
- package/dist/brands/apps/ticket-tailor.svg +1 -0
- package/dist/brands/apps/ticktick.svg +1 -0
- package/dist/brands/apps/todoist.svg +1 -0
- package/dist/brands/apps/unikraft.svg +1 -0
- package/dist/brands/apps/vercel-dark.svg +1 -0
- package/dist/brands/apps/vercel.svg +1 -0
- package/dist/brands/apps/webflow.svg +1 -0
- package/dist/brands/apps/windsor-ai.png +0 -0
- package/dist/brands/apps/wix-dark.svg +12 -0
- package/dist/brands/apps/wix.svg +12 -0
- package/dist/brands/apps/xai-dark.svg +1 -0
- package/dist/brands/apps/xai.svg +1 -0
- package/dist/brands/apps/xero.svg +1 -0
- package/dist/brands/apps/youcom-dark.svg +13 -0
- package/dist/brands/apps/youcom.svg +13 -0
- package/dist/brands/apps/zapier.svg +1 -0
- package/dist/brands/apps/zep.png +0 -0
- package/dist/brands/claude-color.svg +17 -0
- package/dist/brands/codex-color.svg +17 -0
- package/dist/brands/opencode-logo-dark-square.svg +18 -0
- package/dist/brands/opencode-logo-light-square.svg +18 -0
- package/dist/favicon-16x16.png +0 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +7 -0
- package/dist/fonts/InterVariable-Italic.woff2 +0 -0
- package/dist/fonts/InterVariable.woff2 +0 -0
- package/dist/fonts/NOTICE.md +30 -0
- package/dist/fonts/PaperMono-OFL.txt +93 -0
- package/dist/fonts/PaperMono-Variable.woff2 +0 -0
- package/dist/index.html +165 -0
- package/dist/microvac-push-sw.js +37 -0
- package/dist/paperclip-thinking.svg +17 -0
- package/dist/site.webmanifest +30 -0
- package/dist/storybook/grok-comparison.csv +4 -0
- package/dist/sw.js +176 -0
- package/dist/worktree-favicon-16x16.png +0 -0
- package/dist/worktree-favicon-32x32.png +0 -0
- package/dist/worktree-favicon.ico +0 -0
- package/dist/worktree-favicon.svg +9 -0
- package/package.json +20 -4
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
var qt=Object.defineProperty;var K=(e,i)=>qt(e,"name",{value:i,configurable:!0});import{n as k}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as ie,p as it}from"./src-DYjgETqR.js";import{C as Xt,G as Qt,H as Jt,U as Zt,_ as $t,a as e1,at as t1,b as me,d as s1,et as i1,q as r1,s as a1,v as n1}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{t as u1}from"./channel-BSmZkKA8.js";import{_ as at,c as rt}from"./chunk-3YJQHVM4-C_uoPpLR.js";import{t as o1}from"./chunk-5VM5RSS4-2H3r6wq0.js";import{i as l1,n as c1,o as h1,r as d1}from"./chunk-J5ZVWO5B-ClU583ja.js";import{a as p1}from"./chunk-XC4XBNZT-CCgIhjYS.js";import{t as f1}from"./chunk-7TKQ45FW-DiwqWHvN.js";import{t as g1}from"./chunk-XXDRQBXY-BdWplhUD.js";import{t as b1}from"./chunk-KQW6MTUR-BsVaJdnu.js";import{i as k1,n as A1,r as m1,t as C1}from"./mermaid.core-B0t95EIS.js";var D1="flowchart-",T1=class{static{K(this,"FlowDB")}constructor(){this.vertexCounter=0,this.config=me(),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=Zt,this.setAccDescription=Jt,this.setDiagramTitle=r1,this.getAccTitle=n1,this.getAccDescription=$t,this.getDiagramTitle=Xt,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{k(this,"FlowDB")}sanitizeText(e){return a1.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(const i of this.vertices.values())if(i.id===e)return this.diagramId?`${this.diagramId}-${i.domId}`:i.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,i,r,a,n,c,d={},g){if(!e||e.trim().length===0)return;let l;if(g!==void 0){let m;g.includes(`
|
|
2
|
+
`)?m=g+`
|
|
3
|
+
`:m=`{
|
|
4
|
+
`+g+`
|
|
5
|
+
}`,l=A1(m,{schema:C1})}const F=this.subGraphLookup.get(e);if(F&&l){F.metadata={...F.metadata,...l};return}const B=this.edges.find(m=>m.id===e);if(B){const m=l;m?.animate!==void 0&&(B.animate=m.animate),m?.animation!==void 0&&(B.animation=m.animation),m?.curve!==void 0&&(B.interpolate=m.curve);return}let x,b=this.vertices.get(e);if(b===void 0&&(i===void 0&&r===void 0&&a!==void 0&&a!==null&&ie.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),b={id:e,labelType:"text",domId:D1+e+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,b)),this.vertexCounter++,i!==void 0?(this.config=me(),x=this.sanitizeText(i.text.trim()),b.labelType=i.type,x.startsWith('"')&&x.endsWith('"')&&(x=x.substring(1,x.length-1)),b.text=x):b.text===void 0&&(b.text=e),r!==void 0&&(b.type=r),a?.forEach(m=>{b.styles.push(m)}),n?.forEach(m=>{b.classes.push(m)}),c!==void 0&&(b.dir=c),b.props===void 0?b.props=d:d!==void 0&&Object.assign(b.props,d),l!==void 0){if(l.shape){if(l.shape!==l.shape.toLowerCase()||l.shape.includes("_"))throw new Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);if(!p1(l.shape))throw new Error(`No such shape: ${l.shape}.`);b.type=l?.shape}l?.label&&(b.text=l?.label,b.labelType=this.sanitizeNodeLabelType(l?.labelType)),l?.icon&&(b.icon=l?.icon,!l.label?.trim()&&b.text===e&&(b.text="")),l?.form&&(b.form=l?.form),l?.pos&&(b.pos=l?.pos),l?.img&&(b.img=l?.img,!l.label?.trim()&&b.text===e&&(b.text="")),l?.constraint&&(b.constraint=l.constraint),l.w&&(b.assetWidth=Number(l.w)),l.h&&(b.assetHeight=Number(l.h))}}addSingleLink(e,i,r,a){const n={start:e,end:i,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};ie.info("abc78 Got edge...",n);const c=r.text;if(c!==void 0&&(n.text=this.sanitizeText(c.text.trim()),n.text.startsWith('"')&&n.text.endsWith('"')&&(n.text=n.text.substring(1,n.text.length-1)),n.labelType=this.sanitizeNodeLabelType(c.type)),r!==void 0&&(n.type=r.type,n.stroke=r.stroke,n.length=r.length>10?10:r.length),a&&!this.edges.some(d=>d.id===a))n.id=a,n.isUserDefinedId=!0;else{const d=this.edges.filter(g=>g.start===n.start&&g.end===n.end);d.length===0?n.id=rt(n.start,n.end,{counter:0,prefix:"L"}):n.id=rt(n.start,n.end,{counter:d.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))ie.info("Pushing edge..."),this.edges.push(n);else throw new 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 e!==null&&typeof e=="object"&&"id"in e&&typeof e.id=="string"}addLink(e,i,r){const a=this.isLinkData(r)?r.id.replace("@",""):void 0;ie.info("addLink",e,i,a);for(const n of e)for(const c of i){const d=n===e[e.length-1],g=c===i[0];d&&g?this.addSingleLink(n,c,r,a):this.addSingleLink(n,c,r,void 0)}}updateLinkInterpolate(e,i){e.forEach(r=>{r==="default"?this.edges.defaultInterpolate=i:this.edges[r].interpolate=i})}updateLink(e,i){e.forEach(r=>{if(typeof r=="number"&&r>=this.edges.length)throw new Error(`The index ${r} 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.)`);r==="default"?this.edges.defaultStyle=i:(this.edges[r].style=i,(this.edges[r]?.style?.length??0)>0&&!this.edges[r]?.style?.some(a=>a?.startsWith("fill"))&&this.edges[r]?.style?.push("fill:none"))})}addClass(e,i){const r=i.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach(a=>{let n=this.classes.get(a);n===void 0&&(n={id:a,styles:[],textStyles:[]},this.classes.set(a,n)),r?.forEach(c=>{if(/color/.exec(c)){const d=c.replace("fill","bgFill");n.textStyles.push(d)}n.styles.push(c)})})}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,i){for(const r of e.split(",")){const a=this.vertices.get(r);a&&a.classes.push(i);const n=this.edges.find(d=>d.id===r);n&&n.classes.push(i);const c=this.subGraphLookup.get(r);c&&c.classes.push(i)}}setTooltip(e,i){if(i!==void 0){i=this.sanitizeText(i);for(const r of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(r):r,i)}}setClickFun(e,i,r){if(me().securityLevel!=="loose"||i===void 0)return;let a=[];if(typeof r=="string"){a=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let c=0;c<a.length;c++){let d=a[c].trim();d.startsWith('"')&&d.endsWith('"')&&(d=d.substr(1,d.length-2)),a[c]=d}}a.length===0&&a.push(e);const n=this.vertices.get(e);n&&(n.haveCallback=!0,this.funs.push(()=>{const c=this.lookUpDomId(e),d=document.querySelector(`[id="${c}"]`);d!==null&&d.addEventListener("click",()=>{at.runFunc(i,...a)},!1)}))}setLink(e,i,r){e.split(",").forEach(a=>{const n=this.vertices.get(a);n!==void 0&&(n.link=at.formatUrl(i,this.config),n.linkTarget=r)}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,i,r){e.split(",").forEach(a=>{this.setClickFun(a,i,r)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach(i=>{i(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){const i=f1();it(e).select("svg").selectAll("g.node").on("mouseover",r=>{const a=it(r.currentTarget),n=a.attr("title");if(n===null)return;const c=r.currentTarget?.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(a.attr("title")).style("left",window.scrollX+c.left+(c.right-c.left)/2+"px").style("top",window.scrollY+c.bottom+"px"),i.html(i1.sanitize(n)),a.classed("hover",!0)}).on("mouseout",r=>{i.transition().duration(500).style("opacity",0),it(r.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=me(),e1()}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,i,r){let a=e.text.trim(),n=r.text;e===r&&/\s/.exec(r.text)&&(a=void 0);const c=k(x=>{const b={boolean:{},number:{},string:{}},m=[];let _;return{nodeList:x.filter(function(y){const o=typeof y;return y.stmt&&y.stmt==="dir"?(_=y.value,!1):y.trim()===""?!1:o in b?b[o].hasOwnProperty(y)?!1:b[o][y]=!0:m.includes(y)?!1:m.push(y)}),dir:_}},"uniq")(i.flat()),d=c.nodeList;let g=c.dir;const l=me().flowchart??{};if(g=g??(l.inheritDir?this.getDirection()??me().direction??void 0:void 0),this.version==="gen-1")for(let x=0;x<d.length;x++)d[x]=this.lookUpDomId(d[x]);a=a??"subGraph"+this.subCount,n=n||"",n=this.sanitizeText(n),this.subCount=this.subCount+1;const F={id:a,nodes:d,title:n.trim(),classes:[],dir:g,labelType:this.sanitizeNodeLabelType(r?.type)};ie.info("Adding",F.id,F.nodes,F.dir),F.nodes=this.makeUniq(F,this.subGraphs).nodes.filter(x=>x!==a);const B=this.subGraphs.find(x=>x.id===a);return B?B.nodes.push(...F.nodes):this.subGraphs.push(F),this.subGraphLookup.set(a,B??F),a}getPosForId(e){for(const[i,r]of this.subGraphs.entries())if(r.id===e)return i;return-1}indexNodes2(e,i){const r=this.subGraphs[i].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=i,this.subGraphs[i].id===e)return{result:!0,count:0};let a=0,n=1;for(;a<r.length;){const c=this.getPosForId(r[a]);if(c>=0){const d=this.indexNodes2(e,c);if(d.result)return{result:!0,count:n+d.count};n=n+d.count}a=a+1}return{result:!1,count:n}}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 i=e.trim(),r="arrow_open";switch(i[0]){case"<":r="arrow_point",i=i.slice(1);break;case"x":r="arrow_cross",i=i.slice(1);break;case"o":r="arrow_circle",i=i.slice(1)}let a="normal";return i.includes("=")&&(a="thick"),i.includes(".")&&(a="dotted"),{type:r,stroke:a}}countChar(e,i){const r=i.length;let a=0;for(let n=0;n<r;++n)i[n]===e&&++a;return a}destructEndLink(e){const i=e.trim();let r=i.slice(0,-1),a="arrow_open";switch(i.slice(-1)){case"x":a="arrow_cross",i.startsWith("x")&&(a="double_"+a,r=r.slice(1));break;case">":a="arrow_point",i.startsWith("<")&&(a="double_"+a,r=r.slice(1));break;case"o":a="arrow_circle",i.startsWith("o")&&(a="double_"+a,r=r.slice(1))}let n="normal",c=r.length-1;r.startsWith("=")&&(n="thick"),r.startsWith("~")&&(n="invisible");const d=this.countChar(".",r);return d&&(n="dotted",c=d),{type:a,stroke:n,length:c}}destructLink(e,i){const r=this.destructEndLink(e);let a;if(i){if(a=this.destructStartLink(i),a.stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if(a.type==="arrow_open")a.type=r.type;else{if(a.type!==r.type)return{type:"INVALID",stroke:"INVALID"};a.type="double_"+a.type}return a.type==="double_arrow"&&(a.type="double_arrow_point"),a.length=r.length,a}return r}exists(e,i){for(const r of e)if(r.nodes.includes(i))return!0;return!1}makeUniq(e,i){const r=[];return e.nodes.forEach((a,n)=>{this.exists(i,a)||r.push(e.nodes[n])}),{nodes:r}}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,i){return e.find(r=>r.id===i)}destructEdgeType(e){let i="none",r="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":r=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":i=e.replace("double_",""),r=i}return{arrowTypeStart:i,arrowTypeEnd:r}}addNodeFromVertex(e,i,r,a,n,c){const d=r.get(e.id),g=a.get(e.id)??!1,l=this.findNode(i,e.id);if(l)l.cssStyles=e.styles,l.cssCompiledStyles=this.getCompiledStyles(e.classes),l.cssClasses=e.classes.join(" ");else{const F={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:d,padding:n.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:c,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};g?i.push({...F,isGroup:!0,shape:"rect"}):i.push({...F,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:n.flowchart?.minNodeWidth})}}getCompiledStyles(e){let i=[];for(const r of e){const a=this.classes.get(r);a?.styles&&(i=[...i,...a.styles??[]].map(n=>n.trim())),a?.textStyles&&(i=[...i,...a.textStyles??[]].map(n=>n.trim()))}return i}getData(){const e=me(),i=[],r=[],a=this.getSubGraphs(),n=new Map,c=new Map,d=new Map;for(const o of a)for(const p of o.nodes)this.subGraphLookup.has(p)&&d.set(p,o.id);const g=new Map,l=new Map;for(const o of a){const p=d.get(o.id);p!==void 0&&l.set(p,[...l.get(p)??[],o.id])}let F=0;const B=k(o=>{g.set(o,F++);for(const p of l.get(o)??[])B(p)},"walk");for(const o of a)d.has(o.id)||B(o.id);const x=k(o=>this.subGraphLookup.get(o)?.metadata?.view==="collapsed","isCollapsed"),b=k(o=>{let p;const X=new Set;let J=o;for(;J!==void 0&&!X.has(J);)X.add(J),x(J)&&(p=J),J=d.get(J);return p},"outermostCollapsed"),m=new Set,_=new Map;for(const o of a){const p=b(o.id);if(p!==void 0){o.id!==p&&(m.add(o.id),_.set(o.id,p));for(const X of o.nodes)X!==p&&(m.add(X),_.set(X,p))}}for(let o=a.length-1;o>=0;o--){const p=a[o];if(!m.has(p.id)){p.nodes.length>0&&c.set(p.id,!0);for(const X of p.nodes)n.set(X,p.id)}}for(let o=a.length-1;o>=0;o--){const p=a[o];m.has(p.id)||(p.metadata?.view==="collapsed"?i.push({id:p.id,label:p.title,labelStyle:"",labelType:p.labelType,parentId:n.get(p.id),padding:8,cssCompiledStyles:this.getCompiledStyles(p.classes),cssClasses:p.classes.join(" "),shape:"collapsedGroup",dir:p.dir,isGroup:!1,look:e.look,colorIndex:g.get(p.id)}):i.push({id:p.id,label:p.title,labelStyle:"",labelType:p.labelType,parentId:n.get(p.id),padding:8,cssCompiledStyles:this.getCompiledStyles(p.classes),cssClasses:p.classes.join(" "),shape:"rect",dir:p.dir,isGroup:!0,look:e.look,colorIndex:g.get(p.id),metadata:p.metadata}))}this.getVertices().forEach(o=>{m.has(o.id)||this.addNodeFromVertex(o,i,n,c,e,e.look||"classic")});const y=this.getEdges();return y.forEach((o,p)=>{const{arrowTypeStart:X,arrowTypeEnd:J}=this.destructEdgeType(o.type),be=[...y.defaultStyle??[]],w=_.get(o.start)??o.start,I=_.get(o.end)??o.end;if(w===I&&(_.has(o.start)||_.has(o.end)))return;o.style&&be.push(...o.style);const R={id:rt(w,I,{counter:p,prefix:"L"},o.id),isUserDefinedId:o.isUserDefinedId,start:w,end:I,type:o.type??"normal",label:o.text,labelType:o.labelType,labelpos:"c",thickness:o.stroke,minlen:o.length,classes:o?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:o?.stroke==="invisible"||o?.type==="arrow_open"?"none":X,arrowTypeEnd:o?.stroke==="invisible"||o?.type==="arrow_open"?"none":J,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(o.classes),labelStyle:be,style:be,pattern:o.stroke,look:e.look,animate:o.animate,animation:o.animation,curve:o.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};r.push(R)}),{nodes:i,edges:r,other:{},config:e}}defaultConfig(){return s1.flowchart}},E1={getClasses:k(function(e,i){return i.db.getClasses()},"getClasses"),draw:k(async function(e,i,r,a){ie.info("REF0:"),ie.info("Drawing state diagram (v2)",i);const{securityLevel:n,flowchart:c,layout:d}=me();a.db.setDiagramId(i),ie.debug("Before getData: ");const g=a.db.getData();ie.debug("Data: ",g);const l=g1(i,n),F=a.db.getDirection();g.type=a.type,g.layoutAlgorithm=m1(d),g.direction=F,g.nodeSpacing=c?.nodeSpacing||50,g.rankSpacing=c?.rankSpacing||50,g.markers=["point","circle","cross"],g.diagramId=i,ie.debug("REF1:",g),await k1(g,l);const B=g.config.flowchart?.diagramPadding??8;at.insertTitle(l,"flowchartTitleText",c?.titleTopMargin||0,a.db.getDiagramTitle()),b1(l,B,"flowchart",c?.useMaxWidth||!1)},"draw")},nt=(function(){var e=k(function(h,f,C,A){for(C=C||{},A=h.length;A--;C[h[A]]=f);return C},"o"),i=[1,4],r=[1,3],a=[1,5],n=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],c=[2,2],d=[1,13],g=[1,14],l=[1,15],F=[1,16],B=[1,23],x=[1,25],b=[1,26],m=[1,27],_=[1,50],y=[1,49],o=[1,29],p=[1,30],X=[1,31],J=[1,32],be=[1,33],w=[1,45],I=[1,47],R=[1,43],P=[1,48],O=[1,44],M=[1,51],U=[1,46],W=[1,52],z=[1,53],Me=[1,34],Ue=[1,35],We=[1,36],ze=[1,37],je=[1,38],ke=[1,58],v=[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],re=[1,62],ae=[1,61],ne=[1,63],Ee=[8,9,11,75,77,78],ut=[1,79],Se=[1,92],ye=[1,97],xe=[1,96],Fe=[1,93],_e=[1,89],Be=[1,95],ve=[1,91],Le=[1,98],Ve=[1,94],we=[1,99],Ie=[1,90],Ce=[8,9,10,11,40,75,77,78],H=[8,9,10,11,40,46,75,77,78],Z=[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],ot=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],Re=[44,60,89,102,105,106,109,111,114,115,116],lt=[1,122],ct=[1,123],Ke=[1,125],He=[1,124],ht=[44,60,62,74,89,102,105,106,109,111,114,115,116],dt=[1,134],pt=[1,148],ft=[1,149],gt=[1,150],bt=[1,151],kt=[1,136],At=[1,138],mt=[1,142],Ct=[1,143],Dt=[1,144],Tt=[1,145],Et=[1,146],St=[1,147],yt=[1,152],xt=[1,153],Ft=[1,132],_t=[1,133],Bt=[1,140],vt=[1,135],Lt=[1,139],Vt=[1,137],Qe=[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],wt=[1,155],It=[1,157],V=[8,9,11],$=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],D=[1,177],Y=[1,173],q=[1,174],T=[1,178],E=[1,175],S=[1,176],Ne=[77,116,119],L=[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],Rt=[10,106],Ae=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ue=[1,248],oe=[1,246],le=[1,250],ce=[1,244],he=[1,245],de=[1,247],pe=[1,249],fe=[1,251],Ge=[1,269],Nt=[8,9,11,106],se=[8,9,10,11,60,84,105,106,109,110,111,112],Je={trace:k(K(function(){},"trace"),"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:k(K(function(f,C,A,u,N,t,Oe){var s=t.length-1;switch(N){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 183:this.$=t[s];break;case 11:u.setDirection("TB"),this.$="TB";break;case 12:u.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=u.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=u.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=u.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 43:this.$=t[s-1]+t[s];break;case 44:this.$=t[s];break;case 45:u.addVertex(t[s-1][t[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s]),u.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 46:u.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 47:u.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 48:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 49:u.addVertex(t[s-1][t[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s]),this.$={stmt:t[s-1],nodes:t[s-1],shapeData:t[s]};break;case 50:this.$={stmt:t[s],nodes:t[s]};break;case 51:this.$=[t[s]];break;case 52:u.addVertex(t[s-5][t[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s-4]),this.$=t[s-5].concat(t[s]);break;case 53:this.$=t[s-4].concat(t[s]);break;case 54:this.$=t[s];break;case 55:this.$=t[s-2],u.setClass(t[s-2],t[s]);break;case 56:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"square");break;case 57:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"doublecircle");break;case 58:this.$=t[s-5],u.addVertex(t[s-5],t[s-2],"circle");break;case 59:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"ellipse");break;case 60:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"stadium");break;case 61:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"subroutine");break;case 62:this.$=t[s-7],u.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 63:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"cylinder");break;case 64:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"round");break;case 65:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"diamond");break;case 66:this.$=t[s-5],u.addVertex(t[s-5],t[s-2],"hexagon");break;case 67:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"odd");break;case 68:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"trapezoid");break;case 69:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 70:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"lean_right");break;case 71:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"lean_left");break;case 72:this.$=t[s],u.addVertex(t[s]);break;case 73:t[s-1].text=t[s],this.$=t[s-1];break;case 74:case 75:t[s-2].text=t[s-1],this.$=t[s-2];break;case 76:this.$=t[s];break;case 77:var G=u.destructLink(t[s],t[s-2]);this.$={type:G.type,stroke:G.stroke,length:G.length,text:t[s-1]};break;case 78:var G=u.destructLink(t[s],t[s-2]);this.$={type:G.type,stroke:G.stroke,length:G.length,text:t[s-1],id:t[s-3]};break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:this.$={text:t[s],type:"markdown"};break;case 83:var G=u.destructLink(t[s]);this.$={type:G.type,stroke:G.stroke,length:G.length};break;case 84:var G=u.destructLink(t[s]);this.$={type:G.type,stroke:G.stroke,length:G.length,id:t[s-1]};break;case 85:this.$=t[s-1];break;case 86:this.$={text:t[s],type:"text"};break;case 87:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 88:this.$={text:t[s],type:"string"};break;case 89:case 104:this.$={text:t[s],type:"markdown"};break;case 101:this.$={text:t[s],type:"text"};break;case 102:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 103:this.$={text:t[s],type:"text"};break;case 105:this.$=t[s-4],u.addClass(t[s-2],t[s]);break;case 106:this.$=t[s-4],u.setClass(t[s-2],t[s]);break;case 107:case 115:this.$=t[s-1],u.setClickEvent(t[s-1],t[s]);break;case 108:case 116:this.$=t[s-3],u.setClickEvent(t[s-3],t[s-2]),u.setTooltip(t[s-3],t[s]);break;case 109:this.$=t[s-2],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 110:this.$=t[s-4],u.setClickEvent(t[s-4],t[s-3],t[s-2]),u.setTooltip(t[s-4],t[s]);break;case 111:this.$=t[s-2],u.setLink(t[s-2],t[s]);break;case 112:this.$=t[s-4],u.setLink(t[s-4],t[s-2]),u.setTooltip(t[s-4],t[s]);break;case 113:this.$=t[s-4],u.setLink(t[s-4],t[s-2],t[s]);break;case 114:this.$=t[s-6],u.setLink(t[s-6],t[s-4],t[s]),u.setTooltip(t[s-6],t[s-2]);break;case 117:this.$=t[s-1],u.setLink(t[s-1],t[s]);break;case 118:this.$=t[s-3],u.setLink(t[s-3],t[s-2]),u.setTooltip(t[s-3],t[s]);break;case 119:this.$=t[s-3],u.setLink(t[s-3],t[s-2],t[s]);break;case 120:this.$=t[s-5],u.setLink(t[s-5],t[s-4],t[s]),u.setTooltip(t[s-5],t[s-2]);break;case 121:this.$=t[s-4],u.addVertex(t[s-2],void 0,void 0,t[s]);break;case 122:this.$=t[s-4],u.updateLink([t[s-2]],t[s]);break;case 123:this.$=t[s-4],u.updateLink(t[s-2],t[s]);break;case 124:this.$=t[s-8],u.updateLinkInterpolate([t[s-6]],t[s-2]),u.updateLink([t[s-6]],t[s]);break;case 125:this.$=t[s-8],u.updateLinkInterpolate(t[s-6],t[s-2]),u.updateLink(t[s-6],t[s]);break;case 126:this.$=t[s-6],u.updateLinkInterpolate([t[s-4]],t[s]);break;case 127:this.$=t[s-6],u.updateLinkInterpolate(t[s-4],t[s]);break;case 128:case 130:this.$=[t[s]];break;case 129:case 131:t[s-2].push(t[s]),this.$=t[s-2];break;case 133:this.$=t[s-1]+t[s];break;case 181:this.$=t[s];break;case 182:this.$=t[s-1]+""+t[s];break;case 184:this.$=t[s-1]+""+t[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"),"anonymous"),table:[{3:1,4:2,9:i,10:r,12:a},{1:[3]},e(n,c,{5:6}),{4:7,9:i,10:r,12:a},{4:8,9:i,10:r,12:a},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:d,9:g,10:l,11:F,20:17,22:18,23:19,24:20,25:21,26:22,27:B,33:24,34:x,36:b,38:m,42:28,43:39,44:_,45:40,47:41,60:y,84:o,85:p,86:X,87:J,88:be,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z,121:Me,122:Ue,123:We,124:ze,125:je},e(n,[2,9]),e(n,[2,10]),e(n,[2,11]),{8:[1,55],9:[1,56],10:ke,15:54,18:57},e(v,[2,3]),e(v,[2,4]),e(v,[2,5]),e(v,[2,6]),e(v,[2,7]),e(v,[2,8]),{8:re,9:ae,11:ne,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:re,9:ae,11:ne,21:68},{8:re,9:ae,11:ne,21:69},{8:re,9:ae,11:ne,21:70},{8:re,9:ae,11:ne,21:71},{8:re,9:ae,11:ne,21:72},{8:re,9:ae,10:[1,73],11:ne,21:74},e(v,[2,36]),{35:[1,75]},{37:[1,76]},e(v,[2,39]),e(Ee,[2,50],{18:77,39:78,10:ke,40:ut}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:Se,44:ye,60:xe,80:[1,87],89:Fe,95:[1,84],97:[1,85],101:86,105:_e,106:Be,109:ve,111:Le,114:Ve,115:we,116:Ie,120:88},e(v,[2,185]),e(v,[2,186]),e(v,[2,187]),e(v,[2,188]),e(v,[2,189]),e(Ce,[2,51]),e(Ce,[2,54],{46:[1,100]}),e(H,[2,72],{113:113,29:[1,101],44:_,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:y,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:w,102:I,105:R,106:P,109:O,111:M,114:U,115:W,116:z}),e(Z,[2,181]),e(Z,[2,142]),e(Z,[2,143]),e(Z,[2,144]),e(Z,[2,145]),e(Z,[2,146]),e(Z,[2,147]),e(Z,[2,148]),e(Z,[2,149]),e(Z,[2,150]),e(Z,[2,151]),e(Z,[2,152]),e(n,[2,12]),e(n,[2,18]),e(n,[2,19]),{9:[1,114]},e(ot,[2,26],{18:115,10:ke}),e(v,[2,27]),{42:116,43:39,44:_,45:40,47:41,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},e(v,[2,40]),e(v,[2,41]),e(v,[2,42]),e(Re,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:lt,81:ct,116:Ke,119:He},{75:[1,126],77:[1,127]},e(ht,[2,83]),e(v,[2,28]),e(v,[2,29]),e(v,[2,30]),e(v,[2,31]),e(v,[2,32]),{10:dt,12:pt,14:ft,27:gt,28:128,32:bt,44:kt,60:At,75:mt,80:[1,130],81:[1,131],83:141,84:Ct,85:Dt,86:Tt,87:Et,88:St,89:yt,90:xt,91:129,105:Ft,109:_t,111:Bt,114:vt,115:Lt,116:Vt},e(Qe,c,{5:154}),e(v,[2,37]),e(v,[2,38]),e(Ee,[2,48],{44:wt}),e(Ee,[2,49],{18:156,10:ke,40:It}),e(Ce,[2,44]),{44:_,47:158,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},{102:[1,159],103:160,105:[1,161]},{44:_,47:162,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},{44:_,47:163,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},e(V,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(V,[2,115],{120:168,10:[1,167],14:Se,44:ye,60:xe,89:Fe,105:_e,106:Be,109:ve,111:Le,114:Ve,115:we,116:Ie}),e(V,[2,117],{10:[1,169]}),e($,[2,183]),e($,[2,170]),e($,[2,171]),e($,[2,172]),e($,[2,173]),e($,[2,174]),e($,[2,175]),e($,[2,176]),e($,[2,177]),e($,[2,178]),e($,[2,179]),e($,[2,180]),{44:_,47:170,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},{30:171,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:179,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:181,50:[1,180],67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:182,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:183,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:184,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{109:[1,185]},{30:186,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:187,65:[1,188],67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:189,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:190,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{30:191,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},e(Z,[2,182]),e(n,[2,20]),e(ot,[2,25]),e(Ee,[2,46],{39:192,18:193,10:ke,40:ut}),e(Re,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{77:[1,197],79:198,116:Ke,119:He},e(Ne,[2,79]),e(Ne,[2,81]),e(Ne,[2,82]),e(Ne,[2,168]),e(Ne,[2,169]),{76:199,79:121,80:lt,81:ct,116:Ke,119:He},e(ht,[2,84]),{8:re,9:ae,10:dt,11:ne,12:pt,14:ft,21:201,27:gt,29:[1,200],32:bt,44:kt,60:At,75:mt,83:141,84:Ct,85:Dt,86:Tt,87:Et,88:St,89:yt,90:xt,91:202,105:Ft,109:_t,111:Bt,114:vt,115:Lt,116:Vt},e(L,[2,101]),e(L,[2,103]),e(L,[2,104]),e(L,[2,157]),e(L,[2,158]),e(L,[2,159]),e(L,[2,160]),e(L,[2,161]),e(L,[2,162]),e(L,[2,163]),e(L,[2,164]),e(L,[2,165]),e(L,[2,166]),e(L,[2,167]),e(L,[2,90]),e(L,[2,91]),e(L,[2,92]),e(L,[2,93]),e(L,[2,94]),e(L,[2,95]),e(L,[2,96]),e(L,[2,97]),e(L,[2,98]),e(L,[2,99]),e(L,[2,100]),{6:11,7:12,8:d,9:g,10:l,11:F,20:17,22:18,23:19,24:20,25:21,26:22,27:B,32:[1,203],33:24,34:x,36:b,38:m,42:28,43:39,44:_,45:40,47:41,60:y,84:o,85:p,86:X,87:J,88:be,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z,121:Me,122:Ue,123:We,124:ze,125:je},{10:ke,18:204},{44:[1,205]},e(Ce,[2,43]),{10:[1,206],44:_,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:113,114:U,115:W,116:z},{10:[1,207]},{10:[1,208],106:[1,209]},e(Rt,[2,128]),{10:[1,210],44:_,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:113,114:U,115:W,116:z},{10:[1,211],44:_,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:113,114:U,115:W,116:z},{80:[1,212]},e(V,[2,109],{10:[1,213]}),e(V,[2,111],{10:[1,214]}),{80:[1,215]},e($,[2,184]),{80:[1,216],98:[1,217]},e(Ce,[2,55],{113:113,44:_,60:y,89:w,102:I,105:R,106:P,109:O,111:M,114:U,115:W,116:z}),{31:[1,218],67:D,82:219,116:T,117:E,118:S},e(Ae,[2,86]),e(Ae,[2,88]),e(Ae,[2,89]),e(Ae,[2,153]),e(Ae,[2,154]),e(Ae,[2,155]),e(Ae,[2,156]),{49:[1,220],67:D,82:219,116:T,117:E,118:S},{30:221,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{51:[1,222],67:D,82:219,116:T,117:E,118:S},{53:[1,223],67:D,82:219,116:T,117:E,118:S},{55:[1,224],67:D,82:219,116:T,117:E,118:S},{57:[1,225],67:D,82:219,116:T,117:E,118:S},{60:[1,226]},{64:[1,227],67:D,82:219,116:T,117:E,118:S},{66:[1,228],67:D,82:219,116:T,117:E,118:S},{30:229,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},{31:[1,230],67:D,82:219,116:T,117:E,118:S},{67:D,69:[1,231],71:[1,232],82:219,116:T,117:E,118:S},{67:D,69:[1,234],71:[1,233],82:219,116:T,117:E,118:S},e(Ee,[2,45],{18:156,10:ke,40:It}),e(Ee,[2,47],{44:wt}),e(Re,[2,75]),e(Re,[2,74]),{62:[1,235],67:D,82:219,116:T,117:E,118:S},e(Re,[2,77]),e(Ne,[2,80]),{77:[1,236],79:198,116:Ke,119:He},{30:237,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},e(Qe,c,{5:238}),e(L,[2,102]),e(v,[2,35]),{43:239,44:_,45:40,47:41,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},{10:ke,18:240},{10:ue,60:oe,84:le,92:241,105:ce,107:242,108:243,109:he,110:de,111:pe,112:fe},{10:ue,60:oe,84:le,92:252,104:[1,253],105:ce,107:242,108:243,109:he,110:de,111:pe,112:fe},{10:ue,60:oe,84:le,92:254,104:[1,255],105:ce,107:242,108:243,109:he,110:de,111:pe,112:fe},{105:[1,256]},{10:ue,60:oe,84:le,92:257,105:ce,107:242,108:243,109:he,110:de,111:pe,112:fe},{44:_,47:258,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},e(V,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(V,[2,116]),e(V,[2,118],{10:[1,262]}),e(V,[2,119]),e(H,[2,56]),e(Ae,[2,87]),e(H,[2,57]),{51:[1,263],67:D,82:219,116:T,117:E,118:S},e(H,[2,64]),e(H,[2,59]),e(H,[2,60]),e(H,[2,61]),{109:[1,264]},e(H,[2,63]),e(H,[2,65]),{66:[1,265],67:D,82:219,116:T,117:E,118:S},e(H,[2,67]),e(H,[2,68]),e(H,[2,70]),e(H,[2,69]),e(H,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(Re,[2,78]),{31:[1,266],67:D,82:219,116:T,117:E,118:S},{6:11,7:12,8:d,9:g,10:l,11:F,20:17,22:18,23:19,24:20,25:21,26:22,27:B,32:[1,267],33:24,34:x,36:b,38:m,42:28,43:39,44:_,45:40,47:41,60:y,84:o,85:p,86:X,87:J,88:be,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z,121:Me,122:Ue,123:We,124:ze,125:je},e(Ce,[2,53]),{43:268,44:_,45:40,47:41,60:y,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z},e(V,[2,121],{106:Ge}),e(Nt,[2,130],{108:270,10:ue,60:oe,84:le,105:ce,109:he,110:de,111:pe,112:fe}),e(se,[2,132]),e(se,[2,134]),e(se,[2,135]),e(se,[2,136]),e(se,[2,137]),e(se,[2,138]),e(se,[2,139]),e(se,[2,140]),e(se,[2,141]),e(V,[2,122],{106:Ge}),{10:[1,271]},e(V,[2,123],{106:Ge}),{10:[1,272]},e(Rt,[2,129]),e(V,[2,105],{106:Ge}),e(V,[2,106],{113:113,44:_,60:y,89:w,102:I,105:R,106:P,109:O,111:M,114:U,115:W,116:z}),e(V,[2,110]),e(V,[2,112],{10:[1,273]}),e(V,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:re,9:ae,11:ne,21:278},e(v,[2,34]),e(Ce,[2,52]),{10:ue,60:oe,84:le,105:ce,107:279,108:243,109:he,110:de,111:pe,112:fe},e(se,[2,133]),{14:Se,44:ye,60:xe,89:Fe,101:280,105:_e,106:Be,109:ve,111:Le,114:Ve,115:we,116:Ie,120:88},{14:Se,44:ye,60:xe,89:Fe,101:281,105:_e,106:Be,109:ve,111:Le,114:Ve,115:we,116:Ie,120:88},{98:[1,282]},e(V,[2,120]),e(H,[2,58]),{30:283,67:D,80:Y,81:q,82:172,116:T,117:E,118:S},e(H,[2,66]),e(Qe,c,{5:284}),e(Nt,[2,131],{108:270,10:ue,60:oe,84:le,105:ce,109:he,110:de,111:pe,112:fe}),e(V,[2,126],{120:168,10:[1,285],14:Se,44:ye,60:xe,89:Fe,105:_e,106:Be,109:ve,111:Le,114:Ve,115:we,116:Ie}),e(V,[2,127],{120:168,10:[1,286],14:Se,44:ye,60:xe,89:Fe,105:_e,106:Be,109:ve,111:Le,114:Ve,115:we,116:Ie}),e(V,[2,114]),{31:[1,287],67:D,82:219,116:T,117:E,118:S},{6:11,7:12,8:d,9:g,10:l,11:F,20:17,22:18,23:19,24:20,25:21,26:22,27:B,32:[1,288],33:24,34:x,36:b,38:m,42:28,43:39,44:_,45:40,47:41,60:y,84:o,85:p,86:X,87:J,88:be,89:w,102:I,105:R,106:P,109:O,111:M,113:42,114:U,115:W,116:z,121:Me,122:Ue,123:We,124:ze,125:je},{10:ue,60:oe,84:le,92:289,105:ce,107:242,108:243,109:he,110:de,111:pe,112:fe},{10:ue,60:oe,84:le,92:290,105:ce,107:242,108:243,109:he,110:de,111:pe,112:fe},e(H,[2,62]),e(v,[2,33]),e(V,[2,124],{106:Ge}),e(V,[2,125],{106:Ge})],defaultActions:{},parseError:k(K(function(f,C){if(C.recoverable)this.trace(f);else{var A=new Error(f);throw A.hash=C,A}},"parseError"),"parseError"),parse:k(K(function(f){var C=this,A=[0],u=[],N=[null],t=[],Oe=this.table,s="",G=0,Gt=0,Pt=0,jt=2,Ot=1,Kt=t.slice.call(arguments,1),j=Object.create(this.lexer),De={yy:{}};for(var Ze in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ze)&&(De.yy[Ze]=this.yy[Ze]);j.setInput(f,De.yy),De.yy.lexer=j,De.yy.parser=this,typeof j.yylloc>"u"&&(j.yylloc={});var $e=j.yylloc;t.push($e);var Ht=j.options&&j.options.ranges;typeof De.yy.parseError=="function"?this.parseError=De.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Yt(te){A.length=A.length-2*te,N.length=N.length-te,t.length=t.length-te}K(Yt,"popStack"),k(Yt,"popStack");function Mt(){var te=u.pop()||j.lex()||Ot;return typeof te!="number"&&(te instanceof Array&&(u=te,te=u.pop()),te=C.symbols_[te]||te),te}K(Mt,"lex"),k(Mt,"lex");for(var Q,et,Te,ee,tt,Pe={},qe,ge,Ut,Xe;;){if(Te=A[A.length-1],this.defaultActions[Te]?ee=this.defaultActions[Te]:((Q===null||typeof Q>"u")&&(Q=Mt()),ee=Oe[Te]&&Oe[Te][Q]),typeof ee>"u"||!ee.length||!ee[0]){var st="";Xe=[];for(qe in Oe[Te])this.terminals_[qe]&&qe>jt&&Xe.push("'"+this.terminals_[qe]+"'");j.showPosition?st="Parse error on line "+(G+1)+`:
|
|
10
|
+
`+j.showPosition()+`
|
|
11
|
+
Expecting `+Xe.join(", ")+", got '"+(this.terminals_[Q]||Q)+"'":st="Parse error on line "+(G+1)+": Unexpected "+(Q==Ot?"end of input":"'"+(this.terminals_[Q]||Q)+"'"),this.parseError(st,{text:j.match,token:this.terminals_[Q]||Q,line:j.yylineno,loc:$e,expected:Xe})}if(ee[0]instanceof Array&&ee.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Te+", token: "+Q);switch(ee[0]){case 1:A.push(Q),N.push(j.yytext),t.push(j.yylloc),A.push(ee[1]),Q=null,et?(Q=et,et=null):(Gt=j.yyleng,s=j.yytext,G=j.yylineno,$e=j.yylloc,Pt>0&&Pt--);break;case 2:if(ge=this.productions_[ee[1]][1],Pe.$=N[N.length-ge],Pe._$={first_line:t[t.length-(ge||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(ge||1)].first_column,last_column:t[t.length-1].last_column},Ht&&(Pe._$.range=[t[t.length-(ge||1)].range[0],t[t.length-1].range[1]]),tt=this.performAction.apply(Pe,[s,Gt,G,De.yy,ee[1],N,t].concat(Kt)),typeof tt<"u")return tt;ge&&(A=A.slice(0,-1*ge*2),N=N.slice(0,-1*ge),t=t.slice(0,-1*ge)),A.push(this.productions_[ee[1]][0]),N.push(Pe.$),t.push(Pe._$),Ut=Oe[A[A.length-2]][A[A.length-1]],A.push(Ut);break;case 3:return!0}}return!0},"parse"),"parse")};Je.lexer=(function(){return{EOF:1,parseError:k(K(function(f,C){if(this.yy.parser)this.yy.parser.parseError(f,C);else throw new Error(f)},"parseError"),"parseError"),setInput:k(function(h,f){return this.yy=f||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={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:k(function(){var h=this._input[0];return this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h,h.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),h},"input"),unput:k(function(h){var f=h.length,C=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var A=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),C.length-1&&(this.yylineno-=C.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:C?(C.length===A.length?this.yylloc.first_column:0)+A[A.length-C.length].length-C[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:k(function(){return this._more=!0,this},"more"),reject:k(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:k(function(h){this.unput(this.match.slice(h))},"less"),pastInput:k(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:k(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:k(function(){var h=this.pastInput(),f=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
13
|
+
`+f+"^"},"showPosition"),test_match:k(function(h,f){var C,A,u;if(this.options.backtrack_lexer&&(u={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&&(u.yylloc.range=this.yylloc.range.slice(0))),A=h[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+h[0].length},this.yytext+=h[0],this.match+=h[0],this.matches=h,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(h[0].length),this.matched+=h[0],C=this.performAction.call(this,this.yy,this,f,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),C)return C;if(this._backtrack){for(var N in u)this[N]=u[N];return!1}return!1},"test_match"),next:k(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var h,f,C,A;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),N=0;N<u.length;N++)if(C=this._input.match(this.rules[u[N]]),C&&(!f||C[0].length>f[0].length)){if(f=C,A=N,this.options.backtrack_lexer){if(h=this.test_match(C,u[N]),h!==!1)return h;if(this._backtrack){f=!1;continue}else return!1}else if(!this.options.flex)break}return f?(h=this.test_match(f,u[A]),h!==!1?h:!1):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:k(K(function(){var f=this.next();return f||this.lex()},"lex"),"lex"),begin:k(K(function(f){this.conditionStack.push(f)},"begin"),"begin"),popState:k(K(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),"popState"),_currentRules:k(K(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"),"_currentRules"),topState:k(K(function(f){return f=this.conditionStack.length-1-Math.abs(f||0),f>=0?this.conditionStack[f]:"INITIAL"},"topState"),"topState"),pushState:k(K(function(f){this.begin(f)},"pushState"),"pushState"),stateStackSize:k(K(function(){return this.conditionStack.length},"stateStackSize"),"stateStackSize"),options:{},performAction:k(K(function(f,C,A,u){switch(A){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"),C.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:return C.yytext=C.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 f.lex.firstGraph()&&this.begin("dir"),12;case 36:return f.lex.firstGraph()&&this.begin("dir"),12;case 37:return f.lex.firstGraph()&&this.begin("dir"),12;case 38:return f.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"),"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}}})();function Ye(){this.yy={}}return K(Ye,"Parser"),k(Ye,"Parser"),Ye.prototype=Je,Je.Parser=Ye,new Ye})();nt.parser=nt;var Wt=nt,zt=Object.assign({},Wt);zt.parse=e=>{const i=e.replace(/}\s*\n/g,`}
|
|
15
|
+
`);return Wt.parse(i)};var S1=zt,y1=k(e=>{const{theme:i,bkgColorArray:r,borderColorArray:a}=e;if(!l1(i,a))return"";const n=h1(e.look),c=d1(r);let d="";for(let g=0;g<c1(e.THEME_COLOR_LIMIT,a);g++){const l=a[g%a.length],F=c?`fill: ${r[g%r.length]};`:"",B=`[data-look="${n}"][data-color-id="color-${g}"]`,x=k(m=>`${B}.node ${m}, ${B}.rough-node ${m}`,"collapsedRule"),b=k(m=>`${B}.swimlane.cluster .swimlane-title${m}, ${B}.swimlane.cluster .swimlane-body${m}`,"laneRule");d+=`
|
|
16
|
+
|
|
17
|
+
${B}.cluster:not(.swimlane) rect {
|
|
18
|
+
stroke: ${l};
|
|
19
|
+
${F}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${B}.cluster:not(.swimlane) path {
|
|
23
|
+
stroke: ${l};
|
|
24
|
+
${F}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Lane, classic and neo. */
|
|
28
|
+
${B}.swimlane.cluster rect.swimlane-title,
|
|
29
|
+
${B}.swimlane.cluster rect.swimlane-body {
|
|
30
|
+
stroke: ${l};
|
|
31
|
+
${F}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
|
|
35
|
+
${b(" path:nth-of-type(2)")} {
|
|
36
|
+
stroke: ${l};
|
|
37
|
+
}
|
|
38
|
+
${c?`
|
|
39
|
+
/* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
|
|
40
|
+
${b(" path:first-of-type")} {
|
|
41
|
+
stroke: ${r[g%r.length]};
|
|
42
|
+
}
|
|
43
|
+
`:""}
|
|
44
|
+
${x(".collapsed-group")},
|
|
45
|
+
${x(".collapsed-group path")} {
|
|
46
|
+
stroke: ${l};
|
|
47
|
+
${F}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* The ellipsis dots and the separator take clusterBorder further down, so without
|
|
51
|
+
these the container is palette-coloured while its own markers are not. */
|
|
52
|
+
${x(".collapsed-indicator")} {
|
|
53
|
+
fill: ${l};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
${x(".collapsed-separator")} {
|
|
57
|
+
stroke: ${l};
|
|
58
|
+
}
|
|
59
|
+
`}return d},"genColor"),x1=k((e,i)=>{const r=u1,a=r(e,"r"),n=r(e,"g"),c=r(e,"b");return t1(a,n,c,i)},"fade"),F1=k(e=>`${y1(e)}
|
|
60
|
+
.label {
|
|
61
|
+
font-family: ${e.fontFamily};
|
|
62
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
63
|
+
}
|
|
64
|
+
.cluster-label text {
|
|
65
|
+
fill: ${e.titleColor};
|
|
66
|
+
}
|
|
67
|
+
.cluster-label span {
|
|
68
|
+
color: ${e.titleColor};
|
|
69
|
+
}
|
|
70
|
+
.cluster-label span p {
|
|
71
|
+
background-color: transparent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.label text,span {
|
|
75
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
76
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.node rect,
|
|
80
|
+
.node circle,
|
|
81
|
+
.node ellipse,
|
|
82
|
+
.node polygon,
|
|
83
|
+
.node path {
|
|
84
|
+
fill: ${e.mainBkg};
|
|
85
|
+
stroke: ${e.nodeBorder};
|
|
86
|
+
stroke-width: ${e.strokeWidth??1}px;
|
|
87
|
+
}
|
|
88
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
89
|
+
text-anchor: middle;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.node .katex path {
|
|
93
|
+
fill: #000;
|
|
94
|
+
stroke: #000;
|
|
95
|
+
stroke-width: 1px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
99
|
+
text-align: center;
|
|
100
|
+
}
|
|
101
|
+
.node.clickable {
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
.root .anchor path {
|
|
107
|
+
fill: ${e.lineColor} !important;
|
|
108
|
+
stroke-width: 0;
|
|
109
|
+
stroke: ${e.lineColor};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.arrowheadPath {
|
|
113
|
+
fill: ${e.arrowheadColor};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.edgePaths .path {
|
|
117
|
+
stroke: ${e.lineColor};
|
|
118
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.flowchart-link {
|
|
122
|
+
stroke: ${e.lineColor};
|
|
123
|
+
fill: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.edgeLabel {
|
|
127
|
+
background-color: ${e.edgeLabelBackground};
|
|
128
|
+
p {
|
|
129
|
+
background-color: ${e.edgeLabelBackground};
|
|
130
|
+
}
|
|
131
|
+
rect {
|
|
132
|
+
opacity: 0.5;
|
|
133
|
+
background-color: ${e.edgeLabelBackground};
|
|
134
|
+
fill: ${e.edgeLabelBackground};
|
|
135
|
+
}
|
|
136
|
+
text-align: center;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* For html labels only */
|
|
140
|
+
.labelBkg {
|
|
141
|
+
background-color: ${x1(e.edgeLabelBackground,.5)};
|
|
142
|
+
// background-color:
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.cluster rect {
|
|
146
|
+
fill: ${e.clusterBkg};
|
|
147
|
+
stroke: ${e.clusterBorder};
|
|
148
|
+
stroke-width: 1px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.cluster text {
|
|
152
|
+
fill: ${e.titleColor};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.cluster span {
|
|
156
|
+
color: ${e.titleColor};
|
|
157
|
+
}
|
|
158
|
+
/* .cluster div {
|
|
159
|
+
color: ${e.titleColor};
|
|
160
|
+
} */
|
|
161
|
+
|
|
162
|
+
/* Collapsed subgraph node (@{ view: collapsed }) */
|
|
163
|
+
.node .collapsed-indicator {
|
|
164
|
+
fill: ${e.clusterBorder};
|
|
165
|
+
stroke: none;
|
|
166
|
+
opacity: 0.6;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.node .collapsed-separator {
|
|
170
|
+
stroke: ${e.clusterBorder};
|
|
171
|
+
stroke-width: 0.75px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
div.mermaidTooltip {
|
|
175
|
+
position: absolute;
|
|
176
|
+
text-align: center;
|
|
177
|
+
max-width: 200px;
|
|
178
|
+
padding: 2px;
|
|
179
|
+
font-family: ${e.fontFamily};
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
background: ${e.tertiaryColor};
|
|
182
|
+
border: 1px solid ${e.border2};
|
|
183
|
+
border-radius: 2px;
|
|
184
|
+
pointer-events: none;
|
|
185
|
+
z-index: 100;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.flowchartTitleText {
|
|
189
|
+
text-anchor: middle;
|
|
190
|
+
font-size: 18px;
|
|
191
|
+
fill: ${e.textColor};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
rect.text {
|
|
195
|
+
fill: none;
|
|
196
|
+
stroke-width: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.icon-shape, .image-shape {
|
|
200
|
+
background-color: ${e.edgeLabelBackground};
|
|
201
|
+
p {
|
|
202
|
+
background-color: ${e.edgeLabelBackground};
|
|
203
|
+
padding: 2px;
|
|
204
|
+
}
|
|
205
|
+
.label rect {
|
|
206
|
+
opacity: 0.5;
|
|
207
|
+
background-color: ${e.edgeLabelBackground};
|
|
208
|
+
fill: ${e.edgeLabelBackground};
|
|
209
|
+
}
|
|
210
|
+
text-align: center;
|
|
211
|
+
}
|
|
212
|
+
${o1()}
|
|
213
|
+
`,"getStyles"),_1=k(({styles:e=F1}={})=>({parser:S1,get db(){return new T1},renderer:E1,styles:e,init:k(i=>{i.flowchart||(i.flowchart={}),i.flowchart.arrowMarkerAbsolute=i.arrowMarkerAbsolute,Qt({flowchart:{arrowMarkerAbsolute:i.arrowMarkerAbsolute}})},"init")}),"createFlowDiagram"),W1=_1();export{W1 as n,F1 as r,_1 as t};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/sizeCapture-INFHLROL-XURNLuv_.js","assets/chunk-Y2CYZVJY-OvsAdhaO.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var I=Object.defineProperty;var g=(e,n)=>I(e,"name",{value:n,configurable:!0});import{sE as ee}from"./index-BJtnP7H1.js";import{n as l}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as o}from"./src-DYjgETqR.js";import{b as te,y as ne}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{_ as se}from"./chunk-3YJQHVM4-C_uoPpLR.js";import{o as re}from"./chunk-XC4XBNZT-CCgIhjYS.js";import{i as x,n as ie,r as oe,t as ae}from"./chunk-DBDB3WZW-B2qouVQO.js";import{a as S,c as ce,d as le,i as ue,n as R,r as k,t as fe,u as de}from"./chunk-2BW5OAIV-Ckr4HfBO.js";import{t as P}from"./graphlib-DHhK3saS.js";import{r as ge,t as me}from"./chunk-NTY3LDVX-DyT9N5sM.js";function T(e,{edgePathsClass:n="edges edgePaths"}={}){const t=e.insert("g").attr("class","root");return{clusters:t.insert("g").attr("class","clusters"),edgePaths:t.insert("g").attr("class",n),edgeLabels:t.insert("g").attr("class","edgeLabels"),nodes:t.insert("g").attr("class","nodes"),rootGroups:t}}g(T,"createLayoutElementGroups");l(T,"createLayoutElementGroups");async function _(e,n,t){if(n.label){const{shapeSvg:r,bbox:s}=await re(e,t===void 0?n:{...n,width:t});n.labelBBox={width:s.width,height:s.height},r.remove()}else n.labelBBox={width:0,height:0}}g(_,"measureGroupLabel");l(_,"measureGroupLabel");async function B(e,n,t){const r=await oe(e,n,t),s=r.node()?.getBBox()??{width:0,height:0};return n.width=s.width,n.height=s.height,r}g(B,"insertMeasuredNode");l(B,"insertMeasuredNode");function M(e,n,t){let r=e;const s=new Set;for(;r;){if(r.dir)return r.dir;if(!r.parentId||s.has(r.parentId))break;s.add(r.parentId),r=n.get(r.parentId)}return t}g(M,"resolveNodeDir");l(M,"resolveNodeDir");async function A(e,n,t={}){const r=new P({multigraph:!0,compound:!0}),s=[...n.edges],i=te(),a=T(e),{edgeLabels:d,nodes:u}=a,b=new Map,h=new Map(n.nodes.map(f=>[f.id,f])),C=n.direction,v=e.node()!=null;await Promise.all(n.nodes.map(async f=>{if(f.isGroup){if(v){const m=t.unwrapGroupLabels&&f.labelType!=="markdown";await _(u,f,m?Number.POSITIVE_INFINITY:void 0)}r.setNode(f.id,{...f})}else{if(v){const m=await B(u,f,{config:i,dir:M(f,h,C)});b.set(f.id,m)}r.setNode(f.id,{...f})}}));for(const f of s)v&&k(f)&&await S(d,f),r.setEdge(f.start,f.end,{...f},f.id),n.edges.some(m=>m.id===f.id)||n.edges.push(f);if(globalThis.mermaidCaptureSizes){const{captureNodeSizes:f}=await ee(async()=>{const{captureNodeSizes:m}=await import("./sizeCapture-INFHLROL-XURNLuv_.js");return{captureNodeSizes:m}},__vite__mapDeps([0,1]));f(e,n)}return{graph:r,groups:a,nodeElements:b}}g(A,"createGraphWithElements");l(A,"createGraphWithElements");var c=new Map,w=new Map,X=new Map,be=l(()=>{w.clear(),X.clear(),c.clear()},"clear"),E=l((e,n)=>{const t=w.get(n)||[];return o.trace("In isDescendant",n," ",e," = ",t.includes(e)),t.includes(e)},"isDescendant"),we=l((e,n)=>{const t=w.get(n)||[];return o.info("Descendants of ",n," is ",t),o.info("Edge is ",e),e.v===n||e.w===n?!1:t?t.includes(e.v)||E(e.v,n)||E(e.w,n)||t.includes(e.w):(o.debug("Tilt, ",n,",not in descendants"),!1)},"edgeInCluster"),G=l((e,n,t,r)=>{o.debug("Copying children of ",e,"root",r,"data",n.node(e),r);const s=n.children(e)||[];e!==r&&s.push(e),o.debug("Copying (nodes) clusterId",e,"nodes",s),s.forEach(i=>{if(n.children(i).length>0)G(i,n,t,r);else{const a=n.node(i);o.info("cp ",i," to ",r," with parent ",e),t.setNode(i,a),r!==n.parent(i)&&(o.debug("Setting parent",i,n.parent(i)),t.setParent(i,n.parent(i))),e!==r&&i!==e?(o.debug("Setting parent",i,e),t.setParent(i,e)):(o.info("In copy ",e,"root",r,"data",n.node(e),r),o.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const d=n.edges(i);o.debug("Copying Edges",d),d.forEach(u=>{o.info("Edge",u);const b=n.edge(u.v,u.w,u.name);o.info("Edge data",b,r);try{we(u,r)?(o.info("Copying as ",u.v,u.w,b,u.name),t.setEdge(u.v,u.w,b,u.name),o.info("newGraph edges ",t.edges(),t.edge(t.edges()[0]))):o.info("Skipping copy of edge ",u.v,"-->",u.w," rootId: ",r," clusterId:",e)}catch(h){o.error(h)}})}o.debug("Removing node",i),n.removeNode(i)})},"copy"),O=l((e,n)=>{const t=n.children(e);let r=[...t];for(const s of t)X.set(s,e),r=[...r,...O(s,n)];return r},"extractDescendants"),he=l((e,n,t)=>{const r=e.edges().filter(d=>d.v===n||d.w===n),s=e.edges().filter(d=>d.v===t||d.w===t),i=r.map(d=>({v:d.v===n?t:d.v,w:d.w===n?n:d.w})),a=s.map(d=>({v:d.v,w:d.w}));return i.filter(d=>a.some(u=>d.v===u.v&&d.w===u.w))},"findCommonEdges"),p=l((e,n,t)=>{const r=n.children(e);if(o.trace("Searching children of id ",e,r),r.length<1)return e;let s;for(const i of r){const a=p(i,n,t),d=he(n,t,a);if(a)if(d.length>0)s=a;else return a}return s},"findNonClusterChild"),D=l(e=>!c.has(e)||!c.get(e).externalConnections?e:c.has(e)?c.get(e).id:e,"getAnchorId"),_e=l((e,n)=>{if(!e||n>10){o.debug("Opting out, no graph ");return}else o.debug("Opting in, graph ");e.nodes().forEach(function(t){e.children(t).length>0&&(o.debug("Cluster identified",t," Replacement id in edges: ",p(t,e,t)),w.set(t,O(t,e)),c.set(t,{id:p(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){const r=e.children(t),s=e.edges();r.length>0?(o.debug("Cluster identified",t,w),s.forEach(i=>{E(i.v,t)^E(i.w,t)&&(o.debug("Edge: ",i," leaves cluster ",t),o.debug("Descendants of XXX ",t,": ",w.get(t)),c.get(t).externalConnections=!0)})):o.debug("Not a cluster ",t,w)});for(let t of c.keys()){const r=c.get(t).id,s=e.parent(r);s!==t&&c.has(s)&&!c.get(s).externalConnections&&(c.get(t).id=s);const i=e.edges().some(a=>a.v===t);if(r&&c.get(t)?.externalConnections&&i&&j(e,r,t)){const a=ve(e,t,e.parent(r));a&&(c.get(t).id=a)}}e.edges().forEach(function(t){const r=e.edge(t);o.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),o.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let s=t.v,i=t.w;if(o.debug("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c.get(t.v)," --- ",c.get(t.w)),c.get(t.v)||c.get(t.w)){if(o.debug("Fixing and trying - removing XXX",t.v,t.w,t.name),s=D(t.v),i=D(t.w),e.removeEdge(t.v,t.w,t.name),s!==t.v){const a=e.parent(s);c.get(a).externalConnections=!0,r.fromCluster=t.v}if(i!==t.w){const a=e.parent(i);c.get(a).externalConnections=!0,r.toCluster=t.w}o.debug("Fix Replacing with XXX",s,i,t.name),e.setEdge(s,i,r,t.name)}}),F(e,0),o.trace(c)},"adjustClustersAndEdges"),F=l((e,n)=>{if(n>10){o.error("Bailing out");return}let t=e.nodes(),r=!1;for(const s of t){const i=e.children(s);r=r||i.length>0}if(!r){o.debug("Done, no node has children",e.nodes());return}o.debug("Nodes = ",t,n);for(const s of t)if(o.debug("Extracting node",s,c,c.has(s)&&!c.get(s).externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",n),!c.has(s))o.debug("Not a cluster",s,n);else if(!c.get(s).externalConnections&&e.children(s)&&e.children(s).length>0){o.debug("Cluster without external connections, without a parent and with children",s,n);let i=e.graph().rankdir==="TB"?"LR":"TB";c.get(s)?.clusterData?.dir&&(i=c.get(s).clusterData.dir,o.debug("Fixing dir",c.get(s).clusterData.dir,i));const a=new P({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});G(s,e,a,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:c.get(s).clusterData,label:c.get(s).label,graph:a})}else o.debug("Cluster ** ",s," **not meeting the criteria !externalConnections:",!c.get(s).externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),n),o.debug(c);t=e.nodes(),o.debug("New list of nodes",t);for(const s of t){const i=e.node(s);o.debug(" Now next level",s,i),i?.clusterNode&&F(i.graph,n+1)}},"extractor"),$=l((e,n)=>{if(n.length===0)return[];let t=Object.assign([],n);return n.forEach(r=>{const s=$(e,e.children(r));t=[...t,...s]}),t},"sorter"),Be=l(e=>$(e,e.children()),"sortNodesByHierarchy"),j=l((e,n,t)=>{let r=e.parent(n);for(;r&&r!==t;){const s=c.get(r);if(s&&!s.externalConnections)return!0;r=e.parent(r)}return!1},"isNodeInExtractableCluster"),ve=l((e,n,t)=>{const r=e.children(n)??[];for(const s of r){if(s===t||E(s,t))continue;const i=p(s,e,n);if(i&&!j(e,i,n))return i}return null},"findSafeAnchorNode");function Ee({prepareLayout:e,measureLayout:n,runLayoutCore:t,paintLayout:r,afterPaint:s,paintOptions:i}){const a=n??H;return l(g(async function(u,b,h,C){const v=b.select("g");(h?.insertMarkers??ce)(v,u.markers,u.type,u.diagramId),z();const f={element:v,helpers:h,options:C};f.preparedLayout=await e?.(u,f);const m=await a(u,f),L=await t(u,f),N={...f,measure:m};r?await r(u,N,L):await J(u,N,i),await s?.(u,N,L)},"render"),"render")}g(Ee,"createCommonLayoutRenderer");l(Ee,"createCommonLayoutRenderer");function z(){ae(),fe(),me(),be()}g(z,"clearLayoutRenderState");l(z,"clearLayoutRenderState");async function H(e,{element:n},t){return await A(n,e,t)}g(H,"defaultMeasureLayout");l(H,"defaultMeasureLayout");async function J(e,n,t={}){const{measure:r}=n,{groups:s}=r;for(const a of t.getNodes?.(e,n)??e.nodes)t.skipNode?.(a,n)||await V(s,a,n,t);const i=Y(e.nodes);for(const a of e.edges)q(a,t)||await K(s,a,i,e,t,n)}g(J,"paintLayoutData");l(J,"paintLayoutData");async function V(e,n,t,r){n.clusterNode?x(n):W(n,t,r)?await ge(e.clusters,n):x(n)}g(V,"paintLayoutNode");l(V,"paintLayoutNode");function W(e,n,t){return e.isGroup===!0&&(t.isCluster?.(e,n)??!0)}g(W,"shouldPaintAsCluster");l(W,"shouldPaintAsCluster");function Y(e){const n=new Map;for(const t of e)t?.id&&n.set(t.id,t);return n}g(Y,"buildNodeLookup");l(Y,"buildNodeLookup");function q(e,n){return e.isLayoutOnly||!!n.skipEdge?.(e)}g(q,"shouldSkipPaintEdge");l(q,"shouldSkipPaintEdge");async function K(e,n,t,r,s,i){const a=ue(e.edgePaths,{...n},s.clusterDb??new Map,r.type,y(n.start,n,t,i,s),y(n.end,n,t,i,s),r.diagramId,Q(n,s));k(n)&&(R.has(n.id)||await S(e.edgeLabels,n),U(n,a))}g(K,"paintLayoutEdge");l(K,"paintLayoutEdge");function y(e,n,t,r,s){return s.getEdgeNode?.(e,n,r)??(e?t.get(e)??{}:{})}g(y,"getRenderedNode");l(y,"getRenderedNode");function Q(e,n){return typeof n.skipIntersect=="function"?n.skipIntersect(e):n.skipIntersect??!1}g(Q,"shouldSkipIntersect");l(Q,"shouldSkipIntersect");function U(e,n){const t=n?.updatedPath??n?.originalPath,r=ne(),{subGraphTitleTotalMargin:s}=ie({flowchart:r.flowchart??{}});if(e.label){const i=R.get(e.id),{x:a,y:d}=de(e,n);i.attr("transform",`translate(${a}, ${d+s/2})`)}for(const[i,a]of[["startLeft",e.startLabelLeft],["startRight",e.startLabelRight],["endLeft",e.endLabelLeft],["endRight",e.endLabelRight]])if(a){const{x:d,y:u}=Z(e,i,t);le.get(e.id)[i].attr("transform",`translate(${d}, ${u})`)}}g(U,"positionRenderedEdgeLabel");l(U,"positionRenderedEdgeLabel");var pe={startLeft:"start_left",startRight:"start_right",endLeft:"end_left",endRight:"end_right"};function Z(e,n,t){const r=e.terminalLabelCenters?.[n];if(r)return{...r};if(!t)return{x:e.x,y:e.y};const s=n.startsWith("start")?e.arrowTypeStart:e.arrowTypeEnd;return se.calcTerminalLabelPosition(s?10:0,pe[n],t)}g(Z,"terminalLabelTranslate");l(Z,"terminalLabelTranslate");export{H as a,Be as c,T as i,c as n,p as o,Ee as r,B as s,_e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var P=Object.defineProperty;var a=(t,n)=>P(t,"name",{value:n,configurable:!0});import{n as I}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as x}from"./src-DYjgETqR.js";import{y as z,z as C}from"./chunk-VPRB5NB3-BNz5CtBn.js";var G=Object.freeze({left:0,top:0,width:16,height:16}),v=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),M=Object.freeze({...G,...v}),V=Object.freeze({...M,body:"",hidden:!1}),R=Object.freeze({width:null,height:null}),H=Object.freeze({...R,...v}),L=a((t,n,o,r="")=>{const e=t.split(":");if(t.slice(0,1)==="@"){if(e.length<2||e.length>3)return null;r=e.shift().slice(1)}if(e.length>3||!e.length)return null;if(e.length>1){const l=e.pop(),u=e.pop(),h={provider:e.length>0?e[0]:r,prefix:u,name:l};return n&&!S(h)?null:h}const s=e[0],i=s.split("-");if(i.length>1){const l={provider:r,prefix:i.shift(),name:i.join("-")};return n&&!S(l)?null:l}if(o&&r===""){const l={provider:r,prefix:"",name:s};return n&&!S(l,o)?null:l}return null},"stringToIcon"),S=a((t,n)=>t?!!((n&&t.prefix===""||t.prefix)&&t.name):!1,"validateIconName");function B(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const r=((t.rotate||0)+(n.rotate||0))%4;return r&&(o.rotate=r),o}a(B,"mergeIconTransformations");function k(t,n){const o=B(t,n);for(const r in V)r in v?r in t&&!(r in o)&&(o[r]=v[r]):r in n?o[r]=n[r]:r in t&&(o[r]=t[r]);return o}a(k,"mergeIconData");function W(t,n){const o=t.icons,r=t.aliases||Object.create(null),e=Object.create(null);function s(i){if(o[i])return e[i]=[];if(!(i in e)){e[i]=null;const l=r[i]&&r[i].parent,u=l&&s(l);u&&(e[i]=[l].concat(u))}return e[i]}return a(s,"resolve"),(n||Object.keys(o).concat(Object.keys(r))).forEach(s),e}a(W,"getIconsTree");function E(t,n,o){const r=t.icons,e=t.aliases||Object.create(null);let s={};function i(l){s=k(r[l]||e[l],s)}return a(i,"parse"),i(n),o.forEach(i),k(t,s)}a(E,"internalGetIconData");function _(t,n){if(t.icons[n])return E(t,n,[]);const o=W(t,[n])[n];return o?E(t,n,o):null}a(_,"getIconData");var K=/(-?[0-9.]*[0-9]+[0-9.]*)/g,U=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function F(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const r=t.split(K);if(r===null||!r.length)return t;const e=[];let s=r.shift(),i=U.test(s);for(;;){if(i){const l=parseFloat(s);isNaN(l)?e.push(s):e.push(Math.ceil(l*n*o)/o)}else e.push(s);if(s=r.shift(),s===void 0)return e.join("");i=!i}}a(F,"calculateSize");function q(t,n="defs"){let o="";const r=t.indexOf("<"+n);for(;r>=0;){const e=t.indexOf(">",r),s=t.indexOf("</"+n);if(e===-1||s===-1)break;const i=t.indexOf(">",s);if(i===-1)break;o+=t.slice(e+1,s).trim(),t=t.slice(0,r).trim()+t.slice(i+1)}return{defs:o,content:t}}a(q,"splitSVGDefs");function J(t,n){return t?"<defs>"+t+"</defs>"+n:n}a(J,"mergeDefsAndContent");function N(t,n,o){const r=q(t);return J(r.defs,n+r.content+o)}a(N,"wrapSVGContent");var Q=a(t=>t==="unset"||t==="undefined"||t==="none","isUnsetKeyword");function X(t,n){const o={...M,...t},r={...H,...n},e={left:o.left,top:o.top,width:o.width,height:o.height};let s=o.body;[o,r].forEach(p=>{const c=[],A=p.hFlip,O=p.vFlip;let g=p.rotate;A?O?g+=2:(c.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),c.push("scale(-1 1)"),e.top=e.left=0):O&&(c.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),c.push("scale(1 -1)"),e.top=e.left=0);let f;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:f=e.height/2+e.top,c.unshift("rotate(90 "+f.toString()+" "+f.toString()+")");break;case 2:c.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:f=e.width/2+e.left,c.unshift("rotate(-90 "+f.toString()+" "+f.toString()+")")}g%2===1&&(e.left!==e.top&&(f=e.left,e.left=e.top,e.top=f),e.width!==e.height&&(f=e.width,e.width=e.height,e.height=f)),c.length&&(s=N(s,'<g transform="'+c.join(" ")+'">',"</g>"))});const i=r.width,l=r.height,u=e.width,h=e.height;let d,w;i===null?(w=l===null?"1em":l==="auto"?h:l,d=F(w,u/h)):(d=i==="auto"?u:i,w=l===null?F(d,h/u):l==="auto"?h:l);const m={},y=a((p,c)=>{Q(c)||(m[p]=c.toString())},"setAttr");y("width",d),y("height",w);const D=[e.left,e.top,u,h];return m.viewBox=D.join(" "),{attributes:m,viewBox:D,body:s}}a(X,"iconToSVG");var Y=/\sid="(\S+)"/g,$=new Map;function Z(t){t=t.replace(/[0-9]+$/,"")||"a";const n=$.get(t)||0;return $.set(t,n+1),n?`${t}${n}`:t}a(Z,"nextID");function tt(t){const n=[];let o;for(;o=Y.exec(t);)n.push(o[1]);if(!n.length)return t;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(e=>{const s=Z(e),i=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),t=t.replace(new RegExp(r,"g"),""),t}a(tt,"replaceIDs");function et(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in n)o+=" "+r+'="'+n[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}a(et,"iconToHTML");var nt={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},b=new Map,j=new Map,lt=I(t=>{for(const n of t){if(!n.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(x.debug("Registering icon pack:",n.name),"loader"in n)j.set(n.name,n.loader);else if("icons"in n)b.set(n.name,n.icons);else throw x.error("Invalid icon loader:",n),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),T=I(async(t,n)=>{const o=L(t,!0,n!==void 0);if(!o)throw new Error(`Invalid icon name: ${t}`);const r=o.prefix||n;if(!r)throw new Error(`Icon name must contain a prefix: ${t}`);let e=b.get(r);if(!e){const i=j.get(r);if(!i)throw new Error(`Icon set not found: ${o.prefix}`);try{e={...await i(),prefix:r},b.set(r,e)}catch(l){throw x.error(l),new Error(`Failed to load icon set: ${o.prefix}`)}}const s=_(e,o.name);if(!s)throw new Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),at=I(async t=>{try{return await T(t),!0}catch{return!1}},"isIconAvailable"),ct=I(async(t,n,o)=>{let r;try{r=await T(t,n?.fallbackPrefix)}catch(i){x.error(i),r=nt}const e=X(r,n),s=et(tt(e.body),{...e.attributes,...o});return C(s,z())},"getIconSVG");export{nt as i,at as n,lt as r,ct as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var F=Object.defineProperty;var y=(t,e)=>F(t,"name",{value:e,configurable:!0});import{n as h}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{o as T}from"./chunk-2BW5OAIV-Ckr4HfBO.js";var w=5,R=1e-5,j=2,z=.6,O=1e-6;function N(t){const e=[];for(let s=0;s<t.length-1;s++)e.push({a:t[s],b:t[s+1]});return e}y(N,"buildSegmentList");h(N,"buildSegmentList");function C(t,e,s,c){const r=e.x-t.x,o=e.y-t.y,a=c.x-s.x,d=c.y-s.y,u=r*d-o*a;if(u===0)return null;const n=s.x-t.x,i=s.y-t.y,f=(n*d-i*a)/u,l=(n*o-i*r)/u;return f<=O||f>=1-O||l<=O||l>=1-O?null:{point:{x:t.x+f*r,y:t.y+f*o},tA:f,tB:l}}y(C,"segmentIntersection");h(C,"segmentIntersection");function v(t){return Math.abs(t.b.x-t.a.x)>=Math.abs(t.b.y-t.a.y)}y(v,"isHorizontalSeg");h(v,"isHorizontalSeg");function B(t,e,s){if(t.curve!=="rounded")return!1;const c=t.points,r=c[e],o=c[e+1];if(!r||!o)return!1;const a=Math.hypot(o.x-r.x,o.y-r.y),d=s*a,u=e>0?$(c[e-1],r,o,w):null;if(u&&d<u.cutLen)return!0;const n=e+2<c.length?$(r,o,c[e+2],w):null;return n!==null&&a-d<n.cutLen}y(B,"crossingSitsInRoundedCorner");h(B,"crossingSitsInRoundedCorner");function _(t){const e=[];for(let s=0;s<t.length;s++){const c=t[s],r=N(c.points);for(let o=s+1;o<t.length;o++){const a=t[o],d=N(a.points);for(const[u,n]of r.entries())for(const[i,f]of d.entries()){const l=C(n.a,n.b,f.a,f.b);if(!l||B(c,u,l.tA)||B(a,i,l.tB))continue;const b=v(n);b!==v(f)&&b?e.push({jumpEdgeId:c.id,otherEdgeId:a.id,segIndex:u,t:l.tA,point:l.point}):e.push({jumpEdgeId:a.id,otherEdgeId:c.id,segIndex:i,t:l.tB,point:l.point})}}}return e}y(_,"findEdgeIntersections");h(_,"findEdgeIntersections");function M(t){const e=Math.round(t*1e3)/1e3;return Number.isInteger(e)?`${e}`:`${e}`}y(M,"fmt");h(M,"fmt");function L(t){return`${M(t.x)},${M(t.y)}`}y(L,"pointToString");h(L,"pointToString");function D(t){const e=t.b.x-t.a.x,s=t.b.y-t.a.y;return Math.abs(e)>=Math.abs(s)?e>=0?1:0:s>=0?1:0}y(D,"getArcSweepFlag");h(D,"getArcSweepFlag");function k(t,e){if(t.length<2)return t.map(o=>({...o}));const s=t.map(o=>({...o})),c=e.arrowTypeStart&&T[e.arrowTypeStart];if(c){const o=t[0],a=t[1],d=Math.atan2(a.y-o.y,a.x-o.x);s[0].x=o.x+c*Math.cos(d),s[0].y=o.y+c*Math.sin(d)}const r=e.arrowTypeEnd&&T[e.arrowTypeEnd];if(r){const o=t.length,a=t[o-2],d=t[o-1],u=Math.atan2(d.y-a.y,d.x-a.x);s[o-1].x=d.x-r*Math.cos(u),s[o-1].y=d.y-r*Math.sin(u)}return s}y(k,"applyMarkerOffsets");h(k,"applyMarkerOffsets");function J(t,e,s,c,r){const o=t.point.x,a=t.point.y,d={x:o-e*t.r,y:a-s*t.r},u={x:o+e*t.r,y:a+s*t.r},n=[`L${L(d)}`];return r==="arc"?n.push(`A${M(t.r)},${M(t.r)} 0 0 ${c} ${L(u)}`):n.push(`M${L(u)}`),n}y(J,"emitJump");h(J,"emitJump");function $(t,e,s,c){const r=e.x-t.x,o=e.y-t.y,a=s.x-e.x,d=s.y-e.y,u=Math.hypot(r,o),n=Math.hypot(a,d);if(u<R||n<R)return null;const i=r/u,f=o/u,l=a/n,b=d/n,E=i*l+f*b,S=Math.acos(Math.max(-1,Math.min(1,E)));if(S<R||Math.abs(Math.PI-S)<R)return null;const g=Math.min(c/Math.sin(S/2),u/2,n/2);return{startX:e.x-i*g,startY:e.y-f*g,endX:e.x+l*g,endY:e.y+b*g,ctrlX:e.x,ctrlY:e.y,cutLen:g}}y($,"computeRoundedCorner");h($,"computeRoundedCorner");function U(t,e,s){const c=t.points;if(c.length<2)return"";const r=k(c,t),o=t.curve==="rounded",a=N(r),d=new Map;for(const n of e){const i=a[n.segIndex];if(!i)continue;const f=Math.hypot(i.b.x-i.a.x,i.b.y-i.a.y),l=d.get(n.segIndex)??[];l.push({t:n.t,point:n.point,d:n.t*f,r:s.jumpRadius}),d.set(n.segIndex,l)}const u=[`M${L(r[0])}`];for(let n=0;n<a.length;n++){const i=a[n],f=Math.hypot(i.b.x-i.a.x,i.b.y-i.a.y),l=f===0?0:(i.b.x-i.a.x)/f,b=f===0?0:(i.b.y-i.a.y)/f,E=D(i);let S=0;if(o&&n>0){const p=$(r[n-1],r[n],r[n+1]??r[n],w);p&&(S=p.cutLen)}let g=f,x=null;o&&n<a.length-1&&(x=$(r[n],r[n+1],r[n+2]??r[n+1],w),x&&(g=f-x.cutLen));const I=s.jumpRadius*z,m=[...d.get(n)??[]].sort((p,A)=>p.t-A.t).filter(p=>{const A=Math.min(p.d-S,g-p.d)-j;return p.r=Math.min(p.r,A),p.r>=I});for(let p=0;p<m.length-1;p++){const A=m[p+1].d-m[p].d;if(m[p].r+m[p+1].r>A){const P=A/2;m[p].r=Math.min(m[p].r,P),m[p+1].r=Math.min(m[p+1].r,P)}}for(const p of m)p.r<I||u.push(...J(p,l,b,E,s.jumpStyle));o&&x?(u.push(`L${M(x.startX)},${M(x.startY)}`),u.push(`Q${M(x.ctrlX)},${M(x.ctrlY)} ${M(x.endX)},${M(x.endY)}`)):u.push(`L${L(i.b)}`)}return u.join(" ")}y(U,"rewriteEdgePath");h(U,"rewriteEdgePath");function H(t){return/^[\d\s+,.LMelm-]*$/.test(t)}y(H,"isStraightPath");h(H,"isStraightPath");function X(t){return t?t==="linear"||t==="rounded"||t==="step"||t==="stepBefore"||t==="stepAfter":!0}y(X,"curveSupportsLineHops");h(X,"curveSupportsLineHops");function Y(t){if(!t)return null;try{const e=typeof atob=="function"?atob(t):Buffer.from(t,"base64").toString(),s=JSON.parse(e);if(!Array.isArray(s))return null;const c=[];for(const r of s)r&&typeof r.x=="number"&&typeof r.y=="number"&&c.push({x:r.x,y:r.y});return c.length>=2?c:null}catch{return null}}y(Y,"decodeDataPoints");h(Y,"decodeDataPoints");function V(t,e,s){if(!s.enabled)return;const c=t.node();if(!c)return;const r=new Map;for(const n of e)r.set(n.id,n);const o=new Map;for(const n of c.querySelectorAll("path[data-id]")){const i=n.getAttribute("data-id");i!==null&&!o.has(i)&&o.set(i,n)}const a=[];for(const n of e){const i=o.get(n.id);if(!i)continue;const f=Y(i.getAttribute("data-points"))??n.points;a.push({...n,points:f})}const d=_(a);if(d.length===0)return;const u=new Map;for(const n of d){const i=u.get(n.jumpEdgeId)??[];i.push(n),u.set(n.jumpEdgeId,i)}for(const n of a){const i=u.get(n.id);if(!i||i.length===0)continue;const f=r.get(n.id)?.curve;if(f!==void 0&&!X(f))continue;const l=o.get(n.id);if(!l||f===void 0&&!H(l.getAttribute("d")??""))continue;const b=l.getAttribute("style")??"",E=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(b),S=E?Number.parseFloat(E[1]):null,g=E?Number.parseFloat(E[2]):null,x=U(n,i,s);if(l.setAttribute("d",x),S!==null&&g!==null&&typeof l.getTotalLength=="function"){const I=l.getTotalLength(),m=`0 ${S} ${Math.max(0,I-S-g)} ${g}`,p=b.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${m};`).replace(/;\s*;+/g,";");l.setAttribute("style",p)}}}y(V,"applyLineJumpsToSvg");h(V,"applyLineJumpsToSvg");export{V as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as o}from"./chunk-Y2CYZVJY-OvsAdhaO.js";var u=new Set(["redux-color","redux-dark-color"]),S=12,v=64,s=o(r=>Array.isArray(r)&&r.length>0,"hasPalette"),O=o((r,a)=>r!=null&&u.has(r)&&s(a),"isColorTheme"),c=/^[\w-]+$/,_=o(r=>{const a=typeof r=="string"||typeof r=="number"?String(r):"";return c.test(a)?a:"classic"},"safeLook"),n=o(r=>s(r)?r.length:0,"paletteSlotCount"),C=o((r,a)=>s(a)?n(a):typeof r=="number"&&Number.isInteger(r)&&r>0&&r<=v?r:S,"colorSlotCount"),T=o((r,a,e,t)=>{if(a===void 0||!O(e,t))return;const l=a%n(t);r.attr("data-color-id",`color-${l}`)},"stampColorSlot");export{n as a,O as i,C as n,_ as o,s as r,T as s,u as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=Object.defineProperty;var i=(c,e)=>t(c,"name",{value:e,configurable:!0});import{n as o}from"./chunk-Y2CYZVJY-OvsAdhaO.js";function l(c,e){c.accDescr&&e.setAccDescription?.(c.accDescr),c.accTitle&&e.setAccTitle?.(c.accTitle),c.title&&e.setDiagramTitle?.(c.title)}i(l,"populateCommonDb");o(l,"populateCommonDb");export{l as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as a}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as w}from"./src-DYjgETqR.js";import{c as x}from"./chunk-VPRB5NB3-BNz5CtBn.js";var l=a((t,e,i,r)=>{t.attr("class",i);const{width:o,height:h,x:c,y:s}=m(t,e);x(t,h,o,r);const n=u(c,s,o,h,e);t.attr("viewBox",n),w.debug(`viewBox configured: ${n} with padding: ${e}`)},"setupViewPortForSVG"),m=a((t,e)=>{const i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+e*2,height:i.height+e*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),u=a((t,e,i,r,o)=>`${t-o} ${e-o} ${i} ${r}`,"createViewBox");export{l as t};
|