@elmethis/core 1.0.0-alpha.149 → 1.0.0-alpha.150

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 (666) hide show
  1. package/dist/index.d.ts +2 -3
  2. package/dist/index.mjs +119 -121
  3. package/package.json +1 -1
  4. package/dist/_virtual/_commonjsHelpers.mjs +0 -6
  5. package/dist/_virtual/advancedFormat.mjs +0 -7
  6. package/dist/_virtual/advancedFormat2.mjs +0 -4
  7. package/dist/_virtual/cancellation.mjs +0 -5
  8. package/dist/_virtual/cancellation2.mjs +0 -4
  9. package/dist/_virtual/constants.mjs +0 -4
  10. package/dist/_virtual/cose-base.mjs +0 -4
  11. package/dist/_virtual/cose-base2.mjs +0 -4
  12. package/dist/_virtual/customParseFormat.mjs +0 -7
  13. package/dist/_virtual/customParseFormat2.mjs +0 -4
  14. package/dist/_virtual/cytoscape-cose-bilkent.mjs +0 -7
  15. package/dist/_virtual/cytoscape-cose-bilkent2.mjs +0 -4
  16. package/dist/_virtual/cytoscape-fcose.mjs +0 -7
  17. package/dist/_virtual/cytoscape-fcose2.mjs +0 -4
  18. package/dist/_virtual/dayjs.min.mjs +0 -7
  19. package/dist/_virtual/dayjs.min2.mjs +0 -4
  20. package/dist/_virtual/events.mjs +0 -5
  21. package/dist/_virtual/events2.mjs +0 -4
  22. package/dist/_virtual/index.mjs +0 -5
  23. package/dist/_virtual/index2.mjs +0 -4
  24. package/dist/_virtual/is.mjs +0 -4
  25. package/dist/_virtual/isoWeek.mjs +0 -7
  26. package/dist/_virtual/isoWeek2.mjs +0 -4
  27. package/dist/_virtual/layout-base.mjs +0 -4
  28. package/dist/_virtual/layout-base2.mjs +0 -4
  29. package/dist/_virtual/ral.mjs +0 -4
  30. package/dist/components/code/ElmMermaid.stories.d.ts +0 -7
  31. package/dist/components/code/ElmMermaid.vue.d.ts +0 -8
  32. package/dist/components/code/ElmMermaid.vue.mjs +0 -6
  33. package/dist/components/code/ElmMermaid.vue2.mjs +0 -56
  34. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/constants.mjs +0 -20
  35. package/dist/node_modules/.pnpm/@braintree_sanitize-url@7.1.1/node_modules/@braintree/sanitize-url/dist/index.mjs +0 -76
  36. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -57
  37. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -220
  38. package/dist/node_modules/.pnpm/@chevrotain_gast@11.0.3/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -64
  39. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/base-regexp-visitor.mjs +0 -101
  40. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/character-classes.mjs +0 -45
  41. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/regexp-parser.mjs +0 -693
  42. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.0.3/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -39
  43. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -14
  44. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -10
  45. package/dist/node_modules/.pnpm/@chevrotain_utils@11.0.3/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -15
  46. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -15
  47. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -28
  48. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
  49. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -54
  50. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -17
  51. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -27
  52. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -24
  53. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -120
  54. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -33
  55. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -10
  56. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -29
  57. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -41
  58. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-4AB2E3PP.mjs +0 -6
  59. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2NYFTIL2.mjs +0 -34
  60. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-2O5ZK7RR.mjs +0 -34
  61. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-7PKI6E2E.mjs +0 -541
  62. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-C4OEIS7N.mjs +0 -46
  63. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-EXZZNE6F.mjs +0 -34
  64. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ROXG7S4E.mjs +0 -42
  65. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-V4Q32G6S.mjs +0 -34
  66. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-O2Q2CXLX.mjs +0 -6
  67. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-4N47QTOZ.mjs +0 -6
  68. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-KVYON367.mjs +0 -6
  69. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-R6RNRRYF.mjs +0 -6
  70. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-MK3ICKWK.mjs +0 -6
  71. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.4.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -115
  72. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/all-star-lookahead.mjs +0 -531
  73. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/atn.mjs +0 -393
  74. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.0.3/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -42
  75. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -12
  76. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
  77. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -42
  78. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -87
  79. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -161
  80. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
  81. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -416
  82. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -47
  83. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -41
  84. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
  85. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -424
  86. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -22
  87. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -48
  88. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -387
  89. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -40
  90. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -83
  91. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -181
  92. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
  93. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -69
  94. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -270
  95. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -59
  96. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -128
  97. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -38
  98. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -323
  99. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -434
  100. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -251
  101. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -167
  102. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -19
  103. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -720
  104. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -11
  105. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -552
  106. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -214
  107. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
  108. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -115
  109. package/dist/node_modules/.pnpm/chevrotain@11.0.3/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
  110. package/dist/node_modules/.pnpm/cose-base@1.0.3/node_modules/cose-base/cose-base.mjs +0 -1090
  111. package/dist/node_modules/.pnpm/cose-base@2.2.0/node_modules/cose-base/cose-base.mjs +0 -2555
  112. package/dist/node_modules/.pnpm/cytoscape-cose-bilkent@4.1.0_cytoscape@3.31.1/node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.mjs +0 -374
  113. package/dist/node_modules/.pnpm/cytoscape-fcose@2.2.0_cytoscape@3.31.1/node_modules/cytoscape-fcose/cytoscape-fcose.mjs +0 -1278
  114. package/dist/node_modules/.pnpm/cytoscape@3.31.1/node_modules/cytoscape/dist/cytoscape.esm.mjs +0 -29469
  115. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/max.mjs +0 -21
  116. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/min.mjs +0 -21
  117. package/dist/node_modules/.pnpm/d3-array@2.12.1/node_modules/d3-array/src/sum.mjs +0 -21
  118. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.mjs +0 -6
  119. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.mjs +0 -10
  120. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.mjs +0 -47
  121. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.mjs +0 -6
  122. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.mjs +0 -21
  123. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.mjs +0 -21
  124. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.mjs +0 -6
  125. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.mjs +0 -11
  126. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.mjs +0 -51
  127. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.mjs +0 -94
  128. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.mjs +0 -6
  129. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.mjs +0 -338
  130. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.mjs +0 -13
  131. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/lab.mjs +0 -95
  132. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/math.mjs +0 -6
  133. package/dist/node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.mjs +0 -70
  134. package/dist/node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.mjs +0 -6
  135. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.mjs +0 -20
  136. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.mjs +0 -7
  137. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.mjs +0 -15
  138. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.mjs +0 -15
  139. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.mjs +0 -10
  140. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.mjs +0 -12
  141. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.mjs +0 -10
  142. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.mjs +0 -37
  143. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.mjs +0 -21
  144. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.mjs +0 -21
  145. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.mjs +0 -6
  146. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.mjs +0 -82
  147. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.mjs +0 -7
  148. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.mjs +0 -7
  149. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.mjs +0 -8
  150. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.mjs +0 -13
  151. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.mjs +0 -29
  152. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.mjs +0 -4
  153. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.mjs +0 -9
  154. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/hcl.mjs +0 -18
  155. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.mjs +0 -8
  156. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.mjs +0 -15
  157. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.mjs +0 -20
  158. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.mjs +0 -20
  159. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.mjs +0 -8
  160. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.mjs +0 -43
  161. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.mjs +0 -28
  162. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.mjs +0 -59
  163. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.mjs +0 -18
  164. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.mjs +0 -16
  165. package/dist/node_modules/.pnpm/d3-path@1.0.9/node_modules/d3-path/src/path.mjs +0 -73
  166. package/dist/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path/src/path.mjs +0 -88
  167. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/align.mjs +0 -22
  168. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/constant.mjs +0 -8
  169. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankey.mjs +0 -326
  170. package/dist/node_modules/.pnpm/d3-sankey@0.12.3/node_modules/d3-sankey/src/sankeyLinkHorizontal.mjs +0 -13
  171. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/categorical/Tableau10.mjs +0 -5
  172. package/dist/node_modules/.pnpm/d3-scale-chromatic@3.1.0/node_modules/d3-scale-chromatic/src/colors.mjs +0 -8
  173. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.mjs +0 -56
  174. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.mjs +0 -8
  175. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.mjs +0 -95
  176. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.mjs +0 -16
  177. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.mjs +0 -61
  178. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/nice.mjs +0 -14
  179. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.mjs +0 -6
  180. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/ordinal.mjs +0 -38
  181. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +0 -34
  182. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/time.mjs +0 -54
  183. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.mjs +0 -6
  184. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.mjs +0 -8
  185. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.mjs +0 -20
  186. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.mjs +0 -14
  187. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.mjs +0 -9
  188. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.mjs +0 -12
  189. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs +0 -7
  190. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.mjs +0 -10
  191. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.mjs +0 -46
  192. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.mjs +0 -9
  193. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.mjs +0 -64
  194. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.mjs +0 -14
  195. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.mjs +0 -76
  196. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.mjs +0 -6
  197. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.mjs +0 -28
  198. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.mjs +0 -11
  199. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.mjs +0 -6
  200. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.mjs +0 -31
  201. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.mjs +0 -8
  202. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.mjs +0 -16
  203. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.mjs +0 -20
  204. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.mjs +0 -88
  205. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.mjs +0 -14
  206. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.mjs +0 -10
  207. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.mjs +0 -19
  208. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.mjs +0 -9
  209. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.mjs +0 -18
  210. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.mjs +0 -12
  211. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.mjs +0 -6
  212. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.mjs +0 -64
  213. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.mjs +0 -14
  214. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.mjs +0 -23
  215. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.mjs +0 -9
  216. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.mjs +0 -10
  217. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.mjs +0 -17
  218. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.mjs +0 -24
  219. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.mjs +0 -16
  220. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.mjs +0 -16
  221. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.mjs +0 -8
  222. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.mjs +0 -22
  223. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.mjs +0 -6
  224. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.mjs +0 -28
  225. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.mjs +0 -20
  226. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.mjs +0 -10
  227. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.mjs +0 -11
  228. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.mjs +0 -6
  229. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/array.mjs +0 -4
  230. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/constant.mjs +0 -8
  231. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs +0 -45
  232. package/dist/node_modules/.pnpm/d3-shape@1.3.7/node_modules/d3-shape/src/point.mjs +0 -10
  233. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/arc.mjs +0 -133
  234. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/array.mjs +0 -6
  235. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/constant.mjs +0 -8
  236. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.mjs +0 -66
  237. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.mjs +0 -63
  238. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.mjs +0 -50
  239. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.mjs +0 -49
  240. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.mjs +0 -43
  241. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.mjs +0 -73
  242. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.mjs +0 -69
  243. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.mjs +0 -57
  244. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.mjs +0 -83
  245. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.mjs +0 -75
  246. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.mjs +0 -63
  247. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.mjs +0 -39
  248. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.mjs +0 -25
  249. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.mjs +0 -99
  250. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.mjs +0 -54
  251. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.mjs +0 -59
  252. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/descending.mjs +0 -6
  253. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/identity.mjs +0 -6
  254. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/line.mjs +0 -41
  255. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/math.mjs +0 -32
  256. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.mjs +0 -5
  257. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/path.mjs +0 -19
  258. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/pie.mjs +0 -55
  259. package/dist/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/point.mjs +0 -10
  260. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/defaultLocale.mjs +0 -25
  261. package/dist/node_modules/.pnpm/d3-time-format@4.1.0/node_modules/d3-time-format/src/locale.mjs +0 -542
  262. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/day.mjs +0 -34
  263. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/duration.mjs +0 -16
  264. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/hour.mjs +0 -26
  265. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/interval.mjs +0 -61
  266. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/millisecond.mjs +0 -23
  267. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/minute.mjs +0 -26
  268. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/month.mjs +0 -27
  269. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/second.mjs +0 -15
  270. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.mjs +0 -54
  271. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/week.mjs +0 -66
  272. package/dist/node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/year.mjs +0 -45
  273. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.mjs +0 -13
  274. package/dist/node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.mjs +0 -96
  275. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.mjs +0 -21
  276. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs +0 -5
  277. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.mjs +0 -9
  278. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.mjs +0 -39
  279. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.mjs +0 -55
  280. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.mjs +0 -42
  281. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.mjs +0 -18
  282. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.mjs +0 -18
  283. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.mjs +0 -14
  284. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.mjs +0 -15
  285. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.mjs +0 -23
  286. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.mjs +0 -16
  287. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.mjs +0 -68
  288. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.mjs +0 -11
  289. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.mjs +0 -18
  290. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.mjs +0 -23
  291. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.mjs +0 -13
  292. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.mjs +0 -125
  293. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.mjs +0 -20
  294. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.mjs +0 -24
  295. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.mjs +0 -8
  296. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.mjs +0 -47
  297. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.mjs +0 -25
  298. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.mjs +0 -18
  299. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.mjs +0 -25
  300. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.mjs +0 -22
  301. package/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.mjs +0 -64
  302. package/dist/node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs +0 -45
  303. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -55
  304. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -33
  305. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -66
  306. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -49
  307. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -97
  308. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -344
  309. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -94
  310. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -69
  311. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -25
  312. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -29
  313. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -33
  314. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -54
  315. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -51
  316. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -30
  317. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -84
  318. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -66
  319. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -47
  320. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -66
  321. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +0 -296
  322. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -29
  323. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -45
  324. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -29
  325. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -148
  326. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -30
  327. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -164
  328. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -33
  329. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/dijkstra.mjs +0 -2
  330. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/floyd-warshall.mjs +0 -2
  331. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -7
  332. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -7
  333. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -7
  334. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -420
  335. package/dist/node_modules/.pnpm/dagre-d3-es@7.0.11/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -47
  336. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +0 -286
  337. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/advancedFormat.mjs +0 -58
  338. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/customParseFormat.mjs +0 -133
  339. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/isoWeek.mjs +0 -37
  340. package/dist/node_modules/.pnpm/dompurify@3.2.4/node_modules/dompurify/dist/purify.es.mjs +0 -965
  341. package/dist/node_modules/.pnpm/internmap@2.0.3/node_modules/internmap/src/index.mjs +0 -43
  342. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/index.mjs +0 -131
  343. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/reusable.mjs +0 -5
  344. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/channels/type.mjs +0 -24
  345. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hex.mjs +0 -40
  346. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/hsl.mjs +0 -50
  347. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/index.mjs +0 -39
  348. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/keyword.mjs +0 -172
  349. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/color/rgb.mjs +0 -33
  350. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/constants.mjs +0 -13
  351. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs +0 -15
  352. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/adjust_channel.mjs +0 -13
  353. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/change.mjs +0 -12
  354. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/channel.mjs +0 -8
  355. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs +0 -7
  356. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs +0 -12
  357. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs +0 -7
  358. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/is_light.mjs +0 -7
  359. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs +0 -7
  360. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/luminance.mjs +0 -10
  361. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/mix.mjs +0 -20
  362. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs +0 -18
  363. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.mjs +0 -95
  364. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/index.mjs +0 -11
  365. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/lang.mjs +0 -14
  366. package/dist/node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/unit.mjs +0 -10
  367. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/default-module.mjs +0 -87
  368. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/dependency-injection.mjs +0 -74
  369. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -17
  370. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -62
  371. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -478
  372. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -725
  373. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -20
  374. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/async-parser.mjs +0 -11
  375. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -13
  376. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -233
  377. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -17
  378. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -453
  379. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/lexer.mjs +0 -72
  380. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -336
  381. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/token-builder.mjs +0 -105
  382. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/parser/value-converter.mjs +0 -111
  383. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/linker.mjs +0 -139
  384. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/name-provider.mjs +0 -19
  385. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/references.mjs +0 -80
  386. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-computation.mjs +0 -70
  387. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope-provider.mjs +0 -62
  388. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/references/scope.mjs +0 -60
  389. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -256
  390. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -202
  391. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/service-registry.mjs +0 -69
  392. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/syntax-tree.mjs +0 -73
  393. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -159
  394. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/caching.mjs +0 -137
  395. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/collections.mjs +0 -177
  396. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -126
  397. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/disposable.mjs +0 -12
  398. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/errors.mjs +0 -12
  399. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -33
  400. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -377
  401. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -56
  402. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -239
  403. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/stream.mjs +0 -466
  404. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -37
  405. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/document-validator.mjs +0 -236
  406. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -142
  407. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -75
  408. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -43
  409. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/configuration.mjs +0 -81
  410. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -328
  411. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/documents.mjs +0 -210
  412. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -15
  413. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -74
  414. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -64
  415. package/dist/node_modules/.pnpm/langium@3.3.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -106
  416. package/dist/node_modules/.pnpm/layout-base@1.0.2/node_modules/layout-base/layout-base.mjs +0 -3197
  417. package/dist/node_modules/.pnpm/layout-base@2.0.1/node_modules/layout-base/layout-base.mjs +0 -3745
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.mjs +0 -6
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.mjs +0 -21
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.mjs +0 -21
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.mjs +0 -6
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.mjs +0 -21
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.mjs +0 -6
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.mjs +0 -6
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_SetCache.mjs +0 -15
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.mjs +0 -18
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.mjs +0 -5
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.mjs +0 -5
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.mjs +0 -6
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_apply.mjs +0 -16
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.mjs +0 -12
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.mjs +0 -13
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -24
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.mjs +0 -10
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.mjs +0 -10
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.mjs +0 -13
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arraySome.mjs +0 -12
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -10
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.mjs +0 -13
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.mjs +0 -13
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.mjs +0 -8
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.mjs +0 -16
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.mjs +0 -83
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.mjs +0 -21
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseEach.mjs +0 -6
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -14
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFilter.mjs +0 -13
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFindIndex.mjs +0 -12
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFlatten.mjs +0 -21
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseFor.mjs +0 -5
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseForOwn.mjs +0 -8
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGet.mjs +0 -13
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.mjs +0 -14
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseHasIn.mjs +0 -6
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqual.mjs +0 -14
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -45
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.mjs +0 -9
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMatch.mjs +0 -35
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.mjs +0 -22
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.mjs +0 -9
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -14
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIteratee.mjs +0 -20
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.mjs +0 -19
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.mjs +0 -20
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -6
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMap.mjs +0 -12
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatches.mjs +0 -15
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -20
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -27
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -61
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseProperty.mjs +0 -8
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseReduce.mjs +0 -9
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRest.mjs +0 -9
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSetToString.mjs +0 -14
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.mjs +0 -10
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.mjs +0 -21
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.mjs +0 -8
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUniq.mjs +0 -46
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cacheHas.mjs +0 -6
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castFunction.mjs +0 -7
  487. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castPath.mjs +0 -13
  488. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -9
  489. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.mjs +0 -16
  490. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.mjs +0 -7
  491. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.mjs +0 -9
  492. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
  493. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
  494. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.mjs +0 -11
  495. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.mjs +0 -23
  496. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.mjs +0 -8
  497. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.mjs +0 -5
  498. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createAssigner.mjs +0 -23
  499. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseEach.mjs +0 -21
  500. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createBaseFor.mjs +0 -15
  501. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createSet.mjs +0 -10
  502. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.mjs +0 -12
  503. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalArrays.mjs +0 -50
  504. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalByTag.mjs +0 -59
  505. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_equalObjects.mjs +0 -50
  506. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.mjs +0 -4
  507. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.mjs +0 -9
  508. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.mjs +0 -8
  509. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMatchData.mjs +0 -13
  510. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.mjs +0 -9
  511. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.mjs +0 -5
  512. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.mjs +0 -25
  513. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.mjs +0 -17
  514. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.mjs +0 -34
  515. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.mjs +0 -6
  516. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasPath.mjs +0 -25
  517. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.mjs +0 -8
  518. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.mjs +0 -8
  519. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.mjs +0 -15
  520. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.mjs +0 -10
  521. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.mjs +0 -11
  522. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.mjs +0 -13
  523. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.mjs +0 -43
  524. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.mjs +0 -9
  525. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isFlattenable.mjs +0 -10
  526. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.mjs +0 -10
  527. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIterateeCall.mjs +0 -17
  528. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.mjs +0 -16
  529. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.mjs +0 -7
  530. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.mjs +0 -11
  531. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.mjs +0 -8
  532. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
  533. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.mjs +0 -7
  534. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.mjs +0 -20
  535. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.mjs +0 -8
  536. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.mjs +0 -7
  537. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.mjs +0 -14
  538. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.mjs +0 -14
  539. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.mjs +0 -9
  540. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
  541. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
  542. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.mjs +0 -10
  543. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapToArray.mjs +0 -10
  544. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -11
  545. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_memoizeCapped.mjs +0 -15
  546. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.mjs +0 -5
  547. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.mjs +0 -5
  548. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.mjs +0 -12
  549. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.mjs +0 -18
  550. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.mjs +0 -8
  551. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.mjs +0 -8
  552. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overRest.mjs +0 -21
  553. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.mjs +0 -6
  554. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -12
  555. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.mjs +0 -8
  556. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheHas.mjs +0 -6
  557. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToArray.mjs +0 -10
  558. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setToString.mjs +0 -6
  559. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_shortOut.mjs +0 -20
  560. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.mjs +0 -8
  561. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.mjs +0 -8
  562. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.mjs +0 -6
  563. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.mjs +0 -6
  564. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.mjs +0 -22
  565. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_strictIndexOf.mjs +0 -12
  566. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToPath.mjs +0 -16
  567. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toKey.mjs +0 -11
  568. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.mjs +0 -18
  569. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/clone.mjs +0 -8
  570. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/constant.mjs +0 -8
  571. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.mjs +0 -6
  572. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/filter.mjs +0 -11
  573. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatMap.mjs +0 -8
  574. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/flatten.mjs +0 -8
  575. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forEach.mjs +0 -11
  576. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/get.mjs +0 -8
  577. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.mjs +0 -8
  578. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/identity.mjs +0 -6
  579. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.mjs +0 -13
  580. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.mjs +0 -4
  581. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.mjs +0 -8
  582. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
  583. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.mjs +0 -11
  584. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isEmpty.mjs +0 -35
  585. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.mjs +0 -13
  586. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.mjs +0 -7
  587. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.mjs +0 -8
  588. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.mjs +0 -7
  589. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.mjs +0 -6
  590. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -22
  591. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.mjs +0 -8
  592. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.mjs +0 -9
  593. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.mjs +0 -8
  594. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.mjs +0 -9
  595. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.mjs +0 -9
  596. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/map.mjs +0 -11
  597. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/memoize.mjs +0 -22
  598. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -8
  599. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -9
  600. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/noop.mjs +0 -5
  601. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/property.mjs +0 -10
  602. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/reduce.mjs +0 -12
  603. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.mjs +0 -6
  604. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.mjs +0 -6
  605. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -8
  606. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toString.mjs +0 -7
  607. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -8
  608. package/dist/node_modules/.pnpm/marked@15.0.7/node_modules/marked/lib/marked.esm.mjs +0 -2152
  609. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-IEHRJDOE.mjs +0 -1093
  610. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-JOT3LUYC.mjs +0 -3598
  611. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-VJAJSXHY.mjs +0 -2487
  612. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BMEZGHF.mjs +0 -17
  613. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-5NNNAHNI.mjs +0 -143
  614. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6JRP7KZX.mjs +0 -2696
  615. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-7B677QYD.mjs +0 -19
  616. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-A2AXSNBT.mjs +0 -1828
  617. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AEK57VVT.mjs +0 -1961
  618. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-C3MQ5ANM.mjs +0 -332
  619. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-D6G4REZN.mjs +0 -109
  620. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-H2D2JQ3I.mjs +0 -78
  621. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HRU6DDCH.mjs +0 -5018
  622. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IIMUDSI4.mjs +0 -696
  623. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-K557N5IZ.mjs +0 -17
  624. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-O4NI6UNU.mjs +0 -557
  625. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RZ5BOZE2.mjs +0 -38
  626. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TYCBKAJE.mjs +0 -57
  627. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-VV3M67IP.mjs +0 -107
  628. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-XZIHB7SX.mjs +0 -17
  629. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-YTJNT7DU.mjs +0 -3052
  630. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-GIVACNV2.mjs +0 -27
  631. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-COTLJTTW.mjs +0 -27
  632. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-OKDRZEBW.mjs +0 -662
  633. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-SSKATNLV.mjs +0 -306
  634. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VNBRO52H.mjs +0 -191
  635. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q7BY3M3F.mjs +0 -1168
  636. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-4HSFHLVR.mjs +0 -2339
  637. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-APWFNJXF.mjs +0 -2104
  638. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-7IBYFJ6S.mjs +0 -1215
  639. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-PH2N3AL5.mjs +0 -31
  640. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-U35MCT3I.mjs +0 -1201
  641. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-NDS4AKOZ.mjs +0 -1055
  642. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-ALO5MXBD.mjs +0 -1195
  643. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-IB7DONF6.mjs +0 -188
  644. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-7GDLP6J5.mjs +0 -1340
  645. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-KVF5MWMF.mjs +0 -1168
  646. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-QLVOVGJD.mjs +0 -670
  647. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-X6HHIX6F.mjs +0 -3419
  648. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-DGXRK772.mjs +0 -477
  649. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-YXO3MK2T.mjs +0 -27
  650. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-BDJGKUSR.mjs +0 -1232
  651. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-VJFVF3MP.mjs +0 -1778
  652. package/dist/node_modules/.pnpm/mermaid@11.6.0/node_modules/mermaid/dist/mermaid.core.mjs +0 -1222
  653. package/dist/node_modules/.pnpm/roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs +0 -1001
  654. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.mjs +0 -16
  655. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.mjs +0 -164
  656. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.mjs +0 -29
  657. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.mjs +0 -156
  658. package/dist/node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Utility.mjs +0 -38
  659. package/dist/node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.mjs +0 -42
  660. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.mjs +0 -95
  661. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.mjs +0 -133
  662. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.mjs +0 -40
  663. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.mjs +0 -28
  664. package/dist/node_modules/.pnpm/vscode-languageserver-textdocument@1.0.12/node_modules/vscode-languageserver-textdocument/lib/esm/main.mjs +0 -225
  665. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/esm/main.mjs +0 -1262
  666. package/dist/node_modules/.pnpm/vscode-uri@3.0.8/node_modules/vscode-uri/lib/esm/index.mjs +0 -344
@@ -1,2487 +0,0 @@
1
- var _a, _b;
2
- import { getNoteRect, drawRect } from "./chunk-D6G4REZN.mjs";
3
- import { calculateTextWidth, wrapLabel, calculateTextHeight } from "./chunk-O4NI6UNU.mjs";
4
- import { __name, setAccDescription, getAccDescription, getAccTitle, setAccTitle, getConfig2, log, configureSvgSize, assignWithDepth_default, sanitizeText, common_default } from "./chunk-YTJNT7DU.mjs";
5
- import "../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs";
6
- import "../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs";
7
- import { d as distExports } from "../../../../../../../../_virtual/index.mjs";
8
- import select from "../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.mjs";
9
- var parser = function() {
10
- var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
11
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
12
- return o2;
13
- }, "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];
14
- var parser2 = {
15
- trace: /* @__PURE__ */ __name(function trace() {
16
- }, "trace"),
17
- yy: {},
18
- 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 },
19
- 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" },
20
- 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]],
21
- performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
22
- var $0 = $$.length - 1;
23
- switch (yystate) {
24
- case 3:
25
- yy.setDirection("TB");
26
- break;
27
- case 4:
28
- yy.setDirection("BT");
29
- break;
30
- case 5:
31
- yy.setDirection("RL");
32
- break;
33
- case 6:
34
- yy.setDirection("LR");
35
- break;
36
- case 8:
37
- case 9:
38
- case 10:
39
- case 11:
40
- case 12:
41
- yy.setC4Type($$[$0 - 3]);
42
- break;
43
- case 19:
44
- yy.setTitle($$[$0].substring(6));
45
- this.$ = $$[$0].substring(6);
46
- break;
47
- case 20:
48
- yy.setAccDescription($$[$0].substring(15));
49
- this.$ = $$[$0].substring(15);
50
- break;
51
- case 21:
52
- this.$ = $$[$0].trim();
53
- yy.setTitle(this.$);
54
- break;
55
- case 22:
56
- case 23:
57
- this.$ = $$[$0].trim();
58
- yy.setAccDescription(this.$);
59
- break;
60
- case 28:
61
- $$[$0].splice(2, 0, "ENTERPRISE");
62
- yy.addPersonOrSystemBoundary(...$$[$0]);
63
- this.$ = $$[$0];
64
- break;
65
- case 29:
66
- $$[$0].splice(2, 0, "SYSTEM");
67
- yy.addPersonOrSystemBoundary(...$$[$0]);
68
- this.$ = $$[$0];
69
- break;
70
- case 30:
71
- yy.addPersonOrSystemBoundary(...$$[$0]);
72
- this.$ = $$[$0];
73
- break;
74
- case 31:
75
- $$[$0].splice(2, 0, "CONTAINER");
76
- yy.addContainerBoundary(...$$[$0]);
77
- this.$ = $$[$0];
78
- break;
79
- case 32:
80
- yy.addDeploymentNode("node", ...$$[$0]);
81
- this.$ = $$[$0];
82
- break;
83
- case 33:
84
- yy.addDeploymentNode("nodeL", ...$$[$0]);
85
- this.$ = $$[$0];
86
- break;
87
- case 34:
88
- yy.addDeploymentNode("nodeR", ...$$[$0]);
89
- this.$ = $$[$0];
90
- break;
91
- case 35:
92
- yy.popBoundaryParseStack();
93
- break;
94
- case 39:
95
- yy.addPersonOrSystem("person", ...$$[$0]);
96
- this.$ = $$[$0];
97
- break;
98
- case 40:
99
- yy.addPersonOrSystem("external_person", ...$$[$0]);
100
- this.$ = $$[$0];
101
- break;
102
- case 41:
103
- yy.addPersonOrSystem("system", ...$$[$0]);
104
- this.$ = $$[$0];
105
- break;
106
- case 42:
107
- yy.addPersonOrSystem("system_db", ...$$[$0]);
108
- this.$ = $$[$0];
109
- break;
110
- case 43:
111
- yy.addPersonOrSystem("system_queue", ...$$[$0]);
112
- this.$ = $$[$0];
113
- break;
114
- case 44:
115
- yy.addPersonOrSystem("external_system", ...$$[$0]);
116
- this.$ = $$[$0];
117
- break;
118
- case 45:
119
- yy.addPersonOrSystem("external_system_db", ...$$[$0]);
120
- this.$ = $$[$0];
121
- break;
122
- case 46:
123
- yy.addPersonOrSystem("external_system_queue", ...$$[$0]);
124
- this.$ = $$[$0];
125
- break;
126
- case 47:
127
- yy.addContainer("container", ...$$[$0]);
128
- this.$ = $$[$0];
129
- break;
130
- case 48:
131
- yy.addContainer("container_db", ...$$[$0]);
132
- this.$ = $$[$0];
133
- break;
134
- case 49:
135
- yy.addContainer("container_queue", ...$$[$0]);
136
- this.$ = $$[$0];
137
- break;
138
- case 50:
139
- yy.addContainer("external_container", ...$$[$0]);
140
- this.$ = $$[$0];
141
- break;
142
- case 51:
143
- yy.addContainer("external_container_db", ...$$[$0]);
144
- this.$ = $$[$0];
145
- break;
146
- case 52:
147
- yy.addContainer("external_container_queue", ...$$[$0]);
148
- this.$ = $$[$0];
149
- break;
150
- case 53:
151
- yy.addComponent("component", ...$$[$0]);
152
- this.$ = $$[$0];
153
- break;
154
- case 54:
155
- yy.addComponent("component_db", ...$$[$0]);
156
- this.$ = $$[$0];
157
- break;
158
- case 55:
159
- yy.addComponent("component_queue", ...$$[$0]);
160
- this.$ = $$[$0];
161
- break;
162
- case 56:
163
- yy.addComponent("external_component", ...$$[$0]);
164
- this.$ = $$[$0];
165
- break;
166
- case 57:
167
- yy.addComponent("external_component_db", ...$$[$0]);
168
- this.$ = $$[$0];
169
- break;
170
- case 58:
171
- yy.addComponent("external_component_queue", ...$$[$0]);
172
- this.$ = $$[$0];
173
- break;
174
- case 60:
175
- yy.addRel("rel", ...$$[$0]);
176
- this.$ = $$[$0];
177
- break;
178
- case 61:
179
- yy.addRel("birel", ...$$[$0]);
180
- this.$ = $$[$0];
181
- break;
182
- case 62:
183
- yy.addRel("rel_u", ...$$[$0]);
184
- this.$ = $$[$0];
185
- break;
186
- case 63:
187
- yy.addRel("rel_d", ...$$[$0]);
188
- this.$ = $$[$0];
189
- break;
190
- case 64:
191
- yy.addRel("rel_l", ...$$[$0]);
192
- this.$ = $$[$0];
193
- break;
194
- case 65:
195
- yy.addRel("rel_r", ...$$[$0]);
196
- this.$ = $$[$0];
197
- break;
198
- case 66:
199
- yy.addRel("rel_b", ...$$[$0]);
200
- this.$ = $$[$0];
201
- break;
202
- case 67:
203
- $$[$0].splice(0, 1);
204
- yy.addRel("rel", ...$$[$0]);
205
- this.$ = $$[$0];
206
- break;
207
- case 68:
208
- yy.updateElStyle("update_el_style", ...$$[$0]);
209
- this.$ = $$[$0];
210
- break;
211
- case 69:
212
- yy.updateRelStyle("update_rel_style", ...$$[$0]);
213
- this.$ = $$[$0];
214
- break;
215
- case 70:
216
- yy.updateLayoutConfig("update_layout_config", ...$$[$0]);
217
- this.$ = $$[$0];
218
- break;
219
- case 71:
220
- this.$ = [$$[$0]];
221
- break;
222
- case 72:
223
- $$[$0].unshift($$[$0 - 1]);
224
- this.$ = $$[$0];
225
- break;
226
- case 73:
227
- case 75:
228
- this.$ = $$[$0].trim();
229
- break;
230
- case 74:
231
- let kv = {};
232
- kv[$$[$0 - 1].trim()] = $$[$0].trim();
233
- this.$ = kv;
234
- break;
235
- case 76:
236
- this.$ = "";
237
- break;
238
- }
239
- }, "anonymous"),
240
- 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])],
241
- 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] },
242
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
243
- if (hash.recoverable) {
244
- this.trace(str);
245
- } else {
246
- var error = new Error(str);
247
- error.hash = hash;
248
- throw error;
249
- }
250
- }, "parseError"),
251
- parse: /* @__PURE__ */ __name(function parse(input) {
252
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
253
- var args = lstack.slice.call(arguments, 1);
254
- var lexer2 = Object.create(this.lexer);
255
- var sharedState = { yy: {} };
256
- for (var k in this.yy) {
257
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
258
- sharedState.yy[k] = this.yy[k];
259
- }
260
- }
261
- lexer2.setInput(input, sharedState.yy);
262
- sharedState.yy.lexer = lexer2;
263
- sharedState.yy.parser = this;
264
- if (typeof lexer2.yylloc == "undefined") {
265
- lexer2.yylloc = {};
266
- }
267
- var yyloc = lexer2.yylloc;
268
- lstack.push(yyloc);
269
- var ranges = lexer2.options && lexer2.options.ranges;
270
- if (typeof sharedState.yy.parseError === "function") {
271
- this.parseError = sharedState.yy.parseError;
272
- } else {
273
- this.parseError = Object.getPrototypeOf(this).parseError;
274
- }
275
- function popStack(n) {
276
- stack.length = stack.length - 2 * n;
277
- vstack.length = vstack.length - n;
278
- lstack.length = lstack.length - n;
279
- }
280
- __name(popStack, "popStack");
281
- function lex() {
282
- var token;
283
- token = tstack.pop() || lexer2.lex() || EOF;
284
- if (typeof token !== "number") {
285
- if (token instanceof Array) {
286
- tstack = token;
287
- token = tstack.pop();
288
- }
289
- token = self.symbols_[token] || token;
290
- }
291
- return token;
292
- }
293
- __name(lex, "lex");
294
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
295
- while (true) {
296
- state = stack[stack.length - 1];
297
- if (this.defaultActions[state]) {
298
- action = this.defaultActions[state];
299
- } else {
300
- if (symbol === null || typeof symbol == "undefined") {
301
- symbol = lex();
302
- }
303
- action = table[state] && table[state][symbol];
304
- }
305
- if (typeof action === "undefined" || !action.length || !action[0]) {
306
- var errStr = "";
307
- expected = [];
308
- for (p in table[state]) {
309
- if (this.terminals_[p] && p > TERROR) {
310
- expected.push("'" + this.terminals_[p] + "'");
311
- }
312
- }
313
- if (lexer2.showPosition) {
314
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
315
- } else {
316
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
317
- }
318
- this.parseError(errStr, {
319
- text: lexer2.match,
320
- token: this.terminals_[symbol] || symbol,
321
- line: lexer2.yylineno,
322
- loc: yyloc,
323
- expected
324
- });
325
- }
326
- if (action[0] instanceof Array && action.length > 1) {
327
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
328
- }
329
- switch (action[0]) {
330
- case 1:
331
- stack.push(symbol);
332
- vstack.push(lexer2.yytext);
333
- lstack.push(lexer2.yylloc);
334
- stack.push(action[1]);
335
- symbol = null;
336
- {
337
- yyleng = lexer2.yyleng;
338
- yytext = lexer2.yytext;
339
- yylineno = lexer2.yylineno;
340
- yyloc = lexer2.yylloc;
341
- }
342
- break;
343
- case 2:
344
- len = this.productions_[action[1]][1];
345
- yyval.$ = vstack[vstack.length - len];
346
- yyval._$ = {
347
- first_line: lstack[lstack.length - (len || 1)].first_line,
348
- last_line: lstack[lstack.length - 1].last_line,
349
- first_column: lstack[lstack.length - (len || 1)].first_column,
350
- last_column: lstack[lstack.length - 1].last_column
351
- };
352
- if (ranges) {
353
- yyval._$.range = [
354
- lstack[lstack.length - (len || 1)].range[0],
355
- lstack[lstack.length - 1].range[1]
356
- ];
357
- }
358
- r = this.performAction.apply(yyval, [
359
- yytext,
360
- yyleng,
361
- yylineno,
362
- sharedState.yy,
363
- action[1],
364
- vstack,
365
- lstack
366
- ].concat(args));
367
- if (typeof r !== "undefined") {
368
- return r;
369
- }
370
- if (len) {
371
- stack = stack.slice(0, -1 * len * 2);
372
- vstack = vstack.slice(0, -1 * len);
373
- lstack = lstack.slice(0, -1 * len);
374
- }
375
- stack.push(this.productions_[action[1]][0]);
376
- vstack.push(yyval.$);
377
- lstack.push(yyval._$);
378
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
379
- stack.push(newState);
380
- break;
381
- case 3:
382
- return true;
383
- }
384
- }
385
- return true;
386
- }, "parse")
387
- };
388
- var lexer = /* @__PURE__ */ function() {
389
- var lexer2 = {
390
- EOF: 1,
391
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
392
- if (this.yy.parser) {
393
- this.yy.parser.parseError(str, hash);
394
- } else {
395
- throw new Error(str);
396
- }
397
- }, "parseError"),
398
- // resets the lexer, sets new input
399
- setInput: /* @__PURE__ */ __name(function(input, yy) {
400
- this.yy = yy || this.yy || {};
401
- this._input = input;
402
- this._more = this._backtrack = this.done = false;
403
- this.yylineno = this.yyleng = 0;
404
- this.yytext = this.matched = this.match = "";
405
- this.conditionStack = ["INITIAL"];
406
- this.yylloc = {
407
- first_line: 1,
408
- first_column: 0,
409
- last_line: 1,
410
- last_column: 0
411
- };
412
- if (this.options.ranges) {
413
- this.yylloc.range = [0, 0];
414
- }
415
- this.offset = 0;
416
- return this;
417
- }, "setInput"),
418
- // consumes and returns one char from the input
419
- input: /* @__PURE__ */ __name(function() {
420
- var ch = this._input[0];
421
- this.yytext += ch;
422
- this.yyleng++;
423
- this.offset++;
424
- this.match += ch;
425
- this.matched += ch;
426
- var lines = ch.match(/(?:\r\n?|\n).*/g);
427
- if (lines) {
428
- this.yylineno++;
429
- this.yylloc.last_line++;
430
- } else {
431
- this.yylloc.last_column++;
432
- }
433
- if (this.options.ranges) {
434
- this.yylloc.range[1]++;
435
- }
436
- this._input = this._input.slice(1);
437
- return ch;
438
- }, "input"),
439
- // unshifts one char (or a string) into the input
440
- unput: /* @__PURE__ */ __name(function(ch) {
441
- var len = ch.length;
442
- var lines = ch.split(/(?:\r\n?|\n)/g);
443
- this._input = ch + this._input;
444
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
445
- this.offset -= len;
446
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
447
- this.match = this.match.substr(0, this.match.length - 1);
448
- this.matched = this.matched.substr(0, this.matched.length - 1);
449
- if (lines.length - 1) {
450
- this.yylineno -= lines.length - 1;
451
- }
452
- var r = this.yylloc.range;
453
- this.yylloc = {
454
- first_line: this.yylloc.first_line,
455
- last_line: this.yylineno + 1,
456
- first_column: this.yylloc.first_column,
457
- 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
458
- };
459
- if (this.options.ranges) {
460
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
461
- }
462
- this.yyleng = this.yytext.length;
463
- return this;
464
- }, "unput"),
465
- // When called from action, caches matched text and appends it on next action
466
- more: /* @__PURE__ */ __name(function() {
467
- this._more = true;
468
- return this;
469
- }, "more"),
470
- // 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.
471
- reject: /* @__PURE__ */ __name(function() {
472
- if (this.options.backtrack_lexer) {
473
- this._backtrack = true;
474
- } else {
475
- 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(), {
476
- text: "",
477
- token: null,
478
- line: this.yylineno
479
- });
480
- }
481
- return this;
482
- }, "reject"),
483
- // retain first n characters of the match
484
- less: /* @__PURE__ */ __name(function(n) {
485
- this.unput(this.match.slice(n));
486
- }, "less"),
487
- // displays already matched input, i.e. for error messages
488
- pastInput: /* @__PURE__ */ __name(function() {
489
- var past = this.matched.substr(0, this.matched.length - this.match.length);
490
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
491
- }, "pastInput"),
492
- // displays upcoming input, i.e. for error messages
493
- upcomingInput: /* @__PURE__ */ __name(function() {
494
- var next = this.match;
495
- if (next.length < 20) {
496
- next += this._input.substr(0, 20 - next.length);
497
- }
498
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
499
- }, "upcomingInput"),
500
- // displays the character position where the lexing error occurred, i.e. for error messages
501
- showPosition: /* @__PURE__ */ __name(function() {
502
- var pre = this.pastInput();
503
- var c2 = new Array(pre.length + 1).join("-");
504
- return pre + this.upcomingInput() + "\n" + c2 + "^";
505
- }, "showPosition"),
506
- // test the lexed token: return FALSE when not a match, otherwise return token
507
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
508
- var token, lines, backup;
509
- if (this.options.backtrack_lexer) {
510
- backup = {
511
- yylineno: this.yylineno,
512
- yylloc: {
513
- first_line: this.yylloc.first_line,
514
- last_line: this.last_line,
515
- first_column: this.yylloc.first_column,
516
- last_column: this.yylloc.last_column
517
- },
518
- yytext: this.yytext,
519
- match: this.match,
520
- matches: this.matches,
521
- matched: this.matched,
522
- yyleng: this.yyleng,
523
- offset: this.offset,
524
- _more: this._more,
525
- _input: this._input,
526
- yy: this.yy,
527
- conditionStack: this.conditionStack.slice(0),
528
- done: this.done
529
- };
530
- if (this.options.ranges) {
531
- backup.yylloc.range = this.yylloc.range.slice(0);
532
- }
533
- }
534
- lines = match[0].match(/(?:\r\n?|\n).*/g);
535
- if (lines) {
536
- this.yylineno += lines.length;
537
- }
538
- this.yylloc = {
539
- first_line: this.yylloc.last_line,
540
- last_line: this.yylineno + 1,
541
- first_column: this.yylloc.last_column,
542
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
543
- };
544
- this.yytext += match[0];
545
- this.match += match[0];
546
- this.matches = match;
547
- this.yyleng = this.yytext.length;
548
- if (this.options.ranges) {
549
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
550
- }
551
- this._more = false;
552
- this._backtrack = false;
553
- this._input = this._input.slice(match[0].length);
554
- this.matched += match[0];
555
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
556
- if (this.done && this._input) {
557
- this.done = false;
558
- }
559
- if (token) {
560
- return token;
561
- } else if (this._backtrack) {
562
- for (var k in backup) {
563
- this[k] = backup[k];
564
- }
565
- return false;
566
- }
567
- return false;
568
- }, "test_match"),
569
- // return next match in input
570
- next: /* @__PURE__ */ __name(function() {
571
- if (this.done) {
572
- return this.EOF;
573
- }
574
- if (!this._input) {
575
- this.done = true;
576
- }
577
- var token, match, tempMatch, index;
578
- if (!this._more) {
579
- this.yytext = "";
580
- this.match = "";
581
- }
582
- var rules = this._currentRules();
583
- for (var i = 0; i < rules.length; i++) {
584
- tempMatch = this._input.match(this.rules[rules[i]]);
585
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
586
- match = tempMatch;
587
- index = i;
588
- if (this.options.backtrack_lexer) {
589
- token = this.test_match(tempMatch, rules[i]);
590
- if (token !== false) {
591
- return token;
592
- } else if (this._backtrack) {
593
- match = false;
594
- continue;
595
- } else {
596
- return false;
597
- }
598
- } else if (!this.options.flex) {
599
- break;
600
- }
601
- }
602
- }
603
- if (match) {
604
- token = this.test_match(match, rules[index]);
605
- if (token !== false) {
606
- return token;
607
- }
608
- return false;
609
- }
610
- if (this._input === "") {
611
- return this.EOF;
612
- } else {
613
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
614
- text: "",
615
- token: null,
616
- line: this.yylineno
617
- });
618
- }
619
- }, "next"),
620
- // return next match that has a token
621
- lex: /* @__PURE__ */ __name(function lex() {
622
- var r = this.next();
623
- if (r) {
624
- return r;
625
- } else {
626
- return this.lex();
627
- }
628
- }, "lex"),
629
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
630
- begin: /* @__PURE__ */ __name(function begin(condition) {
631
- this.conditionStack.push(condition);
632
- }, "begin"),
633
- // pop the previously active lexer condition state off the condition stack
634
- popState: /* @__PURE__ */ __name(function popState() {
635
- var n = this.conditionStack.length - 1;
636
- if (n > 0) {
637
- return this.conditionStack.pop();
638
- } else {
639
- return this.conditionStack[0];
640
- }
641
- }, "popState"),
642
- // produce the lexer rule set which is active for the currently active lexer condition state
643
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
644
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
645
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
646
- } else {
647
- return this.conditions["INITIAL"].rules;
648
- }
649
- }, "_currentRules"),
650
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
651
- topState: /* @__PURE__ */ __name(function topState(n) {
652
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
653
- if (n >= 0) {
654
- return this.conditionStack[n];
655
- } else {
656
- return "INITIAL";
657
- }
658
- }, "topState"),
659
- // alias for begin(condition)
660
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
661
- this.begin(condition);
662
- }, "pushState"),
663
- // return the number of states currently on the stack
664
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
665
- return this.conditionStack.length;
666
- }, "stateStackSize"),
667
- options: {},
668
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
669
- switch ($avoiding_name_collisions) {
670
- case 0:
671
- return 6;
672
- case 1:
673
- return 7;
674
- case 2:
675
- return 8;
676
- case 3:
677
- return 9;
678
- case 4:
679
- return 22;
680
- case 5:
681
- return 23;
682
- case 6:
683
- this.begin("acc_title");
684
- return 24;
685
- case 7:
686
- this.popState();
687
- return "acc_title_value";
688
- case 8:
689
- this.begin("acc_descr");
690
- return 26;
691
- case 9:
692
- this.popState();
693
- return "acc_descr_value";
694
- case 10:
695
- this.begin("acc_descr_multiline");
696
- break;
697
- case 11:
698
- this.popState();
699
- break;
700
- case 12:
701
- return "acc_descr_multiline_value";
702
- case 13:
703
- break;
704
- case 14:
705
- c;
706
- break;
707
- case 15:
708
- return 12;
709
- case 16:
710
- break;
711
- case 17:
712
- return 11;
713
- case 18:
714
- return 15;
715
- case 19:
716
- return 16;
717
- case 20:
718
- return 17;
719
- case 21:
720
- return 18;
721
- case 22:
722
- this.begin("person_ext");
723
- return 45;
724
- case 23:
725
- this.begin("person");
726
- return 44;
727
- case 24:
728
- this.begin("system_ext_queue");
729
- return 51;
730
- case 25:
731
- this.begin("system_ext_db");
732
- return 50;
733
- case 26:
734
- this.begin("system_ext");
735
- return 49;
736
- case 27:
737
- this.begin("system_queue");
738
- return 48;
739
- case 28:
740
- this.begin("system_db");
741
- return 47;
742
- case 29:
743
- this.begin("system");
744
- return 46;
745
- case 30:
746
- this.begin("boundary");
747
- return 37;
748
- case 31:
749
- this.begin("enterprise_boundary");
750
- return 34;
751
- case 32:
752
- this.begin("system_boundary");
753
- return 36;
754
- case 33:
755
- this.begin("container_ext_queue");
756
- return 57;
757
- case 34:
758
- this.begin("container_ext_db");
759
- return 56;
760
- case 35:
761
- this.begin("container_ext");
762
- return 55;
763
- case 36:
764
- this.begin("container_queue");
765
- return 54;
766
- case 37:
767
- this.begin("container_db");
768
- return 53;
769
- case 38:
770
- this.begin("container");
771
- return 52;
772
- case 39:
773
- this.begin("container_boundary");
774
- return 38;
775
- case 40:
776
- this.begin("component_ext_queue");
777
- return 63;
778
- case 41:
779
- this.begin("component_ext_db");
780
- return 62;
781
- case 42:
782
- this.begin("component_ext");
783
- return 61;
784
- case 43:
785
- this.begin("component_queue");
786
- return 60;
787
- case 44:
788
- this.begin("component_db");
789
- return 59;
790
- case 45:
791
- this.begin("component");
792
- return 58;
793
- case 46:
794
- this.begin("node");
795
- return 39;
796
- case 47:
797
- this.begin("node");
798
- return 39;
799
- case 48:
800
- this.begin("node_l");
801
- return 40;
802
- case 49:
803
- this.begin("node_r");
804
- return 41;
805
- case 50:
806
- this.begin("rel");
807
- return 64;
808
- case 51:
809
- this.begin("birel");
810
- return 65;
811
- case 52:
812
- this.begin("rel_u");
813
- return 66;
814
- case 53:
815
- this.begin("rel_u");
816
- return 66;
817
- case 54:
818
- this.begin("rel_d");
819
- return 67;
820
- case 55:
821
- this.begin("rel_d");
822
- return 67;
823
- case 56:
824
- this.begin("rel_l");
825
- return 68;
826
- case 57:
827
- this.begin("rel_l");
828
- return 68;
829
- case 58:
830
- this.begin("rel_r");
831
- return 69;
832
- case 59:
833
- this.begin("rel_r");
834
- return 69;
835
- case 60:
836
- this.begin("rel_b");
837
- return 70;
838
- case 61:
839
- this.begin("rel_index");
840
- return 71;
841
- case 62:
842
- this.begin("update_el_style");
843
- return 72;
844
- case 63:
845
- this.begin("update_rel_style");
846
- return 73;
847
- case 64:
848
- this.begin("update_layout_config");
849
- return 74;
850
- case 65:
851
- return "EOF_IN_STRUCT";
852
- case 66:
853
- this.begin("attribute");
854
- return "ATTRIBUTE_EMPTY";
855
- case 67:
856
- this.begin("attribute");
857
- break;
858
- case 68:
859
- this.popState();
860
- this.popState();
861
- break;
862
- case 69:
863
- return 80;
864
- case 70:
865
- break;
866
- case 71:
867
- return 80;
868
- case 72:
869
- this.begin("string");
870
- break;
871
- case 73:
872
- this.popState();
873
- break;
874
- case 74:
875
- return "STR";
876
- case 75:
877
- this.begin("string_kv");
878
- break;
879
- case 76:
880
- this.begin("string_kv_key");
881
- return "STR_KEY";
882
- case 77:
883
- this.popState();
884
- this.begin("string_kv_value");
885
- break;
886
- case 78:
887
- return "STR_VALUE";
888
- case 79:
889
- this.popState();
890
- this.popState();
891
- break;
892
- case 80:
893
- return "STR";
894
- case 81:
895
- return "LBRACE";
896
- case 82:
897
- return "RBRACE";
898
- case 83:
899
- return "SPACE";
900
- case 84:
901
- return "EOL";
902
- case 85:
903
- return 14;
904
- }
905
- }, "anonymous"),
906
- 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]+)/, /^(?:$)/],
907
- 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": [], "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 } }
908
- };
909
- return lexer2;
910
- }();
911
- parser2.lexer = lexer;
912
- function Parser() {
913
- this.yy = {};
914
- }
915
- __name(Parser, "Parser");
916
- Parser.prototype = parser2;
917
- parser2.Parser = Parser;
918
- return new Parser();
919
- }();
920
- parser.parser = parser;
921
- var c4Diagram_default = parser;
922
- var c4ShapeArray = [];
923
- var boundaryParseStack = [""];
924
- var currentBoundaryParse = "global";
925
- var parentBoundaryParse = "";
926
- var boundaries = [
927
- {
928
- alias: "global",
929
- label: { text: "global" },
930
- type: { text: "global" },
931
- tags: null,
932
- link: null,
933
- parentBoundary: ""
934
- }
935
- ];
936
- var rels = [];
937
- var title = "";
938
- var wrapEnabled = false;
939
- var c4ShapeInRow = 4;
940
- var c4BoundaryInRow = 2;
941
- var c4Type;
942
- var getC4Type = /* @__PURE__ */ __name(function() {
943
- return c4Type;
944
- }, "getC4Type");
945
- var setC4Type = /* @__PURE__ */ __name(function(c4TypeParam) {
946
- let sanitizedText = sanitizeText(c4TypeParam, getConfig2());
947
- c4Type = sanitizedText;
948
- }, "setC4Type");
949
- var addRel = /* @__PURE__ */ __name(function(type, from, to, label, techn, descr, sprite, tags, link) {
950
- if (type === void 0 || type === null || from === void 0 || from === null || to === void 0 || to === null || label === void 0 || label === null) {
951
- return;
952
- }
953
- let rel = {};
954
- const old = rels.find((rel2) => rel2.from === from && rel2.to === to);
955
- if (old) {
956
- rel = old;
957
- } else {
958
- rels.push(rel);
959
- }
960
- rel.type = type;
961
- rel.from = from;
962
- rel.to = to;
963
- rel.label = { text: label };
964
- if (techn === void 0 || techn === null) {
965
- rel.techn = { text: "" };
966
- } else {
967
- if (typeof techn === "object") {
968
- let [key, value] = Object.entries(techn)[0];
969
- rel[key] = { text: value };
970
- } else {
971
- rel.techn = { text: techn };
972
- }
973
- }
974
- if (descr === void 0 || descr === null) {
975
- rel.descr = { text: "" };
976
- } else {
977
- if (typeof descr === "object") {
978
- let [key, value] = Object.entries(descr)[0];
979
- rel[key] = { text: value };
980
- } else {
981
- rel.descr = { text: descr };
982
- }
983
- }
984
- if (typeof sprite === "object") {
985
- let [key, value] = Object.entries(sprite)[0];
986
- rel[key] = value;
987
- } else {
988
- rel.sprite = sprite;
989
- }
990
- if (typeof tags === "object") {
991
- let [key, value] = Object.entries(tags)[0];
992
- rel[key] = value;
993
- } else {
994
- rel.tags = tags;
995
- }
996
- if (typeof link === "object") {
997
- let [key, value] = Object.entries(link)[0];
998
- rel[key] = value;
999
- } else {
1000
- rel.link = link;
1001
- }
1002
- rel.wrap = autoWrap();
1003
- }, "addRel");
1004
- var addPersonOrSystem = /* @__PURE__ */ __name(function(typeC4Shape, alias, label, descr, sprite, tags, link) {
1005
- if (alias === null || label === null) {
1006
- return;
1007
- }
1008
- let personOrSystem = {};
1009
- const old = c4ShapeArray.find((personOrSystem2) => personOrSystem2.alias === alias);
1010
- if (old && alias === old.alias) {
1011
- personOrSystem = old;
1012
- } else {
1013
- personOrSystem.alias = alias;
1014
- c4ShapeArray.push(personOrSystem);
1015
- }
1016
- if (label === void 0 || label === null) {
1017
- personOrSystem.label = { text: "" };
1018
- } else {
1019
- personOrSystem.label = { text: label };
1020
- }
1021
- if (descr === void 0 || descr === null) {
1022
- personOrSystem.descr = { text: "" };
1023
- } else {
1024
- if (typeof descr === "object") {
1025
- let [key, value] = Object.entries(descr)[0];
1026
- personOrSystem[key] = { text: value };
1027
- } else {
1028
- personOrSystem.descr = { text: descr };
1029
- }
1030
- }
1031
- if (typeof sprite === "object") {
1032
- let [key, value] = Object.entries(sprite)[0];
1033
- personOrSystem[key] = value;
1034
- } else {
1035
- personOrSystem.sprite = sprite;
1036
- }
1037
- if (typeof tags === "object") {
1038
- let [key, value] = Object.entries(tags)[0];
1039
- personOrSystem[key] = value;
1040
- } else {
1041
- personOrSystem.tags = tags;
1042
- }
1043
- if (typeof link === "object") {
1044
- let [key, value] = Object.entries(link)[0];
1045
- personOrSystem[key] = value;
1046
- } else {
1047
- personOrSystem.link = link;
1048
- }
1049
- personOrSystem.typeC4Shape = { text: typeC4Shape };
1050
- personOrSystem.parentBoundary = currentBoundaryParse;
1051
- personOrSystem.wrap = autoWrap();
1052
- }, "addPersonOrSystem");
1053
- var addContainer = /* @__PURE__ */ __name(function(typeC4Shape, alias, label, techn, descr, sprite, tags, link) {
1054
- if (alias === null || label === null) {
1055
- return;
1056
- }
1057
- let container = {};
1058
- const old = c4ShapeArray.find((container2) => container2.alias === alias);
1059
- if (old && alias === old.alias) {
1060
- container = old;
1061
- } else {
1062
- container.alias = alias;
1063
- c4ShapeArray.push(container);
1064
- }
1065
- if (label === void 0 || label === null) {
1066
- container.label = { text: "" };
1067
- } else {
1068
- container.label = { text: label };
1069
- }
1070
- if (techn === void 0 || techn === null) {
1071
- container.techn = { text: "" };
1072
- } else {
1073
- if (typeof techn === "object") {
1074
- let [key, value] = Object.entries(techn)[0];
1075
- container[key] = { text: value };
1076
- } else {
1077
- container.techn = { text: techn };
1078
- }
1079
- }
1080
- if (descr === void 0 || descr === null) {
1081
- container.descr = { text: "" };
1082
- } else {
1083
- if (typeof descr === "object") {
1084
- let [key, value] = Object.entries(descr)[0];
1085
- container[key] = { text: value };
1086
- } else {
1087
- container.descr = { text: descr };
1088
- }
1089
- }
1090
- if (typeof sprite === "object") {
1091
- let [key, value] = Object.entries(sprite)[0];
1092
- container[key] = value;
1093
- } else {
1094
- container.sprite = sprite;
1095
- }
1096
- if (typeof tags === "object") {
1097
- let [key, value] = Object.entries(tags)[0];
1098
- container[key] = value;
1099
- } else {
1100
- container.tags = tags;
1101
- }
1102
- if (typeof link === "object") {
1103
- let [key, value] = Object.entries(link)[0];
1104
- container[key] = value;
1105
- } else {
1106
- container.link = link;
1107
- }
1108
- container.wrap = autoWrap();
1109
- container.typeC4Shape = { text: typeC4Shape };
1110
- container.parentBoundary = currentBoundaryParse;
1111
- }, "addContainer");
1112
- var addComponent = /* @__PURE__ */ __name(function(typeC4Shape, alias, label, techn, descr, sprite, tags, link) {
1113
- if (alias === null || label === null) {
1114
- return;
1115
- }
1116
- let component = {};
1117
- const old = c4ShapeArray.find((component2) => component2.alias === alias);
1118
- if (old && alias === old.alias) {
1119
- component = old;
1120
- } else {
1121
- component.alias = alias;
1122
- c4ShapeArray.push(component);
1123
- }
1124
- if (label === void 0 || label === null) {
1125
- component.label = { text: "" };
1126
- } else {
1127
- component.label = { text: label };
1128
- }
1129
- if (techn === void 0 || techn === null) {
1130
- component.techn = { text: "" };
1131
- } else {
1132
- if (typeof techn === "object") {
1133
- let [key, value] = Object.entries(techn)[0];
1134
- component[key] = { text: value };
1135
- } else {
1136
- component.techn = { text: techn };
1137
- }
1138
- }
1139
- if (descr === void 0 || descr === null) {
1140
- component.descr = { text: "" };
1141
- } else {
1142
- if (typeof descr === "object") {
1143
- let [key, value] = Object.entries(descr)[0];
1144
- component[key] = { text: value };
1145
- } else {
1146
- component.descr = { text: descr };
1147
- }
1148
- }
1149
- if (typeof sprite === "object") {
1150
- let [key, value] = Object.entries(sprite)[0];
1151
- component[key] = value;
1152
- } else {
1153
- component.sprite = sprite;
1154
- }
1155
- if (typeof tags === "object") {
1156
- let [key, value] = Object.entries(tags)[0];
1157
- component[key] = value;
1158
- } else {
1159
- component.tags = tags;
1160
- }
1161
- if (typeof link === "object") {
1162
- let [key, value] = Object.entries(link)[0];
1163
- component[key] = value;
1164
- } else {
1165
- component.link = link;
1166
- }
1167
- component.wrap = autoWrap();
1168
- component.typeC4Shape = { text: typeC4Shape };
1169
- component.parentBoundary = currentBoundaryParse;
1170
- }, "addComponent");
1171
- var addPersonOrSystemBoundary = /* @__PURE__ */ __name(function(alias, label, type, tags, link) {
1172
- if (alias === null || label === null) {
1173
- return;
1174
- }
1175
- let boundary = {};
1176
- const old = boundaries.find((boundary2) => boundary2.alias === alias);
1177
- if (old && alias === old.alias) {
1178
- boundary = old;
1179
- } else {
1180
- boundary.alias = alias;
1181
- boundaries.push(boundary);
1182
- }
1183
- if (label === void 0 || label === null) {
1184
- boundary.label = { text: "" };
1185
- } else {
1186
- boundary.label = { text: label };
1187
- }
1188
- if (type === void 0 || type === null) {
1189
- boundary.type = { text: "system" };
1190
- } else {
1191
- if (typeof type === "object") {
1192
- let [key, value] = Object.entries(type)[0];
1193
- boundary[key] = { text: value };
1194
- } else {
1195
- boundary.type = { text: type };
1196
- }
1197
- }
1198
- if (typeof tags === "object") {
1199
- let [key, value] = Object.entries(tags)[0];
1200
- boundary[key] = value;
1201
- } else {
1202
- boundary.tags = tags;
1203
- }
1204
- if (typeof link === "object") {
1205
- let [key, value] = Object.entries(link)[0];
1206
- boundary[key] = value;
1207
- } else {
1208
- boundary.link = link;
1209
- }
1210
- boundary.parentBoundary = currentBoundaryParse;
1211
- boundary.wrap = autoWrap();
1212
- parentBoundaryParse = currentBoundaryParse;
1213
- currentBoundaryParse = alias;
1214
- boundaryParseStack.push(parentBoundaryParse);
1215
- }, "addPersonOrSystemBoundary");
1216
- var addContainerBoundary = /* @__PURE__ */ __name(function(alias, label, type, tags, link) {
1217
- if (alias === null || label === null) {
1218
- return;
1219
- }
1220
- let boundary = {};
1221
- const old = boundaries.find((boundary2) => boundary2.alias === alias);
1222
- if (old && alias === old.alias) {
1223
- boundary = old;
1224
- } else {
1225
- boundary.alias = alias;
1226
- boundaries.push(boundary);
1227
- }
1228
- if (label === void 0 || label === null) {
1229
- boundary.label = { text: "" };
1230
- } else {
1231
- boundary.label = { text: label };
1232
- }
1233
- if (type === void 0 || type === null) {
1234
- boundary.type = { text: "container" };
1235
- } else {
1236
- if (typeof type === "object") {
1237
- let [key, value] = Object.entries(type)[0];
1238
- boundary[key] = { text: value };
1239
- } else {
1240
- boundary.type = { text: type };
1241
- }
1242
- }
1243
- if (typeof tags === "object") {
1244
- let [key, value] = Object.entries(tags)[0];
1245
- boundary[key] = value;
1246
- } else {
1247
- boundary.tags = tags;
1248
- }
1249
- if (typeof link === "object") {
1250
- let [key, value] = Object.entries(link)[0];
1251
- boundary[key] = value;
1252
- } else {
1253
- boundary.link = link;
1254
- }
1255
- boundary.parentBoundary = currentBoundaryParse;
1256
- boundary.wrap = autoWrap();
1257
- parentBoundaryParse = currentBoundaryParse;
1258
- currentBoundaryParse = alias;
1259
- boundaryParseStack.push(parentBoundaryParse);
1260
- }, "addContainerBoundary");
1261
- var addDeploymentNode = /* @__PURE__ */ __name(function(nodeType, alias, label, type, descr, sprite, tags, link) {
1262
- if (alias === null || label === null) {
1263
- return;
1264
- }
1265
- let boundary = {};
1266
- const old = boundaries.find((boundary2) => boundary2.alias === alias);
1267
- if (old && alias === old.alias) {
1268
- boundary = old;
1269
- } else {
1270
- boundary.alias = alias;
1271
- boundaries.push(boundary);
1272
- }
1273
- if (label === void 0 || label === null) {
1274
- boundary.label = { text: "" };
1275
- } else {
1276
- boundary.label = { text: label };
1277
- }
1278
- if (type === void 0 || type === null) {
1279
- boundary.type = { text: "node" };
1280
- } else {
1281
- if (typeof type === "object") {
1282
- let [key, value] = Object.entries(type)[0];
1283
- boundary[key] = { text: value };
1284
- } else {
1285
- boundary.type = { text: type };
1286
- }
1287
- }
1288
- if (descr === void 0 || descr === null) {
1289
- boundary.descr = { text: "" };
1290
- } else {
1291
- if (typeof descr === "object") {
1292
- let [key, value] = Object.entries(descr)[0];
1293
- boundary[key] = { text: value };
1294
- } else {
1295
- boundary.descr = { text: descr };
1296
- }
1297
- }
1298
- if (typeof tags === "object") {
1299
- let [key, value] = Object.entries(tags)[0];
1300
- boundary[key] = value;
1301
- } else {
1302
- boundary.tags = tags;
1303
- }
1304
- if (typeof link === "object") {
1305
- let [key, value] = Object.entries(link)[0];
1306
- boundary[key] = value;
1307
- } else {
1308
- boundary.link = link;
1309
- }
1310
- boundary.nodeType = nodeType;
1311
- boundary.parentBoundary = currentBoundaryParse;
1312
- boundary.wrap = autoWrap();
1313
- parentBoundaryParse = currentBoundaryParse;
1314
- currentBoundaryParse = alias;
1315
- boundaryParseStack.push(parentBoundaryParse);
1316
- }, "addDeploymentNode");
1317
- var popBoundaryParseStack = /* @__PURE__ */ __name(function() {
1318
- currentBoundaryParse = parentBoundaryParse;
1319
- boundaryParseStack.pop();
1320
- parentBoundaryParse = boundaryParseStack.pop();
1321
- boundaryParseStack.push(parentBoundaryParse);
1322
- }, "popBoundaryParseStack");
1323
- var updateElStyle = /* @__PURE__ */ __name(function(typeC4Shape, elementName, bgColor, fontColor, borderColor, shadowing, shape, sprite, techn, legendText, legendSprite) {
1324
- let old = c4ShapeArray.find((element) => element.alias === elementName);
1325
- if (old === void 0) {
1326
- old = boundaries.find((element) => element.alias === elementName);
1327
- if (old === void 0) {
1328
- return;
1329
- }
1330
- }
1331
- if (bgColor !== void 0 && bgColor !== null) {
1332
- if (typeof bgColor === "object") {
1333
- let [key, value] = Object.entries(bgColor)[0];
1334
- old[key] = value;
1335
- } else {
1336
- old.bgColor = bgColor;
1337
- }
1338
- }
1339
- if (fontColor !== void 0 && fontColor !== null) {
1340
- if (typeof fontColor === "object") {
1341
- let [key, value] = Object.entries(fontColor)[0];
1342
- old[key] = value;
1343
- } else {
1344
- old.fontColor = fontColor;
1345
- }
1346
- }
1347
- if (borderColor !== void 0 && borderColor !== null) {
1348
- if (typeof borderColor === "object") {
1349
- let [key, value] = Object.entries(borderColor)[0];
1350
- old[key] = value;
1351
- } else {
1352
- old.borderColor = borderColor;
1353
- }
1354
- }
1355
- if (shadowing !== void 0 && shadowing !== null) {
1356
- if (typeof shadowing === "object") {
1357
- let [key, value] = Object.entries(shadowing)[0];
1358
- old[key] = value;
1359
- } else {
1360
- old.shadowing = shadowing;
1361
- }
1362
- }
1363
- if (shape !== void 0 && shape !== null) {
1364
- if (typeof shape === "object") {
1365
- let [key, value] = Object.entries(shape)[0];
1366
- old[key] = value;
1367
- } else {
1368
- old.shape = shape;
1369
- }
1370
- }
1371
- if (sprite !== void 0 && sprite !== null) {
1372
- if (typeof sprite === "object") {
1373
- let [key, value] = Object.entries(sprite)[0];
1374
- old[key] = value;
1375
- } else {
1376
- old.sprite = sprite;
1377
- }
1378
- }
1379
- if (techn !== void 0 && techn !== null) {
1380
- if (typeof techn === "object") {
1381
- let [key, value] = Object.entries(techn)[0];
1382
- old[key] = value;
1383
- } else {
1384
- old.techn = techn;
1385
- }
1386
- }
1387
- if (legendText !== void 0 && legendText !== null) {
1388
- if (typeof legendText === "object") {
1389
- let [key, value] = Object.entries(legendText)[0];
1390
- old[key] = value;
1391
- } else {
1392
- old.legendText = legendText;
1393
- }
1394
- }
1395
- if (legendSprite !== void 0 && legendSprite !== null) {
1396
- if (typeof legendSprite === "object") {
1397
- let [key, value] = Object.entries(legendSprite)[0];
1398
- old[key] = value;
1399
- } else {
1400
- old.legendSprite = legendSprite;
1401
- }
1402
- }
1403
- }, "updateElStyle");
1404
- var updateRelStyle = /* @__PURE__ */ __name(function(typeC4Shape, from, to, textColor, lineColor, offsetX, offsetY) {
1405
- const old = rels.find((rel) => rel.from === from && rel.to === to);
1406
- if (old === void 0) {
1407
- return;
1408
- }
1409
- if (textColor !== void 0 && textColor !== null) {
1410
- if (typeof textColor === "object") {
1411
- let [key, value] = Object.entries(textColor)[0];
1412
- old[key] = value;
1413
- } else {
1414
- old.textColor = textColor;
1415
- }
1416
- }
1417
- if (lineColor !== void 0 && lineColor !== null) {
1418
- if (typeof lineColor === "object") {
1419
- let [key, value] = Object.entries(lineColor)[0];
1420
- old[key] = value;
1421
- } else {
1422
- old.lineColor = lineColor;
1423
- }
1424
- }
1425
- if (offsetX !== void 0 && offsetX !== null) {
1426
- if (typeof offsetX === "object") {
1427
- let [key, value] = Object.entries(offsetX)[0];
1428
- old[key] = parseInt(value);
1429
- } else {
1430
- old.offsetX = parseInt(offsetX);
1431
- }
1432
- }
1433
- if (offsetY !== void 0 && offsetY !== null) {
1434
- if (typeof offsetY === "object") {
1435
- let [key, value] = Object.entries(offsetY)[0];
1436
- old[key] = parseInt(value);
1437
- } else {
1438
- old.offsetY = parseInt(offsetY);
1439
- }
1440
- }
1441
- }, "updateRelStyle");
1442
- var updateLayoutConfig = /* @__PURE__ */ __name(function(typeC4Shape, c4ShapeInRowParam, c4BoundaryInRowParam) {
1443
- let c4ShapeInRowValue = c4ShapeInRow;
1444
- let c4BoundaryInRowValue = c4BoundaryInRow;
1445
- if (typeof c4ShapeInRowParam === "object") {
1446
- const value = Object.values(c4ShapeInRowParam)[0];
1447
- c4ShapeInRowValue = parseInt(value);
1448
- } else {
1449
- c4ShapeInRowValue = parseInt(c4ShapeInRowParam);
1450
- }
1451
- if (typeof c4BoundaryInRowParam === "object") {
1452
- const value = Object.values(c4BoundaryInRowParam)[0];
1453
- c4BoundaryInRowValue = parseInt(value);
1454
- } else {
1455
- c4BoundaryInRowValue = parseInt(c4BoundaryInRowParam);
1456
- }
1457
- if (c4ShapeInRowValue >= 1) {
1458
- c4ShapeInRow = c4ShapeInRowValue;
1459
- }
1460
- if (c4BoundaryInRowValue >= 1) {
1461
- c4BoundaryInRow = c4BoundaryInRowValue;
1462
- }
1463
- }, "updateLayoutConfig");
1464
- var getC4ShapeInRow = /* @__PURE__ */ __name(function() {
1465
- return c4ShapeInRow;
1466
- }, "getC4ShapeInRow");
1467
- var getC4BoundaryInRow = /* @__PURE__ */ __name(function() {
1468
- return c4BoundaryInRow;
1469
- }, "getC4BoundaryInRow");
1470
- var getCurrentBoundaryParse = /* @__PURE__ */ __name(function() {
1471
- return currentBoundaryParse;
1472
- }, "getCurrentBoundaryParse");
1473
- var getParentBoundaryParse = /* @__PURE__ */ __name(function() {
1474
- return parentBoundaryParse;
1475
- }, "getParentBoundaryParse");
1476
- var getC4ShapeArray = /* @__PURE__ */ __name(function(parentBoundary) {
1477
- if (parentBoundary === void 0 || parentBoundary === null) {
1478
- return c4ShapeArray;
1479
- } else {
1480
- return c4ShapeArray.filter((personOrSystem) => {
1481
- return personOrSystem.parentBoundary === parentBoundary;
1482
- });
1483
- }
1484
- }, "getC4ShapeArray");
1485
- var getC4Shape = /* @__PURE__ */ __name(function(alias) {
1486
- return c4ShapeArray.find((personOrSystem) => personOrSystem.alias === alias);
1487
- }, "getC4Shape");
1488
- var getC4ShapeKeys = /* @__PURE__ */ __name(function(parentBoundary) {
1489
- return Object.keys(getC4ShapeArray(parentBoundary));
1490
- }, "getC4ShapeKeys");
1491
- var getBoundaries = /* @__PURE__ */ __name(function(parentBoundary) {
1492
- if (parentBoundary === void 0 || parentBoundary === null) {
1493
- return boundaries;
1494
- } else {
1495
- return boundaries.filter((boundary) => boundary.parentBoundary === parentBoundary);
1496
- }
1497
- }, "getBoundaries");
1498
- var getBoundarys = getBoundaries;
1499
- var getRels = /* @__PURE__ */ __name(function() {
1500
- return rels;
1501
- }, "getRels");
1502
- var getTitle = /* @__PURE__ */ __name(function() {
1503
- return title;
1504
- }, "getTitle");
1505
- var setWrap = /* @__PURE__ */ __name(function(wrapSetting) {
1506
- wrapEnabled = wrapSetting;
1507
- }, "setWrap");
1508
- var autoWrap = /* @__PURE__ */ __name(function() {
1509
- return wrapEnabled;
1510
- }, "autoWrap");
1511
- var clear = /* @__PURE__ */ __name(function() {
1512
- c4ShapeArray = [];
1513
- boundaries = [
1514
- {
1515
- alias: "global",
1516
- label: { text: "global" },
1517
- type: { text: "global" },
1518
- tags: null,
1519
- link: null,
1520
- parentBoundary: ""
1521
- }
1522
- ];
1523
- parentBoundaryParse = "";
1524
- currentBoundaryParse = "global";
1525
- boundaryParseStack = [""];
1526
- rels = [];
1527
- boundaryParseStack = [""];
1528
- title = "";
1529
- wrapEnabled = false;
1530
- c4ShapeInRow = 4;
1531
- c4BoundaryInRow = 2;
1532
- }, "clear");
1533
- var LINETYPE = {
1534
- SOLID: 0,
1535
- DOTTED: 1,
1536
- NOTE: 2,
1537
- SOLID_CROSS: 3,
1538
- DOTTED_CROSS: 4,
1539
- SOLID_OPEN: 5,
1540
- DOTTED_OPEN: 6,
1541
- LOOP_START: 10,
1542
- LOOP_END: 11,
1543
- ALT_START: 12,
1544
- ALT_ELSE: 13,
1545
- ALT_END: 14,
1546
- OPT_START: 15,
1547
- OPT_END: 16,
1548
- ACTIVE_START: 17,
1549
- ACTIVE_END: 18,
1550
- PAR_START: 19,
1551
- PAR_AND: 20,
1552
- PAR_END: 21,
1553
- RECT_START: 22,
1554
- RECT_END: 23,
1555
- SOLID_POINT: 24,
1556
- DOTTED_POINT: 25
1557
- };
1558
- var ARROWTYPE = {
1559
- FILLED: 0,
1560
- OPEN: 1
1561
- };
1562
- var PLACEMENT = {
1563
- LEFTOF: 0,
1564
- RIGHTOF: 1,
1565
- OVER: 2
1566
- };
1567
- var setTitle = /* @__PURE__ */ __name(function(txt) {
1568
- let sanitizedText = sanitizeText(txt, getConfig2());
1569
- title = sanitizedText;
1570
- }, "setTitle");
1571
- var c4Db_default = {
1572
- addPersonOrSystem,
1573
- addPersonOrSystemBoundary,
1574
- addContainer,
1575
- addContainerBoundary,
1576
- addComponent,
1577
- addDeploymentNode,
1578
- popBoundaryParseStack,
1579
- addRel,
1580
- updateElStyle,
1581
- updateRelStyle,
1582
- updateLayoutConfig,
1583
- autoWrap,
1584
- setWrap,
1585
- getC4ShapeArray,
1586
- getC4Shape,
1587
- getC4ShapeKeys,
1588
- getBoundaries,
1589
- getBoundarys,
1590
- getCurrentBoundaryParse,
1591
- getParentBoundaryParse,
1592
- getRels,
1593
- getTitle,
1594
- getC4Type,
1595
- getC4ShapeInRow,
1596
- getC4BoundaryInRow,
1597
- setAccTitle,
1598
- getAccTitle,
1599
- getAccDescription,
1600
- setAccDescription,
1601
- getConfig: /* @__PURE__ */ __name(() => getConfig2().c4, "getConfig"),
1602
- clear,
1603
- LINETYPE,
1604
- ARROWTYPE,
1605
- PLACEMENT,
1606
- setTitle,
1607
- setC4Type
1608
- // apply,
1609
- };
1610
- var drawRect2 = /* @__PURE__ */ __name(function(elem, rectData) {
1611
- return drawRect(elem, rectData);
1612
- }, "drawRect");
1613
- var drawImage = /* @__PURE__ */ __name(function(elem, width, height, x, y, link) {
1614
- const imageElem = elem.append("image");
1615
- imageElem.attr("width", width);
1616
- imageElem.attr("height", height);
1617
- imageElem.attr("x", x);
1618
- imageElem.attr("y", y);
1619
- let sanitizedLink = link.startsWith("data:image/png;base64") ? link : distExports.sanitizeUrl(link);
1620
- imageElem.attr("xlink:href", sanitizedLink);
1621
- }, "drawImage");
1622
- var drawRels = /* @__PURE__ */ __name((elem, rels2, conf2) => {
1623
- const relsElem = elem.append("g");
1624
- let i = 0;
1625
- for (let rel of rels2) {
1626
- let textColor = rel.textColor ? rel.textColor : "#444444";
1627
- let strokeColor = rel.lineColor ? rel.lineColor : "#444444";
1628
- let offsetX = rel.offsetX ? parseInt(rel.offsetX) : 0;
1629
- let offsetY = rel.offsetY ? parseInt(rel.offsetY) : 0;
1630
- let url = "";
1631
- if (i === 0) {
1632
- let line = relsElem.append("line");
1633
- line.attr("x1", rel.startPoint.x);
1634
- line.attr("y1", rel.startPoint.y);
1635
- line.attr("x2", rel.endPoint.x);
1636
- line.attr("y2", rel.endPoint.y);
1637
- line.attr("stroke-width", "1");
1638
- line.attr("stroke", strokeColor);
1639
- line.style("fill", "none");
1640
- if (rel.type !== "rel_b") {
1641
- line.attr("marker-end", "url(" + url + "#arrowhead)");
1642
- }
1643
- if (rel.type === "birel" || rel.type === "rel_b") {
1644
- line.attr("marker-start", "url(" + url + "#arrowend)");
1645
- }
1646
- i = -1;
1647
- } else {
1648
- let line = relsElem.append("path");
1649
- line.attr("fill", "none").attr("stroke-width", "1").attr("stroke", strokeColor).attr(
1650
- "d",
1651
- "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", rel.startPoint.x).replaceAll("starty", rel.startPoint.y).replaceAll(
1652
- "controlx",
1653
- rel.startPoint.x + (rel.endPoint.x - rel.startPoint.x) / 2 - (rel.endPoint.x - rel.startPoint.x) / 4
1654
- ).replaceAll("controly", rel.startPoint.y + (rel.endPoint.y - rel.startPoint.y) / 2).replaceAll("stopx", rel.endPoint.x).replaceAll("stopy", rel.endPoint.y)
1655
- );
1656
- if (rel.type !== "rel_b") {
1657
- line.attr("marker-end", "url(" + url + "#arrowhead)");
1658
- }
1659
- if (rel.type === "birel" || rel.type === "rel_b") {
1660
- line.attr("marker-start", "url(" + url + "#arrowend)");
1661
- }
1662
- }
1663
- let messageConf = conf2.messageFont();
1664
- _drawTextCandidateFunc(conf2)(
1665
- rel.label.text,
1666
- relsElem,
1667
- Math.min(rel.startPoint.x, rel.endPoint.x) + Math.abs(rel.endPoint.x - rel.startPoint.x) / 2 + offsetX,
1668
- Math.min(rel.startPoint.y, rel.endPoint.y) + Math.abs(rel.endPoint.y - rel.startPoint.y) / 2 + offsetY,
1669
- rel.label.width,
1670
- rel.label.height,
1671
- { fill: textColor },
1672
- messageConf
1673
- );
1674
- if (rel.techn && rel.techn.text !== "") {
1675
- messageConf = conf2.messageFont();
1676
- _drawTextCandidateFunc(conf2)(
1677
- "[" + rel.techn.text + "]",
1678
- relsElem,
1679
- Math.min(rel.startPoint.x, rel.endPoint.x) + Math.abs(rel.endPoint.x - rel.startPoint.x) / 2 + offsetX,
1680
- Math.min(rel.startPoint.y, rel.endPoint.y) + Math.abs(rel.endPoint.y - rel.startPoint.y) / 2 + conf2.messageFontSize + 5 + offsetY,
1681
- Math.max(rel.label.width, rel.techn.width),
1682
- rel.techn.height,
1683
- { fill: textColor, "font-style": "italic" },
1684
- messageConf
1685
- );
1686
- }
1687
- }
1688
- }, "drawRels");
1689
- var drawBoundary = /* @__PURE__ */ __name(function(elem, boundary, conf2) {
1690
- const boundaryElem = elem.append("g");
1691
- let fillColor = boundary.bgColor ? boundary.bgColor : "none";
1692
- let strokeColor = boundary.borderColor ? boundary.borderColor : "#444444";
1693
- let fontColor = boundary.fontColor ? boundary.fontColor : "black";
1694
- let attrsValue = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1695
- if (boundary.nodeType) {
1696
- attrsValue = { "stroke-width": 1 };
1697
- }
1698
- let rectData = {
1699
- x: boundary.x,
1700
- y: boundary.y,
1701
- fill: fillColor,
1702
- stroke: strokeColor,
1703
- width: boundary.width,
1704
- height: boundary.height,
1705
- rx: 2.5,
1706
- ry: 2.5,
1707
- attrs: attrsValue
1708
- };
1709
- drawRect2(boundaryElem, rectData);
1710
- let boundaryConf = conf2.boundaryFont();
1711
- boundaryConf.fontWeight = "bold";
1712
- boundaryConf.fontSize = boundaryConf.fontSize + 2;
1713
- boundaryConf.fontColor = fontColor;
1714
- _drawTextCandidateFunc(conf2)(
1715
- boundary.label.text,
1716
- boundaryElem,
1717
- boundary.x,
1718
- boundary.y + boundary.label.Y,
1719
- boundary.width,
1720
- boundary.height,
1721
- { fill: "#444444" },
1722
- boundaryConf
1723
- );
1724
- if (boundary.type && boundary.type.text !== "") {
1725
- boundaryConf = conf2.boundaryFont();
1726
- boundaryConf.fontColor = fontColor;
1727
- _drawTextCandidateFunc(conf2)(
1728
- boundary.type.text,
1729
- boundaryElem,
1730
- boundary.x,
1731
- boundary.y + boundary.type.Y,
1732
- boundary.width,
1733
- boundary.height,
1734
- { fill: "#444444" },
1735
- boundaryConf
1736
- );
1737
- }
1738
- if (boundary.descr && boundary.descr.text !== "") {
1739
- boundaryConf = conf2.boundaryFont();
1740
- boundaryConf.fontSize = boundaryConf.fontSize - 2;
1741
- boundaryConf.fontColor = fontColor;
1742
- _drawTextCandidateFunc(conf2)(
1743
- boundary.descr.text,
1744
- boundaryElem,
1745
- boundary.x,
1746
- boundary.y + boundary.descr.Y,
1747
- boundary.width,
1748
- boundary.height,
1749
- { fill: "#444444" },
1750
- boundaryConf
1751
- );
1752
- }
1753
- }, "drawBoundary");
1754
- var drawC4Shape = /* @__PURE__ */ __name(function(elem, c4Shape, conf2) {
1755
- var _a2;
1756
- let fillColor = c4Shape.bgColor ? c4Shape.bgColor : conf2[c4Shape.typeC4Shape.text + "_bg_color"];
1757
- let strokeColor = c4Shape.borderColor ? c4Shape.borderColor : conf2[c4Shape.typeC4Shape.text + "_border_color"];
1758
- let fontColor = c4Shape.fontColor ? c4Shape.fontColor : "#FFFFFF";
1759
- let personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1760
- switch (c4Shape.typeC4Shape.text) {
1761
- case "person":
1762
- personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1763
- break;
1764
- case "external_person":
1765
- personImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1766
- break;
1767
- }
1768
- const c4ShapeElem = elem.append("g");
1769
- c4ShapeElem.attr("class", "person-man");
1770
- const rect = getNoteRect();
1771
- switch (c4Shape.typeC4Shape.text) {
1772
- case "person":
1773
- case "external_person":
1774
- case "system":
1775
- case "external_system":
1776
- case "container":
1777
- case "external_container":
1778
- case "component":
1779
- case "external_component":
1780
- rect.x = c4Shape.x;
1781
- rect.y = c4Shape.y;
1782
- rect.fill = fillColor;
1783
- rect.width = c4Shape.width;
1784
- rect.height = c4Shape.height;
1785
- rect.stroke = strokeColor;
1786
- rect.rx = 2.5;
1787
- rect.ry = 2.5;
1788
- rect.attrs = { "stroke-width": 0.5 };
1789
- drawRect2(c4ShapeElem, rect);
1790
- break;
1791
- case "system_db":
1792
- case "external_system_db":
1793
- case "container_db":
1794
- case "external_container_db":
1795
- case "component_db":
1796
- case "external_component_db":
1797
- c4ShapeElem.append("path").attr("fill", fillColor).attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1798
- "d",
1799
- "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)
1800
- );
1801
- c4ShapeElem.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1802
- "d",
1803
- "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)
1804
- );
1805
- break;
1806
- case "system_queue":
1807
- case "external_system_queue":
1808
- case "container_queue":
1809
- case "external_container_queue":
1810
- case "component_queue":
1811
- case "external_component_queue":
1812
- c4ShapeElem.append("path").attr("fill", fillColor).attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1813
- "d",
1814
- "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)
1815
- );
1816
- c4ShapeElem.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", strokeColor).attr(
1817
- "d",
1818
- "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)
1819
- );
1820
- break;
1821
- }
1822
- let c4ShapeFontConf = getC4ShapeFont(conf2, c4Shape.typeC4Shape.text);
1823
- 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 + ">>");
1824
- switch (c4Shape.typeC4Shape.text) {
1825
- case "person":
1826
- case "external_person":
1827
- drawImage(
1828
- c4ShapeElem,
1829
- 48,
1830
- 48,
1831
- c4Shape.x + c4Shape.width / 2 - 24,
1832
- c4Shape.y + c4Shape.image.Y,
1833
- personImg
1834
- );
1835
- break;
1836
- }
1837
- let textFontConf = conf2[c4Shape.typeC4Shape.text + "Font"]();
1838
- textFontConf.fontWeight = "bold";
1839
- textFontConf.fontSize = textFontConf.fontSize + 2;
1840
- textFontConf.fontColor = fontColor;
1841
- _drawTextCandidateFunc(conf2)(
1842
- c4Shape.label.text,
1843
- c4ShapeElem,
1844
- c4Shape.x,
1845
- c4Shape.y + c4Shape.label.Y,
1846
- c4Shape.width,
1847
- c4Shape.height,
1848
- { fill: fontColor },
1849
- textFontConf
1850
- );
1851
- textFontConf = conf2[c4Shape.typeC4Shape.text + "Font"]();
1852
- textFontConf.fontColor = fontColor;
1853
- if (c4Shape.techn && ((_a2 = c4Shape.techn) == null ? void 0 : _a2.text) !== "") {
1854
- _drawTextCandidateFunc(conf2)(
1855
- c4Shape.techn.text,
1856
- c4ShapeElem,
1857
- c4Shape.x,
1858
- c4Shape.y + c4Shape.techn.Y,
1859
- c4Shape.width,
1860
- c4Shape.height,
1861
- { fill: fontColor, "font-style": "italic" },
1862
- textFontConf
1863
- );
1864
- } else if (c4Shape.type && c4Shape.type.text !== "") {
1865
- _drawTextCandidateFunc(conf2)(
1866
- c4Shape.type.text,
1867
- c4ShapeElem,
1868
- c4Shape.x,
1869
- c4Shape.y + c4Shape.type.Y,
1870
- c4Shape.width,
1871
- c4Shape.height,
1872
- { fill: fontColor, "font-style": "italic" },
1873
- textFontConf
1874
- );
1875
- }
1876
- if (c4Shape.descr && c4Shape.descr.text !== "") {
1877
- textFontConf = conf2.personFont();
1878
- textFontConf.fontColor = fontColor;
1879
- _drawTextCandidateFunc(conf2)(
1880
- c4Shape.descr.text,
1881
- c4ShapeElem,
1882
- c4Shape.x,
1883
- c4Shape.y + c4Shape.descr.Y,
1884
- c4Shape.width,
1885
- c4Shape.height,
1886
- { fill: fontColor },
1887
- textFontConf
1888
- );
1889
- }
1890
- return c4Shape.height;
1891
- }, "drawC4Shape");
1892
- var insertDatabaseIcon = /* @__PURE__ */ __name(function(elem) {
1893
- elem.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1894
- "d",
1895
- "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"
1896
- );
1897
- }, "insertDatabaseIcon");
1898
- var insertComputerIcon = /* @__PURE__ */ __name(function(elem) {
1899
- elem.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1900
- "d",
1901
- "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"
1902
- );
1903
- }, "insertComputerIcon");
1904
- var insertClockIcon = /* @__PURE__ */ __name(function(elem) {
1905
- elem.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1906
- "d",
1907
- "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"
1908
- );
1909
- }, "insertClockIcon");
1910
- var insertArrowHead = /* @__PURE__ */ __name(function(elem) {
1911
- elem.append("defs").append("marker").attr("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");
1912
- }, "insertArrowHead");
1913
- var insertArrowEnd = /* @__PURE__ */ __name(function(elem) {
1914
- elem.append("defs").append("marker").attr("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");
1915
- }, "insertArrowEnd");
1916
- var insertArrowFilledHead = /* @__PURE__ */ __name(function(elem) {
1917
- elem.append("defs").append("marker").attr("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");
1918
- }, "insertArrowFilledHead");
1919
- var insertDynamicNumber = /* @__PURE__ */ __name(function(elem) {
1920
- elem.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1921
- }, "insertDynamicNumber");
1922
- var insertArrowCrossHead = /* @__PURE__ */ __name(function(elem) {
1923
- const defs = elem.append("defs");
1924
- const marker = defs.append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1925
- 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");
1926
- 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");
1927
- }, "insertArrowCrossHead");
1928
- var getC4ShapeFont = /* @__PURE__ */ __name((cnf, typeC4Shape) => {
1929
- return {
1930
- fontFamily: cnf[typeC4Shape + "FontFamily"],
1931
- fontSize: cnf[typeC4Shape + "FontSize"],
1932
- fontWeight: cnf[typeC4Shape + "FontWeight"]
1933
- };
1934
- }, "getC4ShapeFont");
1935
- var _drawTextCandidateFunc = /* @__PURE__ */ function() {
1936
- function byText(content, g, x, y, width, height, textAttrs) {
1937
- const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("text-anchor", "middle").text(content);
1938
- _setTextAttrs(text, textAttrs);
1939
- }
1940
- __name(byText, "byText");
1941
- function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
1942
- const { fontSize, fontFamily, fontWeight } = conf2;
1943
- const lines = content.split(common_default.lineBreakRegex);
1944
- for (let i = 0; i < lines.length; i++) {
1945
- const dy = i * fontSize - fontSize * (lines.length - 1) / 2;
1946
- 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);
1947
- text.append("tspan").attr("dy", dy).text(lines[i]).attr("alignment-baseline", "mathematical");
1948
- _setTextAttrs(text, textAttrs);
1949
- }
1950
- }
1951
- __name(byTspan, "byTspan");
1952
- function byFo(content, g, x, y, width, height, textAttrs, conf2) {
1953
- const s = g.append("switch");
1954
- const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
1955
- const text = f.append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1956
- text.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(content);
1957
- byTspan(content, s, x, y, width, height, textAttrs, conf2);
1958
- _setTextAttrs(text, textAttrs);
1959
- }
1960
- __name(byFo, "byFo");
1961
- function _setTextAttrs(toText, fromTextAttrsDict) {
1962
- for (const key in fromTextAttrsDict) {
1963
- if (fromTextAttrsDict.hasOwnProperty(key)) {
1964
- toText.attr(key, fromTextAttrsDict[key]);
1965
- }
1966
- }
1967
- }
1968
- __name(_setTextAttrs, "_setTextAttrs");
1969
- return function(conf2) {
1970
- return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
1971
- };
1972
- }();
1973
- var svgDraw_default = {
1974
- drawRect: drawRect2,
1975
- drawBoundary,
1976
- drawC4Shape,
1977
- drawRels,
1978
- drawImage,
1979
- insertArrowHead,
1980
- insertArrowEnd,
1981
- insertArrowFilledHead,
1982
- insertDynamicNumber,
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
- }, __name(_a, "Bounds"), _a);
2072
- var setConf = /* @__PURE__ */ __name(function(cnf) {
2073
- 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__ */ __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__ */ __name((cnf) => {
2092
- return {
2093
- fontFamily: cnf.boundaryFontFamily,
2094
- fontSize: cnf.boundaryFontSize,
2095
- fontWeight: cnf.boundaryFontWeight
2096
- };
2097
- }, "boundaryFont");
2098
- var messageFont = /* @__PURE__ */ __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 = wrapLabel(c4Shape[textType].text, textLimitWidth, textConf);
2109
- c4Shape[textType].textLines = c4Shape[textType].text.split(common_default.lineBreakRegex).length;
2110
- c4Shape[textType].width = textLimitWidth;
2111
- c4Shape[textType].height = calculateTextHeight(c4Shape[textType].text, textConf);
2112
- } else {
2113
- let lines = c4Shape[textType].text.split(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
- calculateTextWidth(line, textConf),
2121
- c4Shape[textType].width
2122
- );
2123
- lineHeight = calculateTextHeight(line, textConf);
2124
- c4Shape[textType].height = c4Shape[textType].height + lineHeight;
2125
- }
2126
- }
2127
- }
2128
- }
2129
- __name(calcC4ShapeTextWH, "calcC4ShapeTextWH");
2130
- var drawBoundary2 = /* @__PURE__ */ __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 = 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__ */ __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 = 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
- }, __name(_b, "Point"), _b);
2220
- var getIntersectPoint = /* @__PURE__ */ __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__ */ __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__ */ __name(function(diagram2, rels2, getC4ShapeObj, diagObj) {
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 = calculateTextWidth(rel.label.text, relConf);
2295
- calcC4ShapeTextWH("label", rel, relTextWrap, relConf, textLimitWidth);
2296
- if (rel.techn && rel.techn.text !== "") {
2297
- textLimitWidth = calculateTextWidth(rel.techn.text, relConf);
2298
- calcC4ShapeTextWH("techn", rel, relTextWrap, relConf, textLimitWidth);
2299
- }
2300
- if (rel.descr && rel.descr.text !== "") {
2301
- textLimitWidth = 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);
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.getBoundarys(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
- __name(drawInsideBoundary, "drawInsideBoundary");
2410
- var draw = /* @__PURE__ */ __name(function(_text, id, _version, diagObj) {
2411
- conf = getConfig2().c4;
2412
- const securityLevel = getConfig2().securityLevel;
2413
- let sandboxElement;
2414
- if (securityLevel === "sandbox") {
2415
- sandboxElement = select("#i" + id);
2416
- }
2417
- const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
2418
- let db = diagObj.db;
2419
- diagObj.db.setWrap(conf.wrap);
2420
- c4ShapeInRow2 = db.getC4ShapeInRow();
2421
- c4BoundaryInRow2 = db.getC4BoundaryInRow();
2422
- log.debug(`C:${JSON.stringify(conf, null, 2)}`);
2423
- const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select(`[id="${id}"]`);
2424
- svgDraw_default.insertComputerIcon(diagram2);
2425
- svgDraw_default.insertDatabaseIcon(diagram2);
2426
- svgDraw_default.insertClockIcon(diagram2);
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.getBoundarys("");
2439
- drawInsideBoundary(diagram2, "", screenBounds, currentBoundaries, diagObj);
2440
- svgDraw_default.insertArrowHead(diagram2);
2441
- svgDraw_default.insertArrowEnd(diagram2);
2442
- svgDraw_default.insertArrowCrossHead(diagram2);
2443
- svgDraw_default.insertArrowFilledHead(diagram2);
2444
- drawRels2(diagram2, diagObj.db.getRels(), diagObj.db.getC4Shape, diagObj);
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
- 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
- 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__ */ __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__ */ __name(({ c4, wrap }) => {
2481
- c4Renderer_default.setConf(c4);
2482
- c4Db_default.setWrap(wrap);
2483
- }, "init")
2484
- };
2485
- export {
2486
- diagram
2487
- };