@fecp/designer 5.6.6 → 5.6.9

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 (1625) hide show
  1. package/es/_virtual/advancedFormat.mjs +2 -2
  2. package/es/_virtual/constants.mjs +4 -0
  3. package/es/_virtual/cose-base.mjs +4 -0
  4. package/es/_virtual/cose-base2.mjs +4 -0
  5. package/es/_virtual/customParseFormat.mjs +2 -2
  6. package/es/_virtual/cytoscape-cose-bilkent.mjs +7 -0
  7. package/es/_virtual/cytoscape-cose-bilkent2.mjs +4 -0
  8. package/es/_virtual/cytoscape-fcose.mjs +7 -0
  9. package/es/_virtual/cytoscape-fcose2.mjs +4 -0
  10. package/es/_virtual/dayjs.min.mjs +2 -2
  11. package/es/_virtual/duration.mjs +7 -0
  12. package/es/_virtual/duration2.mjs +4 -0
  13. package/es/_virtual/index.mjs +4 -4
  14. package/es/_virtual/index2.mjs +3 -2
  15. package/es/_virtual/index3.mjs +7 -0
  16. package/es/_virtual/index4.mjs +4 -0
  17. package/es/_virtual/index5.mjs +4 -0
  18. package/es/_virtual/isoWeek.mjs +7 -0
  19. package/es/_virtual/isoWeek2.mjs +4 -0
  20. package/es/_virtual/layout-base.mjs +4 -0
  21. package/es/_virtual/layout-base2.mjs +4 -0
  22. package/es/designer/package.json.mjs +1 -1
  23. package/es/designer/src/components/ValueSelector.vue2.mjs +5 -7
  24. package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
  25. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  26. package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
  27. package/es/designer/src/packages/form/headerBtn.vue.mjs +47 -25
  28. package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
  29. package/es/designer/src/packages/importantDataChange/index.vue.mjs +184 -0
  30. package/es/designer/src/packages/importantDataChange/useImportantDataChangeDialog.mjs +16 -0
  31. package/es/designer.css +962 -106
  32. package/es/node_modules/@braintree/sanitize-url/dist/constants.mjs +20 -0
  33. package/es/node_modules/@braintree/sanitize-url/dist/index.mjs +75 -0
  34. package/es/node_modules/@element-plus/icons-vue/dist/index.mjs +16 -0
  35. package/es/node_modules/@iconify/utils/lib/customisations/defaults.mjs +13 -0
  36. package/es/node_modules/@iconify/utils/lib/icon/defaults.mjs +26 -0
  37. package/es/node_modules/@iconify/utils/lib/icon/merge.mjs +13 -0
  38. package/es/node_modules/@iconify/utils/lib/icon/name.mjs +45 -0
  39. package/es/node_modules/@iconify/utils/lib/icon/transformations.mjs +11 -0
  40. package/es/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +22 -0
  41. package/es/node_modules/@iconify/utils/lib/icon-set/tree.mjs +20 -0
  42. package/es/node_modules/@iconify/utils/lib/svg/build.mjs +103 -0
  43. package/es/node_modules/@iconify/utils/lib/svg/defs.mjs +29 -0
  44. package/es/node_modules/@iconify/utils/lib/svg/html.mjs +8 -0
  45. package/es/node_modules/@iconify/utils/lib/svg/id.mjs +25 -0
  46. package/es/node_modules/@iconify/utils/lib/svg/size.mjs +26 -0
  47. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-TIHT7OUA.mjs +6 -0
  48. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5FCAYU7R.mjs +35 -0
  49. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5HE753X5.mjs +49 -0
  50. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5JV3BV7I.mjs +88 -0
  51. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5TONJI2A.mjs +76 -0
  52. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BIQX33UG.mjs +31 -0
  53. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CQNSW5MT.mjs +57 -0
  54. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CYSBUYHQ.mjs +31 -0
  55. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EMLP6XTP.mjs +31 -0
  56. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-JG7HCLWE.mjs +76 -0
  57. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KEIR6QF5.mjs +30695 -0
  58. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MOZMSUNE.mjs +48 -0
  59. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OSBZ3O6U.mjs +31 -0
  60. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-QBLGF6JB.mjs +31 -0
  61. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-R7FJI6CG.mjs +102 -0
  62. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-U6XO7XAA.mjs +79 -0
  63. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-YOTPTUD7.mjs +39 -0
  64. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-VYW2F7L2.mjs +6 -0
  65. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-45OFAUF4.mjs +6 -0
  66. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-TEB2WS4Q.mjs +6 -0
  67. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-DKCQHKI2.mjs +6 -0
  68. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-7NZHBO7P.mjs +6 -0
  69. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-RZYD4A2V.mjs +6 -0
  70. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-I7S5WNFK.mjs +6 -0
  71. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-3IZDKUUU.mjs +6 -0
  72. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-AHOZXSZD.mjs +6 -0
  73. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-EBAXGLYW.mjs +6 -0
  74. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-LSFZ7HO6.mjs +6 -0
  75. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-QDETBFTQ.mjs +6 -0
  76. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-6X3UGDF4.mjs +6 -0
  77. package/es/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-OPB4EBWU.mjs +6 -0
  78. package/es/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +276 -0
  79. package/es/node_modules/@upsetjs/venn.js/build/venn.esm.mjs +1465 -0
  80. package/es/node_modules/@vant/use/dist/index.esm.mjs +1 -1
  81. package/es/node_modules/cytoscape/dist/cytoscape.esm.mjs +30346 -0
  82. package/es/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +374 -0
  83. package/es/node_modules/cytoscape-cose-bilkent/node_modules/cose-base/cose-base.mjs +1090 -0
  84. package/es/node_modules/cytoscape-cose-bilkent/node_modules/layout-base/layout-base.mjs +3197 -0
  85. package/es/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +1278 -0
  86. package/es/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.mjs +2555 -0
  87. package/es/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.mjs +3745 -0
  88. package/es/node_modules/d3/node_modules/d3-shape/src/arc.mjs +133 -0
  89. package/es/node_modules/d3/node_modules/d3-shape/src/array.mjs +6 -0
  90. package/es/node_modules/d3/node_modules/d3-shape/src/constant.mjs +8 -0
  91. package/es/node_modules/d3/node_modules/d3-shape/src/curve/basis.mjs +66 -0
  92. package/es/node_modules/d3/node_modules/d3-shape/src/curve/basisClosed.mjs +63 -0
  93. package/es/node_modules/d3/node_modules/d3-shape/src/curve/basisOpen.mjs +50 -0
  94. package/es/node_modules/d3/node_modules/d3-shape/src/curve/bump.mjs +49 -0
  95. package/es/node_modules/d3/node_modules/d3-shape/src/curve/bundle.mjs +43 -0
  96. package/es/node_modules/d3/node_modules/d3-shape/src/curve/cardinal.mjs +73 -0
  97. package/es/node_modules/d3/node_modules/d3-shape/src/curve/cardinalClosed.mjs +69 -0
  98. package/es/node_modules/d3/node_modules/d3-shape/src/curve/cardinalOpen.mjs +57 -0
  99. package/es/node_modules/d3/node_modules/d3-shape/src/curve/catmullRom.mjs +83 -0
  100. package/es/node_modules/d3/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +75 -0
  101. package/es/node_modules/d3/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +63 -0
  102. package/es/node_modules/d3/node_modules/d3-shape/src/curve/linear.mjs +39 -0
  103. package/es/node_modules/d3/node_modules/d3-shape/src/curve/linearClosed.mjs +25 -0
  104. package/es/node_modules/d3/node_modules/d3-shape/src/curve/monotone.mjs +99 -0
  105. package/es/node_modules/d3/node_modules/d3-shape/src/curve/natural.mjs +54 -0
  106. package/es/node_modules/d3/node_modules/d3-shape/src/curve/step.mjs +59 -0
  107. package/es/node_modules/d3/node_modules/d3-shape/src/descending.mjs +6 -0
  108. package/es/node_modules/d3/node_modules/d3-shape/src/identity.mjs +6 -0
  109. package/es/node_modules/d3/node_modules/d3-shape/src/line.mjs +41 -0
  110. package/es/node_modules/d3/node_modules/d3-shape/src/math.mjs +32 -0
  111. package/es/node_modules/d3/node_modules/d3-shape/src/noop.mjs +5 -0
  112. package/es/node_modules/d3/node_modules/d3-shape/src/path.mjs +19 -0
  113. package/es/node_modules/d3/node_modules/d3-shape/src/pie.mjs +55 -0
  114. package/es/node_modules/d3/node_modules/d3-shape/src/point.mjs +10 -0
  115. package/es/node_modules/d3-array/node_modules/internmap/src/index.mjs +43 -0
  116. package/es/node_modules/d3-array/src/ascending.mjs +6 -0
  117. package/es/node_modules/d3-array/src/bisect.mjs +10 -0
  118. package/es/node_modules/d3-array/src/bisector.mjs +47 -0
  119. package/es/node_modules/d3-array/src/descending.mjs +6 -0
  120. package/es/node_modules/d3-array/src/max.mjs +21 -0
  121. package/es/node_modules/d3-array/src/min.mjs +21 -0
  122. package/es/node_modules/d3-array/src/number.mjs +6 -0
  123. package/es/node_modules/d3-array/src/range.mjs +11 -0
  124. package/es/node_modules/d3-array/src/ticks.mjs +51 -0
  125. package/es/node_modules/d3-axis/src/axis.mjs +94 -0
  126. package/es/node_modules/d3-axis/src/identity.mjs +6 -0
  127. package/es/node_modules/d3-color/src/color.mjs +338 -0
  128. package/es/node_modules/d3-color/src/define.mjs +13 -0
  129. package/es/node_modules/d3-color/src/lab.mjs +95 -0
  130. package/es/node_modules/d3-color/src/math.mjs +6 -0
  131. package/es/node_modules/d3-dispatch/src/dispatch.mjs +70 -0
  132. package/es/node_modules/d3-ease/src/cubic.mjs +6 -0
  133. package/es/node_modules/d3-format/src/defaultLocale.mjs +20 -0
  134. package/es/node_modules/d3-format/src/exponent.mjs +7 -0
  135. package/es/node_modules/d3-format/src/formatDecimal.mjs +15 -0
  136. package/es/node_modules/d3-format/src/formatGroup.mjs +15 -0
  137. package/es/node_modules/d3-format/src/formatNumerals.mjs +10 -0
  138. package/es/node_modules/d3-format/src/formatPrefixAuto.mjs +12 -0
  139. package/es/node_modules/d3-format/src/formatRounded.mjs +10 -0
  140. package/es/node_modules/d3-format/src/formatSpecifier.mjs +37 -0
  141. package/es/node_modules/d3-format/src/formatTrim.mjs +21 -0
  142. package/es/node_modules/d3-format/src/formatTypes.mjs +21 -0
  143. package/es/node_modules/d3-format/src/identity.mjs +6 -0
  144. package/es/node_modules/d3-format/src/locale.mjs +82 -0
  145. package/es/node_modules/d3-format/src/precisionFixed.mjs +7 -0
  146. package/es/node_modules/d3-format/src/precisionPrefix.mjs +7 -0
  147. package/es/node_modules/d3-format/src/precisionRound.mjs +8 -0
  148. package/es/node_modules/d3-hierarchy/src/accessors.mjs +7 -0
  149. package/es/node_modules/d3-hierarchy/src/constant.mjs +12 -0
  150. package/es/node_modules/d3-hierarchy/src/hierarchy/ancestors.mjs +10 -0
  151. package/es/node_modules/d3-hierarchy/src/hierarchy/count.mjs +12 -0
  152. package/es/node_modules/d3-hierarchy/src/hierarchy/descendants.mjs +6 -0
  153. package/es/node_modules/d3-hierarchy/src/hierarchy/each.mjs +10 -0
  154. package/es/node_modules/d3-hierarchy/src/hierarchy/eachAfter.mjs +18 -0
  155. package/es/node_modules/d3-hierarchy/src/hierarchy/eachBefore.mjs +15 -0
  156. package/es/node_modules/d3-hierarchy/src/hierarchy/find.mjs +11 -0
  157. package/es/node_modules/d3-hierarchy/src/hierarchy/index.mjs +79 -0
  158. package/es/node_modules/d3-hierarchy/src/hierarchy/iterator.mjs +17 -0
  159. package/es/node_modules/d3-hierarchy/src/hierarchy/leaves.mjs +12 -0
  160. package/es/node_modules/d3-hierarchy/src/hierarchy/links.mjs +12 -0
  161. package/es/node_modules/d3-hierarchy/src/hierarchy/path.mjs +28 -0
  162. package/es/node_modules/d3-hierarchy/src/hierarchy/sort.mjs +10 -0
  163. package/es/node_modules/d3-hierarchy/src/hierarchy/sum.mjs +10 -0
  164. package/es/node_modules/d3-hierarchy/src/treemap/dice.mjs +10 -0
  165. package/es/node_modules/d3-hierarchy/src/treemap/index.mjs +69 -0
  166. package/es/node_modules/d3-hierarchy/src/treemap/round.mjs +9 -0
  167. package/es/node_modules/d3-hierarchy/src/treemap/slice.mjs +10 -0
  168. package/es/node_modules/d3-hierarchy/src/treemap/squarify.mjs +47 -0
  169. package/es/node_modules/d3-interpolate/src/array.mjs +13 -0
  170. package/es/node_modules/d3-interpolate/src/color.mjs +29 -0
  171. package/es/node_modules/d3-interpolate/src/constant.mjs +4 -0
  172. package/es/node_modules/d3-interpolate/src/date.mjs +9 -0
  173. package/es/node_modules/d3-interpolate/src/hcl.mjs +18 -0
  174. package/es/node_modules/d3-interpolate/src/number.mjs +8 -0
  175. package/es/node_modules/d3-interpolate/src/numberArray.mjs +15 -0
  176. package/es/node_modules/d3-interpolate/src/object.mjs +20 -0
  177. package/es/node_modules/d3-interpolate/src/rgb.mjs +20 -0
  178. package/es/node_modules/d3-interpolate/src/round.mjs +8 -0
  179. package/es/node_modules/d3-interpolate/src/string.mjs +43 -0
  180. package/es/node_modules/d3-interpolate/src/transform/decompose.mjs +28 -0
  181. package/es/node_modules/d3-interpolate/src/transform/index.mjs +59 -0
  182. package/es/node_modules/d3-interpolate/src/transform/parse.mjs +18 -0
  183. package/es/node_modules/d3-interpolate/src/value.mjs +16 -0
  184. package/es/node_modules/d3-path/src/path.mjs +88 -0
  185. package/es/node_modules/d3-sankey/node_modules/d3-array/src/max.mjs +21 -0
  186. package/es/node_modules/d3-sankey/node_modules/d3-array/src/min.mjs +21 -0
  187. package/es/node_modules/d3-sankey/node_modules/d3-array/src/sum.mjs +21 -0
  188. package/es/node_modules/d3-sankey/src/align.mjs +22 -0
  189. package/es/node_modules/d3-sankey/src/constant.mjs +8 -0
  190. package/es/node_modules/d3-sankey/src/sankey.mjs +326 -0
  191. package/es/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +13 -0
  192. package/es/node_modules/d3-scale/src/band.mjs +56 -0
  193. package/es/node_modules/d3-scale/src/constant.mjs +8 -0
  194. package/es/node_modules/d3-scale/src/continuous.mjs +95 -0
  195. package/es/node_modules/d3-scale/src/init.mjs +16 -0
  196. package/es/node_modules/d3-scale/src/linear.mjs +61 -0
  197. package/es/node_modules/d3-scale/src/nice.mjs +14 -0
  198. package/es/node_modules/d3-scale/src/number.mjs +6 -0
  199. package/es/node_modules/d3-scale/src/ordinal.mjs +38 -0
  200. package/es/node_modules/d3-scale/src/tickFormat.mjs +34 -0
  201. package/es/node_modules/d3-scale/src/time.mjs +54 -0
  202. package/es/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +5 -0
  203. package/es/node_modules/d3-scale-chromatic/src/colors.mjs +8 -0
  204. package/es/node_modules/d3-selection/src/array.mjs +6 -0
  205. package/es/node_modules/d3-selection/src/constant.mjs +8 -0
  206. package/es/node_modules/d3-selection/src/creator.mjs +20 -0
  207. package/es/node_modules/d3-selection/src/matcher.mjs +14 -0
  208. package/es/node_modules/d3-selection/src/namespace.mjs +9 -0
  209. package/es/node_modules/d3-selection/src/namespaces.mjs +12 -0
  210. package/es/node_modules/d3-selection/src/select.mjs +7 -0
  211. package/es/node_modules/d3-selection/src/selection/append.mjs +10 -0
  212. package/es/node_modules/d3-selection/src/selection/attr.mjs +46 -0
  213. package/es/node_modules/d3-selection/src/selection/call.mjs +9 -0
  214. package/es/node_modules/d3-selection/src/selection/classed.mjs +64 -0
  215. package/es/node_modules/d3-selection/src/selection/clone.mjs +14 -0
  216. package/es/node_modules/d3-selection/src/selection/data.mjs +76 -0
  217. package/es/node_modules/d3-selection/src/selection/datum.mjs +6 -0
  218. package/es/node_modules/d3-selection/src/selection/dispatch.mjs +28 -0
  219. package/es/node_modules/d3-selection/src/selection/each.mjs +11 -0
  220. package/es/node_modules/d3-selection/src/selection/empty.mjs +6 -0
  221. package/es/node_modules/d3-selection/src/selection/enter.mjs +31 -0
  222. package/es/node_modules/d3-selection/src/selection/exit.mjs +8 -0
  223. package/es/node_modules/d3-selection/src/selection/filter.mjs +16 -0
  224. package/es/node_modules/d3-selection/src/selection/html.mjs +20 -0
  225. package/es/node_modules/d3-selection/src/selection/index.mjs +88 -0
  226. package/es/node_modules/d3-selection/src/selection/insert.mjs +14 -0
  227. package/es/node_modules/d3-selection/src/selection/iterator.mjs +10 -0
  228. package/es/node_modules/d3-selection/src/selection/join.mjs +19 -0
  229. package/es/node_modules/d3-selection/src/selection/lower.mjs +9 -0
  230. package/es/node_modules/d3-selection/src/selection/merge.mjs +18 -0
  231. package/es/node_modules/d3-selection/src/selection/node.mjs +12 -0
  232. package/es/node_modules/d3-selection/src/selection/nodes.mjs +6 -0
  233. package/es/node_modules/d3-selection/src/selection/on.mjs +64 -0
  234. package/es/node_modules/d3-selection/src/selection/order.mjs +14 -0
  235. package/es/node_modules/d3-selection/src/selection/property.mjs +23 -0
  236. package/es/node_modules/d3-selection/src/selection/raise.mjs +9 -0
  237. package/es/node_modules/d3-selection/src/selection/remove.mjs +10 -0
  238. package/es/node_modules/d3-selection/src/selection/select.mjs +17 -0
  239. package/es/node_modules/d3-selection/src/selection/selectAll.mjs +24 -0
  240. package/es/node_modules/d3-selection/src/selection/selectChild.mjs +16 -0
  241. package/es/node_modules/d3-selection/src/selection/selectChildren.mjs +16 -0
  242. package/es/node_modules/d3-selection/src/selection/size.mjs +8 -0
  243. package/es/node_modules/d3-selection/src/selection/sort.mjs +22 -0
  244. package/es/node_modules/d3-selection/src/selection/sparse.mjs +6 -0
  245. package/es/node_modules/d3-selection/src/selection/style.mjs +28 -0
  246. package/es/node_modules/d3-selection/src/selection/text.mjs +20 -0
  247. package/es/node_modules/d3-selection/src/selector.mjs +10 -0
  248. package/es/node_modules/d3-selection/src/selectorAll.mjs +11 -0
  249. package/es/node_modules/d3-selection/src/window.mjs +6 -0
  250. package/es/node_modules/d3-shape/node_modules/d3-path/src/path.mjs +73 -0
  251. package/es/node_modules/d3-shape/src/array.mjs +4 -0
  252. package/es/node_modules/d3-shape/src/constant.mjs +8 -0
  253. package/es/node_modules/d3-shape/src/link/index.mjs +45 -0
  254. package/es/node_modules/d3-shape/src/point.mjs +10 -0
  255. package/es/node_modules/d3-time/src/day.mjs +34 -0
  256. package/es/node_modules/d3-time/src/duration.mjs +16 -0
  257. package/es/node_modules/d3-time/src/hour.mjs +26 -0
  258. package/es/node_modules/d3-time/src/interval.mjs +61 -0
  259. package/es/node_modules/d3-time/src/millisecond.mjs +23 -0
  260. package/es/node_modules/d3-time/src/minute.mjs +26 -0
  261. package/es/node_modules/d3-time/src/month.mjs +27 -0
  262. package/es/node_modules/d3-time/src/second.mjs +15 -0
  263. package/es/node_modules/d3-time/src/ticks.mjs +54 -0
  264. package/es/node_modules/d3-time/src/week.mjs +66 -0
  265. package/es/node_modules/d3-time/src/year.mjs +45 -0
  266. package/es/node_modules/d3-time-format/src/defaultLocale.mjs +25 -0
  267. package/es/node_modules/d3-time-format/src/locale.mjs +542 -0
  268. package/es/node_modules/d3-timer/src/timeout.mjs +13 -0
  269. package/es/node_modules/d3-timer/src/timer.mjs +96 -0
  270. package/es/node_modules/d3-transition/src/interrupt.mjs +21 -0
  271. package/es/node_modules/d3-transition/src/selection/index.mjs +5 -0
  272. package/es/node_modules/d3-transition/src/selection/interrupt.mjs +9 -0
  273. package/es/node_modules/d3-transition/src/selection/transition.mjs +39 -0
  274. package/es/node_modules/d3-transition/src/transition/attr.mjs +55 -0
  275. package/es/node_modules/d3-transition/src/transition/attrTween.mjs +42 -0
  276. package/es/node_modules/d3-transition/src/transition/delay.mjs +18 -0
  277. package/es/node_modules/d3-transition/src/transition/duration.mjs +18 -0
  278. package/es/node_modules/d3-transition/src/transition/ease.mjs +14 -0
  279. package/es/node_modules/d3-transition/src/transition/easeVarying.mjs +15 -0
  280. package/es/node_modules/d3-transition/src/transition/end.mjs +23 -0
  281. package/es/node_modules/d3-transition/src/transition/filter.mjs +16 -0
  282. package/es/node_modules/d3-transition/src/transition/index.mjs +68 -0
  283. package/es/node_modules/d3-transition/src/transition/interpolate.mjs +11 -0
  284. package/es/node_modules/d3-transition/src/transition/merge.mjs +18 -0
  285. package/es/node_modules/d3-transition/src/transition/on.mjs +23 -0
  286. package/es/node_modules/d3-transition/src/transition/remove.mjs +13 -0
  287. package/es/node_modules/d3-transition/src/transition/schedule.mjs +125 -0
  288. package/es/node_modules/d3-transition/src/transition/select.mjs +20 -0
  289. package/es/node_modules/d3-transition/src/transition/selectAll.mjs +24 -0
  290. package/es/node_modules/d3-transition/src/transition/selection.mjs +8 -0
  291. package/es/node_modules/d3-transition/src/transition/style.mjs +47 -0
  292. package/es/node_modules/d3-transition/src/transition/styleTween.mjs +25 -0
  293. package/es/node_modules/d3-transition/src/transition/text.mjs +18 -0
  294. package/es/node_modules/d3-transition/src/transition/textTween.mjs +25 -0
  295. package/es/node_modules/d3-transition/src/transition/transition.mjs +22 -0
  296. package/es/node_modules/d3-transition/src/transition/tween.mjs +64 -0
  297. package/es/node_modules/d3-zoom/src/transform.mjs +45 -0
  298. package/es/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +56 -0
  299. package/es/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +33 -0
  300. package/es/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +66 -0
  301. package/es/node_modules/dagre-d3-es/src/dagre/data/list.mjs +49 -0
  302. package/es/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +101 -0
  303. package/es/node_modules/dagre-d3-es/src/dagre/layout.mjs +350 -0
  304. package/es/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +97 -0
  305. package/es/node_modules/dagre-d3-es/src/dagre/normalize.mjs +69 -0
  306. package/es/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +25 -0
  307. package/es/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +30 -0
  308. package/es/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +35 -0
  309. package/es/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +58 -0
  310. package/es/node_modules/dagre-d3-es/src/dagre/order/index.mjs +54 -0
  311. package/es/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +36 -0
  312. package/es/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +88 -0
  313. package/es/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +69 -0
  314. package/es/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +50 -0
  315. package/es/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +66 -0
  316. package/es/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +319 -0
  317. package/es/node_modules/dagre-d3-es/src/dagre/position/index.mjs +32 -0
  318. package/es/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +46 -0
  319. package/es/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +29 -0
  320. package/es/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +149 -0
  321. package/es/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +32 -0
  322. package/es/node_modules/dagre-d3-es/src/dagre/util.mjs +171 -0
  323. package/es/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +34 -0
  324. package/es/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +7 -0
  325. package/es/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +7 -0
  326. package/es/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +6 -0
  327. package/es/node_modules/dagre-d3-es/src/graphlib/graph.mjs +786 -0
  328. package/es/node_modules/dagre-d3-es/src/graphlib/json.mjs +49 -0
  329. package/es/node_modules/dayjs/plugin/duration.mjs +140 -0
  330. package/es/node_modules/dayjs/plugin/isoWeek.mjs +37 -0
  331. package/es/node_modules/diagram-js/lib/model/index.mjs +1 -1
  332. package/es/node_modules/dompurify/dist/purify.es.mjs +1503 -0
  333. package/es/node_modules/element-plus/es/components/calendar/src/select-controller.vue_vue_type_script_setup_true_lang.mjs +3 -3
  334. package/es/node_modules/element-plus/es/components/calendar/src/use-calendar.mjs +4 -4
  335. package/es/node_modules/element-plus/es/components/calendar/src/use-date-table.mjs +4 -4
  336. package/es/node_modules/element-plus/es/components/date-picker-panel/src/composables/use-basic-date-table.mjs +3 -3
  337. package/es/node_modules/element-plus/es/components/date-picker-panel/src/composables/use-range-picker.mjs +3 -3
  338. package/es/node_modules/element-plus/es/components/date-picker-panel/src/composables/use-shortcut.mjs +2 -2
  339. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-com/basic-month-table.vue_vue_type_script_setup_true_lang.mjs +4 -4
  340. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-com/basic-year-table.vue_vue_type_script_setup_true_lang.mjs +7 -7
  341. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +14 -14
  342. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +6 -6
  343. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.mjs +3 -3
  344. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.mjs +3 -3
  345. package/es/node_modules/element-plus/es/components/date-picker-panel/src/date-picker-panel.mjs +11 -11
  346. package/es/node_modules/element-plus/es/components/date-picker-panel/src/utils.mjs +10 -10
  347. package/es/node_modules/element-plus/es/components/time-picker/src/time-picker-com/panel-time-pick.vue_vue_type_script_setup_true_lang.mjs +4 -4
  348. package/es/node_modules/element-plus/es/components/time-picker/src/time-picker-com/panel-time-range.vue_vue_type_script_setup_true_lang.mjs +6 -6
  349. package/es/node_modules/element-plus/es/components/time-picker/src/time-picker.mjs +3 -3
  350. package/es/node_modules/element-plus/es/components/time-picker/src/utils.mjs +3 -3
  351. package/es/node_modules/element-plus/es/components/time-select/src/time-select.vue_vue_type_script_setup_true_lang.mjs +5 -5
  352. package/es/node_modules/entities/lib/esm/decode.mjs +383 -0
  353. package/es/node_modules/entities/lib/esm/decode_codepoint.mjs +56 -0
  354. package/es/node_modules/entities/lib/esm/generated/decode-data-html.mjs +7 -0
  355. package/es/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +7 -0
  356. package/es/node_modules/es-toolkit/dist/_internal/globalThis.mjs +6 -0
  357. package/es/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs +6 -0
  358. package/es/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs +6 -0
  359. package/es/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs +7 -0
  360. package/es/node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs +7 -0
  361. package/es/node_modules/es-toolkit/dist/compat/_internal/tags.mjs +46 -0
  362. package/es/node_modules/es-toolkit/dist/compat/function/memoize.mjs +17 -0
  363. package/es/node_modules/es-toolkit/dist/compat/object/clone.mjs +130 -0
  364. package/es/node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs +7 -0
  365. package/es/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs +35 -0
  366. package/es/node_modules/es-toolkit/dist/compat/object/merge.mjs +8 -0
  367. package/es/node_modules/es-toolkit/dist/compat/object/mergeWith.mjs +65 -0
  368. package/es/node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs +7 -0
  369. package/es/node_modules/es-toolkit/dist/compat/predicate/isArray.mjs +6 -0
  370. package/es/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs +7 -0
  371. package/es/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs +8 -0
  372. package/es/node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs +22 -0
  373. package/es/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs +6 -0
  374. package/es/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs +18 -0
  375. package/es/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs +7 -0
  376. package/es/node_modules/es-toolkit/dist/function/noop.mjs +5 -0
  377. package/es/node_modules/es-toolkit/dist/object/clone.mjs +33 -0
  378. package/es/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs +145 -0
  379. package/es/node_modules/es-toolkit/dist/predicate/isBuffer.mjs +7 -0
  380. package/es/node_modules/es-toolkit/dist/predicate/isLength.mjs +6 -0
  381. package/es/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs +6 -0
  382. package/es/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs +6 -0
  383. package/es/node_modules/highlight.js/es/index.mjs +5 -0
  384. package/es/node_modules/highlight.js/lib/core.mjs +1542 -0
  385. package/es/node_modules/highlight.js/lib/index.mjs +399 -0
  386. package/es/node_modules/highlight.js/lib/languages/1c.mjs +157 -0
  387. package/es/node_modules/highlight.js/lib/languages/abnf.mjs +74 -0
  388. package/es/node_modules/highlight.js/lib/languages/accesslog.mjs +90 -0
  389. package/es/node_modules/highlight.js/lib/languages/actionscript.mjs +151 -0
  390. package/es/node_modules/highlight.js/lib/languages/ada.mjs +231 -0
  391. package/es/node_modules/highlight.js/lib/languages/angelscript.mjs +175 -0
  392. package/es/node_modules/highlight.js/lib/languages/apache.mjs +103 -0
  393. package/es/node_modules/highlight.js/lib/languages/applescript.mjs +130 -0
  394. package/es/node_modules/highlight.js/lib/languages/arcade.mjs +431 -0
  395. package/es/node_modules/highlight.js/lib/languages/arduino.mjs +942 -0
  396. package/es/node_modules/highlight.js/lib/languages/armasm.mjs +97 -0
  397. package/es/node_modules/highlight.js/lib/languages/asciidoc.mjs +257 -0
  398. package/es/node_modules/highlight.js/lib/languages/aspectj.mjs +229 -0
  399. package/es/node_modules/highlight.js/lib/languages/autohotkey.mjs +76 -0
  400. package/es/node_modules/highlight.js/lib/languages/autoit.mjs +163 -0
  401. package/es/node_modules/highlight.js/lib/languages/avrasm.mjs +67 -0
  402. package/es/node_modules/highlight.js/lib/languages/awk.mjs +68 -0
  403. package/es/node_modules/highlight.js/lib/languages/axapta.mjs +183 -0
  404. package/es/node_modules/highlight.js/lib/languages/bash.mjs +403 -0
  405. package/es/node_modules/highlight.js/lib/languages/basic.mjs +235 -0
  406. package/es/node_modules/highlight.js/lib/languages/bnf.mjs +40 -0
  407. package/es/node_modules/highlight.js/lib/languages/brainfuck.mjs +56 -0
  408. package/es/node_modules/highlight.js/lib/languages/c.mjs +303 -0
  409. package/es/node_modules/highlight.js/lib/languages/cal.mjs +157 -0
  410. package/es/node_modules/highlight.js/lib/languages/capnproto.mjs +99 -0
  411. package/es/node_modules/highlight.js/lib/languages/ceylon.mjs +137 -0
  412. package/es/node_modules/highlight.js/lib/languages/clean.mjs +68 -0
  413. package/es/node_modules/highlight.js/lib/languages/clojure-repl.mjs +26 -0
  414. package/es/node_modules/highlight.js/lib/languages/clojure.mjs +164 -0
  415. package/es/node_modules/highlight.js/lib/languages/cmake.mjs +33 -0
  416. package/es/node_modules/highlight.js/lib/languages/coffeescript.mjs +359 -0
  417. package/es/node_modules/highlight.js/lib/languages/coq.mjs +448 -0
  418. package/es/node_modules/highlight.js/lib/languages/cos.mjs +100 -0
  419. package/es/node_modules/highlight.js/lib/languages/cpp.mjs +552 -0
  420. package/es/node_modules/highlight.js/lib/languages/crmsh.mjs +95 -0
  421. package/es/node_modules/highlight.js/lib/languages/crystal.mjs +307 -0
  422. package/es/node_modules/highlight.js/lib/languages/csharp.mjs +409 -0
  423. package/es/node_modules/highlight.js/lib/languages/csp.mjs +56 -0
  424. package/es/node_modules/highlight.js/lib/languages/css.mjs +946 -0
  425. package/es/node_modules/highlight.js/lib/languages/d.mjs +121 -0
  426. package/es/node_modules/highlight.js/lib/languages/dart.mjs +263 -0
  427. package/es/node_modules/highlight.js/lib/languages/delphi.mjs +254 -0
  428. package/es/node_modules/highlight.js/lib/languages/diff.mjs +62 -0
  429. package/es/node_modules/highlight.js/lib/languages/django.mjs +55 -0
  430. package/es/node_modules/highlight.js/lib/languages/dns.mjs +79 -0
  431. package/es/node_modules/highlight.js/lib/languages/dockerfile.mjs +43 -0
  432. package/es/node_modules/highlight.js/lib/languages/dos.mjs +166 -0
  433. package/es/node_modules/highlight.js/lib/languages/dsconfig.mjs +66 -0
  434. package/es/node_modules/highlight.js/lib/languages/dts.mjs +144 -0
  435. package/es/node_modules/highlight.js/lib/languages/dust.mjs +46 -0
  436. package/es/node_modules/highlight.js/lib/languages/ebnf.mjs +51 -0
  437. package/es/node_modules/highlight.js/lib/languages/elixir.mjs +281 -0
  438. package/es/node_modules/highlight.js/lib/languages/elm.mjs +137 -0
  439. package/es/node_modules/highlight.js/lib/languages/erb.mjs +27 -0
  440. package/es/node_modules/highlight.js/lib/languages/erlang-repl.mjs +54 -0
  441. package/es/node_modules/highlight.js/lib/languages/erlang.mjs +226 -0
  442. package/es/node_modules/highlight.js/lib/languages/excel.mjs +583 -0
  443. package/es/node_modules/highlight.js/lib/languages/fix.mjs +42 -0
  444. package/es/node_modules/highlight.js/lib/languages/flix.mjs +76 -0
  445. package/es/node_modules/highlight.js/lib/languages/fortran.mjs +569 -0
  446. package/es/node_modules/highlight.js/lib/languages/fsharp.mjs +575 -0
  447. package/es/node_modules/highlight.js/lib/languages/gams.mjs +162 -0
  448. package/es/node_modules/highlight.js/lib/languages/gauss.mjs +196 -0
  449. package/es/node_modules/highlight.js/lib/languages/gcode.mjs +171 -0
  450. package/es/node_modules/highlight.js/lib/languages/gherkin.mjs +51 -0
  451. package/es/node_modules/highlight.js/lib/languages/glsl.mjs +39 -0
  452. package/es/node_modules/highlight.js/lib/languages/gml.mjs +3132 -0
  453. package/es/node_modules/highlight.js/lib/languages/go.mjs +163 -0
  454. package/es/node_modules/highlight.js/lib/languages/golo.mjs +81 -0
  455. package/es/node_modules/highlight.js/lib/languages/gradle.mjs +190 -0
  456. package/es/node_modules/highlight.js/lib/languages/graphql.mjs +79 -0
  457. package/es/node_modules/highlight.js/lib/languages/groovy.mjs +189 -0
  458. package/es/node_modules/highlight.js/lib/languages/haml.mjs +113 -0
  459. package/es/node_modules/highlight.js/lib/languages/handlebars.mjs +239 -0
  460. package/es/node_modules/highlight.js/lib/languages/haskell.mjs +199 -0
  461. package/es/node_modules/highlight.js/lib/languages/haxe.mjs +169 -0
  462. package/es/node_modules/highlight.js/lib/languages/hsp.mjs +56 -0
  463. package/es/node_modules/highlight.js/lib/languages/http.mjs +97 -0
  464. package/es/node_modules/highlight.js/lib/languages/hy.mjs +107 -0
  465. package/es/node_modules/highlight.js/lib/languages/inform7.mjs +66 -0
  466. package/es/node_modules/highlight.js/lib/languages/ini.mjs +125 -0
  467. package/es/node_modules/highlight.js/lib/languages/irpf90.mjs +63 -0
  468. package/es/node_modules/highlight.js/lib/languages/isbl.mjs +266 -0
  469. package/es/node_modules/highlight.js/lib/languages/java.mjs +263 -0
  470. package/es/node_modules/highlight.js/lib/languages/javascript.mjs +710 -0
  471. package/es/node_modules/highlight.js/lib/languages/jboss-cli.mjs +62 -0
  472. package/es/node_modules/highlight.js/lib/languages/json.mjs +49 -0
  473. package/es/node_modules/highlight.js/lib/languages/julia-repl.mjs +35 -0
  474. package/es/node_modules/highlight.js/lib/languages/julia.mjs +378 -0
  475. package/es/node_modules/highlight.js/lib/languages/kotlin.mjs +264 -0
  476. package/es/node_modules/highlight.js/lib/languages/lasso.mjs +154 -0
  477. package/es/node_modules/highlight.js/lib/languages/latex.mjs +280 -0
  478. package/es/node_modules/highlight.js/lib/languages/ldif.mjs +32 -0
  479. package/es/node_modules/highlight.js/lib/languages/leaf.mjs +99 -0
  480. package/es/node_modules/highlight.js/lib/languages/less.mjs +1027 -0
  481. package/es/node_modules/highlight.js/lib/languages/lisp.mjs +141 -0
  482. package/es/node_modules/highlight.js/lib/languages/livecodeserver.mjs +103 -0
  483. package/es/node_modules/highlight.js/lib/languages/livescript.mjs +370 -0
  484. package/es/node_modules/highlight.js/lib/languages/llvm.mjs +98 -0
  485. package/es/node_modules/highlight.js/lib/languages/lsl.mjs +72 -0
  486. package/es/node_modules/highlight.js/lib/languages/lua.mjs +70 -0
  487. package/es/node_modules/highlight.js/lib/languages/makefile.mjs +80 -0
  488. package/es/node_modules/highlight.js/lib/languages/markdown.mjs +241 -0
  489. package/es/node_modules/highlight.js/lib/languages/mathematica.mjs +7341 -0
  490. package/es/node_modules/highlight.js/lib/languages/matlab.mjs +85 -0
  491. package/es/node_modules/highlight.js/lib/languages/maxima.mjs +63 -0
  492. package/es/node_modules/highlight.js/lib/languages/mel.mjs +35 -0
  493. package/es/node_modules/highlight.js/lib/languages/mercury.mjs +87 -0
  494. package/es/node_modules/highlight.js/lib/languages/mipsasm.mjs +85 -0
  495. package/es/node_modules/highlight.js/lib/languages/mizar.mjs +18 -0
  496. package/es/node_modules/highlight.js/lib/languages/mojolicious.mjs +37 -0
  497. package/es/node_modules/highlight.js/lib/languages/monkey.mjs +184 -0
  498. package/es/node_modules/highlight.js/lib/languages/moonscript.mjs +144 -0
  499. package/es/node_modules/highlight.js/lib/languages/n1ql.mjs +360 -0
  500. package/es/node_modules/highlight.js/lib/languages/nestedtext.mjs +85 -0
  501. package/es/node_modules/highlight.js/lib/languages/nginx.mjs +152 -0
  502. package/es/node_modules/highlight.js/lib/languages/nim.mjs +190 -0
  503. package/es/node_modules/highlight.js/lib/languages/nix.mjs +356 -0
  504. package/es/node_modules/highlight.js/lib/languages/node-repl.mjs +34 -0
  505. package/es/node_modules/highlight.js/lib/languages/nsis.mjs +539 -0
  506. package/es/node_modules/highlight.js/lib/languages/objectivec.mjs +252 -0
  507. package/es/node_modules/highlight.js/lib/languages/ocaml.mjs +75 -0
  508. package/es/node_modules/highlight.js/lib/languages/openscad.mjs +78 -0
  509. package/es/node_modules/highlight.js/lib/languages/oxygene.mjs +78 -0
  510. package/es/node_modules/highlight.js/lib/languages/parser3.mjs +56 -0
  511. package/es/node_modules/highlight.js/lib/languages/perl.mjs +494 -0
  512. package/es/node_modules/highlight.js/lib/languages/pf.mjs +45 -0
  513. package/es/node_modules/highlight.js/lib/languages/pgsql.mjs +289 -0
  514. package/es/node_modules/highlight.js/lib/languages/php-template.mjs +55 -0
  515. package/es/node_modules/highlight.js/lib/languages/php.mjs +610 -0
  516. package/es/node_modules/highlight.js/lib/languages/plaintext.mjs +21 -0
  517. package/es/node_modules/highlight.js/lib/languages/pony.mjs +65 -0
  518. package/es/node_modules/highlight.js/lib/languages/powershell.mjs +265 -0
  519. package/es/node_modules/highlight.js/lib/languages/processing.mjs +435 -0
  520. package/es/node_modules/highlight.js/lib/languages/profile.mjs +46 -0
  521. package/es/node_modules/highlight.js/lib/languages/prolog.mjs +86 -0
  522. package/es/node_modules/highlight.js/lib/languages/properties.mjs +65 -0
  523. package/es/node_modules/highlight.js/lib/languages/protobuf.mjs +81 -0
  524. package/es/node_modules/highlight.js/lib/languages/puppet.mjs +120 -0
  525. package/es/node_modules/highlight.js/lib/languages/purebasic.mjs +68 -0
  526. package/es/node_modules/highlight.js/lib/languages/python-repl.mjs +34 -0
  527. package/es/node_modules/highlight.js/lib/languages/python.mjs +424 -0
  528. package/es/node_modules/highlight.js/lib/languages/q.mjs +33 -0
  529. package/es/node_modules/highlight.js/lib/languages/qml.mjs +157 -0
  530. package/es/node_modules/highlight.js/lib/languages/r.mjs +219 -0
  531. package/es/node_modules/highlight.js/lib/languages/reasonml.mjs +148 -0
  532. package/es/node_modules/highlight.js/lib/languages/rib.mjs +24 -0
  533. package/es/node_modules/highlight.js/lib/languages/roboconf.mjs +78 -0
  534. package/es/node_modules/highlight.js/lib/languages/routeros.mjs +155 -0
  535. package/es/node_modules/highlight.js/lib/languages/rsl.mjs +146 -0
  536. package/es/node_modules/highlight.js/lib/languages/ruby.mjs +422 -0
  537. package/es/node_modules/highlight.js/lib/languages/ruleslanguage.mjs +38 -0
  538. package/es/node_modules/highlight.js/lib/languages/rust.mjs +322 -0
  539. package/es/node_modules/highlight.js/lib/languages/sas.mjs +552 -0
  540. package/es/node_modules/highlight.js/lib/languages/scala.mjs +200 -0
  541. package/es/node_modules/highlight.js/lib/languages/scheme.mjs +148 -0
  542. package/es/node_modules/highlight.js/lib/languages/scilab.mjs +67 -0
  543. package/es/node_modules/highlight.js/lib/languages/scss.mjs +931 -0
  544. package/es/node_modules/highlight.js/lib/languages/shell.mjs +33 -0
  545. package/es/node_modules/highlight.js/lib/languages/smali.mjs +127 -0
  546. package/es/node_modules/highlight.js/lib/languages/smalltalk.mjs +70 -0
  547. package/es/node_modules/highlight.js/lib/languages/sml.mjs +77 -0
  548. package/es/node_modules/highlight.js/lib/languages/sqf.mjs +2619 -0
  549. package/es/node_modules/highlight.js/lib/languages/sql.mjs +652 -0
  550. package/es/node_modules/highlight.js/lib/languages/stan.mjs +504 -0
  551. package/es/node_modules/highlight.js/lib/languages/stata.mjs +47 -0
  552. package/es/node_modules/highlight.js/lib/languages/step21.mjs +68 -0
  553. package/es/node_modules/highlight.js/lib/languages/stylus.mjs +980 -0
  554. package/es/node_modules/highlight.js/lib/languages/subunit.mjs +46 -0
  555. package/es/node_modules/highlight.js/lib/languages/swift.mjs +884 -0
  556. package/es/node_modules/highlight.js/lib/languages/taggerscript.mjs +56 -0
  557. package/es/node_modules/highlight.js/lib/languages/tap.mjs +48 -0
  558. package/es/node_modules/highlight.js/lib/languages/tcl.mjs +189 -0
  559. package/es/node_modules/highlight.js/lib/languages/thrift.mjs +79 -0
  560. package/es/node_modules/highlight.js/lib/languages/tp.mjs +173 -0
  561. package/es/node_modules/highlight.js/lib/languages/twig.mjs +248 -0
  562. package/es/node_modules/highlight.js/lib/languages/typescript.mjs +823 -0
  563. package/es/node_modules/highlight.js/lib/languages/vala.mjs +50 -0
  564. package/es/node_modules/highlight.js/lib/languages/vbnet.mjs +142 -0
  565. package/es/node_modules/highlight.js/lib/languages/vbscript-html.mjs +24 -0
  566. package/es/node_modules/highlight.js/lib/languages/vbscript.mjs +215 -0
  567. package/es/node_modules/highlight.js/lib/languages/verilog.mjs +550 -0
  568. package/es/node_modules/highlight.js/lib/languages/vhdl.mjs +210 -0
  569. package/es/node_modules/highlight.js/lib/languages/vim.mjs +80 -0
  570. package/es/node_modules/highlight.js/lib/languages/wasm.mjs +130 -0
  571. package/es/node_modules/highlight.js/lib/languages/wren.mjs +288 -0
  572. package/es/node_modules/highlight.js/lib/languages/x86asm.mjs +96 -0
  573. package/es/node_modules/highlight.js/lib/languages/xl.mjs +206 -0
  574. package/es/node_modules/highlight.js/lib/languages/xml.mjs +235 -0
  575. package/es/node_modules/highlight.js/lib/languages/xquery.mjs +336 -0
  576. package/es/node_modules/highlight.js/lib/languages/yaml.mjs +210 -0
  577. package/es/node_modules/highlight.js/lib/languages/zephir.mjs +108 -0
  578. package/es/node_modules/katex/dist/katex.mjs +14499 -0
  579. package/es/node_modules/khroma/dist/channels/index.mjs +131 -0
  580. package/es/node_modules/khroma/dist/channels/reusable.mjs +5 -0
  581. package/es/node_modules/khroma/dist/channels/type.mjs +24 -0
  582. package/es/node_modules/khroma/dist/color/hex.mjs +40 -0
  583. package/es/node_modules/khroma/dist/color/hsl.mjs +50 -0
  584. package/es/node_modules/khroma/dist/color/index.mjs +39 -0
  585. package/es/node_modules/khroma/dist/color/keyword.mjs +172 -0
  586. package/es/node_modules/khroma/dist/color/rgb.mjs +33 -0
  587. package/es/node_modules/khroma/dist/constants.mjs +13 -0
  588. package/es/node_modules/khroma/dist/methods/adjust.mjs +15 -0
  589. package/es/node_modules/khroma/dist/methods/adjust_channel.mjs +13 -0
  590. package/es/node_modules/khroma/dist/methods/change.mjs +12 -0
  591. package/es/node_modules/khroma/dist/methods/channel.mjs +8 -0
  592. package/es/node_modules/khroma/dist/methods/darken.mjs +7 -0
  593. package/es/node_modules/khroma/dist/methods/invert.mjs +12 -0
  594. package/es/node_modules/khroma/dist/methods/is_dark.mjs +7 -0
  595. package/es/node_modules/khroma/dist/methods/is_light.mjs +7 -0
  596. package/es/node_modules/khroma/dist/methods/lighten.mjs +7 -0
  597. package/es/node_modules/khroma/dist/methods/luminance.mjs +10 -0
  598. package/es/node_modules/khroma/dist/methods/mix.mjs +20 -0
  599. package/es/node_modules/khroma/dist/methods/rgba.mjs +18 -0
  600. package/es/node_modules/khroma/dist/methods/transparentize.mjs +7 -0
  601. package/es/node_modules/khroma/dist/utils/channel.mjs +95 -0
  602. package/es/node_modules/khroma/dist/utils/index.mjs +11 -0
  603. package/es/node_modules/khroma/dist/utils/lang.mjs +14 -0
  604. package/es/node_modules/khroma/dist/utils/unit.mjs +10 -0
  605. package/es/node_modules/linkify-it/index.mjs +388 -0
  606. package/es/node_modules/linkify-it/lib/re.mjs +47 -0
  607. package/es/node_modules/lodash-es/_arrayReduce.mjs +13 -0
  608. package/es/node_modules/lodash-es/_baseExtremum.mjs +14 -0
  609. package/es/node_modules/lodash-es/_baseFilter.mjs +13 -0
  610. package/es/node_modules/lodash-es/_baseGt.mjs +6 -0
  611. package/es/node_modules/lodash-es/_baseHas.mjs +8 -0
  612. package/es/node_modules/lodash-es/_baseLt.mjs +6 -0
  613. package/es/node_modules/lodash-es/_baseOrderBy.mjs +37 -0
  614. package/es/node_modules/lodash-es/_baseRange.mjs +12 -0
  615. package/es/node_modules/lodash-es/_baseReduce.mjs +9 -0
  616. package/es/node_modules/lodash-es/_baseSortBy.mjs +11 -0
  617. package/es/node_modules/lodash-es/_baseValues.mjs +9 -0
  618. package/es/node_modules/lodash-es/_baseZipObject.mjs +11 -0
  619. package/es/node_modules/lodash-es/_castFunction.mjs +7 -0
  620. package/es/node_modules/lodash-es/_compareAscending.mjs +17 -0
  621. package/es/node_modules/lodash-es/_compareMultiple.mjs +18 -0
  622. package/es/node_modules/lodash-es/_createFind.mjs +20 -0
  623. package/es/node_modules/lodash-es/_createRange.mjs +22 -0
  624. package/es/node_modules/lodash-es/clone.mjs +8 -0
  625. package/es/node_modules/lodash-es/defaults.mjs +32 -0
  626. package/es/node_modules/lodash-es/filter.mjs +11 -0
  627. package/es/node_modules/lodash-es/find.mjs +6 -0
  628. package/es/node_modules/lodash-es/findIndex.mjs +18 -0
  629. package/es/node_modules/lodash-es/forEach.mjs +11 -0
  630. package/es/node_modules/lodash-es/forIn.mjs +9 -0
  631. package/es/node_modules/lodash-es/forOwn.mjs +8 -0
  632. package/es/node_modules/lodash-es/has.mjs +8 -0
  633. package/es/node_modules/lodash-es/isEmpty.mjs +35 -0
  634. package/es/node_modules/lodash-es/mapValues.mjs +14 -0
  635. package/es/node_modules/lodash-es/max.mjs +9 -0
  636. package/es/node_modules/lodash-es/min.mjs +9 -0
  637. package/es/node_modules/lodash-es/minBy.mjs +9 -0
  638. package/es/node_modules/lodash-es/range.mjs +5 -0
  639. package/es/node_modules/lodash-es/reduce.mjs +12 -0
  640. package/es/node_modules/lodash-es/sortBy.mjs +19 -0
  641. package/es/node_modules/lodash-es/toFinite.mjs +16 -0
  642. package/es/node_modules/lodash-es/toInteger.mjs +8 -0
  643. package/es/node_modules/lodash-es/uniqueId.mjs +9 -0
  644. package/es/node_modules/lodash-es/values.mjs +8 -0
  645. package/es/node_modules/lodash-es/zipObject.mjs +8 -0
  646. package/es/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
  647. package/es/node_modules/markdown-it/lib/common/html_re.mjs +18 -0
  648. package/es/node_modules/markdown-it/lib/common/utils.mjs +249 -0
  649. package/es/node_modules/markdown-it/lib/helpers/index.mjs +8 -0
  650. package/es/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +77 -0
  651. package/es/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +36 -0
  652. package/es/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +55 -0
  653. package/es/node_modules/markdown-it/lib/index.mjs +173 -0
  654. package/es/node_modules/markdown-it/lib/parser_block.mjs +87 -0
  655. package/es/node_modules/markdown-it/lib/parser_core.mjs +36 -0
  656. package/es/node_modules/markdown-it/lib/parser_inline.mjs +123 -0
  657. package/es/node_modules/markdown-it/lib/presets/commonmark.mjs +78 -0
  658. package/es/node_modules/markdown-it/lib/presets/default.mjs +40 -0
  659. package/es/node_modules/markdown-it/lib/presets/zero.mjs +59 -0
  660. package/es/node_modules/markdown-it/lib/renderer.mjs +165 -0
  661. package/es/node_modules/markdown-it/lib/ruler.mjs +143 -0
  662. package/es/node_modules/markdown-it/lib/rules_block/blockquote.mjs +127 -0
  663. package/es/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
  664. package/es/node_modules/markdown-it/lib/rules_block/fence.mjs +70 -0
  665. package/es/node_modules/markdown-it/lib/rules_block/heading.mjs +43 -0
  666. package/es/node_modules/markdown-it/lib/rules_block/hr.mjs +36 -0
  667. package/es/node_modules/markdown-it/lib/rules_block/html_block.mjs +65 -0
  668. package/es/node_modules/markdown-it/lib/rules_block/lheading.mjs +65 -0
  669. package/es/node_modules/markdown-it/lib/rules_block/list.mjs +226 -0
  670. package/es/node_modules/markdown-it/lib/rules_block/paragraph.mjs +39 -0
  671. package/es/node_modules/markdown-it/lib/rules_block/reference.mjs +177 -0
  672. package/es/node_modules/markdown-it/lib/rules_block/state_block.mjs +159 -0
  673. package/es/node_modules/markdown-it/lib/rules_block/table.mjs +192 -0
  674. package/es/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
  675. package/es/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
  676. package/es/node_modules/markdown-it/lib/rules_core/linkify.mjs +99 -0
  677. package/es/node_modules/markdown-it/lib/rules_core/normalize.mjs +11 -0
  678. package/es/node_modules/markdown-it/lib/rules_core/replacements.mjs +63 -0
  679. package/es/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +160 -0
  680. package/es/node_modules/markdown-it/lib/rules_core/state_core.mjs +12 -0
  681. package/es/node_modules/markdown-it/lib/rules_core/text_join.mjs +31 -0
  682. package/es/node_modules/markdown-it/lib/rules_inline/autolink.mjs +59 -0
  683. package/es/node_modules/markdown-it/lib/rules_inline/backticks.mjs +46 -0
  684. package/es/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +65 -0
  685. package/es/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +88 -0
  686. package/es/node_modules/markdown-it/lib/rules_inline/entity.mjs +44 -0
  687. package/es/node_modules/markdown-it/lib/rules_inline/escape.mjs +63 -0
  688. package/es/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +25 -0
  689. package/es/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +40 -0
  690. package/es/node_modules/markdown-it/lib/rules_inline/image.mjs +115 -0
  691. package/es/node_modules/markdown-it/lib/rules_inline/link.mjs +110 -0
  692. package/es/node_modules/markdown-it/lib/rules_inline/linkify.mjs +44 -0
  693. package/es/node_modules/markdown-it/lib/rules_inline/newline.mjs +33 -0
  694. package/es/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +96 -0
  695. package/es/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +97 -0
  696. package/es/node_modules/markdown-it/lib/rules_inline/text.mjs +47 -0
  697. package/es/node_modules/markdown-it/lib/token.mjs +62 -0
  698. package/es/node_modules/marked/lib/marked.esm.mjs +1118 -0
  699. package/es/node_modules/mdurl/index.mjs +10 -0
  700. package/es/node_modules/mdurl/lib/decode.mjs +83 -0
  701. package/es/node_modules/mdurl/lib/encode.mjs +64 -0
  702. package/es/node_modules/mdurl/lib/format.mjs +19 -0
  703. package/es/node_modules/mdurl/lib/parse.mjs +182 -0
  704. package/es/node_modules/mermaid/dist/chunks/mermaid.core/abnfDiagram-VRR7QNED.mjs +123 -0
  705. package/es/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-ZJ3FMSHR.mjs +1261 -0
  706. package/es/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-677ZJIJ3.mjs +3688 -0
  707. package/es/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.mjs +2485 -0
  708. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2Q5K7J3B.mjs +17 -0
  709. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.mjs +121 -0
  710. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-52WLFC77.mjs +1050 -0
  711. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5VM5RSS4.mjs +19 -0
  712. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7BUUIJ7U.mjs +126 -0
  713. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C7G6YPKG.mjs +105 -0
  714. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EX3LRPZG.mjs +2004 -0
  715. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FWX5IMBZ.mjs +91 -0
  716. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HOUHSVGY.mjs +92 -0
  717. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.mjs +571 -0
  718. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JWPE2WC7.mjs +17 -0
  719. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MOJQB5TN.mjs +858 -0
  720. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OGEWGWER.mjs +57 -0
  721. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-PUDLZKDR.mjs +2359 -0
  722. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-Q4XR5HBZ.mjs +399 -0
  723. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RYQCIY6F.mjs +430 -0
  724. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-V7JOEXUC.mjs +2030 -0
  725. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VAUOI2AC.mjs +20 -0
  726. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VR4S4FIN.mjs +27 -0
  727. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WYO6CB5R.mjs +5448 -0
  728. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X3CZISLH.mjs +72 -0
  729. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XXDRQBXY.mjs +16 -0
  730. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-Y2CYZVJY.mjs +10 -0
  731. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZGVPDNZ5.mjs +5723 -0
  732. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZIRB5QZD.mjs +2700 -0
  733. package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.mjs +31 -0
  734. package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.mjs +31 -0
  735. package/es/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-JH36ORCC.mjs +295 -0
  736. package/es/node_modules/mermaid/dist/chunks/mermaid.core/cynefinDiagram-TSTJHNR4.mjs +457 -0
  737. package/es/node_modules/mermaid/dist/chunks/mermaid.core/dagre-VKFMJZFB.mjs +534 -0
  738. package/es/node_modules/mermaid/dist/chunks/mermaid.core/diagram-FQU43EPY.mjs +642 -0
  739. package/es/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G47NLZAW.mjs +539 -0
  740. package/es/node_modules/mermaid/dist/chunks/mermaid.core/diagram-NH7WQ7WH.mjs +215 -0
  741. package/es/node_modules/mermaid/dist/chunks/mermaid.core/diagram-OA4YK3LP.mjs +496 -0
  742. package/es/node_modules/mermaid/dist/chunks/mermaid.core/diagram-WEI45ONY.mjs +312 -0
  743. package/es/node_modules/mermaid/dist/chunks/mermaid.core/ebnfDiagram-CCIWWBDH.mjs +143 -0
  744. package/es/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q63AITRT.mjs +1250 -0
  745. package/es/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.mjs +18 -0
  746. package/es/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.mjs +2247 -0
  747. package/es/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-IHSO6WYX.mjs +1390 -0
  748. package/es/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-FWYZ7A6U.mjs +34 -0
  749. package/es/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-FXEZZL3T.mjs +971 -0
  750. package/es/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-5HDEW3XC.mjs +1260 -0
  751. package/es/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-HUTT4EX6.mjs +1065 -0
  752. package/es/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-LN4V7U3C.mjs +1167 -0
  753. package/es/node_modules/mermaid/dist/chunks/mermaid.core/pegDiagram-2B236MQR.mjs +131 -0
  754. package/es/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ENE6RG2P.mjs +270 -0
  755. package/es/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-ABIIQ3AL.mjs +1343 -0
  756. package/es/node_modules/mermaid/dist/chunks/mermaid.core/railroadDiagram-RFXS5EU6.mjs +97 -0
  757. package/es/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-TGXJPOKE.mjs +1213 -0
  758. package/es/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-HTMAVEWB.mjs +744 -0
  759. package/es/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.mjs +4530 -0
  760. package/es/node_modules/mermaid/dist/chunks/mermaid.core/sizeCapture-X5ZJPWSS.mjs +63 -0
  761. package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.mjs +464 -0
  762. package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.mjs +31 -0
  763. package/es/node_modules/mermaid/dist/chunks/mermaid.core/swimlanes-5IMT3BWC.mjs +8577 -0
  764. package/es/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.mjs +28 -0
  765. package/es/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-FHXFAJF6.mjs +1615 -0
  766. package/es/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-L72KCM5P.mjs +1091 -0
  767. package/es/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-EHGQE667.mjs +981 -0
  768. package/es/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-FW5EYKEG.mjs +1919 -0
  769. package/es/node_modules/mermaid/dist/mermaid.core.mjs +1468 -0
  770. package/es/node_modules/object-refs/index.mjs +1 -1
  771. package/es/node_modules/punycode.js/punycode.es6.mjs +240 -0
  772. package/es/node_modules/roughjs/bundled/rough.esm.mjs +1001 -0
  773. package/es/node_modules/stylis/src/Enum.mjs +22 -0
  774. package/es/node_modules/stylis/src/Middleware.mjs +13 -0
  775. package/es/node_modules/stylis/src/Parser.mjs +176 -0
  776. package/es/node_modules/stylis/src/Serializer.mjs +29 -0
  777. package/es/node_modules/stylis/src/Tokenizer.mjs +156 -0
  778. package/es/node_modules/stylis/src/Utility.mjs +34 -0
  779. package/es/node_modules/ts-dedent/esm/index.mjs +42 -0
  780. package/es/node_modules/uc.micro/categories/Cc/regex.mjs +4 -0
  781. package/es/node_modules/uc.micro/categories/Cf/regex.mjs +4 -0
  782. package/es/node_modules/uc.micro/categories/P/regex.mjs +4 -0
  783. package/es/node_modules/uc.micro/categories/S/regex.mjs +4 -0
  784. package/es/node_modules/uc.micro/categories/Z/regex.mjs +4 -0
  785. package/es/node_modules/uc.micro/index.mjs +14 -0
  786. package/es/node_modules/uc.micro/properties/Any/regex.mjs +4 -0
  787. package/es/node_modules/uuid/dist/native.mjs +5 -0
  788. package/es/node_modules/uuid/dist/rng.mjs +14 -0
  789. package/es/node_modules/uuid/dist/stringify.mjs +10 -0
  790. package/es/node_modules/uuid/dist/v4.mjs +23 -0
  791. package/es/node_modules/vant/es/action-bar-button/ActionBarButton.mjs +1 -1
  792. package/es/node_modules/vant/es/button/Button.mjs +2 -2
  793. package/es/node_modules/vant/es/dialog/Dialog.mjs +2 -2
  794. package/es/node_modules/vant/es/loading/Loading.mjs +1 -1
  795. package/es/node_modules/vant/es/swipe-cell/SwipeCell.mjs +1 -1
  796. package/es/packages/mobile/index.mjs +2 -0
  797. package/es/packages/mobile/src/components/ai/AiChat/AiChat.vue.mjs +218 -0
  798. package/es/packages/mobile/src/components/ai/AiChat/index.mjs +7 -0
  799. package/es/packages/mobile/src/components/ai/ChatInput/ChatInput.vue.mjs +211 -0
  800. package/es/packages/mobile/src/components/ai/ChatInput/index.mjs +7 -0
  801. package/es/packages/mobile/src/components/ai/ChatPanel/ChatPanel.vue.mjs +232 -0
  802. package/es/packages/mobile/src/components/ai/ChatPanel/index.mjs +7 -0
  803. package/es/packages/mobile/src/components/ai/MarkdownRenderer/MarkdownRenderer.vue.mjs +129 -0
  804. package/es/packages/mobile/src/components/ai/MarkdownRenderer/index.mjs +7 -0
  805. package/es/packages/mobile/src/components/ai/RecordOverlay/RecordOverlay.vue.mjs +98 -0
  806. package/es/packages/mobile/src/components/ai/RecordOverlay/index.mjs +7 -0
  807. package/es/packages/mobile/src/components/all.mjs +2 -0
  808. package/es/packages/mobile/src/components/dataDisplay/mine/Mine.vue.mjs +3 -5
  809. package/es/packages/mobile/src/composables/useAI/adapters/detector.mjs +77 -0
  810. package/es/packages/mobile/src/composables/useAI/adapters/index.mjs +34 -0
  811. package/es/packages/mobile/src/composables/useAI/adapters/miniprogram.mjs +163 -0
  812. package/es/packages/mobile/src/composables/useAI/adapters/mock.mjs +179 -0
  813. package/es/packages/mobile/src/composables/useAI/adapters/wecom.mjs +212 -0
  814. package/es/packages/mobile/src/composables/useAI/types.mjs +92 -0
  815. package/es/packages/mobile/src/composables/useAI/useChat.mjs +197 -0
  816. package/es/packages/mobile/src/composables/useAI/useVoice.mjs +168 -0
  817. package/es/packages/mobile/src/composables/useVoiceTouch.mjs +101 -0
  818. package/es/packages/mobile/src/index.vue.mjs +111 -27
  819. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +30 -2
  820. package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +100 -3
  821. package/es/packages/vue/src/components/table/Table.vue.mjs +5 -111
  822. package/es/packages/vue/src/utils/formatCellValue.mjs +104 -0
  823. package/es/packages/vue/src/utils/importantDataChange.mjs +181 -0
  824. package/lib/_virtual/advancedFormat.js +4 -4
  825. package/lib/_virtual/constants.js +4 -0
  826. package/lib/_virtual/cose-base.js +4 -0
  827. package/lib/_virtual/cose-base2.js +4 -0
  828. package/lib/_virtual/customParseFormat.js +4 -4
  829. package/lib/_virtual/cytoscape-cose-bilkent.js +7 -0
  830. package/lib/_virtual/cytoscape-cose-bilkent2.js +4 -0
  831. package/lib/_virtual/cytoscape-fcose.js +7 -0
  832. package/lib/_virtual/cytoscape-fcose2.js +4 -0
  833. package/lib/_virtual/dayjs.min.js +2 -2
  834. package/lib/_virtual/duration.js +7 -0
  835. package/lib/_virtual/duration2.js +4 -0
  836. package/lib/_virtual/index.js +4 -4
  837. package/lib/_virtual/index2.js +3 -2
  838. package/lib/_virtual/index3.js +7 -0
  839. package/lib/_virtual/index4.js +4 -0
  840. package/lib/_virtual/index5.js +4 -0
  841. package/lib/_virtual/isoWeek.js +7 -0
  842. package/lib/_virtual/isoWeek2.js +4 -0
  843. package/lib/_virtual/layout-base.js +4 -0
  844. package/lib/_virtual/layout-base2.js +4 -0
  845. package/lib/designer/package.json.js +1 -1
  846. package/lib/designer/src/components/ValueSelector.vue2.js +5 -7
  847. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  848. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  849. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  850. package/lib/designer/src/packages/form/headerBtn.vue.js +46 -24
  851. package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
  852. package/lib/designer/src/packages/importantDataChange/index.vue.js +184 -0
  853. package/lib/designer/src/packages/importantDataChange/useImportantDataChangeDialog.js +16 -0
  854. package/lib/designer.css +962 -106
  855. package/lib/node_modules/@braintree/sanitize-url/dist/constants.js +20 -0
  856. package/lib/node_modules/@braintree/sanitize-url/dist/index.js +75 -0
  857. package/lib/node_modules/@element-plus/icons-vue/dist/index.js +16 -0
  858. package/lib/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
  859. package/lib/node_modules/@iconify/utils/lib/icon/defaults.js +26 -0
  860. package/lib/node_modules/@iconify/utils/lib/icon/merge.js +13 -0
  861. package/lib/node_modules/@iconify/utils/lib/icon/name.js +45 -0
  862. package/lib/node_modules/@iconify/utils/lib/icon/transformations.js +11 -0
  863. package/lib/node_modules/@iconify/utils/lib/icon-set/get-icon.js +22 -0
  864. package/lib/node_modules/@iconify/utils/lib/icon-set/tree.js +20 -0
  865. package/lib/node_modules/@iconify/utils/lib/svg/build.js +103 -0
  866. package/lib/node_modules/@iconify/utils/lib/svg/defs.js +29 -0
  867. package/lib/node_modules/@iconify/utils/lib/svg/html.js +8 -0
  868. package/lib/node_modules/@iconify/utils/lib/svg/id.js +25 -0
  869. package/lib/node_modules/@iconify/utils/lib/svg/size.js +26 -0
  870. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-TIHT7OUA.js +6 -0
  871. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5FCAYU7R.js +35 -0
  872. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5HE753X5.js +49 -0
  873. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5JV3BV7I.js +88 -0
  874. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-5TONJI2A.js +76 -0
  875. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BIQX33UG.js +31 -0
  876. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CQNSW5MT.js +57 -0
  877. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-CYSBUYHQ.js +31 -0
  878. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EMLP6XTP.js +31 -0
  879. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-JG7HCLWE.js +76 -0
  880. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KEIR6QF5.js +30695 -0
  881. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-MOZMSUNE.js +48 -0
  882. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-OSBZ3O6U.js +31 -0
  883. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-QBLGF6JB.js +31 -0
  884. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-R7FJI6CG.js +102 -0
  885. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-U6XO7XAA.js +79 -0
  886. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-YOTPTUD7.js +39 -0
  887. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/cynefin-VYW2F7L2.js +6 -0
  888. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/eventmodeling-45OFAUF4.js +6 -0
  889. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-TEB2WS4Q.js +6 -0
  890. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-DKCQHKI2.js +6 -0
  891. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-7NZHBO7P.js +6 -0
  892. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-RZYD4A2V.js +6 -0
  893. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-I7S5WNFK.js +6 -0
  894. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-3IZDKUUU.js +6 -0
  895. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-abnf-AHOZXSZD.js +6 -0
  896. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-ebnf-EBAXGLYW.js +6 -0
  897. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/railroad-peg-LSFZ7HO6.js +6 -0
  898. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treeView-QDETBFTQ.js +6 -0
  899. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-6X3UGDF4.js +6 -0
  900. package/lib/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/wardley-OPB4EBWU.js +6 -0
  901. package/lib/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +275 -0
  902. package/lib/node_modules/@upsetjs/venn.js/build/venn.esm.js +1465 -0
  903. package/lib/node_modules/cytoscape/dist/cytoscape.esm.js +30346 -0
  904. package/lib/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js +374 -0
  905. package/lib/node_modules/cytoscape-cose-bilkent/node_modules/cose-base/cose-base.js +1090 -0
  906. package/lib/node_modules/cytoscape-cose-bilkent/node_modules/layout-base/layout-base.js +3197 -0
  907. package/lib/node_modules/cytoscape-fcose/cytoscape-fcose.js +1278 -0
  908. package/lib/node_modules/cytoscape-fcose/node_modules/cose-base/cose-base.js +2555 -0
  909. package/lib/node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js +3745 -0
  910. package/lib/node_modules/d3/node_modules/d3-shape/src/arc.js +133 -0
  911. package/lib/node_modules/d3/node_modules/d3-shape/src/array.js +6 -0
  912. package/lib/node_modules/d3/node_modules/d3-shape/src/constant.js +8 -0
  913. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/basis.js +66 -0
  914. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/basisClosed.js +63 -0
  915. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/basisOpen.js +50 -0
  916. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/bump.js +49 -0
  917. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/bundle.js +43 -0
  918. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/cardinal.js +73 -0
  919. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/cardinalClosed.js +69 -0
  920. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/cardinalOpen.js +57 -0
  921. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/catmullRom.js +83 -0
  922. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/catmullRomClosed.js +75 -0
  923. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/catmullRomOpen.js +63 -0
  924. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/linear.js +39 -0
  925. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  926. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/monotone.js +99 -0
  927. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/natural.js +54 -0
  928. package/lib/node_modules/d3/node_modules/d3-shape/src/curve/step.js +59 -0
  929. package/lib/node_modules/d3/node_modules/d3-shape/src/descending.js +6 -0
  930. package/lib/node_modules/d3/node_modules/d3-shape/src/identity.js +6 -0
  931. package/lib/node_modules/d3/node_modules/d3-shape/src/line.js +41 -0
  932. package/lib/node_modules/d3/node_modules/d3-shape/src/math.js +32 -0
  933. package/lib/node_modules/d3/node_modules/d3-shape/src/noop.js +5 -0
  934. package/lib/node_modules/d3/node_modules/d3-shape/src/path.js +19 -0
  935. package/lib/node_modules/d3/node_modules/d3-shape/src/pie.js +55 -0
  936. package/lib/node_modules/d3/node_modules/d3-shape/src/point.js +10 -0
  937. package/lib/node_modules/d3-array/node_modules/internmap/src/index.js +43 -0
  938. package/lib/node_modules/d3-array/src/ascending.js +6 -0
  939. package/lib/node_modules/d3-array/src/bisect.js +10 -0
  940. package/lib/node_modules/d3-array/src/bisector.js +47 -0
  941. package/lib/node_modules/d3-array/src/descending.js +6 -0
  942. package/lib/node_modules/d3-array/src/max.js +21 -0
  943. package/lib/node_modules/d3-array/src/min.js +21 -0
  944. package/lib/node_modules/d3-array/src/number.js +6 -0
  945. package/lib/node_modules/d3-array/src/range.js +11 -0
  946. package/lib/node_modules/d3-array/src/ticks.js +51 -0
  947. package/lib/node_modules/d3-axis/src/axis.js +94 -0
  948. package/lib/node_modules/d3-axis/src/identity.js +6 -0
  949. package/lib/node_modules/d3-color/src/color.js +338 -0
  950. package/lib/node_modules/d3-color/src/define.js +13 -0
  951. package/lib/node_modules/d3-color/src/lab.js +95 -0
  952. package/lib/node_modules/d3-color/src/math.js +6 -0
  953. package/lib/node_modules/d3-dispatch/src/dispatch.js +70 -0
  954. package/lib/node_modules/d3-ease/src/cubic.js +6 -0
  955. package/lib/node_modules/d3-format/src/defaultLocale.js +18 -0
  956. package/lib/node_modules/d3-format/src/exponent.js +7 -0
  957. package/lib/node_modules/d3-format/src/formatDecimal.js +15 -0
  958. package/lib/node_modules/d3-format/src/formatGroup.js +15 -0
  959. package/lib/node_modules/d3-format/src/formatNumerals.js +10 -0
  960. package/lib/node_modules/d3-format/src/formatPrefixAuto.js +11 -0
  961. package/lib/node_modules/d3-format/src/formatRounded.js +10 -0
  962. package/lib/node_modules/d3-format/src/formatSpecifier.js +37 -0
  963. package/lib/node_modules/d3-format/src/formatTrim.js +21 -0
  964. package/lib/node_modules/d3-format/src/formatTypes.js +21 -0
  965. package/lib/node_modules/d3-format/src/identity.js +6 -0
  966. package/lib/node_modules/d3-format/src/locale.js +82 -0
  967. package/lib/node_modules/d3-format/src/precisionFixed.js +7 -0
  968. package/lib/node_modules/d3-format/src/precisionPrefix.js +7 -0
  969. package/lib/node_modules/d3-format/src/precisionRound.js +8 -0
  970. package/lib/node_modules/d3-hierarchy/src/accessors.js +7 -0
  971. package/lib/node_modules/d3-hierarchy/src/constant.js +12 -0
  972. package/lib/node_modules/d3-hierarchy/src/hierarchy/ancestors.js +10 -0
  973. package/lib/node_modules/d3-hierarchy/src/hierarchy/count.js +12 -0
  974. package/lib/node_modules/d3-hierarchy/src/hierarchy/descendants.js +6 -0
  975. package/lib/node_modules/d3-hierarchy/src/hierarchy/each.js +10 -0
  976. package/lib/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js +18 -0
  977. package/lib/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js +15 -0
  978. package/lib/node_modules/d3-hierarchy/src/hierarchy/find.js +11 -0
  979. package/lib/node_modules/d3-hierarchy/src/hierarchy/index.js +79 -0
  980. package/lib/node_modules/d3-hierarchy/src/hierarchy/iterator.js +17 -0
  981. package/lib/node_modules/d3-hierarchy/src/hierarchy/leaves.js +12 -0
  982. package/lib/node_modules/d3-hierarchy/src/hierarchy/links.js +12 -0
  983. package/lib/node_modules/d3-hierarchy/src/hierarchy/path.js +28 -0
  984. package/lib/node_modules/d3-hierarchy/src/hierarchy/sort.js +10 -0
  985. package/lib/node_modules/d3-hierarchy/src/hierarchy/sum.js +10 -0
  986. package/lib/node_modules/d3-hierarchy/src/treemap/dice.js +10 -0
  987. package/lib/node_modules/d3-hierarchy/src/treemap/index.js +69 -0
  988. package/lib/node_modules/d3-hierarchy/src/treemap/round.js +9 -0
  989. package/lib/node_modules/d3-hierarchy/src/treemap/slice.js +10 -0
  990. package/lib/node_modules/d3-hierarchy/src/treemap/squarify.js +47 -0
  991. package/lib/node_modules/d3-interpolate/src/array.js +13 -0
  992. package/lib/node_modules/d3-interpolate/src/color.js +29 -0
  993. package/lib/node_modules/d3-interpolate/src/constant.js +4 -0
  994. package/lib/node_modules/d3-interpolate/src/date.js +9 -0
  995. package/lib/node_modules/d3-interpolate/src/hcl.js +18 -0
  996. package/lib/node_modules/d3-interpolate/src/number.js +8 -0
  997. package/lib/node_modules/d3-interpolate/src/numberArray.js +15 -0
  998. package/lib/node_modules/d3-interpolate/src/object.js +20 -0
  999. package/lib/node_modules/d3-interpolate/src/rgb.js +20 -0
  1000. package/lib/node_modules/d3-interpolate/src/round.js +8 -0
  1001. package/lib/node_modules/d3-interpolate/src/string.js +43 -0
  1002. package/lib/node_modules/d3-interpolate/src/transform/decompose.js +28 -0
  1003. package/lib/node_modules/d3-interpolate/src/transform/index.js +59 -0
  1004. package/lib/node_modules/d3-interpolate/src/transform/parse.js +18 -0
  1005. package/lib/node_modules/d3-interpolate/src/value.js +16 -0
  1006. package/lib/node_modules/d3-path/src/path.js +88 -0
  1007. package/lib/node_modules/d3-sankey/node_modules/d3-array/src/max.js +21 -0
  1008. package/lib/node_modules/d3-sankey/node_modules/d3-array/src/min.js +21 -0
  1009. package/lib/node_modules/d3-sankey/node_modules/d3-array/src/sum.js +21 -0
  1010. package/lib/node_modules/d3-sankey/src/align.js +22 -0
  1011. package/lib/node_modules/d3-sankey/src/constant.js +8 -0
  1012. package/lib/node_modules/d3-sankey/src/sankey.js +326 -0
  1013. package/lib/node_modules/d3-sankey/src/sankeyLinkHorizontal.js +13 -0
  1014. package/lib/node_modules/d3-scale/src/band.js +56 -0
  1015. package/lib/node_modules/d3-scale/src/constant.js +8 -0
  1016. package/lib/node_modules/d3-scale/src/continuous.js +95 -0
  1017. package/lib/node_modules/d3-scale/src/init.js +16 -0
  1018. package/lib/node_modules/d3-scale/src/linear.js +61 -0
  1019. package/lib/node_modules/d3-scale/src/nice.js +14 -0
  1020. package/lib/node_modules/d3-scale/src/number.js +6 -0
  1021. package/lib/node_modules/d3-scale/src/ordinal.js +38 -0
  1022. package/lib/node_modules/d3-scale/src/tickFormat.js +34 -0
  1023. package/lib/node_modules/d3-scale/src/time.js +54 -0
  1024. package/lib/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js +5 -0
  1025. package/lib/node_modules/d3-scale-chromatic/src/colors.js +8 -0
  1026. package/lib/node_modules/d3-selection/src/array.js +6 -0
  1027. package/lib/node_modules/d3-selection/src/constant.js +8 -0
  1028. package/lib/node_modules/d3-selection/src/creator.js +20 -0
  1029. package/lib/node_modules/d3-selection/src/matcher.js +14 -0
  1030. package/lib/node_modules/d3-selection/src/namespace.js +9 -0
  1031. package/lib/node_modules/d3-selection/src/namespaces.js +12 -0
  1032. package/lib/node_modules/d3-selection/src/select.js +7 -0
  1033. package/lib/node_modules/d3-selection/src/selection/append.js +10 -0
  1034. package/lib/node_modules/d3-selection/src/selection/attr.js +46 -0
  1035. package/lib/node_modules/d3-selection/src/selection/call.js +9 -0
  1036. package/lib/node_modules/d3-selection/src/selection/classed.js +64 -0
  1037. package/lib/node_modules/d3-selection/src/selection/clone.js +14 -0
  1038. package/lib/node_modules/d3-selection/src/selection/data.js +76 -0
  1039. package/lib/node_modules/d3-selection/src/selection/datum.js +6 -0
  1040. package/lib/node_modules/d3-selection/src/selection/dispatch.js +28 -0
  1041. package/lib/node_modules/d3-selection/src/selection/each.js +11 -0
  1042. package/lib/node_modules/d3-selection/src/selection/empty.js +6 -0
  1043. package/lib/node_modules/d3-selection/src/selection/enter.js +31 -0
  1044. package/lib/node_modules/d3-selection/src/selection/exit.js +8 -0
  1045. package/lib/node_modules/d3-selection/src/selection/filter.js +16 -0
  1046. package/lib/node_modules/d3-selection/src/selection/html.js +20 -0
  1047. package/lib/node_modules/d3-selection/src/selection/index.js +88 -0
  1048. package/lib/node_modules/d3-selection/src/selection/insert.js +14 -0
  1049. package/lib/node_modules/d3-selection/src/selection/iterator.js +10 -0
  1050. package/lib/node_modules/d3-selection/src/selection/join.js +19 -0
  1051. package/lib/node_modules/d3-selection/src/selection/lower.js +9 -0
  1052. package/lib/node_modules/d3-selection/src/selection/merge.js +18 -0
  1053. package/lib/node_modules/d3-selection/src/selection/node.js +12 -0
  1054. package/lib/node_modules/d3-selection/src/selection/nodes.js +6 -0
  1055. package/lib/node_modules/d3-selection/src/selection/on.js +64 -0
  1056. package/lib/node_modules/d3-selection/src/selection/order.js +14 -0
  1057. package/lib/node_modules/d3-selection/src/selection/property.js +23 -0
  1058. package/lib/node_modules/d3-selection/src/selection/raise.js +9 -0
  1059. package/lib/node_modules/d3-selection/src/selection/remove.js +10 -0
  1060. package/lib/node_modules/d3-selection/src/selection/select.js +17 -0
  1061. package/lib/node_modules/d3-selection/src/selection/selectAll.js +24 -0
  1062. package/lib/node_modules/d3-selection/src/selection/selectChild.js +16 -0
  1063. package/lib/node_modules/d3-selection/src/selection/selectChildren.js +16 -0
  1064. package/lib/node_modules/d3-selection/src/selection/size.js +8 -0
  1065. package/lib/node_modules/d3-selection/src/selection/sort.js +22 -0
  1066. package/lib/node_modules/d3-selection/src/selection/sparse.js +6 -0
  1067. package/lib/node_modules/d3-selection/src/selection/style.js +28 -0
  1068. package/lib/node_modules/d3-selection/src/selection/text.js +20 -0
  1069. package/lib/node_modules/d3-selection/src/selector.js +10 -0
  1070. package/lib/node_modules/d3-selection/src/selectorAll.js +11 -0
  1071. package/lib/node_modules/d3-selection/src/window.js +6 -0
  1072. package/lib/node_modules/d3-shape/node_modules/d3-path/src/path.js +73 -0
  1073. package/lib/node_modules/d3-shape/src/array.js +4 -0
  1074. package/lib/node_modules/d3-shape/src/constant.js +8 -0
  1075. package/lib/node_modules/d3-shape/src/link/index.js +45 -0
  1076. package/lib/node_modules/d3-shape/src/point.js +10 -0
  1077. package/lib/node_modules/d3-time/src/day.js +34 -0
  1078. package/lib/node_modules/d3-time/src/duration.js +16 -0
  1079. package/lib/node_modules/d3-time/src/hour.js +26 -0
  1080. package/lib/node_modules/d3-time/src/interval.js +61 -0
  1081. package/lib/node_modules/d3-time/src/millisecond.js +23 -0
  1082. package/lib/node_modules/d3-time/src/minute.js +26 -0
  1083. package/lib/node_modules/d3-time/src/month.js +27 -0
  1084. package/lib/node_modules/d3-time/src/second.js +15 -0
  1085. package/lib/node_modules/d3-time/src/ticks.js +54 -0
  1086. package/lib/node_modules/d3-time/src/week.js +66 -0
  1087. package/lib/node_modules/d3-time/src/year.js +45 -0
  1088. package/lib/node_modules/d3-time-format/src/defaultLocale.js +24 -0
  1089. package/lib/node_modules/d3-time-format/src/locale.js +542 -0
  1090. package/lib/node_modules/d3-timer/src/timeout.js +13 -0
  1091. package/lib/node_modules/d3-timer/src/timer.js +96 -0
  1092. package/lib/node_modules/d3-transition/src/interrupt.js +21 -0
  1093. package/lib/node_modules/d3-transition/src/selection/index.js +6 -0
  1094. package/lib/node_modules/d3-transition/src/selection/interrupt.js +9 -0
  1095. package/lib/node_modules/d3-transition/src/selection/transition.js +39 -0
  1096. package/lib/node_modules/d3-transition/src/transition/attr.js +55 -0
  1097. package/lib/node_modules/d3-transition/src/transition/attrTween.js +42 -0
  1098. package/lib/node_modules/d3-transition/src/transition/delay.js +18 -0
  1099. package/lib/node_modules/d3-transition/src/transition/duration.js +18 -0
  1100. package/lib/node_modules/d3-transition/src/transition/ease.js +14 -0
  1101. package/lib/node_modules/d3-transition/src/transition/easeVarying.js +15 -0
  1102. package/lib/node_modules/d3-transition/src/transition/end.js +23 -0
  1103. package/lib/node_modules/d3-transition/src/transition/filter.js +16 -0
  1104. package/lib/node_modules/d3-transition/src/transition/index.js +68 -0
  1105. package/lib/node_modules/d3-transition/src/transition/interpolate.js +11 -0
  1106. package/lib/node_modules/d3-transition/src/transition/merge.js +18 -0
  1107. package/lib/node_modules/d3-transition/src/transition/on.js +23 -0
  1108. package/lib/node_modules/d3-transition/src/transition/remove.js +13 -0
  1109. package/lib/node_modules/d3-transition/src/transition/schedule.js +125 -0
  1110. package/lib/node_modules/d3-transition/src/transition/select.js +20 -0
  1111. package/lib/node_modules/d3-transition/src/transition/selectAll.js +24 -0
  1112. package/lib/node_modules/d3-transition/src/transition/selection.js +8 -0
  1113. package/lib/node_modules/d3-transition/src/transition/style.js +47 -0
  1114. package/lib/node_modules/d3-transition/src/transition/styleTween.js +25 -0
  1115. package/lib/node_modules/d3-transition/src/transition/text.js +18 -0
  1116. package/lib/node_modules/d3-transition/src/transition/textTween.js +25 -0
  1117. package/lib/node_modules/d3-transition/src/transition/transition.js +22 -0
  1118. package/lib/node_modules/d3-transition/src/transition/tween.js +64 -0
  1119. package/lib/node_modules/d3-zoom/src/transform.js +45 -0
  1120. package/lib/node_modules/dagre-d3-es/src/dagre/acyclic.js +56 -0
  1121. package/lib/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +33 -0
  1122. package/lib/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +66 -0
  1123. package/lib/node_modules/dagre-d3-es/src/dagre/data/list.js +49 -0
  1124. package/lib/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +101 -0
  1125. package/lib/node_modules/dagre-d3-es/src/dagre/layout.js +350 -0
  1126. package/lib/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +97 -0
  1127. package/lib/node_modules/dagre-d3-es/src/dagre/normalize.js +69 -0
  1128. package/lib/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +25 -0
  1129. package/lib/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +30 -0
  1130. package/lib/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +35 -0
  1131. package/lib/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +58 -0
  1132. package/lib/node_modules/dagre-d3-es/src/dagre/order/index.js +54 -0
  1133. package/lib/node_modules/dagre-d3-es/src/dagre/order/init-order.js +36 -0
  1134. package/lib/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +88 -0
  1135. package/lib/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +69 -0
  1136. package/lib/node_modules/dagre-d3-es/src/dagre/order/sort.js +50 -0
  1137. package/lib/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +66 -0
  1138. package/lib/node_modules/dagre-d3-es/src/dagre/position/bk.js +319 -0
  1139. package/lib/node_modules/dagre-d3-es/src/dagre/position/index.js +32 -0
  1140. package/lib/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +46 -0
  1141. package/lib/node_modules/dagre-d3-es/src/dagre/rank/index.js +29 -0
  1142. package/lib/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +149 -0
  1143. package/lib/node_modules/dagre-d3-es/src/dagre/rank/util.js +32 -0
  1144. package/lib/node_modules/dagre-d3-es/src/dagre/util.js +171 -0
  1145. package/lib/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +34 -0
  1146. package/lib/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +7 -0
  1147. package/lib/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +7 -0
  1148. package/lib/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +6 -0
  1149. package/lib/node_modules/dagre-d3-es/src/graphlib/graph.js +786 -0
  1150. package/lib/node_modules/dagre-d3-es/src/graphlib/json.js +49 -0
  1151. package/lib/node_modules/dayjs/plugin/duration.js +140 -0
  1152. package/lib/node_modules/dayjs/plugin/isoWeek.js +37 -0
  1153. package/lib/node_modules/diagram-js/lib/model/index.js +1 -1
  1154. package/lib/node_modules/dompurify/dist/purify.es.js +1503 -0
  1155. package/lib/node_modules/entities/lib/esm/decode.js +381 -0
  1156. package/lib/node_modules/entities/lib/esm/decode_codepoint.js +56 -0
  1157. package/lib/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  1158. package/lib/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  1159. package/lib/node_modules/es-toolkit/dist/_internal/globalThis.js +6 -0
  1160. package/lib/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +6 -0
  1161. package/lib/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +6 -0
  1162. package/lib/node_modules/es-toolkit/dist/compat/_internal/getTag.js +7 -0
  1163. package/lib/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +7 -0
  1164. package/lib/node_modules/es-toolkit/dist/compat/_internal/tags.js +46 -0
  1165. package/lib/node_modules/es-toolkit/dist/compat/function/memoize.js +17 -0
  1166. package/lib/node_modules/es-toolkit/dist/compat/object/clone.js +130 -0
  1167. package/lib/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +7 -0
  1168. package/lib/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +35 -0
  1169. package/lib/node_modules/es-toolkit/dist/compat/object/merge.js +8 -0
  1170. package/lib/node_modules/es-toolkit/dist/compat/object/mergeWith.js +65 -0
  1171. package/lib/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +7 -0
  1172. package/lib/node_modules/es-toolkit/dist/compat/predicate/isArray.js +6 -0
  1173. package/lib/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +7 -0
  1174. package/lib/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +8 -0
  1175. package/lib/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js +22 -0
  1176. package/lib/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +6 -0
  1177. package/lib/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +18 -0
  1178. package/lib/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +7 -0
  1179. package/lib/node_modules/es-toolkit/dist/function/noop.js +5 -0
  1180. package/lib/node_modules/es-toolkit/dist/object/clone.js +33 -0
  1181. package/lib/node_modules/es-toolkit/dist/object/cloneDeepWith.js +145 -0
  1182. package/lib/node_modules/es-toolkit/dist/predicate/isBuffer.js +7 -0
  1183. package/lib/node_modules/es-toolkit/dist/predicate/isLength.js +6 -0
  1184. package/lib/node_modules/es-toolkit/dist/predicate/isPrimitive.js +6 -0
  1185. package/lib/node_modules/es-toolkit/dist/predicate/isTypedArray.js +6 -0
  1186. package/lib/node_modules/highlight.js/es/index.js +5 -0
  1187. package/lib/node_modules/highlight.js/lib/core.js +1542 -0
  1188. package/lib/node_modules/highlight.js/lib/index.js +399 -0
  1189. package/lib/node_modules/highlight.js/lib/languages/1c.js +157 -0
  1190. package/lib/node_modules/highlight.js/lib/languages/abnf.js +74 -0
  1191. package/lib/node_modules/highlight.js/lib/languages/accesslog.js +90 -0
  1192. package/lib/node_modules/highlight.js/lib/languages/actionscript.js +151 -0
  1193. package/lib/node_modules/highlight.js/lib/languages/ada.js +231 -0
  1194. package/lib/node_modules/highlight.js/lib/languages/angelscript.js +175 -0
  1195. package/lib/node_modules/highlight.js/lib/languages/apache.js +103 -0
  1196. package/lib/node_modules/highlight.js/lib/languages/applescript.js +130 -0
  1197. package/lib/node_modules/highlight.js/lib/languages/arcade.js +431 -0
  1198. package/lib/node_modules/highlight.js/lib/languages/arduino.js +942 -0
  1199. package/lib/node_modules/highlight.js/lib/languages/armasm.js +97 -0
  1200. package/lib/node_modules/highlight.js/lib/languages/asciidoc.js +257 -0
  1201. package/lib/node_modules/highlight.js/lib/languages/aspectj.js +229 -0
  1202. package/lib/node_modules/highlight.js/lib/languages/autohotkey.js +76 -0
  1203. package/lib/node_modules/highlight.js/lib/languages/autoit.js +163 -0
  1204. package/lib/node_modules/highlight.js/lib/languages/avrasm.js +67 -0
  1205. package/lib/node_modules/highlight.js/lib/languages/awk.js +68 -0
  1206. package/lib/node_modules/highlight.js/lib/languages/axapta.js +183 -0
  1207. package/lib/node_modules/highlight.js/lib/languages/bash.js +403 -0
  1208. package/lib/node_modules/highlight.js/lib/languages/basic.js +235 -0
  1209. package/lib/node_modules/highlight.js/lib/languages/bnf.js +40 -0
  1210. package/lib/node_modules/highlight.js/lib/languages/brainfuck.js +56 -0
  1211. package/lib/node_modules/highlight.js/lib/languages/c.js +303 -0
  1212. package/lib/node_modules/highlight.js/lib/languages/cal.js +157 -0
  1213. package/lib/node_modules/highlight.js/lib/languages/capnproto.js +99 -0
  1214. package/lib/node_modules/highlight.js/lib/languages/ceylon.js +137 -0
  1215. package/lib/node_modules/highlight.js/lib/languages/clean.js +68 -0
  1216. package/lib/node_modules/highlight.js/lib/languages/clojure-repl.js +26 -0
  1217. package/lib/node_modules/highlight.js/lib/languages/clojure.js +164 -0
  1218. package/lib/node_modules/highlight.js/lib/languages/cmake.js +33 -0
  1219. package/lib/node_modules/highlight.js/lib/languages/coffeescript.js +359 -0
  1220. package/lib/node_modules/highlight.js/lib/languages/coq.js +448 -0
  1221. package/lib/node_modules/highlight.js/lib/languages/cos.js +100 -0
  1222. package/lib/node_modules/highlight.js/lib/languages/cpp.js +552 -0
  1223. package/lib/node_modules/highlight.js/lib/languages/crmsh.js +95 -0
  1224. package/lib/node_modules/highlight.js/lib/languages/crystal.js +307 -0
  1225. package/lib/node_modules/highlight.js/lib/languages/csharp.js +409 -0
  1226. package/lib/node_modules/highlight.js/lib/languages/csp.js +56 -0
  1227. package/lib/node_modules/highlight.js/lib/languages/css.js +946 -0
  1228. package/lib/node_modules/highlight.js/lib/languages/d.js +121 -0
  1229. package/lib/node_modules/highlight.js/lib/languages/dart.js +263 -0
  1230. package/lib/node_modules/highlight.js/lib/languages/delphi.js +254 -0
  1231. package/lib/node_modules/highlight.js/lib/languages/diff.js +62 -0
  1232. package/lib/node_modules/highlight.js/lib/languages/django.js +55 -0
  1233. package/lib/node_modules/highlight.js/lib/languages/dns.js +79 -0
  1234. package/lib/node_modules/highlight.js/lib/languages/dockerfile.js +43 -0
  1235. package/lib/node_modules/highlight.js/lib/languages/dos.js +166 -0
  1236. package/lib/node_modules/highlight.js/lib/languages/dsconfig.js +66 -0
  1237. package/lib/node_modules/highlight.js/lib/languages/dts.js +144 -0
  1238. package/lib/node_modules/highlight.js/lib/languages/dust.js +46 -0
  1239. package/lib/node_modules/highlight.js/lib/languages/ebnf.js +51 -0
  1240. package/lib/node_modules/highlight.js/lib/languages/elixir.js +281 -0
  1241. package/lib/node_modules/highlight.js/lib/languages/elm.js +137 -0
  1242. package/lib/node_modules/highlight.js/lib/languages/erb.js +27 -0
  1243. package/lib/node_modules/highlight.js/lib/languages/erlang-repl.js +54 -0
  1244. package/lib/node_modules/highlight.js/lib/languages/erlang.js +226 -0
  1245. package/lib/node_modules/highlight.js/lib/languages/excel.js +583 -0
  1246. package/lib/node_modules/highlight.js/lib/languages/fix.js +42 -0
  1247. package/lib/node_modules/highlight.js/lib/languages/flix.js +76 -0
  1248. package/lib/node_modules/highlight.js/lib/languages/fortran.js +569 -0
  1249. package/lib/node_modules/highlight.js/lib/languages/fsharp.js +575 -0
  1250. package/lib/node_modules/highlight.js/lib/languages/gams.js +162 -0
  1251. package/lib/node_modules/highlight.js/lib/languages/gauss.js +196 -0
  1252. package/lib/node_modules/highlight.js/lib/languages/gcode.js +171 -0
  1253. package/lib/node_modules/highlight.js/lib/languages/gherkin.js +51 -0
  1254. package/lib/node_modules/highlight.js/lib/languages/glsl.js +39 -0
  1255. package/lib/node_modules/highlight.js/lib/languages/gml.js +3132 -0
  1256. package/lib/node_modules/highlight.js/lib/languages/go.js +163 -0
  1257. package/lib/node_modules/highlight.js/lib/languages/golo.js +81 -0
  1258. package/lib/node_modules/highlight.js/lib/languages/gradle.js +190 -0
  1259. package/lib/node_modules/highlight.js/lib/languages/graphql.js +79 -0
  1260. package/lib/node_modules/highlight.js/lib/languages/groovy.js +189 -0
  1261. package/lib/node_modules/highlight.js/lib/languages/haml.js +113 -0
  1262. package/lib/node_modules/highlight.js/lib/languages/handlebars.js +239 -0
  1263. package/lib/node_modules/highlight.js/lib/languages/haskell.js +199 -0
  1264. package/lib/node_modules/highlight.js/lib/languages/haxe.js +169 -0
  1265. package/lib/node_modules/highlight.js/lib/languages/hsp.js +56 -0
  1266. package/lib/node_modules/highlight.js/lib/languages/http.js +97 -0
  1267. package/lib/node_modules/highlight.js/lib/languages/hy.js +107 -0
  1268. package/lib/node_modules/highlight.js/lib/languages/inform7.js +66 -0
  1269. package/lib/node_modules/highlight.js/lib/languages/ini.js +125 -0
  1270. package/lib/node_modules/highlight.js/lib/languages/irpf90.js +63 -0
  1271. package/lib/node_modules/highlight.js/lib/languages/isbl.js +266 -0
  1272. package/lib/node_modules/highlight.js/lib/languages/java.js +263 -0
  1273. package/lib/node_modules/highlight.js/lib/languages/javascript.js +710 -0
  1274. package/lib/node_modules/highlight.js/lib/languages/jboss-cli.js +62 -0
  1275. package/lib/node_modules/highlight.js/lib/languages/json.js +49 -0
  1276. package/lib/node_modules/highlight.js/lib/languages/julia-repl.js +35 -0
  1277. package/lib/node_modules/highlight.js/lib/languages/julia.js +378 -0
  1278. package/lib/node_modules/highlight.js/lib/languages/kotlin.js +264 -0
  1279. package/lib/node_modules/highlight.js/lib/languages/lasso.js +154 -0
  1280. package/lib/node_modules/highlight.js/lib/languages/latex.js +280 -0
  1281. package/lib/node_modules/highlight.js/lib/languages/ldif.js +32 -0
  1282. package/lib/node_modules/highlight.js/lib/languages/leaf.js +99 -0
  1283. package/lib/node_modules/highlight.js/lib/languages/less.js +1027 -0
  1284. package/lib/node_modules/highlight.js/lib/languages/lisp.js +141 -0
  1285. package/lib/node_modules/highlight.js/lib/languages/livecodeserver.js +103 -0
  1286. package/lib/node_modules/highlight.js/lib/languages/livescript.js +370 -0
  1287. package/lib/node_modules/highlight.js/lib/languages/llvm.js +98 -0
  1288. package/lib/node_modules/highlight.js/lib/languages/lsl.js +72 -0
  1289. package/lib/node_modules/highlight.js/lib/languages/lua.js +70 -0
  1290. package/lib/node_modules/highlight.js/lib/languages/makefile.js +80 -0
  1291. package/lib/node_modules/highlight.js/lib/languages/markdown.js +241 -0
  1292. package/lib/node_modules/highlight.js/lib/languages/mathematica.js +7341 -0
  1293. package/lib/node_modules/highlight.js/lib/languages/matlab.js +85 -0
  1294. package/lib/node_modules/highlight.js/lib/languages/maxima.js +63 -0
  1295. package/lib/node_modules/highlight.js/lib/languages/mel.js +35 -0
  1296. package/lib/node_modules/highlight.js/lib/languages/mercury.js +87 -0
  1297. package/lib/node_modules/highlight.js/lib/languages/mipsasm.js +85 -0
  1298. package/lib/node_modules/highlight.js/lib/languages/mizar.js +18 -0
  1299. package/lib/node_modules/highlight.js/lib/languages/mojolicious.js +37 -0
  1300. package/lib/node_modules/highlight.js/lib/languages/monkey.js +184 -0
  1301. package/lib/node_modules/highlight.js/lib/languages/moonscript.js +144 -0
  1302. package/lib/node_modules/highlight.js/lib/languages/n1ql.js +360 -0
  1303. package/lib/node_modules/highlight.js/lib/languages/nestedtext.js +85 -0
  1304. package/lib/node_modules/highlight.js/lib/languages/nginx.js +152 -0
  1305. package/lib/node_modules/highlight.js/lib/languages/nim.js +190 -0
  1306. package/lib/node_modules/highlight.js/lib/languages/nix.js +356 -0
  1307. package/lib/node_modules/highlight.js/lib/languages/node-repl.js +34 -0
  1308. package/lib/node_modules/highlight.js/lib/languages/nsis.js +539 -0
  1309. package/lib/node_modules/highlight.js/lib/languages/objectivec.js +252 -0
  1310. package/lib/node_modules/highlight.js/lib/languages/ocaml.js +75 -0
  1311. package/lib/node_modules/highlight.js/lib/languages/openscad.js +78 -0
  1312. package/lib/node_modules/highlight.js/lib/languages/oxygene.js +78 -0
  1313. package/lib/node_modules/highlight.js/lib/languages/parser3.js +56 -0
  1314. package/lib/node_modules/highlight.js/lib/languages/perl.js +494 -0
  1315. package/lib/node_modules/highlight.js/lib/languages/pf.js +45 -0
  1316. package/lib/node_modules/highlight.js/lib/languages/pgsql.js +289 -0
  1317. package/lib/node_modules/highlight.js/lib/languages/php-template.js +55 -0
  1318. package/lib/node_modules/highlight.js/lib/languages/php.js +610 -0
  1319. package/lib/node_modules/highlight.js/lib/languages/plaintext.js +21 -0
  1320. package/lib/node_modules/highlight.js/lib/languages/pony.js +65 -0
  1321. package/lib/node_modules/highlight.js/lib/languages/powershell.js +265 -0
  1322. package/lib/node_modules/highlight.js/lib/languages/processing.js +435 -0
  1323. package/lib/node_modules/highlight.js/lib/languages/profile.js +46 -0
  1324. package/lib/node_modules/highlight.js/lib/languages/prolog.js +86 -0
  1325. package/lib/node_modules/highlight.js/lib/languages/properties.js +65 -0
  1326. package/lib/node_modules/highlight.js/lib/languages/protobuf.js +81 -0
  1327. package/lib/node_modules/highlight.js/lib/languages/puppet.js +120 -0
  1328. package/lib/node_modules/highlight.js/lib/languages/purebasic.js +68 -0
  1329. package/lib/node_modules/highlight.js/lib/languages/python-repl.js +34 -0
  1330. package/lib/node_modules/highlight.js/lib/languages/python.js +424 -0
  1331. package/lib/node_modules/highlight.js/lib/languages/q.js +33 -0
  1332. package/lib/node_modules/highlight.js/lib/languages/qml.js +157 -0
  1333. package/lib/node_modules/highlight.js/lib/languages/r.js +219 -0
  1334. package/lib/node_modules/highlight.js/lib/languages/reasonml.js +148 -0
  1335. package/lib/node_modules/highlight.js/lib/languages/rib.js +24 -0
  1336. package/lib/node_modules/highlight.js/lib/languages/roboconf.js +78 -0
  1337. package/lib/node_modules/highlight.js/lib/languages/routeros.js +155 -0
  1338. package/lib/node_modules/highlight.js/lib/languages/rsl.js +146 -0
  1339. package/lib/node_modules/highlight.js/lib/languages/ruby.js +422 -0
  1340. package/lib/node_modules/highlight.js/lib/languages/ruleslanguage.js +38 -0
  1341. package/lib/node_modules/highlight.js/lib/languages/rust.js +322 -0
  1342. package/lib/node_modules/highlight.js/lib/languages/sas.js +552 -0
  1343. package/lib/node_modules/highlight.js/lib/languages/scala.js +200 -0
  1344. package/lib/node_modules/highlight.js/lib/languages/scheme.js +148 -0
  1345. package/lib/node_modules/highlight.js/lib/languages/scilab.js +67 -0
  1346. package/lib/node_modules/highlight.js/lib/languages/scss.js +931 -0
  1347. package/lib/node_modules/highlight.js/lib/languages/shell.js +33 -0
  1348. package/lib/node_modules/highlight.js/lib/languages/smali.js +127 -0
  1349. package/lib/node_modules/highlight.js/lib/languages/smalltalk.js +70 -0
  1350. package/lib/node_modules/highlight.js/lib/languages/sml.js +77 -0
  1351. package/lib/node_modules/highlight.js/lib/languages/sqf.js +2619 -0
  1352. package/lib/node_modules/highlight.js/lib/languages/sql.js +652 -0
  1353. package/lib/node_modules/highlight.js/lib/languages/stan.js +504 -0
  1354. package/lib/node_modules/highlight.js/lib/languages/stata.js +47 -0
  1355. package/lib/node_modules/highlight.js/lib/languages/step21.js +68 -0
  1356. package/lib/node_modules/highlight.js/lib/languages/stylus.js +980 -0
  1357. package/lib/node_modules/highlight.js/lib/languages/subunit.js +46 -0
  1358. package/lib/node_modules/highlight.js/lib/languages/swift.js +884 -0
  1359. package/lib/node_modules/highlight.js/lib/languages/taggerscript.js +56 -0
  1360. package/lib/node_modules/highlight.js/lib/languages/tap.js +48 -0
  1361. package/lib/node_modules/highlight.js/lib/languages/tcl.js +189 -0
  1362. package/lib/node_modules/highlight.js/lib/languages/thrift.js +79 -0
  1363. package/lib/node_modules/highlight.js/lib/languages/tp.js +173 -0
  1364. package/lib/node_modules/highlight.js/lib/languages/twig.js +248 -0
  1365. package/lib/node_modules/highlight.js/lib/languages/typescript.js +823 -0
  1366. package/lib/node_modules/highlight.js/lib/languages/vala.js +50 -0
  1367. package/lib/node_modules/highlight.js/lib/languages/vbnet.js +142 -0
  1368. package/lib/node_modules/highlight.js/lib/languages/vbscript-html.js +24 -0
  1369. package/lib/node_modules/highlight.js/lib/languages/vbscript.js +215 -0
  1370. package/lib/node_modules/highlight.js/lib/languages/verilog.js +550 -0
  1371. package/lib/node_modules/highlight.js/lib/languages/vhdl.js +210 -0
  1372. package/lib/node_modules/highlight.js/lib/languages/vim.js +80 -0
  1373. package/lib/node_modules/highlight.js/lib/languages/wasm.js +130 -0
  1374. package/lib/node_modules/highlight.js/lib/languages/wren.js +288 -0
  1375. package/lib/node_modules/highlight.js/lib/languages/x86asm.js +96 -0
  1376. package/lib/node_modules/highlight.js/lib/languages/xl.js +206 -0
  1377. package/lib/node_modules/highlight.js/lib/languages/xml.js +235 -0
  1378. package/lib/node_modules/highlight.js/lib/languages/xquery.js +336 -0
  1379. package/lib/node_modules/highlight.js/lib/languages/yaml.js +210 -0
  1380. package/lib/node_modules/highlight.js/lib/languages/zephir.js +108 -0
  1381. package/lib/node_modules/katex/dist/katex.js +14498 -0
  1382. package/lib/node_modules/khroma/dist/channels/index.js +131 -0
  1383. package/lib/node_modules/khroma/dist/channels/reusable.js +5 -0
  1384. package/lib/node_modules/khroma/dist/channels/type.js +24 -0
  1385. package/lib/node_modules/khroma/dist/color/hex.js +40 -0
  1386. package/lib/node_modules/khroma/dist/color/hsl.js +50 -0
  1387. package/lib/node_modules/khroma/dist/color/index.js +39 -0
  1388. package/lib/node_modules/khroma/dist/color/keyword.js +172 -0
  1389. package/lib/node_modules/khroma/dist/color/rgb.js +33 -0
  1390. package/lib/node_modules/khroma/dist/constants.js +13 -0
  1391. package/lib/node_modules/khroma/dist/methods/adjust.js +15 -0
  1392. package/lib/node_modules/khroma/dist/methods/adjust_channel.js +13 -0
  1393. package/lib/node_modules/khroma/dist/methods/change.js +12 -0
  1394. package/lib/node_modules/khroma/dist/methods/channel.js +8 -0
  1395. package/lib/node_modules/khroma/dist/methods/darken.js +7 -0
  1396. package/lib/node_modules/khroma/dist/methods/invert.js +12 -0
  1397. package/lib/node_modules/khroma/dist/methods/is_dark.js +7 -0
  1398. package/lib/node_modules/khroma/dist/methods/is_light.js +7 -0
  1399. package/lib/node_modules/khroma/dist/methods/lighten.js +7 -0
  1400. package/lib/node_modules/khroma/dist/methods/luminance.js +10 -0
  1401. package/lib/node_modules/khroma/dist/methods/mix.js +20 -0
  1402. package/lib/node_modules/khroma/dist/methods/rgba.js +18 -0
  1403. package/lib/node_modules/khroma/dist/methods/transparentize.js +7 -0
  1404. package/lib/node_modules/khroma/dist/utils/channel.js +95 -0
  1405. package/lib/node_modules/khroma/dist/utils/index.js +11 -0
  1406. package/lib/node_modules/khroma/dist/utils/lang.js +14 -0
  1407. package/lib/node_modules/khroma/dist/utils/unit.js +10 -0
  1408. package/lib/node_modules/linkify-it/index.js +388 -0
  1409. package/lib/node_modules/linkify-it/lib/re.js +47 -0
  1410. package/lib/node_modules/lodash-es/_arrayReduce.js +13 -0
  1411. package/lib/node_modules/lodash-es/_baseExtremum.js +14 -0
  1412. package/lib/node_modules/lodash-es/_baseFilter.js +13 -0
  1413. package/lib/node_modules/lodash-es/_baseGt.js +6 -0
  1414. package/lib/node_modules/lodash-es/_baseHas.js +8 -0
  1415. package/lib/node_modules/lodash-es/_baseLt.js +6 -0
  1416. package/lib/node_modules/lodash-es/_baseOrderBy.js +37 -0
  1417. package/lib/node_modules/lodash-es/_baseRange.js +12 -0
  1418. package/lib/node_modules/lodash-es/_baseReduce.js +9 -0
  1419. package/lib/node_modules/lodash-es/_baseSortBy.js +11 -0
  1420. package/lib/node_modules/lodash-es/_baseValues.js +9 -0
  1421. package/lib/node_modules/lodash-es/_baseZipObject.js +11 -0
  1422. package/lib/node_modules/lodash-es/_castFunction.js +7 -0
  1423. package/lib/node_modules/lodash-es/_compareAscending.js +17 -0
  1424. package/lib/node_modules/lodash-es/_compareMultiple.js +18 -0
  1425. package/lib/node_modules/lodash-es/_createFind.js +20 -0
  1426. package/lib/node_modules/lodash-es/_createRange.js +22 -0
  1427. package/lib/node_modules/lodash-es/clone.js +8 -0
  1428. package/lib/node_modules/lodash-es/defaults.js +32 -0
  1429. package/lib/node_modules/lodash-es/filter.js +11 -0
  1430. package/lib/node_modules/lodash-es/find.js +6 -0
  1431. package/lib/node_modules/lodash-es/findIndex.js +18 -0
  1432. package/lib/node_modules/lodash-es/forEach.js +11 -0
  1433. package/lib/node_modules/lodash-es/forIn.js +9 -0
  1434. package/lib/node_modules/lodash-es/forOwn.js +8 -0
  1435. package/lib/node_modules/lodash-es/has.js +8 -0
  1436. package/lib/node_modules/lodash-es/isEmpty.js +35 -0
  1437. package/lib/node_modules/lodash-es/mapValues.js +14 -0
  1438. package/lib/node_modules/lodash-es/max.js +9 -0
  1439. package/lib/node_modules/lodash-es/min.js +9 -0
  1440. package/lib/node_modules/lodash-es/minBy.js +9 -0
  1441. package/lib/node_modules/lodash-es/range.js +5 -0
  1442. package/lib/node_modules/lodash-es/reduce.js +12 -0
  1443. package/lib/node_modules/lodash-es/sortBy.js +19 -0
  1444. package/lib/node_modules/lodash-es/toFinite.js +16 -0
  1445. package/lib/node_modules/lodash-es/toInteger.js +8 -0
  1446. package/lib/node_modules/lodash-es/uniqueId.js +9 -0
  1447. package/lib/node_modules/lodash-es/values.js +8 -0
  1448. package/lib/node_modules/lodash-es/zipObject.js +8 -0
  1449. package/lib/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
  1450. package/lib/node_modules/markdown-it/lib/common/html_re.js +18 -0
  1451. package/lib/node_modules/markdown-it/lib/common/utils.js +249 -0
  1452. package/lib/node_modules/markdown-it/lib/helpers/index.js +8 -0
  1453. package/lib/node_modules/markdown-it/lib/helpers/parse_link_destination.js +77 -0
  1454. package/lib/node_modules/markdown-it/lib/helpers/parse_link_label.js +36 -0
  1455. package/lib/node_modules/markdown-it/lib/helpers/parse_link_title.js +55 -0
  1456. package/lib/node_modules/markdown-it/lib/index.js +172 -0
  1457. package/lib/node_modules/markdown-it/lib/parser_block.js +87 -0
  1458. package/lib/node_modules/markdown-it/lib/parser_core.js +36 -0
  1459. package/lib/node_modules/markdown-it/lib/parser_inline.js +123 -0
  1460. package/lib/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
  1461. package/lib/node_modules/markdown-it/lib/presets/default.js +40 -0
  1462. package/lib/node_modules/markdown-it/lib/presets/zero.js +59 -0
  1463. package/lib/node_modules/markdown-it/lib/renderer.js +165 -0
  1464. package/lib/node_modules/markdown-it/lib/ruler.js +143 -0
  1465. package/lib/node_modules/markdown-it/lib/rules_block/blockquote.js +127 -0
  1466. package/lib/node_modules/markdown-it/lib/rules_block/code.js +27 -0
  1467. package/lib/node_modules/markdown-it/lib/rules_block/fence.js +70 -0
  1468. package/lib/node_modules/markdown-it/lib/rules_block/heading.js +43 -0
  1469. package/lib/node_modules/markdown-it/lib/rules_block/hr.js +36 -0
  1470. package/lib/node_modules/markdown-it/lib/rules_block/html_block.js +65 -0
  1471. package/lib/node_modules/markdown-it/lib/rules_block/lheading.js +65 -0
  1472. package/lib/node_modules/markdown-it/lib/rules_block/list.js +226 -0
  1473. package/lib/node_modules/markdown-it/lib/rules_block/paragraph.js +39 -0
  1474. package/lib/node_modules/markdown-it/lib/rules_block/reference.js +177 -0
  1475. package/lib/node_modules/markdown-it/lib/rules_block/state_block.js +159 -0
  1476. package/lib/node_modules/markdown-it/lib/rules_block/table.js +192 -0
  1477. package/lib/node_modules/markdown-it/lib/rules_core/block.js +15 -0
  1478. package/lib/node_modules/markdown-it/lib/rules_core/inline.js +12 -0
  1479. package/lib/node_modules/markdown-it/lib/rules_core/linkify.js +99 -0
  1480. package/lib/node_modules/markdown-it/lib/rules_core/normalize.js +11 -0
  1481. package/lib/node_modules/markdown-it/lib/rules_core/replacements.js +63 -0
  1482. package/lib/node_modules/markdown-it/lib/rules_core/smartquotes.js +160 -0
  1483. package/lib/node_modules/markdown-it/lib/rules_core/state_core.js +12 -0
  1484. package/lib/node_modules/markdown-it/lib/rules_core/text_join.js +31 -0
  1485. package/lib/node_modules/markdown-it/lib/rules_inline/autolink.js +59 -0
  1486. package/lib/node_modules/markdown-it/lib/rules_inline/backticks.js +46 -0
  1487. package/lib/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +65 -0
  1488. package/lib/node_modules/markdown-it/lib/rules_inline/emphasis.js +88 -0
  1489. package/lib/node_modules/markdown-it/lib/rules_inline/entity.js +44 -0
  1490. package/lib/node_modules/markdown-it/lib/rules_inline/escape.js +63 -0
  1491. package/lib/node_modules/markdown-it/lib/rules_inline/fragments_join.js +25 -0
  1492. package/lib/node_modules/markdown-it/lib/rules_inline/html_inline.js +40 -0
  1493. package/lib/node_modules/markdown-it/lib/rules_inline/image.js +115 -0
  1494. package/lib/node_modules/markdown-it/lib/rules_inline/link.js +110 -0
  1495. package/lib/node_modules/markdown-it/lib/rules_inline/linkify.js +44 -0
  1496. package/lib/node_modules/markdown-it/lib/rules_inline/newline.js +33 -0
  1497. package/lib/node_modules/markdown-it/lib/rules_inline/state_inline.js +96 -0
  1498. package/lib/node_modules/markdown-it/lib/rules_inline/strikethrough.js +97 -0
  1499. package/lib/node_modules/markdown-it/lib/rules_inline/text.js +47 -0
  1500. package/lib/node_modules/markdown-it/lib/token.js +62 -0
  1501. package/lib/node_modules/marked/lib/marked.esm.js +1117 -0
  1502. package/lib/node_modules/mdurl/index.js +10 -0
  1503. package/lib/node_modules/mdurl/lib/decode.js +83 -0
  1504. package/lib/node_modules/mdurl/lib/encode.js +64 -0
  1505. package/lib/node_modules/mdurl/lib/format.js +19 -0
  1506. package/lib/node_modules/mdurl/lib/parse.js +182 -0
  1507. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/abnfDiagram-VRR7QNED.js +123 -0
  1508. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-ZJ3FMSHR.js +1261 -0
  1509. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-677ZJIJ3.js +3688 -0
  1510. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.js +2485 -0
  1511. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2Q5K7J3B.js +17 -0
  1512. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.js +121 -0
  1513. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-52WLFC77.js +1050 -0
  1514. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5VM5RSS4.js +19 -0
  1515. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7BUUIJ7U.js +126 -0
  1516. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C7G6YPKG.js +105 -0
  1517. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EX3LRPZG.js +2004 -0
  1518. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FWX5IMBZ.js +91 -0
  1519. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HOUHSVGY.js +92 -0
  1520. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.js +571 -0
  1521. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JWPE2WC7.js +17 -0
  1522. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MOJQB5TN.js +858 -0
  1523. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OGEWGWER.js +57 -0
  1524. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-PUDLZKDR.js +2359 -0
  1525. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-Q4XR5HBZ.js +399 -0
  1526. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RYQCIY6F.js +430 -0
  1527. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-V7JOEXUC.js +2030 -0
  1528. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VAUOI2AC.js +20 -0
  1529. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VR4S4FIN.js +27 -0
  1530. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WYO6CB5R.js +5448 -0
  1531. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-X3CZISLH.js +72 -0
  1532. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XXDRQBXY.js +16 -0
  1533. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-Y2CYZVJY.js +10 -0
  1534. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZGVPDNZ5.js +5723 -0
  1535. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZIRB5QZD.js +2700 -0
  1536. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.js +31 -0
  1537. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.js +31 -0
  1538. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-JH36ORCC.js +295 -0
  1539. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/cynefinDiagram-TSTJHNR4.js +457 -0
  1540. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/dagre-VKFMJZFB.js +534 -0
  1541. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/diagram-FQU43EPY.js +642 -0
  1542. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/diagram-G47NLZAW.js +539 -0
  1543. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/diagram-NH7WQ7WH.js +215 -0
  1544. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/diagram-OA4YK3LP.js +496 -0
  1545. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/diagram-WEI45ONY.js +312 -0
  1546. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ebnfDiagram-CCIWWBDH.js +143 -0
  1547. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q63AITRT.js +1250 -0
  1548. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.js +18 -0
  1549. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.js +2247 -0
  1550. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-IHSO6WYX.js +1390 -0
  1551. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-FWYZ7A6U.js +34 -0
  1552. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-FXEZZL3T.js +971 -0
  1553. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-5HDEW3XC.js +1260 -0
  1554. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-HUTT4EX6.js +1065 -0
  1555. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-LN4V7U3C.js +1167 -0
  1556. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/pegDiagram-2B236MQR.js +131 -0
  1557. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ENE6RG2P.js +270 -0
  1558. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-ABIIQ3AL.js +1343 -0
  1559. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/railroadDiagram-RFXS5EU6.js +97 -0
  1560. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-TGXJPOKE.js +1213 -0
  1561. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-HTMAVEWB.js +744 -0
  1562. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.js +4530 -0
  1563. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sizeCapture-X5ZJPWSS.js +63 -0
  1564. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.js +464 -0
  1565. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.js +31 -0
  1566. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/swimlanes-5IMT3BWC.js +8577 -0
  1567. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.js +28 -0
  1568. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-FHXFAJF6.js +1615 -0
  1569. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-L72KCM5P.js +1091 -0
  1570. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-EHGQE667.js +981 -0
  1571. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-FW5EYKEG.js +1919 -0
  1572. package/lib/node_modules/mermaid/dist/mermaid.core.js +1468 -0
  1573. package/lib/node_modules/object-refs/index.js +1 -1
  1574. package/lib/node_modules/punycode.js/punycode.es6.js +240 -0
  1575. package/lib/node_modules/roughjs/bundled/rough.esm.js +1001 -0
  1576. package/lib/node_modules/stylis/src/Enum.js +22 -0
  1577. package/lib/node_modules/stylis/src/Middleware.js +13 -0
  1578. package/lib/node_modules/stylis/src/Parser.js +176 -0
  1579. package/lib/node_modules/stylis/src/Serializer.js +29 -0
  1580. package/lib/node_modules/stylis/src/Tokenizer.js +150 -0
  1581. package/lib/node_modules/stylis/src/Utility.js +34 -0
  1582. package/lib/node_modules/ts-dedent/esm/index.js +42 -0
  1583. package/lib/node_modules/uc.micro/categories/Cc/regex.js +4 -0
  1584. package/lib/node_modules/uc.micro/categories/Cf/regex.js +4 -0
  1585. package/lib/node_modules/uc.micro/categories/P/regex.js +4 -0
  1586. package/lib/node_modules/uc.micro/categories/S/regex.js +4 -0
  1587. package/lib/node_modules/uc.micro/categories/Z/regex.js +4 -0
  1588. package/lib/node_modules/uc.micro/index.js +14 -0
  1589. package/lib/node_modules/uc.micro/properties/Any/regex.js +4 -0
  1590. package/lib/node_modules/uuid/dist/native.js +5 -0
  1591. package/lib/node_modules/uuid/dist/rng.js +14 -0
  1592. package/lib/node_modules/uuid/dist/stringify.js +10 -0
  1593. package/lib/node_modules/uuid/dist/v4.js +23 -0
  1594. package/lib/node_modules/vant/es/button/Button.js +1 -1
  1595. package/lib/node_modules/vant/es/dialog/Dialog.js +1 -1
  1596. package/lib/node_modules/vant/es/swipe-cell/SwipeCell.js +1 -1
  1597. package/lib/packages/mobile/index.js +158 -156
  1598. package/lib/packages/mobile/src/components/ai/AiChat/AiChat.vue.js +218 -0
  1599. package/lib/packages/mobile/src/components/ai/AiChat/index.js +7 -0
  1600. package/lib/packages/mobile/src/components/ai/ChatInput/ChatInput.vue.js +211 -0
  1601. package/lib/packages/mobile/src/components/ai/ChatInput/index.js +7 -0
  1602. package/lib/packages/mobile/src/components/ai/ChatPanel/ChatPanel.vue.js +232 -0
  1603. package/lib/packages/mobile/src/components/ai/ChatPanel/index.js +7 -0
  1604. package/lib/packages/mobile/src/components/ai/MarkdownRenderer/MarkdownRenderer.vue.js +129 -0
  1605. package/lib/packages/mobile/src/components/ai/MarkdownRenderer/index.js +7 -0
  1606. package/lib/packages/mobile/src/components/ai/RecordOverlay/RecordOverlay.vue.js +98 -0
  1607. package/lib/packages/mobile/src/components/ai/RecordOverlay/index.js +7 -0
  1608. package/lib/packages/mobile/src/components/all.js +156 -154
  1609. package/lib/packages/mobile/src/components/dataDisplay/mine/Mine.vue.js +3 -5
  1610. package/lib/packages/mobile/src/composables/useAI/adapters/detector.js +77 -0
  1611. package/lib/packages/mobile/src/composables/useAI/adapters/index.js +33 -0
  1612. package/lib/packages/mobile/src/composables/useAI/adapters/miniprogram.js +163 -0
  1613. package/lib/packages/mobile/src/composables/useAI/adapters/mock.js +179 -0
  1614. package/lib/packages/mobile/src/composables/useAI/adapters/wecom.js +212 -0
  1615. package/lib/packages/mobile/src/composables/useAI/types.js +92 -0
  1616. package/lib/packages/mobile/src/composables/useAI/useChat.js +197 -0
  1617. package/lib/packages/mobile/src/composables/useAI/useVoice.js +168 -0
  1618. package/lib/packages/mobile/src/composables/useVoiceTouch.js +101 -0
  1619. package/lib/packages/mobile/src/index.vue.js +114 -30
  1620. package/lib/packages/vue/src/components/forms/form/Form.vue.js +30 -2
  1621. package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +99 -2
  1622. package/lib/packages/vue/src/components/table/Table.vue.js +5 -111
  1623. package/lib/packages/vue/src/utils/formatCellValue.js +104 -0
  1624. package/lib/packages/vue/src/utils/importantDataChange.js +181 -0
  1625. package/package.json +1 -1
@@ -0,0 +1,2485 @@
1
+ var _a, _b;
2
+ import { getNoteRect, drawRect } from "./chunk-32BRIVSS.mjs";
3
+ import { calculateTextWidth, wrapLabel, calculateTextHeight } from "./chunk-ICXQ74PX.mjs";
4
+ import { setAccDescription, getAccDescription, getAccTitle, setAccTitle, getConfig2, configureSvgSize, assignWithDepth_default, sanitizeText, common_default } from "./chunk-WYO6CB5R.mjs";
5
+ import { log } from "./chunk-X3CZISLH.mjs";
6
+ import { __name } from "./chunk-Y2CYZVJY.mjs";
7
+ import "../../../../d3-transition/src/selection/index.mjs";
8
+ import "../../../../d3-zoom/src/transform.mjs";
9
+ import { d as distExports } from "../../../../../_virtual/index2.mjs";
10
+ import select from "../../../../d3-selection/src/select.mjs";
11
+ var parser = function() {
12
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
13
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
14
+ return o2;
15
+ }, "o"), $V0 = [1, 24], $V1 = [1, 25], $V2 = [1, 26], $V3 = [1, 27], $V4 = [1, 28], $V5 = [1, 63], $V6 = [1, 64], $V7 = [1, 65], $V8 = [1, 66], $V9 = [1, 67], $Va = [1, 68], $Vb = [1, 69], $Vc = [1, 29], $Vd = [1, 30], $Ve = [1, 31], $Vf = [1, 32], $Vg = [1, 33], $Vh = [1, 34], $Vi = [1, 35], $Vj = [1, 36], $Vk = [1, 37], $Vl = [1, 38], $Vm = [1, 39], $Vn = [1, 40], $Vo = [1, 41], $Vp = [1, 42], $Vq = [1, 43], $Vr = [1, 44], $Vs = [1, 45], $Vt = [1, 46], $Vu = [1, 47], $Vv = [1, 48], $Vw = [1, 50], $Vx = [1, 51], $Vy = [1, 52], $Vz = [1, 53], $VA = [1, 54], $VB = [1, 55], $VC = [1, 56], $VD = [1, 57], $VE = [1, 58], $VF = [1, 59], $VG = [1, 60], $VH = [14, 42], $VI = [14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], $VJ = [12, 14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], $VK = [1, 82], $VL = [1, 83], $VM = [1, 84], $VN = [1, 85], $VO = [12, 14, 42], $VP = [12, 14, 33, 42], $VQ = [12, 14, 33, 42, 76, 77, 79, 80], $VR = [12, 33], $VS = [34, 36, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74];
16
+ var parser2 = {
17
+ trace: /* @__PURE__ */ __name(function trace() {
18
+ }, "trace"),
19
+ yy: {},
20
+ symbols_: { "error": 2, "start": 3, "mermaidDoc": 4, "direction": 5, "direction_tb": 6, "direction_bt": 7, "direction_rl": 8, "direction_lr": 9, "graphConfig": 10, "C4_CONTEXT": 11, "NEWLINE": 12, "statements": 13, "EOF": 14, "C4_CONTAINER": 15, "C4_COMPONENT": 16, "C4_DYNAMIC": 17, "C4_DEPLOYMENT": 18, "otherStatements": 19, "diagramStatements": 20, "otherStatement": 21, "title": 22, "accDescription": 23, "acc_title": 24, "acc_title_value": 25, "acc_descr": 26, "acc_descr_value": 27, "acc_descr_multiline_value": 28, "boundaryStatement": 29, "boundaryStartStatement": 30, "boundaryStopStatement": 31, "boundaryStart": 32, "LBRACE": 33, "ENTERPRISE_BOUNDARY": 34, "attributes": 35, "SYSTEM_BOUNDARY": 36, "BOUNDARY": 37, "CONTAINER_BOUNDARY": 38, "NODE": 39, "NODE_L": 40, "NODE_R": 41, "RBRACE": 42, "diagramStatement": 43, "PERSON": 44, "PERSON_EXT": 45, "SYSTEM": 46, "SYSTEM_DB": 47, "SYSTEM_QUEUE": 48, "SYSTEM_EXT": 49, "SYSTEM_EXT_DB": 50, "SYSTEM_EXT_QUEUE": 51, "CONTAINER": 52, "CONTAINER_DB": 53, "CONTAINER_QUEUE": 54, "CONTAINER_EXT": 55, "CONTAINER_EXT_DB": 56, "CONTAINER_EXT_QUEUE": 57, "COMPONENT": 58, "COMPONENT_DB": 59, "COMPONENT_QUEUE": 60, "COMPONENT_EXT": 61, "COMPONENT_EXT_DB": 62, "COMPONENT_EXT_QUEUE": 63, "REL": 64, "BIREL": 65, "REL_U": 66, "REL_D": 67, "REL_L": 68, "REL_R": 69, "REL_B": 70, "REL_INDEX": 71, "UPDATE_EL_STYLE": 72, "UPDATE_REL_STYLE": 73, "UPDATE_LAYOUT_CONFIG": 74, "attribute": 75, "STR": 76, "STR_KEY": 77, "STR_VALUE": 78, "ATTRIBUTE": 79, "ATTRIBUTE_EMPTY": 80, "$accept": 0, "$end": 1 },
21
+ terminals_: { 2: "error", 6: "direction_tb", 7: "direction_bt", 8: "direction_rl", 9: "direction_lr", 11: "C4_CONTEXT", 12: "NEWLINE", 14: "EOF", 15: "C4_CONTAINER", 16: "C4_COMPONENT", 17: "C4_DYNAMIC", 18: "C4_DEPLOYMENT", 22: "title", 23: "accDescription", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "LBRACE", 34: "ENTERPRISE_BOUNDARY", 36: "SYSTEM_BOUNDARY", 37: "BOUNDARY", 38: "CONTAINER_BOUNDARY", 39: "NODE", 40: "NODE_L", 41: "NODE_R", 42: "RBRACE", 44: "PERSON", 45: "PERSON_EXT", 46: "SYSTEM", 47: "SYSTEM_DB", 48: "SYSTEM_QUEUE", 49: "SYSTEM_EXT", 50: "SYSTEM_EXT_DB", 51: "SYSTEM_EXT_QUEUE", 52: "CONTAINER", 53: "CONTAINER_DB", 54: "CONTAINER_QUEUE", 55: "CONTAINER_EXT", 56: "CONTAINER_EXT_DB", 57: "CONTAINER_EXT_QUEUE", 58: "COMPONENT", 59: "COMPONENT_DB", 60: "COMPONENT_QUEUE", 61: "COMPONENT_EXT", 62: "COMPONENT_EXT_DB", 63: "COMPONENT_EXT_QUEUE", 64: "REL", 65: "BIREL", 66: "REL_U", 67: "REL_D", 68: "REL_L", 69: "REL_R", 70: "REL_B", 71: "REL_INDEX", 72: "UPDATE_EL_STYLE", 73: "UPDATE_REL_STYLE", 74: "UPDATE_LAYOUT_CONFIG", 76: "STR", 77: "STR_KEY", 78: "STR_VALUE", 79: "ATTRIBUTE", 80: "ATTRIBUTE_EMPTY" },
22
+ productions_: [0, [3, 1], [3, 1], [5, 1], [5, 1], [5, 1], [5, 1], [4, 1], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [13, 1], [13, 1], [13, 2], [19, 1], [19, 2], [19, 3], [21, 1], [21, 1], [21, 2], [21, 2], [21, 1], [29, 3], [30, 3], [30, 3], [30, 4], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [31, 1], [20, 1], [20, 2], [20, 3], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 1], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [35, 1], [35, 2], [75, 1], [75, 2], [75, 1], [75, 1]],
23
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
24
+ var $0 = $$.length - 1;
25
+ switch (yystate) {
26
+ case 3:
27
+ yy.setDirection("TB");
28
+ break;
29
+ case 4:
30
+ yy.setDirection("BT");
31
+ break;
32
+ case 5:
33
+ yy.setDirection("RL");
34
+ break;
35
+ case 6:
36
+ yy.setDirection("LR");
37
+ break;
38
+ case 8:
39
+ case 9:
40
+ case 10:
41
+ case 11:
42
+ case 12:
43
+ yy.setC4Type($$[$0 - 3]);
44
+ break;
45
+ case 19:
46
+ yy.setTitle($$[$0].substring(6));
47
+ this.$ = $$[$0].substring(6);
48
+ break;
49
+ case 20:
50
+ yy.setAccDescription($$[$0].substring(15));
51
+ this.$ = $$[$0].substring(15);
52
+ break;
53
+ case 21:
54
+ this.$ = $$[$0].trim();
55
+ yy.setTitle(this.$);
56
+ break;
57
+ case 22:
58
+ case 23:
59
+ this.$ = $$[$0].trim();
60
+ yy.setAccDescription(this.$);
61
+ break;
62
+ case 28:
63
+ $$[$0].splice(2, 0, "ENTERPRISE");
64
+ yy.addPersonOrSystemBoundary(...$$[$0]);
65
+ this.$ = $$[$0];
66
+ break;
67
+ case 29:
68
+ $$[$0].splice(2, 0, "SYSTEM");
69
+ yy.addPersonOrSystemBoundary(...$$[$0]);
70
+ this.$ = $$[$0];
71
+ break;
72
+ case 30:
73
+ yy.addPersonOrSystemBoundary(...$$[$0]);
74
+ this.$ = $$[$0];
75
+ break;
76
+ case 31:
77
+ $$[$0].splice(2, 0, "CONTAINER");
78
+ yy.addContainerBoundary(...$$[$0]);
79
+ this.$ = $$[$0];
80
+ break;
81
+ case 32:
82
+ yy.addDeploymentNode("node", ...$$[$0]);
83
+ this.$ = $$[$0];
84
+ break;
85
+ case 33:
86
+ yy.addDeploymentNode("nodeL", ...$$[$0]);
87
+ this.$ = $$[$0];
88
+ break;
89
+ case 34:
90
+ yy.addDeploymentNode("nodeR", ...$$[$0]);
91
+ this.$ = $$[$0];
92
+ break;
93
+ case 35:
94
+ yy.popBoundaryParseStack();
95
+ break;
96
+ case 39:
97
+ yy.addPersonOrSystem("person", ...$$[$0]);
98
+ this.$ = $$[$0];
99
+ break;
100
+ case 40:
101
+ yy.addPersonOrSystem("external_person", ...$$[$0]);
102
+ this.$ = $$[$0];
103
+ break;
104
+ case 41:
105
+ yy.addPersonOrSystem("system", ...$$[$0]);
106
+ this.$ = $$[$0];
107
+ break;
108
+ case 42:
109
+ yy.addPersonOrSystem("system_db", ...$$[$0]);
110
+ this.$ = $$[$0];
111
+ break;
112
+ case 43:
113
+ yy.addPersonOrSystem("system_queue", ...$$[$0]);
114
+ this.$ = $$[$0];
115
+ break;
116
+ case 44:
117
+ yy.addPersonOrSystem("external_system", ...$$[$0]);
118
+ this.$ = $$[$0];
119
+ break;
120
+ case 45:
121
+ yy.addPersonOrSystem("external_system_db", ...$$[$0]);
122
+ this.$ = $$[$0];
123
+ break;
124
+ case 46:
125
+ yy.addPersonOrSystem("external_system_queue", ...$$[$0]);
126
+ this.$ = $$[$0];
127
+ break;
128
+ case 47:
129
+ yy.addContainer("container", ...$$[$0]);
130
+ this.$ = $$[$0];
131
+ break;
132
+ case 48:
133
+ yy.addContainer("container_db", ...$$[$0]);
134
+ this.$ = $$[$0];
135
+ break;
136
+ case 49:
137
+ yy.addContainer("container_queue", ...$$[$0]);
138
+ this.$ = $$[$0];
139
+ break;
140
+ case 50:
141
+ yy.addContainer("external_container", ...$$[$0]);
142
+ this.$ = $$[$0];
143
+ break;
144
+ case 51:
145
+ yy.addContainer("external_container_db", ...$$[$0]);
146
+ this.$ = $$[$0];
147
+ break;
148
+ case 52:
149
+ yy.addContainer("external_container_queue", ...$$[$0]);
150
+ this.$ = $$[$0];
151
+ break;
152
+ case 53:
153
+ yy.addComponent("component", ...$$[$0]);
154
+ this.$ = $$[$0];
155
+ break;
156
+ case 54:
157
+ yy.addComponent("component_db", ...$$[$0]);
158
+ this.$ = $$[$0];
159
+ break;
160
+ case 55:
161
+ yy.addComponent("component_queue", ...$$[$0]);
162
+ this.$ = $$[$0];
163
+ break;
164
+ case 56:
165
+ yy.addComponent("external_component", ...$$[$0]);
166
+ this.$ = $$[$0];
167
+ break;
168
+ case 57:
169
+ yy.addComponent("external_component_db", ...$$[$0]);
170
+ this.$ = $$[$0];
171
+ break;
172
+ case 58:
173
+ yy.addComponent("external_component_queue", ...$$[$0]);
174
+ this.$ = $$[$0];
175
+ break;
176
+ case 60:
177
+ yy.addRel("rel", ...$$[$0]);
178
+ this.$ = $$[$0];
179
+ break;
180
+ case 61:
181
+ yy.addRel("birel", ...$$[$0]);
182
+ this.$ = $$[$0];
183
+ break;
184
+ case 62:
185
+ yy.addRel("rel_u", ...$$[$0]);
186
+ this.$ = $$[$0];
187
+ break;
188
+ case 63:
189
+ yy.addRel("rel_d", ...$$[$0]);
190
+ this.$ = $$[$0];
191
+ break;
192
+ case 64:
193
+ yy.addRel("rel_l", ...$$[$0]);
194
+ this.$ = $$[$0];
195
+ break;
196
+ case 65:
197
+ yy.addRel("rel_r", ...$$[$0]);
198
+ this.$ = $$[$0];
199
+ break;
200
+ case 66:
201
+ yy.addRel("rel_b", ...$$[$0]);
202
+ this.$ = $$[$0];
203
+ break;
204
+ case 67:
205
+ $$[$0].splice(0, 1);
206
+ yy.addRel("rel", ...$$[$0]);
207
+ this.$ = $$[$0];
208
+ break;
209
+ case 68:
210
+ yy.updateElStyle("update_el_style", ...$$[$0]);
211
+ this.$ = $$[$0];
212
+ break;
213
+ case 69:
214
+ yy.updateRelStyle("update_rel_style", ...$$[$0]);
215
+ this.$ = $$[$0];
216
+ break;
217
+ case 70:
218
+ yy.updateLayoutConfig("update_layout_config", ...$$[$0]);
219
+ this.$ = $$[$0];
220
+ break;
221
+ case 71:
222
+ this.$ = [$$[$0]];
223
+ break;
224
+ case 72:
225
+ $$[$0].unshift($$[$0 - 1]);
226
+ this.$ = $$[$0];
227
+ break;
228
+ case 73:
229
+ case 75:
230
+ this.$ = $$[$0].trim();
231
+ break;
232
+ case 74:
233
+ let kv = {};
234
+ kv[$$[$0 - 1].trim()] = $$[$0].trim();
235
+ this.$ = kv;
236
+ break;
237
+ case 76:
238
+ this.$ = "";
239
+ break;
240
+ }
241
+ }, "anonymous"),
242
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 7: [1, 6], 8: [1, 7], 9: [1, 8], 10: 4, 11: [1, 9], 15: [1, 10], 16: [1, 11], 17: [1, 12], 18: [1, 13] }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 7] }, { 1: [2, 3] }, { 1: [2, 4] }, { 1: [2, 5] }, { 1: [2, 6] }, { 12: [1, 14] }, { 12: [1, 15] }, { 12: [1, 16] }, { 12: [1, 17] }, { 12: [1, 18] }, { 13: 19, 19: 20, 20: 21, 21: 22, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 49, 30: 61, 32: 62, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 43: 23, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 49, 30: 61, 32: 62, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 43: 23, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 49, 30: 61, 32: 62, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 43: 23, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 49, 30: 61, 32: 62, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 43: 23, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4, 29: 49, 30: 61, 32: 62, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 43: 23, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }, { 14: [1, 74] }, o($VH, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }), o($VH, [2, 14]), o($VI, [2, 16], { 12: [1, 76] }), o($VH, [2, 36], { 12: [1, 77] }), o($VJ, [2, 19]), o($VJ, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, o($VJ, [2, 23]), { 35: 80, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 86, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 87, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 88, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 89, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 90, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 91, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 92, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 93, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 94, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 95, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 96, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 97, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 98, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 99, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 100, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 101, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 102, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 103, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 104, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, o($VO, [2, 59]), { 35: 105, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 106, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 107, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 108, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 109, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 110, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 111, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 112, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 113, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 114, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 115, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 43: 23, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 120, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 121, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 122, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 123, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 124, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 35: 125, 75: 81, 76: $VK, 77: $VL, 79: $VM, 80: $VN }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, o($VH, [2, 15]), o($VI, [2, 17], { 21: 22, 19: 130, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4 }), o($VH, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: $V0, 23: $V1, 24: $V2, 26: $V3, 28: $V4, 34: $V5, 36: $V6, 37: $V7, 38: $V8, 39: $V9, 40: $Va, 41: $Vb, 44: $Vc, 45: $Vd, 46: $Ve, 47: $Vf, 48: $Vg, 49: $Vh, 50: $Vi, 51: $Vj, 52: $Vk, 53: $Vl, 54: $Vm, 55: $Vn, 56: $Vo, 57: $Vp, 58: $Vq, 59: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 64: $Vw, 65: $Vx, 66: $Vy, 67: $Vz, 68: $VA, 69: $VB, 70: $VC, 71: $VD, 72: $VE, 73: $VF, 74: $VG }), o($VJ, [2, 21]), o($VJ, [2, 22]), o($VO, [2, 39]), o($VP, [2, 71], { 75: 81, 35: 132, 76: $VK, 77: $VL, 79: $VM, 80: $VN }), o($VQ, [2, 73]), { 78: [1, 133] }, o($VQ, [2, 75]), o($VQ, [2, 76]), o($VO, [2, 40]), o($VO, [2, 41]), o($VO, [2, 42]), o($VO, [2, 43]), o($VO, [2, 44]), o($VO, [2, 45]), o($VO, [2, 46]), o($VO, [2, 47]), o($VO, [2, 48]), o($VO, [2, 49]), o($VO, [2, 50]), o($VO, [2, 51]), o($VO, [2, 52]), o($VO, [2, 53]), o($VO, [2, 54]), o($VO, [2, 55]), o($VO, [2, 56]), o($VO, [2, 57]), o($VO, [2, 58]), o($VO, [2, 60]), o($VO, [2, 61]), o($VO, [2, 62]), o($VO, [2, 63]), o($VO, [2, 64]), o($VO, [2, 65]), o($VO, [2, 66]), o($VO, [2, 67]), o($VO, [2, 68]), o($VO, [2, 69]), o($VO, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, o($VR, [2, 28]), o($VR, [2, 29]), o($VR, [2, 30]), o($VR, [2, 31]), o($VR, [2, 32]), o($VR, [2, 33]), o($VR, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, o($VI, [2, 18]), o($VH, [2, 38]), o($VP, [2, 72]), o($VQ, [2, 74]), o($VO, [2, 24]), o($VO, [2, 35]), o($VS, [2, 25]), o($VS, [2, 26], { 12: [1, 138] }), o($VS, [2, 27])],
243
+ defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 7], 5: [2, 3], 6: [2, 4], 7: [2, 5], 8: [2, 6], 74: [2, 8], 126: [2, 9], 127: [2, 10], 128: [2, 11], 129: [2, 12] },
244
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
245
+ if (hash.recoverable) {
246
+ this.trace(str);
247
+ } else {
248
+ var error = new Error(str);
249
+ error.hash = hash;
250
+ throw error;
251
+ }
252
+ }, "parseError"),
253
+ parse: /* @__PURE__ */ __name(function parse(input) {
254
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
255
+ var args = lstack.slice.call(arguments, 1);
256
+ var lexer2 = Object.create(this.lexer);
257
+ var sharedState = { yy: {} };
258
+ for (var k in this.yy) {
259
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
260
+ sharedState.yy[k] = this.yy[k];
261
+ }
262
+ }
263
+ lexer2.setInput(input, sharedState.yy);
264
+ sharedState.yy.lexer = lexer2;
265
+ sharedState.yy.parser = this;
266
+ if (typeof lexer2.yylloc == "undefined") {
267
+ lexer2.yylloc = {};
268
+ }
269
+ var yyloc = lexer2.yylloc;
270
+ lstack.push(yyloc);
271
+ var ranges = lexer2.options && lexer2.options.ranges;
272
+ if (typeof sharedState.yy.parseError === "function") {
273
+ this.parseError = sharedState.yy.parseError;
274
+ } else {
275
+ this.parseError = Object.getPrototypeOf(this).parseError;
276
+ }
277
+ function popStack(n) {
278
+ stack.length = stack.length - 2 * n;
279
+ vstack.length = vstack.length - n;
280
+ lstack.length = lstack.length - n;
281
+ }
282
+ __name(popStack, "popStack");
283
+ function lex() {
284
+ var token;
285
+ token = tstack.pop() || lexer2.lex() || EOF;
286
+ if (typeof token !== "number") {
287
+ if (token instanceof Array) {
288
+ tstack = token;
289
+ token = tstack.pop();
290
+ }
291
+ token = self.symbols_[token] || token;
292
+ }
293
+ return token;
294
+ }
295
+ __name(lex, "lex");
296
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
297
+ while (true) {
298
+ state = stack[stack.length - 1];
299
+ if (this.defaultActions[state]) {
300
+ action = this.defaultActions[state];
301
+ } else {
302
+ if (symbol === null || typeof symbol == "undefined") {
303
+ symbol = lex();
304
+ }
305
+ action = table[state] && table[state][symbol];
306
+ }
307
+ if (typeof action === "undefined" || !action.length || !action[0]) {
308
+ var errStr = "";
309
+ expected = [];
310
+ for (p in table[state]) {
311
+ if (this.terminals_[p] && p > TERROR) {
312
+ expected.push("'" + this.terminals_[p] + "'");
313
+ }
314
+ }
315
+ if (lexer2.showPosition) {
316
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
317
+ } else {
318
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
319
+ }
320
+ this.parseError(errStr, {
321
+ text: lexer2.match,
322
+ token: this.terminals_[symbol] || symbol,
323
+ line: lexer2.yylineno,
324
+ loc: yyloc,
325
+ expected
326
+ });
327
+ }
328
+ if (action[0] instanceof Array && action.length > 1) {
329
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
330
+ }
331
+ switch (action[0]) {
332
+ case 1:
333
+ stack.push(symbol);
334
+ vstack.push(lexer2.yytext);
335
+ lstack.push(lexer2.yylloc);
336
+ stack.push(action[1]);
337
+ symbol = null;
338
+ {
339
+ yyleng = lexer2.yyleng;
340
+ yytext = lexer2.yytext;
341
+ yylineno = lexer2.yylineno;
342
+ yyloc = lexer2.yylloc;
343
+ }
344
+ break;
345
+ case 2:
346
+ len = this.productions_[action[1]][1];
347
+ yyval.$ = vstack[vstack.length - len];
348
+ yyval._$ = {
349
+ first_line: lstack[lstack.length - (len || 1)].first_line,
350
+ last_line: lstack[lstack.length - 1].last_line,
351
+ first_column: lstack[lstack.length - (len || 1)].first_column,
352
+ last_column: lstack[lstack.length - 1].last_column
353
+ };
354
+ if (ranges) {
355
+ yyval._$.range = [
356
+ lstack[lstack.length - (len || 1)].range[0],
357
+ lstack[lstack.length - 1].range[1]
358
+ ];
359
+ }
360
+ r = this.performAction.apply(yyval, [
361
+ yytext,
362
+ yyleng,
363
+ yylineno,
364
+ sharedState.yy,
365
+ action[1],
366
+ vstack,
367
+ lstack
368
+ ].concat(args));
369
+ if (typeof r !== "undefined") {
370
+ return r;
371
+ }
372
+ if (len) {
373
+ stack = stack.slice(0, -1 * len * 2);
374
+ vstack = vstack.slice(0, -1 * len);
375
+ lstack = lstack.slice(0, -1 * len);
376
+ }
377
+ stack.push(this.productions_[action[1]][0]);
378
+ vstack.push(yyval.$);
379
+ lstack.push(yyval._$);
380
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
381
+ stack.push(newState);
382
+ break;
383
+ case 3:
384
+ return true;
385
+ }
386
+ }
387
+ return true;
388
+ }, "parse")
389
+ };
390
+ var lexer = /* @__PURE__ */ function() {
391
+ var lexer2 = {
392
+ EOF: 1,
393
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
394
+ if (this.yy.parser) {
395
+ this.yy.parser.parseError(str, hash);
396
+ } else {
397
+ throw new Error(str);
398
+ }
399
+ }, "parseError"),
400
+ // resets the lexer, sets new input
401
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
402
+ this.yy = yy || this.yy || {};
403
+ this._input = input;
404
+ this._more = this._backtrack = this.done = false;
405
+ this.yylineno = this.yyleng = 0;
406
+ this.yytext = this.matched = this.match = "";
407
+ this.conditionStack = ["INITIAL"];
408
+ this.yylloc = {
409
+ first_line: 1,
410
+ first_column: 0,
411
+ last_line: 1,
412
+ last_column: 0
413
+ };
414
+ if (this.options.ranges) {
415
+ this.yylloc.range = [0, 0];
416
+ }
417
+ this.offset = 0;
418
+ return this;
419
+ }, "setInput"),
420
+ // consumes and returns one char from the input
421
+ input: /* @__PURE__ */ __name(function() {
422
+ var ch = this._input[0];
423
+ this.yytext += ch;
424
+ this.yyleng++;
425
+ this.offset++;
426
+ this.match += ch;
427
+ this.matched += ch;
428
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
429
+ if (lines) {
430
+ this.yylineno++;
431
+ this.yylloc.last_line++;
432
+ } else {
433
+ this.yylloc.last_column++;
434
+ }
435
+ if (this.options.ranges) {
436
+ this.yylloc.range[1]++;
437
+ }
438
+ this._input = this._input.slice(1);
439
+ return ch;
440
+ }, "input"),
441
+ // unshifts one char (or a string) into the input
442
+ unput: /* @__PURE__ */ __name(function(ch) {
443
+ var len = ch.length;
444
+ var lines = ch.split(/(?:\r\n?|\n)/g);
445
+ this._input = ch + this._input;
446
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
447
+ this.offset -= len;
448
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
449
+ this.match = this.match.substr(0, this.match.length - 1);
450
+ this.matched = this.matched.substr(0, this.matched.length - 1);
451
+ if (lines.length - 1) {
452
+ this.yylineno -= lines.length - 1;
453
+ }
454
+ var r = this.yylloc.range;
455
+ this.yylloc = {
456
+ first_line: this.yylloc.first_line,
457
+ last_line: this.yylineno + 1,
458
+ first_column: this.yylloc.first_column,
459
+ last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
460
+ };
461
+ if (this.options.ranges) {
462
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
463
+ }
464
+ this.yyleng = this.yytext.length;
465
+ return this;
466
+ }, "unput"),
467
+ // When called from action, caches matched text and appends it on next action
468
+ more: /* @__PURE__ */ __name(function() {
469
+ this._more = true;
470
+ return this;
471
+ }, "more"),
472
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
473
+ reject: /* @__PURE__ */ __name(function() {
474
+ if (this.options.backtrack_lexer) {
475
+ this._backtrack = true;
476
+ } else {
477
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
478
+ text: "",
479
+ token: null,
480
+ line: this.yylineno
481
+ });
482
+ }
483
+ return this;
484
+ }, "reject"),
485
+ // retain first n characters of the match
486
+ less: /* @__PURE__ */ __name(function(n) {
487
+ this.unput(this.match.slice(n));
488
+ }, "less"),
489
+ // displays already matched input, i.e. for error messages
490
+ pastInput: /* @__PURE__ */ __name(function() {
491
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
492
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
493
+ }, "pastInput"),
494
+ // displays upcoming input, i.e. for error messages
495
+ upcomingInput: /* @__PURE__ */ __name(function() {
496
+ var next = this.match;
497
+ if (next.length < 20) {
498
+ next += this._input.substr(0, 20 - next.length);
499
+ }
500
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
501
+ }, "upcomingInput"),
502
+ // displays the character position where the lexing error occurred, i.e. for error messages
503
+ showPosition: /* @__PURE__ */ __name(function() {
504
+ var pre = this.pastInput();
505
+ var c2 = new Array(pre.length + 1).join("-");
506
+ return pre + this.upcomingInput() + "\n" + c2 + "^";
507
+ }, "showPosition"),
508
+ // test the lexed token: return FALSE when not a match, otherwise return token
509
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
510
+ var token, lines, backup;
511
+ if (this.options.backtrack_lexer) {
512
+ backup = {
513
+ yylineno: this.yylineno,
514
+ yylloc: {
515
+ first_line: this.yylloc.first_line,
516
+ last_line: this.last_line,
517
+ first_column: this.yylloc.first_column,
518
+ last_column: this.yylloc.last_column
519
+ },
520
+ yytext: this.yytext,
521
+ match: this.match,
522
+ matches: this.matches,
523
+ matched: this.matched,
524
+ yyleng: this.yyleng,
525
+ offset: this.offset,
526
+ _more: this._more,
527
+ _input: this._input,
528
+ yy: this.yy,
529
+ conditionStack: this.conditionStack.slice(0),
530
+ done: this.done
531
+ };
532
+ if (this.options.ranges) {
533
+ backup.yylloc.range = this.yylloc.range.slice(0);
534
+ }
535
+ }
536
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
537
+ if (lines) {
538
+ this.yylineno += lines.length;
539
+ }
540
+ this.yylloc = {
541
+ first_line: this.yylloc.last_line,
542
+ last_line: this.yylineno + 1,
543
+ first_column: this.yylloc.last_column,
544
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
545
+ };
546
+ this.yytext += match[0];
547
+ this.match += match[0];
548
+ this.matches = match;
549
+ this.yyleng = this.yytext.length;
550
+ if (this.options.ranges) {
551
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
552
+ }
553
+ this._more = false;
554
+ this._backtrack = false;
555
+ this._input = this._input.slice(match[0].length);
556
+ this.matched += match[0];
557
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
558
+ if (this.done && this._input) {
559
+ this.done = false;
560
+ }
561
+ if (token) {
562
+ return token;
563
+ } else if (this._backtrack) {
564
+ for (var k in backup) {
565
+ this[k] = backup[k];
566
+ }
567
+ return false;
568
+ }
569
+ return false;
570
+ }, "test_match"),
571
+ // return next match in input
572
+ next: /* @__PURE__ */ __name(function() {
573
+ if (this.done) {
574
+ return this.EOF;
575
+ }
576
+ if (!this._input) {
577
+ this.done = true;
578
+ }
579
+ var token, match, tempMatch, index;
580
+ if (!this._more) {
581
+ this.yytext = "";
582
+ this.match = "";
583
+ }
584
+ var rules = this._currentRules();
585
+ for (var i = 0; i < rules.length; i++) {
586
+ tempMatch = this._input.match(this.rules[rules[i]]);
587
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
588
+ match = tempMatch;
589
+ index = i;
590
+ if (this.options.backtrack_lexer) {
591
+ token = this.test_match(tempMatch, rules[i]);
592
+ if (token !== false) {
593
+ return token;
594
+ } else if (this._backtrack) {
595
+ match = false;
596
+ continue;
597
+ } else {
598
+ return false;
599
+ }
600
+ } else if (!this.options.flex) {
601
+ break;
602
+ }
603
+ }
604
+ }
605
+ if (match) {
606
+ token = this.test_match(match, rules[index]);
607
+ if (token !== false) {
608
+ return token;
609
+ }
610
+ return false;
611
+ }
612
+ if (this._input === "") {
613
+ return this.EOF;
614
+ } else {
615
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
616
+ text: "",
617
+ token: null,
618
+ line: this.yylineno
619
+ });
620
+ }
621
+ }, "next"),
622
+ // return next match that has a token
623
+ lex: /* @__PURE__ */ __name(function lex() {
624
+ var r = this.next();
625
+ if (r) {
626
+ return r;
627
+ } else {
628
+ return this.lex();
629
+ }
630
+ }, "lex"),
631
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
632
+ begin: /* @__PURE__ */ __name(function begin(condition) {
633
+ this.conditionStack.push(condition);
634
+ }, "begin"),
635
+ // pop the previously active lexer condition state off the condition stack
636
+ popState: /* @__PURE__ */ __name(function popState() {
637
+ var n = this.conditionStack.length - 1;
638
+ if (n > 0) {
639
+ return this.conditionStack.pop();
640
+ } else {
641
+ return this.conditionStack[0];
642
+ }
643
+ }, "popState"),
644
+ // produce the lexer rule set which is active for the currently active lexer condition state
645
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
646
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
647
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
648
+ } else {
649
+ return this.conditions["INITIAL"].rules;
650
+ }
651
+ }, "_currentRules"),
652
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
653
+ topState: /* @__PURE__ */ __name(function topState(n) {
654
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
655
+ if (n >= 0) {
656
+ return this.conditionStack[n];
657
+ } else {
658
+ return "INITIAL";
659
+ }
660
+ }, "topState"),
661
+ // alias for begin(condition)
662
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
663
+ this.begin(condition);
664
+ }, "pushState"),
665
+ // return the number of states currently on the stack
666
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
667
+ return this.conditionStack.length;
668
+ }, "stateStackSize"),
669
+ options: {},
670
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
671
+ switch ($avoiding_name_collisions) {
672
+ case 0:
673
+ return 6;
674
+ case 1:
675
+ return 7;
676
+ case 2:
677
+ return 8;
678
+ case 3:
679
+ return 9;
680
+ case 4:
681
+ return 22;
682
+ case 5:
683
+ return 23;
684
+ case 6:
685
+ this.begin("acc_title");
686
+ return 24;
687
+ case 7:
688
+ this.popState();
689
+ return "acc_title_value";
690
+ case 8:
691
+ this.begin("acc_descr");
692
+ return 26;
693
+ case 9:
694
+ this.popState();
695
+ return "acc_descr_value";
696
+ case 10:
697
+ this.begin("acc_descr_multiline");
698
+ break;
699
+ case 11:
700
+ this.popState();
701
+ break;
702
+ case 12:
703
+ return "acc_descr_multiline_value";
704
+ case 13:
705
+ break;
706
+ case 14:
707
+ c;
708
+ break;
709
+ case 15:
710
+ return 12;
711
+ case 16:
712
+ break;
713
+ case 17:
714
+ return 11;
715
+ case 18:
716
+ return 15;
717
+ case 19:
718
+ return 16;
719
+ case 20:
720
+ return 17;
721
+ case 21:
722
+ return 18;
723
+ case 22:
724
+ this.begin("person_ext");
725
+ return 45;
726
+ case 23:
727
+ this.begin("person");
728
+ return 44;
729
+ case 24:
730
+ this.begin("system_ext_queue");
731
+ return 51;
732
+ case 25:
733
+ this.begin("system_ext_db");
734
+ return 50;
735
+ case 26:
736
+ this.begin("system_ext");
737
+ return 49;
738
+ case 27:
739
+ this.begin("system_queue");
740
+ return 48;
741
+ case 28:
742
+ this.begin("system_db");
743
+ return 47;
744
+ case 29:
745
+ this.begin("system");
746
+ return 46;
747
+ case 30:
748
+ this.begin("boundary");
749
+ return 37;
750
+ case 31:
751
+ this.begin("enterprise_boundary");
752
+ return 34;
753
+ case 32:
754
+ this.begin("system_boundary");
755
+ return 36;
756
+ case 33:
757
+ this.begin("container_ext_queue");
758
+ return 57;
759
+ case 34:
760
+ this.begin("container_ext_db");
761
+ return 56;
762
+ case 35:
763
+ this.begin("container_ext");
764
+ return 55;
765
+ case 36:
766
+ this.begin("container_queue");
767
+ return 54;
768
+ case 37:
769
+ this.begin("container_db");
770
+ return 53;
771
+ case 38:
772
+ this.begin("container");
773
+ return 52;
774
+ case 39:
775
+ this.begin("container_boundary");
776
+ return 38;
777
+ case 40:
778
+ this.begin("component_ext_queue");
779
+ return 63;
780
+ case 41:
781
+ this.begin("component_ext_db");
782
+ return 62;
783
+ case 42:
784
+ this.begin("component_ext");
785
+ return 61;
786
+ case 43:
787
+ this.begin("component_queue");
788
+ return 60;
789
+ case 44:
790
+ this.begin("component_db");
791
+ return 59;
792
+ case 45:
793
+ this.begin("component");
794
+ return 58;
795
+ case 46:
796
+ this.begin("node");
797
+ return 39;
798
+ case 47:
799
+ this.begin("node");
800
+ return 39;
801
+ case 48:
802
+ this.begin("node_l");
803
+ return 40;
804
+ case 49:
805
+ this.begin("node_r");
806
+ return 41;
807
+ case 50:
808
+ this.begin("rel");
809
+ return 64;
810
+ case 51:
811
+ this.begin("birel");
812
+ return 65;
813
+ case 52:
814
+ this.begin("rel_u");
815
+ return 66;
816
+ case 53:
817
+ this.begin("rel_u");
818
+ return 66;
819
+ case 54:
820
+ this.begin("rel_d");
821
+ return 67;
822
+ case 55:
823
+ this.begin("rel_d");
824
+ return 67;
825
+ case 56:
826
+ this.begin("rel_l");
827
+ return 68;
828
+ case 57:
829
+ this.begin("rel_l");
830
+ return 68;
831
+ case 58:
832
+ this.begin("rel_r");
833
+ return 69;
834
+ case 59:
835
+ this.begin("rel_r");
836
+ return 69;
837
+ case 60:
838
+ this.begin("rel_b");
839
+ return 70;
840
+ case 61:
841
+ this.begin("rel_index");
842
+ return 71;
843
+ case 62:
844
+ this.begin("update_el_style");
845
+ return 72;
846
+ case 63:
847
+ this.begin("update_rel_style");
848
+ return 73;
849
+ case 64:
850
+ this.begin("update_layout_config");
851
+ return 74;
852
+ case 65:
853
+ return "EOF_IN_STRUCT";
854
+ case 66:
855
+ this.begin("attribute");
856
+ return "ATTRIBUTE_EMPTY";
857
+ case 67:
858
+ this.begin("attribute");
859
+ break;
860
+ case 68:
861
+ this.popState();
862
+ this.popState();
863
+ break;
864
+ case 69:
865
+ return 80;
866
+ case 70:
867
+ break;
868
+ case 71:
869
+ return 80;
870
+ case 72:
871
+ this.begin("string");
872
+ break;
873
+ case 73:
874
+ this.popState();
875
+ break;
876
+ case 74:
877
+ return "STR";
878
+ case 75:
879
+ this.begin("string_kv");
880
+ break;
881
+ case 76:
882
+ this.begin("string_kv_key");
883
+ return "STR_KEY";
884
+ case 77:
885
+ this.popState();
886
+ this.begin("string_kv_value");
887
+ break;
888
+ case 78:
889
+ return "STR_VALUE";
890
+ case 79:
891
+ this.popState();
892
+ this.popState();
893
+ break;
894
+ case 80:
895
+ return "STR";
896
+ case 81:
897
+ return "LBRACE";
898
+ case 82:
899
+ return "RBRACE";
900
+ case 83:
901
+ return "SPACE";
902
+ case 84:
903
+ return "EOL";
904
+ case 85:
905
+ return 14;
906
+ }
907
+ }, "anonymous"),
908
+ rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
909
+ conditions: { "acc_descr_multiline": { "rules": [11, 12], "inclusive": false }, "acc_descr": { "rules": [9], "inclusive": false }, "acc_title": { "rules": [7], "inclusive": false }, "string_kv_value": { "rules": [78, 79], "inclusive": false }, "string_kv_key": { "rules": [77], "inclusive": false }, "string_kv": { "rules": [76], "inclusive": false }, "string": { "rules": [73, 74], "inclusive": false }, "attribute": { "rules": [68, 69, 70, 71, 72, 75, 80], "inclusive": false }, "update_layout_config": { "rules": [65, 66, 67, 68], "inclusive": false }, "update_rel_style": { "rules": [65, 66, 67, 68], "inclusive": false }, "update_el_style": { "rules": [65, 66, 67, 68], "inclusive": false }, "rel_b": { "rules": [65, 66, 67, 68], "inclusive": false }, "rel_r": { "rules": [65, 66, 67, 68], "inclusive": false }, "rel_l": { "rules": [65, 66, 67, 68], "inclusive": false }, "rel_d": { "rules": [65, 66, 67, 68], "inclusive": false }, "rel_u": { "rules": [65, 66, 67, 68], "inclusive": false }, "rel_bi": { "rules": [], "inclusive": false }, "rel": { "rules": [65, 66, 67, 68], "inclusive": false }, "node_r": { "rules": [65, 66, 67, 68], "inclusive": false }, "node_l": { "rules": [65, 66, 67, 68], "inclusive": false }, "node": { "rules": [65, 66, 67, 68], "inclusive": false }, "index": { "rules": [], "inclusive": false }, "rel_index": { "rules": [65, 66, 67, 68], "inclusive": false }, "component_ext_queue": { "rules": [65, 66, 67, 68], "inclusive": false }, "component_ext_db": { "rules": [65, 66, 67, 68], "inclusive": false }, "component_ext": { "rules": [65, 66, 67, 68], "inclusive": false }, "component_queue": { "rules": [65, 66, 67, 68], "inclusive": false }, "component_db": { "rules": [65, 66, 67, 68], "inclusive": false }, "component": { "rules": [65, 66, 67, 68], "inclusive": false }, "container_boundary": { "rules": [65, 66, 67, 68], "inclusive": false }, "container_ext_queue": { "rules": [65, 66, 67, 68], "inclusive": false }, "container_ext_db": { "rules": [65, 66, 67, 68], "inclusive": false }, "container_ext": { "rules": [65, 66, 67, 68], "inclusive": false }, "container_queue": { "rules": [65, 66, 67, 68], "inclusive": false }, "container_db": { "rules": [65, 66, 67, 68], "inclusive": false }, "container": { "rules": [65, 66, 67, 68], "inclusive": false }, "birel": { "rules": [65, 66, 67, 68], "inclusive": false }, "system_boundary": { "rules": [65, 66, 67, 68], "inclusive": false }, "enterprise_boundary": { "rules": [65, 66, 67, 68], "inclusive": false }, "boundary": { "rules": [65, 66, 67, 68], "inclusive": false }, "system_ext_queue": { "rules": [65, 66, 67, 68], "inclusive": false }, "system_ext_db": { "rules": [65, 66, 67, 68], "inclusive": false }, "system_ext": { "rules": [65, 66, 67, 68], "inclusive": false }, "system_queue": { "rules": [65, 66, 67, 68], "inclusive": false }, "system_db": { "rules": [65, 66, 67, 68], "inclusive": false }, "system": { "rules": [65, 66, 67, 68], "inclusive": false }, "person_ext": { "rules": [65, 66, 67, 68], "inclusive": false }, "person": { "rules": [65, 66, 67, 68], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 81, 82, 83, 84, 85], "inclusive": true } }
910
+ };
911
+ return lexer2;
912
+ }();
913
+ parser2.lexer = lexer;
914
+ function Parser() {
915
+ this.yy = {};
916
+ }
917
+ __name(Parser, "Parser");
918
+ Parser.prototype = parser2;
919
+ parser2.Parser = Parser;
920
+ return new Parser();
921
+ }();
922
+ parser.parser = parser;
923
+ var c4Diagram_default = parser;
924
+ var c4ShapeArray = [];
925
+ var boundaryParseStack = [""];
926
+ var currentBoundaryParse = "global";
927
+ var parentBoundaryParse = "";
928
+ var boundaries = [
929
+ {
930
+ alias: "global",
931
+ label: { text: "global" },
932
+ type: { text: "global" },
933
+ tags: null,
934
+ link: null,
935
+ parentBoundary: ""
936
+ }
937
+ ];
938
+ var rels = [];
939
+ var title = "";
940
+ var wrapEnabled = false;
941
+ var c4ShapeInRow = 4;
942
+ var c4BoundaryInRow = 2;
943
+ var c4Type;
944
+ var getC4Type = /* @__PURE__ */ __name(function() {
945
+ return c4Type;
946
+ }, "getC4Type");
947
+ var setC4Type = /* @__PURE__ */ __name(function(c4TypeParam) {
948
+ let sanitizedText = sanitizeText(c4TypeParam, getConfig2());
949
+ c4Type = sanitizedText;
950
+ }, "setC4Type");
951
+ var addRel = /* @__PURE__ */ __name(function(type, from, to, label, techn, descr, sprite, tags, link) {
952
+ if (type === void 0 || type === null || from === void 0 || from === null || to === void 0 || to === null || label === void 0 || label === null) {
953
+ return;
954
+ }
955
+ let rel = {};
956
+ const old = rels.find((rel2) => rel2.from === from && rel2.to === to);
957
+ if (old) {
958
+ rel = old;
959
+ } else {
960
+ rels.push(rel);
961
+ }
962
+ rel.type = type;
963
+ rel.from = from;
964
+ rel.to = to;
965
+ rel.label = { text: label };
966
+ if (techn === void 0 || techn === null) {
967
+ rel.techn = { text: "" };
968
+ } else {
969
+ if (typeof techn === "object") {
970
+ let [key, value] = Object.entries(techn)[0];
971
+ rel[key] = { text: value };
972
+ } else {
973
+ rel.techn = { text: techn };
974
+ }
975
+ }
976
+ if (descr === void 0 || descr === null) {
977
+ rel.descr = { text: "" };
978
+ } else {
979
+ if (typeof descr === "object") {
980
+ let [key, value] = Object.entries(descr)[0];
981
+ rel[key] = { text: value };
982
+ } else {
983
+ rel.descr = { text: descr };
984
+ }
985
+ }
986
+ if (typeof sprite === "object") {
987
+ let [key, value] = Object.entries(sprite)[0];
988
+ rel[key] = value;
989
+ } else {
990
+ rel.sprite = sprite;
991
+ }
992
+ if (typeof tags === "object") {
993
+ let [key, value] = Object.entries(tags)[0];
994
+ rel[key] = value;
995
+ } else {
996
+ rel.tags = tags;
997
+ }
998
+ if (typeof link === "object") {
999
+ let [key, value] = Object.entries(link)[0];
1000
+ rel[key] = value;
1001
+ } else {
1002
+ rel.link = link;
1003
+ }
1004
+ rel.wrap = autoWrap();
1005
+ }, "addRel");
1006
+ var addPersonOrSystem = /* @__PURE__ */ __name(function(typeC4Shape, alias, label, descr, sprite, tags, link) {
1007
+ if (alias === null || label === null) {
1008
+ return;
1009
+ }
1010
+ let personOrSystem = {};
1011
+ const old = c4ShapeArray.find((personOrSystem2) => personOrSystem2.alias === alias);
1012
+ if (old && alias === old.alias) {
1013
+ personOrSystem = old;
1014
+ } else {
1015
+ personOrSystem.alias = alias;
1016
+ c4ShapeArray.push(personOrSystem);
1017
+ }
1018
+ if (label === void 0 || label === null) {
1019
+ personOrSystem.label = { text: "" };
1020
+ } else {
1021
+ personOrSystem.label = { text: label };
1022
+ }
1023
+ if (descr === void 0 || descr === null) {
1024
+ personOrSystem.descr = { text: "" };
1025
+ } else {
1026
+ if (typeof descr === "object") {
1027
+ let [key, value] = Object.entries(descr)[0];
1028
+ personOrSystem[key] = { text: value };
1029
+ } else {
1030
+ personOrSystem.descr = { text: descr };
1031
+ }
1032
+ }
1033
+ if (typeof sprite === "object") {
1034
+ let [key, value] = Object.entries(sprite)[0];
1035
+ personOrSystem[key] = value;
1036
+ } else {
1037
+ personOrSystem.sprite = sprite;
1038
+ }
1039
+ if (typeof tags === "object") {
1040
+ let [key, value] = Object.entries(tags)[0];
1041
+ personOrSystem[key] = value;
1042
+ } else {
1043
+ personOrSystem.tags = tags;
1044
+ }
1045
+ if (typeof link === "object") {
1046
+ let [key, value] = Object.entries(link)[0];
1047
+ personOrSystem[key] = value;
1048
+ } else {
1049
+ personOrSystem.link = link;
1050
+ }
1051
+ personOrSystem.typeC4Shape = { text: typeC4Shape };
1052
+ personOrSystem.parentBoundary = currentBoundaryParse;
1053
+ personOrSystem.wrap = autoWrap();
1054
+ }, "addPersonOrSystem");
1055
+ var addContainer = /* @__PURE__ */ __name(function(typeC4Shape, alias, label, techn, descr, sprite, tags, link) {
1056
+ if (alias === null || label === null) {
1057
+ return;
1058
+ }
1059
+ let container = {};
1060
+ const old = c4ShapeArray.find((container2) => container2.alias === alias);
1061
+ if (old && alias === old.alias) {
1062
+ container = old;
1063
+ } else {
1064
+ container.alias = alias;
1065
+ c4ShapeArray.push(container);
1066
+ }
1067
+ if (label === void 0 || label === null) {
1068
+ container.label = { text: "" };
1069
+ } else {
1070
+ container.label = { text: label };
1071
+ }
1072
+ if (techn === void 0 || techn === null) {
1073
+ container.techn = { text: "" };
1074
+ } else {
1075
+ if (typeof techn === "object") {
1076
+ let [key, value] = Object.entries(techn)[0];
1077
+ container[key] = { text: value };
1078
+ } else {
1079
+ container.techn = { text: techn };
1080
+ }
1081
+ }
1082
+ if (descr === void 0 || descr === null) {
1083
+ container.descr = { text: "" };
1084
+ } else {
1085
+ if (typeof descr === "object") {
1086
+ let [key, value] = Object.entries(descr)[0];
1087
+ container[key] = { text: value };
1088
+ } else {
1089
+ container.descr = { text: descr };
1090
+ }
1091
+ }
1092
+ if (typeof sprite === "object") {
1093
+ let [key, value] = Object.entries(sprite)[0];
1094
+ container[key] = value;
1095
+ } else {
1096
+ container.sprite = sprite;
1097
+ }
1098
+ if (typeof tags === "object") {
1099
+ let [key, value] = Object.entries(tags)[0];
1100
+ container[key] = value;
1101
+ } else {
1102
+ container.tags = tags;
1103
+ }
1104
+ if (typeof link === "object") {
1105
+ let [key, value] = Object.entries(link)[0];
1106
+ container[key] = value;
1107
+ } else {
1108
+ container.link = link;
1109
+ }
1110
+ container.wrap = autoWrap();
1111
+ container.typeC4Shape = { text: typeC4Shape };
1112
+ container.parentBoundary = currentBoundaryParse;
1113
+ }, "addContainer");
1114
+ var addComponent = /* @__PURE__ */ __name(function(typeC4Shape, alias, label, techn, descr, sprite, tags, link) {
1115
+ if (alias === null || label === null) {
1116
+ return;
1117
+ }
1118
+ let component = {};
1119
+ const old = c4ShapeArray.find((component2) => component2.alias === alias);
1120
+ if (old && alias === old.alias) {
1121
+ component = old;
1122
+ } else {
1123
+ component.alias = alias;
1124
+ c4ShapeArray.push(component);
1125
+ }
1126
+ if (label === void 0 || label === null) {
1127
+ component.label = { text: "" };
1128
+ } else {
1129
+ component.label = { text: label };
1130
+ }
1131
+ if (techn === void 0 || techn === null) {
1132
+ component.techn = { text: "" };
1133
+ } else {
1134
+ if (typeof techn === "object") {
1135
+ let [key, value] = Object.entries(techn)[0];
1136
+ component[key] = { text: value };
1137
+ } else {
1138
+ component.techn = { text: techn };
1139
+ }
1140
+ }
1141
+ if (descr === void 0 || descr === null) {
1142
+ component.descr = { text: "" };
1143
+ } else {
1144
+ if (typeof descr === "object") {
1145
+ let [key, value] = Object.entries(descr)[0];
1146
+ component[key] = { text: value };
1147
+ } else {
1148
+ component.descr = { text: descr };
1149
+ }
1150
+ }
1151
+ if (typeof sprite === "object") {
1152
+ let [key, value] = Object.entries(sprite)[0];
1153
+ component[key] = value;
1154
+ } else {
1155
+ component.sprite = sprite;
1156
+ }
1157
+ if (typeof tags === "object") {
1158
+ let [key, value] = Object.entries(tags)[0];
1159
+ component[key] = value;
1160
+ } else {
1161
+ component.tags = tags;
1162
+ }
1163
+ if (typeof link === "object") {
1164
+ let [key, value] = Object.entries(link)[0];
1165
+ component[key] = value;
1166
+ } else {
1167
+ component.link = link;
1168
+ }
1169
+ component.wrap = autoWrap();
1170
+ component.typeC4Shape = { text: typeC4Shape };
1171
+ component.parentBoundary = currentBoundaryParse;
1172
+ }, "addComponent");
1173
+ var addPersonOrSystemBoundary = /* @__PURE__ */ __name(function(alias, label, type, tags, link) {
1174
+ if (alias === null || label === null) {
1175
+ return;
1176
+ }
1177
+ let boundary = {};
1178
+ const old = boundaries.find((boundary2) => boundary2.alias === alias);
1179
+ if (old && alias === old.alias) {
1180
+ boundary = old;
1181
+ } else {
1182
+ boundary.alias = alias;
1183
+ boundaries.push(boundary);
1184
+ }
1185
+ if (label === void 0 || label === null) {
1186
+ boundary.label = { text: "" };
1187
+ } else {
1188
+ boundary.label = { text: label };
1189
+ }
1190
+ if (type === void 0 || type === null) {
1191
+ boundary.type = { text: "system" };
1192
+ } else {
1193
+ if (typeof type === "object") {
1194
+ let [key, value] = Object.entries(type)[0];
1195
+ boundary[key] = { text: value };
1196
+ } else {
1197
+ boundary.type = { text: type };
1198
+ }
1199
+ }
1200
+ if (typeof tags === "object") {
1201
+ let [key, value] = Object.entries(tags)[0];
1202
+ boundary[key] = value;
1203
+ } else {
1204
+ boundary.tags = tags;
1205
+ }
1206
+ if (typeof link === "object") {
1207
+ let [key, value] = Object.entries(link)[0];
1208
+ boundary[key] = value;
1209
+ } else {
1210
+ boundary.link = link;
1211
+ }
1212
+ boundary.parentBoundary = currentBoundaryParse;
1213
+ boundary.wrap = autoWrap();
1214
+ parentBoundaryParse = currentBoundaryParse;
1215
+ currentBoundaryParse = alias;
1216
+ boundaryParseStack.push(parentBoundaryParse);
1217
+ }, "addPersonOrSystemBoundary");
1218
+ var addContainerBoundary = /* @__PURE__ */ __name(function(alias, label, type, tags, link) {
1219
+ if (alias === null || label === null) {
1220
+ return;
1221
+ }
1222
+ let boundary = {};
1223
+ const old = boundaries.find((boundary2) => boundary2.alias === alias);
1224
+ if (old && alias === old.alias) {
1225
+ boundary = old;
1226
+ } else {
1227
+ boundary.alias = alias;
1228
+ boundaries.push(boundary);
1229
+ }
1230
+ if (label === void 0 || label === null) {
1231
+ boundary.label = { text: "" };
1232
+ } else {
1233
+ boundary.label = { text: label };
1234
+ }
1235
+ if (type === void 0 || type === null) {
1236
+ boundary.type = { text: "container" };
1237
+ } else {
1238
+ if (typeof type === "object") {
1239
+ let [key, value] = Object.entries(type)[0];
1240
+ boundary[key] = { text: value };
1241
+ } else {
1242
+ boundary.type = { text: type };
1243
+ }
1244
+ }
1245
+ if (typeof tags === "object") {
1246
+ let [key, value] = Object.entries(tags)[0];
1247
+ boundary[key] = value;
1248
+ } else {
1249
+ boundary.tags = tags;
1250
+ }
1251
+ if (typeof link === "object") {
1252
+ let [key, value] = Object.entries(link)[0];
1253
+ boundary[key] = value;
1254
+ } else {
1255
+ boundary.link = link;
1256
+ }
1257
+ boundary.parentBoundary = currentBoundaryParse;
1258
+ boundary.wrap = autoWrap();
1259
+ parentBoundaryParse = currentBoundaryParse;
1260
+ currentBoundaryParse = alias;
1261
+ boundaryParseStack.push(parentBoundaryParse);
1262
+ }, "addContainerBoundary");
1263
+ var addDeploymentNode = /* @__PURE__ */ __name(function(nodeType, alias, label, type, descr, sprite, tags, link) {
1264
+ if (alias === null || label === null) {
1265
+ return;
1266
+ }
1267
+ let boundary = {};
1268
+ const old = boundaries.find((boundary2) => boundary2.alias === alias);
1269
+ if (old && alias === old.alias) {
1270
+ boundary = old;
1271
+ } else {
1272
+ boundary.alias = alias;
1273
+ boundaries.push(boundary);
1274
+ }
1275
+ if (label === void 0 || label === null) {
1276
+ boundary.label = { text: "" };
1277
+ } else {
1278
+ boundary.label = { text: label };
1279
+ }
1280
+ if (type === void 0 || type === null) {
1281
+ boundary.type = { text: "node" };
1282
+ } else {
1283
+ if (typeof type === "object") {
1284
+ let [key, value] = Object.entries(type)[0];
1285
+ boundary[key] = { text: value };
1286
+ } else {
1287
+ boundary.type = { text: type };
1288
+ }
1289
+ }
1290
+ if (descr === void 0 || descr === null) {
1291
+ boundary.descr = { text: "" };
1292
+ } else {
1293
+ if (typeof descr === "object") {
1294
+ let [key, value] = Object.entries(descr)[0];
1295
+ boundary[key] = { text: value };
1296
+ } else {
1297
+ boundary.descr = { text: descr };
1298
+ }
1299
+ }
1300
+ if (typeof tags === "object") {
1301
+ let [key, value] = Object.entries(tags)[0];
1302
+ boundary[key] = value;
1303
+ } else {
1304
+ boundary.tags = tags;
1305
+ }
1306
+ if (typeof link === "object") {
1307
+ let [key, value] = Object.entries(link)[0];
1308
+ boundary[key] = value;
1309
+ } else {
1310
+ boundary.link = link;
1311
+ }
1312
+ boundary.nodeType = nodeType;
1313
+ boundary.parentBoundary = currentBoundaryParse;
1314
+ boundary.wrap = autoWrap();
1315
+ parentBoundaryParse = currentBoundaryParse;
1316
+ currentBoundaryParse = alias;
1317
+ boundaryParseStack.push(parentBoundaryParse);
1318
+ }, "addDeploymentNode");
1319
+ var popBoundaryParseStack = /* @__PURE__ */ __name(function() {
1320
+ currentBoundaryParse = parentBoundaryParse;
1321
+ boundaryParseStack.pop();
1322
+ parentBoundaryParse = boundaryParseStack.pop();
1323
+ boundaryParseStack.push(parentBoundaryParse);
1324
+ }, "popBoundaryParseStack");
1325
+ var updateElStyle = /* @__PURE__ */ __name(function(typeC4Shape, elementName, bgColor, fontColor, borderColor, shadowing, shape, sprite, techn, legendText, legendSprite) {
1326
+ let old = c4ShapeArray.find((element) => element.alias === elementName);
1327
+ if (old === void 0) {
1328
+ old = boundaries.find((element) => element.alias === elementName);
1329
+ if (old === void 0) {
1330
+ return;
1331
+ }
1332
+ }
1333
+ if (bgColor !== void 0 && bgColor !== null) {
1334
+ if (typeof bgColor === "object") {
1335
+ let [key, value] = Object.entries(bgColor)[0];
1336
+ old[key] = value;
1337
+ } else {
1338
+ old.bgColor = bgColor;
1339
+ }
1340
+ }
1341
+ if (fontColor !== void 0 && fontColor !== null) {
1342
+ if (typeof fontColor === "object") {
1343
+ let [key, value] = Object.entries(fontColor)[0];
1344
+ old[key] = value;
1345
+ } else {
1346
+ old.fontColor = fontColor;
1347
+ }
1348
+ }
1349
+ if (borderColor !== void 0 && borderColor !== null) {
1350
+ if (typeof borderColor === "object") {
1351
+ let [key, value] = Object.entries(borderColor)[0];
1352
+ old[key] = value;
1353
+ } else {
1354
+ old.borderColor = borderColor;
1355
+ }
1356
+ }
1357
+ if (shadowing !== void 0 && shadowing !== null) {
1358
+ if (typeof shadowing === "object") {
1359
+ let [key, value] = Object.entries(shadowing)[0];
1360
+ old[key] = value;
1361
+ } else {
1362
+ old.shadowing = shadowing;
1363
+ }
1364
+ }
1365
+ if (shape !== void 0 && shape !== null) {
1366
+ if (typeof shape === "object") {
1367
+ let [key, value] = Object.entries(shape)[0];
1368
+ old[key] = value;
1369
+ } else {
1370
+ old.shape = shape;
1371
+ }
1372
+ }
1373
+ if (sprite !== void 0 && sprite !== null) {
1374
+ if (typeof sprite === "object") {
1375
+ let [key, value] = Object.entries(sprite)[0];
1376
+ old[key] = value;
1377
+ } else {
1378
+ old.sprite = sprite;
1379
+ }
1380
+ }
1381
+ if (techn !== void 0 && techn !== null) {
1382
+ if (typeof techn === "object") {
1383
+ let [key, value] = Object.entries(techn)[0];
1384
+ old[key] = value;
1385
+ } else {
1386
+ old.techn = techn;
1387
+ }
1388
+ }
1389
+ if (legendText !== void 0 && legendText !== null) {
1390
+ if (typeof legendText === "object") {
1391
+ let [key, value] = Object.entries(legendText)[0];
1392
+ old[key] = value;
1393
+ } else {
1394
+ old.legendText = legendText;
1395
+ }
1396
+ }
1397
+ if (legendSprite !== void 0 && legendSprite !== null) {
1398
+ if (typeof legendSprite === "object") {
1399
+ let [key, value] = Object.entries(legendSprite)[0];
1400
+ old[key] = value;
1401
+ } else {
1402
+ old.legendSprite = legendSprite;
1403
+ }
1404
+ }
1405
+ }, "updateElStyle");
1406
+ var updateRelStyle = /* @__PURE__ */ __name(function(typeC4Shape, from, to, textColor, lineColor, offsetX, offsetY) {
1407
+ const old = rels.find((rel) => rel.from === from && rel.to === to);
1408
+ if (old === void 0) {
1409
+ return;
1410
+ }
1411
+ if (textColor !== void 0 && textColor !== null) {
1412
+ if (typeof textColor === "object") {
1413
+ let [key, value] = Object.entries(textColor)[0];
1414
+ old[key] = value;
1415
+ } else {
1416
+ old.textColor = textColor;
1417
+ }
1418
+ }
1419
+ if (lineColor !== void 0 && lineColor !== null) {
1420
+ if (typeof lineColor === "object") {
1421
+ let [key, value] = Object.entries(lineColor)[0];
1422
+ old[key] = value;
1423
+ } else {
1424
+ old.lineColor = lineColor;
1425
+ }
1426
+ }
1427
+ if (offsetX !== void 0 && offsetX !== null) {
1428
+ if (typeof offsetX === "object") {
1429
+ let [key, value] = Object.entries(offsetX)[0];
1430
+ old[key] = parseInt(value);
1431
+ } else {
1432
+ old.offsetX = parseInt(offsetX);
1433
+ }
1434
+ }
1435
+ if (offsetY !== void 0 && offsetY !== null) {
1436
+ if (typeof offsetY === "object") {
1437
+ let [key, value] = Object.entries(offsetY)[0];
1438
+ old[key] = parseInt(value);
1439
+ } else {
1440
+ old.offsetY = parseInt(offsetY);
1441
+ }
1442
+ }
1443
+ }, "updateRelStyle");
1444
+ var updateLayoutConfig = /* @__PURE__ */ __name(function(typeC4Shape, c4ShapeInRowParam, c4BoundaryInRowParam) {
1445
+ let c4ShapeInRowValue = c4ShapeInRow;
1446
+ let c4BoundaryInRowValue = c4BoundaryInRow;
1447
+ if (typeof c4ShapeInRowParam === "object") {
1448
+ const value = Object.values(c4ShapeInRowParam)[0];
1449
+ c4ShapeInRowValue = parseInt(value);
1450
+ } else {
1451
+ c4ShapeInRowValue = parseInt(c4ShapeInRowParam);
1452
+ }
1453
+ if (typeof c4BoundaryInRowParam === "object") {
1454
+ const value = Object.values(c4BoundaryInRowParam)[0];
1455
+ c4BoundaryInRowValue = parseInt(value);
1456
+ } else {
1457
+ c4BoundaryInRowValue = parseInt(c4BoundaryInRowParam);
1458
+ }
1459
+ if (c4ShapeInRowValue >= 1) {
1460
+ c4ShapeInRow = c4ShapeInRowValue;
1461
+ }
1462
+ if (c4BoundaryInRowValue >= 1) {
1463
+ c4BoundaryInRow = c4BoundaryInRowValue;
1464
+ }
1465
+ }, "updateLayoutConfig");
1466
+ var getC4ShapeInRow = /* @__PURE__ */ __name(function() {
1467
+ return c4ShapeInRow;
1468
+ }, "getC4ShapeInRow");
1469
+ var getC4BoundaryInRow = /* @__PURE__ */ __name(function() {
1470
+ return c4BoundaryInRow;
1471
+ }, "getC4BoundaryInRow");
1472
+ var getCurrentBoundaryParse = /* @__PURE__ */ __name(function() {
1473
+ return currentBoundaryParse;
1474
+ }, "getCurrentBoundaryParse");
1475
+ var getParentBoundaryParse = /* @__PURE__ */ __name(function() {
1476
+ return parentBoundaryParse;
1477
+ }, "getParentBoundaryParse");
1478
+ var getC4ShapeArray = /* @__PURE__ */ __name(function(parentBoundary) {
1479
+ if (parentBoundary === void 0 || parentBoundary === null) {
1480
+ return c4ShapeArray;
1481
+ } else {
1482
+ return c4ShapeArray.filter((personOrSystem) => {
1483
+ return personOrSystem.parentBoundary === parentBoundary;
1484
+ });
1485
+ }
1486
+ }, "getC4ShapeArray");
1487
+ var getC4Shape = /* @__PURE__ */ __name(function(alias) {
1488
+ return c4ShapeArray.find((personOrSystem) => personOrSystem.alias === alias);
1489
+ }, "getC4Shape");
1490
+ var getC4ShapeKeys = /* @__PURE__ */ __name(function(parentBoundary) {
1491
+ return Object.keys(getC4ShapeArray(parentBoundary));
1492
+ }, "getC4ShapeKeys");
1493
+ var getBoundaries = /* @__PURE__ */ __name(function(parentBoundary) {
1494
+ if (parentBoundary === void 0 || parentBoundary === null) {
1495
+ return boundaries;
1496
+ } else {
1497
+ return boundaries.filter((boundary) => boundary.parentBoundary === parentBoundary);
1498
+ }
1499
+ }, "getBoundaries");
1500
+ var getBoundarys = getBoundaries;
1501
+ var getRels = /* @__PURE__ */ __name(function() {
1502
+ return rels;
1503
+ }, "getRels");
1504
+ var getTitle = /* @__PURE__ */ __name(function() {
1505
+ return title;
1506
+ }, "getTitle");
1507
+ var setWrap = /* @__PURE__ */ __name(function(wrapSetting) {
1508
+ wrapEnabled = wrapSetting;
1509
+ }, "setWrap");
1510
+ var autoWrap = /* @__PURE__ */ __name(function() {
1511
+ return wrapEnabled;
1512
+ }, "autoWrap");
1513
+ var clear = /* @__PURE__ */ __name(function() {
1514
+ c4ShapeArray = [];
1515
+ boundaries = [
1516
+ {
1517
+ alias: "global",
1518
+ label: { text: "global" },
1519
+ type: { text: "global" },
1520
+ tags: null,
1521
+ link: null,
1522
+ parentBoundary: ""
1523
+ }
1524
+ ];
1525
+ parentBoundaryParse = "";
1526
+ currentBoundaryParse = "global";
1527
+ boundaryParseStack = [""];
1528
+ rels = [];
1529
+ boundaryParseStack = [""];
1530
+ title = "";
1531
+ wrapEnabled = false;
1532
+ c4ShapeInRow = 4;
1533
+ c4BoundaryInRow = 2;
1534
+ }, "clear");
1535
+ var LINETYPE = {
1536
+ SOLID: 0,
1537
+ DOTTED: 1,
1538
+ NOTE: 2,
1539
+ SOLID_CROSS: 3,
1540
+ DOTTED_CROSS: 4,
1541
+ SOLID_OPEN: 5,
1542
+ DOTTED_OPEN: 6,
1543
+ LOOP_START: 10,
1544
+ LOOP_END: 11,
1545
+ ALT_START: 12,
1546
+ ALT_ELSE: 13,
1547
+ ALT_END: 14,
1548
+ OPT_START: 15,
1549
+ OPT_END: 16,
1550
+ ACTIVE_START: 17,
1551
+ ACTIVE_END: 18,
1552
+ PAR_START: 19,
1553
+ PAR_AND: 20,
1554
+ PAR_END: 21,
1555
+ RECT_START: 22,
1556
+ RECT_END: 23,
1557
+ SOLID_POINT: 24,
1558
+ DOTTED_POINT: 25
1559
+ };
1560
+ var ARROWTYPE = {
1561
+ FILLED: 0,
1562
+ OPEN: 1
1563
+ };
1564
+ var PLACEMENT = {
1565
+ LEFTOF: 0,
1566
+ RIGHTOF: 1,
1567
+ OVER: 2
1568
+ };
1569
+ var setTitle = /* @__PURE__ */ __name(function(txt) {
1570
+ let sanitizedText = sanitizeText(txt, getConfig2());
1571
+ title = sanitizedText;
1572
+ }, "setTitle");
1573
+ var c4Db_default = {
1574
+ addPersonOrSystem,
1575
+ addPersonOrSystemBoundary,
1576
+ addContainer,
1577
+ addContainerBoundary,
1578
+ addComponent,
1579
+ addDeploymentNode,
1580
+ popBoundaryParseStack,
1581
+ addRel,
1582
+ updateElStyle,
1583
+ updateRelStyle,
1584
+ updateLayoutConfig,
1585
+ autoWrap,
1586
+ setWrap,
1587
+ getC4ShapeArray,
1588
+ getC4Shape,
1589
+ getC4ShapeKeys,
1590
+ getBoundaries,
1591
+ getBoundarys,
1592
+ getCurrentBoundaryParse,
1593
+ getParentBoundaryParse,
1594
+ getRels,
1595
+ getTitle,
1596
+ getC4Type,
1597
+ getC4ShapeInRow,
1598
+ getC4BoundaryInRow,
1599
+ setAccTitle,
1600
+ getAccTitle,
1601
+ getAccDescription,
1602
+ setAccDescription,
1603
+ getConfig: /* @__PURE__ */ __name(() => getConfig2().c4, "getConfig"),
1604
+ clear,
1605
+ LINETYPE,
1606
+ ARROWTYPE,
1607
+ PLACEMENT,
1608
+ setTitle,
1609
+ setC4Type
1610
+ // apply,
1611
+ };
1612
+ var drawRect2 = /* @__PURE__ */ __name(function(elem, rectData) {
1613
+ return drawRect(elem, rectData);
1614
+ }, "drawRect");
1615
+ var drawImage = /* @__PURE__ */ __name(function(elem, width, height, x, y, link) {
1616
+ const imageElem = elem.append("image");
1617
+ imageElem.attr("width", width);
1618
+ imageElem.attr("height", height);
1619
+ imageElem.attr("x", x);
1620
+ imageElem.attr("y", y);
1621
+ let sanitizedLink = link.startsWith("data:image/png;base64") ? link : distExports.sanitizeUrl(link);
1622
+ imageElem.attr("xlink:href", sanitizedLink);
1623
+ }, "drawImage");
1624
+ var drawRels = /* @__PURE__ */ __name((elem, rels2, conf2, diagramId) => {
1625
+ const relsElem = elem.append("g");
1626
+ let i = 0;
1627
+ for (let rel of rels2) {
1628
+ let textColor = rel.textColor ? rel.textColor : "#444444";
1629
+ let strokeColor = rel.lineColor ? rel.lineColor : "#444444";
1630
+ let offsetX = rel.offsetX ? parseInt(rel.offsetX) : 0;
1631
+ let offsetY = rel.offsetY ? parseInt(rel.offsetY) : 0;
1632
+ let url = "";
1633
+ if (i === 0) {
1634
+ let line = relsElem.append("line");
1635
+ line.attr("x1", rel.startPoint.x);
1636
+ line.attr("y1", rel.startPoint.y);
1637
+ line.attr("x2", rel.endPoint.x);
1638
+ line.attr("y2", rel.endPoint.y);
1639
+ line.attr("stroke-width", "1");
1640
+ line.attr("stroke", strokeColor);
1641
+ line.style("fill", "none");
1642
+ if (rel.type !== "rel_b") {
1643
+ line.attr("marker-end", "url(" + url + "#" + diagramId + "-arrowhead)");
1644
+ }
1645
+ if (rel.type === "birel" || rel.type === "rel_b") {
1646
+ line.attr("marker-start", "url(" + url + "#" + diagramId + "-arrowend)");
1647
+ }
1648
+ i = -1;
1649
+ } else {
1650
+ let line = relsElem.append("path");
1651
+ line.attr("fill", "none").attr("stroke-width", "1").attr("stroke", strokeColor).attr(
1652
+ "d",
1653
+ "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", rel.startPoint.x).replaceAll("starty", rel.startPoint.y).replaceAll(
1654
+ "controlx",
1655
+ rel.startPoint.x + (rel.endPoint.x - rel.startPoint.x) / 2 - (rel.endPoint.x - rel.startPoint.x) / 4
1656
+ ).replaceAll("controly", rel.startPoint.y + (rel.endPoint.y - rel.startPoint.y) / 2).replaceAll("stopx", rel.endPoint.x).replaceAll("stopy", rel.endPoint.y)
1657
+ );
1658
+ if (rel.type !== "rel_b") {
1659
+ line.attr("marker-end", "url(" + url + "#" + diagramId + "-arrowhead)");
1660
+ }
1661
+ if (rel.type === "birel" || rel.type === "rel_b") {
1662
+ line.attr("marker-start", "url(" + url + "#" + diagramId + "-arrowend)");
1663
+ }
1664
+ }
1665
+ let messageConf = conf2.messageFont();
1666
+ _drawTextCandidateFunc(conf2)(
1667
+ rel.label.text,
1668
+ relsElem,
1669
+ Math.min(rel.startPoint.x, rel.endPoint.x) + Math.abs(rel.endPoint.x - rel.startPoint.x) / 2 + offsetX,
1670
+ Math.min(rel.startPoint.y, rel.endPoint.y) + Math.abs(rel.endPoint.y - rel.startPoint.y) / 2 + offsetY,
1671
+ rel.label.width,
1672
+ rel.label.height,
1673
+ { fill: textColor },
1674
+ messageConf
1675
+ );
1676
+ if (rel.techn && rel.techn.text !== "") {
1677
+ messageConf = conf2.messageFont();
1678
+ _drawTextCandidateFunc(conf2)(
1679
+ "[" + rel.techn.text + "]",
1680
+ relsElem,
1681
+ Math.min(rel.startPoint.x, rel.endPoint.x) + Math.abs(rel.endPoint.x - rel.startPoint.x) / 2 + offsetX,
1682
+ Math.min(rel.startPoint.y, rel.endPoint.y) + Math.abs(rel.endPoint.y - rel.startPoint.y) / 2 + conf2.messageFontSize + 5 + offsetY,
1683
+ Math.max(rel.label.width, rel.techn.width),
1684
+ rel.techn.height,
1685
+ { fill: textColor, "font-style": "italic" },
1686
+ messageConf
1687
+ );
1688
+ }
1689
+ }
1690
+ }, "drawRels");
1691
+ var drawBoundary = /* @__PURE__ */ __name(function(elem, boundary, conf2) {
1692
+ const boundaryElem = elem.append("g");
1693
+ let fillColor = boundary.bgColor ? boundary.bgColor : "none";
1694
+ let strokeColor = boundary.borderColor ? boundary.borderColor : "#444444";
1695
+ let fontColor = boundary.fontColor ? boundary.fontColor : "black";
1696
+ let attrsValue = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1697
+ if (boundary.nodeType) {
1698
+ attrsValue = { "stroke-width": 1 };
1699
+ }
1700
+ let rectData = {
1701
+ x: boundary.x,
1702
+ y: boundary.y,
1703
+ fill: fillColor,
1704
+ stroke: strokeColor,
1705
+ width: boundary.width,
1706
+ height: boundary.height,
1707
+ rx: 2.5,
1708
+ ry: 2.5,
1709
+ attrs: attrsValue
1710
+ };
1711
+ drawRect2(boundaryElem, rectData);
1712
+ let boundaryConf = conf2.boundaryFont();
1713
+ boundaryConf.fontWeight = "bold";
1714
+ boundaryConf.fontSize = boundaryConf.fontSize + 2;
1715
+ boundaryConf.fontColor = fontColor;
1716
+ _drawTextCandidateFunc(conf2)(
1717
+ boundary.label.text,
1718
+ boundaryElem,
1719
+ boundary.x,
1720
+ boundary.y + boundary.label.Y,
1721
+ boundary.width,
1722
+ boundary.height,
1723
+ { fill: "#444444" },
1724
+ boundaryConf
1725
+ );
1726
+ if (boundary.type && boundary.type.text !== "") {
1727
+ boundaryConf = conf2.boundaryFont();
1728
+ boundaryConf.fontColor = fontColor;
1729
+ _drawTextCandidateFunc(conf2)(
1730
+ boundary.type.text,
1731
+ boundaryElem,
1732
+ boundary.x,
1733
+ boundary.y + boundary.type.Y,
1734
+ boundary.width,
1735
+ boundary.height,
1736
+ { fill: "#444444" },
1737
+ boundaryConf
1738
+ );
1739
+ }
1740
+ if (boundary.descr && boundary.descr.text !== "") {
1741
+ boundaryConf = conf2.boundaryFont();
1742
+ boundaryConf.fontSize = boundaryConf.fontSize - 2;
1743
+ boundaryConf.fontColor = fontColor;
1744
+ _drawTextCandidateFunc(conf2)(
1745
+ boundary.descr.text,
1746
+ boundaryElem,
1747
+ boundary.x,
1748
+ boundary.y + boundary.descr.Y,
1749
+ boundary.width,
1750
+ boundary.height,
1751
+ { fill: "#444444" },
1752
+ boundaryConf
1753
+ );
1754
+ }
1755
+ }, "drawBoundary");
1756
+ var drawC4Shape = /* @__PURE__ */ __name(function(elem, c4Shape, conf2) {
1757
+ var _a2;
1758
+ let fillColor = c4Shape.bgColor ? c4Shape.bgColor : conf2[c4Shape.typeC4Shape.text + "_bg_color"];
1759
+ let strokeColor = c4Shape.borderColor ? c4Shape.borderColor : conf2[c4Shape.typeC4Shape.text + "_border_color"];
1760
+ let fontColor = c4Shape.fontColor ? c4Shape.fontColor : "#FFFFFF";
1761
+ let personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1762
+ switch (c4Shape.typeC4Shape.text) {
1763
+ case "person":
1764
+ personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1765
+ break;
1766
+ case "external_person":
1767
+ personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1768
+ break;
1769
+ }
1770
+ const c4ShapeElem = elem.append("g");
1771
+ c4ShapeElem.attr("class", "person-man");
1772
+ const rect = getNoteRect();
1773
+ switch (c4Shape.typeC4Shape.text) {
1774
+ case "person":
1775
+ case "external_person":
1776
+ case "system":
1777
+ case "external_system":
1778
+ case "container":
1779
+ case "external_container":
1780
+ case "component":
1781
+ case "external_component":
1782
+ rect.x = c4Shape.x;
1783
+ rect.y = c4Shape.y;
1784
+ rect.fill = fillColor;
1785
+ rect.width = c4Shape.width;
1786
+ rect.height = c4Shape.height;
1787
+ rect.stroke = strokeColor;
1788
+ rect.rx = 2.5;
1789
+ rect.ry = 2.5;
1790
+ rect.attrs = { "stroke-width": 0.5 };
1791
+ drawRect2(c4ShapeElem, rect);
1792
+ break;
1793
+ case "system_db":
1794
+ case "external_system_db":
1795
+ case "container_db":
1796
+ case "external_container_db":
1797
+ case "component_db":
1798
+ case "external_component_db":
1799
+ c4ShapeElem.append("path").attr("fill", fillColor).attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1800
+ "d",
1801
+ "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", c4Shape.x).replaceAll("starty", c4Shape.y).replaceAll("half", c4Shape.width / 2).replaceAll("height", c4Shape.height)
1802
+ );
1803
+ c4ShapeElem.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1804
+ "d",
1805
+ "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", c4Shape.x).replaceAll("starty", c4Shape.y).replaceAll("half", c4Shape.width / 2)
1806
+ );
1807
+ break;
1808
+ case "system_queue":
1809
+ case "external_system_queue":
1810
+ case "container_queue":
1811
+ case "external_container_queue":
1812
+ case "component_queue":
1813
+ case "external_component_queue":
1814
+ c4ShapeElem.append("path").attr("fill", fillColor).attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1815
+ "d",
1816
+ "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", c4Shape.x).replaceAll("starty", c4Shape.y).replaceAll("width", c4Shape.width).replaceAll("half", c4Shape.height / 2)
1817
+ );
1818
+ c4ShapeElem.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1819
+ "d",
1820
+ "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", c4Shape.x + c4Shape.width).replaceAll("starty", c4Shape.y).replaceAll("half", c4Shape.height / 2)
1821
+ );
1822
+ break;
1823
+ }
1824
+ let c4ShapeFontConf = getC4ShapeFont(conf2, c4Shape.typeC4Shape.text);
1825
+ c4ShapeElem.append("text").attr("fill", fontColor).attr("font-family", c4ShapeFontConf.fontFamily).attr("font-size", c4ShapeFontConf.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", c4Shape.typeC4Shape.width).attr("x", c4Shape.x + c4Shape.width / 2 - c4Shape.typeC4Shape.width / 2).attr("y", c4Shape.y + c4Shape.typeC4Shape.Y).text("<<" + c4Shape.typeC4Shape.text + ">>");
1826
+ switch (c4Shape.typeC4Shape.text) {
1827
+ case "person":
1828
+ case "external_person":
1829
+ drawImage(
1830
+ c4ShapeElem,
1831
+ 48,
1832
+ 48,
1833
+ c4Shape.x + c4Shape.width / 2 - 24,
1834
+ c4Shape.y + c4Shape.image.Y,
1835
+ personImg
1836
+ );
1837
+ break;
1838
+ }
1839
+ let textFontConf = conf2[c4Shape.typeC4Shape.text + "Font"]();
1840
+ textFontConf.fontWeight = "bold";
1841
+ textFontConf.fontSize = textFontConf.fontSize + 2;
1842
+ textFontConf.fontColor = fontColor;
1843
+ _drawTextCandidateFunc(conf2)(
1844
+ c4Shape.label.text,
1845
+ c4ShapeElem,
1846
+ c4Shape.x,
1847
+ c4Shape.y + c4Shape.label.Y,
1848
+ c4Shape.width,
1849
+ c4Shape.height,
1850
+ { fill: fontColor },
1851
+ textFontConf
1852
+ );
1853
+ textFontConf = conf2[c4Shape.typeC4Shape.text + "Font"]();
1854
+ textFontConf.fontColor = fontColor;
1855
+ if (c4Shape.techn && ((_a2 = c4Shape.techn) == null ? void 0 : _a2.text) !== "") {
1856
+ _drawTextCandidateFunc(conf2)(
1857
+ c4Shape.techn.text,
1858
+ c4ShapeElem,
1859
+ c4Shape.x,
1860
+ c4Shape.y + c4Shape.techn.Y,
1861
+ c4Shape.width,
1862
+ c4Shape.height,
1863
+ { fill: fontColor, "font-style": "italic" },
1864
+ textFontConf
1865
+ );
1866
+ } else if (c4Shape.type && c4Shape.type.text !== "") {
1867
+ _drawTextCandidateFunc(conf2)(
1868
+ c4Shape.type.text,
1869
+ c4ShapeElem,
1870
+ c4Shape.x,
1871
+ c4Shape.y + c4Shape.type.Y,
1872
+ c4Shape.width,
1873
+ c4Shape.height,
1874
+ { fill: fontColor, "font-style": "italic" },
1875
+ textFontConf
1876
+ );
1877
+ }
1878
+ if (c4Shape.descr && c4Shape.descr.text !== "") {
1879
+ textFontConf = conf2.personFont();
1880
+ textFontConf.fontColor = fontColor;
1881
+ _drawTextCandidateFunc(conf2)(
1882
+ c4Shape.descr.text,
1883
+ c4ShapeElem,
1884
+ c4Shape.x,
1885
+ c4Shape.y + c4Shape.descr.Y,
1886
+ c4Shape.width,
1887
+ c4Shape.height,
1888
+ { fill: fontColor },
1889
+ textFontConf
1890
+ );
1891
+ }
1892
+ return c4Shape.height;
1893
+ }, "drawC4Shape");
1894
+ var insertDatabaseIcon = /* @__PURE__ */ __name(function(elem, id) {
1895
+ elem.append("defs").append("symbol").attr("id", id + "-database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1896
+ "d",
1897
+ "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
1898
+ );
1899
+ }, "insertDatabaseIcon");
1900
+ var insertComputerIcon = /* @__PURE__ */ __name(function(elem, id) {
1901
+ elem.append("defs").append("symbol").attr("id", id + "-computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1902
+ "d",
1903
+ "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
1904
+ );
1905
+ }, "insertComputerIcon");
1906
+ var insertClockIcon = /* @__PURE__ */ __name(function(elem, id) {
1907
+ elem.append("defs").append("symbol").attr("id", id + "-clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1908
+ "d",
1909
+ "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
1910
+ );
1911
+ }, "insertClockIcon");
1912
+ var insertArrowHead = /* @__PURE__ */ __name(function(elem, id) {
1913
+ elem.append("defs").append("marker").attr("id", id + "-arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1914
+ }, "insertArrowHead");
1915
+ var insertArrowEnd = /* @__PURE__ */ __name(function(elem, id) {
1916
+ elem.append("defs").append("marker").attr("id", id + "-arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
1917
+ }, "insertArrowEnd");
1918
+ var insertArrowFilledHead = /* @__PURE__ */ __name(function(elem, id) {
1919
+ elem.append("defs").append("marker").attr("id", id + "-filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1920
+ }, "insertArrowFilledHead");
1921
+ var insertArrowCrossHead = /* @__PURE__ */ __name(function(elem, id) {
1922
+ const defs = elem.append("defs");
1923
+ const marker = defs.append("marker").attr("id", id + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1924
+ marker.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z");
1925
+ marker.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
1926
+ }, "insertArrowCrossHead");
1927
+ var getC4ShapeFont = /* @__PURE__ */ __name((cnf, typeC4Shape) => {
1928
+ return {
1929
+ fontFamily: cnf[typeC4Shape + "FontFamily"],
1930
+ fontSize: cnf[typeC4Shape + "FontSize"],
1931
+ fontWeight: cnf[typeC4Shape + "FontWeight"]
1932
+ };
1933
+ }, "getC4ShapeFont");
1934
+ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
1935
+ function byText(content, g, x, y, width, height, textAttrs) {
1936
+ const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("text-anchor", "middle").text(content);
1937
+ _setTextAttrs(text, textAttrs);
1938
+ }
1939
+ __name(byText, "byText");
1940
+ function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
1941
+ const { fontSize, fontFamily, fontWeight } = conf2;
1942
+ const lines = content.split(common_default.lineBreakRegex);
1943
+ for (let i = 0; i < lines.length; i++) {
1944
+ const dy = i * fontSize - fontSize * (lines.length - 1) / 2;
1945
+ const text = g.append("text").attr("x", x + width / 2).attr("y", y).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", fontSize).style("font-weight", fontWeight).style("font-family", fontFamily);
1946
+ text.append("tspan").attr("dy", dy).text(lines[i]).attr("alignment-baseline", "mathematical");
1947
+ _setTextAttrs(text, textAttrs);
1948
+ }
1949
+ }
1950
+ __name(byTspan, "byTspan");
1951
+ function byFo(content, g, x, y, width, height, textAttrs, conf2) {
1952
+ const s = g.append("switch");
1953
+ const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
1954
+ const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1955
+ text.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
1956
+ byTspan(content, s, x, y, width, height, textAttrs, conf2);
1957
+ _setTextAttrs(text, textAttrs);
1958
+ }
1959
+ __name(byFo, "byFo");
1960
+ function _setTextAttrs(toText, fromTextAttrsDict) {
1961
+ for (const key in fromTextAttrsDict) {
1962
+ if (fromTextAttrsDict.hasOwnProperty(key)) {
1963
+ toText.attr(key, fromTextAttrsDict[key]);
1964
+ }
1965
+ }
1966
+ }
1967
+ __name(_setTextAttrs, "_setTextAttrs");
1968
+ return function(conf2) {
1969
+ return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
1970
+ };
1971
+ }();
1972
+ var svgDraw_default = {
1973
+ drawRect: drawRect2,
1974
+ drawBoundary,
1975
+ drawC4Shape,
1976
+ drawRels,
1977
+ drawImage,
1978
+ insertArrowHead,
1979
+ insertArrowEnd,
1980
+ insertArrowFilledHead,
1981
+ insertArrowCrossHead,
1982
+ insertDatabaseIcon,
1983
+ insertComputerIcon,
1984
+ insertClockIcon
1985
+ };
1986
+ var globalBoundaryMaxX = 0;
1987
+ var globalBoundaryMaxY = 0;
1988
+ var c4ShapeInRow2 = 4;
1989
+ var c4BoundaryInRow2 = 2;
1990
+ parser.yy = c4Db_default;
1991
+ var conf = {};
1992
+ var Bounds = (_a = class {
1993
+ constructor(diagObj) {
1994
+ this.name = "";
1995
+ this.data = {};
1996
+ this.data.startx = void 0;
1997
+ this.data.stopx = void 0;
1998
+ this.data.starty = void 0;
1999
+ this.data.stopy = void 0;
2000
+ this.data.widthLimit = void 0;
2001
+ this.nextData = {};
2002
+ this.nextData.startx = void 0;
2003
+ this.nextData.stopx = void 0;
2004
+ this.nextData.starty = void 0;
2005
+ this.nextData.stopy = void 0;
2006
+ this.nextData.cnt = 0;
2007
+ setConf(diagObj.db.getConfig());
2008
+ }
2009
+ setData(startx, stopx, starty, stopy) {
2010
+ this.nextData.startx = this.data.startx = startx;
2011
+ this.nextData.stopx = this.data.stopx = stopx;
2012
+ this.nextData.starty = this.data.starty = starty;
2013
+ this.nextData.stopy = this.data.stopy = stopy;
2014
+ }
2015
+ updateVal(obj, key, val, fun) {
2016
+ if (obj[key] === void 0) {
2017
+ obj[key] = val;
2018
+ } else {
2019
+ obj[key] = fun(val, obj[key]);
2020
+ }
2021
+ }
2022
+ insert(c4Shape) {
2023
+ this.nextData.cnt = this.nextData.cnt + 1;
2024
+ let _startx = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + c4Shape.margin : this.nextData.stopx + c4Shape.margin * 2;
2025
+ let _stopx = _startx + c4Shape.width;
2026
+ let _starty = this.nextData.starty + c4Shape.margin * 2;
2027
+ let _stopy = _starty + c4Shape.height;
2028
+ if (_startx >= this.data.widthLimit || _stopx >= this.data.widthLimit || this.nextData.cnt > c4ShapeInRow2) {
2029
+ _startx = this.nextData.startx + c4Shape.margin + conf.nextLinePaddingX;
2030
+ _starty = this.nextData.stopy + c4Shape.margin * 2;
2031
+ this.nextData.stopx = _stopx = _startx + c4Shape.width;
2032
+ this.nextData.starty = this.nextData.stopy;
2033
+ this.nextData.stopy = _stopy = _starty + c4Shape.height;
2034
+ this.nextData.cnt = 1;
2035
+ }
2036
+ c4Shape.x = _startx;
2037
+ c4Shape.y = _starty;
2038
+ this.updateVal(this.data, "startx", _startx, Math.min);
2039
+ this.updateVal(this.data, "starty", _starty, Math.min);
2040
+ this.updateVal(this.data, "stopx", _stopx, Math.max);
2041
+ this.updateVal(this.data, "stopy", _stopy, Math.max);
2042
+ this.updateVal(this.nextData, "startx", _startx, Math.min);
2043
+ this.updateVal(this.nextData, "starty", _starty, Math.min);
2044
+ this.updateVal(this.nextData, "stopx", _stopx, Math.max);
2045
+ this.updateVal(this.nextData, "stopy", _stopy, Math.max);
2046
+ }
2047
+ init(diagObj) {
2048
+ this.name = "";
2049
+ this.data = {
2050
+ startx: void 0,
2051
+ stopx: void 0,
2052
+ starty: void 0,
2053
+ stopy: void 0,
2054
+ widthLimit: void 0
2055
+ };
2056
+ this.nextData = {
2057
+ startx: void 0,
2058
+ stopx: void 0,
2059
+ starty: void 0,
2060
+ stopy: void 0,
2061
+ cnt: 0
2062
+ };
2063
+ setConf(diagObj.db.getConfig());
2064
+ }
2065
+ bumpLastMargin(margin) {
2066
+ this.data.stopx += margin;
2067
+ this.data.stopy += margin;
2068
+ }
2069
+ }, __name(_a, "Bounds"), _a);
2070
+ var setConf = /* @__PURE__ */ __name(function(cnf) {
2071
+ assignWithDepth_default(conf, cnf);
2072
+ if (cnf.fontFamily) {
2073
+ conf.personFontFamily = conf.systemFontFamily = conf.messageFontFamily = cnf.fontFamily;
2074
+ }
2075
+ if (cnf.fontSize) {
2076
+ conf.personFontSize = conf.systemFontSize = conf.messageFontSize = cnf.fontSize;
2077
+ }
2078
+ if (cnf.fontWeight) {
2079
+ conf.personFontWeight = conf.systemFontWeight = conf.messageFontWeight = cnf.fontWeight;
2080
+ }
2081
+ }, "setConf");
2082
+ var c4ShapeFont = /* @__PURE__ */ __name((cnf, typeC4Shape) => {
2083
+ return {
2084
+ fontFamily: cnf[typeC4Shape + "FontFamily"],
2085
+ fontSize: cnf[typeC4Shape + "FontSize"],
2086
+ fontWeight: cnf[typeC4Shape + "FontWeight"]
2087
+ };
2088
+ }, "c4ShapeFont");
2089
+ var boundaryFont = /* @__PURE__ */ __name((cnf) => {
2090
+ return {
2091
+ fontFamily: cnf.boundaryFontFamily,
2092
+ fontSize: cnf.boundaryFontSize,
2093
+ fontWeight: cnf.boundaryFontWeight
2094
+ };
2095
+ }, "boundaryFont");
2096
+ var messageFont = /* @__PURE__ */ __name((cnf) => {
2097
+ return {
2098
+ fontFamily: cnf.messageFontFamily,
2099
+ fontSize: cnf.messageFontSize,
2100
+ fontWeight: cnf.messageFontWeight
2101
+ };
2102
+ }, "messageFont");
2103
+ function calcC4ShapeTextWH(textType, c4Shape, c4ShapeTextWrap, textConf, textLimitWidth) {
2104
+ if (!c4Shape[textType].width) {
2105
+ if (c4ShapeTextWrap) {
2106
+ c4Shape[textType].text = wrapLabel(c4Shape[textType].text, textLimitWidth, textConf);
2107
+ c4Shape[textType].textLines = c4Shape[textType].text.split(common_default.lineBreakRegex).length;
2108
+ c4Shape[textType].width = textLimitWidth;
2109
+ c4Shape[textType].height = calculateTextHeight(c4Shape[textType].text, textConf);
2110
+ } else {
2111
+ let lines = c4Shape[textType].text.split(common_default.lineBreakRegex);
2112
+ c4Shape[textType].textLines = lines.length;
2113
+ let lineHeight = 0;
2114
+ c4Shape[textType].height = 0;
2115
+ c4Shape[textType].width = 0;
2116
+ for (const line of lines) {
2117
+ c4Shape[textType].width = Math.max(
2118
+ calculateTextWidth(line, textConf),
2119
+ c4Shape[textType].width
2120
+ );
2121
+ lineHeight = calculateTextHeight(line, textConf);
2122
+ c4Shape[textType].height = c4Shape[textType].height + lineHeight;
2123
+ }
2124
+ }
2125
+ }
2126
+ }
2127
+ __name(calcC4ShapeTextWH, "calcC4ShapeTextWH");
2128
+ var drawBoundary2 = /* @__PURE__ */ __name(function(diagram2, boundary, bounds) {
2129
+ boundary.x = bounds.data.startx;
2130
+ boundary.y = bounds.data.starty;
2131
+ boundary.width = bounds.data.stopx - bounds.data.startx;
2132
+ boundary.height = bounds.data.stopy - bounds.data.starty;
2133
+ boundary.label.y = conf.c4ShapeMargin - 35;
2134
+ let boundaryTextWrap = boundary.wrap && conf.wrap;
2135
+ let boundaryLabelConf = boundaryFont(conf);
2136
+ boundaryLabelConf.fontSize = boundaryLabelConf.fontSize + 2;
2137
+ boundaryLabelConf.fontWeight = "bold";
2138
+ let textLimitWidth = calculateTextWidth(boundary.label.text, boundaryLabelConf);
2139
+ calcC4ShapeTextWH("label", boundary, boundaryTextWrap, boundaryLabelConf, textLimitWidth);
2140
+ svgDraw_default.drawBoundary(diagram2, boundary, conf);
2141
+ }, "drawBoundary");
2142
+ var drawC4ShapeArray = /* @__PURE__ */ __name(function(currentBounds, diagram2, c4ShapeArray2, c4ShapeKeys) {
2143
+ let Y = 0;
2144
+ for (const c4ShapeKey of c4ShapeKeys) {
2145
+ Y = 0;
2146
+ const c4Shape = c4ShapeArray2[c4ShapeKey];
2147
+ let c4ShapeTypeConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2148
+ c4ShapeTypeConf.fontSize = c4ShapeTypeConf.fontSize - 2;
2149
+ c4Shape.typeC4Shape.width = calculateTextWidth(
2150
+ "«" + c4Shape.typeC4Shape.text + "»",
2151
+ c4ShapeTypeConf
2152
+ );
2153
+ c4Shape.typeC4Shape.height = c4ShapeTypeConf.fontSize + 2;
2154
+ c4Shape.typeC4Shape.Y = conf.c4ShapePadding;
2155
+ Y = c4Shape.typeC4Shape.Y + c4Shape.typeC4Shape.height - 4;
2156
+ c4Shape.image = { width: 0, height: 0, Y: 0 };
2157
+ switch (c4Shape.typeC4Shape.text) {
2158
+ case "person":
2159
+ case "external_person":
2160
+ c4Shape.image.width = 48;
2161
+ c4Shape.image.height = 48;
2162
+ c4Shape.image.Y = Y;
2163
+ Y = c4Shape.image.Y + c4Shape.image.height;
2164
+ break;
2165
+ }
2166
+ if (c4Shape.sprite) {
2167
+ c4Shape.image.width = 48;
2168
+ c4Shape.image.height = 48;
2169
+ c4Shape.image.Y = Y;
2170
+ Y = c4Shape.image.Y + c4Shape.image.height;
2171
+ }
2172
+ let c4ShapeTextWrap = c4Shape.wrap && conf.wrap;
2173
+ let textLimitWidth = conf.width - conf.c4ShapePadding * 2;
2174
+ let c4ShapeLabelConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2175
+ c4ShapeLabelConf.fontSize = c4ShapeLabelConf.fontSize + 2;
2176
+ c4ShapeLabelConf.fontWeight = "bold";
2177
+ calcC4ShapeTextWH("label", c4Shape, c4ShapeTextWrap, c4ShapeLabelConf, textLimitWidth);
2178
+ c4Shape.label.Y = Y + 8;
2179
+ Y = c4Shape.label.Y + c4Shape.label.height;
2180
+ if (c4Shape.type && c4Shape.type.text !== "") {
2181
+ c4Shape.type.text = "[" + c4Shape.type.text + "]";
2182
+ let c4ShapeTypeConf2 = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2183
+ calcC4ShapeTextWH("type", c4Shape, c4ShapeTextWrap, c4ShapeTypeConf2, textLimitWidth);
2184
+ c4Shape.type.Y = Y + 5;
2185
+ Y = c4Shape.type.Y + c4Shape.type.height;
2186
+ } else if (c4Shape.techn && c4Shape.techn.text !== "") {
2187
+ c4Shape.techn.text = "[" + c4Shape.techn.text + "]";
2188
+ let c4ShapeTechnConf = c4ShapeFont(conf, c4Shape.techn.text);
2189
+ calcC4ShapeTextWH("techn", c4Shape, c4ShapeTextWrap, c4ShapeTechnConf, textLimitWidth);
2190
+ c4Shape.techn.Y = Y + 5;
2191
+ Y = c4Shape.techn.Y + c4Shape.techn.height;
2192
+ }
2193
+ let rectHeight = Y;
2194
+ let rectWidth = c4Shape.label.width;
2195
+ if (c4Shape.descr && c4Shape.descr.text !== "") {
2196
+ let c4ShapeDescrConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2197
+ calcC4ShapeTextWH("descr", c4Shape, c4ShapeTextWrap, c4ShapeDescrConf, textLimitWidth);
2198
+ c4Shape.descr.Y = Y + 20;
2199
+ Y = c4Shape.descr.Y + c4Shape.descr.height;
2200
+ rectWidth = Math.max(c4Shape.label.width, c4Shape.descr.width);
2201
+ rectHeight = Y - c4Shape.descr.textLines * 5;
2202
+ }
2203
+ rectWidth = rectWidth + conf.c4ShapePadding;
2204
+ c4Shape.width = Math.max(c4Shape.width || conf.width, rectWidth, conf.width);
2205
+ c4Shape.height = Math.max(c4Shape.height || conf.height, rectHeight, conf.height);
2206
+ c4Shape.margin = c4Shape.margin || conf.c4ShapeMargin;
2207
+ currentBounds.insert(c4Shape);
2208
+ svgDraw_default.drawC4Shape(diagram2, c4Shape, conf);
2209
+ }
2210
+ currentBounds.bumpLastMargin(conf.c4ShapeMargin);
2211
+ }, "drawC4ShapeArray");
2212
+ var Point = (_b = class {
2213
+ constructor(x, y) {
2214
+ this.x = x;
2215
+ this.y = y;
2216
+ }
2217
+ }, __name(_b, "Point"), _b);
2218
+ var getIntersectPoint = /* @__PURE__ */ __name(function(fromNode, endPoint) {
2219
+ let x1 = fromNode.x;
2220
+ let y1 = fromNode.y;
2221
+ let x2 = endPoint.x;
2222
+ let y2 = endPoint.y;
2223
+ let fromCenterX = x1 + fromNode.width / 2;
2224
+ let fromCenterY = y1 + fromNode.height / 2;
2225
+ let dx = Math.abs(x1 - x2);
2226
+ let dy = Math.abs(y1 - y2);
2227
+ let tanDYX = dy / dx;
2228
+ let fromDYX = fromNode.height / fromNode.width;
2229
+ let returnPoint = null;
2230
+ if (y1 == y2 && x1 < x2) {
2231
+ returnPoint = new Point(x1 + fromNode.width, fromCenterY);
2232
+ } else if (y1 == y2 && x1 > x2) {
2233
+ returnPoint = new Point(x1, fromCenterY);
2234
+ } else if (x1 == x2 && y1 < y2) {
2235
+ returnPoint = new Point(fromCenterX, y1 + fromNode.height);
2236
+ } else if (x1 == x2 && y1 > y2) {
2237
+ returnPoint = new Point(fromCenterX, y1);
2238
+ }
2239
+ if (x1 > x2 && y1 < y2) {
2240
+ if (fromDYX >= tanDYX) {
2241
+ returnPoint = new Point(x1, fromCenterY + tanDYX * fromNode.width / 2);
2242
+ } else {
2243
+ returnPoint = new Point(
2244
+ fromCenterX - dx / dy * fromNode.height / 2,
2245
+ y1 + fromNode.height
2246
+ );
2247
+ }
2248
+ } else if (x1 < x2 && y1 < y2) {
2249
+ if (fromDYX >= tanDYX) {
2250
+ returnPoint = new Point(x1 + fromNode.width, fromCenterY + tanDYX * fromNode.width / 2);
2251
+ } else {
2252
+ returnPoint = new Point(
2253
+ fromCenterX + dx / dy * fromNode.height / 2,
2254
+ y1 + fromNode.height
2255
+ );
2256
+ }
2257
+ } else if (x1 < x2 && y1 > y2) {
2258
+ if (fromDYX >= tanDYX) {
2259
+ returnPoint = new Point(x1 + fromNode.width, fromCenterY - tanDYX * fromNode.width / 2);
2260
+ } else {
2261
+ returnPoint = new Point(fromCenterX + fromNode.height / 2 * dx / dy, y1);
2262
+ }
2263
+ } else if (x1 > x2 && y1 > y2) {
2264
+ if (fromDYX >= tanDYX) {
2265
+ returnPoint = new Point(x1, fromCenterY - fromNode.width / 2 * tanDYX);
2266
+ } else {
2267
+ returnPoint = new Point(fromCenterX - fromNode.height / 2 * dx / dy, y1);
2268
+ }
2269
+ }
2270
+ return returnPoint;
2271
+ }, "getIntersectPoint");
2272
+ var getIntersectPoints = /* @__PURE__ */ __name(function(fromNode, endNode) {
2273
+ let endIntersectPoint = { x: 0, y: 0 };
2274
+ endIntersectPoint.x = endNode.x + endNode.width / 2;
2275
+ endIntersectPoint.y = endNode.y + endNode.height / 2;
2276
+ let startPoint = getIntersectPoint(fromNode, endIntersectPoint);
2277
+ endIntersectPoint.x = fromNode.x + fromNode.width / 2;
2278
+ endIntersectPoint.y = fromNode.y + fromNode.height / 2;
2279
+ let endPoint = getIntersectPoint(endNode, endIntersectPoint);
2280
+ return { startPoint, endPoint };
2281
+ }, "getIntersectPoints");
2282
+ var drawRels2 = /* @__PURE__ */ __name(function(diagram2, rels2, getC4ShapeObj, diagObj, diagramId) {
2283
+ let i = 0;
2284
+ for (let rel of rels2) {
2285
+ i = i + 1;
2286
+ let relTextWrap = rel.wrap && conf.wrap;
2287
+ let relConf = messageFont(conf);
2288
+ let diagramType = diagObj.db.getC4Type();
2289
+ if (diagramType === "C4Dynamic") {
2290
+ rel.label.text = i + ": " + rel.label.text;
2291
+ }
2292
+ let textLimitWidth = calculateTextWidth(rel.label.text, relConf);
2293
+ calcC4ShapeTextWH("label", rel, relTextWrap, relConf, textLimitWidth);
2294
+ if (rel.techn && rel.techn.text !== "") {
2295
+ textLimitWidth = calculateTextWidth(rel.techn.text, relConf);
2296
+ calcC4ShapeTextWH("techn", rel, relTextWrap, relConf, textLimitWidth);
2297
+ }
2298
+ if (rel.descr && rel.descr.text !== "") {
2299
+ textLimitWidth = calculateTextWidth(rel.descr.text, relConf);
2300
+ calcC4ShapeTextWH("descr", rel, relTextWrap, relConf, textLimitWidth);
2301
+ }
2302
+ let fromNode = getC4ShapeObj(rel.from);
2303
+ let endNode = getC4ShapeObj(rel.to);
2304
+ let points = getIntersectPoints(fromNode, endNode);
2305
+ rel.startPoint = points.startPoint;
2306
+ rel.endPoint = points.endPoint;
2307
+ }
2308
+ svgDraw_default.drawRels(diagram2, rels2, conf, diagramId);
2309
+ }, "drawRels");
2310
+ function drawInsideBoundary(diagram2, parentBoundaryAlias, parentBounds, currentBoundaries, diagObj) {
2311
+ let currentBounds = new Bounds(diagObj);
2312
+ currentBounds.data.widthLimit = parentBounds.data.widthLimit / Math.min(c4BoundaryInRow2, currentBoundaries.length);
2313
+ for (let [i, currentBoundary] of currentBoundaries.entries()) {
2314
+ let Y = 0;
2315
+ currentBoundary.image = { width: 0, height: 0, Y: 0 };
2316
+ if (currentBoundary.sprite) {
2317
+ currentBoundary.image.width = 48;
2318
+ currentBoundary.image.height = 48;
2319
+ currentBoundary.image.Y = Y;
2320
+ Y = currentBoundary.image.Y + currentBoundary.image.height;
2321
+ }
2322
+ let currentBoundaryTextWrap = currentBoundary.wrap && conf.wrap;
2323
+ let currentBoundaryLabelConf = boundaryFont(conf);
2324
+ currentBoundaryLabelConf.fontSize = currentBoundaryLabelConf.fontSize + 2;
2325
+ currentBoundaryLabelConf.fontWeight = "bold";
2326
+ calcC4ShapeTextWH(
2327
+ "label",
2328
+ currentBoundary,
2329
+ currentBoundaryTextWrap,
2330
+ currentBoundaryLabelConf,
2331
+ currentBounds.data.widthLimit
2332
+ );
2333
+ currentBoundary.label.Y = Y + 8;
2334
+ Y = currentBoundary.label.Y + currentBoundary.label.height;
2335
+ if (currentBoundary.type && currentBoundary.type.text !== "") {
2336
+ currentBoundary.type.text = "[" + currentBoundary.type.text + "]";
2337
+ let currentBoundaryTypeConf = boundaryFont(conf);
2338
+ calcC4ShapeTextWH(
2339
+ "type",
2340
+ currentBoundary,
2341
+ currentBoundaryTextWrap,
2342
+ currentBoundaryTypeConf,
2343
+ currentBounds.data.widthLimit
2344
+ );
2345
+ currentBoundary.type.Y = Y + 5;
2346
+ Y = currentBoundary.type.Y + currentBoundary.type.height;
2347
+ }
2348
+ if (currentBoundary.descr && currentBoundary.descr.text !== "") {
2349
+ let currentBoundaryDescrConf = boundaryFont(conf);
2350
+ currentBoundaryDescrConf.fontSize = currentBoundaryDescrConf.fontSize - 2;
2351
+ calcC4ShapeTextWH(
2352
+ "descr",
2353
+ currentBoundary,
2354
+ currentBoundaryTextWrap,
2355
+ currentBoundaryDescrConf,
2356
+ currentBounds.data.widthLimit
2357
+ );
2358
+ currentBoundary.descr.Y = Y + 20;
2359
+ Y = currentBoundary.descr.Y + currentBoundary.descr.height;
2360
+ }
2361
+ if (i == 0 || i % c4BoundaryInRow2 === 0) {
2362
+ let _x = parentBounds.data.startx + conf.diagramMarginX;
2363
+ let _y = parentBounds.data.stopy + conf.diagramMarginY + Y;
2364
+ currentBounds.setData(_x, _x, _y, _y);
2365
+ } else {
2366
+ let _x = currentBounds.data.stopx !== currentBounds.data.startx ? currentBounds.data.stopx + conf.diagramMarginX : currentBounds.data.startx;
2367
+ let _y = currentBounds.data.starty;
2368
+ currentBounds.setData(_x, _x, _y, _y);
2369
+ }
2370
+ currentBounds.name = currentBoundary.alias;
2371
+ let currentPersonOrSystemArray = diagObj.db.getC4ShapeArray(currentBoundary.alias);
2372
+ let currentPersonOrSystemKeys = diagObj.db.getC4ShapeKeys(currentBoundary.alias);
2373
+ if (currentPersonOrSystemKeys.length > 0) {
2374
+ drawC4ShapeArray(
2375
+ currentBounds,
2376
+ diagram2,
2377
+ currentPersonOrSystemArray,
2378
+ currentPersonOrSystemKeys
2379
+ );
2380
+ }
2381
+ parentBoundaryAlias = currentBoundary.alias;
2382
+ let nextCurrentBoundaries = diagObj.db.getBoundaries(parentBoundaryAlias);
2383
+ if (nextCurrentBoundaries.length > 0) {
2384
+ drawInsideBoundary(
2385
+ diagram2,
2386
+ parentBoundaryAlias,
2387
+ currentBounds,
2388
+ nextCurrentBoundaries,
2389
+ diagObj
2390
+ );
2391
+ }
2392
+ if (currentBoundary.alias !== "global") {
2393
+ drawBoundary2(diagram2, currentBoundary, currentBounds);
2394
+ }
2395
+ parentBounds.data.stopy = Math.max(
2396
+ currentBounds.data.stopy + conf.c4ShapeMargin,
2397
+ parentBounds.data.stopy
2398
+ );
2399
+ parentBounds.data.stopx = Math.max(
2400
+ currentBounds.data.stopx + conf.c4ShapeMargin,
2401
+ parentBounds.data.stopx
2402
+ );
2403
+ globalBoundaryMaxX = Math.max(globalBoundaryMaxX, parentBounds.data.stopx);
2404
+ globalBoundaryMaxY = Math.max(globalBoundaryMaxY, parentBounds.data.stopy);
2405
+ }
2406
+ }
2407
+ __name(drawInsideBoundary, "drawInsideBoundary");
2408
+ var draw = /* @__PURE__ */ __name(function(_text, id, _version, diagObj) {
2409
+ conf = getConfig2().c4;
2410
+ const securityLevel = getConfig2().securityLevel;
2411
+ let sandboxElement;
2412
+ if (securityLevel === "sandbox") {
2413
+ sandboxElement = select("#i" + id);
2414
+ }
2415
+ const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
2416
+ let db = diagObj.db;
2417
+ diagObj.db.setWrap(conf.wrap);
2418
+ c4ShapeInRow2 = db.getC4ShapeInRow();
2419
+ c4BoundaryInRow2 = db.getC4BoundaryInRow();
2420
+ log.debug(`C:${JSON.stringify(conf, null, 2)}`);
2421
+ const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select(`[id="${id}"]`);
2422
+ svgDraw_default.insertComputerIcon(diagram2, id);
2423
+ svgDraw_default.insertDatabaseIcon(diagram2, id);
2424
+ svgDraw_default.insertClockIcon(diagram2, id);
2425
+ let screenBounds = new Bounds(diagObj);
2426
+ screenBounds.setData(
2427
+ conf.diagramMarginX,
2428
+ conf.diagramMarginX,
2429
+ conf.diagramMarginY,
2430
+ conf.diagramMarginY
2431
+ );
2432
+ screenBounds.data.widthLimit = screen.availWidth;
2433
+ globalBoundaryMaxX = conf.diagramMarginX;
2434
+ globalBoundaryMaxY = conf.diagramMarginY;
2435
+ const title2 = diagObj.db.getTitle();
2436
+ let currentBoundaries = diagObj.db.getBoundaries("");
2437
+ drawInsideBoundary(diagram2, "", screenBounds, currentBoundaries, diagObj);
2438
+ svgDraw_default.insertArrowHead(diagram2, id);
2439
+ svgDraw_default.insertArrowEnd(diagram2, id);
2440
+ svgDraw_default.insertArrowCrossHead(diagram2, id);
2441
+ svgDraw_default.insertArrowFilledHead(diagram2, id);
2442
+ drawRels2(diagram2, diagObj.db.getRels(), diagObj.db.getC4Shape, diagObj, id);
2443
+ screenBounds.data.stopx = globalBoundaryMaxX;
2444
+ screenBounds.data.stopy = globalBoundaryMaxY;
2445
+ const box = screenBounds.data;
2446
+ let boxHeight = box.stopy - box.starty;
2447
+ let height = boxHeight + 2 * conf.diagramMarginY;
2448
+ let boxWidth = box.stopx - box.startx;
2449
+ const width = boxWidth + 2 * conf.diagramMarginX;
2450
+ if (title2) {
2451
+ diagram2.append("text").text(title2).attr("x", (box.stopx - box.startx) / 2 - 4 * conf.diagramMarginX).attr("y", box.starty + conf.diagramMarginY);
2452
+ }
2453
+ configureSvgSize(diagram2, height, width, conf.useMaxWidth);
2454
+ const extraVertForTitle = title2 ? 60 : 0;
2455
+ diagram2.attr(
2456
+ "viewBox",
2457
+ box.startx - conf.diagramMarginX + " -" + (conf.diagramMarginY + extraVertForTitle) + " " + width + " " + (height + extraVertForTitle)
2458
+ );
2459
+ log.debug(`models:`, box);
2460
+ }, "draw");
2461
+ var c4Renderer_default = {
2462
+ drawPersonOrSystemArray: drawC4ShapeArray,
2463
+ drawBoundary: drawBoundary2,
2464
+ setConf,
2465
+ draw
2466
+ };
2467
+ var getStyles = /* @__PURE__ */ __name((options) => `.person {
2468
+ stroke: ${options.personBorder};
2469
+ fill: ${options.personBkg};
2470
+ }
2471
+ `, "getStyles");
2472
+ var styles_default = getStyles;
2473
+ var diagram = {
2474
+ parser: c4Diagram_default,
2475
+ db: c4Db_default,
2476
+ renderer: c4Renderer_default,
2477
+ styles: styles_default,
2478
+ init: /* @__PURE__ */ __name(({ c4, wrap }) => {
2479
+ c4Renderer_default.setConf(c4);
2480
+ c4Db_default.setWrap(wrap);
2481
+ }, "init")
2482
+ };
2483
+ export {
2484
+ diagram
2485
+ };