@spteck/react-controls-v2 2.3.91 → 2.4.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 (319) hide show
  1. package/dist/LocalizationProvider-BbfcY9z3.cjs +2 -0
  2. package/dist/{LocalizationProvider-te5iu_6z.js → LocalizationProvider-CvSHuk0e.js} +46 -46
  3. package/dist/{ar-Blifx2MN.js → ar-BPzd6WER.js} +1 -1
  4. package/dist/ar-CBSdRr5Q.cjs +2 -0
  5. package/dist/az-DoZjCfF0.cjs +2 -0
  6. package/dist/{az-CMhDjtnj.js → az-MWX-WDgc.js} +1 -1
  7. package/dist/{bg-C96WirSv.js → bg-CvRGS4sF.js} +1 -1
  8. package/dist/bg-DI8UD_HF.cjs +2 -0
  9. package/dist/bs-DQhZlEEo.cjs +2 -0
  10. package/dist/{bs-_St1wBE_.js → bs-aXQgChJT.js} +1 -1
  11. package/dist/{ca-QlLcV4wf.js → ca-BCXCXzgh.js} +1 -1
  12. package/dist/ca-DSC32tOX.cjs +2 -0
  13. package/dist/components/dropDownField/IOption.d.ts +2 -0
  14. package/dist/components/iconButton/IconButtonProps.d.ts +2 -0
  15. package/dist/cs-B0C33FJt.cjs +2 -0
  16. package/dist/{cs-MrS2bH7F.js → cs-VHWnqXwJ.js} +1 -1
  17. package/dist/cy-BNabORao.cjs +2 -0
  18. package/dist/{cy-BX97Tgwk.js → cy-qF-aNCW-.js} +1 -1
  19. package/dist/da-BmgXTEXm.cjs +2 -0
  20. package/dist/{da-BnewPPrh.js → da-rR5TnSBw.js} +1 -1
  21. package/dist/de-B4w38-0d.cjs +2 -0
  22. package/dist/{de-BSZuzGTL.js → de-DbeDjRNp.js} +1 -1
  23. package/dist/el-Cgk6VsxL.cjs +2 -0
  24. package/dist/{el-DrOk3N7-.js → el-DDeD6FiX.js} +1 -1
  25. package/dist/es-3ugMIZuA.cjs +2 -0
  26. package/dist/{es-CGqzubZ2.js → es-dvKffn6Q.js} +1 -1
  27. package/dist/et-CIIzxbat.cjs +2 -0
  28. package/dist/{et-DGqkocuq.js → et-DgZFBtK7.js} +1 -1
  29. package/dist/eu-BUNUOJ7E.cjs +2 -0
  30. package/dist/{eu-DEo7fdTW.js → eu-C6r1_PRy.js} +1 -1
  31. package/dist/{fi-DxErwnd5.js → fi-CzOKgmjK.js} +1 -1
  32. package/dist/fi-q6BFPHtt.cjs +2 -0
  33. package/dist/fr-BEnCZ733.cjs +2 -0
  34. package/dist/{fr-zrtSZX0o.js → fr-D0cDkdbn.js} +1 -1
  35. package/dist/{ga-CbHxGc9_.js → ga-0A7ndSzw.js} +1 -1
  36. package/dist/ga-BXyKTnJr.cjs +2 -0
  37. package/dist/{gl--w0P3RY4.js → gl-BNwj4XAu.js} +1 -1
  38. package/dist/gl-DR1C-hSi.cjs +2 -0
  39. package/dist/{he-DY19lzWp.js → he-BPiZ6D5h.js} +1 -1
  40. package/dist/he-OD1Ex2Fw.cjs +2 -0
  41. package/dist/{hi-CFSsoO_8.js → hi-CSgtp9Yg.js} +1 -1
  42. package/dist/hi-Dt9FvBmh.cjs +2 -0
  43. package/dist/{hr-DIRJ1Z8e.js → hr-CDSSj52Q.js} +1 -1
  44. package/dist/hr-DMzwNhar.cjs +2 -0
  45. package/dist/hu-Bc-rChfV.cjs +2 -0
  46. package/dist/{hu-DqYPRWZh.js → hu-TDJYiDOB.js} +1 -1
  47. package/dist/{id-Dgj7SUCi.js → id-B3IF5pnh.js} +1 -1
  48. package/dist/id-CwndN9HH.cjs +2 -0
  49. package/dist/index.cjs +105 -114
  50. package/dist/index.js +6162 -18503
  51. package/dist/{it-QdChHqVN.js → it-BLET318M.js} +1 -1
  52. package/dist/it-DaYS5Vil.cjs +2 -0
  53. package/dist/ja-BYA2LXHy.cjs +2 -0
  54. package/dist/{ja-BNS0BbY-.js → ja-NxwXLaKV.js} +1 -1
  55. package/dist/{kk-Dhkax68h.js → kk-CceJcjtl.js} +1 -1
  56. package/dist/kk-Ctrvuqlz.cjs +2 -0
  57. package/dist/{ko-heRMHZWp.js → ko-cS_OE967.js} +1 -1
  58. package/dist/ko-evIcpTG8.cjs +2 -0
  59. package/dist/lt-CYTLGgh6.cjs +2 -0
  60. package/dist/{lt-Decqbo8S.js → lt-CZ-kk_5b.js} +1 -1
  61. package/dist/{lv-wZASv0Lw.js → lv-BTvPpEjc.js} +1 -1
  62. package/dist/lv-COjitD3w.cjs +2 -0
  63. package/dist/mk-B-LF5gVL.cjs +2 -0
  64. package/dist/{mk-BTsLGTJT.js → mk-CSSyI3El.js} +1 -1
  65. package/dist/ms-CzEvkib0.cjs +2 -0
  66. package/dist/{ms-C0cVNwky.js → ms-Dz5JnKJ1.js} +1 -1
  67. package/dist/nb-B1KWSX94.cjs +2 -0
  68. package/dist/{nb-DGX4q4tS.js → nb-DkgTg1et.js} +1 -1
  69. package/dist/{nl-CnXZa8tZ.js → nl-CQ5eoxw2.js} +1 -1
  70. package/dist/nl-knWqo2aX.cjs +2 -0
  71. package/dist/{pl-DbIdTNpg.js → pl-BQJfOizT.js} +1 -1
  72. package/dist/pl-Ce6dq53t.cjs +2 -0
  73. package/dist/providers.cjs +1 -1
  74. package/dist/providers.js +1 -1
  75. package/dist/pt-BVqTnGkF.cjs +2 -0
  76. package/dist/{pt-CcKYweQk.js → pt-b0p7DoD0.js} +1 -1
  77. package/dist/ro-DqJMfhmX.cjs +2 -0
  78. package/dist/{ro-C-8tiqgA.js → ro-sbBtUVJV.js} +1 -1
  79. package/dist/ru-Dm2NAQyK.cjs +2 -0
  80. package/dist/{ru-Dhnz96q2.js → ru-ofzbka6D.js} +1 -1
  81. package/dist/sk-BNe6CHG-.cjs +2 -0
  82. package/dist/{sk-BU-Z5EsC.js → sk-BtpdNCPC.js} +1 -1
  83. package/dist/{sl-CcfjJFxo.js → sl-B4GsKLu6.js} +1 -1
  84. package/dist/sl-BKmEUGyu.cjs +2 -0
  85. package/dist/{sr-S53unrLA.js → sr-C76YVpkQ.js} +1 -1
  86. package/dist/sr-Dwya5lwF.cjs +2 -0
  87. package/dist/sv-BGL2G9Vm.cjs +2 -0
  88. package/dist/{sv-BiJrVfZr.js → sv-PesX57cX.js} +1 -1
  89. package/dist/{th-vQ7LQ7nD.js → th-CbCNOBnR.js} +1 -1
  90. package/dist/th-DEv6shFI.cjs +2 -0
  91. package/dist/{tr-C5RrNGLz.js → tr-B0TPxXKS.js} +1 -1
  92. package/dist/tr-BB-QonGE.cjs +2 -0
  93. package/dist/uk-B-3fLKpR.cjs +2 -0
  94. package/dist/{uk-WGCFH0fY.js → uk-_9cNoBNe.js} +1 -1
  95. package/dist/{vi-Waa7HkXq.js → vi-B8SfqLW6.js} +1 -1
  96. package/dist/vi-Dx6pJ0ir.cjs +2 -0
  97. package/dist/zh-DD0ml2HG.cjs +2 -0
  98. package/dist/{zh-BmUS7Wn_.js → zh-DqHnbp6B.js} +1 -1
  99. package/package.json +6 -3
  100. package/dist/LocalizationProvider-B6NxHbu2.cjs +0 -2
  101. package/dist/_arrayEach-BuSFKyFt.js +0 -54
  102. package/dist/_arrayEach-ChR-TejB.cjs +0 -2
  103. package/dist/_getTag-BRuLtYrv.js +0 -28
  104. package/dist/_getTag-D6VVyrEu.cjs +0 -2
  105. package/dist/ar-ip3bGOX3.cjs +0 -2
  106. package/dist/arc-4yb49ncY.js +0 -82
  107. package/dist/arc-djsA8IT0.cjs +0 -2
  108. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +0 -3
  109. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +0 -1
  110. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +0 -37
  111. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +0 -4047
  112. package/dist/array-BNB_vRFv.cjs +0 -2
  113. package/dist/array-DP0duYiO.js +0 -8
  114. package/dist/az-CyVLdUDz.cjs +0 -2
  115. package/dist/bg-Bexoz3hL.cjs +0 -2
  116. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +0 -3165
  117. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +0 -133
  118. package/dist/bs-MMcvhwLv.cjs +0 -2
  119. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +0 -2966
  120. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +0 -11
  121. package/dist/ca-BspMSeHN.cjs +0 -2
  122. package/dist/channel-2Bqnb1FY.js +0 -7
  123. package/dist/channel-5_aP1EVB.cjs +0 -2
  124. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +0 -10
  125. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +0 -2
  126. package/dist/chunk-55IACEB6-4ind_ByS.cjs +0 -2
  127. package/dist/chunk-55IACEB6-Pcyz_aR_.js +0 -10
  128. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +0 -2
  129. package/dist/chunk-7E7YKBS2-VHdgsed6.js +0 -25
  130. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +0 -81
  131. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +0 -2598
  132. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +0 -2
  133. package/dist/chunk-C72U2L5F-MjJQTOMh.js +0 -25
  134. package/dist/chunk-D-IZpNpi.cjs +0 -1
  135. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +0 -2
  136. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +0 -25
  137. package/dist/chunk-FMBD7UC4-BvqqU04Z.cjs +0 -16
  138. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +0 -7
  139. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +0 -1302
  140. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +0 -3
  141. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +0 -2
  142. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +0 -43
  143. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +0 -11
  144. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +0 -2
  145. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +0 -2
  146. package/dist/chunk-JSJVCQXG-DowfYWcD.js +0 -62
  147. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +0 -2
  148. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +0 -27
  149. package/dist/chunk-KYZI473N-DEPuSXaW.js +0 -3436
  150. package/dist/chunk-KYZI473N-DzBMFOER.cjs +0 -54
  151. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +0 -25
  152. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +0 -2
  153. package/dist/chunk-MX3YWQON-CAsnAj2e.js +0 -82
  154. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +0 -2
  155. package/dist/chunk-NBPlniwU.js +0 -23
  156. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +0 -221
  157. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +0 -2004
  158. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +0 -8
  159. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +0 -513
  160. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +0 -2
  161. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +0 -66
  162. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +0 -2
  163. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +0 -69
  164. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +0 -1887
  165. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +0 -71
  166. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +0 -2
  167. package/dist/chunk-QZHKN3VN-x258g6EH.js +0 -17
  168. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +0 -2
  169. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +0 -37
  170. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +0 -190
  171. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +0 -3196
  172. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +0 -2
  173. package/dist/chunk-XIRO2GV7-DXlO8X82.js +0 -32
  174. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +0 -1148
  175. package/dist/chunk-XPW4576I-C68T-WIW.cjs +0 -33
  176. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +0 -95
  177. package/dist/chunk-XZSTWKYB-jD9M1izK.js +0 -16132
  178. package/dist/chunk-YBOYWFTD-B6CeuteH.js +0 -34
  179. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +0 -2
  180. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +0 -2
  181. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +0 -31
  182. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +0 -2
  183. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +0 -31
  184. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +0 -2252
  185. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +0 -2
  186. package/dist/cs-FZSeHYld.cjs +0 -2
  187. package/dist/cy-CzQmM2lQ.cjs +0 -2
  188. package/dist/cytoscape.esm-CcJAI0wG.cjs +0 -322
  189. package/dist/cytoscape.esm-D9EjU25_.js +0 -18102
  190. package/dist/da-CexFt-Oj.cjs +0 -2
  191. package/dist/dagre-CpEPaL3r.cjs +0 -2
  192. package/dist/dagre-Dd8wCGc6.js +0 -1305
  193. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +0 -294
  194. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +0 -5
  195. package/dist/de-B68HwuYu.cjs +0 -2
  196. package/dist/defaultLocale-CYOzCjwh.js +0 -203
  197. package/dist/defaultLocale-DSgylVA1.cjs +0 -2
  198. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +0 -25
  199. package/dist/diagram-E7M64L7V-oX07GVAD.js +0 -529
  200. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +0 -44
  201. package/dist/diagram-IFDJBPK2-lCNF06_S.js +0 -215
  202. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +0 -135
  203. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +0 -25
  204. package/dist/dist-CV9Ez7cn.js +0 -52
  205. package/dist/dist-DVthN7lF.cjs +0 -2
  206. package/dist/el-DQc4jSMd.cjs +0 -2
  207. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +0 -71
  208. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +0 -1668
  209. package/dist/es-DI8Y4Bv1.cjs +0 -2
  210. package/dist/et-DfaryKvp.cjs +0 -2
  211. package/dist/eu-BVOSXciF.cjs +0 -2
  212. package/dist/fi-C5L-OzaI.cjs +0 -2
  213. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +0 -163
  214. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +0 -4163
  215. package/dist/fr-yFvjqx8B.cjs +0 -2
  216. package/dist/ga-6mVQhlWi.cjs +0 -2
  217. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +0 -293
  218. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +0 -3074
  219. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +0 -3
  220. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +0 -1
  221. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +0 -627
  222. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +0 -66
  223. package/dist/gl-BJzJe1sq.cjs +0 -2
  224. package/dist/graphlib-CPo7oIsu.js +0 -223
  225. package/dist/graphlib-CmUS4Qin.cjs +0 -2
  226. package/dist/he-B3Bw3qr0.cjs +0 -2
  227. package/dist/hi-kofL-mD8.cjs +0 -2
  228. package/dist/hr-CDxqA9Jm.cjs +0 -2
  229. package/dist/hu-Defen_75.cjs +0 -2
  230. package/dist/id-DcwMRgmX.cjs +0 -2
  231. package/dist/identity-6JlhFhuM.cjs +0 -2
  232. package/dist/identity-C1jKsMoW.js +0 -395
  233. package/dist/info-3K5VOQVL-DfN_3mKd.js +0 -3
  234. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +0 -1
  235. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +0 -3
  236. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +0 -21
  237. package/dist/init-BAFZAp9S.cjs +0 -2
  238. package/dist/init-m0TwgR4W.js +0 -17
  239. package/dist/isEmpty-BTp1uKIj.cjs +0 -2
  240. package/dist/isEmpty-uXVYZZYe.js +0 -17
  241. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +0 -719
  242. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +0 -71
  243. package/dist/it-D5nM6KCi.cjs +0 -2
  244. package/dist/ja-BtuHirv7.cjs +0 -2
  245. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +0 -140
  246. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +0 -885
  247. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +0 -90
  248. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +0 -973
  249. package/dist/katex-B-Nju2J8.js +0 -22002
  250. package/dist/katex-WY67Rp7A.cjs +0 -266
  251. package/dist/kk-BSl8IqgQ.cjs +0 -2
  252. package/dist/ko-eplb1GD0.cjs +0 -2
  253. package/dist/line-CbEBKCYr.js +0 -36
  254. package/dist/line-DqSdvtRR.cjs +0 -2
  255. package/dist/linear-DvLDpS6A.cjs +0 -2
  256. package/dist/linear-Eb79THx6.js +0 -291
  257. package/dist/lt-DsYAWFbF.cjs +0 -2
  258. package/dist/lv-DHmTjCb8.cjs +0 -2
  259. package/dist/maplibre-gl-qSrG75fp.js +0 -33003
  260. package/dist/maplibre-gl-tm_pVdmb.cjs +0 -757
  261. package/dist/math-DR9t6ixc.cjs +0 -2
  262. package/dist/math-DyURnvXC.js +0 -12
  263. package/dist/mermaid-parser.core-BdTB9qx-.js +0 -61
  264. package/dist/mermaid-parser.core-BlzF5RRD.cjs +0 -4
  265. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +0 -966
  266. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +0 -69
  267. package/dist/mk-CCV_308U.cjs +0 -2
  268. package/dist/ms-CH83xVYN.cjs +0 -2
  269. package/dist/nb-DZ-DlwcL.cjs +0 -2
  270. package/dist/nl-Xdf-A19i.cjs +0 -2
  271. package/dist/ordinal-BAWGEQkf.js +0 -67
  272. package/dist/ordinal-CL2X4e2C.cjs +0 -2
  273. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +0 -1
  274. package/dist/packet-RMMSAZCW-DUN6t9lN.js +0 -3
  275. package/dist/path-Bt6guLtL.cjs +0 -2
  276. package/dist/path-DSzKK8fH.js +0 -87
  277. package/dist/pie-UPGHQEXC-DjqNO54R.js +0 -3
  278. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +0 -1
  279. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +0 -31
  280. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +0 -167
  281. package/dist/pl-BStql1S-.cjs +0 -2
  282. package/dist/pt-Dk4jELuZ.cjs +0 -2
  283. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +0 -8
  284. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +0 -1976
  285. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +0 -1
  286. package/dist/radar-KQ55EAFF-C6zhEkCz.js +0 -3
  287. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +0 -2203
  288. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +0 -74
  289. package/dist/ro-BvhMyTKh.cjs +0 -2
  290. package/dist/rough.esm-BjJ_weyP.cjs +0 -2
  291. package/dist/rough.esm-DBHP55VQ.js +0 -1354
  292. package/dist/ru-BQosng8l.cjs +0 -2
  293. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +0 -922
  294. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +0 -11
  295. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +0 -146
  296. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +0 -4111
  297. package/dist/sk-BhA7UeAk.cjs +0 -2
  298. package/dist/sl-6Mczv4jG.cjs +0 -2
  299. package/dist/sr-CxObZdu0.cjs +0 -2
  300. package/dist/src-DFxq-N5I.cjs +0 -2
  301. package/dist/src-Dm6r9c7l.js +0 -2148
  302. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +0 -219
  303. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +0 -2
  304. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +0 -29
  305. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +0 -2
  306. package/dist/sv-BfiunVuX.cjs +0 -2
  307. package/dist/th-BqLGltZi.cjs +0 -2
  308. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +0 -832
  309. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +0 -62
  310. package/dist/tr-Brwl4o_Z.cjs +0 -2
  311. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +0 -1
  312. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +0 -3
  313. package/dist/uk-CV49TRvS.cjs +0 -2
  314. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +0 -1860
  315. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +0 -35
  316. package/dist/vi-JzM7bjn_.cjs +0 -2
  317. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +0 -8
  318. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +0 -2043
  319. package/dist/zh-DEm0SGzZ.cjs +0 -2
@@ -1,1305 +0,0 @@
1
- import { t as e } from "./graphlib-CPo7oIsu.js";
2
- import * as t from "lodash-es";
3
- //#region node_modules/dagre-d3-es/src/dagre/data/list.js
4
- var n = class {
5
- constructor() {
6
- var e = {};
7
- e._next = e._prev = e, this._sentinel = e;
8
- }
9
- dequeue() {
10
- var e = this._sentinel, t = e._prev;
11
- if (t !== e) return r(t), t;
12
- }
13
- enqueue(e) {
14
- var t = this._sentinel;
15
- e._prev && e._next && r(e), e._next = t._next, t._next._prev = e, t._next = e, e._prev = t;
16
- }
17
- toString() {
18
- for (var e = [], t = this._sentinel, n = t._prev; n !== t;) e.push(JSON.stringify(n, i)), n = n._prev;
19
- return "[" + e.join(", ") + "]";
20
- }
21
- };
22
- function r(e) {
23
- e._prev._next = e._next, e._next._prev = e._prev, delete e._next, delete e._prev;
24
- }
25
- function i(e, t) {
26
- if (e !== "_next" && e !== "_prev") return t;
27
- }
28
- //#endregion
29
- //#region node_modules/dagre-d3-es/src/dagre/greedy-fas.js
30
- var a = t.constant(1);
31
- function o(e, n) {
32
- if (e.nodeCount() <= 1) return [];
33
- var r = l(e, n || a), i = s(r.graph, r.buckets, r.zeroIdx);
34
- return t.flatten(t.map(i, function(t) {
35
- return e.outEdges(t.v, t.w);
36
- }));
37
- }
38
- function s(e, t, n) {
39
- for (var r = [], i = t[t.length - 1], a = t[0], o; e.nodeCount();) {
40
- for (; o = a.dequeue();) c(e, t, n, o);
41
- for (; o = i.dequeue();) c(e, t, n, o);
42
- if (e.nodeCount()) {
43
- for (var s = t.length - 2; s > 0; --s) if (o = t[s].dequeue(), o) {
44
- r = r.concat(c(e, t, n, o, !0));
45
- break;
46
- }
47
- }
48
- }
49
- return r;
50
- }
51
- function c(e, n, r, i, a) {
52
- var o = a ? [] : void 0;
53
- return t.forEach(e.inEdges(i.v), function(t) {
54
- var i = e.edge(t), s = e.node(t.v);
55
- a && o.push({
56
- v: t.v,
57
- w: t.w
58
- }), s.out -= i, u(n, r, s);
59
- }), t.forEach(e.outEdges(i.v), function(t) {
60
- var i = e.edge(t), a = t.w, o = e.node(a);
61
- o.in -= i, u(n, r, o);
62
- }), e.removeNode(i.v), o;
63
- }
64
- function l(r, i) {
65
- var a = new e(), o = 0, s = 0;
66
- t.forEach(r.nodes(), function(e) {
67
- a.setNode(e, {
68
- v: e,
69
- in: 0,
70
- out: 0
71
- });
72
- }), t.forEach(r.edges(), function(e) {
73
- var t = a.edge(e.v, e.w) || 0, n = i(e), r = t + n;
74
- a.setEdge(e.v, e.w, r), s = Math.max(s, a.node(e.v).out += n), o = Math.max(o, a.node(e.w).in += n);
75
- });
76
- var c = t.range(s + o + 3).map(function() {
77
- return new n();
78
- }), l = o + 1;
79
- return t.forEach(a.nodes(), function(e) {
80
- u(c, l, a.node(e));
81
- }), {
82
- graph: a,
83
- buckets: c,
84
- zeroIdx: l
85
- };
86
- }
87
- function u(e, t, n) {
88
- n.out ? n.in ? e[n.out - n.in + t].enqueue(n) : e[e.length - 1].enqueue(n) : e[0].enqueue(n);
89
- }
90
- //#endregion
91
- //#region node_modules/dagre-d3-es/src/dagre/acyclic.js
92
- function d(e) {
93
- var n = e.graph().acyclicer === "greedy" ? o(e, r(e)) : f(e);
94
- t.forEach(n, function(n) {
95
- var r = e.edge(n);
96
- e.removeEdge(n), r.forwardName = n.name, r.reversed = !0, e.setEdge(n.w, n.v, r, t.uniqueId("rev"));
97
- });
98
- function r(e) {
99
- return function(t) {
100
- return e.edge(t).weight;
101
- };
102
- }
103
- }
104
- function f(e) {
105
- var n = [], r = {}, i = {};
106
- function a(o) {
107
- Object.prototype.hasOwnProperty.call(i, o) || (i[o] = !0, r[o] = !0, t.forEach(e.outEdges(o), function(e) {
108
- Object.prototype.hasOwnProperty.call(r, e.w) ? n.push(e) : a(e.w);
109
- }), delete r[o]);
110
- }
111
- return t.forEach(e.nodes(), a), n;
112
- }
113
- function p(e) {
114
- t.forEach(e.edges(), function(t) {
115
- var n = e.edge(t);
116
- if (n.reversed) {
117
- e.removeEdge(t);
118
- var r = n.forwardName;
119
- delete n.reversed, delete n.forwardName, e.setEdge(t.w, t.v, n, r);
120
- }
121
- });
122
- }
123
- //#endregion
124
- //#region node_modules/dagre-d3-es/src/dagre/util.js
125
- function m(e, n, r, i) {
126
- var a;
127
- do
128
- a = t.uniqueId(i);
129
- while (e.hasNode(a));
130
- return r.dummy = n, e.setNode(a, r), a;
131
- }
132
- function ee(n) {
133
- var r = new e().setGraph(n.graph());
134
- return t.forEach(n.nodes(), function(e) {
135
- r.setNode(e, n.node(e));
136
- }), t.forEach(n.edges(), function(e) {
137
- var t = r.edge(e.v, e.w) || {
138
- weight: 0,
139
- minlen: 1
140
- }, i = n.edge(e);
141
- r.setEdge(e.v, e.w, {
142
- weight: t.weight + i.weight,
143
- minlen: Math.max(t.minlen, i.minlen)
144
- });
145
- }), r;
146
- }
147
- function h(n) {
148
- var r = new e({ multigraph: n.isMultigraph() }).setGraph(n.graph());
149
- return t.forEach(n.nodes(), function(e) {
150
- n.children(e).length || r.setNode(e, n.node(e));
151
- }), t.forEach(n.edges(), function(e) {
152
- r.setEdge(e, n.edge(e));
153
- }), r;
154
- }
155
- function g(e, t) {
156
- var n = e.x, r = e.y, i = t.x - n, a = t.y - r, o = e.width / 2, s = e.height / 2;
157
- if (!i && !a) throw Error("Not possible to find intersection inside of the rectangle");
158
- var c, l;
159
- return Math.abs(a) * o > Math.abs(i) * s ? (a < 0 && (s = -s), c = s * i / a, l = s) : (i < 0 && (o = -o), c = o, l = o * a / i), {
160
- x: n + c,
161
- y: r + l
162
- };
163
- }
164
- function _(e) {
165
- var n = t.map(t.range(b(e) + 1), function() {
166
- return [];
167
- });
168
- return t.forEach(e.nodes(), function(r) {
169
- var i = e.node(r), a = i.rank;
170
- t.isUndefined(a) || (n[a][i.order] = r);
171
- }), n;
172
- }
173
- function v(e) {
174
- var n = t.min(t.map(e.nodes(), function(t) {
175
- return e.node(t).rank;
176
- }));
177
- t.forEach(e.nodes(), function(r) {
178
- var i = e.node(r);
179
- t.has(i, "rank") && (i.rank -= n);
180
- });
181
- }
182
- function te(e) {
183
- var n = t.min(t.map(e.nodes(), function(t) {
184
- return e.node(t).rank;
185
- })), r = [];
186
- t.forEach(e.nodes(), function(t) {
187
- var i = e.node(t).rank - n;
188
- r[i] || (r[i] = []), r[i].push(t);
189
- });
190
- var i = 0, a = e.graph().nodeRankFactor;
191
- t.forEach(r, function(n, r) {
192
- t.isUndefined(n) && r % a !== 0 ? --i : i && t.forEach(n, function(t) {
193
- e.node(t).rank += i;
194
- });
195
- });
196
- }
197
- function y(e, t, n, r) {
198
- var i = {
199
- width: 0,
200
- height: 0
201
- };
202
- return arguments.length >= 4 && (i.rank = n, i.order = r), m(e, "border", i, t);
203
- }
204
- function b(e) {
205
- return t.max(t.map(e.nodes(), function(n) {
206
- var r = e.node(n).rank;
207
- if (!t.isUndefined(r)) return r;
208
- }));
209
- }
210
- function x(e, n) {
211
- var r = {
212
- lhs: [],
213
- rhs: []
214
- };
215
- return t.forEach(e, function(e) {
216
- n(e) ? r.lhs.push(e) : r.rhs.push(e);
217
- }), r;
218
- }
219
- function ne(e, n) {
220
- var r = t.now();
221
- try {
222
- return n();
223
- } finally {
224
- console.log(e + " time: " + (t.now() - r) + "ms");
225
- }
226
- }
227
- function re(e, t) {
228
- return t();
229
- }
230
- //#endregion
231
- //#region node_modules/dagre-d3-es/src/dagre/add-border-segments.js
232
- function ie(e) {
233
- function n(r) {
234
- var i = e.children(r), a = e.node(r);
235
- if (i.length && t.forEach(i, n), Object.prototype.hasOwnProperty.call(a, "minRank")) {
236
- a.borderLeft = [], a.borderRight = [];
237
- for (var o = a.minRank, s = a.maxRank + 1; o < s; ++o) S(e, "borderLeft", "_bl", r, a, o), S(e, "borderRight", "_br", r, a, o);
238
- }
239
- }
240
- t.forEach(e.children(), n);
241
- }
242
- function S(e, t, n, r, i, a) {
243
- var o = {
244
- width: 0,
245
- height: 0,
246
- rank: a,
247
- borderType: t
248
- }, s = i[t][a - 1], c = m(e, "border", o, n);
249
- i[t][a] = c, e.setParent(c, r), s && e.setEdge(s, c, { weight: 1 });
250
- }
251
- //#endregion
252
- //#region node_modules/dagre-d3-es/src/dagre/coordinate-system.js
253
- function ae(e) {
254
- var t = e.graph().rankdir.toLowerCase();
255
- (t === "lr" || t === "rl") && C(e);
256
- }
257
- function oe(e) {
258
- var t = e.graph().rankdir.toLowerCase();
259
- (t === "bt" || t === "rl") && T(e), (t === "lr" || t === "rl") && (se(e), C(e));
260
- }
261
- function C(e) {
262
- t.forEach(e.nodes(), function(t) {
263
- w(e.node(t));
264
- }), t.forEach(e.edges(), function(t) {
265
- w(e.edge(t));
266
- });
267
- }
268
- function w(e) {
269
- var t = e.width;
270
- e.width = e.height, e.height = t;
271
- }
272
- function T(e) {
273
- t.forEach(e.nodes(), function(t) {
274
- E(e.node(t));
275
- }), t.forEach(e.edges(), function(n) {
276
- var r = e.edge(n);
277
- t.forEach(r.points, E), Object.prototype.hasOwnProperty.call(r, "y") && E(r);
278
- });
279
- }
280
- function E(e) {
281
- e.y = -e.y;
282
- }
283
- function se(e) {
284
- t.forEach(e.nodes(), function(t) {
285
- D(e.node(t));
286
- }), t.forEach(e.edges(), function(n) {
287
- var r = e.edge(n);
288
- t.forEach(r.points, D), Object.prototype.hasOwnProperty.call(r, "x") && D(r);
289
- });
290
- }
291
- function D(e) {
292
- var t = e.x;
293
- e.x = e.y, e.y = t;
294
- }
295
- //#endregion
296
- //#region node_modules/dagre-d3-es/src/dagre/normalize.js
297
- function ce(e) {
298
- e.graph().dummyChains = [], t.forEach(e.edges(), function(t) {
299
- le(e, t);
300
- });
301
- }
302
- function le(e, t) {
303
- var n = t.v, r = e.node(n).rank, i = t.w, a = e.node(i).rank, o = t.name, s = e.edge(t), c = s.labelRank;
304
- if (a !== r + 1) {
305
- e.removeEdge(t);
306
- var l = void 0, u, d;
307
- for (d = 0, ++r; r < a; ++d, ++r) s.points = [], l = {
308
- width: 0,
309
- height: 0,
310
- edgeLabel: s,
311
- edgeObj: t,
312
- rank: r
313
- }, u = m(e, "edge", l, "_d"), r === c && (l.width = s.width, l.height = s.height, l.dummy = "edge-label", l.labelpos = s.labelpos), e.setEdge(n, u, { weight: s.weight }, o), d === 0 && e.graph().dummyChains.push(u), n = u;
314
- e.setEdge(n, i, { weight: s.weight }, o);
315
- }
316
- }
317
- function ue(e) {
318
- t.forEach(e.graph().dummyChains, function(t) {
319
- var n = e.node(t), r = n.edgeLabel, i;
320
- for (e.setEdge(n.edgeObj, r); n.dummy;) i = e.successors(t)[0], e.removeNode(t), r.points.push({
321
- x: n.x,
322
- y: n.y
323
- }), n.dummy === "edge-label" && (r.x = n.x, r.y = n.y, r.width = n.width, r.height = n.height), t = i, n = e.node(t);
324
- });
325
- }
326
- //#endregion
327
- //#region node_modules/dagre-d3-es/src/dagre/rank/util.js
328
- function O(e) {
329
- var n = {};
330
- function r(i) {
331
- var a = e.node(i);
332
- if (Object.prototype.hasOwnProperty.call(n, i)) return a.rank;
333
- n[i] = !0;
334
- var o = t.min(t.map(e.outEdges(i), function(t) {
335
- return r(t.w) - e.edge(t).minlen;
336
- }));
337
- return (o === Infinity || o == null) && (o = 0), a.rank = o;
338
- }
339
- t.forEach(e.sources(), r);
340
- }
341
- function k(e, t) {
342
- return e.node(t.w).rank - e.node(t.v).rank - e.edge(t).minlen;
343
- }
344
- //#endregion
345
- //#region node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js
346
- function A(t) {
347
- var n = new e({ directed: !1 }), r = t.nodes()[0], i = t.nodeCount();
348
- n.setNode(r, {});
349
- for (var a, o; de(n, t) < i;) a = fe(n, t), o = n.hasNode(a.v) ? k(t, a) : -k(t, a), pe(n, t, o);
350
- return n;
351
- }
352
- function de(e, n) {
353
- function r(i) {
354
- t.forEach(n.nodeEdges(i), function(t) {
355
- var a = t.v, o = i === a ? t.w : a;
356
- !e.hasNode(o) && !k(n, t) && (e.setNode(o, {}), e.setEdge(i, o, {}), r(o));
357
- });
358
- }
359
- return t.forEach(e.nodes(), r), e.nodeCount();
360
- }
361
- function fe(e, n) {
362
- return t.minBy(n.edges(), function(t) {
363
- if (e.hasNode(t.v) !== e.hasNode(t.w)) return k(n, t);
364
- });
365
- }
366
- function pe(e, n, r) {
367
- t.forEach(e.nodes(), function(e) {
368
- n.node(e).rank += r;
369
- });
370
- }
371
- //#endregion
372
- //#region node_modules/dagre-d3-es/src/graphlib/alg/topsort.js
373
- t.constant(1), t.constant(1), me.CycleException = j;
374
- function me(e) {
375
- var n = {}, r = {}, i = [];
376
- function a(o) {
377
- if (Object.prototype.hasOwnProperty.call(r, o)) throw new j();
378
- Object.prototype.hasOwnProperty.call(n, o) || (r[o] = !0, n[o] = !0, t.each(e.predecessors(o), a), delete r[o], i.push(o));
379
- }
380
- if (t.each(e.sinks(), a), t.size(n) !== e.nodeCount()) throw new j();
381
- return i;
382
- }
383
- function j() {}
384
- j.prototype = /* @__PURE__ */ Error();
385
- //#endregion
386
- //#region node_modules/dagre-d3-es/src/graphlib/alg/dfs.js
387
- function M(e, n, r) {
388
- t.isArray(n) || (n = [n]);
389
- var i = (e.isDirected() ? e.successors : e.neighbors).bind(e), a = [], o = {};
390
- return t.each(n, function(t) {
391
- if (!e.hasNode(t)) throw Error("Graph does not have node: " + t);
392
- N(e, t, r === "post", o, i, a);
393
- }), a;
394
- }
395
- function N(e, n, r, i, a, o) {
396
- Object.prototype.hasOwnProperty.call(i, n) || (i[n] = !0, r || o.push(n), t.each(a(n), function(t) {
397
- N(e, t, r, i, a, o);
398
- }), r && o.push(n));
399
- }
400
- //#endregion
401
- //#region node_modules/dagre-d3-es/src/graphlib/alg/postorder.js
402
- function he(e, t) {
403
- return M(e, t, "post");
404
- }
405
- //#endregion
406
- //#region node_modules/dagre-d3-es/src/graphlib/alg/preorder.js
407
- function ge(e, t) {
408
- return M(e, t, "pre");
409
- }
410
- P.initLowLimValues = R, P.initCutValues = F, P.calcCutValue = L, P.leaveEdge = B, P.enterEdge = V, P.exchangeEdges = H;
411
- function P(e) {
412
- e = ee(e), O(e);
413
- var t = A(e);
414
- R(t), F(t, e);
415
- for (var n, r; n = B(t);) r = V(t, e, n), H(t, e, n, r);
416
- }
417
- function F(e, n) {
418
- var r = he(e, e.nodes());
419
- r = r.slice(0, r.length - 1), t.forEach(r, function(t) {
420
- I(e, n, t);
421
- });
422
- }
423
- function I(e, t, n) {
424
- var r = e.node(n).parent;
425
- e.edge(n, r).cutvalue = L(e, t, n);
426
- }
427
- function L(e, n, r) {
428
- var i = e.node(r).parent, a = !0, o = n.edge(r, i), s = 0;
429
- return o ||= (a = !1, n.edge(i, r)), s = o.weight, t.forEach(n.nodeEdges(r), function(t) {
430
- var o = t.v === r, c = o ? t.w : t.v;
431
- if (c !== i) {
432
- var l = o === a, u = n.edge(t).weight;
433
- if (s += l ? u : -u, ve(e, r, c)) {
434
- var d = e.edge(r, c).cutvalue;
435
- s += l ? -d : d;
436
- }
437
- }
438
- }), s;
439
- }
440
- function R(e, t) {
441
- arguments.length < 2 && (t = e.nodes()[0]), z(e, {}, 1, t);
442
- }
443
- function z(e, n, r, i, a) {
444
- var o = r, s = e.node(i);
445
- return n[i] = !0, t.forEach(e.neighbors(i), function(t) {
446
- Object.prototype.hasOwnProperty.call(n, t) || (r = z(e, n, r, t, i));
447
- }), s.low = o, s.lim = r++, a ? s.parent = a : delete s.parent, r;
448
- }
449
- function B(e) {
450
- return t.find(e.edges(), function(t) {
451
- return e.edge(t).cutvalue < 0;
452
- });
453
- }
454
- function V(e, n, r) {
455
- var i = r.v, a = r.w;
456
- n.hasEdge(i, a) || (i = r.w, a = r.v);
457
- var o = e.node(i), s = e.node(a), c = o, l = !1;
458
- o.lim > s.lim && (c = s, l = !0);
459
- var u = t.filter(n.edges(), function(t) {
460
- return l === U(e, e.node(t.v), c) && l !== U(e, e.node(t.w), c);
461
- });
462
- return t.minBy(u, function(e) {
463
- return k(n, e);
464
- });
465
- }
466
- function H(e, t, n, r) {
467
- var i = n.v, a = n.w;
468
- e.removeEdge(i, a), e.setEdge(r.v, r.w, {}), R(e), F(e, t), _e(e, t);
469
- }
470
- function _e(e, n) {
471
- var r = ge(e, t.find(e.nodes(), function(e) {
472
- return !n.node(e).parent;
473
- }));
474
- r = r.slice(1), t.forEach(r, function(t) {
475
- var r = e.node(t).parent, i = n.edge(t, r), a = !1;
476
- i || (i = n.edge(r, t), a = !0), n.node(t).rank = n.node(r).rank + (a ? i.minlen : -i.minlen);
477
- });
478
- }
479
- function ve(e, t, n) {
480
- return e.hasEdge(t, n);
481
- }
482
- function U(e, t, n) {
483
- return n.low <= t.lim && t.lim <= n.lim;
484
- }
485
- //#endregion
486
- //#region node_modules/dagre-d3-es/src/dagre/rank/index.js
487
- function ye(e) {
488
- switch (e.graph().ranker) {
489
- case "network-simplex":
490
- W(e);
491
- break;
492
- case "tight-tree":
493
- xe(e);
494
- break;
495
- case "longest-path":
496
- be(e);
497
- break;
498
- default: W(e);
499
- }
500
- }
501
- var be = O;
502
- function xe(e) {
503
- O(e), A(e);
504
- }
505
- function W(e) {
506
- P(e);
507
- }
508
- //#endregion
509
- //#region node_modules/dagre-d3-es/src/dagre/nesting-graph.js
510
- function Se(e) {
511
- var n = m(e, "root", {}, "_root"), r = Ce(e), i = t.max(t.values(r)) - 1, a = 2 * i + 1;
512
- e.graph().nestingRoot = n, t.forEach(e.edges(), function(t) {
513
- e.edge(t).minlen *= a;
514
- });
515
- var o = we(e) + 1;
516
- t.forEach(e.children(), function(t) {
517
- G(e, n, a, o, i, r, t);
518
- }), e.graph().nodeRankFactor = a;
519
- }
520
- function G(e, n, r, i, a, o, s) {
521
- var c = e.children(s);
522
- if (!c.length) {
523
- s !== n && e.setEdge(n, s, {
524
- weight: 0,
525
- minlen: r
526
- });
527
- return;
528
- }
529
- var l = y(e, "_bt"), u = y(e, "_bb"), d = e.node(s);
530
- e.setParent(l, s), d.borderTop = l, e.setParent(u, s), d.borderBottom = u, t.forEach(c, function(t) {
531
- G(e, n, r, i, a, o, t);
532
- var c = e.node(t), d = c.borderTop ? c.borderTop : t, f = c.borderBottom ? c.borderBottom : t, p = c.borderTop ? i : 2 * i, m = d === f ? a - o[s] + 1 : 1;
533
- e.setEdge(l, d, {
534
- weight: p,
535
- minlen: m,
536
- nestingEdge: !0
537
- }), e.setEdge(f, u, {
538
- weight: p,
539
- minlen: m,
540
- nestingEdge: !0
541
- });
542
- }), e.parent(s) || e.setEdge(n, l, {
543
- weight: 0,
544
- minlen: a + o[s]
545
- });
546
- }
547
- function Ce(e) {
548
- var n = {};
549
- function r(i, a) {
550
- var o = e.children(i);
551
- o && o.length && t.forEach(o, function(e) {
552
- r(e, a + 1);
553
- }), n[i] = a;
554
- }
555
- return t.forEach(e.children(), function(e) {
556
- r(e, 1);
557
- }), n;
558
- }
559
- function we(e) {
560
- return t.reduce(e.edges(), function(t, n) {
561
- return t + e.edge(n).weight;
562
- }, 0);
563
- }
564
- function Te(e) {
565
- var n = e.graph();
566
- e.removeNode(n.nestingRoot), delete n.nestingRoot, t.forEach(e.edges(), function(t) {
567
- e.edge(t).nestingEdge && e.removeEdge(t);
568
- });
569
- }
570
- //#endregion
571
- //#region node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js
572
- function Ee(e, n, r) {
573
- var i = {}, a;
574
- t.forEach(r, function(t) {
575
- for (var r = e.parent(t), o, s; r;) {
576
- if (o = e.parent(r), o ? (s = i[o], i[o] = r) : (s = a, a = r), s && s !== r) {
577
- n.setEdge(s, r);
578
- return;
579
- }
580
- r = o;
581
- }
582
- });
583
- }
584
- //#endregion
585
- //#region node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js
586
- function De(n, r, i) {
587
- var a = Oe(n), o = new e({ compound: !0 }).setGraph({ root: a }).setDefaultNodeLabel(function(e) {
588
- return n.node(e);
589
- });
590
- return t.forEach(n.nodes(), function(e) {
591
- var s = n.node(e), c = n.parent(e);
592
- (s.rank === r || s.minRank <= r && r <= s.maxRank) && (o.setNode(e), o.setParent(e, c || a), t.forEach(n[i](e), function(r) {
593
- var i = r.v === e ? r.w : r.v, a = o.edge(i, e), s = t.isUndefined(a) ? 0 : a.weight;
594
- o.setEdge(i, e, { weight: n.edge(r).weight + s });
595
- }), Object.prototype.hasOwnProperty.call(s, "minRank") && o.setNode(e, {
596
- borderLeft: s.borderLeft[r],
597
- borderRight: s.borderRight[r]
598
- }));
599
- }), o;
600
- }
601
- function Oe(e) {
602
- for (var n; e.hasNode(n = t.uniqueId("_root")););
603
- return n;
604
- }
605
- //#endregion
606
- //#region node_modules/dagre-d3-es/src/dagre/order/cross-count.js
607
- function ke(e, t) {
608
- for (var n = 0, r = 1; r < t.length; ++r) n += Ae(e, t[r - 1], t[r]);
609
- return n;
610
- }
611
- function Ae(e, n, r) {
612
- for (var i = t.zipObject(r, t.map(r, function(e, t) {
613
- return t;
614
- })), a = t.flatten(t.map(n, function(n) {
615
- return t.sortBy(t.map(e.outEdges(n), function(t) {
616
- return {
617
- pos: i[t.w],
618
- weight: e.edge(t).weight
619
- };
620
- }), "pos");
621
- })), o = 1; o < r.length;) o <<= 1;
622
- var s = 2 * o - 1;
623
- --o;
624
- var c = t.map(Array(s), function() {
625
- return 0;
626
- }), l = 0;
627
- return t.forEach(a.forEach(function(e) {
628
- var t = e.pos + o;
629
- c[t] += e.weight;
630
- for (var n = 0; t > 0;) t % 2 && (n += c[t + 1]), t = t - 1 >> 1, c[t] += e.weight;
631
- l += e.weight * n;
632
- })), l;
633
- }
634
- //#endregion
635
- //#region node_modules/dagre-d3-es/src/dagre/order/init-order.js
636
- function je(e) {
637
- var n = {}, r = t.filter(e.nodes(), function(t) {
638
- return !e.children(t).length;
639
- }), i = t.max(t.map(r, function(t) {
640
- return e.node(t).rank;
641
- })), a = t.map(t.range(i + 1), function() {
642
- return [];
643
- });
644
- function o(r) {
645
- t.has(n, r) || (n[r] = !0, a[e.node(r).rank].push(r), t.forEach(e.successors(r), o));
646
- }
647
- var s = t.sortBy(r, function(t) {
648
- return e.node(t).rank;
649
- });
650
- return t.forEach(s, o), a;
651
- }
652
- //#endregion
653
- //#region node_modules/dagre-d3-es/src/dagre/order/barycenter.js
654
- function Me(e, n) {
655
- return t.map(n, function(n) {
656
- var r = e.inEdges(n);
657
- if (r.length) {
658
- var i = t.reduce(r, function(t, n) {
659
- var r = e.edge(n), i = e.node(n.v);
660
- return {
661
- sum: t.sum + r.weight * i.order,
662
- weight: t.weight + r.weight
663
- };
664
- }, {
665
- sum: 0,
666
- weight: 0
667
- });
668
- return {
669
- v: n,
670
- barycenter: i.sum / i.weight,
671
- weight: i.weight
672
- };
673
- } else return { v: n };
674
- });
675
- }
676
- //#endregion
677
- //#region node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js
678
- function Ne(e, n) {
679
- var r = {};
680
- return t.forEach(e, function(e, n) {
681
- var i = r[e.v] = {
682
- indegree: 0,
683
- in: [],
684
- out: [],
685
- vs: [e.v],
686
- i: n
687
- };
688
- t.isUndefined(e.barycenter) || (i.barycenter = e.barycenter, i.weight = e.weight);
689
- }), t.forEach(n.edges(), function(e) {
690
- var n = r[e.v], i = r[e.w];
691
- !t.isUndefined(n) && !t.isUndefined(i) && (i.indegree++, n.out.push(r[e.w]));
692
- }), Pe(t.filter(r, function(e) {
693
- return !e.indegree;
694
- }));
695
- }
696
- function Pe(e) {
697
- var n = [];
698
- function r(e) {
699
- return function(n) {
700
- n.merged || (t.isUndefined(n.barycenter) || t.isUndefined(e.barycenter) || n.barycenter >= e.barycenter) && Fe(e, n);
701
- };
702
- }
703
- function i(t) {
704
- return function(n) {
705
- n.in.push(t), --n.indegree === 0 && e.push(n);
706
- };
707
- }
708
- for (; e.length;) {
709
- var a = e.pop();
710
- n.push(a), t.forEach(a.in.reverse(), r(a)), t.forEach(a.out, i(a));
711
- }
712
- return t.map(t.filter(n, function(e) {
713
- return !e.merged;
714
- }), function(e) {
715
- return t.pick(e, [
716
- "vs",
717
- "i",
718
- "barycenter",
719
- "weight"
720
- ]);
721
- });
722
- }
723
- function Fe(e, t) {
724
- var n = 0, r = 0;
725
- e.weight && (n += e.barycenter * e.weight, r += e.weight), t.weight && (n += t.barycenter * t.weight, r += t.weight), e.vs = t.vs.concat(e.vs), e.barycenter = n / r, e.weight = r, e.i = Math.min(t.i, e.i), t.merged = !0;
726
- }
727
- //#endregion
728
- //#region node_modules/dagre-d3-es/src/dagre/order/sort.js
729
- function Ie(e, n) {
730
- var r = x(e, function(e) {
731
- return Object.prototype.hasOwnProperty.call(e, "barycenter");
732
- }), i = r.lhs, a = t.sortBy(r.rhs, function(e) {
733
- return -e.i;
734
- }), o = [], s = 0, c = 0, l = 0;
735
- i.sort(Le(!!n)), l = K(o, a, l), t.forEach(i, function(e) {
736
- l += e.vs.length, o.push(e.vs), s += e.barycenter * e.weight, c += e.weight, l = K(o, a, l);
737
- });
738
- var u = { vs: t.flatten(o) };
739
- return c && (u.barycenter = s / c, u.weight = c), u;
740
- }
741
- function K(e, n, r) {
742
- for (var i; n.length && (i = t.last(n)).i <= r;) n.pop(), e.push(i.vs), r++;
743
- return r;
744
- }
745
- function Le(e) {
746
- return function(t, n) {
747
- return t.barycenter < n.barycenter ? -1 : t.barycenter > n.barycenter ? 1 : e ? n.i - t.i : t.i - n.i;
748
- };
749
- }
750
- //#endregion
751
- //#region node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js
752
- function q(e, n, r, i) {
753
- var a = e.children(n), o = e.node(n), s = o ? o.borderLeft : void 0, c = o ? o.borderRight : void 0, l = {};
754
- s && (a = t.filter(a, function(e) {
755
- return e !== s && e !== c;
756
- }));
757
- var u = Me(e, a);
758
- t.forEach(u, function(t) {
759
- if (e.children(t.v).length) {
760
- var n = q(e, t.v, r, i);
761
- l[t.v] = n, Object.prototype.hasOwnProperty.call(n, "barycenter") && ze(t, n);
762
- }
763
- });
764
- var d = Ne(u, r);
765
- Re(d, l);
766
- var f = Ie(d, i);
767
- if (s && (f.vs = t.flatten([
768
- s,
769
- f.vs,
770
- c
771
- ]), e.predecessors(s).length)) {
772
- var p = e.node(e.predecessors(s)[0]), m = e.node(e.predecessors(c)[0]);
773
- Object.prototype.hasOwnProperty.call(f, "barycenter") || (f.barycenter = 0, f.weight = 0), f.barycenter = (f.barycenter * f.weight + p.order + m.order) / (f.weight + 2), f.weight += 2;
774
- }
775
- return f;
776
- }
777
- function Re(e, n) {
778
- t.forEach(e, function(e) {
779
- e.vs = t.flatten(e.vs.map(function(e) {
780
- return n[e] ? n[e].vs : e;
781
- }));
782
- });
783
- }
784
- function ze(e, n) {
785
- t.isUndefined(e.barycenter) ? (e.barycenter = n.barycenter, e.weight = n.weight) : (e.barycenter = (e.barycenter * e.weight + n.barycenter * n.weight) / (e.weight + n.weight), e.weight += n.weight);
786
- }
787
- //#endregion
788
- //#region node_modules/dagre-d3-es/src/dagre/order/index.js
789
- function Be(e) {
790
- var n = b(e), r = J(e, t.range(1, n + 1), "inEdges"), i = J(e, t.range(n - 1, -1, -1), "outEdges"), a = je(e);
791
- Y(e, a);
792
- for (var o = Infinity, s, c = 0, l = 0; l < 4; ++c, ++l) {
793
- Ve(c % 2 ? r : i, c % 4 >= 2), a = _(e);
794
- var u = ke(e, a);
795
- u < o && (l = 0, s = t.cloneDeep(a), o = u);
796
- }
797
- Y(e, s);
798
- }
799
- function J(e, n, r) {
800
- return t.map(n, function(t) {
801
- return De(e, t, r);
802
- });
803
- }
804
- function Ve(n, r) {
805
- var i = new e();
806
- t.forEach(n, function(e) {
807
- var n = e.graph().root, a = q(e, n, i, r);
808
- t.forEach(a.vs, function(t, n) {
809
- e.node(t).order = n;
810
- }), Ee(e, i, a.vs);
811
- });
812
- }
813
- function Y(e, n) {
814
- t.forEach(n, function(n) {
815
- t.forEach(n, function(t, n) {
816
- e.node(t).order = n;
817
- });
818
- });
819
- }
820
- //#endregion
821
- //#region node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js
822
- function He(e) {
823
- var n = We(e);
824
- t.forEach(e.graph().dummyChains, function(t) {
825
- for (var r = e.node(t), i = r.edgeObj, a = Ue(e, n, i.v, i.w), o = a.path, s = a.lca, c = 0, l = o[c], u = !0; t !== i.w;) {
826
- if (r = e.node(t), u) {
827
- for (; (l = o[c]) !== s && e.node(l).maxRank < r.rank;) c++;
828
- l === s && (u = !1);
829
- }
830
- if (!u) {
831
- for (; c < o.length - 1 && e.node(l = o[c + 1]).minRank <= r.rank;) c++;
832
- l = o[c];
833
- }
834
- e.setParent(t, l), t = e.successors(t)[0];
835
- }
836
- });
837
- }
838
- function Ue(e, t, n, r) {
839
- var i = [], a = [], o = Math.min(t[n].low, t[r].low), s = Math.max(t[n].lim, t[r].lim), c = n, l;
840
- do
841
- c = e.parent(c), i.push(c);
842
- while (c && (t[c].low > o || s > t[c].lim));
843
- for (l = c, c = r; (c = e.parent(c)) !== l;) a.push(c);
844
- return {
845
- path: i.concat(a.reverse()),
846
- lca: l
847
- };
848
- }
849
- function We(e) {
850
- var n = {}, r = 0;
851
- function i(a) {
852
- var o = r;
853
- t.forEach(e.children(a), i), n[a] = {
854
- low: o,
855
- lim: r++
856
- };
857
- }
858
- return t.forEach(e.children(), i), n;
859
- }
860
- //#endregion
861
- //#region node_modules/dagre-d3-es/src/dagre/position/bk.js
862
- function Ge(e, n) {
863
- var r = {};
864
- function i(n, i) {
865
- var a = 0, o = 0, s = n.length, c = t.last(i);
866
- return t.forEach(i, function(n, l) {
867
- var u = qe(e, n), d = u ? e.node(u).order : s;
868
- (u || n === c) && (t.forEach(i.slice(o, l + 1), function(n) {
869
- t.forEach(e.predecessors(n), function(t) {
870
- var i = e.node(t), o = i.order;
871
- (o < a || d < o) && !(i.dummy && e.node(n).dummy) && X(r, t, n);
872
- });
873
- }), o = l + 1, a = d);
874
- }), i;
875
- }
876
- return t.reduce(n, i), r;
877
- }
878
- function Ke(e, n) {
879
- var r = {};
880
- function i(n, i, a, o, s) {
881
- var c;
882
- t.forEach(t.range(i, a), function(i) {
883
- c = n[i], e.node(c).dummy && t.forEach(e.predecessors(c), function(t) {
884
- var n = e.node(t);
885
- n.dummy && (n.order < o || n.order > s) && X(r, t, c);
886
- });
887
- });
888
- }
889
- function a(n, r) {
890
- var a = -1, o, s = 0;
891
- return t.forEach(r, function(t, c) {
892
- if (e.node(t).dummy === "border") {
893
- var l = e.predecessors(t);
894
- l.length && (o = e.node(l[0]).order, i(r, s, c, a, o), s = c, a = o);
895
- }
896
- i(r, s, r.length, o, n.length);
897
- }), r;
898
- }
899
- return t.reduce(n, a), r;
900
- }
901
- function qe(e, n) {
902
- if (e.node(n).dummy) return t.find(e.predecessors(n), function(t) {
903
- return e.node(t).dummy;
904
- });
905
- }
906
- function X(e, t, n) {
907
- if (t > n) {
908
- var r = t;
909
- t = n, n = r;
910
- }
911
- Object.prototype.hasOwnProperty.call(e, t) || Object.defineProperty(e, t, {
912
- enumerable: !0,
913
- configurable: !0,
914
- value: {},
915
- writable: !0
916
- });
917
- var i = e[t];
918
- Object.defineProperty(i, n, {
919
- enumerable: !0,
920
- configurable: !0,
921
- value: !0,
922
- writable: !0
923
- });
924
- }
925
- function Je(e, t, n) {
926
- if (t > n) {
927
- var r = t;
928
- t = n, n = r;
929
- }
930
- return !!e[t] && Object.prototype.hasOwnProperty.call(e[t], n);
931
- }
932
- function Ye(e, n, r, i) {
933
- var a = {}, o = {}, s = {};
934
- return t.forEach(n, function(e) {
935
- t.forEach(e, function(e, t) {
936
- a[e] = e, o[e] = e, s[e] = t;
937
- });
938
- }), t.forEach(n, function(e) {
939
- var n = -1;
940
- t.forEach(e, function(e) {
941
- var c = i(e);
942
- if (c.length) {
943
- c = t.sortBy(c, function(e) {
944
- return s[e];
945
- });
946
- for (var l = (c.length - 1) / 2, u = Math.floor(l), d = Math.ceil(l); u <= d; ++u) {
947
- var f = c[u];
948
- o[e] === e && n < s[f] && !Je(r, e, f) && (o[f] = e, o[e] = a[e] = a[f], n = s[f]);
949
- }
950
- }
951
- });
952
- }), {
953
- root: a,
954
- align: o
955
- };
956
- }
957
- function Xe(e, n, r, i, a) {
958
- var o = {}, s = Ze(e, n, r, a), c = a ? "borderLeft" : "borderRight";
959
- function l(e, t) {
960
- for (var n = s.nodes(), r = n.pop(), i = {}; r;) i[r] ? e(r) : (i[r] = !0, n.push(r), n = n.concat(t(r))), r = n.pop();
961
- }
962
- function u(e) {
963
- o[e] = s.inEdges(e).reduce(function(e, t) {
964
- return Math.max(e, o[t.v] + s.edge(t));
965
- }, 0);
966
- }
967
- function d(t) {
968
- var n = s.outEdges(t).reduce(function(e, t) {
969
- return Math.min(e, o[t.w] - s.edge(t));
970
- }, Infinity), r = e.node(t);
971
- n !== Infinity && r.borderType !== c && (o[t] = Math.max(o[t], n));
972
- }
973
- return l(u, s.predecessors.bind(s)), l(d, s.successors.bind(s)), t.forEach(i, function(e) {
974
- o[e] = o[r[e]];
975
- }), o;
976
- }
977
- function Ze(n, r, i, a) {
978
- var o = new e(), s = n.graph(), c = nt(s.nodesep, s.edgesep, a);
979
- return t.forEach(r, function(e) {
980
- var r;
981
- t.forEach(e, function(e) {
982
- var t = i[e];
983
- if (o.setNode(t), r) {
984
- var a = i[r], s = o.edge(a, t);
985
- o.setEdge(a, t, Math.max(c(n, e, r), s || 0));
986
- }
987
- r = e;
988
- });
989
- }), o;
990
- }
991
- function Qe(e, n) {
992
- return t.minBy(t.values(n), function(n) {
993
- var r = -Infinity, i = Infinity;
994
- return t.forIn(n, function(t, n) {
995
- var a = rt(e, n) / 2;
996
- r = Math.max(t + a, r), i = Math.min(t - a, i);
997
- }), r - i;
998
- });
999
- }
1000
- function $e(e, n) {
1001
- var r = t.values(n), i = t.min(r), a = t.max(r);
1002
- t.forEach(["u", "d"], function(r) {
1003
- t.forEach(["l", "r"], function(o) {
1004
- var s = r + o, c = e[s], l;
1005
- if (c !== n) {
1006
- var u = t.values(c);
1007
- l = o === "l" ? i - t.min(u) : a - t.max(u), l && (e[s] = t.mapValues(c, function(e) {
1008
- return e + l;
1009
- }));
1010
- }
1011
- });
1012
- });
1013
- }
1014
- function et(e, n) {
1015
- return t.mapValues(e.ul, function(r, i) {
1016
- if (n) return e[n.toLowerCase()][i];
1017
- var a = t.sortBy(t.map(e, i));
1018
- return (a[1] + a[2]) / 2;
1019
- });
1020
- }
1021
- function tt(e) {
1022
- var n = _(e), r = t.merge(Ge(e, n), Ke(e, n)), i = {}, a;
1023
- return t.forEach(["u", "d"], function(o) {
1024
- a = o === "u" ? n : t.values(n).reverse(), t.forEach(["l", "r"], function(n) {
1025
- n === "r" && (a = t.map(a, function(e) {
1026
- return t.values(e).reverse();
1027
- }));
1028
- var s = (o === "u" ? e.predecessors : e.successors).bind(e), c = Ye(e, a, r, s), l = Xe(e, a, c.root, c.align, n === "r");
1029
- n === "r" && (l = t.mapValues(l, function(e) {
1030
- return -e;
1031
- })), i[o + n] = l;
1032
- });
1033
- }), $e(i, Qe(e, i)), et(i, e.graph().align);
1034
- }
1035
- function nt(e, t, n) {
1036
- return function(r, i, a) {
1037
- var o = r.node(i), s = r.node(a), c = 0, l;
1038
- if (c += o.width / 2, Object.prototype.hasOwnProperty.call(o, "labelpos")) switch (o.labelpos.toLowerCase()) {
1039
- case "l":
1040
- l = -o.width / 2;
1041
- break;
1042
- case "r":
1043
- l = o.width / 2;
1044
- break;
1045
- }
1046
- if (l && (c += n ? l : -l), l = 0, c += (o.dummy ? t : e) / 2, c += (s.dummy ? t : e) / 2, c += s.width / 2, Object.prototype.hasOwnProperty.call(s, "labelpos")) switch (s.labelpos.toLowerCase()) {
1047
- case "l":
1048
- l = s.width / 2;
1049
- break;
1050
- case "r":
1051
- l = -s.width / 2;
1052
- break;
1053
- }
1054
- return l && (c += n ? l : -l), l = 0, c;
1055
- };
1056
- }
1057
- function rt(e, t) {
1058
- return e.node(t).width;
1059
- }
1060
- //#endregion
1061
- //#region node_modules/dagre-d3-es/src/dagre/position/index.js
1062
- function it(e) {
1063
- e = h(e), at(e), t.forOwn(tt(e), function(t, n) {
1064
- e.node(n).x = t;
1065
- });
1066
- }
1067
- function at(e) {
1068
- var n = _(e), r = e.graph().ranksep, i = 0;
1069
- t.forEach(n, function(n) {
1070
- var a = t.max(t.map(n, function(t) {
1071
- return e.node(t).height;
1072
- }));
1073
- t.forEach(n, function(t) {
1074
- e.node(t).y = i + a / 2;
1075
- }), i += a + r;
1076
- });
1077
- }
1078
- //#endregion
1079
- //#region node_modules/dagre-d3-es/src/dagre/layout.js
1080
- function ot(e, t) {
1081
- var n = t && t.debugTiming ? ne : re;
1082
- n("layout", () => {
1083
- var t = n(" buildLayoutGraph", () => _t(e));
1084
- n(" runLayout", () => st(t, n)), n(" updateInputGraph", () => ct(e, t));
1085
- });
1086
- }
1087
- function st(e, t) {
1088
- t(" makeSpaceForEdgeLabels", () => vt(e)), t(" removeSelfEdges", () => Et(e)), t(" acyclic", () => d(e)), t(" nestingGraph.run", () => Se(e)), t(" rank", () => ye(h(e))), t(" injectEdgeLabelProxies", () => yt(e)), t(" removeEmptyRanks", () => te(e)), t(" nestingGraph.cleanup", () => Te(e)), t(" normalizeRanks", () => v(e)), t(" assignRankMinMax", () => bt(e)), t(" removeEdgeLabelProxies", () => xt(e)), t(" normalize.run", () => ce(e)), t(" parentDummyChains", () => He(e)), t(" addBorderSegments", () => ie(e)), t(" order", () => Be(e)), t(" insertSelfEdges", () => Dt(e)), t(" adjustCoordinateSystem", () => ae(e)), t(" position", () => it(e)), t(" positionSelfEdges", () => Ot(e)), t(" removeBorderNodes", () => Tt(e)), t(" normalize.undo", () => ue(e)), t(" fixupEdgeLabelCoords", () => Ct(e)), t(" undoCoordinateSystem", () => oe(e)), t(" translateGraph", () => Z(e)), t(" assignNodeIntersects", () => St(e)), t(" reversePoints", () => wt(e)), t(" acyclic.undo", () => p(e));
1089
- }
1090
- function ct(e, n) {
1091
- t.forEach(e.nodes(), function(t) {
1092
- var r = e.node(t), i = n.node(t);
1093
- r && (r.x = i.x, r.y = i.y, n.children(t).length && (r.width = i.width, r.height = i.height));
1094
- }), t.forEach(e.edges(), function(t) {
1095
- var r = e.edge(t), i = n.edge(t);
1096
- r.points = i.points, Object.prototype.hasOwnProperty.call(i, "x") && (r.x = i.x, r.y = i.y);
1097
- }), e.graph().width = n.graph().width, e.graph().height = n.graph().height;
1098
- }
1099
- var lt = [
1100
- "nodesep",
1101
- "edgesep",
1102
- "ranksep",
1103
- "marginx",
1104
- "marginy"
1105
- ], ut = {
1106
- ranksep: 50,
1107
- edgesep: 20,
1108
- nodesep: 50,
1109
- rankdir: "tb"
1110
- }, dt = [
1111
- "acyclicer",
1112
- "ranker",
1113
- "rankdir",
1114
- "align"
1115
- ], ft = ["width", "height"], pt = {
1116
- width: 0,
1117
- height: 0
1118
- }, mt = [
1119
- "minlen",
1120
- "weight",
1121
- "width",
1122
- "height",
1123
- "labeloffset"
1124
- ], ht = {
1125
- minlen: 1,
1126
- weight: 1,
1127
- width: 0,
1128
- height: 0,
1129
- labeloffset: 10,
1130
- labelpos: "r"
1131
- }, gt = ["labelpos"];
1132
- function _t(n) {
1133
- var r = new e({
1134
- multigraph: !0,
1135
- compound: !0
1136
- }), i = $(n.graph());
1137
- return r.setGraph(t.merge({}, ut, Q(i, lt), t.pick(i, dt))), t.forEach(n.nodes(), function(e) {
1138
- var i = $(n.node(e));
1139
- r.setNode(e, t.defaults(Q(i, ft), pt)), r.setParent(e, n.parent(e));
1140
- }), t.forEach(n.edges(), function(e) {
1141
- var i = $(n.edge(e));
1142
- r.setEdge(e, t.merge({}, ht, Q(i, mt), t.pick(i, gt)));
1143
- }), r;
1144
- }
1145
- function vt(e) {
1146
- var n = e.graph();
1147
- n.ranksep /= 2, t.forEach(e.edges(), function(t) {
1148
- var r = e.edge(t);
1149
- r.minlen *= 2, r.labelpos.toLowerCase() !== "c" && (n.rankdir === "TB" || n.rankdir === "BT" ? r.width += r.labeloffset : r.height += r.labeloffset);
1150
- });
1151
- }
1152
- function yt(e) {
1153
- t.forEach(e.edges(), function(t) {
1154
- var n = e.edge(t);
1155
- if (n.width && n.height) {
1156
- var r = e.node(t.v);
1157
- m(e, "edge-proxy", {
1158
- rank: (e.node(t.w).rank - r.rank) / 2 + r.rank,
1159
- e: t
1160
- }, "_ep");
1161
- }
1162
- });
1163
- }
1164
- function bt(e) {
1165
- var n = 0;
1166
- t.forEach(e.nodes(), function(r) {
1167
- var i = e.node(r);
1168
- i.borderTop && (i.minRank = e.node(i.borderTop).rank, i.maxRank = e.node(i.borderBottom).rank, n = t.max(n, i.maxRank));
1169
- }), e.graph().maxRank = n;
1170
- }
1171
- function xt(e) {
1172
- t.forEach(e.nodes(), function(t) {
1173
- var n = e.node(t);
1174
- n.dummy === "edge-proxy" && (e.edge(n.e).labelRank = n.rank, e.removeNode(t));
1175
- });
1176
- }
1177
- function Z(e) {
1178
- var n = Infinity, r = 0, i = Infinity, a = 0, o = e.graph(), s = o.marginx || 0, c = o.marginy || 0;
1179
- function l(e) {
1180
- var t = e.x, o = e.y, s = e.width, c = e.height;
1181
- n = Math.min(n, t - s / 2), r = Math.max(r, t + s / 2), i = Math.min(i, o - c / 2), a = Math.max(a, o + c / 2);
1182
- }
1183
- t.forEach(e.nodes(), function(t) {
1184
- l(e.node(t));
1185
- }), t.forEach(e.edges(), function(t) {
1186
- var n = e.edge(t);
1187
- Object.prototype.hasOwnProperty.call(n, "x") && l(n);
1188
- }), n -= s, i -= c, t.forEach(e.nodes(), function(t) {
1189
- var r = e.node(t);
1190
- r.x -= n, r.y -= i;
1191
- }), t.forEach(e.edges(), function(r) {
1192
- var a = e.edge(r);
1193
- t.forEach(a.points, function(e) {
1194
- e.x -= n, e.y -= i;
1195
- }), Object.prototype.hasOwnProperty.call(a, "x") && (a.x -= n), Object.prototype.hasOwnProperty.call(a, "y") && (a.y -= i);
1196
- }), o.width = r - n + s, o.height = a - i + c;
1197
- }
1198
- function St(e) {
1199
- t.forEach(e.edges(), function(t) {
1200
- var n = e.edge(t), r = e.node(t.v), i = e.node(t.w), a, o;
1201
- n.points ? (a = n.points[0], o = n.points[n.points.length - 1]) : (n.points = [], a = i, o = r), n.points.unshift(g(r, a)), n.points.push(g(i, o));
1202
- });
1203
- }
1204
- function Ct(e) {
1205
- t.forEach(e.edges(), function(t) {
1206
- var n = e.edge(t);
1207
- if (Object.prototype.hasOwnProperty.call(n, "x")) switch ((n.labelpos === "l" || n.labelpos === "r") && (n.width -= n.labeloffset), n.labelpos) {
1208
- case "l":
1209
- n.x -= n.width / 2 + n.labeloffset;
1210
- break;
1211
- case "r":
1212
- n.x += n.width / 2 + n.labeloffset;
1213
- break;
1214
- }
1215
- });
1216
- }
1217
- function wt(e) {
1218
- t.forEach(e.edges(), function(t) {
1219
- var n = e.edge(t);
1220
- n.reversed && n.points.reverse();
1221
- });
1222
- }
1223
- function Tt(e) {
1224
- t.forEach(e.nodes(), function(n) {
1225
- if (e.children(n).length) {
1226
- var r = e.node(n), i = e.node(r.borderTop), a = e.node(r.borderBottom), o = e.node(t.last(r.borderLeft)), s = e.node(t.last(r.borderRight));
1227
- r.width = Math.abs(s.x - o.x), r.height = Math.abs(a.y - i.y), r.x = o.x + r.width / 2, r.y = i.y + r.height / 2;
1228
- }
1229
- }), t.forEach(e.nodes(), function(t) {
1230
- e.node(t).dummy === "border" && e.removeNode(t);
1231
- });
1232
- }
1233
- function Et(e) {
1234
- t.forEach(e.edges(), function(t) {
1235
- if (t.v === t.w) {
1236
- var n = e.node(t.v);
1237
- n.selfEdges ||= [], n.selfEdges.push({
1238
- e: t,
1239
- label: e.edge(t)
1240
- }), e.removeEdge(t);
1241
- }
1242
- });
1243
- }
1244
- function Dt(e) {
1245
- var n = _(e);
1246
- t.forEach(n, function(n) {
1247
- var r = 0;
1248
- t.forEach(n, function(n, i) {
1249
- var a = e.node(n);
1250
- a.order = i + r, t.forEach(a.selfEdges, function(t) {
1251
- m(e, "selfedge", {
1252
- width: t.label.width,
1253
- height: t.label.height,
1254
- rank: a.rank,
1255
- order: i + ++r,
1256
- e: t.e,
1257
- label: t.label
1258
- }, "_se");
1259
- }), delete a.selfEdges;
1260
- });
1261
- });
1262
- }
1263
- function Ot(e) {
1264
- t.forEach(e.nodes(), function(t) {
1265
- var n = e.node(t);
1266
- if (n.dummy === "selfedge") {
1267
- var r = e.node(n.e.v), i = r.x + r.width / 2, a = r.y, o = n.x - i, s = r.height / 2;
1268
- e.setEdge(n.e, n.label), e.removeNode(t), n.label.points = [
1269
- {
1270
- x: i + 2 * o / 3,
1271
- y: a - s
1272
- },
1273
- {
1274
- x: i + 5 * o / 6,
1275
- y: a - s
1276
- },
1277
- {
1278
- x: i + o,
1279
- y: a
1280
- },
1281
- {
1282
- x: i + 5 * o / 6,
1283
- y: a + s
1284
- },
1285
- {
1286
- x: i + 2 * o / 3,
1287
- y: a + s
1288
- }
1289
- ], n.label.x = n.x, n.label.y = n.y;
1290
- }
1291
- });
1292
- }
1293
- function Q(e, n) {
1294
- return t.mapValues(t.pick(e, n), Number);
1295
- }
1296
- function $(e) {
1297
- var n = {};
1298
- return t.forEach(e, function(e, t) {
1299
- n[t.toLowerCase()] = e;
1300
- }), n;
1301
- }
1302
- //#endregion
1303
- export { ot as t };
1304
-
1305
- //# sourceMappingURL=dagre-Dd8wCGc6.js.map