@sme.up/ketchup2 2.8.0 → 2.8.1

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 (227) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-DZIaCwNE.js → abnfDiagram-VCTEODGH-DwAVRNNu.js} +5 -5
  2. package/dist/{arc-7ZXqzxve.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-5GKGNRK7-BJvIxhbL.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +309 -300
  5. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  6. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  7. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  8. package/dist/basic-components/list/list.d.ts.map +1 -1
  9. package/dist/basic-components/select/select.d.ts.map +1 -1
  10. package/dist/{blockDiagram-I7D4REHJ-C5aW9ypR.js → blockDiagram-I7D4REHJ-Cu18ws5-.js} +38 -35
  11. package/dist/{c4Diagram-7LVT6UL2-JxFfT5VH.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +109 -79
  12. package/dist/{channel-D6agWknC.js → channel-CuEby436.js} +1 -1
  13. package/dist/{chunk-2E4U76K2-C8vehurw.js → chunk-2E4U76K2-ComA5SPA.js} +18 -16
  14. package/dist/{chunk-4HAMMTFA-MZIwowe1.js → chunk-4HAMMTFA-CZgIgrp_.js} +18 -18
  15. package/dist/{chunk-75Z2AOVW-BwUD389x.js → chunk-75Z2AOVW-Drsj7a97.js} +53 -84
  16. package/dist/{chunk-CLGD4ZFX-DKRy6g5T.js → chunk-CLGD4ZFX-CLGio9rD.js} +7 -3
  17. package/dist/{chunk-DU6HZSFF-CNSdkWoH.js → chunk-DU6HZSFF-waeanndy.js} +18 -14
  18. package/dist/{chunk-F27PBJKO-DKsmevT5.js → chunk-F27PBJKO-jIrOJO87.js} +3 -3
  19. package/dist/{chunk-FOHPRMQF-C49KxWOg.js → chunk-FOHPRMQF-LRqOLsSw.js} +435 -362
  20. package/dist/{chunk-GMAD6QVW-DKxKOKLF.js → chunk-GMAD6QVW-D80II4AD.js} +38 -28
  21. package/dist/{chunk-GVQU2GXP-w4KY-she.js → chunk-GVQU2GXP-DP3t_9Rl.js} +4 -4
  22. package/dist/{chunk-IMKFNOWR-DHxMOe_C.js → chunk-IMKFNOWR-8ItzAAcf.js} +43 -47
  23. package/dist/{chunk-L3NEJ4N5-CvNbHpcd.js → chunk-L3NEJ4N5-qPot4t6M.js} +11 -11
  24. package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-CtYcu9x8.js} +27 -19
  25. package/dist/{chunk-OSK3NFVY-BmtDbEvT.js → chunk-OSK3NFVY-CQhPF3Mc.js} +25 -22
  26. package/dist/{chunk-P2QGCYS3-DRvvOWJ2.js → chunk-P2QGCYS3-BUeNZ170.js} +1 -1
  27. package/dist/{chunk-POPQ4Y6H-CaEkosGL.js → chunk-POPQ4Y6H-CU9oz17Z.js} +2 -2
  28. package/dist/{chunk-PWAF6VOD-CbmhQpgH.js → chunk-PWAF6VOD-D37VoZ8H.js} +6 -8
  29. package/dist/{chunk-SHT3W25Y-DJgD-hyF.js → chunk-SHT3W25Y-Cri27Jke.js} +28 -34
  30. package/dist/{chunk-SVP7TREG-BNwvtyzm.js → chunk-SVP7TREG-CyJlOPau.js} +3 -3
  31. package/dist/{chunk-TICWLB2K-DqSHwYf9.js → chunk-TICWLB2K-Cw2iT_VD.js} +15 -15
  32. package/dist/{chunk-TLUHSLCS-opHh7fd-.js → chunk-TLUHSLCS-BdsLNXjt.js} +10 -10
  33. package/dist/{chunk-XXDRQBXY-BZK6GgVm.js → chunk-XXDRQBXY-C1ZEFXGu.js} +1 -1
  34. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  35. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  36. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  37. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  38. package/dist/components/chat/chat.d.ts.map +1 -1
  39. package/dist/components/data-table/data-table.d.ts.map +1 -1
  40. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  41. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  42. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  43. package/dist/{cose-bilkent-JH36ORCC-CE0T5PqO.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +64 -61
  44. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  45. package/dist/{cynefinDiagram-5FMLGOSQ-D5vkxB9p.js → cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js} +18 -12
  46. package/dist/{cytoscape.esm-BQqfb1oS.js → cytoscape.esm-C5TvPYYm.js} +532 -538
  47. package/dist/{dagre-qXSFUdzO.js → dagre-D5csT9sx.js} +16 -18
  48. package/dist/{dagre-GXQ25YYZ-CFXgAmuL.js → dagre-GXQ25YYZ-Bg7xf6xn.js} +16 -14
  49. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  50. package/dist/{diagram-S7CK7UJ4-DrGNegqs.js → diagram-S7CK7UJ4-BuDHTdHA.js} +6 -6
  51. package/dist/{diagram-UQ7AKVKN-LU56O9S9.js → diagram-UQ7AKVKN-uvzJGj43.js} +8 -8
  52. package/dist/{diagram-VSXAHHWV-CaQnupEx.js → diagram-VSXAHHWV-CrQQCs-B.js} +5 -5
  53. package/dist/{diagram-VX7I27RA-DH-s9daK.js → diagram-VX7I27RA-BNmG1sig.js} +52 -50
  54. package/dist/{diagram-Z3DM3KII-DWhRX2l9.js → diagram-Z3DM3KII-B6BrLhP0.js} +5 -5
  55. package/dist/{dist-C7OpkiTz.js → dist-CsrMlyO_.js} +1 -1
  56. package/dist/{ebnfDiagram-PWID7BFC-CtT2erlt.js → ebnfDiagram-PWID7BFC-DMx8xAFO.js} +5 -5
  57. package/dist/{erDiagram-RLTQ6QDP-CxxAoCSs.js → erDiagram-RLTQ6QDP-bkJ9nzVK.js} +25 -25
  58. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  59. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  60. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -1
  61. package/dist/{ganttDiagram-EL5Y4UJY-C04RZW4s.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +39 -50
  62. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  63. package/dist/{gitGraphDiagram-WWUBYQGX-BTcuEGsY.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +17 -13
  64. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  65. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  66. package/dist/{infoDiagram-27XIBGKW-BoUOV42E.js → infoDiagram-27XIBGKW-Je4heBlk.js} +4 -4
  67. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  68. package/dist/{ishikawaDiagram-5VMMS53U-D15Hi9wp.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +12 -12
  69. package/dist/{journeyDiagram-3NMN7TZE-BUb4frTN.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +16 -16
  70. package/dist/{kanban-definition-UXKFOSKX-DkgBC20j.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +20 -20
  71. package/dist/{katex-Dyoqg6Cv.js → katex-CT2p8LXT.js} +111 -96
  72. package/dist/ketchup2.css +1 -1
  73. package/dist/ketchup2.es.js +31937 -32051
  74. package/dist/{line-BEo8vh4N.js → line-DTqYMLoX.js} +2 -2
  75. package/dist/{linear-BNesvT28.js → linear-CXc5xaa6.js} +8 -9
  76. package/dist/{mermaid-parser.core-oFB-qEU8.js → mermaid-parser.core-BwVmI_Rq.js} +16 -16
  77. package/dist/{mindmap-definition-YA3MSWOX-Cjs12XgD.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +27 -29
  78. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  79. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  80. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  81. package/dist/{pegDiagram-XKGWAZYB-BuyVzOiH.js → pegDiagram-XKGWAZYB-DsfILwZN.js} +5 -5
  82. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  83. package/dist/{pieDiagram-E7YTZNPT-D4bB4TDP.js → pieDiagram-E7YTZNPT-DcSLcLdd.js} +15 -17
  84. package/dist/{quadrantDiagram-AXDQQJYC-B6Q9biU9.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +10 -10
  85. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  86. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  87. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  88. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  89. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  90. package/dist/{railroadDiagram-O6MQD6OU-DFR4_PxB.js → railroadDiagram-O6MQD6OU-jOZRtNDi.js} +5 -5
  91. package/dist/{requirementDiagram-BXWQKSXE-BfWCCTu8.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +20 -20
  92. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  93. package/dist/{sankeyDiagram-P5KCCOFB-B_3NESVW.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +16 -14
  94. package/dist/{sequenceDiagram-WJ2MYXX4-B8W9PUBb.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +34 -46
  95. package/dist/{src-D-6ZfKf9.js → src-DQoflmwT.js} +20 -23
  96. package/dist/{stateDiagram-D77RDMKH-IwptGFzp.js → stateDiagram-D77RDMKH-YfzmviNY.js} +20 -20
  97. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  98. package/dist/{swimlanes-42K2YHIH-jhIjSCsq.js → swimlanes-42K2YHIH-CJcMmxXf.js} +44 -41
  99. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  100. package/dist/{timeline-definition-24CTP7MA-C6u6A92C.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +18 -18
  101. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  102. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  103. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  104. package/dist/{vennDiagram-4TSXK5OY-Bt9cyeRX.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +12 -12
  105. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  106. package/dist/{wardleyDiagram-VM6X3IG4-QkNx10Ny.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +40 -40
  107. package/dist/{xychartDiagram-S5SC5T6Z-BSwoR01A.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +22 -26
  108. package/package.json +38 -38
  109. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +0 -1
  110. package/dist/arc-DBilzVYt.cjs +0 -1
  111. package/dist/architecture-7GRP2DOG-DYFsLst2.js +0 -3
  112. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +0 -1
  113. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +0 -36
  114. package/dist/array-DZSRzHA_.cjs +0 -1
  115. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +0 -129
  116. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +0 -38
  117. package/dist/channel-BvUly9jN.cjs +0 -1
  118. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +0 -1
  119. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
  120. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +0 -62
  121. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
  122. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +0 -2
  123. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +0 -1
  124. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +0 -127
  125. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +0 -1
  126. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +0 -161
  127. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +0 -72
  128. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +0 -1
  129. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +0 -231
  130. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
  131. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +0 -1
  132. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +0 -34
  133. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +0 -10
  134. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +0 -1
  135. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +0 -1
  136. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +0 -1
  137. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +0 -168
  138. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +0 -88
  139. package/dist/chunk-TICWLB2K-1u0p_luB.cjs +0 -206
  140. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +0 -1
  141. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +0 -1
  142. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
  143. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +0 -30
  144. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +0 -1
  145. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +0 -30
  146. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +0 -1
  147. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +0 -1
  148. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +0 -1
  149. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +0 -3
  150. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +0 -62
  151. package/dist/cytoscape.esm-TdwWzXkE.cjs +0 -321
  152. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +0 -4
  153. package/dist/dagre-nX1Mh32P.cjs +0 -1
  154. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  155. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +0 -30
  156. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +0 -41
  157. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +0 -3
  158. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +0 -24
  159. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +0 -24
  160. package/dist/dist-DrOEvFlx.cjs +0 -1
  161. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +0 -1
  162. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +0 -99
  163. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +0 -3
  164. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +0 -1
  165. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +0 -1
  166. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +0 -17
  167. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +0 -292
  168. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +0 -3
  169. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +0 -1
  170. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +0 -106
  171. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  172. package/dist/info-A6RAGUB7-C0KA0jej.cjs +0 -1
  173. package/dist/info-A6RAGUB7-DYBvudiC.js +0 -3
  174. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +0 -2
  175. package/dist/init-07zIhv_j.cjs +0 -1
  176. package/dist/ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs +0 -70
  177. package/dist/journeyDiagram-3NMN7TZE-CxVpPKa-.cjs +0 -139
  178. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +0 -89
  179. package/dist/katex-DUe6VLjC.cjs +0 -257
  180. package/dist/ketchup2.cjs.js +0 -487
  181. package/dist/line-wiGgVVGi.cjs +0 -1
  182. package/dist/linear-YA14Lx5Z.cjs +0 -1
  183. package/dist/mermaid-parser.core-CqChDTj1.cjs +0 -6
  184. package/dist/mindmap-definition-YA3MSWOX-0PG4raFG.cjs +0 -96
  185. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  186. package/dist/packet-AYTQ26CC-BEwXWBE0.js +0 -3
  187. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +0 -1
  188. package/dist/path-Kklx0M1v.cjs +0 -1
  189. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +0 -1
  190. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +0 -1
  191. package/dist/pie-WAS4IAKB-BOR5Wwai.js +0 -3
  192. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +0 -39
  193. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +0 -7
  194. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +0 -3
  195. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +0 -1
  196. package/dist/railroad-74A4TZTK-CaWzRQE0.js +0 -3
  197. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +0 -1
  198. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +0 -3
  199. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +0 -1
  200. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +0 -1
  201. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +0 -3
  202. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +0 -1
  203. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +0 -3
  204. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +0 -1
  205. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +0 -84
  206. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  207. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +0 -40
  208. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +0 -162
  209. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +0 -1
  210. package/dist/src-B16ML7oM.cjs +0 -1
  211. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +0 -1
  212. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +0 -1
  213. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +0 -30
  214. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +0 -1
  215. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +0 -31
  216. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +0 -8
  217. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +0 -120
  218. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +0 -3
  219. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +0 -1
  220. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +0 -1
  221. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +0 -3
  222. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  223. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +0 -34
  224. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +0 -1
  225. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +0 -3
  226. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +0 -78
  227. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +0 -7
@@ -1,62 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./chunk-75Z2AOVW-RbCLc-XL.cjs"),i=require("./chunk-P2QGCYS3-DqT85Q-S.cjs"),a=require("./chunk-PWAF6VOD-CjrO-QHU.cjs"),o=require("./chunk-GMAD6QVW-BVSRANO9.cjs"),s=require("./rough.esm-r0QOSzHM.cjs");var c=1,l=3;async function u(e){let i=e.getElementsByTagName(`img`);if(!i||i.length===0)return;let a=!d(e);await Promise.all([...i].map(e=>new Promise(i=>{function o(){if(e.style.display=`flex`,e.style.flexDirection=`column`,a){let n=t.x().fontSize?t.x().fontSize:window.getComputedStyle(document.body).fontSize,[i=t.f.fontSize]=r.p(n),a=i*5+`px`;e.style.minWidth=a,e.style.maxWidth=a}else e.style.width=`100%`;i(e)}n.n(o,`setupImage`),setTimeout(()=>{e.complete&&o()}),e.addEventListener(`error`,o),e.addEventListener(`load`,o)})))}n.n(u,`configureLabelImages`);function d(e){return e.nodeType===l?e.textContent?.trim()!==``:e.nodeType!==c||e.tagName.toLowerCase()===`img`?!1:[...e.childNodes].some(d)}n.n(d,`hasTextBesidesImages`);var f=3,p=32,m=n.n(async(n,i,a)=>{let s=t.x(),c=n.insert(`g`).attr(`class`,a??`node default`).attr(`id`,i.domId||i.id),l=c.insert(`g`).attr(`class`,`label`).attr(`style`,r.u(i.labelStyle)),u=[{text:typeof i.label==`string`?i.label:i.label?.[0]??``,cssClass:`c4-name`},{text:i.stereotype,cssClass:`c4-type`},...(i.description??[]).map(e=>({text:e,cssClass:`c4-descr`}))].filter(e=>e.text),d=i.width?Math.max(i.width-2*(i.padding??0),p):t.x().flowchart?.wrappingWidth??200,m=s.c4?.wrap??!0?d:1/0,h=await Promise.all(u.map(async n=>{let a=l.append(`g`).attr(`class`,n.cssClass),c=await o.n(a,t.z(r.a(n.text??``),s),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:m,style:i.labelStyle},s);return e.p(c).selectAll(`tspan.text-outer-tspan`).attr(`text-anchor`,`middle`),e.p(c).selectAll(`tspan.text-inner-tspan`).attr(`font-weight`,null).attr(`font-style`,null),{el:a,box:a.node().getBBox()}})),g=Math.max(...h.map(({box:e})=>e.width),0),_=0;for(let{el:e,box:t}of h)e.attr(`transform`,`translate(${g/2-t.x-t.width/2}, ${_-t.y})`),_+=t.height+f;let v=h.length>0?_-f:0;return l.insert(`rect`,`:first-child`),l.attr(`transform`,`translate(${-g/2}, ${-v/2})`),{shapeSvg:c,bbox:l.node().getBBox(),halfPadding:(i.padding??0)/2,label:l}},`c4LabelHelper`),h=n.n(async(n,i,a)=>{if(i.stereotype!==void 0)return m(n,i,a);let s,c=i.useHtmlLabels||t.g(t.x()?.htmlLabels);s=a||`node default`;let l=n.insert(`g`).attr(`class`,s).attr(`id`,i.domId||i.id),d=l.insert(`g`).attr(`class`,`label`).attr(`style`,r.u(i.labelStyle)),f;f=i.label===void 0?``:typeof i.label==`string`?i.label:i.label[0];let p=!!i.icon||!!i.img,h=i.labelType===`markdown`,g=await o.n(d,t.z(r.a(f),t.x()),{useHtmlLabels:c,width:i.width||i.wrappingWidth||t.x().flowchart?.wrappingWidth,classes:h?`markdown-node-label`:``,style:i.labelStyle,addSvgBackground:p,markdown:h},t.x()),_=(i?.padding??0)/2,v;if(c){let t=g.children[0],n=e.p(g);await u(t),v=await o.r.measure(()=>t.getBoundingClientRect()),n.attr(`width`,v.width),n.attr(`height`,v.height)}else v=await o.r.measure(()=>g.getBBox());return c?d.attr(`transform`,`translate(`+-v.width/2+`, `+-v.height/2+`)`):d.attr(`transform`,`translate(0, `+-v.height/2+`)`),i.centerLabel&&d.attr(`transform`,`translate(`+-v.width/2+`, `+-v.height/2+`)`),d.insert(`rect`,`:first-child`),{shapeSvg:l,bbox:v,halfPadding:_,label:d}},`labelHelper`),g=n.n(async(n,i,a)=>{let s=a.useHtmlLabels??t.T(t.x()),c=n.insert(`g`).attr(`class`,`label`).attr(`style`,a.labelStyle||``),l=await o.n(c,t.z(r.a(i),t.x()),{useHtmlLabels:s,width:a.width||t.x()?.flowchart?.wrappingWidth,style:a.labelStyle,addSvgBackground:!!a.icon||!!a.img}),u=a.padding/2,d;if(t.T(t.x())){let t=l.children[0],n=e.p(l);d=await o.r.measure(()=>t.getBoundingClientRect()),n.attr(`width`,d.width),n.attr(`height`,d.height)}else d=await o.r.measure(()=>l.getBBox());return s?c.attr(`transform`,`translate(`+-d.width/2+`, `+-d.height/2+`)`):c.attr(`transform`,`translate(0, `+-d.height/2+`)`),a.centerLabel&&c.attr(`transform`,`translate(`+-d.width/2+`, `+-d.height/2+`)`),c.insert(`rect`,`:first-child`),{shapeSvg:n,bbox:d,halfPadding:u,label:c}},`insertLabel`),_=n.n((e,t,n)=>{if(n){e.width=n.width,e.height=n.height;return}let r=t.node().getBBox();e.width=r.width,e.height=r.height},`updateNodeBounds`),v=n.n((e,t)=>(e.look===`handDrawn`?`rough-node`:`node`)+` `+e.cssClasses+` `+(t||``),`getNodeClasses`);function y(e){let t=e.map((e,t)=>`${t===0?`M`:`L`}${e.x},${e.y}`);return t.push(`Z`),t.join(` `)}n.n(y,`createPathFromPoints`);function b(e,t,n,r,i,a){let o=[],s=n-e,c=r-t,l=s/a,u=2*Math.PI/l,d=t+c/2;for(let t=0;t<=50;t++){let n=e+t/50*s,r=d+i*Math.sin(u*(n-e));o.push({x:n,y:r})}return o}n.n(b,`generateFullSineWavePoints`);function x(e,t,n,r,i,a){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}n.n(x,`generateCirclePoints`);function S(e){let t=Array.from(e.childNodes).filter(e=>e.tagName===`path`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`path`),i=t.map(e=>e.getAttribute(`d`)).filter(e=>e!==null).join(` `);r.setAttribute(`d`,i);let a=t.find(e=>e.getAttribute(`fill`)!==`none`),o=t.find(e=>e.getAttribute(`stroke`)!==`none`),s=n.n((e,t)=>e?.getAttribute(t)??void 0,`getAttr`);if(a){let e={fill:s(a,`fill`),"fill-opacity":s(a,`fill-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}if(o){let e={stroke:s(o,`stroke`),"stroke-width":s(o,`stroke-width`)??`1`,"stroke-opacity":s(o,`stroke-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}let c=document.createElementNS(`http://www.w3.org/2000/svg`,`g`);return c.appendChild(r),c}n.n(S,`mergePaths`);var C=n.n((e,t)=>{var n=e.x,r=e.y,i=t.x-n,a=t.y-r,o=e.width/2,s=e.height/2,c,l;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),c=a===0?0:s*i/a,l=s):(i<0&&(o=-o),c=o,l=i===0?0:o*a/i),{x:n+c,y:r+l}},`intersectRect`),w=n.n((e,t,n,r,i)=>[`M`,e+i,t,`H`,e+n-i,`A`,i,i,0,0,1,e+n,t+i,`V`,t+r-i,`A`,i,i,0,0,1,e+n-i,t+r,`H`,e+i,`A`,i,i,0,0,1,e,t+r-i,`V`,t+i,`A`,i,i,0,0,1,e+i,t,`Z`].join(` `),`createRoundedRectPathD`),T=n.n(async(e,n,r,i=!1,a=!1)=>{let s=n||``;typeof s==`object`&&(s=s[0]);let c=t.x(),l=t.T(c);return await o.n(e,s,{style:r,isTitle:i,useHtmlLabels:l,markdown:!1,isNode:a,width:1/0},c)},`createLabel`);function E(e,t){return e.intersect(t)}n.n(E,`intersectNode`);var D=E;function O(e,t,n,r){var i=e.x,a=e.y,o=i-r.x,s=a-r.y,c=Math.sqrt(t*t*s*s+n*n*o*o),l=Math.abs(t*n*o/c);r.x<i&&(l=-l);var u=Math.abs(t*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}n.n(O,`intersectEllipse`);var k=O;function A(e,t,n){return k(e,t,t,n)}n.n(A,`intersectCircle`);var j=A;function M(e,t,n,r){{let i=t.y-e.y,a=e.x-t.x,o=t.x*e.y-e.x*t.y,s=i*n.x+a*n.y+o,c=i*r.x+a*r.y+o,l=1e-6;if(s!==0&&c!==0&&N(s,c))return;let u=r.y-n.y,d=n.x-r.x,f=r.x*n.y-n.x*r.y,p=u*e.x+d*e.y+f,m=u*t.x+d*t.y+f;if(Math.abs(p)<l&&Math.abs(m)<l&&N(p,m))return;let h=i*d-u*a;if(h===0)return;let g=Math.abs(h/2),_=a*f-d*o,v=_<0?(_-g)/h:(_+g)/h;return _=u*o-i*f,{x:v,y:_<0?(_-g)/h:(_+g)/h}}}n.n(M,`intersectLine`);function N(e,t){return e*t>0}n.n(N,`sameSign`);var P=M;function F(e,t,n){let r=e.x,i=e.y,a=[],o=1/0,s=1/0;typeof t.forEach==`function`?t.forEach(function(e){o=Math.min(o,e.x),s=Math.min(s,e.y)}):(o=Math.min(o,t.x),s=Math.min(s,t.y));let c=r-e.width/2-o,l=i-e.height/2-s;for(let r=0;r<t.length;r++){let i=t[r],o=t[r<t.length-1?r+1:0],s=P(e,n,{x:c+i.x,y:l+i.y},{x:c+o.x,y:l+o.y});s&&a.push(s)}return a.length?(a.length>1&&a.sort(function(e,t){let r=e.x-n.x,i=e.y-n.y,a=Math.sqrt(r*r+i*i),o=t.x-n.x,s=t.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1}),a[0]):e}n.n(F,`intersectPolygon`);var I={node:D,circle:j,ellipse:k,polygon:F,rect:C};function ee(t,n){let{labelStyles:a}=i.i(n);n.labelStyle=a;let o=v(n),c=o;o||(c=`anchor`);let l=t.insert(`g`).attr(`class`,c).attr(`id`,n.domId||n.id),{cssStyles:u}=n,d=s.t.svg(l),f=i.a(n,{fill:`black`,stroke:`none`,fillStyle:`solid`});n.look!==`handDrawn`&&(f.roughness=0);let p=d.circle(0,0,2,f),m=l.insert(()=>p,`:first-child`);return m.attr(`class`,`anchor`).attr(`style`,r.u(u)),_(n,m),n.intersect=function(t){return e.m.info(`Circle intersect`,n,1,t),I.circle(n,1,t)},l}n.n(ee,`anchor`);function L(e,t,n,r,i,a,o){let s=(e+n)/2,c=(t+r)/2,l=Math.atan2(r-t,n-e),u=(n-e)/2,d=(r-t)/2,f=u/i,p=d/a,m=Math.sqrt(f**2+p**2);if(m>1)throw Error(`The given radii are too small to create an arc between the points.`);let h=Math.sqrt(1-m**2),g=s+h*a*Math.sin(l)*(o?-1:1),_=c-h*i*Math.cos(l)*(o?-1:1),v=Math.atan2((t-_)/a,(e-g)/i),y=Math.atan2((r-_)/a,(n-g)/i)-v;o&&y<0&&(y+=2*Math.PI),!o&&y>0&&(y-=2*Math.PI);let b=[];for(let e=0;e<20;e++){let t=v+e/19*y,n=g+i*Math.cos(t),r=_+a*Math.sin(t);b.push({x:n,y:r})}return b}n.n(L,`generateArcPoints`);function R(e,t,n){let[r,i]=[t,n].sort((e,t)=>t-e);return i*(1-Math.sqrt(1-(e/r/2)**2))}n.n(R,`calculateArcSagitta`);async function te(e,t){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let o=t.padding??0,c=t.look===`neo`?16:o,l=t.look===`neo`?12:o,u=n.n(e=>e+l,`calcTotalHeight`),d=n.n(e=>{let t=e/2;return[t/(2.5+e/50),t]},`calcEllipseRadius`),{shapeSvg:f,bbox:p}=await h(e,t,v(t)),m=u(t?.height?t?.height:p.height),[g,b]=d(m),x=R(m,g,b),S=(t?.width?t?.width:p.width)+c*2+x-x,C=m,{cssStyles:w}=t,T=[{x:S/2,y:-C/2},{x:-S/2,y:-C/2},...L(-S/2,-C/2,-S/2,C/2,g,b,!1),{x:S/2,y:C/2},...L(S/2,C/2,S/2,-C/2,g,b,!0)],E=s.t.svg(f),D=i.a(t,{});t.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=y(T),k=E.path(O,D),A=f.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,w),a&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,a),A.attr(`transform`,`translate(${g/2}, 0)`),_(t,A),t.intersect=function(e){return I.polygon(t,T,e)},f}n.n(te,`bowTieRect`);async function z(e,t,{config:{themeVariables:r}}){let{labelStyles:a,nodeStyles:o}=i.i(t);t.labelStyle=a;let{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=r?.nodeBorder??r?.lineColor??`currentColor`,f=t.padding??12,p=Math.max(l.width+f*2,t.width??0,80),m=Math.max(Math.min(p*.08,12),5),g=Math.max(l.height+f*2+m,t.height??0),y=-g/2+m,b=g/2,x=p*.72,S=[`M${-p/2},${y}`,`L${-x/2},${b}`,`A${x/2},${m} 0 0 0 ${x/2},${b}`,`L${p/2},${y}`,`A${p/2},${m} 0 0 0 ${-p/2},${y}`,`Z`].join(` `),{cssStyles:C}=t,w=c.insert(`g`,`:first-child`).attr(`class`,`basic label-container`);if(t.look===`handDrawn`){let e=s.t.svg(c).path(S,i.a(t,{}));w.node()?.appendChild(e),C&&w.attr(`style`,C)}else w.append(`path`).attr(`d`,S).attr(`style`,o);w.append(`ellipse`).attr(`cx`,0).attr(`cy`,y).attr(`rx`,p/2).attr(`ry`,m).attr(`style`,`fill:none;stroke:${d};stroke-width:1px`),_(t,w);let T=y+(b-y)/2;u.attr(`transform`,`translate(${-(l.width/2)-(l.x-(l.left??0))}, ${T-l.height/2-(l.y-(l.top??0))})`);let E=n.n((e,t,n)=>Array.from({length:13},(r,i)=>{let a=Math.PI-i*Math.PI/12;return{x:e*Math.cos(a),y:t+n*m*Math.sin(a)}}),`arc`),D=[...E(p/2,y,-1),...E(x/2,b,1).reverse()];return t.intersect=function(e){return I.polygon(t,D,e)},c}n.n(z,`bucket`);var B=20,V=8,H=80,ne=8;async function re(e,n){let{themeVariables:a}=t.x(),o=a.clusterBkg,c=a.clusterBorder,{nodeStyles:l}=i.i(n),{shapeSvg:u,bbox:d}=await h(e,n,v(n)),f=n.padding??8,p=d.height,m=Math.max(d.width+f*2,H,n?.width??0),g=Math.max(p+V+B+f*2,n?.height??0),y=-m/2,b=-g/2,x=-(V+B)/2,S=u.select(`.label`);S&&(n.useHtmlLabels??t.T(t.x())?S.attr(`transform`,`translate(${-d.width/2}, ${-d.height/2+x})`):S.attr(`transform`,`translate(0, ${-d.height/2+x})`));let C;if(n.look===`handDrawn`){let e=s.t.svg(u),t=i.a(n,{fill:o,stroke:c,fillStyle:`solid`}),a=e.path(w(y,b,m,g,ne),t);C=u.insert(()=>a,`:first-child`),C.attr(`class`,`basic label-container collapsed-group`).attr(`style`,r.u(n.cssStyles))}else C=u.insert(`rect`,`:first-child`),C.attr(`class`,`basic label-container collapsed-group`).attr(`style`,l).attr(`rx`,ne).attr(`ry`,ne).attr(`x`,y).attr(`y`,b).attr(`width`,m).attr(`height`,g).attr(`fill`,o).attr(`stroke`,c);let T=b+f+p+V;u.append(`line`).attr(`class`,`collapsed-separator`).attr(`x1`,y+8).attr(`y1`,T).attr(`x2`,y+m-8).attr(`y2`,T).attr(`stroke`,c).attr(`stroke-dasharray`,`3, 3`);let E=T+B/2;for(let e=-1;e<=1;e++)u.append(`circle`).attr(`class`,`collapsed-indicator`).attr(`cx`,e*10).attr(`cy`,E).attr(`r`,2.5).attr(`fill`,c);return _(n,C),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(e){return I.rect(n,e)},u}n.n(re,`collapsedGroup`);function U(e,t,n,r){return e.insert(`polygon`,`:first-child`).attr(`points`,r.map(function(e){return e.x+`,`+e.y}).join(` `)).attr(`class`,`label-container`).attr(`transform`,`translate(`+-t/2+`,`+n/2+`)`)}n.n(U,`insertPolygonShape`);var W=[`right`,`left`,`up`,`down`],G=`point`,ie=n.n(e=>{let t=new Set;for(let n of e)switch(n){case`x`:t.add(`right`),t.add(`left`);break;case`y`:t.add(`up`),t.add(`down`);break;default:t.add(n);break}return t},`expandAndDeduplicateDirections`),ae=n.n(e=>W.filter(t=>e.has(t)).join(`|`)||G,`getDirectionKey`),oe={"right|left|up|down":n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:0,y:0},{x:t,y:0},{x:r/2,y:2*n},{x:r-t,y:0},{x:r,y:0},{x:r,y:-e/3},{x:r+2*n,y:-e/2},{x:r,y:-2*e/3},{x:r,y:-e},{x:r-t,y:-e},{x:r/2,y:-e-2*n},{x:t,y:-e},{x:0,y:-e},{x:0,y:-2*e/3},{x:-2*n,y:-e/2},{x:0,y:-e/3}],`right|left|up|down`),"right|left|up":n.n(({height:e,midpoint:t,width:n})=>[{x:t,y:0},{x:n-t,y:0},{x:n,y:-e/2},{x:n-t,y:-e},{x:t,y:-e},{x:0,y:-e/2}],`right|left|up`),"right|left|down":n.n(({height:e,midpoint:t,width:n})=>[{x:0,y:0},{x:t,y:-e},{x:n-t,y:-e},{x:n,y:0}],`right|left|down`),"right|up|down":n.n(({height:e,midpoint:t,width:n})=>[{x:0,y:0},{x:n,y:-t},{x:n,y:-e+t},{x:0,y:-e}],`right|up|down`),"left|up|down":n.n(({height:e,midpoint:t,width:n})=>[{x:n,y:0},{x:0,y:-t},{x:0,y:-e+t},{x:n,y:-e}],`left|up|down`),"right|left":n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:0},{x:t,y:-n},{x:r-t,y:-n},{x:r-t,y:0},{x:r,y:-e/2},{x:r-t,y:-e},{x:r-t,y:-e+n},{x:t,y:-e+n},{x:t,y:-e},{x:0,y:-e/2}],`right|left`),"up|down":n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:r/2,y:0},{x:0,y:-n},{x:t,y:-n},{x:t,y:-e+n},{x:0,y:-e+n},{x:r/2,y:-e},{x:r,y:-e+n},{x:r-t,y:-e+n},{x:r-t,y:-n},{x:r,y:-n}],`up|down`),"right|up":n.n(({height:e,midpoint:t,width:n})=>[{x:0,y:0},{x:n,y:-t},{x:0,y:-e}],`right|up`),"right|down":n.n(({height:e,width:t})=>[{x:0,y:0},{x:t,y:0},{x:0,y:-e}],`right|down`),"left|up":n.n(({height:e,midpoint:t,width:n})=>[{x:n,y:0},{x:0,y:-t},{x:n,y:-e}],`left|up`),"left|down":n.n(({height:e,width:t})=>[{x:t,y:0},{x:0,y:0},{x:t,y:-e}],`left|down`),right:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:-n},{x:t,y:-n},{x:r-t,y:-n},{x:r-t,y:0},{x:r,y:-e/2},{x:r-t,y:-e},{x:r-t,y:-e+n},{x:t,y:-e+n},{x:t,y:-e+n}],`right`),left:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:0},{x:t,y:-n},{x:r-t,y:-n},{x:r-t,y:-e+n},{x:t,y:-e+n},{x:t,y:-e},{x:0,y:-e/2}],`left`),up:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:t,y:-n},{x:t,y:-e+n},{x:0,y:-e+n},{x:r/2,y:-e},{x:r,y:-e+n},{x:r-t,y:-e+n},{x:r-t,y:-n}],`up`),down:n.n(({height:e,midpoint:t,padding:n,width:r})=>[{x:r/2,y:0},{x:0,y:-n},{x:t,y:-n},{x:t,y:-e+n},{x:r-t,y:-e+n},{x:r-t,y:-n},{x:r,y:-n}],`down`),[G]:()=>[{x:0,y:0}]},se=n.n((e,t,n,r)=>{let i=ie(e),a=(n.padding??0)/2,o=t.height+4*a,s=o/2,c=r??t.width+2*s+2*a;return(oe[ae(i)]??oe[G])({height:o,midpoint:s,padding:a,width:c})},`getArrowPoints`);async function ce(e,t){let n=t,{shapeSvg:r,bbox:i}=await h(e,n,v(n)),a=n.padding??0,o=i.height+2*a,s=o/2,c=i.width+2*s+a,l=n.width??0,u=n.positioned&&(n.widthInColumns??1)>1&&l>c?l:c,d=se(n.directions??[],i,n,u),f=U(r,u,o,d);return f.attr(`style`,n.style??null),_(n,f),n.intersect=function(e){return I.polygon(n,d,e)},r}n.n(ce,`block_arrow`);async function le(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let{shapeSvg:o,bbox:c,label:l}=await h(e,t,v(t)),u=n?.nodeBorder??n?.lineColor??`currentColor`,d=t.padding??12,f=Math.max(c.width+d*2,t.width??0,90),p=Math.max(c.height+d*2+18,t.height??0),m=-p/2,{cssStyles:g}=t,y=o.insert(`g`,`:first-child`).attr(`class`,`basic label-container`);if(t.look===`handDrawn`){let e=s.t.svg(o).path(w(-f/2,m,f,p,12),i.a(t,{}));y.node()?.appendChild(e),g&&y.attr(`style`,g)}else y.append(`rect`).attr(`x`,-f/2).attr(`y`,m).attr(`width`,f).attr(`height`,p).attr(`rx`,12).attr(`ry`,12).attr(`style`,a);y.append(`line`).attr(`x1`,-f/2).attr(`y1`,m+18).attr(`x2`,f/2).attr(`y2`,m+18).attr(`style`,`stroke:${u};stroke-width:1px`);for(let e=0;e<3;e++)y.append(`circle`).attr(`cx`,-f/2+12+e*9).attr(`cy`,m+18/2).attr(`r`,2.5).attr(`style`,`fill:${u};stroke:none`);y.append(`rect`).attr(`class`,`browser-address-bar`).attr(`x`,-f/2+44).attr(`y`,m+4).attr(`width`,Math.max(f-56,10)).attr(`height`,10).attr(`rx`,3).attr(`ry`,3).attr(`style`,`fill:none;stroke:${u};stroke-width:1px;opacity:0.6`),_(t,y);let b=m+18+(p-18)/2;return l.attr(`transform`,`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${b-c.height/2-(c.y-(c.top??0))})`),t.intersect=function(e){return I.rect(t,e)},o}n.n(le,`browser`);var ue=12;async function de(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?28:a,c=t.look===`neo`?24:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.width??u.width)+(t.look===`neo`?o*2:o+ue),f=(t?.height??u.height)+(t.look===`neo`?c*2:c),p=d,m=-f,g=[{x:0+ue,y:m},{x:p,y:m},{x:p,y:0},{x:0,y:0},{x:0,y:m+ue},{x:0+ue,y:m}],b,{cssStyles:x}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(g),a=e.path(r,n);b=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-d/2}, ${f/2})`),x&&b.attr(`style`,x)}else b=U(l,d,f,g);return r&&b.attr(`style`,r),_(t,b),t.intersect=function(e){return I.polygon(t,g,e)},l}n.n(de,`card`);function fe(e,t){let{nodeStyles:n}=i.i(t);t.label=``;let r=e.insert(`g`).attr(`class`,v(t)).attr(`id`,t.domId??t.id),{cssStyles:a}=t,o=Math.max(28,t.width??0),c=[{x:0,y:o/2},{x:o/2,y:0},{x:0,y:-o/2},{x:-o/2,y:0}],l=s.t.svg(r),u=i.a(t,{});t.look!==`handDrawn`&&(u.roughness=0,u.fillStyle=`solid`);let d=y(c),f=l.path(d,u),p=r.insert(()=>f,`:first-child`);return a&&t.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,a),n&&t.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,n),t.width=28,t.height=28,t.intersect=function(e){return I.polygon(t,c,e)},r}n.n(fe,`choice`);async function pe(t,n,a){let{labelStyles:o,nodeStyles:c}=i.i(n);n.labelStyle=o;let{shapeSvg:l,bbox:u,halfPadding:d}=await h(t,n,v(n)),f=a?.padding??d,p=n.look===`neo`?u.width/2+32:u.width/2+f,m,{cssStyles:g}=n;if(n.look===`handDrawn`){let e=s.t.svg(l),t=i.a(n,{}),a=e.circle(0,0,p*2,t);m=l.insert(()=>a,`:first-child`),m.attr(`class`,`basic label-container`).attr(`style`,r.u(g))}else m=l.insert(`circle`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,c).attr(`r`,p).attr(`cx`,0).attr(`cy`,0);return _(n,m),n.calcIntersect=function(e,t){let n=e.width/2;return I.circle(e,n,t)},n.intersect=function(t){return e.m.info(`Circle intersect`,n,p,t),I.circle(n,p,t)},l}n.n(pe,`circle`);async function me(e,t){let n=t,{shapeSvg:r,bbox:i,halfPadding:a}=await h(e,n,[`node`,n.cssClasses,n.class].filter(Boolean).join(` `)),o=r.insert(`rect`,`:first-child`),s=n.padding??0,c=n.positioned?n.width??0:i.width+s,l=n.positioned?n.height??0:i.height+s,u=n.positioned?-c/2:-i.width/2-a,d=n.positioned?-l/2:-i.height/2-a;return o.attr(`class`,`basic cluster composite label-container`).attr(`style`,n.style??null).attr(`rx`,n.rx??null).attr(`ry`,n.ry??null).attr(`x`,u).attr(`y`,d).attr(`width`,c).attr(`height`,l),_(n,o),n.intersect=function(e){return I.rect(n,e)},r}n.n(me,`composite`);async function he(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let{shapeSvg:o,bbox:c,label:l}=await h(e,t,v(t)),u=n?.nodeBorder??n?.lineColor??`currentColor`,d=t.padding??12,f=Math.max(c.width+d*2,t.width??0,90),p=Math.max(c.height+d*2+20,t.height??0),m=-p/2,{cssStyles:g}=t,y=o.insert(`g`,`:first-child`).attr(`class`,`basic label-container`);if(t.look===`handDrawn`){let e=s.t.svg(o).path(w(-f/2,m,f,p,12),i.a(t,{}));y.node()?.appendChild(e),g&&y.attr(`style`,g)}else y.append(`rect`).attr(`x`,-f/2).attr(`y`,m).attr(`width`,f).attr(`height`,p).attr(`rx`,12).attr(`ry`,12).attr(`style`,a);y.append(`text`).attr(`x`,-f/2+12).attr(`y`,m+16).attr(`class`,`console-glyph`).attr(`style`,`font-family:monospace;font-weight:bold;font-size:14px;fill:${u}`).text(`>_`),_(t,y);let b=m+20+(p-20)/2;return l.attr(`transform`,`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${b-c.height/2-(c.y-(c.top??0))})`),t.intersect=function(e){return I.rect(t,e)},o}n.n(he,`consoleWindow`);function ge(e){let t=Math.cos(Math.PI/4),n=Math.sin(Math.PI/4),r=e*2,i={x:r/2*t,y:r/2*n},a={x:-(r/2)*t,y:r/2*n},o={x:-(r/2)*t,y:-(r/2)*n},s={x:r/2*t,y:-(r/2)*n};return`M ${a.x},${a.y} L ${s.x},${s.y}
2
- M ${i.x},${i.y} L ${o.x},${o.y}`}n.n(ge,`createLine`);function _e(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.labelStyle=r,n.label=``;let o=t.insert(`g`).attr(`class`,v(n)).attr(`id`,n.domId??n.id),c=Math.max(30,n?.width??0),{cssStyles:l}=n,u=s.t.svg(o),d=i.a(n,{});n.look!==`handDrawn`&&(d.roughness=0,d.fillStyle=`solid`);let f=u.circle(0,0,c*2,d),p=ge(c),m=u.path(p,d),h=o.insert(()=>f,`:first-child`);return h.insert(()=>m),h.attr(`class`,`outer-path`),l&&n.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,l),a&&n.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,a),_(n,h),n.intersect=function(t){return e.m.info(`crossedCircle intersect`,n,{radius:c,point:t}),I.circle(n,c,t)},o}n.n(_e,`crossedCircle`);function K(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}n.n(K,`generateCirclePoints`);async function ve(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.look===`neo`?18:t.padding??0,u=t.look===`neo`?12:t.padding??0,d=o.width+l,f=o.height+u,p=Math.max(5,f*.1),{cssStyles:m}=t,g=[...K(d/2,-f/2,p,30,-90,0),{x:-d/2-p,y:p},...K(d/2+p*2,-p,p,20,-180,-270),...K(d/2+p*2,p,p,20,-90,-180),{x:-d/2-p,y:-f/2},...K(d/2,f/2,p,20,0,90)],b=[{x:d/2,y:-f/2-p},{x:-d/2,y:-f/2-p},...K(d/2,-f/2,p,20,-90,0),{x:-d/2-p,y:-p},...K(d/2+d*.1,-p,p,20,-180,-270),...K(d/2+d*.1,p,p,20,-90,-180),{x:-d/2-p,y:f/2},...K(d/2,f/2,p,20,0,90),{x:-d/2,y:f/2+p},{x:d/2,y:f/2+p}],x=s.t.svg(a),S=i.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=y(g).replace(`Z`,``),w=x.path(C,S),T=y(b),E=x.path(T,{...S}),D=a.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),m&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${p}, 0)`),c.attr(`transform`,`translate(${-d/2+p-(o.x-(o.left??0))},${-f/2+(t.padding??0)/2-(o.y-(o.top??0))})`),_(t,D),t.intersect=function(e){return I.polygon(t,b,e)},a}n.n(ve,`curlyBraceLeft`);function q(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:a,y:l})}return o}n.n(q,`generateCirclePoints`);async function ye(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.look===`neo`?18:t.padding??0,u=t.look===`neo`?12:t.padding??0,d=o.width+(t.look===`neo`?l*2:l),f=o.height+(t.look===`neo`?u*2:u),p=Math.max(5,f*.1),{cssStyles:m}=t,g=[...q(d/2,-f/2,p,20,-90,0),{x:d/2+p,y:-p},...q(d/2+p*2,-p,p,20,-180,-270),...q(d/2+p*2,p,p,20,-90,-180),{x:d/2+p,y:f/2},...q(d/2,f/2,p,20,0,90)],b=[{x:-d/2,y:-f/2-p},{x:d/2,y:-f/2-p},...q(d/2,-f/2,p,20,-90,0),{x:d/2+p,y:-p},...q(d/2+p*2,-p,p,20,-180,-270),...q(d/2+p*2,p,p,20,-90,-180),{x:d/2+p,y:f/2},...q(d/2,f/2,p,20,0,90),{x:d/2,y:f/2+p},{x:-d/2,y:f/2+p}],x=s.t.svg(a),S=i.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=y(g).replace(`Z`,``),w=x.path(C,S),T=y(b),E=x.path(T,{...S}),D=a.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),m&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${-p}, 0)`),c.attr(`transform`,`translate(${-d/2+(t.padding??0)/2-(o.x-(o.left??0))},${-f/2+(t.padding??0)/2-(o.y-(o.top??0))})`),_(t,D),t.intersect=function(e){return I.polygon(t,b,e)},a}n.n(ye,`curlyBraceRight`);function J(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}n.n(J,`generateCirclePoints`);async function be(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.look===`neo`?18:t.padding??0,u=t.look===`neo`?12:t.padding??0,d=o.width+(t.look===`neo`?l*2:l),f=o.height+(t.look===`neo`?u*2:u),p=Math.max(5,f*.1),{cssStyles:m}=t,g=[...J(d/2,-f/2,p,30,-90,0),{x:-d/2-p,y:p},...J(d/2+p*2,-p,p,20,-180,-270),...J(d/2+p*2,p,p,20,-90,-180),{x:-d/2-p,y:-f/2},...J(d/2,f/2,p,20,0,90)],b=[...J(-d/2+p+p/2,-f/2,p,20,-90,-180),{x:d/2-p/2,y:p},...J(-d/2-p/2,-p,p,20,0,90),...J(-d/2-p/2,p,p,20,-90,0),{x:d/2-p/2,y:-p},...J(-d/2+p+p/2,f/2,p,30,-180,-270)],x=[{x:d/2,y:-f/2-p},{x:-d/2,y:-f/2-p},...J(d/2,-f/2,p,20,-90,0),{x:-d/2-p,y:-p},...J(d/2+p*2,-p,p,20,-180,-270),...J(d/2+p*2,p,p,20,-90,-180),{x:-d/2-p,y:f/2},...J(d/2,f/2,p,20,0,90),{x:-d/2,y:f/2+p},{x:d/2-p-p/2,y:f/2+p},...J(-d/2+p+p/2,-f/2,p,20,-90,-180),{x:d/2-p/2,y:p},...J(-d/2-p/2,-p,p,20,0,90),...J(-d/2-p/2,p,p,20,-90,0),{x:d/2-p/2,y:-p},...J(-d/2+p+p/2,f/2,p,30,-180,-270)],S=s.t.svg(a),C=i.a(t,{fill:`none`});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=y(g).replace(`Z`,``),T=S.path(w,C),E=y(b).replace(`Z`,``),D=S.path(E,C),O=y(x),k=S.path(O,{...C}),A=a.insert(`g`,`:first-child`);return A.insert(()=>k,`:first-child`).attr(`stroke-opacity`,0),A.insert(()=>T,`:first-child`),A.insert(()=>D,`:first-child`),A.attr(`class`,`text`),m&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(${p-p/4}, 0)`),c.attr(`transform`,`translate(${-d/2+(t.padding??0)/2-(o.x-(o.left??0))},${-f/2+(t.padding??0)/2-(o.y-(o.top??0))})`),_(t,A),t.intersect=function(e){return I.polygon(t,x,e)},a}n.n(be,`curlyBraces`);async function xe(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(20,(u.width+o*2)*1.25,t?.width??0),f=Math.max(5,u.height+c*2,t?.height??0),p=f/2,{cssStyles:m}=t,g=s.t.svg(l),b=i.a(t,{});t.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let S=d,C=f,w=S-p,T=C/4,E=[{x:w,y:0},{x:T,y:0},{x:0,y:C/2},{x:T,y:C},{x:w,y:C},...x(-w,-C/2,p,50,270,90)],D=y(E),O=g.path(D,b),k=l.insert(()=>O,`:first-child`);return k.attr(`class`,`basic label-container outer-path`),m&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,r),k.attr(`transform`,`translate(${-d/2}, ${-f/2})`),_(t,k),t.intersect=function(e){return I.polygon(t,E,e)},l}n.n(xe,`curvedTrapezoid`);async function Se(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.padding??20,u=Math.max(o.width+l*2,t.width??0,100),d=Math.min(Math.max(u*.23,16),56),f=d*.27,p=Math.max(o.height+l*2,t.height?t.height-(2*d-f):0),m=Math.min(u*.177,p*.45),g=p+2*d-f,y=-g/2,b=y+2*d-f,S=a.insert(`g`,`:first-child`).attr(`class`,`basic label-container`),{cssStyles:C}=t;if(t.look===`handDrawn`){let e=s.t.svg(a),n=i.a(t,{}),r=e.path(w(-u/2,b,u,p,m),n),o=e.circle(0,y+d,d*2,n);S.insert(()=>o,`:first-child`),S.insert(()=>r,`:first-child`),C&&S.attr(`style`,C)}else S.append(`rect`).attr(`x`,-u/2).attr(`y`,b).attr(`width`,u).attr(`height`,p).attr(`rx`,m).attr(`ry`,m).attr(`style`,r),S.append(`circle`).attr(`cx`,0).attr(`cy`,y+d).attr(`r`,d).attr(`style`,r);_(t,S);let T=b+p/2;c.attr(`transform`,`translate(${-(o.width/2)-(o.x-(o.left??0))}, ${T-o.height/2-(o.y-(o.top??0))})`);let E=y+d,D=Math.asin(Math.min(1,(b-E)/d))*180/Math.PI,O=[...x(0,-E,d,24,180+D,-D),...x(-(-u/2+m),-(b+m),m,12,90,0),...x(-(-u/2+m),-(g/2-m),m,12,360,270),...x(-(u/2-m),-(g/2-m),m,12,270,180),...x(-(u/2-m),-(b+m),m,12,180,90)];return t.intersect=function(e){return I.polygon(t,O,e)},a}n.n(Se,`person`);var Ce=n.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createCylinderPathD`),we=n.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createOuterCylinderPathD`),Te=n.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),Ee=8,De=8;async function Oe(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?24:o,l=t.look===`neo`?24:o,u=t.width??0;if(t.width&&(t.width-=l,t.width<De&&(t.width=De)),t.height){let e=u/2/(2.5+u/50);t.height=t.height-c-e*3,t.height<Ee&&(t.height=Ee)}let{shapeSvg:d,bbox:f,label:p}=await h(e,t,v(t)),m=Math.max(t.width??0,f.width)+l,g=m/2,y=g/(2.5+m/50),b=Math.max(t.height??0,f.height)+c+y,x,{cssStyles:S}=t;if(t.look===`handDrawn`){let e=s.t.svg(d),n=we(0,0,m,b,g,y),r=Te(0,y,m,b,g,y),a=i.a(t,{}),o=e.path(n,a),c=e.path(r,i.a(t,{fill:`none`}));x=d.insert(()=>c,`:first-child`),x=d.insert(()=>o,`:first-child`),x.attr(`class`,`basic label-container`),S&&x.attr(`style`,S)}else{let e=Ce(0,0,m,b,g,y);x=d.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(S)).attr(`style`,a)}return x.attr(`label-offset-y`,y),x.attr(`transform`,`translate(${-m/2}, ${-(b/2+y)})`),_(t,x),p.attr(`transform`,`translate(${-(f.width/2)-(f.x-(f.left??0))}, ${-(f.height/2)+(t.padding??0)/1.5-(f.y-(f.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(g!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-y)){let i=y*y*(1-r*r/(g*g));i>0&&(i=Math.sqrt(i)),i=y-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},d}n.n(Oe,`cylinder`);async function Y(e,t,n){let{labelStyles:a,nodeStyles:o}=i.i(t);t.labelStyle=a;let{shapeSvg:c,bbox:l}=await h(e,t,v(t)),u=Math.max(l.width+n.labelPaddingX*2,t?.width||0),d=Math.max(l.height+n.labelPaddingY*2,t?.height||0),f=-u/2,p=-d/2,m,{rx:g,ry:y}=t,{cssStyles:b}=t;if(n?.rx&&n.ry&&(g=n.rx,y=n.ry),t.look===`handDrawn`){let e=s.t.svg(c),n=i.a(t,{}),a=g||y?e.path(w(f,p,u,d,g||0),n):e.rectangle(f,p,u,d,n);m=c.insert(()=>a,`:first-child`),m.attr(`class`,`basic label-container`).attr(`style`,r.u(b))}else m=c.insert(`rect`,`:first-child`),m.attr(`class`,`basic label-container`).attr(`style`,o).attr(`rx`,r.u(g)).attr(`ry`,r.u(y)).attr(`x`,f).attr(`y`,p).attr(`width`,u).attr(`height`,d);return _(t,m,t.look===`handDrawn`?void 0:{width:u,height:d}),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},c}n.n(Y,`drawRect`);async function ke(e,t){let{cssClasses:n,labelPaddingX:r,labelPaddingY:a,padding:o,width:c,height:l}=t,u=await Y(e,t,{rx:0,ry:0,classes:n??``,labelPaddingX:r??(o??0)*2,labelPaddingY:a??o??0});if(t.look===`handDrawn`){let e=s.t.svg(u),n=i.a(t,{}),r=u.select(`.basic.label-container > path:nth-child(2)`),a=r.node();if(!a)return u;let o=null;if(a instanceof SVGGraphicsElement)o=a.getBBox();else return u;return u.insert(()=>e.line(o.x,o.y,o.x+o.width,o.y,n),`.basic.label-container g.label`),u.insert(()=>e.line(o.x,o.y+o.height,o.x+o.width,o.y+o.height,n),`.basic.label-container g.label`),r.remove(),u}let d=u.select(`.basic.label-container`),f=(Number(d.attr(`width`))||c)??0,p=(Number(d.attr(`height`))||l)??0;return f>0&&p>0&&d.attr(`stroke-dasharray`,`${f} ${p}`),u}n.n(ke,`datastore`);async function Ae(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?16:t.padding??0,{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=l.width+a,f=l.height+o,p=f*.2,m=-d/2,g=-f/2-p/2,{cssStyles:y}=t,b=s.t.svg(c),x=i.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:m,y:g+p},{x:-m,y:g+p},{x:-m,y:-g},{x:m,y:-g},{x:m,y:g},{x:-m,y:g},{x:-m,y:g+p}],C=b.polygon(S.map(e=>[e.x,e.y]),x),w=c.insert(()=>C,`:first-child`);return w.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,r),u.attr(`transform`,`translate(${m+(t.padding??0)/2-(l.x-(l.left??0))}, ${g+p+(t.padding??0)/2-(l.y-(l.top??0))})`),_(t,w),t.intersect=function(e){return I.rect(t,e)},c}n.n(Ae,`dividedRectangle`);async function je(t,n){let{labelStyles:a,nodeStyles:o}=i.i(n),c=n.look===`neo`?12:5;n.labelStyle=a;let l=n.padding??0,u=n.look===`neo`?16:l,{shapeSvg:d,bbox:f}=await h(t,n,v(n)),p=(n?.width?n?.width/2:f.width/2)+(u??0),m=p-c,g,{cssStyles:y}=n;if(n.look===`handDrawn`){let e=s.t.svg(d),t=i.a(n,{roughness:.2,strokeWidth:2.5}),a=i.a(n,{roughness:.2,strokeWidth:1.5}),o=e.circle(0,0,p*2,t),c=e.circle(0,0,m*2,a);g=d.insert(`g`,`:first-child`),g.attr(`class`,r.u(n.cssClasses)).attr(`style`,r.u(y)),g.node()?.appendChild(o),g.node()?.appendChild(c)}else{g=d.insert(`g`,`:first-child`);let e=g.insert(`circle`,`:first-child`),t=g.insert(`circle`);g.attr(`class`,`basic label-container`).attr(`style`,o),e.attr(`class`,`outer-circle`).attr(`style`,o).attr(`r`,p).attr(`cx`,0).attr(`cy`,0),t.attr(`class`,`inner-circle`).attr(`style`,o).attr(`r`,m).attr(`cx`,0).attr(`cy`,0)}return _(n,g),n.intersect=function(t){return e.m.info(`DoubleCircle intersect`,n,p,t),I.circle(n,p,t)},d}n.n(je,`doublecircle`);function Me(t,n,{config:{themeVariables:r}}){let{labelStyles:a,nodeStyles:o}=i.i(n);n.label=``,n.labelStyle=a;let c=t.insert(`g`).attr(`class`,v(n)).attr(`id`,n.domId??n.id),{cssStyles:l}=n,u=s.t.svg(c),{nodeBorder:d}=r,f=i.a(n,{fillStyle:`solid`});n.look!==`handDrawn`&&(f.roughness=0);let p=u.circle(0,0,14,f),m=c.insert(()=>p,`:first-child`);return m.selectAll(`path`).attr(`style`,`fill: ${d} !important;`),l&&l.length>0&&n.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,l),o&&n.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,o),_(n,m),n.intersect=function(t){return e.m.info(`filledCircle intersect`,n,{radius:7,point:t}),I.circle(n,7,t)},c}n.n(Me,`filledCircle`);var Ne=10,Pe=10;async function Fe(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.labelStyle=r;let o=n.padding??0,c=n.look===`neo`?o*2:o;(n.width||n.height)&&(n.height=n?.height??0,n.height<Ne&&(n.height=Ne),n.width=(n?.width??0)-c-c/2,n.width<Pe&&(n.width=Pe));let{shapeSvg:l,bbox:u,label:d}=await h(t,n,v(n)),f=(n?.width?n?.width:u.width)+(c??0),p=n?.height?n?.height:f+u.height,m=p,g=[{x:0,y:-p},{x:m,y:-p},{x:m/2,y:0}],{cssStyles:b}=n,x=s.t.svg(l),S=i.a(n,{});n.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=y(g),w=x.path(C,S),T=l.insert(()=>w,`:first-child`).attr(`transform`,`translate(${-p/2}, ${p/2})`).attr(`class`,`outer-path`);return b&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,b),a&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,a),n.width=f,n.height=p,_(n,T),d.attr(`transform`,`translate(${-u.width/2-(u.x-(u.left??0))}, ${-p/2+(n.padding??0)/2+(u.y-(u.top??0))})`),n.intersect=function(t){return e.m.info(`Triangle intersect`,n,g,t),I.polygon(n,g,t)},l}n.n(Fe,`flippedTriangle`);async function Ie(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.padding??12,u=Math.max(o.width+l*2,t.width??0,90),d=o.height+l*2,f=Math.max(Math.min(d*.16,14),8),p=Math.max(d+f,t.height??0),m=p-f,g=Math.max(u*.38,28),y=-p/2,b=[{x:-u/2,y},{x:-u/2+g,y},{x:-u/2+g,y:y+f},{x:u/2,y:y+f},{x:u/2,y:p/2},{x:-u/2,y:p/2}],x=[`M${b[0].x},${b[0].y}`,...b.slice(1).map(e=>`L${e.x},${e.y}`),`Z`].join(` `),{cssStyles:S}=t,C;if(t.look===`handDrawn`){let e=s.t.svg(a).path(x,i.a(t,{}));C=a.insert(()=>e,`:first-child`).attr(`class`,`basic label-container`),S&&C.attr(`style`,S)}else C=a.insert(`path`,`:first-child`).attr(`d`,x).attr(`class`,`basic label-container`).attr(`style`,r);t.look===`handDrawn`?_(t,C):_(t,C,{width:u,height:p});let w=y+f+m/2;return c.attr(`transform`,`translate(${-(o.width/2)-(o.x-(o.left??0))}, ${w-o.height/2-(o.y-(o.top??0))})`),t.intersect=function(e){return I.polygon(t,b,e)},a}n.n(Ie,`folder`);function Le(e,t,{dir:n,config:{state:r,themeVariables:a}}){let{nodeStyles:o}=i.i(t);t.label=``;let c=e.insert(`g`).attr(`class`,v(t)).attr(`id`,t.domId??t.id),{cssStyles:l}=t,u=Math.max(70,t?.width??0),d=Math.max(10,t?.height??0);n===`LR`&&(u=Math.max(10,t?.width??0),d=Math.max(70,t?.height??0));let f=-1*u/2,p=-1*d/2,m=s.t.svg(c),h=i.a(t,{stroke:a.lineColor,fill:a.lineColor});t.look!==`handDrawn`&&(h.roughness=0,h.fillStyle=`solid`);let g=m.rectangle(f,p,u,d,h),y=c.insert(()=>g,`:first-child`);l&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,l),o&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,o),_(t,y);let b=r?.padding??0;return t.width&&t.height&&(t.width+=b/2||0,t.height+=b/2||0),t.intersect=function(e){return I.rect(t,e)},c}n.n(Le,`forkJoin`);async function Re(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.labelStyle=r;let o=n.look===`neo`?16:n.padding??0,c=n.look===`neo`?12:n.padding??0;(n.width||n.height)&&(n.height=(n?.height??0)-c*2,n.height<10&&(n.height=10),n.width=(n?.width??0)-o*2,n.width<15&&(n.width=15));let{shapeSvg:l,bbox:u}=await h(t,n,v(n)),d=(n?.width?n?.width:Math.max(15,u.width))+o*2,f=(n?.height?n?.height:Math.max(10,u.height))+c*2,p=f/2,{cssStyles:m}=n,g=s.t.svg(l),b=i.a(n,{});n.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let S=[{x:-d/2,y:-f/2},{x:d/2-p,y:-f/2},...x(-d/2+p,0,p,50,90,270),{x:d/2-p,y:f/2},{x:-d/2,y:f/2}],C=y(S),w=g.path(C,b),T=l.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),m&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,m),a&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,a),_(n,T),n.intersect=function(t){return e.m.info(`Pill intersect`,n,{radius:p,point:t}),I.polygon(n,S,t)},l}n.n(Re,`halfRoundedRectangle`);var ze=n.n((e,t,n,r,i)=>[`M${e+i},${t}`,`L${e+n-i},${t}`,`L${e+n},${t-r/2}`,`L${e+n-i},${t-r}`,`L${e+i},${t-r}`,`L${e},${t-r/2}`,`Z`].join(` `),`createHexagonPathD`);async function Be(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t),a=t.look===`neo`?3.5:4;t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?70:o,l=t.look===`neo`?32:o;if(t.width||t.height){let e=(t.height??0)/a;t.width=(t?.width??0)-2*e-l,t.height=(t.height??0)-c}let{shapeSvg:u,bbox:d}=await h(e,t,v(t)),f=(t?.height?t?.height:d.height)+c,p=f/a,m=(t?.width?t?.width:d.width)+2*p+l,g=[{x:p,y:0},{x:m-p,y:0},{x:m,y:-f/2},{x:m-p,y:-f},{x:p,y:-f},{x:0,y:-f/2}],y,{cssStyles:b}=t;if(t.look===`handDrawn`){let e=s.t.svg(u),n=i.a(t,{}),r=ze(0,0,m,f,p),a=e.path(r,n);y=u.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-m/2}, ${f/2})`),b&&y.attr(`style`,b)}else y=U(u,m,f,g);return r&&y.attr(`style`,r),t.width=m,t.height=f,_(t,y),t.intersect=function(e){return I.polygon(t,g,e)},u}n.n(Be,`hexagon`);async function Ve(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.label=``,n.labelStyle=r;let{shapeSvg:o}=await h(t,n,v(n)),c=Math.max(30,n?.width??0),l=Math.max(30,n?.height??0),{cssStyles:u}=n,d=s.t.svg(o),f=i.a(n,{});n.look!==`handDrawn`&&(f.roughness=0,f.fillStyle=`solid`);let p=[{x:0,y:0},{x:c,y:0},{x:0,y:l},{x:c,y:l}],m=y(p),g=d.path(m,f),b=o.insert(()=>g,`:first-child`);return b.attr(`class`,`basic label-container outer-path`),u&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,u),a&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,a),b.attr(`transform`,`translate(${-c/2}, ${-l/2})`),_(n,b),n.intersect=function(t){return e.m.info(`Pill intersect`,n,{points:p}),I.polygon(n,p,t)},o}n.n(Ve,`hourglass`);async function He(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,label:g}=await h(t,n,`icon-shape default`),v=n.pos===`t`,y=d,b=d,{nodeBorder:x}=r,{stylesMap:S}=i.t(n),C=-b/2,w=-y/2,T=n.label?8:0,E=s.t.svg(p),D=i.a(n,{stroke:`none`,fill:`none`});n.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=E.rectangle(C,w,b,y,D),k=Math.max(b,m.width),A=y+m.height+T,j=E.rectangle(-k/2,-A/2,k,A,{...D,fill:`transparent`,stroke:`none`}),M=p.insert(()=>O,`:first-child`),N=p.insert(()=>j);if(n.icon){let e=p.append(`g`);e.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,i=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${v?m.height/2+T/2-i/2-s:-m.height/2-T/2-i/2-s})`),e.attr(`style`,`color: ${S.get(`stroke`)??x};`)}return g.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${v?-A/2:A/2-m.height})`),M.attr(`transform`,`translate(0,${v?m.height/2+T/2:-m.height/2-T/2})`),_(n,N),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=v?[{x:r-m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2+m.height+T},{x:r+b/2,y:i-a/2+m.height+T},{x:r+b/2,y:i+a/2},{x:r-b/2,y:i+a/2},{x:r-b/2,y:i-a/2+m.height+T},{x:r-m.width/2,y:i-a/2+m.height+T}]:[{x:r-b/2,y:i-a/2},{x:r+b/2,y:i-a/2},{x:r+b/2,y:i-a/2+y},{x:r+m.width/2,y:i-a/2+y},{x:r+m.width/2/2,y:i+a/2},{x:r-m.width/2,y:i+a/2},{x:r-m.width/2,y:i-a/2+y},{x:r-b/2,y:i-a/2+y}],I.polygon(n,o,t)},p}n.n(He,`icon`);async function Ue(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,label:g}=await h(t,n,`icon-shape default`),v=n.label?8:0,y=n.pos===`t`,{nodeBorder:b,mainBkg:x}=r,{stylesMap:S}=i.t(n),C=s.t.svg(p),w=i.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`),w.stroke=S.get(`fill`)??x;let T=p.append(`g`);n.icon&&T.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let E=T.node().getBBox(),D=E.width,O=E.height,k=E.x,A=E.y,j=Math.max(D,O)*Math.SQRT2+40,M=C.circle(0,0,j,w),N=Math.max(j,m.width),P=j+m.height+v,F=C.rectangle(-N/2,-P/2,N,P,{...w,fill:`transparent`,stroke:`none`}),ee=p.insert(()=>M,`:first-child`),L=p.insert(()=>F);return T.attr(`transform`,`translate(${-D/2-k},${y?m.height/2+v/2-O/2-A:-m.height/2-v/2-O/2-A})`),T.attr(`style`,`color: ${S.get(`stroke`)??b};`),g.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${y?-P/2:P/2-m.height})`),ee.attr(`transform`,`translate(0,${y?m.height/2+v/2:-m.height/2-v/2})`),_(n,L),n.intersect=function(t){return e.m.info(`iconSquare intersect`,n,t),I.rect(n,t)},p}n.n(Ue,`iconCircle`);async function We(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,halfPadding:g,label:v}=await h(t,n,`icon-shape default`),y=n.pos===`t`,b=d+g*2,x=d+g*2,{nodeBorder:S,mainBkg:C}=r,{stylesMap:T}=i.t(n),E=-x/2,D=-b/2,O=n.label?8:0,k=s.t.svg(p),A=i.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??C;let j=k.path(w(E,D,x,b,5),A),M=Math.max(x,m.width),N=b+m.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=p.insert(()=>j,`:first-child`).attr(`class`,`icon-shape2`),ee=p.insert(()=>P);if(n.icon){let e=p.append(`g`);e.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,i=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${y?m.height/2+O/2-i/2-s:-m.height/2-O/2-i/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??S};`)}return v.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${y?-N/2:N/2-m.height})`),F.attr(`transform`,`translate(0,${y?m.height/2+O/2:-m.height/2-O/2})`),_(n,ee),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2+m.height+O},{x:r+x/2,y:i-a/2+m.height+O},{x:r+x/2,y:i+a/2},{x:r-x/2,y:i+a/2},{x:r-x/2,y:i-a/2+m.height+O},{x:r-m.width/2,y:i-a/2+m.height+O}]:[{x:r-x/2,y:i-a/2},{x:r+x/2,y:i-a/2},{x:r+x/2,y:i-a/2+b},{x:r+m.width/2,y:i-a/2+b},{x:r+m.width/2/2,y:i+a/2},{x:r-m.width/2,y:i+a/2},{x:r-m.width/2,y:i-a/2+b},{x:r-x/2,y:i-a/2+b}],I.polygon(n,o,t)},p}n.n(We,`iconRounded`);async function Ge(t,n,{config:{themeVariables:r,flowchart:o}}){let{labelStyles:c}=i.i(n);n.labelStyle=c;let l=n.assetHeight??48,u=n.assetWidth??48,d=Math.max(l,u),f=o?.wrappingWidth;n.width=Math.max(d,f??0);let{shapeSvg:p,bbox:m,halfPadding:g,label:v}=await h(t,n,`icon-shape default`),y=n.pos===`t`,b=d+g*2,x=d+g*2,{nodeBorder:S,mainBkg:C}=r,{stylesMap:T}=i.t(n),E=-x/2,D=-b/2,O=n.label?8:0,k=s.t.svg(p),A=i.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??C;let j=k.path(w(E,D,x,b,.1),A),M=Math.max(x,m.width),N=b+m.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=p.insert(()=>j,`:first-child`),ee=p.insert(()=>P);if(n.icon){let e=p.append(`g`);e.html(`<g>${await a.t(n.icon,{height:d,width:d,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,i=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${y?m.height/2+O/2-i/2-s:-m.height/2-O/2-i/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??S};`)}return v.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))},${y?-N/2:N/2-m.height})`),F.attr(`transform`,`translate(0,${y?m.height/2+O/2:-m.height/2-O/2})`),_(n,ee),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2},{x:r+m.width/2,y:i-a/2+m.height+O},{x:r+x/2,y:i-a/2+m.height+O},{x:r+x/2,y:i+a/2},{x:r-x/2,y:i+a/2},{x:r-x/2,y:i-a/2+m.height+O},{x:r-m.width/2,y:i-a/2+m.height+O}]:[{x:r-x/2,y:i-a/2},{x:r+x/2,y:i-a/2},{x:r+x/2,y:i-a/2+b},{x:r+m.width/2,y:i-a/2+b},{x:r+m.width/2/2,y:i+a/2},{x:r-m.width/2,y:i+a/2},{x:r-m.width/2,y:i-a/2+b},{x:r-x/2,y:i-a/2+b}],I.polygon(n,o,t)},p}n.n(Ge,`iconSquare`);async function Ke(t,n,{config:{flowchart:r}}){let a=new Image;a.src=n?.img??``,await a.decode();let o=Number(a.naturalWidth.toString().replace(`px`,``)),c=Number(a.naturalHeight.toString().replace(`px`,``));n.imageAspectRatio=o/c;let{labelStyles:l}=i.i(n);n.labelStyle=l;let u=r?.wrappingWidth;n.defaultWidth=r?.wrappingWidth;let d=Math.max(n.label?u??0:0,n?.assetWidth??o),f=n.constraint===`on`&&n?.assetHeight?n.assetHeight*n.imageAspectRatio:d,p=n.constraint===`on`?f/n.imageAspectRatio:n?.assetHeight??c;n.width=Math.max(f,u??0);let{shapeSvg:m,bbox:g,label:v}=await h(t,n,`image-shape default`),y=n.pos===`t`,b=-f/2,x=-p/2,S=n.label?8:0,C=s.t.svg(m),w=i.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=C.rectangle(b,x,f,p,w),E=Math.max(f,g.width),D=p+g.height+S,O=C.rectangle(-E/2,-D/2,E,D,{...w,fill:`none`,stroke:`none`}),k=m.insert(()=>T,`:first-child`),A=m.insert(()=>O);if(n.img){let e=m.append(`image`);e.attr(`href`,n.img),e.attr(`width`,f),e.attr(`height`,p),e.attr(`preserveAspectRatio`,`none`),e.attr(`transform`,`translate(${-f/2},${y?D/2-p:-D/2})`)}return v.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${y?-p/2-g.height/2-S/2:p/2-g.height/2+S/2})`),k.attr(`transform`,`translate(0,${y?g.height/2+S/2:-g.height/2-S/2})`),_(n,A),n.intersect=function(t){if(e.m.info(`iconSquare intersect`,n,t),!n.label)return I.rect(n,t);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+S},{x:r+f/2,y:i-a/2+g.height+S},{x:r+f/2,y:i+a/2},{x:r-f/2,y:i+a/2},{x:r-f/2,y:i-a/2+g.height+S},{x:r-g.width/2,y:i-a/2+g.height+S}]:[{x:r-f/2,y:i-a/2},{x:r+f/2,y:i-a/2},{x:r+f/2,y:i-a/2+p},{x:r+g.width/2,y:i-a/2+p},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+p},{x:r-f/2,y:i-a/2+p}],I.polygon(n,o,t)},m}n.n(Ke,`imageSquare`);async function qe(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=a,c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o*2,t.height??0),f=Math.max(u.width+c*2,(t.width??0)-d),p=[{x:0,y:0},{x:f,y:0},{x:f+3*d/6,y:-d},{x:-3*d/6,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(qe,`inv_trapezoid`);async function Je(e,t){let{shapeSvg:n,bbox:r,label:i}=await h(e,t,`label`),a=n.insert(`rect`,`:first-child`);return a.attr(`width`,.1).attr(`height`,.1),n.attr(`class`,`label edgeLabel`),i.attr(`transform`,`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)-(r.y-(r.top??0))})`),_(t,a),t.intersect=function(e){return I.rect(t,e)},n}n.n(Je,`labelRect`);async function Ye(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=a,c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o,t.height??0),f=Math.max(u.width+c,(t.width??0)-d),p=[{x:0,y:0},{x:f+3*d/6,y:0},{x:f,y:-d},{x:-(3*d)/6,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(Ye,`lean_left`);async function Xe(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=a,c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o,t.height??0),f=Math.max(u.width+c,(t.width??0)-d),p=[{x:-3*d/6,y:0},{x:f,y:0},{x:f+3*d/6,y:-d},{x:0,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(Xe,`lean_right`);function Ze(t,n){let{labelStyles:r,nodeStyles:a}=i.i(n);n.label=``,n.labelStyle=r;let o=t.insert(`g`).attr(`class`,v(n)).attr(`id`,n.domId??n.id),{cssStyles:c}=n,l=Math.max(35,n?.width??0),u=Math.max(35,n?.height??0),d=[{x:l,y:0},{x:0,y:u+7/2},{x:l-14,y:u+7/2},{x:0,y:2*u},{x:l,y:u-7/2},{x:14,y:u-7/2}],f=s.t.svg(o),p=i.a(n,{});n.look!==`handDrawn`&&(p.roughness=0,p.fillStyle=`solid`);let m=y(d),h=f.path(m,p),g=o.insert(()=>h,`:first-child`);return g.attr(`class`,`outer-path`),c&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,c),a&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,a),g.attr(`transform`,`translate(-${l/2},${-u})`),_(n,g),n.intersect=function(t){return e.m.info(`lightningBolt intersect`,n,t),I.polygon(n,d,t)},o}n.n(Ze,`lightningBolt`);var Qe=n.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createCylinderPathD`),$e=n.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createOuterCylinderPathD`),et=n.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),tt=10,nt=10;async function rt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?16:o,l=t.look===`neo`?24:o;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-c,t.width<nt&&(t.width=nt);let n=e/2/(2.5+e/50);t.height=(t.height??0)-l-n*3,t.height<tt&&(t.height=tt)}let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=(t?.width?t?.width:d.width)+c*2,m=p/2,g=m/(2.5+p/50),y=(t?.height?t?.height:d.height)+g+l*2,b=y*.1,x,{cssStyles:S}=t;if(t.look===`handDrawn`){let e=s.t.svg(u),n=$e(0,0,p,y,m,g,b),r=et(0,g,p,y,m,g),a=i.a(t,{}),o=e.path(n,a),c=e.path(r,a);u.insert(()=>c,`:first-child`).attr(`class`,`line`),x=u.insert(()=>o,`:first-child`),x.attr(`class`,`basic label-container`),S&&x.attr(`style`,S)}else{let e=Qe(0,0,p,y,m,g,b);x=u.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(S)).attr(`style`,a)}return x.attr(`label-offset-y`,g),x.attr(`transform`,`translate(${-p/2}, ${-(y/2+g)})`),_(t,x),f.attr(`transform`,`translate(${-(d.width/2)-(d.x-(d.left??0))}, ${-(d.height/2)+g-(d.y-(d.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(m!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-g)){let i=g*g*(1-r*r/(m*m));i>0&&(i=Math.sqrt(i)),i=g-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},u}n.n(rt,`linedCylinder`);async function it(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.width=(t.width??0)*10/11-o*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-c*2,t.height<10&&(t.height=10));let{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=(t?.width?t?.width:u.width)+(o??0)*2,p=(t?.height?t?.height:u.height)+(c??0)*2,m=t.look===`neo`?p/4:p/8,g=p+m,{cssStyles:y}=t,x=s.t.svg(l),S=i.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-f/2-f/2*.1,y:-g/2},{x:-f/2-f/2*.1,y:g/2},...b(-f/2-f/2*.1,g/2,f/2+f/2*.1,g/2,m,.8),{x:f/2+f/2*.1,y:-g/2},{x:-f/2-f/2*.1,y:-g/2},{x:-f/2,y:-g/2},{x:-f/2,y:g/2*1.1},{x:-f/2,y:-g/2}],w=x.polygon(C.map(e=>[e.x,e.y]),S),T=l.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,r),T.attr(`transform`,`translate(0,${-m/2})`),d.attr(`transform`,`translate(${-f/2+(t.padding??0)+f/2*.1/2-(u.x-(u.left??0))},${-p/2+(t.padding??0)-m/2-(u.y-(u.top??0))})`),_(t,T),t.intersect=function(e){return I.polygon(t,C,e)},l}n.n(it,`linedWaveEdgedRect`);async function at(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a,l=t.look===`neo`?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-o*2-2*l,10),t.height=Math.max((t?.height??0)-c*2-2*l,10));let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=(t?.width?t?.width:d.width)+o*2+2*l,m=(t?.height?t?.height:d.height)+c*2+2*l,g=p-2*l,b=m-2*l,x=-g/2,C=-b/2,{cssStyles:w}=t,T=s.t.svg(u),E=i.a(t,{}),D=[{x:x-l,y:C+l},{x:x-l,y:C+b+l},{x:x+g-l,y:C+b+l},{x:x+g-l,y:C+b},{x:x+g,y:C+b},{x:x+g,y:C+b-l},{x:x+g+l,y:C+b-l},{x:x+g+l,y:C-l},{x:x+l,y:C-l},{x:x+l,y:C},{x,y:C},{x,y:C+l}],O=[{x,y:C+l},{x:x+g-l,y:C+l},{x:x+g-l,y:C+b},{x:x+g,y:C+b},{x:x+g,y:C},{x,y:C}];t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let k=y(D),A=T.path(k,E),j=y(O),M=T.path(j,E);t.look!==`handDrawn`&&(A=S(A),M=S(M));let N=u.insert(`g`,`:first-child`);return N.insert(()=>A),N.insert(()=>M),N.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,r),f.attr(`transform`,`translate(${-(d.width/2)-l-(d.x-(d.left??0))}, ${-(d.height/2)+l-(d.y-(d.top??0))})`),_(t,N),t.intersect=function(e){return I.polygon(t,D,e)},u}n.n(at,`multiRect`);async function ot(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=t.padding??0,u=t.look===`neo`?16:l,d=t.look===`neo`?12:l,f=!0;(t.width||t.height)&&(f=!1,t.width=(t?.width??0)-u*2,t.height=(t?.height??0)-d*3);let p=Math.max(o.width,t?.width??0)+u*2,m=Math.max(o.height,t?.height??0)+d*3,g=t.look===`neo`?m/4:m/8,x=m+(f?g/2:-g/2),S=-p/2,C=-x/2,{cssStyles:w}=t,T=b(S-10,C+x+10,S+p-10,C+x+10,g,.8),E=T?.[T.length-1],D=[{x:S-10,y:C+10},{x:S-10,y:C+x+10},...T,{x:S+p-10,y:E.y-10},{x:S+p,y:E.y-10},{x:S+p,y:E.y-20},{x:S+p+10,y:E.y-20},{x:S+p+10,y:C-10},{x:S+10,y:C-10},{x:S+10,y:C},{x:S,y:C},{x:S,y:C+10}],O=[{x:S,y:C+10},{x:S+p-10,y:C+10},{x:S+p-10,y:E.y-10},{x:S+p,y:E.y-10},{x:S+p,y:C},{x:S,y:C}],k=s.t.svg(a),A=i.a(t,{});t.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`);let j=y(D),M=k.path(j,A),N=y(O),P=k.path(N,A),F=a.insert(()=>M,`:first-child`);return F.insert(()=>P),F.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,r),F.attr(`transform`,`translate(0,${-g/2})`),c.attr(`transform`,`translate(${-(o.width/2)-10-(o.x-(o.left??0))}, ${-(o.height/2)+10-g/2-(o.y-(o.top??0))})`),_(t,F),t.intersect=function(e){return I.polygon(t,D,e)},a}n.n(ot,`multiWaveEdgedRectangle`);async function st(e,n,{config:{themeVariables:r}}){let{labelStyles:a,nodeStyles:o}=i.i(n);n.labelStyle=a,n.useHtmlLabels||t.T(t.b())||(n.centerLabel=!0);let{shapeSvg:c,bbox:l,label:u}=await h(e,n,v(n)),d=Math.max(l.width+(n.padding??0)*2,n?.width??0),f=Math.max(l.height+(n.padding??0)*2,n?.height??0),p=-d/2,m=-f/2,{cssStyles:g}=n,y=s.t.svg(c),b=i.a(n,{fill:r.noteBkgColor,stroke:r.noteBorderColor});n.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let x=y.rectangle(p,m,d,f,b),S=c.insert(()=>x,`:first-child`);return S.attr(`class`,`basic label-container outer-path`),u.attr(`class`,`label noteLabel`),g&&n.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,g),o&&n.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,o),u.attr(`transform`,`translate(${-l.width/2-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),_(n,S),n.intersect=function(e){return I.rect(n,e)},c}n.n(st,`note`);var ct=n.n((e,t,n)=>[`M${e+n/2},${t}`,`L${e+n},${t-n/2}`,`L${e+n/2},${t-n}`,`L${e},${t-n/2}`,`Z`].join(` `),`createDecisionBoxPathD`);async function lt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o}=await h(e,t,v(t)),c=o.width+(t.padding??0)+(o.height+(t.padding??0)),l=.5,u=[{x:c/2,y:0},{x:c,y:-c/2},{x:c/2,y:-c},{x:0,y:-c/2}],d,{cssStyles:f}=t;if(t.look===`handDrawn`){let e=s.t.svg(a),n=i.a(t,{}),r=ct(0,0,c),o=e.path(r,n);d=a.insert(()=>o,`:first-child`).attr(`transform`,`translate(${-c/2+l}, ${c/2})`),f&&d.attr(`style`,f)}else d=U(a,c,c,u),d.attr(`transform`,`translate(${-c/2+l}, ${c/2})`);return r&&d.attr(`style`,r),_(t,d),t.calcIntersect=function(e,t){let n=e.width,r=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}],i=I.polygon(e,r,t);return{x:i.x-.5,y:i.y-.5}},t.intersect=function(e){return this.calcIntersect(t,e)},a}n.n(lt,`question`);async function ut(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?21:a??0,c=t.look===`neo`?12:a??0,{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=u.width+(t.look===`neo`?o*2:o),p=Math.max(u.height+(t.look===`neo`?c*2:c),t.height??0),m=p/4,g=-Math.max(f,(t.width??0)-m)/2,b=-p/2,x=b/2,S=[{x:g+x,y:b},{x:g,y:0},{x:g+x,y:-b},{x:-g,y:-b},{x:-g,y:b}],{cssStyles:C}=t,w=s.t.svg(l),T=i.a(t,{});t.look!==`handDrawn`&&(T.roughness=0,T.fillStyle=`solid`);let E=y(S),D=w.path(E,T),O=l.insert(()=>D,`:first-child`);return O.attr(`class`,`basic label-container outer-path`),C&&t.look!==`handDrawn`&&O.selectAll(`path`).attr(`style`,C),r&&t.look!==`handDrawn`&&O.selectAll(`path`).attr(`style`,r),O.attr(`transform`,`translate(${-x/2},0)`),d.attr(`transform`,`translate(${-x/2-u.width/2-(u.x-(u.left??0))}, ${-(u.height/2)-(u.y-(u.top??0))})`),_(t,O),t.intersect=function(e){return I.polygon(t,S,e)},l}n.n(ut,`rect_left_inv_arrow`);async function dt(n,r){let{labelStyles:a,nodeStyles:o}=i.i(r);r.labelStyle=a;let c;c=r.cssClasses?`node `+r.cssClasses:`node default`;let l=n.insert(`g`).attr(`class`,c).attr(`id`,r.domId||r.id),u=l.insert(`g`),d=l.insert(`g`).attr(`class`,`label`).attr(`style`,o),f=r.description,p=r.label,m=await T(d,p,r.labelStyle,!0,!0),h={width:0,height:0};if(t.T(t.x())){let t=m.children[0],n=e.p(m);h=t.getBoundingClientRect(),n.attr(`width`,h.width),n.attr(`height`,h.height)}e.m.info(`Text 2`,f);let g=f||[],v=m.getBBox(),y=await T(d,Array.isArray(g)?g.join(`<br/>`):g,r.labelStyle,!0,!0),b=y.children[0],x=e.p(y);h=b.getBoundingClientRect(),x.attr(`width`,h.width),x.attr(`height`,h.height);let S=(r.padding||0)/2;e.p(y).attr(`transform`,`translate( `+(h.width>v.width?0:(v.width-h.width)/2)+`, `+(v.height+S+5)+`)`),e.p(m).attr(`transform`,`translate( `+(h.width<v.width?0:-(v.width-h.width)/2)+`, 0)`),h=d.node().getBBox(),d.attr(`transform`,`translate(`+-h.width/2+`, `+(-h.height/2-S+3)+`)`);let C=h.width+(r.padding||0),E=h.height+(r.padding||0),D=-h.width/2-S,O=-h.height/2-S,k,A;if(r.look===`handDrawn`){let t=s.t.svg(l),n=i.a(r,{}),a=t.path(w(D,O,C,E,r.rx||0),n),o=t.line(-h.width/2-S,-h.height/2-S+v.height+S,h.width/2+S,-h.height/2-S+v.height+S,n);A=l.insert(()=>(e.m.debug(`Rough node insert CXC`,a),o),`:first-child`),k=l.insert(()=>(e.m.debug(`Rough node insert CXC`,a),a),`:first-child`)}else k=u.insert(`rect`,`:first-child`),A=u.insert(`line`),k.attr(`class`,`outer title-state`).attr(`style`,o).attr(`x`,-h.width/2-S).attr(`y`,-h.height/2-S).attr(`width`,h.width+(r.padding||0)).attr(`height`,h.height+(r.padding||0)),A.attr(`class`,`divider`).attr(`x1`,-h.width/2-S).attr(`x2`,h.width/2+S).attr(`y1`,-h.height/2-S+v.height+S).attr(`y2`,-h.height/2-S+v.height+S);return _(r,k),r.intersect=function(e){return I.rect(r,e)},l}n.n(dt,`rectWithTitle`);async function ft(e,t,{config:{themeVariables:n}}){let r=n?.radius??5;return Y(e,t,{rx:r,ry:r,classes:``,labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1})}n.n(ft,`roundedRect`);var X=8;async function pt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.look===`neo`?16:t.padding??0,c=t.look===`neo`?12:t.padding??0,{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=(t?.width??u.width)+o*2+(t.look===`neo`?X:X*2),p=(t?.height??u.height)+c*2,m=f-X,g=p,y=X-f/2,b=-p/2,{cssStyles:x}=t,S=s.t.svg(l),C=i.a(t,{});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=[{x:y,y:b},{x:y+m,y:b},{x:y+m,y:b+g},{x:y-X,y:b+g},{x:y-X,y:b},{x:y,y:b},{x:y,y:b+g}],T=S.polygon(w.map(e=>[e.x,e.y]),C),E=l.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(x)),a&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,a),x&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,a),d.attr(`transform`,`translate(${X/2-u.width/2-(u.x-(u.left??0))}, ${-(u.height/2)-(u.y-(u.top??0))})`),_(t,E),t.intersect=function(e){return I.rect(t,e)},l}n.n(pt,`shadedProcess`);async function mt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-o*2,10),t.height=Math.max((t?.height??0)/1.5-c*2,10));let{shapeSvg:l,bbox:u,label:d}=await h(e,t,v(t)),f=(t?.width?t?.width:u.width)+o*2,p=((t?.height?t?.height:u.height)+c*2)*1.5,m=f,g=p/1.5,b=-m/2,x=-g/2,{cssStyles:S}=t,C=s.t.svg(l),w=i.a(t,{});t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=[{x:b,y:x},{x:b,y:x+g},{x:b+m,y:x+g},{x:b+m,y:x-g/2}],E=y(T),D=C.path(E,w),O=l.insert(()=>D,`:first-child`);return O.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,r),O.attr(`transform`,`translate(0, ${g/4})`),d.attr(`transform`,`translate(${-m/2+(t.padding??0)-(u.x-(u.left??0))}, ${-g/4+(t.padding??0)-(u.y-(u.top??0))})`),_(t,O),t.intersect=function(e){return I.polygon(t,T,e)},l}n.n(mt,`slopedRect`);async function ht(e,t){let n=t.padding??0,r=t.look===`neo`?16:n*2,i=t.look===`neo`?12:n;return Y(e,t,{rx:0,ry:0,classes:``,labelPaddingX:t.labelPaddingX??r,labelPaddingY:i})}n.n(ht,`squareRect`);async function gt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?20:a,c=t.look===`neo`?12:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=u.height+(t.look===`neo`?c*2:c),f=u.width+d/4+(t.look===`neo`?o*2:o),p=d/2,{cssStyles:m}=t,g=s.t.svg(l),b=i.a(t,{});t.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let S=[{x:-f/2+p,y:-d/2},{x:f/2-p,y:-d/2},...x(-f/2+p,0,p,50,90,270),{x:f/2-p,y:d/2},...x(f/2-p,0,p,50,270,450)],C=y(S),w=g.path(C,b),T=l.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),m&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,r),_(t,T),t.intersect=function(e){return I.polygon(t,S,e)},l}n.n(gt,`stadium`);async function _t(e,t){return Y(e,t,{rx:t.look===`neo`?3:5,ry:t.look===`neo`?3:5,classes:`flowchart-node`})}n.n(_t,`state`);function vt(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r;let{cssStyles:o}=t,{lineColor:c,stateBorder:l,nodeBorder:u,nodeShadow:d}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let f=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId??t.id),p=s.t.svg(f),m=i.a(t,{});t.look!==`handDrawn`&&(m.roughness=0,m.fillStyle=`solid`);let h=p.circle(0,0,t.width,{...m,stroke:c,strokeWidth:2}),g=l??u,v=(t.width??0)*5/14,y=p.circle(0,0,v,{...m,fill:g,stroke:g,strokeWidth:2,fillStyle:`solid`}),b=f.insert(()=>h,`:first-child`);if(b.insert(()=>y),t.look!==`handDrawn`&&b.attr(`class`,`outer-path`),o&&b.selectAll(`path`).attr(`style`,o),a&&b.selectAll(`path`).attr(`style`,a),t.width<25&&d&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;b.attr(`style`,`filter:url(#${n})`)}return _(t,b),t.intersect=function(e){return I.circle(t,(t.width??0)/2,e)},f}n.n(vt,`stateEnd`);function yt(e,t,{config:{themeVariables:n}}){let{lineColor:r,nodeShadow:a}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let o=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId||t.id),c;if(t.look===`handDrawn`){let e=s.t.svg(o).circle(0,0,t.width,i.r(r));c=o.insert(()=>e),c.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14)}else c=o.insert(`circle`,`:first-child`),c.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14);if(t.width<25&&a&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;c.attr(`style`,`filter:url(#${n})`)}return _(t,c),t.intersect=function(e){return I.circle(t,(t.width??7)/2,e)},o}n.n(yt,`stateStart`);var bt=8;async function xt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t?.padding??8,c=t.look===`neo`?28:o,l=t.look===`neo`?12:o,{shapeSvg:u,bbox:d}=await h(e,t,v(t)),f=Math.max(d.width+2*bt+c,t.width??0),p=Math.max(d.height+l,t.height??0),m=f-2*bt,g=p,y=-f/2,b=-p/2,x=[{x:0,y:0},{x:m,y:0},{x:m,y:-g},{x:0,y:-g},{x:0,y:0},{x:-8,y:0},{x:m+8,y:0},{x:m+8,y:-g},{x:-8,y:-g},{x:-8,y:0}];if(t.look===`handDrawn`){let e=s.t.svg(u),n=i.a(t,{}),a=e.rectangle(y,b,m+16,g,n),o=e.line(y+bt,b,y+bt,b+g,n),c=e.line(y+bt+m,b,y+bt+m,b+g,n);u.insert(()=>o,`:first-child`),u.insert(()=>c,`:first-child`);let l=u.insert(()=>a,`:first-child`),{cssStyles:d}=t;l.attr(`class`,`basic label-container`).attr(`style`,r.u(d)),_(t,l)}else{let e=U(u,m,g,x);a&&e.attr(`style`,a),_(t,e)}return t.intersect=function(e){return I.polygon(t,x,e)},u}n.n(xt,`subroutine`);var St=.2;async function Ct(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-c*2,10),t.width=Math.max((t?.width??0)-o*2-St*(t.height+c*2),10));let{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.height?t?.height:u.height)+c*2,f=St*d,p=St*d,m=(t?.width?t?.width:u.width)+o*2+f-f,g=d,b=-m/2,x=-g/2,{cssStyles:S}=t,C=s.t.svg(l),w=i.a(t,{}),T=[{x:b-f/2,y:x},{x:b+m+f/2,y:x},{x:b+m+f/2,y:x+g},{x:b-f/2,y:x+g}],E=[{x:b+m-f/2,y:x+g},{x:b+m+f/2,y:x+g},{x:b+m+f/2,y:x+g-p}];t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let D=y(T),O=C.path(D,w),k=y(E),A=C.path(k,{...w,fillStyle:`solid`}),j=l.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),_(t,j),t.intersect=function(e){return I.polygon(t,T,e)},l}n.n(Ct,`taggedRect`);async function wt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,label:c}=await h(e,t,v(t)),l=Math.max(o.width+(t.padding??0)*2,t?.width??0),u=Math.max(o.height+(t.padding??0)*2,t?.height??0),d=u/8,f=.2*l,p=.2*u,m=u+d,{cssStyles:g}=t,x=s.t.svg(a),S=i.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-l/2-l/2*.1,y:m/2},...b(-l/2-l/2*.1,m/2,l/2+l/2*.1,m/2,d,.8),{x:l/2+l/2*.1,y:-m/2},{x:-l/2-l/2*.1,y:-m/2}],w=-l/2+l/2*.1,T=-m/2-p*.4,E=[{x:w+l-f,y:(T+u)*1.3},{x:w+l,y:T+u-p},{x:w+l,y:(T+u)*.9},...b(w+l,(T+u)*1.25,w+l-f,(T+u)*1.3,-u*.02,.5)],D=y(C),O=x.path(D,S),k=y(E),A=x.path(k,{...S,fillStyle:`solid`}),j=a.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),g&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),j.attr(`transform`,`translate(0,${-d/2})`),c.attr(`transform`,`translate(${-l/2+(t.padding??0)-(o.x-(o.left??0))},${-u/2+(t.padding??0)-d/2-(o.y-(o.top??0))})`),_(t,j),t.intersect=function(e){return I.polygon(t,C,e)},a}n.n(wt,`taggedWaveEdgedRectangle`);async function Tt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o}=await h(e,t,v(t)),s=Math.max(o.width+(t.padding??0),t?.width||0),c=Math.max(o.height+(t.padding??0),t?.height||0),l=-s/2,u=-c/2,d=a.insert(`rect`,`:first-child`);return d.attr(`class`,`text`).attr(`style`,r).attr(`rx`,0).attr(`ry`,0).attr(`x`,l).attr(`y`,u).attr(`width`,s).attr(`height`,c),_(t,d),t.intersect=function(e){return I.rect(t,e)},a}n.n(Tt,`text`);var Et=n.n((e,t,n,r,i,a)=>`M${e},${t}
3
- a${i},${a} 0,0,1 0,${-r}
4
- l${n},0
5
- a${i},${a} 0,0,1 0,${r}
6
- M${n},${-r}
7
- a${i},${a} 0,0,0 0,${r}
8
- l${-n},0`,`createCylinderPathD`),Dt=n.n((e,t,n,r,i,a)=>[`M${e},${t}`,`M${e+n},${t}`,`a${i},${a} 0,0,0 0,${-r}`,`l${-n},0`,`a${i},${a} 0,0,0 0,${r}`,`l${n},0`].join(` `),`createOuterCylinderPathD`),Ot=n.n((e,t,n,r,i,a)=>[`M${e+n/2},${-r/2}`,`a${i},${a} 0,0,0 0,${r}`].join(` `),`createInnerCylinderPathD`),kt=5,At=10;async function jt(e,t){let{labelStyles:n,nodeStyles:a}=i.i(t);t.labelStyle=n;let o=t.padding??0,c=t.look===`neo`?12:o/2,l=t.height??0;if(t.height&&(t.height-=c,t.height<kt&&(t.height=kt)),t.width){let e=l/2/(2.5+l/50);t.width=t.width-c-e*3,t.width<At&&(t.width=At)}let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=Math.max(t.height??0,d.height)+c,m=p/2,g=m/(2.5+p/50),y=Math.max(t.width??0,d.width)+g+c,{cssStyles:b}=t,x;if(t.look===`handDrawn`){let e=s.t.svg(u),n=Dt(0,0,y,p,g,m),r=Ot(0,0,y,p,g,m),a=e.path(n,i.a(t,{})),o=e.path(r,i.a(t,{fill:`none`}));x=u.insert(()=>o,`:first-child`),x=u.insert(()=>a,`:first-child`),x.attr(`class`,`basic label-container`),b&&x.attr(`style`,b)}else{let e=Et(0,0,y,p,g,m);x=u.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container`).attr(`style`,r.u(b)).attr(`style`,a),x.attr(`class`,`basic label-container outer-path`),b&&x.selectAll(`path`).attr(`style`,b),a&&x.selectAll(`path`).attr(`style`,a)}return x.attr(`label-offset-x`,g),x.attr(`transform`,`translate(${-y/2}, ${p/2} )`),f.attr(`transform`,`translate(${-(d.width/2)-g-(d.x-(d.left??0))}, ${-(d.height/2)-(d.y-(d.top??0))})`),_(t,x),t.intersect=function(e){let n=I.rect(t,e),r=n.y-(t.y??0);if(m!=0&&(Math.abs(r)<(t.height??0)/2||Math.abs(r)==(t.height??0)/2&&Math.abs(n.x-(t.x??0))>(t.width??0)/2-g)){let i=g*g*(1-r*r/(m*m));i!=0&&(i=Math.sqrt(Math.abs(i))),i=g-i,e.x-(t.x??0)>0&&(i=-i),n.x+=i}return n},u}n.n(jt,`tiltedCylinder`);async function Mt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=(t.look,a),c=t.look===`neo`?a*2:a,{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=Math.max(u.height+o,t.height??0),f=Math.max(u.width+c,(t.width??0)-d),p=[{x:-3*d/6,y:0},{x:f+3*d/6,y:0},{x:f,y:-d},{x:0,y:-d}],m,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=s.t.svg(l),n=i.a(t,{}),r=y(p),a=e.path(r,n);m=l.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-f/2}, ${d/2})`),g&&m.attr(`style`,g)}else m=U(l,f,d,p);return r&&m.attr(`style`,r),t.width=f,t.height=d,_(t,m),t.intersect=function(e){return I.polygon(t,p,e)},l}n.n(Mt,`trapezoid`);async function Nt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a;(t.width||t.height)&&(t.height=(t.height??0)-c*2,t.height<5&&(t.height=5),t.width=(t.width??0)-o*2,t.width<15&&(t.width=15));let{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.width?t?.width:u.width)+o*2,f=(t?.height?t?.height:u.height)+c*2,{cssStyles:p}=t,m=s.t.svg(l),g=i.a(t,{});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let b=[{x:-d/2*.8,y:-f/2},{x:d/2*.8,y:-f/2},{x:d/2,y:-f/2*.6},{x:d/2,y:f/2},{x:-d/2,y:f/2},{x:-d/2,y:-f/2*.6}],x=y(b),S=m.path(x,g),C=l.insert(()=>S,`:first-child`);return C.attr(`class`,`basic label-container outer-path`),p&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,p),r&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,r),_(t,C),t.intersect=function(e){return I.polygon(t,b,e)},l}n.n(Nt,`trapezoidalPentagon`);var Pt=10,Ft=10;async function It(n,r){let{labelStyles:a,nodeStyles:o}=i.i(r);r.labelStyle=a;let c=r.padding??0,l=r.look===`neo`?c*2:c;(r.width||r.height)&&(r.width=((r?.width??0)-l)/2,r.width<Ft&&(r.width=Ft),r.height=r?.height??0,r.height<Pt&&(r.height=Pt));let{shapeSvg:u,bbox:d,label:f}=await h(n,r,v(r)),p=t.g(t.x().flowchart?.htmlLabels),m=(r?.width?r?.width:d.width)+l,g=r?.height?r?.height:m+d.height,b=g,x=[{x:0,y:0},{x:b,y:0},{x:b/2,y:-g}],{cssStyles:S}=r,C=s.t.svg(u),w=i.a(r,{});r.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=y(x),E=C.path(T,w),D=u.insert(()=>E,`:first-child`).attr(`transform`,`translate(${-g/2}, ${g/2})`).attr(`class`,`outer-path`);return S&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,S),o&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,o),r.width=m,r.height=g,_(r,D),f.attr(`transform`,`translate(${-d.width/2-(d.x-(d.left??0))}, ${g/2-(d.height+(r.padding??0)/(p?2:1)-(d.y-(d.top??0)))})`),r.intersect=function(t){return e.m.info(`Triangle intersect`,r,x,t),I.polygon(r,x,t)},u}n.n(It,`triangle`);async function Lt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?12:a,l=!0;(t.width||t.height)&&(l=!1,t.width=(t?.width??0)-o*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-c*2,t.height<10&&(t.height=10));let{shapeSvg:u,bbox:d,label:f}=await h(e,t,v(t)),p=(t?.width?t?.width:d.width)+(o??0)*2,m=(t?.height?t?.height:d.height)+(c??0)*2,g=t.look===`neo`?m/4:m/8,x=m+(l?g:-g),{cssStyles:S}=t,C=14-p,w=C>0?C/2:0,T=s.t.svg(u),E=i.a(t,{});t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let D=[{x:-p/2-w,y:x/2},...b(-p/2-w,x/2,p/2+w,x/2,g,.8),{x:p/2+w,y:-x/2},{x:-p/2-w,y:-x/2}],O=y(D),k=T.path(O,E),A=u.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(0,${-g/2})`),f.attr(`transform`,`translate(${-p/2+(t.padding??0)-(d.x-(d.left??0))},${-m/2+(t.padding??0)-g-(d.y-(d.top??0))})`),_(t,A),t.intersect=function(e){return I.polygon(t,D,e)},u}n.n(Lt,`waveEdgedRectangle`);async function Rt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,c=t.look===`neo`?20:a;if(t.width||t.height){t.width=t?.width??0,t.width<20&&(t.width=20),t.height=t?.height??0,t.height<10&&(t.height=10);let e=Math.min(t.height*.2,t.height/4);t.height=Math.ceil(t.height-c-20/9*e),t.width-=o*2}let{shapeSvg:l,bbox:u}=await h(e,t,v(t)),d=(t?.width?t?.width:u.width)+o*2,f=(t?.height?t?.height:u.height)+c,p=f/8,m=f+p*2,{cssStyles:g}=t,x=s.t.svg(l),S=i.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-d/2,y:m/2},...b(-d/2,m/2,d/2,m/2,p,1),{x:d/2,y:-m/2},...b(d/2,-m/2,-d/2,-m/2,p,-1)],w=y(C),T=x.path(w,S),E=l.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container`),g&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),_(t,E),t.intersect=function(e){return I.polygon(t,C,e)},l}n.n(Rt,`waveRectangle`);var Z=10;async function zt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?12:t.padding??0;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2-Z,10),t.height=Math.max((t?.height??0)-o*2-Z,10));let{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=(t?.width?t?.width:l.width)+a*2+Z,f=(t?.height?t?.height:l.height)+o*2+Z,p=d-Z,m=f-Z,g=-p/2,y=-m/2,{cssStyles:b}=t,x=s.t.svg(c),S=i.a(t,{}),C=[{x:g-Z,y:y-Z},{x:g-Z,y:y+m},{x:g+p,y:y+m},{x:g+p,y:y-Z}],w=`M${g-Z},${y-Z} L${g+p},${y-Z} L${g+p},${y+m} L${g-Z},${y+m} L${g-Z},${y-Z}
9
- M${g-Z},${y} L${g+p},${y}
10
- M${g},${y-Z} L${g},${y+m}`;t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let T=x.path(w,S),E=c.insert(()=>T,`:first-child`);return E.attr(`transform`,`translate(${Z/2}, ${Z/2})`),E.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),u.attr(`transform`,`translate(${-(l.width/2)+Z/2-(l.x-(l.left??0))}, ${-(l.height/2)+Z/2-(l.y-(l.top??0))})`),_(t,E),t.intersect=function(e){return I.polygon(t,C,e)},c}n.n(zt,`windowPane`);var Bt=new Set([`redux-color`,`redux-dark-color`]),Vt=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]);async function Ht(n,a){let o=a;o.alias&&(a.label=o.alias);let{theme:c,themeVariables:l}=t.b(),{rowEven:u,rowOdd:d,nodeBorder:f,borderColorArray:p}=l;if(a.look===`handDrawn`){let{themeVariables:e}=t.b(),{background:r}=e;await Ht(n,{...a,id:a.id+`-background`,domId:(a.domId||a.id)+`-background`,look:`default`,cssStyles:[`stroke: none`,`fill: ${r}`]})}let m=t.b();a.useHtmlLabels=m.htmlLabels;let h=m.er?.diagramPadding??10,g=m.er?.entityPadding??6,{cssStyles:y}=a,{labelStyles:b,nodeStyles:x}=i.i(a);if(o.attributes.length===0&&a.label){let e={rx:0,ry:0,labelPaddingX:h,labelPaddingY:h*1.5,classes:``};r.r(a.label,m)+e.labelPaddingX*2<m.er.minEntityWidth&&(a.width=m.er.minEntityWidth);let i=await Y(n,a,e);if(c!=null&&Bt.has(c)){let e=o.colorIndex??0;i.attr(`data-color-id`,`color-${e%p.length}`)}if(!t.g(m.htmlLabels)){let e=i.select(`text`),t=e.node()?.getBBox();e.attr(`transform`,`translate(${-t.width/2}, 0)`)}return i}m.htmlLabels||(h*=1.25,g*=1.25);let S=v(a);S||=`node default`;let C=n.insert(`g`).attr(`class`,S).attr(`id`,a.domId||a.id),w=await Q(C,a.label??``,m,0,0,[`name`],b);w.height+=g;let T=0,E=[],D=[],O=0,k=0,A=0,j=0,M=!0,N=!0;for(let e of o.attributes){let t=await Q(C,e.type,m,0,T,[`attribute-type`],b);O=Math.max(O,t.width+h);let n=await Q(C,e.name,m,0,T,[`attribute-name`],b);k=Math.max(k,n.width+h);let r=await Q(C,e.keys.join(),m,0,T,[`attribute-keys`],b);A=Math.max(A,r.width+h);let i=await Q(C,e.comment,m,0,T,[`attribute-comment`],b);j=Math.max(j,i.width+h);let a=Math.max(t.height,n.height,r.height,i.height)+g;D.push({yOffset:T,rowHeight:a}),T+=a}let P=4;A<=h&&(M=!1,A=0,P--),j<=h&&(N=!1,j=0,P--);let F=C.node().getBBox();if(w.width+h*2-(O+k+A+j)>0){let e=w.width+h*2-(O+k+A+j);O+=e/P,k+=e/P,A>0&&(A+=e/P),j>0&&(j+=e/P)}let ee=O+k+A+j,L=s.t.svg(C),R=i.a(a,{});a.look!==`handDrawn`&&(R.roughness=0,R.fillStyle=`solid`);let te=0;D.length>0&&(te=D.reduce((e,t)=>e+(t?.rowHeight??0),0));let z=Math.max(F.width+h*2,a?.width||0,ee),B=Math.max((te??0)+w.height,a?.height||0),V=-z/2,H=-B/2;if(C.selectAll(`g:not(:first-child)`).each((t,n,r)=>{let i=e.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]),i.attr(`class`).includes(`attribute-name`)?o+=O:i.attr(`class`).includes(`attribute-keys`)?o+=O+k:i.attr(`class`).includes(`attribute-comment`)&&(o+=O+k+A))}i.attr(`transform`,`translate(${V+h/2+o}, ${s+H+w.height+g/2})`)}),C.select(`.name`).attr(`transform`,`translate(`+-w.width/2+`, `+(H+g/2)+`)`),c!=null&&Bt.has(c)){let e=o.colorIndex??0;C.attr(`data-color-id`,`color-${e%p.length}`)}let ne=L.rectangle(V,H,z,B,R),re=C.insert(()=>ne,`:first-child`).attr(`class`,`outer-path`).attr(`style`,y.join(``));E.push(0);for(let[e,t]of D.entries()){let n=(e+1)%2==0&&t.yOffset!==0,r=L.rectangle(V,w.height+H+t?.yOffset,z,t?.rowHeight,{...R,fill:n?u:d,stroke:f});C.insert(()=>r,`g.label`).attr(`style`,y.join(``)).attr(`class`,`row-rect-${n?`even`:`odd`}`)}let U=1e-4,W=Ut(V,w.height+H,z+V,w.height+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R);if(C.insert(()=>G).attr(`class`,`divider`),W=Ut(O+V,w.height+H,O+V,B+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`),M){let e=O+k+V;W=Ut(e,w.height+H,e,B+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`)}if(N){let e=O+k+A+V;W=Ut(e,w.height+H,e,B+H,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`)}for(let e of E){let t=w.height+H+e;W=Ut(V,t,z+V,t,U),G=L.polygon(W.map(e=>[e.x,e.y]),R),C.insert(()=>G).attr(`class`,`divider`)}if(_(a,re),x&&a.look!==`handDrawn`)if(c!=null&&Vt.has(c))C.selectAll(`path`).attr(`style`,x);else{let e=x.split(`;`)?.filter(e=>e.includes(`stroke`))?.map(e=>`${e}`).join(`; `);C.selectAll(`path`).attr(`style`,e??``),C.selectAll(`.row-rect-even path`).attr(`style`,x)}return a.intersect=function(e){return I.rect(a,e)},C}n.n(Ht,`erBox`);async function Q(n,i,a,s=0,c=0,l=[],u=``){let d=n.insert(`g`).attr(`class`,`label ${l.join(` `)}`).attr(`transform`,`translate(${s}, ${c})`).attr(`style`,u);i!==t.M(i)&&(i=t.M(i),i=i.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`));let f=d.node().appendChild(await o.n(d,i,{width:r.r(i,a)+100,style:u,useHtmlLabels:a.htmlLabels},a));if(i.includes(`&lt;`)||i.includes(`&gt;`)){let e=f.children[0];for(e.textContent=e.textContent.replaceAll(`&lt;`,`<`).replaceAll(`&gt;`,`>`);e.childNodes[0];)e=e.childNodes[0],e.textContent=e.textContent.replaceAll(`&lt;`,`<`).replaceAll(`&gt;`,`>`)}let p=f.getBBox();if(t.g(a.htmlLabels)){let t=f.children[0];t.style.textAlign=`start`;let n=e.p(f);p=t.getBoundingClientRect(),n.attr(`width`,p.width),n.attr(`height`,p.height)}return p}n.n(Q,`addText`);function Ut(e,t,n,r,i){return e===n?[{x:e-i/2,y:t},{x:e+i/2,y:t},{x:n+i/2,y:r},{x:n-i/2,y:r}]:[{x:e,y:t-i/2},{x:e,y:t+i/2},{x:n,y:r+i/2},{x:n,y:r-i/2}]}n.n(Ut,`lineToPolygon`);async function Wt(e,t,n,r,i=n.class.padding??12){let a=r?0:3,o=e.insert(`g`).attr(`class`,v(t)).attr(`id`,t.domId||t.id),s=null,c=null,l=null,u=null,d=0,f=0,p=0;if(s=o.insert(`g`).attr(`class`,`annotation-group text`),t.annotations.length>0){let e=t.annotations[0];await Gt(s,{text:`\xAB${e}\xBB`},0),d=s.node().getBBox().height}c=o.insert(`g`).attr(`class`,`label-group text`),await Gt(c,t,0,[`font-weight: bolder`]);let m=c.node().getBBox();f=m.height,l=o.insert(`g`).attr(`class`,`members-group text`);let h=0;for(let e of t.members){let t=await Gt(l,e,h,[e.parseClassifier()]);h+=t+a}p=l.node().getBBox().height,p<=0&&(p=i/2),u=o.insert(`g`).attr(`class`,`methods-group text`);let g=0;for(let e of t.methods){let t=await Gt(u,e,g,[e.parseClassifier()]);g+=t+a}let _=o.node().getBBox();if(s!==null){let e=s.node().getBBox();s.attr(`transform`,`translate(${-e.width/2})`)}return c.attr(`transform`,`translate(${-m.width/2}, ${d})`),_=o.node().getBBox(),l.attr(`transform`,`translate(0, ${d+f+i*2})`),_=o.node().getBBox(),u.attr(`transform`,`translate(0, ${d+f+(p?p+i*4:i*2)})`),_=o.node().getBBox(),{shapeSvg:o,bbox:_}}n.n(Wt,`textHelper`);async function Gt(n,i,a,s=[]){let c=n.insert(`g`).attr(`class`,`label`).attr(`style`,s.join(`; `)),l=t.b(),d=`useHtmlLabels`in i?i.useHtmlLabels:t.g(l.htmlLabels)??!0,f=``;f=`text`in i?i.text:i.label,!d&&f.startsWith(`\\`)&&(f=f.substring(1)),t.A(f)&&(d=!0);let p=await o.n(c,t.B(r.a(f)),{width:r.r(f,l)+50,classes:`markdown-node-label`,useHtmlLabels:d},l),m,h=1;if(d){let t=p.children[0],n=e.p(p);h=t.innerHTML.split(`<br>`).length,t.innerHTML.includes(`</math>`)&&(h+=t.innerHTML.split(`<mrow>`).length-1),await u(t),m=t.getBoundingClientRect(),n.attr(`width`,m.width),n.attr(`height`,m.height)}else{s.includes(`font-weight: bolder`)&&e.p(p).selectAll(`tspan`).attr(`font-weight`,``),h=p.children.length;let t=p.children[0];(p.textContent===``||p.textContent.includes(`&gt`))&&(t.textContent=f[0]+f.substring(1).replaceAll(`&gt;`,`>`).replaceAll(`&lt;`,`<`).trim(),f[1]===` `&&(t.textContent=t.textContent[0]+` `+t.textContent.substring(1))),t.textContent===`undefined`&&(t.textContent=``),m=p.getBBox()}return c.attr(`transform`,`translate(0,`+(-m.height/(2*h)+a)+`)`),m.height}n.n(Gt,`addText`);async function Kt(n,r){let a=t.x(),{themeVariables:o}=a,{useGradient:c}=o,l=a.class.padding??12,u=l,d=r.useHtmlLabels??t.g(a.htmlLabels)??!0,f=r;f.annotations=f.annotations??[],f.members=f.members??[],f.methods=f.methods??[];let{shapeSvg:p,bbox:m}=await Wt(n,r,a,d,u),{labelStyles:h,nodeStyles:g}=i.i(r);r.labelStyle=h,r.cssStyles=f.styles||``;let v=f.styles?.join(`;`)||g||``;r.cssStyles||=v.replaceAll(`!important`,``).split(`;`);let y=f.members.length===0&&f.methods.length===0&&!a.class?.hideEmptyMembersBox,b=s.t.svg(p),x=i.a(r,{});r.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=Math.max(r.width??0,m.width),C=Math.max(r.height??0,m.height),w=(r.height??0)>m.height;f.members.length===0&&f.methods.length===0?C+=u:f.members.length>0&&f.methods.length===0&&(C+=u*2);let T=-S/2,E=-C/2,D=y?l*2:f.members.length===0&&f.methods.length===0?-l:0;w&&(D=l*2);let O=b.rectangle(T-l,E-l-(y?l:f.members.length===0&&f.methods.length===0?-l/2:0),S+2*l,C+2*l+D,x),k=p.insert(()=>O,`:first-child`);k.attr(`class`,`basic label-container outer-path`);let A=k.node().getBBox(),j=p.select(`.annotation-group`).node().getBBox().height-(y?l/2:0)||0,M=p.select(`.label-group`).node().getBBox().height-(y?l/2:0)||0,N=p.select(`.members-group`).node().getBBox().height-(y?l/2:0)||0,P=(j+M+E+l-(E-l-(y?l:f.members.length===0&&f.methods.length===0?-l/2:0)))/2;if(p.selectAll(`.text`).each((t,n,r)=>{let i=e.p(r[n]),o=i.attr(`transform`),s=0;if(o){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(o);e&&(s=parseFloat(e[2]))}let c=s+E+l-(y?l:f.members.length===0&&f.methods.length===0?-l/2:0);if(i.attr(`class`).includes(`methods-group`)){let e=Math.max(N,u/2);c=w?Math.max(P,j+M+e+E+u*2+l)+u*2:j+M+e+E+u*4+l}f.members.length===0&&f.methods.length===0&&a.class?.hideEmptyMembersBox&&(c=f.annotations.length>0?s-u:s),d||(c-=4);let m=T;(i.attr(`class`).includes(`label-group`)||i.attr(`class`).includes(`annotation-group`))&&(m=-i.node()?.getBBox().width/2||0,p.selectAll(`text`).each(function(e,t,n){window.getComputedStyle(n[t]).textAnchor===`middle`&&(m=0)})),i.attr(`transform`,`translate(${m}, ${c})`)}),f.members.length>0||f.methods.length>0||y){let e=j+M+E+l,t=b.line(A.x,e,A.x+A.width,e+.001,x);p.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!c?` neo-line`:``}`).attr(`style`,v)}if(y||f.members.length>0||f.methods.length>0){let e=j+M+N+E+u*2+l,t=b.line(A.x,w?Math.max(P,e):e,A.x+A.width,(w?Math.max(P,e):e)+.001,x);p.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!c?` neo-line`:``}`).attr(`style`,v)}if(f.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,v),k.select(`:nth-child(2)`).attr(`style`,v),p.selectAll(`.divider`).select(`path`).attr(`style`,v),r.labelStyle?p.selectAll(`span`).attr(`style`,r.labelStyle):p.selectAll(`span`).attr(`style`,v),!d){let e=RegExp(/color\s*:\s*([^;]*)/),t=e.exec(v);if(t){let e=t[0].replace(`color`,`fill`);p.selectAll(`tspan`).attr(`style`,e)}else if(h){let t=e.exec(h);if(t){let e=t[0].replace(`color`,`fill`);p.selectAll(`tspan`).attr(`style`,e)}}}return _(r,k),r.intersect=function(e){return I.rect(r,e)},p}n.n(Kt,`classBox`);async function qt(n,r){let{labelStyles:a,nodeStyles:o}=i.i(r);r.labelStyle=a;let c=r,l=r,u=`verifyMethod`in r,d=v(r),f=t.x(),{themeVariables:p}=f,{borderColorArray:m,requirementEdgeLabelBackground:h}=p,g=f.layout===`elk`?`start`:`center`,y=n.insert(`g`).attr(`class`,d).attr(`id`,r.domId??r.id),b;b=u?await $(y,`&lt;&lt;${c.type}&gt;&gt;`,0,r.labelStyle):await $(y,`&lt;&lt;Element&gt;&gt;`,0,r.labelStyle);let x=b,S=await $(y,c.name,x,r.labelStyle+`; font-weight: bold;`);if(x+=S+20,u){let e=await $(y,`${c.requirementId?`ID: ${c.requirementId}`:``}`,x,r.labelStyle,g);x+=e;let t=await $(y,`${c.text?`Text: ${c.text}`:``}`,x,r.labelStyle,g);x+=t;let n=await $(y,`${c.risk?`Risk: ${c.risk}`:``}`,x,r.labelStyle,g);x+=n,await $(y,`${c.verifyMethod?`Verification: ${c.verifyMethod}`:``}`,x,r.labelStyle,g)}else{let e=await $(y,`${l.type?`Type: ${l.type}`:``}`,x,r.labelStyle,g);x+=e,await $(y,`${l.docRef?`Doc Ref: ${l.docRef}`:``}`,x,r.labelStyle,g)}let C=(y.node()?.getBBox().width??200)+20,w=(y.node()?.getBBox().height??200)+20,T=-C/2,E=-w/2,D=s.t.svg(y),O=i.a(r,{});r.look!==`handDrawn`&&(O.roughness=0,O.fillStyle=`solid`);let k=D.rectangle(T,E,C,w,O),A=y.insert(()=>k,`:first-child`);if(A.attr(`class`,`basic label-container outer-path`).attr(`style`,o),m?.length){let e=r.colorIndex??0;y.attr(`data-color-id`,`color-${e%m.length}`)}if(y.selectAll(`.label`).each((t,n,r)=>{let i=e.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]))}let c=s-w/2,l=T+20/2;(n===0||n===1)&&(l=o),i.attr(`transform`,`translate(${l}, ${c+20})`)}),x>b+S+20){let e=E+b+S+20,t;if(r.look===`neo`){let n=.001,r=[[T,e],[T+C,e],[T+C,e+n],[T,e+n]];t=D.polygon(r,O)}else t=D.line(T,e,T+C,e,O);y.insert(()=>t).attr(`class`,`divider`)}return _(r,A),r.intersect=function(e){return I.rect(r,e)},o&&r.look!==`handDrawn`&&(h||m?.length)&&y.selectAll(`path`).attr(`style`,o),y}n.n(qt,`requirementBox`);async function $(n,i,a,s=``,c=`center`){if(i===``)return 0;let l=n.insert(`g`).attr(`class`,`label`).attr(`style`,s),u=t.x(),d=u.htmlLabels??!0,f=await o.n(l,t.B(r.a(i)),{width:r.r(i,u)+50,classes:`markdown-node-label`,useHtmlLabels:d,style:s},u),p;if(d){let t=f.children[0],n=e.p(f);c===`start`&&e.p(t).style(`text-align`,`left`),p=t.getBoundingClientRect(),n.attr(`width`,p.width),n.attr(`height`,p.height)}else{let e=f.children[0];for(let t of e.children)s&&t.setAttribute(`style`,s);if(c===`start`){e.setAttribute(`text-anchor`,`start`);for(let t of e.children)t.setAttribute(`text-anchor`,`start`)}p=f.getBBox(),p.height+=6}return l.attr(`transform`,`translate(${-p.width/2},${-p.height/2+a})`),p.height}n.n($,`addText`);var Jt=n.n(e=>{switch(e){case`Very High`:return`red`;case`High`:return`orange`;case`Medium`:return null;case`Low`:return`blue`;case`Very Low`:return`lightblue`}},`colorFromPriority`);async function Yt(e,t,{config:n}){let{labelStyles:r,nodeStyles:a}=i.i(t);t.labelStyle=r||``;let o=t.width;t.width=(t.width??200)-10;let{shapeSvg:c,bbox:l,label:u}=await h(e,t,v(t)),d=t.padding||10,f=``,p;`ticket`in t&&t.ticket&&n?.kanban?.ticketBaseUrl&&(f=n?.kanban?.ticketBaseUrl.replace(`#TICKET#`,t.ticket),p=c.insert(`svg:a`,`:first-child`).attr(`class`,`kanban-ticket-link`).attr(`xlink:href`,f).attr(`target`,`_blank`));let m={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||``,width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1},y,b;p?{label:y,bbox:b}=await g(p,`ticket`in t&&t.ticket||``,m):{label:y,bbox:b}=await g(c,`ticket`in t&&t.ticket||``,m);let{label:x,bbox:S}=await g(c,`assigned`in t&&t.assigned||``,m);t.width=o;let C=t?.width||0,T=Math.max(b.height,S.height)/2,E=Math.max(l.height+20,t?.height||0)+T,D=-C/2,O=-E/2;u.attr(`transform`,`translate(`+(d-C/2)+`, `+(-T-l.height/2)+`)`),y.attr(`transform`,`translate(`+(d-C/2)+`, `+(-T+l.height/2)+`)`),x.attr(`transform`,`translate(`+(d+C/2-S.width-20)+`, `+(-T+l.height/2)+`)`);let k,{rx:A,ry:j}=t,{cssStyles:M}=t;if(t.look===`handDrawn`){let e=s.t.svg(c),n=i.a(t,{}),r=A||j?e.path(w(D,O,C,E,A||0),n):e.rectangle(D,O,C,E,n);k=c.insert(()=>r,`:first-child`),k.attr(`class`,`basic label-container`).attr(`style`,M||null)}else{k=c.insert(`rect`,`:first-child`),k.attr(`class`,`basic label-container __APA__`).attr(`style`,a).attr(`rx`,A??5).attr(`ry`,j??5).attr(`x`,D).attr(`y`,O).attr(`width`,C).attr(`height`,E);let e=`priority`in t&&t.priority;if(e){let t=c.append(`line`),n=D+2,r=O+Math.floor((A??0)/2),i=O+E-Math.floor((A??0)/2);t.attr(`x1`,n).attr(`y1`,r).attr(`x2`,n).attr(`y2`,i).attr(`stroke-width`,`4`).attr(`stroke`,Jt(e))}}return _(t,k),t.height=E,t.intersect=function(e){return I.rect(t,e)},c}n.n(Yt,`kanbanItem`);async function Xt(t,n){let{labelStyles:a,nodeStyles:o}=i.i(n);n.labelStyle=a;let{shapeSvg:c,bbox:l,halfPadding:u,label:d}=await h(t,n,v(n)),f=l.width+10*u,p=l.height+8*u,m=.15*f,{cssStyles:g}=n,y=l.width+20,b=l.height+20,x=Math.max(f,y),S=Math.max(p,b);d.attr(`transform`,`translate(${-l.width/2}, ${-l.height/2})`);let C,w=`M0 0
11
- a${m},${m} 1 0,0 ${x*.25},${-1*S*.1}
12
- a${m},${m} 1 0,0 ${x*.25},0
13
- a${m},${m} 1 0,0 ${x*.25},0
14
- a${m},${m} 1 0,0 ${x*.25},${S*.1}
15
-
16
- a${m},${m} 1 0,0 ${x*.15},${S*.33}
17
- a${m*.8},${m*.8} 1 0,0 0,${S*.34}
18
- a${m},${m} 1 0,0 ${-1*x*.15},${S*.33}
19
-
20
- a${m},${m} 1 0,0 ${-1*x*.25},${S*.15}
21
- a${m},${m} 1 0,0 ${-1*x*.25},0
22
- a${m},${m} 1 0,0 ${-1*x*.25},0
23
- a${m},${m} 1 0,0 ${-1*x*.25},${-1*S*.15}
24
-
25
- a${m},${m} 1 0,0 ${-1*x*.1},${-1*S*.33}
26
- a${m*.8},${m*.8} 1 0,0 0,${-1*S*.34}
27
- a${m},${m} 1 0,0 ${x*.1},${-1*S*.33}
28
- H0 V0 Z`;if(n.look===`handDrawn`){let e=s.t.svg(c),t=i.a(n,{}),a=e.path(w,t);C=c.insert(()=>a,`:first-child`),C.attr(`class`,`basic label-container`).attr(`style`,r.u(g))}else C=c.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,o).attr(`d`,w);return C.attr(`transform`,`translate(${-x/2}, ${-S/2})`),_(n,C),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(t){return e.m.info(`Bang intersect`,n,t),I.rect(n,t)},c}n.n(Xt,`bang`);async function Zt(t,n){let{labelStyles:a,nodeStyles:o}=i.i(n);n.labelStyle=a;let{shapeSvg:c,bbox:l,halfPadding:u,label:d}=await h(t,n,v(n)),f=l.width+2*u,p=l.height+2*u,m=.15*f,g=.25*f,y=.35*f,b=.2*f,{cssStyles:x}=n,S,C=`M0 0
29
- a${m},${m} 0 0,1 ${f*.25},${-1*f*.1}
30
- a${y},${y} 1 0,1 ${f*.4},${-1*f*.1}
31
- a${g},${g} 1 0,1 ${f*.35},${f*.2}
32
-
33
- a${m},${m} 1 0,1 ${f*.15},${p*.35}
34
- a${b},${b} 1 0,1 ${-1*f*.15},${p*.65}
35
-
36
- a${g},${m} 1 0,1 ${-1*f*.25},${f*.15}
37
- a${y},${y} 1 0,1 ${-1*f*.5},0
38
- a${m},${m} 1 0,1 ${-1*f*.25},${-1*f*.15}
39
-
40
- a${m},${m} 1 0,1 ${-1*f*.1},${-1*p*.35}
41
- a${b},${b} 1 0,1 ${f*.1},${-1*p*.65}
42
- H0 V0 Z`;if(n.look===`handDrawn`){let e=s.t.svg(c),t=i.a(n,{}),a=e.path(C,t);S=c.insert(()=>a,`:first-child`),S.attr(`class`,`basic label-container`).attr(`style`,r.u(x))}else S=c.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,o).attr(`d`,C);return d.attr(`transform`,`translate(${-l.width/2}, ${-l.height/2})`),S.attr(`transform`,`translate(${-f/2}, ${-p/2})`),_(n,S),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(t){return e.m.info(`Cloud intersect`,n,t),I.rect(n,t)},c}n.n(Zt,`cloud`);async function Qt(e,t){let{labelStyles:n,nodeStyles:r}=i.i(t);t.labelStyle=n;let{shapeSvg:a,bbox:o,halfPadding:s,label:c}=await h(e,t,v(t)),l=o.width+8*s,u=o.height+2*s,d=t.look===`neo`?`
43
- M${-l/2} ${u/2-5}
44
- v${-u+10}
45
- q0,-5 5,-5
46
- h${l-10}
47
- q5,0 5,5
48
- v${u-5}
49
- H${-l/2}
50
- Z
51
- `:`
52
- M${-l/2} ${u/2-5}
53
- v${-u+10}
54
- q0,-5 5,-5
55
- h${l-10}
56
- q5,0 5,5
57
- v${u-10}
58
- q0,5 -5,5
59
- h${-(l-10)}
60
- q-5,0 -5,-5
61
- Z
62
- `;if(!t.domId)throw Error(`defaultMindmapNode: node "${t.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let f=a.append(`path`).attr(`id`,t.domId).attr(`class`,`node-bkg node-`+t.type).attr(`style`,r).attr(`d`,d);return a.append(`line`).attr(`class`,`node-line-`).attr(`x1`,-l/2).attr(`y1`,u/2).attr(`x2`,l/2).attr(`y2`,u/2),c.attr(`transform`,`translate(${-o.width/2}, ${-o.height/2})`),a.append(()=>c.node()),_(t,f),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},a}n.n(Qt,`defaultMindmapNode`);async function $t(e,t){return pe(e,t,{padding:t.padding??0})}n.n($t,`mindmapCircle`);var en=[{semanticName:`Process`,name:`Rectangle`,shortName:`rect`,description:`Standard process shape`,aliases:[`proc`,`process`,`rectangle`],internalAliases:[`squareRect`],handler:ht},{semanticName:`Event`,name:`Rounded Rectangle`,shortName:`rounded`,description:`Represents an event`,aliases:[`event`],internalAliases:[`roundedRect`],handler:ft},{semanticName:`Terminal Point`,name:`Stadium`,shortName:`stadium`,description:`Terminal point`,aliases:[`terminal`,`pill`],handler:gt},{semanticName:`Subprocess`,name:`Framed Rectangle`,shortName:`fr-rect`,description:`Subprocess`,aliases:[`subprocess`,`subproc`,`framed-rectangle`,`subroutine`],handler:xt},{semanticName:`Database`,name:`Cylinder`,shortName:`cyl`,description:`Database storage`,aliases:[`db`,`database`,`cylinder`],handler:Oe},{semanticName:`Data Store`,name:`Data Store`,shortName:`datastore`,description:`Data flow diagram data store`,aliases:[`data-store`],handler:ke},{semanticName:`Folder`,name:`Folder`,shortName:`folder`,description:`Folder or directory`,aliases:[`directory`],handler:Ie},{semanticName:`Bucket`,name:`Bucket`,shortName:`bucket`,description:`Object storage bucket`,handler:z},{semanticName:`Console`,name:`Console (terminal window)`,shortName:`console`,description:`Terminal or console window`,handler:he},{semanticName:`Browser`,name:`Browser`,shortName:`browser`,description:`Browser window`,handler:le},{semanticName:`Person`,name:`Person`,shortName:`person`,description:`Person (circular head above a rounded body)`,handler:Se},{semanticName:`Start`,name:`Circle`,shortName:`circle`,description:`Starting point`,aliases:[`circ`],handler:pe},{semanticName:`Bang`,name:`Bang`,shortName:`bang`,description:`Bang`,aliases:[`bang`],handler:Xt},{semanticName:`Cloud`,name:`Cloud`,shortName:`cloud`,description:`cloud`,aliases:[`cloud`],handler:Zt},{semanticName:`Decision`,name:`Diamond`,shortName:`diam`,description:`Decision-making step`,aliases:[`decision`,`diamond`,`question`],handler:lt},{semanticName:`Prepare Conditional`,name:`Hexagon`,shortName:`hex`,description:`Preparation or condition step`,aliases:[`hexagon`,`prepare`],handler:Be},{semanticName:`Data Input/Output`,name:`Lean Right`,shortName:`lean-r`,description:`Represents input or output`,aliases:[`lean-right`,`in-out`],internalAliases:[`lean_right`],handler:Xe},{semanticName:`Data Input/Output`,name:`Lean Left`,shortName:`lean-l`,description:`Represents output or input`,aliases:[`lean-left`,`out-in`],internalAliases:[`lean_left`],handler:Ye},{semanticName:`Priority Action`,name:`Trapezoid Base Bottom`,shortName:`trap-b`,description:`Priority action`,aliases:[`priority`,`trapezoid-bottom`,`trapezoid`],handler:Mt},{semanticName:`Manual Operation`,name:`Trapezoid Base Top`,shortName:`trap-t`,description:`Represents a manual task`,aliases:[`manual`,`trapezoid-top`,`inv-trapezoid`],internalAliases:[`inv_trapezoid`],handler:qe},{semanticName:`Stop`,name:`Double Circle`,shortName:`dbl-circ`,description:`Represents a stop point`,aliases:[`double-circle`],internalAliases:[`doublecircle`],handler:je},{semanticName:`Text Block`,name:`Text Block`,shortName:`text`,description:`Text block`,handler:Tt},{semanticName:`Card`,name:`Notched Rectangle`,shortName:`notch-rect`,description:`Represents a card`,aliases:[`card`,`notched-rectangle`],handler:de},{semanticName:`Lined/Shaded Process`,name:`Lined Rectangle`,shortName:`lin-rect`,description:`Lined process shape`,aliases:[`lined-rectangle`,`lined-process`,`lin-proc`,`shaded-process`],handler:pt},{semanticName:`Start`,name:`Small Circle`,shortName:`sm-circ`,description:`Small starting point`,aliases:[`start`,`small-circle`],internalAliases:[`stateStart`],handler:yt},{semanticName:`Stop`,name:`Framed Circle`,shortName:`fr-circ`,description:`Stop point`,aliases:[`stop`,`framed-circle`],internalAliases:[`stateEnd`],handler:vt},{semanticName:`Fork/Join`,name:`Filled Rectangle`,shortName:`fork`,description:`Fork or join in process flow`,aliases:[`join`],internalAliases:[`forkJoin`],handler:Le},{semanticName:`Collate`,name:`Hourglass`,shortName:`hourglass`,description:`Represents a collate operation`,aliases:[`hourglass`,`collate`],handler:Ve},{semanticName:`Comment`,name:`Curly Brace`,shortName:`brace`,description:`Adds a comment`,aliases:[`comment`,`brace-l`],handler:ve},{semanticName:`Comment Right`,name:`Curly Brace`,shortName:`brace-r`,description:`Adds a comment`,handler:ye},{semanticName:`Comment with braces on both sides`,name:`Curly Braces`,shortName:`braces`,description:`Adds a comment`,handler:be},{semanticName:`Com Link`,name:`Lightning Bolt`,shortName:`bolt`,description:`Communication link`,aliases:[`com-link`,`lightning-bolt`],handler:Ze},{semanticName:`Document`,name:`Document`,shortName:`doc`,description:`Represents a document`,aliases:[`doc`,`document`],handler:Lt},{semanticName:`Delay`,name:`Half-Rounded Rectangle`,shortName:`delay`,description:`Represents a delay`,aliases:[`half-rounded-rectangle`],handler:Re},{semanticName:`Direct Access Storage`,name:`Horizontal Cylinder`,shortName:`h-cyl`,description:`Direct access storage`,aliases:[`das`,`horizontal-cylinder`],handler:jt},{semanticName:`Disk Storage`,name:`Lined Cylinder`,shortName:`lin-cyl`,description:`Disk storage`,aliases:[`disk`,`lined-cylinder`],handler:rt},{semanticName:`Display`,name:`Curved Trapezoid`,shortName:`curv-trap`,description:`Represents a display`,aliases:[`curved-trapezoid`,`display`],handler:xe},{semanticName:`Divided Process`,name:`Divided Rectangle`,shortName:`div-rect`,description:`Divided process shape`,aliases:[`div-proc`,`divided-rectangle`,`divided-process`],handler:Ae},{semanticName:`Extract`,name:`Triangle`,shortName:`tri`,description:`Extraction process`,aliases:[`extract`,`triangle`],handler:It},{semanticName:`Internal Storage`,name:`Window Pane`,shortName:`win-pane`,description:`Internal storage`,aliases:[`internal-storage`,`window-pane`],handler:zt},{semanticName:`Junction`,name:`Filled Circle`,shortName:`f-circ`,description:`Junction point`,aliases:[`junction`,`filled-circle`],handler:Me},{semanticName:`Loop Limit`,name:`Trapezoidal Pentagon`,shortName:`notch-pent`,description:`Loop limit step`,aliases:[`loop-limit`,`notched-pentagon`],handler:Nt},{semanticName:`Manual File`,name:`Flipped Triangle`,shortName:`flip-tri`,description:`Manual file operation`,aliases:[`manual-file`,`flipped-triangle`],handler:Fe},{semanticName:`Manual Input`,name:`Sloped Rectangle`,shortName:`sl-rect`,description:`Manual input step`,aliases:[`manual-input`,`sloped-rectangle`],handler:mt},{semanticName:`Multi-Document`,name:`Stacked Document`,shortName:`docs`,description:`Multiple documents`,aliases:[`documents`,`st-doc`,`stacked-document`],handler:ot},{semanticName:`Multi-Process`,name:`Stacked Rectangle`,shortName:`st-rect`,description:`Multiple processes`,aliases:[`procs`,`processes`,`stacked-rectangle`],handler:at},{semanticName:`Stored Data`,name:`Bow Tie Rectangle`,shortName:`bow-rect`,description:`Stored data`,aliases:[`stored-data`,`bow-tie-rectangle`],handler:te},{semanticName:`Summary`,name:`Crossed Circle`,shortName:`cross-circ`,description:`Summary`,aliases:[`summary`,`crossed-circle`],handler:_e},{semanticName:`Tagged Document`,name:`Tagged Document`,shortName:`tag-doc`,description:`Tagged document`,aliases:[`tag-doc`,`tagged-document`],handler:wt},{semanticName:`Tagged Process`,name:`Tagged Rectangle`,shortName:`tag-rect`,description:`Tagged process`,aliases:[`tagged-rectangle`,`tag-proc`,`tagged-process`],handler:Ct},{semanticName:`Paper Tape`,name:`Flag`,shortName:`flag`,description:`Paper tape`,aliases:[`paper-tape`],handler:Rt},{semanticName:`Odd`,name:`Odd`,shortName:`odd`,description:`Odd shape`,internalAliases:[`rect_left_inv_arrow`],handler:ut},{semanticName:`Lined Document`,name:`Lined Document`,shortName:`lin-doc`,description:`Lined document`,aliases:[`lined-document`],handler:it}],tn=n.n(()=>{let e=[...Object.entries({state:_t,choice:fe,note:st,composite:me,rectWithTitle:dt,labelRect:Je,block_arrow:ce,collapsedGroup:re,iconSquare:Ge,iconCircle:Ue,icon:He,iconRounded:We,imageSquare:Ke,anchor:ee,kanbanItem:Yt,mindmapCircle:$t,defaultMindmapNode:Qt,classBox:Kt,erBox:Ht,requirementBox:qt}),...en.flatMap(e=>[e.shortName,...`aliases`in e?e.aliases:[],...`internalAliases`in e?e.internalAliases:[]].map(t=>[t,e.handler]))];return Object.fromEntries(e)},`generateShapeMap`)();function nn(e){return e in tn}n.n(nn,`isValidShape`),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return nn}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return tn}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
@@ -1,15 +0,0 @@
1
- var e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs").n(()=>`
2
- /* Font Awesome icon styling - consolidated */
3
- .label-icon {
4
- display: inline-block;
5
- height: 1em;
6
- overflow: visible;
7
- vertical-align: -0.125em;
8
- }
9
-
10
- .node .label-icon path {
11
- fill: currentColor;
12
- stroke: revert;
13
- stroke-width: revert;
14
- }
15
- `,`getIconStyles`);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
@@ -1,2 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs"),n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),r=require("./dist-DrOEvFlx.cjs");function i(e){this._context=e}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function a(e){return new i(e)}var o=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function s(e){return new o(e,!0)}function c(e){return new o(e,!1)}function l(){}function u(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function d(e){this._context=e}d.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:u(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:u(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function f(e){return new d(e)}function p(e){this._context=e}p.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:u(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ee(e){return new p(e)}function te(e){this._context=e}te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:u(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ne(e){return new te(e)}function re(e,t){this._basis=new d(e),this._beta=t}re.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var ie=(function e(t){function n(e){return t===1?new d(e):new re(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function m(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function h(e,t){this._context=e,this._k=(1-t)/6}h.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:m(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:m(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ae=(function e(t){function n(e){return new h(e,t)}return n.tension=function(t){return e(+t)},n})(0);function g(e,t){this._context=e,this._k=(1-t)/6}g.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:m(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var oe=(function e(t){function n(e){return new g(e,t)}return n.tension=function(t){return e(+t)},n})(0);function _(e,t){this._context=e,this._k=(1-t)/6}_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:m(this,e,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var se=(function e(t){function n(e){return new _(e,t)}return n.tension=function(t){return e(+t)},n})(0);function v(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>1e-12){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function y(e,t){this._context=e,this._alpha=t}y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:v(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var b=(function e(t){function n(e){return t?new y(e,t):new h(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function ce(e,t){this._context=e,this._alpha=t}ce.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:v(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var le=(function e(t){function n(e){return t?new ce(e,t):new g(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function ue(e,t){this._context=e,this._alpha=t}ue.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:v(this,e,t);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var de=(function e(t){function n(e){return t?new ue(e,t):new _(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function fe(e){this._context=e}fe.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function pe(e){return new fe(e)}function me(e){return e<0?-1:1}function he(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(me(a)+me(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function ge(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function x(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function S(e){this._context=e}S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:x(this,this._t0,ge(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,x(this,ge(this,n=he(this,e,t)),n);break;default:x(this,this._t0,n=he(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function _e(e){this._context=new ve(e)}(_e.prototype=Object.create(S.prototype)).point=function(e,t){S.prototype.point.call(this,t,e)};function ve(e){this._context=e}ve.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function ye(e){return new S(e)}function be(e){return new _e(e)}function xe(e){this._context=e}xe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Se(e),i=Se(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Se(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Ce(e){return new xe(e)}function C(e,t){this._context=e,this._t=t}C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}};function we(e){return new C(e,.5)}function w(e){return new C(e,0)}function T(e){return new C(e,1)}function Te(e){return Number.isSafeInteger(e)&&e>=0}function Ee(e){return e!=null&&typeof e!=`function`&&Te(e.length)}function De(e){return e===`__proto__`}function E(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function D(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function O(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var k=`[object RegExp]`,A=`[object String]`,j=`[object Number]`,M=`[object Boolean]`,N=`[object Arguments]`,Oe=`[object Symbol]`,ke=`[object Date]`,Ae=`[object Map]`,je=`[object Set]`,Me=`[object Array]`,Ne=`[object ArrayBuffer]`,Pe=`[object Object]`,Fe=`[object DataView]`,Ie=`[object Uint8Array]`,Le=`[object Uint8ClampedArray]`,Re=`[object Uint16Array]`,ze=`[object Uint32Array]`,Be=`[object Int8Array]`,Ve=`[object Int16Array]`,He=`[object Int32Array]`,Ue=`[object Float32Array]`,We=`[object Float64Array]`,Ge=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})()||Function(`return this`)();function P(e){return Ge.Buffer!==void 0&&Ge.Buffer.isBuffer(e)}function F(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Ke(e,t){return I(e,void 0,e,new Map,t)}function I(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(E(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=I(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,I(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(I(a,void 0,n,r,i));return t}if(P(e))return e.subarray();if(F(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=I(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),L(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),L(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),L(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,L(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),L(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),L(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),L(t,e,n,r,i),t}if(typeof e==`object`&&qe(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),L(t,e,n,r,i),t}return e}function L(e,t,n=e,r,i){let a=[...Object.keys(t),...D(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=I(t[s],s,n,r,i))}}function qe(e){switch(O(e)){case N:case Me:case Ne:case Fe:case M:case ke:case Ue:case We:case Be:case Ve:case He:case Ae:case j:case Pe:case k:case je:case A:case Oe:case Ie:case Le:case Re:case ze:return!0;default:return!1}}function Je(e,t){return Ke(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(O(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),L(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case j:case A:case M:{let t=new e.constructor(e?.valueOf());return L(t,e),t}case N:{let t={};return L(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function Ye(e){return Je(e)}function R(e){return typeof e==`object`&&!!e&&O(e)===`[object Arguments]`}function z(e){return typeof e==`object`&&!!e}function Xe(e){return z(e)&&Ee(e)}function B(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(`Expected a function`);let n=function(...r){let i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);let o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(B.Cache||Map),n}B.Cache=Map;function Ze(){}function V(e){return F(e)}function H(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Qe(e){if(E(e))return e;if(Array.isArray(e)||F(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e);if(t==null)return Object.assign(Object.create(t),e);let n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t;return t=e instanceof AggregateError?new n(e.errors,e.message,{cause:e.cause}):new n(e.message,{cause:e.cause}),t.stack=e.stack,Object.assign(t,e),t}return typeof File<`u`&&e instanceof File?new n([e],e.name,{type:e.type,lastModified:e.lastModified}):typeof e==`object`?Object.assign(Object.create(t),e):e}function $e(e,...t){let n=t.slice(0,-1),r=t[t.length-1],i=e;for(let e=0;e<n.length;e++){let t=n[e];i=U(i,t,r,new Map)}return i}function U(e,t,n,r){if(E(e)&&(e=Object(e)),typeof t!=`object`||!t)return e;if(r.has(t))return Qe(r.get(t));if(r.set(t,e),Array.isArray(t)){t=t.slice();for(let e=0;e<t.length;e++)t[e]=t[e]??void 0}let i=[...Object.keys(t),...D(t)];for(let a=0;a<i.length;a++){let o=i[a];if(De(o))continue;let s=t[o],c=e[o];if(R(s)&&(s={...s}),R(c)&&(c={...c}),P(s)&&(s=Ye(s)),Array.isArray(s))if(Array.isArray(c)){let e=[],t=Reflect.ownKeys(c);for(let n=0;n<t.length;n++){let r=t[n];e[r]=c[r]}c=e}else if(Xe(c)){let e=[];for(let t=0;t<c.length;t++)e[t]=c[t];c=e}else c=[];let l=n(c,s,o,e,t,r);l===void 0?Array.isArray(s)||z(c)&&z(s)&&(H(c)||H(s)||V(c)||V(s))?e[o]=U(c,s,n,r):c==null&&H(s)?e[o]=U({},s,n,r):c==null&&V(s)?e[o]=Ye(s):(c===void 0||s!==void 0)&&(e[o]=s):e[o]=l}return e}function et(e,...t){return $e(e,...t,Ze)}var tt=r.t(),nt={curveBasis:f,curveBasisClosed:ee,curveBasisOpen:ne,curveBumpX:s,curveBumpY:c,curveBundle:ie,curveCardinalClosed:oe,curveCardinalOpen:se,curveCardinal:ae,curveCatmullRomClosed:le,curveCatmullRomOpen:de,curveCatmullRom:b,curveLinear:a,curveLinearClosed:pe,curveMonotoneX:ye,curveMonotoneY:be,curveNatural:Ce,curveStep:we,curveStepAfter:T,curveStepBefore:w},rt=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,it=n.n(function(e,n){let r=at(e,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let e=r.map(e=>e.args);t.R(e),i=t.r(i,[...e])}else i=r.args;if(!i)return;let a=t.p(e,n),o=`config`;return i[o]!==void 0&&(a===`flowchart-v2`&&(a=`flowchart`),i[a]=i[o],delete i[o]),i},`detectInit`),at=n.n(function(n,r=null){try{let i=RegExp(`[%]{2}(?![{]${rt.source})(?=[}][%]{2}).*
2
- `,`ig`);n=n.trim().replace(i,``).replace(/'/gm,`"`),e.m.debug(`Detecting diagram directive${r===null?``:` type:`+r} based on the text:${n}`);let a,o=[];for(;(a=t.h.exec(n))!==null;)if(a.index===t.h.lastIndex&&t.h.lastIndex++,a&&!r||r&&a[1]?.match(r)||r&&a[2]?.match(r)){let e=a[1]?a[1]:a[2],t=a[3]?a[3].trim():a[4]?JSON.parse(a[4].trim()):null;o.push({type:e,args:t})}return o.length===0?{type:n,args:null}:o.length===1?o[0]:o}catch(t){return e.m.error(`ERROR: ${t.message} - Unable to parse directive type: '${r}' based on the text: '${n}'`),{type:void 0,args:null}}},`detectDirective`),ot=n.n(function(e){return e.replace(t.h,``)},`removeDirectives`),st=n.n(function(e,t){for(let[n,r]of t.entries())if(r.match(e))return n;return-1},`isSubstringInArray`);function W(e,t){return e?nt[`curve${e.charAt(0).toUpperCase()+e.slice(1)}`]??t:t}n.n(W,`interpolateToCurve`);function ct(e,t){let n=e.trim();if(n)return t.securityLevel===`loose`?n:(0,tt.sanitizeUrl)(n)}n.n(ct,`formatUrl`);var lt=n.n((t,...n)=>{let r=t.split(`.`),i=r.length-1,a=r[i],o=window;for(let n=0;n<i;n++)if(o=o[r[n]],!o){e.m.error(`Function name: ${t} not found in window`);return}o[a](...n)},`runFunc`);function G(e,t){return!e||!t?0:Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}n.n(G,`distance`);function ut(e){let t,n=0;return e.forEach(e=>{n+=G(e,t),t=e}),K(e,n/2)}n.n(ut,`traverseEdge`);function dt(e){return e.length===1?e[0]:ut(e)}n.n(dt,`calcLabelPosition`);var ft=n.n((e,t=2)=>{let n=10**t;return Math.round(e*n)/n},`roundNumber`),K=n.n((e,t)=>{let n,r=t;for(let t of e){if(n){let e=G(t,n);if(e===0)return n;if(e<r)r-=e;else{let i=r/e;if(i<=0)return n;if(i>=1)return{x:t.x,y:t.y};if(i>0&&i<1)return{x:ft((1-i)*n.x+i*t.x,5),y:ft((1-i)*n.y+i*t.y,5)}}}n=t}throw Error(`Could not find a suitable point for the given distance`)},`calculatePoint`),pt=n.n((t,n,r)=>{e.m.info(`our points ${JSON.stringify(n)}`),n[0]!==r&&(n=n.reverse());let i=K(n,25),a=t?10:5,o=Math.atan2(n[0].y-i.y,n[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(n[0].x+i.x)/2,s.y=-Math.cos(o)*a+(n[0].y+i.y)/2,s},`calcCardinalityPosition`);function mt(t,n,r){let i=structuredClone(r);e.m.info(`our points`,i),n!==`start_left`&&n!==`start_right`&&i.reverse();let a=K(i,25+t),o=10+t*.5,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),c={x:0,y:0};return n===`start_left`?(c.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):n===`end_right`?(c.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,c.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):n===`end_left`?(c.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,c.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(c.x=Math.sin(s)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s)*o+(i[0].y+a.y)/2),c}n.n(mt,`calcTerminalLabelPosition`);function q(e){let t=``,n=``;for(let r of e)r!==void 0&&(r.startsWith(`color:`)||r.startsWith(`text-align:`)?n=n+r+`;`:t=t+r+`;`);return{style:t,labelStyle:n}}n.n(q,`getStylesFromArray`);var ht=0,gt=n.n(()=>(ht++,`id-`+Math.random().toString(36).substr(2,12)+`-`+ht),`generateId`);function _t(e){let t=``;for(let n=0;n<e;n++)t+=`0123456789abcdef`.charAt(Math.floor(Math.random()*16));return t}n.n(_t,`makeRandomHex`);var vt=n.n(e=>_t(e.length),`random`),yt=n.n(function(){return{x:0,y:0,fill:void 0,anchor:`start`,style:`#666`,width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:``}},`getTextObj`),bt=n.n(function(e,n){let r=n.text.replace(t.s.lineBreakRegex,` `),[,i]=Q(n.fontSize),a=e.append(`text`);a.attr(`x`,n.x),a.attr(`y`,n.y),a.style(`text-anchor`,n.anchor),a.style(`font-family`,n.fontFamily),a.style(`font-size`,i),a.style(`font-weight`,n.fontWeight),a.attr(`fill`,n.fill),n.class!==void 0&&a.attr(`class`,n.class);let o=a.append(`tspan`);return o.attr(`x`,n.x+n.textMargin*2),o.attr(`fill`,n.fill),o.text(r),a},`drawSimpleText`),xt=B((e,n,r)=>{if(!e||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:`Arial`,joinWith:`<br/>`},r),t.s.lineBreakRegex.test(e)))return e;let i=e.split(` `).filter(Boolean),a=[],o=``;return i.forEach((e,t)=>{let s=Y(`${e} `,r),c=Y(o,r);if(s>n){let{hyphenatedStrings:t,remainingWord:i}=St(e,n,`-`,r);a.push(o,...t),o=i}else c+s>=n?(a.push(o),o=e):o=[o,e].filter(Boolean).join(` `);t+1===i.length&&a.push(o)}),a.filter(e=>e!==``).join(r.joinWith)},(e,t,n)=>`${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),St=B((e,t,n=`-`,r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:`Arial`,margin:0},r);let i=[...e],a=[],o=``;return i.forEach((e,s)=>{let c=`${o}${e}`;if(Y(c,r)>=t){let e=s+1,t=i.length===e,r=`${c}${n}`;a.push(t?c:r),o=``}else o=c}),{hyphenatedStrings:a,remainingWord:o}},(e,t,n=`-`,r)=>`${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function J(e,t){return X(e,t).height}n.n(J,`calculateTextHeight`);function Y(e,t){return X(e,t).width}n.n(Y,`calculateTextWidth`);var X=B((n,r)=>{let{fontSize:i=12,fontFamily:a=`Arial`,fontWeight:o=400}=r;if(!n)return{width:0,height:0};let[,s]=Q(i),c=[`sans-serif`,a],l=n.split(t.s.lineBreakRegex),u=[],d=e.p(`body`);if(!d.remove)return{width:0,height:0,lineHeight:0};let f=d.append(`svg`);for(let e of c){let t=0,n={width:0,height:0,lineHeight:0};for(let r of l){let i=yt();i.text=r||`​`;let a=bt(f,i).style(`font-size`,s).style(`font-weight`,o).style(`font-family`,e),c=(a._groups||a)[0][0].getBBox();if(c.width===0&&c.height===0)throw Error(`svg element not in render tree`);n.width=Math.round(Math.max(n.width,c.width)),t=Math.round(c.height),n.height+=t,n.lineHeight=Math.round(Math.max(n.lineHeight,t))}u.push(n)}return f.remove(),u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),Ct=class{constructor(e=!1,t){this.count=0,this.count=t?t.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{n.n(this,`InitIDGenerator`)}},Z,wt=n.n(function(e){return Z||=document.createElement(`div`),e=escape(e).replace(/%26/g,`&`).replace(/%23/g,`#`).replace(/%3B/g,`;`),Z.innerHTML=e,unescape(Z.textContent)},`entityDecode`);function Tt(e){return`str`in e}n.n(Tt,`isDetailedError`);var Et=n.n((e,t,n,r)=>{if(!r)return;let i=e.node()?.getBBox();i&&e.append(`text`).text(r).attr(`text-anchor`,`middle`).attr(`x`,i.x+i.width/2).attr(`y`,-n).attr(`class`,t)},`insertTitle`),Q=n.n(e=>{if(typeof e==`number`)return[e,e+`px`];let t=parseInt(e??``,10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+`px`]:[t,e]},`parseFontSize`);function $(e,t){return et({},e,t)}n.n($,`cleanAndMerge`);var Dt={assignWithDepth:t.r,wrapLabel:xt,calculateTextHeight:J,calculateTextWidth:Y,calculateTextDimensions:X,cleanAndMerge:$,detectInit:it,detectDirective:at,isSubstringInArray:st,interpolateToCurve:W,calcLabelPosition:dt,calcCardinalityPosition:pt,calcTerminalLabelPosition:mt,formatUrl:ct,getStylesFromArray:q,generateId:gt,random:vt,runFunc:lt,entityDecode:wt,insertTitle:Et,isLabelCoordinateInPath:Mt,parseFontSize:Q,InitIDGenerator:Ct},Ot=n.n(function(e){let t=e;return t=t.replace(/style.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)}),t=t.replace(/classDef.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)}),t=t.replace(/#\w+;/g,function(e){let t=e.substring(1,e.length-1);return/^\+?\d+$/.test(t)?`fl°°`+t+`¶ß`:`fl°`+t+`¶ß`}),t},`encodeEntities`),kt=n.n(function(e){return e.replace(/fl°°/g,`&#`).replace(/fl°/g,`&`).replace(/¶ß/g,`;`)},`decodeEntities`),At=n.n((e,t,{counter:n=0,prefix:r,suffix:i},a)=>a||`${r?`${r}_`:``}${e}_${t}_${n}${i?`_${i}`:``}`,`getEdgeId`);function jt(e){return e??null}n.n(jt,`handleUndefinedAttr`);function Mt(e,t){let n=Math.round(e.x),r=Math.round(e.y),i=t.replace(/(\d+\.\d+)/g,e=>Math.round(parseFloat(e)).toString());return i.includes(n.toString())||i.includes(r.toString())}n.n(Mt,`isLabelCoordinateInPath`),Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return ae}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return He}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return ze}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return Ue}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return ke}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return Le}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return je}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return we}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return We}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return Ne}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return Ie}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return Ce}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return be}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return xt}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return kt}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return At}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return ot}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return Be}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return Ve}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return vt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Ot}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return gt}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return jt}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return Re}});
@@ -1 +0,0 @@
1
- const e=require("./src-B16ML7oM.cjs"),t=require("./chunk-DU6HZSFF-mznJTFyO.cjs");var n=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs").n(n=>{let{securityLevel:r}=t.x(),i=e.p(`body`);return r===`sandbox`&&(i=e.p((e.p(`#i${n}`).node()?.contentDocument??document).body)),i.select(`#${n}`)},`selectSvgElement`);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});