@chaibuilder/pages 0.16.7 → 0.16.9

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 (783) hide show
  1. package/dist/{2AITGKQY-BkyIOFBN.cjs → 2AITGKQY-BGZjtYdS.cjs} +1 -1
  2. package/dist/{2AITGKQY-BXiVm60u.js → 2AITGKQY-BmDJ4ubt.js} +2 -2
  3. package/dist/{NCMVHL6D-CnBMv9bF.cjs → NCMVHL6D-CRT9RlLF.cjs} +1 -1
  4. package/dist/{NCMVHL6D-C0JGE8Qr.js → NCMVHL6D-Dk4_u4LD.js} +2 -2
  5. package/dist/{ZDWCUMSJ-jR6OAwVS.cjs → ZDWCUMSJ-DEHPTCDq.cjs} +1 -1
  6. package/dist/{ZDWCUMSJ-Cs-CWvpw.js → ZDWCUMSJ-Ktzz_Tsg.js} +1 -1
  7. package/dist/_arrayEach-BoWUuJyH.js +44 -0
  8. package/dist/_arrayEach-CvixaZ6g.cjs +1 -0
  9. package/dist/abap-DV7Q1lGP.cjs +1 -0
  10. package/dist/abap-Y8Dl9g_6.js +6 -0
  11. package/dist/actionscript-3-DXOxkRa2.cjs +1 -0
  12. package/dist/actionscript-3-DZzbMeqX.js +6 -0
  13. package/dist/ada-D46EKCNf.cjs +1 -0
  14. package/dist/ada-vP6ak0IW.js +6 -0
  15. package/dist/{add-new-language-page-CKwMwrAg.js → add-new-language-page-BLNVUYeo.js} +2 -2
  16. package/dist/{add-new-language-page-UatKeIR2.cjs → add-new-language-page-jU1kF1AN.cjs} +1 -1
  17. package/dist/{add-new-page-BZ2av8fu.cjs → add-new-page-DKyY5ZY7.cjs} +1 -1
  18. package/dist/{add-new-page-BzBMJ3Cn.js → add-new-page-X9ytZJiO.js} +1 -1
  19. package/dist/ai-panel-content-Bi18WMi2.cjs +1 -0
  20. package/dist/ai-panel-content-ChDHNrKg.js +54 -0
  21. package/dist/ai-panel-default-lang-B6tYYmxI.cjs +3 -0
  22. package/dist/ai-panel-default-lang-CxmSDvNu.js +307 -0
  23. package/dist/ai-panel-other-lang-B0umwiEm.cjs +1 -0
  24. package/dist/ai-panel-other-lang-CicrT1I-.js +130 -0
  25. package/dist/ai-prompt-input-BOAqFpAN.js +4027 -0
  26. package/dist/ai-prompt-input-L_bHFj7w.cjs +45 -0
  27. package/dist/{ai-translation-prompt-DH7gwfqx.cjs → ai-translation-prompt-23g3VfWP.cjs} +1 -1
  28. package/dist/{ai-translation-prompt-B8VdHfLY.js → ai-translation-prompt-DoeWqKDZ.js} +1 -1
  29. package/dist/andromeeda-BIpZ7gaU.js +4 -0
  30. package/dist/andromeeda-DVDxRwp5.cjs +1 -0
  31. package/dist/angular-html-DPB4Rf0C.js +32 -0
  32. package/dist/angular-html-KMf2QdtP.cjs +1 -0
  33. package/dist/angular-ts-BxIbo3R1.cjs +1 -0
  34. package/dist/angular-ts-CTOR2ofC.js +21 -0
  35. package/dist/apache-BUjz-sD2.js +6 -0
  36. package/dist/apache-DL1xuH1f.cjs +1 -0
  37. package/dist/apex-CtcXmQ6V.js +6 -0
  38. package/dist/apex-UUd3Occv.cjs +1 -0
  39. package/dist/apl-CjNiDgad.js +16 -0
  40. package/dist/apl-Dj2G2M9w.cjs +1 -0
  41. package/dist/applescript-BPx7YFFu.js +6 -0
  42. package/dist/applescript-COilsSrZ.cjs +1 -0
  43. package/dist/ara-B6Lpq1YJ.cjs +1 -0
  44. package/dist/ara-Z2fSOxSw.js +6 -0
  45. package/dist/arc-CEYgkAY6.js +83 -0
  46. package/dist/arc-DQcgp6fe.cjs +1 -0
  47. package/dist/architecture-U656AL7Q-D9ThnYW7.js +5 -0
  48. package/dist/architecture-U656AL7Q-DXHyXosc.cjs +1 -0
  49. package/dist/architectureDiagram-VXUJARFQ-DJkKSCT6.cjs +36 -0
  50. package/dist/architectureDiagram-VXUJARFQ-xhCIZb18.js +4669 -0
  51. package/dist/asciidoc-B-pCoB3G.js +6 -0
  52. package/dist/asciidoc-DcKqW72n.cjs +1 -0
  53. package/dist/asm-BTWLY5ym.js +6 -0
  54. package/dist/asm-DYMFy-sD.cjs +1 -0
  55. package/dist/astro-CFFExE8Q.js +18 -0
  56. package/dist/astro-DAOP_Xq6.cjs +1 -0
  57. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  58. package/dist/aurora-x-C5IpmIOG.cjs +1 -0
  59. package/dist/awk-Fb0P9dkn.js +6 -0
  60. package/dist/awk-IEszImW6.cjs +1 -0
  61. package/dist/ayu-dark-Cv7nTiif.cjs +1 -0
  62. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  63. package/dist/ballerina-Dr6dU4hP.cjs +1 -0
  64. package/dist/ballerina-oZK-YekG.js +6 -0
  65. package/dist/bat-0FvbqU9S.js +6 -0
  66. package/dist/bat-DGkUhhn2.cjs +1 -0
  67. package/dist/beancount-Bv1Sweoy.cjs +1 -0
  68. package/dist/beancount-DqJEb89h.js +6 -0
  69. package/dist/berry-DZkhZ7K3.cjs +1 -0
  70. package/dist/berry-PwsHPR_K.js +6 -0
  71. package/dist/bibtex-BgA36Z3k.cjs +1 -0
  72. package/dist/bibtex-EULQRLY5.js +6 -0
  73. package/dist/bicep-BorU73w0.js +6 -0
  74. package/dist/bicep-DL0zb-7W.cjs +1 -0
  75. package/dist/blade-BYkiyM-T.cjs +1 -0
  76. package/dist/blade-CRa6j5zS.js +20 -0
  77. package/dist/blockDiagram-VD42YOAC-DqXdnG8y.cjs +122 -0
  78. package/dist/blockDiagram-VD42YOAC-zvZU2M01.js +2368 -0
  79. package/dist/blocks.d.ts +12 -0
  80. package/dist/bsl-9bVgFeM9.cjs +1 -0
  81. package/dist/bsl-NkNNwerW.js +8 -0
  82. package/dist/builder.d.ts +12 -0
  83. package/dist/c-CtlmKnPF.cjs +1 -0
  84. package/dist/c-eeMepfLm.js +6 -0
  85. package/dist/c4Diagram-YG6GDRKO-BpDWqFJi.js +1581 -0
  86. package/dist/c4Diagram-YG6GDRKO-COF9vwh9.cjs +10 -0
  87. package/dist/cadence-02UX7mW8.js +6 -0
  88. package/dist/cadence-DcbmM5v3.cjs +1 -0
  89. package/dist/cairo-DM6WF2e3.js +8 -0
  90. package/dist/cairo-li7sQsxU.cjs +1 -0
  91. package/dist/catppuccin-frappe-Bn4lgmUk.cjs +1 -0
  92. package/dist/catppuccin-frappe-D3cH2rXe.js +4 -0
  93. package/dist/catppuccin-latte-BPtsb8jD.cjs +1 -0
  94. package/dist/catppuccin-latte-C0LRGUW4.js +4 -0
  95. package/dist/catppuccin-macchiato-BLfpQWhT.cjs +1 -0
  96. package/dist/catppuccin-macchiato-c5wQ11TT.js +4 -0
  97. package/dist/catppuccin-mocha-COMta283.cjs +1 -0
  98. package/dist/catppuccin-mocha-WMD6Qvya.js +4 -0
  99. package/dist/channel-DMpDH8Tt.js +5 -0
  100. package/dist/channel-DshxF_w-.cjs +1 -0
  101. package/dist/chunk-4BX2VUAB-DOrHz66s.cjs +1 -0
  102. package/dist/chunk-4BX2VUAB-DcXzX0k2.js +9 -0
  103. package/dist/chunk-55IACEB6-MgFQOjd_.cjs +1 -0
  104. package/dist/chunk-55IACEB6-yEIZuruo.js +8 -0
  105. package/dist/chunk-B4BG7PRW-Bm0X0FwP.js +1376 -0
  106. package/dist/chunk-B4BG7PRW-Dw8okTHN.cjs +165 -0
  107. package/dist/chunk-DI55MBZ5-CY8rQYfB.cjs +220 -0
  108. package/dist/chunk-DI55MBZ5-Dzl4K5YZ.js +1382 -0
  109. package/dist/chunk-FMBD7UC4-DeDzgDPq.cjs +15 -0
  110. package/dist/chunk-FMBD7UC4-DsnO3YB7.js +19 -0
  111. package/dist/chunk-QN33PNHL-D0hZD6ce.cjs +1 -0
  112. package/dist/chunk-QN33PNHL-eCpJSQLd.js +20 -0
  113. package/dist/chunk-QZHKN3VN-0xh2Brzo.js +15 -0
  114. package/dist/chunk-QZHKN3VN-DPT45Qxb.cjs +1 -0
  115. package/dist/chunk-TZMSLE5B-B0DNnH2K.cjs +1 -0
  116. package/dist/chunk-TZMSLE5B-v44khzET.js +64 -0
  117. package/dist/clarity-PKm5CwqM.js +6 -0
  118. package/dist/clarity-gPuvqtpF.cjs +1 -0
  119. package/dist/classDiagram-2ON5EDUG-CatlwrWr.js +16 -0
  120. package/dist/classDiagram-2ON5EDUG-DZwYP3Mp.cjs +1 -0
  121. package/dist/classDiagram-v2-WZHVMYZB-CatlwrWr.js +16 -0
  122. package/dist/classDiagram-v2-WZHVMYZB-DZwYP3Mp.cjs +1 -0
  123. package/dist/clojure-CXJfHrL3.js +6 -0
  124. package/dist/clojure-OUsr1SUl.cjs +1 -0
  125. package/dist/cmake-BJz8BOTU.js +6 -0
  126. package/dist/cmake-jM6P58qY.cjs +1 -0
  127. package/dist/cobol-CcrsCSUZ.cjs +1 -0
  128. package/dist/cobol-HihOMwht.js +10 -0
  129. package/dist/codeowners-Bt9yU6NX.js +6 -0
  130. package/dist/codeowners-QhPK6lIJ.cjs +1 -0
  131. package/dist/codeql-D9-TdUN8.cjs +1 -0
  132. package/dist/codeql-DHkodjjI.js +6 -0
  133. package/dist/coffee-DGBR_nr_.js +8 -0
  134. package/dist/coffee-DycxIFwY.cjs +1 -0
  135. package/dist/common-lisp-C77gR-8i.cjs +1 -0
  136. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  137. package/dist/coq-B0L9upzn.js +6 -0
  138. package/dist/coq-vlPdR5hP.cjs +1 -0
  139. package/dist/cose-bilkent-S5V4N54A-CdqaV_In.js +2609 -0
  140. package/dist/cose-bilkent-S5V4N54A-oJ7CCCne.cjs +1 -0
  141. package/dist/cpp-Cj177cuW.js +18 -0
  142. package/dist/cpp-DvI2Eoso.cjs +1 -0
  143. package/dist/crystal-B_WXhL2O.cjs +1 -0
  144. package/dist/crystal-CRJyc4G-.js +18 -0
  145. package/dist/csharp-C902_8Dy.cjs +1 -0
  146. package/dist/csharp-COJ2mCKr.js +6 -0
  147. package/dist/css-CECN5uSL.js +6 -0
  148. package/dist/css-Do0mp2lm.cjs +1 -0
  149. package/dist/csv-CmYOceLb.js +6 -0
  150. package/dist/csv-DiEdJzSJ.cjs +1 -0
  151. package/dist/cue-D1vJRJEx.cjs +1 -0
  152. package/dist/cue-ZzumE7IT.js +6 -0
  153. package/dist/cypher-atSM3NsM.cjs +1 -0
  154. package/dist/cypher-jpdmjtA6.js +6 -0
  155. package/dist/cytoscape.esm-DdQZKk9f.js +18735 -0
  156. package/dist/cytoscape.esm-DkGgpG6d.cjs +331 -0
  157. package/dist/d-2qe3NhmZ.cjs +1 -0
  158. package/dist/d-CBagWSwH.js +6 -0
  159. package/dist/dagre-6UL2VRFP-DwJsczXN.cjs +4 -0
  160. package/dist/dagre-6UL2VRFP-ylnuUwh7.js +445 -0
  161. package/dist/dark-plus-CRFsux2L.js +4 -0
  162. package/dist/dark-plus-DwC1RSst.cjs +1 -0
  163. package/dist/dart-6ObCrKr9.js +6 -0
  164. package/dist/dart-Ds0_0fwe.cjs +1 -0
  165. package/dist/dax-CcDT-8dH.js +6 -0
  166. package/dist/dax-DbkQa40E.cjs +1 -0
  167. package/dist/defaultLocale-D7EN2tov.js +171 -0
  168. package/dist/defaultLocale-DIVzfLaQ.cjs +1 -0
  169. package/dist/{delete-page-Crpwn0Wk.cjs → delete-page-CSuwBSa6.cjs} +1 -1
  170. package/dist/{delete-page-Ck7tD4Hf.js → delete-page-D8gUlElz.js} +1 -1
  171. package/dist/desktop-B93p9R9O.js +6 -0
  172. package/dist/desktop-tn3MFXCZ.cjs +1 -0
  173. package/dist/diagram-PSM6KHXK-DPPOo04u.cjs +24 -0
  174. package/dist/diagram-PSM6KHXK-me6JcFi2.js +534 -0
  175. package/dist/diagram-QEK2KX5R-CfDWc-r0.js +221 -0
  176. package/dist/diagram-QEK2KX5R-atRnaXRv.cjs +43 -0
  177. package/dist/diagram-S2PKOQOG-BzM_Yydz.cjs +24 -0
  178. package/dist/diagram-S2PKOQOG-DvQBNtA7.js +143 -0
  179. package/dist/diff-BxzP2J8R.js +6 -0
  180. package/dist/diff-CA31fCOg.cjs +1 -0
  181. package/dist/{digital-asset-manager-BVrv1-r1.cjs → digital-asset-manager-B1NMros3.cjs} +1 -1
  182. package/dist/{digital-asset-manager-DgLKRrYj.js → digital-asset-manager-C-tiZy6C.js} +1 -1
  183. package/dist/docker-CsHqm9tx.js +6 -0
  184. package/dist/docker-zJpMwmYa.cjs +1 -0
  185. package/dist/dotenv-BMjVjUL1.js +6 -0
  186. package/dist/dotenv-DpcNCNek.cjs +1 -0
  187. package/dist/dracula-BNgwAJ-d.cjs +1 -0
  188. package/dist/dracula-BtZx2Kac.js +4 -0
  189. package/dist/dracula-soft-BHZ7sHFu.cjs +1 -0
  190. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  191. package/dist/dream-maker-BkijXDkm.cjs +1 -0
  192. package/dist/dream-maker-PAx17jaB.js +6 -0
  193. package/dist/{duplicate-page-C7d1f7Ii.js → duplicate-page-BgR_Z5mB.js} +2 -2
  194. package/dist/{duplicate-page-CXUueWfr.cjs → duplicate-page-DfsShaR3.cjs} +1 -1
  195. package/dist/{dynamic-page-selector-DcWDnam4.cjs → dynamic-page-selector-B9LvdmAM.cjs} +1 -1
  196. package/dist/{dynamic-page-selector-D544FjmW.js → dynamic-page-selector-B_Il05Tb.js} +1 -1
  197. package/dist/edge-BYQkOzbF.js +12 -0
  198. package/dist/edge-DaIYN5Mx.cjs +1 -0
  199. package/dist/elixir-BH_wmMK4.cjs +1 -0
  200. package/dist/elixir-Dh036GMp.js +8 -0
  201. package/dist/elm-BtNbw_Cd.js +8 -0
  202. package/dist/elm-Dc4sEBjc.cjs +1 -0
  203. package/dist/emacs-lisp-C1UCIjUO.cjs +1 -0
  204. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  205. package/dist/erDiagram-Q2GNP2WA-BvcqZzam.js +842 -0
  206. package/dist/erDiagram-Q2GNP2WA-CIz-zXL5.cjs +60 -0
  207. package/dist/erb-BqFQADjR.cjs +1 -0
  208. package/dist/erb-CS4zioBv.js +10 -0
  209. package/dist/erlang-CB2cfp6Z.cjs +1 -0
  210. package/dist/erlang-DNcDT8Hi.js +8 -0
  211. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  212. package/dist/everforest-dark-_sBMomR1.cjs +1 -0
  213. package/dist/everforest-light-BbXl82Em.js +4 -0
  214. package/dist/everforest-light-H0xoYxl0.cjs +1 -0
  215. package/dist/fennel-Bz9-EMMc.cjs +1 -0
  216. package/dist/fennel-N4WcXuKx.js +6 -0
  217. package/dist/fish-BTDEUgqH.js +6 -0
  218. package/dist/fish-DwmQKRZi.cjs +1 -0
  219. package/dist/flowDiagram-NV44I4VS-DNDFiS4P.js +1627 -0
  220. package/dist/flowDiagram-NV44I4VS-H3UO6GU6.cjs +162 -0
  221. package/dist/fluent-BMXUxfv1.js +6 -0
  222. package/dist/fluent-CJtpNuaO.cjs +1 -0
  223. package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
  224. package/dist/fortran-fixed-form-rAbNFykM.cjs +1 -0
  225. package/dist/fortran-free-form-DPIT_jbP.js +6 -0
  226. package/dist/fortran-free-form-DRAcQkel.cjs +1 -0
  227. package/dist/fsharp-CYOiIVNx.js +8 -0
  228. package/dist/fsharp-DVcRF7k-.cjs +1 -0
  229. package/dist/ganttDiagram-LVOFAZNH-3uLir5Ok.cjs +267 -0
  230. package/dist/ganttDiagram-LVOFAZNH-CuEk_EPv.js +2506 -0
  231. package/dist/gdresource-BwtMIoBm.js +10 -0
  232. package/dist/gdresource-CcLusmd_.cjs +1 -0
  233. package/dist/gdscript-BifyeYhI.js +6 -0
  234. package/dist/gdscript-DSegQKMB.cjs +1 -0
  235. package/dist/gdshader-Bk8fF6yr.js +6 -0
  236. package/dist/gdshader-DsmqQl4t.cjs +1 -0
  237. package/dist/genie-Dy2rU8CF.cjs +1 -0
  238. package/dist/genie-DzUvd7U9.js +6 -0
  239. package/dist/gherkin-BmiEVBJ1.cjs +1 -0
  240. package/dist/gherkin-DHRaV0YP.js +6 -0
  241. package/dist/git-commit-Bd32YZ0K.js +8 -0
  242. package/dist/git-commit-DlVDzq9L.cjs +1 -0
  243. package/dist/git-rebase-Bn4RLd7u.cjs +1 -0
  244. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  245. package/dist/gitGraph-F6HP7TQM-BNgutOCt.js +5 -0
  246. package/dist/gitGraph-F6HP7TQM-DnzvXoTf.cjs +1 -0
  247. package/dist/gitGraphDiagram-NY62KEGX-CpjW-tAs.cjs +65 -0
  248. package/dist/gitGraphDiagram-NY62KEGX-DJ--wipu.js +712 -0
  249. package/dist/github-dark-BKL9xNgN.cjs +1 -0
  250. package/dist/github-dark-DenFmJkN.js +4 -0
  251. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  252. package/dist/github-dark-default-Dsv5MuSi.cjs +1 -0
  253. package/dist/github-dark-dimmed-CtB9hz8U.cjs +1 -0
  254. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  255. package/dist/github-dark-high-contrast-BqZVM-jF.cjs +1 -0
  256. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  257. package/dist/github-light-BFTOhCbz.cjs +1 -0
  258. package/dist/github-light-JYsPkUQd.js +4 -0
  259. package/dist/github-light-default-BZoWH9dH.cjs +1 -0
  260. package/dist/github-light-default-D99KPAby.js +4 -0
  261. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  262. package/dist/github-light-high-contrast-Ks3kPGJU.cjs +1 -0
  263. package/dist/gleam-Bv284lvN.js +6 -0
  264. package/dist/gleam-DHVuTCr7.cjs +1 -0
  265. package/dist/glimmer-js-CzmC7OX8.cjs +1 -0
  266. package/dist/glimmer-js-DkxNrfPT.js +14 -0
  267. package/dist/glimmer-ts-D6YZEmK_.js +14 -0
  268. package/dist/glimmer-ts-DLN2_wRt.cjs +1 -0
  269. package/dist/glsl-CQekZ3Zq.cjs +1 -0
  270. package/dist/glsl-CkUcVZNK.js +8 -0
  271. package/dist/gnuplot-CDPKvI9X.cjs +1 -0
  272. package/dist/gnuplot-yPG9-sE_.js +6 -0
  273. package/dist/go-ChxJuLYK.js +6 -0
  274. package/dist/go-epHseFUa.cjs +1 -0
  275. package/dist/graph-BJDrjORS.js +244 -0
  276. package/dist/graph-BLd2spTm.cjs +1 -0
  277. package/dist/graphql-BnP1YhXQ.cjs +1 -0
  278. package/dist/graphql-CBu2ehBn.js +14 -0
  279. package/dist/groovy-CJQTphOW.js +6 -0
  280. package/dist/groovy-D7VuDBXz.cjs +1 -0
  281. package/dist/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  282. package/dist/gruvbox-dark-hard-CUGefKS6.cjs +1 -0
  283. package/dist/gruvbox-dark-medium-BoKPlKfz.cjs +1 -0
  284. package/dist/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  285. package/dist/gruvbox-dark-soft-B46F314v.js +4 -0
  286. package/dist/gruvbox-dark-soft-DSrhOWeL.cjs +1 -0
  287. package/dist/gruvbox-light-hard-CJD38wDZ.js +4 -0
  288. package/dist/gruvbox-light-hard-De4IuseP.cjs +1 -0
  289. package/dist/gruvbox-light-medium-BlIhMYTA.js +4 -0
  290. package/dist/gruvbox-light-medium-CzMY3IEJ.cjs +1 -0
  291. package/dist/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  292. package/dist/gruvbox-light-soft-U4iAIpWZ.cjs +1 -0
  293. package/dist/hack-BaDv2o40.cjs +1 -0
  294. package/dist/hack-ItRNKiEb.js +10 -0
  295. package/dist/haml-Bk21rGjP.cjs +1 -0
  296. package/dist/haml-NZLVzu_R.js +10 -0
  297. package/dist/handlebars-CJJi3lrU.cjs +1 -0
  298. package/dist/handlebars-mxStpSE7.js +14 -0
  299. package/dist/haskell-BShesV2P.cjs +1 -0
  300. package/dist/haskell-WeIwNIP6.js +6 -0
  301. package/dist/haxe-Bo5XuRS0.cjs +1 -0
  302. package/dist/haxe-TztHsm5T.js +6 -0
  303. package/dist/hcl-CrZnvm-1.cjs +1 -0
  304. package/dist/hcl-D438OF-I.js +6 -0
  305. package/dist/hjson-CEESwTUP.cjs +1 -0
  306. package/dist/hjson-DYBUbqOl.js +6 -0
  307. package/dist/hlsl-Bk8TCZNL.js +6 -0
  308. package/dist/hlsl-CyvYRIb9.cjs +1 -0
  309. package/dist/houston-BDYrDoDW.js +4 -0
  310. package/dist/houston-T57H3gQZ.cjs +1 -0
  311. package/dist/html-B50bmoVb.js +10 -0
  312. package/dist/html-C62Zf2h4.cjs +1 -0
  313. package/dist/html-derivative-C6bxFbFW.js +8 -0
  314. package/dist/html-derivative-NDb86jON.cjs +1 -0
  315. package/dist/http-BPlLI56k.cjs +1 -0
  316. package/dist/http-DLvAkeD-.js +14 -0
  317. package/dist/hurl-BQGBr8gH.cjs +1 -0
  318. package/dist/hurl-CgkFN90t.js +12 -0
  319. package/dist/hxml-GbqSQCLa.js +8 -0
  320. package/dist/hxml-vnw7fzrV.cjs +1 -0
  321. package/dist/hy-Brt5EZ7-.js +6 -0
  322. package/dist/hy-a1E2Ed6P.cjs +1 -0
  323. package/dist/{image-editor-CnDnY97s.cjs → image-editor-EmBN_Nn_.cjs} +1 -1
  324. package/dist/imba-CR1Q6r17.cjs +1 -0
  325. package/dist/imba-CimUv-Uh.js +6 -0
  326. package/dist/{index-DdQbaicX.js → index-CSOKPmkj.js} +120 -113
  327. package/dist/index-D_4YaLhN.cjs +5 -0
  328. package/dist/index.cjs +1 -1
  329. package/dist/index.d.ts +12 -0
  330. package/dist/index.js +6 -6
  331. package/dist/info-NVLQJR56-cQ8VboSE.js +5 -0
  332. package/dist/info-NVLQJR56-nlYJye66.cjs +1 -0
  333. package/dist/infoDiagram-ER5ION4S-BYBSnMk9.cjs +2 -0
  334. package/dist/infoDiagram-ER5ION4S-D1ovR6Sb.js +24 -0
  335. package/dist/ini-BZIuRIvJ.js +6 -0
  336. package/dist/ini-Dpu3Xy2p.cjs +1 -0
  337. package/dist/init-CHZsXQcr.cjs +1 -0
  338. package/dist/init-DjUOC4st.js +16 -0
  339. package/dist/java--6gf61wy.cjs +1 -0
  340. package/dist/java-DY6VlHhP.js +6 -0
  341. package/dist/javascript-C25yR2R2.js +6 -0
  342. package/dist/javascript-DgmXW4Ha.cjs +1 -0
  343. package/dist/jinja-6NmewwV8.cjs +1 -0
  344. package/dist/jinja-CFW5uAwY.js +11 -0
  345. package/dist/jison-CD9Qsaj0.cjs +1 -0
  346. package/dist/jison-DdreslRX.js +8 -0
  347. package/dist/journeyDiagram-XKPGCS4Q-D-YRkdmZ.cjs +139 -0
  348. package/dist/journeyDiagram-XKPGCS4Q-aab6wkCY.js +836 -0
  349. package/dist/json-DxJze_jm.js +6 -0
  350. package/dist/json-YkPizm35.cjs +1 -0
  351. package/dist/{json-diff-viewer-KCkYwJMA.cjs → json-diff-viewer-BafhQd3C.cjs} +2 -2
  352. package/dist/{json-diff-viewer-BhWTP1YY.js → json-diff-viewer-eh2Twply.js} +1 -1
  353. package/dist/json5-BT4Fjg39.js +6 -0
  354. package/dist/json5-CCgFZiQn.cjs +1 -0
  355. package/dist/jsonc-CHjZD8gR.js +6 -0
  356. package/dist/jsonc-CKPHIcXW.cjs +1 -0
  357. package/dist/jsonl-BGuvDmy9.js +6 -0
  358. package/dist/jsonl-Dq56Hab-.cjs +1 -0
  359. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  360. package/dist/jsonnet-Csh7E68F.cjs +1 -0
  361. package/dist/jssm-BcADi6EI.js +6 -0
  362. package/dist/jssm-D0M9iZPY.cjs +1 -0
  363. package/dist/jsx-BtKADgXT.js +6 -0
  364. package/dist/jsx-DLX6UGgg.cjs +1 -0
  365. package/dist/julia--2-efCjg.js +16 -0
  366. package/dist/julia-DimQn8rn.cjs +1 -0
  367. package/dist/kanagawa-dragon-BJZF7xDr.cjs +1 -0
  368. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  369. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  370. package/dist/kanagawa-lotus-BhgzmRV4.cjs +1 -0
  371. package/dist/kanagawa-wave-BgJip59C.cjs +1 -0
  372. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  373. package/dist/kanban-definition-3W4ZIXB7-BDK6FtYy.js +721 -0
  374. package/dist/kanban-definition-3W4ZIXB7-D_bnY8Es.cjs +89 -0
  375. package/dist/kdl-BNOv9TC3.js +6 -0
  376. package/dist/kdl-CDG1p2Qi.cjs +1 -0
  377. package/dist/kotlin-BHZjvNqT.cjs +1 -0
  378. package/dist/kotlin-ByBMgTeR.js +6 -0
  379. package/dist/kusto-BgZ0fOqg.cjs +1 -0
  380. package/dist/kusto-VWFLl2T0.js +6 -0
  381. package/dist/{lang-panel-by1VOWvc.js → lang-panel-Dha1mI9s.js} +33 -33
  382. package/dist/{lang-panel-tOddhH70.cjs → lang-panel-koRXBdpN.cjs} +1 -1
  383. package/dist/laserwave--izBLY1I.cjs +1 -0
  384. package/dist/laserwave-6a00oqik.js +4 -0
  385. package/dist/latex-CO8r39zT.js +8 -0
  386. package/dist/latex-Xma1qZep.cjs +1 -0
  387. package/dist/layout-AXx0t5i6.cjs +1 -0
  388. package/dist/layout-B6VyrpKo.js +1223 -0
  389. package/dist/lean-BCqiTZhG.cjs +1 -0
  390. package/dist/lean-k2QBx9cb.js +6 -0
  391. package/dist/less-B1GLI2Di.js +6 -0
  392. package/dist/less-Dtg8mm6P.cjs +1 -0
  393. package/dist/light-plus-B5D0le0o.cjs +1 -0
  394. package/dist/light-plus-CZuVqSLX.js +4 -0
  395. package/dist/linear-CBvDLesx.cjs +1 -0
  396. package/dist/linear-DmFX6iHR.js +259 -0
  397. package/dist/liquid-CHzkx3jT.js +14 -0
  398. package/dist/liquid-DjlCV7Vm.cjs +1 -0
  399. package/dist/llvm-DcRvQ_r8.cjs +1 -0
  400. package/dist/llvm-co1rIKs3.js +6 -0
  401. package/dist/log-Al8wyEFV.js +6 -0
  402. package/dist/log-CjTZ0gSB.cjs +1 -0
  403. package/dist/logo-BAktp_5i.cjs +1 -0
  404. package/dist/logo-DBa4JDzV.js +6 -0
  405. package/dist/lua-BfOnSJPp.cjs +1 -0
  406. package/dist/lua-kX5WP_P5.js +8 -0
  407. package/dist/luau-DTep-u3e.cjs +1 -0
  408. package/dist/luau-DtBSxLyz.js +6 -0
  409. package/dist/make-CsMclxtr.js +6 -0
  410. package/dist/make-NcdIe21U.cjs +1 -0
  411. package/dist/{mark-as-template-BUCysjr2.cjs → mark-as-template-BHkftF1C.cjs} +1 -1
  412. package/dist/{mark-as-template-ngqCvlhA.js → mark-as-template-DojgcJFD.js} +1 -1
  413. package/dist/markdown-Byu9Sdmq.cjs +1 -0
  414. package/dist/markdown-CrScaQ96.js +6 -0
  415. package/dist/marko-Cvx4TamJ.cjs +1 -0
  416. package/dist/marko-ls0Jg2j8.js +14 -0
  417. package/dist/material-theme-D6KBX41T.js +4 -0
  418. package/dist/material-theme-Dj0-OyRN.cjs +1 -0
  419. package/dist/material-theme-darker-CkRroheE.js +4 -0
  420. package/dist/material-theme-darker-Dvfs29ir.cjs +1 -0
  421. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  422. package/dist/material-theme-lighter-EU3ZGl_r.cjs +1 -0
  423. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  424. package/dist/material-theme-ocean-px_3Pwqa.cjs +1 -0
  425. package/dist/material-theme-palenight-38jxvsGX.cjs +1 -0
  426. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  427. package/dist/matlab-BOAaUVP0.js +6 -0
  428. package/dist/matlab-CHTOL9Kx.cjs +1 -0
  429. package/dist/mdc-DEPKJPdx.cjs +1 -0
  430. package/dist/mdc-uaivvctV.js +12 -0
  431. package/dist/mdx-BOhZZUJ8.js +6 -0
  432. package/dist/mdx-CjwI68TB.cjs +1 -0
  433. package/dist/mermaid-B0ixDHKN.js +6 -0
  434. package/dist/mermaid-XEfjk_VN.cjs +1 -0
  435. package/dist/mermaid-parser.core-Crve7Cv1.js +13256 -0
  436. package/dist/mermaid-parser.core-Df9eyFSv.cjs +128 -0
  437. package/dist/mermaid.core-DY8gIrXk.cjs +196 -0
  438. package/dist/mermaid.core-e6RNUZK7.js +14260 -0
  439. package/dist/min-dark-C7ak0t6c.js +4 -0
  440. package/dist/min-dark-tt5o_I5e.cjs +1 -0
  441. package/dist/min-light-CKFxVcPp.js +4 -0
  442. package/dist/min-light-tmTHl_CQ.cjs +1 -0
  443. package/dist/mindmap-definition-VGOIOE7T-BqZKJ_7z.js +787 -0
  444. package/dist/mindmap-definition-VGOIOE7T-CFYCEGsR.cjs +68 -0
  445. package/dist/mipsasm-BSlRcFIy.cjs +1 -0
  446. package/dist/mipsasm-CTx18fBl.js +6 -0
  447. package/dist/mojo-BD611d7o.js +6 -0
  448. package/dist/mojo-BQ8pQfYA.cjs +1 -0
  449. package/dist/monokai-C1KBYcO0.js +4 -0
  450. package/dist/monokai-DMIxv6MM.cjs +1 -0
  451. package/dist/move-Bm1vlCWg.cjs +1 -0
  452. package/dist/move-F-dICmj2.js +6 -0
  453. package/dist/narrat-CBeKHgTl.cjs +1 -0
  454. package/dist/narrat-DmhDCBs-.js +6 -0
  455. package/dist/nextflow-0_vzQJwQ.cjs +1 -0
  456. package/dist/nextflow-BAAEJxI_.js +6 -0
  457. package/dist/nginx-5vhPAEw3.js +8 -0
  458. package/dist/nginx-ByVOUyIE.cjs +1 -0
  459. package/dist/night-owl-BN78kThQ.cjs +1 -0
  460. package/dist/night-owl-Bm2rzalh.js +4 -0
  461. package/dist/nim-Bqmp5Of3.cjs +1 -0
  462. package/dist/nim-QAjRdh9w.js +20 -0
  463. package/dist/nix-B_7Vy2bT.js +6 -0
  464. package/dist/nix-BoOZl1xr.cjs +1 -0
  465. package/dist/{no-language-page-content-CzTbZ07M.cjs → no-language-page-content-BjlCydsa.cjs} +1 -1
  466. package/dist/{no-language-page-content-Dz3GSvnO.js → no-language-page-content-ZlibO6-a.js} +1 -1
  467. package/dist/nord-CC5OiUXg.js +4 -0
  468. package/dist/nord-Ca5AGUWc.cjs +1 -0
  469. package/dist/nushell-D8j3dhT-.js +6 -0
  470. package/dist/nushell-nGrB_wpI.cjs +1 -0
  471. package/dist/objective-c-Itk8tzmv.js +6 -0
  472. package/dist/objective-c-RjkWwFge.cjs +1 -0
  473. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  474. package/dist/objective-cpp-HnfhWwRe.cjs +1 -0
  475. package/dist/ocaml-Cx8ewW_A.cjs +1 -0
  476. package/dist/ocaml-eSVK32Eg.js +6 -0
  477. package/dist/one-dark-pro-C09VQHwB.cjs +1 -0
  478. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  479. package/dist/one-light-020-h_lv.cjs +1 -0
  480. package/dist/one-light-D9sNaUtq.js +4 -0
  481. package/dist/ordinal-CagbB1m8.cjs +1 -0
  482. package/dist/ordinal-DfAQgscy.js +61 -0
  483. package/dist/packet-BFZMPI3H-BNOgRfy4.js +5 -0
  484. package/dist/packet-BFZMPI3H-CmnL1d8H.cjs +1 -0
  485. package/dist/{page-creator-D2iEu92e.js → page-creator-CYxW-uMk.js} +2 -2
  486. package/dist/{page-creator-BICVMC59.cjs → page-creator-D-HTXuwL.cjs} +1 -1
  487. package/dist/{page-lock-request-DjfV2kmK.js → page-lock-request-DIqND4Zp.js} +5 -5
  488. package/dist/{page-lock-request-hlvjC2uX.cjs → page-lock-request-ggTN32LL.cjs} +1 -1
  489. package/dist/{page-locked-by-dialog-NpUOJvWZ.cjs → page-locked-by-dialog-DF_r3NKB.cjs} +1 -1
  490. package/dist/{page-locked-by-dialog-m6K_uaE8.js → page-locked-by-dialog-Dv1QMUs2.js} +1 -1
  491. package/dist/{page-manager-new-C2jmBaFF.cjs → page-manager-new-B7nEY5DJ.cjs} +1 -1
  492. package/dist/{page-manager-new-DshyH-mV.js → page-manager-new-iuNdn54Y.js} +56 -56
  493. package/dist/{page-manager-search-and-filter-D_g51CM8.cjs → page-manager-search-and-filter-BuQLf3EG.cjs} +1 -1
  494. package/dist/{page-manager-search-and-filter-DCg7Fqi_.js → page-manager-search-and-filter-Dvt-nBOL.js} +1 -1
  495. package/dist/{page-revisions-content-N_qdjfDX.cjs → page-revisions-content-CR_65Pri.cjs} +1 -1
  496. package/dist/{page-revisions-content-DZzxttKH.js → page-revisions-content-DH30uwKy.js} +18 -18
  497. package/dist/pages.css +1 -1
  498. package/dist/pascal-DBu9vQ2o.cjs +1 -0
  499. package/dist/pascal-xy8pJNns.js +6 -0
  500. package/dist/perl-CxWZPeDZ.cjs +1 -0
  501. package/dist/perl-DkVrgJBg.js +16 -0
  502. package/dist/php-BLXVJphD.cjs +1 -0
  503. package/dist/php-j2zCzTEz.js +18 -0
  504. package/dist/pie-7BOR55EZ-B4yrare5.js +5 -0
  505. package/dist/pie-7BOR55EZ-CM2pRchz.cjs +1 -0
  506. package/dist/pieDiagram-ADFJNKIX-C_B1s9Ov.cjs +30 -0
  507. package/dist/pieDiagram-ADFJNKIX-DhRe-2Yk.js +162 -0
  508. package/dist/pkl-C-zSNmaA.js +6 -0
  509. package/dist/pkl-Dvyry4Rm.cjs +1 -0
  510. package/dist/plastic-CSTz3KZp.js +4 -0
  511. package/dist/plastic-r5piqq-S.cjs +1 -0
  512. package/dist/plsql-IJkoPJ9P.cjs +1 -0
  513. package/dist/plsql-pVbGZfOv.js +6 -0
  514. package/dist/po-BNfHvqmm.js +6 -0
  515. package/dist/po-Rhu6MvnX.cjs +1 -0
  516. package/dist/poimandres-BLP3NNjc.cjs +1 -0
  517. package/dist/poimandres-C-VADXHD.js +4 -0
  518. package/dist/polar-BtWqSUq2.cjs +1 -0
  519. package/dist/polar-CAZahv3u.js +6 -0
  520. package/dist/postcss-05aHdL-n.js +6 -0
  521. package/dist/postcss-Dh97DcaJ.cjs +1 -0
  522. package/dist/powerquery-BGL6VIw7.cjs +1 -0
  523. package/dist/powerquery-DI9HkTvs.js +6 -0
  524. package/dist/powershell-BiEPMjy-.cjs +1 -0
  525. package/dist/powershell-Clc4ydu-.js +6 -0
  526. package/dist/prisma-Dp473sn0.cjs +1 -0
  527. package/dist/prisma-FZjmVtSl.js +6 -0
  528. package/dist/prolog-C5-yg4TO.js +6 -0
  529. package/dist/prolog-N1U-3UeF.cjs +1 -0
  530. package/dist/proto-MmCPeFAD.js +6 -0
  531. package/dist/proto-kd7Vn2fe.cjs +1 -0
  532. package/dist/{publish-pages-content-Dtu7807d.cjs → publish-pages-content-DOniOjSV.cjs} +1 -1
  533. package/dist/{publish-pages-content-CRvy9fwt.js → publish-pages-content-fwqyxl_3.js} +6 -6
  534. package/dist/pug-DiGNE7sm.cjs +1 -0
  535. package/dist/pug-XOw9Q1Ho.js +12 -0
  536. package/dist/puppet-CUJHmnxV.js +6 -0
  537. package/dist/puppet-cDQP_ZC_.cjs +1 -0
  538. package/dist/purescript-DMxb59gF.cjs +1 -0
  539. package/dist/purescript-rUfGld-4.js +6 -0
  540. package/dist/python-BFNSHbwJ.js +6 -0
  541. package/dist/python-s9jfVbew.cjs +1 -0
  542. package/dist/qml-beorq0E4.cjs +1 -0
  543. package/dist/qml-rTNXsquU.js +8 -0
  544. package/dist/qmldir-BInDYbpo.js +6 -0
  545. package/dist/qmldir-DNF9H2ir.cjs +1 -0
  546. package/dist/qss-AeJTysr_.js +6 -0
  547. package/dist/qss-DwA_oiAM.cjs +1 -0
  548. package/dist/quadrantDiagram-AYHSOK5B-CrS56DWV.cjs +7 -0
  549. package/dist/quadrantDiagram-AYHSOK5B-DSaDCScU.js +1024 -0
  550. package/dist/r-Bm0uF0U2.js +6 -0
  551. package/dist/r-ChIwckeM.cjs +1 -0
  552. package/dist/racket-B83wSAja.js +6 -0
  553. package/dist/racket-D4laxZit.cjs +1 -0
  554. package/dist/radar-NHE76QYJ-CN3oBECV.js +5 -0
  555. package/dist/radar-NHE76QYJ-CPX8AaYO.cjs +1 -0
  556. package/dist/raku-DHySPsLw.cjs +1 -0
  557. package/dist/raku-nEQ4ZJJ7.js +6 -0
  558. package/dist/razor-DgCbant-.cjs +1 -0
  559. package/dist/razor-Dh1wKTmh.js +10 -0
  560. package/dist/red-7y8PH7HH.js +4 -0
  561. package/dist/red-BQGOv1D5.cjs +1 -0
  562. package/dist/reg-CevkCKuZ.cjs +1 -0
  563. package/dist/reg-m_s_Kiip.js +6 -0
  564. package/dist/regexp-BazyLpPg.js +6 -0
  565. package/dist/regexp-DabTWNLE.cjs +1 -0
  566. package/dist/rel-BS5APza7.cjs +1 -0
  567. package/dist/rel-BcRfyd6Q.js +6 -0
  568. package/dist/render.d.ts +12 -0
  569. package/dist/requirementDiagram-UZGBJVZJ-CbpHc5TO.js +852 -0
  570. package/dist/requirementDiagram-UZGBJVZJ-D60OatrS.cjs +64 -0
  571. package/dist/riscv-BnGFr6V7.cjs +1 -0
  572. package/dist/riscv-Ce8MAQLP.js +6 -0
  573. package/dist/rose-pine-Cr4kwgAY.js +4 -0
  574. package/dist/rose-pine-Dynd1SQq.cjs +1 -0
  575. package/dist/rose-pine-dawn-ClRRUdXX.js +4 -0
  576. package/dist/rose-pine-dawn-DwrpEjkh.cjs +1 -0
  577. package/dist/rose-pine-moon-8HmiewSG.cjs +1 -0
  578. package/dist/rose-pine-moon-ucNn3Gm8.js +4 -0
  579. package/dist/rosmsg-C7VSFzUC.cjs +1 -0
  580. package/dist/rosmsg-Cz0w1km8.js +6 -0
  581. package/dist/rst-CcbeA9zE.js +22 -0
  582. package/dist/rst-D08gsKw8.cjs +1 -0
  583. package/dist/ruby-B5H7kBtd.cjs +1 -0
  584. package/dist/ruby-DMPw6uKF.js +30 -0
  585. package/dist/runtime.d.ts +12 -0
  586. package/dist/rust-CLzF9zIN.js +6 -0
  587. package/dist/rust-CNeTMPbB.cjs +1 -0
  588. package/dist/sankeyDiagram-TZEHDZUN-AFuyaZMZ.js +810 -0
  589. package/dist/sankeyDiagram-TZEHDZUN-DklD-Q91.cjs +10 -0
  590. package/dist/sas-D5Fn8Q38.cjs +1 -0
  591. package/dist/sas-fpEvgATw.js +8 -0
  592. package/dist/sass-DxHp5rTx.js +6 -0
  593. package/dist/sass-vyo-bUwh.cjs +1 -0
  594. package/dist/{save-to-lib-BE0-MXVv.js → save-to-lib-DKP-iiLU.js} +1 -1
  595. package/dist/{save-to-lib-XnTNVHzy.cjs → save-to-lib-DmZbKkm9.cjs} +1 -1
  596. package/dist/scala-D4grkFkl.js +6 -0
  597. package/dist/scala-ZSekD-8-.cjs +1 -0
  598. package/dist/scheme-BCRWuEm4.js +6 -0
  599. package/dist/scheme-vM0LdD-_.cjs +1 -0
  600. package/dist/scss-B1FaCqwR.js +8 -0
  601. package/dist/scss-CKlduTMv.cjs +1 -0
  602. package/dist/sdbl-B7T8abf4.js +6 -0
  603. package/dist/sdbl-DeWT5r4i.cjs +1 -0
  604. package/dist/selected-block-display-BPkRbRtv.js +43632 -0
  605. package/dist/selected-block-display-CMhOKq0c.cjs +541 -0
  606. package/dist/{seo-panel-dIE8Wi40.js → seo-panel-D1FyS42r.js} +17 -17
  607. package/dist/{seo-panel-Ce3uf7XT.cjs → seo-panel-l-VdkTzp.cjs} +1 -1
  608. package/dist/sequenceDiagram-WL72ISMW-CotOH2Xj.cjs +145 -0
  609. package/dist/sequenceDiagram-WL72ISMW-p_o77zn1.js +2522 -0
  610. package/dist/server.cjs +206 -121
  611. package/dist/server.d.ts +12 -0
  612. package/dist/server.js +775 -690
  613. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  614. package/dist/shaderlab-DGJjQHxC.cjs +1 -0
  615. package/dist/{shared-json-ld-DiVirR4t.cjs → shared-json-ld-0VORoKPu.cjs} +1 -1
  616. package/dist/{shared-json-ld-UCI8GeFi.js → shared-json-ld-jn36kQ1J.js} +48 -48
  617. package/dist/shellscript-DYWjN7qW.cjs +1 -0
  618. package/dist/shellscript-InADTalH.js +6 -0
  619. package/dist/shellsession-DMUSXX8m.cjs +1 -0
  620. package/dist/shellsession-DiDJNQdy.js +8 -0
  621. package/dist/slack-dark-akqwQ7ED.cjs +1 -0
  622. package/dist/slack-dark-i7wN4OET.js +4 -0
  623. package/dist/slack-ochin-BoQQWmTv.cjs +1 -0
  624. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  625. package/dist/{slug-input-BbkCbVMY.cjs → slug-input-CPHwulQv.cjs} +1 -1
  626. package/dist/{slug-input-DTA7c8c6.js → slug-input-DPMG1pMZ.js} +1 -1
  627. package/dist/smalltalk-BNs6hxu4.cjs +1 -0
  628. package/dist/smalltalk-BlI1_OkM.js +6 -0
  629. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  630. package/dist/snazzy-light-D_IwRieF.cjs +1 -0
  631. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  632. package/dist/solarized-dark-gmm-WbDC.cjs +1 -0
  633. package/dist/solarized-light-BheCkDPT.js +4 -0
  634. package/dist/solarized-light-DzcxRSZP.cjs +1 -0
  635. package/dist/solidity-CYggdHYd.cjs +1 -0
  636. package/dist/solidity-CneOhxmR.js +6 -0
  637. package/dist/soy-C1-6njHa.js +8 -0
  638. package/dist/soy-CDFPDtGX.cjs +1 -0
  639. package/dist/sparql-6Cg9ppCl.cjs +1 -0
  640. package/dist/sparql-B0KWFEri.js +8 -0
  641. package/dist/splunk-CRXR8A9s.js +6 -0
  642. package/dist/splunk-CWPivao_.cjs +1 -0
  643. package/dist/sql-Cn_v3PB0.js +6 -0
  644. package/dist/sql-DhUUVgH1.cjs +1 -0
  645. package/dist/ssh-config-B93wBIBa.cjs +1 -0
  646. package/dist/ssh-config-DP-hNVbF.js +6 -0
  647. package/dist/stata-B8c5fTjX.js +8 -0
  648. package/dist/stata-DCWFCQQG.cjs +1 -0
  649. package/dist/stateDiagram-FKZM4ZOC-B1pfSzZB.cjs +1 -0
  650. package/dist/stateDiagram-FKZM4ZOC-Ch8gd7OX.js +264 -0
  651. package/dist/stateDiagram-v2-4FDKWEC3-BDxmTUgh.js +16 -0
  652. package/dist/stateDiagram-v2-4FDKWEC3-DCj4svbU.cjs +1 -0
  653. package/dist/stylus-B64Bt0D4.cjs +1 -0
  654. package/dist/stylus-CyKEU1Ej.js +6 -0
  655. package/dist/svelte-5UasyOg7.js +14 -0
  656. package/dist/svelte-DFg_x5i4.cjs +1 -0
  657. package/dist/swift-9UzSvamq.js +6 -0
  658. package/dist/swift-BMbGdc3j.cjs +1 -0
  659. package/dist/synthwave-84-BBRLOmNT.cjs +1 -0
  660. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  661. package/dist/system-verilog-BCm7smPJ.js +6 -0
  662. package/dist/system-verilog-BFclLo9e.cjs +1 -0
  663. package/dist/systemd-C-4qm6XH.js +6 -0
  664. package/dist/systemd-Dtw7P4tb.cjs +1 -0
  665. package/dist/tailwind.d.ts +12 -0
  666. package/dist/talonscript-CFF3LF_O.js +6 -0
  667. package/dist/talonscript-D8SvZJVc.cjs +1 -0
  668. package/dist/tasl--DC4oX-L.cjs +1 -0
  669. package/dist/tasl-Cg_WBUAe.js +6 -0
  670. package/dist/tcl-0Q0H86Yn.cjs +1 -0
  671. package/dist/tcl-DN7buRTF.js +6 -0
  672. package/dist/templ-BDNMUns0.cjs +1 -0
  673. package/dist/templ-peLZIM2D.js +12 -0
  674. package/dist/terraform-C0RDrmWi.cjs +1 -0
  675. package/dist/terraform-DGvcn9zM.js +6 -0
  676. package/dist/tex-BUUuwxQS.js +8 -0
  677. package/dist/tex-By7qnogv.cjs +1 -0
  678. package/dist/{theme-panel-footer-uGKDjNbs.cjs → theme-panel-footer-DsZ67xQ8.cjs} +1 -1
  679. package/dist/{theme-panel-footer-BjRPU7lq.js → theme-panel-footer-XREndTvO.js} +1 -1
  680. package/dist/timeline-definition-IT6M3QCI-CK1EW7lG.cjs +61 -0
  681. package/dist/timeline-definition-IT6M3QCI-CmX-2kfr.js +801 -0
  682. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  683. package/dist/tokyo-night-GOhjzM5y.cjs +1 -0
  684. package/dist/toml-DY62mUL_.js +6 -0
  685. package/dist/toml-Q64DoSvG.cjs +1 -0
  686. package/dist/treemap-KMMF4GRG-B51FyMCU.js +5 -0
  687. package/dist/treemap-KMMF4GRG-D5Rm845j.cjs +1 -0
  688. package/dist/ts-tags-DILCom6A.cjs +1 -0
  689. package/dist/ts-tags-ioVe2PKw.js +41 -0
  690. package/dist/tsv-BtvSkaG0.js +6 -0
  691. package/dist/tsv-DqNGnuVj.cjs +1 -0
  692. package/dist/tsx-B8rCNbgL.js +6 -0
  693. package/dist/tsx-DIpfUf9u.cjs +1 -0
  694. package/dist/turtle-DipIidr5.cjs +1 -0
  695. package/dist/turtle-_H59FV7D.js +6 -0
  696. package/dist/twig-B42NGISI.cjs +1 -0
  697. package/dist/twig-CcRLVyUg.js +18 -0
  698. package/dist/typescript-RycA9KXf.js +6 -0
  699. package/dist/typescript-b48wo4zk.cjs +1 -0
  700. package/dist/typespec-CLqB-2XS.cjs +1 -0
  701. package/dist/typespec-Djmco60m.js +6 -0
  702. package/dist/typst-Cqq4j4V-.cjs +1 -0
  703. package/dist/typst-D_1QKWns.js +6 -0
  704. package/dist/{unmark-as-template-Dbhko_72.cjs → unmark-as-template-BB_2lvTh.cjs} +1 -1
  705. package/dist/{unmark-as-template-BWviVI2t.js → unmark-as-template-VHopisw3.js} +1 -1
  706. package/dist/{unpublish-page-BzI9EFF9.js → unpublish-page-Cq5OwCf-.js} +1 -1
  707. package/dist/{unpublish-page-D0EmMryc.cjs → unpublish-page-DJKgb2OG.cjs} +1 -1
  708. package/dist/use-page-expand-manager-B5Y2KS1c.cjs +1 -0
  709. package/dist/utils.d.ts +12 -0
  710. package/dist/v-81C2s01-.cjs +1 -0
  711. package/dist/v-BPCNiyYe.js +6 -0
  712. package/dist/vala-CsAYdCD2.cjs +1 -0
  713. package/dist/vala-uxaPR7d1.js +6 -0
  714. package/dist/vb-AiTMb16X.cjs +1 -0
  715. package/dist/vb-D8_c5-KN.js +6 -0
  716. package/dist/verilog-AMohXZcN.cjs +1 -0
  717. package/dist/verilog-B-bybjPF.js +6 -0
  718. package/dist/vesper-B59Iw4gV.cjs +1 -0
  719. package/dist/vesper-BckBta1U.js +4 -0
  720. package/dist/vhdl-CUlNa8ac.js +6 -0
  721. package/dist/vhdl-DIdR1NA5.cjs +1 -0
  722. package/dist/viml-D01eKeA4.cjs +1 -0
  723. package/dist/viml-DsfA-sWm.js +6 -0
  724. package/dist/vitesse-black-BoGvW84i.js +4 -0
  725. package/dist/vitesse-black-MF-1S1MG.cjs +1 -0
  726. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  727. package/dist/vitesse-dark-SIffJYSe.cjs +1 -0
  728. package/dist/vitesse-light-CcmG315c.js +4 -0
  729. package/dist/vitesse-light-U63SkYGT.cjs +1 -0
  730. package/dist/vue-DUYfTwgV.cjs +1 -0
  731. package/dist/vue-DrinnB8Y.js +31 -0
  732. package/dist/vue-html-B8T_zUQ-.cjs +1 -0
  733. package/dist/vue-html-CQOyCFnQ.js +10 -0
  734. package/dist/vue-vine-CAyeVfAj.js +20 -0
  735. package/dist/vue-vine-ClEtVpt5.cjs +1 -0
  736. package/dist/vyper-CPQuu50u.js +6 -0
  737. package/dist/vyper-DTzyzn3a.cjs +1 -0
  738. package/dist/wasm-BBXxrAl7.js +6 -0
  739. package/dist/wasm-DQxwEHae.js +7 -0
  740. package/dist/wasm-Dp-QrJpp.cjs +1 -0
  741. package/dist/wasm-Dw4u1m6u.cjs +1 -0
  742. package/dist/web-blocks.d.ts +12 -0
  743. package/dist/{web-preview-SIUM1SWa.js → web-preview-BEYsnCo4.js} +2 -2
  744. package/dist/{web-preview-CSV-DXpI.cjs → web-preview-CGX6_m7_.cjs} +1 -1
  745. package/dist/wenyan-CRNx8UP3.cjs +1 -0
  746. package/dist/wenyan-pbVjoM9_.js +6 -0
  747. package/dist/wgsl-DF5qc9dd.cjs +1 -0
  748. package/dist/wgsl-DY4iK1q1.js +6 -0
  749. package/dist/wikitext-D7uzEIfK.cjs +1 -0
  750. package/dist/wikitext-Z-MoUasO.js +6 -0
  751. package/dist/wit-BjWgLsJj.cjs +1 -0
  752. package/dist/wit-CQMQOlTg.js +6 -0
  753. package/dist/wolfram-BR4t3Ffc.cjs +1 -0
  754. package/dist/wolfram-Dz4KXISs.js +6 -0
  755. package/dist/xml-BpsKWkuV.cjs +1 -0
  756. package/dist/xml-C2J0sS9M.js +8 -0
  757. package/dist/xsl-BmSZphgC.js +8 -0
  758. package/dist/xsl-D-3VYix6.cjs +1 -0
  759. package/dist/xychartDiagram-PRI3JC2R-BXSS1azt.cjs +7 -0
  760. package/dist/xychartDiagram-PRI3JC2R-vt3IdmK_.js +1340 -0
  761. package/dist/yaml-DaO7k5B1.js +6 -0
  762. package/dist/yaml-XVBmpKh-.cjs +1 -0
  763. package/dist/zenscript-CxBjpf9c.js +6 -0
  764. package/dist/zenscript-fNvwKexi.cjs +1 -0
  765. package/dist/zig-BAyIAcWK.cjs +1 -0
  766. package/dist/zig-Vm0PO9wB.js +6 -0
  767. package/package.json +19 -3
  768. package/dist/ai-panel-content-B7VWN9Hp.js +0 -54
  769. package/dist/ai-panel-content-DvNWlTtZ.cjs +0 -1
  770. package/dist/ai-panel-default-lang-DRkJegQm.js +0 -178
  771. package/dist/ai-panel-default-lang-Dnfg53l_.cjs +0 -1
  772. package/dist/ai-panel-message-bubble-Bl-aUeU4.cjs +0 -1
  773. package/dist/ai-panel-message-bubble-DPAaAMAZ.js +0 -38
  774. package/dist/ai-panel-other-lang-0_g52R_I.cjs +0 -1
  775. package/dist/ai-panel-other-lang-CQVkWTd3.js +0 -150
  776. package/dist/ai-panel-quick-prompts-BfMsNuRu.js +0 -46
  777. package/dist/ai-panel-quick-prompts-CGKAAn9A.cjs +0 -1
  778. package/dist/ai-prompt-input-C3TnCYfz.js +0 -222
  779. package/dist/ai-prompt-input-CffQQOKA.cjs +0 -1
  780. package/dist/index-B1OACNv-.cjs +0 -5
  781. package/dist/prompt-helper-D0QRFyFX.js +0 -187
  782. package/dist/prompt-helper-DIy7u3rt.cjs +0 -51
  783. package/dist/use-page-expand-manager-2KjeYfVS.cjs +0 -1
@@ -0,0 +1,836 @@
1
+ import { d as gt, f as mt, g as lt, b as xt } from "./chunk-TZMSLE5B-v44khzET.js";
2
+ import { g as kt } from "./chunk-FMBD7UC4-DsnO3YB7.js";
3
+ import { _ as n, d as R, o as _t, p as vt, s as bt, g as wt, c as Tt, b as St, v as $t, j as G, k as Mt } from "./mermaid.core-e6RNUZK7.js";
4
+ import { d as et } from "./arc-CEYgkAY6.js";
5
+ var U = function() {
6
+ var t = /* @__PURE__ */ n(function(h, i, a, l) {
7
+ for (a = a || {}, l = h.length; l--; a[h[l]] = i) ;
8
+ return a;
9
+ }, "o"), e = [6, 8, 10, 11, 12, 14, 16, 17, 18], s = [1, 9], c = [1, 10], r = [1, 11], f = [1, 12], u = [1, 13], y = [1, 14], g = {
10
+ trace: /* @__PURE__ */ n(function() {
11
+ }, "trace"),
12
+ yy: {},
13
+ symbols_: { error: 2, start: 3, journey: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, taskName: 18, taskData: 19, $accept: 0, $end: 1 },
14
+ terminals_: { 2: "error", 4: "journey", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 18: "taskName", 19: "taskData" },
15
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2]],
16
+ performAction: /* @__PURE__ */ n(function(i, a, l, d, p, o, b) {
17
+ var k = o.length - 1;
18
+ switch (p) {
19
+ case 1:
20
+ return o[k - 1];
21
+ case 2:
22
+ this.$ = [];
23
+ break;
24
+ case 3:
25
+ o[k - 1].push(o[k]), this.$ = o[k - 1];
26
+ break;
27
+ case 4:
28
+ case 5:
29
+ this.$ = o[k];
30
+ break;
31
+ case 6:
32
+ case 7:
33
+ this.$ = [];
34
+ break;
35
+ case 8:
36
+ d.setDiagramTitle(o[k].substr(6)), this.$ = o[k].substr(6);
37
+ break;
38
+ case 9:
39
+ this.$ = o[k].trim(), d.setAccTitle(this.$);
40
+ break;
41
+ case 10:
42
+ case 11:
43
+ this.$ = o[k].trim(), d.setAccDescription(this.$);
44
+ break;
45
+ case 12:
46
+ d.addSection(o[k].substr(8)), this.$ = o[k].substr(8);
47
+ break;
48
+ case 13:
49
+ d.addTask(o[k - 1], o[k]), this.$ = "task";
50
+ break;
51
+ }
52
+ }, "anonymous"),
53
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: s, 12: c, 14: r, 16: f, 17: u, 18: y }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: s, 12: c, 14: r, 16: f, 17: u, 18: y }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
54
+ defaultActions: {},
55
+ parseError: /* @__PURE__ */ n(function(i, a) {
56
+ if (a.recoverable)
57
+ this.trace(i);
58
+ else {
59
+ var l = new Error(i);
60
+ throw l.hash = a, l;
61
+ }
62
+ }, "parseError"),
63
+ parse: /* @__PURE__ */ n(function(i) {
64
+ var a = this, l = [0], d = [], p = [null], o = [], b = this.table, k = "", C = 0, K = 0, dt = 2, Q = 1, yt = o.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
65
+ for (var O in this.yy)
66
+ Object.prototype.hasOwnProperty.call(this.yy, O) && (I.yy[O] = this.yy[O]);
67
+ _.setInput(i, I.yy), I.yy.lexer = _, I.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
68
+ var Y = _.yylloc;
69
+ o.push(Y);
70
+ var ft = _.options && _.options.ranges;
71
+ typeof I.yy.parseError == "function" ? this.parseError = I.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
72
+ function pt(w) {
73
+ l.length = l.length - 2 * w, p.length = p.length - w, o.length = o.length - w;
74
+ }
75
+ n(pt, "popStack");
76
+ function D() {
77
+ var w;
78
+ return w = d.pop() || _.lex() || Q, typeof w != "number" && (w instanceof Array && (d = w, w = d.pop()), w = a.symbols_[w] || w), w;
79
+ }
80
+ n(D, "lex");
81
+ for (var v, A, T, q, F = {}, N, M, tt, z; ; ) {
82
+ if (A = l[l.length - 1], this.defaultActions[A] ? T = this.defaultActions[A] : ((v === null || typeof v > "u") && (v = D()), T = b[A] && b[A][v]), typeof T > "u" || !T.length || !T[0]) {
83
+ var X = "";
84
+ z = [];
85
+ for (N in b[A])
86
+ this.terminals_[N] && N > dt && z.push("'" + this.terminals_[N] + "'");
87
+ _.showPosition ? X = "Parse error on line " + (C + 1) + `:
88
+ ` + _.showPosition() + `
89
+ Expecting ` + z.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : X = "Parse error on line " + (C + 1) + ": Unexpected " + (v == Q ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(X, {
90
+ text: _.match,
91
+ token: this.terminals_[v] || v,
92
+ line: _.yylineno,
93
+ loc: Y,
94
+ expected: z
95
+ });
96
+ }
97
+ if (T[0] instanceof Array && T.length > 1)
98
+ throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + v);
99
+ switch (T[0]) {
100
+ case 1:
101
+ l.push(v), p.push(_.yytext), o.push(_.yylloc), l.push(T[1]), v = null, K = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
102
+ break;
103
+ case 2:
104
+ if (M = this.productions_[T[1]][1], F.$ = p[p.length - M], F._$ = {
105
+ first_line: o[o.length - (M || 1)].first_line,
106
+ last_line: o[o.length - 1].last_line,
107
+ first_column: o[o.length - (M || 1)].first_column,
108
+ last_column: o[o.length - 1].last_column
109
+ }, ft && (F._$.range = [
110
+ o[o.length - (M || 1)].range[0],
111
+ o[o.length - 1].range[1]
112
+ ]), q = this.performAction.apply(F, [
113
+ k,
114
+ K,
115
+ C,
116
+ I.yy,
117
+ T[1],
118
+ p,
119
+ o
120
+ ].concat(yt)), typeof q < "u")
121
+ return q;
122
+ M && (l = l.slice(0, -1 * M * 2), p = p.slice(0, -1 * M), o = o.slice(0, -1 * M)), l.push(this.productions_[T[1]][0]), p.push(F.$), o.push(F._$), tt = b[l[l.length - 2]][l[l.length - 1]], l.push(tt);
123
+ break;
124
+ case 3:
125
+ return !0;
126
+ }
127
+ }
128
+ return !0;
129
+ }, "parse")
130
+ }, m = /* @__PURE__ */ function() {
131
+ var h = {
132
+ EOF: 1,
133
+ parseError: /* @__PURE__ */ n(function(a, l) {
134
+ if (this.yy.parser)
135
+ this.yy.parser.parseError(a, l);
136
+ else
137
+ throw new Error(a);
138
+ }, "parseError"),
139
+ // resets the lexer, sets new input
140
+ setInput: /* @__PURE__ */ n(function(i, a) {
141
+ return this.yy = a || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
142
+ first_line: 1,
143
+ first_column: 0,
144
+ last_line: 1,
145
+ last_column: 0
146
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
147
+ }, "setInput"),
148
+ // consumes and returns one char from the input
149
+ input: /* @__PURE__ */ n(function() {
150
+ var i = this._input[0];
151
+ this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
152
+ var a = i.match(/(?:\r\n?|\n).*/g);
153
+ return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
154
+ }, "input"),
155
+ // unshifts one char (or a string) into the input
156
+ unput: /* @__PURE__ */ n(function(i) {
157
+ var a = i.length, l = i.split(/(?:\r\n?|\n)/g);
158
+ this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
159
+ var d = this.match.split(/(?:\r\n?|\n)/g);
160
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
161
+ var p = this.yylloc.range;
162
+ return this.yylloc = {
163
+ first_line: this.yylloc.first_line,
164
+ last_line: this.yylineno + 1,
165
+ first_column: this.yylloc.first_column,
166
+ last_column: l ? (l.length === d.length ? this.yylloc.first_column : 0) + d[d.length - l.length].length - l[0].length : this.yylloc.first_column - a
167
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
168
+ }, "unput"),
169
+ // When called from action, caches matched text and appends it on next action
170
+ more: /* @__PURE__ */ n(function() {
171
+ return this._more = !0, this;
172
+ }, "more"),
173
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
174
+ reject: /* @__PURE__ */ n(function() {
175
+ if (this.options.backtrack_lexer)
176
+ this._backtrack = !0;
177
+ else
178
+ 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).
179
+ ` + this.showPosition(), {
180
+ text: "",
181
+ token: null,
182
+ line: this.yylineno
183
+ });
184
+ return this;
185
+ }, "reject"),
186
+ // retain first n characters of the match
187
+ less: /* @__PURE__ */ n(function(i) {
188
+ this.unput(this.match.slice(i));
189
+ }, "less"),
190
+ // displays already matched input, i.e. for error messages
191
+ pastInput: /* @__PURE__ */ n(function() {
192
+ var i = this.matched.substr(0, this.matched.length - this.match.length);
193
+ return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
194
+ }, "pastInput"),
195
+ // displays upcoming input, i.e. for error messages
196
+ upcomingInput: /* @__PURE__ */ n(function() {
197
+ var i = this.match;
198
+ return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
199
+ }, "upcomingInput"),
200
+ // displays the character position where the lexing error occurred, i.e. for error messages
201
+ showPosition: /* @__PURE__ */ n(function() {
202
+ var i = this.pastInput(), a = new Array(i.length + 1).join("-");
203
+ return i + this.upcomingInput() + `
204
+ ` + a + "^";
205
+ }, "showPosition"),
206
+ // test the lexed token: return FALSE when not a match, otherwise return token
207
+ test_match: /* @__PURE__ */ n(function(i, a) {
208
+ var l, d, p;
209
+ if (this.options.backtrack_lexer && (p = {
210
+ yylineno: this.yylineno,
211
+ yylloc: {
212
+ first_line: this.yylloc.first_line,
213
+ last_line: this.last_line,
214
+ first_column: this.yylloc.first_column,
215
+ last_column: this.yylloc.last_column
216
+ },
217
+ yytext: this.yytext,
218
+ match: this.match,
219
+ matches: this.matches,
220
+ matched: this.matched,
221
+ yyleng: this.yyleng,
222
+ offset: this.offset,
223
+ _more: this._more,
224
+ _input: this._input,
225
+ yy: this.yy,
226
+ conditionStack: this.conditionStack.slice(0),
227
+ done: this.done
228
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), d = i[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
229
+ first_line: this.yylloc.last_line,
230
+ last_line: this.yylineno + 1,
231
+ first_column: this.yylloc.last_column,
232
+ last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
233
+ }, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], l = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l)
234
+ return l;
235
+ if (this._backtrack) {
236
+ for (var o in p)
237
+ this[o] = p[o];
238
+ return !1;
239
+ }
240
+ return !1;
241
+ }, "test_match"),
242
+ // return next match in input
243
+ next: /* @__PURE__ */ n(function() {
244
+ if (this.done)
245
+ return this.EOF;
246
+ this._input || (this.done = !0);
247
+ var i, a, l, d;
248
+ this._more || (this.yytext = "", this.match = "");
249
+ for (var p = this._currentRules(), o = 0; o < p.length; o++)
250
+ if (l = this._input.match(this.rules[p[o]]), l && (!a || l[0].length > a[0].length)) {
251
+ if (a = l, d = o, this.options.backtrack_lexer) {
252
+ if (i = this.test_match(l, p[o]), i !== !1)
253
+ return i;
254
+ if (this._backtrack) {
255
+ a = !1;
256
+ continue;
257
+ } else
258
+ return !1;
259
+ } else if (!this.options.flex)
260
+ break;
261
+ }
262
+ return a ? (i = this.test_match(a, p[d]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
263
+ ` + this.showPosition(), {
264
+ text: "",
265
+ token: null,
266
+ line: this.yylineno
267
+ });
268
+ }, "next"),
269
+ // return next match that has a token
270
+ lex: /* @__PURE__ */ n(function() {
271
+ var a = this.next();
272
+ return a || this.lex();
273
+ }, "lex"),
274
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
275
+ begin: /* @__PURE__ */ n(function(a) {
276
+ this.conditionStack.push(a);
277
+ }, "begin"),
278
+ // pop the previously active lexer condition state off the condition stack
279
+ popState: /* @__PURE__ */ n(function() {
280
+ var a = this.conditionStack.length - 1;
281
+ return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
282
+ }, "popState"),
283
+ // produce the lexer rule set which is active for the currently active lexer condition state
284
+ _currentRules: /* @__PURE__ */ n(function() {
285
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
286
+ }, "_currentRules"),
287
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
288
+ topState: /* @__PURE__ */ n(function(a) {
289
+ return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
290
+ }, "topState"),
291
+ // alias for begin(condition)
292
+ pushState: /* @__PURE__ */ n(function(a) {
293
+ this.begin(a);
294
+ }, "pushState"),
295
+ // return the number of states currently on the stack
296
+ stateStackSize: /* @__PURE__ */ n(function() {
297
+ return this.conditionStack.length;
298
+ }, "stateStackSize"),
299
+ options: { "case-insensitive": !0 },
300
+ performAction: /* @__PURE__ */ n(function(a, l, d, p) {
301
+ switch (d) {
302
+ case 0:
303
+ break;
304
+ case 1:
305
+ break;
306
+ case 2:
307
+ return 10;
308
+ case 3:
309
+ break;
310
+ case 4:
311
+ break;
312
+ case 5:
313
+ return 4;
314
+ case 6:
315
+ return 11;
316
+ case 7:
317
+ return this.begin("acc_title"), 12;
318
+ case 8:
319
+ return this.popState(), "acc_title_value";
320
+ case 9:
321
+ return this.begin("acc_descr"), 14;
322
+ case 10:
323
+ return this.popState(), "acc_descr_value";
324
+ case 11:
325
+ this.begin("acc_descr_multiline");
326
+ break;
327
+ case 12:
328
+ this.popState();
329
+ break;
330
+ case 13:
331
+ return "acc_descr_multiline_value";
332
+ case 14:
333
+ return 17;
334
+ case 15:
335
+ return 18;
336
+ case 16:
337
+ return 19;
338
+ case 17:
339
+ return ":";
340
+ case 18:
341
+ return 6;
342
+ case 19:
343
+ return "INVALID";
344
+ }
345
+ }, "anonymous"),
346
+ rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:journey\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^#:\n;]+)/i, /^(?:[^#:\n;]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
347
+ conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19], inclusive: !0 } }
348
+ };
349
+ return h;
350
+ }();
351
+ g.lexer = m;
352
+ function x() {
353
+ this.yy = {};
354
+ }
355
+ return n(x, "Parser"), x.prototype = g, g.Parser = x, new x();
356
+ }();
357
+ U.parser = U;
358
+ var Et = U, V = "", Z = [], L = [], B = [], Ct = /* @__PURE__ */ n(function() {
359
+ Z.length = 0, L.length = 0, V = "", B.length = 0, $t();
360
+ }, "clear"), Pt = /* @__PURE__ */ n(function(t) {
361
+ V = t, Z.push(t);
362
+ }, "addSection"), It = /* @__PURE__ */ n(function() {
363
+ return Z;
364
+ }, "getSections"), At = /* @__PURE__ */ n(function() {
365
+ let t = it();
366
+ const e = 100;
367
+ let s = 0;
368
+ for (; !t && s < e; )
369
+ t = it(), s++;
370
+ return L.push(...B), L;
371
+ }, "getTasks"), Ft = /* @__PURE__ */ n(function() {
372
+ const t = [];
373
+ return L.forEach((s) => {
374
+ s.people && t.push(...s.people);
375
+ }), [...new Set(t)].sort();
376
+ }, "updateActors"), Vt = /* @__PURE__ */ n(function(t, e) {
377
+ const s = e.substr(1).split(":");
378
+ let c = 0, r = [];
379
+ s.length === 1 ? (c = Number(s[0]), r = []) : (c = Number(s[0]), r = s[1].split(","));
380
+ const f = r.map((y) => y.trim()), u = {
381
+ section: V,
382
+ type: V,
383
+ people: f,
384
+ task: t,
385
+ score: c
386
+ };
387
+ B.push(u);
388
+ }, "addTask"), Rt = /* @__PURE__ */ n(function(t) {
389
+ const e = {
390
+ section: V,
391
+ type: V,
392
+ description: t,
393
+ task: t,
394
+ classes: []
395
+ };
396
+ L.push(e);
397
+ }, "addTaskOrg"), it = /* @__PURE__ */ n(function() {
398
+ const t = /* @__PURE__ */ n(function(s) {
399
+ return B[s].processed;
400
+ }, "compileTask");
401
+ let e = !0;
402
+ for (const [s, c] of B.entries())
403
+ t(s), e = e && c.processed;
404
+ return e;
405
+ }, "compileTasks"), Lt = /* @__PURE__ */ n(function() {
406
+ return Ft();
407
+ }, "getActors"), rt = {
408
+ getConfig: /* @__PURE__ */ n(() => R().journey, "getConfig"),
409
+ clear: Ct,
410
+ setDiagramTitle: _t,
411
+ getDiagramTitle: vt,
412
+ setAccTitle: bt,
413
+ getAccTitle: wt,
414
+ setAccDescription: Tt,
415
+ getAccDescription: St,
416
+ addSection: Pt,
417
+ getSections: It,
418
+ getTasks: At,
419
+ addTask: Vt,
420
+ addTaskOrg: Rt,
421
+ getActors: Lt
422
+ }, Bt = /* @__PURE__ */ n((t) => `.label {
423
+ font-family: ${t.fontFamily};
424
+ color: ${t.textColor};
425
+ }
426
+ .mouth {
427
+ stroke: #666;
428
+ }
429
+
430
+ line {
431
+ stroke: ${t.textColor}
432
+ }
433
+
434
+ .legend {
435
+ fill: ${t.textColor};
436
+ font-family: ${t.fontFamily};
437
+ }
438
+
439
+ .label text {
440
+ fill: #333;
441
+ }
442
+ .label {
443
+ color: ${t.textColor}
444
+ }
445
+
446
+ .face {
447
+ ${t.faceColor ? `fill: ${t.faceColor}` : "fill: #FFF8DC"};
448
+ stroke: #999;
449
+ }
450
+
451
+ .node rect,
452
+ .node circle,
453
+ .node ellipse,
454
+ .node polygon,
455
+ .node path {
456
+ fill: ${t.mainBkg};
457
+ stroke: ${t.nodeBorder};
458
+ stroke-width: 1px;
459
+ }
460
+
461
+ .node .label {
462
+ text-align: center;
463
+ }
464
+ .node.clickable {
465
+ cursor: pointer;
466
+ }
467
+
468
+ .arrowheadPath {
469
+ fill: ${t.arrowheadColor};
470
+ }
471
+
472
+ .edgePath .path {
473
+ stroke: ${t.lineColor};
474
+ stroke-width: 1.5px;
475
+ }
476
+
477
+ .flowchart-link {
478
+ stroke: ${t.lineColor};
479
+ fill: none;
480
+ }
481
+
482
+ .edgeLabel {
483
+ background-color: ${t.edgeLabelBackground};
484
+ rect {
485
+ opacity: 0.5;
486
+ }
487
+ text-align: center;
488
+ }
489
+
490
+ .cluster rect {
491
+ }
492
+
493
+ .cluster text {
494
+ fill: ${t.titleColor};
495
+ }
496
+
497
+ div.mermaidTooltip {
498
+ position: absolute;
499
+ text-align: center;
500
+ max-width: 200px;
501
+ padding: 2px;
502
+ font-family: ${t.fontFamily};
503
+ font-size: 12px;
504
+ background: ${t.tertiaryColor};
505
+ border: 1px solid ${t.border2};
506
+ border-radius: 2px;
507
+ pointer-events: none;
508
+ z-index: 100;
509
+ }
510
+
511
+ .task-type-0, .section-type-0 {
512
+ ${t.fillType0 ? `fill: ${t.fillType0}` : ""};
513
+ }
514
+ .task-type-1, .section-type-1 {
515
+ ${t.fillType0 ? `fill: ${t.fillType1}` : ""};
516
+ }
517
+ .task-type-2, .section-type-2 {
518
+ ${t.fillType0 ? `fill: ${t.fillType2}` : ""};
519
+ }
520
+ .task-type-3, .section-type-3 {
521
+ ${t.fillType0 ? `fill: ${t.fillType3}` : ""};
522
+ }
523
+ .task-type-4, .section-type-4 {
524
+ ${t.fillType0 ? `fill: ${t.fillType4}` : ""};
525
+ }
526
+ .task-type-5, .section-type-5 {
527
+ ${t.fillType0 ? `fill: ${t.fillType5}` : ""};
528
+ }
529
+ .task-type-6, .section-type-6 {
530
+ ${t.fillType0 ? `fill: ${t.fillType6}` : ""};
531
+ }
532
+ .task-type-7, .section-type-7 {
533
+ ${t.fillType0 ? `fill: ${t.fillType7}` : ""};
534
+ }
535
+
536
+ .actor-0 {
537
+ ${t.actor0 ? `fill: ${t.actor0}` : ""};
538
+ }
539
+ .actor-1 {
540
+ ${t.actor1 ? `fill: ${t.actor1}` : ""};
541
+ }
542
+ .actor-2 {
543
+ ${t.actor2 ? `fill: ${t.actor2}` : ""};
544
+ }
545
+ .actor-3 {
546
+ ${t.actor3 ? `fill: ${t.actor3}` : ""};
547
+ }
548
+ .actor-4 {
549
+ ${t.actor4 ? `fill: ${t.actor4}` : ""};
550
+ }
551
+ .actor-5 {
552
+ ${t.actor5 ? `fill: ${t.actor5}` : ""};
553
+ }
554
+ ${kt()}
555
+ `, "getStyles"), jt = Bt, J = /* @__PURE__ */ n(function(t, e) {
556
+ return gt(t, e);
557
+ }, "drawRect"), Nt = /* @__PURE__ */ n(function(t, e) {
558
+ const c = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = t.append("g");
559
+ r.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
560
+ function f(g) {
561
+ const m = et().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
562
+ g.append("path").attr("class", "mouth").attr("d", m).attr("transform", "translate(" + e.cx + "," + (e.cy + 2) + ")");
563
+ }
564
+ n(f, "smile");
565
+ function u(g) {
566
+ const m = et().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
567
+ g.append("path").attr("class", "mouth").attr("d", m).attr("transform", "translate(" + e.cx + "," + (e.cy + 7) + ")");
568
+ }
569
+ n(u, "sad");
570
+ function y(g) {
571
+ g.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
572
+ }
573
+ return n(y, "ambivalent"), e.score > 3 ? f(r) : e.score < 3 ? u(r) : y(r), c;
574
+ }, "drawFace"), ot = /* @__PURE__ */ n(function(t, e) {
575
+ const s = t.append("circle");
576
+ return s.attr("cx", e.cx), s.attr("cy", e.cy), s.attr("class", "actor-" + e.pos), s.attr("fill", e.fill), s.attr("stroke", e.stroke), s.attr("r", e.r), s.class !== void 0 && s.attr("class", s.class), e.title !== void 0 && s.append("title").text(e.title), s;
577
+ }, "drawCircle"), ct = /* @__PURE__ */ n(function(t, e) {
578
+ return mt(t, e);
579
+ }, "drawText"), zt = /* @__PURE__ */ n(function(t, e) {
580
+ function s(r, f, u, y, g) {
581
+ return r + "," + f + " " + (r + u) + "," + f + " " + (r + u) + "," + (f + y - g) + " " + (r + u - g * 1.2) + "," + (f + y) + " " + r + "," + (f + y);
582
+ }
583
+ n(s, "genPoints");
584
+ const c = t.append("polygon");
585
+ c.attr("points", s(e.x, e.y, 50, 20, 7)), c.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, ct(t, e);
586
+ }, "drawLabel"), Wt = /* @__PURE__ */ n(function(t, e, s) {
587
+ const c = t.append("g"), r = lt();
588
+ r.x = e.x, r.y = e.y, r.fill = e.fill, r.width = s.width * e.taskCount + // width of the tasks
589
+ s.diagramMarginX * (e.taskCount - 1), r.height = s.height, r.class = "journey-section section-type-" + e.num, r.rx = 3, r.ry = 3, J(c, r), ht(s)(
590
+ e.text,
591
+ c,
592
+ r.x,
593
+ r.y,
594
+ r.width,
595
+ r.height,
596
+ { class: "journey-section section-type-" + e.num },
597
+ s,
598
+ e.colour
599
+ );
600
+ }, "drawSection"), nt = -1, Ot = /* @__PURE__ */ n(function(t, e, s) {
601
+ const c = e.x + s.width / 2, r = t.append("g");
602
+ nt++;
603
+ const f = 300 + 5 * 30;
604
+ r.append("line").attr("id", "task" + nt).attr("x1", c).attr("y1", e.y).attr("x2", c).attr("y2", f).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(r, {
605
+ cx: c,
606
+ cy: 300 + (5 - e.score) * 30,
607
+ score: e.score
608
+ });
609
+ const u = lt();
610
+ u.x = e.x, u.y = e.y, u.fill = e.fill, u.width = s.width, u.height = s.height, u.class = "task task-type-" + e.num, u.rx = 3, u.ry = 3, J(r, u);
611
+ let y = e.x + 14;
612
+ e.people.forEach((g) => {
613
+ const m = e.actors[g].color, x = {
614
+ cx: y,
615
+ cy: e.y,
616
+ r: 7,
617
+ fill: m,
618
+ stroke: "#000",
619
+ title: g,
620
+ pos: e.actors[g].position
621
+ };
622
+ ot(r, x), y += 10;
623
+ }), ht(s)(
624
+ e.task,
625
+ r,
626
+ u.x,
627
+ u.y,
628
+ u.width,
629
+ u.height,
630
+ { class: "task" },
631
+ s,
632
+ e.colour
633
+ );
634
+ }, "drawTask"), Yt = /* @__PURE__ */ n(function(t, e) {
635
+ xt(t, e);
636
+ }, "drawBackgroundRect"), ht = /* @__PURE__ */ function() {
637
+ function t(r, f, u, y, g, m, x, h) {
638
+ const i = f.append("text").attr("x", u + g / 2).attr("y", y + m / 2 + 5).style("font-color", h).style("text-anchor", "middle").text(r);
639
+ c(i, x);
640
+ }
641
+ n(t, "byText");
642
+ function e(r, f, u, y, g, m, x, h, i) {
643
+ const { taskFontSize: a, taskFontFamily: l } = h, d = r.split(/<br\s*\/?>/gi);
644
+ for (let p = 0; p < d.length; p++) {
645
+ const o = p * a - a * (d.length - 1) / 2, b = f.append("text").attr("x", u + g / 2).attr("y", y).attr("fill", i).style("text-anchor", "middle").style("font-size", a).style("font-family", l);
646
+ b.append("tspan").attr("x", u + g / 2).attr("dy", o).text(d[p]), b.attr("y", y + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), c(b, x);
647
+ }
648
+ }
649
+ n(e, "byTspan");
650
+ function s(r, f, u, y, g, m, x, h) {
651
+ const i = f.append("switch"), l = i.append("foreignObject").attr("x", u).attr("y", y).attr("width", g).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
652
+ l.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(r), e(r, i, u, y, g, m, x, h), c(l, x);
653
+ }
654
+ n(s, "byFo");
655
+ function c(r, f) {
656
+ for (const u in f)
657
+ u in f && r.attr(u, f[u]);
658
+ }
659
+ return n(c, "_setTextAttrs"), function(r) {
660
+ return r.textPlacement === "fo" ? s : r.textPlacement === "old" ? t : e;
661
+ };
662
+ }(), qt = /* @__PURE__ */ n(function(t) {
663
+ t.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
664
+ }, "initGraphics"), j = {
665
+ drawRect: J,
666
+ drawCircle: ot,
667
+ drawSection: Wt,
668
+ drawText: ct,
669
+ drawLabel: zt,
670
+ drawTask: Ot,
671
+ drawBackgroundRect: Yt,
672
+ initGraphics: qt
673
+ }, Xt = /* @__PURE__ */ n(function(t) {
674
+ Object.keys(t).forEach(function(s) {
675
+ $[s] = t[s];
676
+ });
677
+ }, "setConf"), E = {}, W = 0;
678
+ function ut(t) {
679
+ const e = R().journey, s = e.maxLabelWidth;
680
+ W = 0;
681
+ let c = 60;
682
+ Object.keys(E).forEach((r) => {
683
+ const f = E[r].color, u = {
684
+ cx: 20,
685
+ cy: c,
686
+ r: 7,
687
+ fill: f,
688
+ stroke: "#000",
689
+ pos: E[r].position
690
+ };
691
+ j.drawCircle(t, u);
692
+ let y = t.append("text").attr("visibility", "hidden").text(r);
693
+ const g = y.node().getBoundingClientRect().width;
694
+ y.remove();
695
+ let m = [];
696
+ if (g <= s)
697
+ m = [r];
698
+ else {
699
+ const x = r.split(" ");
700
+ let h = "";
701
+ y = t.append("text").attr("visibility", "hidden"), x.forEach((i) => {
702
+ const a = h ? `${h} ${i}` : i;
703
+ if (y.text(a), y.node().getBoundingClientRect().width > s) {
704
+ if (h && m.push(h), h = i, y.text(i), y.node().getBoundingClientRect().width > s) {
705
+ let d = "";
706
+ for (const p of i)
707
+ d += p, y.text(d + "-"), y.node().getBoundingClientRect().width > s && (m.push(d.slice(0, -1) + "-"), d = p);
708
+ h = d;
709
+ }
710
+ } else
711
+ h = a;
712
+ }), h && m.push(h), y.remove();
713
+ }
714
+ m.forEach((x, h) => {
715
+ const i = {
716
+ x: 40,
717
+ y: c + 7 + h * 20,
718
+ fill: "#666",
719
+ text: x,
720
+ textMargin: e.boxTextMargin ?? 5
721
+ }, l = j.drawText(t, i).node().getBoundingClientRect().width;
722
+ l > W && l > e.leftMargin - l && (W = l);
723
+ }), c += Math.max(20, m.length * 20);
724
+ });
725
+ }
726
+ n(ut, "drawActorLegend");
727
+ var $ = R().journey, P = 0, Gt = /* @__PURE__ */ n(function(t, e, s, c) {
728
+ const r = R(), f = r.journey.titleColor, u = r.journey.titleFontSize, y = r.journey.titleFontFamily, g = r.securityLevel;
729
+ let m;
730
+ g === "sandbox" && (m = G("#i" + e));
731
+ const x = g === "sandbox" ? G(m.nodes()[0].contentDocument.body) : G("body");
732
+ S.init();
733
+ const h = x.select("#" + e);
734
+ j.initGraphics(h);
735
+ const i = c.db.getTasks(), a = c.db.getDiagramTitle(), l = c.db.getActors();
736
+ for (const C in E)
737
+ delete E[C];
738
+ let d = 0;
739
+ l.forEach((C) => {
740
+ E[C] = {
741
+ color: $.actorColours[d % $.actorColours.length],
742
+ position: d
743
+ }, d++;
744
+ }), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50), Ht(h, i, 0);
745
+ const p = S.getBounds();
746
+ a && h.append("text").text(a).attr("x", P).attr("font-size", u).attr("font-weight", "bold").attr("y", 25).attr("fill", f).attr("font-family", y);
747
+ const o = p.stopy - p.starty + 2 * $.diagramMarginY, b = P + p.stopx + 2 * $.diagramMarginX;
748
+ Mt(h, o, b, $.useMaxWidth), h.append("line").attr("x1", P).attr("y1", $.height * 4).attr("x2", b - P - 4).attr("y2", $.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
749
+ const k = a ? 70 : 0;
750
+ h.attr("viewBox", `${p.startx} -25 ${b} ${o + k}`), h.attr("preserveAspectRatio", "xMinYMin meet"), h.attr("height", o + k + 25);
751
+ }, "draw"), S = {
752
+ data: {
753
+ startx: void 0,
754
+ stopx: void 0,
755
+ starty: void 0,
756
+ stopy: void 0
757
+ },
758
+ verticalPos: 0,
759
+ sequenceItems: [],
760
+ init: /* @__PURE__ */ n(function() {
761
+ this.sequenceItems = [], this.data = {
762
+ startx: void 0,
763
+ stopx: void 0,
764
+ starty: void 0,
765
+ stopy: void 0
766
+ }, this.verticalPos = 0;
767
+ }, "init"),
768
+ updateVal: /* @__PURE__ */ n(function(t, e, s, c) {
769
+ t[e] === void 0 ? t[e] = s : t[e] = c(s, t[e]);
770
+ }, "updateVal"),
771
+ updateBounds: /* @__PURE__ */ n(function(t, e, s, c) {
772
+ const r = R().journey, f = this;
773
+ let u = 0;
774
+ function y(g) {
775
+ return /* @__PURE__ */ n(function(x) {
776
+ u++;
777
+ const h = f.sequenceItems.length - u + 1;
778
+ f.updateVal(x, "starty", e - h * r.boxMargin, Math.min), f.updateVal(x, "stopy", c + h * r.boxMargin, Math.max), f.updateVal(S.data, "startx", t - h * r.boxMargin, Math.min), f.updateVal(S.data, "stopx", s + h * r.boxMargin, Math.max), g !== "activation" && (f.updateVal(x, "startx", t - h * r.boxMargin, Math.min), f.updateVal(x, "stopx", s + h * r.boxMargin, Math.max), f.updateVal(S.data, "starty", e - h * r.boxMargin, Math.min), f.updateVal(S.data, "stopy", c + h * r.boxMargin, Math.max));
779
+ }, "updateItemBounds");
780
+ }
781
+ n(y, "updateFn"), this.sequenceItems.forEach(y());
782
+ }, "updateBounds"),
783
+ insert: /* @__PURE__ */ n(function(t, e, s, c) {
784
+ const r = Math.min(t, s), f = Math.max(t, s), u = Math.min(e, c), y = Math.max(e, c);
785
+ this.updateVal(S.data, "startx", r, Math.min), this.updateVal(S.data, "starty", u, Math.min), this.updateVal(S.data, "stopx", f, Math.max), this.updateVal(S.data, "stopy", y, Math.max), this.updateBounds(r, u, f, y);
786
+ }, "insert"),
787
+ bumpVerticalPos: /* @__PURE__ */ n(function(t) {
788
+ this.verticalPos = this.verticalPos + t, this.data.stopy = this.verticalPos;
789
+ }, "bumpVerticalPos"),
790
+ getVerticalPos: /* @__PURE__ */ n(function() {
791
+ return this.verticalPos;
792
+ }, "getVerticalPos"),
793
+ getBounds: /* @__PURE__ */ n(function() {
794
+ return this.data;
795
+ }, "getBounds")
796
+ }, H = $.sectionFills, st = $.sectionColours, Ht = /* @__PURE__ */ n(function(t, e, s) {
797
+ const c = R().journey;
798
+ let r = "";
799
+ const f = c.height * 2 + c.diagramMarginY, u = s + f;
800
+ let y = 0, g = "#CCC", m = "black", x = 0;
801
+ for (const [h, i] of e.entries()) {
802
+ if (r !== i.section) {
803
+ g = H[y % H.length], x = y % H.length, m = st[y % st.length];
804
+ let l = 0;
805
+ const d = i.section;
806
+ for (let o = h; o < e.length && e[o].section == d; o++)
807
+ l = l + 1;
808
+ const p = {
809
+ x: h * c.taskMargin + h * c.width + P,
810
+ y: 50,
811
+ text: i.section,
812
+ fill: g,
813
+ num: x,
814
+ colour: m,
815
+ taskCount: l
816
+ };
817
+ j.drawSection(t, p, c), r = i.section, y++;
818
+ }
819
+ const a = i.people.reduce((l, d) => (E[d] && (l[d] = E[d]), l), {});
820
+ i.x = h * c.taskMargin + h * c.width + P, i.y = u, i.width = c.diagramMarginX, i.height = c.diagramMarginY, i.colour = m, i.fill = g, i.num = x, i.actors = a, j.drawTask(t, i, c), S.insert(i.x, i.y, i.x + i.width + c.taskMargin, 300 + 5 * 30);
821
+ }
822
+ }, "drawTasks"), at = {
823
+ setConf: Xt,
824
+ draw: Gt
825
+ }, Qt = {
826
+ parser: Et,
827
+ db: rt,
828
+ renderer: at,
829
+ styles: jt,
830
+ init: /* @__PURE__ */ n((t) => {
831
+ at.setConf(t.journey), rt.clear();
832
+ }, "init")
833
+ };
834
+ export {
835
+ Qt as diagram
836
+ };