@flyfish-group/file-viewer3 1.0.26 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/README.en.md +3 -388
  2. package/README.md +3 -364
  3. package/dist/file-viewer3.css +1 -2
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +2 -0
  6. package/package.json +22 -126
  7. package/dist/components/3MFLoader.js +0 -527
  8. package/dist/components/AMFLoader.js +0 -188
  9. package/dist/components/ArchiveViewer.js +0 -526
  10. package/dist/components/AudioViewer.js +0 -66
  11. package/dist/components/CadViewer.js +0 -9040
  12. package/dist/components/CodeViewer.js +0 -151
  13. package/dist/components/ColladaLoader.js +0 -2282
  14. package/dist/components/DrawingViewer.js +0 -295
  15. package/dist/components/EdaViewer.js +0 -630
  16. package/dist/components/EmailViewer.js +0 -276
  17. package/dist/components/EpubViewer.js +0 -172
  18. package/dist/components/FBXLoader.js +0 -1574
  19. package/dist/components/GLTFLoader.js +0 -1383
  20. package/dist/components/ImageViewer.js +0 -1519
  21. package/dist/components/KMZLoader.js +0 -45
  22. package/dist/components/MarkdownViewer.js +0 -1476
  23. package/dist/components/ModelViewer.js +0 -797
  24. package/dist/components/OBJLoader.js +0 -287
  25. package/dist/components/OfdViewer.js +0 -133
  26. package/dist/components/PCDLoader.js +0 -141
  27. package/dist/components/PLYLoader.js +0 -305
  28. package/dist/components/PdfView.js +0 -27667
  29. package/dist/components/PptxRender.js +0 -11217
  30. package/dist/components/STLLoader.js +0 -83
  31. package/dist/components/TDSLoader.js +0 -228
  32. package/dist/components/TypstViewer.js +0 -1697
  33. package/dist/components/USDLoader.js +0 -2526
  34. package/dist/components/UmdViewer.js +0 -1873
  35. package/dist/components/VRMLLoader.js +0 -6422
  36. package/dist/components/VTKLoader.js +0 -337
  37. package/dist/components/XYZLoader.js +0 -30
  38. package/dist/components/XlsxTable.js +0 -7879
  39. package/dist/components/__vite-browser-external.js +0 -7
  40. package/dist/components/_plugin-vue_export-helper.js +0 -8
  41. package/dist/components/ar-SA-G6X2FPQ2.js +0 -523
  42. package/dist/components/arc.js +0 -79
  43. package/dist/components/architecture-7EHR7CIX.js +0 -3
  44. package/dist/components/architectureDiagram-3BPJPVTR.js +0 -4096
  45. package/dist/components/archive.js +0 -24
  46. package/dist/components/asyncToGenerator.js +0 -29
  47. package/dist/components/audio.js +0 -19
  48. package/dist/components/az-AZ-76LH7QW2.js +0 -523
  49. package/dist/components/bash.js +0 -169
  50. package/dist/components/bg-BG-XCXSNQG7.js +0 -523
  51. package/dist/components/blockDiagram-GPEHLZMM.js +0 -3357
  52. package/dist/components/bn-BD-2XOGV67Q.js +0 -523
  53. package/dist/components/c4Diagram-AAUBKEIU.js +0 -2957
  54. package/dist/components/ca-ES-6MX7JW3Y.js +0 -523
  55. package/dist/components/cad.js +0 -23
  56. package/dist/components/cfb.js +0 -1174
  57. package/dist/components/channel.js +0 -5
  58. package/dist/components/chunk-2J33WTMH.js +0 -26
  59. package/dist/components/chunk-3OPIFGDE.js +0 -4167
  60. package/dist/components/chunk-4BX2VUAB.js +0 -19
  61. package/dist/components/chunk-55IACEB6.js +0 -9
  62. package/dist/components/chunk-5ZQYHXKU.js +0 -669
  63. package/dist/components/chunk-6U3AYISY.js +0 -624
  64. package/dist/components/chunk-727SXJPM.js +0 -3356
  65. package/dist/components/chunk-AGHRB4JF.js +0 -324
  66. package/dist/components/chunk-AQP2D5EJ.js +0 -2055
  67. package/dist/components/chunk-BSJP7CBP.js +0 -83
  68. package/dist/components/chunk-CSCIHK7Q.js +0 -3500
  69. package/dist/components/chunk-EIO257PC.js +0 -1836
  70. package/dist/components/chunk-FMBD7UC4.js +0 -5
  71. package/dist/components/chunk-K2UTITRG.js +0 -17627
  72. package/dist/components/chunk-KSCS5N6A.js +0 -572
  73. package/dist/components/chunk-L5ZTLDWV.js +0 -40
  74. package/dist/components/chunk-LZXEDZCA.js +0 -60
  75. package/dist/components/chunk-ND2GUHAM.js +0 -61
  76. package/dist/components/chunk-NNHCCRGN.js +0 -20425
  77. package/dist/components/chunk-NZK2D7GU.js +0 -68
  78. package/dist/components/chunk-O5CBEL6O.js +0 -1894
  79. package/dist/components/chunk-QZHKN3VN.js +0 -12
  80. package/dist/components/chunk-SRAX5OIU.js +0 -22
  81. package/dist/components/chunk-WU5MYG2G.js +0 -14
  82. package/dist/components/chunk-XPW4576I.js +0 -1146
  83. package/dist/components/chunk-Z3N5DIM6.js +0 -59
  84. package/dist/components/chunk-ZUYEQ4TG.js +0 -22
  85. package/dist/components/chunk.js +0 -23
  86. package/dist/components/classDiagram-4FO5ZUOK.js +0 -29
  87. package/dist/components/classDiagram-v2-Q7XG4LA2.js +0 -29
  88. package/dist/components/compiler.js +0 -2
  89. package/dist/components/core.js +0 -845
  90. package/dist/components/cose-bilkent-S5V4N54A.js +0 -2268
  91. package/dist/components/cpp.js +0 -225
  92. package/dist/components/cs-CZ-2BRQDIVT.js +0 -523
  93. package/dist/components/csharp.js +0 -260
  94. package/dist/components/css.js +0 -140
  95. package/dist/components/cytoscape.esm.js +0 -18114
  96. package/dist/components/da-DK-5WZEPLOC.js +0 -523
  97. package/dist/components/dagre-BM42HDAG.js +0 -325
  98. package/dist/components/dagre.js +0 -1936
  99. package/dist/components/de-DE-XR44H4JA.js +0 -523
  100. package/dist/components/defaultLocale.js +0 -201
  101. package/dist/components/defineProperty.js +0 -50
  102. package/dist/components/diagram-2AECGRRQ.js +0 -229
  103. package/dist/components/diagram-5GNKFQAL.js +0 -108
  104. package/dist/components/diagram-KO2AKTUF.js +0 -443
  105. package/dist/components/diagram-LMA3HP47.js +0 -139
  106. package/dist/components/diagram-OG6HWLK6.js +0 -541
  107. package/dist/components/diff.js +0 -39
  108. package/dist/components/directory-open-01563666.js +0 -26
  109. package/dist/components/directory-open-4ed118d0.js +0 -83
  110. package/dist/components/dist.js +0 -50
  111. package/dist/components/dist2.js +0 -3291
  112. package/dist/components/dist3.js +0 -1593
  113. package/dist/components/documentSearch.js +0 -378
  114. package/dist/components/docx-preview.js +0 -3113
  115. package/dist/components/drawing.js +0 -19
  116. package/dist/components/ebook.js +0 -16
  117. package/dist/components/eda.js +0 -20
  118. package/dist/components/el-GR-BZB4AONW.js +0 -523
  119. package/dist/components/email.js +0 -21
  120. package/dist/components/en-B4ZKOASM.js +0 -3
  121. package/dist/components/erDiagram-TEJ5UH35.js +0 -1719
  122. package/dist/components/es-ES-U4NZUMDT.js +0 -523
  123. package/dist/components/eu-ES-A7QVB2H4.js +0 -523
  124. package/dist/components/eventmodeling-FCH6USID.js +0 -3
  125. package/dist/components/fa-IR-HGAKTJCU.js +0 -523
  126. package/dist/components/fflate.module.js +0 -323
  127. package/dist/components/fi-FI-Z5N7JZ37.js +0 -523
  128. package/dist/components/file-open-002ab408.js +0 -38
  129. package/dist/components/file-open-7c801643.js +0 -24
  130. package/dist/components/file-save-3189631c.js +0 -40
  131. package/dist/components/file-save-745eba88.js +0 -36
  132. package/dist/components/flowDiagram-I6XJVG4X.js +0 -4181
  133. package/dist/components/fr-FR-RHASNOE6.js +0 -523
  134. package/dist/components/ganttDiagram-6RSMTGT7.js +0 -2182
  135. package/dist/components/gitGraph-WXDBUCRP.js +0 -3
  136. package/dist/components/gitGraphDiagram-PVQCEYII.js +0 -788
  137. package/dist/components/gl-ES-HMX3MZ6V.js +0 -523
  138. package/dist/components/global-compiler.js +0 -23
  139. package/dist/components/global-renderer.js +0 -23
  140. package/dist/components/go.js +0 -140
  141. package/dist/components/graphlib.js +0 -1267
  142. package/dist/components/he-IL-6SHJWFNN.js +0 -523
  143. package/dist/components/hi-IN-IWLTKZ5I.js +0 -523
  144. package/dist/components/hu-HU-A5ZG7DT2.js +0 -523
  145. package/dist/components/id-ID-SAP4L64H.js +0 -523
  146. package/dist/components/image-GAAHSSAO.js +0 -3
  147. package/dist/components/image-blob-reduce.esm.js +0 -1429
  148. package/dist/components/image.js +0 -17
  149. package/dist/components/info-J43DQDTF.js +0 -3
  150. package/dist/components/infoDiagram-5YYISTIA.js +0 -26
  151. package/dist/components/ini.js +0 -88
  152. package/dist/components/init.js +0 -15
  153. package/dist/components/ishikawaDiagram-YF4QCWOH.js +0 -718
  154. package/dist/components/it-IT-JPQ66NNP.js +0 -523
  155. package/dist/components/ja-JP-DBVTYXUO.js +0 -523
  156. package/dist/components/java.js +0 -169
  157. package/dist/components/javascript.js +0 -436
  158. package/dist/components/journeyDiagram-JHISSGLW.js +0 -885
  159. package/dist/components/json.js +0 -36
  160. package/dist/components/jszip.min.js +0 -3033
  161. package/dist/components/kaa-6HZHGXH3.js +0 -523
  162. package/dist/components/kab-KAB-ZGHBKWFO.js +0 -523
  163. package/dist/components/kanban-definition-UN3LZRKU.js +0 -986
  164. package/dist/components/katex.js +0 -21979
  165. package/dist/components/kk-KZ-P5N5QNE5.js +0 -523
  166. package/dist/components/km-KH-HSX4SM5Z.js +0 -523
  167. package/dist/components/ko-KR-MTYHY66A.js +0 -523
  168. package/dist/components/ku-TR-6OUDTVRD.js +0 -523
  169. package/dist/components/lib.js +0 -4877
  170. package/dist/components/libarchive.js +0 -360
  171. package/dist/components/linear.js +0 -289
  172. package/dist/components/lt-LT-XHIRWOB4.js +0 -523
  173. package/dist/components/lv-LV-5QDEKY6T.js +0 -523
  174. package/dist/components/markdown.js +0 -181
  175. package/dist/components/md.js +0 -17
  176. package/dist/components/mermaid-parser.core.js +0 -328
  177. package/dist/components/mindmap-definition-RKZ34NQL.js +0 -1016
  178. package/dist/components/model.js +0 -21
  179. package/dist/components/mp4.js +0 -12
  180. package/dist/components/mr-IN-CRQNXWMA.js +0 -523
  181. package/dist/components/my-MM-5M5IBNSE.js +0 -523
  182. package/dist/components/nb-NO-T6EIAALU.js +0 -523
  183. package/dist/components/nestedRender.js +0 -158
  184. package/dist/components/nl-NL-IS3SIHDZ.js +0 -523
  185. package/dist/components/nn-NO-6E72VCQL.js +0 -523
  186. package/dist/components/objectSpread2.js +0 -29
  187. package/dist/components/objectWithoutProperties.js +0 -28
  188. package/dist/components/oc-FR-POXYY2M6.js +0 -523
  189. package/dist/components/ofd.js +0 -5261
  190. package/dist/components/ofd2.js +0 -16
  191. package/dist/components/ordinal.js +0 -65
  192. package/dist/components/pa-IN-N4M65BXN.js +0 -523
  193. package/dist/components/packet-YPE3B663.js +0 -3
  194. package/dist/components/pdf.js +0 -24
  195. package/dist/components/percentages-BXMCSKIN.js +0 -3
  196. package/dist/components/php.js +0 -294
  197. package/dist/components/pica.js +0 -1009
  198. package/dist/components/pie-LRSECV5Y.js +0 -3
  199. package/dist/components/pie.js +0 -47
  200. package/dist/components/pieDiagram-4H26LBE5.js +0 -130
  201. package/dist/components/pl-PL-T2D74RX3.js +0 -523
  202. package/dist/components/postal-mime.js +0 -3146
  203. package/dist/components/pptx.js +0 -15
  204. package/dist/components/printLayout.js +0 -42
  205. package/dist/components/prod.js +0 -21770
  206. package/dist/components/pt-BR-5N22H2LF.js +0 -523
  207. package/dist/components/pt-PT-UZXXM6DQ.js +0 -523
  208. package/dist/components/python.js +0 -238
  209. package/dist/components/quadrantDiagram-W4KKPZXB.js +0 -1988
  210. package/dist/components/radar-GUYGQ44K.js +0 -3
  211. package/dist/components/renderer.js +0 -2
  212. package/dist/components/requirementDiagram-4Y6WPE33.js +0 -2230
  213. package/dist/components/ro-RO-JPDTUUEW.js +0 -523
  214. package/dist/components/rough.esm.js +0 -1355
  215. package/dist/components/roundRect.js +0 -90
  216. package/dist/components/ru-RU-B4JR7IUQ.js +0 -523
  217. package/dist/components/rust.js +0 -169
  218. package/dist/components/sankeyDiagram-5OEKKPKP.js +0 -972
  219. package/dist/components/sequenceDiagram-3UESZ5HK.js +0 -4255
  220. package/dist/components/shared.js +0 -175
  221. package/dist/components/shared2.js +0 -4
  222. package/dist/components/si-LK-N5RQ5JYF.js +0 -523
  223. package/dist/components/sk-SK-C5VTKIMK.js +0 -523
  224. package/dist/components/sl-SI-NN7IZMDC.js +0 -523
  225. package/dist/components/sourceLoading.js +0 -134
  226. package/dist/components/sql.js +0 -118
  227. package/dist/components/src.js +0 -2664
  228. package/dist/components/src2.js +0 -10722
  229. package/dist/components/stateDiagram-AJRCARHV.js +0 -217
  230. package/dist/components/stateDiagram-v2-BHNVJYJU.js +0 -27
  231. package/dist/components/subset-shared.chunk.js +0 -3
  232. package/dist/components/subset-worker.chunk.js +0 -21
  233. package/dist/components/sv-SE-XGPEYMSR.js +0 -523
  234. package/dist/components/ta-IN-2NMHFXQM.js +0 -523
  235. package/dist/components/text.js +0 -20
  236. package/dist/components/th-TH-HPSO5L25.js +0 -523
  237. package/dist/components/three.module.js +0 -13134
  238. package/dist/components/time.js +0 -910
  239. package/dist/components/timeline-definition-PNZ67QCA.js +0 -1084
  240. package/dist/components/tr-TR-DEFEU3FU.js +0 -523
  241. package/dist/components/treeView-BLDUP644.js +0 -3
  242. package/dist/components/treemap-LRROVOQU.js +0 -3
  243. package/dist/components/typescript.js +0 -521
  244. package/dist/components/typst.js +0 -25
  245. package/dist/components/uk-UA-QMV73CPH.js +0 -523
  246. package/dist/components/umd.js +0 -16
  247. package/dist/components/use.js +0 -422
  248. package/dist/components/util.js +0 -49
  249. package/dist/components/vennDiagram-CIIHVFJN.js +0 -1880
  250. package/dist/components/vi-VN-M7AON7JQ.js +0 -523
  251. package/dist/components/viewerZoom.js +0 -92
  252. package/dist/components/wardley-L42UT6IY.js +0 -3
  253. package/dist/components/wardleyDiagram-YWT4CUSO.js +0 -656
  254. package/dist/components/wasm-pack-shim.js +0 -1711
  255. package/dist/components/wasm-pack-shim2.js +0 -934
  256. package/dist/components/wasm.js +0 -97
  257. package/dist/components/word.js +0 -3055
  258. package/dist/components/worker-ref.js +0 -16
  259. package/dist/components/xlsx.js +0 -21
  260. package/dist/components/xml.js +0 -166
  261. package/dist/components/xychartDiagram-2RQKCTM6.js +0 -2015
  262. package/dist/components/yaml.js +0 -144
  263. package/dist/components/zh-CN-LNUGB5OW.js +0 -523
  264. package/dist/components/zh-HK-E62DVLB3.js +0 -523
  265. package/dist/components/zh-TW-RAJ6MFWO.js +0 -523
  266. package/dist/index.mjs +0 -3293
  267. package/dist/src/App.vue.d.ts +0 -3
  268. package/dist/src/compare/CompareApp.vue.d.ts +0 -3
  269. package/dist/src/compare/main.d.ts +0 -0
  270. package/dist/src/compare/useSynchronizedScroll.d.ts +0 -7
  271. package/dist/src/components/HelloWorld.vue.d.ts +0 -3
  272. package/dist/src/components/utils.d.ts +0 -4
  273. package/dist/src/main.d.ts +0 -0
  274. package/dist/src/package/common/printCapability.d.ts +0 -27
  275. package/dist/src/package/common/printLayout.d.ts +0 -16
  276. package/dist/src/package/common/sourceLoading.d.ts +0 -10
  277. package/dist/src/package/common/type.d.ts +0 -544
  278. package/dist/src/package/common/util.d.ts +0 -5
  279. package/dist/src/package/common/worker-ref.d.ts +0 -12
  280. package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +0 -75
  281. package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +0 -9
  282. package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +0 -29
  283. package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +0 -21
  284. package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +0 -8
  285. package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +0 -34
  286. package/dist/src/package/components/FileViewer/index.d.ts +0 -2
  287. package/dist/src/package/components/FileViewer/util.d.ts +0 -3
  288. package/dist/src/package/index.d.ts +0 -22
  289. package/dist/src/package/use/documentLocation.d.ts +0 -15
  290. package/dist/src/package/use/documentSearch.d.ts +0 -234
  291. package/dist/src/package/use/index.d.ts +0 -5
  292. package/dist/src/package/use/loading.d.ts +0 -33
  293. package/dist/src/package/use/viewerZoom.d.ts +0 -42
  294. package/dist/src/package/use/worker.d.ts +0 -24
  295. package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +0 -9
  296. package/dist/src/package/vendors/archive/cache.d.ts +0 -10
  297. package/dist/src/package/vendors/archive/fallback.d.ts +0 -9
  298. package/dist/src/package/vendors/archive/index.d.ts +0 -3
  299. package/dist/src/package/vendors/archive/shared.d.ts +0 -24
  300. package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +0 -7
  301. package/dist/src/package/vendors/audio/index.d.ts +0 -7
  302. package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +0 -9
  303. package/dist/src/package/vendors/cad/index.d.ts +0 -8
  304. package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +0 -15
  305. package/dist/src/package/vendors/drawing/index.d.ts +0 -7
  306. package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +0 -6
  307. package/dist/src/package/vendors/ebook/index.d.ts +0 -7
  308. package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +0 -8
  309. package/dist/src/package/vendors/eda/index.d.ts +0 -2
  310. package/dist/src/package/vendors/eda/parser.d.ts +0 -77
  311. package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +0 -10
  312. package/dist/src/package/vendors/email/index.d.ts +0 -2
  313. package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +0 -6
  314. package/dist/src/package/vendors/image/index.d.ts +0 -4
  315. package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +0 -6
  316. package/dist/src/package/vendors/md/index.d.ts +0 -4
  317. package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +0 -8
  318. package/dist/src/package/vendors/model/index.d.ts +0 -3
  319. package/dist/src/package/vendors/model/shared.d.ts +0 -1
  320. package/dist/src/package/vendors/mp4/index.d.ts +0 -4
  321. package/dist/src/package/vendors/nestedRender.d.ts +0 -10
  322. package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +0 -6
  323. package/dist/src/package/vendors/ofd/index.d.ts +0 -7
  324. package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +0 -10
  325. package/dist/src/package/vendors/pdf/index.d.ts +0 -2
  326. package/dist/src/package/vendors/pdf/worker/index.d.ts +0 -4
  327. package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
  328. package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +0 -9
  329. package/dist/src/package/vendors/pptx/index.d.ts +0 -6
  330. package/dist/src/package/vendors/pptx/options.d.ts +0 -39
  331. package/dist/src/package/vendors/pptx/support/chart.d.ts +0 -4
  332. package/dist/src/package/vendors/pptx/worker/index.d.ts +0 -4
  333. package/dist/src/package/vendors/renders.d.ts +0 -3
  334. package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +0 -7
  335. package/dist/src/package/vendors/text/index.d.ts +0 -10
  336. package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +0 -15
  337. package/dist/src/package/vendors/typst/index.d.ts +0 -8
  338. package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +0 -6
  339. package/dist/src/package/vendors/umd/index.d.ts +0 -7
  340. package/dist/src/package/vendors/umd/parser.d.ts +0 -30
  341. package/dist/src/package/vendors/word/doc.d.ts +0 -5
  342. package/dist/src/package/vendors/word/docx.d.ts +0 -5
  343. package/dist/src/package/vendors/word/docx.worker.d.ts +0 -1
  344. package/dist/src/package/vendors/word/index.d.ts +0 -3
  345. package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +0 -80
  346. package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +0 -25
  347. package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +0 -6
  348. package/dist/src/package/vendors/xlsx/index.d.ts +0 -6
  349. package/dist/src/package/vendors/xlsx/util.d.ts +0 -3
  350. package/dist/src/package/vendors/xlsx/worker/index.d.ts +0 -4
  351. package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +0 -73
  352. package/dist/src/package/vendors/xlsx/worker/sheetjs/color.d.ts +0 -2
  353. package/dist/src/package/vendors/xlsx/worker/sheetjs/index.d.ts +0 -4
  354. package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +0 -1
  355. package/dist/style.css +0 -1
  356. package/dist/wasm/cad/dwfv-render.wasm +0 -0
  357. package/dist/wasm/cad/dwg-worker.js +0 -24
  358. package/dist/wasm/cad/libredwg-web.js +0 -15
  359. package/dist/wasm/cad/libredwg-web.wasm +0 -0
@@ -1,1936 +0,0 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as ee, T as te, U as ne, V as re, W as ie, X as ae, Y as oe, Z as y, _ as b, a as x, b as se, c as ce, d as le, et as S, f as C, g as ue, h as de, i as w, it as fe, j as pe, k as me, l as he, m as ge, n as T, nt as _e, o as E, p as ve, q as ye, r as D, rt as be, s as xe, t as O, tt as k, u as Se, v as Ce, w as we, x as Te, y as Ee, z as A } from "./graphlib.js";
2
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js
3
- var De = /\s/;
4
- function Oe(e) {
5
- for (var t = e.length; t-- && De.test(e.charAt(t)););
6
- return t;
7
- }
8
- //#endregion
9
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
10
- var ke = /^\s+/;
11
- function Ae(e) {
12
- return e && e.slice(0, Oe(e) + 1).replace(ke, "");
13
- }
14
- //#endregion
15
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
16
- var je = NaN, Me = /^[-+]0x[0-9a-f]+$/i, Ne = /^0b[01]+$/i, Pe = /^0o[0-7]+$/i, Fe = parseInt;
17
- function Ie(e) {
18
- if (typeof e == "number") return e;
19
- if (S(e)) return je;
20
- if (y(e)) {
21
- var t = typeof e.valueOf == "function" ? e.valueOf() : e;
22
- e = y(t) ? t + "" : t;
23
- }
24
- if (typeof e != "string") return e === 0 ? e : +e;
25
- e = Ae(e);
26
- var n = Ne.test(e);
27
- return n || Pe.test(e) ? Fe(e.slice(2), n ? 2 : 8) : Me.test(e) ? je : +e;
28
- }
29
- //#endregion
30
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
31
- var Le = Infinity, Re = 17976931348623157e292;
32
- function j(e) {
33
- return e ? (e = Ie(e), e === Le || e === -Le ? (e < 0 ? -1 : 1) * Re : e === e ? e : 0) : e === 0 ? e : 0;
34
- }
35
- //#endregion
36
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js
37
- function ze(e) {
38
- var t = j(e), n = t % 1;
39
- return t === t ? n ? t - n : t : 0;
40
- }
41
- //#endregion
42
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
43
- var Be = Object.create, Ve = function() {
44
- function e() {}
45
- return function(t) {
46
- if (!y(t)) return {};
47
- if (Be) return Be(t);
48
- e.prototype = t;
49
- var n = new e();
50
- return e.prototype = void 0, n;
51
- };
52
- }();
53
- //#endregion
54
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
55
- function He(e, t) {
56
- var n = -1, r = e.length;
57
- for (t || (t = Array(r)); ++n < r;) t[n] = e[n];
58
- return t;
59
- }
60
- //#endregion
61
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
62
- function M(e, t, n) {
63
- t == "__proto__" && ye ? ye(e, t, {
64
- configurable: !0,
65
- enumerable: !0,
66
- value: n,
67
- writable: !0
68
- }) : e[t] = n;
69
- }
70
- //#endregion
71
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
72
- var Ue = Object.prototype.hasOwnProperty;
73
- function N(e, t, n) {
74
- var r = e[t];
75
- (!(Ue.call(e, t) && c(r, n)) || n === void 0 && !(t in e)) && M(e, t, n);
76
- }
77
- //#endregion
78
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
79
- function P(e, t, n, r) {
80
- var i = !n;
81
- n || (n = {});
82
- for (var a = -1, o = t.length; ++a < o;) {
83
- var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
84
- c === void 0 && (c = e[s]), i ? M(n, s, c) : N(n, s, c);
85
- }
86
- return n;
87
- }
88
- //#endregion
89
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
90
- function F(e, t, n) {
91
- if (!y(n)) return !1;
92
- var r = typeof t;
93
- return (r == "number" ? A(n) && ne(t, n.length) : r == "string" && t in n) ? c(n[t], e) : !1;
94
- }
95
- //#endregion
96
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
97
- function We(e) {
98
- return n(function(t, n) {
99
- var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
100
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && F(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
101
- var s = n[r];
102
- s && e(t, s, r, a);
103
- }
104
- return t;
105
- });
106
- }
107
- //#endregion
108
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
109
- function Ge(e) {
110
- var t = [];
111
- if (e != null) for (var n in Object(e)) t.push(n);
112
- return t;
113
- }
114
- //#endregion
115
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
116
- var Ke = Object.prototype.hasOwnProperty;
117
- function qe(e) {
118
- if (!y(e)) return Ge(e);
119
- var t = v(e), n = [];
120
- for (var r in e) r == "constructor" && (t || !Ke.call(e, r)) || n.push(r);
121
- return n;
122
- }
123
- //#endregion
124
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
125
- function I(e) {
126
- return A(e) ? p(e, !0) : qe(e);
127
- }
128
- //#endregion
129
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/flatten.js
130
- function L(e) {
131
- return e != null && e.length ? r(e, 1) : [];
132
- }
133
- //#endregion
134
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js
135
- function Je(e) {
136
- return d(re(e, void 0, L), e + "");
137
- }
138
- //#endregion
139
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
140
- var Ye = pe(Object.getPrototypeOf, Object), Xe = "[object Object]", Ze = Function.prototype, Qe = Object.prototype, $e = Ze.toString, et = Qe.hasOwnProperty, tt = $e.call(Object);
141
- function nt(e) {
142
- if (!k(e) || _e(e) != Xe) return !1;
143
- var t = Ye(e);
144
- if (t === null) return !0;
145
- var n = et.call(t, "constructor") && t.constructor;
146
- return typeof n == "function" && n instanceof n && $e.call(n) == tt;
147
- }
148
- //#endregion
149
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasUnicode.js
150
- var rt = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
151
- function it(e) {
152
- return rt.test(e);
153
- }
154
- //#endregion
155
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js
156
- function at(e, t) {
157
- return e && P(t, me(t), e);
158
- }
159
- //#endregion
160
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js
161
- function ot(e, t) {
162
- return e && P(t, I(t), e);
163
- }
164
- //#endregion
165
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
166
- var st = typeof exports == "object" && exports && !exports.nodeType && exports, ct = st && typeof module == "object" && module && !module.nodeType && module, lt = ct && ct.exports === st ? fe.Buffer : void 0, ut = lt ? lt.allocUnsafe : void 0;
167
- function dt(e, t) {
168
- if (t) return e.slice();
169
- var n = e.length, r = ut ? ut(n) : new e.constructor(n);
170
- return e.copy(r), r;
171
- }
172
- //#endregion
173
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js
174
- function ft(e, t) {
175
- return P(e, se(e), t);
176
- }
177
- //#endregion
178
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js
179
- var pt = Object.getOwnPropertySymbols ? function(e) {
180
- for (var t = []; e;) we(t, se(e)), e = Ye(e);
181
- return t;
182
- } : Te;
183
- //#endregion
184
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js
185
- function mt(e, t) {
186
- return P(e, pt(e), t);
187
- }
188
- //#endregion
189
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js
190
- function ht(e) {
191
- return Ee(e, I, pt);
192
- }
193
- //#endregion
194
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js
195
- var gt = Object.prototype.hasOwnProperty;
196
- function _t(e) {
197
- var t = e.length, n = new e.constructor(t);
198
- return t && typeof e[0] == "string" && gt.call(e, "index") && (n.index = e.index, n.input = e.input), n;
199
- }
200
- //#endregion
201
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
202
- function vt(e) {
203
- var t = new e.constructor(e.byteLength);
204
- return new ue(t).set(new ue(e)), t;
205
- }
206
- //#endregion
207
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js
208
- function yt(e, t) {
209
- var n = t ? vt(e.buffer) : e.buffer;
210
- return new e.constructor(n, e.byteOffset, e.byteLength);
211
- }
212
- //#endregion
213
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js
214
- var bt = /\w*$/;
215
- function xt(e) {
216
- var t = new e.constructor(e.source, bt.exec(e));
217
- return t.lastIndex = e.lastIndex, t;
218
- }
219
- //#endregion
220
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js
221
- var St = be ? be.prototype : void 0, Ct = St ? St.valueOf : void 0;
222
- function wt(e) {
223
- return Ct ? Object(Ct.call(e)) : {};
224
- }
225
- //#endregion
226
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
227
- function Tt(e, t) {
228
- var n = t ? vt(e.buffer) : e.buffer;
229
- return new e.constructor(n, e.byteOffset, e.length);
230
- }
231
- //#endregion
232
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js
233
- var Et = "[object Boolean]", Dt = "[object Date]", Ot = "[object Map]", kt = "[object Number]", At = "[object RegExp]", jt = "[object Set]", Mt = "[object String]", Nt = "[object Symbol]", Pt = "[object ArrayBuffer]", Ft = "[object DataView]", It = "[object Float32Array]", Lt = "[object Float64Array]", Rt = "[object Int8Array]", zt = "[object Int16Array]", Bt = "[object Int32Array]", Vt = "[object Uint8Array]", Ht = "[object Uint8ClampedArray]", Ut = "[object Uint16Array]", Wt = "[object Uint32Array]";
234
- function Gt(e, t, n) {
235
- var r = e.constructor;
236
- switch (t) {
237
- case Pt: return vt(e);
238
- case Et:
239
- case Dt: return new r(+e);
240
- case Ft: return yt(e, n);
241
- case It:
242
- case Lt:
243
- case Rt:
244
- case zt:
245
- case Bt:
246
- case Vt:
247
- case Ht:
248
- case Ut:
249
- case Wt: return Tt(e, n);
250
- case Ot: return new r();
251
- case kt:
252
- case Mt: return new r(e);
253
- case At: return xt(e);
254
- case jt: return new r();
255
- case Nt: return wt(e);
256
- }
257
- }
258
- //#endregion
259
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
260
- function Kt(e) {
261
- return typeof e.constructor == "function" && !v(e) ? Ve(Ye(e)) : {};
262
- }
263
- //#endregion
264
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js
265
- var qt = "[object Map]";
266
- function Jt(e) {
267
- return k(e) && b(e) == qt;
268
- }
269
- //#endregion
270
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
271
- var Yt = g && g.isMap, Xt = Yt ? o(Yt) : Jt, Zt = "[object Set]";
272
- function Qt(e) {
273
- return k(e) && b(e) == Zt;
274
- }
275
- //#endregion
276
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
277
- var $t = g && g.isSet, en = $t ? o($t) : Qt, tn = 1, nn = 2, rn = 4, an = "[object Arguments]", on = "[object Array]", sn = "[object Boolean]", cn = "[object Date]", ln = "[object Error]", un = "[object Function]", dn = "[object GeneratorFunction]", fn = "[object Map]", pn = "[object Number]", mn = "[object Object]", hn = "[object RegExp]", gn = "[object Set]", _n = "[object String]", vn = "[object Symbol]", yn = "[object WeakMap]", bn = "[object ArrayBuffer]", xn = "[object DataView]", Sn = "[object Float32Array]", Cn = "[object Float64Array]", wn = "[object Int8Array]", Tn = "[object Int16Array]", En = "[object Int32Array]", Dn = "[object Uint8Array]", On = "[object Uint8ClampedArray]", kn = "[object Uint16Array]", An = "[object Uint32Array]", R = {};
278
- R[an] = R[on] = R[bn] = R[xn] = R[sn] = R[cn] = R[Sn] = R[Cn] = R[wn] = R[Tn] = R[En] = R[fn] = R[pn] = R[mn] = R[hn] = R[gn] = R[_n] = R[vn] = R[Dn] = R[On] = R[kn] = R[An] = !0, R[ln] = R[un] = R[yn] = !1;
279
- function z(e, t, n, r, i, a) {
280
- var o, c = t & tn, u = t & nn, d = t & rn;
281
- if (n && (o = i ? n(e, r, i, a) : n(e)), o !== void 0) return o;
282
- if (!y(e)) return e;
283
- var f = _(e);
284
- if (f) {
285
- if (o = _t(e), !c) return He(e, o);
286
- } else {
287
- var p = b(e), m = p == un || p == dn;
288
- if (l(e)) return dt(e, c);
289
- if (p == mn || p == an || m && !i) {
290
- if (o = u || m ? {} : Kt(e), !c) return u ? mt(e, ot(o, e)) : ft(e, at(o, e));
291
- } else {
292
- if (!R[p]) return i ? e : {};
293
- o = Gt(e, p, c);
294
- }
295
- }
296
- a || (a = new ee());
297
- var h = a.get(e);
298
- if (h) return h;
299
- a.set(e, o), en(e) ? e.forEach(function(r) {
300
- o.add(z(r, t, n, r, e, a));
301
- }) : Xt(e) && e.forEach(function(r, i) {
302
- o.set(i, z(r, t, n, i, e, a));
303
- });
304
- var g = f ? void 0 : (d ? u ? ht : Ce : u ? I : me)(e);
305
- return s(g || e, function(r, i) {
306
- g && (i = r, r = e[i]), N(o, i, z(r, t, n, i, e, a));
307
- }), o;
308
- }
309
- //#endregion
310
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
311
- var jn = 1, Mn = 4;
312
- function Nn(e) {
313
- return z(e, jn | Mn);
314
- }
315
- //#endregion
316
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js
317
- var Pn = function() {
318
- return fe.Date.now();
319
- }, Fn = Object.prototype, In = Fn.hasOwnProperty, Ln = n(function(e, t) {
320
- e = Object(e);
321
- var n = -1, r = t.length, i = r > 2 ? t[2] : void 0;
322
- for (i && F(t[0], t[1], i) && (r = 1); ++n < r;) for (var a = t[n], o = I(a), s = -1, l = o.length; ++s < l;) {
323
- var u = o[s], d = e[u];
324
- (d === void 0 || c(d, Fn[u]) && !In.call(e, u)) && (e[u] = a[u]);
325
- }
326
- return e;
327
- });
328
- //#endregion
329
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
330
- function Rn(e, t, n) {
331
- (n !== void 0 && !c(e[t], n) || n === void 0 && !(t in e)) && M(e, t, n);
332
- }
333
- //#endregion
334
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
335
- function zn(e, t) {
336
- if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
337
- }
338
- //#endregion
339
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
340
- function Bn(e) {
341
- return P(e, I(e));
342
- }
343
- //#endregion
344
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
345
- function Vn(e, t, n, r, i, a, o) {
346
- var s = zn(e, n), c = zn(t, n), u = o.get(c);
347
- if (u) {
348
- Rn(e, n, u);
349
- return;
350
- }
351
- var d = a ? a(s, c, n + "", e, t, o) : void 0, p = d === void 0;
352
- if (p) {
353
- var h = _(c), g = !h && l(c), v = !h && !g && m(c);
354
- d = c, h || g || v ? _(s) ? d = s : ce(s) ? d = He(s) : g ? (p = !1, d = dt(c, !0)) : v ? (p = !1, d = Tt(c, !0)) : d = [] : nt(c) || f(c) ? (d = s, f(s) ? d = Bn(s) : (!y(s) || oe(s)) && (d = Kt(c))) : p = !1;
355
- }
356
- p && (o.set(c, d), i(d, c, r, a, o), o.delete(c)), Rn(e, n, d);
357
- }
358
- //#endregion
359
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
360
- function Hn(e, t, n, r, i) {
361
- e !== t && le(t, function(a, o) {
362
- if (i || (i = new ee()), y(a)) Vn(e, t, o, n, Hn, r, i);
363
- else {
364
- var s = r ? r(zn(e, o), a, o + "", e, t, i) : void 0;
365
- s === void 0 && (s = a), Rn(e, o, s);
366
- }
367
- }, I);
368
- }
369
- //#endregion
370
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/last.js
371
- function B(e) {
372
- var t = e == null ? 0 : e.length;
373
- return t ? e[t - 1] : void 0;
374
- }
375
- //#endregion
376
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js
377
- function Un(e) {
378
- return function(t, n, r) {
379
- var i = Object(t);
380
- if (!A(t)) {
381
- var a = C(n, 3);
382
- t = me(t), n = function(e) {
383
- return a(i[e], e, i);
384
- };
385
- }
386
- var o = e(t, n, r);
387
- return o > -1 ? i[a ? t[o] : o] : void 0;
388
- };
389
- }
390
- //#endregion
391
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js
392
- var Wn = Math.max;
393
- function Gn(e, t, n) {
394
- var r = e == null ? 0 : e.length;
395
- if (!r) return -1;
396
- var i = n == null ? 0 : ze(n);
397
- return i < 0 && (i = Wn(r + i, 0)), ie(e, C(t, 3), i);
398
- }
399
- //#endregion
400
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/find.js
401
- var Kn = Un(Gn);
402
- //#endregion
403
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js
404
- function qn(e, t) {
405
- var n = -1, r = A(e) ? Array(e.length) : [];
406
- return he(e, function(e, i, a) {
407
- r[++n] = t(e, i, a);
408
- }), r;
409
- }
410
- //#endregion
411
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/map.js
412
- function V(t, n) {
413
- return (_(t) ? e : qn)(t, C(n, 3));
414
- }
415
- //#endregion
416
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/forIn.js
417
- function Jn(e, t) {
418
- return e == null ? e : le(e, xe(t), I);
419
- }
420
- //#endregion
421
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/forOwn.js
422
- function Yn(e, t) {
423
- return e && Se(e, xe(t));
424
- }
425
- //#endregion
426
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js
427
- function Xn(e, t) {
428
- return e > t;
429
- }
430
- //#endregion
431
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHas.js
432
- var Zn = Object.prototype.hasOwnProperty;
433
- function Qn(e, t) {
434
- return e != null && Zn.call(e, t);
435
- }
436
- //#endregion
437
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/has.js
438
- function $n(e, t) {
439
- return e != null && de(e, t, Qn);
440
- }
441
- //#endregion
442
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isString.js
443
- var er = "[object String]";
444
- function tr(e) {
445
- return typeof e == "string" || !_(e) && k(e) && _e(e) == er;
446
- }
447
- //#endregion
448
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseLt.js
449
- function nr(e, t) {
450
- return e < t;
451
- }
452
- //#endregion
453
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mapValues.js
454
- function H(e, t) {
455
- var n = {};
456
- return t = C(t, 3), Se(e, function(e, r, i) {
457
- M(n, r, t(e, r, i));
458
- }), n;
459
- }
460
- //#endregion
461
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js
462
- function rr(e, t, n) {
463
- for (var r = -1, i = e.length; ++r < i;) {
464
- var a = e[r], o = t(a);
465
- if (o != null && (s === void 0 ? o === o && !S(o) : n(o, s))) var s = o, c = a;
466
- }
467
- return c;
468
- }
469
- //#endregion
470
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/max.js
471
- function U(e) {
472
- return e && e.length ? rr(e, ae, Xn) : void 0;
473
- }
474
- //#endregion
475
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js
476
- var ir = We(function(e, t, n) {
477
- Hn(e, t, n);
478
- });
479
- //#endregion
480
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/min.js
481
- function W(e) {
482
- return e && e.length ? rr(e, ae, nr) : void 0;
483
- }
484
- //#endregion
485
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/minBy.js
486
- function ar(e, t) {
487
- return e && e.length ? rr(e, C(t, 2), nr) : void 0;
488
- }
489
- //#endregion
490
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js
491
- function or(e, t, n, r) {
492
- if (!y(e)) return e;
493
- t = i(t, e);
494
- for (var o = -1, s = t.length, c = s - 1, l = e; l != null && ++o < s;) {
495
- var u = a(t[o]), d = n;
496
- if (u === "__proto__" || u === "constructor" || u === "prototype") return e;
497
- if (o != c) {
498
- var f = l[u];
499
- d = r ? r(f, u, l) : void 0, d === void 0 && (d = y(f) ? f : ne(t[o + 1]) ? [] : {});
500
- }
501
- N(l, u, d), l = l[u];
502
- }
503
- return e;
504
- }
505
- //#endregion
506
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js
507
- function sr(e, t, n) {
508
- for (var r = -1, a = t.length, o = {}; ++r < a;) {
509
- var s = t[r], c = te(e, s);
510
- n(c, s) && or(o, i(s, e), c);
511
- }
512
- return o;
513
- }
514
- //#endregion
515
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSortBy.js
516
- function cr(e, t) {
517
- var n = e.length;
518
- for (e.sort(t); n--;) e[n] = e[n].value;
519
- return e;
520
- }
521
- //#endregion
522
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareAscending.js
523
- function lr(e, t) {
524
- if (e !== t) {
525
- var n = e !== void 0, r = e === null, i = e === e, a = S(e), o = t !== void 0, s = t === null, c = t === t, l = S(t);
526
- if (!s && !l && !a && e > t || a && o && c && !s && !l || r && o && c || !n && c || !i) return 1;
527
- if (!r && !a && !l && e < t || l && n && i && !r && !a || s && n && i || !o && i || !c) return -1;
528
- }
529
- return 0;
530
- }
531
- //#endregion
532
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareMultiple.js
533
- function ur(e, t, n) {
534
- for (var r = -1, i = e.criteria, a = t.criteria, o = i.length, s = n.length; ++r < o;) {
535
- var c = lr(i[r], a[r]);
536
- if (c) return r >= s ? c : c * (n[r] == "desc" ? -1 : 1);
537
- }
538
- return e.index - t.index;
539
- }
540
- //#endregion
541
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseOrderBy.js
542
- function dr(t, n, r) {
543
- n = n.length ? e(n, function(e) {
544
- return _(e) ? function(t) {
545
- return te(t, e.length === 1 ? e[0] : e);
546
- } : e;
547
- }) : [ae];
548
- var i = -1;
549
- return n = e(n, o(C)), cr(qn(t, function(t, r, a) {
550
- return {
551
- criteria: e(n, function(e) {
552
- return e(t);
553
- }),
554
- index: ++i,
555
- value: t
556
- };
557
- }), function(e, t) {
558
- return ur(e, t, r);
559
- });
560
- }
561
- //#endregion
562
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_asciiSize.js
563
- var fr = ve("length"), pr = "\\ud800-\\udfff", mr = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", hr = "\\ufe0e\\ufe0f", gr = "[" + pr + "]", G = "[" + mr + "]", _r = "\\ud83c[\\udffb-\\udfff]", vr = "(?:" + G + "|" + _r + ")", yr = "[^" + pr + "]", br = "(?:\\ud83c[\\udde6-\\uddff]){2}", xr = "[\\ud800-\\udbff][\\udc00-\\udfff]", Sr = "\\u200d", Cr = vr + "?", wr = "[" + hr + "]?", Tr = "(?:" + Sr + "(?:" + [
564
- yr,
565
- br,
566
- xr
567
- ].join("|") + ")" + wr + Cr + ")*", Er = wr + Cr + Tr, Dr = "(?:" + [
568
- yr + G + "?",
569
- G,
570
- br,
571
- xr,
572
- gr
573
- ].join("|") + ")", Or = RegExp(_r + "(?=" + _r + ")|" + Dr + Er, "g");
574
- function kr(e) {
575
- for (var t = Or.lastIndex = 0; Or.test(e);) ++t;
576
- return t;
577
- }
578
- //#endregion
579
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringSize.js
580
- function Ar(e) {
581
- return it(e) ? kr(e) : fr(e);
582
- }
583
- //#endregion
584
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js
585
- function jr(e, t) {
586
- return sr(e, t, function(t, n) {
587
- return ge(e, n);
588
- });
589
- }
590
- //#endregion
591
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/pick.js
592
- var K = Je(function(e, t) {
593
- return e == null ? {} : jr(e, t);
594
- }), Mr = Math.ceil, Nr = Math.max;
595
- function Pr(e, t, n, r) {
596
- for (var i = -1, a = Nr(Mr((t - e) / (n || 1)), 0), o = Array(a); a--;) o[r ? a : ++i] = e, e += n;
597
- return o;
598
- }
599
- //#endregion
600
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createRange.js
601
- function Fr(e) {
602
- return function(t, n, r) {
603
- return r && typeof r != "number" && F(t, n, r) && (n = r = void 0), t = j(t), n === void 0 ? (n = t, t = 0) : n = j(n), r = r === void 0 ? t < n ? 1 : -1 : j(r), Pr(t, n, r, e);
604
- };
605
- }
606
- //#endregion
607
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/range.js
608
- var q = Fr(), Ir = "[object Map]", Lr = "[object Set]";
609
- function Rr(e) {
610
- if (e == null) return 0;
611
- if (A(e)) return tr(e) ? Ar(e) : e.length;
612
- var n = b(e);
613
- return n == Ir || n == Lr ? e.size : t(e).length;
614
- }
615
- //#endregion
616
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/sortBy.js
617
- var J = n(function(e, t) {
618
- if (e == null) return [];
619
- var n = t.length;
620
- return n > 1 && F(e, t[0], t[1]) ? t = [] : n > 2 && F(t[0], t[1], t[2]) && (t = [t[0]]), dr(e, r(t, 1), []);
621
- }), zr = 0;
622
- function Br(e) {
623
- var t = ++zr;
624
- return h(e) + t;
625
- }
626
- //#endregion
627
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseZipObject.js
628
- function Vr(e, t, n) {
629
- for (var r = -1, i = e.length, a = t.length, o = {}; ++r < i;) {
630
- var s = r < a ? t[r] : void 0;
631
- n(o, e[r], s);
632
- }
633
- return o;
634
- }
635
- //#endregion
636
- //#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/zipObject.js
637
- function Hr(e, t) {
638
- return Vr(e || [], t || [], N);
639
- }
640
- //#endregion
641
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/data/list.js
642
- var Ur = class {
643
- constructor() {
644
- var e = {};
645
- e._next = e._prev = e, this._sentinel = e;
646
- }
647
- dequeue() {
648
- var e = this._sentinel, t = e._prev;
649
- if (t !== e) return Wr(t), t;
650
- }
651
- enqueue(e) {
652
- var t = this._sentinel;
653
- e._prev && e._next && Wr(e), e._next = t._next, t._next._prev = e, t._next = e, e._prev = t;
654
- }
655
- toString() {
656
- for (var e = [], t = this._sentinel, n = t._prev; n !== t;) e.push(JSON.stringify(n, Gr)), n = n._prev;
657
- return "[" + e.join(", ") + "]";
658
- }
659
- };
660
- function Wr(e) {
661
- e._prev._next = e._next, e._next._prev = e._prev, delete e._next, delete e._prev;
662
- }
663
- function Gr(e, t) {
664
- if (e !== "_next" && e !== "_prev") return t;
665
- }
666
- //#endregion
667
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/greedy-fas.js
668
- var Kr = u(1);
669
- function qr(e, t) {
670
- if (e.nodeCount() <= 1) return [];
671
- var n = Xr(e, t || Kr);
672
- return L(V(Jr(n.graph, n.buckets, n.zeroIdx), function(t) {
673
- return e.outEdges(t.v, t.w);
674
- }));
675
- }
676
- function Jr(e, t, n) {
677
- for (var r = [], i = t[t.length - 1], a = t[0], o; e.nodeCount();) {
678
- for (; o = a.dequeue();) Yr(e, t, n, o);
679
- for (; o = i.dequeue();) Yr(e, t, n, o);
680
- if (e.nodeCount()) {
681
- for (var s = t.length - 2; s > 0; --s) if (o = t[s].dequeue(), o) {
682
- r = r.concat(Yr(e, t, n, o, !0));
683
- break;
684
- }
685
- }
686
- }
687
- return r;
688
- }
689
- function Yr(e, t, n, r, i) {
690
- var a = i ? [] : void 0;
691
- return E(e.inEdges(r.v), function(r) {
692
- var o = e.edge(r), s = e.node(r.v);
693
- i && a.push({
694
- v: r.v,
695
- w: r.w
696
- }), s.out -= o, Zr(t, n, s);
697
- }), E(e.outEdges(r.v), function(r) {
698
- var i = e.edge(r), a = r.w, o = e.node(a);
699
- o.in -= i, Zr(t, n, o);
700
- }), e.removeNode(r.v), a;
701
- }
702
- function Xr(e, t) {
703
- var n = new O(), r = 0, i = 0;
704
- E(e.nodes(), function(e) {
705
- n.setNode(e, {
706
- v: e,
707
- in: 0,
708
- out: 0
709
- });
710
- }), E(e.edges(), function(e) {
711
- var a = n.edge(e.v, e.w) || 0, o = t(e), s = a + o;
712
- n.setEdge(e.v, e.w, s), i = Math.max(i, n.node(e.v).out += o), r = Math.max(r, n.node(e.w).in += o);
713
- });
714
- var a = q(i + r + 3).map(function() {
715
- return new Ur();
716
- }), o = r + 1;
717
- return E(n.nodes(), function(e) {
718
- Zr(a, o, n.node(e));
719
- }), {
720
- graph: n,
721
- buckets: a,
722
- zeroIdx: o
723
- };
724
- }
725
- function Zr(e, t, n) {
726
- n.out ? n.in ? e[n.out - n.in + t].enqueue(n) : e[e.length - 1].enqueue(n) : e[0].enqueue(n);
727
- }
728
- //#endregion
729
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/acyclic.js
730
- function Qr(e) {
731
- E(e.graph().acyclicer === "greedy" ? qr(e, t(e)) : $r(e), function(t) {
732
- var n = e.edge(t);
733
- e.removeEdge(t), n.forwardName = t.name, n.reversed = !0, e.setEdge(t.w, t.v, n, Br("rev"));
734
- });
735
- function t(e) {
736
- return function(t) {
737
- return e.edge(t).weight;
738
- };
739
- }
740
- }
741
- function $r(e) {
742
- var t = [], n = {}, r = {};
743
- function i(a) {
744
- Object.prototype.hasOwnProperty.call(r, a) || (r[a] = !0, n[a] = !0, E(e.outEdges(a), function(e) {
745
- Object.prototype.hasOwnProperty.call(n, e.w) ? t.push(e) : i(e.w);
746
- }), delete n[a]);
747
- }
748
- return E(e.nodes(), i), t;
749
- }
750
- function ei(e) {
751
- E(e.edges(), function(t) {
752
- var n = e.edge(t);
753
- if (n.reversed) {
754
- e.removeEdge(t);
755
- var r = n.forwardName;
756
- delete n.reversed, delete n.forwardName, e.setEdge(t.w, t.v, n, r);
757
- }
758
- });
759
- }
760
- //#endregion
761
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/util.js
762
- function Y(e, t, n, r) {
763
- var i;
764
- do
765
- i = Br(r);
766
- while (e.hasNode(i));
767
- return n.dummy = t, e.setNode(i, n), i;
768
- }
769
- function ti(e) {
770
- var t = new O().setGraph(e.graph());
771
- return E(e.nodes(), function(n) {
772
- t.setNode(n, e.node(n));
773
- }), E(e.edges(), function(n) {
774
- var r = t.edge(n.v, n.w) || {
775
- weight: 0,
776
- minlen: 1
777
- }, i = e.edge(n);
778
- t.setEdge(n.v, n.w, {
779
- weight: r.weight + i.weight,
780
- minlen: Math.max(r.minlen, i.minlen)
781
- });
782
- }), t;
783
- }
784
- function ni(e) {
785
- var t = new O({ multigraph: e.isMultigraph() }).setGraph(e.graph());
786
- return E(e.nodes(), function(n) {
787
- e.children(n).length || t.setNode(n, e.node(n));
788
- }), E(e.edges(), function(n) {
789
- t.setEdge(n, e.edge(n));
790
- }), t;
791
- }
792
- function ri(e, t) {
793
- var n = e.x, r = e.y, i = t.x - n, a = t.y - r, o = e.width / 2, s = e.height / 2;
794
- if (!i && !a) throw Error("Not possible to find intersection inside of the rectangle");
795
- var c, l;
796
- 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), {
797
- x: n + c,
798
- y: r + l
799
- };
800
- }
801
- function X(e) {
802
- var t = V(q(si(e) + 1), function() {
803
- return [];
804
- });
805
- return E(e.nodes(), function(n) {
806
- var r = e.node(n), i = r.rank;
807
- D(i) || (t[i][r.order] = n);
808
- }), t;
809
- }
810
- function ii(e) {
811
- var t = W(V(e.nodes(), function(t) {
812
- return e.node(t).rank;
813
- }));
814
- E(e.nodes(), function(n) {
815
- var r = e.node(n);
816
- $n(r, "rank") && (r.rank -= t);
817
- });
818
- }
819
- function ai(e) {
820
- var t = W(V(e.nodes(), function(t) {
821
- return e.node(t).rank;
822
- })), n = [];
823
- E(e.nodes(), function(r) {
824
- var i = e.node(r).rank - t;
825
- n[i] || (n[i] = []), n[i].push(r);
826
- });
827
- var r = 0, i = e.graph().nodeRankFactor;
828
- E(n, function(t, n) {
829
- D(t) && n % i !== 0 ? --r : r && E(t, function(t) {
830
- e.node(t).rank += r;
831
- });
832
- });
833
- }
834
- function oi(e, t, n, r) {
835
- var i = {
836
- width: 0,
837
- height: 0
838
- };
839
- return arguments.length >= 4 && (i.rank = n, i.order = r), Y(e, "border", i, t);
840
- }
841
- function si(e) {
842
- return U(V(e.nodes(), function(t) {
843
- var n = e.node(t).rank;
844
- if (!D(n)) return n;
845
- }));
846
- }
847
- function ci(e, t) {
848
- var n = {
849
- lhs: [],
850
- rhs: []
851
- };
852
- return E(e, function(e) {
853
- t(e) ? n.lhs.push(e) : n.rhs.push(e);
854
- }), n;
855
- }
856
- function li(e, t) {
857
- var n = Pn();
858
- try {
859
- return t();
860
- } finally {
861
- console.log(e + " time: " + (Pn() - n) + "ms");
862
- }
863
- }
864
- function ui(e, t) {
865
- return t();
866
- }
867
- //#endregion
868
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/add-border-segments.js
869
- function di(e) {
870
- function t(n) {
871
- var r = e.children(n), i = e.node(n);
872
- if (r.length && E(r, t), Object.prototype.hasOwnProperty.call(i, "minRank")) {
873
- i.borderLeft = [], i.borderRight = [];
874
- for (var a = i.minRank, o = i.maxRank + 1; a < o; ++a) fi(e, "borderLeft", "_bl", n, i, a), fi(e, "borderRight", "_br", n, i, a);
875
- }
876
- }
877
- E(e.children(), t);
878
- }
879
- function fi(e, t, n, r, i, a) {
880
- var o = {
881
- width: 0,
882
- height: 0,
883
- rank: a,
884
- borderType: t
885
- }, s = i[t][a - 1], c = Y(e, "border", o, n);
886
- i[t][a] = c, e.setParent(c, r), s && e.setEdge(s, c, { weight: 1 });
887
- }
888
- //#endregion
889
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/coordinate-system.js
890
- function pi(e) {
891
- var t = e.graph().rankdir.toLowerCase();
892
- (t === "lr" || t === "rl") && hi(e);
893
- }
894
- function mi(e) {
895
- var t = e.graph().rankdir.toLowerCase();
896
- (t === "bt" || t === "rl") && _i(e), (t === "lr" || t === "rl") && (yi(e), hi(e));
897
- }
898
- function hi(e) {
899
- E(e.nodes(), function(t) {
900
- gi(e.node(t));
901
- }), E(e.edges(), function(t) {
902
- gi(e.edge(t));
903
- });
904
- }
905
- function gi(e) {
906
- var t = e.width;
907
- e.width = e.height, e.height = t;
908
- }
909
- function _i(e) {
910
- E(e.nodes(), function(t) {
911
- vi(e.node(t));
912
- }), E(e.edges(), function(t) {
913
- var n = e.edge(t);
914
- E(n.points, vi), Object.prototype.hasOwnProperty.call(n, "y") && vi(n);
915
- });
916
- }
917
- function vi(e) {
918
- e.y = -e.y;
919
- }
920
- function yi(e) {
921
- E(e.nodes(), function(t) {
922
- bi(e.node(t));
923
- }), E(e.edges(), function(t) {
924
- var n = e.edge(t);
925
- E(n.points, bi), Object.prototype.hasOwnProperty.call(n, "x") && bi(n);
926
- });
927
- }
928
- function bi(e) {
929
- var t = e.x;
930
- e.x = e.y, e.y = t;
931
- }
932
- //#endregion
933
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/normalize.js
934
- function xi(e) {
935
- e.graph().dummyChains = [], E(e.edges(), function(t) {
936
- Si(e, t);
937
- });
938
- }
939
- function Si(e, t) {
940
- 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;
941
- if (a !== r + 1) {
942
- e.removeEdge(t);
943
- var l = void 0, u, d;
944
- for (d = 0, ++r; r < a; ++d, ++r) s.points = [], l = {
945
- width: 0,
946
- height: 0,
947
- edgeLabel: s,
948
- edgeObj: t,
949
- rank: r
950
- }, u = Y(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;
951
- e.setEdge(n, i, { weight: s.weight }, o);
952
- }
953
- }
954
- function Ci(e) {
955
- E(e.graph().dummyChains, function(t) {
956
- var n = e.node(t), r = n.edgeLabel, i;
957
- for (e.setEdge(n.edgeObj, r); n.dummy;) i = e.successors(t)[0], e.removeNode(t), r.points.push({
958
- x: n.x,
959
- y: n.y
960
- }), 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);
961
- });
962
- }
963
- //#endregion
964
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/rank/util.js
965
- function wi(e) {
966
- var t = {};
967
- function n(r) {
968
- var i = e.node(r);
969
- if (Object.prototype.hasOwnProperty.call(t, r)) return i.rank;
970
- t[r] = !0;
971
- var a = W(V(e.outEdges(r), function(t) {
972
- return n(t.w) - e.edge(t).minlen;
973
- }));
974
- return (a === Infinity || a == null) && (a = 0), i.rank = a;
975
- }
976
- E(e.sources(), n);
977
- }
978
- function Z(e, t) {
979
- return e.node(t.w).rank - e.node(t.v).rank - e.edge(t).minlen;
980
- }
981
- //#endregion
982
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js
983
- function Ti(e) {
984
- var t = new O({ directed: !1 }), n = e.nodes()[0], r = e.nodeCount();
985
- t.setNode(n, {});
986
- for (var i, a; Ei(t, e) < r;) i = Di(t, e), a = t.hasNode(i.v) ? Z(e, i) : -Z(e, i), Oi(t, e, a);
987
- return t;
988
- }
989
- function Ei(e, t) {
990
- function n(r) {
991
- E(t.nodeEdges(r), function(i) {
992
- var a = i.v, o = r === a ? i.w : a;
993
- !e.hasNode(o) && !Z(t, i) && (e.setNode(o, {}), e.setEdge(r, o, {}), n(o));
994
- });
995
- }
996
- return E(e.nodes(), n), e.nodeCount();
997
- }
998
- function Di(e, t) {
999
- return ar(t.edges(), function(n) {
1000
- if (e.hasNode(n.v) !== e.hasNode(n.w)) return Z(t, n);
1001
- });
1002
- }
1003
- function Oi(e, t, n) {
1004
- E(e.nodes(), function(e) {
1005
- t.node(e).rank += n;
1006
- });
1007
- }
1008
- //#endregion
1009
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js
1010
- u(1), u(1), ki.CycleException = Q;
1011
- function ki(e) {
1012
- var t = {}, n = {}, r = [];
1013
- function i(a) {
1014
- if (Object.prototype.hasOwnProperty.call(n, a)) throw new Q();
1015
- Object.prototype.hasOwnProperty.call(t, a) || (n[a] = !0, t[a] = !0, E(e.predecessors(a), i), delete n[a], r.push(a));
1016
- }
1017
- if (E(e.sinks(), i), Rr(t) !== e.nodeCount()) throw new Q();
1018
- return r;
1019
- }
1020
- function Q() {}
1021
- Q.prototype = /* @__PURE__ */ Error();
1022
- //#endregion
1023
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js
1024
- function Ai(e, t, n) {
1025
- _(t) || (t = [t]);
1026
- var r = (e.isDirected() ? e.successors : e.neighbors).bind(e), i = [], a = {};
1027
- return E(t, function(t) {
1028
- if (!e.hasNode(t)) throw Error("Graph does not have node: " + t);
1029
- ji(e, t, n === "post", a, r, i);
1030
- }), i;
1031
- }
1032
- function ji(e, t, n, r, i, a) {
1033
- Object.prototype.hasOwnProperty.call(r, t) || (r[t] = !0, n || a.push(t), E(i(t), function(t) {
1034
- ji(e, t, n, r, i, a);
1035
- }), n && a.push(t));
1036
- }
1037
- //#endregion
1038
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js
1039
- function Mi(e, t) {
1040
- return Ai(e, t, "post");
1041
- }
1042
- //#endregion
1043
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js
1044
- function Ni(e, t) {
1045
- return Ai(e, t, "pre");
1046
- }
1047
- $.initLowLimValues = Li, $.initCutValues = Pi, $.calcCutValue = Ii, $.leaveEdge = zi, $.enterEdge = Bi, $.exchangeEdges = Vi;
1048
- function $(e) {
1049
- e = ti(e), wi(e);
1050
- var t = Ti(e);
1051
- Li(t), Pi(t, e);
1052
- for (var n, r; n = zi(t);) r = Bi(t, e, n), Vi(t, e, n, r);
1053
- }
1054
- function Pi(e, t) {
1055
- var n = Mi(e, e.nodes());
1056
- n = n.slice(0, n.length - 1), E(n, function(n) {
1057
- Fi(e, t, n);
1058
- });
1059
- }
1060
- function Fi(e, t, n) {
1061
- var r = e.node(n).parent;
1062
- e.edge(n, r).cutvalue = Ii(e, t, n);
1063
- }
1064
- function Ii(e, t, n) {
1065
- var r = e.node(n).parent, i = !0, a = t.edge(n, r), o = 0;
1066
- return a || (i = !1, a = t.edge(r, n)), o = a.weight, E(t.nodeEdges(n), function(a) {
1067
- var s = a.v === n, c = s ? a.w : a.v;
1068
- if (c !== r) {
1069
- var l = s === i, u = t.edge(a).weight;
1070
- if (o += l ? u : -u, Ui(e, n, c)) {
1071
- var d = e.edge(n, c).cutvalue;
1072
- o += l ? -d : d;
1073
- }
1074
- }
1075
- }), o;
1076
- }
1077
- function Li(e, t) {
1078
- arguments.length < 2 && (t = e.nodes()[0]), Ri(e, {}, 1, t);
1079
- }
1080
- function Ri(e, t, n, r, i) {
1081
- var a = n, o = e.node(r);
1082
- return t[r] = !0, E(e.neighbors(r), function(i) {
1083
- Object.prototype.hasOwnProperty.call(t, i) || (n = Ri(e, t, n, i, r));
1084
- }), o.low = a, o.lim = n++, i ? o.parent = i : delete o.parent, n;
1085
- }
1086
- function zi(e) {
1087
- return Kn(e.edges(), function(t) {
1088
- return e.edge(t).cutvalue < 0;
1089
- });
1090
- }
1091
- function Bi(e, t, n) {
1092
- var r = n.v, i = n.w;
1093
- t.hasEdge(r, i) || (r = n.w, i = n.v);
1094
- var a = e.node(r), o = e.node(i), s = a, c = !1;
1095
- return a.lim > o.lim && (s = o, c = !0), ar(x(t.edges(), function(t) {
1096
- return c === Wi(e, e.node(t.v), s) && c !== Wi(e, e.node(t.w), s);
1097
- }), function(e) {
1098
- return Z(t, e);
1099
- });
1100
- }
1101
- function Vi(e, t, n, r) {
1102
- var i = n.v, a = n.w;
1103
- e.removeEdge(i, a), e.setEdge(r.v, r.w, {}), Li(e), Pi(e, t), Hi(e, t);
1104
- }
1105
- function Hi(e, t) {
1106
- var n = Ni(e, Kn(e.nodes(), function(e) {
1107
- return !t.node(e).parent;
1108
- }));
1109
- n = n.slice(1), E(n, function(n) {
1110
- var r = e.node(n).parent, i = t.edge(n, r), a = !1;
1111
- i || (i = t.edge(r, n), a = !0), t.node(n).rank = t.node(r).rank + (a ? i.minlen : -i.minlen);
1112
- });
1113
- }
1114
- function Ui(e, t, n) {
1115
- return e.hasEdge(t, n);
1116
- }
1117
- function Wi(e, t, n) {
1118
- return n.low <= t.lim && t.lim <= n.lim;
1119
- }
1120
- //#endregion
1121
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/rank/index.js
1122
- function Gi(e) {
1123
- switch (e.graph().ranker) {
1124
- case "network-simplex":
1125
- Ji(e);
1126
- break;
1127
- case "tight-tree":
1128
- qi(e);
1129
- break;
1130
- case "longest-path":
1131
- Ki(e);
1132
- break;
1133
- default: Ji(e);
1134
- }
1135
- }
1136
- var Ki = wi;
1137
- function qi(e) {
1138
- wi(e), Ti(e);
1139
- }
1140
- function Ji(e) {
1141
- $(e);
1142
- }
1143
- //#endregion
1144
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/nesting-graph.js
1145
- function Yi(e) {
1146
- var t = Y(e, "root", {}, "_root"), n = Zi(e), r = U(w(n)) - 1, i = 2 * r + 1;
1147
- e.graph().nestingRoot = t, E(e.edges(), function(t) {
1148
- e.edge(t).minlen *= i;
1149
- });
1150
- var a = Qi(e) + 1;
1151
- E(e.children(), function(o) {
1152
- Xi(e, t, i, a, r, n, o);
1153
- }), e.graph().nodeRankFactor = i;
1154
- }
1155
- function Xi(e, t, n, r, i, a, o) {
1156
- var s = e.children(o);
1157
- if (!s.length) {
1158
- o !== t && e.setEdge(t, o, {
1159
- weight: 0,
1160
- minlen: n
1161
- });
1162
- return;
1163
- }
1164
- var c = oi(e, "_bt"), l = oi(e, "_bb"), u = e.node(o);
1165
- e.setParent(c, o), u.borderTop = c, e.setParent(l, o), u.borderBottom = l, E(s, function(s) {
1166
- Xi(e, t, n, r, i, a, s);
1167
- var u = e.node(s), d = u.borderTop ? u.borderTop : s, f = u.borderBottom ? u.borderBottom : s, p = u.borderTop ? r : 2 * r, m = d === f ? i - a[o] + 1 : 1;
1168
- e.setEdge(c, d, {
1169
- weight: p,
1170
- minlen: m,
1171
- nestingEdge: !0
1172
- }), e.setEdge(f, l, {
1173
- weight: p,
1174
- minlen: m,
1175
- nestingEdge: !0
1176
- });
1177
- }), e.parent(o) || e.setEdge(t, c, {
1178
- weight: 0,
1179
- minlen: i + a[o]
1180
- });
1181
- }
1182
- function Zi(e) {
1183
- var t = {};
1184
- function n(r, i) {
1185
- var a = e.children(r);
1186
- a && a.length && E(a, function(e) {
1187
- n(e, i + 1);
1188
- }), t[r] = i;
1189
- }
1190
- return E(e.children(), function(e) {
1191
- n(e, 1);
1192
- }), t;
1193
- }
1194
- function Qi(e) {
1195
- return T(e.edges(), function(t, n) {
1196
- return t + e.edge(n).weight;
1197
- }, 0);
1198
- }
1199
- function $i(e) {
1200
- var t = e.graph();
1201
- e.removeNode(t.nestingRoot), delete t.nestingRoot, E(e.edges(), function(t) {
1202
- e.edge(t).nestingEdge && e.removeEdge(t);
1203
- });
1204
- }
1205
- //#endregion
1206
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js
1207
- function ea(e, t, n) {
1208
- var r = {}, i;
1209
- E(n, function(n) {
1210
- for (var a = e.parent(n), o, s; a;) {
1211
- if (o = e.parent(a), o ? (s = r[o], r[o] = a) : (s = i, i = a), s && s !== a) {
1212
- t.setEdge(s, a);
1213
- return;
1214
- }
1215
- a = o;
1216
- }
1217
- });
1218
- }
1219
- //#endregion
1220
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js
1221
- function ta(e, t, n) {
1222
- var r = na(e), i = new O({ compound: !0 }).setGraph({ root: r }).setDefaultNodeLabel(function(t) {
1223
- return e.node(t);
1224
- });
1225
- return E(e.nodes(), function(a) {
1226
- var o = e.node(a), s = e.parent(a);
1227
- (o.rank === t || o.minRank <= t && t <= o.maxRank) && (i.setNode(a), i.setParent(a, s || r), E(e[n](a), function(t) {
1228
- var n = t.v === a ? t.w : t.v, r = i.edge(n, a), o = D(r) ? 0 : r.weight;
1229
- i.setEdge(n, a, { weight: e.edge(t).weight + o });
1230
- }), Object.prototype.hasOwnProperty.call(o, "minRank") && i.setNode(a, {
1231
- borderLeft: o.borderLeft[t],
1232
- borderRight: o.borderRight[t]
1233
- }));
1234
- }), i;
1235
- }
1236
- function na(e) {
1237
- for (var t; e.hasNode(t = Br("_root")););
1238
- return t;
1239
- }
1240
- //#endregion
1241
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/cross-count.js
1242
- function ra(e, t) {
1243
- for (var n = 0, r = 1; r < t.length; ++r) n += ia(e, t[r - 1], t[r]);
1244
- return n;
1245
- }
1246
- function ia(e, t, n) {
1247
- for (var r = Hr(n, V(n, function(e, t) {
1248
- return t;
1249
- })), i = L(V(t, function(t) {
1250
- return J(V(e.outEdges(t), function(t) {
1251
- return {
1252
- pos: r[t.w],
1253
- weight: e.edge(t).weight
1254
- };
1255
- }), "pos");
1256
- })), a = 1; a < n.length;) a <<= 1;
1257
- var o = 2 * a - 1;
1258
- --a;
1259
- var s = V(Array(o), function() {
1260
- return 0;
1261
- }), c = 0;
1262
- return E(i.forEach(function(e) {
1263
- var t = e.pos + a;
1264
- s[t] += e.weight;
1265
- for (var n = 0; t > 0;) t % 2 && (n += s[t + 1]), t = t - 1 >> 1, s[t] += e.weight;
1266
- c += e.weight * n;
1267
- })), c;
1268
- }
1269
- //#endregion
1270
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/init-order.js
1271
- function aa(e) {
1272
- var t = {}, n = x(e.nodes(), function(t) {
1273
- return !e.children(t).length;
1274
- }), r = V(q(U(V(n, function(t) {
1275
- return e.node(t).rank;
1276
- })) + 1), function() {
1277
- return [];
1278
- });
1279
- function i(n) {
1280
- $n(t, n) || (t[n] = !0, r[e.node(n).rank].push(n), E(e.successors(n), i));
1281
- }
1282
- return E(J(n, function(t) {
1283
- return e.node(t).rank;
1284
- }), i), r;
1285
- }
1286
- //#endregion
1287
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/barycenter.js
1288
- function oa(e, t) {
1289
- return V(t, function(t) {
1290
- var n = e.inEdges(t);
1291
- if (n.length) {
1292
- var r = T(n, function(t, n) {
1293
- var r = e.edge(n), i = e.node(n.v);
1294
- return {
1295
- sum: t.sum + r.weight * i.order,
1296
- weight: t.weight + r.weight
1297
- };
1298
- }, {
1299
- sum: 0,
1300
- weight: 0
1301
- });
1302
- return {
1303
- v: t,
1304
- barycenter: r.sum / r.weight,
1305
- weight: r.weight
1306
- };
1307
- } else return { v: t };
1308
- });
1309
- }
1310
- //#endregion
1311
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js
1312
- function sa(e, t) {
1313
- var n = {};
1314
- return E(e, function(e, t) {
1315
- var r = n[e.v] = {
1316
- indegree: 0,
1317
- in: [],
1318
- out: [],
1319
- vs: [e.v],
1320
- i: t
1321
- };
1322
- D(e.barycenter) || (r.barycenter = e.barycenter, r.weight = e.weight);
1323
- }), E(t.edges(), function(e) {
1324
- var t = n[e.v], r = n[e.w];
1325
- !D(t) && !D(r) && (r.indegree++, t.out.push(n[e.w]));
1326
- }), ca(x(n, function(e) {
1327
- return !e.indegree;
1328
- }));
1329
- }
1330
- function ca(e) {
1331
- var t = [];
1332
- function n(e) {
1333
- return function(t) {
1334
- t.merged || (D(t.barycenter) || D(e.barycenter) || t.barycenter >= e.barycenter) && la(e, t);
1335
- };
1336
- }
1337
- function r(t) {
1338
- return function(n) {
1339
- n.in.push(t), --n.indegree === 0 && e.push(n);
1340
- };
1341
- }
1342
- for (; e.length;) {
1343
- var i = e.pop();
1344
- t.push(i), E(i.in.reverse(), n(i)), E(i.out, r(i));
1345
- }
1346
- return V(x(t, function(e) {
1347
- return !e.merged;
1348
- }), function(e) {
1349
- return K(e, [
1350
- "vs",
1351
- "i",
1352
- "barycenter",
1353
- "weight"
1354
- ]);
1355
- });
1356
- }
1357
- function la(e, t) {
1358
- var n = 0, r = 0;
1359
- 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;
1360
- }
1361
- //#endregion
1362
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/sort.js
1363
- function ua(e, t) {
1364
- var n = ci(e, function(e) {
1365
- return Object.prototype.hasOwnProperty.call(e, "barycenter");
1366
- }), r = n.lhs, i = J(n.rhs, function(e) {
1367
- return -e.i;
1368
- }), a = [], o = 0, s = 0, c = 0;
1369
- r.sort(fa(!!t)), c = da(a, i, c), E(r, function(e) {
1370
- c += e.vs.length, a.push(e.vs), o += e.barycenter * e.weight, s += e.weight, c = da(a, i, c);
1371
- });
1372
- var l = { vs: L(a) };
1373
- return s && (l.barycenter = o / s, l.weight = s), l;
1374
- }
1375
- function da(e, t, n) {
1376
- for (var r; t.length && (r = B(t)).i <= n;) t.pop(), e.push(r.vs), n++;
1377
- return n;
1378
- }
1379
- function fa(e) {
1380
- return function(t, n) {
1381
- return t.barycenter < n.barycenter ? -1 : t.barycenter > n.barycenter ? 1 : e ? n.i - t.i : t.i - n.i;
1382
- };
1383
- }
1384
- //#endregion
1385
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js
1386
- function pa(e, t, n, r) {
1387
- var i = e.children(t), a = e.node(t), o = a ? a.borderLeft : void 0, s = a ? a.borderRight : void 0, c = {};
1388
- o && (i = x(i, function(e) {
1389
- return e !== o && e !== s;
1390
- }));
1391
- var l = oa(e, i);
1392
- E(l, function(t) {
1393
- if (e.children(t.v).length) {
1394
- var i = pa(e, t.v, n, r);
1395
- c[t.v] = i, Object.prototype.hasOwnProperty.call(i, "barycenter") && ha(t, i);
1396
- }
1397
- });
1398
- var u = sa(l, n);
1399
- ma(u, c);
1400
- var d = ua(u, r);
1401
- if (o && (d.vs = L([
1402
- o,
1403
- d.vs,
1404
- s
1405
- ]), e.predecessors(o).length)) {
1406
- var f = e.node(e.predecessors(o)[0]), p = e.node(e.predecessors(s)[0]);
1407
- Object.prototype.hasOwnProperty.call(d, "barycenter") || (d.barycenter = 0, d.weight = 0), d.barycenter = (d.barycenter * d.weight + f.order + p.order) / (d.weight + 2), d.weight += 2;
1408
- }
1409
- return d;
1410
- }
1411
- function ma(e, t) {
1412
- E(e, function(e) {
1413
- e.vs = L(e.vs.map(function(e) {
1414
- return t[e] ? t[e].vs : e;
1415
- }));
1416
- });
1417
- }
1418
- function ha(e, t) {
1419
- D(e.barycenter) ? (e.barycenter = t.barycenter, e.weight = t.weight) : (e.barycenter = (e.barycenter * e.weight + t.barycenter * t.weight) / (e.weight + t.weight), e.weight += t.weight);
1420
- }
1421
- //#endregion
1422
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/order/index.js
1423
- function ga(e) {
1424
- var t = si(e), n = _a(e, q(1, t + 1), "inEdges"), r = _a(e, q(t - 1, -1, -1), "outEdges"), i = aa(e);
1425
- ya(e, i);
1426
- for (var a = Infinity, o, s = 0, c = 0; c < 4; ++s, ++c) {
1427
- va(s % 2 ? n : r, s % 4 >= 2), i = X(e);
1428
- var l = ra(e, i);
1429
- l < a && (c = 0, o = Nn(i), a = l);
1430
- }
1431
- ya(e, o);
1432
- }
1433
- function _a(e, t, n) {
1434
- return V(t, function(t) {
1435
- return ta(e, t, n);
1436
- });
1437
- }
1438
- function va(e, t) {
1439
- var n = new O();
1440
- E(e, function(e) {
1441
- var r = e.graph().root, i = pa(e, r, n, t);
1442
- E(i.vs, function(t, n) {
1443
- e.node(t).order = n;
1444
- }), ea(e, n, i.vs);
1445
- });
1446
- }
1447
- function ya(e, t) {
1448
- E(t, function(t) {
1449
- E(t, function(t, n) {
1450
- e.node(t).order = n;
1451
- });
1452
- });
1453
- }
1454
- //#endregion
1455
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js
1456
- function ba(e) {
1457
- var t = Sa(e);
1458
- E(e.graph().dummyChains, function(n) {
1459
- for (var r = e.node(n), i = r.edgeObj, a = xa(e, t, i.v, i.w), o = a.path, s = a.lca, c = 0, l = o[c], u = !0; n !== i.w;) {
1460
- if (r = e.node(n), u) {
1461
- for (; (l = o[c]) !== s && e.node(l).maxRank < r.rank;) c++;
1462
- l === s && (u = !1);
1463
- }
1464
- if (!u) {
1465
- for (; c < o.length - 1 && e.node(l = o[c + 1]).minRank <= r.rank;) c++;
1466
- l = o[c];
1467
- }
1468
- e.setParent(n, l), n = e.successors(n)[0];
1469
- }
1470
- });
1471
- }
1472
- function xa(e, t, n, r) {
1473
- var i = [], a = [], o = Math.min(t[n].low, t[r].low), s = Math.max(t[n].lim, t[r].lim), c = n, l;
1474
- do
1475
- c = e.parent(c), i.push(c);
1476
- while (c && (t[c].low > o || s > t[c].lim));
1477
- for (l = c, c = r; (c = e.parent(c)) !== l;) a.push(c);
1478
- return {
1479
- path: i.concat(a.reverse()),
1480
- lca: l
1481
- };
1482
- }
1483
- function Sa(e) {
1484
- var t = {}, n = 0;
1485
- function r(i) {
1486
- var a = n;
1487
- E(e.children(i), r), t[i] = {
1488
- low: a,
1489
- lim: n++
1490
- };
1491
- }
1492
- return E(e.children(), r), t;
1493
- }
1494
- //#endregion
1495
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/position/bk.js
1496
- function Ca(e, t) {
1497
- var n = {};
1498
- function r(t, r) {
1499
- var i = 0, a = 0, o = t.length, s = B(r);
1500
- return E(r, function(t, c) {
1501
- var l = Ta(e, t), u = l ? e.node(l).order : o;
1502
- (l || t === s) && (E(r.slice(a, c + 1), function(t) {
1503
- E(e.predecessors(t), function(r) {
1504
- var a = e.node(r), o = a.order;
1505
- (o < i || u < o) && !(a.dummy && e.node(t).dummy) && Ea(n, r, t);
1506
- });
1507
- }), a = c + 1, i = u);
1508
- }), r;
1509
- }
1510
- return T(t, r), n;
1511
- }
1512
- function wa(e, t) {
1513
- var n = {};
1514
- function r(t, r, i, a, o) {
1515
- var s;
1516
- E(q(r, i), function(r) {
1517
- s = t[r], e.node(s).dummy && E(e.predecessors(s), function(t) {
1518
- var r = e.node(t);
1519
- r.dummy && (r.order < a || r.order > o) && Ea(n, t, s);
1520
- });
1521
- });
1522
- }
1523
- function i(t, n) {
1524
- var i = -1, a, o = 0;
1525
- return E(n, function(s, c) {
1526
- if (e.node(s).dummy === "border") {
1527
- var l = e.predecessors(s);
1528
- l.length && (a = e.node(l[0]).order, r(n, o, c, i, a), o = c, i = a);
1529
- }
1530
- r(n, o, n.length, a, t.length);
1531
- }), n;
1532
- }
1533
- return T(t, i), n;
1534
- }
1535
- function Ta(e, t) {
1536
- if (e.node(t).dummy) return Kn(e.predecessors(t), function(t) {
1537
- return e.node(t).dummy;
1538
- });
1539
- }
1540
- function Ea(e, t, n) {
1541
- if (t > n) {
1542
- var r = t;
1543
- t = n, n = r;
1544
- }
1545
- Object.prototype.hasOwnProperty.call(e, t) || Object.defineProperty(e, t, {
1546
- enumerable: !0,
1547
- configurable: !0,
1548
- value: {},
1549
- writable: !0
1550
- });
1551
- var i = e[t];
1552
- Object.defineProperty(i, n, {
1553
- enumerable: !0,
1554
- configurable: !0,
1555
- value: !0,
1556
- writable: !0
1557
- });
1558
- }
1559
- function Da(e, t, n) {
1560
- if (t > n) {
1561
- var r = t;
1562
- t = n, n = r;
1563
- }
1564
- return !!e[t] && Object.prototype.hasOwnProperty.call(e[t], n);
1565
- }
1566
- function Oa(e, t, n, r) {
1567
- var i = {}, a = {}, o = {};
1568
- return E(t, function(e) {
1569
- E(e, function(e, t) {
1570
- i[e] = e, a[e] = e, o[e] = t;
1571
- });
1572
- }), E(t, function(e) {
1573
- var t = -1;
1574
- E(e, function(e) {
1575
- var s = r(e);
1576
- if (s.length) {
1577
- s = J(s, function(e) {
1578
- return o[e];
1579
- });
1580
- for (var c = (s.length - 1) / 2, l = Math.floor(c), u = Math.ceil(c); l <= u; ++l) {
1581
- var d = s[l];
1582
- a[e] === e && t < o[d] && !Da(n, e, d) && (a[d] = e, a[e] = i[e] = i[d], t = o[d]);
1583
- }
1584
- }
1585
- });
1586
- }), {
1587
- root: i,
1588
- align: a
1589
- };
1590
- }
1591
- function ka(e, t, n, r, i) {
1592
- var a = {}, o = Aa(e, t, n, i), s = i ? "borderLeft" : "borderRight";
1593
- function c(e, t) {
1594
- for (var n = o.nodes(), r = n.pop(), i = {}; r;) i[r] ? e(r) : (i[r] = !0, n.push(r), n = n.concat(t(r))), r = n.pop();
1595
- }
1596
- function l(e) {
1597
- a[e] = o.inEdges(e).reduce(function(e, t) {
1598
- return Math.max(e, a[t.v] + o.edge(t));
1599
- }, 0);
1600
- }
1601
- function u(t) {
1602
- var n = o.outEdges(t).reduce(function(e, t) {
1603
- return Math.min(e, a[t.w] - o.edge(t));
1604
- }, Infinity), r = e.node(t);
1605
- n !== Infinity && r.borderType !== s && (a[t] = Math.max(a[t], n));
1606
- }
1607
- return c(l, o.predecessors.bind(o)), c(u, o.successors.bind(o)), E(r, function(e) {
1608
- a[e] = a[n[e]];
1609
- }), a;
1610
- }
1611
- function Aa(e, t, n, r) {
1612
- var i = new O(), a = e.graph(), o = Fa(a.nodesep, a.edgesep, r);
1613
- return E(t, function(t) {
1614
- var r;
1615
- E(t, function(t) {
1616
- var a = n[t];
1617
- if (i.setNode(a), r) {
1618
- var s = n[r], c = i.edge(s, a);
1619
- i.setEdge(s, a, Math.max(o(e, t, r), c || 0));
1620
- }
1621
- r = t;
1622
- });
1623
- }), i;
1624
- }
1625
- function ja(e, t) {
1626
- return ar(w(t), function(t) {
1627
- var n = -Infinity, r = Infinity;
1628
- return Jn(t, function(t, i) {
1629
- var a = Ia(e, i) / 2;
1630
- n = Math.max(t + a, n), r = Math.min(t - a, r);
1631
- }), n - r;
1632
- });
1633
- }
1634
- function Ma(e, t) {
1635
- var n = w(t), r = W(n), i = U(n);
1636
- E(["u", "d"], function(n) {
1637
- E(["l", "r"], function(a) {
1638
- var o = n + a, s = e[o], c;
1639
- if (s !== t) {
1640
- var l = w(s);
1641
- c = a === "l" ? r - W(l) : i - U(l), c && (e[o] = H(s, function(e) {
1642
- return e + c;
1643
- }));
1644
- }
1645
- });
1646
- });
1647
- }
1648
- function Na(e, t) {
1649
- return H(e.ul, function(n, r) {
1650
- if (t) return e[t.toLowerCase()][r];
1651
- var i = J(V(e, r));
1652
- return (i[1] + i[2]) / 2;
1653
- });
1654
- }
1655
- function Pa(e) {
1656
- var t = X(e), n = ir(Ca(e, t), wa(e, t)), r = {}, i;
1657
- return E(["u", "d"], function(a) {
1658
- i = a === "u" ? t : w(t).reverse(), E(["l", "r"], function(t) {
1659
- t === "r" && (i = V(i, function(e) {
1660
- return w(e).reverse();
1661
- }));
1662
- var o = (a === "u" ? e.predecessors : e.successors).bind(e), s = Oa(e, i, n, o), c = ka(e, i, s.root, s.align, t === "r");
1663
- t === "r" && (c = H(c, function(e) {
1664
- return -e;
1665
- })), r[a + t] = c;
1666
- });
1667
- }), Ma(r, ja(e, r)), Na(r, e.graph().align);
1668
- }
1669
- function Fa(e, t, n) {
1670
- return function(r, i, a) {
1671
- var o = r.node(i), s = r.node(a), c = 0, l;
1672
- if (c += o.width / 2, Object.prototype.hasOwnProperty.call(o, "labelpos")) switch (o.labelpos.toLowerCase()) {
1673
- case "l":
1674
- l = -o.width / 2;
1675
- break;
1676
- case "r":
1677
- l = o.width / 2;
1678
- break;
1679
- }
1680
- 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()) {
1681
- case "l":
1682
- l = s.width / 2;
1683
- break;
1684
- case "r":
1685
- l = -s.width / 2;
1686
- break;
1687
- }
1688
- return l && (c += n ? l : -l), l = 0, c;
1689
- };
1690
- }
1691
- function Ia(e, t) {
1692
- return e.node(t).width;
1693
- }
1694
- //#endregion
1695
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/position/index.js
1696
- function La(e) {
1697
- e = ni(e), Ra(e), Yn(Pa(e), function(t, n) {
1698
- e.node(n).x = t;
1699
- });
1700
- }
1701
- function Ra(e) {
1702
- var t = X(e), n = e.graph().ranksep, r = 0;
1703
- E(t, function(t) {
1704
- var i = U(V(t, function(t) {
1705
- return e.node(t).height;
1706
- }));
1707
- E(t, function(t) {
1708
- e.node(t).y = r + i / 2;
1709
- }), r += i + n;
1710
- });
1711
- }
1712
- //#endregion
1713
- //#region node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/dagre/layout.js
1714
- function za(e, t) {
1715
- var n = t && t.debugTiming ? li : ui;
1716
- n("layout", () => {
1717
- var t = n(" buildLayoutGraph", () => Xa(e));
1718
- n(" runLayout", () => Ba(t, n)), n(" updateInputGraph", () => Va(e, t));
1719
- });
1720
- }
1721
- function Ba(e, t) {
1722
- t(" makeSpaceForEdgeLabels", () => Za(e)), t(" removeSelfEdges", () => oo(e)), t(" acyclic", () => Qr(e)), t(" nestingGraph.run", () => Yi(e)), t(" rank", () => Gi(ni(e))), t(" injectEdgeLabelProxies", () => Qa(e)), t(" removeEmptyRanks", () => ai(e)), t(" nestingGraph.cleanup", () => $i(e)), t(" normalizeRanks", () => ii(e)), t(" assignRankMinMax", () => $a(e)), t(" removeEdgeLabelProxies", () => eo(e)), t(" normalize.run", () => xi(e)), t(" parentDummyChains", () => ba(e)), t(" addBorderSegments", () => di(e)), t(" order", () => ga(e)), t(" insertSelfEdges", () => so(e)), t(" adjustCoordinateSystem", () => pi(e)), t(" position", () => La(e)), t(" positionSelfEdges", () => co(e)), t(" removeBorderNodes", () => ao(e)), t(" normalize.undo", () => Ci(e)), t(" fixupEdgeLabelCoords", () => ro(e)), t(" undoCoordinateSystem", () => mi(e)), t(" translateGraph", () => to(e)), t(" assignNodeIntersects", () => no(e)), t(" reversePoints", () => io(e)), t(" acyclic.undo", () => ei(e));
1723
- }
1724
- function Va(e, t) {
1725
- E(e.nodes(), function(n) {
1726
- var r = e.node(n), i = t.node(n);
1727
- r && (r.x = i.x, r.y = i.y, t.children(n).length && (r.width = i.width, r.height = i.height));
1728
- }), E(e.edges(), function(n) {
1729
- var r = e.edge(n), i = t.edge(n);
1730
- r.points = i.points, Object.prototype.hasOwnProperty.call(i, "x") && (r.x = i.x, r.y = i.y);
1731
- }), e.graph().width = t.graph().width, e.graph().height = t.graph().height;
1732
- }
1733
- var Ha = [
1734
- "nodesep",
1735
- "edgesep",
1736
- "ranksep",
1737
- "marginx",
1738
- "marginy"
1739
- ], Ua = {
1740
- ranksep: 50,
1741
- edgesep: 20,
1742
- nodesep: 50,
1743
- rankdir: "tb"
1744
- }, Wa = [
1745
- "acyclicer",
1746
- "ranker",
1747
- "rankdir",
1748
- "align"
1749
- ], Ga = ["width", "height"], Ka = {
1750
- width: 0,
1751
- height: 0
1752
- }, qa = [
1753
- "minlen",
1754
- "weight",
1755
- "width",
1756
- "height",
1757
- "labeloffset"
1758
- ], Ja = {
1759
- minlen: 1,
1760
- weight: 1,
1761
- width: 0,
1762
- height: 0,
1763
- labeloffset: 10,
1764
- labelpos: "r"
1765
- }, Ya = ["labelpos"];
1766
- function Xa(e) {
1767
- var t = new O({
1768
- multigraph: !0,
1769
- compound: !0
1770
- }), n = uo(e.graph());
1771
- return t.setGraph(ir({}, Ua, lo(n, Ha), K(n, Wa))), E(e.nodes(), function(n) {
1772
- var r = uo(e.node(n));
1773
- t.setNode(n, Ln(lo(r, Ga), Ka)), t.setParent(n, e.parent(n));
1774
- }), E(e.edges(), function(n) {
1775
- var r = uo(e.edge(n));
1776
- t.setEdge(n, ir({}, Ja, lo(r, qa), K(r, Ya)));
1777
- }), t;
1778
- }
1779
- function Za(e) {
1780
- var t = e.graph();
1781
- t.ranksep /= 2, E(e.edges(), function(n) {
1782
- var r = e.edge(n);
1783
- r.minlen *= 2, r.labelpos.toLowerCase() !== "c" && (t.rankdir === "TB" || t.rankdir === "BT" ? r.width += r.labeloffset : r.height += r.labeloffset);
1784
- });
1785
- }
1786
- function Qa(e) {
1787
- E(e.edges(), function(t) {
1788
- var n = e.edge(t);
1789
- if (n.width && n.height) {
1790
- var r = e.node(t.v);
1791
- Y(e, "edge-proxy", {
1792
- rank: (e.node(t.w).rank - r.rank) / 2 + r.rank,
1793
- e: t
1794
- }, "_ep");
1795
- }
1796
- });
1797
- }
1798
- function $a(e) {
1799
- var t = 0;
1800
- E(e.nodes(), function(n) {
1801
- var r = e.node(n);
1802
- r.borderTop && (r.minRank = e.node(r.borderTop).rank, r.maxRank = e.node(r.borderBottom).rank, t = U(t, r.maxRank));
1803
- }), e.graph().maxRank = t;
1804
- }
1805
- function eo(e) {
1806
- E(e.nodes(), function(t) {
1807
- var n = e.node(t);
1808
- n.dummy === "edge-proxy" && (e.edge(n.e).labelRank = n.rank, e.removeNode(t));
1809
- });
1810
- }
1811
- function to(e) {
1812
- var t = Infinity, n = 0, r = Infinity, i = 0, a = e.graph(), o = a.marginx || 0, s = a.marginy || 0;
1813
- function c(e) {
1814
- var a = e.x, o = e.y, s = e.width, c = e.height;
1815
- t = Math.min(t, a - s / 2), n = Math.max(n, a + s / 2), r = Math.min(r, o - c / 2), i = Math.max(i, o + c / 2);
1816
- }
1817
- E(e.nodes(), function(t) {
1818
- c(e.node(t));
1819
- }), E(e.edges(), function(t) {
1820
- var n = e.edge(t);
1821
- Object.prototype.hasOwnProperty.call(n, "x") && c(n);
1822
- }), t -= o, r -= s, E(e.nodes(), function(n) {
1823
- var i = e.node(n);
1824
- i.x -= t, i.y -= r;
1825
- }), E(e.edges(), function(n) {
1826
- var i = e.edge(n);
1827
- E(i.points, function(e) {
1828
- e.x -= t, e.y -= r;
1829
- }), Object.prototype.hasOwnProperty.call(i, "x") && (i.x -= t), Object.prototype.hasOwnProperty.call(i, "y") && (i.y -= r);
1830
- }), a.width = n - t + o, a.height = i - r + s;
1831
- }
1832
- function no(e) {
1833
- E(e.edges(), function(t) {
1834
- var n = e.edge(t), r = e.node(t.v), i = e.node(t.w), a, o;
1835
- n.points ? (a = n.points[0], o = n.points[n.points.length - 1]) : (n.points = [], a = i, o = r), n.points.unshift(ri(r, a)), n.points.push(ri(i, o));
1836
- });
1837
- }
1838
- function ro(e) {
1839
- E(e.edges(), function(t) {
1840
- var n = e.edge(t);
1841
- if (Object.prototype.hasOwnProperty.call(n, "x")) switch ((n.labelpos === "l" || n.labelpos === "r") && (n.width -= n.labeloffset), n.labelpos) {
1842
- case "l":
1843
- n.x -= n.width / 2 + n.labeloffset;
1844
- break;
1845
- case "r":
1846
- n.x += n.width / 2 + n.labeloffset;
1847
- break;
1848
- }
1849
- });
1850
- }
1851
- function io(e) {
1852
- E(e.edges(), function(t) {
1853
- var n = e.edge(t);
1854
- n.reversed && n.points.reverse();
1855
- });
1856
- }
1857
- function ao(e) {
1858
- E(e.nodes(), function(t) {
1859
- if (e.children(t).length) {
1860
- var n = e.node(t), r = e.node(n.borderTop), i = e.node(n.borderBottom), a = e.node(B(n.borderLeft)), o = e.node(B(n.borderRight));
1861
- n.width = Math.abs(o.x - a.x), n.height = Math.abs(i.y - r.y), n.x = a.x + n.width / 2, n.y = r.y + n.height / 2;
1862
- }
1863
- }), E(e.nodes(), function(t) {
1864
- e.node(t).dummy === "border" && e.removeNode(t);
1865
- });
1866
- }
1867
- function oo(e) {
1868
- E(e.edges(), function(t) {
1869
- if (t.v === t.w) {
1870
- var n = e.node(t.v);
1871
- n.selfEdges || (n.selfEdges = []), n.selfEdges.push({
1872
- e: t,
1873
- label: e.edge(t)
1874
- }), e.removeEdge(t);
1875
- }
1876
- });
1877
- }
1878
- function so(e) {
1879
- E(X(e), function(t) {
1880
- var n = 0;
1881
- E(t, function(t, r) {
1882
- var i = e.node(t);
1883
- i.order = r + n, E(i.selfEdges, function(t) {
1884
- Y(e, "selfedge", {
1885
- width: t.label.width,
1886
- height: t.label.height,
1887
- rank: i.rank,
1888
- order: r + ++n,
1889
- e: t.e,
1890
- label: t.label
1891
- }, "_se");
1892
- }), delete i.selfEdges;
1893
- });
1894
- });
1895
- }
1896
- function co(e) {
1897
- E(e.nodes(), function(t) {
1898
- var n = e.node(t);
1899
- if (n.dummy === "selfedge") {
1900
- var r = e.node(n.e.v), i = r.x + r.width / 2, a = r.y, o = n.x - i, s = r.height / 2;
1901
- e.setEdge(n.e, n.label), e.removeNode(t), n.label.points = [
1902
- {
1903
- x: i + 2 * o / 3,
1904
- y: a - s
1905
- },
1906
- {
1907
- x: i + 5 * o / 6,
1908
- y: a - s
1909
- },
1910
- {
1911
- x: i + o,
1912
- y: a
1913
- },
1914
- {
1915
- x: i + 5 * o / 6,
1916
- y: a + s
1917
- },
1918
- {
1919
- x: i + 2 * o / 3,
1920
- y: a + s
1921
- }
1922
- ], n.label.x = n.x, n.label.y = n.y;
1923
- }
1924
- });
1925
- }
1926
- function lo(e, t) {
1927
- return H(K(e, t), Number);
1928
- }
1929
- function uo(e) {
1930
- var t = {};
1931
- return E(e, function(e, n) {
1932
- t[n.toLowerCase()] = e;
1933
- }), t;
1934
- }
1935
- //#endregion
1936
- export { V as n, z as r, za as t };