@microvac/ui 0.1.0-rc.14 → 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.
Files changed (280) hide show
  1. package/dist/assets/{ActiveAgentsPanel-C9AP9hJu.js → ActiveAgentsPanel-BEx06tMt.js} +1 -1
  2. package/dist/assets/{AdapterManager-CmxTUKJH.js → AdapterManager-3kEEQWFJ.js} +1 -1
  3. package/dist/assets/{AdvancedToolsRoute-CXsQnTei.js → AdvancedToolsRoute-CgS6B-oh.js} +1 -1
  4. package/dist/assets/{AgentActionButtons-DWq2OuVK.js → AgentActionButtons-Cz3jCEd7.js} +1 -1
  5. package/dist/assets/{AgentAdvancedTab-dhBDxF-H.js → AgentAdvancedTab-BG6ZIAuN.js} +1 -1
  6. package/dist/assets/{AgentBulkSettingsSheet-DYT4ovDg.js → AgentBulkSettingsSheet-BrrbvspS.js} +1 -1
  7. package/dist/assets/{AgentChat-r0TPOfPK.js → AgentChat-Dw9iXD6H.js} +1 -1
  8. package/dist/assets/{AgentDetailPage-Bc_okBuS.js → AgentDetailPage-CuVIHv_q.js} +3 -3
  9. package/dist/assets/{AgentIdentityChip-CB2NBXkZ.js → AgentIdentityChip-BrVCcuHQ.js} +1 -1
  10. package/dist/assets/{AgentRosterFilters-b7qMLv8-.js → AgentRosterFilters-GQ2bdXfW.js} +2 -2
  11. package/dist/assets/{Agents-BsvXy3pZ.js → Agents-clrVQnvc.js} +2 -2
  12. package/dist/assets/{Agents.production-BeOZmzaF.js → Agents.production-DTopo7XB.js} +2 -2
  13. package/dist/assets/{AnimatedDialogContent-CWshmxP2.js → AnimatedDialogContent-CDLfw-dJ.js} +1 -1
  14. package/dist/assets/{AppDetail-DbqENTF_.js → AppDetail-BcWBg5yW.js} +1 -1
  15. package/dist/assets/{AppNotConnected-BhnCqL0F.js → AppNotConnected-NgfyHZ4L.js} +1 -1
  16. package/dist/assets/{ApprovalDetail-B2KiYLTj.js → ApprovalDetail-Dm_1V4tC.js} +1 -1
  17. package/dist/assets/{Approvals-j-wRmqKj.js → Approvals-i5AB3JPj.js} +1 -1
  18. package/dist/assets/{AppsConnect-CcPVEZ0C.js → AppsConnect-D660Tpuo.js} +1 -1
  19. package/dist/assets/{AppsReview-B8eWvKkS.js → AppsReview-DdTqOisY.js} +1 -1
  20. package/dist/assets/{ArtifactEmptyGraphic-5mdkS5jj.js → ArtifactEmptyGraphic-DzxCruYA.js} +1 -1
  21. package/dist/assets/{Artifacts-Bz7Oo6VX.js → Artifacts-CkXBz6nh.js} +1 -1
  22. package/dist/assets/{AssigneePickerInner-DdpF7hck.js → AssigneePickerInner-BNjyABBe.js} +1 -1
  23. package/dist/assets/{AssistantConnection-BpaaJDc_.js → AssistantConnection-CNF6mDmO.js} +1 -1
  24. package/dist/assets/{AttentionInlineVerbs-DlPQVCO-.js → AttentionInlineVerbs-BiyZ1ekZ.js} +1 -1
  25. package/dist/assets/{AttentionQueueRow-BC6ezctS.js → AttentionQueueRow-Bh0dKHpF.js} +1 -1
  26. package/dist/assets/{AuditHub-BVP7LKL9.js → AuditHub-BK848cb4.js} +1 -1
  27. package/dist/assets/{AuditRuns-DqizHgX1.js → AuditRuns-CUdlbP7S.js} +1 -1
  28. package/dist/assets/{Auth-DOF0snjp.js → Auth-DDqxm5gD.js} +1 -1
  29. package/dist/assets/{BoardChat-BYAbDtfd.js → BoardChat-fvKqk0R7.js} +1 -1
  30. package/dist/assets/{BoardClaim-7y41Pr8e.js → BoardClaim-BEC5BZfz.js} +1 -1
  31. package/dist/assets/{BootstrapSetupUxLab-BftH1vOv.js → BootstrapSetupUxLab-CXzErrin.js} +1 -1
  32. package/dist/assets/{Browse-Ck01W1Yl.js → Browse-DoovSMuF.js} +1 -1
  33. package/dist/assets/{BudgetPolicyCard-CKhrzfgy.js → BudgetPolicyCard-BYMlczCq.js} +1 -1
  34. package/dist/assets/{CaseDetail-qlXKJ66D.js → CaseDetail-UMAcSH_x.js} +1 -1
  35. package/dist/assets/{CaseStatus-B3RiZVDH.js → CaseStatus-BI0aMl9l.js} +1 -1
  36. package/dist/assets/{Cases-CFV3V-5X.js → Cases-CMTkGghU.js} +1 -1
  37. package/dist/assets/{ChatEndpointDetail-7Hi5TJNt.js → ChatEndpointDetail-CocNEInH.js} +1 -1
  38. package/dist/assets/{ChatEndpointSetup-CtwgH6sg.js → ChatEndpointSetup-Cyi2tI9K.js} +1 -1
  39. package/dist/assets/{ChatIdentityConfirm-CXjksBwX.js → ChatIdentityConfirm-Ba3JuTX1.js} +1 -1
  40. package/dist/assets/{CliAuth-KVjrGMfZ.js → CliAuth-D2jnueGH.js} +1 -1
  41. package/dist/assets/{Companies-oeJem3De.js → Companies-K75I9dJs.js} +1 -1
  42. package/dist/assets/{CompanyAccess-vWT6G-n_.js → CompanyAccess-Cw6nLUhE.js} +1 -1
  43. package/dist/assets/{CompanyActivity-zOzzeN1B.js → CompanyActivity-BsgmVpWS.js} +1 -1
  44. package/dist/assets/CompanyActivity.production-w-KGxvo6.js +1 -0
  45. package/dist/assets/{CompanyConnections-llSEaVa2.js → CompanyConnections-yRPYSdm7.js} +1 -1
  46. package/dist/assets/{CompanyEnvironments-DNyyGC_S.js → CompanyEnvironments-BA7kWdOJ.js} +1 -1
  47. package/dist/assets/{CompanyExport-CFa-F8Es.js → CompanyExport-DfsK4b9c.js} +1 -1
  48. package/dist/assets/{CompanyImport-DG6qwQ8F.js → CompanyImport-DJHAsmSF.js} +1 -1
  49. package/dist/assets/{CompanySettings-Dv5Z3ZQi.js → CompanySettings-DwzHGXec.js} +1 -1
  50. package/dist/assets/{CompanySettingsPluginPage-CZk1d_0d.js → CompanySettingsPluginPage-Bpa81PF3.js} +1 -1
  51. package/dist/assets/{CompanySkills-CdzWhJfQ.js → CompanySkills-eTqgbqQN.js} +1 -1
  52. package/dist/assets/{CompanySkills.production-IoCRW5FQ.js → CompanySkills.production-CQSWfH0r.js} +1 -1
  53. package/dist/assets/{ConfigureBuiltInAgentModal-BwW7XQ1O.js → ConfigureBuiltInAgentModal-DgeD7t_i.js} +1 -1
  54. package/dist/assets/{CopyableGatewayUrl-PTn061ft.js → CopyableGatewayUrl-B6K3rOal.js} +1 -1
  55. package/dist/assets/{CordisPluginSettings-C_BeeGEc.js → CordisPluginSettings-DD3AnD2G.js} +1 -1
  56. package/dist/assets/{Costs-DhuNxwSj.js → Costs-orBM8T-a.js} +1 -1
  57. package/dist/assets/{CrossIssueCollaborationUxLab-ZaAXq46r.js → CrossIssueCollaborationUxLab-Bv9y9-NE.js} +1 -1
  58. package/dist/assets/{Dashboard-BaDnqiKo.js → Dashboard-CrSBNKX1.js} +1 -1
  59. package/dist/assets/{DashboardLive-D-Ed7osd.js → DashboardLive-Cg8C9RiS.js} +1 -1
  60. package/dist/assets/{DecisionDateChips-D3pl_mLn.js → DecisionDateChips-BLZKZH71.js} +1 -1
  61. package/dist/assets/{DecisionHistoryPanel-D5MzyrOh.js → DecisionHistoryPanel-yK-CP7Qg.js} +1 -1
  62. package/dist/assets/{DecisionQueuePage-D3UZ9oRk.js → DecisionQueuePage-BKXbERai.js} +1 -1
  63. package/dist/assets/{DesignGuide-COTo7ICj.js → DesignGuide-2FswNsXz.js} +1 -1
  64. package/dist/assets/{DesignSandboxTaskThread-CMeCSQid.js → DesignSandboxTaskThread-CGU--FXR.js} +1 -1
  65. package/dist/assets/{EmailConnectionAccess-kCL7obSr.js → EmailConnectionAccess-CZ5QRKyg.js} +1 -1
  66. package/dist/assets/{EmailEndpointSetup-BGrksR_u.js → EmailEndpointSetup-BI2vsd8Y.js} +1 -1
  67. package/dist/assets/{EnforcementBanner-_Eb_nK3M.js → EnforcementBanner-B-iX466h.js} +1 -1
  68. package/dist/assets/{EntityRow-gpsOgEtu.js → EntityRow-BsICt6pd.js} +1 -1
  69. package/dist/assets/{ExecutionWorkspaceDetail-DwGkH6d3.js → ExecutionWorkspaceDetail-CMqR9puh.js} +1 -1
  70. package/dist/assets/{ExternalAgentInviteDialog-CGid6pM9.js → ExternalAgentInviteDialog-De30ZrLP.js} +1 -1
  71. package/dist/assets/{FilterBar-1D-VhrvG.js → FilterBar-rCmsTtG4.js} +1 -1
  72. package/dist/assets/{FolderControls-CQ6kef3c.js → FolderControls-CmnB7Ap-.js} +1 -1
  73. package/dist/assets/{GatewayDetail-CCqekM1J.js → GatewayDetail-Duw9pJ10.js} +1 -1
  74. package/dist/assets/{GatewaysList-nFsRcszh.js → GatewaysList-BBhVGhRq.js} +1 -1
  75. package/dist/assets/{GitHubConnectionRecovery-B9sFWJup.js → GitHubConnectionRecovery-6VshLoNV.js} +1 -1
  76. package/dist/assets/{GoalDetail-BQ8y55P-.js → GoalDetail-CahntjlI.js} +1 -1
  77. package/dist/assets/{GoalTree-laRjXp0P.js → GoalTree-CU4GBFCh.js} +1 -1
  78. package/dist/assets/{Goals-Cm14EaeP.js → Goals-CzM2NDFR.js} +1 -1
  79. package/dist/assets/{InstanceAccess-DxQ-Akt_.js → InstanceAccess-CZzkE65W.js} +1 -1
  80. package/dist/assets/{InstanceExperimentalSettings-BxwqbXNw.js → InstanceExperimentalSettings-DWumKtOK.js} +1 -1
  81. package/dist/assets/{InviteLanding-Cf0L_u6s.js → InviteLanding-BIy2z50u.js} +1 -1
  82. package/dist/assets/{IssueChatLongThreadPerf-BfsF6FdF.js → IssueChatLongThreadPerf-D4DJvdOG.js} +1 -1
  83. package/dist/assets/{JoinRequestQueue-BXCdTFG_.js → JoinRequestQueue-C5rauGYm.js} +1 -1
  84. package/dist/assets/{Layout.production-CqzU0qMi.js → Layout.production-BSDWnupa.js} +1 -1
  85. package/dist/assets/{McpConnect-COWnZ9Eb.js → McpConnect-BN8ST0RS.js} +1 -1
  86. package/dist/assets/{MembershipAction-C9i9Sdmi.js → MembershipAction-DTjhGn-L.js} +1 -1
  87. package/dist/assets/{MetricCard-Bwnt3_p3.js → MetricCard-CeL9Pdn5.js} +1 -1
  88. package/dist/assets/{MissingPluginTabPlaceholder-B0Zxv1Kx.js → MissingPluginTabPlaceholder-CbQiSVnZ.js} +1 -1
  89. package/dist/assets/{NewAgent-BIlJ5Dyt.js → NewAgent-BszrNpQk.js} +1 -1
  90. package/dist/assets/{NewAgentDialog-CJdMxxYL.js → NewAgentDialog-U9qAcTzc.js} +1 -1
  91. package/dist/assets/{NewGoalDialog-B8izfKLm.js → NewGoalDialog-DqKbk4-i.js} +1 -1
  92. package/dist/assets/{NewProjectDialog-DXqjTYFK.js → NewProjectDialog-DrlUAF-N.js} +1 -1
  93. package/dist/assets/{OnboardingPrimitives-DHYBqn_0.js → OnboardingPrimitives-BkgPF4Mu.js} +1 -1
  94. package/dist/assets/{OnboardingWizard-DqSfZ13V.js → OnboardingWizard-CMBMcuXv.js} +1 -1
  95. package/dist/assets/{OrgChart.production-DrSFUf7i.js → OrgChart.production-BLczTjRj.js} +1 -1
  96. package/dist/assets/{PaperclipCloudOAuthHandoff-jPUvjJ8q.js → PaperclipCloudOAuthHandoff-BTtF8UPD.js} +1 -1
  97. package/dist/assets/{PluginManager-h3LFPaUq.js → PluginManager-CCcqlfgK.js} +1 -1
  98. package/dist/assets/{PluginPage-E5Im4454.js → PluginPage-B1empV69.js} +1 -1
  99. package/dist/assets/{PluginSettings-BBO0jAgo.js → PluginSettings-DtopaRqR.js} +1 -1
  100. package/dist/assets/{ProfileDetailRoute-CQBD7fms.js → ProfileDetailRoute-BqvVpBZi.js} +1 -1
  101. package/dist/assets/{ProfileSettings-BwnVEHLp.js → ProfileSettings-5__tVfGi.js} +1 -1
  102. package/dist/assets/{ProfileWizardRoute-By_SC6Gn.js → ProfileWizardRoute-vt-MRLuD.js} +1 -1
  103. package/dist/assets/{ProjectDetail-CbiwFBAE.js → ProjectDetail-DJ4zjube.js} +1 -1
  104. package/dist/assets/{ProjectRepositoryInput-DZF9bX4E.js → ProjectRepositoryInput-BJcnj3At.js} +1 -1
  105. package/dist/assets/{ProjectWorkspaceDetail-DPsl_4bD.js → ProjectWorkspaceDetail-DEAO3q6v.js} +1 -1
  106. package/dist/assets/{ProjectWorkspacesContent-COH4dOWK.js → ProjectWorkspacesContent-CZvO7p0i.js} +1 -1
  107. package/dist/assets/{Projects-Ch9Qu7sn.js → Projects-Dm7-zXUH.js} +1 -1
  108. package/dist/assets/{QuotaBar-DIFOT9Uh.js → QuotaBar-Drp3CaxX.js} +1 -1
  109. package/dist/assets/{RepositoryEditor-DHB1bqId.js → RepositoryEditor-BT_VAkJu.js} +1 -1
  110. package/dist/assets/{Responsibilities-C5O0JXXG.js → Responsibilities-DbUEtGZu.js} +1 -1
  111. package/dist/assets/{ResponsibilityDetail-D6NpZpkm.js → ResponsibilityDetail--S8_GOkb.js} +1 -1
  112. package/dist/assets/{ResponsibleUserDenialUxLab-CFrIWYwe.js → ResponsibleUserDenialUxLab-1PB3JNG0.js} +1 -1
  113. package/dist/assets/{ReviewQueueCard-BPC4Lm67.js → ReviewQueueCard-B8w9aXKU.js} +1 -1
  114. package/dist/assets/{RoutineAuditActivity-sKyzMajz.js → RoutineAuditActivity-BCo7pYe5.js} +1 -1
  115. package/dist/assets/{RoutineDetail-CG8HF5fp.js → RoutineDetail-C9Dwn5G9.js} +1 -1
  116. package/dist/assets/{RoutineRunVariablesDialog-CKh3CmLD.js → RoutineRunVariablesDialog-Baomcbe3.js} +1 -1
  117. package/dist/assets/{Routines-tF2qfUKo.js → Routines-Dkv4gJno.js} +1 -1
  118. package/dist/assets/{Routines.production-BTyj1Ljr.js → Routines.production-Cs2Y-lpt.js} +1 -1
  119. package/dist/assets/{RoutinesToolbar-CvUFVCGN.js → RoutinesToolbar-BNKfCrTo.js} +1 -1
  120. package/dist/assets/{Search-Z9D0NuS1.js → Search-CVx4cl2o.js} +1 -1
  121. package/dist/assets/{Secrets-DgmbLOJK.js → Secrets-C2qv2HKZ.js} +1 -1
  122. package/dist/assets/{SkillBinaryFile-F3_9qcaM.js → SkillBinaryFile-DDkhLlfC.js} +1 -1
  123. package/dist/assets/{SkillCardIcon-CXHUCMej.js → SkillCardIcon-Cp_hws0N.js} +1 -1
  124. package/dist/assets/{SkillFolderTree-CB3lrTIE.js → SkillFolderTree-Cv0CmfYx.js} +1 -1
  125. package/dist/assets/{SkillSourceTree-BbuciCo6.js → SkillSourceTree-DmjlUswf.js} +1 -1
  126. package/dist/assets/{SkillSources-Dlo6Cew3.js → SkillSources-nmlYypUU.js} +1 -1
  127. package/dist/assets/{SkillStudio-ZO-Nf7eI.js → SkillStudio-BK3y_3zr.js} +1 -1
  128. package/dist/assets/{SkillsNavigationTabs-B9Iqnlqt.js → SkillsNavigationTabs-DRwMP1eu.js} +1 -1
  129. package/dist/assets/{SpekoPhoneCallback-C4VnMiZh.js → SpekoPhoneCallback-Cqi7AIyH.js} +1 -1
  130. package/dist/assets/{SpekoProviderSetup-I4evPZb3.js → SpekoProviderSetup-CJI4oXk5.js} +1 -1
  131. package/dist/assets/{StatusCards-D0MVzbsw.js → StatusCards-DKyyY81S.js} +1 -1
  132. package/dist/assets/{SummarySlotCard-DUXgZPxG.js → SummarySlotCard-f3RomdZS.js} +1 -1
  133. package/dist/assets/{TailscaleConnector-CMhT73gj.js → TailscaleConnector-yQWLR1Ra.js} +1 -1
  134. package/dist/assets/{TaskChatLab-D9-KAE-7.js → TaskChatLab-Dsr7eyj4.js} +1 -1
  135. package/dist/assets/{TaskSummaryList-CUxieFNe.js → TaskSummaryList-eFDfK_QH.js} +1 -1
  136. package/dist/assets/{Timeline-BNMoRbtK.js → Timeline-BWA9dyk6.js} +1 -1
  137. package/dist/assets/{ToolsAdminGate-CEr0zy2T.js → ToolsAdminGate-DpBg30hQ.js} +1 -1
  138. package/dist/assets/{TrustPresetSection-B9YXZtkh.js → TrustPresetSection-DtWjK9Kp.js} +1 -1
  139. package/dist/assets/{UserProfile-D-tnW96X.js → UserProfile-C66UI5xx.js} +1 -1
  140. package/dist/assets/{WebhookUrlWarning-Ba_DixKh.js → WebhookUrlWarning-CDygVnDH.js} +1 -1
  141. package/dist/assets/{WhatNeedsMe-B-Jzj8_M.js → WhatNeedsMe-BQ82RHus.js} +1 -1
  142. package/dist/assets/{Workspaces-BqhDI_Bl.js → Workspaces-DrjJes30.js} +1 -1
  143. package/dist/assets/{abnfDiagram-YUKMZFIV-Bn9P-nUW.js → abnfDiagram-YUKMZFIV-Crkksu2D.js} +1 -1
  144. package/dist/assets/{architecture-WOLXFQ4H-V1ldsZlt.js → architecture-WOLXFQ4H-bHU8FW0c.js} +1 -1
  145. package/dist/assets/{architectureDiagram-47P4ROYG-BkYxt-Gc.js → architectureDiagram-47P4ROYG-Bj5Styf9.js} +1 -1
  146. package/dist/assets/{arrow-down-left-o81ENfeW.js → arrow-down-left-Ck9VQyqQ.js} +1 -1
  147. package/dist/assets/{blockDiagram-E7TT5TSB-BO7pPYbp.js → blockDiagram-E7TT5TSB-OeHpNCQ-.js} +1 -1
  148. package/dist/assets/{budgets-0Dw6TH1A.js → budgets-CAWPqcn4.js} +1 -1
  149. package/dist/assets/{building-complex-DciZTnys.js → building-complex-Dxiyk_pH.js} +1 -1
  150. package/dist/assets/{c4Diagram-CRA5TL53-D4EpmmzV.js → c4Diagram-CRA5TL53-QbK5p76P.js} +1 -1
  151. package/dist/assets/channel-BSmZkKA8.js +1 -0
  152. package/dist/assets/{chat-channels-DWyry-9M.js → chat-channels-CzTZV2fr.js} +1 -1
  153. package/dist/assets/{chunk-2BW5OAIV-DFXIyCJy.js → chunk-2BW5OAIV-Ckr4HfBO.js} +1 -1
  154. package/dist/assets/{chunk-3YJQHVM4-Dj5wEKIw.js → chunk-3YJQHVM4-C_uoPpLR.js} +1 -1
  155. package/dist/assets/{chunk-4EA7E6EY-5XiUVgzK.js → chunk-4EA7E6EY-BeMEfIRS.js} +1 -1
  156. package/dist/assets/{chunk-7TKQ45FW-D0opKcsy.js → chunk-7TKQ45FW-DiwqWHvN.js} +1 -1
  157. package/dist/assets/{chunk-AW2ZBBNX-DnjsTe04.js → chunk-AW2ZBBNX-Cf57K3PO.js} +1 -1
  158. package/dist/assets/{chunk-DBDB3WZW-DNqSQPZ0.js → chunk-DBDB3WZW-B2qouVQO.js} +1 -1
  159. package/dist/assets/{chunk-E2ZNV5FY-cjSf_BTz.js → chunk-E2ZNV5FY-DG8wQ_NS.js} +1 -1
  160. package/dist/assets/{chunk-EU5HNXII-CZYBiaSw.js → chunk-EU5HNXII-cxRrXRGV.js} +1 -1
  161. package/dist/assets/{chunk-FVRAUYC3-DSc0-wJA.js → chunk-FVRAUYC3-Dizswk0V.js} +1 -1
  162. package/dist/assets/{chunk-HJ2JQQFS-MXK0gYSP.js → chunk-HJ2JQQFS-DL4lnpSv.js} +1 -1
  163. package/dist/assets/{chunk-HTAEGDNF-BjDZm_5k.js → chunk-HTAEGDNF-Zxjdb6kj.js} +1 -1
  164. package/dist/assets/{chunk-KQW6MTUR-Bfj0tDmO.js → chunk-KQW6MTUR-BsVaJdnu.js} +1 -1
  165. package/dist/assets/{chunk-NTY3LDVX-Bpz5TkVb.js → chunk-NTY3LDVX-DyT9N5sM.js} +1 -1
  166. package/dist/assets/{chunk-VPRB5NB3-CfeHjtbb.js → chunk-VPRB5NB3-BNz5CtBn.js} +1 -1
  167. package/dist/assets/{chunk-XC4XBNZT-FBCWmi6K.js → chunk-XC4XBNZT-CCgIhjYS.js} +1 -1
  168. package/dist/assets/{circle-slash-DqKFFqfb.js → circle-slash-uNv_ha0X.js} +1 -1
  169. package/dist/assets/{classDiagram-v2-K4WV4PDN-DbC_J0kK.js → classDiagram-v2-K4WV4PDN-Cdh3CEl4.js} +1 -1
  170. package/dist/assets/{coins-BztUbqyl.js → coins-BDAh8hDQ.js} +1 -1
  171. package/dist/assets/{collections-BxrcELwt.js → collections-B58p51lw.js} +1 -1
  172. package/dist/assets/{connection-owner-D-ikSHyR.js → connection-owner-D8fNrFqC.js} +1 -1
  173. package/dist/assets/{cynefin-EF2NZ3EQ-COwSJ4qP.js → cynefin-EF2NZ3EQ-BkwhfqJ0.js} +1 -1
  174. package/dist/assets/{cynefinDiagram-3GCD6N5R-diaEJq9Y.js → cynefinDiagram-3GCD6N5R-DuGb_wq2.js} +1 -1
  175. package/dist/assets/{dagre-W4DXFKR2-BPAMRuIj.js → dagre-W4DXFKR2-Bxq_Mhia.js} +1 -1
  176. package/dist/assets/{diagram-2UJZ2QOL-BvRnO1Id.js → diagram-2UJZ2QOL-B-P_hrXV.js} +1 -1
  177. package/dist/assets/{diagram-OVF4WLC6-CDgBeD0m.js → diagram-OVF4WLC6-Ds0BqQWH.js} +1 -1
  178. package/dist/assets/{diagram-PFPMY2P6-DAw9lREG.js → diagram-PFPMY2P6-Dpqb2-Cb.js} +1 -1
  179. package/dist/assets/{diagram-UMYRVEAY-ZQqQn22t.js → diagram-UMYRVEAY-BJSoxjiu.js} +1 -1
  180. package/dist/assets/{diagram-YEKJPTXX-CoJtGgWs.js → diagram-YEKJPTXX-BxaG_9tT.js} +1 -1
  181. package/dist/assets/{diagram-ZIFT7M5P-qW_Zn_bO.js → diagram-ZIFT7M5P-6acvVOtc.js} +1 -1
  182. package/dist/assets/{dist-B2E6oBK1.js → dist-0EWXio4m.js} +1 -1
  183. package/dist/assets/{dist-IcdxEhjC.js → dist-BGvZP_Cl.js} +1 -1
  184. package/dist/assets/{dist-DXjkgaZX.js → dist-BZ7AbEhN.js} +1 -1
  185. package/dist/assets/{dist-_EtfntKJ.js → dist-BlosHr86.js} +1 -1
  186. package/dist/assets/{dist-DylHAy-6.js → dist-Bmr4uhSk.js} +1 -1
  187. package/dist/assets/{dist-DML0cJH3.js → dist-C6yMfMNS.js} +1 -1
  188. package/dist/assets/{dist-Dl94YqeS.js → dist-CMZQedYl.js} +1 -1
  189. package/dist/assets/{dist-DKyBHaH2.js → dist-C_N_-eaT.js} +1 -1
  190. package/dist/assets/{dist-CvRpZH53.js → dist-CaUbG4Hl.js} +1 -1
  191. package/dist/assets/{dist-ptDa9fKh.js → dist-Cn7-nxjU.js} +1 -1
  192. package/dist/assets/{dist-CG-phytt.js → dist-Cnj95_pX.js} +1 -1
  193. package/dist/assets/{dist-DbXGl-wj.js → dist-D9DR7k9k.js} +1 -1
  194. package/dist/assets/{dist-CjRqeLFz.js → dist-DIwsVdS2.js} +1 -1
  195. package/dist/assets/{dist-BCJybC91.js → dist-DVE0lLId.js} +1 -1
  196. package/dist/assets/{dist-CPgRB-NQ.js → dist-DkAPL4CQ.js} +1 -1
  197. package/dist/assets/{dist-CeSzCyeG.js → dist-Dl6N3kpQ.js} +1 -1
  198. package/dist/assets/{dist-DZruZxAk.js → dist-DmBvXBzK.js} +1 -1
  199. package/dist/assets/{dist-CdmdXwCZ.js → dist-DpgXK0aZ.js} +1 -1
  200. package/dist/assets/{dist-CYRzGbSY.js → dist-gMRyU9GJ.js} +1 -1
  201. package/dist/assets/{dist-CG6fC1Db.js → dist-jQQX2kOU.js} +1 -1
  202. package/dist/assets/{dist-DZIxMHOT.js → dist-lUaUoFTq.js} +1 -1
  203. package/dist/assets/{dist-CuwPDbnL.js → dist-qw1ZF2vD.js} +1 -1
  204. package/dist/assets/{dist-B6Qde8KJ.js → dist-rH4qrNAn.js} +1 -1
  205. package/dist/assets/{ebnfDiagram-VR2GEFS7-DA4UvKXV.js → ebnfDiagram-VR2GEFS7-Ytj3Z5qC.js} +1 -1
  206. package/dist/assets/{elk-IJKZMXRS-CM74d3mJ.js → elk-IJKZMXRS-CJurNqqK.js} +1 -1
  207. package/dist/assets/{erDiagram-O2IAPWRE-d869V0qL.js → erDiagram-O2IAPWRE-hyXckW2d.js} +1 -1
  208. package/dist/assets/{eventmodeling-K75KTNOO-C-oz_eyI.js → eventmodeling-K75KTNOO-D3xQujrh.js} +1 -1
  209. package/dist/assets/flowDiagram-OXPTDLAJ-D4ojBTuY.js +1 -0
  210. package/dist/assets/{folder-plus-CxWXoYCi.js → folder-plus-BJZSMzuj.js} +1 -1
  211. package/dist/assets/{ganttDiagram-R7TSEDQI-BBul4Kpm.js → ganttDiagram-R7TSEDQI-C8U_ITl4.js} +1 -1
  212. package/dist/assets/{gitGraph-VSP46ZUC-BriEZgAq.js → gitGraph-VSP46ZUC-CDeq3yKT.js} +1 -1
  213. package/dist/assets/{gitGraphDiagram-XJZIOB7I-I12rg8s1.js → gitGraphDiagram-XJZIOB7I-CST3EWE9.js} +1 -1
  214. package/dist/assets/{goals-CvMWzjH4.js → goals-BNJZ4nzg.js} +1 -1
  215. package/dist/assets/{index-Bt31d8ga.js → index-BJtnP7H1.js} +8 -8
  216. package/dist/assets/{info-OHQRW6UA-CxrcGiem.js → info-OHQRW6UA-CPvTWk7J.js} +1 -1
  217. package/dist/assets/{infoDiagram-5W2HQ5XZ-4Sm0LiOu.js → infoDiagram-5W2HQ5XZ-BPUiNdxI.js} +1 -1
  218. package/dist/assets/{ishikawaDiagram-K3B6WC7H-CKXvKV-s.js → ishikawaDiagram-K3B6WC7H-D5Z3rmaA.js} +1 -1
  219. package/dist/assets/{issue-detail-4PCbYpdv.js → issue-detail-CZfjXs0M.js} +3 -3
  220. package/dist/assets/{journeyDiagram-COXZFDF6-BHsrZLvQ.js → journeyDiagram-COXZFDF6-CEkwEYdR.js} +1 -1
  221. package/dist/assets/{kanban-definition-P3RFRI5V-8HhnIs_l.js → kanban-definition-P3RFRI5V-8h_R6Qjq.js} +1 -1
  222. package/dist/assets/{line-rrKrpB-b.js → line-Ljt_vfsb.js} +1 -1
  223. package/dist/assets/{link-BecLzmfo.js → link-DvgFK0mz.js} +1 -1
  224. package/dist/assets/{list-filter-BC3D4IoX.js → list-filter-BR4_dvwm.js} +1 -1
  225. package/dist/assets/{log-in-BJCGwGGT.js → log-in-Dvx9-FMC.js} +1 -1
  226. package/dist/assets/{mcpSkills-DRs3pGKn.js → mcpSkills-76szK_k1.js} +1 -1
  227. package/dist/assets/{mermaid-parser.core-DmG0b4S0.js → mermaid-parser.core-BjFu937m.js} +3 -3
  228. package/dist/assets/{mermaid.core-D1vILTuF.js → mermaid.core-B0t95EIS.js} +4 -4
  229. package/dist/assets/{mindmap-definition-LZFPQGKD-DIMpL0de.js → mindmap-definition-LZFPQGKD-TVnHYUR4.js} +1 -1
  230. package/dist/assets/{packet-JDAUHWVQ-BnbYht3G.js → packet-JDAUHWVQ-aNGiRWLy.js} +1 -1
  231. package/dist/assets/{pegDiagram-BGZESJAR-BUjtJVjT.js → pegDiagram-BGZESJAR-DDadxqWQ.js} +1 -1
  232. package/dist/assets/{pie-XZMESJXO-CM4VXUb-.js → pie-XZMESJXO-CydFP1hd.js} +1 -1
  233. package/dist/assets/{pieDiagram-CAPJLFHJ-B3v8ryvG.js → pieDiagram-CAPJLFHJ-KhdUDwDS.js} +1 -1
  234. package/dist/assets/{power-0mw59G-l.js → power-sYV-WuqQ.js} +1 -1
  235. package/dist/assets/{profile-summary-B5rPf8v-.js → profile-summary-D4LPX-Dv.js} +1 -1
  236. package/dist/assets/{quadrantDiagram-GDMTTRAM-Cv-dS2Rn.js → quadrantDiagram-GDMTTRAM-B1X8K2Fs.js} +1 -1
  237. package/dist/assets/{radar-ABXABTNO-v6yZj4Fk.js → radar-ABXABTNO-BqodkLpx.js} +1 -1
  238. package/dist/assets/{railroad-I3PHUGI6-D-U8Cs0m.js → railroad-I3PHUGI6-HmRKXDJj.js} +1 -1
  239. package/dist/assets/{railroad-abnf-LNEFI6M7-Dw3fkrVy.js → railroad-abnf-LNEFI6M7-CkBttaHp.js} +1 -1
  240. package/dist/assets/{railroad-ebnf-DWYD2UWJ-_ln-e3Tx.js → railroad-ebnf-DWYD2UWJ-C6DBawFA.js} +1 -1
  241. package/dist/assets/{railroad-peg-JR7BVNR7-Bf8u1-RZ.js → railroad-peg-JR7BVNR7-Z9df3u5o.js} +1 -1
  242. package/dist/assets/{railroadDiagram-SM67HX2B-Drr5UhQI.js → railroadDiagram-SM67HX2B-2vDUUppL.js} +1 -1
  243. package/dist/assets/{requirementDiagram-X7JNWC4A-D5ef6_ac.js → requirementDiagram-X7JNWC4A-DAuP39Hc.js} +1 -1
  244. package/dist/assets/{sankeyDiagram-UM26HJRW-DncJWIz_.js → sankeyDiagram-UM26HJRW-ByS54QZK.js} +1 -1
  245. package/dist/assets/{saved-permissions-CizWg8-P.js → saved-permissions-CPiYtxkZ.js} +1 -1
  246. package/dist/assets/{scroll-text-Ck6HB7eM.js → scroll-text-CVSt6aO2.js} +1 -1
  247. package/dist/assets/{sdk-CWyUlmcn.js → sdk-vrG4HtB4.js} +1 -1
  248. package/dist/assets/{search-DkTqg7ab.js → search-CG-QtPVH.js} +1 -1
  249. package/dist/assets/{send-CYVi50sh.js → send-CH-0xdLm.js} +1 -1
  250. package/dist/assets/{sequenceDiagram-ZO4K6R2Y-Cs0nGCCg.js → sequenceDiagram-ZO4K6R2Y-DvWxKTLK.js} +1 -1
  251. package/dist/assets/{shared-CIwISWMj.js → shared-D37zfckm.js} +1 -1
  252. package/dist/assets/{smoke-lab-matrix-A7ubFpfk.js → smoke-lab-matrix-C5gR81E3.js} +1 -1
  253. package/dist/assets/{stateDiagram-v2-TBUQTH76-Dpp3m5Wq.js → stateDiagram-v2-TBUQTH76-DtiiZIXq.js} +1 -1
  254. package/dist/assets/{swimlanes-N4OXWK64-NXVbx1w8.js → swimlanes-N4OXWK64-BWSEtCbX.js} +1 -1
  255. package/dist/assets/swimlanesDiagram-K3J5GTZL-Bl_9DvHU.js +8 -0
  256. package/dist/assets/{timeline-definition-YOQAKGHF-DqI-Mv2e.js → timeline-definition-YOQAKGHF-U4QcniMh.js} +1 -1
  257. package/dist/assets/{treeView-D4JQ5SDB-CZBlE7ya.js → treeView-D4JQ5SDB-B2tdrtsj.js} +1 -1
  258. package/dist/assets/{treemap-SAJKECNS-BlueznID.js → treemap-SAJKECNS-DodN8j4n.js} +1 -1
  259. package/dist/assets/{useAgentlessOnboardingAutoOpen-CnFwEQ-H.js → useAgentlessOnboardingAutoOpen-DSWW7Juw.js} +1 -1
  260. package/dist/assets/{useAuthorizationWindow-DnFQsiFj.js → useAuthorizationWindow-tg3aKEU7.js} +1 -1
  261. package/dist/assets/{useDateRange-9EbqkWXy.js → useDateRange-CnZQr2KO.js} +1 -1
  262. package/dist/assets/{useFastResponsesEnabled-D8dunm4j.js → useFastResponsesEnabled-B8tHSJ1y.js} +1 -1
  263. package/dist/assets/{usePageView-BiX5i8ck.js → usePageView-CtFMs34g.js} +1 -1
  264. package/dist/assets/{useProfilesData-0VYQ4lAT.js → useProfilesData-CWHdMSuL.js} +1 -1
  265. package/dist/assets/{useReviewCount-WBWxwKI3.js → useReviewCount-W_bCZ2Hz.js} +1 -1
  266. package/dist/assets/{useRoutineFormOptions-DnX5DBn1.js → useRoutineFormOptions-CCLMmVSF.js} +1 -1
  267. package/dist/assets/{useSummaryDraftStream-DPQRvaXT.js → useSummaryDraftStream-NVNYNt72.js} +1 -1
  268. package/dist/assets/{useTailscaleConnections-BDff6dWx.js → useTailscaleConnections-Dy52nCY3.js} +1 -1
  269. package/dist/assets/{usecaseDiagram-VIAY4XPW-BSDn8OaJ.js → usecaseDiagram-VIAY4XPW-kEHhqgOj.js} +1 -1
  270. package/dist/assets/{vennDiagram-BLWOH2XV-BBSA9KNN.js → vennDiagram-BLWOH2XV-NPJU0aCU.js} +1 -1
  271. package/dist/assets/{wardley-7MLQ67FV-CsT-rTZ9.js → wardley-7MLQ67FV-bUGKvIPT.js} +1 -1
  272. package/dist/assets/{wardleyDiagram-YMQ3BMBF-BLClsIjw.js → wardleyDiagram-YMQ3BMBF-qtUDHfhb.js} +1 -1
  273. package/dist/assets/{xychartDiagram-TAQBALBS-2x4wB0gq.js → xychartDiagram-TAQBALBS-C-z57aZj.js} +1 -1
  274. package/dist/index.html +4 -4
  275. package/dist/sw.js +1 -1
  276. package/package.json +1 -1
  277. package/dist/assets/CompanyActivity.production-DbaFBsM0.js +0 -1
  278. package/dist/assets/channel-BQh2vFIU.js +0 -1
  279. package/dist/assets/flowDiagram-OXPTDLAJ-Be1xLbJu.js +0 -1
  280. package/dist/assets/swimlanesDiagram-K3J5GTZL-Ct3LnXZt.js +0 -8
@@ -1 +1 @@
1
- import{QT as e}from"./index-Bt31d8ga.js";var o={name:"arrow-down-left",size:24,node:[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]};o.node;var r=e(o);export{r as t};
1
+ import{QT as e}from"./index-BJtnP7H1.js";var o={name:"arrow-down-left",size:24,node:[["path",{d:"M17 7 7 17",key:"15tmo1"}],["path",{d:"M17 17H7V7",key:"1org7z"}]]};o.node;var r=e(o);export{r as t};
@@ -1,4 +1,4 @@
1
- var Ke=Object.defineProperty;var b=(e,r)=>Ke(e,"name",{value:r,configurable:!0});import{n as h}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as k,p as G}from"./src-DYjgETqR.js";import{a as We,at as Ye,b as Le,c as Ve,s as Ue,y as P}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{t as He}from"./channel-BQh2vFIU.js";import{A as Xe,B as Ge,D as je,E as qe,F as Je,G as Ze,H as Qe,I as $e,K as ye,L as et,M as tt,N as st,O as rt,P as it,R as nt,T as at,U as ot,V as lt,W as ct,j as ut,k as ht,u as gt,w as dt,x as pt,y as ft,z as bt}from"./chunk-3YJQHVM4-Dj5wEKIw.js";import"./chunk-HJ2JQQFS-MXK0gYSP.js";import"./chunk-E2ZNV5FY-cjSf_BTz.js";import{t as St}from"./chunk-5VM5RSS4-2H3r6wq0.js";import{t as xt}from"./chunk-DUW6YSOI-slPglwIh.js";import"./chunk-4EA7E6EY-5XiUVgzK.js";import{i as mt,n as Lt,o as yt,r as wt,s as Et}from"./chunk-J5ZVWO5B-ClU583ja.js";import"./chunk-XC4XBNZT-FBCWmi6K.js";import{i as kt,r as we}from"./chunk-DBDB3WZW-DNqSQPZ0.js";import{a as _t,c as Dt,i as Tt,l as Nt}from"./chunk-2BW5OAIV-DFXIyCJy.js";import{t as It}from"./graphlib-DHhK3saS.js";function Ot(e){return Array.isArray(e)}b(Ot,"isArray");function Ct(e){if(pt(e))return e;const r=ye(e);if(!vt(e))return{};if(Ot(e)){const t=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(t.index=e.index,t.input=e.input),t}if(ft(e)){const t=e,o=t.constructor;return new o(t.buffer,t.byteOffset,t.length)}if(r==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(r==="[object DataView]"){const t=e,o=t.buffer,n=t.byteOffset,c=t.byteLength,d=new ArrayBuffer(c),S=new Uint8Array(o,n,c);return new Uint8Array(d).set(S),new DataView(d)}if(r==="[object Boolean]"||r==="[object Number]"||r==="[object String]"){const t=e.constructor,o=new t(e.valueOf());return r==="[object String]"?zt(o,e):ie(o,e),o}if(r==="[object Date]")return new Date(Number(e));if(r==="[object RegExp]"){const t=e,o=new RegExp(t.source,t.flags);return o.lastIndex=t.lastIndex,o}if(r==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(r==="[object Map]"){const t=e,o=new Map;return t.forEach((n,c)=>{o.set(c,n)}),o}if(r==="[object Set]"){const t=e,o=new Set;return t.forEach(n=>{o.add(n)}),o}if(r==="[object Arguments]"){const t=e,o={};return ie(o,t),o.length=t.length,o[Symbol.iterator]=t[Symbol.iterator],o}const l={};return Bt(l,e),ie(l,e),At(l,e),l}b(Ct,"clone");function vt(e){switch(ye(e)){case dt:case qe:case at:case rt:case je:case ht:case Xe:case ut:case it:case tt:case st:case Je:case $e:case et:case nt:case bt:case Ge:case lt:case ct:case Ze:case Qe:case ot:return!0;default:return!1}}b(vt,"isCloneableObject");function ie(e,r){for(const l in r)Object.hasOwn(r,l)&&(e[l]=r[l])}b(ie,"copyOwnProperties");function At(e,r){const l=Object.getOwnPropertySymbols(r);for(let t=0;t<l.length;t++){const o=l[t];Object.prototype.propertyIsEnumerable.call(r,o)&&(e[o]=r[o])}}b(At,"copySymbolProperties");function zt(e,r){const l=r.valueOf().length;for(const t in r)Object.hasOwn(r,t)&&(Number.isNaN(Number(t))||Number(t)>=l)&&(e[t]=r[t])}b(zt,"cloneStringObjectProperties");function Bt(e,r){const l=Object.getPrototypeOf(r);l!==null&&typeof r.constructor=="function"&&Object.setPrototypeOf(e,l)}b(Bt,"copyPrototype");var ae=(function(){var e=h(function(g,i,u,x){for(u=u||{},x=g.length;x--;u[g[x]]=i);return u},"o"),r=[1,15],l=[1,7],t=[1,13],o=[1,14],n=[1,19],c=[1,16],d=[1,17],S=[1,18],y=[8,30],m=[8,10,21,28,29,30,31,39,43,46],f=[1,23],w=[1,24],E=[8,10,15,16,21,28,29,30,31,39,43,46],L=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],_={trace:h(b(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:h(b(function(i,u,x,p,D,s,K){var a=s.length-1;switch(D){case 4:p.getLogger().debug("Rule: separator (NL) ");break;case 5:p.getLogger().debug("Rule: separator (Space) ");break;case 6:p.getLogger().debug("Rule: separator (EOF) ");break;case 7:p.getLogger().debug("Rule: hierarchy: ",s[a-1]),p.setHierarchy(s[a-1]);break;case 8:p.getLogger().debug("Stop NL ");break;case 9:p.getLogger().debug("Stop EOF ");break;case 10:p.getLogger().debug("Stop NL2 ");break;case 11:p.getLogger().debug("Stop EOF2 ");break;case 12:p.getLogger().debug("Rule: statement: ",s[a]),typeof s[a].length=="number"?this.$=s[a]:this.$=[s[a]];break;case 13:p.getLogger().debug("Rule: statement #2: ",s[a-1]),this.$=[s[a-1]].concat(s[a]);break;case 14:p.getLogger().debug("Rule: link: ",s[a],i),this.$={edgeTypeStr:s[a],label:""};break;case 15:p.getLogger().debug("Rule: LABEL link: ",s[a-3],s[a-1],s[a]),this.$={edgeTypeStr:s[a],label:s[a-1]};break;case 18:const F=parseInt(s[a]),Y=p.generateId();this.$={id:Y,type:"space",label:"",width:F,children:[]};break;case 23:p.getLogger().debug("Rule: (nodeStatement link node) ",s[a-2],s[a-1],s[a]," typestr: ",s[a-1].edgeTypeStr);const V=p.edgeStrToEdgeData(s[a-1].edgeTypeStr),Z=p.edgeStrToEdgeStartData(s[a-1].edgeTypeStr),U=p.edgeStrToThickness(s[a-1].edgeTypeStr),Q=p.edgeStrToPattern(s[a-1].edgeTypeStr);this.$=[{id:s[a-2].id,label:s[a-2].label,type:s[a-2].type,directions:s[a-2].directions},{id:s[a-2].id+"-"+s[a].id,start:s[a-2].id,end:s[a].id,label:s[a-1].label,type:"edge",thickness:U,pattern:Q,directions:s[a].directions,arrowTypeEnd:V,arrowTypeStart:Z},{id:s[a].id,label:s[a].label,type:p.typeStr2Type(s[a].typeStr),directions:s[a].directions}];break;case 24:p.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[a-1],s[a]),this.$={id:s[a-1].id,label:s[a-1].label,type:p.typeStr2Type(s[a-1].typeStr),directions:s[a-1].directions,widthInColumns:parseInt(s[a],10)};break;case 25:p.getLogger().debug("Rule: nodeStatement (node) ",s[a]),this.$={id:s[a].id,label:s[a].label,type:p.typeStr2Type(s[a].typeStr),directions:s[a].directions,widthInColumns:1};break;case 26:p.getLogger().debug("APA123",this?this:"na"),p.getLogger().debug("COLUMNS: ",s[a]),this.$={type:"column-setting",columns:s[a]==="auto"?-1:parseInt(s[a])};break;case 27:p.getLogger().debug("Rule: id-block statement : ",s[a-2],s[a-1]),p.generateId(),this.$={...s[a-2],type:"composite",children:s[a-1]};break;case 28:p.getLogger().debug("Rule: blockStatement : ",s[a-2],s[a-1],s[a]);const T=p.generateId();this.$={id:T,type:"composite",label:"",children:s[a-1]};break;case 29:p.getLogger().debug("Rule: node (NODE_ID separator): ",s[a]),this.$={id:s[a]};break;case 30:p.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[a-1],s[a]),this.$={id:s[a-1],label:s[a].label,typeStr:s[a].typeStr,directions:s[a].directions};break;case 31:p.getLogger().debug("Rule: dirList: ",s[a]),this.$=[s[a]];break;case 32:p.getLogger().debug("Rule: dirList: ",s[a-1],s[a]),this.$=[s[a-1]].concat(s[a]);break;case 33:p.getLogger().debug("Rule: nodeShapeNLabel: ",s[a-2],s[a-1],s[a]),this.$={typeStr:s[a-2]+s[a],label:s[a-1]};break;case 34:p.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[a-3],s[a-2]," #3:",s[a-1],s[a]),this.$={typeStr:s[a-3]+s[a],label:s[a-2],directions:s[a-1]};break;case 35:case 36:this.$={type:"classDef",id:s[a-1].trim(),css:s[a].trim()};break;case 37:this.$={type:"applyClass",id:s[a-1].trim(),styleClass:s[a].trim()};break;case 38:this.$={type:"applyStyles",id:s[a-1].trim(),stylesStr:s[a].trim()}}},"anonymous"),"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:r,11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:t,29:o,31:n,39:c,43:d,46:S},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:r,21:l,28:t,29:o,31:n,39:c,43:d,46:S}),e(m,[2,16],{14:22,15:f,16:w}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(E,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:n},{10:r,11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:t,29:o,31:n,39:c,43:d,46:S},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(L,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:n},{31:[2,14]},{17:[1,36]},e(E,[2,24]),{10:r,11:37,13:4,14:22,15:f,16:w,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:t,29:o,31:n,39:c,43:d,46:S},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(L,[2,30]),{18:[1,43]},{18:[1,44]},e(E,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(L,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(L,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:h(b(function(i,u){if(u.recoverable)this.trace(i);else{var x=new Error(i);throw x.hash=u,x}},"parseError"),"parseError"),parse:h(b(function(i){var u=this,x=[0],p=[],D=[null],s=[],K=this.table,a="",F=0,Y=0,V=0,Z=2,U=1,Q=s.slice.call(arguments,1),T=Object.create(this.lexer),B={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(B.yy[$]=this.yy[$]);T.setInput(i,B.yy),B.yy.lexer=T,B.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var ee=T.yylloc;s.push(ee);var Fe=T.options&&T.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(C){x.length=x.length-2*C,D.length=D.length-C,s.length=s.length-C}b(Me,"popStack"),h(Me,"popStack");function fe(){var C=p.pop()||T.lex()||U;return typeof C!="number"&&(C instanceof Array&&(p=C,C=p.pop()),C=u.symbols_[C]||C),C}b(fe,"lex"),h(fe,"lex");for(var I,te,R,O,se,M={},H,z,be,X;;){if(R=x[x.length-1],this.defaultActions[R]?O=this.defaultActions[R]:((I===null||typeof I>"u")&&(I=fe()),O=K[R]&&K[R][I]),typeof O>"u"||!O.length||!O[0]){var re="";X=[];for(H in K[R])this.terminals_[H]&&H>Z&&X.push("'"+this.terminals_[H]+"'");T.showPosition?re="Parse error on line "+(F+1)+`:
1
+ var Ke=Object.defineProperty;var b=(e,r)=>Ke(e,"name",{value:r,configurable:!0});import{n as h}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as k,p as G}from"./src-DYjgETqR.js";import{a as We,at as Ye,b as Le,c as Ve,s as Ue,y as P}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{t as He}from"./channel-BSmZkKA8.js";import{A as Xe,B as Ge,D as je,E as qe,F as Je,G as Ze,H as Qe,I as $e,K as ye,L as et,M as tt,N as st,O as rt,P as it,R as nt,T as at,U as ot,V as lt,W as ct,j as ut,k as ht,u as gt,w as dt,x as pt,y as ft,z as bt}from"./chunk-3YJQHVM4-C_uoPpLR.js";import"./chunk-HJ2JQQFS-DL4lnpSv.js";import"./chunk-E2ZNV5FY-DG8wQ_NS.js";import{t as St}from"./chunk-5VM5RSS4-2H3r6wq0.js";import{t as xt}from"./chunk-DUW6YSOI-slPglwIh.js";import"./chunk-4EA7E6EY-BeMEfIRS.js";import{i as mt,n as Lt,o as yt,r as wt,s as Et}from"./chunk-J5ZVWO5B-ClU583ja.js";import"./chunk-XC4XBNZT-CCgIhjYS.js";import{i as kt,r as we}from"./chunk-DBDB3WZW-B2qouVQO.js";import{a as _t,c as Dt,i as Tt,l as Nt}from"./chunk-2BW5OAIV-Ckr4HfBO.js";import{t as It}from"./graphlib-DHhK3saS.js";function Ot(e){return Array.isArray(e)}b(Ot,"isArray");function Ct(e){if(pt(e))return e;const r=ye(e);if(!vt(e))return{};if(Ot(e)){const t=Array.from(e);return e.length>0&&typeof e[0]=="string"&&Object.hasOwn(e,"index")&&(t.index=e.index,t.input=e.input),t}if(ft(e)){const t=e,o=t.constructor;return new o(t.buffer,t.byteOffset,t.length)}if(r==="[object ArrayBuffer]")return new ArrayBuffer(e.byteLength);if(r==="[object DataView]"){const t=e,o=t.buffer,n=t.byteOffset,c=t.byteLength,d=new ArrayBuffer(c),S=new Uint8Array(o,n,c);return new Uint8Array(d).set(S),new DataView(d)}if(r==="[object Boolean]"||r==="[object Number]"||r==="[object String]"){const t=e.constructor,o=new t(e.valueOf());return r==="[object String]"?zt(o,e):ie(o,e),o}if(r==="[object Date]")return new Date(Number(e));if(r==="[object RegExp]"){const t=e,o=new RegExp(t.source,t.flags);return o.lastIndex=t.lastIndex,o}if(r==="[object Symbol]")return Object(Symbol.prototype.valueOf.call(e));if(r==="[object Map]"){const t=e,o=new Map;return t.forEach((n,c)=>{o.set(c,n)}),o}if(r==="[object Set]"){const t=e,o=new Set;return t.forEach(n=>{o.add(n)}),o}if(r==="[object Arguments]"){const t=e,o={};return ie(o,t),o.length=t.length,o[Symbol.iterator]=t[Symbol.iterator],o}const l={};return Bt(l,e),ie(l,e),At(l,e),l}b(Ct,"clone");function vt(e){switch(ye(e)){case dt:case qe:case at:case rt:case je:case ht:case Xe:case ut:case it:case tt:case st:case Je:case $e:case et:case nt:case bt:case Ge:case lt:case ct:case Ze:case Qe:case ot:return!0;default:return!1}}b(vt,"isCloneableObject");function ie(e,r){for(const l in r)Object.hasOwn(r,l)&&(e[l]=r[l])}b(ie,"copyOwnProperties");function At(e,r){const l=Object.getOwnPropertySymbols(r);for(let t=0;t<l.length;t++){const o=l[t];Object.prototype.propertyIsEnumerable.call(r,o)&&(e[o]=r[o])}}b(At,"copySymbolProperties");function zt(e,r){const l=r.valueOf().length;for(const t in r)Object.hasOwn(r,t)&&(Number.isNaN(Number(t))||Number(t)>=l)&&(e[t]=r[t])}b(zt,"cloneStringObjectProperties");function Bt(e,r){const l=Object.getPrototypeOf(r);l!==null&&typeof r.constructor=="function"&&Object.setPrototypeOf(e,l)}b(Bt,"copyPrototype");var ae=(function(){var e=h(function(g,i,u,x){for(u=u||{},x=g.length;x--;u[g[x]]=i);return u},"o"),r=[1,15],l=[1,7],t=[1,13],o=[1,14],n=[1,19],c=[1,16],d=[1,17],S=[1,18],y=[8,30],m=[8,10,21,28,29,30,31,39,43,46],f=[1,23],w=[1,24],E=[8,10,15,16,21,28,29,30,31,39,43,46],L=[8,10,15,16,21,27,28,29,30,31,39,43,46],N=[1,49],_={trace:h(b(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:h(b(function(i,u,x,p,D,s,K){var a=s.length-1;switch(D){case 4:p.getLogger().debug("Rule: separator (NL) ");break;case 5:p.getLogger().debug("Rule: separator (Space) ");break;case 6:p.getLogger().debug("Rule: separator (EOF) ");break;case 7:p.getLogger().debug("Rule: hierarchy: ",s[a-1]),p.setHierarchy(s[a-1]);break;case 8:p.getLogger().debug("Stop NL ");break;case 9:p.getLogger().debug("Stop EOF ");break;case 10:p.getLogger().debug("Stop NL2 ");break;case 11:p.getLogger().debug("Stop EOF2 ");break;case 12:p.getLogger().debug("Rule: statement: ",s[a]),typeof s[a].length=="number"?this.$=s[a]:this.$=[s[a]];break;case 13:p.getLogger().debug("Rule: statement #2: ",s[a-1]),this.$=[s[a-1]].concat(s[a]);break;case 14:p.getLogger().debug("Rule: link: ",s[a],i),this.$={edgeTypeStr:s[a],label:""};break;case 15:p.getLogger().debug("Rule: LABEL link: ",s[a-3],s[a-1],s[a]),this.$={edgeTypeStr:s[a],label:s[a-1]};break;case 18:const F=parseInt(s[a]),Y=p.generateId();this.$={id:Y,type:"space",label:"",width:F,children:[]};break;case 23:p.getLogger().debug("Rule: (nodeStatement link node) ",s[a-2],s[a-1],s[a]," typestr: ",s[a-1].edgeTypeStr);const V=p.edgeStrToEdgeData(s[a-1].edgeTypeStr),Z=p.edgeStrToEdgeStartData(s[a-1].edgeTypeStr),U=p.edgeStrToThickness(s[a-1].edgeTypeStr),Q=p.edgeStrToPattern(s[a-1].edgeTypeStr);this.$=[{id:s[a-2].id,label:s[a-2].label,type:s[a-2].type,directions:s[a-2].directions},{id:s[a-2].id+"-"+s[a].id,start:s[a-2].id,end:s[a].id,label:s[a-1].label,type:"edge",thickness:U,pattern:Q,directions:s[a].directions,arrowTypeEnd:V,arrowTypeStart:Z},{id:s[a].id,label:s[a].label,type:p.typeStr2Type(s[a].typeStr),directions:s[a].directions}];break;case 24:p.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[a-1],s[a]),this.$={id:s[a-1].id,label:s[a-1].label,type:p.typeStr2Type(s[a-1].typeStr),directions:s[a-1].directions,widthInColumns:parseInt(s[a],10)};break;case 25:p.getLogger().debug("Rule: nodeStatement (node) ",s[a]),this.$={id:s[a].id,label:s[a].label,type:p.typeStr2Type(s[a].typeStr),directions:s[a].directions,widthInColumns:1};break;case 26:p.getLogger().debug("APA123",this?this:"na"),p.getLogger().debug("COLUMNS: ",s[a]),this.$={type:"column-setting",columns:s[a]==="auto"?-1:parseInt(s[a])};break;case 27:p.getLogger().debug("Rule: id-block statement : ",s[a-2],s[a-1]),p.generateId(),this.$={...s[a-2],type:"composite",children:s[a-1]};break;case 28:p.getLogger().debug("Rule: blockStatement : ",s[a-2],s[a-1],s[a]);const T=p.generateId();this.$={id:T,type:"composite",label:"",children:s[a-1]};break;case 29:p.getLogger().debug("Rule: node (NODE_ID separator): ",s[a]),this.$={id:s[a]};break;case 30:p.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[a-1],s[a]),this.$={id:s[a-1],label:s[a].label,typeStr:s[a].typeStr,directions:s[a].directions};break;case 31:p.getLogger().debug("Rule: dirList: ",s[a]),this.$=[s[a]];break;case 32:p.getLogger().debug("Rule: dirList: ",s[a-1],s[a]),this.$=[s[a-1]].concat(s[a]);break;case 33:p.getLogger().debug("Rule: nodeShapeNLabel: ",s[a-2],s[a-1],s[a]),this.$={typeStr:s[a-2]+s[a],label:s[a-1]};break;case 34:p.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[a-3],s[a-2]," #3:",s[a-1],s[a]),this.$={typeStr:s[a-3]+s[a],label:s[a-2],directions:s[a-1]};break;case 35:case 36:this.$={type:"classDef",id:s[a-1].trim(),css:s[a].trim()};break;case 37:this.$={type:"applyClass",id:s[a-1].trim(),styleClass:s[a].trim()};break;case 38:this.$={type:"applyStyles",id:s[a-1].trim(),stylesStr:s[a].trim()}}},"anonymous"),"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:r,11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:t,29:o,31:n,39:c,43:d,46:S},{8:[1,20]},e(y,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:r,21:l,28:t,29:o,31:n,39:c,43:d,46:S}),e(m,[2,16],{14:22,15:f,16:w}),e(m,[2,17]),e(m,[2,18]),e(m,[2,19]),e(m,[2,20]),e(m,[2,21]),e(m,[2,22]),e(E,[2,25],{27:[1,25]}),e(m,[2,26]),{19:26,26:12,31:n},{10:r,11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:t,29:o,31:n,39:c,43:d,46:S},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(L,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(y,[2,13]),{26:35,31:n},{31:[2,14]},{17:[1,36]},e(E,[2,24]),{10:r,11:37,13:4,14:22,15:f,16:w,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:t,29:o,31:n,39:c,43:d,46:S},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(L,[2,30]),{18:[1,43]},{18:[1,44]},e(E,[2,23]),{18:[1,45]},{30:[1,46]},e(m,[2,28]),e(m,[2,35]),e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{36:[1,47]},{33:48,34:N},{15:[1,50]},e(m,[2,27]),e(L,[2,33]),{38:[1,51]},{33:52,34:N,38:[2,31]},{31:[2,15]},e(L,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:h(b(function(i,u){if(u.recoverable)this.trace(i);else{var x=new Error(i);throw x.hash=u,x}},"parseError"),"parseError"),parse:h(b(function(i){var u=this,x=[0],p=[],D=[null],s=[],K=this.table,a="",F=0,Y=0,V=0,Z=2,U=1,Q=s.slice.call(arguments,1),T=Object.create(this.lexer),B={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(B.yy[$]=this.yy[$]);T.setInput(i,B.yy),B.yy.lexer=T,B.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var ee=T.yylloc;s.push(ee);var Fe=T.options&&T.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(C){x.length=x.length-2*C,D.length=D.length-C,s.length=s.length-C}b(Me,"popStack"),h(Me,"popStack");function fe(){var C=p.pop()||T.lex()||U;return typeof C!="number"&&(C instanceof Array&&(p=C,C=p.pop()),C=u.symbols_[C]||C),C}b(fe,"lex"),h(fe,"lex");for(var I,te,R,O,se,M={},H,z,be,X;;){if(R=x[x.length-1],this.defaultActions[R]?O=this.defaultActions[R]:((I===null||typeof I>"u")&&(I=fe()),O=K[R]&&K[R][I]),typeof O>"u"||!O.length||!O[0]){var re="";X=[];for(H in K[R])this.terminals_[H]&&H>Z&&X.push("'"+this.terminals_[H]+"'");T.showPosition?re="Parse error on line "+(F+1)+`:
2
2
  `+T.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[I]||I)+"'":re="Parse error on line "+(F+1)+": Unexpected "+(I==U?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(re,{text:T.match,token:this.terminals_[I]||I,line:T.yylineno,loc:ee,expected:X})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+I);switch(O[0]){case 1:x.push(I),D.push(T.yytext),s.push(T.yylloc),x.push(O[1]),I=null,te?(I=te,te=null):(Y=T.yyleng,a=T.yytext,F=T.yylineno,ee=T.yylloc,V>0&&V--);break;case 2:if(z=this.productions_[O[1]][1],M.$=D[D.length-z],M._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},Fe&&(M._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]]),se=this.performAction.apply(M,[a,Y,F,B.yy,O[1],D,s].concat(Q)),typeof se<"u")return se;z&&(x=x.slice(0,-1*z*2),D=D.slice(0,-1*z),s=s.slice(0,-1*z)),x.push(this.productions_[O[1]][0]),D.push(M.$),s.push(M._$),be=K[x[x.length-2]][x[x.length-1]],x.push(be);break;case 3:return!0}}return!0},"parse"),"parse")};_.lexer=(function(){return{EOF:1,parseError:h(b(function(i,u){if(this.yy.parser)this.yy.parser.parseError(i,u);else throw new Error(i)},"parseError"),"parseError"),setInput:h(function(g,i){return this.yy=i||this.yy||{},this._input=g,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:h(function(){var g=this._input[0];return this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g,g.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),g},"input"),unput:h(function(g){var i=g.length,u=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var x=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),u.length-1&&(this.yylineno-=u.length-1);var p=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:u?(u.length===x.length?this.yylloc.first_column:0)+x[x.length-u.length].length-u[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(g){this.unput(this.match.slice(g))},"less"),pastInput:h(function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var g=this.pastInput(),i=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
@@ -1 +1 @@
1
- var p=Object.defineProperty;var s=(e,o)=>p(e,"name",{value:o,configurable:!0});import{uE as i}from"./index-Bt31d8ga.js";var c={overview:s(e=>i.get(`/companies/${e}/budgets/overview`),"overview"),upsertPolicy:s((e,o)=>i.post(`/companies/${e}/budgets/policies`,o),"upsertPolicy"),resolveIncident:s((e,o,t)=>i.post(`/companies/${e}/budget-incidents/${encodeURIComponent(o)}/resolve`,t),"resolveIncident")};export{c as t};
1
+ var p=Object.defineProperty;var s=(e,o)=>p(e,"name",{value:o,configurable:!0});import{uE as i}from"./index-BJtnP7H1.js";var c={overview:s(e=>i.get(`/companies/${e}/budgets/overview`),"overview"),upsertPolicy:s((e,o)=>i.post(`/companies/${e}/budgets/policies`,o),"upsertPolicy"),resolveIncident:s((e,o,t)=>i.post(`/companies/${e}/budget-incidents/${encodeURIComponent(o)}/resolve`,t),"resolveIncident")};export{c as t};
@@ -1 +1 @@
1
- import{QT as e}from"./index-Bt31d8ga.js";var a={name:"building-complex",size:24,node:[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],aliases:["building-2"]};a.node;var d=e(a);export{d as t};
1
+ import{QT as e}from"./index-BJtnP7H1.js";var a={name:"building-complex",size:24,node:[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],aliases:["building-2"]};a.node;var d=e(a);export{d as t};
@@ -1,4 +1,4 @@
1
- var Ie=Object.defineProperty;var P=(t,e)=>Ie(t,"name",{value:e,configurable:!0});import{n as h}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as pe,p as Zt}from"./src-DYjgETqR.js";import{H as Me,U as Be,_ as Ve,b as wt,c as Ye,r as Fe,s as te,v as Ue,z as be}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{n as fe,r as Dt,v as je}from"./chunk-3YJQHVM4-Dj5wEKIw.js";import"./chunk-HJ2JQQFS-MXK0gYSP.js";import"./chunk-E2ZNV5FY-cjSf_BTz.js";import"./chunk-4EA7E6EY-5XiUVgzK.js";import{r as ze,s as We}from"./chunk-XC4XBNZT-FBCWmi6K.js";import{a as Xe}from"./chunk-7TKQ45FW-D0opKcsy.js";var Ut=(function(){var t=h(function(g,v,O,E){for(O=O||{},E=g.length;E--;O[g[E]]=v);return O},"o"),e=[1,24],r=[1,25],i=[1,26],u=[1,27],a=[1,28],n=[1,63],o=[1,64],s=[1,65],y=[1,66],f=[1,67],p=[1,68],m=[1,69],b=[1,29],I=[1,30],A=[1,31],w=[1,32],D=[1,33],U=[1,34],H=[1,35],Q=[1,36],K=[1,37],G=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],nt=[1,44],st=[1,45],rt=[1,46],at=[1,47],it=[1,48],ot=[1,50],lt=[1,51],ct=[1,52],ut=[1,53],ht=[1,54],dt=[1,55],pt=[1,56],ft=[1,57],yt=[1,58],_t=[1,59],mt=[1,60],Ct=[14,42],Wt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],k=[1,83],T=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Xt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:h(P(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:h(P(function(v,O,E,_,N,l,Pt){var d=l.length-1;switch(N){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(l[d-3]);break;case 19:_.setTitle(l[d].substring(6)),this.$=l[d].substring(6);break;case 20:_.setAccDescription(l[d].substring(15)),this.$=l[d].substring(15);break;case 21:this.$=l[d].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=l[d].trim(),_.setAccDescription(this.$);break;case 28:l[d].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...l[d]),this.$=l[d];break;case 29:l[d].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...l[d]),this.$=l[d];break;case 30:_.addPersonOrSystemBoundary(...l[d]),this.$=l[d];break;case 31:l[d].splice(2,0,"CONTAINER"),_.addContainerBoundary(...l[d]),this.$=l[d];break;case 32:_.addDeploymentNode("node",...l[d]),this.$=l[d];break;case 33:_.addDeploymentNode("nodeL",...l[d]),this.$=l[d];break;case 34:_.addDeploymentNode("nodeR",...l[d]),this.$=l[d];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...l[d]),this.$=l[d];break;case 40:_.addPersonOrSystem("external_person",...l[d]),this.$=l[d];break;case 41:_.addPersonOrSystem("system",...l[d]),this.$=l[d];break;case 42:_.addPersonOrSystem("system_db",...l[d]),this.$=l[d];break;case 43:_.addPersonOrSystem("system_queue",...l[d]),this.$=l[d];break;case 44:_.addPersonOrSystem("external_system",...l[d]),this.$=l[d];break;case 45:_.addPersonOrSystem("external_system_db",...l[d]),this.$=l[d];break;case 46:_.addPersonOrSystem("external_system_queue",...l[d]),this.$=l[d];break;case 47:_.addContainer("container",...l[d]),this.$=l[d];break;case 48:_.addContainer("container_db",...l[d]),this.$=l[d];break;case 49:_.addContainer("container_queue",...l[d]),this.$=l[d];break;case 50:_.addContainer("external_container",...l[d]),this.$=l[d];break;case 51:_.addContainer("external_container_db",...l[d]),this.$=l[d];break;case 52:_.addContainer("external_container_queue",...l[d]),this.$=l[d];break;case 53:_.addComponent("component",...l[d]),this.$=l[d];break;case 54:_.addComponent("component_db",...l[d]),this.$=l[d];break;case 55:_.addComponent("component_queue",...l[d]),this.$=l[d];break;case 56:_.addComponent("external_component",...l[d]),this.$=l[d];break;case 57:_.addComponent("external_component_db",...l[d]),this.$=l[d];break;case 58:_.addComponent("external_component_queue",...l[d]),this.$=l[d];break;case 60:_.addRel("rel",...l[d]),this.$=l[d];break;case 61:_.addRel("birel",...l[d]),this.$=l[d];break;case 62:_.addRel("rel_u",...l[d]),this.$=l[d];break;case 63:_.addRel("rel_d",...l[d]),this.$=l[d];break;case 64:_.addRel("rel_l",...l[d]),this.$=l[d];break;case 65:_.addRel("rel_r",...l[d]),this.$=l[d];break;case 66:_.addRel("rel_b",...l[d]),this.$=l[d];break;case 67:l[d].splice(0,1),_.addRel("rel",...l[d]),this.$=l[d];break;case 68:_.updateElStyle("update_el_style",...l[d]),this.$=l[d];break;case 69:_.updateRelStyle("update_rel_style",...l[d]),this.$=l[d];break;case 70:_.updateLayoutConfig("update_layout_config",...l[d]),this.$=l[d];break;case 71:this.$=[l[d]];break;case 72:l[d].unshift(l[d-1]),this.$=l[d];break;case 73:case 75:this.$=l[d].trim();break;case 74:let Et={};Et[l[d-1].trim()]=l[d].trim(),this.$=Et;break;case 76:this.$=""}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:70,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:71,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:72,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:73,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{14:[1,74]},t(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:o,37:s,38:y,39:f,40:p,41:m,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt}),t(Ct,[2,14]),t(Wt,[2,16],{12:[1,76]}),t(Ct,[2,36],{12:[1,77]}),t(Ot,[2,19]),t(Ot,[2,20]),{25:[1,78]},{27:[1,79]},t(Ot,[2,23]),{35:80,75:81,76:S,77:k,79:T,80:C},{35:86,75:81,76:S,77:k,79:T,80:C},{35:87,75:81,76:S,77:k,79:T,80:C},{35:88,75:81,76:S,77:k,79:T,80:C},{35:89,75:81,76:S,77:k,79:T,80:C},{35:90,75:81,76:S,77:k,79:T,80:C},{35:91,75:81,76:S,77:k,79:T,80:C},{35:92,75:81,76:S,77:k,79:T,80:C},{35:93,75:81,76:S,77:k,79:T,80:C},{35:94,75:81,76:S,77:k,79:T,80:C},{35:95,75:81,76:S,77:k,79:T,80:C},{35:96,75:81,76:S,77:k,79:T,80:C},{35:97,75:81,76:S,77:k,79:T,80:C},{35:98,75:81,76:S,77:k,79:T,80:C},{35:99,75:81,76:S,77:k,79:T,80:C},{35:100,75:81,76:S,77:k,79:T,80:C},{35:101,75:81,76:S,77:k,79:T,80:C},{35:102,75:81,76:S,77:k,79:T,80:C},{35:103,75:81,76:S,77:k,79:T,80:C},{35:104,75:81,76:S,77:k,79:T,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:k,79:T,80:C},{35:106,75:81,76:S,77:k,79:T,80:C},{35:107,75:81,76:S,77:k,79:T,80:C},{35:108,75:81,76:S,77:k,79:T,80:C},{35:109,75:81,76:S,77:k,79:T,80:C},{35:110,75:81,76:S,77:k,79:T,80:C},{35:111,75:81,76:S,77:k,79:T,80:C},{35:112,75:81,76:S,77:k,79:T,80:C},{35:113,75:81,76:S,77:k,79:T,80:C},{35:114,75:81,76:S,77:k,79:T,80:C},{35:115,75:81,76:S,77:k,79:T,80:C},{20:116,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:k,79:T,80:C},{35:120,75:81,76:S,77:k,79:T,80:C},{35:121,75:81,76:S,77:k,79:T,80:C},{35:122,75:81,76:S,77:k,79:T,80:C},{35:123,75:81,76:S,77:k,79:T,80:C},{35:124,75:81,76:S,77:k,79:T,80:C},{35:125,75:81,76:S,77:k,79:T,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Ct,[2,15]),t(Wt,[2,17],{21:22,19:130,22:e,23:r,24:i,26:u,28:a}),t(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:r,24:i,26:u,28:a,34:n,36:o,37:s,38:y,39:f,40:p,41:m,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt}),t(Ot,[2,21]),t(Ot,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:k,79:T,80:C}),t(Mt,[2,73]),{78:[1,133]},t(Mt,[2,75]),t(Mt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(vt,[2,28]),t(vt,[2,29]),t(vt,[2,30]),t(vt,[2,31]),t(vt,[2,32]),t(vt,[2,33]),t(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Wt,[2,18]),t(Ct,[2,38]),t(oe,[2,72]),t(Mt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(Xt,[2,25]),t(Xt,[2,26],{12:[1,138]}),t(Xt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:h(P(function(v,O){if(O.recoverable)this.trace(v);else{var E=new Error(v);throw E.hash=O,E}},"parseError"),"parseError"),parse:h(P(function(v){var O=this,E=[0],_=[],N=[null],l=[],Pt=this.table,d="",Et=0,le=0,ce=0,De=2,ue=1,Ne=l.slice.call(arguments,1),L=Object.create(this.lexer),St={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(St.yy[Ht]=this.yy[Ht]);L.setInput(v,St.yy),St.yy.lexer=L,St.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var Qt=L.yylloc;l.push(Qt);var Ae=L.options&&L.options.ranges;typeof St.yy.parseError=="function"?this.parseError=St.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(Y){E.length=E.length-2*Y,N.length=N.length-Y,l.length=l.length-Y}P(Le,"popStack"),h(Le,"popStack");function he(){var Y=_.pop()||L.lex()||ue;return typeof Y!="number"&&(Y instanceof Array&&(_=Y,Y=_.pop()),Y=O.symbols_[Y]||Y),Y}P(he,"lex"),h(he,"lex");for(var M,Kt,kt,V,Gt,Rt={},Vt,X,de,Yt;;){if(kt=E[E.length-1],this.defaultActions[kt]?V=this.defaultActions[kt]:((M===null||typeof M>"u")&&(M=he()),V=Pt[kt]&&Pt[kt][M]),typeof V>"u"||!V.length||!V[0]){var Jt="";Yt=[];for(Vt in Pt[kt])this.terminals_[Vt]&&Vt>De&&Yt.push("'"+this.terminals_[Vt]+"'");L.showPosition?Jt="Parse error on line "+(Et+1)+`:
1
+ var Ie=Object.defineProperty;var P=(t,e)=>Ie(t,"name",{value:e,configurable:!0});import{n as h}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as pe,p as Zt}from"./src-DYjgETqR.js";import{H as Me,U as Be,_ as Ve,b as wt,c as Ye,r as Fe,s as te,v as Ue,z as be}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{n as fe,r as Dt,v as je}from"./chunk-3YJQHVM4-C_uoPpLR.js";import"./chunk-HJ2JQQFS-DL4lnpSv.js";import"./chunk-E2ZNV5FY-DG8wQ_NS.js";import"./chunk-4EA7E6EY-BeMEfIRS.js";import{r as ze,s as We}from"./chunk-XC4XBNZT-CCgIhjYS.js";import{a as Xe}from"./chunk-7TKQ45FW-DiwqWHvN.js";var Ut=(function(){var t=h(function(g,v,O,E){for(O=O||{},E=g.length;E--;O[g[E]]=v);return O},"o"),e=[1,24],r=[1,25],i=[1,26],u=[1,27],a=[1,28],n=[1,63],o=[1,64],s=[1,65],y=[1,66],f=[1,67],p=[1,68],m=[1,69],b=[1,29],I=[1,30],A=[1,31],w=[1,32],D=[1,33],U=[1,34],H=[1,35],Q=[1,36],K=[1,37],G=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],nt=[1,44],st=[1,45],rt=[1,46],at=[1,47],it=[1,48],ot=[1,50],lt=[1,51],ct=[1,52],ut=[1,53],ht=[1,54],dt=[1,55],pt=[1,56],ft=[1,57],yt=[1,58],_t=[1,59],mt=[1,60],Ct=[14,42],Wt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],k=[1,83],T=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Xt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:h(P(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:h(P(function(v,O,E,_,N,l,Pt){var d=l.length-1;switch(N){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(l[d-3]);break;case 19:_.setTitle(l[d].substring(6)),this.$=l[d].substring(6);break;case 20:_.setAccDescription(l[d].substring(15)),this.$=l[d].substring(15);break;case 21:this.$=l[d].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=l[d].trim(),_.setAccDescription(this.$);break;case 28:l[d].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...l[d]),this.$=l[d];break;case 29:l[d].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...l[d]),this.$=l[d];break;case 30:_.addPersonOrSystemBoundary(...l[d]),this.$=l[d];break;case 31:l[d].splice(2,0,"CONTAINER"),_.addContainerBoundary(...l[d]),this.$=l[d];break;case 32:_.addDeploymentNode("node",...l[d]),this.$=l[d];break;case 33:_.addDeploymentNode("nodeL",...l[d]),this.$=l[d];break;case 34:_.addDeploymentNode("nodeR",...l[d]),this.$=l[d];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...l[d]),this.$=l[d];break;case 40:_.addPersonOrSystem("external_person",...l[d]),this.$=l[d];break;case 41:_.addPersonOrSystem("system",...l[d]),this.$=l[d];break;case 42:_.addPersonOrSystem("system_db",...l[d]),this.$=l[d];break;case 43:_.addPersonOrSystem("system_queue",...l[d]),this.$=l[d];break;case 44:_.addPersonOrSystem("external_system",...l[d]),this.$=l[d];break;case 45:_.addPersonOrSystem("external_system_db",...l[d]),this.$=l[d];break;case 46:_.addPersonOrSystem("external_system_queue",...l[d]),this.$=l[d];break;case 47:_.addContainer("container",...l[d]),this.$=l[d];break;case 48:_.addContainer("container_db",...l[d]),this.$=l[d];break;case 49:_.addContainer("container_queue",...l[d]),this.$=l[d];break;case 50:_.addContainer("external_container",...l[d]),this.$=l[d];break;case 51:_.addContainer("external_container_db",...l[d]),this.$=l[d];break;case 52:_.addContainer("external_container_queue",...l[d]),this.$=l[d];break;case 53:_.addComponent("component",...l[d]),this.$=l[d];break;case 54:_.addComponent("component_db",...l[d]),this.$=l[d];break;case 55:_.addComponent("component_queue",...l[d]),this.$=l[d];break;case 56:_.addComponent("external_component",...l[d]),this.$=l[d];break;case 57:_.addComponent("external_component_db",...l[d]),this.$=l[d];break;case 58:_.addComponent("external_component_queue",...l[d]),this.$=l[d];break;case 60:_.addRel("rel",...l[d]),this.$=l[d];break;case 61:_.addRel("birel",...l[d]),this.$=l[d];break;case 62:_.addRel("rel_u",...l[d]),this.$=l[d];break;case 63:_.addRel("rel_d",...l[d]),this.$=l[d];break;case 64:_.addRel("rel_l",...l[d]),this.$=l[d];break;case 65:_.addRel("rel_r",...l[d]),this.$=l[d];break;case 66:_.addRel("rel_b",...l[d]),this.$=l[d];break;case 67:l[d].splice(0,1),_.addRel("rel",...l[d]),this.$=l[d];break;case 68:_.updateElStyle("update_el_style",...l[d]),this.$=l[d];break;case 69:_.updateRelStyle("update_rel_style",...l[d]),this.$=l[d];break;case 70:_.updateLayoutConfig("update_layout_config",...l[d]),this.$=l[d];break;case 71:this.$=[l[d]];break;case 72:l[d].unshift(l[d-1]),this.$=l[d];break;case 73:case 75:this.$=l[d].trim();break;case 74:let Et={};Et[l[d-1].trim()]=l[d].trim(),this.$=Et;break;case 76:this.$=""}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:70,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:71,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:72,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{13:73,19:20,20:21,21:22,22:e,23:r,24:i,26:u,28:a,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{14:[1,74]},t(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:o,37:s,38:y,39:f,40:p,41:m,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt}),t(Ct,[2,14]),t(Wt,[2,16],{12:[1,76]}),t(Ct,[2,36],{12:[1,77]}),t(Ot,[2,19]),t(Ot,[2,20]),{25:[1,78]},{27:[1,79]},t(Ot,[2,23]),{35:80,75:81,76:S,77:k,79:T,80:C},{35:86,75:81,76:S,77:k,79:T,80:C},{35:87,75:81,76:S,77:k,79:T,80:C},{35:88,75:81,76:S,77:k,79:T,80:C},{35:89,75:81,76:S,77:k,79:T,80:C},{35:90,75:81,76:S,77:k,79:T,80:C},{35:91,75:81,76:S,77:k,79:T,80:C},{35:92,75:81,76:S,77:k,79:T,80:C},{35:93,75:81,76:S,77:k,79:T,80:C},{35:94,75:81,76:S,77:k,79:T,80:C},{35:95,75:81,76:S,77:k,79:T,80:C},{35:96,75:81,76:S,77:k,79:T,80:C},{35:97,75:81,76:S,77:k,79:T,80:C},{35:98,75:81,76:S,77:k,79:T,80:C},{35:99,75:81,76:S,77:k,79:T,80:C},{35:100,75:81,76:S,77:k,79:T,80:C},{35:101,75:81,76:S,77:k,79:T,80:C},{35:102,75:81,76:S,77:k,79:T,80:C},{35:103,75:81,76:S,77:k,79:T,80:C},{35:104,75:81,76:S,77:k,79:T,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:k,79:T,80:C},{35:106,75:81,76:S,77:k,79:T,80:C},{35:107,75:81,76:S,77:k,79:T,80:C},{35:108,75:81,76:S,77:k,79:T,80:C},{35:109,75:81,76:S,77:k,79:T,80:C},{35:110,75:81,76:S,77:k,79:T,80:C},{35:111,75:81,76:S,77:k,79:T,80:C},{35:112,75:81,76:S,77:k,79:T,80:C},{35:113,75:81,76:S,77:k,79:T,80:C},{35:114,75:81,76:S,77:k,79:T,80:C},{35:115,75:81,76:S,77:k,79:T,80:C},{20:116,29:49,30:61,32:62,34:n,36:o,37:s,38:y,39:f,40:p,41:m,43:23,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:k,79:T,80:C},{35:120,75:81,76:S,77:k,79:T,80:C},{35:121,75:81,76:S,77:k,79:T,80:C},{35:122,75:81,76:S,77:k,79:T,80:C},{35:123,75:81,76:S,77:k,79:T,80:C},{35:124,75:81,76:S,77:k,79:T,80:C},{35:125,75:81,76:S,77:k,79:T,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Ct,[2,15]),t(Wt,[2,17],{21:22,19:130,22:e,23:r,24:i,26:u,28:a}),t(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:r,24:i,26:u,28:a,34:n,36:o,37:s,38:y,39:f,40:p,41:m,44:b,45:I,46:A,47:w,48:D,49:U,50:H,51:Q,52:K,53:G,54:J,55:Z,56:$,57:tt,58:et,59:nt,60:st,61:rt,62:at,63:it,64:ot,65:lt,66:ct,67:ut,68:ht,69:dt,70:pt,71:ft,72:yt,73:_t,74:mt}),t(Ot,[2,21]),t(Ot,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:k,79:T,80:C}),t(Mt,[2,73]),{78:[1,133]},t(Mt,[2,75]),t(Mt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(vt,[2,28]),t(vt,[2,29]),t(vt,[2,30]),t(vt,[2,31]),t(vt,[2,32]),t(vt,[2,33]),t(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Wt,[2,18]),t(Ct,[2,38]),t(oe,[2,72]),t(Mt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(Xt,[2,25]),t(Xt,[2,26],{12:[1,138]}),t(Xt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:h(P(function(v,O){if(O.recoverable)this.trace(v);else{var E=new Error(v);throw E.hash=O,E}},"parseError"),"parseError"),parse:h(P(function(v){var O=this,E=[0],_=[],N=[null],l=[],Pt=this.table,d="",Et=0,le=0,ce=0,De=2,ue=1,Ne=l.slice.call(arguments,1),L=Object.create(this.lexer),St={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(St.yy[Ht]=this.yy[Ht]);L.setInput(v,St.yy),St.yy.lexer=L,St.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var Qt=L.yylloc;l.push(Qt);var Ae=L.options&&L.options.ranges;typeof St.yy.parseError=="function"?this.parseError=St.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(Y){E.length=E.length-2*Y,N.length=N.length-Y,l.length=l.length-Y}P(Le,"popStack"),h(Le,"popStack");function he(){var Y=_.pop()||L.lex()||ue;return typeof Y!="number"&&(Y instanceof Array&&(_=Y,Y=_.pop()),Y=O.symbols_[Y]||Y),Y}P(he,"lex"),h(he,"lex");for(var M,Kt,kt,V,Gt,Rt={},Vt,X,de,Yt;;){if(kt=E[E.length-1],this.defaultActions[kt]?V=this.defaultActions[kt]:((M===null||typeof M>"u")&&(M=he()),V=Pt[kt]&&Pt[kt][M]),typeof V>"u"||!V.length||!V[0]){var Jt="";Yt=[];for(Vt in Pt[kt])this.terminals_[Vt]&&Vt>De&&Yt.push("'"+this.terminals_[Vt]+"'");L.showPosition?Jt="Parse error on line "+(Et+1)+`:
2
2
  `+L.showPosition()+`
3
3
  Expecting `+Yt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Jt="Parse error on line "+(Et+1)+": Unexpected "+(M==ue?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Jt,{text:L.match,token:this.terminals_[M]||M,line:L.yylineno,loc:Qt,expected:Yt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kt+", token: "+M);switch(V[0]){case 1:E.push(M),N.push(L.yytext),l.push(L.yylloc),E.push(V[1]),M=null,Kt?(M=Kt,Kt=null):(le=L.yyleng,d=L.yytext,Et=L.yylineno,Qt=L.yylloc,ce>0&&ce--);break;case 2:if(X=this.productions_[V[1]][1],Rt.$=N[N.length-X],Rt._$={first_line:l[l.length-(X||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(X||1)].first_column,last_column:l[l.length-1].last_column},Ae&&(Rt._$.range=[l[l.length-(X||1)].range[0],l[l.length-1].range[1]]),Gt=this.performAction.apply(Rt,[d,le,Et,St.yy,V[1],N,l].concat(Ne)),typeof Gt<"u")return Gt;X&&(E=E.slice(0,-1*X*2),N=N.slice(0,-1*X),l=l.slice(0,-1*X)),E.push(this.productions_[V[1]][0]),N.push(Rt.$),l.push(Rt._$),de=Pt[E[E.length-2]][E[E.length-1]],E.push(de);break;case 3:return!0}}return!0},"parse"),"parse")};qt.lexer=(function(){return{EOF:1,parseError:h(P(function(v,O){if(this.yy.parser)this.yy.parser.parseError(v,O);else throw new Error(v)},"parseError"),"parseError"),setInput:h(function(g,v){return this.yy=v||this.yy||{},this._input=g,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:h(function(){var g=this._input[0];return this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g,g.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),g},"input"),unput:h(function(g){var v=g.length,O=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-v),this.offset-=v;var E=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),O.length-1&&(this.yylineno-=O.length-1);var _=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:O?(O.length===E.length?this.yylloc.first_column:0)+E[E.length-O.length].length-O[0].length:this.yylloc.first_column-v},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-v]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(g){this.unput(this.match.slice(g))},"less"),pastInput:h(function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var g=this.pastInput(),v=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
@@ -0,0 +1 @@
1
+ var t=Object.defineProperty;var o=(r,a)=>t(r,"name",{value:a,configurable:!0});import{ot as s,st as n}from"./chunk-VPRB5NB3-BNz5CtBn.js";var p=o((r,a)=>n.lang.round(s.parse(r)[a]),"channel");export{p as t};
@@ -1 +1 @@
1
- import{BA as e,EA as i,FA as p,IA as t,NA as m,OA as h,RA as f,SA as l,TA as u,VA as S,_A as C,bA as E,dA as g,fA as x,gA as _,hA as b,kA as r,lA as A,mA as T,pA as y,uA as k,vA as P,yA as R}from"./index-Bt31d8ga.js";var I=t({projectId:e().uuid().nullable().optional(),workspace:k.nullable().optional()}).strict(),N=i(P),z=i(y),M=i(g),O=i(T),$=i(x),K=i(R),Z=i(C),V=i(_),B=i(E),d=e().trim().uuid().refine(a=>a!=="00000000-0000-0000-0000-000000000000",{message:"Microsoft Teams credential IDs cannot be the nil UUID"}).transform(a=>a.toLowerCase()),D=f(e(),e().min(1)).superRefine((a,n)=>{for(const o of["clientId","tenantId"]){const c=a[o];c!==void 0&&(d.safeParse(c).success||n.addIssue({code:u.custom,path:[o],message:`${o} must be a canonical Microsoft Entra UUID`}))}}).transform(a=>{const n={...a};for(const o of["clientId","tenantId"]){const c=n[o];c!==void 0&&(n[o]=d.parse(c))}return n}),v=t({appName:e().trim().min(1,"Enter a Slack app name.").max(35),botName:e().trim().min(1).max(80).regex(/^[a-z0-9._-]+$/,"Use lowercase letters, numbers, dots, hyphens, or underscores for the bot name."),command:e().trim().min(2).max(32).regex(/^\/[a-z0-9_-]+$/,"Start the command with / and use lowercase letters, numbers, hyphens, or underscores.")}).strict(),F=t({provider:N.exclude(["agentmail"]),assignedAgentId:e().uuid(),applicationId:e().uuid().optional(),name:e().trim().min(1).max(160).optional(),slackApp:v.optional(),slackSetupMethod:i(["managed","automatic","manual","existing"]).optional()}).strict().refine(a=>!a.slackApp&&!a.slackSetupMethod||a.provider==="slack",{message:"Slack app details only apply to Slack connections",path:["slackApp"]}),q=t({executionDefaults:I.nullable().optional(),communicationInstructions:A.pipe(e().trim().max(4e3)).optional(),slackApp:v.optional(),slackSetupMethod:i(["managed","automatic","manual","existing"]).optional(),allowDirectMessages:r().optional(),requireAtMention:r().optional(),allowGroupChats:r().optional(),allowUnlinkedPeople:r().optional()}).strict().refine(a=>Object.keys(a).length>0,{message:"At least one chat endpoint field is required"}),s=e().trim().min(1).max(128).regex(/^[a-zA-Z0-9_-]+$/),H=e().trim().min(1).max(63).regex(/^[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/),L=S([t({allocation:m("dedicated").default("dedicated"),projectId:s,lineId:H}).strict(),t({allocation:m("shared"),projectId:s}).strict()]),G=t({projectId:s,projectSecret:e().min(1).max(4096)}).strict(),Y=t({action:i(["configure","verify","pause","resume","reconnect","remove"]),credentials:D.optional(),photon:L.optional()}).strict().superRefine((a,n)=>{(a.credentials||a.photon)&&a.action!=="configure"&&a.action!=="reconnect"&&n.addIssue({code:u.custom,path:["credentials"],message:`Credentials are not accepted for the ${a.action} action`})}),Q=t({resources:h(t({id:e().uuid(),enabled:r().optional(),executionDefaults:I.nullable().optional()}).strict()).max(500)}).strict(),W=t({limit:l().int().min(1).max(100).default(20),offset:l().int().min(0).max(2147483647).default(0),search:e().trim().max(200).default("")}).strict(),X=t({enabled:r()}).strict(),w=t({commentId:e().uuid()}).strict(),U=t({body:A.pipe(e().trim().min(1).max(1e5)),idempotencyKey:e().trim().min(16).max(200),attachmentIds:h(e().uuid()).max(20).refine(a=>new Set(a).size===a.length,{message:"Attachment ids must be unique"}).optional()}).strict(),J=S([w,U]),aa=t({action:i(["mark_delivered","retry_anyway","cancel"]),fileTransfer:t({phase:i(b),version:p().int().positive().max(Number.MAX_SAFE_INTEGER)}).strict().optional()}).strict(),ea=t({action:i(["mark_delivered","retry_anyway","cancel"])}).strict(),ta=t({expiresInSeconds:p().int().min(300).max(86400).default(1800)}).strict().default({expiresInSeconds:1800}),ia=t({token:e().min(32).max(4096)}).strict(),na=t({}).strict(),oa=e().regex(/^[a-zA-Z0-9_-]{32,128}$/);export{v as a,Q as i,Y as n,q as o,F as r,N as t};
1
+ import{BA as e,EA as i,FA as p,IA as t,NA as m,OA as h,RA as f,SA as l,TA as u,VA as S,_A as C,bA as E,dA as g,fA as x,gA as _,hA as b,kA as r,lA as A,mA as T,pA as y,uA as k,vA as P,yA as R}from"./index-BJtnP7H1.js";var I=t({projectId:e().uuid().nullable().optional(),workspace:k.nullable().optional()}).strict(),N=i(P),z=i(y),M=i(g),O=i(T),$=i(x),K=i(R),Z=i(C),V=i(_),B=i(E),d=e().trim().uuid().refine(a=>a!=="00000000-0000-0000-0000-000000000000",{message:"Microsoft Teams credential IDs cannot be the nil UUID"}).transform(a=>a.toLowerCase()),D=f(e(),e().min(1)).superRefine((a,n)=>{for(const o of["clientId","tenantId"]){const c=a[o];c!==void 0&&(d.safeParse(c).success||n.addIssue({code:u.custom,path:[o],message:`${o} must be a canonical Microsoft Entra UUID`}))}}).transform(a=>{const n={...a};for(const o of["clientId","tenantId"]){const c=n[o];c!==void 0&&(n[o]=d.parse(c))}return n}),v=t({appName:e().trim().min(1,"Enter a Slack app name.").max(35),botName:e().trim().min(1).max(80).regex(/^[a-z0-9._-]+$/,"Use lowercase letters, numbers, dots, hyphens, or underscores for the bot name."),command:e().trim().min(2).max(32).regex(/^\/[a-z0-9_-]+$/,"Start the command with / and use lowercase letters, numbers, hyphens, or underscores.")}).strict(),F=t({provider:N.exclude(["agentmail"]),assignedAgentId:e().uuid(),applicationId:e().uuid().optional(),name:e().trim().min(1).max(160).optional(),slackApp:v.optional(),slackSetupMethod:i(["managed","automatic","manual","existing"]).optional()}).strict().refine(a=>!a.slackApp&&!a.slackSetupMethod||a.provider==="slack",{message:"Slack app details only apply to Slack connections",path:["slackApp"]}),q=t({executionDefaults:I.nullable().optional(),communicationInstructions:A.pipe(e().trim().max(4e3)).optional(),slackApp:v.optional(),slackSetupMethod:i(["managed","automatic","manual","existing"]).optional(),allowDirectMessages:r().optional(),requireAtMention:r().optional(),allowGroupChats:r().optional(),allowUnlinkedPeople:r().optional()}).strict().refine(a=>Object.keys(a).length>0,{message:"At least one chat endpoint field is required"}),s=e().trim().min(1).max(128).regex(/^[a-zA-Z0-9_-]+$/),H=e().trim().min(1).max(63).regex(/^[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/),L=S([t({allocation:m("dedicated").default("dedicated"),projectId:s,lineId:H}).strict(),t({allocation:m("shared"),projectId:s}).strict()]),G=t({projectId:s,projectSecret:e().min(1).max(4096)}).strict(),Y=t({action:i(["configure","verify","pause","resume","reconnect","remove"]),credentials:D.optional(),photon:L.optional()}).strict().superRefine((a,n)=>{(a.credentials||a.photon)&&a.action!=="configure"&&a.action!=="reconnect"&&n.addIssue({code:u.custom,path:["credentials"],message:`Credentials are not accepted for the ${a.action} action`})}),Q=t({resources:h(t({id:e().uuid(),enabled:r().optional(),executionDefaults:I.nullable().optional()}).strict()).max(500)}).strict(),W=t({limit:l().int().min(1).max(100).default(20),offset:l().int().min(0).max(2147483647).default(0),search:e().trim().max(200).default("")}).strict(),X=t({enabled:r()}).strict(),w=t({commentId:e().uuid()}).strict(),U=t({body:A.pipe(e().trim().min(1).max(1e5)),idempotencyKey:e().trim().min(16).max(200),attachmentIds:h(e().uuid()).max(20).refine(a=>new Set(a).size===a.length,{message:"Attachment ids must be unique"}).optional()}).strict(),J=S([w,U]),aa=t({action:i(["mark_delivered","retry_anyway","cancel"]),fileTransfer:t({phase:i(b),version:p().int().positive().max(Number.MAX_SAFE_INTEGER)}).strict().optional()}).strict(),ea=t({action:i(["mark_delivered","retry_anyway","cancel"])}).strict(),ta=t({expiresInSeconds:p().int().min(300).max(86400).default(1800)}).strict().default({expiresInSeconds:1800}),ia=t({token:e().min(32).max(4096)}).strict(),na=t({}).strict(),oa=e().regex(/^[a-zA-Z0-9_-]{32,128}$/);export{v as a,Q as i,Y as n,q as o,F as r,N as t};
@@ -1,4 +1,4 @@
1
- var xt=Object.defineProperty;var X=(r,t)=>xt(r,"name",{value:t,configurable:!0});import{n as p}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as g,p as B}from"./src-DYjgETqR.js";import{b as C,w as pt,y as H}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{$ as wt,J as bt,Q as Mt,X as Lt,Y as _t,Z as St,_ as z,d as Ot,et as Ut,it as at,nt as Et,q as vt,rt as $t,tt as st}from"./chunk-3YJQHVM4-Dj5wEKIw.js";import{t as Xt}from"./line-rrKrpB-b.js";import{n as Yt,r as ot}from"./chunk-E2ZNV5FY-cjSf_BTz.js";import{i as Wt,n as Tt}from"./chunk-4EA7E6EY-5XiUVgzK.js";import{t as Ht}from"./rough.esm-DnC5Tr1g.js";import{t as J}from"./chunk-XC4XBNZT-FBCWmi6K.js";import{n as Bt}from"./chunk-DBDB3WZW-DNqSQPZ0.js";var Q=p((r,t)=>{if(t)return"translate("+-r.width/2+", "+-r.height/2+")";const a=r.x??0,e=r.y??0;return"translate("+-(a+r.width/2)+", "+-(e+r.height/2)+")"},"computeLabelTransform"),S={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},it={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function Z(r,t){if(r===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};r=y(r),t=y(t);const[a,e]=[r.x,r.y],[n,o]=[t.x,t.y],s=n-a,i=o-e;return{angle:Math.atan(i/s),deltaX:s,deltaY:i}}X(Z,"calculateDeltaAndAngle");p(Z,"calculateDeltaAndAngle");var y=p(r=>Array.isArray(r)?{x:r[0],y:r[1]}:r,"pointTransformer"),zt=p(r=>({x:p(function(t,a,e){let n=0;const o=y(e[0]).x<y(e[e.length-1]).x?"left":"right";if(a===0&&Object.hasOwn(S,r.arrowTypeStart)){const{angle:c,deltaX:m}=Z(e[0],e[1]);n=S[r.arrowTypeStart]*Math.cos(c)*(m>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(S,r.arrowTypeEnd)){const{angle:c,deltaX:m}=Z(e[e.length-1],e[e.length-2]);n=S[r.arrowTypeEnd]*Math.cos(c)*(m>=0?1:-1)}const s=Math.abs(y(t).x-y(e[e.length-1]).x),i=Math.abs(y(t).y-y(e[e.length-1]).y),d=Math.abs(y(t).x-y(e[0]).x),k=Math.abs(y(t).y-y(e[0]).y),l=S[r.arrowTypeStart],f=S[r.arrowTypeEnd],h=1;if(s<f&&s>0&&i<f){let c=f+h-s;c*=o==="right"?-1:1,n-=c}if(d<l&&d>0&&k<l){let c=l+h-d;c*=o==="right"?-1:1,n+=c}return y(t).x+n},"x"),y:p(function(t,a,e){let n=0;const o=y(e[0]).y<y(e[e.length-1]).y?"down":"up";if(a===0&&Object.hasOwn(S,r.arrowTypeStart)){const{angle:c,deltaY:m}=Z(e[0],e[1]);n=S[r.arrowTypeStart]*Math.abs(Math.sin(c))*(m>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(S,r.arrowTypeEnd)){const{angle:c,deltaY:m}=Z(e[e.length-1],e[e.length-2]);n=S[r.arrowTypeEnd]*Math.abs(Math.sin(c))*(m>=0?1:-1)}const s=Math.abs(y(t).y-y(e[e.length-1]).y),i=Math.abs(y(t).x-y(e[e.length-1]).x),d=Math.abs(y(t).y-y(e[0]).y),k=Math.abs(y(t).x-y(e[0]).x),l=S[r.arrowTypeStart],f=S[r.arrowTypeEnd],h=1;if(s<f&&s>0&&i<f){let c=f+h-s;c*=o==="up"?-1:1,n-=c}if(d<l&&d>0&&k<l){let c=l+h-d;c*=o==="up"?-1:1,n+=c}return y(t).y+n},"y")}),"getLineFunctionsWithOffset"),Ct=p((r,t,a,e,n,o=!1,s)=>{t.arrowTypeStart&&lt(r,"start",t.arrowTypeStart,a,e,n,o,s),t.arrowTypeEnd&&lt(r,"end",t.arrowTypeEnd,a,e,n,o,s)},"addEdgeMarkers"),Rt={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_hierarchy:{type:"hierarchy",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},Pt=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],lt=p((r,t,a,e,n,o,s=!1,i)=>{if(!a||a==="none")return;const d=Rt[a],k=d&&Pt.includes(d.type);if(!d){g.warn(`Unknown arrow type: ${a}`);return}const l=`${n}_${o}-${d.type}${t==="start"?"Start":"End"}${s&&k?"-margin":""}`;if(i&&i.trim()!==""){const f=`${l}_${i.replace(/[^\dA-Za-z]/g,"_")}`;if(!document.getElementById(f)){const h=document.getElementById(l);if(h){const c=h.cloneNode(!0);c.id=f,c.querySelectorAll("path, circle, line").forEach(m=>{m.setAttribute("stroke",i),d.fill&&m.setAttribute("fill",i)}),h.parentNode?.appendChild(c)}}r.attr(`marker-${t}`,`url(${e}#${f})`)}else r.attr(`marker-${t}`,`url(${e}#${l})`)},"addEdgeMarker"),At=p(r=>typeof r=="string"?r:C()?.flowchart?.curve,"resolveEdgeCurveType"),G=new Map,_=new Map,ir=p(()=>{G.clear(),_.clear()},"clear"),lr=p(r=>!!(r.label||r.startLabelLeft||r.startLabelRight||r.endLabelLeft||r.endLabelRight),"hasEdgeLabel"),N=p(r=>r?typeof r=="string"?r:r.reduce((t,a)=>t+";"+a,""):"","getLabelStyles"),cr=p(async(r,t)=>{const a=C();let e=pt(a);const{labelStyles:n}=Wt(t);t.labelStyle=n;const o=r.insert("g").attr("class","edgeLabel"),s=o.insert("g").attr("class","label").attr("data-id",t.id),i=t.labelType==="markdown",d=await Yt(r,t.label,{style:N(t.labelStyle),useHtmlLabels:e,addSvgBackground:!0,isNode:!1,markdown:i,width:void 0},a);s.node().appendChild(d),g.info("abc82",t,t.labelType);let k,l;if(e){const h=d.children[0],c=B(d);k=await ot.measure(()=>h.getBoundingClientRect()),l=k,c.attr("width",k.width),c.attr("height",k.height)}else{const h=B(d).select("text").node();await ot.measure(()=>{k=d.getBBox(),h&&typeof h.getBBox=="function"?l=h.getBBox():l=k})}s.attr("transform",Q(l,e)),G.set(t.id,o),t.width=k.width,t.height=k.height;let f;if(t.startLabelLeft){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.startLabelLeft,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startLeft=h,V(f,t.startLabelLeft,u),j(t,"startLeft",u)}if(t.startLabelRight){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.startLabelRight,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startRight=h,V(f,t.startLabelRight,u),j(t,"startRight",u)}if(t.endLabelLeft){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.endLabelLeft,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endLeft=h,V(f,t.endLabelLeft,u),j(t,"endLeft",u)}if(t.endLabelRight){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.endLabelRight,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endRight=h,V(f,t.endLabelRight,u),j(t,"endRight",u)}return d},"insertEdgeLabel");function j(r,t,a){r.terminalLabelSizes??={},r.terminalLabelSizes[t]={width:a.width,height:a.height}}X(j,"recordTerminalLabelSize");p(j,"recordTerminalLabelSize");function V(r,t,a){pt(C())&&r&&(r.style.width=Math.max(t.length*9,a.width)+"px",r.style.height=a.height+"px")}X(V,"setTerminalWidth");p(V,"setTerminalWidth");var qt=p((r,t)=>{let a=r.x,e=r.y;if(t?.updatedPath){const n=z.calcLabelPosition(t.updatedPath);if(t.originalPath){const o=z.calcLabelPosition(t.originalPath);a=r.x+(n.x-o.x),e=r.y+(n.y-o.y)}else a=n.x,e=n.y}return{x:a,y:e}},"resolveEdgeLabelPosition"),dr=p((r,t)=>{g.debug("Moving label abc88 ",r.id,r.label,G.get(r.id),t);const a=C(),{subGraphTitleTotalMargin:e}=Bt(a);if(r.label){const o=G.get(r.id),{x:s,y:i}=qt(r,t);g.debug("Moving label "+r.label+" from (",r.x,",",r.y,") to (",s,",",i,") abc88"),o.attr("transform",`translate(${s}, ${i+e/2})`)}const n=t.updatedPath?t.updatedPath:t.originalPath;if(r.startLabelLeft){const o=_.get(r.id).startLeft;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}if(r.startLabelRight){const o=_.get(r.id).startRight;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}if(r.endLabelLeft){const o=_.get(r.id).endLeft;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}if(r.endLabelRight){const o=_.get(r.id).endRight;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}},"positionEdgeLabel"),It=p((r,t)=>{if(!r?.isLabelEdge||!r?.id?.endsWith("-to-label")||!Array.isArray(t)||t.length!==2)return t;const[a,e]=t,n=Math.abs(e.x-a.x),o=Math.abs(e.y-a.y);return n<.001||o<.001?t:o>=n?[a,{x:a.x,y:e.y},e]:[a,{x:e.x,y:a.y},e]},"orthogonalizeToLabelClippedPoints"),Qt=p((r,t)=>{const a=r.x,e=r.y,n=Math.abs(t.x-a),o=Math.abs(t.y-e),s=r.width/2,i=r.height/2;return n>=s||o>=i},"outsideNode"),Nt=p((r,t,a)=>{g.debug(`intersection calc abc89:
1
+ var xt=Object.defineProperty;var X=(r,t)=>xt(r,"name",{value:t,configurable:!0});import{n as p}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as g,p as B}from"./src-DYjgETqR.js";import{b as C,w as pt,y as H}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{$ as wt,J as bt,Q as Mt,X as Lt,Y as _t,Z as St,_ as z,d as Ot,et as Ut,it as at,nt as Et,q as vt,rt as $t,tt as st}from"./chunk-3YJQHVM4-C_uoPpLR.js";import{t as Xt}from"./line-Ljt_vfsb.js";import{n as Yt,r as ot}from"./chunk-E2ZNV5FY-DG8wQ_NS.js";import{i as Wt,n as Tt}from"./chunk-4EA7E6EY-BeMEfIRS.js";import{t as Ht}from"./rough.esm-DnC5Tr1g.js";import{t as J}from"./chunk-XC4XBNZT-CCgIhjYS.js";import{n as Bt}from"./chunk-DBDB3WZW-B2qouVQO.js";var Q=p((r,t)=>{if(t)return"translate("+-r.width/2+", "+-r.height/2+")";const a=r.x??0,e=r.y??0;return"translate("+-(a+r.width/2)+", "+-(e+r.height/2)+")"},"computeLabelTransform"),S={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},it={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function Z(r,t){if(r===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};r=y(r),t=y(t);const[a,e]=[r.x,r.y],[n,o]=[t.x,t.y],s=n-a,i=o-e;return{angle:Math.atan(i/s),deltaX:s,deltaY:i}}X(Z,"calculateDeltaAndAngle");p(Z,"calculateDeltaAndAngle");var y=p(r=>Array.isArray(r)?{x:r[0],y:r[1]}:r,"pointTransformer"),zt=p(r=>({x:p(function(t,a,e){let n=0;const o=y(e[0]).x<y(e[e.length-1]).x?"left":"right";if(a===0&&Object.hasOwn(S,r.arrowTypeStart)){const{angle:c,deltaX:m}=Z(e[0],e[1]);n=S[r.arrowTypeStart]*Math.cos(c)*(m>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(S,r.arrowTypeEnd)){const{angle:c,deltaX:m}=Z(e[e.length-1],e[e.length-2]);n=S[r.arrowTypeEnd]*Math.cos(c)*(m>=0?1:-1)}const s=Math.abs(y(t).x-y(e[e.length-1]).x),i=Math.abs(y(t).y-y(e[e.length-1]).y),d=Math.abs(y(t).x-y(e[0]).x),k=Math.abs(y(t).y-y(e[0]).y),l=S[r.arrowTypeStart],f=S[r.arrowTypeEnd],h=1;if(s<f&&s>0&&i<f){let c=f+h-s;c*=o==="right"?-1:1,n-=c}if(d<l&&d>0&&k<l){let c=l+h-d;c*=o==="right"?-1:1,n+=c}return y(t).x+n},"x"),y:p(function(t,a,e){let n=0;const o=y(e[0]).y<y(e[e.length-1]).y?"down":"up";if(a===0&&Object.hasOwn(S,r.arrowTypeStart)){const{angle:c,deltaY:m}=Z(e[0],e[1]);n=S[r.arrowTypeStart]*Math.abs(Math.sin(c))*(m>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(S,r.arrowTypeEnd)){const{angle:c,deltaY:m}=Z(e[e.length-1],e[e.length-2]);n=S[r.arrowTypeEnd]*Math.abs(Math.sin(c))*(m>=0?1:-1)}const s=Math.abs(y(t).y-y(e[e.length-1]).y),i=Math.abs(y(t).x-y(e[e.length-1]).x),d=Math.abs(y(t).y-y(e[0]).y),k=Math.abs(y(t).x-y(e[0]).x),l=S[r.arrowTypeStart],f=S[r.arrowTypeEnd],h=1;if(s<f&&s>0&&i<f){let c=f+h-s;c*=o==="up"?-1:1,n-=c}if(d<l&&d>0&&k<l){let c=l+h-d;c*=o==="up"?-1:1,n+=c}return y(t).y+n},"y")}),"getLineFunctionsWithOffset"),Ct=p((r,t,a,e,n,o=!1,s)=>{t.arrowTypeStart&&lt(r,"start",t.arrowTypeStart,a,e,n,o,s),t.arrowTypeEnd&&lt(r,"end",t.arrowTypeEnd,a,e,n,o,s)},"addEdgeMarkers"),Rt={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_hierarchy:{type:"hierarchy",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},Pt=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],lt=p((r,t,a,e,n,o,s=!1,i)=>{if(!a||a==="none")return;const d=Rt[a],k=d&&Pt.includes(d.type);if(!d){g.warn(`Unknown arrow type: ${a}`);return}const l=`${n}_${o}-${d.type}${t==="start"?"Start":"End"}${s&&k?"-margin":""}`;if(i&&i.trim()!==""){const f=`${l}_${i.replace(/[^\dA-Za-z]/g,"_")}`;if(!document.getElementById(f)){const h=document.getElementById(l);if(h){const c=h.cloneNode(!0);c.id=f,c.querySelectorAll("path, circle, line").forEach(m=>{m.setAttribute("stroke",i),d.fill&&m.setAttribute("fill",i)}),h.parentNode?.appendChild(c)}}r.attr(`marker-${t}`,`url(${e}#${f})`)}else r.attr(`marker-${t}`,`url(${e}#${l})`)},"addEdgeMarker"),At=p(r=>typeof r=="string"?r:C()?.flowchart?.curve,"resolveEdgeCurveType"),G=new Map,_=new Map,ir=p(()=>{G.clear(),_.clear()},"clear"),lr=p(r=>!!(r.label||r.startLabelLeft||r.startLabelRight||r.endLabelLeft||r.endLabelRight),"hasEdgeLabel"),N=p(r=>r?typeof r=="string"?r:r.reduce((t,a)=>t+";"+a,""):"","getLabelStyles"),cr=p(async(r,t)=>{const a=C();let e=pt(a);const{labelStyles:n}=Wt(t);t.labelStyle=n;const o=r.insert("g").attr("class","edgeLabel"),s=o.insert("g").attr("class","label").attr("data-id",t.id),i=t.labelType==="markdown",d=await Yt(r,t.label,{style:N(t.labelStyle),useHtmlLabels:e,addSvgBackground:!0,isNode:!1,markdown:i,width:void 0},a);s.node().appendChild(d),g.info("abc82",t,t.labelType);let k,l;if(e){const h=d.children[0],c=B(d);k=await ot.measure(()=>h.getBoundingClientRect()),l=k,c.attr("width",k.width),c.attr("height",k.height)}else{const h=B(d).select("text").node();await ot.measure(()=>{k=d.getBBox(),h&&typeof h.getBBox=="function"?l=h.getBBox():l=k})}s.attr("transform",Q(l,e)),G.set(t.id,o),t.width=k.width,t.height=k.height;let f;if(t.startLabelLeft){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.startLabelLeft,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startLeft=h,V(f,t.startLabelLeft,u),j(t,"startLeft",u)}if(t.startLabelRight){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.startLabelRight,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startRight=h,V(f,t.startLabelRight,u),j(t,"startRight",u)}if(t.endLabelLeft){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.endLabelLeft,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endLeft=h,V(f,t.endLabelLeft,u),j(t,"endLeft",u)}if(t.endLabelRight){const h=r.insert("g").attr("class","edgeTerminals"),c=h.insert("g").attr("class","inner"),m=await J(c,t.endLabelRight,N(t.labelStyle)||"",!1,!1);f=m;let u=m.getBBox();if(e){const M=m.children[0],w=B(m);u=M.getBoundingClientRect(),w.attr("width",u.width),w.attr("height",u.height)}c.attr("transform",Q(u,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endRight=h,V(f,t.endLabelRight,u),j(t,"endRight",u)}return d},"insertEdgeLabel");function j(r,t,a){r.terminalLabelSizes??={},r.terminalLabelSizes[t]={width:a.width,height:a.height}}X(j,"recordTerminalLabelSize");p(j,"recordTerminalLabelSize");function V(r,t,a){pt(C())&&r&&(r.style.width=Math.max(t.length*9,a.width)+"px",r.style.height=a.height+"px")}X(V,"setTerminalWidth");p(V,"setTerminalWidth");var qt=p((r,t)=>{let a=r.x,e=r.y;if(t?.updatedPath){const n=z.calcLabelPosition(t.updatedPath);if(t.originalPath){const o=z.calcLabelPosition(t.originalPath);a=r.x+(n.x-o.x),e=r.y+(n.y-o.y)}else a=n.x,e=n.y}return{x:a,y:e}},"resolveEdgeLabelPosition"),dr=p((r,t)=>{g.debug("Moving label abc88 ",r.id,r.label,G.get(r.id),t);const a=C(),{subGraphTitleTotalMargin:e}=Bt(a);if(r.label){const o=G.get(r.id),{x:s,y:i}=qt(r,t);g.debug("Moving label "+r.label+" from (",r.x,",",r.y,") to (",s,",",i,") abc88"),o.attr("transform",`translate(${s}, ${i+e/2})`)}const n=t.updatedPath?t.updatedPath:t.originalPath;if(r.startLabelLeft){const o=_.get(r.id).startLeft;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}if(r.startLabelRight){const o=_.get(r.id).startRight;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}if(r.endLabelLeft){const o=_.get(r.id).endLeft;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}if(r.endLabelRight){const o=_.get(r.id).endRight;let s=r.x,i=r.y;if(n){const d=z.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",n);s=d.x,i=d.y}o.attr("transform",`translate(${s}, ${i})`)}},"positionEdgeLabel"),It=p((r,t)=>{if(!r?.isLabelEdge||!r?.id?.endsWith("-to-label")||!Array.isArray(t)||t.length!==2)return t;const[a,e]=t,n=Math.abs(e.x-a.x),o=Math.abs(e.y-a.y);return n<.001||o<.001?t:o>=n?[a,{x:a.x,y:e.y},e]:[a,{x:e.x,y:a.y},e]},"orthogonalizeToLabelClippedPoints"),Qt=p((r,t)=>{const a=r.x,e=r.y,n=Math.abs(t.x-a),o=Math.abs(t.y-e),s=r.width/2,i=r.height/2;return n>=s||o>=i},"outsideNode"),Nt=p((r,t,a)=>{g.debug(`intersection calc abc89:
2
2
  outsidePoint: ${JSON.stringify(t)}
3
3
  insidePoint : ${JSON.stringify(a)}
4
4
  node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);const e=r.x,n=r.y,o=Math.abs(e-a.x),s=r.width/2;let i=a.x<t.x?s-o:s+o;const d=r.height/2,k=Math.abs(t.y-a.y),l=Math.abs(t.x-a.x);if(Math.abs(n-t.y)*s>Math.abs(e-t.x)*d){let f=a.y<t.y?t.y-d-n:n-d-t.y;i=l*f/k;const h={x:a.x<t.x?a.x+i:a.x-l+i,y:a.y<t.y?a.y+k-f:a.y-k+f};return i===0&&(h.x=t.x,h.y=t.y),l===0&&(h.x=t.x),k===0&&(h.y=t.y),g.debug(`abc89 top/bottom calc, Q ${k}, q ${f}, R ${l}, r ${i}`,h),h}else{a.x<t.x?i=t.x-s-e:i=e-s-t.x;let f=k*i/l,h=a.x<t.x?a.x+l-i:a.x-l+i,c=a.y<t.y?a.y+f:a.y-f;return g.debug(`sides calc abc89, Q ${k}, q ${f}, R ${l}, r ${i}`,{_x:h,_y:c}),i===0&&(h=t.x,c=t.y),l===0&&(h=t.x),k===0&&(c=t.y),{x:h,y:c}}},"intersection"),ct=p((r,t)=>{g.warn("abc88 cutPathAtIntersect",r,t);let a=[],e=r[0],n=!1;return r.forEach(o=>{if(g.info("abc88 checking point",o,t),!Qt(t,o)&&!n){const s=Nt(t,e,o);g.debug("abc88 inside",o,e,s),g.debug("abc88 intersection",s,t);let i=!1;a.forEach(d=>{i=i||d.x===s.x&&d.y===s.y}),a.some(d=>d.x===s.x&&d.y===s.y)?g.warn("abc88 no intersect",s,a):a.push(s),n=!0}else g.warn("abc88 outside",o,e),e=o,n||a.push(o)}),g.debug("returning points",a),a},"cutPathAtIntersect");function ht(r){const t=[],a=[];for(let e=1;e<r.length-1;e++){const n=r[e-1],o=r[e],s=r[e+1];(n.x===o.x&&o.y===s.y&&Math.abs(o.x-s.x)>5&&Math.abs(o.y-n.y)>5||n.y===o.y&&o.x===s.x&&Math.abs(o.x-n.x)>5&&Math.abs(o.y-s.y)>5)&&(t.push(o),a.push(e))}return{cornerPoints:t,cornerPointPositions:a}}X(ht,"extractCornerPoints");p(ht,"extractCornerPoints");var dt=p(function(r,t,a){const e=t.x-r.x,n=t.y-r.y,o=a/Math.sqrt(e*e+n*n);return{x:t.x-o*e,y:t.y-o*n}},"findAdjacentPoint"),Zt=p(function(r){const{cornerPointPositions:t}=ht(r),a=[];for(let e=0;e<r.length;e++)if(t.includes(e)){const n=r[e-1],o=r[e+1],s=r[e],i=dt(n,s,5),d=dt(o,s,5),k=d.x-i.x,l=d.y-i.y;a.push(i);const f=Math.sqrt(2)*2;let h={x:s.x,y:s.y};if(Math.abs(o.x-n.x)>10&&Math.abs(o.y-n.y)>=10){g.debug("Corner point fixing",Math.abs(o.x-n.x),Math.abs(o.y-n.y));const c=5;s.x===i.x?h={x:k<0?i.x-c+f:i.x+c-f,y:l<0?i.y-f:i.y+f}:h={x:k<0?i.x-f:i.x+f,y:l<0?i.y-c+f:i.y+c-f}}else g.debug("Corner point skipping fixing",Math.abs(o.x-n.x),Math.abs(o.y-n.y));a.push(h,d)}else a.push(r[e]);return a},"fixCorners"),jt=p((r,t,a)=>{const e=r-t-a,n=2,o=2,s=Math.floor(e/4);return`0 ${t} ${Array(Number.isFinite(s)?Math.max(0,s):0).fill(`${n} ${o}`).join(" ")} ${a}`},"generateDashArray"),pr=p(function(r,t,a,e,n,o,s,i=!1){if(!s)throw new Error(`insertEdge: missing diagramId for edge "${t.id}" — edge IDs require a diagram prefix for uniqueness`);const{handDrawnSeed:d,layout:k}=C();let l=t.points,f=!1;const h=n;var c=o;const m=[];for(const x in t.cssCompiledStyles)Tt(x)||m.push(t.cssCompiledStyles[x]);if(k==="swimlane"){if(c.intersect&&h.intersect&&Array.isArray(l)&&l.length>=2)if(l.length===2)l=[h.intersect(l[0]),c.intersect(l[1])];else{const x=l.slice(1,-1),$=x[0],U=x[x.length-1],E=.5,A=Math.abs(l[l.length-1].x-U.x)<E&&Math.abs(l[l.length-1].y-U.y)<E,Y=h.intersect($),W=A?U:c.intersect(U),T=Math.abs(W.x-U.x)<E&&Math.abs(W.y-U.y)<E,I=Math.abs(Y.x-$.x)<E&&Math.abs(Y.y-$.y)<E?[]:[Y],gt=T?[]:[W];l=[...I,...x,...gt]}l=It(t,l)}else c.intersect&&h.intersect&&!i&&(l=l.slice(1,t.points.length-1),l.unshift(h.intersect(l[0])),l.push(c.intersect(l[l.length-1])));const u=btoa(JSON.stringify(l));t.toCluster&&(g.info("to cluster abc88",a.get(t.toCluster)),l=ct(t.points,a.get(t.toCluster).node),f=!0),t.fromCluster&&(g.debug("from cluster abc88",a.get(t.fromCluster),JSON.stringify(l,null,2)),l=ct(l.reverse(),a.get(t.fromCluster).node).reverse(),f=!0);let M=l.filter(x=>!Number.isNaN(x.y));const w=At(t.curve);w!=="rounded"&&(M=Zt(M));let b=at;switch(w){case"linear":b=at;break;case"basis":b=st;break;case"cardinal":b=Ut;break;case"bumpX":b=Et;break;case"bumpY":b=$t;break;case"catmullRom":b=wt;break;case"monotoneX":b=St;break;case"monotoneY":b=Mt;break;case"natural":b=Lt;break;case"step":b=_t;break;case"stepAfter":b=vt;break;case"stepBefore":b=bt;break;case"rounded":b=at;break;default:b=st}const{x:K,y:q}=zt(t),R=Xt().x(K).y(q).curve(b);let O;switch(t.thickness){case"normal":O="edge-thickness-normal";break;case"thick":O="edge-thickness-thick";break;case"invisible":O="edge-thickness-invisible";break;default:O="edge-thickness-normal"}switch(t.pattern){case"solid":O+=" edge-pattern-solid";break;case"dotted":O+=" edge-pattern-dotted";break;case"dashed":O+=" edge-pattern-dashed";break;default:O+=" edge-pattern-solid"}let L,D=w==="rounded"?ft(mt(M,t),5):R(M);const v=Array.isArray(t.style)?t.style:[t.style];let nt=v.find(x=>x?.startsWith("stroke:")),P="";t.animate&&(P="edge-animation-fast"),t.animation&&(P="edge-animation-"+t.animation);let tt=!1;if(t.look==="handDrawn"){const x=Ht.svg(r);Object.assign([],M);const $=x.path(D,{roughness:.3,seed:d});O+=" transition",L=B($).select("path").attr("id",`${s}-${t.id}`).attr("class"," "+O+(t.classes?" "+t.classes:"")+(P?" "+P:"")).attr("style",v?v.reduce((E,A)=>E+";"+A,""):"");let U=L.attr("d");L.attr("d",U),r.node().appendChild(L.node())}else{const x=m.join(";"),$=v?v.reduce((T,I)=>T+I+";",""):"",U=(x?x+";"+$+";":$)+";"+(v?v.reduce((T,I)=>T+";"+I,""):"");L=r.append("path").attr("d",D).attr("id",`${s}-${t.id}`).attr("class"," "+O+(t.classes?" "+t.classes:"")+(P?" "+P:"")).attr("style",U),nt=U.match(/stroke:([^;]+)/)?.[1],tt=t.animate===!0||!!t.animation||x.includes("animation");const E=L.node(),A=typeof E.getTotalLength=="function"?E.getTotalLength():0,Y=it[t.arrowTypeStart]||0,W=it[t.arrowTypeEnd]||0;if(t.look==="neo"&&!tt){const T=`stroke-dasharray: ${t.pattern==="dotted"||t.pattern==="dashed"?jt(A,Y,W):`0 ${Y} ${A-Y-W} ${W}`}; stroke-dashoffset: 0;`;L.attr("style",T+L.attr("style"))}}L.attr("data-edge",!0),L.attr("data-et","edge"),L.attr("data-id",t.id),L.attr("data-points",u),L.attr("data-look",Ot(t.look)),t.showPoints&&M.forEach(x=>{r.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",x.x).attr("cy",x.y)});let F="";(C().flowchart.arrowMarkerAbsolute||C().state.arrowMarkerAbsolute)&&(F=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,F=F.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),g.info("arrowTypeStart",t.arrowTypeStart),g.info("arrowTypeEnd",t.arrowTypeEnd);const kt=!tt&&t?.look==="neo";Ct(L,t,F,s,e,kt,nt);const ut=Math.floor(l.length/2),yt=l[ut];z.isLabelCoordinateInPath(yt,L.attr("d"))||(f=!0);let rt={};return f&&(rt.updatedPath=l),rt.originalPath=t.points,rt},"insertEdge");function ft(r,t){if(r.length<2)return"";let a="";const e=r.length,n=1e-5;for(let o=0;o<e;o++){const s=r[o],i=r[o-1],d=r[o+1];if(o===0)a+=`M${s.x},${s.y}`;else if(o===e-1)a+=`L${s.x},${s.y}`;else{const k=s.x-i.x,l=s.y-i.y,f=d.x-s.x,h=d.y-s.y,c=Math.hypot(k,l),m=Math.hypot(f,h);if(c<n||m<n){a+=`L${s.x},${s.y}`;continue}const u=k/c,M=l/c,w=f/m,b=h/m,K=u*w+M*b,q=Math.acos(Math.max(-1,Math.min(1,K)));if(q<n||Math.abs(Math.PI-q)<n){a+=`L${s.x},${s.y}`;continue}const R=Math.min(t/Math.sin(q/2),c/2,m/2),O=s.x-u*R,L=s.y-M*R,D=s.x+w*R,v=s.y+b*R;a+=`L${O},${L}`,a+=`Q${s.x},${s.y} ${D},${v}`}}return a}X(ft,"generateRoundedPath");p(ft,"generateRoundedPath");function et(r,t){if(!r||!t)return{angle:0,deltaX:0,deltaY:0};const a=t.x-r.x,e=t.y-r.y;return{angle:Math.atan2(e,a),deltaX:a,deltaY:e}}X(et,"calculateDeltaAndAngle2");p(et,"calculateDeltaAndAngle");function mt(r,t){const a=r.map(n=>({...n}));if(r.length>=2&&S[t.arrowTypeStart]){const n=S[t.arrowTypeStart],o=r[0],s=r[1],{angle:i}=et(o,s),d=n*Math.cos(i),k=n*Math.sin(i);a[0].x=o.x+d,a[0].y=o.y+k}const e=r.length;if(e>=2&&S[t.arrowTypeEnd]){const n=S[t.arrowTypeEnd],o=r[e-1],s=r[e-2],{angle:i}=et(s,o),d=n*Math.cos(i),k=n*Math.sin(i);a[e-1].x=o.x-d,a[e-1].y=o.y-k}return a}X(mt,"applyMarkerOffsetsToPoints");p(mt,"applyMarkerOffsetsToPoints");var Vt=p((r,t,a,e)=>{t.forEach(n=>{Dt[n](r,a,e)})},"insertMarkers"),Dt={extension:p((r,t,a)=>{g.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,1 V 13 L18,7 Z"),r.append("marker").attr("id",a+"_"+t+"-extensionStart-margin").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd-margin").attr("class","marker extension "+t).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),composition:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart-margin").attr("class","marker composition "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd-margin").attr("class","marker composition "+t).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),aggregation:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart-margin").attr("class","marker aggregation "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd-margin").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),dependency:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart-margin").attr("class","marker dependency "+t).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd-margin").attr("class","marker dependency "+t).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),lollipop:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart-margin").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd-margin").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),point:p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),circle:p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),cross:p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossEnd-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),r.append("marker").attr("id",a+"_"+t+"-crossStart-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),barb:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),barbNeo:p((r,t,a)=>{const{themeVariables:e}=H(),{transitionColor:n}=e;r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${n}`)},"barbNeo"),hierarchy:p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),only_one:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),zero_or_one:p((r,t,a)=>{const e=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),e.append("path").attr("d","M9,0 L9,18");const n=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),one_or_more:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),zero_or_more:p((r,t,a)=>{const e=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),e.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");const n=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),only_one_neo:p((r,t,a)=>{const{themeVariables:e}=H(),{strokeWidth:n}=e;r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${n}`),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${n}`)},"only_one_neo"),zero_or_one_neo:p((r,t,a)=>{const{themeVariables:e}=H(),{strokeWidth:n,mainBkg:o}=e,s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");s.append("circle").attr("fill",o??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${n}`).attr("r",6),s.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${n}`);const i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");i.append("circle").attr("fill",o??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${n}`).attr("r",6),i.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${n}`)},"zero_or_one_neo"),one_or_more_neo:p((r,t,a)=>{const{themeVariables:e}=H(),{strokeWidth:n}=e;r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${n}`),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${n}`)},"one_or_more_neo"),zero_or_more_neo:p((r,t,a)=>{const{themeVariables:e}=H(),{strokeWidth:n,mainBkg:o}=e,s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");s.append("circle").attr("fill",o??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${n}`),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${n}`);const i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");i.append("circle").attr("fill",o??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${n}`),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${n}`)},"zero_or_more_neo"),requirement_arrow:p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
@@ -1,2 +1,2 @@
1
- var Lt=Object.defineProperty;var s=(t,i)=>Lt(t,"name",{value:i,configurable:!0});import{n as c}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m,p as Dt}from"./src-DYjgETqR.js";import{R as Ft,h as E,p as Wt,r as st,s as L}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{t as zt}from"./dist-CTlCK4Pe.js";function rt(t){this._context=t}s(rt,"Linear");rt.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._context.lineTo(t,i)}},"point")};function Tt(t){return new rt(t)}s(Tt,"linear_default");var ht=class{static{s(this,"Bump")}constructor(t,i){this._context=t,this._x=i}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,i,t,i):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+i)/2,t,this._y0,t,i)}this._x0=t,this._y0=i}};function jt(t){return new ht(t,!0)}s(jt,"bumpX");function Ht(t){return new ht(t,!1)}s(Ht,"bumpY");function x(){}s(x,"noop_default");function N(t,i,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+i)/6,(t._y0+4*t._y1+n)/6)}s(N,"point$3");function P(t){this._context=t}s(P,"Basis");P.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 3:N(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:N(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i},"point")};function Ut(t){return new P(t)}s(Ut,"basis_default");function ot(t){this._context=t}s(ot,"BasisClosed");ot.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x2=t,this._y2=i;break;case 1:this._point=2,this._x3=t,this._y3=i;break;case 2:this._point=3,this._x4=t,this._y4=i,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+i)/6);break;default:N(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i},"point")};function Xt(t){return new ot(t)}s(Xt,"basisClosed_default");function at(t){this._context=t}s(at,"BasisOpen");at.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,e=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 3:this._point=4;default:N(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i},"point")};function Yt(t){return new at(t)}s(Yt,"basisOpen_default");function _t(t,i){this._basis=new P(t),this._beta=i}s(_t,"Bundle");_t.prototype={lineStart:s(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:s(function(){var t=this._x,i=this._y,n=t.length-1;if(n>0)for(var e=t[0],h=i[0],o=t[n]-e,r=i[n]-h,a=-1,_;++a<=n;)_=a/n,this._basis.point(this._beta*t[a]+(1-this._beta)*(e+_*o),this._beta*i[a]+(1-this._beta)*(h+_*r));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:s(function(t,i){this._x.push(+t),this._y.push(+i)},"point")};var qt=s((function t(i){function n(e){return i===1?new P(e):new _t(e,i)}return s(n,"bundle"),n.beta=function(e){return t(+e)},n}),"custom")(.85);function A(t,i,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-i),t._y2+t._k*(t._y1-n),t._x2,t._y2)}s(A,"point$2");function D(t,i){this._context=t,this._k=(1-i)/6}s(D,"Cardinal");D.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:A(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2,this._x1=t,this._y1=i;break;case 2:this._point=3;default:A(this,t,i)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Kt=s((function t(i){function n(e){return new D(e,i)}return s(n,"cardinal"),n.tension=function(e){return t(+e)},n}),"custom")(0);function F(t,i){this._context=t,this._k=(1-i)/6}s(F,"CardinalClosed");F.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:A(this,t,i)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Gt=s((function t(i){function n(e){return new F(e,i)}return s(n,"cardinal"),n.tension=function(e){return t(+e)},n}),"custom")(0);function W(t,i){this._context=t,this._k=(1-i)/6}s(W,"CardinalOpen");W.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:A(this,t,i)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Jt=s((function t(i){function n(e){return new W(e,i)}return s(n,"cardinal"),n.tension=function(e){return t(+e)},n}),"custom")(0);function z(t,i,n){var e=t._x1,h=t._y1,o=t._x2,r=t._y2;if(t._l01_a>1e-12){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,_=3*t._l01_a*(t._l01_a+t._l12_a);e=(e*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/_,h=(h*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/_}if(t._l23_a>1e-12){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-i*t._l12_2a)/l,r=(r*f+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(e,h,o,r,t._x2,t._y2)}s(z,"point$1");function ct(t,i){this._context=t,this._alpha=i}s(ct,"CatmullRom");ct.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,e=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+e*e,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3;default:z(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Zt=s((function t(i){function n(e){return i?new ct(e,i):new D(e,0)}return s(n,"catmullRom"),n.alpha=function(e){return t(+e)},n}),"custom")(.5);function ft(t,i){this._context=t,this._alpha=i}s(ft,"CatmullRomClosed");ft.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},"lineEnd"),point:s(function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,e=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+e*e,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:z(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Qt=s((function t(i){function n(e){return i?new ft(e,i):new F(e,0)}return s(n,"catmullRom"),n.alpha=function(e){return t(+e)},n}),"custom")(.5);function lt(t,i){this._context=t,this._alpha=i}s(lt,"CatmullRomOpen");lt.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,e=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+e*e,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:z(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Vt=s((function t(i){function n(e){return i?new lt(e,i):new W(e,0)}return s(n,"catmullRom"),n.alpha=function(e){return t(+e)},n}),"custom")(.5);function ut(t){this._context=t}s(ut,"LinearClosed");ut.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._point=0},"lineStart"),lineEnd:s(function(){this._point&&this._context.closePath()},"lineEnd"),point:s(function(t,i){t=+t,i=+i,this._point?this._context.lineTo(t,i):(this._point=1,this._context.moveTo(t,i))},"point")};function Ct(t){return new ut(t)}s(Ct,"linearClosed_default");function J(t){return t<0?-1:1}s(J,"sign");function Z(t,i,n){var e=t._x1-t._x0,h=i-t._x1,o=(t._y1-t._y0)/(e||h<0&&-0),r=(n-t._y1)/(h||e<0&&-0),a=(o*h+r*e)/(e+h);return(J(o)+J(r))*Math.min(Math.abs(o),Math.abs(r),.5*Math.abs(a))||0}s(Z,"slope3");function Q(t,i){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-i)/2:i}s(Q,"slope2");function B(t,i,n){var e=t._x0,h=t._y0,o=t._x1,r=t._y1,a=(o-e)/3;t._context.bezierCurveTo(e+a,h+a*i,o-a,r-a*n,o,r)}s(B,"point");function M(t){this._context=t}s(M,"MonotoneX");M.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:B(this,this._t0,Q(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){var n=NaN;if(t=+t,i=+i,!(t===this._x1&&i===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,B(this,Q(this,n=Z(this,t,i)),n);break;default:B(this,this._t0,n=Z(this,t,i))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i,this._t0=n}},"point")};function pt(t){this._context=new yt(t)}s(pt,"MonotoneY");(pt.prototype=Object.create(M.prototype)).point=function(t,i){M.prototype.point.call(this,i,t)};function yt(t){this._context=t}s(yt,"ReflectContext");yt.prototype={moveTo:s(function(t,i){this._context.moveTo(i,t)},"moveTo"),closePath:s(function(){this._context.closePath()},"closePath"),lineTo:s(function(t,i){this._context.lineTo(i,t)},"lineTo"),bezierCurveTo:s(function(t,i,n,e,h,o){this._context.bezierCurveTo(i,t,e,n,o,h)},"bezierCurveTo")};function ti(t){return new M(t)}s(ti,"monotoneX");function ii(t){return new pt(t)}s(ii,"monotoneY");function dt(t){this._context=t}s(dt,"Natural");dt.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:s(function(){var t=this._x,i=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],i[0]):this._context.moveTo(t[0],i[0]),n===2)this._context.lineTo(t[1],i[1]);else for(var e=V(t),h=V(i),o=0,r=1;r<n;++o,++r)this._context.bezierCurveTo(e[0][o],h[0][o],e[1][o],h[1][o],t[r],i[r]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},"lineEnd"),point:s(function(t,i){this._x.push(+t),this._y.push(+i)},"point")};function V(t){var i,n=t.length-1,e,h=new Array(n),o=new Array(n),r=new Array(n);for(h[0]=0,o[0]=2,r[0]=t[0]+2*t[1],i=1;i<n-1;++i)h[i]=1,o[i]=4,r[i]=4*t[i]+2*t[i+1];for(h[n-1]=2,o[n-1]=7,r[n-1]=8*t[n-1]+t[n],i=1;i<n;++i)e=h[i]/o[i-1],o[i]-=e,r[i]-=e*r[i-1];for(h[n-1]=r[n-1]/o[n-1],i=n-2;i>=0;--i)h[i]=(r[i]-h[i+1])/o[i];for(o[n-1]=(t[n]+h[n-1])/2,i=0;i<n-1;++i)o[i]=2*t[i+1]-h[i+1];return[h,o]}s(V,"controlPoints");function ei(t){return new dt(t)}s(ei,"natural_default");function $(t,i){this._context=t,this._t=i}s($,"Step");$.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x=this._y=NaN,this._point=0},"lineStart"),lineEnd:s(function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(t,i);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,i)}}this._x=t,this._y=i},"point")};function ni(t){return new $(t,.5)}s(ni,"step_default");function si(t){return new $(t,0)}s(si,"stepBefore");function ri(t){return new $(t,1)}s(ri,"stepAfter");function I(t){if(typeof t!="object"||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!=="[object Object]"){const n=t[Symbol.toStringTag];return n==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${n}]`}let i=t;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(t)===i}s(I,"isPlainObject");function hi(){}s(hi,"noop");function xt(t){return Object.getOwnPropertySymbols(t).filter(i=>Object.prototype.propertyIsEnumerable.call(t,i))}s(xt,"getSymbols");function T(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}s(T,"getTag");var oi="[object RegExp]",gt="[object String]",mt="[object Number]",wt="[object Boolean]",bt="[object Arguments]",ai="[object Symbol]",_i="[object Date]",ci="[object Map]",fi="[object Set]",li="[object Array]",ui="[object ArrayBuffer]",pi="[object Object]",yi="[object DataView]",di="[object Uint8Array]",xi="[object Uint8ClampedArray]",gi="[object Uint16Array]",mi="[object Uint32Array]",wi="[object Int8Array]",bi="[object Int16Array]",vi="[object Int32Array]",Si="[object Float32Array]",Ei="[object Float64Array]",C=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function vt(t){return typeof C.Buffer<"u"&&C.Buffer.isBuffer(t)}s(vt,"isBuffer");function Oi(t){return Number.isSafeInteger(t)&&t>=0}s(Oi,"isLength");function Ni(t){return t!=null&&typeof t!="function"&&Oi(t.length)}s(Ni,"isArrayLike");function Ai(t){return t==="__proto__"}s(Ai,"isUnsafeProperty");function j(t){return t==null||typeof t!="object"&&typeof t!="function"}s(j,"isPrimitive");function H(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}s(H,"isTypedArray$1");function Mi(t,i){return g(t,void 0,t,new Map,i)}s(Mi,"cloneDeepWith$1");function g(t,i,n,e=new Map,h=void 0){const o=h?.(t,i,n,e);if(o!==void 0)return o;if(j(t))return t;if(e.has(t))return e.get(t);if(Array.isArray(t)){const r=new Array(t.length);e.set(t,r);for(let a=0;a<t.length;a++)r[a]=g(t[a],a,n,e,h);return Object.hasOwn(t,"index")&&(r.index=t.index),Object.hasOwn(t,"input")&&(r.input=t.input),r}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const r=new RegExp(t.source,t.flags);return r.lastIndex=t.lastIndex,r}if(t instanceof Map){const r=new Map;e.set(t,r);for(const[a,_]of t)r.set(a,g(_,a,n,e,h));return r}if(t instanceof Set){const r=new Set;e.set(t,r);for(const a of t)r.add(g(a,void 0,n,e,h));return r}if(vt(t))return t.subarray();if(H(t)){const r=new(Object.getPrototypeOf(t)).constructor(t.length);e.set(t,r);for(let a=0;a<t.length;a++)r[a]=g(t[a],a,n,e,h);return r}if(t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const r=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return e.set(t,r),p(r,t,n,e,h),r}if(typeof File<"u"&&t instanceof File){const r=new File([t],t.name,{type:t.type});return e.set(t,r),p(r,t,n,e,h),r}if(typeof Blob<"u"&&t instanceof Blob){const r=new Blob([t],{type:t.type});return e.set(t,r),p(r,t,n,e,h),r}if(t instanceof Error){const r=structuredClone(t);return e.set(t,r),r.message=t.message,r.name=t.name,r.stack=t.stack,r.cause=t.cause,r.constructor=t.constructor,p(r,t,n,e,h),r}if(t instanceof Boolean){const r=new Boolean(t.valueOf());return e.set(t,r),p(r,t,n,e,h),r}if(t instanceof Number){const r=new Number(t.valueOf());return e.set(t,r),p(r,t,n,e,h),r}if(t instanceof String){const r=new String(t.valueOf());return e.set(t,r),p(r,t,n,e,h),r}if(typeof t=="object"&&Pi(t)){const r=Object.create(Object.getPrototypeOf(t));return e.set(t,r),p(r,t,n,e,h),r}return t}s(g,"cloneDeepWithImpl");function p(t,i,n=t,e,h){const o=[...Object.keys(i),...xt(i)];for(let r=0;r<o.length;r++){const a=o[r],_=Object.getOwnPropertyDescriptor(t,a);(_==null||_.writable)&&(t[a]=g(i[a],a,n,e,h))}}s(p,"copyProperties");function Pi(t){switch(T(t)){case bt:case li:case ui:case yi:case wt:case _i:case Si:case Ei:case wi:case bi:case vi:case ci:case mt:case pi:case oi:case fi:case gt:case ai:case di:case xi:case gi:case mi:return!0;default:return!1}}s(Pi,"isCloneableObject");function $i(t,i){return Mi(t,(n,e,h,o)=>{const r=i?.(n,e,h,o);if(r!==void 0)return r;if(typeof t=="object"){if(T(t)==="[object Object]"&&typeof t.constructor!="function"){const a={};return o.set(t,a),p(a,t,h,o),a}switch(Object.prototype.toString.call(t)){case mt:case gt:case wt:{const a=new t.constructor(t?.valueOf());return p(a,t),a}case bt:{const a={};return p(a,t),a.length=t.length,a[Symbol.iterator]=t[Symbol.iterator],a}default:return}}})}s($i,"cloneDeepWith");function tt(t){return $i(t)}s(tt,"cloneDeep");function it(t){return t!==null&&typeof t=="object"&&T(t)==="[object Arguments]"}s(it,"isArguments");function R(t){return typeof t=="object"&&t!==null}s(R,"isObjectLike");function Bi(t){return R(t)&&Ni(t)}s(Bi,"isArrayLikeObject");function k(t){return H(t)}s(k,"isTypedArray");function b(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new TypeError("Expected a function");const n=s(function(...e){const h=i?i.apply(this,e):e[0],o=n.cache;if(o.has(h))return o.get(h);const r=t.apply(this,e);return n.cache=o.set(h,r)||o,r},"memoized");return n.cache=new(b.Cache||Map),n}s(b,"memoize");b.Cache=Map;function Ii(t){if(j(t))return t;if(Array.isArray(t)||H(t)||t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);const i=Object.getPrototypeOf(t);if(i==null)return Object.assign(Object.create(i),t);const n=i.constructor;if(t instanceof Date||t instanceof Map||t instanceof Set)return new n(t);if(t instanceof RegExp){const e=new n(t);return e.lastIndex=t.lastIndex,e}if(t instanceof DataView)return new n(t.buffer.slice(0));if(t instanceof Error){let e;return t instanceof AggregateError?e=new n(t.errors,t.message,{cause:t.cause}):e=new n(t.message,{cause:t.cause}),e.stack=t.stack,Object.assign(e,t),e}return typeof File<"u"&&t instanceof File?new n([t],t.name,{type:t.type,lastModified:t.lastModified}):typeof t=="object"?Object.assign(Object.create(i),t):t}s(Ii,"clone");function ki(t,...i){const n=i.slice(0,-1),e=i[i.length-1];let h=t;for(let o=0;o<n.length;o++){const r=n[o];h=O(h,r,e,new Map)}return h}s(ki,"mergeWith");function O(t,i,n,e){if(j(t)&&(t=Object(t)),i==null||typeof i!="object")return t;if(e.has(i))return Ii(e.get(i));if(e.set(i,t),Array.isArray(i)){i=i.slice();for(let o=0;o<i.length;o++)o in i||(i[o]=void 0)}const h=[...Object.keys(i),...xt(i)];for(let o=0;o<h.length;o++){const r=h[o];if(Ai(r))continue;let a=i[r],_=t[r];if(it(a)&&(a={...a}),it(_)&&(_={..._}),vt(a)&&(a=tt(a)),Array.isArray(a))if(Array.isArray(_)){const l=[],u=Reflect.ownKeys(_);for(let y=0;y<u.length;y++){const d=u[y];l[d]=_[d]}_=l}else if(Bi(_)){const l=[];for(let u=0;u<_.length;u++)l[u]=_[u];_=l}else _=[];const f=n(_,a,r,t,i,e);f!==void 0?t[r]=f:Array.isArray(a)||R(_)&&R(a)&&(I(_)||I(a)||k(_)||k(a))?t[r]=O(_,a,n,e):_==null&&I(a)?t[r]=O({},a,n,e):_==null&&k(a)?t[r]=tt(a):(_===void 0||a!==void 0)&&(t[r]=a)}return t}s(O,"mergeWithDeep");function Ri(t,...i){return ki(t,...i,hi)}s(Ri,"merge");var Li=zt();var Di={curveBasis:Ut,curveBasisClosed:Xt,curveBasisOpen:Yt,curveBumpX:jt,curveBumpY:Ht,curveBundle:qt,curveCardinalClosed:Gt,curveCardinalOpen:Jt,curveCardinal:Kt,curveCatmullRomClosed:Qt,curveCatmullRomOpen:Vt,curveCatmullRom:Zt,curveLinear:Tt,curveLinearClosed:Ct,curveMonotoneX:ti,curveMonotoneY:ii,curveNatural:ei,curveStep:ni,curveStepAfter:ri,curveStepBefore:si},Fi=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Wi=c(function(t,i){const n=St(t,/(?:init\b)|(?:initialize\b)/);let e={};if(Array.isArray(n)){const r=n.map(a=>a.args);Ft(r),e=st(e,[...r])}else e=n.args;if(!e)return;let h=Wt(t,i);const o="config";return e[o]!==void 0&&(h==="flowchart-v2"&&(h="flowchart"),e[h]=e[o],delete e[o]),e},"detectInit"),St=c(function(t,i=null){try{const n=new RegExp(`[%]{2}(?![{]${Fi.source})(?=[}][%]{2}).*
1
+ var Lt=Object.defineProperty;var s=(t,i)=>Lt(t,"name",{value:i,configurable:!0});import{n as c}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m,p as Dt}from"./src-DYjgETqR.js";import{R as Ft,h as E,p as Wt,r as st,s as L}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{t as zt}from"./dist-CTlCK4Pe.js";function rt(t){this._context=t}s(rt,"Linear");rt.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._context.lineTo(t,i)}},"point")};function Tt(t){return new rt(t)}s(Tt,"linear_default");var ht=class{static{s(this,"Bump")}constructor(t,i){this._context=t,this._x=i}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,i,t,i):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+i)/2,t,this._y0,t,i)}this._x0=t,this._y0=i}};function jt(t){return new ht(t,!0)}s(jt,"bumpX");function Ht(t){return new ht(t,!1)}s(Ht,"bumpY");function x(){}s(x,"noop_default");function N(t,i,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+i)/6,(t._y0+4*t._y1+n)/6)}s(N,"point$3");function P(t){this._context=t}s(P,"Basis");P.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 3:N(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:N(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i},"point")};function Ut(t){return new P(t)}s(Ut,"basis_default");function ot(t){this._context=t}s(ot,"BasisClosed");ot.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x2=t,this._y2=i;break;case 1:this._point=2,this._x3=t,this._y3=i;break;case 2:this._point=3,this._x4=t,this._y4=i,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+i)/6);break;default:N(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i},"point")};function Xt(t){return new ot(t)}s(Xt,"basisClosed_default");function at(t){this._context=t}s(at,"BasisOpen");at.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,e=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(n,e):this._context.moveTo(n,e);break;case 3:this._point=4;default:N(this,t,i)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i},"point")};function Yt(t){return new at(t)}s(Yt,"basisOpen_default");function _t(t,i){this._basis=new P(t),this._beta=i}s(_t,"Bundle");_t.prototype={lineStart:s(function(){this._x=[],this._y=[],this._basis.lineStart()},"lineStart"),lineEnd:s(function(){var t=this._x,i=this._y,n=t.length-1;if(n>0)for(var e=t[0],h=i[0],o=t[n]-e,r=i[n]-h,a=-1,_;++a<=n;)_=a/n,this._basis.point(this._beta*t[a]+(1-this._beta)*(e+_*o),this._beta*i[a]+(1-this._beta)*(h+_*r));this._x=this._y=null,this._basis.lineEnd()},"lineEnd"),point:s(function(t,i){this._x.push(+t),this._y.push(+i)},"point")};var qt=s((function t(i){function n(e){return i===1?new P(e):new _t(e,i)}return s(n,"bundle"),n.beta=function(e){return t(+e)},n}),"custom")(.85);function A(t,i,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-i),t._y2+t._k*(t._y1-n),t._x2,t._y2)}s(A,"point$2");function D(t,i){this._context=t,this._k=(1-i)/6}s(D,"Cardinal");D.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:A(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2,this._x1=t,this._y1=i;break;case 2:this._point=3;default:A(this,t,i)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Kt=s((function t(i){function n(e){return new D(e,i)}return s(n,"cardinal"),n.tension=function(e){return t(+e)},n}),"custom")(0);function F(t,i){this._context=t,this._k=(1-i)/6}s(F,"CardinalClosed");F.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:A(this,t,i)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Gt=s((function t(i){function n(e){return new F(e,i)}return s(n,"cardinal"),n.tension=function(e){return t(+e)},n}),"custom")(0);function W(t,i){this._context=t,this._k=(1-i)/6}s(W,"CardinalOpen");W.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:A(this,t,i)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Jt=s((function t(i){function n(e){return new W(e,i)}return s(n,"cardinal"),n.tension=function(e){return t(+e)},n}),"custom")(0);function z(t,i,n){var e=t._x1,h=t._y1,o=t._x2,r=t._y2;if(t._l01_a>1e-12){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,_=3*t._l01_a*(t._l01_a+t._l12_a);e=(e*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/_,h=(h*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/_}if(t._l23_a>1e-12){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-i*t._l12_2a)/l,r=(r*f+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(e,h,o,r,t._x2,t._y2)}s(z,"point$1");function ct(t,i){this._context=t,this._alpha=i}s(ct,"CatmullRom");ct.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,e=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+e*e,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3;default:z(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Zt=s((function t(i){function n(e){return i?new ct(e,i):new D(e,0)}return s(n,"catmullRom"),n.alpha=function(e){return t(+e)},n}),"custom")(.5);function ft(t,i){this._context=t,this._alpha=i}s(ft,"CatmullRomClosed");ft.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},"lineEnd"),point:s(function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,e=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+e*e,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:z(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Qt=s((function t(i){function n(e){return i?new ft(e,i):new F(e,0)}return s(n,"catmullRom"),n.alpha=function(e){return t(+e)},n}),"custom")(.5);function lt(t,i){this._context=t,this._alpha=i}s(lt,"CatmullRomOpen");lt.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},"lineStart"),lineEnd:s(function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,e=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+e*e,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:z(this,t,i)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i},"point")};var Vt=s((function t(i){function n(e){return i?new lt(e,i):new W(e,0)}return s(n,"catmullRom"),n.alpha=function(e){return t(+e)},n}),"custom")(.5);function ut(t){this._context=t}s(ut,"LinearClosed");ut.prototype={areaStart:x,areaEnd:x,lineStart:s(function(){this._point=0},"lineStart"),lineEnd:s(function(){this._point&&this._context.closePath()},"lineEnd"),point:s(function(t,i){t=+t,i=+i,this._point?this._context.lineTo(t,i):(this._point=1,this._context.moveTo(t,i))},"point")};function Ct(t){return new ut(t)}s(Ct,"linearClosed_default");function J(t){return t<0?-1:1}s(J,"sign");function Z(t,i,n){var e=t._x1-t._x0,h=i-t._x1,o=(t._y1-t._y0)/(e||h<0&&-0),r=(n-t._y1)/(h||e<0&&-0),a=(o*h+r*e)/(e+h);return(J(o)+J(r))*Math.min(Math.abs(o),Math.abs(r),.5*Math.abs(a))||0}s(Z,"slope3");function Q(t,i){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-i)/2:i}s(Q,"slope2");function B(t,i,n){var e=t._x0,h=t._y0,o=t._x1,r=t._y1,a=(o-e)/3;t._context.bezierCurveTo(e+a,h+a*i,o-a,r-a*n,o,r)}s(B,"point");function M(t){this._context=t}s(M,"MonotoneX");M.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},"lineStart"),lineEnd:s(function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:B(this,this._t0,Q(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},"lineEnd"),point:s(function(t,i){var n=NaN;if(t=+t,i=+i,!(t===this._x1&&i===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,B(this,Q(this,n=Z(this,t,i)),n);break;default:B(this,this._t0,n=Z(this,t,i))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i,this._t0=n}},"point")};function pt(t){this._context=new yt(t)}s(pt,"MonotoneY");(pt.prototype=Object.create(M.prototype)).point=function(t,i){M.prototype.point.call(this,i,t)};function yt(t){this._context=t}s(yt,"ReflectContext");yt.prototype={moveTo:s(function(t,i){this._context.moveTo(i,t)},"moveTo"),closePath:s(function(){this._context.closePath()},"closePath"),lineTo:s(function(t,i){this._context.lineTo(i,t)},"lineTo"),bezierCurveTo:s(function(t,i,n,e,h,o){this._context.bezierCurveTo(i,t,e,n,o,h)},"bezierCurveTo")};function ti(t){return new M(t)}s(ti,"monotoneX");function ii(t){return new pt(t)}s(ii,"monotoneY");function dt(t){this._context=t}s(dt,"Natural");dt.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x=[],this._y=[]},"lineStart"),lineEnd:s(function(){var t=this._x,i=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],i[0]):this._context.moveTo(t[0],i[0]),n===2)this._context.lineTo(t[1],i[1]);else for(var e=V(t),h=V(i),o=0,r=1;r<n;++o,++r)this._context.bezierCurveTo(e[0][o],h[0][o],e[1][o],h[1][o],t[r],i[r]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},"lineEnd"),point:s(function(t,i){this._x.push(+t),this._y.push(+i)},"point")};function V(t){var i,n=t.length-1,e,h=new Array(n),o=new Array(n),r=new Array(n);for(h[0]=0,o[0]=2,r[0]=t[0]+2*t[1],i=1;i<n-1;++i)h[i]=1,o[i]=4,r[i]=4*t[i]+2*t[i+1];for(h[n-1]=2,o[n-1]=7,r[n-1]=8*t[n-1]+t[n],i=1;i<n;++i)e=h[i]/o[i-1],o[i]-=e,r[i]-=e*r[i-1];for(h[n-1]=r[n-1]/o[n-1],i=n-2;i>=0;--i)h[i]=(r[i]-h[i+1])/o[i];for(o[n-1]=(t[n]+h[n-1])/2,i=0;i<n-1;++i)o[i]=2*t[i+1]-h[i+1];return[h,o]}s(V,"controlPoints");function ei(t){return new dt(t)}s(ei,"natural_default");function $(t,i){this._context=t,this._t=i}s($,"Step");$.prototype={areaStart:s(function(){this._line=0},"areaStart"),areaEnd:s(function(){this._line=NaN},"areaEnd"),lineStart:s(function(){this._x=this._y=NaN,this._point=0},"lineStart"),lineEnd:s(function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},"lineEnd"),point:s(function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(t,i);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,i)}}this._x=t,this._y=i},"point")};function ni(t){return new $(t,.5)}s(ni,"step_default");function si(t){return new $(t,0)}s(si,"stepBefore");function ri(t){return new $(t,1)}s(ri,"stepAfter");function I(t){if(typeof t!="object"||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!=="[object Object]"){const n=t[Symbol.toStringTag];return n==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${n}]`}let i=t;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(t)===i}s(I,"isPlainObject");function hi(){}s(hi,"noop");function xt(t){return Object.getOwnPropertySymbols(t).filter(i=>Object.prototype.propertyIsEnumerable.call(t,i))}s(xt,"getSymbols");function T(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}s(T,"getTag");var oi="[object RegExp]",gt="[object String]",mt="[object Number]",wt="[object Boolean]",bt="[object Arguments]",ai="[object Symbol]",_i="[object Date]",ci="[object Map]",fi="[object Set]",li="[object Array]",ui="[object ArrayBuffer]",pi="[object Object]",yi="[object DataView]",di="[object Uint8Array]",xi="[object Uint8ClampedArray]",gi="[object Uint16Array]",mi="[object Uint32Array]",wi="[object Int8Array]",bi="[object Int16Array]",vi="[object Int32Array]",Si="[object Float32Array]",Ei="[object Float64Array]",C=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function vt(t){return typeof C.Buffer<"u"&&C.Buffer.isBuffer(t)}s(vt,"isBuffer");function Oi(t){return Number.isSafeInteger(t)&&t>=0}s(Oi,"isLength");function Ni(t){return t!=null&&typeof t!="function"&&Oi(t.length)}s(Ni,"isArrayLike");function Ai(t){return t==="__proto__"}s(Ai,"isUnsafeProperty");function j(t){return t==null||typeof t!="object"&&typeof t!="function"}s(j,"isPrimitive");function H(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}s(H,"isTypedArray$1");function Mi(t,i){return g(t,void 0,t,new Map,i)}s(Mi,"cloneDeepWith$1");function g(t,i,n,e=new Map,h=void 0){const o=h?.(t,i,n,e);if(o!==void 0)return o;if(j(t))return t;if(e.has(t))return e.get(t);if(Array.isArray(t)){const r=new Array(t.length);e.set(t,r);for(let a=0;a<t.length;a++)r[a]=g(t[a],a,n,e,h);return Object.hasOwn(t,"index")&&(r.index=t.index),Object.hasOwn(t,"input")&&(r.input=t.input),r}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const r=new RegExp(t.source,t.flags);return r.lastIndex=t.lastIndex,r}if(t instanceof Map){const r=new Map;e.set(t,r);for(const[a,_]of t)r.set(a,g(_,a,n,e,h));return r}if(t instanceof Set){const r=new Set;e.set(t,r);for(const a of t)r.add(g(a,void 0,n,e,h));return r}if(vt(t))return t.subarray();if(H(t)){const r=new(Object.getPrototypeOf(t)).constructor(t.length);e.set(t,r);for(let a=0;a<t.length;a++)r[a]=g(t[a],a,n,e,h);return r}if(t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const r=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return e.set(t,r),p(r,t,n,e,h),r}if(typeof File<"u"&&t instanceof File){const r=new File([t],t.name,{type:t.type});return e.set(t,r),p(r,t,n,e,h),r}if(typeof Blob<"u"&&t instanceof Blob){const r=new Blob([t],{type:t.type});return e.set(t,r),p(r,t,n,e,h),r}if(t instanceof Error){const r=structuredClone(t);return e.set(t,r),r.message=t.message,r.name=t.name,r.stack=t.stack,r.cause=t.cause,r.constructor=t.constructor,p(r,t,n,e,h),r}if(t instanceof Boolean){const r=new Boolean(t.valueOf());return e.set(t,r),p(r,t,n,e,h),r}if(t instanceof Number){const r=new Number(t.valueOf());return e.set(t,r),p(r,t,n,e,h),r}if(t instanceof String){const r=new String(t.valueOf());return e.set(t,r),p(r,t,n,e,h),r}if(typeof t=="object"&&Pi(t)){const r=Object.create(Object.getPrototypeOf(t));return e.set(t,r),p(r,t,n,e,h),r}return t}s(g,"cloneDeepWithImpl");function p(t,i,n=t,e,h){const o=[...Object.keys(i),...xt(i)];for(let r=0;r<o.length;r++){const a=o[r],_=Object.getOwnPropertyDescriptor(t,a);(_==null||_.writable)&&(t[a]=g(i[a],a,n,e,h))}}s(p,"copyProperties");function Pi(t){switch(T(t)){case bt:case li:case ui:case yi:case wt:case _i:case Si:case Ei:case wi:case bi:case vi:case ci:case mt:case pi:case oi:case fi:case gt:case ai:case di:case xi:case gi:case mi:return!0;default:return!1}}s(Pi,"isCloneableObject");function $i(t,i){return Mi(t,(n,e,h,o)=>{const r=i?.(n,e,h,o);if(r!==void 0)return r;if(typeof t=="object"){if(T(t)==="[object Object]"&&typeof t.constructor!="function"){const a={};return o.set(t,a),p(a,t,h,o),a}switch(Object.prototype.toString.call(t)){case mt:case gt:case wt:{const a=new t.constructor(t?.valueOf());return p(a,t),a}case bt:{const a={};return p(a,t),a.length=t.length,a[Symbol.iterator]=t[Symbol.iterator],a}default:return}}})}s($i,"cloneDeepWith");function tt(t){return $i(t)}s(tt,"cloneDeep");function it(t){return t!==null&&typeof t=="object"&&T(t)==="[object Arguments]"}s(it,"isArguments");function R(t){return typeof t=="object"&&t!==null}s(R,"isObjectLike");function Bi(t){return R(t)&&Ni(t)}s(Bi,"isArrayLikeObject");function k(t){return H(t)}s(k,"isTypedArray");function b(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new TypeError("Expected a function");const n=s(function(...e){const h=i?i.apply(this,e):e[0],o=n.cache;if(o.has(h))return o.get(h);const r=t.apply(this,e);return n.cache=o.set(h,r)||o,r},"memoized");return n.cache=new(b.Cache||Map),n}s(b,"memoize");b.Cache=Map;function Ii(t){if(j(t))return t;if(Array.isArray(t)||H(t)||t instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer)return t.slice(0);const i=Object.getPrototypeOf(t);if(i==null)return Object.assign(Object.create(i),t);const n=i.constructor;if(t instanceof Date||t instanceof Map||t instanceof Set)return new n(t);if(t instanceof RegExp){const e=new n(t);return e.lastIndex=t.lastIndex,e}if(t instanceof DataView)return new n(t.buffer.slice(0));if(t instanceof Error){let e;return t instanceof AggregateError?e=new n(t.errors,t.message,{cause:t.cause}):e=new n(t.message,{cause:t.cause}),e.stack=t.stack,Object.assign(e,t),e}return typeof File<"u"&&t instanceof File?new n([t],t.name,{type:t.type,lastModified:t.lastModified}):typeof t=="object"?Object.assign(Object.create(i),t):t}s(Ii,"clone");function ki(t,...i){const n=i.slice(0,-1),e=i[i.length-1];let h=t;for(let o=0;o<n.length;o++){const r=n[o];h=O(h,r,e,new Map)}return h}s(ki,"mergeWith");function O(t,i,n,e){if(j(t)&&(t=Object(t)),i==null||typeof i!="object")return t;if(e.has(i))return Ii(e.get(i));if(e.set(i,t),Array.isArray(i)){i=i.slice();for(let o=0;o<i.length;o++)o in i||(i[o]=void 0)}const h=[...Object.keys(i),...xt(i)];for(let o=0;o<h.length;o++){const r=h[o];if(Ai(r))continue;let a=i[r],_=t[r];if(it(a)&&(a={...a}),it(_)&&(_={..._}),vt(a)&&(a=tt(a)),Array.isArray(a))if(Array.isArray(_)){const l=[],u=Reflect.ownKeys(_);for(let y=0;y<u.length;y++){const d=u[y];l[d]=_[d]}_=l}else if(Bi(_)){const l=[];for(let u=0;u<_.length;u++)l[u]=_[u];_=l}else _=[];const f=n(_,a,r,t,i,e);f!==void 0?t[r]=f:Array.isArray(a)||R(_)&&R(a)&&(I(_)||I(a)||k(_)||k(a))?t[r]=O(_,a,n,e):_==null&&I(a)?t[r]=O({},a,n,e):_==null&&k(a)?t[r]=tt(a):(_===void 0||a!==void 0)&&(t[r]=a)}return t}s(O,"mergeWithDeep");function Ri(t,...i){return ki(t,...i,hi)}s(Ri,"merge");var Li=zt();var Di={curveBasis:Ut,curveBasisClosed:Xt,curveBasisOpen:Yt,curveBumpX:jt,curveBumpY:Ht,curveBundle:qt,curveCardinalClosed:Gt,curveCardinalOpen:Jt,curveCardinal:Kt,curveCatmullRomClosed:Qt,curveCatmullRomOpen:Vt,curveCatmullRom:Zt,curveLinear:Tt,curveLinearClosed:Ct,curveMonotoneX:ti,curveMonotoneY:ii,curveNatural:ei,curveStep:ni,curveStepAfter:ri,curveStepBefore:si},Fi=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Wi=c(function(t,i){const n=St(t,/(?:init\b)|(?:initialize\b)/);let e={};if(Array.isArray(n)){const r=n.map(a=>a.args);Ft(r),e=st(e,[...r])}else e=n.args;if(!e)return;let h=Wt(t,i);const o="config";return e[o]!==void 0&&(h==="flowchart-v2"&&(h="flowchart"),e[h]=e[o],delete e[o]),e},"detectInit"),St=c(function(t,i=null){try{const n=new RegExp(`[%]{2}(?![{]${Fi.source})(?=[}][%]{2}).*
2
2
  `,"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),m.debug(`Detecting diagram directive${i!==null?" type:"+i:""} based on the text:${t}`);let e;const h=[];for(;(e=E.exec(t))!==null;)if(e.index===E.lastIndex&&E.lastIndex++,e&&!i||i&&e[1]?.match(i)||i&&e[2]?.match(i)){const o=e[1]?e[1]:e[2],r=e[3]?e[3].trim():e[4]?JSON.parse(e[4].trim()):null;h.push({type:o,args:r})}return h.length===0?{type:t,args:null}:h.length===1?h[0]:h}catch(n){return m.error(`ERROR: ${n.message} - Unable to parse directive type: '${i}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),he=c(function(t){return t.replace(E,"")},"removeDirectives"),zi=c(function(t,i){for(const[n,e]of i.entries())if(e.match(t))return n;return-1},"isSubstringInArray");function Et(t,i){return t?Di[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??i:i}s(Et,"interpolateToCurve");c(Et,"interpolateToCurve");function Ot(t,i){const n=t.trim();if(n)return i.securityLevel!=="loose"?(0,Li.sanitizeUrl)(n):n}s(Ot,"formatUrl");c(Ot,"formatUrl");var Ti=c((t,...i)=>{const n=t.split("."),e=n.length-1,h=n[e];let o=window;for(let r=0;r<e;r++)if(o=o[n[r]],!o){m.error(`Function name: ${t} not found in window`);return}o[h](...i)},"runFunc");function U(t,i){return!t||!i?0:Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2))}s(U,"distance");c(U,"distance");function Nt(t){let i,n=0;return t.forEach(e=>{n+=U(e,i),i=e}),X(t,n/2)}s(Nt,"traverseEdge");c(Nt,"traverseEdge");function At(t){return t.length===1?t[0]:Nt(t)}s(At,"calcLabelPosition");c(At,"calcLabelPosition");var et=c((t,i=2)=>{const n=Math.pow(10,i);return Math.round(t*n)/n},"roundNumber"),X=c((t,i)=>{let n,e=i;for(const h of t){if(n){const o=U(h,n);if(o===0)return n;if(o<e)e-=o;else{const r=e/o;if(r<=0)return n;if(r>=1)return{x:h.x,y:h.y};if(r>0&&r<1)return{x:et((1-r)*n.x+r*h.x,5),y:et((1-r)*n.y+r*h.y,5)}}}n=h}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),ji=c((t,i,n)=>{m.info(`our points ${JSON.stringify(i)}`),i[0]!==n&&(i=i.reverse());const e=X(i,25),h=t?10:5,o=Math.atan2(i[0].y-e.y,i[0].x-e.x),r={x:0,y:0};return r.x=Math.sin(o)*h+(i[0].x+e.x)/2,r.y=-Math.cos(o)*h+(i[0].y+e.y)/2,r},"calcCardinalityPosition");function Mt(t,i,n){const e=structuredClone(n);m.info("our points",e),i!=="start_left"&&i!=="start_right"&&e.reverse();const h=X(e,25+t),o=10+t*.5,r=Math.atan2(e[0].y-h.y,e[0].x-h.x),a={x:0,y:0};return i==="start_left"?(a.x=Math.sin(r+Math.PI)*o+(e[0].x+h.x)/2,a.y=-Math.cos(r+Math.PI)*o+(e[0].y+h.y)/2):i==="end_right"?(a.x=Math.sin(r-Math.PI)*o+(e[0].x+h.x)/2,a.y=-Math.cos(r-Math.PI)*o+(e[0].y+h.y)/2):(a.x=Math.sin(r)*o+(e[0].x+h.x)/2,a.y=-Math.cos(r)*o+(e[0].y+h.y)/2),a}s(Mt,"calcTerminalLabelPosition");c(Mt,"calcTerminalLabelPosition");function Pt(t){let i="",n="";for(const e of t)e!==void 0&&(e.startsWith("color:")||e.startsWith("text-align:")?n=n+e+";":i=i+e+";");return{style:i,labelStyle:n}}s(Pt,"getStylesFromArray");c(Pt,"getStylesFromArray");var nt=0,Hi=c(()=>(nt++,"id-"+Math.random().toString(36).substr(2,12)+"-"+nt),"generateId");function $t(t){let i="";const n="0123456789abcdef";for(let h=0;h<t;h++)i+=n.charAt(Math.floor(Math.random()*16));return i}s($t,"makeRandomHex");c($t,"makeRandomHex");var Ui=c(t=>$t(t.length),"random"),Xi=c(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),Yi=c(function(t,i){const n=i.text.replace(L.lineBreakRegex," "),[,e]=q(i.fontSize),h=t.append("text");h.attr("x",i.x),h.attr("y",i.y),h.style("text-anchor",i.anchor),h.style("font-family",i.fontFamily),h.style("font-size",e),h.style("font-weight",i.fontWeight),h.attr("fill",i.fill),i.class!==void 0&&h.attr("class",i.class);const o=h.append("tspan");return o.attr("x",i.x+i.textMargin*2),o.attr("fill",i.fill),o.text(n),h},"drawSimpleText"),qi=b((t,i,n)=>{if(!t||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),L.hasBreaks(t)))return t;const e=t.split(" ").filter(Boolean),h=[];let o="";return e.forEach((r,a)=>{const _=w(`${r} `,n),f=w(o,n);if(_>i){const{hyphenatedStrings:l,remainingWord:u}=Ki(r,i,"-",n);h.push(o,...l),o=u}else f+_>=i?(h.push(o),o=r):o=[o,r].filter(Boolean).join(" ");a+1===e.length&&h.push(o)}),h.filter(r=>r!=="").join(n.joinWith)},(t,i,n)=>`${t}${i}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),Ki=b((t,i,n="-",e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},e);const h=[...t],o=[];let r="";return h.forEach((a,_)=>{const f=`${r}${a}`;if(w(f,e)>=i){const l=_+1,u=h.length===l,y=`${f}${n}`;o.push(u?f:y),r=""}else r=f}),{hyphenatedStrings:o,remainingWord:r}},(t,i,n="-",e)=>`${t}${i}${n}${e.fontSize}${e.fontWeight}${e.fontFamily}`);function Bt(t,i){return Y(t,i).height}s(Bt,"calculateTextHeight");c(Bt,"calculateTextHeight");function w(t,i){return Y(t,i).width}s(w,"calculateTextWidth");c(w,"calculateTextWidth");var Y=b((t,i)=>{const{fontSize:n=12,fontFamily:e="Arial",fontWeight:h=400}=i;if(!t)return{width:0,height:0};const[,o]=q(n),r=["sans-serif",e],a=t.split(L.lineBreakRegex),_=[],f=Dt("body");if(!f.remove)return{width:0,height:0,lineHeight:0};const l=f.append("svg");for(const u of r){let y=0;const d={width:0,height:0,lineHeight:0};for(const Rt of a){const K=Xi();K.text=Rt||"​";const G=Yi(l,K).style("font-size",o).style("font-weight",h).style("font-family",u),v=(G._groups||G)[0][0].getBBox();if(v.width===0&&v.height===0)throw new Error("svg element not in render tree");d.width=Math.round(Math.max(d.width,v.width)),y=Math.round(v.height),d.height+=y,d.lineHeight=Math.round(Math.max(d.lineHeight,y))}_.push(d)}return l.remove(),_[isNaN(_[1].height)||isNaN(_[1].width)||isNaN(_[1].lineHeight)||_[0].height>_[1].height&&_[0].width>_[1].width&&_[0].lineHeight>_[1].lineHeight?0:1]},(t,i)=>`${t}${i.fontSize}${i.fontWeight}${i.fontFamily}`),Gi=class{static{s(this,"InitIDGenerator")}constructor(t=!1,i){this.count=0,this.count=i?i.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{c(this,"InitIDGenerator")}},S,Ji=c(function(t){return S=S||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),S.innerHTML=t,unescape(S.textContent)},"entityDecode");function Zi(t){return"str"in t}s(Zi,"isDetailedError");c(Zi,"isDetailedError");function Qi(t){return t instanceof Error?t.message:String(t)}s(Qi,"getErrorMessage");c(Qi,"getErrorMessage");var Vi=c((t,i,n,e)=>{if(!e)return;const h=t.node()?.getBBox();h&&t.append("text").text(e).attr("text-anchor","middle").attr("x",h.x+h.width/2).attr("y",-n).attr("class",i)},"insertTitle"),q=c(t=>{if(typeof t=="number")return[t,t+"px"];const i=parseInt(t??"",10);return Number.isNaN(i)?[void 0,void 0]:t===String(i)?[i,t+"px"]:[i,t]},"parseFontSize");function It(t,i){return Ri({},t,i)}s(It,"cleanAndMerge");c(It,"cleanAndMerge");var oe={assignWithDepth:st,wrapLabel:qi,calculateTextHeight:Bt,calculateTextWidth:w,calculateTextDimensions:Y,cleanAndMerge:It,detectInit:Wi,detectDirective:St,isSubstringInArray:zi,interpolateToCurve:Et,calcLabelPosition:At,calcCardinalityPosition:ji,calcTerminalLabelPosition:Mt,formatUrl:Ot,getStylesFromArray:Pt,generateId:Hi,random:Ui,runFunc:Ti,entityDecode:Ji,insertTitle:Vi,isLabelCoordinateInPath:kt,parseFontSize:q,InitIDGenerator:Gi},ae=c(function(t){let i=t;return i=i.replace(/style.*:\S*#.*;/g,function(n){return n.substring(0,n.length-1)}),i=i.replace(/classDef.*:\S*#.*;/g,function(n){return n.substring(0,n.length-1)}),i=i.replace(/#\w+;/g,function(n){const e=n.substring(1,n.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"}),i},"encodeEntities"),_e=c(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),ce=c((t,i,{counter:n=0,prefix:e,suffix:h},o)=>o||`${e?`${e}_`:""}${t}_${i}_${n}${h?`_${h}`:""}`,"getEdgeId");function Ci(t){return t??null}s(Ci,"handleUndefinedAttr");c(Ci,"handleUndefinedAttr");function kt(t,i){const n=Math.round(t.x),e=Math.round(t.y),h=i.replace(/(\d+\.\d+)/g,o=>Math.round(parseFloat(o)).toString());return h.includes(n.toString())||h.includes(e.toString())}s(kt,"isLabelCoordinateInPath");c(kt,"isLabelCoordinateInPath");export{Zt as $,Si as A,gt as B,vt as C,wt as D,li as E,ci as F,xi as G,gi as H,mt as I,si as J,T as K,pi as L,bi as M,vi as N,yi as O,wi as P,ii as Q,oi as R,Ni as S,ui as T,mi as U,ai as V,di as W,ei as X,ni as Y,ti as Z,oe as _,_e as a,it as b,ce as c,Ci as d,Kt as et,Et as f,he as g,Ui as h,It as i,Tt as it,Ei as j,_i as k,Qi as l,q as m,Bt as n,jt as nt,ae as o,Zi as p,ri as q,w as r,Ht as rt,Hi as s,Y as t,Ut as tt,Pt as u,qi as v,bt as w,j as x,k as y,fi as z};
@@ -1 +1 @@
1
- import{n as a}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{b as h}from"./chunk-VPRB5NB3-CfeHjtbb.js";var S=a(t=>{const{handDrawnSeed:r}=h();return{fill:t,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,roughness:.7,stroke:t,seed:r}},"solidStateFill"),c=a(t=>Array.isArray(t)?t:t?t.split(";").map(r=>r.trim()).filter(Boolean):[],"normalizeStyleList"),p=a(t=>{const r=f([...t.cssCompiledStyles||[],...t.cssStyles||[],...c(t.labelStyle)]);return{stylesMap:r,stylesArray:[...r]}},"compileStyles"),f=a(t=>{const r=new Map;return t.forEach(s=>{const[i,o]=s.split(":");r.set(i.trim(),o?.trim())}),r},"styles2Map"),u=a(t=>t==="color"||t==="font-size"||t==="font-family"||t==="font-weight"||t==="font-style"||t==="text-decoration"||t==="text-align"||t==="text-transform"||t==="line-height"||t==="letter-spacing"||t==="word-spacing"||t==="text-shadow"||t==="text-overflow"||t==="white-space"||t==="word-wrap"||t==="word-break"||t==="overflow-wrap"||t==="hyphens","isLabelStyle"),v=a(t=>{const{stylesArray:r}=p(t),s=[],i=[],o=[],n=[];return r.forEach(e=>{const l=e[0];u(l)?s.push(e.join(":")+" !important"):(i.push(e.join(":")+" !important"),l.includes("stroke")&&o.push(e.join(":")+" !important"),l==="fill"&&n.push(e.join(":")+" !important"))}),{labelStyles:s.join(";"),nodeStyles:i.join(";"),stylesArray:r,borderStyles:o,backgroundStyles:n}},"styles2String"),w=a((t,r)=>{const{themeVariables:s,handDrawnSeed:i}=h(),{nodeBorder:o,mainBkg:n}=s,{stylesMap:e}=p(t);return Object.assign({roughness:.7,fill:e.get("fill")||n,fillStyle:"hachure",fillWeight:1.5,hachureGap:1.5,stroke:e.get("stroke")||o,seed:i,strokeWidth:e.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(e.get("stroke-dasharray"))},r)},"userNodeOverrides"),d=a(t=>{if(!t)return[0,0];const r=t.trim().split(/\s+/).map(Number);if(r.length===1){const s=isNaN(r[0])?0:r[0];return[s,s]}return[isNaN(r[0])?0:r[0],isNaN(r[1])?0:r[1]]},"getStrokeDashArray");export{w as a,v as i,u as n,S as r,p as t};
1
+ import{n as a}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{b as h}from"./chunk-VPRB5NB3-BNz5CtBn.js";var S=a(t=>{const{handDrawnSeed:r}=h();return{fill:t,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,roughness:.7,stroke:t,seed:r}},"solidStateFill"),c=a(t=>Array.isArray(t)?t:t?t.split(";").map(r=>r.trim()).filter(Boolean):[],"normalizeStyleList"),p=a(t=>{const r=f([...t.cssCompiledStyles||[],...t.cssStyles||[],...c(t.labelStyle)]);return{stylesMap:r,stylesArray:[...r]}},"compileStyles"),f=a(t=>{const r=new Map;return t.forEach(s=>{const[i,o]=s.split(":");r.set(i.trim(),o?.trim())}),r},"styles2Map"),u=a(t=>t==="color"||t==="font-size"||t==="font-family"||t==="font-weight"||t==="font-style"||t==="text-decoration"||t==="text-align"||t==="text-transform"||t==="line-height"||t==="letter-spacing"||t==="word-spacing"||t==="text-shadow"||t==="text-overflow"||t==="white-space"||t==="word-wrap"||t==="word-break"||t==="overflow-wrap"||t==="hyphens","isLabelStyle"),v=a(t=>{const{stylesArray:r}=p(t),s=[],i=[],o=[],n=[];return r.forEach(e=>{const l=e[0];u(l)?s.push(e.join(":")+" !important"):(i.push(e.join(":")+" !important"),l.includes("stroke")&&o.push(e.join(":")+" !important"),l==="fill"&&n.push(e.join(":")+" !important"))}),{labelStyles:s.join(";"),nodeStyles:i.join(";"),stylesArray:r,borderStyles:o,backgroundStyles:n}},"styles2String"),w=a((t,r)=>{const{themeVariables:s,handDrawnSeed:i}=h(),{nodeBorder:o,mainBkg:n}=s,{stylesMap:e}=p(t);return Object.assign({roughness:.7,fill:e.get("fill")||n,fillStyle:"hachure",fillWeight:1.5,hachureGap:1.5,stroke:e.get("stroke")||o,seed:i,strokeWidth:e.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(e.get("stroke-dasharray"))},r)},"userNodeOverrides"),d=a(t=>{if(!t)return[0,0];const r=t.trim().split(/\s+/).map(Number);if(r.length===1){const s=isNaN(r[0])?0:r[0];return[s,s]}return[isNaN(r[0])?0:r[0],isNaN(r[1])?0:r[1]]},"getStrokeDashArray");export{w as a,v as i,u as n,S as r,p as t};
@@ -1 +1 @@
1
- import{n as i}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{p as n}from"./src-DYjgETqR.js";import{A as d}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{t as p}from"./dist-CTlCK4Pe.js";var o=p(),x=i((s,t)=>{const e=s.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),g=i((s,t)=>{x(s,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"}).lower()},"drawBackgroundRect"),h=i((s,t)=>{const e=t.text.replace(d," "),r=s.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const a=r.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),r},"drawText"),w=i((s,t,e,r)=>{const a=s.append("image");a.attr("x",t),a.attr("y",e);const l=(0,o.sanitizeUrl)(r);a.attr("xlink:href",l)},"drawImage"),k=i((s,t,e,r)=>{const a=s.append("use");a.attr("x",t),a.attr("y",e);const l=(0,o.sanitizeUrl)(r);a.attr("xlink:href",`#${l}`)},"drawEmbeddedImage"),v=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),E=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),T=i(()=>{let s=n(".mermaidTooltip");return s.empty()&&(s=n("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),s},"createTooltip");export{x as a,E as c,w as i,g as n,h as o,k as r,v as s,T as t};
1
+ import{n as i}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{p as n}from"./src-DYjgETqR.js";import{A as d}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{t as p}from"./dist-CTlCK4Pe.js";var o=p(),x=i((s,t)=>{const e=s.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),g=i((s,t)=>{x(s,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"}).lower()},"drawBackgroundRect"),h=i((s,t)=>{const e=t.text.replace(d," "),r=s.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const a=r.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),r},"drawText"),w=i((s,t,e,r)=>{const a=s.append("image");a.attr("x",t),a.attr("y",e);const l=(0,o.sanitizeUrl)(r);a.attr("xlink:href",l)},"drawImage"),k=i((s,t,e,r)=>{const a=s.append("use");a.attr("x",t),a.attr("y",e);const l=(0,o.sanitizeUrl)(r);a.attr("xlink:href",`#${l}`)},"drawEmbeddedImage"),v=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),E=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),T=i(()=>{let s=n(".mermaidTooltip");return s.empty()&&(s=n("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),s},"createTooltip");export{x as a,E as c,w as i,g as n,h as o,k as r,v as s,T as t};
@@ -1,4 +1,4 @@
1
- var L=Object.defineProperty;var $=(e,n)=>L(e,"name",{value:n,configurable:!0});import{n as c}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as x}from"./src-DYjgETqR.js";import{E as I,a as X,b as H,c as q,y as _,z as U}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{a as G}from"./mermaid.core-D1vILTuF.js";var A="",z="",b="",N=[],R=new Map,S=c(e=>U(e,H()),"sanitizeText"),v=c(e=>{switch(e.type){case"terminal":return{...e,value:S(e.value)};case"nonterminal":return{...e,name:S(e.name)};case"sequence":return{...e,elements:e.elements.map(v)};case"choice":return{...e,alternatives:e.alternatives.map(v)};case"optional":return{...e,element:v(e.element)};case"repetition":return{...e,element:v(e.element),separator:e.separator?v(e.separator):void 0};case"special":return{...e,text:S(e.text)}}},"sanitizeAstNode"),j=c(()=>{A="",z="",b="",N.length=0,R.clear(),X(),x.debug("[Railroad] Database cleared")},"clear"),D=c(e=>{A=S(e),x.debug("[Railroad] Title set:",e)},"setTitle"),E=c(()=>A,"getTitle"),K={clear:j,setTitle:D,getTitle:E,addRule:c(e=>{const n={...e,name:S(e.name),definition:v(e.definition),comment:e.comment?S(e.comment):void 0};x.debug("[Railroad] Adding rule:",n.name),R.has(n.name)&&x.warn(`[Railroad] Rule '${n.name}' is already defined. Overwriting.`),N.push(n),R.set(n.name,n)},"addRule"),getRules:c(()=>N,"getRules"),getRule:c(e=>R.get(e),"getRule"),setAccTitle:c(e=>{z=S(e).replace(/^\s+/g,""),x.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),getAccTitle:c(()=>z,"getAccTitle"),setAccDescription:c(e=>{b=S(e).replace(/\n\s+/g,`
1
+ var L=Object.defineProperty;var $=(e,n)=>L(e,"name",{value:n,configurable:!0});import{n as c}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as x}from"./src-DYjgETqR.js";import{E as I,a as X,b as H,c as q,y as _,z as U}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{a as G}from"./mermaid.core-B0t95EIS.js";var A="",z="",b="",N=[],R=new Map,S=c(e=>U(e,H()),"sanitizeText"),v=c(e=>{switch(e.type){case"terminal":return{...e,value:S(e.value)};case"nonterminal":return{...e,name:S(e.name)};case"sequence":return{...e,elements:e.elements.map(v)};case"choice":return{...e,alternatives:e.alternatives.map(v)};case"optional":return{...e,element:v(e.element)};case"repetition":return{...e,element:v(e.element),separator:e.separator?v(e.separator):void 0};case"special":return{...e,text:S(e.text)}}},"sanitizeAstNode"),j=c(()=>{A="",z="",b="",N.length=0,R.clear(),X(),x.debug("[Railroad] Database cleared")},"clear"),D=c(e=>{A=S(e),x.debug("[Railroad] Title set:",e)},"setTitle"),E=c(()=>A,"getTitle"),K={clear:j,setTitle:D,getTitle:E,addRule:c(e=>{const n={...e,name:S(e.name),definition:v(e.definition),comment:e.comment?S(e.comment):void 0};x.debug("[Railroad] Adding rule:",n.name),R.has(n.name)&&x.warn(`[Railroad] Rule '${n.name}' is already defined. Overwriting.`),N.push(n),R.set(n.name,n)},"addRule"),getRules:c(()=>N,"getRules"),getRule:c(e=>R.get(e),"getRule"),setAccTitle:c(e=>{z=S(e).replace(/^\s+/g,""),x.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),getAccTitle:c(()=>z,"getAccTitle"),setAccDescription:c(e=>{b=S(e).replace(/\n\s+/g,`
2
2
  `),x.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),getAccDescription:c(()=>b,"getAccDescription"),setDiagramTitle:D,getDiagramTitle:E},f={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},J=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,Q=/^[\w "',.-]+$/,Z=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),B=c(e=>e?Object.keys(e).every(n=>n==="railroad"||Z.has(n)):!1,"isRailroadStyleOptions"),V=c(e=>e?"railroad"in e&&e.railroad?e.railroad:B(e)?e:{}:{},"extractRailroadOverrides"),ee=c(e=>{if(!e||B(e))return{};const{railroad:n,svgId:r,theme:t,look:i,...a}=e;return a},"extractThemeOverrides"),d=c((e,n)=>{if(typeof e!="string")return n;const r=e.trim();return J.test(r)?r:n},"sanitizeColorValue"),Y=c((e,n)=>{if(typeof e!="string")return n;const r=e.trim();return Q.test(r)?r:n},"sanitizeFontFamilyValue"),F=c((e,n)=>{const r=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):NaN;return Number.isFinite(r)&&r>=0?r:n},"sanitizeNumberValue"),te=c(e=>{const n=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):NaN;return Number.isFinite(n)&&n>0?n:void 0},"parseThemeFontSize"),re=c(e=>{const n=Y(e.fontFamily,f.fontFamily),r=te(e.fontSize)??f.fontSize;return{...f,fontFamily:n,fontSize:r,terminalFill:d(e.secondBkg??e.secondaryColor,f.terminalFill),terminalStroke:d(e.secondaryBorderColor??e.lineColor,f.terminalStroke),terminalTextColor:d(e.secondaryTextColor??e.textColor,f.terminalTextColor),nonTerminalFill:d(e.mainBkg??e.background,f.nonTerminalFill),nonTerminalStroke:d(e.primaryBorderColor??e.lineColor,f.nonTerminalStroke),nonTerminalTextColor:d(e.primaryTextColor??e.textColor,f.nonTerminalTextColor),lineColor:d(e.lineColor,f.lineColor),markerFill:d(e.lineColor,f.markerFill),commentFill:d(e.labelBackground??e.tertiaryColor,f.commentFill),commentStroke:d(e.tertiaryBorderColor??e.lineColor,f.commentStroke),commentTextColor:d(e.tertiaryTextColor??e.textColor,f.commentTextColor),specialFill:d(e.tertiaryColor??e.secondaryColor,f.specialFill),specialStroke:d(e.tertiaryBorderColor??e.secondaryBorderColor,f.specialStroke),ruleNameColor:d(e.titleColor??e.textColor,f.ruleNameColor)}},"buildThemeDefaults"),M=c(e=>{const n=_(),r=re({...I(),...n.themeVariables??{},...ee(e)}),t={...n.railroad??{},...V(e)};return{compactMode:t.compactMode??r.compactMode,padding:F(t.padding,r.padding),verticalSeparation:F(t.verticalSeparation,r.verticalSeparation),horizontalSeparation:F(t.horizontalSeparation,r.horizontalSeparation),arcRadius:F(t.arcRadius,r.arcRadius),fontSize:F(t.fontSize,r.fontSize),fontFamily:Y(t.fontFamily,r.fontFamily),terminalFill:d(t.terminalFill,r.terminalFill),terminalStroke:d(t.terminalStroke,r.terminalStroke),terminalTextColor:d(t.terminalTextColor,r.terminalTextColor),nonTerminalFill:d(t.nonTerminalFill,r.nonTerminalFill),nonTerminalStroke:d(t.nonTerminalStroke,r.nonTerminalStroke),nonTerminalTextColor:d(t.nonTerminalTextColor,r.nonTerminalTextColor),lineColor:d(t.lineColor,r.lineColor),strokeWidth:F(t.strokeWidth,r.strokeWidth),markerFill:d(t.markerFill,r.markerFill),commentFill:d(t.commentFill,r.commentFill),commentStroke:d(t.commentStroke,r.commentStroke),commentTextColor:d(t.commentTextColor,r.commentTextColor),specialFill:d(t.specialFill,r.specialFill),specialStroke:d(t.specialStroke,r.specialStroke),ruleNameColor:d(t.ruleNameColor,r.ruleNameColor),showMarkers:t.showMarkers??r.showMarkers,markerRadius:F(t.markerRadius,r.markerRadius)}},"buildRailroadStyleOptions"),de=c(e=>{const{fontFamily:n,fontSize:r,terminalFill:t,terminalStroke:i,terminalTextColor:a,nonTerminalFill:p,nonTerminalStroke:s,nonTerminalTextColor:l,lineColor:u,strokeWidth:o,markerFill:g,commentFill:m,commentStroke:h,commentTextColor:C,specialFill:k,specialStroke:w,ruleNameColor:y}=M(e);return`
3
3
  .railroad-diagram {
4
4
  font-family: ${n};
@@ -1 +1 @@
1
- var f=Object.defineProperty;var c=(a,t)=>f(a,"name",{value:t,configurable:!0});import{n as i}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as o}from"./src-DYjgETqR.js";import{d as g}from"./chunk-3YJQHVM4-Dj5wEKIw.js";import{s as n}from"./chunk-XC4XBNZT-FBCWmi6K.js";var w=i(({flowchart:a})=>{const t=a?.subGraphTitleMargin?.top??0,s=a?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:s,subGraphTitleTotalMargin:t+s}},"getSubGraphTitleMargins"),l=new Map;async function u(a,t,s){let r,e;t.shape==="rect"&&(t.rx&&t.ry?t.shape="roundedRect":t.shape="squareRect");const p=t.shape?n[t.shape]:void 0;if(!p)throw new Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let h;s.config.securityLevel==="sandbox"?h="_top":t.linkTarget&&(h=t.linkTarget||"_blank"),r=a.insert("svg:a").attr("xlink:href",t.link).attr("target",h??null),e=await p(r,t,s)}else e=await p(a,t,s),r=e;return r.attr("data-look",g(t.look)),t.tooltip&&e.attr("title",t.tooltip),l.set(t.id,r),t.haveCallback&&r.attr("class",r.attr("class")+" clickable"),r}c(u,"insertNode");i(u,"insertNode");var x=i((a,t)=>{l.set(t.id,a)},"setNodeElem"),M=i(()=>{l.clear()},"clear"),N=i(a=>{const t=l.get(a.id);o.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");const s=8,r=a.diff||0;return a.clusterNode?t.attr("transform","translate("+(a.x+r-a.width/2)+", "+(a.y-a.height/2-s)+")"):t.attr("transform","translate("+a.x+", "+a.y+")"),r},"positionNode");export{x as a,N as i,w as n,u as r,M as t};
1
+ var f=Object.defineProperty;var c=(a,t)=>f(a,"name",{value:t,configurable:!0});import{n as i}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as o}from"./src-DYjgETqR.js";import{d as g}from"./chunk-3YJQHVM4-C_uoPpLR.js";import{s as n}from"./chunk-XC4XBNZT-CCgIhjYS.js";var w=i(({flowchart:a})=>{const t=a?.subGraphTitleMargin?.top??0,s=a?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:s,subGraphTitleTotalMargin:t+s}},"getSubGraphTitleMargins"),l=new Map;async function u(a,t,s){let r,e;t.shape==="rect"&&(t.rx&&t.ry?t.shape="roundedRect":t.shape="squareRect");const p=t.shape?n[t.shape]:void 0;if(!p)throw new Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let h;s.config.securityLevel==="sandbox"?h="_top":t.linkTarget&&(h=t.linkTarget||"_blank"),r=a.insert("svg:a").attr("xlink:href",t.link).attr("target",h??null),e=await p(r,t,s)}else e=await p(a,t,s),r=e;return r.attr("data-look",g(t.look)),t.tooltip&&e.attr("title",t.tooltip),l.set(t.id,r),t.haveCallback&&r.attr("class",r.attr("class")+" clickable"),r}c(u,"insertNode");i(u,"insertNode");var x=i((a,t)=>{l.set(t.id,a)},"setNodeElem"),M=i(()=>{l.clear()},"clear"),N=i(a=>{const t=l.get(a.id);o.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");const s=8,r=a.diff||0;return a.clusterNode?t.attr("transform","translate("+(a.x+r-a.width/2)+", "+(a.y-a.height/2-s)+")"):t.attr("transform","translate("+a.x+", "+a.y+")"),r},"positionNode");export{x as a,N as i,w as n,u as r,M as t};