@sme.up/ketchup2 2.7.0 → 2.8.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 (344) hide show
  1. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +1 -0
  2. package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
  3. package/dist/{arc-CVbkjF8U.js → arc-7ZXqzxve.js} +1 -1
  4. package/dist/{arc-w3BipdfE.cjs → arc-DBilzVYt.cjs} +1 -1
  5. package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
  6. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
  7. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
  8. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -251
  9. package/dist/assets/svg/functions.svg +1 -0
  10. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  11. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  12. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  13. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  14. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  15. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  16. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  17. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  18. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  19. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  21. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  22. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  23. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  28. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  29. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
  31. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
  32. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
  33. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
  34. package/dist/channel-BvUly9jN.cjs +1 -0
  35. package/dist/{channel-C-LAmObA.js → channel-D6agWknC.js} +1 -1
  36. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
  37. package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
  38. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  39. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  40. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
  41. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
  42. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  43. package/dist/{chunk-FMBD7UC4-BIKI8zae.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
  44. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
  45. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
  46. package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
  47. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
  48. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-CNSdkWoH.js} +997 -764
  49. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
  50. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
  51. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
  52. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
  53. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
  54. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
  55. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
  56. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
  57. package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
  58. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
  59. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
  60. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  61. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  62. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
  63. package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
  64. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  65. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
  66. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
  67. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
  68. package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
  69. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
  70. package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
  71. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
  72. package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
  73. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
  74. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-DJgD-hyF.js} +566 -522
  75. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
  76. package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
  77. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
  78. package/dist/{chunk-727SXJPM-Dj8nsm0O.cjs → chunk-TICWLB2K-1u0p_luB.cjs} +7 -7
  79. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-DqSHwYf9.js} +183 -177
  80. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
  81. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
  82. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
  83. package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
  84. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  85. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  86. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
  87. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
  88. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
  89. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -0
  90. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  91. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  92. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  93. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  94. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  95. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  96. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  97. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  98. package/dist/components/data-table/data-table-types.d.ts +52 -1
  99. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  100. package/dist/components/data-table/data-table.d.ts.map +1 -1
  101. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  102. package/dist/components/data-table/header/header-types.d.ts +7 -1
  103. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  104. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  105. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  106. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  107. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  108. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  109. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  110. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  111. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  112. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  113. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  114. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  115. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  116. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  117. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +25 -24
  118. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
  119. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
  120. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
  121. package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
  122. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
  123. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
  124. package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
  125. package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
  126. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
  127. package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
  128. package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
  129. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
  130. package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
  131. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
  132. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
  133. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
  134. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
  135. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
  136. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
  137. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
  138. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
  139. package/dist/{dist-Btd8EZyy.js → dist-C7OpkiTz.js} +2 -3
  140. package/dist/dist-DrOEvFlx.cjs +1 -0
  141. package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
  142. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
  143. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
  144. package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
  145. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
  146. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
  147. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
  148. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
  149. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  150. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  151. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  152. package/dist/functional-components/row/row-types.d.ts +5 -0
  153. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  154. package/dist/functional-components/row/row.d.ts.map +1 -1
  155. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  156. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  157. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  158. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  159. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  160. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  161. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  162. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
  163. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +675 -671
  164. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
  165. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
  166. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
  167. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
  168. package/dist/index.d.ts +4 -1
  169. package/dist/index.d.ts.map +1 -1
  170. package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
  171. package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
  172. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
  173. package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
  174. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
  175. package/dist/{ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
  176. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
  177. package/dist/{journeyDiagram-JHISSGLW-DfnmJPLn.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
  178. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
  179. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
  180. package/dist/katex-DUe6VLjC.cjs +257 -0
  181. package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
  182. package/dist/ketchup2.cjs.js +156 -154
  183. package/dist/ketchup2.css +1 -1
  184. package/dist/ketchup2.es.js +31759 -29656
  185. package/dist/{line-DIhSUgmA.js → line-BEo8vh4N.js} +1 -1
  186. package/dist/{line-CzwncDY3.cjs → line-wiGgVVGi.cjs} +1 -1
  187. package/dist/{linear-DUAteVwl.js → linear-BNesvT28.js} +1 -1
  188. package/dist/{linear-1lpO_WlJ.cjs → linear-YA14Lx5Z.cjs} +1 -1
  189. package/dist/locale/en/translation.json.d.ts +16 -0
  190. package/dist/locale/it/translation.json.d.ts +16 -0
  191. package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
  192. package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
  193. package/dist/{mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
  194. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
  195. package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
  196. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
  197. package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
  198. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
  199. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
  200. package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
  201. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
  202. package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
  203. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
  204. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
  205. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
  206. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
  207. package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
  208. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
  209. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
  210. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
  211. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
  212. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
  213. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
  214. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
  215. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
  216. package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
  217. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
  218. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
  219. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
  220. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
  221. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
  222. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
  223. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  224. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
  225. package/dist/src-B16ML7oM.cjs +1 -0
  226. package/dist/{src-DjDATEq3.js → src-D-6ZfKf9.js} +500 -507
  227. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
  228. package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
  229. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
  230. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
  231. package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
  232. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
  233. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
  234. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
  235. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
  236. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
  237. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
  238. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
  239. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
  240. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
  241. package/dist/types/translation.d.ts +17 -1
  242. package/dist/types/translation.d.ts.map +1 -1
  243. package/dist/utils/data-structures.d.ts +2 -1
  244. package/dist/utils/data-structures.d.ts.map +1 -1
  245. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
  246. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
  247. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
  248. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
  249. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
  250. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
  251. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
  252. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
  253. package/package.json +5 -2
  254. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  255. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  256. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  257. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  258. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  259. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  260. package/dist/channel-DJpMBAs-.cjs +0 -1
  261. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  262. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  263. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  264. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  265. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  266. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  267. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  268. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  269. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  270. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  271. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  272. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  273. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  274. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  275. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  276. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  277. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  278. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  279. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  280. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  281. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  282. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  283. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  284. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  285. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  286. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  287. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  288. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  289. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  290. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  291. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  292. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  293. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  294. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  295. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  296. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  297. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  298. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  299. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  300. package/dist/dist-D8RD2QWc.cjs +0 -1
  301. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  302. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  303. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  304. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  305. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  306. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  307. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  308. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  309. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  310. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  311. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  312. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  313. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  314. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  315. package/dist/katex-CkiTumqg.cjs +0 -257
  316. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  317. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  318. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  319. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  320. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  321. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  322. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  323. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  324. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  325. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  326. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  327. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  328. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  329. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  330. package/dist/src-DEmZ9bFr.cjs +0 -1
  331. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  332. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  333. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  334. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  335. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  336. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  337. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  338. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  339. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  340. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  341. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  342. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  343. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  344. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,4 +1,5 @@
1
- import { _ as e, g as t, h as n, m as r } from "./src-DjDATEq3.js";
1
+ import { h as e, m as t } from "./src-D-6ZfKf9.js";
2
+ import { n, t as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
2
3
  //#region node_modules/dompurify/dist/purify.es.mjs
3
4
  function i(e, t) {
4
5
  (t == null || t > e.length) && (t = e.length);
@@ -50,20 +51,20 @@ p ||= function(e) {
50
51
  }, ae ||= function(e) {
51
52
  return new e(...[...arguments].slice(1));
52
53
  };
53
- var oe = b(Array.prototype.forEach), se = b(Array.prototype.lastIndexOf), ce = b(Array.prototype.pop), le = b(Array.prototype.push), ue = b(Array.prototype.splice), de = Array.isArray, fe = b(String.prototype.toLowerCase), pe = b(String.prototype.toString), me = b(String.prototype.match), he = b(String.prototype.replace), ge = b(String.prototype.indexOf), _e = b(String.prototype.trim), ve = b(Number.prototype.toString), ye = b(Boolean.prototype.toString), h = typeof BigInt > "u" ? null : b(BigInt.prototype.toString), g = typeof Symbol > "u" ? null : b(Symbol.prototype.toString), _ = b(Object.prototype.hasOwnProperty), v = b(Object.prototype.toString), y = b(RegExp.prototype.test), be = xe(TypeError);
54
- function b(e) {
54
+ var oe = v(Array.prototype.forEach), se = v(Array.prototype.lastIndexOf), ce = v(Array.prototype.pop), le = v(Array.prototype.push), ue = v(Array.prototype.splice), de = Array.isArray, fe = v(String.prototype.toLowerCase), pe = v(String.prototype.toString), me = v(String.prototype.match), he = v(String.prototype.replace), ge = v(String.prototype.indexOf), _e = v(String.prototype.trim), ve = v(Number.prototype.toString), ye = v(Boolean.prototype.toString), h = typeof BigInt > "u" ? null : v(BigInt.prototype.toString), be = typeof Symbol > "u" ? null : v(Symbol.prototype.toString), g = v(Object.prototype.hasOwnProperty), xe = v(Object.prototype.toString), _ = v(RegExp.prototype.test), Se = Ce(TypeError);
55
+ function v(e) {
55
56
  return function(t) {
56
57
  t instanceof RegExp && (t.lastIndex = 0);
57
58
  var n = [...arguments].slice(1);
58
59
  return ie(e, t, n);
59
60
  };
60
61
  }
61
- function xe(e) {
62
+ function Ce(e) {
62
63
  return function() {
63
64
  return ae(e, [...arguments]);
64
65
  };
65
66
  }
66
- function x(e, t) {
67
+ function y(e, t) {
67
68
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : fe;
68
69
  if (d && d(e, null), !de(t)) return e;
69
70
  let r = t.length;
@@ -77,46 +78,46 @@ function x(e, t) {
77
78
  }
78
79
  return e;
79
80
  }
80
- function Se(e) {
81
- for (let t = 0; t < e.length; t++) _(e, t) || (e[t] = null);
81
+ function b(e) {
82
+ for (let t = 0; t < e.length; t++) g(e, t) || (e[t] = null);
82
83
  return e;
83
84
  }
84
- function S(e) {
85
+ function x(e) {
85
86
  let t = ne(null);
86
87
  for (let r of u(e)) {
87
88
  var n = c(r, 2);
88
89
  let i = n[0], a = n[1];
89
- _(e, i) && (de(a) ? t[i] = Se(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = S(a) : t[i] = a);
90
+ g(e, i) && (de(a) ? t[i] = b(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = x(a) : t[i] = a);
90
91
  }
91
92
  return t;
92
93
  }
93
- function Ce(e) {
94
+ function we(e) {
94
95
  switch (typeof e) {
95
96
  case "string": return e;
96
97
  case "number": return ve(e);
97
98
  case "boolean": return ye(e);
98
99
  case "bigint": return h ? h(e) : "0";
99
- case "symbol": return g ? g(e) : "Symbol()";
100
- case "undefined": return v(e);
100
+ case "symbol": return be ? be(e) : "Symbol()";
101
+ case "undefined": return xe(e);
101
102
  case "function":
102
103
  case "object": {
103
- if (e === null) return v(e);
104
- let t = e, n = C(t, "toString");
104
+ if (e === null) return xe(e);
105
+ let t = e, n = S(t, "toString");
105
106
  if (typeof n == "function") {
106
107
  let e = n(t);
107
- return typeof e == "string" ? e : v(e);
108
+ return typeof e == "string" ? e : xe(e);
108
109
  }
109
- return v(e);
110
+ return xe(e);
110
111
  }
111
- default: return v(e);
112
+ default: return xe(e);
112
113
  }
113
114
  }
114
- function C(e, t) {
115
+ function S(e, t) {
115
116
  for (; e !== null;) {
116
117
  let n = te(e, t);
117
118
  if (n) {
118
- if (n.get) return b(n.get);
119
- if (typeof n.value == "function") return b(n.value);
119
+ if (n.get) return v(n.get);
120
+ if (typeof n.value == "function") return v(n.value);
120
121
  }
121
122
  e = ee(e);
122
123
  }
@@ -125,14 +126,14 @@ function C(e, t) {
125
126
  }
126
127
  return n;
127
128
  }
128
- function we(e) {
129
+ function Te(e) {
129
130
  try {
130
- return y(e, ""), !0;
131
+ return _(e, ""), !0;
131
132
  } catch {
132
133
  return !1;
133
134
  }
134
135
  }
135
- var Te = p(/* @__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(".")), Ee = p(/* @__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(".")), De = p([
136
+ var Ee = p(/* @__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(".")), De = p(/* @__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(".")), Oe = p([
136
137
  "feBlend",
137
138
  "feColorMatrix",
138
139
  "feComponentTransfer",
@@ -158,7 +159,7 @@ var Te = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
158
159
  "feSpotLight",
159
160
  "feTile",
160
161
  "feTurbulence"
161
- ]), Oe = p([
162
+ ]), ke = p([
162
163
  "animate",
163
164
  "color-profile",
164
165
  "cursor",
@@ -181,7 +182,7 @@ var Te = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
181
182
  "solidcolor",
182
183
  "unknown",
183
184
  "use"
184
- ]), ke = p(/* @__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(".")), Ae = p([
185
+ ]), Ae = p(/* @__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(".")), je = p([
185
186
  "maction",
186
187
  "maligngroup",
187
188
  "malignmark",
@@ -197,13 +198,13 @@ var Te = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
197
198
  "annotation-xml",
198
199
  "mprescripts",
199
200
  "none"
200
- ]), je = p(["#text"]), Me = p(/* @__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(".")), Ne = p(/* @__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(".")), Pe = p(/* @__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(".")), Fe = p([
201
+ ]), Me = p(["#text"]), Ne = p(/* @__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(".")), Pe = p(/* @__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.dominant-baseline.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.pointer-events.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-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.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(".")), Fe = p(/* @__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(".")), Ie = p([
201
202
  "xlink:href",
202
203
  "xml:id",
203
204
  "xlink:title",
204
205
  "xml:space",
205
206
  "xmlns:xlink"
206
- ]), Ie = m(/{{[\w\W]*|^[\w\W]*}}/g), Le = m(/<%[\w\W]*|^[\w\W]*%>/g), Re = m(/\${[\w\W]*/g), ze = m(/^data-[\-\w.\u00B7-\uFFFF]+$/), Be = m(/^aria-[\-\w]+$/), Ve = m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), He = m(/^(?:\w+script|data):/i), Ue = m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), We = m(/^html$/i), Ge = m(/^[a-z][.\w]*(-[.\w]+)+$/i), Ke = m(/<[/\w!]/g), qe = m(/<[/\w]/g), Je = m(/<\/no(script|embed|frames)/i), Ye = m(/\/>/i), w = {
207
+ ]), Le = m(/{{[\w\W]*|^[\w\W]*}}/g), Re = m(/<%[\w\W]*|^[\w\W]*%>/g), ze = m(/\${[\w\W]*/g), Be = m(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ve = m(/^aria-[\-\w]+$/), He = m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ue = m(/^(?:\w+script|data):/i), We = m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Ge = m(/^html$/i), Ke = m(/^[a-z][.\w]*(-[.\w]+)+$/i), qe = m(/<[/\w!]/g), Je = m(/<[/\w]/g), Ye = m(/<\/no(script|embed|frames)/i), Xe = m(/\/>/i), C = {
207
208
  element: 1,
208
209
  attribute: 2,
209
210
  text: 3,
@@ -216,9 +217,23 @@ var Te = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
216
217
  documentType: 10,
217
218
  documentFragment: 11,
218
219
  notation: 12
219
- }, Xe = function() {
220
+ }, w = [
221
+ "style",
222
+ "script",
223
+ "xmp",
224
+ "iframe",
225
+ "noembed",
226
+ "noframes",
227
+ "plaintext",
228
+ "noscript"
229
+ ], Ze = p(y({}, w)), Qe = function() {
230
+ let e = {};
231
+ return oe(w, (t) => {
232
+ e[t] = m(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
233
+ }), p(e);
234
+ }(), $e = function() {
220
235
  return typeof window > "u" ? null : window;
221
- }, Ze = function(e, t) {
236
+ }, et = function(e, t) {
222
237
  if (typeof e != "object" || typeof e.createPolicy != "function") return null;
223
238
  let n = null, r = "data-tt-policy-suffix";
224
239
  t && t.hasAttribute(r) && (n = t.getAttribute(r));
@@ -235,7 +250,7 @@ var Te = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
235
250
  } catch {
236
251
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
237
252
  }
238
- }, Qe = function() {
253
+ }, tt = function() {
239
254
  return {
240
255
  afterSanitizeAttributes: [],
241
256
  afterSanitizeElements: [],
@@ -247,53 +262,60 @@ var Te = p(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
247
262
  uponSanitizeElement: [],
248
263
  uponSanitizeShadowNode: []
249
264
  };
250
- }, $e = function(e, t, n, r) {
251
- return _(e, t) && de(e[t]) ? x(r.base ? S(r.base) : {}, e[t], r.transform) : n;
265
+ }, nt = function(e, t, n, r) {
266
+ return g(e, t) && de(e[t]) ? y(r.base ? x(r.base) : {}, e[t], r.transform) : n;
267
+ }, rt = function(e, t, n) {
268
+ let r = g(e, t) ? e[t] : void 0;
269
+ return r && typeof r == "object" ? x(r) : n();
252
270
  };
253
- function et() {
254
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Xe(), t = (e) => et(e);
255
- if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== w.document || !e.Element) return t.isSupported = !1, t;
271
+ function it() {
272
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : $e(), t = (e) => it(e);
273
+ if (t.version = "3.4.14", t.removed = [], !e || !e.document || e.document.nodeType !== C.document || !e.Element) return t.isSupported = !1, t;
256
274
  let n = e.document, r = n, i = r.currentScript;
257
275
  e.DocumentFragment;
258
276
  let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
259
277
  e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
260
- let l = e.DOMParser, d = e.trustedTypes, f = s.prototype, ee = C(f, "cloneNode"), te = C(f, "remove"), re = C(f, "nextSibling"), ie = C(f, "childNodes"), ae = C(f, "parentNode"), ve = C(f, "shadowRoot"), ye = C(f, "attributes"), h = o && o.prototype ? C(o.prototype, "nodeType") : null, g = o && o.prototype ? C(o.prototype, "nodeName") : null;
278
+ let l = e.DOMParser, d = e.trustedTypes, f = s.prototype, ee = S(f, "cloneNode"), te = S(f, "remove"), re = S(f, "nextSibling"), ie = S(f, "childNodes"), ae = S(f, "parentNode"), ve = S(f, "shadowRoot"), ye = S(f, "attributes"), h = o && o.prototype ? S(o.prototype, "nodeType") : null, be = o && o.prototype ? S(o.prototype, "nodeName") : null, xe = o && o.prototype ? S(o.prototype, "ownerDocument") : null, v = function(e) {
279
+ return h ? h(e) : e.nodeType;
280
+ }, Ce = function(e) {
281
+ return be ? be(e) : e.nodeName;
282
+ };
261
283
  if (typeof a == "function") {
262
284
  let e = n.createElement("template");
263
285
  e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
264
286
  }
265
- let v, b = "", xe, Se = !1, T = 0, tt = function() {
266
- if (T > 0) throw be("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.");
267
- }, E = function(e) {
268
- tt(), T++;
287
+ let b, w = "", T, at = !1, E = 0, D = function() {
288
+ if (E > 0) throw Se("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.");
289
+ }, O = function(e) {
290
+ D(), E++;
269
291
  try {
270
- return v.createHTML(e);
292
+ return b.createHTML(e);
271
293
  } finally {
272
- T--;
294
+ E--;
273
295
  }
274
- }, D = function(e) {
275
- tt(), T++;
296
+ }, ot = function(e) {
297
+ D(), E++;
276
298
  try {
277
- return v.createScriptURL(e);
299
+ return b.createScriptURL(e);
278
300
  } finally {
279
- T--;
301
+ E--;
280
302
  }
281
- }, O = function() {
282
- return Se ||= (xe = Ze(d, i), !0), xe;
283
- }, nt = n, rt = nt.implementation, it = nt.createNodeIterator, at = nt.createDocumentFragment, ot = nt.getElementsByTagName, st = r.importNode, k = Qe();
284
- t.isSupported = typeof u == "function" && typeof ae == "function" && rt && rt.createHTMLDocument !== void 0;
285
- let ct = Ie, A = Le, lt = Re, ut = ze, j = Be, dt = He, M = Ue, N = Ge, P = Ve, F = null, I = x({}, [
286
- ...Te,
303
+ }, st = function() {
304
+ return at ||= (T = et(d, i), !0), T;
305
+ }, k = n, A = k.implementation, ct = k.createNodeIterator, lt = k.createDocumentFragment, j = k.getElementsByTagName, ut = r.importNode, M = tt();
306
+ t.isSupported = typeof u == "function" && typeof ae == "function" && A && A.createHTMLDocument !== void 0;
307
+ let dt = Le, ft = Re, N = ze, pt = Be, P = Ve, F = Ue, I = We, mt = Ke, L = He, R = null, z = y({}, [
287
308
  ...Ee,
288
309
  ...De,
289
- ...ke,
290
- ...je
291
- ]), L = null, ft = x({}, [
292
- ...Me,
310
+ ...Oe,
311
+ ...Ae,
312
+ ...Me
313
+ ]), B = null, V = y({}, [
293
314
  ...Ne,
294
315
  ...Pe,
295
- ...Fe
296
- ]), R = Object.seal(ne(null, {
316
+ ...Fe,
317
+ ...Ie
318
+ ]), H = Object.seal(ne(null, {
297
319
  tagNameCheck: {
298
320
  writable: !0,
299
321
  configurable: !1,
@@ -312,7 +334,7 @@ function et() {
312
334
  enumerable: !0,
313
335
  value: !1
314
336
  }
315
- })), pt = null, mt = null, z = Object.seal(ne(null, {
337
+ })), ht = null, gt = null, _t = Object.seal(ne(null, {
316
338
  tagCheck: {
317
339
  writable: !0,
318
340
  configurable: !1,
@@ -325,14 +347,14 @@ function et() {
325
347
  enumerable: !0,
326
348
  value: null
327
349
  }
328
- })), ht = !0, gt = !0, _t = !1, vt = !0, B = !1, V = !0, H = !1, U = !1, yt = null, bt = null, xt = !1, St = !1, Ct = !1, wt = !1, Tt = !0, Et = !1, Dt = "user-content-", Ot = !0, kt = !1, At = {}, W = null, jt = x({}, /* @__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 = x({}, [
350
+ })), vt = !0, yt = !0, bt = !1, xt = !0, U = !1, St = !0, Ct = !1, wt = !1, Tt = null, Et = null, Dt = !1, Ot = !1, kt = !1, At = !1, jt = !0, Mt = !1, Nt = "user-content-", Pt = !0, W = !1, G = {}, Ft = null, It = y({}, /* @__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(".")), Lt = null, Rt = y({}, [
329
351
  "audio",
330
352
  "video",
331
353
  "img",
332
354
  "source",
333
355
  "image",
334
356
  "track"
335
- ]), Pt = null, Ft = x({}, [
357
+ ]), zt = null, Bt = y({}, [
336
358
  "alt",
337
359
  "class",
338
360
  "for",
@@ -347,77 +369,86 @@ function et() {
347
369
  "value",
348
370
  "style",
349
371
  "xmlns"
350
- ]), It = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", G = "http://www.w3.org/1999/xhtml", K = G, q = !1, Rt = null, zt = x({}, [
351
- It,
352
- Lt,
353
- G
354
- ], pe), Bt = p([
372
+ ]), Vt = "http://www.w3.org/1998/Math/MathML", Ht = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, J = !1, Ut = null, Wt = y({}, [
373
+ Vt,
374
+ Ht,
375
+ K
376
+ ], pe), Gt = p([
355
377
  "mi",
356
378
  "mo",
357
379
  "mn",
358
380
  "ms",
359
381
  "mtext"
360
- ]), Vt = x({}, Bt), Ht = p(["annotation-xml"]), Ut = x({}, Ht), Wt = x({}, [
382
+ ]), Kt = y({}, Gt), qt = p(["annotation-xml"]), Jt = y({}, qt), Yt = y({}, [
361
383
  "title",
362
384
  "style",
363
385
  "font",
364
386
  "a",
365
387
  "script"
366
- ]), Gt = null, J = ["application/xhtml+xml", "text/html"], Y = null, X = null, Kt = n.createElement("form"), qt = function(e) {
388
+ ]), Xt = null, Zt = ["application/xhtml+xml", "text/html"], Y = null, Qt = null, $t = n.createElement("form"), en = function(e) {
367
389
  return e instanceof RegExp || e instanceof Function;
368
- }, Jt = function() {
390
+ }, tn = function() {
369
391
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
370
- if (X && X === e) return;
371
- (!e || typeof e != "object") && (e = {}), e = S(e), Gt = J.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = Gt === "application/xhtml+xml" ? pe : fe, F = $e(e, "ALLOWED_TAGS", I, { transform: Y }), L = $e(e, "ALLOWED_ATTR", ft, { transform: Y }), Rt = $e(e, "ALLOWED_NAMESPACES", zt, { transform: pe }), Pt = $e(e, "ADD_URI_SAFE_ATTR", Ft, {
392
+ if (Qt && Qt === e) return;
393
+ (!e || typeof e != "object") && (e = {}), e = x(e), Xt = Zt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, Y = Xt === "application/xhtml+xml" ? pe : fe, R = nt(e, "ALLOWED_TAGS", z, { transform: Y }), B = nt(e, "ALLOWED_ATTR", V, { transform: Y }), Ut = nt(e, "ALLOWED_NAMESPACES", Wt, { transform: pe }), zt = nt(e, "ADD_URI_SAFE_ATTR", Bt, {
372
394
  transform: Y,
373
- base: Ft
374
- }), Mt = $e(e, "ADD_DATA_URI_TAGS", Nt, {
395
+ base: Bt
396
+ }), Lt = nt(e, "ADD_DATA_URI_TAGS", Rt, {
375
397
  transform: Y,
376
- base: Nt
377
- }), W = $e(e, "FORBID_CONTENTS", jt, { transform: Y }), pt = $e(e, "FORBID_TAGS", S({}), { transform: Y }), mt = $e(e, "FORBID_ATTR", S({}), { transform: Y }), At = _(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? S(e.USE_PROFILES) : e.USE_PROFILES : !1, ht = e.ALLOW_ARIA_ATTR !== !1, gt = e.ALLOW_DATA_ATTR !== !1, _t = e.ALLOW_UNKNOWN_PROTOCOLS || !1, vt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, V = e.SAFE_FOR_XML !== !1, H = e.WHOLE_DOCUMENT || !1, St = e.RETURN_DOM || !1, Ct = e.RETURN_DOM_FRAGMENT || !1, wt = e.RETURN_TRUSTED_TYPE || !1, xt = e.FORCE_BODY || !1, Tt = e.SANITIZE_DOM !== !1, Et = e.SANITIZE_NAMED_PROPS || !1, Ot = e.KEEP_CONTENT !== !1, kt = e.IN_PLACE || !1, P = we(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Ve, K = typeof e.NAMESPACE == "string" ? e.NAMESPACE : G, Vt = _(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? S(e.MATHML_TEXT_INTEGRATION_POINTS) : x({}, Bt), Ut = _(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? S(e.HTML_INTEGRATION_POINTS) : x({}, Ht);
378
- let t = _(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? S(e.CUSTOM_ELEMENT_HANDLING) : ne(null);
379
- if (R = ne(null), _(t, "tagNameCheck") && qt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), _(t, "attributeNameCheck") && qt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), _(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), m(R), B && (gt = !1), Ct && (St = !0), At && (F = x({}, je), L = ne(null), At.html === !0 && (x(F, Te), x(L, Me)), At.svg === !0 && (x(F, Ee), x(L, Ne), x(L, Fe)), At.svgFilters === !0 && (x(F, De), x(L, Ne), x(L, Fe)), At.mathMl === !0 && (x(F, ke), x(L, Pe), x(L, Fe))), z.tagCheck = null, z.attributeCheck = null, _(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : de(e.ADD_TAGS) && (F === I && (F = S(F)), x(F, e.ADD_TAGS, Y))), _(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : de(e.ADD_ATTR) && (L === ft && (L = S(L)), x(L, e.ADD_ATTR, Y))), _(e, "ADD_URI_SAFE_ATTR") && de(e.ADD_URI_SAFE_ATTR) && x(Pt, e.ADD_URI_SAFE_ATTR, Y), _(e, "FORBID_CONTENTS") && de(e.FORBID_CONTENTS) && (W === jt && (W = S(W)), x(W, e.FORBID_CONTENTS, Y)), _(e, "ADD_FORBID_CONTENTS") && de(e.ADD_FORBID_CONTENTS) && (W === jt && (W = S(W)), x(W, e.ADD_FORBID_CONTENTS, Y)), Ot && (F["#text"] = !0), H && x(F, [
398
+ base: Rt
399
+ }), Ft = nt(e, "FORBID_CONTENTS", It, { transform: Y }), ht = nt(e, "FORBID_TAGS", x({}), { transform: Y }), gt = nt(e, "FORBID_ATTR", x({}), { transform: Y }), G = g(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? x(e.USE_PROFILES) : e.USE_PROFILES : !1, vt = e.ALLOW_ARIA_ATTR !== !1, yt = e.ALLOW_DATA_ATTR !== !1, bt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, xt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, St = e.SAFE_FOR_XML !== !1, Ct = e.WHOLE_DOCUMENT || !1, Ot = e.RETURN_DOM || !1, kt = e.RETURN_DOM_FRAGMENT || !1, At = e.RETURN_TRUSTED_TYPE || !1, Dt = e.FORCE_BODY || !1, jt = e.SANITIZE_DOM !== !1, Mt = e.SANITIZE_NAMED_PROPS || !1, Pt = e.KEEP_CONTENT !== !1, W = e.IN_PLACE || !1, L = Te(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : He, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Kt = rt(e, "MATHML_TEXT_INTEGRATION_POINTS", () => y({}, Gt)), Jt = rt(e, "HTML_INTEGRATION_POINTS", () => y({}, qt));
400
+ let t = rt(e, "CUSTOM_ELEMENT_HANDLING", () => ne(null));
401
+ if (H = ne(null), g(t, "tagNameCheck") && en(t.tagNameCheck) && (H.tagNameCheck = t.tagNameCheck), g(t, "attributeNameCheck") && en(t.attributeNameCheck) && (H.attributeNameCheck = t.attributeNameCheck), g(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (H.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), m(H), U && (yt = !1), kt && (Ot = !0), G && (R = y({}, Me), B = ne(null), G.html === !0 && (y(R, Ee), y(B, Ne)), G.svg === !0 && (y(R, De), y(B, Pe), y(B, Ie)), G.svgFilters === !0 && (y(R, Oe), y(B, Pe), y(B, Ie)), G.mathMl === !0 && (y(R, Ae), y(B, Fe), y(B, Ie))), _t.tagCheck = null, _t.attributeCheck = null, g(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? _t.tagCheck = e.ADD_TAGS : de(e.ADD_TAGS) && (R === z && (R = x(R)), y(R, e.ADD_TAGS, Y))), g(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? _t.attributeCheck = e.ADD_ATTR : de(e.ADD_ATTR) && (B === V && (B = x(B)), y(B, e.ADD_ATTR, Y))), g(e, "ADD_FORBID_CONTENTS") && de(e.ADD_FORBID_CONTENTS) && (Ft === It && (Ft = x(Ft)), y(Ft, e.ADD_FORBID_CONTENTS, Y)), Pt && (R["#text"] = !0), Ct && y(R, [
380
402
  "html",
381
403
  "head",
382
404
  "body"
383
- ]), F.table && (x(F, ["tbody"]), delete pt.tbody), e.TRUSTED_TYPES_POLICY) {
384
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw be("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
385
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw be("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
386
- let t = v;
387
- v = e.TRUSTED_TYPES_POLICY;
405
+ ]), R.table && (y(R, ["tbody"]), delete ht.tbody), e.TRUSTED_TYPES_POLICY) {
406
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
407
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
408
+ let t = b;
409
+ b = e.TRUSTED_TYPES_POLICY;
388
410
  try {
389
- b = E("");
411
+ w = O("");
390
412
  } catch (e) {
391
- throw v = t, e;
413
+ throw b = t, e;
392
414
  }
393
- } else e.TRUSTED_TYPES_POLICY === null ? (v = void 0, b = "") : (v === void 0 && (v = O()), v && typeof b == "string" && (b = E("")));
394
- p && p(e), X = e;
395
- }, Yt = x({}, [
396
- ...Ee,
415
+ } else e.TRUSTED_TYPES_POLICY === null ? (b = void 0, w = "") : (b === void 0 && (b = st()), b && typeof w == "string" && (w = O("")));
416
+ p && p(e), Qt = e;
417
+ }, nn = y({}, [
397
418
  ...De,
398
- ...Oe
399
- ]), Xt = x({}, [...ke, ...Ae]), Zt = function(e, t, n) {
400
- return t.namespaceURI === G ? e === "svg" : t.namespaceURI === It ? e === "svg" && (n === "annotation-xml" || Vt[n]) : !!Yt[e];
401
- }, Qt = function(e, t, n) {
402
- return t.namespaceURI === G ? e === "math" : t.namespaceURI === Lt ? e === "math" && Ut[n] : !!Xt[e];
403
- }, $t = function(e, t, n) {
404
- return t.namespaceURI === Lt && !Ut[n] || t.namespaceURI === It && !Vt[n] ? !1 : !Xt[e] && (Wt[e] || !Yt[e]);
405
- }, en = function(e) {
419
+ ...Oe,
420
+ ...ke
421
+ ]), rn = y({}, [...Ae, ...je]), an = function(e, t, n) {
422
+ return t.namespaceURI === K ? e === "svg" : t.namespaceURI === Vt ? e === "svg" && (n === "annotation-xml" || Kt[n]) : !!nn[e];
423
+ }, on = function(e, t, n) {
424
+ return t.namespaceURI === K ? e === "math" : t.namespaceURI === Ht ? e === "math" && Jt[n] : !!rn[e];
425
+ }, sn = function(e, t, n) {
426
+ return t.namespaceURI === Ht && !Jt[n] || t.namespaceURI === Vt && !Kt[n] ? !1 : !rn[e] && (Yt[e] || !nn[e]);
427
+ }, cn = function(e) {
406
428
  let t = ae(e);
407
429
  (!t || !t.tagName) && (t = {
408
- namespaceURI: K,
430
+ namespaceURI: q,
409
431
  tagName: "template"
410
432
  });
411
433
  let n = fe(e.tagName), r = fe(t.tagName);
412
- return Rt[e.namespaceURI] ? e.namespaceURI === Lt ? Zt(n, t, r) : e.namespaceURI === It ? Qt(n, t, r) : e.namespaceURI === G ? $t(n, t, r) : !!(Gt === "application/xhtml+xml" && Rt[e.namespaceURI]) : !1;
413
- }, tn = function(e) {
434
+ return Ut[e.namespaceURI] ? e.namespaceURI === Ht ? an(n, t, r) : e.namespaceURI === Vt ? on(n, t, r) : e.namespaceURI === K ? sn(n, t, r) : !!(Xt === "application/xhtml+xml" && Ut[e.namespaceURI]) : !1;
435
+ }, X = function(e) {
414
436
  le(t.removed, { element: e });
415
437
  try {
416
438
  ae(e).removeChild(e);
417
439
  } catch {
418
- if (te(e), !ae(e)) throw be("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
440
+ if (te(e), !ae(e)) throw Se("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
441
+ }
442
+ }, ln = function(e, t, n) {
443
+ try {
444
+ e.removeAttributeNode(t);
445
+ } catch {
446
+ try {
447
+ e.removeAttribute(n);
448
+ } catch {}
419
449
  }
420
- }, nn = function(e) {
450
+ }, un = function(e) {
451
+ fn(e);
421
452
  let t = ie(e);
422
453
  if (t) {
423
454
  let e = [];
@@ -432,87 +463,111 @@ function et() {
432
463
  let n = ye(e);
433
464
  if (n) for (let t = n.length - 1; t >= 0; --t) {
434
465
  let r = n[t], i = r && r.name;
435
- if (typeof i == "string") try {
436
- e.removeAttribute(i);
437
- } catch {}
466
+ typeof i == "string" && ln(e, r, i);
467
+ }
468
+ }, Z = function(e, n, r) {
469
+ if (!r) try {
470
+ r = n.getAttributeNode(e);
471
+ } catch {
472
+ r = null;
438
473
  }
439
- }, rn = function(e, n) {
474
+ le(t.removed, {
475
+ attribute: r || null,
476
+ from: n
477
+ });
440
478
  try {
441
- le(t.removed, {
442
- attribute: n.getAttributeNode(e),
443
- from: n
444
- });
479
+ r ? n.removeAttributeNode(r) : n.removeAttribute(e);
445
480
  } catch {
446
- le(t.removed, {
447
- attribute: null,
448
- from: n
449
- });
481
+ try {
482
+ n.removeAttribute(e);
483
+ } catch {}
450
484
  }
451
- if (n.removeAttribute(e), e === "is") if (St || Ct) try {
452
- tn(n);
485
+ if (e === "is") if (Ot || kt) try {
486
+ X(n);
453
487
  } catch {}
454
488
  else try {
455
489
  n.setAttribute(e, "");
456
490
  } catch {}
457
- }, an = function(e) {
491
+ }, dn = function(e) {
458
492
  let t = ye(e);
459
493
  if (t) for (let n = t.length - 1; n >= 0; --n) {
460
494
  let r = t[n], i = r && r.name;
461
- if (!(typeof i != "string" || L[Y(i)])) try {
462
- e.removeAttribute(i);
463
- } catch {}
495
+ typeof i != "string" || B[Y(i)] || ln(e, r, i);
464
496
  }
465
- }, on = function(e) {
497
+ }, fn = function(e) {
466
498
  let t = [e];
467
499
  for (; t.length > 0;) {
468
500
  let e = t.pop();
469
- (h ? h(e) : e.nodeType) === w.element && an(e);
501
+ v(e) === C.element && dn(e);
470
502
  let n = ie(e);
471
503
  if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
472
504
  }
473
- }, sn = function(e) {
505
+ }, pn = function(e, t) {
506
+ return St ? e === "patchsrc" ? !0 : e === "for" && t !== "label" && t !== "output" : !1;
507
+ }, mn = function(e) {
508
+ if (!St) return;
509
+ let t = [e];
510
+ for (; t.length > 0;) {
511
+ let e = t.pop(), n = v(e);
512
+ if (n === C.processingInstruction || n === C.comment && _(Je, e.data)) {
513
+ try {
514
+ te(e);
515
+ } catch {}
516
+ continue;
517
+ }
518
+ if (n === C.element) {
519
+ let t = e, n = Y(Ce(e));
520
+ try {
521
+ t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && pn("for", n) && t.removeAttribute("for");
522
+ } catch {}
523
+ }
524
+ let r = ie(e);
525
+ if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
526
+ }
527
+ }, hn = function(e) {
474
528
  let t = null, r = null;
475
- if (xt) e = "<remove></remove>" + e;
529
+ if (Dt) e = "<remove></remove>" + e;
476
530
  else {
477
531
  let t = me(e, /^[\r\n\t ]+/);
478
532
  r = t && t[0];
479
533
  }
480
- Gt === "application/xhtml+xml" && K === G && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
481
- let i = v ? E(e) : e;
482
- if (K === G) try {
483
- t = new l().parseFromString(i, Gt);
534
+ Xt === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
535
+ let i = b ? O(e) : e;
536
+ if (q === K) try {
537
+ t = new l().parseFromString(i, Xt);
484
538
  } catch {}
485
539
  if (!t || !t.documentElement) {
486
- t = rt.createDocument(K, "template", null);
540
+ t = A.createDocument(q, "template", null);
487
541
  try {
488
- t.documentElement.innerHTML = q ? b : i;
542
+ t.documentElement.innerHTML = J ? w : i;
489
543
  } catch {}
490
544
  }
491
545
  let a = t.body || t.documentElement;
492
- return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), K === G ? ot.call(t, H ? "html" : "body")[0] : H ? t.documentElement : a;
493
- }, cn = function(e) {
494
- return it.call(e.ownerDocument || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
495
- }, ln = function(e) {
496
- return e = he(e, ct, " "), e = he(e, A, " "), e = he(e, lt, " "), e;
497
- }, Z = function(e) {
546
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? j.call(t, Ct ? "html" : "body")[0] : Ct ? t.documentElement : a;
547
+ }, gn = function(e) {
548
+ let t = xe ? xe(e) : e.ownerDocument;
549
+ return ct.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
550
+ }, _n = function(e) {
551
+ return e = he(e, dt, " "), e = he(e, ft, " "), e = he(e, N, " "), e;
552
+ }, vn = function(e) {
498
553
  e.normalize();
499
- let t = it.call(e.ownerDocument || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
500
- for (; n;) n.data = ln(n.data), n = t.nextNode();
501
- let r = e.querySelectorAll?.call(e, "template");
502
- r && oe(r, (e) => {
503
- dn(e.content) && Z(e.content);
554
+ let t = xe ? xe(e) : e.ownerDocument, n = ct.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
555
+ for (; r;) r.data = _n(r.data), r = n.nextNode();
556
+ let i = e.querySelectorAll?.call(e, "template");
557
+ i && oe(i, (e) => {
558
+ bn(e.content) && vn(e.content);
504
559
  });
505
- }, un = function(e) {
506
- let t = g ? g(e) : null;
560
+ }, yn = function(e) {
561
+ let t = be ? be(e) : null;
507
562
  return typeof t != "string" || Y(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== ye(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== h(e) || e.childNodes !== ie(e);
508
- }, dn = function(e) {
563
+ }, bn = function(e) {
509
564
  if (!h || typeof e != "object" || !e) return !1;
510
565
  try {
511
- return h(e) === w.documentFragment;
566
+ return h(e) === C.documentFragment;
512
567
  } catch {
513
568
  return !1;
514
569
  }
515
- }, fn = function(e) {
570
+ }, Q = function(e) {
516
571
  if (!h || typeof e != "object" || !e) return !1;
517
572
  try {
518
573
  return typeof h(e) == "number";
@@ -520,50 +575,56 @@ function et() {
520
575
  return !1;
521
576
  }
522
577
  };
523
- function Q(e, n, r) {
578
+ function $(e, n, r) {
524
579
  e.length !== 0 && oe(e, (e) => {
525
- e.call(t, n, r, X);
580
+ e.call(t, n, r, Qt);
526
581
  });
527
582
  }
528
- let pn = function(e, t) {
529
- return !!(V && e.hasChildNodes() && !fn(e.firstElementChild) && y(Ke, e.textContent) && y(Ke, e.innerHTML) || V && e.namespaceURI === G && t === "style" && fn(e.firstElementChild) || e.nodeType === w.processingInstruction || V && e.nodeType === w.comment && y(qe, e.data));
530
- }, $ = function(e, t) {
531
- if (!pt[t] && _n(t) && (R.tagNameCheck instanceof RegExp && y(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
532
- if (Ot && !W[t]) {
533
- let t = ae(e), n = ie(e);
534
- if (n && t) {
535
- let r = n.length;
536
- for (let i = r - 1; i >= 0; --i) {
537
- let r = kt ? n[i] : ee(n[i], !0);
538
- t.insertBefore(r, re(e));
583
+ let xn = function(e, t) {
584
+ return !!(St && e.hasChildNodes() && !Q(e.firstElementChild) && _(qe, e.textContent) && _(qe, e.innerHTML) || St && e.namespaceURI === K && Ze[t] && (Q(e.firstElementChild) || typeof e.textContent == "string" && _(Qe[t], e.textContent)) || e.nodeType === C.processingInstruction || St && e.nodeType === C.comment && _(Je, e.data));
585
+ }, Sn = function(e, t) {
586
+ return e instanceof RegExp ? _(e, t) : e instanceof Function ? !!e(t, ...[...arguments].slice(2)) : !1;
587
+ }, Cn = function(e, t, n) {
588
+ if (!ht[t] && kn(t) && Sn(H.tagNameCheck, t)) return !1;
589
+ if (Pt && !Ft[t]) {
590
+ let t = ae(e), r = ie(e);
591
+ if (r && t) {
592
+ let i = r.length;
593
+ for (let a = i - 1; a >= 0; --a) {
594
+ let i = e === n ? ee(r[a], !0) : r[a];
595
+ t.insertBefore(i, re(e));
539
596
  }
540
597
  }
541
598
  }
542
- return tn(e), !0;
543
- }, mn = function(e) {
544
- if (Q(k.beforeSanitizeElements, e, null), un(e)) return tn(e), !0;
545
- let n = Y(g ? g(e) : e.nodeName);
546
- if (Q(k.uponSanitizeElement, e, {
547
- tagName: n,
548
- allowedTags: F
549
- }), pn(e, n)) return tn(e), !0;
550
- if (pt[n] || !(z.tagCheck instanceof Function && z.tagCheck(n)) && !F[n]) return $(e, n);
551
- if ((h ? h(e) : e.nodeType) === w.element && !en(e) || (n === "noscript" || n === "noembed" || n === "noframes") && y(Je, e.innerHTML)) return tn(e), !0;
552
- if (B && e.nodeType === w.text) {
553
- let n = ln(e.textContent);
554
- e.textContent !== n && (le(t.removed, { element: e.cloneNode() }), e.textContent = n);
599
+ return X(e), !0;
600
+ }, wn = function(e, t, n, r) {
601
+ return e.length === 0 ? t : t === n || t === r ? x(t) : t;
602
+ }, Tn = function(e, t) {
603
+ return e === t || ae(e) !== null ? !1 : (W && fn(e), !0);
604
+ }, En = function(e, n) {
605
+ if ($(M.beforeSanitizeElements, e, null), Tn(e, n)) return !0;
606
+ if (yn(e)) return X(e), !0;
607
+ let r = Y(Ce(e));
608
+ if (R = wn(M.uponSanitizeElement, R, z, Tt), $(M.uponSanitizeElement, e, {
609
+ tagName: r,
610
+ allowedTags: R
611
+ }), Tn(e, n)) return !0;
612
+ if (xn(e, r)) return X(e), !0;
613
+ if (ht[r] || !(_t.tagCheck instanceof Function && _t.tagCheck(r)) && !R[r]) {
614
+ let t = Cn(e, r, n);
615
+ return t === !1 && $(M.afterSanitizeElements, e, null), t;
555
616
  }
556
- return Q(k.afterSanitizeElements, e, null), !1;
557
- }, hn = function(e, t, r) {
558
- if (mt[t] || Tt && (t === "id" || t === "name") && (r in n || r in Kt)) return !1;
559
- let i = L[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
560
- if (!(gt && y(ut, t)) && !(ht && y(j, t))) {
561
- if (!i) {
562
- if (!(_n(e) && (R.tagNameCheck instanceof RegExp && y(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && y(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && y(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
563
- } else if (!Pt[t] && !y(P, he(r, M, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ge(r, "data:") === 0 && Mt[e]) && !(_t && !y(dt, he(r, M, ""))) && r) return !1;
617
+ if (v(e) === C.element && !cn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && _(Ye, e.innerHTML)) return X(e), !0;
618
+ if (U && e.nodeType === C.text) {
619
+ let n = _n(e.textContent);
620
+ e.textContent !== n && (le(t.removed, { element: e.cloneNode() }), e.textContent = n);
564
621
  }
565
- return !0;
566
- }, gn = x({}, [
622
+ return $(M.afterSanitizeElements, e, null), !1;
623
+ }, Dn = function(e, t, r) {
624
+ if (gt[t] || pn(t, e) || jt && (t === "id" || t === "name") && (r in n || r in $t)) return !1;
625
+ let i = B[t] || _t.attributeCheck instanceof Function && _t.attributeCheck(t, e);
626
+ return yt && _(pt, t) || vt && _(P, t) ? !0 : i ? zt[t] || _(L, he(r, I, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ge(r, "data:") === 0 && Lt[e] || bt && !_(F, he(r, I, "")) ? !0 : !r : kn(e) && Sn(H.tagNameCheck, e) && Sn(H.attributeNameCheck, t, e) || t === "is" && H.allowCustomizedBuiltInElements && Sn(H.tagNameCheck, r);
627
+ }, On = y({}, [
567
628
  "annotation-xml",
568
629
  "color-profile",
569
630
  "font-face",
@@ -572,66 +633,67 @@ function et() {
572
633
  "font-face-src",
573
634
  "font-face-uri",
574
635
  "missing-glyph"
575
- ]), _n = function(e) {
576
- return !gn[fe(e)] && y(N, e);
577
- }, vn = function(e, t, n, r) {
578
- if (v && typeof d == "object" && typeof d.getAttributeType == "function" && !n) switch (d.getAttributeType(e, t)) {
579
- case "TrustedHTML": return E(r);
580
- case "TrustedScriptURL": return D(r);
636
+ ]), kn = function(e) {
637
+ return !On[fe(e)] && _(mt, e);
638
+ }, An = function(e, t, n, r) {
639
+ if (b && typeof d == "object" && typeof d.getAttributeType == "function" && !n) switch (d.getAttributeType(e, t)) {
640
+ case "TrustedHTML": return O(r);
641
+ case "TrustedScriptURL": return ot(r);
581
642
  }
582
643
  return r;
583
- }, yn = function(e, n, r, i) {
644
+ }, jn = function(e, n, r, i) {
584
645
  try {
585
- r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), un(e) ? tn(e) : ce(t.removed);
646
+ r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), yn(e) ? X(e) : ce(t.removed);
586
647
  } catch {
587
- rn(n, e);
648
+ Z(n, e);
588
649
  }
589
- }, bn = function(e) {
590
- Q(k.beforeSanitizeAttributes, e, null);
650
+ }, Mn = function(e) {
651
+ $(M.beforeSanitizeAttributes, e, null);
591
652
  let t = e.attributes;
592
- if (!t || un(e)) return;
653
+ if (!t || yn(e)) return;
654
+ B = wn(M.uponSanitizeAttribute, B, V, Et);
593
655
  let n = {
594
656
  attrName: "",
595
657
  attrValue: "",
596
658
  keepAttr: !0,
597
- allowedAttributes: L,
659
+ allowedAttributes: B,
598
660
  forceKeepAttr: void 0
599
661
  }, r = t.length, i = Y(e.nodeName);
600
662
  for (; r--;) {
601
663
  let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = Y(o), u = c, d = o === "value" ? u : _e(u);
602
- if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, Q(k.uponSanitizeAttribute, e, n), d = n.attrValue, Et && (l === "id" || l === "name") && ge(d, Dt) !== 0 && (rn(o, e), d = Dt + d), V && y(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
603
- rn(o, e);
664
+ if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(M.uponSanitizeAttribute, e, n), d = n.attrValue, Mt && (l === "id" || l === "name") && ge(d, Nt) !== 0 && (Z(o, e, a), d = Nt + d), St && _(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
665
+ Z(o, e, a);
604
666
  continue;
605
667
  }
606
668
  if (l === "attributename" && me(d, "href")) {
607
- rn(o, e);
669
+ Z(o, e, a);
608
670
  continue;
609
671
  }
610
672
  if (!n.forceKeepAttr) {
611
673
  if (!n.keepAttr) {
612
- rn(o, e);
674
+ Z(o, e, a);
613
675
  continue;
614
676
  }
615
- if (!vt && y(Ye, d)) {
616
- rn(o, e);
677
+ if (!xt && _(Xe, d)) {
678
+ Z(o, e, a);
617
679
  continue;
618
680
  }
619
- if (B && (d = ln(d)), !hn(i, l, d)) {
620
- rn(o, e);
681
+ if (U && (d = _n(d)), !Dn(i, l, d)) {
682
+ Z(o, e, a);
621
683
  continue;
622
684
  }
623
- d = vn(i, l, s, d), d !== u && yn(e, o, s, d);
685
+ d = An(i, l, s, d), d !== u && jn(e, o, s, d);
624
686
  }
625
687
  }
626
- Q(k.afterSanitizeAttributes, e, null);
627
- }, xn = function(e) {
628
- let t = null, n = cn(e);
629
- for (Q(k.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Q(k.uponSanitizeShadowNode, t, null), mn(t), bn(t), dn(t.content) && xn(t.content), (h ? h(t) : t.nodeType) === w.element) {
688
+ $(M.afterSanitizeAttributes, e, null);
689
+ }, Nn = function(e) {
690
+ let t = null, n = gn(e);
691
+ for ($(M.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(M.uponSanitizeShadowNode, t, null), En(t, e), Mn(t), bn(t.content) && Nn(t.content), v(t) === C.element) {
630
692
  let e = ve(t);
631
- dn(e) && (Sn(e), xn(e));
693
+ bn(e) && (Pn(e), Nn(e));
632
694
  }
633
- Q(k.afterSanitizeShadowDOM, e, null);
634
- }, Sn = function(e) {
695
+ $(M.afterSanitizeShadowDOM, e, null);
696
+ }, Pn = function(e) {
635
697
  let t = [{
636
698
  node: e,
637
699
  shadow: null
@@ -639,19 +701,19 @@ function et() {
639
701
  for (; t.length > 0;) {
640
702
  let e = t.pop();
641
703
  if (e.shadow) {
642
- xn(e.shadow);
704
+ Nn(e.shadow);
643
705
  continue;
644
706
  }
645
- let n = e.node, r = (h ? h(n) : n.nodeType) === w.element, i = ie(n);
707
+ let n = e.node, r = v(n) === C.element, i = ie(n);
646
708
  if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
647
709
  node: i[e],
648
710
  shadow: null
649
711
  });
650
712
  if (r) {
651
- let e = g ? g(n) : null;
713
+ let e = be ? be(n) : null;
652
714
  if (typeof e == "string" && Y(e) === "template") {
653
715
  let e = n.content;
654
- dn(e) && t.push({
716
+ bn(e) && t.push({
655
717
  node: e,
656
718
  shadow: null
657
719
  });
@@ -659,7 +721,7 @@ function et() {
659
721
  }
660
722
  if (r) {
661
723
  let e = ve(n);
662
- dn(e) && t.push({
724
+ bn(e) && t.push({
663
725
  node: null,
664
726
  shadow: e
665
727
  }, {
@@ -671,67 +733,71 @@ function et() {
671
733
  };
672
734
  return t.sanitize = function(e) {
673
735
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
674
- if (q = !e, q && (e = "<!-->"), typeof e != "string" && !fn(e) && (e = Ce(e), typeof e != "string")) throw be("dirty is not a string, aborting");
736
+ if (J = !e, J && (e = "<!-->"), typeof e != "string" && !Q(e) && (e = we(e), typeof e != "string")) throw Se("dirty is not a string, aborting");
675
737
  if (!t.isSupported) return e;
676
- U ? (F = yt, L = bt) : Jt(n), (k.uponSanitizeElement.length > 0 || k.uponSanitizeAttribute.length > 0) && (F = S(F)), k.uponSanitizeAttribute.length > 0 && (L = S(L)), t.removed = [];
677
- let c = kt && typeof e != "string" && fn(e);
738
+ wt ? (R = Tt, B = Et) : tn(n), (M.uponSanitizeElement.length > 0 || M.uponSanitizeAttribute.length > 0) && (R = x(R)), M.uponSanitizeAttribute.length > 0 && (B = x(B)), t.removed = [];
739
+ let c = W && typeof e != "string" && Q(e);
678
740
  if (c) {
679
- let t = g ? g(e) : e.nodeName;
741
+ mn(e);
742
+ let t = Ce(e);
680
743
  if (typeof t == "string") {
681
- let e = Y(t);
682
- if (!F[e] || pt[e]) throw be("root node is forbidden and cannot be sanitized in-place");
744
+ let n = Y(t);
745
+ if (!R[n] || ht[n]) throw un(e), Se("root node is forbidden and cannot be sanitized in-place");
683
746
  }
684
- if (un(e)) throw be("root node is clobbered and cannot be sanitized in-place");
747
+ if (yn(e)) throw un(e), Se("root node is clobbered and cannot be sanitized in-place");
685
748
  try {
686
- Sn(e);
749
+ Pn(e);
687
750
  } catch (t) {
688
- throw nn(e), t;
751
+ throw un(e), t;
689
752
  }
690
- } else if (fn(e)) i = sn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === w.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Sn(a);
753
+ } else if (Q(e)) i = hn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === C.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Pn(a);
691
754
  else {
692
- if (!St && !B && !H && e.indexOf("<") === -1) return v && wt ? E(e) : e;
693
- if (i = sn(e), !i) return St ? null : wt ? b : "";
755
+ if (!Ot && !U && !Ct && e.indexOf("<") === -1) return b && At ? O(e) : e;
756
+ if (i = hn(e), !i) return Ot ? null : At ? w : "";
694
757
  }
695
- i && xt && tn(i.firstChild);
696
- let l = cn(c ? e : i);
758
+ i && Dt && X(i.firstChild);
759
+ let l = c ? e : i;
697
760
  try {
698
- for (; o = l.nextNode();) mn(o), bn(o), dn(o.content) && xn(o.content);
699
- } catch (t) {
700
- throw c && nn(e), t;
761
+ let e = gn(l);
762
+ for (; o = e.nextNode();) En(o, l), Mn(o), bn(o.content) && Nn(o.content);
763
+ } catch (n) {
764
+ throw c && (un(e), oe(t.removed, (e) => {
765
+ e.element && fn(e.element);
766
+ })), n;
701
767
  }
702
768
  if (c) return oe(t.removed, (e) => {
703
- e.element && on(e.element);
704
- }), B && Z(e), e;
705
- if (St) {
706
- if (B && Z(i), Ct) for (s = at.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
769
+ e.element && fn(e.element);
770
+ }), U && vn(e), e;
771
+ if (Ot) {
772
+ if (U && vn(i), kt) for (s = lt.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
707
773
  else s = i;
708
- return (L.shadowroot || L.shadowrootmode) && (s = st.call(r, s, !0)), s;
774
+ return (B.shadowroot || B.shadowrootmode) && (s = ut.call(r, s, !0)), s;
709
775
  }
710
- let u = H ? i.outerHTML : i.innerHTML;
711
- return H && F["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && y(We, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = ln(u)), v && wt ? E(u) : u;
776
+ let u = Ct ? i.outerHTML : i.innerHTML;
777
+ return Ct && R["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && _(Ge, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), U && (u = _n(u)), b && At ? O(u) : u;
712
778
  }, t.setConfig = function() {
713
- Jt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), U = !0, yt = F, bt = L;
779
+ tn(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), wt = !0, Tt = R, Et = B;
714
780
  }, t.clearConfig = function() {
715
- X = null, U = !1, yt = null, bt = null, v = xe, b = "";
781
+ Qt = null, wt = !1, Tt = null, Et = null, b = T, w = "";
716
782
  }, t.isValidAttribute = function(e, t, n) {
717
- return X || Jt({}), hn(Y(e), Y(t), n);
783
+ return Qt || tn({}), Dn(Y(e), Y(t), n);
718
784
  }, t.addHook = function(e, t) {
719
- typeof t == "function" && _(k, e) && le(k[e], t);
785
+ typeof t == "function" && g(M, e) && le(M[e], t);
720
786
  }, t.removeHook = function(e, t) {
721
- if (_(k, e)) {
787
+ if (g(M, e)) {
722
788
  if (t !== void 0) {
723
- let n = se(k[e], t);
724
- return n === -1 ? void 0 : ue(k[e], n, 1)[0];
789
+ let n = se(M[e], t);
790
+ return n === -1 ? void 0 : ue(M[e], n, 1)[0];
725
791
  }
726
- return ce(k[e]);
792
+ return ce(M[e]);
727
793
  }
728
794
  }, t.removeHooks = function(e) {
729
- _(k, e) && (k[e] = []);
795
+ g(M, e) && (M[e] = []);
730
796
  }, t.removeAllHooks = function() {
731
- k = Qe();
797
+ M = tt();
732
798
  }, t;
733
799
  }
734
- var T = et(), tt = {
800
+ var T = it(), at = {
735
801
  min: {
736
802
  r: 0,
737
803
  g: 0,
@@ -768,9 +834,9 @@ var T = et(), tt = {
768
834
  e /= 360, t /= 100, n /= 100;
769
835
  let i = n < .5 ? n * (1 + t) : n + t - n * t, a = 2 * n - i;
770
836
  switch (r) {
771
- case "r": return tt.hue2rgb(a, i, e + 1 / 3) * 255;
772
- case "g": return tt.hue2rgb(a, i, e) * 255;
773
- case "b": return tt.hue2rgb(a, i, e - 1 / 3) * 255;
837
+ case "r": return at.hue2rgb(a, i, e + 1 / 3) * 255;
838
+ case "g": return at.hue2rgb(a, i, e) * 255;
839
+ case "b": return at.hue2rgb(a, i, e - 1 / 3) * 255;
774
840
  }
775
841
  },
776
842
  rgb2hsl: ({ r: e, g: t, b: n }, r) => {
@@ -788,7 +854,7 @@ var T = et(), tt = {
788
854
  }
789
855
  }
790
856
  }, E = {
791
- channel: tt,
857
+ channel: at,
792
858
  lang: {
793
859
  clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
794
860
  round: (e) => Math.round(e * 1e10) / 1e10
@@ -803,7 +869,7 @@ var O = {
803
869
  ALL: 0,
804
870
  RGB: 1,
805
871
  HSL: 2
806
- }, nt = class {
872
+ }, ot = class {
807
873
  constructor() {
808
874
  this.type = O.ALL;
809
875
  }
@@ -820,9 +886,9 @@ var O = {
820
886
  is(e) {
821
887
  return this.type === e;
822
888
  }
823
- }, rt = new class {
889
+ }, st = new class {
824
890
  constructor(e, t) {
825
- this.color = t, this.changed = !1, this.data = e, this.type = new nt();
891
+ this.color = t, this.changed = !1, this.data = e, this.type = new ot();
826
892
  }
827
893
  set(e, t) {
828
894
  return this.color = t, this.changed = !1, this.data = e, this.type.type = O.ALL, this;
@@ -888,14 +954,14 @@ var O = {
888
954
  g: 0,
889
955
  b: 0,
890
956
  a: 0
891
- }, "transparent"), it = {
957
+ }, "transparent"), k = {
892
958
  re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
893
959
  parse: (e) => {
894
960
  if (e.charCodeAt(0) !== 35) return;
895
- let t = e.match(it.re);
961
+ let t = e.match(k.re);
896
962
  if (!t) return;
897
963
  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, l = a ? 0 : -1, u = o ? 255 : 15;
898
- return rt.set({
964
+ return st.set({
899
965
  r: (r >> c * (l + 3) & u) * s,
900
966
  g: (r >> c * (l + 2) & u) * s,
901
967
  b: (r >> c * (l + 1) & u) * s,
@@ -906,11 +972,11 @@ var O = {
906
972
  let { r: t, g: n, b: r, a: i } = e;
907
973
  return i < 1 ? `#${D[Math.round(t)]}${D[Math.round(n)]}${D[Math.round(r)]}${D[Math.round(i * 255)]}` : `#${D[Math.round(t)]}${D[Math.round(n)]}${D[Math.round(r)]}`;
908
974
  }
909
- }, at = {
975
+ }, A = {
910
976
  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,
911
977
  hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
912
978
  _hue2deg: (e) => {
913
- let t = e.match(at.hueRe);
979
+ let t = e.match(A.hueRe);
914
980
  if (t) {
915
981
  let [, e, n] = t;
916
982
  switch (n) {
@@ -924,11 +990,11 @@ var O = {
924
990
  parse: (e) => {
925
991
  let t = e.charCodeAt(0);
926
992
  if (t !== 104 && t !== 72) return;
927
- let n = e.match(at.re);
993
+ let n = e.match(A.re);
928
994
  if (!n) return;
929
995
  let [, r, i, a, o, s] = n;
930
- return rt.set({
931
- h: at._hue2deg(r),
996
+ return st.set({
997
+ h: A._hue2deg(r),
932
998
  s: E.channel.clamp.s(parseFloat(i)),
933
999
  l: E.channel.clamp.l(parseFloat(a)),
934
1000
  a: o ? E.channel.clamp.a(s ? parseFloat(o) / 100 : parseFloat(o)) : 1
@@ -938,7 +1004,7 @@ var O = {
938
1004
  let { h: t, s: n, l: r, a: i } = e;
939
1005
  return i < 1 ? `hsla(${E.lang.round(t)}, ${E.lang.round(n)}%, ${E.lang.round(r)}%, ${i})` : `hsl(${E.lang.round(t)}, ${E.lang.round(n)}%, ${E.lang.round(r)}%)`;
940
1006
  }
941
- }, ot = {
1007
+ }, ct = {
942
1008
  colors: {
943
1009
  aliceblue: "#f0f8ff",
944
1010
  antiquewhite: "#faebd7",
@@ -1090,22 +1156,22 @@ var O = {
1090
1156
  },
1091
1157
  parse: (e) => {
1092
1158
  e = e.toLowerCase();
1093
- let t = ot.colors[e];
1094
- if (t) return it.parse(t);
1159
+ let t = ct.colors[e];
1160
+ if (t) return k.parse(t);
1095
1161
  },
1096
1162
  stringify: (e) => {
1097
- let t = it.stringify(e);
1098
- for (let e in ot.colors) if (ot.colors[e] === t) return e;
1163
+ let t = k.stringify(e);
1164
+ for (let e in ct.colors) if (ct.colors[e] === t) return e;
1099
1165
  }
1100
- }, st = {
1166
+ }, lt = {
1101
1167
  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,
1102
1168
  parse: (e) => {
1103
1169
  let t = e.charCodeAt(0);
1104
1170
  if (t !== 114 && t !== 82) return;
1105
- let n = e.match(st.re);
1171
+ let n = e.match(lt.re);
1106
1172
  if (!n) return;
1107
1173
  let [, r, i, a, o, s, c, l, u] = n;
1108
- return rt.set({
1174
+ return st.set({
1109
1175
  r: E.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
1110
1176
  g: E.channel.clamp.g(o ? parseFloat(a) * 2.55 : parseFloat(a)),
1111
1177
  b: E.channel.clamp.b(c ? parseFloat(s) * 2.55 : parseFloat(s)),
@@ -1116,89 +1182,85 @@ var O = {
1116
1182
  let { r: t, g: n, b: r, a: i } = e;
1117
1183
  return i < 1 ? `rgba(${E.lang.round(t)}, ${E.lang.round(n)}, ${E.lang.round(r)}, ${E.lang.round(i)})` : `rgb(${E.lang.round(t)}, ${E.lang.round(n)}, ${E.lang.round(r)})`;
1118
1184
  }
1119
- }, k = {
1185
+ }, j = {
1120
1186
  format: {
1121
- keyword: ot,
1122
- hex: it,
1123
- rgb: st,
1124
- rgba: st,
1125
- hsl: at,
1126
- hsla: at
1187
+ keyword: ct,
1188
+ hex: k,
1189
+ rgb: lt,
1190
+ rgba: lt,
1191
+ hsl: A,
1192
+ hsla: A
1127
1193
  },
1128
1194
  parse: (e) => {
1129
1195
  if (typeof e != "string") return e;
1130
- let t = it.parse(e) || st.parse(e) || at.parse(e) || ot.parse(e);
1196
+ let t = k.parse(e) || lt.parse(e) || A.parse(e) || ct.parse(e);
1131
1197
  if (t) return t;
1132
1198
  throw Error(`Unsupported color format: "${e}"`);
1133
1199
  },
1134
- stringify: (e) => !e.changed && e.color ? e.color : e.type.is(O.HSL) || e.data.r === void 0 ? at.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? st.stringify(e) : it.stringify(e)
1135
- }, ct = (e, t) => {
1136
- let n = k.parse(e);
1200
+ stringify: (e) => !e.changed && e.color ? e.color : e.type.is(O.HSL) || e.data.r === void 0 ? A.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? lt.stringify(e) : k.stringify(e)
1201
+ }, ut = (e, t) => {
1202
+ let n = j.parse(e);
1137
1203
  for (let e in t) n[e] = E.channel.clamp[e](t[e]);
1138
- return k.stringify(n);
1139
- }, A = (e, t, n = 0, r = 1) => {
1140
- if (typeof e != "number") return ct(e, { a: t });
1141
- let i = rt.set({
1204
+ return j.stringify(n);
1205
+ }, M = (e, t, n = 0, r = 1) => {
1206
+ if (typeof e != "number") return ut(e, { a: t });
1207
+ let i = st.set({
1142
1208
  r: E.channel.clamp.r(e),
1143
1209
  g: E.channel.clamp.g(t),
1144
1210
  b: E.channel.clamp.b(n),
1145
1211
  a: E.channel.clamp.a(r)
1146
1212
  });
1147
- return k.stringify(i);
1148
- }, lt = (e) => {
1149
- let { r: t, g: n, b: r } = k.parse(e), i = .2126 * E.channel.toLinear(t) + .7152 * E.channel.toLinear(n) + .0722 * E.channel.toLinear(r);
1213
+ return j.stringify(i);
1214
+ }, dt = (e) => {
1215
+ let { r: t, g: n, b: r } = j.parse(e), i = .2126 * E.channel.toLinear(t) + .7152 * E.channel.toLinear(n) + .0722 * E.channel.toLinear(r);
1150
1216
  return E.lang.round(i);
1151
- }, ut = (e) => lt(e) >= .5, j = (e) => !ut(e), dt = (e, t, n) => {
1152
- let r = k.parse(e), i = r[t], a = E.channel.clamp[t](i + n);
1153
- return i !== a && (r[t] = a), k.stringify(r);
1154
- }, M = (e, t) => dt(e, "l", t), N = (e, t) => dt(e, "l", -t), P = (e, t) => {
1155
- let n = k.parse(e), r = {};
1217
+ }, ft = (e) => dt(e) >= .5, N = (e) => !ft(e), pt = (e, t, n) => {
1218
+ let r = j.parse(e), i = r[t], a = E.channel.clamp[t](i + n);
1219
+ return i !== a && (r[t] = a), j.stringify(r);
1220
+ }, P = (e, t) => pt(e, "l", t), F = (e, t) => pt(e, "l", -t), I = (e, t) => {
1221
+ let n = j.parse(e), r = {};
1156
1222
  for (let e in t) t[e] && (r[e] = n[e] + t[e]);
1157
- return ct(e, r);
1158
- }, F = (e, t, n = 50) => {
1159
- let { r, g: i, b: a, a: o } = k.parse(e), { r: s, g: c, b: l, a: u } = k.parse(t), d = n / 100, f = d * 2 - 1, ee = o - u, te = ((f * ee === -1 ? f : (f + ee) / (1 + f * ee)) + 1) / 2, p = 1 - te;
1160
- return A(r * te + s * p, i * te + c * p, a * te + l * p, o * d + u * (1 - d));
1161
- }, I = (e, t = 100) => {
1162
- let n = k.parse(e);
1163
- return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, F(n, e, t);
1164
- }, L = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ft = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, R = /\s*%%.*\n/gm, pt = class extends Error {
1165
- static {
1166
- n(this, "UnknownDiagramError");
1167
- }
1168
- constructor(e) {
1169
- super(e), this.name = "UnknownDiagramError";
1170
- }
1171
- }, mt = {}, z = /* @__PURE__ */ n(function(e, t) {
1172
- e = e.replace(L, "").replace(ft, "").replace(R, "\n");
1173
- for (let [n, { detector: r }] of Object.entries(mt)) if (r(e, t)) return n;
1174
- throw new pt(`No diagram type detected matching given configuration for text: ${e}`);
1175
- }, "detectType"), ht = /* @__PURE__ */ n((...e) => {
1176
- for (let { id: t, detector: n, loader: r } of e) gt(t, n, r);
1177
- }, "registerLazyLoadedDiagrams"), gt = /* @__PURE__ */ n((e, n, r) => {
1178
- mt[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), mt[e] = {
1179
- detector: n,
1180
- loader: r
1181
- }, t.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
1182
- }, "addDetector"), _t = /* @__PURE__ */ n((e) => mt[e].loader, "getDiagramLoader"), vt = /* @__PURE__ */ n((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
1183
- let i = {
1184
- depth: n,
1185
- clobber: r
1186
- };
1187
- return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => vt(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
1223
+ return ut(e, r);
1224
+ }, mt = (e, t, n = 50) => {
1225
+ let { r, g: i, b: a, a: o } = j.parse(e), { r: s, g: c, b: l, a: u } = j.parse(t), d = n / 100, f = d * 2 - 1, ee = o - u, te = ((f * ee === -1 ? f : (f + ee) / (1 + f * ee)) + 1) / 2, p = 1 - te;
1226
+ return M(r * te + s * p, i * te + c * p, a * te + l * p, o * d + u * (1 - d));
1227
+ }, L = (e, t = 100) => {
1228
+ let n = j.parse(e);
1229
+ return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, mt(n, e, t);
1230
+ }, R = /* @__PURE__ */ n((e, t, { depth: n = 2 } = {}) => {
1231
+ let r = { depth: n };
1232
+ if (Array.isArray(t) && !Array.isArray(e)) return t.forEach((t) => R(e, t, r)), e;
1233
+ if (Array.isArray(t) && Array.isArray(e)) return t.forEach((t) => {
1188
1234
  e.includes(t) || e.push(t);
1189
- }), 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) => {
1190
- 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] = vt(e[i], t[i], {
1191
- depth: n - 1,
1192
- clobber: r
1193
- })) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
1194
- }), e);
1195
- }, "assignWithDepth"), B = vt, V = "#ffffff", H = "#f2f2f2", U = /* @__PURE__ */ n((e, t) => t ? P(e, {
1235
+ }), e;
1236
+ if (e == null || n <= 0) return typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t;
1237
+ if (t != null && typeof e == "object" && typeof t == "object") {
1238
+ let r = e;
1239
+ Object.entries(t).forEach(([t, i]) => {
1240
+ if (typeof i == "object") {
1241
+ if (i === null) return;
1242
+ Object.hasOwn(e, t) || Object.defineProperty(e, t, {
1243
+ value: void 0,
1244
+ writable: !0,
1245
+ enumerable: !0,
1246
+ configurable: !0
1247
+ }), r[t] === void 0 && (r[t] = Array.isArray(i) ? [] : {}), typeof r[t] == "object" && (r[t] = R(r[t], i, { depth: n - 1 }));
1248
+ } else typeof r[t] != "object" && (Object.hasOwn(e, t) ? r[t] = i : Object.defineProperty(e, t, {
1249
+ value: i,
1250
+ writable: !0,
1251
+ enumerable: !0,
1252
+ configurable: !0
1253
+ }));
1254
+ });
1255
+ }
1256
+ return e;
1257
+ }, "assignWithDepth"), z = R, B = "#ffffff", V = "#f2f2f2", H = /* @__PURE__ */ n((e, t) => t ? I(e, {
1196
1258
  s: -40,
1197
1259
  l: 10
1198
- }) : P(e, {
1260
+ }) : I(e, {
1199
1261
  s: -40,
1200
1262
  l: -10
1201
- }), "mkBorder"), yt = class {
1263
+ }), "mkBorder"), ht = class {
1202
1264
  static {
1203
1265
  n(this, "Theme");
1204
1266
  }
@@ -1206,62 +1268,78 @@ var O = {
1206
1268
  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))";
1207
1269
  }
1208
1270
  updateColors() {
1209
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1271
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1210
1272
  h: 180,
1211
1273
  l: 5
1212
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), 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 || M(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 || N(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || N(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || M(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || M(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 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, {
1274
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(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 || P(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 || F(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || F(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || P(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || P(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, {
1213
1275
  h: 210,
1214
1276
  l: 150
1215
- }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1216
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1217
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1218
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1277
+ }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
1278
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
1279
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1280
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1219
1281
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1220
1282
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1221
1283
  let e = this.darkMode ? -4 : -1;
1222
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
1284
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
1223
1285
  h: 180,
1224
1286
  s: -15,
1225
1287
  l: e * (5 + t * 3)
1226
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
1288
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
1227
1289
  h: 180,
1228
1290
  s: -15,
1229
1291
  l: e * (8 + t * 3)
1230
1292
  });
1231
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(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 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
1293
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
1232
1294
  h: 60,
1233
1295
  l: -10
1234
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1296
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1235
1297
  h: -60,
1236
1298
  l: -10
1237
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1299
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1238
1300
  h: 120,
1239
1301
  l: 0
1240
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1302
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1241
1303
  h: 60,
1242
1304
  l: -20
1243
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1305
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1244
1306
  h: -60,
1245
1307
  l: -20
1246
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1308
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1247
1309
  h: 120,
1248
1310
  l: -10
1249
- }), 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 ?? P(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? P(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? P(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? P(this.primaryColor, {
1311
+ }), 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 ?? I(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? I(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? I(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? I(this.primaryColor, {
1250
1312
  h: 60,
1251
1313
  l: -30
1252
- }), this.venn5 = this.venn5 ?? P(this.primaryColor, {
1314
+ }), this.venn5 = this.venn5 ?? I(this.primaryColor, {
1253
1315
  h: -60,
1254
1316
  l: -30
1255
- }), this.venn6 = this.venn6 ?? P(this.secondaryColor, {
1317
+ }), this.venn6 = this.venn6 ?? I(this.secondaryColor, {
1256
1318
  h: 60,
1257
1319
  l: -30
1258
- }), this.venn7 = this.venn7 ?? P(this.primaryColor, {
1320
+ }), this.venn7 = this.venn7 ?? I(this.primaryColor, {
1259
1321
  h: 120,
1260
1322
  l: -30
1261
- }), this.venn8 = this.venn8 ?? P(this.secondaryColor, {
1323
+ }), this.venn8 = this.venn8 ?? I(this.secondaryColor, {
1262
1324
  h: 120,
1263
1325
  l: -30
1264
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
1326
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1327
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1328
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1329
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1330
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1331
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1332
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1333
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1334
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1335
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1336
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1337
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1338
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1339
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1340
+ textColor: this.cynefin?.textColor || this.textColor,
1341
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1342
+ }, this.radar = {
1265
1343
  axisColor: this.radar?.axisColor || this.lineColor,
1266
1344
  axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1267
1345
  axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
@@ -1285,34 +1363,35 @@ var O = {
1285
1363
  annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1286
1364
  annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1287
1365
  annotationFill: this.wardley?.annotationFill || this.background
1288
- }, 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 || P(this.primaryColor, {
1366
+ }, 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 || I(this.primaryColor, {
1289
1367
  r: 5,
1290
1368
  g: 5,
1291
1369
  b: 5
1292
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1370
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1293
1371
  r: 10,
1294
1372
  g: 10,
1295
1373
  b: 10
1296
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1374
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1297
1375
  r: 15,
1298
1376
  g: 15,
1299
1377
  b: 15
1300
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1378
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1301
1379
  r: -5,
1302
1380
  g: -5,
1303
1381
  b: -5
1304
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1382
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1305
1383
  r: -10,
1306
1384
  g: -10,
1307
1385
  b: -10
1308
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1386
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1309
1387
  r: -15,
1310
1388
  g: -15,
1311
1389
  b: -15
1312
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
1390
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1313
1391
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1314
1392
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1315
1393
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1394
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1316
1395
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1317
1396
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1318
1397
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1322,7 +1401,7 @@ var O = {
1322
1401
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1323
1402
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1324
1403
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1325
- }, 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 ? N(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 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
1404
+ }, 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 ? F(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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
1326
1405
  }
1327
1406
  calculate(e) {
1328
1407
  if (typeof e != "object") {
@@ -1336,25 +1415,25 @@ var O = {
1336
1415
  this[t] = e[t];
1337
1416
  });
1338
1417
  }
1339
- }, bt = /* @__PURE__ */ n((e) => {
1340
- let t = new yt();
1418
+ }, gt = /* @__PURE__ */ n((e) => {
1419
+ let t = new ht();
1341
1420
  return t.calculate(e), t;
1342
- }, "getThemeVariables"), xt = class {
1421
+ }, "getThemeVariables"), _t = class {
1343
1422
  static {
1344
1423
  n(this, "Theme");
1345
1424
  }
1346
1425
  constructor() {
1347
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(I("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = A(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 = N("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = N(this.sectionBkgColor, 10), this.taskBorderColor = A(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = A(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 || M(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || N(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";
1426
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.lineColor = L(this.background), this.textColor = L(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = M(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 = F("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = F(this.sectionBkgColor, 10), this.taskBorderColor = M(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = M(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 || P(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || F(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";
1348
1427
  }
1349
1428
  updateColors() {
1350
- this.secondBkg = M(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 = M(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.altSectionBkgColor = this.background, this.taskBkgColor = M(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 = I(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 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(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 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 });
1351
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1352
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10);
1353
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1429
+ this.secondBkg = P(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 = P(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 = P(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 = L(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 });
1430
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1431
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10);
1432
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1354
1433
  h: 30,
1355
1434
  s: -30,
1356
1435
  l: -(-10 + e * 4)
1357
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1436
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1358
1437
  h: 30,
1359
1438
  s: -30,
1360
1439
  l: -(-7 + e * 4)
@@ -1363,35 +1442,52 @@ var O = {
1363
1442
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1364
1443
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1365
1444
  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";
1366
- for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? M(this["cScale" + e], 30);
1367
- this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1445
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? P(this["cScale" + e], 30);
1446
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1447
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1448
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1449
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1450
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1451
+ cliffColor: this.cynefin?.cliffColor || "#FF6B6B",
1452
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1453
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1454
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1455
+ complexBg: this.cynefin?.complexBg || "#1B5E20",
1456
+ complicatedBg: this.cynefin?.complicatedBg || "#0D47A1",
1457
+ chaoticBg: this.cynefin?.chaoticBg || "#BF360C",
1458
+ clearBg: this.cynefin?.clearBg || "#F57F17",
1459
+ confusionBg: this.cynefin?.confusionBg || "#4A148C",
1460
+ textColor: this.cynefin?.textColor || this.textColor,
1461
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1462
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
1368
1463
  r: 5,
1369
1464
  g: 5,
1370
1465
  b: 5
1371
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1466
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1372
1467
  r: 10,
1373
1468
  g: 10,
1374
1469
  b: 10
1375
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1470
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1376
1471
  r: 15,
1377
1472
  g: 15,
1378
1473
  b: 15
1379
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1474
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1380
1475
  r: -5,
1381
1476
  g: -5,
1382
1477
  b: -5
1383
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1478
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1384
1479
  r: -10,
1385
1480
  g: -10,
1386
1481
  b: -10
1387
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1482
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1388
1483
  r: -15,
1389
1484
  g: -15,
1390
1485
  b: -15
1391
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
1486
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1392
1487
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1393
1488
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1394
1489
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1490
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1395
1491
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1396
1492
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1397
1493
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1432,7 +1528,7 @@ var O = {
1432
1528
  annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1433
1529
  annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1434
1530
  annotationFill: this.wardley?.annotationFill || this.mainBkg
1435
- }, 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 ? N(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = M(this.secondaryColor, 20), this.git1 = M(this.pie2 || this.secondaryColor, 20), this.git2 = M(this.pie3 || this.tertiaryColor, 20), this.git3 = M(this.pie4 || P(this.primaryColor, { h: -30 }), 20), this.git4 = M(this.pie5 || P(this.primaryColor, { h: -60 }), 20), this.git5 = M(this.pie6 || P(this.primaryColor, { h: -90 }), 10), this.git6 = M(this.pie7 || P(this.primaryColor, { h: 60 }), 10), this.git7 = M(this.pie8 || P(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(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 || M("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || M("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || M("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || M("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || M(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || M(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || M(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || M(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1531
+ }, 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 ? F(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = P(this.secondaryColor, 20), this.git1 = P(this.pie2 || this.secondaryColor, 20), this.git2 = P(this.pie3 || this.tertiaryColor, 20), this.git3 = P(this.pie4 || I(this.primaryColor, { h: -30 }), 20), this.git4 = P(this.pie5 || I(this.primaryColor, { h: -60 }), 20), this.git5 = P(this.pie6 || I(this.primaryColor, { h: -90 }), 10), this.git6 = P(this.pie7 || I(this.primaryColor, { h: 60 }), 10), this.git7 = P(this.pie8 || I(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || L(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || L(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 || P("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || P("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || P("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || P("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || P(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || P(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || P(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || P(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1436
1532
  }
1437
1533
  calculate(e) {
1438
1534
  if (typeof e != "object") {
@@ -1446,89 +1542,105 @@ var O = {
1446
1542
  this[t] = e[t];
1447
1543
  });
1448
1544
  }
1449
- }, St = /* @__PURE__ */ n((e) => {
1450
- let t = new xt();
1545
+ }, vt = /* @__PURE__ */ n((e) => {
1546
+ let t = new _t();
1451
1547
  return t.calculate(e), t;
1452
- }, "getThemeVariables"), Ct = class {
1548
+ }, "getThemeVariables"), yt = class {
1453
1549
  static {
1454
1550
  n(this, "Theme");
1455
1551
  }
1456
1552
  constructor() {
1457
- this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = P(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = U(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 = A(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();
1553
+ this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = I(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.lineColor = L(this.background), this.textColor = L(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = H(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 = M(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();
1458
1554
  }
1459
1555
  updateColors() {
1460
- this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || N(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || N(this.tertiaryColor, 40);
1461
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 25);
1462
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || P(this["cScale" + e], { h: 180 });
1463
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1556
+ this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || F(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || F(this.tertiaryColor, 40);
1557
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 25);
1558
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e], { h: 180 });
1559
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1464
1560
  h: 30,
1465
1561
  l: -(5 + e * 5)
1466
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1562
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1467
1563
  h: 30,
1468
1564
  l: -(7 + e * 5)
1469
1565
  });
1470
1566
  if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
1471
- this.cScaleLabel0 = this.cScaleLabel0 || I(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || I(this.labelTextColor);
1567
+ this.cScaleLabel0 = this.cScaleLabel0 || L(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || L(this.labelTextColor);
1472
1568
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
1473
1569
  }
1474
- 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.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || M(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || M(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 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || P(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || P(this.primaryColor, {
1570
+ 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 || P(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || P(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || I(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || I(this.primaryColor, {
1475
1571
  h: 60,
1476
1572
  l: -20
1477
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1573
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1478
1574
  h: -60,
1479
1575
  l: -40
1480
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1576
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1481
1577
  h: 120,
1482
1578
  l: -40
1483
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1579
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1484
1580
  h: 60,
1485
1581
  l: -40
1486
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1582
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1487
1583
  h: -90,
1488
1584
  l: -40
1489
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1585
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1490
1586
  h: 120,
1491
1587
  l: -30
1492
- }), 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 ?? P(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? P(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? P(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? P(this.primaryColor, {
1588
+ }), 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 ?? I(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? I(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? I(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? I(this.primaryColor, {
1493
1589
  h: 60,
1494
1590
  l: -30
1495
- }), this.venn5 = this.venn5 ?? P(this.primaryColor, {
1591
+ }), this.venn5 = this.venn5 ?? I(this.primaryColor, {
1496
1592
  h: -60,
1497
1593
  l: -30
1498
- }), this.venn6 = this.venn6 ?? P(this.secondaryColor, {
1594
+ }), this.venn6 = this.venn6 ?? I(this.secondaryColor, {
1499
1595
  h: 60,
1500
1596
  l: -30
1501
- }), this.venn7 = this.venn7 ?? P(this.primaryColor, {
1597
+ }), this.venn7 = this.venn7 ?? I(this.primaryColor, {
1502
1598
  h: 120,
1503
1599
  l: -30
1504
- }), this.venn8 = this.venn8 ?? P(this.secondaryColor, {
1600
+ }), this.venn8 = this.venn8 ?? I(this.secondaryColor, {
1505
1601
  h: 120,
1506
1602
  l: -30
1507
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1603
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1604
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1605
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1606
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1607
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1608
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1609
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1610
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1611
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1612
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1613
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1614
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1615
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1616
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1617
+ textColor: this.cynefin?.textColor || this.textColor,
1618
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1619
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
1508
1620
  r: 5,
1509
1621
  g: 5,
1510
1622
  b: 5
1511
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1623
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1512
1624
  r: 10,
1513
1625
  g: 10,
1514
1626
  b: 10
1515
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1627
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1516
1628
  r: 15,
1517
1629
  g: 15,
1518
1630
  b: 15
1519
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1631
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1520
1632
  r: -5,
1521
1633
  g: -5,
1522
1634
  b: -5
1523
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1635
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1524
1636
  r: -10,
1525
1637
  g: -10,
1526
1638
  b: -10
1527
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1639
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1528
1640
  r: -15,
1529
1641
  g: -15,
1530
1642
  b: -15
1531
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
1643
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1532
1644
  axisColor: this.radar?.axisColor || this.lineColor,
1533
1645
  axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1534
1646
  axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
@@ -1556,6 +1668,7 @@ var O = {
1556
1668
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1557
1669
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1558
1670
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1671
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1559
1672
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1560
1673
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1561
1674
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1565,7 +1678,7 @@ var O = {
1565
1678
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1566
1679
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1567
1680
  plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
1568
- }, 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 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || N(I(this.git0), 25), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1681
+ }, 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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || F(L(this.git0), 25), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || L(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1569
1682
  }
1570
1683
  calculate(e) {
1571
1684
  if (Object.keys(this).forEach((e) => {
@@ -1581,92 +1694,108 @@ var O = {
1581
1694
  this[t] = e[t];
1582
1695
  });
1583
1696
  }
1584
- }, wt = /* @__PURE__ */ n((e) => {
1585
- let t = new Ct();
1697
+ }, bt = /* @__PURE__ */ n((e) => {
1698
+ let t = new yt();
1586
1699
  return t.calculate(e), t;
1587
- }, "getThemeVariables"), Tt = class {
1700
+ }, "getThemeVariables"), xt = class {
1588
1701
  static {
1589
1702
  n(this, "Theme");
1590
1703
  }
1591
1704
  constructor() {
1592
- 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 = M("#cde498", 10), this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.primaryColor), this.lineColor = I(this.background), this.textColor = I(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))";
1705
+ 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 = P("#cde498", 10), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.primaryColor), this.lineColor = L(this.background), this.textColor = L(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))";
1593
1706
  }
1594
1707
  updateColors() {
1595
- this.actorBorder = N(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.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || N(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || N(this.tertiaryColor, 40);
1596
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 25);
1597
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || P(this["cScale" + e], { h: 180 });
1708
+ this.actorBorder = F(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || F(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || F(this.tertiaryColor, 40);
1709
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 25);
1710
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e], { h: 180 });
1598
1711
  this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
1599
1712
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1600
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1713
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1601
1714
  h: 30,
1602
1715
  s: -30,
1603
1716
  l: -(5 + e * 5)
1604
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
1717
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1605
1718
  h: 30,
1606
1719
  s: -30,
1607
1720
  l: -(8 + e * 5)
1608
1721
  });
1609
- 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 || M(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || M(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 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(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 || P(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || P(this.tertiaryColor, {
1722
+ 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 || P(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || P(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(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 || I(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || I(this.tertiaryColor, {
1610
1723
  h: 40,
1611
1724
  l: -40
1612
- }), this.pie7 = this.pie7 || P(this.primaryColor, {
1725
+ }), this.pie7 = this.pie7 || I(this.primaryColor, {
1613
1726
  h: 60,
1614
1727
  l: -10
1615
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
1728
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1616
1729
  h: -60,
1617
1730
  l: -10
1618
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
1731
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1619
1732
  h: 120,
1620
1733
  l: 0
1621
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
1734
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1622
1735
  h: 60,
1623
1736
  l: -50
1624
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
1737
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1625
1738
  h: -60,
1626
1739
  l: -50
1627
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
1740
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1628
1741
  h: 120,
1629
1742
  l: -50
1630
- }), 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 ?? P(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? P(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? P(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? P(this.primaryColor, {
1743
+ }), 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 ?? I(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? I(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? I(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? I(this.primaryColor, {
1631
1744
  h: 60,
1632
1745
  l: -30
1633
- }), this.venn5 = this.venn5 ?? P(this.primaryColor, {
1746
+ }), this.venn5 = this.venn5 ?? I(this.primaryColor, {
1634
1747
  h: -60,
1635
1748
  l: -30
1636
- }), this.venn6 = this.venn6 ?? P(this.secondaryColor, {
1749
+ }), this.venn6 = this.venn6 ?? I(this.secondaryColor, {
1637
1750
  h: 60,
1638
1751
  l: -30
1639
- }), this.venn7 = this.venn7 ?? P(this.primaryColor, {
1752
+ }), this.venn7 = this.venn7 ?? I(this.primaryColor, {
1640
1753
  h: 120,
1641
1754
  l: -30
1642
- }), this.venn8 = this.venn8 ?? P(this.secondaryColor, {
1755
+ }), this.venn8 = this.venn8 ?? I(this.secondaryColor, {
1643
1756
  h: 120,
1644
1757
  l: -30
1645
- }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1758
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1759
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1760
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1761
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1762
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1763
+ cliffColor: this.cynefin?.cliffColor || "#8B4513",
1764
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1765
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1766
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1767
+ complexBg: this.cynefin?.complexBg || "#C8E6C9",
1768
+ complicatedBg: this.cynefin?.complicatedBg || "#DCEDC8",
1769
+ chaoticBg: this.cynefin?.chaoticBg || "#FFE0B2",
1770
+ clearBg: this.cynefin?.clearBg || "#FFF9C4",
1771
+ confusionBg: this.cynefin?.confusionBg || "#D7CCC8",
1772
+ textColor: this.cynefin?.textColor || this.textColor,
1773
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1774
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
1646
1775
  r: 5,
1647
1776
  g: 5,
1648
1777
  b: 5
1649
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1778
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1650
1779
  r: 10,
1651
1780
  g: 10,
1652
1781
  b: 10
1653
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1782
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1654
1783
  r: 15,
1655
1784
  g: 15,
1656
1785
  b: 15
1657
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1786
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1658
1787
  r: -5,
1659
1788
  g: -5,
1660
1789
  b: -5
1661
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1790
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1662
1791
  r: -10,
1663
1792
  g: -10,
1664
1793
  b: -10
1665
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1794
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1666
1795
  r: -15,
1667
1796
  g: -15,
1668
1797
  b: -15
1669
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
1798
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1670
1799
  startByteColor: this.primaryTextColor,
1671
1800
  endByteColor: this.primaryTextColor,
1672
1801
  labelColor: this.primaryTextColor,
@@ -1701,6 +1830,7 @@ var O = {
1701
1830
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1702
1831
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1703
1832
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1833
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1704
1834
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1705
1835
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1706
1836
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1710,7 +1840,7 @@ var O = {
1710
1840
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1711
1841
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1712
1842
  plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
1713
- }, 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 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || I(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1843
+ }, 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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || L(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1714
1844
  }
1715
1845
  calculate(e) {
1716
1846
  if (typeof e != "object") {
@@ -1724,55 +1854,72 @@ var O = {
1724
1854
  this[t] = e[t];
1725
1855
  });
1726
1856
  }
1727
- }, Et = /* @__PURE__ */ n((e) => {
1728
- let t = new Tt();
1857
+ }, U = /* @__PURE__ */ n((e) => {
1858
+ let t = new xt();
1729
1859
  return t.calculate(e), t;
1730
- }, "getThemeVariables"), Dt = class {
1860
+ }, "getThemeVariables"), St = class {
1731
1861
  static {
1732
1862
  n(this, "Theme");
1733
1863
  }
1734
1864
  constructor() {
1735
- this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = M(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = U(this.primaryColor, this.darkMode), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.lineColor = I(this.background), this.textColor = I(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 || M(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))";
1865
+ this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = P(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = H(this.primaryColor, this.darkMode), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.lineColor = L(this.background), this.textColor = L(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 || P(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))";
1736
1866
  }
1737
1867
  updateColors() {
1738
- this.secondBkg = M(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = M(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, 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";
1739
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1740
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1868
+ this.secondBkg = P(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = P(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";
1869
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1870
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1741
1871
  this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1742
1872
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1743
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, { l: -(8 + e * 5) });
1744
- 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 = M(this.contrast, 30), this.sectionBkgColor2 = M(this.contrast, 30), this.taskBorderColor = N(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 = M(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = N(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 = P(this.primaryColor, { h: 64 }), this.fillType3 = P(this.secondaryColor, { h: 64 }), this.fillType4 = P(this.primaryColor, { h: -64 }), this.fillType5 = P(this.secondaryColor, { h: -64 }), this.fillType6 = P(this.primaryColor, { h: 128 }), this.fillType7 = P(this.secondaryColor, { h: 128 });
1873
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, { l: -(8 + e * 5) });
1874
+ 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 = P(this.contrast, 30), this.sectionBkgColor2 = P(this.contrast, 30), this.taskBorderColor = F(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 = P(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = F(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 = I(this.primaryColor, { h: 64 }), this.fillType3 = I(this.secondaryColor, { h: 64 }), this.fillType4 = I(this.primaryColor, { h: -64 }), this.fillType5 = I(this.secondaryColor, { h: -64 }), this.fillType6 = I(this.primaryColor, { h: 128 }), this.fillType7 = I(this.secondaryColor, { h: 128 });
1745
1875
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1746
1876
  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";
1747
1877
  for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
1748
- this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || P(this.primaryColor, {
1878
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
1879
+ domainFontSize: this.cynefin?.domainFontSize || 16,
1880
+ itemFontSize: this.cynefin?.itemFontSize || 12,
1881
+ boundaryColor: this.cynefin?.boundaryColor || this.lineColor,
1882
+ boundaryWidth: this.cynefin?.boundaryWidth || 2,
1883
+ cliffColor: this.cynefin?.cliffColor || "#8B0000",
1884
+ cliffWidth: this.cynefin?.cliffWidth || 4,
1885
+ arrowColor: this.cynefin?.arrowColor || this.lineColor,
1886
+ arrowWidth: this.cynefin?.arrowWidth || 2,
1887
+ complexBg: this.cynefin?.complexBg || "#E8F5E9",
1888
+ complicatedBg: this.cynefin?.complicatedBg || "#E3F2FD",
1889
+ chaoticBg: this.cynefin?.chaoticBg || "#FBE9E7",
1890
+ clearBg: this.cynefin?.clearBg || "#FFF8E1",
1891
+ confusionBg: this.cynefin?.confusionBg || "#F3E5F5",
1892
+ textColor: this.cynefin?.textColor || this.textColor,
1893
+ labelColor: this.cynefin?.labelColor || this.primaryTextColor
1894
+ }, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || I(this.primaryColor, {
1749
1895
  r: 5,
1750
1896
  g: 5,
1751
1897
  b: 5
1752
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
1898
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1753
1899
  r: 10,
1754
1900
  g: 10,
1755
1901
  b: 10
1756
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
1902
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1757
1903
  r: 15,
1758
1904
  g: 15,
1759
1905
  b: 15
1760
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
1906
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1761
1907
  r: -5,
1762
1908
  g: -5,
1763
1909
  b: -5
1764
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
1910
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1765
1911
  r: -10,
1766
1912
  g: -10,
1767
1913
  b: -10
1768
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
1914
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1769
1915
  r: -15,
1770
1916
  g: -15,
1771
1917
  b: -15
1772
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
1918
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1773
1919
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1774
1920
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1775
1921
  dataLabelColor: this.xyChart?.dataLabelColor || this.primaryTextColor,
1922
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1776
1923
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1777
1924
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1778
1925
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1806,7 +1953,7 @@ var O = {
1806
1953
  annotationStroke: this.wardley?.annotationStroke || this.lineColor,
1807
1954
  annotationTextColor: this.wardley?.annotationTextColor || this.primaryTextColor,
1808
1955
  annotationFill: this.wardley?.annotationFill || this.background
1809
- }, 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 = N(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || P(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || P(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || P(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || P(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || P(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
1956
+ }, 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 = F(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || I(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || I(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || I(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || I(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || I(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1810
1957
  }
1811
1958
  calculate(e) {
1812
1959
  if (typeof e != "object") {
@@ -1820,89 +1967,90 @@ var O = {
1820
1967
  this[t] = e[t];
1821
1968
  });
1822
1969
  }
1823
- }, Ot = /* @__PURE__ */ n((e) => {
1824
- let t = new Dt();
1970
+ }, Ct = /* @__PURE__ */ n((e) => {
1971
+ let t = new St();
1825
1972
  return t.calculate(e), t;
1826
- }, "getThemeVariables"), kt = class {
1973
+ }, "getThemeVariables"), wt = class {
1827
1974
  static {
1828
1975
  n(this, "Theme");
1829
1976
  }
1830
1977
  constructor() {
1831
- 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 = U(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";
1978
+ 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 = H(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";
1832
1979
  }
1833
1980
  updateColors() {
1834
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
1981
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1835
1982
  h: 180,
1836
1983
  l: 5
1837
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor);
1838
- let e = "#ECECFE", t = "#E9E9F1", n = P(e, {
1984
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
1985
+ let e = "#ECECFE", t = "#E9E9F1", n = I(e, {
1839
1986
  h: 180,
1840
1987
  l: 5
1841
1988
  });
1842
- 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 || M(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 || P(e, { h: 30 }), this.cScale4 = this.cScale4 || P(e, { h: 60 }), this.cScale5 = this.cScale5 || P(e, { h: 90 }), this.cScale6 = this.cScale6 || P(e, { h: 120 }), this.cScale7 = this.cScale7 || P(e, { h: 150 }), this.cScale8 = this.cScale8 || P(e, {
1989
+ 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 || P(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 || I(e, { h: 30 }), this.cScale4 = this.cScale4 || I(e, { h: 60 }), this.cScale5 = this.cScale5 || I(e, { h: 90 }), this.cScale6 = this.cScale6 || I(e, { h: 120 }), this.cScale7 = this.cScale7 || I(e, { h: 150 }), this.cScale8 = this.cScale8 || I(e, {
1843
1990
  h: 210,
1844
1991
  l: 150
1845
- }), this.cScale9 = this.cScale9 || P(e, { h: 270 }), this.cScale10 = this.cScale10 || P(e, { h: 300 }), this.cScale11 = this.cScale11 || P(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1846
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1847
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1848
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
1992
+ }), this.cScale9 = this.cScale9 || I(e, { h: 270 }), this.cScale10 = this.cScale10 || I(e, { h: 300 }), this.cScale11 = this.cScale11 || I(e, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
1993
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
1994
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
1995
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1849
1996
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1850
1997
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1851
1998
  let r = this.darkMode ? -4 : -1;
1852
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
1999
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
1853
2000
  h: 180,
1854
2001
  s: -15,
1855
2002
  l: r * (5 + e * 3)
1856
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
2003
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
1857
2004
  h: 180,
1858
2005
  s: -15,
1859
2006
  l: r * (8 + e * 3)
1860
2007
  });
1861
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || P(e, { h: 64 }), this.fillType3 = this.fillType3 || P(t, { h: 64 }), this.fillType4 = this.fillType4 || P(e, { h: -64 }), this.fillType5 = this.fillType5 || P(t, { h: -64 }), this.fillType6 = this.fillType6 || P(e, { h: 128 }), this.fillType7 = this.fillType7 || P(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || P(e, { l: -10 }), this.pie5 = this.pie5 || P(t, { l: -10 }), this.pie6 = this.pie6 || P(n, { l: -10 }), this.pie7 = this.pie7 || P(e, {
2008
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || I(e, { h: 64 }), this.fillType3 = this.fillType3 || I(t, { h: 64 }), this.fillType4 = this.fillType4 || I(e, { h: -64 }), this.fillType5 = this.fillType5 || I(t, { h: -64 }), this.fillType6 = this.fillType6 || I(e, { h: 128 }), this.fillType7 = this.fillType7 || I(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || I(e, { l: -10 }), this.pie5 = this.pie5 || I(t, { l: -10 }), this.pie6 = this.pie6 || I(n, { l: -10 }), this.pie7 = this.pie7 || I(e, {
1862
2009
  h: 60,
1863
2010
  l: -10
1864
- }), this.pie8 = this.pie8 || P(e, {
2011
+ }), this.pie8 = this.pie8 || I(e, {
1865
2012
  h: -60,
1866
2013
  l: -10
1867
- }), this.pie9 = this.pie9 || P(e, {
2014
+ }), this.pie9 = this.pie9 || I(e, {
1868
2015
  h: 120,
1869
2016
  l: 0
1870
- }), this.pie10 = this.pie10 || P(e, {
2017
+ }), this.pie10 = this.pie10 || I(e, {
1871
2018
  h: 60,
1872
2019
  l: -20
1873
- }), this.pie11 = this.pie11 || P(e, {
2020
+ }), this.pie11 = this.pie11 || I(e, {
1874
2021
  h: -60,
1875
2022
  l: -20
1876
- }), this.pie12 = this.pie12 || P(e, {
2023
+ }), this.pie12 = this.pie12 || I(e, {
1877
2024
  h: 120,
1878
2025
  l: -10
1879
- }), 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 || P(e, {
2026
+ }), 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 || I(e, {
1880
2027
  r: 5,
1881
2028
  g: 5,
1882
2029
  b: 5
1883
- }), this.quadrant3Fill = this.quadrant3Fill || P(e, {
2030
+ }), this.quadrant3Fill = this.quadrant3Fill || I(e, {
1884
2031
  r: 10,
1885
2032
  g: 10,
1886
2033
  b: 10
1887
- }), this.quadrant4Fill = this.quadrant4Fill || P(e, {
2034
+ }), this.quadrant4Fill = this.quadrant4Fill || I(e, {
1888
2035
  r: 15,
1889
2036
  g: 15,
1890
2037
  b: 15
1891
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2038
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1892
2039
  r: -5,
1893
2040
  g: -5,
1894
2041
  b: -5
1895
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2042
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1896
2043
  r: -10,
1897
2044
  g: -10,
1898
2045
  b: -10
1899
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2046
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
1900
2047
  r: -15,
1901
2048
  g: -15,
1902
2049
  b: -15
1903
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
2050
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
1904
2051
  backgroundColor: this.xyChart?.backgroundColor || this.background,
1905
2052
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2053
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
1906
2054
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1907
2055
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1908
2056
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -1912,7 +2060,7 @@ var O = {
1912
2060
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1913
2061
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1914
2062
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1915
- }, 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 ? N(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 || P(e, { h: -30 }), this.git4 = this.git4 || P(e, { h: -60 }), this.git5 = this.git5 || P(e, { h: -90 }), this.git6 = this.git6 || P(e, { h: 60 }), this.git7 = this.git7 || P(e, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2063
+ }, 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 ? F(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 || I(e, { h: -30 }), this.git4 = this.git4 || I(e, { h: -60 }), this.git5 = this.git5 || I(e, { h: -90 }), this.git6 = this.git6 || I(e, { h: 60 }), this.git7 = this.git7 || I(e, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
1916
2064
  }
1917
2065
  calculate(e) {
1918
2066
  if (typeof e != "object") {
@@ -1926,84 +2074,85 @@ var O = {
1926
2074
  this[t] = e[t];
1927
2075
  });
1928
2076
  }
1929
- }, At = /* @__PURE__ */ n((e) => {
1930
- let t = new kt();
2077
+ }, Tt = /* @__PURE__ */ n((e) => {
2078
+ let t = new wt();
1931
2079
  return t.calculate(e), t;
1932
- }, "getThemeVariables"), W = class {
2080
+ }, "getThemeVariables"), Et = class {
1933
2081
  static {
1934
2082
  n(this, "Theme");
1935
2083
  }
1936
2084
  constructor() {
1937
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(I("#323D47"), 10), this.border1 = "#ccc", this.border2 = A(255, 255, 255, .25), this.arrowheadColor = I(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";
2085
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.border1 = "#ccc", this.border2 = M(255, 255, 255, .25), this.arrowheadColor = L(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";
1938
2086
  }
1939
2087
  updateColors() {
1940
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2088
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
1941
2089
  h: 180,
1942
2090
  l: 5
1943
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), 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 || M(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 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, {
2091
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(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 || P(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, {
1944
2092
  h: 210,
1945
2093
  l: 150
1946
- }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
1947
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
1948
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
1949
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2094
+ }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
2095
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
2096
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2097
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
1950
2098
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1951
2099
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1952
2100
  let e = this.darkMode ? -4 : -1;
1953
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
2101
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
1954
2102
  h: 180,
1955
2103
  s: -15,
1956
2104
  l: e * (5 + t * 3)
1957
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
2105
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
1958
2106
  h: 180,
1959
2107
  s: -15,
1960
2108
  l: e * (8 + t * 3)
1961
2109
  });
1962
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(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 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
2110
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
1963
2111
  h: 60,
1964
2112
  l: -10
1965
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
2113
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
1966
2114
  h: -60,
1967
2115
  l: -10
1968
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
2116
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
1969
2117
  h: 120,
1970
2118
  l: 0
1971
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
2119
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
1972
2120
  h: 60,
1973
2121
  l: -20
1974
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
2122
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
1975
2123
  h: -60,
1976
2124
  l: -20
1977
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
2125
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
1978
2126
  h: 120,
1979
2127
  l: -10
1980
- }), 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 || P(this.primaryColor, {
2128
+ }), 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 || I(this.primaryColor, {
1981
2129
  r: 5,
1982
2130
  g: 5,
1983
2131
  b: 5
1984
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
2132
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
1985
2133
  r: 10,
1986
2134
  g: 10,
1987
2135
  b: 10
1988
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
2136
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
1989
2137
  r: 15,
1990
2138
  g: 15,
1991
2139
  b: 15
1992
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2140
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
1993
2141
  r: -5,
1994
2142
  g: -5,
1995
2143
  b: -5
1996
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2144
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
1997
2145
  r: -10,
1998
2146
  g: -10,
1999
2147
  b: -10
2000
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2148
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
2001
2149
  r: -15,
2002
2150
  g: -15,
2003
2151
  b: -15
2004
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
2152
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
2005
2153
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2006
2154
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2155
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
2007
2156
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2008
2157
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2009
2158
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -2013,7 +2162,7 @@ var O = {
2013
2162
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2014
2163
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2015
2164
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2016
- }, 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 ? N(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 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2165
+ }, 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 ? F(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 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2017
2166
  }
2018
2167
  calculate(e) {
2019
2168
  if (typeof e != "object") {
@@ -2027,88 +2176,89 @@ var O = {
2027
2176
  this[t] = e[t];
2028
2177
  });
2029
2178
  }
2030
- }, jt = /* @__PURE__ */ n((e) => {
2031
- let t = new W();
2179
+ }, Dt = /* @__PURE__ */ n((e) => {
2180
+ let t = new Et();
2032
2181
  return t.calculate(e), t;
2033
- }, "getThemeVariables"), Mt = class {
2182
+ }, "getThemeVariables"), Ot = class {
2034
2183
  static {
2035
2184
  n(this, "Theme");
2036
2185
  }
2037
2186
  constructor() {
2038
- 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 = U("#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";
2187
+ 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 = H("#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";
2039
2188
  }
2040
2189
  updateColors() {
2041
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2190
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
2042
2191
  h: 180,
2043
2192
  l: 5
2044
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor);
2045
- let e = "#ECECFE", t = "#E9E9F1", n = P(e, {
2193
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
2194
+ let e = "#ECECFE", t = "#E9E9F1", n = I(e, {
2046
2195
  h: 180,
2047
2196
  l: 5
2048
2197
  });
2049
- 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 || M(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;
2198
+ 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 || P(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;
2050
2199
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
2051
- if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
2052
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
2053
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
2054
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2200
+ if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
2201
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
2202
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2203
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
2055
2204
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2056
2205
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2057
2206
  let r = this.darkMode ? -4 : -1;
2058
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
2207
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
2059
2208
  h: 180,
2060
2209
  s: -15,
2061
2210
  l: r * (5 + e * 3)
2062
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
2211
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
2063
2212
  h: 180,
2064
2213
  s: -15,
2065
2214
  l: r * (8 + e * 3)
2066
2215
  });
2067
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || P(e, { h: 64 }), this.fillType3 = this.fillType3 || P(t, { h: 64 }), this.fillType4 = this.fillType4 || P(e, { h: -64 }), this.fillType5 = this.fillType5 || P(t, { h: -64 }), this.fillType6 = this.fillType6 || P(e, { h: 128 }), this.fillType7 = this.fillType7 || P(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || P(e, { l: -10 }), this.pie5 = this.pie5 || P(t, { l: -10 }), this.pie6 = this.pie6 || P(n, { l: -10 }), this.pie7 = this.pie7 || P(e, {
2216
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || I(e, { h: 64 }), this.fillType3 = this.fillType3 || I(t, { h: 64 }), this.fillType4 = this.fillType4 || I(e, { h: -64 }), this.fillType5 = this.fillType5 || I(t, { h: -64 }), this.fillType6 = this.fillType6 || I(e, { h: 128 }), this.fillType7 = this.fillType7 || I(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || I(e, { l: -10 }), this.pie5 = this.pie5 || I(t, { l: -10 }), this.pie6 = this.pie6 || I(n, { l: -10 }), this.pie7 = this.pie7 || I(e, {
2068
2217
  h: 60,
2069
2218
  l: -10
2070
- }), this.pie8 = this.pie8 || P(e, {
2219
+ }), this.pie8 = this.pie8 || I(e, {
2071
2220
  h: -60,
2072
2221
  l: -10
2073
- }), this.pie9 = this.pie9 || P(e, {
2222
+ }), this.pie9 = this.pie9 || I(e, {
2074
2223
  h: 120,
2075
2224
  l: 0
2076
- }), this.pie10 = this.pie10 || P(e, {
2225
+ }), this.pie10 = this.pie10 || I(e, {
2077
2226
  h: 60,
2078
2227
  l: -20
2079
- }), this.pie11 = this.pie11 || P(e, {
2228
+ }), this.pie11 = this.pie11 || I(e, {
2080
2229
  h: -60,
2081
2230
  l: -20
2082
- }), this.pie12 = this.pie12 || P(e, {
2231
+ }), this.pie12 = this.pie12 || I(e, {
2083
2232
  h: 120,
2084
2233
  l: -10
2085
- }), 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 || P(e, {
2234
+ }), 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 || I(e, {
2086
2235
  r: 5,
2087
2236
  g: 5,
2088
2237
  b: 5
2089
- }), this.quadrant3Fill = this.quadrant3Fill || P(e, {
2238
+ }), this.quadrant3Fill = this.quadrant3Fill || I(e, {
2090
2239
  r: 10,
2091
2240
  g: 10,
2092
2241
  b: 10
2093
- }), this.quadrant4Fill = this.quadrant4Fill || P(e, {
2242
+ }), this.quadrant4Fill = this.quadrant4Fill || I(e, {
2094
2243
  r: 15,
2095
2244
  g: 15,
2096
2245
  b: 15
2097
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2246
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
2098
2247
  r: -5,
2099
2248
  g: -5,
2100
2249
  b: -5
2101
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2250
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
2102
2251
  r: -10,
2103
2252
  g: -10,
2104
2253
  b: -10
2105
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2254
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
2106
2255
  r: -15,
2107
2256
  g: -15,
2108
2257
  b: -15
2109
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
2258
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
2110
2259
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2111
2260
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2261
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
2112
2262
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2113
2263
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2114
2264
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -2118,7 +2268,7 @@ var O = {
2118
2268
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2119
2269
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2120
2270
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2121
- }, 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 ? N(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 || P(e, { h: -30 }), this.git4 = this.git4 || P(e, { h: -60 }), this.git5 = this.git5 || P(e, { h: -90 }), this.git6 = this.git6 || P(e, { h: 60 }), this.git7 = this.git7 || P(e, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2271
+ }, 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 ? F(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 || I(e, { h: -30 }), this.git4 = this.git4 || I(e, { h: -60 }), this.git5 = this.git5 || I(e, { h: -90 }), this.git6 = this.git6 || I(e, { h: 60 }), this.git7 = this.git7 || I(e, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2122
2272
  }
2123
2273
  calculate(e) {
2124
2274
  if (typeof e != "object") {
@@ -2132,84 +2282,85 @@ var O = {
2132
2282
  this[t] = e[t];
2133
2283
  });
2134
2284
  }
2135
- }, Nt = /* @__PURE__ */ n((e) => {
2136
- let t = new Mt();
2285
+ }, kt = /* @__PURE__ */ n((e) => {
2286
+ let t = new Ot();
2137
2287
  return t.calculate(e), t;
2138
- }, "getThemeVariables"), Pt = class {
2288
+ }, "getThemeVariables"), At = class {
2139
2289
  static {
2140
2290
  n(this, "Theme");
2141
2291
  }
2142
2292
  constructor() {
2143
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(I("#323D47"), 10), this.border1 = "#ccc", this.border2 = A(255, 255, 255, .25), this.arrowheadColor = I(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";
2293
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.border1 = "#ccc", this.border2 = M(255, 255, 255, .25), this.arrowheadColor = L(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";
2144
2294
  }
2145
2295
  updateColors() {
2146
- if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2296
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
2147
2297
  h: 180,
2148
2298
  l: 5
2149
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), 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 || M(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 || P(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || P(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || P(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || P(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || P(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || P(this.primaryColor, {
2299
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(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 || P(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 || I(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || I(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || I(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || I(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || I(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || I(this.primaryColor, {
2150
2300
  h: 210,
2151
2301
  l: 150
2152
- }), this.cScale9 = this.cScale9 || P(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || P(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || P(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 75);
2153
- else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = N(this["cScale" + e], 25);
2154
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
2155
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2302
+ }), this.cScale9 = this.cScale9 || I(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || I(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || I(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 75);
2303
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = F(this["cScale" + e], 25);
2304
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2305
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
2156
2306
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2157
2307
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2158
2308
  let e = this.darkMode ? -4 : -1;
2159
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
2309
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
2160
2310
  h: 180,
2161
2311
  s: -15,
2162
2312
  l: e * (5 + t * 3)
2163
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
2313
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
2164
2314
  h: 180,
2165
2315
  s: -15,
2166
2316
  l: e * (8 + t * 3)
2167
2317
  });
2168
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(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 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
2318
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
2169
2319
  h: 60,
2170
2320
  l: -10
2171
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
2321
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
2172
2322
  h: -60,
2173
2323
  l: -10
2174
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
2324
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
2175
2325
  h: 120,
2176
2326
  l: 0
2177
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
2327
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
2178
2328
  h: 60,
2179
2329
  l: -20
2180
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
2330
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
2181
2331
  h: -60,
2182
2332
  l: -20
2183
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
2333
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
2184
2334
  h: 120,
2185
2335
  l: -10
2186
- }), 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 || P(this.primaryColor, {
2336
+ }), 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 || I(this.primaryColor, {
2187
2337
  r: 5,
2188
2338
  g: 5,
2189
2339
  b: 5
2190
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
2340
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
2191
2341
  r: 10,
2192
2342
  g: 10,
2193
2343
  b: 10
2194
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
2344
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
2195
2345
  r: 15,
2196
2346
  g: 15,
2197
2347
  b: 15
2198
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2348
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
2199
2349
  r: -5,
2200
2350
  g: -5,
2201
2351
  b: -5
2202
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2352
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
2203
2353
  r: -10,
2204
2354
  g: -10,
2205
2355
  b: -10
2206
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2356
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
2207
2357
  r: -15,
2208
2358
  g: -15,
2209
2359
  b: -15
2210
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
2360
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
2211
2361
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2212
2362
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2363
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
2213
2364
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2214
2365
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2215
2366
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -2219,7 +2370,7 @@ var O = {
2219
2370
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2220
2371
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2221
2372
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2222
- }, 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 ? N(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 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2373
+ }, 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 ? F(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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2223
2374
  }
2224
2375
  calculate(e) {
2225
2376
  if (typeof e != "object") {
@@ -2233,15 +2384,15 @@ var O = {
2233
2384
  this[t] = e[t];
2234
2385
  });
2235
2386
  }
2236
- }, Ft = /* @__PURE__ */ n((e) => {
2237
- let t = new Pt();
2387
+ }, jt = /* @__PURE__ */ n((e) => {
2388
+ let t = new At();
2238
2389
  return t.calculate(e), t;
2239
- }, "getThemeVariables"), It = class {
2390
+ }, "getThemeVariables"), Mt = class {
2240
2391
  static {
2241
2392
  n(this, "Theme");
2242
2393
  }
2243
2394
  constructor() {
2244
- 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 = U(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 = [
2395
+ 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 = H(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 = [
2245
2396
  "#E879F9",
2246
2397
  "#2DD4BF",
2247
2398
  "#FB923C",
@@ -2270,74 +2421,75 @@ var O = {
2270
2421
  ], this.filterColor = "#000000";
2271
2422
  }
2272
2423
  updateColors() {
2273
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2424
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
2274
2425
  h: 180,
2275
2426
  l: 5
2276
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor);
2277
- let e = "#ECECFE", t = "#E9E9F1", n = P(e, {
2427
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
2428
+ let e = "#ECECFE", t = "#E9E9F1", n = I(e, {
2278
2429
  h: 180,
2279
2430
  l: 5
2280
2431
  });
2281
- 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 || M(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";
2282
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
2283
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2432
+ 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 || P(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";
2433
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2434
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
2284
2435
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2285
2436
  for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
2286
2437
  let r = this.darkMode ? -4 : -1;
2287
- for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || P(this.mainBkg, {
2438
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || I(this.mainBkg, {
2288
2439
  h: 180,
2289
2440
  s: -15,
2290
2441
  l: r * (5 + e * 3)
2291
- }), this["surfacePeer" + e] = this["surfacePeer" + e] || P(this.mainBkg, {
2442
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || I(this.mainBkg, {
2292
2443
  h: 180,
2293
2444
  s: -15,
2294
2445
  l: r * (8 + e * 3)
2295
2446
  });
2296
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || P(e, { h: 64 }), this.fillType3 = this.fillType3 || P(t, { h: 64 }), this.fillType4 = this.fillType4 || P(e, { h: -64 }), this.fillType5 = this.fillType5 || P(t, { h: -64 }), this.fillType6 = this.fillType6 || P(e, { h: 128 }), this.fillType7 = this.fillType7 || P(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || P(e, { l: -10 }), this.pie5 = this.pie5 || P(t, { l: -10 }), this.pie6 = this.pie6 || P(n, { l: -10 }), this.pie7 = this.pie7 || P(e, {
2447
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || e, this.fillType1 = this.fillType1 || t, this.fillType2 = this.fillType2 || I(e, { h: 64 }), this.fillType3 = this.fillType3 || I(t, { h: 64 }), this.fillType4 = this.fillType4 || I(e, { h: -64 }), this.fillType5 = this.fillType5 || I(t, { h: -64 }), this.fillType6 = this.fillType6 || I(e, { h: 128 }), this.fillType7 = this.fillType7 || I(t, { h: 128 }), this.pie1 = this.pie1 || e, this.pie2 = this.pie2 || t, this.pie3 = this.pie3 || n, this.pie4 = this.pie4 || I(e, { l: -10 }), this.pie5 = this.pie5 || I(t, { l: -10 }), this.pie6 = this.pie6 || I(n, { l: -10 }), this.pie7 = this.pie7 || I(e, {
2297
2448
  h: 60,
2298
2449
  l: -10
2299
- }), this.pie8 = this.pie8 || P(e, {
2450
+ }), this.pie8 = this.pie8 || I(e, {
2300
2451
  h: -60,
2301
2452
  l: -10
2302
- }), this.pie9 = this.pie9 || P(e, {
2453
+ }), this.pie9 = this.pie9 || I(e, {
2303
2454
  h: 120,
2304
2455
  l: 0
2305
- }), this.pie10 = this.pie10 || P(e, {
2456
+ }), this.pie10 = this.pie10 || I(e, {
2306
2457
  h: 60,
2307
2458
  l: -20
2308
- }), this.pie11 = this.pie11 || P(e, {
2459
+ }), this.pie11 = this.pie11 || I(e, {
2309
2460
  h: -60,
2310
2461
  l: -20
2311
- }), this.pie12 = this.pie12 || P(e, {
2462
+ }), this.pie12 = this.pie12 || I(e, {
2312
2463
  h: 120,
2313
2464
  l: -10
2314
- }), 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 || P(e, {
2465
+ }), 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 || I(e, {
2315
2466
  r: 5,
2316
2467
  g: 5,
2317
2468
  b: 5
2318
- }), this.quadrant3Fill = this.quadrant3Fill || P(e, {
2469
+ }), this.quadrant3Fill = this.quadrant3Fill || I(e, {
2319
2470
  r: 10,
2320
2471
  g: 10,
2321
2472
  b: 10
2322
- }), this.quadrant4Fill = this.quadrant4Fill || P(e, {
2473
+ }), this.quadrant4Fill = this.quadrant4Fill || I(e, {
2323
2474
  r: 15,
2324
2475
  g: 15,
2325
2476
  b: 15
2326
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2477
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
2327
2478
  r: -5,
2328
2479
  g: -5,
2329
2480
  b: -5
2330
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2481
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
2331
2482
  r: -10,
2332
2483
  g: -10,
2333
2484
  b: -10
2334
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2485
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
2335
2486
  r: -15,
2336
2487
  g: -15,
2337
2488
  b: -15
2338
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
2489
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
2339
2490
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2340
2491
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2492
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
2341
2493
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2342
2494
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2343
2495
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -2347,7 +2499,7 @@ var O = {
2347
2499
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2348
2500
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2349
2501
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2350
- }, 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 ? N(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 || P(e, { h: -30 }), this.git4 = this.git4 || P(e, { h: -60 }), this.git5 = this.git5 || P(e, { h: -90 }), this.git6 = this.git6 || P(e, { h: 60 }), this.git7 = this.git7 || P(e, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2502
+ }, 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 ? F(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 || I(e, { h: -30 }), this.git4 = this.git4 || I(e, { h: -60 }), this.git5 = this.git5 || I(e, { h: -90 }), this.git6 = this.git6 || I(e, { h: 60 }), this.git7 = this.git7 || I(e, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2351
2503
  }
2352
2504
  calculate(e) {
2353
2505
  if (typeof e != "object") {
@@ -2361,15 +2513,15 @@ var O = {
2361
2513
  this[t] = e[t];
2362
2514
  });
2363
2515
  }
2364
- }, Lt = /* @__PURE__ */ n((e) => {
2365
- let t = new It();
2516
+ }, Nt = /* @__PURE__ */ n((e) => {
2517
+ let t = new Mt();
2366
2518
  return t.calculate(e), t;
2367
- }, "getThemeVariables"), G = class {
2519
+ }, "getThemeVariables"), Pt = class {
2368
2520
  static {
2369
2521
  n(this, "Theme");
2370
2522
  }
2371
2523
  constructor() {
2372
- this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = M(this.primaryColor, 16), this.tertiaryColor = P(this.primaryColor, { h: -160 }), this.primaryBorderColor = I(this.background), this.secondaryBorderColor = U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = U(this.tertiaryColor, this.darkMode), this.primaryTextColor = I(this.primaryColor), this.secondaryTextColor = I(this.secondaryColor), this.tertiaryTextColor = I(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = M(I("#323D47"), 10), this.border1 = "#ccc", this.border2 = A(255, 255, 255, .25), this.arrowheadColor = I(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 = [
2524
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = P(this.primaryColor, 16), this.tertiaryColor = I(this.primaryColor, { h: -160 }), this.primaryBorderColor = L(this.background), this.secondaryBorderColor = H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = H(this.tertiaryColor, this.darkMode), this.primaryTextColor = L(this.primaryColor), this.secondaryTextColor = L(this.secondaryColor), this.tertiaryTextColor = L(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = P(L("#323D47"), 10), this.border1 = "#ccc", this.border2 = M(255, 255, 255, .25), this.arrowheadColor = L(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 = [
2373
2525
  "#E879F9",
2374
2526
  "#2DD4BF",
2375
2527
  "#FB923C",
@@ -2385,69 +2537,70 @@ var O = {
2385
2537
  ], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
2386
2538
  }
2387
2539
  updateColors() {
2388
- this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || P(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || P(this.primaryColor, {
2540
+ this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || I(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || I(this.primaryColor, {
2389
2541
  h: 180,
2390
2542
  l: 5
2391
- }), this.primaryBorderColor = this.primaryBorderColor || U(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || U(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || U(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || U(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || I(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || I(this.tertiaryColor), this.lineColor = this.lineColor || I(this.background), this.arrowheadColor = this.arrowheadColor || I(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 ? N(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 || N(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || I(this.lineColor), 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 || M(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";
2392
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || I(this["cScale" + e]);
2393
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || M(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || N(this["cScale" + e], 10);
2543
+ }), this.primaryBorderColor = this.primaryBorderColor || H(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || H(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || H(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || H(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || L(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || L(this.tertiaryColor), this.lineColor = this.lineColor || L(this.background), this.arrowheadColor = this.arrowheadColor || L(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 ? F(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 || F(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || L(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 || P(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";
2544
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || L(this["cScale" + e]);
2545
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || P(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || F(this["cScale" + e], 10);
2394
2546
  this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
2395
- for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = N(this["cScale" + e], 75);
2547
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = F(this["cScale" + e], 75);
2396
2548
  let e = this.darkMode ? -4 : -1;
2397
- for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || P(this.mainBkg, {
2549
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || I(this.mainBkg, {
2398
2550
  h: 180,
2399
2551
  s: -15,
2400
2552
  l: e * (5 + t * 3)
2401
- }), this["surfacePeer" + t] = this["surfacePeer" + t] || P(this.mainBkg, {
2553
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || I(this.mainBkg, {
2402
2554
  h: 180,
2403
2555
  s: -15,
2404
2556
  l: e * (8 + t * 3)
2405
2557
  });
2406
- this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || P(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || P(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || P(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || P(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || P(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || P(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 || P(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || P(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || P(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || P(this.primaryColor, {
2558
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || I(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || I(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || I(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || I(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || I(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || I(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 || I(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || I(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || I(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || I(this.primaryColor, {
2407
2559
  h: 60,
2408
2560
  l: -10
2409
- }), this.pie8 = this.pie8 || P(this.primaryColor, {
2561
+ }), this.pie8 = this.pie8 || I(this.primaryColor, {
2410
2562
  h: -60,
2411
2563
  l: -10
2412
- }), this.pie9 = this.pie9 || P(this.primaryColor, {
2564
+ }), this.pie9 = this.pie9 || I(this.primaryColor, {
2413
2565
  h: 120,
2414
2566
  l: 0
2415
- }), this.pie10 = this.pie10 || P(this.primaryColor, {
2567
+ }), this.pie10 = this.pie10 || I(this.primaryColor, {
2416
2568
  h: 60,
2417
2569
  l: -20
2418
- }), this.pie11 = this.pie11 || P(this.primaryColor, {
2570
+ }), this.pie11 = this.pie11 || I(this.primaryColor, {
2419
2571
  h: -60,
2420
2572
  l: -20
2421
- }), this.pie12 = this.pie12 || P(this.primaryColor, {
2573
+ }), this.pie12 = this.pie12 || I(this.primaryColor, {
2422
2574
  h: 120,
2423
2575
  l: -10
2424
- }), 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 || P(this.primaryColor, {
2576
+ }), 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 || I(this.primaryColor, {
2425
2577
  r: 5,
2426
2578
  g: 5,
2427
2579
  b: 5
2428
- }), this.quadrant3Fill = this.quadrant3Fill || P(this.primaryColor, {
2580
+ }), this.quadrant3Fill = this.quadrant3Fill || I(this.primaryColor, {
2429
2581
  r: 10,
2430
2582
  g: 10,
2431
2583
  b: 10
2432
- }), this.quadrant4Fill = this.quadrant4Fill || P(this.primaryColor, {
2584
+ }), this.quadrant4Fill = this.quadrant4Fill || I(this.primaryColor, {
2433
2585
  r: 15,
2434
2586
  g: 15,
2435
2587
  b: 15
2436
- }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || P(this.primaryTextColor, {
2588
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || I(this.primaryTextColor, {
2437
2589
  r: -5,
2438
2590
  g: -5,
2439
2591
  b: -5
2440
- }), this.quadrant3TextFill = this.quadrant3TextFill || P(this.primaryTextColor, {
2592
+ }), this.quadrant3TextFill = this.quadrant3TextFill || I(this.primaryTextColor, {
2441
2593
  r: -10,
2442
2594
  g: -10,
2443
2595
  b: -10
2444
- }), this.quadrant4TextFill = this.quadrant4TextFill || P(this.primaryTextColor, {
2596
+ }), this.quadrant4TextFill = this.quadrant4TextFill || I(this.primaryTextColor, {
2445
2597
  r: -15,
2446
2598
  g: -15,
2447
2599
  b: -15
2448
- }), this.quadrantPointFill = this.quadrantPointFill || j(this.quadrant1Fill) ? M(this.quadrant1Fill) : N(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 = {
2600
+ }), this.quadrantPointFill = this.quadrantPointFill || N(this.quadrant1Fill) ? P(this.quadrant1Fill) : F(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 = {
2449
2601
  backgroundColor: this.xyChart?.backgroundColor || this.background,
2450
2602
  titleColor: this.xyChart?.titleColor || this.primaryTextColor,
2603
+ legendTextColor: this.xyChart?.legendTextColor || this.primaryTextColor,
2451
2604
  xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
2452
2605
  xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
2453
2606
  xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
@@ -2457,7 +2610,7 @@ var O = {
2457
2610
  yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
2458
2611
  yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
2459
2612
  plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
2460
- }, 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 ? N(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 || P(this.primaryColor, { h: -30 }), this.git4 = this.git4 || P(this.primaryColor, { h: -60 }), this.git5 = this.git5 || P(this.primaryColor, { h: -90 }), this.git6 = this.git6 || P(this.primaryColor, { h: 60 }), this.git7 = this.git7 || P(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = M(this.git0, 25), this.git1 = M(this.git1, 25), this.git2 = M(this.git2, 25), this.git3 = M(this.git3, 25), this.git4 = M(this.git4, 25), this.git5 = M(this.git5, 25), this.git6 = M(this.git6, 25), this.git7 = M(this.git7, 25)) : (this.git0 = N(this.git0, 25), this.git1 = N(this.git1, 25), this.git2 = N(this.git2, 25), this.git3 = N(this.git3, 25), this.git4 = N(this.git4, 25), this.git5 = N(this.git5, 25), this.git6 = N(this.git6, 25), this.git7 = N(this.git7, 25)), this.gitInv0 = this.gitInv0 || I(this.git0), this.gitInv1 = this.gitInv1 || I(this.git1), this.gitInv2 = this.gitInv2 || I(this.git2), this.gitInv3 = this.gitInv3 || I(this.git3), this.gitInv4 = this.gitInv4 || I(this.git4), this.gitInv5 = this.gitInv5 || I(this.git5), this.gitInv6 = this.gitInv6 || I(this.git6), this.gitInv7 = this.gitInv7 || I(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 || V, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || H;
2613
+ }, 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 ? F(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 || I(this.primaryColor, { h: -30 }), this.git4 = this.git4 || I(this.primaryColor, { h: -60 }), this.git5 = this.git5 || I(this.primaryColor, { h: -90 }), this.git6 = this.git6 || I(this.primaryColor, { h: 60 }), this.git7 = this.git7 || I(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = P(this.git0, 25), this.git1 = P(this.git1, 25), this.git2 = P(this.git2, 25), this.git3 = P(this.git3, 25), this.git4 = P(this.git4, 25), this.git5 = P(this.git5, 25), this.git6 = P(this.git6, 25), this.git7 = P(this.git7, 25)) : (this.git0 = F(this.git0, 25), this.git1 = F(this.git1, 25), this.git2 = F(this.git2, 25), this.git3 = F(this.git3, 25), this.git4 = F(this.git4, 25), this.git5 = F(this.git5, 25), this.git6 = F(this.git6, 25), this.git7 = F(this.git7, 25)), this.gitInv0 = this.gitInv0 || L(this.git0), this.gitInv1 = this.gitInv1 || L(this.git1), this.gitInv2 = this.gitInv2 || L(this.git2), this.gitInv3 = this.gitInv3 || L(this.git3), this.gitInv4 = this.gitInv4 || L(this.git4), this.gitInv5 = this.gitInv5 || L(this.git5), this.gitInv6 = this.gitInv6 || L(this.git6), this.gitInv7 = this.gitInv7 || L(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 || B, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || V;
2461
2614
  }
2462
2615
  calculate(e) {
2463
2616
  if (typeof e != "object") {
@@ -2471,22 +2624,22 @@ var O = {
2471
2624
  this[t] = e[t];
2472
2625
  });
2473
2626
  }
2474
- }, K = {
2475
- base: { getThemeVariables: bt },
2476
- dark: { getThemeVariables: St },
2477
- default: { getThemeVariables: wt },
2478
- forest: { getThemeVariables: Et },
2479
- neutral: { getThemeVariables: Ot },
2480
- neo: { getThemeVariables: At },
2481
- "neo-dark": { getThemeVariables: jt },
2482
- redux: { getThemeVariables: Nt },
2483
- "redux-dark": { getThemeVariables: Ft },
2484
- "redux-color": { getThemeVariables: Lt },
2627
+ }, W = {
2628
+ base: { getThemeVariables: gt },
2629
+ dark: { getThemeVariables: vt },
2630
+ default: { getThemeVariables: bt },
2631
+ forest: { getThemeVariables: U },
2632
+ neutral: { getThemeVariables: Ct },
2633
+ neo: { getThemeVariables: Tt },
2634
+ "neo-dark": { getThemeVariables: Dt },
2635
+ redux: { getThemeVariables: kt },
2636
+ "redux-dark": { getThemeVariables: jt },
2637
+ "redux-color": { getThemeVariables: Nt },
2485
2638
  "redux-dark-color": { getThemeVariables: /* @__PURE__ */ n((e) => {
2486
- let t = new G();
2639
+ let t = new Pt();
2487
2640
  return t.calculate(e), t;
2488
2641
  }, "getThemeVariables") }
2489
- }, q = {
2642
+ }, G = {
2490
2643
  flowchart: {
2491
2644
  useMaxWidth: !0,
2492
2645
  titleTopMargin: 25,
@@ -2504,6 +2657,13 @@ var O = {
2504
2657
  wrappingWidth: 200,
2505
2658
  inheritDir: !1
2506
2659
  },
2660
+ swimlane: {
2661
+ useMaxWidth: !0,
2662
+ lineHops: "arc",
2663
+ ignoreCrossLaneEdges: !0,
2664
+ optimizeRanksByCrossings: !0,
2665
+ automaticLaneOrdering: !1
2666
+ },
2507
2667
  sequence: {
2508
2668
  useMaxWidth: !0,
2509
2669
  hideUnusedParticipants: !1,
@@ -2645,7 +2805,10 @@ var O = {
2645
2805
  },
2646
2806
  pie: {
2647
2807
  useMaxWidth: !0,
2648
- textPosition: .75
2808
+ textPosition: .75,
2809
+ donutHole: 0,
2810
+ legendPosition: "right",
2811
+ highlightSlice: ""
2649
2812
  },
2650
2813
  quadrantChart: {
2651
2814
  useMaxWidth: !0,
@@ -2677,6 +2840,9 @@ var O = {
2677
2840
  showDataLabel: !1,
2678
2841
  showDataLabelOutsideBar: !1,
2679
2842
  showTitle: !0,
2843
+ showLegend: !0,
2844
+ legendFontSize: 14,
2845
+ legendPadding: 10,
2680
2846
  xAxis: {
2681
2847
  $ref: "#/$defs/XYChartAxisConfig",
2682
2848
  showLabel: !0,
@@ -2689,7 +2855,8 @@ var O = {
2689
2855
  tickLength: 5,
2690
2856
  tickWidth: 2,
2691
2857
  showAxisLine: !0,
2692
- axisLineWidth: 2
2858
+ axisLineWidth: 2,
2859
+ labelRotation: 0
2693
2860
  },
2694
2861
  yAxis: {
2695
2862
  $ref: "#/$defs/XYChartAxisConfig",
@@ -2703,7 +2870,8 @@ var O = {
2703
2870
  tickLength: 5,
2704
2871
  tickWidth: 2,
2705
2872
  showAxisLine: !0,
2706
- axisLineWidth: 2
2873
+ axisLineWidth: 2,
2874
+ labelRotation: 0
2707
2875
  },
2708
2876
  chartOrientation: "vertical",
2709
2877
  plotReservedSpacePercent: 50
@@ -2945,7 +3113,11 @@ var O = {
2945
3113
  rowIndent: 10,
2946
3114
  paddingX: 5,
2947
3115
  paddingY: 5,
2948
- lineThickness: 1
3116
+ lineThickness: 1,
3117
+ showIcons: !1,
3118
+ defaultIconPack: "",
3119
+ filenameIcons: {},
3120
+ extensionIcons: {}
2949
3121
  },
2950
3122
  architecture: {
2951
3123
  useMaxWidth: !0,
@@ -2956,7 +3128,8 @@ var O = {
2956
3128
  nodeSeparation: 75,
2957
3129
  idealEdgeLengthMultiplier: 1.5,
2958
3130
  edgeElasticity: .45,
2959
- numIter: 2500
3131
+ numIter: 2500,
3132
+ seed: 1
2960
3133
  },
2961
3134
  eventmodeling: {
2962
3135
  useMaxWidth: !0,
@@ -2982,6 +3155,15 @@ var O = {
2982
3155
  padding: 8,
2983
3156
  useDebugLayout: !1
2984
3157
  },
3158
+ cynefin: {
3159
+ useMaxWidth: !0,
3160
+ width: 800,
3161
+ height: 600,
3162
+ padding: 40,
3163
+ showDomainDescriptions: !0,
3164
+ boundaryAmplitude: 8,
3165
+ seed: 0
3166
+ },
2985
3167
  theme: "default",
2986
3168
  look: "classic",
2987
3169
  handDrawnSeed: 0,
@@ -3008,19 +3190,21 @@ var O = {
3008
3190
  fontSize: 16,
3009
3191
  markdownAutoWrap: !0,
3010
3192
  suppressErrorRendering: !1
3011
- }, Rt = {
3012
- ...q,
3193
+ }, Ft = {
3194
+ ...G,
3013
3195
  deterministicIDSeed: void 0,
3014
3196
  elk: {
3015
3197
  mergeEdges: !1,
3016
3198
  nodePlacementStrategy: "BRANDES_KOEPF",
3199
+ nodePlacementAlignment: "NONE",
3017
3200
  forceNodeModelOrder: !1,
3018
- considerModelOrder: "NODES_AND_EDGES"
3201
+ considerModelOrder: "NODES_AND_EDGES",
3202
+ keepEntryNodeOnTop: !1
3019
3203
  },
3020
3204
  themeCSS: void 0,
3021
- themeVariables: K.default.getThemeVariables(),
3205
+ themeVariables: W.default.getThemeVariables(),
3022
3206
  sequence: {
3023
- ...q.sequence,
3207
+ ...G.sequence,
3024
3208
  messageFont: /* @__PURE__ */ n(function() {
3025
3209
  return {
3026
3210
  fontFamily: this.messageFontFamily,
@@ -3044,16 +3228,17 @@ var O = {
3044
3228
  }, "actorFont")
3045
3229
  },
3046
3230
  class: {
3231
+ defaultRenderer: "dagre-wrapper",
3047
3232
  hideEmptyMembersBox: !1,
3048
3233
  hierarchicalNamespaces: !0
3049
3234
  },
3050
3235
  gantt: {
3051
- ...q.gantt,
3236
+ ...G.gantt,
3052
3237
  tickInterval: void 0,
3053
3238
  useWidth: void 0
3054
3239
  },
3055
3240
  c4: {
3056
- ...q.c4,
3241
+ ...G.c4,
3057
3242
  useWidth: void 0,
3058
3243
  personFont: /* @__PURE__ */ n(function() {
3059
3244
  return {
@@ -3063,7 +3248,7 @@ var O = {
3063
3248
  };
3064
3249
  }, "personFont"),
3065
3250
  flowchart: {
3066
- ...q.flowchart,
3251
+ ...G.flowchart,
3067
3252
  inheritDir: !1
3068
3253
  },
3069
3254
  external_personFont: /* @__PURE__ */ n(function() {
@@ -3215,27 +3400,46 @@ var O = {
3215
3400
  }, "messageFont")
3216
3401
  },
3217
3402
  pie: {
3218
- ...q.pie,
3403
+ ...G.pie,
3219
3404
  useWidth: 984
3220
3405
  },
3221
3406
  xyChart: {
3222
- ...q.xyChart,
3407
+ ...G.xyChart,
3223
3408
  useWidth: void 0
3224
3409
  },
3225
3410
  requirement: {
3226
- ...q.requirement,
3411
+ ...G.requirement,
3227
3412
  useWidth: void 0
3228
3413
  },
3229
- packet: { ...q.packet },
3230
- eventmodeling: { ...q.eventmodeling },
3414
+ packet: { ...G.packet },
3415
+ eventmodeling: { ...G.eventmodeling },
3231
3416
  treeView: {
3232
- ...q.treeView,
3417
+ ...G.treeView,
3233
3418
  useWidth: void 0
3234
3419
  },
3235
- radar: { ...q.radar },
3236
- ishikawa: { ...q.ishikawa },
3420
+ radar: { ...G.radar },
3421
+ railroad: {
3422
+ ...G.railroad,
3423
+ fontSize: void 0,
3424
+ fontFamily: void 0,
3425
+ terminalFill: void 0,
3426
+ terminalStroke: void 0,
3427
+ terminalTextColor: void 0,
3428
+ nonTerminalFill: void 0,
3429
+ nonTerminalStroke: void 0,
3430
+ nonTerminalTextColor: void 0,
3431
+ lineColor: void 0,
3432
+ markerFill: void 0,
3433
+ commentFill: void 0,
3434
+ commentStroke: void 0,
3435
+ commentTextColor: void 0,
3436
+ specialFill: void 0,
3437
+ specialStroke: void 0,
3438
+ ruleNameColor: void 0
3439
+ },
3440
+ ishikawa: { ...G.ishikawa },
3237
3441
  sankey: {
3238
- ...q.sankey,
3442
+ ...G.sankey,
3239
3443
  nodeColors: void 0
3240
3444
  },
3241
3445
  treemap: {
@@ -3250,34 +3454,42 @@ var O = {
3250
3454
  labelFontSize: 14,
3251
3455
  valueFormat: ","
3252
3456
  },
3253
- venn: { ...q.venn }
3254
- }, zt = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
3457
+ venn: { ...G.venn },
3458
+ cynefin: { ...G.cynefin }
3459
+ }, It = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
3255
3460
  ...n,
3256
3461
  t + r,
3257
- ...zt(e[r], "")
3258
- ] : [...n, t + r], []), "keyify"), Bt = new Set(zt(Rt, "")), Vt = Rt, Ht = /* @__PURE__ */ n((e) => {
3462
+ ...It(e[r], "")
3463
+ ] : [...n, t + r], []), "keyify"), Lt = new Set(It(Ft, "")), Rt = Ft, zt = {
3464
+ nodeColors: /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,
3465
+ filenameIcons: /^[\w-]+(?::[\w-]+)?$/,
3466
+ extensionIcons: /^[\w-]+(?::[\w-]+)?$/
3467
+ }, Bt = /* @__PURE__ */ n((e, n) => {
3468
+ for (let r of Object.keys(e)) {
3469
+ let i = e[r];
3470
+ (r.startsWith("__") || r.includes("proto") || r.includes("constr") || typeof i != "string" || !n.test(i)) && (t.debug("sanitize deleting dictionary entry:", r, i), delete e[r]);
3471
+ }
3472
+ }, "sanitizeDictionaryConfig"), Vt = /* @__PURE__ */ n((e) => {
3259
3473
  if (t.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
3260
3474
  if (Array.isArray(e)) {
3261
- e.forEach((e) => Ht(e));
3475
+ e.forEach((e) => Vt(e));
3262
3476
  return;
3263
3477
  }
3264
3478
  for (let n of Object.keys(e)) {
3265
- if (t.debug("Checking key", n), n.startsWith("__") || n.includes("proto") || n.includes("constr") || !Bt.has(n) || e[n] == null) {
3479
+ if (t.debug("Checking key", n), n.startsWith("__") || n.includes("proto") || n.includes("constr") || !Lt.has(n) || e[n] == null) {
3266
3480
  t.debug("sanitize deleting key: ", n), delete e[n];
3267
3481
  continue;
3268
3482
  }
3269
3483
  if (typeof e[n] == "object") {
3270
- if (n === "nodeColors") {
3271
- let r = /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i;
3272
- for (let i of Object.keys(e[n])) (typeof e[n][i] != "string" || !r.test(e[n][i])) && (t.debug("sanitize deleting invalid color:", i, e[n][i]), delete e[n][i]);
3273
- } else t.debug("sanitizing object", n), Ht(e[n]);
3484
+ let r = zt[n];
3485
+ r ? Bt(e[n], r) : (t.debug("sanitizing object", n), Vt(e[n]));
3274
3486
  continue;
3275
3487
  }
3276
3488
  for (let r of [
3277
3489
  "themeCSS",
3278
3490
  "fontFamily",
3279
3491
  "altFontFamily"
3280
- ]) n.includes(r) && (t.debug("sanitizing css option", n), e[n] = Ut(e[n]));
3492
+ ]) n.includes(r) && (t.debug("sanitizing css option", n), e[n] = Ht(e[n]));
3281
3493
  }
3282
3494
  if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
3283
3495
  let n = e.themeVariables[t];
@@ -3285,61 +3497,79 @@ var O = {
3285
3497
  }
3286
3498
  t.debug("After sanitization", e);
3287
3499
  }
3288
- }, "sanitizeDirective"), Ut = /* @__PURE__ */ n((e) => {
3500
+ }, "sanitizeDirective"), Ht = /* @__PURE__ */ n((e) => {
3289
3501
  let t = 0, n = 0;
3290
3502
  for (let r of e) {
3291
3503
  if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
3292
3504
  r === "{" ? t++ : r === "}" && n++;
3293
3505
  }
3294
3506
  return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
3295
- }, "sanitizeCss"), Wt = Object.freeze(Vt), Gt = /* @__PURE__ */ n((e) => !(e === !1 || [
3507
+ }, "sanitizeCss"), K = Object.freeze(Rt), q = /* @__PURE__ */ n((e) => !(e === !1 || [
3296
3508
  "false",
3297
3509
  "null",
3298
3510
  "0"
3299
- ].includes(String(e).trim().toLowerCase())), "evaluate"), J = B({}, Wt), Y, X = [], Kt = B({}, Wt), qt = /* @__PURE__ */ n((e, t) => {
3300
- let n = B({}, e), r = {};
3301
- for (let e of t) en(e), r = B(r, e);
3302
- if (n = B(n, r), r.theme && r.theme in K) {
3303
- let e = B(B({}, Y).themeVariables || {}, r.themeVariables);
3304
- n.theme && n.theme in K && (n.themeVariables = K[n.theme].getThemeVariables(e));
3305
- }
3306
- return Kt = n, sn(Kt), Kt;
3307
- }, "updateCurrentConfig"), Jt = /* @__PURE__ */ n((e) => (J = B({}, Wt), J = B(J, e), e.theme && K[e.theme] && (J.themeVariables = K[e.theme].getThemeVariables(e.themeVariables)), qt(J, X), J), "setSiteConfig"), Yt = /* @__PURE__ */ n((e) => {
3308
- Y = B({}, e);
3309
- }, "saveConfigFromInitialize"), Xt = /* @__PURE__ */ n((e) => (J = B(J, e), qt(J, X), J), "updateSiteConfig"), Zt = /* @__PURE__ */ n(() => B({}, J), "getSiteConfig"), Qt = /* @__PURE__ */ n((e) => (sn(e), B(Kt, e), $t()), "setConfig"), $t = /* @__PURE__ */ n(() => B({}, Kt), "getConfig"), en = /* @__PURE__ */ n((e) => {
3511
+ ].includes(String(e).trim().toLowerCase())), "evaluate"), J = z({}, K), Ut, Wt = [], Gt = z({}, K), Kt = /* @__PURE__ */ n((e, t) => {
3512
+ let n = z({}, e), r = {};
3513
+ for (let e of t) Qt(e), r = z(r, e);
3514
+ if (n = z(n, r), r.theme && r.theme in W) {
3515
+ let e = z(z({}, Ut).themeVariables || {}, r.themeVariables);
3516
+ n.theme && n.theme in W && (n.themeVariables = W[n.theme].getThemeVariables(e));
3517
+ }
3518
+ return Gt = n, an(Gt), Gt;
3519
+ }, "updateCurrentConfig"), qt = /* @__PURE__ */ n((e) => (J = z({}, K), J = z(J, e), e.theme && W[e.theme] && (J.themeVariables = W[e.theme].getThemeVariables(e.themeVariables)), Kt(J, Wt), J), "setSiteConfig"), Jt = /* @__PURE__ */ n((e) => {
3520
+ Ut = z({}, e);
3521
+ }, "saveConfigFromInitialize"), Yt = /* @__PURE__ */ n((e) => (J = z(J, e), Kt(J, Wt), J), "updateSiteConfig"), Xt = /* @__PURE__ */ n(() => z({}, J), "getSiteConfig"), Zt = /* @__PURE__ */ n((e) => (Kt(Gt, [e]), Y()), "setConfig"), Y = /* @__PURE__ */ n(() => z({}, Gt), "getConfig"), Qt = /* @__PURE__ */ n((e) => {
3310
3522
  e && (["secure", ...J.secure ?? []].forEach((n) => {
3311
3523
  Object.hasOwn(e, n) && (t.debug(`Denied attempt to modify a secure key ${n}`, e[n]), delete e[n]);
3312
3524
  }), Object.keys(e).forEach((t) => {
3313
3525
  t.startsWith("__") && delete e[t];
3314
3526
  }), Object.keys(e).forEach((t) => {
3315
- typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && en(e[t]);
3527
+ typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Qt(e[t]);
3316
3528
  }));
3317
- }, "sanitize"), tn = /* @__PURE__ */ n((e) => {
3318
- Ht(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
3529
+ }, "sanitize"), $t = /* @__PURE__ */ n((e) => {
3530
+ Vt(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
3319
3531
  ...e.themeVariables,
3320
3532
  fontFamily: e.fontFamily
3321
- }), X.push(e), qt(J, X);
3322
- }, "addDirective"), nn = /* @__PURE__ */ n((e = J) => {
3323
- X = [], qt(e, X);
3324
- }, "reset"), rn = {
3533
+ }), Wt.push(e), Kt(J, Wt);
3534
+ }, "addDirective"), en = /* @__PURE__ */ n((e = J) => {
3535
+ Wt = [], Kt(e, Wt);
3536
+ }, "reset"), tn = {
3325
3537
  LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
3326
3538
  FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
3327
- }, an = {}, on = /* @__PURE__ */ n((e) => {
3328
- an[e] || (t.warn(rn[e]), an[e] = !0);
3329
- }, "issueWarning"), sn = /* @__PURE__ */ n((e) => {
3330
- e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && on("LAZY_LOAD_DEPRECATED");
3331
- }, "checkConfig"), cn = /* @__PURE__ */ n(() => {
3539
+ }, nn = {}, rn = /* @__PURE__ */ n((e) => {
3540
+ nn[e] || (t.warn(tn[e]), nn[e] = !0);
3541
+ }, "issueWarning"), an = /* @__PURE__ */ n((e) => {
3542
+ e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && rn("LAZY_LOAD_DEPRECATED");
3543
+ }, "checkConfig"), on = /* @__PURE__ */ n(() => {
3332
3544
  let e = {};
3333
- Y && (e = B(e, Y));
3334
- for (let t of X) e = B(e, t);
3545
+ Ut && (e = z(e, Ut));
3546
+ for (let t of Wt) e = z(e, t);
3335
3547
  return e;
3336
- }, "getUserDefinedConfig"), ln = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && on("FLOWCHART_HTML_LABELS_DEPRECATED"), Gt(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), Z = /<br\s*\/?>/gi, un = /* @__PURE__ */ n((e) => e ? vn(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), dn = /* @__PURE__ */ (() => {
3548
+ }, "getUserDefinedConfig"), sn = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && rn("FLOWCHART_HTML_LABELS_DEPRECATED"), q(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), cn = /^([^\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, ln = /\s*%%.*\n/gm, un = class extends Error {
3549
+ static {
3550
+ n(this, "UnknownDiagramError");
3551
+ }
3552
+ constructor(e) {
3553
+ super(e), this.name = "UnknownDiagramError";
3554
+ }
3555
+ }, Z = {}, dn = /* @__PURE__ */ n(function(e, t) {
3556
+ e = e.replace(cn, "").replace(X, "").replace(ln, "\n");
3557
+ for (let [n, { detector: r }] of Object.entries(Z)) if (r(e, t)) return n;
3558
+ throw new un(`No diagram type detected matching given configuration for text: ${e}`);
3559
+ }, "detectType"), fn = /* @__PURE__ */ n((...e) => {
3560
+ for (let { id: t, detector: n, loader: r } of e) pn(t, n, r);
3561
+ }, "registerLazyLoadedDiagrams"), pn = /* @__PURE__ */ n((e, n, r) => {
3562
+ Z[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), Z[e] = {
3563
+ detector: n,
3564
+ loader: r
3565
+ }, t.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
3566
+ }, "addDetector"), mn = /* @__PURE__ */ n((e) => Z[e].loader, "getDiagramLoader"), hn = /<br\s*\/?>/gi, gn = /* @__PURE__ */ n((e) => e ? wn(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), _n = /* @__PURE__ */ (() => {
3337
3567
  let e = !1;
3338
3568
  return () => {
3339
- e ||= (fn(), !0);
3569
+ e ||= (vn(), !0);
3340
3570
  };
3341
3571
  })();
3342
- function fn() {
3572
+ function vn() {
3343
3573
  let e = "data-temp-href-target";
3344
3574
  T.addHook("beforeSanitizeAttributes", (t) => {
3345
3575
  t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
@@ -3347,100 +3577,100 @@ function fn() {
3347
3577
  t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
3348
3578
  });
3349
3579
  }
3350
- n(fn, "setupDompurifyHooks");
3351
- var Q = /* @__PURE__ */ n((e) => (dn(), T.sanitize(e)), "removeScript"), pn = /* @__PURE__ */ n((e, t) => {
3352
- if (ln(t)) {
3580
+ n(vn, "setupDompurifyHooks");
3581
+ var yn = /* @__PURE__ */ n((e) => (_n(), T.sanitize(e)), "removeScript"), bn = /* @__PURE__ */ n((e, t) => {
3582
+ if (sn(t)) {
3353
3583
  let n = t.securityLevel;
3354
- n === "antiscript" || n === "strict" || n === "sandbox" ? e = Q(e) : n !== "loose" && (e = vn(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = _n(e));
3584
+ n === "antiscript" || n === "strict" || n === "sandbox" ? e = yn(e) : n !== "loose" && (e = wn(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = Cn(e));
3355
3585
  }
3356
3586
  return e;
3357
- }, "sanitizeMore"), $ = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? T.sanitize(pn(e, t), t.dompurifyConfig).toString() : T.sanitize(pn(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), mn = /* @__PURE__ */ n((e, t) => typeof e == "string" ? $(e, t) : e.flat().map((e) => $(e, t)), "sanitizeTextOrArray"), hn = /* @__PURE__ */ n((e) => Z.test(e), "hasBreaks"), gn = /* @__PURE__ */ n((e) => e.split(Z), "splitBreaks"), _n = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), vn = /* @__PURE__ */ n((e) => e.replace(Z, "#br#"), "breakToPlaceholder"), yn = /* @__PURE__ */ n((e) => {
3587
+ }, "sanitizeMore"), Q = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? T.sanitize(bn(e, t), t.dompurifyConfig).toString() : T.sanitize(bn(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), $ = /* @__PURE__ */ n((e, t) => typeof e == "string" ? Q(e, t) : e.flat().map((e) => Q(e, t)), "sanitizeTextOrArray"), xn = /* @__PURE__ */ n((e) => hn.test(e), "hasBreaks"), Sn = /* @__PURE__ */ n((e) => e.split(hn), "splitBreaks"), Cn = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), wn = /* @__PURE__ */ n((e) => e.replace(hn, "#br#"), "breakToPlaceholder"), Tn = /* @__PURE__ */ n((e) => {
3358
3588
  let t = "";
3359
3589
  return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
3360
- }, "getUrl"), bn = /* @__PURE__ */ n(function(...e) {
3590
+ }, "getUrl"), En = /* @__PURE__ */ n(function(...e) {
3361
3591
  let t = e.filter((e) => !isNaN(e));
3362
3592
  return Math.max(...t);
3363
- }, "getMax"), xn = /* @__PURE__ */ n(function(...e) {
3593
+ }, "getMax"), Dn = /* @__PURE__ */ n(function(...e) {
3364
3594
  let t = e.filter((e) => !isNaN(e));
3365
3595
  return Math.min(...t);
3366
- }, "getMin"), Sn = /* @__PURE__ */ n(function(e) {
3596
+ }, "getMin"), On = /* @__PURE__ */ n(function(e) {
3367
3597
  let t = e.split(/(,)/), n = [];
3368
3598
  for (let e = 0; e < t.length; e++) {
3369
3599
  let r = t[e];
3370
3600
  if (r === "," && e > 0 && e + 1 < t.length) {
3371
3601
  let i = t[e - 1], a = t[e + 1];
3372
- wn(i, a) && (r = i + "," + a, e++, n.pop());
3602
+ An(i, a) && (r = i + "," + a, e++, n.pop());
3373
3603
  }
3374
- n.push(Tn(r));
3604
+ n.push(jn(r));
3375
3605
  }
3376
3606
  return n.join("");
3377
- }, "parseGenericTypes"), Cn = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), wn = /* @__PURE__ */ n((e, t) => {
3378
- let n = Cn(e, "~"), r = Cn(t, "~");
3607
+ }, "parseGenericTypes"), kn = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), An = /* @__PURE__ */ n((e, t) => {
3608
+ let n = kn(e, "~"), r = kn(t, "~");
3379
3609
  return n === 1 && r === 1;
3380
- }, "shouldCombineSets"), Tn = /* @__PURE__ */ n((e) => {
3381
- let t = Cn(e, "~"), n = !1;
3610
+ }, "shouldCombineSets"), jn = /* @__PURE__ */ n((e) => {
3611
+ let t = kn(e, "~"), n = !1;
3382
3612
  if (t <= 1) return e;
3383
3613
  t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
3384
3614
  let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
3385
3615
  for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
3386
3616
  return n && r.unshift("~"), r.join("");
3387
- }, "processSet"), En = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), Dn = /\$\$(.*)\$\$/g, On = /* @__PURE__ */ n((e) => (e.match(Dn)?.length ?? 0) > 0, "hasKatex"), kn = /* @__PURE__ */ n(async (e, t) => {
3617
+ }, "processSet"), Mn = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), Nn = /\$\$(.*?)\$\$/g, Pn = /* @__PURE__ */ n((e) => (e.match(Nn)?.length ?? 0) > 0, "hasKatex"), Fn = /* @__PURE__ */ n(async (e, t) => {
3388
3618
  let n = document.createElement("div");
3389
- n.innerHTML = await jn(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
3619
+ n.innerHTML = await Ln(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
3390
3620
  let r = {
3391
3621
  width: n.clientWidth,
3392
3622
  height: n.clientHeight
3393
3623
  };
3394
3624
  return n.remove(), r;
3395
- }, "calculateMathMLDimensions"), An = /* @__PURE__ */ n(async (e, t) => {
3396
- if (!On(e)) return e;
3397
- if (!(En() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Dn, "MathML is unsupported in this environment.");
3625
+ }, "calculateMathMLDimensions"), In = /* @__PURE__ */ n(async (e, t) => {
3626
+ if (!Pn(e)) return e;
3627
+ if (!(Mn() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Nn, "MathML is unsupported in this environment.");
3398
3628
  {
3399
- let { default: n } = await import("./katex-D-2KeLwt.js"), r = t.forceLegacyMathML || !En() && t.legacyMathML ? "htmlAndMathml" : "mathml";
3400
- return e.split(Z).map((e) => On(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Dn, (e, t) => n.renderToString(t, {
3629
+ let { default: n } = await import("./katex-Dyoqg6Cv.js"), r = t.forceLegacyMathML || !Mn() && t.legacyMathML ? "htmlAndMathml" : "mathml";
3630
+ return e.split(hn).map((e) => Pn(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Nn, (e, t) => n.renderToString(t, {
3401
3631
  throwOnError: !0,
3402
3632
  displayMode: !0,
3403
3633
  output: r
3404
3634
  }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
3405
3635
  }
3406
- return e.replace(Dn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
3407
- }, "renderKatexUnsanitized"), jn = /* @__PURE__ */ n(async (e, t) => $(await An(e, t), t), "renderKatexSanitized"), Mn = {
3408
- getRows: un,
3409
- sanitizeText: $,
3410
- sanitizeTextOrArray: mn,
3411
- hasBreaks: hn,
3412
- splitBreaks: gn,
3413
- lineBreakRegex: Z,
3414
- removeScript: Q,
3415
- getUrl: yn,
3416
- evaluate: Gt,
3417
- getMax: bn,
3418
- getMin: xn
3419
- }, Nn = /* @__PURE__ */ n(function(e, t) {
3636
+ return e.replace(Nn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
3637
+ }, "renderKatexUnsanitized"), Ln = /* @__PURE__ */ n(async (e, t) => Q(await In(e, t), t), "renderKatexSanitized"), Rn = {
3638
+ getRows: gn,
3639
+ sanitizeText: Q,
3640
+ sanitizeTextOrArray: $,
3641
+ hasBreaks: xn,
3642
+ splitBreaks: Sn,
3643
+ lineBreakRegex: hn,
3644
+ removeScript: yn,
3645
+ getUrl: Tn,
3646
+ evaluate: q,
3647
+ getMax: En,
3648
+ getMin: Dn
3649
+ }, zn = /* @__PURE__ */ n(function(e, t) {
3420
3650
  for (let n of t) e.attr(n[0], n[1]);
3421
- }, "d3Attrs"), Pn = /* @__PURE__ */ n(function(e, t, n) {
3651
+ }, "d3Attrs"), Bn = /* @__PURE__ */ n(function(e, t, n) {
3422
3652
  let r = /* @__PURE__ */ new Map();
3423
3653
  return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
3424
- }, "calculateSvgSizeAttrs"), Fn = /* @__PURE__ */ n(function(e, t, n, r) {
3425
- Nn(e, Pn(t, n, r));
3426
- }, "configureSvgSize"), In = /* @__PURE__ */ n(function(e, n, r, i) {
3654
+ }, "calculateSvgSizeAttrs"), Vn = /* @__PURE__ */ n(function(e, t, n, r) {
3655
+ zn(e, Bn(t, n, r));
3656
+ }, "configureSvgSize"), Hn = /* @__PURE__ */ n(function(e, n, r, i) {
3427
3657
  let a = n.node().getBBox(), o = a.width, s = a.height;
3428
3658
  t.info(`SVG bounds: ${o}x${s}`, a);
3429
3659
  let c = 0, l = 0;
3430
- t.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, t.info(`Calculated bounds: ${c}x${l}`), Fn(n, l, c, i);
3660
+ t.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, t.info(`Calculated bounds: ${c}x${l}`), Vn(n, l, c, i);
3431
3661
  let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
3432
3662
  n.attr("viewBox", u);
3433
- }, "setupGraphViewbox"), Ln = {};
3434
- function Rn(e) {
3663
+ }, "setupGraphViewbox"), Un = {};
3664
+ function Wn(e) {
3435
3665
  return [...e.cssRules].map((e) => e.cssText).join("\n");
3436
3666
  }
3437
- n(Rn, "cssStyleSheetToString");
3438
- var zn = /* @__PURE__ */ n((e, n, r, i) => {
3667
+ n(Wn, "cssStyleSheetToString");
3668
+ var Gn = /* @__PURE__ */ n((e, n, r, i) => {
3439
3669
  let a = "";
3440
- return e in Ln && Ln[e] ? a = Ln[e]({
3670
+ return e in Un && Un[e] ? a = Un[e]({
3441
3671
  ...r,
3442
3672
  svgId: i
3443
- }) : t.warn(`No theme found for ${e}`), ` & {
3673
+ }) : t.warn(`No theme found for ${e}`), `& {
3444
3674
  font-family: ${r.fontFamily};
3445
3675
  font-size: ${r.fontSize};
3446
3676
  fill: ${r.textColor}
@@ -3522,6 +3752,9 @@ var zn = /* @__PURE__ */ n((e, n, r, i) => {
3522
3752
  stroke: ${r.useGradient ? "url(" + i + "-gradient)" : r.nodeBorder};
3523
3753
  filter: ${r.dropShadow ? r.dropShadow.replace("url(#drop-shadow)", `url(${i}-drop-shadow)`) : "none"};
3524
3754
  }
3755
+ [data-look="neo"].swimlane.cluster rect {
3756
+ filter: none;
3757
+ }
3525
3758
 
3526
3759
 
3527
3760
  [data-look="neo"].node path {
@@ -3559,32 +3792,32 @@ var zn = /* @__PURE__ */ n((e, n, r, i) => {
3559
3792
 
3560
3793
  ${n}
3561
3794
  `;
3562
- }, "getStyles"), Bn = /* @__PURE__ */ n((e, t) => {
3563
- t !== void 0 && (Ln[e] = t);
3564
- }, "addStylesForDiagram"), Vn = zn, Hn = {};
3565
- r(Hn, {
3566
- clear: () => qn,
3567
- getAccDescription: () => Zn,
3568
- getAccTitle: () => Yn,
3569
- getDiagramTitle: () => $n,
3570
- setAccDescription: () => Xn,
3571
- setAccTitle: () => Jn,
3572
- setDiagramTitle: () => Qn
3795
+ }, "getStyles"), Kn = /* @__PURE__ */ n((e, t) => {
3796
+ t !== void 0 && (Un[e] = t);
3797
+ }, "addStylesForDiagram"), qn = Gn, Jn = {};
3798
+ r(Jn, {
3799
+ clear: () => $n,
3800
+ getAccDescription: () => rr,
3801
+ getAccTitle: () => tr,
3802
+ getDiagramTitle: () => ar,
3803
+ setAccDescription: () => nr,
3804
+ setAccTitle: () => er,
3805
+ setDiagramTitle: () => ir
3573
3806
  });
3574
- var Un = "", Wn = "", Gn = "", Kn = /* @__PURE__ */ n((e) => $(e, $t()), "sanitizeText"), qn = /* @__PURE__ */ n(() => {
3575
- Un = "", Gn = "", Wn = "";
3576
- }, "clear"), Jn = /* @__PURE__ */ n((e) => {
3577
- Un = Kn(e).replace(/^\s+/g, "");
3578
- }, "setAccTitle"), Yn = /* @__PURE__ */ n(() => Un, "getAccTitle"), Xn = /* @__PURE__ */ n((e) => {
3579
- Gn = Kn(e).replace(/\n\s+/g, "\n");
3580
- }, "setAccDescription"), Zn = /* @__PURE__ */ n(() => Gn, "getAccDescription"), Qn = /* @__PURE__ */ n((e) => {
3581
- Wn = Kn(e);
3582
- }, "setDiagramTitle"), $n = /* @__PURE__ */ n(() => Wn, "getDiagramTitle"), er = t, tr = e, nr = $t, rr = Qt, ir = Wt, ar = /* @__PURE__ */ n((e) => $(e, nr()), "sanitizeText"), or = In, sr = /* @__PURE__ */ n(() => Hn, "getCommonDb"), cr = {}, lr = /* @__PURE__ */ n((e, t, n) => {
3583
- cr[e] && er.warn(`Diagram with id ${e} already registered. Overwriting.`), cr[e] = t, n && gt(e, n), Bn(e, t.styles), t.injectUtils?.(er, tr, nr, ar, or, sr(), () => {});
3584
- }, "registerDiagram"), ur = /* @__PURE__ */ n((e) => {
3585
- if (e in cr) return cr[e];
3586
- throw new dr(e);
3587
- }, "getDiagram"), dr = class extends Error {
3807
+ var Yn = "", Xn = "", Zn = "", Qn = /* @__PURE__ */ n((e) => Q(e, Y()), "sanitizeText"), $n = /* @__PURE__ */ n(() => {
3808
+ Yn = "", Zn = "", Xn = "";
3809
+ }, "clear"), er = /* @__PURE__ */ n((e) => {
3810
+ Yn = Qn(e).replace(/^\s+/g, "");
3811
+ }, "setAccTitle"), tr = /* @__PURE__ */ n(() => Yn, "getAccTitle"), nr = /* @__PURE__ */ n((e) => {
3812
+ Zn = Qn(e).replace(/\n\s+/g, "\n");
3813
+ }, "setAccDescription"), rr = /* @__PURE__ */ n(() => Zn, "getAccDescription"), ir = /* @__PURE__ */ n((e) => {
3814
+ Xn = Qn(e);
3815
+ }, "setDiagramTitle"), ar = /* @__PURE__ */ n(() => Xn, "getDiagramTitle"), or = t, sr = e, cr = Y, lr = Zt, ur = K, dr = /* @__PURE__ */ n((e) => Q(e, cr()), "sanitizeText"), fr = Hn, pr = /* @__PURE__ */ n(() => Jn, "getCommonDb"), mr = {}, hr = /* @__PURE__ */ n((e, t, n) => {
3816
+ mr[e] && or.warn(`Diagram with id ${e} already registered. Overwriting.`), mr[e] = t, n && pn(e, n), Kn(e, t.styles), t.injectUtils?.(or, sr, cr, dr, fr, pr(), () => {});
3817
+ }, "registerDiagram"), gr = /* @__PURE__ */ n((e) => {
3818
+ if (e in mr) return mr[e];
3819
+ throw new _r(e);
3820
+ }, "getDiagram"), _r = class extends Error {
3588
3821
  static {
3589
3822
  n(this, "DiagramNotFoundError");
3590
3823
  }
@@ -3593,4 +3826,4 @@ var Un = "", Wn = "", Gn = "", Kn = /* @__PURE__ */ n((e) => $(e, $t()), "saniti
3593
3826
  }
3594
3827
  };
3595
3828
  //#endregion
3596
- export { N as $, On as A, ar as B, _t as C, wt as D, Zt as E, jn as F, rr as G, Xn as H, nn as I, In as J, Qn as K, Ut as L, Sn as M, lr as N, yn as O, ht as P, Xt as Q, Ht as R, ur as S, ln as T, Jn as U, Yt as V, Qt as W, Vn as X, or as Y, K as Z, L as _, qn as a, E as at, $t as b, Fn as c, ir as d, M as et, Vt as f, Gt as g, ft as h, kn as i, k as it, Z as j, cn as k, Rn as l, mt as m, tn as n, j as nt, Hn as o, T as ot, z as p, Jt as q, B as r, A as rt, Mn as s, pt as t, dt as tt, Wt as u, Zn as v, $n as w, nr as x, Yn as y, $ as z };
3829
+ export { F as $, Pn as A, dr as B, mn as C, bt as D, Xt as E, Ln as F, lr as G, nr as H, en as I, Hn as J, ir as K, Ht as L, On as M, hr as N, Tn as O, fn as P, Yt as Q, Vt as R, gr as S, sn as T, er as U, Jt as V, Zt as W, qn as X, fr as Y, W as Z, cn as _, $n as a, E as at, Y as b, Vn as c, ur as d, P as et, Rt as f, q as g, X as h, Fn as i, j as it, hn as j, on as k, Wn as l, Z as m, $t as n, N as nt, Jn as o, T as ot, dn as p, qt as q, z as r, M as rt, Rn as s, un as t, pt as tt, K as u, rr as v, ar as w, cr as x, tr as y, Q as z };