@datalayer/agent-runtimes 1.6.83 → 1.6.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-embed/chunks/{AgentDetails-LhuDov4Q.js → AgentDetails-BRhO9qA_.js} +1 -1
- package/dist-embed/chunks/AgentDetailsDialog-DAWAmYS1.js +1 -0
- package/dist-embed/chunks/{CellSidebarExtension-DwGg7VbR.js → CellSidebarExtension-BMTA9AQz.js} +1 -1
- package/dist-embed/chunks/{CollapsiblePlugin-DS2HZl7a.js → CollapsiblePlugin-D_fVK4i3.js} +1 -1
- package/dist-embed/chunks/ContextPie-h_II4EDU.js +1 -0
- package/dist-embed/chunks/{DeckComponent-1aJoEglD.js → DeckComponent-CGFO-xGa.js} +2 -2
- package/dist-embed/chunks/{DocumentView-CaVDL8X7.js → DocumentView-BzBCyOZP.js} +1 -1
- package/dist-embed/chunks/{EphemeralDocument-SeXQLZbi.js → EphemeralDocument-spGg7WCy.js} +1 -1
- package/dist-embed/chunks/{EphemeralNotebook-DrL1r8Nx.js → EphemeralNotebook-BqUNh0zm.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawComponent-CoZvA0u7.js → ExcalidrawComponent-Cb0JOQDr.js} +1 -1
- package/dist-embed/chunks/{ExcalidrawModal-Czd2Kx8H.js → ExcalidrawModal-MG-b9Tus.js} +1 -1
- package/dist-embed/chunks/{JupyterLexicalExtension-Du1Loz2o.js → JupyterLexicalExtension-lz41mjjY.js} +29 -29
- package/dist-embed/chunks/{KernelVariables-CmWkosM8.js → KernelVariables-BXCbgHG5.js} +1 -1
- package/dist-embed/chunks/{LexicalToolRegistry-BZUJ9wvF.js → LexicalToolRegistry-rXaW8uXA.js} +4 -4
- package/dist-embed/chunks/{NotebookToolSurfaces-m37Crb7c.js → NotebookToolSurfaces-BT_hNR4k.js} +1 -1
- package/dist-embed/chunks/{NotebookView-DeCxHOph.js → NotebookView-wYwtORMB.js} +1 -1
- package/dist-embed/chunks/{Output-CJVIj3Io.js → Output-BfjIM99o.js} +1 -1
- package/dist-embed/chunks/{SandboxDetailsDialog-B4_0r2A_.js → SandboxDetailsDialog-B_nI8zH_.js} +1 -1
- package/dist-embed/chunks/{SchemaForm-9JmMbUiD.js → SchemaForm-1QzMu6Zk.js} +1 -1
- package/dist-embed/chunks/{SheetTabs-DJLVReVo.js → SheetTabs-DJG69znU.js} +2 -2
- package/dist-embed/chunks/{SpreadsheetPreviewView-BGdz5D65.js → SpreadsheetPreviewView-5marsdKE.js} +1 -1
- package/dist-embed/chunks/{SpreadsheetView-BvCWGCsx.js → SpreadsheetView-CmD-dAjn.js} +1 -1
- package/dist-embed/chunks/{WidgetVariableView-B9KgSbhv.js → WidgetVariableView-Dqsy8MDf.js} +1 -1
- package/dist-embed/chunks/{YouTubePlugin-DtVTIrdm.js → YouTubePlugin-BLdLNfNB.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-DN0kRlog.js → abnfDiagram-VCTEODGH-BSmEjUJk.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-BG9Jt7Hr.js → abnfDiagram-VCTEODGH-CF8QpiZa.js} +1 -1
- package/dist-embed/chunks/{abnfDiagram-VCTEODGH-CvZ8usho.js → abnfDiagram-VCTEODGH-GnaR64st.js} +1 -1
- package/dist-embed/chunks/{ar-SA-G6X2FPQ2-C-nP9nq8.js → ar-SA-G6X2FPQ2-Boa4jpGN.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-Bwqgkba9.js → architectureDiagram-5GKGNRK7-ByAYkSMW.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-DRfUn2vu.js → architectureDiagram-5GKGNRK7-Cy6c9GhS.js} +1 -1
- package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-87FtCsnw.js → architectureDiagram-5GKGNRK7-b_EnmOeS.js} +1 -1
- package/dist-embed/chunks/{az-AZ-76LH7QW2-WoAwmwN_.js → az-AZ-76LH7QW2-DS7v8DUm.js} +1 -1
- package/dist-embed/chunks/{bg-BG-XCXSNQG7-SLqAK6qo.js → bg-BG-XCXSNQG7-CPWbvkhp.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-868be97b-CH6k87Wa.js → blockDiagram-868be97b-C6Xxmbgc.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BWHrrqXo.js → blockDiagram-I7D4REHJ-BBd_q6Z7.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DUfJri3_.js → blockDiagram-I7D4REHJ-Clrwi7_Q.js} +1 -1
- package/dist-embed/chunks/{blockDiagram-I7D4REHJ-BjLfxD7u.js → blockDiagram-I7D4REHJ-zXh6gZYF.js} +1 -1
- package/dist-embed/chunks/{bn-BD-2XOGV67Q-DfCeTaG1.js → bn-BD-2XOGV67Q-DJlv8gSj.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-3f4bdde3-ufrtLRrD.js → c4Diagram-3f4bdde3-BhBNs69f.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-BK8yvli2.js → c4Diagram-7LVT6UL2-BWQ9xHoN.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-C-0ZQ8Xa.js → c4Diagram-7LVT6UL2-DcCc8HaH.js} +1 -1
- package/dist-embed/chunks/{c4Diagram-7LVT6UL2-O_rZefrz.js → c4Diagram-7LVT6UL2-p14SIG7V.js} +1 -1
- package/dist-embed/chunks/{ca-ES-6MX7JW3Y-1rV8dCez.js → ca-ES-6MX7JW3Y-_XMb5PXx.js} +1 -1
- package/dist-embed/chunks/{celltoolbartracker-B_UScIax.js → celltoolbartracker-8YTtJOxD.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BX9u1bBi.js → chunk-2Q5K7J3B-BkzWX8eg.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-DiqqlJZw.js → chunk-2Q5K7J3B-CWx-QJ0-.js} +1 -1
- package/dist-embed/chunks/{chunk-2Q5K7J3B-BFUbUsBE.js → chunk-2Q5K7J3B-CtmdieBX.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-D4N_xxBJ.js → chunk-5VM5RSS4-C7mbT2Vq.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-BbOPwJfe.js → chunk-5VM5RSS4-Ciba-ybC.js} +1 -1
- package/dist-embed/chunks/{chunk-5VM5RSS4-box8kQsT.js → chunk-5VM5RSS4-O8p7luYq.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-BUeWPnw5.js → chunk-F27PBJKO-Bo5boRfj.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-CQM02DXR.js → chunk-F27PBJKO-CZHz6AS9.js} +1 -1
- package/dist-embed/chunks/{chunk-F27PBJKO-DPF3nC8g.js → chunk-F27PBJKO-WqHcL2s0.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-CPIe37ka.js → chunk-IMKFNOWR-BJR6rkFo.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-DAOxV09i.js → chunk-IMKFNOWR-CPdtPffh.js} +1 -1
- package/dist-embed/chunks/{chunk-IMKFNOWR-rg2BEcj6.js → chunk-IMKFNOWR-Csfu1kFU.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-BGdc9-bH.js → chunk-JWPE2WC7-BVXd-ICe.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-NvLQtuoq.js → chunk-JWPE2WC7-Bf4pFlIJ.js} +1 -1
- package/dist-embed/chunks/{chunk-JWPE2WC7-QIDUQRBr.js → chunk-JWPE2WC7-Cq6Q947j.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-Cl1oUaAM.js → chunk-POPQ4Y6H-B_rWRGt2.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-BgR92oKl.js → chunk-POPQ4Y6H-DhNnPwZp.js} +1 -1
- package/dist-embed/chunks/{chunk-POPQ4Y6H-DWWKSDND.js → chunk-POPQ4Y6H-s1yt1ZtK.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-BGHt1HDi.js → chunk-SVP7TREG-8oKVa2mm.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-DtwPtAP8.js → chunk-SVP7TREG-CHN6fclq.js} +1 -1
- package/dist-embed/chunks/{chunk-SVP7TREG-lMq3S-u-.js → chunk-SVP7TREG-CsFEUe5B.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-CaVrVRpm.js → chunk-TICWLB2K-BsCtCkEM.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-BdUzhQPw.js → chunk-TICWLB2K-CSCMv_QA.js} +1 -1
- package/dist-embed/chunks/{chunk-TICWLB2K-D6WJ64X6.js → chunk-TICWLB2K-InZQ5ZEH.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-BU32lP3z.js → chunk-XXDRQBXY-Y8pSpMzF.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-CjAMT3RS.js → chunk-XXDRQBXY-sm2AIgJ5.js} +1 -1
- package/dist-embed/chunks/{chunk-XXDRQBXY-CtNPThT-.js → chunk-XXDRQBXY-z8go8Kjf.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-Cy9bb-Ja.js → classDiagram-ZZMXUADV-BjEOw29S.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-9x2pAf81.js → classDiagram-ZZMXUADV-DJ40c8si.js} +1 -1
- package/dist-embed/chunks/{classDiagram-ZZMXUADV-HBhnoh6h.js → classDiagram-ZZMXUADV-G9WI_1Zg.js} +1 -1
- package/dist-embed/chunks/{classDiagram-f62afe4f-DKREECyJ.js → classDiagram-f62afe4f-Blm1wT1_.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-604399ef-CQ5TgOQe.js → classDiagram-v2-604399ef-DtWqjJhW.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-Cy9bb-Ja.js → classDiagram-v2-VYDZK3BY-BjEOw29S.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-9x2pAf81.js → classDiagram-v2-VYDZK3BY-DJ40c8si.js} +1 -1
- package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-HBhnoh6h.js → classDiagram-v2-VYDZK3BY-G9WI_1Zg.js} +1 -1
- package/dist-embed/chunks/{code-block-IT6T5CEO-B1q5VFMK.js → code-block-IT6T5CEO-Rra2QX20.js} +1 -1
- package/dist-embed/chunks/{component-CHd9jmXQ.js → component-DxhBhMYf.js} +1 -1
- package/dist-embed/chunks/{index-BhCoJe__.js → core-BrYTRvTy.js} +13 -13
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DFWJgtSE.js → cose-bilkent-JH36ORCC-C73aLaB-.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-DGrxjlJ4.js → cose-bilkent-JH36ORCC-DCtKiRmD.js} +1 -1
- package/dist-embed/chunks/{cose-bilkent-JH36ORCC-F97qu5nX.js → cose-bilkent-JH36ORCC-j_7L0NF5.js} +1 -1
- package/dist-embed/chunks/{createText-aed3d8b3-B1Tmb4Mr.js → createText-aed3d8b3-B0tLexrf.js} +2 -2
- package/dist-embed/chunks/{cs-CZ-2BRQDIVT-SF5YII-L.js → cs-CZ-2BRQDIVT-Cc6P0HN5.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DhFh7Gts.js → cynefinDiagram-5FMLGOSQ-BSwaTAfL.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-BZ1LtKUy.js → cynefinDiagram-5FMLGOSQ-DLyDkFEh.js} +1 -1
- package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-CR7crOrC.js → cynefinDiagram-5FMLGOSQ-DXr1M_CB.js} +1 -1
- package/dist-embed/chunks/{da-DK-5WZEPLOC-nd3n1KuA.js → da-DK-5WZEPLOC-BPgmzhCM.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-BpWd0wTo.js → dagre-GXQ25YYZ-Bfxayyi1.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-4P90jeEC.js → dagre-GXQ25YYZ-CPu-St26.js} +1 -1
- package/dist-embed/chunks/{dagre-GXQ25YYZ-MXGi4287.js → dagre-GXQ25YYZ-DTWZ8vY1.js} +1 -1
- package/dist-embed/chunks/{de-DE-XR44H4JA-DxoPxuG0.js → de-DE-XR44H4JA-DjNk3C1Q.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-DhLnfG8J.js → diagram-S7CK7UJ4-Biw5mnoN.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-Ccq8-Zxr.js → diagram-S7CK7UJ4-ERKr1j6v.js} +1 -1
- package/dist-embed/chunks/{diagram-S7CK7UJ4-xgW0lqt_.js → diagram-S7CK7UJ4-ewBgYmRN.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-Csc8IuSs.js → diagram-UQ7AKVKN-B-f2Afei.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-vfaPVBIp.js → diagram-UQ7AKVKN-C-6kzgTn.js} +1 -1
- package/dist-embed/chunks/{diagram-UQ7AKVKN-DM05uJg0.js → diagram-UQ7AKVKN-CGNA7gub.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-BpkflTV8.js → diagram-VSXAHHWV-7M08zFHc.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-ChcqzpvG.js → diagram-VSXAHHWV-CTQu2IBp.js} +1 -1
- package/dist-embed/chunks/{diagram-VSXAHHWV-C0Dte6B4.js → diagram-VSXAHHWV-DRVoe_PH.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-DA3s85ZI.js → diagram-VX7I27RA-B_LkfTnq.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-DFBWpFKi.js → diagram-VX7I27RA-DHwSWNj4.js} +1 -1
- package/dist-embed/chunks/{diagram-VX7I27RA-D3eZ6yyK.js → diagram-VX7I27RA-vkcQI8-t.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-DpwpLNON.js → diagram-Z3DM3KII-BZ9tmKdd.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-CWv5dRb1.js → diagram-Z3DM3KII-D0Xt6xwn.js} +1 -1
- package/dist-embed/chunks/{diagram-Z3DM3KII-BPDco9BP.js → diagram-Z3DM3KII-YAo8QSYR.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-BrHZve2O.js → ebnfDiagram-PWID7BFC-C2oLjL45.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-CeZcQDV3.js → ebnfDiagram-PWID7BFC-DN2tb-X8.js} +1 -1
- package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-ZbRTmpLY.js → ebnfDiagram-PWID7BFC-Dk5WVIim.js} +1 -1
- package/dist-embed/chunks/{edges-b2856ca0-CHQtJW0X.js → edges-b2856ca0-BSzU9ga-.js} +1 -1
- package/dist-embed/chunks/{el-GR-BZB4AONW-B_p1F0WP.js → el-GR-BZB4AONW-BA_6_8BV.js} +1 -1
- package/dist-embed/chunks/{erDiagram-5d81789a-7uQXDmYP.js → erDiagram-5d81789a--wvCe6Ur.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-DO7X3O5w.js → erDiagram-RLTQ6QDP-BDw_Db3e.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-CmahDLTF.js → erDiagram-RLTQ6QDP-BTXMcY7Y.js} +1 -1
- package/dist-embed/chunks/{erDiagram-RLTQ6QDP-QI_LQlaL.js → erDiagram-RLTQ6QDP-BsU1EeJN.js} +1 -1
- package/dist-embed/chunks/{es-ES-U4NZUMDT-BWCUsoic.js → es-ES-U4NZUMDT-DB2skShM.js} +1 -1
- package/dist-embed/chunks/{esm-M4z_FfnQ.js → esm-BFRTiV0k.js} +1 -1
- package/dist-embed/chunks/{esm-itrlzhnT.js → esm-VjpQWsU9.js} +14 -14
- package/dist-embed/chunks/{eu-ES-A7QVB2H4-QqCRXKSF.js → eu-ES-A7QVB2H4-D4jAAmi7.js} +1 -1
- package/dist-embed/chunks/{fa-IR-HGAKTJCU-C0NVSF_c.js → fa-IR-HGAKTJCU-Cm5LhQ8o.js} +1 -1
- package/dist-embed/chunks/{fi-FI-Z5N7JZ37-BP_C4Wwz.js → fi-FI-Z5N7JZ37-DEH_Gx5V.js} +1 -1
- package/dist-embed/chunks/{flowDb-185abca5-BmhWH32g.js → flowDb-185abca5-CBeP2_ZY.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-1629c991-oMWtc4C3.js → flowDiagram-1629c991-LZzO5ZR8.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-CmuRDMmw.js → flowDiagram-HODETNUW-DNjEQlAR.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-CgvZqEVs.js → flowDiagram-HODETNUW-DP1PWdQF.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-HODETNUW-Cy-T1qw4.js → flowDiagram-HODETNUW-_U05MBMl.js} +1 -1
- package/dist-embed/chunks/{flowDiagram-v2-1d953310-OG6RhgdC.js → flowDiagram-v2-1d953310-DeqYSBVG.js} +1 -1
- package/dist-embed/chunks/{flowchart-elk-definition-6df44142-I8LO2x_c.js → flowchart-elk-definition-6df44142-Dg5bSBS4.js} +1 -1
- package/dist-embed/chunks/{fr-FR-RHASNOE6-B1_hgegA.js → fr-FR-RHASNOE6-Blvt0egy.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-3b0b3873-Ch394Td4.js → ganttDiagram-3b0b3873-D9Pr_Kxk.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-iVAJV8uC.js → ganttDiagram-EL5Y4UJY-Baccn166.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-sX30iW6f.js → ganttDiagram-EL5Y4UJY-DmwhuzrV.js} +1 -1
- package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DjmeWOsd.js → ganttDiagram-EL5Y4UJY-Qz5HuyzZ.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-BuldyYGe.js → gitGraphDiagram-WWUBYQGX-BUlSUrle.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-CVcSYkDK.js → gitGraphDiagram-WWUBYQGX-CF5nE-hV.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-CeOMDDRZ.js → gitGraphDiagram-WWUBYQGX-ZgEb3qK-.js} +1 -1
- package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-CfNzWqtG.js → gitGraphDiagram-f01e8bc2-BqpGV-_U.js} +1 -1
- package/dist-embed/chunks/{gl-ES-HMX3MZ6V-BhVM3-ho.js → gl-ES-HMX3MZ6V-CTMS_g-D.js} +1 -1
- package/dist-embed/chunks/{he-IL-6SHJWFNN-oud0_kOl.js → he-IL-6SHJWFNN-CwRAX3eS.js} +1 -1
- package/dist-embed/chunks/{hi-IN-IWLTKZ5I-CD6iySjh.js → hi-IN-IWLTKZ5I-BGqXOwtD.js} +1 -1
- package/dist-embed/chunks/{hu-HU-A5ZG7DT2-DXuEZMlE.js → hu-HU-A5ZG7DT2-DPTG8MEz.js} +1 -1
- package/dist-embed/chunks/{id-ID-SAP4L64H-C-E1a9_p.js → id-ID-SAP4L64H-SGVYgM36.js} +1 -1
- package/dist-embed/chunks/{index-CaEDkyBB.js → index--Rl4aMiU.js} +1 -1
- package/dist-embed/chunks/{index-9bae90f3-BZE71ijg.js → index-9bae90f3-9T5x-xqi.js} +1 -1
- package/dist-embed/chunks/{index-86hxexQA.js → index-BGTb9Nvb.js} +1 -1
- package/dist-embed/chunks/{index-DakHBTji.js → index-CHu5zo1L.js} +1 -1
- package/dist-embed/chunks/{index-s25RSqvt.js → index-DObGLuCI.js} +4 -4
- package/dist-embed/chunks/{index-CvKH_NYI.js → index-DRUP-YmW.js} +2 -2
- package/dist-embed/chunks/{index-CLB4KPZs.js → index-Df2MkvAW.js} +4 -4
- package/dist-embed/chunks/{index-CXSUknte.js → index-_yFHxlc9.js} +1 -1
- package/dist-embed/chunks/{index-BMY48-7N.js → index-i9IsP_xD.js} +1 -1
- package/dist-embed/chunks/{index.esm-CDmg415B.js → index.esm-BA_6VWW2.js} +1 -1
- package/dist-embed/chunks/index.esm-CjezntnN.js +1 -0
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-r53wKy7u.js → infoDiagram-27XIBGKW-B4XVsJvC.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-ZpA0pyod.js → infoDiagram-27XIBGKW-Cs7bZlH6.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-27XIBGKW-CJ3r0yt4.js → infoDiagram-27XIBGKW-D3fIZzte.js} +1 -1
- package/dist-embed/chunks/{infoDiagram-a29d40f1-SCeFVgXv.js → infoDiagram-a29d40f1-DkWa9MRC.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-CvqPw0ea.js → ishikawaDiagram-5VMMS53U-B6nIkJxX.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DZTg3ecD.js → ishikawaDiagram-5VMMS53U-BB-Kv-Mj.js} +1 -1
- package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-DyyVsa6G.js → ishikawaDiagram-5VMMS53U-BIytcjnR.js} +1 -1
- package/dist-embed/chunks/{it-IT-JPQ66NNP-iU7kI7qX.js → it-IT-JPQ66NNP-BVqiIDuA.js} +1 -1
- package/dist-embed/chunks/{ja-JP-DBVTYXUO-CgiuMyHB.js → ja-JP-DBVTYXUO-BVru9viS.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DAnc386V.js → journeyDiagram-3NMN7TZE-Bs6ObzT9.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-Bc9JVKJo.js → journeyDiagram-3NMN7TZE-C3yCP95B.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-MiKYaC2s.js → journeyDiagram-3NMN7TZE-DjgUmoWA.js} +1 -1
- package/dist-embed/chunks/{journeyDiagram-95396277-DT_97eTw.js → journeyDiagram-95396277-Dj4xwdzk.js} +1 -1
- package/dist-embed/chunks/{kaa-6HZHGXH3-kCO_bmZz.js → kaa-6HZHGXH3-COq8GIG8.js} +1 -1
- package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-XZlP8YRp.js → kab-KAB-ZGHBKWFO-C6sCJW81.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-C2nVULib.js → kanban-definition-UXKFOSKX-B9DSJpj9.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BkReeSIH.js → kanban-definition-UXKFOSKX-Chsw2-Nq.js} +1 -1
- package/dist-embed/chunks/{kanban-definition-UXKFOSKX-CaaDxJqC.js → kanban-definition-UXKFOSKX-_mcHB773.js} +1 -1
- package/dist-embed/chunks/{kk-KZ-P5N5QNE5-BYUwHB4m.js → kk-KZ-P5N5QNE5-dn5L62v9.js} +1 -1
- package/dist-embed/chunks/{km-KH-HSX4SM5Z-CUO0IDD-.js → km-KH-HSX4SM5Z-DHRs2Dac.js} +1 -1
- package/dist-embed/chunks/{ko-KR-MTYHY66A-CuR4MTdp.js → ko-KR-MTYHY66A-B-6WTOYs.js} +1 -1
- package/dist-embed/chunks/{ku-TR-6OUDTVRD-CuFtqN6b.js → ku-TR-6OUDTVRD-DtHakiL_.js} +1 -1
- package/dist-embed/chunks/{layout-BjpOdFu2.js → layout-DTdkd155.js} +1 -1
- package/dist-embed/chunks/{layout-DQIVAfpO.js → layout-D_LOxL0l.js} +1 -1
- package/dist-embed/chunks/{layout-BD_a0kBf.js → layout-W4AzWc9F.js} +1 -1
- package/dist-embed/chunks/{lexicalHooks-BM3oRORX.js → lexicalHooks-eeb6BvjZ.js} +1 -1
- package/dist-embed/chunks/{lib-BXb6Der8.js → lib-BMPXKfof.js} +1 -1
- package/dist-embed/chunks/{lib-Dfg3vZM8.js → lib-BQwc_iHi.js} +1 -1
- package/dist-embed/chunks/{lib-CXURv0CD.js → lib-BZqd0lRo.js} +1 -1
- package/dist-embed/chunks/{lib-CEAQckSu.js → lib-BrI7Hb25.js} +1 -1
- package/dist-embed/chunks/{lib-Bx0zoo2z.js → lib-Bt3UDo1P.js} +1 -1
- package/dist-embed/chunks/{lib-0t46pS-5.js → lib-Btas-Vc2.js} +1 -1
- package/dist-embed/chunks/{lib-DXoXqPR6.js → lib-Bukh35h2.js} +1 -1
- package/dist-embed/chunks/{lib-Yguxonvz.js → lib-BzbIpAN9.js} +1 -1
- package/dist-embed/chunks/{lib-BZnIPSNY.js → lib-CM6qdZu_.js} +1 -1
- package/dist-embed/chunks/{lib-B5XoICB9.js → lib-CYKJVq8i.js} +1 -1
- package/dist-embed/chunks/{lib-CJ9ULCcA.js → lib-C_8F-jrZ.js} +1 -1
- package/dist-embed/chunks/{lib-WvggSsMk.js → lib-Cz-lZRHD.js} +1 -1
- package/dist-embed/chunks/{lib-CqNuA7eJ.js → lib-D--prlsO.js} +1 -1
- package/dist-embed/chunks/{lib-CtFV0V1H.js → lib-DLTzM19O.js} +11 -11
- package/dist-embed/chunks/{lib-Bf4e9-pt.js → lib-DPx8N2oL.js} +1 -1
- package/dist-embed/chunks/{lib-CBlEbdz_.js → lib-DS4NMFQk.js} +1 -1
- package/dist-embed/chunks/{lib-B_ADtK-Y.js → lib-DekQ5MbL.js} +1 -1
- package/dist-embed/chunks/{lib-eeN6DkZa.js → lib-DyPVwxhD.js} +1 -1
- package/dist-embed/chunks/{lib-QwGhpmEd.js → lib-Y2W358Nu.js} +1 -1
- package/dist-embed/chunks/{lib-Bj6VnDnz.js → lib-ZsSgUH3L.js} +1 -1
- package/dist-embed/chunks/{lt-LT-XHIRWOB4-TpyDKA3C.js → lt-LT-XHIRWOB4-Bov6lsrL.js} +1 -1
- package/dist-embed/chunks/{lv-LV-5QDEKY6T-Dz0_ikqR.js → lv-LV-5QDEKY6T-7TYkSlIn.js} +1 -1
- package/dist-embed/chunks/{mermaid.core-meWUGbq7.js → mermaid.core-By9AWIOp.js} +3 -3
- package/dist-embed/chunks/{mermaid.core-Dkoaa-_D.js → mermaid.core-Dd-D7tJ4.js} +5 -5
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-BxYK9vLg.js → mindmap-definition-YA3MSWOX-CCpwK8vh.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-DQSoT62j.js → mindmap-definition-YA3MSWOX-CmGscTNk.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-1p4XwdjF.js → mindmap-definition-YA3MSWOX-Uv7-26v7.js} +1 -1
- package/dist-embed/chunks/{mindmap-definition-e4c1d938-BGiAi0LL.js → mindmap-definition-e4c1d938-aCX0qYqH.js} +1 -1
- package/dist-embed/chunks/{mr-IN-CRQNXWMA-Vbci-IWj.js → mr-IN-CRQNXWMA-C1hMHCkZ.js} +1 -1
- package/dist-embed/chunks/{my-MM-5M5IBNSE-C0JHZ0Gp.js → my-MM-5M5IBNSE-CmNBubDy.js} +1 -1
- package/dist-embed/chunks/{nb-NO-T6EIAALU-eFOvuJCy.js → nb-NO-T6EIAALU-NtLUc485.js} +1 -1
- package/dist-embed/chunks/{nl-NL-IS3SIHDZ-Din9L_2S.js → nl-NL-IS3SIHDZ-CCHd5AqI.js} +1 -1
- package/dist-embed/chunks/{nn-NO-6E72VCQL-D7cIpOBH.js → nn-NO-6E72VCQL-BYMvh_fX.js} +1 -1
- package/dist-embed/chunks/{oc-FR-POXYY2M6-Bcxv3YfP.js → oc-FR-POXYY2M6-CkuSUWy_.js} +1 -1
- package/dist-embed/chunks/{pa-IN-N4M65BXN-IrBb1NlL.js → pa-IN-N4M65BXN-Daq4uKWi.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-GlLsdSxR.js → pegDiagram-XKGWAZYB-C1R8Kk6K.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-DDgyLvau.js → pegDiagram-XKGWAZYB-DLONs192.js} +1 -1
- package/dist-embed/chunks/{pegDiagram-XKGWAZYB-iCCMOEMa.js → pegDiagram-XKGWAZYB-dwQNJiaW.js} +1 -1
- package/dist-embed/chunks/{percentages-BXMCSKIN-BaaVroR_.js → percentages-BXMCSKIN-_vjQ8CcA.js} +5 -5
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-CIfzhxTy.js → pieDiagram-E7YTZNPT-CH60iHt1.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-ffhUIieA.js → pieDiagram-E7YTZNPT-Cm-wzRi8.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-E7YTZNPT-DIErsg9L.js → pieDiagram-E7YTZNPT-DiT0kFGb.js} +1 -1
- package/dist-embed/chunks/{pieDiagram-c941bede-JKyix3vD.js → pieDiagram-c941bede-BF587JLB.js} +1 -1
- package/dist-embed/chunks/{pl-PL-T2D74RX3-bF5WEfvP.js → pl-PL-T2D74RX3-DUHQouxW.js} +1 -1
- package/dist-embed/chunks/plugin-Bvp_HQZg.js +1 -0
- package/dist-embed/chunks/{pt-BR-5N22H2LF-K9lAvfY5.js → pt-BR-5N22H2LF-DK_6K-F_.js} +1 -1
- package/dist-embed/chunks/{pt-PT-UZXXM6DQ-DAlaVYmT.js → pt-PT-UZXXM6DQ-DtH8Iay_.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DbYIZcyN.js → quadrantDiagram-AXDQQJYC-B1wf6Zth.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-D3pxCP4M.js → quadrantDiagram-AXDQQJYC-DWDtOx8-.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-BE9RPE6m.js → quadrantDiagram-AXDQQJYC-mkOZIUHb.js} +1 -1
- package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-C_nd7FeD.js → quadrantDiagram-cf8b8fe0-CE6GwviF.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-CwaTW3Mo.js → railroadDiagram-O6MQD6OU-DEB7gRmX.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-CpXUNzTV.js → railroadDiagram-O6MQD6OU-DjA_m2-o.js} +1 -1
- package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-CEl2l0ZE.js → railroadDiagram-O6MQD6OU-DrkBEH1z.js} +1 -1
- package/dist-embed/chunks/{renderer-CtmiT4nP.js → renderer-jLLXpZ99.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-53bda41b-WVBAkQmj.js → requirementDiagram-53bda41b-BsRjuGBf.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-sE3y_NEM.js → requirementDiagram-BXWQKSXE-82Ybj2ki.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-ClYVmNTl.js → requirementDiagram-BXWQKSXE-C8d0kJ1A.js} +1 -1
- package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-Bd0fV1Bn.js → requirementDiagram-BXWQKSXE-S8WT8VJ1.js} +1 -1
- package/dist-embed/chunks/{ro-RO-JPDTUUEW-kn8FzruZ.js → ro-RO-JPDTUUEW-CfeEiLsp.js} +1 -1
- package/dist-embed/chunks/{ru-RU-B4JR7IUQ-iQW1KMip.js → ru-RU-B4JR7IUQ-xuXvLXWI.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CLR82118.js → sankeyDiagram-P5KCCOFB-C2LowYxA.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BZnLyt_G.js → sankeyDiagram-P5KCCOFB-CKqSAqcJ.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-DH-uxGJV.js → sankeyDiagram-P5KCCOFB-eNBOyfBR.js} +1 -1
- package/dist-embed/chunks/{sankeyDiagram-c3ef121a-CINAq9g5.js → sankeyDiagram-c3ef121a-BAS8V2Ov.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-82a5b84f-Bx7xO8lv.js → sequenceDiagram-82a5b84f-BWNvF-m7.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-D00NbcmA.js → sequenceDiagram-WJ2MYXX4-C_2alFNp.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CxHuil7I.js → sequenceDiagram-WJ2MYXX4-CxH0MlFa.js} +1 -1
- package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-VyUqwKEJ.js → sequenceDiagram-WJ2MYXX4-fsR56p6L.js} +1 -1
- package/dist-embed/chunks/{si-LK-N5RQ5JYF-C1J6zA3p.js → si-LK-N5RQ5JYF-CP-9ouz_.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-B_CNNL_v.js → sizeCapture-INFHLROL-BCe0IiFV.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-_h3QW8w5.js → sizeCapture-INFHLROL-BsZaIjAU.js} +1 -1
- package/dist-embed/chunks/{sizeCapture-INFHLROL-BhSnrZjU.js → sizeCapture-INFHLROL-Y7lBmAj6.js} +1 -1
- package/dist-embed/chunks/{sk-SK-C5VTKIMK-CK9RvjRD.js → sk-SK-C5VTKIMK-BB-nLd53.js} +1 -1
- package/dist-embed/chunks/{sl-SI-NN7IZMDC-CcDWOBHp.js → sl-SI-NN7IZMDC-Ct4gcmka.js} +1 -1
- package/dist-embed/chunks/{state-CGa66Nqd.js → state-DeMGhTAB.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-43e79a5f-DFrFK9qM.js → stateDiagram-43e79a5f-2cuSVith.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-QwBnfyKm.js → stateDiagram-D77RDMKH-3P7AgNud.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-BVJqlFiv.js → stateDiagram-D77RDMKH-DosU0FIz.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-D77RDMKH-CEvuFuTH.js → stateDiagram-D77RDMKH-ul2eLf5Q.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-CcaIZYWt.js → stateDiagram-v2-2041ed4f-Ur2pX7Zl.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BaZ6xgsr.js → stateDiagram-v2-MP3YSRHH-BvlJBilq.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-C_JHNwKt.js → stateDiagram-v2-MP3YSRHH-D0rhfnrW.js} +1 -1
- package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-ok1qePbZ.js → stateDiagram-v2-MP3YSRHH-DeEmivLr.js} +1 -1
- package/dist-embed/chunks/{styles-455b33cd-CAiZEic0.js → styles-455b33cd-DPOVDa0x.js} +1 -1
- package/dist-embed/chunks/{styles-f932cba9-CEhWf7q3.js → styles-f932cba9-Dev7yXQc.js} +1 -1
- package/dist-embed/chunks/{styles-fcc2142b-v0gPnZ9U.js → styles-fcc2142b-70zGEKfV.js} +1 -1
- package/dist-embed/chunks/{subset-shared.chunk-C0JvsRAi.js → subset-shared.chunk-Jbgk4hFg.js} +1 -1
- package/dist-embed/chunks/{subset-worker.chunk-qynV-rht.js → subset-worker.chunk-C52XcgS8.js} +1 -1
- package/dist-embed/chunks/{substates-Bs9ZMVGa.js → substates-BuHNVWkx.js} +1 -1
- package/dist-embed/chunks/{sv-SE-XGPEYMSR-B38oK2Y4.js → sv-SE-XGPEYMSR-DSfTTYTP.js} +1 -1
- package/dist-embed/chunks/{svgDrawCommon-148a3cd9-vsaJmSq8.js → svgDrawCommon-148a3cd9-zokUeLzq.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-CpRw9PHz.js → swimlanes-42K2YHIH-CIW2hU2l.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-DO1ZzP4k.js → swimlanes-42K2YHIH-DOkKP2_2.js} +1 -1
- package/dist-embed/chunks/{swimlanes-42K2YHIH-C_43oheZ.js → swimlanes-42K2YHIH-x4BMo9Cs.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BucpGmoC.js → swimlanesDiagram-VR7AAH4N-9yw92Xx_.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BYKvE-MW.js → swimlanesDiagram-VR7AAH4N-BlFZ7eQS.js} +1 -1
- package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BBi0wpOL.js → swimlanesDiagram-VR7AAH4N-zOAH82Ya.js} +1 -1
- package/dist-embed/chunks/{ta-IN-2NMHFXQM-uSQqrrN6.js → ta-IN-2NMHFXQM-_SwRKWkS.js} +1 -1
- package/dist-embed/chunks/{th-TH-HPSO5L25-Cs2r4usA.js → th-TH-HPSO5L25-NbkJxgfv.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-C9oiFt1s.js → timeline-definition-24CTP7MA-BfM-0614.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-CRpA2xfq.js → timeline-definition-24CTP7MA-C9Ed6D0K.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-24CTP7MA-C_RPFzcS.js → timeline-definition-24CTP7MA-kHlycslq.js} +1 -1
- package/dist-embed/chunks/{timeline-definition-7545f45a-diaQHYG7.js → timeline-definition-7545f45a-B4ECAP9Q.js} +1 -1
- package/dist-embed/chunks/{tr-TR-DEFEU3FU-D8o50B7O.js → tr-TR-DEFEU3FU-DrMMVO-E.js} +1 -1
- package/dist-embed/chunks/{uk-UA-QMV73CPH-B5fUoSFX.js → uk-UA-QMV73CPH-B53y70gR.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-ByKQXzaL.js → vennDiagram-4TSXK5OY-7gMUaOyw.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-6I3E2S1J.js → vennDiagram-4TSXK5OY-CrE30dtz.js} +1 -1
- package/dist-embed/chunks/{vennDiagram-4TSXK5OY-C4cLgb45.js → vennDiagram-4TSXK5OY-Dt9fBhlj.js} +1 -1
- package/dist-embed/chunks/{vi-VN-M7AON7JQ-Dj_kFfvZ.js → vi-VN-M7AON7JQ-BVHYf59K.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CLayLpj4.js → wardleyDiagram-VM6X3IG4-6HRbbvDt.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-CnxCRlDr.js → wardleyDiagram-VM6X3IG4-AvAVDPLG.js} +1 -1
- package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-6QgHmuap.js → wardleyDiagram-VM6X3IG4-CsR-8GhP.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-3f383b91-COn0cE9r.js → xychartDiagram-3f383b91-C09F8RkF.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-Hrzni--y.js → xychartDiagram-S5SC5T6Z-CkZtbHvK.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-CoRCml5l.js → xychartDiagram-S5SC5T6Z-VWPR98LV.js} +1 -1
- package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-RhhCg-yn.js → xychartDiagram-S5SC5T6Z-ZZD1fZ1L.js} +1 -1
- package/dist-embed/chunks/{zh-CN-LNUGB5OW-CHJxgGXp.js → zh-CN-LNUGB5OW-z2taSDkS.js} +1 -1
- package/dist-embed/chunks/{zh-HK-E62DVLB3-CLxE_xvU.js → zh-HK-E62DVLB3-Rkl2piEx.js} +1 -1
- package/dist-embed/chunks/{zh-TW-RAJ6MFWO-CpEgHY46.js → zh-TW-RAJ6MFWO-BgDiBZag.js} +1 -1
- package/dist-embed/datalayer-app-main.js +21 -21
- package/lib/api/runtimes/environments.d.ts +15 -16
- package/lib/api/runtimes/environments.js +19 -20
- package/lib/api/runtimes/runtimes.d.ts +8 -8
- package/lib/api/runtimes/runtimes.js +6 -6
- package/lib/apps/Application.d.ts +3 -3
- package/lib/apps/Application.js +2 -2
- package/lib/apps/__tests__/fixtures/sceneCheckCases.json +1 -1
- package/lib/apps/apps/AppBrowserSandbox.js +1 -1
- package/lib/apps/apps/AppComposer.d.ts +7 -7
- package/lib/apps/apps/AppComposer.js +9 -9
- package/lib/apps/apps/AppFeedback.d.ts +1 -1
- package/lib/apps/apps/AppFeedback.js +1 -1
- package/lib/apps/apps/AppKept.d.ts +1 -1
- package/lib/apps/apps/AppKept.js +1 -2
- package/lib/apps/apps/AppRenderer.d.ts +41 -42
- package/lib/apps/apps/AppRenderer.js +54 -55
- package/lib/apps/apps/AppRuntimePlugins.d.ts +1 -1
- package/lib/apps/apps/AppRuntimePlugins.js +3 -3
- package/lib/apps/apps/agent.js +1 -1
- package/lib/apps/apps/browserSandbox.d.ts +1 -1
- package/lib/apps/apps/checks.d.ts +8 -8
- package/lib/apps/apps/checks.js +40 -40
- package/lib/apps/apps/composer.d.ts +3 -3
- package/lib/apps/apps/composer.js +2 -2
- package/lib/apps/apps/computer.d.ts +5 -5
- package/lib/apps/apps/computer.js +2 -2
- package/lib/apps/apps/customComponents.d.ts +3 -3
- package/lib/apps/apps/customComponents.js +4 -4
- package/lib/apps/apps/feedback.d.ts +2 -2
- package/lib/apps/apps/feedback.js +1 -1
- package/lib/apps/apps/hostTools.d.ts +4 -4
- package/lib/apps/apps/hostTools.js +3 -3
- package/lib/apps/apps/kept.d.ts +2 -2
- package/lib/apps/apps/language.d.ts +1 -1
- package/lib/apps/apps/pluginPair.d.ts +1 -1
- package/lib/apps/apps/records.d.ts +6 -6
- package/lib/apps/apps/records.js +4 -4
- package/lib/apps/apps/rules.d.ts +4 -4
- package/lib/apps/apps/rules.js +4 -4
- package/lib/apps/apps/saved.d.ts +1 -1
- package/lib/apps/apps/saved.js +1 -1
- package/lib/apps/apps/sceneChecks.d.ts +5 -5
- package/lib/apps/apps/sceneChecks.js +7 -7
- package/lib/apps/apps/sceneYaml.d.ts +2 -2
- package/lib/apps/apps/sceneYaml.js +4 -4
- package/lib/apps/apps/sessionRules.d.ts +2 -2
- package/lib/apps/apps/sessionRules.js +2 -2
- package/lib/apps/apps/settingsInputs.d.ts +1 -1
- package/lib/apps/apps/settingsInputs.js +1 -1
- package/lib/apps/apps/threads.d.ts +3 -3
- package/lib/apps/apps/uploads.d.ts +1 -1
- package/lib/apps/apps/visitorToken.d.ts +3 -3
- package/lib/apps/apps/visitorToken.js +4 -4
- package/lib/apps/core/a2uiComponents.js +1 -1
- package/lib/apps/core/appFiles.js +1 -1
- package/lib/apps/core/canvasParts.d.ts +3 -3
- package/lib/apps/core/canvasParts.js +2 -2
- package/lib/apps/core/index.d.ts +20 -21
- package/lib/apps/core/index.js +5 -5
- package/lib/apps/embed/AppEmbed.d.ts +19 -19
- package/lib/apps/embed/AppEmbed.js +27 -27
- package/lib/apps/embed/LoopEmbed.d.ts +2 -2
- package/lib/apps/embed/LoopEmbed.js +1 -1
- package/lib/apps/embed/datalayer-app.js +1 -1
- package/lib/apps/embed/element.d.ts +1 -1
- package/lib/apps/embed/element.js +25 -25
- package/lib/apps/embed/embedConfig.d.ts +14 -14
- package/lib/apps/embed/embedConfig.js +11 -11
- package/lib/apps/embed/embedSession.d.ts +2 -2
- package/lib/apps/embed/embedSession.js +1 -1
- package/lib/apps/embed/embedTheme.d.ts +4 -4
- package/lib/apps/embed/embedTheme.js +5 -5
- package/lib/apps/embed/embeddedSecrets.d.ts +1 -1
- package/lib/apps/embed/embeddedSecrets.js +1 -1
- package/lib/apps/embed/hostBridge.d.ts +15 -15
- package/lib/apps/embed/hostBridge.js +10 -10
- package/lib/apps/embed/loader.js +2 -2
- package/lib/apps/embed/visitorApp.d.ts +2 -2
- package/lib/apps/embed/visitorApp.js +3 -4
- package/lib/apps/index.js +2 -2
- package/lib/apps/plugins/a2ui-surface/AnswerShows.d.ts +2 -2
- package/lib/apps/plugins/a2ui-surface/AnswerShows.js +1 -1
- package/lib/apps/plugins/a2ui-surface/InlineSurface.d.ts +1 -1
- package/lib/apps/plugins/a2ui-surface/SurfaceToolResult.js +2 -2
- package/lib/apps/plugins/a2ui-surface/index.js +1 -1
- package/lib/apps/plugins/a2ui-surface/ownComponents.js +1 -1
- package/lib/apps/plugins/a2ui-surface/toolResult.d.ts +2 -2
- package/lib/apps/plugins/a2ui-surface/toolResult.js +2 -2
- package/lib/apps/plugins/agent-capacity/index.d.ts +2 -2
- package/lib/apps/plugins/agents/DatalayerAgentBridge.js +5 -5
- package/lib/apps/plugins/agents/appLaunch.d.ts +1 -1
- package/lib/apps/plugins/agents/plugin.d.ts +4 -4
- package/lib/apps/plugins/agents/switchable.js +1 -1
- package/lib/apps/plugins/app-activity/AppActivity.d.ts +2 -2
- package/lib/apps/plugins/app-activity/index.js +1 -1
- package/lib/apps/plugins/app-components/index.d.ts +1 -1
- package/lib/apps/plugins/app-components/index.js +1 -1
- package/lib/apps/plugins/app-computer/AppComputer.d.ts +1 -1
- package/lib/apps/plugins/app-computer/AppComputer.js +2 -2
- package/lib/apps/plugins/app-computer/index.js +1 -1
- package/lib/apps/plugins/app-elements/AppElements.d.ts +1 -1
- package/lib/apps/plugins/app-elements/AppElements.js +1 -1
- package/lib/apps/plugins/app-elements/QuestionView.d.ts +2 -2
- package/lib/apps/plugins/app-elements/QuestionView.js +1 -1
- package/lib/apps/plugins/app-elements/index.d.ts +4 -4
- package/lib/apps/plugins/app-elements/index.js +4 -4
- package/lib/apps/plugins/app-page/AppPage.d.ts +5 -5
- package/lib/apps/plugins/app-page/AppPage.js +5 -5
- package/lib/apps/plugins/app-page/appPageModel.d.ts +13 -14
- package/lib/apps/plugins/app-page/appPageModel.js +12 -12
- package/lib/apps/plugins/app-page/index.d.ts +3 -4
- package/lib/apps/plugins/app-page/index.js +1 -1
- package/lib/apps/plugins/app-page/pageRun.d.ts +2 -2
- package/lib/apps/plugins/app-page/pageRun.js +2 -2
- package/lib/apps/plugins/app-rules/AppRulesCard.d.ts +5 -6
- package/lib/apps/plugins/app-rules/AppRulesCard.js +4 -4
- package/lib/apps/plugins/app-rules/index.js +1 -1
- package/lib/apps/plugins/app-rules/sessionRulesAction.d.ts +1 -1
- package/lib/apps/plugins/assistant/index.d.ts +9 -9
- package/lib/apps/plugins/assistant/index.js +5 -5
- package/lib/apps/plugins/assistant-characters/index.d.ts +6 -6
- package/lib/apps/plugins/assistant-characters/index.js +5 -5
- package/lib/apps/plugins/canvas-blocks/index.d.ts +2 -2
- package/lib/apps/plugins/canvas-blocks/index.js +2 -2
- package/lib/apps/plugins/canvas-parts/index.d.ts +6 -6
- package/lib/apps/plugins/canvas-parts/index.js +6 -6
- package/lib/apps/plugins/chat/ChatView.js +61 -61
- package/lib/apps/plugins/chat/SessionActionsMenu.d.ts +4 -4
- package/lib/apps/plugins/chat/SessionActionsMenu.js +3 -3
- package/lib/apps/plugins/chat/SessionChooseDialog.d.ts +1 -1
- package/lib/apps/plugins/chat/index.d.ts +9 -9
- package/lib/apps/plugins/chat/index.js +1 -1
- package/lib/apps/plugins/chat/sessionActions.js +1 -1
- package/lib/apps/plugins/chat/turnState.d.ts +1 -1
- package/lib/apps/plugins/page-layout/SplitLayout.d.ts +2 -2
- package/lib/apps/plugins/page-layout/SplitLayout.js +1 -1
- package/lib/apps/plugins/page-layout/index.js +1 -1
- package/lib/apps/plugins/pap-purchase/index.d.ts +9 -0
- package/lib/apps/plugins/pap-purchase/index.js +68 -4
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.d.ts +1 -1
- package/lib/apps/plugins/pap-sign-in/PapSignInCard.js +2 -2
- package/lib/apps/plugins/pap-sign-in/index.js +1 -1
- package/lib/apps/plugins/pap-sign-in/signIn.d.ts +1 -1
- package/lib/apps/plugins/pap-sign-in/signIn.js +1 -1
- package/lib/apps/plugins/plugins-panel/index.d.ts +1 -1
- package/lib/apps/plugins/plugins-panel/index.js +1 -1
- package/lib/apps/plugins/shield-displays/DiffCard.d.ts +1 -1
- package/lib/apps/plugins/shield-displays/TerminalCard.d.ts +1 -1
- package/lib/apps/plugins/shield-displays/index.js +4 -4
- package/lib/apps/presets.d.ts +8 -8
- package/lib/apps/presets.js +1 -1
- package/lib/apps/shell/LoopWorkspace.d.ts +1 -1
- package/lib/apps/shell/LoopWorkspace.js +2 -2
- package/lib/apps/shell/SidebarRail.d.ts +2 -2
- package/lib/apps/shell/paneMotion.d.ts +1 -1
- package/lib/apps/shell/paneMotion.js +1 -1
- package/lib/chat/Chat.d.ts +2 -2
- package/lib/chat/Chat.js +2 -2
- package/lib/chat/ChatFloating.d.ts +8 -8
- package/lib/chat/ChatFloating.js +15 -15
- package/lib/chat/ChatInline.js +1 -1
- package/lib/chat/ChatLanguage.d.ts +1 -1
- package/lib/chat/ChatLanguage.js +1 -1
- package/lib/chat/assistant/AssistantContextMenu.d.ts +1 -1
- package/lib/chat/assistant/AssistantStage.d.ts +14 -14
- package/lib/chat/assistant/AssistantStage.js +11 -12
- package/lib/chat/assistant/Avatar3D.d.ts +1 -1
- package/lib/chat/assistant/BalloonParts.d.ts +2 -2
- package/lib/chat/assistant/BalloonParts.js +1 -1
- package/lib/chat/assistant/BalloonVisual.d.ts +1 -1
- package/lib/chat/assistant/ConversationBalloon.d.ts +2 -2
- package/lib/chat/assistant/ConversationBalloon.js +1 -1
- package/lib/chat/assistant/SpeechBalloon.d.ts +2 -2
- package/lib/chat/assistant/SpriteCharacter.d.ts +2 -2
- package/lib/chat/assistant/characters.d.ts +5 -5
- package/lib/chat/assistant/clearance.d.ts +3 -3
- package/lib/chat/assistant/clearance.js +3 -3
- package/lib/chat/assistant/formats/acf.js +1 -1
- package/lib/chat/assistant/formats/files.js +1 -1
- package/lib/chat/assistant/formats/index.d.ts +1 -1
- package/lib/chat/assistant/formats/index.js +1 -1
- package/lib/chat/assistant/formats/stateAnimations.d.ts +1 -1
- package/lib/chat/assistant/formats/types.d.ts +1 -1
- package/lib/chat/assistant/state.d.ts +10 -10
- package/lib/chat/assistant/state.js +5 -5
- package/lib/chat/assistant/toolLine.d.ts +1 -1
- package/lib/chat/assistant/toolLine.js +2 -2
- package/lib/chat/base/ChatBase.js +44 -44
- package/lib/chat/base/conversationItems.d.ts +2 -2
- package/lib/chat/base/loopElement.d.ts +4 -4
- package/lib/chat/base/loopStep.d.ts +4 -4
- package/lib/chat/base/loopStep.js +1 -1
- package/lib/chat/base/loopWindow.d.ts +2 -2
- package/lib/chat/base/loopWindow.js +2 -2
- package/lib/chat/base/uiFiles.d.ts +1 -1
- package/lib/chat/base/uiFiles.js +1 -1
- package/lib/chat/base/uiOps.d.ts +2 -2
- package/lib/chat/base/uiOps.js +2 -2
- package/lib/chat/index.js +1 -1
- package/lib/chat/indicators/McpStatusIndicator.js +1 -1
- package/lib/chat/indicators/SkillsStatusIndicator.js +1 -1
- package/lib/chat/messages/ChatMessageList.d.ts +3 -3
- package/lib/chat/messages/ChatMessageList.js +3 -3
- package/lib/chat/messages/markdownWithoutHtml.d.ts +1 -1
- package/lib/chat/messages/markdownWithoutHtml.js +1 -1
- package/lib/chat/presence/Presence.d.ts +4 -4
- package/lib/chat/presence/Presence.js +1 -1
- package/lib/chat/presence/presenceStatus.d.ts +2 -2
- package/lib/chat/presence/presenceStatus.js +2 -2
- package/lib/chat/prompt/InputPrompt.d.ts +2 -2
- package/lib/chat/prompt/InputPrompt.js +2 -2
- package/lib/chat/prompt/InputPromptBase.d.ts +1 -1
- package/lib/chat/prompt/InputPromptBase.js +1 -1
- package/lib/chat/prompt/InputPromptLexical.d.ts +1 -1
- package/lib/chat/styles/streamdownStyles.js +1 -1
- package/lib/chat/tools/IdentityAuthorization.js +1 -1
- package/lib/chat/useViewportDrag.d.ts +1 -1
- package/lib/chat/viewModes.d.ts +1 -1
- package/lib/chat/viewModes.js +2 -2
- package/lib/chat/words.js +1 -1
- package/lib/client/mixins/RuntimesMixin.d.ts +5 -5
- package/lib/client/mixins/RuntimesMixin.js +5 -5
- package/lib/components/a2ui/custom/index.d.ts +3 -3
- package/lib/components/a2ui/custom/index.js +1 -1
- package/lib/components/a2ui/custom/sandbox.d.ts +2 -2
- package/lib/components/a2ui/custom/sandbox.js +2 -2
- package/lib/components/a2ui/datalayer/Chart.js +2 -2
- package/lib/components/a2ui/datalayer/Chat.js +1 -1
- package/lib/components/a2ui/datalayer/Download.js +1 -1
- package/lib/components/a2ui/datalayer/Evidence.js +1 -1
- package/lib/components/a2ui/datalayer/FileUpload.d.ts +1 -1
- package/lib/components/a2ui/datalayer/FileUpload.js +2 -2
- package/lib/components/a2ui/datalayer/Form.d.ts +1 -1
- package/lib/components/a2ui/datalayer/Form.js +3 -3
- package/lib/components/a2ui/datalayer/SchemaForm.d.ts +1 -1
- package/lib/components/a2ui/datalayer/Table.js +1 -1
- package/lib/components/a2ui/datalayer/drawn.d.ts +1 -1
- package/lib/components/a2ui/datalayer/drawn.js +1 -1
- package/lib/components/a2ui/datalayer/formWidgets.js +1 -1
- package/lib/components/a2ui/datalayer/index.d.ts +1 -1
- package/lib/components/a2ui/datalayer/schema.d.ts +3 -3
- package/lib/components/a2ui/datalayer/schema.js +3 -3
- package/lib/components/a2ui/styles.js +1 -1
- package/lib/components/a2ui/visibleWhen.d.ts +4 -4
- package/lib/components/a2ui/visibleWhen.js +4 -4
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.d.ts +2 -2
- package/lib/components/code-sandboxes/CodeSandboxEnvironmentSelect.js +2 -2
- package/lib/components/code-sandboxes/CodeSandboxLauncher.d.ts +1 -1
- package/lib/components/code-sandboxes/CodeSandboxLauncher.js +4 -4
- package/lib/components/code-sandboxes/CodeSandboxUtils.d.ts +2 -2
- package/lib/components/code-sandboxes/codeSandboxEnvironments.d.ts +6 -8
- package/lib/components/code-sandboxes/codeSandboxEnvironments.js +4 -6
- package/lib/components/inspector/a2aSpans.d.ts +1 -1
- package/lib/components/inspector/a2aSpans.js +1 -1
- package/lib/components/teams/A2ATeamGraph.d.ts +3 -3
- package/lib/components/teams/A2ATeamGraph.js +1 -1
- package/lib/components/teams/AnswerSurfaces.d.ts +1 -1
- package/lib/components/teams/AnswerSurfacesView.d.ts +1 -1
- package/lib/components/teams/AnswerSurfacesView.js +1 -1
- package/lib/components/teams/NotebookPreview.d.ts +1 -1
- package/lib/components/teams/SceneTranscript.d.ts +2 -2
- package/lib/components/teams/SceneView.d.ts +3 -3
- package/lib/components/teams/a2aTeamFlow.d.ts +1 -1
- package/lib/components/teams/a2aTeamFlow.js +1 -1
- package/lib/components/teams/backdrops/halo.d.ts +1 -1
- package/lib/components/teams/backdrops/types.d.ts +3 -3
- package/lib/components/teams/sceneStage.d.ts +1 -1
- package/lib/components/teams/sceneTranscriptRules.d.ts +2 -2
- package/lib/components/teams/toolEventLoop.js +1 -1
- package/lib/components/teams/transcript/SequenceDiagram.d.ts +1 -1
- package/lib/components/teams/transcript/TranscriptDetail.d.ts +1 -1
- package/lib/components/teams/transcript/TranscriptTable.d.ts +1 -1
- package/lib/components/teams/transcript/TranscriptViews.d.ts +3 -4
- package/lib/components/teams/transcript/index.d.ts +1 -1
- package/lib/components/teams/transcript/index.js +1 -1
- package/lib/components/teams/transcript/selection.d.ts +1 -1
- package/lib/components/teams/transcript/sequenceDiagramRules.d.ts +1 -1
- package/lib/components/teams/transcript/sequenceDiagramRules.js +1 -1
- package/lib/components/teams/transcript/transcriptDetailRules.d.ts +1 -1
- package/lib/components/teams/transcript/transcriptExport.d.ts +1 -1
- package/lib/components/teams/transcript/transcriptRows.d.ts +1 -1
- package/lib/components/teams/transcript/transcriptRows.js +1 -1
- package/lib/components/teams/useA2ATeam.d.ts +9 -9
- package/lib/components/teams/useA2ATeam.js +6 -6
- package/lib/examples/AvatarExample.d.ts +2 -2
- package/lib/examples/AvatarExample.js +3 -3
- package/lib/examples/AvatarGalleryExample.d.ts +3 -3
- package/lib/examples/AvatarGalleryExample.js +4 -4
- package/lib/examples/LoopAppComputerExample.d.ts +1 -1
- package/lib/examples/LoopAppComputerExample.js +1 -1
- package/lib/examples/ProtocolSignedRequestsExample.d.ts +1 -1
- package/lib/examples/ProtocolSignedRequestsExample.js +1 -1
- package/lib/examples/ProtocolUcpCheckoutExample.d.ts +1 -1
- package/lib/examples/ProtocolUcpCheckoutExample.js +1 -1
- package/lib/examples/ScenesExample.js +4 -4
- package/lib/examples/ShieldHarnessExample.d.ts +1 -1
- package/lib/examples/ShieldHarnessExample.js +1 -1
- package/lib/examples/ShieldPolicyExample.d.ts +1 -1
- package/lib/examples/ShieldPolicyExample.js +1 -1
- package/lib/examples/VoiceChatExample.js +1 -1
- package/lib/examples/example-selector.js +1 -1
- package/lib/examples/exampleGroups.js +4 -4
- package/lib/examples/pap/papSignInCases.js +1 -1
- package/lib/examples/protocols/signedRequestsDemo.d.ts +1 -1
- package/lib/examples/protocols/signedRequestsDemo.js +1 -1
- package/lib/examples/protocols/ucpCheckoutDemo.d.ts +1 -2
- package/lib/examples/protocols/ucpCheckoutDemo.js +1 -2
- package/lib/examples/shield/shieldHarness.d.ts +1 -1
- package/lib/examples/shield/shieldPolicyDemo.d.ts +1 -1
- package/lib/examples/utils/AvatarGalleryGrid.d.ts +2 -2
- package/lib/examples/utils/AvatarGalleryGrid.js +2 -2
- package/lib/examples/utils/avatarGallery.d.ts +5 -5
- package/lib/examples/utils/avatarGallery.js +2 -2
- package/lib/examples/utils/testSpriteCharacter.js +1 -1
- package/lib/hooks/useAgUi.js +1 -1
- package/lib/hooks/useAgentRuntimes.d.ts +3 -3
- package/lib/hooks/useAgentRuntimes.js +2 -2
- package/lib/hooks/useChat.js +1 -1
- package/lib/models/Environment.d.ts +39 -39
- package/lib/models/Environment.js +1 -1
- package/lib/models/EnvironmentDTO.d.ts +6 -6
- package/lib/models/EnvironmentDTO.js +2 -2
- package/lib/models/RuntimeDTO.d.ts +2 -2
- package/lib/portable/activity.d.ts +7 -7
- package/lib/portable/activity.js +3 -3
- package/lib/portable/adapterEvents.d.ts +2 -2
- package/lib/portable/agUiRefusal.d.ts +1 -1
- package/lib/portable/agUiRefusal.js +1 -1
- package/lib/portable/approvalCard.d.ts +1 -1
- package/lib/portable/approvalCard.js +1 -1
- package/lib/portable/approvals.d.ts +4 -4
- package/lib/portable/approvals.js +2 -2
- package/lib/portable/attention.d.ts +4 -4
- package/lib/portable/attention.js +6 -6
- package/lib/portable/conversation.d.ts +2 -2
- package/lib/portable/conversation.js +1 -1
- package/lib/portable/direct.d.ts +2 -2
- package/lib/portable/fixtures.d.ts +3 -3
- package/lib/portable/fixtures.js +3 -3
- package/lib/portable/hosts/agentClient.d.ts +4 -4
- package/lib/portable/hosts/agentClient.js +2 -2
- package/lib/portable/hosts/client.d.ts +2 -2
- package/lib/portable/hosts/client.js +3 -3
- package/lib/portable/hosts/contracts.d.ts +2 -2
- package/lib/portable/hosts/contracts.js +3 -3
- package/lib/portable/hosts/contracts.json +1 -1
- package/lib/portable/hosts/deadLetters.d.ts +1 -1
- package/lib/portable/hosts/deadLetters.js +4 -4
- package/lib/portable/hosts/deliveries.d.ts +1 -1
- package/lib/portable/hosts/forbiddenGraph.d.ts +2 -3
- package/lib/portable/hosts/forbiddenGraph.js +2 -3
- package/lib/portable/hosts/health.d.ts +2 -2
- package/lib/portable/hosts/health.js +2 -2
- package/lib/portable/hosts/index.d.ts +1 -1
- package/lib/portable/hosts/index.js +1 -1
- package/lib/portable/hosts/observability.d.ts +2 -2
- package/lib/portable/hosts/observability.js +3 -3
- package/lib/portable/hosts/postgresQueue.d.ts +5 -6
- package/lib/portable/hosts/postgresQueue.js +4 -5
- package/lib/portable/hosts/queue.d.ts +1 -1
- package/lib/portable/hosts/quotas.d.ts +3 -3
- package/lib/portable/hosts/quotas.js +2 -2
- package/lib/portable/hosts/rateLimit.d.ts +1 -1
- package/lib/portable/hosts/resolution.d.ts +3 -3
- package/lib/portable/hosts/schema.d.ts +1 -1
- package/lib/portable/hosts/schema.js +1 -1
- package/lib/portable/hosts/secretCipher.d.ts +1 -2
- package/lib/portable/hosts/turnState.d.ts +1 -1
- package/lib/portable/index.js +13 -13
- package/lib/portable/lifecycle.d.ts +4 -4
- package/lib/portable/lifecycle.js +1 -1
- package/lib/portable/localApprovals.d.ts +1 -1
- package/lib/portable/localApprovals.js +1 -1
- package/lib/portable/localRuntime.d.ts +7 -7
- package/lib/portable/localRuntime.js +5 -5
- package/lib/portable/presence.d.ts +3 -3
- package/lib/portable/protectedInput.d.ts +1 -1
- package/lib/portable/records.d.ts +1 -1
- package/lib/portable/records.js +1 -1
- package/lib/portable/runMeasures.d.ts +1 -1
- package/lib/portable/runMeasures.js +1 -1
- package/lib/portable/runtimes.d.ts +1 -1
- package/lib/portable/semantic-events.json +1 -1
- package/lib/portable/semantic.d.ts +1 -1
- package/lib/portable/semanticOfAgUi.d.ts +2 -2
- package/lib/portable/semanticOfAgUi.js +1 -1
- package/lib/portable/sessionList.d.ts +11 -11
- package/lib/portable/sessionList.js +8 -8
- package/lib/portable/signIn.d.ts +9 -9
- package/lib/portable/signIn.js +4 -4
- package/lib/portable/signInStatus.d.ts +1 -1
- package/lib/portable/signInStatus.js +1 -1
- package/lib/portable/thread.d.ts +1 -1
- package/lib/portable/views.d.ts +3 -3
- package/lib/protocols/A2AAdapter.d.ts +1 -1
- package/lib/protocols/A2AAdapter.js +4 -4
- package/lib/protocols/AGUIAdapter.d.ts +1 -1
- package/lib/protocols/AGUIAdapter.js +2 -2
- package/lib/protocols/BrowserAgentAdapter.d.ts +2 -2
- package/lib/protocols/BrowserAgentAdapter.js +1 -1
- package/lib/protocols/VercelAIAdapter.js +2 -2
- package/lib/protocols/a2a/index.d.ts +1 -1
- package/lib/protocols/a2a/index.js +1 -1
- package/lib/protocols/agentic-commerce/index.d.ts +3 -3
- package/lib/protocols/agentic-commerce/index.js +3 -3
- package/lib/protocols/commerce.d.ts +3 -3
- package/lib/protocols/commerce.js +3 -3
- package/lib/protocols/core.d.ts +3 -3
- package/lib/protocols/mcp/client.js +1 -1
- package/lib/protocols/mcp/index.js +2 -2
- package/lib/protocols/pact/index.d.ts +2 -2
- package/lib/protocols/pact/index.js +1 -1
- package/lib/protocols/ucp/index.d.ts +3 -3
- package/lib/protocols/ucp/index.js +3 -3
- package/lib/protocols/ucp/merchant.js +1 -1
- package/lib/protocols/web-bot-auth/index.d.ts +2 -3
- package/lib/protocols/web-bot-auth/index.js +2 -3
- package/lib/protocols/web-bot-auth/tap.js +1 -1
- package/lib/runtimes/actions.d.ts +1 -1
- package/lib/runtimes/actions.js +3 -3
- package/lib/runtimes/apis.d.ts +4 -4
- package/lib/runtimes/browser/a2aPeer.d.ts +1 -1
- package/lib/runtimes/browser/a2aPeer.js +1 -1
- package/lib/runtimes/browser/frontendTools.d.ts +1 -1
- package/lib/runtimes/browser/protocol.d.ts +1 -1
- package/lib/runtimes/variants.d.ts +3 -3
- package/lib/runtimes/variants.js +4 -4
- package/lib/specs/apps.js +37 -37
- package/lib/specs/appspecSchema.js +2 -2
- package/lib/specs/harnesses.d.ts +2 -2
- package/lib/specs/harnesses.js +1 -1
- package/lib/specs/policies.d.ts +1 -1
- package/lib/specs/protocols.d.ts +1 -1
- package/lib/specs/sessionFiles.d.ts +1 -1
- package/lib/specs/sessionFiles.js +1 -1
- package/lib/specs/standards.d.ts +1 -1
- package/lib/specs/ui.d.ts +1 -1
- package/lib/specs/ui.js +1 -1
- package/lib/specs/voices.d.ts +1 -1
- package/lib/stores/agentRuntimeStore.js +1 -1
- package/lib/stories/loop/ReferenceScreens.d.ts +3 -3
- package/lib/stories/loop/ReferenceScreens.js +12 -12
- package/lib/stories/loop/pictures-main.js +3 -3
- package/lib/tools/adapters/agent-runtimes/AgentRuntimesToolAdapter.js +1 -1
- package/lib/tools/toolEventTurns.d.ts +2 -2
- package/lib/types/agentspecs.d.ts +4 -4
- package/lib/types/chat.d.ts +22 -22
- package/lib/types/mcp.d.ts +2 -2
- package/lib/types/messages.d.ts +1 -1
- package/lib/types/protocol.d.ts +1 -1
- package/lib/types/scenes.d.ts +7 -7
- package/lib/types/teams.d.ts +5 -5
- package/lib/types/tools.d.ts +2 -2
- package/lib/ui-plugins/MCPUIPlugin.d.ts +2 -2
- package/lib/ui-plugins/MCPUIPlugin.js +1 -1
- package/lib/voice/ComposerVoice.d.ts +13 -13
- package/lib/voice/ComposerVoice.js +3 -3
- package/lib/voice/HandsFree.d.ts +13 -13
- package/lib/voice/HandsFree.js +5 -5
- package/lib/voice/ReadAloud.d.ts +1 -1
- package/lib/voice/VoiceInput.d.ts +7 -7
- package/lib/voice/VoiceInput.js +5 -5
- package/lib/voice/VoiceMenu.d.ts +2 -2
- package/lib/voice/captions.d.ts +1 -1
- package/lib/voice/captions.js +1 -1
- package/lib/voice/capture.d.ts +3 -3
- package/lib/voice/capture.js +3 -3
- package/lib/voice/chatVoice.d.ts +8 -8
- package/lib/voice/chatVoice.js +11 -11
- package/lib/voice/choices.d.ts +3 -3
- package/lib/voice/choices.js +3 -3
- package/lib/voice/consent.d.ts +3 -3
- package/lib/voice/consent.js +4 -4
- package/lib/voice/handsFreeRules.d.ts +11 -11
- package/lib/voice/handsFreeRules.js +8 -8
- package/lib/voice/hearing.d.ts +7 -7
- package/lib/voice/hearing.js +4 -4
- package/lib/voice/index.d.ts +11 -11
- package/lib/voice/keptSound.d.ts +2 -2
- package/lib/voice/keptSound.js +3 -3
- package/lib/voice/pinned.d.ts +2 -2
- package/lib/voice/pinned.js +2 -2
- package/lib/voice/sayAloud.d.ts +5 -5
- package/lib/voice/sayAloud.js +5 -5
- package/lib/voice/sentences.d.ts +2 -2
- package/lib/voice/sentences.js +3 -3
- package/lib/voice/serverHearing.d.ts +2 -2
- package/lib/voice/serverHearing.js +5 -5
- package/lib/voice/settings.d.ts +11 -11
- package/lib/voice/settings.js +7 -7
- package/lib/voice/speaker.d.ts +14 -14
- package/lib/voice/speaker.js +7 -7
- package/lib/voice/types.d.ts +3 -3
- package/lib/voice/useSpokenAnswers.js +1 -1
- package/lib/voice/useVoiceSettings.js +1 -1
- package/lib/voice/useVoiceSpeaker.d.ts +2 -2
- package/lib/voice/useVoiceSpeaker.js +2 -2
- package/package.json +2 -2
- package/scripts/codegen/generate_agentic_commerce.sh +1 -1
- package/scripts/codegen/generate_agents.py +6 -6
- package/scripts/codegen/generate_harnesses.py +7 -7
- package/scripts/codegen/generate_mcp_servers.py +4 -4
- package/scripts/codegen/generate_policies.py +3 -3
- package/scripts/codegen/generate_protocols.py +4 -4
- package/scripts/codegen/generate_scenes.py +4 -4
- package/scripts/codegen/generate_session_files.py +3 -3
- package/scripts/codegen/generate_standards.py +3 -3
- package/scripts/codegen/generate_teams.py +1 -1
- package/scripts/codegen/generate_ui.py +5 -5
- package/scripts/codegen/generate_ui_renderers.py +2 -2
- package/scripts/codegen/generate_voices.py +3 -3
- package/scripts/dist-embed.mjs +1 -1
- package/scripts/generate-environments-types.py +2 -2
- package/scripts/record-scene-checks.py +2 -2
- package/scripts/voice/measure.py +3 -3
- package/scripts/voice/pin_store.py +2 -2
- package/scripts/voice/serve_store.py +1 -1
- package/scripts/voice/transcribe.mjs +1 -1
- package/dist-embed/chunks/AgentDetailsDialog-DMTVgMus.js +0 -1
- package/dist-embed/chunks/ContextPie-C0N8hwmj.js +0 -1
- package/dist-embed/chunks/index.esm-tNe_Tes8.js +0 -1
- package/dist-embed/chunks/plugin-BFdQv_3f.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./percentages-BXMCSKIN-
|
|
1
|
+
import"./percentages-BXMCSKIN-_vjQ8CcA.js";import"../datalayer-app-main.js";import"./JupyterLexicalExtension-lz41mjjY.js";import"./NotebookSkeleton-GSdyJDf_.js";import"./Avatar-DUPBQXVt.js";import"./url-DY3jeuF8.js";import"./isSymbol-BLtK9CV6.js";import"./toNumber-B1wj8-wx.js";import"./StrikethroughIcon-CbiEuPT-.js";import"./VideoIcon-C3wcjUxu.js";import"./ArrowUpIcon-y5enrVH9.js";import"./SortDescIcon-Qif6E10I.js";import"./PaintbrushIcon-CFBHU-3l.js";import"./PrismCss-c7kvMU60.js";import"./Output-BfjIM99o.js";import"./index-i9IsP_xD.js";import"./hoverbox-CStlKQWE.js";import"./index--Rl4aMiU.js";import"./index-_yFHxlc9.js";import"./dayjs.min-u3zuoSR8.js";import"./isEqual-DXPB_0fo.js";import"./d3-color-Jd8hXty2.js";import"./dist-Frc5TvpU.js";import"./index-BaRoLDk0.js";import"./RestartIcon-DvpOf5Mf.js";import"./LexicalToolRegistry-rXaW8uXA.js";import"./extends-CF3RwP-h.js";import"./index-BWeXDhSd.js";import"./index-DoBkwclg.js";var e={paste:"Coller",pasteAsPlaintext:"Coller comme texte brut",pasteCharts:"Coller les graphiques",selectAll:"Tout sélectionner",multiSelect:"Ajouter l'élément à la sélection",moveCanvas:"Déplacer le canevas",cut:"Couper",copy:"Copier",copyAsPng:"Copier dans le presse-papier en PNG",copyAsSvg:"Copier dans le presse-papier en SVG",copyText:"Copier dans le presse-papier en tant que texte",copySource:"Copier la source dans le presse-papiers",convertToCode:"Convertir en code",bringForward:"Envoyer vers l'avant",sendToBack:"Déplacer à l'arrière-plan",bringToFront:"Mettre au premier plan",sendBackward:"Reculer d'un plan",delete:"Supprimer",copyStyles:"Copier les styles",pasteStyles:"Coller les styles",stroke:"Trait",background:"Arrière-plan",fill:"Remplissage",strokeWidth:"Largeur du contour",strokeStyle:"Style du trait",strokeStyle_solid:"Continu",strokeStyle_dashed:"Tirets",strokeStyle_dotted:"Pointillés",sloppiness:"Style de tracé",opacity:"Transparence",textAlign:"Alignement du texte",edges:"Angles",sharp:"Pointus",round:"Arrondis",arrowheads:"Extrémités",arrowhead_none:"Sans",arrowhead_arrow:"Flèche",arrowhead_bar:"Barre",arrowhead_circle:"Cercle",arrowhead_circle_outline:"Contour du cercle",arrowhead_triangle:"Triangle",arrowhead_triangle_outline:"Triangle (contour)",arrowhead_diamond:"Losange",arrowhead_diamond_outline:"",fontSize:"Taille de la police",fontFamily:"Police",addWatermark:'Ajouter "Réalisé avec Excalidraw"',handDrawn:"À main levée",normal:"Normale",code:"Code",small:"Petite",medium:"Moyenne",large:"Grande",veryLarge:"Très grande",solid:"Solide",hachure:"Hachures",zigzag:"Zigzag",crossHatch:"Hachures croisées",thin:"Fine",bold:"Épaisse",left:"À gauche",center:"Au centre",right:"À droite",extraBold:"Très épaisse",architect:"Architecte",artist:"Artiste",cartoonist:"Caricaturiste",fileTitle:"Nom du fichier",colorPicker:"Sélecteur de couleur",canvasColors:"Utilisé sur la zone de dessin",canvasBackground:"Arrière-plan du canevas",drawingCanvas:"Zone de dessin",layers:"Disposition",actions:"Actions",language:"Langue",liveCollaboration:"Collaboration en direct...",duplicateSelection:"Dupliquer",untitled:"Sans-titre",name:"Nom",yourName:"Votre nom",madeWithExcalidraw:"Fait avec Excalidraw",group:"Grouper la sélection",ungroup:"Dégrouper la sélection",collaborators:"Collaborateurs",showGrid:"Afficher la grille",addToLibrary:"Ajouter à la bibliothèque",removeFromLibrary:"Supprimer de la bibliothèque",libraryLoadingMessage:"Chargement de la bibliothèque…",libraries:"Parcourir les bibliothèques",loadingScene:"Chargement de la scène…",align:"Alignement",alignTop:"Aligner en haut",alignBottom:"Aligner en bas",alignLeft:"Aligner à gauche",alignRight:"Aligner à droite",centerVertically:"Centrer verticalement",centerHorizontally:"Centrer horizontalement",distributeHorizontally:"Répartir horizontalement",distributeVertically:"Répartir verticalement",flipHorizontal:"Retourner horizontalement",flipVertical:"Retourner verticalement",viewMode:"Mode présentation",share:"Partager",showStroke:"Afficher le sélecteur de couleur de trait",showBackground:"Afficher le sélecteur de couleur de fond",toggleTheme:"Changer le thème",personalLib:"Bibliothèque personnelle",excalidrawLib:"Bibliothèque Excalidraw",decreaseFontSize:"Diminuer la taille de police",increaseFontSize:"Augmenter la taille de la police",unbindText:"Dissocier le texte",bindText:"Associer le texte au conteneur",createContainerFromText:"Encadrer le texte dans un conteneur",link:{edit:"Modifier le lien",editEmbed:"Éditer le lien & intégrer",create:"Ajouter un lien",createEmbed:"Créer un lien & intégrer",label:"Lien",labelEmbed:"Lier & intégrer",empty:"Aucun lien défini"},lineEditor:{edit:"Modifier la ligne",exit:"Quitter l'éditeur de ligne"},elementLock:{lock:"Verrouiller",unlock:"Déverrouiller",lockAll:"Tout verrouiller",unlockAll:"Tout déverrouiller"},statusPublished:"Publié",sidebarLock:"Maintenir la barre latérale ouverte",selectAllElementsInFrame:"Sélectionner tous les éléments du cadre",removeAllElementsFromFrame:"Supprimer tous les éléments du cadre",eyeDropper:"Choisir la couleur depuis la toile",textToDiagram:"Texte vers Diagramme",prompt:"Consignes"},r={noItems:"Aucun élément n'a encore été ajouté ...",hint_emptyLibrary:"Sélectionnez un élément sur le canevas pour l'ajouter ici ou installez une bibliothèque depuis le dépôt public, ci-dessous.",hint_emptyPrivateLibrary:"Sélectionnez un élément sur le canevas pour l'ajouter ici."},i={clearReset:"Réinitialiser le canevas",exportJSON:"Exporter comme fichier",exportImage:"Exporter l'image...",export:"Enregistrer sous...",copyToClipboard:"Copier dans le presse-papier",save:"Enregistrer dans le fichier actuel",saveAs:"Enregistrer sous",load:"Ouvrir",getShareableLink:"Obtenir un lien de partage",close:"Fermer",selectLanguage:"Choisir une langue",scrollBackToContent:"Revenir au contenu",zoomIn:"Zoomer",zoomOut:"Dézoomer",resetZoom:"Réinitialiser le zoom",menu:"Menu",done:"Terminé",edit:"Modifier",undo:"Annuler",redo:"Rétablir",resetLibrary:"Réinitialiser la bibliothèque",createNewRoom:"Créer une nouvelle salle",fullScreen:"Plein écran",darkMode:"Mode sombre",lightMode:"Mode clair",zenMode:"Mode zen",objectsSnapMode:"Aimanter aux objets",exitZenMode:"Quitter le mode zen",cancel:"Annuler",clear:"Effacer",remove:"Supprimer",embed:"Activer/Désactiver l'intégration",publishLibrary:"Publier",submit:"Envoyer",confirm:"Confirmer",embeddableInteractionButton:"Cliquez pour interagir"},o={clearReset:"L'intégralité du canevas va être effacée. Êtes-vous sûr ?",couldNotCreateShareableLink:"Impossible de créer un lien de partage.",couldNotCreateShareableLinkTooBig:"Impossible de créer un lien de partage : la scène est trop volumineuse",couldNotLoadInvalidFile:"Impossible de charger un fichier invalide",importBackendFailed:"L'importation depuis le serveur a échoué.",cannotExportEmptyCanvas:"Impossible d'exporter un canevas vide.",couldNotCopyToClipboard:"Impossible de copier dans le presse-papiers.",decryptFailed:"Les données n'ont pas pu être déchiffrées.",uploadedSecurly:"Le téléchargement a été sécurisé avec un chiffrement de bout en bout, ce qui signifie que ni Excalidraw ni personne d'autre ne peut en lire le contenu.",loadSceneOverridePrompt:"Le chargement d'un dessin externe remplacera votre contenu actuel. Souhaitez-vous continuer ?",collabStopOverridePrompt:`Arrêter la session écrasera votre précédent dessin stocké localement. Êtes-vous sûr·e ?
|
|
2
2
|
|
|
3
3
|
(Si vous voulez garder votre dessin local, fermez simplement l'onglet du navigateur à la place.)`,errorAddingToLibrary:"Impossible d'ajouter l'élément à la bibliothèque",errorRemovingFromLibrary:"Impossible de retirer l'élément de la bibliothèque",confirmAddLibrary:"Cela va ajouter {{numShapes}} forme(s) à votre bibliothèque. Êtes-vous sûr·e ?",imageDoesNotContainScene:"Cette image ne semble pas contenir de données de scène. Avez-vous activé l'intégration de scène lors de l'exportation ?",cannotRestoreFromImage:"Impossible de restaurer la scène depuis ce fichier image",invalidSceneUrl:"Impossible d'importer la scène depuis l'URL fournie. Elle est soit incorrecte, soit ne contient pas de données JSON Excalidraw valides.",resetLibrary:"Cela va effacer votre bibliothèque. Êtes-vous sûr·e ?",removeItemsFromsLibrary:"Supprimer {{count}} élément(s) de la bibliothèque ?",invalidEncryptionKey:"La clé de chiffrement doit comporter 22 caractères. La collaboration en direct est désactivée.",collabOfflineWarning:`Aucune connexion internet disponible.
|
|
4
4
|
Vos modifications ne seront pas enregistrées !`},t={unsupportedFileType:"Type de fichier non supporté.",imageInsertError:"Impossible d'insérer l'image. Réessayez plus tard...",fileTooBig:"Le fichier est trop volumineux. La taille maximale autorisée est de {{maxSize}}.",svgImageInsertError:"Impossible d'insérer l'image SVG. Le balisage SVG semble invalide.",failedToFetchImage:"Échec de récupération de l'image.",invalidSVGString:"SVG invalide.",cannotResolveCollabServer:"Impossible de se connecter au serveur collaboratif. Veuillez recharger la page et réessayer.",importLibraryError:"Impossible de charger la bibliothèque",collabSaveFailed:"Impossible d'enregistrer dans la base de données en arrière-plan. Si des problèmes persistent, vous devriez enregistrer votre fichier localement pour vous assurer de ne pas perdre votre travail.",collabSaveFailed_sizeExceeded:"Impossible d'enregistrer dans la base de données en arrière-plan, le tableau semble trop grand. Vous devriez enregistrer le fichier localement pour vous assurer de ne pas perdre votre travail.",imageToolNotSupported:"Les images sont désactivées.",brave_measure_text_error:{line1:"On dirait que vous utilisez le navigateur Brave avec l'option <bold>Bloquer agressivement le fichage</bold> activée.",line2:"Cela pourrait entraîner des problèmes avec les <bold>Éléments Textuels</bold> dans vos dessins.",line3:"Nous recommandons fortement de désactiver cette option. Vous pouvez suivre <link>ces instructions</link> pour savoir comment faire.",line4:"Si désactiver cette option de résout pas le problème d'affichage des éléments textuels, veuillez ouvrir un <issueLink>ticket</issueLink> sur notre GitHub, ou écrivez-nous sur notre <discordLink>Discord</discordLink>"},libraryElementTypeError:{embeddable:"Les éléments intégrés ne peuvent pas être ajoutés à la librairie.",iframe:"",image:"Le support pour l'ajout d'images à la librairie arrive bientôt !"},asyncPasteFailedOnRead:"Impossible de coller (impossible de lire le presse-papiers système).",asyncPasteFailedOnParse:"Impossible de coller.",copyToSystemClipboardFailed:"Échec de la copie dans le presse-papiers."},a={selection:"Sélection",image:"Insérer une image",rectangle:"Rectangle",diamond:"Losange",ellipse:"Ellipse",arrow:"Flèche",line:"Ligne",freedraw:"Dessiner",text:"Texte",library:"Bibliothèque",lock:"Garder l'outil sélectionné actif après le dessin",penMode:"Mode stylo - évite le toucher",link:"Ajouter/mettre à jour le lien pour une forme sélectionnée",eraser:"Gomme",frame:"Outil de cadre",magicframe:"",embeddable:"Intégration Web",laser:"Pointeur laser",hand:"Mains (outil de déplacement de la vue)",extraTools:"Plus d'outils",mermaidToExcalidraw:"De Mermaid à Excalidraw",magicSettings:"Paramètres IA"},n={canvasActions:"Actions du canevas",selectedShapeActions:"Actions pour la forme sélectionnée",shapes:"Formes"},s={canvasPanning:"Pour déplacer la zone de dessin, maintenez la molette de la souris enfoncée ou la barre d'espace tout en faisant glisser, ou utiliser l'outil main.",linearElement:"Cliquez pour démarrer plusieurs points, faites glisser pour une seule ligne",freeDraw:"Cliquez et faites glissez, relâchez quand vous avez terminé",text:"Astuce : vous pouvez aussi ajouter du texte en double-cliquant n'importe où avec l'outil de sélection",embeddable:"Cliquez et glissez pour créer une intégration de site web",text_selected:"Double-cliquez ou appuyez sur ENTRÉE pour modifier le texte",text_editing:"Appuyez sur ÉCHAP ou Ctrl/Cmd+ENTRÉE pour terminer l'édition",linearElementMulti:"Cliquez sur le dernier point ou appuyez sur Échap ou Entrée pour terminer",lockAngle:"Vous pouvez restreindre l'angle en maintenant MAJ",resize:"Vous pouvez conserver les proportions en maintenant la touche MAJ pendant le redimensionnement, maintenez la touche ALT pour redimensionner par rapport au centre",resizeImage:`Vous pouvez redimensionner librement en maintenant SHIFT,
|
package/dist-embed/chunks/{ganttDiagram-3b0b3873-Ch394Td4.js → ganttDiagram-3b0b3873-D9Pr_Kxk.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Qt}from"./index-DoBkwclg.js";import{s as ut,d as L}from"./index-CyZxCTSq.js";import{a as Zt,b as $t,d as te,c as ee,e as se}from"./advancedFormat-DxS10i5h.js";import{g as ie,s as ne,m as re,n as ae,a as ce,b as oe,c as U,d as le,l as ht,i as ue,p as de,u as fe}from"./mermaid.core-
|
|
1
|
+
import{d as Qt}from"./index-DoBkwclg.js";import{s as ut,d as L}from"./index-CyZxCTSq.js";import{a as Zt,b as $t,d as te,c as ee,e as se}from"./advancedFormat-DxS10i5h.js";import{g as ie,s as ne,m as re,n as ae,a as ce,b as oe,c as U,d as le,l as ht,i as ue,p as de,u as fe}from"./mermaid.core-By9AWIOp.js";import"../datalayer-app-main.js";import{t as he,m as me,a as ke,l as ye,b as Lt,c as Ft,d as ge,e as pe,f as be,g as Te,h as xe,i as ve,j as _e,k as Mt,n as Vt,o as Pt,s as Ot,p as Rt}from"./d3-scale-CKQch2Pp.js";import{h as we}from"./d3-interpolate-DUiJmnH4.js";import"./dayjs.min-u3zuoSR8.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./merge-B_wcPK4Y.js";import"./Middleware-BiLBmIq0.js";import"./d3-color-Jd8hXty2.js";var gt=(function(){var t=function(g,i,u,d){for(u=u||{},d=g.length;d--;u[g[d]]=i);return u},s=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],r=[1,26],a=[1,27],h=[1,28],f=[1,29],A=[1,30],O=[1,31],R=[1,9],E=[1,10],I=[1,11],N=[1,12],M=[1,13],V=[1,14],v=[1,15],tt=[1,16],et=[1,18],st=[1,19],it=[1,20],nt=[1,21],rt=[1,22],at=[1,24],ct=[1,32],m={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(i,u,d,c,k,e,S){var l=e.length-1;switch(k){case 1:return e[l-1];case 2:this.$=[];break;case 3:e[l-1].push(e[l]),this.$=e[l-1];break;case 4:case 5:this.$=e[l];break;case 6:case 7:this.$=[];break;case 8:c.setWeekday("monday");break;case 9:c.setWeekday("tuesday");break;case 10:c.setWeekday("wednesday");break;case 11:c.setWeekday("thursday");break;case 12:c.setWeekday("friday");break;case 13:c.setWeekday("saturday");break;case 14:c.setWeekday("sunday");break;case 15:c.setDateFormat(e[l].substr(11)),this.$=e[l].substr(11);break;case 16:c.enableInclusiveEndDates(),this.$=e[l].substr(18);break;case 17:c.TopAxis(),this.$=e[l].substr(8);break;case 18:c.setAxisFormat(e[l].substr(11)),this.$=e[l].substr(11);break;case 19:c.setTickInterval(e[l].substr(13)),this.$=e[l].substr(13);break;case 20:c.setExcludes(e[l].substr(9)),this.$=e[l].substr(9);break;case 21:c.setIncludes(e[l].substr(9)),this.$=e[l].substr(9);break;case 22:c.setTodayMarker(e[l].substr(12)),this.$=e[l].substr(12);break;case 24:c.setDiagramTitle(e[l].substr(6)),this.$=e[l].substr(6);break;case 25:this.$=e[l].trim(),c.setAccTitle(this.$);break;case 26:case 27:this.$=e[l].trim(),c.setAccDescription(this.$);break;case 28:c.addSection(e[l].substr(8)),this.$=e[l].substr(8);break;case 30:c.addTask(e[l-1],e[l]),this.$="task";break;case 31:this.$=e[l-1],c.setClickEvent(e[l-1],e[l],null);break;case 32:this.$=e[l-2],c.setClickEvent(e[l-2],e[l-1],e[l]);break;case 33:this.$=e[l-2],c.setClickEvent(e[l-2],e[l-1],null),c.setLink(e[l-2],e[l]);break;case 34:this.$=e[l-3],c.setClickEvent(e[l-3],e[l-2],e[l-1]),c.setLink(e[l-3],e[l]);break;case 35:this.$=e[l-2],c.setClickEvent(e[l-2],e[l],null),c.setLink(e[l-2],e[l-1]);break;case 36:this.$=e[l-3],c.setClickEvent(e[l-3],e[l-1],e[l]),c.setLink(e[l-3],e[l-2]);break;case 37:this.$=e[l-1],c.setLink(e[l-1],e[l]);break;case 38:case 44:this.$=e[l-1]+" "+e[l];break;case 39:case 40:case 42:this.$=e[l-2]+" "+e[l-1]+" "+e[l];break;case 41:case 43:this.$=e[l-3]+" "+e[l-2]+" "+e[l-1]+" "+e[l];break}},table:[{3:1,4:[1,2]},{1:[3]},t(s,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:h,16:f,17:A,18:O,19:R,20:E,21:I,22:N,23:M,24:V,25:v,26:tt,27:et,28:st,30:it,32:nt,33:rt,34:23,35:at,37:ct},t(s,[2,7],{1:[2,1]}),t(s,[2,3]),{9:33,11:17,12:n,13:r,14:a,15:h,16:f,17:A,18:O,19:R,20:E,21:I,22:N,23:M,24:V,25:v,26:tt,27:et,28:st,30:it,32:nt,33:rt,34:23,35:at,37:ct},t(s,[2,5]),t(s,[2,6]),t(s,[2,15]),t(s,[2,16]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),t(s,[2,20]),t(s,[2,21]),t(s,[2,22]),t(s,[2,23]),t(s,[2,24]),{29:[1,34]},{31:[1,35]},t(s,[2,27]),t(s,[2,28]),t(s,[2,29]),{36:[1,36]},t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,13]),t(s,[2,14]),{38:[1,37],40:[1,38]},t(s,[2,4]),t(s,[2,25]),t(s,[2,26]),t(s,[2,30]),t(s,[2,31],{39:[1,39],40:[1,40]}),t(s,[2,37],{38:[1,41]}),t(s,[2,32],{40:[1,42]}),t(s,[2,33]),t(s,[2,35],{39:[1,43]}),t(s,[2,34]),t(s,[2,36])],defaultActions:{},parseError:function(i,u){if(u.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=u,d}},parse:function(i){var u=this,d=[0],c=[],k=[null],e=[],S=this.table,l="",o=0,y=0,C=2,x=1,_=e.slice.call(arguments,1),T=Object.create(this.lexer),w={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(w.yy[J]=this.yy[J]);T.setInput(i,w.yy),w.yy.lexer=T,w.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var K=T.yylloc;e.push(K);var Jt=T.options&&T.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Kt(){var Y;return Y=c.pop()||T.lex()||x,typeof Y!="number"&&(Y instanceof Array&&(c=Y,Y=c.pop()),Y=u.symbols_[Y]||Y),Y}for(var F,q,P,kt,X={},ot,W,It,lt;;){if(q=d[d.length-1],this.defaultActions[q]?P=this.defaultActions[q]:((F===null||typeof F>"u")&&(F=Kt()),P=S[q]&&S[q][F]),typeof P>"u"||!P.length||!P[0]){var yt="";lt=[];for(ot in S[q])this.terminals_[ot]&&ot>C&<.push("'"+this.terminals_[ot]+"'");T.showPosition?yt="Parse error on line "+(o+1)+`:
|
|
2
2
|
`+T.showPosition()+`
|
|
3
3
|
Expecting `+lt.join(", ")+", got '"+(this.terminals_[F]||F)+"'":yt="Parse error on line "+(o+1)+": Unexpected "+(F==x?"end of input":"'"+(this.terminals_[F]||F)+"'"),this.parseError(yt,{text:T.match,token:this.terminals_[F]||F,line:T.yylineno,loc:K,expected:lt})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+q+", token: "+F);switch(P[0]){case 1:d.push(F),k.push(T.yytext),e.push(T.yylloc),d.push(P[1]),F=null,y=T.yyleng,l=T.yytext,o=T.yylineno,K=T.yylloc;break;case 2:if(W=this.productions_[P[1]][1],X.$=k[k.length-W],X._$={first_line:e[e.length-(W||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(W||1)].first_column,last_column:e[e.length-1].last_column},Jt&&(X._$.range=[e[e.length-(W||1)].range[0],e[e.length-1].range[1]]),kt=this.performAction.apply(X,[l,y,o,w.yy,P[1],k,e].concat(_)),typeof kt<"u")return kt;W&&(d=d.slice(0,-1*W*2),k=k.slice(0,-1*W),e=e.slice(0,-1*W)),d.push(this.productions_[P[1]][0]),k.push(X.$),e.push(X._$),It=S[d[d.length-2]][d[d.length-1]],d.push(It);break;case 3:return!0}}return!0}},b=(function(){var g={EOF:1,parseError:function(u,d){if(this.yy.parser)this.yy.parser.parseError(u,d);else throw new Error(u)},setInput:function(i,u){return this.yy=u||this.yy||{},this._input=i,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},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var u=i.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var u=i.length,d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var c=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),d.length-1&&(this.yylineno-=d.length-1);var k=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:d?(d.length===c.length?this.yylloc.first_column:0)+c[c.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[k[0],k[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),u=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-iVAJV8uC.js → ganttDiagram-EL5Y4UJY-Baccn166.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ne,s as oe,p as ce,o as le,a as ue,b as de,_ as l,c as Z,d as fe,l as G,j as he,n as ke,q as me,x as ye}from"./mermaid.core-
|
|
1
|
+
import{g as ne,s as oe,p as ce,o as le,a as ue,b as de,_ as l,c as Z,d as fe,l as G,j as he,n as ke,q as me,x as ye}from"./mermaid.core-Dd-D7tJ4.js";import{s as mt,d as L}from"./index-CyZxCTSq.js";import{a as ge,b as pe,d as ve,c as Te,e as xe}from"./advancedFormat-DxS10i5h.js";import{d as be}from"./duration-BgN1_hSg.js";import{t as we,m as _e,a as Ce,l as De,b as Yt,c as Bt,d as Ee,e as Se,f as Ie,g as Ae,h as Fe,i as Le,j as Me,k as zt,n as qt,o as jt,s as Xt,p as Ut}from"./d3-scale-CKQch2Pp.js";import{h as Oe}from"./d3-interpolate-DUiJmnH4.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";import"./d3-color-Jd8hXty2.js";var _t=(function(){var t=l(function(y,n,d,f){for(d=d||{},f=y.length;f--;d[y[f]]=n);return d},"o"),s=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],a=[1,27],r=[1,28],h=[1,29],m=[1,30],C=[1,31],M=[1,32],z=[1,33],S=[1,34],Y=[1,9],O=[1,10],N=[1,11],X=[1,12],W=[1,13],_=[1,14],it=[1,15],at=[1,16],rt=[1,19],nt=[1,20],K=[1,21],ot=[1,22],ct=[1,23],lt=[1,25],ut=[1,35],k={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(n,d,f,u,b,e,x){var c=e.length-1;switch(b){case 1:return e[c-1];case 2:this.$=[];break;case 3:e[c-1].push(e[c]),this.$=e[c-1];break;case 4:case 5:this.$=e[c];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(e[c].substr(11)),this.$=e[c].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=e[c].substr(18);break;case 19:u.TopAxis(),this.$=e[c].substr(8);break;case 20:u.setAxisFormat(e[c].substr(11)),this.$=e[c].substr(11);break;case 21:u.setTickInterval(e[c].substr(13)),this.$=e[c].substr(13);break;case 22:u.setExcludes(e[c].substr(9)),this.$=e[c].substr(9);break;case 23:u.setIncludes(e[c].substr(9)),this.$=e[c].substr(9);break;case 24:u.setTodayMarker(e[c].substr(12)),this.$=e[c].substr(12);break;case 27:u.setDiagramTitle(e[c].substr(6)),this.$=e[c].substr(6);break;case 28:this.$=e[c].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=e[c].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(e[c].substr(8)),this.$=e[c].substr(8);break;case 33:u.addTask(e[c-1],e[c]),this.$="task";break;case 34:this.$=e[c-1],u.setClickEvent(e[c-1],e[c],null);break;case 35:this.$=e[c-2],u.setClickEvent(e[c-2],e[c-1],e[c]);break;case 36:this.$=e[c-2],u.setClickEvent(e[c-2],e[c-1],null),u.setLink(e[c-2],e[c]);break;case 37:this.$=e[c-3],u.setClickEvent(e[c-3],e[c-2],e[c-1]),u.setLink(e[c-3],e[c]);break;case 38:this.$=e[c-2],u.setClickEvent(e[c-2],e[c],null),u.setLink(e[c-2],e[c-1]);break;case 39:this.$=e[c-3],u.setClickEvent(e[c-3],e[c-1],e[c]),u.setLink(e[c-3],e[c-2]);break;case 40:this.$=e[c-1],u.setLink(e[c-1],e[c]);break;case 41:case 47:this.$=e[c-1]+" "+e[c];break;case 42:case 43:case 45:this.$=e[c-2]+" "+e[c-1]+" "+e[c];break;case 44:case 46:this.$=e[c-3]+" "+e[c-2]+" "+e[c-1]+" "+e[c];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(s,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:a,14:r,15:h,16:m,17:C,18:M,19:18,20:z,21:S,22:Y,23:O,24:N,25:X,26:W,27:_,28:it,29:at,30:rt,31:nt,33:K,35:ot,36:ct,37:24,38:lt,40:ut},t(s,[2,7],{1:[2,1]}),t(s,[2,3]),{9:36,11:17,12:i,13:a,14:r,15:h,16:m,17:C,18:M,19:18,20:z,21:S,22:Y,23:O,24:N,25:X,26:W,27:_,28:it,29:at,30:rt,31:nt,33:K,35:ot,36:ct,37:24,38:lt,40:ut},t(s,[2,5]),t(s,[2,6]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),t(s,[2,20]),t(s,[2,21]),t(s,[2,22]),t(s,[2,23]),t(s,[2,24]),t(s,[2,25]),t(s,[2,26]),t(s,[2,27]),{32:[1,37]},{34:[1,38]},t(s,[2,30]),t(s,[2,31]),t(s,[2,32]),{39:[1,39]},t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,13]),t(s,[2,14]),t(s,[2,15]),t(s,[2,16]),{41:[1,40],43:[1,41]},t(s,[2,4]),t(s,[2,28]),t(s,[2,29]),t(s,[2,33]),t(s,[2,34],{42:[1,42],43:[1,43]}),t(s,[2,40],{41:[1,44]}),t(s,[2,35],{43:[1,45]}),t(s,[2,36]),t(s,[2,38],{42:[1,46]}),t(s,[2,37]),t(s,[2,39])],defaultActions:{},parseError:l(function(n,d){if(d.recoverable)this.trace(n);else{var f=new Error(n);throw f.hash=d,f}},"parseError"),parse:l(function(n){var d=this,f=[0],u=[],b=[null],e=[],x=this.table,c="",F=0,o=0,g=2,p=1,D=e.slice.call(arguments,1),v=Object.create(this.lexer),I={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(I.yy[E]=this.yy[E]);v.setInput(n,I.yy),I.yy.lexer=v,I.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var dt=v.yylloc;e.push(dt);var Tt=v.options&&v.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(R){f.length=f.length-2*R,b.length=b.length-R,e.length=e.length-R}l(re,"popStack");function Pt(){var R;return R=u.pop()||v.lex()||p,typeof R!="number"&&(R instanceof Array&&(u=R,R=u.pop()),R=d.symbols_[R]||R),R}l(Pt,"lex");for(var V,U,P,xt,J={},ht,q,Nt,kt;;){if(U=f[f.length-1],this.defaultActions[U]?P=this.defaultActions[U]:((V===null||typeof V>"u")&&(V=Pt()),P=x[U]&&x[U][V]),typeof P>"u"||!P.length||!P[0]){var bt="";kt=[];for(ht in x[U])this.terminals_[ht]&&ht>g&&kt.push("'"+this.terminals_[ht]+"'");v.showPosition?bt="Parse error on line "+(F+1)+`:
|
|
2
2
|
`+v.showPosition()+`
|
|
3
3
|
Expecting `+kt.join(", ")+", got '"+(this.terminals_[V]||V)+"'":bt="Parse error on line "+(F+1)+": Unexpected "+(V==p?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(bt,{text:v.match,token:this.terminals_[V]||V,line:v.yylineno,loc:dt,expected:kt})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+V);switch(P[0]){case 1:f.push(V),b.push(v.yytext),e.push(v.yylloc),f.push(P[1]),V=null,o=v.yyleng,c=v.yytext,F=v.yylineno,dt=v.yylloc;break;case 2:if(q=this.productions_[P[1]][1],J.$=b[b.length-q],J._$={first_line:e[e.length-(q||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(q||1)].first_column,last_column:e[e.length-1].last_column},Tt&&(J._$.range=[e[e.length-(q||1)].range[0],e[e.length-1].range[1]]),xt=this.performAction.apply(J,[c,o,F,I.yy,P[1],b,e].concat(D)),typeof xt<"u")return xt;q&&(f=f.slice(0,-1*q*2),b=b.slice(0,-1*q),e=e.slice(0,-1*q)),f.push(this.productions_[P[1]][0]),b.push(J.$),e.push(J._$),Nt=x[f[f.length-2]][f[f.length-1]],f.push(Nt);break;case 3:return!0}}return!0},"parse")},w=(function(){var y={EOF:1,parseError:l(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:l(function(n,d){return this.yy=d||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var d=n.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var d=n.length,f=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),f.length-1&&(this.yylineno-=f.length-1);var b=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:f?(f.length===u.length?this.yylloc.first_column:0)+u[u.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),d=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-sX30iW6f.js → ganttDiagram-EL5Y4UJY-DmwhuzrV.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ne,s as oe,p as ce,o as le,a as ue,b as de,_ as l,c as Z,d as fe,l as G,j as he,n as ke,q as me,x as ye}from"./index-
|
|
1
|
+
import{g as ne,s as oe,p as ce,o as le,a as ue,b as de,_ as l,c as Z,d as fe,l as G,j as he,n as ke,q as me,x as ye}from"./index-DObGLuCI.js";import{s as mt,d as L}from"./index-CyZxCTSq.js";import{a as ge,b as pe,d as ve,c as Te,e as xe}from"./advancedFormat-DxS10i5h.js";import{d as be}from"./duration-BgN1_hSg.js";import{t as we,m as _e,a as Ce,l as De,b as Yt,c as Bt,d as Ee,e as Se,f as Ie,g as Ae,h as Fe,i as Le,j as Me,k as zt,n as qt,o as jt,s as Xt,p as Ut}from"./d3-scale-CKQch2Pp.js";import{h as Oe}from"./d3-interpolate-DUiJmnH4.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";import"./d3-color-Jd8hXty2.js";var _t=(function(){var t=l(function(y,n,d,f){for(d=d||{},f=y.length;f--;d[y[f]]=n);return d},"o"),s=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],a=[1,27],r=[1,28],h=[1,29],m=[1,30],C=[1,31],M=[1,32],z=[1,33],S=[1,34],Y=[1,9],O=[1,10],N=[1,11],X=[1,12],W=[1,13],_=[1,14],it=[1,15],at=[1,16],rt=[1,19],nt=[1,20],K=[1,21],ot=[1,22],ct=[1,23],lt=[1,25],ut=[1,35],k={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(n,d,f,u,b,e,x){var c=e.length-1;switch(b){case 1:return e[c-1];case 2:this.$=[];break;case 3:e[c-1].push(e[c]),this.$=e[c-1];break;case 4:case 5:this.$=e[c];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(e[c].substr(11)),this.$=e[c].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=e[c].substr(18);break;case 19:u.TopAxis(),this.$=e[c].substr(8);break;case 20:u.setAxisFormat(e[c].substr(11)),this.$=e[c].substr(11);break;case 21:u.setTickInterval(e[c].substr(13)),this.$=e[c].substr(13);break;case 22:u.setExcludes(e[c].substr(9)),this.$=e[c].substr(9);break;case 23:u.setIncludes(e[c].substr(9)),this.$=e[c].substr(9);break;case 24:u.setTodayMarker(e[c].substr(12)),this.$=e[c].substr(12);break;case 27:u.setDiagramTitle(e[c].substr(6)),this.$=e[c].substr(6);break;case 28:this.$=e[c].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=e[c].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(e[c].substr(8)),this.$=e[c].substr(8);break;case 33:u.addTask(e[c-1],e[c]),this.$="task";break;case 34:this.$=e[c-1],u.setClickEvent(e[c-1],e[c],null);break;case 35:this.$=e[c-2],u.setClickEvent(e[c-2],e[c-1],e[c]);break;case 36:this.$=e[c-2],u.setClickEvent(e[c-2],e[c-1],null),u.setLink(e[c-2],e[c]);break;case 37:this.$=e[c-3],u.setClickEvent(e[c-3],e[c-2],e[c-1]),u.setLink(e[c-3],e[c]);break;case 38:this.$=e[c-2],u.setClickEvent(e[c-2],e[c],null),u.setLink(e[c-2],e[c-1]);break;case 39:this.$=e[c-3],u.setClickEvent(e[c-3],e[c-1],e[c]),u.setLink(e[c-3],e[c-2]);break;case 40:this.$=e[c-1],u.setLink(e[c-1],e[c]);break;case 41:case 47:this.$=e[c-1]+" "+e[c];break;case 42:case 43:case 45:this.$=e[c-2]+" "+e[c-1]+" "+e[c];break;case 44:case 46:this.$=e[c-3]+" "+e[c-2]+" "+e[c-1]+" "+e[c];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(s,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:a,14:r,15:h,16:m,17:C,18:M,19:18,20:z,21:S,22:Y,23:O,24:N,25:X,26:W,27:_,28:it,29:at,30:rt,31:nt,33:K,35:ot,36:ct,37:24,38:lt,40:ut},t(s,[2,7],{1:[2,1]}),t(s,[2,3]),{9:36,11:17,12:i,13:a,14:r,15:h,16:m,17:C,18:M,19:18,20:z,21:S,22:Y,23:O,24:N,25:X,26:W,27:_,28:it,29:at,30:rt,31:nt,33:K,35:ot,36:ct,37:24,38:lt,40:ut},t(s,[2,5]),t(s,[2,6]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),t(s,[2,20]),t(s,[2,21]),t(s,[2,22]),t(s,[2,23]),t(s,[2,24]),t(s,[2,25]),t(s,[2,26]),t(s,[2,27]),{32:[1,37]},{34:[1,38]},t(s,[2,30]),t(s,[2,31]),t(s,[2,32]),{39:[1,39]},t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,13]),t(s,[2,14]),t(s,[2,15]),t(s,[2,16]),{41:[1,40],43:[1,41]},t(s,[2,4]),t(s,[2,28]),t(s,[2,29]),t(s,[2,33]),t(s,[2,34],{42:[1,42],43:[1,43]}),t(s,[2,40],{41:[1,44]}),t(s,[2,35],{43:[1,45]}),t(s,[2,36]),t(s,[2,38],{42:[1,46]}),t(s,[2,37]),t(s,[2,39])],defaultActions:{},parseError:l(function(n,d){if(d.recoverable)this.trace(n);else{var f=new Error(n);throw f.hash=d,f}},"parseError"),parse:l(function(n){var d=this,f=[0],u=[],b=[null],e=[],x=this.table,c="",F=0,o=0,g=2,p=1,D=e.slice.call(arguments,1),v=Object.create(this.lexer),I={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(I.yy[E]=this.yy[E]);v.setInput(n,I.yy),I.yy.lexer=v,I.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var dt=v.yylloc;e.push(dt);var Tt=v.options&&v.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(R){f.length=f.length-2*R,b.length=b.length-R,e.length=e.length-R}l(re,"popStack");function Pt(){var R;return R=u.pop()||v.lex()||p,typeof R!="number"&&(R instanceof Array&&(u=R,R=u.pop()),R=d.symbols_[R]||R),R}l(Pt,"lex");for(var V,U,P,xt,J={},ht,q,Nt,kt;;){if(U=f[f.length-1],this.defaultActions[U]?P=this.defaultActions[U]:((V===null||typeof V>"u")&&(V=Pt()),P=x[U]&&x[U][V]),typeof P>"u"||!P.length||!P[0]){var bt="";kt=[];for(ht in x[U])this.terminals_[ht]&&ht>g&&kt.push("'"+this.terminals_[ht]+"'");v.showPosition?bt="Parse error on line "+(F+1)+`:
|
|
2
2
|
`+v.showPosition()+`
|
|
3
3
|
Expecting `+kt.join(", ")+", got '"+(this.terminals_[V]||V)+"'":bt="Parse error on line "+(F+1)+": Unexpected "+(V==p?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(bt,{text:v.match,token:this.terminals_[V]||V,line:v.yylineno,loc:dt,expected:kt})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+V);switch(P[0]){case 1:f.push(V),b.push(v.yytext),e.push(v.yylloc),f.push(P[1]),V=null,o=v.yyleng,c=v.yytext,F=v.yylineno,dt=v.yylloc;break;case 2:if(q=this.productions_[P[1]][1],J.$=b[b.length-q],J._$={first_line:e[e.length-(q||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(q||1)].first_column,last_column:e[e.length-1].last_column},Tt&&(J._$.range=[e[e.length-(q||1)].range[0],e[e.length-1].range[1]]),xt=this.performAction.apply(J,[c,o,F,I.yy,P[1],b,e].concat(D)),typeof xt<"u")return xt;q&&(f=f.slice(0,-1*q*2),b=b.slice(0,-1*q),e=e.slice(0,-1*q)),f.push(this.productions_[P[1]][0]),b.push(J.$),e.push(J._$),Nt=x[f[f.length-2]][f[f.length-1]],f.push(Nt);break;case 3:return!0}}return!0},"parse")},w=(function(){var y={EOF:1,parseError:l(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:l(function(n,d){return this.yy=d||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var d=n.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var d=n.length,f=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),f.length-1&&(this.yylineno-=f.length-1);var b=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:f?(f.length===u.length?this.yylloc.first_column:0)+u[u.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),d=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-DjmeWOsd.js → ganttDiagram-EL5Y4UJY-Qz5HuyzZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as ne,s as oe,p as ce,o as le,a as ue,b as de,_ as l,c as Z,d as fe,l as G,j as he,n as ke,q as me,x as ye}from"./index-
|
|
1
|
+
import{g as ne,s as oe,p as ce,o as le,a as ue,b as de,_ as l,c as Z,d as fe,l as G,j as he,n as ke,q as me,x as ye}from"./index-Df2MkvAW.js";import{s as mt,d as L}from"./index-CyZxCTSq.js";import{a as ge,b as pe,d as ve,c as Te,e as xe}from"./advancedFormat-DxS10i5h.js";import{d as be}from"./duration-BgN1_hSg.js";import{t as we,m as _e,a as Ce,l as De,b as Yt,c as Bt,d as Ee,e as Se,f as Ie,g as Ae,h as Fe,i as Le,j as Me,k as zt,n as qt,o as jt,s as Xt,p as Ut}from"./d3-scale-CKQch2Pp.js";import{h as Oe}from"./d3-interpolate-DUiJmnH4.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";import"./d3-color-Jd8hXty2.js";var _t=(function(){var t=l(function(y,n,d,f){for(d=d||{},f=y.length;f--;d[y[f]]=n);return d},"o"),s=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],i=[1,26],a=[1,27],r=[1,28],h=[1,29],m=[1,30],C=[1,31],M=[1,32],z=[1,33],S=[1,34],Y=[1,9],O=[1,10],N=[1,11],X=[1,12],W=[1,13],_=[1,14],it=[1,15],at=[1,16],rt=[1,19],nt=[1,20],K=[1,21],ot=[1,22],ct=[1,23],lt=[1,25],ut=[1,35],k={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(n,d,f,u,b,e,x){var c=e.length-1;switch(b){case 1:return e[c-1];case 2:this.$=[];break;case 3:e[c-1].push(e[c]),this.$=e[c-1];break;case 4:case 5:this.$=e[c];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(e[c].substr(11)),this.$=e[c].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=e[c].substr(18);break;case 19:u.TopAxis(),this.$=e[c].substr(8);break;case 20:u.setAxisFormat(e[c].substr(11)),this.$=e[c].substr(11);break;case 21:u.setTickInterval(e[c].substr(13)),this.$=e[c].substr(13);break;case 22:u.setExcludes(e[c].substr(9)),this.$=e[c].substr(9);break;case 23:u.setIncludes(e[c].substr(9)),this.$=e[c].substr(9);break;case 24:u.setTodayMarker(e[c].substr(12)),this.$=e[c].substr(12);break;case 27:u.setDiagramTitle(e[c].substr(6)),this.$=e[c].substr(6);break;case 28:this.$=e[c].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=e[c].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(e[c].substr(8)),this.$=e[c].substr(8);break;case 33:u.addTask(e[c-1],e[c]),this.$="task";break;case 34:this.$=e[c-1],u.setClickEvent(e[c-1],e[c],null);break;case 35:this.$=e[c-2],u.setClickEvent(e[c-2],e[c-1],e[c]);break;case 36:this.$=e[c-2],u.setClickEvent(e[c-2],e[c-1],null),u.setLink(e[c-2],e[c]);break;case 37:this.$=e[c-3],u.setClickEvent(e[c-3],e[c-2],e[c-1]),u.setLink(e[c-3],e[c]);break;case 38:this.$=e[c-2],u.setClickEvent(e[c-2],e[c],null),u.setLink(e[c-2],e[c-1]);break;case 39:this.$=e[c-3],u.setClickEvent(e[c-3],e[c-1],e[c]),u.setLink(e[c-3],e[c-2]);break;case 40:this.$=e[c-1],u.setLink(e[c-1],e[c]);break;case 41:case 47:this.$=e[c-1]+" "+e[c];break;case 42:case 43:case 45:this.$=e[c-2]+" "+e[c-1]+" "+e[c];break;case 44:case 46:this.$=e[c-3]+" "+e[c-2]+" "+e[c-1]+" "+e[c];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(s,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:a,14:r,15:h,16:m,17:C,18:M,19:18,20:z,21:S,22:Y,23:O,24:N,25:X,26:W,27:_,28:it,29:at,30:rt,31:nt,33:K,35:ot,36:ct,37:24,38:lt,40:ut},t(s,[2,7],{1:[2,1]}),t(s,[2,3]),{9:36,11:17,12:i,13:a,14:r,15:h,16:m,17:C,18:M,19:18,20:z,21:S,22:Y,23:O,24:N,25:X,26:W,27:_,28:it,29:at,30:rt,31:nt,33:K,35:ot,36:ct,37:24,38:lt,40:ut},t(s,[2,5]),t(s,[2,6]),t(s,[2,17]),t(s,[2,18]),t(s,[2,19]),t(s,[2,20]),t(s,[2,21]),t(s,[2,22]),t(s,[2,23]),t(s,[2,24]),t(s,[2,25]),t(s,[2,26]),t(s,[2,27]),{32:[1,37]},{34:[1,38]},t(s,[2,30]),t(s,[2,31]),t(s,[2,32]),{39:[1,39]},t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),t(s,[2,11]),t(s,[2,12]),t(s,[2,13]),t(s,[2,14]),t(s,[2,15]),t(s,[2,16]),{41:[1,40],43:[1,41]},t(s,[2,4]),t(s,[2,28]),t(s,[2,29]),t(s,[2,33]),t(s,[2,34],{42:[1,42],43:[1,43]}),t(s,[2,40],{41:[1,44]}),t(s,[2,35],{43:[1,45]}),t(s,[2,36]),t(s,[2,38],{42:[1,46]}),t(s,[2,37]),t(s,[2,39])],defaultActions:{},parseError:l(function(n,d){if(d.recoverable)this.trace(n);else{var f=new Error(n);throw f.hash=d,f}},"parseError"),parse:l(function(n){var d=this,f=[0],u=[],b=[null],e=[],x=this.table,c="",F=0,o=0,g=2,p=1,D=e.slice.call(arguments,1),v=Object.create(this.lexer),I={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(I.yy[E]=this.yy[E]);v.setInput(n,I.yy),I.yy.lexer=v,I.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var dt=v.yylloc;e.push(dt);var Tt=v.options&&v.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(R){f.length=f.length-2*R,b.length=b.length-R,e.length=e.length-R}l(re,"popStack");function Pt(){var R;return R=u.pop()||v.lex()||p,typeof R!="number"&&(R instanceof Array&&(u=R,R=u.pop()),R=d.symbols_[R]||R),R}l(Pt,"lex");for(var V,U,P,xt,J={},ht,q,Nt,kt;;){if(U=f[f.length-1],this.defaultActions[U]?P=this.defaultActions[U]:((V===null||typeof V>"u")&&(V=Pt()),P=x[U]&&x[U][V]),typeof P>"u"||!P.length||!P[0]){var bt="";kt=[];for(ht in x[U])this.terminals_[ht]&&ht>g&&kt.push("'"+this.terminals_[ht]+"'");v.showPosition?bt="Parse error on line "+(F+1)+`:
|
|
2
2
|
`+v.showPosition()+`
|
|
3
3
|
Expecting `+kt.join(", ")+", got '"+(this.terminals_[V]||V)+"'":bt="Parse error on line "+(F+1)+": Unexpected "+(V==p?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(bt,{text:v.match,token:this.terminals_[V]||V,line:v.yylineno,loc:dt,expected:kt})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+V);switch(P[0]){case 1:f.push(V),b.push(v.yytext),e.push(v.yylloc),f.push(P[1]),V=null,o=v.yyleng,c=v.yytext,F=v.yylineno,dt=v.yylloc;break;case 2:if(q=this.productions_[P[1]][1],J.$=b[b.length-q],J._$={first_line:e[e.length-(q||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(q||1)].first_column,last_column:e[e.length-1].last_column},Tt&&(J._$.range=[e[e.length-(q||1)].range[0],e[e.length-1].range[1]]),xt=this.performAction.apply(J,[c,o,F,I.yy,P[1],b,e].concat(D)),typeof xt<"u")return xt;q&&(f=f.slice(0,-1*q*2),b=b.slice(0,-1*q),e=e.slice(0,-1*q)),f.push(this.productions_[P[1]][0]),b.push(J.$),e.push(J._$),Nt=x[f[f.length-2]][f[f.length-1]],f.push(Nt);break;case 3:return!0}}return!0},"parse")},w=(function(){var y={EOF:1,parseError:l(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:l(function(n,d){return this.yy=d||this.yy||{},this._input=n,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:l(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var d=n.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:l(function(n){var d=n.length,f=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),f.length-1&&(this.yylineno-=f.length-1);var b=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:f?(f.length===u.length?this.yylloc.first_column:0)+u[u.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(n){this.unput(this.match.slice(n))},"less"),pastInput:l(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var n=this.pastInput(),d=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as lr}from"./chunk-2Q5K7J3B-DiqqlJZw.js";import{p as hr}from"./chunk-JWPE2WC7-NvLQtuoq.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,y as J,l as w,c as W,x as mr,z as pr,q as br,j as B,A as wr,B as kr,C as vr}from"./index-s25RSqvt.js";import{p as Cr}from"./cynefin-OW5HDTMX-BBLugbYz.js";import{s as Er}from"./index-CyZxCTSq.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as lr}from"./chunk-2Q5K7J3B-BkzWX8eg.js";import{p as hr}from"./chunk-JWPE2WC7-BVXd-ICe.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,y as J,l as w,c as W,x as mr,z as pr,q as br,j as B,A as wr,B as kr,C as vr}from"./index-Df2MkvAW.js";import{p as Cr}from"./cynefin-OW5HDTMX-D8Lw5okC.js";import{s as Er}from"./index-CyZxCTSq.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+R}
|
|
3
3
|
${s-i/2-L/2},${x-R}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-R}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as lr}from"./chunk-2Q5K7J3B-BX9u1bBi.js";import{p as hr}from"./chunk-JWPE2WC7-BGdc9-bH.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,y as J,l as w,c as W,x as mr,z as pr,q as br,j as B,A as wr,B as kr,C as vr}from"./index-CLB4KPZs.js";import{p as Cr}from"./cynefin-OW5HDTMX-D8Lw5okC.js";import{s as Er}from"./index-CyZxCTSq.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as lr}from"./chunk-2Q5K7J3B-CWx-QJ0-.js";import{p as hr}from"./chunk-JWPE2WC7-Bf4pFlIJ.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,y as J,l as w,c as W,x as mr,z as pr,q as br,j as B,A as wr,B as kr,C as vr}from"./index-DObGLuCI.js";import{p as Cr}from"./cynefin-OW5HDTMX-BBLugbYz.js";import{s as Er}from"./index-CyZxCTSq.js";import"./index-CJys1M3A.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+R}
|
|
3
3
|
${s-i/2-L/2},${x-R}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-R}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as lr}from"./chunk-2Q5K7J3B-BFUbUsBE.js";import{p as hr}from"./chunk-JWPE2WC7-QIDUQRBr.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,y as J,l as w,c as W,x as mr,z as pr,q as br,j as B,A as wr,B as kr,C as vr}from"./mermaid.core-Dkoaa-_D.js";import{p as Cr}from"./cynefin-OW5HDTMX-BVK0_S--.js";import{s as Er}from"./index-CyZxCTSq.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as lr}from"./chunk-2Q5K7J3B-CtmdieBX.js";import{p as hr}from"./chunk-JWPE2WC7-Cq6Q947j.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,y as J,l as w,c as W,x as mr,z as pr,q as br,j as B,A as wr,B as kr,C as vr}from"./mermaid.core-Dd-D7tJ4.js";import{p as Cr}from"./cynefin-OW5HDTMX-BVK0_S--.js";import{s as Er}from"./index-CyZxCTSq.js";import"../datalayer-app-main.js";import"./fastdom-promised-Cw4_bL92.js";import"./_baseRest-BmxuuM4H.js";import"./isSymbol-BLtK9CV6.js";import"./forEach-hknrtmxV.js";import"./isUndefined-wBqHC1Hw.js";import"./dayjs.min-u3zuoSR8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+R}
|
|
3
3
|
${s-i/2-L/2},${x-R}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-R}
|