file-viewer3 1.0.26 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/README.en.md +7 -377
  2. package/README.md +8 -352
  3. package/dist/file-viewer3.css +1 -2
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +2 -0
  6. package/package.json +27 -129
  7. package/dist/components/3MFLoader.js +0 -527
  8. package/dist/components/AMFLoader.js +0 -188
  9. package/dist/components/ArchiveViewer.js +0 -526
  10. package/dist/components/AudioViewer.js +0 -66
  11. package/dist/components/CadViewer.js +0 -9040
  12. package/dist/components/CodeViewer.js +0 -151
  13. package/dist/components/ColladaLoader.js +0 -2282
  14. package/dist/components/DrawingViewer.js +0 -295
  15. package/dist/components/EdaViewer.js +0 -630
  16. package/dist/components/EmailViewer.js +0 -276
  17. package/dist/components/EpubViewer.js +0 -172
  18. package/dist/components/FBXLoader.js +0 -1574
  19. package/dist/components/GLTFLoader.js +0 -1383
  20. package/dist/components/ImageViewer.js +0 -1519
  21. package/dist/components/KMZLoader.js +0 -45
  22. package/dist/components/MarkdownViewer.js +0 -1476
  23. package/dist/components/ModelViewer.js +0 -797
  24. package/dist/components/OBJLoader.js +0 -287
  25. package/dist/components/OfdViewer.js +0 -133
  26. package/dist/components/PCDLoader.js +0 -141
  27. package/dist/components/PLYLoader.js +0 -305
  28. package/dist/components/PdfView.js +0 -27667
  29. package/dist/components/PptxRender.js +0 -11217
  30. package/dist/components/STLLoader.js +0 -83
  31. package/dist/components/TDSLoader.js +0 -228
  32. package/dist/components/TypstViewer.js +0 -1697
  33. package/dist/components/USDLoader.js +0 -2526
  34. package/dist/components/UmdViewer.js +0 -1873
  35. package/dist/components/VRMLLoader.js +0 -6422
  36. package/dist/components/VTKLoader.js +0 -337
  37. package/dist/components/XYZLoader.js +0 -30
  38. package/dist/components/XlsxTable.js +0 -7879
  39. package/dist/components/__vite-browser-external.js +0 -7
  40. package/dist/components/_plugin-vue_export-helper.js +0 -8
  41. package/dist/components/ar-SA-G6X2FPQ2.js +0 -523
  42. package/dist/components/arc.js +0 -79
  43. package/dist/components/architecture-7EHR7CIX.js +0 -3
  44. package/dist/components/architectureDiagram-3BPJPVTR.js +0 -4096
  45. package/dist/components/archive.js +0 -24
  46. package/dist/components/asyncToGenerator.js +0 -29
  47. package/dist/components/audio.js +0 -19
  48. package/dist/components/az-AZ-76LH7QW2.js +0 -523
  49. package/dist/components/bash.js +0 -169
  50. package/dist/components/bg-BG-XCXSNQG7.js +0 -523
  51. package/dist/components/blockDiagram-GPEHLZMM.js +0 -3357
  52. package/dist/components/bn-BD-2XOGV67Q.js +0 -523
  53. package/dist/components/c4Diagram-AAUBKEIU.js +0 -2957
  54. package/dist/components/ca-ES-6MX7JW3Y.js +0 -523
  55. package/dist/components/cad.js +0 -23
  56. package/dist/components/cfb.js +0 -1174
  57. package/dist/components/channel.js +0 -5
  58. package/dist/components/chunk-2J33WTMH.js +0 -26
  59. package/dist/components/chunk-3OPIFGDE.js +0 -4167
  60. package/dist/components/chunk-4BX2VUAB.js +0 -19
  61. package/dist/components/chunk-55IACEB6.js +0 -9
  62. package/dist/components/chunk-5ZQYHXKU.js +0 -669
  63. package/dist/components/chunk-6U3AYISY.js +0 -624
  64. package/dist/components/chunk-727SXJPM.js +0 -3356
  65. package/dist/components/chunk-AGHRB4JF.js +0 -324
  66. package/dist/components/chunk-AQP2D5EJ.js +0 -2055
  67. package/dist/components/chunk-BSJP7CBP.js +0 -83
  68. package/dist/components/chunk-CSCIHK7Q.js +0 -3500
  69. package/dist/components/chunk-EIO257PC.js +0 -1836
  70. package/dist/components/chunk-FMBD7UC4.js +0 -5
  71. package/dist/components/chunk-K2UTITRG.js +0 -17627
  72. package/dist/components/chunk-KSCS5N6A.js +0 -572
  73. package/dist/components/chunk-L5ZTLDWV.js +0 -40
  74. package/dist/components/chunk-LZXEDZCA.js +0 -60
  75. package/dist/components/chunk-ND2GUHAM.js +0 -61
  76. package/dist/components/chunk-NNHCCRGN.js +0 -20425
  77. package/dist/components/chunk-NZK2D7GU.js +0 -68
  78. package/dist/components/chunk-O5CBEL6O.js +0 -1894
  79. package/dist/components/chunk-QZHKN3VN.js +0 -12
  80. package/dist/components/chunk-SRAX5OIU.js +0 -22
  81. package/dist/components/chunk-WU5MYG2G.js +0 -14
  82. package/dist/components/chunk-XPW4576I.js +0 -1146
  83. package/dist/components/chunk-Z3N5DIM6.js +0 -59
  84. package/dist/components/chunk-ZUYEQ4TG.js +0 -22
  85. package/dist/components/chunk.js +0 -23
  86. package/dist/components/classDiagram-4FO5ZUOK.js +0 -29
  87. package/dist/components/classDiagram-v2-Q7XG4LA2.js +0 -29
  88. package/dist/components/compiler.js +0 -2
  89. package/dist/components/core.js +0 -845
  90. package/dist/components/cose-bilkent-S5V4N54A.js +0 -2268
  91. package/dist/components/cpp.js +0 -225
  92. package/dist/components/cs-CZ-2BRQDIVT.js +0 -523
  93. package/dist/components/csharp.js +0 -260
  94. package/dist/components/css.js +0 -140
  95. package/dist/components/cytoscape.esm.js +0 -18114
  96. package/dist/components/da-DK-5WZEPLOC.js +0 -523
  97. package/dist/components/dagre-BM42HDAG.js +0 -325
  98. package/dist/components/dagre.js +0 -1936
  99. package/dist/components/de-DE-XR44H4JA.js +0 -523
  100. package/dist/components/defaultLocale.js +0 -201
  101. package/dist/components/defineProperty.js +0 -50
  102. package/dist/components/diagram-2AECGRRQ.js +0 -229
  103. package/dist/components/diagram-5GNKFQAL.js +0 -108
  104. package/dist/components/diagram-KO2AKTUF.js +0 -443
  105. package/dist/components/diagram-LMA3HP47.js +0 -139
  106. package/dist/components/diagram-OG6HWLK6.js +0 -541
  107. package/dist/components/diff.js +0 -39
  108. package/dist/components/directory-open-01563666.js +0 -26
  109. package/dist/components/directory-open-4ed118d0.js +0 -83
  110. package/dist/components/dist.js +0 -50
  111. package/dist/components/dist2.js +0 -3291
  112. package/dist/components/dist3.js +0 -1593
  113. package/dist/components/documentSearch.js +0 -378
  114. package/dist/components/docx-preview.js +0 -3113
  115. package/dist/components/drawing.js +0 -19
  116. package/dist/components/ebook.js +0 -16
  117. package/dist/components/eda.js +0 -20
  118. package/dist/components/el-GR-BZB4AONW.js +0 -523
  119. package/dist/components/email.js +0 -21
  120. package/dist/components/en-B4ZKOASM.js +0 -3
  121. package/dist/components/erDiagram-TEJ5UH35.js +0 -1719
  122. package/dist/components/es-ES-U4NZUMDT.js +0 -523
  123. package/dist/components/eu-ES-A7QVB2H4.js +0 -523
  124. package/dist/components/eventmodeling-FCH6USID.js +0 -3
  125. package/dist/components/fa-IR-HGAKTJCU.js +0 -523
  126. package/dist/components/fflate.module.js +0 -323
  127. package/dist/components/fi-FI-Z5N7JZ37.js +0 -523
  128. package/dist/components/file-open-002ab408.js +0 -38
  129. package/dist/components/file-open-7c801643.js +0 -24
  130. package/dist/components/file-save-3189631c.js +0 -40
  131. package/dist/components/file-save-745eba88.js +0 -36
  132. package/dist/components/flowDiagram-I6XJVG4X.js +0 -4181
  133. package/dist/components/fr-FR-RHASNOE6.js +0 -523
  134. package/dist/components/ganttDiagram-6RSMTGT7.js +0 -2182
  135. package/dist/components/gitGraph-WXDBUCRP.js +0 -3
  136. package/dist/components/gitGraphDiagram-PVQCEYII.js +0 -788
  137. package/dist/components/gl-ES-HMX3MZ6V.js +0 -523
  138. package/dist/components/global-compiler.js +0 -23
  139. package/dist/components/global-renderer.js +0 -23
  140. package/dist/components/go.js +0 -140
  141. package/dist/components/graphlib.js +0 -1267
  142. package/dist/components/he-IL-6SHJWFNN.js +0 -523
  143. package/dist/components/hi-IN-IWLTKZ5I.js +0 -523
  144. package/dist/components/hu-HU-A5ZG7DT2.js +0 -523
  145. package/dist/components/id-ID-SAP4L64H.js +0 -523
  146. package/dist/components/image-GAAHSSAO.js +0 -3
  147. package/dist/components/image-blob-reduce.esm.js +0 -1429
  148. package/dist/components/image.js +0 -17
  149. package/dist/components/info-J43DQDTF.js +0 -3
  150. package/dist/components/infoDiagram-5YYISTIA.js +0 -26
  151. package/dist/components/ini.js +0 -88
  152. package/dist/components/init.js +0 -15
  153. package/dist/components/ishikawaDiagram-YF4QCWOH.js +0 -718
  154. package/dist/components/it-IT-JPQ66NNP.js +0 -523
  155. package/dist/components/ja-JP-DBVTYXUO.js +0 -523
  156. package/dist/components/java.js +0 -169
  157. package/dist/components/javascript.js +0 -436
  158. package/dist/components/journeyDiagram-JHISSGLW.js +0 -885
  159. package/dist/components/json.js +0 -36
  160. package/dist/components/jszip.min.js +0 -3033
  161. package/dist/components/kaa-6HZHGXH3.js +0 -523
  162. package/dist/components/kab-KAB-ZGHBKWFO.js +0 -523
  163. package/dist/components/kanban-definition-UN3LZRKU.js +0 -986
  164. package/dist/components/katex.js +0 -21979
  165. package/dist/components/kk-KZ-P5N5QNE5.js +0 -523
  166. package/dist/components/km-KH-HSX4SM5Z.js +0 -523
  167. package/dist/components/ko-KR-MTYHY66A.js +0 -523
  168. package/dist/components/ku-TR-6OUDTVRD.js +0 -523
  169. package/dist/components/lib.js +0 -4877
  170. package/dist/components/libarchive.js +0 -360
  171. package/dist/components/linear.js +0 -289
  172. package/dist/components/lt-LT-XHIRWOB4.js +0 -523
  173. package/dist/components/lv-LV-5QDEKY6T.js +0 -523
  174. package/dist/components/markdown.js +0 -181
  175. package/dist/components/md.js +0 -17
  176. package/dist/components/mermaid-parser.core.js +0 -328
  177. package/dist/components/mindmap-definition-RKZ34NQL.js +0 -1016
  178. package/dist/components/model.js +0 -21
  179. package/dist/components/mp4.js +0 -12
  180. package/dist/components/mr-IN-CRQNXWMA.js +0 -523
  181. package/dist/components/my-MM-5M5IBNSE.js +0 -523
  182. package/dist/components/nb-NO-T6EIAALU.js +0 -523
  183. package/dist/components/nestedRender.js +0 -158
  184. package/dist/components/nl-NL-IS3SIHDZ.js +0 -523
  185. package/dist/components/nn-NO-6E72VCQL.js +0 -523
  186. package/dist/components/objectSpread2.js +0 -29
  187. package/dist/components/objectWithoutProperties.js +0 -28
  188. package/dist/components/oc-FR-POXYY2M6.js +0 -523
  189. package/dist/components/ofd.js +0 -5261
  190. package/dist/components/ofd2.js +0 -16
  191. package/dist/components/ordinal.js +0 -65
  192. package/dist/components/pa-IN-N4M65BXN.js +0 -523
  193. package/dist/components/packet-YPE3B663.js +0 -3
  194. package/dist/components/pdf.js +0 -24
  195. package/dist/components/percentages-BXMCSKIN.js +0 -3
  196. package/dist/components/php.js +0 -294
  197. package/dist/components/pica.js +0 -1009
  198. package/dist/components/pie-LRSECV5Y.js +0 -3
  199. package/dist/components/pie.js +0 -47
  200. package/dist/components/pieDiagram-4H26LBE5.js +0 -130
  201. package/dist/components/pl-PL-T2D74RX3.js +0 -523
  202. package/dist/components/postal-mime.js +0 -3146
  203. package/dist/components/pptx.js +0 -15
  204. package/dist/components/printLayout.js +0 -42
  205. package/dist/components/prod.js +0 -21770
  206. package/dist/components/pt-BR-5N22H2LF.js +0 -523
  207. package/dist/components/pt-PT-UZXXM6DQ.js +0 -523
  208. package/dist/components/python.js +0 -238
  209. package/dist/components/quadrantDiagram-W4KKPZXB.js +0 -1988
  210. package/dist/components/radar-GUYGQ44K.js +0 -3
  211. package/dist/components/renderer.js +0 -2
  212. package/dist/components/requirementDiagram-4Y6WPE33.js +0 -2230
  213. package/dist/components/ro-RO-JPDTUUEW.js +0 -523
  214. package/dist/components/rough.esm.js +0 -1355
  215. package/dist/components/roundRect.js +0 -90
  216. package/dist/components/ru-RU-B4JR7IUQ.js +0 -523
  217. package/dist/components/rust.js +0 -169
  218. package/dist/components/sankeyDiagram-5OEKKPKP.js +0 -972
  219. package/dist/components/sequenceDiagram-3UESZ5HK.js +0 -4255
  220. package/dist/components/shared.js +0 -175
  221. package/dist/components/shared2.js +0 -4
  222. package/dist/components/si-LK-N5RQ5JYF.js +0 -523
  223. package/dist/components/sk-SK-C5VTKIMK.js +0 -523
  224. package/dist/components/sl-SI-NN7IZMDC.js +0 -523
  225. package/dist/components/sourceLoading.js +0 -134
  226. package/dist/components/sql.js +0 -118
  227. package/dist/components/src.js +0 -2664
  228. package/dist/components/src2.js +0 -10722
  229. package/dist/components/stateDiagram-AJRCARHV.js +0 -217
  230. package/dist/components/stateDiagram-v2-BHNVJYJU.js +0 -27
  231. package/dist/components/subset-shared.chunk.js +0 -3
  232. package/dist/components/subset-worker.chunk.js +0 -21
  233. package/dist/components/sv-SE-XGPEYMSR.js +0 -523
  234. package/dist/components/ta-IN-2NMHFXQM.js +0 -523
  235. package/dist/components/text.js +0 -20
  236. package/dist/components/th-TH-HPSO5L25.js +0 -523
  237. package/dist/components/three.module.js +0 -13134
  238. package/dist/components/time.js +0 -910
  239. package/dist/components/timeline-definition-PNZ67QCA.js +0 -1084
  240. package/dist/components/tr-TR-DEFEU3FU.js +0 -523
  241. package/dist/components/treeView-BLDUP644.js +0 -3
  242. package/dist/components/treemap-LRROVOQU.js +0 -3
  243. package/dist/components/typescript.js +0 -521
  244. package/dist/components/typst.js +0 -25
  245. package/dist/components/uk-UA-QMV73CPH.js +0 -523
  246. package/dist/components/umd.js +0 -16
  247. package/dist/components/use.js +0 -422
  248. package/dist/components/util.js +0 -49
  249. package/dist/components/vennDiagram-CIIHVFJN.js +0 -1880
  250. package/dist/components/vi-VN-M7AON7JQ.js +0 -523
  251. package/dist/components/viewerZoom.js +0 -92
  252. package/dist/components/wardley-L42UT6IY.js +0 -3
  253. package/dist/components/wardleyDiagram-YWT4CUSO.js +0 -656
  254. package/dist/components/wasm-pack-shim.js +0 -1711
  255. package/dist/components/wasm-pack-shim2.js +0 -934
  256. package/dist/components/wasm.js +0 -97
  257. package/dist/components/word.js +0 -3055
  258. package/dist/components/worker-ref.js +0 -16
  259. package/dist/components/xlsx.js +0 -21
  260. package/dist/components/xml.js +0 -166
  261. package/dist/components/xychartDiagram-2RQKCTM6.js +0 -2015
  262. package/dist/components/yaml.js +0 -144
  263. package/dist/components/zh-CN-LNUGB5OW.js +0 -523
  264. package/dist/components/zh-HK-E62DVLB3.js +0 -523
  265. package/dist/components/zh-TW-RAJ6MFWO.js +0 -523
  266. package/dist/index.mjs +0 -3293
  267. package/dist/src/App.vue.d.ts +0 -3
  268. package/dist/src/compare/CompareApp.vue.d.ts +0 -3
  269. package/dist/src/compare/main.d.ts +0 -0
  270. package/dist/src/compare/useSynchronizedScroll.d.ts +0 -7
  271. package/dist/src/components/HelloWorld.vue.d.ts +0 -3
  272. package/dist/src/components/utils.d.ts +0 -4
  273. package/dist/src/main.d.ts +0 -0
  274. package/dist/src/package/common/printCapability.d.ts +0 -27
  275. package/dist/src/package/common/printLayout.d.ts +0 -16
  276. package/dist/src/package/common/sourceLoading.d.ts +0 -10
  277. package/dist/src/package/common/type.d.ts +0 -544
  278. package/dist/src/package/common/util.d.ts +0 -5
  279. package/dist/src/package/common/worker-ref.d.ts +0 -12
  280. package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +0 -75
  281. package/dist/src/package/components/FileViewer/exportDocumentTemplate.d.ts +0 -9
  282. package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +0 -29
  283. package/dist/src/package/components/FileViewer/hooks/useViewerExport.d.ts +0 -21
  284. package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +0 -8
  285. package/dist/src/package/components/FileViewer/hooks/useViewerZoom.d.ts +0 -34
  286. package/dist/src/package/components/FileViewer/index.d.ts +0 -2
  287. package/dist/src/package/components/FileViewer/util.d.ts +0 -3
  288. package/dist/src/package/index.d.ts +0 -22
  289. package/dist/src/package/use/documentLocation.d.ts +0 -15
  290. package/dist/src/package/use/documentSearch.d.ts +0 -234
  291. package/dist/src/package/use/index.d.ts +0 -5
  292. package/dist/src/package/use/loading.d.ts +0 -33
  293. package/dist/src/package/use/viewerZoom.d.ts +0 -42
  294. package/dist/src/package/use/worker.d.ts +0 -24
  295. package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +0 -9
  296. package/dist/src/package/vendors/archive/cache.d.ts +0 -10
  297. package/dist/src/package/vendors/archive/fallback.d.ts +0 -9
  298. package/dist/src/package/vendors/archive/index.d.ts +0 -3
  299. package/dist/src/package/vendors/archive/shared.d.ts +0 -24
  300. package/dist/src/package/vendors/audio/AudioViewer.vue.d.ts +0 -7
  301. package/dist/src/package/vendors/audio/index.d.ts +0 -7
  302. package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +0 -9
  303. package/dist/src/package/vendors/cad/index.d.ts +0 -8
  304. package/dist/src/package/vendors/drawing/DrawingViewer.vue.d.ts +0 -15
  305. package/dist/src/package/vendors/drawing/index.d.ts +0 -7
  306. package/dist/src/package/vendors/ebook/EpubViewer.vue.d.ts +0 -6
  307. package/dist/src/package/vendors/ebook/index.d.ts +0 -7
  308. package/dist/src/package/vendors/eda/EdaViewer.vue.d.ts +0 -8
  309. package/dist/src/package/vendors/eda/index.d.ts +0 -2
  310. package/dist/src/package/vendors/eda/parser.d.ts +0 -77
  311. package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +0 -10
  312. package/dist/src/package/vendors/email/index.d.ts +0 -2
  313. package/dist/src/package/vendors/image/ImageViewer.vue.d.ts +0 -6
  314. package/dist/src/package/vendors/image/index.d.ts +0 -4
  315. package/dist/src/package/vendors/md/MarkdownViewer.vue.d.ts +0 -6
  316. package/dist/src/package/vendors/md/index.d.ts +0 -4
  317. package/dist/src/package/vendors/model/ModelViewer.vue.d.ts +0 -8
  318. package/dist/src/package/vendors/model/index.d.ts +0 -3
  319. package/dist/src/package/vendors/model/shared.d.ts +0 -1
  320. package/dist/src/package/vendors/mp4/index.d.ts +0 -4
  321. package/dist/src/package/vendors/nestedRender.d.ts +0 -10
  322. package/dist/src/package/vendors/ofd/OfdViewer.vue.d.ts +0 -6
  323. package/dist/src/package/vendors/ofd/index.d.ts +0 -7
  324. package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +0 -10
  325. package/dist/src/package/vendors/pdf/index.d.ts +0 -2
  326. package/dist/src/package/vendors/pdf/worker/index.d.ts +0 -4
  327. package/dist/src/package/vendors/pdf/worker/pdf.worker.d.ts +0 -0
  328. package/dist/src/package/vendors/pptx/PptxRender.vue.d.ts +0 -9
  329. package/dist/src/package/vendors/pptx/index.d.ts +0 -6
  330. package/dist/src/package/vendors/pptx/options.d.ts +0 -39
  331. package/dist/src/package/vendors/pptx/support/chart.d.ts +0 -4
  332. package/dist/src/package/vendors/pptx/worker/index.d.ts +0 -4
  333. package/dist/src/package/vendors/renders.d.ts +0 -3
  334. package/dist/src/package/vendors/text/CodeViewer.vue.d.ts +0 -7
  335. package/dist/src/package/vendors/text/index.d.ts +0 -10
  336. package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +0 -15
  337. package/dist/src/package/vendors/typst/index.d.ts +0 -8
  338. package/dist/src/package/vendors/umd/UmdViewer.vue.d.ts +0 -6
  339. package/dist/src/package/vendors/umd/index.d.ts +0 -7
  340. package/dist/src/package/vendors/umd/parser.d.ts +0 -30
  341. package/dist/src/package/vendors/word/doc.d.ts +0 -5
  342. package/dist/src/package/vendors/word/docx.d.ts +0 -5
  343. package/dist/src/package/vendors/word/docx.worker.d.ts +0 -1
  344. package/dist/src/package/vendors/word/index.d.ts +0 -3
  345. package/dist/src/package/vendors/xlsx/XlsxTable.state.d.ts +0 -80
  346. package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +0 -25
  347. package/dist/src/package/vendors/xlsx/XlsxTable.vue.d.ts +0 -6
  348. package/dist/src/package/vendors/xlsx/index.d.ts +0 -6
  349. package/dist/src/package/vendors/xlsx/util.d.ts +0 -3
  350. package/dist/src/package/vendors/xlsx/worker/index.d.ts +0 -4
  351. package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +0 -73
  352. package/dist/src/package/vendors/xlsx/worker/sheetjs/color.d.ts +0 -2
  353. package/dist/src/package/vendors/xlsx/worker/sheetjs/index.d.ts +0 -4
  354. package/dist/src/package/vendors/xlsx/worker/sheetjs/sheet.worker.d.ts +0 -1
  355. package/dist/style.css +0 -1
  356. package/dist/wasm/cad/dwfv-render.wasm +0 -0
  357. package/dist/wasm/cad/dwg-worker.js +0 -24
  358. package/dist/wasm/cad/libredwg-web.js +0 -15
  359. package/dist/wasm/cad/libredwg-web.wasm +0 -0
@@ -1,4181 +0,0 @@
1
- import { n as e, t } from "./objectSpread2.js";
2
- import { n, t as r } from "./asyncToGenerator.js";
3
- import { n as i, r as a } from "./chunk-AGHRB4JF.js";
4
- import { $ as o, G as s, H as c, K as l, U as u, a as d, d as f, it as p, s as m, v as h, w as g, x as _, y as ee } from "./chunk-CSCIHK7Q.js";
5
- import { t as te } from "./channel.js";
6
- import { Q as ne } from "./src.js";
7
- import { c as v, g as y } from "./chunk-5ZQYHXKU.js";
8
- import { n as b, t as x } from "./chunk-XPW4576I.js";
9
- import "./chunk-BSJP7CBP.js";
10
- import "./chunk-L5ZTLDWV.js";
11
- import "./chunk-NZK2D7GU.js";
12
- import "./chunk-O5CBEL6O.js";
13
- import { o as S } from "./chunk-3OPIFGDE.js";
14
- import "./chunk-KSCS5N6A.js";
15
- import { r as C, t as w } from "./chunk-LZXEDZCA.js";
16
- import { t as T } from "./chunk-FMBD7UC4.js";
17
- import { t as E } from "./chunk-ND2GUHAM.js";
18
- import { t as D } from "./chunk-55IACEB6.js";
19
- import { t as O } from "./chunk-2J33WTMH.js";
20
- e(), n();
21
- var k, re = "flowchart-", ie = (k = class {
22
- constructor() {
23
- this.vertexCounter = 0, this.config = _(), this.diagramId = "", this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = u, this.setAccDescription = c, this.setDiagramTitle = l, this.getAccTitle = ee, this.getAccDescription = h, this.getDiagramTitle = g, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
24
- }
25
- sanitizeText(e) {
26
- return m.sanitizeText(e, this.config);
27
- }
28
- sanitizeNodeLabelType(e) {
29
- switch (e) {
30
- case "markdown":
31
- case "string":
32
- case "text": return e;
33
- default: return "markdown";
34
- }
35
- }
36
- setDiagramId(e) {
37
- this.diagramId = e;
38
- }
39
- lookUpDomId(e) {
40
- for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
41
- return this.diagramId ? `${this.diagramId}-${e}` : e;
42
- }
43
- addVertex(e, t, n, r, i, o, s = {}, c) {
44
- if (!e || e.trim().length === 0) return;
45
- let l;
46
- if (c !== void 0) {
47
- let e;
48
- e = c.includes("\n") ? c + "\n" : "{\n" + c + "\n}", l = b(e, { schema: x });
49
- }
50
- let u = this.edges.find((t) => t.id === e);
51
- if (u) {
52
- let e = l;
53
- (e == null ? void 0 : e.animate) !== void 0 && (u.animate = e.animate), (e == null ? void 0 : e.animation) !== void 0 && (u.animation = e.animation), (e == null ? void 0 : e.curve) !== void 0 && (u.interpolate = e.curve);
54
- return;
55
- }
56
- let d, f = this.vertices.get(e);
57
- if (f === void 0 && (t === void 0 && n === void 0 && r != null && a.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`), f = {
58
- id: e,
59
- labelType: "text",
60
- domId: re + e + "-" + this.vertexCounter,
61
- styles: [],
62
- classes: []
63
- }, this.vertices.set(e, f)), this.vertexCounter++, t === void 0 ? f.text === void 0 && (f.text = e) : (this.config = _(), d = this.sanitizeText(t.text.trim()), f.labelType = t.type, d.startsWith("\"") && d.endsWith("\"") && (d = d.substring(1, d.length - 1)), f.text = d), n !== void 0 && (f.type = n), r != null && r.forEach((e) => {
64
- f.styles.push(e);
65
- }), i != null && i.forEach((e) => {
66
- f.classes.push(e);
67
- }), o !== void 0 && (f.dir = o), f.props === void 0 ? f.props = s : s !== void 0 && Object.assign(f.props, s), l !== void 0) {
68
- if (l.shape) {
69
- if (l.shape !== l.shape.toLowerCase() || l.shape.includes("_")) throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);
70
- if (!S(l.shape)) throw Error(`No such shape: ${l.shape}.`);
71
- f.type = l == null ? void 0 : l.shape;
72
- }
73
- if (l != null && l.label && (f.text = l == null ? void 0 : l.label, f.labelType = this.sanitizeNodeLabelType(l == null ? void 0 : l.labelType)), l != null && l.icon) {
74
- var p;
75
- f.icon = l == null ? void 0 : l.icon, !((p = l.label) != null && p.trim()) && f.text === e && (f.text = "");
76
- }
77
- if (l != null && l.form && (f.form = l == null ? void 0 : l.form), l != null && l.pos && (f.pos = l == null ? void 0 : l.pos), l != null && l.img) {
78
- var m;
79
- f.img = l == null ? void 0 : l.img, !((m = l.label) != null && m.trim()) && f.text === e && (f.text = "");
80
- }
81
- l != null && l.constraint && (f.constraint = l.constraint), l.w && (f.assetWidth = Number(l.w)), l.h && (f.assetHeight = Number(l.h));
82
- }
83
- }
84
- addSingleLink(e, t, n, r) {
85
- var i;
86
- let o = {
87
- start: e,
88
- end: t,
89
- type: void 0,
90
- text: "",
91
- labelType: "text",
92
- classes: [],
93
- isUserDefinedId: !1,
94
- interpolate: this.edges.defaultInterpolate
95
- };
96
- a.info("abc78 Got edge...", o);
97
- let s = n.text;
98
- if (s !== void 0 && (o.text = this.sanitizeText(s.text.trim()), o.text.startsWith("\"") && o.text.endsWith("\"") && (o.text = o.text.substring(1, o.text.length - 1)), o.labelType = this.sanitizeNodeLabelType(s.type)), n !== void 0 && (o.type = n.type, o.stroke = n.stroke, o.length = n.length > 10 ? 10 : n.length), r && !this.edges.some((e) => e.id === r)) o.id = r, o.isUserDefinedId = !0;
99
- else {
100
- let e = this.edges.filter((e) => e.start === o.start && e.end === o.end);
101
- e.length === 0 ? o.id = v(o.start, o.end, {
102
- counter: 0,
103
- prefix: "L"
104
- }) : o.id = v(o.start, o.end, {
105
- counter: e.length + 1,
106
- prefix: "L"
107
- });
108
- }
109
- if (this.edges.length < ((i = this.config.maxEdges) == null ? 500 : i)) a.info("Pushing edge..."), this.edges.push(o);
110
- else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
111
-
112
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
113
- You cannot set this config via configuration inside the diagram as it is a secure config.
114
- You have to call mermaid.initialize.`);
115
- }
116
- isLinkData(e) {
117
- return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
118
- }
119
- addLink(e, t, n) {
120
- let r = this.isLinkData(n) ? n.id.replace("@", "") : void 0;
121
- a.info("addLink", e, t, r);
122
- for (let i of e) for (let a of t) {
123
- let o = i === e[e.length - 1], s = a === t[0];
124
- o && s ? this.addSingleLink(i, a, n, r) : this.addSingleLink(i, a, n, void 0);
125
- }
126
- }
127
- updateLinkInterpolate(e, t) {
128
- e.forEach((e) => {
129
- e === "default" ? this.edges.defaultInterpolate = t : this.edges[e].interpolate = t;
130
- });
131
- }
132
- updateLink(e, t) {
133
- e.forEach((e) => {
134
- if (typeof e == "number" && e >= this.edges.length) throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`);
135
- if (e === "default") this.edges.defaultStyle = t;
136
- else {
137
- var n, r, i;
138
- if (this.edges[e].style = t, ((n = (r = this.edges[e]) == null || (r = r.style) == null ? void 0 : r.length) == null ? 0 : n) > 0 && !(!((i = this.edges[e]) == null || (i = i.style) == null) && i.some((e) => e == null ? void 0 : e.startsWith("fill")))) {
139
- var a;
140
- (a = this.edges[e]) == null || (a = a.style) == null || a.push("fill:none");
141
- }
142
- }
143
- });
144
- }
145
- addClass(e, t) {
146
- let n = t.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
147
- e.split(",").forEach((e) => {
148
- let t = this.classes.get(e);
149
- t === void 0 && (t = {
150
- id: e,
151
- styles: [],
152
- textStyles: []
153
- }, this.classes.set(e, t)), n != null && n.forEach((e) => {
154
- if (/color/.exec(e)) {
155
- let n = e.replace("fill", "bgFill");
156
- t.textStyles.push(n);
157
- }
158
- t.styles.push(e);
159
- });
160
- });
161
- }
162
- setDirection(e) {
163
- this.direction = e.trim(), /.*</.exec(this.direction) && (this.direction = "RL"), /.*\^/.exec(this.direction) && (this.direction = "BT"), /.*>/.exec(this.direction) && (this.direction = "LR"), /.*v/.exec(this.direction) && (this.direction = "TB"), this.direction === "TD" && (this.direction = "TB");
164
- }
165
- setClass(e, t) {
166
- for (let n of e.split(",")) {
167
- let e = this.vertices.get(n);
168
- e && e.classes.push(t);
169
- let r = this.edges.find((e) => e.id === n);
170
- r && r.classes.push(t);
171
- let i = this.subGraphLookup.get(n);
172
- i && i.classes.push(t);
173
- }
174
- }
175
- setTooltip(e, t) {
176
- if (t !== void 0) {
177
- t = this.sanitizeText(t);
178
- for (let n of e.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(n) : n, t);
179
- }
180
- }
181
- setClickFun(e, t, n) {
182
- if (_().securityLevel !== "loose" || t === void 0) return;
183
- let r = [];
184
- if (typeof n == "string") {
185
- r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
186
- for (let e = 0; e < r.length; e++) {
187
- let t = r[e].trim();
188
- t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
189
- }
190
- }
191
- r.length === 0 && r.push(e);
192
- let i = this.vertices.get(e);
193
- i && (i.haveCallback = !0, this.funs.push(() => {
194
- let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
195
- i !== null && i.addEventListener("click", () => {
196
- y.runFunc(t, ...r);
197
- }, !1);
198
- }));
199
- }
200
- setLink(e, t, n) {
201
- e.split(",").forEach((e) => {
202
- let r = this.vertices.get(e);
203
- r !== void 0 && (r.link = y.formatUrl(t, this.config), r.linkTarget = n);
204
- }), this.setClass(e, "clickable");
205
- }
206
- getTooltip(e) {
207
- return this.tooltips.get(e);
208
- }
209
- setClickEvent(e, t, n) {
210
- e.split(",").forEach((e) => {
211
- this.setClickFun(e, t, n);
212
- }), this.setClass(e, "clickable");
213
- }
214
- bindFunctions(e) {
215
- this.funs.forEach((t) => {
216
- t(e);
217
- });
218
- }
219
- getDirection() {
220
- var e;
221
- return (e = this.direction) == null ? void 0 : e.trim();
222
- }
223
- getVertices() {
224
- return this.vertices;
225
- }
226
- getEdges() {
227
- return this.edges;
228
- }
229
- getClasses() {
230
- return this.classes;
231
- }
232
- setupToolTips(e) {
233
- let t = E();
234
- ne(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
235
- var n;
236
- let r = ne(e.currentTarget), i = r.attr("title");
237
- if (i === null) return;
238
- let a = (n = e.currentTarget) == null ? void 0 : n.getBoundingClientRect();
239
- t.transition().duration(200).style("opacity", ".9"), t.text(r.attr("title")).style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), t.html(o.sanitize(i)), r.classed("hover", !0);
240
- }).on("mouseout", (e) => {
241
- t.transition().duration(500).style("opacity", 0), ne(e.currentTarget).classed("hover", !1);
242
- });
243
- }
244
- clear(e = "gen-2") {
245
- this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.diagramId = "", this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = _(), d();
246
- }
247
- setGen(e) {
248
- this.version = e || "gen-2";
249
- }
250
- defaultStyle() {
251
- return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
252
- }
253
- addSubGraph(e, t, n) {
254
- var r, o, s, c, l;
255
- let u = e.text.trim(), d = n.text;
256
- e === n && /\s/.exec(n.text) && (u = void 0);
257
- let f = (/* @__PURE__ */ i((e) => {
258
- let t = {
259
- boolean: {},
260
- number: {},
261
- string: {}
262
- }, n = [], r;
263
- return {
264
- nodeList: e.filter(function(e) {
265
- let i = typeof e;
266
- return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : n.includes(e) ? !1 : n.push(e);
267
- }),
268
- dir: r
269
- };
270
- }, "uniq"))(t.flat()), p = f.nodeList, m = f.dir, h = (r = _().flowchart) == null ? {} : r;
271
- if (m = (o = m) == null ? h.inheritDir ? (s = (c = this.getDirection()) == null ? _().direction : c) == null ? void 0 : s : void 0 : o, this.version === "gen-1") for (let e = 0; e < p.length; e++) p[e] = this.lookUpDomId(p[e]);
272
- u = (l = u) == null ? "subGraph" + this.subCount : l, d = d || "", d = this.sanitizeText(d), this.subCount += 1;
273
- let g = {
274
- id: u,
275
- nodes: p,
276
- title: d.trim(),
277
- classes: [],
278
- dir: m,
279
- labelType: this.sanitizeNodeLabelType(n == null ? void 0 : n.type)
280
- };
281
- return a.info("Adding", g.id, g.nodes, g.dir), g.nodes = this.makeUniq(g, this.subGraphs).nodes, this.subGraphs.push(g), this.subGraphLookup.set(u, g), u;
282
- }
283
- getPosForId(e) {
284
- for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
285
- return -1;
286
- }
287
- indexNodes2(e, t) {
288
- let n = this.subGraphs[t].nodes;
289
- if (this.secCount += 1, this.secCount > 2e3) return {
290
- result: !1,
291
- count: 0
292
- };
293
- if (this.posCrossRef[this.secCount] = t, this.subGraphs[t].id === e) return {
294
- result: !0,
295
- count: 0
296
- };
297
- let r = 0, i = 1;
298
- for (; r < n.length;) {
299
- let t = this.getPosForId(n[r]);
300
- if (t >= 0) {
301
- let n = this.indexNodes2(e, t);
302
- if (n.result) return {
303
- result: !0,
304
- count: i + n.count
305
- };
306
- i += n.count;
307
- }
308
- r += 1;
309
- }
310
- return {
311
- result: !1,
312
- count: i
313
- };
314
- }
315
- getDepthFirstPos(e) {
316
- return this.posCrossRef[e];
317
- }
318
- indexNodes() {
319
- this.secCount = -1, this.subGraphs.length > 0 && this.indexNodes2("none", this.subGraphs.length - 1);
320
- }
321
- getSubGraphs() {
322
- return this.subGraphs;
323
- }
324
- firstGraph() {
325
- return this.firstGraphFlag ? (this.firstGraphFlag = !1, !0) : !1;
326
- }
327
- destructStartLink(e) {
328
- let t = e.trim(), n = "arrow_open";
329
- switch (t[0]) {
330
- case "<":
331
- n = "arrow_point", t = t.slice(1);
332
- break;
333
- case "x":
334
- n = "arrow_cross", t = t.slice(1);
335
- break;
336
- case "o":
337
- n = "arrow_circle", t = t.slice(1);
338
- break;
339
- }
340
- let r = "normal";
341
- return t.includes("=") && (r = "thick"), t.includes(".") && (r = "dotted"), {
342
- type: n,
343
- stroke: r
344
- };
345
- }
346
- countChar(e, t) {
347
- let n = t.length, r = 0;
348
- for (let i = 0; i < n; ++i) t[i] === e && ++r;
349
- return r;
350
- }
351
- destructEndLink(e) {
352
- let t = e.trim(), n = t.slice(0, -1), r = "arrow_open";
353
- switch (t.slice(-1)) {
354
- case "x":
355
- r = "arrow_cross", t.startsWith("x") && (r = "double_" + r, n = n.slice(1));
356
- break;
357
- case ">":
358
- r = "arrow_point", t.startsWith("<") && (r = "double_" + r, n = n.slice(1));
359
- break;
360
- case "o":
361
- r = "arrow_circle", t.startsWith("o") && (r = "double_" + r, n = n.slice(1));
362
- break;
363
- }
364
- let i = "normal", a = n.length - 1;
365
- n.startsWith("=") && (i = "thick"), n.startsWith("~") && (i = "invisible");
366
- let o = this.countChar(".", n);
367
- return o && (i = "dotted", a = o), {
368
- type: r,
369
- stroke: i,
370
- length: a
371
- };
372
- }
373
- destructLink(e, t) {
374
- let n = this.destructEndLink(e), r;
375
- if (t) {
376
- if (r = this.destructStartLink(t), r.stroke !== n.stroke) return {
377
- type: "INVALID",
378
- stroke: "INVALID"
379
- };
380
- if (r.type === "arrow_open") r.type = n.type;
381
- else {
382
- if (r.type !== n.type) return {
383
- type: "INVALID",
384
- stroke: "INVALID"
385
- };
386
- r.type = "double_" + r.type;
387
- }
388
- return r.type === "double_arrow" && (r.type = "double_arrow_point"), r.length = n.length, r;
389
- }
390
- return n;
391
- }
392
- exists(e, t) {
393
- for (let n of e) if (n.nodes.includes(t)) return !0;
394
- return !1;
395
- }
396
- makeUniq(e, t) {
397
- let n = [];
398
- return e.nodes.forEach((r, i) => {
399
- this.exists(t, r) || n.push(e.nodes[i]);
400
- }), { nodes: n };
401
- }
402
- getTypeFromVertex(e) {
403
- if (e.img) return "imageSquare";
404
- if (e.icon) return e.form === "circle" ? "iconCircle" : e.form === "square" ? "iconSquare" : e.form === "rounded" ? "iconRounded" : "icon";
405
- switch (e.type) {
406
- case "square":
407
- case void 0: return "squareRect";
408
- case "round": return "roundedRect";
409
- case "ellipse": return "ellipse";
410
- default: return e.type;
411
- }
412
- }
413
- findNode(e, t) {
414
- return e.find((e) => e.id === t);
415
- }
416
- destructEdgeType(e) {
417
- let t = "none", n = "arrow_point";
418
- switch (e) {
419
- case "arrow_point":
420
- case "arrow_circle":
421
- case "arrow_cross":
422
- n = e;
423
- break;
424
- case "double_arrow_point":
425
- case "double_arrow_circle":
426
- case "double_arrow_cross":
427
- t = e.replace("double_", ""), n = t;
428
- break;
429
- }
430
- return {
431
- arrowTypeStart: t,
432
- arrowTypeEnd: n
433
- };
434
- }
435
- addNodeFromVertex(e, n, r, i, a, o) {
436
- var s;
437
- let c = r.get(e.id), l = (s = i.get(e.id)) == null ? !1 : s, u = this.findNode(n, e.id);
438
- if (u) u.cssStyles = e.styles, u.cssCompiledStyles = this.getCompiledStyles(e.classes), u.cssClasses = e.classes.join(" ");
439
- else {
440
- var d;
441
- let r = {
442
- id: e.id,
443
- label: e.text,
444
- labelType: e.labelType,
445
- labelStyle: "",
446
- parentId: c,
447
- padding: ((d = a.flowchart) == null ? void 0 : d.padding) || 8,
448
- cssStyles: e.styles,
449
- cssCompiledStyles: this.getCompiledStyles([
450
- "default",
451
- "node",
452
- ...e.classes
453
- ]),
454
- cssClasses: "default " + e.classes.join(" "),
455
- dir: e.dir,
456
- domId: e.domId,
457
- look: o,
458
- link: e.link,
459
- linkTarget: e.linkTarget,
460
- tooltip: this.getTooltip(e.id),
461
- icon: e.icon,
462
- pos: e.pos,
463
- img: e.img,
464
- assetWidth: e.assetWidth,
465
- assetHeight: e.assetHeight,
466
- constraint: e.constraint
467
- };
468
- l ? n.push(t(t({}, r), {}, {
469
- isGroup: !0,
470
- shape: "rect"
471
- })) : n.push(t(t({}, r), {}, {
472
- isGroup: !1,
473
- shape: this.getTypeFromVertex(e)
474
- }));
475
- }
476
- }
477
- getCompiledStyles(e) {
478
- let t = [];
479
- for (let i of e) {
480
- let e = this.classes.get(i);
481
- if (e != null && e.styles) {
482
- var n;
483
- t = [...t, ...(n = e.styles) == null ? [] : n].map((e) => e.trim());
484
- }
485
- if (e != null && e.textStyles) {
486
- var r;
487
- t = [...t, ...(r = e.textStyles) == null ? [] : r].map((e) => e.trim());
488
- }
489
- }
490
- return t;
491
- }
492
- getData() {
493
- let e = _(), t = [], n = [], r = this.getSubGraphs(), i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
494
- for (let e = r.length - 1; e >= 0; e--) {
495
- let t = r[e];
496
- t.nodes.length > 0 && a.set(t.id, !0);
497
- for (let e of t.nodes) i.set(e, t.id);
498
- }
499
- for (let n = r.length - 1; n >= 0; n--) {
500
- let a = r[n];
501
- t.push({
502
- id: a.id,
503
- label: a.title,
504
- labelStyle: "",
505
- labelType: a.labelType,
506
- parentId: i.get(a.id),
507
- padding: 8,
508
- cssCompiledStyles: this.getCompiledStyles(a.classes),
509
- cssClasses: a.classes.join(" "),
510
- shape: "rect",
511
- dir: a.dir,
512
- isGroup: !0,
513
- look: e.look
514
- });
515
- }
516
- this.getVertices().forEach((n) => {
517
- this.addNodeFromVertex(n, t, i, a, e, e.look || "classic");
518
- });
519
- let o = this.getEdges();
520
- return o.forEach((t, r) => {
521
- var i, a, s;
522
- let { arrowTypeStart: c, arrowTypeEnd: l } = this.destructEdgeType(t.type), u = [...(i = o.defaultStyle) == null ? [] : i];
523
- t.style && u.push(...t.style);
524
- let d = {
525
- id: v(t.start, t.end, {
526
- counter: r,
527
- prefix: "L"
528
- }, t.id),
529
- isUserDefinedId: t.isUserDefinedId,
530
- start: t.start,
531
- end: t.end,
532
- type: (a = t.type) == null ? "normal" : a,
533
- label: t.text,
534
- labelType: t.labelType,
535
- labelpos: "c",
536
- thickness: t.stroke,
537
- minlen: t.length,
538
- classes: (t == null ? void 0 : t.stroke) === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
539
- arrowTypeStart: (t == null ? void 0 : t.stroke) === "invisible" || (t == null ? void 0 : t.type) === "arrow_open" ? "none" : c,
540
- arrowTypeEnd: (t == null ? void 0 : t.stroke) === "invisible" || (t == null ? void 0 : t.type) === "arrow_open" ? "none" : l,
541
- arrowheadStyle: "fill: #333",
542
- cssCompiledStyles: this.getCompiledStyles(t.classes),
543
- labelStyle: u,
544
- style: u,
545
- pattern: t.stroke,
546
- look: e.look,
547
- animate: t.animate,
548
- animation: t.animation,
549
- curve: t.interpolate || this.edges.defaultInterpolate || ((s = e.flowchart) == null ? void 0 : s.curve)
550
- };
551
- n.push(d);
552
- }), {
553
- nodes: t,
554
- edges: n,
555
- other: {},
556
- config: e
557
- };
558
- }
559
- defaultConfig() {
560
- return f.flowchart;
561
- }
562
- }, i(k, "FlowDB"), k), ae = {
563
- getClasses: /* @__PURE__ */ i(function(e, t) {
564
- return t.db.getClasses();
565
- }, "getClasses"),
566
- draw: /* @__PURE__ */ i(/* @__PURE__ */ function() {
567
- var e = r(function* (e, t, n, r) {
568
- var i, o;
569
- a.info("REF0:"), a.info("Drawing state diagram (v2)", t);
570
- let { securityLevel: s, flowchart: c, layout: l } = _();
571
- r.db.setDiagramId(t), a.debug("Before getData: ");
572
- let u = r.db.getData();
573
- a.debug("Data: ", u);
574
- let d = D(t, s), f = r.db.getDirection();
575
- u.type = r.type, u.layoutAlgorithm = w(l), u.layoutAlgorithm === "dagre" && l === "elk" && a.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), u.direction = f, u.nodeSpacing = (c == null ? void 0 : c.nodeSpacing) || 50, u.rankSpacing = (c == null ? void 0 : c.rankSpacing) || 50, u.markers = [
576
- "point",
577
- "circle",
578
- "cross"
579
- ], u.diagramId = t, a.debug("REF1:", u), yield C(u, d);
580
- let p = (i = (o = u.config.flowchart) == null ? void 0 : o.diagramPadding) == null ? 8 : i;
581
- y.insertTitle(d, "flowchartTitleText", (c == null ? void 0 : c.titleTopMargin) || 0, r.db.getDiagramTitle()), O(d, p, "flowchart", (c == null ? void 0 : c.useMaxWidth) || !1);
582
- });
583
- return function(t, n, r, i) {
584
- return e.apply(this, arguments);
585
- };
586
- }(), "draw")
587
- }, A = (function() {
588
- var e = /* @__PURE__ */ i(function(e, t, n, r) {
589
- for (n = n || {}, r = e.length; r--; n[e[r]] = t);
590
- return n;
591
- }, "o"), t = [1, 4], n = [1, 3], r = [1, 5], a = [
592
- 1,
593
- 8,
594
- 9,
595
- 10,
596
- 11,
597
- 27,
598
- 34,
599
- 36,
600
- 38,
601
- 44,
602
- 60,
603
- 84,
604
- 85,
605
- 86,
606
- 87,
607
- 88,
608
- 89,
609
- 102,
610
- 105,
611
- 106,
612
- 109,
613
- 111,
614
- 114,
615
- 115,
616
- 116,
617
- 121,
618
- 122,
619
- 123,
620
- 124,
621
- 125
622
- ], o = [2, 2], s = [1, 13], c = [1, 14], l = [1, 15], u = [1, 16], d = [1, 23], f = [1, 25], p = [1, 26], m = [1, 27], h = [1, 50], g = [1, 49], _ = [1, 29], ee = [1, 30], te = [1, 31], ne = [1, 32], v = [1, 33], y = [1, 45], b = [1, 47], x = [1, 43], S = [1, 48], C = [1, 44], w = [1, 51], T = [1, 46], E = [1, 52], D = [1, 53], O = [1, 34], k = [1, 35], re = [1, 36], ie = [1, 37], ae = [1, 38], A = [1, 58], j = [
623
- 1,
624
- 8,
625
- 9,
626
- 10,
627
- 11,
628
- 27,
629
- 32,
630
- 34,
631
- 36,
632
- 38,
633
- 44,
634
- 60,
635
- 84,
636
- 85,
637
- 86,
638
- 87,
639
- 88,
640
- 89,
641
- 102,
642
- 105,
643
- 106,
644
- 109,
645
- 111,
646
- 114,
647
- 115,
648
- 116,
649
- 121,
650
- 122,
651
- 123,
652
- 124,
653
- 125
654
- ], M = [1, 62], N = [1, 61], P = [1, 63], oe = [
655
- 8,
656
- 9,
657
- 11,
658
- 75,
659
- 77,
660
- 78
661
- ], se = [1, 79], ce = [1, 92], le = [1, 97], ue = [1, 96], de = [1, 93], fe = [1, 89], pe = [1, 95], me = [1, 91], he = [1, 98], ge = [1, 94], _e = [1, 99], ve = [1, 90], ye = [
662
- 8,
663
- 9,
664
- 10,
665
- 11,
666
- 40,
667
- 75,
668
- 77,
669
- 78
670
- ], F = [
671
- 8,
672
- 9,
673
- 10,
674
- 11,
675
- 40,
676
- 46,
677
- 75,
678
- 77,
679
- 78
680
- ], I = [
681
- 8,
682
- 9,
683
- 10,
684
- 11,
685
- 29,
686
- 40,
687
- 44,
688
- 46,
689
- 48,
690
- 50,
691
- 52,
692
- 54,
693
- 56,
694
- 58,
695
- 60,
696
- 63,
697
- 65,
698
- 67,
699
- 68,
700
- 70,
701
- 75,
702
- 77,
703
- 78,
704
- 89,
705
- 102,
706
- 105,
707
- 106,
708
- 109,
709
- 111,
710
- 114,
711
- 115,
712
- 116
713
- ], be = [
714
- 8,
715
- 9,
716
- 11,
717
- 44,
718
- 60,
719
- 75,
720
- 77,
721
- 78,
722
- 89,
723
- 102,
724
- 105,
725
- 106,
726
- 109,
727
- 111,
728
- 114,
729
- 115,
730
- 116
731
- ], xe = [
732
- 44,
733
- 60,
734
- 89,
735
- 102,
736
- 105,
737
- 106,
738
- 109,
739
- 111,
740
- 114,
741
- 115,
742
- 116
743
- ], Se = [1, 122], Ce = [1, 123], we = [1, 125], Te = [1, 124], Ee = [
744
- 44,
745
- 60,
746
- 62,
747
- 74,
748
- 89,
749
- 102,
750
- 105,
751
- 106,
752
- 109,
753
- 111,
754
- 114,
755
- 115,
756
- 116
757
- ], De = [1, 134], Oe = [1, 148], ke = [1, 149], Ae = [1, 150], je = [1, 151], Me = [1, 136], Ne = [1, 138], Pe = [1, 142], Fe = [1, 143], Ie = [1, 144], Le = [1, 145], Re = [1, 146], ze = [1, 147], Be = [1, 152], Ve = [1, 153], He = [1, 132], Ue = [1, 133], We = [1, 140], Ge = [1, 135], Ke = [1, 139], qe = [1, 137], Je = [
758
- 8,
759
- 9,
760
- 10,
761
- 11,
762
- 27,
763
- 32,
764
- 34,
765
- 36,
766
- 38,
767
- 44,
768
- 60,
769
- 84,
770
- 85,
771
- 86,
772
- 87,
773
- 88,
774
- 89,
775
- 102,
776
- 105,
777
- 106,
778
- 109,
779
- 111,
780
- 114,
781
- 115,
782
- 116,
783
- 121,
784
- 122,
785
- 123,
786
- 124,
787
- 125
788
- ], Ye = [1, 155], Xe = [1, 157], L = [
789
- 8,
790
- 9,
791
- 11
792
- ], R = [
793
- 8,
794
- 9,
795
- 10,
796
- 11,
797
- 14,
798
- 44,
799
- 60,
800
- 89,
801
- 105,
802
- 106,
803
- 109,
804
- 111,
805
- 114,
806
- 115,
807
- 116
808
- ], z = [1, 177], B = [1, 173], V = [1, 174], H = [1, 178], U = [1, 175], W = [1, 176], Ze = [
809
- 77,
810
- 116,
811
- 119
812
- ], G = [
813
- 8,
814
- 9,
815
- 10,
816
- 11,
817
- 12,
818
- 14,
819
- 27,
820
- 29,
821
- 32,
822
- 44,
823
- 60,
824
- 75,
825
- 84,
826
- 85,
827
- 86,
828
- 87,
829
- 88,
830
- 89,
831
- 90,
832
- 105,
833
- 109,
834
- 111,
835
- 114,
836
- 115,
837
- 116
838
- ], Qe = [10, 106], $e = [
839
- 31,
840
- 49,
841
- 51,
842
- 53,
843
- 55,
844
- 57,
845
- 62,
846
- 64,
847
- 66,
848
- 67,
849
- 69,
850
- 71,
851
- 116,
852
- 117,
853
- 118
854
- ], K = [1, 248], q = [1, 246], J = [1, 250], Y = [1, 244], X = [1, 245], Z = [1, 247], et = [1, 249], Q = [1, 251], tt = [1, 269], nt = [
855
- 8,
856
- 9,
857
- 11,
858
- 106
859
- ], $ = [
860
- 8,
861
- 9,
862
- 10,
863
- 11,
864
- 60,
865
- 84,
866
- 105,
867
- 106,
868
- 109,
869
- 110,
870
- 111,
871
- 112
872
- ], rt = {
873
- trace: /* @__PURE__ */ i(function() {}, "trace"),
874
- yy: {},
875
- symbols_: {
876
- error: 2,
877
- start: 3,
878
- graphConfig: 4,
879
- document: 5,
880
- line: 6,
881
- statement: 7,
882
- SEMI: 8,
883
- NEWLINE: 9,
884
- SPACE: 10,
885
- EOF: 11,
886
- GRAPH: 12,
887
- NODIR: 13,
888
- DIR: 14,
889
- FirstStmtSeparator: 15,
890
- ending: 16,
891
- endToken: 17,
892
- spaceList: 18,
893
- spaceListNewline: 19,
894
- vertexStatement: 20,
895
- separator: 21,
896
- styleStatement: 22,
897
- linkStyleStatement: 23,
898
- classDefStatement: 24,
899
- classStatement: 25,
900
- clickStatement: 26,
901
- subgraph: 27,
902
- textNoTags: 28,
903
- SQS: 29,
904
- text: 30,
905
- SQE: 31,
906
- end: 32,
907
- direction: 33,
908
- acc_title: 34,
909
- acc_title_value: 35,
910
- acc_descr: 36,
911
- acc_descr_value: 37,
912
- acc_descr_multiline_value: 38,
913
- shapeData: 39,
914
- SHAPE_DATA: 40,
915
- link: 41,
916
- node: 42,
917
- styledVertex: 43,
918
- AMP: 44,
919
- vertex: 45,
920
- STYLE_SEPARATOR: 46,
921
- idString: 47,
922
- DOUBLECIRCLESTART: 48,
923
- DOUBLECIRCLEEND: 49,
924
- PS: 50,
925
- PE: 51,
926
- "(-": 52,
927
- "-)": 53,
928
- STADIUMSTART: 54,
929
- STADIUMEND: 55,
930
- SUBROUTINESTART: 56,
931
- SUBROUTINEEND: 57,
932
- VERTEX_WITH_PROPS_START: 58,
933
- "NODE_STRING[field]": 59,
934
- COLON: 60,
935
- "NODE_STRING[value]": 61,
936
- PIPE: 62,
937
- CYLINDERSTART: 63,
938
- CYLINDEREND: 64,
939
- DIAMOND_START: 65,
940
- DIAMOND_STOP: 66,
941
- TAGEND: 67,
942
- TRAPSTART: 68,
943
- TRAPEND: 69,
944
- INVTRAPSTART: 70,
945
- INVTRAPEND: 71,
946
- linkStatement: 72,
947
- arrowText: 73,
948
- TESTSTR: 74,
949
- START_LINK: 75,
950
- edgeText: 76,
951
- LINK: 77,
952
- LINK_ID: 78,
953
- edgeTextToken: 79,
954
- STR: 80,
955
- MD_STR: 81,
956
- textToken: 82,
957
- keywords: 83,
958
- STYLE: 84,
959
- LINKSTYLE: 85,
960
- CLASSDEF: 86,
961
- CLASS: 87,
962
- CLICK: 88,
963
- DOWN: 89,
964
- UP: 90,
965
- textNoTagsToken: 91,
966
- stylesOpt: 92,
967
- "idString[vertex]": 93,
968
- "idString[class]": 94,
969
- CALLBACKNAME: 95,
970
- CALLBACKARGS: 96,
971
- HREF: 97,
972
- LINK_TARGET: 98,
973
- "STR[link]": 99,
974
- "STR[tooltip]": 100,
975
- alphaNum: 101,
976
- DEFAULT: 102,
977
- numList: 103,
978
- INTERPOLATE: 104,
979
- NUM: 105,
980
- COMMA: 106,
981
- style: 107,
982
- styleComponent: 108,
983
- NODE_STRING: 109,
984
- UNIT: 110,
985
- BRKT: 111,
986
- PCT: 112,
987
- idStringToken: 113,
988
- MINUS: 114,
989
- MULT: 115,
990
- UNICODE_TEXT: 116,
991
- TEXT: 117,
992
- TAGSTART: 118,
993
- EDGE_TEXT: 119,
994
- alphaNumToken: 120,
995
- direction_tb: 121,
996
- direction_bt: 122,
997
- direction_rl: 123,
998
- direction_lr: 124,
999
- direction_td: 125,
1000
- $accept: 0,
1001
- $end: 1
1002
- },
1003
- terminals_: {
1004
- 2: "error",
1005
- 8: "SEMI",
1006
- 9: "NEWLINE",
1007
- 10: "SPACE",
1008
- 11: "EOF",
1009
- 12: "GRAPH",
1010
- 13: "NODIR",
1011
- 14: "DIR",
1012
- 27: "subgraph",
1013
- 29: "SQS",
1014
- 31: "SQE",
1015
- 32: "end",
1016
- 34: "acc_title",
1017
- 35: "acc_title_value",
1018
- 36: "acc_descr",
1019
- 37: "acc_descr_value",
1020
- 38: "acc_descr_multiline_value",
1021
- 40: "SHAPE_DATA",
1022
- 44: "AMP",
1023
- 46: "STYLE_SEPARATOR",
1024
- 48: "DOUBLECIRCLESTART",
1025
- 49: "DOUBLECIRCLEEND",
1026
- 50: "PS",
1027
- 51: "PE",
1028
- 52: "(-",
1029
- 53: "-)",
1030
- 54: "STADIUMSTART",
1031
- 55: "STADIUMEND",
1032
- 56: "SUBROUTINESTART",
1033
- 57: "SUBROUTINEEND",
1034
- 58: "VERTEX_WITH_PROPS_START",
1035
- 59: "NODE_STRING[field]",
1036
- 60: "COLON",
1037
- 61: "NODE_STRING[value]",
1038
- 62: "PIPE",
1039
- 63: "CYLINDERSTART",
1040
- 64: "CYLINDEREND",
1041
- 65: "DIAMOND_START",
1042
- 66: "DIAMOND_STOP",
1043
- 67: "TAGEND",
1044
- 68: "TRAPSTART",
1045
- 69: "TRAPEND",
1046
- 70: "INVTRAPSTART",
1047
- 71: "INVTRAPEND",
1048
- 74: "TESTSTR",
1049
- 75: "START_LINK",
1050
- 77: "LINK",
1051
- 78: "LINK_ID",
1052
- 80: "STR",
1053
- 81: "MD_STR",
1054
- 84: "STYLE",
1055
- 85: "LINKSTYLE",
1056
- 86: "CLASSDEF",
1057
- 87: "CLASS",
1058
- 88: "CLICK",
1059
- 89: "DOWN",
1060
- 90: "UP",
1061
- 93: "idString[vertex]",
1062
- 94: "idString[class]",
1063
- 95: "CALLBACKNAME",
1064
- 96: "CALLBACKARGS",
1065
- 97: "HREF",
1066
- 98: "LINK_TARGET",
1067
- 99: "STR[link]",
1068
- 100: "STR[tooltip]",
1069
- 102: "DEFAULT",
1070
- 104: "INTERPOLATE",
1071
- 105: "NUM",
1072
- 106: "COMMA",
1073
- 109: "NODE_STRING",
1074
- 110: "UNIT",
1075
- 111: "BRKT",
1076
- 112: "PCT",
1077
- 114: "MINUS",
1078
- 115: "MULT",
1079
- 116: "UNICODE_TEXT",
1080
- 117: "TEXT",
1081
- 118: "TAGSTART",
1082
- 119: "EDGE_TEXT",
1083
- 121: "direction_tb",
1084
- 122: "direction_bt",
1085
- 123: "direction_rl",
1086
- 124: "direction_lr",
1087
- 125: "direction_td"
1088
- },
1089
- productions_: [
1090
- 0,
1091
- [3, 2],
1092
- [5, 0],
1093
- [5, 2],
1094
- [6, 1],
1095
- [6, 1],
1096
- [6, 1],
1097
- [6, 1],
1098
- [6, 1],
1099
- [4, 2],
1100
- [4, 2],
1101
- [4, 2],
1102
- [4, 3],
1103
- [16, 2],
1104
- [16, 1],
1105
- [17, 1],
1106
- [17, 1],
1107
- [17, 1],
1108
- [15, 1],
1109
- [15, 1],
1110
- [15, 2],
1111
- [19, 2],
1112
- [19, 2],
1113
- [19, 1],
1114
- [19, 1],
1115
- [18, 2],
1116
- [18, 1],
1117
- [7, 2],
1118
- [7, 2],
1119
- [7, 2],
1120
- [7, 2],
1121
- [7, 2],
1122
- [7, 2],
1123
- [7, 9],
1124
- [7, 6],
1125
- [7, 4],
1126
- [7, 1],
1127
- [7, 2],
1128
- [7, 2],
1129
- [7, 1],
1130
- [21, 1],
1131
- [21, 1],
1132
- [21, 1],
1133
- [39, 2],
1134
- [39, 1],
1135
- [20, 4],
1136
- [20, 3],
1137
- [20, 4],
1138
- [20, 2],
1139
- [20, 2],
1140
- [20, 1],
1141
- [42, 1],
1142
- [42, 6],
1143
- [42, 5],
1144
- [43, 1],
1145
- [43, 3],
1146
- [45, 4],
1147
- [45, 4],
1148
- [45, 6],
1149
- [45, 4],
1150
- [45, 4],
1151
- [45, 4],
1152
- [45, 8],
1153
- [45, 4],
1154
- [45, 4],
1155
- [45, 4],
1156
- [45, 6],
1157
- [45, 4],
1158
- [45, 4],
1159
- [45, 4],
1160
- [45, 4],
1161
- [45, 4],
1162
- [45, 1],
1163
- [41, 2],
1164
- [41, 3],
1165
- [41, 3],
1166
- [41, 1],
1167
- [41, 3],
1168
- [41, 4],
1169
- [76, 1],
1170
- [76, 2],
1171
- [76, 1],
1172
- [76, 1],
1173
- [72, 1],
1174
- [72, 2],
1175
- [73, 3],
1176
- [30, 1],
1177
- [30, 2],
1178
- [30, 1],
1179
- [30, 1],
1180
- [83, 1],
1181
- [83, 1],
1182
- [83, 1],
1183
- [83, 1],
1184
- [83, 1],
1185
- [83, 1],
1186
- [83, 1],
1187
- [83, 1],
1188
- [83, 1],
1189
- [83, 1],
1190
- [83, 1],
1191
- [28, 1],
1192
- [28, 2],
1193
- [28, 1],
1194
- [28, 1],
1195
- [24, 5],
1196
- [25, 5],
1197
- [26, 2],
1198
- [26, 4],
1199
- [26, 3],
1200
- [26, 5],
1201
- [26, 3],
1202
- [26, 5],
1203
- [26, 5],
1204
- [26, 7],
1205
- [26, 2],
1206
- [26, 4],
1207
- [26, 2],
1208
- [26, 4],
1209
- [26, 4],
1210
- [26, 6],
1211
- [22, 5],
1212
- [23, 5],
1213
- [23, 5],
1214
- [23, 9],
1215
- [23, 9],
1216
- [23, 7],
1217
- [23, 7],
1218
- [103, 1],
1219
- [103, 3],
1220
- [92, 1],
1221
- [92, 3],
1222
- [107, 1],
1223
- [107, 2],
1224
- [108, 1],
1225
- [108, 1],
1226
- [108, 1],
1227
- [108, 1],
1228
- [108, 1],
1229
- [108, 1],
1230
- [108, 1],
1231
- [108, 1],
1232
- [113, 1],
1233
- [113, 1],
1234
- [113, 1],
1235
- [113, 1],
1236
- [113, 1],
1237
- [113, 1],
1238
- [113, 1],
1239
- [113, 1],
1240
- [113, 1],
1241
- [113, 1],
1242
- [113, 1],
1243
- [82, 1],
1244
- [82, 1],
1245
- [82, 1],
1246
- [82, 1],
1247
- [91, 1],
1248
- [91, 1],
1249
- [91, 1],
1250
- [91, 1],
1251
- [91, 1],
1252
- [91, 1],
1253
- [91, 1],
1254
- [91, 1],
1255
- [91, 1],
1256
- [91, 1],
1257
- [91, 1],
1258
- [79, 1],
1259
- [79, 1],
1260
- [120, 1],
1261
- [120, 1],
1262
- [120, 1],
1263
- [120, 1],
1264
- [120, 1],
1265
- [120, 1],
1266
- [120, 1],
1267
- [120, 1],
1268
- [120, 1],
1269
- [120, 1],
1270
- [120, 1],
1271
- [47, 1],
1272
- [47, 2],
1273
- [101, 1],
1274
- [101, 2],
1275
- [33, 1],
1276
- [33, 1],
1277
- [33, 1],
1278
- [33, 1],
1279
- [33, 1]
1280
- ],
1281
- performAction: /* @__PURE__ */ i(function(e, t, n, r, i, a, o) {
1282
- var s = a.length - 1;
1283
- switch (i) {
1284
- case 2:
1285
- this.$ = [];
1286
- break;
1287
- case 3:
1288
- (!Array.isArray(a[s]) || a[s].length > 0) && a[s - 1].push(a[s]), this.$ = a[s - 1];
1289
- break;
1290
- case 4:
1291
- case 183:
1292
- this.$ = a[s];
1293
- break;
1294
- case 11:
1295
- r.setDirection("TB"), this.$ = "TB";
1296
- break;
1297
- case 12:
1298
- r.setDirection(a[s - 1]), this.$ = a[s - 1];
1299
- break;
1300
- case 27:
1301
- this.$ = a[s - 1].nodes;
1302
- break;
1303
- case 28:
1304
- case 29:
1305
- case 30:
1306
- case 31:
1307
- case 32:
1308
- this.$ = [];
1309
- break;
1310
- case 33:
1311
- this.$ = r.addSubGraph(a[s - 6], a[s - 1], a[s - 4]);
1312
- break;
1313
- case 34:
1314
- this.$ = r.addSubGraph(a[s - 3], a[s - 1], a[s - 3]);
1315
- break;
1316
- case 35:
1317
- this.$ = r.addSubGraph(void 0, a[s - 1], void 0);
1318
- break;
1319
- case 37:
1320
- this.$ = a[s].trim(), r.setAccTitle(this.$);
1321
- break;
1322
- case 38:
1323
- case 39:
1324
- this.$ = a[s].trim(), r.setAccDescription(this.$);
1325
- break;
1326
- case 43:
1327
- this.$ = a[s - 1] + a[s];
1328
- break;
1329
- case 44:
1330
- this.$ = a[s];
1331
- break;
1332
- case 45:
1333
- r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1334
- stmt: a[s - 1],
1335
- nodes: a[s - 1].concat(a[s - 3].nodes)
1336
- };
1337
- break;
1338
- case 46:
1339
- r.addLink(a[s - 2].stmt, a[s], a[s - 1]), this.$ = {
1340
- stmt: a[s],
1341
- nodes: a[s].concat(a[s - 2].nodes)
1342
- };
1343
- break;
1344
- case 47:
1345
- r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), this.$ = {
1346
- stmt: a[s - 1],
1347
- nodes: a[s - 1].concat(a[s - 3].nodes)
1348
- };
1349
- break;
1350
- case 48:
1351
- this.$ = {
1352
- stmt: a[s - 1],
1353
- nodes: a[s - 1]
1354
- };
1355
- break;
1356
- case 49:
1357
- r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s]), this.$ = {
1358
- stmt: a[s - 1],
1359
- nodes: a[s - 1],
1360
- shapeData: a[s]
1361
- };
1362
- break;
1363
- case 50:
1364
- this.$ = {
1365
- stmt: a[s],
1366
- nodes: a[s]
1367
- };
1368
- break;
1369
- case 51:
1370
- this.$ = [a[s]];
1371
- break;
1372
- case 52:
1373
- r.addVertex(a[s - 5][a[s - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s - 4]), this.$ = a[s - 5].concat(a[s]);
1374
- break;
1375
- case 53:
1376
- this.$ = a[s - 4].concat(a[s]);
1377
- break;
1378
- case 54:
1379
- this.$ = a[s];
1380
- break;
1381
- case 55:
1382
- this.$ = a[s - 2], r.setClass(a[s - 2], a[s]);
1383
- break;
1384
- case 56:
1385
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "square");
1386
- break;
1387
- case 57:
1388
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "doublecircle");
1389
- break;
1390
- case 58:
1391
- this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "circle");
1392
- break;
1393
- case 59:
1394
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "ellipse");
1395
- break;
1396
- case 60:
1397
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "stadium");
1398
- break;
1399
- case 61:
1400
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "subroutine");
1401
- break;
1402
- case 62:
1403
- this.$ = a[s - 7], r.addVertex(a[s - 7], a[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[a[s - 5], a[s - 3]]]));
1404
- break;
1405
- case 63:
1406
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "cylinder");
1407
- break;
1408
- case 64:
1409
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "round");
1410
- break;
1411
- case 65:
1412
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "diamond");
1413
- break;
1414
- case 66:
1415
- this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "hexagon");
1416
- break;
1417
- case 67:
1418
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "odd");
1419
- break;
1420
- case 68:
1421
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "trapezoid");
1422
- break;
1423
- case 69:
1424
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "inv_trapezoid");
1425
- break;
1426
- case 70:
1427
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_right");
1428
- break;
1429
- case 71:
1430
- this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_left");
1431
- break;
1432
- case 72:
1433
- this.$ = a[s], r.addVertex(a[s]);
1434
- break;
1435
- case 73:
1436
- a[s - 1].text = a[s], this.$ = a[s - 1];
1437
- break;
1438
- case 74:
1439
- case 75:
1440
- a[s - 2].text = a[s - 1], this.$ = a[s - 2];
1441
- break;
1442
- case 76:
1443
- this.$ = a[s];
1444
- break;
1445
- case 77:
1446
- var c = r.destructLink(a[s], a[s - 2]);
1447
- this.$ = {
1448
- type: c.type,
1449
- stroke: c.stroke,
1450
- length: c.length,
1451
- text: a[s - 1]
1452
- };
1453
- break;
1454
- case 78:
1455
- var c = r.destructLink(a[s], a[s - 2]);
1456
- this.$ = {
1457
- type: c.type,
1458
- stroke: c.stroke,
1459
- length: c.length,
1460
- text: a[s - 1],
1461
- id: a[s - 3]
1462
- };
1463
- break;
1464
- case 79:
1465
- this.$ = {
1466
- text: a[s],
1467
- type: "text"
1468
- };
1469
- break;
1470
- case 80:
1471
- this.$ = {
1472
- text: a[s - 1].text + "" + a[s],
1473
- type: a[s - 1].type
1474
- };
1475
- break;
1476
- case 81:
1477
- this.$ = {
1478
- text: a[s],
1479
- type: "string"
1480
- };
1481
- break;
1482
- case 82:
1483
- this.$ = {
1484
- text: a[s],
1485
- type: "markdown"
1486
- };
1487
- break;
1488
- case 83:
1489
- var c = r.destructLink(a[s]);
1490
- this.$ = {
1491
- type: c.type,
1492
- stroke: c.stroke,
1493
- length: c.length
1494
- };
1495
- break;
1496
- case 84:
1497
- var c = r.destructLink(a[s]);
1498
- this.$ = {
1499
- type: c.type,
1500
- stroke: c.stroke,
1501
- length: c.length,
1502
- id: a[s - 1]
1503
- };
1504
- break;
1505
- case 85:
1506
- this.$ = a[s - 1];
1507
- break;
1508
- case 86:
1509
- this.$ = {
1510
- text: a[s],
1511
- type: "text"
1512
- };
1513
- break;
1514
- case 87:
1515
- this.$ = {
1516
- text: a[s - 1].text + "" + a[s],
1517
- type: a[s - 1].type
1518
- };
1519
- break;
1520
- case 88:
1521
- this.$ = {
1522
- text: a[s],
1523
- type: "string"
1524
- };
1525
- break;
1526
- case 89:
1527
- case 104:
1528
- this.$ = {
1529
- text: a[s],
1530
- type: "markdown"
1531
- };
1532
- break;
1533
- case 101:
1534
- this.$ = {
1535
- text: a[s],
1536
- type: "text"
1537
- };
1538
- break;
1539
- case 102:
1540
- this.$ = {
1541
- text: a[s - 1].text + "" + a[s],
1542
- type: a[s - 1].type
1543
- };
1544
- break;
1545
- case 103:
1546
- this.$ = {
1547
- text: a[s],
1548
- type: "text"
1549
- };
1550
- break;
1551
- case 105:
1552
- this.$ = a[s - 4], r.addClass(a[s - 2], a[s]);
1553
- break;
1554
- case 106:
1555
- this.$ = a[s - 4], r.setClass(a[s - 2], a[s]);
1556
- break;
1557
- case 107:
1558
- case 115:
1559
- this.$ = a[s - 1], r.setClickEvent(a[s - 1], a[s]);
1560
- break;
1561
- case 108:
1562
- case 116:
1563
- this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1564
- break;
1565
- case 109:
1566
- this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
1567
- break;
1568
- case 110:
1569
- this.$ = a[s - 4], r.setClickEvent(a[s - 4], a[s - 3], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1570
- break;
1571
- case 111:
1572
- this.$ = a[s - 2], r.setLink(a[s - 2], a[s]);
1573
- break;
1574
- case 112:
1575
- this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
1576
- break;
1577
- case 113:
1578
- this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2], a[s]);
1579
- break;
1580
- case 114:
1581
- this.$ = a[s - 6], r.setLink(a[s - 6], a[s - 4], a[s]), r.setTooltip(a[s - 6], a[s - 2]);
1582
- break;
1583
- case 117:
1584
- this.$ = a[s - 1], r.setLink(a[s - 1], a[s]);
1585
- break;
1586
- case 118:
1587
- this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
1588
- break;
1589
- case 119:
1590
- this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2], a[s]);
1591
- break;
1592
- case 120:
1593
- this.$ = a[s - 5], r.setLink(a[s - 5], a[s - 4], a[s]), r.setTooltip(a[s - 5], a[s - 2]);
1594
- break;
1595
- case 121:
1596
- this.$ = a[s - 4], r.addVertex(a[s - 2], void 0, void 0, a[s]);
1597
- break;
1598
- case 122:
1599
- this.$ = a[s - 4], r.updateLink([a[s - 2]], a[s]);
1600
- break;
1601
- case 123:
1602
- this.$ = a[s - 4], r.updateLink(a[s - 2], a[s]);
1603
- break;
1604
- case 124:
1605
- this.$ = a[s - 8], r.updateLinkInterpolate([a[s - 6]], a[s - 2]), r.updateLink([a[s - 6]], a[s]);
1606
- break;
1607
- case 125:
1608
- this.$ = a[s - 8], r.updateLinkInterpolate(a[s - 6], a[s - 2]), r.updateLink(a[s - 6], a[s]);
1609
- break;
1610
- case 126:
1611
- this.$ = a[s - 6], r.updateLinkInterpolate([a[s - 4]], a[s]);
1612
- break;
1613
- case 127:
1614
- this.$ = a[s - 6], r.updateLinkInterpolate(a[s - 4], a[s]);
1615
- break;
1616
- case 128:
1617
- case 130:
1618
- this.$ = [a[s]];
1619
- break;
1620
- case 129:
1621
- case 131:
1622
- a[s - 2].push(a[s]), this.$ = a[s - 2];
1623
- break;
1624
- case 133:
1625
- this.$ = a[s - 1] + a[s];
1626
- break;
1627
- case 181:
1628
- this.$ = a[s];
1629
- break;
1630
- case 182:
1631
- this.$ = a[s - 1] + "" + a[s];
1632
- break;
1633
- case 184:
1634
- this.$ = a[s - 1] + "" + a[s];
1635
- break;
1636
- case 185:
1637
- this.$ = {
1638
- stmt: "dir",
1639
- value: "TB"
1640
- };
1641
- break;
1642
- case 186:
1643
- this.$ = {
1644
- stmt: "dir",
1645
- value: "BT"
1646
- };
1647
- break;
1648
- case 187:
1649
- this.$ = {
1650
- stmt: "dir",
1651
- value: "RL"
1652
- };
1653
- break;
1654
- case 188:
1655
- this.$ = {
1656
- stmt: "dir",
1657
- value: "LR"
1658
- };
1659
- break;
1660
- case 189:
1661
- this.$ = {
1662
- stmt: "dir",
1663
- value: "TD"
1664
- };
1665
- break;
1666
- }
1667
- }, "anonymous"),
1668
- table: [
1669
- {
1670
- 3: 1,
1671
- 4: 2,
1672
- 9: t,
1673
- 10: n,
1674
- 12: r
1675
- },
1676
- { 1: [3] },
1677
- e(a, o, { 5: 6 }),
1678
- {
1679
- 4: 7,
1680
- 9: t,
1681
- 10: n,
1682
- 12: r
1683
- },
1684
- {
1685
- 4: 8,
1686
- 9: t,
1687
- 10: n,
1688
- 12: r
1689
- },
1690
- {
1691
- 13: [1, 9],
1692
- 14: [1, 10]
1693
- },
1694
- {
1695
- 1: [2, 1],
1696
- 6: 11,
1697
- 7: 12,
1698
- 8: s,
1699
- 9: c,
1700
- 10: l,
1701
- 11: u,
1702
- 20: 17,
1703
- 22: 18,
1704
- 23: 19,
1705
- 24: 20,
1706
- 25: 21,
1707
- 26: 22,
1708
- 27: d,
1709
- 33: 24,
1710
- 34: f,
1711
- 36: p,
1712
- 38: m,
1713
- 42: 28,
1714
- 43: 39,
1715
- 44: h,
1716
- 45: 40,
1717
- 47: 41,
1718
- 60: g,
1719
- 84: _,
1720
- 85: ee,
1721
- 86: te,
1722
- 87: ne,
1723
- 88: v,
1724
- 89: y,
1725
- 102: b,
1726
- 105: x,
1727
- 106: S,
1728
- 109: C,
1729
- 111: w,
1730
- 113: 42,
1731
- 114: T,
1732
- 115: E,
1733
- 116: D,
1734
- 121: O,
1735
- 122: k,
1736
- 123: re,
1737
- 124: ie,
1738
- 125: ae
1739
- },
1740
- e(a, [2, 9]),
1741
- e(a, [2, 10]),
1742
- e(a, [2, 11]),
1743
- {
1744
- 8: [1, 55],
1745
- 9: [1, 56],
1746
- 10: A,
1747
- 15: 54,
1748
- 18: 57
1749
- },
1750
- e(j, [2, 3]),
1751
- e(j, [2, 4]),
1752
- e(j, [2, 5]),
1753
- e(j, [2, 6]),
1754
- e(j, [2, 7]),
1755
- e(j, [2, 8]),
1756
- {
1757
- 8: M,
1758
- 9: N,
1759
- 11: P,
1760
- 21: 59,
1761
- 41: 60,
1762
- 72: 64,
1763
- 75: [1, 65],
1764
- 77: [1, 67],
1765
- 78: [1, 66]
1766
- },
1767
- {
1768
- 8: M,
1769
- 9: N,
1770
- 11: P,
1771
- 21: 68
1772
- },
1773
- {
1774
- 8: M,
1775
- 9: N,
1776
- 11: P,
1777
- 21: 69
1778
- },
1779
- {
1780
- 8: M,
1781
- 9: N,
1782
- 11: P,
1783
- 21: 70
1784
- },
1785
- {
1786
- 8: M,
1787
- 9: N,
1788
- 11: P,
1789
- 21: 71
1790
- },
1791
- {
1792
- 8: M,
1793
- 9: N,
1794
- 11: P,
1795
- 21: 72
1796
- },
1797
- {
1798
- 8: M,
1799
- 9: N,
1800
- 10: [1, 73],
1801
- 11: P,
1802
- 21: 74
1803
- },
1804
- e(j, [2, 36]),
1805
- { 35: [1, 75] },
1806
- { 37: [1, 76] },
1807
- e(j, [2, 39]),
1808
- e(oe, [2, 50], {
1809
- 18: 77,
1810
- 39: 78,
1811
- 10: A,
1812
- 40: se
1813
- }),
1814
- { 10: [1, 80] },
1815
- { 10: [1, 81] },
1816
- { 10: [1, 82] },
1817
- { 10: [1, 83] },
1818
- {
1819
- 14: ce,
1820
- 44: le,
1821
- 60: ue,
1822
- 80: [1, 87],
1823
- 89: de,
1824
- 95: [1, 84],
1825
- 97: [1, 85],
1826
- 101: 86,
1827
- 105: fe,
1828
- 106: pe,
1829
- 109: me,
1830
- 111: he,
1831
- 114: ge,
1832
- 115: _e,
1833
- 116: ve,
1834
- 120: 88
1835
- },
1836
- e(j, [2, 185]),
1837
- e(j, [2, 186]),
1838
- e(j, [2, 187]),
1839
- e(j, [2, 188]),
1840
- e(j, [2, 189]),
1841
- e(ye, [2, 51]),
1842
- e(ye, [2, 54], { 46: [1, 100] }),
1843
- e(F, [2, 72], {
1844
- 113: 113,
1845
- 29: [1, 101],
1846
- 44: h,
1847
- 48: [1, 102],
1848
- 50: [1, 103],
1849
- 52: [1, 104],
1850
- 54: [1, 105],
1851
- 56: [1, 106],
1852
- 58: [1, 107],
1853
- 60: g,
1854
- 63: [1, 108],
1855
- 65: [1, 109],
1856
- 67: [1, 110],
1857
- 68: [1, 111],
1858
- 70: [1, 112],
1859
- 89: y,
1860
- 102: b,
1861
- 105: x,
1862
- 106: S,
1863
- 109: C,
1864
- 111: w,
1865
- 114: T,
1866
- 115: E,
1867
- 116: D
1868
- }),
1869
- e(I, [2, 181]),
1870
- e(I, [2, 142]),
1871
- e(I, [2, 143]),
1872
- e(I, [2, 144]),
1873
- e(I, [2, 145]),
1874
- e(I, [2, 146]),
1875
- e(I, [2, 147]),
1876
- e(I, [2, 148]),
1877
- e(I, [2, 149]),
1878
- e(I, [2, 150]),
1879
- e(I, [2, 151]),
1880
- e(I, [2, 152]),
1881
- e(a, [2, 12]),
1882
- e(a, [2, 18]),
1883
- e(a, [2, 19]),
1884
- { 9: [1, 114] },
1885
- e(be, [2, 26], {
1886
- 18: 115,
1887
- 10: A
1888
- }),
1889
- e(j, [2, 27]),
1890
- {
1891
- 42: 116,
1892
- 43: 39,
1893
- 44: h,
1894
- 45: 40,
1895
- 47: 41,
1896
- 60: g,
1897
- 89: y,
1898
- 102: b,
1899
- 105: x,
1900
- 106: S,
1901
- 109: C,
1902
- 111: w,
1903
- 113: 42,
1904
- 114: T,
1905
- 115: E,
1906
- 116: D
1907
- },
1908
- e(j, [2, 40]),
1909
- e(j, [2, 41]),
1910
- e(j, [2, 42]),
1911
- e(xe, [2, 76], {
1912
- 73: 117,
1913
- 62: [1, 119],
1914
- 74: [1, 118]
1915
- }),
1916
- {
1917
- 76: 120,
1918
- 79: 121,
1919
- 80: Se,
1920
- 81: Ce,
1921
- 116: we,
1922
- 119: Te
1923
- },
1924
- {
1925
- 75: [1, 126],
1926
- 77: [1, 127]
1927
- },
1928
- e(Ee, [2, 83]),
1929
- e(j, [2, 28]),
1930
- e(j, [2, 29]),
1931
- e(j, [2, 30]),
1932
- e(j, [2, 31]),
1933
- e(j, [2, 32]),
1934
- {
1935
- 10: De,
1936
- 12: Oe,
1937
- 14: ke,
1938
- 27: Ae,
1939
- 28: 128,
1940
- 32: je,
1941
- 44: Me,
1942
- 60: Ne,
1943
- 75: Pe,
1944
- 80: [1, 130],
1945
- 81: [1, 131],
1946
- 83: 141,
1947
- 84: Fe,
1948
- 85: Ie,
1949
- 86: Le,
1950
- 87: Re,
1951
- 88: ze,
1952
- 89: Be,
1953
- 90: Ve,
1954
- 91: 129,
1955
- 105: He,
1956
- 109: Ue,
1957
- 111: We,
1958
- 114: Ge,
1959
- 115: Ke,
1960
- 116: qe
1961
- },
1962
- e(Je, o, { 5: 154 }),
1963
- e(j, [2, 37]),
1964
- e(j, [2, 38]),
1965
- e(oe, [2, 48], { 44: Ye }),
1966
- e(oe, [2, 49], {
1967
- 18: 156,
1968
- 10: A,
1969
- 40: Xe
1970
- }),
1971
- e(ye, [2, 44]),
1972
- {
1973
- 44: h,
1974
- 47: 158,
1975
- 60: g,
1976
- 89: y,
1977
- 102: b,
1978
- 105: x,
1979
- 106: S,
1980
- 109: C,
1981
- 111: w,
1982
- 113: 42,
1983
- 114: T,
1984
- 115: E,
1985
- 116: D
1986
- },
1987
- {
1988
- 102: [1, 159],
1989
- 103: 160,
1990
- 105: [1, 161]
1991
- },
1992
- {
1993
- 44: h,
1994
- 47: 162,
1995
- 60: g,
1996
- 89: y,
1997
- 102: b,
1998
- 105: x,
1999
- 106: S,
2000
- 109: C,
2001
- 111: w,
2002
- 113: 42,
2003
- 114: T,
2004
- 115: E,
2005
- 116: D
2006
- },
2007
- {
2008
- 44: h,
2009
- 47: 163,
2010
- 60: g,
2011
- 89: y,
2012
- 102: b,
2013
- 105: x,
2014
- 106: S,
2015
- 109: C,
2016
- 111: w,
2017
- 113: 42,
2018
- 114: T,
2019
- 115: E,
2020
- 116: D
2021
- },
2022
- e(L, [2, 107], {
2023
- 10: [1, 164],
2024
- 96: [1, 165]
2025
- }),
2026
- { 80: [1, 166] },
2027
- e(L, [2, 115], {
2028
- 120: 168,
2029
- 10: [1, 167],
2030
- 14: ce,
2031
- 44: le,
2032
- 60: ue,
2033
- 89: de,
2034
- 105: fe,
2035
- 106: pe,
2036
- 109: me,
2037
- 111: he,
2038
- 114: ge,
2039
- 115: _e,
2040
- 116: ve
2041
- }),
2042
- e(L, [2, 117], { 10: [1, 169] }),
2043
- e(R, [2, 183]),
2044
- e(R, [2, 170]),
2045
- e(R, [2, 171]),
2046
- e(R, [2, 172]),
2047
- e(R, [2, 173]),
2048
- e(R, [2, 174]),
2049
- e(R, [2, 175]),
2050
- e(R, [2, 176]),
2051
- e(R, [2, 177]),
2052
- e(R, [2, 178]),
2053
- e(R, [2, 179]),
2054
- e(R, [2, 180]),
2055
- {
2056
- 44: h,
2057
- 47: 170,
2058
- 60: g,
2059
- 89: y,
2060
- 102: b,
2061
- 105: x,
2062
- 106: S,
2063
- 109: C,
2064
- 111: w,
2065
- 113: 42,
2066
- 114: T,
2067
- 115: E,
2068
- 116: D
2069
- },
2070
- {
2071
- 30: 171,
2072
- 67: z,
2073
- 80: B,
2074
- 81: V,
2075
- 82: 172,
2076
- 116: H,
2077
- 117: U,
2078
- 118: W
2079
- },
2080
- {
2081
- 30: 179,
2082
- 67: z,
2083
- 80: B,
2084
- 81: V,
2085
- 82: 172,
2086
- 116: H,
2087
- 117: U,
2088
- 118: W
2089
- },
2090
- {
2091
- 30: 181,
2092
- 50: [1, 180],
2093
- 67: z,
2094
- 80: B,
2095
- 81: V,
2096
- 82: 172,
2097
- 116: H,
2098
- 117: U,
2099
- 118: W
2100
- },
2101
- {
2102
- 30: 182,
2103
- 67: z,
2104
- 80: B,
2105
- 81: V,
2106
- 82: 172,
2107
- 116: H,
2108
- 117: U,
2109
- 118: W
2110
- },
2111
- {
2112
- 30: 183,
2113
- 67: z,
2114
- 80: B,
2115
- 81: V,
2116
- 82: 172,
2117
- 116: H,
2118
- 117: U,
2119
- 118: W
2120
- },
2121
- {
2122
- 30: 184,
2123
- 67: z,
2124
- 80: B,
2125
- 81: V,
2126
- 82: 172,
2127
- 116: H,
2128
- 117: U,
2129
- 118: W
2130
- },
2131
- { 109: [1, 185] },
2132
- {
2133
- 30: 186,
2134
- 67: z,
2135
- 80: B,
2136
- 81: V,
2137
- 82: 172,
2138
- 116: H,
2139
- 117: U,
2140
- 118: W
2141
- },
2142
- {
2143
- 30: 187,
2144
- 65: [1, 188],
2145
- 67: z,
2146
- 80: B,
2147
- 81: V,
2148
- 82: 172,
2149
- 116: H,
2150
- 117: U,
2151
- 118: W
2152
- },
2153
- {
2154
- 30: 189,
2155
- 67: z,
2156
- 80: B,
2157
- 81: V,
2158
- 82: 172,
2159
- 116: H,
2160
- 117: U,
2161
- 118: W
2162
- },
2163
- {
2164
- 30: 190,
2165
- 67: z,
2166
- 80: B,
2167
- 81: V,
2168
- 82: 172,
2169
- 116: H,
2170
- 117: U,
2171
- 118: W
2172
- },
2173
- {
2174
- 30: 191,
2175
- 67: z,
2176
- 80: B,
2177
- 81: V,
2178
- 82: 172,
2179
- 116: H,
2180
- 117: U,
2181
- 118: W
2182
- },
2183
- e(I, [2, 182]),
2184
- e(a, [2, 20]),
2185
- e(be, [2, 25]),
2186
- e(oe, [2, 46], {
2187
- 39: 192,
2188
- 18: 193,
2189
- 10: A,
2190
- 40: se
2191
- }),
2192
- e(xe, [2, 73], { 10: [1, 194] }),
2193
- { 10: [1, 195] },
2194
- {
2195
- 30: 196,
2196
- 67: z,
2197
- 80: B,
2198
- 81: V,
2199
- 82: 172,
2200
- 116: H,
2201
- 117: U,
2202
- 118: W
2203
- },
2204
- {
2205
- 77: [1, 197],
2206
- 79: 198,
2207
- 116: we,
2208
- 119: Te
2209
- },
2210
- e(Ze, [2, 79]),
2211
- e(Ze, [2, 81]),
2212
- e(Ze, [2, 82]),
2213
- e(Ze, [2, 168]),
2214
- e(Ze, [2, 169]),
2215
- {
2216
- 76: 199,
2217
- 79: 121,
2218
- 80: Se,
2219
- 81: Ce,
2220
- 116: we,
2221
- 119: Te
2222
- },
2223
- e(Ee, [2, 84]),
2224
- {
2225
- 8: M,
2226
- 9: N,
2227
- 10: De,
2228
- 11: P,
2229
- 12: Oe,
2230
- 14: ke,
2231
- 21: 201,
2232
- 27: Ae,
2233
- 29: [1, 200],
2234
- 32: je,
2235
- 44: Me,
2236
- 60: Ne,
2237
- 75: Pe,
2238
- 83: 141,
2239
- 84: Fe,
2240
- 85: Ie,
2241
- 86: Le,
2242
- 87: Re,
2243
- 88: ze,
2244
- 89: Be,
2245
- 90: Ve,
2246
- 91: 202,
2247
- 105: He,
2248
- 109: Ue,
2249
- 111: We,
2250
- 114: Ge,
2251
- 115: Ke,
2252
- 116: qe
2253
- },
2254
- e(G, [2, 101]),
2255
- e(G, [2, 103]),
2256
- e(G, [2, 104]),
2257
- e(G, [2, 157]),
2258
- e(G, [2, 158]),
2259
- e(G, [2, 159]),
2260
- e(G, [2, 160]),
2261
- e(G, [2, 161]),
2262
- e(G, [2, 162]),
2263
- e(G, [2, 163]),
2264
- e(G, [2, 164]),
2265
- e(G, [2, 165]),
2266
- e(G, [2, 166]),
2267
- e(G, [2, 167]),
2268
- e(G, [2, 90]),
2269
- e(G, [2, 91]),
2270
- e(G, [2, 92]),
2271
- e(G, [2, 93]),
2272
- e(G, [2, 94]),
2273
- e(G, [2, 95]),
2274
- e(G, [2, 96]),
2275
- e(G, [2, 97]),
2276
- e(G, [2, 98]),
2277
- e(G, [2, 99]),
2278
- e(G, [2, 100]),
2279
- {
2280
- 6: 11,
2281
- 7: 12,
2282
- 8: s,
2283
- 9: c,
2284
- 10: l,
2285
- 11: u,
2286
- 20: 17,
2287
- 22: 18,
2288
- 23: 19,
2289
- 24: 20,
2290
- 25: 21,
2291
- 26: 22,
2292
- 27: d,
2293
- 32: [1, 203],
2294
- 33: 24,
2295
- 34: f,
2296
- 36: p,
2297
- 38: m,
2298
- 42: 28,
2299
- 43: 39,
2300
- 44: h,
2301
- 45: 40,
2302
- 47: 41,
2303
- 60: g,
2304
- 84: _,
2305
- 85: ee,
2306
- 86: te,
2307
- 87: ne,
2308
- 88: v,
2309
- 89: y,
2310
- 102: b,
2311
- 105: x,
2312
- 106: S,
2313
- 109: C,
2314
- 111: w,
2315
- 113: 42,
2316
- 114: T,
2317
- 115: E,
2318
- 116: D,
2319
- 121: O,
2320
- 122: k,
2321
- 123: re,
2322
- 124: ie,
2323
- 125: ae
2324
- },
2325
- {
2326
- 10: A,
2327
- 18: 204
2328
- },
2329
- { 44: [1, 205] },
2330
- e(ye, [2, 43]),
2331
- {
2332
- 10: [1, 206],
2333
- 44: h,
2334
- 60: g,
2335
- 89: y,
2336
- 102: b,
2337
- 105: x,
2338
- 106: S,
2339
- 109: C,
2340
- 111: w,
2341
- 113: 113,
2342
- 114: T,
2343
- 115: E,
2344
- 116: D
2345
- },
2346
- { 10: [1, 207] },
2347
- {
2348
- 10: [1, 208],
2349
- 106: [1, 209]
2350
- },
2351
- e(Qe, [2, 128]),
2352
- {
2353
- 10: [1, 210],
2354
- 44: h,
2355
- 60: g,
2356
- 89: y,
2357
- 102: b,
2358
- 105: x,
2359
- 106: S,
2360
- 109: C,
2361
- 111: w,
2362
- 113: 113,
2363
- 114: T,
2364
- 115: E,
2365
- 116: D
2366
- },
2367
- {
2368
- 10: [1, 211],
2369
- 44: h,
2370
- 60: g,
2371
- 89: y,
2372
- 102: b,
2373
- 105: x,
2374
- 106: S,
2375
- 109: C,
2376
- 111: w,
2377
- 113: 113,
2378
- 114: T,
2379
- 115: E,
2380
- 116: D
2381
- },
2382
- { 80: [1, 212] },
2383
- e(L, [2, 109], { 10: [1, 213] }),
2384
- e(L, [2, 111], { 10: [1, 214] }),
2385
- { 80: [1, 215] },
2386
- e(R, [2, 184]),
2387
- {
2388
- 80: [1, 216],
2389
- 98: [1, 217]
2390
- },
2391
- e(ye, [2, 55], {
2392
- 113: 113,
2393
- 44: h,
2394
- 60: g,
2395
- 89: y,
2396
- 102: b,
2397
- 105: x,
2398
- 106: S,
2399
- 109: C,
2400
- 111: w,
2401
- 114: T,
2402
- 115: E,
2403
- 116: D
2404
- }),
2405
- {
2406
- 31: [1, 218],
2407
- 67: z,
2408
- 82: 219,
2409
- 116: H,
2410
- 117: U,
2411
- 118: W
2412
- },
2413
- e($e, [2, 86]),
2414
- e($e, [2, 88]),
2415
- e($e, [2, 89]),
2416
- e($e, [2, 153]),
2417
- e($e, [2, 154]),
2418
- e($e, [2, 155]),
2419
- e($e, [2, 156]),
2420
- {
2421
- 49: [1, 220],
2422
- 67: z,
2423
- 82: 219,
2424
- 116: H,
2425
- 117: U,
2426
- 118: W
2427
- },
2428
- {
2429
- 30: 221,
2430
- 67: z,
2431
- 80: B,
2432
- 81: V,
2433
- 82: 172,
2434
- 116: H,
2435
- 117: U,
2436
- 118: W
2437
- },
2438
- {
2439
- 51: [1, 222],
2440
- 67: z,
2441
- 82: 219,
2442
- 116: H,
2443
- 117: U,
2444
- 118: W
2445
- },
2446
- {
2447
- 53: [1, 223],
2448
- 67: z,
2449
- 82: 219,
2450
- 116: H,
2451
- 117: U,
2452
- 118: W
2453
- },
2454
- {
2455
- 55: [1, 224],
2456
- 67: z,
2457
- 82: 219,
2458
- 116: H,
2459
- 117: U,
2460
- 118: W
2461
- },
2462
- {
2463
- 57: [1, 225],
2464
- 67: z,
2465
- 82: 219,
2466
- 116: H,
2467
- 117: U,
2468
- 118: W
2469
- },
2470
- { 60: [1, 226] },
2471
- {
2472
- 64: [1, 227],
2473
- 67: z,
2474
- 82: 219,
2475
- 116: H,
2476
- 117: U,
2477
- 118: W
2478
- },
2479
- {
2480
- 66: [1, 228],
2481
- 67: z,
2482
- 82: 219,
2483
- 116: H,
2484
- 117: U,
2485
- 118: W
2486
- },
2487
- {
2488
- 30: 229,
2489
- 67: z,
2490
- 80: B,
2491
- 81: V,
2492
- 82: 172,
2493
- 116: H,
2494
- 117: U,
2495
- 118: W
2496
- },
2497
- {
2498
- 31: [1, 230],
2499
- 67: z,
2500
- 82: 219,
2501
- 116: H,
2502
- 117: U,
2503
- 118: W
2504
- },
2505
- {
2506
- 67: z,
2507
- 69: [1, 231],
2508
- 71: [1, 232],
2509
- 82: 219,
2510
- 116: H,
2511
- 117: U,
2512
- 118: W
2513
- },
2514
- {
2515
- 67: z,
2516
- 69: [1, 234],
2517
- 71: [1, 233],
2518
- 82: 219,
2519
- 116: H,
2520
- 117: U,
2521
- 118: W
2522
- },
2523
- e(oe, [2, 45], {
2524
- 18: 156,
2525
- 10: A,
2526
- 40: Xe
2527
- }),
2528
- e(oe, [2, 47], { 44: Ye }),
2529
- e(xe, [2, 75]),
2530
- e(xe, [2, 74]),
2531
- {
2532
- 62: [1, 235],
2533
- 67: z,
2534
- 82: 219,
2535
- 116: H,
2536
- 117: U,
2537
- 118: W
2538
- },
2539
- e(xe, [2, 77]),
2540
- e(Ze, [2, 80]),
2541
- {
2542
- 77: [1, 236],
2543
- 79: 198,
2544
- 116: we,
2545
- 119: Te
2546
- },
2547
- {
2548
- 30: 237,
2549
- 67: z,
2550
- 80: B,
2551
- 81: V,
2552
- 82: 172,
2553
- 116: H,
2554
- 117: U,
2555
- 118: W
2556
- },
2557
- e(Je, o, { 5: 238 }),
2558
- e(G, [2, 102]),
2559
- e(j, [2, 35]),
2560
- {
2561
- 43: 239,
2562
- 44: h,
2563
- 45: 40,
2564
- 47: 41,
2565
- 60: g,
2566
- 89: y,
2567
- 102: b,
2568
- 105: x,
2569
- 106: S,
2570
- 109: C,
2571
- 111: w,
2572
- 113: 42,
2573
- 114: T,
2574
- 115: E,
2575
- 116: D
2576
- },
2577
- {
2578
- 10: A,
2579
- 18: 240
2580
- },
2581
- {
2582
- 10: K,
2583
- 60: q,
2584
- 84: J,
2585
- 92: 241,
2586
- 105: Y,
2587
- 107: 242,
2588
- 108: 243,
2589
- 109: X,
2590
- 110: Z,
2591
- 111: et,
2592
- 112: Q
2593
- },
2594
- {
2595
- 10: K,
2596
- 60: q,
2597
- 84: J,
2598
- 92: 252,
2599
- 104: [1, 253],
2600
- 105: Y,
2601
- 107: 242,
2602
- 108: 243,
2603
- 109: X,
2604
- 110: Z,
2605
- 111: et,
2606
- 112: Q
2607
- },
2608
- {
2609
- 10: K,
2610
- 60: q,
2611
- 84: J,
2612
- 92: 254,
2613
- 104: [1, 255],
2614
- 105: Y,
2615
- 107: 242,
2616
- 108: 243,
2617
- 109: X,
2618
- 110: Z,
2619
- 111: et,
2620
- 112: Q
2621
- },
2622
- { 105: [1, 256] },
2623
- {
2624
- 10: K,
2625
- 60: q,
2626
- 84: J,
2627
- 92: 257,
2628
- 105: Y,
2629
- 107: 242,
2630
- 108: 243,
2631
- 109: X,
2632
- 110: Z,
2633
- 111: et,
2634
- 112: Q
2635
- },
2636
- {
2637
- 44: h,
2638
- 47: 258,
2639
- 60: g,
2640
- 89: y,
2641
- 102: b,
2642
- 105: x,
2643
- 106: S,
2644
- 109: C,
2645
- 111: w,
2646
- 113: 42,
2647
- 114: T,
2648
- 115: E,
2649
- 116: D
2650
- },
2651
- e(L, [2, 108]),
2652
- { 80: [1, 259] },
2653
- {
2654
- 80: [1, 260],
2655
- 98: [1, 261]
2656
- },
2657
- e(L, [2, 116]),
2658
- e(L, [2, 118], { 10: [1, 262] }),
2659
- e(L, [2, 119]),
2660
- e(F, [2, 56]),
2661
- e($e, [2, 87]),
2662
- e(F, [2, 57]),
2663
- {
2664
- 51: [1, 263],
2665
- 67: z,
2666
- 82: 219,
2667
- 116: H,
2668
- 117: U,
2669
- 118: W
2670
- },
2671
- e(F, [2, 64]),
2672
- e(F, [2, 59]),
2673
- e(F, [2, 60]),
2674
- e(F, [2, 61]),
2675
- { 109: [1, 264] },
2676
- e(F, [2, 63]),
2677
- e(F, [2, 65]),
2678
- {
2679
- 66: [1, 265],
2680
- 67: z,
2681
- 82: 219,
2682
- 116: H,
2683
- 117: U,
2684
- 118: W
2685
- },
2686
- e(F, [2, 67]),
2687
- e(F, [2, 68]),
2688
- e(F, [2, 70]),
2689
- e(F, [2, 69]),
2690
- e(F, [2, 71]),
2691
- e([
2692
- 10,
2693
- 44,
2694
- 60,
2695
- 89,
2696
- 102,
2697
- 105,
2698
- 106,
2699
- 109,
2700
- 111,
2701
- 114,
2702
- 115,
2703
- 116
2704
- ], [2, 85]),
2705
- e(xe, [2, 78]),
2706
- {
2707
- 31: [1, 266],
2708
- 67: z,
2709
- 82: 219,
2710
- 116: H,
2711
- 117: U,
2712
- 118: W
2713
- },
2714
- {
2715
- 6: 11,
2716
- 7: 12,
2717
- 8: s,
2718
- 9: c,
2719
- 10: l,
2720
- 11: u,
2721
- 20: 17,
2722
- 22: 18,
2723
- 23: 19,
2724
- 24: 20,
2725
- 25: 21,
2726
- 26: 22,
2727
- 27: d,
2728
- 32: [1, 267],
2729
- 33: 24,
2730
- 34: f,
2731
- 36: p,
2732
- 38: m,
2733
- 42: 28,
2734
- 43: 39,
2735
- 44: h,
2736
- 45: 40,
2737
- 47: 41,
2738
- 60: g,
2739
- 84: _,
2740
- 85: ee,
2741
- 86: te,
2742
- 87: ne,
2743
- 88: v,
2744
- 89: y,
2745
- 102: b,
2746
- 105: x,
2747
- 106: S,
2748
- 109: C,
2749
- 111: w,
2750
- 113: 42,
2751
- 114: T,
2752
- 115: E,
2753
- 116: D,
2754
- 121: O,
2755
- 122: k,
2756
- 123: re,
2757
- 124: ie,
2758
- 125: ae
2759
- },
2760
- e(ye, [2, 53]),
2761
- {
2762
- 43: 268,
2763
- 44: h,
2764
- 45: 40,
2765
- 47: 41,
2766
- 60: g,
2767
- 89: y,
2768
- 102: b,
2769
- 105: x,
2770
- 106: S,
2771
- 109: C,
2772
- 111: w,
2773
- 113: 42,
2774
- 114: T,
2775
- 115: E,
2776
- 116: D
2777
- },
2778
- e(L, [2, 121], { 106: tt }),
2779
- e(nt, [2, 130], {
2780
- 108: 270,
2781
- 10: K,
2782
- 60: q,
2783
- 84: J,
2784
- 105: Y,
2785
- 109: X,
2786
- 110: Z,
2787
- 111: et,
2788
- 112: Q
2789
- }),
2790
- e($, [2, 132]),
2791
- e($, [2, 134]),
2792
- e($, [2, 135]),
2793
- e($, [2, 136]),
2794
- e($, [2, 137]),
2795
- e($, [2, 138]),
2796
- e($, [2, 139]),
2797
- e($, [2, 140]),
2798
- e($, [2, 141]),
2799
- e(L, [2, 122], { 106: tt }),
2800
- { 10: [1, 271] },
2801
- e(L, [2, 123], { 106: tt }),
2802
- { 10: [1, 272] },
2803
- e(Qe, [2, 129]),
2804
- e(L, [2, 105], { 106: tt }),
2805
- e(L, [2, 106], {
2806
- 113: 113,
2807
- 44: h,
2808
- 60: g,
2809
- 89: y,
2810
- 102: b,
2811
- 105: x,
2812
- 106: S,
2813
- 109: C,
2814
- 111: w,
2815
- 114: T,
2816
- 115: E,
2817
- 116: D
2818
- }),
2819
- e(L, [2, 110]),
2820
- e(L, [2, 112], { 10: [1, 273] }),
2821
- e(L, [2, 113]),
2822
- { 98: [1, 274] },
2823
- { 51: [1, 275] },
2824
- { 62: [1, 276] },
2825
- { 66: [1, 277] },
2826
- {
2827
- 8: M,
2828
- 9: N,
2829
- 11: P,
2830
- 21: 278
2831
- },
2832
- e(j, [2, 34]),
2833
- e(ye, [2, 52]),
2834
- {
2835
- 10: K,
2836
- 60: q,
2837
- 84: J,
2838
- 105: Y,
2839
- 107: 279,
2840
- 108: 243,
2841
- 109: X,
2842
- 110: Z,
2843
- 111: et,
2844
- 112: Q
2845
- },
2846
- e($, [2, 133]),
2847
- {
2848
- 14: ce,
2849
- 44: le,
2850
- 60: ue,
2851
- 89: de,
2852
- 101: 280,
2853
- 105: fe,
2854
- 106: pe,
2855
- 109: me,
2856
- 111: he,
2857
- 114: ge,
2858
- 115: _e,
2859
- 116: ve,
2860
- 120: 88
2861
- },
2862
- {
2863
- 14: ce,
2864
- 44: le,
2865
- 60: ue,
2866
- 89: de,
2867
- 101: 281,
2868
- 105: fe,
2869
- 106: pe,
2870
- 109: me,
2871
- 111: he,
2872
- 114: ge,
2873
- 115: _e,
2874
- 116: ve,
2875
- 120: 88
2876
- },
2877
- { 98: [1, 282] },
2878
- e(L, [2, 120]),
2879
- e(F, [2, 58]),
2880
- {
2881
- 30: 283,
2882
- 67: z,
2883
- 80: B,
2884
- 81: V,
2885
- 82: 172,
2886
- 116: H,
2887
- 117: U,
2888
- 118: W
2889
- },
2890
- e(F, [2, 66]),
2891
- e(Je, o, { 5: 284 }),
2892
- e(nt, [2, 131], {
2893
- 108: 270,
2894
- 10: K,
2895
- 60: q,
2896
- 84: J,
2897
- 105: Y,
2898
- 109: X,
2899
- 110: Z,
2900
- 111: et,
2901
- 112: Q
2902
- }),
2903
- e(L, [2, 126], {
2904
- 120: 168,
2905
- 10: [1, 285],
2906
- 14: ce,
2907
- 44: le,
2908
- 60: ue,
2909
- 89: de,
2910
- 105: fe,
2911
- 106: pe,
2912
- 109: me,
2913
- 111: he,
2914
- 114: ge,
2915
- 115: _e,
2916
- 116: ve
2917
- }),
2918
- e(L, [2, 127], {
2919
- 120: 168,
2920
- 10: [1, 286],
2921
- 14: ce,
2922
- 44: le,
2923
- 60: ue,
2924
- 89: de,
2925
- 105: fe,
2926
- 106: pe,
2927
- 109: me,
2928
- 111: he,
2929
- 114: ge,
2930
- 115: _e,
2931
- 116: ve
2932
- }),
2933
- e(L, [2, 114]),
2934
- {
2935
- 31: [1, 287],
2936
- 67: z,
2937
- 82: 219,
2938
- 116: H,
2939
- 117: U,
2940
- 118: W
2941
- },
2942
- {
2943
- 6: 11,
2944
- 7: 12,
2945
- 8: s,
2946
- 9: c,
2947
- 10: l,
2948
- 11: u,
2949
- 20: 17,
2950
- 22: 18,
2951
- 23: 19,
2952
- 24: 20,
2953
- 25: 21,
2954
- 26: 22,
2955
- 27: d,
2956
- 32: [1, 288],
2957
- 33: 24,
2958
- 34: f,
2959
- 36: p,
2960
- 38: m,
2961
- 42: 28,
2962
- 43: 39,
2963
- 44: h,
2964
- 45: 40,
2965
- 47: 41,
2966
- 60: g,
2967
- 84: _,
2968
- 85: ee,
2969
- 86: te,
2970
- 87: ne,
2971
- 88: v,
2972
- 89: y,
2973
- 102: b,
2974
- 105: x,
2975
- 106: S,
2976
- 109: C,
2977
- 111: w,
2978
- 113: 42,
2979
- 114: T,
2980
- 115: E,
2981
- 116: D,
2982
- 121: O,
2983
- 122: k,
2984
- 123: re,
2985
- 124: ie,
2986
- 125: ae
2987
- },
2988
- {
2989
- 10: K,
2990
- 60: q,
2991
- 84: J,
2992
- 92: 289,
2993
- 105: Y,
2994
- 107: 242,
2995
- 108: 243,
2996
- 109: X,
2997
- 110: Z,
2998
- 111: et,
2999
- 112: Q
3000
- },
3001
- {
3002
- 10: K,
3003
- 60: q,
3004
- 84: J,
3005
- 92: 290,
3006
- 105: Y,
3007
- 107: 242,
3008
- 108: 243,
3009
- 109: X,
3010
- 110: Z,
3011
- 111: et,
3012
- 112: Q
3013
- },
3014
- e(F, [2, 62]),
3015
- e(j, [2, 33]),
3016
- e(L, [2, 124], { 106: tt }),
3017
- e(L, [2, 125], { 106: tt })
3018
- ],
3019
- defaultActions: {},
3020
- parseError: /* @__PURE__ */ i(function(e, t) {
3021
- if (t.recoverable) this.trace(e);
3022
- else {
3023
- var n = Error(e);
3024
- throw n.hash = t, n;
3025
- }
3026
- }, "parseError"),
3027
- parse: /* @__PURE__ */ i(function(e) {
3028
- var t = this, n = [0], r = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
3029
- for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
3030
- h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
3031
- var ee = h.yylloc;
3032
- o.push(ee);
3033
- var te = h.options && h.options.ranges;
3034
- typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
3035
- function ne(e) {
3036
- n.length -= 2 * e, a.length -= e, o.length -= e;
3037
- }
3038
- i(ne, "popStack");
3039
- function v() {
3040
- var e = r.pop() || h.lex() || p;
3041
- return typeof e != "number" && (e instanceof Array && (r = e, e = r.pop()), e = t.symbols_[e] || e), e;
3042
- }
3043
- i(v, "lex");
3044
- for (var y, b, x, S, C, w = {}, T, E, D, O;;) {
3045
- if (x = n[n.length - 1], this.defaultActions[x] ? S = this.defaultActions[x] : (y == null && (y = v()), S = s[x] && s[x][y]), S === void 0 || !S.length || !S[0]) {
3046
- var k = "";
3047
- for (T in O = [], s[x]) this.terminals_[T] && T > f && O.push("'" + this.terminals_[T] + "'");
3048
- k = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + O.join(", ") + ", got '" + (this.terminals_[y] || y) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (y == p ? "end of input" : "'" + (this.terminals_[y] || y) + "'"), this.parseError(k, {
3049
- text: h.match,
3050
- token: this.terminals_[y] || y,
3051
- line: h.yylineno,
3052
- loc: ee,
3053
- expected: O
3054
- });
3055
- }
3056
- if (S[0] instanceof Array && S.length > 1) throw Error("Parse Error: multiple actions possible at state: " + x + ", token: " + y);
3057
- switch (S[0]) {
3058
- case 1:
3059
- n.push(y), a.push(h.yytext), o.push(h.yylloc), n.push(S[1]), y = null, b ? (y = b, b = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, ee = h.yylloc, d > 0 && d--);
3060
- break;
3061
- case 2:
3062
- if (E = this.productions_[S[1]][1], w.$ = a[a.length - E], w._$ = {
3063
- first_line: o[o.length - (E || 1)].first_line,
3064
- last_line: o[o.length - 1].last_line,
3065
- first_column: o[o.length - (E || 1)].first_column,
3066
- last_column: o[o.length - 1].last_column
3067
- }, te && (w._$.range = [o[o.length - (E || 1)].range[0], o[o.length - 1].range[1]]), C = this.performAction.apply(w, [
3068
- c,
3069
- u,
3070
- l,
3071
- g.yy,
3072
- S[1],
3073
- a,
3074
- o
3075
- ].concat(m)), C !== void 0) return C;
3076
- E && (n = n.slice(0, -1 * E * 2), a = a.slice(0, -1 * E), o = o.slice(0, -1 * E)), n.push(this.productions_[S[1]][0]), a.push(w.$), o.push(w._$), D = s[n[n.length - 2]][n[n.length - 1]], n.push(D);
3077
- break;
3078
- case 3: return !0;
3079
- }
3080
- }
3081
- return !0;
3082
- }, "parse")
3083
- };
3084
- rt.lexer = /* @__PURE__ */ (function() {
3085
- return {
3086
- EOF: 1,
3087
- parseError: /* @__PURE__ */ i(function(e, t) {
3088
- if (this.yy.parser) this.yy.parser.parseError(e, t);
3089
- else throw Error(e);
3090
- }, "parseError"),
3091
- setInput: /* @__PURE__ */ i(function(e, t) {
3092
- return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
3093
- first_line: 1,
3094
- first_column: 0,
3095
- last_line: 1,
3096
- last_column: 0
3097
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
3098
- }, "setInput"),
3099
- input: /* @__PURE__ */ i(function() {
3100
- var e = this._input[0];
3101
- return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
3102
- }, "input"),
3103
- unput: /* @__PURE__ */ i(function(e) {
3104
- var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
3105
- this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
3106
- var r = this.match.split(/(?:\r\n?|\n)/g);
3107
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
3108
- var i = this.yylloc.range;
3109
- return this.yylloc = {
3110
- first_line: this.yylloc.first_line,
3111
- last_line: this.yylineno + 1,
3112
- first_column: this.yylloc.first_column,
3113
- last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
3114
- }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
3115
- }, "unput"),
3116
- more: /* @__PURE__ */ i(function() {
3117
- return this._more = !0, this;
3118
- }, "more"),
3119
- reject: /* @__PURE__ */ i(function() {
3120
- if (this.options.backtrack_lexer) this._backtrack = !0;
3121
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
3122
- text: "",
3123
- token: null,
3124
- line: this.yylineno
3125
- });
3126
- return this;
3127
- }, "reject"),
3128
- less: /* @__PURE__ */ i(function(e) {
3129
- this.unput(this.match.slice(e));
3130
- }, "less"),
3131
- pastInput: /* @__PURE__ */ i(function() {
3132
- var e = this.matched.substr(0, this.matched.length - this.match.length);
3133
- return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
3134
- }, "pastInput"),
3135
- upcomingInput: /* @__PURE__ */ i(function() {
3136
- var e = this.match;
3137
- return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
3138
- }, "upcomingInput"),
3139
- showPosition: /* @__PURE__ */ i(function() {
3140
- var e = this.pastInput(), t = Array(e.length + 1).join("-");
3141
- return e + this.upcomingInput() + "\n" + t + "^";
3142
- }, "showPosition"),
3143
- test_match: /* @__PURE__ */ i(function(e, t) {
3144
- var n, r, i;
3145
- if (this.options.backtrack_lexer && (i = {
3146
- yylineno: this.yylineno,
3147
- yylloc: {
3148
- first_line: this.yylloc.first_line,
3149
- last_line: this.last_line,
3150
- first_column: this.yylloc.first_column,
3151
- last_column: this.yylloc.last_column
3152
- },
3153
- yytext: this.yytext,
3154
- match: this.match,
3155
- matches: this.matches,
3156
- matched: this.matched,
3157
- yyleng: this.yyleng,
3158
- offset: this.offset,
3159
- _more: this._more,
3160
- _input: this._input,
3161
- yy: this.yy,
3162
- conditionStack: this.conditionStack.slice(0),
3163
- done: this.done
3164
- }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
3165
- first_line: this.yylloc.last_line,
3166
- last_line: this.yylineno + 1,
3167
- first_column: this.yylloc.last_column,
3168
- last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
3169
- }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
3170
- if (this._backtrack) {
3171
- for (var a in i) this[a] = i[a];
3172
- return !1;
3173
- }
3174
- return !1;
3175
- }, "test_match"),
3176
- next: /* @__PURE__ */ i(function() {
3177
- if (this.done) return this.EOF;
3178
- this._input || (this.done = !0);
3179
- var e, t, n, r;
3180
- this._more || (this.yytext = "", this.match = "");
3181
- for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
3182
- if (t = n, r = a, this.options.backtrack_lexer) {
3183
- if (e = this.test_match(n, i[a]), e !== !1) return e;
3184
- if (this._backtrack) {
3185
- t = !1;
3186
- continue;
3187
- } else return !1;
3188
- } else if (!this.options.flex) break;
3189
- }
3190
- return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
3191
- text: "",
3192
- token: null,
3193
- line: this.yylineno
3194
- });
3195
- }, "next"),
3196
- lex: /* @__PURE__ */ i(function() {
3197
- return this.next() || this.lex();
3198
- }, "lex"),
3199
- begin: /* @__PURE__ */ i(function(e) {
3200
- this.conditionStack.push(e);
3201
- }, "begin"),
3202
- popState: /* @__PURE__ */ i(function() {
3203
- return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
3204
- }, "popState"),
3205
- _currentRules: /* @__PURE__ */ i(function() {
3206
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
3207
- }, "_currentRules"),
3208
- topState: /* @__PURE__ */ i(function(e) {
3209
- return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
3210
- }, "topState"),
3211
- pushState: /* @__PURE__ */ i(function(e) {
3212
- this.begin(e);
3213
- }, "pushState"),
3214
- stateStackSize: /* @__PURE__ */ i(function() {
3215
- return this.conditionStack.length;
3216
- }, "stateStackSize"),
3217
- options: {},
3218
- performAction: /* @__PURE__ */ i(function(e, t, n, r) {
3219
- switch (n) {
3220
- case 0: return this.begin("acc_title"), 34;
3221
- case 1: return this.popState(), "acc_title_value";
3222
- case 2: return this.begin("acc_descr"), 36;
3223
- case 3: return this.popState(), "acc_descr_value";
3224
- case 4:
3225
- this.begin("acc_descr_multiline");
3226
- break;
3227
- case 5:
3228
- this.popState();
3229
- break;
3230
- case 6: return "acc_descr_multiline_value";
3231
- case 7: return this.pushState("shapeData"), t.yytext = "", 40;
3232
- case 8: return this.pushState("shapeDataStr"), 40;
3233
- case 9: return this.popState(), 40;
3234
- case 10: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 40;
3235
- case 11: return 40;
3236
- case 12:
3237
- this.popState();
3238
- break;
3239
- case 13:
3240
- this.begin("callbackname");
3241
- break;
3242
- case 14:
3243
- this.popState();
3244
- break;
3245
- case 15:
3246
- this.popState(), this.begin("callbackargs");
3247
- break;
3248
- case 16: return 95;
3249
- case 17:
3250
- this.popState();
3251
- break;
3252
- case 18: return 96;
3253
- case 19: return "MD_STR";
3254
- case 20:
3255
- this.popState();
3256
- break;
3257
- case 21:
3258
- this.begin("md_string");
3259
- break;
3260
- case 22: return "STR";
3261
- case 23:
3262
- this.popState();
3263
- break;
3264
- case 24:
3265
- this.pushState("string");
3266
- break;
3267
- case 25: return 84;
3268
- case 26: return 102;
3269
- case 27: return 85;
3270
- case 28: return 104;
3271
- case 29: return 86;
3272
- case 30: return 87;
3273
- case 31: return 97;
3274
- case 32:
3275
- this.begin("click");
3276
- break;
3277
- case 33:
3278
- this.popState();
3279
- break;
3280
- case 34: return 88;
3281
- case 35: return e.lex.firstGraph() && this.begin("dir"), 12;
3282
- case 36: return e.lex.firstGraph() && this.begin("dir"), 12;
3283
- case 37: return e.lex.firstGraph() && this.begin("dir"), 12;
3284
- case 38: return 27;
3285
- case 39: return 32;
3286
- case 40: return 98;
3287
- case 41: return 98;
3288
- case 42: return 98;
3289
- case 43: return 98;
3290
- case 44: return this.popState(), 13;
3291
- case 45: return this.popState(), 14;
3292
- case 46: return this.popState(), 14;
3293
- case 47: return this.popState(), 14;
3294
- case 48: return this.popState(), 14;
3295
- case 49: return this.popState(), 14;
3296
- case 50: return this.popState(), 14;
3297
- case 51: return this.popState(), 14;
3298
- case 52: return this.popState(), 14;
3299
- case 53: return this.popState(), 14;
3300
- case 54: return this.popState(), 14;
3301
- case 55: return 121;
3302
- case 56: return 122;
3303
- case 57: return 123;
3304
- case 58: return 124;
3305
- case 59: return 125;
3306
- case 60: return 78;
3307
- case 61: return 105;
3308
- case 62: return 111;
3309
- case 63: return 46;
3310
- case 64: return 60;
3311
- case 65: return 44;
3312
- case 66: return 8;
3313
- case 67: return 106;
3314
- case 68: return 115;
3315
- case 69: return this.popState(), 77;
3316
- case 70: return this.pushState("edgeText"), 75;
3317
- case 71: return 119;
3318
- case 72: return this.popState(), 77;
3319
- case 73: return this.pushState("thickEdgeText"), 75;
3320
- case 74: return 119;
3321
- case 75: return this.popState(), 77;
3322
- case 76: return this.pushState("dottedEdgeText"), 75;
3323
- case 77: return 119;
3324
- case 78: return 77;
3325
- case 79: return this.popState(), 53;
3326
- case 80: return "TEXT";
3327
- case 81: return this.pushState("ellipseText"), 52;
3328
- case 82: return this.popState(), 55;
3329
- case 83: return this.pushState("text"), 54;
3330
- case 84: return this.popState(), 57;
3331
- case 85: return this.pushState("text"), 56;
3332
- case 86: return 58;
3333
- case 87: return this.pushState("text"), 67;
3334
- case 88: return this.popState(), 64;
3335
- case 89: return this.pushState("text"), 63;
3336
- case 90: return this.popState(), 49;
3337
- case 91: return this.pushState("text"), 48;
3338
- case 92: return this.popState(), 69;
3339
- case 93: return this.popState(), 71;
3340
- case 94: return 117;
3341
- case 95: return this.pushState("trapText"), 68;
3342
- case 96: return this.pushState("trapText"), 70;
3343
- case 97: return 118;
3344
- case 98: return 67;
3345
- case 99: return 90;
3346
- case 100: return "SEP";
3347
- case 101: return 89;
3348
- case 102: return 115;
3349
- case 103: return 111;
3350
- case 104: return 44;
3351
- case 105: return 109;
3352
- case 106: return 114;
3353
- case 107: return 116;
3354
- case 108: return this.popState(), 62;
3355
- case 109: return this.pushState("text"), 62;
3356
- case 110: return this.popState(), 51;
3357
- case 111: return this.pushState("text"), 50;
3358
- case 112: return this.popState(), 31;
3359
- case 113: return this.pushState("text"), 29;
3360
- case 114: return this.popState(), 66;
3361
- case 115: return this.pushState("text"), 65;
3362
- case 116: return "TEXT";
3363
- case 117: return "QUOTE";
3364
- case 118: return 9;
3365
- case 119: return 10;
3366
- case 120: return 11;
3367
- }
3368
- }, "anonymous"),
3369
- rules: [
3370
- /^(?:accTitle\s*:\s*)/,
3371
- /^(?:(?!\n||)*[^\n]*)/,
3372
- /^(?:accDescr\s*:\s*)/,
3373
- /^(?:(?!\n||)*[^\n]*)/,
3374
- /^(?:accDescr\s*\{\s*)/,
3375
- /^(?:[\}])/,
3376
- /^(?:[^\}]*)/,
3377
- /^(?:@\{)/,
3378
- /^(?:["])/,
3379
- /^(?:["])/,
3380
- /^(?:[^\"]+)/,
3381
- /^(?:[^}^"]+)/,
3382
- /^(?:\})/,
3383
- /^(?:call[\s]+)/,
3384
- /^(?:\([\s]*\))/,
3385
- /^(?:\()/,
3386
- /^(?:[^(]*)/,
3387
- /^(?:\))/,
3388
- /^(?:[^)]*)/,
3389
- /^(?:[^`"]+)/,
3390
- /^(?:[`]["])/,
3391
- /^(?:["][`])/,
3392
- /^(?:[^"]+)/,
3393
- /^(?:["])/,
3394
- /^(?:["])/,
3395
- /^(?:style\b)/,
3396
- /^(?:default\b)/,
3397
- /^(?:linkStyle\b)/,
3398
- /^(?:interpolate\b)/,
3399
- /^(?:classDef\b)/,
3400
- /^(?:class\b)/,
3401
- /^(?:href[\s])/,
3402
- /^(?:click[\s]+)/,
3403
- /^(?:[\s\n])/,
3404
- /^(?:[^\s\n]*)/,
3405
- /^(?:flowchart-elk\b)/,
3406
- /^(?:graph\b)/,
3407
- /^(?:flowchart\b)/,
3408
- /^(?:subgraph\b)/,
3409
- /^(?:end\b\s*)/,
3410
- /^(?:_self\b)/,
3411
- /^(?:_blank\b)/,
3412
- /^(?:_parent\b)/,
3413
- /^(?:_top\b)/,
3414
- /^(?:(\r?\n)*\s*\n)/,
3415
- /^(?:\s*LR\b)/,
3416
- /^(?:\s*RL\b)/,
3417
- /^(?:\s*TB\b)/,
3418
- /^(?:\s*BT\b)/,
3419
- /^(?:\s*TD\b)/,
3420
- /^(?:\s*BR\b)/,
3421
- /^(?:\s*<)/,
3422
- /^(?:\s*>)/,
3423
- /^(?:\s*\^)/,
3424
- /^(?:\s*v\b)/,
3425
- /^(?:.*direction\s+TB[^\n]*)/,
3426
- /^(?:.*direction\s+BT[^\n]*)/,
3427
- /^(?:.*direction\s+RL[^\n]*)/,
3428
- /^(?:.*direction\s+LR[^\n]*)/,
3429
- /^(?:.*direction\s+TD[^\n]*)/,
3430
- /^(?:[^\s\"]+@(?=[^\{\"]))/,
3431
- /^(?:[0-9]+)/,
3432
- /^(?:#)/,
3433
- /^(?::::)/,
3434
- /^(?::)/,
3435
- /^(?:&)/,
3436
- /^(?:;)/,
3437
- /^(?:,)/,
3438
- /^(?:\*)/,
3439
- /^(?:\s*[xo<]?--+[-xo>]\s*)/,
3440
- /^(?:\s*[xo<]?--\s*)/,
3441
- /^(?:[^-]|-(?!-)+)/,
3442
- /^(?:\s*[xo<]?==+[=xo>]\s*)/,
3443
- /^(?:\s*[xo<]?==\s*)/,
3444
- /^(?:[^=]|=(?!))/,
3445
- /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,
3446
- /^(?:\s*[xo<]?-\.\s*)/,
3447
- /^(?:[^\.]|\.(?!))/,
3448
- /^(?:\s*~~[\~]+\s*)/,
3449
- /^(?:[-/\)][\)])/,
3450
- /^(?:[^\(\)\[\]\{\}]|!\)+)/,
3451
- /^(?:\(-)/,
3452
- /^(?:\]\))/,
3453
- /^(?:\(\[)/,
3454
- /^(?:\]\])/,
3455
- /^(?:\[\[)/,
3456
- /^(?:\[\|)/,
3457
- /^(?:>)/,
3458
- /^(?:\)\])/,
3459
- /^(?:\[\()/,
3460
- /^(?:\)\)\))/,
3461
- /^(?:\(\(\()/,
3462
- /^(?:[\\(?=\])][\]])/,
3463
- /^(?:\/(?=\])\])/,
3464
- /^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,
3465
- /^(?:\[\/)/,
3466
- /^(?:\[\\)/,
3467
- /^(?:<)/,
3468
- /^(?:>)/,
3469
- /^(?:\^)/,
3470
- /^(?:\\\|)/,
3471
- /^(?:v\b)/,
3472
- /^(?:\*)/,
3473
- /^(?:#)/,
3474
- /^(?:&)/,
3475
- /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,
3476
- /^(?:-)/,
3477
- /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,
3478
- /^(?:\|)/,
3479
- /^(?:\|)/,
3480
- /^(?:\))/,
3481
- /^(?:\()/,
3482
- /^(?:\])/,
3483
- /^(?:\[)/,
3484
- /^(?:(\}))/,
3485
- /^(?:\{)/,
3486
- /^(?:[^\[\]\(\)\{\}\|\"]+)/,
3487
- /^(?:")/,
3488
- /^(?:(\r?\n)+)/,
3489
- /^(?:\s)/,
3490
- /^(?:$)/
3491
- ],
3492
- conditions: {
3493
- shapeDataEndBracket: {
3494
- rules: [
3495
- 21,
3496
- 24,
3497
- 78,
3498
- 81,
3499
- 83,
3500
- 85,
3501
- 89,
3502
- 91,
3503
- 95,
3504
- 96,
3505
- 109,
3506
- 111,
3507
- 113,
3508
- 115
3509
- ],
3510
- inclusive: !1
3511
- },
3512
- shapeDataStr: {
3513
- rules: [
3514
- 9,
3515
- 10,
3516
- 21,
3517
- 24,
3518
- 78,
3519
- 81,
3520
- 83,
3521
- 85,
3522
- 89,
3523
- 91,
3524
- 95,
3525
- 96,
3526
- 109,
3527
- 111,
3528
- 113,
3529
- 115
3530
- ],
3531
- inclusive: !1
3532
- },
3533
- shapeData: {
3534
- rules: [
3535
- 8,
3536
- 11,
3537
- 12,
3538
- 21,
3539
- 24,
3540
- 78,
3541
- 81,
3542
- 83,
3543
- 85,
3544
- 89,
3545
- 91,
3546
- 95,
3547
- 96,
3548
- 109,
3549
- 111,
3550
- 113,
3551
- 115
3552
- ],
3553
- inclusive: !1
3554
- },
3555
- callbackargs: {
3556
- rules: [
3557
- 17,
3558
- 18,
3559
- 21,
3560
- 24,
3561
- 78,
3562
- 81,
3563
- 83,
3564
- 85,
3565
- 89,
3566
- 91,
3567
- 95,
3568
- 96,
3569
- 109,
3570
- 111,
3571
- 113,
3572
- 115
3573
- ],
3574
- inclusive: !1
3575
- },
3576
- callbackname: {
3577
- rules: [
3578
- 14,
3579
- 15,
3580
- 16,
3581
- 21,
3582
- 24,
3583
- 78,
3584
- 81,
3585
- 83,
3586
- 85,
3587
- 89,
3588
- 91,
3589
- 95,
3590
- 96,
3591
- 109,
3592
- 111,
3593
- 113,
3594
- 115
3595
- ],
3596
- inclusive: !1
3597
- },
3598
- href: {
3599
- rules: [
3600
- 21,
3601
- 24,
3602
- 78,
3603
- 81,
3604
- 83,
3605
- 85,
3606
- 89,
3607
- 91,
3608
- 95,
3609
- 96,
3610
- 109,
3611
- 111,
3612
- 113,
3613
- 115
3614
- ],
3615
- inclusive: !1
3616
- },
3617
- click: {
3618
- rules: [
3619
- 21,
3620
- 24,
3621
- 33,
3622
- 34,
3623
- 78,
3624
- 81,
3625
- 83,
3626
- 85,
3627
- 89,
3628
- 91,
3629
- 95,
3630
- 96,
3631
- 109,
3632
- 111,
3633
- 113,
3634
- 115
3635
- ],
3636
- inclusive: !1
3637
- },
3638
- dottedEdgeText: {
3639
- rules: [
3640
- 21,
3641
- 24,
3642
- 75,
3643
- 77,
3644
- 78,
3645
- 81,
3646
- 83,
3647
- 85,
3648
- 89,
3649
- 91,
3650
- 95,
3651
- 96,
3652
- 109,
3653
- 111,
3654
- 113,
3655
- 115
3656
- ],
3657
- inclusive: !1
3658
- },
3659
- thickEdgeText: {
3660
- rules: [
3661
- 21,
3662
- 24,
3663
- 72,
3664
- 74,
3665
- 78,
3666
- 81,
3667
- 83,
3668
- 85,
3669
- 89,
3670
- 91,
3671
- 95,
3672
- 96,
3673
- 109,
3674
- 111,
3675
- 113,
3676
- 115
3677
- ],
3678
- inclusive: !1
3679
- },
3680
- edgeText: {
3681
- rules: [
3682
- 21,
3683
- 24,
3684
- 69,
3685
- 71,
3686
- 78,
3687
- 81,
3688
- 83,
3689
- 85,
3690
- 89,
3691
- 91,
3692
- 95,
3693
- 96,
3694
- 109,
3695
- 111,
3696
- 113,
3697
- 115
3698
- ],
3699
- inclusive: !1
3700
- },
3701
- trapText: {
3702
- rules: [
3703
- 21,
3704
- 24,
3705
- 78,
3706
- 81,
3707
- 83,
3708
- 85,
3709
- 89,
3710
- 91,
3711
- 92,
3712
- 93,
3713
- 94,
3714
- 95,
3715
- 96,
3716
- 109,
3717
- 111,
3718
- 113,
3719
- 115
3720
- ],
3721
- inclusive: !1
3722
- },
3723
- ellipseText: {
3724
- rules: [
3725
- 21,
3726
- 24,
3727
- 78,
3728
- 79,
3729
- 80,
3730
- 81,
3731
- 83,
3732
- 85,
3733
- 89,
3734
- 91,
3735
- 95,
3736
- 96,
3737
- 109,
3738
- 111,
3739
- 113,
3740
- 115
3741
- ],
3742
- inclusive: !1
3743
- },
3744
- text: {
3745
- rules: [
3746
- 21,
3747
- 24,
3748
- 78,
3749
- 81,
3750
- 82,
3751
- 83,
3752
- 84,
3753
- 85,
3754
- 88,
3755
- 89,
3756
- 90,
3757
- 91,
3758
- 95,
3759
- 96,
3760
- 108,
3761
- 109,
3762
- 110,
3763
- 111,
3764
- 112,
3765
- 113,
3766
- 114,
3767
- 115,
3768
- 116
3769
- ],
3770
- inclusive: !1
3771
- },
3772
- vertex: {
3773
- rules: [
3774
- 21,
3775
- 24,
3776
- 78,
3777
- 81,
3778
- 83,
3779
- 85,
3780
- 89,
3781
- 91,
3782
- 95,
3783
- 96,
3784
- 109,
3785
- 111,
3786
- 113,
3787
- 115
3788
- ],
3789
- inclusive: !1
3790
- },
3791
- dir: {
3792
- rules: [
3793
- 21,
3794
- 24,
3795
- 44,
3796
- 45,
3797
- 46,
3798
- 47,
3799
- 48,
3800
- 49,
3801
- 50,
3802
- 51,
3803
- 52,
3804
- 53,
3805
- 54,
3806
- 78,
3807
- 81,
3808
- 83,
3809
- 85,
3810
- 89,
3811
- 91,
3812
- 95,
3813
- 96,
3814
- 109,
3815
- 111,
3816
- 113,
3817
- 115
3818
- ],
3819
- inclusive: !1
3820
- },
3821
- acc_descr_multiline: {
3822
- rules: [
3823
- 5,
3824
- 6,
3825
- 21,
3826
- 24,
3827
- 78,
3828
- 81,
3829
- 83,
3830
- 85,
3831
- 89,
3832
- 91,
3833
- 95,
3834
- 96,
3835
- 109,
3836
- 111,
3837
- 113,
3838
- 115
3839
- ],
3840
- inclusive: !1
3841
- },
3842
- acc_descr: {
3843
- rules: [
3844
- 3,
3845
- 21,
3846
- 24,
3847
- 78,
3848
- 81,
3849
- 83,
3850
- 85,
3851
- 89,
3852
- 91,
3853
- 95,
3854
- 96,
3855
- 109,
3856
- 111,
3857
- 113,
3858
- 115
3859
- ],
3860
- inclusive: !1
3861
- },
3862
- acc_title: {
3863
- rules: [
3864
- 1,
3865
- 21,
3866
- 24,
3867
- 78,
3868
- 81,
3869
- 83,
3870
- 85,
3871
- 89,
3872
- 91,
3873
- 95,
3874
- 96,
3875
- 109,
3876
- 111,
3877
- 113,
3878
- 115
3879
- ],
3880
- inclusive: !1
3881
- },
3882
- md_string: {
3883
- rules: [
3884
- 19,
3885
- 20,
3886
- 21,
3887
- 24,
3888
- 78,
3889
- 81,
3890
- 83,
3891
- 85,
3892
- 89,
3893
- 91,
3894
- 95,
3895
- 96,
3896
- 109,
3897
- 111,
3898
- 113,
3899
- 115
3900
- ],
3901
- inclusive: !1
3902
- },
3903
- string: {
3904
- rules: [
3905
- 21,
3906
- 22,
3907
- 23,
3908
- 24,
3909
- 78,
3910
- 81,
3911
- 83,
3912
- 85,
3913
- 89,
3914
- 91,
3915
- 95,
3916
- 96,
3917
- 109,
3918
- 111,
3919
- 113,
3920
- 115
3921
- ],
3922
- inclusive: !1
3923
- },
3924
- INITIAL: {
3925
- rules: [
3926
- 0,
3927
- 2,
3928
- 4,
3929
- 7,
3930
- 13,
3931
- 21,
3932
- 24,
3933
- 25,
3934
- 26,
3935
- 27,
3936
- 28,
3937
- 29,
3938
- 30,
3939
- 31,
3940
- 32,
3941
- 35,
3942
- 36,
3943
- 37,
3944
- 38,
3945
- 39,
3946
- 40,
3947
- 41,
3948
- 42,
3949
- 43,
3950
- 55,
3951
- 56,
3952
- 57,
3953
- 58,
3954
- 59,
3955
- 60,
3956
- 61,
3957
- 62,
3958
- 63,
3959
- 64,
3960
- 65,
3961
- 66,
3962
- 67,
3963
- 68,
3964
- 69,
3965
- 70,
3966
- 72,
3967
- 73,
3968
- 75,
3969
- 76,
3970
- 78,
3971
- 81,
3972
- 83,
3973
- 85,
3974
- 86,
3975
- 87,
3976
- 89,
3977
- 91,
3978
- 95,
3979
- 96,
3980
- 97,
3981
- 98,
3982
- 99,
3983
- 100,
3984
- 101,
3985
- 102,
3986
- 103,
3987
- 104,
3988
- 105,
3989
- 106,
3990
- 107,
3991
- 109,
3992
- 111,
3993
- 113,
3994
- 115,
3995
- 117,
3996
- 118,
3997
- 119,
3998
- 120
3999
- ],
4000
- inclusive: !0
4001
- }
4002
- }
4003
- };
4004
- })();
4005
- function it() {
4006
- this.yy = {};
4007
- }
4008
- return i(it, "Parser"), it.prototype = rt, rt.Parser = it, new it();
4009
- })();
4010
- A.parser = A;
4011
- var j = A, M = Object.assign({}, j);
4012
- M.parse = (e) => {
4013
- let t = e.replace(/}\s*\n/g, "}\n");
4014
- return j.parse(t);
4015
- };
4016
- var N = M, P = /* @__PURE__ */ i((e, t) => {
4017
- let n = te;
4018
- return p(n(e, "r"), n(e, "g"), n(e, "b"), t);
4019
- }, "fade"), oe = {
4020
- parser: N,
4021
- get db() {
4022
- return new ie();
4023
- },
4024
- renderer: ae,
4025
- styles: /* @__PURE__ */ i((e) => {
4026
- var t, n;
4027
- return `.label {
4028
- font-family: ${e.fontFamily};
4029
- color: ${e.nodeTextColor || e.textColor};
4030
- }
4031
- .cluster-label text {
4032
- fill: ${e.titleColor};
4033
- }
4034
- .cluster-label span {
4035
- color: ${e.titleColor};
4036
- }
4037
- .cluster-label span p {
4038
- background-color: transparent;
4039
- }
4040
-
4041
- .label text,span {
4042
- fill: ${e.nodeTextColor || e.textColor};
4043
- color: ${e.nodeTextColor || e.textColor};
4044
- }
4045
-
4046
- .node rect,
4047
- .node circle,
4048
- .node ellipse,
4049
- .node polygon,
4050
- .node path {
4051
- fill: ${e.mainBkg};
4052
- stroke: ${e.nodeBorder};
4053
- stroke-width: ${(t = e.strokeWidth) == null ? 1 : t}px;
4054
- }
4055
- .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4056
- text-anchor: middle;
4057
- }
4058
- // .flowchart-label .text-outer-tspan {
4059
- // text-anchor: middle;
4060
- // }
4061
- // .flowchart-label .text-inner-tspan {
4062
- // text-anchor: start;
4063
- // }
4064
-
4065
- .node .katex path {
4066
- fill: #000;
4067
- stroke: #000;
4068
- stroke-width: 1px;
4069
- }
4070
-
4071
- .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
4072
- text-align: center;
4073
- }
4074
- .node.clickable {
4075
- cursor: pointer;
4076
- }
4077
-
4078
-
4079
- .root .anchor path {
4080
- fill: ${e.lineColor} !important;
4081
- stroke-width: 0;
4082
- stroke: ${e.lineColor};
4083
- }
4084
-
4085
- .arrowheadPath {
4086
- fill: ${e.arrowheadColor};
4087
- }
4088
-
4089
- .edgePath .path {
4090
- stroke: ${e.lineColor};
4091
- stroke-width: ${(n = e.strokeWidth) == null ? 2 : n}px;
4092
- }
4093
-
4094
- .flowchart-link {
4095
- stroke: ${e.lineColor};
4096
- fill: none;
4097
- }
4098
-
4099
- .edgeLabel {
4100
- background-color: ${e.edgeLabelBackground};
4101
- p {
4102
- background-color: ${e.edgeLabelBackground};
4103
- }
4104
- rect {
4105
- opacity: 0.5;
4106
- background-color: ${e.edgeLabelBackground};
4107
- fill: ${e.edgeLabelBackground};
4108
- }
4109
- text-align: center;
4110
- }
4111
-
4112
- /* For html labels only */
4113
- .labelBkg {
4114
- background-color: ${P(e.edgeLabelBackground, .5)};
4115
- // background-color:
4116
- }
4117
-
4118
- .cluster rect {
4119
- fill: ${e.clusterBkg};
4120
- stroke: ${e.clusterBorder};
4121
- stroke-width: 1px;
4122
- }
4123
-
4124
- .cluster text {
4125
- fill: ${e.titleColor};
4126
- }
4127
-
4128
- .cluster span {
4129
- color: ${e.titleColor};
4130
- }
4131
- /* .cluster div {
4132
- color: ${e.titleColor};
4133
- } */
4134
-
4135
- div.mermaidTooltip {
4136
- position: absolute;
4137
- text-align: center;
4138
- max-width: 200px;
4139
- padding: 2px;
4140
- font-family: ${e.fontFamily};
4141
- font-size: 12px;
4142
- background: ${e.tertiaryColor};
4143
- border: 1px solid ${e.border2};
4144
- border-radius: 2px;
4145
- pointer-events: none;
4146
- z-index: 100;
4147
- }
4148
-
4149
- .flowchartTitleText {
4150
- text-anchor: middle;
4151
- font-size: 18px;
4152
- fill: ${e.textColor};
4153
- }
4154
-
4155
- rect.text {
4156
- fill: none;
4157
- stroke-width: 0;
4158
- }
4159
-
4160
- .icon-shape, .image-shape {
4161
- background-color: ${e.edgeLabelBackground};
4162
- p {
4163
- background-color: ${e.edgeLabelBackground};
4164
- padding: 2px;
4165
- }
4166
- .label rect {
4167
- opacity: 0.5;
4168
- background-color: ${e.edgeLabelBackground};
4169
- fill: ${e.edgeLabelBackground};
4170
- }
4171
- text-align: center;
4172
- }
4173
- ${T()}
4174
- `;
4175
- }, "getStyles"),
4176
- init: /* @__PURE__ */ i((e) => {
4177
- e.flowchart || (e.flowchart = {}), e.layout && s({ layout: e.layout }), e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, s({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
4178
- }, "init")
4179
- };
4180
- //#endregion
4181
- export { oe as diagram };