vibelet 1.2.230 → 1.2.233

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 (634) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/inventory-scan-worker.cjs +1 -1
  3. package/dist/runtime-version.cjs +1 -1
  4. package/dist/vibelet.mjs +244 -155
  5. package/dist/web/assets/App-Bw9Q-kI5.css +1 -0
  6. package/dist/web/assets/App-DFMRw4Fj.js +2 -0
  7. package/dist/web/assets/BrowserControlPanel-K-f_KMTt.js +1 -0
  8. package/dist/web/assets/ChipGroup-Ct9ZVlb4.js +1 -0
  9. package/dist/web/assets/FileCodeEditor-CW9KijoU.css +1 -0
  10. package/dist/web/assets/FilesControlPanel-DlSUh03w.js +1 -0
  11. package/dist/web/assets/FilesControlPanel-PdhHw9AQ.css +1 -0
  12. package/dist/web/assets/GlobalPendingDialog-YFbtF-Qi.js +1 -0
  13. package/dist/web/assets/ImageViewer-BGEOxuV3.js +1 -0
  14. package/dist/web/assets/ImageViewer-Fya-Uufq.css +1 -0
  15. package/dist/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  16. package/dist/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  17. package/dist/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  18. package/dist/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  19. package/dist/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  20. package/dist/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  21. package/dist/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  22. package/dist/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  23. package/dist/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  24. package/dist/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  25. package/dist/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  26. package/dist/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  27. package/dist/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  28. package/dist/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  29. package/dist/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  30. package/dist/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  31. package/dist/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  32. package/dist/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  33. package/dist/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  34. package/dist/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  35. package/dist/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  36. package/dist/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  37. package/dist/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  38. package/dist/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  39. package/dist/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  40. package/dist/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  41. package/dist/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  42. package/dist/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  43. package/dist/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  44. package/dist/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  45. package/dist/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  46. package/dist/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  47. package/dist/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  48. package/dist/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  49. package/dist/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  50. package/dist/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  51. package/dist/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  52. package/dist/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  53. package/dist/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  54. package/dist/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  55. package/dist/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  56. package/dist/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  57. package/dist/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  58. package/dist/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  59. package/dist/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  60. package/dist/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  61. package/dist/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  62. package/dist/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  63. package/dist/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  64. package/dist/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  65. package/dist/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  66. package/dist/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  67. package/dist/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  68. package/dist/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  69. package/dist/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  70. package/dist/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  71. package/dist/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  72. package/dist/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  73. package/dist/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  74. package/dist/web/assets/LanguageSettingsPanel-BJipWB1x.js +1 -0
  75. package/dist/web/assets/NewSessionDialog-C4RkGYOJ.css +1 -0
  76. package/dist/web/assets/NewSessionDialog-CM5UMy33.js +1 -0
  77. package/dist/web/assets/NotificationSettingsPanel-DomEHL_z.js +1 -0
  78. package/dist/web/assets/ObsidianCodeEditor-eECvmZRy.css +1 -0
  79. package/dist/web/assets/ObsidianFileEditor-BM1om3jV.css +1 -0
  80. package/dist/web/assets/RemoteLifeOSBlock-BGPY9LfG.css +1 -0
  81. package/dist/web/assets/RemoteLifeOSBlock-INrlOM1O.js +2 -0
  82. package/dist/web/assets/TerminalControlPanel-CcDilPZY.js +1 -0
  83. package/dist/web/assets/ThemeSettingsPanel-DyQIWRlL.js +1 -0
  84. package/dist/web/assets/_baseMerge-CwDZKfvJ.js +1 -0
  85. package/dist/web/assets/_initCloneObject-C781OlVa.js +1 -0
  86. package/dist/web/assets/abap-DnJxzdy9.js +1 -0
  87. package/dist/web/assets/abnfDiagram-VRR7QNED-OQczAdh4.js +1 -0
  88. package/dist/web/assets/actionscript-3-DKotD2Vd.js +1 -0
  89. package/dist/web/assets/ada-iG1FnIvR.js +1 -0
  90. package/dist/web/assets/andromeeda-C4gqWexZ.js +1 -0
  91. package/dist/web/assets/angular-html-CGDGYtiS.js +1 -0
  92. package/dist/web/assets/angular-ts-5zO4eZho.js +1 -0
  93. package/dist/web/assets/apache-CdTKWnKT.js +1 -0
  94. package/dist/web/assets/apex-DPFMkx-R.js +1 -0
  95. package/dist/web/assets/apl-DnQuo7r7.js +1 -0
  96. package/dist/web/assets/applescript-BlLNmGTp.js +1 -0
  97. package/dist/web/assets/ara-Ba3fhlsS.js +1 -0
  98. package/dist/web/assets/arc-B_7S8PBe.js +1 -0
  99. package/dist/web/assets/architectureDiagram-ZJ3FMSHR-0RWvjsWb.js +1 -0
  100. package/dist/web/assets/arrow-right-DNQLufK9.js +1 -0
  101. package/dist/web/assets/asciidoc-AY8u9WWM.js +1 -0
  102. package/dist/web/assets/asm-CHX6lpGW.js +1 -0
  103. package/dist/web/assets/astro-B5Br1cQb.js +1 -0
  104. package/dist/web/assets/aurora-x-D-2ljcwZ.js +1 -0
  105. package/dist/web/assets/awk-XRrwoikR.js +1 -0
  106. package/dist/web/assets/ayu-dark-DYE7WIF3.js +1 -0
  107. package/dist/web/assets/ayu-light-BA47KaF1.js +1 -0
  108. package/dist/web/assets/ayu-mirage-32ctXXKs.js +1 -0
  109. package/dist/web/assets/ballerina-Dh0JsEtz.js +1 -0
  110. package/dist/web/assets/bat-BVu0TwaT.js +1 -0
  111. package/dist/web/assets/beancount-CJl0njO0.js +1 -0
  112. package/dist/web/assets/berry-Bmu6i3Vs.js +1 -0
  113. package/dist/web/assets/bibtex-CGjxJ4Zd.js +1 -0
  114. package/dist/web/assets/bicep-DSW96mAt.js +1 -0
  115. package/dist/web/assets/bird2-DECYBE5b.js +1 -0
  116. package/dist/web/assets/blade-C76tewJX.js +1 -0
  117. package/dist/web/assets/blockDiagram-677ZJIJ3-BBUl1A67.js +1 -0
  118. package/dist/web/assets/bsl-DGicdwC0.js +1 -0
  119. package/dist/web/assets/c-BmJt9k-y.js +1 -0
  120. package/dist/web/assets/c3-BBJ779-z.js +1 -0
  121. package/dist/web/assets/c4Diagram-LMCZKHZV-q98KSF-X.js +1 -0
  122. package/dist/web/assets/cadence-DbDq8SCj.js +1 -0
  123. package/dist/web/assets/cairo-Dz8fl918.js +1 -0
  124. package/dist/web/assets/catppuccin-frappe-DFWUc33u.js +1 -0
  125. package/dist/web/assets/catppuccin-latte-C9dUb6Cb.js +1 -0
  126. package/dist/web/assets/catppuccin-macchiato-DQyhUUbL.js +1 -0
  127. package/dist/web/assets/catppuccin-mocha-D87Tk5Gz.js +1 -0
  128. package/dist/web/assets/channel-CL_-wxGg.js +1 -0
  129. package/dist/web/assets/chunk-2Q5K7J3B-CsJ1LsZP.js +1 -0
  130. package/dist/web/assets/chunk-32BRIVSS-CcFgBN8P.js +1 -0
  131. package/dist/web/assets/chunk-5VM5RSS4-BCeKWpkp.js +1 -0
  132. package/dist/web/assets/chunk-EX3LRPZG-CkONpXQe.js +1 -0
  133. package/dist/web/assets/chunk-JWPE2WC7-COD3NKSV.js +1 -0
  134. package/dist/web/assets/chunk-MOJQB5TN-Dq7aeQmI.js +1 -0
  135. package/dist/web/assets/chunk-RYQCIY6F-CmUgPJr0.js +1 -0
  136. package/dist/web/assets/chunk-V7JOEXUC-QkD3g50d.js +1 -0
  137. package/dist/web/assets/chunk-VR4S4FIN-bqXmDTmi.js +1 -0
  138. package/dist/web/assets/chunk-XXDRQBXY-CylbQ77X.js +1 -0
  139. package/dist/web/assets/clarity-Bb40UnPS.js +1 -0
  140. package/dist/web/assets/classDiagram-OUVF2IWQ-C0QG8J89.js +1 -0
  141. package/dist/web/assets/classDiagram-v2-EOCWNBFH-C0QG8J89.js +1 -0
  142. package/dist/web/assets/clojure-BjI0Knrv.js +1 -0
  143. package/dist/web/assets/clsx-BNl54vr7.js +1 -0
  144. package/dist/web/assets/cmake-BYiqpiH1.js +1 -0
  145. package/dist/web/assets/cobol-DQUyVTuR.js +1 -0
  146. package/dist/web/assets/codeowners-L91meNbn.js +1 -0
  147. package/dist/web/assets/codeql-Cd-JFsJB.js +1 -0
  148. package/dist/web/assets/coffee-BDkVV41o.js +1 -0
  149. package/dist/web/assets/collectMessageImages-DhGvB-2f.js +1 -0
  150. package/dist/web/assets/common-lisp-DOi1njVG.js +1 -0
  151. package/dist/web/assets/coq-BfbrVLCY.js +1 -0
  152. package/dist/web/assets/cose-bilkent-JH36ORCC-C9Znh1sN.js +1 -0
  153. package/dist/web/assets/cpp-BmKY377x.js +1 -0
  154. package/dist/web/assets/crystal-CaN4TS0s.js +1 -0
  155. package/dist/web/assets/csharp-VAkxddOj.js +1 -0
  156. package/dist/web/assets/css-l46fsARh.js +1 -0
  157. package/dist/web/assets/csv-DXKU4rRd.js +1 -0
  158. package/dist/web/assets/cue-zmT78Agv.js +1 -0
  159. package/dist/web/assets/cynefin-VYW2F7L2-Bp7Qx0jq.js +1 -0
  160. package/dist/web/assets/cynefinDiagram-TSTJHNR4-BuCr2MsM.js +1 -0
  161. package/dist/web/assets/cypher-bkHSskm3.js +1 -0
  162. package/dist/web/assets/cytoscape.esm-Bw9SjnEp.js +1 -0
  163. package/dist/web/assets/d-vs9xsbRV.js +1 -0
  164. package/dist/web/assets/dagre-VKFMJZFB-Db--wSJy.js +1 -0
  165. package/dist/web/assets/dark-plus-C3mMm8J8.js +1 -0
  166. package/dist/web/assets/dart-BMkYYGiN.js +1 -0
  167. package/dist/web/assets/dax-D135z3aS.js +1 -0
  168. package/dist/web/assets/defaultLocale-Z7o9ZNZF.js +1 -0
  169. package/dist/web/assets/desktop-CigPEpQ5.js +1 -0
  170. package/dist/web/assets/diagram-FQU43EPY-CcDlMM65.js +1 -0
  171. package/dist/web/assets/diagram-G47NLZAW-DET75anv.js +1 -0
  172. package/dist/web/assets/diagram-NH7WQ7WH-CuSmdJWE.js +1 -0
  173. package/dist/web/assets/diagram-OA4YK3LP-C4AHJasK.js +1 -0
  174. package/dist/web/assets/diagram-WEI45ONY-v2xIwF8y.js +1 -0
  175. package/dist/web/assets/diff-Beq1YlA8.js +1 -0
  176. package/dist/web/assets/docker-V5Al5bpF.js +1 -0
  177. package/dist/web/assets/dotenv-D9G8sA2m.js +1 -0
  178. package/dist/web/assets/dracula-BzJJZx-M.js +1 -0
  179. package/dist/web/assets/dracula-soft-BXkSAIEj.js +1 -0
  180. package/dist/web/assets/dream-maker-BsoKROiO.js +1 -0
  181. package/dist/web/assets/ebnfDiagram-CCIWWBDH-wy_kEa8S.js +1 -0
  182. package/dist/web/assets/edge-BEMgb-sr.js +1 -0
  183. package/dist/web/assets/elixir-BkUQLiPT.js +1 -0
  184. package/dist/web/assets/elm-DmpuOW2E.js +1 -0
  185. package/dist/web/assets/emacs-lisp-BcpYGiHp.js +1 -0
  186. package/dist/web/assets/erDiagram-Q63AITRT-B2ZADv-r.js +1 -0
  187. package/dist/web/assets/erb-paWl6F80.js +1 -0
  188. package/dist/web/assets/erlang-DAw79KxH.js +1 -0
  189. package/dist/web/assets/everforest-dark-BgDCqdQA.js +1 -0
  190. package/dist/web/assets/everforest-light-C8M2exoo.js +1 -0
  191. package/dist/web/assets/fennel-qzPJJAAI.js +1 -0
  192. package/dist/web/assets/file-editor-FileCodeEditor-DsxCu0Se.js +2 -0
  193. package/dist/web/assets/file-editor-ObsidianCodeEditor-C4QKDNQs.js +48 -0
  194. package/dist/web/assets/file-editor-ObsidianFileEditor-CHQ4_ygH.js +2 -0
  195. package/dist/web/assets/file-editor-apl-__TFPTXj.js +1 -0
  196. package/dist/web/assets/file-editor-asciiarmor-D5V0T9Cu.js +1 -0
  197. package/dist/web/assets/file-editor-asn1-YTasSa1m.js +1 -0
  198. package/dist/web/assets/file-editor-asterisk-B46aRdXb.js +1 -0
  199. package/dist/web/assets/file-editor-brainfuck-CtZaYBKt.js +1 -0
  200. package/dist/web/assets/file-editor-clike-dMs5i294.js +1 -0
  201. package/dist/web/assets/file-editor-clojure-DiuoqK-z.js +1 -0
  202. package/dist/web/assets/file-editor-cmake-BF4EFB2i.js +1 -0
  203. package/dist/web/assets/file-editor-cobol-stawOqaz.js +1 -0
  204. package/dist/web/assets/file-editor-coffeescript-BTDxI-eT.js +1 -0
  205. package/dist/web/assets/file-editor-commonlisp-vq6DHwts.js +1 -0
  206. package/dist/web/assets/file-editor-crystal-CRzZ78HM.js +1 -0
  207. package/dist/web/assets/file-editor-css-ZjFoif2m.js +1 -0
  208. package/dist/web/assets/file-editor-cypher-gJDei3ni.js +1 -0
  209. package/dist/web/assets/file-editor-d-DBBFJxh-.js +1 -0
  210. package/dist/web/assets/file-editor-diff-UJJ5BM9S.js +1 -0
  211. package/dist/web/assets/file-editor-dockerfile-CZsZcXQt.js +1 -0
  212. package/dist/web/assets/file-editor-dtd-DTQlJHYL.js +1 -0
  213. package/dist/web/assets/file-editor-dylan-DkEP81N9.js +1 -0
  214. package/dist/web/assets/file-editor-ebnf-DdOEfpxz.js +1 -0
  215. package/dist/web/assets/file-editor-ecl-BCmcI64-.js +1 -0
  216. package/dist/web/assets/file-editor-eiffel-CCu4w8r3.js +1 -0
  217. package/dist/web/assets/file-editor-elm-vsguYkAQ.js +1 -0
  218. package/dist/web/assets/file-editor-erlang-DkiE79O3.js +1 -0
  219. package/dist/web/assets/file-editor-factor-DXwzD_Ly.js +1 -0
  220. package/dist/web/assets/file-editor-fcl-D8gVJOao.js +1 -0
  221. package/dist/web/assets/file-editor-forth-POgR1ypr.js +1 -0
  222. package/dist/web/assets/file-editor-fortran-BC2PZYR6.js +1 -0
  223. package/dist/web/assets/file-editor-gas-D2ZU1gfd.js +1 -0
  224. package/dist/web/assets/file-editor-gherkin-B6X1vGSW.js +1 -0
  225. package/dist/web/assets/file-editor-go-CGJsFCUa.js +1 -0
  226. package/dist/web/assets/file-editor-groovy-DnIzCrpZ.js +1 -0
  227. package/dist/web/assets/file-editor-haskell-Dn099gLW.js +1 -0
  228. package/dist/web/assets/file-editor-haxe-80kYRvF1.js +1 -0
  229. package/dist/web/assets/file-editor-http-BKJkqRj4.js +1 -0
  230. package/dist/web/assets/file-editor-idl-pcmmZuaN.js +1 -0
  231. package/dist/web/assets/file-editor-index-B2I28X4j.js +1 -0
  232. package/dist/web/assets/file-editor-index-B3d2HyrJ.js +1 -0
  233. package/dist/web/assets/file-editor-index-BEEbdBdH.js +1 -0
  234. package/dist/web/assets/file-editor-index-BEOxpefN.js +1 -0
  235. package/dist/web/assets/file-editor-index-BFdT3Mv9.js +1 -0
  236. package/dist/web/assets/file-editor-index-BJr7v7bw.js +1 -0
  237. package/dist/web/assets/file-editor-index-Blz54FUZ.js +1 -0
  238. package/dist/web/assets/file-editor-index-BoV5K7VS.js +1 -0
  239. package/dist/web/assets/file-editor-index-C-aRVKEr.js +1 -0
  240. package/dist/web/assets/file-editor-index-C5f7s3Eh.js +1 -0
  241. package/dist/web/assets/file-editor-index-CKwNSFLk.js +1 -0
  242. package/dist/web/assets/file-editor-index-CQsZBAf1.js +1 -0
  243. package/dist/web/assets/file-editor-index-CSaCz3EW.js +1 -0
  244. package/dist/web/assets/file-editor-index-Cubo6rhP.js +1 -0
  245. package/dist/web/assets/file-editor-index-Cy0cJb2y.js +1 -0
  246. package/dist/web/assets/file-editor-index-Cyo3bdPe.js +1 -0
  247. package/dist/web/assets/file-editor-index-DGnKtkr2.js +1 -0
  248. package/dist/web/assets/file-editor-index-DfMO4TI8.js +1 -0
  249. package/dist/web/assets/file-editor-index-Dj7iSTai.js +1 -0
  250. package/dist/web/assets/file-editor-index-WHi3JlW8.js +1 -0
  251. package/dist/web/assets/file-editor-index-c2dKCHO8.js +1 -0
  252. package/dist/web/assets/file-editor-index-kJrjg6tD.js +1 -0
  253. package/dist/web/assets/file-editor-index-mYPTZLoA.js +1 -0
  254. package/dist/web/assets/file-editor-index-rihVD8wm.js +1 -0
  255. package/dist/web/assets/file-editor-javascript-Ccp3-nCs.js +1 -0
  256. package/dist/web/assets/file-editor-julia-BqmDTk7j.js +1 -0
  257. package/dist/web/assets/file-editor-livescript-HO6ttBFx.js +1 -0
  258. package/dist/web/assets/file-editor-lua-CXU1lDR7.js +1 -0
  259. package/dist/web/assets/file-editor-mathematica-IIbmv7SK.js +1 -0
  260. package/dist/web/assets/file-editor-mbox-z_N2Mo3d.js +1 -0
  261. package/dist/web/assets/file-editor-mirc-DkvFAiy5.js +1 -0
  262. package/dist/web/assets/file-editor-mllike-3c2dg9RT.js +1 -0
  263. package/dist/web/assets/file-editor-modelica-DSrSSXCg.js +1 -0
  264. package/dist/web/assets/file-editor-mscgen-BaVD5lDT.js +1 -0
  265. package/dist/web/assets/file-editor-mumps-zvxmGV4l.js +1 -0
  266. package/dist/web/assets/file-editor-nginx-BmAbM9sR.js +1 -0
  267. package/dist/web/assets/file-editor-nsis-DeakT4dU.js +1 -0
  268. package/dist/web/assets/file-editor-ntriples-DEO2wBQg.js +1 -0
  269. package/dist/web/assets/file-editor-octave-C4hdQ5Hf.js +1 -0
  270. package/dist/web/assets/file-editor-oz-DsOHt9n_.js +1 -0
  271. package/dist/web/assets/file-editor-pascal-MWIkn1JH.js +1 -0
  272. package/dist/web/assets/file-editor-perl-D4U4Mn-f.js +1 -0
  273. package/dist/web/assets/file-editor-pig-DUTBITpC.js +1 -0
  274. package/dist/web/assets/file-editor-powershell-akC7YIf9.js +1 -0
  275. package/dist/web/assets/file-editor-properties-_nPj978X.js +1 -0
  276. package/dist/web/assets/file-editor-protobuf-B4y9do6W.js +1 -0
  277. package/dist/web/assets/file-editor-pug-C_WDC1BE.js +1 -0
  278. package/dist/web/assets/file-editor-puppet-Dbxp0vTs.js +1 -0
  279. package/dist/web/assets/file-editor-python-BiaVA1aS.js +1 -0
  280. package/dist/web/assets/file-editor-q-mUfi2b_o.js +1 -0
  281. package/dist/web/assets/file-editor-r-J5UZzFYw.js +1 -0
  282. package/dist/web/assets/file-editor-rpm-DI_rRufH.js +1 -0
  283. package/dist/web/assets/file-editor-ruby-SqZyEoLI.js +1 -0
  284. package/dist/web/assets/file-editor-rust-D_fhUrrt.js +1 -0
  285. package/dist/web/assets/file-editor-sas-Bqaci40L.js +1 -0
  286. package/dist/web/assets/file-editor-scheme-Dtb5z51s.js +1 -0
  287. package/dist/web/assets/file-editor-shell-D65E6JiF.js +1 -0
  288. package/dist/web/assets/file-editor-sieve-BBCrNNIa.js +1 -0
  289. package/dist/web/assets/file-editor-simple-mode-CjHKX61j.js +1 -0
  290. package/dist/web/assets/file-editor-smalltalk-C7J3IyEP.js +1 -0
  291. package/dist/web/assets/file-editor-solr-CZy78n9F.js +1 -0
  292. package/dist/web/assets/file-editor-sparql-DItxJg31.js +1 -0
  293. package/dist/web/assets/file-editor-spreadsheet-CGlWr0eM.js +1 -0
  294. package/dist/web/assets/file-editor-sql-B3SPsWL6.js +1 -0
  295. package/dist/web/assets/file-editor-stex-9_wePcov.js +1 -0
  296. package/dist/web/assets/file-editor-stylus-Dd_3NjJ0.js +1 -0
  297. package/dist/web/assets/file-editor-swift-B_XXVlXX.js +1 -0
  298. package/dist/web/assets/file-editor-tcl-DxOxgKRU.js +1 -0
  299. package/dist/web/assets/file-editor-textile-BuVhTOzU.js +1 -0
  300. package/dist/web/assets/file-editor-tiddlywiki-BgR6AEZu.js +1 -0
  301. package/dist/web/assets/file-editor-tiki-ru5LTfYV.js +1 -0
  302. package/dist/web/assets/file-editor-toml-BVJm5Fzd.js +1 -0
  303. package/dist/web/assets/file-editor-troff-Ce85hlLp.js +1 -0
  304. package/dist/web/assets/file-editor-ttcn-BTO1-gcW.js +1 -0
  305. package/dist/web/assets/file-editor-ttcn-cfg-DIH_dYzw.js +1 -0
  306. package/dist/web/assets/file-editor-turtle-DMr_FkeC.js +1 -0
  307. package/dist/web/assets/file-editor-vb-UtVLDai5.js +1 -0
  308. package/dist/web/assets/file-editor-vbscript-a5NhL3_u.js +1 -0
  309. package/dist/web/assets/file-editor-velocity-BdD_26Jv.js +1 -0
  310. package/dist/web/assets/file-editor-verilog-C8061G8U.js +1 -0
  311. package/dist/web/assets/file-editor-vhdl-JqRksxx8.js +1 -0
  312. package/dist/web/assets/file-editor-webidl-CGwyPRYs.js +1 -0
  313. package/dist/web/assets/file-editor-xquery-CVDBqZPY.js +1 -0
  314. package/dist/web/assets/file-editor-yacas-WY0UPJfi.js +1 -0
  315. package/dist/web/assets/file-editor-yaml-DF1wUx07.js +1 -0
  316. package/dist/web/assets/file-editor-z80-D8p3gKXp.js +1 -0
  317. package/dist/web/assets/fish-Cx6My9pS.js +1 -0
  318. package/dist/web/assets/flowDiagram-23GEKE2U-CX2RaC4p.js +1 -0
  319. package/dist/web/assets/fluent-BsukS3Co.js +1 -0
  320. package/dist/web/assets/folder-plus-Cl6NWbNw.js +1 -0
  321. package/dist/web/assets/fortran-fixed-form-BiRvzwyR.js +1 -0
  322. package/dist/web/assets/fortran-free-form-CakU9R0a.js +1 -0
  323. package/dist/web/assets/fsharp-BmLNaTNL.js +1 -0
  324. package/dist/web/assets/ganttDiagram-NO4QXBWP-C1fJ323v.js +1 -0
  325. package/dist/web/assets/gdresource-pHyHNgx5.js +1 -0
  326. package/dist/web/assets/gdscript-BpxQpKjR.js +1 -0
  327. package/dist/web/assets/gdshader-BC7WJXp9.js +1 -0
  328. package/dist/web/assets/genie-IZOju1hG.js +1 -0
  329. package/dist/web/assets/gherkin-DUpgZfGr.js +1 -0
  330. package/dist/web/assets/git-commit-Bptnmh-c.js +1 -0
  331. package/dist/web/assets/git-rebase-CqNhyBhE.js +1 -0
  332. package/dist/web/assets/gitGraphDiagram-IHSO6WYX-BLFS-Drr.js +1 -0
  333. package/dist/web/assets/github-dark-DHJKELXO.js +1 -0
  334. package/dist/web/assets/github-dark-default-Cuk6v7N8.js +1 -0
  335. package/dist/web/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
  336. package/dist/web/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
  337. package/dist/web/assets/github-light-DAi9KRSo.js +1 -0
  338. package/dist/web/assets/github-light-default-D7oLnXFd.js +1 -0
  339. package/dist/web/assets/github-light-high-contrast-BfjtVDDH.js +1 -0
  340. package/dist/web/assets/gleam-CCCEh_av.js +1 -0
  341. package/dist/web/assets/glimmer-js-Bxt49MuP.js +1 -0
  342. package/dist/web/assets/glimmer-ts-BsGfVpaS.js +1 -0
  343. package/dist/web/assets/glsl-BDbjGBhJ.js +1 -0
  344. package/dist/web/assets/gn-BNGDdMfm.js +1 -0
  345. package/dist/web/assets/gnuplot-D0FoiB-W.js +1 -0
  346. package/dist/web/assets/go-Ci1olR0S.js +1 -0
  347. package/dist/web/assets/graph-BD-RY4fR.js +1 -0
  348. package/dist/web/assets/graphql-DTlHKpVh.js +1 -0
  349. package/dist/web/assets/groovy-D9sPn4Z-.js +1 -0
  350. package/dist/web/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
  351. package/dist/web/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
  352. package/dist/web/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
  353. package/dist/web/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
  354. package/dist/web/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
  355. package/dist/web/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
  356. package/dist/web/assets/hack-B6RDfhIS.js +1 -0
  357. package/dist/web/assets/haml-DvFFb5cL.js +1 -0
  358. package/dist/web/assets/handlebars--3HEtxsY.js +1 -0
  359. package/dist/web/assets/haskell-Cp0NQEkn.js +1 -0
  360. package/dist/web/assets/haxe-D-PmAGDa.js +1 -0
  361. package/dist/web/assets/hcl-DRMo6eis.js +1 -0
  362. package/dist/web/assets/highlighted-body-TPN3WLV5-DeaJXkFu.js +1 -0
  363. package/dist/web/assets/hjson-BPEpXUFQ.js +1 -0
  364. package/dist/web/assets/hlsl-B-PjNM4a.js +1 -0
  365. package/dist/web/assets/horizon-BUw7H-hv.js +1 -0
  366. package/dist/web/assets/horizon-bright-Cn-bp-IR.js +1 -0
  367. package/dist/web/assets/houston-DnULxvSX.js +1 -0
  368. package/dist/web/assets/html-Z-jPWkqI.js +1 -0
  369. package/dist/web/assets/html-derivative-CUTCBBy5.js +1 -0
  370. package/dist/web/assets/http-C5yS503b.js +1 -0
  371. package/dist/web/assets/hurl-DX_i18ky.js +1 -0
  372. package/dist/web/assets/hxml-DB3_nACV.js +1 -0
  373. package/dist/web/assets/hy-CLIvbAhW.js +1 -0
  374. package/dist/web/assets/imba-B-tO30Ge.js +1 -0
  375. package/dist/web/assets/index-1M7_HtDu.js +1 -0
  376. package/dist/web/assets/index-8_Am9ShR.js +1 -0
  377. package/dist/web/assets/index-BmushmS_.js +2 -0
  378. package/dist/web/assets/index-Y4eH8Xel.css +1 -0
  379. package/dist/web/assets/infoDiagram-FWYZ7A6U-BNpxEHPJ.js +1 -0
  380. package/dist/web/assets/ini-Bpxu4Zsc.js +1 -0
  381. package/dist/web/assets/init-C0SZ43gy.js +1 -0
  382. package/dist/web/assets/isArrayLikeObject-C958pSF-.js +1 -0
  383. package/dist/web/assets/ishikawaDiagram-FXEZZL3T-CZA4KSjU.js +1 -0
  384. package/dist/web/assets/java-DtRXFtDl.js +1 -0
  385. package/dist/web/assets/javascript-DFyEbC5y.js +1 -0
  386. package/dist/web/assets/jinja-Dy9dpTFB.js +1 -0
  387. package/dist/web/assets/jison-rKmQmF2-.js +1 -0
  388. package/dist/web/assets/journeyDiagram-5HDEW3XC-HFqAA_cn.js +1 -0
  389. package/dist/web/assets/json-LWN7Ml79.js +1 -0
  390. package/dist/web/assets/json5-CgCB487x.js +1 -0
  391. package/dist/web/assets/jsonc-BXrjvC_e.js +1 -0
  392. package/dist/web/assets/jsonl-D5dm1SHP.js +1 -0
  393. package/dist/web/assets/jsonnet-B60UklUs.js +1 -0
  394. package/dist/web/assets/jssm-CsqlGknB.js +1 -0
  395. package/dist/web/assets/jsx-g2NrEQII.js +1 -0
  396. package/dist/web/assets/julia-cok74C3v.js +1 -0
  397. package/dist/web/assets/just-BtNYcbKt.js +1 -0
  398. package/dist/web/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
  399. package/dist/web/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
  400. package/dist/web/assets/kanagawa-wave-DWedfzmr.js +1 -0
  401. package/dist/web/assets/kanban-definition-HUTT4EX6-DD_a9PCM.js +1 -0
  402. package/dist/web/assets/katex-uyR15voz.js +1 -0
  403. package/dist/web/assets/kdl-DWIPcypl.js +1 -0
  404. package/dist/web/assets/kotlin-DiV2Dt9D.js +1 -0
  405. package/dist/web/assets/kusto-BJ51M1bD.js +1 -0
  406. package/dist/web/assets/laserwave-DUszq2jm.js +1 -0
  407. package/dist/web/assets/latex-DfULfDnZ.js +1 -0
  408. package/dist/web/assets/layout-DvVF2R1Q.js +1 -0
  409. package/dist/web/assets/lean-BpZurxeZ.js +1 -0
  410. package/dist/web/assets/less-DKKxO4Pm.js +1 -0
  411. package/dist/web/assets/light-plus-B7mTdjB0.js +1 -0
  412. package/dist/web/assets/linear-D8Y_m16-.js +1 -0
  413. package/dist/web/assets/liquid-C2bTOIx_.js +1 -0
  414. package/dist/web/assets/llvm-w4szIS5k.js +1 -0
  415. package/dist/web/assets/log-CnKjEmrw.js +1 -0
  416. package/dist/web/assets/logo-BmG1tMr6.js +1 -0
  417. package/dist/web/assets/lua-DlAioYQl.js +1 -0
  418. package/dist/web/assets/luau-BImqhNgT.js +1 -0
  419. package/dist/web/assets/make-Ccm3NI5i.js +1 -0
  420. package/dist/web/assets/map-yP9qyz-l.js +1 -0
  421. package/dist/web/assets/markdown-DY93LJPj.js +1 -0
  422. package/dist/web/assets/marked.esm-BBjA1da9.js +1 -0
  423. package/dist/web/assets/marko-CVUQDN1F.js +1 -0
  424. package/dist/web/assets/material-theme-D5KoaKCx.js +1 -0
  425. package/dist/web/assets/material-theme-darker-BfHTSMKl.js +1 -0
  426. package/dist/web/assets/material-theme-lighter-B0m2ddpp.js +1 -0
  427. package/dist/web/assets/material-theme-ocean-CyktbL80.js +1 -0
  428. package/dist/web/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
  429. package/dist/web/assets/matlab-nYX3zffi.js +1 -0
  430. package/dist/web/assets/mdc-D3GsoZ_L.js +1 -0
  431. package/dist/web/assets/mdx-C8C9IGe9.js +1 -0
  432. package/dist/web/assets/mermaid--Jyu4oWd.js +1 -0
  433. package/dist/web/assets/mermaid-O7DHMXV3-CHSBDxzn.css +1 -0
  434. package/dist/web/assets/mermaid-O7DHMXV3-DqNZp9oe.js +2 -0
  435. package/dist/web/assets/mermaid.core-BOFC-9Zd.js +2 -0
  436. package/dist/web/assets/min-dark-CafNBF8u.js +1 -0
  437. package/dist/web/assets/min-light-CTRr51gU.js +1 -0
  438. package/dist/web/assets/mindmap-definition-LN4V7U3C-D5IUgZ6b.js +1 -0
  439. package/dist/web/assets/mipsasm-BjAqecqh.js +1 -0
  440. package/dist/web/assets/mojo-C2cxD0aZ.js +1 -0
  441. package/dist/web/assets/monokai-D4h5O-jR.js +1 -0
  442. package/dist/web/assets/moonbit-B4gpyPjt.js +1 -0
  443. package/dist/web/assets/move-Dg7rFHVC.js +1 -0
  444. package/dist/web/assets/narrat-BTSicUR-.js +1 -0
  445. package/dist/web/assets/nextflow-NhKJRLNF.js +1 -0
  446. package/dist/web/assets/nextflow-groovy-CqvLf608.js +1 -0
  447. package/dist/web/assets/nginx-CllVvPGm.js +1 -0
  448. package/dist/web/assets/night-owl-C39BiMTA.js +1 -0
  449. package/dist/web/assets/night-owl-light-CMTm3GFP.js +1 -0
  450. package/dist/web/assets/nim-BDZhFo_A.js +1 -0
  451. package/dist/web/assets/nix-_0LqsLde.js +1 -0
  452. package/dist/web/assets/nord-Ddv68eIx.js +1 -0
  453. package/dist/web/assets/nushell-Mk45ZIMx.js +1 -0
  454. package/dist/web/assets/objective-c-DLT9zZoE.js +1 -0
  455. package/dist/web/assets/objective-cpp-DKXr-AK_.js +1 -0
  456. package/dist/web/assets/ocaml-DP9q6K5L.js +1 -0
  457. package/dist/web/assets/odin-BINPiy40.js +1 -0
  458. package/dist/web/assets/one-dark-pro-DVMEJ2y_.js +1 -0
  459. package/dist/web/assets/one-light-C3Wv6jpd.js +1 -0
  460. package/dist/web/assets/openscad-CVq2HK1T.js +1 -0
  461. package/dist/web/assets/ordinal-BXL5nHgV.js +1 -0
  462. package/dist/web/assets/pascal-DjTTLVNS.js +1 -0
  463. package/dist/web/assets/pegDiagram-2B236MQR-CefM8hXa.js +1 -0
  464. package/dist/web/assets/perl-BemjezQW.js +1 -0
  465. package/dist/web/assets/php-CGgrkEf9.js +1 -0
  466. package/dist/web/assets/pieDiagram-ENE6RG2P-BDEGSmj6.js +1 -0
  467. package/dist/web/assets/pkl-0Sl31KKD.js +1 -0
  468. package/dist/web/assets/plastic-3e1v2bzS.js +1 -0
  469. package/dist/web/assets/plsql-CJrHCTnj.js +1 -0
  470. package/dist/web/assets/po-y5MdiEbo.js +1 -0
  471. package/dist/web/assets/poimandres-CS3Unz2-.js +1 -0
  472. package/dist/web/assets/polar-Bsx6RkUC.js +1 -0
  473. package/dist/web/assets/postcss-CeUBPB2S.js +1 -0
  474. package/dist/web/assets/powerquery-CW27I574.js +1 -0
  475. package/dist/web/assets/powershell-DSYJ6xcj.js +1 -0
  476. package/dist/web/assets/prisma-CLoN-gBj.js +1 -0
  477. package/dist/web/assets/prolog-Bgt5DHUA.js +1 -0
  478. package/dist/web/assets/proto-C194Edqz.js +1 -0
  479. package/dist/web/assets/pug-zcj1uJy9.js +1 -0
  480. package/dist/web/assets/puppet-TSkl_nn0.js +1 -0
  481. package/dist/web/assets/purescript-BrDje9qL.js +1 -0
  482. package/dist/web/assets/purify.es-BNLkGfTg.js +1 -0
  483. package/dist/web/assets/python-DlV7vnVD.js +1 -0
  484. package/dist/web/assets/qml-DTv-54bL.js +1 -0
  485. package/dist/web/assets/qmldir-CSZk7E48.js +1 -0
  486. package/dist/web/assets/qss-DACx-k9g.js +1 -0
  487. package/dist/web/assets/quadrantDiagram-ABIIQ3AL-CgbzHIM1.js +1 -0
  488. package/dist/web/assets/r-EOoB7omE.js +1 -0
  489. package/dist/web/assets/racket-D1nq-KeH.js +1 -0
  490. package/dist/web/assets/railroadDiagram-RFXS5EU6-DipKpgnM.js +1 -0
  491. package/dist/web/assets/raku-DocPDKZq.js +1 -0
  492. package/dist/web/assets/razor-8J3P2wQs.js +1 -0
  493. package/dist/web/assets/red-bN70gL4F.js +1 -0
  494. package/dist/web/assets/reg-5ydmJHEw.js +1 -0
  495. package/dist/web/assets/regexp-CpyjTnFF.js +1 -0
  496. package/dist/web/assets/rel-D68lwU-3.js +1 -0
  497. package/dist/web/assets/requirementDiagram-TGXJPOKE-CJWkBC2T.js +1 -0
  498. package/dist/web/assets/riscv-Cl4WfXj6.js +1 -0
  499. package/dist/web/assets/ron-DIZViclS.js +1 -0
  500. package/dist/web/assets/rose-pine-dawn-DHQR4-dF.js +1 -0
  501. package/dist/web/assets/rose-pine-moon-D4_iv3hh.js +1 -0
  502. package/dist/web/assets/rose-pine-qdsjHGoJ.js +1 -0
  503. package/dist/web/assets/rosmsg-sf_0D22S.js +1 -0
  504. package/dist/web/assets/rst-yWrgJnVd.js +1 -0
  505. package/dist/web/assets/ruby-CyNHEA82.js +1 -0
  506. package/dist/web/assets/rust-DpWcZSqc.js +1 -0
  507. package/dist/web/assets/sankeyDiagram-HTMAVEWB-CJgh1qMP.js +1 -0
  508. package/dist/web/assets/sas-BBCK0tAG.js +1 -0
  509. package/dist/web/assets/sass-DY_rGA2-.js +1 -0
  510. package/dist/web/assets/scala-CYRsmRER.js +1 -0
  511. package/dist/web/assets/scheme-C45fPb3F.js +1 -0
  512. package/dist/web/assets/scss-CHxzYwli.js +1 -0
  513. package/dist/web/assets/sdbl-BpucmfEo.js +1 -0
  514. package/dist/web/assets/sequenceDiagram-DBY2YBRQ-oIXo1saQ.js +1 -0
  515. package/dist/web/assets/shaderlab-DNyPh2Q6.js +1 -0
  516. package/dist/web/assets/shellscript-B8OHlvmy.js +1 -0
  517. package/dist/web/assets/shellsession-OATBsyRD.js +1 -0
  518. package/dist/web/assets/sizeCapture-X5ZJPWSS-CrToD-n4.js +1 -0
  519. package/dist/web/assets/slack-dark-BthQWCQV.js +1 -0
  520. package/dist/web/assets/slack-ochin-DqwNpetd.js +1 -0
  521. package/dist/web/assets/smalltalk-CKvddXL8.js +1 -0
  522. package/dist/web/assets/snazzy-light-Bw305WKR.js +1 -0
  523. package/dist/web/assets/solarized-dark-DXbdFlpD.js +1 -0
  524. package/dist/web/assets/solarized-light-L9t79GZl.js +1 -0
  525. package/dist/web/assets/solidity-XfXaqt9k.js +1 -0
  526. package/dist/web/assets/soy-Dz-Bkr4l.js +1 -0
  527. package/dist/web/assets/sparql-CLNNOQQI.js +1 -0
  528. package/dist/web/assets/splunk-CFtInczE.js +1 -0
  529. package/dist/web/assets/sql-BhJCBb_s.js +1 -0
  530. package/dist/web/assets/ssh-config-Dqsr-I88.js +1 -0
  531. package/dist/web/assets/stata-G4GYNNPE.js +1 -0
  532. package/dist/web/assets/stateDiagram-2N3HPSRC-PQ_QNKS9.js +1 -0
  533. package/dist/web/assets/stateDiagram-v2-6OUMAXLB-CTC96jcC.js +1 -0
  534. package/dist/web/assets/stylus-BeJftkpb.js +1 -0
  535. package/dist/web/assets/surrealql-C_6seBBi.js +1 -0
  536. package/dist/web/assets/svelte-BuOg6tJl.js +1 -0
  537. package/dist/web/assets/swift-0qv2hBXI.js +1 -0
  538. package/dist/web/assets/swimlanes-5IMT3BWC-B6jyX_3e.js +2 -0
  539. package/dist/web/assets/swimlanesDiagram-G3AALYLV-XXos6SqD.js +1 -0
  540. package/dist/web/assets/synthwave-84-ChtBzv_y.js +1 -0
  541. package/dist/web/assets/system-verilog-B3nElewZ.js +1 -0
  542. package/dist/web/assets/systemd-B7SlkmfE.js +1 -0
  543. package/dist/web/assets/talonscript-BrsbXmRy.js +1 -0
  544. package/dist/web/assets/tasl-CMkPZNj1.js +1 -0
  545. package/dist/web/assets/tcl-CiyEbZSK.js +1 -0
  546. package/dist/web/assets/templ-B_lDaXqj.js +1 -0
  547. package/dist/web/assets/terraform-BUB-_BlF.js +1 -0
  548. package/dist/web/assets/tex-ByCZWQmN.js +1 -0
  549. package/dist/web/assets/timeline-definition-FHXFAJF6-CZV40Uiu.js +1 -0
  550. package/dist/web/assets/tokyo-night-hegEt444.js +1 -0
  551. package/dist/web/assets/toml-VldhK7iW.js +1 -0
  552. package/dist/web/assets/ts-tags-Chlpw95x.js +1 -0
  553. package/dist/web/assets/tsv-BQ9ptESM.js +1 -0
  554. package/dist/web/assets/tsx-DYwE5ssU.js +1 -0
  555. package/dist/web/assets/turtle-BVy4HXn4.js +1 -0
  556. package/dist/web/assets/twig-4agwRVFz.js +1 -0
  557. package/dist/web/assets/typescript-DI7mmMRd.js +1 -0
  558. package/dist/web/assets/typespec-BNdhC6HS.js +1 -0
  559. package/dist/web/assets/typst-JIZTSUoJ.js +1 -0
  560. package/dist/web/assets/v-B66J5FdL.js +1 -0
  561. package/dist/web/assets/vala-p2PL1w-1.js +1 -0
  562. package/dist/web/assets/vb-Dv-GCw1m.js +1 -0
  563. package/dist/web/assets/vennDiagram-L72KCM5P-DfURoA_U.js +1 -0
  564. package/dist/web/assets/verilog-DKP7kpC6.js +1 -0
  565. package/dist/web/assets/vesper-DU1UobuO.js +1 -0
  566. package/dist/web/assets/vhdl-Cog-DhcW.js +1 -0
  567. package/dist/web/assets/viml-0AN1aqkP.js +1 -0
  568. package/dist/web/assets/vitesse-black-Bkuqu6BP.js +1 -0
  569. package/dist/web/assets/vitesse-dark-D0r3Knsf.js +1 -0
  570. package/dist/web/assets/vitesse-light-CVO1_9PV.js +1 -0
  571. package/dist/web/assets/vue-D3w_7BFv.js +1 -0
  572. package/dist/web/assets/vue-html-a8uCr53v.js +1 -0
  573. package/dist/web/assets/vue-vine-2Gx6KHOr.js +1 -0
  574. package/dist/web/assets/vyper-sB2l1MOO.js +1 -0
  575. package/dist/web/assets/wardleyDiagram-EHGQE667-BJTuXTfz.js +1 -0
  576. package/dist/web/assets/wasm--yL7jHw-.js +1 -0
  577. package/dist/web/assets/wasm-CSAWeJiV.js +1 -0
  578. package/dist/web/assets/wenyan-CLHHXU5e.js +1 -0
  579. package/dist/web/assets/wgsl-DiTcYanS.js +1 -0
  580. package/dist/web/assets/wikitext-DT8E9qe0.js +1 -0
  581. package/dist/web/assets/wit-CtjT-RdY.js +1 -0
  582. package/dist/web/assets/wolfram-1xJNnwe2.js +1 -0
  583. package/dist/web/assets/xml-BsgRw6d1.js +1 -0
  584. package/dist/web/assets/xsl-DCNnPbrB.js +1 -0
  585. package/dist/web/assets/xychartDiagram-FW5EYKEG-BruFcrd-.js +1 -0
  586. package/dist/web/assets/yaml-c2-Vhxho.js +1 -0
  587. package/dist/web/assets/zenscript-ChP1MlQf.js +1 -0
  588. package/dist/web/assets/zig-rivS3YQG.js +1 -0
  589. package/dist/web/index.html +2 -2
  590. package/dist/web/obsidian-editor-assets.json +1 -0
  591. package/package.json +1 -1
  592. package/dist/web/assets/App-94_jdzMk.css +0 -1
  593. package/dist/web/assets/App-CapuoJH2.js +0 -18
  594. package/dist/web/assets/BrowserControlPanel-BTBKDi0n.js +0 -1
  595. package/dist/web/assets/ChipGroup-ImS6VTKx.js +0 -1
  596. package/dist/web/assets/DiffDrawer-sMBIj4bW.js +0 -2
  597. package/dist/web/assets/FileCodeEditor-yqSvo7VZ.css +0 -1
  598. package/dist/web/assets/FilesControlPanel-4hHS85Mr.js +0 -1
  599. package/dist/web/assets/FilesControlPanel-DsKJrFYk.css +0 -1
  600. package/dist/web/assets/GlobalPendingDialog-BCLMQc_r.js +0 -1
  601. package/dist/web/assets/ImageViewer-BvBKQ6wE.js +0 -1
  602. package/dist/web/assets/ImageViewer-L8SQkFy1.css +0 -1
  603. package/dist/web/assets/LanguageSettingsPanel-DTDvB4l2.js +0 -1
  604. package/dist/web/assets/NewSessionDialog-LttGZHY7.js +0 -1
  605. package/dist/web/assets/NewSessionDialog-cuN6a01X.css +0 -1
  606. package/dist/web/assets/NotificationSettingsPanel-BS01O3sC.js +0 -1
  607. package/dist/web/assets/TerminalControlPanel-B7S_ebVy.js +0 -13
  608. package/dist/web/assets/ThemeSettingsPanel-DVaJ6nGu.js +0 -1
  609. package/dist/web/assets/arrow-right-ORILUMdJ.js +0 -1
  610. package/dist/web/assets/collectMessageImages-lfAaZW_Y.js +0 -3
  611. package/dist/web/assets/file-editor-FileCodeEditor-ZAqN9Q2f.js +0 -13
  612. package/dist/web/assets/file-editor-MarkdownLivePreview-DXTFwUnj.js +0 -1
  613. package/dist/web/assets/file-editor-clike-B9uivgTg.js +0 -1
  614. package/dist/web/assets/file-editor-go-CTD25R5P.js +0 -1
  615. package/dist/web/assets/file-editor-index-BBHGMD89.js +0 -1
  616. package/dist/web/assets/file-editor-index-BC0Bqs8t.js +0 -1
  617. package/dist/web/assets/file-editor-index-Bo2dEHVF.js +0 -1
  618. package/dist/web/assets/file-editor-index-Byun61j6.js +0 -1
  619. package/dist/web/assets/file-editor-index-C4S-qKVH.js +0 -3
  620. package/dist/web/assets/file-editor-index-DKQvp2Qx.js +0 -6
  621. package/dist/web/assets/file-editor-index-Dc2gxJQY.js +0 -13
  622. package/dist/web/assets/file-editor-index-Dj3dV82Z.js +0 -1
  623. package/dist/web/assets/file-editor-rust-Bh1DdySD.js +0 -1
  624. package/dist/web/assets/file-editor-shell-CjFT_Tl9.js +0 -1
  625. package/dist/web/assets/file-editor-sql-B0zzsL_y.js +0 -1
  626. package/dist/web/assets/file-editor-swift-BzpIVaGY.js +0 -1
  627. package/dist/web/assets/file-editor-toml-Bm5Em-hy.js +0 -1
  628. package/dist/web/assets/file-editor-yaml-DsCXHVTH.js +0 -1
  629. package/dist/web/assets/folder-plus-DHw5YJHP.js +0 -1
  630. package/dist/web/assets/highlighted-body-TPN3WLV5-DDb5MlJt.js +0 -1
  631. package/dist/web/assets/index-Be6TVbvo.css +0 -1
  632. package/dist/web/assets/index-ConcKf33.js +0 -71
  633. package/dist/web/assets/mermaid-O7DHMXV3-D-5FgaAx.js +0 -120
  634. package/dist/web/assets/mermaid-O7DHMXV3-tkqeC_Xz.css +0 -1
@@ -0,0 +1 @@
1
+ var t;import{g as e}from"./chunk-XXDRQBXY-CylbQ77X.js";import{s}from"./chunk-VR4S4FIN-bqXmDTmi.js";import{_ as i,l as n,c as r,x as o,y as a,a as c,b as l,g as h,s as d,o as u,p,a8 as y,k as g,q as f,d as m}from"./mermaid.core-BOFC-9Zd.js";import{f as S}from"./chunk-32BRIVSS-CcFgBN8P.js";import{p as k}from"./purify.es-BNLkGfTg.js";var b=function(){var t=i(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],o=[1,9],a=[1,11],c=[1,16],l=[1,17],h=[1,18],d=[1,19],u=[1,33],p=[1,20],y=[1,21],g=[1,22],f=[1,23],m=[1,24],S=[1,26],k=[1,27],b=[1,28],T=[1,29],_=[1,30],E=[1,31],x=[1,32],C=[1,35],D=[1,36],$=[1,37],v=[1,38],I=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],L=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],w=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:i(function(t,e,s,i,n,r,o){var a=r.length-1;switch(n){case 3:return i.setRootDoc(r[a]),r[a];case 4:this.$=[];break;case 5:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 6:case 7:case 12:this.$=r[a];break;case 8:this.$="nl";break;case 13:const t=r[a-1];t.description=i.trimColon(r[a]),this.$=t;break;case 14:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 15:const e=i.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 19:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 20:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 21:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 22:this.$={stmt:"state",id:r[a],type:"fork"};break;case 23:this.$={stmt:"state",id:r[a],type:"join"};break;case 24:this.$={stmt:"state",id:r[a],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 29:this.$=r[a].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=r[a].trim(),i.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:r[a-3],url:r[a-2],tooltip:r[a-1]};break;case 33:this.$={stmt:"click",id:r[a-3],url:r[a-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 36:this.$={stmt:"style",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 37:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:s,6:n},{1:[3]},{3:5,4:e,5:s,6:n},{3:6,4:e,5:s,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:h,22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:D,53:$,54:v,57:I},t(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:h,22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:D,53:$,54:v,57:I},t(A,[2,7]),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(A,[2,11]),t(A,[2,12],{14:[1,40],15:[1,41]}),t(A,[2,16]),{18:[1,42]},t(A,[2,18],{20:[1,43]}),{23:[1,44]},t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(A,[2,28]),{34:[1,49]},{36:[1,50]},t(A,[2,31]),{13:51,24:u,57:I},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(L,[2,44],{58:[1,56]}),t(L,[2,45],{58:[1,57]}),t(A,[2,38]),t(A,[2,39]),t(A,[2,40]),t(A,[2,41]),t(A,[2,6]),t(A,[2,13]),{13:58,24:u,57:I},t(A,[2,17]),t(w,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(A,[2,29]),t(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(A,[2,14],{14:[1,71]}),{4:o,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:h,21:[1,72],22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:D,53:$,54:v,57:I},t(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(A,[2,34]),t(A,[2,35]),t(A,[2,36]),t(A,[2,37]),t(L,[2,46]),t(L,[2,47]),t(A,[2,15]),t(A,[2,19]),t(w,r,{7:78}),t(A,[2,26]),t(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:a,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:h,21:[1,81],22:d,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:C,52:D,53:$,54:v,57:I},t(A,[2,32]),t(A,[2,33]),t(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:i(function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},"parseError"),parse:i(function(t){var e=this,s=[0],n=[],r=[null],o=[],a=this.table,c="",l=0,h=0,d=o.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var g=u.yylloc;o.push(g);var f=u.options&&u.options.ranges;function m(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,i(function(t){s.length=s.length-2*t,r.length=r.length-t,o.length=o.length-t},"popStack"),i(m,"lex");for(var S,k,b,T,_,E,x,C,D={};;){if(k=s[s.length-1],this.defaultActions[k]?b=this.defaultActions[k]:(null==S&&(S=m()),b=a[k]&&a[k][S]),void 0===b||!b.length||!b[0]){var $;for(_ in C=[],a[k])this.terminals_[_]&&_>2&&C.push("'"+this.terminals_[_]+"'");$=u.showPosition?"Parse error on line "+(l+1)+":\n"+u.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError($,{text:u.match,token:this.terminals_[S]||S,line:u.yylineno,loc:g,expected:C})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+S);switch(b[0]){case 1:s.push(S),r.push(u.yytext),o.push(u.yylloc),s.push(b[1]),S=null,h=u.yyleng,c=u.yytext,l=u.yylineno,g=u.yylloc;break;case 2:if(E=this.productions_[b[1]][1],D.$=r[r.length-E],D._$={first_line:o[o.length-(E||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(E||1)].first_column,last_column:o[o.length-1].last_column},f&&(D._$.range=[o[o.length-(E||1)].range[0],o[o.length-1].range[1]]),void 0!==(T=this.performAction.apply(D,[c,h,l,p.yy,b[1],r,o].concat(d))))return T;E&&(s=s.slice(0,-1*E*2),r=r.slice(0,-1*E),o=o.slice(0,-1*E)),s.push(this.productions_[b[1]][0]),r.push(D.$),o.push(D._$),x=a[s[s.length-2]][s[s.length-1]],s.push(x);break;case 3:return!0}}return!0},"parse")},O=function(){return{EOF:1,parseError:i(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:i(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:i(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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(),{text:"",token:null,line:this.yylineno})},"reject"),less:i(function(t){this.unput(this.match.slice(t))},"less"),pastInput:i(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:i(function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},"test_match"),next:i(function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if((s=this._input.match(this.rules[n[r]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:i(function(){return this.next()||this.lex()},"lex"),begin:i(function(t){this.conditionStack.push(t)},"begin"),popState:i(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:i(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:i(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:i(function(t){this.begin(t)},"pushState"),stateStackSize:i(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:i(function(t,e,s,n){function r(){const s=e.yytext.indexOf("%%");if(0===s)return!1;if(s>0){const i=e.yytext.slice(0,s),n=e.yytext.slice(s);n&&t.lexer.unput(n),e.yytext=i}return!0}switch(i(r,"processId"),s){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:case 43:return 51;case 5:case 44:return 52;case 6:case 45:return 53;case 7:case 46:return 54;case 8:case 78:return 5;case 9:case 10:case 11:case 12:case 57:case 63:break;case 13:case 33:return this.pushState("SCALE"),17;case 14:case 34:return 18;case 15:case 21:case 35:case 50:case 54:this.popState();break;case 16:return this.begin("acc_title"),33;case 17:return this.popState(),"acc_title_value";case 18:return this.begin("acc_descr"),35;case 19:return this.popState(),"acc_descr_value";case 20:this.begin("acc_descr_multiline");break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 25:return this.popState(),this.pushState("CLASSDEFID"),42;case 26:return this.popState(),43;case 27:return this.pushState("CLASS"),48;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;case 29:return this.popState(),50;case 30:return this.pushState("STYLE"),45;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 32:return this.popState(),47;case 36:this.pushState("STATE");break;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";case 49:case 65:if(!r())return;return this.popState(),"ID";case 51:return"STATE_DESCR";case 52:throw new Error('Error: State name must be a single word. Found: "'+e.yytext.trim()+'"');case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 56:return this.popState(),21;case 58:return this.begin("NOTE"),29;case 59:return this.popState(),this.pushState("NOTE_ID"),59;case 60:return this.popState(),this.pushState("NOTE_ID"),60;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 64:return"NOTE_TEXT";case 66:if(!r())return;return this.popState(),this.pushState("NOTE_TEXT"),24;case 67:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 68:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 69:case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!r())return;return 24;case 74:return e.yytext=e.yytext.trim(),14;case 75:return 15;case 76:return 28;case 77:return 58;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}}}();function R(){this.yy={}}return N.lexer=O,i(R,"Parser"),R.prototype=N,N.Parser=R,new R}();b.parser=b;var T=b,_="state",E="root",x="relation",C="default",D="divider",$="fill:none",v="fill: #333",I="markdown",A="normal",L="rect",w="rectWithTitle",N="divider",O="roundedWithTitle",R="statediagram",B=`${R}-state`,F="transition",P=`${F} note-edge`,Y=`${R}-note`,G=`${R}-cluster`,j=`${R}-cluster-alt`,z="parent",W="note",M="----",U=`${M}${W}`,X=`${M}${z}`,H=i((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const i of t.doc)"dir"===i.stmt&&(s=i.value);return s},"getDir"),V={getClasses:i(function(t,e){return e.db.getClasses()},"getClasses"),draw:i(async function(t,i,c,l){n.info("REF0:"),n.info("Drawing state diagram (v2)",i);const{securityLevel:h,state:d,layout:u}=r();l.db.extract(l.db.getRootDocV2());const p=l.db.getData(),y=e(i,h);p.type=l.type,p.layoutAlgorithm=u,p.nodeSpacing=d?.nodeSpacing||50,p.rankSpacing=d?.rankSpacing||50,"neo"===r().look?p.markers=["barbNeo"]:p.markers=["barb"],p.diagramId=i,await o(p,y);try{("function"==typeof l.db.getLinks?l.db.getLinks():new Map).forEach((t,e)=>{const s="string"==typeof e?e:"string"==typeof e?.id?e.id:"",i=p.nodes.find(t=>t.id===s);if(!s)return void n.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(e));const r=y.node()?.querySelectorAll("g.node, g.rough-node");let o;if(r?.forEach(t=>{const e=t.textContent?.trim();t.id!==i?.domId&&e!==s||(o=t)}),!o)return void n.warn("⚠️ Could not find node matching text:",s);const a=o.parentNode;if(!a)return void n.warn("⚠️ Node has no parent, cannot wrap:",s);const c=document.createElementNS("http://www.w3.org/2000/svg","a"),l=t.url.replace(/^"+|"+$/g,"");if(c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),c.setAttribute("target","_blank"),t.tooltip){const e=t.tooltip.replace(/^"+|"+$/g,"");c.setAttribute("title",e),o.setAttribute("title",e)}a.replaceChild(c,o),c.appendChild(o),n.info("🔗 Wrapped node in <a> tag for:",s,t.url)})}catch(g){n.error("❌ Error injecting clickable links:",g)}a.insertTitle(y,"statediagramTitleText",d?.titleTopMargin??25,l.db.getDiagramTitle()),s(y,8,R,d?.useMaxWidth??!0)},"draw"),getDir:H},J=new Map,K=0;function q(t="",e=0,s="",i=M){return`state-${t}${null!==s&&s.length>0?`${i}${s}`:""}-${e}`}i(q,"stateDomId");var Q=i((t,e,s,i,o,a,c,l)=>{n.trace("items",e),e.forEach(e=>{switch(e.stmt){case _:case C:it(t,e,s,i,o,a,c,l);break;case x:{it(t,e.state1,s,i,o,a,c,l),it(t,e.state2,s,i,o,a,c,l);const n="neo"===c,h={id:"edge"+K,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:n?"arrow_barb_neo":"arrow_barb",style:$,labelStyle:"",label:g.sanitizeText(e.description??"",r()),arrowheadStyle:v,labelpos:"c",labelType:I,thickness:A,classes:F,look:c};o.push(h),K++}}})},"setupDoc"),Z=i((t,e="TB")=>{let s=e;if(t.doc)for(const i of t.doc)"dir"===i.stmt&&(s=i.value);return s},"getDir");function tt(t,e,s){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{const i=s.get(t);i&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...i.styles])}));const i=t.find(t=>t.id===e.id);i?Object.assign(i,e):t.push(e)}function et(t){return t?.classes?.join(" ")??""}function st(t){return t?.styles??[]}i(tt,"insertOrUpdateNode"),i(et,"getClassesFromDbInfo"),i(st,"getStylesFromDbInfo");var it=i((t,e,s,i,o,a,c,l)=>{const h=e.id,d=s.get(h),u=et(d),p=st(d),y=r();if(n.info("dataFetcher parsedItem",e,d,p),"root"!==h){let s=L;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==C&&(s=e.type),J.get(h)||J.set(h,{id:h,shape:s,description:g.sanitizeText(h,y),cssClasses:`${u} ${B}`,cssStyles:p});const r=J.get(h);e.description&&(Array.isArray(r.description)?(r.shape=w,r.description.push(e.description)):r.description?.length&&r.description.length>0?(r.shape=w,r.description===h?r.description=[e.description]:r.description=[r.description,e.description]):(r.shape=L,r.description=e.description),r.description=g.sanitizeTextOrArray(r.description,y)),1===r.description?.length&&r.shape===w&&("group"===r.type?r.shape=O:r.shape=L),!r.type&&e.doc&&(n.info("Setting cluster for XCX",h,Z(e)),r.type="group",r.isGroup=!0,r.dir=Z(e),r.explicitDir=e.doc.some(t=>"dir"===t.stmt),r.shape=e.type===D?N:O,r.cssClasses=`${r.cssClasses} ${G} ${a?j:""}`);const d={labelStyle:"",shape:r.shape,label:r.description,cssClasses:r.cssClasses,cssCompiledStyles:[],cssStyles:r.cssStyles,id:h,dir:r.dir,domId:q(h,K),type:r.type,isGroup:"group"===r.type,padding:8,rx:10,ry:10,look:c,labelType:"markdown"};if(d.shape===N&&(d.label=""),t&&"root"!==t.id&&(n.trace("Setting node ",h," to be child of its parent ",t.id),d.parentId=t.id),d.centerLabel=!0,e.note){const t={labelStyle:"",shape:"note",label:e.note.text,labelType:"markdown",cssClasses:Y,cssStyles:[],cssCompiledStyles:[],id:h+U+"-"+K,domId:q(h,K,W),type:r.type,isGroup:"group"===r.type,padding:y.flowchart?.padding,look:c,position:e.note.position},s=h+X,n={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:r.cssClasses,cssStyles:[],id:h+X,domId:q(h,K,z),type:"group",isGroup:!0,padding:16,look:c,position:e.note.position};K++,n.id=s,t.parentId=s,tt(i,n,l),tt(i,t,l),tt(i,d,l);let a=h,u=t.id;"left of"===e.note.position&&(a=t.id,u=h),o.push({id:a+"-"+u,start:a,end:u,arrowhead:"none",arrowTypeEnd:"",style:$,labelStyle:"",classes:P,arrowheadStyle:v,labelpos:"c",labelType:I,thickness:A,look:c})}else tt(i,d,l)}e.doc&&(n.trace("Adding nodes children "),Q(e,e.doc,s,i,o,!a,c,l))},"dataFetcher"),nt=i(()=>{J.clear(),K=0},"reset"),rt="[*]",ot="start",at="color",ct="fill",lt=i(()=>new Map,"newClassesList"),ht=i(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),dt=i(t=>JSON.parse(JSON.stringify(t)),"clone"),ut=(i(t=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=lt(),this.documents={root:ht()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=c,this.setAccTitle=l,this.getAccDescription=h,this.setAccDescription=d,this.setDiagramTitle=u,this.getDiagramTitle=p,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}extract(t){this.clear(!0);for(const i of Array.isArray(t)?t:t.doc)switch(i.stmt){case _:this.addState(i.id.trim(),i.type,i.doc,i.description,i.note);break;case x:this.addRelation(i.state1,i.state2,i.description);break;case"classDef":this.addStyleClass(i.id.trim(),i.classes);break;case"style":this.handleStyleDef(i);break;case"applyClass":this.setCssClass(i.id.trim(),i.styleClass);break;case"click":this.addLink(i.id,i.url,i.tooltip)}const e=this.getStates(),s=r();nt(),it(void 0,this.getRootDocV2(),e,this.nodes,this.edges,!0,s.look,this.classes);for(const i of this.nodes)if(Array.isArray(i.label)){if(i.description=i.label.slice(1),i.isGroup&&i.description.length>0)throw new Error(`Group nodes can only have label. Remove the additional description for node [${i.id}]`);i.label=i.label[0]}}handleStyleDef(t){const e=t.id.trim().split(","),s=t.styleClass.split(",");for(const i of e){let t=this.getState(i);if(!t){const e=i.trim();this.addState(e),t=this.getState(e)}t&&(t.styles=s.map(t=>t.replace(/;/g,"")?.trim()))}}setRootDoc(t){n.info("Setting root doc",t),this.rootDoc=t,1===this.version?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(t,e,s){if(e.stmt===x)return this.docTranslator(t,e.state1,!0),void this.docTranslator(t,e.state2,!1);if(e.stmt===_&&(e.id===rt?(e.id=t.id+(s?"_start":"_end"),e.start=s):e.id=e.id.trim()),e.stmt!==E&&e.stmt!==_||!e.doc)return;const i=[];let n=[];for(const r of e.doc)if(r.type===D){const t=dt(r);t.doc=dt(n),i.push(t),n=[]}else n.push(r);if(i.length>0&&n.length>0){const t={stmt:_,id:y(),type:"divider",doc:dt(n)};i.push(dt(t)),e.doc=i}e.doc.forEach(t=>this.docTranslator(e,t,!0))}getRootDocV2(){return this.docTranslator({id:E,stmt:E},{id:E,stmt:E,doc:this.rootDoc},!0),{id:E,doc:this.rootDoc}}addState(t,e=C,s=void 0,i=void 0,o=void 0,a=void 0,c=void 0,l=void 0){const h=t?.trim();if(this.currentDocument.states.has(h)){const t=this.currentDocument.states.get(h);if(!t)throw new Error(`State not found: ${h}`);t.doc||(t.doc=s),t.type||(t.type=e)}else n.info("Adding state ",h,i),this.currentDocument.states.set(h,{stmt:_,id:h,descriptions:[],type:e,doc:s,note:o,classes:[],styles:[],textStyles:[]});if(i&&(n.info("Setting state description",h,i),(Array.isArray(i)?i:[i]).forEach(t=>this.addDescription(h,t.trim()))),o){const t=this.currentDocument.states.get(h);if(!t)throw new Error(`State not found: ${h}`);t.note=o,t.note.text=g.sanitizeText(t.note.text,r())}a&&(n.info("Setting state classes",h,a),(Array.isArray(a)?a:[a]).forEach(t=>this.setCssClass(h,t.trim()))),c&&(n.info("Setting state styles",h,c),(Array.isArray(c)?c:[c]).forEach(t=>this.setStyle(h,t.trim()))),l&&(n.info("Setting state styles",h,c),(Array.isArray(l)?l:[l]).forEach(t=>this.setTextStyle(h,t.trim())))}clear(t){this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:ht()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=lt(),t||(this.links=new Map,f())}getState(t){return this.currentDocument.states.get(t)}getStates(){return this.currentDocument.states}logDocuments(){n.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,e,s){this.links.set(t,{url:e,tooltip:s}),n.warn("Adding link",t,e,s)}getLinks(){return this.links}startIdIfNeeded(t=""){return t===rt?(this.startEndCount++,`${ot}${this.startEndCount}`):t}startTypeIfNeeded(t="",e=C){return t===rt?ot:e}endIdIfNeeded(t=""){return"[*]"===t?(this.startEndCount++,`end${this.startEndCount}`):t}endTypeIfNeeded(t="",e=C){return"[*]"===t?"end":e}addRelationObjs(t,e,s=""){const i=this.startIdIfNeeded(t.id.trim()),n=this.startTypeIfNeeded(t.id.trim(),t.type),o=this.startIdIfNeeded(e.id.trim()),a=this.startTypeIfNeeded(e.id.trim(),e.type);this.addState(i,n,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.currentDocument.relations.push({id1:i,id2:o,relationTitle:g.sanitizeText(s,r())})}addRelation(t,e,s){if("object"==typeof t&&"object"==typeof e)this.addRelationObjs(t,e,s);else if("string"==typeof t&&"string"==typeof e){const i=this.startIdIfNeeded(t.trim()),n=this.startTypeIfNeeded(t),o=this.endIdIfNeeded(e.trim()),a=this.endTypeIfNeeded(e);this.addState(i,n),this.addState(o,a),this.currentDocument.relations.push({id1:i,id2:o,relationTitle:s?g.sanitizeText(s,r()):void 0})}}addDescription(t,e){const s=this.currentDocument.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s?.descriptions?.push(g.sanitizeText(i,r()))}cleanupLabel(t){return t.startsWith(":")?t.slice(2).trim():t.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(t,e=""){this.classes.has(t)||this.classes.set(t,{id:t,styles:[],textStyles:[]});const s=this.classes.get(t);e&&s&&e.split(",").forEach(t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(at).exec(t)){const t=e.replace(ct,"bgFill").replace(at,ct);s.textStyles.push(t)}s.styles.push(e)})}getClasses(){return this.classes}setupToolTips(t){const e=S();m(t).select("svg").selectAll("g.node, g.rough-node").on("mouseover",t=>{const s=m(t.currentTarget),i=s.attr("title");if(null===i)return;const n=t.currentTarget?.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.bottom+"px"),e.html(k.sanitize(i)),s.classed("hover",!0)}).on("mouseout",t=>{e.transition().duration(500).style("opacity",0),m(t.currentTarget).classed("hover",!1)})}setCssClass(t,e){t.split(",").forEach(t=>{let s=this.getState(t);if(!s){const e=t.trim();this.addState(e),s=this.getState(e)}s?.classes?.push(e)})}setStyle(t,e){this.getState(t)?.styles?.push(e)}setTextStyle(t,e){this.getState(t)?.textStyles?.push(e)}bindFunctions(t){this.funs.forEach(e=>{e(t)})}getDirectionStatement(){return this.rootDoc.find(t=>"dir"===t.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(t){const e=this.getDirectionStatement();e?e.value=t:this.rootDoc.unshift({stmt:"dir",value:t})}trimColon(t){return t.startsWith(":")?t.slice(1).trim():t.trim()}getData(){const t=r();return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:H(this.getRootDocV2())}}getConfig(){return r().state}},"StateDB"),t.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},t),pt=i(t=>`\ndefs [id$="-barbEnd"] {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: ${t.strokeWidth||1};\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: ${t.strokeWidth||1};\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: ${t.strokeWidth||1}px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: ${t.strokeWidth||1}px;\n}\n[id$="-barbEnd"] {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: ${t.strokeWidth||1}px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n // line-height: 1;\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n[id$="-dependencyStart"], [id$="-dependencyEnd"] {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: ${t.strokeWidth||1};\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n\n[data-look="neo"].statediagram-cluster rect {\n fill: ${t.mainBkg};\n stroke: ${t.useGradient?"url("+t.svgId+"-gradient)":t.stateBorder||t.nodeBorder};\n stroke-width: ${t.strokeWidth??1};\n}\n[data-look="neo"].statediagram-cluster rect.outer {\n rx: ${t.radius}px;\n ry: ${t.radius}px;\n filter: ${t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${t.svgId}-drop-shadow)`):"none"}\n}\n`,"getStyles");export{ut as S,T as a,V as b,pt as s};
@@ -0,0 +1 @@
1
+ import{_ as c}from"./mermaid.core-BOFC-9Zd.js";function e(c,e){c.accDescr&&e.setAccDescription?.(c.accDescr),c.accTitle&&e.setAccTitle?.(c.accTitle),c.title&&e.setDiagramTitle?.(c.title)}c(e,"populateCommonDb");export{e as p};
@@ -0,0 +1 @@
1
+ var e,t;import{_ as n,l as r,F as i,z as a,q as o,W as l,e as s,i as d,c as m}from"./mermaid.core-BOFC-9Zd.js";var c="",h="",p="",u=[],g=new Map,T=n(e=>d(e,m()),"sanitizeText"),f=n(e=>{switch(e.type){case"terminal":return{...e,value:T(e.value)};case"nonterminal":return{...e,name:T(e.name)};case"sequence":return{...e,elements:e.elements.map(f)};case"choice":return{...e,alternatives:e.alternatives.map(f)};case"optional":return{...e,element:f(e.element)};case"repetition":return{...e,element:f(e.element),separator:e.separator?f(e.separator):void 0};case"special":return{...e,text:T(e.text)}}},"sanitizeAstNode"),x=n(()=>{c="",h="",p="",u.length=0,g.clear(),o(),r.debug("[Railroad] Database cleared")},"clear"),w=n(e=>{c=T(e),r.debug("[Railroad] Title set:",e)},"setTitle"),k=n(()=>c,"getTitle"),C={clear:x,setTitle:w,getTitle:k,addRule:n(e=>{const t={...e,name:T(e.name),definition:f(e.definition),comment:e.comment?T(e.comment):void 0};r.debug("[Railroad] Adding rule:",t.name),g.has(t.name)&&r.warn(`[Railroad] Rule '${t.name}' is already defined. Overwriting.`),u.push(t),g.set(t.name,t)},"addRule"),getRules:n(()=>u,"getRules"),getRule:n(e=>g.get(e),"getRule"),setAccTitle:n(e=>{h=T(e).replace(/^\s+/g,""),r.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),getAccTitle:n(()=>h,"getAccTitle"),setAccDescription:n(e=>{p=T(e).replace(/\n\s+/g,"\n"),r.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),getAccDescription:n(()=>p,"getAccDescription"),setDiagramTitle:w,getDiagramTitle:k},F={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},S=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,$=/^[\w "',.-]+$/,y=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),b=n(e=>!!e&&Object.keys(e).every(e=>"railroad"===e||y.has(e)),"isRailroadStyleOptions"),R=n(e=>e?"railroad"in e&&e.railroad?e.railroad:b(e)?e:{}:{},"extractRailroadOverrides"),v=n(e=>{if(!e||b(e))return{};const{railroad:t,svgId:n,theme:r,look:i,...a}=e;return a},"extractThemeOverrides"),z=n((e,t)=>{if("string"!=typeof e)return t;const n=e.trim();return S.test(n)?n:t},"sanitizeColorValue"),N=n((e,t)=>{if("string"!=typeof e)return t;const n=e.trim();return $.test(n)?n:t},"sanitizeFontFamilyValue"),M=n((e,t)=>{const n="number"==typeof e?e:"string"==typeof e?Number.parseFloat(e):Number.NaN;return Number.isFinite(n)&&n>=0?n:t},"sanitizeNumberValue"),A=n(e=>{const t="number"==typeof e?e:"string"==typeof e?Number.parseFloat(e):Number.NaN;return Number.isFinite(t)&&t>0?t:void 0},"parseThemeFontSize"),B=n(e=>{const t=N(e.fontFamily,F.fontFamily),n=A(e.fontSize)??F.fontSize;return{...F,fontFamily:t,fontSize:n,terminalFill:z(e.secondBkg??e.secondaryColor,F.terminalFill),terminalStroke:z(e.secondaryBorderColor??e.lineColor,F.terminalStroke),terminalTextColor:z(e.secondaryTextColor??e.textColor,F.terminalTextColor),nonTerminalFill:z(e.mainBkg??e.background,F.nonTerminalFill),nonTerminalStroke:z(e.primaryBorderColor??e.lineColor,F.nonTerminalStroke),nonTerminalTextColor:z(e.primaryTextColor??e.textColor,F.nonTerminalTextColor),lineColor:z(e.lineColor,F.lineColor),markerFill:z(e.lineColor,F.markerFill),commentFill:z(e.labelBackground??e.tertiaryColor,F.commentFill),commentStroke:z(e.tertiaryBorderColor??e.lineColor,F.commentStroke),commentTextColor:z(e.tertiaryTextColor??e.textColor,F.commentTextColor),specialFill:z(e.tertiaryColor??e.secondaryColor,F.specialFill),specialStroke:z(e.tertiaryBorderColor??e.secondaryBorderColor,F.specialStroke),ruleNameColor:z(e.titleColor??e.textColor,F.ruleNameColor)}},"buildThemeDefaults"),E=n(e=>{const t=a(),n={...l(),...t.themeVariables??{},...v(e)},r=B(n),i={...t.railroad??{},...R(e)};return{compactMode:i.compactMode??r.compactMode,padding:M(i.padding,r.padding),verticalSeparation:M(i.verticalSeparation,r.verticalSeparation),horizontalSeparation:M(i.horizontalSeparation,r.horizontalSeparation),arcRadius:M(i.arcRadius,r.arcRadius),fontSize:M(i.fontSize,r.fontSize),fontFamily:N(i.fontFamily,r.fontFamily),terminalFill:z(i.terminalFill,r.terminalFill),terminalStroke:z(i.terminalStroke,r.terminalStroke),terminalTextColor:z(i.terminalTextColor,r.terminalTextColor),nonTerminalFill:z(i.nonTerminalFill,r.nonTerminalFill),nonTerminalStroke:z(i.nonTerminalStroke,r.nonTerminalStroke),nonTerminalTextColor:z(i.nonTerminalTextColor,r.nonTerminalTextColor),lineColor:z(i.lineColor,r.lineColor),strokeWidth:M(i.strokeWidth,r.strokeWidth),markerFill:z(i.markerFill,r.markerFill),commentFill:z(i.commentFill,r.commentFill),commentStroke:z(i.commentStroke,r.commentStroke),commentTextColor:z(i.commentTextColor,r.commentTextColor),specialFill:z(i.specialFill,r.specialFill),specialStroke:z(i.specialStroke,r.specialStroke),ruleNameColor:z(i.ruleNameColor,r.ruleNameColor),showMarkers:i.showMarkers??r.showMarkers,markerRadius:M(i.markerRadius,r.markerRadius)}},"buildRailroadStyleOptions"),D=n(e=>{const{fontFamily:t,fontSize:n,terminalFill:r,terminalStroke:i,terminalTextColor:a,nonTerminalFill:o,nonTerminalStroke:l,nonTerminalTextColor:s,lineColor:d,strokeWidth:m,markerFill:c,commentFill:h,commentStroke:p,commentTextColor:u,specialFill:g,specialStroke:T,ruleNameColor:f}=E(e);return`\n .railroad-diagram {\n font-family: ${t};\n font-size: ${n}px;\n }\n\n .railroad-terminal rect {\n fill: ${r};\n stroke: ${i};\n stroke-width: ${m}px;\n }\n\n .railroad-terminal text {\n fill: ${a};\n font-family: ${t};\n font-size: ${n}px;\n text-anchor: middle;\n dominant-baseline: middle;\n }\n\n .railroad-nonterminal rect {\n fill: ${o};\n stroke: ${l};\n stroke-width: ${m}px;\n }\n\n .railroad-nonterminal text {\n fill: ${s};\n font-family: ${t};\n font-size: ${n}px;\n text-anchor: middle;\n dominant-baseline: middle;\n }\n\n .railroad-line {\n stroke: ${d};\n stroke-width: ${m}px;\n fill: none;\n }\n\n .railroad-start circle,\n .railroad-end circle {\n fill: ${c};\n }\n\n .railroad-comment ellipse {\n fill: ${h};\n stroke: ${p};\n stroke-width: ${m}px;\n }\n\n .railroad-comment text {\n fill: ${u};\n font-style: italic;\n font-family: ${t};\n font-size: ${n}px;\n text-anchor: middle;\n dominant-baseline: middle;\n }\n\n .railroad-special rect {\n fill: ${g};\n stroke: ${T};\n stroke-width: ${m}px;\n stroke-dasharray: 5,3;\n }\n\n .railroad-special text {\n fill: ${s};\n font-family: ${t};\n font-size: ${n}px;\n text-anchor: middle;\n dominant-baseline: middle;\n }\n\n .railroad-rule-name {\n font-weight: bold;\n fill: ${f};\n font-family: ${t};\n font-size: ${n}px;\n }\n\n .railroad-group {\n /* Grouping container, no specific styles */\n }\n`},"getStyles"),O=(n(e=class{constructor(){this.d=""}moveTo(e,t){return this.d+=`M ${e} ${t} `,this}lineTo(e,t){return this.d+=`L ${e} ${t} `,this}horizontalTo(e){return this.d+=`H ${e} `,this}verticalTo(e){return this.d+=`V ${e} `,this}arcTo(e,t,n,r,i,a,o){return this.d+=`A ${e} ${t} ${n} ${r?1:0} ${i?1:0} ${a} ${o} `,this}build(){return this.d.trim()}},"PathBuilder"),e),W=(n(t=class{constructor(e,t=E()){this.textCache=new Map,this.svg=e,this.config=t}measureText(e){if(this.textCache.has(e))return this.textCache.get(e);const t=this.svg.append("text").attr("font-family",this.config.fontFamily).attr("font-size",this.config.fontSize).text(e),n=t.node().getBBox(),r={width:n.width,height:n.height};return t.remove(),this.textCache.set(e,r),r}renderTerminal(e,t){const n=this.measureText(t),r=n.width+2*this.config.padding,i=n.height+2*this.config.padding,a=e.append("g").attr("class","railroad-terminal");return a.append("rect").attr("x",0).attr("y",0).attr("width",r).attr("height",i).attr("rx",10).attr("ry",10),a.append("text").attr("x",r/2).attr("y",i/2).text(t),{element:a.node(),dimensions:{width:r,height:i,up:i/2,down:i/2}}}renderNonTerminal(e,t){const n=this.measureText(t),r=n.width+2*this.config.padding,i=n.height+2*this.config.padding,a=e.append("g").attr("class","railroad-nonterminal");return a.append("rect").attr("x",0).attr("y",0).attr("width",r).attr("height",i),a.append("text").attr("x",r/2).attr("y",i/2).text(t),{element:a.node(),dimensions:{width:r,height:i,up:i/2,down:i/2}}}renderSequence(e,t){const n=t.map(t=>this.renderExpression(e,t));let r=0,i=0,a=0;for(const s of n)r+=s.dimensions.width,i=Math.max(i,s.dimensions.up),a=Math.max(a,s.dimensions.down);r+=(n.length-1)*this.config.horizontalSeparation;const o=e.append("g").attr("class","railroad-sequence");let l=0;for(let s=0;s<n.length;s++){const e=n[s],t=i-e.dimensions.up;if(o.node().appendChild(e.element).setAttribute("transform",`translate(${l}, ${t})`),s<n.length-1){const t=l+e.dimensions.width,n=t+this.config.horizontalSeparation,r=i;o.append("path").attr("class","railroad-line").attr("d",(new O).moveTo(t,r).lineTo(n,r).build())}l+=e.dimensions.width+this.config.horizontalSeparation}return{element:o.node(),dimensions:{width:r,height:i+a,up:i,down:a}}}renderChoice(e,t){const n=t.map(t=>this.renderExpression(e,t));let r=0,i=0;for(const m of n)r=Math.max(r,m.dimensions.width),i+=m.dimensions.height;i+=(n.length-1)*this.config.verticalSeparation;const a=this.config.arcRadius,o=r+4*a,l=e.append("g").attr("class","railroad-choice");let s=0;const d=i/2;for(const m of n){const e=s,t=e+m.dimensions.up,n=2*a+(r-m.dimensions.width)/2;l.node().appendChild(m.element).setAttribute("transform",`translate(${n}, ${e})`);const i=new O,c=t>d;t===d?i.moveTo(0,d).lineTo(n,t):i.moveTo(0,d).arcTo(a,a,0,!1,c,a,d+(c?a:-a)).lineTo(a,t-(c?a:-a)).arcTo(a,a,0,!1,!c,2*a,t).lineTo(n,t),l.append("path").attr("class","railroad-line").attr("d",i.build());const h=new O,p=n+m.dimensions.width,u=o-2*a;t===d?h.moveTo(p,t).lineTo(o,d):h.moveTo(p,t).lineTo(u,t).arcTo(a,a,0,!1,!c,o-a,t+(c?-a:a)).lineTo(o-a,d+(c?a:-a)).arcTo(a,a,0,!1,c,o,d),l.append("path").attr("class","railroad-line").attr("d",h.build()),s+=m.dimensions.height+this.config.verticalSeparation}return{element:l.node(),dimensions:{width:o,height:i,up:d,down:i-d}}}renderOptional(e,t){const n=this.renderExpression(e,t),r=this.config.arcRadius,i=2*r,a=n.dimensions.width+4*r,o=n.dimensions.height+i,l=e.append("g").attr("class","railroad-optional"),s=2*r,d=i;l.node().appendChild(n.element).setAttribute("transform",`translate(${s}, ${d})`);const m=d+n.dimensions.up,c=(new O).moveTo(0,m).lineTo(2*r,m);l.append("path").attr("class","railroad-line").attr("d",c.build());const h=(new O).moveTo(s+n.dimensions.width,m).lineTo(a,m);l.append("path").attr("class","railroad-line").attr("d",h.build());const p=(new O).moveTo(0,m).arcTo(r,r,0,!1,!1,r,m-r).lineTo(r,r).arcTo(r,r,0,!1,!0,2*r,0).lineTo(a-2*r,0).arcTo(r,r,0,!1,!0,a-r,r).lineTo(a-r,m-r).arcTo(r,r,0,!1,!1,a,m);return l.append("path").attr("class","railroad-line").attr("d",p.build()),{element:l.node(),dimensions:{width:a,height:o,up:m,down:o-m}}}renderRepetition(e,t,n){const r=this.renderExpression(e,t),i=this.config.arcRadius,a=2*i,o=r.dimensions.width+4*i,l=0===n,s=r.dimensions.height+a+(l?a:0),d=e.append("g").attr("class","railroad-repetition"),m=2*i,c=l?a:0;d.node().appendChild(r.element).setAttribute("transform",`translate(${m}, ${c})`);const h=c+r.dimensions.up;d.append("path").attr("class","railroad-line").attr("d",(new O).moveTo(0,h).lineTo(2*i,h).build()),d.append("path").attr("class","railroad-line").attr("d",(new O).moveTo(m+r.dimensions.width,h).lineTo(o,h).build());const p=c+r.dimensions.height+i,u=(new O).moveTo(m+r.dimensions.width,h).arcTo(i,i,0,!1,!0,m+r.dimensions.width+i,h+i).lineTo(m+r.dimensions.width+i,p).arcTo(i,i,0,!1,!0,m+r.dimensions.width,p+i).lineTo(2*i,p+i).arcTo(i,i,0,!1,!0,i,p).lineTo(i,h+i).arcTo(i,i,0,!1,!0,2*i,h);if(d.append("path").attr("class","railroad-line").attr("d",u.build()),l){const e=(new O).moveTo(0,h).arcTo(i,i,0,!1,!1,i,h-i).lineTo(i,i).arcTo(i,i,0,!1,!0,2*i,0).lineTo(o-2*i,0).arcTo(i,i,0,!1,!0,o-i,i).lineTo(o-i,h-i).arcTo(i,i,0,!1,!1,o,h);d.append("path").attr("class","railroad-line").attr("d",e.build())}return{element:d.node(),dimensions:{width:o,height:s,up:h,down:s-h}}}renderSpecial(e,t){const n=this.measureText("? "+t+" ?"),r=n.width+2*this.config.padding,i=n.height+2*this.config.padding,a=e.append("g").attr("class","railroad-special");return a.append("rect").attr("x",0).attr("y",0).attr("width",r).attr("height",i),a.append("text").attr("x",r/2).attr("y",i/2).text("? "+t+" ?"),{element:a.node(),dimensions:{width:r,height:i,up:i/2,down:i/2}}}renderExpression(e,t){switch(t.type){case"terminal":return this.renderTerminal(e,t.value);case"nonterminal":return this.renderNonTerminal(e,t.name);case"sequence":return this.renderSequence(e,t.elements);case"choice":return this.renderChoice(e,t.alternatives);case"optional":return this.renderOptional(e,t.element);case"repetition":return this.renderRepetition(e,t.element,t.min);case"special":return this.renderSpecial(e,t.text);default:throw new Error(`Unknown node type: ${t.type}`)}}renderRule(e,t){const n=this.svg.append("g").attr("class","railroad-rule").attr("transform",`translate(0, ${t})`),r=e.name+" =",i=this.measureText(r).width+20,a=i+20,o=n.append("g"),l=this.renderExpression(o,e.definition),s=Math.max(20,l.dimensions.up),d=s-l.dimensions.up;return o.attr("transform",`translate(${a}, ${d})`),n.append("g").attr("class","railroad-rule-name-group").append("text").attr("class","railroad-rule-name").attr("x",0).attr("y",s).text(r),n.append("g").attr("class","railroad-start").append("circle").attr("cx",i).attr("cy",s).attr("r",this.config.markerRadius),n.append("g").attr("class","railroad-end").append("circle").attr("cx",a+l.dimensions.width+10).attr("cy",s).attr("r",this.config.markerRadius),n.append("path").attr("class","railroad-line").attr("d",(new O).moveTo(i+this.config.markerRadius,s).lineTo(a,s).build()),n.append("path").attr("class","railroad-line").attr("d",(new O).moveTo(a+l.dimensions.width,s).lineTo(a+l.dimensions.width+10-this.config.markerRadius,s).build()),{height:Math.max(40,d+l.dimensions.height+2*this.config.padding),width:a+l.dimensions.width+10+this.config.markerRadius}}renderDiagram(e){let t=this.config.padding,n=0;for(const r of e){const e=this.renderRule(r,t);t+=e.height+this.config.verticalSeparation,n=Math.max(n,e.width)}return{width:n+2*this.config.padding,height:t+this.config.padding}}},"RailroadRenderer"),t),q=n((e,t,n)=>{s(e,t.height,t.width,n),e.attr("viewBox",`0 0 ${t.width} ${t.height}`)},"configureRailroadSvgSize"),V={draw:n((e,t,n)=>{r.debug("[Railroad] Rendering diagram\n"+e);try{const e=i(t);e.attr("class","railroad-diagram");const n=a().railroad,o=n?.useMaxWidth??!0,l=C.getRules();if(r.debug(`[Railroad] Rendering ${l.length} rules`),0===l.length)return r.warn("[Railroad] No rules to render"),void q(e,{height:100,width:200},o);const s=new W(e,E()).renderDiagram(l);q(e,s,o),r.debug("[Railroad] Render complete")}catch(o){throw r.error("[Railroad] Render error:",o),o}},"draw")};export{C as d,D as g,V as r};
@@ -0,0 +1 @@
1
+ import{_ as e,l as n}from"./mermaid.core-BOFC-9Zd.js";import{i as t,G as r}from"./graph-BD-RY4fR.js";import{b as o,m as a}from"./map-yP9qyz-l.js";function s(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:i(e),edges:d(e)};return t(e.graph())||(n.value=function(e){return o(e,4)}(e.graph())),n}function i(e){return a(e.nodes(),function(n){var r=e.node(n),o=e.parent(n),a={v:n};return t(r)||(a.value=r),t(o)||(a.parent=o),a})}function d(e){return a(e.edges(),function(n){var r=e.edge(n),o={v:n.v,w:n.w};return t(n.name)||(o.name=n.name),t(r)||(o.value=r),o})}var c=new Map,l=new Map,g=new Map,u=e(()=>{l.clear(),g.clear(),c.clear()},"clear"),f=e((e,t)=>{const r=l.get(t)||[];return n.trace("In isDescendant",t," ",e," = ",r.includes(e)),r.includes(e)},"isDescendant"),h=e((e,t)=>{const r=l.get(t)||[];return n.info("Descendants of ",t," is ",r),n.info("Edge is ",e),e.v!==t&&e.w!==t&&(r?r.includes(e.v)||f(e.v,t)||f(e.w,t)||r.includes(e.w):(n.debug("Tilt, ",t,",not in descendants"),!1))},"edgeInCluster"),p=e((e,t,r,o)=>{n.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const a=t.children(e)||[];e!==o&&a.push(e),n.warn("Copying (nodes) clusterId",e,"nodes",a),a.forEach(a=>{if(t.children(a).length>0)p(a,t,r,o);else{const s=t.node(a);n.info("cp ",a," to ",o," with parent ",e),r.setNode(a,s),o!==t.parent(a)&&(n.warn("Setting parent",a,t.parent(a)),r.setParent(a,t.parent(a))),e!==o&&a!==e?(n.debug("Setting parent",a,e),r.setParent(a,e)):(n.info("In copy ",e,"root",o,"data",t.node(e),o),n.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e));const i=t.edges(a);n.debug("Copying Edges",i),i.forEach(a=>{n.info("Edge",a);const s=t.edge(a.v,a.w,a.name);n.info("Edge data",s,o);try{if(h(a,o)){const e=l.get(o)||[],i=e.includes(a.v)||f(a.v,o)||a.v===o,d=e.includes(a.w)||f(a.w,o)||a.w===o;if(i&&d)n.info("Copying as ",a.v,a.w,s,a.name),r.setEdge(a.v,a.w,s,a.name),n.info("newGraph edges ",r.edges(),r.edge(r.edges()[0]));else{const e=i?o:a.v,r=d?o:a.w;n.info("Rebinding cross-boundary edge as ",e,r,s,a.name),t.setEdge(e,r,s,a.name)}}else n.info("Skipping copy of edge ",a.v,"--\x3e",a.w," rootId: ",o," clusterId:",e)}catch(i){n.error(i)}})}n.debug("Removing node",a),t.removeNode(a)})},"copy"),w=e((e,n)=>{const t=n.children(e);let r=[...t];for(const o of t)g.set(o,e),r=[...r,...w(o,n)];return r},"extractDescendants"),v=e((e,n,t)=>{const r=e.edges().filter(e=>e.v===n||e.w===n),o=e.edges().filter(e=>e.v===t||e.w===t),a=r.map(e=>({v:e.v===n?t:e.v,w:e.w===n?n:e.w})),s=o.map(e=>({v:e.v,w:e.w}));return a.filter(e=>s.some(n=>e.v===n.v&&e.w===n.w))},"findCommonEdges"),m=e((e,t,r)=>{const o=t.children(e);if(n.trace("Searching children of id ",e,o),o.length<1)return e;let a;for(const n of o){const e=m(n,t,r),o=v(t,r,e);if(e){if(!(o.length>0))return e;a=e}}return a},"findNonClusterChild"),b=e(e=>c.has(e)&&c.get(e).externalConnections&&c.has(e)?c.get(e).id:e,"getAnchorId"),x=e((e,t)=>{if(!e||t>10)n.debug("Opting out, no graph ");else{n.debug("Opting in, graph "),e.nodes().forEach(function(t){e.children(t).length>0&&(n.warn("Cluster identified",t," Replacement id in edges: ",m(t,e,t)),l.set(t,w(t,e)),c.set(t,{id:m(t,e,t),clusterData:e.node(t)}))}),e.nodes().forEach(function(t){const r=e.children(t),o=e.edges();r.length>0?(n.debug("Cluster identified",t,l),o.forEach(e=>{f(e.v,t)^f(e.w,t)&&(n.warn("Edge: ",e," leaves cluster ",t),n.warn("Descendants of XXX ",t,": ",l.get(t)),c.get(t).externalConnections=!0)})):n.debug("Not a cluster ",t,l)});for(let n of c.keys()){const t=c.get(n).id,r=e.parent(t);r!==n&&c.has(r)&&!c.get(r).externalConnections&&(c.get(n).id=r);const o=e.edges().some(e=>e.v===n);if(t&&c.get(n)?.externalConnections&&o&&N(e,t,n)){const r=y(e,n,e.parent(t));r&&(c.get(n).id=r)}}e.edges().forEach(function(t){const r=e.edge(t);n.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),n.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let o=t.v,a=t.w;if(n.warn("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c.get(t.v)," --- ",c.get(t.w)),c.get(t.v)||c.get(t.w)){if(n.warn("Fixing and trying - removing XXX",t.v,t.w,t.name),o=b(t.v),a=b(t.w),e.removeEdge(t.v,t.w,t.name),o!==t.v){const n=e.parent(o);c.get(n).externalConnections=!0,r.fromCluster=t.v}if(a!==t.w){const n=e.parent(a);c.get(n).externalConnections=!0,r.toCluster=t.w}n.warn("Fix Replacing with XXX",o,a,t.name),e.setEdge(o,a,r,t.name)}}),n.warn("Adjusted Graph",s(e)),C(e,0),n.trace(c)}},"adjustClustersAndEdges"),C=e((e,t)=>{if(n.warn("extractor - ",t,s(e),e.children("D")),t>10)return void n.error("Bailing out");let o=e.nodes(),a=!1;for(const n of o){const t=e.children(n);a=a||t.length>0}if(a){n.debug("Nodes = ",o,t);for(const a of o)if(n.debug("Extracting node",a,c,c.has(a)&&!c.get(a).externalConnections,!e.parent(a),e.node(a),e.children("D")," Depth ",t),c.has(a))if(c.get(a)?.clusterData?.explicitDir&&e.children(a)&&e.children(a).length>0){n.warn("Cluster with explicit dir, creating subgraph for children",a,t);const o=c.get(a).clusterData.dir,i=new r({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});p(a,e,i,a);const d=e.node(a)||{};e.setNode(a,{...d,clusterNode:!0,id:a,clusterData:c.get(a).clusterData,label:c.get(a).label,graph:i}),n.warn("Subgraph for cluster with explicit dir created:",a,s(i))}else if(!c.get(a).externalConnections&&e.children(a)&&e.children(a).length>0){n.warn("Cluster without external connections, without a parent and with children",a,t);let o="TB"===e.graph().rankdir?"LR":"TB";c.get(a)?.clusterData?.dir&&(o=c.get(a).clusterData.dir,n.warn("Fixing dir",c.get(a).clusterData.dir,o));const i=new r({multigraph:!0,compound:!0}).setGraph({rankdir:o,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});p(a,e,i,a);const d=e.node(a)||{};e.setNode(a,{...d,clusterNode:!0,id:a,clusterData:c.get(a).clusterData,label:c.get(a).label,graph:i}),n.debug("Old graph after copy",s(e))}else n.warn("Cluster ** ",a," **not meeting the criteria !externalConnections:",!c.get(a).externalConnections," no parent: ",!e.parent(a)," children ",e.children(a)&&e.children(a).length>0,e.children("D"),t),n.debug(c);else n.debug("Not a cluster",a,t);o=e.nodes(),n.warn("New list of nodes",o);for(const r of o){const o=e.node(r);n.warn(" Now next level",r,o),o?.clusterNode&&C(o.graph,t+1)}}else n.debug("Done, no node has children",e.nodes())},"extractor"),E=e((e,n)=>{if(0===n.length)return[];let t=Object.assign([],n);return n.forEach(n=>{const r=e.children(n),o=E(e,r);t=[...t,...o]}),t},"sorter"),D=e(e=>E(e,e.children()),"sortNodesByHierarchy"),N=e((e,n,t)=>{let r=e.parent(n);for(;r&&r!==t;){const n=c.get(r);if(n&&!n.externalConnections)return!0;r=e.parent(r)}return!1},"isNodeInExtractableCluster"),y=e((e,n,t)=>{const r=e.children(n)??[];for(const o of r){if(o===t||f(o,t))continue;const r=m(o,e,n);if(r&&!N(e,r,n))return r}return null},"findSafeAnchorNode");export{x as a,c as b,u as c,m as f,D as s,s as w};
@@ -0,0 +1 @@
1
+ var t,e;import{g as s}from"./chunk-5VM5RSS4-BCeKWpkp.js";import{g as i}from"./chunk-XXDRQBXY-CylbQ77X.js";import{s as n}from"./chunk-VR4S4FIN-bqXmDTmi.js";import{_ as a,l as r,c as u,v as l,x as o,y as c,d as h,b as p,a as d,s as A,g as y,o as m,p as g,k as C,q as b,r as k,i as E,a5 as f}from"./mermaid.core-BOFC-9Zd.js";import{f as T}from"./chunk-32BRIVSS-CcFgBN8P.js";import{p as F}from"./purify.es-BNLkGfTg.js";var D=function(){var t=a(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,18],s=[1,19],i=[1,20],n=[1,41],r=[1,26],u=[1,42],l=[1,24],o=[1,25],c=[1,32],h=[1,33],p=[1,34],d=[1,45],A=[1,35],y=[1,36],m=[1,37],g=[1,38],C=[1,27],b=[1,28],k=[1,29],E=[1,30],f=[1,31],T=[1,44],F=[1,46],D=[1,43],B=[1,47],_=[1,9],S=[1,8,9],N=[1,58],$=[1,59],L=[1,60],x=[1,61],I=[1,62],v=[1,63],O=[1,64],w=[1,8,9,41],R=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],M=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],G=[13,60,86,100,102,103],U=[13,60,73,74,86,100,102,103],z=[13,60,68,69,70,71,72,86,100,102,103],Y=[1,103],j=[1,121],K=[1,117],W=[1,113],Q=[1,119],X=[1,114],H=[1,115],q=[1,116],V=[1,118],J=[1,120],Z=[22,50,60,61,82,86,87,88,89,90],tt=[1,128],et=[12,39],st=[1,8,9,39,41,44,46],it=[1,8,9,22],nt=[1,153],at=[1,8,9,61],rt=[1,8,9,22,50,60,61,82,86,87,88,89,90],ut={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:a(function(t,e,s,i,n,a,r){var u=a.length-1;switch(n){case 8:this.$=a[u-1];break;case 9:case 10:case 13:case 15:case 46:this.$=a[u];break;case 11:case 14:this.$=a[u-2]+"."+a[u];break;case 12:case 16:case 110:this.$=a[u-1]+a[u];break;case 17:case 18:this.$=a[u-1]+"~"+a[u]+"~";break;case 19:i.addRelation(a[u]);break;case 20:a[u-1].title=i.cleanupLabel(a[u]),i.addRelation(a[u-1]);break;case 31:this.$=a[u].trim(),i.setAccTitle(this.$);break;case 32:case 33:this.$=a[u].trim(),i.setAccDescription(this.$);break;case 34:i.addClassesToNamespace(a[u-3],a[u-1][0],a[u-1][1]),i.popNamespace();break;case 35:i.addClassesToNamespace(a[u-4],a[u-1][0],a[u-1][1]),i.popNamespace();break;case 36:this.$=i.addNamespace(a[u]);break;case 37:this.$=i.addNamespace(a[u-1],a[u]);break;case 38:this.$=[[a[u]],[]];break;case 39:this.$=[[a[u-1]],[]];break;case 40:a[u][0].unshift(a[u-2]),this.$=a[u];break;case 41:this.$=[[],[a[u]]];break;case 42:this.$=[[],[a[u-1]]];break;case 43:a[u][1].unshift(a[u-2]),this.$=a[u];break;case 44:case 45:this.$=[[],[]];break;case 48:i.setCssClass(a[u-2],a[u]);break;case 49:i.addMembers(a[u-3],a[u-1]);break;case 51:i.setCssClass(a[u-5],a[u-3]),i.addMembers(a[u-5],a[u-1]);break;case 52:i.addAnnotation(a[u-3],a[u-1]);break;case 53:i.addAnnotation(a[u-6],a[u-4]),i.addMembers(a[u-6],a[u-1]);break;case 54:i.addAnnotation(a[u-5],a[u-3]);break;case 55:this.$=a[u],i.addClass(a[u]);break;case 56:this.$=a[u-1],i.addClass(a[u-1]),i.setClassLabel(a[u-1],a[u]);break;case 60:i.addAnnotation(a[u],a[u-2]);break;case 61:case 74:case 107:this.$=[a[u]];break;case 62:a[u].push(a[u-1]),this.$=a[u];break;case 63:case 65:case 66:break;case 64:i.addMember(a[u-1],i.cleanupLabel(a[u]));break;case 67:this.$={id1:a[u-2],id2:a[u],relation:a[u-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:a[u-3],id2:a[u],relation:a[u-1],relationTitle1:a[u-2],relationTitle2:"none"};break;case 69:this.$={id1:a[u-3],id2:a[u],relation:a[u-2],relationTitle1:"none",relationTitle2:a[u-1]};break;case 70:this.$={id1:a[u-4],id2:a[u],relation:a[u-2],relationTitle1:a[u-3],relationTitle2:a[u-1]};break;case 71:this.$=i.addNote(a[u],a[u-1]);break;case 72:this.$=i.addNote(a[u]);break;case 73:this.$=a[u-2],i.defineClass(a[u-1],a[u]);break;case 75:this.$=a[u-2].concat([a[u]]);break;case 76:i.setDirection("TB");break;case 77:i.setDirection("BT");break;case 78:i.setDirection("RL");break;case 79:i.setDirection("LR");break;case 80:this.$={type1:a[u-2],type2:a[u],lineType:a[u-1]};break;case 81:this.$={type1:"none",type2:a[u],lineType:a[u-1]};break;case 82:this.$={type1:a[u-1],type2:"none",lineType:a[u]};break;case 83:this.$={type1:"none",type2:"none",lineType:a[u]};break;case 84:this.$=i.relationType.AGGREGATION;break;case 85:this.$=i.relationType.EXTENSION;break;case 86:this.$=i.relationType.COMPOSITION;break;case 87:this.$=i.relationType.DEPENDENCY;break;case 88:this.$=i.relationType.LOLLIPOP;break;case 89:this.$=i.lineType.LINE;break;case 90:this.$=i.lineType.DOTTED_LINE;break;case 91:case 97:this.$=a[u-2],i.setClickEvent(a[u-1],a[u]);break;case 92:case 98:this.$=a[u-3],i.setClickEvent(a[u-2],a[u-1]),i.setTooltip(a[u-2],a[u]);break;case 93:this.$=a[u-2],i.setLink(a[u-1],a[u]);break;case 94:this.$=a[u-3],i.setLink(a[u-2],a[u-1],a[u]);break;case 95:this.$=a[u-3],i.setLink(a[u-2],a[u-1]),i.setTooltip(a[u-2],a[u]);break;case 96:this.$=a[u-4],i.setLink(a[u-3],a[u-2],a[u]),i.setTooltip(a[u-3],a[u-1]);break;case 99:this.$=a[u-3],i.setClickEvent(a[u-2],a[u-1],a[u]);break;case 100:this.$=a[u-4],i.setClickEvent(a[u-3],a[u-2],a[u-1]),i.setTooltip(a[u-3],a[u]);break;case 101:this.$=a[u-3],i.setLink(a[u-2],a[u]);break;case 102:this.$=a[u-4],i.setLink(a[u-3],a[u-1],a[u]);break;case 103:this.$=a[u-4],i.setLink(a[u-3],a[u-1]),i.setTooltip(a[u-3],a[u]);break;case 104:this.$=a[u-5],i.setLink(a[u-4],a[u-2],a[u]),i.setTooltip(a[u-4],a[u-1]);break;case 105:this.$=a[u-2],i.setCssStyle(a[u-1],a[u]);break;case 106:i.setCssClass(a[u-1],a[u]);break;case 108:a[u-2].push(a[u]),this.$=a[u-2]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:i,38:22,42:n,43:23,46:r,48:u,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:y,64:m,65:g,75:C,76:b,78:k,82:E,83:f,86:T,100:F,102:D,103:B},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(_,[2,5],{8:[1,48]}),{8:[1,49]},t(S,[2,19],{22:[1,50]}),t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),t(S,[2,26]),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),{34:[1,51]},{36:[1,52]},t(S,[2,33]),t(S,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:N,69:$,70:L,71:x,72:I,73:v,74:O}),{39:[1,65]},t(w,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(S,[2,65]),t(S,[2,66]),{16:69,60:d,86:T,100:F,102:D},{16:39,17:40,19:70,60:d,86:T,100:F,102:D,103:B},{16:39,17:40,19:71,60:d,86:T,100:F,102:D,103:B},{16:39,17:40,19:72,60:d,86:T,100:F,102:D,103:B},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:d,86:T,100:F,102:D,103:B},{13:R,55:76},{58:78,60:[1,79]},t(S,[2,76]),t(S,[2,77]),t(S,[2,78]),t(S,[2,79]),t(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:d,86:T,100:F,102:D,103:B}),t(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:d,86:T,100:F,102:D,103:B},{16:39,17:40,19:87,60:d,86:T,100:F,102:D,103:B},t(M,[2,133]),t(M,[2,134]),t(M,[2,135]),t(M,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(_,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:e,35:s,37:i,42:n,46:r,48:u,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:y,64:m,65:g,75:C,76:b,78:k,82:E,83:f,86:T,100:F,102:D,103:B}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:e,35:s,37:i,38:22,42:n,43:23,46:r,48:u,51:l,52:o,54:c,56:h,57:p,60:d,62:A,63:y,64:m,65:g,75:C,76:b,78:k,82:E,83:f,86:T,100:F,102:D,103:B},t(S,[2,20]),t(S,[2,31]),t(S,[2,32]),{13:[1,91],16:39,17:40,19:90,60:d,86:T,100:F,102:D,103:B},{53:92,66:56,67:57,68:N,69:$,70:L,71:x,72:I,73:v,74:O},t(S,[2,64]),{67:93,73:v,74:O},t(G,[2,83],{66:94,68:N,69:$,70:L,71:x,72:I}),t(U,[2,84]),t(U,[2,85]),t(U,[2,86]),t(U,[2,87]),t(U,[2,88]),t(z,[2,89]),t(z,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:u,54:c,56:h},{16:100,60:d,86:T,100:F,102:D},{41:[1,102],45:101,51:Y},{16:104,60:d,86:T,100:F,102:D},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:j,50:K,59:110,60:W,82:Q,84:111,85:112,86:X,87:H,88:q,89:V,90:J},{60:[1,122]},{13:R,55:123},t(w,[2,72]),t(w,[2,138]),{22:j,50:K,59:124,60:W,61:[1,125],82:Q,84:111,85:112,86:X,87:H,88:q,89:V,90:J},t(Z,[2,74]),{16:39,17:40,19:126,60:d,86:T,100:F,102:D,103:B},t(P,[2,16]),t(P,[2,17]),t(P,[2,18]),{11:127,12:tt,39:[2,36]},t(et,[2,9],{16:85,17:86,15:130,18:[1,129],60:d,86:T,100:F,102:D,103:B}),t(et,[2,10]),t(st,[2,55],{11:131,12:tt}),t(_,[2,7]),{9:[1,132]},t(it,[2,67]),{16:39,17:40,19:133,60:d,86:T,100:F,102:D,103:B},{13:[1,135],16:39,17:40,19:134,60:d,86:T,100:F,102:D,103:B},t(G,[2,82],{66:136,68:N,69:$,70:L,71:x,72:I}),t(G,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:u,54:c,56:h},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(w,[2,48],{39:[1,142]}),{41:[1,143]},t(w,[2,50]),{41:[2,61],45:144,51:Y},{47:[1,145]},{16:39,17:40,19:146,60:d,86:T,100:F,102:D,103:B},t(S,[2,91],{13:[1,147]}),t(S,[2,93],{13:[1,149],77:[1,148]}),t(S,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(S,[2,105],{61:nt}),t(at,[2,107],{85:154,22:j,50:K,60:W,82:Q,86:X,87:H,88:q,89:V,90:J}),t(rt,[2,109]),t(rt,[2,111]),t(rt,[2,112]),t(rt,[2,113]),t(rt,[2,114]),t(rt,[2,115]),t(rt,[2,116]),t(rt,[2,117]),t(rt,[2,118]),t(rt,[2,119]),t(S,[2,106]),t(w,[2,71]),t(S,[2,73],{61:nt}),{60:[1,155]},t(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:d,86:T,100:F,102:D,103:B},t(et,[2,12]),t(st,[2,56]),{1:[2,4]},t(it,[2,69]),t(it,[2,68]),{16:39,17:40,19:158,60:d,86:T,100:F,102:D,103:B},t(G,[2,80]),t(w,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:u,54:c,56:h},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:u,54:c,56:h},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:u,54:c,56:h},{45:163,51:Y},t(w,[2,49]),{41:[2,62]},t(w,[2,52],{39:[1,164]}),t(S,[2,60]),t(S,[2,92]),t(S,[2,94]),t(S,[2,95],{77:[1,165]}),t(S,[2,98]),t(S,[2,99],{13:[1,166]}),t(S,[2,101],{13:[1,168],77:[1,167]}),{22:j,50:K,60:W,82:Q,84:169,85:112,86:X,87:H,88:q,89:V,90:J},t(rt,[2,110]),t(Z,[2,75]),{14:[1,170]},t(et,[2,11]),t(it,[2,70]),t(w,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:Y},t(S,[2,96]),t(S,[2,100]),t(S,[2,102]),t(S,[2,103],{77:[1,174]}),t(at,[2,108],{85:154,22:j,50:K,60:W,82:Q,86:X,87:H,88:q,89:V,90:J}),t(st,[2,8]),t(w,[2,51]),{41:[1,175]},t(w,[2,54]),t(S,[2,104]),t(w,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:a(function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},"parseError"),parse:a(function(t){var e=this,s=[0],i=[],n=[null],r=[],u=this.table,l="",o=0,c=0,h=r.slice.call(arguments,1),p=Object.create(this.lexer),d={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(d.yy[A]=this.yy[A]);p.setInput(t,d.yy),d.yy.lexer=p,d.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var y=p.yylloc;r.push(y);var m=p.options&&p.options.ranges;function g(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,a(function(t){s.length=s.length-2*t,n.length=n.length-t,r.length=r.length-t},"popStack"),a(g,"lex");for(var C,b,k,E,f,T,F,D,B={};;){if(b=s[s.length-1],this.defaultActions[b]?k=this.defaultActions[b]:(null==C&&(C=g()),k=u[b]&&u[b][C]),void 0===k||!k.length||!k[0]){var _;for(f in D=[],u[b])this.terminals_[f]&&f>2&&D.push("'"+this.terminals_[f]+"'");_=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[C]||C)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==C?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(_,{text:p.match,token:this.terminals_[C]||C,line:p.yylineno,loc:y,expected:D})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+C);switch(k[0]){case 1:s.push(C),n.push(p.yytext),r.push(p.yylloc),s.push(k[1]),C=null,c=p.yyleng,l=p.yytext,o=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[k[1]][1],B.$=n[n.length-T],B._$={first_line:r[r.length-(T||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(T||1)].first_column,last_column:r[r.length-1].last_column},m&&(B._$.range=[r[r.length-(T||1)].range[0],r[r.length-1].range[1]]),void 0!==(E=this.performAction.apply(B,[l,c,o,d.yy,k[1],n,r].concat(h))))return E;T&&(s=s.slice(0,-1*T*2),n=n.slice(0,-1*T),r=r.slice(0,-1*T)),s.push(this.productions_[k[1]][0]),n.push(B.$),r.push(B._$),F=u[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")},lt=function(){return{EOF:1,parseError:a(function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},"parseError"),setInput:a(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:a(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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(),{text:"",token:null,line:this.yylineno})},"reject"),less:a(function(t){this.unput(this.match.slice(t))},"less"),pastInput:a(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:a(function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},"test_match"),next:a(function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;a<n.length;a++)if((s=this._input.match(this.rules[n[a]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:a(function(){return this.next()||this.lex()},"lex"),begin:a(function(t){this.conditionStack.push(t)},"begin"),popState:a(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:a(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:a(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:a(function(t){this.begin(t)},"pushState"),stateStackSize:a(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:a(function(t,e,s,i){switch(s){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:case 5:case 14:case 31:case 37:case 41:case 48:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 59:case 62:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 36:return 8;case 15:case 16:return 7;case 17:case 38:case 46:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 23:return 80;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;case 30:case 40:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:this.popState(),this.less(0);break;case 34:case 44:return this.popState(),41;case 35:case 45:return"EOF_IN_STRUCT";case 39:return this.begin("class"),48;case 42:return this.popState(),this.popState(),41;case 43:return this.begin("class-body"),39;case 47:return"OPEN_IN_STRUCT";case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:case 66:case 67:case 68:return 77;case 69:case 70:return 69;case 71:case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:case 86:return 89;case 87:return 90;case 88:case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:case 97:return 50;case 98:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\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])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],inclusive:!0}}}}();function ot(){this.yy={}}return ut.lexer=lt,a(ot,"Parser"),ot.prototype=ut,ut.Parser=ot,new ot}();D.parser=D;var B=D,_=["#","+","~","-",""],S=(a(t=class{constructor(t,e){this.memberType=e,this.visibility="",this.classifier="",this.text="";const s=E(t,u());this.parseMember(s)}getDisplayDetails(){let t=this.visibility+f(this.id);return"method"===this.memberType&&(t+=`(${f(this.parameters.trim())})`,this.returnType&&(t+=" : "+f(this.returnType))),t=t.trim(),{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);if(s){const t=s[1]?s[1].trim():"";if(_.includes(t)&&(this.visibility=t),this.id=s[2],this.parameters=s[3]?s[3].trim():"",e=s[4]?s[4].trim():"",this.returnType=s[5]?s[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(t)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const s=t.length,i=t.substring(0,1),n=t.substring(s-1);_.includes(i)&&(this.visibility=i),/[$*]/.exec(n)&&(e=n),this.id=t.substring(""===this.visibility?0:1,""===e?s:s-1)}this.classifier=e,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();const s=`${this.visibility?"\\"+this.visibility:""}${f(this.id)}${"method"===this.memberType?`(${f(this.parameters)})${this.returnType?" : "+f(this.returnType):""}`:""}`;this.text=s.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;")&&(this.text=this.text.replace("\\&lt;","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},"ClassMember"),t),N="classId-",$=0,L=a(t=>C.sanitizeText(t,u()),"sanitizeText"),x=(a(e=class{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=a(t=>{const e=T();h(t).select("svg").selectAll("g").filter(function(){return null!==h(this).attr("title")}).on("mouseover",t=>{const s=h(t.currentTarget),i=s.attr("title");if(!i)return;const n=t.currentTarget.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(F.sanitize(i)).style("left",`${window.scrollX+n.left+n.width/2}px`).style("top",`${window.scrollY+n.bottom+4}px`),s.classed("hover",!0)}).on("mouseout",t=>{e.transition().duration(500).style("opacity",0),h(t.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=p,this.getAccTitle=d,this.setAccDescription=A,this.getAccDescription=y,this.setDiagramTitle=m,this.getDiagramTitle=g,this.getConfig=a(()=>u().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.popNamespace=this.popNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}splitClassNameAndType(t){const e=C.sanitizeText(t,u());let s="",i=e;if(e.indexOf("~")>0){const t=e.split("~");i=L(t[0]),s=L(t[1])}return{className:i,type:s}}setClassLabel(t,e){const s=C.sanitizeText(t,u());e&&(e=L(e));const{className:i}=this.splitClassNameAndType(s);this.classes.get(i).label=e,this.classes.get(i).text=`${e}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:""}`}addClass(t){const e=C.sanitizeText(t,u()),{className:s,type:i}=this.splitClassNameAndType(e);if(this.classes.has(s))return;const n=C.sanitizeText(s,u());this.classes.set(n,{id:n,type:i,label:n,text:`${n}${i?`&lt;${i}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:N+n+"-"+$}),$++}addInterface(t,e){const s={id:`interface${this.interfaces.length}`,label:t,classId:e};this.interfaces.push(s)}setDiagramId(t){this.diagramId=t}lookUpDomId(t){const e=C.sanitizeText(t,u());if(this.classes.has(e)){const t=this.classes.get(e).domId;return this.diagramId?`${this.diagramId}-${t}`:t}throw new Error("Class not found: "+e)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",b()}getClass(t){return this.classes.get(t)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(t){const e="number"==typeof t?`note${t}`:t;return this.notes.get(e)}getNotes(){return this.notes}addRelation(t){r.debug("Adding relation: "+JSON.stringify(t));const e=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];t.relation.type1!==this.relationType.LOLLIPOP||e.includes(t.relation.type2)?t.relation.type2!==this.relationType.LOLLIPOP||e.includes(t.relation.type1)?(this.addClass(t.id1),this.addClass(t.id2)):(this.addClass(t.id1),this.addInterface(t.id2,t.id1),t.id2="interface"+(this.interfaces.length-1)):(this.addClass(t.id2),this.addInterface(t.id1,t.id2),t.id1="interface"+(this.interfaces.length-1)),t.id1=this.splitClassNameAndType(t.id1).className,t.id2=this.splitClassNameAndType(t.id2).className,t.relationTitle1=C.sanitizeText(t.relationTitle1.trim(),u()),t.relationTitle2=C.sanitizeText(t.relationTitle2.trim(),u()),this.relations.push(t)}addAnnotation(t,e){const s=this.splitClassNameAndType(t).className;this.classes.get(s).annotations.push(e)}addMember(t,e){this.addClass(t);const s=this.splitClassNameAndType(t).className,i=this.classes.get(s);if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(L(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(new S(t,"method")):t&&i.members.push(new S(t,"attribute"))}}addMembers(t,e){Array.isArray(e)&&(e.reverse(),e.forEach(e=>this.addMember(t,e)))}addNote(t,e){const s=this.notes.size,i={id:`note${s}`,class:e,text:t,index:s};return this.notes.set(i.id,i),i.id}cleanupLabel(t){return t.startsWith(":")&&(t=t.substring(1)),L(t.trim())}setCssClass(t,e){t.split(",").forEach(t=>{let s=t;/\d/.exec(t[0])&&(s=N+s),s=this.splitClassNameAndType(s).className;const i=this.classes.get(s);i&&(i.cssClasses+=" "+e)})}defineClass(t,e){for(const s of t){let t=this.styleClasses.get(s);void 0===t&&(t={id:s,styles:[],textStyles:[]},this.styleClasses.set(s,t)),e&&e.forEach(e=>{if(/color/.exec(e)){const s=e.replace("fill","bgFill");t.textStyles.push(s)}t.styles.push(e)}),this.classes.forEach(t=>{t.cssClasses.includes(s)&&t.styles.push(...e.flatMap(t=>t.split(",")))})}}setTooltip(t,e){t.split(",").forEach(t=>{if(void 0!==e){const s=this.splitClassNameAndType(t).className,i=this.classes.get(s);i&&(i.tooltip=L(e))}})}getTooltip(t,e){return e&&this.namespaces.has(e)?this.namespaces.get(e).classes.get(t).tooltip:this.classes.get(t).tooltip}setLink(t,e,s){const i=u();t.split(",").forEach(t=>{let n=t;/\d/.exec(t[0])&&(n=N+n),n=this.splitClassNameAndType(n).className;const a=this.classes.get(n);a&&(a.link=c.formatUrl(e,i),"sandbox"===i.securityLevel?a.linkTarget="_top":a.linkTarget="string"==typeof s?L(s):"_blank")}),this.setCssClass(t,"clickable")}setClickEvent(t,e,s){t.split(",").forEach(t=>{this.setClickFunc(t,e,s);const i=this.splitClassNameAndType(t).className,n=this.classes.get(i);n&&(n.haveCallback=!0)}),this.setCssClass(t,"clickable")}setClickFunc(t,e,s){const i=C.sanitizeText(t,u());if("loose"!==u().securityLevel)return;if(void 0===e)return;const n=this.splitClassNameAndType(i).className;if(this.classes.has(n)){let t=[];if("string"==typeof s){t=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let s=t[e].trim();s.startsWith('"')&&s.endsWith('"')&&(s=s.substr(1,s.length-2)),t[e]=s}}0===t.length&&t.push(n),this.functions.push(()=>{const s=this.lookUpDomId(n),i=document.querySelector(`[id="${s}"]`);null!==i&&i.addEventListener("click",()=>{c.runFunc(e,...t)},!1)})}}bindFunctions(t){this.functions.forEach(e=>{e(t)})}escapeHtml(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(t){this.direction=t}static resolveQualifiedId(t,e){const s=e.at(-1);return s?`${s}.${t}`:t}static getAncestorIds(t){const e=t.split("."),s=new Array(e.length);s[0]=e[0];for(let i=1;i<e.length;i++)s[i]=`${s[i-1]}.${e[i]}`;return s}createNamespaceNode(t,e,s,i=!1){return{id:t,label:e,classes:new Map,notes:new Map,children:new Map,domId:N+t+"-"+this.namespaceCounter++,parent:s,explicit:i}}linkParentChild(t,e){const s=this.namespaces.get(t),i=this.namespaces.get(e);s&&i&&(s.children.has(e)||s.children.set(e,i),i.parent??=t)}addNamespace(t,s){const i=e.resolveQualifiedId(t,this.namespaceStack);if(this.namespaceStack.push(i),this.namespaces.has(i)){const t=this.namespaces.get(i);return t.explicit=!0,s&&(t.label=s),i}const n=i.split("."),a=e.getAncestorIds(i);for(let e=0;e<a.length;e++){const t=a[e],i=e>0?a[e-1]:void 0,r=e===a.length-1,u=r&&s?s:n[e];this.namespaces.has(t)?r&&(this.namespaces.get(t).explicit=!0):this.namespaces.set(t,this.createNamespaceNode(t,u,i,r)),i&&this.linkParentChild(i,t)}return i}popNamespace(){this.namespaceStack.pop()}getNamespace(t){return this.namespaces.get(t)}getNamespaces(){return this.namespaces}addClassesToNamespace(t,e,s){if(this.namespaces.has(t)){for(const s of e){const{className:e}=this.splitClassNameAndType(s),i=this.getClass(e);i.parent=t,this.namespaces.get(t).classes.set(e,i)}for(const e of s){const s=this.getNote(e);s.parent=t,this.namespaces.get(t).notes.set(e,s)}}}setCssStyle(t,e){const s=this.classes.get(t);if(e&&s)for(const i of e)i.includes(",")?s.styles.push(...i.split(",")):s.styles.push(i)}getArrowMarker(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}resolveExplicitAncestor(t){let e=t;for(;e;){const t=this.namespaces.get(e);if(!t)return;if(t.explicit)return e;e=t.parent}}getData(){const t=[],e=[],s=u(),i=s.class?.hierarchicalNamespaces??!0;for(const a of this.namespaces.values()){if(!i&&!a.explicit)continue;const e={id:a.id,label:i?a.label:a.id,isGroup:!0,padding:s.class.padding??16,shape:"rect",cssStyles:[],look:s.look,parentId:i?a.parent:void 0};t.push(e)}for(const a of this.classes.values()){const e=i?a.parent:this.resolveExplicitAncestor(a.parent),n={...a,type:void 0,isGroup:!1,parentId:e,look:s.look};t.push(n)}for(const a of this.notes.values()){const n=i?a.parent:this.resolveExplicitAncestor(a.parent),r={id:a.id,label:a.text,isGroup:!1,shape:"note",padding:s.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${s.themeVariables.noteBkgColor}`,`stroke: ${s.themeVariables.noteBorderColor}`],look:s.look,parentId:n,labelType:"markdown"};t.push(r);const u=this.classes.get(a.class)?.id;if(u){const t={id:`edgeNote${a.index}`,start:a.id,end:u,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:s.look};e.push(t)}}for(const a of this.interfaces){const e={id:a.id,label:a.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:s.look};t.push(e)}let n=0;for(const a of this.relations){n++;const t={id:k(a.id1,a.id2,{prefix:"id",counter:n}),start:a.id1,end:a.id2,type:"normal",label:a.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(a.relation.type1),arrowTypeEnd:this.getArrowMarker(a.relation.type2),startLabelRight:"none"===a.relationTitle1?"":a.relationTitle1,endLabelLeft:"none"===a.relationTitle2?"":a.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:a.style||"",pattern:1==a.relation.lineType?"dashed":"solid",look:s.look,labelType:"markdown"};e.push(t)}return{nodes:t,edges:e,other:{},config:s,direction:this.getDirection()}}},"ClassDB"),e),I=a(t=>`g.classGroup text {\n fill: ${t.nodeBorder||t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n .cluster-label span p {\n background-color: transparent;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n\n.noteLabel .nodeLabel, .noteLabel .edgeLabel {\n color: ${t.noteTextColor};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n\n.labelBkg {\n background: ${t.mainBkg};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: ${t.strokeWidth};\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: ${t.strokeWidth};\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n[id$="-compositionStart"], .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-compositionEnd"], .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-dependencyStart"], .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-dependencyEnd"], .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-extensionStart"], .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-extensionEnd"], .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-aggregationStart"], .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-aggregationEnd"], .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-lollipopStart"], .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n[id$="-lollipopEnd"], .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n\n.edgeLabel[data-look="neo"] {\n background-color: ${t.edgeLabelBackground};\n p {\n background-color: ${t.edgeLabelBackground};\n }\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n}\n ${s()}\n`,"getStyles"),v=a((t,e="TB")=>{if(!t.doc)return e;let s=e;for(const i of t.doc)"dir"===i.stmt&&(s=i.value);return s},"getDir"),O={getClasses:a(function(t,e){return e.db.getClasses()},"getClasses"),draw:a(async function(t,e,s,a){r.info("REF0:"),r.info("Drawing class diagram (v3)",e);const{securityLevel:h,state:p,layout:d}=u();a.db.setDiagramId(e);const A=a.db.getData(),y=i(e,h);A.type=a.type,A.layoutAlgorithm=l(d),A.nodeSpacing=p?.nodeSpacing||50,A.rankSpacing=p?.rankSpacing||50,A.markers=["aggregation","extension","composition","dependency","lollipop"],A.diagramId=e,await o(A,y),c.insertTitle(y,"classDiagramTitleText",p?.titleTopMargin??25,a.db.getDiagramTitle()),n(y,8,"classDiagram",p?.useMaxWidth??!0)},"draw"),getDir:v};export{x as C,B as a,O as c,I as s};
@@ -0,0 +1 @@
1
+ import{_ as t,e,l as i}from"./mermaid.core-BOFC-9Zd.js";var o=t((t,o,r,s)=>{t.attr("class",r);const{width:d,height:n,x:c,y:g}=a(t,o);e(t,n,d,s);const w=h(c,g,d,n,o);t.attr("viewBox",w),i.debug(`viewBox configured: ${w} with padding: ${o}`)},"setupViewPortForSVG"),a=t((t,e)=>{const i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+2*e,height:i.height+2*e,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),h=t((t,e,i,o,a)=>`${t-a} ${e-a} ${i} ${o}`,"createViewBox");export{o as s};
@@ -0,0 +1 @@
1
+ import{_ as e,d as o}from"./mermaid.core-BOFC-9Zd.js";var t=e((e,t)=>{let a;return"sandbox"===t&&(a=o("#i"+e)),o("sandbox"===t?a.nodes()[0].contentDocument.body:"body").select(`[id="${e}"]`)},"getDiagramElement");export{t as g};
@@ -0,0 +1 @@
1
+ const e=[Object.freeze(JSON.parse('{"displayName":"Clarity","name":"clarity","patterns":[{"include":"#expression"},{"include":"#define-constant"},{"include":"#define-data-var"},{"include":"#define-map"},{"include":"#define-function"},{"include":"#define-fungible-token"},{"include":"#define-non-fungible-token"},{"include":"#define-trait"},{"include":"#use-trait"}],"repository":{"built-in-func":{"begin":"(\\\\()\\\\s*([-+]|<=|>=|[*/<>]|and|append|as-contract\\\\???|as-max-len\\\\?|asserts!|at-block|begin|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|buff-to-int-be|buff-to-int-le|buff-to-uint-be|buff-to-uint-le|concat|contract-call\\\\?|contract-of|default-to|element-at\\\\???|filter|fold|from-consensus-buff\\\\?|ft-burn\\\\?|ft-get-balance|ft-get-supply|ft-mint\\\\?|ft-transfer\\\\?|get-block-info\\\\?|get-burn-block-info\\\\?|get-stacks-block-info\\\\?|get-tenure-info\\\\?|hash160|if|impl-trait|index-of\\\\???|int-to-ascii|int-to-utf8|is-eq|is-err|is-none|is-ok|is-some|is-standard|keccak256|len|log2|map|match|merge|mod|nft-burn\\\\?|nft-get-owner\\\\?|nft-mint\\\\?|nft-transfer\\\\?|not|or|pow|principal-construct\\\\?|principal-destruct\\\\?|principal-of\\\\?|print|replace-at\\\\?|secp256k1-recover\\\\?|secp256k1-verify|sha256|sha512|sha512/256|slice\\\\?|sqrti|string-to-int\\\\?|string-to-uint\\\\?|to-ascii\\\\?|stx-account|stx-burn\\\\?|stx-get-balance|stx-transfer-memo\\\\?|stx-transfer\\\\?|to-consensus-buff\\\\?|to-int|to-uint|try!|unwrap!|unwrap-err!|unwrap-err-panic|unwrap-panic|xor|contract-hash\\\\?|restrict-assets\\\\?|with-stx|with-ft|with-nft|with-stacking|with-all-assets-unsafe|secp256r1-recover\\\\?|secp256r1-verify)\\\\s+","beginCaptures":{"1":{"name":"punctuation.built-in-function.start.clarity"},"2":{"name":"keyword.declaration.built-in-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.built-in-function.end.clarity"}},"name":"meta.built-in-function","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"comment":{"match":"(?<=^|[]\\"\'(),;\\\\[`{}\\\\s])(;).*$","name":"comment.line.semicolon.clarity"},"data-type":{"patterns":[{"include":"#comment"},{"match":"\\\\b(u?int)\\\\b","name":"entity.name.type.numeric.clarity"},{"match":"\\\\b(principal)\\\\b","name":"entity.name.type.principal.clarity"},{"match":"\\\\b(bool)\\\\b","name":"entity.name.type.bool.clarity"},{"captures":{"1":{"name":"punctuation.string_type-def.start.clarity"},"2":{"name":"entity.name.type.string_type.clarity"},"3":{"name":"constant.numeric.string_type-len.clarity"},"4":{"name":"punctuation.string_type-def.end.clarity"}},"match":"(\\\\()\\\\s*(string-(?:ascii|utf8))\\\\s+(\\\\d+)\\\\s*(\\\\))"},{"captures":{"1":{"name":"punctuation.buff-def.start.clarity"},"2":{"name":"entity.name.type.buff.clarity"},"3":{"name":"constant.numeric.buf-len.clarity"},"4":{"name":"punctuation.buff-def.end.clarity"}},"match":"(\\\\()\\\\s*(buff)\\\\s+(\\\\d+)\\\\s*(\\\\))"},{"begin":"(\\\\()\\\\s*(optional)\\\\s+","beginCaptures":{"1":{"name":"punctuation.optional-def.start.clarity"},"2":{"name":"storage.type.modifier"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.optional-def.end.clarity"}},"name":"meta.optional-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\()\\\\s*(response)\\\\s+","beginCaptures":{"1":{"name":"punctuation.response-def.start.clarity"},"2":{"name":"storage.type.modifier"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.response-def.end.clarity"}},"name":"meta.response-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\()\\\\s*(list)\\\\s+(\\\\d+)\\\\s+","beginCaptures":{"1":{"name":"punctuation.list-def.start.clarity"},"2":{"name":"entity.name.type.list.clarity"},"3":{"name":"constant.numeric.list-len.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.list-def.end.clarity"}},"name":"meta.list-def","patterns":[{"include":"#data-type"}]},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.tuple-def.start.clarity"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.tuple-def.end.clarity"}},"name":"meta.tuple-def","patterns":[{"match":"([A-Za-z][-!?\\\\w]*)(?=:)","name":"entity.name.tag.tuple-data-type-key.clarity"},{"include":"#data-type"}]}]},"define-constant":{"begin":"(\\\\()\\\\s*(define-constant)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-constant.start.clarity"},"2":{"name":"keyword.declaration.define-constant.clarity"},"3":{"name":"entity.name.constant-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-constant.end.clarity"}},"name":"meta.define-constant","patterns":[{"include":"#expression"}]},"define-data-var":{"begin":"(\\\\()\\\\s*(define-data-var)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-data-var.start.clarity"},"2":{"name":"keyword.declaration.define-data-var.clarity"},"3":{"name":"entity.name.data-var-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-data-var.end.clarity"}},"name":"meta.define-data-var","patterns":[{"include":"#data-type"},{"include":"#expression"}]},"define-function":{"begin":"(\\\\()\\\\s*(define-(?:public|private|read-only))\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-function.start.clarity"},"2":{"name":"keyword.declaration.define-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-function.end.clarity"}},"name":"meta.define-function","patterns":[{"include":"#expression"},{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s*","beginCaptures":{"1":{"name":"punctuation.function-signature.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.function-signature.end.clarity"}},"name":"meta.define-function-signature","patterns":[{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.function-argument.start.clarity"},"2":{"name":"variable.parameter.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.function-argument.end.clarity"}},"name":"meta.function-argument","patterns":[{"include":"#data-type"}]}]},{"include":"#user-func"}]},"define-fungible-token":{"captures":{"1":{"name":"punctuation.define-fungible-token.start.clarity"},"2":{"name":"keyword.declaration.define-fungible-token.clarity"},"3":{"name":"entity.name.fungible-token-name.clarity variable.other.clarity"},"4":{"name":"constant.numeric.fungible-token-total-supply.clarity"},"5":{"name":"punctuation.define-fungible-token.end.clarity"}},"match":"(\\\\()\\\\s*(define-fungible-token)\\\\s+([A-Za-z][-!?\\\\w]*)(?:\\\\s+(u\\\\d+))?"},"define-map":{"begin":"(\\\\()\\\\s*(define-map)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-map.start.clarity"},"2":{"name":"keyword.declaration.define-map.clarity"},"3":{"name":"entity.name.map-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-map.end.clarity"}},"name":"meta.define-map","patterns":[{"include":"#data-type"},{"include":"#expression"}]},"define-non-fungible-token":{"begin":"(\\\\()\\\\s*(define-non-fungible-token)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-non-fungible-token.start.clarity"},"2":{"name":"keyword.declaration.define-non-fungible-token.clarity"},"3":{"name":"entity.name.non-fungible-token-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-non-fungible-token.end.clarity"}},"name":"meta.define-non-fungible-token","patterns":[{"include":"#data-type"}]},"define-trait":{"begin":"(\\\\()\\\\s*(define-trait)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.define-trait.start.clarity"},"2":{"name":"keyword.declaration.define-trait.clarity"},"3":{"name":"entity.name.trait-name.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-trait.end.clarity"}},"name":"meta.define-trait","patterns":[{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.define-trait-body.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.define-trait-body.end.clarity"}},"name":"meta.define-trait-body","patterns":[{"include":"#expression"},{"begin":"(\\\\()\\\\s*([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.trait-function.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.trait-function.end.clarity"}},"name":"meta.trait-function","patterns":[{"include":"#data-type"},{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.trait-function-args.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.trait-function-args.end.clarity"}},"name":"meta.trait-function-args","patterns":[{"include":"#data-type"}]}]}]}]},"expression":{"patterns":[{"include":"#comment"},{"include":"#keyword"},{"include":"#literal"},{"include":"#let-func"},{"include":"#built-in-func"},{"include":"#get-set-func"}]},"get-set-func":{"begin":"(\\\\()\\\\s*(var-get|var-set|map-get\\\\?|map-set|map-insert|map-delete|get)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s*","beginCaptures":{"1":{"name":"punctuation.get-set-func.start.clarity"},"2":{"name":"keyword.control.clarity"},"3":{"name":"variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.get-set-func.end.clarity"}},"name":"meta.get-set-func","patterns":[{"include":"#expression"}]},"keyword":{"match":"(?<!\\\\S)(?!-)\\\\b(?:block-height|burn-block-height|chain-id|contract-caller|is-in-regtest|stacks-block-height|stx-liquid-supply|tenure-height|tx-sender|tx-sponsor?|current-contract|stacks-block-time)\\\\b(?!\\\\s*-)","name":"constant.language.clarity"},"let-func":{"begin":"(\\\\()\\\\s*(let)\\\\s*","beginCaptures":{"1":{"name":"punctuation.let-function.start.clarity"},"2":{"name":"keyword.declaration.let-function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-function.end.clarity"}},"name":"meta.let-function","patterns":[{"include":"#expression"},{"include":"#user-func"},{"begin":"(\\\\()\\\\s*","beginCaptures":{"1":{"name":"punctuation.let-var.start.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-var.end.clarity"}},"name":"meta.let-var","patterns":[{"begin":"(\\\\()([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.let-local-var.start.clarity"},"2":{"name":"entity.name.let-local-var-name.clarity variable.parameter.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.let-local-var.end.clarity"}},"name":"meta.let-local-var","patterns":[{"include":"#expression"},{"include":"#user-func"}]},{"include":"#expression"}]}]},"literal":{"patterns":[{"include":"#number-literal"},{"include":"#bool-literal"},{"include":"#string-literal"},{"include":"#tuple-literal"},{"include":"#principal-literal"},{"include":"#list-literal"},{"include":"#optional-literal"},{"include":"#response-literal"}],"repository":{"bool-literal":{"match":"(?<!\\\\S)(?!-)\\\\b(true|false)\\\\b(?!\\\\s*-)","name":"constant.language.bool.clarity"},"list-literal":{"begin":"(\\\\()\\\\s*(list)\\\\s+","beginCaptures":{"1":{"name":"punctuation.list.start.clarity"},"2":{"name":"entity.name.type.list.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"names":"punctuation.list.end.clarity"}},"name":"meta.list","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"number-literal":{"patterns":[{"match":"(?<!\\\\S)(?!-)\\\\bu\\\\d+\\\\b(?!\\\\s*-)","name":"constant.numeric.uint.clarity"},{"match":"(?<!\\\\S)(?!-)\\\\b\\\\d+\\\\b(?!\\\\s*-)","name":"constant.numeric.int.clarity"},{"match":"(?<!\\\\S)(?!-)\\\\b0x[0-9a-f]*\\\\b(?!\\\\s*-)","name":"constant.numeric.hex.clarity"}]},"optional-literal":{"patterns":[{"match":"(?<!\\\\S)(?!-)\\\\b(none)\\\\b(?!\\\\s*-)","name":"constant.language.none.clarity"},{"begin":"(\\\\()\\\\s*(some)\\\\s+","beginCaptures":{"1":{"name":"punctuation.some.start.clarity"},"2":{"name":"constant.language.some.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.some.end.clarity"}},"name":"meta.some","patterns":[{"include":"#expression"}]}]},"principal-literal":{"match":"\'[0-9A-Z]{28,41}(:?\\\\.[A-Za-z][-0-9A-Za-z]+){0,2}|(\\\\.[A-Za-z][-0-9A-Za-z]*){1,2}(?=[(),{}\\\\s]|$)","name":"constant.other.principal.clarity"},"response-literal":{"begin":"(\\\\()\\\\s*(ok|err)\\\\s+","beginCaptures":{"1":{"name":"punctuation.response.start.clarity"},"2":{"name":"constant.language.ok-err.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.response.end.clarity"}},"name":"meta.response","patterns":[{"include":"#expression"},{"include":"#user-func"}]},"string-literal":{"patterns":[{"begin":"(u?)(\\")","beginCaptures":{"1":{"name":"string.quoted.utf8.clarity"},"2":{"name":"punctuation.definition.string.begin.clarity"}},"end":"\\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.clarity"}},"name":"string.quoted.double.clarity","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.quote"}]}]},"tuple-literal":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.tuple.start.clarity"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.tuple.end.clarity"}},"name":"meta.tuple","patterns":[{"match":"([A-Za-z][-!?\\\\w]*)(?=:)","name":"entity.name.tag.tuple-key.clarity"},{"include":"#expression"},{"include":"#user-func"}]}}},"use-trait":{"begin":"(\\\\()\\\\s*(use-trait)\\\\s+([A-Za-z][-!?\\\\w]*)\\\\s+","beginCaptures":{"1":{"name":"punctuation.use-trait.start.clarity"},"2":{"name":"keyword.declaration.use-trait.clarity"},"3":{"name":"entity.name.trait-alias.clarity variable.other.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.use-trait.end.clarity"}},"name":"meta.use-trait","patterns":[{"include":"#literal"}]},"user-func":{"begin":"(\\\\()\\\\s*(([A-Za-z][-!?\\\\w]*))\\\\s*","beginCaptures":{"1":{"name":"punctuation.user-function.start.clarity"},"2":{"name":"entity.name.function.clarity"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.user-function.end.clarity"}},"name":"meta.user-function","patterns":[{"include":"#expression"},{"include":"$self"}]}},"scopeName":"source.clar"}'))];export{e as default};
@@ -0,0 +1 @@
1
+ import{s as r,c as s,a as e,C as i}from"./chunk-V7JOEXUC-QkD3g50d.js";import{_ as o}from"./mermaid.core-BOFC-9Zd.js";import"./RemoteLifeOSBlock-INrlOM1O.js";import"./chunk-5VM5RSS4-BCeKWpkp.js";import"./chunk-XXDRQBXY-CylbQ77X.js";import"./chunk-VR4S4FIN-bqXmDTmi.js";import"./chunk-32BRIVSS-CcFgBN8P.js";import"./purify.es-BNLkGfTg.js";import"./index-BmushmS_.js";import"./marked.esm-BBjA1da9.js";import"./App-DFMRw4Fj.js";import"./index-8_Am9ShR.js";import"./file-editor-index-Cy0cJb2y.js";var t={parser:e,get db(){return new i},renderer:s,styles:r,init:o(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{t as diagram};
@@ -0,0 +1 @@
1
+ import{s as r,c as s,a as e,C as i}from"./chunk-V7JOEXUC-QkD3g50d.js";import{_ as o}from"./mermaid.core-BOFC-9Zd.js";import"./RemoteLifeOSBlock-INrlOM1O.js";import"./chunk-5VM5RSS4-BCeKWpkp.js";import"./chunk-XXDRQBXY-CylbQ77X.js";import"./chunk-VR4S4FIN-bqXmDTmi.js";import"./chunk-32BRIVSS-CcFgBN8P.js";import"./purify.es-BNLkGfTg.js";import"./index-BmushmS_.js";import"./marked.esm-BBjA1da9.js";import"./App-DFMRw4Fj.js";import"./index-8_Am9ShR.js";import"./file-editor-index-Cy0cJb2y.js";var t={parser:e,get db(){return new i},renderer:s,styles:r,init:o(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{t as diagram};
@@ -0,0 +1 @@
1
+ const e=[Object.freeze(JSON.parse('{"displayName":"Clojure","name":"clojure","patterns":[{"include":"#comment"},{"include":"#shebang-comment"},{"include":"#quoted-sexp"},{"include":"#sexp"},{"include":"#keyfn"},{"include":"#string"},{"include":"#vector"},{"include":"#set"},{"include":"#map"},{"include":"#regexp"},{"include":"#var"},{"include":"#constants"},{"include":"#dynamic-variables"},{"include":"#metadata"},{"include":"#namespace-symbol"},{"include":"#symbol"}],"repository":{"comment":{"begin":"(?<!\\\\\\\\);","beginCaptures":{"0":{"name":"punctuation.definition.comment.clojure"}},"end":"$","name":"comment.line.semicolon.clojure"},"constants":{"patterns":[{"match":"(nil)(?=([])}\\\\s]))","name":"constant.language.nil.clojure"},{"match":"(true|false)","name":"constant.language.boolean.clojure"},{"match":"(##(?:Inf|-Inf|NaN))","name":"constant.numeric.symbol.clojure"},{"match":"([-+]?\\\\d+/\\\\d+)","name":"constant.numeric.ratio.clojure"},{"match":"([-+]?(?:3[0-6]|[12]\\\\d|[2-9])[Rr][0-9A-Za-z]+N?)","name":"constant.numeric.arbitrary-radix.clojure"},{"match":"([-+]?0[Xx]\\\\h+N?)","name":"constant.numeric.hexadecimal.clojure"},{"match":"([-+]?0[0-7]+N?)","name":"constant.numeric.octal.clojure"},{"match":"([-+]?[0-9]+(\\\\.|(?=[EMe]))[0-9]*([Ee][-+]?[0-9]+)?M?)","name":"constant.numeric.double.clojure"},{"match":"([-+]?\\\\d+N?)","name":"constant.numeric.long.clojure"},{"include":"#keyword"}]},"dynamic-variables":{"match":"\\\\*[-!+.:<-?_\\\\w\\\\d]+\\\\*","name":"meta.symbol.dynamic.clojure"},"keyfn":{"patterns":[{"match":"(?<=([(\\\\[{\\\\s]))(if(-[-?\\\\p{Ll}]*)?|when(-[-\\\\p{Ll}]*)?|for(-[-\\\\p{Ll}]*)?|cond|do|let(-[-?\\\\p{Ll}]*)?|binding|loop|recur|fn|throw[-\\\\p{Ll}]*|try|catch|finally|(\\\\p{Ll}*case))(?=([])}\\\\s]))","name":"storage.control.clojure"},{"match":"(?<=([(\\\\[{\\\\s]))(declare-?|(in-)?ns|import|use|require|load|compile|(def[-\\\\p{Ll}]*))(?=([])}\\\\s]))","name":"keyword.control.clojure"}]},"keyword":{"match":"(?<=([(\\\\[{\\\\s])):[-!#*+./:<-?_\\\\w]+(?=([]),}\\\\s]))","name":"constant.keyword.clojure"},"map":{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.map.begin.clojure"}},"end":"(}(?=[])}\\\\s]*(?:;|$)))|(})","endCaptures":{"1":{"name":"punctuation.section.map.end.trailing.clojure"},"2":{"name":"punctuation.section.map.end.clojure"}},"name":"meta.map.clojure","patterns":[{"include":"$self"}]},"metadata":{"patterns":[{"begin":"(\\\\^\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.metadata.map.begin.clojure"}},"end":"(}(?=[])}\\\\s]*(?:;|$)))|(})","endCaptures":{"1":{"name":"punctuation.section.metadata.map.end.trailing.clojure"},"2":{"name":"punctuation.section.metadata.map.end.clojure"}},"name":"meta.metadata.map.clojure","patterns":[{"include":"$self"}]},{"begin":"(\\\\^)","end":"(\\\\s)","name":"meta.metadata.simple.clojure","patterns":[{"include":"#keyword"},{"include":"$self"}]}]},"namespace-symbol":{"patterns":[{"captures":{"1":{"name":"meta.symbol.namespace.clojure"}},"match":"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)/"}]},"quoted-sexp":{"begin":"([\'`]\\\\()","beginCaptures":{"1":{"name":"punctuation.section.expression.begin.clojure"}},"end":"(\\\\))$|(\\\\)(?=[])}\\\\s]*(?:;|$)))|(\\\\))","endCaptures":{"1":{"name":"punctuation.section.expression.end.trailing.clojure"},"2":{"name":"punctuation.section.expression.end.trailing.clojure"},"3":{"name":"punctuation.section.expression.end.clojure"}},"name":"meta.quoted-expression.clojure","patterns":[{"include":"$self"}]},"regexp":{"begin":"#\\"","beginCaptures":{"0":{"name":"punctuation.definition.regexp.begin.clojure"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.regexp.end.clojure"}},"name":"string.regexp.clojure","patterns":[{"include":"#regexp_escaped_char"}]},"regexp_escaped_char":{"match":"\\\\\\\\.","name":"constant.character.escape.clojure"},"set":{"begin":"(#\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.set.begin.clojure"}},"end":"(}(?=[])}\\\\s]*(?:;|$)))|(})","endCaptures":{"1":{"name":"punctuation.section.set.end.trailing.clojure"},"2":{"name":"punctuation.section.set.end.clojure"}},"name":"meta.set.clojure","patterns":[{"include":"$self"}]},"sexp":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.section.expression.begin.clojure"}},"end":"(\\\\))$|(\\\\)(?=[])}\\\\s]*(?:;|$)))|(\\\\))","endCaptures":{"1":{"name":"punctuation.section.expression.end.trailing.clojure"},"2":{"name":"punctuation.section.expression.end.trailing.clojure"},"3":{"name":"punctuation.section.expression.end.clojure"}},"name":"meta.expression.clojure","patterns":[{"begin":"(?<=\\\\()(ns|declare|def[-!*+.:<-?_\\\\w\\\\d]*|[-!*+.:<-?_\\\\w][-!*+.:<-?_\\\\w\\\\d]*/def[-!*+.:<-?_\\\\w\\\\d]*)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.clojure"}},"end":"(?=\\\\))","name":"meta.definition.global.clojure","patterns":[{"include":"#metadata"},{"include":"#dynamic-variables"},{"match":"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)","name":"entity.global.clojure"},{"include":"$self"}]},{"include":"#keyfn"},{"include":"#constants"},{"include":"#vector"},{"include":"#map"},{"include":"#set"},{"include":"#sexp"},{"captures":{"1":{"name":"entity.name.function.clojure"}},"match":"(?<=\\\\()(.+?)(?=[)\\\\s])","patterns":[{"include":"$self"}]},{"include":"$self"}]},"shebang-comment":{"begin":"^(#!)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shebang.clojure"}},"end":"$","name":"comment.line.shebang.clojure"},"string":{"begin":"(?<!\\\\\\\\)(\\")","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.clojure"}},"end":"(\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.clojure"}},"name":"string.quoted.double.clojure","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.clojure"}]},"symbol":{"patterns":[{"match":"([-!*+.<-?_\\\\p{L}][-!*+.:<-?_\\\\w\\\\d]*)","name":"meta.symbol.clojure"}]},"var":{"match":"(?<=([(\\\\[{\\\\s])#)\'[-!*+./:<-?_\\\\w]+(?=([])}\\\\s]))","name":"meta.var.clojure"},"vector":{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.section.vector.begin.clojure"}},"end":"(](?=[])}\\\\s]*(?:;|$)))|(])","endCaptures":{"1":{"name":"punctuation.section.vector.end.trailing.clojure"},"2":{"name":"punctuation.section.vector.end.clojure"}},"name":"meta.vector.clojure","patterns":[{"include":"$self"}]}},"scopeName":"source.clojure","aliases":["clj"]}'))];export{e as default};
@@ -0,0 +1 @@
1
+ import{M as e,N as t,O as n,Q as i,U as r,V as o,W as l,Y as a,Z as s,_ as c,$ as u,a0 as f,a1 as h,a2 as p,a3 as g}from"./App-DFMRw4Fj.js";import{c as d,v as m,o as k,a as b,h as x}from"./index-8_Am9ShR.js";function y(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function v(e){return"function"==typeof e?e:function(){return e}}const C="phrasing",w=["autolink","link","image","label"];function D(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function F(e){this.config.enter.autolinkProtocol.call(this,e)}function L(e){this.config.exit.autolinkProtocol.call(this,e)}function A(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];k("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function M(e){this.config.exit.autolinkEmail.call(this,e)}function S(e){this.exit(e)}function j(e){!function(e,t){const n=d(({ignore:["link","linkReference"]}||{}).ignore||[]),i=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let i=-1;for(;++i<n.length;){const e=n[i];t.push([y(e[0]),v(e[1])])}return t}(t);let r=-1;for(;++r<i.length;)m(e,"text",o);function o(e,t){let o,l=-1;for(;++l<t.length;){const e=t[l],i=o?o.children:void 0;if(n(e,i?i.indexOf(e):void 0,o))return;o=e}if(o)return function(e,t){const n=t[t.length-1],o=i[r][0],l=i[r][1];let a=0;const s=n.children.indexOf(e);let c=!1,u=[];o.lastIndex=0;let f=o.exec(e.value);for(;f;){const n=f.index,i={index:f.index,input:f.input,stack:[...t,e]};let r=l(...f,i);if("string"==typeof r&&(r=r.length>0?{type:"text",value:r}:void 0),!1===r?o.lastIndex=n+1:(a!==n&&u.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(r)?u.push(...r):r&&u.push(r),a=n+f[0].length,c=!0),!o.global)break;f=o.exec(e.value)}return c?(a<e.value.length&&u.push({type:"text",value:e.value.slice(a)}),n.children.splice(s,1,...u)):u=[e],s+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,O],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),z]])}function O(e,t,n,i,r){let o="";if(!R(r))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const l=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")");const r=b(e,"(");let o=b(e,")");for(;-1!==i&&r>o;)e+=n.slice(0,i+1),n=n.slice(i+1),i=n.indexOf(")"),o++;return[e,n]}(n+i);if(!l[0])return!1;const a={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[a,{type:"text",value:l[1]}]:a}function z(e,t,n,i){return!(!R(i,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function R(n,i){const r=n.input.charCodeAt(n.index-1);return(0===n.index||e(r)||t(r))&&(!i||47!==r)}function E(){this.buffer()}function T(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function I(){this.buffer()}function _(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function P(e){const t=this.resume(),i=this.stack[this.stack.length-1];k("footnoteReference"===i.type),i.identifier=n(this.sliceSerialize(e)).toLowerCase(),i.label=t}function H(e){this.exit(e)}function W(e){const t=this.resume(),i=this.stack[this.stack.length-1];k("footnoteDefinition"===i.type),i.identifier=n(this.sliceSerialize(e)).toLowerCase(),i.label=t}function B(e){this.exit(e)}function V(e,t,n,i){const r=n.createTracker(i);let o=r.move("[^");const l=n.enter("footnoteReference"),a=n.enter("reference");return o+=r.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),l(),o+=r.move("]"),o}function q(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,i,r){const o=i.createTracker(r);let l=o.move("[^");const a=i.enter("footnoteDefinition"),s=i.enter("label");return l+=o.move(i.safe(i.associationId(e),{before:l,after:"]"})),s(),l+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),l+=o.move((t?"\n":" ")+i.indentLines(i.containerFlow(e,o.current()),t?U:$))),a(),l},footnoteReference:V},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function $(e,t,n){return 0===t?e:U(e,0,n)}function U(e,t,n){return(n?"":" ")+e}V.peek=function(){return"["};const Z=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Q(e){this.enter({type:"delete",children:[]},e)}function N(e){this.exit(e)}function Y(e,t,n,i){const r=n.createTracker(i),o=n.enter("strikethrough");let l=r.move("~~");return l+=n.containerPhrasing(e,{...r.current(),before:l,after:"~"}),l+=r.move("~~"),o(),l}function G(e){return e.length}function J(e){return null==e?"":String(e)}function K(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function X(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function ee(e){this.exit(e),this.data.inTable=void 0}function te(e){this.enter({type:"tableRow",children:[]},e)}function ne(e){this.exit(e)}function ie(e){this.enter({type:"tableCell",children:[]},e)}function re(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,oe));const n=this.stack[this.stack.length-1];k("inlineCode"===n.type),n.value=t,this.exit(e)}function oe(e,t){return"|"===t?t:e}function le(e){const t=e||{},n=t.tableCellPadding,i=t.tablePipeAlign,r=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let i=x.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(i=i.replace(/\|/g,"\\$&")),i},table:function(e,t,n,i){return a(function(e,t,n){const i=e.children;let r=-1;const o=[],l=t.enter("table");for(;++r<i.length;)o[r]=s(i[r],t,n);return l(),o}(e,n,i),e.align)},tableCell:l,tableRow:function(e,t,n,i){const r=a([s(e,n,i)]);return r.slice(0,r.indexOf("\n"))}}};function l(e,t,n,i){const r=n.enter("tableCell"),l=n.enter("phrasing"),a=n.containerPhrasing(e,{...i,before:o,after:o});return l(),r(),a}function a(e,t){return function(e,t){const n=t||{},i=(n.align||[]).concat(),r=n.stringLength||G,o=[],l=[],a=[],s=[];let c=0,u=-1;for(;++u<e.length;){const t=[],i=[];let o=-1;for(e[u].length>c&&(c=e[u].length);++o<e[u].length;){const l=J(e[u][o]);if(!1!==n.alignDelimiters){const e=r(l);i[o]=e,(void 0===s[o]||e>s[o])&&(s[o]=e)}t.push(l)}l[u]=t,a[u]=i}let f=-1;if("object"==typeof i&&"length"in i)for(;++f<c;)o[f]=K(i[f]);else{const e=K(i);for(;++f<c;)o[f]=e}f=-1;const h=[],p=[];for(;++f<c;){const e=o[f];let t="",i="";99===e?(t=":",i=":"):108===e?t=":":114===e&&(i=":");let r=!1===n.alignDelimiters?1:Math.max(1,s[f]-t.length-i.length);const l=t+"-".repeat(r)+i;!1!==n.alignDelimiters&&(r=t.length+r+i.length,r>s[f]&&(s[f]=r),p[f]=r),h[f]=l}l.splice(1,0,h),a.splice(1,0,p),u=-1;const g=[];for(;++u<l.length;){const e=l[u],t=a[u];f=-1;const i=[];for(;++f<c;){const r=e[f]||"";let l="",a="";if(!1!==n.alignDelimiters){const e=s[f]-(t[f]||0),n=o[f];114===n?l=" ".repeat(e):99===n?e%2?(l=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):(l=" ".repeat(e/2),a=l):a=" ".repeat(e)}!1===n.delimiterStart||f||i.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===r||!1===n.delimiterStart&&!f||i.push(" "),!1!==n.alignDelimiters&&i.push(l),i.push(r),!1!==n.alignDelimiters&&i.push(a),!1!==n.padding&&i.push(" "),!1===n.delimiterEnd&&f===c-1||i.push("|")}g.push(!1===n.delimiterEnd?i.join("").replace(/ +$/,""):i.join(""))}return g.join("\n")}(e,{align:t,alignDelimiters:i,padding:n,stringLength:r})}function s(e,t,n){const i=e.children;let r=-1;const o=[],a=t.enter("tableRow");for(;++r<i.length;)o[r]=l(i[r],0,t,n);return a(),o}}function ae(e){const t=this.stack[this.stack.length-2];k("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function se(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];k("paragraph"===e.type);const n=e.children[0];if(n&&"text"===n.type){const i=t.children;let r,o=-1;for(;++o<i.length;){const e=i[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function ce(e,t,n,i){const r=e.children[0],o="boolean"==typeof e.checked&&r&&"paragraph"===r.type,l="["+(e.checked?"x":" ")+"] ",a=n.createTracker(i);o&&a.move(l);let s=x.listItem(e,t,n,{...i,...a.current()});return o&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+l})),s}Y.peek=function(){return"~"};const ue={tokenize:function(e,t,n){let i=0;return function t(o){return(87===o||119===o)&&i<3?(i++,e.consume(o),t):46===o&&3===i?(e.consume(o),r):n(o)};function r(e){return null===e?n(e):t(e)}},partial:!0},fe={tokenize:function(n,i,r){let l,a,s;return c;function c(i){return 46===i||95===i?n.check(pe,f,u)(i):null===i||o(i)||e(i)||45!==i&&t(i)?f(i):(s=!0,n.consume(i),c)}function u(e){return 95===e?l=!0:(a=l,l=void 0),n.consume(e),c}function f(e){return a||l||!s?r(e):i(e)}},partial:!0},he={tokenize:function(t,n){let i=0,r=0;return l;function l(s){return 40===s?(i++,t.consume(s),l):41===s&&r<i?a(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?t.check(pe,n,a)(s):null===s||o(s)||e(s)?n(s):(t.consume(s),l)}function a(e){return 41===e&&r++,t.consume(e),l}},partial:!0},pe={tokenize:function(t,n,i){return l;function l(r){return 33===r||34===r||39===r||41===r||42===r||44===r||46===r||58===r||59===r||63===r||95===r||126===r?(t.consume(r),l):38===r?(t.consume(r),s):93===r?(t.consume(r),a):60===r||null===r||o(r)||e(r)?n(r):i(r)}function a(t){return null===t||40===t||91===t||o(t)||e(t)?n(t):l(t)}function s(e){return r(e)?c(e):i(e)}function c(e){return 59===e?(t.consume(e),l):r(e)?(t.consume(e),c):i(e)}},partial:!0},ge={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return i(e)?n(e):t(e)}},partial:!0},de={name:"wwwAutolink",tokenize:function(e,t,n){const i=this;return function(t){return 87!==t&&119!==t||!ye.call(i,i.previous)||De(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ue,e.attempt(fe,e.attempt(he,r),n),n)(t))};function r(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ye},me={name:"protocolAutolink",tokenize:function(n,i,a){const s=this;let c="",u=!1;return function(e){return 72!==e&&104!==e||!ve.call(s,s.previous)||De(s.events)?a(e):(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),c+=String.fromCodePoint(e),n.consume(e),f)};function f(e){if(r(e)&&c.length<5)return c+=String.fromCodePoint(e),n.consume(e),f;if(58===e){const t=c.toLowerCase();if("http"===t||"https"===t)return n.consume(e),h}return a(e)}function h(e){return 47===e?(n.consume(e),u?p:(u=!0,h)):a(e)}function p(i){return null===i||l(i)||o(i)||e(i)||t(i)?a(i):n.attempt(fe,n.attempt(he,g),a)(i)}function g(e){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),i(e)}},previous:ve},ke={name:"emailAutolink",tokenize:function(e,t,n){const o=this;let l,a;return function(t){return we(t)&&Ce.call(o,o.previous)&&!De(o.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)):n(t)};function s(t){return we(t)?(e.consume(t),s):64===t?(e.consume(t),c):n(t)}function c(t){return 46===t?e.check(ge,f,u)(t):45===t||95===t||i(t)?(a=!0,e.consume(t),c):f(t)}function u(t){return e.consume(t),l=!0,c}function f(i){return a&&l&&r(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:Ce},be={};let xe=48;for(;xe<123;)be[xe]=ke,xe++,58===xe?xe=65:91===xe&&(xe=97);function ye(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||o(e)}function ve(e){return!r(e)}function Ce(e){return!(47===e||we(e))}function we(e){return 43===e||45===e||46===e||95===e||i(e)}function De(e){let t=e.length,n=!1;for(;t--;){const i=e[t][1];if(("labelLink"===i.type||"labelImage"===i.type)&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}be[43]=ke,be[45]=ke,be[46]=ke,be[95]=ke,be[72]=[ke,me],be[104]=[ke,me],be[87]=[ke,de],be[119]=[ke,de];const Fe={tokenize:function(e,t,n){const i=this;return s(e,function(e){const r=i.events[i.events.length-1];return r&&"gfmFootnoteDefinitionIndent"===r[1].type&&4===r[2].sliceSerialize(r[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Le(e,t,i){const r=this;let o=r.events.length;const l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return i(o);const s=n(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&l.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):i(o)}}function Ae(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",r,t],["exit",r,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...a),e}function Me(e,t,i){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),c};function c(t){return 94!==t?i(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(s>999||93===c&&!a||null===c||91===c||o(c))return i(c);if(93===c){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return l.includes(n(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):i(c)}return o(c)||(a=!0),s++,e.consume(c),92===c?f:u}function f(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function Se(e,t,i){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,c,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),f};function f(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):i(t)}function h(t){if(u>999||93===t&&!c||null===t||91===t||o(t))return i(t);if(93===t){e.exit("chunkString");const i=e.exit("gfmFootnoteDefinitionLabelString");return a=n(r.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return o(t)||(c=!0),u++,e.consume(t),92===t?p:h}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,h):h(t)}function g(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l.includes(a)||l.push(a),s(e,d,"gfmFootnoteDefinitionWhitespace")):i(t)}function d(e){return t(e)}}function je(e,t,n){return e.check(a,t,e.attempt(Fe,t,n))}function Oe(e){e.exit("gfmFootnoteDefinition")}function ze(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,i){const r=this.previous,o=this.events;let l=0;return function(t){return 126===r&&"characterEscape"!==o[o.length-1][1].type?i(t):(e.enter("strikethroughSequenceTemporary"),a(t))};function a(o){const s=f(r);if(126===o)return l>1?i(o):(e.consume(o),l++,a);if(l<2&&!t)return i(o);const c=e.exit("strikethroughSequenceTemporary"),u=f(o);return c._open=!u||2===u&&Boolean(s),c._close=!s||2===s&&Boolean(u),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let i=n;for(;i--;)if("exit"===e[i][0]&&"strikethroughSequenceTemporary"===e[i][1].type&&e[i][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[i][1].end.offset-e[i][1].start.offset){e[n][1].type="strikethroughSequence",e[i][1].type="strikethroughSequence";const r={type:"strikethrough",start:Object.assign({},e[i][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[n][1].start)},l=[["enter",r,t],["enter",e[i][1],t],["exit",e[i][1],t],["enter",o,t]],a=t.parser.constructs.insideSpan.null;a&&c(l,l.length,0,u(a,e.slice(i+1,n),t)),c(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",r,t]]),c(e,i-1,n-i+3,l),n=i+l.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class Re{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,i){let r=0;if(0!==n||0!==i.length){for(;r<e.map.length;){if(e.map[r][0]===t)return e.map[r][1]+=n,void e.map[r][2].push(...i);r+=1}e.map.push([t,n,i])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let i=n.pop();for(;i;){for(const t of i)e.push(t);i=n.pop()}this.map.length=0}}function Ee(e,t){let n=!1;const i=[];for(;t<e.length;){const r=e[t];if(n){if("enter"===r[0])"tableContent"===r[1].type&&i.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===r[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=i.length-1;i[e]="left"===i[e]?"center":"right"}}else if("tableDelimiterRow"===r[1].type)break}else"enter"===r[0]&&"tableDelimiterRow"===r[1].type&&(n=!0);t+=1}return i}function Te(e,t,n){const i=this;let r,l=0,a=0;return function(e){let t=i.events.length-1;for(;t>-1;){const e=i.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const r=t>-1?i.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?D:c;return o===D&&i.parser.lazy[i.now().line]?n(e):o(e)};function c(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(r=!0,a+=1),u(e)}(t)}function u(t){return null===t?n(t):h(t)?a>1?(a=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):p(t)?s(e,u,"whitespace")(t):(a+=1,r&&(r=!1,l+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,u):(e.enter("data"),f(t)))}function f(t){return null===t||124===t||o(t)?(e.exit("data"),u(t)):(e.consume(t),92===t?g:f)}function g(t){return 92===t||124===t?(e.consume(t),f):f(t)}function d(t){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(t):(e.enter("tableDelimiterRow"),r=!1,p(t)?s(e,m,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):m(t))}function m(t){return 45===t||58===t?b(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),k):w(t)}function k(t){return p(t)?s(e,b,"whitespace")(t):b(t)}function b(t){return 58===t?(a+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),x):45===t?(a+=1,x(t)):null===t||h(t)?C(t):w(t)}function x(t){return 45===t?(e.enter("tableDelimiterFiller"),y(t)):w(t)}function y(t){return 45===t?(e.consume(t),y):58===t?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return p(t)?s(e,C,"whitespace")(t):C(t)}function C(n){return 124===n?m(n):(null===n||h(n))&&r&&l===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):w(n)}function w(e){return n(e)}function D(t){return e.enter("tableRow"),F(t)}function F(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),F):null===n||h(n)?(e.exit("tableRow"),t(n)):p(n)?s(e,F,"whitespace")(n):(e.enter("data"),L(n))}function L(t){return null===t||124===t||o(t)?(e.exit("data"),F(t)):(e.consume(t),92===t?A:L)}function A(t){return 92===t||124===t?(e.consume(t),L):L(t)}}function Ie(e,t){let n,i,r,o=-1,l=!0,a=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,f=0;const h=new Re;for(;++o<e.length;){const p=e[o],g=p[1];"enter"===p[0]?"tableHead"===g.type?(u=!1,0!==f&&(Pe(h,t,f,n,i),i=void 0,f=0),n={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},h.add(o,0,[["enter",n,t]])):"tableRow"===g.type||"tableDelimiterRow"===g.type?(l=!0,r=void 0,s=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,i={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},h.add(o,0,[["enter",i,t]])),a="tableDelimiterRow"===g.type?2:i?3:1):!a||"data"!==g.type&&"tableDelimiterMarker"!==g.type&&"tableDelimiterFiller"!==g.type?"tableCellDivider"===g.type&&(l?l=!1:(0!==s[1]&&(c[0]=c[1],r=_e(h,t,s,a,void 0,r)),s=c,c=[s[1],o,0,0])):(l=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],r=_e(h,t,s,a,void 0,r),s=[0,0,0,0]),c[2]=o)):"tableHead"===g.type?(u=!0,f=o):"tableRow"===g.type||"tableDelimiterRow"===g.type?(f=o,0!==s[1]?(c[0]=c[1],r=_e(h,t,s,a,o,r)):0!==c[1]&&(r=_e(h,t,c,a,o,r)),a=0):!a||"data"!==g.type&&"tableDelimiterMarker"!==g.type&&"tableDelimiterFiller"!==g.type||(c[3]=o)}for(0!==f&&Pe(h,t,f,n,i),h.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Ee(t.events,o))}return e}function _e(e,t,n,i,r,o){const l=1===i?"tableHeader":2===i?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},He(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const a=He(t.events,n[1]);if(o={type:l,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const r=He(t.events,n[2]),o=He(t.events,n[3]),l={type:"tableContent",start:Object.assign({},r),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",l,t]]),2!==i){const i=t.events[n[2]],r=t.events[n[3]];if(i[1].end=Object.assign({},r[1].end),i[1].type="chunkText",i[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,i=n[3]-n[2]-1;e.add(t,i,[])}}e.add(n[3]+1,0,[["exit",l,t]])}return void 0!==r&&(o.end=Object.assign({},He(t.events,r)),e.add(r,0,[["exit",o,t]]),o=void 0),o}function Pe(e,t,n,i,r){const o=[],l=He(t.events,n);r&&(r.end=Object.assign({},l),o.push(["exit",r,t])),i.end=Object.assign({},l),o.push(["exit",i,t]),e.add(n+1,0,o)}function He(e,t){const n=e[t],i="enter"===n[0]?"start":"end";return n[1][i]}const We={name:"tasklistCheck",tokenize:function(e,t,n){const i=this;return function(t){return null===i.previous&&i._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),r):n(t)};function r(t){return o(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),l):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),l):n(t)}function l(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(i){return h(i)?t(i):p(i)?e.check({tokenize:Be},t,n)(i):n(i)}}};function Be(e,t,n){return s(e,function(e){return null===e?n(e):t(e)},"whitespace")}const Ve={};function qe(e){const t=e||Ve,n=this.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),r=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(function(e){return g([{text:be},{document:{91:{name:"gfmFootnoteDefinition",tokenize:Se,continuation:{tokenize:je},exit:Oe}},text:{91:{name:"gfmFootnoteCall",tokenize:Me},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Le,resolveTo:Ae}}},ze(e),{flow:{null:{name:"table",tokenize:Te,resolveAll:Ie}}},{text:{91:We}}])}(t)),r.push([{transforms:[j],enter:{literalAutolink:D,literalAutolinkEmail:F,literalAutolinkHttp:F,literalAutolinkWww:F},exit:{literalAutolink:S,literalAutolinkEmail:M,literalAutolinkHttp:L,literalAutolinkWww:A}},{enter:{gfmFootnoteCallString:E,gfmFootnoteCall:T,gfmFootnoteDefinitionLabelString:I,gfmFootnoteDefinition:_},exit:{gfmFootnoteCallString:P,gfmFootnoteCall:H,gfmFootnoteDefinitionLabelString:W,gfmFootnoteDefinition:B}},{canContainEols:["delete"],enter:{strikethrough:Q},exit:{strikethrough:N}},{enter:{table:X,tableData:ie,tableHeader:ie,tableRow:te},exit:{codeText:re,table:ee,tableData:ne,tableHeader:ne,tableRow:ne}},{exit:{taskListCheckValueChecked:ae,taskListCheckValueUnchecked:ae,paragraph:se}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:C,notInConstruct:w},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:C,notInConstruct:w},{character:":",before:"[ps]",after:"\\/",inConstruct:C,notInConstruct:w}]},q(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Z}],handlers:{delete:Y}},le(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:ce}}]}}(t))}function $e(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=$e(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Ue(){for(var e,t,n=0,i="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=$e(e))&&(i&&(i+=" "),i+=t);return i}export{Ue as c,qe as r};
@@ -0,0 +1 @@
1
+ const _=[Object.freeze(JSON.parse('{"displayName":"CMake","fileTypes":["cmake","CMakeLists.txt"],"name":"cmake","patterns":[{"match":"\\\\b(?i:APPLE|BORLAND|(CMAKE_)?(CL_64|COMPILER_2005|HOST_APPLE|HOST_SYSTEM|HOST_SYSTEM_NAME|HOST_SYSTEM_PROCESSOR|HOST_SYSTEM_VERSION|HOST_UNIX|HOST_WIN32|LIBRARY_ARCHITECTURE|LIBRARY_ARCHITECTURE_REGEX|OBJECT_PATH_MAX|SYSTEM|SYSTEM_NAME|SYSTEM_PROCESSOR|SYSTEM_VERSION)|CYGWIN|MSVC|MSVC80|MSVC_IDE|MSVC_VERSION|UNIX|WIN32|XCODE_VERSION|MSVC60|MSVC70|MSVC90|MSVC71)\\\\b","name":"constant.source.cmake"},{"match":"\\\\b(?i:ABSOLUTE|AND|BOOL|CACHE|COMMAND|COMMENT|DEFINED|DOC|EQUAL|EXISTS|EXT|FALSE|GREATER|GREATER_EQUAL|INTERNAL|IN_LIST|IS_ABSOLUTE|IS_DIRECTORY|IS_NEWER_THAN|IS_SYMLINK|LESS|LESS_EQUAL|MATCHES|NAMES??|NAME_WE|NOT|OFF|ON|OR|PATHS??|POLICY|PROGRAM|STREQUAL|STRGREATER|STRGREATER_EQUAL|STRING|STRLESS|STRLESS_EQUAL|TARGET|TEST|TRUE|VERSION_EQUAL|VERSION_GREATER|VERSION_GREATER_EQUAL|VERSION_LESS)\\\\b","name":"keyword.cmake"},{"match":"^\\\\s*\\\\b(?i:add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_libraries|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)\\\\b","name":"keyword.cmake"},{"match":"\\\\b(?i:BUILD_SHARED_LIBS|(CMAKE_)?(ABSOLUTE_DESTINATION_FILES|AUTOMOC_RELAXED_MODE|BACKWARDS_COMPATIBILITY|BUILD_TYPE|COLOR_MAKEFILE|CONFIGURATION_TYPES|DEBUG_TARGET_PROPERTIES|DISABLE_FIND_PACKAGE_\\\\w+|FIND_LIBRARY_PREFIXES|FIND_LIBRARY_SUFFIXES|IGNORE_PATH|INCLUDE_PATH|INSTALL_DEFAULT_COMPONENT_NAME|INSTALL_PREFIX|LIBRARY_PATH|MFC_FLAG|MODULE_PATH|NOT_USING_CONFIG_FLAGS|POLICY_DEFAULT_CMP\\\\w+|PREFIX_PATH|PROGRAM_PATH|SKIP_INSTALL_ALL_DEPENDENCY|SYSTEM_IGNORE_PATH|SYSTEM_INCLUDE_PATH|SYSTEM_LIBRARY_PATH|SYSTEM_PREFIX_PATH|SYSTEM_PROGRAM_PATH|USER_MAKE_RULES_OVERRIDE|WARN_ON_ABSOLUTE_INSTALL_DESTINATION))\\\\b","name":"variable.source.cmake"},{"match":"\\\\$\\\\{\\\\w+}","name":"storage.source.cmake"},{"match":"\\\\$ENV\\\\{\\\\w+}","name":"storage.source.cmake"},{"match":"\\\\b(?i:(CMAKE_)?(\\\\w+_POSTFIX|ARCHIVE_OUTPUT_DIRECTORY|AUTOMOC|AUTOMOC_MOC_OPTIONS|BUILD_WITH_INSTALL_RPATH|DEBUG_POSTFIX|EXE_LINKER_FLAGS|EXE_LINKER_FLAGS_\\\\w+|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GNUtoMS|INCLUDE_CURRENT_DIR|INCLUDE_CURRENT_DIR_IN_INTERFACE|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_PATH_FLAG|LINK_DEF_FILE_FLAG|LINK_DEPENDS_NO_SHARED|LINK_INTERFACE_LIBRARIES|LINK_LIBRARY_FILE_FLAG|LINK_LIBRARY_FLAG|MACOSX_BUNDLE|NO_BUILTIN_CHRPATH|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|RUNTIME_OUTPUT_DIRECTORY|SKIP_BUILD_RPATH|SKIP_INSTALL_RPATH|TRY_COMPILE_CONFIGURATION|USE_RELATIVE_PATHS|WIN32_EXECUTABLE)|EXECUTABLE_OUTPUT_PATH|LIBRARY_OUTPUT_PATH)\\\\b","name":"variable.source.cmake"},{"match":"\\\\b(?i:CMAKE_(AR|ARGC|ARGV0|BINARY_DIR|BUILD_TOOL|CACHEFILE_DIR|CACHE_MAJOR_VERSION|CACHE_MINOR_VERSION|CACHE_PATCH_VERSION|CFG_INTDIR|COMMAND|CROSSCOMPILING|CTEST_COMMAND|CURRENT_BINARY_DIR|CURRENT_LIST_DIR|CURRENT_LIST_FILE|CURRENT_LIST_LINE|CURRENT_SOURCE_DIR|DL_LIBS|EDIT_COMMAND|EXECUTABLE_SUFFIX|EXTRA_GENERATOR|EXTRA_SHARED_LIBRARY_SUFFIXES|GENERATOR|HOME_DIRECTORY|IMPORT_LIBRARY_PREFIX|IMPORT_LIBRARY_SUFFIX|LINK_LIBRARY_SUFFIX|MAJOR_VERSION|MAKE_PROGRAM|MINOR_VERSION|PARENT_LIST_FILE|PATCH_VERSION|PROJECT_NAME|RANLIB|ROOT|SCRIPT_MODE_FILE|SHARED_LIBRARY_PREFIX|SHARED_LIBRARY_SUFFIX|SHARED_MODULE_PREFIX|SHARED_MODULE_SUFFIX|SIZEOF_VOID_P|SKIP_RPATH|SOURCE_DIR|STANDARD_LIBRARIES|STATIC_LIBRARY_PREFIX|STATIC_LIBRARY_SUFFIX|TWEAK_VERSION|USING_VC_FREE_TOOLS|VERBOSE_MAKEFILE|VERSION)|PROJECT_BINARY_DIR|PROJECT_NAME|PROJECT_SOURCE_DIR|\\\\w+_BINARY_DIR|\\\\w+__SOURCE_DIR)\\\\b","name":"variable.source.cmake"},{"begin":"#\\\\[(=*)\\\\[","end":"]\\\\1]","name":"comment.source.cmake","patterns":[{"match":"\\\\\\\\(.|$)","name":"constant.character.escape"}]},{"begin":"\\\\[(=*)\\\\[","end":"]\\\\1]","name":"argument.source.cmake","patterns":[{"match":"\\\\\\\\(.|$)","name":"constant.character.escape"}]},{"match":"#+.*$","name":"comment.source.cmake"},{"match":"\\\\b(?i:ADVANCED|HELPSTRING|MODIFIED|STRINGS|TYPE|VALUE)\\\\b","name":"entity.source.cmake"},{"match":"\\\\b(?i:ABSTRACT|COMPILE_DEFINITIONS|COMPILE_DEFINITIONS_<CONFIG>|COMPILE_FLAGS|EXTERNAL_OBJECT|Fortran_FORMAT|GENERATED|HEADER_FILE_ONLY|KEEP_EXTENSION|LABELS|LANGUAGE|LOCATION|MACOSX_PACKAGE_LOCATION|OBJECT_DEPENDS|OBJECT_OUTPUTS|SYMBOLIC|WRAP_EXCLUDE)\\\\b","name":"entity.source.cmake"},{"match":"\\\\b(?i:ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|COST|DEPENDS|ENVIRONMENT|FAIL_REGULAR_EXPRESSION|LABELS|MEASUREMENT|PASS_REGULAR_EXPRESSION|PROCESSORS|REQUIRED_FILES|RESOURCE_LOCK|RUN_SERIAL|TIMEOUT|WILL_FAIL|WORKING_DIRECTORY)\\\\b","name":"entity.source.cmake"},{"match":"\\\\b(?i:ADDITIONAL_MAKE_CLEAN_FILES|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMPILE_DEFINITIONS|COMPILE_DEFINITIONS_\\\\w+|DEFINITIONS|EXCLUDE_FROM_ALL|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INTERPROCEDURAL_OPTIMIZATION|INTERPROCEDURAL_OPTIMIZATION_\\\\w+|LINK_DIRECTORIES|LISTFILE_STACK|MACROS|PARENT_DIRECTORY|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|TEST_INCLUDE_FILE|VARIABLES|VS_GLOBAL_SECTION_POST_\\\\w+|VS_GLOBAL_SECTION_PRE_\\\\w+)\\\\b","name":"entity.source.cmake"},{"match":"\\\\b(?i:ALLOW_DUPLICATE_CUSTOM_TARGETS|DEBUG_CONFIGURATIONS|DISABLED_FEATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|IN_TRY_COMPILE|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PREDEFINED_TARGETS_FOLDER|REPORT_UNDEFINED_PROPERTIES|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_SUPPORTS_SHARED_LIBS|USE_FOLDERS|__CMAKE_DELETE_CACHE_CHANGE_VARS_)\\\\b","name":"entity.source.cmake"},{"match":"\\\\b(?i:\\\\w+_(OUTPUT_NAME|POSTFIX)|ARCHIVE_OUTPUT_(DIRECTORY(_\\\\w+)?|NAME(_\\\\w+)?)|AUTOMOC(_MOC_OPTIONS)?|BUILD_WITH_INSTALL_RPATH|BUNDLE(_EXTENSION)??|COMPATIBLE_INTERFACE_BOOL|COMPATIBLE_INTERFACE_STRING|COMPILE_(DEFINITIONS(_\\\\w+)?|FLAGS)|DEBUG_POSTFIX|DEFINE_SYMBOL|ENABLE_EXPORTS|EXCLUDE_FROM_ALL|EchoString|FOLDER|FRAMEWORK|Fortran_(FORMAT|MODULE_DIRECTORY)|GENERATOR_FILE_NAME|GNUtoMS|HAS_CXX|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(CONFIGURATIONS|IMPLIB(_\\\\w+)?|LINK_DEPENDENT_LIBRARIES(_\\\\w+)?|LINK_INTERFACE_LANGUAGES(_\\\\w+)?|LINK_INTERFACE_LIBRARIES(_\\\\w+)?|LINK_INTERFACE_MULTIPLICITY(_\\\\w+)?|LOCATION(_\\\\w+)?|NO_SONAME(_\\\\w+)?|SONAME(_\\\\w+)?)|IMPORT_PREFIX|IMPORT_SUFFIX|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE|INTERFACE_COMPILE_DEFINITIONS|INTERFACE_INCLUDE_DIRECTORIES|INTERPROCEDURAL_OPTIMIZATION|INTERPROCEDURAL_OPTIMIZATION_\\\\w+|LABELS|LIBRARY_OUTPUT_DIRECTORY(_\\\\w+)?|LIBRARY_OUTPUT_NAME(_\\\\w+)?|LINKER_LANGUAGE|LINK_DEPENDS|LINK_FLAGS(_\\\\w+)?|LINK_INTERFACE_LIBRARIES(_\\\\w+)?|LINK_INTERFACE_MULTIPLICITY(_\\\\w+)?|LINK_LIBRARIES|LINK_SEARCH_END_STATIC|LINK_SEARCH_START_STATIC|LOCATION(_\\\\w+)?|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MAP_IMPORTED_CONFIG_\\\\w+|NO_SONAME|OSX_ARCHITECTURES(_\\\\w+)?|OUTPUT_NAME(_\\\\w+)?|PDB_NAME(_\\\\w+)?|POST_INSTALL_SCRIPT|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE|PRIVATE_HEADER|PROJECT_LABEL|PUBLIC|PUBLIC_HEADER|RESOURCE|RULE_LAUNCH_(COMPILE|CUSTOM|LINK)|RUNTIME_OUTPUT_(DIRECTORY(_\\\\w+)?|NAME(_\\\\w+)?)|SKIP_BUILD_RPATH|SOURCES|SOVERSION|STATIC_LIBRARY_FLAGS(_\\\\w+)?|SUFFIX|TYPE|VERSION|VS_DOTNET_REFERENCES|VS_GLOBAL_(\\\\w+|KEYWORD|PROJECT_TYPES)|VS_KEYWORD|VS_SCC_(AUXPATH|LOCALPATH|PROJECTNAME|PROVIDER)|VS_WINRT_EXTENSIONS|VS_WINRT_REFERENCES|WIN32_EXECUTABLE|XCODE_ATTRIBUTE_\\\\w+)\\\\b","name":"entity.source.cmake"},{"begin":"\\\\\\\\\\"","end":"\\\\\\\\\\"","name":"string.source.cmake","patterns":[{"match":"\\\\\\\\(.|$)","name":"constant.character.escape"}]},{"begin":"\\"","end":"\\"","name":"string.source.cmake","patterns":[{"match":"\\\\\\\\(.|$)","name":"constant.character.escape"}]},{"match":"\\\\bBUILD_NAME\\\\b","name":"invalid.deprecated.source.cmake"},{"match":"\\\\b(?i:(CMAKE_)?(C(?:XX_FLAGS|MAKE_CXX_FLAGS_DEBUG|MAKE_CXX_FLAGS_MINSIZEREL|MAKE_CXX_FLAGS_RELEASE|MAKE_CXX_FLAGS_RELWITHDEBINFO)))\\\\b","name":"variable.source.cmake"}],"repository":{},"scopeName":"source.cmake"}'))];export{_ as default};