ranui 0.2.0-alpha.7 → 0.2.1-alpha.3

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 (331) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
  4. package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
  5. package/dist/arc-D25LhgTs.cjs +1 -0
  6. package/dist/arc-DRPGof21.js +82 -0
  7. package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
  8. package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
  9. package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
  10. package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
  11. package/dist/array-By5736M5.js +7 -0
  12. package/dist/array-C3cbN3GY.cjs +1 -0
  13. package/dist/arrow-down-Bi5kqUrX.js +12 -0
  14. package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
  15. package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
  16. package/dist/builder.d.ts +4 -4
  17. package/dist/builder.js +39 -30
  18. package/dist/builtin-BkM0LLof.js +416 -0
  19. package/dist/button-D0zcnKnG.js +117 -0
  20. package/dist/button.js +1 -1
  21. package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
  22. package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
  23. package/dist/{card-BVvXX6KM.js → card-CygMndQS.js} +2 -2
  24. package/dist/card.js +1 -1
  25. package/dist/channel-C9WSNwcS.cjs +1 -0
  26. package/dist/channel-k5-UxdcV.js +5 -0
  27. package/dist/{checkbox-BtoX9X2Z.js → checkbox-D5om9aJO.js} +10 -10
  28. package/dist/checkbox.js +1 -1
  29. package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
  30. package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
  31. package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
  32. package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
  33. package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
  34. package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
  35. package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
  36. package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
  37. package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
  38. package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
  39. package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
  40. package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
  41. package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
  42. package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
  43. package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
  44. package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
  45. package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
  46. package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
  47. package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
  48. package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
  49. package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
  50. package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
  51. package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
  52. package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
  53. package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
  54. package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
  55. package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
  56. package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
  57. package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
  58. package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
  59. package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
  60. package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
  61. package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
  62. package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
  63. package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
  64. package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
  65. package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
  66. package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
  67. package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
  68. package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
  69. package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
  70. package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
  71. package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
  72. package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
  73. package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
  74. package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
  75. package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
  76. package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
  77. package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
  78. package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
  79. package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
  80. package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
  81. package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
  82. package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
  83. package/dist/{colorpicker-Dukms7ET.js → colorpicker-qWnaTlYX.js} +9 -10
  84. package/dist/colorpicker.js +1 -1
  85. package/dist/components/colorpicker/index.d.ts +3 -3
  86. package/dist/components/glass/index.d.ts +52 -0
  87. package/dist/components/icon/builtin.d.ts +9 -0
  88. package/dist/components/icon/core-icons.d.ts +13 -0
  89. package/dist/components/icon/index.d.ts +8 -0
  90. package/dist/components/mermaid/index.d.ts +52 -0
  91. package/dist/components/modal/index.d.ts +9 -0
  92. package/dist/components/route/index.d.ts +10 -4
  93. package/dist/components/router/index.d.ts +3 -0
  94. package/dist/content-Rry-U6ir.js +39 -0
  95. package/dist/content.js +5 -0
  96. package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
  97. package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
  98. package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
  99. package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
  100. package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
  101. package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
  102. package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
  103. package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
  104. package/dist/dagre-D1-W1tt6.cjs +1 -0
  105. package/dist/dagre-D8GLTwuf.js +1578 -0
  106. package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
  107. package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
  108. package/dist/defaultLocale-0M_kMcEH.js +184 -0
  109. package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
  110. package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
  111. package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
  112. package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
  113. package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
  114. package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
  115. package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
  116. package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
  117. package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
  118. package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
  119. package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
  120. package/dist/dist-C0Fwsvsq.js +70 -0
  121. package/dist/dist-C20XxSsP.cjs +1 -0
  122. package/dist/{dropdown-BYS1Trdu.js → dropdown-DzdAR1nI.js} +4 -4
  123. package/dist/dropdown.js +1 -1
  124. package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
  125. package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
  126. package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
  127. package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
  128. package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
  129. package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
  130. package/dist/factory-BkvRcCOx.js +482 -0
  131. package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
  132. package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
  133. package/dist/{form-BsB5JhS4.js → form-CUJpeQ7Q.js} +5 -5
  134. package/dist/form.js +1 -1
  135. package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
  136. package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
  137. package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
  138. package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
  139. package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
  140. package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
  141. package/dist/glass-Bj1Zf8Hy.js +115 -0
  142. package/dist/glass.js +5 -0
  143. package/dist/graphlib-CCKThIKP.js +1104 -0
  144. package/dist/graphlib-Du-578Js.cjs +1 -0
  145. package/dist/{icon-pfolda2m.js → icon-CtlZJISZ.js} +110 -21
  146. package/dist/icon.js +4 -3
  147. package/dist/icons.js +5 -0
  148. package/dist/iife/button.iife.js +1 -1
  149. package/dist/iife/card.iife.js +1 -1
  150. package/dist/iife/checkbox.iife.js +1 -1
  151. package/dist/iife/colorpicker.iife.js +2 -2
  152. package/dist/iife/content.iife.js +1 -0
  153. package/dist/iife/dropdown.iife.js +1 -1
  154. package/dist/iife/form.iife.js +1 -1
  155. package/dist/iife/glass.iife.js +1 -0
  156. package/dist/iife/icon.iife.js +1 -1
  157. package/dist/iife/image.iife.js +1 -1
  158. package/dist/iife/input.iife.js +1 -1
  159. package/dist/iife/loading.iife.js +1 -1
  160. package/dist/iife/math.iife.js +14 -14
  161. package/dist/iife/mermaid.iife.js +3535 -0
  162. package/dist/iife/message.iife.js +1 -1
  163. package/dist/iife/modal.iife.js +1 -1
  164. package/dist/iife/player.iife.js +8 -8
  165. package/dist/iife/popover.iife.js +1 -1
  166. package/dist/iife/progress.iife.js +1 -1
  167. package/dist/iife/radar.iife.js +1 -1
  168. package/dist/iife/route.iife.js +1 -1
  169. package/dist/iife/router.iife.js +1 -1
  170. package/dist/iife/scratch.iife.js +1 -1
  171. package/dist/iife/section.iife.js +1 -1
  172. package/dist/iife/select.iife.js +2 -2
  173. package/dist/iife/skeleton.iife.js +1 -1
  174. package/dist/iife/tab.iife.js +1 -1
  175. package/dist/iife/tabpane.iife.js +1 -1
  176. package/dist/{image-BXpKQ9sU.js → image-ILZNlaGc.js} +4 -4
  177. package/dist/image.js +1 -1
  178. package/dist/index.cjs +257 -23
  179. package/dist/index.d.ts +11 -1
  180. package/dist/index.iife.js +3842 -74
  181. package/dist/index.js +86 -78
  182. package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
  183. package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
  184. package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
  185. package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
  186. package/dist/init-1VpIn1S3.js +16 -0
  187. package/dist/init-CbDwVtpO.cjs +1 -0
  188. package/dist/{input-BMMM60e6.js → input-CDH6zY9I.js} +6 -6
  189. package/dist/input.js +1 -1
  190. package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
  191. package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
  192. package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
  193. package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
  194. package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
  195. package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
  196. package/dist/katex-Cq3Y8cmK.cjs +257 -0
  197. package/dist/katex-Pg2EqTH0.js +23485 -0
  198. package/dist/line-BIPmUVxO.js +33 -0
  199. package/dist/line-CAB5QHC6.cjs +1 -0
  200. package/dist/linear-B2AM4ZBe.js +259 -0
  201. package/dist/linear-CSAfNEpl.cjs +1 -0
  202. package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
  203. package/dist/link.js +1 -1
  204. package/dist/{loading-BScjyeVm.js → loading-DJWGih1g.js} +4 -4
  205. package/dist/loading.js +1 -1
  206. package/dist/map-BC2bk_rV.cjs +1 -0
  207. package/dist/map-DMSWkcq6.js +208 -0
  208. package/dist/{math-IjzOAwnA.js → math-DRmkEDSQ.js} +4 -4
  209. package/dist/math.js +1 -1
  210. package/dist/mermaid-CMhm7npE.js +261 -0
  211. package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
  212. package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
  213. package/dist/mermaid.core-B2d5lQW2.js +1085 -0
  214. package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
  215. package/dist/mermaid.js +5 -0
  216. package/dist/{message-CLpuP8HY.js → message-BpYJBvYn.js} +36 -51
  217. package/dist/message.js +1 -1
  218. package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
  219. package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
  220. package/dist/{modal-DOTpABRe.js → modal-BeQlDYDP.js} +40 -24
  221. package/dist/modal.js +1 -1
  222. package/dist/ordinal-BMN81JG2.js +64 -0
  223. package/dist/ordinal-BplLHIij.cjs +1 -0
  224. package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
  225. package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
  226. package/dist/path-Bja5PoYn.js +82 -0
  227. package/dist/path-DmfWsuKi.cjs +1 -0
  228. package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
  229. package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
  230. package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
  231. package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
  232. package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
  233. package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
  234. package/dist/{player-5olrw-qB.js → player-CQ4e3Yeo.js} +196 -195
  235. package/dist/player.js +1 -1
  236. package/dist/{popover-DRUQjdPs.js → popover-eZMnL1F3.js} +22 -54
  237. package/dist/popover.js +1 -1
  238. package/dist/{progress-BIEXYYd2.js → progress-DyHgW4Ep.js} +5 -5
  239. package/dist/progress.js +1 -1
  240. package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
  241. package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
  242. package/dist/{radar-DAF95_Mj.js → radar-D21Rccap.js} +5 -5
  243. package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
  244. package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
  245. package/dist/radar.js +1 -1
  246. package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
  247. package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
  248. package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
  249. package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
  250. package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
  251. package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
  252. package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
  253. package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
  254. package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
  255. package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
  256. package/dist/ranui.css +1 -1
  257. package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
  258. package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
  259. package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
  260. package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
  261. package/dist/rough.esm-BWe9E0Nz.js +1387 -0
  262. package/dist/rough.esm-BfSi6CZE.cjs +1 -0
  263. package/dist/route-pR5P4ann.js +116 -0
  264. package/dist/route.js +1 -1
  265. package/dist/{router-B9rCrWXm.js → router-CewzSH7O.js} +23 -18
  266. package/dist/router.js +1 -1
  267. package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
  268. package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
  269. package/dist/{scratch-QlPyy1f4.js → scratch-BFVsgl-7.js} +2 -2
  270. package/dist/scratch.js +1 -1
  271. package/dist/{section-D0qMm9KM.js → section-DSPCsIxv.js} +2 -2
  272. package/dist/section.js +1 -1
  273. package/dist/{select-aAaWoveE.js → select-B58nMfB1.js} +16 -23
  274. package/dist/select.js +1 -1
  275. package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
  276. package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
  277. package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
  278. package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
  279. package/dist/{skeleton-CFqQmKyt.js → skeleton-DoHYMsTn.js} +5 -5
  280. package/dist/skeleton.js +1 -1
  281. package/dist/src-C9EhKhbk.cjs +1 -0
  282. package/dist/src-DtRLxcYO.js +2104 -0
  283. package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
  284. package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
  285. package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
  286. package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
  287. package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
  288. package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
  289. package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
  290. package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
  291. package/dist/{tab-CiF2YPck.js → tab-BRPdZ9Ws.js} +5 -5
  292. package/dist/tab.js +1 -1
  293. package/dist/{tabpane-B-m3xwqu.js → tabpane-Owf72hw_.js} +5 -5
  294. package/dist/tabpane.js +1 -1
  295. package/dist/test/unit/icon.builtin.test.d.ts +1 -0
  296. package/dist/test/unit/utils.colorpicker.reconnect.test.d.ts +1 -0
  297. package/dist/test/unit/utils.route.lazy.test.d.ts +1 -0
  298. package/dist/test/unit/utils.router.match.test.d.ts +1 -0
  299. package/dist/test/unit/utils.signal.owner.test.d.ts +1 -0
  300. package/dist/{theme-switch-B09egc6h.js → theme-switch-CZDIIonc.js} +4 -4
  301. package/dist/theme-switch.js +1 -1
  302. package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
  303. package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
  304. package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
  305. package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
  306. package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
  307. package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
  308. package/dist/utils/builder/core.d.ts +153 -16
  309. package/dist/utils/builder/factory.d.ts +1 -1
  310. package/dist/utils/builder/index.d.ts +3 -3
  311. package/dist/utils/builder/signal.d.ts +93 -64
  312. package/dist/utils/router/index.d.ts +13 -3
  313. package/dist/utils/router.js +95 -54
  314. package/dist/utils/theme.d.ts +1 -1
  315. package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
  316. package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
  317. package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
  318. package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
  319. package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
  320. package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
  321. package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
  322. package/dist/warning-circle-fill-Cz0qu7AH.js +23 -0
  323. package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
  324. package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
  325. package/docs/BUILDER.md +383 -0
  326. package/docs/COMPONENTS.md +21 -3
  327. package/package.json +31 -3
  328. package/dist/button-Be_uHDZG.js +0 -117
  329. package/dist/factory-BdsO0dEW.js +0 -165
  330. package/dist/route-MQZpn2BP.js +0 -88
  331. package/dist/signal-CSSZxlK5.js +0 -57
@@ -0,0 +1,2301 @@
1
+ import { n as h, t as ze } from "./chunk-Y2CYZVJY-0JxdZxki.js";
2
+ import { m as Ne } from "./src-DtRLxcYO.js";
3
+ import { H as Xe, K as Je, U as Ze, a as et, b as Qe, v as tt, w as st, x as qe, y as it } from "./chunk-WYO6CB5R-DDHkKowO.js";
4
+ import { g as rt } from "./chunk-ICXQ74PX-DR8rL-xF.js";
5
+ import "./chunk-HOUHSVGY-DRQcQeMT.js";
6
+ import "./chunk-Q4XR5HBZ-3BHjjc9u.js";
7
+ import "./chunk-7BUUIJ7U-9hiBbc7O.js";
8
+ import "./chunk-OGEWGWER-BV51ll2w.js";
9
+ import { t as nt } from "./chunk-XXDRQBXY-BB1i_53q.js";
10
+ import { t as at } from "./chunk-VR4S4FIN-CJi5okl4.js";
11
+ import "./chunk-C7G6YPKG-CA-DNpvI.js";
12
+ import "./chunk-ZGVPDNZ5-6uMbTJXy.js";
13
+ import "./chunk-52WLFC77-wpL7en7e.js";
14
+ import { r as lt, t as ct } from "./chunk-FWX5IMBZ-DZ5VYvm5.js";
15
+ var Ce = (function() {
16
+ var e = /* @__PURE__ */ h(function(r, l, u, c) {
17
+ for (u = u || {}, c = r.length; c--; u[r[c]] = l) ;
18
+ return u;
19
+ }, "o"), m = [1, 3], o = [1, 4], i = [1, 5], n = [1, 6], f = [
20
+ 5,
21
+ 6,
22
+ 8,
23
+ 9,
24
+ 11,
25
+ 13,
26
+ 21,
27
+ 22,
28
+ 23,
29
+ 24,
30
+ 41,
31
+ 42,
32
+ 43,
33
+ 44,
34
+ 45,
35
+ 46,
36
+ 54,
37
+ 72,
38
+ 74,
39
+ 77,
40
+ 89,
41
+ 90
42
+ ], E = [1, 22], I = [2, 7], y = [1, 26], b = [1, 27], k = [1, 28], C = [1, 29], A = [1, 33], V = [1, 34], v = [1, 35], L = [1, 36], x = [1, 37], w = [1, 38], O = [1, 24], D = [1, 31], M = [1, 32], F = [1, 30], p = [1, 39], R = [1, 40], d = [
43
+ 5,
44
+ 8,
45
+ 9,
46
+ 11,
47
+ 13,
48
+ 21,
49
+ 22,
50
+ 23,
51
+ 24,
52
+ 41,
53
+ 42,
54
+ 43,
55
+ 44,
56
+ 45,
57
+ 46,
58
+ 54,
59
+ 72,
60
+ 74,
61
+ 77,
62
+ 89,
63
+ 90
64
+ ], P = [1, 61], X = [89, 90], Ae = [
65
+ 5,
66
+ 8,
67
+ 9,
68
+ 11,
69
+ 13,
70
+ 21,
71
+ 22,
72
+ 23,
73
+ 24,
74
+ 27,
75
+ 29,
76
+ 41,
77
+ 42,
78
+ 43,
79
+ 44,
80
+ 45,
81
+ 46,
82
+ 54,
83
+ 61,
84
+ 63,
85
+ 72,
86
+ 74,
87
+ 75,
88
+ 76,
89
+ 77,
90
+ 80,
91
+ 81,
92
+ 82,
93
+ 83,
94
+ 84,
95
+ 85,
96
+ 86,
97
+ 87,
98
+ 88,
99
+ 89,
100
+ 90
101
+ ], de = [27, 29], Ve = [1, 70], ve = [1, 71], Le = [1, 72], xe = [1, 73], we = [1, 74], Oe = [1, 75], De = [1, 76], Z = [1, 83], U = [1, 80], ee = [1, 84], te = [1, 85], se = [1, 86], ie = [1, 87], re = [1, 88], ne = [1, 89], ae = [1, 90], le = [1, 91], ce = [1, 92], Ee = [
102
+ 5,
103
+ 8,
104
+ 9,
105
+ 11,
106
+ 13,
107
+ 21,
108
+ 22,
109
+ 23,
110
+ 24,
111
+ 27,
112
+ 41,
113
+ 42,
114
+ 43,
115
+ 44,
116
+ 45,
117
+ 46,
118
+ 54,
119
+ 72,
120
+ 74,
121
+ 75,
122
+ 76,
123
+ 77,
124
+ 80,
125
+ 81,
126
+ 82,
127
+ 83,
128
+ 84,
129
+ 85,
130
+ 86,
131
+ 87,
132
+ 88,
133
+ 89,
134
+ 90
135
+ ], Y = [63, 64], Me = [1, 101], Fe = [
136
+ 5,
137
+ 8,
138
+ 9,
139
+ 11,
140
+ 13,
141
+ 21,
142
+ 22,
143
+ 23,
144
+ 24,
145
+ 41,
146
+ 42,
147
+ 43,
148
+ 44,
149
+ 45,
150
+ 46,
151
+ 54,
152
+ 72,
153
+ 74,
154
+ 76,
155
+ 77,
156
+ 89,
157
+ 90
158
+ ], T = [
159
+ 5,
160
+ 8,
161
+ 9,
162
+ 11,
163
+ 13,
164
+ 21,
165
+ 22,
166
+ 23,
167
+ 24,
168
+ 41,
169
+ 42,
170
+ 43,
171
+ 44,
172
+ 45,
173
+ 46,
174
+ 54,
175
+ 72,
176
+ 74,
177
+ 75,
178
+ 76,
179
+ 77,
180
+ 80,
181
+ 81,
182
+ 82,
183
+ 83,
184
+ 84,
185
+ 85,
186
+ 86,
187
+ 87,
188
+ 88,
189
+ 89,
190
+ 90
191
+ ], B = [1, 110], Q = [1, 106], H = [1, 107], K = [1, 108], W = [1, 109], j = [1, 111], oe = [1, 116], he = [1, 117], ue = [1, 114], me = [1, 115], _e = {
192
+ trace: /* @__PURE__ */ h(function() {
193
+ }, "trace"),
194
+ yy: {},
195
+ symbols_: {
196
+ error: 2,
197
+ start: 3,
198
+ directive: 4,
199
+ NEWLINE: 5,
200
+ RD: 6,
201
+ diagram: 7,
202
+ EOF: 8,
203
+ acc_title: 9,
204
+ acc_title_value: 10,
205
+ acc_descr: 11,
206
+ acc_descr_value: 12,
207
+ acc_descr_multiline_value: 13,
208
+ requirementDef: 14,
209
+ elementDef: 15,
210
+ relationshipDef: 16,
211
+ direction: 17,
212
+ styleStatement: 18,
213
+ classDefStatement: 19,
214
+ classStatement: 20,
215
+ direction_tb: 21,
216
+ direction_bt: 22,
217
+ direction_rl: 23,
218
+ direction_lr: 24,
219
+ requirementType: 25,
220
+ requirementName: 26,
221
+ STRUCT_START: 27,
222
+ requirementBody: 28,
223
+ STYLE_SEPARATOR: 29,
224
+ idList: 30,
225
+ ID: 31,
226
+ COLONSEP: 32,
227
+ id: 33,
228
+ TEXT: 34,
229
+ text: 35,
230
+ RISK: 36,
231
+ riskLevel: 37,
232
+ VERIFYMTHD: 38,
233
+ verifyType: 39,
234
+ STRUCT_STOP: 40,
235
+ REQUIREMENT: 41,
236
+ FUNCTIONAL_REQUIREMENT: 42,
237
+ INTERFACE_REQUIREMENT: 43,
238
+ PERFORMANCE_REQUIREMENT: 44,
239
+ PHYSICAL_REQUIREMENT: 45,
240
+ DESIGN_CONSTRAINT: 46,
241
+ LOW_RISK: 47,
242
+ MED_RISK: 48,
243
+ HIGH_RISK: 49,
244
+ VERIFY_ANALYSIS: 50,
245
+ VERIFY_DEMONSTRATION: 51,
246
+ VERIFY_INSPECTION: 52,
247
+ VERIFY_TEST: 53,
248
+ ELEMENT: 54,
249
+ elementName: 55,
250
+ elementBody: 56,
251
+ TYPE: 57,
252
+ type: 58,
253
+ DOCREF: 59,
254
+ ref: 60,
255
+ END_ARROW_L: 61,
256
+ relationship: 62,
257
+ LINE: 63,
258
+ END_ARROW_R: 64,
259
+ CONTAINS: 65,
260
+ COPIES: 66,
261
+ DERIVES: 67,
262
+ SATISFIES: 68,
263
+ VERIFIES: 69,
264
+ REFINES: 70,
265
+ TRACES: 71,
266
+ CLASSDEF: 72,
267
+ stylesOpt: 73,
268
+ CLASS: 74,
269
+ ALPHA: 75,
270
+ COMMA: 76,
271
+ STYLE: 77,
272
+ style: 78,
273
+ styleComponent: 79,
274
+ NUM: 80,
275
+ COLON: 81,
276
+ UNIT: 82,
277
+ SPACE: 83,
278
+ BRKT: 84,
279
+ PCT: 85,
280
+ MINUS: 86,
281
+ LABEL: 87,
282
+ SEMICOLON: 88,
283
+ unqString: 89,
284
+ qString: 90,
285
+ $accept: 0,
286
+ $end: 1
287
+ },
288
+ terminals_: {
289
+ 2: "error",
290
+ 5: "NEWLINE",
291
+ 6: "RD",
292
+ 8: "EOF",
293
+ 9: "acc_title",
294
+ 10: "acc_title_value",
295
+ 11: "acc_descr",
296
+ 12: "acc_descr_value",
297
+ 13: "acc_descr_multiline_value",
298
+ 21: "direction_tb",
299
+ 22: "direction_bt",
300
+ 23: "direction_rl",
301
+ 24: "direction_lr",
302
+ 27: "STRUCT_START",
303
+ 29: "STYLE_SEPARATOR",
304
+ 31: "ID",
305
+ 32: "COLONSEP",
306
+ 34: "TEXT",
307
+ 36: "RISK",
308
+ 38: "VERIFYMTHD",
309
+ 40: "STRUCT_STOP",
310
+ 41: "REQUIREMENT",
311
+ 42: "FUNCTIONAL_REQUIREMENT",
312
+ 43: "INTERFACE_REQUIREMENT",
313
+ 44: "PERFORMANCE_REQUIREMENT",
314
+ 45: "PHYSICAL_REQUIREMENT",
315
+ 46: "DESIGN_CONSTRAINT",
316
+ 47: "LOW_RISK",
317
+ 48: "MED_RISK",
318
+ 49: "HIGH_RISK",
319
+ 50: "VERIFY_ANALYSIS",
320
+ 51: "VERIFY_DEMONSTRATION",
321
+ 52: "VERIFY_INSPECTION",
322
+ 53: "VERIFY_TEST",
323
+ 54: "ELEMENT",
324
+ 57: "TYPE",
325
+ 59: "DOCREF",
326
+ 61: "END_ARROW_L",
327
+ 63: "LINE",
328
+ 64: "END_ARROW_R",
329
+ 65: "CONTAINS",
330
+ 66: "COPIES",
331
+ 67: "DERIVES",
332
+ 68: "SATISFIES",
333
+ 69: "VERIFIES",
334
+ 70: "REFINES",
335
+ 71: "TRACES",
336
+ 72: "CLASSDEF",
337
+ 74: "CLASS",
338
+ 75: "ALPHA",
339
+ 76: "COMMA",
340
+ 77: "STYLE",
341
+ 80: "NUM",
342
+ 81: "COLON",
343
+ 82: "UNIT",
344
+ 83: "SPACE",
345
+ 84: "BRKT",
346
+ 85: "PCT",
347
+ 86: "MINUS",
348
+ 87: "LABEL",
349
+ 88: "SEMICOLON",
350
+ 89: "unqString",
351
+ 90: "qString"
352
+ },
353
+ productions_: [
354
+ 0,
355
+ [3, 3],
356
+ [3, 2],
357
+ [3, 4],
358
+ [4, 2],
359
+ [4, 2],
360
+ [4, 1],
361
+ [7, 0],
362
+ [7, 2],
363
+ [7, 2],
364
+ [7, 2],
365
+ [7, 2],
366
+ [7, 2],
367
+ [7, 2],
368
+ [7, 2],
369
+ [7, 2],
370
+ [7, 2],
371
+ [17, 1],
372
+ [17, 1],
373
+ [17, 1],
374
+ [17, 1],
375
+ [14, 5],
376
+ [14, 7],
377
+ [28, 5],
378
+ [28, 5],
379
+ [28, 5],
380
+ [28, 5],
381
+ [28, 2],
382
+ [28, 1],
383
+ [25, 1],
384
+ [25, 1],
385
+ [25, 1],
386
+ [25, 1],
387
+ [25, 1],
388
+ [25, 1],
389
+ [37, 1],
390
+ [37, 1],
391
+ [37, 1],
392
+ [39, 1],
393
+ [39, 1],
394
+ [39, 1],
395
+ [39, 1],
396
+ [15, 5],
397
+ [15, 7],
398
+ [56, 5],
399
+ [56, 5],
400
+ [56, 2],
401
+ [56, 1],
402
+ [16, 5],
403
+ [16, 5],
404
+ [62, 1],
405
+ [62, 1],
406
+ [62, 1],
407
+ [62, 1],
408
+ [62, 1],
409
+ [62, 1],
410
+ [62, 1],
411
+ [19, 3],
412
+ [20, 3],
413
+ [20, 3],
414
+ [30, 1],
415
+ [30, 3],
416
+ [30, 1],
417
+ [30, 3],
418
+ [18, 3],
419
+ [73, 1],
420
+ [73, 3],
421
+ [78, 1],
422
+ [78, 2],
423
+ [79, 1],
424
+ [79, 1],
425
+ [79, 1],
426
+ [79, 1],
427
+ [79, 1],
428
+ [79, 1],
429
+ [79, 1],
430
+ [79, 1],
431
+ [79, 1],
432
+ [79, 1],
433
+ [26, 1],
434
+ [26, 1],
435
+ [33, 1],
436
+ [33, 1],
437
+ [35, 1],
438
+ [35, 1],
439
+ [55, 1],
440
+ [55, 1],
441
+ [58, 1],
442
+ [58, 1],
443
+ [60, 1],
444
+ [60, 1]
445
+ ],
446
+ performAction: /* @__PURE__ */ h(function(l, u, c, s, g, t, fe) {
447
+ var a = t.length - 1;
448
+ switch (g) {
449
+ case 4:
450
+ this.$ = t[a].trim(), s.setAccTitle(this.$);
451
+ break;
452
+ case 5:
453
+ case 6:
454
+ this.$ = t[a].trim(), s.setAccDescription(this.$);
455
+ break;
456
+ case 7:
457
+ this.$ = [];
458
+ break;
459
+ case 17:
460
+ s.setDirection("TB");
461
+ break;
462
+ case 18:
463
+ s.setDirection("BT");
464
+ break;
465
+ case 19:
466
+ s.setDirection("RL");
467
+ break;
468
+ case 20:
469
+ s.setDirection("LR");
470
+ break;
471
+ case 21:
472
+ s.addRequirement(t[a - 3], t[a - 4]);
473
+ break;
474
+ case 22:
475
+ s.addRequirement(t[a - 5], t[a - 6]), s.setClass([t[a - 5]], t[a - 3]);
476
+ break;
477
+ case 23:
478
+ s.setNewReqId(t[a - 2]);
479
+ break;
480
+ case 24:
481
+ s.setNewReqText(t[a - 2]);
482
+ break;
483
+ case 25:
484
+ s.setNewReqRisk(t[a - 2]);
485
+ break;
486
+ case 26:
487
+ s.setNewReqVerifyMethod(t[a - 2]);
488
+ break;
489
+ case 29:
490
+ this.$ = s.RequirementType.REQUIREMENT;
491
+ break;
492
+ case 30:
493
+ this.$ = s.RequirementType.FUNCTIONAL_REQUIREMENT;
494
+ break;
495
+ case 31:
496
+ this.$ = s.RequirementType.INTERFACE_REQUIREMENT;
497
+ break;
498
+ case 32:
499
+ this.$ = s.RequirementType.PERFORMANCE_REQUIREMENT;
500
+ break;
501
+ case 33:
502
+ this.$ = s.RequirementType.PHYSICAL_REQUIREMENT;
503
+ break;
504
+ case 34:
505
+ this.$ = s.RequirementType.DESIGN_CONSTRAINT;
506
+ break;
507
+ case 35:
508
+ this.$ = s.RiskLevel.LOW_RISK;
509
+ break;
510
+ case 36:
511
+ this.$ = s.RiskLevel.MED_RISK;
512
+ break;
513
+ case 37:
514
+ this.$ = s.RiskLevel.HIGH_RISK;
515
+ break;
516
+ case 38:
517
+ this.$ = s.VerifyType.VERIFY_ANALYSIS;
518
+ break;
519
+ case 39:
520
+ this.$ = s.VerifyType.VERIFY_DEMONSTRATION;
521
+ break;
522
+ case 40:
523
+ this.$ = s.VerifyType.VERIFY_INSPECTION;
524
+ break;
525
+ case 41:
526
+ this.$ = s.VerifyType.VERIFY_TEST;
527
+ break;
528
+ case 42:
529
+ s.addElement(t[a - 3]);
530
+ break;
531
+ case 43:
532
+ s.addElement(t[a - 5]), s.setClass([t[a - 5]], t[a - 3]);
533
+ break;
534
+ case 44:
535
+ s.setNewElementType(t[a - 2]);
536
+ break;
537
+ case 45:
538
+ s.setNewElementDocRef(t[a - 2]);
539
+ break;
540
+ case 48:
541
+ s.addRelationship(t[a - 2], t[a], t[a - 4]);
542
+ break;
543
+ case 49:
544
+ s.addRelationship(t[a - 2], t[a - 4], t[a]);
545
+ break;
546
+ case 50:
547
+ this.$ = s.Relationships.CONTAINS;
548
+ break;
549
+ case 51:
550
+ this.$ = s.Relationships.COPIES;
551
+ break;
552
+ case 52:
553
+ this.$ = s.Relationships.DERIVES;
554
+ break;
555
+ case 53:
556
+ this.$ = s.Relationships.SATISFIES;
557
+ break;
558
+ case 54:
559
+ this.$ = s.Relationships.VERIFIES;
560
+ break;
561
+ case 55:
562
+ this.$ = s.Relationships.REFINES;
563
+ break;
564
+ case 56:
565
+ this.$ = s.Relationships.TRACES;
566
+ break;
567
+ case 57:
568
+ this.$ = t[a - 2], s.defineClass(t[a - 1], t[a]);
569
+ break;
570
+ case 58:
571
+ s.setClass(t[a - 1], t[a]);
572
+ break;
573
+ case 59:
574
+ s.setClass([t[a - 2]], t[a]);
575
+ break;
576
+ case 60:
577
+ case 62:
578
+ this.$ = [t[a]];
579
+ break;
580
+ case 61:
581
+ case 63:
582
+ this.$ = t[a - 2].concat([t[a]]);
583
+ break;
584
+ case 64:
585
+ this.$ = t[a - 2], s.setCssStyle(t[a - 1], t[a]);
586
+ break;
587
+ case 65:
588
+ this.$ = [t[a]];
589
+ break;
590
+ case 66:
591
+ t[a - 2].push(t[a]), this.$ = t[a - 2];
592
+ break;
593
+ case 68:
594
+ this.$ = t[a - 1] + t[a];
595
+ break;
596
+ }
597
+ }, "anonymous"),
598
+ table: [
599
+ {
600
+ 3: 1,
601
+ 4: 2,
602
+ 6: m,
603
+ 9: o,
604
+ 11: i,
605
+ 13: n
606
+ },
607
+ { 1: [3] },
608
+ {
609
+ 3: 8,
610
+ 4: 2,
611
+ 5: [1, 7],
612
+ 6: m,
613
+ 9: o,
614
+ 11: i,
615
+ 13: n
616
+ },
617
+ { 5: [1, 9] },
618
+ { 10: [1, 10] },
619
+ { 12: [1, 11] },
620
+ e(f, [2, 6]),
621
+ {
622
+ 3: 12,
623
+ 4: 2,
624
+ 6: m,
625
+ 9: o,
626
+ 11: i,
627
+ 13: n
628
+ },
629
+ { 1: [2, 2] },
630
+ {
631
+ 4: 17,
632
+ 5: E,
633
+ 7: 13,
634
+ 8: I,
635
+ 9: o,
636
+ 11: i,
637
+ 13: n,
638
+ 14: 14,
639
+ 15: 15,
640
+ 16: 16,
641
+ 17: 18,
642
+ 18: 19,
643
+ 19: 20,
644
+ 20: 21,
645
+ 21: y,
646
+ 22: b,
647
+ 23: k,
648
+ 24: C,
649
+ 25: 23,
650
+ 33: 25,
651
+ 41: A,
652
+ 42: V,
653
+ 43: v,
654
+ 44: L,
655
+ 45: x,
656
+ 46: w,
657
+ 54: O,
658
+ 72: D,
659
+ 74: M,
660
+ 77: F,
661
+ 89: p,
662
+ 90: R
663
+ },
664
+ e(f, [2, 4]),
665
+ e(f, [2, 5]),
666
+ { 1: [2, 1] },
667
+ { 8: [1, 41] },
668
+ {
669
+ 4: 17,
670
+ 5: E,
671
+ 7: 42,
672
+ 8: I,
673
+ 9: o,
674
+ 11: i,
675
+ 13: n,
676
+ 14: 14,
677
+ 15: 15,
678
+ 16: 16,
679
+ 17: 18,
680
+ 18: 19,
681
+ 19: 20,
682
+ 20: 21,
683
+ 21: y,
684
+ 22: b,
685
+ 23: k,
686
+ 24: C,
687
+ 25: 23,
688
+ 33: 25,
689
+ 41: A,
690
+ 42: V,
691
+ 43: v,
692
+ 44: L,
693
+ 45: x,
694
+ 46: w,
695
+ 54: O,
696
+ 72: D,
697
+ 74: M,
698
+ 77: F,
699
+ 89: p,
700
+ 90: R
701
+ },
702
+ {
703
+ 4: 17,
704
+ 5: E,
705
+ 7: 43,
706
+ 8: I,
707
+ 9: o,
708
+ 11: i,
709
+ 13: n,
710
+ 14: 14,
711
+ 15: 15,
712
+ 16: 16,
713
+ 17: 18,
714
+ 18: 19,
715
+ 19: 20,
716
+ 20: 21,
717
+ 21: y,
718
+ 22: b,
719
+ 23: k,
720
+ 24: C,
721
+ 25: 23,
722
+ 33: 25,
723
+ 41: A,
724
+ 42: V,
725
+ 43: v,
726
+ 44: L,
727
+ 45: x,
728
+ 46: w,
729
+ 54: O,
730
+ 72: D,
731
+ 74: M,
732
+ 77: F,
733
+ 89: p,
734
+ 90: R
735
+ },
736
+ {
737
+ 4: 17,
738
+ 5: E,
739
+ 7: 44,
740
+ 8: I,
741
+ 9: o,
742
+ 11: i,
743
+ 13: n,
744
+ 14: 14,
745
+ 15: 15,
746
+ 16: 16,
747
+ 17: 18,
748
+ 18: 19,
749
+ 19: 20,
750
+ 20: 21,
751
+ 21: y,
752
+ 22: b,
753
+ 23: k,
754
+ 24: C,
755
+ 25: 23,
756
+ 33: 25,
757
+ 41: A,
758
+ 42: V,
759
+ 43: v,
760
+ 44: L,
761
+ 45: x,
762
+ 46: w,
763
+ 54: O,
764
+ 72: D,
765
+ 74: M,
766
+ 77: F,
767
+ 89: p,
768
+ 90: R
769
+ },
770
+ {
771
+ 4: 17,
772
+ 5: E,
773
+ 7: 45,
774
+ 8: I,
775
+ 9: o,
776
+ 11: i,
777
+ 13: n,
778
+ 14: 14,
779
+ 15: 15,
780
+ 16: 16,
781
+ 17: 18,
782
+ 18: 19,
783
+ 19: 20,
784
+ 20: 21,
785
+ 21: y,
786
+ 22: b,
787
+ 23: k,
788
+ 24: C,
789
+ 25: 23,
790
+ 33: 25,
791
+ 41: A,
792
+ 42: V,
793
+ 43: v,
794
+ 44: L,
795
+ 45: x,
796
+ 46: w,
797
+ 54: O,
798
+ 72: D,
799
+ 74: M,
800
+ 77: F,
801
+ 89: p,
802
+ 90: R
803
+ },
804
+ {
805
+ 4: 17,
806
+ 5: E,
807
+ 7: 46,
808
+ 8: I,
809
+ 9: o,
810
+ 11: i,
811
+ 13: n,
812
+ 14: 14,
813
+ 15: 15,
814
+ 16: 16,
815
+ 17: 18,
816
+ 18: 19,
817
+ 19: 20,
818
+ 20: 21,
819
+ 21: y,
820
+ 22: b,
821
+ 23: k,
822
+ 24: C,
823
+ 25: 23,
824
+ 33: 25,
825
+ 41: A,
826
+ 42: V,
827
+ 43: v,
828
+ 44: L,
829
+ 45: x,
830
+ 46: w,
831
+ 54: O,
832
+ 72: D,
833
+ 74: M,
834
+ 77: F,
835
+ 89: p,
836
+ 90: R
837
+ },
838
+ {
839
+ 4: 17,
840
+ 5: E,
841
+ 7: 47,
842
+ 8: I,
843
+ 9: o,
844
+ 11: i,
845
+ 13: n,
846
+ 14: 14,
847
+ 15: 15,
848
+ 16: 16,
849
+ 17: 18,
850
+ 18: 19,
851
+ 19: 20,
852
+ 20: 21,
853
+ 21: y,
854
+ 22: b,
855
+ 23: k,
856
+ 24: C,
857
+ 25: 23,
858
+ 33: 25,
859
+ 41: A,
860
+ 42: V,
861
+ 43: v,
862
+ 44: L,
863
+ 45: x,
864
+ 46: w,
865
+ 54: O,
866
+ 72: D,
867
+ 74: M,
868
+ 77: F,
869
+ 89: p,
870
+ 90: R
871
+ },
872
+ {
873
+ 4: 17,
874
+ 5: E,
875
+ 7: 48,
876
+ 8: I,
877
+ 9: o,
878
+ 11: i,
879
+ 13: n,
880
+ 14: 14,
881
+ 15: 15,
882
+ 16: 16,
883
+ 17: 18,
884
+ 18: 19,
885
+ 19: 20,
886
+ 20: 21,
887
+ 21: y,
888
+ 22: b,
889
+ 23: k,
890
+ 24: C,
891
+ 25: 23,
892
+ 33: 25,
893
+ 41: A,
894
+ 42: V,
895
+ 43: v,
896
+ 44: L,
897
+ 45: x,
898
+ 46: w,
899
+ 54: O,
900
+ 72: D,
901
+ 74: M,
902
+ 77: F,
903
+ 89: p,
904
+ 90: R
905
+ },
906
+ {
907
+ 4: 17,
908
+ 5: E,
909
+ 7: 49,
910
+ 8: I,
911
+ 9: o,
912
+ 11: i,
913
+ 13: n,
914
+ 14: 14,
915
+ 15: 15,
916
+ 16: 16,
917
+ 17: 18,
918
+ 18: 19,
919
+ 19: 20,
920
+ 20: 21,
921
+ 21: y,
922
+ 22: b,
923
+ 23: k,
924
+ 24: C,
925
+ 25: 23,
926
+ 33: 25,
927
+ 41: A,
928
+ 42: V,
929
+ 43: v,
930
+ 44: L,
931
+ 45: x,
932
+ 46: w,
933
+ 54: O,
934
+ 72: D,
935
+ 74: M,
936
+ 77: F,
937
+ 89: p,
938
+ 90: R
939
+ },
940
+ {
941
+ 4: 17,
942
+ 5: E,
943
+ 7: 50,
944
+ 8: I,
945
+ 9: o,
946
+ 11: i,
947
+ 13: n,
948
+ 14: 14,
949
+ 15: 15,
950
+ 16: 16,
951
+ 17: 18,
952
+ 18: 19,
953
+ 19: 20,
954
+ 20: 21,
955
+ 21: y,
956
+ 22: b,
957
+ 23: k,
958
+ 24: C,
959
+ 25: 23,
960
+ 33: 25,
961
+ 41: A,
962
+ 42: V,
963
+ 43: v,
964
+ 44: L,
965
+ 45: x,
966
+ 46: w,
967
+ 54: O,
968
+ 72: D,
969
+ 74: M,
970
+ 77: F,
971
+ 89: p,
972
+ 90: R
973
+ },
974
+ {
975
+ 26: 51,
976
+ 89: [1, 52],
977
+ 90: [1, 53]
978
+ },
979
+ {
980
+ 55: 54,
981
+ 89: [1, 55],
982
+ 90: [1, 56]
983
+ },
984
+ {
985
+ 29: [1, 59],
986
+ 61: [1, 57],
987
+ 63: [1, 58]
988
+ },
989
+ e(d, [2, 17]),
990
+ e(d, [2, 18]),
991
+ e(d, [2, 19]),
992
+ e(d, [2, 20]),
993
+ {
994
+ 30: 60,
995
+ 33: 62,
996
+ 75: P,
997
+ 89: p,
998
+ 90: R
999
+ },
1000
+ {
1001
+ 30: 63,
1002
+ 33: 62,
1003
+ 75: P,
1004
+ 89: p,
1005
+ 90: R
1006
+ },
1007
+ {
1008
+ 30: 64,
1009
+ 33: 62,
1010
+ 75: P,
1011
+ 89: p,
1012
+ 90: R
1013
+ },
1014
+ e(X, [2, 29]),
1015
+ e(X, [2, 30]),
1016
+ e(X, [2, 31]),
1017
+ e(X, [2, 32]),
1018
+ e(X, [2, 33]),
1019
+ e(X, [2, 34]),
1020
+ e(Ae, [2, 81]),
1021
+ e(Ae, [2, 82]),
1022
+ { 1: [2, 3] },
1023
+ { 8: [2, 8] },
1024
+ { 8: [2, 9] },
1025
+ { 8: [2, 10] },
1026
+ { 8: [2, 11] },
1027
+ { 8: [2, 12] },
1028
+ { 8: [2, 13] },
1029
+ { 8: [2, 14] },
1030
+ { 8: [2, 15] },
1031
+ { 8: [2, 16] },
1032
+ {
1033
+ 27: [1, 65],
1034
+ 29: [1, 66]
1035
+ },
1036
+ e(de, [2, 79]),
1037
+ e(de, [2, 80]),
1038
+ {
1039
+ 27: [1, 67],
1040
+ 29: [1, 68]
1041
+ },
1042
+ e(de, [2, 85]),
1043
+ e(de, [2, 86]),
1044
+ {
1045
+ 62: 69,
1046
+ 65: Ve,
1047
+ 66: ve,
1048
+ 67: Le,
1049
+ 68: xe,
1050
+ 69: we,
1051
+ 70: Oe,
1052
+ 71: De
1053
+ },
1054
+ {
1055
+ 62: 77,
1056
+ 65: Ve,
1057
+ 66: ve,
1058
+ 67: Le,
1059
+ 68: xe,
1060
+ 69: we,
1061
+ 70: Oe,
1062
+ 71: De
1063
+ },
1064
+ {
1065
+ 30: 78,
1066
+ 33: 62,
1067
+ 75: P,
1068
+ 89: p,
1069
+ 90: R
1070
+ },
1071
+ {
1072
+ 73: 79,
1073
+ 75: Z,
1074
+ 76: U,
1075
+ 78: 81,
1076
+ 79: 82,
1077
+ 80: ee,
1078
+ 81: te,
1079
+ 82: se,
1080
+ 83: ie,
1081
+ 84: re,
1082
+ 85: ne,
1083
+ 86: ae,
1084
+ 87: le,
1085
+ 88: ce
1086
+ },
1087
+ e(Ee, [2, 60]),
1088
+ e(Ee, [2, 62]),
1089
+ {
1090
+ 73: 93,
1091
+ 75: Z,
1092
+ 76: U,
1093
+ 78: 81,
1094
+ 79: 82,
1095
+ 80: ee,
1096
+ 81: te,
1097
+ 82: se,
1098
+ 83: ie,
1099
+ 84: re,
1100
+ 85: ne,
1101
+ 86: ae,
1102
+ 87: le,
1103
+ 88: ce
1104
+ },
1105
+ {
1106
+ 30: 94,
1107
+ 33: 62,
1108
+ 75: P,
1109
+ 76: U,
1110
+ 89: p,
1111
+ 90: R
1112
+ },
1113
+ { 5: [1, 95] },
1114
+ {
1115
+ 30: 96,
1116
+ 33: 62,
1117
+ 75: P,
1118
+ 89: p,
1119
+ 90: R
1120
+ },
1121
+ { 5: [1, 97] },
1122
+ {
1123
+ 30: 98,
1124
+ 33: 62,
1125
+ 75: P,
1126
+ 89: p,
1127
+ 90: R
1128
+ },
1129
+ { 63: [1, 99] },
1130
+ e(Y, [2, 50]),
1131
+ e(Y, [2, 51]),
1132
+ e(Y, [2, 52]),
1133
+ e(Y, [2, 53]),
1134
+ e(Y, [2, 54]),
1135
+ e(Y, [2, 55]),
1136
+ e(Y, [2, 56]),
1137
+ { 64: [1, 100] },
1138
+ e(d, [2, 59], { 76: U }),
1139
+ e(d, [2, 64], { 76: Me }),
1140
+ {
1141
+ 33: 103,
1142
+ 75: [1, 102],
1143
+ 89: p,
1144
+ 90: R
1145
+ },
1146
+ e(Fe, [2, 65], {
1147
+ 79: 104,
1148
+ 75: Z,
1149
+ 80: ee,
1150
+ 81: te,
1151
+ 82: se,
1152
+ 83: ie,
1153
+ 84: re,
1154
+ 85: ne,
1155
+ 86: ae,
1156
+ 87: le,
1157
+ 88: ce
1158
+ }),
1159
+ e(T, [2, 67]),
1160
+ e(T, [2, 69]),
1161
+ e(T, [2, 70]),
1162
+ e(T, [2, 71]),
1163
+ e(T, [2, 72]),
1164
+ e(T, [2, 73]),
1165
+ e(T, [2, 74]),
1166
+ e(T, [2, 75]),
1167
+ e(T, [2, 76]),
1168
+ e(T, [2, 77]),
1169
+ e(T, [2, 78]),
1170
+ e(d, [2, 57], { 76: Me }),
1171
+ e(d, [2, 58], { 76: U }),
1172
+ {
1173
+ 5: B,
1174
+ 28: 105,
1175
+ 31: Q,
1176
+ 34: H,
1177
+ 36: K,
1178
+ 38: W,
1179
+ 40: j
1180
+ },
1181
+ {
1182
+ 27: [1, 112],
1183
+ 76: U
1184
+ },
1185
+ {
1186
+ 5: oe,
1187
+ 40: he,
1188
+ 56: 113,
1189
+ 57: ue,
1190
+ 59: me
1191
+ },
1192
+ {
1193
+ 27: [1, 118],
1194
+ 76: U
1195
+ },
1196
+ {
1197
+ 33: 119,
1198
+ 89: p,
1199
+ 90: R
1200
+ },
1201
+ {
1202
+ 33: 120,
1203
+ 89: p,
1204
+ 90: R
1205
+ },
1206
+ {
1207
+ 75: Z,
1208
+ 78: 121,
1209
+ 79: 82,
1210
+ 80: ee,
1211
+ 81: te,
1212
+ 82: se,
1213
+ 83: ie,
1214
+ 84: re,
1215
+ 85: ne,
1216
+ 86: ae,
1217
+ 87: le,
1218
+ 88: ce
1219
+ },
1220
+ e(Ee, [2, 61]),
1221
+ e(Ee, [2, 63]),
1222
+ e(T, [2, 68]),
1223
+ e(d, [2, 21]),
1224
+ { 32: [1, 122] },
1225
+ { 32: [1, 123] },
1226
+ { 32: [1, 124] },
1227
+ { 32: [1, 125] },
1228
+ {
1229
+ 5: B,
1230
+ 28: 126,
1231
+ 31: Q,
1232
+ 34: H,
1233
+ 36: K,
1234
+ 38: W,
1235
+ 40: j
1236
+ },
1237
+ e(d, [2, 28]),
1238
+ { 5: [1, 127] },
1239
+ e(d, [2, 42]),
1240
+ { 32: [1, 128] },
1241
+ { 32: [1, 129] },
1242
+ {
1243
+ 5: oe,
1244
+ 40: he,
1245
+ 56: 130,
1246
+ 57: ue,
1247
+ 59: me
1248
+ },
1249
+ e(d, [2, 47]),
1250
+ { 5: [1, 131] },
1251
+ e(d, [2, 48]),
1252
+ e(d, [2, 49]),
1253
+ e(Fe, [2, 66], {
1254
+ 79: 104,
1255
+ 75: Z,
1256
+ 80: ee,
1257
+ 81: te,
1258
+ 82: se,
1259
+ 83: ie,
1260
+ 84: re,
1261
+ 85: ne,
1262
+ 86: ae,
1263
+ 87: le,
1264
+ 88: ce
1265
+ }),
1266
+ {
1267
+ 33: 132,
1268
+ 89: p,
1269
+ 90: R
1270
+ },
1271
+ {
1272
+ 35: 133,
1273
+ 89: [1, 134],
1274
+ 90: [1, 135]
1275
+ },
1276
+ {
1277
+ 37: 136,
1278
+ 47: [1, 137],
1279
+ 48: [1, 138],
1280
+ 49: [1, 139]
1281
+ },
1282
+ {
1283
+ 39: 140,
1284
+ 50: [1, 141],
1285
+ 51: [1, 142],
1286
+ 52: [1, 143],
1287
+ 53: [1, 144]
1288
+ },
1289
+ e(d, [2, 27]),
1290
+ {
1291
+ 5: B,
1292
+ 28: 145,
1293
+ 31: Q,
1294
+ 34: H,
1295
+ 36: K,
1296
+ 38: W,
1297
+ 40: j
1298
+ },
1299
+ {
1300
+ 58: 146,
1301
+ 89: [1, 147],
1302
+ 90: [1, 148]
1303
+ },
1304
+ {
1305
+ 60: 149,
1306
+ 89: [1, 150],
1307
+ 90: [1, 151]
1308
+ },
1309
+ e(d, [2, 46]),
1310
+ {
1311
+ 5: oe,
1312
+ 40: he,
1313
+ 56: 152,
1314
+ 57: ue,
1315
+ 59: me
1316
+ },
1317
+ { 5: [1, 153] },
1318
+ { 5: [1, 154] },
1319
+ { 5: [2, 83] },
1320
+ { 5: [2, 84] },
1321
+ { 5: [1, 155] },
1322
+ { 5: [2, 35] },
1323
+ { 5: [2, 36] },
1324
+ { 5: [2, 37] },
1325
+ { 5: [1, 156] },
1326
+ { 5: [2, 38] },
1327
+ { 5: [2, 39] },
1328
+ { 5: [2, 40] },
1329
+ { 5: [2, 41] },
1330
+ e(d, [2, 22]),
1331
+ { 5: [1, 157] },
1332
+ { 5: [2, 87] },
1333
+ { 5: [2, 88] },
1334
+ { 5: [1, 158] },
1335
+ { 5: [2, 89] },
1336
+ { 5: [2, 90] },
1337
+ e(d, [2, 43]),
1338
+ {
1339
+ 5: B,
1340
+ 28: 159,
1341
+ 31: Q,
1342
+ 34: H,
1343
+ 36: K,
1344
+ 38: W,
1345
+ 40: j
1346
+ },
1347
+ {
1348
+ 5: B,
1349
+ 28: 160,
1350
+ 31: Q,
1351
+ 34: H,
1352
+ 36: K,
1353
+ 38: W,
1354
+ 40: j
1355
+ },
1356
+ {
1357
+ 5: B,
1358
+ 28: 161,
1359
+ 31: Q,
1360
+ 34: H,
1361
+ 36: K,
1362
+ 38: W,
1363
+ 40: j
1364
+ },
1365
+ {
1366
+ 5: B,
1367
+ 28: 162,
1368
+ 31: Q,
1369
+ 34: H,
1370
+ 36: K,
1371
+ 38: W,
1372
+ 40: j
1373
+ },
1374
+ {
1375
+ 5: oe,
1376
+ 40: he,
1377
+ 56: 163,
1378
+ 57: ue,
1379
+ 59: me
1380
+ },
1381
+ {
1382
+ 5: oe,
1383
+ 40: he,
1384
+ 56: 164,
1385
+ 57: ue,
1386
+ 59: me
1387
+ },
1388
+ e(d, [2, 23]),
1389
+ e(d, [2, 24]),
1390
+ e(d, [2, 25]),
1391
+ e(d, [2, 26]),
1392
+ e(d, [2, 44]),
1393
+ e(d, [2, 45])
1394
+ ],
1395
+ defaultActions: {
1396
+ 8: [2, 2],
1397
+ 12: [2, 1],
1398
+ 41: [2, 3],
1399
+ 42: [2, 8],
1400
+ 43: [2, 9],
1401
+ 44: [2, 10],
1402
+ 45: [2, 11],
1403
+ 46: [2, 12],
1404
+ 47: [2, 13],
1405
+ 48: [2, 14],
1406
+ 49: [2, 15],
1407
+ 50: [2, 16],
1408
+ 134: [2, 83],
1409
+ 135: [2, 84],
1410
+ 137: [2, 35],
1411
+ 138: [2, 36],
1412
+ 139: [2, 37],
1413
+ 141: [2, 38],
1414
+ 142: [2, 39],
1415
+ 143: [2, 40],
1416
+ 144: [2, 41],
1417
+ 147: [2, 87],
1418
+ 148: [2, 88],
1419
+ 150: [2, 89],
1420
+ 151: [2, 90]
1421
+ },
1422
+ parseError: /* @__PURE__ */ h(function(l, u) {
1423
+ if (u.recoverable) this.trace(l);
1424
+ else {
1425
+ var c = new Error(l);
1426
+ throw c.hash = u, c;
1427
+ }
1428
+ }, "parseError"),
1429
+ parse: /* @__PURE__ */ h(function(l) {
1430
+ var u = this, c = [0], s = [], g = [null], t = [], fe = this.table, a = "", Re = 0, $e = 0, Pe = 0, Ke = 2, Ue = 1, We = t.slice.call(arguments, 1), _ = Object.create(this.lexer), G = { yy: {} };
1431
+ for (var Se in this.yy) Object.prototype.hasOwnProperty.call(this.yy, Se) && (G.yy[Se] = this.yy[Se]);
1432
+ _.setInput(l, G.yy), G.yy.lexer = _, G.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
1433
+ var be = _.yylloc;
1434
+ t.push(be);
1435
+ var je = _.options && _.options.ranges;
1436
+ typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1437
+ function Ge(q) {
1438
+ c.length = c.length - 2 * q, g.length = g.length - q, t.length = t.length - q;
1439
+ }
1440
+ h(Ge, "popStack");
1441
+ function Ye() {
1442
+ var q = s.pop() || _.lex() || Ue;
1443
+ return typeof q != "number" && (q instanceof Array && (s = q, q = s.pop()), q = u.symbols_[q] || q), q;
1444
+ }
1445
+ h(Ye, "lex");
1446
+ for (var S, Ie, z, N, ke, J = {}, ge, $, Be, ye; ; ) {
1447
+ if (z = c[c.length - 1], this.defaultActions[z] ? N = this.defaultActions[z] : ((S === null || typeof S > "u") && (S = Ye()), N = fe[z] && fe[z][S]), typeof N > "u" || !N.length || !N[0]) {
1448
+ var Te = "";
1449
+ ye = [];
1450
+ for (ge in fe[z]) this.terminals_[ge] && ge > Ke && ye.push("'" + this.terminals_[ge] + "'");
1451
+ _.showPosition ? Te = "Parse error on line " + (Re + 1) + `:
1452
+ ` + _.showPosition() + `
1453
+ Expecting ` + ye.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : Te = "Parse error on line " + (Re + 1) + ": Unexpected " + (S == Ue ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(Te, {
1454
+ text: _.match,
1455
+ token: this.terminals_[S] || S,
1456
+ line: _.yylineno,
1457
+ loc: be,
1458
+ expected: ye
1459
+ });
1460
+ }
1461
+ if (N[0] instanceof Array && N.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + z + ", token: " + S);
1462
+ switch (N[0]) {
1463
+ case 1:
1464
+ c.push(S), g.push(_.yytext), t.push(_.yylloc), c.push(N[1]), S = null, Ie ? (S = Ie, Ie = null) : ($e = _.yyleng, a = _.yytext, Re = _.yylineno, be = _.yylloc, Pe > 0 && Pe--);
1465
+ break;
1466
+ case 2:
1467
+ if ($ = this.productions_[N[1]][1], J.$ = g[g.length - $], J._$ = {
1468
+ first_line: t[t.length - ($ || 1)].first_line,
1469
+ last_line: t[t.length - 1].last_line,
1470
+ first_column: t[t.length - ($ || 1)].first_column,
1471
+ last_column: t[t.length - 1].last_column
1472
+ }, je && (J._$.range = [t[t.length - ($ || 1)].range[0], t[t.length - 1].range[1]]), ke = this.performAction.apply(J, [
1473
+ a,
1474
+ $e,
1475
+ Re,
1476
+ G.yy,
1477
+ N[1],
1478
+ g,
1479
+ t
1480
+ ].concat(We)), typeof ke < "u") return ke;
1481
+ $ && (c = c.slice(0, -1 * $ * 2), g = g.slice(0, -1 * $), t = t.slice(0, -1 * $)), c.push(this.productions_[N[1]][0]), g.push(J.$), t.push(J._$), Be = fe[c[c.length - 2]][c[c.length - 1]], c.push(Be);
1482
+ break;
1483
+ case 3:
1484
+ return !0;
1485
+ }
1486
+ }
1487
+ return !0;
1488
+ }, "parse")
1489
+ };
1490
+ _e.lexer = /* @__PURE__ */ (function() {
1491
+ return {
1492
+ EOF: 1,
1493
+ parseError: /* @__PURE__ */ h(function(l, u) {
1494
+ if (this.yy.parser) this.yy.parser.parseError(l, u);
1495
+ else throw new Error(l);
1496
+ }, "parseError"),
1497
+ setInput: /* @__PURE__ */ h(function(r, l) {
1498
+ return this.yy = l || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1499
+ first_line: 1,
1500
+ first_column: 0,
1501
+ last_line: 1,
1502
+ last_column: 0
1503
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1504
+ }, "setInput"),
1505
+ input: /* @__PURE__ */ h(function() {
1506
+ var r = this._input[0];
1507
+ return this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r, r.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), r;
1508
+ }, "input"),
1509
+ unput: /* @__PURE__ */ h(function(r) {
1510
+ var l = r.length, u = r.split(/(?:\r\n?|\n)/g);
1511
+ this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
1512
+ var c = this.match.split(/(?:\r\n?|\n)/g);
1513
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), u.length - 1 && (this.yylineno -= u.length - 1);
1514
+ var s = this.yylloc.range;
1515
+ return this.yylloc = {
1516
+ first_line: this.yylloc.first_line,
1517
+ last_line: this.yylineno + 1,
1518
+ first_column: this.yylloc.first_column,
1519
+ last_column: u ? (u.length === c.length ? this.yylloc.first_column : 0) + c[c.length - u.length].length - u[0].length : this.yylloc.first_column - l
1520
+ }, this.options.ranges && (this.yylloc.range = [s[0], s[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
1521
+ }, "unput"),
1522
+ more: /* @__PURE__ */ h(function() {
1523
+ return this._more = !0, this;
1524
+ }, "more"),
1525
+ reject: /* @__PURE__ */ h(function() {
1526
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1527
+ 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).
1528
+ ` + this.showPosition(), {
1529
+ text: "",
1530
+ token: null,
1531
+ line: this.yylineno
1532
+ });
1533
+ return this;
1534
+ }, "reject"),
1535
+ less: /* @__PURE__ */ h(function(r) {
1536
+ this.unput(this.match.slice(r));
1537
+ }, "less"),
1538
+ pastInput: /* @__PURE__ */ h(function() {
1539
+ var r = this.matched.substr(0, this.matched.length - this.match.length);
1540
+ return (r.length > 20 ? "..." : "") + r.substr(-20).replace(/\n/g, "");
1541
+ }, "pastInput"),
1542
+ upcomingInput: /* @__PURE__ */ h(function() {
1543
+ var r = this.match;
1544
+ return r.length < 20 && (r += this._input.substr(0, 20 - r.length)), (r.substr(0, 20) + (r.length > 20 ? "..." : "")).replace(/\n/g, "");
1545
+ }, "upcomingInput"),
1546
+ showPosition: /* @__PURE__ */ h(function() {
1547
+ var r = this.pastInput(), l = new Array(r.length + 1).join("-");
1548
+ return r + this.upcomingInput() + `
1549
+ ` + l + "^";
1550
+ }, "showPosition"),
1551
+ test_match: /* @__PURE__ */ h(function(r, l) {
1552
+ var u, c, s;
1553
+ if (this.options.backtrack_lexer && (s = {
1554
+ yylineno: this.yylineno,
1555
+ yylloc: {
1556
+ first_line: this.yylloc.first_line,
1557
+ last_line: this.last_line,
1558
+ first_column: this.yylloc.first_column,
1559
+ last_column: this.yylloc.last_column
1560
+ },
1561
+ yytext: this.yytext,
1562
+ match: this.match,
1563
+ matches: this.matches,
1564
+ matched: this.matched,
1565
+ yyleng: this.yyleng,
1566
+ offset: this.offset,
1567
+ _more: this._more,
1568
+ _input: this._input,
1569
+ yy: this.yy,
1570
+ conditionStack: this.conditionStack.slice(0),
1571
+ done: this.done
1572
+ }, this.options.ranges && (s.yylloc.range = this.yylloc.range.slice(0))), c = r[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
1573
+ first_line: this.yylloc.last_line,
1574
+ last_line: this.yylineno + 1,
1575
+ first_column: this.yylloc.last_column,
1576
+ last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
1577
+ }, this.yytext += r[0], this.match += r[0], this.matches = r, 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(r[0].length), this.matched += r[0], u = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), u) return u;
1578
+ if (this._backtrack) {
1579
+ for (var g in s) this[g] = s[g];
1580
+ return !1;
1581
+ }
1582
+ return !1;
1583
+ }, "test_match"),
1584
+ next: /* @__PURE__ */ h(function() {
1585
+ if (this.done) return this.EOF;
1586
+ this._input || (this.done = !0);
1587
+ var r, l, u, c;
1588
+ this._more || (this.yytext = "", this.match = "");
1589
+ for (var s = this._currentRules(), g = 0; g < s.length; g++)
1590
+ if (u = this._input.match(this.rules[s[g]]), u && (!l || u[0].length > l[0].length)) {
1591
+ if (l = u, c = g, this.options.backtrack_lexer) {
1592
+ if (r = this.test_match(u, s[g]), r !== !1) return r;
1593
+ if (this._backtrack) {
1594
+ l = !1;
1595
+ continue;
1596
+ } else return !1;
1597
+ } else if (!this.options.flex) break;
1598
+ }
1599
+ return l ? (r = this.test_match(l, s[c]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1600
+ ` + this.showPosition(), {
1601
+ text: "",
1602
+ token: null,
1603
+ line: this.yylineno
1604
+ });
1605
+ }, "next"),
1606
+ lex: /* @__PURE__ */ h(function() {
1607
+ var l = this.next();
1608
+ return l || this.lex();
1609
+ }, "lex"),
1610
+ begin: /* @__PURE__ */ h(function(l) {
1611
+ this.conditionStack.push(l);
1612
+ }, "begin"),
1613
+ popState: /* @__PURE__ */ h(function() {
1614
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1615
+ }, "popState"),
1616
+ _currentRules: /* @__PURE__ */ h(function() {
1617
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1618
+ }, "_currentRules"),
1619
+ topState: /* @__PURE__ */ h(function(l) {
1620
+ return l = this.conditionStack.length - 1 - Math.abs(l || 0), l >= 0 ? this.conditionStack[l] : "INITIAL";
1621
+ }, "topState"),
1622
+ pushState: /* @__PURE__ */ h(function(l) {
1623
+ this.begin(l);
1624
+ }, "pushState"),
1625
+ stateStackSize: /* @__PURE__ */ h(function() {
1626
+ return this.conditionStack.length;
1627
+ }, "stateStackSize"),
1628
+ options: { "case-insensitive": !0 },
1629
+ performAction: /* @__PURE__ */ h(function(l, u, c, s) {
1630
+ switch (c) {
1631
+ case 0:
1632
+ return "title";
1633
+ case 1:
1634
+ return this.begin("acc_title"), 9;
1635
+ case 2:
1636
+ return this.popState(), "acc_title_value";
1637
+ case 3:
1638
+ return this.begin("acc_descr"), 11;
1639
+ case 4:
1640
+ return this.popState(), "acc_descr_value";
1641
+ case 5:
1642
+ this.begin("acc_descr_multiline");
1643
+ break;
1644
+ case 6:
1645
+ this.popState();
1646
+ break;
1647
+ case 7:
1648
+ return "acc_descr_multiline_value";
1649
+ case 8:
1650
+ return 21;
1651
+ case 9:
1652
+ return 22;
1653
+ case 10:
1654
+ return 23;
1655
+ case 11:
1656
+ return 24;
1657
+ case 12:
1658
+ return 5;
1659
+ case 13:
1660
+ break;
1661
+ case 14:
1662
+ break;
1663
+ case 15:
1664
+ break;
1665
+ case 16:
1666
+ return 8;
1667
+ case 17:
1668
+ return 6;
1669
+ case 18:
1670
+ return 27;
1671
+ case 19:
1672
+ return 40;
1673
+ case 20:
1674
+ return 29;
1675
+ case 21:
1676
+ return 32;
1677
+ case 22:
1678
+ return 31;
1679
+ case 23:
1680
+ return 34;
1681
+ case 24:
1682
+ return 36;
1683
+ case 25:
1684
+ return 38;
1685
+ case 26:
1686
+ return 41;
1687
+ case 27:
1688
+ return 42;
1689
+ case 28:
1690
+ return 43;
1691
+ case 29:
1692
+ return 44;
1693
+ case 30:
1694
+ return 45;
1695
+ case 31:
1696
+ return 46;
1697
+ case 32:
1698
+ return 47;
1699
+ case 33:
1700
+ return 48;
1701
+ case 34:
1702
+ return 49;
1703
+ case 35:
1704
+ return 50;
1705
+ case 36:
1706
+ return 51;
1707
+ case 37:
1708
+ return 52;
1709
+ case 38:
1710
+ return 53;
1711
+ case 39:
1712
+ return 54;
1713
+ case 40:
1714
+ return 65;
1715
+ case 41:
1716
+ return 66;
1717
+ case 42:
1718
+ return 67;
1719
+ case 43:
1720
+ return 68;
1721
+ case 44:
1722
+ return 69;
1723
+ case 45:
1724
+ return 70;
1725
+ case 46:
1726
+ return 71;
1727
+ case 47:
1728
+ return 57;
1729
+ case 48:
1730
+ return 59;
1731
+ case 49:
1732
+ return this.begin("style"), 77;
1733
+ case 50:
1734
+ return 75;
1735
+ case 51:
1736
+ return 81;
1737
+ case 52:
1738
+ return 88;
1739
+ case 53:
1740
+ return "PERCENT";
1741
+ case 54:
1742
+ return 86;
1743
+ case 55:
1744
+ return 84;
1745
+ case 56:
1746
+ break;
1747
+ case 57:
1748
+ this.begin("string");
1749
+ break;
1750
+ case 58:
1751
+ this.popState();
1752
+ break;
1753
+ case 59:
1754
+ return this.begin("style"), 72;
1755
+ case 60:
1756
+ return this.begin("style"), 74;
1757
+ case 61:
1758
+ return 61;
1759
+ case 62:
1760
+ return 64;
1761
+ case 63:
1762
+ return 63;
1763
+ case 64:
1764
+ this.begin("string");
1765
+ break;
1766
+ case 65:
1767
+ this.popState();
1768
+ break;
1769
+ case 66:
1770
+ return "qString";
1771
+ case 67:
1772
+ return u.yytext = u.yytext.trim(), 89;
1773
+ case 68:
1774
+ return 75;
1775
+ case 69:
1776
+ return 80;
1777
+ case 70:
1778
+ return 76;
1779
+ }
1780
+ }, "anonymous"),
1781
+ rules: [
1782
+ /^(?:title\s[^#\n;]+)/i,
1783
+ /^(?:accTitle\s*:\s*)/i,
1784
+ /^(?:(?!\n||)*[^\n]*)/i,
1785
+ /^(?:accDescr\s*:\s*)/i,
1786
+ /^(?:(?!\n||)*[^\n]*)/i,
1787
+ /^(?:accDescr\s*\{\s*)/i,
1788
+ /^(?:[\}])/i,
1789
+ /^(?:[^\}]*)/i,
1790
+ /^(?:.*direction\s+TB[^\n]*)/i,
1791
+ /^(?:.*direction\s+BT[^\n]*)/i,
1792
+ /^(?:.*direction\s+RL[^\n]*)/i,
1793
+ /^(?:.*direction\s+LR[^\n]*)/i,
1794
+ /^(?:(\r?\n)+)/i,
1795
+ /^(?:\s+)/i,
1796
+ /^(?:#[^\n]*)/i,
1797
+ /^(?:%[^\n]*)/i,
1798
+ /^(?:$)/i,
1799
+ /^(?:requirementDiagram\b)/i,
1800
+ /^(?:\{)/i,
1801
+ /^(?:\})/i,
1802
+ /^(?::{3})/i,
1803
+ /^(?::)/i,
1804
+ /^(?:id\b)/i,
1805
+ /^(?:text\b)/i,
1806
+ /^(?:risk\b)/i,
1807
+ /^(?:verifyMethod\b)/i,
1808
+ /^(?:requirement\b)/i,
1809
+ /^(?:functionalRequirement\b)/i,
1810
+ /^(?:interfaceRequirement\b)/i,
1811
+ /^(?:performanceRequirement\b)/i,
1812
+ /^(?:physicalRequirement\b)/i,
1813
+ /^(?:designConstraint\b)/i,
1814
+ /^(?:low\b)/i,
1815
+ /^(?:medium\b)/i,
1816
+ /^(?:high\b)/i,
1817
+ /^(?:analysis\b)/i,
1818
+ /^(?:demonstration\b)/i,
1819
+ /^(?:inspection\b)/i,
1820
+ /^(?:test\b)/i,
1821
+ /^(?:element\b)/i,
1822
+ /^(?:contains\b)/i,
1823
+ /^(?:copies\b)/i,
1824
+ /^(?:derives\b)/i,
1825
+ /^(?:satisfies\b)/i,
1826
+ /^(?:verifies\b)/i,
1827
+ /^(?:refines\b)/i,
1828
+ /^(?:traces\b)/i,
1829
+ /^(?:type\b)/i,
1830
+ /^(?:docref\b)/i,
1831
+ /^(?:style\b)/i,
1832
+ /^(?:\w+)/i,
1833
+ /^(?::)/i,
1834
+ /^(?:;)/i,
1835
+ /^(?:%)/i,
1836
+ /^(?:-)/i,
1837
+ /^(?:#)/i,
1838
+ /^(?: )/i,
1839
+ /^(?:["])/i,
1840
+ /^(?:\n)/i,
1841
+ /^(?:classDef\b)/i,
1842
+ /^(?:class\b)/i,
1843
+ /^(?:<-)/i,
1844
+ /^(?:->)/i,
1845
+ /^(?:-)/i,
1846
+ /^(?:["])/i,
1847
+ /^(?:["])/i,
1848
+ /^(?:[^"]*)/i,
1849
+ /^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,
1850
+ /^(?:\w+)/i,
1851
+ /^(?:[0-9]+)/i,
1852
+ /^(?:,)/i
1853
+ ],
1854
+ conditions: {
1855
+ acc_descr_multiline: {
1856
+ rules: [
1857
+ 6,
1858
+ 7,
1859
+ 68,
1860
+ 69,
1861
+ 70
1862
+ ],
1863
+ inclusive: !1
1864
+ },
1865
+ acc_descr: {
1866
+ rules: [
1867
+ 4,
1868
+ 68,
1869
+ 69,
1870
+ 70
1871
+ ],
1872
+ inclusive: !1
1873
+ },
1874
+ acc_title: {
1875
+ rules: [
1876
+ 2,
1877
+ 68,
1878
+ 69,
1879
+ 70
1880
+ ],
1881
+ inclusive: !1
1882
+ },
1883
+ style: {
1884
+ rules: [
1885
+ 50,
1886
+ 51,
1887
+ 52,
1888
+ 53,
1889
+ 54,
1890
+ 55,
1891
+ 56,
1892
+ 57,
1893
+ 58,
1894
+ 68,
1895
+ 69,
1896
+ 70
1897
+ ],
1898
+ inclusive: !1
1899
+ },
1900
+ unqString: {
1901
+ rules: [
1902
+ 68,
1903
+ 69,
1904
+ 70
1905
+ ],
1906
+ inclusive: !1
1907
+ },
1908
+ token: {
1909
+ rules: [
1910
+ 68,
1911
+ 69,
1912
+ 70
1913
+ ],
1914
+ inclusive: !1
1915
+ },
1916
+ string: {
1917
+ rules: [
1918
+ 65,
1919
+ 66,
1920
+ 68,
1921
+ 69,
1922
+ 70
1923
+ ],
1924
+ inclusive: !1
1925
+ },
1926
+ INITIAL: {
1927
+ rules: [
1928
+ 0,
1929
+ 1,
1930
+ 3,
1931
+ 5,
1932
+ 8,
1933
+ 9,
1934
+ 10,
1935
+ 11,
1936
+ 12,
1937
+ 13,
1938
+ 14,
1939
+ 15,
1940
+ 16,
1941
+ 17,
1942
+ 18,
1943
+ 19,
1944
+ 20,
1945
+ 21,
1946
+ 22,
1947
+ 23,
1948
+ 24,
1949
+ 25,
1950
+ 26,
1951
+ 27,
1952
+ 28,
1953
+ 29,
1954
+ 30,
1955
+ 31,
1956
+ 32,
1957
+ 33,
1958
+ 34,
1959
+ 35,
1960
+ 36,
1961
+ 37,
1962
+ 38,
1963
+ 39,
1964
+ 40,
1965
+ 41,
1966
+ 42,
1967
+ 43,
1968
+ 44,
1969
+ 45,
1970
+ 46,
1971
+ 47,
1972
+ 48,
1973
+ 49,
1974
+ 59,
1975
+ 60,
1976
+ 61,
1977
+ 62,
1978
+ 63,
1979
+ 64,
1980
+ 67,
1981
+ 68,
1982
+ 69,
1983
+ 70
1984
+ ],
1985
+ inclusive: !0
1986
+ }
1987
+ }
1988
+ };
1989
+ })();
1990
+ function pe() {
1991
+ this.yy = {};
1992
+ }
1993
+ return h(pe, "Parser"), pe.prototype = _e, _e.Parser = pe, new pe();
1994
+ })();
1995
+ Ce.parser = Ce;
1996
+ var ot = Ce, ht = class {
1997
+ constructor() {
1998
+ this.relations = [], this.latestRequirement = this.getInitialRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.latestElement = this.getInitialElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.RequirementType = {
1999
+ REQUIREMENT: "Requirement",
2000
+ FUNCTIONAL_REQUIREMENT: "Functional Requirement",
2001
+ INTERFACE_REQUIREMENT: "Interface Requirement",
2002
+ PERFORMANCE_REQUIREMENT: "Performance Requirement",
2003
+ PHYSICAL_REQUIREMENT: "Physical Requirement",
2004
+ DESIGN_CONSTRAINT: "Design Constraint"
2005
+ }, this.RiskLevel = {
2006
+ LOW_RISK: "Low",
2007
+ MED_RISK: "Medium",
2008
+ HIGH_RISK: "High"
2009
+ }, this.VerifyType = {
2010
+ VERIFY_ANALYSIS: "Analysis",
2011
+ VERIFY_DEMONSTRATION: "Demonstration",
2012
+ VERIFY_INSPECTION: "Inspection",
2013
+ VERIFY_TEST: "Test"
2014
+ }, this.Relationships = {
2015
+ CONTAINS: "contains",
2016
+ COPIES: "copies",
2017
+ DERIVES: "derives",
2018
+ SATISFIES: "satisfies",
2019
+ VERIFIES: "verifies",
2020
+ REFINES: "refines",
2021
+ TRACES: "traces"
2022
+ }, this.setAccTitle = Ze, this.getAccTitle = it, this.setAccDescription = Xe, this.getAccDescription = tt, this.setDiagramTitle = Je, this.getDiagramTitle = st, this.getConfig = /* @__PURE__ */ h(() => qe().requirement, "getConfig"), this.clear(), this.setDirection = this.setDirection.bind(this), this.addRequirement = this.addRequirement.bind(this), this.setNewReqId = this.setNewReqId.bind(this), this.setNewReqRisk = this.setNewReqRisk.bind(this), this.setNewReqText = this.setNewReqText.bind(this), this.setNewReqVerifyMethod = this.setNewReqVerifyMethod.bind(this), this.addElement = this.addElement.bind(this), this.setNewElementType = this.setNewElementType.bind(this), this.setNewElementDocRef = this.setNewElementDocRef.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setCssStyle = this.setCssStyle.bind(this), this.setClass = this.setClass.bind(this), this.defineClass = this.defineClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
2023
+ }
2024
+ static {
2025
+ h(this, "RequirementDB");
2026
+ }
2027
+ getDirection() {
2028
+ return this.direction;
2029
+ }
2030
+ setDirection(e) {
2031
+ this.direction = e;
2032
+ }
2033
+ resetLatestRequirement() {
2034
+ this.latestRequirement = this.getInitialRequirement();
2035
+ }
2036
+ resetLatestElement() {
2037
+ this.latestElement = this.getInitialElement();
2038
+ }
2039
+ getInitialRequirement() {
2040
+ return {
2041
+ requirementId: "",
2042
+ text: "",
2043
+ risk: "",
2044
+ verifyMethod: "",
2045
+ name: "",
2046
+ type: "",
2047
+ cssStyles: [],
2048
+ classes: ["default"]
2049
+ };
2050
+ }
2051
+ getInitialElement() {
2052
+ return {
2053
+ name: "",
2054
+ type: "",
2055
+ docRef: "",
2056
+ cssStyles: [],
2057
+ classes: ["default"]
2058
+ };
2059
+ }
2060
+ addRequirement(e, m) {
2061
+ return this.requirements.has(e) || this.requirements.set(e, {
2062
+ name: e,
2063
+ type: m,
2064
+ requirementId: this.latestRequirement.requirementId,
2065
+ text: this.latestRequirement.text,
2066
+ risk: this.latestRequirement.risk,
2067
+ verifyMethod: this.latestRequirement.verifyMethod,
2068
+ cssStyles: [],
2069
+ classes: ["default"]
2070
+ }), this.resetLatestRequirement(), this.requirements.get(e);
2071
+ }
2072
+ getRequirements() {
2073
+ return this.requirements;
2074
+ }
2075
+ setNewReqId(e) {
2076
+ this.latestRequirement !== void 0 && (this.latestRequirement.requirementId = e);
2077
+ }
2078
+ setNewReqText(e) {
2079
+ this.latestRequirement !== void 0 && (this.latestRequirement.text = e);
2080
+ }
2081
+ setNewReqRisk(e) {
2082
+ this.latestRequirement !== void 0 && (this.latestRequirement.risk = e);
2083
+ }
2084
+ setNewReqVerifyMethod(e) {
2085
+ this.latestRequirement !== void 0 && (this.latestRequirement.verifyMethod = e);
2086
+ }
2087
+ addElement(e) {
2088
+ return this.elements.has(e) || (this.elements.set(e, {
2089
+ name: e,
2090
+ type: this.latestElement.type,
2091
+ docRef: this.latestElement.docRef,
2092
+ cssStyles: [],
2093
+ classes: ["default"]
2094
+ }), Ne.info("Added new element: ", e)), this.resetLatestElement(), this.elements.get(e);
2095
+ }
2096
+ getElements() {
2097
+ return this.elements;
2098
+ }
2099
+ setNewElementType(e) {
2100
+ this.latestElement !== void 0 && (this.latestElement.type = e);
2101
+ }
2102
+ setNewElementDocRef(e) {
2103
+ this.latestElement !== void 0 && (this.latestElement.docRef = e);
2104
+ }
2105
+ addRelationship(e, m, o) {
2106
+ this.relations.push({
2107
+ type: e,
2108
+ src: m,
2109
+ dst: o
2110
+ });
2111
+ }
2112
+ getRelationships() {
2113
+ return this.relations;
2114
+ }
2115
+ clear() {
2116
+ this.relations = [], this.resetLatestRequirement(), this.requirements = /* @__PURE__ */ new Map(), this.resetLatestElement(), this.elements = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), et();
2117
+ }
2118
+ setCssStyle(e, m) {
2119
+ for (const o of e) {
2120
+ const i = this.requirements.get(o) ?? this.elements.get(o);
2121
+ if (!m || !i) return;
2122
+ for (const n of m) n.includes(",") ? i.cssStyles.push(...n.split(",")) : i.cssStyles.push(n);
2123
+ }
2124
+ }
2125
+ setClass(e, m) {
2126
+ for (const o of e) {
2127
+ const i = this.requirements.get(o) ?? this.elements.get(o);
2128
+ if (i) for (const n of m) {
2129
+ i.classes.push(n);
2130
+ const f = this.classes.get(n)?.styles;
2131
+ f && i.cssStyles.push(...f);
2132
+ }
2133
+ }
2134
+ }
2135
+ defineClass(e, m) {
2136
+ for (const o of e) {
2137
+ let i = this.classes.get(o);
2138
+ i === void 0 && (i = {
2139
+ id: o,
2140
+ styles: [],
2141
+ textStyles: []
2142
+ }, this.classes.set(o, i)), m && m.forEach(function(n) {
2143
+ if (/color/.exec(n)) {
2144
+ const f = n.replace("fill", "bgFill");
2145
+ i.textStyles.push(f);
2146
+ }
2147
+ i.styles.push(n);
2148
+ }), this.requirements.forEach((n) => {
2149
+ n.classes.includes(o) && n.cssStyles.push(...m.flatMap((f) => f.split(",")));
2150
+ }), this.elements.forEach((n) => {
2151
+ n.classes.includes(o) && n.cssStyles.push(...m.flatMap((f) => f.split(",")));
2152
+ });
2153
+ }
2154
+ }
2155
+ getClasses() {
2156
+ return this.classes;
2157
+ }
2158
+ getData() {
2159
+ const e = qe(), m = [], o = [];
2160
+ for (const i of this.requirements.values()) {
2161
+ const n = i;
2162
+ n.id = i.name, n.cssStyles = i.cssStyles, n.cssClasses = i.classes.join(" "), n.shape = "requirementBox", n.look = e.look, n.colorIndex = m.length, m.push(n);
2163
+ }
2164
+ for (const i of this.elements.values()) {
2165
+ const n = i;
2166
+ n.shape = "requirementBox", n.look = e.look, n.id = i.name, n.cssStyles = i.cssStyles, n.cssClasses = i.classes.join(" "), n.colorIndex = m.length, m.push(n);
2167
+ }
2168
+ for (const i of this.relations) {
2169
+ let n = 0;
2170
+ const f = i.type === this.Relationships.CONTAINS, E = {
2171
+ id: `${i.src}-${i.dst}-${n}`,
2172
+ start: this.requirements.get(i.src)?.name ?? this.elements.get(i.src)?.name,
2173
+ end: this.requirements.get(i.dst)?.name ?? this.elements.get(i.dst)?.name,
2174
+ label: `&lt;&lt;${i.type}&gt;&gt;`,
2175
+ classes: "relationshipLine",
2176
+ style: ["fill:none", f ? "" : "stroke-dasharray: 10,7"],
2177
+ labelpos: "c",
2178
+ thickness: "normal",
2179
+ type: "normal",
2180
+ pattern: f ? "normal" : "dashed",
2181
+ arrowTypeStart: f ? "requirement_contains" : "",
2182
+ arrowTypeEnd: f ? "" : "requirement_arrow",
2183
+ look: e.look,
2184
+ labelType: "markdown"
2185
+ };
2186
+ o.push(E), n++;
2187
+ }
2188
+ return {
2189
+ nodes: m,
2190
+ edges: o,
2191
+ other: {},
2192
+ config: e,
2193
+ direction: this.getDirection()
2194
+ };
2195
+ }
2196
+ }, ut = /* @__PURE__ */ h((e) => {
2197
+ const { themeVariables: m, look: o } = Qe(), { bkgColorArray: i, borderColorArray: n } = m;
2198
+ if (!n?.length) return "";
2199
+ let f = "";
2200
+ for (let E = 0; E < e.THEME_COLOR_LIMIT; E++) f += `
2201
+
2202
+ [data-look="${o}"][data-color-id="color-${E}"].node path {
2203
+ stroke: ${n[E]};
2204
+ fill: ${i?.length ? i[E] : ""};
2205
+ }
2206
+
2207
+ [data-look="${o}"][data-color-id="color-${E}"].node rect {
2208
+ stroke: ${n[E]};
2209
+ fill: ${i?.length ? i[E] : ""};
2210
+ }
2211
+ `;
2212
+ return f;
2213
+ }, "genColor"), mt = /* @__PURE__ */ h((e) => {
2214
+ const { look: m, themeVariables: o } = Qe(), { requirementEdgeLabelBackground: i } = o;
2215
+ return `
2216
+ ${ut(e)}
2217
+ marker {
2218
+ fill: ${e.relationColor};
2219
+ stroke: ${e.relationColor};
2220
+ }
2221
+
2222
+ marker.cross {
2223
+ stroke: ${e.lineColor};
2224
+ }
2225
+
2226
+ svg {
2227
+ font-family: ${e.fontFamily};
2228
+ font-size: ${e.fontSize};
2229
+ }
2230
+
2231
+ .reqBox {
2232
+ fill: ${e.requirementBackground};
2233
+ fill-opacity: 1.0;
2234
+ stroke: ${e.requirementBorderColor};
2235
+ stroke-width: ${e.requirementBorderSize};
2236
+ }
2237
+
2238
+ .reqTitle, .reqLabel{
2239
+ fill: ${e.requirementTextColor};
2240
+ }
2241
+ .reqLabelBox {
2242
+ fill: ${e.relationLabelBackground};
2243
+ fill-opacity: 1.0;
2244
+ }
2245
+
2246
+ .req-title-line {
2247
+ stroke: ${e.requirementBorderColor};
2248
+ stroke-width: ${e.requirementBorderSize};
2249
+ }
2250
+ .relationshipLine {
2251
+ stroke: ${e.relationColor};
2252
+ stroke-width: ${m === "neo" ? e.strokeWidth : "1px"};
2253
+ }
2254
+ .relationshipLabel {
2255
+ fill: ${e.relationLabelColor};
2256
+ }
2257
+ .edgeLabel {
2258
+ background-color: ${e.edgeLabelBackground};
2259
+ }
2260
+ .edgeLabel .label rect {
2261
+ fill: ${e.edgeLabelBackground};
2262
+ }
2263
+ .edgeLabel .label text {
2264
+ fill: ${e.relationLabelColor};
2265
+ }
2266
+ .divider {
2267
+ stroke: ${e.nodeBorder};
2268
+ stroke-width: 1;
2269
+ }
2270
+ .label {
2271
+ font-family: ${e.fontFamily};
2272
+ color: ${e.nodeTextColor || e.textColor};
2273
+ }
2274
+ .label text,span {
2275
+ fill: ${e.nodeTextColor || e.textColor};
2276
+ color: ${e.nodeTextColor || e.textColor};
2277
+ }
2278
+ .labelBkg {
2279
+ background-color: ${i ?? e.edgeLabelBackground};
2280
+ }
2281
+
2282
+ `;
2283
+ }, "getStyles"), He = {};
2284
+ ze(He, { draw: () => ft });
2285
+ var ft = /* @__PURE__ */ h(async function(e, m, o, i) {
2286
+ Ne.info("REF0:"), Ne.info("Drawing requirement diagram (unified)", m);
2287
+ const { securityLevel: n, state: f, layout: E, look: I } = qe(), y = i.db.getData(), b = nt(m, n);
2288
+ y.type = i.type, y.layoutAlgorithm = ct(E), y.nodeSpacing = f?.nodeSpacing ?? 50, y.rankSpacing = f?.rankSpacing ?? 50, y.markers = I === "neo" ? ["requirement_contains_neo", "requirement_arrow_neo"] : ["requirement_contains", "requirement_arrow"], y.diagramId = m, await lt(y, b);
2289
+ const k = 8;
2290
+ rt.insertTitle(b, "requirementDiagramTitleText", f?.titleTopMargin ?? 25, i.db.getDiagramTitle()), at(b, k, "requirementDiagram", f?.useMaxWidth ?? !0);
2291
+ }, "draw"), Ct = {
2292
+ parser: ot,
2293
+ get db() {
2294
+ return new ht();
2295
+ },
2296
+ renderer: He,
2297
+ styles: mt
2298
+ };
2299
+ export {
2300
+ Ct as diagram
2301
+ };