@pi-outpost/embed 0.57.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/{abnfDiagram-WEYOIA3C-B_dTFm2g.js → abnfDiagram-S7VZAUFO-BdOzCXh1.js} +4 -4
  2. package/dist/{abnfDiagram-WEYOIA3C-Dk2VD3Iw.cjs → abnfDiagram-S7VZAUFO-zyFnpqZ0.cjs} +1 -1
  3. package/dist/{architectureDiagram-ZHVYKT53-CslNYmQN.js → architectureDiagram-YGSQEFNW-DiYOcBqo.js} +5 -5
  4. package/dist/{architectureDiagram-ZHVYKT53-Bud-mHjo.cjs → architectureDiagram-YGSQEFNW-gEzRb5xY.cjs} +3 -3
  5. package/dist/{blockDiagram-RJAE7QA3-Dgm9J6pS.js → blockDiagram-APKKGZFW-CIX-8mpK.js} +106 -107
  6. package/dist/{blockDiagram-RJAE7QA3-lEBn-_Yn.cjs → blockDiagram-APKKGZFW-KL3nQT0s.cjs} +7 -7
  7. package/dist/bpmnIcons-APHXDYXF-BcsYKfS7.js +39 -0
  8. package/dist/bpmnIcons-APHXDYXF-DX8xcBUd.cjs +1 -0
  9. package/dist/{c4Diagram-XDPPPE54-rbzhqhW5.js → c4Diagram-KJ2TOQU5-BS_M90FN.js} +8 -8
  10. package/dist/{c4Diagram-XDPPPE54-BKNqVY-U.cjs → c4Diagram-KJ2TOQU5-D-dCJWvI.cjs} +1 -1
  11. package/dist/{chunk-7S6XSTFO-ejBVk-tI.cjs → chunk-6MUBBAK2-BTabKnTR.cjs} +1 -1
  12. package/dist/{chunk-7S6XSTFO-DrDRohsE.js → chunk-6MUBBAK2-DlUTxzYh.js} +2 -2
  13. package/dist/{chunk-HAGFOTED-BUPxFGdn.cjs → chunk-AXFCVDMN-B6dhmE32.cjs} +8 -8
  14. package/dist/{chunk-HAGFOTED-ceXO12G4.js → chunk-AXFCVDMN-DrVQa3gP.js} +1256 -1041
  15. package/dist/{chunk-DSNLSHJZ-BxQ7lMXY.cjs → chunk-BG4553SI-DFPUniBw.cjs} +1 -1
  16. package/dist/{chunk-DSNLSHJZ-DPpiuUZK.js → chunk-BG4553SI-j_gQs8M_.js} +2 -0
  17. package/dist/chunk-DQASFODM-BBkQ8gE7.cjs +10 -0
  18. package/dist/{chunk-WQQL4CDK-C3yDIFZ3.js → chunk-DQASFODM-DAaU7yoa.js} +520 -211
  19. package/dist/{chunk-55XCU76K-o8OgDLPD.js → chunk-HFQBQIA3-DqHSeXIz.js} +2 -2
  20. package/dist/{chunk-55XCU76K-IpMfjRYv.cjs → chunk-HFQBQIA3-lOxrhpos.cjs} +1 -1
  21. package/dist/{chunk-ZCHMQSOR-BbO7eY2w.js → chunk-KQLB2F66-C7twW9LJ.js} +30 -30
  22. package/dist/{chunk-ZCHMQSOR-Cg8zPt0w.cjs → chunk-KQLB2F66-Ec2IAtUR.cjs} +1 -1
  23. package/dist/{chunk-4EMNKR2T-CGAdq4EA.cjs → chunk-KS47KZWR-C7Yv0kfF.cjs} +1 -1
  24. package/dist/{chunk-4EMNKR2T-BIO9veC4.js → chunk-KS47KZWR-OD3AMBe8.js} +2 -2
  25. package/dist/{chunk-ZAUX2LTX-DIQkgUFr.cjs → chunk-LEVMRMFU-BFGXlIAt.cjs} +1 -1
  26. package/dist/{chunk-ZAUX2LTX-P8LAwm_U.js → chunk-LEVMRMFU-NLMudZfn.js} +3 -3
  27. package/dist/chunk-M57EVK23-BSZ7OEGY.cjs +1 -0
  28. package/dist/{chunk-HNE4Q36P-uON_vFhT.js → chunk-M57EVK23-C8-Jp43x.js} +55 -54
  29. package/dist/{chunk-2E7WHVMD-Vo-POJc_.js → chunk-OY52VR5R-B7NRk2-S.js} +3 -3
  30. package/dist/{chunk-2E7WHVMD-BNsJOdNP.cjs → chunk-OY52VR5R-CvyV3pJF.cjs} +1 -1
  31. package/dist/{chunk-NQOKRVIF-DmOxzSOQ.js → chunk-QB3YPZ4I-DPQ26dC9.js} +788 -730
  32. package/dist/chunk-QB3YPZ4I-DaIXN7QF.cjs +213 -0
  33. package/dist/{chunk-YZO67HFG-DCQIFG8j.cjs → chunk-R3KSYZAL-BQPJVcO7.cjs} +1 -1
  34. package/dist/{chunk-YZO67HFG-WF3jklBn.js → chunk-R3KSYZAL-DeNSy3X8.js} +8 -8
  35. package/dist/{chunk-AQDTSKZB-DUZx386i.js → chunk-STOXU5M4-0WKKmqbF.js} +4 -4
  36. package/dist/{chunk-AQDTSKZB-B-MpZ-y2.cjs → chunk-STOXU5M4-CmoaBap6.cjs} +1 -1
  37. package/dist/{chunk-VQ5W62QI-Dw9Kffnl.cjs → chunk-TU62E6Q5-CMbRLUnW.cjs} +1 -1
  38. package/dist/{chunk-VQ5W62QI-Bvcxpp51.js → chunk-TU62E6Q5-DPxNUFFP.js} +2 -2
  39. package/dist/{chunk-UHW7PFBP-BTk1ZC8L.js → chunk-X4PVCEUW-C80IBt-t.js} +2 -2
  40. package/dist/{chunk-UHW7PFBP-Bays5Zi8.cjs → chunk-X4PVCEUW-Djs21j48.cjs} +1 -1
  41. package/dist/{classDiagram-v2-4MYWR3UA-DyMM0DMP.cjs → classDiagram-v2-L25IHNXF-CAbdJ2_W.cjs} +1 -1
  42. package/dist/{classDiagram-v2-4MYWR3UA-DIjHIULx.js → classDiagram-v2-L25IHNXF-CAts0vNW.js} +13 -13
  43. package/dist/{conversationExport-DojQkOLk.js → conversationExport-BWbYNcNf.js} +3 -3
  44. package/dist/{conversationExport-CE0UTxEg.cjs → conversationExport-DuKpkQDn.cjs} +1 -1
  45. package/dist/{conversationHistory-DdjP3rjR.cjs → conversationHistory-DIGz_MD4.cjs} +1 -1
  46. package/dist/{conversationHistory-g6h0_Fjx.js → conversationHistory-DXpSCV87.js} +2 -2
  47. package/dist/{cynefinDiagram-WF24UDRP-DEFG-MNh.js → cynefinDiagram-L36ESFBY-ByHpHKCc.js} +4 -4
  48. package/dist/{cynefinDiagram-WF24UDRP-BC09SRT2.cjs → cynefinDiagram-L36ESFBY-CrsJmb7x.cjs} +1 -1
  49. package/dist/{dagre-NK4GIZVX-D6Xuc_Nw.js → dagre-SPEB5RXH-C01_UMxx.js} +51 -51
  50. package/dist/{dagre-NK4GIZVX-D0_oLrA9.cjs → dagre-SPEB5RXH-ExCiSqVu.cjs} +2 -2
  51. package/dist/{diagram-TYUNFSNR-Dy2nkVin.cjs → diagram-3B7GL73J-CRNoSH2i.cjs} +2 -2
  52. package/dist/{diagram-TYUNFSNR-BSq4ni3b.js → diagram-3B7GL73J-D7i6eGGQ.js} +14 -14
  53. package/dist/{diagram-I5XIIV2D-Dom9usNq.cjs → diagram-DNEMPZML-CkhkOJo2.cjs} +1 -1
  54. package/dist/{diagram-I5XIIV2D-DbwsxgDf.js → diagram-DNEMPZML-Di5RqN_h.js} +4 -4
  55. package/dist/{diagram-RJA3I4VV-Bt-BxYua.cjs → diagram-L3MUGCDN-B1vXsDB1.cjs} +1 -1
  56. package/dist/{diagram-RJA3I4VV-DCygetH_.js → diagram-L3MUGCDN-BtQkAzOD.js} +4 -4
  57. package/dist/{diagram-CBK3MWTC-CuUrHQAz.js → diagram-LA4NIPWU-Badv-tyU.js} +6 -6
  58. package/dist/{diagram-CBK3MWTC-DbXGbFMz.cjs → diagram-LA4NIPWU-DST6DvSP.cjs} +1 -1
  59. package/dist/{diagram-PFBEJUXE-DAIw33Bx.cjs → diagram-MHCOC4E2-BafwTqOD.cjs} +1 -1
  60. package/dist/{diagram-PFBEJUXE-ChA6KYWw.js → diagram-MHCOC4E2-DmA9ezb9.js} +3 -3
  61. package/dist/{diagram-ODIL2UCW-CSnuo9bJ.js → diagram-XPFHEONP-CZHt29x-.js} +5 -5
  62. package/dist/{diagram-ODIL2UCW-CLSAtgxG.cjs → diagram-XPFHEONP-DCm8Rjp8.cjs} +2 -2
  63. package/dist/{docxExport-CrsGZa8E.cjs → docxExport-BlPADe6b.cjs} +1 -1
  64. package/dist/{docxExport-9XrmWN9x.js → docxExport-Bwi2TlqP.js} +2 -2
  65. package/dist/{ebnfDiagram-V4P3TTPT-e4I3Otpa.js → ebnfDiagram-UZSYDL2S-DVGQga8g.js} +4 -4
  66. package/dist/{ebnfDiagram-V4P3TTPT-6xhHNshj.cjs → ebnfDiagram-UZSYDL2S-fO0plY-B.cjs} +1 -1
  67. package/dist/elk-XV6XMXQE-BkH0WNCd.js +48285 -0
  68. package/dist/elk-XV6XMXQE-CioXUob9.cjs +27 -0
  69. package/dist/{erDiagram-KYQIGQAA-BTNANm6p.js → erDiagram-EYBAPDEH-Byy0RKKe.js} +12 -13
  70. package/dist/{erDiagram-KYQIGQAA-DsqyoDOz.cjs → erDiagram-EYBAPDEH-CUgDxVam.cjs} +2 -2
  71. package/dist/flowDiagram-MALGAFMO-D2e4rl0I.js +15 -0
  72. package/dist/flowDiagram-MALGAFMO-ZfeGO5tQ.cjs +1 -0
  73. package/dist/{ganttDiagram-R7GPNTJY-B1juClwW.cjs → ganttDiagram-23REXITY-D82ogzPM.cjs} +1 -1
  74. package/dist/{ganttDiagram-R7GPNTJY-CEGQ6hzi.js → ganttDiagram-23REXITY-DAs5LGLL.js} +2 -2
  75. package/dist/{gitGraphDiagram-PDYL7XHY-6cCNinUi.cjs → gitGraphDiagram-STJD7YCW-B3zcpUUP.cjs} +1 -1
  76. package/dist/{gitGraphDiagram-PDYL7XHY-D_ADFBrL.js → gitGraphDiagram-STJD7YCW-BVa0DHTU.js} +3 -3
  77. package/dist/{infoDiagram-MVDRKAX5-Dkuw3h5s.js → infoDiagram-KBXO4MBG-BW7IcSQr.js} +4 -4
  78. package/dist/{infoDiagram-MVDRKAX5-CVeFOzof.cjs → infoDiagram-KBXO4MBG-DRQkxKbg.cjs} +1 -1
  79. package/dist/{ishikawaDiagram-HPEHV2GE-oTSoKUOA.js → ishikawaDiagram-M35NCXHK-BiLoyI1l.js} +4 -4
  80. package/dist/{ishikawaDiagram-HPEHV2GE-92CAbMpi.cjs → ishikawaDiagram-M35NCXHK-DBokYlS8.cjs} +1 -1
  81. package/dist/{journeyDiagram-BOSHW7O7-Cb_yTQWF.cjs → journeyDiagram-OPLOXDXO-CgabMAC2.cjs} +1 -1
  82. package/dist/{journeyDiagram-BOSHW7O7-CMbGxPLA.js → journeyDiagram-OPLOXDXO-DsyubZVY.js} +3 -3
  83. package/dist/{kanban-definition-FNSA4HC5-DlUMoAIT.cjs → kanban-definition-BZKZHSQY-CLi3J9cI.cjs} +1 -1
  84. package/dist/{kanban-definition-FNSA4HC5-DzEQcVPw.js → kanban-definition-BZKZHSQY-DU8sOWQd.js} +10 -10
  85. package/dist/{line-ZwhMGa3_.cjs → line-Bf0B129l.cjs} +1 -1
  86. package/dist/{line-0VTxwDiV.js → line-DRq00lCg.js} +1 -1
  87. package/dist/{loadReferencedImage-RUfxAG0o.cjs → loadReferencedImage-D47xCpa7.cjs} +1 -1
  88. package/dist/{loadReferencedImage-LF2DEOPa.js → loadReferencedImage-VNYxXIzB.js} +1 -1
  89. package/dist/{mermaid.core-73kk5oPm.cjs → mermaid.core-BL4WDqAH.cjs} +12 -12
  90. package/dist/{mermaid.core-C8dp1dnD.js → mermaid.core-DPCy8dJO.js} +511 -504
  91. package/dist/{mermaidToImage-Ckx06W6z.cjs → mermaidToImage-B7I6iJ9s.cjs} +1 -1
  92. package/dist/{mermaidToImage-knc9XzLd.js → mermaidToImage-CViP9wx2.js} +1 -1
  93. package/dist/{mindmap-definition-6OY57UG3-CXobmoZM.js → mindmap-definition-I2QAS2VK-C2KpoDqG.js} +38 -68
  94. package/dist/{mindmap-definition-6OY57UG3-DLx3d1V6.cjs → mindmap-definition-I2QAS2VK-GT8_r7or.cjs} +8 -8
  95. package/dist/{pegDiagram-ECIUJNBX-ODBWqs1V.js → pegDiagram-FD4XPPHP-CSA4sB83.js} +4 -4
  96. package/dist/{pegDiagram-ECIUJNBX-B-eSDSQK.cjs → pegDiagram-FD4XPPHP-D0OZoETj.cjs} +1 -1
  97. package/dist/pi-outpost-embed.cjs +25 -25
  98. package/dist/pi-outpost-embed.js +2799 -2405
  99. package/dist/{pieDiagram-GNMPY74T-DYDC5z2D.js → pieDiagram-J4AKIIQI-CNLlH6kK.js} +4 -4
  100. package/dist/{pieDiagram-GNMPY74T-BtYyKCrf.cjs → pieDiagram-J4AKIIQI-O870G6iX.cjs} +1 -1
  101. package/dist/{quadrantDiagram-D57K4MC3-BfQWcg-D.js → quadrantDiagram-XTYBLID2-BjaZuA3m.js} +2 -2
  102. package/dist/{quadrantDiagram-D57K4MC3-Cu6JmzPE.cjs → quadrantDiagram-XTYBLID2-CfdtTmYm.cjs} +1 -1
  103. package/dist/{railroadDiagram-Y72NRBL7-BdHmqKV_.cjs → railroadDiagram-MRQ6NCDL-DDOA_8gY.cjs} +1 -1
  104. package/dist/{railroadDiagram-Y72NRBL7-ChQwG3mZ.js → railroadDiagram-MRQ6NCDL-DgAKQKiD.js} +4 -4
  105. package/dist/{requirementDiagram-EQYSW5RA-Dj4E0fE3.js → requirementDiagram-Y7LWUY3S-Bhlk2ueA.js} +12 -12
  106. package/dist/{requirementDiagram-EQYSW5RA-CDQ6Nza1.cjs → requirementDiagram-Y7LWUY3S-nSr_pknl.cjs} +1 -1
  107. package/dist/{sankeyDiagram-SY24JHO5-luxVW4uf.js → sankeyDiagram-WGJFYUXA-DUYWd4HF.js} +2 -2
  108. package/dist/{sankeyDiagram-SY24JHO5-BPFkmPzT.cjs → sankeyDiagram-WGJFYUXA-x6J896b3.cjs} +1 -1
  109. package/dist/{sequenceDiagram-BLEHNHQU-DX51aIRY.cjs → sequenceDiagram-5NDRBG5M-BFgcr8MT.cjs} +1 -1
  110. package/dist/{sequenceDiagram-BLEHNHQU-H4rQDzp-.js → sequenceDiagram-5NDRBG5M-D1YS8Amk.js} +5 -5
  111. package/dist/{stateDiagram-v2-A6IESKWZ-DBJ11U2p.js → stateDiagram-v2-FJ4FJNEA-6j2vDdvl.js} +13 -13
  112. package/dist/{stateDiagram-v2-A6IESKWZ-Dbp783Hd.cjs → stateDiagram-v2-FJ4FJNEA-DOTmLAY2.cjs} +1 -1
  113. package/dist/swimlanes-UMQ2AFYF-BQLQzNLz.cjs +1 -0
  114. package/dist/{swimlanes-B3ENRKFQ-Bp3vZCmK.js → swimlanes-UMQ2AFYF-CNb1NF60.js} +1742 -1338
  115. package/dist/swimlanesDiagram-OMPLPG4O-BNDsO6gw.cjs +8 -0
  116. package/dist/swimlanesDiagram-OMPLPG4O-BOl138lS.js +27 -0
  117. package/dist/{timeline-definition-JXYKGLGB-BE6iAj4r.js → timeline-definition-SEUHKTQE-B_909Amn.js} +4 -4
  118. package/dist/{timeline-definition-JXYKGLGB-DKhMPFBi.cjs → timeline-definition-SEUHKTQE-Du5-RSsU.cjs} +1 -1
  119. package/dist/{usecaseDiagram-WPOLBNNX-BRWufOTq.cjs → usecaseDiagram-AFA6YXN4-BUs_YsqB.cjs} +2 -2
  120. package/dist/{usecaseDiagram-WPOLBNNX-DY9Md_AG.js → usecaseDiagram-AFA6YXN4-CiVGRP5X.js} +12 -12
  121. package/dist/{vennDiagram-Q3Y3IDCW-NYVHk5sI.cjs → vennDiagram-NNMJR3RB-CKxaec4G.cjs} +1 -1
  122. package/dist/{vennDiagram-Q3Y3IDCW-DbPGt27W.js → vennDiagram-NNMJR3RB-l3A_FZxZ.js} +4 -4
  123. package/dist/{wardleyDiagram-IVAIDKWA-BHkJFpfC.js → wardleyDiagram-S7YFUSEH-BMQf5dl9.js} +4 -4
  124. package/dist/{wardleyDiagram-IVAIDKWA-DsYJNlmX.cjs → wardleyDiagram-S7YFUSEH-Ctqri3T4.cjs} +1 -1
  125. package/dist/{xychartDiagram-4URNHDU4-B_g46bSg.cjs → xychartDiagram-GGNKY7IX-BUma86Wh.cjs} +1 -1
  126. package/dist/{xychartDiagram-4URNHDU4-IvFjWG-y.js → xychartDiagram-GGNKY7IX-CuFU4ynf.js} +7 -7
  127. package/package.json +2 -2
  128. package/dist/channel-AESWk0Yw.cjs +0 -1
  129. package/dist/channel-CEoRf1uz.js +0 -5
  130. package/dist/chunk-HNE4Q36P-CCHAgwa3.cjs +0 -1
  131. package/dist/chunk-NQOKRVIF-DcZqKWzv.cjs +0 -213
  132. package/dist/chunk-WQQL4CDK-DxEEyQzx.cjs +0 -10
  133. package/dist/elk-QONTBCTQ-B8RYU1Ay.js +0 -47505
  134. package/dist/elk-QONTBCTQ-hBYUI6Nr.cjs +0 -27
  135. package/dist/flowDiagram-IUGLLWBU-BJlVRCj8.js +0 -15
  136. package/dist/flowDiagram-IUGLLWBU-CsC_IEV_.cjs +0 -1
  137. package/dist/swimlanes-B3ENRKFQ-DY1V--Rq.cjs +0 -1
  138. package/dist/swimlanesDiagram-AYQRV4AK-COavJcG4.js +0 -27
  139. package/dist/swimlanesDiagram-AYQRV4AK-dUd5QjxZ.cjs +0 -8
@@ -1,17 +1,17 @@
1
1
  import { n as e } from "./rolldown-runtime-5HNE8Q1r.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
3
3
  import { h as n, m as r, p as i } from "./src-65Lfw03T.js";
4
- import { $ as a, I as o, J as s, K as c, L as l, N as u, P as d, Q as f, S as p, T as m, V as h, W as g, Z as _, b as v, c as y, et as b, f as x, g as S, j as C, l as w, m as T, n as E, p as D, r as O, s as k, t as A, u as j, w as M, x as N, y as P } from "./chunk-DSNLSHJZ-DPpiuUZK.js";
5
- import { C as F, S as I, _ as L, a as R, b as z, f as ee, g as te, i as ne, l as re, o as ie, p as ae, y as oe } from "./chunk-7S6XSTFO-DrDRohsE.js";
6
- import { r as se } from "./chunk-YZO67HFG-WF3jklBn.js";
7
- import { a as ce } from "./chunk-AQDTSKZB-DUZx386i.js";
8
- import { t as le } from "./chunk-DUW6YSOI-CVhxvrBO.js";
9
- import "./chunk-UHW7PFBP-BTk1ZC8L.js";
10
- import { o as ue } from "./chunk-HAGFOTED-ceXO12G4.js";
11
- import { r as de } from "./chunk-ZAUX2LTX-P8LAwm_U.js";
12
- import { a as fe, c as B, i as pe, l as me } from "./chunk-WQQL4CDK-C3yDIFZ3.js";
13
- import { r as he } from "./chunk-HNE4Q36P-uON_vFhT.js";
14
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-OYAV6JZA.mjs
4
+ import { $ as a, I as o, J as s, K as c, L as l, N as u, P as d, Q as f, S as p, T as m, V as h, W as g, Z as _, b as v, c as y, et as b, f as x, g as S, j as C, l as w, m as T, n as E, p as D, r as O, s as k, t as ee, u as A, w as j, x as M, y as N } from "./chunk-BG4553SI-j_gQs8M_.js";
5
+ import { a as P, d as F, f as I, o as L, u as R } from "./chunk-DQASFODM-DAaU7yoa.js";
6
+ import { C as z, S as te, _ as B, a as ne, b as re, f as ie, g as ae, i as oe, l as se, o as ce, p as le, y as ue } from "./chunk-6MUBBAK2-DlUTxzYh.js";
7
+ import { i as de } from "./chunk-R3KSYZAL-DeNSy3X8.js";
8
+ import { a as fe } from "./chunk-STOXU5M4-0WKKmqbF.js";
9
+ import { t as V } from "./chunk-DUW6YSOI-CVhxvrBO.js";
10
+ import "./chunk-X4PVCEUW-C80IBt-t.js";
11
+ import { o as pe } from "./chunk-AXFCVDMN-DrVQa3gP.js";
12
+ import { r as me } from "./chunk-LEVMRMFU-NLMudZfn.js";
13
+ import { r as he } from "./chunk-M57EVK23-C8-Jp43x.js";
14
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-OHR5NZHT.mjs
15
15
  var ge = /* @__PURE__ */ t((e) => {
16
16
  let { securityLevel: t } = v(), n = i("body");
17
17
  if (t === "sandbox") {
@@ -30,7 +30,7 @@ function _e(e) {
30
30
  //#region ../node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs
31
31
  function ve(e) {
32
32
  if (e == null) return !0;
33
- if (I(e)) return typeof e.splice != "function" && typeof e != "string" && !F(e) && !oe(e) && !z(e) ? !1 : e.length === 0;
33
+ if (te(e)) return typeof e.splice != "function" && typeof e != "string" && !z(e) && !ue(e) && !re(e) ? !1 : e.length === 0;
34
34
  if (typeof e == "object" || typeof e == "function") {
35
35
  if (e instanceof Map || e instanceof Set) return e.size === 0;
36
36
  let t = Object.keys(e);
@@ -39,19 +39,19 @@ function ve(e) {
39
39
  return !0;
40
40
  }
41
41
  //#endregion
42
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-EJLWFMJV.mjs
42
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-CFHHFPVC.mjs
43
43
  var ye = {
44
44
  common: k,
45
- getConfig: P,
45
+ getConfig: N,
46
46
  insertCluster: he,
47
- insertEdge: pe,
48
- insertEdgeLabel: fe,
49
- insertMarkers: B,
50
- insertNode: de,
51
- interpolateToCurve: ee,
52
- labelHelper: ue,
47
+ insertEdge: P,
48
+ insertEdgeLabel: L,
49
+ insertMarkers: R,
50
+ insertNode: me,
51
+ interpolateToCurve: ie,
52
+ labelHelper: pe,
53
53
  log: r,
54
- positionEdgeLabel: me
54
+ positionEdgeLabel: I
55
55
  }, be = [
56
56
  "elk.stress",
57
57
  "elk.force",
@@ -62,7 +62,7 @@ var ye = {
62
62
  ], xe = /* @__PURE__ */ Object.create(null), Se = /* @__PURE__ */ t((e) => {
63
63
  for (let t of e) xe[t.name] = t;
64
64
  }, "registerLayoutLoaders"), Ce = /* @__PURE__ */ t(() => {
65
- let e = /* @__PURE__ */ t(async () => await import("./elk-QONTBCTQ-B8RYU1Ay.js"), "loader");
65
+ let e = /* @__PURE__ */ t(async () => await import("./elk-XV6XMXQE-BkH0WNCd.js"), "loader");
66
66
  return [{
67
67
  name: "elk",
68
68
  loader: e,
@@ -77,11 +77,11 @@ var ye = {
77
77
  Se([
78
78
  {
79
79
  name: "dagre",
80
- loader: /* @__PURE__ */ t(async () => await import("./dagre-NK4GIZVX-D6Xuc_Nw.js"), "loader")
80
+ loader: /* @__PURE__ */ t(async () => await import("./dagre-SPEB5RXH-C01_UMxx.js"), "loader")
81
81
  },
82
82
  {
83
83
  name: "swimlane",
84
- loader: /* @__PURE__ */ t(async () => await import("./swimlanes-B3ENRKFQ-Bp3vZCmK.js"), "loader")
84
+ loader: /* @__PURE__ */ t(async () => await import("./swimlanes-UMQ2AFYF-CNb1NF60.js"), "loader")
85
85
  },
86
86
  {
87
87
  name: "cose-bilkent",
@@ -97,21 +97,23 @@ var we = /* @__PURE__ */ t(async (e, t) => {
97
97
  t.domId = `${e.diagramId}-${n}`;
98
98
  }
99
99
  let n = xe[e.layoutAlgorithm], r = await n.loader();
100
- return le(t, e.config), r.render(e, t, ye, { algorithm: n.algorithm });
100
+ V(t, e.config);
101
+ let i = await r.render(e, t, ye, { algorithm: n.algorithm });
102
+ return F(t.node()), i;
101
103
  }, "render"), Te = "dagre", Ee = /* @__PURE__ */ t((e = "", { fallback: t = Te } = {}) => {
102
104
  if (Object.hasOwn(xe, e)) return e;
103
105
  for (let n of [t, Te]) if (Object.hasOwn(xe, n)) return r.warn(`Layout algorithm ${e} is not registered. Using ${n} as fallback.`), n;
104
106
  throw Error(`Neither layout algorithm ${e}, ${t}, nor ${Te} is registered.`);
105
107
  }, "getRegisteredLayoutAlgorithm");
106
108
  //#endregion
107
- //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-LNGE3PJU.mjs
109
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-HPSUCWAI.mjs
108
110
  function De(e) {
109
111
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
110
112
  }
111
113
  t(De, "getDefaultExportFromCjs");
112
- var V = {}, Oe = {}, H = {}, ke;
113
- function U() {
114
- if (ke) return H;
114
+ var H = {}, Oe = {}, U = {}, ke;
115
+ function W() {
116
+ if (ke) return U;
115
117
  ke = 1;
116
118
  function e(e) {
117
119
  return e == null;
@@ -145,11 +147,11 @@ function U() {
145
147
  function o(e) {
146
148
  return e === 0 && 1 / e == -Infinity;
147
149
  }
148
- return t(o, "isNegativeZero"), H.isNothing = e, H.isObject = n, H.toArray = r, H.repeat = a, H.isNegativeZero = o, H.extend = i, H;
150
+ return t(o, "isNegativeZero"), U.isNothing = e, U.isObject = n, U.toArray = r, U.repeat = a, U.isNegativeZero = o, U.extend = i, U;
149
151
  }
150
- t(U, "requireCommon");
152
+ t(W, "requireCommon");
151
153
  var Ae, je;
152
- function W() {
154
+ function G() {
153
155
  if (je) return Ae;
154
156
  je = 1;
155
157
  function e(e, t) {
@@ -164,12 +166,12 @@ function W() {
164
166
  return this.name + ": " + e(this, t);
165
167
  }, "toString"), Ae = n, Ae;
166
168
  }
167
- t(W, "requireException");
169
+ t(G, "requireException");
168
170
  var Me, Ne;
169
171
  function Pe() {
170
172
  if (Ne) return Me;
171
173
  Ne = 1;
172
- let e = U();
174
+ let e = W();
173
175
  function n(e, t, n, r, i) {
174
176
  let a = "", o = "", s = Math.floor(i / 2) - 1;
175
177
  return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
@@ -205,10 +207,10 @@ function Pe() {
205
207
  }
206
208
  t(Pe, "requireSnippet");
207
209
  var Fe, Ie;
208
- function G() {
210
+ function K() {
209
211
  if (Ie) return Fe;
210
212
  Ie = 1;
211
- let e = W(), n = [
213
+ let e = G(), n = [
212
214
  "kind",
213
215
  "multi",
214
216
  "resolve",
@@ -244,12 +246,12 @@ function G() {
244
246
  }
245
247
  return t(a, "Type2"), Fe = a, Fe;
246
248
  }
247
- t(G, "requireType");
249
+ t(K, "requireType");
248
250
  var Le, Re;
249
251
  function ze() {
250
252
  if (Re) return Le;
251
253
  Re = 1;
252
- let e = W(), n = G();
254
+ let e = G(), n = K();
253
255
  function r(e, t) {
254
256
  let n = [];
255
257
  return e[t].forEach(function(e) {
@@ -304,7 +306,7 @@ function ze() {
304
306
  t(ze, "requireSchema");
305
307
  var Be, Ve;
306
308
  function He() {
307
- return Ve || (Ve = 1, Be = new (G())("tag:yaml.org,2002:str", {
309
+ return Ve || (Ve = 1, Be = new (K())("tag:yaml.org,2002:str", {
308
310
  kind: "scalar",
309
311
  construct: /* @__PURE__ */ t(function(e) {
310
312
  return e === null ? "" : e;
@@ -314,7 +316,7 @@ function He() {
314
316
  t(He, "requireStr");
315
317
  var Ue, We;
316
318
  function Ge() {
317
- return We || (We = 1, Ue = new (G())("tag:yaml.org,2002:seq", {
319
+ return We || (We = 1, Ue = new (K())("tag:yaml.org,2002:seq", {
318
320
  kind: "sequence",
319
321
  construct: /* @__PURE__ */ t(function(e) {
320
322
  return e === null ? [] : e;
@@ -324,7 +326,7 @@ function Ge() {
324
326
  t(Ge, "requireSeq");
325
327
  var Ke, qe;
326
328
  function Je() {
327
- return qe || (qe = 1, Ke = new (G())("tag:yaml.org,2002:map", {
329
+ return qe || (qe = 1, Ke = new (K())("tag:yaml.org,2002:map", {
328
330
  kind: "mapping",
329
331
  construct: /* @__PURE__ */ t(function(e) {
330
332
  return e === null ? {} : e;
@@ -345,7 +347,7 @@ var Qe, $e;
345
347
  function et() {
346
348
  if ($e) return Qe;
347
349
  $e = 1;
348
- let e = G();
350
+ let e = K();
349
351
  function n(e) {
350
352
  if (e === null) return !0;
351
353
  let t = e.length;
@@ -389,7 +391,7 @@ var tt, nt;
389
391
  function rt() {
390
392
  if (nt) return tt;
391
393
  nt = 1;
392
- let e = G();
394
+ let e = K();
393
395
  function n(e) {
394
396
  if (e === null) return !1;
395
397
  let t = e.length;
@@ -427,7 +429,7 @@ var it, at;
427
429
  function ot() {
428
430
  if (at) return it;
429
431
  at = 1;
430
- let e = U(), n = G();
432
+ let e = W(), n = K();
431
433
  function r(e) {
432
434
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
433
435
  }
@@ -527,7 +529,7 @@ var st, ct;
527
529
  function lt() {
528
530
  if (ct) return st;
529
531
  ct = 1;
530
- let e = U(), n = G(), r = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), i = /* @__PURE__ */ RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
532
+ let e = W(), n = K(), r = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"), i = /* @__PURE__ */ RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
531
533
  function a(e) {
532
534
  return e === null || !r.test(e) ? !1 : isFinite(parseFloat(e, 10)) ? !0 : i.test(e);
533
535
  }
@@ -591,7 +593,7 @@ var gt, _t;
591
593
  function vt() {
592
594
  if (_t) return gt;
593
595
  _t = 1;
594
- let e = G(), n = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), r = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
596
+ let e = K(), n = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), r = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
595
597
  function i(e) {
596
598
  return e === null ? !1 : n.exec(e) !== null || r.exec(e) !== null;
597
599
  }
@@ -630,7 +632,7 @@ var yt, bt;
630
632
  function xt() {
631
633
  if (bt) return yt;
632
634
  bt = 1;
633
- let e = G();
635
+ let e = K();
634
636
  function n(e) {
635
637
  return e === "<<" || e === null;
636
638
  }
@@ -644,7 +646,7 @@ var St, Ct;
644
646
  function wt() {
645
647
  if (Ct) return St;
646
648
  Ct = 1;
647
- let e = G();
649
+ let e = K();
648
650
  function n(e) {
649
651
  if (e === null) return !1;
650
652
  let t = 0, n = e.length;
@@ -688,10 +690,10 @@ var Tt, Et;
688
690
  function Dt() {
689
691
  if (Et) return Tt;
690
692
  Et = 1;
691
- let e = G(), n = Object.prototype.hasOwnProperty, r = Object.prototype.toString;
693
+ let e = K(), n = Object.prototype.hasOwnProperty, r = Object.prototype.toString;
692
694
  function i(e) {
693
695
  if (e === null) return !0;
694
- let t = [], i = e;
696
+ let t = {}, i = e;
695
697
  for (let e = 0, a = i.length; e < a; e += 1) {
696
698
  let a = i[e], o = !1;
697
699
  if (r.call(a) !== "[object Object]") return !1;
@@ -700,9 +702,8 @@ function Dt() {
700
702
  if (!o) o = !0;
701
703
  else return !1;
702
704
  }
703
- if (!o) return !1;
704
- if (t.indexOf(s) === -1) t.push(s);
705
- else return !1;
705
+ if (!o || n.call(t, s)) return !1;
706
+ Object.defineProperty(t, s, { value: !0 });
706
707
  }
707
708
  return !0;
708
709
  }
@@ -721,7 +722,7 @@ var Ot, kt;
721
722
  function At() {
722
723
  if (kt) return Ot;
723
724
  kt = 1;
724
- let e = G(), n = Object.prototype.toString;
725
+ let e = K(), n = Object.prototype.toString;
725
726
  function r(e) {
726
727
  if (e === null) return !0;
727
728
  let t = e, r = Array(t.length);
@@ -755,7 +756,7 @@ var jt, Mt;
755
756
  function Nt() {
756
757
  if (Mt) return jt;
757
758
  Mt = 1;
758
- let e = G(), n = Object.prototype.hasOwnProperty;
759
+ let e = K(), n = Object.prototype.hasOwnProperty;
759
760
  function r(e) {
760
761
  if (e === null) return !0;
761
762
  let t = e;
@@ -790,7 +791,7 @@ var Lt;
790
791
  function Rt() {
791
792
  if (Lt) return Oe;
792
793
  Lt = 1;
793
- let e = U(), n = W(), r = Pe(), i = It(), a = Object.prototype.hasOwnProperty, o = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, s = /[\x85\u2028\u2029]/, c = /[,\[\]{}]/, l = /^(?:!|!!|![0-9A-Za-z-]+!)$/, u = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
794
+ let e = W(), n = G(), r = Pe(), i = It(), a = Object.prototype.hasOwnProperty, o = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, s = /[\x85\u2028\u2029]/, c = /[,\[\]{}]/, l = /^(?:!|!!|![0-9A-Za-z-]+!)$/, u = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
794
795
  function d(e) {
795
796
  return Object.prototype.toString.call(e);
796
797
  }
@@ -903,7 +904,7 @@ function Rt() {
903
904
  e.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
904
905
  }
905
906
  t(k, "beginAnchorTransaction");
906
- function A(e) {
907
+ function ee(e) {
907
908
  let t = e.anchorMapTransactions.pop(), n = e.anchorMapTransactions;
908
909
  if (n.length === 0) return;
909
910
  let r = n[n.length - 1], i = Object.keys(t);
@@ -912,16 +913,16 @@ function Rt() {
912
913
  a.call(r, n) || (r[n] = t[n]);
913
914
  }
914
915
  }
915
- t(A, "commitAnchorTransaction");
916
- function j(e) {
916
+ t(ee, "commitAnchorTransaction");
917
+ function A(e) {
917
918
  let t = e.anchorMapTransactions.pop(), n = Object.keys(t);
918
919
  for (let r = n.length - 1; r >= 0; --r) {
919
920
  let i = t[n[r]];
920
921
  i.existed ? e.anchorMap[n[r]] = i.value : delete e.anchorMap[n[r]];
921
922
  }
922
923
  }
923
- t(j, "rollbackAnchorTransaction");
924
- function M(e) {
924
+ t(A, "rollbackAnchorTransaction");
925
+ function j(e) {
925
926
  return {
926
927
  position: e.position,
927
928
  line: e.line,
@@ -934,12 +935,12 @@ function Rt() {
934
935
  result: e.result
935
936
  };
936
937
  }
937
- t(M, "snapshotState");
938
- function N(e, t) {
938
+ t(j, "snapshotState");
939
+ function M(e, t) {
939
940
  e.position = t.position, e.line = t.line, e.lineStart = t.lineStart, e.lineIndent = t.lineIndent, e.firstTabInLine = t.firstTabInLine, e.tag = t.tag, e.anchor = t.anchor, e.kind = t.kind, e.result = t.result;
940
941
  }
941
- t(N, "restoreState");
942
- let P = {
942
+ t(M, "restoreState");
943
+ let N = {
943
944
  YAML: /* @__PURE__ */ t(function(e, t, n) {
944
945
  e.version !== null && E(e, "duplication of %YAML directive"), n.length !== 1 && E(e, "YAML directive accepts exactly one argument");
945
946
  let r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]);
@@ -960,7 +961,7 @@ function Rt() {
960
961
  e.tagMap[i] = r;
961
962
  }, "handleTagDirective")
962
963
  };
963
- function F(e, t, n, r) {
964
+ function P(e, t, n, r) {
964
965
  if (t < n) {
965
966
  let i = e.input.slice(t, n);
966
967
  if (r) for (let t = 0, n = i.length; t < n; t += 1) {
@@ -971,13 +972,17 @@ function Rt() {
971
972
  e.result += i;
972
973
  }
973
974
  }
974
- t(F, "captureSegment");
975
+ t(P, "captureSegment");
976
+ function F(e) {
977
+ e.totalMergeKeys++, e.maxTotalMergeKeys !== -1 && e.totalMergeKeys > e.maxTotalMergeKeys && E(e, "merge keys exceeded maxTotalMergeKeys (" + e.maxTotalMergeKeys + ")");
978
+ }
979
+ t(F, "chargeMergeWork");
975
980
  function I(t, n, r, i) {
976
- e.isObject(r) || E(t, "cannot merge mappings; the provided source object is unacceptable");
981
+ e.isObject(r) || E(t, "cannot merge mappings; the provided source object is unacceptable"), F(t);
977
982
  let o = Object.keys(r);
978
983
  for (let e = 0, s = o.length; e < s; e += 1) {
979
984
  let s = o[e];
980
- t.maxTotalMergeKeys !== -1 && ++t.totalMergeKeys > t.maxTotalMergeKeys && E(t, "merge keys exceeded maxTotalMergeKeys (" + t.maxTotalMergeKeys + ")"), a.call(n, s) || (x(n, s, r[s]), i[s] = !0);
985
+ F(t), a.call(n, s) || (x(n, s, r[s]), i[s] = !0);
981
986
  }
982
987
  }
983
988
  t(I, "mergeMappings");
@@ -987,8 +992,10 @@ function Rt() {
987
992
  for (let t = 0, n = i.length; t < n; t += 1) Array.isArray(i[t]) && E(e, "nested arrays are not supported inside keys"), typeof i == "object" && d(i[t]) === "[object Object]" && (i[t] = "[object Object]");
988
993
  }
989
994
  if (typeof i == "object" && d(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") {
990
- if (Array.isArray(o)) for (let r = 0, i = o.length; r < i; r += 1) I(e, t, o[r], n);
991
- else I(e, t, o, n);
995
+ if (Array.isArray(o)) {
996
+ o.length > 100 && E(e, "abnormal merge sequence size");
997
+ for (let r = 0, i = o.length; r < i; r += 1) I(e, t, o[r], n);
998
+ } else I(e, t, o, n);
992
999
  } else !e.json && !a.call(n, i) && a.call(t, i) && (e.line = s || e.line, e.lineStart = c || e.lineStart, e.position = l || e.position, E(e, "duplicated mapping key")), x(t, i, o), delete n[i];
993
1000
  return t;
994
1001
  }
@@ -1011,15 +1018,15 @@ function Rt() {
1011
1018
  return n !== -1 && r !== 0 && e.lineIndent < n && D(e, "deficient indentation"), r;
1012
1019
  }
1013
1020
  t(z, "skipSeparationSpace");
1014
- function ee(e) {
1021
+ function te(e) {
1015
1022
  let t = e.position, n = e.input.charCodeAt(t);
1016
1023
  return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || m(n)));
1017
1024
  }
1018
- t(ee, "testDocumentSeparator");
1019
- function te(t, n) {
1025
+ t(te, "testDocumentSeparator");
1026
+ function B(t, n) {
1020
1027
  n === 1 ? t.result += " " : n > 1 && (t.result += e.repeat("\n", n - 1));
1021
1028
  }
1022
- t(te, "writeFoldedLines");
1029
+ t(B, "writeFoldedLines");
1023
1030
  function ne(e, t, n) {
1024
1031
  let r, i, a, o, s, c, l = e.kind, u = e.result, d = e.input.charCodeAt(e.position);
1025
1032
  if (m(d) || h(d) || d === 35 || d === 38 || d === 42 || d === 33 || d === 124 || d === 62 || d === 39 || d === 34 || d === 37 || d === 64 || d === 96) return !1;
@@ -1033,7 +1040,7 @@ function Rt() {
1033
1040
  if (m(t) || n && h(t)) break;
1034
1041
  } else if (d === 35) {
1035
1042
  if (m(e.input.charCodeAt(e.position - 1))) break;
1036
- } else if (e.position === e.lineStart && ee(e) || n && h(d)) break;
1043
+ } else if (e.position === e.lineStart && te(e) || n && h(d)) break;
1037
1044
  else if (f(d)) {
1038
1045
  if (o = e.line, s = e.lineStart, c = e.lineIndent, z(e, !1, -1), e.lineIndent >= t) {
1039
1046
  a = !0, d = e.input.charCodeAt(e.position);
@@ -1042,27 +1049,27 @@ function Rt() {
1042
1049
  e.position = i, e.line = o, e.lineStart = s, e.lineIndent = c;
1043
1050
  break;
1044
1051
  }
1045
- a &&= (F(e, r, i, !1), te(e, e.line - o), r = i = e.position, !1), p(d) || (i = e.position + 1), d = e.input.charCodeAt(++e.position);
1052
+ a &&= (P(e, r, i, !1), B(e, e.line - o), r = i = e.position, !1), p(d) || (i = e.position + 1), d = e.input.charCodeAt(++e.position);
1046
1053
  }
1047
- return F(e, r, i, !1), e.result ? !0 : (e.kind = l, e.result = u, !1);
1054
+ return P(e, r, i, !1), e.result ? !0 : (e.kind = l, e.result = u, !1);
1048
1055
  }
1049
1056
  t(ne, "readPlainScalar");
1050
1057
  function re(e, t) {
1051
1058
  let n, r, i = e.input.charCodeAt(e.position);
1052
1059
  if (i !== 39) return !1;
1053
1060
  for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (i = e.input.charCodeAt(e.position)) !== 0;) if (i === 39) {
1054
- if (F(e, n, e.position, !0), i = e.input.charCodeAt(++e.position), i === 39) n = e.position, e.position++, r = e.position;
1061
+ if (P(e, n, e.position, !0), i = e.input.charCodeAt(++e.position), i === 39) n = e.position, e.position++, r = e.position;
1055
1062
  else return !0;
1056
- } else f(i) ? (F(e, n, r, !0), te(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && ee(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, p(i) || (r = e.position));
1063
+ } else f(i) ? (P(e, n, r, !0), B(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && te(e) ? E(e, "unexpected end of the document within a single quoted scalar") : (e.position++, p(i) || (r = e.position));
1057
1064
  E(e, "unexpected end of the stream within a single quoted scalar");
1058
1065
  }
1059
1066
  t(re, "readSingleQuotedScalar");
1060
1067
  function ie(e, t) {
1061
1068
  let n, r, i, a = e.input.charCodeAt(e.position);
1062
1069
  if (a !== 34) return !1;
1063
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (a = e.input.charCodeAt(e.position)) !== 0;) if (a === 34) return F(e, n, e.position, !0), e.position++, !0;
1070
+ for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (a = e.input.charCodeAt(e.position)) !== 0;) if (a === 34) return P(e, n, e.position, !0), e.position++, !0;
1064
1071
  else if (a === 92) {
1065
- if (F(e, n, e.position, !0), a = e.input.charCodeAt(++e.position), f(a)) z(e, !1, t);
1072
+ if (P(e, n, e.position, !0), a = e.input.charCodeAt(++e.position), f(a)) z(e, !1, t);
1066
1073
  else if (a < 256 && S[a]) e.result += C[a], e.position++;
1067
1074
  else if ((i = _(a)) > 0) {
1068
1075
  let t = i, n = 0;
@@ -1070,7 +1077,7 @@ function Rt() {
1070
1077
  e.result += b(n), e.position++;
1071
1078
  } else E(e, "unknown escape sequence");
1072
1079
  n = r = e.position;
1073
- } else f(a) ? (F(e, n, r, !0), te(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && ee(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, p(a) || (r = e.position));
1080
+ } else f(a) ? (P(e, n, r, !0), B(e, z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && te(e) ? E(e, "unexpected end of the document within a double quoted scalar") : (e.position++, p(a) || (r = e.position));
1074
1081
  E(e, "unexpected end of the stream within a double quoted scalar");
1075
1082
  }
1076
1083
  t(ie, "readDoubleQuotedScalar");
@@ -1081,7 +1088,7 @@ function Rt() {
1081
1088
  else return !1;
1082
1089
  for (e.anchor !== null && O(e, e.anchor, s), v = e.input.charCodeAt(++e.position); v !== 0;) {
1083
1090
  if (z(e, !0, t), v = e.input.charCodeAt(e.position), v === l) return e.position++, e.tag = o, e.anchor = c, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
1084
- n ? v === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), g = h = _ = null, u = d = !1, v === 63 && m(e.input.charCodeAt(e.position + 1)) && (u = d = !0, e.position++, z(e, !0, t)), r = e.line, i = e.lineStart, a = e.position, B(e, t, 1, !1, !0), g = e.tag, h = e.result, z(e, !0, t), v = e.input.charCodeAt(e.position), (d || e.line === r) && v === 58 && (u = !0, v = e.input.charCodeAt(++e.position), z(e, !0, t), B(e, t, 1, !1, !0), _ = e.result), f ? L(e, s, p, g, h, _, r, i, a) : u ? s.push(L(e, null, p, g, h, _, r, i, a)) : s.push(h), z(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
1091
+ n ? v === 44 && E(e, "expected the node content, but found ','") : E(e, "missed comma between flow collection entries"), g = h = _ = null, u = d = !1, v === 63 && m(e.input.charCodeAt(e.position + 1)) && (u = d = !0, e.position++, z(e, !0, t)), r = e.line, i = e.lineStart, a = e.position, V(e, t, 1, !1, !0), g = e.tag, h = e.result, z(e, !0, t), v = e.input.charCodeAt(e.position), (d || e.line === r) && v === 58 && (u = !0, v = e.input.charCodeAt(++e.position), z(e, !0, t), V(e, t, 1, !1, !0), _ = e.result), f ? L(e, s, p, g, h, _, r, i, a) : u ? s.push(L(e, null, p, g, h, _, r, i, a)) : s.push(h), z(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
1085
1092
  }
1086
1093
  E(e, "unexpected end of the stream within a flow collection");
1087
1094
  }
@@ -1115,7 +1122,7 @@ function Rt() {
1115
1122
  r ? p(d) ? (l = !0, t.result += e.repeat("\n", a ? 1 + c : c)) : l ? (l = !1, t.result += e.repeat("\n", c + 1)) : c === 0 ? a && (t.result += " ") : t.result += e.repeat("\n", c) : t.result += e.repeat("\n", a ? 1 + c : c), a = !0, o = !0, c = 0;
1116
1123
  let n = t.position;
1117
1124
  for (; !f(d) && d !== 0;) d = t.input.charCodeAt(++t.position);
1118
- F(t, n, t.position, !1);
1125
+ P(t, n, t.position, !1);
1119
1126
  }
1120
1127
  return !0;
1121
1128
  }
@@ -1131,7 +1138,7 @@ function Rt() {
1131
1138
  continue;
1132
1139
  }
1133
1140
  let n = e.line;
1134
- if (B(e, t, 3, !1, !0), i.push(e.result), z(e, !0, -1), o = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && o !== 0) E(e, "bad indentation of a sequence entry");
1141
+ if (V(e, t, 3, !1, !0), i.push(e.result), z(e, !0, -1), o = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && o !== 0) E(e, "bad indentation of a sequence entry");
1135
1142
  else if (e.lineIndent < t) break;
1136
1143
  }
1137
1144
  return a ? (e.tag = n, e.anchor = r, e.kind = "sequence", e.result = i, !0) : !1;
@@ -1147,7 +1154,7 @@ function Rt() {
1147
1154
  let y = e.input.charCodeAt(e.position + 1), b = e.line;
1148
1155
  if ((v === 63 || v === 58) && m(y)) v === 63 ? (g && (L(e, l, u, d, f, null, i, a, o), d = f = h = null), _ = !0, g = !0, r = !0) : g ? (g = !1, r = !0) : E(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = y;
1149
1156
  else {
1150
- if (i = e.line, a = e.lineStart, o = e.position, !B(e, n, 2, !1, !0)) break;
1157
+ if (i = e.line, a = e.lineStart, o = e.position, !V(e, n, 2, !1, !0)) break;
1151
1158
  if (e.line === b) {
1152
1159
  for (v = e.input.charCodeAt(e.position); p(v);) v = e.input.charCodeAt(++e.position);
1153
1160
  if (v === 58) v = e.input.charCodeAt(++e.position), m(v) || E(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (L(e, l, u, d, f, null, i, a, o), d = f = h = null), _ = !0, g = !1, r = !1, d = e.tag, f = e.result;
@@ -1156,7 +1163,7 @@ function Rt() {
1156
1163
  } else if (_) E(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
1157
1164
  else return e.tag = s, e.anchor = c, !0;
1158
1165
  }
1159
- if ((e.line === b || e.lineIndent > t) && (g && (i = e.line, a = e.lineStart, o = e.position), B(e, t, 4, !0, r) && (g ? f = e.result : h = e.result), g || (L(e, l, u, d, f, h, i, a, o), d = f = h = null), z(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === b || e.lineIndent > t) && v !== 0) E(e, "bad indentation of a mapping entry");
1166
+ if ((e.line === b || e.lineIndent > t) && (g && (i = e.line, a = e.lineStart, o = e.position), V(e, t, 4, !0, r) && (g ? f = e.result : h = e.result), g || (L(e, l, u, d, f, h, i, a, o), d = f = h = null), z(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === b || e.lineIndent > t) && v !== 0) E(e, "bad indentation of a mapping entry");
1160
1167
  else if (e.lineIndent < t) break;
1161
1168
  }
1162
1169
  return g && L(e, l, u, d, f, null, i, a, o), _ && (e.tag = s, e.anchor = c, e.kind = "mapping", e.result = l), _;
@@ -1206,16 +1213,16 @@ function Rt() {
1206
1213
  }
1207
1214
  t(de, "readAlias");
1208
1215
  function fe(e, t, n, r) {
1209
- let i = M(e);
1210
- return k(e), N(e, t), e.tag = null, e.anchor = null, e.kind = null, e.result = null, ce(e, n, r) && e.kind === "mapping" ? (A(e), !0) : (j(e), N(e, i), !1);
1216
+ let i = j(e);
1217
+ return k(e), M(e, t), e.tag = null, e.anchor = null, e.kind = null, e.result = null, ce(e, n, r) && e.kind === "mapping" ? (ee(e), !0) : (A(e), M(e, i), !1);
1211
1218
  }
1212
1219
  t(fe, "tryReadBlockMappingFromProperty");
1213
- function B(e, t, n, r, i) {
1220
+ function V(e, t, n, r, i) {
1214
1221
  let o, s, c = 1, l = !1, u = !1, d = null, f, p, m;
1215
1222
  e.depth >= e.maxDepth && E(e, "nesting exceeded maxDepth (" + e.maxDepth + ")"), e.depth += 1, e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null;
1216
1223
  let h = o = s = n === 4 || n === 3;
1217
1224
  if (r && z(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (;;) {
1218
- let n = e.input.charCodeAt(e.position), r = M(e);
1225
+ let n = e.input.charCodeAt(e.position), r = j(e);
1219
1226
  if (l && (n === 33 && e.tag !== null || n === 38 && e.anchor !== null) || !le(e) && !ue(e)) break;
1220
1227
  d === null && (d = r), z(e, !0, -1) ? (l = !0, s = h, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
1221
1228
  }
@@ -1249,7 +1256,7 @@ function Rt() {
1249
1256
  }
1250
1257
  return e.listener !== null && e.listener("close", e), --e.depth, e.tag !== null || e.anchor !== null || u;
1251
1258
  }
1252
- t(B, "composeNode");
1259
+ t(V, "composeNode");
1253
1260
  function pe(e) {
1254
1261
  let t = e.position, n = !1, r;
1255
1262
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (r = e.input.charCodeAt(e.position)) !== 0 && (z(e, !0, -1), r = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || r !== 37));) {
@@ -1269,9 +1276,9 @@ function Rt() {
1269
1276
  for (t = e.position; r !== 0 && !m(r);) r = e.input.charCodeAt(++e.position);
1270
1277
  o.push(e.input.slice(t, e.position));
1271
1278
  }
1272
- r !== 0 && R(e), a.call(P, i) ? P[i](e, i, o) : D(e, "unknown document directive \"" + i + "\"");
1279
+ r !== 0 && R(e), a.call(N, i) ? N[i](e, i, o) : D(e, "unknown document directive \"" + i + "\"");
1273
1280
  }
1274
- z(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, z(e, !0, -1)) : n && E(e, "directives end mark is expected"), B(e, e.lineIndent - 1, 4, !1, !0), z(e, !0, -1), e.checkLineBreaks && s.test(e.input.slice(t, e.position)) && D(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && ee(e) ? e.input.charCodeAt(e.position) === 46 && (e.position += 3, z(e, !0, -1)) : e.position < e.length - 1 && E(e, "end of the stream or a document separator is expected");
1281
+ z(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, z(e, !0, -1)) : n && E(e, "directives end mark is expected"), V(e, e.lineIndent - 1, 4, !1, !0), z(e, !0, -1), e.checkLineBreaks && s.test(e.input.slice(t, e.position)) && D(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && te(e) ? e.input.charCodeAt(e.position) === 46 && (e.position += 3, z(e, !0, -1)) : e.position < e.length - 1 && E(e, "end of the stream or a document separator is expected");
1275
1282
  }
1276
1283
  t(pe, "readDocument");
1277
1284
  function me(e, t) {
@@ -1303,7 +1310,7 @@ var zt = {}, Bt;
1303
1310
  function Vt() {
1304
1311
  if (Bt) return zt;
1305
1312
  Bt = 1;
1306
- let e = U(), n = W(), r = It(), i = Object.prototype.toString, a = Object.prototype.hasOwnProperty, o = 65279, s = {};
1313
+ let e = W(), n = G(), r = It(), i = Object.prototype.toString, a = Object.prototype.hasOwnProperty, o = 65279, s = {};
1307
1314
  s[0] = "\\0", s[7] = "\\a", s[8] = "\\b", s[9] = "\\t", s[10] = "\\n", s[11] = "\\v", s[12] = "\\f", s[13] = "\\r", s[27] = "\\e", s[34] = "\\\"", s[92] = "\\\\", s[133] = "\\N", s[160] = "\\_", s[8232] = "\\L", s[8233] = "\\P";
1308
1315
  let c = [
1309
1316
  "y",
@@ -1430,7 +1437,7 @@ function Vt() {
1430
1437
  case 2: return "'" + r.replace(/'/g, "''") + "'";
1431
1438
  case 3: return "|" + E(r, e.indent) + D(p(r, s));
1432
1439
  case 4: return ">" + E(r, e.indent) + D(p(O(r, u), s));
1433
- case 5: return "\"" + A(r) + "\"";
1440
+ case 5: return "\"" + ee(r) + "\"";
1434
1441
  default: throw new n("impossible error: invalid scalar style");
1435
1442
  }
1436
1443
  })();
@@ -1464,7 +1471,7 @@ function Vt() {
1464
1471
  return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
1465
1472
  }
1466
1473
  t(k, "foldLine");
1467
- function A(e) {
1474
+ function ee(e) {
1468
1475
  let t = "", n = 0;
1469
1476
  for (let r = 0; r < e.length; n >= 65536 ? r += 2 : r++) {
1470
1477
  n = S(e, r);
@@ -1473,37 +1480,37 @@ function Vt() {
1473
1480
  }
1474
1481
  return t;
1475
1482
  }
1476
- t(A, "escapeString");
1477
- function j(e, t, n) {
1483
+ t(ee, "escapeString");
1484
+ function A(e, t, n) {
1478
1485
  let r = "", i = e.tag;
1479
1486
  for (let i = 0, a = n.length; i < a; i += 1) {
1480
1487
  let a = n[i];
1481
- e.replacer && (a = e.replacer.call(n, String(i), a)), (I(e, t, a, !1, !1) || a === void 0 && I(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
1488
+ e.replacer && (a = e.replacer.call(n, String(i), a)), (F(e, t, a, !1, !1) || a === void 0 && F(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
1482
1489
  }
1483
1490
  e.tag = i, e.dump = "[" + r + "]";
1484
1491
  }
1485
- t(j, "writeFlowSequence");
1486
- function M(e, t, n, r) {
1492
+ t(A, "writeFlowSequence");
1493
+ function j(e, t, n, r) {
1487
1494
  let i = "", a = e.tag;
1488
1495
  for (let a = 0, o = n.length; a < o; a += 1) {
1489
1496
  let o = n[a];
1490
- e.replacer && (o = e.replacer.call(n, String(a), o)), (I(e, t + 1, o, !0, !0, !1, !0) || o === void 0 && I(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += m(e, t)), e.dump && e.dump.charCodeAt(0) === 10 ? i += "-" : i += "- ", i += e.dump);
1497
+ e.replacer && (o = e.replacer.call(n, String(a), o)), (F(e, t + 1, o, !0, !0, !1, !0) || o === void 0 && F(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += m(e, t)), e.dump && e.dump.charCodeAt(0) === 10 ? i += "-" : i += "- ", i += e.dump);
1491
1498
  }
1492
1499
  e.tag = a, e.dump = i || "[]";
1493
1500
  }
1494
- t(M, "writeBlockSequence");
1495
- function N(e, t, n) {
1501
+ t(j, "writeBlockSequence");
1502
+ function M(e, t, n) {
1496
1503
  let r = "", i = e.tag, a = Object.keys(n);
1497
1504
  for (let i = 0, o = a.length; i < o; i += 1) {
1498
1505
  let o = "";
1499
1506
  r !== "" && (o += ", "), e.condenseFlow && (o += "\"");
1500
1507
  let s = a[i], c = n[s];
1501
- e.replacer && (c = e.replacer.call(n, s, c)), I(e, t, s, !1, !1) && (e.dump.length > 1024 && (o += "? "), o += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), I(e, t, c, !1, !1) && (o += e.dump, r += o));
1508
+ e.replacer && (c = e.replacer.call(n, s, c)), F(e, t, s, !1, !1) && (e.dump.length > 1024 && (o += "? "), o += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), F(e, t, c, !1, !1) && (o += e.dump, r += o));
1502
1509
  }
1503
1510
  e.tag = i, e.dump = "{" + r + "}";
1504
1511
  }
1505
- t(N, "writeFlowMapping");
1506
- function P(e, t, r, i) {
1512
+ t(M, "writeFlowMapping");
1513
+ function N(e, t, r, i) {
1507
1514
  let a = "", o = e.tag, s = Object.keys(r);
1508
1515
  if (e.sortKeys === !0) s.sort();
1509
1516
  else if (typeof e.sortKeys == "function") s.sort(e.sortKeys);
@@ -1512,14 +1519,14 @@ function Vt() {
1512
1519
  let o = "";
1513
1520
  (!i || a !== "") && (o += m(e, t));
1514
1521
  let c = s[n], l = r[c];
1515
- if (e.replacer && (l = e.replacer.call(r, c, l)), !I(e, t + 1, c, !0, !0, !0)) continue;
1522
+ if (e.replacer && (l = e.replacer.call(r, c, l)), !F(e, t + 1, c, !0, !0, !0)) continue;
1516
1523
  let u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024;
1517
- u && (e.dump && e.dump.charCodeAt(0) === 10 ? o += "?" : o += "? "), o += e.dump, u && (o += m(e, t)), I(e, t + 1, l, !0, u) && (e.dump && e.dump.charCodeAt(0) === 10 ? o += ":" : o += ": ", o += e.dump, a += o);
1524
+ u && (e.dump && e.dump.charCodeAt(0) === 10 ? o += "?" : o += "? "), o += e.dump, u && (o += m(e, t)), F(e, t + 1, l, !0, u) && (e.dump && e.dump.charCodeAt(0) === 10 ? o += ":" : o += ": ", o += e.dump, a += o);
1518
1525
  }
1519
1526
  e.tag = o, e.dump = a || "{}";
1520
1527
  }
1521
- t(P, "writeBlockMapping");
1522
- function F(e, t, r) {
1528
+ t(N, "writeBlockMapping");
1529
+ function P(e, t, r) {
1523
1530
  let o = r ? e.explicitTypes : e.implicitTypes;
1524
1531
  for (let s = 0, c = o.length; s < c; s += 1) {
1525
1532
  let c = o[s];
@@ -1536,16 +1543,16 @@ function Vt() {
1536
1543
  }
1537
1544
  return !1;
1538
1545
  }
1539
- t(F, "detectType");
1540
- function I(e, t, r, a, o, s, c) {
1541
- e.tag = null, e.dump = r, F(e, r, !1) || F(e, r, !0);
1546
+ t(P, "detectType");
1547
+ function F(e, t, r, a, o, s, c) {
1548
+ e.tag = null, e.dump = r, P(e, r, !1) || P(e, r, !0);
1542
1549
  let l = i.call(e.dump), u = a;
1543
1550
  a &&= e.flowLevel < 0 || e.flowLevel > t;
1544
1551
  let d = l === "[object Object]" || l === "[object Array]", f, p;
1545
1552
  if (d && (f = e.duplicates.indexOf(r), p = f !== -1), (e.tag !== null && e.tag !== "?" || p || e.indent !== 2 && t > 0) && (o = !1), p && e.usedDuplicates[f]) e.dump = "*ref_" + f;
1546
1553
  else {
1547
- if (d && p && !e.usedDuplicates[f] && (e.usedDuplicates[f] = !0), l === "[object Object]") a && Object.keys(e.dump).length !== 0 ? (P(e, t, e.dump, o), p && (e.dump = "&ref_" + f + e.dump)) : (N(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1548
- else if (l === "[object Array]") a && e.dump.length !== 0 ? (e.noArrayIndent && !c && t > 0 ? M(e, t - 1, e.dump, o) : M(e, t, e.dump, o), p && (e.dump = "&ref_" + f + e.dump)) : (j(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1554
+ if (d && p && !e.usedDuplicates[f] && (e.usedDuplicates[f] = !0), l === "[object Object]") a && Object.keys(e.dump).length !== 0 ? (N(e, t, e.dump, o), p && (e.dump = "&ref_" + f + e.dump)) : (M(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1555
+ else if (l === "[object Array]") a && e.dump.length !== 0 ? (e.noArrayIndent && !c && t > 0 ? j(e, t - 1, e.dump, o) : j(e, t, e.dump, o), p && (e.dump = "&ref_" + f + e.dump)) : (A(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1549
1556
  else if (l === "[object String]") e.tag !== "?" && T(e, e.dump, t, s, u);
1550
1557
  else if (l === "[object Undefined]") return !1;
1551
1558
  else {
@@ -1559,40 +1566,40 @@ function Vt() {
1559
1566
  }
1560
1567
  return !0;
1561
1568
  }
1562
- t(I, "writeNode");
1563
- function L(e, t) {
1569
+ t(F, "writeNode");
1570
+ function I(e, t) {
1564
1571
  let n = [], r = [];
1565
- R(e, n, r);
1572
+ L(e, n, r);
1566
1573
  let i = r.length;
1567
1574
  for (let e = 0; e < i; e += 1) t.duplicates.push(n[r[e]]);
1568
1575
  t.usedDuplicates = Array(i);
1569
1576
  }
1570
- t(L, "getDuplicateReferences");
1571
- function R(e, t, n) {
1577
+ t(I, "getDuplicateReferences");
1578
+ function L(e, t, n) {
1572
1579
  if (typeof e == "object" && e) {
1573
1580
  let r = t.indexOf(e);
1574
1581
  if (r !== -1) n.indexOf(r) === -1 && n.push(r);
1575
- else if (t.push(e), Array.isArray(e)) for (let r = 0, i = e.length; r < i; r += 1) R(e[r], t, n);
1582
+ else if (t.push(e), Array.isArray(e)) for (let r = 0, i = e.length; r < i; r += 1) L(e[r], t, n);
1576
1583
  else {
1577
1584
  let r = Object.keys(e);
1578
- for (let i = 0, a = r.length; i < a; i += 1) R(e[r[i]], t, n);
1585
+ for (let i = 0, a = r.length; i < a; i += 1) L(e[r[i]], t, n);
1579
1586
  }
1580
1587
  }
1581
1588
  }
1582
- t(R, "inspectNode");
1583
- function z(e, t) {
1589
+ t(L, "inspectNode");
1590
+ function R(e, t) {
1584
1591
  t ||= {};
1585
1592
  let n = new f(t);
1586
- n.noRefs || L(e, n);
1593
+ n.noRefs || I(e, n);
1587
1594
  let r = e;
1588
- return n.replacer && (r = n.replacer.call({ "": r }, "", r)), I(n, 0, r, !0, !0) ? n.dump + "\n" : "";
1595
+ return n.replacer && (r = n.replacer.call({ "": r }, "", r)), F(n, 0, r, !0, !0) ? n.dump + "\n" : "";
1589
1596
  }
1590
- return t(z, "dump2"), zt.dump = z, zt;
1597
+ return t(R, "dump2"), zt.dump = R, zt;
1591
1598
  }
1592
1599
  t(Vt, "requireDumper");
1593
1600
  var Ht;
1594
1601
  function Ut() {
1595
- if (Ht) return V;
1602
+ if (Ht) return H;
1596
1603
  Ht = 1;
1597
1604
  let e = Rt(), n = Vt();
1598
1605
  function r(e, t) {
@@ -1600,7 +1607,7 @@ function Ut() {
1600
1607
  throw Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
1601
1608
  };
1602
1609
  }
1603
- return t(r, "renamed"), V.Type = G(), V.Schema = ze(), V.FAILSAFE_SCHEMA = Ze(), V.JSON_SCHEMA = ft(), V.CORE_SCHEMA = ht(), V.DEFAULT_SCHEMA = It(), V.load = e.load, V.loadAll = e.loadAll, V.dump = n.dump, V.YAMLException = W(), V.types = {
1610
+ return t(r, "renamed"), H.Type = K(), H.Schema = ze(), H.FAILSAFE_SCHEMA = Ze(), H.JSON_SCHEMA = ft(), H.CORE_SCHEMA = ht(), H.DEFAULT_SCHEMA = It(), H.load = e.load, H.loadAll = e.loadAll, H.dump = n.dump, H.YAMLException = G(), H.types = {
1604
1611
  binary: wt(),
1605
1612
  float: lt(),
1606
1613
  map: Je(),
@@ -1614,7 +1621,7 @@ function Ut() {
1614
1621
  omap: Dt(),
1615
1622
  seq: Ge(),
1616
1623
  str: He()
1617
- }, V.safeLoad = r("safeLoad", "load"), V.safeLoadAll = r("safeLoadAll", "loadAll"), V.safeDump = r("safeDump", "dump"), V;
1624
+ }, H.safeLoad = r("safeLoad", "load"), H.safeLoadAll = r("safeLoadAll", "loadAll"), H.safeDump = r("safeDump", "dump"), H;
1618
1625
  }
1619
1626
  t(Ut, "requireJsYaml");
1620
1627
  var { Type: Wt, Schema: Gt, FAILSAFE_SCHEMA: Kt, JSON_SCHEMA: qt, CORE_SCHEMA: Jt, DEFAULT_SCHEMA: Yt, load: Xt, loadAll: Zt, dump: Qt, YAMLException: $t, types: en, safeLoad: tn, safeLoadAll: nn, safeDump: rn } = /* @__PURE__ */ De(Ut()), an = "comm", on = "rule", sn = "decl", cn = "@import", ln = "@namespace", un = "@keyframes", dn = "@layer", fn = Math.abs, pn = String.fromCharCode;
@@ -1624,25 +1631,25 @@ function mn(e) {
1624
1631
  function hn(e, t, n) {
1625
1632
  return e.replace(t, n);
1626
1633
  }
1627
- function K(e, t) {
1634
+ function gn(e, t) {
1628
1635
  return e.charCodeAt(t) | 0;
1629
1636
  }
1630
- function gn(e, t, n) {
1637
+ function _n(e, t, n) {
1631
1638
  return e.slice(t, n);
1632
1639
  }
1633
1640
  function q(e) {
1634
1641
  return e.length;
1635
1642
  }
1636
- function _n(e) {
1643
+ function vn(e) {
1637
1644
  return e.length;
1638
1645
  }
1639
- function vn(e, t) {
1646
+ function yn(e, t) {
1640
1647
  return t.push(e), e;
1641
1648
  }
1642
1649
  //#endregion
1643
1650
  //#region ../node_modules/stylis/src/Tokenizer.js
1644
- var yn = 1, bn = 1, xn = 0, J = 0, Y = 0, Sn = "";
1645
- function Cn(e, t, n, r, i, a, o, s) {
1651
+ var bn = 1, xn = 1, Sn = 0, J = 0, Y = 0, Cn = "";
1652
+ function wn(e, t, n, r, i, a, o, s) {
1646
1653
  return {
1647
1654
  value: e,
1648
1655
  root: t,
@@ -1650,32 +1657,32 @@ function Cn(e, t, n, r, i, a, o, s) {
1650
1657
  type: r,
1651
1658
  props: i,
1652
1659
  children: a,
1653
- line: yn,
1654
- column: bn,
1660
+ line: bn,
1661
+ column: xn,
1655
1662
  length: o,
1656
1663
  return: "",
1657
1664
  siblings: s
1658
1665
  };
1659
1666
  }
1660
- function wn() {
1667
+ function Tn() {
1661
1668
  return Y;
1662
1669
  }
1663
- function Tn() {
1664
- return Y = J > 0 ? K(Sn, --J) : 0, bn--, Y === 10 && (bn = 1, yn--), Y;
1670
+ function En() {
1671
+ return Y = J > 0 ? gn(Cn, --J) : 0, xn--, Y === 10 && (xn = 1, bn--), Y;
1665
1672
  }
1666
1673
  function X() {
1667
- return Y = J < xn ? K(Sn, J++) : 0, bn++, Y === 10 && (bn = 1, yn++), Y;
1674
+ return Y = J < Sn ? gn(Cn, J++) : 0, xn++, Y === 10 && (xn = 1, bn++), Y;
1668
1675
  }
1669
1676
  function Z() {
1670
- return K(Sn, J);
1677
+ return gn(Cn, J);
1671
1678
  }
1672
- function En() {
1679
+ function Dn() {
1673
1680
  return J;
1674
1681
  }
1675
- function Dn(e, t) {
1676
- return gn(Sn, e, t);
1682
+ function On(e, t) {
1683
+ return _n(Cn, e, t);
1677
1684
  }
1678
- function On(e) {
1685
+ function kn(e) {
1679
1686
  switch (e) {
1680
1687
  case 0:
1681
1688
  case 9:
@@ -1702,54 +1709,54 @@ function On(e) {
1702
1709
  }
1703
1710
  return 0;
1704
1711
  }
1705
- function kn(e) {
1706
- return yn = bn = 1, xn = q(Sn = e), J = 0, [];
1707
- }
1708
1712
  function An(e) {
1709
- return Sn = "", e;
1713
+ return bn = xn = 1, Sn = q(Cn = e), J = 0, [];
1710
1714
  }
1711
1715
  function jn(e) {
1712
- return mn(Dn(J - 1, Pn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1716
+ return Cn = "", e;
1713
1717
  }
1714
1718
  function Mn(e) {
1719
+ return mn(On(J - 1, Fn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1720
+ }
1721
+ function Nn(e) {
1715
1722
  for (; (Y = Z()) && Y < 33;) X();
1716
- return On(e) > 2 || On(Y) > 3 ? "" : " ";
1723
+ return kn(e) > 2 || kn(Y) > 3 ? "" : " ";
1717
1724
  }
1718
- function Nn(e, t) {
1725
+ function Pn(e, t) {
1719
1726
  for (; --t && X() && !(Y < 48 || Y > 102 || Y > 57 && Y < 65 || Y > 70 && Y < 97););
1720
- return Dn(e, En() + (t < 6 && Z() == 32 && X() == 32));
1727
+ return On(e, Dn() + (t < 6 && Z() == 32 && X() == 32));
1721
1728
  }
1722
- function Pn(e) {
1729
+ function Fn(e) {
1723
1730
  for (; X();) switch (Y) {
1724
1731
  case e: return J;
1725
1732
  case 34:
1726
1733
  case 39:
1727
- e !== 34 && e !== 39 && Pn(Y);
1734
+ e !== 34 && e !== 39 && Fn(Y);
1728
1735
  break;
1729
1736
  case 40:
1730
- e === 41 && Pn(e);
1737
+ e === 41 && Fn(e);
1731
1738
  break;
1732
1739
  case 92: X();
1733
1740
  }
1734
1741
  return J;
1735
1742
  }
1736
- function Fn(e, t) {
1743
+ function In(e, t) {
1737
1744
  for (; X() && e + Y !== 57 && (e + Y !== 84 || Z() !== 47););
1738
- return "/*" + Dn(t, J - 1) + "*" + pn(e === 47 ? e : X());
1745
+ return "/*" + On(t, J - 1) + "*" + pn(e === 47 ? e : X());
1739
1746
  }
1740
- function In(e) {
1741
- for (; !On(Z());) X();
1742
- return Dn(e, J);
1747
+ function Ln(e) {
1748
+ for (; !kn(Z());) X();
1749
+ return On(e, J);
1743
1750
  }
1744
1751
  //#endregion
1745
1752
  //#region ../node_modules/stylis/src/Parser.js
1746
- function Ln(e) {
1747
- return An(Rn("", null, null, null, [""], e = kn(e), 0, [0], e));
1753
+ function Rn(e) {
1754
+ return jn(zn("", null, null, null, [""], e = An(e), 0, [0], e));
1748
1755
  }
1749
- function Rn(e, t, n, r, i, a, o, s, c) {
1756
+ function zn(e, t, n, r, i, a, o, s, c) {
1750
1757
  for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = 0, b = "", x = i, S = a, C = r, w = b; g;) switch (m = y, y = X()) {
1751
1758
  case 40:
1752
- m != 108 && K(w, d - 1) == 58 ? (v++, w += "(") : w += jn(y);
1759
+ m != 108 && gn(w, d - 1) == 58 ? (v++, w += "(") : w += Mn(y);
1753
1760
  break;
1754
1761
  case 41:
1755
1762
  v--, w += ")";
@@ -1757,7 +1764,7 @@ function Rn(e, t, n, r, i, a, o, s, c) {
1757
1764
  case 34:
1758
1765
  case 39:
1759
1766
  case 91:
1760
- w += jn(y);
1767
+ w += Mn(y);
1761
1768
  break;
1762
1769
  case 9:
1763
1770
  case 10:
@@ -1767,16 +1774,16 @@ function Rn(e, t, n, r, i, a, o, s, c) {
1767
1774
  w += pn(y);
1768
1775
  break;
1769
1776
  }
1770
- w += Mn(m);
1777
+ w += Nn(m);
1771
1778
  break;
1772
1779
  case 92:
1773
- w += Nn(En() - 1, 7);
1780
+ w += Pn(Dn() - 1, 7);
1774
1781
  continue;
1775
1782
  case 47:
1776
1783
  switch (Z()) {
1777
1784
  case 42:
1778
1785
  case 47:
1779
- vn(Bn(Fn(X(), En()), t, n, c), c), (On(m || 1) == 5 || On(Z() || 1) == 5) && q(w) && gn(w, -1, void 0) !== " " && (w += " ");
1786
+ yn(Vn(In(X(), Dn()), t, n, c), c), (kn(m || 1) == 5 || kn(Z() || 1) == 5) && q(w) && _n(w, -1, void 0) !== " " && (w += " ");
1780
1787
  break;
1781
1788
  default: w += "/";
1782
1789
  }
@@ -1793,21 +1800,21 @@ function Rn(e, t, n, r, i, a, o, s, c) {
1793
1800
  case 0:
1794
1801
  case 125: g = 0;
1795
1802
  case 59 + u:
1796
- _ == -1 && (w = hn(w, /\f/g, "")), p > 0 && (q(w) - d || h === 0) && vn(p > 32 ? Vn(w + ";", r, n, d - 1, c) : Vn(hn(w, " ", "") + ";", r, n, d - 2, c), c);
1803
+ _ == -1 && (w = hn(w, /\f/g, "")), p > 0 && (q(w) - d || h === 0) && yn(p > 32 ? Hn(w + ";", r, n, d - 1, c) : Hn(hn(w, " ", "") + ";", r, n, d - 2, c), c);
1797
1804
  break;
1798
1805
  case 59: w += ";";
1799
- default: if (vn(C = zn(w, t, n, l, u, i, s, b, x = [], S = [], d, a), a), y === 123) {
1800
- if (u === 0) Rn(w, t, C, C, x, a, d, s, S);
1806
+ default: if (yn(C = Bn(w, t, n, l, u, i, s, b, x = [], S = [], d, a), a), y === 123) {
1807
+ if (u === 0) zn(w, t, C, C, x, a, d, s, S);
1801
1808
  else {
1802
1809
  switch (f) {
1803
- case 99: if (K(w, 3) === 110) break;
1804
- case 108: if (K(w, 2) === 97) break;
1810
+ case 99: if (gn(w, 3) === 110) break;
1811
+ case 108: if (gn(w, 2) === 97) break;
1805
1812
  default: u = 0;
1806
1813
  case 100:
1807
1814
  case 109:
1808
1815
  case 115:
1809
1816
  }
1810
- u ? Rn(e, C, C, r && vn(zn(e, C, C, 0, 0, i, s, b, i, x = [], d, S), S), i, S, d, s, r ? x : S) : Rn(w, C, C, C, [""], S, 0, s, S);
1817
+ u ? zn(e, C, C, r && yn(Bn(e, C, C, 0, 0, i, s, b, i, x = [], d, S), S), i, S, d, s, r ? x : S) : zn(w, C, C, C, [""], S, 0, s, S);
1811
1818
  }
1812
1819
  }
1813
1820
  }
@@ -1817,7 +1824,7 @@ function Rn(e, t, n, r, i, a, o, s, c) {
1817
1824
  default:
1818
1825
  if (h < 1) {
1819
1826
  if (y == 123) --h;
1820
- else if (y == 125 && h++ == 0 && Tn() == 125) continue;
1827
+ else if (y == 125 && h++ == 0 && En() == 125) continue;
1821
1828
  }
1822
1829
  switch (w += pn(y), y * h) {
1823
1830
  case 38:
@@ -1828,45 +1835,45 @@ function Rn(e, t, n, r, i, a, o, s, c) {
1828
1835
  s[l++] = (q(w) - 1) * _, _ = 1;
1829
1836
  break;
1830
1837
  case 64:
1831
- Z() === 45 && (w += jn(X())), f = Z(), u = d = q(b = w += In(En())), y++;
1838
+ Z() === 45 && (w += Mn(X())), f = Z(), u = d = q(b = w += Ln(Dn())), y++;
1832
1839
  break;
1833
1840
  case 45: m === 45 && q(w) == 2 && (h = 0);
1834
1841
  }
1835
1842
  }
1836
1843
  return a;
1837
1844
  }
1838
- function zn(e, t, n, r, i, a, o, s, c, l, u, d) {
1839
- for (var f = i - 1, p = i === 0 ? a : [""], m = _n(p), h = 0, g = 0, _ = 0; h < r; ++h) for (var v = 0, y = gn(e, f + 1, f = fn(g = o[h])), b = e; v < m; ++v) (b = mn(g > 0 ? p[v] + " " + y : hn(y, /&\f/g, p[v]))) && (c[_++] = b);
1840
- return Cn(e, t, n, i === 0 ? on : s, c, l, u, d);
1845
+ function Bn(e, t, n, r, i, a, o, s, c, l, u, d) {
1846
+ for (var f = i - 1, p = i === 0 ? a : [""], m = vn(p), h = 0, g = 0, _ = 0; h < r; ++h) for (var v = 0, y = _n(e, f + 1, f = fn(g = o[h])), b = e; v < m; ++v) (b = mn(g > 0 ? p[v] + " " + y : hn(y, /&\f/g, p[v]))) && (c[_++] = b);
1847
+ return wn(e, t, n, i === 0 ? on : s, c, l, u, d);
1841
1848
  }
1842
- function Bn(e, t, n, r) {
1843
- return Cn(e, t, n, an, pn(wn()), gn(e, 2, -2), 0, r);
1849
+ function Vn(e, t, n, r) {
1850
+ return wn(e, t, n, an, pn(Tn()), _n(e, 2, -2), 0, r);
1844
1851
  }
1845
- function Vn(e, t, n, r, i) {
1846
- return Cn(e, t, n, sn, gn(e, 0, r), gn(e, r + 1, -1), r, i);
1852
+ function Hn(e, t, n, r, i) {
1853
+ return wn(e, t, n, sn, _n(e, 0, r), _n(e, r + 1, -1), r, i);
1847
1854
  }
1848
1855
  //#endregion
1849
1856
  //#region ../node_modules/stylis/src/Serializer.js
1850
- function Hn(e, t) {
1857
+ function Un(e, t) {
1851
1858
  for (var n = "", r = 0; r < e.length; r++) n += t(e[r], r, e, t) || "";
1852
1859
  return n;
1853
1860
  }
1854
- function Un(e, t, n, r) {
1861
+ function Wn(e, t, n, r) {
1855
1862
  switch (e.type) {
1856
1863
  case dn: if (e.children.length) break;
1857
1864
  case cn:
1858
1865
  case ln:
1859
1866
  case sn: return e.return = e.return || e.value;
1860
1867
  case an: return "";
1861
- case un: return e.return = e.value + "{" + Hn(e.children, r) + "}";
1868
+ case un: return e.return = e.value + "{" + Un(e.children, r) + "}";
1862
1869
  case on: if (!q(e.value = e.props.join(","))) return "";
1863
1870
  }
1864
- return q(n = Hn(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1871
+ return q(n = Un(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1865
1872
  }
1866
1873
  //#endregion
1867
1874
  //#region ../node_modules/stylis/src/Middleware.js
1868
- function Wn(e) {
1869
- var t = _n(e);
1875
+ function Gn(e) {
1876
+ var t = vn(e);
1870
1877
  return function(n, r, i, a) {
1871
1878
  for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
1872
1879
  return o;
@@ -1874,416 +1881,416 @@ function Wn(e) {
1874
1881
  }
1875
1882
  //#endregion
1876
1883
  //#region ../node_modules/mermaid/dist/mermaid.core.mjs
1877
- var Gn = /* @__PURE__ */ e({ default: () => Ta }), Kn = "c4", qn = {
1878
- id: Kn,
1884
+ var Kn = /* @__PURE__ */ e({ default: () => Ea }), qn = "c4", Jn = {
1885
+ id: qn,
1879
1886
  detector: /* @__PURE__ */ t((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"),
1880
1887
  loader: /* @__PURE__ */ t(async () => {
1881
- let { diagram: e } = await import("./c4Diagram-XDPPPE54-rbzhqhW5.js");
1888
+ let { diagram: e } = await import("./c4Diagram-KJ2TOQU5-BS_M90FN.js");
1882
1889
  return {
1883
- id: Kn,
1890
+ id: qn,
1884
1891
  diagram: e
1885
1892
  };
1886
1893
  }, "loader")
1887
- }, Jn = "flowchart-v2", Yn = {
1888
- id: Jn,
1894
+ }, Yn = "flowchart-v2", Xn = {
1895
+ id: Yn,
1889
1896
  detector: /* @__PURE__ */ t((e) => /^\s*(graph|flowchart)/.test(e), "detector"),
1890
1897
  loader: /* @__PURE__ */ t(async () => {
1891
- let { diagram: e } = await import("./flowDiagram-IUGLLWBU-BJlVRCj8.js");
1898
+ let { diagram: e } = await import("./flowDiagram-MALGAFMO-D2e4rl0I.js");
1892
1899
  return {
1893
- id: Jn,
1900
+ id: Yn,
1894
1901
  diagram: e
1895
1902
  };
1896
1903
  }, "loader")
1897
- }, Xn = "agentflow", Zn = {
1898
- id: Xn,
1904
+ }, Zn = "agentflow", Qn = {
1905
+ id: Zn,
1899
1906
  detector: /* @__PURE__ */ t((e) => /^\s*agentflow-beta\b/.test(e), "detector"),
1900
1907
  loader: /* @__PURE__ */ t(async () => {
1901
- let { diagram: e } = await import("./diagram-TYUNFSNR-BSq4ni3b.js");
1908
+ let { diagram: e } = await import("./diagram-3B7GL73J-D7i6eGGQ.js");
1902
1909
  return {
1903
- id: Xn,
1910
+ id: Zn,
1904
1911
  diagram: e
1905
1912
  };
1906
1913
  }, "loader")
1907
- }, Qn = "swimlane", $n = {
1908
- id: Qn,
1914
+ }, $n = "swimlane", er = {
1915
+ id: $n,
1909
1916
  detector: /* @__PURE__ */ t((e) => /^\s*swimlane-beta\b/.test(e), "detector"),
1910
1917
  loader: /* @__PURE__ */ t(async () => {
1911
- let { diagram: e } = await import("./swimlanesDiagram-AYQRV4AK-COavJcG4.js");
1918
+ let { diagram: e } = await import("./swimlanesDiagram-OMPLPG4O-BOl138lS.js");
1912
1919
  return {
1913
- id: Qn,
1920
+ id: $n,
1914
1921
  diagram: e
1915
1922
  };
1916
1923
  }, "loader")
1917
- }, er = "er", tr = {
1918
- id: er,
1924
+ }, tr = "er", nr = {
1925
+ id: tr,
1919
1926
  detector: /* @__PURE__ */ t((e) => /^\s*erDiagram/.test(e), "detector"),
1920
1927
  loader: /* @__PURE__ */ t(async () => {
1921
- let { diagram: e } = await import("./erDiagram-KYQIGQAA-BTNANm6p.js");
1928
+ let { diagram: e } = await import("./erDiagram-EYBAPDEH-Byy0RKKe.js");
1922
1929
  return {
1923
- id: er,
1930
+ id: tr,
1924
1931
  diagram: e
1925
1932
  };
1926
1933
  }, "loader")
1927
- }, nr = "gitGraph", rr = {
1928
- id: nr,
1934
+ }, rr = "gitGraph", ir = {
1935
+ id: rr,
1929
1936
  detector: /* @__PURE__ */ t((e) => /^\s*gitGraph/.test(e), "detector"),
1930
1937
  loader: /* @__PURE__ */ t(async () => {
1931
- let { diagram: e } = await import("./gitGraphDiagram-PDYL7XHY-D_ADFBrL.js");
1938
+ let { diagram: e } = await import("./gitGraphDiagram-STJD7YCW-BVa0DHTU.js");
1932
1939
  return {
1933
- id: nr,
1940
+ id: rr,
1934
1941
  diagram: e
1935
1942
  };
1936
1943
  }, "loader")
1937
- }, ir = "gantt", ar = {
1938
- id: ir,
1944
+ }, ar = "gantt", or = {
1945
+ id: ar,
1939
1946
  detector: /* @__PURE__ */ t((e) => /^\s*gantt/.test(e), "detector"),
1940
1947
  loader: /* @__PURE__ */ t(async () => {
1941
- let { diagram: e } = await import("./ganttDiagram-R7GPNTJY-CEGQ6hzi.js");
1948
+ let { diagram: e } = await import("./ganttDiagram-23REXITY-DAs5LGLL.js");
1942
1949
  return {
1943
- id: ir,
1950
+ id: ar,
1944
1951
  diagram: e
1945
1952
  };
1946
1953
  }, "loader")
1947
- }, or = "info", sr = {
1948
- id: or,
1954
+ }, sr = "info", cr = {
1955
+ id: sr,
1949
1956
  detector: /* @__PURE__ */ t((e) => /^\s*info/.test(e), "detector"),
1950
1957
  loader: /* @__PURE__ */ t(async () => {
1951
- let { diagram: e } = await import("./infoDiagram-MVDRKAX5-Dkuw3h5s.js");
1958
+ let { diagram: e } = await import("./infoDiagram-KBXO4MBG-BW7IcSQr.js");
1952
1959
  return {
1953
- id: or,
1960
+ id: sr,
1954
1961
  diagram: e
1955
1962
  };
1956
1963
  }, "loader")
1957
- }, cr = "pie", lr = {
1958
- id: cr,
1964
+ }, lr = "pie", ur = {
1965
+ id: lr,
1959
1966
  detector: /* @__PURE__ */ t((e) => /^\s*pie/.test(e), "detector"),
1960
1967
  loader: /* @__PURE__ */ t(async () => {
1961
- let { diagram: e } = await import("./pieDiagram-GNMPY74T-DYDC5z2D.js");
1968
+ let { diagram: e } = await import("./pieDiagram-J4AKIIQI-CNLlH6kK.js");
1962
1969
  return {
1963
- id: cr,
1970
+ id: lr,
1964
1971
  diagram: e
1965
1972
  };
1966
1973
  }, "loader")
1967
- }, ur = "quadrantChart", dr = {
1968
- id: ur,
1974
+ }, dr = "quadrantChart", fr = {
1975
+ id: dr,
1969
1976
  detector: /* @__PURE__ */ t((e) => /^\s*quadrantChart/.test(e), "detector"),
1970
1977
  loader: /* @__PURE__ */ t(async () => {
1971
- let { diagram: e } = await import("./quadrantDiagram-D57K4MC3-BfQWcg-D.js");
1978
+ let { diagram: e } = await import("./quadrantDiagram-XTYBLID2-BjaZuA3m.js");
1972
1979
  return {
1973
- id: ur,
1980
+ id: dr,
1974
1981
  diagram: e
1975
1982
  };
1976
1983
  }, "loader")
1977
- }, fr = "xychart", pr = {
1978
- id: fr,
1984
+ }, pr = "xychart", mr = {
1985
+ id: pr,
1979
1986
  detector: /* @__PURE__ */ t((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
1980
1987
  loader: /* @__PURE__ */ t(async () => {
1981
- let { diagram: e } = await import("./xychartDiagram-4URNHDU4-IvFjWG-y.js");
1988
+ let { diagram: e } = await import("./xychartDiagram-GGNKY7IX-CuFU4ynf.js");
1982
1989
  return {
1983
- id: fr,
1990
+ id: pr,
1984
1991
  diagram: e
1985
1992
  };
1986
1993
  }, "loader")
1987
- }, mr = "requirement", hr = {
1988
- id: mr,
1994
+ }, hr = "requirement", gr = {
1995
+ id: hr,
1989
1996
  detector: /* @__PURE__ */ t((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
1990
1997
  loader: /* @__PURE__ */ t(async () => {
1991
- let { diagram: e } = await import("./requirementDiagram-EQYSW5RA-Dj4E0fE3.js");
1998
+ let { diagram: e } = await import("./requirementDiagram-Y7LWUY3S-Bhlk2ueA.js");
1992
1999
  return {
1993
- id: mr,
2000
+ id: hr,
1994
2001
  diagram: e
1995
2002
  };
1996
2003
  }, "loader")
1997
- }, gr = "sequence", _r = {
1998
- id: gr,
2004
+ }, _r = "sequence", vr = {
2005
+ id: _r,
1999
2006
  detector: /* @__PURE__ */ t((e) => /^\s*sequenceDiagram/.test(e), "detector"),
2000
2007
  loader: /* @__PURE__ */ t(async () => {
2001
- let { diagram: e } = await import("./sequenceDiagram-BLEHNHQU-H4rQDzp-.js");
2008
+ let { diagram: e } = await import("./sequenceDiagram-5NDRBG5M-D1YS8Amk.js");
2002
2009
  return {
2003
- id: gr,
2010
+ id: _r,
2004
2011
  diagram: e
2005
2012
  };
2006
2013
  }, "loader")
2007
- }, vr = "classDiagram", yr = {
2008
- id: vr,
2014
+ }, yr = "classDiagram", br = {
2015
+ id: yr,
2009
2016
  detector: /* @__PURE__ */ t((e) => /^\s*classDiagram/.test(e), "detector"),
2010
2017
  loader: /* @__PURE__ */ t(async () => {
2011
- let { diagram: e } = await import("./classDiagram-v2-4MYWR3UA-DIjHIULx.js");
2018
+ let { diagram: e } = await import("./classDiagram-v2-L25IHNXF-CAts0vNW.js");
2012
2019
  return {
2013
- id: vr,
2020
+ id: yr,
2014
2021
  diagram: e
2015
2022
  };
2016
2023
  }, "loader")
2017
- }, br = "stateDiagram", xr = {
2018
- id: br,
2024
+ }, xr = "stateDiagram", Sr = {
2025
+ id: xr,
2019
2026
  detector: /* @__PURE__ */ t((e) => /^\s*stateDiagram/.test(e), "detector"),
2020
2027
  loader: /* @__PURE__ */ t(async () => {
2021
- let { diagram: e } = await import("./stateDiagram-v2-A6IESKWZ-DBJ11U2p.js");
2028
+ let { diagram: e } = await import("./stateDiagram-v2-FJ4FJNEA-6j2vDdvl.js");
2022
2029
  return {
2023
- id: br,
2030
+ id: xr,
2024
2031
  diagram: e
2025
2032
  };
2026
2033
  }, "loader")
2027
- }, Sr = "journey", Cr = {
2028
- id: Sr,
2034
+ }, Cr = "journey", wr = {
2035
+ id: Cr,
2029
2036
  detector: /* @__PURE__ */ t((e) => /^\s*journey/.test(e), "detector"),
2030
2037
  loader: /* @__PURE__ */ t(async () => {
2031
- let { diagram: e } = await import("./journeyDiagram-BOSHW7O7-CMbGxPLA.js");
2038
+ let { diagram: e } = await import("./journeyDiagram-OPLOXDXO-DsyubZVY.js");
2032
2039
  return {
2033
- id: Sr,
2040
+ id: Cr,
2034
2041
  diagram: e
2035
2042
  };
2036
2043
  }, "loader")
2037
- }, wr = 4, Tr = 75, Er = /* @__PURE__ */ t((e) => {
2044
+ }, Tr = 4, Er = 75, Dr = /* @__PURE__ */ t((e) => {
2038
2045
  let t = [];
2039
2046
  for (let n of e.split(/\s+/)) {
2040
2047
  let e = [...n];
2041
- for (; e.length > Tr;) t.push(e.slice(0, Tr).join("")), e = e.slice(Tr);
2048
+ for (; e.length > Er;) t.push(e.slice(0, Er).join("")), e = e.slice(Er);
2042
2049
  e.length > 0 && t.push(e.join(""));
2043
2050
  }
2044
2051
  let n = [], r = "";
2045
2052
  for (let e of t) {
2046
2053
  let t = r ? `${r} ${e}` : e;
2047
- [...t].length > Tr ? (n.push(r), r = e) : r = t;
2054
+ [...t].length > Er ? (n.push(r), r = e) : r = t;
2048
2055
  }
2049
- if (r && n.push(r), n.length > wr) {
2050
- n.length = wr;
2051
- let e = n[wr - 1] ?? "";
2052
- n[wr - 1] = `${[...e].slice(0, Tr - 3).join("")}...`;
2056
+ if (r && n.push(r), n.length > Tr) {
2057
+ n.length = Tr;
2058
+ let e = n[Tr - 1] ?? "";
2059
+ n[Tr - 1] = `${[...e].slice(0, Er - 3).join("")}...`;
2053
2060
  }
2054
2061
  return n;
2055
- }, "wrapErrorMessage"), Dr = { draw: /* @__PURE__ */ t((e, t, n, i) => {
2062
+ }, "wrapErrorMessage"), Or = { draw: /* @__PURE__ */ t((e, t, n, i) => {
2056
2063
  r.debug("rendering svg for syntax error\n");
2057
- let a = ge(t), o = a.append("g"), s = Er(i?.db.getErrorMessage?.() ?? ""), c = s.length > 0 ? 500 + s.length * 56 : 512;
2064
+ let a = ge(t), o = a.append("g"), s = Dr(i?.db.getErrorMessage?.() ?? ""), c = s.length > 0 ? 500 + s.length * 56 : 512;
2058
2065
  a.attr("viewBox", `0 0 2412 ${c}`), y(a, 100, c, !0), o.append("path").attr("class", "error-icon").attr("d", "m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"), o.append("path").attr("class", "error-icon").attr("d", "m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"), o.append("path").attr("class", "error-icon").attr("d", "m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"), o.append("path").attr("class", "error-icon").attr("d", "m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"), o.append("path").attr("class", "error-icon").attr("d", "m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"), o.append("path").attr("class", "error-icon").attr("d", "m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"), o.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), o.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${n}`), s.forEach((e, t) => {
2059
2066
  o.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 510 + t * 56).attr("font-size", "42px").style("text-anchor", "middle").text(e);
2060
2067
  });
2061
- }, "draw") }, Or = Dr, kr, Ar = {
2068
+ }, "draw") }, kr = Or, Ar, jr = {
2062
2069
  db: {
2063
2070
  clear() {
2064
- kr = void 0;
2071
+ Ar = void 0;
2065
2072
  },
2066
2073
  setErrorMessage(e) {
2067
- kr = e;
2074
+ Ar = e;
2068
2075
  },
2069
2076
  getErrorMessage() {
2070
- return kr;
2077
+ return Ar;
2071
2078
  }
2072
2079
  },
2073
- renderer: Dr,
2080
+ renderer: Or,
2074
2081
  parser: { parse: /* @__PURE__ */ t(() => {}, "parse") }
2075
- }, jr = "flowchart-elk", Mr = {
2076
- id: jr,
2082
+ }, Mr = "flowchart-elk", Nr = {
2083
+ id: Mr,
2077
2084
  detector: /* @__PURE__ */ t((e, t = {}) => /^\s*flowchart-elk/.test(e) ? (t.layout = "elk", !0) : !1, "detector"),
2078
2085
  loader: /* @__PURE__ */ t(async () => {
2079
- let { diagram: e } = await import("./flowDiagram-IUGLLWBU-BJlVRCj8.js");
2086
+ let { diagram: e } = await import("./flowDiagram-MALGAFMO-D2e4rl0I.js");
2080
2087
  return {
2081
- id: jr,
2088
+ id: Mr,
2082
2089
  diagram: e
2083
2090
  };
2084
2091
  }, "loader")
2085
- }, Nr = "timeline", Pr = {
2086
- id: Nr,
2092
+ }, Pr = "timeline", Fr = {
2093
+ id: Pr,
2087
2094
  detector: /* @__PURE__ */ t((e) => /^\s*timeline/.test(e), "detector"),
2088
2095
  loader: /* @__PURE__ */ t(async () => {
2089
- let { diagram: e } = await import("./timeline-definition-JXYKGLGB-BE6iAj4r.js");
2096
+ let { diagram: e } = await import("./timeline-definition-SEUHKTQE-B_909Amn.js");
2090
2097
  return {
2091
- id: Nr,
2098
+ id: Pr,
2092
2099
  diagram: e
2093
2100
  };
2094
2101
  }, "loader")
2095
- }, Fr = "mindmap", Ir = {
2096
- id: Fr,
2102
+ }, Ir = "mindmap", Lr = {
2103
+ id: Ir,
2097
2104
  detector: /* @__PURE__ */ t((e) => /^\s*mindmap/.test(e), "detector"),
2098
2105
  loader: /* @__PURE__ */ t(async () => {
2099
- let { diagram: e } = await import("./mindmap-definition-6OY57UG3-CXobmoZM.js");
2106
+ let { diagram: e } = await import("./mindmap-definition-I2QAS2VK-C2KpoDqG.js");
2100
2107
  return {
2101
- id: Fr,
2108
+ id: Ir,
2102
2109
  diagram: e
2103
2110
  };
2104
2111
  }, "loader")
2105
- }, Lr = "kanban", Rr = {
2106
- id: Lr,
2112
+ }, Rr = "kanban", zr = {
2113
+ id: Rr,
2107
2114
  detector: /* @__PURE__ */ t((e) => /^\s*kanban/.test(e), "detector"),
2108
2115
  loader: /* @__PURE__ */ t(async () => {
2109
- let { diagram: e } = await import("./kanban-definition-FNSA4HC5-DzEQcVPw.js");
2116
+ let { diagram: e } = await import("./kanban-definition-BZKZHSQY-DU8sOWQd.js");
2110
2117
  return {
2111
- id: Lr,
2118
+ id: Rr,
2112
2119
  diagram: e
2113
2120
  };
2114
2121
  }, "loader")
2115
- }, zr = "sankey", Br = {
2116
- id: zr,
2122
+ }, Br = "sankey", Vr = {
2123
+ id: Br,
2117
2124
  detector: /* @__PURE__ */ t((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
2118
2125
  loader: /* @__PURE__ */ t(async () => {
2119
- let { diagram: e } = await import("./sankeyDiagram-SY24JHO5-luxVW4uf.js");
2126
+ let { diagram: e } = await import("./sankeyDiagram-WGJFYUXA-DUYWd4HF.js");
2120
2127
  return {
2121
- id: zr,
2128
+ id: Br,
2122
2129
  diagram: e
2123
2130
  };
2124
2131
  }, "loader")
2125
- }, Vr = "packet", Hr = {
2126
- id: Vr,
2132
+ }, Hr = "packet", Ur = {
2133
+ id: Hr,
2127
2134
  detector: /* @__PURE__ */ t((e) => /^\s*packet(-beta)?/.test(e), "detector"),
2128
2135
  loader: /* @__PURE__ */ t(async () => {
2129
- let { diagram: e } = await import("./diagram-I5XIIV2D-DbwsxgDf.js");
2136
+ let { diagram: e } = await import("./diagram-DNEMPZML-Di5RqN_h.js");
2130
2137
  return {
2131
- id: Vr,
2138
+ id: Hr,
2132
2139
  diagram: e
2133
2140
  };
2134
2141
  }, "loader")
2135
- }, Ur = "radar", Wr = {
2136
- id: Ur,
2142
+ }, Wr = "radar", Gr = {
2143
+ id: Wr,
2137
2144
  detector: /* @__PURE__ */ t((e) => /^\s*radar-beta/.test(e), "detector"),
2138
2145
  loader: /* @__PURE__ */ t(async () => {
2139
- let { diagram: e } = await import("./diagram-RJA3I4VV-DCygetH_.js");
2146
+ let { diagram: e } = await import("./diagram-L3MUGCDN-BtQkAzOD.js");
2140
2147
  return {
2141
- id: Ur,
2148
+ id: Wr,
2142
2149
  diagram: e
2143
2150
  };
2144
2151
  }, "loader")
2145
- }, Gr = "block", Kr = {
2146
- id: Gr,
2152
+ }, Kr = "block", qr = {
2153
+ id: Kr,
2147
2154
  detector: /* @__PURE__ */ t((e) => /^\s*block(-beta)?/.test(e), "detector"),
2148
2155
  loader: /* @__PURE__ */ t(async () => {
2149
- let { diagram: e } = await import("./blockDiagram-RJAE7QA3-Dgm9J6pS.js");
2156
+ let { diagram: e } = await import("./blockDiagram-APKKGZFW-CIX-8mpK.js");
2150
2157
  return {
2151
- id: Gr,
2158
+ id: Kr,
2152
2159
  diagram: e
2153
2160
  };
2154
2161
  }, "loader")
2155
- }, qr = "treeView", Jr = {
2156
- id: qr,
2162
+ }, Jr = "treeView", Yr = {
2163
+ id: Jr,
2157
2164
  detector: /* @__PURE__ */ t((e) => /^\s*treeView-beta/.test(e), "detector"),
2158
2165
  loader: /* @__PURE__ */ t(async () => {
2159
- let { diagram: e } = await import("./diagram-ODIL2UCW-CSnuo9bJ.js");
2166
+ let { diagram: e } = await import("./diagram-XPFHEONP-CZHt29x-.js");
2160
2167
  return {
2161
- id: qr,
2168
+ id: Jr,
2162
2169
  diagram: e
2163
2170
  };
2164
2171
  }, "loader")
2165
- }, Yr = "architecture", Xr = {
2166
- id: Yr,
2172
+ }, Xr = "architecture", Zr = {
2173
+ id: Xr,
2167
2174
  detector: /* @__PURE__ */ t((e) => /^\s*architecture/.test(e), "detector"),
2168
2175
  loader: /* @__PURE__ */ t(async () => {
2169
- let { diagram: e } = await import("./architectureDiagram-ZHVYKT53-CslNYmQN.js");
2176
+ let { diagram: e } = await import("./architectureDiagram-YGSQEFNW-DiYOcBqo.js");
2170
2177
  return {
2171
- id: Yr,
2178
+ id: Xr,
2172
2179
  diagram: e
2173
2180
  };
2174
2181
  }, "loader")
2175
- }, Zr = "eventmodeling", Qr = {
2176
- id: Zr,
2182
+ }, Qr = "eventmodeling", $r = {
2183
+ id: Qr,
2177
2184
  detector: /* @__PURE__ */ t((e) => /^\s*eventmodeling/.test(e), "detector"),
2178
2185
  loader: /* @__PURE__ */ t(async () => {
2179
- let { diagram: e } = await import("./diagram-PFBEJUXE-ChA6KYWw.js");
2186
+ let { diagram: e } = await import("./diagram-MHCOC4E2-DmA9ezb9.js");
2180
2187
  return {
2181
- id: Zr,
2188
+ id: Qr,
2182
2189
  diagram: e
2183
2190
  };
2184
2191
  }, "loader")
2185
- }, $r = "ishikawa", ei = {
2186
- id: $r,
2192
+ }, ei = "ishikawa", ti = {
2193
+ id: ei,
2187
2194
  detector: /* @__PURE__ */ t((e) => /^\s*ishikawa(-beta)?\b/i.test(e), "detector"),
2188
2195
  loader: /* @__PURE__ */ t(async () => {
2189
- let { diagram: e } = await import("./ishikawaDiagram-HPEHV2GE-oTSoKUOA.js");
2196
+ let { diagram: e } = await import("./ishikawaDiagram-M35NCXHK-BiLoyI1l.js");
2190
2197
  return {
2191
- id: $r,
2198
+ id: ei,
2192
2199
  diagram: e
2193
2200
  };
2194
2201
  }, "loader")
2195
- }, ti = "venn", ni = {
2196
- id: ti,
2202
+ }, ni = "venn", ri = {
2203
+ id: ni,
2197
2204
  detector: /* @__PURE__ */ t((e) => /^\s*venn-beta/.test(e), "detector"),
2198
2205
  loader: /* @__PURE__ */ t(async () => {
2199
- let { diagram: e } = await import("./vennDiagram-Q3Y3IDCW-DbPGt27W.js");
2206
+ let { diagram: e } = await import("./vennDiagram-NNMJR3RB-l3A_FZxZ.js");
2200
2207
  return {
2201
- id: ti,
2208
+ id: ni,
2202
2209
  diagram: e
2203
2210
  };
2204
2211
  }, "loader")
2205
- }, ri = "treemap", ii = {
2206
- id: ri,
2212
+ }, ii = "treemap", ai = {
2213
+ id: ii,
2207
2214
  detector: /* @__PURE__ */ t((e) => /^\s*treemap/.test(e), "detector"),
2208
2215
  loader: /* @__PURE__ */ t(async () => {
2209
- let { diagram: e } = await import("./diagram-CBK3MWTC-CuUrHQAz.js");
2216
+ let { diagram: e } = await import("./diagram-LA4NIPWU-Badv-tyU.js");
2210
2217
  return {
2211
- id: ri,
2218
+ id: ii,
2212
2219
  diagram: e
2213
2220
  };
2214
2221
  }, "loader")
2215
- }, ai = "usecase", oi = {
2216
- id: ai,
2222
+ }, oi = "usecase", si = {
2223
+ id: oi,
2217
2224
  detector: /* @__PURE__ */ t((e) => /^\s*usecase-beta(?:\s|$)/.test(e), "detector"),
2218
2225
  loader: /* @__PURE__ */ t(async () => {
2219
- let { diagram: e } = await import("./usecaseDiagram-WPOLBNNX-DY9Md_AG.js");
2226
+ let { diagram: e } = await import("./usecaseDiagram-AFA6YXN4-CiVGRP5X.js");
2220
2227
  return {
2221
- id: ai,
2228
+ id: oi,
2222
2229
  diagram: e
2223
2230
  };
2224
2231
  }, "loader")
2225
- }, si = "wardley", ci = {
2226
- id: si,
2232
+ }, ci = "wardley", li = {
2233
+ id: ci,
2227
2234
  detector: /* @__PURE__ */ t((e) => /^\s*wardley-beta/i.test(e), "detector"),
2228
2235
  loader: /* @__PURE__ */ t(async () => {
2229
- let { diagram: e } = await import("./wardleyDiagram-IVAIDKWA-BHkJFpfC.js");
2236
+ let { diagram: e } = await import("./wardleyDiagram-S7YFUSEH-BMQf5dl9.js");
2230
2237
  return {
2231
- id: si,
2238
+ id: ci,
2232
2239
  diagram: e
2233
2240
  };
2234
2241
  }, "loader")
2235
- }, li = "cynefin", ui = {
2236
- id: li,
2242
+ }, ui = "cynefin", di = {
2243
+ id: ui,
2237
2244
  detector: /* @__PURE__ */ t((e) => /^\s*cynefin-beta(?:[\s:]|$)/.test(e), "detector"),
2238
2245
  loader: /* @__PURE__ */ t(async () => {
2239
- let { diagram: e } = await import("./cynefinDiagram-WF24UDRP-DEFG-MNh.js");
2246
+ let { diagram: e } = await import("./cynefinDiagram-L36ESFBY-ByHpHKCc.js");
2240
2247
  return {
2241
- id: li,
2248
+ id: ui,
2242
2249
  diagram: e
2243
2250
  };
2244
2251
  }, "loader")
2245
- }, di = "railroad", fi = {
2246
- id: di,
2252
+ }, fi = "railroad", pi = {
2253
+ id: fi,
2247
2254
  detector: /* @__PURE__ */ t((e) => /^\s*railroad-beta/i.test(e), "detector"),
2248
2255
  loader: /* @__PURE__ */ t(async () => {
2249
- let { diagram: e } = await import("./railroadDiagram-Y72NRBL7-ChQwG3mZ.js");
2256
+ let { diagram: e } = await import("./railroadDiagram-MRQ6NCDL-DgAKQKiD.js");
2250
2257
  return {
2251
- id: di,
2258
+ id: fi,
2252
2259
  diagram: e
2253
2260
  };
2254
2261
  }, "loader")
2255
- }, pi = "railroadEbnf", mi = {
2256
- id: pi,
2262
+ }, mi = "railroadEbnf", hi = {
2263
+ id: mi,
2257
2264
  detector: /* @__PURE__ */ t((e) => /^\s*railroad-ebnf-beta/i.test(e), "detector"),
2258
2265
  loader: /* @__PURE__ */ t(async () => {
2259
- let { diagram: e } = await import("./ebnfDiagram-V4P3TTPT-e4I3Otpa.js");
2266
+ let { diagram: e } = await import("./ebnfDiagram-UZSYDL2S-DVGQga8g.js");
2260
2267
  return {
2261
- id: pi,
2268
+ id: mi,
2262
2269
  diagram: e
2263
2270
  };
2264
2271
  }, "loader")
2265
- }, hi = "railroadAbnf", gi = {
2266
- id: hi,
2272
+ }, gi = "railroadAbnf", _i = {
2273
+ id: gi,
2267
2274
  detector: /* @__PURE__ */ t((e) => /^\s*railroad-abnf-beta/i.test(e), "detector"),
2268
2275
  loader: /* @__PURE__ */ t(async () => {
2269
- let { diagram: e } = await import("./abnfDiagram-WEYOIA3C-B_dTFm2g.js");
2276
+ let { diagram: e } = await import("./abnfDiagram-S7VZAUFO-BdOzCXh1.js");
2270
2277
  return {
2271
- id: hi,
2278
+ id: gi,
2272
2279
  diagram: e
2273
2280
  };
2274
2281
  }, "loader")
2275
- }, _i = "railroadPeg", vi = {
2276
- id: _i,
2282
+ }, vi = "railroadPeg", yi = {
2283
+ id: vi,
2277
2284
  detector: /* @__PURE__ */ t((e) => /^\s*railroad-peg-beta/i.test(e), "detector"),
2278
2285
  loader: /* @__PURE__ */ t(async () => {
2279
- let { diagram: e } = await import("./pegDiagram-ECIUJNBX-ODBWqs1V.js");
2286
+ let { diagram: e } = await import("./pegDiagram-FD4XPPHP-CSA4sB83.js");
2280
2287
  return {
2281
- id: _i,
2288
+ id: vi,
2282
2289
  diagram: e
2283
2290
  };
2284
2291
  }, "loader")
2285
- }, yi = !1, bi = /* @__PURE__ */ t(() => {
2286
- yi || (yi = !0, u("error", Ar, (e) => e.toLowerCase().trim() === "error"), u("---", {
2292
+ }, bi = !1, xi = /* @__PURE__ */ t(() => {
2293
+ bi || (bi = !0, u("error", jr, (e) => e.toLowerCase().trim() === "error"), u("---", {
2287
2294
  db: { clear: /* @__PURE__ */ t(() => {}, "clear") },
2288
2295
  styles: {},
2289
2296
  renderer: { draw: /* @__PURE__ */ t(() => {}, "draw") },
@@ -2291,12 +2298,12 @@ var Gn = /* @__PURE__ */ e({ default: () => Ta }), Kn = "c4", qn = {
2291
2298
  throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks");
2292
2299
  }, "parse") },
2293
2300
  init: /* @__PURE__ */ t(() => null, "init")
2294
- }, (e) => e.toLowerCase().trimStart().startsWith("---")), d(Mr, Ir, Xr), d(Zn, qn, Rr, yr, tr, ar, sr, lr, hr, _r, $n, Yn, Pr, rr, xr, Cr, dr, Br, Hr, pr, Kr, Qr, Jr, Wr, ei, ii, fi, mi, gi, vi, ni, ci, ui, oi));
2295
- }, "addDiagrams"), xi = /* @__PURE__ */ t(async () => {
2301
+ }, (e) => e.toLowerCase().trimStart().startsWith("---")), d(Nr, Lr, Zr), d(Qn, Jn, zr, br, nr, or, cr, ur, gr, vr, er, Xn, Fr, ir, Sr, wr, fr, Vr, Ur, mr, qr, $r, Yr, Gr, ti, ai, pi, hi, _i, yi, ri, li, di, si));
2302
+ }, "addDiagrams"), Si = /* @__PURE__ */ t(async () => {
2296
2303
  r.debug("Loading registered diagrams");
2297
2304
  let e = (await Promise.allSettled(Object.entries(T).map(async ([e, { detector: t, loader: n }]) => {
2298
2305
  if (n) try {
2299
- N(e);
2306
+ M(e);
2300
2307
  } catch {
2301
2308
  try {
2302
2309
  let { diagram: e, id: r } = await n();
@@ -2311,12 +2318,12 @@ var Gn = /* @__PURE__ */ e({ default: () => Ta }), Kn = "c4", qn = {
2311
2318
  for (let t of e) r.error(t);
2312
2319
  throw Error(`Failed to load ${e.length} external diagrams`);
2313
2320
  }
2314
- }, "loadRegisteredDiagrams"), Si = "graphics-document document";
2315
- function Ci(e, t) {
2316
- e.attr("role", Si), t !== "" && e.attr("aria-roledescription", t);
2321
+ }, "loadRegisteredDiagrams"), Ci = "graphics-document document";
2322
+ function wi(e, t) {
2323
+ e.attr("role", Ci), t !== "" && e.attr("aria-roledescription", t);
2317
2324
  }
2318
- t(Ci, "setA11yDiagramInfo");
2319
- function wi(e, t, n, r) {
2325
+ t(wi, "setA11yDiagramInfo");
2326
+ function Ti(e, t, n, r) {
2320
2327
  if (e.insert !== void 0) {
2321
2328
  if (n) {
2322
2329
  let t = `chart-desc-${r}`;
@@ -2328,8 +2335,8 @@ function wi(e, t, n, r) {
2328
2335
  }
2329
2336
  }
2330
2337
  }
2331
- t(wi, "addSVGa11yTitleDescription");
2332
- var Ti = class e {
2338
+ t(Ti, "addSVGa11yTitleDescription");
2339
+ var Ei = class e {
2333
2340
  constructor(e, t, n, r, i) {
2334
2341
  this.type = e, this.text = t, this.db = n, this.parser = r, this.renderer = i;
2335
2342
  }
@@ -2340,23 +2347,23 @@ var Ti = class e {
2340
2347
  let i = typeof t == "string" ? {
2341
2348
  raw: t,
2342
2349
  cleaned: t
2343
- } : t, a = P(), o = D(i.cleaned, a);
2350
+ } : t, a = N(), o = D(i.cleaned, a);
2344
2351
  try {
2345
- N(o);
2352
+ M(o);
2346
2353
  } catch {
2347
2354
  let e = p(o);
2348
- if (!e) throw new A(`Diagram ${o} not found.`);
2355
+ if (!e) throw new ee(`Diagram ${o} not found.`);
2349
2356
  let { id: t, diagram: n } = await e();
2350
2357
  u(t, n);
2351
2358
  }
2352
- let { db: s, parser: c, renderer: l, init: d } = N(o);
2359
+ let { db: s, parser: c, renderer: l, init: d } = M(o);
2353
2360
  c.parser && (c.parser.yy = s), s.clear?.(), d?.(a), n.title && s.setDiagramTitle?.(n.title);
2354
2361
  let f = i.cleaned;
2355
2362
  if (s.preserveCommentsWhenParsing && i.withComments) {
2356
2363
  let e = a.maxTextSize ?? x.maxTextSize;
2357
2364
  i.withComments.length > e ? r.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${e}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`) : f = i.withComments;
2358
2365
  }
2359
- let m = ie(f) + "\n";
2366
+ let m = ce(f) + "\n";
2360
2367
  return i.frontmatterLineOffset && s.setFrontmatterLineOffset?.(i.frontmatterLineOffset), await c.parse(m), new e(o, m, s, c, l);
2361
2368
  }
2362
2369
  async render(e, t) {
@@ -2368,12 +2375,12 @@ var Ti = class e {
2368
2375
  getType() {
2369
2376
  return this.type;
2370
2377
  }
2371
- }, Ei = [], Di = /* @__PURE__ */ t(() => {
2372
- Ei.forEach((e) => {
2378
+ }, Di = [], Oi = /* @__PURE__ */ t(() => {
2379
+ Di.forEach((e) => {
2373
2380
  e();
2374
- }), Ei = [];
2375
- }, "attachFunctions"), Oi = /* @__PURE__ */ t((e) => e.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
2376
- function ki(e) {
2381
+ }), Di = [];
2382
+ }, "attachFunctions"), ki = /* @__PURE__ */ t((e) => e.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
2383
+ function Ai(e) {
2377
2384
  let t = C(e);
2378
2385
  if (!t) return {
2379
2386
  text: e,
@@ -2387,27 +2394,27 @@ function ki(e) {
2387
2394
  metadata: i
2388
2395
  };
2389
2396
  }
2390
- t(ki, "extractFrontMatter");
2391
- var Ai = /* @__PURE__ */ t((e) => e.replace(/\r\n?/g, "\n").replace(/<(\w+)([^>]*)>/g, (e, t, n) => "<" + t + n.replace(/="([^"]*)"/g, "='$1'") + ">"), "cleanupText"), ji = /* @__PURE__ */ t((e) => {
2392
- let { text: t, metadata: n } = ki(e), { displayMode: r, title: i, config: a = {} } = n;
2397
+ t(Ai, "extractFrontMatter");
2398
+ var ji = /* @__PURE__ */ t((e) => e.replace(/\r\n?/g, "\n").replace(/<(\w+)([^>]*)>/g, (e, t, n) => "<" + t + n.replace(/="([^"]*)"/g, "='$1'") + ">"), "cleanupText"), Mi = /* @__PURE__ */ t((e) => {
2399
+ let { text: t, metadata: n } = Ai(e), { displayMode: r, title: i, config: a = {} } = n;
2393
2400
  return r && (a.gantt ||= {}, a.gantt.displayMode = r), {
2394
2401
  title: i,
2395
2402
  config: a,
2396
2403
  text: t
2397
2404
  };
2398
- }, "processFrontmatter"), Mi = /* @__PURE__ */ t((e) => {
2399
- let t = L.detectInit(e) ?? {}, n = L.detectDirective(e, "wrap");
2405
+ }, "processFrontmatter"), Ni = /* @__PURE__ */ t((e) => {
2406
+ let t = B.detectInit(e) ?? {}, n = B.detectDirective(e, "wrap");
2400
2407
  return Array.isArray(n) ? t.wrap = n.some(({ type: e }) => e === "wrap") : n?.type === "wrap" && (t.wrap = !0), {
2401
- text: te(e),
2408
+ text: ae(e),
2402
2409
  directive: t
2403
2410
  };
2404
2411
  }, "processDirectives");
2405
- function Ni(e) {
2406
- let t = e, n = Ai(e), r = ji(n), i = Mi(r.text), a = ne(r.config, i.directive), o = i.text;
2412
+ function Pi(e) {
2413
+ let t = e, n = ji(e), r = Mi(n), i = Ni(r.text), a = oe(r.config, i.directive), o = i.text;
2407
2414
  return {
2408
2415
  code: {
2409
2416
  raw: t,
2410
- cleaned: Oi(o),
2417
+ cleaned: ki(o),
2411
2418
  withComments: o,
2412
2419
  frontmatterLineOffset: n.length > r.text.length ? (n.substring(0, n.length - r.text.length).match(/\n/g) ?? []).length : 0
2413
2420
  },
@@ -2415,31 +2422,31 @@ function Ni(e) {
2415
2422
  config: a
2416
2423
  };
2417
2424
  }
2418
- t(Ni, "preprocessDiagram");
2419
- function Pi(e) {
2425
+ t(Pi, "preprocessDiagram");
2426
+ function Fi(e) {
2420
2427
  let t = new TextEncoder().encode(e), n = Array.from(t, (e) => String.fromCodePoint(e)).join("");
2421
2428
  return btoa(n);
2422
2429
  }
2423
- t(Pi, "toBase64");
2424
- var Fi = 5e4, Ii = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", Li = "sandbox", Ri = "loose", zi = "http://www.w3.org/2000/svg", Bi = "http://www.w3.org/1999/xlink", Vi = "http://www.w3.org/1999/xhtml", Hi = "100%", Ui = "100%", Wi = "border:0;margin:0;", Gi = "margin:0", Ki = "allow-top-navigation-by-user-activation allow-popups", qi = "The \"iframe\" tag is not supported by your browser.", Ji = ["foreignobject"], Yi = ["dominant-baseline"];
2425
- function Xi(e) {
2426
- let t = Ni(e);
2430
+ t(Fi, "toBase64");
2431
+ var Ii = 5e4, Li = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", Ri = "sandbox", zi = "loose", Bi = "http://www.w3.org/2000/svg", Vi = "http://www.w3.org/1999/xlink", Hi = "http://www.w3.org/1999/xhtml", Ui = "100%", Wi = "100%", Gi = "border:0;margin:0;", Ki = "margin:0", qi = "allow-top-navigation-by-user-activation allow-popups", Ji = "The \"iframe\" tag is not supported by your browser.", Yi = ["foreignobject"], Xi = ["dominant-baseline"];
2432
+ function Zi(e) {
2433
+ let t = Pi(e);
2427
2434
  o();
2428
2435
  let n;
2429
2436
  try {
2430
- n = D(t.code.cleaned, P());
2437
+ n = D(t.code.cleaned, N());
2431
2438
  } catch {
2432
2439
  n = void 0;
2433
2440
  }
2434
2441
  return c(n), E(t.config ?? {}), t;
2435
2442
  }
2436
- t(Xi, "processAndSetConfigs");
2437
- async function Zi(e, t) {
2438
- bi();
2443
+ t(Zi, "processAndSetConfigs");
2444
+ async function Qi(e, t) {
2445
+ xi();
2439
2446
  try {
2440
- let { code: t, config: n } = Xi(e);
2447
+ let { code: t, config: n } = Zi(e);
2441
2448
  return {
2442
- diagramType: (await Ti.fromText(t)).type,
2449
+ diagramType: (await Ei.fromText(t)).type,
2443
2450
  config: n
2444
2451
  };
2445
2452
  } catch (e) {
@@ -2449,11 +2456,11 @@ async function Zi(e, t) {
2449
2456
  c(void 0);
2450
2457
  }
2451
2458
  }
2452
- t(Zi, "parse");
2453
- var Qi = /* @__PURE__ */ t((e, t, n = []) => `.${e} ${t} ${l(`{ ${n.join(" !important; ")} !important; }`)}`, "cssImportantStyles"), $i = /* @__PURE__ */ t((e, t = /* @__PURE__ */ new Map()) => {
2459
+ t(Qi, "parse");
2460
+ var $i = /* @__PURE__ */ t((e, t, n = []) => `.${e} ${t} ${l(`{ ${n.join(" !important; ")} !important; }`)}`, "cssImportantStyles"), ea = /* @__PURE__ */ t((e, t = /* @__PURE__ */ new Map()) => {
2454
2461
  let n = new CSSStyleSheet();
2455
2462
  if (e.fontFamily !== void 0 && n.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`, n.cssRules.length), e.altFontFamily !== void 0 && n.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`, n.cssRules.length), t instanceof Map) {
2456
- let r = M(e) ? ["> *", "span"] : [
2463
+ let r = j(e) ? ["> *", "span"] : [
2457
2464
  "rect",
2458
2465
  "polygon",
2459
2466
  "ellipse",
@@ -2462,8 +2469,8 @@ var Qi = /* @__PURE__ */ t((e, t, n = []) => `.${e} ${t} ${l(`{ ${n.join(" !impo
2462
2469
  ];
2463
2470
  t.forEach((e) => {
2464
2471
  ve(e.styles) || r.forEach((t) => {
2465
- n.insertRule(Qi(e.id, t, e.styles), n.cssRules.length);
2466
- }), ve(e.textStyles) || n.insertRule(Qi(e.id, "tspan", (e?.textStyles || []).map((e) => e.replace("color", "fill"))), n.cssRules.length);
2472
+ n.insertRule($i(e.id, t, e.styles), n.cssRules.length);
2473
+ }), ve(e.textStyles) || n.insertRule($i(e.id, "tspan", (e?.textStyles || []).map((e) => e.replace("color", "fill"))), n.cssRules.length);
2467
2474
  });
2468
2475
  }
2469
2476
  let r = "";
@@ -2475,7 +2482,7 @@ var Qi = /* @__PURE__ */ t((e, t, n = []) => `.${e} ${t} ${l(`{ ${n.join(" !impo
2475
2482
  `;
2476
2483
  }
2477
2484
  return r + w(n);
2478
- }, "createCssStyles"), ea = /* @__PURE__ */ t((e, n) => Hn(Ln(`${e}{${n}}`), Wn([/* @__PURE__ */ t(function(t, n, i, a) {
2485
+ }, "createCssStyles"), ta = /* @__PURE__ */ t((e, n) => Un(Rn(`${e}{${n}}`), Gn([/* @__PURE__ */ t(function(t, n, i, a) {
2479
2486
  if (t.type === "rule" && Array.isArray(t.props)) {
2480
2487
  if (t.parent && t.parent.type === "@keyframes") return;
2481
2488
  t.props = t.props.map((n) => n === e && Array.isArray(t.children) && t.children.every((e) => e.type === "decl" && (/* @__PURE__ */ new Set([
@@ -2492,121 +2499,121 @@ var Qi = /* @__PURE__ */ t((e, t, n = []) => `.${e} ${t} ${l(`{ ${n.join(" !impo
2492
2499
  "@starting-style",
2493
2500
  "@keyframes"
2494
2501
  ].includes(t.type) || (r.warn(`Removing unsupported at-rule ${t.type} from CSS`), t.type = an));
2495
- }, "addNamespace"), Un])), "compileCSS"), ta = /* @__PURE__ */ t((e, t, n, r) => {
2496
- let i = $i(e, n);
2497
- return ea(r, _(t, i, {
2502
+ }, "addNamespace"), Wn])), "compileCSS"), na = /* @__PURE__ */ t((e, t, n, r) => {
2503
+ let i = ea(e, n);
2504
+ return ta(r, _(t, i, {
2498
2505
  ...e.themeVariables,
2499
2506
  theme: e.theme,
2500
2507
  look: e.look
2501
2508
  }, r));
2502
- }, "createUserStyles"), na = /* @__PURE__ */ t((e = "", t, n) => {
2509
+ }, "createUserStyles"), ra = /* @__PURE__ */ t((e = "", t, n) => {
2503
2510
  let r = e;
2504
- return !n && !t && (r = r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g, "marker-end=\"url(#")), r = R(r), r = r.replace(/<br>/g, "<br/>"), r;
2505
- }, "cleanUpSvgCode"), ra = /* @__PURE__ */ t((e = "", t) => `<iframe style="width:${Hi};height:${t?.viewBox?.baseVal?.height ? t.viewBox.baseVal.height + "px" : Ui};${Wi}" src="data:text/html;charset=UTF-8;base64,${Pi(`<body style="${Gi}">${e}</body>`)}" sandbox="${Ki}">
2506
- ${qi}
2507
- </iframe>`, "putIntoIFrame"), ia = /* @__PURE__ */ t((e, t, n, r, i) => {
2511
+ return !n && !t && (r = r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g, "marker-end=\"url(#")), r = ne(r), r = r.replace(/<br>/g, "<br/>"), r;
2512
+ }, "cleanUpSvgCode"), ia = /* @__PURE__ */ t((e = "", t) => `<iframe style="width:${Ui};height:${t?.viewBox?.baseVal?.height ? t.viewBox.baseVal.height + "px" : Wi};${Gi}" src="data:text/html;charset=UTF-8;base64,${Fi(`<body style="${Ki}">${e}</body>`)}" sandbox="${qi}">
2513
+ ${Ji}
2514
+ </iframe>`, "putIntoIFrame"), aa = /* @__PURE__ */ t((e, t, n, r, i) => {
2508
2515
  let a = e.append("div");
2509
2516
  a.attr("id", n), r && a.attr("style", r);
2510
- let o = a.append("svg").attr("id", t).attr("width", "100%").attr("xmlns", zi);
2517
+ let o = a.append("svg").attr("id", t).attr("width", "100%").attr("xmlns", Bi);
2511
2518
  return i && o.attr("xmlns:xlink", i), o.append("g"), e;
2512
2519
  }, "appendDivSvgG");
2513
- function aa(e, t) {
2520
+ function oa(e, t) {
2514
2521
  return e.append("iframe").attr("id", t).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
2515
2522
  }
2516
- t(aa, "sandboxedIframe");
2517
- var oa = /* @__PURE__ */ t((e, t, n, r) => {
2523
+ t(oa, "sandboxedIframe");
2524
+ var sa = /* @__PURE__ */ t((e, t, n, r) => {
2518
2525
  e.getElementById(t)?.remove(), e.getElementById(n)?.remove(), e.getElementById(r)?.remove();
2519
- }, "removeExistingElements"), sa = /* @__PURE__ */ t(async function(e, n, a) {
2520
- bi();
2521
- let o = Xi(n), s = o.code;
2526
+ }, "removeExistingElements"), ca = /* @__PURE__ */ t(async function(e, n, a) {
2527
+ xi();
2528
+ let o = Zi(n), s = o.code;
2522
2529
  n = s.cleaned;
2523
- let c = P();
2524
- r.debug(c), n.length > (c?.maxTextSize ?? Fi) && (n = Ii, s = {
2530
+ let c = N();
2531
+ r.debug(c), n.length > (c?.maxTextSize ?? Ii) && (n = Li, s = {
2525
2532
  raw: n,
2526
2533
  cleaned: n
2527
2534
  });
2528
2535
  let l = `#${e}`, u = "i" + e, d = "#" + u, f = "d" + e, p = "#" + f, m = /* @__PURE__ */ t(() => {
2529
2536
  let e = i(g ? d : p).node();
2530
2537
  e && "remove" in e && e.remove();
2531
- }, "removeTempElements"), h = i(document.body), g = c.securityLevel === Li, _ = c.securityLevel === Ri, v = c.fontFamily;
2538
+ }, "removeTempElements"), h = i(document.body), g = c.securityLevel === Ri, _ = c.securityLevel === zi, v = c.fontFamily;
2532
2539
  if (a !== void 0) {
2533
2540
  if (a && (a.innerHTML = ""), g) {
2534
- let e = aa(i(a), u);
2541
+ let e = oa(i(a), u);
2535
2542
  h = i(e.nodes()[0].contentDocument.body), h.node().style.margin = "0";
2536
2543
  } else h = i(a);
2537
- ia(h, e, f, `font-family: ${v}`, Bi);
2544
+ aa(h, e, f, `font-family: ${v}`, Vi);
2538
2545
  } else {
2539
- if (oa(document, e, f, u), g) {
2540
- let e = aa(i(document.body), u);
2546
+ if (sa(document, e, f, u), g) {
2547
+ let e = oa(i(document.body), u);
2541
2548
  h = i(e.nodes()[0].contentDocument.body), h.node().style.margin = "0";
2542
2549
  } else h = i("body");
2543
- ia(h, e, f);
2550
+ aa(h, e, f);
2544
2551
  }
2545
2552
  let y, x;
2546
2553
  try {
2547
- y = await Ti.fromText(s, { title: o.title });
2554
+ y = await Ei.fromText(s, { title: o.title });
2548
2555
  } catch (e) {
2549
2556
  if (c.suppressErrorRendering) throw m(), e;
2550
- y = await Ti.fromText("error"), x = e, y.db.setErrorMessage?.(re(e));
2557
+ y = await Ei.fromText("error"), x = e, y.db.setErrorMessage?.(se(e));
2551
2558
  }
2552
- let C = h.select(p).node(), w = y.type, T = C.firstChild, E = T.firstChild, D = y.renderer.getClasses?.(n, y), O = ta(c, w, D, l), k = document.createElement("style");
2559
+ let C = h.select(p).node(), w = y.type, T = C.firstChild, E = T.firstChild, D = y.renderer.getClasses?.(n, y), O = na(c, w, D, l), k = document.createElement("style");
2553
2560
  k.innerHTML = O, T.insertBefore(k, E);
2554
2561
  try {
2555
- await y.renderer.draw(n, e, "12.2.0", y);
2562
+ await y.renderer.draw(n, e, "12.3.0", y);
2556
2563
  } catch (t) {
2557
- throw c.suppressErrorRendering ? m() : Or.draw(n, e, "12.2.0"), t;
2564
+ throw c.suppressErrorRendering ? m() : kr.draw(n, e, "12.3.0"), t;
2558
2565
  }
2559
- let A = h.select(`${p} svg`), j = y.db.getAccTitle?.(), M = y.db.getAccDescription?.();
2560
- da(w, A, j, M);
2561
- let N = (/* @__PURE__ */ t(() => {
2562
- h.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", Vi);
2566
+ let ee = h.select(`${p} svg`), A = y.db.getAccTitle?.(), j = y.db.getAccDescription?.();
2567
+ fa(w, ee, A, j);
2568
+ let M = (/* @__PURE__ */ t(() => {
2569
+ h.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", Hi);
2563
2570
  let t = h.select(p).node().innerHTML;
2564
- if (r.debug("config.arrowMarkerAbsolute", c.arrowMarkerAbsolute), t = na(t, g, S(c.arrowMarkerAbsolute)), g) {
2571
+ if (r.debug("config.arrowMarkerAbsolute", c.arrowMarkerAbsolute), t = ra(t, g, S(c.arrowMarkerAbsolute)), g) {
2565
2572
  let e = h.select(p + " svg").node();
2566
- t = ra(t, e);
2573
+ t = ia(t, e);
2567
2574
  } else _ || (t = b.sanitize(t, {
2568
- ADD_TAGS: Ji,
2569
- ADD_ATTR: Yi,
2575
+ ADD_TAGS: Yi,
2576
+ ADD_ATTR: Xi,
2570
2577
  HTML_INTEGRATION_POINTS: { foreignobject: !0 }
2571
2578
  }));
2572
- return Di(), t;
2579
+ return Oi(), t;
2573
2580
  }, "serializeSvg"))();
2574
2581
  if (x) throw x;
2575
2582
  return m(), {
2576
2583
  diagramType: w,
2577
- svg: N,
2584
+ svg: M,
2578
2585
  bindFunctions: y.db.bindFunctions
2579
2586
  };
2580
- }, "renderDiagram"), ca = /* @__PURE__ */ t(async function(e, t, n) {
2587
+ }, "renderDiagram"), la = /* @__PURE__ */ t(async function(e, t, n) {
2581
2588
  try {
2582
- return await sa(e, t, n);
2589
+ return await ca(e, t, n);
2583
2590
  } finally {
2584
2591
  c(void 0);
2585
2592
  }
2586
2593
  }, "render");
2587
- function la(e = {}) {
2594
+ function ua(e = {}) {
2588
2595
  let t = O({}, e);
2589
2596
  t?.fontFamily && !t.themeVariables?.fontFamily && (t.themeVariables ||= {}, t.themeVariables.fontFamily = t.fontFamily), h(t);
2590
- let r = j.theme;
2597
+ let r = A.theme;
2591
2598
  t?.theme && Object.hasOwn(f, t.theme) ? t.themeVariables = f[t.theme].getThemeVariables(t.themeVariables) : t && (t.theme != null && t.theme !== "null" && (t.theme = r), t.themeVariables = f[r].getThemeVariables(t.themeVariables));
2592
2599
  let i = typeof t == "object" ? s(t) : m();
2593
- n(i.logLevel), bi();
2600
+ n(i.logLevel), xi();
2594
2601
  }
2595
- t(la, "initialize");
2596
- var ua = /* @__PURE__ */ t((e, t = {}) => {
2597
- let { code: n } = Ni(e);
2598
- return Ti.fromText(n, t);
2602
+ t(ua, "initialize");
2603
+ var da = /* @__PURE__ */ t((e, t = {}) => {
2604
+ let { code: n } = Pi(e);
2605
+ return Ei.fromText(n, t);
2599
2606
  }, "getDiagramFromText");
2600
- function da(e, t, n, r) {
2601
- Ci(t, e), wi(t, n, r, t.attr("id"));
2607
+ function fa(e, t, n, r) {
2608
+ wi(t, e), Ti(t, n, r, t.attr("id"));
2602
2609
  }
2603
- t(da, "addA11yInfo");
2610
+ t(fa, "addA11yInfo");
2604
2611
  var Q = Object.freeze({
2605
- render: ca,
2606
- parse: Zi,
2607
- getDiagramFromText: ua,
2608
- initialize: la,
2609
- getConfig: P,
2612
+ render: la,
2613
+ parse: Qi,
2614
+ getDiagramFromText: da,
2615
+ initialize: ua,
2616
+ getConfig: N,
2610
2617
  setConfig: g,
2611
2618
  getSiteConfig: m,
2612
2619
  updateSiteConfig: a,
@@ -2614,13 +2621,13 @@ var Q = Object.freeze({
2614
2621
  o();
2615
2622
  }, "reset"),
2616
2623
  globalReset: /* @__PURE__ */ t(() => {
2617
- o(j);
2624
+ o(A);
2618
2625
  }, "globalReset"),
2619
- defaultConfig: j
2626
+ defaultConfig: A
2620
2627
  });
2621
- n(P().logLevel), o(P());
2622
- var fa = /* @__PURE__ */ t((e, t, n) => {
2623
- r.warn(e), ae(e) ? (n && n(e.str, e.hash), t.push({
2628
+ n(N().logLevel), o(N());
2629
+ var pa = /* @__PURE__ */ t((e, t, n) => {
2630
+ r.warn(e), le(e) ? (n && n(e.str, e.hash), t.push({
2624
2631
  ...e,
2625
2632
  message: e.str,
2626
2633
  error: e
@@ -2630,13 +2637,13 @@ var fa = /* @__PURE__ */ t((e, t, n) => {
2630
2637
  hash: e.name,
2631
2638
  error: e
2632
2639
  }));
2633
- }, "handleError"), pa = /* @__PURE__ */ t(async function(e = { querySelector: ".mermaid" }) {
2640
+ }, "handleError"), ma = /* @__PURE__ */ t(async function(e = { querySelector: ".mermaid" }) {
2634
2641
  try {
2635
- await ma(e);
2642
+ await ha(e);
2636
2643
  } catch (t) {
2637
- if (ae(t) && r.error(t.str), $.parseError && $.parseError(t), !e.suppressErrors) throw r.error("Use the suppressErrors option to suppress these errors"), t;
2644
+ if (le(t) && r.error(t.str), $.parseError && $.parseError(t), !e.suppressErrors) throw r.error("Use the suppressErrors option to suppress these errors"), t;
2638
2645
  }
2639
- }, "run"), ma = /* @__PURE__ */ t(async function({ postRenderCallback: e, querySelector: t, nodes: n } = { querySelector: ".mermaid" }) {
2646
+ }, "run"), ha = /* @__PURE__ */ t(async function({ postRenderCallback: e, querySelector: t, nodes: n } = { querySelector: ".mermaid" }) {
2640
2647
  let i = Q.getConfig();
2641
2648
  r.debug(`${e ? "" : "No "}Callback function found`);
2642
2649
  let a;
@@ -2644,55 +2651,55 @@ var fa = /* @__PURE__ */ t((e, t, n) => {
2644
2651
  else if (t) a = document.querySelectorAll(t);
2645
2652
  else throw Error("Nodes and querySelector are both undefined");
2646
2653
  r.debug(`Found ${a.length} diagrams`), i?.startOnLoad !== void 0 && (r.debug("Start On Load: " + i?.startOnLoad), Q.updateSiteConfig({ startOnLoad: i?.startOnLoad }));
2647
- let o = new L.InitIDGenerator(i.deterministicIds, i.deterministicIDSeed), s, c = [];
2654
+ let o = new B.InitIDGenerator(i.deterministicIds, i.deterministicIDSeed), s, c = [];
2648
2655
  for (let t of Array.from(a)) {
2649
2656
  if (r.info("Rendering diagram: " + t.id), t.getAttribute("data-processed")) continue;
2650
2657
  t.setAttribute("data-processed", "true");
2651
2658
  let n = `mermaid-${o.next()}`;
2652
- s = t.innerHTML, s = ce(L.entityDecode(s)).trim().replace(/<br\s*\/?>/gi, "<br/>");
2653
- let i = L.detectInit(s);
2659
+ s = t.innerHTML, s = fe(B.entityDecode(s)).trim().replace(/<br\s*\/?>/gi, "<br/>");
2660
+ let i = B.detectInit(s);
2654
2661
  i && r.debug("Detected early reinit: ", i);
2655
2662
  try {
2656
- let { svg: r, bindFunctions: i } = await wa(n, s, t);
2663
+ let { svg: r, bindFunctions: i } = await Ta(n, s, t);
2657
2664
  t.innerHTML = r, e && await e(n), i && i(t);
2658
2665
  } catch (e) {
2659
- fa(e, c, $.parseError);
2666
+ pa(e, c, $.parseError);
2660
2667
  }
2661
2668
  }
2662
2669
  if (c.length > 0) throw c[0];
2663
- }, "runThrowsErrors"), ha = /* @__PURE__ */ t(function(e) {
2670
+ }, "runThrowsErrors"), ga = /* @__PURE__ */ t(function(e) {
2664
2671
  Q.initialize(e);
2665
- }, "initialize"), ga = /* @__PURE__ */ t(async function(e, t, n) {
2666
- r.warn("mermaid.init is deprecated. Please use run instead."), e && ha(e);
2672
+ }, "initialize"), _a = /* @__PURE__ */ t(async function(e, t, n) {
2673
+ r.warn("mermaid.init is deprecated. Please use run instead."), e && ga(e);
2667
2674
  let i = {
2668
2675
  postRenderCallback: n,
2669
2676
  querySelector: ".mermaid"
2670
2677
  };
2671
- typeof t == "string" ? i.querySelector = t : t && (i.nodes = t instanceof HTMLElement ? [t] : t), await pa(i);
2672
- }, "init"), _a = /* @__PURE__ */ t(async (e, { lazyLoad: t = !0 } = {}) => {
2673
- bi(), d(...e), t === !1 && await xi();
2674
- }, "registerExternalDiagrams"), va = /* @__PURE__ */ t(function() {
2678
+ typeof t == "string" ? i.querySelector = t : t && (i.nodes = t instanceof HTMLElement ? [t] : t), await ma(i);
2679
+ }, "init"), va = /* @__PURE__ */ t(async (e, { lazyLoad: t = !0 } = {}) => {
2680
+ xi(), d(...e), t === !1 && await Si();
2681
+ }, "registerExternalDiagrams"), ya = /* @__PURE__ */ t(function() {
2675
2682
  if ($.startOnLoad) {
2676
2683
  let { startOnLoad: e } = Q.getConfig();
2677
2684
  e && $.run().catch((e) => r.error("Mermaid failed to initialize", e));
2678
2685
  }
2679
2686
  }, "contentLoaded");
2680
- typeof document < "u" && window.addEventListener("load", va, !1);
2681
- var ya = /* @__PURE__ */ t(function(e) {
2687
+ typeof document < "u" && window.addEventListener("load", ya, !1);
2688
+ var ba = /* @__PURE__ */ t(function(e) {
2682
2689
  $.parseError = e;
2683
- }, "setParseErrorHandler"), ba = [], xa = !1, Sa = /* @__PURE__ */ t(async () => {
2684
- if (!xa) {
2685
- for (xa = !0; ba.length > 0;) {
2686
- let e = ba.shift();
2690
+ }, "setParseErrorHandler"), xa = [], Sa = !1, Ca = /* @__PURE__ */ t(async () => {
2691
+ if (!Sa) {
2692
+ for (Sa = !0; xa.length > 0;) {
2693
+ let e = xa.shift();
2687
2694
  if (e) try {
2688
2695
  await e();
2689
2696
  } catch (e) {
2690
2697
  r.error("Error executing queue", e);
2691
2698
  }
2692
2699
  }
2693
- xa = !1;
2700
+ Sa = !1;
2694
2701
  }
2695
- }, "executeQueue"), Ca = /* @__PURE__ */ t(async (e, n) => new Promise((i, a) => {
2702
+ }, "executeQueue"), wa = /* @__PURE__ */ t(async (e, n) => new Promise((i, a) => {
2696
2703
  let o = /* @__PURE__ */ t(() => new Promise((t, o) => {
2697
2704
  Q.parse(e, n).then((e) => {
2698
2705
  t(e), i(e);
@@ -2700,8 +2707,8 @@ var ya = /* @__PURE__ */ t(function(e) {
2700
2707
  r.error("Error parsing", e), $.parseError?.(e), o(e), a(e);
2701
2708
  });
2702
2709
  }), "performCall");
2703
- ba.push(o), Sa().catch(a);
2704
- }), "parse"), wa = /* @__PURE__ */ t((e, n, i) => new Promise((a, o) => {
2710
+ xa.push(o), Ca().catch(a);
2711
+ }), "parse"), Ta = /* @__PURE__ */ t((e, n, i) => new Promise((a, o) => {
2705
2712
  let s = /* @__PURE__ */ t(() => new Promise((t, s) => {
2706
2713
  Q.render(e, n, i).then((e) => {
2707
2714
  t(e), a(e);
@@ -2709,23 +2716,23 @@ var ya = /* @__PURE__ */ t(function(e) {
2709
2716
  r.error("Error parsing", e), $.parseError?.(e), s(e), o(e);
2710
2717
  });
2711
2718
  }), "performCall");
2712
- ba.push(s), Sa().catch(o);
2719
+ xa.push(s), Ca().catch(o);
2713
2720
  }), "render"), $ = {
2714
2721
  startOnLoad: !0,
2715
2722
  mermaidAPI: Q,
2716
- parse: Ca,
2717
- render: wa,
2718
- init: ga,
2719
- run: pa,
2720
- registerExternalDiagrams: _a,
2723
+ parse: wa,
2724
+ render: Ta,
2725
+ init: _a,
2726
+ run: ma,
2727
+ registerExternalDiagrams: va,
2721
2728
  registerLayoutLoaders: Se,
2722
- initialize: ha,
2729
+ initialize: ga,
2723
2730
  parseError: void 0,
2724
- contentLoaded: va,
2725
- setParseErrorHandler: ya,
2731
+ contentLoaded: ya,
2732
+ setParseErrorHandler: ba,
2726
2733
  detectType: D,
2727
- registerIconPacks: se,
2734
+ registerIconPacks: de,
2728
2735
  getRegisteredDiagramsMetadata: /* @__PURE__ */ t(() => Object.keys(T).map((e) => ({ id: e })), "getRegisteredDiagramsMetadata")
2729
- }, Ta = $;
2736
+ }, Ea = $;
2730
2737
  //#endregion
2731
- export { we as a, Ta as default, Ee as i, qt as n, ge as o, Xt as r, Gn as t };
2738
+ export { we as a, Ea as default, Ee as i, qt as n, ge as o, Xt as r, Kn as t };