@diagrammo/dgmo 0.95.0 → 0.96.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 (215) hide show
  1. package/README.md +1 -1
  2. package/dist/advanced.d.ts +27 -569
  3. package/dist/advanced.js +157 -350
  4. package/dist/block.js +54 -55
  5. package/dist/{calculator-BNH3GSJE.js → calculator-GIB7POFX.js} +2 -2
  6. package/dist/{chart-meta-BbjsRY7o.d.ts → chart-meta-uImk4eTn.d.ts} +1 -1
  7. package/dist/chart-meta.d.ts +2 -2
  8. package/dist/chart-meta.js +15 -15
  9. package/dist/{chart-types-Cppnp31G.d.ts → chart-types-CBVYiLqy.d.ts} +1 -5
  10. package/dist/{charts-d3-SZV2SFTM.js → charts-d3-IRP5VANE.js} +5 -5
  11. package/dist/{chunk-MLY5ALOV.js → chunk-2BYFNZVM.js} +2 -2
  12. package/dist/{chunk-OSSTOSXU.js → chunk-2M3K6GD2.js} +3 -6
  13. package/dist/{chunk-CDM6XMOT.js → chunk-34JOHSVE.js} +2 -2
  14. package/dist/chunk-35A3J4Z5.js +14 -0
  15. package/dist/{chunk-7IALGIOI.js → chunk-3W73ZP6W.js} +9 -4
  16. package/dist/{chunk-IHN6WDEY.js → chunk-4B45SNZH.js} +5 -5
  17. package/dist/{chunk-AULZD45V.js → chunk-5ARANBIE.js} +2 -2
  18. package/dist/{chunk-L5S32VZJ.js → chunk-5BG4OSWJ.js} +5 -5
  19. package/dist/{chunk-VB4VMB2I.js → chunk-5G4DOOX2.js} +1 -1
  20. package/dist/{chunk-EXHXTMVR.js → chunk-5GU6C5WB.js} +2 -2
  21. package/dist/{chunk-EBIDNRSR.js → chunk-5H7SA5ZD.js} +1 -1
  22. package/dist/{chunk-CN4RDJDV.js → chunk-5LG526X7.js} +1 -1
  23. package/dist/{chunk-VF7IKIRS.js → chunk-67RKJEKF.js} +5 -5
  24. package/dist/{chunk-D3K4U3ZM.js → chunk-6K2W3FH7.js} +8 -5
  25. package/dist/{chunk-C6G36F5S.js → chunk-7UWVHNPM.js} +4 -4
  26. package/dist/{chunk-FWVE373X.js → chunk-AQRSEQZV.js} +1 -1
  27. package/dist/{chunk-BQO24BDM.js → chunk-AUXUNV73.js} +1 -1
  28. package/dist/{chunk-3PP746YM.js → chunk-B2YVZ3QU.js} +1 -1
  29. package/dist/{chunk-QPQWY5RU.js → chunk-B5CEV7IR.js} +3 -3
  30. package/dist/{chunk-J7Q4AB23.js → chunk-B7BSRVNC.js} +2 -2
  31. package/dist/{chunk-IXHWS2HI.js → chunk-BD4O4D2A.js} +2 -2
  32. package/dist/{chunk-RQTDUZUH.js → chunk-BUVLLK3D.js} +6 -6
  33. package/dist/{chunk-JJ7RGTAU.js → chunk-CD7VQCDL.js} +6 -6
  34. package/dist/{chunk-6EFCOES2.js → chunk-CP73WWLN.js} +5 -5
  35. package/dist/{chunk-GI5R5B3S.js → chunk-D7DGLJ7N.js} +2 -2
  36. package/dist/{chunk-XOMIYMQ3.js → chunk-DKCVAQU3.js} +6 -6
  37. package/dist/{chunk-KBDMEOLI.js → chunk-DPNSDCR3.js} +1 -1
  38. package/dist/{chunk-BRGRIZQB.js → chunk-DWMQ24JR.js} +2 -2
  39. package/dist/{chunk-4XYZJTFO.js → chunk-EM5SA7NC.js} +11 -3
  40. package/dist/{chunk-AM42TLSZ.js → chunk-EMGNCG5C.js} +1 -1
  41. package/dist/{chunk-3KVUFHUJ.js → chunk-EPB3UEMD.js} +2 -2
  42. package/dist/{chunk-NXU4N5WT.js → chunk-EZ6BI5LL.js} +1 -1
  43. package/dist/{chunk-2ZW4NBYX.js → chunk-FBK32S4D.js} +1 -1
  44. package/dist/{chunk-2I4UQG7W.js → chunk-FHX373L5.js} +1 -1
  45. package/dist/{chunk-AQQUJEDN.js → chunk-FKJWZWNU.js} +1 -1
  46. package/dist/{chunk-TIIZIAGS.js → chunk-FUYEXLAN.js} +6 -13
  47. package/dist/{chunk-TASRGDYP.js → chunk-GEHK4UD5.js} +3 -3
  48. package/dist/{chunk-ZD3QCNB7.js → chunk-GLL237AP.js} +2 -2
  49. package/dist/{chunk-PGSGJLUR.js → chunk-GM2SLMQW.js} +2 -2
  50. package/dist/{chunk-V5D6GDNK.js → chunk-H7JVKUA5.js} +4 -4
  51. package/dist/{chunk-IY62DXT2.js → chunk-H7RQG4PH.js} +2 -2
  52. package/dist/{chunk-KLBTJEIK.js → chunk-HH3DHNQA.js} +1 -1
  53. package/dist/{chunk-GWQRTA5W.js → chunk-HZX4QZGR.js} +1 -1
  54. package/dist/{chunk-KBEWVCK3.js → chunk-I2I2FKAK.js} +1 -1
  55. package/dist/{chunk-BTP2BMWN.js → chunk-I3ZRIMR7.js} +10 -10
  56. package/dist/{chunk-IQN2NGEU.js → chunk-IKXQ6NVR.js} +6 -6
  57. package/dist/{chunk-XJQ6Z3FO.js → chunk-IQZSKWE5.js} +3 -3
  58. package/dist/{chunk-3GUEYQGL.js → chunk-ITDF3MWD.js} +3 -3
  59. package/dist/{chunk-JXGSTBW6.js → chunk-IU7XKZA6.js} +2 -2
  60. package/dist/{chunk-RITTLIDJ.js → chunk-IZFJZCF6.js} +4 -4
  61. package/dist/{chunk-PGBTUGDB.js → chunk-JBAFAKGX.js} +5 -5
  62. package/dist/{chunk-VSAKEMDD.js → chunk-JCC3B2GS.js} +8 -2
  63. package/dist/{chunk-66JTY4AN.js → chunk-JRN2CRXJ.js} +1 -1
  64. package/dist/{chunk-USZLHYEQ.js → chunk-K2SFH3GJ.js} +2 -2
  65. package/dist/{chunk-NM5V5EKY.js → chunk-K2WXMXI2.js} +1 -1
  66. package/dist/{chunk-62GLKE6Q.js → chunk-KDWEOT54.js} +21 -9
  67. package/dist/{chunk-PVWIBKV2.js → chunk-KQAPFIYF.js} +2 -2
  68. package/dist/{chunk-4SACN2C5.js → chunk-LGUFJ7Y2.js} +1 -1
  69. package/dist/{chunk-LAXMUSGW.js → chunk-LRHPBWOY.js} +4 -4
  70. package/dist/{chunk-5XBYLYYI.js → chunk-M4ZUIW3J.js} +3 -3
  71. package/dist/{chunk-S4SJ4LLY.js → chunk-MAYTYF5S.js} +3 -3
  72. package/dist/{chunk-P5XA627W.js → chunk-MVUNMJKO.js} +46 -52
  73. package/dist/{chunk-E7F76M3U.js → chunk-MYHR3PMH.js} +57 -5
  74. package/dist/{chunk-NBAAIRFP.js → chunk-NI4L6HEU.js} +4 -1
  75. package/dist/{chunk-A2A2I4Z4.js → chunk-O2HNVNKO.js} +2 -2
  76. package/dist/{chunk-4UVCTLRH.js → chunk-OAZ6BIIB.js} +3 -3
  77. package/dist/{chunk-IZHGT5HD.js → chunk-OO4GUE4E.js} +3 -3
  78. package/dist/{chunk-KSZB7TIY.js → chunk-OYGJZA24.js} +8 -8
  79. package/dist/{chunk-H6BT45SN.js → chunk-P2GNNEMN.js} +1 -1
  80. package/dist/{chunk-U6VS3T2M.js → chunk-P3PSLC2K.js} +4 -4
  81. package/dist/{chunk-HHVIE45A.js → chunk-P6LKX3IQ.js} +4 -4
  82. package/dist/{chunk-NMS5XSLX.js → chunk-PGD6CNWO.js} +1 -1
  83. package/dist/{chunk-NVZ7R4EK.js → chunk-PWZEJNO6.js} +3 -3
  84. package/dist/{chunk-NPDVWFAQ.js → chunk-QEU6VM4O.js} +1 -1
  85. package/dist/{chunk-UIEKW4SG.js → chunk-R5L5E3TC.js} +0 -1
  86. package/dist/{chunk-2WQ3YZMN.js → chunk-RGFVHYDP.js} +2 -2
  87. package/dist/{chunk-YQMIKX54.js → chunk-RIK6WUMO.js} +62 -29
  88. package/dist/{chunk-BH2SF4TT.js → chunk-RTRORHSP.js} +1 -1
  89. package/dist/{chunk-USE6HIOZ.js → chunk-RVOSA4RR.js} +845 -193
  90. package/dist/{chunk-LKZCUFOW.js → chunk-SCYVGPLI.js} +2 -2
  91. package/dist/{chunk-XIUGSUE4.js → chunk-SIABEREK.js} +6 -2
  92. package/dist/{chunk-R46N5KR4.js → chunk-SQBCNEJB.js} +2 -1
  93. package/dist/{chunk-VTESGA5F.js → chunk-THTYCJGF.js} +2 -2
  94. package/dist/{chunk-4EX4OKGZ.js → chunk-TIPNNOZC.js} +5 -5
  95. package/dist/{chunk-UZ7EZW3B.js → chunk-TO53KK2P.js} +6 -1
  96. package/dist/{chunk-LJGE43SG.js → chunk-TPCP2UOI.js} +3 -3
  97. package/dist/{chunk-Y3SIQN4J.js → chunk-TUOZ6AXC.js} +2 -2
  98. package/dist/{chunk-KRPLP5LP.js → chunk-U6N547QA.js} +1 -1
  99. package/dist/{chunk-BCV2VJTM.js → chunk-VJ7NLYFE.js} +2 -2
  100. package/dist/{chunk-UXNA2H2V.js → chunk-VLI6AWS3.js} +2 -2
  101. package/dist/{chunk-2J2CWWWK.js → chunk-VNAPEZX2.js} +1 -1
  102. package/dist/{chunk-EBVVMUAA.js → chunk-VVTCUIPN.js} +1 -1
  103. package/dist/{chunk-FVTYJUXR.js → chunk-W5MMPPGX.js} +2 -2
  104. package/dist/{chunk-BQMHJ6OW.js → chunk-WGNP5ND2.js} +20 -12
  105. package/dist/{chunk-5OTA2PUH.js → chunk-WLGOIMTI.js} +2 -2
  106. package/dist/{chunk-IGJEKO2P.js → chunk-WTPS73RM.js} +4 -4
  107. package/dist/{chunk-R6EGUTIV.js → chunk-YFIUABSF.js} +2 -2
  108. package/dist/{chunk-7PJBJ2DU.js → chunk-YSGOXZBB.js} +1 -1
  109. package/dist/{chunk-ZECJ7Q6C.js → chunk-YVIPJGFG.js} +2 -2
  110. package/dist/{chunk-5KKZXA44.js → chunk-ZBOIYC2G.js} +4 -2
  111. package/dist/{chunk-RBVFNUAL.js → chunk-ZOKD5F7M.js} +2 -2
  112. package/dist/{collapse-BSPH3BFM.js → collapse-6X5S2S3G.js} +2 -1
  113. package/dist/completion-registry.js +4 -38
  114. package/dist/countdown.js +1 -1
  115. package/dist/{dgmo-router-6YLKM6WU.js → dgmo-router-EPBQKQW2.js} +44 -45
  116. package/dist/{dimensions-DS6FWLRY.js → dimensions-DBCRBZIU.js} +4 -4
  117. package/dist/editor.js +2 -7
  118. package/dist/{flowchart-parser-J3VWIFWB.js → flowchart-parser-SM5LHF2D.js} +3 -3
  119. package/dist/{flowchart-renderer-FECH5KK5.js → flowchart-renderer-PPS2GTTD.js} +9 -9
  120. package/dist/highlight.js +3 -8
  121. package/dist/index.d.ts +42 -6
  122. package/dist/index.js +61 -56
  123. package/dist/{layout-MXHR3P35.js → layout-3J72UULM.js} +3 -3
  124. package/dist/{layout-TIBRMWHL.js → layout-AF4KA5B2.js} +3 -3
  125. package/dist/{layout-5SZ5A64I.js → layout-FCFUVCRI.js} +6 -6
  126. package/dist/{layout-KV27UW25.js → layout-H2KP5A6M.js} +1 -1
  127. package/dist/{layout-ND26WVX2.js → layout-IXQNVRBE.js} +3 -3
  128. package/dist/{layout-YBMT74MG.js → layout-KELSNWBD.js} +6 -6
  129. package/dist/{layout-JTIRCKAW.js → layout-LNVIH45F.js} +3 -3
  130. package/dist/{layout-EWXHEXNS.js → layout-MPSH3YWE.js} +6 -6
  131. package/dist/{layout-HFBK5UEG.js → layout-PPIVGJXD.js} +2 -2
  132. package/dist/{layout-RH3N46HP.js → layout-R6G4MEO3.js} +4 -3
  133. package/dist/{layout-search-AWPJWBKT.js → layout-search-C2TYUH4L.js} +4 -4
  134. package/dist/{parser-BT4NI6JY.js → parser-2AXU2MHJ.js} +3 -3
  135. package/dist/{parser-3QIFY5IN.js → parser-4BOP77CD.js} +2 -2
  136. package/dist/{parser-MA7L3XND.js → parser-4GHAYZKZ.js} +4 -4
  137. package/dist/{parser-LTRQASGB.js → parser-5HQPPVHJ.js} +3 -3
  138. package/dist/{parser-EAQPZX2B.js → parser-5RUD4A3X.js} +3 -3
  139. package/dist/{parser-BJ7RJNUM.js → parser-6WURFLOB.js} +3 -3
  140. package/dist/{parser-AR2GON37.js → parser-722KLLAQ.js} +4 -4
  141. package/dist/{parser-KMKVFET2.js → parser-B7SCN7FG.js} +2 -2
  142. package/dist/{parser-TUAEX6ML.js → parser-BNRX35NT.js} +3 -3
  143. package/dist/{parser-NL73FSFI.js → parser-BPYHIG24.js} +3 -3
  144. package/dist/{parser-3LT3ZUUC.js → parser-CRJYLOHA.js} +2 -2
  145. package/dist/{parser-NUU3DVW4.js → parser-DGLKH4NT.js} +2 -2
  146. package/dist/{parser-5UZV32ZI.js → parser-DRUGM3R6.js} +2 -2
  147. package/dist/{parser-KLCSFQ3J.js → parser-DWV2CYBS.js} +3 -3
  148. package/dist/{parser-2IKPQVKX.js → parser-F3JJNIFC.js} +3 -3
  149. package/dist/{parser-EFF22GYO.js → parser-F75WNYMK.js} +3 -3
  150. package/dist/{parser-RTWPFKXG.js → parser-GBQY3WOZ.js} +3 -3
  151. package/dist/{parser-F7NDRPMA.js → parser-GM5B2EPW.js} +3 -3
  152. package/dist/{parser-K2DI26SC.js → parser-H6HT2WFQ.js} +2 -2
  153. package/dist/{parser-PEZ7RN43.js → parser-HM6FEX5K.js} +3 -3
  154. package/dist/{parser-YG625J5H.js → parser-L7SI3PW4.js} +4 -4
  155. package/dist/{parser-GMQJISZ6.js → parser-LUJX7AXO.js} +2 -2
  156. package/dist/{parser-A3AN76RQ.js → parser-MWINQNQW.js} +3 -3
  157. package/dist/{parser-KJPPUN4D.js → parser-OHBBDCG4.js} +2 -2
  158. package/dist/{parser-BTSTKY5G.js → parser-QWTECQEC.js} +4 -4
  159. package/dist/{parser-4TBSWULQ.js → parser-TTGZYLYD.js} +3 -3
  160. package/dist/{parser-6TDWUKM5.js → parser-UHKROC7Z.js} +3 -3
  161. package/dist/{parser-H5OODY5N.js → parser-W6NX3AIV.js} +3 -3
  162. package/dist/{parser-GDLKUBTO.js → parser-WIKXZP4X.js} +2 -2
  163. package/dist/{parser-4Y6PODW6.js → parser-XEJP37GQ.js} +3 -3
  164. package/dist/{parser-RCIEKN7Y.js → parser-Y7QXD2UR.js} +2 -2
  165. package/dist/{parser-ZRIZFDZY.js → parser-ZV756RMP.js} +4 -4
  166. package/dist/{parser-KKF6Y5MM.js → parser-ZWWQZ4XZ.js} +4 -3
  167. package/dist/{redraw-AHW7EUUF.js → redraw-BZ4GI6IC.js} +6 -4
  168. package/dist/{redraw-STZ4WJAI.js → redraw-LEOXS7C6.js} +3 -3
  169. package/dist/{renderer-4VGO27EE.js → renderer-2MCV75JQ.js} +11 -11
  170. package/dist/{renderer-TINHO2IO.js → renderer-2V2XY2V7.js} +4 -4
  171. package/dist/{renderer-XDX6S7OV.js → renderer-5AEDVLAA.js} +8 -7
  172. package/dist/{renderer-W4MUMXJE.js → renderer-5GP7YUS4.js} +3 -3
  173. package/dist/{renderer-ACQQ2JXA.js → renderer-66NCRXSC.js} +6 -6
  174. package/dist/{renderer-AM7P4LN7.js → renderer-6HU44IGJ.js} +4 -4
  175. package/dist/{renderer-6BDK47V6.js → renderer-7C76HP5W.js} +6 -6
  176. package/dist/{renderer-O6RP52CQ.js → renderer-7RAMBMTH.js} +6 -6
  177. package/dist/{renderer-IGSHD3OT.js → renderer-BYLQ37T2.js} +8 -8
  178. package/dist/{renderer-7OGGV327.js → renderer-CVCCW7UT.js} +4 -4
  179. package/dist/{renderer-QTPWRRJ7.js → renderer-D6EH5UQ6.js} +6 -6
  180. package/dist/renderer-E3334XLT.js +84 -0
  181. package/dist/{renderer-IXBOT6DU.js → renderer-F7YGMEGQ.js} +2 -2
  182. package/dist/{renderer-XCLARXCK.js → renderer-GKY55M4Z.js} +5 -5
  183. package/dist/{renderer-KJ3V5BYP.js → renderer-LFZKG2GR.js} +5 -5
  184. package/dist/{renderer-2LYX6NHN.js → renderer-LJPUCG3U.js} +5 -5
  185. package/dist/{renderer-DAZWHNLI.js → renderer-MGF2NNGG.js} +3 -3
  186. package/dist/{renderer-HX6ICPDX.js → renderer-MVBAQP3M.js} +4 -4
  187. package/dist/{renderer-UGW4N2W5.js → renderer-MZIWP55B.js} +5 -5
  188. package/dist/{renderer-MWZC7TMD.js → renderer-N6PM5CSG.js} +7 -7
  189. package/dist/{renderer-ISQJ2ELA.js → renderer-N75E3UVY.js} +5 -5
  190. package/dist/{renderer-IVHD7ENY.js → renderer-ONENGXFQ.js} +6 -6
  191. package/dist/{renderer-RUSQJFFC.js → renderer-PEJF6R2I.js} +2 -2
  192. package/dist/{renderer-36446HSH.js → renderer-QZJZIAT3.js} +2 -2
  193. package/dist/{renderer-UTEEJDGB.js → renderer-SYRH3B62.js} +6 -6
  194. package/dist/{renderer-2QPHDBZY.js → renderer-TS5NHOQD.js} +5 -5
  195. package/dist/{renderer-Y47EM337.js → renderer-VNJOZPSH.js} +7 -7
  196. package/dist/{renderer-P3WR7TKD.js → renderer-VNUDN6F5.js} +11 -11
  197. package/dist/{renderer-JYHA6R2D.js → renderer-VUXAAGUG.js} +5 -5
  198. package/dist/{renderer-BXD5KVSR.js → renderer-YJVQT7QG.js} +6 -6
  199. package/dist/{renderer-radial-WFUX3Z3C.js → renderer-radial-4R7AKETK.js} +5 -5
  200. package/dist/{state-parser-PMNHLHLE.js → state-parser-EQBBEKHR.js} +4 -4
  201. package/dist/{state-renderer-JQ5DS66J.js → state-renderer-SOGZ2CNN.js} +11 -11
  202. package/dist/{themes-DzIH3Hjv.d.ts → themes-CbJL3w8L.d.ts} +1 -1
  203. package/docs/ai-integration.md +5 -6
  204. package/docs/language-reference.md +68 -104
  205. package/gallery/fixtures/whiteboard.dgmo +1 -0
  206. package/package.json +1 -1
  207. package/dist/chunk-6BQSDF77.js +0 -734
  208. package/dist/chunk-NWSPPGIE.js +0 -60
  209. package/dist/chunk-VBMRZCMQ.js +0 -1465
  210. package/dist/chunk-WZBZXZ6T.js +0 -636
  211. package/dist/layout-D4L44NRG.js +0 -11
  212. package/dist/parser-YHDGKPZI.js +0 -14
  213. package/dist/renderer-WPN2SXGT.js +0 -29
  214. package/dist/renderer-ZV6KCLCL.js +0 -85
  215. package/gallery/fixtures/sketch.dgmo +0 -22
package/dist/advanced.js CHANGED
@@ -1,3 +1,30 @@
1
+ import {
2
+ renderWireframe
3
+ } from "./chunk-TUOZ6AXC.js";
4
+ import {
5
+ layoutSwimlane
6
+ } from "./chunk-ERT7XDQW.js";
7
+ import {
8
+ renderSwimlaneForExport
9
+ } from "./chunk-W5MMPPGX.js";
10
+ import {
11
+ computeRadarLayout,
12
+ getRadarGeometry,
13
+ renderQuadrantFocus,
14
+ renderQuadrantFocusForExport,
15
+ renderTechRadar,
16
+ renderTechRadarForExport
17
+ } from "./chunk-ZOKD5F7M.js";
18
+ import {
19
+ layoutTreemapRadial,
20
+ renderTreemapRadial,
21
+ renderTreemapRadialForExport
22
+ } from "./chunk-PWZEJNO6.js";
23
+ import {
24
+ layoutTreemap,
25
+ renderTreemap,
26
+ renderTreemapForExport
27
+ } from "./chunk-WTPS73RM.js";
1
28
  import {
2
29
  renderVersionControl,
3
30
  renderVersionControlForExport
@@ -21,6 +48,9 @@ import {
21
48
  whiteboardConnectorPaint,
22
49
  whiteboardDrawBand,
23
50
  whiteboardDrawOrder,
51
+ whiteboardFilePath,
52
+ whiteboardFileWave,
53
+ whiteboardFileWavePoints,
24
54
  whiteboardLabelCentreY,
25
55
  whiteboardLabelHeight,
26
56
  whiteboardLabelPosition,
@@ -32,90 +62,28 @@ import {
32
62
  whiteboardShapeContains,
33
63
  whiteboardShapeLabel,
34
64
  wrapWhiteboardLabel
35
- } from "./chunk-E7F76M3U.js";
65
+ } from "./chunk-MYHR3PMH.js";
36
66
  import {
37
67
  layoutWireframe
38
68
  } from "./chunk-GLCMUTO5.js";
39
- import {
40
- renderWireframe
41
- } from "./chunk-Y3SIQN4J.js";
42
- import {
43
- renderSitemap,
44
- renderSitemapForExport
45
- } from "./chunk-JJ7RGTAU.js";
46
- import {
47
- SKETCH_AUTO_LAYOUT_DEFAULTS,
48
- SKETCH_FOOT_H,
49
- SKETCH_FOOT_W,
50
- SKETCH_GEOMETRY,
51
- SKETCH_HALF_SLOT_X,
52
- SKETCH_HALF_SLOT_Y,
53
- SKETCH_SEP,
54
- SKETCH_SLOT_X,
55
- SKETCH_SLOT_Y,
56
- collapseSketch,
57
- layoutSketch,
58
- sketchSlotToPx
59
- } from "./chunk-6BQSDF77.js";
60
- import {
61
- CONTAINER_FILL_OPACITY,
62
- CONTAINER_STROKE_OPACITY,
63
- CONTAINER_STROKE_WIDTH,
64
- SKETCH_VISUALS,
65
- renderSketch,
66
- renderSketchForExport,
67
- sketchColors,
68
- sketchContainerFill,
69
- sketchEdgeGeometry,
70
- sketchLabelSpot,
71
- sketchNeutralFill
72
- } from "./chunk-VBMRZCMQ.js";
73
- import {
74
- layoutSwimlane
75
- } from "./chunk-ERT7XDQW.js";
76
- import {
77
- renderSwimlaneForExport
78
- } from "./chunk-FVTYJUXR.js";
79
- import {
80
- computeRadarLayout,
81
- getRadarGeometry,
82
- renderQuadrantFocus,
83
- renderQuadrantFocusForExport,
84
- renderTechRadar,
85
- renderTechRadarForExport
86
- } from "./chunk-RBVFNUAL.js";
87
- import {
88
- layoutTreemapRadial,
89
- renderTreemapRadial,
90
- renderTreemapRadialForExport
91
- } from "./chunk-NVZ7R4EK.js";
92
- import {
93
- layoutTreemap,
94
- renderTreemap,
95
- renderTreemapForExport
96
- } from "./chunk-IGJEKO2P.js";
97
69
  import {
98
70
  measurePertAnalysisBlock,
99
71
  renderPert,
100
72
  renderPertAnalysisBlock,
101
73
  renderPertForExport
102
- } from "./chunk-KSZB7TIY.js";
103
- import {
104
- layoutPert,
105
- relayoutPert
106
- } from "./chunk-NBAAIRFP.js";
74
+ } from "./chunk-OYGJZA24.js";
107
75
  import {
108
76
  renderPyramid,
109
77
  renderPyramidForExport
110
- } from "./chunk-BH2SF4TT.js";
78
+ } from "./chunk-RTRORHSP.js";
111
79
  import {
112
80
  renderRaci,
113
81
  renderRaciForExport
114
- } from "./chunk-MLY5ALOV.js";
82
+ } from "./chunk-2BYFNZVM.js";
115
83
  import {
116
84
  renderRing,
117
85
  renderRingForExport
118
- } from "./chunk-GWQRTA5W.js";
86
+ } from "./chunk-HZX4QZGR.js";
119
87
  import {
120
88
  applyCollapseProjection,
121
89
  applyGroupOrdering,
@@ -125,27 +93,27 @@ import {
125
93
  computeActivations,
126
94
  groupMessagesBySection,
127
95
  renderSequenceDiagram
128
- } from "./chunk-62GLKE6Q.js";
96
+ } from "./chunk-KDWEOT54.js";
129
97
  import {
130
98
  layoutSitemap
131
- } from "./chunk-4XYZJTFO.js";
99
+ } from "./chunk-EM5SA7NC.js";
132
100
  import {
133
101
  collapseSitemapTree
134
102
  } from "./chunk-UNCCZ3NU.js";
135
103
  import {
136
- mapContentAspect,
137
- mapExportDimensions
138
- } from "./chunk-2I4UQG7W.js";
104
+ renderSitemap,
105
+ renderSitemapForExport
106
+ } from "./chunk-CD7VQCDL.js";
139
107
  import {
140
108
  collapseMindmapTree
141
- } from "./chunk-UZ7EZW3B.js";
109
+ } from "./chunk-TO53KK2P.js";
142
110
  import {
143
111
  renderMindmap,
144
112
  renderMindmapForExport
145
- } from "./chunk-RQTDUZUH.js";
113
+ } from "./chunk-BUVLLK3D.js";
146
114
  import {
147
115
  layoutMindmap
148
- } from "./chunk-BQMHJ6OW.js";
116
+ } from "./chunk-WGNP5ND2.js";
149
117
  import {
150
118
  collapseOrgTree,
151
119
  focusOrgTree
@@ -154,10 +122,10 @@ import "./chunk-BS7SV7C3.js";
154
122
  import {
155
123
  renderOrg,
156
124
  renderOrgForExport
157
- } from "./chunk-PGBTUGDB.js";
125
+ } from "./chunk-JBAFAKGX.js";
158
126
  import {
159
127
  layoutOrg
160
- } from "./chunk-A2A2I4Z4.js";
128
+ } from "./chunk-O2HNVNKO.js";
161
129
  import {
162
130
  analyzePert,
163
131
  buildSimulationContext,
@@ -166,6 +134,10 @@ import {
166
134
  simulateCanonical,
167
135
  simulateFast
168
136
  } from "./chunk-FOTH2WWP.js";
137
+ import {
138
+ layoutPert,
139
+ relayoutPert
140
+ } from "./chunk-NI4L6HEU.js";
169
141
  import {
170
142
  renderLiveLinkCard
171
143
  } from "./chunk-A6YINTY6.js";
@@ -176,14 +148,18 @@ import {
176
148
  renderMap,
177
149
  renderMapForExport,
178
150
  renderMapLayout
179
- } from "./chunk-HHVIE45A.js";
151
+ } from "./chunk-P6LKX3IQ.js";
152
+ import {
153
+ mapContentAspect,
154
+ mapExportDimensions
155
+ } from "./chunk-FHX373L5.js";
180
156
  import {
181
157
  albersSkewFallback,
182
158
  layoutMap,
183
159
  mapBackgroundColor,
184
160
  mapNeutralLandColor,
185
161
  rebuildMapProjection
186
- } from "./chunk-AM42TLSZ.js";
162
+ } from "./chunk-EMGNCG5C.js";
187
163
  import {
188
164
  decodeFeatures,
189
165
  regionAt
@@ -191,18 +167,18 @@ import {
191
167
  import {
192
168
  renderJourneyMap,
193
169
  renderJourneyMapForExport
194
- } from "./chunk-VF7IKIRS.js";
170
+ } from "./chunk-67RKJEKF.js";
195
171
  import {
196
172
  computeCardArchive,
197
173
  computeCardMove,
198
174
  isArchiveColumn,
199
175
  renderKanban,
200
176
  renderKanbanForExport
201
- } from "./chunk-RITTLIDJ.js";
177
+ } from "./chunk-IZFJZCF6.js";
202
178
  import {
203
179
  renderState,
204
180
  renderStateForExport
205
- } from "./chunk-XOMIYMQ3.js";
181
+ } from "./chunk-DKCVAQU3.js";
206
182
  import {
207
183
  collapseStateGroups
208
184
  } from "./chunk-SQ7IY53Q.js";
@@ -212,7 +188,7 @@ import {
212
188
  inferRoles,
213
189
  parseAndLayoutInfra,
214
190
  renderInfra
215
- } from "./chunk-4EX4OKGZ.js";
191
+ } from "./chunk-TIPNNOZC.js";
216
192
  import {
217
193
  computeInfra
218
194
  } from "./chunk-EQJ3U5EW.js";
@@ -221,42 +197,42 @@ import {
221
197
  } from "./chunk-5P2L5QXE.js";
222
198
  import {
223
199
  layoutJourneyMap
224
- } from "./chunk-EBIDNRSR.js";
200
+ } from "./chunk-5H7SA5ZD.js";
225
201
  import {
226
202
  calculateSchedule,
227
203
  collectTasks,
228
204
  resolveTaskName
229
- } from "./chunk-66JTY4AN.js";
205
+ } from "./chunk-JRN2CRXJ.js";
230
206
  import {
231
207
  buildTagLaneRowList,
232
208
  renderGantt
233
- } from "./chunk-IZHGT5HD.js";
209
+ } from "./chunk-OO4GUE4E.js";
234
210
  import {
235
211
  renderGoal,
236
212
  renderGoalForExport
237
- } from "./chunk-FWVE373X.js";
238
- import "./chunk-CN4RDJDV.js";
213
+ } from "./chunk-AQRSEQZV.js";
214
+ import "./chunk-5LG526X7.js";
239
215
  import {
240
216
  renderFlowchart,
241
217
  renderFlowchartForExport
242
- } from "./chunk-LAXMUSGW.js";
218
+ } from "./chunk-LRHPBWOY.js";
243
219
  import "./chunk-26EVL454.js";
244
220
  import {
245
221
  layoutGraph
246
- } from "./chunk-EXHXTMVR.js";
222
+ } from "./chunk-5GU6C5WB.js";
247
223
  import {
248
224
  renderERDiagram,
249
225
  renderERDiagramForExport
250
- } from "./chunk-IQN2NGEU.js";
226
+ } from "./chunk-IKXQ6NVR.js";
251
227
  import {
252
228
  layoutERDiagram
253
- } from "./chunk-7IALGIOI.js";
229
+ } from "./chunk-3W73ZP6W.js";
254
230
  import {
255
231
  clearEventLineMuted,
256
232
  focusEventLine,
257
233
  renderEventLine,
258
234
  renderEventLineForExport
259
- } from "./chunk-6EFCOES2.js";
235
+ } from "./chunk-CP73WWLN.js";
260
236
  import "./chunk-R2K5L4UA.js";
261
237
  import {
262
238
  layoutFamily
@@ -264,12 +240,12 @@ import {
264
240
  import {
265
241
  renderFamily,
266
242
  renderFamilyForExport
267
- } from "./chunk-C6G36F5S.js";
243
+ } from "./chunk-7UWVHNPM.js";
268
244
  import "./chunk-IVKC4GID.js";
269
245
  import {
270
246
  renderClassDiagram,
271
247
  renderClassDiagramForExport
272
- } from "./chunk-L5S32VZJ.js";
248
+ } from "./chunk-5BG4OSWJ.js";
273
249
  import {
274
250
  renderClock,
275
251
  renderClockForExport
@@ -283,11 +259,11 @@ import {
283
259
  computeCycleLayout,
284
260
  renderCycle,
285
261
  renderCycleForExport
286
- } from "./chunk-OSSTOSXU.js";
262
+ } from "./chunk-2M3K6GD2.js";
287
263
  import {
288
264
  renderBracket,
289
265
  renderBracketForExport
290
- } from "./chunk-XJQ6Z3FO.js";
266
+ } from "./chunk-IQZSKWE5.js";
291
267
  import {
292
268
  renderC4ComponentsForExport,
293
269
  renderC4Containers,
@@ -296,41 +272,42 @@ import {
296
272
  renderC4ContextForExport,
297
273
  renderC4Deployment,
298
274
  renderC4DeploymentForExport
299
- } from "./chunk-IHN6WDEY.js";
275
+ } from "./chunk-4B45SNZH.js";
300
276
  import {
301
277
  CYLINDER_RY,
278
+ FILE_WAVE,
302
279
  QUEUE_CAP,
303
280
  layoutC4Components,
304
281
  layoutC4Containers,
305
282
  layoutC4Context,
306
283
  layoutC4Deployment,
307
284
  rollUpContextRelationships
308
- } from "./chunk-5KKZXA44.js";
285
+ } from "./chunk-ZBOIYC2G.js";
309
286
  import {
310
287
  layoutClassDiagram
311
- } from "./chunk-BCV2VJTM.js";
312
- import "./chunk-2J2CWWWK.js";
288
+ } from "./chunk-VJ7NLYFE.js";
289
+ import "./chunk-VNAPEZX2.js";
313
290
  import {
314
291
  authoredCollapsedIds,
315
292
  layoutBlock,
316
293
  renderBlock,
317
294
  renderBlockForExport
318
- } from "./chunk-QPQWY5RU.js";
295
+ } from "./chunk-B5CEV7IR.js";
319
296
  import {
320
297
  renderBody,
321
298
  renderBodyForExport
322
- } from "./chunk-ZD3QCNB7.js";
299
+ } from "./chunk-GLL237AP.js";
323
300
  import {
324
301
  renderBoxesAndLines,
325
302
  renderBoxesAndLinesForExport
326
- } from "./chunk-V5D6GDNK.js";
303
+ } from "./chunk-H7JVKUA5.js";
327
304
  import "./chunk-B5DHFFZP.js";
328
305
  import "./chunk-XBJJP2HN.js";
329
- import "./chunk-VB4VMB2I.js";
306
+ import "./chunk-5G4DOOX2.js";
330
307
  import "./chunk-VGAMBOOC.js";
331
308
  import {
332
309
  layoutBoxesAndLines
333
- } from "./chunk-VTESGA5F.js";
310
+ } from "./chunk-THTYCJGF.js";
334
311
  import "./chunk-WTTIODDV.js";
335
312
  import "./chunk-IN7XI6NO.js";
336
313
  import {
@@ -349,12 +326,13 @@ import {
349
326
  renderSlopeChart,
350
327
  renderVenn,
351
328
  renderWordCloud
352
- } from "./chunk-USE6HIOZ.js";
329
+ } from "./chunk-RVOSA4RR.js";
353
330
  import {
354
331
  renderLegendSvg,
355
332
  renderLegendSvgFromConfig
356
- } from "./chunk-YQMIKX54.js";
357
- import "./chunk-USZLHYEQ.js";
333
+ } from "./chunk-RIK6WUMO.js";
334
+ import "./chunk-6K2W3FH7.js";
335
+ import "./chunk-K2SFH3GJ.js";
358
336
  import {
359
337
  CHART_TYPE_DESCRIPTIONS,
360
338
  chartTypeParsers,
@@ -364,40 +342,33 @@ import {
364
342
  knownChartTypeIds,
365
343
  parseDgmo,
366
344
  parseVisualization
367
- } from "./chunk-P5XA627W.js";
345
+ } from "./chunk-MVUNMJKO.js";
368
346
  import {
369
347
  getExtendedChartLegendGroups,
370
348
  getSimpleChartLegendGroups,
371
349
  parseChart,
372
350
  parseDataRowValues,
373
351
  parseExtendedChart
374
- } from "./chunk-H6BT45SN.js";
375
- import {
376
- parsePyramid
377
- } from "./chunk-3PP746YM.js";
352
+ } from "./chunk-P2GNNEMN.js";
378
353
  import {
379
354
  parseRing
380
- } from "./chunk-NM5V5EKY.js";
355
+ } from "./chunk-K2WXMXI2.js";
381
356
  import {
382
357
  parseTreemap
383
- } from "./chunk-3KVUFHUJ.js";
358
+ } from "./chunk-EPB3UEMD.js";
384
359
  import "./chunk-EOYPX6SF.js";
385
360
  import "./chunk-KMU65FYM.js";
386
361
  import {
387
362
  parseVersionControl
388
- } from "./chunk-2ZW4NBYX.js";
363
+ } from "./chunk-FBK32S4D.js";
389
364
  import {
390
365
  looksLikeMap,
391
366
  parseMap
392
- } from "./chunk-AULZD45V.js";
393
- import {
394
- parseSketch
395
- } from "./chunk-WZBZXZ6T.js";
396
- import "./chunk-NWSPPGIE.js";
367
+ } from "./chunk-5ARANBIE.js";
397
368
  import {
398
369
  isWhiteboardImageRef,
399
370
  parseWhiteboard
400
- } from "./chunk-U6VS3T2M.js";
371
+ } from "./chunk-P3PSLC2K.js";
401
372
  import {
402
373
  WHITEBOARD_COLORS,
403
374
  WHITEBOARD_ELEMENT_KEYWORDS,
@@ -411,38 +382,42 @@ import {
411
382
  WHITEBOARD_STROKE_STYLES,
412
383
  isWhiteboardColor,
413
384
  isWhiteboardShapeKind
414
- } from "./chunk-R46N5KR4.js";
385
+ } from "./chunk-SQBCNEJB.js";
415
386
  import {
416
387
  parseSwimlane
417
- } from "./chunk-J7Q4AB23.js";
388
+ } from "./chunk-B7BSRVNC.js";
418
389
  import {
419
390
  parseMindmap
420
- } from "./chunk-XIUGSUE4.js";
391
+ } from "./chunk-SIABEREK.js";
392
+ import "./chunk-35A3J4Z5.js";
421
393
  import {
422
394
  parseTechRadar
423
- } from "./chunk-EBVVMUAA.js";
395
+ } from "./chunk-VVTCUIPN.js";
396
+ import {
397
+ parsePyramid
398
+ } from "./chunk-B2YVZ3QU.js";
424
399
  import {
425
400
  parseKanban
426
- } from "./chunk-LKZCUFOW.js";
401
+ } from "./chunk-SCYVGPLI.js";
427
402
  import {
428
403
  INFRA_BEHAVIOR_KEYS,
429
404
  extractSymbols as extractSymbols4,
430
405
  parseInfra
431
- } from "./chunk-UXNA2H2V.js";
406
+ } from "./chunk-VLI6AWS3.js";
432
407
  import {
433
408
  parseJourneyMap
434
- } from "./chunk-PGSGJLUR.js";
409
+ } from "./chunk-GM2SLMQW.js";
435
410
  import {
436
411
  parseGoal
437
- } from "./chunk-7PJBJ2DU.js";
412
+ } from "./chunk-YSGOXZBB.js";
438
413
  import "./chunk-EPDBWATV.js";
439
414
  import {
440
415
  parseEventLine
441
- } from "./chunk-3GUEYQGL.js";
416
+ } from "./chunk-ITDF3MWD.js";
442
417
  import {
443
418
  formatDateLabel,
444
419
  renderTimeline
445
- } from "./chunk-TASRGDYP.js";
420
+ } from "./chunk-GEHK4UD5.js";
446
421
  import "./chunk-6XLMTAEX.js";
447
422
  import {
448
423
  computeTimeTicks
@@ -450,22 +425,22 @@ import {
450
425
  import {
451
426
  addDurationToDate,
452
427
  parseTimelineDate
453
- } from "./chunk-BQO24BDM.js";
428
+ } from "./chunk-AUXUNV73.js";
454
429
  import {
455
430
  parseFamily
456
- } from "./chunk-R6EGUTIV.js";
431
+ } from "./chunk-YFIUABSF.js";
457
432
  import "./chunk-QQJUTGQH.js";
458
433
  import "./chunk-2CW5ZTNH.js";
459
434
  import {
460
435
  parseGantt
461
- } from "./chunk-PVWIBKV2.js";
436
+ } from "./chunk-KQAPFIYF.js";
462
437
  import "./chunk-TOHTKLKE.js";
463
438
  import {
464
439
  normalizePlace,
465
440
  parseClock,
466
441
  resolvePlace,
467
442
  searchZones
468
- } from "./chunk-NXU4N5WT.js";
443
+ } from "./chunk-EZ6BI5LL.js";
469
444
  import {
470
445
  fixedParts,
471
446
  fixedTimeCells,
@@ -481,7 +456,7 @@ import {
481
456
  import {
482
457
  parseCountdown,
483
458
  targetToMs as targetToMs2
484
- } from "./chunk-KBEWVCK3.js";
459
+ } from "./chunk-I2I2FKAK.js";
485
460
  import {
486
461
  applyOrdinalTemplate,
487
462
  dayDelta,
@@ -503,37 +478,37 @@ import {
503
478
  } from "./chunk-3DPOIW3W.js";
504
479
  import {
505
480
  parseCycle
506
- } from "./chunk-NPDVWFAQ.js";
481
+ } from "./chunk-QEU6VM4O.js";
507
482
  import {
508
483
  parseBracket
509
- } from "./chunk-2WQ3YZMN.js";
484
+ } from "./chunk-RGFVHYDP.js";
510
485
  import {
511
486
  layoutBracket
512
487
  } from "./chunk-ZI6WC24V.js";
513
488
  import "./chunk-CYRB2JTN.js";
514
489
  import {
515
490
  parseC4
516
- } from "./chunk-IXHWS2HI.js";
491
+ } from "./chunk-BD4O4D2A.js";
517
492
  import {
518
493
  parseBlock
519
- } from "./chunk-BRGRIZQB.js";
494
+ } from "./chunk-DWMQ24JR.js";
520
495
  import "./chunk-XSVWUOUZ.js";
521
496
  import {
522
497
  parseBody
523
- } from "./chunk-JXGSTBW6.js";
498
+ } from "./chunk-IU7XKZA6.js";
524
499
  import "./chunk-H7AXCRO7.js";
525
500
  import {
526
501
  parseBoxesAndLines
527
- } from "./chunk-4UVCTLRH.js";
502
+ } from "./chunk-OAZ6BIIB.js";
528
503
  import {
529
504
  ScaleContext
530
505
  } from "./chunk-24YPR5EH.js";
531
- import "./chunk-UIEKW4SG.js";
506
+ import "./chunk-R5L5E3TC.js";
532
507
  import "./chunk-VLC6WNRD.js";
533
508
  import "./chunk-XCKNFFKM.js";
534
509
  import {
535
510
  renderLegendD3
536
- } from "./chunk-NMS5XSLX.js";
511
+ } from "./chunk-PGD6CNWO.js";
537
512
  import {
538
513
  computeLegendLayout,
539
514
  controlsGroupCapsuleWidth,
@@ -543,7 +518,7 @@ import {
543
518
  import {
544
519
  normalizePertSourceForShare,
545
520
  resolveOrgImports
546
- } from "./chunk-AQQUJEDN.js";
521
+ } from "./chunk-FKJWZWNU.js";
547
522
  import {
548
523
  decodeDiagramUrl,
549
524
  decodeViewState,
@@ -552,44 +527,44 @@ import {
552
527
  } from "./chunk-6OSGENN5.js";
553
528
  import {
554
529
  parseDgmoChartType
555
- } from "./chunk-BTP2BMWN.js";
530
+ } from "./chunk-I3ZRIMR7.js";
556
531
  import {
557
532
  allTasks,
558
533
  parseRaci
559
- } from "./chunk-KRPLP5LP.js";
534
+ } from "./chunk-U6N547QA.js";
560
535
  import {
561
536
  parseLiveLink
562
- } from "./chunk-KBDMEOLI.js";
537
+ } from "./chunk-DPNSDCR3.js";
563
538
  import {
564
539
  isSequenceBlock,
565
540
  isSequenceNote,
566
541
  looksLikeSequence,
567
542
  parseSequenceDgmo
568
- } from "./chunk-VSAKEMDD.js";
543
+ } from "./chunk-JCC3B2GS.js";
569
544
  import {
570
545
  findOrgNodeIdByName,
571
546
  parseOrg
572
- } from "./chunk-5OTA2PUH.js";
547
+ } from "./chunk-WLGOIMTI.js";
573
548
  import {
574
549
  looksLikeSitemap,
575
550
  parseSitemap
576
- } from "./chunk-ZECJ7Q6C.js";
551
+ } from "./chunk-YVIPJGFG.js";
577
552
  import {
578
553
  extractPertSymbols,
579
554
  looksLikePert,
580
555
  parsePert
581
- } from "./chunk-CDM6XMOT.js";
556
+ } from "./chunk-34JOHSVE.js";
582
557
  import "./chunk-2SKMEL7V.js";
583
558
  import {
584
559
  extractSymbols as extractSymbols3,
585
560
  looksLikeFlowchart,
586
561
  parseFlowchart
587
- } from "./chunk-IY62DXT2.js";
562
+ } from "./chunk-H7RQG4PH.js";
588
563
  import "./chunk-TIVMAITN.js";
589
564
  import {
590
565
  looksLikeState,
591
566
  parseState
592
- } from "./chunk-LJGE43SG.js";
567
+ } from "./chunk-TPCP2UOI.js";
593
568
  import "./chunk-NXMESY4J.js";
594
569
  import "./chunk-EQW6HOP4.js";
595
570
  import "./chunk-MKSTL6DR.js";
@@ -601,7 +576,7 @@ import {
601
576
  extractSymbols as extractSymbols2,
602
577
  looksLikeERDiagram,
603
578
  parseERDiagram
604
- } from "./chunk-S4SJ4LLY.js";
579
+ } from "./chunk-MAYTYF5S.js";
605
580
  import {
606
581
  RULE_COUNT,
607
582
  inferParticipantType
@@ -611,7 +586,7 @@ import {
611
586
  extractSymbols,
612
587
  looksLikeClassDiagram,
613
588
  parseClassDiagram
614
- } from "./chunk-5XBYLYYI.js";
589
+ } from "./chunk-M4ZUIW3J.js";
615
590
  import {
616
591
  palettes
617
592
  } from "./chunk-GXCDD6NG.js";
@@ -634,7 +609,7 @@ import {
634
609
  parseInArrowLabel,
635
610
  validateLabelCharacters
636
611
  } from "./chunk-N7VMGZCU.js";
637
- import "./chunk-KLBTJEIK.js";
612
+ import "./chunk-HH3DHNQA.js";
638
613
  import {
639
614
  displayName,
640
615
  getOrCreateName,
@@ -652,7 +627,7 @@ import {
652
627
  } from "./chunk-ICLB27PZ.js";
653
628
  import {
654
629
  parseWireframe
655
- } from "./chunk-GI5R5B3S.js";
630
+ } from "./chunk-D7DGLJ7N.js";
656
631
  import {
657
632
  RACI_ERROR_CODES,
658
633
  RACI_WARNING_CODES,
@@ -665,13 +640,13 @@ import {
665
640
  resolveTagColor,
666
641
  resolveTagValue,
667
642
  tagAttrKey
668
- } from "./chunk-4SACN2C5.js";
643
+ } from "./chunk-LGUFJ7Y2.js";
669
644
  import {
670
645
  ALL_CHART_TYPES,
671
646
  chartTypes,
672
647
  measureIndent,
673
648
  parseFirstLine
674
- } from "./chunk-TIIZIAGS.js";
649
+ } from "./chunk-FUYEXLAN.js";
675
650
  import "./chunk-Z6QFHH4D.js";
676
651
  import {
677
652
  LEGEND_CAPSULE_PAD,
@@ -780,165 +755,6 @@ function collapseBoxesAndLines(parsed, collapsedGroups) {
780
755
  };
781
756
  }
782
757
 
783
- // src/sketch/emit.ts
784
- var LIFTED_KEYS = /* @__PURE__ */ new Set(["shape", "at", "as"]);
785
- function atText(at) {
786
- return at ? `at: ${String(at.c)} ${String(at.r)}` : null;
787
- }
788
- function safeValue(value) {
789
- return value.includes(",") ? value.replace(/,/g, " \u2014") : value;
790
- }
791
- function tailFor(thing, at, extra = []) {
792
- const alias = thing.alias !== void 0 ? ` as ${thing.alias}` : "";
793
- const parts = [];
794
- const atPart = atText(at);
795
- if (atPart) parts.push(atPart);
796
- for (const [k, v] of Object.entries(thing.metadata)) {
797
- if (LIFTED_KEYS.has(k)) continue;
798
- parts.push(`${k}: ${safeValue(v)}`);
799
- }
800
- parts.push(...extra);
801
- return `${alias}${parts.length > 0 ? ` ${parts.join(", ")}` : ""}`;
802
- }
803
- function shapeLine(node, indent) {
804
- const out = [`${indent}${node.label}${tailFor(node, node.at)}`];
805
- if (node.description !== void 0 && node.description !== "") {
806
- for (const line2 of node.description.split("\n")) {
807
- out.push(`${indent} > ${line2}`);
808
- }
809
- }
810
- return out;
811
- }
812
- function boxLine(box, indent) {
813
- const extra = box.collapsed ? ["collapsed"] : [];
814
- return `${indent}[${box.label}]${tailFor(box, box.at, extra)}`;
815
- }
816
- function edgeText(edge, target) {
817
- const d = edge.dashed;
818
- const label = edge.label ?? "";
819
- const tail = tailFor(edge, null);
820
- if (label === "") {
821
- if (edge.heads === "none") return `${d ? "~~" : "--"} ${target}${tail}`;
822
- if (edge.heads === "both") return `${d ? "<~>" : "<->"} ${target}${tail}`;
823
- return `${d ? "~>" : "->"} ${target}${tail}`;
824
- }
825
- const l = safeValue(label);
826
- if (edge.heads === "none")
827
- return `${d ? "~" : "-"}${l}${d ? "~" : "-"} ${target}${tail}`;
828
- if (edge.heads === "both")
829
- return `${d ? "<~" : "<-"}${l}${d ? "~>" : "->"} ${target}${tail}`;
830
- return `${d ? "~" : "-"}${l}${d ? "~>" : "->"} ${target}${tail}`;
831
- }
832
- function emitSketch(parsed) {
833
- const lines = [];
834
- lines.push(parsed.title ? `sketch ${parsed.title}` : "sketch");
835
- const o = parsed.options;
836
- if (o.noLegend) lines.push("no-legend");
837
- if (o.legendInline === true) lines.push("legend-inline");
838
- if (o.fillMode === "solid") lines.push("fill-solid");
839
- if (o.fillMode === "outline") lines.push("fill-outline");
840
- if (o.noDescriptions) lines.push("no-descriptions");
841
- for (const group of parsed.tagGroups) {
842
- lines.push("");
843
- lines.push(
844
- group.alias !== void 0 ? `tag ${group.name} as ${group.alias}` : `tag ${group.name}`
845
- );
846
- for (const entry of group.entries) {
847
- const isDefault = group.defaultValue !== void 0 && entry.value === group.defaultValue;
848
- const colour = entry.authoredColor === void 0 ? "" : ` ${entry.authoredColor}`;
849
- lines.push(` ${entry.value}${colour}${isDefault ? " default" : ""}`);
850
- }
851
- }
852
- const refOf = (id) => {
853
- const node = parsed.nodes.find((n) => n.id === id);
854
- if (node) return node.alias ?? node.label;
855
- const box = parsed.boxes.find((b) => b.id === id);
856
- if (box) return box.alias ?? `[${box.label}]`;
857
- return id;
858
- };
859
- const edgesBySource = /* @__PURE__ */ new Map();
860
- for (const edge of parsed.edges) {
861
- const list = edgesBySource.get(edge.sourceId);
862
- if (list) list.push(edge);
863
- else edgesBySource.set(edge.sourceId, [edge]);
864
- }
865
- const emitEdgesFor = (id, indent) => {
866
- for (const edge of edgesBySource.get(id) ?? []) {
867
- lines.push(`${indent}${edgeText(edge, refOf(edge.targetId))}`);
868
- }
869
- };
870
- const nodesByBox = /* @__PURE__ */ new Map();
871
- const rootNodes = [];
872
- for (const node of parsed.nodes) {
873
- if (node.boxLabel === void 0) {
874
- rootNodes.push(node);
875
- continue;
876
- }
877
- const list = nodesByBox.get(node.boxLabel);
878
- if (list) list.push(node);
879
- else nodesByBox.set(node.boxLabel, [node]);
880
- }
881
- const emitBox = (box, depth) => {
882
- const indent = " ".repeat(depth);
883
- lines.push("");
884
- lines.push(boxLine(box, indent));
885
- emitEdgesFor(box.id, `${indent} `);
886
- for (const node of nodesByBox.get(box.label) ?? []) {
887
- lines.push(...shapeLine(node, `${indent} `));
888
- emitEdgesFor(node.id, `${indent} `);
889
- }
890
- for (const childId of box.childBoxes) {
891
- const child = parsed.boxes.find((b) => b.id === childId);
892
- if (child) emitBox(child, depth + 1);
893
- }
894
- };
895
- for (const node of rootNodes) {
896
- lines.push("");
897
- lines.push(...shapeLine(node, ""));
898
- emitEdgesFor(node.id, " ");
899
- }
900
- for (const box of parsed.boxes) {
901
- if (box.parentBoxId !== null) continue;
902
- emitBox(box, 0);
903
- }
904
- return `${lines.join("\n")}
905
- `;
906
- }
907
- function canonicalSketch(parsed) {
908
- const nameOf = (id) => {
909
- const node = parsed.nodes.find((n) => n.id === id);
910
- if (node) return `n:${node.label}`;
911
- const box = parsed.boxes.find((b) => b.id === id);
912
- if (box) return `b:${box.label}`;
913
- return `?:${id}`;
914
- };
915
- const meta = (m) => Object.entries(m).filter(([k]) => !LIFTED_KEYS.has(k)).sort(([a], [b]) => a.localeCompare(b)).map(([k, v]) => `${k}=${v}`).join(";");
916
- return {
917
- title: parsed.title,
918
- options: JSON.stringify({
919
- noLegend: parsed.options.noLegend,
920
- legendInline: parsed.options.legendInline === true,
921
- fillMode: parsed.options.fillMode ?? null,
922
- noDescriptions: parsed.options.noDescriptions
923
- }),
924
- tags: parsed.tagGroups.map(
925
- (g) => `${g.name}[${g.entries.map((e) => e.value).join("|")}]${g.defaultValue ?? ""}`
926
- ).sort().join(","),
927
- nodes: parsed.nodes.map(
928
- (n) => `${n.label}|${n.at ? `${String(n.at.c)},${String(n.at.r)}` : "-"}|${n.boxLabel ?? "-"}|${n.description ?? ""}|${meta(n.metadata)}`
929
- ).sort(),
930
- boxes: parsed.boxes.map(
931
- (b) => `${b.label}|${b.at ? `${String(b.at.c)},${String(b.at.r)}` : "-"}|${String(b.collapsed)}|${b.parentBoxId === null ? "-" : parsed.boxes.find((x) => x.id === b.parentBoxId)?.label ?? "?"}|${meta(b.metadata)}`
932
- ).sort(),
933
- edges: parsed.edges.map(
934
- (e) => `${nameOf(e.sourceId)}->${nameOf(e.targetId)}|${e.label ?? ""}|${e.heads}|${String(e.dashed)}`
935
- ).sort()
936
- };
937
- }
938
- function sameSketch(a, b) {
939
- return JSON.stringify(canonicalSketch(a)) === JSON.stringify(canonicalSketch(b));
940
- }
941
-
942
758
  // src/whiteboard/emit.ts
943
759
  var NEEDS_QUOTES_RE = /(^|\s)[a-z][a-z-]*:(\s|$)|^["']/;
944
760
  function nameText(name) {
@@ -1522,7 +1338,7 @@ function redrawIfStale(node, svg, now2, resolvedMs, tz) {
1522
1338
  }
1523
1339
  if (!svg.hasAttribute("data-dgmo-countdown-redraw")) return;
1524
1340
  redrawing.add(svg);
1525
- void import("./redraw-STZ4WJAI.js").then((m) => {
1341
+ void import("./redraw-LEOXS7C6.js").then((m) => {
1526
1342
  m.redrawCountdown(svg, resolvedMs);
1527
1343
  redrawing.delete(svg);
1528
1344
  }).catch(() => {
@@ -2457,7 +2273,10 @@ function textFromSvg(svg) {
2457
2273
  return parts.join("").replace(
2458
2274
  /&#x([0-9a-f]+);/gi,
2459
2275
  (_, hex) => String.fromCodePoint(parseInt(hex, 16))
2460
- ).replace(/&#(\d+);/g, (_, dec) => String.fromCodePoint(parseInt(dec, 10))).replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
2276
+ ).replace(
2277
+ /&#(\d+);/g,
2278
+ (_, dec) => String.fromCodePoint(parseInt(dec, 10))
2279
+ ).replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&apos;/g, "'").replace(/&amp;/g, "&");
2461
2280
  }
2462
2281
  function uncoveredCharacters(text, coverage) {
2463
2282
  const byScript = /* @__PURE__ */ new Map();
@@ -2489,6 +2308,17 @@ function fontPortabilityWarning(runs) {
2489
2308
  }).join(", ");
2490
2309
  return `This diagram uses characters the bundled Inter font does not contain: ${described}. They were drawn with a font installed on this machine, so the image is correct here \u2014 but a machine without a font for those characters draws nothing at all, with no error. Install a font covering them wherever this runs, or check the output there.`;
2491
2310
  }
2311
+ var EMOJI_ATOM = [
2312
+ "[\\u{1F1E6}-\\u{1F1FF}]{2}",
2313
+ // a flag: two regional indicators
2314
+ "[0-9#*]\\uFE0F?\\u20E3",
2315
+ // a keycap
2316
+ "(?:\\p{Emoji_Presentation}|\\p{Extended_Pictographic}(?=\\uFE0F)|(?=\\p{Extended_Pictographic})[\\u{1F000}-\\u{1FFFF}])[\\u{1F3FB}-\\u{1F3FF}]?\\uFE0F?[\\u{E0020}-\\u{E007F}]*"
2317
+ ].join("|");
2318
+ var EMOJI = new RegExp(
2319
+ `(?:${EMOJI_ATOM})(?:\\u200D(?:${EMOJI_ATOM}))*`,
2320
+ "gu"
2321
+ );
2492
2322
 
2493
2323
  // src/cloud-space.ts
2494
2324
  var CLOUD_API = "https://api.diagrammo.app";
@@ -2645,13 +2475,11 @@ export {
2645
2475
  ARROW_DIAGNOSTIC_CODES,
2646
2476
  CHART_TYPE_DESCRIPTIONS,
2647
2477
  CLOUD_API,
2648
- CONTAINER_FILL_OPACITY,
2649
- CONTAINER_STROKE_OPACITY,
2650
- CONTAINER_STROKE_WIDTH,
2651
2478
  CYLINDER_RY,
2652
2479
  CloudSpaceError,
2653
2480
  DEFAULT_FONT_NAME,
2654
2481
  EXAMPLES_SHOWN,
2482
+ FILE_WAVE,
2655
2483
  FLOWCHART_STRUCTURE_CODE,
2656
2484
  FONT_FAMILY,
2657
2485
  DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY,
@@ -2676,16 +2504,6 @@ export {
2676
2504
  RACI_WARNING_CODES,
2677
2505
  RECOGNIZED_COLOR_NAMES,
2678
2506
  RULE_COUNT,
2679
- SKETCH_AUTO_LAYOUT_DEFAULTS,
2680
- SKETCH_FOOT_H,
2681
- SKETCH_FOOT_W,
2682
- SKETCH_GEOMETRY,
2683
- SKETCH_HALF_SLOT_X,
2684
- SKETCH_HALF_SLOT_Y,
2685
- SKETCH_SEP,
2686
- SKETCH_SLOT_X,
2687
- SKETCH_SLOT_Y,
2688
- SKETCH_VISUALS,
2689
2507
  ScaleContext,
2690
2508
  WHITEBOARD_COLORS,
2691
2509
  WHITEBOARD_CONTAINER_FONT,
@@ -2717,7 +2535,6 @@ export {
2717
2535
  buildSimulationContext,
2718
2536
  buildTagLaneRowList,
2719
2537
  calculateSchedule,
2720
- canonicalSketch,
2721
2538
  catppuccinPalette,
2722
2539
  chartTypeParsers,
2723
2540
  chartTypes,
@@ -2728,7 +2545,6 @@ export {
2728
2545
  collapseMindmapTree,
2729
2546
  collapseOrgTree,
2730
2547
  collapseSitemapTree,
2731
- collapseSketch,
2732
2548
  collapseStateGroups,
2733
2549
  collectDiagramRoles,
2734
2550
  collectTasks,
@@ -2751,7 +2567,6 @@ export {
2751
2567
  decodeDiagramUrl,
2752
2568
  decodeViewState,
2753
2569
  displayName,
2754
- emitSketch,
2755
2570
  emitWhiteboard,
2756
2571
  emitWhiteboardElement,
2757
2572
  encodeDiagramUrl,
@@ -2828,7 +2643,6 @@ export {
2828
2643
  layoutOrg,
2829
2644
  layoutPert,
2830
2645
  layoutSitemap,
2831
- layoutSketch,
2832
2646
  layoutSwimlane,
2833
2647
  layoutTreemap,
2834
2648
  layoutTreemapRadial,
@@ -2900,7 +2714,6 @@ export {
2900
2714
  parseSequenceDgmo,
2901
2715
  parseSequenceDgmo as parseSequenceDiagram,
2902
2716
  parseSitemap,
2903
- parseSketch,
2904
2717
  parseState,
2905
2718
  parseSwimlane,
2906
2719
  parseTechRadar,
@@ -2988,8 +2801,6 @@ export {
2988
2801
  renderSequenceDiagram,
2989
2802
  renderSitemap,
2990
2803
  renderSitemapForExport,
2991
- renderSketch,
2992
- renderSketchForExport,
2993
2804
  renderSlopeChart,
2994
2805
  renderState,
2995
2806
  renderStateForExport,
@@ -3017,7 +2828,6 @@ export {
3017
2828
  resolveTagValue,
3018
2829
  resolveTaskName,
3019
2830
  rollUpContextRelationships,
3020
- sameSketch,
3021
2831
  sameWhiteboard,
3022
2832
  sampleBetaPert,
3023
2833
  searchMapLocations,
@@ -3027,12 +2837,6 @@ export {
3027
2837
  shapeFill,
3028
2838
  simulateCanonical,
3029
2839
  simulateFast,
3030
- sketchColors,
3031
- sketchContainerFill,
3032
- sketchEdgeGeometry,
3033
- sketchLabelSpot,
3034
- sketchNeutralFill,
3035
- sketchSlotToPx,
3036
2840
  slatePalette,
3037
2841
  startClocks,
3038
2842
  startCountdowns,
@@ -3064,6 +2868,9 @@ export {
3064
2868
  whiteboardConnectorPaint,
3065
2869
  whiteboardDrawBand,
3066
2870
  whiteboardDrawOrder,
2871
+ whiteboardFilePath,
2872
+ whiteboardFileWave,
2873
+ whiteboardFileWavePoints,
3067
2874
  whiteboardLabelCentreY,
3068
2875
  whiteboardLabelHeight,
3069
2876
  whiteboardLabelPosition,