@windrun-huaiin/third-ui 13.1.4 → 14.0.0

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 (770) 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/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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatDecimal.js +2 -2
  21. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatDecimal.mjs +2 -2
  22. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatPrefixAuto.js +1 -1
  23. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatPrefixAuto.mjs +1 -1
  24. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/locale.js +7 -8
  25. package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/locale.mjs +7 -8
  26. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js +5 -5
  27. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.mjs +5 -5
  28. package/dist/node_modules/.pnpm/{dompurify@3.3.0 → dompurify@3.3.3}/node_modules/dompurify/dist/purify.es.js +21 -4
  29. package/dist/node_modules/.pnpm/{dompurify@3.3.0 → dompurify@3.3.3}/node_modules/dompurify/dist/purify.es.mjs +21 -4
  30. package/dist/node_modules/.pnpm/{katex@0.16.33 → katex@0.16.38}/node_modules/katex/dist/katex.js +4350 -6293
  31. package/dist/node_modules/.pnpm/{katex@0.16.33 → katex@0.16.38}/node_modules/katex/dist/katex.mjs +4350 -6293
  32. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +2 -2
  33. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs +2 -2
  34. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +5 -5
  35. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs +5 -5
  36. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +1 -1
  37. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs +1 -1
  38. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/mermaid.core.js +1 -1
  39. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/mermaid.core.mjs +1 -1
  40. package/package.json +6 -6
  41. package/src/clerk/clerk-user-client.tsx +40 -36
  42. package/src/lib/clerk-intl.ts +1 -1
  43. package/dist/_virtual/_commonjs-dynamic-modules.js +0 -7
  44. package/dist/_virtual/_commonjs-dynamic-modules.mjs +0 -5
  45. package/dist/_virtual/api.js +0 -5
  46. package/dist/_virtual/api.mjs +0 -3
  47. package/dist/_virtual/api2.js +0 -5
  48. package/dist/_virtual/api2.mjs +0 -3
  49. package/dist/_virtual/connection.js +0 -5
  50. package/dist/_virtual/connection.mjs +0 -3
  51. package/dist/_virtual/connection2.js +0 -5
  52. package/dist/_virtual/connection2.mjs +0 -3
  53. package/dist/_virtual/disposable.js +0 -5
  54. package/dist/_virtual/disposable.mjs +0 -3
  55. package/dist/_virtual/duration.js +0 -9
  56. package/dist/_virtual/duration.mjs +0 -7
  57. package/dist/_virtual/duration2.js +0 -5
  58. package/dist/_virtual/duration2.mjs +0 -3
  59. package/dist/_virtual/is2.js +0 -5
  60. package/dist/_virtual/is2.mjs +0 -3
  61. package/dist/_virtual/linkedMap.js +0 -5
  62. package/dist/_virtual/linkedMap.mjs +0 -3
  63. package/dist/_virtual/main.js +0 -7
  64. package/dist/_virtual/main.mjs +0 -5
  65. package/dist/_virtual/main2.js +0 -5
  66. package/dist/_virtual/main2.mjs +0 -3
  67. package/dist/_virtual/main3.js +0 -5
  68. package/dist/_virtual/main3.mjs +0 -3
  69. package/dist/_virtual/main4.js +0 -5
  70. package/dist/_virtual/main4.mjs +0 -3
  71. package/dist/_virtual/messageBuffer.js +0 -5
  72. package/dist/_virtual/messageBuffer.mjs +0 -3
  73. package/dist/_virtual/messageReader.js +0 -5
  74. package/dist/_virtual/messageReader.mjs +0 -3
  75. package/dist/_virtual/messageWriter.js +0 -5
  76. package/dist/_virtual/messageWriter.mjs +0 -3
  77. package/dist/_virtual/messages.js +0 -5
  78. package/dist/_virtual/messages.mjs +0 -3
  79. package/dist/_virtual/messages2.js +0 -5
  80. package/dist/_virtual/messages2.mjs +0 -3
  81. package/dist/_virtual/protocol.callHierarchy.js +0 -5
  82. package/dist/_virtual/protocol.callHierarchy.mjs +0 -3
  83. package/dist/_virtual/protocol.colorProvider.js +0 -5
  84. package/dist/_virtual/protocol.colorProvider.mjs +0 -3
  85. package/dist/_virtual/protocol.configuration.js +0 -5
  86. package/dist/_virtual/protocol.configuration.mjs +0 -3
  87. package/dist/_virtual/protocol.declaration.js +0 -5
  88. package/dist/_virtual/protocol.declaration.mjs +0 -3
  89. package/dist/_virtual/protocol.diagnostic.js +0 -5
  90. package/dist/_virtual/protocol.diagnostic.mjs +0 -3
  91. package/dist/_virtual/protocol.fileOperations.js +0 -5
  92. package/dist/_virtual/protocol.fileOperations.mjs +0 -3
  93. package/dist/_virtual/protocol.foldingRange.js +0 -5
  94. package/dist/_virtual/protocol.foldingRange.mjs +0 -3
  95. package/dist/_virtual/protocol.implementation.js +0 -5
  96. package/dist/_virtual/protocol.implementation.mjs +0 -3
  97. package/dist/_virtual/protocol.inlayHint.js +0 -5
  98. package/dist/_virtual/protocol.inlayHint.mjs +0 -3
  99. package/dist/_virtual/protocol.inlineCompletion.js +0 -5
  100. package/dist/_virtual/protocol.inlineCompletion.mjs +0 -3
  101. package/dist/_virtual/protocol.inlineValue.js +0 -5
  102. package/dist/_virtual/protocol.inlineValue.mjs +0 -3
  103. package/dist/_virtual/protocol.js +0 -5
  104. package/dist/_virtual/protocol.linkedEditingRange.js +0 -5
  105. package/dist/_virtual/protocol.linkedEditingRange.mjs +0 -3
  106. package/dist/_virtual/protocol.mjs +0 -3
  107. package/dist/_virtual/protocol.moniker.js +0 -5
  108. package/dist/_virtual/protocol.moniker.mjs +0 -3
  109. package/dist/_virtual/protocol.notebook.js +0 -5
  110. package/dist/_virtual/protocol.notebook.mjs +0 -3
  111. package/dist/_virtual/protocol.progress.js +0 -5
  112. package/dist/_virtual/protocol.progress.mjs +0 -3
  113. package/dist/_virtual/protocol.selectionRange.js +0 -5
  114. package/dist/_virtual/protocol.selectionRange.mjs +0 -3
  115. package/dist/_virtual/protocol.semanticTokens.js +0 -5
  116. package/dist/_virtual/protocol.semanticTokens.mjs +0 -3
  117. package/dist/_virtual/protocol.showDocument.js +0 -5
  118. package/dist/_virtual/protocol.showDocument.mjs +0 -3
  119. package/dist/_virtual/protocol.typeDefinition.js +0 -5
  120. package/dist/_virtual/protocol.typeDefinition.mjs +0 -3
  121. package/dist/_virtual/protocol.typeHierarchy.js +0 -5
  122. package/dist/_virtual/protocol.typeHierarchy.mjs +0 -3
  123. package/dist/_virtual/protocol.workspaceFolder.js +0 -5
  124. package/dist/_virtual/protocol.workspaceFolder.mjs +0 -3
  125. package/dist/_virtual/ril.js +0 -5
  126. package/dist/_virtual/ril.mjs +0 -3
  127. package/dist/_virtual/semaphore.js +0 -5
  128. package/dist/_virtual/semaphore.mjs +0 -3
  129. package/dist/_virtual/sharedArrayCancellation.js +0 -5
  130. package/dist/_virtual/sharedArrayCancellation.mjs +0 -3
  131. package/dist/clerk/clerk-optional-auth.d.ts +0 -12
  132. package/dist/clerk/clerk-optional-auth.js +0 -33
  133. package/dist/clerk/clerk-optional-auth.mjs +0 -31
  134. package/dist/clerk/optional-auth.d.ts +0 -12
  135. package/dist/clerk/optional-auth.js +0 -47
  136. package/dist/clerk/optional-auth.mjs +0 -45
  137. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/helpers.js +0 -88
  138. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/helpers.mjs +0 -83
  139. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/model.js +0 -246
  140. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/model.mjs +0 -232
  141. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/visitor.js +0 -56
  142. package/dist/node_modules/.pnpm/@chevrotain_gast@11.1.2/node_modules/@chevrotain/gast/lib/src/visitor.mjs +0 -54
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.js +0 -43
  150. package/dist/node_modules/.pnpm/@chevrotain_regexp-to-ast@11.1.2/node_modules/@chevrotain/regexp-to-ast/lib/src/utils.mjs +0 -36
  151. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/print.js +0 -18
  152. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/print.mjs +0 -15
  153. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/timer.js +0 -11
  154. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/timer.mjs +0 -9
  155. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/to-fast-properties.js +0 -21
  156. package/dist/node_modules/.pnpm/@chevrotain_utils@11.1.2/node_modules/@chevrotain/utils/lib/src/to-fast-properties.mjs +0 -19
  157. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js +0 -3212
  158. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.mjs +0 -3187
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +0 -129
  190. package/dist/node_modules/.pnpm/@mermaid-js_parser@1.0.0/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +0 -78
  191. 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
  192. 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
  193. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/atn.js +0 -426
  194. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/atn.mjs +0 -409
  195. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/dfa.js +0 -52
  196. package/dist/node_modules/.pnpm/chevrotain-allstar@0.3.1_chevrotain@11.1.2/node_modules/chevrotain-allstar/lib/dfa.mjs +0 -48
  197. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/lang/lang_extensions.js +0 -13
  198. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/lang/lang_extensions.mjs +0 -11
  199. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/constants.js +0 -6
  200. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/constants.mjs +0 -4
  201. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst.js +0 -77
  202. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst.mjs +0 -72
  203. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.js +0 -106
  204. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/cst/cst_visitor.mjs +0 -100
  205. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/errors_public.js +0 -191
  206. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/errors_public.mjs +0 -187
  207. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/exceptions_public.js +0 -66
  208. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/exceptions_public.mjs +0 -60
  209. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/checks.js +0 -469
  210. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/checks.mjs +0 -454
  211. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/first.js +0 -66
  212. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/first.mjs +0 -61
  213. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/follow.js +0 -48
  214. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/follow.mjs +0 -44
  215. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.js +0 -27
  216. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/gast/gast_resolver_public.mjs +0 -24
  217. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/interpreter.js +0 -510
  218. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/interpreter.mjs +0 -500
  219. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/keys.js +0 -33
  220. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/keys.mjs +0 -23
  221. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.js +0 -52
  222. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/llk_lookahead.mjs +0 -50
  223. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/lookahead.js +0 -493
  224. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/lookahead.mjs +0 -480
  225. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/resolver.js +0 -44
  226. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/resolver.mjs +0 -41
  227. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/rest.js +0 -108
  228. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/grammar/rest.mjs +0 -106
  229. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/parser.js +0 -208
  230. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/parser.mjs +0 -201
  231. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.js +0 -27
  232. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/context_assist.mjs +0 -25
  233. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.js +0 -79
  234. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/error_handler.mjs +0 -77
  235. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.js +0 -304
  236. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/gast_recorder.mjs +0 -302
  237. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.js +0 -74
  238. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/lexer_adapter.mjs +0 -72
  239. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.js +0 -141
  240. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/looksahead.mjs +0 -138
  241. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.js +0 -52
  242. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/perf_tracer.mjs +0 -50
  243. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.js +0 -339
  244. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_api.mjs +0 -337
  245. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.js +0 -555
  246. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recognizer_engine.mjs +0 -553
  247. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.js +0 -305
  248. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/recoverable.mjs +0 -299
  249. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.js +0 -198
  250. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/traits/tree_builder.mjs +0 -196
  251. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.js +0 -23
  252. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/parse/parser/utils/apply_mixins.mjs +0 -21
  253. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer.js +0 -913
  254. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer.mjs +0 -888
  255. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_errors_public.js +0 -12
  256. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_errors_public.mjs +0 -10
  257. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_public.js +0 -659
  258. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/lexer_public.mjs +0 -657
  259. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp.js +0 -261
  260. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp.mjs +0 -256
  261. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp_parser.js +0 -23
  262. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/reg_exp_parser.mjs +0 -20
  263. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens.js +0 -140
  264. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens.mjs +0 -125
  265. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens_public.js +0 -95
  266. package/dist/node_modules/.pnpm/chevrotain@11.1.2/node_modules/chevrotain/lib/src/scan/tokens_public.mjs +0 -88
  267. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/duration.js +0 -18
  268. package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/duration.mjs +0 -16
  269. package/dist/node_modules/.pnpm/katex@0.16.25/node_modules/katex/dist/katex.js +0 -18557
  270. package/dist/node_modules/.pnpm/katex@0.16.25/node_modules/katex/dist/katex.mjs +0 -18541
  271. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/default-module.js +0 -103
  272. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/default-module.mjs +0 -100
  273. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/dependency-injection.js +0 -155
  274. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/dependency-injection.mjs +0 -153
  275. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/comment-provider.js +0 -23
  276. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/comment-provider.mjs +0 -21
  277. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/documentation-provider.js +0 -70
  278. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/documentation-provider.mjs +0 -68
  279. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/jsdoc.js +0 -510
  280. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/documentation/jsdoc.mjs +0 -507
  281. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/generated/ast.js +0 -1216
  282. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/generated/ast.mjs +0 -1130
  283. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/grammar-config.js +0 -31
  284. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/languages/grammar-config.mjs +0 -29
  285. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/async-parser.js +0 -23
  286. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/async-parser.mjs +0 -21
  287. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/completion-parser-builder.js +0 -20
  288. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/completion-parser-builder.mjs +0 -18
  289. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/cst-node-builder.js +0 -231
  290. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/cst-node-builder.mjs +0 -225
  291. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser-builder.js +0 -32
  292. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser-builder.mjs +0 -29
  293. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser.js +0 -678
  294. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/langium-parser.mjs +0 -671
  295. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/lexer.js +0 -86
  296. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/lexer.mjs +0 -79
  297. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/parser-builder-base.js +0 -483
  298. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/parser-builder-base.mjs +0 -481
  299. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/token-builder.js +0 -123
  300. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/token-builder.mjs +0 -121
  301. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/value-converter.js +0 -102
  302. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/parser/value-converter.mjs +0 -100
  303. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/linker.js +0 -290
  304. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/linker.mjs +0 -287
  305. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/name-provider.js +0 -26
  306. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/name-provider.mjs +0 -23
  307. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/references.js +0 -136
  308. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/references.mjs +0 -134
  309. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-computation.js +0 -91
  310. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-computation.mjs +0 -89
  311. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-provider.js +0 -68
  312. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope-provider.mjs +0 -66
  313. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope.js +0 -101
  314. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/references/scope.mjs +0 -98
  315. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/hydrator.js +0 -279
  316. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/hydrator.mjs +0 -277
  317. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/json-serializer.js +0 -271
  318. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/serializer/json-serializer.mjs +0 -268
  319. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/service-registry.js +0 -82
  320. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/service-registry.mjs +0 -80
  321. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/syntax-tree.js +0 -120
  322. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/syntax-tree.mjs +0 -110
  323. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/ast-utils.js +0 -229
  324. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/ast-utils.mjs +0 -218
  325. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/caching.js +0 -153
  326. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/caching.mjs +0 -148
  327. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/collections.js +0 -200
  328. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/collections.mjs +0 -197
  329. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/cst-utils.js +0 -149
  330. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/cst-utils.mjs +0 -138
  331. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/disposable.js +0 -16
  332. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/disposable.mjs +0 -16
  333. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/errors.js +0 -18
  334. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/errors.mjs +0 -15
  335. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-loader.js +0 -43
  336. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-loader.mjs +0 -41
  337. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-utils.js +0 -501
  338. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/grammar-utils.mjs +0 -483
  339. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/promise-utils.js +0 -101
  340. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/promise-utils.mjs +0 -94
  341. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/regexp-utils.js +0 -283
  342. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/regexp-utils.mjs +0 -275
  343. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/stream.js +0 -517
  344. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/stream.mjs +0 -511
  345. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/uri-utils.js +0 -192
  346. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/utils/uri-utils.mjs +0 -189
  347. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/document-validator.js +0 -296
  348. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/document-validator.mjs +0 -290
  349. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/validation-registry.js +0 -168
  350. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/validation/validation-registry.mjs +0 -165
  351. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-descriptions.js +0 -90
  352. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-descriptions.mjs +0 -87
  353. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-node-locator.js +0 -49
  354. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/ast-node-locator.mjs +0 -47
  355. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/configuration.js +0 -94
  356. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/configuration.mjs +0 -92
  357. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/document-builder.js +0 -500
  358. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/document-builder.mjs +0 -498
  359. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/documents.js +0 -287
  360. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/documents.mjs +0 -280
  361. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/file-system-provider.js +0 -45
  362. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/file-system-provider.mjs +0 -42
  363. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/index-manager.js +0 -101
  364. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/index-manager.mjs +0 -99
  365. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-lock.js +0 -79
  366. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-lock.mjs +0 -77
  367. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-manager.js +0 -140
  368. package/dist/node_modules/.pnpm/langium@4.2.1/node_modules/langium/lib/workspace/workspace-manager.mjs +0 -138
  369. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.js +0 -22
  370. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignMergeValue.mjs +0 -20
  371. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.js +0 -34
  372. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseExtremum.mjs +0 -32
  373. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGt.js +0 -16
  374. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGt.mjs +0 -14
  375. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.js +0 -16
  376. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseLt.mjs +0 -14
  377. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.js +0 -44
  378. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMerge.mjs +0 -42
  379. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.js +0 -96
  380. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseMergeDeep.mjs +0 -94
  381. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseOrderBy.js +0 -51
  382. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseOrderBy.mjs +0 -49
  383. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePick.js +0 -21
  384. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePick.mjs +0 -19
  385. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRange.js +0 -30
  386. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseRange.mjs +0 -28
  387. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSortBy.js +0 -23
  388. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSortBy.mjs +0 -21
  389. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseZipObject.js +0 -25
  390. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseZipObject.mjs +0 -23
  391. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareAscending.js +0 -43
  392. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareAscending.mjs +0 -41
  393. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareMultiple.js +0 -46
  394. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_compareMultiple.mjs +0 -44
  395. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createRange.js +0 -32
  396. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createRange.mjs +0 -30
  397. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_flatRest.js +0 -18
  398. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_flatRest.mjs +0 -16
  399. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.js +0 -23
  400. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_safeGet.mjs +0 -21
  401. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.js +0 -31
  402. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.mjs +0 -29
  403. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forIn.js +0 -41
  404. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forIn.mjs +0 -39
  405. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forOwn.js +0 -38
  406. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/forOwn.mjs +0 -36
  407. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.js +0 -64
  408. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isPlainObject.mjs +0 -62
  409. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/mapValues.js +0 -45
  410. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/mapValues.mjs +0 -43
  411. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/max.js +0 -31
  412. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/max.mjs +0 -29
  413. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.js +0 -41
  414. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge.mjs +0 -39
  415. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.js +0 -31
  416. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/min.mjs +0 -29
  417. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/minBy.js +0 -36
  418. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/minBy.mjs +0 -34
  419. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pick.js +0 -27
  420. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pick.mjs +0 -25
  421. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/range.js +0 -48
  422. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/range.mjs +0 -46
  423. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/sortBy.js +0 -50
  424. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/sortBy.mjs +0 -48
  425. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.js +0 -34
  426. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toPlainObject.mjs +0 -32
  427. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/union.js +0 -28
  428. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/union.mjs +0 -26
  429. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.js +0 -33
  430. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqBy.mjs +0 -31
  431. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.js +0 -30
  432. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/uniqueId.mjs +0 -28
  433. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/zipObject.js +0 -26
  434. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/zipObject.mjs +0 -24
  435. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayAggregator.js +0 -24
  436. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayAggregator.mjs +0 -22
  437. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEvery.js +0 -25
  438. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayEvery.mjs +0 -23
  439. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAggregator.js +0 -23
  440. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseAggregator.mjs +0 -21
  441. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.js +0 -59
  442. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.mjs +0 -57
  443. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEvery.js +0 -23
  444. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseEvery.mjs +0 -21
  445. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsRegExp.js +0 -20
  446. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseIsRegExp.mjs +0 -18
  447. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.js +0 -33
  448. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSlice.mjs +0 -31
  449. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSome.js +0 -24
  450. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSome.mjs +0 -22
  451. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAggregator.js +0 -25
  452. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createAggregator.mjs +0 -23
  453. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/assign.js +0 -60
  454. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/assign.mjs +0 -58
  455. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/compact.js +0 -33
  456. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/compact.mjs +0 -31
  457. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/difference.js +0 -35
  458. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/difference.mjs +0 -33
  459. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/drop.js +0 -40
  460. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/drop.mjs +0 -38
  461. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/dropRight.js +0 -41
  462. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/dropRight.mjs +0 -39
  463. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/every.js +0 -54
  464. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/every.mjs +0 -52
  465. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/groupBy.js +0 -43
  466. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/groupBy.mjs +0 -41
  467. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/head.js +0 -25
  468. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/head.mjs +0 -23
  469. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/includes.js +0 -55
  470. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/includes.mjs +0 -53
  471. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/indexOf.js +0 -37
  472. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/indexOf.mjs +0 -35
  473. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isRegExp.js +0 -29
  474. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isRegExp.mjs +0 -27
  475. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.js +0 -32
  476. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.mjs +0 -30
  477. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/negate.js +0 -42
  478. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/negate.mjs +0 -40
  479. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pickBy.js +0 -39
  480. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/pickBy.mjs +0 -37
  481. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reject.js +0 -48
  482. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/reject.mjs +0 -46
  483. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/some.js +0 -49
  484. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/some.mjs +0 -47
  485. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniq.js +0 -27
  486. package/dist/node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/uniq.mjs +0 -25
  487. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js +0 -1139
  488. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs +0 -1137
  489. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js +0 -3654
  490. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs +0 -3652
  491. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js +0 -2503
  492. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs +0 -2501
  493. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js +0 -19
  494. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.mjs +0 -17
  495. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js +0 -18
  496. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs +0 -16
  497. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js +0 -3063
  498. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs +0 -3013
  499. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +0 -81
  500. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.mjs +0 -76
  501. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js +0 -107
  502. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.mjs +0 -101
  503. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js +0 -1849
  504. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.mjs +0 -1844
  505. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js +0 -19
  506. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.mjs +0 -17
  507. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js +0 -1936
  508. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.mjs +0 -1931
  509. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.js +0 -146
  510. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DR5Q36YT.mjs +0 -144
  511. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js +0 -21
  512. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.mjs +0 -19
  513. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js +0 -22
  514. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.mjs +0 -20
  515. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js +0 -118
  516. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.mjs +0 -114
  517. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js +0 -433
  518. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs +0 -426
  519. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js +0 -5271
  520. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.mjs +0 -5260
  521. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js +0 -2699
  522. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs +0 -2696
  523. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js +0 -69
  524. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs +0 -65
  525. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js +0 -28
  526. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.mjs +0 -26
  527. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js +0 -827
  528. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.mjs +0 -821
  529. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js +0 -22
  530. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs +0 -20
  531. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js +0 -571
  532. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.mjs +0 -553
  533. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js +0 -112
  534. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.mjs +0 -104
  535. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +0 -31
  536. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs +0 -29
  537. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +0 -31
  538. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs +0 -29
  539. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +0 -302
  540. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs +0 -300
  541. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js +0 -662
  542. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs +0 -660
  543. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js +0 -540
  544. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs +0 -538
  545. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js +0 -312
  546. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs +0 -310
  547. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js +0 -224
  548. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs +0 -222
  549. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js +0 -1180
  550. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs +0 -1178
  551. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js +0 -2355
  552. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs +0 -2353
  553. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.js +0 -2201
  554. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs +0 -2199
  555. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.js +0 -1219
  556. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-V2S2FVAM.mjs +0 -1217
  557. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.js +0 -42
  558. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-HS3SLOUP.mjs +0 -40
  559. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js +0 -1269
  560. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs +0 -1267
  561. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js +0 -1065
  562. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs +0 -1063
  563. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js +0 -1113
  564. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs +0 -1111
  565. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js +0 -198
  566. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs +0 -196
  567. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js +0 -1353
  568. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs +0 -1351
  569. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js +0 -1181
  570. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs +0 -1179
  571. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js +0 -700
  572. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs +0 -698
  573. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js +0 -3893
  574. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs +0 -3891
  575. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js +0 -466
  576. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs +0 -464
  577. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +0 -31
  578. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs +0 -29
  579. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js +0 -1238
  580. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs +0 -1236
  581. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js +0 -1892
  582. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs +0 -1890
  583. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/mermaid.core.js +0 -1311
  584. package/dist/node_modules/.pnpm/mermaid@11.12.3/node_modules/mermaid/dist/mermaid.core.mjs +0 -1309
  585. 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
  586. 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
  587. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.js +0 -461
  588. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.mjs +0 -459
  589. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.js +0 -8
  590. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.mjs +0 -6
  591. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.js +0 -23
  592. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.mjs +0 -21
  593. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.js +0 -143
  594. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.mjs +0 -140
  595. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.js +0 -3874
  596. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.mjs +0 -3871
  597. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.js +0 -129
  598. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.mjs +0 -124
  599. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.js +0 -226
  600. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.mjs +0 -216
  601. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.js +0 -310
  602. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.mjs +0 -288
  603. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.js +0 -390
  604. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.mjs +0 -387
  605. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.js +0 -106
  606. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.mjs +0 -104
  607. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.js +0 -1232
  608. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.mjs +0 -1230
  609. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.js +0 -28
  610. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.mjs +0 -26
  611. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +0 -410
  612. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.mjs +0 -408
  613. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +0 -164
  614. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.mjs +0 -162
  615. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.js +0 -212
  616. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.mjs +0 -210
  617. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +0 -131
  618. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.mjs +0 -129
  619. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.js +0 -319
  620. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.mjs +0 -317
  621. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.js +0 -81
  622. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.mjs +0 -79
  623. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +0 -89
  624. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.mjs +0 -87
  625. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js +0 -277
  626. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.mjs +0 -275
  627. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.js +0 -175
  628. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.mjs +0 -173
  629. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.js +0 -21
  630. package/dist/node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.mjs +0 -19
  631. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js +0 -96
  632. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.mjs +0 -94
  633. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.js +0 -28
  634. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.mjs +0 -26
  635. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.js +0 -57
  636. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.mjs +0 -55
  637. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +0 -55
  638. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.mjs +0 -53
  639. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +0 -45
  640. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.mjs +0 -43
  641. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +0 -37
  642. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.mjs +0 -35
  643. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +0 -33
  644. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.mjs +0 -31
  645. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +0 -89
  646. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.mjs +0 -87
  647. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +0 -114
  648. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.mjs +0 -112
  649. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +0 -43
  650. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.mjs +0 -41
  651. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +0 -32
  652. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.mjs +0 -30
  653. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +0 -56
  654. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.mjs +0 -54
  655. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +0 -35
  656. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.mjs +0 -33
  657. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +0 -43
  658. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.mjs +0 -41
  659. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +0 -979
  660. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +0 -32
  661. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.mjs +0 -30
  662. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.mjs +0 -977
  663. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +0 -81
  664. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.mjs +0 -79
  665. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +0 -229
  666. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.mjs +0 -227
  667. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +0 -51
  668. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.mjs +0 -49
  669. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +0 -33
  670. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.mjs +0 -31
  671. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +0 -70
  672. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.mjs +0 -68
  673. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +0 -35
  674. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.mjs +0 -33
  675. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +0 -32
  676. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.mjs +0 -30
  677. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +0 -55
  678. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.mjs +0 -53
  679. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +0 -40
  680. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.mjs +0 -38
  681. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +0 -59
  682. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.mjs +0 -57
  683. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js +0 -44
  684. package/dist/node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.mjs +0 -42
  685. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.js +0 -2280
  686. package/dist/node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.mjs +0 -2278
  687. package/dist/node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.js +0 -6
  688. package/dist/node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.mjs +0 -3
  689. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.js +0 -52
  690. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.mjs +0 -50
  691. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.js +0 -44
  692. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.mjs +0 -35
  693. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js +0 -31
  694. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.mjs +0 -18
  695. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js +0 -492
  696. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.mjs +0 -439
  697. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js +0 -434
  698. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.mjs +0 -388
  699. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js +0 -245
  700. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.mjs +0 -232
  701. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.js +0 -68
  702. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.mjs +0 -62
  703. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js +0 -80
  704. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.mjs +0 -75
  705. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js +0 -101
  706. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.mjs +0 -86
  707. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js +0 -102
  708. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.mjs +0 -76
  709. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.js +0 -56
  710. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.mjs +0 -52
  711. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js +0 -952
  712. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.mjs +0 -909
  713. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js +0 -182
  714. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.mjs +0 -163
  715. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js +0 -9
  716. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.mjs +0 -7
  717. /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
  718. /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
  719. /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
  720. /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
  721. /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
  722. /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
  723. /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
  724. /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
  725. /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
  726. /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
  727. /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
  728. /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
  729. /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
  730. /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
  731. /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
  732. /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
  733. /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
  734. /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
  735. /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
  736. /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
  737. /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
  738. /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
  739. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/defaultLocale.js +0 -0
  740. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/defaultLocale.mjs +0 -0
  741. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/exponent.js +0 -0
  742. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/exponent.mjs +0 -0
  743. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatGroup.js +0 -0
  744. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatGroup.mjs +0 -0
  745. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatNumerals.js +0 -0
  746. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatNumerals.mjs +0 -0
  747. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatRounded.js +0 -0
  748. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatRounded.mjs +0 -0
  749. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatSpecifier.js +0 -0
  750. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatSpecifier.mjs +0 -0
  751. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTrim.js +0 -0
  752. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTrim.mjs +0 -0
  753. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTypes.js +0 -0
  754. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/formatTypes.mjs +0 -0
  755. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/identity.js +0 -0
  756. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/identity.mjs +0 -0
  757. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionFixed.js +0 -0
  758. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionFixed.mjs +0 -0
  759. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionPrefix.js +0 -0
  760. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionPrefix.mjs +0 -0
  761. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionRound.js +0 -0
  762. /package/dist/node_modules/.pnpm/{d3-format@3.1.0 → d3-format@3.1.2}/node_modules/d3-format/src/precisionRound.mjs +0 -0
  763. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/dayjs.min.js +0 -0
  764. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/dayjs.min.mjs +0 -0
  765. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/advancedFormat.js +0 -0
  766. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/advancedFormat.mjs +0 -0
  767. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/customParseFormat.js +0 -0
  768. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/customParseFormat.mjs +0 -0
  769. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/isoWeek.js +0 -0
  770. /package/dist/node_modules/.pnpm/{dayjs@1.11.19 → dayjs@1.11.20}/node_modules/dayjs/plugin/isoWeek.mjs +0 -0
@@ -1,3013 +0,0 @@
1
- import { __name, log, setLogLevel, __export } from './chunk-AGHRB4JF.mjs';
2
- import purify from '../../../../../../dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs';
3
- import adjust from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/adjust.mjs';
4
- import rgba from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/rgba.mjs';
5
- import isDark from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/is_dark.mjs';
6
- import lighten from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/lighten.mjs';
7
- import darken from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/darken.mjs';
8
- import invert from '../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/invert.mjs';
9
-
10
- // src/diagram-api/regexes.ts
11
- var frontMatterRegex = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;
12
- var directiveRegex = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
13
- var anyCommentRegex = /\s*%%.*\n/gm;
14
-
15
- // src/errors.ts
16
- var UnknownDiagramError = class extends Error {
17
- static {
18
- __name(this, "UnknownDiagramError");
19
- }
20
- constructor(message) {
21
- super(message);
22
- this.name = "UnknownDiagramError";
23
- }
24
- };
25
-
26
- // src/diagram-api/detectType.ts
27
- var detectors = {};
28
- var detectType = /* @__PURE__ */ __name(function(text, config2) {
29
- text = text.replace(frontMatterRegex, "").replace(directiveRegex, "").replace(anyCommentRegex, "\n");
30
- for (const [key, { detector }] of Object.entries(detectors)) {
31
- const diagram = detector(text, config2);
32
- if (diagram) {
33
- return key;
34
- }
35
- }
36
- throw new UnknownDiagramError(
37
- `No diagram type detected matching given configuration for text: ${text}`
38
- );
39
- }, "detectType");
40
- var registerLazyLoadedDiagrams = /* @__PURE__ */ __name((...diagrams2) => {
41
- for (const { id, detector, loader } of diagrams2) {
42
- addDetector(id, detector, loader);
43
- }
44
- }, "registerLazyLoadedDiagrams");
45
- var addDetector = /* @__PURE__ */ __name((key, detector, loader) => {
46
- if (detectors[key]) {
47
- log.warn(`Detector with key ${key} already exists. Overwriting.`);
48
- }
49
- detectors[key] = { detector, loader };
50
- log.debug(`Detector with key ${key} added${loader ? " with loader" : ""}`);
51
- }, "addDetector");
52
- var getDiagramLoader = /* @__PURE__ */ __name((key) => {
53
- return detectors[key].loader;
54
- }, "getDiagramLoader");
55
-
56
- // src/assignWithDepth.ts
57
- var assignWithDepth = /* @__PURE__ */ __name((dst, src, { depth = 2, clobber = false } = {}) => {
58
- const config2 = { depth, clobber };
59
- if (Array.isArray(src) && !Array.isArray(dst)) {
60
- src.forEach((s) => assignWithDepth(dst, s, config2));
61
- return dst;
62
- } else if (Array.isArray(src) && Array.isArray(dst)) {
63
- src.forEach((s) => {
64
- if (!dst.includes(s)) {
65
- dst.push(s);
66
- }
67
- });
68
- return dst;
69
- }
70
- if (dst === void 0 || depth <= 0) {
71
- if (dst !== void 0 && dst !== null && typeof dst === "object" && typeof src === "object") {
72
- return Object.assign(dst, src);
73
- } else {
74
- return src;
75
- }
76
- }
77
- if (src !== void 0 && typeof dst === "object" && typeof src === "object") {
78
- Object.keys(src).forEach((key) => {
79
- if (typeof src[key] === "object" && (dst[key] === void 0 || typeof dst[key] === "object")) {
80
- if (dst[key] === void 0) {
81
- dst[key] = Array.isArray(src[key]) ? [] : {};
82
- }
83
- dst[key] = assignWithDepth(dst[key], src[key], { depth: depth - 1, clobber });
84
- } else if (clobber || typeof dst[key] !== "object" && typeof src[key] !== "object") {
85
- dst[key] = src[key];
86
- }
87
- });
88
- }
89
- return dst;
90
- }, "assignWithDepth");
91
- var assignWithDepth_default = assignWithDepth;
92
-
93
- // src/themes/erDiagram-oldHardcodedValues.ts
94
- var oldAttributeBackgroundColorOdd = "#ffffff";
95
- var oldAttributeBackgroundColorEven = "#f2f2f2";
96
- var mkBorder = /* @__PURE__ */ __name((col, darkMode) => darkMode ? adjust(col, { s: -40, l: 10 }) : adjust(col, { s: -40, l: -10 }), "mkBorder");
97
-
98
- // src/themes/theme-base.js
99
- var Theme = class {
100
- static {
101
- __name(this, "Theme");
102
- }
103
- constructor() {
104
- this.background = "#f4f4f4";
105
- this.primaryColor = "#fff4dd";
106
- this.noteBkgColor = "#fff5ad";
107
- this.noteTextColor = "#333";
108
- this.THEME_COLOR_LIMIT = 12;
109
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
110
- this.fontSize = "16px";
111
- }
112
- updateColors() {
113
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333");
114
- this.secondaryColor = this.secondaryColor || adjust(this.primaryColor, { h: -120 });
115
- this.tertiaryColor = this.tertiaryColor || adjust(this.primaryColor, { h: 180, l: 5 });
116
- this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode);
117
- this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode);
118
- this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode);
119
- this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode);
120
- this.noteBkgColor = this.noteBkgColor || "#fff5ad";
121
- this.noteTextColor = this.noteTextColor || "#333";
122
- this.secondaryTextColor = this.secondaryTextColor || invert(this.secondaryColor);
123
- this.tertiaryTextColor = this.tertiaryTextColor || invert(this.tertiaryColor);
124
- this.lineColor = this.lineColor || invert(this.background);
125
- this.arrowheadColor = this.arrowheadColor || invert(this.background);
126
- this.textColor = this.textColor || this.primaryTextColor;
127
- this.border2 = this.border2 || this.tertiaryBorderColor;
128
- this.nodeBkg = this.nodeBkg || this.primaryColor;
129
- this.mainBkg = this.mainBkg || this.primaryColor;
130
- this.nodeBorder = this.nodeBorder || this.primaryBorderColor;
131
- this.clusterBkg = this.clusterBkg || this.tertiaryColor;
132
- this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor;
133
- this.defaultLinkColor = this.defaultLinkColor || this.lineColor;
134
- this.titleColor = this.titleColor || this.tertiaryTextColor;
135
- this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
136
- this.nodeTextColor = this.nodeTextColor || this.primaryTextColor;
137
- this.actorBorder = this.actorBorder || this.primaryBorderColor;
138
- this.actorBkg = this.actorBkg || this.mainBkg;
139
- this.actorTextColor = this.actorTextColor || this.primaryTextColor;
140
- this.actorLineColor = this.actorLineColor || this.actorBorder;
141
- this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg;
142
- this.signalColor = this.signalColor || this.textColor;
143
- this.signalTextColor = this.signalTextColor || this.textColor;
144
- this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder;
145
- this.labelTextColor = this.labelTextColor || this.actorTextColor;
146
- this.loopTextColor = this.loopTextColor || this.actorTextColor;
147
- this.activationBorderColor = this.activationBorderColor || darken(this.secondaryColor, 10);
148
- this.activationBkgColor = this.activationBkgColor || this.secondaryColor;
149
- this.sequenceNumberColor = this.sequenceNumberColor || invert(this.lineColor);
150
- this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor;
151
- this.altSectionBkgColor = this.altSectionBkgColor || "white";
152
- this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor;
153
- this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor;
154
- this.excludeBkgColor = this.excludeBkgColor || "#eeeeee";
155
- this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor;
156
- this.taskBkgColor = this.taskBkgColor || this.primaryColor;
157
- this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor;
158
- this.activeTaskBkgColor = this.activeTaskBkgColor || lighten(this.primaryColor, 23);
159
- this.gridColor = this.gridColor || "lightgrey";
160
- this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey";
161
- this.doneTaskBorderColor = this.doneTaskBorderColor || "grey";
162
- this.critBorderColor = this.critBorderColor || "#ff8888";
163
- this.critBkgColor = this.critBkgColor || "red";
164
- this.todayLineColor = this.todayLineColor || "red";
165
- this.vertLineColor = this.vertLineColor || "navy";
166
- this.taskTextColor = this.taskTextColor || this.textColor;
167
- this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor;
168
- this.taskTextLightColor = this.taskTextLightColor || this.textColor;
169
- this.taskTextColor = this.taskTextColor || this.primaryTextColor;
170
- this.taskTextDarkColor = this.taskTextDarkColor || this.textColor;
171
- this.taskTextClickableColor = this.taskTextClickableColor || "#003163";
172
- this.personBorder = this.personBorder || this.primaryBorderColor;
173
- this.personBkg = this.personBkg || this.mainBkg;
174
- if (this.darkMode) {
175
- this.rowOdd = this.rowOdd || darken(this.mainBkg, 5) || "#ffffff";
176
- this.rowEven = this.rowEven || darken(this.mainBkg, 10);
177
- } else {
178
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 75) || "#ffffff";
179
- this.rowEven = this.rowEven || lighten(this.mainBkg, 5);
180
- }
181
- this.transitionColor = this.transitionColor || this.lineColor;
182
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
183
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
184
- this.stateBkg = this.stateBkg || this.mainBkg;
185
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
186
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
187
- this.altBackground = this.altBackground || this.tertiaryColor;
188
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
189
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
190
- this.innerEndBackground = this.nodeBorder;
191
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
192
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
193
- this.transitionColor = this.transitionColor || this.lineColor;
194
- this.specialStateColor = this.lineColor;
195
- this.cScale0 = this.cScale0 || this.primaryColor;
196
- this.cScale1 = this.cScale1 || this.secondaryColor;
197
- this.cScale2 = this.cScale2 || this.tertiaryColor;
198
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
199
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
200
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
201
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
202
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
203
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210, l: 150 });
204
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
205
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
206
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
207
- if (this.darkMode) {
208
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
209
- this["cScale" + i] = darken(this["cScale" + i], 75);
210
- }
211
- } else {
212
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
213
- this["cScale" + i] = darken(this["cScale" + i], 25);
214
- }
215
- }
216
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
217
- this["cScaleInv" + i] = this["cScaleInv" + i] || invert(this["cScale" + i]);
218
- }
219
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
220
- if (this.darkMode) {
221
- this["cScalePeer" + i] = this["cScalePeer" + i] || lighten(this["cScale" + i], 10);
222
- } else {
223
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 10);
224
- }
225
- }
226
- this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
227
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
228
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
229
- }
230
- const multiplier = this.darkMode ? -4 : -1;
231
- for (let i = 0; i < 5; i++) {
232
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 180, s: -15, l: multiplier * (5 + i * 3) });
233
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 180, s: -15, l: multiplier * (8 + i * 3) });
234
- }
235
- this.classText = this.classText || this.textColor;
236
- this.fillType0 = this.fillType0 || this.primaryColor;
237
- this.fillType1 = this.fillType1 || this.secondaryColor;
238
- this.fillType2 = this.fillType2 || adjust(this.primaryColor, { h: 64 });
239
- this.fillType3 = this.fillType3 || adjust(this.secondaryColor, { h: 64 });
240
- this.fillType4 = this.fillType4 || adjust(this.primaryColor, { h: -64 });
241
- this.fillType5 = this.fillType5 || adjust(this.secondaryColor, { h: -64 });
242
- this.fillType6 = this.fillType6 || adjust(this.primaryColor, { h: 128 });
243
- this.fillType7 = this.fillType7 || adjust(this.secondaryColor, { h: 128 });
244
- this.pie1 = this.pie1 || this.primaryColor;
245
- this.pie2 = this.pie2 || this.secondaryColor;
246
- this.pie3 = this.pie3 || this.tertiaryColor;
247
- this.pie4 = this.pie4 || adjust(this.primaryColor, { l: -10 });
248
- this.pie5 = this.pie5 || adjust(this.secondaryColor, { l: -10 });
249
- this.pie6 = this.pie6 || adjust(this.tertiaryColor, { l: -10 });
250
- this.pie7 = this.pie7 || adjust(this.primaryColor, { h: 60, l: -10 });
251
- this.pie8 = this.pie8 || adjust(this.primaryColor, { h: -60, l: -10 });
252
- this.pie9 = this.pie9 || adjust(this.primaryColor, { h: 120, l: 0 });
253
- this.pie10 = this.pie10 || adjust(this.primaryColor, { h: 60, l: -20 });
254
- this.pie11 = this.pie11 || adjust(this.primaryColor, { h: -60, l: -20 });
255
- this.pie12 = this.pie12 || adjust(this.primaryColor, { h: 120, l: -10 });
256
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
257
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
258
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
259
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
260
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
261
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
262
- this.pieStrokeColor = this.pieStrokeColor || "black";
263
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
264
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
265
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
266
- this.pieOpacity = this.pieOpacity || "0.7";
267
- this.radar = {
268
- axisColor: this.radar?.axisColor || this.lineColor,
269
- axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
270
- axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
271
- curveOpacity: this.radar?.curveOpacity || 0.5,
272
- curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
273
- graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
274
- graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
275
- graticuleOpacity: this.radar?.graticuleOpacity || 0.3,
276
- legendBoxSize: this.radar?.legendBoxSize || 12,
277
- legendFontSize: this.radar?.legendFontSize || 12
278
- };
279
- this.archEdgeColor = this.archEdgeColor || "#777";
280
- this.archEdgeArrowColor = this.archEdgeArrowColor || "#777";
281
- this.archEdgeWidth = this.archEdgeWidth || "3";
282
- this.archGroupBorderColor = this.archGroupBorderColor || "#000";
283
- this.archGroupBorderWidth = this.archGroupBorderWidth || "2px";
284
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
285
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
286
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
287
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
288
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
289
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
290
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
291
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
292
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
293
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
294
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
295
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
296
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
297
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
298
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
299
- this.xyChart = {
300
- backgroundColor: this.xyChart?.backgroundColor || this.background,
301
- titleColor: this.xyChart?.titleColor || this.primaryTextColor,
302
- xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
303
- xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
304
- xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
305
- xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
306
- yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
307
- yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
308
- yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
309
- yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
310
- plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
311
- };
312
- this.requirementBackground = this.requirementBackground || this.primaryColor;
313
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
314
- this.requirementBorderSize = this.requirementBorderSize || "1";
315
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
316
- this.relationColor = this.relationColor || this.lineColor;
317
- this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
318
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
319
- this.git0 = this.git0 || this.primaryColor;
320
- this.git1 = this.git1 || this.secondaryColor;
321
- this.git2 = this.git2 || this.tertiaryColor;
322
- this.git3 = this.git3 || adjust(this.primaryColor, { h: -30 });
323
- this.git4 = this.git4 || adjust(this.primaryColor, { h: -60 });
324
- this.git5 = this.git5 || adjust(this.primaryColor, { h: -90 });
325
- this.git6 = this.git6 || adjust(this.primaryColor, { h: 60 });
326
- this.git7 = this.git7 || adjust(this.primaryColor, { h: 120 });
327
- if (this.darkMode) {
328
- this.git0 = lighten(this.git0, 25);
329
- this.git1 = lighten(this.git1, 25);
330
- this.git2 = lighten(this.git2, 25);
331
- this.git3 = lighten(this.git3, 25);
332
- this.git4 = lighten(this.git4, 25);
333
- this.git5 = lighten(this.git5, 25);
334
- this.git6 = lighten(this.git6, 25);
335
- this.git7 = lighten(this.git7, 25);
336
- } else {
337
- this.git0 = darken(this.git0, 25);
338
- this.git1 = darken(this.git1, 25);
339
- this.git2 = darken(this.git2, 25);
340
- this.git3 = darken(this.git3, 25);
341
- this.git4 = darken(this.git4, 25);
342
- this.git5 = darken(this.git5, 25);
343
- this.git6 = darken(this.git6, 25);
344
- this.git7 = darken(this.git7, 25);
345
- }
346
- this.gitInv0 = this.gitInv0 || invert(this.git0);
347
- this.gitInv1 = this.gitInv1 || invert(this.git1);
348
- this.gitInv2 = this.gitInv2 || invert(this.git2);
349
- this.gitInv3 = this.gitInv3 || invert(this.git3);
350
- this.gitInv4 = this.gitInv4 || invert(this.git4);
351
- this.gitInv5 = this.gitInv5 || invert(this.git5);
352
- this.gitInv6 = this.gitInv6 || invert(this.git6);
353
- this.gitInv7 = this.gitInv7 || invert(this.git7);
354
- this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor);
355
- this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor;
356
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor;
357
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor;
358
- this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor;
359
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor;
360
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor;
361
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor;
362
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor;
363
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
364
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
365
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
366
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
367
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
368
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
369
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
370
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
371
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
372
- }
373
- calculate(overrides) {
374
- if (typeof overrides !== "object") {
375
- this.updateColors();
376
- return;
377
- }
378
- const keys = Object.keys(overrides);
379
- keys.forEach((k) => {
380
- this[k] = overrides[k];
381
- });
382
- this.updateColors();
383
- keys.forEach((k) => {
384
- this[k] = overrides[k];
385
- });
386
- }
387
- };
388
- var getThemeVariables = /* @__PURE__ */ __name((userOverrides) => {
389
- const theme = new Theme();
390
- theme.calculate(userOverrides);
391
- return theme;
392
- }, "getThemeVariables");
393
- var Theme2 = class {
394
- static {
395
- __name(this, "Theme");
396
- }
397
- constructor() {
398
- this.background = "#333";
399
- this.primaryColor = "#1f2020";
400
- this.secondaryColor = lighten(this.primaryColor, 16);
401
- this.tertiaryColor = adjust(this.primaryColor, { h: -160 });
402
- this.primaryBorderColor = invert(this.background);
403
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
404
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
405
- this.primaryTextColor = invert(this.primaryColor);
406
- this.secondaryTextColor = invert(this.secondaryColor);
407
- this.tertiaryTextColor = invert(this.tertiaryColor);
408
- this.lineColor = invert(this.background);
409
- this.textColor = invert(this.background);
410
- this.mainBkg = "#1f2020";
411
- this.secondBkg = "calculated";
412
- this.mainContrastColor = "lightgrey";
413
- this.darkTextColor = lighten(invert("#323D47"), 10);
414
- this.lineColor = "calculated";
415
- this.border1 = "#ccc";
416
- this.border2 = rgba(255, 255, 255, 0.25);
417
- this.arrowheadColor = "calculated";
418
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
419
- this.fontSize = "16px";
420
- this.labelBackground = "#181818";
421
- this.textColor = "#ccc";
422
- this.THEME_COLOR_LIMIT = 12;
423
- this.nodeBkg = "calculated";
424
- this.nodeBorder = "calculated";
425
- this.clusterBkg = "calculated";
426
- this.clusterBorder = "calculated";
427
- this.defaultLinkColor = "calculated";
428
- this.titleColor = "#F9FFFE";
429
- this.edgeLabelBackground = "calculated";
430
- this.actorBorder = "calculated";
431
- this.actorBkg = "calculated";
432
- this.actorTextColor = "calculated";
433
- this.actorLineColor = "calculated";
434
- this.signalColor = "calculated";
435
- this.signalTextColor = "calculated";
436
- this.labelBoxBkgColor = "calculated";
437
- this.labelBoxBorderColor = "calculated";
438
- this.labelTextColor = "calculated";
439
- this.loopTextColor = "calculated";
440
- this.noteBorderColor = "calculated";
441
- this.noteBkgColor = "#fff5ad";
442
- this.noteTextColor = "calculated";
443
- this.activationBorderColor = "calculated";
444
- this.activationBkgColor = "calculated";
445
- this.sequenceNumberColor = "black";
446
- this.sectionBkgColor = darken("#EAE8D9", 30);
447
- this.altSectionBkgColor = "calculated";
448
- this.sectionBkgColor2 = "#EAE8D9";
449
- this.excludeBkgColor = darken(this.sectionBkgColor, 10);
450
- this.taskBorderColor = rgba(255, 255, 255, 70);
451
- this.taskBkgColor = "calculated";
452
- this.taskTextColor = "calculated";
453
- this.taskTextLightColor = "calculated";
454
- this.taskTextOutsideColor = "calculated";
455
- this.taskTextClickableColor = "#003163";
456
- this.activeTaskBorderColor = rgba(255, 255, 255, 50);
457
- this.activeTaskBkgColor = "#81B1DB";
458
- this.gridColor = "calculated";
459
- this.doneTaskBkgColor = "calculated";
460
- this.doneTaskBorderColor = "grey";
461
- this.critBorderColor = "#E83737";
462
- this.critBkgColor = "#E83737";
463
- this.taskTextDarkColor = "calculated";
464
- this.todayLineColor = "#DB5757";
465
- this.vertLineColor = "#00BFFF";
466
- this.personBorder = this.primaryBorderColor;
467
- this.personBkg = this.mainBkg;
468
- this.archEdgeColor = "calculated";
469
- this.archEdgeArrowColor = "calculated";
470
- this.archEdgeWidth = "3";
471
- this.archGroupBorderColor = this.primaryBorderColor;
472
- this.archGroupBorderWidth = "2px";
473
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 5) || "#ffffff";
474
- this.rowEven = this.rowEven || darken(this.mainBkg, 10);
475
- this.labelColor = "calculated";
476
- this.errorBkgColor = "#a44141";
477
- this.errorTextColor = "#ddd";
478
- }
479
- updateColors() {
480
- this.secondBkg = lighten(this.mainBkg, 16);
481
- this.lineColor = this.mainContrastColor;
482
- this.arrowheadColor = this.mainContrastColor;
483
- this.nodeBkg = this.mainBkg;
484
- this.nodeBorder = this.border1;
485
- this.clusterBkg = this.secondBkg;
486
- this.clusterBorder = this.border2;
487
- this.defaultLinkColor = this.lineColor;
488
- this.edgeLabelBackground = lighten(this.labelBackground, 25);
489
- this.actorBorder = this.border1;
490
- this.actorBkg = this.mainBkg;
491
- this.actorTextColor = this.mainContrastColor;
492
- this.actorLineColor = this.actorBorder;
493
- this.signalColor = this.mainContrastColor;
494
- this.signalTextColor = this.mainContrastColor;
495
- this.labelBoxBkgColor = this.actorBkg;
496
- this.labelBoxBorderColor = this.actorBorder;
497
- this.labelTextColor = this.mainContrastColor;
498
- this.loopTextColor = this.mainContrastColor;
499
- this.noteBorderColor = this.secondaryBorderColor;
500
- this.noteBkgColor = this.secondBkg;
501
- this.noteTextColor = this.secondaryTextColor;
502
- this.activationBorderColor = this.border1;
503
- this.activationBkgColor = this.secondBkg;
504
- this.altSectionBkgColor = this.background;
505
- this.taskBkgColor = lighten(this.mainBkg, 23);
506
- this.taskTextColor = this.darkTextColor;
507
- this.taskTextLightColor = this.mainContrastColor;
508
- this.taskTextOutsideColor = this.taskTextLightColor;
509
- this.gridColor = this.mainContrastColor;
510
- this.doneTaskBkgColor = this.mainContrastColor;
511
- this.taskTextDarkColor = this.darkTextColor;
512
- this.archEdgeColor = this.lineColor;
513
- this.archEdgeArrowColor = this.lineColor;
514
- this.transitionColor = this.transitionColor || this.lineColor;
515
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
516
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
517
- this.stateBkg = this.stateBkg || this.mainBkg;
518
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
519
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
520
- this.altBackground = this.altBackground || "#555";
521
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
522
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
523
- this.innerEndBackground = this.primaryBorderColor;
524
- this.specialStateColor = "#f4f4f4";
525
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
526
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
527
- this.fillType0 = this.primaryColor;
528
- this.fillType1 = this.secondaryColor;
529
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
530
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
531
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
532
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
533
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
534
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
535
- this.cScale1 = this.cScale1 || "#0b0000";
536
- this.cScale2 = this.cScale2 || "#4d1037";
537
- this.cScale3 = this.cScale3 || "#3f5258";
538
- this.cScale4 = this.cScale4 || "#4f2f1b";
539
- this.cScale5 = this.cScale5 || "#6e0a0a";
540
- this.cScale6 = this.cScale6 || "#3b0048";
541
- this.cScale7 = this.cScale7 || "#995a01";
542
- this.cScale8 = this.cScale8 || "#154706";
543
- this.cScale9 = this.cScale9 || "#161722";
544
- this.cScale10 = this.cScale10 || "#00296f";
545
- this.cScale11 = this.cScale11 || "#01629c";
546
- this.cScale12 = this.cScale12 || "#010029";
547
- this.cScale0 = this.cScale0 || this.primaryColor;
548
- this.cScale1 = this.cScale1 || this.secondaryColor;
549
- this.cScale2 = this.cScale2 || this.tertiaryColor;
550
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
551
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
552
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
553
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
554
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
555
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210 });
556
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
557
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
558
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
559
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
560
- this["cScaleInv" + i] = this["cScaleInv" + i] || invert(this["cScale" + i]);
561
- }
562
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
563
- this["cScalePeer" + i] = this["cScalePeer" + i] || lighten(this["cScale" + i], 10);
564
- }
565
- for (let i = 0; i < 5; i++) {
566
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(-10 + i * 4) });
567
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(-7 + i * 4) });
568
- }
569
- this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
570
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
571
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
572
- }
573
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
574
- this["pie" + i] = this["cScale" + i];
575
- }
576
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
577
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
578
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
579
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
580
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
581
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
582
- this.pieStrokeColor = this.pieStrokeColor || "black";
583
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
584
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
585
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
586
- this.pieOpacity = this.pieOpacity || "0.7";
587
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
588
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
589
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
590
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
591
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
592
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
593
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
594
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
595
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
596
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
597
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
598
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
599
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
600
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
601
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
602
- this.xyChart = {
603
- backgroundColor: this.xyChart?.backgroundColor || this.background,
604
- titleColor: this.xyChart?.titleColor || this.primaryTextColor,
605
- xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
606
- xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
607
- xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
608
- xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
609
- yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
610
- yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
611
- yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
612
- yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
613
- plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
614
- };
615
- this.packet = {
616
- startByteColor: this.primaryTextColor,
617
- endByteColor: this.primaryTextColor,
618
- labelColor: this.primaryTextColor,
619
- titleColor: this.primaryTextColor,
620
- blockStrokeColor: this.primaryTextColor,
621
- blockFillColor: this.background
622
- };
623
- this.radar = {
624
- axisColor: this.radar?.axisColor || this.lineColor,
625
- axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
626
- axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
627
- curveOpacity: this.radar?.curveOpacity || 0.5,
628
- curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
629
- graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
630
- graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
631
- graticuleOpacity: this.radar?.graticuleOpacity || 0.3,
632
- legendBoxSize: this.radar?.legendBoxSize || 12,
633
- legendFontSize: this.radar?.legendFontSize || 12
634
- };
635
- this.classText = this.primaryTextColor;
636
- this.requirementBackground = this.requirementBackground || this.primaryColor;
637
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
638
- this.requirementBorderSize = this.requirementBorderSize || "1";
639
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
640
- this.relationColor = this.relationColor || this.lineColor;
641
- this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken(this.secondaryColor, 30) : this.secondaryColor);
642
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
643
- this.git0 = lighten(this.secondaryColor, 20);
644
- this.git1 = lighten(this.pie2 || this.secondaryColor, 20);
645
- this.git2 = lighten(this.pie3 || this.tertiaryColor, 20);
646
- this.git3 = lighten(this.pie4 || adjust(this.primaryColor, { h: -30 }), 20);
647
- this.git4 = lighten(this.pie5 || adjust(this.primaryColor, { h: -60 }), 20);
648
- this.git5 = lighten(this.pie6 || adjust(this.primaryColor, { h: -90 }), 10);
649
- this.git6 = lighten(this.pie7 || adjust(this.primaryColor, { h: 60 }), 10);
650
- this.git7 = lighten(this.pie8 || adjust(this.primaryColor, { h: 120 }), 20);
651
- this.gitInv0 = this.gitInv0 || invert(this.git0);
652
- this.gitInv1 = this.gitInv1 || invert(this.git1);
653
- this.gitInv2 = this.gitInv2 || invert(this.git2);
654
- this.gitInv3 = this.gitInv3 || invert(this.git3);
655
- this.gitInv4 = this.gitInv4 || invert(this.git4);
656
- this.gitInv5 = this.gitInv5 || invert(this.git5);
657
- this.gitInv6 = this.gitInv6 || invert(this.git6);
658
- this.gitInv7 = this.gitInv7 || invert(this.git7);
659
- this.gitBranchLabel0 = this.gitBranchLabel0 || invert(this.labelTextColor);
660
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor;
661
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor;
662
- this.gitBranchLabel3 = this.gitBranchLabel3 || invert(this.labelTextColor);
663
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor;
664
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor;
665
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor;
666
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor;
667
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
668
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
669
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
670
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
671
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
672
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
673
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
674
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || lighten(this.background, 12);
675
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || lighten(this.background, 2);
676
- this.nodeBorder = this.nodeBorder || "#999";
677
- }
678
- calculate(overrides) {
679
- if (typeof overrides !== "object") {
680
- this.updateColors();
681
- return;
682
- }
683
- const keys = Object.keys(overrides);
684
- keys.forEach((k) => {
685
- this[k] = overrides[k];
686
- });
687
- this.updateColors();
688
- keys.forEach((k) => {
689
- this[k] = overrides[k];
690
- });
691
- }
692
- };
693
- var getThemeVariables2 = /* @__PURE__ */ __name((userOverrides) => {
694
- const theme = new Theme2();
695
- theme.calculate(userOverrides);
696
- return theme;
697
- }, "getThemeVariables");
698
- var Theme3 = class {
699
- static {
700
- __name(this, "Theme");
701
- }
702
- constructor() {
703
- this.background = "#f4f4f4";
704
- this.primaryColor = "#ECECFF";
705
- this.secondaryColor = adjust(this.primaryColor, { h: 120 });
706
- this.secondaryColor = "#ffffde";
707
- this.tertiaryColor = adjust(this.primaryColor, { h: -160 });
708
- this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
709
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
710
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
711
- this.primaryTextColor = invert(this.primaryColor);
712
- this.secondaryTextColor = invert(this.secondaryColor);
713
- this.tertiaryTextColor = invert(this.tertiaryColor);
714
- this.lineColor = invert(this.background);
715
- this.textColor = invert(this.background);
716
- this.background = "white";
717
- this.mainBkg = "#ECECFF";
718
- this.secondBkg = "#ffffde";
719
- this.lineColor = "#333333";
720
- this.border1 = "#9370DB";
721
- this.border2 = "#aaaa33";
722
- this.arrowheadColor = "#333333";
723
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
724
- this.fontSize = "16px";
725
- this.labelBackground = "rgba(232,232,232, 0.8)";
726
- this.textColor = "#333";
727
- this.THEME_COLOR_LIMIT = 12;
728
- this.nodeBkg = "calculated";
729
- this.nodeBorder = "calculated";
730
- this.clusterBkg = "calculated";
731
- this.clusterBorder = "calculated";
732
- this.defaultLinkColor = "calculated";
733
- this.titleColor = "calculated";
734
- this.edgeLabelBackground = "calculated";
735
- this.actorBorder = "calculated";
736
- this.actorBkg = "calculated";
737
- this.actorTextColor = "black";
738
- this.actorLineColor = "calculated";
739
- this.signalColor = "calculated";
740
- this.signalTextColor = "calculated";
741
- this.labelBoxBkgColor = "calculated";
742
- this.labelBoxBorderColor = "calculated";
743
- this.labelTextColor = "calculated";
744
- this.loopTextColor = "calculated";
745
- this.noteBorderColor = "calculated";
746
- this.noteBkgColor = "#fff5ad";
747
- this.noteTextColor = "calculated";
748
- this.activationBorderColor = "#666";
749
- this.activationBkgColor = "#f4f4f4";
750
- this.sequenceNumberColor = "white";
751
- this.sectionBkgColor = "calculated";
752
- this.altSectionBkgColor = "calculated";
753
- this.sectionBkgColor2 = "calculated";
754
- this.excludeBkgColor = "#eeeeee";
755
- this.taskBorderColor = "calculated";
756
- this.taskBkgColor = "calculated";
757
- this.taskTextLightColor = "calculated";
758
- this.taskTextColor = this.taskTextLightColor;
759
- this.taskTextDarkColor = "calculated";
760
- this.taskTextOutsideColor = this.taskTextDarkColor;
761
- this.taskTextClickableColor = "calculated";
762
- this.activeTaskBorderColor = "calculated";
763
- this.activeTaskBkgColor = "calculated";
764
- this.gridColor = "calculated";
765
- this.doneTaskBkgColor = "calculated";
766
- this.doneTaskBorderColor = "calculated";
767
- this.critBorderColor = "calculated";
768
- this.critBkgColor = "calculated";
769
- this.todayLineColor = "calculated";
770
- this.vertLineColor = "calculated";
771
- this.sectionBkgColor = rgba(102, 102, 255, 0.49);
772
- this.altSectionBkgColor = "white";
773
- this.sectionBkgColor2 = "#fff400";
774
- this.taskBorderColor = "#534fbc";
775
- this.taskBkgColor = "#8a90dd";
776
- this.taskTextLightColor = "white";
777
- this.taskTextColor = "calculated";
778
- this.taskTextDarkColor = "black";
779
- this.taskTextOutsideColor = "calculated";
780
- this.taskTextClickableColor = "#003163";
781
- this.activeTaskBorderColor = "#534fbc";
782
- this.activeTaskBkgColor = "#bfc7ff";
783
- this.gridColor = "lightgrey";
784
- this.doneTaskBkgColor = "lightgrey";
785
- this.doneTaskBorderColor = "grey";
786
- this.critBorderColor = "#ff8888";
787
- this.critBkgColor = "red";
788
- this.todayLineColor = "red";
789
- this.vertLineColor = "navy";
790
- this.personBorder = this.primaryBorderColor;
791
- this.personBkg = this.mainBkg;
792
- this.archEdgeColor = "calculated";
793
- this.archEdgeArrowColor = "calculated";
794
- this.archEdgeWidth = "3";
795
- this.archGroupBorderColor = this.primaryBorderColor;
796
- this.archGroupBorderWidth = "2px";
797
- this.rowOdd = "calculated";
798
- this.rowEven = "calculated";
799
- this.labelColor = "black";
800
- this.errorBkgColor = "#552222";
801
- this.errorTextColor = "#552222";
802
- this.updateColors();
803
- }
804
- updateColors() {
805
- this.cScale0 = this.cScale0 || this.primaryColor;
806
- this.cScale1 = this.cScale1 || this.secondaryColor;
807
- this.cScale2 = this.cScale2 || this.tertiaryColor;
808
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
809
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
810
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
811
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
812
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
813
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210 });
814
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
815
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
816
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
817
- this["cScalePeer1"] = this["cScalePeer1"] || darken(this.secondaryColor, 45);
818
- this["cScalePeer2"] = this["cScalePeer2"] || darken(this.tertiaryColor, 40);
819
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
820
- this["cScale" + i] = darken(this["cScale" + i], 10);
821
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 25);
822
- }
823
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
824
- this["cScaleInv" + i] = this["cScaleInv" + i] || adjust(this["cScale" + i], { h: 180 });
825
- }
826
- for (let i = 0; i < 5; i++) {
827
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 30, l: -(5 + i * 5) });
828
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 30, l: -(7 + i * 5) });
829
- }
830
- this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
831
- if (this.labelTextColor !== "calculated") {
832
- this.cScaleLabel0 = this.cScaleLabel0 || invert(this.labelTextColor);
833
- this.cScaleLabel3 = this.cScaleLabel3 || invert(this.labelTextColor);
834
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
835
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.labelTextColor;
836
- }
837
- }
838
- this.nodeBkg = this.mainBkg;
839
- this.nodeBorder = this.border1;
840
- this.clusterBkg = this.secondBkg;
841
- this.clusterBorder = this.border2;
842
- this.defaultLinkColor = this.lineColor;
843
- this.titleColor = this.textColor;
844
- this.edgeLabelBackground = this.labelBackground;
845
- this.actorBorder = lighten(this.border1, 23);
846
- this.actorBkg = this.mainBkg;
847
- this.labelBoxBkgColor = this.actorBkg;
848
- this.signalColor = this.textColor;
849
- this.signalTextColor = this.textColor;
850
- this.labelBoxBorderColor = this.actorBorder;
851
- this.labelTextColor = this.actorTextColor;
852
- this.loopTextColor = this.actorTextColor;
853
- this.noteBorderColor = this.border2;
854
- this.noteTextColor = this.actorTextColor;
855
- this.actorLineColor = this.actorBorder;
856
- this.taskTextColor = this.taskTextLightColor;
857
- this.taskTextOutsideColor = this.taskTextDarkColor;
858
- this.archEdgeColor = this.lineColor;
859
- this.archEdgeArrowColor = this.lineColor;
860
- this.rowOdd = this.rowOdd || lighten(this.primaryColor, 75) || "#ffffff";
861
- this.rowEven = this.rowEven || lighten(this.primaryColor, 1);
862
- this.transitionColor = this.transitionColor || this.lineColor;
863
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
864
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
865
- this.stateBkg = this.stateBkg || this.mainBkg;
866
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
867
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
868
- this.altBackground = this.altBackground || "#f0f0f0";
869
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
870
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
871
- this.innerEndBackground = this.nodeBorder;
872
- this.specialStateColor = this.lineColor;
873
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
874
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
875
- this.transitionColor = this.transitionColor || this.lineColor;
876
- this.classText = this.primaryTextColor;
877
- this.fillType0 = this.primaryColor;
878
- this.fillType1 = this.secondaryColor;
879
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
880
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
881
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
882
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
883
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
884
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
885
- this.pie1 = this.pie1 || this.primaryColor;
886
- this.pie2 = this.pie2 || this.secondaryColor;
887
- this.pie3 = this.pie3 || adjust(this.tertiaryColor, { l: -40 });
888
- this.pie4 = this.pie4 || adjust(this.primaryColor, { l: -10 });
889
- this.pie5 = this.pie5 || adjust(this.secondaryColor, { l: -30 });
890
- this.pie6 = this.pie6 || adjust(this.tertiaryColor, { l: -20 });
891
- this.pie7 = this.pie7 || adjust(this.primaryColor, { h: 60, l: -20 });
892
- this.pie8 = this.pie8 || adjust(this.primaryColor, { h: -60, l: -40 });
893
- this.pie9 = this.pie9 || adjust(this.primaryColor, { h: 120, l: -40 });
894
- this.pie10 = this.pie10 || adjust(this.primaryColor, { h: 60, l: -40 });
895
- this.pie11 = this.pie11 || adjust(this.primaryColor, { h: -90, l: -40 });
896
- this.pie12 = this.pie12 || adjust(this.primaryColor, { h: 120, l: -30 });
897
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
898
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
899
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
900
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
901
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
902
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
903
- this.pieStrokeColor = this.pieStrokeColor || "black";
904
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
905
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
906
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
907
- this.pieOpacity = this.pieOpacity || "0.7";
908
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
909
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
910
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
911
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
912
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
913
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
914
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
915
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
916
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
917
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
918
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
919
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
920
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
921
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
922
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
923
- this.radar = {
924
- axisColor: this.radar?.axisColor || this.lineColor,
925
- axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
926
- axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
927
- curveOpacity: this.radar?.curveOpacity || 0.5,
928
- curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
929
- graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
930
- graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
931
- graticuleOpacity: this.radar?.graticuleOpacity || 0.3,
932
- legendBoxSize: this.radar?.legendBoxSize || 12,
933
- legendFontSize: this.radar?.legendFontSize || 12
934
- };
935
- this.xyChart = {
936
- backgroundColor: this.xyChart?.backgroundColor || this.background,
937
- titleColor: this.xyChart?.titleColor || this.primaryTextColor,
938
- xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
939
- xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
940
- xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
941
- xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
942
- yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
943
- yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
944
- yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
945
- yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
946
- plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
947
- };
948
- this.requirementBackground = this.requirementBackground || this.primaryColor;
949
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
950
- this.requirementBorderSize = this.requirementBorderSize || "1";
951
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
952
- this.relationColor = this.relationColor || this.lineColor;
953
- this.relationLabelBackground = this.relationLabelBackground || this.labelBackground;
954
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
955
- this.git0 = this.git0 || this.primaryColor;
956
- this.git1 = this.git1 || this.secondaryColor;
957
- this.git2 = this.git2 || this.tertiaryColor;
958
- this.git3 = this.git3 || adjust(this.primaryColor, { h: -30 });
959
- this.git4 = this.git4 || adjust(this.primaryColor, { h: -60 });
960
- this.git5 = this.git5 || adjust(this.primaryColor, { h: -90 });
961
- this.git6 = this.git6 || adjust(this.primaryColor, { h: 60 });
962
- this.git7 = this.git7 || adjust(this.primaryColor, { h: 120 });
963
- if (this.darkMode) {
964
- this.git0 = lighten(this.git0, 25);
965
- this.git1 = lighten(this.git1, 25);
966
- this.git2 = lighten(this.git2, 25);
967
- this.git3 = lighten(this.git3, 25);
968
- this.git4 = lighten(this.git4, 25);
969
- this.git5 = lighten(this.git5, 25);
970
- this.git6 = lighten(this.git6, 25);
971
- this.git7 = lighten(this.git7, 25);
972
- } else {
973
- this.git0 = darken(this.git0, 25);
974
- this.git1 = darken(this.git1, 25);
975
- this.git2 = darken(this.git2, 25);
976
- this.git3 = darken(this.git3, 25);
977
- this.git4 = darken(this.git4, 25);
978
- this.git5 = darken(this.git5, 25);
979
- this.git6 = darken(this.git6, 25);
980
- this.git7 = darken(this.git7, 25);
981
- }
982
- this.gitInv0 = this.gitInv0 || darken(invert(this.git0), 25);
983
- this.gitInv1 = this.gitInv1 || invert(this.git1);
984
- this.gitInv2 = this.gitInv2 || invert(this.git2);
985
- this.gitInv3 = this.gitInv3 || invert(this.git3);
986
- this.gitInv4 = this.gitInv4 || invert(this.git4);
987
- this.gitInv5 = this.gitInv5 || invert(this.git5);
988
- this.gitInv6 = this.gitInv6 || invert(this.git6);
989
- this.gitInv7 = this.gitInv7 || invert(this.git7);
990
- this.gitBranchLabel0 = this.gitBranchLabel0 || invert(this.labelTextColor);
991
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor;
992
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor;
993
- this.gitBranchLabel3 = this.gitBranchLabel3 || invert(this.labelTextColor);
994
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor;
995
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor;
996
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor;
997
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor;
998
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
999
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
1000
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
1001
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
1002
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
1003
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
1004
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
1005
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
1006
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
1007
- }
1008
- calculate(overrides) {
1009
- Object.keys(this).forEach((k) => {
1010
- if (this[k] === "calculated") {
1011
- this[k] = void 0;
1012
- }
1013
- });
1014
- if (typeof overrides !== "object") {
1015
- this.updateColors();
1016
- return;
1017
- }
1018
- const keys = Object.keys(overrides);
1019
- keys.forEach((k) => {
1020
- this[k] = overrides[k];
1021
- });
1022
- this.updateColors();
1023
- keys.forEach((k) => {
1024
- this[k] = overrides[k];
1025
- });
1026
- }
1027
- };
1028
- var getThemeVariables3 = /* @__PURE__ */ __name((userOverrides) => {
1029
- const theme = new Theme3();
1030
- theme.calculate(userOverrides);
1031
- return theme;
1032
- }, "getThemeVariables");
1033
- var Theme4 = class {
1034
- static {
1035
- __name(this, "Theme");
1036
- }
1037
- constructor() {
1038
- this.background = "#f4f4f4";
1039
- this.primaryColor = "#cde498";
1040
- this.secondaryColor = "#cdffb2";
1041
- this.background = "white";
1042
- this.mainBkg = "#cde498";
1043
- this.secondBkg = "#cdffb2";
1044
- this.lineColor = "green";
1045
- this.border1 = "#13540c";
1046
- this.border2 = "#6eaa49";
1047
- this.arrowheadColor = "green";
1048
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
1049
- this.fontSize = "16px";
1050
- this.tertiaryColor = lighten("#cde498", 10);
1051
- this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
1052
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
1053
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
1054
- this.primaryTextColor = invert(this.primaryColor);
1055
- this.secondaryTextColor = invert(this.secondaryColor);
1056
- this.tertiaryTextColor = invert(this.primaryColor);
1057
- this.lineColor = invert(this.background);
1058
- this.textColor = invert(this.background);
1059
- this.THEME_COLOR_LIMIT = 12;
1060
- this.nodeBkg = "calculated";
1061
- this.nodeBorder = "calculated";
1062
- this.clusterBkg = "calculated";
1063
- this.clusterBorder = "calculated";
1064
- this.defaultLinkColor = "calculated";
1065
- this.titleColor = "#333";
1066
- this.edgeLabelBackground = "#e8e8e8";
1067
- this.actorBorder = "calculated";
1068
- this.actorBkg = "calculated";
1069
- this.actorTextColor = "black";
1070
- this.actorLineColor = "calculated";
1071
- this.signalColor = "#333";
1072
- this.signalTextColor = "#333";
1073
- this.labelBoxBkgColor = "calculated";
1074
- this.labelBoxBorderColor = "#326932";
1075
- this.labelTextColor = "calculated";
1076
- this.loopTextColor = "calculated";
1077
- this.noteBorderColor = "calculated";
1078
- this.noteBkgColor = "#fff5ad";
1079
- this.noteTextColor = "calculated";
1080
- this.activationBorderColor = "#666";
1081
- this.activationBkgColor = "#f4f4f4";
1082
- this.sequenceNumberColor = "white";
1083
- this.sectionBkgColor = "#6eaa49";
1084
- this.altSectionBkgColor = "white";
1085
- this.sectionBkgColor2 = "#6eaa49";
1086
- this.excludeBkgColor = "#eeeeee";
1087
- this.taskBorderColor = "calculated";
1088
- this.taskBkgColor = "#487e3a";
1089
- this.taskTextLightColor = "white";
1090
- this.taskTextColor = "calculated";
1091
- this.taskTextDarkColor = "black";
1092
- this.taskTextOutsideColor = "calculated";
1093
- this.taskTextClickableColor = "#003163";
1094
- this.activeTaskBorderColor = "calculated";
1095
- this.activeTaskBkgColor = "calculated";
1096
- this.gridColor = "lightgrey";
1097
- this.doneTaskBkgColor = "lightgrey";
1098
- this.doneTaskBorderColor = "grey";
1099
- this.critBorderColor = "#ff8888";
1100
- this.critBkgColor = "red";
1101
- this.todayLineColor = "red";
1102
- this.vertLineColor = "#00BFFF";
1103
- this.personBorder = this.primaryBorderColor;
1104
- this.personBkg = this.mainBkg;
1105
- this.archEdgeColor = "calculated";
1106
- this.archEdgeArrowColor = "calculated";
1107
- this.archEdgeWidth = "3";
1108
- this.archGroupBorderColor = this.primaryBorderColor;
1109
- this.archGroupBorderWidth = "2px";
1110
- this.labelColor = "black";
1111
- this.errorBkgColor = "#552222";
1112
- this.errorTextColor = "#552222";
1113
- }
1114
- updateColors() {
1115
- this.actorBorder = darken(this.mainBkg, 20);
1116
- this.actorBkg = this.mainBkg;
1117
- this.labelBoxBkgColor = this.actorBkg;
1118
- this.labelTextColor = this.actorTextColor;
1119
- this.loopTextColor = this.actorTextColor;
1120
- this.noteBorderColor = this.border2;
1121
- this.noteTextColor = this.actorTextColor;
1122
- this.actorLineColor = this.actorBorder;
1123
- this.cScale0 = this.cScale0 || this.primaryColor;
1124
- this.cScale1 = this.cScale1 || this.secondaryColor;
1125
- this.cScale2 = this.cScale2 || this.tertiaryColor;
1126
- this.cScale3 = this.cScale3 || adjust(this.primaryColor, { h: 30 });
1127
- this.cScale4 = this.cScale4 || adjust(this.primaryColor, { h: 60 });
1128
- this.cScale5 = this.cScale5 || adjust(this.primaryColor, { h: 90 });
1129
- this.cScale6 = this.cScale6 || adjust(this.primaryColor, { h: 120 });
1130
- this.cScale7 = this.cScale7 || adjust(this.primaryColor, { h: 150 });
1131
- this.cScale8 = this.cScale8 || adjust(this.primaryColor, { h: 210 });
1132
- this.cScale9 = this.cScale9 || adjust(this.primaryColor, { h: 270 });
1133
- this.cScale10 = this.cScale10 || adjust(this.primaryColor, { h: 300 });
1134
- this.cScale11 = this.cScale11 || adjust(this.primaryColor, { h: 330 });
1135
- this["cScalePeer1"] = this["cScalePeer1"] || darken(this.secondaryColor, 45);
1136
- this["cScalePeer2"] = this["cScalePeer2"] || darken(this.tertiaryColor, 40);
1137
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1138
- this["cScale" + i] = darken(this["cScale" + i], 10);
1139
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 25);
1140
- }
1141
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1142
- this["cScaleInv" + i] = this["cScaleInv" + i] || adjust(this["cScale" + i], { h: 180 });
1143
- }
1144
- this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
1145
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1146
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
1147
- }
1148
- for (let i = 0; i < 5; i++) {
1149
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(5 + i * 5) });
1150
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { h: 30, s: -30, l: -(8 + i * 5) });
1151
- }
1152
- this.nodeBkg = this.mainBkg;
1153
- this.nodeBorder = this.border1;
1154
- this.clusterBkg = this.secondBkg;
1155
- this.clusterBorder = this.border2;
1156
- this.defaultLinkColor = this.lineColor;
1157
- this.taskBorderColor = this.border1;
1158
- this.taskTextColor = this.taskTextLightColor;
1159
- this.taskTextOutsideColor = this.taskTextDarkColor;
1160
- this.activeTaskBorderColor = this.taskBorderColor;
1161
- this.activeTaskBkgColor = this.mainBkg;
1162
- this.archEdgeColor = this.lineColor;
1163
- this.archEdgeArrowColor = this.lineColor;
1164
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 75) || "#ffffff";
1165
- this.rowEven = this.rowEven || lighten(this.mainBkg, 20);
1166
- this.transitionColor = this.transitionColor || this.lineColor;
1167
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
1168
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
1169
- this.stateBkg = this.stateBkg || this.mainBkg;
1170
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
1171
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
1172
- this.altBackground = this.altBackground || "#f0f0f0";
1173
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
1174
- this.compositeBorder = this.compositeBorder || this.nodeBorder;
1175
- this.innerEndBackground = this.primaryBorderColor;
1176
- this.specialStateColor = this.lineColor;
1177
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
1178
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
1179
- this.transitionColor = this.transitionColor || this.lineColor;
1180
- this.classText = this.primaryTextColor;
1181
- this.fillType0 = this.primaryColor;
1182
- this.fillType1 = this.secondaryColor;
1183
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
1184
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
1185
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
1186
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
1187
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
1188
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
1189
- this.pie1 = this.pie1 || this.primaryColor;
1190
- this.pie2 = this.pie2 || this.secondaryColor;
1191
- this.pie3 = this.pie3 || this.tertiaryColor;
1192
- this.pie4 = this.pie4 || adjust(this.primaryColor, { l: -30 });
1193
- this.pie5 = this.pie5 || adjust(this.secondaryColor, { l: -30 });
1194
- this.pie6 = this.pie6 || adjust(this.tertiaryColor, { h: 40, l: -40 });
1195
- this.pie7 = this.pie7 || adjust(this.primaryColor, { h: 60, l: -10 });
1196
- this.pie8 = this.pie8 || adjust(this.primaryColor, { h: -60, l: -10 });
1197
- this.pie9 = this.pie9 || adjust(this.primaryColor, { h: 120, l: 0 });
1198
- this.pie10 = this.pie10 || adjust(this.primaryColor, { h: 60, l: -50 });
1199
- this.pie11 = this.pie11 || adjust(this.primaryColor, { h: -60, l: -50 });
1200
- this.pie12 = this.pie12 || adjust(this.primaryColor, { h: 120, l: -50 });
1201
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
1202
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
1203
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
1204
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
1205
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
1206
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
1207
- this.pieStrokeColor = this.pieStrokeColor || "black";
1208
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
1209
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
1210
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
1211
- this.pieOpacity = this.pieOpacity || "0.7";
1212
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
1213
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
1214
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
1215
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
1216
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
1217
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
1218
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
1219
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
1220
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
1221
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
1222
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
1223
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
1224
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
1225
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
1226
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
1227
- this.packet = {
1228
- startByteColor: this.primaryTextColor,
1229
- endByteColor: this.primaryTextColor,
1230
- labelColor: this.primaryTextColor,
1231
- titleColor: this.primaryTextColor,
1232
- blockStrokeColor: this.primaryTextColor,
1233
- blockFillColor: this.mainBkg
1234
- };
1235
- this.radar = {
1236
- axisColor: this.radar?.axisColor || this.lineColor,
1237
- axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1238
- axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1239
- curveOpacity: this.radar?.curveOpacity || 0.5,
1240
- curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1241
- graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1242
- graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1243
- graticuleOpacity: this.radar?.graticuleOpacity || 0.3,
1244
- legendBoxSize: this.radar?.legendBoxSize || 12,
1245
- legendFontSize: this.radar?.legendFontSize || 12
1246
- };
1247
- this.xyChart = {
1248
- backgroundColor: this.xyChart?.backgroundColor || this.background,
1249
- titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1250
- xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1251
- xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1252
- xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1253
- xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1254
- yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1255
- yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1256
- yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1257
- yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1258
- plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
1259
- };
1260
- this.requirementBackground = this.requirementBackground || this.primaryColor;
1261
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
1262
- this.requirementBorderSize = this.requirementBorderSize || "1";
1263
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
1264
- this.relationColor = this.relationColor || this.lineColor;
1265
- this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground;
1266
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
1267
- this.git0 = this.git0 || this.primaryColor;
1268
- this.git1 = this.git1 || this.secondaryColor;
1269
- this.git2 = this.git2 || this.tertiaryColor;
1270
- this.git3 = this.git3 || adjust(this.primaryColor, { h: -30 });
1271
- this.git4 = this.git4 || adjust(this.primaryColor, { h: -60 });
1272
- this.git5 = this.git5 || adjust(this.primaryColor, { h: -90 });
1273
- this.git6 = this.git6 || adjust(this.primaryColor, { h: 60 });
1274
- this.git7 = this.git7 || adjust(this.primaryColor, { h: 120 });
1275
- if (this.darkMode) {
1276
- this.git0 = lighten(this.git0, 25);
1277
- this.git1 = lighten(this.git1, 25);
1278
- this.git2 = lighten(this.git2, 25);
1279
- this.git3 = lighten(this.git3, 25);
1280
- this.git4 = lighten(this.git4, 25);
1281
- this.git5 = lighten(this.git5, 25);
1282
- this.git6 = lighten(this.git6, 25);
1283
- this.git7 = lighten(this.git7, 25);
1284
- } else {
1285
- this.git0 = darken(this.git0, 25);
1286
- this.git1 = darken(this.git1, 25);
1287
- this.git2 = darken(this.git2, 25);
1288
- this.git3 = darken(this.git3, 25);
1289
- this.git4 = darken(this.git4, 25);
1290
- this.git5 = darken(this.git5, 25);
1291
- this.git6 = darken(this.git6, 25);
1292
- this.git7 = darken(this.git7, 25);
1293
- }
1294
- this.gitInv0 = this.gitInv0 || invert(this.git0);
1295
- this.gitInv1 = this.gitInv1 || invert(this.git1);
1296
- this.gitInv2 = this.gitInv2 || invert(this.git2);
1297
- this.gitInv3 = this.gitInv3 || invert(this.git3);
1298
- this.gitInv4 = this.gitInv4 || invert(this.git4);
1299
- this.gitInv5 = this.gitInv5 || invert(this.git5);
1300
- this.gitInv6 = this.gitInv6 || invert(this.git6);
1301
- this.gitInv7 = this.gitInv7 || invert(this.git7);
1302
- this.gitBranchLabel0 = this.gitBranchLabel0 || invert(this.labelTextColor);
1303
- this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor;
1304
- this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor;
1305
- this.gitBranchLabel3 = this.gitBranchLabel3 || invert(this.labelTextColor);
1306
- this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor;
1307
- this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor;
1308
- this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor;
1309
- this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor;
1310
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
1311
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
1312
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
1313
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
1314
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
1315
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
1316
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
1317
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
1318
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
1319
- }
1320
- calculate(overrides) {
1321
- if (typeof overrides !== "object") {
1322
- this.updateColors();
1323
- return;
1324
- }
1325
- const keys = Object.keys(overrides);
1326
- keys.forEach((k) => {
1327
- this[k] = overrides[k];
1328
- });
1329
- this.updateColors();
1330
- keys.forEach((k) => {
1331
- this[k] = overrides[k];
1332
- });
1333
- }
1334
- };
1335
- var getThemeVariables4 = /* @__PURE__ */ __name((userOverrides) => {
1336
- const theme = new Theme4();
1337
- theme.calculate(userOverrides);
1338
- return theme;
1339
- }, "getThemeVariables");
1340
- var Theme5 = class {
1341
- static {
1342
- __name(this, "Theme");
1343
- }
1344
- constructor() {
1345
- this.primaryColor = "#eee";
1346
- this.contrast = "#707070";
1347
- this.secondaryColor = lighten(this.contrast, 55);
1348
- this.background = "#ffffff";
1349
- this.tertiaryColor = adjust(this.primaryColor, { h: -160 });
1350
- this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
1351
- this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode);
1352
- this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode);
1353
- this.primaryTextColor = invert(this.primaryColor);
1354
- this.secondaryTextColor = invert(this.secondaryColor);
1355
- this.tertiaryTextColor = invert(this.tertiaryColor);
1356
- this.lineColor = invert(this.background);
1357
- this.textColor = invert(this.background);
1358
- this.mainBkg = "#eee";
1359
- this.secondBkg = "calculated";
1360
- this.lineColor = "#666";
1361
- this.border1 = "#999";
1362
- this.border2 = "calculated";
1363
- this.note = "#ffa";
1364
- this.text = "#333";
1365
- this.critical = "#d42";
1366
- this.done = "#bbb";
1367
- this.arrowheadColor = "#333333";
1368
- this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
1369
- this.fontSize = "16px";
1370
- this.THEME_COLOR_LIMIT = 12;
1371
- this.nodeBkg = "calculated";
1372
- this.nodeBorder = "calculated";
1373
- this.clusterBkg = "calculated";
1374
- this.clusterBorder = "calculated";
1375
- this.defaultLinkColor = "calculated";
1376
- this.titleColor = "calculated";
1377
- this.edgeLabelBackground = "white";
1378
- this.actorBorder = "calculated";
1379
- this.actorBkg = "calculated";
1380
- this.actorTextColor = "calculated";
1381
- this.actorLineColor = this.actorBorder;
1382
- this.signalColor = "calculated";
1383
- this.signalTextColor = "calculated";
1384
- this.labelBoxBkgColor = "calculated";
1385
- this.labelBoxBorderColor = "calculated";
1386
- this.labelTextColor = "calculated";
1387
- this.loopTextColor = "calculated";
1388
- this.noteBorderColor = "calculated";
1389
- this.noteBkgColor = "calculated";
1390
- this.noteTextColor = "calculated";
1391
- this.activationBorderColor = "#666";
1392
- this.activationBkgColor = "#f4f4f4";
1393
- this.sequenceNumberColor = "white";
1394
- this.sectionBkgColor = "calculated";
1395
- this.altSectionBkgColor = "white";
1396
- this.sectionBkgColor2 = "calculated";
1397
- this.excludeBkgColor = "#eeeeee";
1398
- this.taskBorderColor = "calculated";
1399
- this.taskBkgColor = "calculated";
1400
- this.taskTextLightColor = "white";
1401
- this.taskTextColor = "calculated";
1402
- this.taskTextDarkColor = "calculated";
1403
- this.taskTextOutsideColor = "calculated";
1404
- this.taskTextClickableColor = "#003163";
1405
- this.activeTaskBorderColor = "calculated";
1406
- this.activeTaskBkgColor = "calculated";
1407
- this.gridColor = "calculated";
1408
- this.doneTaskBkgColor = "calculated";
1409
- this.doneTaskBorderColor = "calculated";
1410
- this.critBkgColor = "calculated";
1411
- this.critBorderColor = "calculated";
1412
- this.todayLineColor = "calculated";
1413
- this.vertLineColor = "calculated";
1414
- this.personBorder = this.primaryBorderColor;
1415
- this.personBkg = this.mainBkg;
1416
- this.archEdgeColor = "calculated";
1417
- this.archEdgeArrowColor = "calculated";
1418
- this.archEdgeWidth = "3";
1419
- this.archGroupBorderColor = this.primaryBorderColor;
1420
- this.archGroupBorderWidth = "2px";
1421
- this.rowOdd = this.rowOdd || lighten(this.mainBkg, 75) || "#ffffff";
1422
- this.rowEven = this.rowEven || "#f4f4f4";
1423
- this.labelColor = "black";
1424
- this.errorBkgColor = "#552222";
1425
- this.errorTextColor = "#552222";
1426
- }
1427
- updateColors() {
1428
- this.secondBkg = lighten(this.contrast, 55);
1429
- this.border2 = this.contrast;
1430
- this.actorBorder = lighten(this.border1, 23);
1431
- this.actorBkg = this.mainBkg;
1432
- this.actorTextColor = this.text;
1433
- this.actorLineColor = this.actorBorder;
1434
- this.signalColor = this.text;
1435
- this.signalTextColor = this.text;
1436
- this.labelBoxBkgColor = this.actorBkg;
1437
- this.labelBoxBorderColor = this.actorBorder;
1438
- this.labelTextColor = this.text;
1439
- this.loopTextColor = this.text;
1440
- this.noteBorderColor = "#999";
1441
- this.noteBkgColor = "#666";
1442
- this.noteTextColor = "#fff";
1443
- this.cScale0 = this.cScale0 || "#555";
1444
- this.cScale1 = this.cScale1 || "#F4F4F4";
1445
- this.cScale2 = this.cScale2 || "#555";
1446
- this.cScale3 = this.cScale3 || "#BBB";
1447
- this.cScale4 = this.cScale4 || "#777";
1448
- this.cScale5 = this.cScale5 || "#999";
1449
- this.cScale6 = this.cScale6 || "#DDD";
1450
- this.cScale7 = this.cScale7 || "#FFF";
1451
- this.cScale8 = this.cScale8 || "#DDD";
1452
- this.cScale9 = this.cScale9 || "#BBB";
1453
- this.cScale10 = this.cScale10 || "#999";
1454
- this.cScale11 = this.cScale11 || "#777";
1455
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1456
- this["cScaleInv" + i] = this["cScaleInv" + i] || invert(this["cScale" + i]);
1457
- }
1458
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1459
- if (this.darkMode) {
1460
- this["cScalePeer" + i] = this["cScalePeer" + i] || lighten(this["cScale" + i], 10);
1461
- } else {
1462
- this["cScalePeer" + i] = this["cScalePeer" + i] || darken(this["cScale" + i], 10);
1463
- }
1464
- }
1465
- this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
1466
- this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1;
1467
- this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1468
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1469
- this["cScaleLabel" + i] = this["cScaleLabel" + i] || this.scaleLabelColor;
1470
- }
1471
- for (let i = 0; i < 5; i++) {
1472
- this["surface" + i] = this["surface" + i] || adjust(this.mainBkg, { l: -(5 + i * 5) });
1473
- this["surfacePeer" + i] = this["surfacePeer" + i] || adjust(this.mainBkg, { l: -(8 + i * 5) });
1474
- }
1475
- this.nodeBkg = this.mainBkg;
1476
- this.nodeBorder = this.border1;
1477
- this.clusterBkg = this.secondBkg;
1478
- this.clusterBorder = this.border2;
1479
- this.defaultLinkColor = this.lineColor;
1480
- this.titleColor = this.text;
1481
- this.sectionBkgColor = lighten(this.contrast, 30);
1482
- this.sectionBkgColor2 = lighten(this.contrast, 30);
1483
- this.taskBorderColor = darken(this.contrast, 10);
1484
- this.taskBkgColor = this.contrast;
1485
- this.taskTextColor = this.taskTextLightColor;
1486
- this.taskTextDarkColor = this.text;
1487
- this.taskTextOutsideColor = this.taskTextDarkColor;
1488
- this.activeTaskBorderColor = this.taskBorderColor;
1489
- this.activeTaskBkgColor = this.mainBkg;
1490
- this.gridColor = lighten(this.border1, 30);
1491
- this.doneTaskBkgColor = this.done;
1492
- this.doneTaskBorderColor = this.lineColor;
1493
- this.critBkgColor = this.critical;
1494
- this.critBorderColor = darken(this.critBkgColor, 10);
1495
- this.todayLineColor = this.critBkgColor;
1496
- this.vertLineColor = this.critBkgColor;
1497
- this.archEdgeColor = this.lineColor;
1498
- this.archEdgeArrowColor = this.lineColor;
1499
- this.transitionColor = this.transitionColor || "#000";
1500
- this.transitionLabelColor = this.transitionLabelColor || this.textColor;
1501
- this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor;
1502
- this.stateBkg = this.stateBkg || this.mainBkg;
1503
- this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg;
1504
- this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor;
1505
- this.altBackground = this.altBackground || "#f4f4f4";
1506
- this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg;
1507
- this.stateBorder = this.stateBorder || "#000";
1508
- this.innerEndBackground = this.primaryBorderColor;
1509
- this.specialStateColor = "#222";
1510
- this.errorBkgColor = this.errorBkgColor || this.tertiaryColor;
1511
- this.errorTextColor = this.errorTextColor || this.tertiaryTextColor;
1512
- this.classText = this.primaryTextColor;
1513
- this.fillType0 = this.primaryColor;
1514
- this.fillType1 = this.secondaryColor;
1515
- this.fillType2 = adjust(this.primaryColor, { h: 64 });
1516
- this.fillType3 = adjust(this.secondaryColor, { h: 64 });
1517
- this.fillType4 = adjust(this.primaryColor, { h: -64 });
1518
- this.fillType5 = adjust(this.secondaryColor, { h: -64 });
1519
- this.fillType6 = adjust(this.primaryColor, { h: 128 });
1520
- this.fillType7 = adjust(this.secondaryColor, { h: 128 });
1521
- for (let i = 0; i < this.THEME_COLOR_LIMIT; i++) {
1522
- this["pie" + i] = this["cScale" + i];
1523
- }
1524
- this.pie12 = this.pie0;
1525
- this.pieTitleTextSize = this.pieTitleTextSize || "25px";
1526
- this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor;
1527
- this.pieSectionTextSize = this.pieSectionTextSize || "17px";
1528
- this.pieSectionTextColor = this.pieSectionTextColor || this.textColor;
1529
- this.pieLegendTextSize = this.pieLegendTextSize || "17px";
1530
- this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
1531
- this.pieStrokeColor = this.pieStrokeColor || "black";
1532
- this.pieStrokeWidth = this.pieStrokeWidth || "2px";
1533
- this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px";
1534
- this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black";
1535
- this.pieOpacity = this.pieOpacity || "0.7";
1536
- this.quadrant1Fill = this.quadrant1Fill || this.primaryColor;
1537
- this.quadrant2Fill = this.quadrant2Fill || adjust(this.primaryColor, { r: 5, g: 5, b: 5 });
1538
- this.quadrant3Fill = this.quadrant3Fill || adjust(this.primaryColor, { r: 10, g: 10, b: 10 });
1539
- this.quadrant4Fill = this.quadrant4Fill || adjust(this.primaryColor, { r: 15, g: 15, b: 15 });
1540
- this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor;
1541
- this.quadrant2TextFill = this.quadrant2TextFill || adjust(this.primaryTextColor, { r: -5, g: -5, b: -5 });
1542
- this.quadrant3TextFill = this.quadrant3TextFill || adjust(this.primaryTextColor, { r: -10, g: -10, b: -10 });
1543
- this.quadrant4TextFill = this.quadrant4TextFill || adjust(this.primaryTextColor, { r: -15, g: -15, b: -15 });
1544
- this.quadrantPointFill = this.quadrantPointFill || isDark(this.quadrant1Fill) ? lighten(this.quadrant1Fill) : darken(this.quadrant1Fill);
1545
- this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor;
1546
- this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor;
1547
- this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor;
1548
- this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor;
1549
- this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor;
1550
- this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor;
1551
- this.xyChart = {
1552
- backgroundColor: this.xyChart?.backgroundColor || this.background,
1553
- titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1554
- xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1555
- xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1556
- xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1557
- xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1558
- yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1559
- yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1560
- yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1561
- yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1562
- plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
1563
- };
1564
- this.radar = {
1565
- axisColor: this.radar?.axisColor || this.lineColor,
1566
- axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1567
- axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1568
- curveOpacity: this.radar?.curveOpacity || 0.5,
1569
- curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1570
- graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1571
- graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1572
- graticuleOpacity: this.radar?.graticuleOpacity || 0.3,
1573
- legendBoxSize: this.radar?.legendBoxSize || 12,
1574
- legendFontSize: this.radar?.legendFontSize || 12
1575
- };
1576
- this.requirementBackground = this.requirementBackground || this.primaryColor;
1577
- this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor;
1578
- this.requirementBorderSize = this.requirementBorderSize || "1";
1579
- this.requirementTextColor = this.requirementTextColor || this.primaryTextColor;
1580
- this.relationColor = this.relationColor || this.lineColor;
1581
- this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground;
1582
- this.relationLabelColor = this.relationLabelColor || this.actorTextColor;
1583
- this.git0 = darken(this.pie1, 25) || this.primaryColor;
1584
- this.git1 = this.pie2 || this.secondaryColor;
1585
- this.git2 = this.pie3 || this.tertiaryColor;
1586
- this.git3 = this.pie4 || adjust(this.primaryColor, { h: -30 });
1587
- this.git4 = this.pie5 || adjust(this.primaryColor, { h: -60 });
1588
- this.git5 = this.pie6 || adjust(this.primaryColor, { h: -90 });
1589
- this.git6 = this.pie7 || adjust(this.primaryColor, { h: 60 });
1590
- this.git7 = this.pie8 || adjust(this.primaryColor, { h: 120 });
1591
- this.gitInv0 = this.gitInv0 || invert(this.git0);
1592
- this.gitInv1 = this.gitInv1 || invert(this.git1);
1593
- this.gitInv2 = this.gitInv2 || invert(this.git2);
1594
- this.gitInv3 = this.gitInv3 || invert(this.git3);
1595
- this.gitInv4 = this.gitInv4 || invert(this.git4);
1596
- this.gitInv5 = this.gitInv5 || invert(this.git5);
1597
- this.gitInv6 = this.gitInv6 || invert(this.git6);
1598
- this.gitInv7 = this.gitInv7 || invert(this.git7);
1599
- this.branchLabelColor = this.branchLabelColor || this.labelTextColor;
1600
- this.gitBranchLabel0 = this.branchLabelColor;
1601
- this.gitBranchLabel1 = "white";
1602
- this.gitBranchLabel2 = this.branchLabelColor;
1603
- this.gitBranchLabel3 = "white";
1604
- this.gitBranchLabel4 = this.branchLabelColor;
1605
- this.gitBranchLabel5 = this.branchLabelColor;
1606
- this.gitBranchLabel6 = this.branchLabelColor;
1607
- this.gitBranchLabel7 = this.branchLabelColor;
1608
- this.tagLabelColor = this.tagLabelColor || this.primaryTextColor;
1609
- this.tagLabelBackground = this.tagLabelBackground || this.primaryColor;
1610
- this.tagLabelBorder = this.tagBorder || this.primaryBorderColor;
1611
- this.tagLabelFontSize = this.tagLabelFontSize || "10px";
1612
- this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor;
1613
- this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor;
1614
- this.commitLabelFontSize = this.commitLabelFontSize || "10px";
1615
- this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd;
1616
- this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
1617
- }
1618
- calculate(overrides) {
1619
- if (typeof overrides !== "object") {
1620
- this.updateColors();
1621
- return;
1622
- }
1623
- const keys = Object.keys(overrides);
1624
- keys.forEach((k) => {
1625
- this[k] = overrides[k];
1626
- });
1627
- this.updateColors();
1628
- keys.forEach((k) => {
1629
- this[k] = overrides[k];
1630
- });
1631
- }
1632
- };
1633
- var getThemeVariables5 = /* @__PURE__ */ __name((userOverrides) => {
1634
- const theme = new Theme5();
1635
- theme.calculate(userOverrides);
1636
- return theme;
1637
- }, "getThemeVariables");
1638
-
1639
- // src/themes/index.js
1640
- var themes_default = {
1641
- base: {
1642
- getThemeVariables
1643
- },
1644
- dark: {
1645
- getThemeVariables: getThemeVariables2
1646
- },
1647
- default: {
1648
- getThemeVariables: getThemeVariables3
1649
- },
1650
- forest: {
1651
- getThemeVariables: getThemeVariables4
1652
- },
1653
- neutral: {
1654
- getThemeVariables: getThemeVariables5
1655
- }
1656
- };
1657
-
1658
- // src/schemas/config.schema.yaml?only-defaults=true
1659
- var config_schema_default = {
1660
- "flowchart": {
1661
- "useMaxWidth": true,
1662
- "titleTopMargin": 25,
1663
- "subGraphTitleMargin": {
1664
- "top": 0,
1665
- "bottom": 0
1666
- },
1667
- "diagramPadding": 8,
1668
- "htmlLabels": true,
1669
- "nodeSpacing": 50,
1670
- "rankSpacing": 50,
1671
- "curve": "basis",
1672
- "padding": 15,
1673
- "defaultRenderer": "dagre-wrapper",
1674
- "wrappingWidth": 200,
1675
- "inheritDir": false
1676
- },
1677
- "sequence": {
1678
- "useMaxWidth": true,
1679
- "hideUnusedParticipants": false,
1680
- "activationWidth": 10,
1681
- "diagramMarginX": 50,
1682
- "diagramMarginY": 10,
1683
- "actorMargin": 50,
1684
- "width": 150,
1685
- "height": 65,
1686
- "boxMargin": 10,
1687
- "boxTextMargin": 5,
1688
- "noteMargin": 10,
1689
- "messageMargin": 35,
1690
- "messageAlign": "center",
1691
- "mirrorActors": true,
1692
- "forceMenus": false,
1693
- "bottomMarginAdj": 1,
1694
- "rightAngles": false,
1695
- "showSequenceNumbers": false,
1696
- "actorFontSize": 14,
1697
- "actorFontFamily": '"Open Sans", sans-serif',
1698
- "actorFontWeight": 400,
1699
- "noteFontSize": 14,
1700
- "noteFontFamily": '"trebuchet ms", verdana, arial, sans-serif',
1701
- "noteFontWeight": 400,
1702
- "noteAlign": "center",
1703
- "messageFontSize": 16,
1704
- "messageFontFamily": '"trebuchet ms", verdana, arial, sans-serif',
1705
- "messageFontWeight": 400,
1706
- "wrap": false,
1707
- "wrapPadding": 10,
1708
- "labelBoxWidth": 50,
1709
- "labelBoxHeight": 20
1710
- },
1711
- "gantt": {
1712
- "useMaxWidth": true,
1713
- "titleTopMargin": 25,
1714
- "barHeight": 20,
1715
- "barGap": 4,
1716
- "topPadding": 50,
1717
- "rightPadding": 75,
1718
- "leftPadding": 75,
1719
- "gridLineStartPadding": 35,
1720
- "fontSize": 11,
1721
- "sectionFontSize": 11,
1722
- "numberSectionStyles": 4,
1723
- "axisFormat": "%Y-%m-%d",
1724
- "topAxis": false,
1725
- "displayMode": "",
1726
- "weekday": "sunday"
1727
- },
1728
- "journey": {
1729
- "useMaxWidth": true,
1730
- "diagramMarginX": 50,
1731
- "diagramMarginY": 10,
1732
- "leftMargin": 150,
1733
- "maxLabelWidth": 360,
1734
- "width": 150,
1735
- "height": 50,
1736
- "boxMargin": 10,
1737
- "boxTextMargin": 5,
1738
- "noteMargin": 10,
1739
- "messageMargin": 35,
1740
- "messageAlign": "center",
1741
- "bottomMarginAdj": 1,
1742
- "rightAngles": false,
1743
- "taskFontSize": 14,
1744
- "taskFontFamily": '"Open Sans", sans-serif',
1745
- "taskMargin": 50,
1746
- "activationWidth": 10,
1747
- "textPlacement": "fo",
1748
- "actorColours": [
1749
- "#8FBC8F",
1750
- "#7CFC00",
1751
- "#00FFFF",
1752
- "#20B2AA",
1753
- "#B0E0E6",
1754
- "#FFFFE0"
1755
- ],
1756
- "sectionFills": [
1757
- "#191970",
1758
- "#8B008B",
1759
- "#4B0082",
1760
- "#2F4F4F",
1761
- "#800000",
1762
- "#8B4513",
1763
- "#00008B"
1764
- ],
1765
- "sectionColours": [
1766
- "#fff"
1767
- ],
1768
- "titleColor": "",
1769
- "titleFontFamily": '"trebuchet ms", verdana, arial, sans-serif',
1770
- "titleFontSize": "4ex"
1771
- },
1772
- "class": {
1773
- "useMaxWidth": true,
1774
- "titleTopMargin": 25,
1775
- "arrowMarkerAbsolute": false,
1776
- "dividerMargin": 10,
1777
- "padding": 5,
1778
- "textHeight": 10,
1779
- "defaultRenderer": "dagre-wrapper",
1780
- "htmlLabels": false,
1781
- "hideEmptyMembersBox": false
1782
- },
1783
- "state": {
1784
- "useMaxWidth": true,
1785
- "titleTopMargin": 25,
1786
- "dividerMargin": 10,
1787
- "sizeUnit": 5,
1788
- "padding": 8,
1789
- "textHeight": 10,
1790
- "titleShift": -15,
1791
- "noteMargin": 10,
1792
- "forkWidth": 70,
1793
- "forkHeight": 7,
1794
- "miniPadding": 2,
1795
- "fontSizeFactor": 5.02,
1796
- "fontSize": 24,
1797
- "labelHeight": 16,
1798
- "edgeLengthFactor": "20",
1799
- "compositTitleSize": 35,
1800
- "radius": 5,
1801
- "defaultRenderer": "dagre-wrapper"
1802
- },
1803
- "er": {
1804
- "useMaxWidth": true,
1805
- "titleTopMargin": 25,
1806
- "diagramPadding": 20,
1807
- "layoutDirection": "TB",
1808
- "minEntityWidth": 100,
1809
- "minEntityHeight": 75,
1810
- "entityPadding": 15,
1811
- "nodeSpacing": 140,
1812
- "rankSpacing": 80,
1813
- "stroke": "gray",
1814
- "fill": "honeydew",
1815
- "fontSize": 12
1816
- },
1817
- "pie": {
1818
- "useMaxWidth": true,
1819
- "textPosition": 0.75
1820
- },
1821
- "quadrantChart": {
1822
- "useMaxWidth": true,
1823
- "chartWidth": 500,
1824
- "chartHeight": 500,
1825
- "titleFontSize": 20,
1826
- "titlePadding": 10,
1827
- "quadrantPadding": 5,
1828
- "xAxisLabelPadding": 5,
1829
- "yAxisLabelPadding": 5,
1830
- "xAxisLabelFontSize": 16,
1831
- "yAxisLabelFontSize": 16,
1832
- "quadrantLabelFontSize": 16,
1833
- "quadrantTextTopPadding": 5,
1834
- "pointTextPadding": 5,
1835
- "pointLabelFontSize": 12,
1836
- "pointRadius": 5,
1837
- "xAxisPosition": "top",
1838
- "yAxisPosition": "left",
1839
- "quadrantInternalBorderStrokeWidth": 1,
1840
- "quadrantExternalBorderStrokeWidth": 2
1841
- },
1842
- "xyChart": {
1843
- "useMaxWidth": true,
1844
- "width": 700,
1845
- "height": 500,
1846
- "titleFontSize": 20,
1847
- "titlePadding": 10,
1848
- "showDataLabel": false,
1849
- "showTitle": true,
1850
- "xAxis": {
1851
- "$ref": "#/$defs/XYChartAxisConfig",
1852
- "showLabel": true,
1853
- "labelFontSize": 14,
1854
- "labelPadding": 5,
1855
- "showTitle": true,
1856
- "titleFontSize": 16,
1857
- "titlePadding": 5,
1858
- "showTick": true,
1859
- "tickLength": 5,
1860
- "tickWidth": 2,
1861
- "showAxisLine": true,
1862
- "axisLineWidth": 2
1863
- },
1864
- "yAxis": {
1865
- "$ref": "#/$defs/XYChartAxisConfig",
1866
- "showLabel": true,
1867
- "labelFontSize": 14,
1868
- "labelPadding": 5,
1869
- "showTitle": true,
1870
- "titleFontSize": 16,
1871
- "titlePadding": 5,
1872
- "showTick": true,
1873
- "tickLength": 5,
1874
- "tickWidth": 2,
1875
- "showAxisLine": true,
1876
- "axisLineWidth": 2
1877
- },
1878
- "chartOrientation": "vertical",
1879
- "plotReservedSpacePercent": 50
1880
- },
1881
- "requirement": {
1882
- "useMaxWidth": true,
1883
- "rect_fill": "#f9f9f9",
1884
- "text_color": "#333",
1885
- "rect_border_size": "0.5px",
1886
- "rect_border_color": "#bbb",
1887
- "rect_min_width": 200,
1888
- "rect_min_height": 200,
1889
- "fontSize": 14,
1890
- "rect_padding": 10,
1891
- "line_height": 20
1892
- },
1893
- "mindmap": {
1894
- "useMaxWidth": true,
1895
- "padding": 10,
1896
- "maxNodeWidth": 200,
1897
- "layoutAlgorithm": "cose-bilkent"
1898
- },
1899
- "kanban": {
1900
- "useMaxWidth": true,
1901
- "padding": 8,
1902
- "sectionWidth": 200,
1903
- "ticketBaseUrl": ""
1904
- },
1905
- "timeline": {
1906
- "useMaxWidth": true,
1907
- "diagramMarginX": 50,
1908
- "diagramMarginY": 10,
1909
- "leftMargin": 150,
1910
- "width": 150,
1911
- "height": 50,
1912
- "boxMargin": 10,
1913
- "boxTextMargin": 5,
1914
- "noteMargin": 10,
1915
- "messageMargin": 35,
1916
- "messageAlign": "center",
1917
- "bottomMarginAdj": 1,
1918
- "rightAngles": false,
1919
- "taskFontSize": 14,
1920
- "taskFontFamily": '"Open Sans", sans-serif',
1921
- "taskMargin": 50,
1922
- "activationWidth": 10,
1923
- "textPlacement": "fo",
1924
- "actorColours": [
1925
- "#8FBC8F",
1926
- "#7CFC00",
1927
- "#00FFFF",
1928
- "#20B2AA",
1929
- "#B0E0E6",
1930
- "#FFFFE0"
1931
- ],
1932
- "sectionFills": [
1933
- "#191970",
1934
- "#8B008B",
1935
- "#4B0082",
1936
- "#2F4F4F",
1937
- "#800000",
1938
- "#8B4513",
1939
- "#00008B"
1940
- ],
1941
- "sectionColours": [
1942
- "#fff"
1943
- ],
1944
- "disableMulticolor": false
1945
- },
1946
- "gitGraph": {
1947
- "useMaxWidth": true,
1948
- "titleTopMargin": 25,
1949
- "diagramPadding": 8,
1950
- "nodeLabel": {
1951
- "width": 75,
1952
- "height": 100,
1953
- "x": -25,
1954
- "y": 0
1955
- },
1956
- "mainBranchName": "main",
1957
- "mainBranchOrder": 0,
1958
- "showCommitLabel": true,
1959
- "showBranches": true,
1960
- "rotateCommitLabel": true,
1961
- "parallelCommits": false,
1962
- "arrowMarkerAbsolute": false
1963
- },
1964
- "c4": {
1965
- "useMaxWidth": true,
1966
- "diagramMarginX": 50,
1967
- "diagramMarginY": 10,
1968
- "c4ShapeMargin": 50,
1969
- "c4ShapePadding": 20,
1970
- "width": 216,
1971
- "height": 60,
1972
- "boxMargin": 10,
1973
- "c4ShapeInRow": 4,
1974
- "nextLinePaddingX": 0,
1975
- "c4BoundaryInRow": 2,
1976
- "personFontSize": 14,
1977
- "personFontFamily": '"Open Sans", sans-serif',
1978
- "personFontWeight": "normal",
1979
- "external_personFontSize": 14,
1980
- "external_personFontFamily": '"Open Sans", sans-serif',
1981
- "external_personFontWeight": "normal",
1982
- "systemFontSize": 14,
1983
- "systemFontFamily": '"Open Sans", sans-serif',
1984
- "systemFontWeight": "normal",
1985
- "external_systemFontSize": 14,
1986
- "external_systemFontFamily": '"Open Sans", sans-serif',
1987
- "external_systemFontWeight": "normal",
1988
- "system_dbFontSize": 14,
1989
- "system_dbFontFamily": '"Open Sans", sans-serif',
1990
- "system_dbFontWeight": "normal",
1991
- "external_system_dbFontSize": 14,
1992
- "external_system_dbFontFamily": '"Open Sans", sans-serif',
1993
- "external_system_dbFontWeight": "normal",
1994
- "system_queueFontSize": 14,
1995
- "system_queueFontFamily": '"Open Sans", sans-serif',
1996
- "system_queueFontWeight": "normal",
1997
- "external_system_queueFontSize": 14,
1998
- "external_system_queueFontFamily": '"Open Sans", sans-serif',
1999
- "external_system_queueFontWeight": "normal",
2000
- "boundaryFontSize": 14,
2001
- "boundaryFontFamily": '"Open Sans", sans-serif',
2002
- "boundaryFontWeight": "normal",
2003
- "messageFontSize": 12,
2004
- "messageFontFamily": '"Open Sans", sans-serif',
2005
- "messageFontWeight": "normal",
2006
- "containerFontSize": 14,
2007
- "containerFontFamily": '"Open Sans", sans-serif',
2008
- "containerFontWeight": "normal",
2009
- "external_containerFontSize": 14,
2010
- "external_containerFontFamily": '"Open Sans", sans-serif',
2011
- "external_containerFontWeight": "normal",
2012
- "container_dbFontSize": 14,
2013
- "container_dbFontFamily": '"Open Sans", sans-serif',
2014
- "container_dbFontWeight": "normal",
2015
- "external_container_dbFontSize": 14,
2016
- "external_container_dbFontFamily": '"Open Sans", sans-serif',
2017
- "external_container_dbFontWeight": "normal",
2018
- "container_queueFontSize": 14,
2019
- "container_queueFontFamily": '"Open Sans", sans-serif',
2020
- "container_queueFontWeight": "normal",
2021
- "external_container_queueFontSize": 14,
2022
- "external_container_queueFontFamily": '"Open Sans", sans-serif',
2023
- "external_container_queueFontWeight": "normal",
2024
- "componentFontSize": 14,
2025
- "componentFontFamily": '"Open Sans", sans-serif',
2026
- "componentFontWeight": "normal",
2027
- "external_componentFontSize": 14,
2028
- "external_componentFontFamily": '"Open Sans", sans-serif',
2029
- "external_componentFontWeight": "normal",
2030
- "component_dbFontSize": 14,
2031
- "component_dbFontFamily": '"Open Sans", sans-serif',
2032
- "component_dbFontWeight": "normal",
2033
- "external_component_dbFontSize": 14,
2034
- "external_component_dbFontFamily": '"Open Sans", sans-serif',
2035
- "external_component_dbFontWeight": "normal",
2036
- "component_queueFontSize": 14,
2037
- "component_queueFontFamily": '"Open Sans", sans-serif',
2038
- "component_queueFontWeight": "normal",
2039
- "external_component_queueFontSize": 14,
2040
- "external_component_queueFontFamily": '"Open Sans", sans-serif',
2041
- "external_component_queueFontWeight": "normal",
2042
- "wrap": true,
2043
- "wrapPadding": 10,
2044
- "person_bg_color": "#08427B",
2045
- "person_border_color": "#073B6F",
2046
- "external_person_bg_color": "#686868",
2047
- "external_person_border_color": "#8A8A8A",
2048
- "system_bg_color": "#1168BD",
2049
- "system_border_color": "#3C7FC0",
2050
- "system_db_bg_color": "#1168BD",
2051
- "system_db_border_color": "#3C7FC0",
2052
- "system_queue_bg_color": "#1168BD",
2053
- "system_queue_border_color": "#3C7FC0",
2054
- "external_system_bg_color": "#999999",
2055
- "external_system_border_color": "#8A8A8A",
2056
- "external_system_db_bg_color": "#999999",
2057
- "external_system_db_border_color": "#8A8A8A",
2058
- "external_system_queue_bg_color": "#999999",
2059
- "external_system_queue_border_color": "#8A8A8A",
2060
- "container_bg_color": "#438DD5",
2061
- "container_border_color": "#3C7FC0",
2062
- "container_db_bg_color": "#438DD5",
2063
- "container_db_border_color": "#3C7FC0",
2064
- "container_queue_bg_color": "#438DD5",
2065
- "container_queue_border_color": "#3C7FC0",
2066
- "external_container_bg_color": "#B3B3B3",
2067
- "external_container_border_color": "#A6A6A6",
2068
- "external_container_db_bg_color": "#B3B3B3",
2069
- "external_container_db_border_color": "#A6A6A6",
2070
- "external_container_queue_bg_color": "#B3B3B3",
2071
- "external_container_queue_border_color": "#A6A6A6",
2072
- "component_bg_color": "#85BBF0",
2073
- "component_border_color": "#78A8D8",
2074
- "component_db_bg_color": "#85BBF0",
2075
- "component_db_border_color": "#78A8D8",
2076
- "component_queue_bg_color": "#85BBF0",
2077
- "component_queue_border_color": "#78A8D8",
2078
- "external_component_bg_color": "#CCCCCC",
2079
- "external_component_border_color": "#BFBFBF",
2080
- "external_component_db_bg_color": "#CCCCCC",
2081
- "external_component_db_border_color": "#BFBFBF",
2082
- "external_component_queue_bg_color": "#CCCCCC",
2083
- "external_component_queue_border_color": "#BFBFBF"
2084
- },
2085
- "sankey": {
2086
- "useMaxWidth": true,
2087
- "width": 600,
2088
- "height": 400,
2089
- "linkColor": "gradient",
2090
- "nodeAlignment": "justify",
2091
- "showValues": true,
2092
- "prefix": "",
2093
- "suffix": ""
2094
- },
2095
- "block": {
2096
- "useMaxWidth": true,
2097
- "padding": 8
2098
- },
2099
- "packet": {
2100
- "useMaxWidth": true,
2101
- "rowHeight": 32,
2102
- "bitWidth": 32,
2103
- "bitsPerRow": 32,
2104
- "showBits": true,
2105
- "paddingX": 5,
2106
- "paddingY": 5
2107
- },
2108
- "architecture": {
2109
- "useMaxWidth": true,
2110
- "padding": 40,
2111
- "iconSize": 80,
2112
- "fontSize": 16
2113
- },
2114
- "radar": {
2115
- "useMaxWidth": true,
2116
- "width": 600,
2117
- "height": 600,
2118
- "marginTop": 50,
2119
- "marginRight": 50,
2120
- "marginBottom": 50,
2121
- "marginLeft": 50,
2122
- "axisScaleFactor": 1,
2123
- "axisLabelFactor": 1.05,
2124
- "curveTension": 0.17
2125
- },
2126
- "theme": "default",
2127
- "look": "classic",
2128
- "handDrawnSeed": 0,
2129
- "layout": "dagre",
2130
- "maxTextSize": 5e4,
2131
- "maxEdges": 500,
2132
- "darkMode": false,
2133
- "fontFamily": '"trebuchet ms", verdana, arial, sans-serif;',
2134
- "logLevel": 5,
2135
- "securityLevel": "strict",
2136
- "startOnLoad": true,
2137
- "arrowMarkerAbsolute": false,
2138
- "secure": [
2139
- "secure",
2140
- "securityLevel",
2141
- "startOnLoad",
2142
- "maxTextSize",
2143
- "suppressErrorRendering",
2144
- "maxEdges"
2145
- ],
2146
- "legacyMathML": false,
2147
- "forceLegacyMathML": false,
2148
- "deterministicIds": false,
2149
- "fontSize": 16,
2150
- "markdownAutoWrap": true,
2151
- "suppressErrorRendering": false
2152
- };
2153
-
2154
- // src/defaultConfig.ts
2155
- var config = {
2156
- ...config_schema_default,
2157
- // Set, even though they're `undefined` so that `configKeys` finds these keys
2158
- // TODO: Should we replace these with `null` so that they can go in the JSON Schema?
2159
- deterministicIDSeed: void 0,
2160
- elk: {
2161
- // mergeEdges is needed here to be considered
2162
- mergeEdges: false,
2163
- nodePlacementStrategy: "BRANDES_KOEPF",
2164
- forceNodeModelOrder: false,
2165
- considerModelOrder: "NODES_AND_EDGES"
2166
- },
2167
- themeCSS: void 0,
2168
- // add non-JSON default config values
2169
- themeVariables: themes_default.default.getThemeVariables(),
2170
- sequence: {
2171
- ...config_schema_default.sequence,
2172
- messageFont: /* @__PURE__ */ __name(function() {
2173
- return {
2174
- fontFamily: this.messageFontFamily,
2175
- fontSize: this.messageFontSize,
2176
- fontWeight: this.messageFontWeight
2177
- };
2178
- }, "messageFont"),
2179
- noteFont: /* @__PURE__ */ __name(function() {
2180
- return {
2181
- fontFamily: this.noteFontFamily,
2182
- fontSize: this.noteFontSize,
2183
- fontWeight: this.noteFontWeight
2184
- };
2185
- }, "noteFont"),
2186
- actorFont: /* @__PURE__ */ __name(function() {
2187
- return {
2188
- fontFamily: this.actorFontFamily,
2189
- fontSize: this.actorFontSize,
2190
- fontWeight: this.actorFontWeight
2191
- };
2192
- }, "actorFont")
2193
- },
2194
- class: {
2195
- hideEmptyMembersBox: false
2196
- },
2197
- gantt: {
2198
- ...config_schema_default.gantt,
2199
- tickInterval: void 0,
2200
- useWidth: void 0
2201
- // can probably be removed since `configKeys` already includes this
2202
- },
2203
- c4: {
2204
- ...config_schema_default.c4,
2205
- useWidth: void 0,
2206
- personFont: /* @__PURE__ */ __name(function() {
2207
- return {
2208
- fontFamily: this.personFontFamily,
2209
- fontSize: this.personFontSize,
2210
- fontWeight: this.personFontWeight
2211
- };
2212
- }, "personFont"),
2213
- flowchart: {
2214
- ...config_schema_default.flowchart,
2215
- inheritDir: false
2216
- // default to legacy behavior
2217
- },
2218
- external_personFont: /* @__PURE__ */ __name(function() {
2219
- return {
2220
- fontFamily: this.external_personFontFamily,
2221
- fontSize: this.external_personFontSize,
2222
- fontWeight: this.external_personFontWeight
2223
- };
2224
- }, "external_personFont"),
2225
- systemFont: /* @__PURE__ */ __name(function() {
2226
- return {
2227
- fontFamily: this.systemFontFamily,
2228
- fontSize: this.systemFontSize,
2229
- fontWeight: this.systemFontWeight
2230
- };
2231
- }, "systemFont"),
2232
- external_systemFont: /* @__PURE__ */ __name(function() {
2233
- return {
2234
- fontFamily: this.external_systemFontFamily,
2235
- fontSize: this.external_systemFontSize,
2236
- fontWeight: this.external_systemFontWeight
2237
- };
2238
- }, "external_systemFont"),
2239
- system_dbFont: /* @__PURE__ */ __name(function() {
2240
- return {
2241
- fontFamily: this.system_dbFontFamily,
2242
- fontSize: this.system_dbFontSize,
2243
- fontWeight: this.system_dbFontWeight
2244
- };
2245
- }, "system_dbFont"),
2246
- external_system_dbFont: /* @__PURE__ */ __name(function() {
2247
- return {
2248
- fontFamily: this.external_system_dbFontFamily,
2249
- fontSize: this.external_system_dbFontSize,
2250
- fontWeight: this.external_system_dbFontWeight
2251
- };
2252
- }, "external_system_dbFont"),
2253
- system_queueFont: /* @__PURE__ */ __name(function() {
2254
- return {
2255
- fontFamily: this.system_queueFontFamily,
2256
- fontSize: this.system_queueFontSize,
2257
- fontWeight: this.system_queueFontWeight
2258
- };
2259
- }, "system_queueFont"),
2260
- external_system_queueFont: /* @__PURE__ */ __name(function() {
2261
- return {
2262
- fontFamily: this.external_system_queueFontFamily,
2263
- fontSize: this.external_system_queueFontSize,
2264
- fontWeight: this.external_system_queueFontWeight
2265
- };
2266
- }, "external_system_queueFont"),
2267
- containerFont: /* @__PURE__ */ __name(function() {
2268
- return {
2269
- fontFamily: this.containerFontFamily,
2270
- fontSize: this.containerFontSize,
2271
- fontWeight: this.containerFontWeight
2272
- };
2273
- }, "containerFont"),
2274
- external_containerFont: /* @__PURE__ */ __name(function() {
2275
- return {
2276
- fontFamily: this.external_containerFontFamily,
2277
- fontSize: this.external_containerFontSize,
2278
- fontWeight: this.external_containerFontWeight
2279
- };
2280
- }, "external_containerFont"),
2281
- container_dbFont: /* @__PURE__ */ __name(function() {
2282
- return {
2283
- fontFamily: this.container_dbFontFamily,
2284
- fontSize: this.container_dbFontSize,
2285
- fontWeight: this.container_dbFontWeight
2286
- };
2287
- }, "container_dbFont"),
2288
- external_container_dbFont: /* @__PURE__ */ __name(function() {
2289
- return {
2290
- fontFamily: this.external_container_dbFontFamily,
2291
- fontSize: this.external_container_dbFontSize,
2292
- fontWeight: this.external_container_dbFontWeight
2293
- };
2294
- }, "external_container_dbFont"),
2295
- container_queueFont: /* @__PURE__ */ __name(function() {
2296
- return {
2297
- fontFamily: this.container_queueFontFamily,
2298
- fontSize: this.container_queueFontSize,
2299
- fontWeight: this.container_queueFontWeight
2300
- };
2301
- }, "container_queueFont"),
2302
- external_container_queueFont: /* @__PURE__ */ __name(function() {
2303
- return {
2304
- fontFamily: this.external_container_queueFontFamily,
2305
- fontSize: this.external_container_queueFontSize,
2306
- fontWeight: this.external_container_queueFontWeight
2307
- };
2308
- }, "external_container_queueFont"),
2309
- componentFont: /* @__PURE__ */ __name(function() {
2310
- return {
2311
- fontFamily: this.componentFontFamily,
2312
- fontSize: this.componentFontSize,
2313
- fontWeight: this.componentFontWeight
2314
- };
2315
- }, "componentFont"),
2316
- external_componentFont: /* @__PURE__ */ __name(function() {
2317
- return {
2318
- fontFamily: this.external_componentFontFamily,
2319
- fontSize: this.external_componentFontSize,
2320
- fontWeight: this.external_componentFontWeight
2321
- };
2322
- }, "external_componentFont"),
2323
- component_dbFont: /* @__PURE__ */ __name(function() {
2324
- return {
2325
- fontFamily: this.component_dbFontFamily,
2326
- fontSize: this.component_dbFontSize,
2327
- fontWeight: this.component_dbFontWeight
2328
- };
2329
- }, "component_dbFont"),
2330
- external_component_dbFont: /* @__PURE__ */ __name(function() {
2331
- return {
2332
- fontFamily: this.external_component_dbFontFamily,
2333
- fontSize: this.external_component_dbFontSize,
2334
- fontWeight: this.external_component_dbFontWeight
2335
- };
2336
- }, "external_component_dbFont"),
2337
- component_queueFont: /* @__PURE__ */ __name(function() {
2338
- return {
2339
- fontFamily: this.component_queueFontFamily,
2340
- fontSize: this.component_queueFontSize,
2341
- fontWeight: this.component_queueFontWeight
2342
- };
2343
- }, "component_queueFont"),
2344
- external_component_queueFont: /* @__PURE__ */ __name(function() {
2345
- return {
2346
- fontFamily: this.external_component_queueFontFamily,
2347
- fontSize: this.external_component_queueFontSize,
2348
- fontWeight: this.external_component_queueFontWeight
2349
- };
2350
- }, "external_component_queueFont"),
2351
- boundaryFont: /* @__PURE__ */ __name(function() {
2352
- return {
2353
- fontFamily: this.boundaryFontFamily,
2354
- fontSize: this.boundaryFontSize,
2355
- fontWeight: this.boundaryFontWeight
2356
- };
2357
- }, "boundaryFont"),
2358
- messageFont: /* @__PURE__ */ __name(function() {
2359
- return {
2360
- fontFamily: this.messageFontFamily,
2361
- fontSize: this.messageFontSize,
2362
- fontWeight: this.messageFontWeight
2363
- };
2364
- }, "messageFont")
2365
- },
2366
- pie: {
2367
- ...config_schema_default.pie,
2368
- useWidth: 984
2369
- },
2370
- xyChart: {
2371
- ...config_schema_default.xyChart,
2372
- useWidth: void 0
2373
- },
2374
- requirement: {
2375
- ...config_schema_default.requirement,
2376
- useWidth: void 0
2377
- },
2378
- packet: {
2379
- ...config_schema_default.packet
2380
- },
2381
- radar: {
2382
- ...config_schema_default.radar
2383
- },
2384
- treemap: {
2385
- useMaxWidth: true,
2386
- padding: 10,
2387
- diagramPadding: 8,
2388
- showValues: true,
2389
- nodeWidth: 100,
2390
- nodeHeight: 40,
2391
- borderWidth: 1,
2392
- valueFontSize: 12,
2393
- labelFontSize: 14,
2394
- valueFormat: ","
2395
- }
2396
- };
2397
- var keyify = /* @__PURE__ */ __name((obj, prefix = "") => Object.keys(obj).reduce((res, el) => {
2398
- if (Array.isArray(obj[el])) {
2399
- return res;
2400
- } else if (typeof obj[el] === "object" && obj[el] !== null) {
2401
- return [...res, prefix + el, ...keyify(obj[el], "")];
2402
- }
2403
- return [...res, prefix + el];
2404
- }, []), "keyify");
2405
- var configKeys = new Set(keyify(config, ""));
2406
- var defaultConfig_default = config;
2407
-
2408
- // src/utils/sanitizeDirective.ts
2409
- var sanitizeDirective = /* @__PURE__ */ __name((args) => {
2410
- log.debug("sanitizeDirective called with", args);
2411
- if (typeof args !== "object" || args == null) {
2412
- return;
2413
- }
2414
- if (Array.isArray(args)) {
2415
- args.forEach((arg) => sanitizeDirective(arg));
2416
- return;
2417
- }
2418
- for (const key of Object.keys(args)) {
2419
- log.debug("Checking key", key);
2420
- if (key.startsWith("__") || key.includes("proto") || key.includes("constr") || !configKeys.has(key) || args[key] == null) {
2421
- log.debug("sanitize deleting key: ", key);
2422
- delete args[key];
2423
- continue;
2424
- }
2425
- if (typeof args[key] === "object") {
2426
- log.debug("sanitizing object", key);
2427
- sanitizeDirective(args[key]);
2428
- continue;
2429
- }
2430
- const cssMatchers = ["themeCSS", "fontFamily", "altFontFamily"];
2431
- for (const cssKey of cssMatchers) {
2432
- if (key.includes(cssKey)) {
2433
- log.debug("sanitizing css option", key);
2434
- args[key] = sanitizeCss(args[key]);
2435
- }
2436
- }
2437
- }
2438
- if (args.themeVariables) {
2439
- for (const k of Object.keys(args.themeVariables)) {
2440
- const val = args.themeVariables[k];
2441
- if (val?.match && !val.match(/^[\d "#%(),.;A-Za-z]+$/)) {
2442
- args.themeVariables[k] = "";
2443
- }
2444
- }
2445
- }
2446
- log.debug("After sanitization", args);
2447
- }, "sanitizeDirective");
2448
- var sanitizeCss = /* @__PURE__ */ __name((str) => {
2449
- let startCnt = 0;
2450
- let endCnt = 0;
2451
- for (const element of str) {
2452
- if (startCnt < endCnt) {
2453
- return "{ /* ERROR: Unbalanced CSS */ }";
2454
- }
2455
- if (element === "{") {
2456
- startCnt++;
2457
- } else if (element === "}") {
2458
- endCnt++;
2459
- }
2460
- }
2461
- if (startCnt !== endCnt) {
2462
- return "{ /* ERROR: Unbalanced CSS */ }";
2463
- }
2464
- return str;
2465
- }, "sanitizeCss");
2466
-
2467
- // src/config.ts
2468
- var defaultConfig = Object.freeze(defaultConfig_default);
2469
- var siteConfig = assignWithDepth_default({}, defaultConfig);
2470
- var configFromInitialize;
2471
- var directives = [];
2472
- var currentConfig = assignWithDepth_default({}, defaultConfig);
2473
- var updateCurrentConfig = /* @__PURE__ */ __name((siteCfg, _directives) => {
2474
- let cfg = assignWithDepth_default({}, siteCfg);
2475
- let sumOfDirectives = {};
2476
- for (const d of _directives) {
2477
- sanitize(d);
2478
- sumOfDirectives = assignWithDepth_default(sumOfDirectives, d);
2479
- }
2480
- cfg = assignWithDepth_default(cfg, sumOfDirectives);
2481
- if (sumOfDirectives.theme && sumOfDirectives.theme in themes_default) {
2482
- const tmpConfigFromInitialize = assignWithDepth_default({}, configFromInitialize);
2483
- const themeVariables = assignWithDepth_default(
2484
- tmpConfigFromInitialize.themeVariables || {},
2485
- sumOfDirectives.themeVariables
2486
- );
2487
- if (cfg.theme && cfg.theme in themes_default) {
2488
- cfg.themeVariables = themes_default[cfg.theme].getThemeVariables(themeVariables);
2489
- }
2490
- }
2491
- currentConfig = cfg;
2492
- checkConfig(currentConfig);
2493
- return currentConfig;
2494
- }, "updateCurrentConfig");
2495
- var setSiteConfig = /* @__PURE__ */ __name((conf) => {
2496
- siteConfig = assignWithDepth_default({}, defaultConfig);
2497
- siteConfig = assignWithDepth_default(siteConfig, conf);
2498
- if (conf.theme && themes_default[conf.theme]) {
2499
- siteConfig.themeVariables = themes_default[conf.theme].getThemeVariables(conf.themeVariables);
2500
- }
2501
- updateCurrentConfig(siteConfig, directives);
2502
- return siteConfig;
2503
- }, "setSiteConfig");
2504
- var saveConfigFromInitialize = /* @__PURE__ */ __name((conf) => {
2505
- configFromInitialize = assignWithDepth_default({}, conf);
2506
- }, "saveConfigFromInitialize");
2507
- var updateSiteConfig = /* @__PURE__ */ __name((conf) => {
2508
- siteConfig = assignWithDepth_default(siteConfig, conf);
2509
- updateCurrentConfig(siteConfig, directives);
2510
- return siteConfig;
2511
- }, "updateSiteConfig");
2512
- var getSiteConfig = /* @__PURE__ */ __name(() => {
2513
- return assignWithDepth_default({}, siteConfig);
2514
- }, "getSiteConfig");
2515
- var setConfig = /* @__PURE__ */ __name((conf) => {
2516
- checkConfig(conf);
2517
- assignWithDepth_default(currentConfig, conf);
2518
- return getConfig();
2519
- }, "setConfig");
2520
- var getConfig = /* @__PURE__ */ __name(() => {
2521
- return assignWithDepth_default({}, currentConfig);
2522
- }, "getConfig");
2523
- var sanitize = /* @__PURE__ */ __name((options) => {
2524
- if (!options) {
2525
- return;
2526
- }
2527
- ["secure", ...siteConfig.secure ?? []].forEach((key) => {
2528
- if (Object.hasOwn(options, key)) {
2529
- log.debug(`Denied attempt to modify a secure key ${key}`, options[key]);
2530
- delete options[key];
2531
- }
2532
- });
2533
- Object.keys(options).forEach((key) => {
2534
- if (key.startsWith("__")) {
2535
- delete options[key];
2536
- }
2537
- });
2538
- Object.keys(options).forEach((key) => {
2539
- if (typeof options[key] === "string" && (options[key].includes("<") || options[key].includes(">") || options[key].includes("url(data:"))) {
2540
- delete options[key];
2541
- }
2542
- if (typeof options[key] === "object") {
2543
- sanitize(options[key]);
2544
- }
2545
- });
2546
- }, "sanitize");
2547
- var addDirective = /* @__PURE__ */ __name((directive) => {
2548
- sanitizeDirective(directive);
2549
- if (directive.fontFamily && !directive.themeVariables?.fontFamily) {
2550
- directive.themeVariables = {
2551
- ...directive.themeVariables,
2552
- fontFamily: directive.fontFamily
2553
- };
2554
- }
2555
- directives.push(directive);
2556
- updateCurrentConfig(siteConfig, directives);
2557
- }, "addDirective");
2558
- var reset = /* @__PURE__ */ __name((config2 = siteConfig) => {
2559
- directives = [];
2560
- updateCurrentConfig(config2, directives);
2561
- }, "reset");
2562
- var ConfigWarning = {
2563
- LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."
2564
- };
2565
- var issuedWarnings = {};
2566
- var issueWarning = /* @__PURE__ */ __name((warning) => {
2567
- if (issuedWarnings[warning]) {
2568
- return;
2569
- }
2570
- log.warn(ConfigWarning[warning]);
2571
- issuedWarnings[warning] = true;
2572
- }, "issueWarning");
2573
- var checkConfig = /* @__PURE__ */ __name((config2) => {
2574
- if (!config2) {
2575
- return;
2576
- }
2577
- if (config2.lazyLoadedDiagrams || config2.loadExternalDiagramsAtStartup) {
2578
- issueWarning("LAZY_LOAD_DEPRECATED");
2579
- }
2580
- }, "checkConfig");
2581
- var getUserDefinedConfig = /* @__PURE__ */ __name(() => {
2582
- let userConfig = {};
2583
- if (configFromInitialize) {
2584
- userConfig = assignWithDepth_default(userConfig, configFromInitialize);
2585
- }
2586
- for (const d of directives) {
2587
- userConfig = assignWithDepth_default(userConfig, d);
2588
- }
2589
- return userConfig;
2590
- }, "getUserDefinedConfig");
2591
- var lineBreakRegex = /<br\s*\/?>/gi;
2592
- var getRows = /* @__PURE__ */ __name((s) => {
2593
- if (!s) {
2594
- return [""];
2595
- }
2596
- const str = breakToPlaceholder(s).replace(/\\n/g, "#br#");
2597
- return str.split("#br#");
2598
- }, "getRows");
2599
- var setupDompurifyHooksIfNotSetup = /* @__PURE__ */ (() => {
2600
- let setup = false;
2601
- return () => {
2602
- if (!setup) {
2603
- setupDompurifyHooks();
2604
- setup = true;
2605
- }
2606
- };
2607
- })();
2608
- function setupDompurifyHooks() {
2609
- const TEMPORARY_ATTRIBUTE = "data-temp-href-target";
2610
- purify.addHook("beforeSanitizeAttributes", (node) => {
2611
- if (node.tagName === "A" && node.hasAttribute("target")) {
2612
- node.setAttribute(TEMPORARY_ATTRIBUTE, node.getAttribute("target") ?? "");
2613
- }
2614
- });
2615
- purify.addHook("afterSanitizeAttributes", (node) => {
2616
- if (node.tagName === "A" && node.hasAttribute(TEMPORARY_ATTRIBUTE)) {
2617
- node.setAttribute("target", node.getAttribute(TEMPORARY_ATTRIBUTE) ?? "");
2618
- node.removeAttribute(TEMPORARY_ATTRIBUTE);
2619
- if (node.getAttribute("target") === "_blank") {
2620
- node.setAttribute("rel", "noopener");
2621
- }
2622
- }
2623
- });
2624
- }
2625
- __name(setupDompurifyHooks, "setupDompurifyHooks");
2626
- var removeScript = /* @__PURE__ */ __name((txt) => {
2627
- setupDompurifyHooksIfNotSetup();
2628
- const sanitizedText = purify.sanitize(txt);
2629
- return sanitizedText;
2630
- }, "removeScript");
2631
- var sanitizeMore = /* @__PURE__ */ __name((text, config2) => {
2632
- if (config2.flowchart?.htmlLabels !== false) {
2633
- const level = config2.securityLevel;
2634
- if (level === "antiscript" || level === "strict") {
2635
- text = removeScript(text);
2636
- } else if (level !== "loose") {
2637
- text = breakToPlaceholder(text);
2638
- text = text.replace(/</g, "&lt;").replace(/>/g, "&gt;");
2639
- text = text.replace(/=/g, "&equals;");
2640
- text = placeholderToBreak(text);
2641
- }
2642
- }
2643
- return text;
2644
- }, "sanitizeMore");
2645
- var sanitizeText = /* @__PURE__ */ __name((text, config2) => {
2646
- if (!text) {
2647
- return text;
2648
- }
2649
- if (config2.dompurifyConfig) {
2650
- text = purify.sanitize(sanitizeMore(text, config2), config2.dompurifyConfig).toString();
2651
- } else {
2652
- text = purify.sanitize(sanitizeMore(text, config2), {
2653
- FORBID_TAGS: ["style"]
2654
- }).toString();
2655
- }
2656
- return text;
2657
- }, "sanitizeText");
2658
- var sanitizeTextOrArray = /* @__PURE__ */ __name((a, config2) => {
2659
- if (typeof a === "string") {
2660
- return sanitizeText(a, config2);
2661
- }
2662
- return a.flat().map((x) => sanitizeText(x, config2));
2663
- }, "sanitizeTextOrArray");
2664
- var hasBreaks = /* @__PURE__ */ __name((text) => {
2665
- return lineBreakRegex.test(text);
2666
- }, "hasBreaks");
2667
- var splitBreaks = /* @__PURE__ */ __name((text) => {
2668
- return text.split(lineBreakRegex);
2669
- }, "splitBreaks");
2670
- var placeholderToBreak = /* @__PURE__ */ __name((s) => {
2671
- return s.replace(/#br#/g, "<br/>");
2672
- }, "placeholderToBreak");
2673
- var breakToPlaceholder = /* @__PURE__ */ __name((s) => {
2674
- return s.replace(lineBreakRegex, "#br#");
2675
- }, "breakToPlaceholder");
2676
- var getUrl = /* @__PURE__ */ __name((useAbsolute) => {
2677
- let url = "";
2678
- if (useAbsolute) {
2679
- url = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search;
2680
- url = CSS.escape(url);
2681
- }
2682
- return url;
2683
- }, "getUrl");
2684
- var evaluate = /* @__PURE__ */ __name((val) => val === false || ["false", "null", "0"].includes(String(val).trim().toLowerCase()) ? false : true, "evaluate");
2685
- var getMax = /* @__PURE__ */ __name(function(...values) {
2686
- const newValues = values.filter((value) => {
2687
- return !isNaN(value);
2688
- });
2689
- return Math.max(...newValues);
2690
- }, "getMax");
2691
- var getMin = /* @__PURE__ */ __name(function(...values) {
2692
- const newValues = values.filter((value) => {
2693
- return !isNaN(value);
2694
- });
2695
- return Math.min(...newValues);
2696
- }, "getMin");
2697
- var parseGenericTypes = /* @__PURE__ */ __name(function(input) {
2698
- const inputSets = input.split(/(,)/);
2699
- const output = [];
2700
- for (let i = 0; i < inputSets.length; i++) {
2701
- let thisSet = inputSets[i];
2702
- if (thisSet === "," && i > 0 && i + 1 < inputSets.length) {
2703
- const previousSet = inputSets[i - 1];
2704
- const nextSet = inputSets[i + 1];
2705
- if (shouldCombineSets(previousSet, nextSet)) {
2706
- thisSet = previousSet + "," + nextSet;
2707
- i++;
2708
- output.pop();
2709
- }
2710
- }
2711
- output.push(processSet(thisSet));
2712
- }
2713
- return output.join("");
2714
- }, "parseGenericTypes");
2715
- var countOccurrence = /* @__PURE__ */ __name((string, substring) => {
2716
- return Math.max(0, string.split(substring).length - 1);
2717
- }, "countOccurrence");
2718
- var shouldCombineSets = /* @__PURE__ */ __name((previousSet, nextSet) => {
2719
- const prevCount = countOccurrence(previousSet, "~");
2720
- const nextCount = countOccurrence(nextSet, "~");
2721
- return prevCount === 1 && nextCount === 1;
2722
- }, "shouldCombineSets");
2723
- var processSet = /* @__PURE__ */ __name((input) => {
2724
- const tildeCount = countOccurrence(input, "~");
2725
- let hasStartingTilde = false;
2726
- if (tildeCount <= 1) {
2727
- return input;
2728
- }
2729
- if (tildeCount % 2 !== 0 && input.startsWith("~")) {
2730
- input = input.substring(1);
2731
- hasStartingTilde = true;
2732
- }
2733
- const chars = [...input];
2734
- let first = chars.indexOf("~");
2735
- let last = chars.lastIndexOf("~");
2736
- while (first !== -1 && last !== -1 && first !== last) {
2737
- chars[first] = "<";
2738
- chars[last] = ">";
2739
- first = chars.indexOf("~");
2740
- last = chars.lastIndexOf("~");
2741
- }
2742
- if (hasStartingTilde) {
2743
- chars.unshift("~");
2744
- }
2745
- return chars.join("");
2746
- }, "processSet");
2747
- var isMathMLSupported = /* @__PURE__ */ __name(() => window.MathMLElement !== void 0, "isMathMLSupported");
2748
- var katexRegex = /\$\$(.*)\$\$/g;
2749
- var hasKatex = /* @__PURE__ */ __name((text) => (text.match(katexRegex)?.length ?? 0) > 0, "hasKatex");
2750
- var calculateMathMLDimensions = /* @__PURE__ */ __name(async (text, config2) => {
2751
- const divElem = document.createElement("div");
2752
- divElem.innerHTML = await renderKatexSanitized(text, config2);
2753
- divElem.id = "katex-temp";
2754
- divElem.style.visibility = "hidden";
2755
- divElem.style.position = "absolute";
2756
- divElem.style.top = "0";
2757
- const body = document.querySelector("body");
2758
- body?.insertAdjacentElement("beforeend", divElem);
2759
- const dim = { width: divElem.clientWidth, height: divElem.clientHeight };
2760
- divElem.remove();
2761
- return dim;
2762
- }, "calculateMathMLDimensions");
2763
- var renderKatexUnsanitized = /* @__PURE__ */ __name(async (text, config2) => {
2764
- if (!hasKatex(text)) {
2765
- return text;
2766
- }
2767
- if (!(isMathMLSupported() || config2.legacyMathML || config2.forceLegacyMathML)) {
2768
- return text.replace(katexRegex, "MathML is unsupported in this environment.");
2769
- }
2770
- {
2771
- const { default: katex } = await import('../../../../../../katex@0.16.33/node_modules/katex/dist/katex.mjs');
2772
- const outputMode = config2.forceLegacyMathML || !isMathMLSupported() && config2.legacyMathML ? "htmlAndMathml" : "mathml";
2773
- return text.split(lineBreakRegex).map(
2774
- (line) => hasKatex(line) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${line}</div>` : `<div>${line}</div>`
2775
- ).join("").replace(
2776
- katexRegex,
2777
- (_, c) => katex.renderToString(c, {
2778
- throwOnError: true,
2779
- displayMode: true,
2780
- output: outputMode
2781
- }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, "")
2782
- );
2783
- }
2784
- }, "renderKatexUnsanitized");
2785
- var renderKatexSanitized = /* @__PURE__ */ __name(async (text, config2) => {
2786
- return sanitizeText(await renderKatexUnsanitized(text, config2), config2);
2787
- }, "renderKatexSanitized");
2788
- var common_default = {
2789
- getRows,
2790
- sanitizeText,
2791
- sanitizeTextOrArray,
2792
- hasBreaks,
2793
- splitBreaks,
2794
- lineBreakRegex,
2795
- removeScript,
2796
- getUrl,
2797
- evaluate,
2798
- getMax,
2799
- getMin
2800
- };
2801
-
2802
- // src/setupGraphViewbox.js
2803
- var d3Attrs = /* @__PURE__ */ __name(function(d3Elem, attrs) {
2804
- for (let attr of attrs) {
2805
- d3Elem.attr(attr[0], attr[1]);
2806
- }
2807
- }, "d3Attrs");
2808
- var calculateSvgSizeAttrs = /* @__PURE__ */ __name(function(height, width, useMaxWidth) {
2809
- let attrs = /* @__PURE__ */ new Map();
2810
- if (useMaxWidth) {
2811
- attrs.set("width", "100%");
2812
- attrs.set("style", `max-width: ${width}px;`);
2813
- } else {
2814
- attrs.set("height", height);
2815
- attrs.set("width", width);
2816
- }
2817
- return attrs;
2818
- }, "calculateSvgSizeAttrs");
2819
- var configureSvgSize = /* @__PURE__ */ __name(function(svgElem, height, width, useMaxWidth) {
2820
- const attrs = calculateSvgSizeAttrs(height, width, useMaxWidth);
2821
- d3Attrs(svgElem, attrs);
2822
- }, "configureSvgSize");
2823
- var setupGraphViewbox = /* @__PURE__ */ __name(function(graph, svgElem, padding, useMaxWidth) {
2824
- const svgBounds = svgElem.node().getBBox();
2825
- const sWidth = svgBounds.width;
2826
- const sHeight = svgBounds.height;
2827
- log.info(`SVG bounds: ${sWidth}x${sHeight}`, svgBounds);
2828
- let width = 0;
2829
- let height = 0;
2830
- log.info(`Graph bounds: ${width}x${height}`, graph);
2831
- width = sWidth + padding * 2;
2832
- height = sHeight + padding * 2;
2833
- log.info(`Calculated bounds: ${width}x${height}`);
2834
- configureSvgSize(svgElem, height, width, useMaxWidth);
2835
- const vBox = `${svgBounds.x - padding} ${svgBounds.y - padding} ${svgBounds.width + 2 * padding} ${svgBounds.height + 2 * padding}`;
2836
- svgElem.attr("viewBox", vBox);
2837
- }, "setupGraphViewbox");
2838
-
2839
- // src/styles.ts
2840
- var themes = {};
2841
- var getStyles = /* @__PURE__ */ __name((type, userStyles, options) => {
2842
- let diagramStyles = "";
2843
- if (type in themes && themes[type]) {
2844
- diagramStyles = themes[type](options);
2845
- } else {
2846
- log.warn(`No theme found for ${type}`);
2847
- }
2848
- return ` & {
2849
- font-family: ${options.fontFamily};
2850
- font-size: ${options.fontSize};
2851
- fill: ${options.textColor}
2852
- }
2853
- @keyframes edge-animation-frame {
2854
- from {
2855
- stroke-dashoffset: 0;
2856
- }
2857
- }
2858
- @keyframes dash {
2859
- to {
2860
- stroke-dashoffset: 0;
2861
- }
2862
- }
2863
- & .edge-animation-slow {
2864
- stroke-dasharray: 9,5 !important;
2865
- stroke-dashoffset: 900;
2866
- animation: dash 50s linear infinite;
2867
- stroke-linecap: round;
2868
- }
2869
- & .edge-animation-fast {
2870
- stroke-dasharray: 9,5 !important;
2871
- stroke-dashoffset: 900;
2872
- animation: dash 20s linear infinite;
2873
- stroke-linecap: round;
2874
- }
2875
- /* Classes common for multiple diagrams */
2876
-
2877
- & .error-icon {
2878
- fill: ${options.errorBkgColor};
2879
- }
2880
- & .error-text {
2881
- fill: ${options.errorTextColor};
2882
- stroke: ${options.errorTextColor};
2883
- }
2884
-
2885
- & .edge-thickness-normal {
2886
- stroke-width: 1px;
2887
- }
2888
- & .edge-thickness-thick {
2889
- stroke-width: 3.5px
2890
- }
2891
- & .edge-pattern-solid {
2892
- stroke-dasharray: 0;
2893
- }
2894
- & .edge-thickness-invisible {
2895
- stroke-width: 0;
2896
- fill: none;
2897
- }
2898
- & .edge-pattern-dashed{
2899
- stroke-dasharray: 3;
2900
- }
2901
- .edge-pattern-dotted {
2902
- stroke-dasharray: 2;
2903
- }
2904
-
2905
- & .marker {
2906
- fill: ${options.lineColor};
2907
- stroke: ${options.lineColor};
2908
- }
2909
- & .marker.cross {
2910
- stroke: ${options.lineColor};
2911
- }
2912
-
2913
- & svg {
2914
- font-family: ${options.fontFamily};
2915
- font-size: ${options.fontSize};
2916
- }
2917
- & p {
2918
- margin: 0
2919
- }
2920
-
2921
- ${diagramStyles}
2922
-
2923
- ${userStyles}
2924
- `;
2925
- }, "getStyles");
2926
- var addStylesForDiagram = /* @__PURE__ */ __name((type, diagramTheme) => {
2927
- if (diagramTheme !== void 0) {
2928
- themes[type] = diagramTheme;
2929
- }
2930
- }, "addStylesForDiagram");
2931
- var styles_default = getStyles;
2932
-
2933
- // src/diagrams/common/commonDb.ts
2934
- var commonDb_exports = {};
2935
- __export(commonDb_exports, {
2936
- clear: () => clear,
2937
- getAccDescription: () => getAccDescription,
2938
- getAccTitle: () => getAccTitle,
2939
- getDiagramTitle: () => getDiagramTitle,
2940
- setAccDescription: () => setAccDescription,
2941
- setAccTitle: () => setAccTitle,
2942
- setDiagramTitle: () => setDiagramTitle
2943
- });
2944
- var accTitle = "";
2945
- var diagramTitle = "";
2946
- var accDescription = "";
2947
- var sanitizeText2 = /* @__PURE__ */ __name((txt) => sanitizeText(txt, getConfig()), "sanitizeText");
2948
- var clear = /* @__PURE__ */ __name(() => {
2949
- accTitle = "";
2950
- accDescription = "";
2951
- diagramTitle = "";
2952
- }, "clear");
2953
- var setAccTitle = /* @__PURE__ */ __name((txt) => {
2954
- accTitle = sanitizeText2(txt).replace(/^\s+/g, "");
2955
- }, "setAccTitle");
2956
- var getAccTitle = /* @__PURE__ */ __name(() => accTitle, "getAccTitle");
2957
- var setAccDescription = /* @__PURE__ */ __name((txt) => {
2958
- accDescription = sanitizeText2(txt).replace(/\n\s+/g, "\n");
2959
- }, "setAccDescription");
2960
- var getAccDescription = /* @__PURE__ */ __name(() => accDescription, "getAccDescription");
2961
- var setDiagramTitle = /* @__PURE__ */ __name((txt) => {
2962
- diagramTitle = sanitizeText2(txt);
2963
- }, "setDiagramTitle");
2964
- var getDiagramTitle = /* @__PURE__ */ __name(() => diagramTitle, "getDiagramTitle");
2965
-
2966
- // src/diagram-api/diagramAPI.ts
2967
- var log2 = log;
2968
- var setLogLevel2 = setLogLevel;
2969
- var getConfig2 = getConfig;
2970
- var setConfig2 = setConfig;
2971
- var defaultConfig2 = defaultConfig;
2972
- var sanitizeText3 = /* @__PURE__ */ __name((text) => sanitizeText(text, getConfig2()), "sanitizeText");
2973
- var setupGraphViewbox2 = setupGraphViewbox;
2974
- var getCommonDb = /* @__PURE__ */ __name(() => {
2975
- return commonDb_exports;
2976
- }, "getCommonDb");
2977
- var diagrams = {};
2978
- var registerDiagram = /* @__PURE__ */ __name((id, diagram, detector) => {
2979
- if (diagrams[id]) {
2980
- log2.warn(`Diagram with id ${id} already registered. Overwriting.`);
2981
- }
2982
- diagrams[id] = diagram;
2983
- if (detector) {
2984
- addDetector(id, detector);
2985
- }
2986
- addStylesForDiagram(id, diagram.styles);
2987
- diagram.injectUtils?.(
2988
- log2,
2989
- setLogLevel2,
2990
- getConfig2,
2991
- sanitizeText3,
2992
- setupGraphViewbox2,
2993
- getCommonDb(),
2994
- () => {
2995
- }
2996
- );
2997
- }, "registerDiagram");
2998
- var getDiagram = /* @__PURE__ */ __name((name) => {
2999
- if (name in diagrams) {
3000
- return diagrams[name];
3001
- }
3002
- throw new DiagramNotFoundError(name);
3003
- }, "getDiagram");
3004
- var DiagramNotFoundError = class extends Error {
3005
- static {
3006
- __name(this, "DiagramNotFoundError");
3007
- }
3008
- constructor(name) {
3009
- super(`Diagram ${name} not found.`);
3010
- }
3011
- };
3012
-
3013
- export { UnknownDiagramError, addDirective, assignWithDepth_default, calculateMathMLDimensions, clear, commonDb_exports, common_default, configureSvgSize, defaultConfig, defaultConfig2, defaultConfig_default, detectType, detectors, directiveRegex, evaluate, frontMatterRegex, getAccDescription, getAccTitle, getConfig, getConfig2, getDiagram, getDiagramLoader, getDiagramTitle, getSiteConfig, getThemeVariables3 as getThemeVariables, getUrl, getUserDefinedConfig, hasKatex, lineBreakRegex, parseGenericTypes, registerDiagram, registerLazyLoadedDiagrams, renderKatexSanitized, reset, sanitizeDirective, sanitizeText, sanitizeText3 as sanitizeText2, saveConfigFromInitialize, setAccDescription, setAccTitle, setConfig, setConfig2, setDiagramTitle, setSiteConfig, setupGraphViewbox, setupGraphViewbox2, styles_default, themes_default, updateSiteConfig };