@sme.up/ketchup2 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/dist/arc-CqG9Hxdf.cjs +1 -0
  2. package/dist/arc-Klgb378K.js +80 -0
  3. package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
  4. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
  5. package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
  6. package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
  7. package/dist/array-D8NZ46Ht.js +6 -0
  8. package/dist/array-Dxz0O8Q3.cjs +1 -0
  9. package/dist/assets/imageListAssets.d.ts +3 -1
  10. package/dist/assets/imageListAssets.d.ts.map +1 -1
  11. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  12. package/dist/basic-components/list/list-types.d.ts +0 -1
  13. package/dist/basic-components/list/list-types.d.ts.map +1 -1
  14. package/dist/basic-components/list/list.d.ts.map +1 -1
  15. package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
  16. package/dist/basic-components/select/select.d.ts.map +1 -1
  17. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  18. package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
  19. package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
  20. package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
  21. package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
  22. package/dist/channel-BY9Lkyz7.cjs +1 -0
  23. package/dist/channel-BqNr2cYO.js +5 -0
  24. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
  25. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
  26. package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
  27. package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
  28. package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
  29. package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
  30. package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
  31. package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
  32. package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
  33. package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
  34. package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
  35. package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
  36. package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
  37. package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
  38. package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
  39. package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
  40. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
  41. package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
  42. package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
  43. package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
  44. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
  45. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
  46. package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
  47. package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
  48. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
  49. package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
  50. package/dist/chunk-D-IZpNpi.cjs +1 -0
  51. package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
  52. package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
  53. package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
  54. package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
  55. package/dist/{chunk-FMBD7UC4-C1wIcaJH.js → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -6
  56. package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
  57. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
  58. package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
  59. package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
  60. package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
  61. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
  62. package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
  63. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
  64. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
  65. package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
  66. package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
  67. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
  68. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
  69. package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
  70. package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
  71. package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
  72. package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
  73. package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
  74. package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
  75. package/dist/chunk-WQLz0Won.js +20 -0
  76. package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
  77. package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
  78. package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
  79. package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
  80. package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
  81. package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
  82. package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
  83. package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
  84. package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
  85. package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
  86. package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
  87. package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
  88. package/dist/clone-Dn__H8fX.js +8 -0
  89. package/dist/clone-lShkT11Q.cjs +1 -0
  90. package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
  91. package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
  92. package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
  93. package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
  94. package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
  95. package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
  96. package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
  97. package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
  98. package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
  99. package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
  100. package/dist/components/image-list/components/image-list-navigation-picker.d.ts +6 -2
  101. package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -1
  102. package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
  103. package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
  104. package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
  105. package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
  106. package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
  107. package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
  108. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  109. package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
  110. package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
  111. package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
  112. package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
  113. package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
  114. package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
  115. package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
  116. package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
  117. package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
  118. package/dist/components/image-list/image-list-context.d.ts +5 -2
  119. package/dist/components/image-list/image-list-context.d.ts.map +1 -1
  120. package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
  121. package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
  122. package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
  123. package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
  124. package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
  125. package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
  126. package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
  127. package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
  128. package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
  129. package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
  130. package/dist/components/image-list/image-list-state-context.d.ts +5 -0
  131. package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
  132. package/dist/components/image-list/image-list-types.d.ts +45 -2
  133. package/dist/components/image-list/image-list-types.d.ts.map +1 -1
  134. package/dist/components/image-list/image-list-utils.d.ts +24 -1
  135. package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
  136. package/dist/components/image-list/image-list.d.ts +1 -1
  137. package/dist/components/image-list/image-list.d.ts.map +1 -1
  138. package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
  139. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
  140. package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
  141. package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
  142. package/dist/dagre-BjnWDdkw.cjs +1 -0
  143. package/dist/dagre-DVLnxd7n.js +1606 -0
  144. package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
  145. package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
  146. package/dist/defaultLocale-Dcyuaxxg.js +201 -0
  147. package/dist/defaultLocale-DtzyZW63.cjs +1 -0
  148. package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
  149. package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
  150. package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
  151. package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
  152. package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
  153. package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
  154. package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
  155. package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
  156. package/dist/dist-BgvMZbfo.cjs +1 -0
  157. package/dist/dist-DL30VIBI.js +60 -0
  158. package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
  159. package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
  160. package/dist/flatten-BE1bWL-7.js +40 -0
  161. package/dist/flatten-DxvYSoR8.cjs +1 -0
  162. package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
  163. package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
  164. package/dist/functional-components/action/action-types.d.ts +6 -1
  165. package/dist/functional-components/action/action-types.d.ts.map +1 -1
  166. package/dist/functional-components/action/action.d.ts.map +1 -1
  167. package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
  168. package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
  169. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
  170. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
  171. package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
  172. package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
  173. package/dist/graphlib-Cpifseqb.js +373 -0
  174. package/dist/graphlib-HdfvGLpV.cjs +1 -0
  175. package/dist/hooks/useClickOutside.d.ts.map +1 -1
  176. package/dist/identity-KQSjemTb.cjs +1 -0
  177. package/dist/identity-g0dsMjx7.js +393 -0
  178. package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
  179. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
  180. package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
  181. package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
  182. package/dist/init-B2MubQrj.cjs +1 -0
  183. package/dist/init-BO60vQHJ.js +15 -0
  184. package/dist/isEmpty-CA3kJuev.cjs +1 -0
  185. package/dist/isEmpty-RwX-oIQS.js +35 -0
  186. package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
  187. package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
  188. package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
  189. package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
  190. package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
  191. package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
  192. package/dist/katex-Du5WiYIy.js +22000 -0
  193. package/dist/katex-SAH56fvc.cjs +257 -0
  194. package/dist/ketchup2.cjs.js +190 -1
  195. package/dist/ketchup2.css +2 -1
  196. package/dist/ketchup2.es.js +132419 -52
  197. package/dist/line-BbHmiwbs.cjs +1 -0
  198. package/dist/line-JyRBGWft.js +34 -0
  199. package/dist/linear-BsPvNLJv.js +289 -0
  200. package/dist/linear-CxHa1DsM.cjs +1 -0
  201. package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
  202. package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
  203. package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
  204. package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
  205. package/dist/ordinal-C-VoL0XF.js +65 -0
  206. package/dist/ordinal-Civr0hZL.cjs +1 -0
  207. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
  208. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
  209. package/dist/path-Civic7PQ.cjs +1 -0
  210. package/dist/path-CvfwEr8y.js +85 -0
  211. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
  212. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
  213. package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
  214. package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
  215. package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
  216. package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
  217. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
  218. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
  219. package/dist/reduce-B7WW9rkU.cjs +1 -0
  220. package/dist/reduce-DNnkcf3M.js +532 -0
  221. package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
  222. package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
  223. package/dist/rough.esm-1mqTSjCt.js +1352 -0
  224. package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
  225. package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
  226. package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
  227. package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
  228. package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
  229. package/dist/src-BQiFKP24.js +2146 -0
  230. package/dist/src-DFxq-N5I.cjs +1 -0
  231. package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
  232. package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
  233. package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
  234. package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
  235. package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
  236. package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
  237. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
  238. package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
  239. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
  240. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
  241. package/dist/utils/translation.d.ts.map +1 -1
  242. package/dist/v4-6yr83DbP.cjs +1 -0
  243. package/dist/v4-BR71w5_q.js +33 -0
  244. package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
  245. package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
  246. package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
  247. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
  248. package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
  249. package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
  250. package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
  251. package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
  252. package/package.json +31 -31
  253. package/dist/_basePickBy-CPekwY_Z.js +0 -151
  254. package/dist/_basePickBy-DDhgLyLp.cjs +0 -1
  255. package/dist/_baseUniq-CAhfZr5S.js +0 -614
  256. package/dist/_baseUniq-bLb2QO_4.cjs +0 -1
  257. package/dist/arc-CnmUepZA.cjs +0 -1
  258. package/dist/arc-Md6Ds0JZ.js +0 -83
  259. package/dist/architecture-7HQA4BMR-DLImbuCr.js +0 -6
  260. package/dist/architecture-7HQA4BMR-zD1jCFXs.cjs +0 -1
  261. package/dist/architectureDiagram-VXUJARFQ-BkTy7RJA.js +0 -4661
  262. package/dist/architectureDiagram-VXUJARFQ-Vl-ya9R6.cjs +0 -36
  263. package/dist/blockDiagram-VD42YOAC-C9AJNM79.js +0 -2256
  264. package/dist/blockDiagram-VD42YOAC-D_EmYywD.cjs +0 -122
  265. package/dist/c4Diagram-YG6GDRKO-BfwBYulK.cjs +0 -10
  266. package/dist/c4Diagram-YG6GDRKO-YW-l-SYp.js +0 -1580
  267. package/dist/channel-BGeX_R6w.cjs +0 -1
  268. package/dist/channel-lqmaHMPZ.js +0 -5
  269. package/dist/chunk-4BX2VUAB-C6nahV0u.cjs +0 -1
  270. package/dist/chunk-4BX2VUAB-UMbIiF-V.js +0 -8
  271. package/dist/chunk-55IACEB6-CH_wWg2p.js +0 -8
  272. package/dist/chunk-55IACEB6-Cxt8uWHb.cjs +0 -1
  273. package/dist/chunk-B4BG7PRW-CTNZzNh0.js +0 -1375
  274. package/dist/chunk-B4BG7PRW-ekpXKNa3.cjs +0 -165
  275. package/dist/chunk-DI55MBZ5-BrLh6Fue.js +0 -1370
  276. package/dist/chunk-DI55MBZ5-TYqUGYGr.cjs +0 -220
  277. package/dist/chunk-FMBD7UC4-D0Nmh8EL.cjs +0 -15
  278. package/dist/chunk-QN33PNHL-B91UelWj.js +0 -19
  279. package/dist/chunk-QN33PNHL-KGNgU1-8.cjs +0 -1
  280. package/dist/chunk-QZHKN3VN-IV7jnz-R.js +0 -15
  281. package/dist/chunk-QZHKN3VN-ajuovO9B.cjs +0 -1
  282. package/dist/chunk-TZMSLE5B-Bkf7U79o.cjs +0 -1
  283. package/dist/chunk-TZMSLE5B-DArsm2Pn.js +0 -64
  284. package/dist/classDiagram-2ON5EDUG-C0_Gqd5k.js +0 -16
  285. package/dist/classDiagram-2ON5EDUG-Cnous8-m.cjs +0 -1
  286. package/dist/classDiagram-v2-WZHVMYZB-C0_Gqd5k.js +0 -16
  287. package/dist/classDiagram-v2-WZHVMYZB-Cnous8-m.cjs +0 -1
  288. package/dist/clone-B_MxWhab.js +0 -8
  289. package/dist/clone-D6gFD6F-.cjs +0 -1
  290. package/dist/cose-bilkent-S5V4N54A-DHZ_jZYH.js +0 -2608
  291. package/dist/cose-bilkent-S5V4N54A-Da7jSuau.cjs +0 -1
  292. package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
  293. package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
  294. package/dist/dagre-6UL2VRFP-CI2ww-SU.js +0 -444
  295. package/dist/dagre-6UL2VRFP-qOR4yAIQ.cjs +0 -4
  296. package/dist/defaultLocale-D7EN2tov.js +0 -171
  297. package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
  298. package/dist/diagram-PSM6KHXK-1g8345m3.js +0 -531
  299. package/dist/diagram-PSM6KHXK-DHWL3g5V.cjs +0 -24
  300. package/dist/diagram-QEK2KX5R-B-VP4dVY.js +0 -217
  301. package/dist/diagram-QEK2KX5R-DDWbMmAv.cjs +0 -43
  302. package/dist/diagram-S2PKOQOG-BbSGqLET.js +0 -142
  303. package/dist/diagram-S2PKOQOG-Djw9RGNh.cjs +0 -24
  304. package/dist/erDiagram-Q2GNP2WA-CxY1P4hJ.js +0 -841
  305. package/dist/erDiagram-Q2GNP2WA-Pw9i-eBN.cjs +0 -60
  306. package/dist/flowDiagram-NV44I4VS-BOr3T0H8.js +0 -1620
  307. package/dist/flowDiagram-NV44I4VS-D9VKU1cV.cjs +0 -162
  308. package/dist/ganttDiagram-JELNMOA3-B4T6J11z.js +0 -2670
  309. package/dist/ganttDiagram-JELNMOA3-C4Y4VT0h.cjs +0 -267
  310. package/dist/gitGraph-G5XIXVHT-C5QaeLIs.cjs +0 -1
  311. package/dist/gitGraph-G5XIXVHT-bOZ2ppp1.js +0 -6
  312. package/dist/gitGraphDiagram-V2S2FVAM-CteUW9ML.js +0 -699
  313. package/dist/gitGraphDiagram-V2S2FVAM-D_v6ae_z.cjs +0 -65
  314. package/dist/graph-BBPk5jyk.cjs +0 -1
  315. package/dist/graph-h6vsxKyr.js +0 -247
  316. package/dist/index-CYQM-t1d.cjs +0 -390
  317. package/dist/index-FiV1b00w.js +0 -133122
  318. package/dist/info-VBDWY6EO-BEIYBsnB.cjs +0 -1
  319. package/dist/info-VBDWY6EO-BQAW_660.js +0 -6
  320. package/dist/infoDiagram-HS3SLOUP-DMalb3kC.js +0 -24
  321. package/dist/infoDiagram-HS3SLOUP-Tepm6ygN.cjs +0 -2
  322. package/dist/init-CHZsXQcr.cjs +0 -1
  323. package/dist/init-DjUOC4st.js +0 -16
  324. package/dist/journeyDiagram-XKPGCS4Q-CzePcKne.cjs +0 -139
  325. package/dist/journeyDiagram-XKPGCS4Q-D0u-RLFV.js +0 -834
  326. package/dist/kanban-definition-3W4ZIXB7-BSCzAsMJ.js +0 -719
  327. package/dist/kanban-definition-3W4ZIXB7-DdbH9sci.cjs +0 -89
  328. package/dist/katex-C2g-EhzP.cjs +0 -261
  329. package/dist/katex-CUSbq6rG.js +0 -11692
  330. package/dist/layout-6z7-eUnZ.js +0 -1335
  331. package/dist/layout-DbcrMh5B.cjs +0 -1
  332. package/dist/linear-BKevCbhh.js +0 -259
  333. package/dist/linear-C7uVEtWW.cjs +0 -1
  334. package/dist/mermaid-parser.core-Cwy51n_e.js +0 -17907
  335. package/dist/mermaid-parser.core-DQ2yhapR.cjs +0 -160
  336. package/dist/mindmap-definition-VGOIOE7T-CcEisj0R.cjs +0 -68
  337. package/dist/mindmap-definition-VGOIOE7T-xp6GmSIx.js +0 -758
  338. package/dist/ordinal-B6-f3MAq.js +0 -61
  339. package/dist/ordinal-CagbB1m8.cjs +0 -1
  340. package/dist/packet-DYOGHKS2-BGgwnMhM.js +0 -6
  341. package/dist/packet-DYOGHKS2-BWg8qxI8.cjs +0 -1
  342. package/dist/pie-VRWISCQL-DhM8CUW4.cjs +0 -1
  343. package/dist/pie-VRWISCQL-DrWIWm7W.js +0 -6
  344. package/dist/pieDiagram-ADFJNKIX-BdvacM-Z.cjs +0 -30
  345. package/dist/pieDiagram-ADFJNKIX-D6Fa7W_r.js +0 -161
  346. package/dist/quadrantDiagram-AYHSOK5B-CHMoSBvg.js +0 -1022
  347. package/dist/quadrantDiagram-AYHSOK5B-ddq5zZEg.cjs +0 -7
  348. package/dist/radar-ZZBFDIW7-CPvW4Njh.js +0 -6
  349. package/dist/radar-ZZBFDIW7-YJK72BlV.cjs +0 -1
  350. package/dist/requirementDiagram-UZGBJVZJ-Cr9HnGVO.js +0 -850
  351. package/dist/requirementDiagram-UZGBJVZJ-NdpzVbnf.cjs +0 -64
  352. package/dist/sankeyDiagram-TZEHDZUN-3f19WwKd.js +0 -810
  353. package/dist/sankeyDiagram-TZEHDZUN-D2Hzq4Kr.cjs +0 -10
  354. package/dist/sequenceDiagram-WL72ISMW-Cu-7V--6.js +0 -2511
  355. package/dist/sequenceDiagram-WL72ISMW-Nk6vhSK9.cjs +0 -145
  356. package/dist/stateDiagram-FKZM4ZOC-BSnDKUaW.cjs +0 -1
  357. package/dist/stateDiagram-FKZM4ZOC-BleTIniP.js +0 -263
  358. package/dist/stateDiagram-v2-4FDKWEC3-7EjW078x.js +0 -16
  359. package/dist/stateDiagram-v2-4FDKWEC3-BJPzO53y.cjs +0 -1
  360. package/dist/timeline-definition-IT6M3QCI-CFTjPpKy.js +0 -795
  361. package/dist/timeline-definition-IT6M3QCI-CfaGtuF2.cjs +0 -61
  362. package/dist/treemap-GDKQZRPO-CtDdEOaj.cjs +0 -1
  363. package/dist/treemap-GDKQZRPO-DlODAdQ2.js +0 -6
  364. package/dist/xychartDiagram-PRI3JC2R-mShGv2CD.cjs +0 -7
  365. package/dist/xychartDiagram-PRI3JC2R-vEJER5zT.js +0 -1340
@@ -0,0 +1,1974 @@
1
+ import { B as e, C as t, E as n, L as r, V as i, W as a, _ as o, a as s, b as c, c as l, d as u, v as d } from "./chunk-ICPOFSXX-Sn6LWD0k.js";
2
+ import { g as f, h as p, p as m } from "./src-BQiFKP24.js";
3
+ import { t as h } from "./linear-BsPvNLJv.js";
4
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-34T5L4WZ.mjs
5
+ var g = (function() {
6
+ var e = /* @__PURE__ */ p(function(e, t, n, r) {
7
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
8
+ return n;
9
+ }, "o"), t = [1, 3], n = [1, 4], r = [1, 5], i = [1, 6], a = [1, 7], o = [
10
+ 1,
11
+ 4,
12
+ 5,
13
+ 10,
14
+ 12,
15
+ 13,
16
+ 14,
17
+ 18,
18
+ 25,
19
+ 35,
20
+ 37,
21
+ 39,
22
+ 41,
23
+ 42,
24
+ 48,
25
+ 50,
26
+ 51,
27
+ 52,
28
+ 53,
29
+ 54,
30
+ 55,
31
+ 56,
32
+ 57,
33
+ 60,
34
+ 61,
35
+ 63,
36
+ 64,
37
+ 65,
38
+ 66,
39
+ 67
40
+ ], s = [
41
+ 1,
42
+ 4,
43
+ 5,
44
+ 10,
45
+ 12,
46
+ 13,
47
+ 14,
48
+ 18,
49
+ 25,
50
+ 28,
51
+ 35,
52
+ 37,
53
+ 39,
54
+ 41,
55
+ 42,
56
+ 48,
57
+ 50,
58
+ 51,
59
+ 52,
60
+ 53,
61
+ 54,
62
+ 55,
63
+ 56,
64
+ 57,
65
+ 60,
66
+ 61,
67
+ 63,
68
+ 64,
69
+ 65,
70
+ 66,
71
+ 67
72
+ ], c = [
73
+ 55,
74
+ 56,
75
+ 57
76
+ ], l = [2, 36], u = [1, 37], d = [1, 36], f = [1, 38], m = [1, 35], h = [1, 43], g = [1, 41], _ = [1, 14], v = [1, 23], y = [1, 18], b = [1, 19], x = [1, 20], S = [1, 21], C = [1, 22], w = [1, 24], T = [1, 25], E = [1, 26], D = [1, 27], O = [1, 28], k = [1, 29], A = [1, 32], j = [1, 33], M = [1, 34], N = [1, 39], P = [1, 40], F = [1, 42], I = [1, 44], L = [1, 62], R = [1, 61], z = [
77
+ 4,
78
+ 5,
79
+ 8,
80
+ 10,
81
+ 12,
82
+ 13,
83
+ 14,
84
+ 18,
85
+ 44,
86
+ 47,
87
+ 49,
88
+ 55,
89
+ 56,
90
+ 57,
91
+ 63,
92
+ 64,
93
+ 65,
94
+ 66,
95
+ 67
96
+ ], B = [1, 65], ee = [1, 66], te = [1, 67], ne = [1, 68], re = [1, 69], ie = [1, 70], ae = [1, 71], oe = [1, 72], se = [1, 73], ce = [1, 74], le = [1, 75], ue = [1, 76], V = [
97
+ 4,
98
+ 5,
99
+ 6,
100
+ 7,
101
+ 8,
102
+ 9,
103
+ 10,
104
+ 11,
105
+ 12,
106
+ 13,
107
+ 14,
108
+ 15,
109
+ 18
110
+ ], H = [1, 90], U = [1, 91], W = [1, 92], G = [1, 99], K = [1, 93], q = [1, 96], J = [1, 94], Y = [1, 95], X = [1, 97], Z = [1, 98], de = [1, 102], fe = [
111
+ 10,
112
+ 55,
113
+ 56,
114
+ 57
115
+ ], Q = [
116
+ 4,
117
+ 5,
118
+ 6,
119
+ 8,
120
+ 10,
121
+ 11,
122
+ 13,
123
+ 17,
124
+ 18,
125
+ 19,
126
+ 20,
127
+ 55,
128
+ 56,
129
+ 57
130
+ ], pe = {
131
+ trace: /* @__PURE__ */ p(function() {}, "trace"),
132
+ yy: {},
133
+ symbols_: {
134
+ error: 2,
135
+ idStringToken: 3,
136
+ ALPHA: 4,
137
+ NUM: 5,
138
+ NODE_STRING: 6,
139
+ DOWN: 7,
140
+ MINUS: 8,
141
+ DEFAULT: 9,
142
+ COMMA: 10,
143
+ COLON: 11,
144
+ AMP: 12,
145
+ BRKT: 13,
146
+ MULT: 14,
147
+ UNICODE_TEXT: 15,
148
+ styleComponent: 16,
149
+ UNIT: 17,
150
+ SPACE: 18,
151
+ STYLE: 19,
152
+ PCT: 20,
153
+ idString: 21,
154
+ style: 22,
155
+ stylesOpt: 23,
156
+ classDefStatement: 24,
157
+ CLASSDEF: 25,
158
+ start: 26,
159
+ eol: 27,
160
+ QUADRANT: 28,
161
+ document: 29,
162
+ line: 30,
163
+ statement: 31,
164
+ axisDetails: 32,
165
+ quadrantDetails: 33,
166
+ points: 34,
167
+ title: 35,
168
+ title_value: 36,
169
+ acc_title: 37,
170
+ acc_title_value: 38,
171
+ acc_descr: 39,
172
+ acc_descr_value: 40,
173
+ acc_descr_multiline_value: 41,
174
+ section: 42,
175
+ text: 43,
176
+ point_start: 44,
177
+ point_x: 45,
178
+ point_y: 46,
179
+ class_name: 47,
180
+ "X-AXIS": 48,
181
+ "AXIS-TEXT-DELIMITER": 49,
182
+ "Y-AXIS": 50,
183
+ QUADRANT_1: 51,
184
+ QUADRANT_2: 52,
185
+ QUADRANT_3: 53,
186
+ QUADRANT_4: 54,
187
+ NEWLINE: 55,
188
+ SEMI: 56,
189
+ EOF: 57,
190
+ alphaNumToken: 58,
191
+ textNoTagsToken: 59,
192
+ STR: 60,
193
+ MD_STR: 61,
194
+ alphaNum: 62,
195
+ PUNCTUATION: 63,
196
+ PLUS: 64,
197
+ EQUALS: 65,
198
+ DOT: 66,
199
+ UNDERSCORE: 67,
200
+ $accept: 0,
201
+ $end: 1
202
+ },
203
+ terminals_: {
204
+ 2: "error",
205
+ 4: "ALPHA",
206
+ 5: "NUM",
207
+ 6: "NODE_STRING",
208
+ 7: "DOWN",
209
+ 8: "MINUS",
210
+ 9: "DEFAULT",
211
+ 10: "COMMA",
212
+ 11: "COLON",
213
+ 12: "AMP",
214
+ 13: "BRKT",
215
+ 14: "MULT",
216
+ 15: "UNICODE_TEXT",
217
+ 17: "UNIT",
218
+ 18: "SPACE",
219
+ 19: "STYLE",
220
+ 20: "PCT",
221
+ 25: "CLASSDEF",
222
+ 28: "QUADRANT",
223
+ 35: "title",
224
+ 36: "title_value",
225
+ 37: "acc_title",
226
+ 38: "acc_title_value",
227
+ 39: "acc_descr",
228
+ 40: "acc_descr_value",
229
+ 41: "acc_descr_multiline_value",
230
+ 42: "section",
231
+ 44: "point_start",
232
+ 45: "point_x",
233
+ 46: "point_y",
234
+ 47: "class_name",
235
+ 48: "X-AXIS",
236
+ 49: "AXIS-TEXT-DELIMITER",
237
+ 50: "Y-AXIS",
238
+ 51: "QUADRANT_1",
239
+ 52: "QUADRANT_2",
240
+ 53: "QUADRANT_3",
241
+ 54: "QUADRANT_4",
242
+ 55: "NEWLINE",
243
+ 56: "SEMI",
244
+ 57: "EOF",
245
+ 60: "STR",
246
+ 61: "MD_STR",
247
+ 63: "PUNCTUATION",
248
+ 64: "PLUS",
249
+ 65: "EQUALS",
250
+ 66: "DOT",
251
+ 67: "UNDERSCORE"
252
+ },
253
+ productions_: [
254
+ 0,
255
+ [3, 1],
256
+ [3, 1],
257
+ [3, 1],
258
+ [3, 1],
259
+ [3, 1],
260
+ [3, 1],
261
+ [3, 1],
262
+ [3, 1],
263
+ [3, 1],
264
+ [3, 1],
265
+ [3, 1],
266
+ [3, 1],
267
+ [16, 1],
268
+ [16, 1],
269
+ [16, 1],
270
+ [16, 1],
271
+ [16, 1],
272
+ [16, 1],
273
+ [16, 1],
274
+ [16, 1],
275
+ [16, 1],
276
+ [16, 1],
277
+ [21, 1],
278
+ [21, 2],
279
+ [22, 1],
280
+ [22, 2],
281
+ [23, 1],
282
+ [23, 3],
283
+ [24, 5],
284
+ [26, 2],
285
+ [26, 2],
286
+ [26, 2],
287
+ [29, 0],
288
+ [29, 2],
289
+ [30, 2],
290
+ [31, 0],
291
+ [31, 1],
292
+ [31, 2],
293
+ [31, 1],
294
+ [31, 1],
295
+ [31, 1],
296
+ [31, 2],
297
+ [31, 2],
298
+ [31, 2],
299
+ [31, 1],
300
+ [31, 1],
301
+ [34, 4],
302
+ [34, 5],
303
+ [34, 5],
304
+ [34, 6],
305
+ [32, 4],
306
+ [32, 3],
307
+ [32, 2],
308
+ [32, 4],
309
+ [32, 3],
310
+ [32, 2],
311
+ [33, 2],
312
+ [33, 2],
313
+ [33, 2],
314
+ [33, 2],
315
+ [27, 1],
316
+ [27, 1],
317
+ [27, 1],
318
+ [43, 1],
319
+ [43, 2],
320
+ [43, 1],
321
+ [43, 1],
322
+ [62, 1],
323
+ [62, 2],
324
+ [58, 1],
325
+ [58, 1],
326
+ [58, 1],
327
+ [58, 1],
328
+ [58, 1],
329
+ [58, 1],
330
+ [58, 1],
331
+ [58, 1],
332
+ [58, 1],
333
+ [58, 1],
334
+ [58, 1],
335
+ [59, 1],
336
+ [59, 1],
337
+ [59, 1]
338
+ ],
339
+ performAction: /* @__PURE__ */ p(function(e, t, n, r, i, a, o) {
340
+ var s = a.length - 1;
341
+ switch (i) {
342
+ case 23:
343
+ this.$ = a[s];
344
+ break;
345
+ case 24:
346
+ this.$ = a[s - 1] + "" + a[s];
347
+ break;
348
+ case 26:
349
+ this.$ = a[s - 1] + a[s];
350
+ break;
351
+ case 27:
352
+ this.$ = [a[s].trim()];
353
+ break;
354
+ case 28:
355
+ a[s - 2].push(a[s].trim()), this.$ = a[s - 2];
356
+ break;
357
+ case 29:
358
+ this.$ = a[s - 4], r.addClass(a[s - 2], a[s]);
359
+ break;
360
+ case 37:
361
+ this.$ = [];
362
+ break;
363
+ case 42:
364
+ this.$ = a[s].trim(), r.setDiagramTitle(this.$);
365
+ break;
366
+ case 43:
367
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
368
+ break;
369
+ case 44:
370
+ case 45:
371
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
372
+ break;
373
+ case 46:
374
+ r.addSection(a[s].substr(8)), this.$ = a[s].substr(8);
375
+ break;
376
+ case 47:
377
+ r.addPoint(a[s - 3], "", a[s - 1], a[s], []);
378
+ break;
379
+ case 48:
380
+ r.addPoint(a[s - 4], a[s - 3], a[s - 1], a[s], []);
381
+ break;
382
+ case 49:
383
+ r.addPoint(a[s - 4], "", a[s - 2], a[s - 1], a[s]);
384
+ break;
385
+ case 50:
386
+ r.addPoint(a[s - 5], a[s - 4], a[s - 2], a[s - 1], a[s]);
387
+ break;
388
+ case 51:
389
+ r.setXAxisLeftText(a[s - 2]), r.setXAxisRightText(a[s]);
390
+ break;
391
+ case 52:
392
+ a[s - 1].text += " ⟶ ", r.setXAxisLeftText(a[s - 1]);
393
+ break;
394
+ case 53:
395
+ r.setXAxisLeftText(a[s]);
396
+ break;
397
+ case 54:
398
+ r.setYAxisBottomText(a[s - 2]), r.setYAxisTopText(a[s]);
399
+ break;
400
+ case 55:
401
+ a[s - 1].text += " ⟶ ", r.setYAxisBottomText(a[s - 1]);
402
+ break;
403
+ case 56:
404
+ r.setYAxisBottomText(a[s]);
405
+ break;
406
+ case 57:
407
+ r.setQuadrant1Text(a[s]);
408
+ break;
409
+ case 58:
410
+ r.setQuadrant2Text(a[s]);
411
+ break;
412
+ case 59:
413
+ r.setQuadrant3Text(a[s]);
414
+ break;
415
+ case 60:
416
+ r.setQuadrant4Text(a[s]);
417
+ break;
418
+ case 64:
419
+ this.$ = {
420
+ text: a[s],
421
+ type: "text"
422
+ };
423
+ break;
424
+ case 65:
425
+ this.$ = {
426
+ text: a[s - 1].text + "" + a[s],
427
+ type: a[s - 1].type
428
+ };
429
+ break;
430
+ case 66:
431
+ this.$ = {
432
+ text: a[s],
433
+ type: "text"
434
+ };
435
+ break;
436
+ case 67:
437
+ this.$ = {
438
+ text: a[s],
439
+ type: "markdown"
440
+ };
441
+ break;
442
+ case 68:
443
+ this.$ = a[s];
444
+ break;
445
+ case 69:
446
+ this.$ = a[s - 1] + "" + a[s];
447
+ break;
448
+ }
449
+ }, "anonymous"),
450
+ table: [
451
+ {
452
+ 18: t,
453
+ 26: 1,
454
+ 27: 2,
455
+ 28: n,
456
+ 55: r,
457
+ 56: i,
458
+ 57: a
459
+ },
460
+ { 1: [3] },
461
+ {
462
+ 18: t,
463
+ 26: 8,
464
+ 27: 2,
465
+ 28: n,
466
+ 55: r,
467
+ 56: i,
468
+ 57: a
469
+ },
470
+ {
471
+ 18: t,
472
+ 26: 9,
473
+ 27: 2,
474
+ 28: n,
475
+ 55: r,
476
+ 56: i,
477
+ 57: a
478
+ },
479
+ e(o, [2, 33], { 29: 10 }),
480
+ e(s, [2, 61]),
481
+ e(s, [2, 62]),
482
+ e(s, [2, 63]),
483
+ { 1: [2, 30] },
484
+ { 1: [2, 31] },
485
+ e(c, l, {
486
+ 30: 11,
487
+ 31: 12,
488
+ 24: 13,
489
+ 32: 15,
490
+ 33: 16,
491
+ 34: 17,
492
+ 43: 30,
493
+ 58: 31,
494
+ 1: [2, 32],
495
+ 4: u,
496
+ 5: d,
497
+ 10: f,
498
+ 12: m,
499
+ 13: h,
500
+ 14: g,
501
+ 18: _,
502
+ 25: v,
503
+ 35: y,
504
+ 37: b,
505
+ 39: x,
506
+ 41: S,
507
+ 42: C,
508
+ 48: w,
509
+ 50: T,
510
+ 51: E,
511
+ 52: D,
512
+ 53: O,
513
+ 54: k,
514
+ 60: A,
515
+ 61: j,
516
+ 63: M,
517
+ 64: N,
518
+ 65: P,
519
+ 66: F,
520
+ 67: I
521
+ }),
522
+ e(o, [2, 34]),
523
+ {
524
+ 27: 45,
525
+ 55: r,
526
+ 56: i,
527
+ 57: a
528
+ },
529
+ e(c, [2, 37]),
530
+ e(c, l, {
531
+ 24: 13,
532
+ 32: 15,
533
+ 33: 16,
534
+ 34: 17,
535
+ 43: 30,
536
+ 58: 31,
537
+ 31: 46,
538
+ 4: u,
539
+ 5: d,
540
+ 10: f,
541
+ 12: m,
542
+ 13: h,
543
+ 14: g,
544
+ 18: _,
545
+ 25: v,
546
+ 35: y,
547
+ 37: b,
548
+ 39: x,
549
+ 41: S,
550
+ 42: C,
551
+ 48: w,
552
+ 50: T,
553
+ 51: E,
554
+ 52: D,
555
+ 53: O,
556
+ 54: k,
557
+ 60: A,
558
+ 61: j,
559
+ 63: M,
560
+ 64: N,
561
+ 65: P,
562
+ 66: F,
563
+ 67: I
564
+ }),
565
+ e(c, [2, 39]),
566
+ e(c, [2, 40]),
567
+ e(c, [2, 41]),
568
+ { 36: [1, 47] },
569
+ { 38: [1, 48] },
570
+ { 40: [1, 49] },
571
+ e(c, [2, 45]),
572
+ e(c, [2, 46]),
573
+ { 18: [1, 50] },
574
+ {
575
+ 4: u,
576
+ 5: d,
577
+ 10: f,
578
+ 12: m,
579
+ 13: h,
580
+ 14: g,
581
+ 43: 51,
582
+ 58: 31,
583
+ 60: A,
584
+ 61: j,
585
+ 63: M,
586
+ 64: N,
587
+ 65: P,
588
+ 66: F,
589
+ 67: I
590
+ },
591
+ {
592
+ 4: u,
593
+ 5: d,
594
+ 10: f,
595
+ 12: m,
596
+ 13: h,
597
+ 14: g,
598
+ 43: 52,
599
+ 58: 31,
600
+ 60: A,
601
+ 61: j,
602
+ 63: M,
603
+ 64: N,
604
+ 65: P,
605
+ 66: F,
606
+ 67: I
607
+ },
608
+ {
609
+ 4: u,
610
+ 5: d,
611
+ 10: f,
612
+ 12: m,
613
+ 13: h,
614
+ 14: g,
615
+ 43: 53,
616
+ 58: 31,
617
+ 60: A,
618
+ 61: j,
619
+ 63: M,
620
+ 64: N,
621
+ 65: P,
622
+ 66: F,
623
+ 67: I
624
+ },
625
+ {
626
+ 4: u,
627
+ 5: d,
628
+ 10: f,
629
+ 12: m,
630
+ 13: h,
631
+ 14: g,
632
+ 43: 54,
633
+ 58: 31,
634
+ 60: A,
635
+ 61: j,
636
+ 63: M,
637
+ 64: N,
638
+ 65: P,
639
+ 66: F,
640
+ 67: I
641
+ },
642
+ {
643
+ 4: u,
644
+ 5: d,
645
+ 10: f,
646
+ 12: m,
647
+ 13: h,
648
+ 14: g,
649
+ 43: 55,
650
+ 58: 31,
651
+ 60: A,
652
+ 61: j,
653
+ 63: M,
654
+ 64: N,
655
+ 65: P,
656
+ 66: F,
657
+ 67: I
658
+ },
659
+ {
660
+ 4: u,
661
+ 5: d,
662
+ 10: f,
663
+ 12: m,
664
+ 13: h,
665
+ 14: g,
666
+ 43: 56,
667
+ 58: 31,
668
+ 60: A,
669
+ 61: j,
670
+ 63: M,
671
+ 64: N,
672
+ 65: P,
673
+ 66: F,
674
+ 67: I
675
+ },
676
+ {
677
+ 4: u,
678
+ 5: d,
679
+ 8: L,
680
+ 10: f,
681
+ 12: m,
682
+ 13: h,
683
+ 14: g,
684
+ 18: R,
685
+ 44: [1, 57],
686
+ 47: [1, 58],
687
+ 58: 60,
688
+ 59: 59,
689
+ 63: M,
690
+ 64: N,
691
+ 65: P,
692
+ 66: F,
693
+ 67: I
694
+ },
695
+ e(z, [2, 64]),
696
+ e(z, [2, 66]),
697
+ e(z, [2, 67]),
698
+ e(z, [2, 70]),
699
+ e(z, [2, 71]),
700
+ e(z, [2, 72]),
701
+ e(z, [2, 73]),
702
+ e(z, [2, 74]),
703
+ e(z, [2, 75]),
704
+ e(z, [2, 76]),
705
+ e(z, [2, 77]),
706
+ e(z, [2, 78]),
707
+ e(z, [2, 79]),
708
+ e(z, [2, 80]),
709
+ e(o, [2, 35]),
710
+ e(c, [2, 38]),
711
+ e(c, [2, 42]),
712
+ e(c, [2, 43]),
713
+ e(c, [2, 44]),
714
+ {
715
+ 3: 64,
716
+ 4: B,
717
+ 5: ee,
718
+ 6: te,
719
+ 7: ne,
720
+ 8: re,
721
+ 9: ie,
722
+ 10: ae,
723
+ 11: oe,
724
+ 12: se,
725
+ 13: ce,
726
+ 14: le,
727
+ 15: ue,
728
+ 21: 63
729
+ },
730
+ e(c, [2, 53], {
731
+ 59: 59,
732
+ 58: 60,
733
+ 4: u,
734
+ 5: d,
735
+ 8: L,
736
+ 10: f,
737
+ 12: m,
738
+ 13: h,
739
+ 14: g,
740
+ 18: R,
741
+ 49: [1, 77],
742
+ 63: M,
743
+ 64: N,
744
+ 65: P,
745
+ 66: F,
746
+ 67: I
747
+ }),
748
+ e(c, [2, 56], {
749
+ 59: 59,
750
+ 58: 60,
751
+ 4: u,
752
+ 5: d,
753
+ 8: L,
754
+ 10: f,
755
+ 12: m,
756
+ 13: h,
757
+ 14: g,
758
+ 18: R,
759
+ 49: [1, 78],
760
+ 63: M,
761
+ 64: N,
762
+ 65: P,
763
+ 66: F,
764
+ 67: I
765
+ }),
766
+ e(c, [2, 57], {
767
+ 59: 59,
768
+ 58: 60,
769
+ 4: u,
770
+ 5: d,
771
+ 8: L,
772
+ 10: f,
773
+ 12: m,
774
+ 13: h,
775
+ 14: g,
776
+ 18: R,
777
+ 63: M,
778
+ 64: N,
779
+ 65: P,
780
+ 66: F,
781
+ 67: I
782
+ }),
783
+ e(c, [2, 58], {
784
+ 59: 59,
785
+ 58: 60,
786
+ 4: u,
787
+ 5: d,
788
+ 8: L,
789
+ 10: f,
790
+ 12: m,
791
+ 13: h,
792
+ 14: g,
793
+ 18: R,
794
+ 63: M,
795
+ 64: N,
796
+ 65: P,
797
+ 66: F,
798
+ 67: I
799
+ }),
800
+ e(c, [2, 59], {
801
+ 59: 59,
802
+ 58: 60,
803
+ 4: u,
804
+ 5: d,
805
+ 8: L,
806
+ 10: f,
807
+ 12: m,
808
+ 13: h,
809
+ 14: g,
810
+ 18: R,
811
+ 63: M,
812
+ 64: N,
813
+ 65: P,
814
+ 66: F,
815
+ 67: I
816
+ }),
817
+ e(c, [2, 60], {
818
+ 59: 59,
819
+ 58: 60,
820
+ 4: u,
821
+ 5: d,
822
+ 8: L,
823
+ 10: f,
824
+ 12: m,
825
+ 13: h,
826
+ 14: g,
827
+ 18: R,
828
+ 63: M,
829
+ 64: N,
830
+ 65: P,
831
+ 66: F,
832
+ 67: I
833
+ }),
834
+ { 45: [1, 79] },
835
+ { 44: [1, 80] },
836
+ e(z, [2, 65]),
837
+ e(z, [2, 81]),
838
+ e(z, [2, 82]),
839
+ e(z, [2, 83]),
840
+ {
841
+ 3: 82,
842
+ 4: B,
843
+ 5: ee,
844
+ 6: te,
845
+ 7: ne,
846
+ 8: re,
847
+ 9: ie,
848
+ 10: ae,
849
+ 11: oe,
850
+ 12: se,
851
+ 13: ce,
852
+ 14: le,
853
+ 15: ue,
854
+ 18: [1, 81]
855
+ },
856
+ e(V, [2, 23]),
857
+ e(V, [2, 1]),
858
+ e(V, [2, 2]),
859
+ e(V, [2, 3]),
860
+ e(V, [2, 4]),
861
+ e(V, [2, 5]),
862
+ e(V, [2, 6]),
863
+ e(V, [2, 7]),
864
+ e(V, [2, 8]),
865
+ e(V, [2, 9]),
866
+ e(V, [2, 10]),
867
+ e(V, [2, 11]),
868
+ e(V, [2, 12]),
869
+ e(c, [2, 52], {
870
+ 58: 31,
871
+ 43: 83,
872
+ 4: u,
873
+ 5: d,
874
+ 10: f,
875
+ 12: m,
876
+ 13: h,
877
+ 14: g,
878
+ 60: A,
879
+ 61: j,
880
+ 63: M,
881
+ 64: N,
882
+ 65: P,
883
+ 66: F,
884
+ 67: I
885
+ }),
886
+ e(c, [2, 55], {
887
+ 58: 31,
888
+ 43: 84,
889
+ 4: u,
890
+ 5: d,
891
+ 10: f,
892
+ 12: m,
893
+ 13: h,
894
+ 14: g,
895
+ 60: A,
896
+ 61: j,
897
+ 63: M,
898
+ 64: N,
899
+ 65: P,
900
+ 66: F,
901
+ 67: I
902
+ }),
903
+ { 46: [1, 85] },
904
+ { 45: [1, 86] },
905
+ {
906
+ 4: H,
907
+ 5: U,
908
+ 6: W,
909
+ 8: G,
910
+ 11: K,
911
+ 13: q,
912
+ 16: 89,
913
+ 17: J,
914
+ 18: Y,
915
+ 19: X,
916
+ 20: Z,
917
+ 22: 88,
918
+ 23: 87
919
+ },
920
+ e(V, [2, 24]),
921
+ e(c, [2, 51], {
922
+ 59: 59,
923
+ 58: 60,
924
+ 4: u,
925
+ 5: d,
926
+ 8: L,
927
+ 10: f,
928
+ 12: m,
929
+ 13: h,
930
+ 14: g,
931
+ 18: R,
932
+ 63: M,
933
+ 64: N,
934
+ 65: P,
935
+ 66: F,
936
+ 67: I
937
+ }),
938
+ e(c, [2, 54], {
939
+ 59: 59,
940
+ 58: 60,
941
+ 4: u,
942
+ 5: d,
943
+ 8: L,
944
+ 10: f,
945
+ 12: m,
946
+ 13: h,
947
+ 14: g,
948
+ 18: R,
949
+ 63: M,
950
+ 64: N,
951
+ 65: P,
952
+ 66: F,
953
+ 67: I
954
+ }),
955
+ e(c, [2, 47], {
956
+ 22: 88,
957
+ 16: 89,
958
+ 23: 100,
959
+ 4: H,
960
+ 5: U,
961
+ 6: W,
962
+ 8: G,
963
+ 11: K,
964
+ 13: q,
965
+ 17: J,
966
+ 18: Y,
967
+ 19: X,
968
+ 20: Z
969
+ }),
970
+ { 46: [1, 101] },
971
+ e(c, [2, 29], { 10: de }),
972
+ e(fe, [2, 27], {
973
+ 16: 103,
974
+ 4: H,
975
+ 5: U,
976
+ 6: W,
977
+ 8: G,
978
+ 11: K,
979
+ 13: q,
980
+ 17: J,
981
+ 18: Y,
982
+ 19: X,
983
+ 20: Z
984
+ }),
985
+ e(Q, [2, 25]),
986
+ e(Q, [2, 13]),
987
+ e(Q, [2, 14]),
988
+ e(Q, [2, 15]),
989
+ e(Q, [2, 16]),
990
+ e(Q, [2, 17]),
991
+ e(Q, [2, 18]),
992
+ e(Q, [2, 19]),
993
+ e(Q, [2, 20]),
994
+ e(Q, [2, 21]),
995
+ e(Q, [2, 22]),
996
+ e(c, [2, 49], { 10: de }),
997
+ e(c, [2, 48], {
998
+ 22: 88,
999
+ 16: 89,
1000
+ 23: 104,
1001
+ 4: H,
1002
+ 5: U,
1003
+ 6: W,
1004
+ 8: G,
1005
+ 11: K,
1006
+ 13: q,
1007
+ 17: J,
1008
+ 18: Y,
1009
+ 19: X,
1010
+ 20: Z
1011
+ }),
1012
+ {
1013
+ 4: H,
1014
+ 5: U,
1015
+ 6: W,
1016
+ 8: G,
1017
+ 11: K,
1018
+ 13: q,
1019
+ 16: 89,
1020
+ 17: J,
1021
+ 18: Y,
1022
+ 19: X,
1023
+ 20: Z,
1024
+ 22: 105
1025
+ },
1026
+ e(Q, [2, 26]),
1027
+ e(c, [2, 50], { 10: de }),
1028
+ e(fe, [2, 28], {
1029
+ 16: 103,
1030
+ 4: H,
1031
+ 5: U,
1032
+ 6: W,
1033
+ 8: G,
1034
+ 11: K,
1035
+ 13: q,
1036
+ 17: J,
1037
+ 18: Y,
1038
+ 19: X,
1039
+ 20: Z
1040
+ })
1041
+ ],
1042
+ defaultActions: {
1043
+ 8: [2, 30],
1044
+ 9: [2, 31]
1045
+ },
1046
+ parseError: /* @__PURE__ */ p(function(e, t) {
1047
+ if (t.recoverable) this.trace(e);
1048
+ else {
1049
+ var n = Error(e);
1050
+ throw n.hash = t, n;
1051
+ }
1052
+ }, "parseError"),
1053
+ parse: /* @__PURE__ */ p(function(e) {
1054
+ var t = this, n = [0], r = [], i = [null], a = [], o = this.table, s = "", c = 0, l = 0, u = 0, d = 2, f = 1, m = a.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1055
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1056
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1057
+ var v = h.yylloc;
1058
+ a.push(v);
1059
+ var y = h.options && h.options.ranges;
1060
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1061
+ function b(e) {
1062
+ n.length -= 2 * e, i.length -= e, a.length -= e;
1063
+ }
1064
+ p(b, "popStack");
1065
+ function x() {
1066
+ var e = r.pop() || h.lex() || f;
1067
+ return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
1068
+ }
1069
+ p(x, "lex");
1070
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1071
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = o[w] && o[w][S]), T === void 0 || !T.length || !T[0]) {
1072
+ var M = "";
1073
+ for (O in j = [], o[w]) this.terminals_[O] && O > d && j.push("'" + this.terminals_[O] + "'");
1074
+ M = h.showPosition ? "Parse error on line " + (c + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (c + 1) + ": Unexpected " + (S == f ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1075
+ text: h.match,
1076
+ token: this.terminals_[S] || S,
1077
+ line: h.yylineno,
1078
+ loc: v,
1079
+ expected: j
1080
+ });
1081
+ }
1082
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1083
+ switch (T[0]) {
1084
+ case 1:
1085
+ n.push(S), i.push(h.yytext), a.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (l = h.yyleng, s = h.yytext, c = h.yylineno, v = h.yylloc, u > 0 && u--);
1086
+ break;
1087
+ case 2:
1088
+ if (k = this.productions_[T[1]][1], D.$ = i[i.length - k], D._$ = {
1089
+ first_line: a[a.length - (k || 1)].first_line,
1090
+ last_line: a[a.length - 1].last_line,
1091
+ first_column: a[a.length - (k || 1)].first_column,
1092
+ last_column: a[a.length - 1].last_column
1093
+ }, y && (D._$.range = [a[a.length - (k || 1)].range[0], a[a.length - 1].range[1]]), E = this.performAction.apply(D, [
1094
+ s,
1095
+ l,
1096
+ c,
1097
+ g.yy,
1098
+ T[1],
1099
+ i,
1100
+ a
1101
+ ].concat(m)), E !== void 0) return E;
1102
+ k && (n = n.slice(0, -1 * k * 2), i = i.slice(0, -1 * k), a = a.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), i.push(D.$), a.push(D._$), A = o[n[n.length - 2]][n[n.length - 1]], n.push(A);
1103
+ break;
1104
+ case 3: return !0;
1105
+ }
1106
+ }
1107
+ return !0;
1108
+ }, "parse")
1109
+ };
1110
+ pe.lexer = /* @__PURE__ */ (function() {
1111
+ return {
1112
+ EOF: 1,
1113
+ parseError: /* @__PURE__ */ p(function(e, t) {
1114
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1115
+ else throw Error(e);
1116
+ }, "parseError"),
1117
+ setInput: /* @__PURE__ */ p(function(e, t) {
1118
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1119
+ first_line: 1,
1120
+ first_column: 0,
1121
+ last_line: 1,
1122
+ last_column: 0
1123
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1124
+ }, "setInput"),
1125
+ input: /* @__PURE__ */ p(function() {
1126
+ var e = this._input[0];
1127
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1128
+ }, "input"),
1129
+ unput: /* @__PURE__ */ p(function(e) {
1130
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1131
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1132
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1133
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
1134
+ var i = this.yylloc.range;
1135
+ return this.yylloc = {
1136
+ first_line: this.yylloc.first_line,
1137
+ last_line: this.yylineno + 1,
1138
+ first_column: this.yylloc.first_column,
1139
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1140
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1141
+ }, "unput"),
1142
+ more: /* @__PURE__ */ p(function() {
1143
+ return this._more = !0, this;
1144
+ }, "more"),
1145
+ reject: /* @__PURE__ */ p(function() {
1146
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1147
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1148
+ text: "",
1149
+ token: null,
1150
+ line: this.yylineno
1151
+ });
1152
+ return this;
1153
+ }, "reject"),
1154
+ less: /* @__PURE__ */ p(function(e) {
1155
+ this.unput(this.match.slice(e));
1156
+ }, "less"),
1157
+ pastInput: /* @__PURE__ */ p(function() {
1158
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1159
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1160
+ }, "pastInput"),
1161
+ upcomingInput: /* @__PURE__ */ p(function() {
1162
+ var e = this.match;
1163
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1164
+ }, "upcomingInput"),
1165
+ showPosition: /* @__PURE__ */ p(function() {
1166
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1167
+ return e + this.upcomingInput() + "\n" + t + "^";
1168
+ }, "showPosition"),
1169
+ test_match: /* @__PURE__ */ p(function(e, t) {
1170
+ var n, r, i;
1171
+ if (this.options.backtrack_lexer && (i = {
1172
+ yylineno: this.yylineno,
1173
+ yylloc: {
1174
+ first_line: this.yylloc.first_line,
1175
+ last_line: this.last_line,
1176
+ first_column: this.yylloc.first_column,
1177
+ last_column: this.yylloc.last_column
1178
+ },
1179
+ yytext: this.yytext,
1180
+ match: this.match,
1181
+ matches: this.matches,
1182
+ matched: this.matched,
1183
+ yyleng: this.yyleng,
1184
+ offset: this.offset,
1185
+ _more: this._more,
1186
+ _input: this._input,
1187
+ yy: this.yy,
1188
+ conditionStack: this.conditionStack.slice(0),
1189
+ done: this.done
1190
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1191
+ first_line: this.yylloc.last_line,
1192
+ last_line: this.yylineno + 1,
1193
+ first_column: this.yylloc.last_column,
1194
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1195
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1196
+ if (this._backtrack) {
1197
+ for (var a in i) this[a] = i[a];
1198
+ return !1;
1199
+ }
1200
+ return !1;
1201
+ }, "test_match"),
1202
+ next: /* @__PURE__ */ p(function() {
1203
+ if (this.done) return this.EOF;
1204
+ this._input || (this.done = !0);
1205
+ var e, t, n, r;
1206
+ this._more || (this.yytext = "", this.match = "");
1207
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1208
+ if (t = n, r = a, this.options.backtrack_lexer) {
1209
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1210
+ if (this._backtrack) {
1211
+ t = !1;
1212
+ continue;
1213
+ } else return !1;
1214
+ } else if (!this.options.flex) break;
1215
+ }
1216
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1217
+ text: "",
1218
+ token: null,
1219
+ line: this.yylineno
1220
+ });
1221
+ }, "next"),
1222
+ lex: /* @__PURE__ */ p(function() {
1223
+ return this.next() || this.lex();
1224
+ }, "lex"),
1225
+ begin: /* @__PURE__ */ p(function(e) {
1226
+ this.conditionStack.push(e);
1227
+ }, "begin"),
1228
+ popState: /* @__PURE__ */ p(function() {
1229
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1230
+ }, "popState"),
1231
+ _currentRules: /* @__PURE__ */ p(function() {
1232
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1233
+ }, "_currentRules"),
1234
+ topState: /* @__PURE__ */ p(function(e) {
1235
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1236
+ }, "topState"),
1237
+ pushState: /* @__PURE__ */ p(function(e) {
1238
+ this.begin(e);
1239
+ }, "pushState"),
1240
+ stateStackSize: /* @__PURE__ */ p(function() {
1241
+ return this.conditionStack.length;
1242
+ }, "stateStackSize"),
1243
+ options: { "case-insensitive": !0 },
1244
+ performAction: /* @__PURE__ */ p(function(e, t, n, r) {
1245
+ switch (n) {
1246
+ case 0: break;
1247
+ case 1: break;
1248
+ case 2: return 55;
1249
+ case 3: break;
1250
+ case 4: return this.begin("title"), 35;
1251
+ case 5: return this.popState(), "title_value";
1252
+ case 6: return this.begin("acc_title"), 37;
1253
+ case 7: return this.popState(), "acc_title_value";
1254
+ case 8: return this.begin("acc_descr"), 39;
1255
+ case 9: return this.popState(), "acc_descr_value";
1256
+ case 10:
1257
+ this.begin("acc_descr_multiline");
1258
+ break;
1259
+ case 11:
1260
+ this.popState();
1261
+ break;
1262
+ case 12: return "acc_descr_multiline_value";
1263
+ case 13: return 48;
1264
+ case 14: return 50;
1265
+ case 15: return 49;
1266
+ case 16: return 51;
1267
+ case 17: return 52;
1268
+ case 18: return 53;
1269
+ case 19: return 54;
1270
+ case 20: return 25;
1271
+ case 21:
1272
+ this.begin("md_string");
1273
+ break;
1274
+ case 22: return "MD_STR";
1275
+ case 23:
1276
+ this.popState();
1277
+ break;
1278
+ case 24:
1279
+ this.begin("string");
1280
+ break;
1281
+ case 25:
1282
+ this.popState();
1283
+ break;
1284
+ case 26: return "STR";
1285
+ case 27:
1286
+ this.begin("class_name");
1287
+ break;
1288
+ case 28: return this.popState(), 47;
1289
+ case 29: return this.begin("point_start"), 44;
1290
+ case 30: return this.begin("point_x"), 45;
1291
+ case 31:
1292
+ this.popState();
1293
+ break;
1294
+ case 32:
1295
+ this.popState(), this.begin("point_y");
1296
+ break;
1297
+ case 33: return this.popState(), 46;
1298
+ case 34: return 28;
1299
+ case 35: return 4;
1300
+ case 36: return 11;
1301
+ case 37: return 64;
1302
+ case 38: return 10;
1303
+ case 39: return 65;
1304
+ case 40: return 65;
1305
+ case 41: return 14;
1306
+ case 42: return 13;
1307
+ case 43: return 67;
1308
+ case 44: return 66;
1309
+ case 45: return 12;
1310
+ case 46: return 8;
1311
+ case 47: return 5;
1312
+ case 48: return 18;
1313
+ case 49: return 56;
1314
+ case 50: return 63;
1315
+ case 51: return 57;
1316
+ }
1317
+ }, "anonymous"),
1318
+ rules: [
1319
+ /^(?:%%(?!\{)[^\n]*)/i,
1320
+ /^(?:[^\}]%%[^\n]*)/i,
1321
+ /^(?:[\n\r]+)/i,
1322
+ /^(?:%%[^\n]*)/i,
1323
+ /^(?:title\b)/i,
1324
+ /^(?:(?!\n||)*[^\n]*)/i,
1325
+ /^(?:accTitle\s*:\s*)/i,
1326
+ /^(?:(?!\n||)*[^\n]*)/i,
1327
+ /^(?:accDescr\s*:\s*)/i,
1328
+ /^(?:(?!\n||)*[^\n]*)/i,
1329
+ /^(?:accDescr\s*\{\s*)/i,
1330
+ /^(?:[\}])/i,
1331
+ /^(?:[^\}]*)/i,
1332
+ /^(?: *x-axis *)/i,
1333
+ /^(?: *y-axis *)/i,
1334
+ /^(?: *--+> *)/i,
1335
+ /^(?: *quadrant-1 *)/i,
1336
+ /^(?: *quadrant-2 *)/i,
1337
+ /^(?: *quadrant-3 *)/i,
1338
+ /^(?: *quadrant-4 *)/i,
1339
+ /^(?:classDef\b)/i,
1340
+ /^(?:["][`])/i,
1341
+ /^(?:[^`"]+)/i,
1342
+ /^(?:[`]["])/i,
1343
+ /^(?:["])/i,
1344
+ /^(?:["])/i,
1345
+ /^(?:[^"]*)/i,
1346
+ /^(?::::)/i,
1347
+ /^(?:^\w+)/i,
1348
+ /^(?:\s*:\s*\[\s*)/i,
1349
+ /^(?:(1)|(0(.\d+)?))/i,
1350
+ /^(?:\s*\] *)/i,
1351
+ /^(?:\s*,\s*)/i,
1352
+ /^(?:(1)|(0(.\d+)?))/i,
1353
+ /^(?: *quadrantChart *)/i,
1354
+ /^(?:[A-Za-z]+)/i,
1355
+ /^(?::)/i,
1356
+ /^(?:\+)/i,
1357
+ /^(?:,)/i,
1358
+ /^(?:=)/i,
1359
+ /^(?:=)/i,
1360
+ /^(?:\*)/i,
1361
+ /^(?:#)/i,
1362
+ /^(?:[\_])/i,
1363
+ /^(?:\.)/i,
1364
+ /^(?:&)/i,
1365
+ /^(?:-)/i,
1366
+ /^(?:[0-9]+)/i,
1367
+ /^(?:\s)/i,
1368
+ /^(?:;)/i,
1369
+ /^(?:[!"#$%&'*+,-.`?\\_/])/i,
1370
+ /^(?:$)/i
1371
+ ],
1372
+ conditions: {
1373
+ class_name: {
1374
+ rules: [28],
1375
+ inclusive: !1
1376
+ },
1377
+ point_y: {
1378
+ rules: [33],
1379
+ inclusive: !1
1380
+ },
1381
+ point_x: {
1382
+ rules: [32],
1383
+ inclusive: !1
1384
+ },
1385
+ point_start: {
1386
+ rules: [30, 31],
1387
+ inclusive: !1
1388
+ },
1389
+ acc_descr_multiline: {
1390
+ rules: [11, 12],
1391
+ inclusive: !1
1392
+ },
1393
+ acc_descr: {
1394
+ rules: [9],
1395
+ inclusive: !1
1396
+ },
1397
+ acc_title: {
1398
+ rules: [7],
1399
+ inclusive: !1
1400
+ },
1401
+ title: {
1402
+ rules: [5],
1403
+ inclusive: !1
1404
+ },
1405
+ md_string: {
1406
+ rules: [22, 23],
1407
+ inclusive: !1
1408
+ },
1409
+ string: {
1410
+ rules: [25, 26],
1411
+ inclusive: !1
1412
+ },
1413
+ INITIAL: {
1414
+ rules: [
1415
+ 0,
1416
+ 1,
1417
+ 2,
1418
+ 3,
1419
+ 4,
1420
+ 6,
1421
+ 8,
1422
+ 10,
1423
+ 13,
1424
+ 14,
1425
+ 15,
1426
+ 16,
1427
+ 17,
1428
+ 18,
1429
+ 19,
1430
+ 20,
1431
+ 21,
1432
+ 24,
1433
+ 27,
1434
+ 29,
1435
+ 34,
1436
+ 35,
1437
+ 36,
1438
+ 37,
1439
+ 38,
1440
+ 39,
1441
+ 40,
1442
+ 41,
1443
+ 42,
1444
+ 43,
1445
+ 44,
1446
+ 45,
1447
+ 46,
1448
+ 47,
1449
+ 48,
1450
+ 49,
1451
+ 50,
1452
+ 51
1453
+ ],
1454
+ inclusive: !0
1455
+ }
1456
+ }
1457
+ };
1458
+ })();
1459
+ function $() {
1460
+ this.yy = {};
1461
+ }
1462
+ return p($, "Parser"), $.prototype = pe, pe.Parser = $, new $();
1463
+ })();
1464
+ g.parser = g;
1465
+ var _ = g, v = n(), y = class {
1466
+ constructor() {
1467
+ this.classes = /* @__PURE__ */ new Map(), this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData();
1468
+ }
1469
+ static {
1470
+ p(this, "QuadrantBuilder");
1471
+ }
1472
+ getDefaultData() {
1473
+ return {
1474
+ titleText: "",
1475
+ quadrant1Text: "",
1476
+ quadrant2Text: "",
1477
+ quadrant3Text: "",
1478
+ quadrant4Text: "",
1479
+ xAxisLeftText: "",
1480
+ xAxisRightText: "",
1481
+ yAxisBottomText: "",
1482
+ yAxisTopText: "",
1483
+ points: []
1484
+ };
1485
+ }
1486
+ getDefaultConfig() {
1487
+ return {
1488
+ showXAxis: !0,
1489
+ showYAxis: !0,
1490
+ showTitle: !0,
1491
+ chartHeight: u.quadrantChart?.chartWidth || 500,
1492
+ chartWidth: u.quadrantChart?.chartHeight || 500,
1493
+ titlePadding: u.quadrantChart?.titlePadding || 10,
1494
+ titleFontSize: u.quadrantChart?.titleFontSize || 20,
1495
+ quadrantPadding: u.quadrantChart?.quadrantPadding || 5,
1496
+ xAxisLabelPadding: u.quadrantChart?.xAxisLabelPadding || 5,
1497
+ yAxisLabelPadding: u.quadrantChart?.yAxisLabelPadding || 5,
1498
+ xAxisLabelFontSize: u.quadrantChart?.xAxisLabelFontSize || 16,
1499
+ yAxisLabelFontSize: u.quadrantChart?.yAxisLabelFontSize || 16,
1500
+ quadrantLabelFontSize: u.quadrantChart?.quadrantLabelFontSize || 16,
1501
+ quadrantTextTopPadding: u.quadrantChart?.quadrantTextTopPadding || 5,
1502
+ pointTextPadding: u.quadrantChart?.pointTextPadding || 5,
1503
+ pointLabelFontSize: u.quadrantChart?.pointLabelFontSize || 12,
1504
+ pointRadius: u.quadrantChart?.pointRadius || 5,
1505
+ xAxisPosition: u.quadrantChart?.xAxisPosition || "top",
1506
+ yAxisPosition: u.quadrantChart?.yAxisPosition || "left",
1507
+ quadrantInternalBorderStrokeWidth: u.quadrantChart?.quadrantInternalBorderStrokeWidth || 1,
1508
+ quadrantExternalBorderStrokeWidth: u.quadrantChart?.quadrantExternalBorderStrokeWidth || 2
1509
+ };
1510
+ }
1511
+ getDefaultThemeConfig() {
1512
+ return {
1513
+ quadrant1Fill: v.quadrant1Fill,
1514
+ quadrant2Fill: v.quadrant2Fill,
1515
+ quadrant3Fill: v.quadrant3Fill,
1516
+ quadrant4Fill: v.quadrant4Fill,
1517
+ quadrant1TextFill: v.quadrant1TextFill,
1518
+ quadrant2TextFill: v.quadrant2TextFill,
1519
+ quadrant3TextFill: v.quadrant3TextFill,
1520
+ quadrant4TextFill: v.quadrant4TextFill,
1521
+ quadrantPointFill: v.quadrantPointFill,
1522
+ quadrantPointTextFill: v.quadrantPointTextFill,
1523
+ quadrantXAxisTextFill: v.quadrantXAxisTextFill,
1524
+ quadrantYAxisTextFill: v.quadrantYAxisTextFill,
1525
+ quadrantTitleFill: v.quadrantTitleFill,
1526
+ quadrantInternalBorderStrokeFill: v.quadrantInternalBorderStrokeFill,
1527
+ quadrantExternalBorderStrokeFill: v.quadrantExternalBorderStrokeFill
1528
+ };
1529
+ }
1530
+ clear() {
1531
+ this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData(), this.classes = /* @__PURE__ */ new Map(), f.info("clear called");
1532
+ }
1533
+ setData(e) {
1534
+ this.data = {
1535
+ ...this.data,
1536
+ ...e
1537
+ };
1538
+ }
1539
+ addPoints(e) {
1540
+ this.data.points = [...e, ...this.data.points];
1541
+ }
1542
+ addClass(e, t) {
1543
+ this.classes.set(e, t);
1544
+ }
1545
+ setConfig(e) {
1546
+ f.trace("setConfig called with: ", e), this.config = {
1547
+ ...this.config,
1548
+ ...e
1549
+ };
1550
+ }
1551
+ setThemeConfig(e) {
1552
+ f.trace("setThemeConfig called with: ", e), this.themeConfig = {
1553
+ ...this.themeConfig,
1554
+ ...e
1555
+ };
1556
+ }
1557
+ calculateSpace(e, t, n, r) {
1558
+ let i = this.config.xAxisLabelPadding * 2 + this.config.xAxisLabelFontSize, a = {
1559
+ top: e === "top" && t ? i : 0,
1560
+ bottom: e === "bottom" && t ? i : 0
1561
+ }, o = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize, s = {
1562
+ left: this.config.yAxisPosition === "left" && n ? o : 0,
1563
+ right: this.config.yAxisPosition === "right" && n ? o : 0
1564
+ }, c = this.config.titleFontSize + this.config.titlePadding * 2, l = { top: r ? c : 0 }, u = this.config.quadrantPadding + s.left, d = this.config.quadrantPadding + a.top + l.top, f = this.config.chartWidth - this.config.quadrantPadding * 2 - s.left - s.right, p = this.config.chartHeight - this.config.quadrantPadding * 2 - a.top - a.bottom - l.top;
1565
+ return {
1566
+ xAxisSpace: a,
1567
+ yAxisSpace: s,
1568
+ titleSpace: l,
1569
+ quadrantSpace: {
1570
+ quadrantLeft: u,
1571
+ quadrantTop: d,
1572
+ quadrantWidth: f,
1573
+ quadrantHalfWidth: f / 2,
1574
+ quadrantHeight: p,
1575
+ quadrantHalfHeight: p / 2
1576
+ }
1577
+ };
1578
+ }
1579
+ getAxisLabels(e, t, n, r) {
1580
+ let { quadrantSpace: i, titleSpace: a } = r, { quadrantHalfHeight: o, quadrantHeight: s, quadrantLeft: c, quadrantHalfWidth: l, quadrantTop: u, quadrantWidth: d } = i, f = !!this.data.xAxisRightText, p = !!this.data.yAxisTopText, m = [];
1581
+ return this.data.xAxisLeftText && t && m.push({
1582
+ text: this.data.xAxisLeftText,
1583
+ fill: this.themeConfig.quadrantXAxisTextFill,
1584
+ x: c + (f ? l / 2 : 0),
1585
+ y: e === "top" ? this.config.xAxisLabelPadding + a.top : this.config.xAxisLabelPadding + u + s + this.config.quadrantPadding,
1586
+ fontSize: this.config.xAxisLabelFontSize,
1587
+ verticalPos: f ? "center" : "left",
1588
+ horizontalPos: "top",
1589
+ rotation: 0
1590
+ }), this.data.xAxisRightText && t && m.push({
1591
+ text: this.data.xAxisRightText,
1592
+ fill: this.themeConfig.quadrantXAxisTextFill,
1593
+ x: c + l + (f ? l / 2 : 0),
1594
+ y: e === "top" ? this.config.xAxisLabelPadding + a.top : this.config.xAxisLabelPadding + u + s + this.config.quadrantPadding,
1595
+ fontSize: this.config.xAxisLabelFontSize,
1596
+ verticalPos: f ? "center" : "left",
1597
+ horizontalPos: "top",
1598
+ rotation: 0
1599
+ }), this.data.yAxisBottomText && n && m.push({
1600
+ text: this.data.yAxisBottomText,
1601
+ fill: this.themeConfig.quadrantYAxisTextFill,
1602
+ x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + c + d + this.config.quadrantPadding,
1603
+ y: u + s - (p ? o / 2 : 0),
1604
+ fontSize: this.config.yAxisLabelFontSize,
1605
+ verticalPos: p ? "center" : "left",
1606
+ horizontalPos: "top",
1607
+ rotation: -90
1608
+ }), this.data.yAxisTopText && n && m.push({
1609
+ text: this.data.yAxisTopText,
1610
+ fill: this.themeConfig.quadrantYAxisTextFill,
1611
+ x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + c + d + this.config.quadrantPadding,
1612
+ y: u + o - (p ? o / 2 : 0),
1613
+ fontSize: this.config.yAxisLabelFontSize,
1614
+ verticalPos: p ? "center" : "left",
1615
+ horizontalPos: "top",
1616
+ rotation: -90
1617
+ }), m;
1618
+ }
1619
+ getQuadrants(e) {
1620
+ let { quadrantSpace: t } = e, { quadrantHalfHeight: n, quadrantLeft: r, quadrantHalfWidth: i, quadrantTop: a } = t, o = [
1621
+ {
1622
+ text: {
1623
+ text: this.data.quadrant1Text,
1624
+ fill: this.themeConfig.quadrant1TextFill,
1625
+ x: 0,
1626
+ y: 0,
1627
+ fontSize: this.config.quadrantLabelFontSize,
1628
+ verticalPos: "center",
1629
+ horizontalPos: "middle",
1630
+ rotation: 0
1631
+ },
1632
+ x: r + i,
1633
+ y: a,
1634
+ width: i,
1635
+ height: n,
1636
+ fill: this.themeConfig.quadrant1Fill
1637
+ },
1638
+ {
1639
+ text: {
1640
+ text: this.data.quadrant2Text,
1641
+ fill: this.themeConfig.quadrant2TextFill,
1642
+ x: 0,
1643
+ y: 0,
1644
+ fontSize: this.config.quadrantLabelFontSize,
1645
+ verticalPos: "center",
1646
+ horizontalPos: "middle",
1647
+ rotation: 0
1648
+ },
1649
+ x: r,
1650
+ y: a,
1651
+ width: i,
1652
+ height: n,
1653
+ fill: this.themeConfig.quadrant2Fill
1654
+ },
1655
+ {
1656
+ text: {
1657
+ text: this.data.quadrant3Text,
1658
+ fill: this.themeConfig.quadrant3TextFill,
1659
+ x: 0,
1660
+ y: 0,
1661
+ fontSize: this.config.quadrantLabelFontSize,
1662
+ verticalPos: "center",
1663
+ horizontalPos: "middle",
1664
+ rotation: 0
1665
+ },
1666
+ x: r,
1667
+ y: a + n,
1668
+ width: i,
1669
+ height: n,
1670
+ fill: this.themeConfig.quadrant3Fill
1671
+ },
1672
+ {
1673
+ text: {
1674
+ text: this.data.quadrant4Text,
1675
+ fill: this.themeConfig.quadrant4TextFill,
1676
+ x: 0,
1677
+ y: 0,
1678
+ fontSize: this.config.quadrantLabelFontSize,
1679
+ verticalPos: "center",
1680
+ horizontalPos: "middle",
1681
+ rotation: 0
1682
+ },
1683
+ x: r + i,
1684
+ y: a + n,
1685
+ width: i,
1686
+ height: n,
1687
+ fill: this.themeConfig.quadrant4Fill
1688
+ }
1689
+ ];
1690
+ for (let e of o) e.text.x = e.x + e.width / 2, this.data.points.length === 0 ? (e.text.y = e.y + e.height / 2, e.text.horizontalPos = "middle") : (e.text.y = e.y + this.config.quadrantTextTopPadding, e.text.horizontalPos = "top");
1691
+ return o;
1692
+ }
1693
+ getQuadrantPoints(e) {
1694
+ let { quadrantSpace: t } = e, { quadrantHeight: n, quadrantLeft: r, quadrantTop: i, quadrantWidth: a } = t, o = h().domain([0, 1]).range([r, a + r]), s = h().domain([0, 1]).range([n + i, i]);
1695
+ return this.data.points.map((e) => {
1696
+ let t = this.classes.get(e.className);
1697
+ return t && (e = {
1698
+ ...t,
1699
+ ...e
1700
+ }), {
1701
+ x: o(e.x),
1702
+ y: s(e.y),
1703
+ fill: e.color ?? this.themeConfig.quadrantPointFill,
1704
+ radius: e.radius ?? this.config.pointRadius,
1705
+ text: {
1706
+ text: e.text,
1707
+ fill: this.themeConfig.quadrantPointTextFill,
1708
+ x: o(e.x),
1709
+ y: s(e.y) + this.config.pointTextPadding,
1710
+ verticalPos: "center",
1711
+ horizontalPos: "top",
1712
+ fontSize: this.config.pointLabelFontSize,
1713
+ rotation: 0
1714
+ },
1715
+ strokeColor: e.strokeColor ?? this.themeConfig.quadrantPointFill,
1716
+ strokeWidth: e.strokeWidth ?? "0px"
1717
+ };
1718
+ });
1719
+ }
1720
+ getBorders(e) {
1721
+ let t = this.config.quadrantExternalBorderStrokeWidth / 2, { quadrantSpace: n } = e, { quadrantHalfHeight: r, quadrantHeight: i, quadrantLeft: a, quadrantHalfWidth: o, quadrantTop: s, quadrantWidth: c } = n;
1722
+ return [
1723
+ {
1724
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1725
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1726
+ x1: a - t,
1727
+ y1: s,
1728
+ x2: a + c + t,
1729
+ y2: s
1730
+ },
1731
+ {
1732
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1733
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1734
+ x1: a + c,
1735
+ y1: s + t,
1736
+ x2: a + c,
1737
+ y2: s + i - t
1738
+ },
1739
+ {
1740
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1741
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1742
+ x1: a - t,
1743
+ y1: s + i,
1744
+ x2: a + c + t,
1745
+ y2: s + i
1746
+ },
1747
+ {
1748
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
1749
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
1750
+ x1: a,
1751
+ y1: s + t,
1752
+ x2: a,
1753
+ y2: s + i - t
1754
+ },
1755
+ {
1756
+ strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
1757
+ strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
1758
+ x1: a + o,
1759
+ y1: s + t,
1760
+ x2: a + o,
1761
+ y2: s + i - t
1762
+ },
1763
+ {
1764
+ strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
1765
+ strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
1766
+ x1: a + t,
1767
+ y1: s + r,
1768
+ x2: a + c - t,
1769
+ y2: s + r
1770
+ }
1771
+ ];
1772
+ }
1773
+ getTitle(e) {
1774
+ if (e) return {
1775
+ text: this.data.titleText,
1776
+ fill: this.themeConfig.quadrantTitleFill,
1777
+ fontSize: this.config.titleFontSize,
1778
+ horizontalPos: "top",
1779
+ verticalPos: "center",
1780
+ rotation: 0,
1781
+ y: this.config.titlePadding,
1782
+ x: this.config.chartWidth / 2
1783
+ };
1784
+ }
1785
+ build() {
1786
+ let e = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), t = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), n = this.config.showTitle && !!this.data.titleText, r = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition, i = this.calculateSpace(r, e, t, n);
1787
+ return {
1788
+ points: this.getQuadrantPoints(i),
1789
+ quadrants: this.getQuadrants(i),
1790
+ axisLabels: this.getAxisLabels(r, e, t, i),
1791
+ borderLines: this.getBorders(i),
1792
+ title: this.getTitle(n)
1793
+ };
1794
+ }
1795
+ }, b = class extends Error {
1796
+ static {
1797
+ p(this, "InvalidStyleError");
1798
+ }
1799
+ constructor(e, t, n) {
1800
+ super(`value for ${e} ${t} is invalid, please use a valid ${n}`), this.name = "InvalidStyleError";
1801
+ }
1802
+ };
1803
+ function x(e) {
1804
+ return !/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(e);
1805
+ }
1806
+ p(x, "validateHexCode");
1807
+ function S(e) {
1808
+ return !/^\d+$/.test(e);
1809
+ }
1810
+ p(S, "validateNumber");
1811
+ function C(e) {
1812
+ return !/^\d+px$/.test(e);
1813
+ }
1814
+ p(C, "validateSizeInPixels");
1815
+ var w = c();
1816
+ function T(e) {
1817
+ return r(e.trim(), w);
1818
+ }
1819
+ p(T, "textSanitizer");
1820
+ var E = new y();
1821
+ function D(e) {
1822
+ E.setData({ quadrant1Text: T(e.text) });
1823
+ }
1824
+ p(D, "setQuadrant1Text");
1825
+ function O(e) {
1826
+ E.setData({ quadrant2Text: T(e.text) });
1827
+ }
1828
+ p(O, "setQuadrant2Text");
1829
+ function k(e) {
1830
+ E.setData({ quadrant3Text: T(e.text) });
1831
+ }
1832
+ p(k, "setQuadrant3Text");
1833
+ function A(e) {
1834
+ E.setData({ quadrant4Text: T(e.text) });
1835
+ }
1836
+ p(A, "setQuadrant4Text");
1837
+ function j(e) {
1838
+ E.setData({ xAxisLeftText: T(e.text) });
1839
+ }
1840
+ p(j, "setXAxisLeftText");
1841
+ function M(e) {
1842
+ E.setData({ xAxisRightText: T(e.text) });
1843
+ }
1844
+ p(M, "setXAxisRightText");
1845
+ function N(e) {
1846
+ E.setData({ yAxisTopText: T(e.text) });
1847
+ }
1848
+ p(N, "setYAxisTopText");
1849
+ function P(e) {
1850
+ E.setData({ yAxisBottomText: T(e.text) });
1851
+ }
1852
+ p(P, "setYAxisBottomText");
1853
+ function F(e) {
1854
+ let t = {};
1855
+ for (let n of e) {
1856
+ let [e, r] = n.trim().split(/\s*:\s*/);
1857
+ if (e === "radius") {
1858
+ if (S(r)) throw new b(e, r, "number");
1859
+ t.radius = parseInt(r);
1860
+ } else if (e === "color") {
1861
+ if (x(r)) throw new b(e, r, "hex code");
1862
+ t.color = r;
1863
+ } else if (e === "stroke-color") {
1864
+ if (x(r)) throw new b(e, r, "hex code");
1865
+ t.strokeColor = r;
1866
+ } else if (e === "stroke-width") {
1867
+ if (C(r)) throw new b(e, r, "number of pixels (eg. 10px)");
1868
+ t.strokeWidth = r;
1869
+ } else throw Error(`style named ${e} is not supported.`);
1870
+ }
1871
+ return t;
1872
+ }
1873
+ p(F, "parseStyles");
1874
+ function I(e, t, n, r, i) {
1875
+ let a = F(i);
1876
+ E.addPoints([{
1877
+ x: n,
1878
+ y: r,
1879
+ text: T(e.text),
1880
+ className: t,
1881
+ ...a
1882
+ }]);
1883
+ }
1884
+ p(I, "addPoint");
1885
+ function L(e, t) {
1886
+ E.addClass(e, F(t));
1887
+ }
1888
+ p(L, "addClass");
1889
+ function R(e) {
1890
+ E.setConfig({ chartWidth: e });
1891
+ }
1892
+ p(R, "setWidth");
1893
+ function z(e) {
1894
+ E.setConfig({ chartHeight: e });
1895
+ }
1896
+ p(z, "setHeight");
1897
+ function B() {
1898
+ let { themeVariables: e, quadrantChart: n } = c();
1899
+ return n && E.setConfig(n), E.setThemeConfig({
1900
+ quadrant1Fill: e.quadrant1Fill,
1901
+ quadrant2Fill: e.quadrant2Fill,
1902
+ quadrant3Fill: e.quadrant3Fill,
1903
+ quadrant4Fill: e.quadrant4Fill,
1904
+ quadrant1TextFill: e.quadrant1TextFill,
1905
+ quadrant2TextFill: e.quadrant2TextFill,
1906
+ quadrant3TextFill: e.quadrant3TextFill,
1907
+ quadrant4TextFill: e.quadrant4TextFill,
1908
+ quadrantPointFill: e.quadrantPointFill,
1909
+ quadrantPointTextFill: e.quadrantPointTextFill,
1910
+ quadrantXAxisTextFill: e.quadrantXAxisTextFill,
1911
+ quadrantYAxisTextFill: e.quadrantYAxisTextFill,
1912
+ quadrantExternalBorderStrokeFill: e.quadrantExternalBorderStrokeFill,
1913
+ quadrantInternalBorderStrokeFill: e.quadrantInternalBorderStrokeFill,
1914
+ quadrantTitleFill: e.quadrantTitleFill
1915
+ }), E.setData({ titleText: t() }), E.build();
1916
+ }
1917
+ p(B, "getQuadrantData");
1918
+ var ee = {
1919
+ parser: _,
1920
+ db: {
1921
+ setWidth: R,
1922
+ setHeight: z,
1923
+ setQuadrant1Text: D,
1924
+ setQuadrant2Text: O,
1925
+ setQuadrant3Text: k,
1926
+ setQuadrant4Text: A,
1927
+ setXAxisLeftText: j,
1928
+ setXAxisRightText: M,
1929
+ setYAxisTopText: N,
1930
+ setYAxisBottomText: P,
1931
+ parseStyles: F,
1932
+ addPoint: I,
1933
+ addClass: L,
1934
+ getQuadrantData: B,
1935
+ clear: /* @__PURE__ */ p(function() {
1936
+ E.clear(), s();
1937
+ }, "clear"),
1938
+ setAccTitle: i,
1939
+ getAccTitle: d,
1940
+ setDiagramTitle: a,
1941
+ getDiagramTitle: t,
1942
+ getAccDescription: o,
1943
+ setAccDescription: e
1944
+ },
1945
+ renderer: { draw: /* @__PURE__ */ p((e, t, n, r) => {
1946
+ function i(e) {
1947
+ return e === "top" ? "hanging" : "middle";
1948
+ }
1949
+ p(i, "getDominantBaseLine");
1950
+ function a(e) {
1951
+ return e === "left" ? "start" : "middle";
1952
+ }
1953
+ p(a, "getTextAnchor");
1954
+ function o(e) {
1955
+ return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
1956
+ }
1957
+ p(o, "getTransformation");
1958
+ let s = c();
1959
+ f.debug("Rendering quadrant chart\n" + e);
1960
+ let u = s.securityLevel, d;
1961
+ u === "sandbox" && (d = m("#i" + t));
1962
+ let h = m(u === "sandbox" ? d.nodes()[0].contentDocument.body : "body").select(`[id="${t}"]`), g = h.append("g").attr("class", "main"), _ = s.quadrantChart?.chartWidth ?? 500, v = s.quadrantChart?.chartHeight ?? 500;
1963
+ l(h, v, _, s.quadrantChart?.useMaxWidth ?? !0), h.attr("viewBox", "0 0 " + _ + " " + v), r.db.setHeight(v), r.db.setWidth(_);
1964
+ let y = r.db.getQuadrantData(), b = g.append("g").attr("class", "quadrants"), x = g.append("g").attr("class", "border"), S = g.append("g").attr("class", "data-points"), C = g.append("g").attr("class", "labels"), w = g.append("g").attr("class", "title");
1965
+ y.title && w.append("text").attr("x", 0).attr("y", 0).attr("fill", y.title.fill).attr("font-size", y.title.fontSize).attr("dominant-baseline", i(y.title.horizontalPos)).attr("text-anchor", a(y.title.verticalPos)).attr("transform", o(y.title)).text(y.title.text), y.borderLines && x.selectAll("line").data(y.borderLines).enter().append("line").attr("x1", (e) => e.x1).attr("y1", (e) => e.y1).attr("x2", (e) => e.x2).attr("y2", (e) => e.y2).style("stroke", (e) => e.strokeFill).style("stroke-width", (e) => e.strokeWidth);
1966
+ let T = b.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class", "quadrant");
1967
+ T.append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill), T.append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.text.fill).attr("font-size", (e) => e.text.fontSize).attr("dominant-baseline", (e) => i(e.text.horizontalPos)).attr("text-anchor", (e) => a(e.text.verticalPos)).attr("transform", (e) => o(e.text)).text((e) => e.text.text), C.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class", "label").append("text").attr("x", 0).attr("y", 0).text((e) => e.text).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => i(e.horizontalPos)).attr("text-anchor", (e) => a(e.verticalPos)).attr("transform", (e) => o(e));
1968
+ let E = S.selectAll("g.data-point").data(y.points).enter().append("g").attr("class", "data-point");
1969
+ E.append("circle").attr("cx", (e) => e.x).attr("cy", (e) => e.y).attr("r", (e) => e.radius).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeColor).attr("stroke-width", (e) => e.strokeWidth), E.append("text").attr("x", 0).attr("y", 0).text((e) => e.text.text).attr("fill", (e) => e.text.fill).attr("font-size", (e) => e.text.fontSize).attr("dominant-baseline", (e) => i(e.text.horizontalPos)).attr("text-anchor", (e) => a(e.text.verticalPos)).attr("transform", (e) => o(e.text));
1970
+ }, "draw") },
1971
+ styles: /* @__PURE__ */ p(() => "", "styles")
1972
+ };
1973
+ //#endregion
1974
+ export { ee as diagram };