@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
+ "use strict";
2
+ var _a, _b;
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
+ const chunk32BRIVSS = require("./chunk-32BRIVSS.js");
5
+ const chunkICXQ74PX = require("./chunk-ICXQ74PX.js");
6
+ const chunkWYO6CB5R = require("./chunk-WYO6CB5R.js");
7
+ const chunkX3CZISLH = require("./chunk-X3CZISLH.js");
8
+ const chunkY2CYZVJY = require("./chunk-Y2CYZVJY.js");
9
+ require("../../../../d3-transition/src/selection/index.js");
10
+ require("../../../../d3-zoom/src/transform.js");
11
+ const index = require("../../../../../_virtual/index2.js");
12
+ const select = require("../../../../d3-selection/src/select.js");
13
+ var parser = function() {
14
+ var o = /* @__PURE__ */ chunkY2CYZVJY.__name(function(k, v, o2, l) {
15
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
16
+ return o2;
17
+ }, "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];
18
+ var parser2 = {
19
+ trace: /* @__PURE__ */ chunkY2CYZVJY.__name(function trace() {
20
+ }, "trace"),
21
+ yy: {},
22
+ 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 },
23
+ 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" },
24
+ 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]],
25
+ performAction: /* @__PURE__ */ chunkY2CYZVJY.__name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
26
+ var $0 = $$.length - 1;
27
+ switch (yystate) {
28
+ case 3:
29
+ yy.setDirection("TB");
30
+ break;
31
+ case 4:
32
+ yy.setDirection("BT");
33
+ break;
34
+ case 5:
35
+ yy.setDirection("RL");
36
+ break;
37
+ case 6:
38
+ yy.setDirection("LR");
39
+ break;
40
+ case 8:
41
+ case 9:
42
+ case 10:
43
+ case 11:
44
+ case 12:
45
+ yy.setC4Type($$[$0 - 3]);
46
+ break;
47
+ case 19:
48
+ yy.setTitle($$[$0].substring(6));
49
+ this.$ = $$[$0].substring(6);
50
+ break;
51
+ case 20:
52
+ yy.setAccDescription($$[$0].substring(15));
53
+ this.$ = $$[$0].substring(15);
54
+ break;
55
+ case 21:
56
+ this.$ = $$[$0].trim();
57
+ yy.setTitle(this.$);
58
+ break;
59
+ case 22:
60
+ case 23:
61
+ this.$ = $$[$0].trim();
62
+ yy.setAccDescription(this.$);
63
+ break;
64
+ case 28:
65
+ $$[$0].splice(2, 0, "ENTERPRISE");
66
+ yy.addPersonOrSystemBoundary(...$$[$0]);
67
+ this.$ = $$[$0];
68
+ break;
69
+ case 29:
70
+ $$[$0].splice(2, 0, "SYSTEM");
71
+ yy.addPersonOrSystemBoundary(...$$[$0]);
72
+ this.$ = $$[$0];
73
+ break;
74
+ case 30:
75
+ yy.addPersonOrSystemBoundary(...$$[$0]);
76
+ this.$ = $$[$0];
77
+ break;
78
+ case 31:
79
+ $$[$0].splice(2, 0, "CONTAINER");
80
+ yy.addContainerBoundary(...$$[$0]);
81
+ this.$ = $$[$0];
82
+ break;
83
+ case 32:
84
+ yy.addDeploymentNode("node", ...$$[$0]);
85
+ this.$ = $$[$0];
86
+ break;
87
+ case 33:
88
+ yy.addDeploymentNode("nodeL", ...$$[$0]);
89
+ this.$ = $$[$0];
90
+ break;
91
+ case 34:
92
+ yy.addDeploymentNode("nodeR", ...$$[$0]);
93
+ this.$ = $$[$0];
94
+ break;
95
+ case 35:
96
+ yy.popBoundaryParseStack();
97
+ break;
98
+ case 39:
99
+ yy.addPersonOrSystem("person", ...$$[$0]);
100
+ this.$ = $$[$0];
101
+ break;
102
+ case 40:
103
+ yy.addPersonOrSystem("external_person", ...$$[$0]);
104
+ this.$ = $$[$0];
105
+ break;
106
+ case 41:
107
+ yy.addPersonOrSystem("system", ...$$[$0]);
108
+ this.$ = $$[$0];
109
+ break;
110
+ case 42:
111
+ yy.addPersonOrSystem("system_db", ...$$[$0]);
112
+ this.$ = $$[$0];
113
+ break;
114
+ case 43:
115
+ yy.addPersonOrSystem("system_queue", ...$$[$0]);
116
+ this.$ = $$[$0];
117
+ break;
118
+ case 44:
119
+ yy.addPersonOrSystem("external_system", ...$$[$0]);
120
+ this.$ = $$[$0];
121
+ break;
122
+ case 45:
123
+ yy.addPersonOrSystem("external_system_db", ...$$[$0]);
124
+ this.$ = $$[$0];
125
+ break;
126
+ case 46:
127
+ yy.addPersonOrSystem("external_system_queue", ...$$[$0]);
128
+ this.$ = $$[$0];
129
+ break;
130
+ case 47:
131
+ yy.addContainer("container", ...$$[$0]);
132
+ this.$ = $$[$0];
133
+ break;
134
+ case 48:
135
+ yy.addContainer("container_db", ...$$[$0]);
136
+ this.$ = $$[$0];
137
+ break;
138
+ case 49:
139
+ yy.addContainer("container_queue", ...$$[$0]);
140
+ this.$ = $$[$0];
141
+ break;
142
+ case 50:
143
+ yy.addContainer("external_container", ...$$[$0]);
144
+ this.$ = $$[$0];
145
+ break;
146
+ case 51:
147
+ yy.addContainer("external_container_db", ...$$[$0]);
148
+ this.$ = $$[$0];
149
+ break;
150
+ case 52:
151
+ yy.addContainer("external_container_queue", ...$$[$0]);
152
+ this.$ = $$[$0];
153
+ break;
154
+ case 53:
155
+ yy.addComponent("component", ...$$[$0]);
156
+ this.$ = $$[$0];
157
+ break;
158
+ case 54:
159
+ yy.addComponent("component_db", ...$$[$0]);
160
+ this.$ = $$[$0];
161
+ break;
162
+ case 55:
163
+ yy.addComponent("component_queue", ...$$[$0]);
164
+ this.$ = $$[$0];
165
+ break;
166
+ case 56:
167
+ yy.addComponent("external_component", ...$$[$0]);
168
+ this.$ = $$[$0];
169
+ break;
170
+ case 57:
171
+ yy.addComponent("external_component_db", ...$$[$0]);
172
+ this.$ = $$[$0];
173
+ break;
174
+ case 58:
175
+ yy.addComponent("external_component_queue", ...$$[$0]);
176
+ this.$ = $$[$0];
177
+ break;
178
+ case 60:
179
+ yy.addRel("rel", ...$$[$0]);
180
+ this.$ = $$[$0];
181
+ break;
182
+ case 61:
183
+ yy.addRel("birel", ...$$[$0]);
184
+ this.$ = $$[$0];
185
+ break;
186
+ case 62:
187
+ yy.addRel("rel_u", ...$$[$0]);
188
+ this.$ = $$[$0];
189
+ break;
190
+ case 63:
191
+ yy.addRel("rel_d", ...$$[$0]);
192
+ this.$ = $$[$0];
193
+ break;
194
+ case 64:
195
+ yy.addRel("rel_l", ...$$[$0]);
196
+ this.$ = $$[$0];
197
+ break;
198
+ case 65:
199
+ yy.addRel("rel_r", ...$$[$0]);
200
+ this.$ = $$[$0];
201
+ break;
202
+ case 66:
203
+ yy.addRel("rel_b", ...$$[$0]);
204
+ this.$ = $$[$0];
205
+ break;
206
+ case 67:
207
+ $$[$0].splice(0, 1);
208
+ yy.addRel("rel", ...$$[$0]);
209
+ this.$ = $$[$0];
210
+ break;
211
+ case 68:
212
+ yy.updateElStyle("update_el_style", ...$$[$0]);
213
+ this.$ = $$[$0];
214
+ break;
215
+ case 69:
216
+ yy.updateRelStyle("update_rel_style", ...$$[$0]);
217
+ this.$ = $$[$0];
218
+ break;
219
+ case 70:
220
+ yy.updateLayoutConfig("update_layout_config", ...$$[$0]);
221
+ this.$ = $$[$0];
222
+ break;
223
+ case 71:
224
+ this.$ = [$$[$0]];
225
+ break;
226
+ case 72:
227
+ $$[$0].unshift($$[$0 - 1]);
228
+ this.$ = $$[$0];
229
+ break;
230
+ case 73:
231
+ case 75:
232
+ this.$ = $$[$0].trim();
233
+ break;
234
+ case 74:
235
+ let kv = {};
236
+ kv[$$[$0 - 1].trim()] = $$[$0].trim();
237
+ this.$ = kv;
238
+ break;
239
+ case 76:
240
+ this.$ = "";
241
+ break;
242
+ }
243
+ }, "anonymous"),
244
+ 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])],
245
+ 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] },
246
+ parseError: /* @__PURE__ */ chunkY2CYZVJY.__name(function parseError(str, hash) {
247
+ if (hash.recoverable) {
248
+ this.trace(str);
249
+ } else {
250
+ var error = new Error(str);
251
+ error.hash = hash;
252
+ throw error;
253
+ }
254
+ }, "parseError"),
255
+ parse: /* @__PURE__ */ chunkY2CYZVJY.__name(function parse(input) {
256
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
257
+ var args = lstack.slice.call(arguments, 1);
258
+ var lexer2 = Object.create(this.lexer);
259
+ var sharedState = { yy: {} };
260
+ for (var k in this.yy) {
261
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
262
+ sharedState.yy[k] = this.yy[k];
263
+ }
264
+ }
265
+ lexer2.setInput(input, sharedState.yy);
266
+ sharedState.yy.lexer = lexer2;
267
+ sharedState.yy.parser = this;
268
+ if (typeof lexer2.yylloc == "undefined") {
269
+ lexer2.yylloc = {};
270
+ }
271
+ var yyloc = lexer2.yylloc;
272
+ lstack.push(yyloc);
273
+ var ranges = lexer2.options && lexer2.options.ranges;
274
+ if (typeof sharedState.yy.parseError === "function") {
275
+ this.parseError = sharedState.yy.parseError;
276
+ } else {
277
+ this.parseError = Object.getPrototypeOf(this).parseError;
278
+ }
279
+ function popStack(n) {
280
+ stack.length = stack.length - 2 * n;
281
+ vstack.length = vstack.length - n;
282
+ lstack.length = lstack.length - n;
283
+ }
284
+ chunkY2CYZVJY.__name(popStack, "popStack");
285
+ function lex() {
286
+ var token;
287
+ token = tstack.pop() || lexer2.lex() || EOF;
288
+ if (typeof token !== "number") {
289
+ if (token instanceof Array) {
290
+ tstack = token;
291
+ token = tstack.pop();
292
+ }
293
+ token = self.symbols_[token] || token;
294
+ }
295
+ return token;
296
+ }
297
+ chunkY2CYZVJY.__name(lex, "lex");
298
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
299
+ while (true) {
300
+ state = stack[stack.length - 1];
301
+ if (this.defaultActions[state]) {
302
+ action = this.defaultActions[state];
303
+ } else {
304
+ if (symbol === null || typeof symbol == "undefined") {
305
+ symbol = lex();
306
+ }
307
+ action = table[state] && table[state][symbol];
308
+ }
309
+ if (typeof action === "undefined" || !action.length || !action[0]) {
310
+ var errStr = "";
311
+ expected = [];
312
+ for (p in table[state]) {
313
+ if (this.terminals_[p] && p > TERROR) {
314
+ expected.push("'" + this.terminals_[p] + "'");
315
+ }
316
+ }
317
+ if (lexer2.showPosition) {
318
+ errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
319
+ } else {
320
+ errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
321
+ }
322
+ this.parseError(errStr, {
323
+ text: lexer2.match,
324
+ token: this.terminals_[symbol] || symbol,
325
+ line: lexer2.yylineno,
326
+ loc: yyloc,
327
+ expected
328
+ });
329
+ }
330
+ if (action[0] instanceof Array && action.length > 1) {
331
+ throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
332
+ }
333
+ switch (action[0]) {
334
+ case 1:
335
+ stack.push(symbol);
336
+ vstack.push(lexer2.yytext);
337
+ lstack.push(lexer2.yylloc);
338
+ stack.push(action[1]);
339
+ symbol = null;
340
+ {
341
+ yyleng = lexer2.yyleng;
342
+ yytext = lexer2.yytext;
343
+ yylineno = lexer2.yylineno;
344
+ yyloc = lexer2.yylloc;
345
+ }
346
+ break;
347
+ case 2:
348
+ len = this.productions_[action[1]][1];
349
+ yyval.$ = vstack[vstack.length - len];
350
+ yyval._$ = {
351
+ first_line: lstack[lstack.length - (len || 1)].first_line,
352
+ last_line: lstack[lstack.length - 1].last_line,
353
+ first_column: lstack[lstack.length - (len || 1)].first_column,
354
+ last_column: lstack[lstack.length - 1].last_column
355
+ };
356
+ if (ranges) {
357
+ yyval._$.range = [
358
+ lstack[lstack.length - (len || 1)].range[0],
359
+ lstack[lstack.length - 1].range[1]
360
+ ];
361
+ }
362
+ r = this.performAction.apply(yyval, [
363
+ yytext,
364
+ yyleng,
365
+ yylineno,
366
+ sharedState.yy,
367
+ action[1],
368
+ vstack,
369
+ lstack
370
+ ].concat(args));
371
+ if (typeof r !== "undefined") {
372
+ return r;
373
+ }
374
+ if (len) {
375
+ stack = stack.slice(0, -1 * len * 2);
376
+ vstack = vstack.slice(0, -1 * len);
377
+ lstack = lstack.slice(0, -1 * len);
378
+ }
379
+ stack.push(this.productions_[action[1]][0]);
380
+ vstack.push(yyval.$);
381
+ lstack.push(yyval._$);
382
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
383
+ stack.push(newState);
384
+ break;
385
+ case 3:
386
+ return true;
387
+ }
388
+ }
389
+ return true;
390
+ }, "parse")
391
+ };
392
+ var lexer = /* @__PURE__ */ function() {
393
+ var lexer2 = {
394
+ EOF: 1,
395
+ parseError: /* @__PURE__ */ chunkY2CYZVJY.__name(function parseError(str, hash) {
396
+ if (this.yy.parser) {
397
+ this.yy.parser.parseError(str, hash);
398
+ } else {
399
+ throw new Error(str);
400
+ }
401
+ }, "parseError"),
402
+ // resets the lexer, sets new input
403
+ setInput: /* @__PURE__ */ chunkY2CYZVJY.__name(function(input, yy) {
404
+ this.yy = yy || this.yy || {};
405
+ this._input = input;
406
+ this._more = this._backtrack = this.done = false;
407
+ this.yylineno = this.yyleng = 0;
408
+ this.yytext = this.matched = this.match = "";
409
+ this.conditionStack = ["INITIAL"];
410
+ this.yylloc = {
411
+ first_line: 1,
412
+ first_column: 0,
413
+ last_line: 1,
414
+ last_column: 0
415
+ };
416
+ if (this.options.ranges) {
417
+ this.yylloc.range = [0, 0];
418
+ }
419
+ this.offset = 0;
420
+ return this;
421
+ }, "setInput"),
422
+ // consumes and returns one char from the input
423
+ input: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
424
+ var ch = this._input[0];
425
+ this.yytext += ch;
426
+ this.yyleng++;
427
+ this.offset++;
428
+ this.match += ch;
429
+ this.matched += ch;
430
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
431
+ if (lines) {
432
+ this.yylineno++;
433
+ this.yylloc.last_line++;
434
+ } else {
435
+ this.yylloc.last_column++;
436
+ }
437
+ if (this.options.ranges) {
438
+ this.yylloc.range[1]++;
439
+ }
440
+ this._input = this._input.slice(1);
441
+ return ch;
442
+ }, "input"),
443
+ // unshifts one char (or a string) into the input
444
+ unput: /* @__PURE__ */ chunkY2CYZVJY.__name(function(ch) {
445
+ var len = ch.length;
446
+ var lines = ch.split(/(?:\r\n?|\n)/g);
447
+ this._input = ch + this._input;
448
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
449
+ this.offset -= len;
450
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
451
+ this.match = this.match.substr(0, this.match.length - 1);
452
+ this.matched = this.matched.substr(0, this.matched.length - 1);
453
+ if (lines.length - 1) {
454
+ this.yylineno -= lines.length - 1;
455
+ }
456
+ var r = this.yylloc.range;
457
+ this.yylloc = {
458
+ first_line: this.yylloc.first_line,
459
+ last_line: this.yylineno + 1,
460
+ first_column: this.yylloc.first_column,
461
+ 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
462
+ };
463
+ if (this.options.ranges) {
464
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
465
+ }
466
+ this.yyleng = this.yytext.length;
467
+ return this;
468
+ }, "unput"),
469
+ // When called from action, caches matched text and appends it on next action
470
+ more: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
471
+ this._more = true;
472
+ return this;
473
+ }, "more"),
474
+ // 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.
475
+ reject: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
476
+ if (this.options.backtrack_lexer) {
477
+ this._backtrack = true;
478
+ } else {
479
+ 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(), {
480
+ text: "",
481
+ token: null,
482
+ line: this.yylineno
483
+ });
484
+ }
485
+ return this;
486
+ }, "reject"),
487
+ // retain first n characters of the match
488
+ less: /* @__PURE__ */ chunkY2CYZVJY.__name(function(n) {
489
+ this.unput(this.match.slice(n));
490
+ }, "less"),
491
+ // displays already matched input, i.e. for error messages
492
+ pastInput: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
493
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
494
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
495
+ }, "pastInput"),
496
+ // displays upcoming input, i.e. for error messages
497
+ upcomingInput: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
498
+ var next = this.match;
499
+ if (next.length < 20) {
500
+ next += this._input.substr(0, 20 - next.length);
501
+ }
502
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
503
+ }, "upcomingInput"),
504
+ // displays the character position where the lexing error occurred, i.e. for error messages
505
+ showPosition: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
506
+ var pre = this.pastInput();
507
+ var c2 = new Array(pre.length + 1).join("-");
508
+ return pre + this.upcomingInput() + "\n" + c2 + "^";
509
+ }, "showPosition"),
510
+ // test the lexed token: return FALSE when not a match, otherwise return token
511
+ test_match: /* @__PURE__ */ chunkY2CYZVJY.__name(function(match, indexed_rule) {
512
+ var token, lines, backup;
513
+ if (this.options.backtrack_lexer) {
514
+ backup = {
515
+ yylineno: this.yylineno,
516
+ yylloc: {
517
+ first_line: this.yylloc.first_line,
518
+ last_line: this.last_line,
519
+ first_column: this.yylloc.first_column,
520
+ last_column: this.yylloc.last_column
521
+ },
522
+ yytext: this.yytext,
523
+ match: this.match,
524
+ matches: this.matches,
525
+ matched: this.matched,
526
+ yyleng: this.yyleng,
527
+ offset: this.offset,
528
+ _more: this._more,
529
+ _input: this._input,
530
+ yy: this.yy,
531
+ conditionStack: this.conditionStack.slice(0),
532
+ done: this.done
533
+ };
534
+ if (this.options.ranges) {
535
+ backup.yylloc.range = this.yylloc.range.slice(0);
536
+ }
537
+ }
538
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
539
+ if (lines) {
540
+ this.yylineno += lines.length;
541
+ }
542
+ this.yylloc = {
543
+ first_line: this.yylloc.last_line,
544
+ last_line: this.yylineno + 1,
545
+ first_column: this.yylloc.last_column,
546
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
547
+ };
548
+ this.yytext += match[0];
549
+ this.match += match[0];
550
+ this.matches = match;
551
+ this.yyleng = this.yytext.length;
552
+ if (this.options.ranges) {
553
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
554
+ }
555
+ this._more = false;
556
+ this._backtrack = false;
557
+ this._input = this._input.slice(match[0].length);
558
+ this.matched += match[0];
559
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
560
+ if (this.done && this._input) {
561
+ this.done = false;
562
+ }
563
+ if (token) {
564
+ return token;
565
+ } else if (this._backtrack) {
566
+ for (var k in backup) {
567
+ this[k] = backup[k];
568
+ }
569
+ return false;
570
+ }
571
+ return false;
572
+ }, "test_match"),
573
+ // return next match in input
574
+ next: /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
575
+ if (this.done) {
576
+ return this.EOF;
577
+ }
578
+ if (!this._input) {
579
+ this.done = true;
580
+ }
581
+ var token, match, tempMatch, index2;
582
+ if (!this._more) {
583
+ this.yytext = "";
584
+ this.match = "";
585
+ }
586
+ var rules = this._currentRules();
587
+ for (var i = 0; i < rules.length; i++) {
588
+ tempMatch = this._input.match(this.rules[rules[i]]);
589
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
590
+ match = tempMatch;
591
+ index2 = i;
592
+ if (this.options.backtrack_lexer) {
593
+ token = this.test_match(tempMatch, rules[i]);
594
+ if (token !== false) {
595
+ return token;
596
+ } else if (this._backtrack) {
597
+ match = false;
598
+ continue;
599
+ } else {
600
+ return false;
601
+ }
602
+ } else if (!this.options.flex) {
603
+ break;
604
+ }
605
+ }
606
+ }
607
+ if (match) {
608
+ token = this.test_match(match, rules[index2]);
609
+ if (token !== false) {
610
+ return token;
611
+ }
612
+ return false;
613
+ }
614
+ if (this._input === "") {
615
+ return this.EOF;
616
+ } else {
617
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
618
+ text: "",
619
+ token: null,
620
+ line: this.yylineno
621
+ });
622
+ }
623
+ }, "next"),
624
+ // return next match that has a token
625
+ lex: /* @__PURE__ */ chunkY2CYZVJY.__name(function lex() {
626
+ var r = this.next();
627
+ if (r) {
628
+ return r;
629
+ } else {
630
+ return this.lex();
631
+ }
632
+ }, "lex"),
633
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
634
+ begin: /* @__PURE__ */ chunkY2CYZVJY.__name(function begin(condition) {
635
+ this.conditionStack.push(condition);
636
+ }, "begin"),
637
+ // pop the previously active lexer condition state off the condition stack
638
+ popState: /* @__PURE__ */ chunkY2CYZVJY.__name(function popState() {
639
+ var n = this.conditionStack.length - 1;
640
+ if (n > 0) {
641
+ return this.conditionStack.pop();
642
+ } else {
643
+ return this.conditionStack[0];
644
+ }
645
+ }, "popState"),
646
+ // produce the lexer rule set which is active for the currently active lexer condition state
647
+ _currentRules: /* @__PURE__ */ chunkY2CYZVJY.__name(function _currentRules() {
648
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
649
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
650
+ } else {
651
+ return this.conditions["INITIAL"].rules;
652
+ }
653
+ }, "_currentRules"),
654
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
655
+ topState: /* @__PURE__ */ chunkY2CYZVJY.__name(function topState(n) {
656
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
657
+ if (n >= 0) {
658
+ return this.conditionStack[n];
659
+ } else {
660
+ return "INITIAL";
661
+ }
662
+ }, "topState"),
663
+ // alias for begin(condition)
664
+ pushState: /* @__PURE__ */ chunkY2CYZVJY.__name(function pushState(condition) {
665
+ this.begin(condition);
666
+ }, "pushState"),
667
+ // return the number of states currently on the stack
668
+ stateStackSize: /* @__PURE__ */ chunkY2CYZVJY.__name(function stateStackSize() {
669
+ return this.conditionStack.length;
670
+ }, "stateStackSize"),
671
+ options: {},
672
+ performAction: /* @__PURE__ */ chunkY2CYZVJY.__name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
673
+ switch ($avoiding_name_collisions) {
674
+ case 0:
675
+ return 6;
676
+ case 1:
677
+ return 7;
678
+ case 2:
679
+ return 8;
680
+ case 3:
681
+ return 9;
682
+ case 4:
683
+ return 22;
684
+ case 5:
685
+ return 23;
686
+ case 6:
687
+ this.begin("acc_title");
688
+ return 24;
689
+ case 7:
690
+ this.popState();
691
+ return "acc_title_value";
692
+ case 8:
693
+ this.begin("acc_descr");
694
+ return 26;
695
+ case 9:
696
+ this.popState();
697
+ return "acc_descr_value";
698
+ case 10:
699
+ this.begin("acc_descr_multiline");
700
+ break;
701
+ case 11:
702
+ this.popState();
703
+ break;
704
+ case 12:
705
+ return "acc_descr_multiline_value";
706
+ case 13:
707
+ break;
708
+ case 14:
709
+ c;
710
+ break;
711
+ case 15:
712
+ return 12;
713
+ case 16:
714
+ break;
715
+ case 17:
716
+ return 11;
717
+ case 18:
718
+ return 15;
719
+ case 19:
720
+ return 16;
721
+ case 20:
722
+ return 17;
723
+ case 21:
724
+ return 18;
725
+ case 22:
726
+ this.begin("person_ext");
727
+ return 45;
728
+ case 23:
729
+ this.begin("person");
730
+ return 44;
731
+ case 24:
732
+ this.begin("system_ext_queue");
733
+ return 51;
734
+ case 25:
735
+ this.begin("system_ext_db");
736
+ return 50;
737
+ case 26:
738
+ this.begin("system_ext");
739
+ return 49;
740
+ case 27:
741
+ this.begin("system_queue");
742
+ return 48;
743
+ case 28:
744
+ this.begin("system_db");
745
+ return 47;
746
+ case 29:
747
+ this.begin("system");
748
+ return 46;
749
+ case 30:
750
+ this.begin("boundary");
751
+ return 37;
752
+ case 31:
753
+ this.begin("enterprise_boundary");
754
+ return 34;
755
+ case 32:
756
+ this.begin("system_boundary");
757
+ return 36;
758
+ case 33:
759
+ this.begin("container_ext_queue");
760
+ return 57;
761
+ case 34:
762
+ this.begin("container_ext_db");
763
+ return 56;
764
+ case 35:
765
+ this.begin("container_ext");
766
+ return 55;
767
+ case 36:
768
+ this.begin("container_queue");
769
+ return 54;
770
+ case 37:
771
+ this.begin("container_db");
772
+ return 53;
773
+ case 38:
774
+ this.begin("container");
775
+ return 52;
776
+ case 39:
777
+ this.begin("container_boundary");
778
+ return 38;
779
+ case 40:
780
+ this.begin("component_ext_queue");
781
+ return 63;
782
+ case 41:
783
+ this.begin("component_ext_db");
784
+ return 62;
785
+ case 42:
786
+ this.begin("component_ext");
787
+ return 61;
788
+ case 43:
789
+ this.begin("component_queue");
790
+ return 60;
791
+ case 44:
792
+ this.begin("component_db");
793
+ return 59;
794
+ case 45:
795
+ this.begin("component");
796
+ return 58;
797
+ case 46:
798
+ this.begin("node");
799
+ return 39;
800
+ case 47:
801
+ this.begin("node");
802
+ return 39;
803
+ case 48:
804
+ this.begin("node_l");
805
+ return 40;
806
+ case 49:
807
+ this.begin("node_r");
808
+ return 41;
809
+ case 50:
810
+ this.begin("rel");
811
+ return 64;
812
+ case 51:
813
+ this.begin("birel");
814
+ return 65;
815
+ case 52:
816
+ this.begin("rel_u");
817
+ return 66;
818
+ case 53:
819
+ this.begin("rel_u");
820
+ return 66;
821
+ case 54:
822
+ this.begin("rel_d");
823
+ return 67;
824
+ case 55:
825
+ this.begin("rel_d");
826
+ return 67;
827
+ case 56:
828
+ this.begin("rel_l");
829
+ return 68;
830
+ case 57:
831
+ this.begin("rel_l");
832
+ return 68;
833
+ case 58:
834
+ this.begin("rel_r");
835
+ return 69;
836
+ case 59:
837
+ this.begin("rel_r");
838
+ return 69;
839
+ case 60:
840
+ this.begin("rel_b");
841
+ return 70;
842
+ case 61:
843
+ this.begin("rel_index");
844
+ return 71;
845
+ case 62:
846
+ this.begin("update_el_style");
847
+ return 72;
848
+ case 63:
849
+ this.begin("update_rel_style");
850
+ return 73;
851
+ case 64:
852
+ this.begin("update_layout_config");
853
+ return 74;
854
+ case 65:
855
+ return "EOF_IN_STRUCT";
856
+ case 66:
857
+ this.begin("attribute");
858
+ return "ATTRIBUTE_EMPTY";
859
+ case 67:
860
+ this.begin("attribute");
861
+ break;
862
+ case 68:
863
+ this.popState();
864
+ this.popState();
865
+ break;
866
+ case 69:
867
+ return 80;
868
+ case 70:
869
+ break;
870
+ case 71:
871
+ return 80;
872
+ case 72:
873
+ this.begin("string");
874
+ break;
875
+ case 73:
876
+ this.popState();
877
+ break;
878
+ case 74:
879
+ return "STR";
880
+ case 75:
881
+ this.begin("string_kv");
882
+ break;
883
+ case 76:
884
+ this.begin("string_kv_key");
885
+ return "STR_KEY";
886
+ case 77:
887
+ this.popState();
888
+ this.begin("string_kv_value");
889
+ break;
890
+ case 78:
891
+ return "STR_VALUE";
892
+ case 79:
893
+ this.popState();
894
+ this.popState();
895
+ break;
896
+ case 80:
897
+ return "STR";
898
+ case 81:
899
+ return "LBRACE";
900
+ case 82:
901
+ return "RBRACE";
902
+ case 83:
903
+ return "SPACE";
904
+ case 84:
905
+ return "EOL";
906
+ case 85:
907
+ return 14;
908
+ }
909
+ }, "anonymous"),
910
+ 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]+)/, /^(?:$)/],
911
+ 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 } }
912
+ };
913
+ return lexer2;
914
+ }();
915
+ parser2.lexer = lexer;
916
+ function Parser() {
917
+ this.yy = {};
918
+ }
919
+ chunkY2CYZVJY.__name(Parser, "Parser");
920
+ Parser.prototype = parser2;
921
+ parser2.Parser = Parser;
922
+ return new Parser();
923
+ }();
924
+ parser.parser = parser;
925
+ var c4Diagram_default = parser;
926
+ var c4ShapeArray = [];
927
+ var boundaryParseStack = [""];
928
+ var currentBoundaryParse = "global";
929
+ var parentBoundaryParse = "";
930
+ var boundaries = [
931
+ {
932
+ alias: "global",
933
+ label: { text: "global" },
934
+ type: { text: "global" },
935
+ tags: null,
936
+ link: null,
937
+ parentBoundary: ""
938
+ }
939
+ ];
940
+ var rels = [];
941
+ var title = "";
942
+ var wrapEnabled = false;
943
+ var c4ShapeInRow = 4;
944
+ var c4BoundaryInRow = 2;
945
+ var c4Type;
946
+ var getC4Type = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
947
+ return c4Type;
948
+ }, "getC4Type");
949
+ var setC4Type = /* @__PURE__ */ chunkY2CYZVJY.__name(function(c4TypeParam) {
950
+ let sanitizedText = chunkWYO6CB5R.sanitizeText(c4TypeParam, chunkWYO6CB5R.getConfig2());
951
+ c4Type = sanitizedText;
952
+ }, "setC4Type");
953
+ var addRel = /* @__PURE__ */ chunkY2CYZVJY.__name(function(type, from, to, label, techn, descr, sprite, tags, link) {
954
+ if (type === void 0 || type === null || from === void 0 || from === null || to === void 0 || to === null || label === void 0 || label === null) {
955
+ return;
956
+ }
957
+ let rel = {};
958
+ const old = rels.find((rel2) => rel2.from === from && rel2.to === to);
959
+ if (old) {
960
+ rel = old;
961
+ } else {
962
+ rels.push(rel);
963
+ }
964
+ rel.type = type;
965
+ rel.from = from;
966
+ rel.to = to;
967
+ rel.label = { text: label };
968
+ if (techn === void 0 || techn === null) {
969
+ rel.techn = { text: "" };
970
+ } else {
971
+ if (typeof techn === "object") {
972
+ let [key, value] = Object.entries(techn)[0];
973
+ rel[key] = { text: value };
974
+ } else {
975
+ rel.techn = { text: techn };
976
+ }
977
+ }
978
+ if (descr === void 0 || descr === null) {
979
+ rel.descr = { text: "" };
980
+ } else {
981
+ if (typeof descr === "object") {
982
+ let [key, value] = Object.entries(descr)[0];
983
+ rel[key] = { text: value };
984
+ } else {
985
+ rel.descr = { text: descr };
986
+ }
987
+ }
988
+ if (typeof sprite === "object") {
989
+ let [key, value] = Object.entries(sprite)[0];
990
+ rel[key] = value;
991
+ } else {
992
+ rel.sprite = sprite;
993
+ }
994
+ if (typeof tags === "object") {
995
+ let [key, value] = Object.entries(tags)[0];
996
+ rel[key] = value;
997
+ } else {
998
+ rel.tags = tags;
999
+ }
1000
+ if (typeof link === "object") {
1001
+ let [key, value] = Object.entries(link)[0];
1002
+ rel[key] = value;
1003
+ } else {
1004
+ rel.link = link;
1005
+ }
1006
+ rel.wrap = autoWrap();
1007
+ }, "addRel");
1008
+ var addPersonOrSystem = /* @__PURE__ */ chunkY2CYZVJY.__name(function(typeC4Shape, alias, label, descr, sprite, tags, link) {
1009
+ if (alias === null || label === null) {
1010
+ return;
1011
+ }
1012
+ let personOrSystem = {};
1013
+ const old = c4ShapeArray.find((personOrSystem2) => personOrSystem2.alias === alias);
1014
+ if (old && alias === old.alias) {
1015
+ personOrSystem = old;
1016
+ } else {
1017
+ personOrSystem.alias = alias;
1018
+ c4ShapeArray.push(personOrSystem);
1019
+ }
1020
+ if (label === void 0 || label === null) {
1021
+ personOrSystem.label = { text: "" };
1022
+ } else {
1023
+ personOrSystem.label = { text: label };
1024
+ }
1025
+ if (descr === void 0 || descr === null) {
1026
+ personOrSystem.descr = { text: "" };
1027
+ } else {
1028
+ if (typeof descr === "object") {
1029
+ let [key, value] = Object.entries(descr)[0];
1030
+ personOrSystem[key] = { text: value };
1031
+ } else {
1032
+ personOrSystem.descr = { text: descr };
1033
+ }
1034
+ }
1035
+ if (typeof sprite === "object") {
1036
+ let [key, value] = Object.entries(sprite)[0];
1037
+ personOrSystem[key] = value;
1038
+ } else {
1039
+ personOrSystem.sprite = sprite;
1040
+ }
1041
+ if (typeof tags === "object") {
1042
+ let [key, value] = Object.entries(tags)[0];
1043
+ personOrSystem[key] = value;
1044
+ } else {
1045
+ personOrSystem.tags = tags;
1046
+ }
1047
+ if (typeof link === "object") {
1048
+ let [key, value] = Object.entries(link)[0];
1049
+ personOrSystem[key] = value;
1050
+ } else {
1051
+ personOrSystem.link = link;
1052
+ }
1053
+ personOrSystem.typeC4Shape = { text: typeC4Shape };
1054
+ personOrSystem.parentBoundary = currentBoundaryParse;
1055
+ personOrSystem.wrap = autoWrap();
1056
+ }, "addPersonOrSystem");
1057
+ var addContainer = /* @__PURE__ */ chunkY2CYZVJY.__name(function(typeC4Shape, alias, label, techn, descr, sprite, tags, link) {
1058
+ if (alias === null || label === null) {
1059
+ return;
1060
+ }
1061
+ let container = {};
1062
+ const old = c4ShapeArray.find((container2) => container2.alias === alias);
1063
+ if (old && alias === old.alias) {
1064
+ container = old;
1065
+ } else {
1066
+ container.alias = alias;
1067
+ c4ShapeArray.push(container);
1068
+ }
1069
+ if (label === void 0 || label === null) {
1070
+ container.label = { text: "" };
1071
+ } else {
1072
+ container.label = { text: label };
1073
+ }
1074
+ if (techn === void 0 || techn === null) {
1075
+ container.techn = { text: "" };
1076
+ } else {
1077
+ if (typeof techn === "object") {
1078
+ let [key, value] = Object.entries(techn)[0];
1079
+ container[key] = { text: value };
1080
+ } else {
1081
+ container.techn = { text: techn };
1082
+ }
1083
+ }
1084
+ if (descr === void 0 || descr === null) {
1085
+ container.descr = { text: "" };
1086
+ } else {
1087
+ if (typeof descr === "object") {
1088
+ let [key, value] = Object.entries(descr)[0];
1089
+ container[key] = { text: value };
1090
+ } else {
1091
+ container.descr = { text: descr };
1092
+ }
1093
+ }
1094
+ if (typeof sprite === "object") {
1095
+ let [key, value] = Object.entries(sprite)[0];
1096
+ container[key] = value;
1097
+ } else {
1098
+ container.sprite = sprite;
1099
+ }
1100
+ if (typeof tags === "object") {
1101
+ let [key, value] = Object.entries(tags)[0];
1102
+ container[key] = value;
1103
+ } else {
1104
+ container.tags = tags;
1105
+ }
1106
+ if (typeof link === "object") {
1107
+ let [key, value] = Object.entries(link)[0];
1108
+ container[key] = value;
1109
+ } else {
1110
+ container.link = link;
1111
+ }
1112
+ container.wrap = autoWrap();
1113
+ container.typeC4Shape = { text: typeC4Shape };
1114
+ container.parentBoundary = currentBoundaryParse;
1115
+ }, "addContainer");
1116
+ var addComponent = /* @__PURE__ */ chunkY2CYZVJY.__name(function(typeC4Shape, alias, label, techn, descr, sprite, tags, link) {
1117
+ if (alias === null || label === null) {
1118
+ return;
1119
+ }
1120
+ let component = {};
1121
+ const old = c4ShapeArray.find((component2) => component2.alias === alias);
1122
+ if (old && alias === old.alias) {
1123
+ component = old;
1124
+ } else {
1125
+ component.alias = alias;
1126
+ c4ShapeArray.push(component);
1127
+ }
1128
+ if (label === void 0 || label === null) {
1129
+ component.label = { text: "" };
1130
+ } else {
1131
+ component.label = { text: label };
1132
+ }
1133
+ if (techn === void 0 || techn === null) {
1134
+ component.techn = { text: "" };
1135
+ } else {
1136
+ if (typeof techn === "object") {
1137
+ let [key, value] = Object.entries(techn)[0];
1138
+ component[key] = { text: value };
1139
+ } else {
1140
+ component.techn = { text: techn };
1141
+ }
1142
+ }
1143
+ if (descr === void 0 || descr === null) {
1144
+ component.descr = { text: "" };
1145
+ } else {
1146
+ if (typeof descr === "object") {
1147
+ let [key, value] = Object.entries(descr)[0];
1148
+ component[key] = { text: value };
1149
+ } else {
1150
+ component.descr = { text: descr };
1151
+ }
1152
+ }
1153
+ if (typeof sprite === "object") {
1154
+ let [key, value] = Object.entries(sprite)[0];
1155
+ component[key] = value;
1156
+ } else {
1157
+ component.sprite = sprite;
1158
+ }
1159
+ if (typeof tags === "object") {
1160
+ let [key, value] = Object.entries(tags)[0];
1161
+ component[key] = value;
1162
+ } else {
1163
+ component.tags = tags;
1164
+ }
1165
+ if (typeof link === "object") {
1166
+ let [key, value] = Object.entries(link)[0];
1167
+ component[key] = value;
1168
+ } else {
1169
+ component.link = link;
1170
+ }
1171
+ component.wrap = autoWrap();
1172
+ component.typeC4Shape = { text: typeC4Shape };
1173
+ component.parentBoundary = currentBoundaryParse;
1174
+ }, "addComponent");
1175
+ var addPersonOrSystemBoundary = /* @__PURE__ */ chunkY2CYZVJY.__name(function(alias, label, type, tags, link) {
1176
+ if (alias === null || label === null) {
1177
+ return;
1178
+ }
1179
+ let boundary = {};
1180
+ const old = boundaries.find((boundary2) => boundary2.alias === alias);
1181
+ if (old && alias === old.alias) {
1182
+ boundary = old;
1183
+ } else {
1184
+ boundary.alias = alias;
1185
+ boundaries.push(boundary);
1186
+ }
1187
+ if (label === void 0 || label === null) {
1188
+ boundary.label = { text: "" };
1189
+ } else {
1190
+ boundary.label = { text: label };
1191
+ }
1192
+ if (type === void 0 || type === null) {
1193
+ boundary.type = { text: "system" };
1194
+ } else {
1195
+ if (typeof type === "object") {
1196
+ let [key, value] = Object.entries(type)[0];
1197
+ boundary[key] = { text: value };
1198
+ } else {
1199
+ boundary.type = { text: type };
1200
+ }
1201
+ }
1202
+ if (typeof tags === "object") {
1203
+ let [key, value] = Object.entries(tags)[0];
1204
+ boundary[key] = value;
1205
+ } else {
1206
+ boundary.tags = tags;
1207
+ }
1208
+ if (typeof link === "object") {
1209
+ let [key, value] = Object.entries(link)[0];
1210
+ boundary[key] = value;
1211
+ } else {
1212
+ boundary.link = link;
1213
+ }
1214
+ boundary.parentBoundary = currentBoundaryParse;
1215
+ boundary.wrap = autoWrap();
1216
+ parentBoundaryParse = currentBoundaryParse;
1217
+ currentBoundaryParse = alias;
1218
+ boundaryParseStack.push(parentBoundaryParse);
1219
+ }, "addPersonOrSystemBoundary");
1220
+ var addContainerBoundary = /* @__PURE__ */ chunkY2CYZVJY.__name(function(alias, label, type, tags, link) {
1221
+ if (alias === null || label === null) {
1222
+ return;
1223
+ }
1224
+ let boundary = {};
1225
+ const old = boundaries.find((boundary2) => boundary2.alias === alias);
1226
+ if (old && alias === old.alias) {
1227
+ boundary = old;
1228
+ } else {
1229
+ boundary.alias = alias;
1230
+ boundaries.push(boundary);
1231
+ }
1232
+ if (label === void 0 || label === null) {
1233
+ boundary.label = { text: "" };
1234
+ } else {
1235
+ boundary.label = { text: label };
1236
+ }
1237
+ if (type === void 0 || type === null) {
1238
+ boundary.type = { text: "container" };
1239
+ } else {
1240
+ if (typeof type === "object") {
1241
+ let [key, value] = Object.entries(type)[0];
1242
+ boundary[key] = { text: value };
1243
+ } else {
1244
+ boundary.type = { text: type };
1245
+ }
1246
+ }
1247
+ if (typeof tags === "object") {
1248
+ let [key, value] = Object.entries(tags)[0];
1249
+ boundary[key] = value;
1250
+ } else {
1251
+ boundary.tags = tags;
1252
+ }
1253
+ if (typeof link === "object") {
1254
+ let [key, value] = Object.entries(link)[0];
1255
+ boundary[key] = value;
1256
+ } else {
1257
+ boundary.link = link;
1258
+ }
1259
+ boundary.parentBoundary = currentBoundaryParse;
1260
+ boundary.wrap = autoWrap();
1261
+ parentBoundaryParse = currentBoundaryParse;
1262
+ currentBoundaryParse = alias;
1263
+ boundaryParseStack.push(parentBoundaryParse);
1264
+ }, "addContainerBoundary");
1265
+ var addDeploymentNode = /* @__PURE__ */ chunkY2CYZVJY.__name(function(nodeType, alias, label, type, descr, sprite, tags, link) {
1266
+ if (alias === null || label === null) {
1267
+ return;
1268
+ }
1269
+ let boundary = {};
1270
+ const old = boundaries.find((boundary2) => boundary2.alias === alias);
1271
+ if (old && alias === old.alias) {
1272
+ boundary = old;
1273
+ } else {
1274
+ boundary.alias = alias;
1275
+ boundaries.push(boundary);
1276
+ }
1277
+ if (label === void 0 || label === null) {
1278
+ boundary.label = { text: "" };
1279
+ } else {
1280
+ boundary.label = { text: label };
1281
+ }
1282
+ if (type === void 0 || type === null) {
1283
+ boundary.type = { text: "node" };
1284
+ } else {
1285
+ if (typeof type === "object") {
1286
+ let [key, value] = Object.entries(type)[0];
1287
+ boundary[key] = { text: value };
1288
+ } else {
1289
+ boundary.type = { text: type };
1290
+ }
1291
+ }
1292
+ if (descr === void 0 || descr === null) {
1293
+ boundary.descr = { text: "" };
1294
+ } else {
1295
+ if (typeof descr === "object") {
1296
+ let [key, value] = Object.entries(descr)[0];
1297
+ boundary[key] = { text: value };
1298
+ } else {
1299
+ boundary.descr = { text: descr };
1300
+ }
1301
+ }
1302
+ if (typeof tags === "object") {
1303
+ let [key, value] = Object.entries(tags)[0];
1304
+ boundary[key] = value;
1305
+ } else {
1306
+ boundary.tags = tags;
1307
+ }
1308
+ if (typeof link === "object") {
1309
+ let [key, value] = Object.entries(link)[0];
1310
+ boundary[key] = value;
1311
+ } else {
1312
+ boundary.link = link;
1313
+ }
1314
+ boundary.nodeType = nodeType;
1315
+ boundary.parentBoundary = currentBoundaryParse;
1316
+ boundary.wrap = autoWrap();
1317
+ parentBoundaryParse = currentBoundaryParse;
1318
+ currentBoundaryParse = alias;
1319
+ boundaryParseStack.push(parentBoundaryParse);
1320
+ }, "addDeploymentNode");
1321
+ var popBoundaryParseStack = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1322
+ currentBoundaryParse = parentBoundaryParse;
1323
+ boundaryParseStack.pop();
1324
+ parentBoundaryParse = boundaryParseStack.pop();
1325
+ boundaryParseStack.push(parentBoundaryParse);
1326
+ }, "popBoundaryParseStack");
1327
+ var updateElStyle = /* @__PURE__ */ chunkY2CYZVJY.__name(function(typeC4Shape, elementName, bgColor, fontColor, borderColor, shadowing, shape, sprite, techn, legendText, legendSprite) {
1328
+ let old = c4ShapeArray.find((element) => element.alias === elementName);
1329
+ if (old === void 0) {
1330
+ old = boundaries.find((element) => element.alias === elementName);
1331
+ if (old === void 0) {
1332
+ return;
1333
+ }
1334
+ }
1335
+ if (bgColor !== void 0 && bgColor !== null) {
1336
+ if (typeof bgColor === "object") {
1337
+ let [key, value] = Object.entries(bgColor)[0];
1338
+ old[key] = value;
1339
+ } else {
1340
+ old.bgColor = bgColor;
1341
+ }
1342
+ }
1343
+ if (fontColor !== void 0 && fontColor !== null) {
1344
+ if (typeof fontColor === "object") {
1345
+ let [key, value] = Object.entries(fontColor)[0];
1346
+ old[key] = value;
1347
+ } else {
1348
+ old.fontColor = fontColor;
1349
+ }
1350
+ }
1351
+ if (borderColor !== void 0 && borderColor !== null) {
1352
+ if (typeof borderColor === "object") {
1353
+ let [key, value] = Object.entries(borderColor)[0];
1354
+ old[key] = value;
1355
+ } else {
1356
+ old.borderColor = borderColor;
1357
+ }
1358
+ }
1359
+ if (shadowing !== void 0 && shadowing !== null) {
1360
+ if (typeof shadowing === "object") {
1361
+ let [key, value] = Object.entries(shadowing)[0];
1362
+ old[key] = value;
1363
+ } else {
1364
+ old.shadowing = shadowing;
1365
+ }
1366
+ }
1367
+ if (shape !== void 0 && shape !== null) {
1368
+ if (typeof shape === "object") {
1369
+ let [key, value] = Object.entries(shape)[0];
1370
+ old[key] = value;
1371
+ } else {
1372
+ old.shape = shape;
1373
+ }
1374
+ }
1375
+ if (sprite !== void 0 && sprite !== null) {
1376
+ if (typeof sprite === "object") {
1377
+ let [key, value] = Object.entries(sprite)[0];
1378
+ old[key] = value;
1379
+ } else {
1380
+ old.sprite = sprite;
1381
+ }
1382
+ }
1383
+ if (techn !== void 0 && techn !== null) {
1384
+ if (typeof techn === "object") {
1385
+ let [key, value] = Object.entries(techn)[0];
1386
+ old[key] = value;
1387
+ } else {
1388
+ old.techn = techn;
1389
+ }
1390
+ }
1391
+ if (legendText !== void 0 && legendText !== null) {
1392
+ if (typeof legendText === "object") {
1393
+ let [key, value] = Object.entries(legendText)[0];
1394
+ old[key] = value;
1395
+ } else {
1396
+ old.legendText = legendText;
1397
+ }
1398
+ }
1399
+ if (legendSprite !== void 0 && legendSprite !== null) {
1400
+ if (typeof legendSprite === "object") {
1401
+ let [key, value] = Object.entries(legendSprite)[0];
1402
+ old[key] = value;
1403
+ } else {
1404
+ old.legendSprite = legendSprite;
1405
+ }
1406
+ }
1407
+ }, "updateElStyle");
1408
+ var updateRelStyle = /* @__PURE__ */ chunkY2CYZVJY.__name(function(typeC4Shape, from, to, textColor, lineColor, offsetX, offsetY) {
1409
+ const old = rels.find((rel) => rel.from === from && rel.to === to);
1410
+ if (old === void 0) {
1411
+ return;
1412
+ }
1413
+ if (textColor !== void 0 && textColor !== null) {
1414
+ if (typeof textColor === "object") {
1415
+ let [key, value] = Object.entries(textColor)[0];
1416
+ old[key] = value;
1417
+ } else {
1418
+ old.textColor = textColor;
1419
+ }
1420
+ }
1421
+ if (lineColor !== void 0 && lineColor !== null) {
1422
+ if (typeof lineColor === "object") {
1423
+ let [key, value] = Object.entries(lineColor)[0];
1424
+ old[key] = value;
1425
+ } else {
1426
+ old.lineColor = lineColor;
1427
+ }
1428
+ }
1429
+ if (offsetX !== void 0 && offsetX !== null) {
1430
+ if (typeof offsetX === "object") {
1431
+ let [key, value] = Object.entries(offsetX)[0];
1432
+ old[key] = parseInt(value);
1433
+ } else {
1434
+ old.offsetX = parseInt(offsetX);
1435
+ }
1436
+ }
1437
+ if (offsetY !== void 0 && offsetY !== null) {
1438
+ if (typeof offsetY === "object") {
1439
+ let [key, value] = Object.entries(offsetY)[0];
1440
+ old[key] = parseInt(value);
1441
+ } else {
1442
+ old.offsetY = parseInt(offsetY);
1443
+ }
1444
+ }
1445
+ }, "updateRelStyle");
1446
+ var updateLayoutConfig = /* @__PURE__ */ chunkY2CYZVJY.__name(function(typeC4Shape, c4ShapeInRowParam, c4BoundaryInRowParam) {
1447
+ let c4ShapeInRowValue = c4ShapeInRow;
1448
+ let c4BoundaryInRowValue = c4BoundaryInRow;
1449
+ if (typeof c4ShapeInRowParam === "object") {
1450
+ const value = Object.values(c4ShapeInRowParam)[0];
1451
+ c4ShapeInRowValue = parseInt(value);
1452
+ } else {
1453
+ c4ShapeInRowValue = parseInt(c4ShapeInRowParam);
1454
+ }
1455
+ if (typeof c4BoundaryInRowParam === "object") {
1456
+ const value = Object.values(c4BoundaryInRowParam)[0];
1457
+ c4BoundaryInRowValue = parseInt(value);
1458
+ } else {
1459
+ c4BoundaryInRowValue = parseInt(c4BoundaryInRowParam);
1460
+ }
1461
+ if (c4ShapeInRowValue >= 1) {
1462
+ c4ShapeInRow = c4ShapeInRowValue;
1463
+ }
1464
+ if (c4BoundaryInRowValue >= 1) {
1465
+ c4BoundaryInRow = c4BoundaryInRowValue;
1466
+ }
1467
+ }, "updateLayoutConfig");
1468
+ var getC4ShapeInRow = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1469
+ return c4ShapeInRow;
1470
+ }, "getC4ShapeInRow");
1471
+ var getC4BoundaryInRow = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1472
+ return c4BoundaryInRow;
1473
+ }, "getC4BoundaryInRow");
1474
+ var getCurrentBoundaryParse = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1475
+ return currentBoundaryParse;
1476
+ }, "getCurrentBoundaryParse");
1477
+ var getParentBoundaryParse = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1478
+ return parentBoundaryParse;
1479
+ }, "getParentBoundaryParse");
1480
+ var getC4ShapeArray = /* @__PURE__ */ chunkY2CYZVJY.__name(function(parentBoundary) {
1481
+ if (parentBoundary === void 0 || parentBoundary === null) {
1482
+ return c4ShapeArray;
1483
+ } else {
1484
+ return c4ShapeArray.filter((personOrSystem) => {
1485
+ return personOrSystem.parentBoundary === parentBoundary;
1486
+ });
1487
+ }
1488
+ }, "getC4ShapeArray");
1489
+ var getC4Shape = /* @__PURE__ */ chunkY2CYZVJY.__name(function(alias) {
1490
+ return c4ShapeArray.find((personOrSystem) => personOrSystem.alias === alias);
1491
+ }, "getC4Shape");
1492
+ var getC4ShapeKeys = /* @__PURE__ */ chunkY2CYZVJY.__name(function(parentBoundary) {
1493
+ return Object.keys(getC4ShapeArray(parentBoundary));
1494
+ }, "getC4ShapeKeys");
1495
+ var getBoundaries = /* @__PURE__ */ chunkY2CYZVJY.__name(function(parentBoundary) {
1496
+ if (parentBoundary === void 0 || parentBoundary === null) {
1497
+ return boundaries;
1498
+ } else {
1499
+ return boundaries.filter((boundary) => boundary.parentBoundary === parentBoundary);
1500
+ }
1501
+ }, "getBoundaries");
1502
+ var getBoundarys = getBoundaries;
1503
+ var getRels = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1504
+ return rels;
1505
+ }, "getRels");
1506
+ var getTitle = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1507
+ return title;
1508
+ }, "getTitle");
1509
+ var setWrap = /* @__PURE__ */ chunkY2CYZVJY.__name(function(wrapSetting) {
1510
+ wrapEnabled = wrapSetting;
1511
+ }, "setWrap");
1512
+ var autoWrap = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1513
+ return wrapEnabled;
1514
+ }, "autoWrap");
1515
+ var clear = /* @__PURE__ */ chunkY2CYZVJY.__name(function() {
1516
+ c4ShapeArray = [];
1517
+ boundaries = [
1518
+ {
1519
+ alias: "global",
1520
+ label: { text: "global" },
1521
+ type: { text: "global" },
1522
+ tags: null,
1523
+ link: null,
1524
+ parentBoundary: ""
1525
+ }
1526
+ ];
1527
+ parentBoundaryParse = "";
1528
+ currentBoundaryParse = "global";
1529
+ boundaryParseStack = [""];
1530
+ rels = [];
1531
+ boundaryParseStack = [""];
1532
+ title = "";
1533
+ wrapEnabled = false;
1534
+ c4ShapeInRow = 4;
1535
+ c4BoundaryInRow = 2;
1536
+ }, "clear");
1537
+ var LINETYPE = {
1538
+ SOLID: 0,
1539
+ DOTTED: 1,
1540
+ NOTE: 2,
1541
+ SOLID_CROSS: 3,
1542
+ DOTTED_CROSS: 4,
1543
+ SOLID_OPEN: 5,
1544
+ DOTTED_OPEN: 6,
1545
+ LOOP_START: 10,
1546
+ LOOP_END: 11,
1547
+ ALT_START: 12,
1548
+ ALT_ELSE: 13,
1549
+ ALT_END: 14,
1550
+ OPT_START: 15,
1551
+ OPT_END: 16,
1552
+ ACTIVE_START: 17,
1553
+ ACTIVE_END: 18,
1554
+ PAR_START: 19,
1555
+ PAR_AND: 20,
1556
+ PAR_END: 21,
1557
+ RECT_START: 22,
1558
+ RECT_END: 23,
1559
+ SOLID_POINT: 24,
1560
+ DOTTED_POINT: 25
1561
+ };
1562
+ var ARROWTYPE = {
1563
+ FILLED: 0,
1564
+ OPEN: 1
1565
+ };
1566
+ var PLACEMENT = {
1567
+ LEFTOF: 0,
1568
+ RIGHTOF: 1,
1569
+ OVER: 2
1570
+ };
1571
+ var setTitle = /* @__PURE__ */ chunkY2CYZVJY.__name(function(txt) {
1572
+ let sanitizedText = chunkWYO6CB5R.sanitizeText(txt, chunkWYO6CB5R.getConfig2());
1573
+ title = sanitizedText;
1574
+ }, "setTitle");
1575
+ var c4Db_default = {
1576
+ addPersonOrSystem,
1577
+ addPersonOrSystemBoundary,
1578
+ addContainer,
1579
+ addContainerBoundary,
1580
+ addComponent,
1581
+ addDeploymentNode,
1582
+ popBoundaryParseStack,
1583
+ addRel,
1584
+ updateElStyle,
1585
+ updateRelStyle,
1586
+ updateLayoutConfig,
1587
+ autoWrap,
1588
+ setWrap,
1589
+ getC4ShapeArray,
1590
+ getC4Shape,
1591
+ getC4ShapeKeys,
1592
+ getBoundaries,
1593
+ getBoundarys,
1594
+ getCurrentBoundaryParse,
1595
+ getParentBoundaryParse,
1596
+ getRels,
1597
+ getTitle,
1598
+ getC4Type,
1599
+ getC4ShapeInRow,
1600
+ getC4BoundaryInRow,
1601
+ setAccTitle: chunkWYO6CB5R.setAccTitle,
1602
+ getAccTitle: chunkWYO6CB5R.getAccTitle,
1603
+ getAccDescription: chunkWYO6CB5R.getAccDescription,
1604
+ setAccDescription: chunkWYO6CB5R.setAccDescription,
1605
+ getConfig: /* @__PURE__ */ chunkY2CYZVJY.__name(() => chunkWYO6CB5R.getConfig2().c4, "getConfig"),
1606
+ clear,
1607
+ LINETYPE,
1608
+ ARROWTYPE,
1609
+ PLACEMENT,
1610
+ setTitle,
1611
+ setC4Type
1612
+ // apply,
1613
+ };
1614
+ var drawRect2 = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, rectData) {
1615
+ return chunk32BRIVSS.drawRect(elem, rectData);
1616
+ }, "drawRect");
1617
+ var drawImage = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, width, height, x, y, link) {
1618
+ const imageElem = elem.append("image");
1619
+ imageElem.attr("width", width);
1620
+ imageElem.attr("height", height);
1621
+ imageElem.attr("x", x);
1622
+ imageElem.attr("y", y);
1623
+ let sanitizedLink = link.startsWith("data:image/png;base64") ? link : index.distExports.sanitizeUrl(link);
1624
+ imageElem.attr("xlink:href", sanitizedLink);
1625
+ }, "drawImage");
1626
+ var drawRels = /* @__PURE__ */ chunkY2CYZVJY.__name((elem, rels2, conf2, diagramId) => {
1627
+ const relsElem = elem.append("g");
1628
+ let i = 0;
1629
+ for (let rel of rels2) {
1630
+ let textColor = rel.textColor ? rel.textColor : "#444444";
1631
+ let strokeColor = rel.lineColor ? rel.lineColor : "#444444";
1632
+ let offsetX = rel.offsetX ? parseInt(rel.offsetX) : 0;
1633
+ let offsetY = rel.offsetY ? parseInt(rel.offsetY) : 0;
1634
+ let url = "";
1635
+ if (i === 0) {
1636
+ let line = relsElem.append("line");
1637
+ line.attr("x1", rel.startPoint.x);
1638
+ line.attr("y1", rel.startPoint.y);
1639
+ line.attr("x2", rel.endPoint.x);
1640
+ line.attr("y2", rel.endPoint.y);
1641
+ line.attr("stroke-width", "1");
1642
+ line.attr("stroke", strokeColor);
1643
+ line.style("fill", "none");
1644
+ if (rel.type !== "rel_b") {
1645
+ line.attr("marker-end", "url(" + url + "#" + diagramId + "-arrowhead)");
1646
+ }
1647
+ if (rel.type === "birel" || rel.type === "rel_b") {
1648
+ line.attr("marker-start", "url(" + url + "#" + diagramId + "-arrowend)");
1649
+ }
1650
+ i = -1;
1651
+ } else {
1652
+ let line = relsElem.append("path");
1653
+ line.attr("fill", "none").attr("stroke-width", "1").attr("stroke", strokeColor).attr(
1654
+ "d",
1655
+ "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", rel.startPoint.x).replaceAll("starty", rel.startPoint.y).replaceAll(
1656
+ "controlx",
1657
+ rel.startPoint.x + (rel.endPoint.x - rel.startPoint.x) / 2 - (rel.endPoint.x - rel.startPoint.x) / 4
1658
+ ).replaceAll("controly", rel.startPoint.y + (rel.endPoint.y - rel.startPoint.y) / 2).replaceAll("stopx", rel.endPoint.x).replaceAll("stopy", rel.endPoint.y)
1659
+ );
1660
+ if (rel.type !== "rel_b") {
1661
+ line.attr("marker-end", "url(" + url + "#" + diagramId + "-arrowhead)");
1662
+ }
1663
+ if (rel.type === "birel" || rel.type === "rel_b") {
1664
+ line.attr("marker-start", "url(" + url + "#" + diagramId + "-arrowend)");
1665
+ }
1666
+ }
1667
+ let messageConf = conf2.messageFont();
1668
+ _drawTextCandidateFunc(conf2)(
1669
+ rel.label.text,
1670
+ relsElem,
1671
+ Math.min(rel.startPoint.x, rel.endPoint.x) + Math.abs(rel.endPoint.x - rel.startPoint.x) / 2 + offsetX,
1672
+ Math.min(rel.startPoint.y, rel.endPoint.y) + Math.abs(rel.endPoint.y - rel.startPoint.y) / 2 + offsetY,
1673
+ rel.label.width,
1674
+ rel.label.height,
1675
+ { fill: textColor },
1676
+ messageConf
1677
+ );
1678
+ if (rel.techn && rel.techn.text !== "") {
1679
+ messageConf = conf2.messageFont();
1680
+ _drawTextCandidateFunc(conf2)(
1681
+ "[" + rel.techn.text + "]",
1682
+ relsElem,
1683
+ Math.min(rel.startPoint.x, rel.endPoint.x) + Math.abs(rel.endPoint.x - rel.startPoint.x) / 2 + offsetX,
1684
+ Math.min(rel.startPoint.y, rel.endPoint.y) + Math.abs(rel.endPoint.y - rel.startPoint.y) / 2 + conf2.messageFontSize + 5 + offsetY,
1685
+ Math.max(rel.label.width, rel.techn.width),
1686
+ rel.techn.height,
1687
+ { fill: textColor, "font-style": "italic" },
1688
+ messageConf
1689
+ );
1690
+ }
1691
+ }
1692
+ }, "drawRels");
1693
+ var drawBoundary = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, boundary, conf2) {
1694
+ const boundaryElem = elem.append("g");
1695
+ let fillColor = boundary.bgColor ? boundary.bgColor : "none";
1696
+ let strokeColor = boundary.borderColor ? boundary.borderColor : "#444444";
1697
+ let fontColor = boundary.fontColor ? boundary.fontColor : "black";
1698
+ let attrsValue = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1699
+ if (boundary.nodeType) {
1700
+ attrsValue = { "stroke-width": 1 };
1701
+ }
1702
+ let rectData = {
1703
+ x: boundary.x,
1704
+ y: boundary.y,
1705
+ fill: fillColor,
1706
+ stroke: strokeColor,
1707
+ width: boundary.width,
1708
+ height: boundary.height,
1709
+ rx: 2.5,
1710
+ ry: 2.5,
1711
+ attrs: attrsValue
1712
+ };
1713
+ drawRect2(boundaryElem, rectData);
1714
+ let boundaryConf = conf2.boundaryFont();
1715
+ boundaryConf.fontWeight = "bold";
1716
+ boundaryConf.fontSize = boundaryConf.fontSize + 2;
1717
+ boundaryConf.fontColor = fontColor;
1718
+ _drawTextCandidateFunc(conf2)(
1719
+ boundary.label.text,
1720
+ boundaryElem,
1721
+ boundary.x,
1722
+ boundary.y + boundary.label.Y,
1723
+ boundary.width,
1724
+ boundary.height,
1725
+ { fill: "#444444" },
1726
+ boundaryConf
1727
+ );
1728
+ if (boundary.type && boundary.type.text !== "") {
1729
+ boundaryConf = conf2.boundaryFont();
1730
+ boundaryConf.fontColor = fontColor;
1731
+ _drawTextCandidateFunc(conf2)(
1732
+ boundary.type.text,
1733
+ boundaryElem,
1734
+ boundary.x,
1735
+ boundary.y + boundary.type.Y,
1736
+ boundary.width,
1737
+ boundary.height,
1738
+ { fill: "#444444" },
1739
+ boundaryConf
1740
+ );
1741
+ }
1742
+ if (boundary.descr && boundary.descr.text !== "") {
1743
+ boundaryConf = conf2.boundaryFont();
1744
+ boundaryConf.fontSize = boundaryConf.fontSize - 2;
1745
+ boundaryConf.fontColor = fontColor;
1746
+ _drawTextCandidateFunc(conf2)(
1747
+ boundary.descr.text,
1748
+ boundaryElem,
1749
+ boundary.x,
1750
+ boundary.y + boundary.descr.Y,
1751
+ boundary.width,
1752
+ boundary.height,
1753
+ { fill: "#444444" },
1754
+ boundaryConf
1755
+ );
1756
+ }
1757
+ }, "drawBoundary");
1758
+ var drawC4Shape = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, c4Shape, conf2) {
1759
+ var _a2;
1760
+ let fillColor = c4Shape.bgColor ? c4Shape.bgColor : conf2[c4Shape.typeC4Shape.text + "_bg_color"];
1761
+ let strokeColor = c4Shape.borderColor ? c4Shape.borderColor : conf2[c4Shape.typeC4Shape.text + "_border_color"];
1762
+ let fontColor = c4Shape.fontColor ? c4Shape.fontColor : "#FFFFFF";
1763
+ let personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1764
+ switch (c4Shape.typeC4Shape.text) {
1765
+ case "person":
1766
+ personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1767
+ break;
1768
+ case "external_person":
1769
+ personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1770
+ break;
1771
+ }
1772
+ const c4ShapeElem = elem.append("g");
1773
+ c4ShapeElem.attr("class", "person-man");
1774
+ const rect = chunk32BRIVSS.getNoteRect();
1775
+ switch (c4Shape.typeC4Shape.text) {
1776
+ case "person":
1777
+ case "external_person":
1778
+ case "system":
1779
+ case "external_system":
1780
+ case "container":
1781
+ case "external_container":
1782
+ case "component":
1783
+ case "external_component":
1784
+ rect.x = c4Shape.x;
1785
+ rect.y = c4Shape.y;
1786
+ rect.fill = fillColor;
1787
+ rect.width = c4Shape.width;
1788
+ rect.height = c4Shape.height;
1789
+ rect.stroke = strokeColor;
1790
+ rect.rx = 2.5;
1791
+ rect.ry = 2.5;
1792
+ rect.attrs = { "stroke-width": 0.5 };
1793
+ drawRect2(c4ShapeElem, rect);
1794
+ break;
1795
+ case "system_db":
1796
+ case "external_system_db":
1797
+ case "container_db":
1798
+ case "external_container_db":
1799
+ case "component_db":
1800
+ case "external_component_db":
1801
+ c4ShapeElem.append("path").attr("fill", fillColor).attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1802
+ "d",
1803
+ "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)
1804
+ );
1805
+ c4ShapeElem.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1806
+ "d",
1807
+ "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)
1808
+ );
1809
+ break;
1810
+ case "system_queue":
1811
+ case "external_system_queue":
1812
+ case "container_queue":
1813
+ case "external_container_queue":
1814
+ case "component_queue":
1815
+ case "external_component_queue":
1816
+ c4ShapeElem.append("path").attr("fill", fillColor).attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1817
+ "d",
1818
+ "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)
1819
+ );
1820
+ c4ShapeElem.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1821
+ "d",
1822
+ "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)
1823
+ );
1824
+ break;
1825
+ }
1826
+ let c4ShapeFontConf = getC4ShapeFont(conf2, c4Shape.typeC4Shape.text);
1827
+ 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 + ">>");
1828
+ switch (c4Shape.typeC4Shape.text) {
1829
+ case "person":
1830
+ case "external_person":
1831
+ drawImage(
1832
+ c4ShapeElem,
1833
+ 48,
1834
+ 48,
1835
+ c4Shape.x + c4Shape.width / 2 - 24,
1836
+ c4Shape.y + c4Shape.image.Y,
1837
+ personImg
1838
+ );
1839
+ break;
1840
+ }
1841
+ let textFontConf = conf2[c4Shape.typeC4Shape.text + "Font"]();
1842
+ textFontConf.fontWeight = "bold";
1843
+ textFontConf.fontSize = textFontConf.fontSize + 2;
1844
+ textFontConf.fontColor = fontColor;
1845
+ _drawTextCandidateFunc(conf2)(
1846
+ c4Shape.label.text,
1847
+ c4ShapeElem,
1848
+ c4Shape.x,
1849
+ c4Shape.y + c4Shape.label.Y,
1850
+ c4Shape.width,
1851
+ c4Shape.height,
1852
+ { fill: fontColor },
1853
+ textFontConf
1854
+ );
1855
+ textFontConf = conf2[c4Shape.typeC4Shape.text + "Font"]();
1856
+ textFontConf.fontColor = fontColor;
1857
+ if (c4Shape.techn && ((_a2 = c4Shape.techn) == null ? void 0 : _a2.text) !== "") {
1858
+ _drawTextCandidateFunc(conf2)(
1859
+ c4Shape.techn.text,
1860
+ c4ShapeElem,
1861
+ c4Shape.x,
1862
+ c4Shape.y + c4Shape.techn.Y,
1863
+ c4Shape.width,
1864
+ c4Shape.height,
1865
+ { fill: fontColor, "font-style": "italic" },
1866
+ textFontConf
1867
+ );
1868
+ } else if (c4Shape.type && c4Shape.type.text !== "") {
1869
+ _drawTextCandidateFunc(conf2)(
1870
+ c4Shape.type.text,
1871
+ c4ShapeElem,
1872
+ c4Shape.x,
1873
+ c4Shape.y + c4Shape.type.Y,
1874
+ c4Shape.width,
1875
+ c4Shape.height,
1876
+ { fill: fontColor, "font-style": "italic" },
1877
+ textFontConf
1878
+ );
1879
+ }
1880
+ if (c4Shape.descr && c4Shape.descr.text !== "") {
1881
+ textFontConf = conf2.personFont();
1882
+ textFontConf.fontColor = fontColor;
1883
+ _drawTextCandidateFunc(conf2)(
1884
+ c4Shape.descr.text,
1885
+ c4ShapeElem,
1886
+ c4Shape.x,
1887
+ c4Shape.y + c4Shape.descr.Y,
1888
+ c4Shape.width,
1889
+ c4Shape.height,
1890
+ { fill: fontColor },
1891
+ textFontConf
1892
+ );
1893
+ }
1894
+ return c4Shape.height;
1895
+ }, "drawC4Shape");
1896
+ var insertDatabaseIcon = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1897
+ elem.append("defs").append("symbol").attr("id", id + "-database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1898
+ "d",
1899
+ "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"
1900
+ );
1901
+ }, "insertDatabaseIcon");
1902
+ var insertComputerIcon = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1903
+ elem.append("defs").append("symbol").attr("id", id + "-computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1904
+ "d",
1905
+ "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"
1906
+ );
1907
+ }, "insertComputerIcon");
1908
+ var insertClockIcon = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1909
+ elem.append("defs").append("symbol").attr("id", id + "-clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1910
+ "d",
1911
+ "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"
1912
+ );
1913
+ }, "insertClockIcon");
1914
+ var insertArrowHead = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1915
+ 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");
1916
+ }, "insertArrowHead");
1917
+ var insertArrowEnd = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1918
+ 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");
1919
+ }, "insertArrowEnd");
1920
+ var insertArrowFilledHead = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1921
+ 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");
1922
+ }, "insertArrowFilledHead");
1923
+ var insertArrowCrossHead = /* @__PURE__ */ chunkY2CYZVJY.__name(function(elem, id) {
1924
+ const defs = elem.append("defs");
1925
+ const marker = defs.append("marker").attr("id", id + "-crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1926
+ 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");
1927
+ 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");
1928
+ }, "insertArrowCrossHead");
1929
+ var getC4ShapeFont = /* @__PURE__ */ chunkY2CYZVJY.__name((cnf, typeC4Shape) => {
1930
+ return {
1931
+ fontFamily: cnf[typeC4Shape + "FontFamily"],
1932
+ fontSize: cnf[typeC4Shape + "FontSize"],
1933
+ fontWeight: cnf[typeC4Shape + "FontWeight"]
1934
+ };
1935
+ }, "getC4ShapeFont");
1936
+ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
1937
+ function byText(content, g, x, y, width, height, textAttrs) {
1938
+ const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("text-anchor", "middle").text(content);
1939
+ _setTextAttrs(text, textAttrs);
1940
+ }
1941
+ chunkY2CYZVJY.__name(byText, "byText");
1942
+ function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
1943
+ const { fontSize, fontFamily, fontWeight } = conf2;
1944
+ const lines = content.split(chunkWYO6CB5R.common_default.lineBreakRegex);
1945
+ for (let i = 0; i < lines.length; i++) {
1946
+ const dy = i * fontSize - fontSize * (lines.length - 1) / 2;
1947
+ 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);
1948
+ text.append("tspan").attr("dy", dy).text(lines[i]).attr("alignment-baseline", "mathematical");
1949
+ _setTextAttrs(text, textAttrs);
1950
+ }
1951
+ }
1952
+ chunkY2CYZVJY.__name(byTspan, "byTspan");
1953
+ function byFo(content, g, x, y, width, height, textAttrs, conf2) {
1954
+ const s = g.append("switch");
1955
+ const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
1956
+ const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1957
+ text.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
1958
+ byTspan(content, s, x, y, width, height, textAttrs, conf2);
1959
+ _setTextAttrs(text, textAttrs);
1960
+ }
1961
+ chunkY2CYZVJY.__name(byFo, "byFo");
1962
+ function _setTextAttrs(toText, fromTextAttrsDict) {
1963
+ for (const key in fromTextAttrsDict) {
1964
+ if (fromTextAttrsDict.hasOwnProperty(key)) {
1965
+ toText.attr(key, fromTextAttrsDict[key]);
1966
+ }
1967
+ }
1968
+ }
1969
+ chunkY2CYZVJY.__name(_setTextAttrs, "_setTextAttrs");
1970
+ return function(conf2) {
1971
+ return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
1972
+ };
1973
+ }();
1974
+ var svgDraw_default = {
1975
+ drawRect: drawRect2,
1976
+ drawBoundary,
1977
+ drawC4Shape,
1978
+ drawRels,
1979
+ drawImage,
1980
+ insertArrowHead,
1981
+ insertArrowEnd,
1982
+ insertArrowFilledHead,
1983
+ insertArrowCrossHead,
1984
+ insertDatabaseIcon,
1985
+ insertComputerIcon,
1986
+ insertClockIcon
1987
+ };
1988
+ var globalBoundaryMaxX = 0;
1989
+ var globalBoundaryMaxY = 0;
1990
+ var c4ShapeInRow2 = 4;
1991
+ var c4BoundaryInRow2 = 2;
1992
+ parser.yy = c4Db_default;
1993
+ var conf = {};
1994
+ var Bounds = (_a = class {
1995
+ constructor(diagObj) {
1996
+ this.name = "";
1997
+ this.data = {};
1998
+ this.data.startx = void 0;
1999
+ this.data.stopx = void 0;
2000
+ this.data.starty = void 0;
2001
+ this.data.stopy = void 0;
2002
+ this.data.widthLimit = void 0;
2003
+ this.nextData = {};
2004
+ this.nextData.startx = void 0;
2005
+ this.nextData.stopx = void 0;
2006
+ this.nextData.starty = void 0;
2007
+ this.nextData.stopy = void 0;
2008
+ this.nextData.cnt = 0;
2009
+ setConf(diagObj.db.getConfig());
2010
+ }
2011
+ setData(startx, stopx, starty, stopy) {
2012
+ this.nextData.startx = this.data.startx = startx;
2013
+ this.nextData.stopx = this.data.stopx = stopx;
2014
+ this.nextData.starty = this.data.starty = starty;
2015
+ this.nextData.stopy = this.data.stopy = stopy;
2016
+ }
2017
+ updateVal(obj, key, val, fun) {
2018
+ if (obj[key] === void 0) {
2019
+ obj[key] = val;
2020
+ } else {
2021
+ obj[key] = fun(val, obj[key]);
2022
+ }
2023
+ }
2024
+ insert(c4Shape) {
2025
+ this.nextData.cnt = this.nextData.cnt + 1;
2026
+ let _startx = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + c4Shape.margin : this.nextData.stopx + c4Shape.margin * 2;
2027
+ let _stopx = _startx + c4Shape.width;
2028
+ let _starty = this.nextData.starty + c4Shape.margin * 2;
2029
+ let _stopy = _starty + c4Shape.height;
2030
+ if (_startx >= this.data.widthLimit || _stopx >= this.data.widthLimit || this.nextData.cnt > c4ShapeInRow2) {
2031
+ _startx = this.nextData.startx + c4Shape.margin + conf.nextLinePaddingX;
2032
+ _starty = this.nextData.stopy + c4Shape.margin * 2;
2033
+ this.nextData.stopx = _stopx = _startx + c4Shape.width;
2034
+ this.nextData.starty = this.nextData.stopy;
2035
+ this.nextData.stopy = _stopy = _starty + c4Shape.height;
2036
+ this.nextData.cnt = 1;
2037
+ }
2038
+ c4Shape.x = _startx;
2039
+ c4Shape.y = _starty;
2040
+ this.updateVal(this.data, "startx", _startx, Math.min);
2041
+ this.updateVal(this.data, "starty", _starty, Math.min);
2042
+ this.updateVal(this.data, "stopx", _stopx, Math.max);
2043
+ this.updateVal(this.data, "stopy", _stopy, Math.max);
2044
+ this.updateVal(this.nextData, "startx", _startx, Math.min);
2045
+ this.updateVal(this.nextData, "starty", _starty, Math.min);
2046
+ this.updateVal(this.nextData, "stopx", _stopx, Math.max);
2047
+ this.updateVal(this.nextData, "stopy", _stopy, Math.max);
2048
+ }
2049
+ init(diagObj) {
2050
+ this.name = "";
2051
+ this.data = {
2052
+ startx: void 0,
2053
+ stopx: void 0,
2054
+ starty: void 0,
2055
+ stopy: void 0,
2056
+ widthLimit: void 0
2057
+ };
2058
+ this.nextData = {
2059
+ startx: void 0,
2060
+ stopx: void 0,
2061
+ starty: void 0,
2062
+ stopy: void 0,
2063
+ cnt: 0
2064
+ };
2065
+ setConf(diagObj.db.getConfig());
2066
+ }
2067
+ bumpLastMargin(margin) {
2068
+ this.data.stopx += margin;
2069
+ this.data.stopy += margin;
2070
+ }
2071
+ }, chunkY2CYZVJY.__name(_a, "Bounds"), _a);
2072
+ var setConf = /* @__PURE__ */ chunkY2CYZVJY.__name(function(cnf) {
2073
+ chunkWYO6CB5R.assignWithDepth_default(conf, cnf);
2074
+ if (cnf.fontFamily) {
2075
+ conf.personFontFamily = conf.systemFontFamily = conf.messageFontFamily = cnf.fontFamily;
2076
+ }
2077
+ if (cnf.fontSize) {
2078
+ conf.personFontSize = conf.systemFontSize = conf.messageFontSize = cnf.fontSize;
2079
+ }
2080
+ if (cnf.fontWeight) {
2081
+ conf.personFontWeight = conf.systemFontWeight = conf.messageFontWeight = cnf.fontWeight;
2082
+ }
2083
+ }, "setConf");
2084
+ var c4ShapeFont = /* @__PURE__ */ chunkY2CYZVJY.__name((cnf, typeC4Shape) => {
2085
+ return {
2086
+ fontFamily: cnf[typeC4Shape + "FontFamily"],
2087
+ fontSize: cnf[typeC4Shape + "FontSize"],
2088
+ fontWeight: cnf[typeC4Shape + "FontWeight"]
2089
+ };
2090
+ }, "c4ShapeFont");
2091
+ var boundaryFont = /* @__PURE__ */ chunkY2CYZVJY.__name((cnf) => {
2092
+ return {
2093
+ fontFamily: cnf.boundaryFontFamily,
2094
+ fontSize: cnf.boundaryFontSize,
2095
+ fontWeight: cnf.boundaryFontWeight
2096
+ };
2097
+ }, "boundaryFont");
2098
+ var messageFont = /* @__PURE__ */ chunkY2CYZVJY.__name((cnf) => {
2099
+ return {
2100
+ fontFamily: cnf.messageFontFamily,
2101
+ fontSize: cnf.messageFontSize,
2102
+ fontWeight: cnf.messageFontWeight
2103
+ };
2104
+ }, "messageFont");
2105
+ function calcC4ShapeTextWH(textType, c4Shape, c4ShapeTextWrap, textConf, textLimitWidth) {
2106
+ if (!c4Shape[textType].width) {
2107
+ if (c4ShapeTextWrap) {
2108
+ c4Shape[textType].text = chunkICXQ74PX.wrapLabel(c4Shape[textType].text, textLimitWidth, textConf);
2109
+ c4Shape[textType].textLines = c4Shape[textType].text.split(chunkWYO6CB5R.common_default.lineBreakRegex).length;
2110
+ c4Shape[textType].width = textLimitWidth;
2111
+ c4Shape[textType].height = chunkICXQ74PX.calculateTextHeight(c4Shape[textType].text, textConf);
2112
+ } else {
2113
+ let lines = c4Shape[textType].text.split(chunkWYO6CB5R.common_default.lineBreakRegex);
2114
+ c4Shape[textType].textLines = lines.length;
2115
+ let lineHeight = 0;
2116
+ c4Shape[textType].height = 0;
2117
+ c4Shape[textType].width = 0;
2118
+ for (const line of lines) {
2119
+ c4Shape[textType].width = Math.max(
2120
+ chunkICXQ74PX.calculateTextWidth(line, textConf),
2121
+ c4Shape[textType].width
2122
+ );
2123
+ lineHeight = chunkICXQ74PX.calculateTextHeight(line, textConf);
2124
+ c4Shape[textType].height = c4Shape[textType].height + lineHeight;
2125
+ }
2126
+ }
2127
+ }
2128
+ }
2129
+ chunkY2CYZVJY.__name(calcC4ShapeTextWH, "calcC4ShapeTextWH");
2130
+ var drawBoundary2 = /* @__PURE__ */ chunkY2CYZVJY.__name(function(diagram2, boundary, bounds) {
2131
+ boundary.x = bounds.data.startx;
2132
+ boundary.y = bounds.data.starty;
2133
+ boundary.width = bounds.data.stopx - bounds.data.startx;
2134
+ boundary.height = bounds.data.stopy - bounds.data.starty;
2135
+ boundary.label.y = conf.c4ShapeMargin - 35;
2136
+ let boundaryTextWrap = boundary.wrap && conf.wrap;
2137
+ let boundaryLabelConf = boundaryFont(conf);
2138
+ boundaryLabelConf.fontSize = boundaryLabelConf.fontSize + 2;
2139
+ boundaryLabelConf.fontWeight = "bold";
2140
+ let textLimitWidth = chunkICXQ74PX.calculateTextWidth(boundary.label.text, boundaryLabelConf);
2141
+ calcC4ShapeTextWH("label", boundary, boundaryTextWrap, boundaryLabelConf, textLimitWidth);
2142
+ svgDraw_default.drawBoundary(diagram2, boundary, conf);
2143
+ }, "drawBoundary");
2144
+ var drawC4ShapeArray = /* @__PURE__ */ chunkY2CYZVJY.__name(function(currentBounds, diagram2, c4ShapeArray2, c4ShapeKeys) {
2145
+ let Y = 0;
2146
+ for (const c4ShapeKey of c4ShapeKeys) {
2147
+ Y = 0;
2148
+ const c4Shape = c4ShapeArray2[c4ShapeKey];
2149
+ let c4ShapeTypeConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2150
+ c4ShapeTypeConf.fontSize = c4ShapeTypeConf.fontSize - 2;
2151
+ c4Shape.typeC4Shape.width = chunkICXQ74PX.calculateTextWidth(
2152
+ "«" + c4Shape.typeC4Shape.text + "»",
2153
+ c4ShapeTypeConf
2154
+ );
2155
+ c4Shape.typeC4Shape.height = c4ShapeTypeConf.fontSize + 2;
2156
+ c4Shape.typeC4Shape.Y = conf.c4ShapePadding;
2157
+ Y = c4Shape.typeC4Shape.Y + c4Shape.typeC4Shape.height - 4;
2158
+ c4Shape.image = { width: 0, height: 0, Y: 0 };
2159
+ switch (c4Shape.typeC4Shape.text) {
2160
+ case "person":
2161
+ case "external_person":
2162
+ c4Shape.image.width = 48;
2163
+ c4Shape.image.height = 48;
2164
+ c4Shape.image.Y = Y;
2165
+ Y = c4Shape.image.Y + c4Shape.image.height;
2166
+ break;
2167
+ }
2168
+ if (c4Shape.sprite) {
2169
+ c4Shape.image.width = 48;
2170
+ c4Shape.image.height = 48;
2171
+ c4Shape.image.Y = Y;
2172
+ Y = c4Shape.image.Y + c4Shape.image.height;
2173
+ }
2174
+ let c4ShapeTextWrap = c4Shape.wrap && conf.wrap;
2175
+ let textLimitWidth = conf.width - conf.c4ShapePadding * 2;
2176
+ let c4ShapeLabelConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2177
+ c4ShapeLabelConf.fontSize = c4ShapeLabelConf.fontSize + 2;
2178
+ c4ShapeLabelConf.fontWeight = "bold";
2179
+ calcC4ShapeTextWH("label", c4Shape, c4ShapeTextWrap, c4ShapeLabelConf, textLimitWidth);
2180
+ c4Shape.label.Y = Y + 8;
2181
+ Y = c4Shape.label.Y + c4Shape.label.height;
2182
+ if (c4Shape.type && c4Shape.type.text !== "") {
2183
+ c4Shape.type.text = "[" + c4Shape.type.text + "]";
2184
+ let c4ShapeTypeConf2 = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2185
+ calcC4ShapeTextWH("type", c4Shape, c4ShapeTextWrap, c4ShapeTypeConf2, textLimitWidth);
2186
+ c4Shape.type.Y = Y + 5;
2187
+ Y = c4Shape.type.Y + c4Shape.type.height;
2188
+ } else if (c4Shape.techn && c4Shape.techn.text !== "") {
2189
+ c4Shape.techn.text = "[" + c4Shape.techn.text + "]";
2190
+ let c4ShapeTechnConf = c4ShapeFont(conf, c4Shape.techn.text);
2191
+ calcC4ShapeTextWH("techn", c4Shape, c4ShapeTextWrap, c4ShapeTechnConf, textLimitWidth);
2192
+ c4Shape.techn.Y = Y + 5;
2193
+ Y = c4Shape.techn.Y + c4Shape.techn.height;
2194
+ }
2195
+ let rectHeight = Y;
2196
+ let rectWidth = c4Shape.label.width;
2197
+ if (c4Shape.descr && c4Shape.descr.text !== "") {
2198
+ let c4ShapeDescrConf = c4ShapeFont(conf, c4Shape.typeC4Shape.text);
2199
+ calcC4ShapeTextWH("descr", c4Shape, c4ShapeTextWrap, c4ShapeDescrConf, textLimitWidth);
2200
+ c4Shape.descr.Y = Y + 20;
2201
+ Y = c4Shape.descr.Y + c4Shape.descr.height;
2202
+ rectWidth = Math.max(c4Shape.label.width, c4Shape.descr.width);
2203
+ rectHeight = Y - c4Shape.descr.textLines * 5;
2204
+ }
2205
+ rectWidth = rectWidth + conf.c4ShapePadding;
2206
+ c4Shape.width = Math.max(c4Shape.width || conf.width, rectWidth, conf.width);
2207
+ c4Shape.height = Math.max(c4Shape.height || conf.height, rectHeight, conf.height);
2208
+ c4Shape.margin = c4Shape.margin || conf.c4ShapeMargin;
2209
+ currentBounds.insert(c4Shape);
2210
+ svgDraw_default.drawC4Shape(diagram2, c4Shape, conf);
2211
+ }
2212
+ currentBounds.bumpLastMargin(conf.c4ShapeMargin);
2213
+ }, "drawC4ShapeArray");
2214
+ var Point = (_b = class {
2215
+ constructor(x, y) {
2216
+ this.x = x;
2217
+ this.y = y;
2218
+ }
2219
+ }, chunkY2CYZVJY.__name(_b, "Point"), _b);
2220
+ var getIntersectPoint = /* @__PURE__ */ chunkY2CYZVJY.__name(function(fromNode, endPoint) {
2221
+ let x1 = fromNode.x;
2222
+ let y1 = fromNode.y;
2223
+ let x2 = endPoint.x;
2224
+ let y2 = endPoint.y;
2225
+ let fromCenterX = x1 + fromNode.width / 2;
2226
+ let fromCenterY = y1 + fromNode.height / 2;
2227
+ let dx = Math.abs(x1 - x2);
2228
+ let dy = Math.abs(y1 - y2);
2229
+ let tanDYX = dy / dx;
2230
+ let fromDYX = fromNode.height / fromNode.width;
2231
+ let returnPoint = null;
2232
+ if (y1 == y2 && x1 < x2) {
2233
+ returnPoint = new Point(x1 + fromNode.width, fromCenterY);
2234
+ } else if (y1 == y2 && x1 > x2) {
2235
+ returnPoint = new Point(x1, fromCenterY);
2236
+ } else if (x1 == x2 && y1 < y2) {
2237
+ returnPoint = new Point(fromCenterX, y1 + fromNode.height);
2238
+ } else if (x1 == x2 && y1 > y2) {
2239
+ returnPoint = new Point(fromCenterX, y1);
2240
+ }
2241
+ if (x1 > x2 && y1 < y2) {
2242
+ if (fromDYX >= tanDYX) {
2243
+ returnPoint = new Point(x1, fromCenterY + tanDYX * fromNode.width / 2);
2244
+ } else {
2245
+ returnPoint = new Point(
2246
+ fromCenterX - dx / dy * fromNode.height / 2,
2247
+ y1 + fromNode.height
2248
+ );
2249
+ }
2250
+ } else if (x1 < x2 && y1 < y2) {
2251
+ if (fromDYX >= tanDYX) {
2252
+ returnPoint = new Point(x1 + fromNode.width, fromCenterY + tanDYX * fromNode.width / 2);
2253
+ } else {
2254
+ returnPoint = new Point(
2255
+ fromCenterX + dx / dy * fromNode.height / 2,
2256
+ y1 + fromNode.height
2257
+ );
2258
+ }
2259
+ } else if (x1 < x2 && y1 > y2) {
2260
+ if (fromDYX >= tanDYX) {
2261
+ returnPoint = new Point(x1 + fromNode.width, fromCenterY - tanDYX * fromNode.width / 2);
2262
+ } else {
2263
+ returnPoint = new Point(fromCenterX + fromNode.height / 2 * dx / dy, y1);
2264
+ }
2265
+ } else if (x1 > x2 && y1 > y2) {
2266
+ if (fromDYX >= tanDYX) {
2267
+ returnPoint = new Point(x1, fromCenterY - fromNode.width / 2 * tanDYX);
2268
+ } else {
2269
+ returnPoint = new Point(fromCenterX - fromNode.height / 2 * dx / dy, y1);
2270
+ }
2271
+ }
2272
+ return returnPoint;
2273
+ }, "getIntersectPoint");
2274
+ var getIntersectPoints = /* @__PURE__ */ chunkY2CYZVJY.__name(function(fromNode, endNode) {
2275
+ let endIntersectPoint = { x: 0, y: 0 };
2276
+ endIntersectPoint.x = endNode.x + endNode.width / 2;
2277
+ endIntersectPoint.y = endNode.y + endNode.height / 2;
2278
+ let startPoint = getIntersectPoint(fromNode, endIntersectPoint);
2279
+ endIntersectPoint.x = fromNode.x + fromNode.width / 2;
2280
+ endIntersectPoint.y = fromNode.y + fromNode.height / 2;
2281
+ let endPoint = getIntersectPoint(endNode, endIntersectPoint);
2282
+ return { startPoint, endPoint };
2283
+ }, "getIntersectPoints");
2284
+ var drawRels2 = /* @__PURE__ */ chunkY2CYZVJY.__name(function(diagram2, rels2, getC4ShapeObj, diagObj, diagramId) {
2285
+ let i = 0;
2286
+ for (let rel of rels2) {
2287
+ i = i + 1;
2288
+ let relTextWrap = rel.wrap && conf.wrap;
2289
+ let relConf = messageFont(conf);
2290
+ let diagramType = diagObj.db.getC4Type();
2291
+ if (diagramType === "C4Dynamic") {
2292
+ rel.label.text = i + ": " + rel.label.text;
2293
+ }
2294
+ let textLimitWidth = chunkICXQ74PX.calculateTextWidth(rel.label.text, relConf);
2295
+ calcC4ShapeTextWH("label", rel, relTextWrap, relConf, textLimitWidth);
2296
+ if (rel.techn && rel.techn.text !== "") {
2297
+ textLimitWidth = chunkICXQ74PX.calculateTextWidth(rel.techn.text, relConf);
2298
+ calcC4ShapeTextWH("techn", rel, relTextWrap, relConf, textLimitWidth);
2299
+ }
2300
+ if (rel.descr && rel.descr.text !== "") {
2301
+ textLimitWidth = chunkICXQ74PX.calculateTextWidth(rel.descr.text, relConf);
2302
+ calcC4ShapeTextWH("descr", rel, relTextWrap, relConf, textLimitWidth);
2303
+ }
2304
+ let fromNode = getC4ShapeObj(rel.from);
2305
+ let endNode = getC4ShapeObj(rel.to);
2306
+ let points = getIntersectPoints(fromNode, endNode);
2307
+ rel.startPoint = points.startPoint;
2308
+ rel.endPoint = points.endPoint;
2309
+ }
2310
+ svgDraw_default.drawRels(diagram2, rels2, conf, diagramId);
2311
+ }, "drawRels");
2312
+ function drawInsideBoundary(diagram2, parentBoundaryAlias, parentBounds, currentBoundaries, diagObj) {
2313
+ let currentBounds = new Bounds(diagObj);
2314
+ currentBounds.data.widthLimit = parentBounds.data.widthLimit / Math.min(c4BoundaryInRow2, currentBoundaries.length);
2315
+ for (let [i, currentBoundary] of currentBoundaries.entries()) {
2316
+ let Y = 0;
2317
+ currentBoundary.image = { width: 0, height: 0, Y: 0 };
2318
+ if (currentBoundary.sprite) {
2319
+ currentBoundary.image.width = 48;
2320
+ currentBoundary.image.height = 48;
2321
+ currentBoundary.image.Y = Y;
2322
+ Y = currentBoundary.image.Y + currentBoundary.image.height;
2323
+ }
2324
+ let currentBoundaryTextWrap = currentBoundary.wrap && conf.wrap;
2325
+ let currentBoundaryLabelConf = boundaryFont(conf);
2326
+ currentBoundaryLabelConf.fontSize = currentBoundaryLabelConf.fontSize + 2;
2327
+ currentBoundaryLabelConf.fontWeight = "bold";
2328
+ calcC4ShapeTextWH(
2329
+ "label",
2330
+ currentBoundary,
2331
+ currentBoundaryTextWrap,
2332
+ currentBoundaryLabelConf,
2333
+ currentBounds.data.widthLimit
2334
+ );
2335
+ currentBoundary.label.Y = Y + 8;
2336
+ Y = currentBoundary.label.Y + currentBoundary.label.height;
2337
+ if (currentBoundary.type && currentBoundary.type.text !== "") {
2338
+ currentBoundary.type.text = "[" + currentBoundary.type.text + "]";
2339
+ let currentBoundaryTypeConf = boundaryFont(conf);
2340
+ calcC4ShapeTextWH(
2341
+ "type",
2342
+ currentBoundary,
2343
+ currentBoundaryTextWrap,
2344
+ currentBoundaryTypeConf,
2345
+ currentBounds.data.widthLimit
2346
+ );
2347
+ currentBoundary.type.Y = Y + 5;
2348
+ Y = currentBoundary.type.Y + currentBoundary.type.height;
2349
+ }
2350
+ if (currentBoundary.descr && currentBoundary.descr.text !== "") {
2351
+ let currentBoundaryDescrConf = boundaryFont(conf);
2352
+ currentBoundaryDescrConf.fontSize = currentBoundaryDescrConf.fontSize - 2;
2353
+ calcC4ShapeTextWH(
2354
+ "descr",
2355
+ currentBoundary,
2356
+ currentBoundaryTextWrap,
2357
+ currentBoundaryDescrConf,
2358
+ currentBounds.data.widthLimit
2359
+ );
2360
+ currentBoundary.descr.Y = Y + 20;
2361
+ Y = currentBoundary.descr.Y + currentBoundary.descr.height;
2362
+ }
2363
+ if (i == 0 || i % c4BoundaryInRow2 === 0) {
2364
+ let _x = parentBounds.data.startx + conf.diagramMarginX;
2365
+ let _y = parentBounds.data.stopy + conf.diagramMarginY + Y;
2366
+ currentBounds.setData(_x, _x, _y, _y);
2367
+ } else {
2368
+ let _x = currentBounds.data.stopx !== currentBounds.data.startx ? currentBounds.data.stopx + conf.diagramMarginX : currentBounds.data.startx;
2369
+ let _y = currentBounds.data.starty;
2370
+ currentBounds.setData(_x, _x, _y, _y);
2371
+ }
2372
+ currentBounds.name = currentBoundary.alias;
2373
+ let currentPersonOrSystemArray = diagObj.db.getC4ShapeArray(currentBoundary.alias);
2374
+ let currentPersonOrSystemKeys = diagObj.db.getC4ShapeKeys(currentBoundary.alias);
2375
+ if (currentPersonOrSystemKeys.length > 0) {
2376
+ drawC4ShapeArray(
2377
+ currentBounds,
2378
+ diagram2,
2379
+ currentPersonOrSystemArray,
2380
+ currentPersonOrSystemKeys
2381
+ );
2382
+ }
2383
+ parentBoundaryAlias = currentBoundary.alias;
2384
+ let nextCurrentBoundaries = diagObj.db.getBoundaries(parentBoundaryAlias);
2385
+ if (nextCurrentBoundaries.length > 0) {
2386
+ drawInsideBoundary(
2387
+ diagram2,
2388
+ parentBoundaryAlias,
2389
+ currentBounds,
2390
+ nextCurrentBoundaries,
2391
+ diagObj
2392
+ );
2393
+ }
2394
+ if (currentBoundary.alias !== "global") {
2395
+ drawBoundary2(diagram2, currentBoundary, currentBounds);
2396
+ }
2397
+ parentBounds.data.stopy = Math.max(
2398
+ currentBounds.data.stopy + conf.c4ShapeMargin,
2399
+ parentBounds.data.stopy
2400
+ );
2401
+ parentBounds.data.stopx = Math.max(
2402
+ currentBounds.data.stopx + conf.c4ShapeMargin,
2403
+ parentBounds.data.stopx
2404
+ );
2405
+ globalBoundaryMaxX = Math.max(globalBoundaryMaxX, parentBounds.data.stopx);
2406
+ globalBoundaryMaxY = Math.max(globalBoundaryMaxY, parentBounds.data.stopy);
2407
+ }
2408
+ }
2409
+ chunkY2CYZVJY.__name(drawInsideBoundary, "drawInsideBoundary");
2410
+ var draw = /* @__PURE__ */ chunkY2CYZVJY.__name(function(_text, id, _version, diagObj) {
2411
+ conf = chunkWYO6CB5R.getConfig2().c4;
2412
+ const securityLevel = chunkWYO6CB5R.getConfig2().securityLevel;
2413
+ let sandboxElement;
2414
+ if (securityLevel === "sandbox") {
2415
+ sandboxElement = select.default("#i" + id);
2416
+ }
2417
+ const root = securityLevel === "sandbox" ? select.default(sandboxElement.nodes()[0].contentDocument.body) : select.default("body");
2418
+ let db = diagObj.db;
2419
+ diagObj.db.setWrap(conf.wrap);
2420
+ c4ShapeInRow2 = db.getC4ShapeInRow();
2421
+ c4BoundaryInRow2 = db.getC4BoundaryInRow();
2422
+ chunkX3CZISLH.log.debug(`C:${JSON.stringify(conf, null, 2)}`);
2423
+ const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select.default(`[id="${id}"]`);
2424
+ svgDraw_default.insertComputerIcon(diagram2, id);
2425
+ svgDraw_default.insertDatabaseIcon(diagram2, id);
2426
+ svgDraw_default.insertClockIcon(diagram2, id);
2427
+ let screenBounds = new Bounds(diagObj);
2428
+ screenBounds.setData(
2429
+ conf.diagramMarginX,
2430
+ conf.diagramMarginX,
2431
+ conf.diagramMarginY,
2432
+ conf.diagramMarginY
2433
+ );
2434
+ screenBounds.data.widthLimit = screen.availWidth;
2435
+ globalBoundaryMaxX = conf.diagramMarginX;
2436
+ globalBoundaryMaxY = conf.diagramMarginY;
2437
+ const title2 = diagObj.db.getTitle();
2438
+ let currentBoundaries = diagObj.db.getBoundaries("");
2439
+ drawInsideBoundary(diagram2, "", screenBounds, currentBoundaries, diagObj);
2440
+ svgDraw_default.insertArrowHead(diagram2, id);
2441
+ svgDraw_default.insertArrowEnd(diagram2, id);
2442
+ svgDraw_default.insertArrowCrossHead(diagram2, id);
2443
+ svgDraw_default.insertArrowFilledHead(diagram2, id);
2444
+ drawRels2(diagram2, diagObj.db.getRels(), diagObj.db.getC4Shape, diagObj, id);
2445
+ screenBounds.data.stopx = globalBoundaryMaxX;
2446
+ screenBounds.data.stopy = globalBoundaryMaxY;
2447
+ const box = screenBounds.data;
2448
+ let boxHeight = box.stopy - box.starty;
2449
+ let height = boxHeight + 2 * conf.diagramMarginY;
2450
+ let boxWidth = box.stopx - box.startx;
2451
+ const width = boxWidth + 2 * conf.diagramMarginX;
2452
+ if (title2) {
2453
+ diagram2.append("text").text(title2).attr("x", (box.stopx - box.startx) / 2 - 4 * conf.diagramMarginX).attr("y", box.starty + conf.diagramMarginY);
2454
+ }
2455
+ chunkWYO6CB5R.configureSvgSize(diagram2, height, width, conf.useMaxWidth);
2456
+ const extraVertForTitle = title2 ? 60 : 0;
2457
+ diagram2.attr(
2458
+ "viewBox",
2459
+ box.startx - conf.diagramMarginX + " -" + (conf.diagramMarginY + extraVertForTitle) + " " + width + " " + (height + extraVertForTitle)
2460
+ );
2461
+ chunkX3CZISLH.log.debug(`models:`, box);
2462
+ }, "draw");
2463
+ var c4Renderer_default = {
2464
+ drawPersonOrSystemArray: drawC4ShapeArray,
2465
+ drawBoundary: drawBoundary2,
2466
+ setConf,
2467
+ draw
2468
+ };
2469
+ var getStyles = /* @__PURE__ */ chunkY2CYZVJY.__name((options) => `.person {
2470
+ stroke: ${options.personBorder};
2471
+ fill: ${options.personBkg};
2472
+ }
2473
+ `, "getStyles");
2474
+ var styles_default = getStyles;
2475
+ var diagram = {
2476
+ parser: c4Diagram_default,
2477
+ db: c4Db_default,
2478
+ renderer: c4Renderer_default,
2479
+ styles: styles_default,
2480
+ init: /* @__PURE__ */ chunkY2CYZVJY.__name(({ c4, wrap }) => {
2481
+ c4Renderer_default.setConf(c4);
2482
+ c4Db_default.setWrap(wrap);
2483
+ }, "init")
2484
+ };
2485
+ exports.diagram = diagram;