@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,1961 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- var _a;
5
- import { getDiagramElement, setupViewPortForSVG } from "./chunk-RZ5BOZE2.mjs";
6
- import { render } from "./chunk-TYCBKAJE.mjs";
7
- import { utils_default, generateId } from "./chunk-O4NI6UNU.mjs";
8
- import { __name, log, getConfig2, common_default, clear, getAccTitle, setAccTitle, getAccDescription, setAccDescription, setDiagramTitle, getDiagramTitle } from "./chunk-YTJNT7DU.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, 2], $V1 = [1, 3], $V2 = [1, 4], $V3 = [2, 4], $V4 = [1, 9], $V5 = [1, 11], $V6 = [1, 16], $V7 = [1, 17], $V8 = [1, 18], $V9 = [1, 19], $Va = [1, 32], $Vb = [1, 20], $Vc = [1, 21], $Vd = [1, 22], $Ve = [1, 23], $Vf = [1, 24], $Vg = [1, 26], $Vh = [1, 27], $Vi = [1, 28], $Vj = [1, 29], $Vk = [1, 30], $Vl = [1, 31], $Vm = [1, 34], $Vn = [1, 35], $Vo = [1, 36], $Vp = [1, 37], $Vq = [1, 33], $Vr = [1, 4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54], $Vs = [1, 4, 5, 14, 15, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54], $Vt = [4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54];
14
- var parser2 = {
15
- trace: /* @__PURE__ */ __name(function trace() {
16
- }, "trace"),
17
- yy: {},
18
- symbols_: { "error": 2, "start": 3, "SPACE": 4, "NL": 5, "SD": 6, "document": 7, "line": 8, "statement": 9, "classDefStatement": 10, "styleStatement": 11, "cssClassStatement": 12, "idStatement": 13, "DESCR": 14, "-->": 15, "HIDE_EMPTY": 16, "scale": 17, "WIDTH": 18, "COMPOSIT_STATE": 19, "STRUCT_START": 20, "STRUCT_STOP": 21, "STATE_DESCR": 22, "AS": 23, "ID": 24, "FORK": 25, "JOIN": 26, "CHOICE": 27, "CONCURRENT": 28, "note": 29, "notePosition": 30, "NOTE_TEXT": 31, "direction": 32, "acc_title": 33, "acc_title_value": 34, "acc_descr": 35, "acc_descr_value": 36, "acc_descr_multiline_value": 37, "classDef": 38, "CLASSDEF_ID": 39, "CLASSDEF_STYLEOPTS": 40, "DEFAULT": 41, "style": 42, "STYLE_IDS": 43, "STYLEDEF_STYLEOPTS": 44, "class": 45, "CLASSENTITY_IDS": 46, "STYLECLASS": 47, "direction_tb": 48, "direction_bt": 49, "direction_rl": 50, "direction_lr": 51, "eol": 52, ";": 53, "EDGE_STATE": 54, "STYLE_SEPARATOR": 55, "left_of": 56, "right_of": 57, "$accept": 0, "$end": 1 },
19
- terminals_: { 2: "error", 4: "SPACE", 5: "NL", 6: "SD", 14: "DESCR", 15: "-->", 16: "HIDE_EMPTY", 17: "scale", 18: "WIDTH", 19: "COMPOSIT_STATE", 20: "STRUCT_START", 21: "STRUCT_STOP", 22: "STATE_DESCR", 23: "AS", 24: "ID", 25: "FORK", 26: "JOIN", 27: "CHOICE", 28: "CONCURRENT", 29: "note", 31: "NOTE_TEXT", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 38: "classDef", 39: "CLASSDEF_ID", 40: "CLASSDEF_STYLEOPTS", 41: "DEFAULT", 42: "style", 43: "STYLE_IDS", 44: "STYLEDEF_STYLEOPTS", 45: "class", 46: "CLASSENTITY_IDS", 47: "STYLECLASS", 48: "direction_tb", 49: "direction_bt", 50: "direction_rl", 51: "direction_lr", 53: ";", 54: "EDGE_STATE", 55: "STYLE_SEPARATOR", 56: "left_of", 57: "right_of" },
20
- productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 3], [9, 4], [9, 1], [9, 2], [9, 1], [9, 4], [9, 3], [9, 6], [9, 1], [9, 1], [9, 1], [9, 1], [9, 4], [9, 4], [9, 1], [9, 2], [9, 2], [9, 1], [10, 3], [10, 3], [11, 3], [12, 3], [32, 1], [32, 1], [32, 1], [32, 1], [52, 1], [52, 1], [13, 1], [13, 1], [13, 3], [13, 3], [30, 1], [30, 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.setRootDoc($$[$0]);
26
- return $$[$0];
27
- case 4:
28
- this.$ = [];
29
- break;
30
- case 5:
31
- if ($$[$0] != "nl") {
32
- $$[$0 - 1].push($$[$0]);
33
- this.$ = $$[$0 - 1];
34
- }
35
- break;
36
- case 6:
37
- case 7:
38
- this.$ = $$[$0];
39
- break;
40
- case 8:
41
- this.$ = "nl";
42
- break;
43
- case 12:
44
- this.$ = $$[$0];
45
- break;
46
- case 13:
47
- const stateStmt = $$[$0 - 1];
48
- stateStmt.description = yy.trimColon($$[$0]);
49
- this.$ = stateStmt;
50
- break;
51
- case 14:
52
- this.$ = { stmt: "relation", state1: $$[$0 - 2], state2: $$[$0] };
53
- break;
54
- case 15:
55
- const relDescription = yy.trimColon($$[$0]);
56
- this.$ = { stmt: "relation", state1: $$[$0 - 3], state2: $$[$0 - 1], description: relDescription };
57
- break;
58
- case 19:
59
- this.$ = { stmt: "state", id: $$[$0 - 3], type: "default", description: "", doc: $$[$0 - 1] };
60
- break;
61
- case 20:
62
- var id = $$[$0];
63
- var description = $$[$0 - 2].trim();
64
- if ($$[$0].match(":")) {
65
- var parts = $$[$0].split(":");
66
- id = parts[0];
67
- description = [description, parts[1]];
68
- }
69
- this.$ = { stmt: "state", id, type: "default", description };
70
- break;
71
- case 21:
72
- this.$ = { stmt: "state", id: $$[$0 - 3], type: "default", description: $$[$0 - 5], doc: $$[$0 - 1] };
73
- break;
74
- case 22:
75
- this.$ = { stmt: "state", id: $$[$0], type: "fork" };
76
- break;
77
- case 23:
78
- this.$ = { stmt: "state", id: $$[$0], type: "join" };
79
- break;
80
- case 24:
81
- this.$ = { stmt: "state", id: $$[$0], type: "choice" };
82
- break;
83
- case 25:
84
- this.$ = { stmt: "state", id: yy.getDividerId(), type: "divider" };
85
- break;
86
- case 26:
87
- this.$ = { stmt: "state", id: $$[$0 - 1].trim(), note: { position: $$[$0 - 2].trim(), text: $$[$0].trim() } };
88
- break;
89
- case 29:
90
- this.$ = $$[$0].trim();
91
- yy.setAccTitle(this.$);
92
- break;
93
- case 30:
94
- case 31:
95
- this.$ = $$[$0].trim();
96
- yy.setAccDescription(this.$);
97
- break;
98
- case 32:
99
- case 33:
100
- this.$ = { stmt: "classDef", id: $$[$0 - 1].trim(), classes: $$[$0].trim() };
101
- break;
102
- case 34:
103
- this.$ = { stmt: "style", id: $$[$0 - 1].trim(), styleClass: $$[$0].trim() };
104
- break;
105
- case 35:
106
- this.$ = { stmt: "applyClass", id: $$[$0 - 1].trim(), styleClass: $$[$0].trim() };
107
- break;
108
- case 36:
109
- yy.setDirection("TB");
110
- this.$ = { stmt: "dir", value: "TB" };
111
- break;
112
- case 37:
113
- yy.setDirection("BT");
114
- this.$ = { stmt: "dir", value: "BT" };
115
- break;
116
- case 38:
117
- yy.setDirection("RL");
118
- this.$ = { stmt: "dir", value: "RL" };
119
- break;
120
- case 39:
121
- yy.setDirection("LR");
122
- this.$ = { stmt: "dir", value: "LR" };
123
- break;
124
- case 42:
125
- case 43:
126
- this.$ = { stmt: "state", id: $$[$0].trim(), type: "default", description: "" };
127
- break;
128
- case 44:
129
- this.$ = { stmt: "state", id: $$[$0 - 2].trim(), classes: [$$[$0].trim()], type: "default", description: "" };
130
- break;
131
- case 45:
132
- this.$ = { stmt: "state", id: $$[$0 - 2].trim(), classes: [$$[$0].trim()], type: "default", description: "" };
133
- break;
134
- }
135
- }, "anonymous"),
136
- table: [{ 3: 1, 4: $V0, 5: $V1, 6: $V2 }, { 1: [3] }, { 3: 5, 4: $V0, 5: $V1, 6: $V2 }, { 3: 6, 4: $V0, 5: $V1, 6: $V2 }, o([1, 4, 5, 16, 17, 19, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 42, 45, 48, 49, 50, 51, 54], $V3, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 5]), { 9: 38, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 7]), o($Vr, [2, 8]), o($Vr, [2, 9]), o($Vr, [2, 10]), o($Vr, [2, 11]), o($Vr, [2, 12], { 14: [1, 39], 15: [1, 40] }), o($Vr, [2, 16]), { 18: [1, 41] }, o($Vr, [2, 18], { 20: [1, 42] }), { 23: [1, 43] }, o($Vr, [2, 22]), o($Vr, [2, 23]), o($Vr, [2, 24]), o($Vr, [2, 25]), { 30: 44, 31: [1, 45], 56: [1, 46], 57: [1, 47] }, o($Vr, [2, 28]), { 34: [1, 48] }, { 36: [1, 49] }, o($Vr, [2, 31]), { 39: [1, 50], 41: [1, 51] }, { 43: [1, 52] }, { 46: [1, 53] }, o($Vs, [2, 42], { 55: [1, 54] }), o($Vs, [2, 43], { 55: [1, 55] }), o($Vr, [2, 36]), o($Vr, [2, 37]), o($Vr, [2, 38]), o($Vr, [2, 39]), o($Vr, [2, 6]), o($Vr, [2, 13]), { 13: 56, 24: $Va, 54: $Vq }, o($Vr, [2, 17]), o($Vt, $V3, { 7: 57 }), { 24: [1, 58] }, { 24: [1, 59] }, { 23: [1, 60] }, { 24: [2, 46] }, { 24: [2, 47] }, o($Vr, [2, 29]), o($Vr, [2, 30]), { 40: [1, 61] }, { 40: [1, 62] }, { 44: [1, 63] }, { 47: [1, 64] }, { 24: [1, 65] }, { 24: [1, 66] }, o($Vr, [2, 14], { 14: [1, 67] }), { 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 21: [1, 68], 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 20], { 20: [1, 69] }), { 31: [1, 70] }, { 24: [1, 71] }, o($Vr, [2, 32]), o($Vr, [2, 33]), o($Vr, [2, 34]), o($Vr, [2, 35]), o($Vs, [2, 44]), o($Vs, [2, 45]), o($Vr, [2, 15]), o($Vr, [2, 19]), o($Vt, $V3, { 7: 72 }), o($Vr, [2, 26]), o($Vr, [2, 27]), { 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: $V6, 17: $V7, 19: $V8, 21: [1, 73], 22: $V9, 24: $Va, 25: $Vb, 26: $Vc, 27: $Vd, 28: $Ve, 29: $Vf, 32: 25, 33: $Vg, 35: $Vh, 37: $Vi, 38: $Vj, 42: $Vk, 45: $Vl, 48: $Vm, 49: $Vn, 50: $Vo, 51: $Vp, 54: $Vq }, o($Vr, [2, 21])],
137
- defaultActions: { 5: [2, 1], 6: [2, 2], 46: [2, 46], 47: [2, 47] },
138
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
139
- if (hash.recoverable) {
140
- this.trace(str);
141
- } else {
142
- var error = new Error(str);
143
- error.hash = hash;
144
- throw error;
145
- }
146
- }, "parseError"),
147
- parse: /* @__PURE__ */ __name(function parse(input) {
148
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
149
- var args = lstack.slice.call(arguments, 1);
150
- var lexer2 = Object.create(this.lexer);
151
- var sharedState = { yy: {} };
152
- for (var k in this.yy) {
153
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
154
- sharedState.yy[k] = this.yy[k];
155
- }
156
- }
157
- lexer2.setInput(input, sharedState.yy);
158
- sharedState.yy.lexer = lexer2;
159
- sharedState.yy.parser = this;
160
- if (typeof lexer2.yylloc == "undefined") {
161
- lexer2.yylloc = {};
162
- }
163
- var yyloc = lexer2.yylloc;
164
- lstack.push(yyloc);
165
- var ranges = lexer2.options && lexer2.options.ranges;
166
- if (typeof sharedState.yy.parseError === "function") {
167
- this.parseError = sharedState.yy.parseError;
168
- } else {
169
- this.parseError = Object.getPrototypeOf(this).parseError;
170
- }
171
- function popStack(n) {
172
- stack.length = stack.length - 2 * n;
173
- vstack.length = vstack.length - n;
174
- lstack.length = lstack.length - n;
175
- }
176
- __name(popStack, "popStack");
177
- function lex() {
178
- var token;
179
- token = tstack.pop() || lexer2.lex() || EOF;
180
- if (typeof token !== "number") {
181
- if (token instanceof Array) {
182
- tstack = token;
183
- token = tstack.pop();
184
- }
185
- token = self.symbols_[token] || token;
186
- }
187
- return token;
188
- }
189
- __name(lex, "lex");
190
- var symbol, state, action, r, yyval = {}, p, len, newState, expected;
191
- while (true) {
192
- state = stack[stack.length - 1];
193
- if (this.defaultActions[state]) {
194
- action = this.defaultActions[state];
195
- } else {
196
- if (symbol === null || typeof symbol == "undefined") {
197
- symbol = lex();
198
- }
199
- action = table[state] && table[state][symbol];
200
- }
201
- if (typeof action === "undefined" || !action.length || !action[0]) {
202
- var errStr = "";
203
- expected = [];
204
- for (p in table[state]) {
205
- if (this.terminals_[p] && p > TERROR) {
206
- expected.push("'" + this.terminals_[p] + "'");
207
- }
208
- }
209
- if (lexer2.showPosition) {
210
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
211
- } else {
212
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
213
- }
214
- this.parseError(errStr, {
215
- text: lexer2.match,
216
- token: this.terminals_[symbol] || symbol,
217
- line: lexer2.yylineno,
218
- loc: yyloc,
219
- expected
220
- });
221
- }
222
- if (action[0] instanceof Array && action.length > 1) {
223
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
224
- }
225
- switch (action[0]) {
226
- case 1:
227
- stack.push(symbol);
228
- vstack.push(lexer2.yytext);
229
- lstack.push(lexer2.yylloc);
230
- stack.push(action[1]);
231
- symbol = null;
232
- {
233
- yyleng = lexer2.yyleng;
234
- yytext = lexer2.yytext;
235
- yylineno = lexer2.yylineno;
236
- yyloc = lexer2.yylloc;
237
- }
238
- break;
239
- case 2:
240
- len = this.productions_[action[1]][1];
241
- yyval.$ = vstack[vstack.length - len];
242
- yyval._$ = {
243
- first_line: lstack[lstack.length - (len || 1)].first_line,
244
- last_line: lstack[lstack.length - 1].last_line,
245
- first_column: lstack[lstack.length - (len || 1)].first_column,
246
- last_column: lstack[lstack.length - 1].last_column
247
- };
248
- if (ranges) {
249
- yyval._$.range = [
250
- lstack[lstack.length - (len || 1)].range[0],
251
- lstack[lstack.length - 1].range[1]
252
- ];
253
- }
254
- r = this.performAction.apply(yyval, [
255
- yytext,
256
- yyleng,
257
- yylineno,
258
- sharedState.yy,
259
- action[1],
260
- vstack,
261
- lstack
262
- ].concat(args));
263
- if (typeof r !== "undefined") {
264
- return r;
265
- }
266
- if (len) {
267
- stack = stack.slice(0, -1 * len * 2);
268
- vstack = vstack.slice(0, -1 * len);
269
- lstack = lstack.slice(0, -1 * len);
270
- }
271
- stack.push(this.productions_[action[1]][0]);
272
- vstack.push(yyval.$);
273
- lstack.push(yyval._$);
274
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
275
- stack.push(newState);
276
- break;
277
- case 3:
278
- return true;
279
- }
280
- }
281
- return true;
282
- }, "parse")
283
- };
284
- var lexer = /* @__PURE__ */ function() {
285
- var lexer2 = {
286
- EOF: 1,
287
- parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
288
- if (this.yy.parser) {
289
- this.yy.parser.parseError(str, hash);
290
- } else {
291
- throw new Error(str);
292
- }
293
- }, "parseError"),
294
- // resets the lexer, sets new input
295
- setInput: /* @__PURE__ */ __name(function(input, yy) {
296
- this.yy = yy || this.yy || {};
297
- this._input = input;
298
- this._more = this._backtrack = this.done = false;
299
- this.yylineno = this.yyleng = 0;
300
- this.yytext = this.matched = this.match = "";
301
- this.conditionStack = ["INITIAL"];
302
- this.yylloc = {
303
- first_line: 1,
304
- first_column: 0,
305
- last_line: 1,
306
- last_column: 0
307
- };
308
- if (this.options.ranges) {
309
- this.yylloc.range = [0, 0];
310
- }
311
- this.offset = 0;
312
- return this;
313
- }, "setInput"),
314
- // consumes and returns one char from the input
315
- input: /* @__PURE__ */ __name(function() {
316
- var ch = this._input[0];
317
- this.yytext += ch;
318
- this.yyleng++;
319
- this.offset++;
320
- this.match += ch;
321
- this.matched += ch;
322
- var lines = ch.match(/(?:\r\n?|\n).*/g);
323
- if (lines) {
324
- this.yylineno++;
325
- this.yylloc.last_line++;
326
- } else {
327
- this.yylloc.last_column++;
328
- }
329
- if (this.options.ranges) {
330
- this.yylloc.range[1]++;
331
- }
332
- this._input = this._input.slice(1);
333
- return ch;
334
- }, "input"),
335
- // unshifts one char (or a string) into the input
336
- unput: /* @__PURE__ */ __name(function(ch) {
337
- var len = ch.length;
338
- var lines = ch.split(/(?:\r\n?|\n)/g);
339
- this._input = ch + this._input;
340
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
341
- this.offset -= len;
342
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
343
- this.match = this.match.substr(0, this.match.length - 1);
344
- this.matched = this.matched.substr(0, this.matched.length - 1);
345
- if (lines.length - 1) {
346
- this.yylineno -= lines.length - 1;
347
- }
348
- var r = this.yylloc.range;
349
- this.yylloc = {
350
- first_line: this.yylloc.first_line,
351
- last_line: this.yylineno + 1,
352
- first_column: this.yylloc.first_column,
353
- 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
354
- };
355
- if (this.options.ranges) {
356
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
357
- }
358
- this.yyleng = this.yytext.length;
359
- return this;
360
- }, "unput"),
361
- // When called from action, caches matched text and appends it on next action
362
- more: /* @__PURE__ */ __name(function() {
363
- this._more = true;
364
- return this;
365
- }, "more"),
366
- // 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.
367
- reject: /* @__PURE__ */ __name(function() {
368
- if (this.options.backtrack_lexer) {
369
- this._backtrack = true;
370
- } else {
371
- 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(), {
372
- text: "",
373
- token: null,
374
- line: this.yylineno
375
- });
376
- }
377
- return this;
378
- }, "reject"),
379
- // retain first n characters of the match
380
- less: /* @__PURE__ */ __name(function(n) {
381
- this.unput(this.match.slice(n));
382
- }, "less"),
383
- // displays already matched input, i.e. for error messages
384
- pastInput: /* @__PURE__ */ __name(function() {
385
- var past = this.matched.substr(0, this.matched.length - this.match.length);
386
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
387
- }, "pastInput"),
388
- // displays upcoming input, i.e. for error messages
389
- upcomingInput: /* @__PURE__ */ __name(function() {
390
- var next = this.match;
391
- if (next.length < 20) {
392
- next += this._input.substr(0, 20 - next.length);
393
- }
394
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
395
- }, "upcomingInput"),
396
- // displays the character position where the lexing error occurred, i.e. for error messages
397
- showPosition: /* @__PURE__ */ __name(function() {
398
- var pre = this.pastInput();
399
- var c = new Array(pre.length + 1).join("-");
400
- return pre + this.upcomingInput() + "\n" + c + "^";
401
- }, "showPosition"),
402
- // test the lexed token: return FALSE when not a match, otherwise return token
403
- test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
404
- var token, lines, backup;
405
- if (this.options.backtrack_lexer) {
406
- backup = {
407
- yylineno: this.yylineno,
408
- yylloc: {
409
- first_line: this.yylloc.first_line,
410
- last_line: this.last_line,
411
- first_column: this.yylloc.first_column,
412
- last_column: this.yylloc.last_column
413
- },
414
- yytext: this.yytext,
415
- match: this.match,
416
- matches: this.matches,
417
- matched: this.matched,
418
- yyleng: this.yyleng,
419
- offset: this.offset,
420
- _more: this._more,
421
- _input: this._input,
422
- yy: this.yy,
423
- conditionStack: this.conditionStack.slice(0),
424
- done: this.done
425
- };
426
- if (this.options.ranges) {
427
- backup.yylloc.range = this.yylloc.range.slice(0);
428
- }
429
- }
430
- lines = match[0].match(/(?:\r\n?|\n).*/g);
431
- if (lines) {
432
- this.yylineno += lines.length;
433
- }
434
- this.yylloc = {
435
- first_line: this.yylloc.last_line,
436
- last_line: this.yylineno + 1,
437
- first_column: this.yylloc.last_column,
438
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
439
- };
440
- this.yytext += match[0];
441
- this.match += match[0];
442
- this.matches = match;
443
- this.yyleng = this.yytext.length;
444
- if (this.options.ranges) {
445
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
446
- }
447
- this._more = false;
448
- this._backtrack = false;
449
- this._input = this._input.slice(match[0].length);
450
- this.matched += match[0];
451
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
452
- if (this.done && this._input) {
453
- this.done = false;
454
- }
455
- if (token) {
456
- return token;
457
- } else if (this._backtrack) {
458
- for (var k in backup) {
459
- this[k] = backup[k];
460
- }
461
- return false;
462
- }
463
- return false;
464
- }, "test_match"),
465
- // return next match in input
466
- next: /* @__PURE__ */ __name(function() {
467
- if (this.done) {
468
- return this.EOF;
469
- }
470
- if (!this._input) {
471
- this.done = true;
472
- }
473
- var token, match, tempMatch, index;
474
- if (!this._more) {
475
- this.yytext = "";
476
- this.match = "";
477
- }
478
- var rules = this._currentRules();
479
- for (var i = 0; i < rules.length; i++) {
480
- tempMatch = this._input.match(this.rules[rules[i]]);
481
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
482
- match = tempMatch;
483
- index = i;
484
- if (this.options.backtrack_lexer) {
485
- token = this.test_match(tempMatch, rules[i]);
486
- if (token !== false) {
487
- return token;
488
- } else if (this._backtrack) {
489
- match = false;
490
- continue;
491
- } else {
492
- return false;
493
- }
494
- } else if (!this.options.flex) {
495
- break;
496
- }
497
- }
498
- }
499
- if (match) {
500
- token = this.test_match(match, rules[index]);
501
- if (token !== false) {
502
- return token;
503
- }
504
- return false;
505
- }
506
- if (this._input === "") {
507
- return this.EOF;
508
- } else {
509
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
510
- text: "",
511
- token: null,
512
- line: this.yylineno
513
- });
514
- }
515
- }, "next"),
516
- // return next match that has a token
517
- lex: /* @__PURE__ */ __name(function lex() {
518
- var r = this.next();
519
- if (r) {
520
- return r;
521
- } else {
522
- return this.lex();
523
- }
524
- }, "lex"),
525
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
526
- begin: /* @__PURE__ */ __name(function begin(condition) {
527
- this.conditionStack.push(condition);
528
- }, "begin"),
529
- // pop the previously active lexer condition state off the condition stack
530
- popState: /* @__PURE__ */ __name(function popState() {
531
- var n = this.conditionStack.length - 1;
532
- if (n > 0) {
533
- return this.conditionStack.pop();
534
- } else {
535
- return this.conditionStack[0];
536
- }
537
- }, "popState"),
538
- // produce the lexer rule set which is active for the currently active lexer condition state
539
- _currentRules: /* @__PURE__ */ __name(function _currentRules() {
540
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
541
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
542
- } else {
543
- return this.conditions["INITIAL"].rules;
544
- }
545
- }, "_currentRules"),
546
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
547
- topState: /* @__PURE__ */ __name(function topState(n) {
548
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
549
- if (n >= 0) {
550
- return this.conditionStack[n];
551
- } else {
552
- return "INITIAL";
553
- }
554
- }, "topState"),
555
- // alias for begin(condition)
556
- pushState: /* @__PURE__ */ __name(function pushState(condition) {
557
- this.begin(condition);
558
- }, "pushState"),
559
- // return the number of states currently on the stack
560
- stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
561
- return this.conditionStack.length;
562
- }, "stateStackSize"),
563
- options: { "case-insensitive": true },
564
- performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
565
- switch ($avoiding_name_collisions) {
566
- case 0:
567
- return 41;
568
- case 1:
569
- return 48;
570
- case 2:
571
- return 49;
572
- case 3:
573
- return 50;
574
- case 4:
575
- return 51;
576
- case 5:
577
- break;
578
- case 6:
579
- break;
580
- case 7:
581
- return 5;
582
- case 8:
583
- break;
584
- case 9:
585
- break;
586
- case 10:
587
- break;
588
- case 11:
589
- break;
590
- case 12:
591
- this.pushState("SCALE");
592
- return 17;
593
- case 13:
594
- return 18;
595
- case 14:
596
- this.popState();
597
- break;
598
- case 15:
599
- this.begin("acc_title");
600
- return 33;
601
- case 16:
602
- this.popState();
603
- return "acc_title_value";
604
- case 17:
605
- this.begin("acc_descr");
606
- return 35;
607
- case 18:
608
- this.popState();
609
- return "acc_descr_value";
610
- case 19:
611
- this.begin("acc_descr_multiline");
612
- break;
613
- case 20:
614
- this.popState();
615
- break;
616
- case 21:
617
- return "acc_descr_multiline_value";
618
- case 22:
619
- this.pushState("CLASSDEF");
620
- return 38;
621
- case 23:
622
- this.popState();
623
- this.pushState("CLASSDEFID");
624
- return "DEFAULT_CLASSDEF_ID";
625
- case 24:
626
- this.popState();
627
- this.pushState("CLASSDEFID");
628
- return 39;
629
- case 25:
630
- this.popState();
631
- return 40;
632
- case 26:
633
- this.pushState("CLASS");
634
- return 45;
635
- case 27:
636
- this.popState();
637
- this.pushState("CLASS_STYLE");
638
- return 46;
639
- case 28:
640
- this.popState();
641
- return 47;
642
- case 29:
643
- this.pushState("STYLE");
644
- return 42;
645
- case 30:
646
- this.popState();
647
- this.pushState("STYLEDEF_STYLES");
648
- return 43;
649
- case 31:
650
- this.popState();
651
- return 44;
652
- case 32:
653
- this.pushState("SCALE");
654
- return 17;
655
- case 33:
656
- return 18;
657
- case 34:
658
- this.popState();
659
- break;
660
- case 35:
661
- this.pushState("STATE");
662
- break;
663
- case 36:
664
- this.popState();
665
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
666
- return 25;
667
- case 37:
668
- this.popState();
669
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
670
- return 26;
671
- case 38:
672
- this.popState();
673
- yy_.yytext = yy_.yytext.slice(0, -10).trim();
674
- return 27;
675
- case 39:
676
- this.popState();
677
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
678
- return 25;
679
- case 40:
680
- this.popState();
681
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
682
- return 26;
683
- case 41:
684
- this.popState();
685
- yy_.yytext = yy_.yytext.slice(0, -10).trim();
686
- return 27;
687
- case 42:
688
- return 48;
689
- case 43:
690
- return 49;
691
- case 44:
692
- return 50;
693
- case 45:
694
- return 51;
695
- case 46:
696
- this.pushState("STATE_STRING");
697
- break;
698
- case 47:
699
- this.pushState("STATE_ID");
700
- return "AS";
701
- case 48:
702
- this.popState();
703
- return "ID";
704
- case 49:
705
- this.popState();
706
- break;
707
- case 50:
708
- return "STATE_DESCR";
709
- case 51:
710
- return 19;
711
- case 52:
712
- this.popState();
713
- break;
714
- case 53:
715
- this.popState();
716
- this.pushState("struct");
717
- return 20;
718
- case 54:
719
- break;
720
- case 55:
721
- this.popState();
722
- return 21;
723
- case 56:
724
- break;
725
- case 57:
726
- this.begin("NOTE");
727
- return 29;
728
- case 58:
729
- this.popState();
730
- this.pushState("NOTE_ID");
731
- return 56;
732
- case 59:
733
- this.popState();
734
- this.pushState("NOTE_ID");
735
- return 57;
736
- case 60:
737
- this.popState();
738
- this.pushState("FLOATING_NOTE");
739
- break;
740
- case 61:
741
- this.popState();
742
- this.pushState("FLOATING_NOTE_ID");
743
- return "AS";
744
- case 62:
745
- break;
746
- case 63:
747
- return "NOTE_TEXT";
748
- case 64:
749
- this.popState();
750
- return "ID";
751
- case 65:
752
- this.popState();
753
- this.pushState("NOTE_TEXT");
754
- return 24;
755
- case 66:
756
- this.popState();
757
- yy_.yytext = yy_.yytext.substr(2).trim();
758
- return 31;
759
- case 67:
760
- this.popState();
761
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
762
- return 31;
763
- case 68:
764
- return 6;
765
- case 69:
766
- return 6;
767
- case 70:
768
- return 16;
769
- case 71:
770
- return 54;
771
- case 72:
772
- return 24;
773
- case 73:
774
- yy_.yytext = yy_.yytext.trim();
775
- return 14;
776
- case 74:
777
- return 15;
778
- case 75:
779
- return 28;
780
- case 76:
781
- return 55;
782
- case 77:
783
- return 5;
784
- case 78:
785
- return "INVALID";
786
- }
787
- }, "anonymous"),
788
- rules: [/^(?:default\b)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:classDef\s+)/i, /^(?:DEFAULT\s+)/i, /^(?:\w+\s+)/i, /^(?:[^\n]*)/i, /^(?:class\s+)/i, /^(?:(\w+)+((,\s*\w+)*))/i, /^(?:[^\n]*)/i, /^(?:style\s+)/i, /^(?:[\w,]+\s+)/i, /^(?:[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:state\s+)/i, /^(?:.*<<fork>>)/i, /^(?:.*<<join>>)/i, /^(?:.*<<choice>>)/i, /^(?:.*\[\[fork\]\])/i, /^(?:.*\[\[join\]\])/i, /^(?:.*\[\[choice\]\])/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:["])/i, /^(?:\s*as\s+)/i, /^(?:[^\n\{]*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n\s\{]+)/i, /^(?:\n)/i, /^(?:\{)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:\})/i, /^(?:[\n])/i, /^(?:note\s+)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:")/i, /^(?:\s*as\s*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n]*)/i, /^(?:\s*[^:\n\s\-]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:[\s\S]*?end note\b)/i, /^(?:stateDiagram\s+)/i, /^(?:stateDiagram-v2\s+)/i, /^(?:hide empty description\b)/i, /^(?:\[\*\])/i, /^(?:[^:\n\s\-\{]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:-->)/i, /^(?:--)/i, /^(?::::)/i, /^(?:$)/i, /^(?:.)/i],
789
- conditions: { "LINE": { "rules": [9, 10], "inclusive": false }, "struct": { "rules": [9, 10, 22, 26, 29, 35, 42, 43, 44, 45, 54, 55, 56, 57, 71, 72, 73, 74, 75], "inclusive": false }, "FLOATING_NOTE_ID": { "rules": [64], "inclusive": false }, "FLOATING_NOTE": { "rules": [61, 62, 63], "inclusive": false }, "NOTE_TEXT": { "rules": [66, 67], "inclusive": false }, "NOTE_ID": { "rules": [65], "inclusive": false }, "NOTE": { "rules": [58, 59, 60], "inclusive": false }, "STYLEDEF_STYLEOPTS": { "rules": [], "inclusive": false }, "STYLEDEF_STYLES": { "rules": [31], "inclusive": false }, "STYLE_IDS": { "rules": [], "inclusive": false }, "STYLE": { "rules": [30], "inclusive": false }, "CLASS_STYLE": { "rules": [28], "inclusive": false }, "CLASS": { "rules": [27], "inclusive": false }, "CLASSDEFID": { "rules": [25], "inclusive": false }, "CLASSDEF": { "rules": [23, 24], "inclusive": false }, "acc_descr_multiline": { "rules": [20, 21], "inclusive": false }, "acc_descr": { "rules": [18], "inclusive": false }, "acc_title": { "rules": [16], "inclusive": false }, "SCALE": { "rules": [13, 14, 33, 34], "inclusive": false }, "ALIAS": { "rules": [], "inclusive": false }, "STATE_ID": { "rules": [48], "inclusive": false }, "STATE_STRING": { "rules": [49, 50], "inclusive": false }, "FORK_STATE": { "rules": [], "inclusive": false }, "STATE": { "rules": [9, 10, 36, 37, 38, 39, 40, 41, 46, 47, 51, 52, 53], "inclusive": false }, "ID": { "rules": [9, 10], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15, 17, 19, 22, 26, 29, 32, 35, 53, 57, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78], "inclusive": true } }
790
- };
791
- return lexer2;
792
- }();
793
- parser2.lexer = lexer;
794
- function Parser() {
795
- this.yy = {};
796
- }
797
- __name(Parser, "Parser");
798
- Parser.prototype = parser2;
799
- parser2.Parser = Parser;
800
- return new Parser();
801
- }();
802
- parser.parser = parser;
803
- var stateDiagram_default = parser;
804
- var DEFAULT_DIAGRAM_DIRECTION = "TB";
805
- var DEFAULT_NESTED_DOC_DIR = "TB";
806
- var STMT_DIRECTION = "dir";
807
- var STMT_STATE = "state";
808
- var STMT_RELATION = "relation";
809
- var STMT_CLASSDEF = "classDef";
810
- var STMT_STYLEDEF = "style";
811
- var STMT_APPLYCLASS = "applyClass";
812
- var DEFAULT_STATE_TYPE = "default";
813
- var DIVIDER_TYPE = "divider";
814
- var G_EDGE_STYLE = "fill:none";
815
- var G_EDGE_ARROWHEADSTYLE = "fill: #333";
816
- var G_EDGE_LABELPOS = "c";
817
- var G_EDGE_LABELTYPE = "text";
818
- var G_EDGE_THICKNESS = "normal";
819
- var SHAPE_STATE = "rect";
820
- var SHAPE_STATE_WITH_DESC = "rectWithTitle";
821
- var SHAPE_START = "stateStart";
822
- var SHAPE_END = "stateEnd";
823
- var SHAPE_DIVIDER = "divider";
824
- var SHAPE_GROUP = "roundedWithTitle";
825
- var SHAPE_NOTE = "note";
826
- var SHAPE_NOTEGROUP = "noteGroup";
827
- var CSS_DIAGRAM = "statediagram";
828
- var CSS_STATE = "state";
829
- var CSS_DIAGRAM_STATE = `${CSS_DIAGRAM}-${CSS_STATE}`;
830
- var CSS_EDGE = "transition";
831
- var CSS_NOTE = "note";
832
- var CSS_NOTE_EDGE = "note-edge";
833
- var CSS_EDGE_NOTE_EDGE = `${CSS_EDGE} ${CSS_NOTE_EDGE}`;
834
- var CSS_DIAGRAM_NOTE = `${CSS_DIAGRAM}-${CSS_NOTE}`;
835
- var CSS_CLUSTER = "cluster";
836
- var CSS_DIAGRAM_CLUSTER = `${CSS_DIAGRAM}-${CSS_CLUSTER}`;
837
- var CSS_CLUSTER_ALT = "cluster-alt";
838
- var CSS_DIAGRAM_CLUSTER_ALT = `${CSS_DIAGRAM}-${CSS_CLUSTER_ALT}`;
839
- var PARENT = "parent";
840
- var NOTE = "note";
841
- var DOMID_STATE = "state";
842
- var DOMID_TYPE_SPACER = "----";
843
- var NOTE_ID = `${DOMID_TYPE_SPACER}${NOTE}`;
844
- var PARENT_ID = `${DOMID_TYPE_SPACER}${PARENT}`;
845
- var getDir = /* @__PURE__ */ __name((parsedItem, defaultDir = DEFAULT_NESTED_DOC_DIR) => {
846
- if (!parsedItem.doc) {
847
- return defaultDir;
848
- }
849
- let dir = defaultDir;
850
- for (const parsedItemDoc of parsedItem.doc) {
851
- if (parsedItemDoc.stmt === "dir") {
852
- dir = parsedItemDoc.value;
853
- }
854
- }
855
- return dir;
856
- }, "getDir");
857
- var getClasses = /* @__PURE__ */ __name(function(text, diagramObj) {
858
- return diagramObj.db.getClasses();
859
- }, "getClasses");
860
- var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
861
- log.info("REF0:");
862
- log.info("Drawing state diagram (v2)", id);
863
- const { securityLevel, state: conf, layout } = getConfig2();
864
- diag.db.extract(diag.db.getRootDocV2());
865
- const data4Layout = diag.db.getData();
866
- const svg = getDiagramElement(id, securityLevel);
867
- data4Layout.type = diag.type;
868
- data4Layout.layoutAlgorithm = layout;
869
- data4Layout.nodeSpacing = (conf == null ? void 0 : conf.nodeSpacing) || 50;
870
- data4Layout.rankSpacing = (conf == null ? void 0 : conf.rankSpacing) || 50;
871
- data4Layout.markers = ["barb"];
872
- data4Layout.diagramId = id;
873
- await render(data4Layout, svg);
874
- const padding = 8;
875
- utils_default.insertTitle(
876
- svg,
877
- "statediagramTitleText",
878
- (conf == null ? void 0 : conf.titleTopMargin) ?? 25,
879
- diag.db.getDiagramTitle()
880
- );
881
- setupViewPortForSVG(svg, padding, CSS_DIAGRAM, (conf == null ? void 0 : conf.useMaxWidth) ?? true);
882
- }, "draw");
883
- var stateRenderer_v3_unified_default = {
884
- getClasses,
885
- draw,
886
- getDir
887
- };
888
- var nodeDb = /* @__PURE__ */ new Map();
889
- var graphItemCount = 0;
890
- function stateDomId(itemId = "", counter = 0, type = "", typeSpacer = DOMID_TYPE_SPACER) {
891
- const typeStr = type !== null && type.length > 0 ? `${typeSpacer}${type}` : "";
892
- return `${DOMID_STATE}-${itemId}${typeStr}-${counter}`;
893
- }
894
- __name(stateDomId, "stateDomId");
895
- var setupDoc = /* @__PURE__ */ __name((parentParsedItem, doc, diagramStates, nodes, edges, altFlag, look, classes) => {
896
- log.trace("items", doc);
897
- doc.forEach((item) => {
898
- switch (item.stmt) {
899
- case STMT_STATE:
900
- dataFetcher(parentParsedItem, item, diagramStates, nodes, edges, altFlag, look, classes);
901
- break;
902
- case DEFAULT_STATE_TYPE:
903
- dataFetcher(parentParsedItem, item, diagramStates, nodes, edges, altFlag, look, classes);
904
- break;
905
- case STMT_RELATION:
906
- {
907
- dataFetcher(
908
- parentParsedItem,
909
- item.state1,
910
- diagramStates,
911
- nodes,
912
- edges,
913
- altFlag,
914
- look,
915
- classes
916
- );
917
- dataFetcher(
918
- parentParsedItem,
919
- item.state2,
920
- diagramStates,
921
- nodes,
922
- edges,
923
- altFlag,
924
- look,
925
- classes
926
- );
927
- const edgeData = {
928
- id: "edge" + graphItemCount,
929
- start: item.state1.id,
930
- end: item.state2.id,
931
- arrowhead: "normal",
932
- arrowTypeEnd: "arrow_barb",
933
- style: G_EDGE_STYLE,
934
- labelStyle: "",
935
- label: common_default.sanitizeText(item.description, getConfig2()),
936
- arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
937
- labelpos: G_EDGE_LABELPOS,
938
- labelType: G_EDGE_LABELTYPE,
939
- thickness: G_EDGE_THICKNESS,
940
- classes: CSS_EDGE,
941
- look
942
- };
943
- edges.push(edgeData);
944
- graphItemCount++;
945
- }
946
- break;
947
- }
948
- });
949
- }, "setupDoc");
950
- var getDir2 = /* @__PURE__ */ __name((parsedItem, defaultDir = DEFAULT_NESTED_DOC_DIR) => {
951
- let dir = defaultDir;
952
- if (parsedItem.doc) {
953
- for (const parsedItemDoc of parsedItem.doc) {
954
- if (parsedItemDoc.stmt === "dir") {
955
- dir = parsedItemDoc.value;
956
- }
957
- }
958
- }
959
- return dir;
960
- }, "getDir");
961
- function insertOrUpdateNode(nodes, nodeData, classes) {
962
- if (!nodeData.id || nodeData.id === "</join></fork>" || nodeData.id === "</choice>") {
963
- return;
964
- }
965
- if (nodeData.cssClasses) {
966
- if (!Array.isArray(nodeData.cssCompiledStyles)) {
967
- nodeData.cssCompiledStyles = [];
968
- }
969
- nodeData.cssClasses.split(" ").forEach((cssClass) => {
970
- if (classes.get(cssClass)) {
971
- const classDef = classes.get(cssClass);
972
- nodeData.cssCompiledStyles = [...nodeData.cssCompiledStyles, ...classDef.styles];
973
- }
974
- });
975
- }
976
- const existingNodeData = nodes.find((node) => node.id === nodeData.id);
977
- if (existingNodeData) {
978
- Object.assign(existingNodeData, nodeData);
979
- } else {
980
- nodes.push(nodeData);
981
- }
982
- }
983
- __name(insertOrUpdateNode, "insertOrUpdateNode");
984
- function getClassesFromDbInfo(dbInfoItem) {
985
- var _a2;
986
- return ((_a2 = dbInfoItem == null ? void 0 : dbInfoItem.classes) == null ? void 0 : _a2.join(" ")) ?? "";
987
- }
988
- __name(getClassesFromDbInfo, "getClassesFromDbInfo");
989
- function getStylesFromDbInfo(dbInfoItem) {
990
- return (dbInfoItem == null ? void 0 : dbInfoItem.styles) ?? [];
991
- }
992
- __name(getStylesFromDbInfo, "getStylesFromDbInfo");
993
- var dataFetcher = /* @__PURE__ */ __name((parent, parsedItem, diagramStates, nodes, edges, altFlag, look, classes) => {
994
- var _a2, _b;
995
- const itemId = parsedItem.id;
996
- const dbState = diagramStates.get(itemId);
997
- const classStr = getClassesFromDbInfo(dbState);
998
- const style = getStylesFromDbInfo(dbState);
999
- log.info("dataFetcher parsedItem", parsedItem, dbState, style);
1000
- if (itemId !== "root") {
1001
- let shape = SHAPE_STATE;
1002
- if (parsedItem.start === true) {
1003
- shape = SHAPE_START;
1004
- } else if (parsedItem.start === false) {
1005
- shape = SHAPE_END;
1006
- }
1007
- if (parsedItem.type !== DEFAULT_STATE_TYPE) {
1008
- shape = parsedItem.type;
1009
- }
1010
- if (!nodeDb.get(itemId)) {
1011
- nodeDb.set(itemId, {
1012
- id: itemId,
1013
- shape,
1014
- description: common_default.sanitizeText(itemId, getConfig2()),
1015
- cssClasses: `${classStr} ${CSS_DIAGRAM_STATE}`,
1016
- cssStyles: style
1017
- });
1018
- }
1019
- const newNode = nodeDb.get(itemId);
1020
- if (parsedItem.description) {
1021
- if (Array.isArray(newNode.description)) {
1022
- newNode.shape = SHAPE_STATE_WITH_DESC;
1023
- newNode.description.push(parsedItem.description);
1024
- } else {
1025
- if (((_a2 = newNode.description) == null ? void 0 : _a2.length) > 0) {
1026
- newNode.shape = SHAPE_STATE_WITH_DESC;
1027
- if (newNode.description === itemId) {
1028
- newNode.description = [parsedItem.description];
1029
- } else {
1030
- newNode.description = [newNode.description, parsedItem.description];
1031
- }
1032
- } else {
1033
- newNode.shape = SHAPE_STATE;
1034
- newNode.description = parsedItem.description;
1035
- }
1036
- }
1037
- newNode.description = common_default.sanitizeTextOrArray(newNode.description, getConfig2());
1038
- }
1039
- if (((_b = newNode.description) == null ? void 0 : _b.length) === 1 && newNode.shape === SHAPE_STATE_WITH_DESC) {
1040
- if (newNode.type === "group") {
1041
- newNode.shape = SHAPE_GROUP;
1042
- } else {
1043
- newNode.shape = SHAPE_STATE;
1044
- }
1045
- }
1046
- if (!newNode.type && parsedItem.doc) {
1047
- log.info("Setting cluster for XCX", itemId, getDir2(parsedItem));
1048
- newNode.type = "group";
1049
- newNode.isGroup = true;
1050
- newNode.dir = getDir2(parsedItem);
1051
- newNode.shape = parsedItem.type === DIVIDER_TYPE ? SHAPE_DIVIDER : SHAPE_GROUP;
1052
- newNode.cssClasses = `${newNode.cssClasses} ${CSS_DIAGRAM_CLUSTER} ${altFlag ? CSS_DIAGRAM_CLUSTER_ALT : ""}`;
1053
- }
1054
- const nodeData = {
1055
- labelStyle: "",
1056
- shape: newNode.shape,
1057
- label: newNode.description,
1058
- cssClasses: newNode.cssClasses,
1059
- cssCompiledStyles: [],
1060
- cssStyles: newNode.cssStyles,
1061
- id: itemId,
1062
- dir: newNode.dir,
1063
- domId: stateDomId(itemId, graphItemCount),
1064
- type: newNode.type,
1065
- isGroup: newNode.type === "group",
1066
- padding: 8,
1067
- rx: 10,
1068
- ry: 10,
1069
- look
1070
- };
1071
- if (nodeData.shape === SHAPE_DIVIDER) {
1072
- nodeData.label = "";
1073
- }
1074
- if (parent && parent.id !== "root") {
1075
- log.trace("Setting node ", itemId, " to be child of its parent ", parent.id);
1076
- nodeData.parentId = parent.id;
1077
- }
1078
- nodeData.centerLabel = true;
1079
- if (parsedItem.note) {
1080
- const noteData = {
1081
- labelStyle: "",
1082
- shape: SHAPE_NOTE,
1083
- label: parsedItem.note.text,
1084
- cssClasses: CSS_DIAGRAM_NOTE,
1085
- // useHtmlLabels: false,
1086
- cssStyles: [],
1087
- cssCompilesStyles: [],
1088
- id: itemId + NOTE_ID + "-" + graphItemCount,
1089
- domId: stateDomId(itemId, graphItemCount, NOTE),
1090
- type: newNode.type,
1091
- isGroup: newNode.type === "group",
1092
- padding: getConfig2().flowchart.padding,
1093
- look,
1094
- position: parsedItem.note.position
1095
- };
1096
- const parentNodeId = itemId + PARENT_ID;
1097
- const groupData = {
1098
- labelStyle: "",
1099
- shape: SHAPE_NOTEGROUP,
1100
- label: parsedItem.note.text,
1101
- cssClasses: newNode.cssClasses,
1102
- cssStyles: [],
1103
- id: itemId + PARENT_ID,
1104
- domId: stateDomId(itemId, graphItemCount, PARENT),
1105
- type: "group",
1106
- isGroup: true,
1107
- padding: 16,
1108
- //getConfig().flowchart.padding
1109
- look,
1110
- position: parsedItem.note.position
1111
- };
1112
- graphItemCount++;
1113
- groupData.id = parentNodeId;
1114
- noteData.parentId = parentNodeId;
1115
- insertOrUpdateNode(nodes, groupData, classes);
1116
- insertOrUpdateNode(nodes, noteData, classes);
1117
- insertOrUpdateNode(nodes, nodeData, classes);
1118
- let from = itemId;
1119
- let to = noteData.id;
1120
- if (parsedItem.note.position === "left of") {
1121
- from = noteData.id;
1122
- to = itemId;
1123
- }
1124
- edges.push({
1125
- id: from + "-" + to,
1126
- start: from,
1127
- end: to,
1128
- arrowhead: "none",
1129
- arrowTypeEnd: "",
1130
- style: G_EDGE_STYLE,
1131
- labelStyle: "",
1132
- classes: CSS_EDGE_NOTE_EDGE,
1133
- arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
1134
- labelpos: G_EDGE_LABELPOS,
1135
- labelType: G_EDGE_LABELTYPE,
1136
- thickness: G_EDGE_THICKNESS,
1137
- look
1138
- });
1139
- } else {
1140
- insertOrUpdateNode(nodes, nodeData, classes);
1141
- }
1142
- }
1143
- if (parsedItem.doc) {
1144
- log.trace("Adding nodes children ");
1145
- setupDoc(parsedItem, parsedItem.doc, diagramStates, nodes, edges, !altFlag, look, classes);
1146
- }
1147
- }, "dataFetcher");
1148
- var reset = /* @__PURE__ */ __name(() => {
1149
- nodeDb.clear();
1150
- graphItemCount = 0;
1151
- }, "reset");
1152
- var START_NODE = "[*]";
1153
- var START_TYPE = "start";
1154
- var END_NODE = START_NODE;
1155
- var END_TYPE = "end";
1156
- var COLOR_KEYWORD = "color";
1157
- var FILL_KEYWORD = "fill";
1158
- var BG_FILL = "bgFill";
1159
- var STYLECLASS_SEP = ",";
1160
- function newClassesList() {
1161
- return /* @__PURE__ */ new Map();
1162
- }
1163
- __name(newClassesList, "newClassesList");
1164
- var newDoc = /* @__PURE__ */ __name(() => {
1165
- return {
1166
- /** @type {{ id1: string, id2: string, relationTitle: string }[]} */
1167
- relations: [],
1168
- states: /* @__PURE__ */ new Map(),
1169
- documents: {}
1170
- };
1171
- }, "newDoc");
1172
- var clone = /* @__PURE__ */ __name((o) => JSON.parse(JSON.stringify(o)), "clone");
1173
- var StateDB = (_a = class {
1174
- /**
1175
- * @param {1 | 2} version - v1 renderer or v2 renderer.
1176
- */
1177
- constructor(version) {
1178
- /**
1179
- * @private
1180
- * @type {1 | 2}
1181
- */
1182
- __publicField(this, "version");
1183
- /**
1184
- * @private
1185
- * @type {Array}
1186
- */
1187
- __publicField(this, "nodes", []);
1188
- /**
1189
- * @private
1190
- * @type {Array}
1191
- */
1192
- __publicField(this, "edges", []);
1193
- /**
1194
- * @private
1195
- * @type {Array}
1196
- */
1197
- __publicField(this, "rootDoc", []);
1198
- /**
1199
- * @private
1200
- * @type {Map<string, any>}
1201
- */
1202
- __publicField(this, "classes", newClassesList());
1203
- // style classes defined by a classDef
1204
- /**
1205
- * @private
1206
- * @type {Object}
1207
- */
1208
- __publicField(this, "documents", {
1209
- root: newDoc()
1210
- });
1211
- /**
1212
- * @private
1213
- * @type {Object}
1214
- */
1215
- __publicField(this, "currentDocument", this.documents.root);
1216
- /**
1217
- * @private
1218
- * @type {number}
1219
- */
1220
- __publicField(this, "startEndCount", 0);
1221
- /**
1222
- * @private
1223
- * @type {number}
1224
- */
1225
- __publicField(this, "dividerCnt", 0);
1226
- __publicField(this, "getAccTitle", getAccTitle);
1227
- __publicField(this, "setAccTitle", setAccTitle);
1228
- __publicField(this, "getAccDescription", getAccDescription);
1229
- __publicField(this, "setAccDescription", setAccDescription);
1230
- __publicField(this, "setDiagramTitle", setDiagramTitle);
1231
- __publicField(this, "getDiagramTitle", getDiagramTitle);
1232
- this.clear();
1233
- this.version = version;
1234
- this.setRootDoc = this.setRootDoc.bind(this);
1235
- this.getDividerId = this.getDividerId.bind(this);
1236
- this.setDirection = this.setDirection.bind(this);
1237
- this.trimColon = this.trimColon.bind(this);
1238
- }
1239
- setRootDoc(o) {
1240
- log.info("Setting root doc", o);
1241
- this.rootDoc = o;
1242
- if (this.version === 1) {
1243
- this.extract(o);
1244
- } else {
1245
- this.extract(this.getRootDocV2());
1246
- }
1247
- }
1248
- getRootDoc() {
1249
- return this.rootDoc;
1250
- }
1251
- /**
1252
- * @private
1253
- * @param {Object} parent
1254
- * @param {Object} node
1255
- * @param {boolean} first
1256
- */
1257
- docTranslator(parent, node, first) {
1258
- if (node.stmt === STMT_RELATION) {
1259
- this.docTranslator(parent, node.state1, true);
1260
- this.docTranslator(parent, node.state2, false);
1261
- } else {
1262
- if (node.stmt === STMT_STATE) {
1263
- if (node.id === "[*]") {
1264
- node.id = first ? parent.id + "_start" : parent.id + "_end";
1265
- node.start = first;
1266
- } else {
1267
- node.id = node.id.trim();
1268
- }
1269
- }
1270
- if (node.doc) {
1271
- const doc = [];
1272
- let currentDoc = [];
1273
- let i;
1274
- for (i = 0; i < node.doc.length; i++) {
1275
- if (node.doc[i].type === DIVIDER_TYPE) {
1276
- const newNode = clone(node.doc[i]);
1277
- newNode.doc = clone(currentDoc);
1278
- doc.push(newNode);
1279
- currentDoc = [];
1280
- } else {
1281
- currentDoc.push(node.doc[i]);
1282
- }
1283
- }
1284
- if (doc.length > 0 && currentDoc.length > 0) {
1285
- const newNode = {
1286
- stmt: STMT_STATE,
1287
- id: generateId(),
1288
- type: "divider",
1289
- doc: clone(currentDoc)
1290
- };
1291
- doc.push(clone(newNode));
1292
- node.doc = doc;
1293
- }
1294
- node.doc.forEach((docNode) => this.docTranslator(node, docNode, true));
1295
- }
1296
- }
1297
- }
1298
- /**
1299
- * @private
1300
- */
1301
- getRootDocV2() {
1302
- this.docTranslator({ id: "root" }, { id: "root", doc: this.rootDoc }, true);
1303
- return { id: "root", doc: this.rootDoc };
1304
- }
1305
- /**
1306
- * Convert all of the statements (stmts) that were parsed into states and relationships.
1307
- * This is done because a state diagram may have nested sections,
1308
- * where each section is a 'document' and has its own set of statements.
1309
- * Ex: the section within a fork has its own statements, and incoming and outgoing statements
1310
- * refer to the fork as a whole (document).
1311
- * See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
1312
- * This will push the statement into the list of statements for the current document.
1313
- * @private
1314
- * @param _doc
1315
- */
1316
- extract(_doc) {
1317
- let doc;
1318
- if (_doc.doc) {
1319
- doc = _doc.doc;
1320
- } else {
1321
- doc = _doc;
1322
- }
1323
- log.info(doc);
1324
- this.clear(true);
1325
- log.info("Extract initial document:", doc);
1326
- doc.forEach((item) => {
1327
- log.warn("Statement", item.stmt);
1328
- switch (item.stmt) {
1329
- case STMT_STATE:
1330
- this.addState(
1331
- item.id.trim(),
1332
- item.type,
1333
- item.doc,
1334
- item.description,
1335
- item.note,
1336
- item.classes,
1337
- item.styles,
1338
- item.textStyles
1339
- );
1340
- break;
1341
- case STMT_RELATION:
1342
- this.addRelation(item.state1, item.state2, item.description);
1343
- break;
1344
- case STMT_CLASSDEF:
1345
- this.addStyleClass(item.id.trim(), item.classes);
1346
- break;
1347
- case STMT_STYLEDEF:
1348
- {
1349
- const ids = item.id.trim().split(",");
1350
- const styles = item.styleClass.split(",");
1351
- ids.forEach((id) => {
1352
- let foundState = this.getState(id);
1353
- if (foundState === void 0) {
1354
- const trimmedId = id.trim();
1355
- this.addState(trimmedId);
1356
- foundState = this.getState(trimmedId);
1357
- }
1358
- foundState.styles = styles.map((s) => {
1359
- var _a2;
1360
- return (_a2 = s.replace(/;/g, "")) == null ? void 0 : _a2.trim();
1361
- });
1362
- });
1363
- }
1364
- break;
1365
- case STMT_APPLYCLASS:
1366
- this.setCssClass(item.id.trim(), item.styleClass);
1367
- break;
1368
- }
1369
- });
1370
- const diagramStates = this.getStates();
1371
- const config = getConfig2();
1372
- const look = config.look;
1373
- reset();
1374
- dataFetcher(
1375
- void 0,
1376
- this.getRootDocV2(),
1377
- diagramStates,
1378
- this.nodes,
1379
- this.edges,
1380
- true,
1381
- look,
1382
- this.classes
1383
- );
1384
- this.nodes.forEach((node) => {
1385
- if (Array.isArray(node.label)) {
1386
- node.description = node.label.slice(1);
1387
- if (node.isGroup && node.description.length > 0) {
1388
- throw new Error(
1389
- "Group nodes can only have label. Remove the additional description for node [" + node.id + "]"
1390
- );
1391
- }
1392
- node.label = node.label[0];
1393
- }
1394
- });
1395
- }
1396
- /**
1397
- * Function called by parser when a node definition has been found.
1398
- *
1399
- * @param {null | string} id
1400
- * @param {null | string} type
1401
- * @param {null | string} doc
1402
- * @param {null | string | string[]} descr - description for the state. Can be a string or a list or strings
1403
- * @param {null | string} note
1404
- * @param {null | string | string[]} classes - class styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 class, convert it to an array of that 1 class.
1405
- * @param {null | string | string[]} styles - styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 style, convert it to an array of that 1 style.
1406
- * @param {null | string | string[]} textStyles - text styles to apply to this state. Can be a string (1 text test) or an array of text styles. If it's just 1 text style, convert it to an array of that 1 text style.
1407
- */
1408
- addState(id, type = DEFAULT_STATE_TYPE, doc = null, descr = null, note = null, classes = null, styles = null, textStyles = null) {
1409
- const trimmedId = id == null ? void 0 : id.trim();
1410
- if (!this.currentDocument.states.has(trimmedId)) {
1411
- log.info("Adding state ", trimmedId, descr);
1412
- this.currentDocument.states.set(trimmedId, {
1413
- id: trimmedId,
1414
- descriptions: [],
1415
- type,
1416
- doc,
1417
- note,
1418
- classes: [],
1419
- styles: [],
1420
- textStyles: []
1421
- });
1422
- } else {
1423
- if (!this.currentDocument.states.get(trimmedId).doc) {
1424
- this.currentDocument.states.get(trimmedId).doc = doc;
1425
- }
1426
- if (!this.currentDocument.states.get(trimmedId).type) {
1427
- this.currentDocument.states.get(trimmedId).type = type;
1428
- }
1429
- }
1430
- if (descr) {
1431
- log.info("Setting state description", trimmedId, descr);
1432
- if (typeof descr === "string") {
1433
- this.addDescription(trimmedId, descr.trim());
1434
- }
1435
- if (typeof descr === "object") {
1436
- descr.forEach((des) => this.addDescription(trimmedId, des.trim()));
1437
- }
1438
- }
1439
- if (note) {
1440
- const doc2 = this.currentDocument.states.get(trimmedId);
1441
- doc2.note = note;
1442
- doc2.note.text = common_default.sanitizeText(doc2.note.text, getConfig2());
1443
- }
1444
- if (classes) {
1445
- log.info("Setting state classes", trimmedId, classes);
1446
- const classesList = typeof classes === "string" ? [classes] : classes;
1447
- classesList.forEach((cssClass) => this.setCssClass(trimmedId, cssClass.trim()));
1448
- }
1449
- if (styles) {
1450
- log.info("Setting state styles", trimmedId, styles);
1451
- const stylesList = typeof styles === "string" ? [styles] : styles;
1452
- stylesList.forEach((style) => this.setStyle(trimmedId, style.trim()));
1453
- }
1454
- if (textStyles) {
1455
- log.info("Setting state styles", trimmedId, styles);
1456
- const textStylesList = typeof textStyles === "string" ? [textStyles] : textStyles;
1457
- textStylesList.forEach((textStyle) => this.setTextStyle(trimmedId, textStyle.trim()));
1458
- }
1459
- }
1460
- clear(saveCommon) {
1461
- this.nodes = [];
1462
- this.edges = [];
1463
- this.documents = {
1464
- root: newDoc()
1465
- };
1466
- this.currentDocument = this.documents.root;
1467
- this.startEndCount = 0;
1468
- this.classes = newClassesList();
1469
- if (!saveCommon) {
1470
- clear();
1471
- }
1472
- }
1473
- getState(id) {
1474
- return this.currentDocument.states.get(id);
1475
- }
1476
- getStates() {
1477
- return this.currentDocument.states;
1478
- }
1479
- logDocuments() {
1480
- log.info("Documents = ", this.documents);
1481
- }
1482
- getRelations() {
1483
- return this.currentDocument.relations;
1484
- }
1485
- /**
1486
- * If the id is a start node ( [*] ), then return a new id constructed from
1487
- * the start node name and the current start node count.
1488
- * else return the given id
1489
- *
1490
- * @param {string} id
1491
- * @returns {string} - the id (original or constructed)
1492
- * @private
1493
- */
1494
- startIdIfNeeded(id = "") {
1495
- let fixedId = id;
1496
- if (id === START_NODE) {
1497
- this.startEndCount++;
1498
- fixedId = `${START_TYPE}${this.startEndCount}`;
1499
- }
1500
- return fixedId;
1501
- }
1502
- /**
1503
- * If the id is a start node ( [*] ), then return the start type ('start')
1504
- * else return the given type
1505
- *
1506
- * @param {string} id
1507
- * @param {string} type
1508
- * @returns {string} - the type that should be used
1509
- * @private
1510
- */
1511
- startTypeIfNeeded(id = "", type = DEFAULT_STATE_TYPE) {
1512
- return id === START_NODE ? START_TYPE : type;
1513
- }
1514
- /**
1515
- * If the id is an end node ( [*] ), then return a new id constructed from
1516
- * the end node name and the current start_end node count.
1517
- * else return the given id
1518
- *
1519
- * @param {string} id
1520
- * @returns {string} - the id (original or constructed)
1521
- * @private
1522
- */
1523
- endIdIfNeeded(id = "") {
1524
- let fixedId = id;
1525
- if (id === END_NODE) {
1526
- this.startEndCount++;
1527
- fixedId = `${END_TYPE}${this.startEndCount}`;
1528
- }
1529
- return fixedId;
1530
- }
1531
- /**
1532
- * If the id is an end node ( [*] ), then return the end type
1533
- * else return the given type
1534
- *
1535
- * @param {string} id
1536
- * @param {string} type
1537
- * @returns {string} - the type that should be used
1538
- * @private
1539
- */
1540
- endTypeIfNeeded(id = "", type = DEFAULT_STATE_TYPE) {
1541
- return id === END_NODE ? END_TYPE : type;
1542
- }
1543
- /**
1544
- *
1545
- * @param item1
1546
- * @param item2
1547
- * @param relationTitle
1548
- */
1549
- addRelationObjs(item1, item2, relationTitle) {
1550
- let id1 = this.startIdIfNeeded(item1.id.trim());
1551
- let type1 = this.startTypeIfNeeded(item1.id.trim(), item1.type);
1552
- let id2 = this.startIdIfNeeded(item2.id.trim());
1553
- let type2 = this.startTypeIfNeeded(item2.id.trim(), item2.type);
1554
- this.addState(
1555
- id1,
1556
- type1,
1557
- item1.doc,
1558
- item1.description,
1559
- item1.note,
1560
- item1.classes,
1561
- item1.styles,
1562
- item1.textStyles
1563
- );
1564
- this.addState(
1565
- id2,
1566
- type2,
1567
- item2.doc,
1568
- item2.description,
1569
- item2.note,
1570
- item2.classes,
1571
- item2.styles,
1572
- item2.textStyles
1573
- );
1574
- this.currentDocument.relations.push({
1575
- id1,
1576
- id2,
1577
- relationTitle: common_default.sanitizeText(relationTitle, getConfig2())
1578
- });
1579
- }
1580
- /**
1581
- * Add a relation between two items. The items may be full objects or just the string id of a state.
1582
- *
1583
- * @param {string | object} item1
1584
- * @param {string | object} item2
1585
- * @param {string} title
1586
- */
1587
- addRelation(item1, item2, title) {
1588
- if (typeof item1 === "object") {
1589
- this.addRelationObjs(item1, item2, title);
1590
- } else {
1591
- const id1 = this.startIdIfNeeded(item1.trim());
1592
- const type1 = this.startTypeIfNeeded(item1);
1593
- const id2 = this.endIdIfNeeded(item2.trim());
1594
- const type2 = this.endTypeIfNeeded(item2);
1595
- this.addState(id1, type1);
1596
- this.addState(id2, type2);
1597
- this.currentDocument.relations.push({
1598
- id1,
1599
- id2,
1600
- title: common_default.sanitizeText(title, getConfig2())
1601
- });
1602
- }
1603
- }
1604
- addDescription(id, descr) {
1605
- const theState = this.currentDocument.states.get(id);
1606
- const _descr = descr.startsWith(":") ? descr.replace(":", "").trim() : descr;
1607
- theState.descriptions.push(common_default.sanitizeText(_descr, getConfig2()));
1608
- }
1609
- cleanupLabel(label) {
1610
- if (label.substring(0, 1) === ":") {
1611
- return label.substr(2).trim();
1612
- } else {
1613
- return label.trim();
1614
- }
1615
- }
1616
- getDividerId() {
1617
- this.dividerCnt++;
1618
- return "divider-id-" + this.dividerCnt;
1619
- }
1620
- /**
1621
- * Called when the parser comes across a (style) class definition
1622
- * @example classDef my-style fill:#f96;
1623
- *
1624
- * @param {string} id - the id of this (style) class
1625
- * @param {string | null} styleAttributes - the string with 1 or more style attributes (each separated by a comma)
1626
- */
1627
- addStyleClass(id, styleAttributes = "") {
1628
- if (!this.classes.has(id)) {
1629
- this.classes.set(id, { id, styles: [], textStyles: [] });
1630
- }
1631
- const foundClass = this.classes.get(id);
1632
- if (styleAttributes !== void 0 && styleAttributes !== null) {
1633
- styleAttributes.split(STYLECLASS_SEP).forEach((attrib) => {
1634
- const fixedAttrib = attrib.replace(/([^;]*);/, "$1").trim();
1635
- if (RegExp(COLOR_KEYWORD).exec(attrib)) {
1636
- const newStyle1 = fixedAttrib.replace(FILL_KEYWORD, BG_FILL);
1637
- const newStyle2 = newStyle1.replace(COLOR_KEYWORD, FILL_KEYWORD);
1638
- foundClass.textStyles.push(newStyle2);
1639
- }
1640
- foundClass.styles.push(fixedAttrib);
1641
- });
1642
- }
1643
- }
1644
- /**
1645
- * Return all of the style classes
1646
- * @returns {{} | any | classes}
1647
- */
1648
- getClasses() {
1649
- return this.classes;
1650
- }
1651
- /**
1652
- * Add a (style) class or css class to a state with the given id.
1653
- * If the state isn't already in the list of known states, add it.
1654
- * Might be called by parser when a style class or CSS class should be applied to a state
1655
- *
1656
- * @param {string | string[]} itemIds The id or a list of ids of the item(s) to apply the css class to
1657
- * @param {string} cssClassName CSS class name
1658
- */
1659
- setCssClass(itemIds, cssClassName) {
1660
- itemIds.split(",").forEach((id) => {
1661
- let foundState = this.getState(id);
1662
- if (foundState === void 0) {
1663
- const trimmedId = id.trim();
1664
- this.addState(trimmedId);
1665
- foundState = this.getState(trimmedId);
1666
- }
1667
- foundState.classes.push(cssClassName);
1668
- });
1669
- }
1670
- /**
1671
- * Add a style to a state with the given id.
1672
- * @example style stateId fill:#f9f,stroke:#333,stroke-width:4px
1673
- * where 'style' is the keyword
1674
- * stateId is the id of a state
1675
- * the rest of the string is the styleText (all of the attributes to be applied to the state)
1676
- *
1677
- * @param itemId The id of item to apply the style to
1678
- * @param styleText - the text of the attributes for the style
1679
- */
1680
- setStyle(itemId, styleText) {
1681
- const item = this.getState(itemId);
1682
- if (item !== void 0) {
1683
- item.styles.push(styleText);
1684
- }
1685
- }
1686
- /**
1687
- * Add a text style to a state with the given id
1688
- *
1689
- * @param itemId The id of item to apply the css class to
1690
- * @param cssClassName CSS class name
1691
- */
1692
- setTextStyle(itemId, cssClassName) {
1693
- const item = this.getState(itemId);
1694
- if (item !== void 0) {
1695
- item.textStyles.push(cssClassName);
1696
- }
1697
- }
1698
- /**
1699
- * Finds the direction statement in the root document.
1700
- * @private
1701
- * @returns {{ value: string } | undefined} - the direction statement if present
1702
- */
1703
- getDirectionStatement() {
1704
- return this.rootDoc.find((doc) => doc.stmt === STMT_DIRECTION);
1705
- }
1706
- getDirection() {
1707
- var _a2;
1708
- return ((_a2 = this.getDirectionStatement()) == null ? void 0 : _a2.value) ?? DEFAULT_DIAGRAM_DIRECTION;
1709
- }
1710
- setDirection(dir) {
1711
- const doc = this.getDirectionStatement();
1712
- if (doc) {
1713
- doc.value = dir;
1714
- } else {
1715
- this.rootDoc.unshift({ stmt: STMT_DIRECTION, value: dir });
1716
- }
1717
- }
1718
- trimColon(str) {
1719
- return str && str[0] === ":" ? str.substr(1).trim() : str.trim();
1720
- }
1721
- getData() {
1722
- const config = getConfig2();
1723
- return {
1724
- nodes: this.nodes,
1725
- edges: this.edges,
1726
- other: {},
1727
- config,
1728
- direction: getDir(this.getRootDocV2())
1729
- };
1730
- }
1731
- getConfig() {
1732
- return getConfig2().state;
1733
- }
1734
- }, __name(_a, "StateDB"), __publicField(_a, "relationType", {
1735
- AGGREGATION: 0,
1736
- EXTENSION: 1,
1737
- COMPOSITION: 2,
1738
- DEPENDENCY: 3
1739
- }), _a);
1740
- var getStyles = /* @__PURE__ */ __name((options) => `
1741
- defs #statediagram-barbEnd {
1742
- fill: ${options.transitionColor};
1743
- stroke: ${options.transitionColor};
1744
- }
1745
- g.stateGroup text {
1746
- fill: ${options.nodeBorder};
1747
- stroke: none;
1748
- font-size: 10px;
1749
- }
1750
- g.stateGroup text {
1751
- fill: ${options.textColor};
1752
- stroke: none;
1753
- font-size: 10px;
1754
-
1755
- }
1756
- g.stateGroup .state-title {
1757
- font-weight: bolder;
1758
- fill: ${options.stateLabelColor};
1759
- }
1760
-
1761
- g.stateGroup rect {
1762
- fill: ${options.mainBkg};
1763
- stroke: ${options.nodeBorder};
1764
- }
1765
-
1766
- g.stateGroup line {
1767
- stroke: ${options.lineColor};
1768
- stroke-width: 1;
1769
- }
1770
-
1771
- .transition {
1772
- stroke: ${options.transitionColor};
1773
- stroke-width: 1;
1774
- fill: none;
1775
- }
1776
-
1777
- .stateGroup .composit {
1778
- fill: ${options.background};
1779
- border-bottom: 1px
1780
- }
1781
-
1782
- .stateGroup .alt-composit {
1783
- fill: #e0e0e0;
1784
- border-bottom: 1px
1785
- }
1786
-
1787
- .state-note {
1788
- stroke: ${options.noteBorderColor};
1789
- fill: ${options.noteBkgColor};
1790
-
1791
- text {
1792
- fill: ${options.noteTextColor};
1793
- stroke: none;
1794
- font-size: 10px;
1795
- }
1796
- }
1797
-
1798
- .stateLabel .box {
1799
- stroke: none;
1800
- stroke-width: 0;
1801
- fill: ${options.mainBkg};
1802
- opacity: 0.5;
1803
- }
1804
-
1805
- .edgeLabel .label rect {
1806
- fill: ${options.labelBackgroundColor};
1807
- opacity: 0.5;
1808
- }
1809
- .edgeLabel {
1810
- background-color: ${options.edgeLabelBackground};
1811
- p {
1812
- background-color: ${options.edgeLabelBackground};
1813
- }
1814
- rect {
1815
- opacity: 0.5;
1816
- background-color: ${options.edgeLabelBackground};
1817
- fill: ${options.edgeLabelBackground};
1818
- }
1819
- text-align: center;
1820
- }
1821
- .edgeLabel .label text {
1822
- fill: ${options.transitionLabelColor || options.tertiaryTextColor};
1823
- }
1824
- .label div .edgeLabel {
1825
- color: ${options.transitionLabelColor || options.tertiaryTextColor};
1826
- }
1827
-
1828
- .stateLabel text {
1829
- fill: ${options.stateLabelColor};
1830
- font-size: 10px;
1831
- font-weight: bold;
1832
- }
1833
-
1834
- .node circle.state-start {
1835
- fill: ${options.specialStateColor};
1836
- stroke: ${options.specialStateColor};
1837
- }
1838
-
1839
- .node .fork-join {
1840
- fill: ${options.specialStateColor};
1841
- stroke: ${options.specialStateColor};
1842
- }
1843
-
1844
- .node circle.state-end {
1845
- fill: ${options.innerEndBackground};
1846
- stroke: ${options.background};
1847
- stroke-width: 1.5
1848
- }
1849
- .end-state-inner {
1850
- fill: ${options.compositeBackground || options.background};
1851
- // stroke: ${options.background};
1852
- stroke-width: 1.5
1853
- }
1854
-
1855
- .node rect {
1856
- fill: ${options.stateBkg || options.mainBkg};
1857
- stroke: ${options.stateBorder || options.nodeBorder};
1858
- stroke-width: 1px;
1859
- }
1860
- .node polygon {
1861
- fill: ${options.mainBkg};
1862
- stroke: ${options.stateBorder || options.nodeBorder};;
1863
- stroke-width: 1px;
1864
- }
1865
- #statediagram-barbEnd {
1866
- fill: ${options.lineColor};
1867
- }
1868
-
1869
- .statediagram-cluster rect {
1870
- fill: ${options.compositeTitleBackground};
1871
- stroke: ${options.stateBorder || options.nodeBorder};
1872
- stroke-width: 1px;
1873
- }
1874
-
1875
- .cluster-label, .nodeLabel {
1876
- color: ${options.stateLabelColor};
1877
- // line-height: 1;
1878
- }
1879
-
1880
- .statediagram-cluster rect.outer {
1881
- rx: 5px;
1882
- ry: 5px;
1883
- }
1884
- .statediagram-state .divider {
1885
- stroke: ${options.stateBorder || options.nodeBorder};
1886
- }
1887
-
1888
- .statediagram-state .title-state {
1889
- rx: 5px;
1890
- ry: 5px;
1891
- }
1892
- .statediagram-cluster.statediagram-cluster .inner {
1893
- fill: ${options.compositeBackground || options.background};
1894
- }
1895
- .statediagram-cluster.statediagram-cluster-alt .inner {
1896
- fill: ${options.altBackground ? options.altBackground : "#efefef"};
1897
- }
1898
-
1899
- .statediagram-cluster .inner {
1900
- rx:0;
1901
- ry:0;
1902
- }
1903
-
1904
- .statediagram-state rect.basic {
1905
- rx: 5px;
1906
- ry: 5px;
1907
- }
1908
- .statediagram-state rect.divider {
1909
- stroke-dasharray: 10,10;
1910
- fill: ${options.altBackground ? options.altBackground : "#efefef"};
1911
- }
1912
-
1913
- .note-edge {
1914
- stroke-dasharray: 5;
1915
- }
1916
-
1917
- .statediagram-note rect {
1918
- fill: ${options.noteBkgColor};
1919
- stroke: ${options.noteBorderColor};
1920
- stroke-width: 1px;
1921
- rx: 0;
1922
- ry: 0;
1923
- }
1924
- .statediagram-note rect {
1925
- fill: ${options.noteBkgColor};
1926
- stroke: ${options.noteBorderColor};
1927
- stroke-width: 1px;
1928
- rx: 0;
1929
- ry: 0;
1930
- }
1931
-
1932
- .statediagram-note text {
1933
- fill: ${options.noteTextColor};
1934
- }
1935
-
1936
- .statediagram-note .nodeLabel {
1937
- color: ${options.noteTextColor};
1938
- }
1939
- .statediagram .edgeLabel {
1940
- color: red; // ${options.noteTextColor};
1941
- }
1942
-
1943
- #dependencyStart, #dependencyEnd {
1944
- fill: ${options.lineColor};
1945
- stroke: ${options.lineColor};
1946
- stroke-width: 1;
1947
- }
1948
-
1949
- .statediagramTitleText {
1950
- text-anchor: middle;
1951
- font-size: 18px;
1952
- fill: ${options.textColor};
1953
- }
1954
- `, "getStyles");
1955
- var styles_default = getStyles;
1956
- export {
1957
- StateDB,
1958
- stateDiagram_default,
1959
- stateRenderer_v3_unified_default,
1960
- styles_default
1961
- };