@spteck/react-controls-v2 2.3.7 → 2.3.9

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 (644) hide show
  1. package/dist/LocalizationProvider-B6NxHbu2.cjs +2 -0
  2. package/dist/LocalizationProvider-te5iu_6z.js +363 -0
  3. package/dist/_arrayEach-BuSFKyFt.js +54 -0
  4. package/dist/_arrayEach-ChR-TejB.cjs +2 -0
  5. package/dist/_getTag-BRuLtYrv.js +28 -0
  6. package/dist/_getTag-D6VVyrEu.cjs +2 -0
  7. package/dist/abstractions/IApplicationContext.d.ts +0 -1
  8. package/dist/abstractions/IAuthenticationProvider.d.ts +0 -1
  9. package/dist/abstractions/ILocalizationProvider.d.ts +0 -1
  10. package/dist/abstractions/providers/ConsoleLoggingProvider.d.ts +0 -1
  11. package/dist/abstractions/providers/DefaultGraphClient.d.ts +0 -1
  12. package/dist/abstractions/providers/DefaultLocalizationProvider.d.ts +0 -1
  13. package/dist/abstractions/providers/LocalStorageProvider.d.ts +0 -1
  14. package/dist/abstractions/providers/LocalizationProvider.d.ts +0 -1
  15. package/dist/ar-Blifx2MN.js +210 -0
  16. package/dist/ar-ip3bGOX3.cjs +2 -0
  17. package/dist/arc-4yb49ncY.js +82 -0
  18. package/dist/arc-djsA8IT0.cjs +2 -0
  19. package/dist/architecture-PBZL5I3N-CvTfVLFi.js +3 -0
  20. package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +1 -0
  21. package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +37 -0
  22. package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +4047 -0
  23. package/dist/array-BNB_vRFv.cjs +2 -0
  24. package/dist/array-DP0duYiO.js +8 -0
  25. package/dist/az-CMhDjtnj.js +210 -0
  26. package/dist/az-CyVLdUDz.cjs +2 -0
  27. package/dist/bg-Bexoz3hL.cjs +2 -0
  28. package/dist/bg-C96WirSv.js +210 -0
  29. package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +3165 -0
  30. package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +133 -0
  31. package/dist/bs-MMcvhwLv.cjs +2 -0
  32. package/dist/bs-_St1wBE_.js +210 -0
  33. package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +2966 -0
  34. package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +11 -0
  35. package/dist/ca-BspMSeHN.cjs +2 -0
  36. package/dist/ca-QlLcV4wf.js +210 -0
  37. package/dist/channel-2Bqnb1FY.js +7 -0
  38. package/dist/channel-5_aP1EVB.cjs +2 -0
  39. package/dist/chunk-4BX2VUAB-B5Va_oZz.js +10 -0
  40. package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +2 -0
  41. package/dist/chunk-55IACEB6-4ind_ByS.cjs +2 -0
  42. package/dist/chunk-55IACEB6-Pcyz_aR_.js +10 -0
  43. package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +2 -0
  44. package/dist/chunk-7E7YKBS2-VHdgsed6.js +25 -0
  45. package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +81 -0
  46. package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +2598 -0
  47. package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +2 -0
  48. package/dist/chunk-C72U2L5F-MjJQTOMh.js +25 -0
  49. package/dist/chunk-D-IZpNpi.cjs +1 -0
  50. package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +2 -0
  51. package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +25 -0
  52. package/dist/{chunk-FMBD7UC4-DD0xIF4q.js → chunk-FMBD7UC4-BvqqU04Z.cjs} +3 -7
  53. package/dist/chunk-FMBD7UC4-xjRtkFXe.js +7 -0
  54. package/dist/chunk-GEFDOKGD-BNgT40Ex.js +1302 -0
  55. package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +3 -0
  56. package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +2 -0
  57. package/dist/chunk-GLR3WWYH-kyo6BUtq.js +43 -0
  58. package/dist/chunk-HHEYEP7N-DO1AYIZw.js +11 -0
  59. package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +2 -0
  60. package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +2 -0
  61. package/dist/chunk-JSJVCQXG-DowfYWcD.js +62 -0
  62. package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +2 -0
  63. package/dist/chunk-KX2RTZJC-D-bUTSNy.js +27 -0
  64. package/dist/chunk-KYZI473N-DEPuSXaW.js +3436 -0
  65. package/dist/chunk-KYZI473N-DzBMFOER.cjs +54 -0
  66. package/dist/chunk-L3YUKLVL-BDGCTzmy.js +25 -0
  67. package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +2 -0
  68. package/dist/chunk-MX3YWQON-CAsnAj2e.js +82 -0
  69. package/dist/chunk-MX3YWQON-DulrBJdn.cjs +2 -0
  70. package/dist/chunk-NBPlniwU.js +23 -0
  71. package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +221 -0
  72. package/dist/chunk-NQ4KR5QH-DFem-ORD.js +2004 -0
  73. package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +8 -0
  74. package/dist/chunk-O4XLMI2P-DA4TPzPG.js +513 -0
  75. package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +2 -0
  76. package/dist/chunk-OZEHJAEY-D7SX2SbR.js +66 -0
  77. package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +2 -0
  78. package/dist/chunk-PQ6SQG4A-ObFGkauo.js +69 -0
  79. package/dist/chunk-PU5JKC2W-BM5NPS-q.js +1887 -0
  80. package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +71 -0
  81. package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +2 -0
  82. package/dist/chunk-QZHKN3VN-x258g6EH.js +17 -0
  83. package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +2 -0
  84. package/dist/chunk-R5LLSJPH-Gt27ml2m.js +37 -0
  85. package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +190 -0
  86. package/dist/chunk-WL4C6EOR-DuM6QmqM.js +3196 -0
  87. package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +2 -0
  88. package/dist/chunk-XIRO2GV7-DXlO8X82.js +32 -0
  89. package/dist/chunk-XPW4576I-Bpsr4SZJ.js +1148 -0
  90. package/dist/chunk-XPW4576I-C68T-WIW.cjs +33 -0
  91. package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +95 -0
  92. package/dist/chunk-XZSTWKYB-jD9M1izK.js +16132 -0
  93. package/dist/chunk-YBOYWFTD-B6CeuteH.js +34 -0
  94. package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +2 -0
  95. package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +2 -0
  96. package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +31 -0
  97. package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +2 -0
  98. package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +31 -0
  99. package/dist/components/AISearchControl/useAISearchControlStyles.d.ts +0 -1
  100. package/dist/components/AspectRatio/AspectRatio.d.ts +0 -1
  101. package/dist/components/AspectRatio/IAspectRationProps.d.ts +0 -1
  102. package/dist/components/Card/ICardProps.d.ts +0 -1
  103. package/dist/components/Carousel/ICarouselProps.d.ts +0 -1
  104. package/dist/components/Carousel/useCarouselButton.d.ts +0 -1
  105. package/dist/components/Carousel/useCarouselStyles.d.ts +0 -1
  106. package/dist/components/Center/ICenterProps.d.ts +0 -1
  107. package/dist/components/ContentRenderer/IContentRendererProps.d.ts +0 -1
  108. package/dist/components/DataGridV2/DataGridV2.d.ts +2 -1
  109. package/dist/components/DataGridV2/IDataGridV2ExtraProps.d.ts +0 -1
  110. package/dist/components/Grid/IGridProps.d.ts +0 -1
  111. package/dist/components/ItemPicker/IItemPickerProps.d.ts +0 -1
  112. package/dist/components/KPIControl/IKpiCardProps.d.ts +0 -1
  113. package/dist/components/ListItemActivityMessage/IActivity.d.ts +0 -1
  114. package/dist/components/ListItemActivityMessage/IActivityMessageProps.d.ts +0 -1
  115. package/dist/components/ListItemActivityMessage/IActor.d.ts +0 -1
  116. package/dist/components/ListItemActivityMessage/useSharePointActivities.d.ts +0 -1
  117. package/dist/components/ListToolbar/FlatItem.d.ts +0 -1
  118. package/dist/components/ListToolbar/IListToolbarProps.d.ts +0 -1
  119. package/dist/components/ListToolbar/IToolbarItem.d.ts +0 -1
  120. package/dist/components/ListToolbar/IToolbarItemRendererProps.d.ts +0 -1
  121. package/dist/components/ListToolbar/helpers.d.ts +0 -1
  122. package/dist/components/MermaidDiagram/useMermaidDiagramStyles.d.ts +0 -1
  123. package/dist/components/Navigation/Navigation.d.ts +0 -1
  124. package/dist/components/Popup/Popup.d.ts +0 -1
  125. package/dist/components/Provider/UniversalProvider.d.ts +0 -1
  126. package/dist/components/Space/ISpaceProps.d.ts +0 -1
  127. package/dist/components/SplitPane/ISplitPaneProps.d.ts +0 -1
  128. package/dist/components/SplitPane/useSplitPaneStyles.d.ts +0 -1
  129. package/dist/components/Stack/IStackProps.d.ts +0 -1
  130. package/dist/components/StackedUsers/IStackedUsersProps.d.ts +0 -1
  131. package/dist/components/StackedUsers/StackedUsers.d.ts +0 -1
  132. package/dist/components/adaptiveCardHost/AdaptiveCardHost.HostConfig.d.ts +0 -1
  133. package/dist/components/adaptiveCardHost/AdaptiveCardHost.Utilities.d.ts +0 -1
  134. package/dist/components/adaptiveCardHost/AdaptiveCardHost.d.ts +0 -1
  135. package/dist/components/adaptiveCardHost/IAdaptiveCardHostProps.d.ts +0 -1
  136. package/dist/components/adaptiveCardHost/fluentUI/Elements.d.ts +0 -1
  137. package/dist/components/adaptiveCardHost/fluentUI/FluentUIChoiceSetInput.d.ts +0 -1
  138. package/dist/components/adaptiveCardHost/fluentUI/FluentUIDateInput.d.ts +0 -1
  139. package/dist/components/adaptiveCardHost/fluentUI/FluentUINumberInput.d.ts +0 -1
  140. package/dist/components/adaptiveCardHost/fluentUI/FluentUITextInput.d.ts +0 -1
  141. package/dist/components/adaptiveCardHost/fluentUI/FluentUIToggleInput.d.ts +0 -1
  142. package/dist/components/adaptiveCardHost/fluentUI/HostCapability.d.ts +0 -1
  143. package/dist/components/adaptiveCardHost/fluentUI/HostConfig.d.ts +0 -1
  144. package/dist/components/adaptiveCardHost/fluentUI/Styles.d.ts +0 -1
  145. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostConfigResult.d.ts +0 -1
  146. package/dist/components/adaptiveCardHost/models/IAdaptiveCardHostEvaluationContext.d.ts +0 -1
  147. package/dist/components/aiAssistant/ChatAction.d.ts +0 -1
  148. package/dist/components/aiAssistant/ChatInputProps.d.ts +0 -1
  149. package/dist/components/aiAssistant/ChatInputWithMensions.d.ts +0 -1
  150. package/dist/components/aiAssistant/ChatInputWithMensionsProps.d.ts +0 -1
  151. package/dist/components/aiAssistant/ChatInputWithMensionsV1.d.ts +0 -1
  152. package/dist/components/aiAssistant/ChatInputWithMensionsV2.d.ts +0 -1
  153. package/dist/components/aiAssistant/ChatState.d.ts +0 -1
  154. package/dist/components/aiAssistant/IAIAssistantProps.d.ts +0 -1
  155. package/dist/components/aiAssistant/chatReducer.d.ts +0 -1
  156. package/dist/components/aiAssistant/useChatInputStyles.d.ts +0 -1
  157. package/dist/components/aiAssistant/useChatInputWithMensionsStyles.d.ts +0 -1
  158. package/dist/components/aiAssistant/useStyles.d.ts +0 -1
  159. package/dist/components/appDashboard/AppDashboard.d.ts +0 -1
  160. package/dist/components/appDashboard/IAppDashboardProps.d.ts +0 -1
  161. package/dist/components/baseComponentProps/IBaseProps.d.ts +0 -1
  162. package/dist/components/breadcrumb/Breadcrumb.d.ts +0 -1
  163. package/dist/components/breadcrumb/IBreadcrumProps.d.ts +0 -1
  164. package/dist/components/breadcrumb/OverflowMenu.d.ts +0 -1
  165. package/dist/components/breadcrumb/useBreadcrumStyles.d.ts +0 -1
  166. package/dist/components/calendarControl/hooks/useCalendar.d.ts +0 -1
  167. package/dist/components/calendarControl/hooks/useUtils.d.ts +0 -1
  168. package/dist/components/calendarControl/models/ICalendarControlProps.d.ts +0 -1
  169. package/dist/components/calendarControl/models/IEvents.d.ts +0 -1
  170. package/dist/components/customControlBar/ICustomControlBarProps.d.ts +0 -1
  171. package/dist/components/dataGrid/DataGrid.d.ts +0 -1
  172. package/dist/components/dataGrid/IDataGridProps.d.ts +0 -1
  173. package/dist/components/dataGrid/ISortState.d.ts +0 -1
  174. package/dist/components/dataGrid/stack/IStackProps.d.ts +0 -1
  175. package/dist/components/dataGrid/stack/Stack.d.ts +0 -1
  176. package/dist/components/dataGrid/useDataGridStyles.d.ts +0 -1
  177. package/dist/components/dropDownField/IDropDownFieldProps.d.ts +0 -1
  178. package/dist/components/fluentUIProvider/FluentUIProvider.d.ts +0 -1
  179. package/dist/components/iconButton/IconButton.d.ts +0 -1
  180. package/dist/components/iconButton/IconButtonProps.d.ts +0 -1
  181. package/dist/components/mensions/IMensionsProps.d.ts +0 -1
  182. package/dist/components/mensions/Mensions.d.ts +0 -1
  183. package/dist/components/mensions/MensionsExample.d.ts +0 -1
  184. package/dist/components/renderAdaptiveCard/RenderAdaptiveCard.d.ts +0 -1
  185. package/dist/components/searchControl/useSearchControlStyles.d.ts +0 -1
  186. package/dist/components/selectView/SelectView.d.ts +0 -1
  187. package/dist/components/showError/ShowError.d.ts +0 -1
  188. package/dist/components/stackv2/IStackV2Props.d.ts +0 -1
  189. package/dist/components/stackv2/StackV2.d.ts +0 -1
  190. package/dist/components/userCard/IUserCardProps.d.ts +0 -1
  191. package/dist/components/userCard/IUserInfo.d.ts +0 -1
  192. package/dist/components/userCard/UserCard.d.ts +0 -1
  193. package/dist/components/userCard/constants.d.ts +0 -1
  194. package/dist/components/userCard/useUserProfile.d.ts +0 -1
  195. package/dist/components/videoPlayer/VideoPlayer.d.ts +0 -1
  196. package/dist/components/videoPlayer/useVideoStyles.d.ts +0 -1
  197. package/dist/components/worldMap/IWorldMapProps.d.ts +0 -1
  198. package/dist/components/worldMap/MaplibreWorldMapProps.d.ts +0 -1
  199. package/dist/components/worldMap/WorldMap.d.ts +0 -1
  200. package/dist/components/worldMap/WorldMapControl.d.ts +0 -1
  201. package/dist/components/worldMap/useCleanMapStyle.d.ts +0 -1
  202. package/dist/components/worldMap/useGeocodedCountries.d.ts +0 -1
  203. package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +2252 -0
  204. package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +2 -0
  205. package/dist/cs-FZSeHYld.cjs +2 -0
  206. package/dist/cs-MrS2bH7F.js +210 -0
  207. package/dist/cy-BX97Tgwk.js +210 -0
  208. package/dist/cy-CzQmM2lQ.cjs +2 -0
  209. package/dist/cytoscape.esm-CcJAI0wG.cjs +322 -0
  210. package/dist/cytoscape.esm-D9EjU25_.js +18102 -0
  211. package/dist/da-BnewPPrh.js +210 -0
  212. package/dist/da-CexFt-Oj.cjs +2 -0
  213. package/dist/dagre-CpEPaL3r.cjs +2 -0
  214. package/dist/dagre-Dd8wCGc6.js +1305 -0
  215. package/dist/dagre-KLK3FWXG-BpxkjvB3.js +294 -0
  216. package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +5 -0
  217. package/dist/de-B68HwuYu.cjs +2 -0
  218. package/dist/de-BSZuzGTL.js +210 -0
  219. package/dist/defaultLocale-CYOzCjwh.js +203 -0
  220. package/dist/defaultLocale-DSgylVA1.cjs +2 -0
  221. package/dist/diagram-E7M64L7V-dXqTi77U.cjs +25 -0
  222. package/dist/diagram-E7M64L7V-oX07GVAD.js +529 -0
  223. package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +44 -0
  224. package/dist/diagram-IFDJBPK2-lCNF06_S.js +215 -0
  225. package/dist/diagram-P4PSJMXO-TfwVJh4S.js +135 -0
  226. package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +25 -0
  227. package/dist/dist-CV9Ez7cn.js +52 -0
  228. package/dist/dist-DVthN7lF.cjs +2 -0
  229. package/dist/el-DQc4jSMd.cjs +2 -0
  230. package/dist/el-DrOk3N7-.js +210 -0
  231. package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +71 -0
  232. package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +1668 -0
  233. package/dist/es-CGqzubZ2.js +210 -0
  234. package/dist/es-DI8Y4Bv1.cjs +2 -0
  235. package/dist/et-DGqkocuq.js +210 -0
  236. package/dist/et-DfaryKvp.cjs +2 -0
  237. package/dist/eu-BVOSXciF.cjs +2 -0
  238. package/dist/eu-DEo7fdTW.js +210 -0
  239. package/dist/fi-C5L-OzaI.cjs +2 -0
  240. package/dist/fi-DxErwnd5.js +210 -0
  241. package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +163 -0
  242. package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +4163 -0
  243. package/dist/fr-yFvjqx8B.cjs +2 -0
  244. package/dist/fr-zrtSZX0o.js +210 -0
  245. package/dist/ga-6mVQhlWi.cjs +2 -0
  246. package/dist/ga-CbHxGc9_.js +210 -0
  247. package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +293 -0
  248. package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +3074 -0
  249. package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +3 -0
  250. package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +1 -0
  251. package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +627 -0
  252. package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +66 -0
  253. package/dist/gl--w0P3RY4.js +210 -0
  254. package/dist/gl-BJzJe1sq.cjs +2 -0
  255. package/dist/graphlib-CPo7oIsu.js +223 -0
  256. package/dist/graphlib-CmUS4Qin.cjs +2 -0
  257. package/dist/he-B3Bw3qr0.cjs +2 -0
  258. package/dist/he-DY19lzWp.js +210 -0
  259. package/dist/hi-CFSsoO_8.js +210 -0
  260. package/dist/hi-kofL-mD8.cjs +2 -0
  261. package/dist/hooks/useBrandCenterFonts.d.ts +0 -1
  262. package/dist/hooks/useGraphAPI.d.ts +0 -1
  263. package/dist/hooks/useLocalizationStrings.d.ts +0 -1
  264. package/dist/hooks/useLogging.d.ts +0 -1
  265. package/dist/hr-CDxqA9Jm.cjs +2 -0
  266. package/dist/hr-DIRJ1Z8e.js +210 -0
  267. package/dist/hu-Defen_75.cjs +2 -0
  268. package/dist/hu-DqYPRWZh.js +210 -0
  269. package/dist/id-DcwMRgmX.cjs +2 -0
  270. package/dist/id-Dgj7SUCi.js +210 -0
  271. package/dist/identity-6JlhFhuM.cjs +2 -0
  272. package/dist/identity-C1jKsMoW.js +395 -0
  273. package/dist/index.cjs +453 -2
  274. package/dist/index.js +22828 -168
  275. package/dist/info-3K5VOQVL-DfN_3mKd.js +3 -0
  276. package/dist/info-3K5VOQVL-d6J9FY0_.cjs +1 -0
  277. package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +3 -0
  278. package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +21 -0
  279. package/dist/init-BAFZAp9S.cjs +2 -0
  280. package/dist/init-m0TwgR4W.js +17 -0
  281. package/dist/isEmpty-BTp1uKIj.cjs +2 -0
  282. package/dist/isEmpty-uXVYZZYe.js +17 -0
  283. package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +719 -0
  284. package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +71 -0
  285. package/dist/it-D5nM6KCi.cjs +2 -0
  286. package/dist/it-QdChHqVN.js +210 -0
  287. package/dist/ja-BNS0BbY-.js +210 -0
  288. package/dist/ja-BtuHirv7.cjs +2 -0
  289. package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +140 -0
  290. package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +885 -0
  291. package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +90 -0
  292. package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +973 -0
  293. package/dist/katex-B-Nju2J8.js +22002 -0
  294. package/dist/katex-WY67Rp7A.cjs +266 -0
  295. package/dist/kk-BSl8IqgQ.cjs +2 -0
  296. package/dist/kk-Dhkax68h.js +210 -0
  297. package/dist/ko-eplb1GD0.cjs +2 -0
  298. package/dist/ko-heRMHZWp.js +210 -0
  299. package/dist/line-CbEBKCYr.js +36 -0
  300. package/dist/line-DqSdvtRR.cjs +2 -0
  301. package/dist/linear-DvLDpS6A.cjs +2 -0
  302. package/dist/linear-Eb79THx6.js +291 -0
  303. package/dist/localization/ILibraryStrings.d.ts +0 -1
  304. package/dist/localization/defaults/ar.d.ts +0 -1
  305. package/dist/localization/defaults/az.d.ts +0 -1
  306. package/dist/localization/defaults/bg.d.ts +0 -1
  307. package/dist/localization/defaults/bs.d.ts +0 -1
  308. package/dist/localization/defaults/ca.d.ts +0 -1
  309. package/dist/localization/defaults/cs.d.ts +0 -1
  310. package/dist/localization/defaults/cy.d.ts +0 -1
  311. package/dist/localization/defaults/da.d.ts +0 -1
  312. package/dist/localization/defaults/de.d.ts +0 -1
  313. package/dist/localization/defaults/el.d.ts +0 -1
  314. package/dist/localization/defaults/en.d.ts +0 -1
  315. package/dist/localization/defaults/es.d.ts +0 -1
  316. package/dist/localization/defaults/et.d.ts +0 -1
  317. package/dist/localization/defaults/eu.d.ts +0 -1
  318. package/dist/localization/defaults/fi.d.ts +0 -1
  319. package/dist/localization/defaults/fr.d.ts +0 -1
  320. package/dist/localization/defaults/ga.d.ts +0 -1
  321. package/dist/localization/defaults/gl.d.ts +0 -1
  322. package/dist/localization/defaults/he.d.ts +0 -1
  323. package/dist/localization/defaults/hi.d.ts +0 -1
  324. package/dist/localization/defaults/hr.d.ts +0 -1
  325. package/dist/localization/defaults/hu.d.ts +0 -1
  326. package/dist/localization/defaults/id.d.ts +0 -1
  327. package/dist/localization/defaults/it.d.ts +0 -1
  328. package/dist/localization/defaults/ja.d.ts +0 -1
  329. package/dist/localization/defaults/kk.d.ts +0 -1
  330. package/dist/localization/defaults/ko.d.ts +0 -1
  331. package/dist/localization/defaults/lt.d.ts +0 -1
  332. package/dist/localization/defaults/lv.d.ts +0 -1
  333. package/dist/localization/defaults/mk.d.ts +0 -1
  334. package/dist/localization/defaults/ms.d.ts +0 -1
  335. package/dist/localization/defaults/nb.d.ts +0 -1
  336. package/dist/localization/defaults/nl.d.ts +0 -1
  337. package/dist/localization/defaults/pl.d.ts +0 -1
  338. package/dist/localization/defaults/pt.d.ts +0 -1
  339. package/dist/localization/defaults/ro.d.ts +0 -1
  340. package/dist/localization/defaults/ru.d.ts +0 -1
  341. package/dist/localization/defaults/sk.d.ts +0 -1
  342. package/dist/localization/defaults/sl.d.ts +0 -1
  343. package/dist/localization/defaults/sr.d.ts +0 -1
  344. package/dist/localization/defaults/sv.d.ts +0 -1
  345. package/dist/localization/defaults/th.d.ts +0 -1
  346. package/dist/localization/defaults/tr.d.ts +0 -1
  347. package/dist/localization/defaults/uk.d.ts +0 -1
  348. package/dist/localization/defaults/vi.d.ts +0 -1
  349. package/dist/localization/defaults/zh.d.ts +0 -1
  350. package/dist/lt-Decqbo8S.js +210 -0
  351. package/dist/lt-DsYAWFbF.cjs +2 -0
  352. package/dist/lv-DHmTjCb8.cjs +2 -0
  353. package/dist/lv-wZASv0Lw.js +210 -0
  354. package/dist/maplibre-gl-qSrG75fp.js +33003 -0
  355. package/dist/maplibre-gl-tm_pVdmb.cjs +757 -0
  356. package/dist/math-DR9t6ixc.cjs +2 -0
  357. package/dist/math-DyURnvXC.js +12 -0
  358. package/dist/mermaid-parser.core-BdTB9qx-.js +61 -0
  359. package/dist/mermaid-parser.core-BlzF5RRD.cjs +4 -0
  360. package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +966 -0
  361. package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +69 -0
  362. package/dist/mk-BTsLGTJT.js +210 -0
  363. package/dist/mk-CCV_308U.cjs +2 -0
  364. package/dist/ms-C0cVNwky.js +210 -0
  365. package/dist/ms-CH83xVYN.cjs +2 -0
  366. package/dist/nb-DGX4q4tS.js +210 -0
  367. package/dist/nb-DZ-DlwcL.cjs +2 -0
  368. package/dist/nl-CnXZa8tZ.js +210 -0
  369. package/dist/nl-Xdf-A19i.cjs +2 -0
  370. package/dist/ordinal-BAWGEQkf.js +67 -0
  371. package/dist/ordinal-CL2X4e2C.cjs +2 -0
  372. package/dist/packet-RMMSAZCW-Bek1stRX.cjs +1 -0
  373. package/dist/packet-RMMSAZCW-DUN6t9lN.js +3 -0
  374. package/dist/path-Bt6guLtL.cjs +2 -0
  375. package/dist/path-DSzKK8fH.js +87 -0
  376. package/dist/pie-UPGHQEXC-DjqNO54R.js +3 -0
  377. package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +1 -0
  378. package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +31 -0
  379. package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +167 -0
  380. package/dist/pl-BStql1S-.cjs +2 -0
  381. package/dist/pl-DbIdTNpg.js +210 -0
  382. package/dist/providers.cjs +2 -2
  383. package/dist/providers.d.ts +1 -0
  384. package/dist/providers.js +188 -252
  385. package/dist/pt-CcKYweQk.js +210 -0
  386. package/dist/pt-Dk4jELuZ.cjs +2 -0
  387. package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +8 -0
  388. package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +1976 -0
  389. package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +1 -0
  390. package/dist/radar-KQ55EAFF-C6zhEkCz.js +3 -0
  391. package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +2203 -0
  392. package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +74 -0
  393. package/dist/ro-BvhMyTKh.cjs +2 -0
  394. package/dist/ro-C-8tiqgA.js +210 -0
  395. package/dist/rough.esm-BjJ_weyP.cjs +2 -0
  396. package/dist/rough.esm-DBHP55VQ.js +1354 -0
  397. package/dist/ru-BQosng8l.cjs +2 -0
  398. package/dist/ru-Dhnz96q2.js +210 -0
  399. package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +922 -0
  400. package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +11 -0
  401. package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +146 -0
  402. package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +4111 -0
  403. package/dist/sk-BU-Z5EsC.js +210 -0
  404. package/dist/sk-BhA7UeAk.cjs +2 -0
  405. package/dist/sl-6Mczv4jG.cjs +2 -0
  406. package/dist/sl-CcfjJFxo.js +210 -0
  407. package/dist/sr-CxObZdu0.cjs +2 -0
  408. package/dist/sr-S53unrLA.js +210 -0
  409. package/dist/src-DFxq-N5I.cjs +2 -0
  410. package/dist/src-Dm6r9c7l.js +2148 -0
  411. package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +219 -0
  412. package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +2 -0
  413. package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +29 -0
  414. package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +2 -0
  415. package/dist/sv-BfiunVuX.cjs +2 -0
  416. package/dist/sv-BiJrVfZr.js +210 -0
  417. package/dist/th-BqLGltZi.cjs +2 -0
  418. package/dist/th-vQ7LQ7nD.js +210 -0
  419. package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +832 -0
  420. package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +62 -0
  421. package/dist/tr-Brwl4o_Z.cjs +2 -0
  422. package/dist/tr-C5RrNGLz.js +210 -0
  423. package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +1 -0
  424. package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +3 -0
  425. package/dist/types/THorizontalSpacing.d.ts +0 -1
  426. package/dist/types/THorizontalSpacingBreakPoints.d.ts +0 -1
  427. package/dist/types/TPaddingBreakPoints.d.ts +0 -1
  428. package/dist/types/TPading.d.ts +0 -1
  429. package/dist/types/TVerticalSpacing.d.ts +0 -1
  430. package/dist/types/TVerticalSpacingBreakPoints.d.ts +0 -1
  431. package/dist/uk-CV49TRvS.cjs +2 -0
  432. package/dist/uk-WGCFH0fY.js +210 -0
  433. package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +1860 -0
  434. package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +35 -0
  435. package/dist/vi-JzM7bjn_.cjs +2 -0
  436. package/dist/vi-Waa7HkXq.js +210 -0
  437. package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +8 -0
  438. package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +2043 -0
  439. package/dist/zh-BmUS7Wn_.js +210 -0
  440. package/dist/zh-DEm0SGzZ.cjs +2 -0
  441. package/package.json +7 -7
  442. package/dist/LocalizationProvider-BLjmybBa.cjs +0 -2
  443. package/dist/LocalizationProvider-BSlUf0tp.js +0 -497
  444. package/dist/_arrayEach-Cje_jmPk.cjs +0 -2
  445. package/dist/_arrayEach-FofefpDi.js +0 -61
  446. package/dist/ar-C1pLt8fa.js +0 -219
  447. package/dist/ar-Jzw7PLrc.cjs +0 -2
  448. package/dist/arc-5Gjtja_I.js +0 -132
  449. package/dist/arc-DJHyDr2O.cjs +0 -2
  450. package/dist/architecture-7HQA4BMR-B3tJE43W.js +0 -6
  451. package/dist/architecture-7HQA4BMR-gT33-zCB.cjs +0 -2
  452. package/dist/architectureDiagram-VXUJARFQ-2JSYYGtM.js +0 -8680
  453. package/dist/architectureDiagram-VXUJARFQ-DXZHHpiT.cjs +0 -2
  454. package/dist/az-C0Ow5Hxa.cjs +0 -2
  455. package/dist/az-C3-F9ybX.js +0 -219
  456. package/dist/bg-YB0TmpRF.cjs +0 -2
  457. package/dist/bg-w2e_udiK.js +0 -219
  458. package/dist/blockDiagram-VD42YOAC-B6nGrskI.js +0 -3756
  459. package/dist/blockDiagram-VD42YOAC-quPSWMXj.cjs +0 -2
  460. package/dist/bs-BoW04lRb.cjs +0 -2
  461. package/dist/bs-CEe_gjEx.js +0 -219
  462. package/dist/c4Diagram-YG6GDRKO-CvSU_nSb.js +0 -2483
  463. package/dist/c4Diagram-YG6GDRKO-yrm6z9xI.cjs +0 -2
  464. package/dist/ca-Bsy2Y5pS.cjs +0 -2
  465. package/dist/ca-CKpd72XI.js +0 -219
  466. package/dist/channel-BGx_PGej.cjs +0 -2
  467. package/dist/channel-Dx_x_I-e.js +0 -8
  468. package/dist/chunk-4BX2VUAB-DE7Tf1KJ.js +0 -18
  469. package/dist/chunk-4BX2VUAB-hg2h7y7T.cjs +0 -2
  470. package/dist/chunk-55IACEB6-5VDRE5b9.js +0 -14
  471. package/dist/chunk-55IACEB6-DQzh2BFT.cjs +0 -2
  472. package/dist/chunk-B4BG7PRW-BONACuKe.cjs +0 -2
  473. package/dist/chunk-B4BG7PRW-ClXZOBBj.js +0 -1828
  474. package/dist/chunk-DI55MBZ5-CnX_pntz.cjs +0 -2
  475. package/dist/chunk-DI55MBZ5-Cw4AXuM5.js +0 -1928
  476. package/dist/chunk-FMBD7UC4-vGLXIanH.cjs +0 -2
  477. package/dist/chunk-QN33PNHL-Bi6cNSdZ.cjs +0 -2
  478. package/dist/chunk-QN33PNHL-NyikcZce.js +0 -26
  479. package/dist/chunk-QZHKN3VN-Cj-nkoY3.cjs +0 -2
  480. package/dist/chunk-QZHKN3VN-DRpbGzBX.js +0 -18
  481. package/dist/chunk-TZMSLE5B-Dbk2wKaP.cjs +0 -2
  482. package/dist/chunk-TZMSLE5B-DiEITu_i.js +0 -109
  483. package/dist/classDiagram-2ON5EDUG-CZ8qM-r0.js +0 -20
  484. package/dist/classDiagram-2ON5EDUG-GEqVHOl4.cjs +0 -2
  485. package/dist/classDiagram-v2-WZHVMYZB-CZ8qM-r0.js +0 -20
  486. package/dist/classDiagram-v2-WZHVMYZB-GEqVHOl4.cjs +0 -2
  487. package/dist/cose-bilkent-S5V4N54A-Bk5UrOC6.cjs +0 -2
  488. package/dist/cose-bilkent-S5V4N54A-D9POuI1b.js +0 -4934
  489. package/dist/cs-D-801PIR.cjs +0 -2
  490. package/dist/cs-DQvRPciB.js +0 -219
  491. package/dist/cy-BxyJCM05.js +0 -219
  492. package/dist/cy-aUPUcn-S.cjs +0 -2
  493. package/dist/cytoscape.esm-BS1owLay.js +0 -30250
  494. package/dist/cytoscape.esm-BxB3woZB.cjs +0 -10
  495. package/dist/da-B05ad5Iq.js +0 -219
  496. package/dist/da-CTiLOqut.cjs +0 -2
  497. package/dist/dagre-6UL2VRFP-BGgMwKrx.cjs +0 -2
  498. package/dist/dagre-6UL2VRFP-D1VXYHDk.js +0 -696
  499. package/dist/de-DJ5iwpd7.js +0 -219
  500. package/dist/de-Dm204UMA.cjs +0 -2
  501. package/dist/defaultLocale-7NeEK7SF.cjs +0 -2
  502. package/dist/defaultLocale-DVr69WTU.js +0 -207
  503. package/dist/diagram-PSM6KHXK-BnJ6u90U.cjs +0 -2
  504. package/dist/diagram-PSM6KHXK-MkySzwCw.js +0 -848
  505. package/dist/diagram-QEK2KX5R-7oJbO__T.js +0 -305
  506. package/dist/diagram-QEK2KX5R-CQjADuvs.cjs +0 -2
  507. package/dist/diagram-S2PKOQOG-AFF7RL6D.cjs +0 -2
  508. package/dist/diagram-S2PKOQOG-t6d3dY_R.js +0 -212
  509. package/dist/el-CBS9mHS3.js +0 -219
  510. package/dist/el-DbtZj-ph.cjs +0 -2
  511. package/dist/erDiagram-Q2GNP2WA-BY5cfs21.js +0 -1160
  512. package/dist/erDiagram-Q2GNP2WA-CsdjPSsg.cjs +0 -2
  513. package/dist/es-Bo08apQr.js +0 -219
  514. package/dist/es-Cc-4Vqf7.cjs +0 -2
  515. package/dist/et-D5pQ66eY.cjs +0 -2
  516. package/dist/et-pRL0Tmle.js +0 -219
  517. package/dist/eu-Br68gaf7.js +0 -219
  518. package/dist/eu-RZ-27koK.cjs +0 -2
  519. package/dist/fi-BCXB-k_X.js +0 -219
  520. package/dist/fi-Dqa9mgnW.cjs +0 -2
  521. package/dist/flowDiagram-NV44I4VS-BcaW6-_t.cjs +0 -2
  522. package/dist/flowDiagram-NV44I4VS-DoSHOTLX.js +0 -2339
  523. package/dist/fr-B7fhkle4.cjs +0 -2
  524. package/dist/fr-gKE1SSIF.js +0 -219
  525. package/dist/ga-4Hf7vKvr.cjs +0 -2
  526. package/dist/ga-C1SpITZy.js +0 -219
  527. package/dist/ganttDiagram-JELNMOA3-C8aHKsjy.js +0 -3652
  528. package/dist/ganttDiagram-JELNMOA3-YuzFUWYN.cjs +0 -2
  529. package/dist/gitGraph-G5XIXVHT-DN5M1zzB.cjs +0 -2
  530. package/dist/gitGraph-G5XIXVHT-kJP_icZ5.js +0 -6
  531. package/dist/gitGraphDiagram-V2S2FVAM-Bl2LJ6uK.js +0 -1215
  532. package/dist/gitGraphDiagram-V2S2FVAM-DI5S_ure.cjs +0 -2
  533. package/dist/gl-COSpsMSK.cjs +0 -2
  534. package/dist/gl-CSzCeu2L.js +0 -219
  535. package/dist/graph-C7xixGrW.cjs +0 -2
  536. package/dist/graph-DH3cnEko.js +0 -421
  537. package/dist/he-BrkfqoIm.js +0 -219
  538. package/dist/he-C7Wi6-EL.cjs +0 -2
  539. package/dist/hi-C1RGDPzn.js +0 -219
  540. package/dist/hi-ojklJj-a.cjs +0 -2
  541. package/dist/hr-CsO_h2VT.js +0 -219
  542. package/dist/hr-DkEwOCGU.cjs +0 -2
  543. package/dist/hu-CVtbM-V2.js +0 -219
  544. package/dist/hu-D8uAAzvN.cjs +0 -2
  545. package/dist/id-18yPGK2f.cjs +0 -2
  546. package/dist/id-CARSN0W8.js +0 -219
  547. package/dist/index-BMfuEpa-.cjs +0 -428
  548. package/dist/index-BiWHWaTZ.js +0 -55588
  549. package/dist/info-VBDWY6EO-0yZ4VJNq.cjs +0 -2
  550. package/dist/info-VBDWY6EO-CcLNynBA.js +0 -6
  551. package/dist/infoDiagram-HS3SLOUP-Bp0yOoLT.js +0 -32
  552. package/dist/infoDiagram-HS3SLOUP-C0Zno052.cjs +0 -2
  553. package/dist/init-DZ96s0AS.cjs +0 -2
  554. package/dist/init-ZxktEp_H.js +0 -17
  555. package/dist/it-BVq911RW.cjs +0 -2
  556. package/dist/it-ClWGK7XT.js +0 -219
  557. package/dist/ja-BgcKuKZ4.cjs +0 -2
  558. package/dist/ja-DGL12HwE.js +0 -219
  559. package/dist/journeyDiagram-XKPGCS4Q-0OiMrl1O.cjs +0 -2
  560. package/dist/journeyDiagram-XKPGCS4Q-Ci2gigtu.js +0 -1255
  561. package/dist/kanban-definition-3W4ZIXB7-DTLYV2yk.js +0 -1049
  562. package/dist/kanban-definition-3W4ZIXB7-DbJAXyvr.cjs +0 -2
  563. package/dist/katex-DPu4QpBP.cjs +0 -2
  564. package/dist/katex-Dd1-wdX2.js +0 -14523
  565. package/dist/kk-CkKXbKso.js +0 -219
  566. package/dist/kk-Dn3FBkOR.cjs +0 -2
  567. package/dist/ko-CKAbV25b.cjs +0 -2
  568. package/dist/ko-QYvDV2aw.js +0 -219
  569. package/dist/layout-D6yO7DzL.cjs +0 -2
  570. package/dist/layout-bxkZz7Cm.js +0 -1919
  571. package/dist/linear-CmvLp6xX.js +0 -341
  572. package/dist/linear-d_werDwb.cjs +0 -2
  573. package/dist/lt-BKnFyiLV.js +0 -219
  574. package/dist/lt-BnGNEsIS.cjs +0 -2
  575. package/dist/lv-Clqo0Ogm.js +0 -219
  576. package/dist/lv-D3rJQRhc.cjs +0 -2
  577. package/dist/maplibre-gl-B3PlRf6V.js +0 -23511
  578. package/dist/maplibre-gl-Cc1i9T04.cjs +0 -6
  579. package/dist/mermaid-parser.core-CNPkkUbW.cjs +0 -2
  580. package/dist/mermaid-parser.core-CnjbJ8mb.js +0 -23791
  581. package/dist/mindmap-definition-VGOIOE7T-D4S37eSG.cjs +0 -2
  582. package/dist/mindmap-definition-VGOIOE7T-z7i6md6S.js +0 -1129
  583. package/dist/mk-EhcD0RzW.js +0 -219
  584. package/dist/mk-hVxJgrE0.cjs +0 -2
  585. package/dist/ms-CJACwjo7.js +0 -219
  586. package/dist/ms-D0txYckK.cjs +0 -2
  587. package/dist/nb-BfKRl99z.cjs +0 -2
  588. package/dist/nb-NCgnP0Pu.js +0 -219
  589. package/dist/nl-EgsNCunP.js +0 -219
  590. package/dist/nl-ZXiLkBj_.cjs +0 -2
  591. package/dist/ordinal-BZdahNih.cjs +0 -2
  592. package/dist/ordinal-DSZU4PqD.js +0 -77
  593. package/dist/packet-DYOGHKS2-8TxNXRiu.js +0 -6
  594. package/dist/packet-DYOGHKS2-T2_NOyn2.cjs +0 -2
  595. package/dist/pie-VRWISCQL-CVgwt5hn.cjs +0 -2
  596. package/dist/pie-VRWISCQL-Cw5ps4Uc.js +0 -6
  597. package/dist/pieDiagram-ADFJNKIX-9tCdDAIz.cjs +0 -2
  598. package/dist/pieDiagram-ADFJNKIX-BLMaZqln.js +0 -238
  599. package/dist/pl-H28GVtiG.js +0 -219
  600. package/dist/pl-tVjdYTB9.cjs +0 -2
  601. package/dist/pt-1k62N9F3.cjs +0 -2
  602. package/dist/pt-BSPZhWKl.js +0 -211
  603. package/dist/quadrantDiagram-AYHSOK5B-B_5PU35F.cjs +0 -2
  604. package/dist/quadrantDiagram-AYHSOK5B-Njb3KunW.js +0 -1338
  605. package/dist/radar-ZZBFDIW7-B5WKe_gp.js +0 -6
  606. package/dist/radar-ZZBFDIW7-DGwkdfQQ.cjs +0 -2
  607. package/dist/requirementDiagram-UZGBJVZJ-BOgHmi8B.cjs +0 -2
  608. package/dist/requirementDiagram-UZGBJVZJ-wkSzPa52.js +0 -1164
  609. package/dist/ro-9Qt1qDDA.cjs +0 -2
  610. package/dist/ro-BpaZLre_.js +0 -219
  611. package/dist/ru-4WxRouIU.cjs +0 -2
  612. package/dist/ru-CUZzD-Tx.js +0 -219
  613. package/dist/sankeyDiagram-TZEHDZUN-p1th2H-P.js +0 -1194
  614. package/dist/sankeyDiagram-TZEHDZUN-wNi-DuI_.cjs +0 -2
  615. package/dist/sequenceDiagram-WL72ISMW-CZsA3nl_.js +0 -3882
  616. package/dist/sequenceDiagram-WL72ISMW-DHsfFVVL.cjs +0 -2
  617. package/dist/sk-CoQ6XiCY.js +0 -219
  618. package/dist/sk-uWukDQab.cjs +0 -2
  619. package/dist/sl-B6DVbKg6.cjs +0 -2
  620. package/dist/sl-CHW-ZGol.js +0 -219
  621. package/dist/sr-BOD8Tc-D.cjs +0 -2
  622. package/dist/sr-EQGjIBJE.js +0 -219
  623. package/dist/stateDiagram-FKZM4ZOC-CZDqf83I.js +0 -449
  624. package/dist/stateDiagram-FKZM4ZOC-uCSdqeo_.cjs +0 -2
  625. package/dist/stateDiagram-v2-4FDKWEC3-Ard7BOGd.js +0 -20
  626. package/dist/stateDiagram-v2-4FDKWEC3-LQ3nCDHa.cjs +0 -2
  627. package/dist/sv-B6nLuQr7.cjs +0 -2
  628. package/dist/sv-DTxWN6ED.js +0 -219
  629. package/dist/th-BVPzHvBf.js +0 -219
  630. package/dist/th-DmULV6uT.cjs +0 -2
  631. package/dist/timeline-definition-IT6M3QCI-5Kl_f6ac.cjs +0 -2
  632. package/dist/timeline-definition-IT6M3QCI-DOIExRzF.js +0 -1227
  633. package/dist/tr-BE5geTUC.cjs +0 -2
  634. package/dist/tr-BHR1QA-D.js +0 -219
  635. package/dist/treemap-GDKQZRPO-BsGYh-La.cjs +0 -2
  636. package/dist/treemap-GDKQZRPO-DQPba0Eh.js +0 -6
  637. package/dist/uk-Bc5TwelE.js +0 -219
  638. package/dist/uk-DS5ukB_-.cjs +0 -2
  639. package/dist/vi-D9FF4kkG.cjs +0 -2
  640. package/dist/vi-DC0eQZb7.js +0 -219
  641. package/dist/xychartDiagram-PRI3JC2R-DkaIeov2.cjs +0 -2
  642. package/dist/xychartDiagram-PRI3JC2R-DyqZd9yp.js +0 -1887
  643. package/dist/zh-CGcOiJ3s.cjs +0 -2
  644. package/dist/zh-GsCLn8OE.js +0 -219
@@ -0,0 +1,2598 @@
1
+ import { _ as e, g as t, h as n, m as r } from "./src-Dm6r9c7l.js";
2
+ //#region node_modules/khroma/dist/utils/channel.js
3
+ var i = {
4
+ min: {
5
+ r: 0,
6
+ g: 0,
7
+ b: 0,
8
+ s: 0,
9
+ l: 0,
10
+ a: 0
11
+ },
12
+ max: {
13
+ r: 255,
14
+ g: 255,
15
+ b: 255,
16
+ h: 360,
17
+ s: 100,
18
+ l: 100,
19
+ a: 1
20
+ },
21
+ clamp: {
22
+ r: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
23
+ g: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
24
+ b: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
25
+ h: (e) => e % 360,
26
+ s: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
27
+ l: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
28
+ a: (e) => e >= 1 ? 1 : e < 0 ? 0 : e
29
+ },
30
+ toLinear: (e) => {
31
+ let t = e / 255;
32
+ return e > .03928 ? ((t + .055) / 1.055) ** 2.4 : t / 12.92;
33
+ },
34
+ hue2rgb: (e, t, n) => (n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e),
35
+ hsl2rgb: ({ h: e, s: t, l: n }, r) => {
36
+ if (!t) return n * 2.55;
37
+ e /= 360, t /= 100, n /= 100;
38
+ let a = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - a;
39
+ switch (r) {
40
+ case "r": return i.hue2rgb(o, a, e + 1 / 3) * 255;
41
+ case "g": return i.hue2rgb(o, a, e) * 255;
42
+ case "b": return i.hue2rgb(o, a, e - 1 / 3) * 255;
43
+ }
44
+ },
45
+ rgb2hsl: ({ r: e, g: t, b: n }, r) => {
46
+ e /= 255, t /= 255, n /= 255;
47
+ let i = Math.max(e, t, n), a = Math.min(e, t, n), o = (i + a) / 2;
48
+ if (r === "l") return o * 100;
49
+ if (i === a) return 0;
50
+ let s = i - a, c = o > .5 ? s / (2 - i - a) : s / (i + a);
51
+ if (r === "s") return c * 100;
52
+ switch (i) {
53
+ case e: return ((t - n) / s + (t < n ? 6 : 0)) * 60;
54
+ case t: return ((n - e) / s + 2) * 60;
55
+ case n: return ((e - t) / s + 4) * 60;
56
+ default: return -1;
57
+ }
58
+ }
59
+ }, a = {
60
+ channel: i,
61
+ lang: {
62
+ clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
63
+ round: (e) => Math.round(e * 1e10) / 1e10
64
+ },
65
+ unit: { dec2hex: (e) => {
66
+ let t = Math.round(e).toString(16);
67
+ return t.length > 1 ? t : `0${t}`;
68
+ } }
69
+ }, o = {};
70
+ for (let e = 0; e <= 255; e++) o[e] = a.unit.dec2hex(e);
71
+ var s = {
72
+ ALL: 0,
73
+ RGB: 1,
74
+ HSL: 2
75
+ }, c = class {
76
+ constructor() {
77
+ this.type = s.ALL;
78
+ }
79
+ get() {
80
+ return this.type;
81
+ }
82
+ set(e) {
83
+ if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
84
+ this.type = e;
85
+ }
86
+ reset() {
87
+ this.type = s.ALL;
88
+ }
89
+ is(e) {
90
+ return this.type === e;
91
+ }
92
+ }, l = new class {
93
+ constructor(e, t) {
94
+ this.color = t, this.changed = !1, this.data = e, this.type = new c();
95
+ }
96
+ set(e, t) {
97
+ return this.color = t, this.changed = !1, this.data = e, this.type.type = s.ALL, this;
98
+ }
99
+ _ensureHSL() {
100
+ let e = this.data, { h: t, s: n, l: r } = e;
101
+ t === void 0 && (e.h = a.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = a.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = a.channel.rgb2hsl(e, "l"));
102
+ }
103
+ _ensureRGB() {
104
+ let e = this.data, { r: t, g: n, b: r } = e;
105
+ t === void 0 && (e.r = a.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = a.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = a.channel.hsl2rgb(e, "b"));
106
+ }
107
+ get r() {
108
+ let e = this.data, t = e.r;
109
+ return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "r"));
110
+ }
111
+ get g() {
112
+ let e = this.data, t = e.g;
113
+ return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "g"));
114
+ }
115
+ get b() {
116
+ let e = this.data, t = e.b;
117
+ return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "b"));
118
+ }
119
+ get h() {
120
+ let e = this.data, t = e.h;
121
+ return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "h"));
122
+ }
123
+ get s() {
124
+ let e = this.data, t = e.s;
125
+ return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "s"));
126
+ }
127
+ get l() {
128
+ let e = this.data, t = e.l;
129
+ return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "l"));
130
+ }
131
+ get a() {
132
+ return this.data.a;
133
+ }
134
+ set r(e) {
135
+ this.type.set(s.RGB), this.changed = !0, this.data.r = e;
136
+ }
137
+ set g(e) {
138
+ this.type.set(s.RGB), this.changed = !0, this.data.g = e;
139
+ }
140
+ set b(e) {
141
+ this.type.set(s.RGB), this.changed = !0, this.data.b = e;
142
+ }
143
+ set h(e) {
144
+ this.type.set(s.HSL), this.changed = !0, this.data.h = e;
145
+ }
146
+ set s(e) {
147
+ this.type.set(s.HSL), this.changed = !0, this.data.s = e;
148
+ }
149
+ set l(e) {
150
+ this.type.set(s.HSL), this.changed = !0, this.data.l = e;
151
+ }
152
+ set a(e) {
153
+ this.changed = !0, this.data.a = e;
154
+ }
155
+ }({
156
+ r: 0,
157
+ g: 0,
158
+ b: 0,
159
+ a: 0
160
+ }, "transparent"), u = {
161
+ re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
162
+ parse: (e) => {
163
+ if (e.charCodeAt(0) !== 35) return;
164
+ let t = e.match(u.re);
165
+ if (!t) return;
166
+ let n = t[1], r = parseInt(n, 16), i = n.length, a = i % 4 == 0, o = i > 4, s = o ? 1 : 17, c = o ? 8 : 4, d = a ? 0 : -1, f = o ? 255 : 15;
167
+ return l.set({
168
+ r: (r >> c * (d + 3) & f) * s,
169
+ g: (r >> c * (d + 2) & f) * s,
170
+ b: (r >> c * (d + 1) & f) * s,
171
+ a: a ? (r & f) * s / 255 : 1
172
+ }, e);
173
+ },
174
+ stringify: (e) => {
175
+ let { r: t, g: n, b: r, a: i } = e;
176
+ return i < 1 ? `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}${o[Math.round(i * 255)]}` : `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}`;
177
+ }
178
+ }, d = {
179
+ 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,
180
+ hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
181
+ _hue2deg: (e) => {
182
+ let t = e.match(d.hueRe);
183
+ if (t) {
184
+ let [, e, n] = t;
185
+ switch (n) {
186
+ case "grad": return a.channel.clamp.h(parseFloat(e) * .9);
187
+ case "rad": return a.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
188
+ case "turn": return a.channel.clamp.h(parseFloat(e) * 360);
189
+ }
190
+ }
191
+ return a.channel.clamp.h(parseFloat(e));
192
+ },
193
+ parse: (e) => {
194
+ let t = e.charCodeAt(0);
195
+ if (t !== 104 && t !== 72) return;
196
+ let n = e.match(d.re);
197
+ if (!n) return;
198
+ let [, r, i, o, s, c] = n;
199
+ return l.set({
200
+ h: d._hue2deg(r),
201
+ s: a.channel.clamp.s(parseFloat(i)),
202
+ l: a.channel.clamp.l(parseFloat(o)),
203
+ a: s ? a.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
204
+ }, e);
205
+ },
206
+ stringify: (e) => {
207
+ let { h: t, s: n, l: r, a: i } = e;
208
+ return i < 1 ? `hsla(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%, ${i})` : `hsl(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%)`;
209
+ }
210
+ }, f = {
211
+ colors: {
212
+ aliceblue: "#f0f8ff",
213
+ antiquewhite: "#faebd7",
214
+ aqua: "#00ffff",
215
+ aquamarine: "#7fffd4",
216
+ azure: "#f0ffff",
217
+ beige: "#f5f5dc",
218
+ bisque: "#ffe4c4",
219
+ black: "#000000",
220
+ blanchedalmond: "#ffebcd",
221
+ blue: "#0000ff",
222
+ blueviolet: "#8a2be2",
223
+ brown: "#a52a2a",
224
+ burlywood: "#deb887",
225
+ cadetblue: "#5f9ea0",
226
+ chartreuse: "#7fff00",
227
+ chocolate: "#d2691e",
228
+ coral: "#ff7f50",
229
+ cornflowerblue: "#6495ed",
230
+ cornsilk: "#fff8dc",
231
+ crimson: "#dc143c",
232
+ cyanaqua: "#00ffff",
233
+ darkblue: "#00008b",
234
+ darkcyan: "#008b8b",
235
+ darkgoldenrod: "#b8860b",
236
+ darkgray: "#a9a9a9",
237
+ darkgreen: "#006400",
238
+ darkgrey: "#a9a9a9",
239
+ darkkhaki: "#bdb76b",
240
+ darkmagenta: "#8b008b",
241
+ darkolivegreen: "#556b2f",
242
+ darkorange: "#ff8c00",
243
+ darkorchid: "#9932cc",
244
+ darkred: "#8b0000",
245
+ darksalmon: "#e9967a",
246
+ darkseagreen: "#8fbc8f",
247
+ darkslateblue: "#483d8b",
248
+ darkslategray: "#2f4f4f",
249
+ darkslategrey: "#2f4f4f",
250
+ darkturquoise: "#00ced1",
251
+ darkviolet: "#9400d3",
252
+ deeppink: "#ff1493",
253
+ deepskyblue: "#00bfff",
254
+ dimgray: "#696969",
255
+ dimgrey: "#696969",
256
+ dodgerblue: "#1e90ff",
257
+ firebrick: "#b22222",
258
+ floralwhite: "#fffaf0",
259
+ forestgreen: "#228b22",
260
+ fuchsia: "#ff00ff",
261
+ gainsboro: "#dcdcdc",
262
+ ghostwhite: "#f8f8ff",
263
+ gold: "#ffd700",
264
+ goldenrod: "#daa520",
265
+ gray: "#808080",
266
+ green: "#008000",
267
+ greenyellow: "#adff2f",
268
+ grey: "#808080",
269
+ honeydew: "#f0fff0",
270
+ hotpink: "#ff69b4",
271
+ indianred: "#cd5c5c",
272
+ indigo: "#4b0082",
273
+ ivory: "#fffff0",
274
+ khaki: "#f0e68c",
275
+ lavender: "#e6e6fa",
276
+ lavenderblush: "#fff0f5",
277
+ lawngreen: "#7cfc00",
278
+ lemonchiffon: "#fffacd",
279
+ lightblue: "#add8e6",
280
+ lightcoral: "#f08080",
281
+ lightcyan: "#e0ffff",
282
+ lightgoldenrodyellow: "#fafad2",
283
+ lightgray: "#d3d3d3",
284
+ lightgreen: "#90ee90",
285
+ lightgrey: "#d3d3d3",
286
+ lightpink: "#ffb6c1",
287
+ lightsalmon: "#ffa07a",
288
+ lightseagreen: "#20b2aa",
289
+ lightskyblue: "#87cefa",
290
+ lightslategray: "#778899",
291
+ lightslategrey: "#778899",
292
+ lightsteelblue: "#b0c4de",
293
+ lightyellow: "#ffffe0",
294
+ lime: "#00ff00",
295
+ limegreen: "#32cd32",
296
+ linen: "#faf0e6",
297
+ magenta: "#ff00ff",
298
+ maroon: "#800000",
299
+ mediumaquamarine: "#66cdaa",
300
+ mediumblue: "#0000cd",
301
+ mediumorchid: "#ba55d3",
302
+ mediumpurple: "#9370db",
303
+ mediumseagreen: "#3cb371",
304
+ mediumslateblue: "#7b68ee",
305
+ mediumspringgreen: "#00fa9a",
306
+ mediumturquoise: "#48d1cc",
307
+ mediumvioletred: "#c71585",
308
+ midnightblue: "#191970",
309
+ mintcream: "#f5fffa",
310
+ mistyrose: "#ffe4e1",
311
+ moccasin: "#ffe4b5",
312
+ navajowhite: "#ffdead",
313
+ navy: "#000080",
314
+ oldlace: "#fdf5e6",
315
+ olive: "#808000",
316
+ olivedrab: "#6b8e23",
317
+ orange: "#ffa500",
318
+ orangered: "#ff4500",
319
+ orchid: "#da70d6",
320
+ palegoldenrod: "#eee8aa",
321
+ palegreen: "#98fb98",
322
+ paleturquoise: "#afeeee",
323
+ palevioletred: "#db7093",
324
+ papayawhip: "#ffefd5",
325
+ peachpuff: "#ffdab9",
326
+ peru: "#cd853f",
327
+ pink: "#ffc0cb",
328
+ plum: "#dda0dd",
329
+ powderblue: "#b0e0e6",
330
+ purple: "#800080",
331
+ rebeccapurple: "#663399",
332
+ red: "#ff0000",
333
+ rosybrown: "#bc8f8f",
334
+ royalblue: "#4169e1",
335
+ saddlebrown: "#8b4513",
336
+ salmon: "#fa8072",
337
+ sandybrown: "#f4a460",
338
+ seagreen: "#2e8b57",
339
+ seashell: "#fff5ee",
340
+ sienna: "#a0522d",
341
+ silver: "#c0c0c0",
342
+ skyblue: "#87ceeb",
343
+ slateblue: "#6a5acd",
344
+ slategray: "#708090",
345
+ slategrey: "#708090",
346
+ snow: "#fffafa",
347
+ springgreen: "#00ff7f",
348
+ tan: "#d2b48c",
349
+ teal: "#008080",
350
+ thistle: "#d8bfd8",
351
+ transparent: "#00000000",
352
+ turquoise: "#40e0d0",
353
+ violet: "#ee82ee",
354
+ wheat: "#f5deb3",
355
+ white: "#ffffff",
356
+ whitesmoke: "#f5f5f5",
357
+ yellow: "#ffff00",
358
+ yellowgreen: "#9acd32"
359
+ },
360
+ parse: (e) => {
361
+ e = e.toLowerCase();
362
+ let t = f.colors[e];
363
+ if (t) return u.parse(t);
364
+ },
365
+ stringify: (e) => {
366
+ let t = u.stringify(e);
367
+ for (let e in f.colors) if (f.colors[e] === t) return e;
368
+ }
369
+ }, p = {
370
+ 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,
371
+ parse: (e) => {
372
+ let t = e.charCodeAt(0);
373
+ if (t !== 114 && t !== 82) return;
374
+ let n = e.match(p.re);
375
+ if (!n) return;
376
+ let [, r, i, o, s, c, u, d, f] = n;
377
+ return l.set({
378
+ r: a.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
379
+ g: a.channel.clamp.g(s ? parseFloat(o) * 2.55 : parseFloat(o)),
380
+ b: a.channel.clamp.b(u ? parseFloat(c) * 2.55 : parseFloat(c)),
381
+ a: d ? a.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
382
+ }, e);
383
+ },
384
+ stringify: (e) => {
385
+ let { r: t, g: n, b: r, a: i } = e;
386
+ return i < 1 ? `rgba(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)}, ${a.lang.round(i)})` : `rgb(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)})`;
387
+ }
388
+ }, m = {
389
+ format: {
390
+ keyword: f,
391
+ hex: u,
392
+ rgb: p,
393
+ rgba: p,
394
+ hsl: d,
395
+ hsla: d
396
+ },
397
+ parse: (e) => {
398
+ if (typeof e != "string") return e;
399
+ let t = u.parse(e) || p.parse(e) || d.parse(e) || f.parse(e);
400
+ if (t) return t;
401
+ throw Error(`Unsupported color format: "${e}"`);
402
+ },
403
+ stringify: (e) => !e.changed && e.color ? e.color : e.type.is(s.HSL) || e.data.r === void 0 ? d.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? p.stringify(e) : u.stringify(e)
404
+ }, h = (e, t) => {
405
+ let n = m.parse(e);
406
+ for (let e in t) n[e] = a.channel.clamp[e](t[e]);
407
+ return m.stringify(n);
408
+ }, ee = (e, t, n = 0, r = 1) => {
409
+ if (typeof e != "number") return h(e, { a: t });
410
+ let i = l.set({
411
+ r: a.channel.clamp.r(e),
412
+ g: a.channel.clamp.g(t),
413
+ b: a.channel.clamp.b(n),
414
+ a: a.channel.clamp.a(r)
415
+ });
416
+ return m.stringify(i);
417
+ }, te = (e) => {
418
+ let { r: t, g: n, b: r } = m.parse(e), i = .2126 * a.channel.toLinear(t) + .7152 * a.channel.toLinear(n) + .0722 * a.channel.toLinear(r);
419
+ return a.lang.round(i);
420
+ }, ne = (e) => te(e) >= .5, g = (e) => !ne(e), _ = (e, t, n) => {
421
+ let r = m.parse(e), i = r[t], o = a.channel.clamp[t](i + n);
422
+ return i !== o && (r[t] = o), m.stringify(r);
423
+ }, v = (e, t) => _(e, "l", t), y = (e, t) => _(e, "l", -t), b = (e, t) => {
424
+ let n = m.parse(e), r = {};
425
+ for (let e in t) t[e] && (r[e] = n[e] + t[e]);
426
+ return h(e, r);
427
+ }, re = (e, t, n = 50) => {
428
+ let { r, g: i, b: a, a: o } = m.parse(e), { r: s, g: c, b: l, a: u } = m.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, h = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, te = 1 - h;
429
+ return ee(r * h + s * te, i * h + c * te, a * h + l * te, o * d + u * (1 - d));
430
+ }, x = (e, t = 100) => {
431
+ let n = m.parse(e);
432
+ return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, re(n, e, t);
433
+ }, { entries: ie, setPrototypeOf: ae, isFrozen: S, getPrototypeOf: oe, getOwnPropertyDescriptor: se } = Object, { freeze: C, seal: w, create: ce } = Object, { apply: le, construct: ue } = typeof Reflect < "u" && Reflect;
434
+ C ||= function(e) {
435
+ return e;
436
+ }, w ||= function(e) {
437
+ return e;
438
+ }, le ||= function(e, t) {
439
+ var n = [...arguments].slice(2);
440
+ return e.apply(t, n);
441
+ }, ue ||= function(e) {
442
+ return new e(...[...arguments].slice(1));
443
+ };
444
+ var de = D(Array.prototype.forEach), fe = D(Array.prototype.lastIndexOf), pe = D(Array.prototype.pop), me = D(Array.prototype.push), he = D(Array.prototype.splice), ge = D(String.prototype.toLowerCase), _e = D(String.prototype.toString), ve = D(String.prototype.match), ye = D(String.prototype.replace), be = D(String.prototype.indexOf), xe = D(String.prototype.trim), T = D(Object.prototype.hasOwnProperty), E = D(RegExp.prototype.test), Se = Ce(TypeError);
445
+ function D(e) {
446
+ return function(t) {
447
+ t instanceof RegExp && (t.lastIndex = 0);
448
+ var n = [...arguments].slice(1);
449
+ return le(e, t, n);
450
+ };
451
+ }
452
+ function Ce(e) {
453
+ return function() {
454
+ return ue(e, [...arguments]);
455
+ };
456
+ }
457
+ function O(e, t) {
458
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ge;
459
+ ae && ae(e, null);
460
+ let r = t.length;
461
+ for (; r--;) {
462
+ let i = t[r];
463
+ if (typeof i == "string") {
464
+ let e = n(i);
465
+ e !== i && (S(t) || (t[r] = e), i = e);
466
+ }
467
+ e[i] = !0;
468
+ }
469
+ return e;
470
+ }
471
+ function we(e) {
472
+ for (let t = 0; t < e.length; t++) T(e, t) || (e[t] = null);
473
+ return e;
474
+ }
475
+ function k(e) {
476
+ let t = ce(null);
477
+ for (let [n, r] of ie(e)) T(e, n) && (Array.isArray(r) ? t[n] = we(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = k(r) : t[n] = r);
478
+ return t;
479
+ }
480
+ function Te(e, t) {
481
+ for (; e !== null;) {
482
+ let n = se(e, t);
483
+ if (n) {
484
+ if (n.get) return D(n.get);
485
+ if (typeof n.value == "function") return D(n.value);
486
+ }
487
+ e = oe(e);
488
+ }
489
+ function n() {
490
+ return null;
491
+ }
492
+ return n;
493
+ }
494
+ var Ee = C(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), De = C(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Oe = C([
495
+ "feBlend",
496
+ "feColorMatrix",
497
+ "feComponentTransfer",
498
+ "feComposite",
499
+ "feConvolveMatrix",
500
+ "feDiffuseLighting",
501
+ "feDisplacementMap",
502
+ "feDistantLight",
503
+ "feDropShadow",
504
+ "feFlood",
505
+ "feFuncA",
506
+ "feFuncB",
507
+ "feFuncG",
508
+ "feFuncR",
509
+ "feGaussianBlur",
510
+ "feImage",
511
+ "feMerge",
512
+ "feMergeNode",
513
+ "feMorphology",
514
+ "feOffset",
515
+ "fePointLight",
516
+ "feSpecularLighting",
517
+ "feSpotLight",
518
+ "feTile",
519
+ "feTurbulence"
520
+ ]), ke = C([
521
+ "animate",
522
+ "color-profile",
523
+ "cursor",
524
+ "discard",
525
+ "font-face",
526
+ "font-face-format",
527
+ "font-face-name",
528
+ "font-face-src",
529
+ "font-face-uri",
530
+ "foreignobject",
531
+ "hatch",
532
+ "hatchpath",
533
+ "mesh",
534
+ "meshgradient",
535
+ "meshpatch",
536
+ "meshrow",
537
+ "missing-glyph",
538
+ "script",
539
+ "set",
540
+ "solidcolor",
541
+ "unknown",
542
+ "use"
543
+ ]), Ae = C(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), je = C([
544
+ "maction",
545
+ "maligngroup",
546
+ "malignmark",
547
+ "mlongdiv",
548
+ "mscarries",
549
+ "mscarry",
550
+ "msgroup",
551
+ "mstack",
552
+ "msline",
553
+ "msrow",
554
+ "semantics",
555
+ "annotation",
556
+ "annotation-xml",
557
+ "mprescripts",
558
+ "none"
559
+ ]), Me = C(["#text"]), Ne = C(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.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.slot".split(".")), Pe = C(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Fe = C(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.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 = C([
560
+ "xlink:href",
561
+ "xml:id",
562
+ "xlink:title",
563
+ "xml:space",
564
+ "xmlns:xlink"
565
+ ]), Le = w(/\{\{[\w\W]*|[\w\W]*\}\}/gm), A = w(/<%[\w\W]*|[\w\W]*%>/gm), Re = w(/\$\{[\w\W]*/gm), j = w(/^data-[\-\w.\u00B7-\uFFFF]+$/), ze = w(/^aria-[\-\w]+$/), Be = w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), M = w(/^(?:\w+script|data):/i), Ve = w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), He = w(/^html$/i), Ue = w(/^[a-z][.\w]*(-[.\w]+)+$/i), We = /* @__PURE__ */ Object.freeze({
566
+ __proto__: null,
567
+ ARIA_ATTR: ze,
568
+ ATTR_WHITESPACE: Ve,
569
+ CUSTOM_ELEMENT: Ue,
570
+ DATA_ATTR: j,
571
+ DOCTYPE_NAME: He,
572
+ ERB_EXPR: A,
573
+ IS_ALLOWED_URI: Be,
574
+ IS_SCRIPT_OR_DATA: M,
575
+ MUSTACHE_EXPR: Le,
576
+ TMPLIT_EXPR: Re
577
+ }), Ge = {
578
+ element: 1,
579
+ attribute: 2,
580
+ text: 3,
581
+ cdataSection: 4,
582
+ entityReference: 5,
583
+ entityNode: 6,
584
+ progressingInstruction: 7,
585
+ comment: 8,
586
+ document: 9,
587
+ documentType: 10,
588
+ documentFragment: 11,
589
+ notation: 12
590
+ }, Ke = function() {
591
+ return typeof window > "u" ? null : window;
592
+ }, qe = function(e, t) {
593
+ if (typeof e != "object" || typeof e.createPolicy != "function") return null;
594
+ let n = null, r = "data-tt-policy-suffix";
595
+ t && t.hasAttribute(r) && (n = t.getAttribute(r));
596
+ let i = "dompurify" + (n ? "#" + n : "");
597
+ try {
598
+ return e.createPolicy(i, {
599
+ createHTML(e) {
600
+ return e;
601
+ },
602
+ createScriptURL(e) {
603
+ return e;
604
+ }
605
+ });
606
+ } catch {
607
+ return console.warn("TrustedTypes policy " + i + " could not be created."), null;
608
+ }
609
+ }, Je = function() {
610
+ return {
611
+ afterSanitizeAttributes: [],
612
+ afterSanitizeElements: [],
613
+ afterSanitizeShadowDOM: [],
614
+ beforeSanitizeAttributes: [],
615
+ beforeSanitizeElements: [],
616
+ beforeSanitizeShadowDOM: [],
617
+ uponSanitizeAttribute: [],
618
+ uponSanitizeElement: [],
619
+ uponSanitizeShadowNode: []
620
+ };
621
+ };
622
+ function Ye() {
623
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ke(), t = (e) => Ye(e);
624
+ if (t.version = "3.3.3", t.removed = [], !e || !e.document || e.document.nodeType !== Ge.document || !e.Element) return t.isSupported = !1, t;
625
+ let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: d, DOMParser: f, trustedTypes: p } = e, m = c.prototype, h = Te(m, "cloneNode"), ee = Te(m, "remove"), te = Te(m, "nextSibling"), ne = Te(m, "childNodes"), g = Te(m, "parentNode");
626
+ if (typeof o == "function") {
627
+ let e = n.createElement("template");
628
+ e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
629
+ }
630
+ let _, v = "", { implementation: y, createNodeIterator: b, createDocumentFragment: re, getElementsByTagName: x } = n, { importNode: ae } = r, S = Je();
631
+ t.isSupported = typeof ie == "function" && typeof g == "function" && y && y.createHTMLDocument !== void 0;
632
+ let { MUSTACHE_EXPR: oe, ERB_EXPR: se, TMPLIT_EXPR: w, DATA_ATTR: le, ARIA_ATTR: ue, IS_SCRIPT_OR_DATA: D, ATTR_WHITESPACE: Ce, CUSTOM_ELEMENT: we } = We, { IS_ALLOWED_URI: Le } = We, A = null, Re = O({}, [
633
+ ...Ee,
634
+ ...De,
635
+ ...Oe,
636
+ ...Ae,
637
+ ...Me
638
+ ]), j = null, ze = O({}, [
639
+ ...Ne,
640
+ ...Pe,
641
+ ...Fe,
642
+ ...Ie
643
+ ]), M = Object.seal(ce(null, {
644
+ tagNameCheck: {
645
+ writable: !0,
646
+ configurable: !1,
647
+ enumerable: !0,
648
+ value: null
649
+ },
650
+ attributeNameCheck: {
651
+ writable: !0,
652
+ configurable: !1,
653
+ enumerable: !0,
654
+ value: null
655
+ },
656
+ allowCustomizedBuiltInElements: {
657
+ writable: !0,
658
+ configurable: !1,
659
+ enumerable: !0,
660
+ value: !1
661
+ }
662
+ })), Ve = null, Ue = null, N = Object.seal(ce(null, {
663
+ tagCheck: {
664
+ writable: !0,
665
+ configurable: !1,
666
+ enumerable: !0,
667
+ value: null
668
+ },
669
+ attributeCheck: {
670
+ writable: !0,
671
+ configurable: !1,
672
+ enumerable: !0,
673
+ value: null
674
+ }
675
+ })), Xe = !0, Ze = !0, Qe = !1, $e = !0, P = !1, et = !0, F = !1, tt = !1, nt = !1, I = !1, L = !1, R = !1, rt = !0, z = !1, it = !0, at = !1, B = {}, V = null, ot = O({}, [
676
+ "annotation-xml",
677
+ "audio",
678
+ "colgroup",
679
+ "desc",
680
+ "foreignobject",
681
+ "head",
682
+ "iframe",
683
+ "math",
684
+ "mi",
685
+ "mn",
686
+ "mo",
687
+ "ms",
688
+ "mtext",
689
+ "noembed",
690
+ "noframes",
691
+ "noscript",
692
+ "plaintext",
693
+ "script",
694
+ "style",
695
+ "svg",
696
+ "template",
697
+ "thead",
698
+ "title",
699
+ "video",
700
+ "xmp"
701
+ ]), st = null, ct = O({}, [
702
+ "audio",
703
+ "video",
704
+ "img",
705
+ "source",
706
+ "image",
707
+ "track"
708
+ ]), lt = null, ut = O({}, [
709
+ "alt",
710
+ "class",
711
+ "for",
712
+ "id",
713
+ "label",
714
+ "name",
715
+ "pattern",
716
+ "placeholder",
717
+ "role",
718
+ "summary",
719
+ "title",
720
+ "value",
721
+ "style",
722
+ "xmlns"
723
+ ]), H = "http://www.w3.org/1998/Math/MathML", U = "http://www.w3.org/2000/svg", W = "http://www.w3.org/1999/xhtml", G = W, dt = !1, ft = null, pt = O({}, [
724
+ H,
725
+ U,
726
+ W
727
+ ], _e), mt = O({}, [
728
+ "mi",
729
+ "mo",
730
+ "mn",
731
+ "ms",
732
+ "mtext"
733
+ ]), K = O({}, ["annotation-xml"]), ht = O({}, [
734
+ "title",
735
+ "style",
736
+ "font",
737
+ "a",
738
+ "script"
739
+ ]), q = null, gt = ["application/xhtml+xml", "text/html"], J = null, Y = null, _t = n.createElement("form"), vt = function(e) {
740
+ return e instanceof RegExp || e instanceof Function;
741
+ }, yt = function() {
742
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
743
+ if (!(Y && Y === e)) {
744
+ if ((!e || typeof e != "object") && (e = {}), e = k(e), q = gt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = q === "application/xhtml+xml" ? _e : ge, A = T(e, "ALLOWED_TAGS") ? O({}, e.ALLOWED_TAGS, J) : Re, j = T(e, "ALLOWED_ATTR") ? O({}, e.ALLOWED_ATTR, J) : ze, ft = T(e, "ALLOWED_NAMESPACES") ? O({}, e.ALLOWED_NAMESPACES, _e) : pt, lt = T(e, "ADD_URI_SAFE_ATTR") ? O(k(ut), e.ADD_URI_SAFE_ATTR, J) : ut, st = T(e, "ADD_DATA_URI_TAGS") ? O(k(ct), e.ADD_DATA_URI_TAGS, J) : ct, V = T(e, "FORBID_CONTENTS") ? O({}, e.FORBID_CONTENTS, J) : ot, Ve = T(e, "FORBID_TAGS") ? O({}, e.FORBID_TAGS, J) : k({}), Ue = T(e, "FORBID_ATTR") ? O({}, e.FORBID_ATTR, J) : k({}), B = T(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Xe = e.ALLOW_ARIA_ATTR !== !1, Ze = e.ALLOW_DATA_ATTR !== !1, Qe = e.ALLOW_UNKNOWN_PROTOCOLS || !1, $e = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, et = e.SAFE_FOR_XML !== !1, F = e.WHOLE_DOCUMENT || !1, I = e.RETURN_DOM || !1, L = e.RETURN_DOM_FRAGMENT || !1, R = e.RETURN_TRUSTED_TYPE || !1, nt = e.FORCE_BODY || !1, rt = e.SANITIZE_DOM !== !1, z = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, at = e.IN_PLACE || !1, Le = e.ALLOWED_URI_REGEXP || Be, G = e.NAMESPACE || W, mt = e.MATHML_TEXT_INTEGRATION_POINTS || mt, K = e.HTML_INTEGRATION_POINTS || K, M = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (M.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (M.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (M.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (Ze = !1), L && (I = !0), B && (A = O({}, Me), j = ce(null), B.html === !0 && (O(A, Ee), O(j, Ne)), B.svg === !0 && (O(A, De), O(j, Pe), O(j, Ie)), B.svgFilters === !0 && (O(A, Oe), O(j, Pe), O(j, Ie)), B.mathMl === !0 && (O(A, Ae), O(j, Fe), O(j, Ie))), T(e, "ADD_TAGS") || (N.tagCheck = null), T(e, "ADD_ATTR") || (N.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? N.tagCheck = e.ADD_TAGS : (A === Re && (A = k(A)), O(A, e.ADD_TAGS, J))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? N.attributeCheck = e.ADD_ATTR : (j === ze && (j = k(j)), O(j, e.ADD_ATTR, J))), e.ADD_URI_SAFE_ATTR && O(lt, e.ADD_URI_SAFE_ATTR, J), e.FORBID_CONTENTS && (V === ot && (V = k(V)), O(V, e.FORBID_CONTENTS, J)), e.ADD_FORBID_CONTENTS && (V === ot && (V = k(V)), O(V, e.ADD_FORBID_CONTENTS, J)), it && (A["#text"] = !0), F && O(A, [
745
+ "html",
746
+ "head",
747
+ "body"
748
+ ]), A.table && (O(A, ["tbody"]), delete Ve.tbody), e.TRUSTED_TYPES_POLICY) {
749
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
750
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
751
+ _ = e.TRUSTED_TYPES_POLICY, v = _.createHTML("");
752
+ } else _ === void 0 && (_ = qe(p, i)), _ !== null && typeof v == "string" && (v = _.createHTML(""));
753
+ C && C(e), Y = e;
754
+ }
755
+ }, bt = O({}, [
756
+ ...De,
757
+ ...Oe,
758
+ ...ke
759
+ ]), xt = O({}, [...Ae, ...je]), St = function(e) {
760
+ let t = g(e);
761
+ (!t || !t.tagName) && (t = {
762
+ namespaceURI: G,
763
+ tagName: "template"
764
+ });
765
+ let n = ge(e.tagName), r = ge(t.tagName);
766
+ return ft[e.namespaceURI] ? e.namespaceURI === U ? t.namespaceURI === W ? n === "svg" : t.namespaceURI === H ? n === "svg" && (r === "annotation-xml" || mt[r]) : !!bt[n] : e.namespaceURI === H ? t.namespaceURI === W ? n === "math" : t.namespaceURI === U ? n === "math" && K[r] : !!xt[n] : e.namespaceURI === W ? t.namespaceURI === U && !K[r] || t.namespaceURI === H && !mt[r] ? !1 : !xt[n] && (ht[n] || !bt[n]) : !!(q === "application/xhtml+xml" && ft[e.namespaceURI]) : !1;
767
+ }, X = function(e) {
768
+ me(t.removed, { element: e });
769
+ try {
770
+ g(e).removeChild(e);
771
+ } catch {
772
+ ee(e);
773
+ }
774
+ }, Z = function(e, n) {
775
+ try {
776
+ me(t.removed, {
777
+ attribute: n.getAttributeNode(e),
778
+ from: n
779
+ });
780
+ } catch {
781
+ me(t.removed, {
782
+ attribute: null,
783
+ from: n
784
+ });
785
+ }
786
+ if (n.removeAttribute(e), e === "is") if (I || L) try {
787
+ X(n);
788
+ } catch {}
789
+ else try {
790
+ n.setAttribute(e, "");
791
+ } catch {}
792
+ }, Ct = function(e) {
793
+ let t = null, r = null;
794
+ if (nt) e = "<remove></remove>" + e;
795
+ else {
796
+ let t = ve(e, /^[\r\n\t ]+/);
797
+ r = t && t[0];
798
+ }
799
+ q === "application/xhtml+xml" && G === W && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
800
+ let i = _ ? _.createHTML(e) : e;
801
+ if (G === W) try {
802
+ t = new f().parseFromString(i, q);
803
+ } catch {}
804
+ if (!t || !t.documentElement) {
805
+ t = y.createDocument(G, "template", null);
806
+ try {
807
+ t.documentElement.innerHTML = dt ? v : i;
808
+ } catch {}
809
+ }
810
+ let a = t.body || t.documentElement;
811
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), G === W ? x.call(t, F ? "html" : "body")[0] : F ? t.documentElement : a;
812
+ }, wt = function(e) {
813
+ return b.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
814
+ }, Tt = function(e) {
815
+ return e instanceof d && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
816
+ }, Et = function(e) {
817
+ return typeof s == "function" && e instanceof s;
818
+ };
819
+ function Q(e, n, r) {
820
+ de(e, (e) => {
821
+ e.call(t, n, r, Y);
822
+ });
823
+ }
824
+ let Dt = function(e) {
825
+ let n = null;
826
+ if (Q(S.beforeSanitizeElements, e, null), Tt(e)) return X(e), !0;
827
+ let r = J(e.nodeName);
828
+ if (Q(S.uponSanitizeElement, e, {
829
+ tagName: r,
830
+ allowedTags: A
831
+ }), et && e.hasChildNodes() && !Et(e.firstElementChild) && E(/<[/\w!]/g, e.innerHTML) && E(/<[/\w!]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || et && e.nodeType === Ge.comment && E(/<[/\w]/g, e.data)) return X(e), !0;
832
+ if (!(N.tagCheck instanceof Function && N.tagCheck(r)) && (!A[r] || Ve[r])) {
833
+ if (!Ve[r] && kt(r) && (M.tagNameCheck instanceof RegExp && E(M.tagNameCheck, r) || M.tagNameCheck instanceof Function && M.tagNameCheck(r))) return !1;
834
+ if (it && !V[r]) {
835
+ let t = g(e) || e.parentNode, n = ne(e) || e.childNodes;
836
+ if (n && t) {
837
+ let r = n.length;
838
+ for (let i = r - 1; i >= 0; --i) {
839
+ let r = h(n[i], !0);
840
+ r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, te(e));
841
+ }
842
+ }
843
+ }
844
+ return X(e), !0;
845
+ }
846
+ return e instanceof c && !St(e) || (r === "noscript" || r === "noembed" || r === "noframes") && E(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), !0) : (P && e.nodeType === Ge.text && (n = e.textContent, de([
847
+ oe,
848
+ se,
849
+ w
850
+ ], (e) => {
851
+ n = ye(n, e, " ");
852
+ }), e.textContent !== n && (me(t.removed, { element: e.cloneNode() }), e.textContent = n)), Q(S.afterSanitizeElements, e, null), !1);
853
+ }, Ot = function(e, t, r) {
854
+ if (Ue[t] || rt && (t === "id" || t === "name") && (r in n || r in _t)) return !1;
855
+ if (!(Ze && !Ue[t] && E(le, t)) && !(Xe && E(ue, t)) && !(N.attributeCheck instanceof Function && N.attributeCheck(t, e))) {
856
+ if (!j[t] || Ue[t]) {
857
+ if (!(kt(e) && (M.tagNameCheck instanceof RegExp && E(M.tagNameCheck, e) || M.tagNameCheck instanceof Function && M.tagNameCheck(e)) && (M.attributeNameCheck instanceof RegExp && E(M.attributeNameCheck, t) || M.attributeNameCheck instanceof Function && M.attributeNameCheck(t, e)) || t === "is" && M.allowCustomizedBuiltInElements && (M.tagNameCheck instanceof RegExp && E(M.tagNameCheck, r) || M.tagNameCheck instanceof Function && M.tagNameCheck(r)))) return !1;
858
+ } else if (!lt[t] && !E(Le, ye(r, Ce, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && be(r, "data:") === 0 && st[e]) && !(Qe && !E(D, ye(r, Ce, ""))) && r) return !1;
859
+ }
860
+ return !0;
861
+ }, kt = function(e) {
862
+ return e !== "annotation-xml" && ve(e, we);
863
+ }, $ = function(e) {
864
+ Q(S.beforeSanitizeAttributes, e, null);
865
+ let { attributes: n } = e;
866
+ if (!n || Tt(e)) return;
867
+ let r = {
868
+ attrName: "",
869
+ attrValue: "",
870
+ keepAttr: !0,
871
+ allowedAttributes: j,
872
+ forceKeepAttr: void 0
873
+ }, i = n.length;
874
+ for (; i--;) {
875
+ let { name: a, namespaceURI: o, value: s } = n[i], c = J(a), l = s, u = a === "value" ? l : xe(l);
876
+ if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, Q(S.uponSanitizeAttribute, e, r), u = r.attrValue, z && (c === "id" || c === "name") && (Z(a, e), u = "user-content-" + u), et && E(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, u)) {
877
+ Z(a, e);
878
+ continue;
879
+ }
880
+ if (c === "attributename" && ve(u, "href")) {
881
+ Z(a, e);
882
+ continue;
883
+ }
884
+ if (r.forceKeepAttr) continue;
885
+ if (!r.keepAttr) {
886
+ Z(a, e);
887
+ continue;
888
+ }
889
+ if (!$e && E(/\/>/i, u)) {
890
+ Z(a, e);
891
+ continue;
892
+ }
893
+ P && de([
894
+ oe,
895
+ se,
896
+ w
897
+ ], (e) => {
898
+ u = ye(u, e, " ");
899
+ });
900
+ let d = J(e.nodeName);
901
+ if (!Ot(d, c, u)) {
902
+ Z(a, e);
903
+ continue;
904
+ }
905
+ if (_ && typeof p == "object" && typeof p.getAttributeType == "function" && !o) switch (p.getAttributeType(d, c)) {
906
+ case "TrustedHTML":
907
+ u = _.createHTML(u);
908
+ break;
909
+ case "TrustedScriptURL":
910
+ u = _.createScriptURL(u);
911
+ break;
912
+ }
913
+ if (u !== l) try {
914
+ o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), Tt(e) ? X(e) : pe(t.removed);
915
+ } catch {
916
+ Z(a, e);
917
+ }
918
+ }
919
+ Q(S.afterSanitizeAttributes, e, null);
920
+ }, At = function e(t) {
921
+ let n = null, r = wt(t);
922
+ for (Q(S.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) Q(S.uponSanitizeShadowNode, n, null), Dt(n), $(n), n.content instanceof a && e(n.content);
923
+ Q(S.afterSanitizeShadowDOM, t, null);
924
+ };
925
+ return t.sanitize = function(e) {
926
+ let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
927
+ if (dt = !e, dt && (e = "<!-->"), typeof e != "string" && !Et(e)) if (typeof e.toString == "function") {
928
+ if (e = e.toString(), typeof e != "string") throw Se("dirty is not a string, aborting");
929
+ } else throw Se("toString is not a function");
930
+ if (!t.isSupported) return e;
931
+ if (tt || yt(n), t.removed = [], typeof e == "string" && (at = !1), at) {
932
+ if (e.nodeName) {
933
+ let t = J(e.nodeName);
934
+ if (!A[t] || Ve[t]) throw Se("root node is forbidden and cannot be sanitized in-place");
935
+ }
936
+ } else if (e instanceof s) i = Ct("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === Ge.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
937
+ else {
938
+ if (!I && !P && !F && e.indexOf("<") === -1) return _ && R ? _.createHTML(e) : e;
939
+ if (i = Ct(e), !i) return I ? null : R ? v : "";
940
+ }
941
+ i && nt && X(i.firstChild);
942
+ let u = wt(at ? e : i);
943
+ for (; c = u.nextNode();) Dt(c), $(c), c.content instanceof a && At(c.content);
944
+ if (at) return e;
945
+ if (I) {
946
+ if (L) for (l = re.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
947
+ else l = i;
948
+ return (j.shadowroot || j.shadowrootmode) && (l = ae.call(r, l, !0)), l;
949
+ }
950
+ let d = F ? i.outerHTML : i.innerHTML;
951
+ return F && A["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && E(He, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), P && de([
952
+ oe,
953
+ se,
954
+ w
955
+ ], (e) => {
956
+ d = ye(d, e, " ");
957
+ }), _ && R ? _.createHTML(d) : d;
958
+ }, t.setConfig = function() {
959
+ yt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), tt = !0;
960
+ }, t.clearConfig = function() {
961
+ Y = null, tt = !1;
962
+ }, t.isValidAttribute = function(e, t, n) {
963
+ return Y || yt({}), Ot(J(e), J(t), n);
964
+ }, t.addHook = function(e, t) {
965
+ typeof t == "function" && me(S[e], t);
966
+ }, t.removeHook = function(e, t) {
967
+ if (t !== void 0) {
968
+ let n = fe(S[e], t);
969
+ return n === -1 ? void 0 : he(S[e], n, 1)[0];
970
+ }
971
+ return pe(S[e]);
972
+ }, t.removeHooks = function(e) {
973
+ S[e] = [];
974
+ }, t.removeAllHooks = function() {
975
+ S = Je();
976
+ }, t;
977
+ }
978
+ var N = Ye(), Xe = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ze = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Qe = /\s*%%.*\n/gm, $e = class extends Error {
979
+ static {
980
+ n(this, "UnknownDiagramError");
981
+ }
982
+ constructor(e) {
983
+ super(e), this.name = "UnknownDiagramError";
984
+ }
985
+ }, P = {}, et = /* @__PURE__ */ n(function(e, t) {
986
+ e = e.replace(Xe, "").replace(Ze, "").replace(Qe, "\n");
987
+ for (let [n, { detector: r }] of Object.entries(P)) if (r(e, t)) return n;
988
+ throw new $e(`No diagram type detected matching given configuration for text: ${e}`);
989
+ }, "detectType"), F = /* @__PURE__ */ n((...e) => {
990
+ for (let { id: t, detector: n, loader: r } of e) tt(t, n, r);
991
+ }, "registerLazyLoadedDiagrams"), tt = /* @__PURE__ */ n((e, n, r) => {
992
+ P[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), P[e] = {
993
+ detector: n,
994
+ loader: r
995
+ }, t.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
996
+ }, "addDetector"), nt = /* @__PURE__ */ n((e) => P[e].loader, "getDiagramLoader"), I = /* @__PURE__ */ n((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
997
+ let i = {
998
+ depth: n,
999
+ clobber: r
1000
+ };
1001
+ return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => I(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
1002
+ e.includes(t) || e.push(t);
1003
+ }), 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) => {
1004
+ 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] = I(e[i], t[i], {
1005
+ depth: n - 1,
1006
+ clobber: r
1007
+ })) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
1008
+ }), e);
1009
+ }, "assignWithDepth"), L = I, R = "#ffffff", rt = "#f2f2f2", z = /* @__PURE__ */ n((e, t) => t ? b(e, {
1010
+ s: -40,
1011
+ l: 10
1012
+ }) : b(e, {
1013
+ s: -40,
1014
+ l: -10
1015
+ }), "mkBorder"), it = class {
1016
+ static {
1017
+ n(this, "Theme");
1018
+ }
1019
+ constructor() {
1020
+ this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px";
1021
+ }
1022
+ updateColors() {
1023
+ if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || b(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || b(this.primaryColor, {
1024
+ h: 180,
1025
+ l: 5
1026
+ }), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || x(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || x(this.tertiaryColor), this.lineColor = this.lineColor || x(this.background), this.arrowheadColor = this.arrowheadColor || x(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 ? y(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 || y(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || x(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 || v(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.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || y(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || v(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || v(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 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, {
1027
+ h: 210,
1028
+ l: 150
1029
+ }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 75);
1030
+ else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 25);
1031
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e]);
1032
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || v(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10);
1033
+ this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
1034
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1035
+ let e = this.darkMode ? -4 : -1;
1036
+ for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || b(this.mainBkg, {
1037
+ h: 180,
1038
+ s: -15,
1039
+ l: e * (5 + t * 3)
1040
+ }), this["surfacePeer" + t] = this["surfacePeer" + t] || b(this.mainBkg, {
1041
+ h: 180,
1042
+ s: -15,
1043
+ l: e * (8 + t * 3)
1044
+ });
1045
+ this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || b(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || b(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || b(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || b(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || b(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || b(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 || b(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || b(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || b(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || b(this.primaryColor, {
1046
+ h: 60,
1047
+ l: -10
1048
+ }), this.pie8 = this.pie8 || b(this.primaryColor, {
1049
+ h: -60,
1050
+ l: -10
1051
+ }), this.pie9 = this.pie9 || b(this.primaryColor, {
1052
+ h: 120,
1053
+ l: 0
1054
+ }), this.pie10 = this.pie10 || b(this.primaryColor, {
1055
+ h: 60,
1056
+ l: -20
1057
+ }), this.pie11 = this.pie11 || b(this.primaryColor, {
1058
+ h: -60,
1059
+ l: -20
1060
+ }), this.pie12 = this.pie12 || b(this.primaryColor, {
1061
+ h: 120,
1062
+ l: -10
1063
+ }), 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 ?? b(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? b(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? b(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? b(this.primaryColor, {
1064
+ h: 60,
1065
+ l: -30
1066
+ }), this.venn5 = this.venn5 ?? b(this.primaryColor, {
1067
+ h: -60,
1068
+ l: -30
1069
+ }), this.venn6 = this.venn6 ?? b(this.secondaryColor, {
1070
+ h: 60,
1071
+ l: -30
1072
+ }), this.venn7 = this.venn7 ?? b(this.primaryColor, {
1073
+ h: 120,
1074
+ l: -30
1075
+ }), this.venn8 = this.venn8 ?? b(this.secondaryColor, {
1076
+ h: 120,
1077
+ l: -30
1078
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
1079
+ axisColor: this.radar?.axisColor || this.lineColor,
1080
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1081
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1082
+ curveOpacity: this.radar?.curveOpacity || .5,
1083
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1084
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1085
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1086
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1087
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1088
+ legendFontSize: this.radar?.legendFontSize || 12
1089
+ }, 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 || b(this.primaryColor, {
1090
+ r: 5,
1091
+ g: 5,
1092
+ b: 5
1093
+ }), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
1094
+ r: 10,
1095
+ g: 10,
1096
+ b: 10
1097
+ }), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
1098
+ r: 15,
1099
+ g: 15,
1100
+ b: 15
1101
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
1102
+ r: -5,
1103
+ g: -5,
1104
+ b: -5
1105
+ }), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
1106
+ r: -10,
1107
+ g: -10,
1108
+ b: -10
1109
+ }), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
1110
+ r: -15,
1111
+ g: -15,
1112
+ b: -15
1113
+ }), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
1114
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1115
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1116
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1117
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1118
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1119
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1120
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1121
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1122
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1123
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1124
+ plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
1125
+ }, 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 ? y(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 || b(this.primaryColor, { h: -30 }), this.git4 = this.git4 || b(this.primaryColor, { h: -60 }), this.git5 = this.git5 || b(this.primaryColor, { h: -90 }), this.git6 = this.git6 || b(this.primaryColor, { h: 60 }), this.git7 = this.git7 || b(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = v(this.git0, 25), this.git1 = v(this.git1, 25), this.git2 = v(this.git2, 25), this.git3 = v(this.git3, 25), this.git4 = v(this.git4, 25), this.git5 = v(this.git5, 25), this.git6 = v(this.git6, 25), this.git7 = v(this.git7, 25)) : (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(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 || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
1126
+ }
1127
+ calculate(e) {
1128
+ if (typeof e != "object") {
1129
+ this.updateColors();
1130
+ return;
1131
+ }
1132
+ let t = Object.keys(e);
1133
+ t.forEach((t) => {
1134
+ this[t] = e[t];
1135
+ }), this.updateColors(), t.forEach((t) => {
1136
+ this[t] = e[t];
1137
+ });
1138
+ }
1139
+ }, at = /* @__PURE__ */ n((e) => {
1140
+ let t = new it();
1141
+ return t.calculate(e), t;
1142
+ }, "getThemeVariables"), B = class {
1143
+ static {
1144
+ n(this, "Theme");
1145
+ }
1146
+ constructor() {
1147
+ this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = v(this.primaryColor, 16), this.tertiaryColor = b(this.primaryColor, { h: -160 }), this.primaryBorderColor = x(this.background), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.tertiaryColor), this.lineColor = x(this.background), this.textColor = x(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = v(x("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = ee(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.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.sectionBkgColor = y("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = y(this.sectionBkgColor, 10), this.taskBorderColor = ee(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = ee(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 || v(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
1148
+ }
1149
+ updateColors() {
1150
+ this.secondBkg = v(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 = v(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 = v(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 = x(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(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 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 });
1151
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e]);
1152
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || v(this["cScale" + e], 10);
1153
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, {
1154
+ h: 30,
1155
+ s: -30,
1156
+ l: -(-10 + e * 4)
1157
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, {
1158
+ h: 30,
1159
+ s: -30,
1160
+ l: -(-7 + e * 4)
1161
+ });
1162
+ this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
1163
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1164
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1165
+ 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";
1166
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? v(this["cScale" + e], 30);
1167
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
1168
+ r: 5,
1169
+ g: 5,
1170
+ b: 5
1171
+ }), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
1172
+ r: 10,
1173
+ g: 10,
1174
+ b: 10
1175
+ }), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
1176
+ r: 15,
1177
+ g: 15,
1178
+ b: 15
1179
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
1180
+ r: -5,
1181
+ g: -5,
1182
+ b: -5
1183
+ }), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
1184
+ r: -10,
1185
+ g: -10,
1186
+ b: -10
1187
+ }), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
1188
+ r: -15,
1189
+ g: -15,
1190
+ b: -15
1191
+ }), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
1192
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1193
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1194
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1195
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1196
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1197
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1198
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1199
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1200
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1201
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1202
+ plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
1203
+ }, this.packet = {
1204
+ startByteColor: this.primaryTextColor,
1205
+ endByteColor: this.primaryTextColor,
1206
+ labelColor: this.primaryTextColor,
1207
+ titleColor: this.primaryTextColor,
1208
+ blockStrokeColor: this.primaryTextColor,
1209
+ blockFillColor: this.background
1210
+ }, this.radar = {
1211
+ axisColor: this.radar?.axisColor || this.lineColor,
1212
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1213
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1214
+ curveOpacity: this.radar?.curveOpacity || .5,
1215
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1216
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1217
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1218
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1219
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1220
+ legendFontSize: this.radar?.legendFontSize || 12
1221
+ }, 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 ? y(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = v(this.secondaryColor, 20), this.git1 = v(this.pie2 || this.secondaryColor, 20), this.git2 = v(this.pie3 || this.tertiaryColor, 20), this.git3 = v(this.pie4 || b(this.primaryColor, { h: -30 }), 20), this.git4 = v(this.pie5 || b(this.primaryColor, { h: -60 }), 20), this.git5 = v(this.pie6 || b(this.primaryColor, { h: -90 }), 10), this.git6 = v(this.pie7 || b(this.primaryColor, { h: 60 }), 10), this.git7 = v(this.pie8 || b(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || x(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || x(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || v(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || v(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
1222
+ }
1223
+ calculate(e) {
1224
+ if (typeof e != "object") {
1225
+ this.updateColors();
1226
+ return;
1227
+ }
1228
+ let t = Object.keys(e);
1229
+ t.forEach((t) => {
1230
+ this[t] = e[t];
1231
+ }), this.updateColors(), t.forEach((t) => {
1232
+ this[t] = e[t];
1233
+ });
1234
+ }
1235
+ }, V = /* @__PURE__ */ n((e) => {
1236
+ let t = new B();
1237
+ return t.calculate(e), t;
1238
+ }, "getThemeVariables"), ot = class {
1239
+ static {
1240
+ n(this, "Theme");
1241
+ }
1242
+ constructor() {
1243
+ this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = b(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = b(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.tertiaryColor), this.lineColor = x(this.background), this.textColor = x(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", 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.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.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 = ee(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.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.updateColors();
1244
+ }
1245
+ updateColors() {
1246
+ this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || y(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || y(this.tertiaryColor, 40);
1247
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 25);
1248
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || b(this["cScale" + e], { h: 180 });
1249
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, {
1250
+ h: 30,
1251
+ l: -(5 + e * 5)
1252
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, {
1253
+ h: 30,
1254
+ l: -(7 + e * 5)
1255
+ });
1256
+ if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
1257
+ this.cScaleLabel0 = this.cScaleLabel0 || x(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || x(this.labelTextColor);
1258
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
1259
+ }
1260
+ 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 = v(this.border1, 23), 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 || v(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || v(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || b(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || b(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || b(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || b(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || b(this.primaryColor, {
1261
+ h: 60,
1262
+ l: -20
1263
+ }), this.pie8 = this.pie8 || b(this.primaryColor, {
1264
+ h: -60,
1265
+ l: -40
1266
+ }), this.pie9 = this.pie9 || b(this.primaryColor, {
1267
+ h: 120,
1268
+ l: -40
1269
+ }), this.pie10 = this.pie10 || b(this.primaryColor, {
1270
+ h: 60,
1271
+ l: -40
1272
+ }), this.pie11 = this.pie11 || b(this.primaryColor, {
1273
+ h: -90,
1274
+ l: -40
1275
+ }), this.pie12 = this.pie12 || b(this.primaryColor, {
1276
+ h: 120,
1277
+ l: -30
1278
+ }), 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 ?? b(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? b(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? b(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? b(this.primaryColor, {
1279
+ h: 60,
1280
+ l: -30
1281
+ }), this.venn5 = this.venn5 ?? b(this.primaryColor, {
1282
+ h: -60,
1283
+ l: -30
1284
+ }), this.venn6 = this.venn6 ?? b(this.secondaryColor, {
1285
+ h: 60,
1286
+ l: -30
1287
+ }), this.venn7 = this.venn7 ?? b(this.primaryColor, {
1288
+ h: 120,
1289
+ l: -30
1290
+ }), this.venn8 = this.venn8 ?? b(this.secondaryColor, {
1291
+ h: 120,
1292
+ l: -30
1293
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
1294
+ r: 5,
1295
+ g: 5,
1296
+ b: 5
1297
+ }), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
1298
+ r: 10,
1299
+ g: 10,
1300
+ b: 10
1301
+ }), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
1302
+ r: 15,
1303
+ g: 15,
1304
+ b: 15
1305
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
1306
+ r: -5,
1307
+ g: -5,
1308
+ b: -5
1309
+ }), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
1310
+ r: -10,
1311
+ g: -10,
1312
+ b: -10
1313
+ }), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
1314
+ r: -15,
1315
+ g: -15,
1316
+ b: -15
1317
+ }), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
1318
+ axisColor: this.radar?.axisColor || this.lineColor,
1319
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1320
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1321
+ curveOpacity: this.radar?.curveOpacity || .5,
1322
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1323
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1324
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1325
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1326
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1327
+ legendFontSize: this.radar?.legendFontSize || 12
1328
+ }, this.xyChart = {
1329
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1330
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1331
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1332
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1333
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1334
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1335
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1336
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1337
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1338
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1339
+ plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
1340
+ }, 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 || b(this.primaryColor, { h: -30 }), this.git4 = this.git4 || b(this.primaryColor, { h: -60 }), this.git5 = this.git5 || b(this.primaryColor, { h: -90 }), this.git6 = this.git6 || b(this.primaryColor, { h: 60 }), this.git7 = this.git7 || b(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = v(this.git0, 25), this.git1 = v(this.git1, 25), this.git2 = v(this.git2, 25), this.git3 = v(this.git3, 25), this.git4 = v(this.git4, 25), this.git5 = v(this.git5, 25), this.git6 = v(this.git6, 25), this.git7 = v(this.git7, 25)) : (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)), this.gitInv0 = this.gitInv0 || y(x(this.git0), 25), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || x(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || x(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
1341
+ }
1342
+ calculate(e) {
1343
+ if (Object.keys(this).forEach((e) => {
1344
+ this[e] === "calculated" && (this[e] = void 0);
1345
+ }), typeof e != "object") {
1346
+ this.updateColors();
1347
+ return;
1348
+ }
1349
+ let t = Object.keys(e);
1350
+ t.forEach((t) => {
1351
+ this[t] = e[t];
1352
+ }), this.updateColors(), t.forEach((t) => {
1353
+ this[t] = e[t];
1354
+ });
1355
+ }
1356
+ }, st = /* @__PURE__ */ n((e) => {
1357
+ let t = new ot();
1358
+ return t.calculate(e), t;
1359
+ }, "getThemeVariables"), ct = class {
1360
+ static {
1361
+ n(this, "Theme");
1362
+ }
1363
+ constructor() {
1364
+ 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 = v("#cde498", 10), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.primaryColor), this.lineColor = x(this.background), this.textColor = x(this.background), this.THEME_COLOR_LIMIT = 12, 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.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
1365
+ }
1366
+ updateColors() {
1367
+ this.actorBorder = y(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 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || y(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || y(this.tertiaryColor, 40);
1368
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 25);
1369
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || b(this["cScale" + e], { h: 180 });
1370
+ this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
1371
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1372
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, {
1373
+ h: 30,
1374
+ s: -30,
1375
+ l: -(5 + e * 5)
1376
+ }), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, {
1377
+ h: 30,
1378
+ s: -30,
1379
+ l: -(8 + e * 5)
1380
+ });
1381
+ 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 || v(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || v(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(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 || b(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || b(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || b(this.tertiaryColor, {
1382
+ h: 40,
1383
+ l: -40
1384
+ }), this.pie7 = this.pie7 || b(this.primaryColor, {
1385
+ h: 60,
1386
+ l: -10
1387
+ }), this.pie8 = this.pie8 || b(this.primaryColor, {
1388
+ h: -60,
1389
+ l: -10
1390
+ }), this.pie9 = this.pie9 || b(this.primaryColor, {
1391
+ h: 120,
1392
+ l: 0
1393
+ }), this.pie10 = this.pie10 || b(this.primaryColor, {
1394
+ h: 60,
1395
+ l: -50
1396
+ }), this.pie11 = this.pie11 || b(this.primaryColor, {
1397
+ h: -60,
1398
+ l: -50
1399
+ }), this.pie12 = this.pie12 || b(this.primaryColor, {
1400
+ h: 120,
1401
+ l: -50
1402
+ }), 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 ?? b(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? b(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? b(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? b(this.primaryColor, {
1403
+ h: 60,
1404
+ l: -30
1405
+ }), this.venn5 = this.venn5 ?? b(this.primaryColor, {
1406
+ h: -60,
1407
+ l: -30
1408
+ }), this.venn6 = this.venn6 ?? b(this.secondaryColor, {
1409
+ h: 60,
1410
+ l: -30
1411
+ }), this.venn7 = this.venn7 ?? b(this.primaryColor, {
1412
+ h: 120,
1413
+ l: -30
1414
+ }), this.venn8 = this.venn8 ?? b(this.secondaryColor, {
1415
+ h: 120,
1416
+ l: -30
1417
+ }), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
1418
+ r: 5,
1419
+ g: 5,
1420
+ b: 5
1421
+ }), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
1422
+ r: 10,
1423
+ g: 10,
1424
+ b: 10
1425
+ }), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
1426
+ r: 15,
1427
+ g: 15,
1428
+ b: 15
1429
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
1430
+ r: -5,
1431
+ g: -5,
1432
+ b: -5
1433
+ }), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
1434
+ r: -10,
1435
+ g: -10,
1436
+ b: -10
1437
+ }), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
1438
+ r: -15,
1439
+ g: -15,
1440
+ b: -15
1441
+ }), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
1442
+ startByteColor: this.primaryTextColor,
1443
+ endByteColor: this.primaryTextColor,
1444
+ labelColor: this.primaryTextColor,
1445
+ titleColor: this.primaryTextColor,
1446
+ blockStrokeColor: this.primaryTextColor,
1447
+ blockFillColor: this.mainBkg
1448
+ }, this.radar = {
1449
+ axisColor: this.radar?.axisColor || this.lineColor,
1450
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1451
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1452
+ curveOpacity: this.radar?.curveOpacity || .5,
1453
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1454
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1455
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1456
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1457
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1458
+ legendFontSize: this.radar?.legendFontSize || 12
1459
+ }, this.xyChart = {
1460
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1461
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1462
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1463
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1464
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1465
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1466
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1467
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1468
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1469
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1470
+ plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
1471
+ }, 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 || b(this.primaryColor, { h: -30 }), this.git4 = this.git4 || b(this.primaryColor, { h: -60 }), this.git5 = this.git5 || b(this.primaryColor, { h: -90 }), this.git6 = this.git6 || b(this.primaryColor, { h: 60 }), this.git7 = this.git7 || b(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = v(this.git0, 25), this.git1 = v(this.git1, 25), this.git2 = v(this.git2, 25), this.git3 = v(this.git3, 25), this.git4 = v(this.git4, 25), this.git5 = v(this.git5, 25), this.git6 = v(this.git6, 25), this.git7 = v(this.git7, 25)) : (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || x(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || x(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
1472
+ }
1473
+ calculate(e) {
1474
+ if (typeof e != "object") {
1475
+ this.updateColors();
1476
+ return;
1477
+ }
1478
+ let t = Object.keys(e);
1479
+ t.forEach((t) => {
1480
+ this[t] = e[t];
1481
+ }), this.updateColors(), t.forEach((t) => {
1482
+ this[t] = e[t];
1483
+ });
1484
+ }
1485
+ }, lt = /* @__PURE__ */ n((e) => {
1486
+ let t = new ct();
1487
+ return t.calculate(e), t;
1488
+ }, "getThemeVariables"), ut = class {
1489
+ static {
1490
+ n(this, "Theme");
1491
+ }
1492
+ constructor() {
1493
+ this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = v(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = b(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.tertiaryColor), this.lineColor = x(this.background), this.textColor = x(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.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.rowOdd = this.rowOdd || v(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
1494
+ }
1495
+ updateColors() {
1496
+ this.secondBkg = v(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = v(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";
1497
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e]);
1498
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || v(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10);
1499
+ this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
1500
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
1501
+ for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, { l: -(8 + e * 5) });
1502
+ 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 = v(this.contrast, 30), this.sectionBkgColor2 = v(this.contrast, 30), this.taskBorderColor = y(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 = v(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = y(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(this.secondaryColor, { h: 128 });
1503
+ for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
1504
+ 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";
1505
+ for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
1506
+ this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
1507
+ r: 5,
1508
+ g: 5,
1509
+ b: 5
1510
+ }), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
1511
+ r: 10,
1512
+ g: 10,
1513
+ b: 10
1514
+ }), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
1515
+ r: 15,
1516
+ g: 15,
1517
+ b: 15
1518
+ }), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
1519
+ r: -5,
1520
+ g: -5,
1521
+ b: -5
1522
+ }), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
1523
+ r: -10,
1524
+ g: -10,
1525
+ b: -10
1526
+ }), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
1527
+ r: -15,
1528
+ g: -15,
1529
+ b: -15
1530
+ }), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
1531
+ backgroundColor: this.xyChart?.backgroundColor || this.background,
1532
+ titleColor: this.xyChart?.titleColor || this.primaryTextColor,
1533
+ xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
1534
+ xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
1535
+ xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
1536
+ xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
1537
+ yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
1538
+ yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
1539
+ yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
1540
+ yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
1541
+ plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
1542
+ }, this.radar = {
1543
+ axisColor: this.radar?.axisColor || this.lineColor,
1544
+ axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
1545
+ axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
1546
+ curveOpacity: this.radar?.curveOpacity || .5,
1547
+ curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
1548
+ graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
1549
+ graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
1550
+ graticuleOpacity: this.radar?.graticuleOpacity || .3,
1551
+ legendBoxSize: this.radar?.legendBoxSize || 12,
1552
+ legendFontSize: this.radar?.legendFontSize || 12
1553
+ }, 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 = y(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || b(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || b(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || b(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || b(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || b(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
1554
+ }
1555
+ calculate(e) {
1556
+ if (typeof e != "object") {
1557
+ this.updateColors();
1558
+ return;
1559
+ }
1560
+ let t = Object.keys(e);
1561
+ t.forEach((t) => {
1562
+ this[t] = e[t];
1563
+ }), this.updateColors(), t.forEach((t) => {
1564
+ this[t] = e[t];
1565
+ });
1566
+ }
1567
+ }, H = {
1568
+ base: { getThemeVariables: at },
1569
+ dark: { getThemeVariables: V },
1570
+ default: { getThemeVariables: st },
1571
+ forest: { getThemeVariables: lt },
1572
+ neutral: { getThemeVariables: /* @__PURE__ */ n((e) => {
1573
+ let t = new ut();
1574
+ return t.calculate(e), t;
1575
+ }, "getThemeVariables") }
1576
+ }, U = {
1577
+ flowchart: {
1578
+ useMaxWidth: !0,
1579
+ titleTopMargin: 25,
1580
+ subGraphTitleMargin: {
1581
+ top: 0,
1582
+ bottom: 0
1583
+ },
1584
+ diagramPadding: 8,
1585
+ htmlLabels: null,
1586
+ nodeSpacing: 50,
1587
+ rankSpacing: 50,
1588
+ curve: "basis",
1589
+ padding: 15,
1590
+ defaultRenderer: "dagre-wrapper",
1591
+ wrappingWidth: 200,
1592
+ inheritDir: !1
1593
+ },
1594
+ sequence: {
1595
+ useMaxWidth: !0,
1596
+ hideUnusedParticipants: !1,
1597
+ activationWidth: 10,
1598
+ diagramMarginX: 50,
1599
+ diagramMarginY: 10,
1600
+ actorMargin: 50,
1601
+ width: 150,
1602
+ height: 65,
1603
+ boxMargin: 10,
1604
+ boxTextMargin: 5,
1605
+ noteMargin: 10,
1606
+ messageMargin: 35,
1607
+ messageAlign: "center",
1608
+ mirrorActors: !0,
1609
+ forceMenus: !1,
1610
+ bottomMarginAdj: 1,
1611
+ rightAngles: !1,
1612
+ showSequenceNumbers: !1,
1613
+ actorFontSize: 14,
1614
+ actorFontFamily: "\"Open Sans\", sans-serif",
1615
+ actorFontWeight: 400,
1616
+ noteFontSize: 14,
1617
+ noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
1618
+ noteFontWeight: 400,
1619
+ noteAlign: "center",
1620
+ messageFontSize: 16,
1621
+ messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
1622
+ messageFontWeight: 400,
1623
+ wrap: !1,
1624
+ wrapPadding: 10,
1625
+ labelBoxWidth: 50,
1626
+ labelBoxHeight: 20
1627
+ },
1628
+ gantt: {
1629
+ useMaxWidth: !0,
1630
+ titleTopMargin: 25,
1631
+ barHeight: 20,
1632
+ barGap: 4,
1633
+ topPadding: 50,
1634
+ rightPadding: 75,
1635
+ leftPadding: 75,
1636
+ gridLineStartPadding: 35,
1637
+ fontSize: 11,
1638
+ sectionFontSize: 11,
1639
+ numberSectionStyles: 4,
1640
+ axisFormat: "%Y-%m-%d",
1641
+ topAxis: !1,
1642
+ displayMode: "",
1643
+ weekday: "sunday"
1644
+ },
1645
+ journey: {
1646
+ useMaxWidth: !0,
1647
+ diagramMarginX: 50,
1648
+ diagramMarginY: 10,
1649
+ leftMargin: 150,
1650
+ maxLabelWidth: 360,
1651
+ width: 150,
1652
+ height: 50,
1653
+ boxMargin: 10,
1654
+ boxTextMargin: 5,
1655
+ noteMargin: 10,
1656
+ messageMargin: 35,
1657
+ messageAlign: "center",
1658
+ bottomMarginAdj: 1,
1659
+ rightAngles: !1,
1660
+ taskFontSize: 14,
1661
+ taskFontFamily: "\"Open Sans\", sans-serif",
1662
+ taskMargin: 50,
1663
+ activationWidth: 10,
1664
+ textPlacement: "fo",
1665
+ actorColours: [
1666
+ "#8FBC8F",
1667
+ "#7CFC00",
1668
+ "#00FFFF",
1669
+ "#20B2AA",
1670
+ "#B0E0E6",
1671
+ "#FFFFE0"
1672
+ ],
1673
+ sectionFills: [
1674
+ "#191970",
1675
+ "#8B008B",
1676
+ "#4B0082",
1677
+ "#2F4F4F",
1678
+ "#800000",
1679
+ "#8B4513",
1680
+ "#00008B"
1681
+ ],
1682
+ sectionColours: ["#fff"],
1683
+ titleColor: "",
1684
+ titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
1685
+ titleFontSize: "4ex"
1686
+ },
1687
+ class: {
1688
+ useMaxWidth: !0,
1689
+ titleTopMargin: 25,
1690
+ arrowMarkerAbsolute: !1,
1691
+ dividerMargin: 10,
1692
+ padding: 5,
1693
+ textHeight: 10,
1694
+ defaultRenderer: "dagre-wrapper",
1695
+ htmlLabels: !1,
1696
+ hideEmptyMembersBox: !1
1697
+ },
1698
+ state: {
1699
+ useMaxWidth: !0,
1700
+ titleTopMargin: 25,
1701
+ dividerMargin: 10,
1702
+ sizeUnit: 5,
1703
+ padding: 8,
1704
+ textHeight: 10,
1705
+ titleShift: -15,
1706
+ noteMargin: 10,
1707
+ forkWidth: 70,
1708
+ forkHeight: 7,
1709
+ miniPadding: 2,
1710
+ fontSizeFactor: 5.02,
1711
+ fontSize: 24,
1712
+ labelHeight: 16,
1713
+ edgeLengthFactor: "20",
1714
+ compositTitleSize: 35,
1715
+ radius: 5,
1716
+ defaultRenderer: "dagre-wrapper"
1717
+ },
1718
+ er: {
1719
+ useMaxWidth: !0,
1720
+ titleTopMargin: 25,
1721
+ diagramPadding: 20,
1722
+ layoutDirection: "TB",
1723
+ minEntityWidth: 100,
1724
+ minEntityHeight: 75,
1725
+ entityPadding: 15,
1726
+ nodeSpacing: 140,
1727
+ rankSpacing: 80,
1728
+ stroke: "gray",
1729
+ fill: "honeydew",
1730
+ fontSize: 12
1731
+ },
1732
+ pie: {
1733
+ useMaxWidth: !0,
1734
+ textPosition: .75
1735
+ },
1736
+ quadrantChart: {
1737
+ useMaxWidth: !0,
1738
+ chartWidth: 500,
1739
+ chartHeight: 500,
1740
+ titleFontSize: 20,
1741
+ titlePadding: 10,
1742
+ quadrantPadding: 5,
1743
+ xAxisLabelPadding: 5,
1744
+ yAxisLabelPadding: 5,
1745
+ xAxisLabelFontSize: 16,
1746
+ yAxisLabelFontSize: 16,
1747
+ quadrantLabelFontSize: 16,
1748
+ quadrantTextTopPadding: 5,
1749
+ pointTextPadding: 5,
1750
+ pointLabelFontSize: 12,
1751
+ pointRadius: 5,
1752
+ xAxisPosition: "top",
1753
+ yAxisPosition: "left",
1754
+ quadrantInternalBorderStrokeWidth: 1,
1755
+ quadrantExternalBorderStrokeWidth: 2
1756
+ },
1757
+ xyChart: {
1758
+ useMaxWidth: !0,
1759
+ width: 700,
1760
+ height: 500,
1761
+ titleFontSize: 20,
1762
+ titlePadding: 10,
1763
+ showDataLabel: !1,
1764
+ showTitle: !0,
1765
+ xAxis: {
1766
+ $ref: "#/$defs/XYChartAxisConfig",
1767
+ showLabel: !0,
1768
+ labelFontSize: 14,
1769
+ labelPadding: 5,
1770
+ showTitle: !0,
1771
+ titleFontSize: 16,
1772
+ titlePadding: 5,
1773
+ showTick: !0,
1774
+ tickLength: 5,
1775
+ tickWidth: 2,
1776
+ showAxisLine: !0,
1777
+ axisLineWidth: 2
1778
+ },
1779
+ yAxis: {
1780
+ $ref: "#/$defs/XYChartAxisConfig",
1781
+ showLabel: !0,
1782
+ labelFontSize: 14,
1783
+ labelPadding: 5,
1784
+ showTitle: !0,
1785
+ titleFontSize: 16,
1786
+ titlePadding: 5,
1787
+ showTick: !0,
1788
+ tickLength: 5,
1789
+ tickWidth: 2,
1790
+ showAxisLine: !0,
1791
+ axisLineWidth: 2
1792
+ },
1793
+ chartOrientation: "vertical",
1794
+ plotReservedSpacePercent: 50
1795
+ },
1796
+ requirement: {
1797
+ useMaxWidth: !0,
1798
+ rect_fill: "#f9f9f9",
1799
+ text_color: "#333",
1800
+ rect_border_size: "0.5px",
1801
+ rect_border_color: "#bbb",
1802
+ rect_min_width: 200,
1803
+ rect_min_height: 200,
1804
+ fontSize: 14,
1805
+ rect_padding: 10,
1806
+ line_height: 20
1807
+ },
1808
+ mindmap: {
1809
+ useMaxWidth: !0,
1810
+ padding: 10,
1811
+ maxNodeWidth: 200,
1812
+ layoutAlgorithm: "cose-bilkent"
1813
+ },
1814
+ ishikawa: {
1815
+ useMaxWidth: !0,
1816
+ diagramPadding: 20
1817
+ },
1818
+ kanban: {
1819
+ useMaxWidth: !0,
1820
+ padding: 8,
1821
+ sectionWidth: 200,
1822
+ ticketBaseUrl: ""
1823
+ },
1824
+ timeline: {
1825
+ useMaxWidth: !0,
1826
+ diagramMarginX: 50,
1827
+ diagramMarginY: 10,
1828
+ leftMargin: 150,
1829
+ width: 150,
1830
+ height: 50,
1831
+ boxMargin: 10,
1832
+ boxTextMargin: 5,
1833
+ noteMargin: 10,
1834
+ messageMargin: 35,
1835
+ messageAlign: "center",
1836
+ bottomMarginAdj: 1,
1837
+ rightAngles: !1,
1838
+ taskFontSize: 14,
1839
+ taskFontFamily: "\"Open Sans\", sans-serif",
1840
+ taskMargin: 50,
1841
+ activationWidth: 10,
1842
+ textPlacement: "fo",
1843
+ actorColours: [
1844
+ "#8FBC8F",
1845
+ "#7CFC00",
1846
+ "#00FFFF",
1847
+ "#20B2AA",
1848
+ "#B0E0E6",
1849
+ "#FFFFE0"
1850
+ ],
1851
+ sectionFills: [
1852
+ "#191970",
1853
+ "#8B008B",
1854
+ "#4B0082",
1855
+ "#2F4F4F",
1856
+ "#800000",
1857
+ "#8B4513",
1858
+ "#00008B"
1859
+ ],
1860
+ sectionColours: ["#fff"],
1861
+ disableMulticolor: !1
1862
+ },
1863
+ gitGraph: {
1864
+ useMaxWidth: !0,
1865
+ titleTopMargin: 25,
1866
+ diagramPadding: 8,
1867
+ nodeLabel: {
1868
+ width: 75,
1869
+ height: 100,
1870
+ x: -25,
1871
+ y: 0
1872
+ },
1873
+ mainBranchName: "main",
1874
+ mainBranchOrder: 0,
1875
+ showCommitLabel: !0,
1876
+ showBranches: !0,
1877
+ rotateCommitLabel: !0,
1878
+ parallelCommits: !1,
1879
+ arrowMarkerAbsolute: !1
1880
+ },
1881
+ c4: {
1882
+ useMaxWidth: !0,
1883
+ diagramMarginX: 50,
1884
+ diagramMarginY: 10,
1885
+ c4ShapeMargin: 50,
1886
+ c4ShapePadding: 20,
1887
+ width: 216,
1888
+ height: 60,
1889
+ boxMargin: 10,
1890
+ c4ShapeInRow: 4,
1891
+ nextLinePaddingX: 0,
1892
+ c4BoundaryInRow: 2,
1893
+ personFontSize: 14,
1894
+ personFontFamily: "\"Open Sans\", sans-serif",
1895
+ personFontWeight: "normal",
1896
+ external_personFontSize: 14,
1897
+ external_personFontFamily: "\"Open Sans\", sans-serif",
1898
+ external_personFontWeight: "normal",
1899
+ systemFontSize: 14,
1900
+ systemFontFamily: "\"Open Sans\", sans-serif",
1901
+ systemFontWeight: "normal",
1902
+ external_systemFontSize: 14,
1903
+ external_systemFontFamily: "\"Open Sans\", sans-serif",
1904
+ external_systemFontWeight: "normal",
1905
+ system_dbFontSize: 14,
1906
+ system_dbFontFamily: "\"Open Sans\", sans-serif",
1907
+ system_dbFontWeight: "normal",
1908
+ external_system_dbFontSize: 14,
1909
+ external_system_dbFontFamily: "\"Open Sans\", sans-serif",
1910
+ external_system_dbFontWeight: "normal",
1911
+ system_queueFontSize: 14,
1912
+ system_queueFontFamily: "\"Open Sans\", sans-serif",
1913
+ system_queueFontWeight: "normal",
1914
+ external_system_queueFontSize: 14,
1915
+ external_system_queueFontFamily: "\"Open Sans\", sans-serif",
1916
+ external_system_queueFontWeight: "normal",
1917
+ boundaryFontSize: 14,
1918
+ boundaryFontFamily: "\"Open Sans\", sans-serif",
1919
+ boundaryFontWeight: "normal",
1920
+ messageFontSize: 12,
1921
+ messageFontFamily: "\"Open Sans\", sans-serif",
1922
+ messageFontWeight: "normal",
1923
+ containerFontSize: 14,
1924
+ containerFontFamily: "\"Open Sans\", sans-serif",
1925
+ containerFontWeight: "normal",
1926
+ external_containerFontSize: 14,
1927
+ external_containerFontFamily: "\"Open Sans\", sans-serif",
1928
+ external_containerFontWeight: "normal",
1929
+ container_dbFontSize: 14,
1930
+ container_dbFontFamily: "\"Open Sans\", sans-serif",
1931
+ container_dbFontWeight: "normal",
1932
+ external_container_dbFontSize: 14,
1933
+ external_container_dbFontFamily: "\"Open Sans\", sans-serif",
1934
+ external_container_dbFontWeight: "normal",
1935
+ container_queueFontSize: 14,
1936
+ container_queueFontFamily: "\"Open Sans\", sans-serif",
1937
+ container_queueFontWeight: "normal",
1938
+ external_container_queueFontSize: 14,
1939
+ external_container_queueFontFamily: "\"Open Sans\", sans-serif",
1940
+ external_container_queueFontWeight: "normal",
1941
+ componentFontSize: 14,
1942
+ componentFontFamily: "\"Open Sans\", sans-serif",
1943
+ componentFontWeight: "normal",
1944
+ external_componentFontSize: 14,
1945
+ external_componentFontFamily: "\"Open Sans\", sans-serif",
1946
+ external_componentFontWeight: "normal",
1947
+ component_dbFontSize: 14,
1948
+ component_dbFontFamily: "\"Open Sans\", sans-serif",
1949
+ component_dbFontWeight: "normal",
1950
+ external_component_dbFontSize: 14,
1951
+ external_component_dbFontFamily: "\"Open Sans\", sans-serif",
1952
+ external_component_dbFontWeight: "normal",
1953
+ component_queueFontSize: 14,
1954
+ component_queueFontFamily: "\"Open Sans\", sans-serif",
1955
+ component_queueFontWeight: "normal",
1956
+ external_component_queueFontSize: 14,
1957
+ external_component_queueFontFamily: "\"Open Sans\", sans-serif",
1958
+ external_component_queueFontWeight: "normal",
1959
+ wrap: !0,
1960
+ wrapPadding: 10,
1961
+ person_bg_color: "#08427B",
1962
+ person_border_color: "#073B6F",
1963
+ external_person_bg_color: "#686868",
1964
+ external_person_border_color: "#8A8A8A",
1965
+ system_bg_color: "#1168BD",
1966
+ system_border_color: "#3C7FC0",
1967
+ system_db_bg_color: "#1168BD",
1968
+ system_db_border_color: "#3C7FC0",
1969
+ system_queue_bg_color: "#1168BD",
1970
+ system_queue_border_color: "#3C7FC0",
1971
+ external_system_bg_color: "#999999",
1972
+ external_system_border_color: "#8A8A8A",
1973
+ external_system_db_bg_color: "#999999",
1974
+ external_system_db_border_color: "#8A8A8A",
1975
+ external_system_queue_bg_color: "#999999",
1976
+ external_system_queue_border_color: "#8A8A8A",
1977
+ container_bg_color: "#438DD5",
1978
+ container_border_color: "#3C7FC0",
1979
+ container_db_bg_color: "#438DD5",
1980
+ container_db_border_color: "#3C7FC0",
1981
+ container_queue_bg_color: "#438DD5",
1982
+ container_queue_border_color: "#3C7FC0",
1983
+ external_container_bg_color: "#B3B3B3",
1984
+ external_container_border_color: "#A6A6A6",
1985
+ external_container_db_bg_color: "#B3B3B3",
1986
+ external_container_db_border_color: "#A6A6A6",
1987
+ external_container_queue_bg_color: "#B3B3B3",
1988
+ external_container_queue_border_color: "#A6A6A6",
1989
+ component_bg_color: "#85BBF0",
1990
+ component_border_color: "#78A8D8",
1991
+ component_db_bg_color: "#85BBF0",
1992
+ component_db_border_color: "#78A8D8",
1993
+ component_queue_bg_color: "#85BBF0",
1994
+ component_queue_border_color: "#78A8D8",
1995
+ external_component_bg_color: "#CCCCCC",
1996
+ external_component_border_color: "#BFBFBF",
1997
+ external_component_db_bg_color: "#CCCCCC",
1998
+ external_component_db_border_color: "#BFBFBF",
1999
+ external_component_queue_bg_color: "#CCCCCC",
2000
+ external_component_queue_border_color: "#BFBFBF"
2001
+ },
2002
+ sankey: {
2003
+ useMaxWidth: !0,
2004
+ width: 600,
2005
+ height: 400,
2006
+ linkColor: "gradient",
2007
+ nodeAlignment: "justify",
2008
+ showValues: !0,
2009
+ prefix: "",
2010
+ suffix: ""
2011
+ },
2012
+ block: {
2013
+ useMaxWidth: !0,
2014
+ padding: 8
2015
+ },
2016
+ packet: {
2017
+ useMaxWidth: !0,
2018
+ rowHeight: 32,
2019
+ bitWidth: 32,
2020
+ bitsPerRow: 32,
2021
+ showBits: !0,
2022
+ paddingX: 5,
2023
+ paddingY: 5
2024
+ },
2025
+ architecture: {
2026
+ useMaxWidth: !0,
2027
+ padding: 40,
2028
+ iconSize: 80,
2029
+ fontSize: 16
2030
+ },
2031
+ radar: {
2032
+ useMaxWidth: !0,
2033
+ width: 600,
2034
+ height: 600,
2035
+ marginTop: 50,
2036
+ marginRight: 50,
2037
+ marginBottom: 50,
2038
+ marginLeft: 50,
2039
+ axisScaleFactor: 1,
2040
+ axisLabelFactor: 1.05,
2041
+ curveTension: .17
2042
+ },
2043
+ venn: {
2044
+ useMaxWidth: !0,
2045
+ width: 800,
2046
+ height: 450,
2047
+ padding: 8,
2048
+ useDebugLayout: !1
2049
+ },
2050
+ theme: "default",
2051
+ look: "classic",
2052
+ handDrawnSeed: 0,
2053
+ layout: "dagre",
2054
+ maxTextSize: 5e4,
2055
+ maxEdges: 500,
2056
+ darkMode: !1,
2057
+ fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
2058
+ logLevel: 5,
2059
+ securityLevel: "strict",
2060
+ startOnLoad: !0,
2061
+ arrowMarkerAbsolute: !1,
2062
+ secure: [
2063
+ "secure",
2064
+ "securityLevel",
2065
+ "startOnLoad",
2066
+ "maxTextSize",
2067
+ "suppressErrorRendering",
2068
+ "maxEdges"
2069
+ ],
2070
+ legacyMathML: !1,
2071
+ forceLegacyMathML: !1,
2072
+ deterministicIds: !1,
2073
+ fontSize: 16,
2074
+ markdownAutoWrap: !0,
2075
+ suppressErrorRendering: !1
2076
+ }, W = {
2077
+ ...U,
2078
+ deterministicIDSeed: void 0,
2079
+ elk: {
2080
+ mergeEdges: !1,
2081
+ nodePlacementStrategy: "BRANDES_KOEPF",
2082
+ forceNodeModelOrder: !1,
2083
+ considerModelOrder: "NODES_AND_EDGES"
2084
+ },
2085
+ themeCSS: void 0,
2086
+ themeVariables: H.default.getThemeVariables(),
2087
+ sequence: {
2088
+ ...U.sequence,
2089
+ messageFont: /* @__PURE__ */ n(function() {
2090
+ return {
2091
+ fontFamily: this.messageFontFamily,
2092
+ fontSize: this.messageFontSize,
2093
+ fontWeight: this.messageFontWeight
2094
+ };
2095
+ }, "messageFont"),
2096
+ noteFont: /* @__PURE__ */ n(function() {
2097
+ return {
2098
+ fontFamily: this.noteFontFamily,
2099
+ fontSize: this.noteFontSize,
2100
+ fontWeight: this.noteFontWeight
2101
+ };
2102
+ }, "noteFont"),
2103
+ actorFont: /* @__PURE__ */ n(function() {
2104
+ return {
2105
+ fontFamily: this.actorFontFamily,
2106
+ fontSize: this.actorFontSize,
2107
+ fontWeight: this.actorFontWeight
2108
+ };
2109
+ }, "actorFont")
2110
+ },
2111
+ class: { hideEmptyMembersBox: !1 },
2112
+ gantt: {
2113
+ ...U.gantt,
2114
+ tickInterval: void 0,
2115
+ useWidth: void 0
2116
+ },
2117
+ c4: {
2118
+ ...U.c4,
2119
+ useWidth: void 0,
2120
+ personFont: /* @__PURE__ */ n(function() {
2121
+ return {
2122
+ fontFamily: this.personFontFamily,
2123
+ fontSize: this.personFontSize,
2124
+ fontWeight: this.personFontWeight
2125
+ };
2126
+ }, "personFont"),
2127
+ flowchart: {
2128
+ ...U.flowchart,
2129
+ inheritDir: !1
2130
+ },
2131
+ external_personFont: /* @__PURE__ */ n(function() {
2132
+ return {
2133
+ fontFamily: this.external_personFontFamily,
2134
+ fontSize: this.external_personFontSize,
2135
+ fontWeight: this.external_personFontWeight
2136
+ };
2137
+ }, "external_personFont"),
2138
+ systemFont: /* @__PURE__ */ n(function() {
2139
+ return {
2140
+ fontFamily: this.systemFontFamily,
2141
+ fontSize: this.systemFontSize,
2142
+ fontWeight: this.systemFontWeight
2143
+ };
2144
+ }, "systemFont"),
2145
+ external_systemFont: /* @__PURE__ */ n(function() {
2146
+ return {
2147
+ fontFamily: this.external_systemFontFamily,
2148
+ fontSize: this.external_systemFontSize,
2149
+ fontWeight: this.external_systemFontWeight
2150
+ };
2151
+ }, "external_systemFont"),
2152
+ system_dbFont: /* @__PURE__ */ n(function() {
2153
+ return {
2154
+ fontFamily: this.system_dbFontFamily,
2155
+ fontSize: this.system_dbFontSize,
2156
+ fontWeight: this.system_dbFontWeight
2157
+ };
2158
+ }, "system_dbFont"),
2159
+ external_system_dbFont: /* @__PURE__ */ n(function() {
2160
+ return {
2161
+ fontFamily: this.external_system_dbFontFamily,
2162
+ fontSize: this.external_system_dbFontSize,
2163
+ fontWeight: this.external_system_dbFontWeight
2164
+ };
2165
+ }, "external_system_dbFont"),
2166
+ system_queueFont: /* @__PURE__ */ n(function() {
2167
+ return {
2168
+ fontFamily: this.system_queueFontFamily,
2169
+ fontSize: this.system_queueFontSize,
2170
+ fontWeight: this.system_queueFontWeight
2171
+ };
2172
+ }, "system_queueFont"),
2173
+ external_system_queueFont: /* @__PURE__ */ n(function() {
2174
+ return {
2175
+ fontFamily: this.external_system_queueFontFamily,
2176
+ fontSize: this.external_system_queueFontSize,
2177
+ fontWeight: this.external_system_queueFontWeight
2178
+ };
2179
+ }, "external_system_queueFont"),
2180
+ containerFont: /* @__PURE__ */ n(function() {
2181
+ return {
2182
+ fontFamily: this.containerFontFamily,
2183
+ fontSize: this.containerFontSize,
2184
+ fontWeight: this.containerFontWeight
2185
+ };
2186
+ }, "containerFont"),
2187
+ external_containerFont: /* @__PURE__ */ n(function() {
2188
+ return {
2189
+ fontFamily: this.external_containerFontFamily,
2190
+ fontSize: this.external_containerFontSize,
2191
+ fontWeight: this.external_containerFontWeight
2192
+ };
2193
+ }, "external_containerFont"),
2194
+ container_dbFont: /* @__PURE__ */ n(function() {
2195
+ return {
2196
+ fontFamily: this.container_dbFontFamily,
2197
+ fontSize: this.container_dbFontSize,
2198
+ fontWeight: this.container_dbFontWeight
2199
+ };
2200
+ }, "container_dbFont"),
2201
+ external_container_dbFont: /* @__PURE__ */ n(function() {
2202
+ return {
2203
+ fontFamily: this.external_container_dbFontFamily,
2204
+ fontSize: this.external_container_dbFontSize,
2205
+ fontWeight: this.external_container_dbFontWeight
2206
+ };
2207
+ }, "external_container_dbFont"),
2208
+ container_queueFont: /* @__PURE__ */ n(function() {
2209
+ return {
2210
+ fontFamily: this.container_queueFontFamily,
2211
+ fontSize: this.container_queueFontSize,
2212
+ fontWeight: this.container_queueFontWeight
2213
+ };
2214
+ }, "container_queueFont"),
2215
+ external_container_queueFont: /* @__PURE__ */ n(function() {
2216
+ return {
2217
+ fontFamily: this.external_container_queueFontFamily,
2218
+ fontSize: this.external_container_queueFontSize,
2219
+ fontWeight: this.external_container_queueFontWeight
2220
+ };
2221
+ }, "external_container_queueFont"),
2222
+ componentFont: /* @__PURE__ */ n(function() {
2223
+ return {
2224
+ fontFamily: this.componentFontFamily,
2225
+ fontSize: this.componentFontSize,
2226
+ fontWeight: this.componentFontWeight
2227
+ };
2228
+ }, "componentFont"),
2229
+ external_componentFont: /* @__PURE__ */ n(function() {
2230
+ return {
2231
+ fontFamily: this.external_componentFontFamily,
2232
+ fontSize: this.external_componentFontSize,
2233
+ fontWeight: this.external_componentFontWeight
2234
+ };
2235
+ }, "external_componentFont"),
2236
+ component_dbFont: /* @__PURE__ */ n(function() {
2237
+ return {
2238
+ fontFamily: this.component_dbFontFamily,
2239
+ fontSize: this.component_dbFontSize,
2240
+ fontWeight: this.component_dbFontWeight
2241
+ };
2242
+ }, "component_dbFont"),
2243
+ external_component_dbFont: /* @__PURE__ */ n(function() {
2244
+ return {
2245
+ fontFamily: this.external_component_dbFontFamily,
2246
+ fontSize: this.external_component_dbFontSize,
2247
+ fontWeight: this.external_component_dbFontWeight
2248
+ };
2249
+ }, "external_component_dbFont"),
2250
+ component_queueFont: /* @__PURE__ */ n(function() {
2251
+ return {
2252
+ fontFamily: this.component_queueFontFamily,
2253
+ fontSize: this.component_queueFontSize,
2254
+ fontWeight: this.component_queueFontWeight
2255
+ };
2256
+ }, "component_queueFont"),
2257
+ external_component_queueFont: /* @__PURE__ */ n(function() {
2258
+ return {
2259
+ fontFamily: this.external_component_queueFontFamily,
2260
+ fontSize: this.external_component_queueFontSize,
2261
+ fontWeight: this.external_component_queueFontWeight
2262
+ };
2263
+ }, "external_component_queueFont"),
2264
+ boundaryFont: /* @__PURE__ */ n(function() {
2265
+ return {
2266
+ fontFamily: this.boundaryFontFamily,
2267
+ fontSize: this.boundaryFontSize,
2268
+ fontWeight: this.boundaryFontWeight
2269
+ };
2270
+ }, "boundaryFont"),
2271
+ messageFont: /* @__PURE__ */ n(function() {
2272
+ return {
2273
+ fontFamily: this.messageFontFamily,
2274
+ fontSize: this.messageFontSize,
2275
+ fontWeight: this.messageFontWeight
2276
+ };
2277
+ }, "messageFont")
2278
+ },
2279
+ pie: {
2280
+ ...U.pie,
2281
+ useWidth: 984
2282
+ },
2283
+ xyChart: {
2284
+ ...U.xyChart,
2285
+ useWidth: void 0
2286
+ },
2287
+ requirement: {
2288
+ ...U.requirement,
2289
+ useWidth: void 0
2290
+ },
2291
+ packet: { ...U.packet },
2292
+ radar: { ...U.radar },
2293
+ ishikawa: { ...U.ishikawa },
2294
+ treemap: {
2295
+ useMaxWidth: !0,
2296
+ padding: 10,
2297
+ diagramPadding: 8,
2298
+ showValues: !0,
2299
+ nodeWidth: 100,
2300
+ nodeHeight: 40,
2301
+ borderWidth: 1,
2302
+ valueFontSize: 12,
2303
+ labelFontSize: 14,
2304
+ valueFormat: ","
2305
+ },
2306
+ venn: { ...U.venn }
2307
+ }, G = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
2308
+ ...n,
2309
+ t + r,
2310
+ ...G(e[r], "")
2311
+ ] : [...n, t + r], []), "keyify"), dt = new Set(G(W, "")), ft = W, pt = /* @__PURE__ */ n((e) => {
2312
+ if (t.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
2313
+ if (Array.isArray(e)) {
2314
+ e.forEach((e) => pt(e));
2315
+ return;
2316
+ }
2317
+ for (let n of Object.keys(e)) {
2318
+ if (t.debug("Checking key", n), n.startsWith("__") || n.includes("proto") || n.includes("constr") || !dt.has(n) || e[n] == null) {
2319
+ t.debug("sanitize deleting key: ", n), delete e[n];
2320
+ continue;
2321
+ }
2322
+ if (typeof e[n] == "object") {
2323
+ t.debug("sanitizing object", n), pt(e[n]);
2324
+ continue;
2325
+ }
2326
+ for (let r of [
2327
+ "themeCSS",
2328
+ "fontFamily",
2329
+ "altFontFamily"
2330
+ ]) n.includes(r) && (t.debug("sanitizing css option", n), e[n] = mt(e[n]));
2331
+ }
2332
+ if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
2333
+ let n = e.themeVariables[t];
2334
+ n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
2335
+ }
2336
+ t.debug("After sanitization", e);
2337
+ }
2338
+ }, "sanitizeDirective"), mt = /* @__PURE__ */ n((e) => {
2339
+ let t = 0, n = 0;
2340
+ for (let r of e) {
2341
+ if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
2342
+ r === "{" ? t++ : r === "}" && n++;
2343
+ }
2344
+ return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
2345
+ }, "sanitizeCss"), K = Object.freeze(ft), ht = /* @__PURE__ */ n((e) => !(e === !1 || [
2346
+ "false",
2347
+ "null",
2348
+ "0"
2349
+ ].includes(String(e).trim().toLowerCase())), "evaluate"), q = L({}, K), gt, J = [], Y = L({}, K), _t = /* @__PURE__ */ n((e, t) => {
2350
+ let n = L({}, e), r = {};
2351
+ for (let e of t) Z(e), r = L(r, e);
2352
+ if (n = L(n, r), r.theme && r.theme in H) {
2353
+ let e = L(L({}, gt).themeVariables || {}, r.themeVariables);
2354
+ n.theme && n.theme in H && (n.themeVariables = H[n.theme].getThemeVariables(e));
2355
+ }
2356
+ return Y = n, Dt(Y), Y;
2357
+ }, "updateCurrentConfig"), vt = /* @__PURE__ */ n((e) => (q = L({}, K), q = L(q, e), e.theme && H[e.theme] && (q.themeVariables = H[e.theme].getThemeVariables(e.themeVariables)), _t(q, J), q), "setSiteConfig"), yt = /* @__PURE__ */ n((e) => {
2358
+ gt = L({}, e);
2359
+ }, "saveConfigFromInitialize"), bt = /* @__PURE__ */ n((e) => (q = L(q, e), _t(q, J), q), "updateSiteConfig"), xt = /* @__PURE__ */ n(() => L({}, q), "getSiteConfig"), St = /* @__PURE__ */ n((e) => (Dt(e), L(Y, e), X()), "setConfig"), X = /* @__PURE__ */ n(() => L({}, Y), "getConfig"), Z = /* @__PURE__ */ n((e) => {
2360
+ e && (["secure", ...q.secure ?? []].forEach((n) => {
2361
+ Object.hasOwn(e, n) && (t.debug(`Denied attempt to modify a secure key ${n}`, e[n]), delete e[n]);
2362
+ }), Object.keys(e).forEach((t) => {
2363
+ t.startsWith("__") && delete e[t];
2364
+ }), Object.keys(e).forEach((t) => {
2365
+ typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Z(e[t]);
2366
+ }));
2367
+ }, "sanitize"), Ct = /* @__PURE__ */ n((e) => {
2368
+ pt(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
2369
+ ...e.themeVariables,
2370
+ fontFamily: e.fontFamily
2371
+ }), J.push(e), _t(q, J);
2372
+ }, "addDirective"), wt = /* @__PURE__ */ n((e = q) => {
2373
+ J = [], _t(e, J);
2374
+ }, "reset"), Tt = {
2375
+ LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
2376
+ FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
2377
+ }, Et = {}, Q = /* @__PURE__ */ n((e) => {
2378
+ Et[e] || (t.warn(Tt[e]), Et[e] = !0);
2379
+ }, "issueWarning"), Dt = /* @__PURE__ */ n((e) => {
2380
+ e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Q("LAZY_LOAD_DEPRECATED");
2381
+ }, "checkConfig"), Ot = /* @__PURE__ */ n(() => {
2382
+ let e = {};
2383
+ gt && (e = L(e, gt));
2384
+ for (let t of J) e = L(e, t);
2385
+ return e;
2386
+ }, "getUserDefinedConfig"), kt = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && Q("FLOWCHART_HTML_LABELS_DEPRECATED"), ht(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), $ = /<br\s*\/?>/gi, At = /* @__PURE__ */ n((e) => e ? Bt(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), jt = /* @__PURE__ */ (() => {
2387
+ let e = !1;
2388
+ return () => {
2389
+ e ||= (Mt(), !0);
2390
+ };
2391
+ })();
2392
+ function Mt() {
2393
+ let e = "data-temp-href-target";
2394
+ N.addHook("beforeSanitizeAttributes", (t) => {
2395
+ t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
2396
+ }), N.addHook("afterSanitizeAttributes", (t) => {
2397
+ t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
2398
+ });
2399
+ }
2400
+ n(Mt, "setupDompurifyHooks");
2401
+ var Nt = /* @__PURE__ */ n((e) => (jt(), N.sanitize(e)), "removeScript"), Pt = /* @__PURE__ */ n((e, t) => {
2402
+ if (kt(t)) {
2403
+ let n = t.securityLevel;
2404
+ n === "antiscript" || n === "strict" || n === "sandbox" ? e = Nt(e) : n !== "loose" && (e = Bt(e), e = e.replace(/</g, "&lt;").replace(/>/g, "&gt;"), e = e.replace(/=/g, "&equals;"), e = zt(e));
2405
+ }
2406
+ return e;
2407
+ }, "sanitizeMore"), Ft = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? N.sanitize(Pt(e, t), t.dompurifyConfig).toString() : N.sanitize(Pt(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), It = /* @__PURE__ */ n((e, t) => typeof e == "string" ? Ft(e, t) : e.flat().map((e) => Ft(e, t)), "sanitizeTextOrArray"), Lt = /* @__PURE__ */ n((e) => $.test(e), "hasBreaks"), Rt = /* @__PURE__ */ n((e) => e.split($), "splitBreaks"), zt = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Bt = /* @__PURE__ */ n((e) => e.replace($, "#br#"), "breakToPlaceholder"), Vt = /* @__PURE__ */ n((e) => {
2408
+ let t = "";
2409
+ return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
2410
+ }, "getUrl"), Ht = /* @__PURE__ */ n(function(...e) {
2411
+ let t = e.filter((e) => !isNaN(e));
2412
+ return Math.max(...t);
2413
+ }, "getMax"), Ut = /* @__PURE__ */ n(function(...e) {
2414
+ let t = e.filter((e) => !isNaN(e));
2415
+ return Math.min(...t);
2416
+ }, "getMin"), Wt = /* @__PURE__ */ n(function(e) {
2417
+ let t = e.split(/(,)/), n = [];
2418
+ for (let e = 0; e < t.length; e++) {
2419
+ let r = t[e];
2420
+ if (r === "," && e > 0 && e + 1 < t.length) {
2421
+ let i = t[e - 1], a = t[e + 1];
2422
+ Kt(i, a) && (r = i + "," + a, e++, n.pop());
2423
+ }
2424
+ n.push(qt(r));
2425
+ }
2426
+ return n.join("");
2427
+ }, "parseGenericTypes"), Gt = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), Kt = /* @__PURE__ */ n((e, t) => {
2428
+ let n = Gt(e, "~"), r = Gt(t, "~");
2429
+ return n === 1 && r === 1;
2430
+ }, "shouldCombineSets"), qt = /* @__PURE__ */ n((e) => {
2431
+ let t = Gt(e, "~"), n = !1;
2432
+ if (t <= 1) return e;
2433
+ t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
2434
+ let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
2435
+ for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
2436
+ return n && r.unshift("~"), r.join("");
2437
+ }, "processSet"), Jt = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), Yt = /\$\$(.*)\$\$/g, Xt = /* @__PURE__ */ n((e) => (e.match(Yt)?.length ?? 0) > 0, "hasKatex"), Zt = /* @__PURE__ */ n(async (e, t) => {
2438
+ let n = document.createElement("div");
2439
+ n.innerHTML = await $t(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
2440
+ let r = {
2441
+ width: n.clientWidth,
2442
+ height: n.clientHeight
2443
+ };
2444
+ return n.remove(), r;
2445
+ }, "calculateMathMLDimensions"), Qt = /* @__PURE__ */ n(async (e, t) => {
2446
+ if (!Xt(e)) return e;
2447
+ if (!(Jt() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Yt, "MathML is unsupported in this environment.");
2448
+ {
2449
+ let { default: n } = await import("./katex-B-Nju2J8.js"), r = t.forceLegacyMathML || !Jt() && t.legacyMathML ? "htmlAndMathml" : "mathml";
2450
+ return e.split($).map((e) => Xt(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Yt, (e, t) => n.renderToString(t, {
2451
+ throwOnError: !0,
2452
+ displayMode: !0,
2453
+ output: r
2454
+ }).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
2455
+ }
2456
+ return e.replace(Yt, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
2457
+ }, "renderKatexUnsanitized"), $t = /* @__PURE__ */ n(async (e, t) => Ft(await Qt(e, t), t), "renderKatexSanitized"), en = {
2458
+ getRows: At,
2459
+ sanitizeText: Ft,
2460
+ sanitizeTextOrArray: It,
2461
+ hasBreaks: Lt,
2462
+ splitBreaks: Rt,
2463
+ lineBreakRegex: $,
2464
+ removeScript: Nt,
2465
+ getUrl: Vt,
2466
+ evaluate: ht,
2467
+ getMax: Ht,
2468
+ getMin: Ut
2469
+ }, tn = /* @__PURE__ */ n(function(e, t) {
2470
+ for (let n of t) e.attr(n[0], n[1]);
2471
+ }, "d3Attrs"), nn = /* @__PURE__ */ n(function(e, t, n) {
2472
+ let r = /* @__PURE__ */ new Map();
2473
+ return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
2474
+ }, "calculateSvgSizeAttrs"), rn = /* @__PURE__ */ n(function(e, t, n, r) {
2475
+ tn(e, nn(t, n, r));
2476
+ }, "configureSvgSize"), an = /* @__PURE__ */ n(function(e, n, r, i) {
2477
+ let a = n.node().getBBox(), o = a.width, s = a.height;
2478
+ t.info(`SVG bounds: ${o}x${s}`, a);
2479
+ let c = 0, l = 0;
2480
+ t.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, t.info(`Calculated bounds: ${c}x${l}`), rn(n, l, c, i);
2481
+ let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
2482
+ n.attr("viewBox", u);
2483
+ }, "setupGraphViewbox"), on = {}, sn = /* @__PURE__ */ n((e, n, r) => {
2484
+ let i = "";
2485
+ return e in on && on[e] ? i = on[e](r) : t.warn(`No theme found for ${e}`), ` & {
2486
+ font-family: ${r.fontFamily};
2487
+ font-size: ${r.fontSize};
2488
+ fill: ${r.textColor}
2489
+ }
2490
+ @keyframes edge-animation-frame {
2491
+ from {
2492
+ stroke-dashoffset: 0;
2493
+ }
2494
+ }
2495
+ @keyframes dash {
2496
+ to {
2497
+ stroke-dashoffset: 0;
2498
+ }
2499
+ }
2500
+ & .edge-animation-slow {
2501
+ stroke-dasharray: 9,5 !important;
2502
+ stroke-dashoffset: 900;
2503
+ animation: dash 50s linear infinite;
2504
+ stroke-linecap: round;
2505
+ }
2506
+ & .edge-animation-fast {
2507
+ stroke-dasharray: 9,5 !important;
2508
+ stroke-dashoffset: 900;
2509
+ animation: dash 20s linear infinite;
2510
+ stroke-linecap: round;
2511
+ }
2512
+ /* Classes common for multiple diagrams */
2513
+
2514
+ & .error-icon {
2515
+ fill: ${r.errorBkgColor};
2516
+ }
2517
+ & .error-text {
2518
+ fill: ${r.errorTextColor};
2519
+ stroke: ${r.errorTextColor};
2520
+ }
2521
+
2522
+ & .edge-thickness-normal {
2523
+ stroke-width: 1px;
2524
+ }
2525
+ & .edge-thickness-thick {
2526
+ stroke-width: 3.5px
2527
+ }
2528
+ & .edge-pattern-solid {
2529
+ stroke-dasharray: 0;
2530
+ }
2531
+ & .edge-thickness-invisible {
2532
+ stroke-width: 0;
2533
+ fill: none;
2534
+ }
2535
+ & .edge-pattern-dashed{
2536
+ stroke-dasharray: 3;
2537
+ }
2538
+ .edge-pattern-dotted {
2539
+ stroke-dasharray: 2;
2540
+ }
2541
+
2542
+ & .marker {
2543
+ fill: ${r.lineColor};
2544
+ stroke: ${r.lineColor};
2545
+ }
2546
+ & .marker.cross {
2547
+ stroke: ${r.lineColor};
2548
+ }
2549
+
2550
+ & svg {
2551
+ font-family: ${r.fontFamily};
2552
+ font-size: ${r.fontSize};
2553
+ }
2554
+ & p {
2555
+ margin: 0
2556
+ }
2557
+
2558
+ ${i}
2559
+
2560
+ ${n}
2561
+ `;
2562
+ }, "getStyles"), cn = /* @__PURE__ */ n((e, t) => {
2563
+ t !== void 0 && (on[e] = t);
2564
+ }, "addStylesForDiagram"), ln = sn, un = {};
2565
+ r(un, {
2566
+ clear: () => hn,
2567
+ getAccDescription: () => yn,
2568
+ getAccTitle: () => _n,
2569
+ getDiagramTitle: () => xn,
2570
+ setAccDescription: () => vn,
2571
+ setAccTitle: () => gn,
2572
+ setDiagramTitle: () => bn
2573
+ });
2574
+ var dn = "", fn = "", pn = "", mn = /* @__PURE__ */ n((e) => Ft(e, X()), "sanitizeText"), hn = /* @__PURE__ */ n(() => {
2575
+ dn = "", pn = "", fn = "";
2576
+ }, "clear"), gn = /* @__PURE__ */ n((e) => {
2577
+ dn = mn(e).replace(/^\s+/g, "");
2578
+ }, "setAccTitle"), _n = /* @__PURE__ */ n(() => dn, "getAccTitle"), vn = /* @__PURE__ */ n((e) => {
2579
+ pn = mn(e).replace(/\n\s+/g, "\n");
2580
+ }, "setAccDescription"), yn = /* @__PURE__ */ n(() => pn, "getAccDescription"), bn = /* @__PURE__ */ n((e) => {
2581
+ fn = mn(e);
2582
+ }, "setDiagramTitle"), xn = /* @__PURE__ */ n(() => fn, "getDiagramTitle"), Sn = t, Cn = e, wn = X, Tn = St, En = K, Dn = /* @__PURE__ */ n((e) => Ft(e, wn()), "sanitizeText"), On = an, kn = /* @__PURE__ */ n(() => un, "getCommonDb"), An = {}, jn = /* @__PURE__ */ n((e, t, n) => {
2583
+ An[e] && Sn.warn(`Diagram with id ${e} already registered. Overwriting.`), An[e] = t, n && tt(e, n), cn(e, t.styles), t.injectUtils?.(Sn, Cn, wn, Dn, On, kn(), () => {});
2584
+ }, "registerDiagram"), Mn = /* @__PURE__ */ n((e) => {
2585
+ if (e in An) return An[e];
2586
+ throw new Nn(e);
2587
+ }, "getDiagram"), Nn = class extends Error {
2588
+ static {
2589
+ n(this, "DiagramNotFoundError");
2590
+ }
2591
+ constructor(e) {
2592
+ super(`Diagram ${e} not found.`);
2593
+ }
2594
+ };
2595
+ //#endregion
2596
+ export { v as $, $ as A, vn as B, xn as C, Vt as D, st as E, wt as F, vt as G, St as H, pt as I, ln as J, an as K, Ft as L, jn as M, F as N, Ot as O, $t as P, y as Q, Dn as R, nt as S, xt as T, Tn as U, gn as V, bn as W, bt as X, H as Y, N as Z, yn as _, hn as a, wn as b, rn as c, ft as d, _ as et, et as f, Xe as g, ht as h, Zt as i, a as it, Wt as j, Xt as k, K as l, Ze as m, Ct as n, ee as nt, un as o, P as p, On as q, L as r, m as rt, en as s, $e as t, g as tt, En as u, _n as v, kt as w, Mn as x, X as y, yt as z };
2597
+
2598
+ //# sourceMappingURL=chunk-7R4GIKGN-CaQJ0QBF.js.map