@pi-outpost/embed 0.6.3 → 0.6.5

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 (128) hide show
  1. package/dist/{abnfDiagram-VRR7QNED-DlAvVtuC.js → abnfDiagram-VRR7QNED-B7qtYi43.js} +3 -3
  2. package/dist/{abnfDiagram-VRR7QNED-BPTALLb_.cjs → abnfDiagram-VRR7QNED-BYiK127A.cjs} +1 -1
  3. package/dist/{architectureDiagram-ZJ3FMSHR-Bh5-VPPg.cjs → architectureDiagram-ZJ3FMSHR-CnEarI2q.cjs} +1 -1
  4. package/dist/{architectureDiagram-ZJ3FMSHR-D7UsY5ua.js → architectureDiagram-ZJ3FMSHR-Dfn1Eluq.js} +5 -5
  5. package/dist/{blockDiagram-677ZJIJ3-BrXgigdO.cjs → blockDiagram-677ZJIJ3-5sBqwUmB.cjs} +1 -1
  6. package/dist/{blockDiagram-677ZJIJ3-s-fanRPN.js → blockDiagram-677ZJIJ3-DbAJu3k8.js} +7 -7
  7. package/dist/{c4Diagram-LMCZKHZV-DFBVQ9Uo.cjs → c4Diagram-LMCZKHZV-DI1J-00k.cjs} +1 -1
  8. package/dist/{c4Diagram-LMCZKHZV-BbZFAi_K.js → c4Diagram-LMCZKHZV-thRhKJog.js} +3 -3
  9. package/dist/{channel-DV0ST12Z.js → channel-Ba6eou00.js} +1 -1
  10. package/dist/channel-G59is6ug.cjs +1 -0
  11. package/dist/{chunk-32BRIVSS-Byu3FrKX.js → chunk-32BRIVSS-CWVz3-4w.js} +1 -1
  12. package/dist/{chunk-32BRIVSS-oWSJWk-u.cjs → chunk-32BRIVSS-z7FKg2Pv.cjs} +1 -1
  13. package/dist/{chunk-52WLFC77-D9PTsiCj.cjs → chunk-52WLFC77-BQFqILl5.cjs} +1 -1
  14. package/dist/{chunk-52WLFC77-C9zQbcGs.js → chunk-52WLFC77-qxhAtY0M.js} +7 -7
  15. package/dist/{chunk-C7G6YPKG-CDjkH_UW.cjs → chunk-C7G6YPKG-C0kXpvB9.cjs} +1 -1
  16. package/dist/{chunk-C7G6YPKG-GTlyrFFt.js → chunk-C7G6YPKG-D5RsHjmn.js} +1 -1
  17. package/dist/{chunk-EX3LRPZG-u-BKCEWO.cjs → chunk-EX3LRPZG-BQIgFxoP.cjs} +1 -1
  18. package/dist/{chunk-EX3LRPZG-BBldDxGh.js → chunk-EX3LRPZG-DbrJJGQa.js} +5 -5
  19. package/dist/{chunk-FWX5IMBZ-h3GfgkP2.js → chunk-FWX5IMBZ-BqwXqA9g.js} +6 -6
  20. package/dist/{chunk-FWX5IMBZ-nqBth1J9.cjs → chunk-FWX5IMBZ-DuYeCVfe.cjs} +1 -1
  21. package/dist/{chunk-HOUHSVGY-CgfXy94u.cjs → chunk-HOUHSVGY-DV6Acnl8.cjs} +1 -1
  22. package/dist/{chunk-HOUHSVGY-CtRCnz1G.js → chunk-HOUHSVGY-DxW96-AB.js} +1 -1
  23. package/dist/{chunk-ICXQ74PX-CC59NQmW.js → chunk-ICXQ74PX-C0c64VZJ.js} +1 -1
  24. package/dist/{chunk-ICXQ74PX-BmEfYj-r.cjs → chunk-ICXQ74PX-DtHODNRc.cjs} +1 -1
  25. package/dist/{chunk-MOJQB5TN-H2vwz-oQ.cjs → chunk-MOJQB5TN-BMWWOyJv.cjs} +1 -1
  26. package/dist/{chunk-MOJQB5TN-D6YxvkUY.js → chunk-MOJQB5TN-CEfcwUfx.js} +2 -2
  27. package/dist/{chunk-OGEWGWER-BGdqgMza.js → chunk-OGEWGWER-CmVjY0nN.js} +2 -2
  28. package/dist/{chunk-OGEWGWER-BP4o8A-v.cjs → chunk-OGEWGWER-DNcXwflY.cjs} +1 -1
  29. package/dist/{chunk-PUDLZKDR-DtzwSdxX.cjs → chunk-PUDLZKDR-Bj0-QOjk.cjs} +1 -1
  30. package/dist/{chunk-PUDLZKDR-C8jMDFq6.js → chunk-PUDLZKDR-D0QWPoHn.js} +7 -7
  31. package/dist/{chunk-Q4XR5HBZ-COrrWZzi.cjs → chunk-Q4XR5HBZ-DZp3iZyL.cjs} +1 -1
  32. package/dist/{chunk-Q4XR5HBZ-Bk18cMuk.js → chunk-Q4XR5HBZ-Do2IPcal.js} +3 -3
  33. package/dist/{chunk-V7JOEXUC-BROsdKzY.js → chunk-V7JOEXUC-DmZ7gcnm.js} +5 -5
  34. package/dist/{chunk-V7JOEXUC-Cfrm5GQn.cjs → chunk-V7JOEXUC-jX56MdQR.cjs} +1 -1
  35. package/dist/{chunk-VAUOI2AC-05FwamOA.js → chunk-VAUOI2AC-CYw9chtc.js} +1 -1
  36. package/dist/{chunk-VAUOI2AC-CBXi4Di2.cjs → chunk-VAUOI2AC-CjcMRxtg.cjs} +1 -1
  37. package/dist/{chunk-VR4S4FIN-CSU_1xTZ.cjs → chunk-VR4S4FIN-C_53SlqF.cjs} +1 -1
  38. package/dist/{chunk-VR4S4FIN-Ci491c8N.js → chunk-VR4S4FIN-D-R-67xf.js} +1 -1
  39. package/dist/chunk-WYO6CB5R-BeX_IRrv.cjs +127 -0
  40. package/dist/{chunk-WYO6CB5R-Y9HJHB3Q.js → chunk-WYO6CB5R-C9QlJ7t3.js} +115 -86
  41. package/dist/{chunk-ZGVPDNZ5-CDTkXY1G.js → chunk-ZGVPDNZ5-BXZklZiD.js} +6 -6
  42. package/dist/{chunk-ZGVPDNZ5-COEQX4AZ.cjs → chunk-ZGVPDNZ5-DlOaIRV9.cjs} +1 -1
  43. package/dist/classDiagram-OUVF2IWQ-BXk_zmpX.cjs +1 -0
  44. package/dist/classDiagram-OUVF2IWQ-TuB0I2YU.js +30 -0
  45. package/dist/classDiagram-v2-EOCWNBFH-BXk_zmpX.cjs +1 -0
  46. package/dist/{classDiagram-v2-EOCWNBFH-DsRoQgCt.js → classDiagram-v2-EOCWNBFH-BwF0gRU-.js} +12 -12
  47. package/dist/{cynefinDiagram-TSTJHNR4-rKPqxFde.cjs → cynefinDiagram-TSTJHNR4-BvOW3232.cjs} +1 -1
  48. package/dist/{cynefinDiagram-TSTJHNR4-BRUl09PN.js → cynefinDiagram-TSTJHNR4-D0SwDPh4.js} +3 -3
  49. package/dist/{dagre-VKFMJZFB-ChTkS14y.js → dagre-VKFMJZFB-BFmNqGsf.js} +8 -8
  50. package/dist/{dagre-VKFMJZFB-BsfMZfPu.cjs → dagre-VKFMJZFB-CviZfakU.cjs} +1 -1
  51. package/dist/{diagram-FQU43EPY-CdbwLZpm.cjs → diagram-FQU43EPY-BbpqeES9.cjs} +1 -1
  52. package/dist/{diagram-FQU43EPY-BnAYoLDy.js → diagram-FQU43EPY-ZkC_gGab.js} +2 -2
  53. package/dist/{diagram-G47NLZAW-C1ZiELQG.js → diagram-G47NLZAW-DkscVNSn.js} +6 -6
  54. package/dist/{diagram-G47NLZAW-CtWKuxkf.cjs → diagram-G47NLZAW-Y1WmJnra.cjs} +1 -1
  55. package/dist/{diagram-NH7WQ7WH-CG6VWVza.cjs → diagram-NH7WQ7WH-Bz4Neh4O.cjs} +1 -1
  56. package/dist/{diagram-NH7WQ7WH-Be0KXo6w.js → diagram-NH7WQ7WH-DTxScPZq.js} +3 -3
  57. package/dist/{diagram-OA4YK3LP-Drq_GA6o.cjs → diagram-OA4YK3LP-Bb-L6sPQ.cjs} +1 -1
  58. package/dist/{diagram-OA4YK3LP-B7avlqjG.js → diagram-OA4YK3LP-P_wpH5Im.js} +4 -4
  59. package/dist/{diagram-WEI45ONY-CoPX6-sx.js → diagram-WEI45ONY-Cywimh_Q.js} +3 -3
  60. package/dist/{diagram-WEI45ONY-SJmgVL59.cjs → diagram-WEI45ONY-Xve-bzio.cjs} +1 -1
  61. package/dist/{ebnfDiagram-CCIWWBDH-BY7L3HVQ.cjs → ebnfDiagram-CCIWWBDH-BfY9RE3m.cjs} +1 -1
  62. package/dist/{ebnfDiagram-CCIWWBDH-B-T4_JnX.js → ebnfDiagram-CCIWWBDH-pGpPnqYW.js} +3 -3
  63. package/dist/{erDiagram-Q63AITRT-w4C1PxYd.cjs → erDiagram-Q63AITRT-Bu9iy-KQ.cjs} +1 -1
  64. package/dist/{erDiagram-Q63AITRT-DPgZpeaH.js → erDiagram-Q63AITRT-C4mX2n9f.js} +11 -11
  65. package/dist/flowDiagram-23GEKE2U-p9J8mqjX.js +17 -0
  66. package/dist/flowDiagram-23GEKE2U-qNQmKrgX.cjs +1 -0
  67. package/dist/{ganttDiagram-NO4QXBWP-BcBp028S.cjs → ganttDiagram-NO4QXBWP-B23jdPRh.cjs} +1 -1
  68. package/dist/{ganttDiagram-NO4QXBWP-Cf12fLfa.js → ganttDiagram-NO4QXBWP-DniUcCQY.js} +2 -2
  69. package/dist/{gitGraphDiagram-IHSO6WYX-13ahKewT.js → gitGraphDiagram-IHSO6WYX-C90HZKUb.js} +2 -2
  70. package/dist/{gitGraphDiagram-IHSO6WYX-BTtNkGkN.cjs → gitGraphDiagram-IHSO6WYX-DWdu5n9P.cjs} +1 -1
  71. package/dist/{infoDiagram-FWYZ7A6U-DcV-eSsb.js → infoDiagram-FWYZ7A6U-DYxiankl.js} +2 -2
  72. package/dist/{infoDiagram-FWYZ7A6U-20rh0VNL.cjs → infoDiagram-FWYZ7A6U-oZ8okdlc.cjs} +1 -1
  73. package/dist/{ishikawaDiagram-FXEZZL3T-BTaBCHIG.js → ishikawaDiagram-FXEZZL3T-DoLXsB43.js} +3 -3
  74. package/dist/{ishikawaDiagram-FXEZZL3T-BUq5kcFI.cjs → ishikawaDiagram-FXEZZL3T-Duf4wJ7z.cjs} +1 -1
  75. package/dist/{journeyDiagram-5HDEW3XC-Cl9Z4b58.js → journeyDiagram-5HDEW3XC-AnP7Hgyg.js} +2 -2
  76. package/dist/{journeyDiagram-5HDEW3XC-XQa-rhY_.cjs → journeyDiagram-5HDEW3XC-CtmpqS0G.cjs} +1 -1
  77. package/dist/{kanban-definition-HUTT4EX6-DVHXUPOt.cjs → kanban-definition-HUTT4EX6-U7vhLTXB.cjs} +1 -1
  78. package/dist/{kanban-definition-HUTT4EX6-CtWnZ0nS.js → kanban-definition-HUTT4EX6-sNNSXAcc.js} +8 -8
  79. package/dist/{line-O2xx2vVQ.js → line-BCC5VaQh.js} +1 -1
  80. package/dist/{line-Ca8dE_lT.cjs → line-CzTN7vFx.cjs} +1 -1
  81. package/dist/{mermaid.core-BR-iKb2Q.js → mermaid.core-D4MSGV51.js} +48 -48
  82. package/dist/{mermaid.core-DQrbAA--.cjs → mermaid.core-DsQ2cTZb.cjs} +2 -2
  83. package/dist/{mindmap-definition-LN4V7U3C-C0I9iWmq.cjs → mindmap-definition-LN4V7U3C-BDXyXsYc.cjs} +1 -1
  84. package/dist/{mindmap-definition-LN4V7U3C-lkSmRsIC.js → mindmap-definition-LN4V7U3C-CDdi0CNr.js} +10 -10
  85. package/dist/{ordinal-CCTD6_le.js → ordinal-C1oQzsBn.js} +1 -1
  86. package/dist/{ordinal-CUPR-p0T.cjs → ordinal-D0iNZ43g.cjs} +1 -1
  87. package/dist/{pegDiagram-2B236MQR-BgRCQTZd.js → pegDiagram-2B236MQR-C2iFSdWA.js} +3 -3
  88. package/dist/{pegDiagram-2B236MQR-hlmRl_PA.cjs → pegDiagram-2B236MQR-PUegmPq4.cjs} +1 -1
  89. package/dist/pi-outpost-embed.cjs +1 -1
  90. package/dist/pi-outpost-embed.js +1 -1
  91. package/dist/{pieDiagram-ENE6RG2P-BVi7ck2I.js → pieDiagram-ENE6RG2P-BD4E9x3q.js} +4 -4
  92. package/dist/{pieDiagram-ENE6RG2P-Buuvrs-h.cjs → pieDiagram-ENE6RG2P-DdCURg8Z.cjs} +1 -1
  93. package/dist/{quadrantDiagram-ABIIQ3AL-DeU97c2B.js → quadrantDiagram-ABIIQ3AL-B29o3-5x.js} +1 -1
  94. package/dist/{quadrantDiagram-ABIIQ3AL-LCbC0LEt.cjs → quadrantDiagram-ABIIQ3AL-D_HJfnw7.cjs} +1 -1
  95. package/dist/{railroadDiagram-RFXS5EU6-CMTDNjsw.cjs → railroadDiagram-RFXS5EU6-Bqz7Hmlf.cjs} +1 -1
  96. package/dist/{railroadDiagram-RFXS5EU6-DNSNpLmQ.js → railroadDiagram-RFXS5EU6-Eu2-eTxR.js} +3 -3
  97. package/dist/{requirementDiagram-TGXJPOKE-irImpO8w.cjs → requirementDiagram-TGXJPOKE-B7upMxNQ.cjs} +1 -1
  98. package/dist/{requirementDiagram-TGXJPOKE-CdspXMgv.js → requirementDiagram-TGXJPOKE-DE9BVZKg.js} +10 -10
  99. package/dist/{sankeyDiagram-HTMAVEWB-BQcvUCMA.js → sankeyDiagram-HTMAVEWB-DWYscCb7.js} +2 -2
  100. package/dist/{sankeyDiagram-HTMAVEWB-B0ZJBVpN.cjs → sankeyDiagram-HTMAVEWB-UgWMXgH0.cjs} +1 -1
  101. package/dist/{sequenceDiagram-DBY2YBRQ-BQFP2DGs.js → sequenceDiagram-DBY2YBRQ-2Q8poJLj.js} +3 -3
  102. package/dist/{sequenceDiagram-DBY2YBRQ-C5WukkcA.cjs → sequenceDiagram-DBY2YBRQ-B8Wj3FxL.cjs} +1 -1
  103. package/dist/{stateDiagram-2N3HPSRC-4aBQt5dk.js → stateDiagram-2N3HPSRC-D5l36r9f.js} +13 -13
  104. package/dist/{stateDiagram-2N3HPSRC-YbRd67eD.cjs → stateDiagram-2N3HPSRC-DdBm7zAq.cjs} +1 -1
  105. package/dist/{stateDiagram-v2-6OUMAXLB-D-c6D5za.js → stateDiagram-v2-6OUMAXLB-B32DzP9u.js} +12 -12
  106. package/dist/stateDiagram-v2-6OUMAXLB-Dt4my2LB.cjs +1 -0
  107. package/dist/{swimlanes-5IMT3BWC-aKH3Xgob.js → swimlanes-5IMT3BWC-C-d6S2T8.js} +8 -8
  108. package/dist/{swimlanes-5IMT3BWC-C8zkS7yx.cjs → swimlanes-5IMT3BWC-DLXSmhPP.cjs} +1 -1
  109. package/dist/swimlanesDiagram-G3AALYLV-BFTabgJm.cjs +8 -0
  110. package/dist/{swimlanesDiagram-G3AALYLV-BcgsG1in.js → swimlanesDiagram-G3AALYLV-yAL_7-lO.js} +12 -12
  111. package/dist/{timeline-definition-FHXFAJF6-DS-X0FCl.cjs → timeline-definition-FHXFAJF6-DjbbA72K.cjs} +1 -1
  112. package/dist/{timeline-definition-FHXFAJF6-Lnag6wiw.js → timeline-definition-FHXFAJF6-M0fyTC2Q.js} +3 -3
  113. package/dist/{vennDiagram-L72KCM5P-DYZP8jT_.cjs → vennDiagram-L72KCM5P-BzU_8gqp.cjs} +1 -1
  114. package/dist/{vennDiagram-L72KCM5P-CF7lC7jn.js → vennDiagram-L72KCM5P-PAy6Hi1U.js} +3 -3
  115. package/dist/{wardleyDiagram-EHGQE667-Dxewrpeh.cjs → wardleyDiagram-EHGQE667-DQgwqGGC.cjs} +1 -1
  116. package/dist/{wardleyDiagram-EHGQE667-CbtWlMOa.js → wardleyDiagram-EHGQE667-KQfJDE49.js} +3 -3
  117. package/dist/{xychartDiagram-FW5EYKEG-BAnVfMdN.cjs → xychartDiagram-FW5EYKEG-BJuIG0ER.cjs} +1 -1
  118. package/dist/{xychartDiagram-FW5EYKEG-DmdGPSi6.js → xychartDiagram-FW5EYKEG-Cgi_Sfv1.js} +7 -7
  119. package/package.json +1 -1
  120. package/dist/channel-DkMGzfUR.cjs +0 -1
  121. package/dist/chunk-WYO6CB5R-BTvDzbWd.cjs +0 -127
  122. package/dist/classDiagram-OUVF2IWQ-Avsu6OKn.cjs +0 -1
  123. package/dist/classDiagram-OUVF2IWQ-eC72Wwol.js +0 -30
  124. package/dist/classDiagram-v2-EOCWNBFH-Avsu6OKn.cjs +0 -1
  125. package/dist/flowDiagram-23GEKE2U-CQxPdUX4.cjs +0 -1
  126. package/dist/flowDiagram-23GEKE2U-ClCSBl2p.js +0 -17
  127. package/dist/stateDiagram-v2-6OUMAXLB-ciXN_270.cjs +0 -1
  128. package/dist/swimlanesDiagram-G3AALYLV-CBjVJdH0.cjs +0 -8
@@ -2,12 +2,12 @@ import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
2
2
  import { n } from "./mermaid-parser.core-B8DQcCaz.js";
3
3
  import { n as r } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
4
4
  import { m as i, p as a } from "./src-DJ4x3y2O.js";
5
- import { H as o, J as s, K as c, U as l, a as u, b as d, f, v as p, w as m, x as h, y as g, z as _ } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
6
- import { c as v, i as y } from "./chunk-ICXQ74PX-CC59NQmW.js";
7
- import { t as b } from "./chunk-VAUOI2AC-05FwamOA.js";
5
+ import { H as o, J as s, K as c, U as l, a as u, b as d, f, v as p, w as m, x as h, y as g, z as _ } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
6
+ import { c as v, i as y } from "./chunk-ICXQ74PX-C0c64VZJ.js";
7
+ import { t as b } from "./chunk-VAUOI2AC-CYw9chtc.js";
8
8
  import { t as x } from "./chunk-JWPE2WC7-B_J6qwQL.js";
9
- import { i as S, r as C, t as w } from "./chunk-HOUHSVGY-CtRCnz1G.js";
10
- import { n as T } from "./chunk-Q4XR5HBZ-Bk18cMuk.js";
9
+ import { i as S, r as C, t as w } from "./chunk-HOUHSVGY-DxW96-AB.js";
10
+ import { n as T } from "./chunk-Q4XR5HBZ-Do2IPcal.js";
11
11
  import { t as E } from "./cytoscape.esm-asYnbYTy.js";
12
12
  //#region ../node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js
13
13
  var D = /* @__PURE__ */ t(((e, t) => {
@@ -1,4 +1,4 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),r=require("./channel-DkMGzfUR.cjs"),i=require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),a=require("./line-Ca8dE_lT.cjs");require("./chunk-HOUHSVGY-CgfXy94u.cjs");const o=require("./chunk-Q4XR5HBZ-COrrWZzi.cjs"),s=require("./chunk-5VM5RSS4-CwDmQ9T_.cjs"),c=require("./chunk-7BUUIJ7U-MzS1pW_S.cjs"),l=require("./chunk-OGEWGWER-BP4o8A-v.cjs"),u=require("./graphlib-CkkG5MuS.cjs");function d(e){return Array.isArray(e)}function f(e){if(i.b(e))return e;let t=i.G(e);if(!p(e))return{};if(d(e)){let t=Array.from(e);return e.length>0&&typeof e[0]==`string`&&Object.hasOwn(e,`index`)&&(t.index=e.index,t.input=e.input),t}if(i.v(e)){let t=e,n=t.constructor;return new n(t.buffer,t.byteOffset,t.length)}if(t===`[object ArrayBuffer]`)return new ArrayBuffer(e.byteLength);if(t===`[object DataView]`){let t=e,n=t.buffer,r=t.byteOffset,i=t.byteLength,a=new ArrayBuffer(i),o=new Uint8Array(n,r,i);return new Uint8Array(a).set(o),new DataView(a)}if(t===`[object Boolean]`||t===`[object Number]`||t===`[object String]`){let n=e.constructor,r=new n(e.valueOf());return t===`[object String]`?g(r,e):m(r,e),r}if(t===`[object Date]`)return new Date(Number(e));if(t===`[object RegExp]`){let t=e,n=new RegExp(t.source,t.flags);return n.lastIndex=t.lastIndex,n}if(t===`[object Symbol]`)return Object(Symbol.prototype.valueOf.call(e));if(t===`[object Map]`){let t=e,n=new Map;return t.forEach((e,t)=>{n.set(t,e)}),n}if(t===`[object Set]`){let t=e,n=new Set;return t.forEach(e=>{n.add(e)}),n}if(t===`[object Arguments]`){let t=e,n={};return m(n,t),n.length=t.length,n[Symbol.iterator]=t[Symbol.iterator],n}let n={};return _(n,e),m(n,e),h(n,e),n}function p(e){switch(i.G(e)){case i.C:case i.T:case i.w:case i.D:case i.E:case i.O:case i.k:case i.A:case i.N:case i.j:case i.M:case i.P:case i.F:case i.I:case i.L:case i.R:case i.z:case i.B:case i.U:case i.W:case i.V:case i.H:return!0;default:return!1}}function m(e,t){for(let n in t)Object.hasOwn(t,n)&&(e[n]=t[n])}function h(e,t){let n=Object.getOwnPropertySymbols(t);for(let r=0;r<n.length;r++){let i=n[r];Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}}function g(e,t){let n=t.valueOf().length;for(let r in t)Object.hasOwn(t,r)&&(Number.isNaN(Number(r))||Number(r)>=n)&&(e[r]=t[r])}function _(e,t){let n=Object.getPrototypeOf(t);n!==null&&typeof t.constructor==`function`&&Object.setPrototypeOf(e,n)}var v=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,15],r=[1,7],i=[1,13],a=[1,14],o=[1,19],s=[1,16],c=[1,17],l=[1,18],u=[8,30],d=[8,10,21,28,29,30,31,39,43,46],f=[1,23],p=[1,24],m=[8,10,15,16,21,28,29,30,31,39,43,46],h=[8,10,15,16,21,27,28,29,30,31,39,43,46],g=[1,49],_={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACELINE`,5:`NL`,7:`SPACE`,8:`EOF`,10:`BLOCK_DIAGRAM_KEY`,15:`LINK`,16:`START_LINK`,17:`LINK_LABEL`,18:`STR`,21:`SPACE_BLOCK`,27:`SIZE`,28:`COLUMNS`,29:`id-block`,30:`end`,31:`NODE_ID`,34:`DIR`,35:`NODE_DSTART`,36:`NODE_DEND`,37:`BLOCK_ARROW_START`,38:`BLOCK_ARROW_END`,39:`classDef`,40:`CLASSDEF_ID`,41:`CLASSDEF_STYLEOPTS`,42:`DEFAULT`,43:`class`,44:`CLASSENTITY_IDS`,45:`STYLECLASS`,46:`style`,47:`STYLE_ENTITY_IDS`,48:`STYLE_DEFINITION_DATA`},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.getLogger().debug(`Rule: separator (NL) `);break;case 5:r.getLogger().debug(`Rule: separator (Space) `);break;case 6:r.getLogger().debug(`Rule: separator (EOF) `);break;case 7:r.getLogger().debug(`Rule: hierarchy: `,a[s-1]),r.setHierarchy(a[s-1]);break;case 8:r.getLogger().debug(`Stop NL `);break;case 9:r.getLogger().debug(`Stop EOF `);break;case 10:r.getLogger().debug(`Stop NL2 `);break;case 11:r.getLogger().debug(`Stop EOF2 `);break;case 12:r.getLogger().debug(`Rule: statement: `,a[s]),typeof a[s].length==`number`?this.$=a[s]:this.$=[a[s]];break;case 13:r.getLogger().debug(`Rule: statement #2: `,a[s-1]),this.$=[a[s-1]].concat(a[s]);break;case 14:r.getLogger().debug(`Rule: link: `,a[s],e),this.$={edgeTypeStr:a[s],label:``};break;case 15:r.getLogger().debug(`Rule: LABEL link: `,a[s-3],a[s-1],a[s]),this.$={edgeTypeStr:a[s],label:a[s-1]};break;case 18:let t=parseInt(a[s]),n=r.generateId();this.$={id:n,type:`space`,label:``,width:t,children:[]};break;case 23:r.getLogger().debug(`Rule: (nodeStatement link node) `,a[s-2],a[s-1],a[s],` typestr: `,a[s-1].edgeTypeStr);let i=r.edgeStrToEdgeData(a[s-1].edgeTypeStr),o=r.edgeStrToEdgeStartData(a[s-1].edgeTypeStr),c=r.edgeStrToThickness(a[s-1].edgeTypeStr),l=r.edgeStrToPattern(a[s-1].edgeTypeStr);this.$=[{id:a[s-2].id,label:a[s-2].label,type:a[s-2].type,directions:a[s-2].directions},{id:a[s-2].id+`-`+a[s].id,start:a[s-2].id,end:a[s].id,label:a[s-1].label,type:`edge`,thickness:c,pattern:l,directions:a[s].directions,arrowTypeEnd:i,arrowTypeStart:o},{id:a[s].id,label:a[s].label,type:r.typeStr2Type(a[s].typeStr),directions:a[s].directions}];break;case 24:r.getLogger().debug(`Rule: nodeStatement (abc88 node size) `,a[s-1],a[s]),this.$={id:a[s-1].id,label:a[s-1].label,type:r.typeStr2Type(a[s-1].typeStr),directions:a[s-1].directions,widthInColumns:parseInt(a[s],10)};break;case 25:r.getLogger().debug(`Rule: nodeStatement (node) `,a[s]),this.$={id:a[s].id,label:a[s].label,type:r.typeStr2Type(a[s].typeStr),directions:a[s].directions,widthInColumns:1};break;case 26:r.getLogger().debug(`APA123`,this?this:`na`),r.getLogger().debug(`COLUMNS: `,a[s]),this.$={type:`column-setting`,columns:a[s]===`auto`?-1:parseInt(a[s])};break;case 27:r.getLogger().debug(`Rule: id-block statement : `,a[s-2],a[s-1]),r.generateId(),this.$={...a[s-2],type:`composite`,children:a[s-1]};break;case 28:r.getLogger().debug(`Rule: blockStatement : `,a[s-2],a[s-1],a[s]);let u=r.generateId();this.$={id:u,type:`composite`,label:``,children:a[s-1]};break;case 29:r.getLogger().debug(`Rule: node (NODE_ID separator): `,a[s]),this.$={id:a[s]};break;case 30:r.getLogger().debug(`Rule: node (NODE_ID nodeShapeNLabel separator): `,a[s-1],a[s]),this.$={id:a[s-1],label:a[s].label,typeStr:a[s].typeStr,directions:a[s].directions};break;case 31:r.getLogger().debug(`Rule: dirList: `,a[s]),this.$=[a[s]];break;case 32:r.getLogger().debug(`Rule: dirList: `,a[s-1],a[s]),this.$=[a[s-1]].concat(a[s]);break;case 33:r.getLogger().debug(`Rule: nodeShapeNLabel: `,a[s-2],a[s-1],a[s]),this.$={typeStr:a[s-2]+a[s],label:a[s-1]};break;case 34:r.getLogger().debug(`Rule: BLOCK_ARROW nodeShapeNLabel: `,a[s-3],a[s-2],` #3:`,a[s-1],a[s]),this.$={typeStr:a[s-3]+a[s],label:a[s-2],directions:a[s-1]};break;case 35:case 36:this.$={type:`classDef`,id:a[s-1].trim(),css:a[s].trim()};break;case 37:this.$={type:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:this.$={type:`applyStyles`,id:a[s-1].trim(),stylesStr:a[s].trim()};break}},`anonymous`),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{8:[1,20]},t(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:r,28:i,29:a,31:o,39:s,43:c,46:l}),t(d,[2,16],{14:22,15:f,16:p}),t(d,[2,17]),t(d,[2,18]),t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),t(d,[2,22]),t(m,[2,25],{27:[1,25]}),t(d,[2,26]),{19:26,26:12,31:o},{10:n,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(h,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(u,[2,13]),{26:35,31:o},{31:[2,14]},{17:[1,36]},t(m,[2,24]),{10:n,11:37,13:4,14:22,15:f,16:p,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(h,[2,30]),{18:[1,43]},{18:[1,44]},t(m,[2,23]),{18:[1,45]},{30:[1,46]},t(d,[2,28]),t(d,[2,35]),t(d,[2,36]),t(d,[2,37]),t(d,[2,38]),{36:[1,47]},{33:48,34:g},{15:[1,50]},t(d,[2,27]),t(h,[2,33]),{38:[1,51]},{33:52,34:g,38:[2,31]},{31:[2,15]},t(h,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs"),r=require("./channel-G59is6ug.cjs"),i=require("./chunk-ICXQ74PX-DtHODNRc.cjs"),a=require("./line-CzTN7vFx.cjs");require("./chunk-HOUHSVGY-DV6Acnl8.cjs");const o=require("./chunk-Q4XR5HBZ-DZp3iZyL.cjs"),s=require("./chunk-5VM5RSS4-CwDmQ9T_.cjs"),c=require("./chunk-7BUUIJ7U-MzS1pW_S.cjs"),l=require("./chunk-OGEWGWER-DNcXwflY.cjs"),u=require("./graphlib-CkkG5MuS.cjs");function d(e){return Array.isArray(e)}function f(e){if(i.b(e))return e;let t=i.G(e);if(!p(e))return{};if(d(e)){let t=Array.from(e);return e.length>0&&typeof e[0]==`string`&&Object.hasOwn(e,`index`)&&(t.index=e.index,t.input=e.input),t}if(i.v(e)){let t=e,n=t.constructor;return new n(t.buffer,t.byteOffset,t.length)}if(t===`[object ArrayBuffer]`)return new ArrayBuffer(e.byteLength);if(t===`[object DataView]`){let t=e,n=t.buffer,r=t.byteOffset,i=t.byteLength,a=new ArrayBuffer(i),o=new Uint8Array(n,r,i);return new Uint8Array(a).set(o),new DataView(a)}if(t===`[object Boolean]`||t===`[object Number]`||t===`[object String]`){let n=e.constructor,r=new n(e.valueOf());return t===`[object String]`?g(r,e):m(r,e),r}if(t===`[object Date]`)return new Date(Number(e));if(t===`[object RegExp]`){let t=e,n=new RegExp(t.source,t.flags);return n.lastIndex=t.lastIndex,n}if(t===`[object Symbol]`)return Object(Symbol.prototype.valueOf.call(e));if(t===`[object Map]`){let t=e,n=new Map;return t.forEach((e,t)=>{n.set(t,e)}),n}if(t===`[object Set]`){let t=e,n=new Set;return t.forEach(e=>{n.add(e)}),n}if(t===`[object Arguments]`){let t=e,n={};return m(n,t),n.length=t.length,n[Symbol.iterator]=t[Symbol.iterator],n}let n={};return _(n,e),m(n,e),h(n,e),n}function p(e){switch(i.G(e)){case i.C:case i.T:case i.w:case i.D:case i.E:case i.O:case i.k:case i.A:case i.N:case i.j:case i.M:case i.P:case i.F:case i.I:case i.L:case i.R:case i.z:case i.B:case i.U:case i.W:case i.V:case i.H:return!0;default:return!1}}function m(e,t){for(let n in t)Object.hasOwn(t,n)&&(e[n]=t[n])}function h(e,t){let n=Object.getOwnPropertySymbols(t);for(let r=0;r<n.length;r++){let i=n[r];Object.prototype.propertyIsEnumerable.call(t,i)&&(e[i]=t[i])}}function g(e,t){let n=t.valueOf().length;for(let r in t)Object.hasOwn(t,r)&&(Number.isNaN(Number(r))||Number(r)>=n)&&(e[r]=t[r])}function _(e,t){let n=Object.getPrototypeOf(t);n!==null&&typeof t.constructor==`function`&&Object.setPrototypeOf(e,n)}var v=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,15],r=[1,7],i=[1,13],a=[1,14],o=[1,19],s=[1,16],c=[1,17],l=[1,18],u=[8,30],d=[8,10,21,28,29,30,31,39,43,46],f=[1,23],p=[1,24],m=[8,10,15,16,21,28,29,30,31,39,43,46],h=[8,10,15,16,21,27,28,29,30,31,39,43,46],g=[1,49],_={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACELINE`,5:`NL`,7:`SPACE`,8:`EOF`,10:`BLOCK_DIAGRAM_KEY`,15:`LINK`,16:`START_LINK`,17:`LINK_LABEL`,18:`STR`,21:`SPACE_BLOCK`,27:`SIZE`,28:`COLUMNS`,29:`id-block`,30:`end`,31:`NODE_ID`,34:`DIR`,35:`NODE_DSTART`,36:`NODE_DEND`,37:`BLOCK_ARROW_START`,38:`BLOCK_ARROW_END`,39:`classDef`,40:`CLASSDEF_ID`,41:`CLASSDEF_STYLEOPTS`,42:`DEFAULT`,43:`class`,44:`CLASSENTITY_IDS`,45:`STYLECLASS`,46:`style`,47:`STYLE_ENTITY_IDS`,48:`STYLE_DEFINITION_DATA`},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 4:r.getLogger().debug(`Rule: separator (NL) `);break;case 5:r.getLogger().debug(`Rule: separator (Space) `);break;case 6:r.getLogger().debug(`Rule: separator (EOF) `);break;case 7:r.getLogger().debug(`Rule: hierarchy: `,a[s-1]),r.setHierarchy(a[s-1]);break;case 8:r.getLogger().debug(`Stop NL `);break;case 9:r.getLogger().debug(`Stop EOF `);break;case 10:r.getLogger().debug(`Stop NL2 `);break;case 11:r.getLogger().debug(`Stop EOF2 `);break;case 12:r.getLogger().debug(`Rule: statement: `,a[s]),typeof a[s].length==`number`?this.$=a[s]:this.$=[a[s]];break;case 13:r.getLogger().debug(`Rule: statement #2: `,a[s-1]),this.$=[a[s-1]].concat(a[s]);break;case 14:r.getLogger().debug(`Rule: link: `,a[s],e),this.$={edgeTypeStr:a[s],label:``};break;case 15:r.getLogger().debug(`Rule: LABEL link: `,a[s-3],a[s-1],a[s]),this.$={edgeTypeStr:a[s],label:a[s-1]};break;case 18:let t=parseInt(a[s]),n=r.generateId();this.$={id:n,type:`space`,label:``,width:t,children:[]};break;case 23:r.getLogger().debug(`Rule: (nodeStatement link node) `,a[s-2],a[s-1],a[s],` typestr: `,a[s-1].edgeTypeStr);let i=r.edgeStrToEdgeData(a[s-1].edgeTypeStr),o=r.edgeStrToEdgeStartData(a[s-1].edgeTypeStr),c=r.edgeStrToThickness(a[s-1].edgeTypeStr),l=r.edgeStrToPattern(a[s-1].edgeTypeStr);this.$=[{id:a[s-2].id,label:a[s-2].label,type:a[s-2].type,directions:a[s-2].directions},{id:a[s-2].id+`-`+a[s].id,start:a[s-2].id,end:a[s].id,label:a[s-1].label,type:`edge`,thickness:c,pattern:l,directions:a[s].directions,arrowTypeEnd:i,arrowTypeStart:o},{id:a[s].id,label:a[s].label,type:r.typeStr2Type(a[s].typeStr),directions:a[s].directions}];break;case 24:r.getLogger().debug(`Rule: nodeStatement (abc88 node size) `,a[s-1],a[s]),this.$={id:a[s-1].id,label:a[s-1].label,type:r.typeStr2Type(a[s-1].typeStr),directions:a[s-1].directions,widthInColumns:parseInt(a[s],10)};break;case 25:r.getLogger().debug(`Rule: nodeStatement (node) `,a[s]),this.$={id:a[s].id,label:a[s].label,type:r.typeStr2Type(a[s].typeStr),directions:a[s].directions,widthInColumns:1};break;case 26:r.getLogger().debug(`APA123`,this?this:`na`),r.getLogger().debug(`COLUMNS: `,a[s]),this.$={type:`column-setting`,columns:a[s]===`auto`?-1:parseInt(a[s])};break;case 27:r.getLogger().debug(`Rule: id-block statement : `,a[s-2],a[s-1]),r.generateId(),this.$={...a[s-2],type:`composite`,children:a[s-1]};break;case 28:r.getLogger().debug(`Rule: blockStatement : `,a[s-2],a[s-1],a[s]);let u=r.generateId();this.$={id:u,type:`composite`,label:``,children:a[s-1]};break;case 29:r.getLogger().debug(`Rule: node (NODE_ID separator): `,a[s]),this.$={id:a[s]};break;case 30:r.getLogger().debug(`Rule: node (NODE_ID nodeShapeNLabel separator): `,a[s-1],a[s]),this.$={id:a[s-1],label:a[s].label,typeStr:a[s].typeStr,directions:a[s].directions};break;case 31:r.getLogger().debug(`Rule: dirList: `,a[s]),this.$=[a[s]];break;case 32:r.getLogger().debug(`Rule: dirList: `,a[s-1],a[s]),this.$=[a[s-1]].concat(a[s]);break;case 33:r.getLogger().debug(`Rule: nodeShapeNLabel: `,a[s-2],a[s-1],a[s]),this.$={typeStr:a[s-2]+a[s],label:a[s-1]};break;case 34:r.getLogger().debug(`Rule: BLOCK_ARROW nodeShapeNLabel: `,a[s-3],a[s-2],` #3:`,a[s-1],a[s]),this.$={typeStr:a[s-3]+a[s],label:a[s-2],directions:a[s-1]};break;case 35:case 36:this.$={type:`classDef`,id:a[s-1].trim(),css:a[s].trim()};break;case 37:this.$={type:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:this.$={type:`applyStyles`,id:a[s-1].trim(),stylesStr:a[s].trim()};break}},`anonymous`),table:[{9:1,10:[1,2]},{1:[3]},{10:n,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{8:[1,20]},t(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:n,21:r,28:i,29:a,31:o,39:s,43:c,46:l}),t(d,[2,16],{14:22,15:f,16:p}),t(d,[2,17]),t(d,[2,18]),t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),t(d,[2,22]),t(m,[2,25],{27:[1,25]}),t(d,[2,26]),{19:26,26:12,31:o},{10:n,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(h,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(u,[2,13]),{26:35,31:o},{31:[2,14]},{17:[1,36]},t(m,[2,24]),{10:n,11:37,13:4,14:22,15:f,16:p,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:i,29:a,31:o,39:s,43:c,46:l},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(h,[2,30]),{18:[1,43]},{18:[1,44]},t(m,[2,23]),{18:[1,45]},{30:[1,46]},t(d,[2,28]),t(d,[2,35]),t(d,[2,36]),t(d,[2,37]),t(d,[2,38]),{36:[1,47]},{33:48,34:g},{15:[1,50]},t(d,[2,27]),t(h,[2,33]),{38:[1,51]},{33:52,34:g,38:[2,31]},{31:[2,15]},t(h,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};_.lexer=(function(){return{EOF:1,parseError:e.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.n(function(){return this._more=!0,this},`more`),reject:e.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1,14 +1,14 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
- import { O as r, T as i, a, b as o, c as s, it as c, s as l, x as u, z as d } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
4
- import { t as f } from "./channel-DV0ST12Z.js";
5
- import { A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, L as S, M as C, N as w, O as T, P as E, R as D, T as O, U as k, V as A, W as j, a as M, b as ee, et as te, g as N, j as ne, k as re, l as ie, v as ae, w as oe, z as se } from "./chunk-ICXQ74PX-CC59NQmW.js";
6
- import { t as ce } from "./line-O2xx2vVQ.js";
7
- import "./chunk-HOUHSVGY-CtRCnz1G.js";
8
- import { n as P } from "./chunk-Q4XR5HBZ-Bk18cMuk.js";
3
+ import { O as r, T as i, a, b as o, c as s, it as c, s as l, x as u, z as d } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
+ import { t as f } from "./channel-Ba6eou00.js";
5
+ import { A as p, B as m, C as h, D as g, E as _, F as v, G as y, H as b, I as x, L as S, M as C, N as w, O as T, P as E, R as D, T as O, U as k, V as A, W as j, a as M, b as ee, et as te, g as N, j as ne, k as re, l as ie, v as ae, w as oe, z as se } from "./chunk-ICXQ74PX-C0c64VZJ.js";
6
+ import { t as ce } from "./line-BCC5VaQh.js";
7
+ import "./chunk-HOUHSVGY-DxW96-AB.js";
8
+ import { n as P } from "./chunk-Q4XR5HBZ-Do2IPcal.js";
9
9
  import { t as le } from "./chunk-5VM5RSS4-BMfgdMFU.js";
10
10
  import { n as ue, t as F } from "./chunk-7BUUIJ7U-BFUeQBoS.js";
11
- import { n as de, t as fe } from "./chunk-OGEWGWER-BGdqgMza.js";
11
+ import { n as de, t as fe } from "./chunk-OGEWGWER-CmVjY0nN.js";
12
12
  import { t as pe } from "./graphlib-B0GbLif1.js";
13
13
  //#region ../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
14
14
  function me(e) {
@@ -1,4 +1,4 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),r=require("./dist-DNGlMOWd.cjs"),i=require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),a=require("./chunk-32BRIVSS-oWSJWk-u.cjs");var o=r.t(),s=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,24],r=[1,25],i=[1,26],a=[1,27],o=[1,28],s=[1,63],l=[1,64],u=[1,65],d=[1,66],f=[1,67],p=[1,68],m=[1,69],h=[1,29],g=[1,30],_=[1,31],v=[1,32],y=[1,33],b=[1,34],x=[1,35],S=[1,36],C=[1,37],w=[1,38],T=[1,39],E=[1,40],D=[1,41],O=[1,42],k=[1,43],A=[1,44],j=[1,45],M=[1,46],N=[1,47],P=[1,48],F=[1,50],ee=[1,51],te=[1,52],I=[1,53],L=[1,54],R=[1,55],z=[1,56],B=[1,57],V=[1,58],ne=[1,59],H=[1,60],U=[14,42],re=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ie=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],W=[1,82],G=[1,83],K=[1,84],q=[1,85],J=[12,14,42],ae=[12,14,33,42],oe=[12,14,33,42,76,77,79,80],se=[12,33],ce=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],le={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:`error`,6:`direction_tb`,7:`direction_bt`,8:`direction_rl`,9:`direction_lr`,11:`C4_CONTEXT`,12:`NEWLINE`,14:`EOF`,15:`C4_CONTAINER`,16:`C4_COMPONENT`,17:`C4_DYNAMIC`,18:`C4_DEPLOYMENT`,22:`title`,23:`accDescription`,24:`acc_title`,25:`acc_title_value`,26:`acc_descr`,27:`acc_descr_value`,28:`acc_descr_multiline_value`,33:`LBRACE`,34:`ENTERPRISE_BOUNDARY`,36:`SYSTEM_BOUNDARY`,37:`BOUNDARY`,38:`CONTAINER_BOUNDARY`,39:`NODE`,40:`NODE_L`,41:`NODE_R`,42:`RBRACE`,44:`PERSON`,45:`PERSON_EXT`,46:`SYSTEM`,47:`SYSTEM_DB`,48:`SYSTEM_QUEUE`,49:`SYSTEM_EXT`,50:`SYSTEM_EXT_DB`,51:`SYSTEM_EXT_QUEUE`,52:`CONTAINER`,53:`CONTAINER_DB`,54:`CONTAINER_QUEUE`,55:`CONTAINER_EXT`,56:`CONTAINER_EXT_DB`,57:`CONTAINER_EXT_QUEUE`,58:`COMPONENT`,59:`COMPONENT_DB`,60:`COMPONENT_QUEUE`,61:`COMPONENT_EXT`,62:`COMPONENT_EXT_DB`,63:`COMPONENT_EXT_QUEUE`,64:`REL`,65:`BIREL`,66:`REL_U`,67:`REL_D`,68:`REL_L`,69:`REL_R`,70:`REL_B`,71:`REL_INDEX`,72:`UPDATE_EL_STYLE`,73:`UPDATE_REL_STYLE`,74:`UPDATE_LAYOUT_CONFIG`,76:`STR`,77:`STR_KEY`,78:`STR_VALUE`,79:`ATTRIBUTE`,80:`ATTRIBUTE_EMPTY`},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:r.setDirection(`TB`);break;case 4:r.setDirection(`BT`);break;case 5:r.setDirection(`RL`);break;case 6:r.setDirection(`LR`);break;case 8:case 9:case 10:case 11:case 12:r.setC4Type(a[s-3]);break;case 19:r.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 20:r.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 21:this.$=a[s].trim(),r.setTitle(this.$);break;case 22:case 23:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 28:a[s].splice(2,0,`ENTERPRISE`),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 29:a[s].splice(2,0,`SYSTEM`),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 30:r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 31:a[s].splice(2,0,`CONTAINER`),r.addContainerBoundary(...a[s]),this.$=a[s];break;case 32:r.addDeploymentNode(`node`,...a[s]),this.$=a[s];break;case 33:r.addDeploymentNode(`nodeL`,...a[s]),this.$=a[s];break;case 34:r.addDeploymentNode(`nodeR`,...a[s]),this.$=a[s];break;case 35:r.popBoundaryParseStack();break;case 39:r.addPersonOrSystem(`person`,...a[s]),this.$=a[s];break;case 40:r.addPersonOrSystem(`external_person`,...a[s]),this.$=a[s];break;case 41:r.addPersonOrSystem(`system`,...a[s]),this.$=a[s];break;case 42:r.addPersonOrSystem(`system_db`,...a[s]),this.$=a[s];break;case 43:r.addPersonOrSystem(`system_queue`,...a[s]),this.$=a[s];break;case 44:r.addPersonOrSystem(`external_system`,...a[s]),this.$=a[s];break;case 45:r.addPersonOrSystem(`external_system_db`,...a[s]),this.$=a[s];break;case 46:r.addPersonOrSystem(`external_system_queue`,...a[s]),this.$=a[s];break;case 47:r.addContainer(`container`,...a[s]),this.$=a[s];break;case 48:r.addContainer(`container_db`,...a[s]),this.$=a[s];break;case 49:r.addContainer(`container_queue`,...a[s]),this.$=a[s];break;case 50:r.addContainer(`external_container`,...a[s]),this.$=a[s];break;case 51:r.addContainer(`external_container_db`,...a[s]),this.$=a[s];break;case 52:r.addContainer(`external_container_queue`,...a[s]),this.$=a[s];break;case 53:r.addComponent(`component`,...a[s]),this.$=a[s];break;case 54:r.addComponent(`component_db`,...a[s]),this.$=a[s];break;case 55:r.addComponent(`component_queue`,...a[s]),this.$=a[s];break;case 56:r.addComponent(`external_component`,...a[s]),this.$=a[s];break;case 57:r.addComponent(`external_component_db`,...a[s]),this.$=a[s];break;case 58:r.addComponent(`external_component_queue`,...a[s]),this.$=a[s];break;case 60:r.addRel(`rel`,...a[s]),this.$=a[s];break;case 61:r.addRel(`birel`,...a[s]),this.$=a[s];break;case 62:r.addRel(`rel_u`,...a[s]),this.$=a[s];break;case 63:r.addRel(`rel_d`,...a[s]),this.$=a[s];break;case 64:r.addRel(`rel_l`,...a[s]),this.$=a[s];break;case 65:r.addRel(`rel_r`,...a[s]),this.$=a[s];break;case 66:r.addRel(`rel_b`,...a[s]),this.$=a[s];break;case 67:a[s].splice(0,1),r.addRel(`rel`,...a[s]),this.$=a[s];break;case 68:r.updateElStyle(`update_el_style`,...a[s]),this.$=a[s];break;case 69:r.updateRelStyle(`update_rel_style`,...a[s]),this.$=a[s];break;case 70:r.updateLayoutConfig(`update_layout_config`,...a[s]),this.$=a[s];break;case 71:this.$=[a[s]];break;case 72:a[s].unshift(a[s-1]),this.$=a[s];break;case 73:case 75:this.$=a[s].trim();break;case 74:let e={};e[a[s-1].trim()]=a[s].trim(),this.$=e;break;case 76:this.$=``;break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:70,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:71,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:72,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:73,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{14:[1,74]},t(U,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:l,37:u,38:d,39:f,40:p,41:m,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H}),t(U,[2,14]),t(re,[2,16],{12:[1,76]}),t(U,[2,36],{12:[1,77]}),t(ie,[2,19]),t(ie,[2,20]),{25:[1,78]},{27:[1,79]},t(ie,[2,23]),{35:80,75:81,76:W,77:G,79:K,80:q},{35:86,75:81,76:W,77:G,79:K,80:q},{35:87,75:81,76:W,77:G,79:K,80:q},{35:88,75:81,76:W,77:G,79:K,80:q},{35:89,75:81,76:W,77:G,79:K,80:q},{35:90,75:81,76:W,77:G,79:K,80:q},{35:91,75:81,76:W,77:G,79:K,80:q},{35:92,75:81,76:W,77:G,79:K,80:q},{35:93,75:81,76:W,77:G,79:K,80:q},{35:94,75:81,76:W,77:G,79:K,80:q},{35:95,75:81,76:W,77:G,79:K,80:q},{35:96,75:81,76:W,77:G,79:K,80:q},{35:97,75:81,76:W,77:G,79:K,80:q},{35:98,75:81,76:W,77:G,79:K,80:q},{35:99,75:81,76:W,77:G,79:K,80:q},{35:100,75:81,76:W,77:G,79:K,80:q},{35:101,75:81,76:W,77:G,79:K,80:q},{35:102,75:81,76:W,77:G,79:K,80:q},{35:103,75:81,76:W,77:G,79:K,80:q},{35:104,75:81,76:W,77:G,79:K,80:q},t(J,[2,59]),{35:105,75:81,76:W,77:G,79:K,80:q},{35:106,75:81,76:W,77:G,79:K,80:q},{35:107,75:81,76:W,77:G,79:K,80:q},{35:108,75:81,76:W,77:G,79:K,80:q},{35:109,75:81,76:W,77:G,79:K,80:q},{35:110,75:81,76:W,77:G,79:K,80:q},{35:111,75:81,76:W,77:G,79:K,80:q},{35:112,75:81,76:W,77:G,79:K,80:q},{35:113,75:81,76:W,77:G,79:K,80:q},{35:114,75:81,76:W,77:G,79:K,80:q},{35:115,75:81,76:W,77:G,79:K,80:q},{20:116,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{12:[1,118],33:[1,117]},{35:119,75:81,76:W,77:G,79:K,80:q},{35:120,75:81,76:W,77:G,79:K,80:q},{35:121,75:81,76:W,77:G,79:K,80:q},{35:122,75:81,76:W,77:G,79:K,80:q},{35:123,75:81,76:W,77:G,79:K,80:q},{35:124,75:81,76:W,77:G,79:K,80:q},{35:125,75:81,76:W,77:G,79:K,80:q},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(U,[2,15]),t(re,[2,17],{21:22,19:130,22:n,23:r,24:i,26:a,28:o}),t(U,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:r,24:i,26:a,28:o,34:s,36:l,37:u,38:d,39:f,40:p,41:m,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H}),t(ie,[2,21]),t(ie,[2,22]),t(J,[2,39]),t(ae,[2,71],{75:81,35:132,76:W,77:G,79:K,80:q}),t(oe,[2,73]),{78:[1,133]},t(oe,[2,75]),t(oe,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(se,[2,28]),t(se,[2,29]),t(se,[2,30]),t(se,[2,31]),t(se,[2,32]),t(se,[2,33]),t(se,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(re,[2,18]),t(U,[2,38]),t(ae,[2,72]),t(oe,[2,74]),t(J,[2,24]),t(J,[2,35]),t(ce,[2,25]),t(ce,[2,26],{12:[1,138]}),t(ce,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,l=``,u=0,d=0,f=0,p=2,m=1,h=o.slice.call(arguments,1),g=Object.create(this.lexer),_={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(_.yy[v]=this.yy[v]);g.setInput(t,_.yy),_.yy.lexer=g,_.yy.parser=this,g.yylloc===void 0&&(g.yylloc={});var y=g.yylloc;o.push(y);var b=g.options&&g.options.ranges;typeof _.yy.parseError==`function`?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(x,`popStack`);function S(){var e=i.pop()||g.lex()||m;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(S,`lex`);for(var C,w,T,E,D,O={},k,A,j,M;;){if(T=r[r.length-1],this.defaultActions[T]?E=this.defaultActions[T]:(C??=S(),E=s[T]&&s[T][C]),E===void 0||!E.length||!E[0]){var N=``;for(k in M=[],s[T])this.terminals_[k]&&k>p&&M.push(`'`+this.terminals_[k]+`'`);N=g.showPosition?`Parse error on line `+(u+1)+`:
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs"),r=require("./dist-DNGlMOWd.cjs"),i=require("./chunk-ICXQ74PX-DtHODNRc.cjs"),a=require("./chunk-32BRIVSS-z7FKg2Pv.cjs");var o=r.t(),s=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,24],r=[1,25],i=[1,26],a=[1,27],o=[1,28],s=[1,63],l=[1,64],u=[1,65],d=[1,66],f=[1,67],p=[1,68],m=[1,69],h=[1,29],g=[1,30],_=[1,31],v=[1,32],y=[1,33],b=[1,34],x=[1,35],S=[1,36],C=[1,37],w=[1,38],T=[1,39],E=[1,40],D=[1,41],O=[1,42],k=[1,43],A=[1,44],j=[1,45],M=[1,46],N=[1,47],P=[1,48],F=[1,50],ee=[1,51],te=[1,52],I=[1,53],L=[1,54],R=[1,55],z=[1,56],B=[1,57],V=[1,58],ne=[1,59],H=[1,60],U=[14,42],re=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ie=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],W=[1,82],G=[1,83],K=[1,84],q=[1,85],J=[12,14,42],ae=[12,14,33,42],oe=[12,14,33,42,76,77,79,80],se=[12,33],ce=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],le={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:`error`,6:`direction_tb`,7:`direction_bt`,8:`direction_rl`,9:`direction_lr`,11:`C4_CONTEXT`,12:`NEWLINE`,14:`EOF`,15:`C4_CONTAINER`,16:`C4_COMPONENT`,17:`C4_DYNAMIC`,18:`C4_DEPLOYMENT`,22:`title`,23:`accDescription`,24:`acc_title`,25:`acc_title_value`,26:`acc_descr`,27:`acc_descr_value`,28:`acc_descr_multiline_value`,33:`LBRACE`,34:`ENTERPRISE_BOUNDARY`,36:`SYSTEM_BOUNDARY`,37:`BOUNDARY`,38:`CONTAINER_BOUNDARY`,39:`NODE`,40:`NODE_L`,41:`NODE_R`,42:`RBRACE`,44:`PERSON`,45:`PERSON_EXT`,46:`SYSTEM`,47:`SYSTEM_DB`,48:`SYSTEM_QUEUE`,49:`SYSTEM_EXT`,50:`SYSTEM_EXT_DB`,51:`SYSTEM_EXT_QUEUE`,52:`CONTAINER`,53:`CONTAINER_DB`,54:`CONTAINER_QUEUE`,55:`CONTAINER_EXT`,56:`CONTAINER_EXT_DB`,57:`CONTAINER_EXT_QUEUE`,58:`COMPONENT`,59:`COMPONENT_DB`,60:`COMPONENT_QUEUE`,61:`COMPONENT_EXT`,62:`COMPONENT_EXT_DB`,63:`COMPONENT_EXT_QUEUE`,64:`REL`,65:`BIREL`,66:`REL_U`,67:`REL_D`,68:`REL_L`,69:`REL_R`,70:`REL_B`,71:`REL_INDEX`,72:`UPDATE_EL_STYLE`,73:`UPDATE_REL_STYLE`,74:`UPDATE_LAYOUT_CONFIG`,76:`STR`,77:`STR_KEY`,78:`STR_VALUE`,79:`ATTRIBUTE`,80:`ATTRIBUTE_EMPTY`},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:r.setDirection(`TB`);break;case 4:r.setDirection(`BT`);break;case 5:r.setDirection(`RL`);break;case 6:r.setDirection(`LR`);break;case 8:case 9:case 10:case 11:case 12:r.setC4Type(a[s-3]);break;case 19:r.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 20:r.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 21:this.$=a[s].trim(),r.setTitle(this.$);break;case 22:case 23:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 28:a[s].splice(2,0,`ENTERPRISE`),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 29:a[s].splice(2,0,`SYSTEM`),r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 30:r.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 31:a[s].splice(2,0,`CONTAINER`),r.addContainerBoundary(...a[s]),this.$=a[s];break;case 32:r.addDeploymentNode(`node`,...a[s]),this.$=a[s];break;case 33:r.addDeploymentNode(`nodeL`,...a[s]),this.$=a[s];break;case 34:r.addDeploymentNode(`nodeR`,...a[s]),this.$=a[s];break;case 35:r.popBoundaryParseStack();break;case 39:r.addPersonOrSystem(`person`,...a[s]),this.$=a[s];break;case 40:r.addPersonOrSystem(`external_person`,...a[s]),this.$=a[s];break;case 41:r.addPersonOrSystem(`system`,...a[s]),this.$=a[s];break;case 42:r.addPersonOrSystem(`system_db`,...a[s]),this.$=a[s];break;case 43:r.addPersonOrSystem(`system_queue`,...a[s]),this.$=a[s];break;case 44:r.addPersonOrSystem(`external_system`,...a[s]),this.$=a[s];break;case 45:r.addPersonOrSystem(`external_system_db`,...a[s]),this.$=a[s];break;case 46:r.addPersonOrSystem(`external_system_queue`,...a[s]),this.$=a[s];break;case 47:r.addContainer(`container`,...a[s]),this.$=a[s];break;case 48:r.addContainer(`container_db`,...a[s]),this.$=a[s];break;case 49:r.addContainer(`container_queue`,...a[s]),this.$=a[s];break;case 50:r.addContainer(`external_container`,...a[s]),this.$=a[s];break;case 51:r.addContainer(`external_container_db`,...a[s]),this.$=a[s];break;case 52:r.addContainer(`external_container_queue`,...a[s]),this.$=a[s];break;case 53:r.addComponent(`component`,...a[s]),this.$=a[s];break;case 54:r.addComponent(`component_db`,...a[s]),this.$=a[s];break;case 55:r.addComponent(`component_queue`,...a[s]),this.$=a[s];break;case 56:r.addComponent(`external_component`,...a[s]),this.$=a[s];break;case 57:r.addComponent(`external_component_db`,...a[s]),this.$=a[s];break;case 58:r.addComponent(`external_component_queue`,...a[s]),this.$=a[s];break;case 60:r.addRel(`rel`,...a[s]),this.$=a[s];break;case 61:r.addRel(`birel`,...a[s]),this.$=a[s];break;case 62:r.addRel(`rel_u`,...a[s]),this.$=a[s];break;case 63:r.addRel(`rel_d`,...a[s]),this.$=a[s];break;case 64:r.addRel(`rel_l`,...a[s]),this.$=a[s];break;case 65:r.addRel(`rel_r`,...a[s]),this.$=a[s];break;case 66:r.addRel(`rel_b`,...a[s]),this.$=a[s];break;case 67:a[s].splice(0,1),r.addRel(`rel`,...a[s]),this.$=a[s];break;case 68:r.updateElStyle(`update_el_style`,...a[s]),this.$=a[s];break;case 69:r.updateRelStyle(`update_rel_style`,...a[s]),this.$=a[s];break;case 70:r.updateLayoutConfig(`update_layout_config`,...a[s]),this.$=a[s];break;case 71:this.$=[a[s]];break;case 72:a[s].unshift(a[s-1]),this.$=a[s];break;case 73:case 75:this.$=a[s].trim();break;case 74:let e={};e[a[s-1].trim()]=a[s].trim(),this.$=e;break;case 76:this.$=``;break}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:70,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:71,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:72,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{13:73,19:20,20:21,21:22,22:n,23:r,24:i,26:a,28:o,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{14:[1,74]},t(U,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:l,37:u,38:d,39:f,40:p,41:m,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H}),t(U,[2,14]),t(re,[2,16],{12:[1,76]}),t(U,[2,36],{12:[1,77]}),t(ie,[2,19]),t(ie,[2,20]),{25:[1,78]},{27:[1,79]},t(ie,[2,23]),{35:80,75:81,76:W,77:G,79:K,80:q},{35:86,75:81,76:W,77:G,79:K,80:q},{35:87,75:81,76:W,77:G,79:K,80:q},{35:88,75:81,76:W,77:G,79:K,80:q},{35:89,75:81,76:W,77:G,79:K,80:q},{35:90,75:81,76:W,77:G,79:K,80:q},{35:91,75:81,76:W,77:G,79:K,80:q},{35:92,75:81,76:W,77:G,79:K,80:q},{35:93,75:81,76:W,77:G,79:K,80:q},{35:94,75:81,76:W,77:G,79:K,80:q},{35:95,75:81,76:W,77:G,79:K,80:q},{35:96,75:81,76:W,77:G,79:K,80:q},{35:97,75:81,76:W,77:G,79:K,80:q},{35:98,75:81,76:W,77:G,79:K,80:q},{35:99,75:81,76:W,77:G,79:K,80:q},{35:100,75:81,76:W,77:G,79:K,80:q},{35:101,75:81,76:W,77:G,79:K,80:q},{35:102,75:81,76:W,77:G,79:K,80:q},{35:103,75:81,76:W,77:G,79:K,80:q},{35:104,75:81,76:W,77:G,79:K,80:q},t(J,[2,59]),{35:105,75:81,76:W,77:G,79:K,80:q},{35:106,75:81,76:W,77:G,79:K,80:q},{35:107,75:81,76:W,77:G,79:K,80:q},{35:108,75:81,76:W,77:G,79:K,80:q},{35:109,75:81,76:W,77:G,79:K,80:q},{35:110,75:81,76:W,77:G,79:K,80:q},{35:111,75:81,76:W,77:G,79:K,80:q},{35:112,75:81,76:W,77:G,79:K,80:q},{35:113,75:81,76:W,77:G,79:K,80:q},{35:114,75:81,76:W,77:G,79:K,80:q},{35:115,75:81,76:W,77:G,79:K,80:q},{20:116,29:49,30:61,32:62,34:s,36:l,37:u,38:d,39:f,40:p,41:m,43:23,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H},{12:[1,118],33:[1,117]},{35:119,75:81,76:W,77:G,79:K,80:q},{35:120,75:81,76:W,77:G,79:K,80:q},{35:121,75:81,76:W,77:G,79:K,80:q},{35:122,75:81,76:W,77:G,79:K,80:q},{35:123,75:81,76:W,77:G,79:K,80:q},{35:124,75:81,76:W,77:G,79:K,80:q},{35:125,75:81,76:W,77:G,79:K,80:q},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(U,[2,15]),t(re,[2,17],{21:22,19:130,22:n,23:r,24:i,26:a,28:o}),t(U,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:n,23:r,24:i,26:a,28:o,34:s,36:l,37:u,38:d,39:f,40:p,41:m,44:h,45:g,46:_,47:v,48:y,49:b,50:x,51:S,52:C,53:w,54:T,55:E,56:D,57:O,58:k,59:A,60:j,61:M,62:N,63:P,64:F,65:ee,66:te,67:I,68:L,69:R,70:z,71:B,72:V,73:ne,74:H}),t(ie,[2,21]),t(ie,[2,22]),t(J,[2,39]),t(ae,[2,71],{75:81,35:132,76:W,77:G,79:K,80:q}),t(oe,[2,73]),{78:[1,133]},t(oe,[2,75]),t(oe,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(se,[2,28]),t(se,[2,29]),t(se,[2,30]),t(se,[2,31]),t(se,[2,32]),t(se,[2,33]),t(se,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(re,[2,18]),t(U,[2,38]),t(ae,[2,72]),t(oe,[2,74]),t(J,[2,24]),t(J,[2,35]),t(ce,[2,25]),t(ce,[2,26],{12:[1,138]}),t(ce,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,l=``,u=0,d=0,f=0,p=2,m=1,h=o.slice.call(arguments,1),g=Object.create(this.lexer),_={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(_.yy[v]=this.yy[v]);g.setInput(t,_.yy),_.yy.lexer=g,_.yy.parser=this,g.yylloc===void 0&&(g.yylloc={});var y=g.yylloc;o.push(y);var b=g.options&&g.options.ranges;typeof _.yy.parseError==`function`?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function x(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(x,`popStack`);function S(){var e=i.pop()||g.lex()||m;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(S,`lex`);for(var C,w,T,E,D,O={},k,A,j,M;;){if(T=r[r.length-1],this.defaultActions[T]?E=this.defaultActions[T]:(C??=S(),E=s[T]&&s[T][C]),E===void 0||!E.length||!E[0]){var N=``;for(k in M=[],s[T])this.terminals_[k]&&k>p&&M.push(`'`+this.terminals_[k]+`'`);N=g.showPosition?`Parse error on line `+(u+1)+`:
2
2
  `+g.showPosition()+`
3
3
  Expecting `+M.join(`, `)+`, got '`+(this.terminals_[C]||C)+`'`:`Parse error on line `+(u+1)+`: Unexpected `+(C==m?`end of input`:`'`+(this.terminals_[C]||C)+`'`),this.parseError(N,{text:g.match,token:this.terminals_[C]||C,line:g.yylineno,loc:y,expected:M})}if(E[0]instanceof Array&&E.length>1)throw Error(`Parse Error: multiple actions possible at state: `+T+`, token: `+C);switch(E[0]){case 1:r.push(C),a.push(g.yytext),o.push(g.yylloc),r.push(E[1]),C=null,w?(C=w,w=null):(d=g.yyleng,l=g.yytext,u=g.yylineno,y=g.yylloc,f>0&&f--);break;case 2:if(A=this.productions_[E[1]][1],O.$=a[a.length-A],O._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},b&&(O._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),D=this.performAction.apply(O,[l,d,u,_.yy,E[1],a,o].concat(h)),D!==void 0)return D;A&&(r=r.slice(0,-1*A*2),a=a.slice(0,-1*A),o=o.slice(0,-1*A)),r.push(this.productions_[E[1]][0]),a.push(O.$),o.push(O._$),j=s[r[r.length-2]][r[r.length-1]],r.push(j);break;case 3:return!0}}return!0},`parse`)};le.lexer=(function(){return{EOF:1,parseError:e.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.n(function(){return this._more=!0,this},`more`),reject:e.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1,9 +1,9 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
- import { H as r, U as i, c as a, r as o, s, v as l, x as u, y as d, z as f } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
3
+ import { H as r, U as i, c as a, r as o, s, v as l, x as u, y as d, z as f } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
4
  import { t as p } from "./dist-D6LMt8nW.js";
5
- import { _ as m, n as h, r as g } from "./chunk-ICXQ74PX-CC59NQmW.js";
6
- import { a as _, s as v } from "./chunk-32BRIVSS-Byu3FrKX.js";
5
+ import { _ as m, n as h, r as g } from "./chunk-ICXQ74PX-C0c64VZJ.js";
6
+ import { a as _, s as v } from "./chunk-32BRIVSS-CWVz3-4w.js";
7
7
  //#region ../node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.mjs
8
8
  var y = p(), b = (function() {
9
9
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
@@ -1,4 +1,4 @@
1
- import { at as e, ot as t } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
1
+ import { at as e, ot as t } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
2
2
  //#region ../node_modules/khroma/dist/methods/channel.js
3
3
  var n = (n, r) => t.lang.round(e.parse(n)[r]);
4
4
  //#endregion
@@ -0,0 +1 @@
1
+ const e=require("./chunk-WYO6CB5R-BeX_IRrv.cjs");var t=(t,n)=>e.ot.lang.round(e.at.parse(t)[n]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return t}});
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { p as t } from "./src-DJ4x3y2O.js";
3
- import { j as n } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
3
+ import { j as n } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
4
  import { t as r } from "./dist-D6LMt8nW.js";
5
5
  //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.mjs
6
6
  var i = r(), a = /* @__PURE__ */ e((e, t) => {
@@ -1 +1 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs");var r=require("./dist-DNGlMOWd.cjs").t(),i=e.n((e,t)=>{let n=e.append(`rect`);if(n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),t.name&&n.attr(`name`,t.name),t.rx&&n.attr(`rx`,t.rx),t.ry&&n.attr(`ry`,t.ry),t.attrs!==void 0)for(let e in t.attrs)n.attr(e,t.attrs[e]);return t.class&&n.attr(`class`,t.class),n},`drawRect`),a=e.n((e,t)=>{i(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:`rect`}).lower()},`drawBackgroundRect`),o=e.n((e,t)=>{let r=t.text.replace(n.j,` `),i=e.append(`text`);i.attr(`x`,t.x),i.attr(`y`,t.y),i.attr(`class`,`legend`),i.style(`text-anchor`,t.anchor),t.class&&i.attr(`class`,t.class);let a=i.append(`tspan`);return a.attr(`x`,t.x+t.textMargin*2),a.text(r),i},`drawText`),s=e.n((e,t,n,i)=>{let a=e.append(`image`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,r.sanitizeUrl)(i);a.attr(`xlink:href`,o)},`drawImage`),c=e.n((e,t,n,i)=>{let a=e.append(`use`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,r.sanitizeUrl)(i);a.attr(`xlink:href`,`#${o}`)},`drawEmbeddedImage`),l=e.n(()=>({x:0,y:0,width:100,height:100,fill:`#EDF2AE`,stroke:`#666`,anchor:`start`,rx:0,ry:0}),`getNoteRect`),u=e.n(()=>({x:0,y:0,width:100,height:100,"text-anchor":`start`,style:`#666`,textMargin:0,rx:0,ry:0,tspan:!0}),`getTextObj`),d=e.n(()=>{let e=t.p(`.mermaidTooltip`);return e.empty()&&(e=t.p(`body`).append(`div`).attr(`class`,`mermaidTooltip`).style(`opacity`,0).style(`position`,`absolute`).style(`text-align`,`center`).style(`max-width`,`200px`).style(`padding`,`2px`).style(`font-size`,`12px`).style(`background`,`#ffffde`).style(`border`,`1px solid #333`).style(`border-radius`,`2px`).style(`pointer-events`,`none`).style(`z-index`,`100`)),e},`createTooltip`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs");var r=require("./dist-DNGlMOWd.cjs").t(),i=e.n((e,t)=>{let n=e.append(`rect`);if(n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),t.name&&n.attr(`name`,t.name),t.rx&&n.attr(`rx`,t.rx),t.ry&&n.attr(`ry`,t.ry),t.attrs!==void 0)for(let e in t.attrs)n.attr(e,t.attrs[e]);return t.class&&n.attr(`class`,t.class),n},`drawRect`),a=e.n((e,t)=>{i(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:`rect`}).lower()},`drawBackgroundRect`),o=e.n((e,t)=>{let r=t.text.replace(n.j,` `),i=e.append(`text`);i.attr(`x`,t.x),i.attr(`y`,t.y),i.attr(`class`,`legend`),i.style(`text-anchor`,t.anchor),t.class&&i.attr(`class`,t.class);let a=i.append(`tspan`);return a.attr(`x`,t.x+t.textMargin*2),a.text(r),i},`drawText`),s=e.n((e,t,n,i)=>{let a=e.append(`image`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,r.sanitizeUrl)(i);a.attr(`xlink:href`,o)},`drawImage`),c=e.n((e,t,n,i)=>{let a=e.append(`use`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,r.sanitizeUrl)(i);a.attr(`xlink:href`,`#${o}`)},`drawEmbeddedImage`),l=e.n(()=>({x:0,y:0,width:100,height:100,fill:`#EDF2AE`,stroke:`#666`,anchor:`start`,rx:0,ry:0}),`getNoteRect`),u=e.n(()=>({x:0,y:0,width:100,height:100,"text-anchor":`start`,style:`#666`,textMargin:0,rx:0,ry:0,tspan:!0}),`getTextObj`),d=e.n(()=>{let e=t.p(`.mermaidTooltip`);return e.empty()&&(e=t.p(`body`).append(`div`).attr(`class`,`mermaidTooltip`).style(`opacity`,0).style(`position`,`absolute`).style(`text-align`,`center`).style(`max-width`,`200px`).style(`padding`,`2px`).style(`font-size`,`12px`).style(`background`,`#ffffde`).style(`border`,`1px solid #333`).style(`border-radius`,`2px`).style(`pointer-events`,`none`).style(`z-index`,`100`)),e},`createTooltip`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
@@ -1,4 +1,4 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),r=require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),i=require("./line-Ca8dE_lT.cjs"),a=require("./chunk-Q4XR5HBZ-COrrWZzi.cjs"),o=require("./chunk-7BUUIJ7U-MzS1pW_S.cjs"),s=require("./chunk-OGEWGWER-BP4o8A-v.cjs"),c=require("./chunk-C7G6YPKG-CDjkH_UW.cjs"),l=require("./rough.esm-r0QOSzHM.cjs"),u=require("./chunk-ZGVPDNZ5-COEQX4AZ.cjs");var d=e.n((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&m(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&m(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),f={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},p=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],m=e.n((e,n,r,i,a,o,s=!1,c)=>{let l=f[r],u=l&&p.includes(l.type);if(!l){t.m.warn(`Unknown arrow type: ${r}`);return}let d=`${a}_${o}-${l.type}${n===`start`?`Start`:`End`}${s&&u?`-margin`:``}`;if(c&&c.trim()!==``){let t=`${d}_${c.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(t)){let e=document.getElementById(d);if(e){let n=e.cloneNode(!0);n.id=t,n.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,c),l.fill&&e.setAttribute(`fill`,c)}),e.parentNode?.appendChild(n)}}e.attr(`marker-${n}`,`url(${i}#${t})`)}else e.attr(`marker-${n}`,`url(${i}#${d})`)},`addEdgeMarker`),h=e.n(e=>typeof e==`string`?e:n.x()?.flowchart?.curve,`resolveEdgeCurveType`),g=new Map,_=new Map,v=e.n(()=>{g.clear(),_.clear()},`clear`),y=e.n(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),b=e.n(async(e,r)=>{let i=n.x(),s=n.T(i),{labelStyles:l}=c.i(r);r.labelStyle=l;let d=e.insert(`g`).attr(`class`,`edgeLabel`),f=d.insert(`g`).attr(`class`,`label`).attr(`data-id`,r.id),p=r.labelType===`markdown`,m=await a.n(e,r.label,{style:y(r.labelStyle),useHtmlLabels:s,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},i);f.node().appendChild(m),t.m.info(`abc82`,r,r.labelType);let h=m.getBBox(),v=h;if(s){let e=m.children[0],n=t.p(m);h=e.getBoundingClientRect(),v=h,n.attr(`width`,h.width),n.attr(`height`,h.height)}else{let e=t.p(m).select(`text`).node();e&&typeof e.getBBox==`function`&&(v=e.getBBox())}f.attr(`transform`,o.t(v,s)),g.set(r.id,d),r.width=h.width,r.height=h.height;let b;if(r.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(i,r.startLabelLeft,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).startLeft=n,x(b,r.startLabelLeft)}if(r.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(i,r.startLabelRight,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).startRight=n,x(b,r.startLabelRight)}if(r.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(n,r.endLabelLeft,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).endLeft=n,x(b,r.endLabelLeft)}if(r.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(n,r.endLabelRight,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).endRight=n,x(b,r.endLabelRight)}return m},`insertEdgeLabel`);function x(e,t){n.T(n.x())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}e.n(x,`setTerminalWidth`);var S=e.n((e,i)=>{t.m.debug(`Moving label abc88 `,e.id,e.label,g.get(e.id),i);let a=i.updatedPath?i.updatedPath:i.originalPath,{subGraphTitleTotalMargin:o}=s.n(n.x());if(e.label){let n=g.get(e.id),s=e.x,c=e.y;if(a){let n=r.g.calcLabelPosition(a);t.m.debug(`Moving label `+e.label+` from (`,s,`,`,c,`) to (`,n.x,`,`,n.y,`) abc88`),i.updatedPath&&(s=n.x,c=n.y)}n.attr(`transform`,`translate(${s}, ${c+o/2})`)}if(e.startLabelLeft){let t=_.get(e.id).startLeft,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.startLabelRight){let t=_.get(e.id).startRight,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.endLabelLeft){let t=_.get(e.id).endLeft,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.endLabelRight){let t=_.get(e.id).endRight,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}},`positionEdgeLabel`),C=e.n((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),w=e.n((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),T=e.n((e,n,r)=>{t.m.debug(`intersection calc abc89:
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs"),r=require("./chunk-ICXQ74PX-DtHODNRc.cjs"),i=require("./line-CzTN7vFx.cjs"),a=require("./chunk-Q4XR5HBZ-DZp3iZyL.cjs"),o=require("./chunk-7BUUIJ7U-MzS1pW_S.cjs"),s=require("./chunk-OGEWGWER-DNcXwflY.cjs"),c=require("./chunk-C7G6YPKG-C0kXpvB9.cjs"),l=require("./rough.esm-r0QOSzHM.cjs"),u=require("./chunk-ZGVPDNZ5-DlOaIRV9.cjs");var d=e.n((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&m(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&m(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),f={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},p=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],m=e.n((e,n,r,i,a,o,s=!1,c)=>{let l=f[r],u=l&&p.includes(l.type);if(!l){t.m.warn(`Unknown arrow type: ${r}`);return}let d=`${a}_${o}-${l.type}${n===`start`?`Start`:`End`}${s&&u?`-margin`:``}`;if(c&&c.trim()!==``){let t=`${d}_${c.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(t)){let e=document.getElementById(d);if(e){let n=e.cloneNode(!0);n.id=t,n.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,c),l.fill&&e.setAttribute(`fill`,c)}),e.parentNode?.appendChild(n)}}e.attr(`marker-${n}`,`url(${i}#${t})`)}else e.attr(`marker-${n}`,`url(${i}#${d})`)},`addEdgeMarker`),h=e.n(e=>typeof e==`string`?e:n.x()?.flowchart?.curve,`resolveEdgeCurveType`),g=new Map,_=new Map,v=e.n(()=>{g.clear(),_.clear()},`clear`),y=e.n(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),b=e.n(async(e,r)=>{let i=n.x(),s=n.T(i),{labelStyles:l}=c.i(r);r.labelStyle=l;let d=e.insert(`g`).attr(`class`,`edgeLabel`),f=d.insert(`g`).attr(`class`,`label`).attr(`data-id`,r.id),p=r.labelType===`markdown`,m=await a.n(e,r.label,{style:y(r.labelStyle),useHtmlLabels:s,addSvgBackground:!0,isNode:!1,markdown:p,width:void 0},i);f.node().appendChild(m),t.m.info(`abc82`,r,r.labelType);let h=m.getBBox(),v=h;if(s){let e=m.children[0],n=t.p(m);h=e.getBoundingClientRect(),v=h,n.attr(`width`,h.width),n.attr(`height`,h.height)}else{let e=t.p(m).select(`text`).node();e&&typeof e.getBBox==`function`&&(v=e.getBBox())}f.attr(`transform`,o.t(v,s)),g.set(r.id,d),r.width=h.width,r.height=h.height;let b;if(r.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(i,r.startLabelLeft,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).startLeft=n,x(b,r.startLabelLeft)}if(r.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(i,r.startLabelRight,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).startRight=n,x(b,r.startLabelRight)}if(r.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(n,r.endLabelLeft,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).endLeft=n,x(b,r.endLabelLeft)}if(r.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await u.r(n,r.endLabelRight,y(r.labelStyle)||``,!1,!1);b=a;let c=a.getBBox();if(s){let e=a.children[0],n=t.p(a);c=e.getBoundingClientRect(),n.attr(`width`,c.width),n.attr(`height`,c.height)}i.attr(`transform`,o.t(c,s)),_.get(r.id)||_.set(r.id,{}),_.get(r.id).endRight=n,x(b,r.endLabelRight)}return m},`insertEdgeLabel`);function x(e,t){n.T(n.x())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}e.n(x,`setTerminalWidth`);var S=e.n((e,i)=>{t.m.debug(`Moving label abc88 `,e.id,e.label,g.get(e.id),i);let a=i.updatedPath?i.updatedPath:i.originalPath,{subGraphTitleTotalMargin:o}=s.n(n.x());if(e.label){let n=g.get(e.id),s=e.x,c=e.y;if(a){let n=r.g.calcLabelPosition(a);t.m.debug(`Moving label `+e.label+` from (`,s,`,`,c,`) to (`,n.x,`,`,n.y,`) abc88`),i.updatedPath&&(s=n.x,c=n.y)}n.attr(`transform`,`translate(${s}, ${c+o/2})`)}if(e.startLabelLeft){let t=_.get(e.id).startLeft,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.startLabelRight){let t=_.get(e.id).startRight,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.endLabelLeft){let t=_.get(e.id).endLeft,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}if(e.endLabelRight){let t=_.get(e.id).endRight,n=e.x,i=e.y;if(a){let t=r.g.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,a);n=t.x,i=t.y}t.attr(`transform`,`translate(${n}, ${i})`)}},`positionEdgeLabel`),C=e.n((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),w=e.n((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),T=e.n((e,n,r)=>{t.m.debug(`intersection calc abc89:
2
2
  outsidePoint: ${JSON.stringify(n)}
3
3
  insidePoint : ${JSON.stringify(r)}
4
4
  node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let i=e.x,a=e.y,o=Math.abs(i-r.x),s=e.width/2,c=r.x<n.x?s-o:s+o,l=e.height/2,u=Math.abs(n.y-r.y),d=Math.abs(n.x-r.x);if(Math.abs(a-n.y)*s>Math.abs(i-n.x)*l){let e=r.y<n.y?n.y-l-a:a-l-n.y;c=d*e/u;let i={x:r.x<n.x?r.x+c:r.x-d+c,y:r.y<n.y?r.y+u-e:r.y-u+e};return c===0&&(i.x=n.x,i.y=n.y),d===0&&(i.x=n.x),u===0&&(i.y=n.y),t.m.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`,i),i}else{c=r.x<n.x?n.x-s-i:i-s-n.x;let e=u*c/d,a=r.x<n.x?r.x+d-c:r.x-d+c,o=r.y<n.y?r.y+e:r.y-e;return t.m.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`,{_x:a,_y:o}),c===0&&(a=n.x,o=n.y),d===0&&(a=n.x),u===0&&(o=n.y),{x:a,y:o}}},`intersection`),E=e.n((e,n)=>{t.m.warn(`abc88 cutPathAtIntersect`,e,n);let r=[],i=e[0],a=!1;return e.forEach(e=>{if(t.m.info(`abc88 checking point`,e,n),!w(n,e)&&!a){let o=T(n,i,e);t.m.debug(`abc88 inside`,e,i,o),t.m.debug(`abc88 intersection`,o,n);let s=!1;r.forEach(e=>{s||=e.x===o.x&&e.y===o.y}),r.some(e=>e.x===o.x&&e.y===o.y)?t.m.warn(`abc88 no intersect`,o,r):r.push(o),a=!0}else t.m.warn(`abc88 outside`,e,i),i=e,a||r.push(e)}),t.m.debug(`returning points`,r),r},`cutPathAtIntersect`);function D(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}e.n(D,`extractCornerPoints`);var O=e.n(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),k=e.n(function(e){let{cornerPointPositions:n}=D(e),r=[];for(let i=0;i<e.length;i++)if(n.includes(i)){let n=e[i-1],a=e[i+1],o=e[i],s=O(n,o,5),c=O(a,o,5),l=c.x-s.x,u=c.y-s.y;r.push(s);let d=Math.sqrt(2)*2,f={x:o.x,y:o.y};Math.abs(a.x-n.x)>10&&Math.abs(a.y-n.y)>=10?(t.m.debug(`Corner point fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),f=o.x===s.x?{x:l<0?s.x-5+d:s.x+5-d,y:u<0?s.y-d:s.y+d}:{x:l<0?s.x-d:s.x+d,y:u<0?s.y-5+d:s.y+5-d}):t.m.debug(`Corner point skipping fixing`,Math.abs(a.x-n.x),Math.abs(a.y-n.y)),r.push(f,c)}else r.push(e[i]);return r},`fixCorners`),A=e.n((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(i).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),j=e.n(function(e,a,s,u,f,p,m,g=!1){if(!m)throw Error(`insertEdge: missing diagramId for edge "${a.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:_,layout:v}=n.x(),y=a.points,b=!1,x=f;var S=p;let w=[];for(let e in a.cssCompiledStyles)c.n(e)||w.push(a.cssCompiledStyles[e]);if(v===`swimlane`){if(S.intersect&&x.intersect&&Array.isArray(y)&&y.length>=2)if(y.length===2)y=[x.intersect(y[0]),S.intersect(y[1])];else{let e=y.slice(1,-1),t=e[0],n=e[e.length-1],r=.5,i=Math.abs(y[y.length-1].x-n.x)<r&&Math.abs(y[y.length-1].y-n.y)<r,a=x.intersect(t),o=i?n:S.intersect(n),s=Math.abs(o.x-n.x)<r&&Math.abs(o.y-n.y)<r,c=Math.abs(a.x-t.x)<r&&Math.abs(a.y-t.y)<r?[]:[a],l=s?[]:[o];y=[...c,...e,...l]}y=C(a,y)}else S.intersect&&x.intersect&&!g&&(y=y.slice(1,a.points.length-1),y.unshift(x.intersect(y[0])),y.push(S.intersect(y[y.length-1])));let T=btoa(JSON.stringify(y));a.toCluster&&(t.m.info(`to cluster abc88`,s.get(a.toCluster)),y=E(a.points,s.get(a.toCluster).node),b=!0),a.fromCluster&&(t.m.debug(`from cluster abc88`,s.get(a.fromCluster),JSON.stringify(y,null,2)),y=E(y.reverse(),s.get(a.fromCluster).node).reverse(),b=!0);let D=y.filter(e=>!Number.isNaN(e.y)),O=h(a.curve);O!==`rounded`&&(D=k(D));let j=r.rt;switch(O){case`linear`:j=r.rt;break;case`basis`:j=r.et;break;case`cardinal`:j=r.$;break;case`bumpX`:j=r.tt;break;case`bumpY`:j=r.nt;break;case`catmullRom`:j=r.Q;break;case`monotoneX`:j=r.X;break;case`monotoneY`:j=r.Z;break;case`natural`:j=r.Y;break;case`step`:j=r.J;break;case`stepAfter`:j=r.K;break;case`stepBefore`:j=r.q;break;case`rounded`:j=r.rt;break;default:j=r.et}let{x:N,y:F}=o.n(a),I=i.t().x(N).y(F).curve(j),L;switch(a.thickness){case`normal`:L=`edge-thickness-normal`;break;case`thick`:L=`edge-thickness-thick`;break;case`invisible`:L=`edge-thickness-invisible`;break;default:L=`edge-thickness-normal`}switch(a.pattern){case`solid`:L+=` edge-pattern-solid`;break;case`dotted`:L+=` edge-pattern-dotted`;break;case`dashed`:L+=` edge-pattern-dashed`;break;default:L+=` edge-pattern-solid`}let R,z=O===`rounded`?M(P(D,a),5):I(D),B=Array.isArray(a.style)?a.style:[a.style],V=B.find(e=>e?.startsWith(`stroke:`)),H=``;a.animate&&(H=`edge-animation-fast`),a.animation&&(H=`edge-animation-`+a.animation);let U=!1;if(a.look===`handDrawn`){let n=l.t.svg(e);Object.assign([],D);let r=n.path(z,{roughness:.3,seed:_});L+=` transition`,R=t.p(r).select(`path`).attr(`id`,`${m}-${a.id}`).attr(`class`,` `+L+(a.classes?` `+a.classes:``)+(H?` `+H:``)).attr(`style`,B?B.reduce((e,t)=>e+`;`+t,``):``);let i=R.attr(`d`);R.attr(`d`,i),e.node().appendChild(R.node())}else{let t=w.join(`;`),n=B?B.reduce((e,t)=>e+t+`;`,``):``,r=(t?t+`;`+n+`;`:n)+`;`+(B?B.reduce((e,t)=>e+`;`+t,``):``);R=e.append(`path`).attr(`d`,z).attr(`id`,`${m}-${a.id}`).attr(`class`,` `+L+(a.classes?` `+a.classes:``)+(H?` `+H:``)).attr(`style`,r),V=r.match(/stroke:([^;]+)/)?.[1],U=a.animate===!0||!!a.animation||t.includes(`animation`);let i=R.node(),s=typeof i.getTotalLength==`function`?i.getTotalLength():0,c=o.i[a.arrowTypeStart]||0,l=o.i[a.arrowTypeEnd]||0;if(a.look===`neo`&&!U){let e=`stroke-dasharray: ${a.pattern===`dotted`||a.pattern===`dashed`?A(s,c,l):`0 ${c} ${s-c-l} ${l}`}; stroke-dashoffset: 0;`;R.attr(`style`,e+R.attr(`style`))}}R.attr(`data-edge`,!0),R.attr(`data-et`,`edge`),R.attr(`data-id`,a.id),R.attr(`data-points`,T),R.attr(`data-look`,r.u(a.look)),a.showPoints&&D.forEach(t=>{e.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,t.x).attr(`cy`,t.y)});let W=``;(n.x().flowchart.arrowMarkerAbsolute||n.x().state.arrowMarkerAbsolute)&&(W=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,W=W.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),t.m.info(`arrowTypeStart`,a.arrowTypeStart),t.m.info(`arrowTypeEnd`,a.arrowTypeEnd);let G=!U&&a?.look===`neo`;d(R,a,W,m,u,G,V);let K=Math.floor(y.length/2),q=y[K];r.g.isLabelCoordinateInPath(q,R.attr(`d`))||(b=!0);let J={};return b&&(J.updatedPath=y),J.originalPath=a.points,J},`insertEdge`);function M(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}e.n(M,`generateRoundedPath`);function N(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}e.n(N,`calculateDeltaAndAngle`);function P(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&o.r[t.arrowTypeStart]){let r=o.r[t.arrowTypeStart],i=e[0],a=e[1],{angle:s}=N(i,a),c=r*Math.cos(s),l=r*Math.sin(s);n[0].x=i.x+c,n[0].y=i.y+l}let r=e.length;if(r>=2&&o.r[t.arrowTypeEnd]){let i=o.r[t.arrowTypeEnd],a=e[r-1],s=e[r-2],{angle:c}=N(s,a),l=i*Math.cos(c),u=i*Math.sin(c);n[r-1].x=a.x-l,n[r-1].y=a.y-u}return n}e.n(P,`applyMarkerOffsetsToPoints`);var F=e.n((e,t,n,r)=>{t.forEach(t=>{I[t](e,n,r)})},`insertMarkers`),I={extension:e.n((e,n,r)=>{t.m.trace(`Making markers for `,r),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionStart`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd`).attr(`class`,`marker extension `+n).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),e.append(`marker`).attr(`id`,r+`_`+n+`-extensionStart-margin`).attr(`class`,`marker extension `+n).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+n+`-extensionEnd-margin`).attr(`class`,`marker extension `+n).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),composition:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),aggregation:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),dependency:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),lollipop:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),point:e.n((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,4.5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 5 L 10 10 L 10 0 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),circle:e.n((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,11).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-1).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),cross:e.n((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,12).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,-1).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),barb:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`barb`),barbNeo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{transitionColor:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${a}`)},`barbNeo`),only_one:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),zero_or_one:e.n((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),zero_or_more:e.n((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),only_one_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${a}`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${a}`)},`only_one_neo`),zero_or_one_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a,mainBkg:o}=i,s=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${a}`).attr(`r`,6),s.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${a}`);let c=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);c.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${a}`).attr(`r`,6),c.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${a}`)},`zero_or_one_neo`),one_or_more_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a}=i;e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${a}`),e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${a}`)},`one_or_more_neo`),zero_or_more_neo:e.n((e,t,r)=>{let{themeVariables:i}=n.b(),{strokeWidth:a,mainBkg:o}=i,s=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${a}`),s.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${a}`);let c=e.append(`defs`).append(`marker`).attr(`id`,r+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);c.append(`circle`).attr(`fill`,o??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${a}`),c.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${a}`)},`zero_or_more_neo`),requirement_arrow:e.n((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
@@ -1,14 +1,14 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
- import { T as r, b as i, x as a } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
4
- import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as y } from "./chunk-ICXQ74PX-CC59NQmW.js";
5
- import { t as b } from "./line-O2xx2vVQ.js";
6
- import { n as x } from "./chunk-Q4XR5HBZ-Bk18cMuk.js";
3
+ import { T as r, b as i, x as a } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
+ import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as y } from "./chunk-ICXQ74PX-C0c64VZJ.js";
5
+ import { t as b } from "./line-BCC5VaQh.js";
6
+ import { n as x } from "./chunk-Q4XR5HBZ-Do2IPcal.js";
7
7
  import { i as S, n as ee, r as C, t as w } from "./chunk-7BUUIJ7U-BFUeQBoS.js";
8
- import { n as T } from "./chunk-OGEWGWER-BGdqgMza.js";
9
- import { i as E, n as D } from "./chunk-C7G6YPKG-GTlyrFFt.js";
8
+ import { n as T } from "./chunk-OGEWGWER-CmVjY0nN.js";
9
+ import { i as E, n as D } from "./chunk-C7G6YPKG-D5RsHjmn.js";
10
10
  import { t as te } from "./rough.esm-C5XyeDCN.js";
11
- import { r as O } from "./chunk-ZGVPDNZ5-CDTkXY1G.js";
11
+ import { r as O } from "./chunk-ZGVPDNZ5-BXZklZiD.js";
12
12
  //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-52WLFC77.mjs
13
13
  var ne = /* @__PURE__ */ e((e, t, n, r, i, a = !1, o) => {
14
14
  t.arrowTypeStart && j(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && j(e, "end", t.arrowTypeEnd, n, r, i, a, o);
@@ -1 +1 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-WYO6CB5R-BTvDzbWd.cjs");var n=e.n(e=>{let{handDrawnSeed:n}=t.x();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e.n(e=>{let t=i([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),i=e.n(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),a=e.n(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),o=e.n(e=>{let{stylesArray:t}=r(e),n=[],i=[],o=[],s=[];return t.forEach(e=>{let t=e[0];a(t)?n.push(e.join(`:`)+` !important`):(i.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&o.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:i.join(`;`),stylesArray:t,borderStyles:o,backgroundStyles:s}},`styles2String`),s=e.n((e,n)=>{let{themeVariables:i,handDrawnSeed:a}=t.x(),{nodeBorder:o,mainBkg:s}=i,{stylesMap:l}=r(e);return Object.assign({roughness:.7,fill:l.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:l.get(`stroke`)||o,seed:a,strokeWidth:l.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:c(l.get(`stroke-dasharray`))},n)},`userNodeOverrides`),c=e.n(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./chunk-WYO6CB5R-BeX_IRrv.cjs");var n=e.n(e=>{let{handDrawnSeed:n}=t.x();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e.n(e=>{let t=i([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),i=e.n(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),a=e.n(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),o=e.n(e=>{let{stylesArray:t}=r(e),n=[],i=[],o=[],s=[];return t.forEach(e=>{let t=e[0];a(t)?n.push(e.join(`:`)+` !important`):(i.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&o.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:i.join(`;`),stylesArray:t,borderStyles:o,backgroundStyles:s}},`styles2String`),s=e.n((e,n)=>{let{themeVariables:i,handDrawnSeed:a}=t.x(),{nodeBorder:o,mainBkg:s}=i,{stylesMap:l}=r(e);return Object.assign({roughness:.7,fill:l.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:l.get(`stroke`)||o,seed:a,strokeWidth:l.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:c(l.get(`stroke-dasharray`))},n)},`userNodeOverrides`),c=e.n(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
- import { x as t } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
2
+ import { x as t } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
3
3
  //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-C7G6YPKG.mjs
4
4
  var n = /* @__PURE__ */ e((e) => {
5
5
  let { handDrawnSeed: n } = t();
@@ -1,4 +1,4 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),r=require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),i=require("./chunk-32BRIVSS-oWSJWk-u.cjs"),a=require("./chunk-XXDRQBXY-gWcN0uCZ.cjs"),o=require("./chunk-VR4S4FIN-CSU_1xTZ.cjs"),s=require("./chunk-FWX5IMBZ-nqBth1J9.cjs");var c=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,7]),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,40],15:[1,41]}),t(A,[2,16]),{18:[1,42]},t(A,[2,18],{20:[1,43]}),{23:[1,44]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(A,[2,28]),{34:[1,49]},{36:[1,50]},t(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(j,[2,44],{58:[1,56]}),t(j,[2,45],{58:[1,57]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(A,[2,6]),t(A,[2,13]),{13:58,24:f,57:k},t(A,[2,17]),t(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(A,[2,29]),t(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(A,[2,34]),t(A,[2,35]),t(A,[2,36]),t(A,[2,37]),t(j,[2,46]),t(j,[2,47]),t(A,[2,15]),t(A,[2,19]),t(M,a,{7:78}),t(A,[2,26]),t(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,32]),t(A,[2,33]),t(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs"),r=require("./chunk-ICXQ74PX-DtHODNRc.cjs"),i=require("./chunk-32BRIVSS-z7FKg2Pv.cjs"),a=require("./chunk-XXDRQBXY-gWcN0uCZ.cjs"),o=require("./chunk-VR4S4FIN-C_53SlqF.cjs"),s=require("./chunk-FWX5IMBZ-DuYeCVfe.cjs");var c=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,7]),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,40],15:[1,41]}),t(A,[2,16]),{18:[1,42]},t(A,[2,18],{20:[1,43]}),{23:[1,44]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(A,[2,28]),{34:[1,49]},{36:[1,50]},t(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(j,[2,44],{58:[1,56]}),t(j,[2,45],{58:[1,57]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(A,[2,6]),t(A,[2,13]),{13:58,24:f,57:k},t(A,[2,17]),t(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(A,[2,29]),t(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(A,[2,34]),t(A,[2,35]),t(A,[2,36]),t(A,[2,37]),t(j,[2,46]),t(j,[2,47]),t(A,[2,15]),t(A,[2,19]),t(M,a,{7:78}),t(A,[2,26]),t(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},t(A,[2,32]),t(A,[2,33]),t(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};N.lexer=(function(){return{EOF:1,parseError:e.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.n(function(){return this._more=!0,this},`more`),reject:e.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1,11 +1,11 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
- import { $ as r, H as i, K as a, U as o, a as s, s as c, v as l, w as u, x as d, y as f } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
4
- import { g as p, s as m } from "./chunk-ICXQ74PX-CC59NQmW.js";
5
- import { t as h } from "./chunk-32BRIVSS-Byu3FrKX.js";
3
+ import { $ as r, H as i, K as a, U as o, a as s, s as c, v as l, w as u, x as d, y as f } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
+ import { g as p, s as m } from "./chunk-ICXQ74PX-C0c64VZJ.js";
5
+ import { t as h } from "./chunk-32BRIVSS-CWVz3-4w.js";
6
6
  import { t as g } from "./chunk-XXDRQBXY-DsVp5qjg.js";
7
- import { t as _ } from "./chunk-VR4S4FIN-Ci491c8N.js";
8
- import { r as v } from "./chunk-FWX5IMBZ-h3GfgkP2.js";
7
+ import { t as _ } from "./chunk-VR4S4FIN-D-R-67xf.js";
8
+ import { r as v } from "./chunk-FWX5IMBZ-BqwXqA9g.js";
9
9
  //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-EX3LRPZG.mjs
10
10
  var y = (function() {
11
11
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
@@ -1,9 +1,9 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t } from "./src-DJ4x3y2O.js";
3
- import { b as n, s as r } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
4
- import { d as i } from "./chunk-ICXQ74PX-CC59NQmW.js";
5
- import { a, i as o, s } from "./chunk-ZGVPDNZ5-CDTkXY1G.js";
6
- import { a as c, i as l, o as u, r as d } from "./chunk-52WLFC77-C9zQbcGs.js";
3
+ import { b as n, s as r } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
+ import { d as i } from "./chunk-ICXQ74PX-C0c64VZJ.js";
5
+ import { a, i as o, s } from "./chunk-ZGVPDNZ5-BXZklZiD.js";
6
+ import { a as c, i as l, o as u, r as d } from "./chunk-52WLFC77-qxhAtY0M.js";
7
7
  //#region ../node_modules/mermaid/dist/chunks/mermaid.core/chunk-FWX5IMBZ.mjs
8
8
  var f = {
9
9
  common: r,
@@ -24,11 +24,11 @@ var f = {
24
24
  m([
25
25
  {
26
26
  name: "dagre",
27
- loader: /* @__PURE__ */ e(async () => await import("./dagre-VKFMJZFB-ChTkS14y.js"), "loader")
27
+ loader: /* @__PURE__ */ e(async () => await import("./dagre-VKFMJZFB-BFmNqGsf.js"), "loader")
28
28
  },
29
29
  {
30
30
  name: "swimlane",
31
- loader: /* @__PURE__ */ e(async () => await import("./swimlanes-5IMT3BWC-aKH3Xgob.js"), "loader")
31
+ loader: /* @__PURE__ */ e(async () => await import("./swimlanes-5IMT3BWC-C-d6S2T8.js"), "loader")
32
32
  },
33
33
  {
34
34
  name: "cose-bilkent",
@@ -1 +1 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),r=require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),i=require("./chunk-ZGVPDNZ5-COEQX4AZ.cjs"),a=require("./chunk-52WLFC77-D9PTsiCj.cjs");var o={common:n.s,getConfig:n.b,insertCluster:i.i,insertEdge:a.r,insertEdgeLabel:a.i,insertMarkers:a.a,insertNode:i.a,interpolateToCurve:r.d,labelHelper:i.s,log:t.m,positionEdgeLabel:a.o},s={},c=e.n(e=>{for(let t of e)s[t.name]=t},`registerLayoutLoaders`);e.n(()=>{c([{name:`dagre`,loader:e.n(async()=>await Promise.resolve().then(()=>require("./dagre-VKFMJZFB-BsfMZfPu.cjs")),`loader`)},{name:`swimlane`,loader:e.n(async()=>await Promise.resolve().then(()=>require("./swimlanes-5IMT3BWC-C8zkS7yx.cjs")),`loader`)},{name:`cose-bilkent`,loader:e.n(async()=>await Promise.resolve().then(()=>require("./cose-bilkent-JH36ORCC-AyWV1dUo.cjs")),`loader`)}])},`registerDefaultLayoutLoaders`)();var l=e.n(async(e,t,n)=>{if(!(e.layoutAlgorithm in s))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let r=s[e.layoutAlgorithm],i=await r.loader(),{theme:a,themeVariables:c}=e.config,{useGradient:l,gradientStart:u,gradientStop:d}=c,f=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${f}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${f}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),l){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,u).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,d).attr(`stop-opacity`,1)}return i.render(e,t,o,{algorithm:r.algorithm},n)},`render`),u=e.n((e=``,{fallback:n=`dagre`}={})=>{if(e in s)return e;if(n in s)return t.m.warn(`Layout algorithm ${e} is not registered. Using ${n} as fallback.`),n;throw Error(`Both layout algorithms ${e} and ${n} are not registered.`)},`getRegisteredLayoutAlgorithm`);Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs"),r=require("./chunk-ICXQ74PX-DtHODNRc.cjs"),i=require("./chunk-ZGVPDNZ5-DlOaIRV9.cjs"),a=require("./chunk-52WLFC77-BQFqILl5.cjs");var o={common:n.s,getConfig:n.b,insertCluster:i.i,insertEdge:a.r,insertEdgeLabel:a.i,insertMarkers:a.a,insertNode:i.a,interpolateToCurve:r.d,labelHelper:i.s,log:t.m,positionEdgeLabel:a.o},s={},c=e.n(e=>{for(let t of e)s[t.name]=t},`registerLayoutLoaders`);e.n(()=>{c([{name:`dagre`,loader:e.n(async()=>await Promise.resolve().then(()=>require("./dagre-VKFMJZFB-CviZfakU.cjs")),`loader`)},{name:`swimlane`,loader:e.n(async()=>await Promise.resolve().then(()=>require("./swimlanes-5IMT3BWC-DLXSmhPP.cjs")),`loader`)},{name:`cose-bilkent`,loader:e.n(async()=>await Promise.resolve().then(()=>require("./cose-bilkent-JH36ORCC-AyWV1dUo.cjs")),`loader`)}])},`registerDefaultLayoutLoaders`)();var l=e.n(async(e,t,n)=>{if(!(e.layoutAlgorithm in s))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let r=s[e.layoutAlgorithm],i=await r.loader(),{theme:a,themeVariables:c}=e.config,{useGradient:l,gradientStart:u,gradientStop:d}=c,f=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${f}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${f}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),l){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,u).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,d).attr(`stop-opacity`,1)}return i.render(e,t,o,{algorithm:r.algorithm},n)},`render`),u=e.n((e=``,{fallback:n=`dagre`}={})=>{if(e in s)return e;if(n in s)return t.m.warn(`Layout algorithm ${e} is not registered. Using ${n} as fallback.`),n;throw Error(`Both layout algorithms ${e} and ${n} are not registered.`)},`getRegisteredLayoutAlgorithm`);Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
@@ -1 +1 @@
1
- const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs");var r=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze({...r,...i}),o=Object.freeze({...a,body:``,hidden:!1}),s=Object.freeze({width:null,height:null}),c=Object.freeze({...s,...i}),l=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!u(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!u(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!u(e,n)?null:e}return null},u=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function d(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function f(e,t){let n=d(e,t);for(let r in o)r in i?r in e&&!(r in n)&&(n[r]=i[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function p(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function m(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=f(r[e]||i[e],a)}return o(t),n.forEach(o),f(e,a)}function h(e,t){if(e.icons[t])return m(e,t,[]);let n=p(e,[t])[t];return n?m(e,t,n):null}var g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function v(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(g);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=_.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function y(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function b(e,t){return e?`<defs>`+e+`</defs>`+t:t}function x(e,t,n){let r=y(e);return b(r.defs,t+r.content+n)}var S=e=>e===`unset`||e===`undefined`||e===`none`;function C(e,t){let n={...a,...e},r={...c,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},o=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,a=e.rotate;n?r?a+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(a<0&&(a-=Math.floor(a/4)*4),a%=4,a){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(o=x(o,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,l=r.height,u=i.width,d=i.height,f,p;s===null?(p=l===null?`1em`:l===`auto`?d:l,f=v(p,u/d)):(f=s===`auto`?u:s,p=l===null?v(f,d/u):l===`auto`?d:l);let m={},h=(e,t)=>{S(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:o}}var w=/\sid="(\S+)"/g,T=new Map;function E(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=T.get(e)||0;return T.set(e,t+1),t?`${e}${t}`:e}function D(e){let t=[],n;for(;n=w.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=E(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function O(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var k={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},A=new Map,j=new Map,M=e.n(e=>{for(let n of e){if(!n.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(t.m.debug(`Registering icon pack:`,n.name),`loader`in n)j.set(n.name,n.loader);else if(`icons`in n)A.set(n.name,n.icons);else throw t.m.error(`Invalid icon loader:`,n),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),N=e.n(async(e,n)=>{let r=l(e,!0,n!==void 0);if(!r)throw Error(`Invalid icon name: ${e}`);let i=r.prefix||n;if(!i)throw Error(`Icon name must contain a prefix: ${e}`);let a=A.get(i);if(!a){let e=j.get(i);if(!e)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await e(),prefix:i},A.set(i,a)}catch(e){throw t.m.error(e),Error(`Failed to load icon set: ${r.prefix}`)}}let o=h(a,r.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),P=e.n(async e=>{try{return await N(e),!0}catch{return!1}},`isIconAvailable`),F=e.n(async(e,r,i)=>{let a;try{a=await N(e,r?.fallbackPrefix)}catch(e){t.m.error(e),a=k}let o=C(a,r);return n.z(O(D(o.body),{...o.attributes,...i}),n.b())},`getIconSVG`);Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return F}});
1
+ const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BeX_IRrv.cjs");var r=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze({...r,...i}),o=Object.freeze({...a,body:``,hidden:!1}),s=Object.freeze({width:null,height:null}),c=Object.freeze({...s,...i}),l=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!u(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!u(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!u(e,n)?null:e}return null},u=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function d(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function f(e,t){let n=d(e,t);for(let r in o)r in i?r in e&&!(r in n)&&(n[r]=i[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function p(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function m(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=f(r[e]||i[e],a)}return o(t),n.forEach(o),f(e,a)}function h(e,t){if(e.icons[t])return m(e,t,[]);let n=p(e,[t])[t];return n?m(e,t,n):null}var g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function v(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(g);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=_.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function y(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function b(e,t){return e?`<defs>`+e+`</defs>`+t:t}function x(e,t,n){let r=y(e);return b(r.defs,t+r.content+n)}var S=e=>e===`unset`||e===`undefined`||e===`none`;function C(e,t){let n={...a,...e},r={...c,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},o=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,a=e.rotate;n?r?a+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(a<0&&(a-=Math.floor(a/4)*4),a%=4,a){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(o=x(o,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,l=r.height,u=i.width,d=i.height,f,p;s===null?(p=l===null?`1em`:l===`auto`?d:l,f=v(p,u/d)):(f=s===`auto`?u:s,p=l===null?v(f,d/u):l===`auto`?d:l);let m={},h=(e,t)=>{S(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:o}}var w=/\sid="(\S+)"/g,T=new Map;function E(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=T.get(e)||0;return T.set(e,t+1),t?`${e}${t}`:e}function D(e){let t=[],n;for(;n=w.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=E(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function O(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var k={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},A=new Map,j=new Map,M=e.n(e=>{for(let n of e){if(!n.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(t.m.debug(`Registering icon pack:`,n.name),`loader`in n)j.set(n.name,n.loader);else if(`icons`in n)A.set(n.name,n.icons);else throw t.m.error(`Invalid icon loader:`,n),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),N=e.n(async(e,n)=>{let r=l(e,!0,n!==void 0);if(!r)throw Error(`Invalid icon name: ${e}`);let i=r.prefix||n;if(!i)throw Error(`Icon name must contain a prefix: ${e}`);let a=A.get(i);if(!a){let e=j.get(i);if(!e)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await e(),prefix:i},A.set(i,a)}catch(e){throw t.m.error(e),Error(`Failed to load icon set: ${r.prefix}`)}}let o=h(a,r.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),P=e.n(async e=>{try{return await N(e),!0}catch{return!1}},`isIconAvailable`),F=e.n(async(e,r,i)=>{let a;try{a=await N(e,r?.fallbackPrefix)}catch(e){t.m.error(e),a=k}let o=C(a,r);return n.z(O(D(o.body),{...o.attributes,...i}),n.b())},`getIconSVG`);Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return F}});
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t } from "./src-DJ4x3y2O.js";
3
- import { b as n, z as r } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
3
+ import { b as n, z as r } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
4
  //#region ../node_modules/@iconify/utils/lib/icon/defaults.js
5
5
  var i = Object.freeze({
6
6
  left: 0,
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
2
  import { m as t, p as n } from "./src-DJ4x3y2O.js";
3
- import { R as r, h as i, p as a, r as o, s } from "./chunk-WYO6CB5R-Y9HJHB3Q.js";
3
+ import { R as r, h as i, p as a, r as o, s } from "./chunk-WYO6CB5R-C9QlJ7t3.js";
4
4
  import { t as c } from "./dist-D6LMt8nW.js";
5
5
  //#region ../node_modules/d3-shape/src/curve/linear.js
6
6
  function l(e) {