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,1822 @@
1
+ import { n as l, t as Bt } from "./chunk-Y2CYZVJY-0JxdZxki.js";
2
+ import { m as w, p as Ft } from "./src-DtRLxcYO.js";
3
+ import { H as Yt, K as Pt, U as zt, a as Kt, it as Gt, v as Ut, w as Zt, x as it, y as jt } from "./chunk-WYO6CB5R-DDHkKowO.js";
4
+ import { t as Wt } from "./channel-k5-UxdcV.js";
5
+ import { c as Ht, g as Qt } from "./chunk-ICXQ74PX-DR8rL-xF.js";
6
+ import "./chunk-HOUHSVGY-DRQcQeMT.js";
7
+ import "./chunk-Q4XR5HBZ-3BHjjc9u.js";
8
+ import "./chunk-7BUUIJ7U-9hiBbc7O.js";
9
+ import "./chunk-OGEWGWER-BV51ll2w.js";
10
+ import { t as Xt } from "./chunk-XXDRQBXY-BB1i_53q.js";
11
+ import { t as qt } from "./chunk-VR4S4FIN-CJi5okl4.js";
12
+ import "./chunk-C7G6YPKG-CA-DNpvI.js";
13
+ import "./chunk-ZGVPDNZ5-6uMbTJXy.js";
14
+ import "./chunk-52WLFC77-wpL7en7e.js";
15
+ import { r as Jt, t as $t } from "./chunk-FWX5IMBZ-DZ5VYvm5.js";
16
+ var gt = (function() {
17
+ var e = /* @__PURE__ */ l(function(n, o, h, c) {
18
+ for (h = h || {}, c = n.length; c--; h[n[c]] = o) ;
19
+ return h;
20
+ }, "o"), i = [
21
+ 6,
22
+ 8,
23
+ 10,
24
+ 22,
25
+ 24,
26
+ 26,
27
+ 28,
28
+ 33,
29
+ 34,
30
+ 35,
31
+ 36,
32
+ 37,
33
+ 40,
34
+ 43,
35
+ 44,
36
+ 48,
37
+ 50,
38
+ 51,
39
+ 52
40
+ ], u = [1, 10], a = [1, 11], d = [1, 12], p = [1, 13], _ = [1, 23], f = [1, 24], E = [1, 25], j = [1, 26], W = [1, 27], T = [1, 19], H = [1, 28], V = [1, 29], C = [1, 20], O = [1, 18], I = [1, 21], M = [1, 22], nt = [1, 36], at = [1, 37], ot = [1, 38], ct = [1, 39], lt = [1, 40], B = [
41
+ 6,
42
+ 8,
43
+ 10,
44
+ 13,
45
+ 15,
46
+ 17,
47
+ 20,
48
+ 21,
49
+ 22,
50
+ 24,
51
+ 26,
52
+ 28,
53
+ 33,
54
+ 34,
55
+ 35,
56
+ 36,
57
+ 37,
58
+ 40,
59
+ 43,
60
+ 44,
61
+ 48,
62
+ 50,
63
+ 51,
64
+ 52,
65
+ 66,
66
+ 67,
67
+ 68,
68
+ 69,
69
+ 70
70
+ ], N = [1, 45], A = [1, 46], F = [1, 55], Y = [
71
+ 40,
72
+ 48,
73
+ 50,
74
+ 51,
75
+ 52,
76
+ 71,
77
+ 72
78
+ ], P = [1, 66], z = [1, 64], R = [1, 61], K = [1, 65], G = [1, 67], Q = [
79
+ 6,
80
+ 8,
81
+ 10,
82
+ 13,
83
+ 17,
84
+ 22,
85
+ 24,
86
+ 26,
87
+ 28,
88
+ 33,
89
+ 34,
90
+ 35,
91
+ 36,
92
+ 37,
93
+ 40,
94
+ 41,
95
+ 42,
96
+ 43,
97
+ 44,
98
+ 48,
99
+ 49,
100
+ 50,
101
+ 51,
102
+ 52,
103
+ 66,
104
+ 67,
105
+ 68,
106
+ 69,
107
+ 70
108
+ ], bt = [
109
+ 66,
110
+ 67,
111
+ 68,
112
+ 69,
113
+ 70
114
+ ], mt = [1, 85], kt = [1, 84], Et = [1, 82], St = [1, 83], Tt = [
115
+ 6,
116
+ 10,
117
+ 42,
118
+ 47
119
+ ], D = [
120
+ 6,
121
+ 10,
122
+ 13,
123
+ 41,
124
+ 42,
125
+ 47,
126
+ 48,
127
+ 49
128
+ ], X = [1, 93], q = [1, 92], J = [1, 91], U = [19, 58], Ot = [1, 102], Nt = [1, 101], ht = [
129
+ 19,
130
+ 58,
131
+ 61,
132
+ 63
133
+ ], ut = {
134
+ trace: /* @__PURE__ */ l(function() {
135
+ }, "trace"),
136
+ yy: {},
137
+ symbols_: {
138
+ error: 2,
139
+ start: 3,
140
+ ER_DIAGRAM: 4,
141
+ document: 5,
142
+ EOF: 6,
143
+ line: 7,
144
+ SPACE: 8,
145
+ statement: 9,
146
+ NEWLINE: 10,
147
+ entityName: 11,
148
+ relSpec: 12,
149
+ COLON: 13,
150
+ role: 14,
151
+ STYLE_SEPARATOR: 15,
152
+ idList: 16,
153
+ BLOCK_START: 17,
154
+ attributes: 18,
155
+ BLOCK_STOP: 19,
156
+ SQS: 20,
157
+ SQE: 21,
158
+ title: 22,
159
+ title_value: 23,
160
+ acc_title: 24,
161
+ acc_title_value: 25,
162
+ acc_descr: 26,
163
+ acc_descr_value: 27,
164
+ acc_descr_multiline_value: 28,
165
+ direction: 29,
166
+ classDefStatement: 30,
167
+ classStatement: 31,
168
+ styleStatement: 32,
169
+ direction_tb: 33,
170
+ direction_bt: 34,
171
+ direction_rl: 35,
172
+ direction_lr: 36,
173
+ CLASSDEF: 37,
174
+ stylesOpt: 38,
175
+ separator: 39,
176
+ UNICODE_TEXT: 40,
177
+ STYLE_TEXT: 41,
178
+ COMMA: 42,
179
+ CLASS: 43,
180
+ STYLE: 44,
181
+ style: 45,
182
+ styleComponent: 46,
183
+ SEMI: 47,
184
+ NUM: 48,
185
+ BRKT: 49,
186
+ ENTITY_NAME: 50,
187
+ DECIMAL_NUM: 51,
188
+ ENTITY_ONE: 52,
189
+ attribute: 53,
190
+ attributeType: 54,
191
+ attributeName: 55,
192
+ attributeKeyTypeList: 56,
193
+ attributeComment: 57,
194
+ ATTRIBUTE_WORD: 58,
195
+ "?": 59,
196
+ attributeKeyType: 60,
197
+ ",": 61,
198
+ ATTRIBUTE_KEY: 62,
199
+ COMMENT: 63,
200
+ cardinality: 64,
201
+ relType: 65,
202
+ ZERO_OR_ONE: 66,
203
+ ZERO_OR_MORE: 67,
204
+ ONE_OR_MORE: 68,
205
+ ONLY_ONE: 69,
206
+ MD_PARENT: 70,
207
+ NON_IDENTIFYING: 71,
208
+ IDENTIFYING: 72,
209
+ WORD: 73,
210
+ $accept: 0,
211
+ $end: 1
212
+ },
213
+ terminals_: {
214
+ 2: "error",
215
+ 4: "ER_DIAGRAM",
216
+ 6: "EOF",
217
+ 8: "SPACE",
218
+ 10: "NEWLINE",
219
+ 13: "COLON",
220
+ 15: "STYLE_SEPARATOR",
221
+ 17: "BLOCK_START",
222
+ 19: "BLOCK_STOP",
223
+ 20: "SQS",
224
+ 21: "SQE",
225
+ 22: "title",
226
+ 23: "title_value",
227
+ 24: "acc_title",
228
+ 25: "acc_title_value",
229
+ 26: "acc_descr",
230
+ 27: "acc_descr_value",
231
+ 28: "acc_descr_multiline_value",
232
+ 33: "direction_tb",
233
+ 34: "direction_bt",
234
+ 35: "direction_rl",
235
+ 36: "direction_lr",
236
+ 37: "CLASSDEF",
237
+ 40: "UNICODE_TEXT",
238
+ 41: "STYLE_TEXT",
239
+ 42: "COMMA",
240
+ 43: "CLASS",
241
+ 44: "STYLE",
242
+ 47: "SEMI",
243
+ 48: "NUM",
244
+ 49: "BRKT",
245
+ 50: "ENTITY_NAME",
246
+ 51: "DECIMAL_NUM",
247
+ 52: "ENTITY_ONE",
248
+ 58: "ATTRIBUTE_WORD",
249
+ 59: "?",
250
+ 61: ",",
251
+ 62: "ATTRIBUTE_KEY",
252
+ 63: "COMMENT",
253
+ 66: "ZERO_OR_ONE",
254
+ 67: "ZERO_OR_MORE",
255
+ 68: "ONE_OR_MORE",
256
+ 69: "ONLY_ONE",
257
+ 70: "MD_PARENT",
258
+ 71: "NON_IDENTIFYING",
259
+ 72: "IDENTIFYING",
260
+ 73: "WORD"
261
+ },
262
+ productions_: [
263
+ 0,
264
+ [3, 3],
265
+ [5, 0],
266
+ [5, 2],
267
+ [7, 2],
268
+ [7, 1],
269
+ [7, 1],
270
+ [7, 1],
271
+ [9, 5],
272
+ [9, 9],
273
+ [9, 7],
274
+ [9, 7],
275
+ [9, 4],
276
+ [9, 6],
277
+ [9, 3],
278
+ [9, 5],
279
+ [9, 1],
280
+ [9, 3],
281
+ [9, 7],
282
+ [9, 9],
283
+ [9, 6],
284
+ [9, 8],
285
+ [9, 4],
286
+ [9, 6],
287
+ [9, 2],
288
+ [9, 2],
289
+ [9, 2],
290
+ [9, 1],
291
+ [9, 1],
292
+ [9, 1],
293
+ [9, 1],
294
+ [9, 1],
295
+ [29, 1],
296
+ [29, 1],
297
+ [29, 1],
298
+ [29, 1],
299
+ [30, 4],
300
+ [16, 1],
301
+ [16, 1],
302
+ [16, 3],
303
+ [16, 3],
304
+ [31, 3],
305
+ [32, 4],
306
+ [38, 1],
307
+ [38, 3],
308
+ [45, 1],
309
+ [45, 2],
310
+ [39, 1],
311
+ [39, 1],
312
+ [39, 1],
313
+ [46, 1],
314
+ [46, 1],
315
+ [46, 1],
316
+ [46, 1],
317
+ [11, 1],
318
+ [11, 1],
319
+ [11, 1],
320
+ [11, 1],
321
+ [11, 1],
322
+ [18, 1],
323
+ [18, 2],
324
+ [53, 2],
325
+ [53, 3],
326
+ [53, 3],
327
+ [53, 4],
328
+ [54, 1],
329
+ [54, 2],
330
+ [55, 1],
331
+ [56, 1],
332
+ [56, 3],
333
+ [60, 1],
334
+ [57, 1],
335
+ [12, 3],
336
+ [64, 1],
337
+ [64, 1],
338
+ [64, 1],
339
+ [64, 1],
340
+ [64, 1],
341
+ [65, 1],
342
+ [65, 1],
343
+ [14, 1],
344
+ [14, 1],
345
+ [14, 1]
346
+ ],
347
+ performAction: /* @__PURE__ */ l(function(o, h, c, r, y, t, Z) {
348
+ var s = t.length - 1;
349
+ switch (y) {
350
+ case 1:
351
+ break;
352
+ case 2:
353
+ this.$ = [];
354
+ break;
355
+ case 3:
356
+ t[s - 1].push(t[s]), this.$ = t[s - 1];
357
+ break;
358
+ case 4:
359
+ case 5:
360
+ this.$ = t[s];
361
+ break;
362
+ case 6:
363
+ case 7:
364
+ this.$ = [];
365
+ break;
366
+ case 8:
367
+ r.addEntity(t[s - 4]), r.addEntity(t[s - 2]), r.addRelationship(t[s - 4], t[s], t[s - 2], t[s - 3]);
368
+ break;
369
+ case 9:
370
+ r.addEntity(t[s - 8]), r.addEntity(t[s - 4]), r.addRelationship(t[s - 8], t[s], t[s - 4], t[s - 5]), r.setClass([t[s - 8]], t[s - 6]), r.setClass([t[s - 4]], t[s - 2]);
371
+ break;
372
+ case 10:
373
+ r.addEntity(t[s - 6]), r.addEntity(t[s - 2]), r.addRelationship(t[s - 6], t[s], t[s - 2], t[s - 3]), r.setClass([t[s - 6]], t[s - 4]);
374
+ break;
375
+ case 11:
376
+ r.addEntity(t[s - 6]), r.addEntity(t[s - 4]), r.addRelationship(t[s - 6], t[s], t[s - 4], t[s - 5]), r.setClass([t[s - 4]], t[s - 2]);
377
+ break;
378
+ case 12:
379
+ r.addEntity(t[s - 3]), r.addAttributes(t[s - 3], t[s - 1]);
380
+ break;
381
+ case 13:
382
+ r.addEntity(t[s - 5]), r.addAttributes(t[s - 5], t[s - 1]), r.setClass([t[s - 5]], t[s - 3]);
383
+ break;
384
+ case 14:
385
+ r.addEntity(t[s - 2]);
386
+ break;
387
+ case 15:
388
+ r.addEntity(t[s - 4]), r.setClass([t[s - 4]], t[s - 2]);
389
+ break;
390
+ case 16:
391
+ r.addEntity(t[s]);
392
+ break;
393
+ case 17:
394
+ r.addEntity(t[s - 2]), r.setClass([t[s - 2]], t[s]);
395
+ break;
396
+ case 18:
397
+ r.addEntity(t[s - 6], t[s - 4]), r.addAttributes(t[s - 6], t[s - 1]);
398
+ break;
399
+ case 19:
400
+ r.addEntity(t[s - 8], t[s - 6]), r.addAttributes(t[s - 8], t[s - 1]), r.setClass([t[s - 8]], t[s - 3]);
401
+ break;
402
+ case 20:
403
+ r.addEntity(t[s - 5], t[s - 3]);
404
+ break;
405
+ case 21:
406
+ r.addEntity(t[s - 7], t[s - 5]), r.setClass([t[s - 7]], t[s - 2]);
407
+ break;
408
+ case 22:
409
+ r.addEntity(t[s - 3], t[s - 1]);
410
+ break;
411
+ case 23:
412
+ r.addEntity(t[s - 5], t[s - 3]), r.setClass([t[s - 5]], t[s]);
413
+ break;
414
+ case 24:
415
+ case 25:
416
+ this.$ = t[s].trim(), r.setAccTitle(this.$);
417
+ break;
418
+ case 26:
419
+ case 27:
420
+ this.$ = t[s].trim(), r.setAccDescription(this.$);
421
+ break;
422
+ case 32:
423
+ r.setDirection("TB");
424
+ break;
425
+ case 33:
426
+ r.setDirection("BT");
427
+ break;
428
+ case 34:
429
+ r.setDirection("RL");
430
+ break;
431
+ case 35:
432
+ r.setDirection("LR");
433
+ break;
434
+ case 36:
435
+ this.$ = t[s - 3], r.addClass(t[s - 2], t[s - 1]);
436
+ break;
437
+ case 37:
438
+ case 38:
439
+ case 59:
440
+ case 68:
441
+ this.$ = [t[s]];
442
+ break;
443
+ case 39:
444
+ case 40:
445
+ this.$ = t[s - 2].concat([t[s]]);
446
+ break;
447
+ case 41:
448
+ this.$ = t[s - 2], r.setClass(t[s - 1], t[s]);
449
+ break;
450
+ case 42:
451
+ this.$ = t[s - 3], r.addCssStyles(t[s - 2], t[s - 1]);
452
+ break;
453
+ case 43:
454
+ this.$ = [t[s]];
455
+ break;
456
+ case 44:
457
+ t[s - 2].push(t[s]), this.$ = t[s - 2];
458
+ break;
459
+ case 46:
460
+ this.$ = t[s - 1] + t[s];
461
+ break;
462
+ case 54:
463
+ case 80:
464
+ case 81:
465
+ this.$ = t[s].replace(/"/g, "");
466
+ break;
467
+ case 55:
468
+ case 56:
469
+ case 57:
470
+ case 58:
471
+ case 82:
472
+ this.$ = t[s];
473
+ break;
474
+ case 60:
475
+ t[s].push(t[s - 1]), this.$ = t[s];
476
+ break;
477
+ case 61:
478
+ this.$ = {
479
+ type: t[s - 1],
480
+ name: t[s]
481
+ };
482
+ break;
483
+ case 62:
484
+ this.$ = {
485
+ type: t[s - 2],
486
+ name: t[s - 1],
487
+ keys: t[s]
488
+ };
489
+ break;
490
+ case 63:
491
+ this.$ = {
492
+ type: t[s - 2],
493
+ name: t[s - 1],
494
+ comment: t[s]
495
+ };
496
+ break;
497
+ case 64:
498
+ this.$ = {
499
+ type: t[s - 3],
500
+ name: t[s - 2],
501
+ keys: t[s - 1],
502
+ comment: t[s]
503
+ };
504
+ break;
505
+ case 65:
506
+ case 67:
507
+ case 70:
508
+ this.$ = t[s];
509
+ break;
510
+ case 66:
511
+ this.$ = t[s - 1] + t[s];
512
+ break;
513
+ case 69:
514
+ t[s - 2].push(t[s]), this.$ = t[s - 2];
515
+ break;
516
+ case 71:
517
+ this.$ = t[s].replace(/"/g, "");
518
+ break;
519
+ case 72:
520
+ this.$ = {
521
+ cardA: t[s],
522
+ relType: t[s - 1],
523
+ cardB: t[s - 2]
524
+ };
525
+ break;
526
+ case 73:
527
+ this.$ = r.Cardinality.ZERO_OR_ONE;
528
+ break;
529
+ case 74:
530
+ this.$ = r.Cardinality.ZERO_OR_MORE;
531
+ break;
532
+ case 75:
533
+ this.$ = r.Cardinality.ONE_OR_MORE;
534
+ break;
535
+ case 76:
536
+ this.$ = r.Cardinality.ONLY_ONE;
537
+ break;
538
+ case 77:
539
+ this.$ = r.Cardinality.MD_PARENT;
540
+ break;
541
+ case 78:
542
+ this.$ = r.Identification.NON_IDENTIFYING;
543
+ break;
544
+ case 79:
545
+ this.$ = r.Identification.IDENTIFYING;
546
+ break;
547
+ }
548
+ }, "anonymous"),
549
+ table: [
550
+ {
551
+ 3: 1,
552
+ 4: [1, 2]
553
+ },
554
+ { 1: [3] },
555
+ e(i, [2, 2], { 5: 3 }),
556
+ {
557
+ 6: [1, 4],
558
+ 7: 5,
559
+ 8: [1, 6],
560
+ 9: 7,
561
+ 10: [1, 8],
562
+ 11: 9,
563
+ 22: u,
564
+ 24: a,
565
+ 26: d,
566
+ 28: p,
567
+ 29: 14,
568
+ 30: 15,
569
+ 31: 16,
570
+ 32: 17,
571
+ 33: _,
572
+ 34: f,
573
+ 35: E,
574
+ 36: j,
575
+ 37: W,
576
+ 40: T,
577
+ 43: H,
578
+ 44: V,
579
+ 48: C,
580
+ 50: O,
581
+ 51: I,
582
+ 52: M
583
+ },
584
+ e(i, [2, 7], { 1: [2, 1] }),
585
+ e(i, [2, 3]),
586
+ {
587
+ 9: 30,
588
+ 11: 9,
589
+ 22: u,
590
+ 24: a,
591
+ 26: d,
592
+ 28: p,
593
+ 29: 14,
594
+ 30: 15,
595
+ 31: 16,
596
+ 32: 17,
597
+ 33: _,
598
+ 34: f,
599
+ 35: E,
600
+ 36: j,
601
+ 37: W,
602
+ 40: T,
603
+ 43: H,
604
+ 44: V,
605
+ 48: C,
606
+ 50: O,
607
+ 51: I,
608
+ 52: M
609
+ },
610
+ e(i, [2, 5]),
611
+ e(i, [2, 6]),
612
+ e(i, [2, 16], {
613
+ 12: 31,
614
+ 64: 35,
615
+ 15: [1, 32],
616
+ 17: [1, 33],
617
+ 20: [1, 34],
618
+ 66: nt,
619
+ 67: at,
620
+ 68: ot,
621
+ 69: ct,
622
+ 70: lt
623
+ }),
624
+ { 23: [1, 41] },
625
+ { 25: [1, 42] },
626
+ { 27: [1, 43] },
627
+ e(i, [2, 27]),
628
+ e(i, [2, 28]),
629
+ e(i, [2, 29]),
630
+ e(i, [2, 30]),
631
+ e(i, [2, 31]),
632
+ e(B, [2, 54]),
633
+ e(B, [2, 55]),
634
+ e(B, [2, 56]),
635
+ e(B, [2, 57]),
636
+ e(B, [2, 58]),
637
+ e(i, [2, 32]),
638
+ e(i, [2, 33]),
639
+ e(i, [2, 34]),
640
+ e(i, [2, 35]),
641
+ {
642
+ 16: 44,
643
+ 40: N,
644
+ 41: A
645
+ },
646
+ {
647
+ 16: 47,
648
+ 40: N,
649
+ 41: A
650
+ },
651
+ {
652
+ 16: 48,
653
+ 40: N,
654
+ 41: A
655
+ },
656
+ e(i, [2, 4]),
657
+ {
658
+ 11: 49,
659
+ 40: T,
660
+ 48: C,
661
+ 50: O,
662
+ 51: I,
663
+ 52: M
664
+ },
665
+ {
666
+ 16: 50,
667
+ 40: N,
668
+ 41: A
669
+ },
670
+ {
671
+ 18: 51,
672
+ 19: [1, 52],
673
+ 53: 53,
674
+ 54: 54,
675
+ 58: F
676
+ },
677
+ {
678
+ 11: 56,
679
+ 40: T,
680
+ 48: C,
681
+ 50: O,
682
+ 51: I,
683
+ 52: M
684
+ },
685
+ {
686
+ 65: 57,
687
+ 71: [1, 58],
688
+ 72: [1, 59]
689
+ },
690
+ e(Y, [2, 73]),
691
+ e(Y, [2, 74]),
692
+ e(Y, [2, 75]),
693
+ e(Y, [2, 76]),
694
+ e(Y, [2, 77]),
695
+ e(i, [2, 24]),
696
+ e(i, [2, 25]),
697
+ e(i, [2, 26]),
698
+ {
699
+ 13: P,
700
+ 38: 60,
701
+ 41: z,
702
+ 42: R,
703
+ 45: 62,
704
+ 46: 63,
705
+ 48: K,
706
+ 49: G
707
+ },
708
+ e(Q, [2, 37]),
709
+ e(Q, [2, 38]),
710
+ {
711
+ 16: 68,
712
+ 40: N,
713
+ 41: A,
714
+ 42: R
715
+ },
716
+ {
717
+ 13: P,
718
+ 38: 69,
719
+ 41: z,
720
+ 42: R,
721
+ 45: 62,
722
+ 46: 63,
723
+ 48: K,
724
+ 49: G
725
+ },
726
+ {
727
+ 13: [1, 70],
728
+ 15: [1, 71]
729
+ },
730
+ e(i, [2, 17], {
731
+ 64: 35,
732
+ 12: 72,
733
+ 17: [1, 73],
734
+ 42: R,
735
+ 66: nt,
736
+ 67: at,
737
+ 68: ot,
738
+ 69: ct,
739
+ 70: lt
740
+ }),
741
+ { 19: [1, 74] },
742
+ e(i, [2, 14]),
743
+ {
744
+ 18: 75,
745
+ 19: [2, 59],
746
+ 53: 53,
747
+ 54: 54,
748
+ 58: F
749
+ },
750
+ {
751
+ 55: 76,
752
+ 58: [1, 77]
753
+ },
754
+ {
755
+ 58: [2, 65],
756
+ 59: [1, 78]
757
+ },
758
+ { 21: [1, 79] },
759
+ {
760
+ 64: 80,
761
+ 66: nt,
762
+ 67: at,
763
+ 68: ot,
764
+ 69: ct,
765
+ 70: lt
766
+ },
767
+ e(bt, [2, 78]),
768
+ e(bt, [2, 79]),
769
+ {
770
+ 6: mt,
771
+ 10: kt,
772
+ 39: 81,
773
+ 42: Et,
774
+ 47: St
775
+ },
776
+ {
777
+ 40: [1, 86],
778
+ 41: [1, 87]
779
+ },
780
+ e(Tt, [2, 43], {
781
+ 46: 88,
782
+ 13: P,
783
+ 41: z,
784
+ 48: K,
785
+ 49: G
786
+ }),
787
+ e(D, [2, 45]),
788
+ e(D, [2, 50]),
789
+ e(D, [2, 51]),
790
+ e(D, [2, 52]),
791
+ e(D, [2, 53]),
792
+ e(i, [2, 41], { 42: R }),
793
+ {
794
+ 6: mt,
795
+ 10: kt,
796
+ 39: 89,
797
+ 42: Et,
798
+ 47: St
799
+ },
800
+ {
801
+ 14: 90,
802
+ 40: X,
803
+ 50: q,
804
+ 73: J
805
+ },
806
+ {
807
+ 16: 94,
808
+ 40: N,
809
+ 41: A
810
+ },
811
+ {
812
+ 11: 95,
813
+ 40: T,
814
+ 48: C,
815
+ 50: O,
816
+ 51: I,
817
+ 52: M
818
+ },
819
+ {
820
+ 18: 96,
821
+ 19: [1, 97],
822
+ 53: 53,
823
+ 54: 54,
824
+ 58: F
825
+ },
826
+ e(i, [2, 12]),
827
+ { 19: [2, 60] },
828
+ e(U, [2, 61], {
829
+ 56: 98,
830
+ 57: 99,
831
+ 60: 100,
832
+ 62: Ot,
833
+ 63: Nt
834
+ }),
835
+ e([
836
+ 19,
837
+ 58,
838
+ 62,
839
+ 63
840
+ ], [2, 67]),
841
+ { 58: [2, 66] },
842
+ e(i, [2, 22], {
843
+ 15: [1, 104],
844
+ 17: [1, 103]
845
+ }),
846
+ e([
847
+ 40,
848
+ 48,
849
+ 50,
850
+ 51,
851
+ 52
852
+ ], [2, 72]),
853
+ e(i, [2, 36]),
854
+ {
855
+ 13: P,
856
+ 41: z,
857
+ 45: 105,
858
+ 46: 63,
859
+ 48: K,
860
+ 49: G
861
+ },
862
+ e(i, [2, 47]),
863
+ e(i, [2, 48]),
864
+ e(i, [2, 49]),
865
+ e(Q, [2, 39]),
866
+ e(Q, [2, 40]),
867
+ e(D, [2, 46]),
868
+ e(i, [2, 42]),
869
+ e(i, [2, 8]),
870
+ e(i, [2, 80]),
871
+ e(i, [2, 81]),
872
+ e(i, [2, 82]),
873
+ {
874
+ 13: [1, 106],
875
+ 42: R
876
+ },
877
+ {
878
+ 13: [1, 108],
879
+ 15: [1, 107]
880
+ },
881
+ { 19: [1, 109] },
882
+ e(i, [2, 15]),
883
+ e(U, [2, 62], {
884
+ 57: 110,
885
+ 61: [1, 111],
886
+ 63: Nt
887
+ }),
888
+ e(U, [2, 63]),
889
+ e(ht, [2, 68]),
890
+ e(U, [2, 71]),
891
+ e(ht, [2, 70]),
892
+ {
893
+ 18: 112,
894
+ 19: [1, 113],
895
+ 53: 53,
896
+ 54: 54,
897
+ 58: F
898
+ },
899
+ {
900
+ 16: 114,
901
+ 40: N,
902
+ 41: A
903
+ },
904
+ e(Tt, [2, 44], {
905
+ 46: 88,
906
+ 13: P,
907
+ 41: z,
908
+ 48: K,
909
+ 49: G
910
+ }),
911
+ {
912
+ 14: 115,
913
+ 40: X,
914
+ 50: q,
915
+ 73: J
916
+ },
917
+ {
918
+ 16: 116,
919
+ 40: N,
920
+ 41: A
921
+ },
922
+ {
923
+ 14: 117,
924
+ 40: X,
925
+ 50: q,
926
+ 73: J
927
+ },
928
+ e(i, [2, 13]),
929
+ e(U, [2, 64]),
930
+ {
931
+ 60: 118,
932
+ 62: Ot
933
+ },
934
+ { 19: [1, 119] },
935
+ e(i, [2, 20]),
936
+ e(i, [2, 23], {
937
+ 17: [1, 120],
938
+ 42: R
939
+ }),
940
+ e(i, [2, 11]),
941
+ {
942
+ 13: [1, 121],
943
+ 42: R
944
+ },
945
+ e(i, [2, 10]),
946
+ e(ht, [2, 69]),
947
+ e(i, [2, 18]),
948
+ {
949
+ 18: 122,
950
+ 19: [1, 123],
951
+ 53: 53,
952
+ 54: 54,
953
+ 58: F
954
+ },
955
+ {
956
+ 14: 124,
957
+ 40: X,
958
+ 50: q,
959
+ 73: J
960
+ },
961
+ { 19: [1, 125] },
962
+ e(i, [2, 21]),
963
+ e(i, [2, 9]),
964
+ e(i, [2, 19])
965
+ ],
966
+ defaultActions: {
967
+ 75: [2, 60],
968
+ 78: [2, 66]
969
+ },
970
+ parseError: /* @__PURE__ */ l(function(o, h) {
971
+ if (h.recoverable) this.trace(o);
972
+ else {
973
+ var c = new Error(o);
974
+ throw c.hash = h, c;
975
+ }
976
+ }, "parseError"),
977
+ parse: /* @__PURE__ */ l(function(o) {
978
+ var h = this, c = [0], r = [], y = [null], t = [], Z = this.table, s = "", tt = 0, At = 0, Rt = 0, Lt = 2, Ct = 1, wt = t.slice.call(arguments, 1), g = Object.create(this.lexer), x = { yy: {} };
979
+ for (var dt in this.yy) Object.prototype.hasOwnProperty.call(this.yy, dt) && (x.yy[dt] = this.yy[dt]);
980
+ g.setInput(o, x.yy), x.yy.lexer = g, x.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
981
+ var pt = g.yylloc;
982
+ t.push(pt);
983
+ var Vt = g.options && g.options.ranges;
984
+ typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
985
+ function Mt(k) {
986
+ c.length = c.length - 2 * k, y.length = y.length - k, t.length = t.length - k;
987
+ }
988
+ l(Mt, "popStack");
989
+ function It() {
990
+ var k = r.pop() || g.lex() || Ct;
991
+ return typeof k != "number" && (k instanceof Array && (r = k, k = r.pop()), k = h.symbols_[k] || k), k;
992
+ }
993
+ l(It, "lex");
994
+ for (var b, ft, v, m, yt, L = {}, et, S, xt, st; ; ) {
995
+ if (v = c[c.length - 1], this.defaultActions[v] ? m = this.defaultActions[v] : ((b === null || typeof b > "u") && (b = It()), m = Z[v] && Z[v][b]), typeof m > "u" || !m.length || !m[0]) {
996
+ var _t = "";
997
+ st = [];
998
+ for (et in Z[v]) this.terminals_[et] && et > Lt && st.push("'" + this.terminals_[et] + "'");
999
+ g.showPosition ? _t = "Parse error on line " + (tt + 1) + `:
1000
+ ` + g.showPosition() + `
1001
+ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : _t = "Parse error on line " + (tt + 1) + ": Unexpected " + (b == Ct ? "end of input" : "'" + (this.terminals_[b] || b) + "'"), this.parseError(_t, {
1002
+ text: g.match,
1003
+ token: this.terminals_[b] || b,
1004
+ line: g.yylineno,
1005
+ loc: pt,
1006
+ expected: st
1007
+ });
1008
+ }
1009
+ if (m[0] instanceof Array && m.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + b);
1010
+ switch (m[0]) {
1011
+ case 1:
1012
+ c.push(b), y.push(g.yytext), t.push(g.yylloc), c.push(m[1]), b = null, ft ? (b = ft, ft = null) : (At = g.yyleng, s = g.yytext, tt = g.yylineno, pt = g.yylloc, Rt > 0 && Rt--);
1013
+ break;
1014
+ case 2:
1015
+ if (S = this.productions_[m[1]][1], L.$ = y[y.length - S], L._$ = {
1016
+ first_line: t[t.length - (S || 1)].first_line,
1017
+ last_line: t[t.length - 1].last_line,
1018
+ first_column: t[t.length - (S || 1)].first_column,
1019
+ last_column: t[t.length - 1].last_column
1020
+ }, Vt && (L._$.range = [t[t.length - (S || 1)].range[0], t[t.length - 1].range[1]]), yt = this.performAction.apply(L, [
1021
+ s,
1022
+ At,
1023
+ tt,
1024
+ x.yy,
1025
+ m[1],
1026
+ y,
1027
+ t
1028
+ ].concat(wt)), typeof yt < "u") return yt;
1029
+ S && (c = c.slice(0, -1 * S * 2), y = y.slice(0, -1 * S), t = t.slice(0, -1 * S)), c.push(this.productions_[m[1]][0]), y.push(L.$), t.push(L._$), xt = Z[c[c.length - 2]][c[c.length - 1]], c.push(xt);
1030
+ break;
1031
+ case 3:
1032
+ return !0;
1033
+ }
1034
+ }
1035
+ return !0;
1036
+ }, "parse")
1037
+ };
1038
+ ut.lexer = /* @__PURE__ */ (function() {
1039
+ return {
1040
+ EOF: 1,
1041
+ parseError: /* @__PURE__ */ l(function(o, h) {
1042
+ if (this.yy.parser) this.yy.parser.parseError(o, h);
1043
+ else throw new Error(o);
1044
+ }, "parseError"),
1045
+ setInput: /* @__PURE__ */ l(function(n, o) {
1046
+ return this.yy = o || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1047
+ first_line: 1,
1048
+ first_column: 0,
1049
+ last_line: 1,
1050
+ last_column: 0
1051
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1052
+ }, "setInput"),
1053
+ input: /* @__PURE__ */ l(function() {
1054
+ var n = this._input[0];
1055
+ return this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n, n.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), n;
1056
+ }, "input"),
1057
+ unput: /* @__PURE__ */ l(function(n) {
1058
+ var o = n.length, h = n.split(/(?:\r\n?|\n)/g);
1059
+ this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - o), this.offset -= o;
1060
+ var c = this.match.split(/(?:\r\n?|\n)/g);
1061
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), h.length - 1 && (this.yylineno -= h.length - 1);
1062
+ var r = this.yylloc.range;
1063
+ return this.yylloc = {
1064
+ first_line: this.yylloc.first_line,
1065
+ last_line: this.yylineno + 1,
1066
+ first_column: this.yylloc.first_column,
1067
+ last_column: h ? (h.length === c.length ? this.yylloc.first_column : 0) + c[c.length - h.length].length - h[0].length : this.yylloc.first_column - o
1068
+ }, this.options.ranges && (this.yylloc.range = [r[0], r[0] + this.yyleng - o]), this.yyleng = this.yytext.length, this;
1069
+ }, "unput"),
1070
+ more: /* @__PURE__ */ l(function() {
1071
+ return this._more = !0, this;
1072
+ }, "more"),
1073
+ reject: /* @__PURE__ */ l(function() {
1074
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1075
+ 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).
1076
+ ` + this.showPosition(), {
1077
+ text: "",
1078
+ token: null,
1079
+ line: this.yylineno
1080
+ });
1081
+ return this;
1082
+ }, "reject"),
1083
+ less: /* @__PURE__ */ l(function(n) {
1084
+ this.unput(this.match.slice(n));
1085
+ }, "less"),
1086
+ pastInput: /* @__PURE__ */ l(function() {
1087
+ var n = this.matched.substr(0, this.matched.length - this.match.length);
1088
+ return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
1089
+ }, "pastInput"),
1090
+ upcomingInput: /* @__PURE__ */ l(function() {
1091
+ var n = this.match;
1092
+ return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
1093
+ }, "upcomingInput"),
1094
+ showPosition: /* @__PURE__ */ l(function() {
1095
+ var n = this.pastInput(), o = new Array(n.length + 1).join("-");
1096
+ return n + this.upcomingInput() + `
1097
+ ` + o + "^";
1098
+ }, "showPosition"),
1099
+ test_match: /* @__PURE__ */ l(function(n, o) {
1100
+ var h, c, r;
1101
+ if (this.options.backtrack_lexer && (r = {
1102
+ yylineno: this.yylineno,
1103
+ yylloc: {
1104
+ first_line: this.yylloc.first_line,
1105
+ last_line: this.last_line,
1106
+ first_column: this.yylloc.first_column,
1107
+ last_column: this.yylloc.last_column
1108
+ },
1109
+ yytext: this.yytext,
1110
+ match: this.match,
1111
+ matches: this.matches,
1112
+ matched: this.matched,
1113
+ yyleng: this.yyleng,
1114
+ offset: this.offset,
1115
+ _more: this._more,
1116
+ _input: this._input,
1117
+ yy: this.yy,
1118
+ conditionStack: this.conditionStack.slice(0),
1119
+ done: this.done
1120
+ }, this.options.ranges && (r.yylloc.range = this.yylloc.range.slice(0))), c = n[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
1121
+ first_line: this.yylloc.last_line,
1122
+ last_line: this.yylineno + 1,
1123
+ first_column: this.yylloc.last_column,
1124
+ last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
1125
+ }, this.yytext += n[0], this.match += n[0], this.matches = n, 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(n[0].length), this.matched += n[0], h = this.performAction.call(this, this.yy, this, o, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), h) return h;
1126
+ if (this._backtrack) {
1127
+ for (var y in r) this[y] = r[y];
1128
+ return !1;
1129
+ }
1130
+ return !1;
1131
+ }, "test_match"),
1132
+ next: /* @__PURE__ */ l(function() {
1133
+ if (this.done) return this.EOF;
1134
+ this._input || (this.done = !0);
1135
+ var n, o, h, c;
1136
+ this._more || (this.yytext = "", this.match = "");
1137
+ for (var r = this._currentRules(), y = 0; y < r.length; y++)
1138
+ if (h = this._input.match(this.rules[r[y]]), h && (!o || h[0].length > o[0].length)) {
1139
+ if (o = h, c = y, this.options.backtrack_lexer) {
1140
+ if (n = this.test_match(h, r[y]), n !== !1) return n;
1141
+ if (this._backtrack) {
1142
+ o = !1;
1143
+ continue;
1144
+ } else return !1;
1145
+ } else if (!this.options.flex) break;
1146
+ }
1147
+ return o ? (n = this.test_match(o, r[c]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1148
+ ` + this.showPosition(), {
1149
+ text: "",
1150
+ token: null,
1151
+ line: this.yylineno
1152
+ });
1153
+ }, "next"),
1154
+ lex: /* @__PURE__ */ l(function() {
1155
+ var o = this.next();
1156
+ return o || this.lex();
1157
+ }, "lex"),
1158
+ begin: /* @__PURE__ */ l(function(o) {
1159
+ this.conditionStack.push(o);
1160
+ }, "begin"),
1161
+ popState: /* @__PURE__ */ l(function() {
1162
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1163
+ }, "popState"),
1164
+ _currentRules: /* @__PURE__ */ l(function() {
1165
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1166
+ }, "_currentRules"),
1167
+ topState: /* @__PURE__ */ l(function(o) {
1168
+ return o = this.conditionStack.length - 1 - Math.abs(o || 0), o >= 0 ? this.conditionStack[o] : "INITIAL";
1169
+ }, "topState"),
1170
+ pushState: /* @__PURE__ */ l(function(o) {
1171
+ this.begin(o);
1172
+ }, "pushState"),
1173
+ stateStackSize: /* @__PURE__ */ l(function() {
1174
+ return this.conditionStack.length;
1175
+ }, "stateStackSize"),
1176
+ options: { "case-insensitive": !0 },
1177
+ performAction: /* @__PURE__ */ l(function(o, h, c, r) {
1178
+ switch (c) {
1179
+ case 0:
1180
+ return this.begin("acc_title"), 24;
1181
+ case 1:
1182
+ return this.popState(), "acc_title_value";
1183
+ case 2:
1184
+ return this.begin("acc_descr"), 26;
1185
+ case 3:
1186
+ return this.popState(), "acc_descr_value";
1187
+ case 4:
1188
+ this.begin("acc_descr_multiline");
1189
+ break;
1190
+ case 5:
1191
+ this.popState();
1192
+ break;
1193
+ case 6:
1194
+ return "acc_descr_multiline_value";
1195
+ case 7:
1196
+ return 33;
1197
+ case 8:
1198
+ return 34;
1199
+ case 9:
1200
+ return 35;
1201
+ case 10:
1202
+ return 36;
1203
+ case 11:
1204
+ return 10;
1205
+ case 12:
1206
+ break;
1207
+ case 13:
1208
+ return 8;
1209
+ case 14:
1210
+ return 50;
1211
+ case 15:
1212
+ return 73;
1213
+ case 16:
1214
+ return 4;
1215
+ case 17:
1216
+ return this.begin("block"), 17;
1217
+ case 18:
1218
+ return 49;
1219
+ case 19:
1220
+ return 49;
1221
+ case 20:
1222
+ return 42;
1223
+ case 21:
1224
+ return 15;
1225
+ case 22:
1226
+ return 13;
1227
+ case 23:
1228
+ break;
1229
+ case 24:
1230
+ return 62;
1231
+ case 25:
1232
+ return 58;
1233
+ case 26:
1234
+ return 58;
1235
+ case 27:
1236
+ this.begin("block_bq");
1237
+ break;
1238
+ case 28:
1239
+ return 58;
1240
+ case 29:
1241
+ this.popState();
1242
+ break;
1243
+ case 30:
1244
+ return 63;
1245
+ case 31:
1246
+ break;
1247
+ case 32:
1248
+ return this.popState(), 19;
1249
+ case 33:
1250
+ return h.yytext[0];
1251
+ case 34:
1252
+ return 20;
1253
+ case 35:
1254
+ return 21;
1255
+ case 36:
1256
+ return this.begin("style"), 44;
1257
+ case 37:
1258
+ return this.popState(), 10;
1259
+ case 38:
1260
+ break;
1261
+ case 39:
1262
+ return 13;
1263
+ case 40:
1264
+ return 42;
1265
+ case 41:
1266
+ return 49;
1267
+ case 42:
1268
+ return this.begin("style"), 37;
1269
+ case 43:
1270
+ return 43;
1271
+ case 44:
1272
+ return 66;
1273
+ case 45:
1274
+ return 68;
1275
+ case 46:
1276
+ return 68;
1277
+ case 47:
1278
+ return 68;
1279
+ case 48:
1280
+ return 66;
1281
+ case 49:
1282
+ return 66;
1283
+ case 50:
1284
+ return 67;
1285
+ case 51:
1286
+ return 67;
1287
+ case 52:
1288
+ return 67;
1289
+ case 53:
1290
+ return 67;
1291
+ case 54:
1292
+ return 67;
1293
+ case 55:
1294
+ return 68;
1295
+ case 56:
1296
+ return 67;
1297
+ case 57:
1298
+ return 68;
1299
+ case 58:
1300
+ return 69;
1301
+ case 59:
1302
+ return 69;
1303
+ case 60:
1304
+ return 51;
1305
+ case 61:
1306
+ return 69;
1307
+ case 62:
1308
+ return 69;
1309
+ case 63:
1310
+ return 69;
1311
+ case 64:
1312
+ return 52;
1313
+ case 65:
1314
+ return 48;
1315
+ case 66:
1316
+ return 69;
1317
+ case 67:
1318
+ return 66;
1319
+ case 68:
1320
+ return 67;
1321
+ case 69:
1322
+ return 68;
1323
+ case 70:
1324
+ return 70;
1325
+ case 71:
1326
+ return 71;
1327
+ case 72:
1328
+ return 72;
1329
+ case 73:
1330
+ return 72;
1331
+ case 74:
1332
+ return 71;
1333
+ case 75:
1334
+ return 71;
1335
+ case 76:
1336
+ return 71;
1337
+ case 77:
1338
+ return 41;
1339
+ case 78:
1340
+ return 47;
1341
+ case 79:
1342
+ return 40;
1343
+ case 80:
1344
+ return h.yytext[0];
1345
+ case 81:
1346
+ return 6;
1347
+ }
1348
+ }, "anonymous"),
1349
+ rules: [
1350
+ /^(?:accTitle\s*:\s*)/i,
1351
+ /^(?:(?!\n||)*[^\n]*)/i,
1352
+ /^(?:accDescr\s*:\s*)/i,
1353
+ /^(?:(?!\n||)*[^\n]*)/i,
1354
+ /^(?:accDescr\s*\{\s*)/i,
1355
+ /^(?:[\}])/i,
1356
+ /^(?:[^\}]*)/i,
1357
+ /^(?:.*direction\s+TB[^\n]*)/i,
1358
+ /^(?:.*direction\s+BT[^\n]*)/i,
1359
+ /^(?:.*direction\s+RL[^\n]*)/i,
1360
+ /^(?:.*direction\s+LR[^\n]*)/i,
1361
+ /^(?:[\n]+)/i,
1362
+ /^(?:\s+)/i,
1363
+ /^(?:[\s]+)/i,
1364
+ /^(?:"[^"%\r\n\v\b\\]+")/i,
1365
+ /^(?:"[^"]*")/i,
1366
+ /^(?:erDiagram\b)/i,
1367
+ /^(?:\{)/i,
1368
+ /^(?:#)/i,
1369
+ /^(?:#)/i,
1370
+ /^(?:,)/i,
1371
+ /^(?::::)/i,
1372
+ /^(?::)/i,
1373
+ /^(?:\s+)/i,
1374
+ /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,
1375
+ /^(?:([^\s]*)[~].*[~]([^\s]*))/i,
1376
+ /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,
1377
+ /^(?:[`])/i,
1378
+ /^(?:[^`]+)/i,
1379
+ /^(?:[`])/i,
1380
+ /^(?:"[^"]*")/i,
1381
+ /^(?:[\n]+)/i,
1382
+ /^(?:\})/i,
1383
+ /^(?:.)/i,
1384
+ /^(?:\[)/i,
1385
+ /^(?:\])/i,
1386
+ /^(?:style\b)/i,
1387
+ /^(?:[\n]+)/i,
1388
+ /^(?:\s+)/i,
1389
+ /^(?::)/i,
1390
+ /^(?:,)/i,
1391
+ /^(?:#)/i,
1392
+ /^(?:classDef\b)/i,
1393
+ /^(?:class\b)/i,
1394
+ /^(?:one or zero\b)/i,
1395
+ /^(?:one or more\b)/i,
1396
+ /^(?:one or many\b)/i,
1397
+ /^(?:1\+)/i,
1398
+ /^(?:\|o\b)/i,
1399
+ /^(?:zero or one\b)/i,
1400
+ /^(?:zero or more\b)/i,
1401
+ /^(?:zero or many\b)/i,
1402
+ /^(?:0\+)/i,
1403
+ /^(?:\}o\b)/i,
1404
+ /^(?:many\(0\))/i,
1405
+ /^(?:many\(1\))/i,
1406
+ /^(?:many\b)/i,
1407
+ /^(?:\}\|)/i,
1408
+ /^(?:one\b)/i,
1409
+ /^(?:only one\b)/i,
1410
+ /^(?:[0-9]+\.[0-9]+)/i,
1411
+ /^(?:1(?=\s+[A-Za-z_"']))/i,
1412
+ /^(?:1(?=\s+[0-9]))/i,
1413
+ /^(?:1(?=(--|\.\.|\.-|-\.)))/i,
1414
+ /^(?:1\b)/i,
1415
+ /^(?:[0-9]+)/i,
1416
+ /^(?:\|\|)/i,
1417
+ /^(?:o\|)/i,
1418
+ /^(?:o\{)/i,
1419
+ /^(?:\|\{)/i,
1420
+ /^(?:u(?=[\.\-\|]))/i,
1421
+ /^(?:\.\.)/i,
1422
+ /^(?:--)/i,
1423
+ /^(?:to\b)/i,
1424
+ /^(?:optionally to\b)/i,
1425
+ /^(?:\.-)/i,
1426
+ /^(?:-\.)/i,
1427
+ /^(?:([^\x00-\x7F]|\w|-|\*)+)/i,
1428
+ /^(?:;)/i,
1429
+ /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,
1430
+ /^(?:.)/i,
1431
+ /^(?:$)/i
1432
+ ],
1433
+ conditions: {
1434
+ style: {
1435
+ rules: [
1436
+ 37,
1437
+ 38,
1438
+ 39,
1439
+ 40,
1440
+ 41,
1441
+ 77,
1442
+ 78
1443
+ ],
1444
+ inclusive: !1
1445
+ },
1446
+ acc_descr_multiline: {
1447
+ rules: [5, 6],
1448
+ inclusive: !1
1449
+ },
1450
+ acc_descr: {
1451
+ rules: [3],
1452
+ inclusive: !1
1453
+ },
1454
+ acc_title: {
1455
+ rules: [1],
1456
+ inclusive: !1
1457
+ },
1458
+ block_bq: {
1459
+ rules: [28, 29],
1460
+ inclusive: !1
1461
+ },
1462
+ block: {
1463
+ rules: [
1464
+ 23,
1465
+ 24,
1466
+ 25,
1467
+ 26,
1468
+ 27,
1469
+ 30,
1470
+ 31,
1471
+ 32,
1472
+ 33
1473
+ ],
1474
+ inclusive: !1
1475
+ },
1476
+ INITIAL: {
1477
+ rules: [
1478
+ 0,
1479
+ 2,
1480
+ 4,
1481
+ 7,
1482
+ 8,
1483
+ 9,
1484
+ 10,
1485
+ 11,
1486
+ 12,
1487
+ 13,
1488
+ 14,
1489
+ 15,
1490
+ 16,
1491
+ 17,
1492
+ 18,
1493
+ 19,
1494
+ 20,
1495
+ 21,
1496
+ 22,
1497
+ 34,
1498
+ 35,
1499
+ 36,
1500
+ 42,
1501
+ 43,
1502
+ 44,
1503
+ 45,
1504
+ 46,
1505
+ 47,
1506
+ 48,
1507
+ 49,
1508
+ 50,
1509
+ 51,
1510
+ 52,
1511
+ 53,
1512
+ 54,
1513
+ 55,
1514
+ 56,
1515
+ 57,
1516
+ 58,
1517
+ 59,
1518
+ 60,
1519
+ 61,
1520
+ 62,
1521
+ 63,
1522
+ 64,
1523
+ 65,
1524
+ 66,
1525
+ 67,
1526
+ 68,
1527
+ 69,
1528
+ 70,
1529
+ 71,
1530
+ 72,
1531
+ 73,
1532
+ 74,
1533
+ 75,
1534
+ 76,
1535
+ 79,
1536
+ 80,
1537
+ 81
1538
+ ],
1539
+ inclusive: !0
1540
+ }
1541
+ }
1542
+ };
1543
+ })();
1544
+ function $() {
1545
+ this.yy = {};
1546
+ }
1547
+ return l($, "Parser"), $.prototype = ut, ut.Parser = $, new $();
1548
+ })();
1549
+ gt.parser = gt;
1550
+ var te = gt, ee = class {
1551
+ constructor() {
1552
+ this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
1553
+ ZERO_OR_ONE: "ZERO_OR_ONE",
1554
+ ZERO_OR_MORE: "ZERO_OR_MORE",
1555
+ ONE_OR_MORE: "ONE_OR_MORE",
1556
+ ONLY_ONE: "ONLY_ONE",
1557
+ MD_PARENT: "MD_PARENT"
1558
+ }, this.Identification = {
1559
+ NON_IDENTIFYING: "NON_IDENTIFYING",
1560
+ IDENTIFYING: "IDENTIFYING"
1561
+ }, this.setAccTitle = zt, this.getAccTitle = jt, this.setAccDescription = Yt, this.getAccDescription = Ut, this.setDiagramTitle = Pt, this.getDiagramTitle = Zt, this.getConfig = /* @__PURE__ */ l(() => it().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1562
+ }
1563
+ static {
1564
+ l(this, "ErDB");
1565
+ }
1566
+ addEntity(e, i = "") {
1567
+ return this.entities.has(e) ? !this.entities.get(e)?.alias && i && (this.entities.get(e).alias = i, w.info(`Add alias '${i}' to entity '${e}'`)) : (this.entities.set(e, {
1568
+ id: `entity-${e}-${this.entities.size}`,
1569
+ label: e,
1570
+ attributes: [],
1571
+ alias: i,
1572
+ shape: "erBox",
1573
+ look: it().look ?? "default",
1574
+ cssClasses: "default",
1575
+ cssStyles: [],
1576
+ labelType: "markdown"
1577
+ }), w.info("Added new entity :", e)), this.entities.get(e);
1578
+ }
1579
+ getEntity(e) {
1580
+ return this.entities.get(e);
1581
+ }
1582
+ getEntities() {
1583
+ return this.entities;
1584
+ }
1585
+ getClasses() {
1586
+ return this.classes;
1587
+ }
1588
+ addAttributes(e, i) {
1589
+ const u = this.addEntity(e);
1590
+ let a;
1591
+ for (a = i.length - 1; a >= 0; a--)
1592
+ i[a].keys || (i[a].keys = []), i[a].comment || (i[a].comment = ""), u.attributes.push(i[a]), w.debug("Added attribute ", i[a].name);
1593
+ }
1594
+ addRelationship(e, i, u, a) {
1595
+ const d = this.entities.get(e), p = this.entities.get(u);
1596
+ if (!d || !p) return;
1597
+ const _ = {
1598
+ entityA: d.id,
1599
+ roleA: i,
1600
+ entityB: p.id,
1601
+ relSpec: a
1602
+ };
1603
+ this.relationships.push(_), w.debug("Added new relationship :", _);
1604
+ }
1605
+ getRelationships() {
1606
+ return this.relationships;
1607
+ }
1608
+ getDirection() {
1609
+ return this.direction;
1610
+ }
1611
+ setDirection(e) {
1612
+ this.direction = e;
1613
+ }
1614
+ getCompiledStyles(e) {
1615
+ let i = [];
1616
+ for (const u of e) {
1617
+ const a = this.classes.get(u);
1618
+ a?.styles && (i = [...i, ...a.styles ?? []].map((d) => d.trim())), a?.textStyles && (i = [...i, ...a.textStyles ?? []].map((d) => d.trim()));
1619
+ }
1620
+ return i;
1621
+ }
1622
+ addCssStyles(e, i) {
1623
+ for (const u of e) {
1624
+ const a = this.entities.get(u);
1625
+ if (!i || !a) return;
1626
+ for (const d of i) a.cssStyles.push(d);
1627
+ }
1628
+ }
1629
+ addClass(e, i) {
1630
+ e.forEach((u) => {
1631
+ let a = this.classes.get(u);
1632
+ a === void 0 && (a = {
1633
+ id: u,
1634
+ styles: [],
1635
+ textStyles: []
1636
+ }, this.classes.set(u, a)), i && i.forEach(function(d) {
1637
+ if (/color/.exec(d)) {
1638
+ const p = d.replace("fill", "bgFill");
1639
+ a.textStyles.push(p);
1640
+ }
1641
+ a.styles.push(d);
1642
+ });
1643
+ });
1644
+ }
1645
+ setClass(e, i) {
1646
+ for (const u of e) {
1647
+ const a = this.entities.get(u);
1648
+ if (a) for (const d of i) a.cssClasses += " " + d;
1649
+ }
1650
+ }
1651
+ clear() {
1652
+ this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], Kt();
1653
+ }
1654
+ getData() {
1655
+ const e = [], i = [], u = it();
1656
+ let a = 0;
1657
+ for (const p of this.entities.keys()) {
1658
+ const _ = this.entities.get(p);
1659
+ _ && (_.cssCompiledStyles = this.getCompiledStyles(_.cssClasses.split(" ")), _.colorIndex = a++, e.push(_));
1660
+ }
1661
+ let d = 0;
1662
+ for (const p of this.relationships) {
1663
+ const _ = {
1664
+ id: Ht(p.entityA, p.entityB, {
1665
+ prefix: "id",
1666
+ counter: d++
1667
+ }),
1668
+ type: "normal",
1669
+ curve: "basis",
1670
+ start: p.entityA,
1671
+ end: p.entityB,
1672
+ label: p.roleA,
1673
+ labelpos: "c",
1674
+ thickness: "normal",
1675
+ classes: "relationshipLine",
1676
+ arrowTypeStart: p.relSpec.cardB.toLowerCase(),
1677
+ arrowTypeEnd: p.relSpec.cardA.toLowerCase(),
1678
+ pattern: p.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
1679
+ look: u.look,
1680
+ labelType: "markdown"
1681
+ };
1682
+ i.push(_);
1683
+ }
1684
+ return {
1685
+ nodes: e,
1686
+ edges: i,
1687
+ other: {},
1688
+ config: u,
1689
+ direction: "TB"
1690
+ };
1691
+ }
1692
+ }, Dt = {};
1693
+ Bt(Dt, { draw: () => se });
1694
+ var se = /* @__PURE__ */ l(async function(e, i, u, a) {
1695
+ w.info("REF0:"), w.info("Drawing er diagram (unified)", i);
1696
+ const { securityLevel: d, er: p, layout: _ } = it(), f = a.db.getData(), E = Xt(i, d);
1697
+ f.type = a.type, f.layoutAlgorithm = $t(_), f.config.flowchart.nodeSpacing = p?.nodeSpacing || 140, f.config.flowchart.rankSpacing = p?.rankSpacing || 80, f.direction = a.db.getDirection();
1698
+ const { config: j } = f, { look: W } = j;
1699
+ W === "neo" ? f.markers = [
1700
+ "only_one_neo",
1701
+ "zero_or_one_neo",
1702
+ "one_or_more_neo",
1703
+ "zero_or_more_neo"
1704
+ ] : f.markers = [
1705
+ "only_one",
1706
+ "zero_or_one",
1707
+ "one_or_more",
1708
+ "zero_or_more"
1709
+ ], f.diagramId = i, await Jt(f, E), f.layoutAlgorithm === "elk" && E.select(".edges").lower();
1710
+ const T = E.selectAll('[id*="-background"]');
1711
+ Array.from(T).length > 0 && T.each(function() {
1712
+ const V = Ft(this), C = V.attr("id").replace("-background", ""), O = E.select(`#${CSS.escape(C)}`);
1713
+ if (!O.empty()) {
1714
+ const I = O.attr("transform");
1715
+ V.attr("transform", I);
1716
+ }
1717
+ });
1718
+ const H = 8;
1719
+ Qt.insertTitle(E, "erDiagramTitleText", p?.titleTopMargin ?? 25, a.db.getDiagramTitle()), qt(E, H, "erDiagram", p?.useMaxWidth ?? !0);
1720
+ }, "draw"), vt = /* @__PURE__ */ l((e, i) => {
1721
+ const u = Wt, a = u(e, "r"), d = u(e, "g"), p = u(e, "b");
1722
+ return Gt(a, d, p, i);
1723
+ }, "fade"), rt = /* @__PURE__ */ new Set(["redux-color", "redux-dark-color"]), ie = /* @__PURE__ */ l((e) => {
1724
+ const { theme: i, look: u, bkgColorArray: a, borderColorArray: d } = e;
1725
+ if (!rt.has(i)) return "";
1726
+ const p = a?.length > 0;
1727
+ let _ = "";
1728
+ for (let f = 0; f < e.THEME_COLOR_LIMIT; f++) _ += `
1729
+
1730
+ [data-look="${u}"][data-color-id="color-${f}"].node path {
1731
+ stroke: ${d[f]};
1732
+ ${p ? `fill: ${a[f]};` : ""}
1733
+ }
1734
+
1735
+ [data-look="${u}"][data-color-id="color-${f}"].node rect {
1736
+ stroke: ${d[f]};
1737
+ ${p ? `fill: ${a[f]};` : ""}
1738
+ }
1739
+ `;
1740
+ return _;
1741
+ }, "genColor"), me = {
1742
+ parser: te,
1743
+ get db() {
1744
+ return new ee();
1745
+ },
1746
+ renderer: Dt,
1747
+ styles: /* @__PURE__ */ l((e) => {
1748
+ const { look: i, theme: u, erEdgeLabelBackground: a, strokeWidth: d } = e;
1749
+ return `
1750
+ ${ie(e)}
1751
+ .entityBox {
1752
+ fill: ${e.mainBkg};
1753
+ stroke: ${e.nodeBorder};
1754
+ }
1755
+
1756
+ .relationshipLabelBox {
1757
+ fill: ${e.tertiaryColor};
1758
+ opacity: 0.7;
1759
+ background-color: ${e.tertiaryColor};
1760
+ rect {
1761
+ opacity: 0.5;
1762
+ }
1763
+ }
1764
+
1765
+ .labelBkg {
1766
+ background-color: ${rt.has(u) && a ? a : vt(e.tertiaryColor, 0.5)};
1767
+ }
1768
+
1769
+ .edgeLabel {
1770
+ background-color: ${rt.has(u) && a ? a : e.edgeLabelBackground};
1771
+ }
1772
+ .edgeLabel .label rect {
1773
+ fill: ${rt.has(u) && a ? a : e.edgeLabelBackground};
1774
+ }
1775
+ .edgeLabel .label text {
1776
+ fill: ${e.textColor};
1777
+ }
1778
+
1779
+ .edgeLabel .label {
1780
+ fill: ${e.nodeBorder};
1781
+ font-size: 14px;
1782
+ }
1783
+
1784
+ .label {
1785
+ font-family: ${e.fontFamily};
1786
+ color: ${e.nodeTextColor || e.textColor};
1787
+ }
1788
+
1789
+ .edge-pattern-dashed {
1790
+ stroke-dasharray: 8,8;
1791
+ }
1792
+
1793
+ .node rect,
1794
+ .node circle,
1795
+ .node ellipse,
1796
+ .node polygon
1797
+ {
1798
+ fill: ${e.mainBkg};
1799
+ stroke: ${e.nodeBorder};
1800
+ stroke-width: ${i === "neo" ? d : "1px"};
1801
+ }
1802
+
1803
+ .relationshipLine {
1804
+ stroke: ${e.lineColor};
1805
+ stroke-width: ${i === "neo" ? d : "1px"};
1806
+ fill: none;
1807
+ }
1808
+
1809
+ .marker {
1810
+ fill: none !important;
1811
+ stroke: ${e.lineColor} !important;
1812
+ stroke-width: 1;
1813
+ }
1814
+ [data-look=neo].labelBkg {
1815
+ background-color: ${vt(e.tertiaryColor, 0.5)};
1816
+ }
1817
+ `;
1818
+ }, "getStyles")
1819
+ };
1820
+ export {
1821
+ me as diagram
1822
+ };