oolong-engine 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) hide show
  1. package/dist/ability/delete/DeleteWorker.d.ts.map +1 -1
  2. package/dist/ability/export/ImageExportDiagnostics.d.ts +32 -0
  3. package/dist/ability/export/ImageExportDiagnostics.d.ts.map +1 -0
  4. package/dist/ability/export/pdf/PdfExportWorker.d.ts +40 -0
  5. package/dist/ability/export/pdf/PdfExportWorker.d.ts.map +1 -0
  6. package/dist/ability/export/pdf/PdfFontLoader.d.ts +2 -0
  7. package/dist/ability/export/pdf/PdfFontLoader.d.ts.map +1 -0
  8. package/dist/ability/formula/FormulaLatexGuard.d.ts +20 -0
  9. package/dist/ability/formula/FormulaLatexGuard.d.ts.map +1 -0
  10. package/dist/ability/formula/LatexToSvg.d.ts +12 -2
  11. package/dist/ability/formula/LatexToSvg.d.ts.map +1 -1
  12. package/dist/ability/formula/index.d.ts +3 -0
  13. package/dist/ability/formula/index.d.ts.map +1 -0
  14. package/dist/ability/index.d.ts +3 -0
  15. package/dist/ability/index.d.ts.map +1 -1
  16. package/dist/ability/moveLayer/MoveLayerWorker.d.ts.map +1 -1
  17. package/dist/ability/resize/WindowResizeWorker.d.ts.map +1 -1
  18. package/dist/ability/svg/CreateSvgWorker.d.ts +3 -0
  19. package/dist/ability/svg/CreateSvgWorker.d.ts.map +1 -1
  20. package/dist/ability/svg/GenSvgBitmapWorker.d.ts.map +1 -1
  21. package/dist/ability/textInput/textFont/AbsTextFontWorker.d.ts.map +1 -1
  22. package/dist/ability/textInput/textFont/TextFontSizeWorker.d.ts.map +1 -1
  23. package/dist/ability/textInput/textParagraphPrefix/TextNormalWorker.d.ts.map +1 -1
  24. package/dist/ability/textInput/textParagraphPrefix/TextOrderWorker.d.ts.map +1 -1
  25. package/dist/ability/textInput/textParagraphPrefix/TextQuoteWorker.d.ts.map +1 -1
  26. package/dist/ability/textInput/textParagraphPrefix/TextUnOrderWorker.d.ts.map +1 -1
  27. package/dist/action/executor/node/TextFocusExecutor.d.ts.map +1 -1
  28. package/dist/action/executor/node/remove/RemoveExecutor.d.ts.map +1 -1
  29. package/dist/action/executor/node/update/UpdateExecutor.d.ts +1 -0
  30. package/dist/action/executor/node/update/UpdateExecutor.d.ts.map +1 -1
  31. package/dist/action/executor/node/update/handler/FormulaPropsHandler.d.ts +1 -0
  32. package/dist/action/executor/node/update/handler/FormulaPropsHandler.d.ts.map +1 -1
  33. package/dist/action/render/RenderManager.d.ts +5 -0
  34. package/dist/action/render/RenderManager.d.ts.map +1 -1
  35. package/dist/app/AppEventContext.d.ts +2 -0
  36. package/dist/app/AppEventContext.d.ts.map +1 -1
  37. package/dist/app/OolongApp.d.ts +2 -3
  38. package/dist/app/OolongApp.d.ts.map +1 -1
  39. package/dist/app/ai-api/module/AINodeAPI.d.ts +132 -11
  40. package/dist/app/ai-api/module/AINodeAPI.d.ts.map +1 -1
  41. package/dist/app/api/OolongAPI.d.ts +16 -0
  42. package/dist/app/api/OolongAPI.d.ts.map +1 -1
  43. package/dist/app/api/module/CopyPasteAPI.d.ts +24 -0
  44. package/dist/app/api/module/CopyPasteAPI.d.ts.map +1 -1
  45. package/dist/app/api/module/CreateAPI.d.ts +19 -1
  46. package/dist/app/api/module/CreateAPI.d.ts.map +1 -1
  47. package/dist/app/api/module/SwitchAPI.d.ts +14 -0
  48. package/dist/app/api/module/SwitchAPI.d.ts.map +1 -1
  49. package/dist/app/api/module/layout/LayoutAPI.d.ts +47 -0
  50. package/dist/app/api/module/layout/LayoutAPI.d.ts.map +1 -0
  51. package/dist/app/api/module/propChange/PropChangeAPI.d.ts +5 -1
  52. package/dist/app/api/module/propChange/PropChangeAPI.d.ts.map +1 -1
  53. package/dist/app/api/module/syntax/SyntaxAPI.d.ts.map +1 -1
  54. package/dist/application/CanvasRender.d.ts +1 -0
  55. package/dist/application/CanvasRender.d.ts.map +1 -1
  56. package/dist/application/GMLRender.d.ts +7 -0
  57. package/dist/application/GMLRender.d.ts.map +1 -1
  58. package/dist/{arc-BQ0RiW53.js → arc-DrRDHoJY.js} +33 -33
  59. package/dist/architecture-PBZL5I3N-DrpT3Sce.js +6 -0
  60. package/dist/{architectureDiagram-2XIMDMQ5-C6ALHSjU.js → architectureDiagram-2XIMDMQ5-DtgIxKYg.js} +4 -4
  61. package/dist/asyncRender/AsyncRenderNodeManager.d.ts.map +1 -1
  62. package/dist/auxiliary/graphics/preview/PreviewGraphics.d.ts.map +1 -1
  63. package/dist/{blockDiagram-WCTKOSBZ-8qV_lgsa.js → blockDiagram-WCTKOSBZ-2drMwn9F.js} +3 -3
  64. package/dist/{c4Diagram-IC4MRINW-BiOZAA9L.js → c4Diagram-IC4MRINW-IILUO9F0.js} +2 -2
  65. package/dist/channel-ElKUO02T.js +5 -0
  66. package/dist/{chunk-4BX2VUAB-C9R2rIjS.js → chunk-4BX2VUAB-Cs54A2y2.js} +1 -1
  67. package/dist/{chunk-55IACEB6-Bp3vChuk.js → chunk-55IACEB6-CKF96ejY.js} +1 -1
  68. package/dist/{chunk-FMBD7UC4-BUMToluv.js → chunk-FMBD7UC4-BXGV26pV.js} +1 -1
  69. package/dist/{chunk-JSJVCQXG-DXXsAt16.js → chunk-JSJVCQXG-Chbc8AwY.js} +1 -1
  70. package/dist/{chunk-KX2RTZJC-DbLmjTNe.js → chunk-KX2RTZJC-BgjxE4ta.js} +1 -1
  71. package/dist/{chunk-NQ4KR5QH-Dd6Ne4x8.js → chunk-NQ4KR5QH-BvBDGkAn.js} +22 -22
  72. package/dist/{chunk-QZHKN3VN-Q3PAlxxo.js → chunk-QZHKN3VN-CxOsS02w.js} +1 -1
  73. package/dist/{chunk-WL4C6EOR-5UEAHDMO.js → chunk-WL4C6EOR-CNlI7mm3.js} +45 -44
  74. package/dist/{classDiagram-VBA2DB6C-BtBSXwO6.js → classDiagram-VBA2DB6C-DT-bXx5o.js} +2 -2
  75. package/dist/{classDiagram-v2-RAHNMMFH-BtBSXwO6.js → classDiagram-v2-RAHNMMFH-DT-bXx5o.js} +2 -2
  76. package/dist/component/canvas/dhp/DHPCanvas.d.ts.map +1 -1
  77. package/dist/{cose-bilkent-S5V4N54A-Cr3kBFLQ.js → cose-bilkent-S5V4N54A-CIl4wNpc.js} +2 -2
  78. package/dist/{dagre-KLK3FWXG-Cx_a9Dpr.js → dagre-KLK3FWXG-M0dQTczl.js} +15 -15
  79. package/dist/{diagram-E7M64L7V-Daamug9n.js → diagram-E7M64L7V-CvJDuRpZ.js} +21 -21
  80. package/dist/{diagram-IFDJBPK2-BUeGzqbs.js → diagram-IFDJBPK2-BXA_3wrS.js} +13 -13
  81. package/dist/{diagram-P4PSJMXO-BeJkYuvS.js → diagram-P4PSJMXO-DXstHM6m.js} +9 -9
  82. package/dist/engine.js +302 -294
  83. package/dist/engine.umd.cjs +757 -462
  84. package/dist/{erDiagram-INFDFZHY-DGuIco1D.js → erDiagram-INFDFZHY-DDsGs479.js} +4 -4
  85. package/dist/{flowDiagram-PKNHOUZH-BMOCC0tz.js → flowDiagram-PKNHOUZH-BOXbHlc6.js} +16 -15
  86. package/dist/{ganttDiagram-A5KZAMGK-D3KHPb6N.js → ganttDiagram-A5KZAMGK-E-oEorI2.js} +98 -98
  87. package/dist/gitGraph-HDMCJU4V-ZLSwKOfI.js +6 -0
  88. package/dist/{gitGraphDiagram-K3NZZRJ6-9uiz_n5o.js → gitGraphDiagram-K3NZZRJ6-D2mgyNkT.js} +4 -4
  89. package/dist/graphics/IDrawer.d.ts +8 -0
  90. package/dist/graphics/IDrawer.d.ts.map +1 -1
  91. package/dist/graphics/OolongNode.d.ts +1 -0
  92. package/dist/graphics/OolongNode.d.ts.map +1 -1
  93. package/dist/graphics/OolongSVGNode.d.ts +1 -0
  94. package/dist/graphics/OolongSVGNode.d.ts.map +1 -1
  95. package/dist/graphics/OolongSection.d.ts +1 -0
  96. package/dist/graphics/OolongSection.d.ts.map +1 -1
  97. package/dist/graphics/drawer/AbsDrawer.d.ts +14 -0
  98. package/dist/graphics/drawer/AbsDrawer.d.ts.map +1 -1
  99. package/dist/graphics/drawer/CloudDrawer.d.ts +1 -0
  100. package/dist/graphics/drawer/CloudDrawer.d.ts.map +1 -1
  101. package/dist/graphics/drawer/CrossDrawer.d.ts +1 -4
  102. package/dist/graphics/drawer/CrossDrawer.d.ts.map +1 -1
  103. package/dist/graphics/drawer/EllipseDrawer.d.ts +1 -0
  104. package/dist/graphics/drawer/EllipseDrawer.d.ts.map +1 -1
  105. package/dist/graphics/drawer/HexagonDrawer.d.ts +1 -4
  106. package/dist/graphics/drawer/HexagonDrawer.d.ts.map +1 -1
  107. package/dist/graphics/drawer/LingxingDrawer.d.ts +2 -4
  108. package/dist/graphics/drawer/LingxingDrawer.d.ts.map +1 -1
  109. package/dist/graphics/drawer/OctagonDrawer.d.ts +1 -4
  110. package/dist/graphics/drawer/OctagonDrawer.d.ts.map +1 -1
  111. package/dist/graphics/drawer/ParallelogramDrawer.d.ts +1 -4
  112. package/dist/graphics/drawer/ParallelogramDrawer.d.ts.map +1 -1
  113. package/dist/graphics/drawer/PentagonDrawer.d.ts +1 -4
  114. package/dist/graphics/drawer/PentagonDrawer.d.ts.map +1 -1
  115. package/dist/graphics/drawer/RectDrawer.d.ts +1 -0
  116. package/dist/graphics/drawer/RectDrawer.d.ts.map +1 -1
  117. package/dist/graphics/drawer/RoundRectDrawer.d.ts +1 -0
  118. package/dist/graphics/drawer/RoundRectDrawer.d.ts.map +1 -1
  119. package/dist/graphics/drawer/StarDrawer.d.ts +1 -4
  120. package/dist/graphics/drawer/StarDrawer.d.ts.map +1 -1
  121. package/dist/graphics/drawer/TrapezoidDrawer.d.ts +1 -4
  122. package/dist/graphics/drawer/TrapezoidDrawer.d.ts.map +1 -1
  123. package/dist/graphics/drawer/TriangleDrawer.d.ts +1 -4
  124. package/dist/graphics/drawer/TriangleDrawer.d.ts.map +1 -1
  125. package/dist/graphics/drawer/chart/EditableDrawer.d.ts +4 -0
  126. package/dist/graphics/drawer/chart/EditableDrawer.d.ts.map +1 -1
  127. package/dist/graphics/drawer/chart/PieDrawer.d.ts +5 -0
  128. package/dist/graphics/drawer/chart/PieDrawer.d.ts.map +1 -1
  129. package/dist/graphics/drawer/chart/RingDrawer.d.ts +6 -0
  130. package/dist/graphics/drawer/chart/RingDrawer.d.ts.map +1 -1
  131. package/dist/graphics/drawer/line/BrokenLineDrawer.d.ts +1 -0
  132. package/dist/graphics/drawer/line/BrokenLineDrawer.d.ts.map +1 -1
  133. package/dist/graphics/drawer/line/CurveDrawer.d.ts +1 -0
  134. package/dist/graphics/drawer/line/CurveDrawer.d.ts.map +1 -1
  135. package/dist/graphics/drawer/line/PolyLineDrawer.d.ts +1 -0
  136. package/dist/graphics/drawer/line/PolyLineDrawer.d.ts.map +1 -1
  137. package/dist/graphics/drawer/line/RoundPolyLineDrawer.d.ts +1 -0
  138. package/dist/graphics/drawer/line/RoundPolyLineDrawer.d.ts.map +1 -1
  139. package/dist/graphics/drawer/line/SimpleLineDrawer.d.ts +1 -0
  140. package/dist/graphics/drawer/line/SimpleLineDrawer.d.ts.map +1 -1
  141. package/dist/graphics/editable/OolongEditableNode.d.ts +1 -0
  142. package/dist/graphics/editable/OolongEditableNode.d.ts.map +1 -1
  143. package/dist/graphics/editable/OolongPieNode.d.ts +3 -0
  144. package/dist/graphics/editable/OolongPieNode.d.ts.map +1 -1
  145. package/dist/graphics/img/AbsImgNode.d.ts +21 -0
  146. package/dist/graphics/img/AbsImgNode.d.ts.map +1 -1
  147. package/dist/graphics/line/OolongLine.d.ts +18 -0
  148. package/dist/graphics/line/OolongLine.d.ts.map +1 -1
  149. package/dist/graphics/line/arrow/AbsArrowDrawer.d.ts +20 -0
  150. package/dist/graphics/line/arrow/AbsArrowDrawer.d.ts.map +1 -1
  151. package/dist/graphics/line/arrow/CircleArrowDrawer.d.ts +1 -0
  152. package/dist/graphics/line/arrow/CircleArrowDrawer.d.ts.map +1 -1
  153. package/dist/graphics/line/arrow/DiamondArrowDrawer.d.ts +1 -0
  154. package/dist/graphics/line/arrow/DiamondArrowDrawer.d.ts.map +1 -1
  155. package/dist/graphics/line/arrow/EmptyCircleArrowDrawer.d.ts +1 -0
  156. package/dist/graphics/line/arrow/EmptyCircleArrowDrawer.d.ts.map +1 -1
  157. package/dist/graphics/line/arrow/EmptyDiamondArrowDrawer.d.ts +1 -0
  158. package/dist/graphics/line/arrow/EmptyDiamondArrowDrawer.d.ts.map +1 -1
  159. package/dist/graphics/line/arrow/EmptyTriangleArrowDrawer.d.ts +1 -0
  160. package/dist/graphics/line/arrow/EmptyTriangleArrowDrawer.d.ts.map +1 -1
  161. package/dist/graphics/line/arrow/SimpleArrowDrawer.d.ts +1 -0
  162. package/dist/graphics/line/arrow/SimpleArrowDrawer.d.ts.map +1 -1
  163. package/dist/graphics/line/arrow/TriangleArrowDrawer.d.ts +1 -0
  164. package/dist/graphics/line/arrow/TriangleArrowDrawer.d.ts.map +1 -1
  165. package/dist/graphics/mathFormula/MathFormula.d.ts +1 -0
  166. package/dist/graphics/mathFormula/MathFormula.d.ts.map +1 -1
  167. package/dist/graphics/node/GraphicNode.d.ts +15 -0
  168. package/dist/graphics/node/GraphicNode.d.ts.map +1 -1
  169. package/dist/graphics/props/FormulaProps.d.ts +4 -0
  170. package/dist/graphics/props/FormulaProps.d.ts.map +1 -1
  171. package/dist/graphics/props/TextProps.d.ts +5 -0
  172. package/dist/graphics/props/TextProps.d.ts.map +1 -1
  173. package/dist/graphics/props/chart/ChartProps.d.ts +7 -0
  174. package/dist/graphics/props/chart/ChartProps.d.ts.map +1 -1
  175. package/dist/graphics/utils/GraphicUtils.d.ts +11 -0
  176. package/dist/graphics/utils/GraphicUtils.d.ts.map +1 -1
  177. package/dist/graphics/utils/SvgUtils.d.ts +39 -0
  178. package/dist/graphics/utils/SvgUtils.d.ts.map +1 -0
  179. package/dist/graphics/widget/checkbox/OolongCheckbox.d.ts +2 -0
  180. package/dist/graphics/widget/checkbox/OolongCheckbox.d.ts.map +1 -1
  181. package/dist/graphics/widget/checkbox/OolongCheckboxText.d.ts +1 -0
  182. package/dist/graphics/widget/checkbox/OolongCheckboxText.d.ts.map +1 -1
  183. package/dist/html2canvas.esm-d2sM-0Wm.js +4870 -0
  184. package/dist/idl/capInfo/IFormulaProps.d.ts +4 -0
  185. package/dist/idl/capInfo/IFormulaProps.d.ts.map +1 -1
  186. package/dist/idl/capInfo/chart/BarInfo.d.ts +6 -0
  187. package/dist/idl/capInfo/chart/BarInfo.d.ts.map +1 -1
  188. package/dist/idl/capInfo/chart/ChartColorConfig.d.ts +4 -0
  189. package/dist/idl/capInfo/chart/ChartColorConfig.d.ts.map +1 -0
  190. package/dist/idl/capInfo/chart/ChartStyleType.d.ts +22 -0
  191. package/dist/idl/capInfo/chart/ChartStyleType.d.ts.map +1 -0
  192. package/dist/idl/capInfo/chart/LineInfo.d.ts +2 -0
  193. package/dist/idl/capInfo/chart/LineInfo.d.ts.map +1 -1
  194. package/dist/idl/capInfo/chart/PieInfo.d.ts +1 -0
  195. package/dist/idl/capInfo/chart/PieInfo.d.ts.map +1 -1
  196. package/dist/idl/capInfo/chart/ScatterInfo.d.ts +2 -0
  197. package/dist/idl/capInfo/chart/ScatterInfo.d.ts.map +1 -1
  198. package/dist/idl/index.d.ts +2 -0
  199. package/dist/idl/index.d.ts.map +1 -1
  200. package/dist/index-Da0ZmfOB.js +57052 -0
  201. package/dist/index.es-DQMVceEW.js +5631 -0
  202. package/dist/info-3K5VOQVL-DTzu5X5P.js +6 -0
  203. package/dist/{infoDiagram-LFFYTUFH-DgiCUqNo.js → infoDiagram-LFFYTUFH-BEV79x5d.js} +2 -2
  204. package/dist/{ishikawaDiagram-PHBUUO56-BAOksr4U.js → ishikawaDiagram-PHBUUO56-DdpItI8Y.js} +27 -27
  205. package/dist/{journeyDiagram-4ABVD52K-CeC4IUKr.js → journeyDiagram-4ABVD52K-Cpv_l6JT.js} +4 -4
  206. package/dist/{kanban-definition-K7BYSVSG-BxvbSGBe.js → kanban-definition-K7BYSVSG-BPDMVLMG.js} +46 -46
  207. package/dist/{mermaid-parser.core-Df9ZUR77.js → mermaid-parser.core-JbKK4JFL.js} +8 -8
  208. package/dist/{mermaid.core-CYBWUA0z.js → mermaid.core-B_sJRZT_.js} +3869 -4418
  209. package/dist/{mindmap-definition-YRQLILUH-DGALSA7L.js → mindmap-definition-YRQLILUH-BY4ynUMx.js} +19 -19
  210. package/dist/packet-RMMSAZCW-DvUMURr1.js +6 -0
  211. package/dist/parse-engine/bar-chart/BarParseEngine.d.ts +4 -0
  212. package/dist/parse-engine/bar-chart/BarParseEngine.d.ts.map +1 -1
  213. package/dist/parse-engine/line-chart/LineParseEngine.d.ts.map +1 -1
  214. package/dist/parse-engine/mermaid/layout-engine/DAGLayoutEngine.d.ts +23 -0
  215. package/dist/parse-engine/mermaid/layout-engine/DAGLayoutEngine.d.ts.map +1 -1
  216. package/dist/parse-engine/pie/PieParseEngine.d.ts +27 -0
  217. package/dist/parse-engine/pie/PieParseEngine.d.ts.map +1 -1
  218. package/dist/parse-engine/scatter-chart/ScatterParseEngine.d.ts.map +1 -1
  219. package/dist/parse-engine/util/ParserUtils.d.ts +8 -1
  220. package/dist/parse-engine/util/ParserUtils.d.ts.map +1 -1
  221. package/dist/pie-UPGHQEXC-Cftn6HWM.js +6 -0
  222. package/dist/{pieDiagram-SKSYHLDU-Bz-yFOVt.js → pieDiagram-SKSYHLDU-BmPDcDpq.js} +32 -32
  223. package/dist/plugin-copy-paste/copy-paste/paste/oolongData/pasteNode/posHandler/EmptyPlacePosHandler.d.ts.map +1 -1
  224. package/dist/plugin-copy-paste/copy-paste/paste/plainText/RichTextSelectionPasteHandler.d.ts +1 -1
  225. package/dist/plugin-copy-paste/copy-paste/paste/plainText/RichTextSelectionPasteHandler.d.ts.map +1 -1
  226. package/dist/plugin-copy-paste/copy-paste/paste/svg/OolongSvgPasteHandler.d.ts +8 -1
  227. package/dist/plugin-copy-paste/copy-paste/paste/svg/OolongSvgPasteHandler.d.ts.map +1 -1
  228. package/dist/plugin-pointer/interact/basic/DbClickMode.d.ts.map +1 -1
  229. package/dist/plugin-pointer/interact/basic/TripleClickMode.d.ts.map +1 -1
  230. package/dist/plugin-pointer/interact/default/click/handler/AnchorQuickCreateHandler.d.ts.map +1 -1
  231. package/dist/plugin-pointer/interact/default/click/handler/ClickExpandShapeHandler.d.ts +2 -0
  232. package/dist/plugin-pointer/interact/default/click/handler/ClickExpandShapeHandler.d.ts.map +1 -1
  233. package/dist/plugin-pointer/interact/default/create/CreateLineMainMode.d.ts.map +1 -1
  234. package/dist/plugin-pointer/interact/default/create/CreateMainMode.d.ts.map +1 -1
  235. package/dist/plugin-pointer/interact/default/create/CreateRectMode.d.ts +1 -1
  236. package/dist/plugin-pointer/interact/default/create/CreateRectMode.d.ts.map +1 -1
  237. package/dist/plugin-pointer/interact/default/create/CreateTextMode.d.ts +1 -1
  238. package/dist/plugin-pointer/interact/default/create/CreateTextMode.d.ts.map +1 -1
  239. package/dist/plugin-pointer/interact/default/create/line/CreateLineMode.d.ts +1 -1
  240. package/dist/plugin-pointer/interact/default/create/line/CreateLineMode.d.ts.map +1 -1
  241. package/dist/plugin-pointer/interact/default/create/normal/grab/CreateUpProcessor.d.ts.map +1 -1
  242. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/AbsCreateUpHandler.d.ts +2 -0
  243. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/AbsCreateUpHandler.d.ts.map +1 -1
  244. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpChartSectionHandler.d.ts +1 -0
  245. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpChartSectionHandler.d.ts.map +1 -1
  246. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpResourceHandler.d.ts +1 -0
  247. package/dist/plugin-pointer/interact/default/create/normal/grab/handler/CreateUpResourceHandler.d.ts.map +1 -1
  248. package/dist/plugin-pointer/interact/default/create/section/CreateSectionMode.d.ts +1 -1
  249. package/dist/plugin-pointer/interact/default/create/section/CreateSectionMode.d.ts.map +1 -1
  250. package/dist/plugin-pointer/interact/default/drag/DragProcessor.d.ts +2 -0
  251. package/dist/plugin-pointer/interact/default/drag/DragProcessor.d.ts.map +1 -1
  252. package/dist/plugin-pointer/interact/default/group/handler/NormalGroupHandler.d.ts +1 -0
  253. package/dist/plugin-pointer/interact/default/group/handler/NormalGroupHandler.d.ts.map +1 -1
  254. package/dist/plugin-pointer/interact/default/normal/hover/HoverProcessor.d.ts.map +1 -1
  255. package/dist/plugin-pointer/interact/default/stretch/StretchProcessorV2.d.ts +2 -1
  256. package/dist/plugin-pointer/interact/default/stretch/StretchProcessorV2.d.ts.map +1 -1
  257. package/dist/plugin-pointer/interact/viewOnly/ViewOnlyMode.d.ts.map +1 -1
  258. package/dist/plugin-resize/WindowResizePlugin.d.ts +1 -0
  259. package/dist/plugin-resize/WindowResizePlugin.d.ts.map +1 -1
  260. package/dist/preview/PreviewQuickCreateManager.d.ts.map +1 -1
  261. package/dist/preview/previewCreate/handler/PreviewChartSectionHandler.d.ts +5 -1
  262. package/dist/preview/previewCreate/handler/PreviewChartSectionHandler.d.ts.map +1 -1
  263. package/dist/preview/previewCreate/handler/PreviewMathFormulaHandler.d.ts +2 -1
  264. package/dist/preview/previewCreate/handler/PreviewMathFormulaHandler.d.ts.map +1 -1
  265. package/dist/purify.es-BpFm6ZGf.js +553 -0
  266. package/dist/{quadrantDiagram-337W2JSQ-BoIKPBpy.js → quadrantDiagram-337W2JSQ-2mtQ_UpK.js} +1 -1
  267. package/dist/radar-KQ55EAFF-DFf50M-A.js +6 -0
  268. package/dist/renderText/RenderText.d.ts +1 -0
  269. package/dist/renderText/RenderText.d.ts.map +1 -1
  270. package/dist/renderText/TextBlock.d.ts +4 -0
  271. package/dist/renderText/TextBlock.d.ts.map +1 -1
  272. package/dist/renderText/TextCharacter.d.ts +3 -1
  273. package/dist/renderText/TextCharacter.d.ts.map +1 -1
  274. package/dist/renderText/TextLine.d.ts +1 -0
  275. package/dist/renderText/TextLine.d.ts.map +1 -1
  276. package/dist/renderText/TextParagraph.d.ts +1 -0
  277. package/dist/renderText/TextParagraph.d.ts.map +1 -1
  278. package/dist/renderText/editInfo/baseprops/OolongNodeModifyWorker.d.ts.map +1 -1
  279. package/dist/renderText/paraStyle/IParagraphStyleProp.d.ts +1 -0
  280. package/dist/renderText/paraStyle/IParagraphStyleProp.d.ts.map +1 -1
  281. package/dist/renderText/paraStyle/PrefixDrawer.d.ts +1 -0
  282. package/dist/renderText/paraStyle/PrefixDrawer.d.ts.map +1 -1
  283. package/dist/renderText/paraStyle/TextQuoteLineWorker.d.ts +4 -0
  284. package/dist/renderText/paraStyle/TextQuoteLineWorker.d.ts.map +1 -1
  285. package/dist/{requirementDiagram-Z7DCOOCP-BmjGkh2H.js → requirementDiagram-Z7DCOOCP-DI-RKSsg.js} +3 -3
  286. package/dist/{sankeyDiagram-WA2Y5GQK-CCalsEo-.js → sankeyDiagram-WA2Y5GQK-CkJ0TYSO.js} +65 -65
  287. package/dist/{sequenceDiagram-2WXFIKYE-C7Q6NaRl.js → sequenceDiagram-2WXFIKYE-J_eEIJjL.js} +3 -3
  288. package/dist/{stateDiagram-RAJIS63D-DpTZFw3b.js → stateDiagram-RAJIS63D-hMLFLy34.js} +11 -11
  289. package/dist/{stateDiagram-v2-FVOUBMTO-0vsxUPPH.js → stateDiagram-v2-FVOUBMTO-BQAnSQBb.js} +2 -2
  290. package/dist/{timeline-definition-YZTLITO2-BKTXWUrb.js → timeline-definition-YZTLITO2--HGaUkPW.js} +25 -25
  291. package/dist/treemap-KZPCXAKY-BRl-s1eQ.js +6 -0
  292. package/dist/{vennDiagram-LZ73GAT5-BlXB90A7.js → vennDiagram-LZ73GAT5-CmiHznsy.js} +118 -118
  293. package/dist/{xychartDiagram-JWTSCODW-DLM68KZ7.js → xychartDiagram-JWTSCODW-BAq9U2J5.js} +31 -31
  294. package/package.json +4 -3
  295. package/dist/architecture-PBZL5I3N-Cjhd8To5.js +0 -6
  296. package/dist/channel-Dk-8zCVP.js +0 -5
  297. package/dist/gitGraph-HDMCJU4V-BF-0OQyY.js +0 -6
  298. package/dist/index-DUkSgUzW.js +0 -42183
  299. package/dist/info-3K5VOQVL-BLrlEFQe.js +0 -6
  300. package/dist/packet-RMMSAZCW-BMJZtbSC.js +0 -6
  301. package/dist/pie-UPGHQEXC-DQFgLqV3.js +0 -6
  302. package/dist/radar-KQ55EAFF-D6kEG9zs.js +0 -6
  303. package/dist/treemap-KZPCXAKY-CIr8Ze2e.js +0 -6
@@ -1,12 +1,12 @@
1
- import { az as Wt, s as Gt, g as Kt, p as Ht, o as Yt, a as Xt, b as Zt, _ as S, F as St, H as Jt, ao as Qt, U as $t, V as te, W as ee, d as ne, y as se, D as ie, E as re } from "./mermaid.core-CYBWUA0z.js";
1
+ import { ay as Gt, s as Wt, g as Kt, p as Ht, o as Yt, a as Xt, b as Zt, _ as S, E as St, G as Jt, an as Qt, T as $t, U as te, V as ee, d as ne, x as se, C as ie, D as re } from "./mermaid.core-B_sJRZT_.js";
2
2
  import { s as rt } from "./transform-QfIdy88w.js";
3
- const kt = (t, n) => Wt(t, "a", -n), _t = 1e-10;
3
+ const kt = (t, n) => Gt(t, "a", -n), _t = 1e-10;
4
4
  function st(t, n) {
5
5
  const s = ae(t), e = s.filter((c) => oe(c, t));
6
6
  let i = 0, r = 0;
7
7
  const o = [];
8
8
  if (e.length > 1) {
9
- const c = Tt(e);
9
+ const c = Et(e);
10
10
  for (let u = 0; u < e.length; ++u) {
11
11
  const a = e[u];
12
12
  a.angle = Math.atan2(a.x - c.x, a.y - c.y);
@@ -20,11 +20,11 @@ function st(t, n) {
20
20
  let d = null;
21
21
  for (let m = 0; m < a.parentIndex.length; ++m)
22
22
  if (f.parentIndex.includes(a.parentIndex[m])) {
23
- const x = t[a.parentIndex[m]], M = Math.atan2(a.x - x.x, a.y - x.y), T = Math.atan2(f.x - x.x, f.y - x.y);
24
- let _ = T - M;
23
+ const x = t[a.parentIndex[m]], M = Math.atan2(a.x - x.x, a.y - x.y), E = Math.atan2(f.x - x.x, f.y - x.y);
24
+ let _ = E - M;
25
25
  _ < 0 && (_ += 2 * Math.PI);
26
- const w = T - _ / 2;
27
- let g = G(y, {
26
+ const w = E - _ / 2;
27
+ let g = W(y, {
28
28
  x: x.x + x.radius * Math.sin(w),
29
29
  y: x.y + x.radius * Math.cos(w)
30
30
  });
@@ -38,7 +38,7 @@ function st(t, n) {
38
38
  t[u].radius < c.radius && (c = t[u]);
39
39
  let f = !1;
40
40
  for (let u = 0; u < t.length; ++u)
41
- if (G(t[u], c) > Math.abs(c.radius - t[u].radius)) {
41
+ if (W(t[u], c) > Math.abs(c.radius - t[u].radius)) {
42
42
  f = !0;
43
43
  break;
44
44
  }
@@ -54,13 +54,13 @@ function st(t, n) {
54
54
  return r /= 2, n && (n.area = i + r, n.arcArea = i, n.polygonArea = r, n.arcs = o, n.innerPoints = e, n.intersectionPoints = s), i + r;
55
55
  }
56
56
  function oe(t, n) {
57
- return n.every((s) => G(t, s) < s.radius + _t);
57
+ return n.every((s) => W(t, s) < s.radius + _t);
58
58
  }
59
59
  function ae(t) {
60
60
  const n = [];
61
61
  for (let s = 0; s < t.length; ++s)
62
62
  for (let e = s + 1; e < t.length; ++e) {
63
- const i = Et(t[s], t[e]);
63
+ const i = Tt(t[s], t[e]);
64
64
  for (const r of i)
65
65
  r.parentIndex = [s, e], n.push(r);
66
66
  }
@@ -69,7 +69,7 @@ function ae(t) {
69
69
  function lt(t, n) {
70
70
  return t * t * Math.acos(1 - n / t) - (t - n) * Math.sqrt(n * (2 * t - n));
71
71
  }
72
- function G(t, n) {
72
+ function W(t, n) {
73
73
  return Math.sqrt((t.x - n.x) * (t.x - n.x) + (t.y - n.y) * (t.y - n.y));
74
74
  }
75
75
  function xt(t, n, s) {
@@ -80,8 +80,8 @@ function xt(t, n, s) {
80
80
  const e = t - (s * s - n * n + t * t) / (2 * s), i = n - (s * s - t * t + n * n) / (2 * s);
81
81
  return lt(t, e) + lt(n, i);
82
82
  }
83
- function Et(t, n) {
84
- const s = G(t, n), e = t.radius, i = n.radius;
83
+ function Tt(t, n) {
84
+ const s = W(t, n), e = t.radius, i = n.radius;
85
85
  if (s >= e + i || s <= Math.abs(e - i))
86
86
  return [];
87
87
  const r = (e * e - i * i + s * s) / (2 * s), o = Math.sqrt(e * e - r * r), c = t.x + r * (n.x - t.x) / s, f = t.y + r * (n.y - t.y) / s, u = -(n.y - t.y) * (o / s), a = -(n.x - t.x) * (o / s);
@@ -90,7 +90,7 @@ function Et(t, n) {
90
90
  { x: c - u, y: f + a }
91
91
  ];
92
92
  }
93
- function Tt(t) {
93
+ function Et(t) {
94
94
  const n = { x: 0, y: 0 };
95
95
  for (const s of t)
96
96
  n.x += s.x, n.y += s.y;
@@ -153,9 +153,9 @@ function zt(t, n, s) {
153
153
  x[m][l] = v[l];
154
154
  x[m].fx = v.fx;
155
155
  }
156
- const T = (v, l) => v.fx - l.fx, _ = n.slice(), w = n.slice(), g = n.slice(), b = n.slice();
156
+ const E = (v, l) => v.fx - l.fx, _ = n.slice(), w = n.slice(), g = n.slice(), b = n.slice();
157
157
  for (let v = 0; v < e; ++v) {
158
- if (x.sort(T), s.history) {
158
+ if (x.sort(E), s.history) {
159
159
  const p = x.map((h) => {
160
160
  const j = h.slice();
161
161
  return j.fx = h.fx, j.id = h.id, j;
@@ -190,20 +190,20 @@ function zt(t, n, s) {
190
190
  } else
191
191
  M(w);
192
192
  }
193
- return x.sort(T), { fx: x[0].fx, x: x[0] };
193
+ return x.sort(E), { fx: x[0].fx, x: x[0] };
194
194
  }
195
195
  function ce(t, n, s, e, i, r, o) {
196
196
  const c = s.fx, f = tt(s.fxprime, n);
197
197
  let u = c, a = c, y = f, d = 0;
198
198
  i = i || 1, r = r || 1e-6, o = o || 0.1;
199
- function m(x, M, T) {
199
+ function m(x, M, E) {
200
200
  for (let _ = 0; _ < 16; ++_)
201
- if (i = (x + M) / 2, Q(e.x, 1, s.x, i, n), u = e.fx = t(e.x, e.fxprime), y = tt(e.fxprime, n), u > c + r * i * f || u >= T)
201
+ if (i = (x + M) / 2, Q(e.x, 1, s.x, i, n), u = e.fx = t(e.x, e.fxprime), y = tt(e.fxprime, n), u > c + r * i * f || u >= E)
202
202
  M = i;
203
203
  else {
204
204
  if (Math.abs(y) <= -o * f)
205
205
  return i;
206
- y * (M - x) >= 0 && (M = x), x = i, T = u;
206
+ y * (M - x) >= 0 && (M = x), x = i, E = u;
207
207
  }
208
208
  return 0;
209
209
  }
@@ -420,18 +420,18 @@ function ye(t, n) {
420
420
  const w = e[m[a].set], g = ft(x.radius, w.radius, m[a].size);
421
421
  M.push({ x: w.x + g, y: w.y }), M.push({ x: w.x - g, y: w.y }), M.push({ y: w.y + g, x: w.x }), M.push({ y: w.y - g, x: w.x });
422
422
  for (let b = a + 1; b < m.length; ++b) {
423
- const v = e[m[b].set], l = ft(x.radius, v.radius, m[b].size), p = Et(
423
+ const v = e[m[b].set], l = ft(x.radius, v.radius, m[b].size), p = Tt(
424
424
  { x: w.x, y: w.y, radius: g },
425
425
  { x: v.x, y: v.y, radius: l }
426
426
  );
427
427
  M.push(...p);
428
428
  }
429
429
  }
430
- let T = 1e50, _ = M[0];
430
+ let E = 1e50, _ = M[0];
431
431
  for (const w of M) {
432
432
  e[d].x = w.x, e[d].y = w.y;
433
433
  const g = s(e, t);
434
- g < T && (T = g, _ = w);
434
+ g < E && (E = g, _ = w);
435
435
  }
436
436
  u(_, d);
437
437
  }
@@ -445,7 +445,7 @@ function et(t, n) {
445
445
  let i;
446
446
  if (e.sets.length === 2) {
447
447
  const o = t[e.sets[0]], c = t[e.sets[1]];
448
- i = xt(o.radius, c.radius, G(o, c));
448
+ i = xt(o.radius, c.radius, W(o, c));
449
449
  } else
450
450
  i = st(e.sets.map((o) => t[o]));
451
451
  const r = e.weight != null ? e.weight : 1;
@@ -453,7 +453,7 @@ function et(t, n) {
453
453
  }
454
454
  return s;
455
455
  }
456
- function Dt(t, n) {
456
+ function Ct(t, n) {
457
457
  let s = 0;
458
458
  for (const e of n) {
459
459
  if (e.sets.length === 1)
@@ -461,7 +461,7 @@ function Dt(t, n) {
461
461
  let i;
462
462
  if (e.sets.length === 2) {
463
463
  const c = t[e.sets[0]], f = t[e.sets[1]];
464
- i = xt(c.radius, f.radius, G(c, f));
464
+ i = xt(c.radius, f.radius, W(c, f));
465
465
  } else
466
466
  i = st(e.sets.map((c) => t[c]));
467
467
  const r = e.weight != null ? e.weight : 1, o = Math.log((i + 1) / (e.size + 1));
@@ -475,7 +475,7 @@ function pe(t, n, s) {
475
475
  for (const o of t)
476
476
  o.x -= i, o.y -= r;
477
477
  }
478
- if (t.length === 2 && G(t[0], t[1]) < Math.abs(t[1].radius - t[0].radius) && (t[1].x = t[0].x + t[0].radius - t[1].radius - 1e-10, t[1].y = t[0].y), t.length > 1) {
478
+ if (t.length === 2 && W(t[0], t[1]) < Math.abs(t[1].radius - t[0].radius) && (t[1].x = t[0].x + t[0].radius - t[1].radius - 1e-10, t[1].y = t[0].y), t.length > 1) {
479
479
  const i = Math.atan2(t[1].x, t[1].y) - n, r = Math.cos(i), o = Math.sin(i);
480
480
  for (const c of t) {
481
481
  const f = c.x, u = c.y;
@@ -511,7 +511,7 @@ function me(t) {
511
511
  for (let i = 0; i < t.length; ++i)
512
512
  for (let r = i + 1; r < t.length; ++r) {
513
513
  const o = t[i].radius + t[r].radius;
514
- G(t[i], t[r]) + 1e-10 < o && s(t[r], t[i]);
514
+ W(t[i], t[r]) + 1e-10 < o && s(t[r], t[i]);
515
515
  }
516
516
  const e = /* @__PURE__ */ new Map();
517
517
  for (let i = 0; i < t.length; ++i) {
@@ -529,7 +529,7 @@ function dt(t) {
529
529
  };
530
530
  return { xRange: n("x"), yRange: n("y") };
531
531
  }
532
- function Ct(t, n, s) {
532
+ function Dt(t, n, s) {
533
533
  n == null && (n = Math.PI / 2);
534
534
  let e = Ft(t).map((u) => Object.assign({}, u));
535
535
  const i = me(e);
@@ -600,7 +600,7 @@ function Ft(t) {
600
600
  return Object.keys(t).map((s) => Object.assign(t[s], { setid: s }));
601
601
  }
602
602
  function be(t = {}) {
603
- let n = !1, s = 600, e = 350, i = 15, r = 1e3, o = Math.PI / 2, c = !0, f = null, u = !0, a = !0, y = null, d = null, m = !1, x = null, M = t && t.symmetricalTextCentre ? t.symmetricalTextCentre : !1, T = {}, _ = t && t.colourScheme ? t.colourScheme : t && t.colorScheme ? t.colorScheme : [
603
+ let n = !1, s = 600, e = 350, i = 15, r = 1e3, o = Math.PI / 2, c = !0, f = null, u = !0, a = !0, y = null, d = null, m = !1, x = null, M = t && t.symmetricalTextCentre ? t.symmetricalTextCentre : !1, E = {}, _ = t && t.colourScheme ? t.colourScheme : t && t.colorScheme ? t.colorScheme : [
604
604
  "#1f77b4",
605
605
  "#ff7f0e",
606
606
  "#2ca02c",
@@ -612,9 +612,9 @@ function be(t = {}) {
612
612
  "#bcbd22",
613
613
  "#17becf"
614
614
  ], w = 0, g = function(p) {
615
- if (p in T)
616
- return T[p];
617
- var h = T[p] = _[w];
615
+ if (p in E)
616
+ return E[p];
617
+ var h = E[p] = _[w];
618
618
  return w += 1, w >= _.length && (w = 0), h;
619
619
  }, b = At, v = et;
620
620
  function l(p) {
@@ -626,7 +626,7 @@ function be(t = {}) {
626
626
  let k = {}, N = {};
627
627
  if (h.length > 0) {
628
628
  let I = b(h, { lossFunction: v, distinct: m });
629
- c && (I = Ct(I, o, d)), k = Nt(I, s, e, i, f), N = jt(k, h, M);
629
+ c && (I = Dt(I, o, d)), k = Nt(I, s, e, i, f), N = jt(k, h, M);
630
630
  }
631
631
  const Y = {};
632
632
  h.forEach((I) => {
@@ -649,7 +649,7 @@ function be(t = {}) {
649
649
  });
650
650
  function A(I) {
651
651
  return (L) => {
652
- const W = I.sets.map((Z) => {
652
+ const G = I.sets.map((Z) => {
653
653
  let H = U[Z], J = k[Z];
654
654
  return H || (H = { x: s / 2, y: e / 2, radius: 1 }), J || (J = { x: s / 2, y: e / 2, radius: 1 }), {
655
655
  x: H.x * (1 - L) + J.x * L,
@@ -657,10 +657,10 @@ function be(t = {}) {
657
657
  radius: H.radius * (1 - L) + J.radius * L
658
658
  };
659
659
  });
660
- return wt(W, x);
660
+ return wt(G, x);
661
661
  };
662
662
  }
663
- const D = q.selectAll(".venn-area").data(h, (I) => I.sets), O = D.enter().append("g").attr(
663
+ const C = q.selectAll(".venn-area").data(h, (I) => I.sets), O = C.enter().append("g").attr(
664
664
  "class",
665
665
  (I) => `venn-area venn-${I.sets.length == 1 ? "circle" : "intersection"}${I.colour || I.color ? " venn-coloured" : ""}`
666
666
  ).attr("data-venn-sets", (I) => I.sets.join("_")), P = O.append("path"), V = O.append("text").attr("class", "label").text((I) => B(I)).attr("text-anchor", "middle").attr("dy", ".35em").attr("x", s / 2).attr("y", e / 2);
@@ -668,14 +668,14 @@ function be(t = {}) {
668
668
  function R(I) {
669
669
  return typeof I.transition == "function" ? I.transition("venn").duration(r) : I;
670
670
  }
671
- let E = p;
672
- z && typeof E.transition == "function" ? (E = R(p), E.selectAll("path").attrTween("d", A)) : E.selectAll("path").attr("d", (I) => wt(I.sets.map((L) => k[L])), x);
673
- const F = E.selectAll("text").filter((I) => I.sets in N).text((I) => B(I)).attr("x", (I) => Math.floor(N[I.sets].x)).attr("y", (I) => Math.floor(N[I.sets].y));
671
+ let T = p;
672
+ z && typeof T.transition == "function" ? (T = R(p), T.selectAll("path").attrTween("d", A)) : T.selectAll("path").attr("d", (I) => wt(I.sets.map((L) => k[L])), x);
673
+ const F = T.selectAll("text").filter((I) => I.sets in N).text((I) => B(I)).attr("x", (I) => Math.floor(N[I.sets].x)).attr("y", (I) => Math.floor(N[I.sets].y));
674
674
  u && (z ? "on" in F ? F.on("end", ot(k, B)) : F.each("end", ot(k, B)) : F.each(ot(k, B)));
675
- const C = R(D.exit()).remove();
676
- typeof D.transition == "function" && C.selectAll("path").attrTween("d", A);
677
- const X = C.selectAll("text").attr("x", s / 2).attr("y", e / 2);
678
- return y !== null && (V.style("font-size", "0px"), F.style("font-size", y), X.style("font-size", "0px")), { circles: k, textCentres: N, nodes: D, enter: O, update: E, exit: C };
675
+ const D = R(C.exit()).remove();
676
+ typeof C.transition == "function" && D.selectAll("path").attrTween("d", A);
677
+ const X = D.selectAll("text").attr("x", s / 2).attr("y", e / 2);
678
+ return y !== null && (V.style("font-size", "0px"), F.style("font-size", y), X.style("font-size", "0px")), { circles: k, textCentres: N, nodes: C, enter: O, update: T, exit: D };
679
679
  }
680
680
  return l.wrap = function(p) {
681
681
  return arguments.length ? (u = p, l) : u;
@@ -712,7 +712,7 @@ function be(t = {}) {
712
712
  }, l.orientationOrder = function(p) {
713
713
  return arguments.length ? (d = p, l) : d;
714
714
  }, l.lossFunction = function(p) {
715
- return arguments.length ? (v = p === "default" ? et : p === "logRatio" ? Dt : p, l) : v;
715
+ return arguments.length ? (v = p === "default" ? et : p === "logRatio" ? Ct : p, l) : v;
716
716
  }, l;
717
717
  }
718
718
  function ot(t, n) {
@@ -732,20 +732,20 @@ function ot(t, n) {
732
732
  const g = a.join(" ");
733
733
  M.textContent = g, g.length > f && M.getComputedTextLength() > i && (a.pop(), M.textContent = a.join(" "), a = [u], M = x(u), y++);
734
734
  }
735
- const T = 0.35 - y * d / 2, _ = e.getAttribute("x"), w = e.getAttribute("y");
735
+ const E = 0.35 - y * d / 2, _ = e.getAttribute("x"), w = e.getAttribute("y");
736
736
  m.forEach((g, b) => {
737
- g.setAttribute("x", _), g.setAttribute("y", w), g.setAttribute("dy", `${T + b * d}em`);
737
+ g.setAttribute("x", _), g.setAttribute("y", w), g.setAttribute("dy", `${E + b * d}em`);
738
738
  });
739
739
  };
740
740
  }
741
741
  function at(t, n, s) {
742
- let e = n[0].radius - G(n[0], t);
742
+ let e = n[0].radius - W(n[0], t);
743
743
  for (let i = 1; i < n.length; ++i) {
744
- const r = n[i].radius - G(n[i], t);
744
+ const r = n[i].radius - W(n[i], t);
745
745
  r <= e && (e = r);
746
746
  }
747
747
  for (let i = 0; i < s.length; ++i) {
748
- const r = G(s[i], t) - s[i].radius;
748
+ const r = W(s[i], t) - s[i].radius;
749
749
  r <= e && (e = r);
750
750
  }
751
751
  return e;
@@ -766,12 +766,12 @@ function Lt(t, n, s) {
766
766
  ).x, c = { x: s ? 0 : o[0], y: o[1] };
767
767
  let f = !0;
768
768
  for (const a of t)
769
- if (G(c, a) > a.radius) {
769
+ if (W(c, a) > a.radius) {
770
770
  f = !1;
771
771
  break;
772
772
  }
773
773
  for (const a of n)
774
- if (G(c, a) < a.radius) {
774
+ if (W(c, a) < a.radius) {
775
775
  f = !1;
776
776
  break;
777
777
  }
@@ -780,7 +780,7 @@ function Lt(t, n, s) {
780
780
  if (t.length == 1)
781
781
  return { x: t[0].x, y: t[0].y };
782
782
  const u = {};
783
- return st(t, u), u.arcs.length === 0 ? { x: 0, y: -1e3, disjoint: !0 } : u.arcs.length == 1 ? { x: u.arcs[0].circle.x, y: u.arcs[0].circle.y } : n.length ? Lt(t, []) : Tt(u.arcs.map((a) => a.p1));
783
+ return st(t, u), u.arcs.length === 0 ? { x: 0, y: -1e3, disjoint: !0 } : u.arcs.length == 1 ? { x: u.arcs[0].circle.x, y: u.arcs[0].circle.y } : n.length ? Lt(t, []) : Et(u.arcs.map((a) => a.p1));
784
784
  }
785
785
  function ve(t) {
786
786
  const n = {}, s = Object.keys(t);
@@ -789,7 +789,7 @@ function ve(t) {
789
789
  for (let e = 0; e < s.length; e++) {
790
790
  const i = s[e], r = t[i];
791
791
  for (let o = e + 1; o < s.length; ++o) {
792
- const c = s[o], f = t[c], u = G(r, f);
792
+ const c = s[o], f = t[c], u = W(r, f);
793
793
  u + f.radius <= r.radius + 1e-10 ? n[c].push(i) : u + r.radius <= f.radius + 1e-10 && n[i].push(c);
794
794
  }
795
795
  }
@@ -867,11 +867,11 @@ function Me(t, n = {}) {
867
867
  round: m = 2
868
868
  } = n;
869
869
  let x = e(t, {
870
- lossFunction: s === "default" || !s ? et : s === "logRatio" ? Dt : s,
870
+ lossFunction: s === "default" || !s ? et : s === "logRatio" ? Ct : s,
871
871
  distinct: d
872
872
  });
873
- i && (x = Ct(x, r, o));
874
- const M = Nt(x, c, f, u, a), T = jt(M, t, y), _ = new Map(
873
+ i && (x = Dt(x, r, o));
874
+ const M = Nt(x, c, f, u, a), E = jt(M, t, y), _ = new Map(
875
875
  Object.keys(M).map((b) => [
876
876
  b,
877
877
  {
@@ -893,7 +893,7 @@ function Me(t, n = {}) {
893
893
  }
894
894
  return w.map(({ circles: b, arcs: v, path: l, area: p }) => ({
895
895
  data: p,
896
- text: T[p.sets],
896
+ text: E[p.sets],
897
897
  circles: b,
898
898
  arcs: v,
899
899
  path: l,
@@ -1035,8 +1035,8 @@ var gt = function() {
1035
1035
  }, "parseError"),
1036
1036
  parse: /* @__PURE__ */ S(function(g) {
1037
1037
  var b = this, v = [0], l = [], p = [null], h = [], j = this.table, k = "", N = 0, Y = 0, B = 2, q = 1, U = h.slice.call(arguments, 1), z = Object.create(this.lexer), A = { yy: {} };
1038
- for (var D in this.yy)
1039
- Object.prototype.hasOwnProperty.call(this.yy, D) && (A.yy[D] = this.yy[D]);
1038
+ for (var C in this.yy)
1039
+ Object.prototype.hasOwnProperty.call(this.yy, C) && (A.yy[C] = this.yy[C]);
1040
1040
  z.setInput(g, A.yy), A.yy.lexer = z, A.yy.parser = this, typeof z.yylloc > "u" && (z.yylloc = {});
1041
1041
  var O = z.yylloc;
1042
1042
  h.push(O);
@@ -1051,48 +1051,48 @@ var gt = function() {
1051
1051
  return K = l.pop() || z.lex() || q, typeof K != "number" && (K instanceof Array && (l = K, K = l.pop()), K = b.symbols_[K] || K), K;
1052
1052
  }
1053
1053
  S(R, "lex");
1054
- for (var E, F, C, X, I = {}, L, W, Z, H; ; ) {
1055
- if (F = v[v.length - 1], this.defaultActions[F] ? C = this.defaultActions[F] : ((E === null || typeof E > "u") && (E = R()), C = j[F] && j[F][E]), typeof C > "u" || !C.length || !C[0]) {
1054
+ for (var T, F, D, X, I = {}, L, G, Z, H; ; ) {
1055
+ if (F = v[v.length - 1], this.defaultActions[F] ? D = this.defaultActions[F] : ((T === null || typeof T > "u") && (T = R()), D = j[F] && j[F][T]), typeof D > "u" || !D.length || !D[0]) {
1056
1056
  var J = "";
1057
1057
  H = [];
1058
1058
  for (L in j[F])
1059
1059
  this.terminals_[L] && L > B && H.push("'" + this.terminals_[L] + "'");
1060
1060
  z.showPosition ? J = "Parse error on line " + (N + 1) + `:
1061
1061
  ` + z.showPosition() + `
1062
- Expecting ` + H.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "Parse error on line " + (N + 1) + ": Unexpected " + (E == q ? "end of input" : "'" + (this.terminals_[E] || E) + "'"), this.parseError(J, {
1062
+ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[T] || T) + "'" : J = "Parse error on line " + (N + 1) + ": Unexpected " + (T == q ? "end of input" : "'" + (this.terminals_[T] || T) + "'"), this.parseError(J, {
1063
1063
  text: z.match,
1064
- token: this.terminals_[E] || E,
1064
+ token: this.terminals_[T] || T,
1065
1065
  line: z.yylineno,
1066
1066
  loc: O,
1067
1067
  expected: H
1068
1068
  });
1069
1069
  }
1070
- if (C[0] instanceof Array && C.length > 1)
1071
- throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + E);
1072
- switch (C[0]) {
1070
+ if (D[0] instanceof Array && D.length > 1)
1071
+ throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + T);
1072
+ switch (D[0]) {
1073
1073
  case 1:
1074
- v.push(E), p.push(z.yytext), h.push(z.yylloc), v.push(C[1]), E = null, Y = z.yyleng, k = z.yytext, N = z.yylineno, O = z.yylloc;
1074
+ v.push(T), p.push(z.yytext), h.push(z.yylloc), v.push(D[1]), T = null, Y = z.yyleng, k = z.yytext, N = z.yylineno, O = z.yylloc;
1075
1075
  break;
1076
1076
  case 2:
1077
- if (W = this.productions_[C[1]][1], I.$ = p[p.length - W], I._$ = {
1078
- first_line: h[h.length - (W || 1)].first_line,
1077
+ if (G = this.productions_[D[1]][1], I.$ = p[p.length - G], I._$ = {
1078
+ first_line: h[h.length - (G || 1)].first_line,
1079
1079
  last_line: h[h.length - 1].last_line,
1080
- first_column: h[h.length - (W || 1)].first_column,
1080
+ first_column: h[h.length - (G || 1)].first_column,
1081
1081
  last_column: h[h.length - 1].last_column
1082
1082
  }, P && (I._$.range = [
1083
- h[h.length - (W || 1)].range[0],
1083
+ h[h.length - (G || 1)].range[0],
1084
1084
  h[h.length - 1].range[1]
1085
1085
  ]), X = this.performAction.apply(I, [
1086
1086
  k,
1087
1087
  Y,
1088
1088
  N,
1089
1089
  A.yy,
1090
- C[1],
1090
+ D[1],
1091
1091
  p,
1092
1092
  h
1093
1093
  ].concat(U)), typeof X < "u")
1094
1094
  return X;
1095
- W && (v = v.slice(0, -1 * W * 2), p = p.slice(0, -1 * W), h = h.slice(0, -1 * W)), v.push(this.productions_[C[1]][0]), p.push(I.$), h.push(I._$), Z = j[v[v.length - 2]][v[v.length - 1]], v.push(Z);
1095
+ G && (v = v.slice(0, -1 * G * 2), p = p.slice(0, -1 * G), h = h.slice(0, -1 * G)), v.push(this.productions_[D[1]][0]), p.push(I.$), h.push(I._$), Z = j[v[v.length - 2]][v[v.length - 1]], v.push(Z);
1096
1096
  break;
1097
1097
  case 3:
1098
1098
  return !0;
@@ -1100,7 +1100,7 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
1100
1100
  }
1101
1101
  return !0;
1102
1102
  }, "parse")
1103
- }, T = /* @__PURE__ */ function() {
1103
+ }, E = /* @__PURE__ */ function() {
1104
1104
  var w = {
1105
1105
  EOF: 1,
1106
1106
  parseError: /* @__PURE__ */ S(function(b, v) {
@@ -1338,7 +1338,7 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : J = "
1338
1338
  };
1339
1339
  return w;
1340
1340
  }();
1341
- M.lexer = T;
1341
+ M.lexer = E;
1342
1342
  function _() {
1343
1343
  this.yy = {};
1344
1344
  }
@@ -1355,7 +1355,7 @@ var we = gt, yt = [], pt = [], mt = [], bt = /* @__PURE__ */ new Set(), vt, It =
1355
1355
  }, "addSubsetData"), _e = /* @__PURE__ */ S(() => yt, "getSubsetData"), nt = /* @__PURE__ */ S((t) => {
1356
1356
  const n = t.trim();
1357
1357
  return n.length >= 2 && n.startsWith('"') && n.endsWith('"') ? n.slice(1, -1) : n;
1358
- }, "normalizeText"), Ee = /* @__PURE__ */ S((t) => t && nt(t), "normalizeStyleValue"), Te = /* @__PURE__ */ S((t, n, s) => {
1358
+ }, "normalizeText"), Te = /* @__PURE__ */ S((t) => t && nt(t), "normalizeStyleValue"), Ee = /* @__PURE__ */ S((t, n, s) => {
1359
1359
  const e = nt(n);
1360
1360
  pt.push({
1361
1361
  sets: it(t).sort(),
@@ -1365,13 +1365,13 @@ var we = gt, yt = [], pt = [], mt = [], bt = /* @__PURE__ */ new Set(), vt, It =
1365
1365
  }, "addTextData"), ze = /* @__PURE__ */ S((t, n) => {
1366
1366
  const s = it(t).sort(), e = {};
1367
1367
  for (const [i, r] of n)
1368
- e[i] = Ee(r) ?? r;
1368
+ e[i] = Te(r) ?? r;
1369
1369
  mt.push({ targets: s, styles: e });
1370
1370
  }, "addStyleData"), Ae = /* @__PURE__ */ S(() => mt, "getStyleData"), it = /* @__PURE__ */ S((t) => t.map((n) => nt(n)), "normalizeIdentifierList"), Re = /* @__PURE__ */ S((t) => {
1371
1371
  const s = it(t).filter((e) => !bt.has(e));
1372
1372
  if (s.length > 0)
1373
1373
  throw new Error(`unknown set identifier: ${s.join(", ")}`);
1374
- }, "validateUnionIdentifiers"), De = /* @__PURE__ */ S(() => pt, "getTextData"), Ce = /* @__PURE__ */ S(() => vt, "getCurrentSets"), Ne = /* @__PURE__ */ S(() => It, "getIndentMode"), Oe = /* @__PURE__ */ S((t) => {
1374
+ }, "validateUnionIdentifiers"), Ce = /* @__PURE__ */ S(() => pt, "getTextData"), De = /* @__PURE__ */ S(() => vt, "getCurrentSets"), Ne = /* @__PURE__ */ S(() => It, "getIndentMode"), Oe = /* @__PURE__ */ S((t) => {
1375
1375
  It = t;
1376
1376
  }, "setIndentMode"), Fe = re.venn;
1377
1377
  function Bt() {
@@ -1388,15 +1388,15 @@ var Le = /* @__PURE__ */ S(() => {
1388
1388
  setDiagramTitle: Yt,
1389
1389
  getDiagramTitle: Ht,
1390
1390
  getAccDescription: Kt,
1391
- setAccDescription: Gt,
1391
+ setAccDescription: Wt,
1392
1392
  addSubsetData: Se,
1393
1393
  getSubsetData: _e,
1394
- addTextData: Te,
1394
+ addTextData: Ee,
1395
1395
  addStyleData: ze,
1396
1396
  validateUnionIdentifiers: Re,
1397
- getTextData: De,
1397
+ getTextData: Ce,
1398
1398
  getStyleData: Ae,
1399
- getCurrentSets: Ce,
1399
+ getCurrentSets: De,
1400
1400
  getIndentMode: Ne,
1401
1401
  setIndentMode: Oe
1402
1402
  }, Pe = /* @__PURE__ */ S((t) => `
@@ -1442,53 +1442,53 @@ var Be = /* @__PURE__ */ S((t, n, s, e) => {
1442
1442
  o.venn6,
1443
1443
  o.venn7,
1444
1444
  o.venn8
1445
- ].filter(Boolean), y = (U = i.getDiagramTitle) == null ? void 0 : U.call(i), d = i.getSubsetData(), m = i.getTextData(), x = Ut(i.getStyleData()), M = (r == null ? void 0 : r.width) ?? 800, T = (r == null ? void 0 : r.height) ?? 450, w = M / 1600, g = y ? 48 * w : 0, b = o.primaryTextColor ?? o.textColor, v = Jt(n);
1446
- v.attr("viewBox", `0 0 ${M} ${T}`), y && v.append("text").text(y).attr("class", "venn-title").attr("font-size", `${32 * w}px`).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("x", "50%").attr("y", 32 * w).style("fill", o.vennTitleTextColor || o.titleColor);
1447
- const l = rt(document.createElement("div")), p = be().width(M).height(T - g);
1445
+ ].filter(Boolean), y = (U = i.getDiagramTitle) == null ? void 0 : U.call(i), d = i.getSubsetData(), m = i.getTextData(), x = Ut(i.getStyleData()), M = (r == null ? void 0 : r.width) ?? 800, E = (r == null ? void 0 : r.height) ?? 450, w = M / 1600, g = y ? 48 * w : 0, b = o.primaryTextColor ?? o.textColor, v = Jt(n);
1446
+ v.attr("viewBox", `0 0 ${M} ${E}`), y && v.append("text").text(y).attr("class", "venn-title").attr("font-size", `${32 * w}px`).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("x", "50%").attr("y", 32 * w).style("fill", o.vennTitleTextColor || o.titleColor);
1447
+ const l = rt(document.createElement("div")), p = be().width(M).height(E - g);
1448
1448
  l.datum(d).call(p);
1449
1449
  const h = u ? Qt.svg(l.select("svg").node()) : void 0, j = Me(d, {
1450
1450
  width: M,
1451
- height: T - g,
1451
+ height: E - g,
1452
1452
  padding: (r == null ? void 0 : r.padding) ?? 15
1453
1453
  }), k = /* @__PURE__ */ new Map();
1454
1454
  for (const A of j) {
1455
- const D = $([...A.data.sets].sort());
1456
- k.set(D, A);
1455
+ const C = $([...A.data.sets].sort());
1456
+ k.set(C, A);
1457
1457
  }
1458
1458
  m.length > 0 && qt(r, k, l, m, w, x);
1459
1459
  const N = $t(o.background || "#f4f4f4");
1460
- l.selectAll(".venn-circle").each(function(A, D) {
1460
+ l.selectAll(".venn-circle").each(function(A, C) {
1461
1461
  var L;
1462
- const O = rt(this), V = $([...A.sets].sort()), R = x.get(V), E = (R == null ? void 0 : R.fill) || a[D % a.length] || o.primaryColor;
1463
- O.classed(`venn-set-${D % 8}`, !0);
1464
- const F = (R == null ? void 0 : R["fill-opacity"]) ?? 0.1, C = (R == null ? void 0 : R.stroke) || E, X = (R == null ? void 0 : R["stroke-width"]) || `${5 * w}`;
1462
+ const O = rt(this), V = $([...A.sets].sort()), R = x.get(V), T = (R == null ? void 0 : R.fill) || a[C % a.length] || o.primaryColor;
1463
+ O.classed(`venn-set-${C % 8}`, !0);
1464
+ const F = (R == null ? void 0 : R["fill-opacity"]) ?? 0.1, D = (R == null ? void 0 : R.stroke) || T, X = (R == null ? void 0 : R["stroke-width"]) || `${5 * w}`;
1465
1465
  if (u && h) {
1466
- const W = k.get(V);
1467
- if (W && W.circles.length > 0) {
1468
- const Z = W.circles[0], H = h.circle(Z.x, Z.y, Z.radius * 2, {
1466
+ const G = k.get(V);
1467
+ if (G && G.circles.length > 0) {
1468
+ const Z = G.circles[0], H = h.circle(Z.x, Z.y, Z.radius * 2, {
1469
1469
  roughness: 0.7,
1470
1470
  seed: f,
1471
- fill: kt(E, 0.7),
1471
+ fill: kt(T, 0.7),
1472
1472
  fillStyle: "hachure",
1473
1473
  fillWeight: 2,
1474
1474
  hachureGap: 8,
1475
- hachureAngle: -41 + D * 60,
1476
- stroke: C,
1475
+ hachureAngle: -41 + C * 60,
1476
+ stroke: D,
1477
1477
  strokeWidth: parseFloat(String(X))
1478
1478
  });
1479
1479
  O.select("path").remove(), (L = O.node()) == null || L.insertBefore(H, O.select("text").node());
1480
1480
  }
1481
1481
  } else
1482
- O.select("path").style("fill", E).style("fill-opacity", F).style("stroke", C).style("stroke-width", X).style("stroke-opacity", 0.95);
1483
- const I = (R == null ? void 0 : R.color) || (N ? te(E, 30) : ee(E, 30));
1482
+ O.select("path").style("fill", T).style("fill-opacity", F).style("stroke", D).style("stroke-width", X).style("stroke-opacity", 0.95);
1483
+ const I = (R == null ? void 0 : R.color) || (N ? te(T, 30) : ee(T, 30));
1484
1484
  O.select("text").style("font-size", `${48 * w}px`).style("fill", I);
1485
1485
  }), u && h ? l.selectAll(".venn-intersection").each(function(A) {
1486
- var E;
1487
- const D = rt(this), P = $([...A.sets].sort()), V = x.get(P), R = V == null ? void 0 : V.fill;
1486
+ var T;
1487
+ const C = rt(this), P = $([...A.sets].sort()), V = x.get(P), R = V == null ? void 0 : V.fill;
1488
1488
  if (R) {
1489
- const F = D.select("path"), C = F.attr("d");
1490
- if (C) {
1491
- const X = h.path(C, {
1489
+ const F = C.select("path"), D = F.attr("d");
1490
+ if (D) {
1491
+ const X = h.path(D, {
1492
1492
  roughness: 0.7,
1493
1493
  seed: f,
1494
1494
  fill: kt(R, 0.3),
@@ -1498,11 +1498,11 @@ var Be = /* @__PURE__ */ S((t, n, s, e) => {
1498
1498
  hachureAngle: 60,
1499
1499
  stroke: "none"
1500
1500
  }), I = F.node();
1501
- (E = I == null ? void 0 : I.parentNode) == null || E.insertBefore(X, I), F.remove();
1501
+ (T = I == null ? void 0 : I.parentNode) == null || T.insertBefore(X, I), F.remove();
1502
1502
  }
1503
1503
  } else
1504
- D.select("path").style("fill-opacity", 0);
1505
- D.select("text").style("font-size", `${48 * w}px`).style("fill", (V == null ? void 0 : V.color) ?? o.vennSetTextColor ?? b);
1504
+ C.select("path").style("fill-opacity", 0);
1505
+ C.select("text").style("font-size", `${48 * w}px`).style("fill", (V == null ? void 0 : V.color) ?? o.vennSetTextColor ?? b);
1506
1506
  }) : (l.selectAll(".venn-intersection text").style("font-size", `${48 * w}px`).style("fill", (A) => {
1507
1507
  var P;
1508
1508
  const O = $([...A.sets].sort());
@@ -1520,7 +1520,7 @@ var Be = /* @__PURE__ */ S((t, n, s, e) => {
1520
1520
  if (B && "childNodes" in B)
1521
1521
  for (const A of [...B.childNodes])
1522
1522
  (z = Y.node()) == null || z.appendChild(A);
1523
- ne(v, T, M, (r == null ? void 0 : r.useMaxWidth) ?? !0);
1523
+ ne(v, E, M, (r == null ? void 0 : r.useMaxWidth) ?? !0);
1524
1524
  }, "draw");
1525
1525
  function $(t) {
1526
1526
  return t.join("|");
@@ -1537,29 +1537,29 @@ function qt(t, n, s, e, i, r) {
1537
1537
  const m = n.get(y);
1538
1538
  if (!(m != null && m.text))
1539
1539
  continue;
1540
- const x = m.text.x, M = m.text.y, T = Math.min(...m.circles.map((U) => U.radius)), _ = Math.min(
1540
+ const x = m.text.x, M = m.text.y, E = Math.min(...m.circles.map((U) => U.radius)), _ = Math.min(
1541
1541
  ...m.circles.map((U) => U.radius - Math.hypot(x - U.x, M - U.y))
1542
1542
  );
1543
1543
  let w = Number.isFinite(_) ? Math.max(0, _) : 0;
1544
- w === 0 && Number.isFinite(T) && (w = T * 0.6);
1544
+ w === 0 && Number.isFinite(E) && (w = E * 0.6);
1545
1545
  const g = f.append("g").attr("class", "venn-text-area").attr("font-size", `${40 * i}px`);
1546
1546
  o && g.append("circle").attr("class", "venn-text-debug-circle").attr("cx", x).attr("cy", M).attr("r", w).attr("fill", "none").attr("stroke", "purple").attr("stroke-width", 1.5 * i).attr("stroke-dasharray", `${6 * i} ${4 * i}`);
1547
1547
  const b = Math.max(80 * i, w * 2 * 0.95), v = Math.max(60 * i, w * 2 * 0.95), h = (m.data.label && m.data.label.length > 0 ? Math.min(32 * i, w * 0.25) : 0) + (d.length <= 2 ? 30 * i : 0), j = x - b / 2, k = M - v / 2 + h, N = Math.max(1, Math.ceil(Math.sqrt(d.length))), Y = Math.max(1, Math.ceil(d.length / N)), B = b / N, q = v / Y;
1548
1548
  for (const [U, z] of d.entries()) {
1549
- const A = U % N, D = Math.floor(U / N), O = j + B * (A + 0.5), P = k + q * (D + 0.5);
1550
- o && g.append("rect").attr("class", "venn-text-debug-cell").attr("x", j + B * A).attr("y", k + q * D).attr("width", B).attr("height", q).attr("fill", "none").attr("stroke", "teal").attr("stroke-width", 1 * i).attr("stroke-dasharray", `${4 * i} ${3 * i}`);
1551
- const V = B * 0.9, R = q * 0.9, E = g.append("foreignObject").attr("class", "venn-text-node-fo").attr("width", V).attr("height", R).attr("x", O - V / 2).attr("y", P - R / 2).attr("overflow", "visible"), F = (a = r.get(z.id)) == null ? void 0 : a.color, C = E.append("xhtml:span").attr("class", "venn-text-node").style("display", "flex").style("width", "100%").style("height", "100%").style("white-space", "normal").style("align-items", "center").style("justify-content", "center").style("text-align", "center").style("overflow-wrap", "normal").style("word-break", "normal").text(z.label ?? z.id);
1552
- F && C.style("color", F);
1549
+ const A = U % N, C = Math.floor(U / N), O = j + B * (A + 0.5), P = k + q * (C + 0.5);
1550
+ o && g.append("rect").attr("class", "venn-text-debug-cell").attr("x", j + B * A).attr("y", k + q * C).attr("width", B).attr("height", q).attr("fill", "none").attr("stroke", "teal").attr("stroke-width", 1 * i).attr("stroke-dasharray", `${4 * i} ${3 * i}`);
1551
+ const V = B * 0.9, R = q * 0.9, T = g.append("foreignObject").attr("class", "venn-text-node-fo").attr("width", V).attr("height", R).attr("x", O - V / 2).attr("y", P - R / 2).attr("overflow", "visible"), F = (a = r.get(z.id)) == null ? void 0 : a.color, D = T.append("xhtml:span").attr("class", "venn-text-node").style("display", "flex").style("width", "100%").style("height", "100%").style("white-space", "normal").style("align-items", "center").style("justify-content", "center").style("text-align", "center").style("overflow-wrap", "normal").style("word-break", "normal").text(z.label ?? z.id);
1552
+ F && D.style("color", F);
1553
1553
  }
1554
1554
  }
1555
1555
  }
1556
1556
  S(qt, "renderTextNodes");
1557
- var Ue = { draw: Be }, Ge = {
1557
+ var Ue = { draw: Be }, We = {
1558
1558
  parser: we,
1559
1559
  db: je,
1560
1560
  renderer: Ue,
1561
1561
  styles: Ve
1562
1562
  };
1563
1563
  export {
1564
- Ge as diagram
1564
+ We as diagram
1565
1565
  };