@foris/avocado-not-front 1.12.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/dist/avocado-not-front.es.js +2165 -8
  2. package/dist/avocado-not-front.umd.js +3 -4642
  3. package/dist/hooks/useAction.d.ts +3 -3
  4. package/dist/services/axios/useFetchAndLoad.d.ts +1 -1
  5. package/package.json +35 -18
  6. package/dist/abap-Y8Dl9g_6-Y8Dl9g_6.js +0 -6
  7. package/dist/actionscript-3-DZzbMeqX-DZzbMeqX.js +0 -6
  8. package/dist/ada-vP6ak0IW-vP6ak0IW.js +0 -6
  9. package/dist/andromeeda-BIpZ7gaU-BIpZ7gaU.js +0 -4
  10. package/dist/angular-html-DPB4Rf0C-1_1_4tyh.js +0 -34
  11. package/dist/angular-ts-CeqPwKaz-ohSx1G-R.js +0 -24
  12. package/dist/apache-BUjz-sD2-BUjz-sD2.js +0 -6
  13. package/dist/apex-oLhhs58q-oLhhs58q.js +0 -6
  14. package/dist/apl-Bfz1rp5e-DI6exAvT.js +0 -17
  15. package/dist/applescript-BPx7YFFu-BPx7YFFu.js +0 -6
  16. package/dist/ara-Z2fSOxSw-Z2fSOxSw.js +0 -6
  17. package/dist/arc-DHSZg76Q-C6o4oFmD.js +0 -85
  18. package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX-9O3-degh.js +0 -4672
  19. package/dist/asciidoc-B-pCoB3G-B-pCoB3G.js +0 -6
  20. package/dist/asm-BTWLY5ym-BTWLY5ym.js +0 -6
  21. package/dist/astro-CFFExE8Q-D857V_mk.js +0 -18
  22. package/dist/aurora-x-BwoVEUWZ-BwoVEUWZ.js +0 -4
  23. package/dist/awk-Fb0P9dkn-Fb0P9dkn.js +0 -6
  24. package/dist/ayu-dark-CxPZkpb2-CxPZkpb2.js +0 -4
  25. package/dist/ballerina-oZK-YekG-oZK-YekG.js +0 -6
  26. package/dist/bat-0FvbqU9S-0FvbqU9S.js +0 -6
  27. package/dist/beancount-DqJEb89h-DqJEb89h.js +0 -6
  28. package/dist/berry-DODBq_Ff-DODBq_Ff.js +0 -6
  29. package/dist/bibtex-EULQRLY5-EULQRLY5.js +0 -6
  30. package/dist/bicep-BorU73w0-BorU73w0.js +0 -6
  31. package/dist/blade-DRRSiTQz-DuQj1Sqy.js +0 -21
  32. package/dist/blockDiagram-VD42YOAC-B4cTulr6-CNlYtTjf.js +0 -2407
  33. package/dist/bsl-NkNNwerW-DeWv6DbE.js +0 -8
  34. package/dist/c-eeMepfLm-eeMepfLm.js +0 -6
  35. package/dist/c4Diagram-YG6GDRKO-B8--s8xx-CZw1PsLU.js +0 -1585
  36. package/dist/cadence-02UX7mW8-02UX7mW8.js +0 -6
  37. package/dist/cairo-DM6WF2e3-BLxuUSuB.js +0 -8
  38. package/dist/catppuccin-frappe-D3cH2rXe-D3cH2rXe.js +0 -4
  39. package/dist/catppuccin-latte-C0LRGUW4-C0LRGUW4.js +0 -4
  40. package/dist/catppuccin-macchiato-c5wQ11TT-c5wQ11TT.js +0 -4
  41. package/dist/catppuccin-mocha-WMD6Qvya-WMD6Qvya.js +0 -4
  42. package/dist/channel-Cqk_cOiy-72hMZ_v0.js +0 -5
  43. package/dist/chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js +0 -9
  44. package/dist/chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js +0 -8
  45. package/dist/chunk-B4BG7PRW-CFs53zrP-DB12fnkn.js +0 -1375
  46. package/dist/chunk-DI55MBZ5-CKjAOeh7-D98MsfUL.js +0 -1383
  47. package/dist/chunk-FMBD7UC4-B29MtLTn-tjtGIWPm.js +0 -19
  48. package/dist/chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js +0 -20
  49. package/dist/chunk-QZHKN3VN-B_Q6cMrq-78n0e61s.js +0 -15
  50. package/dist/chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js +0 -64
  51. package/dist/clarity-PKm5CwqM-PKm5CwqM.js +0 -6
  52. package/dist/classDiagram-2ON5EDUG-DJmXfcVi-CF8YlvOv.js +0 -22
  53. package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi-CF8YlvOv.js +0 -22
  54. package/dist/clojure-CXJfHrL3-CXJfHrL3.js +0 -6
  55. package/dist/cmake-BJz8BOTU-BJz8BOTU.js +0 -6
  56. package/dist/cobol-DYTFdEK1-1eoMdnt0.js +0 -12
  57. package/dist/code-block-QI2IAROF-C_F85uim-MNaL7yo9.js +0 -2805
  58. package/dist/codeowners-Bt9yU6NX-Bt9yU6NX.js +0 -6
  59. package/dist/codeql-DHkodjjI-DHkodjjI.js +0 -6
  60. package/dist/coffee-DGBR_nr_-Cu5d6u6p.js +0 -8
  61. package/dist/common-lisp-EVqT9Zhp-EVqT9Zhp.js +0 -6
  62. package/dist/coq-B0L9upzn-B0L9upzn.js +0 -6
  63. package/dist/cose-bilkent-S5V4N54A-N3jM_XQd-BbbJbKzj.js +0 -2612
  64. package/dist/cpp-ZFnOq6fV-CkUSzFY-.js +0 -19
  65. package/dist/crystal-CRJyc4G--B_7jzPPy.js +0 -18
  66. package/dist/csharp-C7yUs7-w-C7yUs7-w.js +0 -6
  67. package/dist/css-CECN5uSL-CECN5uSL.js +0 -6
  68. package/dist/csv-CmYOceLb-DlI6xKnA.js +0 -6
  69. package/dist/cue-ZzumE7IT-ZzumE7IT.js +0 -6
  70. package/dist/cypher-jpdmjtA6-jpdmjtA6.js +0 -6
  71. package/dist/cytoscape.esm-ClN43hhW-Dh4GqQxb.js +0 -18836
  72. package/dist/d-CBagWSwH-CBagWSwH.js +0 -6
  73. package/dist/dagre-6UL2VRFP-CJdrtgOu-CLaqjT6l.js +0 -451
  74. package/dist/dark-plus-pUHDTVV0-pUHDTVV0.js +0 -4
  75. package/dist/dart-6ObCrKr9-6ObCrKr9.js +0 -6
  76. package/dist/dax-CcDT-8dH-CcDT-8dH.js +0 -6
  77. package/dist/defaultLocale-DcQU6Vee-C62bXCQv.js +0 -177
  78. package/dist/desktop-B93p9R9O-B93p9R9O.js +0 -6
  79. package/dist/diagram-PSM6KHXK-DSaDqHvO-DVH1Sew6.js +0 -544
  80. package/dist/diagram-QEK2KX5R-BbxboH_--DYDmO4S1.js +0 -224
  81. package/dist/diagram-S2PKOQOG-DWsCb5He--yPVUK-A.js +0 -146
  82. package/dist/diff-BxzP2J8R-BxzP2J8R.js +0 -6
  83. package/dist/docker-CsHqm9tx-CsHqm9tx.js +0 -6
  84. package/dist/dotenv-BMjVjUL1-BMjVjUL1.js +0 -6
  85. package/dist/dracula-BtZx2Kac-BtZx2Kac.js +0 -4
  86. package/dist/dracula-soft-BKa-aqBv-BKa-aqBv.js +0 -4
  87. package/dist/dream-maker-PAx17jaB-PAx17jaB.js +0 -6
  88. package/dist/edge-B882-fmN-CXsL8OuZ.js +0 -14
  89. package/dist/elixir-DRzNHQCz-EnC5QsDh.js +0 -10
  90. package/dist/elm-DZPAA5Qn-BCPZo0aa.js +0 -9
  91. package/dist/emacs-lisp-Cfxdx5D--Cfxdx5D-.js +0 -6
  92. package/dist/erDiagram-Q2GNP2WA-Bl0uHx93-Cm6cgw10.js +0 -844
  93. package/dist/erb-DB1DqdBc-CnAEHkSC.js +0 -27
  94. package/dist/erlang-DNcDT8Hi-Cs3llSSi.js +0 -8
  95. package/dist/everforest-dark-DMCBqXCK-DMCBqXCK.js +0 -4
  96. package/dist/everforest-light-BbXl82Em-BbXl82Em.js +0 -4
  97. package/dist/fennel-N4WcXuKx-N4WcXuKx.js +0 -6
  98. package/dist/fish-BTDEUgqH-BTDEUgqH.js +0 -6
  99. package/dist/flowDiagram-NV44I4VS-Dq0mXT8f-BL0sk42H.js +0 -1631
  100. package/dist/fluent-BMXUxfv1-BMXUxfv1.js +0 -6
  101. package/dist/fortran-fixed-form-DUsA-VGo-CYX4aMfD.js +0 -8
  102. package/dist/fortran-free-form-DPIT_jbP-DPIT_jbP.js +0 -6
  103. package/dist/fsharp-CYOiIVNx-D3KYyprZ.js +0 -8
  104. package/dist/ganttDiagram-JELNMOA3-Dj1adndm-BODWVm5T.js +0 -2702
  105. package/dist/gdresource-BwtMIoBm-DVtwhfL2.js +0 -10
  106. package/dist/gdscript-BifyeYhI-BifyeYhI.js +0 -6
  107. package/dist/gdshader-Bk8fF6yr-Bk8fF6yr.js +0 -6
  108. package/dist/genie-DzUvd7U9-DzUvd7U9.js +0 -6
  109. package/dist/gherkin-DHRaV0YP-DHRaV0YP.js +0 -6
  110. package/dist/git-commit-Bd32YZ0K-D9qSjMiw.js +0 -8
  111. package/dist/git-rebase-ZWUFO_T4-uqUGWt5o.js +0 -8
  112. package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1-BsIE257G.js +0 -715
  113. package/dist/github-dark-DenFmJkN-DenFmJkN.js +0 -4
  114. package/dist/github-dark-default-BJPUVz4H-BJPUVz4H.js +0 -4
  115. package/dist/github-dark-dimmed-DUshB20C-DUshB20C.js +0 -4
  116. package/dist/github-dark-high-contrast-D3aGCnF8-D3aGCnF8.js +0 -4
  117. package/dist/github-light-JYsPkUQd-JYsPkUQd.js +0 -4
  118. package/dist/github-light-default-D99KPAby-D99KPAby.js +0 -4
  119. package/dist/github-light-high-contrast-BbmZE-Mp-BbmZE-Mp.js +0 -4
  120. package/dist/gleam-Bv284lvN-Bv284lvN.js +0 -6
  121. package/dist/glimmer-js-DkxNrfPT-Dr8vv_dk.js +0 -14
  122. package/dist/glimmer-ts-D6YZEmK_-CeJS1lkt.js +0 -14
  123. package/dist/glsl-CkUcVZNK-D6P60Alb.js +0 -8
  124. package/dist/gnuplot-yPG9-sE_-yPG9-sE_.js +0 -6
  125. package/dist/go-ChxJuLYK-ChxJuLYK.js +0 -6
  126. package/dist/graph-DB2UxkYH-Bs-uwV4G.js +0 -1190
  127. package/dist/graphql-CBu2ehBn-B9KpeKh4.js +0 -14
  128. package/dist/groovy-CJQTphOW-CJQTphOW.js +0 -6
  129. package/dist/gruvbox-dark-hard-C5HOtKIh-C5HOtKIh.js +0 -4
  130. package/dist/gruvbox-dark-medium-FVgwJHuz-FVgwJHuz.js +0 -4
  131. package/dist/gruvbox-dark-soft-B46F314v-B46F314v.js +0 -4
  132. package/dist/gruvbox-light-hard-CJD38wDZ-CJD38wDZ.js +0 -4
  133. package/dist/gruvbox-light-medium-BlIhMYTA-BlIhMYTA.js +0 -4
  134. package/dist/gruvbox-light-soft-DoPHyLVZ-DoPHyLVZ.js +0 -4
  135. package/dist/hack-DVWgrvc2-CFszvyOs.js +0 -12
  136. package/dist/haml-NZLVzu_R-6sAynSNG.js +0 -10
  137. package/dist/handlebars-mxStpSE7-C1GOcwW1.js +0 -14
  138. package/dist/haskell-WeIwNIP6-WeIwNIP6.js +0 -6
  139. package/dist/haxe-TztHsm5T-TztHsm5T.js +0 -6
  140. package/dist/hcl-D438OF-I-D438OF-I.js +0 -6
  141. package/dist/hjson-DYBUbqOl-DYBUbqOl.js +0 -6
  142. package/dist/hlsl-Bk8TCZNL-Bk8TCZNL.js +0 -6
  143. package/dist/houston-BDYrDoDW-BDYrDoDW.js +0 -4
  144. package/dist/html-B50bmoVb-BJ3eCZKL.js +0 -10
  145. package/dist/html-derivative-ByyNxAP5-BxLhKRHw.js +0 -10
  146. package/dist/http-BVIWqb92-CjnDmEd8.js +0 -19
  147. package/dist/hurl-B8OTiYoQ-DoRwHSAy.js +0 -17
  148. package/dist/hxml-GbqSQCLa-BnvJylRx.js +0 -8
  149. package/dist/hy-Brt5EZ7--Brt5EZ7-.js +0 -6
  150. package/dist/imba-CimUv-Uh-CimUv-Uh.js +0 -6
  151. package/dist/infoDiagram-WHAUD3N6-DPjzRs82-ChgGSBbk.js +0 -27
  152. package/dist/ini-BZIuRIvJ-BZIuRIvJ.js +0 -6
  153. package/dist/init-DjUOC4st-C8Nwz6AJ.js +0 -16
  154. package/dist/java-DY6VlHhP-DY6VlHhP.js +0 -6
  155. package/dist/javascript-C25yR2R2-C25yR2R2.js +0 -6
  156. package/dist/jinja-CI-LSgSv-BEWEZ83m.js +0 -13
  157. package/dist/jison-DdreslRX-DzaoIrEq.js +0 -8
  158. package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq-DYzqQ6Qu.js +0 -840
  159. package/dist/json-DxJze_jm-DxJze_jm.js +0 -6
  160. package/dist/json5-BT4Fjg39-BT4Fjg39.js +0 -6
  161. package/dist/jsonc-CHjZD8gR-CHjZD8gR.js +0 -6
  162. package/dist/jsonl-BGuvDmy9-BGuvDmy9.js +0 -6
  163. package/dist/jsonnet-Bx2cfsXg-Bx2cfsXg.js +0 -6
  164. package/dist/jssm-BcADi6EI-BcADi6EI.js +0 -6
  165. package/dist/jsx-BtKADgXT-BtKADgXT.js +0 -6
  166. package/dist/julia-ll8P6QXy-CifMye9u.js +0 -19
  167. package/dist/kanagawa-dragon-CiKur4Hl-CiKur4Hl.js +0 -4
  168. package/dist/kanagawa-lotus-BKu-smKu-BKu-smKu.js +0 -4
  169. package/dist/kanagawa-wave-CQwozSzG-CQwozSzG.js +0 -4
  170. package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx-Bz8MmnxI.js +0 -724
  171. package/dist/katex.min-l0sNRNKZ-l0sNRNKZ.js +0 -1
  172. package/dist/kdl-BNOv9TC3-0Q4F1UAs.js +0 -6
  173. package/dist/kotlin-ByBMgTeR-ByBMgTeR.js +0 -6
  174. package/dist/kusto-VWFLl2T0-VWFLl2T0.js +0 -6
  175. package/dist/laserwave-6a00oqik-6a00oqik.js +0 -4
  176. package/dist/latex-DF20280u-RMy1LUrW.js +0 -9
  177. package/dist/layout-Q6wQN5dr-BC95Y2G0.js +0 -1727
  178. package/dist/lean-D5yRrexI-D5yRrexI.js +0 -6
  179. package/dist/less-B1GLI2Di-B1GLI2Di.js +0 -6
  180. package/dist/light-plus-CZuVqSLX-CZuVqSLX.js +0 -4
  181. package/dist/linear-UL3ZZUJv-CWZvrkAD.js +0 -277
  182. package/dist/liquid-CHzkx3jT-G75tv0iE.js +0 -14
  183. package/dist/llvm-co1rIKs3-co1rIKs3.js +0 -6
  184. package/dist/log-Al8wyEFV-Al8wyEFV.js +0 -6
  185. package/dist/logo-DBa4JDzV-DBa4JDzV.js +0 -6
  186. package/dist/lua-kX5WP_P5-DxLUTRud.js +0 -8
  187. package/dist/luau-DtBSxLyz-DtBSxLyz.js +0 -6
  188. package/dist/make-CsMclxtr-CsMclxtr.js +0 -6
  189. package/dist/markdown-CrScaQ96-CrScaQ96.js +0 -6
  190. package/dist/marko-ls0Jg2j8-BHrfxEh0.js +0 -14
  191. package/dist/material-theme-D6KBX41T-D6KBX41T.js +0 -4
  192. package/dist/material-theme-darker-CkRroheE-CkRroheE.js +0 -4
  193. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +0 -4
  194. package/dist/material-theme-ocean-ClGX14Ja-ClGX14Ja.js +0 -4
  195. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +0 -4
  196. package/dist/matlab-BOAaUVP0-BOAaUVP0.js +0 -6
  197. package/dist/mdc-DIP5_jeM-Cff0amyo.js +0 -15
  198. package/dist/mdx-BOhZZUJ8-BOhZZUJ8.js +0 -6
  199. package/dist/mermaid-B0ixDHKN-B0ixDHKN.js +0 -6
  200. package/dist/mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js +0 -140994
  201. package/dist/mermaid.core-Cpfp0NBU-DQS-fLaZ.js +0 -14401
  202. package/dist/min-dark-C7ak0t6c-C7ak0t6c.js +0 -4
  203. package/dist/min-light-CKFxVcPp-CKFxVcPp.js +0 -4
  204. package/dist/mindmap-definition-VGOIOE7T-B6ovfeib-CXlRkpn9.js +0 -790
  205. package/dist/mipsasm-CTx18fBl-CTx18fBl.js +0 -6
  206. package/dist/mojo-BD611d7o-BD611d7o.js +0 -6
  207. package/dist/monokai-C1KBYcO0-C1KBYcO0.js +0 -4
  208. package/dist/move-F-dICmj2-F-dICmj2.js +0 -6
  209. package/dist/narrat-DmhDCBs--DmhDCBs-.js +0 -6
  210. package/dist/nextflow-DmSVRGjG-DmSVRGjG.js +0 -6
  211. package/dist/nginx-COxS3qoU-CvZmIOfz.js +0 -9
  212. package/dist/night-owl-Bm2rzalh-Bm2rzalh.js +0 -4
  213. package/dist/nim-CCwXZLHG-CVhjPGL5.js +0 -21
  214. package/dist/nix-BZK5F767-BZK5F767.js +0 -9
  215. package/dist/nord-CC5OiUXg-CC5OiUXg.js +0 -4
  216. package/dist/nushell-D8j3dhT--D8j3dhT-.js +0 -6
  217. package/dist/objective-c-Itk8tzmv-Itk8tzmv.js +0 -6
  218. package/dist/objective-cpp-DGt5UKRO-DGt5UKRO.js +0 -6
  219. package/dist/ocaml-eSVK32Eg-eSVK32Eg.js +0 -6
  220. package/dist/one-dark-pro-DTA3VF0_-DTA3VF0_.js +0 -4
  221. package/dist/one-light-D9sNaUtq-D9sNaUtq.js +0 -4
  222. package/dist/openscad-Sp5uZ6f2-Sp5uZ6f2.js +0 -6
  223. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +0 -65
  224. package/dist/pascal-xy8pJNns-xy8pJNns.js +0 -6
  225. package/dist/perl-NvKK8p2P-DbsmNmLT.js +0 -17
  226. package/dist/php-CK5hNnT0-DEpqLZ_n.js +0 -19
  227. package/dist/pieDiagram-ADFJNKIX-Bn24elWA-iGwy_4tX.js +0 -166
  228. package/dist/pkl-C-zSNmaA-C-zSNmaA.js +0 -6
  229. package/dist/plastic-CSTz3KZp-CSTz3KZp.js +0 -4
  230. package/dist/plsql-pVbGZfOv-pVbGZfOv.js +0 -6
  231. package/dist/po-BNfHvqmm-BNfHvqmm.js +0 -6
  232. package/dist/poimandres-C-VADXHD-C-VADXHD.js +0 -4
  233. package/dist/polar-CAZahv3u-CAZahv3u.js +0 -6
  234. package/dist/postcss-05aHdL-n-05aHdL-n.js +0 -6
  235. package/dist/powerquery-DI9HkTvs-DI9HkTvs.js +0 -6
  236. package/dist/powershell-Clc4ydu--Clc4ydu-.js +0 -6
  237. package/dist/prisma-FZjmVtSl-FZjmVtSl.js +0 -6
  238. package/dist/prolog-C5-yg4TO-C5-yg4TO.js +0 -6
  239. package/dist/proto-MmCPeFAD-MmCPeFAD.js +0 -6
  240. package/dist/pug-XOw9Q1Ho-BO4tUzTj.js +0 -12
  241. package/dist/puppet-CUJHmnxV-CUJHmnxV.js +0 -6
  242. package/dist/purescript-rUfGld-4-rUfGld-4.js +0 -6
  243. package/dist/python-BFNSHbwJ-BFNSHbwJ.js +0 -6
  244. package/dist/qml-rTNXsquU-DeTe0b4l.js +0 -8
  245. package/dist/qmldir-BInDYbpo-BInDYbpo.js +0 -6
  246. package/dist/qss-AeJTysr_-AeJTysr_.js +0 -6
  247. package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll-CFP8fgtI.js +0 -1030
  248. package/dist/r-Bm0uF0U2-Bm0uF0U2.js +0 -6
  249. package/dist/racket-B83wSAja-B83wSAja.js +0 -6
  250. package/dist/raku-nEQ4ZJJ7-nEQ4ZJJ7.js +0 -6
  251. package/dist/razor-CoqPuKQU-DUBs-Qe6.js +0 -12
  252. package/dist/red-7y8PH7HH-7y8PH7HH.js +0 -4
  253. package/dist/reg-m_s_Kiip-m_s_Kiip.js +0 -6
  254. package/dist/regexp-BazyLpPg-BazyLpPg.js +0 -6
  255. package/dist/rel-BcRfyd6Q-BcRfyd6Q.js +0 -6
  256. package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz-CC8EZoyz.js +0 -854
  257. package/dist/riscv-Ce8MAQLP-Ce8MAQLP.js +0 -6
  258. package/dist/rose-pine-BKc3yVeu-BKc3yVeu.js +0 -4
  259. package/dist/rose-pine-dawn-BulJcPZT-BulJcPZT.js +0 -4
  260. package/dist/rose-pine-moon-j6jiXKV8-j6jiXKV8.js +0 -4
  261. package/dist/rosmsg-Cz0w1km8-Cz0w1km8.js +0 -6
  262. package/dist/rst-AoEjemIj-Dr7TcJwd.js +0 -36
  263. package/dist/ruby-CGSl8JoB-D4hDjzwe.js +0 -36
  264. package/dist/rust-CLzF9zIN-CLzF9zIN.js +0 -6
  265. package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k-DhByp8vU.js +0 -830
  266. package/dist/sas-fpEvgATw-D9dNv8Ej.js +0 -8
  267. package/dist/sass-DxHp5rTx-DxHp5rTx.js +0 -6
  268. package/dist/scala-D4grkFkl-D4grkFkl.js +0 -6
  269. package/dist/scheme-BCRWuEm4-BCRWuEm4.js +0 -6
  270. package/dist/scss-B1FaCqwR-DbNEJJFR.js +0 -8
  271. package/dist/sdbl-B7T8abf4-B7T8abf4.js +0 -6
  272. package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7-DcFuWrLs.js +0 -2526
  273. package/dist/shaderlab-Cr62-Wb4-D_jbKjpl.js +0 -8
  274. package/dist/shellscript-InADTalH-InADTalH.js +0 -6
  275. package/dist/shellsession-DiDJNQdy-BGvYrs9g.js +0 -8
  276. package/dist/slack-dark-i7wN4OET-i7wN4OET.js +0 -4
  277. package/dist/slack-ochin-ndHf0LoP-ndHf0LoP.js +0 -4
  278. package/dist/smalltalk-BlI1_OkM-BlI1_OkM.js +0 -6
  279. package/dist/snazzy-light-BlSJXAu4-BlSJXAu4.js +0 -4
  280. package/dist/solarized-dark-UTmkh7lw-UTmkh7lw.js +0 -4
  281. package/dist/solarized-light-BheCkDPT-BheCkDPT.js +0 -4
  282. package/dist/solidity-DUWnFhS6-DUWnFhS6.js +0 -6
  283. package/dist/soy-YPoZ1G2p-C1q7UQeu.js +0 -10
  284. package/dist/sparql-B0KWFEri-CqC-y0Su.js +0 -8
  285. package/dist/splunk-CRXR8A9s-CRXR8A9s.js +0 -6
  286. package/dist/sql-Cn_v3PB0-Cn_v3PB0.js +0 -6
  287. package/dist/ssh-config-DP-hNVbF-DP-hNVbF.js +0 -6
  288. package/dist/stata-B8c5fTjX-Bf3brRPV.js +0 -8
  289. package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8-FBnBvaVW.js +0 -268
  290. package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b-B_Pfgmu4.js +0 -21
  291. package/dist/stylus-CyKEU1Ej-CyKEU1Ej.js +0 -6
  292. package/dist/svelte-5UasyOg7-e8KUCojE.js +0 -14
  293. package/dist/swift-9UzSvamq-9UzSvamq.js +0 -6
  294. package/dist/synthwave-84-NU3C_KFZ-NU3C_KFZ.js +0 -4
  295. package/dist/system-verilog-BCm7smPJ-BCm7smPJ.js +0 -6
  296. package/dist/systemd-C-4qm6XH-C-4qm6XH.js +0 -6
  297. package/dist/talonscript-CFF3LF_O-CvtCkGGO.js +0 -6
  298. package/dist/tasl-Cg_WBUAe-Cg_WBUAe.js +0 -6
  299. package/dist/tcl-DN7buRTF-DN7buRTF.js +0 -6
  300. package/dist/templ-peLZIM2D-DkTUdVi-.js +0 -12
  301. package/dist/terraform-DGvcn9zM-DGvcn9zM.js +0 -6
  302. package/dist/tex-DpOayVob-BjP51rYh.js +0 -8
  303. package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h-DfdfMl2Q.js +0 -805
  304. package/dist/tokyo-night-DP4TmcQl-DP4TmcQl.js +0 -4
  305. package/dist/toml-DY62mUL_-DY62mUL_.js +0 -6
  306. package/dist/treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js +0 -15006
  307. package/dist/ts-tags-CWmBp2js-DrKIoTCJ.js +0 -43
  308. package/dist/tsv-BtvSkaG0-BtvSkaG0.js +0 -6
  309. package/dist/tsx-B8rCNbgL-B8rCNbgL.js +0 -6
  310. package/dist/turtle-_H59FV7D-_H59FV7D.js +0 -6
  311. package/dist/twig-Cpoho6oi-CQE9XWXP.js +0 -35
  312. package/dist/typescript-RycA9KXf-RycA9KXf.js +0 -6
  313. package/dist/typespec-DWqp-kUU-DWqp-kUU.js +0 -6
  314. package/dist/typst-D_1QKWns-D_1QKWns.js +0 -6
  315. package/dist/v-BPCNiyYe-BPCNiyYe.js +0 -6
  316. package/dist/vala-uxaPR7d1-uxaPR7d1.js +0 -6
  317. package/dist/vb-D8_c5-KN-D8_c5-KN.js +0 -6
  318. package/dist/verilog-B-bybjPF-B-bybjPF.js +0 -6
  319. package/dist/vesper-BckBta1U-BckBta1U.js +0 -4
  320. package/dist/vhdl-CUlNa8ac-CUlNa8ac.js +0 -6
  321. package/dist/viml-DsfA-sWm-DsfA-sWm.js +0 -6
  322. package/dist/vitesse-black-BoGvW84i-BoGvW84i.js +0 -4
  323. package/dist/vitesse-dark-Cym-eLtO-Cym-eLtO.js +0 -4
  324. package/dist/vitesse-light-CcmG315c-CcmG315c.js +0 -4
  325. package/dist/vue-DmFKWfEU-DXvRBLDJ.js +0 -31
  326. package/dist/vue-html-BB2aI7Yc-e0S8MQFq.js +0 -15
  327. package/dist/vue-vine-CznNap4x-DAbzn77p.js +0 -24
  328. package/dist/vyper-CPQuu50u-CPQuu50u.js +0 -6
  329. package/dist/wasm-BBXxrAl7-BBXxrAl7.js +0 -6
  330. package/dist/wasm-DQxwEHae-DQxwEHae.js +0 -7
  331. package/dist/wenyan-pbVjoM9_-pbVjoM9_.js +0 -6
  332. package/dist/wgsl-DY4iK1q1-DY4iK1q1.js +0 -6
  333. package/dist/wikitext-Z-MoUasO-Z-MoUasO.js +0 -6
  334. package/dist/wit-CQMQOlTg-CQMQOlTg.js +0 -6
  335. package/dist/wolfram-Dz4KXISs-Dz4KXISs.js +0 -6
  336. package/dist/xml-C2J0sS9M-IZlib8U3.js +0 -8
  337. package/dist/xsl-CbTBIiv3-CgleMmCH.js +0 -9
  338. package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u-CFsnZXTL.js +0 -1345
  339. package/dist/yaml-DaO7k5B1-DaO7k5B1.js +0 -6
  340. package/dist/zenscript-CxBjpf9c-CxBjpf9c.js +0 -6
  341. package/dist/zig-Vm0PO9wB-Vm0PO9wB.js +0 -6
@@ -1,1585 +0,0 @@
1
- import { o as ve, y as Re } from "./chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js";
2
- import { _ as g, s as De, g as Pe, b as Ne, c as Be, d as Rt, a as Me, w as je, e as Jt, f as de, h as wt, i as fe, j as jt, l as ue, k as Le, m as Ye } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
3
- import "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
4
- import "react";
5
- import "react-dom";
6
- var Yt = function() {
7
- var e = /* @__PURE__ */ g(function(z, _, x, b) {
8
- for (x = x || {}, b = z.length; b--; x[z[b]] = _)
9
- ;
10
- return x;
11
- }, "o"), t = [1, 24], s = [1, 25], h = [1, 26], l = [1, 27], n = [1, 28], i = [1, 63], r = [1, 64], a = [1, 65], d = [1, 66], p = [1, 67], u = [1, 68], f = [1, 69], E = [1, 29], T = [1, 30], v = [1, 31], B = [1, 32], X = [1, 33], I = [1, 34], H = [1, 35], V = [1, 36], G = [1, 37], K = [1, 38], J = [1, 39], Z = [1, 40], tt = [1, 41], et = [1, 42], nt = [1, 43], at = [1, 44], it = [1, 45], rt = [1, 46], st = [1, 47], lt = [1, 48], ot = [1, 50], ct = [1, 51], ht = [1, 52], dt = [1, 53], ut = [1, 54], pt = [1, 55], yt = [1, 56], ft = [1, 57], gt = [1, 58], bt = [1, 59], _t = [1, 60], kt = [14, 42], zt = [14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], Tt = [12, 14, 34, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], S = [1, 82], A = [1, 83], C = [1, 84], k = [1, 85], O = [12, 14, 42], se = [12, 14, 33, 42], Pt = [12, 14, 33, 42, 76, 77, 79, 80], Et = [12, 33], $t = [34, 36, 37, 38, 39, 40, 41, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74], Qt = {
12
- trace: /* @__PURE__ */ g(function() {
13
- }, "trace"),
14
- yy: {},
15
- symbols_: { error: 2, start: 3, mermaidDoc: 4, direction: 5, direction_tb: 6, direction_bt: 7, direction_rl: 8, direction_lr: 9, graphConfig: 10, C4_CONTEXT: 11, NEWLINE: 12, statements: 13, EOF: 14, C4_CONTAINER: 15, C4_COMPONENT: 16, C4_DYNAMIC: 17, C4_DEPLOYMENT: 18, otherStatements: 19, diagramStatements: 20, otherStatement: 21, title: 22, accDescription: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, boundaryStatement: 29, boundaryStartStatement: 30, boundaryStopStatement: 31, boundaryStart: 32, LBRACE: 33, ENTERPRISE_BOUNDARY: 34, attributes: 35, SYSTEM_BOUNDARY: 36, BOUNDARY: 37, CONTAINER_BOUNDARY: 38, NODE: 39, NODE_L: 40, NODE_R: 41, RBRACE: 42, diagramStatement: 43, PERSON: 44, PERSON_EXT: 45, SYSTEM: 46, SYSTEM_DB: 47, SYSTEM_QUEUE: 48, SYSTEM_EXT: 49, SYSTEM_EXT_DB: 50, SYSTEM_EXT_QUEUE: 51, CONTAINER: 52, CONTAINER_DB: 53, CONTAINER_QUEUE: 54, CONTAINER_EXT: 55, CONTAINER_EXT_DB: 56, CONTAINER_EXT_QUEUE: 57, COMPONENT: 58, COMPONENT_DB: 59, COMPONENT_QUEUE: 60, COMPONENT_EXT: 61, COMPONENT_EXT_DB: 62, COMPONENT_EXT_QUEUE: 63, REL: 64, BIREL: 65, REL_U: 66, REL_D: 67, REL_L: 68, REL_R: 69, REL_B: 70, REL_INDEX: 71, UPDATE_EL_STYLE: 72, UPDATE_REL_STYLE: 73, UPDATE_LAYOUT_CONFIG: 74, attribute: 75, STR: 76, STR_KEY: 77, STR_VALUE: 78, ATTRIBUTE: 79, ATTRIBUTE_EMPTY: 80, $accept: 0, $end: 1 },
16
- terminals_: { 2: "error", 6: "direction_tb", 7: "direction_bt", 8: "direction_rl", 9: "direction_lr", 11: "C4_CONTEXT", 12: "NEWLINE", 14: "EOF", 15: "C4_CONTAINER", 16: "C4_COMPONENT", 17: "C4_DYNAMIC", 18: "C4_DEPLOYMENT", 22: "title", 23: "accDescription", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "LBRACE", 34: "ENTERPRISE_BOUNDARY", 36: "SYSTEM_BOUNDARY", 37: "BOUNDARY", 38: "CONTAINER_BOUNDARY", 39: "NODE", 40: "NODE_L", 41: "NODE_R", 42: "RBRACE", 44: "PERSON", 45: "PERSON_EXT", 46: "SYSTEM", 47: "SYSTEM_DB", 48: "SYSTEM_QUEUE", 49: "SYSTEM_EXT", 50: "SYSTEM_EXT_DB", 51: "SYSTEM_EXT_QUEUE", 52: "CONTAINER", 53: "CONTAINER_DB", 54: "CONTAINER_QUEUE", 55: "CONTAINER_EXT", 56: "CONTAINER_EXT_DB", 57: "CONTAINER_EXT_QUEUE", 58: "COMPONENT", 59: "COMPONENT_DB", 60: "COMPONENT_QUEUE", 61: "COMPONENT_EXT", 62: "COMPONENT_EXT_DB", 63: "COMPONENT_EXT_QUEUE", 64: "REL", 65: "BIREL", 66: "REL_U", 67: "REL_D", 68: "REL_L", 69: "REL_R", 70: "REL_B", 71: "REL_INDEX", 72: "UPDATE_EL_STYLE", 73: "UPDATE_REL_STYLE", 74: "UPDATE_LAYOUT_CONFIG", 76: "STR", 77: "STR_KEY", 78: "STR_VALUE", 79: "ATTRIBUTE", 80: "ATTRIBUTE_EMPTY" },
17
- productions_: [0, [3, 1], [3, 1], [5, 1], [5, 1], [5, 1], [5, 1], [4, 1], [10, 4], [10, 4], [10, 4], [10, 4], [10, 4], [13, 1], [13, 1], [13, 2], [19, 1], [19, 2], [19, 3], [21, 1], [21, 1], [21, 2], [21, 2], [21, 1], [29, 3], [30, 3], [30, 3], [30, 4], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [32, 2], [31, 1], [20, 1], [20, 2], [20, 3], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 1], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [43, 2], [35, 1], [35, 2], [75, 1], [75, 2], [75, 1], [75, 1]],
18
- performAction: /* @__PURE__ */ g(function(z, _, x, b, w, o, P) {
19
- var y = o.length - 1;
20
- switch (w) {
21
- case 3:
22
- b.setDirection("TB");
23
- break;
24
- case 4:
25
- b.setDirection("BT");
26
- break;
27
- case 5:
28
- b.setDirection("RL");
29
- break;
30
- case 6:
31
- b.setDirection("LR");
32
- break;
33
- case 8:
34
- case 9:
35
- case 10:
36
- case 11:
37
- case 12:
38
- b.setC4Type(o[y - 3]);
39
- break;
40
- case 19:
41
- b.setTitle(o[y].substring(6)), this.$ = o[y].substring(6);
42
- break;
43
- case 20:
44
- b.setAccDescription(o[y].substring(15)), this.$ = o[y].substring(15);
45
- break;
46
- case 21:
47
- this.$ = o[y].trim(), b.setTitle(this.$);
48
- break;
49
- case 22:
50
- case 23:
51
- this.$ = o[y].trim(), b.setAccDescription(this.$);
52
- break;
53
- case 28:
54
- o[y].splice(2, 0, "ENTERPRISE"), b.addPersonOrSystemBoundary(...o[y]), this.$ = o[y];
55
- break;
56
- case 29:
57
- o[y].splice(2, 0, "SYSTEM"), b.addPersonOrSystemBoundary(...o[y]), this.$ = o[y];
58
- break;
59
- case 30:
60
- b.addPersonOrSystemBoundary(...o[y]), this.$ = o[y];
61
- break;
62
- case 31:
63
- o[y].splice(2, 0, "CONTAINER"), b.addContainerBoundary(...o[y]), this.$ = o[y];
64
- break;
65
- case 32:
66
- b.addDeploymentNode("node", ...o[y]), this.$ = o[y];
67
- break;
68
- case 33:
69
- b.addDeploymentNode("nodeL", ...o[y]), this.$ = o[y];
70
- break;
71
- case 34:
72
- b.addDeploymentNode("nodeR", ...o[y]), this.$ = o[y];
73
- break;
74
- case 35:
75
- b.popBoundaryParseStack();
76
- break;
77
- case 39:
78
- b.addPersonOrSystem("person", ...o[y]), this.$ = o[y];
79
- break;
80
- case 40:
81
- b.addPersonOrSystem("external_person", ...o[y]), this.$ = o[y];
82
- break;
83
- case 41:
84
- b.addPersonOrSystem("system", ...o[y]), this.$ = o[y];
85
- break;
86
- case 42:
87
- b.addPersonOrSystem("system_db", ...o[y]), this.$ = o[y];
88
- break;
89
- case 43:
90
- b.addPersonOrSystem("system_queue", ...o[y]), this.$ = o[y];
91
- break;
92
- case 44:
93
- b.addPersonOrSystem("external_system", ...o[y]), this.$ = o[y];
94
- break;
95
- case 45:
96
- b.addPersonOrSystem("external_system_db", ...o[y]), this.$ = o[y];
97
- break;
98
- case 46:
99
- b.addPersonOrSystem("external_system_queue", ...o[y]), this.$ = o[y];
100
- break;
101
- case 47:
102
- b.addContainer("container", ...o[y]), this.$ = o[y];
103
- break;
104
- case 48:
105
- b.addContainer("container_db", ...o[y]), this.$ = o[y];
106
- break;
107
- case 49:
108
- b.addContainer("container_queue", ...o[y]), this.$ = o[y];
109
- break;
110
- case 50:
111
- b.addContainer("external_container", ...o[y]), this.$ = o[y];
112
- break;
113
- case 51:
114
- b.addContainer("external_container_db", ...o[y]), this.$ = o[y];
115
- break;
116
- case 52:
117
- b.addContainer("external_container_queue", ...o[y]), this.$ = o[y];
118
- break;
119
- case 53:
120
- b.addComponent("component", ...o[y]), this.$ = o[y];
121
- break;
122
- case 54:
123
- b.addComponent("component_db", ...o[y]), this.$ = o[y];
124
- break;
125
- case 55:
126
- b.addComponent("component_queue", ...o[y]), this.$ = o[y];
127
- break;
128
- case 56:
129
- b.addComponent("external_component", ...o[y]), this.$ = o[y];
130
- break;
131
- case 57:
132
- b.addComponent("external_component_db", ...o[y]), this.$ = o[y];
133
- break;
134
- case 58:
135
- b.addComponent("external_component_queue", ...o[y]), this.$ = o[y];
136
- break;
137
- case 60:
138
- b.addRel("rel", ...o[y]), this.$ = o[y];
139
- break;
140
- case 61:
141
- b.addRel("birel", ...o[y]), this.$ = o[y];
142
- break;
143
- case 62:
144
- b.addRel("rel_u", ...o[y]), this.$ = o[y];
145
- break;
146
- case 63:
147
- b.addRel("rel_d", ...o[y]), this.$ = o[y];
148
- break;
149
- case 64:
150
- b.addRel("rel_l", ...o[y]), this.$ = o[y];
151
- break;
152
- case 65:
153
- b.addRel("rel_r", ...o[y]), this.$ = o[y];
154
- break;
155
- case 66:
156
- b.addRel("rel_b", ...o[y]), this.$ = o[y];
157
- break;
158
- case 67:
159
- o[y].splice(0, 1), b.addRel("rel", ...o[y]), this.$ = o[y];
160
- break;
161
- case 68:
162
- b.updateElStyle("update_el_style", ...o[y]), this.$ = o[y];
163
- break;
164
- case 69:
165
- b.updateRelStyle("update_rel_style", ...o[y]), this.$ = o[y];
166
- break;
167
- case 70:
168
- b.updateLayoutConfig("update_layout_config", ...o[y]), this.$ = o[y];
169
- break;
170
- case 71:
171
- this.$ = [o[y]];
172
- break;
173
- case 72:
174
- o[y].unshift(o[y - 1]), this.$ = o[y];
175
- break;
176
- case 73:
177
- case 75:
178
- this.$ = o[y].trim();
179
- break;
180
- case 74:
181
- let St = {};
182
- St[o[y - 1].trim()] = o[y].trim(), this.$ = St;
183
- break;
184
- case 76:
185
- this.$ = "";
186
- break;
187
- }
188
- }, "anonymous"),
189
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 7: [1, 6], 8: [1, 7], 9: [1, 8], 10: 4, 11: [1, 9], 15: [1, 10], 16: [1, 11], 17: [1, 12], 18: [1, 13] }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 7] }, { 1: [2, 3] }, { 1: [2, 4] }, { 1: [2, 5] }, { 1: [2, 6] }, { 12: [1, 14] }, { 12: [1, 15] }, { 12: [1, 16] }, { 12: [1, 17] }, { 12: [1, 18] }, { 13: 19, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: n, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 70, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: n, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 71, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: n, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 72, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: n, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 13: 73, 19: 20, 20: 21, 21: 22, 22: t, 23: s, 24: h, 26: l, 28: n, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 14: [1, 74] }, e(kt, [2, 13], { 43: 23, 29: 49, 30: 61, 32: 62, 20: 75, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }), e(kt, [2, 14]), e(zt, [2, 16], { 12: [1, 76] }), e(kt, [2, 36], { 12: [1, 77] }), e(Tt, [2, 19]), e(Tt, [2, 20]), { 25: [1, 78] }, { 27: [1, 79] }, e(Tt, [2, 23]), { 35: 80, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 86, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 87, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 88, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 89, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 90, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 91, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 92, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 93, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 94, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 95, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 96, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 97, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 98, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 99, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 100, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 101, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 102, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 103, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 104, 75: 81, 76: S, 77: A, 79: C, 80: k }, e(O, [2, 59]), { 35: 105, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 106, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 107, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 108, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 109, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 110, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 111, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 112, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 113, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 114, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 115, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 20: 116, 29: 49, 30: 61, 32: 62, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 43: 23, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }, { 12: [1, 118], 33: [1, 117] }, { 35: 119, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 120, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 121, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 122, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 123, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 124, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 35: 125, 75: 81, 76: S, 77: A, 79: C, 80: k }, { 14: [1, 126] }, { 14: [1, 127] }, { 14: [1, 128] }, { 14: [1, 129] }, { 1: [2, 8] }, e(kt, [2, 15]), e(zt, [2, 17], { 21: 22, 19: 130, 22: t, 23: s, 24: h, 26: l, 28: n }), e(kt, [2, 37], { 19: 20, 20: 21, 21: 22, 43: 23, 29: 49, 30: 61, 32: 62, 13: 131, 22: t, 23: s, 24: h, 26: l, 28: n, 34: i, 36: r, 37: a, 38: d, 39: p, 40: u, 41: f, 44: E, 45: T, 46: v, 47: B, 48: X, 49: I, 50: H, 51: V, 52: G, 53: K, 54: J, 55: Z, 56: tt, 57: et, 58: nt, 59: at, 60: it, 61: rt, 62: st, 63: lt, 64: ot, 65: ct, 66: ht, 67: dt, 68: ut, 69: pt, 70: yt, 71: ft, 72: gt, 73: bt, 74: _t }), e(Tt, [2, 21]), e(Tt, [2, 22]), e(O, [2, 39]), e(se, [2, 71], { 75: 81, 35: 132, 76: S, 77: A, 79: C, 80: k }), e(Pt, [2, 73]), { 78: [1, 133] }, e(Pt, [2, 75]), e(Pt, [2, 76]), e(O, [2, 40]), e(O, [2, 41]), e(O, [2, 42]), e(O, [2, 43]), e(O, [2, 44]), e(O, [2, 45]), e(O, [2, 46]), e(O, [2, 47]), e(O, [2, 48]), e(O, [2, 49]), e(O, [2, 50]), e(O, [2, 51]), e(O, [2, 52]), e(O, [2, 53]), e(O, [2, 54]), e(O, [2, 55]), e(O, [2, 56]), e(O, [2, 57]), e(O, [2, 58]), e(O, [2, 60]), e(O, [2, 61]), e(O, [2, 62]), e(O, [2, 63]), e(O, [2, 64]), e(O, [2, 65]), e(O, [2, 66]), e(O, [2, 67]), e(O, [2, 68]), e(O, [2, 69]), e(O, [2, 70]), { 31: 134, 42: [1, 135] }, { 12: [1, 136] }, { 33: [1, 137] }, e(Et, [2, 28]), e(Et, [2, 29]), e(Et, [2, 30]), e(Et, [2, 31]), e(Et, [2, 32]), e(Et, [2, 33]), e(Et, [2, 34]), { 1: [2, 9] }, { 1: [2, 10] }, { 1: [2, 11] }, { 1: [2, 12] }, e(zt, [2, 18]), e(kt, [2, 38]), e(se, [2, 72]), e(Pt, [2, 74]), e(O, [2, 24]), e(O, [2, 35]), e($t, [2, 25]), e($t, [2, 26], { 12: [1, 138] }), e($t, [2, 27])],
190
- defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 7], 5: [2, 3], 6: [2, 4], 7: [2, 5], 8: [2, 6], 74: [2, 8], 126: [2, 9], 127: [2, 10], 128: [2, 11], 129: [2, 12] },
191
- parseError: /* @__PURE__ */ g(function(z, _) {
192
- if (_.recoverable)
193
- this.trace(z);
194
- else {
195
- var x = new Error(z);
196
- throw x.hash = _, x;
197
- }
198
- }, "parseError"),
199
- parse: /* @__PURE__ */ g(function(z) {
200
- var _ = this, x = [0], b = [], w = [null], o = [], P = this.table, y = "", St = 0, le = 0, ke = 2, oe = 1, Oe = o.slice.call(arguments, 1), R = Object.create(this.lexer), At = { yy: {} };
201
- for (var Wt in this.yy)
202
- Object.prototype.hasOwnProperty.call(this.yy, Wt) && (At.yy[Wt] = this.yy[Wt]);
203
- R.setInput(z, At.yy), At.yy.lexer = R, At.yy.parser = this, typeof R.yylloc > "u" && (R.yylloc = {});
204
- var qt = R.yylloc;
205
- o.push(qt);
206
- var we = R.options && R.options.ranges;
207
- typeof At.yy.parseError == "function" ? this.parseError = At.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
208
- function Te(M) {
209
- x.length = x.length - 2 * M, w.length = w.length - M, o.length = o.length - M;
210
- }
211
- g(Te, "popStack");
212
- function ce() {
213
- var M;
214
- return M = b.pop() || R.lex() || oe, typeof M != "number" && (M instanceof Array && (b = M, M = b.pop()), M = _.symbols_[M] || M), M;
215
- }
216
- g(ce, "lex");
217
- for (var N, Ct, j, Ht, Ot = {}, Bt, W, he, Mt; ; ) {
218
- if (Ct = x[x.length - 1], this.defaultActions[Ct] ? j = this.defaultActions[Ct] : ((N === null || typeof N > "u") && (N = ce()), j = P[Ct] && P[Ct][N]), typeof j > "u" || !j.length || !j[0]) {
219
- var Vt = "";
220
- Mt = [];
221
- for (Bt in P[Ct])
222
- this.terminals_[Bt] && Bt > ke && Mt.push("'" + this.terminals_[Bt] + "'");
223
- R.showPosition ? Vt = "Parse error on line " + (St + 1) + `:
224
- ` + R.showPosition() + `
225
- Expecting ` + Mt.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Vt = "Parse error on line " + (St + 1) + ": Unexpected " + (N == oe ? "end of input" : "'" + (this.terminals_[N] || N) + "'"), this.parseError(Vt, {
226
- text: R.match,
227
- token: this.terminals_[N] || N,
228
- line: R.yylineno,
229
- loc: qt,
230
- expected: Mt
231
- });
232
- }
233
- if (j[0] instanceof Array && j.length > 1)
234
- throw new Error("Parse Error: multiple actions possible at state: " + Ct + ", token: " + N);
235
- switch (j[0]) {
236
- case 1:
237
- x.push(N), w.push(R.yytext), o.push(R.yylloc), x.push(j[1]), N = null, le = R.yyleng, y = R.yytext, St = R.yylineno, qt = R.yylloc;
238
- break;
239
- case 2:
240
- if (W = this.productions_[j[1]][1], Ot.$ = w[w.length - W], Ot._$ = {
241
- first_line: o[o.length - (W || 1)].first_line,
242
- last_line: o[o.length - 1].last_line,
243
- first_column: o[o.length - (W || 1)].first_column,
244
- last_column: o[o.length - 1].last_column
245
- }, we && (Ot._$.range = [
246
- o[o.length - (W || 1)].range[0],
247
- o[o.length - 1].range[1]
248
- ]), Ht = this.performAction.apply(Ot, [
249
- y,
250
- le,
251
- St,
252
- At.yy,
253
- j[1],
254
- w,
255
- o
256
- ].concat(Oe)), typeof Ht < "u")
257
- return Ht;
258
- W && (x = x.slice(0, -1 * W * 2), w = w.slice(0, -1 * W), o = o.slice(0, -1 * W)), x.push(this.productions_[j[1]][0]), w.push(Ot.$), o.push(Ot._$), he = P[x[x.length - 2]][x[x.length - 1]], x.push(he);
259
- break;
260
- case 3:
261
- return !0;
262
- }
263
- }
264
- return !0;
265
- }, "parse")
266
- }, Ce = /* @__PURE__ */ function() {
267
- var z = {
268
- EOF: 1,
269
- parseError: /* @__PURE__ */ g(function(_, x) {
270
- if (this.yy.parser)
271
- this.yy.parser.parseError(_, x);
272
- else
273
- throw new Error(_);
274
- }, "parseError"),
275
- // resets the lexer, sets new input
276
- setInput: /* @__PURE__ */ g(function(_, x) {
277
- return this.yy = x || this.yy || {}, this._input = _, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
278
- first_line: 1,
279
- first_column: 0,
280
- last_line: 1,
281
- last_column: 0
282
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
283
- }, "setInput"),
284
- // consumes and returns one char from the input
285
- input: /* @__PURE__ */ g(function() {
286
- var _ = this._input[0];
287
- this.yytext += _, this.yyleng++, this.offset++, this.match += _, this.matched += _;
288
- var x = _.match(/(?:\r\n?|\n).*/g);
289
- return x ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), _;
290
- }, "input"),
291
- // unshifts one char (or a string) into the input
292
- unput: /* @__PURE__ */ g(function(_) {
293
- var x = _.length, b = _.split(/(?:\r\n?|\n)/g);
294
- this._input = _ + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - x), this.offset -= x;
295
- var w = this.match.split(/(?:\r\n?|\n)/g);
296
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), b.length - 1 && (this.yylineno -= b.length - 1);
297
- var o = this.yylloc.range;
298
- return this.yylloc = {
299
- first_line: this.yylloc.first_line,
300
- last_line: this.yylineno + 1,
301
- first_column: this.yylloc.first_column,
302
- last_column: b ? (b.length === w.length ? this.yylloc.first_column : 0) + w[w.length - b.length].length - b[0].length : this.yylloc.first_column - x
303
- }, this.options.ranges && (this.yylloc.range = [o[0], o[0] + this.yyleng - x]), this.yyleng = this.yytext.length, this;
304
- }, "unput"),
305
- // When called from action, caches matched text and appends it on next action
306
- more: /* @__PURE__ */ g(function() {
307
- return this._more = !0, this;
308
- }, "more"),
309
- // 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.
310
- reject: /* @__PURE__ */ g(function() {
311
- if (this.options.backtrack_lexer)
312
- this._backtrack = !0;
313
- else
314
- 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).
315
- ` + this.showPosition(), {
316
- text: "",
317
- token: null,
318
- line: this.yylineno
319
- });
320
- return this;
321
- }, "reject"),
322
- // retain first n characters of the match
323
- less: /* @__PURE__ */ g(function(_) {
324
- this.unput(this.match.slice(_));
325
- }, "less"),
326
- // displays already matched input, i.e. for error messages
327
- pastInput: /* @__PURE__ */ g(function() {
328
- var _ = this.matched.substr(0, this.matched.length - this.match.length);
329
- return (_.length > 20 ? "..." : "") + _.substr(-20).replace(/\n/g, "");
330
- }, "pastInput"),
331
- // displays upcoming input, i.e. for error messages
332
- upcomingInput: /* @__PURE__ */ g(function() {
333
- var _ = this.match;
334
- return _.length < 20 && (_ += this._input.substr(0, 20 - _.length)), (_.substr(0, 20) + (_.length > 20 ? "..." : "")).replace(/\n/g, "");
335
- }, "upcomingInput"),
336
- // displays the character position where the lexing error occurred, i.e. for error messages
337
- showPosition: /* @__PURE__ */ g(function() {
338
- var _ = this.pastInput(), x = new Array(_.length + 1).join("-");
339
- return _ + this.upcomingInput() + `
340
- ` + x + "^";
341
- }, "showPosition"),
342
- // test the lexed token: return FALSE when not a match, otherwise return token
343
- test_match: /* @__PURE__ */ g(function(_, x) {
344
- var b, w, o;
345
- if (this.options.backtrack_lexer && (o = {
346
- yylineno: this.yylineno,
347
- yylloc: {
348
- first_line: this.yylloc.first_line,
349
- last_line: this.last_line,
350
- first_column: this.yylloc.first_column,
351
- last_column: this.yylloc.last_column
352
- },
353
- yytext: this.yytext,
354
- match: this.match,
355
- matches: this.matches,
356
- matched: this.matched,
357
- yyleng: this.yyleng,
358
- offset: this.offset,
359
- _more: this._more,
360
- _input: this._input,
361
- yy: this.yy,
362
- conditionStack: this.conditionStack.slice(0),
363
- done: this.done
364
- }, this.options.ranges && (o.yylloc.range = this.yylloc.range.slice(0))), w = _[0].match(/(?:\r\n?|\n).*/g), w && (this.yylineno += w.length), this.yylloc = {
365
- first_line: this.yylloc.last_line,
366
- last_line: this.yylineno + 1,
367
- first_column: this.yylloc.last_column,
368
- last_column: w ? w[w.length - 1].length - w[w.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + _[0].length
369
- }, this.yytext += _[0], this.match += _[0], this.matches = _, 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(_[0].length), this.matched += _[0], b = this.performAction.call(this, this.yy, this, x, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), b)
370
- return b;
371
- if (this._backtrack) {
372
- for (var P in o)
373
- this[P] = o[P];
374
- return !1;
375
- }
376
- return !1;
377
- }, "test_match"),
378
- // return next match in input
379
- next: /* @__PURE__ */ g(function() {
380
- if (this.done)
381
- return this.EOF;
382
- this._input || (this.done = !0);
383
- var _, x, b, w;
384
- this._more || (this.yytext = "", this.match = "");
385
- for (var o = this._currentRules(), P = 0; P < o.length; P++)
386
- if (b = this._input.match(this.rules[o[P]]), b && (!x || b[0].length > x[0].length)) {
387
- if (x = b, w = P, this.options.backtrack_lexer) {
388
- if (_ = this.test_match(b, o[P]), _ !== !1)
389
- return _;
390
- if (this._backtrack) {
391
- x = !1;
392
- continue;
393
- } else
394
- return !1;
395
- } else if (!this.options.flex)
396
- break;
397
- }
398
- return x ? (_ = this.test_match(x, o[w]), _ !== !1 ? _ : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
399
- ` + this.showPosition(), {
400
- text: "",
401
- token: null,
402
- line: this.yylineno
403
- });
404
- }, "next"),
405
- // return next match that has a token
406
- lex: /* @__PURE__ */ g(function() {
407
- var _ = this.next();
408
- return _ || this.lex();
409
- }, "lex"),
410
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
411
- begin: /* @__PURE__ */ g(function(_) {
412
- this.conditionStack.push(_);
413
- }, "begin"),
414
- // pop the previously active lexer condition state off the condition stack
415
- popState: /* @__PURE__ */ g(function() {
416
- var _ = this.conditionStack.length - 1;
417
- return _ > 0 ? this.conditionStack.pop() : this.conditionStack[0];
418
- }, "popState"),
419
- // produce the lexer rule set which is active for the currently active lexer condition state
420
- _currentRules: /* @__PURE__ */ g(function() {
421
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
422
- }, "_currentRules"),
423
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
424
- topState: /* @__PURE__ */ g(function(_) {
425
- return _ = this.conditionStack.length - 1 - Math.abs(_ || 0), _ >= 0 ? this.conditionStack[_] : "INITIAL";
426
- }, "topState"),
427
- // alias for begin(condition)
428
- pushState: /* @__PURE__ */ g(function(_) {
429
- this.begin(_);
430
- }, "pushState"),
431
- // return the number of states currently on the stack
432
- stateStackSize: /* @__PURE__ */ g(function() {
433
- return this.conditionStack.length;
434
- }, "stateStackSize"),
435
- options: {},
436
- performAction: /* @__PURE__ */ g(function(_, x, b, w) {
437
- switch (b) {
438
- case 0:
439
- return 6;
440
- case 1:
441
- return 7;
442
- case 2:
443
- return 8;
444
- case 3:
445
- return 9;
446
- case 4:
447
- return 22;
448
- case 5:
449
- return 23;
450
- case 6:
451
- return this.begin("acc_title"), 24;
452
- case 7:
453
- return this.popState(), "acc_title_value";
454
- case 8:
455
- return this.begin("acc_descr"), 26;
456
- case 9:
457
- return this.popState(), "acc_descr_value";
458
- case 10:
459
- this.begin("acc_descr_multiline");
460
- break;
461
- case 11:
462
- this.popState();
463
- break;
464
- case 12:
465
- return "acc_descr_multiline_value";
466
- case 13:
467
- break;
468
- case 14:
469
- c;
470
- break;
471
- case 15:
472
- return 12;
473
- case 16:
474
- break;
475
- case 17:
476
- return 11;
477
- case 18:
478
- return 15;
479
- case 19:
480
- return 16;
481
- case 20:
482
- return 17;
483
- case 21:
484
- return 18;
485
- case 22:
486
- return this.begin("person_ext"), 45;
487
- case 23:
488
- return this.begin("person"), 44;
489
- case 24:
490
- return this.begin("system_ext_queue"), 51;
491
- case 25:
492
- return this.begin("system_ext_db"), 50;
493
- case 26:
494
- return this.begin("system_ext"), 49;
495
- case 27:
496
- return this.begin("system_queue"), 48;
497
- case 28:
498
- return this.begin("system_db"), 47;
499
- case 29:
500
- return this.begin("system"), 46;
501
- case 30:
502
- return this.begin("boundary"), 37;
503
- case 31:
504
- return this.begin("enterprise_boundary"), 34;
505
- case 32:
506
- return this.begin("system_boundary"), 36;
507
- case 33:
508
- return this.begin("container_ext_queue"), 57;
509
- case 34:
510
- return this.begin("container_ext_db"), 56;
511
- case 35:
512
- return this.begin("container_ext"), 55;
513
- case 36:
514
- return this.begin("container_queue"), 54;
515
- case 37:
516
- return this.begin("container_db"), 53;
517
- case 38:
518
- return this.begin("container"), 52;
519
- case 39:
520
- return this.begin("container_boundary"), 38;
521
- case 40:
522
- return this.begin("component_ext_queue"), 63;
523
- case 41:
524
- return this.begin("component_ext_db"), 62;
525
- case 42:
526
- return this.begin("component_ext"), 61;
527
- case 43:
528
- return this.begin("component_queue"), 60;
529
- case 44:
530
- return this.begin("component_db"), 59;
531
- case 45:
532
- return this.begin("component"), 58;
533
- case 46:
534
- return this.begin("node"), 39;
535
- case 47:
536
- return this.begin("node"), 39;
537
- case 48:
538
- return this.begin("node_l"), 40;
539
- case 49:
540
- return this.begin("node_r"), 41;
541
- case 50:
542
- return this.begin("rel"), 64;
543
- case 51:
544
- return this.begin("birel"), 65;
545
- case 52:
546
- return this.begin("rel_u"), 66;
547
- case 53:
548
- return this.begin("rel_u"), 66;
549
- case 54:
550
- return this.begin("rel_d"), 67;
551
- case 55:
552
- return this.begin("rel_d"), 67;
553
- case 56:
554
- return this.begin("rel_l"), 68;
555
- case 57:
556
- return this.begin("rel_l"), 68;
557
- case 58:
558
- return this.begin("rel_r"), 69;
559
- case 59:
560
- return this.begin("rel_r"), 69;
561
- case 60:
562
- return this.begin("rel_b"), 70;
563
- case 61:
564
- return this.begin("rel_index"), 71;
565
- case 62:
566
- return this.begin("update_el_style"), 72;
567
- case 63:
568
- return this.begin("update_rel_style"), 73;
569
- case 64:
570
- return this.begin("update_layout_config"), 74;
571
- case 65:
572
- return "EOF_IN_STRUCT";
573
- case 66:
574
- return this.begin("attribute"), "ATTRIBUTE_EMPTY";
575
- case 67:
576
- this.begin("attribute");
577
- break;
578
- case 68:
579
- this.popState(), this.popState();
580
- break;
581
- case 69:
582
- return 80;
583
- case 70:
584
- break;
585
- case 71:
586
- return 80;
587
- case 72:
588
- this.begin("string");
589
- break;
590
- case 73:
591
- this.popState();
592
- break;
593
- case 74:
594
- return "STR";
595
- case 75:
596
- this.begin("string_kv");
597
- break;
598
- case 76:
599
- return this.begin("string_kv_key"), "STR_KEY";
600
- case 77:
601
- this.popState(), this.begin("string_kv_value");
602
- break;
603
- case 78:
604
- return "STR_VALUE";
605
- case 79:
606
- this.popState(), this.popState();
607
- break;
608
- case 80:
609
- return "STR";
610
- case 81:
611
- return "LBRACE";
612
- case 82:
613
- return "RBRACE";
614
- case 83:
615
- return "SPACE";
616
- case 84:
617
- return "EOL";
618
- case 85:
619
- return 14;
620
- }
621
- }, "anonymous"),
622
- rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:title\s[^#\n;]+)/, /^(?:accDescription\s[^#\n;]+)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:C4Context\b)/, /^(?:C4Container\b)/, /^(?:C4Component\b)/, /^(?:C4Dynamic\b)/, /^(?:C4Deployment\b)/, /^(?:Person_Ext\b)/, /^(?:Person\b)/, /^(?:SystemQueue_Ext\b)/, /^(?:SystemDb_Ext\b)/, /^(?:System_Ext\b)/, /^(?:SystemQueue\b)/, /^(?:SystemDb\b)/, /^(?:System\b)/, /^(?:Boundary\b)/, /^(?:Enterprise_Boundary\b)/, /^(?:System_Boundary\b)/, /^(?:ContainerQueue_Ext\b)/, /^(?:ContainerDb_Ext\b)/, /^(?:Container_Ext\b)/, /^(?:ContainerQueue\b)/, /^(?:ContainerDb\b)/, /^(?:Container\b)/, /^(?:Container_Boundary\b)/, /^(?:ComponentQueue_Ext\b)/, /^(?:ComponentDb_Ext\b)/, /^(?:Component_Ext\b)/, /^(?:ComponentQueue\b)/, /^(?:ComponentDb\b)/, /^(?:Component\b)/, /^(?:Deployment_Node\b)/, /^(?:Node\b)/, /^(?:Node_L\b)/, /^(?:Node_R\b)/, /^(?:Rel\b)/, /^(?:BiRel\b)/, /^(?:Rel_Up\b)/, /^(?:Rel_U\b)/, /^(?:Rel_Down\b)/, /^(?:Rel_D\b)/, /^(?:Rel_Left\b)/, /^(?:Rel_L\b)/, /^(?:Rel_Right\b)/, /^(?:Rel_R\b)/, /^(?:Rel_Back\b)/, /^(?:RelIndex\b)/, /^(?:UpdateElementStyle\b)/, /^(?:UpdateRelStyle\b)/, /^(?:UpdateLayoutConfig\b)/, /^(?:$)/, /^(?:[(][ ]*[,])/, /^(?:[(])/, /^(?:[)])/, /^(?:,,)/, /^(?:,)/, /^(?:[ ]*["]["])/, /^(?:[ ]*["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:[ ]*[\$])/, /^(?:[^=]*)/, /^(?:[=][ ]*["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:[^,]+)/, /^(?:\{)/, /^(?:\})/, /^(?:[\s]+)/, /^(?:[\n\r]+)/, /^(?:$)/],
623
- conditions: { acc_descr_multiline: { rules: [11, 12], inclusive: !1 }, acc_descr: { rules: [9], inclusive: !1 }, acc_title: { rules: [7], inclusive: !1 }, string_kv_value: { rules: [78, 79], inclusive: !1 }, string_kv_key: { rules: [77], inclusive: !1 }, string_kv: { rules: [76], inclusive: !1 }, string: { rules: [73, 74], inclusive: !1 }, attribute: { rules: [68, 69, 70, 71, 72, 75, 80], inclusive: !1 }, update_layout_config: { rules: [65, 66, 67, 68], inclusive: !1 }, update_rel_style: { rules: [65, 66, 67, 68], inclusive: !1 }, update_el_style: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_b: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_r: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_l: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_d: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_u: { rules: [65, 66, 67, 68], inclusive: !1 }, rel_bi: { rules: [], inclusive: !1 }, rel: { rules: [65, 66, 67, 68], inclusive: !1 }, node_r: { rules: [65, 66, 67, 68], inclusive: !1 }, node_l: { rules: [65, 66, 67, 68], inclusive: !1 }, node: { rules: [65, 66, 67, 68], inclusive: !1 }, index: { rules: [], inclusive: !1 }, rel_index: { rules: [65, 66, 67, 68], inclusive: !1 }, component_ext_queue: { rules: [], inclusive: !1 }, component_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, component_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, component_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, component_db: { rules: [65, 66, 67, 68], inclusive: !1 }, component: { rules: [65, 66, 67, 68], inclusive: !1 }, container_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, container_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, container_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, container_db: { rules: [65, 66, 67, 68], inclusive: !1 }, container: { rules: [65, 66, 67, 68], inclusive: !1 }, birel: { rules: [65, 66, 67, 68], inclusive: !1 }, system_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, enterprise_boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, boundary: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext_db: { rules: [65, 66, 67, 68], inclusive: !1 }, system_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, system_queue: { rules: [65, 66, 67, 68], inclusive: !1 }, system_db: { rules: [65, 66, 67, 68], inclusive: !1 }, system: { rules: [65, 66, 67, 68], inclusive: !1 }, person_ext: { rules: [65, 66, 67, 68], inclusive: !1 }, person: { rules: [65, 66, 67, 68], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 81, 82, 83, 84, 85], inclusive: !0 } }
624
- };
625
- return z;
626
- }();
627
- Qt.lexer = Ce;
628
- function Nt() {
629
- this.yy = {};
630
- }
631
- return g(Nt, "Parser"), Nt.prototype = Qt, Qt.Parser = Nt, new Nt();
632
- }();
633
- Yt.parser = Yt;
634
- var Ie = Yt, F = [], mt = [""], D = "global", U = "", Q = [
635
- {
636
- alias: "global",
637
- label: { text: "global" },
638
- type: { text: "global" },
639
- tags: null,
640
- link: null,
641
- parentBoundary: ""
642
- }
643
- ], Dt = [], ne = "", ae = !1, It = 4, Ut = 2, ge, Ue = /* @__PURE__ */ g(function() {
644
- return ge;
645
- }, "getC4Type"), Fe = /* @__PURE__ */ g(function(e) {
646
- ge = fe(e, Rt());
647
- }, "setC4Type"), Xe = /* @__PURE__ */ g(function(e, t, s, h, l, n, i, r, a) {
648
- if (e == null || t === void 0 || t === null || s === void 0 || s === null || h === void 0 || h === null)
649
- return;
650
- let d = {};
651
- const p = Dt.find((u) => u.from === t && u.to === s);
652
- if (p ? d = p : Dt.push(d), d.type = e, d.from = t, d.to = s, d.label = { text: h }, l == null)
653
- d.techn = { text: "" };
654
- else if (typeof l == "object") {
655
- let [u, f] = Object.entries(l)[0];
656
- d[u] = { text: f };
657
- } else
658
- d.techn = { text: l };
659
- if (n == null)
660
- d.descr = { text: "" };
661
- else if (typeof n == "object") {
662
- let [u, f] = Object.entries(n)[0];
663
- d[u] = { text: f };
664
- } else
665
- d.descr = { text: n };
666
- if (typeof i == "object") {
667
- let [u, f] = Object.entries(i)[0];
668
- d[u] = f;
669
- } else
670
- d.sprite = i;
671
- if (typeof r == "object") {
672
- let [u, f] = Object.entries(r)[0];
673
- d[u] = f;
674
- } else
675
- d.tags = r;
676
- if (typeof a == "object") {
677
- let [u, f] = Object.entries(a)[0];
678
- d[u] = f;
679
- } else
680
- d.link = a;
681
- d.wrap = xt();
682
- }, "addRel"), ze = /* @__PURE__ */ g(function(e, t, s, h, l, n, i) {
683
- if (t === null || s === null)
684
- return;
685
- let r = {};
686
- const a = F.find((d) => d.alias === t);
687
- if (a && t === a.alias ? r = a : (r.alias = t, F.push(r)), s == null ? r.label = { text: "" } : r.label = { text: s }, h == null)
688
- r.descr = { text: "" };
689
- else if (typeof h == "object") {
690
- let [d, p] = Object.entries(h)[0];
691
- r[d] = { text: p };
692
- } else
693
- r.descr = { text: h };
694
- if (typeof l == "object") {
695
- let [d, p] = Object.entries(l)[0];
696
- r[d] = p;
697
- } else
698
- r.sprite = l;
699
- if (typeof n == "object") {
700
- let [d, p] = Object.entries(n)[0];
701
- r[d] = p;
702
- } else
703
- r.tags = n;
704
- if (typeof i == "object") {
705
- let [d, p] = Object.entries(i)[0];
706
- r[d] = p;
707
- } else
708
- r.link = i;
709
- r.typeC4Shape = { text: e }, r.parentBoundary = D, r.wrap = xt();
710
- }, "addPersonOrSystem"), $e = /* @__PURE__ */ g(function(e, t, s, h, l, n, i, r) {
711
- if (t === null || s === null)
712
- return;
713
- let a = {};
714
- const d = F.find((p) => p.alias === t);
715
- if (d && t === d.alias ? a = d : (a.alias = t, F.push(a)), s == null ? a.label = { text: "" } : a.label = { text: s }, h == null)
716
- a.techn = { text: "" };
717
- else if (typeof h == "object") {
718
- let [p, u] = Object.entries(h)[0];
719
- a[p] = { text: u };
720
- } else
721
- a.techn = { text: h };
722
- if (l == null)
723
- a.descr = { text: "" };
724
- else if (typeof l == "object") {
725
- let [p, u] = Object.entries(l)[0];
726
- a[p] = { text: u };
727
- } else
728
- a.descr = { text: l };
729
- if (typeof n == "object") {
730
- let [p, u] = Object.entries(n)[0];
731
- a[p] = u;
732
- } else
733
- a.sprite = n;
734
- if (typeof i == "object") {
735
- let [p, u] = Object.entries(i)[0];
736
- a[p] = u;
737
- } else
738
- a.tags = i;
739
- if (typeof r == "object") {
740
- let [p, u] = Object.entries(r)[0];
741
- a[p] = u;
742
- } else
743
- a.link = r;
744
- a.wrap = xt(), a.typeC4Shape = { text: e }, a.parentBoundary = D;
745
- }, "addContainer"), Qe = /* @__PURE__ */ g(function(e, t, s, h, l, n, i, r) {
746
- if (t === null || s === null)
747
- return;
748
- let a = {};
749
- const d = F.find((p) => p.alias === t);
750
- if (d && t === d.alias ? a = d : (a.alias = t, F.push(a)), s == null ? a.label = { text: "" } : a.label = { text: s }, h == null)
751
- a.techn = { text: "" };
752
- else if (typeof h == "object") {
753
- let [p, u] = Object.entries(h)[0];
754
- a[p] = { text: u };
755
- } else
756
- a.techn = { text: h };
757
- if (l == null)
758
- a.descr = { text: "" };
759
- else if (typeof l == "object") {
760
- let [p, u] = Object.entries(l)[0];
761
- a[p] = { text: u };
762
- } else
763
- a.descr = { text: l };
764
- if (typeof n == "object") {
765
- let [p, u] = Object.entries(n)[0];
766
- a[p] = u;
767
- } else
768
- a.sprite = n;
769
- if (typeof i == "object") {
770
- let [p, u] = Object.entries(i)[0];
771
- a[p] = u;
772
- } else
773
- a.tags = i;
774
- if (typeof r == "object") {
775
- let [p, u] = Object.entries(r)[0];
776
- a[p] = u;
777
- } else
778
- a.link = r;
779
- a.wrap = xt(), a.typeC4Shape = { text: e }, a.parentBoundary = D;
780
- }, "addComponent"), We = /* @__PURE__ */ g(function(e, t, s, h, l) {
781
- if (e === null || t === null)
782
- return;
783
- let n = {};
784
- const i = Q.find((r) => r.alias === e);
785
- if (i && e === i.alias ? n = i : (n.alias = e, Q.push(n)), t == null ? n.label = { text: "" } : n.label = { text: t }, s == null)
786
- n.type = { text: "system" };
787
- else if (typeof s == "object") {
788
- let [r, a] = Object.entries(s)[0];
789
- n[r] = { text: a };
790
- } else
791
- n.type = { text: s };
792
- if (typeof h == "object") {
793
- let [r, a] = Object.entries(h)[0];
794
- n[r] = a;
795
- } else
796
- n.tags = h;
797
- if (typeof l == "object") {
798
- let [r, a] = Object.entries(l)[0];
799
- n[r] = a;
800
- } else
801
- n.link = l;
802
- n.parentBoundary = D, n.wrap = xt(), U = D, D = e, mt.push(U);
803
- }, "addPersonOrSystemBoundary"), qe = /* @__PURE__ */ g(function(e, t, s, h, l) {
804
- if (e === null || t === null)
805
- return;
806
- let n = {};
807
- const i = Q.find((r) => r.alias === e);
808
- if (i && e === i.alias ? n = i : (n.alias = e, Q.push(n)), t == null ? n.label = { text: "" } : n.label = { text: t }, s == null)
809
- n.type = { text: "container" };
810
- else if (typeof s == "object") {
811
- let [r, a] = Object.entries(s)[0];
812
- n[r] = { text: a };
813
- } else
814
- n.type = { text: s };
815
- if (typeof h == "object") {
816
- let [r, a] = Object.entries(h)[0];
817
- n[r] = a;
818
- } else
819
- n.tags = h;
820
- if (typeof l == "object") {
821
- let [r, a] = Object.entries(l)[0];
822
- n[r] = a;
823
- } else
824
- n.link = l;
825
- n.parentBoundary = D, n.wrap = xt(), U = D, D = e, mt.push(U);
826
- }, "addContainerBoundary"), He = /* @__PURE__ */ g(function(e, t, s, h, l, n, i, r) {
827
- if (t === null || s === null)
828
- return;
829
- let a = {};
830
- const d = Q.find((p) => p.alias === t);
831
- if (d && t === d.alias ? a = d : (a.alias = t, Q.push(a)), s == null ? a.label = { text: "" } : a.label = { text: s }, h == null)
832
- a.type = { text: "node" };
833
- else if (typeof h == "object") {
834
- let [p, u] = Object.entries(h)[0];
835
- a[p] = { text: u };
836
- } else
837
- a.type = { text: h };
838
- if (l == null)
839
- a.descr = { text: "" };
840
- else if (typeof l == "object") {
841
- let [p, u] = Object.entries(l)[0];
842
- a[p] = { text: u };
843
- } else
844
- a.descr = { text: l };
845
- if (typeof i == "object") {
846
- let [p, u] = Object.entries(i)[0];
847
- a[p] = u;
848
- } else
849
- a.tags = i;
850
- if (typeof r == "object") {
851
- let [p, u] = Object.entries(r)[0];
852
- a[p] = u;
853
- } else
854
- a.link = r;
855
- a.nodeType = e, a.parentBoundary = D, a.wrap = xt(), U = D, D = t, mt.push(U);
856
- }, "addDeploymentNode"), Ve = /* @__PURE__ */ g(function() {
857
- D = U, mt.pop(), U = mt.pop(), mt.push(U);
858
- }, "popBoundaryParseStack"), Ge = /* @__PURE__ */ g(function(e, t, s, h, l, n, i, r, a, d, p) {
859
- let u = F.find((f) => f.alias === t);
860
- if (!(u === void 0 && (u = Q.find((f) => f.alias === t), u === void 0))) {
861
- if (s != null)
862
- if (typeof s == "object") {
863
- let [f, E] = Object.entries(s)[0];
864
- u[f] = E;
865
- } else
866
- u.bgColor = s;
867
- if (h != null)
868
- if (typeof h == "object") {
869
- let [f, E] = Object.entries(h)[0];
870
- u[f] = E;
871
- } else
872
- u.fontColor = h;
873
- if (l != null)
874
- if (typeof l == "object") {
875
- let [f, E] = Object.entries(l)[0];
876
- u[f] = E;
877
- } else
878
- u.borderColor = l;
879
- if (n != null)
880
- if (typeof n == "object") {
881
- let [f, E] = Object.entries(n)[0];
882
- u[f] = E;
883
- } else
884
- u.shadowing = n;
885
- if (i != null)
886
- if (typeof i == "object") {
887
- let [f, E] = Object.entries(i)[0];
888
- u[f] = E;
889
- } else
890
- u.shape = i;
891
- if (r != null)
892
- if (typeof r == "object") {
893
- let [f, E] = Object.entries(r)[0];
894
- u[f] = E;
895
- } else
896
- u.sprite = r;
897
- if (a != null)
898
- if (typeof a == "object") {
899
- let [f, E] = Object.entries(a)[0];
900
- u[f] = E;
901
- } else
902
- u.techn = a;
903
- if (d != null)
904
- if (typeof d == "object") {
905
- let [f, E] = Object.entries(d)[0];
906
- u[f] = E;
907
- } else
908
- u.legendText = d;
909
- if (p != null)
910
- if (typeof p == "object") {
911
- let [f, E] = Object.entries(p)[0];
912
- u[f] = E;
913
- } else
914
- u.legendSprite = p;
915
- }
916
- }, "updateElStyle"), Ke = /* @__PURE__ */ g(function(e, t, s, h, l, n, i) {
917
- const r = Dt.find((a) => a.from === t && a.to === s);
918
- if (r !== void 0) {
919
- if (h != null)
920
- if (typeof h == "object") {
921
- let [a, d] = Object.entries(h)[0];
922
- r[a] = d;
923
- } else
924
- r.textColor = h;
925
- if (l != null)
926
- if (typeof l == "object") {
927
- let [a, d] = Object.entries(l)[0];
928
- r[a] = d;
929
- } else
930
- r.lineColor = l;
931
- if (n != null)
932
- if (typeof n == "object") {
933
- let [a, d] = Object.entries(n)[0];
934
- r[a] = parseInt(d);
935
- } else
936
- r.offsetX = parseInt(n);
937
- if (i != null)
938
- if (typeof i == "object") {
939
- let [a, d] = Object.entries(i)[0];
940
- r[a] = parseInt(d);
941
- } else
942
- r.offsetY = parseInt(i);
943
- }
944
- }, "updateRelStyle"), Je = /* @__PURE__ */ g(function(e, t, s) {
945
- let h = It, l = Ut;
946
- if (typeof t == "object") {
947
- const n = Object.values(t)[0];
948
- h = parseInt(n);
949
- } else
950
- h = parseInt(t);
951
- if (typeof s == "object") {
952
- const n = Object.values(s)[0];
953
- l = parseInt(n);
954
- } else
955
- l = parseInt(s);
956
- h >= 1 && (It = h), l >= 1 && (Ut = l);
957
- }, "updateLayoutConfig"), Ze = /* @__PURE__ */ g(function() {
958
- return It;
959
- }, "getC4ShapeInRow"), t0 = /* @__PURE__ */ g(function() {
960
- return Ut;
961
- }, "getC4BoundaryInRow"), e0 = /* @__PURE__ */ g(function() {
962
- return D;
963
- }, "getCurrentBoundaryParse"), n0 = /* @__PURE__ */ g(function() {
964
- return U;
965
- }, "getParentBoundaryParse"), be = /* @__PURE__ */ g(function(e) {
966
- return e == null ? F : F.filter((t) => t.parentBoundary === e);
967
- }, "getC4ShapeArray"), a0 = /* @__PURE__ */ g(function(e) {
968
- return F.find((t) => t.alias === e);
969
- }, "getC4Shape"), i0 = /* @__PURE__ */ g(function(e) {
970
- return Object.keys(be(e));
971
- }, "getC4ShapeKeys"), _e = /* @__PURE__ */ g(function(e) {
972
- return e == null ? Q : Q.filter((t) => t.parentBoundary === e);
973
- }, "getBoundaries"), r0 = _e, s0 = /* @__PURE__ */ g(function() {
974
- return Dt;
975
- }, "getRels"), l0 = /* @__PURE__ */ g(function() {
976
- return ne;
977
- }, "getTitle"), o0 = /* @__PURE__ */ g(function(e) {
978
- ae = e;
979
- }, "setWrap"), xt = /* @__PURE__ */ g(function() {
980
- return ae;
981
- }, "autoWrap"), c0 = /* @__PURE__ */ g(function() {
982
- F = [], Q = [
983
- {
984
- alias: "global",
985
- label: { text: "global" },
986
- type: { text: "global" },
987
- tags: null,
988
- link: null,
989
- parentBoundary: ""
990
- }
991
- ], U = "", D = "global", mt = [""], Dt = [], mt = [""], ne = "", ae = !1, It = 4, Ut = 2;
992
- }, "clear"), h0 = {
993
- SOLID: 0,
994
- DOTTED: 1,
995
- NOTE: 2,
996
- SOLID_CROSS: 3,
997
- DOTTED_CROSS: 4,
998
- SOLID_OPEN: 5,
999
- DOTTED_OPEN: 6,
1000
- LOOP_START: 10,
1001
- LOOP_END: 11,
1002
- ALT_START: 12,
1003
- ALT_ELSE: 13,
1004
- ALT_END: 14,
1005
- OPT_START: 15,
1006
- OPT_END: 16,
1007
- ACTIVE_START: 17,
1008
- ACTIVE_END: 18,
1009
- PAR_START: 19,
1010
- PAR_AND: 20,
1011
- PAR_END: 21,
1012
- RECT_START: 22,
1013
- RECT_END: 23,
1014
- SOLID_POINT: 24,
1015
- DOTTED_POINT: 25
1016
- }, d0 = {
1017
- FILLED: 0,
1018
- OPEN: 1
1019
- }, u0 = {
1020
- LEFTOF: 0,
1021
- RIGHTOF: 1,
1022
- OVER: 2
1023
- }, p0 = /* @__PURE__ */ g(function(e) {
1024
- ne = fe(e, Rt());
1025
- }, "setTitle"), Zt = {
1026
- addPersonOrSystem: ze,
1027
- addPersonOrSystemBoundary: We,
1028
- addContainer: $e,
1029
- addContainerBoundary: qe,
1030
- addComponent: Qe,
1031
- addDeploymentNode: He,
1032
- popBoundaryParseStack: Ve,
1033
- addRel: Xe,
1034
- updateElStyle: Ge,
1035
- updateRelStyle: Ke,
1036
- updateLayoutConfig: Je,
1037
- autoWrap: xt,
1038
- setWrap: o0,
1039
- getC4ShapeArray: be,
1040
- getC4Shape: a0,
1041
- getC4ShapeKeys: i0,
1042
- getBoundaries: _e,
1043
- getBoundarys: r0,
1044
- getCurrentBoundaryParse: e0,
1045
- getParentBoundaryParse: n0,
1046
- getRels: s0,
1047
- getTitle: l0,
1048
- getC4Type: Ue,
1049
- getC4ShapeInRow: Ze,
1050
- getC4BoundaryInRow: t0,
1051
- setAccTitle: De,
1052
- getAccTitle: Pe,
1053
- getAccDescription: Ne,
1054
- setAccDescription: Be,
1055
- getConfig: /* @__PURE__ */ g(() => Rt().c4, "getConfig"),
1056
- clear: c0,
1057
- LINETYPE: h0,
1058
- ARROWTYPE: d0,
1059
- PLACEMENT: u0,
1060
- setTitle: p0,
1061
- setC4Type: Fe
1062
- // apply,
1063
- }, ie = /* @__PURE__ */ g(function(e, t) {
1064
- return ve(e, t);
1065
- }, "drawRect"), me = /* @__PURE__ */ g(function(e, t, s, h, l, n) {
1066
- const i = e.append("image");
1067
- i.attr("width", t), i.attr("height", s), i.attr("x", h), i.attr("y", l);
1068
- let r = n.startsWith("data:image/png;base64") ? n : Ye(n);
1069
- i.attr("xlink:href", r);
1070
- }, "drawImage"), y0 = /* @__PURE__ */ g((e, t, s) => {
1071
- const h = e.append("g");
1072
- let l = 0;
1073
- for (let n of t) {
1074
- let i = n.textColor ? n.textColor : "#444444", r = n.lineColor ? n.lineColor : "#444444", a = n.offsetX ? parseInt(n.offsetX) : 0, d = n.offsetY ? parseInt(n.offsetY) : 0, p = "";
1075
- if (l === 0) {
1076
- let f = h.append("line");
1077
- f.attr("x1", n.startPoint.x), f.attr("y1", n.startPoint.y), f.attr("x2", n.endPoint.x), f.attr("y2", n.endPoint.y), f.attr("stroke-width", "1"), f.attr("stroke", r), f.style("fill", "none"), n.type !== "rel_b" && f.attr("marker-end", "url(" + p + "#arrowhead)"), (n.type === "birel" || n.type === "rel_b") && f.attr("marker-start", "url(" + p + "#arrowend)"), l = -1;
1078
- } else {
1079
- let f = h.append("path");
1080
- f.attr("fill", "none").attr("stroke-width", "1").attr("stroke", r).attr(
1081
- "d",
1082
- "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", n.startPoint.x).replaceAll("starty", n.startPoint.y).replaceAll(
1083
- "controlx",
1084
- n.startPoint.x + (n.endPoint.x - n.startPoint.x) / 2 - (n.endPoint.x - n.startPoint.x) / 4
1085
- ).replaceAll("controly", n.startPoint.y + (n.endPoint.y - n.startPoint.y) / 2).replaceAll("stopx", n.endPoint.x).replaceAll("stopy", n.endPoint.y)
1086
- ), n.type !== "rel_b" && f.attr("marker-end", "url(" + p + "#arrowhead)"), (n.type === "birel" || n.type === "rel_b") && f.attr("marker-start", "url(" + p + "#arrowend)");
1087
- }
1088
- let u = s.messageFont();
1089
- q(s)(
1090
- n.label.text,
1091
- h,
1092
- Math.min(n.startPoint.x, n.endPoint.x) + Math.abs(n.endPoint.x - n.startPoint.x) / 2 + a,
1093
- Math.min(n.startPoint.y, n.endPoint.y) + Math.abs(n.endPoint.y - n.startPoint.y) / 2 + d,
1094
- n.label.width,
1095
- n.label.height,
1096
- { fill: i },
1097
- u
1098
- ), n.techn && n.techn.text !== "" && (u = s.messageFont(), q(s)(
1099
- "[" + n.techn.text + "]",
1100
- h,
1101
- Math.min(n.startPoint.x, n.endPoint.x) + Math.abs(n.endPoint.x - n.startPoint.x) / 2 + a,
1102
- Math.min(n.startPoint.y, n.endPoint.y) + Math.abs(n.endPoint.y - n.startPoint.y) / 2 + s.messageFontSize + 5 + d,
1103
- Math.max(n.label.width, n.techn.width),
1104
- n.techn.height,
1105
- { fill: i, "font-style": "italic" },
1106
- u
1107
- ));
1108
- }
1109
- }, "drawRels"), f0 = /* @__PURE__ */ g(function(e, t, s) {
1110
- const h = e.append("g");
1111
- let l = t.bgColor ? t.bgColor : "none", n = t.borderColor ? t.borderColor : "#444444", i = t.fontColor ? t.fontColor : "black", r = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1112
- t.nodeType && (r = { "stroke-width": 1 });
1113
- let a = {
1114
- x: t.x,
1115
- y: t.y,
1116
- fill: l,
1117
- stroke: n,
1118
- width: t.width,
1119
- height: t.height,
1120
- rx: 2.5,
1121
- ry: 2.5,
1122
- attrs: r
1123
- };
1124
- ie(h, a);
1125
- let d = s.boundaryFont();
1126
- d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = i, q(s)(
1127
- t.label.text,
1128
- h,
1129
- t.x,
1130
- t.y + t.label.Y,
1131
- t.width,
1132
- t.height,
1133
- { fill: "#444444" },
1134
- d
1135
- ), t.type && t.type.text !== "" && (d = s.boundaryFont(), d.fontColor = i, q(s)(
1136
- t.type.text,
1137
- h,
1138
- t.x,
1139
- t.y + t.type.Y,
1140
- t.width,
1141
- t.height,
1142
- { fill: "#444444" },
1143
- d
1144
- )), t.descr && t.descr.text !== "" && (d = s.boundaryFont(), d.fontSize = d.fontSize - 2, d.fontColor = i, q(s)(
1145
- t.descr.text,
1146
- h,
1147
- t.x,
1148
- t.y + t.descr.Y,
1149
- t.width,
1150
- t.height,
1151
- { fill: "#444444" },
1152
- d
1153
- ));
1154
- }, "drawBoundary"), g0 = /* @__PURE__ */ g(function(e, t, s) {
1155
- var h;
1156
- let l = t.bgColor ? t.bgColor : s[t.typeC4Shape.text + "_bg_color"], n = t.borderColor ? t.borderColor : s[t.typeC4Shape.text + "_border_color"], i = t.fontColor ? t.fontColor : "#FFFFFF", r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1157
- switch (t.typeC4Shape.text) {
1158
- case "person":
1159
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1160
- break;
1161
- case "external_person":
1162
- r = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
1163
- break;
1164
- }
1165
- const a = e.append("g");
1166
- a.attr("class", "person-man");
1167
- const d = Re();
1168
- switch (t.typeC4Shape.text) {
1169
- case "person":
1170
- case "external_person":
1171
- case "system":
1172
- case "external_system":
1173
- case "container":
1174
- case "external_container":
1175
- case "component":
1176
- case "external_component":
1177
- d.x = t.x, d.y = t.y, d.fill = l, d.width = t.width, d.height = t.height, d.stroke = n, d.rx = 2.5, d.ry = 2.5, d.attrs = { "stroke-width": 0.5 }, ie(a, d);
1178
- break;
1179
- case "system_db":
1180
- case "external_system_db":
1181
- case "container_db":
1182
- case "external_container_db":
1183
- case "component_db":
1184
- case "external_component_db":
1185
- a.append("path").attr("fill", l).attr("stroke-width", "0.5").attr("stroke", n).attr(
1186
- "d",
1187
- "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2).replaceAll("height", t.height)
1188
- ), a.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", n).attr(
1189
- "d",
1190
- "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2)
1191
- );
1192
- break;
1193
- case "system_queue":
1194
- case "external_system_queue":
1195
- case "container_queue":
1196
- case "external_container_queue":
1197
- case "component_queue":
1198
- case "external_component_queue":
1199
- a.append("path").attr("fill", l).attr("stroke-width", "0.5").attr("stroke", n).attr(
1200
- "d",
1201
- "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)
1202
- ), a.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", n).attr(
1203
- "d",
1204
- "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2)
1205
- );
1206
- break;
1207
- }
1208
- let p = k0(s, t.typeC4Shape.text);
1209
- switch (a.append("text").attr("fill", i).attr("font-family", p.fontFamily).attr("font-size", p.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
1210
- case "person":
1211
- case "external_person":
1212
- me(
1213
- a,
1214
- 48,
1215
- 48,
1216
- t.x + t.width / 2 - 24,
1217
- t.y + t.image.Y,
1218
- r
1219
- );
1220
- break;
1221
- }
1222
- let u = s[t.typeC4Shape.text + "Font"]();
1223
- return u.fontWeight = "bold", u.fontSize = u.fontSize + 2, u.fontColor = i, q(s)(
1224
- t.label.text,
1225
- a,
1226
- t.x,
1227
- t.y + t.label.Y,
1228
- t.width,
1229
- t.height,
1230
- { fill: i },
1231
- u
1232
- ), u = s[t.typeC4Shape.text + "Font"](), u.fontColor = i, t.techn && ((h = t.techn) == null ? void 0 : h.text) !== "" ? q(s)(
1233
- t.techn.text,
1234
- a,
1235
- t.x,
1236
- t.y + t.techn.Y,
1237
- t.width,
1238
- t.height,
1239
- { fill: i, "font-style": "italic" },
1240
- u
1241
- ) : t.type && t.type.text !== "" && q(s)(
1242
- t.type.text,
1243
- a,
1244
- t.x,
1245
- t.y + t.type.Y,
1246
- t.width,
1247
- t.height,
1248
- { fill: i, "font-style": "italic" },
1249
- u
1250
- ), t.descr && t.descr.text !== "" && (u = s.personFont(), u.fontColor = i, q(s)(
1251
- t.descr.text,
1252
- a,
1253
- t.x,
1254
- t.y + t.descr.Y,
1255
- t.width,
1256
- t.height,
1257
- { fill: i },
1258
- u
1259
- )), t.height;
1260
- }, "drawC4Shape"), b0 = /* @__PURE__ */ g(function(e) {
1261
- e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1262
- "d",
1263
- "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
1264
- );
1265
- }, "insertDatabaseIcon"), _0 = /* @__PURE__ */ g(function(e) {
1266
- e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1267
- "d",
1268
- "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
1269
- );
1270
- }, "insertComputerIcon"), m0 = /* @__PURE__ */ g(function(e) {
1271
- e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1272
- "d",
1273
- "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
1274
- );
1275
- }, "insertClockIcon"), x0 = /* @__PURE__ */ g(function(e) {
1276
- e.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1277
- }, "insertArrowHead"), E0 = /* @__PURE__ */ g(function(e) {
1278
- e.append("defs").append("marker").attr("id", "arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
1279
- }, "insertArrowEnd"), S0 = /* @__PURE__ */ g(function(e) {
1280
- e.append("defs").append("marker").attr("id", "filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1281
- }, "insertArrowFilledHead"), A0 = /* @__PURE__ */ g(function(e) {
1282
- e.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1283
- }, "insertDynamicNumber"), C0 = /* @__PURE__ */ g(function(e) {
1284
- const t = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1285
- t.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), t.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
1286
- }, "insertArrowCrossHead"), k0 = /* @__PURE__ */ g((e, t) => ({
1287
- fontFamily: e[t + "FontFamily"],
1288
- fontSize: e[t + "FontSize"],
1289
- fontWeight: e[t + "FontWeight"]
1290
- }), "getC4ShapeFont"), q = /* @__PURE__ */ function() {
1291
- function e(l, n, i, r, a, d, p) {
1292
- const u = n.append("text").attr("x", i + a / 2).attr("y", r + d / 2 + 5).style("text-anchor", "middle").text(l);
1293
- h(u, p);
1294
- }
1295
- g(e, "byText");
1296
- function t(l, n, i, r, a, d, p, u) {
1297
- const { fontSize: f, fontFamily: E, fontWeight: T } = u, v = l.split(Jt.lineBreakRegex);
1298
- for (let B = 0; B < v.length; B++) {
1299
- const X = B * f - f * (v.length - 1) / 2, I = n.append("text").attr("x", i + a / 2).attr("y", r).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", f).style("font-weight", T).style("font-family", E);
1300
- I.append("tspan").attr("dy", X).text(v[B]).attr("alignment-baseline", "mathematical"), h(I, p);
1301
- }
1302
- }
1303
- g(t, "byTspan");
1304
- function s(l, n, i, r, a, d, p, u) {
1305
- const f = n.append("switch"), E = f.append("foreignObject").attr("x", i).attr("y", r).attr("width", a).attr("height", d).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
1306
- E.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, f, i, r, a, d, p, u), h(E, p);
1307
- }
1308
- g(s, "byFo");
1309
- function h(l, n) {
1310
- for (const i in n)
1311
- n.hasOwnProperty(i) && l.attr(i, n[i]);
1312
- }
1313
- return g(h, "_setTextAttrs"), function(l) {
1314
- return l.textPlacement === "fo" ? s : l.textPlacement === "old" ? e : t;
1315
- };
1316
- }(), $ = {
1317
- drawRect: ie,
1318
- drawBoundary: f0,
1319
- drawC4Shape: g0,
1320
- drawRels: y0,
1321
- drawImage: me,
1322
- insertArrowHead: x0,
1323
- insertArrowEnd: E0,
1324
- insertArrowFilledHead: S0,
1325
- insertDynamicNumber: A0,
1326
- insertArrowCrossHead: C0,
1327
- insertDatabaseIcon: b0,
1328
- insertComputerIcon: _0,
1329
- insertClockIcon: m0
1330
- }, Ft = 0, Xt = 0, xe = 4, te = 2;
1331
- Yt.yy = Zt;
1332
- var m = {}, Gt, Ee = (Gt = class {
1333
- constructor(e) {
1334
- this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, ee(e.db.getConfig());
1335
- }
1336
- setData(e, t, s, h) {
1337
- this.nextData.startx = this.data.startx = e, this.nextData.stopx = this.data.stopx = t, this.nextData.starty = this.data.starty = s, this.nextData.stopy = this.data.stopy = h;
1338
- }
1339
- updateVal(e, t, s, h) {
1340
- e[t] === void 0 ? e[t] = s : e[t] = h(s, e[t]);
1341
- }
1342
- insert(e) {
1343
- this.nextData.cnt = this.nextData.cnt + 1;
1344
- let t = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + e.margin : this.nextData.stopx + e.margin * 2, s = t + e.width, h = this.nextData.starty + e.margin * 2, l = h + e.height;
1345
- (t >= this.data.widthLimit || s >= this.data.widthLimit || this.nextData.cnt > xe) && (t = this.nextData.startx + e.margin + m.nextLinePaddingX, h = this.nextData.stopy + e.margin * 2, this.nextData.stopx = s = t + e.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = l = h + e.height, this.nextData.cnt = 1), e.x = t, e.y = h, this.updateVal(this.data, "startx", t, Math.min), this.updateVal(this.data, "starty", h, Math.min), this.updateVal(this.data, "stopx", s, Math.max), this.updateVal(this.data, "stopy", l, Math.max), this.updateVal(this.nextData, "startx", t, Math.min), this.updateVal(this.nextData, "starty", h, Math.min), this.updateVal(this.nextData, "stopx", s, Math.max), this.updateVal(this.nextData, "stopy", l, Math.max);
1346
- }
1347
- init(e) {
1348
- this.name = "", this.data = {
1349
- startx: void 0,
1350
- stopx: void 0,
1351
- starty: void 0,
1352
- stopy: void 0,
1353
- widthLimit: void 0
1354
- }, this.nextData = {
1355
- startx: void 0,
1356
- stopx: void 0,
1357
- starty: void 0,
1358
- stopy: void 0,
1359
- cnt: 0
1360
- }, ee(e.db.getConfig());
1361
- }
1362
- bumpLastMargin(e) {
1363
- this.data.stopx += e, this.data.stopy += e;
1364
- }
1365
- }, g(Gt, "Bounds"), Gt), ee = /* @__PURE__ */ g(function(e) {
1366
- Me(m, e), e.fontFamily && (m.personFontFamily = m.systemFontFamily = m.messageFontFamily = e.fontFamily), e.fontSize && (m.personFontSize = m.systemFontSize = m.messageFontSize = e.fontSize), e.fontWeight && (m.personFontWeight = m.systemFontWeight = m.messageFontWeight = e.fontWeight);
1367
- }, "setConf"), vt = /* @__PURE__ */ g((e, t) => ({
1368
- fontFamily: e[t + "FontFamily"],
1369
- fontSize: e[t + "FontSize"],
1370
- fontWeight: e[t + "FontWeight"]
1371
- }), "c4ShapeFont"), Lt = /* @__PURE__ */ g((e) => ({
1372
- fontFamily: e.boundaryFontFamily,
1373
- fontSize: e.boundaryFontSize,
1374
- fontWeight: e.boundaryFontWeight
1375
- }), "boundaryFont"), O0 = /* @__PURE__ */ g((e) => ({
1376
- fontFamily: e.messageFontFamily,
1377
- fontSize: e.messageFontSize,
1378
- fontWeight: e.messageFontWeight
1379
- }), "messageFont");
1380
- function Y(e, t, s, h, l) {
1381
- if (!t[e].width)
1382
- if (s)
1383
- t[e].text = je(t[e].text, l, h), t[e].textLines = t[e].text.split(Jt.lineBreakRegex).length, t[e].width = l, t[e].height = de(t[e].text, h);
1384
- else {
1385
- let n = t[e].text.split(Jt.lineBreakRegex);
1386
- t[e].textLines = n.length;
1387
- let i = 0;
1388
- t[e].height = 0, t[e].width = 0;
1389
- for (const r of n)
1390
- t[e].width = Math.max(
1391
- wt(r, h),
1392
- t[e].width
1393
- ), i = de(r, h), t[e].height = t[e].height + i;
1394
- }
1395
- }
1396
- g(Y, "calcC4ShapeTextWH");
1397
- var Se = /* @__PURE__ */ g(function(e, t, s) {
1398
- t.x = s.data.startx, t.y = s.data.starty, t.width = s.data.stopx - s.data.startx, t.height = s.data.stopy - s.data.starty, t.label.y = m.c4ShapeMargin - 35;
1399
- let h = t.wrap && m.wrap, l = Lt(m);
1400
- l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
1401
- let n = wt(t.label.text, l);
1402
- Y("label", t, h, l, n), $.drawBoundary(e, t, m);
1403
- }, "drawBoundary"), Ae = /* @__PURE__ */ g(function(e, t, s, h) {
1404
- let l = 0;
1405
- for (const n of h) {
1406
- l = 0;
1407
- const i = s[n];
1408
- let r = vt(m, i.typeC4Shape.text);
1409
- switch (r.fontSize = r.fontSize - 2, i.typeC4Shape.width = wt(
1410
- "«" + i.typeC4Shape.text + "»",
1411
- r
1412
- ), i.typeC4Shape.height = r.fontSize + 2, i.typeC4Shape.Y = m.c4ShapePadding, l = i.typeC4Shape.Y + i.typeC4Shape.height - 4, i.image = { width: 0, height: 0, Y: 0 }, i.typeC4Shape.text) {
1413
- case "person":
1414
- case "external_person":
1415
- i.image.width = 48, i.image.height = 48, i.image.Y = l, l = i.image.Y + i.image.height;
1416
- break;
1417
- }
1418
- i.sprite && (i.image.width = 48, i.image.height = 48, i.image.Y = l, l = i.image.Y + i.image.height);
1419
- let a = i.wrap && m.wrap, d = m.width - m.c4ShapePadding * 2, p = vt(m, i.typeC4Shape.text);
1420
- if (p.fontSize = p.fontSize + 2, p.fontWeight = "bold", Y("label", i, a, p, d), i.label.Y = l + 8, l = i.label.Y + i.label.height, i.type && i.type.text !== "") {
1421
- i.type.text = "[" + i.type.text + "]";
1422
- let E = vt(m, i.typeC4Shape.text);
1423
- Y("type", i, a, E, d), i.type.Y = l + 5, l = i.type.Y + i.type.height;
1424
- } else if (i.techn && i.techn.text !== "") {
1425
- i.techn.text = "[" + i.techn.text + "]";
1426
- let E = vt(m, i.techn.text);
1427
- Y("techn", i, a, E, d), i.techn.Y = l + 5, l = i.techn.Y + i.techn.height;
1428
- }
1429
- let u = l, f = i.label.width;
1430
- if (i.descr && i.descr.text !== "") {
1431
- let E = vt(m, i.typeC4Shape.text);
1432
- Y("descr", i, a, E, d), i.descr.Y = l + 20, l = i.descr.Y + i.descr.height, f = Math.max(i.label.width, i.descr.width), u = l - i.descr.textLines * 5;
1433
- }
1434
- f = f + m.c4ShapePadding, i.width = Math.max(i.width || m.width, f, m.width), i.height = Math.max(i.height || m.height, u, m.height), i.margin = i.margin || m.c4ShapeMargin, e.insert(i), $.drawC4Shape(t, i, m);
1435
- }
1436
- e.bumpLastMargin(m.c4ShapeMargin);
1437
- }, "drawC4ShapeArray"), Kt, L = (Kt = class {
1438
- constructor(e, t) {
1439
- this.x = e, this.y = t;
1440
- }
1441
- }, g(Kt, "Point"), Kt), pe = /* @__PURE__ */ g(function(e, t) {
1442
- let s = e.x, h = e.y, l = t.x, n = t.y, i = s + e.width / 2, r = h + e.height / 2, a = Math.abs(s - l), d = Math.abs(h - n), p = d / a, u = e.height / e.width, f = null;
1443
- return h == n && s < l ? f = new L(s + e.width, r) : h == n && s > l ? f = new L(s, r) : s == l && h < n ? f = new L(i, h + e.height) : s == l && h > n && (f = new L(i, h)), s > l && h < n ? u >= p ? f = new L(s, r + p * e.width / 2) : f = new L(
1444
- i - a / d * e.height / 2,
1445
- h + e.height
1446
- ) : s < l && h < n ? u >= p ? f = new L(s + e.width, r + p * e.width / 2) : f = new L(
1447
- i + a / d * e.height / 2,
1448
- h + e.height
1449
- ) : s < l && h > n ? u >= p ? f = new L(s + e.width, r - p * e.width / 2) : f = new L(i + e.height / 2 * a / d, h) : s > l && h > n && (u >= p ? f = new L(s, r - e.width / 2 * p) : f = new L(i - e.height / 2 * a / d, h)), f;
1450
- }, "getIntersectPoint"), w0 = /* @__PURE__ */ g(function(e, t) {
1451
- let s = { x: 0, y: 0 };
1452
- s.x = t.x + t.width / 2, s.y = t.y + t.height / 2;
1453
- let h = pe(e, s);
1454
- s.x = e.x + e.width / 2, s.y = e.y + e.height / 2;
1455
- let l = pe(t, s);
1456
- return { startPoint: h, endPoint: l };
1457
- }, "getIntersectPoints"), T0 = /* @__PURE__ */ g(function(e, t, s, h) {
1458
- let l = 0;
1459
- for (let n of t) {
1460
- l = l + 1;
1461
- let i = n.wrap && m.wrap, r = O0(m);
1462
- h.db.getC4Type() === "C4Dynamic" && (n.label.text = l + ": " + n.label.text);
1463
- let a = wt(n.label.text, r);
1464
- Y("label", n, i, r, a), n.techn && n.techn.text !== "" && (a = wt(n.techn.text, r), Y("techn", n, i, r, a)), n.descr && n.descr.text !== "" && (a = wt(n.descr.text, r), Y("descr", n, i, r, a));
1465
- let d = s(n.from), p = s(n.to), u = w0(d, p);
1466
- n.startPoint = u.startPoint, n.endPoint = u.endPoint;
1467
- }
1468
- $.drawRels(e, t, m);
1469
- }, "drawRels");
1470
- function re(e, t, s, h, l) {
1471
- let n = new Ee(l);
1472
- n.data.widthLimit = s.data.widthLimit / Math.min(te, h.length);
1473
- for (let [i, r] of h.entries()) {
1474
- let a = 0;
1475
- r.image = { width: 0, height: 0, Y: 0 }, r.sprite && (r.image.width = 48, r.image.height = 48, r.image.Y = a, a = r.image.Y + r.image.height);
1476
- let d = r.wrap && m.wrap, p = Lt(m);
1477
- if (p.fontSize = p.fontSize + 2, p.fontWeight = "bold", Y(
1478
- "label",
1479
- r,
1480
- d,
1481
- p,
1482
- n.data.widthLimit
1483
- ), r.label.Y = a + 8, a = r.label.Y + r.label.height, r.type && r.type.text !== "") {
1484
- r.type.text = "[" + r.type.text + "]";
1485
- let T = Lt(m);
1486
- Y(
1487
- "type",
1488
- r,
1489
- d,
1490
- T,
1491
- n.data.widthLimit
1492
- ), r.type.Y = a + 5, a = r.type.Y + r.type.height;
1493
- }
1494
- if (r.descr && r.descr.text !== "") {
1495
- let T = Lt(m);
1496
- T.fontSize = T.fontSize - 2, Y(
1497
- "descr",
1498
- r,
1499
- d,
1500
- T,
1501
- n.data.widthLimit
1502
- ), r.descr.Y = a + 20, a = r.descr.Y + r.descr.height;
1503
- }
1504
- if (i == 0 || i % te === 0) {
1505
- let T = s.data.startx + m.diagramMarginX, v = s.data.stopy + m.diagramMarginY + a;
1506
- n.setData(T, T, v, v);
1507
- } else {
1508
- let T = n.data.stopx !== n.data.startx ? n.data.stopx + m.diagramMarginX : n.data.startx, v = n.data.starty;
1509
- n.setData(T, T, v, v);
1510
- }
1511
- n.name = r.alias;
1512
- let u = l.db.getC4ShapeArray(r.alias), f = l.db.getC4ShapeKeys(r.alias);
1513
- f.length > 0 && Ae(
1514
- n,
1515
- e,
1516
- u,
1517
- f
1518
- ), t = r.alias;
1519
- let E = l.db.getBoundaries(t);
1520
- E.length > 0 && re(
1521
- e,
1522
- t,
1523
- n,
1524
- E,
1525
- l
1526
- ), r.alias !== "global" && Se(e, r, n), s.data.stopy = Math.max(
1527
- n.data.stopy + m.c4ShapeMargin,
1528
- s.data.stopy
1529
- ), s.data.stopx = Math.max(
1530
- n.data.stopx + m.c4ShapeMargin,
1531
- s.data.stopx
1532
- ), Ft = Math.max(Ft, s.data.stopx), Xt = Math.max(Xt, s.data.stopy);
1533
- }
1534
- }
1535
- g(re, "drawInsideBoundary");
1536
- var v0 = /* @__PURE__ */ g(function(e, t, s, h) {
1537
- m = Rt().c4;
1538
- const l = Rt().securityLevel;
1539
- let n;
1540
- l === "sandbox" && (n = jt("#i" + t));
1541
- const i = l === "sandbox" ? jt(n.nodes()[0].contentDocument.body) : jt("body");
1542
- let r = h.db;
1543
- h.db.setWrap(m.wrap), xe = r.getC4ShapeInRow(), te = r.getC4BoundaryInRow(), ue.debug(`C:${JSON.stringify(m, null, 2)}`);
1544
- const a = l === "sandbox" ? i.select(`[id="${t}"]`) : jt(`[id="${t}"]`);
1545
- $.insertComputerIcon(a), $.insertDatabaseIcon(a), $.insertClockIcon(a);
1546
- let d = new Ee(h);
1547
- d.setData(
1548
- m.diagramMarginX,
1549
- m.diagramMarginX,
1550
- m.diagramMarginY,
1551
- m.diagramMarginY
1552
- ), d.data.widthLimit = screen.availWidth, Ft = m.diagramMarginX, Xt = m.diagramMarginY;
1553
- const p = h.db.getTitle();
1554
- let u = h.db.getBoundaries("");
1555
- re(a, "", d, u, h), $.insertArrowHead(a), $.insertArrowEnd(a), $.insertArrowCrossHead(a), $.insertArrowFilledHead(a), T0(a, h.db.getRels(), h.db.getC4Shape, h), d.data.stopx = Ft, d.data.stopy = Xt;
1556
- const f = d.data;
1557
- let E = f.stopy - f.starty + 2 * m.diagramMarginY;
1558
- const T = f.stopx - f.startx + 2 * m.diagramMarginX;
1559
- p && a.append("text").text(p).attr("x", (f.stopx - f.startx) / 2 - 4 * m.diagramMarginX).attr("y", f.starty + m.diagramMarginY), Le(a, E, T, m.useMaxWidth);
1560
- const v = p ? 60 : 0;
1561
- a.attr(
1562
- "viewBox",
1563
- f.startx - m.diagramMarginX + " -" + (m.diagramMarginY + v) + " " + T + " " + (E + v)
1564
- ), ue.debug("models:", f);
1565
- }, "draw"), ye = {
1566
- drawPersonOrSystemArray: Ae,
1567
- drawBoundary: Se,
1568
- setConf: ee,
1569
- draw: v0
1570
- }, R0 = /* @__PURE__ */ g((e) => `.person {
1571
- stroke: ${e.personBorder};
1572
- fill: ${e.personBkg};
1573
- }
1574
- `, "getStyles"), D0 = R0, L0 = {
1575
- parser: Ie,
1576
- db: Zt,
1577
- renderer: ye,
1578
- styles: D0,
1579
- init: /* @__PURE__ */ g(({ c4: e, wrap: t }) => {
1580
- ye.setConf(e), Zt.setWrap(t);
1581
- }, "init")
1582
- };
1583
- export {
1584
- L0 as diagram
1585
- };