@windrun-huaiin/third-ui 13.1.3 → 13.1.5

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