@cardstack/boxel-cli 0.3.2-unstable.59 → 0.3.2-unstable.60

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 (921) hide show
  1. package/api.ts +3 -3
  2. package/bundled-realms/base/command.gts +73 -0
  3. package/bundled-test-harness/assets/adapter-TgpmkD23.js +2 -0
  4. package/bundled-test-harness/assets/add-field-to-card-definition-command-test-BVVD6_Wq.js +111 -0
  5. package/bundled-test-harness/assets/add-workspace-test-BvvYJ2Fk.js +71 -0
  6. package/bundled-test-harness/assets/ai-assistant-Ba_RBqf6.js +129 -0
  7. package/bundled-test-harness/assets/ai-assistant-panel-service-test-DK87n1hh.js +95 -0
  8. package/bundled-test-harness/assets/ai-assistant-test-CZATBlJS.js +2137 -0
  9. package/bundled-test-harness/assets/ai-function-generation-test-e58MHziu.js +996 -0
  10. package/bundled-test-harness/assets/ai-module-creation-test-CEieL3Fa.js +150 -0
  11. package/bundled-test-harness/assets/aibot-message-DhTbAqNk.js +1185 -0
  12. package/bundled-test-harness/assets/amd-transpile-test-CSk5COu7.js +425 -0
  13. package/bundled-test-harness/assets/app-Btfy4HWI.js +21464 -0
  14. package/bundled-test-harness/assets/apply-boxel-formatting-test-BHTP9NBp.js +134 -0
  15. package/bundled-test-harness/assets/apply-markdown-edit-test-BETCndeK.js +230 -0
  16. package/bundled-test-harness/assets/apply-search-replace-block-test-KNolar0-.js +630 -0
  17. package/bundled-test-harness/assets/arc-CA8yZ0zo.js +199 -0
  18. package/bundled-test-harness/assets/architecture-7EHR7CIX-C5JFMGdb.js +3 -0
  19. package/bundled-test-harness/assets/architectureDiagram-3BPJPVTR-CmVPjKgm.js +7400 -0
  20. package/bundled-test-harness/assets/auth-error-guard-test-D0rKESg_.js +30 -0
  21. package/bundled-test-harness/assets/auth-service-worker-test-DGg_vbKo.js +538 -0
  22. package/bundled-test-harness/assets/authed-fetch-test-CHF3eh_H.js +75 -0
  23. package/bundled-test-harness/assets/avif-image-def-test-p9tiyh4_.js +186 -0
  24. package/bundled-test-harness/assets/base-realm-Chjzrp6m.js +2 -0
  25. package/bundled-test-harness/assets/base-realm-DpSTsZxD.js +140 -0
  26. package/bundled-test-harness/assets/basic-test-D7qEz4hw.js +128 -0
  27. package/bundled-test-harness/assets/bfm-card-references-test-D-m1YnL8.js +577 -0
  28. package/bundled-test-harness/assets/binary-upload-dedupe-test-8RKK73EG.js +308 -0
  29. package/bundled-test-harness/assets/blockDiagram-GPEHLZMM-BdVFTa2C.js +4355 -0
  30. package/bundled-test-harness/assets/bot-registration-test-9zYny2wR.js +99 -0
  31. package/bundled-test-harness/assets/box-test-0T92xi3A.js +51 -0
  32. package/bundled-test-harness/assets/brand-guide-attachments-test-5ZtPn4cC.js +87 -0
  33. package/bundled-test-harness/assets/brand-guide-custom-css-test-CKKSgKyp.js +135 -0
  34. package/bundled-test-harness/assets/brand-logo-mark-field-test-nlNNQ3rw.js +87 -0
  35. package/bundled-test-harness/assets/broken-link-template-test-BGIExVof.js +345 -0
  36. package/bundled-test-harness/assets/browser-index-BaR-gTqG.js +3 -0
  37. package/bundled-test-harness/assets/browser-index-G4NKYBAj.js +8802 -0
  38. package/bundled-test-harness/assets/c4Diagram-AAUBKEIU-DyugX7zz.js +3764 -0
  39. package/bundled-test-harness/assets/cached-fetch-test-MtqvDphJ.js +93 -0
  40. package/bundled-test-harness/assets/can-read-realm-test-BZmwIOqS.js +58 -0
  41. package/bundled-test-harness/assets/cancel-indexing-job-test-BsQtQbDu.js +71 -0
  42. package/bundled-test-harness/assets/card-api-test-BxQ8f0-c.js +196 -0
  43. package/bundled-test-harness/assets/card-basics-test-B-uBZ8o4.js +4895 -0
  44. package/bundled-test-harness/assets/card-catalog-test-YmwmyIKf.js +377 -0
  45. package/bundled-test-harness/assets/card-copy-test-LoqdH1CQ.js +777 -0
  46. package/bundled-test-harness/assets/card-def-field-def-relationships-test-DvtBA1jv.js +560 -0
  47. package/bundled-test-harness/assets/card-def-menu-items-test-DHnd0LuM.js +182 -0
  48. package/bundled-test-harness/assets/card-delete-test-vKF0Jf1X.js +412 -0
  49. package/bundled-test-harness/assets/card-directory-name-test-CbCuPwSz.js +71 -0
  50. package/bundled-test-harness/assets/card-playground-test-CRIP3b5-.js +1497 -0
  51. package/bundled-test-harness/assets/card-prerender-ClYlSOBU.js +12661 -0
  52. package/bundled-test-harness/assets/card-search-adorn-test-Mggk5ZgY.js +128 -0
  53. package/bundled-test-harness/assets/card-search-query-builder-test-Cdl12s50.js +88 -0
  54. package/bundled-test-harness/assets/card-search-selection-menu-test-CtuCCLoB.js +108 -0
  55. package/bundled-test-harness/assets/channel-BKUMepxs.js +8 -0
  56. package/bundled-test-harness/assets/check-correctness-test-DBh8DT_f.js +252 -0
  57. package/bundled-test-harness/assets/chunk-2J33WTMH-ClrRoNQU.js +31 -0
  58. package/bundled-test-harness/assets/chunk-3OPIFGDE-g_0Oh8jN.js +5548 -0
  59. package/bundled-test-harness/assets/chunk-4BX2VUAB-D2LCc7Y9.js +11 -0
  60. package/bundled-test-harness/assets/chunk-4EGX6M5U-D8vRS5IG.js +44 -0
  61. package/bundled-test-harness/assets/chunk-55IACEB6-C5j4VAmb.js +10 -0
  62. package/bundled-test-harness/assets/chunk-5DO6E6H7-CPb3jsP0.js +27 -0
  63. package/bundled-test-harness/assets/chunk-5ZQYHXKU-BlVb7vgG.js +1767 -0
  64. package/bundled-test-harness/assets/chunk-727SXJPM-C_NVCDMC.js +3877 -0
  65. package/bundled-test-harness/assets/chunk-AQP2D5EJ-CpwrMix_.js +2622 -0
  66. package/bundled-test-harness/assets/chunk-BR22UD5L-AF0NWdjT.js +85 -0
  67. package/bundled-test-harness/assets/chunk-BSJP7CBP-Dgun5vYb.js +114 -0
  68. package/bundled-test-harness/assets/chunk-CSCIHK7Q-D7nFiAZ-.js +6144 -0
  69. package/bundled-test-harness/assets/chunk-FHYWG6QK-2nuXS9PL.js +27 -0
  70. package/bundled-test-harness/assets/chunk-FMBD7UC4-O-Y8VK1S.js +20 -0
  71. package/bundled-test-harness/assets/chunk-KSCS5N6A-Du5-DprU.js +871 -0
  72. package/bundled-test-harness/assets/chunk-L5ZTLDWV-C2lDtkix.js +43 -0
  73. package/bundled-test-harness/assets/chunk-LZXEDZCA-qAMsMZkF.js +65 -0
  74. package/bundled-test-harness/assets/chunk-MPE355IW-DcT_60Oq.js +27 -0
  75. package/bundled-test-harness/assets/chunk-MZUSXYTE-BsH_YmnC.js +36 -0
  76. package/bundled-test-harness/assets/chunk-N66VUXT2-DMyMHgoS.js +70 -0
  77. package/bundled-test-harness/assets/chunk-ND2GUHAM-DO1Znn8O.js +93 -0
  78. package/bundled-test-harness/assets/chunk-NZK2D7GU-B1YWBxHm.js +89 -0
  79. package/bundled-test-harness/assets/chunk-O5CBEL6O-CZVSBsRq.js +2395 -0
  80. package/bundled-test-harness/assets/chunk-PUPMXCY4-DzOK-Vbt.js +27 -0
  81. package/bundled-test-harness/assets/chunk-QZHKN3VN-DJFnRn99.js +20 -0
  82. package/bundled-test-harness/assets/chunk-UIBZB4QT-5KIxBxjk.js +27 -0
  83. package/bundled-test-harness/assets/chunk-WCWK7LTN-BsQwhliq.js +36 -0
  84. package/bundled-test-harness/assets/chunk-WU5MYG2G-DUVb5MAo.js +12 -0
  85. package/bundled-test-harness/assets/chunk-XPW4576I-DLaJYAOU.js +2341 -0
  86. package/bundled-test-harness/assets/classDiagram-4FO5ZUOK-DjP2uozG.js +31 -0
  87. package/bundled-test-harness/assets/classDiagram-v2-Q7XG4LA2-Dt6ps5uz.js +31 -0
  88. package/bundled-test-harness/assets/code-equality-assertion-BBezFT13.js +474 -0
  89. package/bundled-test-harness/assets/code-patches-test-DzoQGARM.js +1128 -0
  90. package/bundled-test-harness/assets/code-patching-test-D8r-pJ5w.js +114 -0
  91. package/bundled-test-harness/assets/code-ref-test-DU3HChNz.js +138 -0
  92. package/bundled-test-harness/assets/code-semantics-service-test-DArUotKy.js +65 -0
  93. package/bundled-test-harness/assets/code-submode-test-h5wWKsz2.js +1762 -0
  94. package/bundled-test-harness/assets/codeblocks-test-FbuwTy5v.js +492 -0
  95. package/bundled-test-harness/assets/codemirror-context-DVlC9C78.js +2 -0
  96. package/bundled-test-harness/assets/codemirror-editor-test-JDT9uwqM.js +1176 -0
  97. package/bundled-test-harness/assets/color-field-test-BssRlQAX.js +213 -0
  98. package/bundled-test-harness/assets/command-definitions-test-J21kOxBs.js +72 -0
  99. package/bundled-test-harness/assets/commands-DAo0DgCX.js +1379 -0
  100. package/bundled-test-harness/assets/commands-calling-test-C3deVvv_.js +200 -0
  101. package/bundled-test-harness/assets/commands-test--0zViqs2.js +1041 -0
  102. package/bundled-test-harness/assets/commands-test-BwNn2npL.js +1145 -0
  103. package/bundled-test-harness/assets/computed-test-BD_KrZmc.js +882 -0
  104. package/bundled-test-harness/assets/container-C8gu0I0Q.js +14605 -0
  105. package/bundled-test-harness/assets/convert-to-class-name-test-CX21VRzM.js +17 -0
  106. package/bundled-test-harness/assets/copy-and-edit-test-BUy_o8XJ.js +291 -0
  107. package/bundled-test-harness/assets/copy-card-test-LWbugEPe.js +156 -0
  108. package/bundled-test-harness/assets/copy-file-to-realm-test-BS25EUGV.js +99 -0
  109. package/bundled-test-harness/assets/copy-source-test-Dh33cqM8.js +56 -0
  110. package/bundled-test-harness/assets/cose-bilkent-S5V4N54A-CjAFDdpS.js +4275 -0
  111. package/bundled-test-harness/assets/create-file-test-DOc3YYij.js +963 -0
  112. package/bundled-test-harness/assets/create-file-test-DgUya7-i.js +397 -0
  113. package/bundled-test-harness/assets/create-listing-modal-test-DZxZBYS7.js +194 -0
  114. package/bundled-test-harness/assets/create-listing-pr-request-Aw0ms76l.js +64 -0
  115. package/bundled-test-harness/assets/create-listing-pr-request-test-CFvqkgky.js +117 -0
  116. package/bundled-test-harness/assets/create-spec-test-BTRt8oe8.js +239 -0
  117. package/bundled-test-harness/assets/csv-file-def-test-BVffg8wL.js +101 -0
  118. package/bundled-test-harness/assets/dagre-BM42HDAG-GoRrN65x.js +606 -0
  119. package/bundled-test-harness/assets/dagre-ByxOOmYM.js +4195 -0
  120. package/bundled-test-harness/assets/date-time-fields-test-BEcfCqgB.js +322 -0
  121. package/bundled-test-harness/assets/debug-message-test-CAxbe6x2.js +119 -0
  122. package/bundled-test-harness/assets/diagram-2AECGRRQ-B6-pvp9H.js +279 -0
  123. package/bundled-test-harness/assets/diagram-5GNKFQAL-C9M7hXIc.js +142 -0
  124. package/bundled-test-harness/assets/diagram-KO2AKTUF-BNJvCLGK.js +551 -0
  125. package/bundled-test-harness/assets/diagram-LMA3HP47-hlJyTtqP.js +184 -0
  126. package/bundled-test-harness/assets/diagram-OG6HWLK6-BvPoB3IH.js +857 -0
  127. package/bundled-test-harness/assets/diffing-test-De9Ev_Fr.js +210 -0
  128. package/bundled-test-harness/assets/dist-BsEojs3T.js +232 -0
  129. package/bundled-test-harness/assets/dist-CY3T64Hs.js +105 -0
  130. package/bundled-test-harness/assets/dist-q2xz8RMj.js +2 -0
  131. package/bundled-test-harness/assets/editor-test-DOI_TvWQ.js +551 -0
  132. package/bundled-test-harness/assets/editor.main-CpuM6HrX.js +43566 -0
  133. package/bundled-test-harness/assets/editor.main-DkMgS1qm.js +3 -0
  134. package/bundled-test-harness/assets/email-field-test-t-80Z94b.js +74 -0
  135. package/bundled-test-harness/assets/enum-field-test-DVp-2pip.js +909 -0
  136. package/bundled-test-harness/assets/erDiagram-TEJ5UH35-CYniRkua.js +2041 -0
  137. package/bundled-test-harness/assets/error-display-test-IuRxKyLz.js +343 -0
  138. package/bundled-test-harness/assets/evaluate-module-test-DdnfbFp-.js +66 -0
  139. package/bundled-test-harness/assets/eventmodeling-FCH6USID-BO089-Cs.js +3 -0
  140. package/bundled-test-harness/assets/execute-atomic-operations-test-CgbvrBlu.js +75 -0
  141. package/bundled-test-harness/assets/externals-5atxeNU4.js +5533 -0
  142. package/bundled-test-harness/assets/extract-css-variables-test-Cii-CYfc.js +169 -0
  143. package/bundled-test-harness/assets/fallback-banner-test-CUUd-Wuu.js +227 -0
  144. package/bundled-test-harness/assets/fallback-banner-test-D4NWyahM.js +53 -0
  145. package/bundled-test-harness/assets/fallback-models-test-2MJ1jAs8.js +163 -0
  146. package/bundled-test-harness/assets/fetch-card-json-test-Cruqsq6S.js +63 -0
  147. package/bundled-test-harness/assets/fetcher-test-CkHlbTzz.js +85 -0
  148. package/bundled-test-harness/assets/field-configuration-test-CqwsGNib.js +535 -0
  149. package/bundled-test-harness/assets/field-markdown-domain-test-DPjz8i4Y.js +615 -0
  150. package/bundled-test-harness/assets/field-markdown-primitives-test-Dw07UtT7.js +362 -0
  151. package/bundled-test-harness/assets/field-markdown-specialized-test-C-t34PAw.js +527 -0
  152. package/bundled-test-harness/assets/field-path-parser-test-BeNjacPu.js +387 -0
  153. package/bundled-test-harness/assets/field-playground-test-BILTGxqr.js +902 -0
  154. package/bundled-test-harness/assets/field-support-predicates-test-Df24w0Wa.js +170 -0
  155. package/bundled-test-harness/assets/field-test-helpers-P22hxBNz.js +45 -0
  156. package/bundled-test-harness/assets/file-attachment-test-Cjg4NBeM.js +635 -0
  157. package/bundled-test-harness/assets/file-chooser-test-Cl0XujPT.js +439 -0
  158. package/bundled-test-harness/assets/file-def-live-reload-test-D4Obzi12.js +50 -0
  159. package/bundled-test-harness/assets/file-def-manager-DUgR-gjs.js +470 -0
  160. package/bundled-test-harness/assets/file-def-manager-canonicalize-test-D_LWVsvz.js +451 -0
  161. package/bundled-test-harness/assets/file-def-menu-items-test-xvsUTOK4.js +114 -0
  162. package/bundled-test-harness/assets/file-def-navigation-test-DxPceB7E.js +109 -0
  163. package/bundled-test-harness/assets/file-def-serialization-test-CpwbDb8p.js +87 -0
  164. package/bundled-test-harness/assets/file-def-test-CEnKcvW9.js +219 -0
  165. package/bundled-test-harness/assets/file-tree-test-DE2aH6iq.js +773 -0
  166. package/bundled-test-harness/assets/flac-audio-def-test-BCg7LnR6.js +138 -0
  167. package/bundled-test-harness/assets/flowDiagram-I6XJVG4X-Xv8-LIxQ.js +4883 -0
  168. package/bundled-test-harness/assets/formatted-aibot-message-test-CsxFn62P.js +366 -0
  169. package/bundled-test-harness/assets/formatted-user-message-test-DjZc8qnA.js +43 -0
  170. package/bundled-test-harness/assets/freestyle-test-QEZaZCNJ.js +17 -0
  171. package/bundled-test-harness/assets/full-reindex-realm-test-C_c2OTTD.js +103 -0
  172. package/bundled-test-harness/assets/ganttDiagram-6RSMTGT7-DmvkzS5w.js +4060 -0
  173. package/bundled-test-harness/assets/garbage-collection-test-BVuvfidI.js +373 -0
  174. package/bundled-test-harness/assets/general-test-Ydis4jEq.js +926 -0
  175. package/bundled-test-harness/assets/generate-css-variables-test-CZCmgTAO.js +88 -0
  176. package/bundled-test-harness/assets/generate-example-cards-one-shot-test-x_szhkSN.js +67 -0
  177. package/bundled-test-harness/assets/get-available-realm-identifiers-test-DvRnwCHR.js +49 -0
  178. package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-46TE-XA0.js +49 -0
  179. package/bundled-test-harness/assets/get-default-writable-realm-test-DaAkxTNh.js +56 -0
  180. package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-9XEGHVOV.js +55 -0
  181. package/bundled-test-harness/assets/get-relationship-membership-state-test-BY4gk5JZ.js +1306 -0
  182. package/bundled-test-harness/assets/get-type-refs-from-filter-test-BynlX0JE.js +136 -0
  183. package/bundled-test-harness/assets/get-user-system-card-test-D98Xxn1k.js +52 -0
  184. package/bundled-test-harness/assets/gif-image-def-test-FwKGFGWw.js +161 -0
  185. package/bundled-test-harness/assets/gitGraph-WXDBUCRP-Bmn0Z_Xi.js +3 -0
  186. package/bundled-test-harness/assets/gitGraphDiagram-PVQCEYII-BAo0G82W.js +1150 -0
  187. package/bundled-test-harness/assets/gts-file-def-test-ivEk8Muv.js +99 -0
  188. package/bundled-test-harness/assets/head-format-preview-test-CNhvk724.js +156 -0
  189. package/bundled-test-harness/assets/helpers-BH4Yfo_2.js +5 -0
  190. package/bundled-test-harness/assets/host-mode-test-BRNndb2h.js +391 -0
  191. package/bundled-test-harness/assets/host-submode-test-DHd0x-6x.js +904 -0
  192. package/bundled-test-harness/assets/index-query-engine-test-7Fzc09fG.js +2548 -0
  193. package/bundled-test-harness/assets/index-writer-test-D3cL2q2N.js +1842 -0
  194. package/bundled-test-harness/assets/indexeddb-crypto-store-C09Shau-.js +49434 -0
  195. package/bundled-test-harness/assets/info-J43DQDTF-Dz5b1Xgc.js +3 -0
  196. package/bundled-test-harness/assets/infoDiagram-5YYISTIA-Dl8XvIfi.js +23 -0
  197. package/bundled-test-harness/assets/inspector-test-CVZVQdIJ.js +1776 -0
  198. package/bundled-test-harness/assets/instance-filter-matcher-test-C-4z6qUt.js +564 -0
  199. package/bundled-test-harness/assets/instantiate-card-test-eQ22Vt_m.js +104 -0
  200. package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-hXPsRPMU.js +497 -0
  201. package/bundled-test-harness/assets/interact-submode-setup-D55IIVc5.js +558 -0
  202. package/bundled-test-harness/assets/interact-submode-test-BwrtFe2m.js +725 -0
  203. package/bundled-test-harness/assets/invalidate-realm-identifiers-test-BMk7yd-D.js +101 -0
  204. package/bundled-test-harness/assets/invite-user-to-room-test-B5B0umJQ.js +67 -0
  205. package/bundled-test-harness/assets/ishikawaDiagram-YF4QCWOH-BrO7NAng.js +1009 -0
  206. package/bundled-test-harness/assets/isolated-render-test-DX1wdHoS.js +51 -0
  207. package/bundled-test-harness/assets/item-button-QkVr-FW0.js +203 -0
  208. package/bundled-test-harness/assets/javascript-BWNQhcCY.js +75 -0
  209. package/bundled-test-harness/assets/job-priority-header-test-CuBZloLK.js +81 -0
  210. package/bundled-test-harness/assets/journeyDiagram-JHISSGLW-B7BT66v0.js +1256 -0
  211. package/bundled-test-harness/assets/jpg-image-def-test-DEx462nY.js +430 -0
  212. package/bundled-test-harness/assets/json-file-def-test-Cray6ly6.js +92 -0
  213. package/bundled-test-harness/assets/kanban-definition-UN3LZRKU-C0E5Vmr_.js +1284 -0
  214. package/bundled-test-harness/assets/last-modified-date-test-BzE25NOB.js +18 -0
  215. package/bundled-test-harness/assets/limited-set-test-NwGNoXKc.js +123 -0
  216. package/bundled-test-harness/assets/line-BbGOk93s.js +55 -0
  217. package/bundled-test-harness/assets/linear-CHTo-YQl.js +417 -0
  218. package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-CZdgRM1b.js +315 -0
  219. package/bundled-test-harness/assets/linksto-error-sentinel-test-DhsHO7Xs.js +236 -0
  220. package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-mt-RrRta.js +303 -0
  221. package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CdGUXZsi.js +301 -0
  222. package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DOJ_6Gwf.js +258 -0
  223. package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-BZC-gslF.js +194 -0
  224. package/bundled-test-harness/assets/live-prerendered-search-BSkwf5AH.js +639 -0
  225. package/bundled-test-harness/assets/live-test-DTfxZnsy.js +100 -0
  226. package/bundled-test-harness/assets/live-test-WOMYpc1I.js +2 -0
  227. package/bundled-test-harness/assets/loader-icon-error-test-F_ukQytn.js +62 -0
  228. package/bundled-test-harness/assets/loader-parallel-prefetch-test-DpNaFnhc.js +257 -0
  229. package/bundled-test-harness/assets/loader-retry-test-EQ2X0bFS.js +173 -0
  230. package/bundled-test-harness/assets/loader-test-BYkWAwc4.js +245 -0
  231. package/bundled-test-harness/assets/loading-test-jfWH_OpH.js +63 -0
  232. package/bundled-test-harness/assets/login-error-text-test-Cldr1X6h.js +51 -0
  233. package/bundled-test-harness/assets/m4a-audio-def-test-BQ1WKApD.js +185 -0
  234. package/bundled-test-harness/assets/main-ByAsLO_g.js +5 -0
  235. package/bundled-test-harness/assets/markdown-fallback-test-dtTaGP1s.js +316 -0
  236. package/bundled-test-harness/assets/markdown-file-def-test-shW9Xxd1.js +286 -0
  237. package/bundled-test-harness/assets/markdown-helpers-test-B6H7p4ay.js +183 -0
  238. package/bundled-test-harness/assets/markdown-highlighting-test-ZIrFNHRe.js +244 -0
  239. package/bundled-test-harness/assets/markdown-preview-KII3nJ2M.js +69 -0
  240. package/bundled-test-harness/assets/markdown-preview-test-De-IaUbK.js +237 -0
  241. package/bundled-test-harness/assets/marked-sync-CGSehq4u.js +2 -0
  242. package/bundled-test-harness/assets/marked-sync-DenC7QgC.js +2561 -0
  243. package/bundled-test-harness/assets/marked-sync-test-jZBr20Hq.js +146 -0
  244. package/bundled-test-harness/assets/matrix-service-sliding-sync-test-Ax4kyAMt.js +33 -0
  245. package/bundled-test-harness/assets/mermaid-parser.core-B_3tzKUl.js +114 -0
  246. package/bundled-test-harness/assets/mermaid.core-D2hqA7Hq.js +1700 -0
  247. package/bundled-test-harness/assets/message-service-subscription-test-B42KnJ91.js +113 -0
  248. package/bundled-test-harness/assets/mindmap-definition-RKZ34NQL-IZz7Qpd0.js +1347 -0
  249. package/bundled-test-harness/assets/mock-matrix-BhFWlMMr.js +14292 -0
  250. package/bundled-test-harness/assets/mock-matrix-CrtMntcN.js +2 -0
  251. package/bundled-test-harness/assets/module-transpile-cache-test-BtWN4OiM.js +66 -0
  252. package/bundled-test-harness/assets/monaco.contribution-B1hOUP3w.js +2 -0
  253. package/bundled-test-harness/assets/monaco.contribution-DhNsYtZe.js +2 -0
  254. package/bundled-test-harness/assets/monaco.contribution-DvJDImx2.js +103 -0
  255. package/bundled-test-harness/assets/monaco.contribution-yXcOyzue.js +243 -0
  256. package/bundled-test-harness/assets/mp3-audio-def-test-D365TuA7.js +129 -0
  257. package/bundled-test-harness/assets/mutex-test-DY09HLvv.js +71 -0
  258. package/bundled-test-harness/assets/number-field-test-wYaQjnzA.js +153 -0
  259. package/bundled-test-harness/assets/ogg-audio-def-test-Dl01PP31.js +191 -0
  260. package/bundled-test-harness/assets/open-create-listing-modal-test-D8C2PUFv.js +117 -0
  261. package/bundled-test-harness/assets/open-workspace-test-DN2n8IkC.js +48 -0
  262. package/bundled-test-harness/assets/operator-mode-acceptance-test-B_hzJZo4.js +1044 -0
  263. package/bundled-test-harness/assets/operator-mode-card-catalog-test-Hrrnkdt9.js +989 -0
  264. package/bundled-test-harness/assets/operator-mode-links-test-DC6sc9TZ.js +797 -0
  265. package/bundled-test-harness/assets/operator-mode-state-service-test-Aqz9_v0U.js +122 -0
  266. package/bundled-test-harness/assets/operator-mode-test-CLgpZGEM.js +617 -0
  267. package/bundled-test-harness/assets/operator-mode-ui-test-CDRrORfC.js +985 -0
  268. package/bundled-test-harness/assets/ordinal-BIRuJQBH.js +85 -0
  269. package/bundled-test-harness/assets/overlay-menu-items-test-of24KuXp.js +316 -0
  270. package/bundled-test-harness/assets/packet-YPE3B663-hs92geQG.js +3 -0
  271. package/bundled-test-harness/assets/panel-rIdTMDfK.js +3371 -0
  272. package/bundled-test-harness/assets/past-sessions-test-ZKr4ACF0.js +321 -0
  273. package/bundled-test-harness/assets/patch-code-test-BZa-Itrt.js +203 -0
  274. package/bundled-test-harness/assets/patch-fields-test-BkaHs-zo.js +992 -0
  275. package/bundled-test-harness/assets/patch-instance-test-CRMgg52p.js +287 -0
  276. package/bundled-test-harness/assets/persist-module-inspector-view-test-CqNy2RXR.js +62 -0
  277. package/bundled-test-harness/assets/phone-number-field-test-CV6gntON.js +72 -0
  278. package/bundled-test-harness/assets/pie-LRSECV5Y-DcM5pWE3.js +3 -0
  279. package/bundled-test-harness/assets/pieDiagram-4H26LBE5-CtO8RHpU.js +253 -0
  280. package/bundled-test-harness/assets/plan-install-test-lfBTuWXU.js +417 -0
  281. package/bundled-test-harness/assets/playground-VscW9KdT.js +57 -0
  282. package/bundled-test-harness/assets/png-image-def-test-CRspcIHP.js +222 -0
  283. package/bundled-test-harness/assets/prerender-file-extract-test-D3SpxfMI.js +176 -0
  284. package/bundled-test-harness/assets/prerender-html-test-WWptGXJ0.js +615 -0
  285. package/bundled-test-harness/assets/prerender-meta-test-DwQEGN6j.js +388 -0
  286. package/bundled-test-harness/assets/prerender-module-test-BM1AOwRF.js +195 -0
  287. package/bundled-test-harness/assets/prerendered-card-search-test-BVJ8IHLe.js +708 -0
  288. package/bundled-test-harness/assets/preview-format-test-DDpiXDN_.js +103 -0
  289. package/bundled-test-harness/assets/preview-test-D2UV1C5D.js +455 -0
  290. package/bundled-test-harness/assets/published-realm-url-DUIZzAJ5.js +52 -0
  291. package/bundled-test-harness/assets/published-realm-url-test-CIgSf4Ub.js +137 -0
  292. package/bundled-test-harness/assets/qs-test-Bi679H5w.js +36 -0
  293. package/bundled-test-harness/assets/quadrantDiagram-W4KKPZXB-GOTAKsCo.js +2324 -0
  294. package/bundled-test-harness/assets/query-field-barrier-test-BlOuVxdS.js +118 -0
  295. package/bundled-test-harness/assets/query-field-error-sentinel-test-BsB76iUQ.js +202 -0
  296. package/bundled-test-harness/assets/query-field-normalization-test-B2YodJCr.js +271 -0
  297. package/bundled-test-harness/assets/query-field-schema-test-CQhJASFx.js +231 -0
  298. package/bundled-test-harness/assets/query-fields-test-CaZ19leM.js +535 -0
  299. package/bundled-test-harness/assets/queue-test-DrSip6mJ.js +216 -0
  300. package/bundled-test-harness/assets/radar-GUYGQ44K-BkAe1nkp.js +3 -0
  301. package/bundled-test-harness/assets/read-card-for-ai-assistant-test-D8yB-OL9.js +91 -0
  302. package/bundled-test-harness/assets/read-file-for-ai-assistant-test-K3M0-lBD.js +45 -0
  303. package/bundled-test-harness/assets/read-source-test-CKlb0ORb.js +67 -0
  304. package/bundled-test-harness/assets/read-text-file-test-CJdasDDU.js +124 -0
  305. package/bundled-test-harness/assets/realm-DhUCLR5r.js +884 -0
  306. package/bundled-test-harness/assets/realm-field-test-kFgxphDI.js +101 -0
  307. package/bundled-test-harness/assets/realm-index-card-id-test-DAnMAqw4.js +18 -0
  308. package/bundled-test-harness/assets/realm-indexing-test-BQkX-Dat.js +4018 -0
  309. package/bundled-test-harness/assets/realm-paths-test-CmEi9rzu.js +33 -0
  310. package/bundled-test-harness/assets/realm-querying-test-eq3qSXLu.js +1062 -0
  311. package/bundled-test-harness/assets/realm-test-DLQAtdMt.js +2409 -0
  312. package/bundled-test-harness/assets/reasoning-test-CwTfyDlj.js +234 -0
  313. package/bundled-test-harness/assets/recent-files-test-MVIGLp8S.js +449 -0
  314. package/bundled-test-harness/assets/reindex-realm-test-BwLgJeB3.js +119 -0
  315. package/bundled-test-harness/assets/relationship-loading-state-test-B4Ca43yD.js +289 -0
  316. package/bundled-test-harness/assets/render-component-BKEihV4U.js +2 -0
  317. package/bundled-test-harness/assets/render-error-test-DWD6tfNe.js +22 -0
  318. package/bundled-test-harness/assets/render-service-test-BjuoVrUK.js +87 -0
  319. package/bundled-test-harness/assets/render-timer-stub-test-BgUY5u3X.js +84 -0
  320. package/bundled-test-harness/assets/rendered-markdown-DOP-s6fW.js +211 -0
  321. package/bundled-test-harness/assets/rendered-markdown-test-CD02UYwA.js +360 -0
  322. package/bundled-test-harness/assets/requirementDiagram-4Y6WPE33-DJIy7eR9.js +2550 -0
  323. package/bundled-test-harness/assets/rich-markdown-field-test-BJeQx1tL.js +806 -0
  324. package/bundled-test-harness/assets/room-message-test-CjD7FlPD.js +171 -0
  325. package/bundled-test-harness/assets/rust-crypto-GS0FFZ7H.js +16141 -0
  326. package/bundled-test-harness/assets/sanitize-module-list-test-gi0pcqSy.js +68 -0
  327. package/bundled-test-harness/assets/sankeyDiagram-5OEKKPKP-wBsbt1Mr.js +1357 -0
  328. package/bundled-test-harness/assets/schema-editor-test-BSqu8W3e.js +784 -0
  329. package/bundled-test-harness/assets/schema-generation-test-DVFuSsLl.js +28 -0
  330. package/bundled-test-harness/assets/scrolling-test-CpzkRiBS.js +292 -0
  331. package/bundled-test-harness/assets/search-and-choose-test-DVWX4XRb.js +156 -0
  332. package/bundled-test-harness/assets/search-cache-key-test-BMnYM4a5.js +79 -0
  333. package/bundled-test-harness/assets/search-command-test-kEfT0AO7.js +135 -0
  334. package/bundled-test-harness/assets/search-correlation-id-test-D08FtVUZ.js +101 -0
  335. package/bundled-test-harness/assets/search-data-test-CTrBEc1m.js +243 -0
  336. package/bundled-test-harness/assets/search-google-images-test-UnKG8qCp.js +168 -0
  337. package/bundled-test-harness/assets/search-in-flight-key-test-9Va-JXFz.js +79 -0
  338. package/bundled-test-harness/assets/search-test-COlO2lZi.js +847 -0
  339. package/bundled-test-harness/assets/send-ai-assistant-message-test-BPjOjt2R.js +52 -0
  340. package/bundled-test-harness/assets/send-bot-trigger-event-test-BB4lHbB_.js +56 -0
  341. package/bundled-test-harness/assets/send-request-via-proxy-test-U8frmHZA.js +333 -0
  342. package/bundled-test-harness/assets/sending-test-DjEzksEX.js +317 -0
  343. package/bundled-test-harness/assets/sequenceDiagram-3UESZ5HK-QAEjhoay.js +5551 -0
  344. package/bundled-test-harness/assets/serialization-test-DHdLriC8.js +8283 -0
  345. package/bundled-test-harness/assets/set-user-system-card-test-C8I1lDBh.js +59 -0
  346. package/bundled-test-harness/assets/setup-BkuybBki.js +769 -0
  347. package/bundled-test-harness/assets/setup-gxkWJKID.js +2 -0
  348. package/bundled-test-harness/assets/show-card-test-DHKQ6AI4.js +362 -0
  349. package/bundled-test-harness/assets/skills-test-DlMgZrPV.js +568 -0
  350. package/bundled-test-harness/assets/spec-test-s9Zj7x2E.js +1012 -0
  351. package/bundled-test-harness/assets/stateDiagram-AJRCARHV-nEhf3efZ.js +363 -0
  352. package/bundled-test-harness/assets/stateDiagram-v2-BHNVJYJU-tZz_3w-7.js +29 -0
  353. package/bundled-test-harness/assets/store-add-test-D44FWRl3.js +52 -0
  354. package/bundled-test-harness/assets/store-test-TTmNBs5v.js +1562 -0
  355. package/bundled-test-harness/assets/summarize-session-test-DHAuNb5K.js +169 -0
  356. package/bundled-test-harness/assets/svg-image-def-test-C2_GGzR6.js +164 -0
  357. package/bundled-test-harness/assets/switch-submode-test-CfGaoxVe.js +168 -0
  358. package/bundled-test-harness/assets/test-realm-service-worker-C21o7yvW.js +73 -0
  359. package/bundled-test-harness/assets/tests-BSt6h9iC.js +2771 -0
  360. package/bundled-test-harness/assets/text-file-def-test-CR4QO7e_.js +93 -0
  361. package/bundled-test-harness/assets/text-input-validator-test-DYS3mFj9.js +155 -0
  362. package/bundled-test-harness/assets/text-suggestion-test-GUxJ7WtF.js +339 -0
  363. package/bundled-test-harness/assets/theme-card-test-Ba2KqFB8.js +573 -0
  364. package/bundled-test-harness/assets/timeline-definition-PNZ67QCA-BQYyTIei.js +1545 -0
  365. package/bundled-test-harness/assets/transform-cards-test-DyA8eCom.js +341 -0
  366. package/bundled-test-harness/assets/treeView-BLDUP644-Z4ezSvef.js +3 -0
  367. package/bundled-test-harness/assets/treemap-LRROVOQU-Bf5rk_He.js +3 -0
  368. package/bundled-test-harness/assets/ts-file-def-test-Cxnc6H74.js +90 -0
  369. package/bundled-test-harness/assets/tsMode-oJEHe-CR.js +968 -0
  370. package/bundled-test-harness/assets/typescript-DLbb7q56.js +2 -0
  371. package/bundled-test-harness/assets/update-room-skills-test-B7VLHU3-.js +197 -0
  372. package/bundled-test-harness/assets/url-test-w-69Zycf.js +103 -0
  373. package/bundled-test-harness/assets/use-ai-assistant-test-DJkFz7_b.js +330 -0
  374. package/bundled-test-harness/assets/validate-realm-test-BioLutB8.js +53 -0
  375. package/bundled-test-harness/assets/vennDiagram-CIIHVFJN-9eLwsQET.js +2833 -0
  376. package/bundled-test-harness/assets/wardley-L42UT6IY-qNP5_917.js +3 -0
  377. package/bundled-test-harness/assets/wardleyDiagram-YWT4CUSO-DZhEm4N4.js +872 -0
  378. package/bundled-test-harness/assets/wav-audio-def-test-DqsTEBw8.js +155 -0
  379. package/bundled-test-harness/assets/webp-image-def-test-23wOLPMu.js +225 -0
  380. package/bundled-test-harness/assets/workspace-chooser-delete-test-Q6S_nGDT.js +189 -0
  381. package/bundled-test-harness/assets/workspace-chooser-test-CzsvY1v_.js +235 -0
  382. package/bundled-test-harness/assets/workspace-delete-multiple-test-BNFHkJpQ.js +213 -0
  383. package/bundled-test-harness/assets/workspace-delete-summary-test-DLzNdjvC.js +63 -0
  384. package/bundled-test-harness/assets/write-binary-file-test-PHHt9fVI.js +100 -0
  385. package/bundled-test-harness/assets/write-text-file-test-DuHe6tR5.js +172 -0
  386. package/bundled-test-harness/assets/xychartDiagram-2RQKCTM6-bflHQbEv.js +2551 -0
  387. package/bundled-test-harness/index.html +24 -23
  388. package/bundled-test-harness/tests/index.html +31 -30
  389. package/bundled-types/base/command.d.ts +48 -0
  390. package/bundled-types/host-app/components/operator-mode/publish-realm-modal.gts +17 -26
  391. package/bundled-types/host-app/lib/published-realm-url.ts +135 -0
  392. package/package.json +2 -2
  393. package/src/build-program.ts +12 -12
  394. package/src/commands/consolidate-workspaces.ts +1 -1
  395. package/src/commands/file/delete.ts +4 -4
  396. package/src/commands/file/index.ts +6 -6
  397. package/src/commands/file/lint.ts +4 -4
  398. package/src/commands/file/list.ts +3 -3
  399. package/src/commands/file/read.ts +3 -3
  400. package/src/commands/file/touch.ts +6 -6
  401. package/src/commands/file/write.ts +3 -3
  402. package/src/commands/lint.ts +6 -6
  403. package/src/commands/parse.ts +6 -6
  404. package/src/commands/profile.ts +4 -4
  405. package/src/commands/read-transpiled.ts +6 -3
  406. package/src/commands/realm/cancel-indexing.ts +3 -3
  407. package/src/commands/realm/create.ts +2 -2
  408. package/src/commands/realm/history.ts +4 -4
  409. package/src/commands/realm/index.ts +15 -15
  410. package/src/commands/realm/indexing-errors.ts +3 -3
  411. package/src/commands/realm/list.ts +2 -2
  412. package/src/commands/realm/milestone.ts +4 -4
  413. package/src/commands/realm/publish.ts +4 -4
  414. package/src/commands/realm/pull.ts +6 -6
  415. package/src/commands/realm/push.ts +7 -7
  416. package/src/commands/realm/remove.ts +3 -3
  417. package/src/commands/realm/status.ts +8 -8
  418. package/src/commands/realm/sync.ts +9 -9
  419. package/src/commands/realm/unpublish.ts +3 -3
  420. package/src/commands/realm/wait-for-ready.ts +2 -2
  421. package/src/commands/realm/watch/index.ts +2 -2
  422. package/src/commands/realm/watch/start.ts +13 -10
  423. package/src/commands/realm/watch/stop.ts +2 -2
  424. package/src/commands/run-command.ts +6 -3
  425. package/src/commands/search.ts +3 -3
  426. package/src/commands/test.ts +5 -5
  427. package/src/index.ts +2 -2
  428. package/src/lib/auth-resolver.ts +3 -3
  429. package/src/lib/boxel-cli-client.ts +18 -15
  430. package/src/lib/checkpoint-manager.ts +1 -1
  431. package/src/lib/find-checkpoint.ts +1 -1
  432. package/src/lib/profile-manager.ts +4 -4
  433. package/src/lib/realm-local-paths.ts +1 -1
  434. package/src/lib/realm-sync-base.ts +1 -1
  435. package/src/lib/seed-auth.ts +1 -1
  436. package/src/lib/sync-logic.ts +1 -1
  437. package/src/lib/watch-process-registry.ts +1 -1
  438. package/bundled-test-harness/assets/adapter-C8oDflNN.js +0 -2
  439. package/bundled-test-harness/assets/add-field-to-card-definition-command-test-Cs670972.js +0 -111
  440. package/bundled-test-harness/assets/add-workspace-test-BviDAUBK.js +0 -71
  441. package/bundled-test-harness/assets/ai-assistant-B5fp2iOz.js +0 -129
  442. package/bundled-test-harness/assets/ai-assistant-panel-service-test-NpHZzZAz.js +0 -95
  443. package/bundled-test-harness/assets/ai-assistant-test-jPV29jEw.js +0 -2137
  444. package/bundled-test-harness/assets/ai-function-generation-test-QRPcE9tQ.js +0 -996
  445. package/bundled-test-harness/assets/ai-module-creation-test-DyuyfnkY.js +0 -150
  446. package/bundled-test-harness/assets/aibot-message-Dwxp5hTW.js +0 -1185
  447. package/bundled-test-harness/assets/amd-transpile-test-CF7Lkbif.js +0 -425
  448. package/bundled-test-harness/assets/app-CgP2IpNG.js +0 -21464
  449. package/bundled-test-harness/assets/apply-boxel-formatting-test-BXyZ3z0I.js +0 -134
  450. package/bundled-test-harness/assets/apply-markdown-edit-test-C6bcaj3a.js +0 -230
  451. package/bundled-test-harness/assets/apply-search-replace-block-test-BSwC4J9g.js +0 -630
  452. package/bundled-test-harness/assets/arc-DNRb_8LA.js +0 -199
  453. package/bundled-test-harness/assets/architecture-7EHR7CIX-BtVh_LBJ.js +0 -3
  454. package/bundled-test-harness/assets/architectureDiagram-3BPJPVTR-D9UYbaKj.js +0 -7400
  455. package/bundled-test-harness/assets/auth-error-guard-test-Bvu8E7Wy.js +0 -30
  456. package/bundled-test-harness/assets/auth-service-worker-test-CC6DzdfK.js +0 -538
  457. package/bundled-test-harness/assets/authed-fetch-test-CfF-IBHI.js +0 -75
  458. package/bundled-test-harness/assets/avif-image-def-test-B9L2z0nR.js +0 -186
  459. package/bundled-test-harness/assets/base-realm-43wjttN2.js +0 -140
  460. package/bundled-test-harness/assets/base-realm-CJ5x9iyX.js +0 -2
  461. package/bundled-test-harness/assets/basic-test-B64a5zCK.js +0 -128
  462. package/bundled-test-harness/assets/bfm-card-references-test-cLQVLpth.js +0 -577
  463. package/bundled-test-harness/assets/binary-upload-dedupe-test-By7Y1iQ3.js +0 -308
  464. package/bundled-test-harness/assets/blockDiagram-GPEHLZMM-LgOorG2O.js +0 -4355
  465. package/bundled-test-harness/assets/bot-registration-test-DOjf0P1R.js +0 -99
  466. package/bundled-test-harness/assets/box-test-Cd1-RcXg.js +0 -51
  467. package/bundled-test-harness/assets/brand-guide-attachments-test-DxRqP8fo.js +0 -87
  468. package/bundled-test-harness/assets/brand-guide-custom-css-test-DBpZiHzJ.js +0 -135
  469. package/bundled-test-harness/assets/brand-logo-mark-field-test-61k4e5Om.js +0 -87
  470. package/bundled-test-harness/assets/broken-link-template-test-A1P4flQ5.js +0 -345
  471. package/bundled-test-harness/assets/browser-index-Bzhpucwe.js +0 -3
  472. package/bundled-test-harness/assets/browser-index-D0mzSWYV.js +0 -8802
  473. package/bundled-test-harness/assets/c4Diagram-AAUBKEIU-1iq94vGa.js +0 -3764
  474. package/bundled-test-harness/assets/cached-fetch-test-ByQ-5OQI.js +0 -93
  475. package/bundled-test-harness/assets/can-read-realm-test-VFLHJdEv.js +0 -58
  476. package/bundled-test-harness/assets/cancel-indexing-job-test-n3Os4ZaX.js +0 -71
  477. package/bundled-test-harness/assets/card-api-test-DvNfLv3V.js +0 -196
  478. package/bundled-test-harness/assets/card-basics-test-CKzZuFdw.js +0 -4895
  479. package/bundled-test-harness/assets/card-catalog-test-JFvkVHED.js +0 -377
  480. package/bundled-test-harness/assets/card-copy-test-iwrFA72s.js +0 -777
  481. package/bundled-test-harness/assets/card-def-field-def-relationships-test-D5s2RH5t.js +0 -560
  482. package/bundled-test-harness/assets/card-def-menu-items-test-XcmkT4NF.js +0 -182
  483. package/bundled-test-harness/assets/card-delete-test-jtAOHk1Y.js +0 -412
  484. package/bundled-test-harness/assets/card-directory-name-test-veQEp5FJ.js +0 -71
  485. package/bundled-test-harness/assets/card-playground-test-P7Ed0tO4.js +0 -1497
  486. package/bundled-test-harness/assets/card-prerender-DXG8cQEv.js +0 -12661
  487. package/bundled-test-harness/assets/card-search-adorn-test-BX0-IJHB.js +0 -128
  488. package/bundled-test-harness/assets/card-search-query-builder-test-D01uixke.js +0 -88
  489. package/bundled-test-harness/assets/card-search-selection-menu-test-DMTeZFmW.js +0 -108
  490. package/bundled-test-harness/assets/channel-BvoW_rbI.js +0 -8
  491. package/bundled-test-harness/assets/check-correctness-test-D7QB1GTo.js +0 -252
  492. package/bundled-test-harness/assets/chunk-2J33WTMH-BbxCvOlt.js +0 -31
  493. package/bundled-test-harness/assets/chunk-3OPIFGDE-DHY3s0oT.js +0 -5548
  494. package/bundled-test-harness/assets/chunk-4BX2VUAB-CRivrLQ6.js +0 -11
  495. package/bundled-test-harness/assets/chunk-4EGX6M5U-qWzlMeqd.js +0 -44
  496. package/bundled-test-harness/assets/chunk-55IACEB6-DOl6NECJ.js +0 -10
  497. package/bundled-test-harness/assets/chunk-5DO6E6H7-scwNnzDb.js +0 -27
  498. package/bundled-test-harness/assets/chunk-5ZQYHXKU-BeETnugr.js +0 -1767
  499. package/bundled-test-harness/assets/chunk-727SXJPM-BlycTxFE.js +0 -3877
  500. package/bundled-test-harness/assets/chunk-AQP2D5EJ-BE3Clw-g.js +0 -2622
  501. package/bundled-test-harness/assets/chunk-BR22UD5L-BTPKlhWA.js +0 -85
  502. package/bundled-test-harness/assets/chunk-BSJP7CBP-BIhtUfvc.js +0 -114
  503. package/bundled-test-harness/assets/chunk-CSCIHK7Q-DnRAp6Bv.js +0 -6144
  504. package/bundled-test-harness/assets/chunk-FHYWG6QK-DpIXIGDC.js +0 -27
  505. package/bundled-test-harness/assets/chunk-FMBD7UC4-B36w3LIg.js +0 -20
  506. package/bundled-test-harness/assets/chunk-KSCS5N6A-gbz9p9BU.js +0 -871
  507. package/bundled-test-harness/assets/chunk-L5ZTLDWV-HNfH9U8K.js +0 -43
  508. package/bundled-test-harness/assets/chunk-LZXEDZCA-CbKHJfzx.js +0 -65
  509. package/bundled-test-harness/assets/chunk-MPE355IW-BGVbCTZH.js +0 -27
  510. package/bundled-test-harness/assets/chunk-MZUSXYTE-DoCjuxcJ.js +0 -36
  511. package/bundled-test-harness/assets/chunk-N66VUXT2-BX17MI-i.js +0 -70
  512. package/bundled-test-harness/assets/chunk-ND2GUHAM-IpeiJZYz.js +0 -93
  513. package/bundled-test-harness/assets/chunk-NZK2D7GU-CH-Gg7qc.js +0 -89
  514. package/bundled-test-harness/assets/chunk-O5CBEL6O-D2JbLgI8.js +0 -2395
  515. package/bundled-test-harness/assets/chunk-PUPMXCY4-DS4ZxM2V.js +0 -27
  516. package/bundled-test-harness/assets/chunk-QZHKN3VN-WLHeRUJ3.js +0 -20
  517. package/bundled-test-harness/assets/chunk-UIBZB4QT-DNIJBpkq.js +0 -27
  518. package/bundled-test-harness/assets/chunk-WCWK7LTN-CqRJ3WOy.js +0 -36
  519. package/bundled-test-harness/assets/chunk-WU5MYG2G-CtItCLbE.js +0 -12
  520. package/bundled-test-harness/assets/chunk-XPW4576I-D2Q7Qo8n.js +0 -2341
  521. package/bundled-test-harness/assets/classDiagram-4FO5ZUOK-CnNFReKQ.js +0 -31
  522. package/bundled-test-harness/assets/classDiagram-v2-Q7XG4LA2-BlhpbohY.js +0 -31
  523. package/bundled-test-harness/assets/code-equality-assertion-C-2g5YGf.js +0 -474
  524. package/bundled-test-harness/assets/code-patches-test-DaV4Mon_.js +0 -1128
  525. package/bundled-test-harness/assets/code-patching-test-CcbWlImN.js +0 -114
  526. package/bundled-test-harness/assets/code-ref-test-8Yj8gbww.js +0 -138
  527. package/bundled-test-harness/assets/code-semantics-service-test-C3srTfDz.js +0 -65
  528. package/bundled-test-harness/assets/code-submode-test-BUhjvWtB.js +0 -1762
  529. package/bundled-test-harness/assets/codeblocks-test-3zAp0_GA.js +0 -492
  530. package/bundled-test-harness/assets/codemirror-context-C7KmSAyy.js +0 -2
  531. package/bundled-test-harness/assets/codemirror-editor-test-WojU4k2h.js +0 -1176
  532. package/bundled-test-harness/assets/color-field-test-yESUakoE.js +0 -213
  533. package/bundled-test-harness/assets/command-definitions-test-UsXsAhn7.js +0 -72
  534. package/bundled-test-harness/assets/commands-CBDBujm_.js +0 -1379
  535. package/bundled-test-harness/assets/commands-calling-test-DJTl0EbL.js +0 -200
  536. package/bundled-test-harness/assets/commands-test-DW2gupNS.js +0 -1041
  537. package/bundled-test-harness/assets/commands-test-DjLnuojW.js +0 -1145
  538. package/bundled-test-harness/assets/computed-test-0n5g8Ez5.js +0 -882
  539. package/bundled-test-harness/assets/container-D8y7fmir.js +0 -14602
  540. package/bundled-test-harness/assets/convert-to-class-name-test-DSIflIV2.js +0 -17
  541. package/bundled-test-harness/assets/copy-and-edit-test-BuK1ZHr-.js +0 -291
  542. package/bundled-test-harness/assets/copy-card-test-DnDC4_7J.js +0 -156
  543. package/bundled-test-harness/assets/copy-file-to-realm-test-CFd_3Iff.js +0 -99
  544. package/bundled-test-harness/assets/copy-source-test-38yUGJor.js +0 -56
  545. package/bundled-test-harness/assets/cose-bilkent-S5V4N54A-DXA1S87S.js +0 -4275
  546. package/bundled-test-harness/assets/create-file-test-B2oem0-V.js +0 -963
  547. package/bundled-test-harness/assets/create-file-test-BHk00RtD.js +0 -397
  548. package/bundled-test-harness/assets/create-listing-modal-test-L-71-Uo2.js +0 -194
  549. package/bundled-test-harness/assets/create-listing-pr-request-CZaLsHhE.js +0 -64
  550. package/bundled-test-harness/assets/create-listing-pr-request-test-OGzk4Q2E.js +0 -117
  551. package/bundled-test-harness/assets/create-spec-test-BsM7VKuH.js +0 -239
  552. package/bundled-test-harness/assets/csv-file-def-test-BhJalhE-.js +0 -101
  553. package/bundled-test-harness/assets/dagre-BIk_r1iU.js +0 -4195
  554. package/bundled-test-harness/assets/dagre-BM42HDAG-FaUWeGOj.js +0 -606
  555. package/bundled-test-harness/assets/date-time-fields-test-Cs5T6Xk1.js +0 -322
  556. package/bundled-test-harness/assets/debug-message-test-WlHe7pJF.js +0 -119
  557. package/bundled-test-harness/assets/diagram-2AECGRRQ-DLve-IVM.js +0 -279
  558. package/bundled-test-harness/assets/diagram-5GNKFQAL-CJG1RTLk.js +0 -142
  559. package/bundled-test-harness/assets/diagram-KO2AKTUF-DYGDq3dD.js +0 -551
  560. package/bundled-test-harness/assets/diagram-LMA3HP47-BNRYdpMl.js +0 -184
  561. package/bundled-test-harness/assets/diagram-OG6HWLK6-BlJH5g83.js +0 -857
  562. package/bundled-test-harness/assets/diffing-test-DO54USSm.js +0 -210
  563. package/bundled-test-harness/assets/dist-BDRmXkWl.js +0 -232
  564. package/bundled-test-harness/assets/dist-BfNSLd0O.js +0 -105
  565. package/bundled-test-harness/assets/dist-BoireClP.js +0 -2
  566. package/bundled-test-harness/assets/editor-test-DChC9LuR.js +0 -551
  567. package/bundled-test-harness/assets/editor.main-BiohyrHK.js +0 -3
  568. package/bundled-test-harness/assets/editor.main-CMU_0pR1.js +0 -43566
  569. package/bundled-test-harness/assets/email-field-test-DWIFSfZ-.js +0 -74
  570. package/bundled-test-harness/assets/enum-field-test-BUc6l4us.js +0 -909
  571. package/bundled-test-harness/assets/erDiagram-TEJ5UH35-pOJ2novh.js +0 -2041
  572. package/bundled-test-harness/assets/error-display-test-CHSE6h6Z.js +0 -343
  573. package/bundled-test-harness/assets/evaluate-module-test-Caa5n0B9.js +0 -66
  574. package/bundled-test-harness/assets/eventmodeling-FCH6USID-B6XXU7R3.js +0 -3
  575. package/bundled-test-harness/assets/execute-atomic-operations-test-CT060oDk.js +0 -75
  576. package/bundled-test-harness/assets/externals-Do1fVZ4j.js +0 -5533
  577. package/bundled-test-harness/assets/extract-css-variables-test-DzjAsMgg.js +0 -169
  578. package/bundled-test-harness/assets/fallback-banner-test-CmxysrDn.js +0 -227
  579. package/bundled-test-harness/assets/fallback-banner-test-DJ4cO8PB.js +0 -53
  580. package/bundled-test-harness/assets/fallback-models-test-r5upJFeA.js +0 -163
  581. package/bundled-test-harness/assets/fetch-card-json-test-Di1wmvy5.js +0 -63
  582. package/bundled-test-harness/assets/fetcher-test-DjzNl_7F.js +0 -85
  583. package/bundled-test-harness/assets/field-configuration-test-C3vr-HhG.js +0 -535
  584. package/bundled-test-harness/assets/field-markdown-domain-test-DG2U4qIm.js +0 -615
  585. package/bundled-test-harness/assets/field-markdown-primitives-test-Bay2v8nT.js +0 -362
  586. package/bundled-test-harness/assets/field-markdown-specialized-test-Bl0Sl4sc.js +0 -527
  587. package/bundled-test-harness/assets/field-path-parser-test-bxxwUjcm.js +0 -387
  588. package/bundled-test-harness/assets/field-playground-test-Bcjfws4m.js +0 -902
  589. package/bundled-test-harness/assets/field-support-predicates-test-DYTqOGvv.js +0 -170
  590. package/bundled-test-harness/assets/field-test-helpers-DYSfSGdh.js +0 -45
  591. package/bundled-test-harness/assets/file-attachment-test-6ypDRDS7.js +0 -635
  592. package/bundled-test-harness/assets/file-chooser-test-mtmcHTFP.js +0 -439
  593. package/bundled-test-harness/assets/file-def-live-reload-test-CX1-lOv6.js +0 -50
  594. package/bundled-test-harness/assets/file-def-manager-DNHII2oj.js +0 -470
  595. package/bundled-test-harness/assets/file-def-manager-canonicalize-test-i_7UVakF.js +0 -451
  596. package/bundled-test-harness/assets/file-def-menu-items-test-Dw458iku.js +0 -114
  597. package/bundled-test-harness/assets/file-def-navigation-test-B3Ztr1Rd.js +0 -109
  598. package/bundled-test-harness/assets/file-def-serialization-test-C_gV8AkU.js +0 -87
  599. package/bundled-test-harness/assets/file-def-test-vXXJmtxX.js +0 -219
  600. package/bundled-test-harness/assets/file-tree-test-BJCiw9jm.js +0 -773
  601. package/bundled-test-harness/assets/flac-audio-def-test-BX3SE1vW.js +0 -138
  602. package/bundled-test-harness/assets/flowDiagram-I6XJVG4X-7Q5ROn4X.js +0 -4883
  603. package/bundled-test-harness/assets/formatted-aibot-message-test-DyqUz2nt.js +0 -366
  604. package/bundled-test-harness/assets/formatted-user-message-test-aqAzqvBP.js +0 -43
  605. package/bundled-test-harness/assets/freestyle-test-CLRrZkAE.js +0 -17
  606. package/bundled-test-harness/assets/full-reindex-realm-test-ClqPVQ0c.js +0 -103
  607. package/bundled-test-harness/assets/ganttDiagram-6RSMTGT7-BkDoIAAE.js +0 -4060
  608. package/bundled-test-harness/assets/garbage-collection-test-Ba2dD3qS.js +0 -373
  609. package/bundled-test-harness/assets/general-test-D0zhs14K.js +0 -926
  610. package/bundled-test-harness/assets/generate-css-variables-test-CKrXSlHs.js +0 -88
  611. package/bundled-test-harness/assets/generate-example-cards-one-shot-test-fSAdGJeT.js +0 -67
  612. package/bundled-test-harness/assets/get-available-realm-identifiers-test-BXMUW65I.js +0 -49
  613. package/bundled-test-harness/assets/get-catalog-realm-identifiers-test-DKEq6Zcq.js +0 -49
  614. package/bundled-test-harness/assets/get-default-writable-realm-test-Dp4nBIRP.js +0 -56
  615. package/bundled-test-harness/assets/get-realm-of-resource-identifier-test-DYNnMgD-.js +0 -55
  616. package/bundled-test-harness/assets/get-relationship-membership-state-test-k9EUNWeq.js +0 -1306
  617. package/bundled-test-harness/assets/get-type-refs-from-filter-test-BPuivF-v.js +0 -136
  618. package/bundled-test-harness/assets/get-user-system-card-test-DSHv00O7.js +0 -52
  619. package/bundled-test-harness/assets/gif-image-def-test-LuDSr5Kz.js +0 -161
  620. package/bundled-test-harness/assets/gitGraph-WXDBUCRP-BrG_LYEh.js +0 -3
  621. package/bundled-test-harness/assets/gitGraphDiagram-PVQCEYII-QJjQcX4J.js +0 -1150
  622. package/bundled-test-harness/assets/gts-file-def-test-bS3ML062.js +0 -99
  623. package/bundled-test-harness/assets/head-format-preview-test-B8IPh71E.js +0 -156
  624. package/bundled-test-harness/assets/helpers-wSIq-bau.js +0 -5
  625. package/bundled-test-harness/assets/host-mode-test-D44nXoQZ.js +0 -391
  626. package/bundled-test-harness/assets/host-submode-test-CefkXg9F.js +0 -904
  627. package/bundled-test-harness/assets/index-query-engine-test-DJnDqmfK.js +0 -2548
  628. package/bundled-test-harness/assets/index-writer-test-BcrCMj37.js +0 -1842
  629. package/bundled-test-harness/assets/indexeddb-crypto-store-RTTNdynf.js +0 -49434
  630. package/bundled-test-harness/assets/info-J43DQDTF-DhDzvz9k.js +0 -3
  631. package/bundled-test-harness/assets/infoDiagram-5YYISTIA-8TmRFIRz.js +0 -23
  632. package/bundled-test-harness/assets/inspector-test-D4iMBlbL.js +0 -1776
  633. package/bundled-test-harness/assets/instance-filter-matcher-test-CYT6N3hN.js +0 -564
  634. package/bundled-test-harness/assets/instantiate-card-test-j1JS5lDe.js +0 -104
  635. package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-B-aXzOh6.js +0 -497
  636. package/bundled-test-harness/assets/interact-submode-setup-VMwOUl3u.js +0 -558
  637. package/bundled-test-harness/assets/interact-submode-test-D5lNNXdq.js +0 -725
  638. package/bundled-test-harness/assets/invalidate-realm-identifiers-test-71Ze8eGV.js +0 -101
  639. package/bundled-test-harness/assets/invite-user-to-room-test-UfjsvwVp.js +0 -67
  640. package/bundled-test-harness/assets/ishikawaDiagram-YF4QCWOH-7UALIGwM.js +0 -1009
  641. package/bundled-test-harness/assets/isolated-render-test-C2IL-Fz3.js +0 -51
  642. package/bundled-test-harness/assets/item-button-6g7XYj56.js +0 -203
  643. package/bundled-test-harness/assets/javascript-BwLQ7_Nc.js +0 -75
  644. package/bundled-test-harness/assets/job-priority-header-test-C3FfKLPP.js +0 -81
  645. package/bundled-test-harness/assets/journeyDiagram-JHISSGLW-t4gEZYup.js +0 -1256
  646. package/bundled-test-harness/assets/jpg-image-def-test-BTBk9lk5.js +0 -430
  647. package/bundled-test-harness/assets/json-file-def-test-BpU_Eidn.js +0 -92
  648. package/bundled-test-harness/assets/kanban-definition-UN3LZRKU-C_KHB3_r.js +0 -1284
  649. package/bundled-test-harness/assets/last-modified-date-test-fE7IP0q0.js +0 -18
  650. package/bundled-test-harness/assets/limited-set-test-uu2vX1Sv.js +0 -123
  651. package/bundled-test-harness/assets/line-BiZHXOjs.js +0 -55
  652. package/bundled-test-harness/assets/linear-DUaMMmmA.js +0 -417
  653. package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-qZeqQ1gt.js +0 -315
  654. package/bundled-test-harness/assets/linksto-error-sentinel-test-BaV3I8Xx.js +0 -236
  655. package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-BvJi1vCb.js +0 -303
  656. package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CK60Cugk.js +0 -301
  657. package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-BWxdEO9D.js +0 -258
  658. package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-CIsLhqR2.js +0 -194
  659. package/bundled-test-harness/assets/live-prerendered-search-jZe3I16p.js +0 -639
  660. package/bundled-test-harness/assets/live-test-CF_R5WGr.js +0 -2
  661. package/bundled-test-harness/assets/live-test-jO7lXuyB.js +0 -100
  662. package/bundled-test-harness/assets/loader-icon-error-test-N4JYZuTx.js +0 -62
  663. package/bundled-test-harness/assets/loader-parallel-prefetch-test-DteeG7mU.js +0 -257
  664. package/bundled-test-harness/assets/loader-retry-test-DYVgpS_I.js +0 -173
  665. package/bundled-test-harness/assets/loader-test-DLI8JIx-.js +0 -245
  666. package/bundled-test-harness/assets/loading-test-D4ZBtRYf.js +0 -63
  667. package/bundled-test-harness/assets/login-error-text-test-Dcq7q3EY.js +0 -51
  668. package/bundled-test-harness/assets/m4a-audio-def-test-BKqGO-CW.js +0 -185
  669. package/bundled-test-harness/assets/main-BjBdsiQT.js +0 -5
  670. package/bundled-test-harness/assets/markdown-fallback-test-BBj80dZZ.js +0 -316
  671. package/bundled-test-harness/assets/markdown-file-def-test-BnMF5rQF.js +0 -286
  672. package/bundled-test-harness/assets/markdown-helpers-test-DnuuSLfS.js +0 -183
  673. package/bundled-test-harness/assets/markdown-highlighting-test-CWRp2Rce.js +0 -244
  674. package/bundled-test-harness/assets/markdown-preview-test-Bf5OqKGf.js +0 -237
  675. package/bundled-test-harness/assets/markdown-preview-yYHtwNeI.js +0 -69
  676. package/bundled-test-harness/assets/marked-sync-2EfimW4i.js +0 -2
  677. package/bundled-test-harness/assets/marked-sync-DZOVFLjK.js +0 -2561
  678. package/bundled-test-harness/assets/marked-sync-test-BaaYbZNF.js +0 -146
  679. package/bundled-test-harness/assets/matrix-service-sliding-sync-test-CdEy3ASW.js +0 -33
  680. package/bundled-test-harness/assets/mermaid-parser.core-CKNAdXJW.js +0 -114
  681. package/bundled-test-harness/assets/mermaid.core-C0mfwy8A.js +0 -1700
  682. package/bundled-test-harness/assets/message-service-subscription-test-pGz_7rz3.js +0 -113
  683. package/bundled-test-harness/assets/mindmap-definition-RKZ34NQL-ClcHxkdY.js +0 -1347
  684. package/bundled-test-harness/assets/mock-matrix-D7JHfFtT.js +0 -2
  685. package/bundled-test-harness/assets/mock-matrix-DqDbNhEj.js +0 -14292
  686. package/bundled-test-harness/assets/module-transpile-cache-test-D0M-fPxs.js +0 -66
  687. package/bundled-test-harness/assets/monaco.contribution-BEs3qwfd.js +0 -103
  688. package/bundled-test-harness/assets/monaco.contribution-Dpx8UiPl.js +0 -2
  689. package/bundled-test-harness/assets/monaco.contribution-RF_qxJYG.js +0 -2
  690. package/bundled-test-harness/assets/monaco.contribution-jPVrF29f.js +0 -243
  691. package/bundled-test-harness/assets/mp3-audio-def-test-CxeRk1bl.js +0 -129
  692. package/bundled-test-harness/assets/mutex-test-D1xyxTj2.js +0 -71
  693. package/bundled-test-harness/assets/number-field-test-gjAGDy6P.js +0 -153
  694. package/bundled-test-harness/assets/ogg-audio-def-test-B6Ww3Ixr.js +0 -191
  695. package/bundled-test-harness/assets/open-create-listing-modal-test-uN58T3rI.js +0 -117
  696. package/bundled-test-harness/assets/open-workspace-test-DXVsvBFJ.js +0 -48
  697. package/bundled-test-harness/assets/operator-mode-acceptance-test-BxIq2xSS.js +0 -1044
  698. package/bundled-test-harness/assets/operator-mode-card-catalog-test-xFYx9_ng.js +0 -989
  699. package/bundled-test-harness/assets/operator-mode-links-test-qhXWmz-S.js +0 -797
  700. package/bundled-test-harness/assets/operator-mode-state-service-test-BdA_uvaY.js +0 -122
  701. package/bundled-test-harness/assets/operator-mode-test-D3EyTwq3.js +0 -617
  702. package/bundled-test-harness/assets/operator-mode-ui-test-CSrk6Q0A.js +0 -985
  703. package/bundled-test-harness/assets/ordinal-DO1mUmjg.js +0 -85
  704. package/bundled-test-harness/assets/overlay-menu-items-test-CuqqLsQT.js +0 -316
  705. package/bundled-test-harness/assets/packet-YPE3B663--JkMNy78.js +0 -3
  706. package/bundled-test-harness/assets/panel-C2rtbx32.js +0 -3371
  707. package/bundled-test-harness/assets/past-sessions-test-B9SCbbXz.js +0 -316
  708. package/bundled-test-harness/assets/patch-code-test-CcFr9pDb.js +0 -203
  709. package/bundled-test-harness/assets/patch-fields-test-BW1gzcJM.js +0 -992
  710. package/bundled-test-harness/assets/patch-instance-test-DKqA9gQ6.js +0 -287
  711. package/bundled-test-harness/assets/persist-module-inspector-view-test-D1eKBUkt.js +0 -62
  712. package/bundled-test-harness/assets/phone-number-field-test-D1is5RWv.js +0 -72
  713. package/bundled-test-harness/assets/pie-LRSECV5Y-BDVv8Wdy.js +0 -3
  714. package/bundled-test-harness/assets/pieDiagram-4H26LBE5-CSYI-nMz.js +0 -253
  715. package/bundled-test-harness/assets/plan-install-test-DB-PrjPR.js +0 -417
  716. package/bundled-test-harness/assets/playground-B0iQV7dU.js +0 -57
  717. package/bundled-test-harness/assets/png-image-def-test-DnOsJGs6.js +0 -222
  718. package/bundled-test-harness/assets/prerender-file-extract-test-DhOLozj2.js +0 -176
  719. package/bundled-test-harness/assets/prerender-html-test-DKVhQZA9.js +0 -615
  720. package/bundled-test-harness/assets/prerender-meta-test-CnRNyqSz.js +0 -388
  721. package/bundled-test-harness/assets/prerender-module-test-D163QcrZ.js +0 -195
  722. package/bundled-test-harness/assets/prerendered-card-search-test-DX-8yabJ.js +0 -708
  723. package/bundled-test-harness/assets/preview-format-test-H7bnpdlC.js +0 -103
  724. package/bundled-test-harness/assets/preview-test-B7u6uWJR.js +0 -455
  725. package/bundled-test-harness/assets/qs-test-COb0mre6.js +0 -36
  726. package/bundled-test-harness/assets/quadrantDiagram-W4KKPZXB-2Y2ben29.js +0 -2324
  727. package/bundled-test-harness/assets/query-field-barrier-test-Cypj-MhK.js +0 -118
  728. package/bundled-test-harness/assets/query-field-error-sentinel-test-Dnqn8TdN.js +0 -202
  729. package/bundled-test-harness/assets/query-field-normalization-test-B7D8SHBP.js +0 -271
  730. package/bundled-test-harness/assets/query-field-schema-test-DIYY3-c8.js +0 -231
  731. package/bundled-test-harness/assets/query-fields-test-k-VBF9PE.js +0 -535
  732. package/bundled-test-harness/assets/queue-test-B_74vXZE.js +0 -216
  733. package/bundled-test-harness/assets/radar-GUYGQ44K-Cn2A0VBR.js +0 -3
  734. package/bundled-test-harness/assets/read-card-for-ai-assistant-test-SyL9F_La.js +0 -91
  735. package/bundled-test-harness/assets/read-file-for-ai-assistant-test-nLPp49U2.js +0 -45
  736. package/bundled-test-harness/assets/read-source-test-DBELJkhN.js +0 -67
  737. package/bundled-test-harness/assets/read-text-file-test-CP1JuWlX.js +0 -124
  738. package/bundled-test-harness/assets/realm-Dr4iygv_.js +0 -884
  739. package/bundled-test-harness/assets/realm-field-test-Cice2mYk.js +0 -101
  740. package/bundled-test-harness/assets/realm-index-card-id-test-BzpozdWc.js +0 -18
  741. package/bundled-test-harness/assets/realm-indexing-test-C0YSXziR.js +0 -4018
  742. package/bundled-test-harness/assets/realm-paths-test-DV_g07rF.js +0 -33
  743. package/bundled-test-harness/assets/realm-querying-test-B526abM0.js +0 -1062
  744. package/bundled-test-harness/assets/realm-test-D8UN5X-w.js +0 -2409
  745. package/bundled-test-harness/assets/reasoning-test-ClIOvdkX.js +0 -234
  746. package/bundled-test-harness/assets/recent-files-test-C2J_dJUD.js +0 -449
  747. package/bundled-test-harness/assets/reindex-realm-test-DMphy1g6.js +0 -119
  748. package/bundled-test-harness/assets/relationship-loading-state-test-BWrZdLlZ.js +0 -289
  749. package/bundled-test-harness/assets/render-component-BII_KnyK.js +0 -2
  750. package/bundled-test-harness/assets/render-error-test-BUAJJlUi.js +0 -22
  751. package/bundled-test-harness/assets/render-service-test-BKkCjErY.js +0 -87
  752. package/bundled-test-harness/assets/render-timer-stub-test-TUDMWJ8v.js +0 -84
  753. package/bundled-test-harness/assets/rendered-markdown-ColekGTF.js +0 -211
  754. package/bundled-test-harness/assets/rendered-markdown-test-B4CWIo02.js +0 -360
  755. package/bundled-test-harness/assets/requirementDiagram-4Y6WPE33-CTICatxk.js +0 -2550
  756. package/bundled-test-harness/assets/rich-markdown-field-test-B5u6D3Nk.js +0 -806
  757. package/bundled-test-harness/assets/room-message-test-0eJSqQfu.js +0 -171
  758. package/bundled-test-harness/assets/rust-crypto-B0m3j_yZ.js +0 -16141
  759. package/bundled-test-harness/assets/sanitize-module-list-test-rH6OqjKh.js +0 -68
  760. package/bundled-test-harness/assets/sankeyDiagram-5OEKKPKP-hBIg6-LP.js +0 -1357
  761. package/bundled-test-harness/assets/schema-editor-test-DH4MLFCD.js +0 -784
  762. package/bundled-test-harness/assets/schema-generation-test-BZMkX7VA.js +0 -28
  763. package/bundled-test-harness/assets/scrolling-test-CFTyLG8X.js +0 -292
  764. package/bundled-test-harness/assets/search-and-choose-test-CcbVyp4c.js +0 -156
  765. package/bundled-test-harness/assets/search-cache-key-test-BYt46iNT.js +0 -79
  766. package/bundled-test-harness/assets/search-command-test-BRIJPr54.js +0 -135
  767. package/bundled-test-harness/assets/search-correlation-id-test-B298Tfux.js +0 -101
  768. package/bundled-test-harness/assets/search-data-test-DHV2Fd4S.js +0 -243
  769. package/bundled-test-harness/assets/search-google-images-test-CNrazllP.js +0 -168
  770. package/bundled-test-harness/assets/search-in-flight-key-test-Dy3bU2c1.js +0 -79
  771. package/bundled-test-harness/assets/search-test-DL1-gD-G.js +0 -847
  772. package/bundled-test-harness/assets/send-ai-assistant-message-test-CyEkQ5pD.js +0 -52
  773. package/bundled-test-harness/assets/send-bot-trigger-event-test-CAsK28m-.js +0 -56
  774. package/bundled-test-harness/assets/send-request-via-proxy-test-DpMlRvPv.js +0 -333
  775. package/bundled-test-harness/assets/sending-test-BOeGYcTU.js +0 -317
  776. package/bundled-test-harness/assets/sequenceDiagram-3UESZ5HK-DQMiI040.js +0 -5551
  777. package/bundled-test-harness/assets/serialization-test-gY2QQVxS.js +0 -8283
  778. package/bundled-test-harness/assets/set-user-system-card-test-BE3y5GNK.js +0 -59
  779. package/bundled-test-harness/assets/setup-B8O9JQKq.js +0 -769
  780. package/bundled-test-harness/assets/setup-BMqGUBDK.js +0 -2
  781. package/bundled-test-harness/assets/show-card-test-BfJNnWMy.js +0 -362
  782. package/bundled-test-harness/assets/skills-test-CqhnZxBi.js +0 -568
  783. package/bundled-test-harness/assets/spec-test-BUKNn_1q.js +0 -1012
  784. package/bundled-test-harness/assets/stateDiagram-AJRCARHV-BoOij2yt.js +0 -363
  785. package/bundled-test-harness/assets/stateDiagram-v2-BHNVJYJU-Dosil5p2.js +0 -29
  786. package/bundled-test-harness/assets/store-add-test-BR1M-IDR.js +0 -52
  787. package/bundled-test-harness/assets/store-test-DaqI-HRh.js +0 -1562
  788. package/bundled-test-harness/assets/summarize-session-test-BMg54JGF.js +0 -169
  789. package/bundled-test-harness/assets/svg-image-def-test-xNyIKRPV.js +0 -164
  790. package/bundled-test-harness/assets/switch-submode-test-BKvpODUD.js +0 -168
  791. package/bundled-test-harness/assets/test-realm-service-worker-DK4SmTM5.js +0 -73
  792. package/bundled-test-harness/assets/tests-x4_eRjiT.js +0 -2770
  793. package/bundled-test-harness/assets/text-file-def-test-CsXiyVfI.js +0 -93
  794. package/bundled-test-harness/assets/text-input-validator-test-D4s_laO7.js +0 -155
  795. package/bundled-test-harness/assets/text-suggestion-test-CkLf1xuS.js +0 -339
  796. package/bundled-test-harness/assets/theme-card-test-D-6L6OfD.js +0 -573
  797. package/bundled-test-harness/assets/timeline-definition-PNZ67QCA-DD2d81uJ.js +0 -1545
  798. package/bundled-test-harness/assets/transform-cards-test-CRZF2gqZ.js +0 -341
  799. package/bundled-test-harness/assets/treeView-BLDUP644-CUm8wuM-.js +0 -3
  800. package/bundled-test-harness/assets/treemap-LRROVOQU-lbLrY2PE.js +0 -3
  801. package/bundled-test-harness/assets/ts-file-def-test-CDo6ojCf.js +0 -90
  802. package/bundled-test-harness/assets/tsMode-BPQoRibc.js +0 -968
  803. package/bundled-test-harness/assets/typescript-BaU6yDhK.js +0 -2
  804. package/bundled-test-harness/assets/update-room-skills-test-BnSgVFwT.js +0 -197
  805. package/bundled-test-harness/assets/url-test-CK-HB0qu.js +0 -103
  806. package/bundled-test-harness/assets/use-ai-assistant-test-BuJXEP8H.js +0 -330
  807. package/bundled-test-harness/assets/validate-realm-test-Cx7MOtS8.js +0 -53
  808. package/bundled-test-harness/assets/vennDiagram-CIIHVFJN-DtXtzGwZ.js +0 -2833
  809. package/bundled-test-harness/assets/wardley-L42UT6IY-D8aCp_Ox.js +0 -3
  810. package/bundled-test-harness/assets/wardleyDiagram-YWT4CUSO-D-73g3bB.js +0 -872
  811. package/bundled-test-harness/assets/wav-audio-def-test-DIo2GzQL.js +0 -155
  812. package/bundled-test-harness/assets/webp-image-def-test-BQsV0_De.js +0 -225
  813. package/bundled-test-harness/assets/workspace-chooser-delete-test-peDXmnQf.js +0 -189
  814. package/bundled-test-harness/assets/workspace-chooser-test-DS2RtTEF.js +0 -235
  815. package/bundled-test-harness/assets/workspace-delete-multiple-test-DTbjRSzN.js +0 -213
  816. package/bundled-test-harness/assets/workspace-delete-summary-test-B--ink4m.js +0 -63
  817. package/bundled-test-harness/assets/write-binary-file-test-A3TQ5lFn.js +0 -100
  818. package/bundled-test-harness/assets/write-text-file-test-D_rjNDsT.js +0 -172
  819. package/bundled-test-harness/assets/xychartDiagram-2RQKCTM6-D1aoqDp-.js +0 -2551
  820. /package/bundled-test-harness/assets/{abap-CLdVBGqB.js → abap-FZAuBTMl.js} +0 -0
  821. /package/bundled-test-harness/assets/{apex-DV8eHjgQ.js → apex-CAO3qFTc.js} +0 -0
  822. /package/bundled-test-harness/assets/{array-DsDWWqmW.js → array-CRfHnEm4.js} +0 -0
  823. /package/bundled-test-harness/assets/{azcli-C4pZYsiJ.js → azcli-Bnu7jG0Y.js} +0 -0
  824. /package/bundled-test-harness/assets/{bat-DBoaeFpB.js → bat-DdE54Pqq.js} +0 -0
  825. /package/bundled-test-harness/assets/{bicep-VlrJhbeK.js → bicep-Dp4vFp3K.js} +0 -0
  826. /package/bundled-test-harness/assets/{cameligo-jyzrvLUm.js → cameligo-Cym4x98m.js} +0 -0
  827. /package/bundled-test-harness/assets/{chunk-NNHCCRGN-Be15HUz2.js → chunk-NNHCCRGN-PWOfDYpb.js} +0 -0
  828. /package/bundled-test-harness/assets/{clojure-bzahmEtz.js → clojure-B47IJ25u.js} +0 -0
  829. /package/bundled-test-harness/assets/{codemirror-context-BauLYUNt.js → codemirror-context-oJy03XqC.js} +0 -0
  830. /package/bundled-test-harness/assets/{coffee-CMADdzOH.js → coffee-CZlkBXT8.js} +0 -0
  831. /package/bundled-test-harness/assets/{cpp-CEJwzcLE.js → cpp-mX4KaA7p.js} +0 -0
  832. /package/bundled-test-harness/assets/{csharp-XYqm0UE0.js → csharp-C-OeDGwk.js} +0 -0
  833. /package/bundled-test-harness/assets/{csp-82fNWQc2.js → csp-AS2OEE8R.js} +0 -0
  834. /package/bundled-test-harness/assets/{css-B5b0ooFS.js → css-C-TQxhWe.js} +0 -0
  835. /package/bundled-test-harness/assets/{cssMode-DTKuqAkO.js → cssMode-C87GnEsk.js} +0 -0
  836. /package/bundled-test-harness/assets/{cypher-Df9GkdDY.js → cypher-T6F_0eIM.js} +0 -0
  837. /package/bundled-test-harness/assets/{cytoscape.esm-D0iwZ9Jj.js → cytoscape.esm-Bc2V-MhP.js} +0 -0
  838. /package/bundled-test-harness/assets/{dart-C4JY9dMc.js → dart-DzVesk0n.js} +0 -0
  839. /package/bundled-test-harness/assets/{defaultLocale-BtLxQtxy.js → defaultLocale-CAoL4lzt.js} +0 -0
  840. /package/bundled-test-harness/assets/{dist-D-PuK2H3.js → dist-BZ5MfZEJ.js} +0 -0
  841. /package/bundled-test-harness/assets/{dockerfile-Ck0tNttO.js → dockerfile-BH0_bQxC.js} +0 -0
  842. /package/bundled-test-harness/assets/{ecl-BpeXqJR_.js → ecl-KIxjxrJo.js} +0 -0
  843. /package/bundled-test-harness/assets/{elixir-HmBzrXaX.js → elixir-CPPdtCW1.js} +0 -0
  844. /package/bundled-test-harness/assets/{flow9-DhsfsDhH.js → flow9-Dxho7Ldf.js} +0 -0
  845. /package/bundled-test-harness/assets/{freemarker2-D3Yd6nGl.js → freemarker2-DP1aOr3_.js} +0 -0
  846. /package/bundled-test-harness/assets/{fsharp-D56OprHc.js → fsharp-ozN53Joe.js} +0 -0
  847. /package/bundled-test-harness/assets/{go-BITsFLfX.js → go-DPj6Rbqe.js} +0 -0
  848. /package/bundled-test-harness/assets/{graphlib-qkaQhadO.js → graphlib-DOITgaas.js} +0 -0
  849. /package/bundled-test-harness/assets/{graphql-CJJVsEX1.js → graphql-C8_-AnBG.js} +0 -0
  850. /package/bundled-test-harness/assets/{handlebars-Dvw6QbL7.js → handlebars-B2gYBZpU.js} +0 -0
  851. /package/bundled-test-harness/assets/{hcl-DSTZcJuq.js → hcl-r3d7BhXB.js} +0 -0
  852. /package/bundled-test-harness/assets/{helpers-D_JZYUOQ.js → helpers-CItTycq2.js} +0 -0
  853. /package/bundled-test-harness/assets/{html-Bik3qLmc.js → html-DhN1Nxr0.js} +0 -0
  854. /package/bundled-test-harness/assets/{htmlMode-DPCaR3Ab.js → htmlMode-BnBg5hCh.js} +0 -0
  855. /package/bundled-test-harness/assets/{ini-li-kC8ZU.js → ini-CzzRigmS.js} +0 -0
  856. /package/bundled-test-harness/assets/{init-Bq7IGMcH.js → init-Bd2YUhsG.js} +0 -0
  857. /package/bundled-test-harness/assets/{java-CETpuNN7.js → java-BgeDsIoV.js} +0 -0
  858. /package/bundled-test-harness/assets/{jsonMode-CZ3hOG-W.js → jsonMode-sRb0gsB8.js} +0 -0
  859. /package/bundled-test-harness/assets/{julia-hgihs1aN.js → julia-u3K1H5Ts.js} +0 -0
  860. /package/bundled-test-harness/assets/{katex-DqhsSYO4.js → katex-CHY7BUZt.js} +0 -0
  861. /package/bundled-test-harness/assets/{kotlin-CKfyb82K.js → kotlin-DfqmlJ10.js} +0 -0
  862. /package/bundled-test-harness/assets/{less-xB5yXbw8.js → less-CSzH7DPY.js} +0 -0
  863. /package/bundled-test-harness/assets/{lexon-BLwrXVrI.js → lexon-DwPTpxXt.js} +0 -0
  864. /package/bundled-test-harness/assets/{liquid-Bf2lpknJ.js → liquid-95J9g5Vk.js} +0 -0
  865. /package/bundled-test-harness/assets/{lua-Ch5i3IrF.js → lua-CGw6zbeh.js} +0 -0
  866. /package/bundled-test-harness/assets/{m3-D5tNlhaF.js → m3-BfgwloGF.js} +0 -0
  867. /package/bundled-test-harness/assets/{markdown-Dzc9uMky.js → markdown-RZRK7Mc9.js} +0 -0
  868. /package/bundled-test-harness/assets/{mdx-xsI4TJrf.js → mdx-BYD-W2sn.js} +0 -0
  869. /package/bundled-test-harness/assets/{mips-CmdzHkQm.js → mips-DAySN5Lp.js} +0 -0
  870. /package/bundled-test-harness/assets/{msdax-CAZvxB9E.js → msdax-Cy0COjTJ.js} +0 -0
  871. /package/bundled-test-harness/assets/{mysql-CyVS-z5H.js → mysql-CfGw9jyw.js} +0 -0
  872. /package/bundled-test-harness/assets/{objective-c-CCG8cTc_.js → objective-c-B4uU-8T-.js} +0 -0
  873. /package/bundled-test-harness/assets/{pascal-c8B45FOC.js → pascal-CGDuZzXi.js} +0 -0
  874. /package/bundled-test-harness/assets/{pascaligo-CCqwSqBv.js → pascaligo-eg02k4VJ.js} +0 -0
  875. /package/bundled-test-harness/assets/{path-CsS38UoK.js → path-Dxiz9G2t.js} +0 -0
  876. /package/bundled-test-harness/assets/{perl-JUICYbO2.js → perl-BiT-JJJw.js} +0 -0
  877. /package/bundled-test-harness/assets/{pgsql-aNRiL0Cg.js → pgsql-DAMjrVBF.js} +0 -0
  878. /package/bundled-test-harness/assets/{php-B0YZj_Vw.js → php-kOSUYQyc.js} +0 -0
  879. /package/bundled-test-harness/assets/{pla-D3Zb3KCn.js → pla-BShYV-HC.js} +0 -0
  880. /package/bundled-test-harness/assets/{postiats-ks1KABlA.js → postiats-9Xamd4W2.js} +0 -0
  881. /package/bundled-test-harness/assets/{powerquery-D35K_osc.js → powerquery-l2Nw525Q.js} +0 -0
  882. /package/bundled-test-harness/assets/{powershell-DXQo6KTk.js → powershell-B5rdEn86.js} +0 -0
  883. /package/bundled-test-harness/assets/{protobuf-CFDvn49_.js → protobuf-DjFcruCV.js} +0 -0
  884. /package/bundled-test-harness/assets/{pug-CGdWzJm1.js → pug-d79Nz4-Z.js} +0 -0
  885. /package/bundled-test-harness/assets/{python-BHLYjYlP.js → python-d8oxFZIM.js} +0 -0
  886. /package/bundled-test-harness/assets/{qsharp-BIq3i63T.js → qsharp-CeTlfxZW.js} +0 -0
  887. /package/bundled-test-harness/assets/{qunit-2hoQyeAZ.js → qunit-Cqwmt9Vl.js} +0 -0
  888. /package/bundled-test-harness/assets/{r-CBvzvDSA.js → r-BOu7JTro.js} +0 -0
  889. /package/bundled-test-harness/assets/{razor-JQ0RiIvo.js → razor-ZatoG_Is.js} +0 -0
  890. /package/bundled-test-harness/assets/{recent-files-cards-BQMviQb1.js → recent-files-cards-C3vIjaKb.js} +0 -0
  891. /package/bundled-test-harness/assets/{redis-BmSHTqTU.js → redis-DdXYPyQE.js} +0 -0
  892. /package/bundled-test-harness/assets/{redshift-B1NmQEH7.js → redshift-DswnW-YX.js} +0 -0
  893. /package/bundled-test-harness/assets/{render-component-g_fhz2dX.js → render-component-Bs21y6iv.js} +0 -0
  894. /package/bundled-test-harness/assets/{restructuredtext-Br9BtTbk.js → restructuredtext-C75vUmvX.js} +0 -0
  895. /package/bundled-test-harness/assets/{rough.esm-D8VnzNsL.js → rough.esm-B83ARgx6.js} +0 -0
  896. /package/bundled-test-harness/assets/{ruby-D9_-y1I3.js → ruby-D77950a-.js} +0 -0
  897. /package/bundled-test-harness/assets/{rust-1Jjr1EOs.js → rust-C_G4PKsG.js} +0 -0
  898. /package/bundled-test-harness/assets/{sb-X2JE4zEr.js → sb-Cz3P8_Gp.js} +0 -0
  899. /package/bundled-test-harness/assets/{scala-qFJERKkR.js → scala-DYqUg04P.js} +0 -0
  900. /package/bundled-test-harness/assets/{scheme-D-WJPStO.js → scheme-B31XEGu5.js} +0 -0
  901. /package/bundled-test-harness/assets/{scss-DysfZiXA.js → scss-CtvB8On5.js} +0 -0
  902. /package/bundled-test-harness/assets/{shell-C0Iu3NNJ.js → shell-C2QqpcPN.js} +0 -0
  903. /package/bundled-test-harness/assets/{solidity-Bato3Qrk.js → solidity-FHrhZFd-.js} +0 -0
  904. /package/bundled-test-harness/assets/{sophia-DI0cKdK8.js → sophia-Cxv5FOXb.js} +0 -0
  905. /package/bundled-test-harness/assets/{sparql-BTJMtwoD.js → sparql-CgGkGeQB.js} +0 -0
  906. /package/bundled-test-harness/assets/{sql-R6uHqFYU.js → sql-S6Dos2P0.js} +0 -0
  907. /package/bundled-test-harness/assets/{src-CdPyB7gY.js → src-CvuaVSsl.js} +0 -0
  908. /package/bundled-test-harness/assets/{st-CoyBvq37.js → st-Bfa7LAWp.js} +0 -0
  909. /package/bundled-test-harness/assets/{swift-Bj-haAlF.js → swift-BQD5Ef-A.js} +0 -0
  910. /package/bundled-test-harness/assets/{systemverilog-B-x1NEFI.js → systemverilog-DaNkPux4.js} +0 -0
  911. /package/bundled-test-harness/assets/{tcl-DAUdSQgz.js → tcl-gOPgCDyb.js} +0 -0
  912. /package/bundled-test-harness/assets/{test-support-BHjxBpDK.js → test-support-BEQX5x9U.js} +0 -0
  913. /package/bundled-test-harness/assets/{test-support-yKvYEh-u.js → test-support-BL4XKobD.js} +0 -0
  914. /package/bundled-test-harness/assets/{twig-B0sJ-GzS.js → twig-Bk4gPn5b.js} +0 -0
  915. /package/bundled-test-harness/assets/{typescript-DTMIM5Gl.js → typescript-pPYlxWzr.js} +0 -0
  916. /package/bundled-test-harness/assets/{typespec-6yo9VQxY.js → typespec-D9Zz743B.js} +0 -0
  917. /package/bundled-test-harness/assets/{vb-Bh2IfdtJ.js → vb-ziqHIsJV.js} +0 -0
  918. /package/bundled-test-harness/assets/{view-card-demo-U_AOj-RK.js → view-card-demo-CSIVYD3T.js} +0 -0
  919. /package/bundled-test-harness/assets/{wgsl-DsvJnCCt.js → wgsl-BXiwkiJL.js} +0 -0
  920. /package/bundled-test-harness/assets/{xml-CisPXcjD.js → xml-a_tUOik-.js} +0 -0
  921. /package/bundled-test-harness/assets/{yaml-DkHUoYI5.js → yaml-B3H8LDzK.js} +0 -0
@@ -1,2622 +0,0 @@
1
- import "./chunk-CGdGNDIi.js";
2
- import { g as log, h as __name$1 } from "./src-CdPyB7gY.js";
3
- import { H as setAccDescription, K as setDiagramTitle, U as setAccTitle, a as clear, s as common_default, v as getAccDescription, w as getDiagramTitle, x as getConfig2, y as getAccTitle } from "./chunk-CSCIHK7Q-DnRAp6Bv.js";
4
- import { g as utils_default, s as generateId } from "./chunk-5ZQYHXKU-BeETnugr.js";
5
- import { t as getDiagramElement } from "./chunk-55IACEB6-DOl6NECJ.js";
6
- import { t as setupViewPortForSVG } from "./chunk-2J33WTMH-BbxCvOlt.js";
7
- import { r as render } from "./chunk-LZXEDZCA-CbKHJfzx.js";
8
- //#region ../../node_modules/.pnpm/mermaid@11.15.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AQP2D5EJ.mjs
9
- var parser = function() {
10
- var o = /* @__PURE__ */ __name$1(function(k, v, o2, l) {
11
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v);
12
- return o2;
13
- }, "o");
14
- var $V0 = [1, 2];
15
- var $V1 = [1, 3];
16
- var $V2 = [1, 4];
17
- var $V3 = [2, 4];
18
- var $V4 = [1, 9];
19
- var $V5 = [1, 11];
20
- var $V6 = [1, 16];
21
- var $V7 = [1, 17];
22
- var $V8 = [1, 18];
23
- var $V9 = [1, 19];
24
- var $Va = [1, 33];
25
- var $Vb = [1, 20];
26
- var $Vc = [1, 21];
27
- var $Vd = [1, 22];
28
- var $Ve = [1, 23];
29
- var $Vf = [1, 24];
30
- var $Vg = [1, 26];
31
- var $Vh = [1, 27];
32
- var $Vi = [1, 28];
33
- var $Vj = [1, 29];
34
- var $Vk = [1, 30];
35
- var $Vl = [1, 31];
36
- var $Vm = [1, 32];
37
- var $Vn = [1, 35];
38
- var $Vo = [1, 36];
39
- var $Vp = [1, 37];
40
- var $Vq = [1, 38];
41
- var $Vr = [1, 34];
42
- var $Vs = [
43
- 1,
44
- 4,
45
- 5,
46
- 16,
47
- 17,
48
- 19,
49
- 21,
50
- 22,
51
- 24,
52
- 25,
53
- 26,
54
- 27,
55
- 28,
56
- 29,
57
- 33,
58
- 35,
59
- 37,
60
- 38,
61
- 41,
62
- 45,
63
- 48,
64
- 51,
65
- 52,
66
- 53,
67
- 54,
68
- 57
69
- ];
70
- var $Vt = [
71
- 1,
72
- 4,
73
- 5,
74
- 14,
75
- 15,
76
- 16,
77
- 17,
78
- 19,
79
- 21,
80
- 22,
81
- 24,
82
- 25,
83
- 26,
84
- 27,
85
- 28,
86
- 29,
87
- 33,
88
- 35,
89
- 37,
90
- 38,
91
- 39,
92
- 40,
93
- 41,
94
- 45,
95
- 48,
96
- 51,
97
- 52,
98
- 53,
99
- 54,
100
- 57
101
- ];
102
- var $Vu = [
103
- 4,
104
- 5,
105
- 16,
106
- 17,
107
- 19,
108
- 21,
109
- 22,
110
- 24,
111
- 25,
112
- 26,
113
- 27,
114
- 28,
115
- 29,
116
- 33,
117
- 35,
118
- 37,
119
- 38,
120
- 41,
121
- 45,
122
- 48,
123
- 51,
124
- 52,
125
- 53,
126
- 54,
127
- 57
128
- ];
129
- var parser2 = {
130
- trace: /* @__PURE__ */ __name$1(function trace() {}, "trace"),
131
- yy: {},
132
- symbols_: {
133
- "error": 2,
134
- "start": 3,
135
- "SPACE": 4,
136
- "NL": 5,
137
- "SD": 6,
138
- "document": 7,
139
- "line": 8,
140
- "statement": 9,
141
- "classDefStatement": 10,
142
- "styleStatement": 11,
143
- "cssClassStatement": 12,
144
- "idStatement": 13,
145
- "DESCR": 14,
146
- "-->": 15,
147
- "HIDE_EMPTY": 16,
148
- "scale": 17,
149
- "WIDTH": 18,
150
- "COMPOSIT_STATE": 19,
151
- "STRUCT_START": 20,
152
- "STRUCT_STOP": 21,
153
- "STATE_DESCR": 22,
154
- "AS": 23,
155
- "ID": 24,
156
- "FORK": 25,
157
- "JOIN": 26,
158
- "CHOICE": 27,
159
- "CONCURRENT": 28,
160
- "note": 29,
161
- "notePosition": 30,
162
- "NOTE_TEXT": 31,
163
- "direction": 32,
164
- "acc_title": 33,
165
- "acc_title_value": 34,
166
- "acc_descr": 35,
167
- "acc_descr_value": 36,
168
- "acc_descr_multiline_value": 37,
169
- "CLICK": 38,
170
- "STRING": 39,
171
- "HREF": 40,
172
- "classDef": 41,
173
- "CLASSDEF_ID": 42,
174
- "CLASSDEF_STYLEOPTS": 43,
175
- "DEFAULT": 44,
176
- "style": 45,
177
- "STYLE_IDS": 46,
178
- "STYLEDEF_STYLEOPTS": 47,
179
- "class": 48,
180
- "CLASSENTITY_IDS": 49,
181
- "STYLECLASS": 50,
182
- "direction_tb": 51,
183
- "direction_bt": 52,
184
- "direction_rl": 53,
185
- "direction_lr": 54,
186
- "eol": 55,
187
- ";": 56,
188
- "EDGE_STATE": 57,
189
- "STYLE_SEPARATOR": 58,
190
- "left_of": 59,
191
- "right_of": 60,
192
- "$accept": 0,
193
- "$end": 1
194
- },
195
- terminals_: {
196
- 2: "error",
197
- 4: "SPACE",
198
- 5: "NL",
199
- 6: "SD",
200
- 14: "DESCR",
201
- 15: "-->",
202
- 16: "HIDE_EMPTY",
203
- 17: "scale",
204
- 18: "WIDTH",
205
- 19: "COMPOSIT_STATE",
206
- 20: "STRUCT_START",
207
- 21: "STRUCT_STOP",
208
- 22: "STATE_DESCR",
209
- 23: "AS",
210
- 24: "ID",
211
- 25: "FORK",
212
- 26: "JOIN",
213
- 27: "CHOICE",
214
- 28: "CONCURRENT",
215
- 29: "note",
216
- 31: "NOTE_TEXT",
217
- 33: "acc_title",
218
- 34: "acc_title_value",
219
- 35: "acc_descr",
220
- 36: "acc_descr_value",
221
- 37: "acc_descr_multiline_value",
222
- 38: "CLICK",
223
- 39: "STRING",
224
- 40: "HREF",
225
- 41: "classDef",
226
- 42: "CLASSDEF_ID",
227
- 43: "CLASSDEF_STYLEOPTS",
228
- 44: "DEFAULT",
229
- 45: "style",
230
- 46: "STYLE_IDS",
231
- 47: "STYLEDEF_STYLEOPTS",
232
- 48: "class",
233
- 49: "CLASSENTITY_IDS",
234
- 50: "STYLECLASS",
235
- 51: "direction_tb",
236
- 52: "direction_bt",
237
- 53: "direction_rl",
238
- 54: "direction_lr",
239
- 56: ";",
240
- 57: "EDGE_STATE",
241
- 58: "STYLE_SEPARATOR",
242
- 59: "left_of",
243
- 60: "right_of"
244
- },
245
- productions_: [
246
- 0,
247
- [3, 2],
248
- [3, 2],
249
- [3, 2],
250
- [7, 0],
251
- [7, 2],
252
- [8, 2],
253
- [8, 1],
254
- [8, 1],
255
- [9, 1],
256
- [9, 1],
257
- [9, 1],
258
- [9, 1],
259
- [9, 2],
260
- [9, 3],
261
- [9, 4],
262
- [9, 1],
263
- [9, 2],
264
- [9, 1],
265
- [9, 4],
266
- [9, 3],
267
- [9, 6],
268
- [9, 1],
269
- [9, 1],
270
- [9, 1],
271
- [9, 1],
272
- [9, 4],
273
- [9, 4],
274
- [9, 1],
275
- [9, 2],
276
- [9, 2],
277
- [9, 1],
278
- [9, 5],
279
- [9, 5],
280
- [10, 3],
281
- [10, 3],
282
- [11, 3],
283
- [12, 3],
284
- [32, 1],
285
- [32, 1],
286
- [32, 1],
287
- [32, 1],
288
- [55, 1],
289
- [55, 1],
290
- [13, 1],
291
- [13, 1],
292
- [13, 3],
293
- [13, 3],
294
- [30, 1],
295
- [30, 1]
296
- ],
297
- performAction: /* @__PURE__ */ __name$1(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
298
- var $0 = $$.length - 1;
299
- switch (yystate) {
300
- case 3:
301
- yy.setRootDoc($$[$0]);
302
- return $$[$0];
303
- case 4:
304
- this.$ = [];
305
- break;
306
- case 5:
307
- if ($$[$0] != "nl") {
308
- $$[$0 - 1].push($$[$0]);
309
- this.$ = $$[$0 - 1];
310
- }
311
- break;
312
- case 6:
313
- case 7:
314
- this.$ = $$[$0];
315
- break;
316
- case 8:
317
- this.$ = "nl";
318
- break;
319
- case 12:
320
- this.$ = $$[$0];
321
- break;
322
- case 13:
323
- const stateStmt = $$[$0 - 1];
324
- stateStmt.description = yy.trimColon($$[$0]);
325
- this.$ = stateStmt;
326
- break;
327
- case 14:
328
- this.$ = {
329
- stmt: "relation",
330
- state1: $$[$0 - 2],
331
- state2: $$[$0]
332
- };
333
- break;
334
- case 15:
335
- const relDescription = yy.trimColon($$[$0]);
336
- this.$ = {
337
- stmt: "relation",
338
- state1: $$[$0 - 3],
339
- state2: $$[$0 - 1],
340
- description: relDescription
341
- };
342
- break;
343
- case 19:
344
- this.$ = {
345
- stmt: "state",
346
- id: $$[$0 - 3],
347
- type: "default",
348
- description: "",
349
- doc: $$[$0 - 1]
350
- };
351
- break;
352
- case 20:
353
- var id = $$[$0];
354
- var description = $$[$0 - 2].trim();
355
- if ($$[$0].match(":")) {
356
- var parts = $$[$0].split(":");
357
- id = parts[0];
358
- description = [description, parts[1]];
359
- }
360
- this.$ = {
361
- stmt: "state",
362
- id,
363
- type: "default",
364
- description
365
- };
366
- break;
367
- case 21:
368
- this.$ = {
369
- stmt: "state",
370
- id: $$[$0 - 3],
371
- type: "default",
372
- description: $$[$0 - 5],
373
- doc: $$[$0 - 1]
374
- };
375
- break;
376
- case 22:
377
- this.$ = {
378
- stmt: "state",
379
- id: $$[$0],
380
- type: "fork"
381
- };
382
- break;
383
- case 23:
384
- this.$ = {
385
- stmt: "state",
386
- id: $$[$0],
387
- type: "join"
388
- };
389
- break;
390
- case 24:
391
- this.$ = {
392
- stmt: "state",
393
- id: $$[$0],
394
- type: "choice"
395
- };
396
- break;
397
- case 25:
398
- this.$ = {
399
- stmt: "state",
400
- id: yy.getDividerId(),
401
- type: "divider"
402
- };
403
- break;
404
- case 26:
405
- this.$ = {
406
- stmt: "state",
407
- id: $$[$0 - 1].trim(),
408
- note: {
409
- position: $$[$0 - 2].trim(),
410
- text: $$[$0].trim()
411
- }
412
- };
413
- break;
414
- case 29:
415
- this.$ = $$[$0].trim();
416
- yy.setAccTitle(this.$);
417
- break;
418
- case 30:
419
- case 31:
420
- this.$ = $$[$0].trim();
421
- yy.setAccDescription(this.$);
422
- break;
423
- case 32:
424
- this.$ = {
425
- stmt: "click",
426
- id: $$[$0 - 3],
427
- url: $$[$0 - 2],
428
- tooltip: $$[$0 - 1]
429
- };
430
- break;
431
- case 33:
432
- this.$ = {
433
- stmt: "click",
434
- id: $$[$0 - 3],
435
- url: $$[$0 - 1],
436
- tooltip: ""
437
- };
438
- break;
439
- case 34:
440
- case 35:
441
- this.$ = {
442
- stmt: "classDef",
443
- id: $$[$0 - 1].trim(),
444
- classes: $$[$0].trim()
445
- };
446
- break;
447
- case 36:
448
- this.$ = {
449
- stmt: "style",
450
- id: $$[$0 - 1].trim(),
451
- styleClass: $$[$0].trim()
452
- };
453
- break;
454
- case 37:
455
- this.$ = {
456
- stmt: "applyClass",
457
- id: $$[$0 - 1].trim(),
458
- styleClass: $$[$0].trim()
459
- };
460
- break;
461
- case 38:
462
- yy.setDirection("TB");
463
- this.$ = {
464
- stmt: "dir",
465
- value: "TB"
466
- };
467
- break;
468
- case 39:
469
- yy.setDirection("BT");
470
- this.$ = {
471
- stmt: "dir",
472
- value: "BT"
473
- };
474
- break;
475
- case 40:
476
- yy.setDirection("RL");
477
- this.$ = {
478
- stmt: "dir",
479
- value: "RL"
480
- };
481
- break;
482
- case 41:
483
- yy.setDirection("LR");
484
- this.$ = {
485
- stmt: "dir",
486
- value: "LR"
487
- };
488
- break;
489
- case 44:
490
- case 45:
491
- this.$ = {
492
- stmt: "state",
493
- id: $$[$0].trim(),
494
- type: "default",
495
- description: ""
496
- };
497
- break;
498
- case 46:
499
- this.$ = {
500
- stmt: "state",
501
- id: $$[$0 - 2].trim(),
502
- classes: [$$[$0].trim()],
503
- type: "default",
504
- description: ""
505
- };
506
- break;
507
- case 47:
508
- this.$ = {
509
- stmt: "state",
510
- id: $$[$0 - 2].trim(),
511
- classes: [$$[$0].trim()],
512
- type: "default",
513
- description: ""
514
- };
515
- break;
516
- }
517
- }, "anonymous"),
518
- table: [
519
- {
520
- 3: 1,
521
- 4: $V0,
522
- 5: $V1,
523
- 6: $V2
524
- },
525
- { 1: [3] },
526
- {
527
- 3: 5,
528
- 4: $V0,
529
- 5: $V1,
530
- 6: $V2
531
- },
532
- {
533
- 3: 6,
534
- 4: $V0,
535
- 5: $V1,
536
- 6: $V2
537
- },
538
- o([
539
- 1,
540
- 4,
541
- 5,
542
- 16,
543
- 17,
544
- 19,
545
- 22,
546
- 24,
547
- 25,
548
- 26,
549
- 27,
550
- 28,
551
- 29,
552
- 33,
553
- 35,
554
- 37,
555
- 38,
556
- 41,
557
- 45,
558
- 48,
559
- 51,
560
- 52,
561
- 53,
562
- 54,
563
- 57
564
- ], $V3, { 7: 7 }),
565
- { 1: [2, 1] },
566
- { 1: [2, 2] },
567
- {
568
- 1: [2, 3],
569
- 4: $V4,
570
- 5: $V5,
571
- 8: 8,
572
- 9: 10,
573
- 10: 12,
574
- 11: 13,
575
- 12: 14,
576
- 13: 15,
577
- 16: $V6,
578
- 17: $V7,
579
- 19: $V8,
580
- 22: $V9,
581
- 24: $Va,
582
- 25: $Vb,
583
- 26: $Vc,
584
- 27: $Vd,
585
- 28: $Ve,
586
- 29: $Vf,
587
- 32: 25,
588
- 33: $Vg,
589
- 35: $Vh,
590
- 37: $Vi,
591
- 38: $Vj,
592
- 41: $Vk,
593
- 45: $Vl,
594
- 48: $Vm,
595
- 51: $Vn,
596
- 52: $Vo,
597
- 53: $Vp,
598
- 54: $Vq,
599
- 57: $Vr
600
- },
601
- o($Vs, [2, 5]),
602
- {
603
- 9: 39,
604
- 10: 12,
605
- 11: 13,
606
- 12: 14,
607
- 13: 15,
608
- 16: $V6,
609
- 17: $V7,
610
- 19: $V8,
611
- 22: $V9,
612
- 24: $Va,
613
- 25: $Vb,
614
- 26: $Vc,
615
- 27: $Vd,
616
- 28: $Ve,
617
- 29: $Vf,
618
- 32: 25,
619
- 33: $Vg,
620
- 35: $Vh,
621
- 37: $Vi,
622
- 38: $Vj,
623
- 41: $Vk,
624
- 45: $Vl,
625
- 48: $Vm,
626
- 51: $Vn,
627
- 52: $Vo,
628
- 53: $Vp,
629
- 54: $Vq,
630
- 57: $Vr
631
- },
632
- o($Vs, [2, 7]),
633
- o($Vs, [2, 8]),
634
- o($Vs, [2, 9]),
635
- o($Vs, [2, 10]),
636
- o($Vs, [2, 11]),
637
- o($Vs, [2, 12], {
638
- 14: [1, 40],
639
- 15: [1, 41]
640
- }),
641
- o($Vs, [2, 16]),
642
- { 18: [1, 42] },
643
- o($Vs, [2, 18], { 20: [1, 43] }),
644
- { 23: [1, 44] },
645
- o($Vs, [2, 22]),
646
- o($Vs, [2, 23]),
647
- o($Vs, [2, 24]),
648
- o($Vs, [2, 25]),
649
- {
650
- 30: 45,
651
- 31: [1, 46],
652
- 59: [1, 47],
653
- 60: [1, 48]
654
- },
655
- o($Vs, [2, 28]),
656
- { 34: [1, 49] },
657
- { 36: [1, 50] },
658
- o($Vs, [2, 31]),
659
- {
660
- 13: 51,
661
- 24: $Va,
662
- 57: $Vr
663
- },
664
- {
665
- 42: [1, 52],
666
- 44: [1, 53]
667
- },
668
- { 46: [1, 54] },
669
- { 49: [1, 55] },
670
- o($Vt, [2, 44], { 58: [1, 56] }),
671
- o($Vt, [2, 45], { 58: [1, 57] }),
672
- o($Vs, [2, 38]),
673
- o($Vs, [2, 39]),
674
- o($Vs, [2, 40]),
675
- o($Vs, [2, 41]),
676
- o($Vs, [2, 6]),
677
- o($Vs, [2, 13]),
678
- {
679
- 13: 58,
680
- 24: $Va,
681
- 57: $Vr
682
- },
683
- o($Vs, [2, 17]),
684
- o($Vu, $V3, { 7: 59 }),
685
- { 24: [1, 60] },
686
- { 24: [1, 61] },
687
- { 23: [1, 62] },
688
- { 24: [2, 48] },
689
- { 24: [2, 49] },
690
- o($Vs, [2, 29]),
691
- o($Vs, [2, 30]),
692
- {
693
- 39: [1, 63],
694
- 40: [1, 64]
695
- },
696
- { 43: [1, 65] },
697
- { 43: [1, 66] },
698
- { 47: [1, 67] },
699
- { 50: [1, 68] },
700
- { 24: [1, 69] },
701
- { 24: [1, 70] },
702
- o($Vs, [2, 14], { 14: [1, 71] }),
703
- {
704
- 4: $V4,
705
- 5: $V5,
706
- 8: 8,
707
- 9: 10,
708
- 10: 12,
709
- 11: 13,
710
- 12: 14,
711
- 13: 15,
712
- 16: $V6,
713
- 17: $V7,
714
- 19: $V8,
715
- 21: [1, 72],
716
- 22: $V9,
717
- 24: $Va,
718
- 25: $Vb,
719
- 26: $Vc,
720
- 27: $Vd,
721
- 28: $Ve,
722
- 29: $Vf,
723
- 32: 25,
724
- 33: $Vg,
725
- 35: $Vh,
726
- 37: $Vi,
727
- 38: $Vj,
728
- 41: $Vk,
729
- 45: $Vl,
730
- 48: $Vm,
731
- 51: $Vn,
732
- 52: $Vo,
733
- 53: $Vp,
734
- 54: $Vq,
735
- 57: $Vr
736
- },
737
- o($Vs, [2, 20], { 20: [1, 73] }),
738
- { 31: [1, 74] },
739
- { 24: [1, 75] },
740
- { 39: [1, 76] },
741
- { 39: [1, 77] },
742
- o($Vs, [2, 34]),
743
- o($Vs, [2, 35]),
744
- o($Vs, [2, 36]),
745
- o($Vs, [2, 37]),
746
- o($Vt, [2, 46]),
747
- o($Vt, [2, 47]),
748
- o($Vs, [2, 15]),
749
- o($Vs, [2, 19]),
750
- o($Vu, $V3, { 7: 78 }),
751
- o($Vs, [2, 26]),
752
- o($Vs, [2, 27]),
753
- { 5: [1, 79] },
754
- { 5: [1, 80] },
755
- {
756
- 4: $V4,
757
- 5: $V5,
758
- 8: 8,
759
- 9: 10,
760
- 10: 12,
761
- 11: 13,
762
- 12: 14,
763
- 13: 15,
764
- 16: $V6,
765
- 17: $V7,
766
- 19: $V8,
767
- 21: [1, 81],
768
- 22: $V9,
769
- 24: $Va,
770
- 25: $Vb,
771
- 26: $Vc,
772
- 27: $Vd,
773
- 28: $Ve,
774
- 29: $Vf,
775
- 32: 25,
776
- 33: $Vg,
777
- 35: $Vh,
778
- 37: $Vi,
779
- 38: $Vj,
780
- 41: $Vk,
781
- 45: $Vl,
782
- 48: $Vm,
783
- 51: $Vn,
784
- 52: $Vo,
785
- 53: $Vp,
786
- 54: $Vq,
787
- 57: $Vr
788
- },
789
- o($Vs, [2, 32]),
790
- o($Vs, [2, 33]),
791
- o($Vs, [2, 21])
792
- ],
793
- defaultActions: {
794
- 5: [2, 1],
795
- 6: [2, 2],
796
- 47: [2, 48],
797
- 48: [2, 49]
798
- },
799
- parseError: /* @__PURE__ */ __name$1(function parseError(str, hash) {
800
- if (hash.recoverable) this.trace(str);
801
- else {
802
- var error = new Error(str);
803
- error.hash = hash;
804
- throw error;
805
- }
806
- }, "parseError"),
807
- parse: /* @__PURE__ */ __name$1(function parse(input) {
808
- var self = this;
809
- var stack = [0];
810
- var tstack = [];
811
- var vstack = [null];
812
- var lstack = [];
813
- var table = this.table;
814
- var yytext = "";
815
- var yylineno = 0;
816
- var yyleng = 0;
817
- var recovering = 0;
818
- var TERROR = 2;
819
- var EOF = 1;
820
- var args = lstack.slice.call(arguments, 1);
821
- var lexer2 = Object.create(this.lexer);
822
- var sharedState = { yy: {} };
823
- for (var k in this.yy) if (Object.prototype.hasOwnProperty.call(this.yy, k)) sharedState.yy[k] = this.yy[k];
824
- lexer2.setInput(input, sharedState.yy);
825
- sharedState.yy.lexer = lexer2;
826
- sharedState.yy.parser = this;
827
- if (typeof lexer2.yylloc == "undefined") lexer2.yylloc = {};
828
- var yyloc = lexer2.yylloc;
829
- lstack.push(yyloc);
830
- var ranges = lexer2.options && lexer2.options.ranges;
831
- if (typeof sharedState.yy.parseError === "function") this.parseError = sharedState.yy.parseError;
832
- else this.parseError = Object.getPrototypeOf(this).parseError;
833
- function popStack(n) {
834
- stack.length = stack.length - 2 * n;
835
- vstack.length = vstack.length - n;
836
- lstack.length = lstack.length - n;
837
- }
838
- __name$1(popStack, "popStack");
839
- function lex() {
840
- var token = tstack.pop() || lexer2.lex() || EOF;
841
- if (typeof token !== "number") {
842
- if (token instanceof Array) {
843
- tstack = token;
844
- token = tstack.pop();
845
- }
846
- token = self.symbols_[token] || token;
847
- }
848
- return token;
849
- }
850
- __name$1(lex, "lex");
851
- var symbol;
852
- var preErrorSymbol;
853
- var state;
854
- var action;
855
- var r;
856
- var yyval = {};
857
- var p;
858
- var len;
859
- var newState;
860
- var expected;
861
- while (true) {
862
- state = stack[stack.length - 1];
863
- if (this.defaultActions[state]) action = this.defaultActions[state];
864
- else {
865
- if (symbol === null || typeof symbol == "undefined") symbol = lex();
866
- action = table[state] && table[state][symbol];
867
- }
868
- if (typeof action === "undefined" || !action.length || !action[0]) {
869
- var errStr = "";
870
- expected = [];
871
- for (p in table[state]) if (this.terminals_[p] && p > TERROR) expected.push("'" + this.terminals_[p] + "'");
872
- if (lexer2.showPosition) errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
873
- else errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
874
- this.parseError(errStr, {
875
- text: lexer2.match,
876
- token: this.terminals_[symbol] || symbol,
877
- line: lexer2.yylineno,
878
- loc: yyloc,
879
- expected
880
- });
881
- }
882
- if (action[0] instanceof Array && action.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
883
- switch (action[0]) {
884
- case 1:
885
- stack.push(symbol);
886
- vstack.push(lexer2.yytext);
887
- lstack.push(lexer2.yylloc);
888
- stack.push(action[1]);
889
- symbol = null;
890
- if (!preErrorSymbol) {
891
- yyleng = lexer2.yyleng;
892
- yytext = lexer2.yytext;
893
- yylineno = lexer2.yylineno;
894
- yyloc = lexer2.yylloc;
895
- if (recovering > 0) recovering--;
896
- } else {
897
- symbol = preErrorSymbol;
898
- preErrorSymbol = null;
899
- }
900
- break;
901
- case 2:
902
- len = this.productions_[action[1]][1];
903
- yyval.$ = vstack[vstack.length - len];
904
- yyval._$ = {
905
- first_line: lstack[lstack.length - (len || 1)].first_line,
906
- last_line: lstack[lstack.length - 1].last_line,
907
- first_column: lstack[lstack.length - (len || 1)].first_column,
908
- last_column: lstack[lstack.length - 1].last_column
909
- };
910
- if (ranges) yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];
911
- r = this.performAction.apply(yyval, [
912
- yytext,
913
- yyleng,
914
- yylineno,
915
- sharedState.yy,
916
- action[1],
917
- vstack,
918
- lstack
919
- ].concat(args));
920
- if (typeof r !== "undefined") return r;
921
- if (len) {
922
- stack = stack.slice(0, -1 * len * 2);
923
- vstack = vstack.slice(0, -1 * len);
924
- lstack = lstack.slice(0, -1 * len);
925
- }
926
- stack.push(this.productions_[action[1]][0]);
927
- vstack.push(yyval.$);
928
- lstack.push(yyval._$);
929
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
930
- stack.push(newState);
931
- break;
932
- case 3: return true;
933
- }
934
- }
935
- return true;
936
- }, "parse")
937
- };
938
- parser2.lexer = /* @__PURE__ */ function() {
939
- return {
940
- EOF: 1,
941
- parseError: /* @__PURE__ */ __name$1(function parseError(str, hash) {
942
- if (this.yy.parser) this.yy.parser.parseError(str, hash);
943
- else throw new Error(str);
944
- }, "parseError"),
945
- setInput: /* @__PURE__ */ __name$1(function(input, yy) {
946
- this.yy = yy || this.yy || {};
947
- this._input = input;
948
- this._more = this._backtrack = this.done = false;
949
- this.yylineno = this.yyleng = 0;
950
- this.yytext = this.matched = this.match = "";
951
- this.conditionStack = ["INITIAL"];
952
- this.yylloc = {
953
- first_line: 1,
954
- first_column: 0,
955
- last_line: 1,
956
- last_column: 0
957
- };
958
- if (this.options.ranges) this.yylloc.range = [0, 0];
959
- this.offset = 0;
960
- return this;
961
- }, "setInput"),
962
- input: /* @__PURE__ */ __name$1(function() {
963
- var ch = this._input[0];
964
- this.yytext += ch;
965
- this.yyleng++;
966
- this.offset++;
967
- this.match += ch;
968
- this.matched += ch;
969
- if (ch.match(/(?:\r\n?|\n).*/g)) {
970
- this.yylineno++;
971
- this.yylloc.last_line++;
972
- } else this.yylloc.last_column++;
973
- if (this.options.ranges) this.yylloc.range[1]++;
974
- this._input = this._input.slice(1);
975
- return ch;
976
- }, "input"),
977
- unput: /* @__PURE__ */ __name$1(function(ch) {
978
- var len = ch.length;
979
- var lines = ch.split(/(?:\r\n?|\n)/g);
980
- this._input = ch + this._input;
981
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
982
- this.offset -= len;
983
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
984
- this.match = this.match.substr(0, this.match.length - 1);
985
- this.matched = this.matched.substr(0, this.matched.length - 1);
986
- if (lines.length - 1) this.yylineno -= lines.length - 1;
987
- var r = this.yylloc.range;
988
- this.yylloc = {
989
- first_line: this.yylloc.first_line,
990
- last_line: this.yylineno + 1,
991
- first_column: this.yylloc.first_column,
992
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
993
- };
994
- if (this.options.ranges) this.yylloc.range = [r[0], r[0] + this.yyleng - len];
995
- this.yyleng = this.yytext.length;
996
- return this;
997
- }, "unput"),
998
- more: /* @__PURE__ */ __name$1(function() {
999
- this._more = true;
1000
- return this;
1001
- }, "more"),
1002
- reject: /* @__PURE__ */ __name$1(function() {
1003
- if (this.options.backtrack_lexer) this._backtrack = true;
1004
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
1005
- text: "",
1006
- token: null,
1007
- line: this.yylineno
1008
- });
1009
- return this;
1010
- }, "reject"),
1011
- less: /* @__PURE__ */ __name$1(function(n) {
1012
- this.unput(this.match.slice(n));
1013
- }, "less"),
1014
- pastInput: /* @__PURE__ */ __name$1(function() {
1015
- var past = this.matched.substr(0, this.matched.length - this.match.length);
1016
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
1017
- }, "pastInput"),
1018
- upcomingInput: /* @__PURE__ */ __name$1(function() {
1019
- var next = this.match;
1020
- if (next.length < 20) next += this._input.substr(0, 20 - next.length);
1021
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
1022
- }, "upcomingInput"),
1023
- showPosition: /* @__PURE__ */ __name$1(function() {
1024
- var pre = this.pastInput();
1025
- var c = new Array(pre.length + 1).join("-");
1026
- return pre + this.upcomingInput() + "\n" + c + "^";
1027
- }, "showPosition"),
1028
- test_match: /* @__PURE__ */ __name$1(function(match, indexed_rule) {
1029
- var token;
1030
- var lines;
1031
- var backup;
1032
- if (this.options.backtrack_lexer) {
1033
- backup = {
1034
- yylineno: this.yylineno,
1035
- yylloc: {
1036
- first_line: this.yylloc.first_line,
1037
- last_line: this.last_line,
1038
- first_column: this.yylloc.first_column,
1039
- last_column: this.yylloc.last_column
1040
- },
1041
- yytext: this.yytext,
1042
- match: this.match,
1043
- matches: this.matches,
1044
- matched: this.matched,
1045
- yyleng: this.yyleng,
1046
- offset: this.offset,
1047
- _more: this._more,
1048
- _input: this._input,
1049
- yy: this.yy,
1050
- conditionStack: this.conditionStack.slice(0),
1051
- done: this.done
1052
- };
1053
- if (this.options.ranges) backup.yylloc.range = this.yylloc.range.slice(0);
1054
- }
1055
- lines = match[0].match(/(?:\r\n?|\n).*/g);
1056
- if (lines) this.yylineno += lines.length;
1057
- this.yylloc = {
1058
- first_line: this.yylloc.last_line,
1059
- last_line: this.yylineno + 1,
1060
- first_column: this.yylloc.last_column,
1061
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
1062
- };
1063
- this.yytext += match[0];
1064
- this.match += match[0];
1065
- this.matches = match;
1066
- this.yyleng = this.yytext.length;
1067
- if (this.options.ranges) this.yylloc.range = [this.offset, this.offset += this.yyleng];
1068
- this._more = false;
1069
- this._backtrack = false;
1070
- this._input = this._input.slice(match[0].length);
1071
- this.matched += match[0];
1072
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
1073
- if (this.done && this._input) this.done = false;
1074
- if (token) return token;
1075
- else if (this._backtrack) {
1076
- for (var k in backup) this[k] = backup[k];
1077
- return false;
1078
- }
1079
- return false;
1080
- }, "test_match"),
1081
- next: /* @__PURE__ */ __name$1(function() {
1082
- if (this.done) return this.EOF;
1083
- if (!this._input) this.done = true;
1084
- var token;
1085
- var match;
1086
- var tempMatch;
1087
- var index;
1088
- if (!this._more) {
1089
- this.yytext = "";
1090
- this.match = "";
1091
- }
1092
- var rules = this._currentRules();
1093
- for (var i = 0; i < rules.length; i++) {
1094
- tempMatch = this._input.match(this.rules[rules[i]]);
1095
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
1096
- match = tempMatch;
1097
- index = i;
1098
- if (this.options.backtrack_lexer) {
1099
- token = this.test_match(tempMatch, rules[i]);
1100
- if (token !== false) return token;
1101
- else if (this._backtrack) {
1102
- match = false;
1103
- continue;
1104
- } else return false;
1105
- } else if (!this.options.flex) break;
1106
- }
1107
- }
1108
- if (match) {
1109
- token = this.test_match(match, rules[index]);
1110
- if (token !== false) return token;
1111
- return false;
1112
- }
1113
- if (this._input === "") return this.EOF;
1114
- else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1115
- text: "",
1116
- token: null,
1117
- line: this.yylineno
1118
- });
1119
- }, "next"),
1120
- lex: /* @__PURE__ */ __name$1(function lex() {
1121
- var r = this.next();
1122
- if (r) return r;
1123
- else return this.lex();
1124
- }, "lex"),
1125
- begin: /* @__PURE__ */ __name$1(function begin(condition) {
1126
- this.conditionStack.push(condition);
1127
- }, "begin"),
1128
- popState: /* @__PURE__ */ __name$1(function popState() {
1129
- if (this.conditionStack.length - 1 > 0) return this.conditionStack.pop();
1130
- else return this.conditionStack[0];
1131
- }, "popState"),
1132
- _currentRules: /* @__PURE__ */ __name$1(function _currentRules() {
1133
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
1134
- else return this.conditions["INITIAL"].rules;
1135
- }, "_currentRules"),
1136
- topState: /* @__PURE__ */ __name$1(function topState(n) {
1137
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
1138
- if (n >= 0) return this.conditionStack[n];
1139
- else return "INITIAL";
1140
- }, "topState"),
1141
- pushState: /* @__PURE__ */ __name$1(function pushState(condition) {
1142
- this.begin(condition);
1143
- }, "pushState"),
1144
- stateStackSize: /* @__PURE__ */ __name$1(function stateStackSize() {
1145
- return this.conditionStack.length;
1146
- }, "stateStackSize"),
1147
- options: { "case-insensitive": true },
1148
- performAction: /* @__PURE__ */ __name$1(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
1149
- function processId() {
1150
- const idx = yy_.yytext.indexOf("%%");
1151
- if (idx === 0) return false;
1152
- if (idx > 0) {
1153
- const before = yy_.yytext.slice(0, idx);
1154
- const after = yy_.yytext.slice(idx);
1155
- if (after) yy.lexer.unput(after);
1156
- yy_.yytext = before;
1157
- }
1158
- return true;
1159
- }
1160
- __name$1(processId, "processId");
1161
- switch ($avoiding_name_collisions) {
1162
- case 0: return 38;
1163
- case 1: return 40;
1164
- case 2: return 39;
1165
- case 3: return 44;
1166
- case 4: return 51;
1167
- case 5: return 52;
1168
- case 6: return 53;
1169
- case 7: return 54;
1170
- case 8: return 5;
1171
- case 9: break;
1172
- case 10: break;
1173
- case 11: break;
1174
- case 12: break;
1175
- case 13:
1176
- this.pushState("SCALE");
1177
- return 17;
1178
- case 14: return 18;
1179
- case 15:
1180
- this.popState();
1181
- break;
1182
- case 16:
1183
- this.begin("acc_title");
1184
- return 33;
1185
- case 17:
1186
- this.popState();
1187
- return "acc_title_value";
1188
- case 18:
1189
- this.begin("acc_descr");
1190
- return 35;
1191
- case 19:
1192
- this.popState();
1193
- return "acc_descr_value";
1194
- case 20:
1195
- this.begin("acc_descr_multiline");
1196
- break;
1197
- case 21:
1198
- this.popState();
1199
- break;
1200
- case 22: return "acc_descr_multiline_value";
1201
- case 23:
1202
- this.pushState("CLASSDEF");
1203
- return 41;
1204
- case 24:
1205
- this.popState();
1206
- this.pushState("CLASSDEFID");
1207
- return "DEFAULT_CLASSDEF_ID";
1208
- case 25:
1209
- this.popState();
1210
- this.pushState("CLASSDEFID");
1211
- return 42;
1212
- case 26:
1213
- this.popState();
1214
- return 43;
1215
- case 27:
1216
- this.pushState("CLASS");
1217
- return 48;
1218
- case 28:
1219
- this.popState();
1220
- this.pushState("CLASS_STYLE");
1221
- return 49;
1222
- case 29:
1223
- this.popState();
1224
- return 50;
1225
- case 30:
1226
- this.pushState("STYLE");
1227
- return 45;
1228
- case 31:
1229
- this.popState();
1230
- this.pushState("STYLEDEF_STYLES");
1231
- return 46;
1232
- case 32:
1233
- this.popState();
1234
- return 47;
1235
- case 33:
1236
- this.pushState("SCALE");
1237
- return 17;
1238
- case 34: return 18;
1239
- case 35:
1240
- this.popState();
1241
- break;
1242
- case 36:
1243
- this.pushState("STATE");
1244
- break;
1245
- case 37:
1246
- this.popState();
1247
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
1248
- return 25;
1249
- case 38:
1250
- this.popState();
1251
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
1252
- return 26;
1253
- case 39:
1254
- this.popState();
1255
- yy_.yytext = yy_.yytext.slice(0, -10).trim();
1256
- return 27;
1257
- case 40:
1258
- this.popState();
1259
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
1260
- return 25;
1261
- case 41:
1262
- this.popState();
1263
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
1264
- return 26;
1265
- case 42:
1266
- this.popState();
1267
- yy_.yytext = yy_.yytext.slice(0, -10).trim();
1268
- return 27;
1269
- case 43: return 51;
1270
- case 44: return 52;
1271
- case 45: return 53;
1272
- case 46: return 54;
1273
- case 47:
1274
- this.pushState("STATE_STRING");
1275
- break;
1276
- case 48:
1277
- this.pushState("STATE_ID");
1278
- return "AS";
1279
- case 49:
1280
- if (!processId()) return;
1281
- this.popState();
1282
- return "ID";
1283
- case 50:
1284
- this.popState();
1285
- break;
1286
- case 51: return "STATE_DESCR";
1287
- case 52: return 19;
1288
- case 53:
1289
- this.popState();
1290
- break;
1291
- case 54:
1292
- this.popState();
1293
- this.pushState("struct");
1294
- return 20;
1295
- case 55:
1296
- this.popState();
1297
- return 21;
1298
- case 56: break;
1299
- case 57:
1300
- this.begin("NOTE");
1301
- return 29;
1302
- case 58:
1303
- this.popState();
1304
- this.pushState("NOTE_ID");
1305
- return 59;
1306
- case 59:
1307
- this.popState();
1308
- this.pushState("NOTE_ID");
1309
- return 60;
1310
- case 60:
1311
- this.popState();
1312
- this.pushState("FLOATING_NOTE");
1313
- break;
1314
- case 61:
1315
- this.popState();
1316
- this.pushState("FLOATING_NOTE_ID");
1317
- return "AS";
1318
- case 62: break;
1319
- case 63: return "NOTE_TEXT";
1320
- case 64:
1321
- if (!processId()) return;
1322
- this.popState();
1323
- return "ID";
1324
- case 65:
1325
- if (!processId()) return;
1326
- this.popState();
1327
- this.pushState("NOTE_TEXT");
1328
- return 24;
1329
- case 66:
1330
- this.popState();
1331
- yy_.yytext = yy_.yytext.substr(2).trim();
1332
- return 31;
1333
- case 67:
1334
- this.popState();
1335
- yy_.yytext = yy_.yytext.slice(0, -8).trim();
1336
- return 31;
1337
- case 68: return 6;
1338
- case 69: return 6;
1339
- case 70: return 16;
1340
- case 71: return 57;
1341
- case 72:
1342
- if (!processId()) return;
1343
- return 24;
1344
- case 73:
1345
- yy_.yytext = yy_.yytext.trim();
1346
- return 14;
1347
- case 74: return 15;
1348
- case 75: return 28;
1349
- case 76: return 58;
1350
- case 77: return 5;
1351
- case 78: return "INVALID";
1352
- }
1353
- }, "anonymous"),
1354
- rules: [
1355
- /^(?:click\b)/i,
1356
- /^(?:href\b)/i,
1357
- /^(?:"[^"]*")/i,
1358
- /^(?:default\b)/i,
1359
- /^(?:.*direction\s+TB[^\n]*)/i,
1360
- /^(?:.*direction\s+BT[^\n]*)/i,
1361
- /^(?:.*direction\s+RL[^\n]*)/i,
1362
- /^(?:.*direction\s+LR[^\n]*)/i,
1363
- /^(?:[\n]+)/i,
1364
- /^(?:[\s]+)/i,
1365
- /^(?:((?!\n)\s)+)/i,
1366
- /^(?:#[^\n]*)/i,
1367
- /^(?:%%(?!\{)[^\n]*)/i,
1368
- /^(?:scale\s+)/i,
1369
- /^(?:\d+)/i,
1370
- /^(?:\s+width\b)/i,
1371
- /^(?:accTitle\s*:\s*)/i,
1372
- /^(?:(?!\n||)*[^\n]*)/i,
1373
- /^(?:accDescr\s*:\s*)/i,
1374
- /^(?:(?!\n||)*[^\n]*)/i,
1375
- /^(?:accDescr\s*\{\s*)/i,
1376
- /^(?:[\}])/i,
1377
- /^(?:[^\}]*)/i,
1378
- /^(?:classDef\s+)/i,
1379
- /^(?:DEFAULT\s+)/i,
1380
- /^(?:\w+\s+)/i,
1381
- /^(?:[^\n]*)/i,
1382
- /^(?:class\s+)/i,
1383
- /^(?:(\w+)+((,\s*\w+)*))/i,
1384
- /^(?:[^\n]*)/i,
1385
- /^(?:style\s+)/i,
1386
- /^(?:[\w,]+\s+)/i,
1387
- /^(?:[^\n]*)/i,
1388
- /^(?:scale\s+)/i,
1389
- /^(?:\d+)/i,
1390
- /^(?:\s+width\b)/i,
1391
- /^(?:state\s+)/i,
1392
- /^(?:.*<<fork>>)/i,
1393
- /^(?:.*<<join>>)/i,
1394
- /^(?:.*<<choice>>)/i,
1395
- /^(?:.*\[\[fork\]\])/i,
1396
- /^(?:.*\[\[join\]\])/i,
1397
- /^(?:.*\[\[choice\]\])/i,
1398
- /^(?:.*direction\s+TB[^\n]*)/i,
1399
- /^(?:.*direction\s+BT[^\n]*)/i,
1400
- /^(?:.*direction\s+RL[^\n]*)/i,
1401
- /^(?:.*direction\s+LR[^\n]*)/i,
1402
- /^(?:["])/i,
1403
- /^(?:\s*as\s+)/i,
1404
- /^(?:[^\n\{]*)/i,
1405
- /^(?:["])/i,
1406
- /^(?:[^"]*)/i,
1407
- /^(?:[^\n\s\{]+)/i,
1408
- /^(?:\n)/i,
1409
- /^(?:\{)/i,
1410
- /^(?:\})/i,
1411
- /^(?:[\n])/i,
1412
- /^(?:note\s+)/i,
1413
- /^(?:left of\b)/i,
1414
- /^(?:right of\b)/i,
1415
- /^(?:")/i,
1416
- /^(?:\s*as\s*)/i,
1417
- /^(?:["])/i,
1418
- /^(?:[^"]*)/i,
1419
- /^(?:[^\n]*)/i,
1420
- /^(?:\s*[^:\n\s\-]+)/i,
1421
- /^(?:\s*:[^:\n;]+)/i,
1422
- /^(?:[\s\S]*?\n\s*end note\b)/i,
1423
- /^(?:stateDiagram\s+)/i,
1424
- /^(?:stateDiagram-v2\s+)/i,
1425
- /^(?:hide empty description\b)/i,
1426
- /^(?:\[\*\])/i,
1427
- /^(?:[^:\n\s\-\{]+)/i,
1428
- /^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,
1429
- /^(?:-->)/i,
1430
- /^(?:--)/i,
1431
- /^(?::::)/i,
1432
- /^(?:$)/i,
1433
- /^(?:.)/i
1434
- ],
1435
- conditions: {
1436
- "LINE": {
1437
- "rules": [
1438
- 10,
1439
- 11,
1440
- 12
1441
- ],
1442
- "inclusive": false
1443
- },
1444
- "struct": {
1445
- "rules": [
1446
- 10,
1447
- 11,
1448
- 12,
1449
- 23,
1450
- 27,
1451
- 30,
1452
- 36,
1453
- 43,
1454
- 44,
1455
- 45,
1456
- 46,
1457
- 55,
1458
- 56,
1459
- 57,
1460
- 71,
1461
- 72,
1462
- 73,
1463
- 74,
1464
- 75,
1465
- 76
1466
- ],
1467
- "inclusive": false
1468
- },
1469
- "FLOATING_NOTE_ID": {
1470
- "rules": [64],
1471
- "inclusive": false
1472
- },
1473
- "FLOATING_NOTE": {
1474
- "rules": [
1475
- 61,
1476
- 62,
1477
- 63
1478
- ],
1479
- "inclusive": false
1480
- },
1481
- "NOTE_TEXT": {
1482
- "rules": [66, 67],
1483
- "inclusive": false
1484
- },
1485
- "NOTE_ID": {
1486
- "rules": [65],
1487
- "inclusive": false
1488
- },
1489
- "NOTE": {
1490
- "rules": [
1491
- 58,
1492
- 59,
1493
- 60
1494
- ],
1495
- "inclusive": false
1496
- },
1497
- "STYLEDEF_STYLEOPTS": {
1498
- "rules": [],
1499
- "inclusive": false
1500
- },
1501
- "STYLEDEF_STYLES": {
1502
- "rules": [32],
1503
- "inclusive": false
1504
- },
1505
- "STYLE_IDS": {
1506
- "rules": [],
1507
- "inclusive": false
1508
- },
1509
- "STYLE": {
1510
- "rules": [31],
1511
- "inclusive": false
1512
- },
1513
- "CLASS_STYLE": {
1514
- "rules": [29],
1515
- "inclusive": false
1516
- },
1517
- "CLASS": {
1518
- "rules": [28],
1519
- "inclusive": false
1520
- },
1521
- "CLASSDEFID": {
1522
- "rules": [26],
1523
- "inclusive": false
1524
- },
1525
- "CLASSDEF": {
1526
- "rules": [24, 25],
1527
- "inclusive": false
1528
- },
1529
- "acc_descr_multiline": {
1530
- "rules": [21, 22],
1531
- "inclusive": false
1532
- },
1533
- "acc_descr": {
1534
- "rules": [19],
1535
- "inclusive": false
1536
- },
1537
- "acc_title": {
1538
- "rules": [17],
1539
- "inclusive": false
1540
- },
1541
- "SCALE": {
1542
- "rules": [
1543
- 14,
1544
- 15,
1545
- 34,
1546
- 35
1547
- ],
1548
- "inclusive": false
1549
- },
1550
- "ALIAS": {
1551
- "rules": [],
1552
- "inclusive": false
1553
- },
1554
- "STATE_ID": {
1555
- "rules": [49],
1556
- "inclusive": false
1557
- },
1558
- "STATE_STRING": {
1559
- "rules": [50, 51],
1560
- "inclusive": false
1561
- },
1562
- "FORK_STATE": {
1563
- "rules": [],
1564
- "inclusive": false
1565
- },
1566
- "STATE": {
1567
- "rules": [
1568
- 10,
1569
- 11,
1570
- 12,
1571
- 37,
1572
- 38,
1573
- 39,
1574
- 40,
1575
- 41,
1576
- 42,
1577
- 47,
1578
- 48,
1579
- 52,
1580
- 53,
1581
- 54
1582
- ],
1583
- "inclusive": false
1584
- },
1585
- "ID": {
1586
- "rules": [
1587
- 10,
1588
- 11,
1589
- 12
1590
- ],
1591
- "inclusive": false
1592
- },
1593
- "INITIAL": {
1594
- "rules": [
1595
- 0,
1596
- 1,
1597
- 2,
1598
- 3,
1599
- 4,
1600
- 5,
1601
- 6,
1602
- 7,
1603
- 8,
1604
- 9,
1605
- 11,
1606
- 12,
1607
- 13,
1608
- 16,
1609
- 18,
1610
- 20,
1611
- 23,
1612
- 27,
1613
- 30,
1614
- 33,
1615
- 36,
1616
- 54,
1617
- 57,
1618
- 68,
1619
- 69,
1620
- 70,
1621
- 71,
1622
- 72,
1623
- 73,
1624
- 74,
1625
- 76,
1626
- 77,
1627
- 78
1628
- ],
1629
- "inclusive": true
1630
- }
1631
- }
1632
- };
1633
- }();
1634
- function Parser() {
1635
- this.yy = {};
1636
- }
1637
- __name$1(Parser, "Parser");
1638
- Parser.prototype = parser2;
1639
- parser2.Parser = Parser;
1640
- return new Parser();
1641
- }();
1642
- parser.parser = parser;
1643
- var stateDiagram_default = parser;
1644
- var DEFAULT_DIAGRAM_DIRECTION = "TB";
1645
- var DEFAULT_NESTED_DOC_DIR = "TB";
1646
- var STMT_DIRECTION = "dir";
1647
- var STMT_STATE = "state";
1648
- var STMT_ROOT = "root";
1649
- var STMT_RELATION = "relation";
1650
- var STMT_CLASSDEF = "classDef";
1651
- var STMT_STYLEDEF = "style";
1652
- var STMT_APPLYCLASS = "applyClass";
1653
- var DEFAULT_STATE_TYPE = "default";
1654
- var DIVIDER_TYPE = "divider";
1655
- var G_EDGE_STYLE = "fill:none";
1656
- var G_EDGE_ARROWHEADSTYLE = "fill: #333";
1657
- var G_EDGE_LABELPOS = "c";
1658
- var G_EDGE_LABELTYPE = "markdown";
1659
- var G_EDGE_THICKNESS = "normal";
1660
- var SHAPE_STATE = "rect";
1661
- var SHAPE_STATE_WITH_DESC = "rectWithTitle";
1662
- var SHAPE_START = "stateStart";
1663
- var SHAPE_END = "stateEnd";
1664
- var SHAPE_DIVIDER = "divider";
1665
- var SHAPE_GROUP = "roundedWithTitle";
1666
- var SHAPE_NOTE = "note";
1667
- var SHAPE_NOTEGROUP = "noteGroup";
1668
- var CSS_DIAGRAM = "statediagram";
1669
- var CSS_DIAGRAM_STATE = `${CSS_DIAGRAM}-state`;
1670
- var CSS_EDGE = "transition";
1671
- var CSS_NOTE = "note";
1672
- var CSS_EDGE_NOTE_EDGE = `${CSS_EDGE} note-edge`;
1673
- var CSS_DIAGRAM_NOTE = `${CSS_DIAGRAM}-${CSS_NOTE}`;
1674
- var CSS_DIAGRAM_CLUSTER = `${CSS_DIAGRAM}-cluster`;
1675
- var CSS_DIAGRAM_CLUSTER_ALT = `${CSS_DIAGRAM}-cluster-alt`;
1676
- var PARENT = "parent";
1677
- var NOTE = "note";
1678
- var DOMID_STATE = "state";
1679
- var DOMID_TYPE_SPACER = "----";
1680
- var NOTE_ID = `${DOMID_TYPE_SPACER}${NOTE}`;
1681
- var PARENT_ID = `${DOMID_TYPE_SPACER}${PARENT}`;
1682
- var getDir = /* @__PURE__ */ __name$1((parsedItem, defaultDir = DEFAULT_NESTED_DOC_DIR) => {
1683
- if (!parsedItem.doc) return defaultDir;
1684
- let dir = defaultDir;
1685
- for (const parsedItemDoc of parsedItem.doc) if (parsedItemDoc.stmt === "dir") dir = parsedItemDoc.value;
1686
- return dir;
1687
- }, "getDir");
1688
- var stateRenderer_v3_unified_default = {
1689
- getClasses: /* @__PURE__ */ __name$1(function(text, diagramObj) {
1690
- return diagramObj.db.getClasses();
1691
- }, "getClasses"),
1692
- draw: /* @__PURE__ */ __name$1(async function(text, id, _version, diag) {
1693
- log.info("REF0:");
1694
- log.info("Drawing state diagram (v2)", id);
1695
- const { securityLevel, state: conf, layout } = getConfig2();
1696
- diag.db.extract(diag.db.getRootDocV2());
1697
- const data4Layout = diag.db.getData();
1698
- const svg = getDiagramElement(id, securityLevel);
1699
- data4Layout.type = diag.type;
1700
- data4Layout.layoutAlgorithm = layout;
1701
- data4Layout.nodeSpacing = conf?.nodeSpacing || 50;
1702
- data4Layout.rankSpacing = conf?.rankSpacing || 50;
1703
- if (getConfig2().look === "neo") data4Layout.markers = ["barbNeo"];
1704
- else data4Layout.markers = ["barb"];
1705
- data4Layout.diagramId = id;
1706
- await render(data4Layout, svg);
1707
- const padding = 8;
1708
- try {
1709
- (typeof diag.db.getLinks === "function" ? diag.db.getLinks() : /* @__PURE__ */ new Map()).forEach((linkInfo, key) => {
1710
- const stateId = typeof key === "string" ? key : typeof key?.id === "string" ? key.id : "";
1711
- if (!stateId) {
1712
- log.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(key));
1713
- return;
1714
- }
1715
- const allNodes = svg.node()?.querySelectorAll("g");
1716
- let matchedElem;
1717
- allNodes?.forEach((g) => {
1718
- if (g.textContent?.trim() === stateId) matchedElem = g;
1719
- });
1720
- if (!matchedElem) {
1721
- log.warn("⚠️ Could not find node matching text:", stateId);
1722
- return;
1723
- }
1724
- const parent = matchedElem.parentNode;
1725
- if (!parent) {
1726
- log.warn("⚠️ Node has no parent, cannot wrap:", stateId);
1727
- return;
1728
- }
1729
- const a = document.createElementNS("http://www.w3.org/2000/svg", "a");
1730
- const cleanedUrl = linkInfo.url.replace(/^"+|"+$/g, "");
1731
- a.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", cleanedUrl);
1732
- a.setAttribute("target", "_blank");
1733
- if (linkInfo.tooltip) {
1734
- const tooltip = linkInfo.tooltip.replace(/^"+|"+$/g, "");
1735
- a.setAttribute("title", tooltip);
1736
- }
1737
- parent.replaceChild(a, matchedElem);
1738
- a.appendChild(matchedElem);
1739
- log.info("🔗 Wrapped node in <a> tag for:", stateId, linkInfo.url);
1740
- });
1741
- } catch (err) {
1742
- log.error("❌ Error injecting clickable links:", err);
1743
- }
1744
- utils_default.insertTitle(svg, "statediagramTitleText", conf?.titleTopMargin ?? 25, diag.db.getDiagramTitle());
1745
- setupViewPortForSVG(svg, padding, CSS_DIAGRAM, conf?.useMaxWidth ?? true);
1746
- }, "draw"),
1747
- getDir
1748
- };
1749
- var nodeDb = /* @__PURE__ */ new Map();
1750
- var graphItemCount = 0;
1751
- function stateDomId(itemId = "", counter = 0, type = "", typeSpacer = DOMID_TYPE_SPACER) {
1752
- return `${DOMID_STATE}-${itemId}${type !== null && type.length > 0 ? `${typeSpacer}${type}` : ""}-${counter}`;
1753
- }
1754
- __name$1(stateDomId, "stateDomId");
1755
- var setupDoc = /* @__PURE__ */ __name$1((parentParsedItem, doc, diagramStates, nodes, edges, altFlag, look, classes) => {
1756
- log.trace("items", doc);
1757
- doc.forEach((item) => {
1758
- switch (item.stmt) {
1759
- case STMT_STATE:
1760
- dataFetcher(parentParsedItem, item, diagramStates, nodes, edges, altFlag, look, classes);
1761
- break;
1762
- case DEFAULT_STATE_TYPE:
1763
- dataFetcher(parentParsedItem, item, diagramStates, nodes, edges, altFlag, look, classes);
1764
- break;
1765
- case STMT_RELATION:
1766
- {
1767
- dataFetcher(parentParsedItem, item.state1, diagramStates, nodes, edges, altFlag, look, classes);
1768
- dataFetcher(parentParsedItem, item.state2, diagramStates, nodes, edges, altFlag, look, classes);
1769
- const isNeo = look === "neo";
1770
- const edgeData = {
1771
- id: "edge" + graphItemCount,
1772
- start: item.state1.id,
1773
- end: item.state2.id,
1774
- arrowhead: "normal",
1775
- arrowTypeEnd: isNeo ? "arrow_barb_neo" : "arrow_barb",
1776
- style: G_EDGE_STYLE,
1777
- labelStyle: "",
1778
- label: common_default.sanitizeText(item.description ?? "", getConfig2()),
1779
- arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
1780
- labelpos: G_EDGE_LABELPOS,
1781
- labelType: G_EDGE_LABELTYPE,
1782
- thickness: G_EDGE_THICKNESS,
1783
- classes: CSS_EDGE,
1784
- look
1785
- };
1786
- edges.push(edgeData);
1787
- graphItemCount++;
1788
- }
1789
- break;
1790
- }
1791
- });
1792
- }, "setupDoc");
1793
- var getDir2 = /* @__PURE__ */ __name$1((parsedItem, defaultDir = DEFAULT_NESTED_DOC_DIR) => {
1794
- let dir = defaultDir;
1795
- if (parsedItem.doc) {
1796
- for (const parsedItemDoc of parsedItem.doc) if (parsedItemDoc.stmt === "dir") dir = parsedItemDoc.value;
1797
- }
1798
- return dir;
1799
- }, "getDir");
1800
- function insertOrUpdateNode(nodes, nodeData, classes) {
1801
- if (!nodeData.id || nodeData.id === "</join></fork>" || nodeData.id === "</choice>") return;
1802
- if (nodeData.cssClasses) {
1803
- if (!Array.isArray(nodeData.cssCompiledStyles)) nodeData.cssCompiledStyles = [];
1804
- nodeData.cssClasses.split(" ").forEach((cssClass) => {
1805
- const classDef = classes.get(cssClass);
1806
- if (classDef) nodeData.cssCompiledStyles = [...nodeData.cssCompiledStyles ?? [], ...classDef.styles];
1807
- });
1808
- }
1809
- const existingNodeData = nodes.find((node) => node.id === nodeData.id);
1810
- if (existingNodeData) Object.assign(existingNodeData, nodeData);
1811
- else nodes.push(nodeData);
1812
- }
1813
- __name$1(insertOrUpdateNode, "insertOrUpdateNode");
1814
- function getClassesFromDbInfo(dbInfoItem) {
1815
- return dbInfoItem?.classes?.join(" ") ?? "";
1816
- }
1817
- __name$1(getClassesFromDbInfo, "getClassesFromDbInfo");
1818
- function getStylesFromDbInfo(dbInfoItem) {
1819
- return dbInfoItem?.styles ?? [];
1820
- }
1821
- __name$1(getStylesFromDbInfo, "getStylesFromDbInfo");
1822
- var dataFetcher = /* @__PURE__ */ __name$1((parent, parsedItem, diagramStates, nodes, edges, altFlag, look, classes) => {
1823
- const itemId = parsedItem.id;
1824
- const dbState = diagramStates.get(itemId);
1825
- const classStr = getClassesFromDbInfo(dbState);
1826
- const style = getStylesFromDbInfo(dbState);
1827
- const config = getConfig2();
1828
- log.info("dataFetcher parsedItem", parsedItem, dbState, style);
1829
- if (itemId !== "root") {
1830
- let shape = SHAPE_STATE;
1831
- if (parsedItem.start === true) shape = SHAPE_START;
1832
- else if (parsedItem.start === false) shape = SHAPE_END;
1833
- if (parsedItem.type !== DEFAULT_STATE_TYPE) shape = parsedItem.type;
1834
- if (!nodeDb.get(itemId)) nodeDb.set(itemId, {
1835
- id: itemId,
1836
- shape,
1837
- description: common_default.sanitizeText(itemId, config),
1838
- cssClasses: `${classStr} ${CSS_DIAGRAM_STATE}`,
1839
- cssStyles: style
1840
- });
1841
- const newNode = nodeDb.get(itemId);
1842
- if (parsedItem.description) {
1843
- if (Array.isArray(newNode.description)) {
1844
- newNode.shape = SHAPE_STATE_WITH_DESC;
1845
- newNode.description.push(parsedItem.description);
1846
- } else if (newNode.description?.length && newNode.description.length > 0) {
1847
- newNode.shape = SHAPE_STATE_WITH_DESC;
1848
- if (newNode.description === itemId) newNode.description = [parsedItem.description];
1849
- else newNode.description = [newNode.description, parsedItem.description];
1850
- } else {
1851
- newNode.shape = SHAPE_STATE;
1852
- newNode.description = parsedItem.description;
1853
- }
1854
- newNode.description = common_default.sanitizeTextOrArray(newNode.description, config);
1855
- }
1856
- if (newNode.description?.length === 1 && newNode.shape === SHAPE_STATE_WITH_DESC) if (newNode.type === "group") newNode.shape = SHAPE_GROUP;
1857
- else newNode.shape = SHAPE_STATE;
1858
- if (!newNode.type && parsedItem.doc) {
1859
- log.info("Setting cluster for XCX", itemId, getDir2(parsedItem));
1860
- newNode.type = "group";
1861
- newNode.isGroup = true;
1862
- newNode.dir = getDir2(parsedItem);
1863
- newNode.shape = parsedItem.type === DIVIDER_TYPE ? SHAPE_DIVIDER : SHAPE_GROUP;
1864
- newNode.cssClasses = `${newNode.cssClasses} ${CSS_DIAGRAM_CLUSTER} ${altFlag ? CSS_DIAGRAM_CLUSTER_ALT : ""}`;
1865
- }
1866
- const nodeData = {
1867
- labelStyle: "",
1868
- shape: newNode.shape,
1869
- label: newNode.description,
1870
- cssClasses: newNode.cssClasses,
1871
- cssCompiledStyles: [],
1872
- cssStyles: newNode.cssStyles,
1873
- id: itemId,
1874
- dir: newNode.dir,
1875
- domId: stateDomId(itemId, graphItemCount),
1876
- type: newNode.type,
1877
- isGroup: newNode.type === "group",
1878
- padding: 8,
1879
- rx: 10,
1880
- ry: 10,
1881
- look,
1882
- labelType: "markdown"
1883
- };
1884
- if (nodeData.shape === SHAPE_DIVIDER) nodeData.label = "";
1885
- if (parent && parent.id !== "root") {
1886
- log.trace("Setting node ", itemId, " to be child of its parent ", parent.id);
1887
- nodeData.parentId = parent.id;
1888
- }
1889
- nodeData.centerLabel = true;
1890
- if (parsedItem.note) {
1891
- const noteData = {
1892
- labelStyle: "",
1893
- shape: SHAPE_NOTE,
1894
- label: parsedItem.note.text,
1895
- labelType: "markdown",
1896
- cssClasses: CSS_DIAGRAM_NOTE,
1897
- cssStyles: [],
1898
- cssCompiledStyles: [],
1899
- id: itemId + NOTE_ID + "-" + graphItemCount,
1900
- domId: stateDomId(itemId, graphItemCount, NOTE),
1901
- type: newNode.type,
1902
- isGroup: newNode.type === "group",
1903
- padding: config.flowchart?.padding,
1904
- look,
1905
- position: parsedItem.note.position
1906
- };
1907
- const parentNodeId = itemId + PARENT_ID;
1908
- const groupData = {
1909
- labelStyle: "",
1910
- shape: SHAPE_NOTEGROUP,
1911
- label: parsedItem.note.text,
1912
- cssClasses: newNode.cssClasses,
1913
- cssStyles: [],
1914
- id: itemId + PARENT_ID,
1915
- domId: stateDomId(itemId, graphItemCount, PARENT),
1916
- type: "group",
1917
- isGroup: true,
1918
- padding: 16,
1919
- look,
1920
- position: parsedItem.note.position
1921
- };
1922
- graphItemCount++;
1923
- groupData.id = parentNodeId;
1924
- noteData.parentId = parentNodeId;
1925
- insertOrUpdateNode(nodes, groupData, classes);
1926
- insertOrUpdateNode(nodes, noteData, classes);
1927
- insertOrUpdateNode(nodes, nodeData, classes);
1928
- let from = itemId;
1929
- let to = noteData.id;
1930
- if (parsedItem.note.position === "left of") {
1931
- from = noteData.id;
1932
- to = itemId;
1933
- }
1934
- edges.push({
1935
- id: from + "-" + to,
1936
- start: from,
1937
- end: to,
1938
- arrowhead: "none",
1939
- arrowTypeEnd: "",
1940
- style: G_EDGE_STYLE,
1941
- labelStyle: "",
1942
- classes: CSS_EDGE_NOTE_EDGE,
1943
- arrowheadStyle: G_EDGE_ARROWHEADSTYLE,
1944
- labelpos: G_EDGE_LABELPOS,
1945
- labelType: G_EDGE_LABELTYPE,
1946
- thickness: G_EDGE_THICKNESS,
1947
- look
1948
- });
1949
- } else insertOrUpdateNode(nodes, nodeData, classes);
1950
- }
1951
- if (parsedItem.doc) {
1952
- log.trace("Adding nodes children ");
1953
- setupDoc(parsedItem, parsedItem.doc, diagramStates, nodes, edges, !altFlag, look, classes);
1954
- }
1955
- }, "dataFetcher");
1956
- var reset = /* @__PURE__ */ __name$1(() => {
1957
- nodeDb.clear();
1958
- graphItemCount = 0;
1959
- }, "reset");
1960
- var CONSTANTS = {
1961
- START_NODE: "[*]",
1962
- START_TYPE: "start",
1963
- END_NODE: "[*]",
1964
- END_TYPE: "end",
1965
- COLOR_KEYWORD: "color",
1966
- FILL_KEYWORD: "fill",
1967
- BG_FILL: "bgFill",
1968
- STYLECLASS_SEP: ","
1969
- };
1970
- var newClassesList = /* @__PURE__ */ __name$1(() => /* @__PURE__ */ new Map(), "newClassesList");
1971
- var newDoc = /* @__PURE__ */ __name$1(() => ({
1972
- relations: [],
1973
- states: /* @__PURE__ */ new Map(),
1974
- documents: {}
1975
- }), "newDoc");
1976
- var clone = /* @__PURE__ */ __name$1((o) => JSON.parse(JSON.stringify(o)), "clone");
1977
- var StateDB = class {
1978
- constructor(version) {
1979
- this.version = version;
1980
- this.nodes = [];
1981
- this.edges = [];
1982
- this.rootDoc = [];
1983
- this.classes = newClassesList();
1984
- this.documents = { root: newDoc() };
1985
- this.currentDocument = this.documents.root;
1986
- this.startEndCount = 0;
1987
- this.dividerCnt = 0;
1988
- this.links = /* @__PURE__ */ new Map();
1989
- this.getAccTitle = getAccTitle;
1990
- this.setAccTitle = setAccTitle;
1991
- this.getAccDescription = getAccDescription;
1992
- this.setAccDescription = setAccDescription;
1993
- this.setDiagramTitle = setDiagramTitle;
1994
- this.getDiagramTitle = getDiagramTitle;
1995
- this.clear();
1996
- this.setRootDoc = this.setRootDoc.bind(this);
1997
- this.getDividerId = this.getDividerId.bind(this);
1998
- this.setDirection = this.setDirection.bind(this);
1999
- this.trimColon = this.trimColon.bind(this);
2000
- }
2001
- static {
2002
- __name$1(this, "StateDB");
2003
- }
2004
- static {
2005
- this.relationType = {
2006
- AGGREGATION: 0,
2007
- EXTENSION: 1,
2008
- COMPOSITION: 2,
2009
- DEPENDENCY: 3
2010
- };
2011
- }
2012
- /**
2013
- * Convert all of the statements (stmts) that were parsed into states and relationships.
2014
- * This is done because a state diagram may have nested sections,
2015
- * where each section is a 'document' and has its own set of statements.
2016
- * Ex: the section within a fork has its own statements, and incoming and outgoing statements
2017
- * refer to the fork as a whole (document).
2018
- * See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
2019
- * This will push the statement into the list of statements for the current document.
2020
- */
2021
- extract(statements) {
2022
- this.clear(true);
2023
- for (const item of Array.isArray(statements) ? statements : statements.doc) switch (item.stmt) {
2024
- case STMT_STATE:
2025
- this.addState(item.id.trim(), item.type, item.doc, item.description, item.note);
2026
- break;
2027
- case STMT_RELATION:
2028
- this.addRelation(item.state1, item.state2, item.description);
2029
- break;
2030
- case STMT_CLASSDEF:
2031
- this.addStyleClass(item.id.trim(), item.classes);
2032
- break;
2033
- case STMT_STYLEDEF:
2034
- this.handleStyleDef(item);
2035
- break;
2036
- case STMT_APPLYCLASS:
2037
- this.setCssClass(item.id.trim(), item.styleClass);
2038
- break;
2039
- case "click":
2040
- this.addLink(item.id, item.url, item.tooltip);
2041
- break;
2042
- }
2043
- const diagramStates = this.getStates();
2044
- const config = getConfig2();
2045
- reset();
2046
- dataFetcher(void 0, this.getRootDocV2(), diagramStates, this.nodes, this.edges, true, config.look, this.classes);
2047
- for (const node of this.nodes) {
2048
- if (!Array.isArray(node.label)) continue;
2049
- node.description = node.label.slice(1);
2050
- if (node.isGroup && node.description.length > 0) throw new Error(`Group nodes can only have label. Remove the additional description for node [${node.id}]`);
2051
- node.label = node.label[0];
2052
- }
2053
- }
2054
- handleStyleDef(item) {
2055
- const ids = item.id.trim().split(",");
2056
- const styles = item.styleClass.split(",");
2057
- for (const id of ids) {
2058
- let state = this.getState(id);
2059
- if (!state) {
2060
- const trimmedId = id.trim();
2061
- this.addState(trimmedId);
2062
- state = this.getState(trimmedId);
2063
- }
2064
- if (state) state.styles = styles.map((s) => s.replace(/;/g, "")?.trim());
2065
- }
2066
- }
2067
- setRootDoc(o) {
2068
- log.info("Setting root doc", o);
2069
- this.rootDoc = o;
2070
- if (this.version === 1) this.extract(o);
2071
- else this.extract(this.getRootDocV2());
2072
- }
2073
- docTranslator(parent, node, first) {
2074
- if (node.stmt === STMT_RELATION) {
2075
- this.docTranslator(parent, node.state1, true);
2076
- this.docTranslator(parent, node.state2, false);
2077
- return;
2078
- }
2079
- if (node.stmt === STMT_STATE) if (node.id === CONSTANTS.START_NODE) {
2080
- node.id = parent.id + (first ? "_start" : "_end");
2081
- node.start = first;
2082
- } else node.id = node.id.trim();
2083
- if (node.stmt !== STMT_ROOT && node.stmt !== STMT_STATE || !node.doc) return;
2084
- const doc = [];
2085
- let currentDoc = [];
2086
- for (const stmt of node.doc) if (stmt.type === DIVIDER_TYPE) {
2087
- const newNode = clone(stmt);
2088
- newNode.doc = clone(currentDoc);
2089
- doc.push(newNode);
2090
- currentDoc = [];
2091
- } else currentDoc.push(stmt);
2092
- if (doc.length > 0 && currentDoc.length > 0) {
2093
- const newNode = {
2094
- stmt: STMT_STATE,
2095
- id: generateId(),
2096
- type: "divider",
2097
- doc: clone(currentDoc)
2098
- };
2099
- doc.push(clone(newNode));
2100
- node.doc = doc;
2101
- }
2102
- node.doc.forEach((docNode) => this.docTranslator(node, docNode, true));
2103
- }
2104
- getRootDocV2() {
2105
- this.docTranslator({
2106
- id: STMT_ROOT,
2107
- stmt: STMT_ROOT
2108
- }, {
2109
- id: STMT_ROOT,
2110
- stmt: STMT_ROOT,
2111
- doc: this.rootDoc
2112
- }, true);
2113
- return {
2114
- id: STMT_ROOT,
2115
- doc: this.rootDoc
2116
- };
2117
- }
2118
- /**
2119
- * Function called by parser when a node definition has been found.
2120
- *
2121
- * @param descr - description for the state. Can be a string or a list or strings
2122
- * @param classes - class styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 class, convert it to an array of that 1 class.
2123
- * @param styles - styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 style, convert it to an array of that 1 style.
2124
- * @param textStyles - text styles to apply to this state. Can be a string (1 text test) or an array of text styles. If it's just 1 text style, convert it to an array of that 1 text style.
2125
- */
2126
- addState(id, type = DEFAULT_STATE_TYPE, doc = void 0, descr = void 0, note = void 0, classes = void 0, styles = void 0, textStyles = void 0) {
2127
- const trimmedId = id?.trim();
2128
- if (!this.currentDocument.states.has(trimmedId)) {
2129
- log.info("Adding state ", trimmedId, descr);
2130
- this.currentDocument.states.set(trimmedId, {
2131
- stmt: STMT_STATE,
2132
- id: trimmedId,
2133
- descriptions: [],
2134
- type,
2135
- doc,
2136
- note,
2137
- classes: [],
2138
- styles: [],
2139
- textStyles: []
2140
- });
2141
- } else {
2142
- const state = this.currentDocument.states.get(trimmedId);
2143
- if (!state) throw new Error(`State not found: ${trimmedId}`);
2144
- if (!state.doc) state.doc = doc;
2145
- if (!state.type) state.type = type;
2146
- }
2147
- if (descr) {
2148
- log.info("Setting state description", trimmedId, descr);
2149
- (Array.isArray(descr) ? descr : [descr]).forEach((des) => this.addDescription(trimmedId, des.trim()));
2150
- }
2151
- if (note) {
2152
- const doc2 = this.currentDocument.states.get(trimmedId);
2153
- if (!doc2) throw new Error(`State not found: ${trimmedId}`);
2154
- doc2.note = note;
2155
- doc2.note.text = common_default.sanitizeText(doc2.note.text, getConfig2());
2156
- }
2157
- if (classes) {
2158
- log.info("Setting state classes", trimmedId, classes);
2159
- (Array.isArray(classes) ? classes : [classes]).forEach((cssClass) => this.setCssClass(trimmedId, cssClass.trim()));
2160
- }
2161
- if (styles) {
2162
- log.info("Setting state styles", trimmedId, styles);
2163
- (Array.isArray(styles) ? styles : [styles]).forEach((style) => this.setStyle(trimmedId, style.trim()));
2164
- }
2165
- if (textStyles) {
2166
- log.info("Setting state styles", trimmedId, styles);
2167
- (Array.isArray(textStyles) ? textStyles : [textStyles]).forEach((textStyle) => this.setTextStyle(trimmedId, textStyle.trim()));
2168
- }
2169
- }
2170
- clear(saveCommon) {
2171
- this.nodes = [];
2172
- this.edges = [];
2173
- this.documents = { root: newDoc() };
2174
- this.currentDocument = this.documents.root;
2175
- this.startEndCount = 0;
2176
- this.classes = newClassesList();
2177
- if (!saveCommon) {
2178
- this.links = /* @__PURE__ */ new Map();
2179
- clear();
2180
- }
2181
- }
2182
- getState(id) {
2183
- return this.currentDocument.states.get(id);
2184
- }
2185
- getStates() {
2186
- return this.currentDocument.states;
2187
- }
2188
- logDocuments() {
2189
- log.info("Documents = ", this.documents);
2190
- }
2191
- getRelations() {
2192
- return this.currentDocument.relations;
2193
- }
2194
- /**
2195
- * Adds a clickable link to a state.
2196
- */
2197
- addLink(stateId, url, tooltip) {
2198
- this.links.set(stateId, {
2199
- url,
2200
- tooltip
2201
- });
2202
- log.warn("Adding link", stateId, url, tooltip);
2203
- }
2204
- /**
2205
- * Get all registered links.
2206
- */
2207
- getLinks() {
2208
- return this.links;
2209
- }
2210
- /**
2211
- * If the id is a start node ( [*] ), then return a new id constructed from
2212
- * the start node name and the current start node count.
2213
- * else return the given id
2214
- */
2215
- startIdIfNeeded(id = "") {
2216
- if (id === CONSTANTS.START_NODE) {
2217
- this.startEndCount++;
2218
- return `${CONSTANTS.START_TYPE}${this.startEndCount}`;
2219
- }
2220
- return id;
2221
- }
2222
- /**
2223
- * If the id is a start node ( [*] ), then return the start type ('start')
2224
- * else return the given type
2225
- */
2226
- startTypeIfNeeded(id = "", type = DEFAULT_STATE_TYPE) {
2227
- return id === CONSTANTS.START_NODE ? CONSTANTS.START_TYPE : type;
2228
- }
2229
- /**
2230
- * If the id is an end node ( [*] ), then return a new id constructed from
2231
- * the end node name and the current start_end node count.
2232
- * else return the given id
2233
- */
2234
- endIdIfNeeded(id = "") {
2235
- if (id === CONSTANTS.END_NODE) {
2236
- this.startEndCount++;
2237
- return `${CONSTANTS.END_TYPE}${this.startEndCount}`;
2238
- }
2239
- return id;
2240
- }
2241
- /**
2242
- * If the id is an end node ( [*] ), then return the end type
2243
- * else return the given type
2244
- *
2245
- */
2246
- endTypeIfNeeded(id = "", type = DEFAULT_STATE_TYPE) {
2247
- return id === CONSTANTS.END_NODE ? CONSTANTS.END_TYPE : type;
2248
- }
2249
- addRelationObjs(item1, item2, relationTitle = "") {
2250
- const id1 = this.startIdIfNeeded(item1.id.trim());
2251
- const type1 = this.startTypeIfNeeded(item1.id.trim(), item1.type);
2252
- const id2 = this.startIdIfNeeded(item2.id.trim());
2253
- const type2 = this.startTypeIfNeeded(item2.id.trim(), item2.type);
2254
- this.addState(id1, type1, item1.doc, item1.description, item1.note, item1.classes, item1.styles, item1.textStyles);
2255
- this.addState(id2, type2, item2.doc, item2.description, item2.note, item2.classes, item2.styles, item2.textStyles);
2256
- this.currentDocument.relations.push({
2257
- id1,
2258
- id2,
2259
- relationTitle: common_default.sanitizeText(relationTitle, getConfig2())
2260
- });
2261
- }
2262
- /**
2263
- * Add a relation between two items. The items may be full objects or just the string id of a state.
2264
- */
2265
- addRelation(item1, item2, title) {
2266
- if (typeof item1 === "object" && typeof item2 === "object") this.addRelationObjs(item1, item2, title);
2267
- else if (typeof item1 === "string" && typeof item2 === "string") {
2268
- const id1 = this.startIdIfNeeded(item1.trim());
2269
- const type1 = this.startTypeIfNeeded(item1);
2270
- const id2 = this.endIdIfNeeded(item2.trim());
2271
- const type2 = this.endTypeIfNeeded(item2);
2272
- this.addState(id1, type1);
2273
- this.addState(id2, type2);
2274
- this.currentDocument.relations.push({
2275
- id1,
2276
- id2,
2277
- relationTitle: title ? common_default.sanitizeText(title, getConfig2()) : void 0
2278
- });
2279
- }
2280
- }
2281
- addDescription(id, descr) {
2282
- const theState = this.currentDocument.states.get(id);
2283
- const _descr = descr.startsWith(":") ? descr.replace(":", "").trim() : descr;
2284
- theState?.descriptions?.push(common_default.sanitizeText(_descr, getConfig2()));
2285
- }
2286
- cleanupLabel(label) {
2287
- return label.startsWith(":") ? label.slice(2).trim() : label.trim();
2288
- }
2289
- getDividerId() {
2290
- this.dividerCnt++;
2291
- return `divider-id-${this.dividerCnt}`;
2292
- }
2293
- /**
2294
- * Called when the parser comes across a (style) class definition
2295
- * @example classDef my-style fill:#f96;
2296
- *
2297
- * @param id - the id of this (style) class
2298
- * @param styleAttributes - the string with 1 or more style attributes (each separated by a comma)
2299
- */
2300
- addStyleClass(id, styleAttributes = "") {
2301
- if (!this.classes.has(id)) this.classes.set(id, {
2302
- id,
2303
- styles: [],
2304
- textStyles: []
2305
- });
2306
- const foundClass = this.classes.get(id);
2307
- if (styleAttributes && foundClass) styleAttributes.split(CONSTANTS.STYLECLASS_SEP).forEach((attrib) => {
2308
- const fixedAttrib = attrib.replace(/([^;]*);/, "$1").trim();
2309
- if (RegExp(CONSTANTS.COLOR_KEYWORD).exec(attrib)) {
2310
- const newStyle2 = fixedAttrib.replace(CONSTANTS.FILL_KEYWORD, CONSTANTS.BG_FILL).replace(CONSTANTS.COLOR_KEYWORD, CONSTANTS.FILL_KEYWORD);
2311
- foundClass.textStyles.push(newStyle2);
2312
- }
2313
- foundClass.styles.push(fixedAttrib);
2314
- });
2315
- }
2316
- getClasses() {
2317
- return this.classes;
2318
- }
2319
- /**
2320
- * Add a (style) class or css class to a state with the given id.
2321
- * If the state isn't already in the list of known states, add it.
2322
- * Might be called by parser when a style class or CSS class should be applied to a state
2323
- *
2324
- * @param itemIds - The id or a list of ids of the item(s) to apply the css class to
2325
- * @param cssClassName - CSS class name
2326
- */
2327
- setCssClass(itemIds, cssClassName) {
2328
- itemIds.split(",").forEach((id) => {
2329
- let foundState = this.getState(id);
2330
- if (!foundState) {
2331
- const trimmedId = id.trim();
2332
- this.addState(trimmedId);
2333
- foundState = this.getState(trimmedId);
2334
- }
2335
- foundState?.classes?.push(cssClassName);
2336
- });
2337
- }
2338
- /**
2339
- * Add a style to a state with the given id.
2340
- * @example style stateId fill:#f9f,stroke:#333,stroke-width:4px
2341
- * where 'style' is the keyword
2342
- * stateId is the id of a state
2343
- * the rest of the string is the styleText (all of the attributes to be applied to the state)
2344
- *
2345
- * @param itemId - The id of item to apply the style to
2346
- * @param styleText - the text of the attributes for the style
2347
- */
2348
- setStyle(itemId, styleText) {
2349
- this.getState(itemId)?.styles?.push(styleText);
2350
- }
2351
- /**
2352
- * Add a text style to a state with the given id
2353
- *
2354
- * @param itemId - The id of item to apply the css class to
2355
- * @param cssClassName - CSS class name
2356
- */
2357
- setTextStyle(itemId, cssClassName) {
2358
- this.getState(itemId)?.textStyles?.push(cssClassName);
2359
- }
2360
- /**
2361
- * Finds the direction statement in the root document.
2362
- * @returns the direction statement if present
2363
- */
2364
- getDirectionStatement() {
2365
- return this.rootDoc.find((doc) => doc.stmt === STMT_DIRECTION);
2366
- }
2367
- getDirection() {
2368
- return this.getDirectionStatement()?.value ?? DEFAULT_DIAGRAM_DIRECTION;
2369
- }
2370
- setDirection(dir) {
2371
- const doc = this.getDirectionStatement();
2372
- if (doc) doc.value = dir;
2373
- else this.rootDoc.unshift({
2374
- stmt: STMT_DIRECTION,
2375
- value: dir
2376
- });
2377
- }
2378
- trimColon(str) {
2379
- return str.startsWith(":") ? str.slice(1).trim() : str.trim();
2380
- }
2381
- getData() {
2382
- const config = getConfig2();
2383
- return {
2384
- nodes: this.nodes,
2385
- edges: this.edges,
2386
- other: {},
2387
- config,
2388
- direction: getDir(this.getRootDocV2())
2389
- };
2390
- }
2391
- getConfig() {
2392
- return getConfig2().state;
2393
- }
2394
- };
2395
- var styles_default = /* @__PURE__ */ __name$1((options) => `
2396
- defs [id$="-barbEnd"] {
2397
- fill: ${options.transitionColor};
2398
- stroke: ${options.transitionColor};
2399
- }
2400
- g.stateGroup text {
2401
- fill: ${options.nodeBorder};
2402
- stroke: none;
2403
- font-size: 10px;
2404
- }
2405
- g.stateGroup text {
2406
- fill: ${options.textColor};
2407
- stroke: none;
2408
- font-size: 10px;
2409
-
2410
- }
2411
- g.stateGroup .state-title {
2412
- font-weight: bolder;
2413
- fill: ${options.stateLabelColor};
2414
- }
2415
-
2416
- g.stateGroup rect {
2417
- fill: ${options.mainBkg};
2418
- stroke: ${options.nodeBorder};
2419
- }
2420
-
2421
- g.stateGroup line {
2422
- stroke: ${options.lineColor};
2423
- stroke-width: ${options.strokeWidth || 1};
2424
- }
2425
-
2426
- .transition {
2427
- stroke: ${options.transitionColor};
2428
- stroke-width: ${options.strokeWidth || 1};
2429
- fill: none;
2430
- }
2431
-
2432
- .stateGroup .composit {
2433
- fill: ${options.background};
2434
- border-bottom: 1px
2435
- }
2436
-
2437
- .stateGroup .alt-composit {
2438
- fill: #e0e0e0;
2439
- border-bottom: 1px
2440
- }
2441
-
2442
- .state-note {
2443
- stroke: ${options.noteBorderColor};
2444
- fill: ${options.noteBkgColor};
2445
-
2446
- text {
2447
- fill: ${options.noteTextColor};
2448
- stroke: none;
2449
- font-size: 10px;
2450
- }
2451
- }
2452
-
2453
- .stateLabel .box {
2454
- stroke: none;
2455
- stroke-width: 0;
2456
- fill: ${options.mainBkg};
2457
- opacity: 0.5;
2458
- }
2459
-
2460
- .edgeLabel .label rect {
2461
- fill: ${options.labelBackgroundColor};
2462
- opacity: 0.5;
2463
- }
2464
- .edgeLabel {
2465
- background-color: ${options.edgeLabelBackground};
2466
- p {
2467
- background-color: ${options.edgeLabelBackground};
2468
- }
2469
- rect {
2470
- opacity: 0.5;
2471
- background-color: ${options.edgeLabelBackground};
2472
- fill: ${options.edgeLabelBackground};
2473
- }
2474
- text-align: center;
2475
- }
2476
- .edgeLabel .label text {
2477
- fill: ${options.transitionLabelColor || options.tertiaryTextColor};
2478
- }
2479
- .label div .edgeLabel {
2480
- color: ${options.transitionLabelColor || options.tertiaryTextColor};
2481
- }
2482
-
2483
- .stateLabel text {
2484
- fill: ${options.stateLabelColor};
2485
- font-size: 10px;
2486
- font-weight: bold;
2487
- }
2488
-
2489
- .node circle.state-start {
2490
- fill: ${options.specialStateColor};
2491
- stroke: ${options.specialStateColor};
2492
- }
2493
-
2494
- .node .fork-join {
2495
- fill: ${options.specialStateColor};
2496
- stroke: ${options.specialStateColor};
2497
- }
2498
-
2499
- .node circle.state-end {
2500
- fill: ${options.innerEndBackground};
2501
- stroke: ${options.background};
2502
- stroke-width: 1.5
2503
- }
2504
- .end-state-inner {
2505
- fill: ${options.compositeBackground || options.background};
2506
- // stroke: ${options.background};
2507
- stroke-width: 1.5
2508
- }
2509
-
2510
- .node rect {
2511
- fill: ${options.stateBkg || options.mainBkg};
2512
- stroke: ${options.stateBorder || options.nodeBorder};
2513
- stroke-width: ${options.strokeWidth || 1}px;
2514
- }
2515
- .node polygon {
2516
- fill: ${options.mainBkg};
2517
- stroke: ${options.stateBorder || options.nodeBorder};;
2518
- stroke-width: ${options.strokeWidth || 1}px;
2519
- }
2520
- [id$="-barbEnd"] {
2521
- fill: ${options.lineColor};
2522
- }
2523
-
2524
- .statediagram-cluster rect {
2525
- fill: ${options.compositeTitleBackground};
2526
- stroke: ${options.stateBorder || options.nodeBorder};
2527
- stroke-width: ${options.strokeWidth || 1}px;
2528
- }
2529
-
2530
- .cluster-label, .nodeLabel {
2531
- color: ${options.stateLabelColor};
2532
- // line-height: 1;
2533
- }
2534
-
2535
- .statediagram-cluster rect.outer {
2536
- rx: 5px;
2537
- ry: 5px;
2538
- }
2539
- .statediagram-state .divider {
2540
- stroke: ${options.stateBorder || options.nodeBorder};
2541
- }
2542
-
2543
- .statediagram-state .title-state {
2544
- rx: 5px;
2545
- ry: 5px;
2546
- }
2547
- .statediagram-cluster.statediagram-cluster .inner {
2548
- fill: ${options.compositeBackground || options.background};
2549
- }
2550
- .statediagram-cluster.statediagram-cluster-alt .inner {
2551
- fill: ${options.altBackground ? options.altBackground : "#efefef"};
2552
- }
2553
-
2554
- .statediagram-cluster .inner {
2555
- rx:0;
2556
- ry:0;
2557
- }
2558
-
2559
- .statediagram-state rect.basic {
2560
- rx: 5px;
2561
- ry: 5px;
2562
- }
2563
- .statediagram-state rect.divider {
2564
- stroke-dasharray: 10,10;
2565
- fill: ${options.altBackground ? options.altBackground : "#efefef"};
2566
- }
2567
-
2568
- .note-edge {
2569
- stroke-dasharray: 5;
2570
- }
2571
-
2572
- .statediagram-note rect {
2573
- fill: ${options.noteBkgColor};
2574
- stroke: ${options.noteBorderColor};
2575
- stroke-width: 1px;
2576
- rx: 0;
2577
- ry: 0;
2578
- }
2579
- .statediagram-note rect {
2580
- fill: ${options.noteBkgColor};
2581
- stroke: ${options.noteBorderColor};
2582
- stroke-width: 1px;
2583
- rx: 0;
2584
- ry: 0;
2585
- }
2586
-
2587
- .statediagram-note text {
2588
- fill: ${options.noteTextColor};
2589
- }
2590
-
2591
- .statediagram-note .nodeLabel {
2592
- color: ${options.noteTextColor};
2593
- }
2594
- .statediagram .edgeLabel {
2595
- color: red; // ${options.noteTextColor};
2596
- }
2597
-
2598
- [id$="-dependencyStart"], [id$="-dependencyEnd"] {
2599
- fill: ${options.lineColor};
2600
- stroke: ${options.lineColor};
2601
- stroke-width: ${options.strokeWidth || 1};
2602
- }
2603
-
2604
- .statediagramTitleText {
2605
- text-anchor: middle;
2606
- font-size: 18px;
2607
- fill: ${options.textColor};
2608
- }
2609
-
2610
- [data-look="neo"].statediagram-cluster rect {
2611
- fill: ${options.mainBkg};
2612
- stroke: ${options.useGradient ? "url(" + options.svgId + "-gradient)" : options.stateBorder || options.nodeBorder};
2613
- stroke-width: ${options.strokeWidth ?? 1};
2614
- }
2615
- [data-look="neo"].statediagram-cluster rect.outer {
2616
- rx: ${options.radius}px;
2617
- ry: ${options.radius}px;
2618
- filter: ${options.dropShadow ? options.dropShadow.replace("url(#drop-shadow)", `url(${options.svgId}-drop-shadow)`) : "none"}
2619
- }
2620
- `, "getStyles");
2621
- //#endregion
2622
- export { styles_default as i, stateDiagram_default as n, stateRenderer_v3_unified_default as r, StateDB as t };