netstar-ai-chat 1.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 (807) hide show
  1. package/README.md +112 -0
  2. package/dist/ChatPanel/AgentPicker.vue.d.ts +94 -0
  3. package/dist/ChatPanel/SubAgentNode.vue.d.ts +23 -0
  4. package/dist/ChatPanel/ToolCallNode.vue.d.ts +33 -0
  5. package/dist/ChatPanel/ToolRenders/SaveModuleDocsRenderer.vue.d.ts +33 -0
  6. package/dist/ChatPanel/ToolRenders/defaultToolRenderers.d.ts +4 -0
  7. package/dist/ChatPanel/WriteTodosTopPanel.vue.d.ts +20 -0
  8. package/dist/ChatPanel/index.vue.d.ts +117 -0
  9. package/dist/CodeBlockNode-CTasgSPs.cjs +1 -0
  10. package/dist/CodeBlockNode-DuMNoiwD.js +1245 -0
  11. package/dist/Serializer-CXJ0fE5z.js +249 -0
  12. package/dist/Serializer-fgUokho9.cjs +1 -0
  13. package/dist/StreamMarkdown/StreamMarkdown.vue.d.ts +29 -0
  14. package/dist/StreamMarkdown/components/CodeBlockNode.vue.d.ts +13 -0
  15. package/dist/StreamMarkdown/components/ThinkNode.vue.d.ts +20 -0
  16. package/dist/StreamMarkdown/components/copyToClipboard.d.ts +5 -0
  17. package/dist/StreamMarkdown/type.d.ts +9 -0
  18. package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-ConVUPun.cjs +1 -0
  19. package/dist/__vite-optional-peer-dep_stream-monaco_markstream-vue-yxSn8jeO.js +5 -0
  20. package/dist/_baseClone-D3YkUt7B.cjs +1 -0
  21. package/dist/_baseClone-M9Eo-ngy.js +228 -0
  22. package/dist/abap-pyAsOErv.cjs +1 -0
  23. package/dist/abap-w3onj0rB.js +3 -0
  24. package/dist/abnfDiagram-VRR7QNED-BZIwESBc.js +89 -0
  25. package/dist/abnfDiagram-VRR7QNED-CbMhyWtU.cjs +1 -0
  26. package/dist/actionscript-3-BOqnK-sH.js +3 -0
  27. package/dist/actionscript-3-CzNUYu3T.cjs +1 -0
  28. package/dist/ada-BLw2DNCr.cjs +1 -0
  29. package/dist/ada-ZOYhNhP6.js +3 -0
  30. package/dist/andromeeda-BK7KK1TI.cjs +1 -0
  31. package/dist/andromeeda-D6zxFn77.js +4 -0
  32. package/dist/angular-html-CM15CIR-.js +16 -0
  33. package/dist/angular-html-CtqN3w77.cjs +1 -0
  34. package/dist/angular-ts-BZbyXOyX.cjs +1 -0
  35. package/dist/angular-ts-D_WjBMhi.js +18 -0
  36. package/dist/apache-DdGV2gIX.cjs +1 -0
  37. package/dist/apache-rcSYX-LI.js +3 -0
  38. package/dist/apex-BQsSAFNB.cjs +1 -0
  39. package/dist/apex-C-w0vHe4.js +3 -0
  40. package/dist/apl-CFUDRIMH.cjs +1 -0
  41. package/dist/apl-DEY32kA8.js +16 -0
  42. package/dist/applescript-BAJgLR5K.cjs +1 -0
  43. package/dist/applescript-BCUU8TOE.js +3 -0
  44. package/dist/ara-B4SncdQz.js +3 -0
  45. package/dist/ara-DSlRoA1z.cjs +1 -0
  46. package/dist/arc-BxwVc1OP.js +80 -0
  47. package/dist/arc-DcUn9_NX.cjs +1 -0
  48. package/dist/architecture-TIHT7OUA-BePVesqR.cjs +1 -0
  49. package/dist/architecture-TIHT7OUA-CdCN4XW2.js +3 -0
  50. package/dist/architectureDiagram-ZJ3FMSHR-DhyGcAG9.cjs +36 -0
  51. package/dist/architectureDiagram-ZJ3FMSHR-pJBnYWx2.js +4120 -0
  52. package/dist/array-CApNbSU9.js +6 -0
  53. package/dist/array-DZSRzHA_.cjs +1 -0
  54. package/dist/asciidoc-CSnR5M0p.cjs +1 -0
  55. package/dist/asciidoc-DZyZo06c.js +3 -0
  56. package/dist/asm-BmB_X3A_.js +3 -0
  57. package/dist/asm-zib-OSTh.cjs +1 -0
  58. package/dist/astro-BApYg9cK.cjs +1 -0
  59. package/dist/astro-Bk1s2QoB.js +16 -0
  60. package/dist/aurora-x-BF78MGx3.cjs +1 -0
  61. package/dist/aurora-x-Tc1Eqrl5.js +4 -0
  62. package/dist/awk-BYQNbw8p.cjs +1 -0
  63. package/dist/awk-C3bvZdNY.js +3 -0
  64. package/dist/ayu-dark-ClxspuCB.cjs +1 -0
  65. package/dist/ayu-dark-cVPWKu1C.js +4 -0
  66. package/dist/ballerina-BPk8Fg7E.cjs +1 -0
  67. package/dist/ballerina-Bp92mgFe.js +3 -0
  68. package/dist/bat-7FZ8F5O4.cjs +1 -0
  69. package/dist/bat-CXbg7Xg3.js +3 -0
  70. package/dist/beancount-DCtU0rYp.cjs +1 -0
  71. package/dist/beancount-DmmCjryt.js +3 -0
  72. package/dist/berry-D8ITycFg.cjs +1 -0
  73. package/dist/berry-DiFcr1nX.js +3 -0
  74. package/dist/bibtex-CmGvn0fl.js +3 -0
  75. package/dist/bibtex-YVvMHIoL.cjs +1 -0
  76. package/dist/bicep-DDIPSBse.cjs +1 -0
  77. package/dist/bicep-zPtP3CSU.js +3 -0
  78. package/dist/blade-aYJa4e4Z.js +18 -0
  79. package/dist/blade-s0X0QSRt.cjs +1 -0
  80. package/dist/blockDiagram-677ZJIJ3-BXsjcvEy.cjs +132 -0
  81. package/dist/blockDiagram-677ZJIJ3-DUfdZ59z.js +3160 -0
  82. package/dist/bsl-2e5sJ_f2.js +5 -0
  83. package/dist/bsl-Boo9Znnk.cjs +1 -0
  84. package/dist/c-CtSegEhe.cjs +1 -0
  85. package/dist/c-DOHa0HhF.js +5 -0
  86. package/dist/c4Diagram-LMCZKHZV-CupZJT9_.cjs +10 -0
  87. package/dist/c4Diagram-LMCZKHZV-XVBQkiBu.js +2962 -0
  88. package/dist/cadence-BdOzwJ16.cjs +1 -0
  89. package/dist/cadence-DKZt82SN.js +3 -0
  90. package/dist/cairo-D7N4wIlJ.js +5 -0
  91. package/dist/cairo-yxjWoJOX.cjs +1 -0
  92. package/dist/catppuccin-frappe-BgIo7C1L.js +4 -0
  93. package/dist/catppuccin-frappe-lMRSGXsq.cjs +1 -0
  94. package/dist/catppuccin-latte-DACltl2d.js +4 -0
  95. package/dist/catppuccin-latte-DvhQrqwX.cjs +1 -0
  96. package/dist/catppuccin-macchiato-D_87UlHU.js +4 -0
  97. package/dist/catppuccin-macchiato-SYJuf56p.cjs +1 -0
  98. package/dist/catppuccin-mocha-btILUzM9.js +4 -0
  99. package/dist/catppuccin-mocha-nV-o7gzF.cjs +1 -0
  100. package/dist/channel-B_58s50a.js +5 -0
  101. package/dist/channel-CftZUi3r.cjs +1 -0
  102. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  103. package/dist/chunk-2Q5K7J3B-CINvUK-A.js +15 -0
  104. package/dist/chunk-32BRIVSS-DUxAI9Oa.cjs +1 -0
  105. package/dist/chunk-32BRIVSS-O-rQI_k2.js +61 -0
  106. package/dist/chunk-52WLFC77-B-_tvcsL.js +590 -0
  107. package/dist/chunk-52WLFC77-SZUA2rNI.cjs +10 -0
  108. package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
  109. package/dist/chunk-5VM5RSS4-Dnx15xMv.js +5 -0
  110. package/dist/chunk-7BUUIJ7U-B018BbRy.js +82 -0
  111. package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
  112. package/dist/chunk-C7G6YPKG-D1CB1CXU.js +67 -0
  113. package/dist/chunk-C7G6YPKG-HH-he6SO.cjs +1 -0
  114. package/dist/chunk-EX3LRPZG-D0TH5Vrj.js +2046 -0
  115. package/dist/chunk-EX3LRPZG-DgwSD7VR.cjs +231 -0
  116. package/dist/chunk-FWX5IMBZ-CCaqRbxb.cjs +1 -0
  117. package/dist/chunk-FWX5IMBZ-c8mJHkIt.js +57 -0
  118. package/dist/chunk-HOUHSVGY-CqEBw5yz.cjs +1 -0
  119. package/dist/chunk-HOUHSVGY-D13Pk7nF.js +277 -0
  120. package/dist/chunk-ICXQ74PX-Bq9mKzdP.js +1369 -0
  121. package/dist/chunk-ICXQ74PX-TcRXMN1n.cjs +2 -0
  122. package/dist/chunk-JWPE2WC7-Ch0jmUXM.js +8 -0
  123. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  124. package/dist/chunk-KEIR6QF5-CNjhxe7N.cjs +161 -0
  125. package/dist/chunk-KEIR6QF5-yJg1YNda.js +21383 -0
  126. package/dist/chunk-MOJQB5TN-BOC0rggK.js +490 -0
  127. package/dist/chunk-MOJQB5TN-CSjPQYln.cjs +88 -0
  128. package/dist/chunk-OGEWGWER-BYjMhJGb.js +32 -0
  129. package/dist/chunk-OGEWGWER-Bzj7N4Ii.cjs +1 -0
  130. package/dist/chunk-PUDLZKDR-D18W-L-L.js +4142 -0
  131. package/dist/chunk-PUDLZKDR-JbFT5hiR.cjs +156 -0
  132. package/dist/chunk-Q4XR5HBZ-DATOcgxL.cjs +70 -0
  133. package/dist/chunk-Q4XR5HBZ-DwgV8nWo.js +1628 -0
  134. package/dist/chunk-RYQCIY6F-Budeukwp.cjs +1 -0
  135. package/dist/chunk-RYQCIY6F-CTIaeOkt.js +240 -0
  136. package/dist/chunk-V7JOEXUC-BYc3FcMK.js +3357 -0
  137. package/dist/chunk-V7JOEXUC-Wa1_qMKV.cjs +206 -0
  138. package/dist/chunk-VAUOI2AC-3AGHwQI8.cjs +1 -0
  139. package/dist/chunk-VAUOI2AC-D4COVrqB.js +10 -0
  140. package/dist/chunk-VR4S4FIN-BBKjPbG_.js +26 -0
  141. package/dist/chunk-VR4S4FIN-DXfCPsY8.cjs +1 -0
  142. package/dist/chunk-WYO6CB5R-DNtzmu_Z.cjs +127 -0
  143. package/dist/chunk-WYO6CB5R-DVUXWnvM.js +3736 -0
  144. package/dist/chunk-XXDRQBXY-DWq_A1Wb.js +9 -0
  145. package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
  146. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  147. package/dist/chunk-Y2CYZVJY-QdJ4V9rh.js +12 -0
  148. package/dist/chunk-ZGVPDNZ5-CYGK4FNM.js +3736 -0
  149. package/dist/chunk-ZGVPDNZ5-Ch-mMgcC.cjs +62 -0
  150. package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
  151. package/dist/chunk-ZIRB5QZD-DLqc5SfA.js +1146 -0
  152. package/dist/clarity-DnwH_oaR.js +3 -0
  153. package/dist/clarity-mvj5EDZ5.cjs +1 -0
  154. package/dist/classDiagram-OUVF2IWQ-BPcmQYGc.js +30 -0
  155. package/dist/classDiagram-OUVF2IWQ-CMJ1dZOd.cjs +1 -0
  156. package/dist/classDiagram-v2-EOCWNBFH-CMJ1dZOd.cjs +1 -0
  157. package/dist/classDiagram-v2-EOCWNBFH-C_A6LIqp.js +30 -0
  158. package/dist/clojure-C64DxiGB.cjs +1 -0
  159. package/dist/clojure-DQex2ThW.js +3 -0
  160. package/dist/cmake-BvNQeWu_.cjs +1 -0
  161. package/dist/cmake-C4lGF15i.js +3 -0
  162. package/dist/cobol-B6D1w50i.cjs +1 -0
  163. package/dist/cobol-f_8vDiHm.js +10 -0
  164. package/dist/codeowners-a_Z0p9_y.js +3 -0
  165. package/dist/codeowners-jShtr2Jw.cjs +1 -0
  166. package/dist/codeql-B0nK9JGf.js +3 -0
  167. package/dist/codeql-svt7Eror.cjs +1 -0
  168. package/dist/coffee-CIzsduL9.cjs +1 -0
  169. package/dist/coffee-D2SRpDoy.js +5 -0
  170. package/dist/common-lisp-BX8N9UvD.js +3 -0
  171. package/dist/common-lisp-Dd1YOGnK.cjs +1 -0
  172. package/dist/coq-B9dKr70z.cjs +1 -0
  173. package/dist/coq-CvkpvpO8.js +3 -0
  174. package/dist/cose-bilkent-JH36ORCC-DpRqLdKD.js +2251 -0
  175. package/dist/cose-bilkent-JH36ORCC-J0CMLAR2.cjs +1 -0
  176. package/dist/cpp-9IaFKtqm.cjs +1 -0
  177. package/dist/cpp-BWBwL8H2.js +19 -0
  178. package/dist/crystal-Bu5wFOgG.cjs +1 -0
  179. package/dist/crystal-DZ0RRcQB.js +18 -0
  180. package/dist/csharp-BSn8IIds.js +3 -0
  181. package/dist/csharp-DL064tVH.cjs +1 -0
  182. package/dist/css-CARKKeVZ.js +5 -0
  183. package/dist/css-Dedc30a-.cjs +1 -0
  184. package/dist/csv-CyUbk12o.js +3 -0
  185. package/dist/csv-yb5ne98b.cjs +1 -0
  186. package/dist/cue-BMD_ZKqV.js +3 -0
  187. package/dist/cue-BsqD5mfq.cjs +1 -0
  188. package/dist/cynefin-VYW2F7L2-D56X6uF-.js +3 -0
  189. package/dist/cynefin-VYW2F7L2-DfMKgfBn.cjs +1 -0
  190. package/dist/cynefinDiagram-TSTJHNR4-Ccm1ka2e.cjs +62 -0
  191. package/dist/cynefinDiagram-TSTJHNR4-LkTzYNHk.js +349 -0
  192. package/dist/cypher-CmLM-pVb.cjs +1 -0
  193. package/dist/cypher-MBxXk8fI.js +3 -0
  194. package/dist/cytoscape.esm-BJfLlyzE.cjs +321 -0
  195. package/dist/cytoscape.esm-CjrrPC2e.js +18151 -0
  196. package/dist/d-B1zD62h2.cjs +1 -0
  197. package/dist/d-Dr6f0t8l.js +3 -0
  198. package/dist/d2_markstream-vue-C462TwwW.js +5 -0
  199. package/dist/d2_markstream-vue-hk4WzRHI.cjs +1 -0
  200. package/dist/dagre-Cdkj1zk3.js +1603 -0
  201. package/dist/dagre-RL-7--pi.cjs +1 -0
  202. package/dist/dagre-VKFMJZFB-BTuSjqsN.js +326 -0
  203. package/dist/dagre-VKFMJZFB-D-LL1taY.cjs +4 -0
  204. package/dist/dark-plus-BiFR5lqb.js +4 -0
  205. package/dist/dark-plus-g9uFu8Uo.cjs +1 -0
  206. package/dist/dart-B-IpsYek.cjs +1 -0
  207. package/dist/dart-BKVVcZnx.js +3 -0
  208. package/dist/dax-DGyoV51j.cjs +1 -0
  209. package/dist/dax-julDJwHn.js +3 -0
  210. package/dist/defaultLocale-aSMWOJHq.js +201 -0
  211. package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
  212. package/dist/desktop-C7pIXmgL.cjs +1 -0
  213. package/dist/desktop-DN7gePkB.js +3 -0
  214. package/dist/diagram-FQU43EPY-DXRLbyr1.cjs +3 -0
  215. package/dist/diagram-FQU43EPY-Nd_0dBIp.js +432 -0
  216. package/dist/diagram-G47NLZAW-C6QidYrt.cjs +24 -0
  217. package/dist/diagram-G47NLZAW-DsbgcrAn.js +525 -0
  218. package/dist/diagram-NH7WQ7WH-BIir8UdD.cjs +24 -0
  219. package/dist/diagram-NH7WQ7WH-LBvy80o5.js +134 -0
  220. package/dist/diagram-OA4YK3LP-B6zIeHZO.cjs +30 -0
  221. package/dist/diagram-OA4YK3LP-wIkZDLSU.js +300 -0
  222. package/dist/diagram-WEI45ONY-DoJT44KW.cjs +41 -0
  223. package/dist/diagram-WEI45ONY-DuODSE5u.js +214 -0
  224. package/dist/diff-Pd8fJfZO.cjs +1 -0
  225. package/dist/diff-jiFCwOef.js +3 -0
  226. package/dist/dist-BD0EaJeM.js +42 -0
  227. package/dist/dist-BPaCZ1IA.cjs +3 -0
  228. package/dist/dist-BtUTYFnJ.js +6360 -0
  229. package/dist/dist-BxWvDA4U.js +59 -0
  230. package/dist/dist-CCXt4qM3.cjs +8 -0
  231. package/dist/dist-CS9eMk17.js +1588 -0
  232. package/dist/dist-Cu0Z5KOd.cjs +12 -0
  233. package/dist/dist-DNGlMOWd.cjs +1 -0
  234. package/dist/docker-DMpUQ2UE.js +3 -0
  235. package/dist/docker-OqFhd4tF.cjs +1 -0
  236. package/dist/dotenv-BNXs3SVk.js +3 -0
  237. package/dist/dotenv-skQA6mID.cjs +1 -0
  238. package/dist/dracula-B9CfY-AT.cjs +1 -0
  239. package/dist/dracula-DiGCm6b4.js +4 -0
  240. package/dist/dracula-soft-C5LEeGj9.js +4 -0
  241. package/dist/dracula-soft-IAqLIxBv.cjs +1 -0
  242. package/dist/dream-maker-DMoKJVoA.js +3 -0
  243. package/dist/dream-maker-Kuay-eJE.cjs +1 -0
  244. package/dist/ebnfDiagram-CCIWWBDH-BPnqNNpq.js +100 -0
  245. package/dist/ebnfDiagram-CCIWWBDH-BVWfIZk7.cjs +1 -0
  246. package/dist/edge-DPKc6QBW.cjs +1 -0
  247. package/dist/edge-DewrpuZI.js +12 -0
  248. package/dist/elixir-BHncl6yR.js +5 -0
  249. package/dist/elixir-Bz8PD4t1.cjs +1 -0
  250. package/dist/elm-DFucj7BB.cjs +1 -0
  251. package/dist/elm-DQTVghsR.js +5 -0
  252. package/dist/emacs-lisp-BLYG10aJ.js +3 -0
  253. package/dist/emacs-lisp-DjdBmCDP.cjs +1 -0
  254. package/dist/erDiagram-Q63AITRT-BDhFo6C9.cjs +85 -0
  255. package/dist/erDiagram-Q63AITRT-DT6IAJLm.js +1727 -0
  256. package/dist/erb-BCBUKD2W.js +10 -0
  257. package/dist/erb-BrUkDVI_.cjs +1 -0
  258. package/dist/erlang-Dk9Hm-lN.cjs +1 -0
  259. package/dist/erlang-Hh_mGaXF.js +3 -0
  260. package/dist/eventmodeling-45OFAUF4-9NJTUpfs.cjs +1 -0
  261. package/dist/eventmodeling-45OFAUF4-DhmcBUQs.js +3 -0
  262. package/dist/everforest-dark-B8U5Kz_2.cjs +1 -0
  263. package/dist/everforest-dark-DPbo4JN4.js +4 -0
  264. package/dist/everforest-light-3-FCa2iD.cjs +1 -0
  265. package/dist/everforest-light-E_X_ZD6H.js +4 -0
  266. package/dist/exports-C67Wizt6.js +16990 -0
  267. package/dist/exports-C8Eu-cBn.cjs +261 -0
  268. package/dist/fennel-F2TJW9Cm.js +3 -0
  269. package/dist/fennel-RU1EYi0I.cjs +1 -0
  270. package/dist/find-8kzfNl8Q.js +107 -0
  271. package/dist/find-D49DDMOn.cjs +1 -0
  272. package/dist/fish--5Qbt4_-.cjs +1 -0
  273. package/dist/fish-Cl8O7-1O.js +3 -0
  274. package/dist/flowDiagram-23GEKE2U-BIAXSHCZ.cjs +1 -0
  275. package/dist/flowDiagram-23GEKE2U-FteV-tpU.js +17 -0
  276. package/dist/fluent-B0YyYoEC.js +3 -0
  277. package/dist/fluent-CqQ_wVqT.cjs +1 -0
  278. package/dist/fortran-fixed-form-BPVXUvGc.cjs +1 -0
  279. package/dist/fortran-fixed-form-Cxg1zLtO.js +5 -0
  280. package/dist/fortran-free-form-f48WwHdi.js +3 -0
  281. package/dist/fortran-free-form-wAUw7GO7.cjs +1 -0
  282. package/dist/fsharp-D4kfoNJ7.js +5 -0
  283. package/dist/fsharp-Dkh04On7.cjs +1 -0
  284. package/dist/ganttDiagram-NO4QXBWP-B8AFbqrz.js +3084 -0
  285. package/dist/ganttDiagram-NO4QXBWP-iuUxsjHH.cjs +292 -0
  286. package/dist/gdresource-C3LE_wel.js +10 -0
  287. package/dist/gdresource-DOgNDMAP.cjs +1 -0
  288. package/dist/gdscript-697ItOg3.js +3 -0
  289. package/dist/gdscript-AA2UfFO_.cjs +1 -0
  290. package/dist/gdshader-BahZb96R.js +3 -0
  291. package/dist/gdshader-Bf5fzism.cjs +1 -0
  292. package/dist/genie-DaIfgQYl.js +3 -0
  293. package/dist/genie-IAbcuR8x.cjs +1 -0
  294. package/dist/gherkin-0dxzekuL.js +3 -0
  295. package/dist/gherkin-BOoUZ55R.cjs +1 -0
  296. package/dist/git-commit-CQ35rNAw.js +5 -0
  297. package/dist/git-commit-CoIFbnBM.cjs +1 -0
  298. package/dist/git-rebase-BUotlrNG.js +5 -0
  299. package/dist/git-rebase-bioQjlhA.cjs +1 -0
  300. package/dist/gitGraph-TEB2WS4Q-DQ-Mge2t.cjs +1 -0
  301. package/dist/gitGraph-TEB2WS4Q-DuFCGfar.js +3 -0
  302. package/dist/gitGraphDiagram-IHSO6WYX-CpjxCJlh.js +729 -0
  303. package/dist/gitGraphDiagram-IHSO6WYX-TXisRU_i.cjs +106 -0
  304. package/dist/github-dark-BVSmXPiH.js +4 -0
  305. package/dist/github-dark-default-D_WiUS3j.cjs +1 -0
  306. package/dist/github-dark-default-VbvJ-ilw.js +4 -0
  307. package/dist/github-dark-dimmed-BVZ6NmlH.js +4 -0
  308. package/dist/github-dark-dimmed-CF-d-yzu.cjs +1 -0
  309. package/dist/github-dark-high-contrast-B28XrSlN.cjs +1 -0
  310. package/dist/github-dark-high-contrast-Cu_F5fce.js +4 -0
  311. package/dist/github-dark-lSLm2DGc.cjs +1 -0
  312. package/dist/github-light-5VJ9LmmZ.cjs +1 -0
  313. package/dist/github-light-Dtf7jHNG.js +4 -0
  314. package/dist/github-light-default-CfhvIofU.cjs +1 -0
  315. package/dist/github-light-default-ChKQp2aO.js +4 -0
  316. package/dist/github-light-high-contrast-2daONXzf.cjs +1 -0
  317. package/dist/github-light-high-contrast-CfdjYrkI.js +4 -0
  318. package/dist/gleam-DyHWdg1e.js +3 -0
  319. package/dist/gleam-uW2PZxh0.cjs +1 -0
  320. package/dist/glimmer-js-Ciof3QL9.js +14 -0
  321. package/dist/glimmer-js-DiIpfAHi.cjs +1 -0
  322. package/dist/glimmer-ts-BGK6t0VF.js +14 -0
  323. package/dist/glimmer-ts-D7kaiXm8.cjs +1 -0
  324. package/dist/glsl-BK7MJn4u.js +6 -0
  325. package/dist/glsl-QqXZ78Kg.cjs +1 -0
  326. package/dist/gnuplot-5XuWKCad.js +3 -0
  327. package/dist/gnuplot-CFHC6IzT.cjs +1 -0
  328. package/dist/go-Bv7fxmN-.cjs +1 -0
  329. package/dist/go-C_wi3fjb.js +3 -0
  330. package/dist/graphlib-B0pkl27u.cjs +1 -0
  331. package/dist/graphlib-DjREGp7-.js +340 -0
  332. package/dist/graphql--1t261Yk.js +15 -0
  333. package/dist/graphql-wVo4PHpT.cjs +1 -0
  334. package/dist/groovy-AC3I0XgS.cjs +1 -0
  335. package/dist/groovy-BmEdfp0z.js +3 -0
  336. package/dist/hack-C4FKqOSK.cjs +1 -0
  337. package/dist/hack-DK3t1k__.js +10 -0
  338. package/dist/haml-B3VLhRsZ.js +11 -0
  339. package/dist/haml-CQ-lzphw.cjs +1 -0
  340. package/dist/handlebars-POWurPLW.cjs +1 -0
  341. package/dist/handlebars-_qNUzqAO.js +14 -0
  342. package/dist/haskell-BVQlrU40.cjs +1 -0
  343. package/dist/haskell-CZshrN4v.js +3 -0
  344. package/dist/haxe-CIeDdEBx.js +3 -0
  345. package/dist/haxe-CidPNuKh.cjs +1 -0
  346. package/dist/hcl-BrEqO7Sq.cjs +1 -0
  347. package/dist/hcl-DRqyh8D_.js +3 -0
  348. package/dist/hjson-CVbBR8Ay.cjs +1 -0
  349. package/dist/hjson-D-HSEzgv.js +3 -0
  350. package/dist/hlsl-DQCtPnLa.js +3 -0
  351. package/dist/hlsl-ze_s5DJn.cjs +1 -0
  352. package/dist/houston-BscSB6JY.js +4 -0
  353. package/dist/houston-BtgI9cLW.cjs +1 -0
  354. package/dist/html-D_OBWe7R.js +11 -0
  355. package/dist/html-derivative-Dq3Sh7mm.cjs +1 -0
  356. package/dist/html-derivative-XT6VOD81.js +6 -0
  357. package/dist/html-mo6ldvys.cjs +1 -0
  358. package/dist/http-C2taPV9U.cjs +1 -0
  359. package/dist/http-CdMPSPdd.js +14 -0
  360. package/dist/hxml-CHo8HAT-.js +5 -0
  361. package/dist/hxml-Dkp_OvfK.cjs +1 -0
  362. package/dist/hy-DB6h75gj.js +3 -0
  363. package/dist/hy-JhxQ7Sq3.cjs +1 -0
  364. package/dist/imba-BMaY4ENg.cjs +1 -0
  365. package/dist/imba-B_ww4ZTP.js +5 -0
  366. package/dist/index.cjs +352 -0
  367. package/dist/index.d.ts +12 -0
  368. package/dist/index.mjs +25941 -0
  369. package/dist/index2-Db29305J.cjs +1 -0
  370. package/dist/index2-QpsswhC2.js +129 -0
  371. package/dist/index3-B9UVcR3x.cjs +1 -0
  372. package/dist/index3-CSFQ35FU.js +125 -0
  373. package/dist/index4-BjmzmXkZ.cjs +2 -0
  374. package/dist/index4-CzKbdrmD.js +1166 -0
  375. package/dist/index5-CjNnYoXJ.js +688 -0
  376. package/dist/index5-CvMqoYtf.cjs +1 -0
  377. package/dist/index6-BUkE1lni.js +468 -0
  378. package/dist/index6-DwZeyaka.cjs +1 -0
  379. package/dist/index7-CCL1p1Eh.cjs +1 -0
  380. package/dist/index7-D-76uUB1.js +7 -0
  381. package/dist/info-DKCQHKI2-CVAfu3m_.cjs +1 -0
  382. package/dist/info-DKCQHKI2-X1UEZeu5.js +3 -0
  383. package/dist/infoDiagram-FWYZ7A6U-BQ-pmobf.js +20 -0
  384. package/dist/infoDiagram-FWYZ7A6U-BTUkuUAu.cjs +2 -0
  385. package/dist/infographic_markstream-vue-DH5naZYC.js +5 -0
  386. package/dist/infographic_markstream-vue-DMdeL6IU.cjs +1 -0
  387. package/dist/ini-1ngrKrS7.js +3 -0
  388. package/dist/ini-DrnN5Bei.cjs +1 -0
  389. package/dist/init-07zIhv_j.cjs +1 -0
  390. package/dist/init-Co4dhKfe.js +15 -0
  391. package/dist/isEmpty-9fTBY8_5.js +929 -0
  392. package/dist/isEmpty-DaIHfoaK.cjs +1 -0
  393. package/dist/ishikawaDiagram-FXEZZL3T-DAFpMtyi.cjs +70 -0
  394. package/dist/ishikawaDiagram-FXEZZL3T-Dldh7OZP.js +719 -0
  395. package/dist/java-CCeor0rw.js +5 -0
  396. package/dist/java-DtOeEWAB.cjs +1 -0
  397. package/dist/javascript-1Zv2m4qT.cjs +1 -0
  398. package/dist/javascript-Bx27vxbw.js +5 -0
  399. package/dist/jinja-Bo4OY5rp.cjs +1 -0
  400. package/dist/jinja-DUV-rjqE.js +5 -0
  401. package/dist/jison-BHS26PqW.cjs +1 -0
  402. package/dist/jison-lY_a1uD8.js +5 -0
  403. package/dist/journeyDiagram-5HDEW3XC-BoJvuLAJ.cjs +139 -0
  404. package/dist/journeyDiagram-5HDEW3XC-DWc-P146.js +884 -0
  405. package/dist/json-As0Z6gXq.js +5 -0
  406. package/dist/json-B31_sYlO.cjs +1 -0
  407. package/dist/json5-B0AZLeeE.cjs +1 -0
  408. package/dist/json5-CkR44bl5.js +3 -0
  409. package/dist/jsonc-BhRQOhO0.js +3 -0
  410. package/dist/jsonc-zSGaK820.cjs +1 -0
  411. package/dist/jsonl-BWEDeKY6.js +3 -0
  412. package/dist/jsonl-mSW-3clM.cjs +1 -0
  413. package/dist/jsonnet-D8xj-VWe.js +3 -0
  414. package/dist/jsonnet-xnK8ISOr.cjs +1 -0
  415. package/dist/jssm-BqqNlOWn.js +3 -0
  416. package/dist/jssm-Dc68VWf8.cjs +1 -0
  417. package/dist/jsx-CHdPoawR.cjs +1 -0
  418. package/dist/jsx-DcWc-BUA.js +5 -0
  419. package/dist/julia-A2t8dw8p.cjs +1 -0
  420. package/dist/julia-JllIpLrt.js +16 -0
  421. package/dist/kanagawa-dragon-C_H008Ji.cjs +1 -0
  422. package/dist/kanagawa-dragon-CzUH0vOV.js +4 -0
  423. package/dist/kanagawa-lotus-CWHrabz1.js +4 -0
  424. package/dist/kanagawa-lotus-DuABjfU_.cjs +1 -0
  425. package/dist/kanagawa-wave-B27tzldJ.js +4 -0
  426. package/dist/kanagawa-wave-D93njvJc.cjs +1 -0
  427. package/dist/kanban-definition-HUTT4EX6-4QNogezI.js +975 -0
  428. package/dist/kanban-definition-HUTT4EX6-CSpYoE2w.cjs +89 -0
  429. package/dist/katex-mzuGQl-k.cjs +257 -0
  430. package/dist/katex-uQfgtQZ-.js +21962 -0
  431. package/dist/kotlin-CkALtvL4.js +3 -0
  432. package/dist/kotlin-x64ufdmW.cjs +1 -0
  433. package/dist/kusto-Cc3N9caa.js +3 -0
  434. package/dist/kusto-YvjJ-Hwr.cjs +1 -0
  435. package/dist/languageIconExtended-5rP5TRI7.cjs +116 -0
  436. package/dist/languageIconExtended-BKBNbfml.js +37 -0
  437. package/dist/laserwave-Q0rnzsLB.js +4 -0
  438. package/dist/laserwave-TFMEGQQo.cjs +1 -0
  439. package/dist/latex-B4owy79D.js +5 -0
  440. package/dist/latex-DPkqFaSl.cjs +1 -0
  441. package/dist/lean-CYVERefS.cjs +1 -0
  442. package/dist/lean-Dg5VYRtH.js +3 -0
  443. package/dist/less-BW5l_msz.js +3 -0
  444. package/dist/less-DKjtszmK.cjs +1 -0
  445. package/dist/light-plus-D1TTTooO.js +4 -0
  446. package/dist/light-plus-lbGw82Zw.cjs +1 -0
  447. package/dist/line-QnKkzT3y.js +34 -0
  448. package/dist/line-umMVu17Q.cjs +1 -0
  449. package/dist/linear-Cl2-QuPP.cjs +1 -0
  450. package/dist/linear-D5gAG4Dc.js +289 -0
  451. package/dist/liquid-DOhZfMRk.cjs +1 -0
  452. package/dist/liquid-DbDSSGUn.js +14 -0
  453. package/dist/log-C02Mufkv.js +3 -0
  454. package/dist/log-Dn7sU6Qz.cjs +1 -0
  455. package/dist/logo-CCpvPvYW.cjs +1 -0
  456. package/dist/logo-CESV6ppB.js +3 -0
  457. package/dist/lua-BWV9zmiO.js +6 -0
  458. package/dist/lua-BZylxbuX.cjs +1 -0
  459. package/dist/luau-CO1iqemL.js +3 -0
  460. package/dist/luau-D5ttg_a3.cjs +1 -0
  461. package/dist/make-BorM9pEX.js +3 -0
  462. package/dist/make-OoJyrwI_.cjs +1 -0
  463. package/dist/map-CnWYCApZ.cjs +1 -0
  464. package/dist/map-DmTyBWxT.js +16 -0
  465. package/dist/markdown-Dehhcpca.cjs +1 -0
  466. package/dist/markdown-bvZ2LFQ7.js +3 -0
  467. package/dist/marko-9qP7O73P.js +14 -0
  468. package/dist/marko-CkDNu79_.cjs +1 -0
  469. package/dist/material-theme-BkOXIsau.cjs +1 -0
  470. package/dist/material-theme-RBxZ7zcK.js +4 -0
  471. package/dist/material-theme-darker-CDq_a3lh.cjs +1 -0
  472. package/dist/material-theme-darker-CJJd5EpQ.js +4 -0
  473. package/dist/material-theme-lighter-0ylr_FPD.js +4 -0
  474. package/dist/material-theme-lighter-CSQ2VYal.cjs +1 -0
  475. package/dist/material-theme-ocean-BlU8W8uQ.js +4 -0
  476. package/dist/material-theme-ocean-kObtq4AQ.cjs +1 -0
  477. package/dist/material-theme-palenight-D1I1vvpR.cjs +1 -0
  478. package/dist/material-theme-palenight-Di4FHq0q.js +4 -0
  479. package/dist/matlab-CL6DKGr6.cjs +1 -0
  480. package/dist/matlab-CWaaTDe1.js +3 -0
  481. package/dist/mdc-D8ytkkcj.js +12 -0
  482. package/dist/mdc-DixMyBlq.cjs +1 -0
  483. package/dist/mdx-BYvRDPL7.cjs +1 -0
  484. package/dist/mdx-CwEa7e3y.js +3 -0
  485. package/dist/mermaid-CX3dK12k.cjs +1 -0
  486. package/dist/mermaid-Z3pEhdr4.js +3 -0
  487. package/dist/mermaid-parser.core-Bhhg_EMD.js +638 -0
  488. package/dist/mermaid-parser.core-C0weIoPn.cjs +6 -0
  489. package/dist/mermaid.core-CbBmSLjg.js +817 -0
  490. package/dist/mermaid.core-CsEkQu6v.cjs +10 -0
  491. package/dist/mhchem-CGx3NnwF.js +1762 -0
  492. package/dist/mhchem-DMzgkAws.cjs +1 -0
  493. package/dist/min-dark-BRRwK1lu.js +4 -0
  494. package/dist/min-dark-BVfJIgG3.cjs +1 -0
  495. package/dist/min-light-Bqm_Wy8m.js +4 -0
  496. package/dist/min-light-CpbVExmt.cjs +1 -0
  497. package/dist/mindmap-definition-LN4V7U3C-B29e6fR_.cjs +96 -0
  498. package/dist/mindmap-definition-LN4V7U3C-BUSRrZX0.js +1008 -0
  499. package/dist/mipsasm-CmvfwuBg.js +3 -0
  500. package/dist/mipsasm-Dmsj67N7.cjs +1 -0
  501. package/dist/mojo-CFCIR8gy.cjs +1 -0
  502. package/dist/mojo-emijrbEC.js +3 -0
  503. package/dist/monokai-BQ1cZfkR.cjs +1 -0
  504. package/dist/monokai-KOBwLR5r.js +4 -0
  505. package/dist/move-BtWg9WSG.js +3 -0
  506. package/dist/move-DFUk3AJ3.cjs +1 -0
  507. package/dist/narrat-CE6tJc3S.js +3 -0
  508. package/dist/narrat-DfhrkvLZ.cjs +1 -0
  509. package/dist/netstar-ai-chat.css +2 -0
  510. package/dist/nextflow-D8RM97Up.cjs +1 -0
  511. package/dist/nextflow-DIQqWNA9.js +3 -0
  512. package/dist/nginx-8x8qY3Vr.js +5 -0
  513. package/dist/nginx-DFfEIEnK.cjs +1 -0
  514. package/dist/night-owl-C0QObreH.cjs +1 -0
  515. package/dist/night-owl-DS6PHOBH.js +4 -0
  516. package/dist/nim-BIbchMrJ.cjs +1 -0
  517. package/dist/nim-nIS1y_GA.js +20 -0
  518. package/dist/nix-BeOLKLuV.js +3 -0
  519. package/dist/nix-D5-3ErHy.cjs +1 -0
  520. package/dist/nord-CA9ic6hU.cjs +1 -0
  521. package/dist/nord-CqaxQpqw.js +4 -0
  522. package/dist/nushell-BNdP_dr6.cjs +1 -0
  523. package/dist/nushell-BSiFk-Bi.js +3 -0
  524. package/dist/objective-c-BoPltVXU.cjs +1 -0
  525. package/dist/objective-c-D4ODnIJv.js +3 -0
  526. package/dist/objective-cpp-BC5VHuf6.cjs +1 -0
  527. package/dist/objective-cpp-CFzZBsJ8.js +3 -0
  528. package/dist/ocaml-DjzTWzJR.cjs +1 -0
  529. package/dist/ocaml-ygyAtqA3.js +3 -0
  530. package/dist/one-dark-pro-BiLpJ3Ut.cjs +1 -0
  531. package/dist/one-dark-pro-n87lL4ex.js +4 -0
  532. package/dist/one-light-BHJM53xo.cjs +1 -0
  533. package/dist/one-light-DHV5uJWg.js +4 -0
  534. package/dist/ordinal-95c16pGC.js +65 -0
  535. package/dist/ordinal-CUPR-p0T.cjs +1 -0
  536. package/dist/packet-7NZHBO7P-CWI1wkgR.js +3 -0
  537. package/dist/packet-7NZHBO7P-olpQFy19.cjs +1 -0
  538. package/dist/pascal-BCxfk_0K.cjs +1 -0
  539. package/dist/pascal-Cp3o03W3.js +3 -0
  540. package/dist/path-BECm07xX.js +85 -0
  541. package/dist/path-Kklx0M1v.cjs +1 -0
  542. package/dist/pegDiagram-2B236MQR-5may-nQh.cjs +1 -0
  543. package/dist/pegDiagram-2B236MQR-BlS7jv2X.js +94 -0
  544. package/dist/perl-B32vckzd.cjs +1 -0
  545. package/dist/perl-Caha11sj.js +16 -0
  546. package/dist/php-BZdcwfk-.cjs +1 -0
  547. package/dist/php-Dd_dF-AL.js +18 -0
  548. package/dist/pie-RZYD4A2V-CyOF19CW.js +3 -0
  549. package/dist/pie-RZYD4A2V-KV7VmSAP.cjs +1 -0
  550. package/dist/pieDiagram-ENE6RG2P-B5uibzAn.js +205 -0
  551. package/dist/pieDiagram-ENE6RG2P-peGWddZk.cjs +39 -0
  552. package/dist/plastic-CFgeDarh.cjs +1 -0
  553. package/dist/plastic-CfcNj0mY.js +4 -0
  554. package/dist/plsql-ak2Z7rg2.cjs +1 -0
  555. package/dist/plsql-x7conUc6.js +3 -0
  556. package/dist/po--CQNV_Eo.js +3 -0
  557. package/dist/po-DPOakX0_.cjs +1 -0
  558. package/dist/poimandres-B2kS4VCU.cjs +1 -0
  559. package/dist/poimandres-CSgoTNSr.js +4 -0
  560. package/dist/polar-DZoPeUtu.js +3 -0
  561. package/dist/polar-MGc0OyxL.cjs +1 -0
  562. package/dist/postcss-BAYQYIpZ.js +3 -0
  563. package/dist/postcss-DwSR_Nna.cjs +1 -0
  564. package/dist/powerquery-B9PiNUFU.js +3 -0
  565. package/dist/powerquery-bShN3jEf.cjs +1 -0
  566. package/dist/powershell-DGeGpYK6.cjs +1 -0
  567. package/dist/powershell-DmbTGv4H.js +3 -0
  568. package/dist/prisma-DcdjiSgR.js +3 -0
  569. package/dist/prisma-qjGbhxmN.cjs +1 -0
  570. package/dist/prolog-3Sh8TEBQ.js +3 -0
  571. package/dist/prolog-DOzeE1gX.cjs +1 -0
  572. package/dist/proto-BKmbHU2z.js +3 -0
  573. package/dist/proto-CQtcOaoZ.cjs +1 -0
  574. package/dist/pug-CQRIElQa.cjs +1 -0
  575. package/dist/pug-PKxYWb_o.js +12 -0
  576. package/dist/puppet-CMc7WUL-.js +3 -0
  577. package/dist/puppet-DXMJeNAQ.cjs +1 -0
  578. package/dist/purescript-BmHbM-d_.cjs +1 -0
  579. package/dist/purescript-CJV-ANk0.js +3 -0
  580. package/dist/python-Dgo3Imqt.js +3 -0
  581. package/dist/python-y8JZoKTg.cjs +1 -0
  582. package/dist/qml-DGggscta.cjs +1 -0
  583. package/dist/qml-znAETRGB.js +5 -0
  584. package/dist/qmldir-BSWsNKCW.js +3 -0
  585. package/dist/qmldir-Wb6QN41x.cjs +1 -0
  586. package/dist/qss-P1EyCZ52.js +3 -0
  587. package/dist/qss-b49hd9Kf.cjs +1 -0
  588. package/dist/quadrantDiagram-ABIIQ3AL-0axZxxZT.cjs +7 -0
  589. package/dist/quadrantDiagram-ABIIQ3AL-el6K_cdK.js +2001 -0
  590. package/dist/r-Q1Syx2NF.js +5 -0
  591. package/dist/r-VgF6jsMr.cjs +1 -0
  592. package/dist/racket-DIriCx31.cjs +1 -0
  593. package/dist/racket-DKb_r0U5.js +3 -0
  594. package/dist/radar-I7S5WNFK-BjTQsjn9.cjs +1 -0
  595. package/dist/radar-I7S5WNFK-DXOk1lH0.js +3 -0
  596. package/dist/railroad-3IZDKUUU-BudmQt4z.js +3 -0
  597. package/dist/railroad-3IZDKUUU-CVKrVFrS.cjs +1 -0
  598. package/dist/railroad-abnf-AHOZXSZD-BEuRVGxN.cjs +1 -0
  599. package/dist/railroad-abnf-AHOZXSZD-Bs1OWkDS.js +3 -0
  600. package/dist/railroad-ebnf-EBAXGLYW-Cih63c2z.cjs +1 -0
  601. package/dist/railroad-ebnf-EBAXGLYW-DN3oF240.js +3 -0
  602. package/dist/railroad-peg-LSFZ7HO6--hTz8Aio.js +3 -0
  603. package/dist/railroad-peg-LSFZ7HO6-DbHn_Dfb.cjs +1 -0
  604. package/dist/railroadDiagram-RFXS5EU6-CCPPrI-t.js +76 -0
  605. package/dist/railroadDiagram-RFXS5EU6-DI-XxXi4.cjs +1 -0
  606. package/dist/raku-DM0xz1qH.js +3 -0
  607. package/dist/raku-aSFsj2VS.cjs +1 -0
  608. package/dist/razor-ClXepwCg.cjs +1 -0
  609. package/dist/razor-DoIrK7wH.js +10 -0
  610. package/dist/red-CuDZBeel.js +4 -0
  611. package/dist/red-utLotyz8.cjs +1 -0
  612. package/dist/reg-Bc7EZp_L.js +3 -0
  613. package/dist/reg-GmnSXO4L.cjs +1 -0
  614. package/dist/regexp-CjKnir1L.js +5 -0
  615. package/dist/regexp-CjwGKeJO.cjs +1 -0
  616. package/dist/rel-DMLolXbX.cjs +1 -0
  617. package/dist/rel-DT4yPypn.js +3 -0
  618. package/dist/requirementDiagram-TGXJPOKE-BxnKsGpN.cjs +84 -0
  619. package/dist/requirementDiagram-TGXJPOKE-FQoCKQHp.js +2223 -0
  620. package/dist/riscv-9-ahY7jN.js +3 -0
  621. package/dist/riscv-DWfvSg0U.cjs +1 -0
  622. package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
  623. package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
  624. package/dist/rose-pine-BTVbOgGM.cjs +1 -0
  625. package/dist/rose-pine-Dsg47IX4.js +4 -0
  626. package/dist/rose-pine-dawn-C49-oxm2.js +4 -0
  627. package/dist/rose-pine-dawn-y8-MyOw6.cjs +1 -0
  628. package/dist/rose-pine-moon-BZmq4QbO.cjs +1 -0
  629. package/dist/rose-pine-moon-D19T_UYY.js +4 -0
  630. package/dist/rough.esm-B7woRVjF.js +1352 -0
  631. package/dist/rough.esm-r0QOSzHM.cjs +1 -0
  632. package/dist/rst-9SsxKThC.cjs +1 -0
  633. package/dist/rst-Ct-G6CIi.js +22 -0
  634. package/dist/ruby-CHhXdqUe.js +30 -0
  635. package/dist/ruby-q98Sa-C-.cjs +1 -0
  636. package/dist/rust-BbRDDZlI.js +3 -0
  637. package/dist/rust-DhJ-EsMg.cjs +1 -0
  638. package/dist/sankeyDiagram-HTMAVEWB-1N6666do.cjs +40 -0
  639. package/dist/sankeyDiagram-HTMAVEWB-CRbnmmPK.js +970 -0
  640. package/dist/sas-DhbnVUXW.cjs +1 -0
  641. package/dist/sas-nwN47Ppz.js +5 -0
  642. package/dist/sass-C3mlvlBn.js +3 -0
  643. package/dist/sass-MDtHeILc.cjs +1 -0
  644. package/dist/scala-BV3NjK9f.cjs +1 -0
  645. package/dist/scala-GwvQo9dz.js +3 -0
  646. package/dist/scheme-C_T6Gr_E.js +3 -0
  647. package/dist/scheme-DaNTt7Ra.cjs +1 -0
  648. package/dist/scss-KLMxyv4f.js +6 -0
  649. package/dist/scss-KgcvXJOI.cjs +1 -0
  650. package/dist/sdbl-9Nf-vYL_.cjs +1 -0
  651. package/dist/sdbl-BGVcFmba.js +3 -0
  652. package/dist/sequenceDiagram-DBY2YBRQ-B0eyTzj-.js +4168 -0
  653. package/dist/sequenceDiagram-DBY2YBRQ-ouUfS-aJ.cjs +162 -0
  654. package/dist/shaderlab-AMREd5T9.cjs +1 -0
  655. package/dist/shaderlab-yvRlOGRS.js +5 -0
  656. package/dist/shellscript-BRXFilKi.cjs +1 -0
  657. package/dist/shellscript-DsmUQZdg.js +5 -0
  658. package/dist/shellsession-BtjfrBaH.cjs +1 -0
  659. package/dist/shellsession-DQ_F9Wr_.js +5 -0
  660. package/dist/sizeCapture-X5ZJPWSS-BEIM84He.js +46 -0
  661. package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
  662. package/dist/slack-dark-BzBaQ0xz.js +4 -0
  663. package/dist/slack-dark-DDeCEapU.cjs +1 -0
  664. package/dist/slack-ochin-Cnjuvrsj.js +4 -0
  665. package/dist/slack-ochin-DLKW_Bxr.cjs +1 -0
  666. package/dist/smalltalk-BN2TAEzt.js +3 -0
  667. package/dist/smalltalk-Dfg_7NMl.cjs +1 -0
  668. package/dist/snazzy-light-CO8ltd4m.js +4 -0
  669. package/dist/snazzy-light-Cb_pyD6_.cjs +1 -0
  670. package/dist/solarized-dark-CqgMwhwG.cjs +1 -0
  671. package/dist/solarized-dark-vcCVwuVC.js +4 -0
  672. package/dist/solarized-light-BgVA2R62.js +4 -0
  673. package/dist/solarized-light-U0ItNhXi.cjs +1 -0
  674. package/dist/solidity-bpqb7ojf.cjs +1 -0
  675. package/dist/solidity-idpkkykB.js +3 -0
  676. package/dist/soy-D11BGnGf.cjs +1 -0
  677. package/dist/soy-D5hACXEU.js +5 -0
  678. package/dist/sparql-D2f6sVo0.cjs +1 -0
  679. package/dist/sparql-DvWZ0oTn.js +5 -0
  680. package/dist/splunk-CC1SfDSs.cjs +1 -0
  681. package/dist/splunk-W3Nh1Gtf.js +3 -0
  682. package/dist/sql-BE7gM4sJ.js +5 -0
  683. package/dist/sql-CAKohXJZ.cjs +1 -0
  684. package/dist/src-CR--T_NF.cjs +1 -0
  685. package/dist/src-DR6txdQ-.js +2142 -0
  686. package/dist/ssh-config-Dn_5wFSU.cjs +1 -0
  687. package/dist/ssh-config-lL0vBG-J.js +3 -0
  688. package/dist/stata-DeV05m63.js +5 -0
  689. package/dist/stata-ckWyZ9G6.cjs +1 -0
  690. package/dist/stateDiagram-2N3HPSRC-DaporqgM.js +220 -0
  691. package/dist/stateDiagram-2N3HPSRC-DrVYkEQ-.cjs +1 -0
  692. package/dist/stateDiagram-v2-6OUMAXLB-DZ0YarTq.cjs +1 -0
  693. package/dist/stateDiagram-v2-6OUMAXLB-iNhJP0se.js +30 -0
  694. package/dist/stylus-7dQPGNPK.js +3 -0
  695. package/dist/stylus-CEIbUfUR.cjs +1 -0
  696. package/dist/svelte-BBzqqTAG.cjs +1 -0
  697. package/dist/svelte-DuClbIDV.js +14 -0
  698. package/dist/swift-BfppNwCZ.js +3 -0
  699. package/dist/swift-Dbq1ciSe.cjs +1 -0
  700. package/dist/swimlanes-5IMT3BWC-BkAqjD-a.cjs +1 -0
  701. package/dist/swimlanes-5IMT3BWC-Cl0MBCBd.js +5066 -0
  702. package/dist/swimlanesDiagram-G3AALYLV-Bh7l_29Y.cjs +8 -0
  703. package/dist/swimlanesDiagram-G3AALYLV-Bs_bljXb.js +31 -0
  704. package/dist/synthwave-84-CmyDaNXM.js +4 -0
  705. package/dist/synthwave-84-vhaAnDJD.cjs +1 -0
  706. package/dist/system-verilog-CBp9ww7I.js +3 -0
  707. package/dist/system-verilog-DyrRIUre.cjs +1 -0
  708. package/dist/systemd-CimDnTNX.cjs +1 -0
  709. package/dist/systemd-oFJVdchd.js +3 -0
  710. package/dist/talonscript-2QSX5qC5.cjs +1 -0
  711. package/dist/talonscript-BxIWRwbR.js +3 -0
  712. package/dist/tasl-Bxh5A0Un.js +3 -0
  713. package/dist/tasl-DkVK1Vvo.cjs +1 -0
  714. package/dist/tcl-CNIcTZox.cjs +1 -0
  715. package/dist/tcl-Yv5TG6Ev.js +3 -0
  716. package/dist/templ-BNN_ssr9.cjs +1 -0
  717. package/dist/templ-BxsPIKhr.js +12 -0
  718. package/dist/terraform-CGGCPjBs.cjs +1 -0
  719. package/dist/terraform-DLFpHj9I.js +3 -0
  720. package/dist/tex-DPBa3hMF.cjs +1 -0
  721. package/dist/tex-DZPZ_tE0.js +5 -0
  722. package/dist/timeline-definition-FHXFAJF6-Cb_8gFYP.cjs +120 -0
  723. package/dist/timeline-definition-FHXFAJF6-FkgzuuoZ.js +1069 -0
  724. package/dist/tokyo-night-BmmxIDHp.js +4 -0
  725. package/dist/tokyo-night-DXq-AiCd.cjs +1 -0
  726. package/dist/toml-CJQRMfJQ.cjs +1 -0
  727. package/dist/toml-Dm2pJ9O8.js +3 -0
  728. package/dist/treeView-QDETBFTQ-B_LvJjui.cjs +1 -0
  729. package/dist/treeView-QDETBFTQ-WaAklEEa.js +3 -0
  730. package/dist/treemap-6X3UGDF4-BZ8Ptxjo.cjs +1 -0
  731. package/dist/treemap-6X3UGDF4-TbJH_2rS.js +3 -0
  732. package/dist/ts-tags-BgTM9Oo9.js +38 -0
  733. package/dist/ts-tags-aCZsPrDI.cjs +1 -0
  734. package/dist/tsv-AfvsdcL-.js +3 -0
  735. package/dist/tsv-CrGD5YUm.cjs +1 -0
  736. package/dist/tsx-Bx4pCqLJ.js +5 -0
  737. package/dist/tsx-CqEtpJwc.cjs +1 -0
  738. package/dist/turtle-CSKPMBVG.js +3 -0
  739. package/dist/turtle-hKghkgYb.cjs +1 -0
  740. package/dist/twig-B4TBRIrX.cjs +1 -0
  741. package/dist/twig-BawUFy9o.js +18 -0
  742. package/dist/types/agent.d.ts +199 -0
  743. package/dist/typescript-BPkdvRNZ.js +5 -0
  744. package/dist/typescript-CjwIFskf.cjs +1 -0
  745. package/dist/typespec-BTz_JMOP.js +3 -0
  746. package/dist/typespec-DouelPXK.cjs +1 -0
  747. package/dist/typst-CE4u0InM.js +3 -0
  748. package/dist/typst-tWpJew-N.cjs +1 -0
  749. package/dist/v-BsQ8V6u8.js +3 -0
  750. package/dist/v-C8s-zsPQ.cjs +1 -0
  751. package/dist/vala-DM-_wXAy.cjs +1 -0
  752. package/dist/vala-YJiBqBnL.js +3 -0
  753. package/dist/vb-Bex0KYEQ.js +3 -0
  754. package/dist/vb-C9lJKj2z.cjs +1 -0
  755. package/dist/vennDiagram-L72KCM5P-DRanJu29.cjs +34 -0
  756. package/dist/vennDiagram-L72KCM5P-DigPDc3M.js +1880 -0
  757. package/dist/verilog-BGHQfpqH.js +3 -0
  758. package/dist/verilog-DirKIM6M.cjs +1 -0
  759. package/dist/vesper-B2O42csv.js +4 -0
  760. package/dist/vesper-DvpD9Vcf.cjs +1 -0
  761. package/dist/vhdl-BfmNQSSn.js +3 -0
  762. package/dist/vhdl-CNJHrCfd.cjs +1 -0
  763. package/dist/viml-B611mZED.cjs +1 -0
  764. package/dist/viml-CEz_TDNf.js +3 -0
  765. package/dist/vitesse-black-DC0QCRHA.js +4 -0
  766. package/dist/vitesse-black-NsXXFHlu.cjs +1 -0
  767. package/dist/vitesse-dark-Bv5Yx4Rj.js +4 -0
  768. package/dist/vitesse-dark-D0Ji9E-l.cjs +1 -0
  769. package/dist/vitesse-light-1Wh4YtKa.cjs +1 -0
  770. package/dist/vitesse-light-DYJDYLfk.js +4 -0
  771. package/dist/vue-DPEJC1L8.js +21 -0
  772. package/dist/vue-DwTH6YhB.cjs +1 -0
  773. package/dist/vue-html-CDRAOas6.js +10 -0
  774. package/dist/vue-html-THpxvSNU.cjs +1 -0
  775. package/dist/vue-i18n-3JaSdo8e.cjs +5 -0
  776. package/dist/vue-i18n-C_VfkvBa.js +3020 -0
  777. package/dist/vyper-9K4scKvw.js +3 -0
  778. package/dist/vyper-c-_n3oeH.cjs +1 -0
  779. package/dist/wardley-OPB4EBWU-B1lggTfF.cjs +1 -0
  780. package/dist/wardley-OPB4EBWU-GZ7F_2Eb.js +3 -0
  781. package/dist/wardleyDiagram-EHGQE667-DQE0RgUA.js +645 -0
  782. package/dist/wardleyDiagram-EHGQE667-ZqPLK5FR.cjs +78 -0
  783. package/dist/wasm-B9xa8Mue.js +4 -0
  784. package/dist/wasm-BIF3u71S.js +3 -0
  785. package/dist/wasm-DLWzvvDm.cjs +1 -0
  786. package/dist/wasm-DcRxl4j_.cjs +1 -0
  787. package/dist/wenyan-6FBHpKQQ.js +3 -0
  788. package/dist/wenyan-BQyJDXGi.cjs +1 -0
  789. package/dist/wgsl-0onuchT4.js +3 -0
  790. package/dist/wgsl-CZxSYjuU.cjs +1 -0
  791. package/dist/wikitext-C6FMYqyf.js +3 -0
  792. package/dist/wikitext-DKu5qD0V.cjs +1 -0
  793. package/dist/wolfram-B2KhbCjm.cjs +1 -0
  794. package/dist/wolfram-BuhvgrGp.js +3 -0
  795. package/dist/xml-B8vy9UOv.js +6 -0
  796. package/dist/xml-CQVcpGJ_.cjs +1 -0
  797. package/dist/xsl-B6FtdfnY.cjs +1 -0
  798. package/dist/xsl-DiaKo18G.js +5 -0
  799. package/dist/xychartDiagram-FW5EYKEG-9RCD4gzs.cjs +7 -0
  800. package/dist/xychartDiagram-FW5EYKEG-B_EUKZ5E.js +2102 -0
  801. package/dist/yaml-B-_wC7KV.cjs +1 -0
  802. package/dist/yaml-CANEFoqw.js +5 -0
  803. package/dist/zenscript-BSqTPUXj.cjs +1 -0
  804. package/dist/zenscript-DpMcKymA.js +3 -0
  805. package/dist/zig-DBCpOdKI.cjs +1 -0
  806. package/dist/zig-DWkMyyIZ.js +3 -0
  807. package/package.json +68 -0
@@ -0,0 +1,3736 @@
1
+ import { n as e, t } from "./chunk-Y2CYZVJY-QdJ4V9rh.js";
2
+ import { h as n, m as r } from "./src-DR6txdQ-.js";
3
+ //#region ../../node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/utils/channel.js
4
+ var i = {
5
+ min: {
6
+ r: 0,
7
+ g: 0,
8
+ b: 0,
9
+ s: 0,
10
+ l: 0,
11
+ a: 0
12
+ },
13
+ max: {
14
+ r: 255,
15
+ g: 255,
16
+ b: 255,
17
+ h: 360,
18
+ s: 100,
19
+ l: 100,
20
+ a: 1
21
+ },
22
+ clamp: {
23
+ r: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
24
+ g: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
25
+ b: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
26
+ h: (e) => e % 360,
27
+ s: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
28
+ l: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
29
+ a: (e) => e >= 1 ? 1 : e < 0 ? 0 : e
30
+ },
31
+ toLinear: (e) => {
32
+ let t = e / 255;
33
+ return e > .03928 ? ((t + .055) / 1.055) ** 2.4 : t / 12.92;
34
+ },
35
+ hue2rgb: (e, t, n) => (n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e),
36
+ hsl2rgb: ({ h: e, s: t, l: n }, r) => {
37
+ if (!t) return n * 2.55;
38
+ e /= 360, t /= 100, n /= 100;
39
+ let a = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - a;
40
+ switch (r) {
41
+ case "r": return i.hue2rgb(o, a, e + 1 / 3) * 255;
42
+ case "g": return i.hue2rgb(o, a, e) * 255;
43
+ case "b": return i.hue2rgb(o, a, e - 1 / 3) * 255;
44
+ }
45
+ },
46
+ rgb2hsl: ({ r: e, g: t, b: n }, r) => {
47
+ e /= 255, t /= 255, n /= 255;
48
+ let i = Math.max(e, t, n), a = Math.min(e, t, n), o = (i + a) / 2;
49
+ if (r === "l") return o * 100;
50
+ if (i === a) return 0;
51
+ let s = i - a, c = o > .5 ? s / (2 - i - a) : s / (i + a);
52
+ if (r === "s") return c * 100;
53
+ switch (i) {
54
+ case e: return ((t - n) / s + (t < n ? 6 : 0)) * 60;
55
+ case t: return ((n - e) / s + 2) * 60;
56
+ case n: return ((e - t) / s + 4) * 60;
57
+ default: return -1;
58
+ }
59
+ }
60
+ }, a = {
61
+ channel: i,
62
+ lang: {
63
+ clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
64
+ round: (e) => Math.round(e * 1e10) / 1e10
65
+ },
66
+ unit: { dec2hex: (e) => {
67
+ let t = Math.round(e).toString(16);
68
+ return t.length > 1 ? t : `0${t}`;
69
+ } }
70
+ }, o = {};
71
+ for (let e = 0; e <= 255; e++) o[e] = a.unit.dec2hex(e);
72
+ var s = {
73
+ ALL: 0,
74
+ RGB: 1,
75
+ HSL: 2
76
+ }, c = class {
77
+ constructor() {
78
+ this.type = s.ALL;
79
+ }
80
+ get() {
81
+ return this.type;
82
+ }
83
+ set(e) {
84
+ if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
85
+ this.type = e;
86
+ }
87
+ reset() {
88
+ this.type = s.ALL;
89
+ }
90
+ is(e) {
91
+ return this.type === e;
92
+ }
93
+ }, l = new class {
94
+ constructor(e, t) {
95
+ this.color = t, this.changed = !1, this.data = e, this.type = new c();
96
+ }
97
+ set(e, t) {
98
+ return this.color = t, this.changed = !1, this.data = e, this.type.type = s.ALL, this;
99
+ }
100
+ _ensureHSL() {
101
+ let e = this.data, { h: t, s: n, l: r } = e;
102
+ t === void 0 && (e.h = a.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = a.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = a.channel.rgb2hsl(e, "l"));
103
+ }
104
+ _ensureRGB() {
105
+ let e = this.data, { r: t, g: n, b: r } = e;
106
+ t === void 0 && (e.r = a.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = a.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = a.channel.hsl2rgb(e, "b"));
107
+ }
108
+ get r() {
109
+ let e = this.data, t = e.r;
110
+ return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "r"));
111
+ }
112
+ get g() {
113
+ let e = this.data, t = e.g;
114
+ return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "g"));
115
+ }
116
+ get b() {
117
+ let e = this.data, t = e.b;
118
+ return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "b"));
119
+ }
120
+ get h() {
121
+ let e = this.data, t = e.h;
122
+ return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "h"));
123
+ }
124
+ get s() {
125
+ let e = this.data, t = e.s;
126
+ return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "s"));
127
+ }
128
+ get l() {
129
+ let e = this.data, t = e.l;
130
+ return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "l"));
131
+ }
132
+ get a() {
133
+ return this.data.a;
134
+ }
135
+ set r(e) {
136
+ this.type.set(s.RGB), this.changed = !0, this.data.r = e;
137
+ }
138
+ set g(e) {
139
+ this.type.set(s.RGB), this.changed = !0, this.data.g = e;
140
+ }
141
+ set b(e) {
142
+ this.type.set(s.RGB), this.changed = !0, this.data.b = e;
143
+ }
144
+ set h(e) {
145
+ this.type.set(s.HSL), this.changed = !0, this.data.h = e;
146
+ }
147
+ set s(e) {
148
+ this.type.set(s.HSL), this.changed = !0, this.data.s = e;
149
+ }
150
+ set l(e) {
151
+ this.type.set(s.HSL), this.changed = !0, this.data.l = e;
152
+ }
153
+ set a(e) {
154
+ this.changed = !0, this.data.a = e;
155
+ }
156
+ }({
157
+ r: 0,
158
+ g: 0,
159
+ b: 0,
160
+ a: 0
161
+ }, "transparent"), u = {
162
+ re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
163
+ parse: (e) => {
164
+ if (e.charCodeAt(0) !== 35) return;
165
+ let t = e.match(u.re);
166
+ if (!t) return;
167
+ let n = t[1], r = parseInt(n, 16), i = n.length, a = i % 4 == 0, o = i > 4, s = o ? 1 : 17, c = o ? 8 : 4, d = a ? 0 : -1, f = o ? 255 : 15;
168
+ return l.set({
169
+ r: (r >> c * (d + 3) & f) * s,
170
+ g: (r >> c * (d + 2) & f) * s,
171
+ b: (r >> c * (d + 1) & f) * s,
172
+ a: a ? (r & f) * s / 255 : 1
173
+ }, e);
174
+ },
175
+ stringify: (e) => {
176
+ let { r: t, g: n, b: r, a: i } = e;
177
+ return i < 1 ? `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}${o[Math.round(i * 255)]}` : `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}`;
178
+ }
179
+ }, d = {
180
+ re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,
181
+ hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
182
+ _hue2deg: (e) => {
183
+ let t = e.match(d.hueRe);
184
+ if (t) {
185
+ let [, e, n] = t;
186
+ switch (n) {
187
+ case "grad": return a.channel.clamp.h(parseFloat(e) * .9);
188
+ case "rad": return a.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
189
+ case "turn": return a.channel.clamp.h(parseFloat(e) * 360);
190
+ }
191
+ }
192
+ return a.channel.clamp.h(parseFloat(e));
193
+ },
194
+ parse: (e) => {
195
+ let t = e.charCodeAt(0);
196
+ if (t !== 104 && t !== 72) return;
197
+ let n = e.match(d.re);
198
+ if (!n) return;
199
+ let [, r, i, o, s, c] = n;
200
+ return l.set({
201
+ h: d._hue2deg(r),
202
+ s: a.channel.clamp.s(parseFloat(i)),
203
+ l: a.channel.clamp.l(parseFloat(o)),
204
+ a: s ? a.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
205
+ }, e);
206
+ },
207
+ stringify: (e) => {
208
+ let { h: t, s: n, l: r, a: i } = e;
209
+ return i < 1 ? `hsla(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%, ${i})` : `hsl(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%)`;
210
+ }
211
+ }, f = {
212
+ colors: {
213
+ aliceblue: "#f0f8ff",
214
+ antiquewhite: "#faebd7",
215
+ aqua: "#00ffff",
216
+ aquamarine: "#7fffd4",
217
+ azure: "#f0ffff",
218
+ beige: "#f5f5dc",
219
+ bisque: "#ffe4c4",
220
+ black: "#000000",
221
+ blanchedalmond: "#ffebcd",
222
+ blue: "#0000ff",
223
+ blueviolet: "#8a2be2",
224
+ brown: "#a52a2a",
225
+ burlywood: "#deb887",
226
+ cadetblue: "#5f9ea0",
227
+ chartreuse: "#7fff00",
228
+ chocolate: "#d2691e",
229
+ coral: "#ff7f50",
230
+ cornflowerblue: "#6495ed",
231
+ cornsilk: "#fff8dc",
232
+ crimson: "#dc143c",
233
+ cyanaqua: "#00ffff",
234
+ darkblue: "#00008b",
235
+ darkcyan: "#008b8b",
236
+ darkgoldenrod: "#b8860b",
237
+ darkgray: "#a9a9a9",
238
+ darkgreen: "#006400",
239
+ darkgrey: "#a9a9a9",
240
+ darkkhaki: "#bdb76b",
241
+ darkmagenta: "#8b008b",
242
+ darkolivegreen: "#556b2f",
243
+ darkorange: "#ff8c00",
244
+ darkorchid: "#9932cc",
245
+ darkred: "#8b0000",
246
+ darksalmon: "#e9967a",
247
+ darkseagreen: "#8fbc8f",
248
+ darkslateblue: "#483d8b",
249
+ darkslategray: "#2f4f4f",
250
+ darkslategrey: "#2f4f4f",
251
+ darkturquoise: "#00ced1",
252
+ darkviolet: "#9400d3",
253
+ deeppink: "#ff1493",
254
+ deepskyblue: "#00bfff",
255
+ dimgray: "#696969",
256
+ dimgrey: "#696969",
257
+ dodgerblue: "#1e90ff",
258
+ firebrick: "#b22222",
259
+ floralwhite: "#fffaf0",
260
+ forestgreen: "#228b22",
261
+ fuchsia: "#ff00ff",
262
+ gainsboro: "#dcdcdc",
263
+ ghostwhite: "#f8f8ff",
264
+ gold: "#ffd700",
265
+ goldenrod: "#daa520",
266
+ gray: "#808080",
267
+ green: "#008000",
268
+ greenyellow: "#adff2f",
269
+ grey: "#808080",
270
+ honeydew: "#f0fff0",
271
+ hotpink: "#ff69b4",
272
+ indianred: "#cd5c5c",
273
+ indigo: "#4b0082",
274
+ ivory: "#fffff0",
275
+ khaki: "#f0e68c",
276
+ lavender: "#e6e6fa",
277
+ lavenderblush: "#fff0f5",
278
+ lawngreen: "#7cfc00",
279
+ lemonchiffon: "#fffacd",
280
+ lightblue: "#add8e6",
281
+ lightcoral: "#f08080",
282
+ lightcyan: "#e0ffff",
283
+ lightgoldenrodyellow: "#fafad2",
284
+ lightgray: "#d3d3d3",
285
+ lightgreen: "#90ee90",
286
+ lightgrey: "#d3d3d3",
287
+ lightpink: "#ffb6c1",
288
+ lightsalmon: "#ffa07a",
289
+ lightseagreen: "#20b2aa",
290
+ lightskyblue: "#87cefa",
291
+ lightslategray: "#778899",
292
+ lightslategrey: "#778899",
293
+ lightsteelblue: "#b0c4de",
294
+ lightyellow: "#ffffe0",
295
+ lime: "#00ff00",
296
+ limegreen: "#32cd32",
297
+ linen: "#faf0e6",
298
+ magenta: "#ff00ff",
299
+ maroon: "#800000",
300
+ mediumaquamarine: "#66cdaa",
301
+ mediumblue: "#0000cd",
302
+ mediumorchid: "#ba55d3",
303
+ mediumpurple: "#9370db",
304
+ mediumseagreen: "#3cb371",
305
+ mediumslateblue: "#7b68ee",
306
+ mediumspringgreen: "#00fa9a",
307
+ mediumturquoise: "#48d1cc",
308
+ mediumvioletred: "#c71585",
309
+ midnightblue: "#191970",
310
+ mintcream: "#f5fffa",
311
+ mistyrose: "#ffe4e1",
312
+ moccasin: "#ffe4b5",
313
+ navajowhite: "#ffdead",
314
+ navy: "#000080",
315
+ oldlace: "#fdf5e6",
316
+ olive: "#808000",
317
+ olivedrab: "#6b8e23",
318
+ orange: "#ffa500",
319
+ orangered: "#ff4500",
320
+ orchid: "#da70d6",
321
+ palegoldenrod: "#eee8aa",
322
+ palegreen: "#98fb98",
323
+ paleturquoise: "#afeeee",
324
+ palevioletred: "#db7093",
325
+ papayawhip: "#ffefd5",
326
+ peachpuff: "#ffdab9",
327
+ peru: "#cd853f",
328
+ pink: "#ffc0cb",
329
+ plum: "#dda0dd",
330
+ powderblue: "#b0e0e6",
331
+ purple: "#800080",
332
+ rebeccapurple: "#663399",
333
+ red: "#ff0000",
334
+ rosybrown: "#bc8f8f",
335
+ royalblue: "#4169e1",
336
+ saddlebrown: "#8b4513",
337
+ salmon: "#fa8072",
338
+ sandybrown: "#f4a460",
339
+ seagreen: "#2e8b57",
340
+ seashell: "#fff5ee",
341
+ sienna: "#a0522d",
342
+ silver: "#c0c0c0",
343
+ skyblue: "#87ceeb",
344
+ slateblue: "#6a5acd",
345
+ slategray: "#708090",
346
+ slategrey: "#708090",
347
+ snow: "#fffafa",
348
+ springgreen: "#00ff7f",
349
+ tan: "#d2b48c",
350
+ teal: "#008080",
351
+ thistle: "#d8bfd8",
352
+ transparent: "#00000000",
353
+ turquoise: "#40e0d0",
354
+ violet: "#ee82ee",
355
+ wheat: "#f5deb3",
356
+ white: "#ffffff",
357
+ whitesmoke: "#f5f5f5",
358
+ yellow: "#ffff00",
359
+ yellowgreen: "#9acd32"
360
+ },
361
+ parse: (e) => {
362
+ e = e.toLowerCase();
363
+ let t = f.colors[e];
364
+ if (t) return u.parse(t);
365
+ },
366
+ stringify: (e) => {
367
+ let t = u.stringify(e);
368
+ for (let e in f.colors) if (f.colors[e] === t) return e;
369
+ }
370
+ }, p = {
371
+ re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,
372
+ parse: (e) => {
373
+ let t = e.charCodeAt(0);
374
+ if (t !== 114 && t !== 82) return;
375
+ let n = e.match(p.re);
376
+ if (!n) return;
377
+ let [, r, i, o, s, c, u, d, f] = n;
378
+ return l.set({
379
+ r: a.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
380
+ g: a.channel.clamp.g(s ? parseFloat(o) * 2.55 : parseFloat(o)),
381
+ b: a.channel.clamp.b(u ? parseFloat(c) * 2.55 : parseFloat(c)),
382
+ a: d ? a.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
383
+ }, e);
384
+ },
385
+ stringify: (e) => {
386
+ let { r: t, g: n, b: r, a: i } = e;
387
+ return i < 1 ? `rgba(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)}, ${a.lang.round(i)})` : `rgb(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)})`;
388
+ }
389
+ }, m = {
390
+ format: {
391
+ keyword: f,
392
+ hex: u,
393
+ rgb: p,
394
+ rgba: p,
395
+ hsl: d,
396
+ hsla: d
397
+ },
398
+ parse: (e) => {
399
+ if (typeof e != "string") return e;
400
+ let t = u.parse(e) || p.parse(e) || d.parse(e) || f.parse(e);
401
+ if (t) return t;
402
+ throw Error(`Unsupported color format: "${e}"`);
403
+ },
404
+ stringify: (e) => !e.changed && e.color ? e.color : e.type.is(s.HSL) || e.data.r === void 0 ? d.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? p.stringify(e) : u.stringify(e)
405
+ }, h = (e, t) => {
406
+ let n = m.parse(e);
407
+ for (let e in t) n[e] = a.channel.clamp[e](t[e]);
408
+ return m.stringify(n);
409
+ }, g = (e, t, n = 0, r = 1) => {
410
+ if (typeof e != "number") return h(e, { a: t });
411
+ let i = l.set({
412
+ r: a.channel.clamp.r(e),
413
+ g: a.channel.clamp.g(t),
414
+ b: a.channel.clamp.b(n),
415
+ a: a.channel.clamp.a(r)
416
+ });
417
+ return m.stringify(i);
418
+ }, ee = (e) => {
419
+ let { r: t, g: n, b: r } = m.parse(e), i = .2126 * a.channel.toLinear(t) + .7152 * a.channel.toLinear(n) + .0722 * a.channel.toLinear(r);
420
+ return a.lang.round(i);
421
+ }, te = (e) => ee(e) >= .5, _ = (e) => !te(e), v = (e, t, n) => {
422
+ let r = m.parse(e), i = r[t], o = a.channel.clamp[t](i + n);
423
+ return i !== o && (r[t] = o), m.stringify(r);
424
+ }, y = (e, t) => v(e, "l", t), b = (e, t) => v(e, "l", -t), x = (e, t) => {
425
+ let n = m.parse(e), r = {};
426
+ for (let e in t) t[e] && (r[e] = n[e] + t[e]);
427
+ return h(e, r);
428
+ }, ne = (e, t, n = 50) => {
429
+ let { r, g: i, b: a, a: o } = m.parse(e), { r: s, g: c, b: l, a: u } = m.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, h = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, ee = 1 - h;
430
+ return g(r * h + s * ee, i * h + c * ee, a * h + l * ee, o * d + u * (1 - d));
431
+ }, S = (e, t = 100) => {
432
+ let n = m.parse(e);
433
+ return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, ne(n, e, t);
434
+ };
435
+ //#endregion
436
+ //#region ../../node_modules/.pnpm/dompurify@3.4.11/node_modules/dompurify/dist/purify.es.mjs
437
+ function re(e, t) {
438
+ (t == null || t > e.length) && (t = e.length);
439
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
440
+ return r;
441
+ }
442
+ function ie(e) {
443
+ if (Array.isArray(e)) return e;
444
+ }
445
+ function ae(e, t) {
446
+ var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
447
+ if (n != null) {
448
+ var r, i, a, o, s = [], c = !0, l = !1;
449
+ try {
450
+ if (a = (n = n.call(e)).next, t !== 0) for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
451
+ } catch (e) {
452
+ l = !0, i = e;
453
+ } finally {
454
+ try {
455
+ if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
456
+ } finally {
457
+ if (l) throw i;
458
+ }
459
+ }
460
+ return s;
461
+ }
462
+ }
463
+ function oe() {
464
+ throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
465
+ }
466
+ function se(e, t) {
467
+ return ie(e) || ae(e, t) || ce(e, t) || oe();
468
+ }
469
+ function ce(e, t) {
470
+ if (e) {
471
+ if (typeof e == "string") return re(e, t);
472
+ var n = {}.toString.call(e).slice(8, -1);
473
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? re(e, t) : void 0;
474
+ }
475
+ }
476
+ var le = Object.entries, ue = Object.setPrototypeOf, de = Object.isFrozen, fe = Object.getPrototypeOf, pe = Object.getOwnPropertyDescriptor, C = Object.freeze, w = Object.seal, me = Object.create, T = typeof Reflect < "u" && Reflect, he = T.apply, ge = T.construct;
477
+ C ||= function(e) {
478
+ return e;
479
+ }, w ||= function(e) {
480
+ return e;
481
+ }, he ||= function(e, t) {
482
+ var n = [...arguments].slice(2);
483
+ return e.apply(t, n);
484
+ }, ge ||= function(e) {
485
+ return new e(...[...arguments].slice(1));
486
+ };
487
+ var _e = O(Array.prototype.forEach), ve = O(Array.prototype.lastIndexOf), ye = O(Array.prototype.pop), be = O(Array.prototype.push), xe = O(Array.prototype.splice), Se = Array.isArray, Ce = O(String.prototype.toLowerCase), we = O(String.prototype.toString), Te = O(String.prototype.match), Ee = O(String.prototype.replace), De = O(String.prototype.indexOf), Oe = O(String.prototype.trim), ke = O(Number.prototype.toString), Ae = O(Boolean.prototype.toString), je = typeof BigInt > "u" ? null : O(BigInt.prototype.toString), Me = typeof Symbol > "u" ? null : O(Symbol.prototype.toString), E = O(Object.prototype.hasOwnProperty), Ne = O(Object.prototype.toString), D = O(RegExp.prototype.test), Pe = Fe(TypeError);
488
+ function O(e) {
489
+ return function(t) {
490
+ t instanceof RegExp && (t.lastIndex = 0);
491
+ var n = [...arguments].slice(1);
492
+ return he(e, t, n);
493
+ };
494
+ }
495
+ function Fe(e) {
496
+ return function() {
497
+ return ge(e, [...arguments]);
498
+ };
499
+ }
500
+ function k(e, t) {
501
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ce;
502
+ if (ue && ue(e, null), !Se(t)) return e;
503
+ let r = t.length;
504
+ for (; r--;) {
505
+ let i = t[r];
506
+ if (typeof i == "string") {
507
+ let e = n(i);
508
+ e !== i && (de(t) || (t[r] = e), i = e);
509
+ }
510
+ e[i] = !0;
511
+ }
512
+ return e;
513
+ }
514
+ function A(e) {
515
+ for (let t = 0; t < e.length; t++) E(e, t) || (e[t] = null);
516
+ return e;
517
+ }
518
+ function j(e) {
519
+ let t = me(null);
520
+ for (let r of le(e)) {
521
+ var n = se(r, 2);
522
+ let i = n[0], a = n[1];
523
+ E(e, i) && (Se(a) ? t[i] = A(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = j(a) : t[i] = a);
524
+ }
525
+ return t;
526
+ }
527
+ function Ie(e) {
528
+ switch (typeof e) {
529
+ case "string": return e;
530
+ case "number": return ke(e);
531
+ case "boolean": return Ae(e);
532
+ case "bigint": return je ? je(e) : "0";
533
+ case "symbol": return Me ? Me(e) : "Symbol()";
534
+ case "undefined": return Ne(e);
535
+ case "function":
536
+ case "object": {
537
+ if (e === null) return Ne(e);
538
+ let t = e, n = M(t, "toString");
539
+ if (typeof n == "function") {
540
+ let e = n(t);
541
+ return typeof e == "string" ? e : Ne(e);
542
+ }
543
+ return Ne(e);
544
+ }
545
+ default: return Ne(e);
546
+ }
547
+ }
548
+ function M(e, t) {
549
+ for (; e !== null;) {
550
+ let n = pe(e, t);
551
+ if (n) {
552
+ if (n.get) return O(n.get);
553
+ if (typeof n.value == "function") return O(n.value);
554
+ }
555
+ e = fe(e);
556
+ }
557
+ function n() {
558
+ return null;
559
+ }
560
+ return n;
561
+ }
562
+ function Le(e) {
563
+ try {
564
+ return D(e, ""), !0;
565
+ } catch {
566
+ return !1;
567
+ }
568
+ }
569
+ var Re = C(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), ze = C(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Be = C([
570
+ "feBlend",
571
+ "feColorMatrix",
572
+ "feComponentTransfer",
573
+ "feComposite",
574
+ "feConvolveMatrix",
575
+ "feDiffuseLighting",
576
+ "feDisplacementMap",
577
+ "feDistantLight",
578
+ "feDropShadow",
579
+ "feFlood",
580
+ "feFuncA",
581
+ "feFuncB",
582
+ "feFuncG",
583
+ "feFuncR",
584
+ "feGaussianBlur",
585
+ "feImage",
586
+ "feMerge",
587
+ "feMergeNode",
588
+ "feMorphology",
589
+ "feOffset",
590
+ "fePointLight",
591
+ "feSpecularLighting",
592
+ "feSpotLight",
593
+ "feTile",
594
+ "feTurbulence"
595
+ ]), Ve = C([
596
+ "animate",
597
+ "color-profile",
598
+ "cursor",
599
+ "discard",
600
+ "font-face",
601
+ "font-face-format",
602
+ "font-face-name",
603
+ "font-face-src",
604
+ "font-face-uri",
605
+ "foreignobject",
606
+ "hatch",
607
+ "hatchpath",
608
+ "mesh",
609
+ "meshgradient",
610
+ "meshpatch",
611
+ "meshrow",
612
+ "missing-glyph",
613
+ "script",
614
+ "set",
615
+ "solidcolor",
616
+ "unknown",
617
+ "use"
618
+ ]), He = C(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), Ue = C([
619
+ "maction",
620
+ "maligngroup",
621
+ "malignmark",
622
+ "mlongdiv",
623
+ "mscarries",
624
+ "mscarry",
625
+ "msgroup",
626
+ "mstack",
627
+ "msline",
628
+ "msrow",
629
+ "semantics",
630
+ "annotation",
631
+ "annotation-xml",
632
+ "mprescripts",
633
+ "none"
634
+ ]), We = C(["#text"]), Ge = C(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), Ke = C(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), qe = C(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Je = C([
635
+ "xlink:href",
636
+ "xml:id",
637
+ "xlink:title",
638
+ "xml:space",
639
+ "xmlns:xlink"
640
+ ]), Ye = w(/{{[\w\W]*|^[\w\W]*}}/g), Xe = w(/<%[\w\W]*|^[\w\W]*%>/g), Ze = w(/\${[\w\W]*/g), Qe = w(/^data-[\-\w.\u00B7-\uFFFF]+$/), $e = w(/^aria-[\-\w]+$/), et = w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), tt = w(/^(?:\w+script|data):/i), nt = w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), rt = w(/^html$/i), it = w(/^[a-z][.\w]*(-[.\w]+)+$/i), at = w(/<[/\w!]/g), ot = w(/<[/\w]/g), st = w(/<\/no(script|embed|frames)/i), ct = w(/\/>/i), N = {
641
+ element: 1,
642
+ attribute: 2,
643
+ text: 3,
644
+ cdataSection: 4,
645
+ entityReference: 5,
646
+ entityNode: 6,
647
+ processingInstruction: 7,
648
+ comment: 8,
649
+ document: 9,
650
+ documentType: 10,
651
+ documentFragment: 11,
652
+ notation: 12
653
+ }, lt = function() {
654
+ return typeof window > "u" ? null : window;
655
+ }, ut = function(e, t) {
656
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
657
+ let n = null, r = "data-tt-policy-suffix";
658
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
659
+ let i = "dompurify" + (n ? "#" + n : "");
660
+ try {
661
+ return e.createPolicy(i, {
662
+ createHTML(e) {
663
+ return e;
664
+ },
665
+ createScriptURL(e) {
666
+ return e;
667
+ }
668
+ });
669
+ } catch {
670
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
671
+ }
672
+ }, dt = function() {
673
+ return {
674
+ afterSanitizeAttributes: [],
675
+ afterSanitizeElements: [],
676
+ afterSanitizeShadowDOM: [],
677
+ beforeSanitizeAttributes: [],
678
+ beforeSanitizeElements: [],
679
+ beforeSanitizeShadowDOM: [],
680
+ uponSanitizeAttribute: [],
681
+ uponSanitizeElement: [],
682
+ uponSanitizeShadowNode: []
683
+ };
684
+ }, ft = function(e, t, n, r) {
685
+ return E(e, t) && Se(e[t]) ? k(r.base ? j(r.base) : {}, e[t], r.transform) : n;
686
+ };
687
+ function pt() {
688
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : lt(), t = (e) => pt(e);
689
+ if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== N.document || !e.Element) return t.isSupported = !1, t;
690
+ let n = e.document, r = n, i = r.currentScript;
691
+ e.DocumentFragment;
692
+ let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
693
+ e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
694
+ let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = M(d, "cloneNode"), p = M(d, "remove"), m = M(d, "nextSibling"), h = M(d, "childNodes"), g = M(d, "parentNode"), ee = M(d, "shadowRoot"), te = M(d, "attributes"), _ = o && o.prototype ? M(o.prototype, "nodeType") : null, v = o && o.prototype ? M(o.prototype, "nodeName") : null;
695
+ if (typeof a == "function") {
696
+ let e = n.createElement("template");
697
+ e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
698
+ }
699
+ let y, b = "", x, ne = !1, S = 0, re = function() {
700
+ if (S > 0) throw Pe("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
701
+ }, ie = function(e) {
702
+ re(), S++;
703
+ try {
704
+ return y.createHTML(e);
705
+ } finally {
706
+ S--;
707
+ }
708
+ }, ae = function(e) {
709
+ re(), S++;
710
+ try {
711
+ return y.createScriptURL(e);
712
+ } finally {
713
+ S--;
714
+ }
715
+ }, oe = function() {
716
+ return ne ||= (x = ut(u, i), !0), x;
717
+ }, se = n, ce = se.implementation, ue = se.createNodeIterator, de = se.createDocumentFragment, fe = se.getElementsByTagName, pe = r.importNode, T = dt();
718
+ t.isSupported = typeof le == "function" && typeof g == "function" && ce && ce.createHTMLDocument !== void 0;
719
+ let he = Ye, ge = Xe, ke = Ze, Ae = Qe, je = $e, Me = tt, Ne = nt, O = it, Fe = et, A = null, P = k({}, [
720
+ ...Re,
721
+ ...ze,
722
+ ...Be,
723
+ ...He,
724
+ ...We
725
+ ]), F = null, I = k({}, [
726
+ ...Ge,
727
+ ...Ke,
728
+ ...qe,
729
+ ...Je
730
+ ]), L = Object.seal(me(null, {
731
+ tagNameCheck: {
732
+ writable: !0,
733
+ configurable: !1,
734
+ enumerable: !0,
735
+ value: null
736
+ },
737
+ attributeNameCheck: {
738
+ writable: !0,
739
+ configurable: !1,
740
+ enumerable: !0,
741
+ value: null
742
+ },
743
+ allowCustomizedBuiltInElements: {
744
+ writable: !0,
745
+ configurable: !1,
746
+ enumerable: !0,
747
+ value: !1
748
+ }
749
+ })), R = null, z = null, B = Object.seal(me(null, {
750
+ tagCheck: {
751
+ writable: !0,
752
+ configurable: !1,
753
+ enumerable: !0,
754
+ value: null
755
+ },
756
+ attributeCheck: {
757
+ writable: !0,
758
+ configurable: !1,
759
+ enumerable: !0,
760
+ value: null
761
+ }
762
+ })), mt = !0, ht = !0, gt = !1, _t = !0, V = !1, vt = !0, H = !1, yt = !1, bt = null, xt = null, St = !1, Ct = !1, wt = !1, Tt = !1, Et = !0, Dt = !1, Ot = "user-content-", kt = !0, At = !1, jt = {}, U = null, W = k({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Mt = null, Nt = k({}, [
763
+ "audio",
764
+ "video",
765
+ "img",
766
+ "source",
767
+ "image",
768
+ "track"
769
+ ]), Pt = null, Ft = k({}, [
770
+ "alt",
771
+ "class",
772
+ "for",
773
+ "id",
774
+ "label",
775
+ "name",
776
+ "pattern",
777
+ "placeholder",
778
+ "role",
779
+ "summary",
780
+ "title",
781
+ "value",
782
+ "style",
783
+ "xmlns"
784
+ ]), It = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", Rt = G, zt = !1, Bt = null, K = k({}, [
785
+ It,
786
+ Lt,
787
+ G
788
+ ], we), Vt = C([
789
+ "mi",
790
+ "mo",
791
+ "mn",
792
+ "ms",
793
+ "mtext"
794
+ ]), q = k({}, Vt), Ht = C(["annotation-xml"]), Ut = k({}, Ht), Wt = k({}, [
795
+ "title",
796
+ "style",
797
+ "font",
798
+ "a",
799
+ "script"
800
+ ]), Gt = null, Kt = ["application/xhtml+xml", "text/html"], J = null, qt = null, Jt = n.createElement("form"), Yt = function(e) {
801
+ return e instanceof RegExp || e instanceof Function;
802
+ }, Xt = function() {
803
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
804
+ if (qt && qt === e) return;
805
+ (!e || typeof e != "object") && (e = {}), e = j(e), Gt = Kt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Gt === "application/xhtml+xml" ? we : Ce, A = ft(e, "ALLOWED_TAGS", P, { transform: J }), F = ft(e, "ALLOWED_ATTR", I, { transform: J }), Bt = ft(e, "ALLOWED_NAMESPACES", K, { transform: we }), Pt = ft(e, "ADD_URI_SAFE_ATTR", Ft, {
806
+ transform: J,
807
+ base: Ft
808
+ }), Mt = ft(e, "ADD_DATA_URI_TAGS", Nt, {
809
+ transform: J,
810
+ base: Nt
811
+ }), U = ft(e, "FORBID_CONTENTS", W, { transform: J }), R = ft(e, "FORBID_TAGS", j({}), { transform: J }), z = ft(e, "FORBID_ATTR", j({}), { transform: J }), jt = E(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? j(e.USE_PROFILES) : e.USE_PROFILES : !1, mt = e.ALLOW_ARIA_ATTR !== !1, ht = e.ALLOW_DATA_ATTR !== !1, gt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, _t = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = e.SAFE_FOR_TEMPLATES || !1, vt = e.SAFE_FOR_XML !== !1, H = e.WHOLE_DOCUMENT || !1, Ct = e.RETURN_DOM || !1, wt = e.RETURN_DOM_FRAGMENT || !1, Tt = e.RETURN_TRUSTED_TYPE || !1, St = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, Dt = e.SANITIZE_NAMED_PROPS || !1, kt = e.KEEP_CONTENT !== !1, At = e.IN_PLACE || !1, Fe = Le(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : et, Rt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, q = E(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? j(e.MATHML_TEXT_INTEGRATION_POINTS) : k({}, Vt), Ut = E(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? j(e.HTML_INTEGRATION_POINTS) : k({}, Ht);
812
+ let t = E(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? j(e.CUSTOM_ELEMENT_HANDLING) : me(null);
813
+ if (L = me(null), E(t, "tagNameCheck") && Yt(t.tagNameCheck) && (L.tagNameCheck = t.tagNameCheck), E(t, "attributeNameCheck") && Yt(t.attributeNameCheck) && (L.attributeNameCheck = t.attributeNameCheck), E(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), w(L), V && (ht = !1), wt && (Ct = !0), jt && (A = k({}, We), F = me(null), jt.html === !0 && (k(A, Re), k(F, Ge)), jt.svg === !0 && (k(A, ze), k(F, Ke), k(F, Je)), jt.svgFilters === !0 && (k(A, Be), k(F, Ke), k(F, Je)), jt.mathMl === !0 && (k(A, He), k(F, qe), k(F, Je))), B.tagCheck = null, B.attributeCheck = null, E(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? B.tagCheck = e.ADD_TAGS : Se(e.ADD_TAGS) && (A === P && (A = j(A)), k(A, e.ADD_TAGS, J))), E(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? B.attributeCheck = e.ADD_ATTR : Se(e.ADD_ATTR) && (F === I && (F = j(F)), k(F, e.ADD_ATTR, J))), E(e, "ADD_URI_SAFE_ATTR") && Se(e.ADD_URI_SAFE_ATTR) && k(Pt, e.ADD_URI_SAFE_ATTR, J), E(e, "FORBID_CONTENTS") && Se(e.FORBID_CONTENTS) && (U === W && (U = j(U)), k(U, e.FORBID_CONTENTS, J)), E(e, "ADD_FORBID_CONTENTS") && Se(e.ADD_FORBID_CONTENTS) && (U === W && (U = j(U)), k(U, e.ADD_FORBID_CONTENTS, J)), kt && (A["#text"] = !0), H && k(A, [
814
+ "html",
815
+ "head",
816
+ "body"
817
+ ]), A.table && (k(A, ["tbody"]), delete R.tbody), e.TRUSTED_TYPES_POLICY) {
818
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Pe("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
819
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Pe("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
820
+ let t = y;
821
+ y = e.TRUSTED_TYPES_POLICY;
822
+ try {
823
+ b = ie("");
824
+ } catch (e) {
825
+ throw y = t, e;
826
+ }
827
+ } else e.TRUSTED_TYPES_POLICY === null ? (y = void 0, b = "") : (y === void 0 && (y = oe()), y && typeof b == "string" && (b = ie("")));
828
+ C && C(e), qt = e;
829
+ }, Zt = k({}, [
830
+ ...ze,
831
+ ...Be,
832
+ ...Ve
833
+ ]), Qt = k({}, [...He, ...Ue]), $t = function(e, t, n) {
834
+ return t.namespaceURI === G ? e === "svg" : t.namespaceURI === It ? e === "svg" && (n === "annotation-xml" || q[n]) : !!Zt[e];
835
+ }, en = function(e, t, n) {
836
+ return t.namespaceURI === G ? e === "math" : t.namespaceURI === Lt ? e === "math" && Ut[n] : !!Qt[e];
837
+ }, tn = function(e, t, n) {
838
+ return t.namespaceURI === Lt && !Ut[n] || t.namespaceURI === It && !q[n] ? !1 : !Qt[e] && (Wt[e] || !Zt[e]);
839
+ }, nn = function(e) {
840
+ let t = g(e);
841
+ (!t || !t.tagName) && (t = {
842
+ namespaceURI: Rt,
843
+ tagName: "template"
844
+ });
845
+ let n = Ce(e.tagName), r = Ce(t.tagName);
846
+ return Bt[e.namespaceURI] ? e.namespaceURI === Lt ? $t(n, t, r) : e.namespaceURI === It ? en(n, t, r) : e.namespaceURI === G ? tn(n, t, r) : !!(Gt === "application/xhtml+xml" && Bt[e.namespaceURI]) : !1;
847
+ }, Y = function(e) {
848
+ be(t.removed, { element: e });
849
+ try {
850
+ g(e).removeChild(e);
851
+ } catch {
852
+ if (p(e), !g(e)) throw Pe("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
853
+ }
854
+ }, rn = function(e) {
855
+ let t = h(e);
856
+ if (t) {
857
+ let e = [];
858
+ _e(t, (t) => {
859
+ be(e, t);
860
+ }), _e(e, (e) => {
861
+ try {
862
+ p(e);
863
+ } catch {}
864
+ });
865
+ }
866
+ let n = te(e);
867
+ if (n) for (let t = n.length - 1; t >= 0; --t) {
868
+ let r = n[t], i = r && r.name;
869
+ if (typeof i == "string") try {
870
+ e.removeAttribute(i);
871
+ } catch {}
872
+ }
873
+ }, X = function(e, n) {
874
+ try {
875
+ be(t.removed, {
876
+ attribute: n.getAttributeNode(e),
877
+ from: n
878
+ });
879
+ } catch {
880
+ be(t.removed, {
881
+ attribute: null,
882
+ from: n
883
+ });
884
+ }
885
+ if (n.removeAttribute(e), e === "is") if (Ct || wt) try {
886
+ Y(n);
887
+ } catch {}
888
+ else try {
889
+ n.setAttribute(e, "");
890
+ } catch {}
891
+ }, an = function(e) {
892
+ let t = te(e);
893
+ if (t) for (let n = t.length - 1; n >= 0; --n) {
894
+ let r = t[n], i = r && r.name;
895
+ if (!(typeof i != "string" || F[J(i)])) try {
896
+ e.removeAttribute(i);
897
+ } catch {}
898
+ }
899
+ }, on = function(e) {
900
+ let t = [e];
901
+ for (; t.length > 0;) {
902
+ let e = t.pop();
903
+ (_ ? _(e) : e.nodeType) === N.element && an(e);
904
+ let n = h(e);
905
+ if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
906
+ }
907
+ }, sn = function(e) {
908
+ let t = null, r = null;
909
+ if (St) e = "<remove></remove>" + e;
910
+ else {
911
+ let t = Te(e, /^[\r\n\t ]+/);
912
+ r = t && t[0];
913
+ }
914
+ Gt === "application/xhtml+xml" && Rt === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
915
+ let i = y ? ie(e) : e;
916
+ if (Rt === G) try {
917
+ t = new l().parseFromString(i, Gt);
918
+ } catch {}
919
+ if (!t || !t.documentElement) {
920
+ t = ce.createDocument(Rt, "template", null);
921
+ try {
922
+ t.documentElement.innerHTML = zt ? b : i;
923
+ } catch {}
924
+ }
925
+ let a = t.body || t.documentElement;
926
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Rt === G ? fe.call(t, H ? "html" : "body")[0] : H ? t.documentElement : a;
927
+ }, cn = function(e) {
928
+ return ue.call(e.ownerDocument || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
929
+ }, ln = function(e) {
930
+ return e = Ee(e, he, " "), e = Ee(e, ge, " "), e = Ee(e, ke, " "), e;
931
+ }, un = function(e) {
932
+ e.normalize();
933
+ let t = ue.call(e.ownerDocument || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
934
+ for (; n;) n.data = ln(n.data), n = t.nextNode();
935
+ let r = e.querySelectorAll?.call(e, "template");
936
+ r && _e(r, (e) => {
937
+ Z(e.content) && un(e.content);
938
+ });
939
+ }, dn = function(e) {
940
+ let t = v ? v(e) : null;
941
+ return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== te(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== _(e) || e.childNodes !== h(e);
942
+ }, Z = function(e) {
943
+ if (!_ || typeof e != "object" || !e) return !1;
944
+ try {
945
+ return _(e) === N.documentFragment;
946
+ } catch {
947
+ return !1;
948
+ }
949
+ }, fn = function(e) {
950
+ if (!_ || typeof e != "object" || !e) return !1;
951
+ try {
952
+ return typeof _(e) == "number";
953
+ } catch {
954
+ return !1;
955
+ }
956
+ };
957
+ function Q(e, n, r) {
958
+ e.length !== 0 && _e(e, (e) => {
959
+ e.call(t, n, r, qt);
960
+ });
961
+ }
962
+ let pn = function(e, t) {
963
+ return !!(vt && e.hasChildNodes() && !fn(e.firstElementChild) && D(at, e.textContent) && D(at, e.innerHTML) || vt && e.namespaceURI === G && t === "style" && fn(e.firstElementChild) || e.nodeType === N.processingInstruction || vt && e.nodeType === N.comment && D(ot, e.data));
964
+ }, mn = function(e, t) {
965
+ if (!R[t] && _n(t) && (L.tagNameCheck instanceof RegExp && D(L.tagNameCheck, t) || L.tagNameCheck instanceof Function && L.tagNameCheck(t))) return !1;
966
+ if (kt && !U[t]) {
967
+ let t = g(e), n = h(e);
968
+ if (n && t) {
969
+ let r = n.length;
970
+ for (let i = r - 1; i >= 0; --i) {
971
+ let r = At ? n[i] : f(n[i], !0);
972
+ t.insertBefore(r, m(e));
973
+ }
974
+ }
975
+ }
976
+ return Y(e), !0;
977
+ }, hn = function(e) {
978
+ if (Q(T.beforeSanitizeElements, e, null), dn(e)) return Y(e), !0;
979
+ let n = J(v ? v(e) : e.nodeName);
980
+ if (Q(T.uponSanitizeElement, e, {
981
+ tagName: n,
982
+ allowedTags: A
983
+ }), pn(e, n)) return Y(e), !0;
984
+ if (R[n] || !(B.tagCheck instanceof Function && B.tagCheck(n)) && !A[n]) return mn(e, n);
985
+ if ((_ ? _(e) : e.nodeType) === N.element && !nn(e) || (n === "noscript" || n === "noembed" || n === "noframes") && D(st, e.innerHTML)) return Y(e), !0;
986
+ if (V && e.nodeType === N.text) {
987
+ let n = ln(e.textContent);
988
+ e.textContent !== n && (be(t.removed, { element: e.cloneNode() }), e.textContent = n);
989
+ }
990
+ return Q(T.afterSanitizeElements, e, null), !1;
991
+ }, $ = function(e, t, r) {
992
+ if (z[t] || Et && (t === "id" || t === "name") && (r in n || r in Jt)) return !1;
993
+ let i = F[t] || B.attributeCheck instanceof Function && B.attributeCheck(t, e);
994
+ if (!(ht && D(Ae, t)) && !(mt && D(je, t))) {
995
+ if (!i) {
996
+ if (!(_n(e) && (L.tagNameCheck instanceof RegExp && D(L.tagNameCheck, e) || L.tagNameCheck instanceof Function && L.tagNameCheck(e)) && (L.attributeNameCheck instanceof RegExp && D(L.attributeNameCheck, t) || L.attributeNameCheck instanceof Function && L.attributeNameCheck(t, e)) || t === "is" && L.allowCustomizedBuiltInElements && (L.tagNameCheck instanceof RegExp && D(L.tagNameCheck, r) || L.tagNameCheck instanceof Function && L.tagNameCheck(r)))) return !1;
997
+ } else if (!Pt[t] && !D(Fe, Ee(r, Ne, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && De(r, "data:") === 0 && Mt[e]) && !(gt && !D(Me, Ee(r, Ne, ""))) && r) return !1;
998
+ }
999
+ return !0;
1000
+ }, gn = k({}, [
1001
+ "annotation-xml",
1002
+ "color-profile",
1003
+ "font-face",
1004
+ "font-face-format",
1005
+ "font-face-name",
1006
+ "font-face-src",
1007
+ "font-face-uri",
1008
+ "missing-glyph"
1009
+ ]), _n = function(e) {
1010
+ return !gn[Ce(e)] && D(O, e);
1011
+ }, vn = function(e, t, n, r) {
1012
+ if (y && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
1013
+ case "TrustedHTML": return ie(r);
1014
+ case "TrustedScriptURL": return ae(r);
1015
+ }
1016
+ return r;
1017
+ }, yn = function(e, n, r, i) {
1018
+ try {
1019
+ r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), dn(e) ? Y(e) : ye(t.removed);
1020
+ } catch {
1021
+ X(n, e);
1022
+ }
1023
+ }, bn = function(e) {
1024
+ Q(T.beforeSanitizeAttributes, e, null);
1025
+ let t = e.attributes;
1026
+ if (!t || dn(e)) return;
1027
+ let n = {
1028
+ attrName: "",
1029
+ attrValue: "",
1030
+ keepAttr: !0,
1031
+ allowedAttributes: F,
1032
+ forceKeepAttr: void 0
1033
+ }, r = t.length, i = J(e.nodeName);
1034
+ for (; r--;) {
1035
+ let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u : Oe(u);
1036
+ if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, Q(T.uponSanitizeAttribute, e, n), d = n.attrValue, Dt && (l === "id" || l === "name") && De(d, Ot) !== 0 && (X(o, e), d = Ot + d), vt && D(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
1037
+ X(o, e);
1038
+ continue;
1039
+ }
1040
+ if (l === "attributename" && Te(d, "href")) {
1041
+ X(o, e);
1042
+ continue;
1043
+ }
1044
+ if (!n.forceKeepAttr) {
1045
+ if (!n.keepAttr) {
1046
+ X(o, e);
1047
+ continue;
1048
+ }
1049
+ if (!_t && D(ct, d)) {
1050
+ X(o, e);
1051
+ continue;
1052
+ }
1053
+ if (V && (d = ln(d)), !$(i, l, d)) {
1054
+ X(o, e);
1055
+ continue;
1056
+ }
1057
+ d = vn(i, l, s, d), d !== u && yn(e, o, s, d);
1058
+ }
1059
+ }
1060
+ Q(T.afterSanitizeAttributes, e, null);
1061
+ }, xn = function(e) {
1062
+ let t = null, n = cn(e);
1063
+ for (Q(T.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Q(T.uponSanitizeShadowNode, t, null), hn(t), bn(t), Z(t.content) && xn(t.content), (_ ? _(t) : t.nodeType) === N.element) {
1064
+ let e = ee(t);
1065
+ Z(e) && (Sn(e), xn(e));
1066
+ }
1067
+ Q(T.afterSanitizeShadowDOM, e, null);
1068
+ }, Sn = function(e) {
1069
+ let t = [{
1070
+ node: e,
1071
+ shadow: null
1072
+ }];
1073
+ for (; t.length > 0;) {
1074
+ let e = t.pop();
1075
+ if (e.shadow) {
1076
+ xn(e.shadow);
1077
+ continue;
1078
+ }
1079
+ let n = e.node, r = (_ ? _(n) : n.nodeType) === N.element, i = h(n);
1080
+ if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
1081
+ node: i[e],
1082
+ shadow: null
1083
+ });
1084
+ if (r) {
1085
+ let e = v ? v(n) : null;
1086
+ if (typeof e == "string" && J(e) === "template") {
1087
+ let e = n.content;
1088
+ Z(e) && t.push({
1089
+ node: e,
1090
+ shadow: null
1091
+ });
1092
+ }
1093
+ }
1094
+ if (r) {
1095
+ let e = ee(n);
1096
+ Z(e) && t.push({
1097
+ node: null,
1098
+ shadow: e
1099
+ }, {
1100
+ node: e,
1101
+ shadow: null
1102
+ });
1103
+ }
1104
+ }
1105
+ };
1106
+ return t.sanitize = function(e) {
1107
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
1108
+ if (zt = !e, zt && (e = "<!-->"), typeof e != "string" && !fn(e) && (e = Ie(e), typeof e != "string")) throw Pe("dirty is not a string, aborting");
1109
+ if (!t.isSupported) return e;
1110
+ yt ? (A = bt, F = xt) : Xt(n), (T.uponSanitizeElement.length > 0 || T.uponSanitizeAttribute.length > 0) && (A = j(A)), T.uponSanitizeAttribute.length > 0 && (F = j(F)), t.removed = [];
1111
+ let c = At && typeof e != "string" && fn(e);
1112
+ if (c) {
1113
+ let t = v ? v(e) : e.nodeName;
1114
+ if (typeof t == "string") {
1115
+ let e = J(t);
1116
+ if (!A[e] || R[e]) throw Pe("root node is forbidden and cannot be sanitized in-place");
1117
+ }
1118
+ if (dn(e)) throw Pe("root node is clobbered and cannot be sanitized in-place");
1119
+ try {
1120
+ Sn(e);
1121
+ } catch (t) {
1122
+ throw rn(e), t;
1123
+ }
1124
+ } else if (fn(e)) i = sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === N.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Sn(a);
1125
+ else {
1126
+ if (!Ct && !V && !H && e.indexOf("<") === -1) return y && Tt ? ie(e) : e;
1127
+ if (i = sn(e), !i) return Ct ? null : Tt ? b : "";
1128
+ }
1129
+ i && St && Y(i.firstChild);
1130
+ let l = cn(c ? e : i);
1131
+ try {
1132
+ for (; o = l.nextNode();) hn(o), bn(o), Z(o.content) && xn(o.content);
1133
+ } catch (t) {
1134
+ throw c && rn(e), t;
1135
+ }
1136
+ if (c) return _e(t.removed, (e) => {
1137
+ e.element && on(e.element);
1138
+ }), V && un(e), e;
1139
+ if (Ct) {
1140
+ if (V && un(i), wt) for (s = de.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
1141
+ else s = i;
1142
+ return (F.shadowroot || F.shadowrootmode) && (s = pe.call(r, s, !0)), s;
1143
+ }
1144
+ let u = H ? i.outerHTML : i.innerHTML;
1145
+ return H && A["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && D(rt, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), V && (u = ln(u)), y && Tt ? ie(u) : u;
1146
+ }, t.setConfig = function() {
1147
+ Xt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), yt = !0, bt = A, xt = F;
1148
+ }, t.clearConfig = function() {
1149
+ qt = null, yt = !1, bt = null, xt = null, y = x, b = "";
1150
+ }, t.isValidAttribute = function(e, t, n) {
1151
+ return qt || Xt({}), $(J(e), J(t), n);
1152
+ }, t.addHook = function(e, t) {
1153
+ typeof t == "function" && E(T, e) && be(T[e], t);
1154
+ }, t.removeHook = function(e, t) {
1155
+ if (E(T, e)) {
1156
+ if (t !== void 0) {
1157
+ let n = ve(T[e], t);
1158
+ return n === -1 ? void 0 : xe(T[e], n, 1)[0];
1159
+ }
1160
+ return ye(T[e]);
1161
+ }
1162
+ }, t.removeHooks = function(e) {
1163
+ E(T, e) && (T[e] = []);
1164
+ }, t.removeAllHooks = function() {
1165
+ T = dt();
1166
+ }, t;
1167
+ }
1168
+ var P = pt(), F = /* @__PURE__ */ e((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
1169
+ let i = {
1170
+ depth: n,
1171
+ clobber: r
1172
+ };
1173
+ return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => F(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
1174
+ e.includes(t) || e.push(t);
1175
+ }), e) : e === void 0 || n <= 0 ? typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t : (t !== void 0 && typeof e == "object" && typeof t == "object" && Object.keys(t).forEach((i) => {
1176
+ typeof t[i] == "object" && t[i] !== null && (e[i] === void 0 || typeof e[i] == "object") ? (e[i] === void 0 && (e[i] = Array.isArray(t[i]) ? [] : {}), e[i] = F(e[i], t[i], {
1177
+ depth: n - 1,
1178
+ clobber: r
1179
+ })) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
1180
+ }), e);
1181
+ }, "assignWithDepth"), I = F, L = "#ffffff", R = "#f2f2f2", z = /* @__PURE__ */ e((e, t) => t ? x(e, {
1182
+ s: -40,
1183
+ l: 10
1184
+ }) : x(e, {
1185
+ s: -40,
1186
+ l: -10
1187
+ }), "mkBorder"), B = class {
1188
+ static {
1189
+ e(this, "Theme");
1190
+ }
1191
+ constructor() {
1192
+ this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.useGradient = !0, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
1193
+ }
1194
+ updateColors() {
1195
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
1196
+ h: 180,
1197
+ l: 5
1198
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || b(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || b(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || y(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, {
1199
+ h: 210,
1200
+ l: 150
1201
+ }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
1202
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
1203
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
1204
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
1205
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1206
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1207
+ let e = this.darkMode ? -4 : -1;
1208
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
1209
+ h: 180,
1210
+ s: -15,
1211
+ l: e * (5 + t * 3)
1212
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
1213
+ h: 180,
1214
+ s: -15,
1215
+ l: e * (8 + t * 3)
1216
+ });
1217
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
1218
+ h: 60,
1219
+ l: -10
1220
+ }), this.pie8 = this.pie8 || x(this.primaryColor, {
1221
+ h: -60,
1222
+ l: -10
1223
+ }), this.pie9 = this.pie9 || x(this.primaryColor, {
1224
+ h: 120,
1225
+ l: 0
1226
+ }), this.pie10 = this.pie10 || x(this.primaryColor, {
1227
+ h: 60,
1228
+ l: -20
1229
+ }), this.pie11 = this.pie11 || x(this.primaryColor, {
1230
+ h: -60,
1231
+ l: -20
1232
+ }), this.pie12 = this.pie12 || x(this.primaryColor, {
1233
+ h: 120,
1234
+ l: -10
1235
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? x(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? x(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? x(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? x(this.primaryColor, {
1236
+ h: 60,
1237
+ l: -30
1238
+ }), this.venn5 = this.venn5 ?? x(this.primaryColor, {
1239
+ h: -60,
1240
+ l: -30
1241
+ }), this.venn6 = this.venn6 ?? x(this.secondaryColor, {
1242
+ h: 60,
1243
+ l: -30
1244
+ }), this.venn7 = this.venn7 ?? x(this.primaryColor, {
1245
+ h: 120,
1246
+ l: -30
1247
+ }), this.venn8 = this.venn8 ?? x(this.secondaryColor, {
1248
+ h: 120,
1249
+ l: -30
1250
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1251
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1252
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1253
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1254
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1255
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1256
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1257
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1258
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1259
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1260
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1261
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1262
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1263
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1264
+ textColor: this.cynefin?.textColor || this.textColor,
1265
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1266
+ }, this.radar = {
1267
+ axisColor: this.radar?.axisColor || this.lineColor,
1268
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1269
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1270
+ curveOpacity: this.radar?.curveOpacity || .5,
1271
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1272
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1273
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1274
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1275
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1276
+ legendFontSize: this.radar?.legendFontSize || 12
1277
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1278
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1279
+ axisColor: this.wardley?.axisColor || this.lineColor,
1280
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1281
+ gridColor: this.wardley?.gridColor || this.gridColor,
1282
+ componentFill: this.wardley?.componentFill || this.background,
1283
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1284
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1285
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1286
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1287
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1288
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1289
+ annotationFill: this.wardley?.annotationFill || this.background
1290
+ }, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
1291
+ r: 5,
1292
+ g: 5,
1293
+ b: 5
1294
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
1295
+ r: 10,
1296
+ g: 10,
1297
+ b: 10
1298
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
1299
+ r: 15,
1300
+ g: 15,
1301
+ b: 15
1302
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
1303
+ r: -5,
1304
+ g: -5,
1305
+ b: -5
1306
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
1307
+ r: -10,
1308
+ g: -10,
1309
+ b: -10
1310
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
1311
+ r: -15,
1312
+ g: -15,
1313
+ b: -15
1314
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1315
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1316
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1317
+ dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1318
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1319
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1320
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1321
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1322
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1323
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1324
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1325
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1326
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1327
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
1328
+ }
1329
+ calculate(e) {
1330
+ if (typeof e != "object") {
1331
+ this.updateColors();
1332
+ return;
1333
+ }
1334
+ let t = Object.keys(e);
1335
+ t.forEach((t) => {
1336
+ this[t] = e[t];
1337
+ }), this.updateColors(), t.forEach((t) => {
1338
+ this[t] = e[t];
1339
+ });
1340
+ }
1341
+ }, mt = /* @__PURE__ */ e((e) => {
1342
+ let t = new B();
1343
+ return t.calculate(e), t;
1344
+ }, "getThemeVariables"), ht = class {
1345
+ static {
1346
+ e(this, "Theme");
1347
+ }
1348
+ constructor() {
1349
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = g(255, 255, 255, .25), this.arrowheadColor = "calculated", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = b("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = b(this.sectionBkgColor, 10), this.taskBorderColor = g(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = g(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || y(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || b(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
1350
+ }
1351
+ updateColors() {
1352
+ this.secondBkg = y(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = y(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.background, this.taskBkgColor = y(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = S(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 });
1353
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
1354
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10);
1355
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
1356
+ h: 30,
1357
+ s: -30,
1358
+ l: -(-10 + e * 4)
1359
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
1360
+ h: 30,
1361
+ s: -30,
1362
+ l: -(-7 + e * 4)
1363
+ });
1364
+ this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
1365
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1366
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1367
+ this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.mainContrastColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.mainContrastColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
1368
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? y(this["cScale" + e], 30);
1369
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1370
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1371
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1372
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1373
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1374
+ cliffColor: this.cynefin?.cliffColor || "#FF6B6B",
1375
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1376
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1377
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1378
+ complexBg: this.cynefin?.complexBg || "#1B5E20",
1379
+ complicatedBg: this.cynefin?.complicatedBg || "#0D47A1",
1380
+ chaoticBg: this.cynefin?.chaoticBg || "#BF360C",
1381
+ clearBg: this.cynefin?.clearBg || "#F57F17",
1382
+ confusionBg: this.cynefin?.confusionBg || "#4A148C",
1383
+ textColor: this.cynefin?.textColor || this.textColor,
1384
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1385
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
1386
+ r: 5,
1387
+ g: 5,
1388
+ b: 5
1389
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
1390
+ r: 10,
1391
+ g: 10,
1392
+ b: 10
1393
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
1394
+ r: 15,
1395
+ g: 15,
1396
+ b: 15
1397
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
1398
+ r: -5,
1399
+ g: -5,
1400
+ b: -5
1401
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
1402
+ r: -10,
1403
+ g: -10,
1404
+ b: -10
1405
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
1406
+ r: -15,
1407
+ g: -15,
1408
+ b: -15
1409
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1410
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1411
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1412
+ dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1413
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1414
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1415
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1416
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1417
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1418
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1419
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1420
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1421
+ plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
1422
+ }, this.packet = {
1423
+ startByteColor: this.primaryTextColor,
1424
+ endByteColor: this.primaryTextColor,
1425
+ labelColor: this.primaryTextColor,
1426
+ titleColor: this.primaryTextColor,
1427
+ blockStrokeColor: this.primaryTextColor,
1428
+ blockFillColor: this.background
1429
+ }, this.radar = {
1430
+ axisColor: this.radar?.axisColor || this.lineColor,
1431
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1432
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1433
+ curveOpacity: this.radar?.curveOpacity || .5,
1434
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1435
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1436
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1437
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1438
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1439
+ legendFontSize: this.radar?.legendFontSize || 12
1440
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#ff6b6b", this.wardley = {
1441
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1442
+ axisColor: this.wardley?.axisColor || this.lineColor,
1443
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1444
+ gridColor: this.wardley?.gridColor || this.gridColor,
1445
+ componentFill: this.wardley?.componentFill || this.mainBkg,
1446
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1447
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1448
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1449
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1450
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1451
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1452
+ annotationFill: this.wardley?.annotationFill || this.mainBkg
1453
+ }, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = y(this.secondaryColor, 20), this.git1 = y(this.pie2 || this.secondaryColor, 20), this.git2 = y(this.pie3 || this.tertiaryColor, 20), this.git3 = y(this.pie4 || x(this.primaryColor, { h: -30 }), 20), this.git4 = y(this.pie5 || x(this.primaryColor, { h: -60 }), 20), this.git5 = y(this.pie6 || x(this.primaryColor, { h: -90 }), 10), this.git6 = y(this.pie7 || x(this.primaryColor, { h: 60 }), 10), this.git7 = y(this.pie8 || x(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || S(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || S(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "#2d2d2d", this.emUiStroke = this.emUiStroke || "#555", this.emProcessorFill = this.emProcessorFill || y("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || y("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || y("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || y("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || y(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || y(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || y(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || y(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1454
+ }
1455
+ calculate(e) {
1456
+ if (typeof e != "object") {
1457
+ this.updateColors();
1458
+ return;
1459
+ }
1460
+ let t = Object.keys(e);
1461
+ t.forEach((t) => {
1462
+ this[t] = e[t];
1463
+ }), this.updateColors(), t.forEach((t) => {
1464
+ this[t] = e[t];
1465
+ });
1466
+ }
1467
+ }, gt = /* @__PURE__ */ e((e) => {
1468
+ let t = new ht();
1469
+ return t.calculate(e), t;
1470
+ }, "getThemeVariables"), _t = class {
1471
+ static {
1472
+ e(this, "Theme");
1473
+ }
1474
+ constructor() {
1475
+ this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = x(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = g(102, 102, 255, .49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !1, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
1476
+ }
1477
+ updateColors() {
1478
+ this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || b(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || b(this.tertiaryColor, 40);
1479
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 25);
1480
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e], { h: 180 });
1481
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
1482
+ h: 30,
1483
+ l: -(5 + e * 5)
1484
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
1485
+ h: 30,
1486
+ l: -(7 + e * 5)
1487
+ });
1488
+ if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
1489
+ this.cScaleLabel0 = this.cScaleLabel0 || S(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || S(this.labelTextColor);
1490
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
1491
+ }
1492
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || y(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || y(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || x(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || x(this.primaryColor, {
1493
+ h: 60,
1494
+ l: -20
1495
+ }), this.pie8 = this.pie8 || x(this.primaryColor, {
1496
+ h: -60,
1497
+ l: -40
1498
+ }), this.pie9 = this.pie9 || x(this.primaryColor, {
1499
+ h: 120,
1500
+ l: -40
1501
+ }), this.pie10 = this.pie10 || x(this.primaryColor, {
1502
+ h: 60,
1503
+ l: -40
1504
+ }), this.pie11 = this.pie11 || x(this.primaryColor, {
1505
+ h: -90,
1506
+ l: -40
1507
+ }), this.pie12 = this.pie12 || x(this.primaryColor, {
1508
+ h: 120,
1509
+ l: -30
1510
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? x(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? x(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? x(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? x(this.primaryColor, {
1511
+ h: 60,
1512
+ l: -30
1513
+ }), this.venn5 = this.venn5 ?? x(this.primaryColor, {
1514
+ h: -60,
1515
+ l: -30
1516
+ }), this.venn6 = this.venn6 ?? x(this.secondaryColor, {
1517
+ h: 60,
1518
+ l: -30
1519
+ }), this.venn7 = this.venn7 ?? x(this.primaryColor, {
1520
+ h: 120,
1521
+ l: -30
1522
+ }), this.venn8 = this.venn8 ?? x(this.secondaryColor, {
1523
+ h: 120,
1524
+ l: -30
1525
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1526
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1527
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1528
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1529
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1530
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1531
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1532
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1533
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1534
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1535
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1536
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1537
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1538
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1539
+ textColor: this.cynefin?.textColor || this.textColor,
1540
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1541
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
1542
+ r: 5,
1543
+ g: 5,
1544
+ b: 5
1545
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
1546
+ r: 10,
1547
+ g: 10,
1548
+ b: 10
1549
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
1550
+ r: 15,
1551
+ g: 15,
1552
+ b: 15
1553
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
1554
+ r: -5,
1555
+ g: -5,
1556
+ b: -5
1557
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
1558
+ r: -10,
1559
+ g: -10,
1560
+ b: -10
1561
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
1562
+ r: -15,
1563
+ g: -15,
1564
+ b: -15
1565
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
1566
+ axisColor: this.radar?.axisColor || this.lineColor,
1567
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1568
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1569
+ curveOpacity: this.radar?.curveOpacity || .5,
1570
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1571
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1572
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1573
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1574
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1575
+ legendFontSize: this.radar?.legendFontSize || 12
1576
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1577
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1578
+ axisColor: this.wardley?.axisColor || this.lineColor,
1579
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1580
+ gridColor: this.wardley?.gridColor || this.gridColor,
1581
+ componentFill: this.wardley?.componentFill || this.background,
1582
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1583
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1584
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1585
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1586
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1587
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1588
+ annotationFill: this.wardley?.annotationFill || this.background
1589
+ }, this.xyChart = {
1590
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1591
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1592
+ dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1593
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1594
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1595
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1596
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1597
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1598
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1599
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1600
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1601
+ plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
1602
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || b(S(this.git0), 25), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || S(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || S(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
1603
+ }
1604
+ calculate(e) {
1605
+ if (Object.keys(this).forEach((e) => {
1606
+ this[e] === "calculated" && (this[e] = void 0);
1607
+ }), typeof e != "object") {
1608
+ this.updateColors();
1609
+ return;
1610
+ }
1611
+ let t = Object.keys(e);
1612
+ t.forEach((t) => {
1613
+ this[t] = e[t];
1614
+ }), this.updateColors(), t.forEach((t) => {
1615
+ this[t] = e[t];
1616
+ });
1617
+ }
1618
+ }, V = /* @__PURE__ */ e((e) => {
1619
+ let t = new _t();
1620
+ return t.calculate(e), t;
1621
+ }, "getThemeVariables"), vt = class {
1622
+ static {
1623
+ e(this, "Theme");
1624
+ }
1625
+ constructor() {
1626
+ this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.tertiaryColor = y("#cde498", 10), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.primaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
1627
+ }
1628
+ updateColors() {
1629
+ this.actorBorder = b(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || b(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || b(this.tertiaryColor, 40);
1630
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 25);
1631
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e], { h: 180 });
1632
+ this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
1633
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1634
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
1635
+ h: 30,
1636
+ s: -30,
1637
+ l: -(5 + e * 5)
1638
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
1639
+ h: 30,
1640
+ s: -30,
1641
+ l: -(8 + e * 5)
1642
+ });
1643
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || y(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || x(this.tertiaryColor, {
1644
+ h: 40,
1645
+ l: -40
1646
+ }), this.pie7 = this.pie7 || x(this.primaryColor, {
1647
+ h: 60,
1648
+ l: -10
1649
+ }), this.pie8 = this.pie8 || x(this.primaryColor, {
1650
+ h: -60,
1651
+ l: -10
1652
+ }), this.pie9 = this.pie9 || x(this.primaryColor, {
1653
+ h: 120,
1654
+ l: 0
1655
+ }), this.pie10 = this.pie10 || x(this.primaryColor, {
1656
+ h: 60,
1657
+ l: -50
1658
+ }), this.pie11 = this.pie11 || x(this.primaryColor, {
1659
+ h: -60,
1660
+ l: -50
1661
+ }), this.pie12 = this.pie12 || x(this.primaryColor, {
1662
+ h: 120,
1663
+ l: -50
1664
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? x(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? x(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? x(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? x(this.primaryColor, {
1665
+ h: 60,
1666
+ l: -30
1667
+ }), this.venn5 = this.venn5 ?? x(this.primaryColor, {
1668
+ h: -60,
1669
+ l: -30
1670
+ }), this.venn6 = this.venn6 ?? x(this.secondaryColor, {
1671
+ h: 60,
1672
+ l: -30
1673
+ }), this.venn7 = this.venn7 ?? x(this.primaryColor, {
1674
+ h: 120,
1675
+ l: -30
1676
+ }), this.venn8 = this.venn8 ?? x(this.secondaryColor, {
1677
+ h: 120,
1678
+ l: -30
1679
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1680
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1681
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1682
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1683
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1684
+ cliffColor: this.cynefin?.cliffColor || "#8B4513",
1685
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1686
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1687
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1688
+ complexBg: this.cynefin?.complexBg || "#C8E6C9",
1689
+ complicatedBg: this.cynefin?.complicatedBg || "#DCEDC8",
1690
+ chaoticBg: this.cynefin?.chaoticBg || "#FFE0B2",
1691
+ clearBg: this.cynefin?.clearBg || "#FFF9C4",
1692
+ confusionBg: this.cynefin?.confusionBg || "#D7CCC8",
1693
+ textColor: this.cynefin?.textColor || this.textColor,
1694
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1695
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
1696
+ r: 5,
1697
+ g: 5,
1698
+ b: 5
1699
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
1700
+ r: 10,
1701
+ g: 10,
1702
+ b: 10
1703
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
1704
+ r: 15,
1705
+ g: 15,
1706
+ b: 15
1707
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
1708
+ r: -5,
1709
+ g: -5,
1710
+ b: -5
1711
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
1712
+ r: -10,
1713
+ g: -10,
1714
+ b: -10
1715
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
1716
+ r: -15,
1717
+ g: -15,
1718
+ b: -15
1719
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
1720
+ startByteColor: this.primaryTextColor,
1721
+ endByteColor: this.primaryTextColor,
1722
+ labelColor: this.primaryTextColor,
1723
+ titleColor: this.primaryTextColor,
1724
+ blockStrokeColor: this.primaryTextColor,
1725
+ blockFillColor: this.mainBkg
1726
+ }, this.radar = {
1727
+ axisColor: this.radar?.axisColor || this.lineColor,
1728
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1729
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1730
+ curveOpacity: this.radar?.curveOpacity || .5,
1731
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1732
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1733
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1734
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1735
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1736
+ legendFontSize: this.radar?.legendFontSize || 12
1737
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1738
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1739
+ axisColor: this.wardley?.axisColor || this.lineColor,
1740
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1741
+ gridColor: this.wardley?.gridColor || this.gridColor,
1742
+ componentFill: this.wardley?.componentFill || this.background,
1743
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1744
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1745
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1746
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1747
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1748
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1749
+ annotationFill: this.wardley?.annotationFill || this.background
1750
+ }, this.xyChart = {
1751
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1752
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1753
+ dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1754
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1755
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1756
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1757
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1758
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1759
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1760
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1761
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1762
+ plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
1763
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || S(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || S(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
1764
+ }
1765
+ calculate(e) {
1766
+ if (typeof e != "object") {
1767
+ this.updateColors();
1768
+ return;
1769
+ }
1770
+ let t = Object.keys(e);
1771
+ t.forEach((t) => {
1772
+ this[t] = e[t];
1773
+ }), this.updateColors(), t.forEach((t) => {
1774
+ this[t] = e[t];
1775
+ });
1776
+ }
1777
+ }, H = /* @__PURE__ */ e((e) => {
1778
+ let t = new vt();
1779
+ return t.calculate(e), t;
1780
+ }, "getThemeVariables"), yt = class {
1781
+ static {
1782
+ e(this, "Theme");
1783
+ }
1784
+ constructor() {
1785
+ this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = y(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.lineColor = S(this.background), this.textColor = S(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || y(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
1786
+ }
1787
+ updateColors() {
1788
+ this.secondBkg = y(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = y(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
1789
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
1790
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
1791
+ this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1792
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1793
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, { l: -(8 + e * 5) });
1794
+ this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = y(this.contrast, 30), this.sectionBkgColor2 = y(this.contrast, 30), this.taskBorderColor = b(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = y(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = b(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = x(this.primaryColor, { h: 64 }), this.fillType3 = x(this.secondaryColor, { h: 64 }), this.fillType4 = x(this.primaryColor, { h: -64 }), this.fillType5 = x(this.secondaryColor, { h: -64 }), this.fillType6 = x(this.primaryColor, { h: 128 }), this.fillType7 = x(this.secondaryColor, { h: 128 });
1795
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1796
+ this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
1797
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
1798
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1799
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1800
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1801
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1802
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1803
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1804
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1805
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1806
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1807
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1808
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1809
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1810
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1811
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1812
+ textColor: this.cynefin?.textColor || this.textColor,
1813
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1814
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
1815
+ r: 5,
1816
+ g: 5,
1817
+ b: 5
1818
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
1819
+ r: 10,
1820
+ g: 10,
1821
+ b: 10
1822
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
1823
+ r: 15,
1824
+ g: 15,
1825
+ b: 15
1826
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
1827
+ r: -5,
1828
+ g: -5,
1829
+ b: -5
1830
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
1831
+ r: -10,
1832
+ g: -10,
1833
+ b: -10
1834
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
1835
+ r: -15,
1836
+ g: -15,
1837
+ b: -15
1838
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1839
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1840
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1841
+ dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1842
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1843
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1844
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1845
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1846
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1847
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1848
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1849
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1850
+ plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
1851
+ }, this.radar = {
1852
+ axisColor: this.radar?.axisColor || this.lineColor,
1853
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1854
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1855
+ curveOpacity: this.radar?.curveOpacity || .5,
1856
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1857
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1858
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1859
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1860
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1861
+ legendFontSize: this.radar?.legendFontSize || 12
1862
+ }, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
1863
+ backgroundColor: this.wardley?.backgroundColor || this.background,
1864
+ axisColor: this.wardley?.axisColor || this.lineColor,
1865
+ axisTextColor: this.wardley?.axisTextColor || this.primaryTextColor,
1866
+ gridColor: this.wardley?.gridColor || this.gridColor,
1867
+ componentFill: this.wardley?.componentFill || this.background,
1868
+ componentStroke: this.wardley?.componentStroke || this.lineColor,
1869
+ componentLabelColor: this.wardley?.componentLabelColor || this.primaryTextColor,
1870
+ linkStroke: this.wardley?.linkStroke || this.lineColor,
1871
+ evolutionStroke: this.wardley?.evolutionStroke || this.wardleyEvolutionColor,
1872
+ annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1873
+ annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1874
+ annotationFill: this.wardley?.annotationFill || this.background
1875
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = b(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || x(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || x(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || x(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || x(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || x(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
1876
+ }
1877
+ calculate(e) {
1878
+ if (typeof e != "object") {
1879
+ this.updateColors();
1880
+ return;
1881
+ }
1882
+ let t = Object.keys(e);
1883
+ t.forEach((t) => {
1884
+ this[t] = e[t];
1885
+ }), this.updateColors(), t.forEach((t) => {
1886
+ this[t] = e[t];
1887
+ });
1888
+ }
1889
+ }, bt = /* @__PURE__ */ e((e) => {
1890
+ let t = new yt();
1891
+ return t.calculate(e), t;
1892
+ }, "getThemeVariables"), xt = class {
1893
+ static {
1894
+ e(this, "Theme");
1895
+ }
1896
+ constructor() {
1897
+ this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
1898
+ }
1899
+ updateColors() {
1900
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
1901
+ h: 180,
1902
+ l: 5
1903
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
1904
+ let e = "#ECECFE", t = "#E9E9F1", n = x(e, {
1905
+ h: 180,
1906
+ l: 5
1907
+ });
1908
+ if (this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || y(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || e, this.cScale1 = this.cScale1 || t, this.cScale2 = this.cScale2 || n, this.cScale3 = this.cScale3 || x(e, { h: 30 }), this.cScale4 = this.cScale4 || x(e, { h: 60 }), this.cScale5 = this.cScale5 || x(e, { h: 90 }), this.cScale6 = this.cScale6 || x(e, { h: 120 }), this.cScale7 = this.cScale7 || x(e, { h: 150 }), this.cScale8 = this.cScale8 || x(e, {
1909
+ h: 210,
1910
+ l: 150
1911
+ }), this.cScale9 = this.cScale9 || x(e, { h: 270 }), this.cScale10 = this.cScale10 || x(e, { h: 300 }), this.cScale11 = this.cScale11 || x(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
1912
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
1913
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
1914
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
1915
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1916
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1917
+ let r = this.darkMode ? -4 : -1;
1918
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
1919
+ h: 180,
1920
+ s: -15,
1921
+ l: r * (5 + e * 3)
1922
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
1923
+ h: 180,
1924
+ s: -15,
1925
+ l: r * (8 + e * 3)
1926
+ });
1927
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || x(e, { h: 64 }), this.fillType3 = this.fillType3 || x(t, { h: 64 }), this.fillType4 = this.fillType4 || x(e, { h: -64 }), this.fillType5 = this.fillType5 || x(t, { h: -64 }), this.fillType6 = this.fillType6 || x(e, { h: 128 }), this.fillType7 = this.fillType7 || x(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || x(e, { l: -10 }), this.pie5 = this.pie5 || x(t, { l: -10 }), this.pie6 = this.pie6 || x(n, { l: -10 }), this.pie7 = this.pie7 || x(e, {
1928
+ h: 60,
1929
+ l: -10
1930
+ }), this.pie8 = this.pie8 || x(e, {
1931
+ h: -60,
1932
+ l: -10
1933
+ }), this.pie9 = this.pie9 || x(e, {
1934
+ h: 120,
1935
+ l: 0
1936
+ }), this.pie10 = this.pie10 || x(e, {
1937
+ h: 60,
1938
+ l: -20
1939
+ }), this.pie11 = this.pie11 || x(e, {
1940
+ h: -60,
1941
+ l: -20
1942
+ }), this.pie12 = this.pie12 || x(e, {
1943
+ h: 120,
1944
+ l: -10
1945
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || x(e, {
1946
+ r: 5,
1947
+ g: 5,
1948
+ b: 5
1949
+ }), this.quadrant3Fill = this.quadrant3Fill || x(e, {
1950
+ r: 10,
1951
+ g: 10,
1952
+ b: 10
1953
+ }), this.quadrant4Fill = this.quadrant4Fill || x(e, {
1954
+ r: 15,
1955
+ g: 15,
1956
+ b: 15
1957
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
1958
+ r: -5,
1959
+ g: -5,
1960
+ b: -5
1961
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
1962
+ r: -10,
1963
+ g: -10,
1964
+ b: -10
1965
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
1966
+ r: -15,
1967
+ g: -15,
1968
+ b: -15
1969
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
1970
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1971
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1972
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1973
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1974
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1975
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1976
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1977
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1978
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1979
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1980
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1981
+ }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || x(e, { h: -30 }), this.git4 = this.git4 || x(e, { h: -60 }), this.git5 = this.git5 || x(e, { h: -90 }), this.git6 = this.git6 || x(e, { h: 60 }), this.git7 = this.git7 || x(e, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
1982
+ }
1983
+ calculate(e) {
1984
+ if (typeof e != "object") {
1985
+ this.updateColors();
1986
+ return;
1987
+ }
1988
+ let t = Object.keys(e);
1989
+ t.forEach((t) => {
1990
+ this[t] = e[t];
1991
+ }), this.updateColors(), t.forEach((t) => {
1992
+ this[t] = e[t];
1993
+ });
1994
+ }
1995
+ }, St = /* @__PURE__ */ e((e) => {
1996
+ let t = new xt();
1997
+ return t.calculate(e), t;
1998
+ }, "getThemeVariables"), Ct = class {
1999
+ static {
2000
+ e(this, "Theme");
2001
+ }
2002
+ constructor() {
2003
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.border1 = "#ccc", this.border2 = g(255, 255, 255, .25), this.arrowheadColor = S(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
2004
+ }
2005
+ updateColors() {
2006
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
2007
+ h: 180,
2008
+ l: 5
2009
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, {
2010
+ h: 210,
2011
+ l: 150
2012
+ }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
2013
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
2014
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
2015
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
2016
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2017
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2018
+ let e = this.darkMode ? -4 : -1;
2019
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
2020
+ h: 180,
2021
+ s: -15,
2022
+ l: e * (5 + t * 3)
2023
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
2024
+ h: 180,
2025
+ s: -15,
2026
+ l: e * (8 + t * 3)
2027
+ });
2028
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
2029
+ h: 60,
2030
+ l: -10
2031
+ }), this.pie8 = this.pie8 || x(this.primaryColor, {
2032
+ h: -60,
2033
+ l: -10
2034
+ }), this.pie9 = this.pie9 || x(this.primaryColor, {
2035
+ h: 120,
2036
+ l: 0
2037
+ }), this.pie10 = this.pie10 || x(this.primaryColor, {
2038
+ h: 60,
2039
+ l: -20
2040
+ }), this.pie11 = this.pie11 || x(this.primaryColor, {
2041
+ h: -60,
2042
+ l: -20
2043
+ }), this.pie12 = this.pie12 || x(this.primaryColor, {
2044
+ h: 120,
2045
+ l: -10
2046
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
2047
+ r: 5,
2048
+ g: 5,
2049
+ b: 5
2050
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
2051
+ r: 10,
2052
+ g: 10,
2053
+ b: 10
2054
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
2055
+ r: 15,
2056
+ g: 15,
2057
+ b: 15
2058
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
2059
+ r: -5,
2060
+ g: -5,
2061
+ b: -5
2062
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
2063
+ r: -10,
2064
+ g: -10,
2065
+ b: -10
2066
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
2067
+ r: -15,
2068
+ g: -15,
2069
+ b: -15
2070
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2071
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
2072
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2073
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2074
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2075
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
2076
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
2077
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
2078
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
2079
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2080
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2081
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2082
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = !0, this.gitDarkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
2083
+ }
2084
+ calculate(e) {
2085
+ if (typeof e != "object") {
2086
+ this.updateColors();
2087
+ return;
2088
+ }
2089
+ let t = Object.keys(e);
2090
+ t.forEach((t) => {
2091
+ this[t] = e[t];
2092
+ }), this.updateColors(), t.forEach((t) => {
2093
+ this[t] = e[t];
2094
+ });
2095
+ }
2096
+ }, wt = /* @__PURE__ */ e((e) => {
2097
+ let t = new Ct();
2098
+ return t.calculate(e), t;
2099
+ }, "getThemeVariables"), Tt = class {
2100
+ static {
2101
+ e(this, "Theme");
2102
+ }
2103
+ constructor() {
2104
+ this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = z("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
2105
+ }
2106
+ updateColors() {
2107
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
2108
+ h: 180,
2109
+ l: 5
2110
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
2111
+ let e = "#ECECFE", t = "#E9E9F1", n = x(e, {
2112
+ h: 180,
2113
+ l: 5
2114
+ });
2115
+ this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || y(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
2116
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
2117
+ if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
2118
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
2119
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
2120
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
2121
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2122
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2123
+ let r = this.darkMode ? -4 : -1;
2124
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
2125
+ h: 180,
2126
+ s: -15,
2127
+ l: r * (5 + e * 3)
2128
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
2129
+ h: 180,
2130
+ s: -15,
2131
+ l: r * (8 + e * 3)
2132
+ });
2133
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || x(e, { h: 64 }), this.fillType3 = this.fillType3 || x(t, { h: 64 }), this.fillType4 = this.fillType4 || x(e, { h: -64 }), this.fillType5 = this.fillType5 || x(t, { h: -64 }), this.fillType6 = this.fillType6 || x(e, { h: 128 }), this.fillType7 = this.fillType7 || x(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || x(e, { l: -10 }), this.pie5 = this.pie5 || x(t, { l: -10 }), this.pie6 = this.pie6 || x(n, { l: -10 }), this.pie7 = this.pie7 || x(e, {
2134
+ h: 60,
2135
+ l: -10
2136
+ }), this.pie8 = this.pie8 || x(e, {
2137
+ h: -60,
2138
+ l: -10
2139
+ }), this.pie9 = this.pie9 || x(e, {
2140
+ h: 120,
2141
+ l: 0
2142
+ }), this.pie10 = this.pie10 || x(e, {
2143
+ h: 60,
2144
+ l: -20
2145
+ }), this.pie11 = this.pie11 || x(e, {
2146
+ h: -60,
2147
+ l: -20
2148
+ }), this.pie12 = this.pie12 || x(e, {
2149
+ h: 120,
2150
+ l: -10
2151
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || x(e, {
2152
+ r: 5,
2153
+ g: 5,
2154
+ b: 5
2155
+ }), this.quadrant3Fill = this.quadrant3Fill || x(e, {
2156
+ r: 10,
2157
+ g: 10,
2158
+ b: 10
2159
+ }), this.quadrant4Fill = this.quadrant4Fill || x(e, {
2160
+ r: 15,
2161
+ g: 15,
2162
+ b: 15
2163
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
2164
+ r: -5,
2165
+ g: -5,
2166
+ b: -5
2167
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
2168
+ r: -10,
2169
+ g: -10,
2170
+ b: -10
2171
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
2172
+ r: -15,
2173
+ g: -15,
2174
+ b: -15
2175
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2176
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
2177
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2178
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2179
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2180
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
2181
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
2182
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
2183
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
2184
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2185
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2186
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2187
+ }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || x(e, { h: -30 }), this.git4 = this.git4 || x(e, { h: -60 }), this.git5 = this.git5 || x(e, { h: -90 }), this.git6 = this.git6 || x(e, { h: 60 }), this.git7 = this.git7 || x(e, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
2188
+ }
2189
+ calculate(e) {
2190
+ if (typeof e != "object") {
2191
+ this.updateColors();
2192
+ return;
2193
+ }
2194
+ let t = Object.keys(e);
2195
+ t.forEach((t) => {
2196
+ this[t] = e[t];
2197
+ }), this.updateColors(), t.forEach((t) => {
2198
+ this[t] = e[t];
2199
+ });
2200
+ }
2201
+ }, Et = /* @__PURE__ */ e((e) => {
2202
+ let t = new Tt();
2203
+ return t.calculate(e), t;
2204
+ }, "getThemeVariables"), Dt = class {
2205
+ static {
2206
+ e(this, "Theme");
2207
+ }
2208
+ constructor() {
2209
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.border1 = "#ccc", this.border2 = g(255, 255, 255, .25), this.arrowheadColor = S(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
2210
+ }
2211
+ updateColors() {
2212
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
2213
+ h: 180,
2214
+ l: 5
2215
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || x(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || x(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || x(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || x(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || x(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || x(this.primaryColor, {
2216
+ h: 210,
2217
+ l: 150
2218
+ }), this.cScale9 = this.cScale9 || x(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || x(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || x(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 75);
2219
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = b(this["cScale" + e], 25);
2220
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
2221
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
2222
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2223
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2224
+ let e = this.darkMode ? -4 : -1;
2225
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
2226
+ h: 180,
2227
+ s: -15,
2228
+ l: e * (5 + t * 3)
2229
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
2230
+ h: 180,
2231
+ s: -15,
2232
+ l: e * (8 + t * 3)
2233
+ });
2234
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
2235
+ h: 60,
2236
+ l: -10
2237
+ }), this.pie8 = this.pie8 || x(this.primaryColor, {
2238
+ h: -60,
2239
+ l: -10
2240
+ }), this.pie9 = this.pie9 || x(this.primaryColor, {
2241
+ h: 120,
2242
+ l: 0
2243
+ }), this.pie10 = this.pie10 || x(this.primaryColor, {
2244
+ h: 60,
2245
+ l: -20
2246
+ }), this.pie11 = this.pie11 || x(this.primaryColor, {
2247
+ h: -60,
2248
+ l: -20
2249
+ }), this.pie12 = this.pie12 || x(this.primaryColor, {
2250
+ h: 120,
2251
+ l: -10
2252
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
2253
+ r: 5,
2254
+ g: 5,
2255
+ b: 5
2256
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
2257
+ r: 10,
2258
+ g: 10,
2259
+ b: 10
2260
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
2261
+ r: 15,
2262
+ g: 15,
2263
+ b: 15
2264
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
2265
+ r: -5,
2266
+ g: -5,
2267
+ b: -5
2268
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
2269
+ r: -10,
2270
+ g: -10,
2271
+ b: -10
2272
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
2273
+ r: -15,
2274
+ g: -15,
2275
+ b: -15
2276
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2277
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
2278
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2279
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2280
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2281
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
2282
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
2283
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
2284
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
2285
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2286
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2287
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2288
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
2289
+ }
2290
+ calculate(e) {
2291
+ if (typeof e != "object") {
2292
+ this.updateColors();
2293
+ return;
2294
+ }
2295
+ let t = Object.keys(e);
2296
+ t.forEach((t) => {
2297
+ this[t] = e[t];
2298
+ }), this.updateColors(), t.forEach((t) => {
2299
+ this[t] = e[t];
2300
+ });
2301
+ }
2302
+ }, Ot = /* @__PURE__ */ e((e) => {
2303
+ let t = new Dt();
2304
+ return t.calculate(e), t;
2305
+ }, "getThemeVariables"), kt = class {
2306
+ static {
2307
+ e(this, "Theme");
2308
+ }
2309
+ constructor() {
2310
+ this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
2311
+ "#E879F9",
2312
+ "#2DD4BF",
2313
+ "#FB923C",
2314
+ "#22D3EE",
2315
+ "#4ADE80",
2316
+ "#A78BFA",
2317
+ "#F87171",
2318
+ "#FACC15",
2319
+ "#818CF8",
2320
+ "#A3E635 ",
2321
+ "#38BDF8",
2322
+ "#FB7185"
2323
+ ], this.bkgColorArray = [
2324
+ "#FDF4FF",
2325
+ "#F0FDFA",
2326
+ "#FFF7ED",
2327
+ "#ECFEFF",
2328
+ "#F0FDF4",
2329
+ "#F5F3FF",
2330
+ "#FEF2F2",
2331
+ "#FEFCE8",
2332
+ "#EEF2FF",
2333
+ "#F7FEE7",
2334
+ "#F0F9FF",
2335
+ "#FFF1F2"
2336
+ ], this.filterColor = "#000000";
2337
+ }
2338
+ updateColors() {
2339
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
2340
+ h: 180,
2341
+ l: 5
2342
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
2343
+ let e = "#ECECFE", t = "#E9E9F1", n = x(e, {
2344
+ h: 180,
2345
+ l: 5
2346
+ });
2347
+ this.sectionBkgColor = this.sectionBkgColor || n, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || t, this.sectionBkgColor2 = this.sectionBkgColor2 || e, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || e, this.activeTaskBorderColor = this.activeTaskBorderColor || e, this.activeTaskBkgColor = this.activeTaskBkgColor || y(e, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
2348
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
2349
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
2350
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2351
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2352
+ let r = this.darkMode ? -4 : -1;
2353
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || x(this.mainBkg, {
2354
+ h: 180,
2355
+ s: -15,
2356
+ l: r * (5 + e * 3)
2357
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || x(this.mainBkg, {
2358
+ h: 180,
2359
+ s: -15,
2360
+ l: r * (8 + e * 3)
2361
+ });
2362
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || x(e, { h: 64 }), this.fillType3 = this.fillType3 || x(t, { h: 64 }), this.fillType4 = this.fillType4 || x(e, { h: -64 }), this.fillType5 = this.fillType5 || x(t, { h: -64 }), this.fillType6 = this.fillType6 || x(e, { h: 128 }), this.fillType7 = this.fillType7 || x(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || x(e, { l: -10 }), this.pie5 = this.pie5 || x(t, { l: -10 }), this.pie6 = this.pie6 || x(n, { l: -10 }), this.pie7 = this.pie7 || x(e, {
2363
+ h: 60,
2364
+ l: -10
2365
+ }), this.pie8 = this.pie8 || x(e, {
2366
+ h: -60,
2367
+ l: -10
2368
+ }), this.pie9 = this.pie9 || x(e, {
2369
+ h: 120,
2370
+ l: 0
2371
+ }), this.pie10 = this.pie10 || x(e, {
2372
+ h: 60,
2373
+ l: -20
2374
+ }), this.pie11 = this.pie11 || x(e, {
2375
+ h: -60,
2376
+ l: -20
2377
+ }), this.pie12 = this.pie12 || x(e, {
2378
+ h: 120,
2379
+ l: -10
2380
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || e, this.quadrant2Fill = this.quadrant2Fill || x(e, {
2381
+ r: 5,
2382
+ g: 5,
2383
+ b: 5
2384
+ }), this.quadrant3Fill = this.quadrant3Fill || x(e, {
2385
+ r: 10,
2386
+ g: 10,
2387
+ b: 10
2388
+ }), this.quadrant4Fill = this.quadrant4Fill || x(e, {
2389
+ r: 15,
2390
+ g: 15,
2391
+ b: 15
2392
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
2393
+ r: -5,
2394
+ g: -5,
2395
+ b: -5
2396
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
2397
+ r: -10,
2398
+ g: -10,
2399
+ b: -10
2400
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
2401
+ r: -15,
2402
+ g: -15,
2403
+ b: -15
2404
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2405
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
2406
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2407
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2408
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2409
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
2410
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
2411
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
2412
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
2413
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2414
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2415
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2416
+ }, this.requirementBackground = this.requirementBackground || e, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || e, this.git1 = this.git1 || t, this.git2 = this.git2 || n, this.git3 = this.git3 || x(e, { h: -30 }), this.git4 = this.git4 || x(e, { h: -60 }), this.git5 = this.git5 || x(e, { h: -90 }), this.git6 = this.git6 || x(e, { h: 60 }), this.git7 = this.git7 || x(e, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
2417
+ }
2418
+ calculate(e) {
2419
+ if (typeof e != "object") {
2420
+ this.updateColors();
2421
+ return;
2422
+ }
2423
+ let t = Object.keys(e);
2424
+ t.forEach((t) => {
2425
+ this[t] = e[t];
2426
+ }), this.updateColors(), t.forEach((t) => {
2427
+ this[t] = e[t];
2428
+ });
2429
+ }
2430
+ }, At = /* @__PURE__ */ e((e) => {
2431
+ let t = new kt();
2432
+ return t.calculate(e), t;
2433
+ }, "getThemeVariables"), jt = class {
2434
+ static {
2435
+ e(this, "Theme");
2436
+ }
2437
+ constructor() {
2438
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = y(this.primaryColor, 16), this.tertiaryColor = x(this.primaryColor, { h: -160 }), this.primaryBorderColor = S(this.background), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = S(this.primaryColor), this.secondaryTextColor = S(this.secondaryColor), this.tertiaryTextColor = S(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = y(S("#323D47"), 10), this.border1 = "#ccc", this.border2 = g(255, 255, 255, .25), this.arrowheadColor = S(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
2439
+ "#E879F9",
2440
+ "#2DD4BF",
2441
+ "#FB923C",
2442
+ "#22D3EE",
2443
+ "#4ADE80",
2444
+ "#A78BFA",
2445
+ "#F87171",
2446
+ "#FACC15",
2447
+ "#818CF8",
2448
+ "#A3E635 ",
2449
+ "#38BDF8",
2450
+ "#FB7185"
2451
+ ], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
2452
+ }
2453
+ updateColors() {
2454
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || x(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || x(this.primaryColor, {
2455
+ h: 180,
2456
+ l: 5
2457
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || S(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || S(this.tertiaryColor), this.lineColor = this.lineColor || S(this.background), this.arrowheadColor = this.arrowheadColor || S(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || b(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || S(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.rootLabelColor = "#FFFFFF", this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || y(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
2458
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e]);
2459
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
2460
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2461
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = b(this["cScale" + e], 75);
2462
+ let e = this.darkMode ? -4 : -1;
2463
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || x(this.mainBkg, {
2464
+ h: 180,
2465
+ s: -15,
2466
+ l: e * (5 + t * 3)
2467
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || x(this.mainBkg, {
2468
+ h: 180,
2469
+ s: -15,
2470
+ l: e * (8 + t * 3)
2471
+ });
2472
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || x(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || x(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || x(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || x(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || x(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || x(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || x(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || x(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || x(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || x(this.primaryColor, {
2473
+ h: 60,
2474
+ l: -10
2475
+ }), this.pie8 = this.pie8 || x(this.primaryColor, {
2476
+ h: -60,
2477
+ l: -10
2478
+ }), this.pie9 = this.pie9 || x(this.primaryColor, {
2479
+ h: 120,
2480
+ l: 0
2481
+ }), this.pie10 = this.pie10 || x(this.primaryColor, {
2482
+ h: 60,
2483
+ l: -20
2484
+ }), this.pie11 = this.pie11 || x(this.primaryColor, {
2485
+ h: -60,
2486
+ l: -20
2487
+ }), this.pie12 = this.pie12 || x(this.primaryColor, {
2488
+ h: 120,
2489
+ l: -10
2490
+ }), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || x(this.primaryColor, {
2491
+ r: 5,
2492
+ g: 5,
2493
+ b: 5
2494
+ }), this.quadrant3Fill = this.quadrant3Fill || x(this.primaryColor, {
2495
+ r: 10,
2496
+ g: 10,
2497
+ b: 10
2498
+ }), this.quadrant4Fill = this.quadrant4Fill || x(this.primaryColor, {
2499
+ r: 15,
2500
+ g: 15,
2501
+ b: 15
2502
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || x(this.primaryTextColor, {
2503
+ r: -5,
2504
+ g: -5,
2505
+ b: -5
2506
+ }), this.quadrant3TextFill = this.quadrant3TextFill || x(this.primaryTextColor, {
2507
+ r: -10,
2508
+ g: -10,
2509
+ b: -10
2510
+ }), this.quadrant4TextFill = this.quadrant4TextFill || x(this.primaryTextColor, {
2511
+ r: -15,
2512
+ g: -15,
2513
+ b: -15
2514
+ }), this.quadrantPointFill = this.quadrantPointFill || _(this.quadrant1Fill) ? y(this.quadrant1Fill) : b(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
2515
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
2516
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2517
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2518
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2519
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
2520
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
2521
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
2522
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
2523
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2524
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2525
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2526
+ }, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? b(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || x(this.primaryColor, { h: -30 }), this.git4 = this.git4 || x(this.primaryColor, { h: -60 }), this.git5 = this.git5 || x(this.primaryColor, { h: -90 }), this.git6 = this.git6 || x(this.primaryColor, { h: 60 }), this.git7 = this.git7 || x(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)) : (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)), this.gitInv0 = this.gitInv0 || S(this.git0), this.gitInv1 = this.gitInv1 || S(this.git1), this.gitInv2 = this.gitInv2 || S(this.git2), this.gitInv3 = this.gitInv3 || S(this.git3), this.gitInv4 = this.gitInv4 || S(this.git4), this.gitInv5 = this.gitInv5 || S(this.git5), this.gitInv6 = this.gitInv6 || S(this.git6), this.gitInv7 = this.gitInv7 || S(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || L, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || R;
2527
+ }
2528
+ calculate(e) {
2529
+ if (typeof e != "object") {
2530
+ this.updateColors();
2531
+ return;
2532
+ }
2533
+ let t = Object.keys(e);
2534
+ t.forEach((t) => {
2535
+ this[t] = e[t];
2536
+ }), this.updateColors(), t.forEach((t) => {
2537
+ this[t] = e[t];
2538
+ });
2539
+ }
2540
+ }, U = {
2541
+ base: { getThemeVariables: mt },
2542
+ dark: { getThemeVariables: gt },
2543
+ default: { getThemeVariables: V },
2544
+ forest: { getThemeVariables: H },
2545
+ neutral: { getThemeVariables: bt },
2546
+ neo: { getThemeVariables: St },
2547
+ "neo-dark": { getThemeVariables: wt },
2548
+ redux: { getThemeVariables: Et },
2549
+ "redux-dark": { getThemeVariables: Ot },
2550
+ "redux-color": { getThemeVariables: At },
2551
+ "redux-dark-color": { getThemeVariables: /* @__PURE__ */ e((e) => {
2552
+ let t = new jt();
2553
+ return t.calculate(e), t;
2554
+ }, "getThemeVariables") }
2555
+ }, W = {
2556
+ flowchart: {
2557
+ useMaxWidth: !0,
2558
+ titleTopMargin: 25,
2559
+ subGraphTitleMargin: {
2560
+ top: 0,
2561
+ bottom: 0
2562
+ },
2563
+ diagramPadding: 8,
2564
+ htmlLabels: null,
2565
+ nodeSpacing: 50,
2566
+ rankSpacing: 50,
2567
+ curve: "basis",
2568
+ padding: 15,
2569
+ defaultRenderer: "dagre-wrapper",
2570
+ wrappingWidth: 200,
2571
+ inheritDir: !1
2572
+ },
2573
+ swimlane: {
2574
+ useMaxWidth: !0,
2575
+ lineHops: "arc",
2576
+ ignoreCrossLaneEdges: !0,
2577
+ optimizeRanksByCrossings: !0,
2578
+ automaticLaneOrdering: !1
2579
+ },
2580
+ sequence: {
2581
+ useMaxWidth: !0,
2582
+ hideUnusedParticipants: !1,
2583
+ activationWidth: 10,
2584
+ diagramMarginX: 50,
2585
+ diagramMarginY: 10,
2586
+ actorMargin: 50,
2587
+ width: 150,
2588
+ height: 65,
2589
+ boxMargin: 10,
2590
+ boxTextMargin: 5,
2591
+ noteMargin: 10,
2592
+ messageMargin: 35,
2593
+ messageAlign: "center",
2594
+ mirrorActors: !0,
2595
+ forceMenus: !1,
2596
+ bottomMarginAdj: 1,
2597
+ rightAngles: !1,
2598
+ showSequenceNumbers: !1,
2599
+ actorFontSize: 14,
2600
+ actorFontFamily: "\"Open Sans\", sans-serif",
2601
+ actorFontWeight: 400,
2602
+ noteFontSize: 14,
2603
+ noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
2604
+ noteFontWeight: 400,
2605
+ noteAlign: "center",
2606
+ messageFontSize: 16,
2607
+ messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
2608
+ messageFontWeight: 400,
2609
+ wrap: !1,
2610
+ wrapPadding: 10,
2611
+ labelBoxWidth: 50,
2612
+ labelBoxHeight: 20
2613
+ },
2614
+ gantt: {
2615
+ useMaxWidth: !0,
2616
+ titleTopMargin: 25,
2617
+ barHeight: 20,
2618
+ barGap: 4,
2619
+ topPadding: 50,
2620
+ rightPadding: 75,
2621
+ leftPadding: 75,
2622
+ gridLineStartPadding: 35,
2623
+ fontSize: 11,
2624
+ sectionFontSize: 11,
2625
+ numberSectionStyles: 4,
2626
+ axisFormat: "%Y-%m-%d",
2627
+ topAxis: !1,
2628
+ displayMode: "",
2629
+ weekday: "sunday"
2630
+ },
2631
+ journey: {
2632
+ useMaxWidth: !0,
2633
+ diagramMarginX: 50,
2634
+ diagramMarginY: 10,
2635
+ leftMargin: 150,
2636
+ maxLabelWidth: 360,
2637
+ width: 150,
2638
+ height: 50,
2639
+ boxMargin: 10,
2640
+ boxTextMargin: 5,
2641
+ noteMargin: 10,
2642
+ messageMargin: 35,
2643
+ messageAlign: "center",
2644
+ bottomMarginAdj: 1,
2645
+ rightAngles: !1,
2646
+ taskFontSize: 14,
2647
+ taskFontFamily: "\"Open Sans\", sans-serif",
2648
+ taskMargin: 50,
2649
+ activationWidth: 10,
2650
+ textPlacement: "fo",
2651
+ actorColours: [
2652
+ "#8FBC8F",
2653
+ "#7CFC00",
2654
+ "#00FFFF",
2655
+ "#20B2AA",
2656
+ "#B0E0E6",
2657
+ "#FFFFE0"
2658
+ ],
2659
+ sectionFills: [
2660
+ "#191970",
2661
+ "#8B008B",
2662
+ "#4B0082",
2663
+ "#2F4F4F",
2664
+ "#800000",
2665
+ "#8B4513",
2666
+ "#00008B"
2667
+ ],
2668
+ sectionColours: ["#fff"],
2669
+ titleColor: "",
2670
+ titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
2671
+ titleFontSize: "4ex"
2672
+ },
2673
+ class: {
2674
+ useMaxWidth: !0,
2675
+ titleTopMargin: 25,
2676
+ arrowMarkerAbsolute: !1,
2677
+ dividerMargin: 10,
2678
+ padding: 5,
2679
+ textHeight: 10,
2680
+ defaultRenderer: "dagre-wrapper",
2681
+ htmlLabels: !1,
2682
+ hideEmptyMembersBox: !1,
2683
+ hierarchicalNamespaces: !0
2684
+ },
2685
+ state: {
2686
+ useMaxWidth: !0,
2687
+ titleTopMargin: 25,
2688
+ dividerMargin: 10,
2689
+ sizeUnit: 5,
2690
+ padding: 8,
2691
+ textHeight: 10,
2692
+ titleShift: -15,
2693
+ noteMargin: 10,
2694
+ forkWidth: 70,
2695
+ forkHeight: 7,
2696
+ miniPadding: 2,
2697
+ fontSizeFactor: 5.02,
2698
+ fontSize: 24,
2699
+ labelHeight: 16,
2700
+ edgeLengthFactor: "20",
2701
+ compositTitleSize: 35,
2702
+ radius: 5,
2703
+ defaultRenderer: "dagre-wrapper"
2704
+ },
2705
+ er: {
2706
+ useMaxWidth: !0,
2707
+ titleTopMargin: 25,
2708
+ diagramPadding: 20,
2709
+ layoutDirection: "TB",
2710
+ minEntityWidth: 100,
2711
+ minEntityHeight: 75,
2712
+ entityPadding: 15,
2713
+ nodeSpacing: 140,
2714
+ rankSpacing: 80,
2715
+ stroke: "gray",
2716
+ fill: "honeydew",
2717
+ fontSize: 12
2718
+ },
2719
+ pie: {
2720
+ useMaxWidth: !0,
2721
+ textPosition: .75,
2722
+ donutHole: 0,
2723
+ legendPosition: "right",
2724
+ highlightSlice: ""
2725
+ },
2726
+ quadrantChart: {
2727
+ useMaxWidth: !0,
2728
+ chartWidth: 500,
2729
+ chartHeight: 500,
2730
+ titleFontSize: 20,
2731
+ titlePadding: 10,
2732
+ quadrantPadding: 5,
2733
+ xAxisLabelPadding: 5,
2734
+ yAxisLabelPadding: 5,
2735
+ xAxisLabelFontSize: 16,
2736
+ yAxisLabelFontSize: 16,
2737
+ quadrantLabelFontSize: 16,
2738
+ quadrantTextTopPadding: 5,
2739
+ pointTextPadding: 5,
2740
+ pointLabelFontSize: 12,
2741
+ pointRadius: 5,
2742
+ xAxisPosition: "top",
2743
+ yAxisPosition: "left",
2744
+ quadrantInternalBorderStrokeWidth: 1,
2745
+ quadrantExternalBorderStrokeWidth: 2
2746
+ },
2747
+ xyChart: {
2748
+ useMaxWidth: !0,
2749
+ width: 700,
2750
+ height: 500,
2751
+ titleFontSize: 20,
2752
+ titlePadding: 10,
2753
+ showDataLabel: !1,
2754
+ showDataLabelOutsideBar: !1,
2755
+ showTitle: !0,
2756
+ xAxis: {
2757
+ $ref: "#/$defs/XYChartAxisConfig",
2758
+ showLabel: !0,
2759
+ labelFontSize: 14,
2760
+ labelPadding: 5,
2761
+ showTitle: !0,
2762
+ titleFontSize: 16,
2763
+ titlePadding: 5,
2764
+ showTick: !0,
2765
+ tickLength: 5,
2766
+ tickWidth: 2,
2767
+ showAxisLine: !0,
2768
+ axisLineWidth: 2,
2769
+ labelRotation: 0
2770
+ },
2771
+ yAxis: {
2772
+ $ref: "#/$defs/XYChartAxisConfig",
2773
+ showLabel: !0,
2774
+ labelFontSize: 14,
2775
+ labelPadding: 5,
2776
+ showTitle: !0,
2777
+ titleFontSize: 16,
2778
+ titlePadding: 5,
2779
+ showTick: !0,
2780
+ tickLength: 5,
2781
+ tickWidth: 2,
2782
+ showAxisLine: !0,
2783
+ axisLineWidth: 2,
2784
+ labelRotation: 0
2785
+ },
2786
+ chartOrientation: "vertical",
2787
+ plotReservedSpacePercent: 50
2788
+ },
2789
+ requirement: {
2790
+ useMaxWidth: !0,
2791
+ rect_fill: "#f9f9f9",
2792
+ text_color: "#333",
2793
+ rect_border_size: "0.5px",
2794
+ rect_border_color: "#bbb",
2795
+ rect_min_width: 200,
2796
+ rect_min_height: 200,
2797
+ fontSize: 14,
2798
+ rect_padding: 10,
2799
+ line_height: 20
2800
+ },
2801
+ mindmap: {
2802
+ useMaxWidth: !0,
2803
+ padding: 10,
2804
+ maxNodeWidth: 200,
2805
+ layoutAlgorithm: "cose-bilkent"
2806
+ },
2807
+ ishikawa: {
2808
+ useMaxWidth: !0,
2809
+ diagramPadding: 20
2810
+ },
2811
+ kanban: {
2812
+ useMaxWidth: !0,
2813
+ padding: 8,
2814
+ sectionWidth: 200,
2815
+ ticketBaseUrl: ""
2816
+ },
2817
+ timeline: {
2818
+ useMaxWidth: !0,
2819
+ diagramMarginX: 50,
2820
+ diagramMarginY: 10,
2821
+ leftMargin: 150,
2822
+ width: 150,
2823
+ height: 50,
2824
+ boxMargin: 10,
2825
+ boxTextMargin: 5,
2826
+ noteMargin: 10,
2827
+ messageMargin: 35,
2828
+ messageAlign: "center",
2829
+ bottomMarginAdj: 1,
2830
+ rightAngles: !1,
2831
+ taskFontSize: 14,
2832
+ taskFontFamily: "\"Open Sans\", sans-serif",
2833
+ taskMargin: 50,
2834
+ activationWidth: 10,
2835
+ textPlacement: "fo",
2836
+ actorColours: [
2837
+ "#8FBC8F",
2838
+ "#7CFC00",
2839
+ "#00FFFF",
2840
+ "#20B2AA",
2841
+ "#B0E0E6",
2842
+ "#FFFFE0"
2843
+ ],
2844
+ sectionFills: [
2845
+ "#191970",
2846
+ "#8B008B",
2847
+ "#4B0082",
2848
+ "#2F4F4F",
2849
+ "#800000",
2850
+ "#8B4513",
2851
+ "#00008B"
2852
+ ],
2853
+ sectionColours: ["#fff"],
2854
+ disableMulticolor: !1
2855
+ },
2856
+ gitGraph: {
2857
+ useMaxWidth: !0,
2858
+ titleTopMargin: 25,
2859
+ diagramPadding: 8,
2860
+ nodeLabel: {
2861
+ width: 75,
2862
+ height: 100,
2863
+ x: -25,
2864
+ y: 0
2865
+ },
2866
+ mainBranchName: "main",
2867
+ mainBranchOrder: 0,
2868
+ showCommitLabel: !0,
2869
+ showBranches: !0,
2870
+ rotateCommitLabel: !0,
2871
+ parallelCommits: !1,
2872
+ arrowMarkerAbsolute: !1
2873
+ },
2874
+ c4: {
2875
+ useMaxWidth: !0,
2876
+ diagramMarginX: 50,
2877
+ diagramMarginY: 10,
2878
+ c4ShapeMargin: 50,
2879
+ c4ShapePadding: 20,
2880
+ width: 216,
2881
+ height: 60,
2882
+ boxMargin: 10,
2883
+ c4ShapeInRow: 4,
2884
+ nextLinePaddingX: 0,
2885
+ c4BoundaryInRow: 2,
2886
+ personFontSize: 14,
2887
+ personFontFamily: "\"Open Sans\", sans-serif",
2888
+ personFontWeight: "normal",
2889
+ external_personFontSize: 14,
2890
+ external_personFontFamily: "\"Open Sans\", sans-serif",
2891
+ external_personFontWeight: "normal",
2892
+ systemFontSize: 14,
2893
+ systemFontFamily: "\"Open Sans\", sans-serif",
2894
+ systemFontWeight: "normal",
2895
+ external_systemFontSize: 14,
2896
+ external_systemFontFamily: "\"Open Sans\", sans-serif",
2897
+ external_systemFontWeight: "normal",
2898
+ system_dbFontSize: 14,
2899
+ system_dbFontFamily: "\"Open Sans\", sans-serif",
2900
+ system_dbFontWeight: "normal",
2901
+ external_system_dbFontSize: 14,
2902
+ external_system_dbFontFamily: "\"Open Sans\", sans-serif",
2903
+ external_system_dbFontWeight: "normal",
2904
+ system_queueFontSize: 14,
2905
+ system_queueFontFamily: "\"Open Sans\", sans-serif",
2906
+ system_queueFontWeight: "normal",
2907
+ external_system_queueFontSize: 14,
2908
+ external_system_queueFontFamily: "\"Open Sans\", sans-serif",
2909
+ external_system_queueFontWeight: "normal",
2910
+ boundaryFontSize: 14,
2911
+ boundaryFontFamily: "\"Open Sans\", sans-serif",
2912
+ boundaryFontWeight: "normal",
2913
+ messageFontSize: 12,
2914
+ messageFontFamily: "\"Open Sans\", sans-serif",
2915
+ messageFontWeight: "normal",
2916
+ containerFontSize: 14,
2917
+ containerFontFamily: "\"Open Sans\", sans-serif",
2918
+ containerFontWeight: "normal",
2919
+ external_containerFontSize: 14,
2920
+ external_containerFontFamily: "\"Open Sans\", sans-serif",
2921
+ external_containerFontWeight: "normal",
2922
+ container_dbFontSize: 14,
2923
+ container_dbFontFamily: "\"Open Sans\", sans-serif",
2924
+ container_dbFontWeight: "normal",
2925
+ external_container_dbFontSize: 14,
2926
+ external_container_dbFontFamily: "\"Open Sans\", sans-serif",
2927
+ external_container_dbFontWeight: "normal",
2928
+ container_queueFontSize: 14,
2929
+ container_queueFontFamily: "\"Open Sans\", sans-serif",
2930
+ container_queueFontWeight: "normal",
2931
+ external_container_queueFontSize: 14,
2932
+ external_container_queueFontFamily: "\"Open Sans\", sans-serif",
2933
+ external_container_queueFontWeight: "normal",
2934
+ componentFontSize: 14,
2935
+ componentFontFamily: "\"Open Sans\", sans-serif",
2936
+ componentFontWeight: "normal",
2937
+ external_componentFontSize: 14,
2938
+ external_componentFontFamily: "\"Open Sans\", sans-serif",
2939
+ external_componentFontWeight: "normal",
2940
+ component_dbFontSize: 14,
2941
+ component_dbFontFamily: "\"Open Sans\", sans-serif",
2942
+ component_dbFontWeight: "normal",
2943
+ external_component_dbFontSize: 14,
2944
+ external_component_dbFontFamily: "\"Open Sans\", sans-serif",
2945
+ external_component_dbFontWeight: "normal",
2946
+ component_queueFontSize: 14,
2947
+ component_queueFontFamily: "\"Open Sans\", sans-serif",
2948
+ component_queueFontWeight: "normal",
2949
+ external_component_queueFontSize: 14,
2950
+ external_component_queueFontFamily: "\"Open Sans\", sans-serif",
2951
+ external_component_queueFontWeight: "normal",
2952
+ wrap: !0,
2953
+ wrapPadding: 10,
2954
+ person_bg_color: "#08427B",
2955
+ person_border_color: "#073B6F",
2956
+ external_person_bg_color: "#686868",
2957
+ external_person_border_color: "#8A8A8A",
2958
+ system_bg_color: "#1168BD",
2959
+ system_border_color: "#3C7FC0",
2960
+ system_db_bg_color: "#1168BD",
2961
+ system_db_border_color: "#3C7FC0",
2962
+ system_queue_bg_color: "#1168BD",
2963
+ system_queue_border_color: "#3C7FC0",
2964
+ external_system_bg_color: "#999999",
2965
+ external_system_border_color: "#8A8A8A",
2966
+ external_system_db_bg_color: "#999999",
2967
+ external_system_db_border_color: "#8A8A8A",
2968
+ external_system_queue_bg_color: "#999999",
2969
+ external_system_queue_border_color: "#8A8A8A",
2970
+ container_bg_color: "#438DD5",
2971
+ container_border_color: "#3C7FC0",
2972
+ container_db_bg_color: "#438DD5",
2973
+ container_db_border_color: "#3C7FC0",
2974
+ container_queue_bg_color: "#438DD5",
2975
+ container_queue_border_color: "#3C7FC0",
2976
+ external_container_bg_color: "#B3B3B3",
2977
+ external_container_border_color: "#A6A6A6",
2978
+ external_container_db_bg_color: "#B3B3B3",
2979
+ external_container_db_border_color: "#A6A6A6",
2980
+ external_container_queue_bg_color: "#B3B3B3",
2981
+ external_container_queue_border_color: "#A6A6A6",
2982
+ component_bg_color: "#85BBF0",
2983
+ component_border_color: "#78A8D8",
2984
+ component_db_bg_color: "#85BBF0",
2985
+ component_db_border_color: "#78A8D8",
2986
+ component_queue_bg_color: "#85BBF0",
2987
+ component_queue_border_color: "#78A8D8",
2988
+ external_component_bg_color: "#CCCCCC",
2989
+ external_component_border_color: "#BFBFBF",
2990
+ external_component_db_bg_color: "#CCCCCC",
2991
+ external_component_db_border_color: "#BFBFBF",
2992
+ external_component_queue_bg_color: "#CCCCCC",
2993
+ external_component_queue_border_color: "#BFBFBF"
2994
+ },
2995
+ sankey: {
2996
+ useMaxWidth: !0,
2997
+ width: 600,
2998
+ height: 400,
2999
+ linkColor: "gradient",
3000
+ nodeAlignment: "justify",
3001
+ showValues: !0,
3002
+ prefix: "",
3003
+ suffix: "",
3004
+ nodeWidth: 10,
3005
+ nodePadding: 12,
3006
+ labelStyle: "legacy"
3007
+ },
3008
+ block: {
3009
+ useMaxWidth: !0,
3010
+ padding: 8
3011
+ },
3012
+ packet: {
3013
+ useMaxWidth: !0,
3014
+ rowHeight: 32,
3015
+ bitWidth: 32,
3016
+ bitsPerRow: 32,
3017
+ showBits: !0,
3018
+ paddingX: 5,
3019
+ paddingY: 5
3020
+ },
3021
+ treeView: {
3022
+ useMaxWidth: !0,
3023
+ rowIndent: 10,
3024
+ paddingX: 5,
3025
+ paddingY: 5,
3026
+ lineThickness: 1,
3027
+ showIcons: !1,
3028
+ defaultIconPack: "",
3029
+ filenameIcons: {},
3030
+ extensionIcons: {}
3031
+ },
3032
+ architecture: {
3033
+ useMaxWidth: !0,
3034
+ padding: 40,
3035
+ iconSize: 80,
3036
+ fontSize: 16,
3037
+ randomize: !1,
3038
+ nodeSeparation: 75,
3039
+ idealEdgeLengthMultiplier: 1.5,
3040
+ edgeElasticity: .45,
3041
+ numIter: 2500,
3042
+ seed: 1
3043
+ },
3044
+ eventmodeling: {
3045
+ useMaxWidth: !0,
3046
+ padding: 30,
3047
+ rowHeight: 32
3048
+ },
3049
+ radar: {
3050
+ useMaxWidth: !0,
3051
+ width: 600,
3052
+ height: 600,
3053
+ marginTop: 50,
3054
+ marginRight: 50,
3055
+ marginBottom: 50,
3056
+ marginLeft: 50,
3057
+ axisScaleFactor: 1,
3058
+ axisLabelFactor: 1.05,
3059
+ curveTension: .17
3060
+ },
3061
+ venn: {
3062
+ useMaxWidth: !0,
3063
+ width: 800,
3064
+ height: 450,
3065
+ padding: 8,
3066
+ useDebugLayout: !1
3067
+ },
3068
+ cynefin: {
3069
+ useMaxWidth: !0,
3070
+ width: 800,
3071
+ height: 600,
3072
+ padding: 40,
3073
+ showDomainDescriptions: !0,
3074
+ boundaryAmplitude: 8,
3075
+ seed: 0
3076
+ },
3077
+ theme: "default",
3078
+ look: "classic",
3079
+ handDrawnSeed: 0,
3080
+ layout: "dagre",
3081
+ maxTextSize: 5e4,
3082
+ maxEdges: 500,
3083
+ darkMode: !1,
3084
+ fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
3085
+ logLevel: 5,
3086
+ securityLevel: "strict",
3087
+ startOnLoad: !0,
3088
+ arrowMarkerAbsolute: !1,
3089
+ secure: [
3090
+ "secure",
3091
+ "securityLevel",
3092
+ "startOnLoad",
3093
+ "maxTextSize",
3094
+ "suppressErrorRendering",
3095
+ "maxEdges"
3096
+ ],
3097
+ legacyMathML: !1,
3098
+ forceLegacyMathML: !1,
3099
+ deterministicIds: !1,
3100
+ fontSize: 16,
3101
+ markdownAutoWrap: !0,
3102
+ suppressErrorRendering: !1
3103
+ }, Mt = {
3104
+ ...W,
3105
+ deterministicIDSeed: void 0,
3106
+ elk: {
3107
+ mergeEdges: !1,
3108
+ nodePlacementStrategy: "BRANDES_KOEPF",
3109
+ forceNodeModelOrder: !1,
3110
+ considerModelOrder: "NODES_AND_EDGES"
3111
+ },
3112
+ themeCSS: void 0,
3113
+ themeVariables: U.default.getThemeVariables(),
3114
+ sequence: {
3115
+ ...W.sequence,
3116
+ messageFont: /* @__PURE__ */ e(function() {
3117
+ return {
3118
+ fontFamily: this.messageFontFamily,
3119
+ fontSize: this.messageFontSize,
3120
+ fontWeight: this.messageFontWeight
3121
+ };
3122
+ }, "messageFont"),
3123
+ noteFont: /* @__PURE__ */ e(function() {
3124
+ return {
3125
+ fontFamily: this.noteFontFamily,
3126
+ fontSize: this.noteFontSize,
3127
+ fontWeight: this.noteFontWeight
3128
+ };
3129
+ }, "noteFont"),
3130
+ actorFont: /* @__PURE__ */ e(function() {
3131
+ return {
3132
+ fontFamily: this.actorFontFamily,
3133
+ fontSize: this.actorFontSize,
3134
+ fontWeight: this.actorFontWeight
3135
+ };
3136
+ }, "actorFont")
3137
+ },
3138
+ class: {
3139
+ hideEmptyMembersBox: !1,
3140
+ hierarchicalNamespaces: !0
3141
+ },
3142
+ gantt: {
3143
+ ...W.gantt,
3144
+ tickInterval: void 0,
3145
+ useWidth: void 0
3146
+ },
3147
+ c4: {
3148
+ ...W.c4,
3149
+ useWidth: void 0,
3150
+ personFont: /* @__PURE__ */ e(function() {
3151
+ return {
3152
+ fontFamily: this.personFontFamily,
3153
+ fontSize: this.personFontSize,
3154
+ fontWeight: this.personFontWeight
3155
+ };
3156
+ }, "personFont"),
3157
+ flowchart: {
3158
+ ...W.flowchart,
3159
+ inheritDir: !1
3160
+ },
3161
+ external_personFont: /* @__PURE__ */ e(function() {
3162
+ return {
3163
+ fontFamily: this.external_personFontFamily,
3164
+ fontSize: this.external_personFontSize,
3165
+ fontWeight: this.external_personFontWeight
3166
+ };
3167
+ }, "external_personFont"),
3168
+ systemFont: /* @__PURE__ */ e(function() {
3169
+ return {
3170
+ fontFamily: this.systemFontFamily,
3171
+ fontSize: this.systemFontSize,
3172
+ fontWeight: this.systemFontWeight
3173
+ };
3174
+ }, "systemFont"),
3175
+ external_systemFont: /* @__PURE__ */ e(function() {
3176
+ return {
3177
+ fontFamily: this.external_systemFontFamily,
3178
+ fontSize: this.external_systemFontSize,
3179
+ fontWeight: this.external_systemFontWeight
3180
+ };
3181
+ }, "external_systemFont"),
3182
+ system_dbFont: /* @__PURE__ */ e(function() {
3183
+ return {
3184
+ fontFamily: this.system_dbFontFamily,
3185
+ fontSize: this.system_dbFontSize,
3186
+ fontWeight: this.system_dbFontWeight
3187
+ };
3188
+ }, "system_dbFont"),
3189
+ external_system_dbFont: /* @__PURE__ */ e(function() {
3190
+ return {
3191
+ fontFamily: this.external_system_dbFontFamily,
3192
+ fontSize: this.external_system_dbFontSize,
3193
+ fontWeight: this.external_system_dbFontWeight
3194
+ };
3195
+ }, "external_system_dbFont"),
3196
+ system_queueFont: /* @__PURE__ */ e(function() {
3197
+ return {
3198
+ fontFamily: this.system_queueFontFamily,
3199
+ fontSize: this.system_queueFontSize,
3200
+ fontWeight: this.system_queueFontWeight
3201
+ };
3202
+ }, "system_queueFont"),
3203
+ external_system_queueFont: /* @__PURE__ */ e(function() {
3204
+ return {
3205
+ fontFamily: this.external_system_queueFontFamily,
3206
+ fontSize: this.external_system_queueFontSize,
3207
+ fontWeight: this.external_system_queueFontWeight
3208
+ };
3209
+ }, "external_system_queueFont"),
3210
+ containerFont: /* @__PURE__ */ e(function() {
3211
+ return {
3212
+ fontFamily: this.containerFontFamily,
3213
+ fontSize: this.containerFontSize,
3214
+ fontWeight: this.containerFontWeight
3215
+ };
3216
+ }, "containerFont"),
3217
+ external_containerFont: /* @__PURE__ */ e(function() {
3218
+ return {
3219
+ fontFamily: this.external_containerFontFamily,
3220
+ fontSize: this.external_containerFontSize,
3221
+ fontWeight: this.external_containerFontWeight
3222
+ };
3223
+ }, "external_containerFont"),
3224
+ container_dbFont: /* @__PURE__ */ e(function() {
3225
+ return {
3226
+ fontFamily: this.container_dbFontFamily,
3227
+ fontSize: this.container_dbFontSize,
3228
+ fontWeight: this.container_dbFontWeight
3229
+ };
3230
+ }, "container_dbFont"),
3231
+ external_container_dbFont: /* @__PURE__ */ e(function() {
3232
+ return {
3233
+ fontFamily: this.external_container_dbFontFamily,
3234
+ fontSize: this.external_container_dbFontSize,
3235
+ fontWeight: this.external_container_dbFontWeight
3236
+ };
3237
+ }, "external_container_dbFont"),
3238
+ container_queueFont: /* @__PURE__ */ e(function() {
3239
+ return {
3240
+ fontFamily: this.container_queueFontFamily,
3241
+ fontSize: this.container_queueFontSize,
3242
+ fontWeight: this.container_queueFontWeight
3243
+ };
3244
+ }, "container_queueFont"),
3245
+ external_container_queueFont: /* @__PURE__ */ e(function() {
3246
+ return {
3247
+ fontFamily: this.external_container_queueFontFamily,
3248
+ fontSize: this.external_container_queueFontSize,
3249
+ fontWeight: this.external_container_queueFontWeight
3250
+ };
3251
+ }, "external_container_queueFont"),
3252
+ componentFont: /* @__PURE__ */ e(function() {
3253
+ return {
3254
+ fontFamily: this.componentFontFamily,
3255
+ fontSize: this.componentFontSize,
3256
+ fontWeight: this.componentFontWeight
3257
+ };
3258
+ }, "componentFont"),
3259
+ external_componentFont: /* @__PURE__ */ e(function() {
3260
+ return {
3261
+ fontFamily: this.external_componentFontFamily,
3262
+ fontSize: this.external_componentFontSize,
3263
+ fontWeight: this.external_componentFontWeight
3264
+ };
3265
+ }, "external_componentFont"),
3266
+ component_dbFont: /* @__PURE__ */ e(function() {
3267
+ return {
3268
+ fontFamily: this.component_dbFontFamily,
3269
+ fontSize: this.component_dbFontSize,
3270
+ fontWeight: this.component_dbFontWeight
3271
+ };
3272
+ }, "component_dbFont"),
3273
+ external_component_dbFont: /* @__PURE__ */ e(function() {
3274
+ return {
3275
+ fontFamily: this.external_component_dbFontFamily,
3276
+ fontSize: this.external_component_dbFontSize,
3277
+ fontWeight: this.external_component_dbFontWeight
3278
+ };
3279
+ }, "external_component_dbFont"),
3280
+ component_queueFont: /* @__PURE__ */ e(function() {
3281
+ return {
3282
+ fontFamily: this.component_queueFontFamily,
3283
+ fontSize: this.component_queueFontSize,
3284
+ fontWeight: this.component_queueFontWeight
3285
+ };
3286
+ }, "component_queueFont"),
3287
+ external_component_queueFont: /* @__PURE__ */ e(function() {
3288
+ return {
3289
+ fontFamily: this.external_component_queueFontFamily,
3290
+ fontSize: this.external_component_queueFontSize,
3291
+ fontWeight: this.external_component_queueFontWeight
3292
+ };
3293
+ }, "external_component_queueFont"),
3294
+ boundaryFont: /* @__PURE__ */ e(function() {
3295
+ return {
3296
+ fontFamily: this.boundaryFontFamily,
3297
+ fontSize: this.boundaryFontSize,
3298
+ fontWeight: this.boundaryFontWeight
3299
+ };
3300
+ }, "boundaryFont"),
3301
+ messageFont: /* @__PURE__ */ e(function() {
3302
+ return {
3303
+ fontFamily: this.messageFontFamily,
3304
+ fontSize: this.messageFontSize,
3305
+ fontWeight: this.messageFontWeight
3306
+ };
3307
+ }, "messageFont")
3308
+ },
3309
+ pie: {
3310
+ ...W.pie,
3311
+ useWidth: 984
3312
+ },
3313
+ xyChart: {
3314
+ ...W.xyChart,
3315
+ useWidth: void 0
3316
+ },
3317
+ requirement: {
3318
+ ...W.requirement,
3319
+ useWidth: void 0
3320
+ },
3321
+ packet: { ...W.packet },
3322
+ eventmodeling: { ...W.eventmodeling },
3323
+ treeView: {
3324
+ ...W.treeView,
3325
+ useWidth: void 0
3326
+ },
3327
+ radar: { ...W.radar },
3328
+ railroad: {
3329
+ ...W.railroad,
3330
+ fontSize: void 0,
3331
+ fontFamily: void 0,
3332
+ terminalFill: void 0,
3333
+ terminalStroke: void 0,
3334
+ terminalTextColor: void 0,
3335
+ nonTerminalFill: void 0,
3336
+ nonTerminalStroke: void 0,
3337
+ nonTerminalTextColor: void 0,
3338
+ lineColor: void 0,
3339
+ markerFill: void 0,
3340
+ commentFill: void 0,
3341
+ commentStroke: void 0,
3342
+ commentTextColor: void 0,
3343
+ specialFill: void 0,
3344
+ specialStroke: void 0,
3345
+ ruleNameColor: void 0
3346
+ },
3347
+ ishikawa: { ...W.ishikawa },
3348
+ sankey: {
3349
+ ...W.sankey,
3350
+ nodeColors: void 0
3351
+ },
3352
+ treemap: {
3353
+ useMaxWidth: !0,
3354
+ padding: 10,
3355
+ diagramPadding: 8,
3356
+ showValues: !0,
3357
+ nodeWidth: 100,
3358
+ nodeHeight: 40,
3359
+ borderWidth: 1,
3360
+ valueFontSize: 12,
3361
+ labelFontSize: 14,
3362
+ valueFormat: ","
3363
+ },
3364
+ venn: { ...W.venn },
3365
+ cynefin: { ...W.cynefin }
3366
+ }, Nt = /* @__PURE__ */ e((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
3367
+ ...n,
3368
+ t + r,
3369
+ ...Nt(e[r], "")
3370
+ ] : [...n, t + r], []), "keyify"), Pt = new Set(Nt(Mt, "")), Ft = Mt, It = {
3371
+ nodeColors: /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,
3372
+ filenameIcons: /^[\w-]+(?::[\w-]+)?$/,
3373
+ extensionIcons: /^[\w-]+(?::[\w-]+)?$/
3374
+ }, Lt = /* @__PURE__ */ e((e, t) => {
3375
+ for (let n of Object.keys(e)) {
3376
+ let i = e[n];
3377
+ (n.startsWith("__") || n.includes("proto") || n.includes("constr") || typeof i != "string" || !t.test(i)) && (r.debug("sanitize deleting dictionary entry:", n, i), delete e[n]);
3378
+ }
3379
+ }, "sanitizeDictionaryConfig"), G = /* @__PURE__ */ e((e) => {
3380
+ if (r.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
3381
+ if (Array.isArray(e)) {
3382
+ e.forEach((e) => G(e));
3383
+ return;
3384
+ }
3385
+ for (let t of Object.keys(e)) {
3386
+ if (r.debug("Checking key", t), t.startsWith("__") || t.includes("proto") || t.includes("constr") || !Pt.has(t) || e[t] == null) {
3387
+ r.debug("sanitize deleting key: ", t), delete e[t];
3388
+ continue;
3389
+ }
3390
+ if (typeof e[t] == "object") {
3391
+ let n = It[t];
3392
+ n ? Lt(e[t], n) : (r.debug("sanitizing object", t), G(e[t]));
3393
+ continue;
3394
+ }
3395
+ for (let n of [
3396
+ "themeCSS",
3397
+ "fontFamily",
3398
+ "altFontFamily"
3399
+ ]) t.includes(n) && (r.debug("sanitizing css option", t), e[t] = Rt(e[t]));
3400
+ }
3401
+ if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
3402
+ let n = e.themeVariables[t];
3403
+ n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
3404
+ }
3405
+ r.debug("After sanitization", e);
3406
+ }
3407
+ }, "sanitizeDirective"), Rt = /* @__PURE__ */ e((e) => {
3408
+ let t = 0, n = 0;
3409
+ for (let r of e) {
3410
+ if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
3411
+ r === "{" ? t++ : r === "}" && n++;
3412
+ }
3413
+ return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
3414
+ }, "sanitizeCss"), zt = Object.freeze(Ft), Bt = /* @__PURE__ */ e((e) => !(e === !1 || [
3415
+ "false",
3416
+ "null",
3417
+ "0"
3418
+ ].includes(String(e).trim().toLowerCase())), "evaluate"), K = I({}, zt), Vt, q = [], Ht = I({}, zt), Ut = /* @__PURE__ */ e((e, t) => {
3419
+ let n = I({}, e), r = {};
3420
+ for (let e of t) Yt(e), r = I(r, e);
3421
+ if (n = I(n, r), r.theme && r.theme in U) {
3422
+ let e = I(I({}, Vt).themeVariables || {}, r.themeVariables);
3423
+ n.theme && n.theme in U && (n.themeVariables = U[n.theme].getThemeVariables(e));
3424
+ }
3425
+ return Ht = n, tn(Ht), Ht;
3426
+ }, "updateCurrentConfig"), Wt = /* @__PURE__ */ e((e) => (K = I({}, zt), K = I(K, e), e.theme && U[e.theme] && (K.themeVariables = U[e.theme].getThemeVariables(e.themeVariables)), Ut(K, q), K), "setSiteConfig"), Gt = /* @__PURE__ */ e((e) => {
3427
+ Vt = I({}, e);
3428
+ }, "saveConfigFromInitialize"), Kt = /* @__PURE__ */ e((e) => (K = I(K, e), Ut(K, q), K), "updateSiteConfig"), J = /* @__PURE__ */ e(() => I({}, K), "getSiteConfig"), qt = /* @__PURE__ */ e((e) => (tn(e), I(Ht, e), Jt()), "setConfig"), Jt = /* @__PURE__ */ e(() => I({}, Ht), "getConfig"), Yt = /* @__PURE__ */ e((e) => {
3429
+ e && (["secure", ...K.secure ?? []].forEach((t) => {
3430
+ Object.hasOwn(e, t) && (r.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
3431
+ }), Object.keys(e).forEach((t) => {
3432
+ t.startsWith("__") && delete e[t];
3433
+ }), Object.keys(e).forEach((t) => {
3434
+ typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Yt(e[t]);
3435
+ }));
3436
+ }, "sanitize"), Xt = /* @__PURE__ */ e((e) => {
3437
+ G(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
3438
+ ...e.themeVariables,
3439
+ fontFamily: e.fontFamily
3440
+ }), q.push(e), Ut(K, q);
3441
+ }, "addDirective"), Zt = /* @__PURE__ */ e((e = K) => {
3442
+ q = [], Ut(e, q);
3443
+ }, "reset"), Qt = {
3444
+ LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
3445
+ FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
3446
+ }, $t = {}, en = /* @__PURE__ */ e((e) => {
3447
+ $t[e] || (r.warn(Qt[e]), $t[e] = !0);
3448
+ }, "issueWarning"), tn = /* @__PURE__ */ e((e) => {
3449
+ e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && en("LAZY_LOAD_DEPRECATED");
3450
+ }, "checkConfig"), nn = /* @__PURE__ */ e(() => {
3451
+ let e = {};
3452
+ Vt && (e = I(e, Vt));
3453
+ for (let t of q) e = I(e, t);
3454
+ return e;
3455
+ }, "getUserDefinedConfig"), Y = /* @__PURE__ */ e((e) => (e.flowchart?.htmlLabels != null && en("FLOWCHART_HTML_LABELS_DEPRECATED"), Bt(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), rn = /^([^\S\n\r]*)-{3}\s*[\n\r](.*?)[\n\r]\1-{3}\s*[\n\r]+/s, X = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, an = /\s*%%.*\n/gm, on = class extends Error {
3456
+ static {
3457
+ e(this, "UnknownDiagramError");
3458
+ }
3459
+ constructor(e) {
3460
+ super(e), this.name = "UnknownDiagramError";
3461
+ }
3462
+ }, sn = {}, cn = /* @__PURE__ */ e(function(e, t) {
3463
+ e = e.replace(rn, "").replace(X, "").replace(an, "\n");
3464
+ for (let [n, { detector: r }] of Object.entries(sn)) if (r(e, t)) return n;
3465
+ throw new on(`No diagram type detected matching given configuration for text: ${e}`);
3466
+ }, "detectType"), ln = /* @__PURE__ */ e((...e) => {
3467
+ for (let { id: t, detector: n, loader: r } of e) un(t, n, r);
3468
+ }, "registerLazyLoadedDiagrams"), un = /* @__PURE__ */ e((e, t, n) => {
3469
+ sn[e] && r.warn(`Detector with key ${e} already exists. Overwriting.`), sn[e] = {
3470
+ detector: t,
3471
+ loader: n
3472
+ }, r.debug(`Detector with key ${e} added${n ? " with loader" : ""}`);
3473
+ }, "addDetector"), dn = /* @__PURE__ */ e((e) => sn[e].loader, "getDiagramLoader"), Z = /<br\s*\/?>/gi, fn = /* @__PURE__ */ e((e) => e ? bn(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Q = /* @__PURE__ */ (() => {
3474
+ let e = !1;
3475
+ return () => {
3476
+ e ||= (pn(), !0);
3477
+ };
3478
+ })();
3479
+ function pn() {
3480
+ let e = "data-temp-href-target";
3481
+ P.addHook("beforeSanitizeAttributes", (t) => {
3482
+ t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
3483
+ }), P.addHook("afterSanitizeAttributes", (t) => {
3484
+ t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
3485
+ });
3486
+ }
3487
+ e(pn, "setupDompurifyHooks");
3488
+ var mn = /* @__PURE__ */ e((e) => (Q(), P.sanitize(e)), "removeScript"), hn = /* @__PURE__ */ e((e, t) => {
3489
+ if (Y(t)) {
3490
+ let n = t.securityLevel;
3491
+ n === "antiscript" || n === "strict" || n === "sandbox" ? e = mn(e) : n !== "loose" && (e = bn(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = yn(e));
3492
+ }
3493
+ return e;
3494
+ }, "sanitizeMore"), $ = /* @__PURE__ */ e((e, t) => e && (e = t.dompurifyConfig ? P.sanitize(hn(e, t), t.dompurifyConfig).toString() : P.sanitize(hn(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), gn = /* @__PURE__ */ e((e, t) => typeof e == "string" ? $(e, t) : e.flat().map((e) => $(e, t)), "sanitizeTextOrArray"), _n = /* @__PURE__ */ e((e) => Z.test(e), "hasBreaks"), vn = /* @__PURE__ */ e((e) => e.split(Z), "splitBreaks"), yn = /* @__PURE__ */ e((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), bn = /* @__PURE__ */ e((e) => e.replace(Z, "#br#"), "breakToPlaceholder"), xn = /* @__PURE__ */ e((e) => {
3495
+ let t = "";
3496
+ return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
3497
+ }, "getUrl"), Sn = /* @__PURE__ */ e(function(...e) {
3498
+ let t = e.filter((e) => !isNaN(e));
3499
+ return Math.max(...t);
3500
+ }, "getMax"), Cn = /* @__PURE__ */ e(function(...e) {
3501
+ let t = e.filter((e) => !isNaN(e));
3502
+ return Math.min(...t);
3503
+ }, "getMin"), wn = /* @__PURE__ */ e(function(e) {
3504
+ let t = e.split(/(,)/), n = [];
3505
+ for (let e = 0; e < t.length; e++) {
3506
+ let r = t[e];
3507
+ if (r === "," && e > 0 && e + 1 < t.length) {
3508
+ let i = t[e - 1], a = t[e + 1];
3509
+ En(i, a) && (r = i + "," + a, e++, n.pop());
3510
+ }
3511
+ n.push(Dn(r));
3512
+ }
3513
+ return n.join("");
3514
+ }, "parseGenericTypes"), Tn = /* @__PURE__ */ e((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), En = /* @__PURE__ */ e((e, t) => {
3515
+ let n = Tn(e, "~"), r = Tn(t, "~");
3516
+ return n === 1 && r === 1;
3517
+ }, "shouldCombineSets"), Dn = /* @__PURE__ */ e((e) => {
3518
+ let t = Tn(e, "~"), n = !1;
3519
+ if (t <= 1) return e;
3520
+ t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
3521
+ let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
3522
+ for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
3523
+ return n && r.unshift("~"), r.join("");
3524
+ }, "processSet"), On = /* @__PURE__ */ e(() => window.MathMLElement !== void 0, "isMathMLSupported"), kn = /\$\$(.*?)\$\$/g, An = /* @__PURE__ */ e((e) => (e.match(kn)?.length ?? 0) > 0, "hasKatex"), jn = /* @__PURE__ */ e(async (e, t) => {
3525
+ let n = document.createElement("div");
3526
+ n.innerHTML = await Nn(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
3527
+ let r = {
3528
+ width: n.clientWidth,
3529
+ height: n.clientHeight
3530
+ };
3531
+ return n.remove(), r;
3532
+ }, "calculateMathMLDimensions"), Mn = /* @__PURE__ */ e(async (e, t) => {
3533
+ if (!An(e)) return e;
3534
+ if (!(On() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(kn, "MathML is unsupported in this environment.");
3535
+ {
3536
+ let { default: n } = await import("./katex-uQfgtQZ-.js"), r = t.forceLegacyMathML || !On() && t.legacyMathML ? "htmlAndMathml" : "mathml";
3537
+ return e.split(Z).map((e) => An(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(kn, (e, t) => n.renderToString(t, {
3538
+ throwOnError: !0,
3539
+ displayMode: !0,
3540
+ output: r
3541
+ }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
3542
+ }
3543
+ return e.replace(kn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
3544
+ }, "renderKatexUnsanitized"), Nn = /* @__PURE__ */ e(async (e, t) => $(await Mn(e, t), t), "renderKatexSanitized"), Pn = {
3545
+ getRows: fn,
3546
+ sanitizeText: $,
3547
+ sanitizeTextOrArray: gn,
3548
+ hasBreaks: _n,
3549
+ splitBreaks: vn,
3550
+ lineBreakRegex: Z,
3551
+ removeScript: mn,
3552
+ getUrl: xn,
3553
+ evaluate: Bt,
3554
+ getMax: Sn,
3555
+ getMin: Cn
3556
+ }, Fn = /* @__PURE__ */ e(function(e, t) {
3557
+ for (let n of t) e.attr(n[0], n[1]);
3558
+ }, "d3Attrs"), In = /* @__PURE__ */ e(function(e, t, n) {
3559
+ let r = /* @__PURE__ */ new Map();
3560
+ return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
3561
+ }, "calculateSvgSizeAttrs"), Ln = /* @__PURE__ */ e(function(e, t, n, r) {
3562
+ Fn(e, In(t, n, r));
3563
+ }, "configureSvgSize"), Rn = /* @__PURE__ */ e(function(e, t, n, i) {
3564
+ let a = t.node().getBBox(), o = a.width, s = a.height;
3565
+ r.info(`SVG bounds: ${o}x${s}`, a);
3566
+ let c = 0, l = 0;
3567
+ r.info(`Graph bounds: ${c}x${l}`, e), c = o + n * 2, l = s + n * 2, r.info(`Calculated bounds: ${c}x${l}`), Ln(t, l, c, i);
3568
+ let u = `${a.x - n} ${a.y - n} ${a.width + 2 * n} ${a.height + 2 * n}`;
3569
+ t.attr("viewBox", u);
3570
+ }, "setupGraphViewbox"), zn = {};
3571
+ function Bn(e) {
3572
+ return [...e.cssRules].map((e) => e.cssText).join("\n");
3573
+ }
3574
+ e(Bn, "cssStyleSheetToString");
3575
+ var Vn = /* @__PURE__ */ e((e, t, n, i) => {
3576
+ let a = "";
3577
+ return e in zn && zn[e] ? a = zn[e]({
3578
+ ...n,
3579
+ svgId: i
3580
+ }) : r.warn(`No theme found for ${e}`), ` & {
3581
+ font-family: ${n.fontFamily};
3582
+ font-size: ${n.fontSize};
3583
+ fill: ${n.textColor}
3584
+ }
3585
+ @keyframes edge-animation-frame {
3586
+ from {
3587
+ stroke-dashoffset: 0;
3588
+ }
3589
+ }
3590
+ @keyframes dash {
3591
+ to {
3592
+ stroke-dashoffset: 0;
3593
+ }
3594
+ }
3595
+ & .edge-animation-slow {
3596
+ stroke-dasharray: 9,5 !important;
3597
+ stroke-dashoffset: 900;
3598
+ animation: dash 50s linear infinite;
3599
+ stroke-linecap: round;
3600
+ }
3601
+ & .edge-animation-fast {
3602
+ stroke-dasharray: 9,5 !important;
3603
+ stroke-dashoffset: 900;
3604
+ animation: dash 20s linear infinite;
3605
+ stroke-linecap: round;
3606
+ }
3607
+ /* Classes common for multiple diagrams */
3608
+
3609
+ & .error-icon {
3610
+ fill: ${n.errorBkgColor};
3611
+ }
3612
+ & .error-text {
3613
+ fill: ${n.errorTextColor};
3614
+ stroke: ${n.errorTextColor};
3615
+ }
3616
+
3617
+ & .edge-thickness-normal {
3618
+ stroke-width: ${n.strokeWidth ?? 1}px;
3619
+ }
3620
+ & .edge-thickness-thick {
3621
+ stroke-width: 3.5px
3622
+ }
3623
+ & .edge-pattern-solid {
3624
+ stroke-dasharray: 0;
3625
+ }
3626
+ & .edge-thickness-invisible {
3627
+ stroke-width: 0;
3628
+ fill: none;
3629
+ }
3630
+ & .edge-pattern-dashed{
3631
+ stroke-dasharray: 3;
3632
+ }
3633
+ .edge-pattern-dotted {
3634
+ stroke-dasharray: 2;
3635
+ }
3636
+
3637
+ & .marker {
3638
+ fill: ${n.lineColor};
3639
+ stroke: ${n.lineColor};
3640
+ }
3641
+ & .marker.cross {
3642
+ stroke: ${n.lineColor};
3643
+ }
3644
+
3645
+ & svg {
3646
+ font-family: ${n.fontFamily};
3647
+ font-size: ${n.fontSize};
3648
+ }
3649
+ & p {
3650
+ margin: 0
3651
+ }
3652
+
3653
+ ${a}
3654
+ .node .neo-node {
3655
+ stroke: ${n.nodeBorder};
3656
+ }
3657
+
3658
+ [data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {
3659
+ stroke: ${n.useGradient ? "url(" + i + "-gradient)" : n.nodeBorder};
3660
+ filter: ${n.dropShadow ? n.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
3661
+ }
3662
+ [data-look="neo"].swimlane.cluster rect {
3663
+ filter: none;
3664
+ }
3665
+
3666
+
3667
+ [data-look="neo"].node path {
3668
+ stroke: ${n.useGradient ? "url(" + i + "-gradient)" : n.nodeBorder};
3669
+ stroke-width: ${n.strokeWidth ?? 1}px;
3670
+ }
3671
+
3672
+ [data-look="neo"].node .outer-path {
3673
+ filter: ${n.dropShadow ? n.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
3674
+ }
3675
+
3676
+ [data-look="neo"].node .neo-line path {
3677
+ stroke: ${n.nodeBorder};
3678
+ filter: none;
3679
+ }
3680
+
3681
+ [data-look="neo"].node circle{
3682
+ stroke: ${n.useGradient ? "url(" + i + "-gradient)" : n.nodeBorder};
3683
+ filter: ${n.dropShadow ? n.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
3684
+ }
3685
+
3686
+ [data-look="neo"].node circle .state-start{
3687
+ fill: #000000;
3688
+ }
3689
+
3690
+ [data-look="neo"].icon-shape .icon {
3691
+ fill: ${n.useGradient ? "url(" + i + "-gradient)" : n.nodeBorder};
3692
+ filter: ${n.dropShadow ? n.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
3693
+ }
3694
+
3695
+ [data-look="neo"].icon-shape .icon-neo path {
3696
+ stroke: ${n.useGradient ? "url(" + i + "-gradient)" : n.nodeBorder};
3697
+ filter: ${n.dropShadow ? n.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
3698
+ }
3699
+
3700
+ ${t}
3701
+ `;
3702
+ }, "getStyles"), Hn = /* @__PURE__ */ e((e, t) => {
3703
+ t !== void 0 && (zn[e] = t);
3704
+ }, "addStylesForDiagram"), Un = Vn, Wn = {};
3705
+ t(Wn, {
3706
+ clear: () => Yn,
3707
+ getAccDescription: () => $n,
3708
+ getAccTitle: () => Zn,
3709
+ getDiagramTitle: () => tr,
3710
+ setAccDescription: () => Qn,
3711
+ setAccTitle: () => Xn,
3712
+ setDiagramTitle: () => er
3713
+ });
3714
+ var Gn = "", Kn = "", qn = "", Jn = /* @__PURE__ */ e((e) => $(e, Jt()), "sanitizeText"), Yn = /* @__PURE__ */ e(() => {
3715
+ Gn = "", qn = "", Kn = "";
3716
+ }, "clear"), Xn = /* @__PURE__ */ e((e) => {
3717
+ Gn = Jn(e).replace(/^\s+/g, "");
3718
+ }, "setAccTitle"), Zn = /* @__PURE__ */ e(() => Gn, "getAccTitle"), Qn = /* @__PURE__ */ e((e) => {
3719
+ qn = Jn(e).replace(/\n\s+/g, "\n");
3720
+ }, "setAccDescription"), $n = /* @__PURE__ */ e(() => qn, "getAccDescription"), er = /* @__PURE__ */ e((e) => {
3721
+ Kn = Jn(e);
3722
+ }, "setDiagramTitle"), tr = /* @__PURE__ */ e(() => Kn, "getDiagramTitle"), nr = r, rr = n, ir = Jt, ar = qt, or = zt, sr = /* @__PURE__ */ e((e) => $(e, ir()), "sanitizeText"), cr = Rn, lr = /* @__PURE__ */ e(() => Wn, "getCommonDb"), ur = {}, dr = /* @__PURE__ */ e((e, t, n) => {
3723
+ ur[e] && nr.warn(`Diagram with id ${e} already registered. Overwriting.`), ur[e] = t, n && un(e, n), Hn(e, t.styles), t.injectUtils?.(nr, rr, ir, sr, cr, lr(), () => {});
3724
+ }, "registerDiagram"), fr = /* @__PURE__ */ e((e) => {
3725
+ if (e in ur) return ur[e];
3726
+ throw new pr(e);
3727
+ }, "getDiagram"), pr = class extends Error {
3728
+ static {
3729
+ e(this, "DiagramNotFoundError");
3730
+ }
3731
+ constructor(e) {
3732
+ super(`Diagram ${e} not found.`);
3733
+ }
3734
+ };
3735
+ //#endregion
3736
+ export { P as $, An as A, sr as B, dn as C, V as D, J as E, Nn as F, ar as G, Qn as H, Zt as I, Rn as J, er as K, Rt as L, wn as M, dr as N, xn as O, ln as P, Kt as Q, G as R, fr as S, Y as T, Xn as U, Gt as V, qt as W, Un as X, cr as Y, U as Z, rn as _, Yn as a, m as at, Jt as b, Ln as c, or as d, b as et, Ft as f, Bt as g, X as h, jn as i, g as it, Z as j, nn as k, Bn as l, sn as m, Xt as n, v as nt, Wn as o, a as ot, cn as p, Wt as q, I as r, _ as rt, Pn as s, on as t, y as tt, zt as u, $n as v, tr as w, ir as x, Zn as y, $ as z };