@windrun-huaiin/third-ui 7.6.1 → 10.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 (577) hide show
  1. package/dist/_virtual/advancedFormat.js +1 -1
  2. package/dist/_virtual/advancedFormat.mjs +1 -1
  3. package/dist/_virtual/customParseFormat.js +1 -1
  4. package/dist/_virtual/customParseFormat.mjs +1 -1
  5. package/dist/_virtual/dayjs.min.js +1 -1
  6. package/dist/_virtual/dayjs.min.mjs +1 -1
  7. package/dist/_virtual/isoWeek.js +1 -1
  8. package/dist/_virtual/isoWeek.mjs +1 -1
  9. package/dist/clerk/clerk-organization.js +1 -1
  10. package/dist/clerk/clerk-organization.mjs +1 -1
  11. package/dist/clerk/{clerk-page-generator-client.js → clerk-page-context-generator.js} +2 -2
  12. package/dist/clerk/{clerk-page-generator-client.mjs → clerk-page-context-generator.mjs} +2 -2
  13. package/dist/clerk/clerk-page-generator.js +3 -3
  14. package/dist/clerk/clerk-page-generator.mjs +3 -3
  15. package/dist/clerk/clerk-user-client.js +4 -3
  16. package/dist/clerk/clerk-user-client.mjs +4 -3
  17. package/dist/clerk/clerk-user.js +1 -1
  18. package/dist/clerk/clerk-user.mjs +1 -1
  19. package/dist/clerk/fingerprint/fingerprint-client.js +1 -1
  20. package/dist/clerk/fingerprint/fingerprint-client.mjs +1 -1
  21. package/dist/clerk/fingerprint/fingerprint-provider.js +147 -56
  22. package/dist/clerk/fingerprint/fingerprint-provider.mjs +148 -57
  23. package/dist/clerk/fingerprint/fingerprint-server.d.ts +16 -0
  24. package/dist/clerk/fingerprint/fingerprint-server.js +18 -0
  25. package/dist/clerk/fingerprint/fingerprint-server.mjs +18 -1
  26. package/dist/clerk/fingerprint/server.js +1 -0
  27. package/dist/clerk/fingerprint/server.mjs +1 -1
  28. package/dist/clerk/fingerprint/types.d.ts +13 -2
  29. package/dist/clerk/fingerprint/use-fingerprint.js +1 -1
  30. package/dist/clerk/fingerprint/use-fingerprint.mjs +1 -1
  31. package/dist/clerk/index.d.ts +2 -1
  32. package/dist/clerk/index.js +5 -3
  33. package/dist/clerk/index.mjs +2 -1
  34. package/dist/clerk/signin-with-fingerprint-client.js +4 -11
  35. package/dist/clerk/signin-with-fingerprint-client.mjs +4 -11
  36. package/dist/clerk/signup-button-with-fingerprint-client.d.ts +6 -0
  37. package/dist/clerk/signup-button-with-fingerprint-client.js +56 -0
  38. package/dist/clerk/signup-button-with-fingerprint-client.mjs +54 -0
  39. package/dist/clerk/signup-with-fingerprint-client.js +4 -11
  40. package/dist/clerk/signup-with-fingerprint-client.mjs +4 -11
  41. package/dist/fuma/base/custom-header.d.ts +38 -0
  42. package/dist/fuma/base/custom-header.js +163 -0
  43. package/dist/fuma/base/custom-header.mjs +161 -0
  44. package/dist/fuma/base/custom-home-layout.d.ts +68 -0
  45. package/dist/fuma/base/custom-home-layout.js +48 -0
  46. package/dist/fuma/base/custom-home-layout.mjs +46 -0
  47. package/dist/fuma/base/index.d.ts +2 -0
  48. package/dist/fuma/base/index.js +9 -0
  49. package/dist/fuma/base/index.mjs +2 -0
  50. package/dist/fuma/fuma-banner-suit.d.ts +2 -1
  51. package/dist/fuma/fuma-banner-suit.js +9 -3
  52. package/dist/fuma/fuma-banner-suit.mjs +9 -3
  53. package/dist/fuma/fuma-page-genarator.d.ts +4 -1
  54. package/dist/fuma/fuma-page-genarator.js +15 -6
  55. package/dist/fuma/fuma-page-genarator.mjs +15 -6
  56. package/dist/fuma/fuma-translate-util.d.ts +2 -0
  57. package/dist/fuma/fuma-translate-util.js +40 -0
  58. package/dist/fuma/fuma-translate-util.mjs +38 -0
  59. package/dist/fuma/llm-copy-handler.js +9 -8
  60. package/dist/fuma/llm-copy-handler.mjs +9 -8
  61. package/dist/fuma/mdx/banner.d.ts +7 -1
  62. package/dist/fuma/mdx/banner.js +15 -15
  63. package/dist/fuma/mdx/banner.mjs +15 -15
  64. package/dist/fuma/mdx/fuma-github-info.js +1 -1
  65. package/dist/fuma/mdx/fuma-github-info.mjs +1 -1
  66. package/dist/fuma/mdx/gradient-button.js +29 -18
  67. package/dist/fuma/mdx/gradient-button.mjs +29 -18
  68. package/dist/fuma/mdx/image-zoom.js +2 -2
  69. package/dist/fuma/mdx/image-zoom.mjs +2 -2
  70. package/dist/fuma/mdx/mermaid.js +3 -3
  71. package/dist/fuma/mdx/mermaid.mjs +3 -3
  72. package/dist/fuma/mdx/toc-base.js +9 -4
  73. package/dist/fuma/mdx/toc-base.mjs +9 -4
  74. package/dist/fuma/mdx/zia-card.js +3 -3
  75. package/dist/fuma/mdx/zia-card.mjs +3 -3
  76. package/dist/fuma/mdx/zia-file.js +1 -1
  77. package/dist/fuma/mdx/zia-file.mjs +1 -1
  78. package/dist/fuma/server.d.ts +1 -0
  79. package/dist/fuma/server.js +2 -0
  80. package/dist/fuma/server.mjs +1 -0
  81. package/dist/fuma/site-x.js +1 -1
  82. package/dist/fuma/site-x.mjs +1 -1
  83. package/dist/lib/fuma-schema-check-util.d.ts +4 -57
  84. package/dist/lib/fuma-schema-check-util.js +10 -31
  85. package/dist/lib/fuma-schema-check-util.mjs +11 -29
  86. package/dist/lib/server.d.ts +0 -1
  87. package/dist/lib/server.js +0 -5
  88. package/dist/lib/server.mjs +1 -2
  89. package/dist/main/ai-prompt-textarea.js +1 -1
  90. package/dist/main/ai-prompt-textarea.mjs +1 -1
  91. package/dist/main/credit/credit-nav-button.d.ts +21 -0
  92. package/dist/main/credit/credit-nav-button.js +117 -0
  93. package/dist/main/credit/credit-nav-button.mjs +114 -0
  94. package/dist/main/credit/credit-overview-client.d.ts +26 -0
  95. package/dist/main/credit/credit-overview-client.js +269 -0
  96. package/dist/main/credit/credit-overview-client.mjs +267 -0
  97. package/dist/main/credit/credit-overview.d.ts +8 -0
  98. package/dist/main/credit/credit-overview.js +34 -0
  99. package/dist/main/credit/credit-overview.mjs +32 -0
  100. package/dist/main/credit/types.d.ts +68 -0
  101. package/dist/main/cta.js +3 -2
  102. package/dist/main/cta.mjs +3 -2
  103. package/dist/main/faq.js +5 -4
  104. package/dist/main/faq.mjs +5 -4
  105. package/dist/main/features.js +3 -2
  106. package/dist/main/features.mjs +3 -2
  107. package/dist/main/footer.js +2 -2
  108. package/dist/main/footer.mjs +2 -2
  109. package/dist/main/gallery/gallery-desktop-grid.d.ts +6 -0
  110. package/dist/main/gallery/gallery-desktop-grid.js +10 -0
  111. package/dist/main/gallery/gallery-desktop-grid.mjs +8 -0
  112. package/dist/main/gallery/gallery-interactive.d.ts +4 -0
  113. package/dist/main/gallery/gallery-interactive.js +128 -0
  114. package/dist/main/gallery/gallery-interactive.mjs +126 -0
  115. package/dist/main/gallery/gallery-mobile-swiper.d.ts +6 -0
  116. package/dist/main/gallery/gallery-mobile-swiper.js +13 -0
  117. package/dist/main/gallery/gallery-mobile-swiper.mjs +11 -0
  118. package/dist/main/gallery/gallery-server.d.ts +2 -0
  119. package/dist/main/gallery/gallery-server.js +44 -0
  120. package/dist/main/gallery/gallery-server.mjs +42 -0
  121. package/dist/main/gallery/gallery-types.d.ts +19 -0
  122. package/dist/main/gallery-interactive.js +1 -1
  123. package/dist/main/gallery-interactive.mjs +1 -1
  124. package/dist/main/gallery.js +6 -5
  125. package/dist/main/gallery.mjs +6 -5
  126. package/dist/main/go-to-top.js +1 -1
  127. package/dist/main/go-to-top.mjs +1 -1
  128. package/dist/main/index.d.ts +3 -1
  129. package/dist/main/index.js +5 -1
  130. package/dist/main/index.mjs +3 -1
  131. package/dist/main/money-price/customer-portal.d.ts +7 -0
  132. package/dist/main/money-price/customer-portal.js +54 -0
  133. package/dist/main/money-price/customer-portal.mjs +52 -0
  134. package/dist/main/money-price/money-price-button.d.ts +1 -1
  135. package/dist/main/money-price/money-price-button.js +162 -42
  136. package/dist/main/money-price/money-price-button.mjs +162 -42
  137. package/dist/main/money-price/money-price-config-util.d.ts +50 -2
  138. package/dist/main/money-price/money-price-config-util.js +177 -4
  139. package/dist/main/money-price/money-price-config-util.mjs +175 -4
  140. package/dist/main/money-price/money-price-data.d.ts +8 -0
  141. package/dist/main/money-price/money-price-data.js +28 -0
  142. package/dist/main/money-price/money-price-data.mjs +26 -0
  143. package/dist/main/money-price/money-price-interactive.d.ts +1 -1
  144. package/dist/main/money-price/money-price-interactive.js +251 -288
  145. package/dist/main/money-price/money-price-interactive.mjs +253 -290
  146. package/dist/main/money-price/money-price-types.d.ts +69 -20
  147. package/dist/main/money-price/money-price.d.ts +1 -1
  148. package/dist/main/money-price/money-price.js +9 -62
  149. package/dist/main/money-price/money-price.mjs +10 -63
  150. package/dist/main/price-plan.js +6 -6
  151. package/dist/main/price-plan.mjs +6 -6
  152. package/dist/main/section-layout.d.ts +1 -0
  153. package/dist/main/section-layout.js +7 -0
  154. package/dist/main/section-layout.mjs +5 -0
  155. package/dist/main/seo-content.js +3 -2
  156. package/dist/main/seo-content.mjs +3 -2
  157. package/dist/main/server.d.ts +6 -3
  158. package/dist/main/server.js +9 -4
  159. package/dist/main/server.mjs +4 -2
  160. package/dist/main/tips.js +3 -2
  161. package/dist/main/tips.mjs +3 -2
  162. package/dist/main/usage.js +4 -3
  163. package/dist/main/usage.mjs +4 -3
  164. package/dist/main/x-button.js +6 -6
  165. package/dist/main/x-button.mjs +6 -6
  166. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js +1 -1
  167. package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.mjs +1 -1
  168. package/dist/node_modules/.pnpm/{@iconify_utils@2.3.0 → @iconify_utils@3.0.2}/node_modules/@iconify/utils/lib/customisations/defaults.js +7 -6
  169. package/dist/node_modules/.pnpm/{@iconify_utils@2.3.0 → @iconify_utils@3.0.2}/node_modules/@iconify/utils/lib/customisations/defaults.mjs +7 -6
  170. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/defaults.js +39 -0
  171. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/defaults.mjs +34 -0
  172. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/merge.js +20 -0
  173. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/merge.mjs +18 -0
  174. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/name.js +60 -0
  175. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/name.mjs +57 -0
  176. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/transformations.js +15 -0
  177. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/transformations.mjs +13 -0
  178. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/get-icon.js +30 -0
  179. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
  180. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/tree.js +26 -0
  181. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
  182. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/build.js +118 -0
  183. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/build.mjs +115 -0
  184. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/defs.js +36 -0
  185. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/defs.mjs +32 -0
  186. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/html.js +12 -0
  187. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
  188. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/id.js +48 -0
  189. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/id.mjs +46 -0
  190. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/size.js +30 -0
  191. package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/size.mjs +28 -0
  192. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-U656AL7Q.js +9 -0
  193. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-O4VJ6CD3.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-U656AL7Q.mjs} +2 -2
  194. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KMC2YHZD.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-76Q3JFCE.js} +8 -8
  195. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KMC2YHZD.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-76Q3JFCE.mjs} +1 -1
  196. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4KMFLZZN.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FPAJGGOC.js} +1 -1
  197. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4KMFLZZN.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FPAJGGOC.mjs} +1 -1
  198. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XRWGC2XP.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FWNWRKHM.js} +13 -13
  199. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XRWGC2XP.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FWNWRKHM.mjs} +1 -1
  200. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T44TD3VJ.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LBM3YZW2.js} +8 -8
  201. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T44TD3VJ.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LBM3YZW2.mjs} +1 -1
  202. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFRQ32O7.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LHMN2FUI.js} +8 -8
  203. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFRQ32O7.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LHMN2FUI.mjs} +1 -1
  204. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-JEIROHC2.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-O7ZBX7Z2.js} +10 -10
  205. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-JEIROHC2.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-O7ZBX7Z2.mjs} +1 -1
  206. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BN7GFLIU.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-S6J4BHB3.js} +8 -8
  207. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BN7GFLIU.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-S6J4BHB3.mjs} +1 -1
  208. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFWHJNB7.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T53DSG4Q.js} +10 -10
  209. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFWHJNB7.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T53DSG4Q.mjs} +1 -1
  210. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-F6HP7TQM.js +9 -0
  211. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-ZV4HHKMB.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-F6HP7TQM.mjs} +2 -2
  212. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-NVLQJR56.js +9 -0
  213. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-NVLQJR56.mjs +2 -0
  214. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-BFZMPI3H.js +9 -0
  215. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-BFZMPI3H.mjs +2 -0
  216. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-7BOR55EZ.js +9 -0
  217. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-7BOR55EZ.mjs +2 -0
  218. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NHE76QYJ.js +9 -0
  219. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NHE76QYJ.mjs +2 -0
  220. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-KMMF4GRG.js +9 -0
  221. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-KMMF4GRG.mjs +2 -0
  222. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +129 -0
  223. package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2 → @mermaid-js_parser@0.6.3}/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +16 -16
  224. package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +0 -3
  225. package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -3
  226. package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/bk.js +24 -4
  227. package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +24 -4
  228. package/dist/node_modules/.pnpm/{dompurify@3.2.6 → dompurify@3.3.0}/node_modules/dompurify/dist/purify.es.js +59 -25
  229. package/dist/node_modules/.pnpm/{dompurify@3.2.6 → dompurify@3.3.0}/node_modules/dompurify/dist/purify.es.mjs +59 -25
  230. package/dist/node_modules/.pnpm/{katex@0.16.22 → katex@0.16.25}/node_modules/katex/dist/katex.js +26 -34
  231. package/dist/node_modules/.pnpm/{katex@0.16.22 → katex@0.16.25}/node_modules/katex/dist/katex.mjs +26 -34
  232. package/dist/node_modules/.pnpm/marked@16.4.2/node_modules/marked/lib/marked.esm.js +84 -0
  233. package/dist/node_modules/.pnpm/marked@16.4.2/node_modules/marked/lib/marked.esm.mjs +74 -0
  234. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-SUXI7LT5.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js} +373 -351
  235. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-SUXI7LT5.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs} +320 -298
  236. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-6J76NXCF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js} +393 -380
  237. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-6J76NXCF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs} +162 -149
  238. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-6F6E4RAY.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js} +126 -125
  239. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-6F6E4RAY.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs} +10 -9
  240. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-353BL4L5.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js} +2 -2
  241. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-353BL4L5.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.mjs} +1 -1
  242. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BFAMUDN2.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js} +2 -2
  243. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BFAMUDN2.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs} +1 -1
  244. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RKKUNAVE.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6MN3ZHY7.js} +15 -15
  245. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RKKUNAVE.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6MN3ZHY7.mjs} +15 -15
  246. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3XYRH5AP.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js} +142 -203
  247. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3XYRH5AP.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs} +27 -85
  248. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +81 -0
  249. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.mjs +76 -0
  250. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-UWXLY5YG.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js} +30 -11
  251. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-UWXLY5YG.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.mjs} +22 -3
  252. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SZ463SBG.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js} +207 -205
  253. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SZ463SBG.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.mjs} +132 -130
  254. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AC5SNWB5.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js} +2 -2
  255. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AC5SNWB5.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.mjs} +1 -1
  256. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OW32GOEJ.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js} +98 -97
  257. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OW32GOEJ.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.mjs} +10 -9
  258. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-P3VETL53.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js} +4 -3
  259. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-P3VETL53.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.mjs} +2 -1
  260. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-E2GYISFI.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js} +2 -2
  261. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-E2GYISFI.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.mjs} +1 -1
  262. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MXNHSMXR.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js} +17 -9
  263. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MXNHSMXR.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.mjs} +11 -5
  264. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QESNASVV.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js} +51 -50
  265. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QESNASVV.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs} +23 -22
  266. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JW4RIYDF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js} +731 -440
  267. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JW4RIYDF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.mjs} +404 -113
  268. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L5ZGVLVO.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js} +139 -139
  269. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L5ZGVLVO.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs} +5 -5
  270. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IWUHOULB.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js} +29 -22
  271. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IWUHOULB.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs} +13 -6
  272. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SKB7J2MH.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js} +7 -6
  273. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SKB7J2MH.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.mjs} +2 -1
  274. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-M6DAPIYF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js} +211 -85
  275. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-M6DAPIYF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.mjs} +142 -16
  276. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AACKK3MU.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js} +2 -2
  277. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AACKK3MU.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs} +1 -1
  278. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55PJQP7W.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js} +61 -49
  279. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55PJQP7W.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.mjs} +13 -1
  280. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-67H74DCK.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js} +10 -9
  281. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-67H74DCK.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.mjs} +2 -1
  282. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +31 -0
  283. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-M3E45YP4.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs} +9 -8
  284. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +31 -0
  285. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-YAWTLIQI.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs} +9 -8
  286. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +302 -0
  287. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs +300 -0
  288. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-JOIXM2OF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js} +123 -122
  289. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-JOIXM2OF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs} +12 -11
  290. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VMROVX33.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js} +46 -45
  291. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VMROVX33.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs} +8 -7
  292. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-ZTM2IBQH.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js} +45 -44
  293. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-ZTM2IBQH.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs} +6 -5
  294. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5UYTHUR4.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js} +68 -57
  295. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5UYTHUR4.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs} +56 -45
  296. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-3M52JZNH.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js} +70 -69
  297. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-3M52JZNH.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs} +14 -13
  298. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-KYDEHFYC.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js} +97 -93
  299. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-KYDEHFYC.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs} +20 -16
  300. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-EK5VF46D.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-LVOFAZNH.js} +134 -125
  301. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-EK5VF46D.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-LVOFAZNH.mjs} +27 -18
  302. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-GW3U2K7C.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-NY62KEGX.js} +116 -115
  303. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-GW3U2K7C.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-NY62KEGX.mjs} +6 -5
  304. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-ER5ION4S.js +42 -0
  305. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-LHK5PUON.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-ER5ION4S.mjs} +5 -4
  306. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-EWQZEKCU.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js} +100 -99
  307. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-EWQZEKCU.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs} +10 -9
  308. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-ZSS6B67P.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js} +79 -78
  309. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-ZSS6B67P.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs} +12 -11
  310. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-6CBA2TL7.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js} +277 -379
  311. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-6CBA2TL7.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs} +234 -336
  312. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-NIOCPIFQ.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js} +58 -56
  313. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-NIOCPIFQ.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs} +30 -28
  314. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-2OG54O6I.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js} +96 -95
  315. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-2OG54O6I.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs} +6 -5
  316. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-QOLK2EJ7.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js} +64 -63
  317. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-QOLK2EJ7.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs} +14 -13
  318. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-4UZDY2LN.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js} +73 -69
  319. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-4UZDY2LN.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs} +17 -13
  320. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SKLFT4DO.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js} +839 -376
  321. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SKLFT4DO.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs} +591 -128
  322. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-MI5ZYTHO.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js} +94 -93
  323. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-MI5ZYTHO.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs} +12 -11
  324. package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +31 -0
  325. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-5AN5P6BG.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs} +9 -8
  326. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-MYPXXCX6.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js} +93 -92
  327. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-MYPXXCX6.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs} +8 -7
  328. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-H2YORKM3.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js} +136 -133
  329. package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-H2YORKM3.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs} +43 -40
  330. package/dist/node_modules/.pnpm/{mermaid@11.9.0 → mermaid@11.12.1}/node_modules/mermaid/dist/mermaid.core.js +226 -225
  331. package/dist/node_modules/.pnpm/{mermaid@11.9.0 → mermaid@11.12.1}/node_modules/mermaid/dist/mermaid.core.mjs +43 -42
  332. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.3.0_react-dom@19.1.0_react@19.1.0__react@19.1.0 → react-medium-image-zoom@5.4.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-medium-image-zoom/dist/index.js +16 -12
  333. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.3.0_react-dom@19.1.0_react@19.1.0__react@19.1.0 → react-medium-image-zoom@5.4.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-medium-image-zoom/dist/index.mjs +16 -12
  334. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.js +461 -0
  335. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.mjs +459 -0
  336. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.js +8 -0
  337. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.mjs +6 -0
  338. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.js +23 -0
  339. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.mjs +21 -0
  340. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.js +143 -0
  341. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.mjs +140 -0
  342. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.js +3874 -0
  343. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.mjs +3871 -0
  344. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.js +129 -0
  345. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.mjs +124 -0
  346. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.js +226 -0
  347. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.mjs +216 -0
  348. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.js +310 -0
  349. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.mjs +288 -0
  350. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.js +390 -0
  351. package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.mjs +387 -0
  352. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js +6 -0
  353. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.mjs +4 -0
  354. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js +15 -0
  355. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.mjs +13 -0
  356. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
  357. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.mjs +28 -0
  358. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js +21 -0
  359. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.mjs +19 -0
  360. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.js +52 -0
  361. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.mjs +50 -0
  362. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.js +44 -0
  363. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.mjs +35 -0
  364. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js +31 -0
  365. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.mjs +18 -0
  366. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js +492 -0
  367. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.mjs +439 -0
  368. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js +434 -0
  369. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.mjs +388 -0
  370. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js +245 -0
  371. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.mjs +232 -0
  372. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.js +68 -0
  373. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.mjs +62 -0
  374. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js +80 -0
  375. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.mjs +75 -0
  376. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js +101 -0
  377. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.mjs +86 -0
  378. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js +102 -0
  379. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.mjs +76 -0
  380. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.js +56 -0
  381. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.mjs +52 -0
  382. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js +952 -0
  383. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.mjs +909 -0
  384. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js +182 -0
  385. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.mjs +163 -0
  386. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js +9 -0
  387. package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.mjs +7 -0
  388. package/package.json +27 -21
  389. package/src/clerk/{clerk-page-generator-client.tsx → clerk-page-context-generator.tsx} +2 -2
  390. package/src/clerk/clerk-page-generator.tsx +3 -3
  391. package/src/clerk/clerk-user-client.tsx +7 -12
  392. package/src/clerk/fingerprint/fingerprint-provider.tsx +311 -112
  393. package/src/clerk/fingerprint/fingerprint-server.ts +33 -5
  394. package/src/clerk/fingerprint/types.ts +16 -2
  395. package/src/clerk/fingerprint/use-fingerprint.ts +1 -1
  396. package/src/clerk/index.ts +2 -1
  397. package/src/clerk/signin-with-fingerprint-client.tsx +3 -11
  398. package/src/clerk/signup-button-with-fingerprint-client.tsx +87 -0
  399. package/src/clerk/signup-with-fingerprint-client.tsx +3 -11
  400. package/src/fuma/base/custom-header.tsx +574 -0
  401. package/src/fuma/base/custom-home-layout.tsx +146 -0
  402. package/src/fuma/base/index.ts +2 -0
  403. package/src/fuma/fuma-banner-suit.tsx +22 -5
  404. package/src/fuma/fuma-page-genarator.tsx +29 -9
  405. package/src/fuma/fuma-translate-util.ts +44 -0
  406. package/src/fuma/llm-copy-handler.ts +8 -7
  407. package/src/fuma/mdx/airtical-card.tsx +1 -1
  408. package/src/fuma/mdx/banner.tsx +25 -7
  409. package/src/fuma/mdx/gradient-button.tsx +43 -26
  410. package/src/fuma/mdx/mermaid.tsx +2 -2
  411. package/src/fuma/mdx/toc-base.tsx +9 -4
  412. package/src/fuma/mdx/zia-card.tsx +6 -6
  413. package/src/fuma/server.ts +1 -0
  414. package/src/lib/fuma-schema-check-util.ts +11 -40
  415. package/src/lib/server.ts +0 -1
  416. package/src/main/ai-prompt-textarea.tsx +1 -1
  417. package/src/main/credit/credit-nav-button.tsx +283 -0
  418. package/src/main/credit/credit-overview-client.tsx +552 -0
  419. package/src/main/credit/credit-overview.tsx +53 -0
  420. package/src/main/credit/types.ts +89 -0
  421. package/src/main/cta.tsx +9 -8
  422. package/src/main/faq.tsx +4 -3
  423. package/src/main/features.tsx +3 -3
  424. package/src/main/footer.tsx +1 -1
  425. package/src/main/gallery/gallery-desktop-grid.tsx +41 -0
  426. package/src/main/gallery/gallery-interactive.tsx +153 -0
  427. package/src/main/gallery/gallery-mobile-swiper.tsx +65 -0
  428. package/src/main/gallery/gallery-server.tsx +46 -0
  429. package/src/main/gallery/gallery-types.ts +22 -0
  430. package/src/main/go-to-top.tsx +1 -1
  431. package/src/main/index.ts +5 -3
  432. package/src/main/money-price/customer-portal.ts +63 -0
  433. package/src/main/money-price/money-price-button.tsx +211 -56
  434. package/src/main/money-price/money-price-config-util.ts +222 -5
  435. package/src/main/money-price/money-price-data.ts +49 -0
  436. package/src/main/money-price/money-price-interactive.tsx +479 -356
  437. package/src/main/money-price/money-price-types.ts +76 -22
  438. package/src/main/money-price/money-price.tsx +28 -267
  439. package/src/main/price-plan.tsx +3 -3
  440. package/src/main/section-layout.ts +5 -0
  441. package/src/main/seo-content.tsx +2 -2
  442. package/src/main/server.ts +15 -4
  443. package/src/main/tips.tsx +2 -2
  444. package/src/main/usage.tsx +4 -4
  445. package/src/main/x-button.tsx +13 -13
  446. package/src/styles/fuma.css +38 -13
  447. package/src/styles/third-ui.css +37 -2
  448. package/dist/lib/fuma-search-util.d.ts +0 -2
  449. package/dist/lib/fuma-search-util.js +0 -8
  450. package/dist/lib/fuma-search-util.mjs +0 -6
  451. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +0 -29
  452. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -24
  453. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +0 -22
  454. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
  455. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.js +0 -55
  456. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -52
  457. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +0 -18
  458. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -16
  459. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -29
  460. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -26
  461. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -25
  462. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -23
  463. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +0 -122
  464. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -119
  465. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +0 -34
  466. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -30
  467. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.js +0 -11
  468. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -9
  469. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.js +0 -30
  470. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -28
  471. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +0 -42
  472. package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -40
  473. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-O4VJ6CD3.js +0 -9
  474. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-ZV4HHKMB.js +0 -9
  475. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-63CPKGFF.js +0 -9
  476. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-63CPKGFF.mjs +0 -2
  477. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-HUATNLJX.js +0 -9
  478. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-HUATNLJX.mjs +0 -2
  479. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WTHONI2E.js +0 -9
  480. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WTHONI2E.mjs +0 -2
  481. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NJJJXTRR.js +0 -9
  482. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NJJJXTRR.mjs +0 -2
  483. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-75Q7IDZK.js +0 -9
  484. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-75Q7IDZK.mjs +0 -2
  485. package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +0 -129
  486. package/dist/node_modules/.pnpm/marked@16.1.2/node_modules/marked/lib/marked.esm.js +0 -83
  487. package/dist/node_modules/.pnpm/marked@16.1.2/node_modules/marked/lib/marked.esm.mjs +0 -73
  488. package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-M3E45YP4.js +0 -30
  489. package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-YAWTLIQI.js +0 -30
  490. package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-LHK5PUON.js +0 -41
  491. package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-5AN5P6BG.js +0 -30
  492. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js +0 -135
  493. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.mjs +0 -132
  494. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js +0 -11
  495. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.mjs +0 -8
  496. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js +0 -8
  497. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.mjs +0 -8
  498. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js +0 -122
  499. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.mjs +0 -111
  500. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js +0 -138
  501. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.mjs +0 -135
  502. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js +0 -113
  503. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.mjs +0 -111
  504. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js +0 -3339
  505. package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs +0 -3297
  506. package/src/lib/fuma-search-util.ts +0 -6
  507. package/src/main/gallery-interactive.tsx +0 -171
  508. package/src/main/gallery.tsx +0 -98
  509. /package/dist/clerk/{clerk-page-generator-client.d.ts → clerk-page-context-generator.d.ts} +0 -0
  510. /package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.2 → @rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3}/node_modules/tslib/tslib.es6.js +0 -0
  511. /package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.2 → @rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3}/node_modules/tslib/tslib.es6.mjs +0 -0
  512. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/acyclic.js +0 -0
  513. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -0
  514. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +0 -0
  515. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -0
  516. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +0 -0
  517. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -0
  518. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/data/list.js +0 -0
  519. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -0
  520. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +0 -0
  521. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -0
  522. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/layout.js +0 -0
  523. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -0
  524. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +0 -0
  525. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -0
  526. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/normalize.js +0 -0
  527. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -0
  528. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +0 -0
  529. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -0
  530. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +0 -0
  531. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -0
  532. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +0 -0
  533. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -0
  534. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/index.js +0 -0
  535. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -0
  536. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/init-order.js +0 -0
  537. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -0
  538. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +0 -0
  539. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -0
  540. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +0 -0
  541. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -0
  542. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort.js +0 -0
  543. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -0
  544. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +0 -0
  545. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -0
  546. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/index.js +0 -0
  547. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -0
  548. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +0 -0
  549. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -0
  550. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/index.js +0 -0
  551. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -0
  552. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +0 -0
  553. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -0
  554. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/util.js +0 -0
  555. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -0
  556. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/util.js +0 -0
  557. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -0
  558. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +0 -0
  559. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -0
  560. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +0 -0
  561. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -0
  562. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +0 -0
  563. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -0
  564. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +0 -0
  565. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -0
  566. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/graph.js +0 -0
  567. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -0
  568. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/json.js +0 -0
  569. /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -0
  570. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js +0 -0
  571. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/dayjs.min.mjs +0 -0
  572. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/advancedFormat.js +0 -0
  573. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/advancedFormat.mjs +0 -0
  574. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/customParseFormat.js +0 -0
  575. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/customParseFormat.mjs +0 -0
  576. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/isoWeek.js +0 -0
  577. /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/isoWeek.mjs +0 -0
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var chunkQESNASVV = require('./chunk-QESNASVV.js');
4
- var chunk353BL4L5 = require('./chunk-353BL4L5.js');
5
- var chunkAACKK3MU = require('./chunk-AACKK3MU.js');
6
- var chunk55PJQP7W = require('./chunk-55PJQP7W.js');
7
- var chunkP3VETL53 = require('./chunk-P3VETL53.js');
8
- var chunk3XYRH5AP = require('./chunk-3XYRH5AP.js');
9
- var mermaidParser_core = require('../../../../../../@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js');
3
+ var chunkEXTU4WIE = require('./chunk-EXTU4WIE.js');
4
+ var chunkJA3XYJ7Z = require('./chunk-JA3XYJ7Z.js');
5
+ var chunk4BX2VUAB = require('./chunk-4BX2VUAB.js');
6
+ var chunkS3R3BYOJ = require('./chunk-S3R3BYOJ.js');
7
+ var chunkABZYJK2D = require('./chunk-ABZYJK2D.js');
8
+ var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');
9
+ var mermaidParser_core = require('../../../../../../@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js');
10
10
  var cytoscape_esm = require('../../../../../../cytoscape@3.33.1/node_modules/cytoscape/dist/cytoscape.esm.js');
11
11
  var cytoscapeFcose = require('../../../../../../../../_virtual/cytoscape-fcose.js');
12
12
  require('../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.js');
@@ -21,56 +21,56 @@ var ArchitectureDirectionName = {
21
21
  B: "bottom"
22
22
  };
23
23
  var ArchitectureDirectionArrow = {
24
- L: /* @__PURE__ */ chunk3XYRH5AP.__name((scale) => `${scale},${scale / 2} 0,${scale} 0,0`, "L"),
25
- R: /* @__PURE__ */ chunk3XYRH5AP.__name((scale) => `0,${scale / 2} ${scale},0 ${scale},${scale}`, "R"),
26
- T: /* @__PURE__ */ chunk3XYRH5AP.__name((scale) => `0,0 ${scale},0 ${scale / 2},${scale}`, "T"),
27
- B: /* @__PURE__ */ chunk3XYRH5AP.__name((scale) => `${scale / 2},0 ${scale},${scale} 0,${scale}`, "B")
24
+ L: /* @__PURE__ */ chunkAGHRB4JF.__name((scale) => `${scale},${scale / 2} 0,${scale} 0,0`, "L"),
25
+ R: /* @__PURE__ */ chunkAGHRB4JF.__name((scale) => `0,${scale / 2} ${scale},0 ${scale},${scale}`, "R"),
26
+ T: /* @__PURE__ */ chunkAGHRB4JF.__name((scale) => `0,0 ${scale},0 ${scale / 2},${scale}`, "T"),
27
+ B: /* @__PURE__ */ chunkAGHRB4JF.__name((scale) => `${scale / 2},0 ${scale},${scale} 0,${scale}`, "B")
28
28
  };
29
29
  var ArchitectureDirectionArrowShift = {
30
- L: /* @__PURE__ */ chunk3XYRH5AP.__name((orig, arrowSize) => orig - arrowSize + 2, "L"),
31
- R: /* @__PURE__ */ chunk3XYRH5AP.__name((orig, _arrowSize) => orig - 2, "R"),
32
- T: /* @__PURE__ */ chunk3XYRH5AP.__name((orig, arrowSize) => orig - arrowSize + 2, "T"),
33
- B: /* @__PURE__ */ chunk3XYRH5AP.__name((orig, _arrowSize) => orig - 2, "B")
30
+ L: /* @__PURE__ */ chunkAGHRB4JF.__name((orig, arrowSize) => orig - arrowSize + 2, "L"),
31
+ R: /* @__PURE__ */ chunkAGHRB4JF.__name((orig, _arrowSize) => orig - 2, "R"),
32
+ T: /* @__PURE__ */ chunkAGHRB4JF.__name((orig, arrowSize) => orig - arrowSize + 2, "T"),
33
+ B: /* @__PURE__ */ chunkAGHRB4JF.__name((orig, _arrowSize) => orig - 2, "B")
34
34
  };
35
- var getOppositeArchitectureDirection = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
35
+ var getOppositeArchitectureDirection = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
36
36
  if (isArchitectureDirectionX(x)) {
37
37
  return x === "L" ? "R" : "L";
38
38
  } else {
39
39
  return x === "T" ? "B" : "T";
40
40
  }
41
41
  }, "getOppositeArchitectureDirection");
42
- var isArchitectureDirection = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
42
+ var isArchitectureDirection = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
43
43
  const temp = x;
44
44
  return temp === "L" || temp === "R" || temp === "T" || temp === "B";
45
45
  }, "isArchitectureDirection");
46
- var isArchitectureDirectionX = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
46
+ var isArchitectureDirectionX = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
47
47
  const temp = x;
48
48
  return temp === "L" || temp === "R";
49
49
  }, "isArchitectureDirectionX");
50
- var isArchitectureDirectionY = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
50
+ var isArchitectureDirectionY = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
51
51
  const temp = x;
52
52
  return temp === "T" || temp === "B";
53
53
  }, "isArchitectureDirectionY");
54
- var isArchitectureDirectionXY = /* @__PURE__ */ chunk3XYRH5AP.__name(function(a, b) {
54
+ var isArchitectureDirectionXY = /* @__PURE__ */ chunkAGHRB4JF.__name(function(a, b) {
55
55
  const aX_bY = isArchitectureDirectionX(a) && isArchitectureDirectionY(b);
56
56
  const aY_bX = isArchitectureDirectionY(a) && isArchitectureDirectionX(b);
57
57
  return aX_bY || aY_bX;
58
58
  }, "isArchitectureDirectionXY");
59
- var isArchitecturePairXY = /* @__PURE__ */ chunk3XYRH5AP.__name(function(pair) {
59
+ var isArchitecturePairXY = /* @__PURE__ */ chunkAGHRB4JF.__name(function(pair) {
60
60
  const lhs = pair[0];
61
61
  const rhs = pair[1];
62
62
  const aX_bY = isArchitectureDirectionX(lhs) && isArchitectureDirectionY(rhs);
63
63
  const aY_bX = isArchitectureDirectionY(lhs) && isArchitectureDirectionX(rhs);
64
64
  return aX_bY || aY_bX;
65
65
  }, "isArchitecturePairXY");
66
- var isValidArchitectureDirectionPair = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
66
+ var isValidArchitectureDirectionPair = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
67
67
  return x !== "LL" && x !== "RR" && x !== "TT" && x !== "BB";
68
68
  }, "isValidArchitectureDirectionPair");
69
- var getArchitectureDirectionPair = /* @__PURE__ */ chunk3XYRH5AP.__name(function(sourceDir, targetDir) {
69
+ var getArchitectureDirectionPair = /* @__PURE__ */ chunkAGHRB4JF.__name(function(sourceDir, targetDir) {
70
70
  const pair = `${sourceDir}${targetDir}`;
71
71
  return isValidArchitectureDirectionPair(pair) ? pair : void 0;
72
72
  }, "getArchitectureDirectionPair");
73
- var shiftPositionByArchitectureDirectionPair = /* @__PURE__ */ chunk3XYRH5AP.__name(function([x, y], pair) {
73
+ var shiftPositionByArchitectureDirectionPair = /* @__PURE__ */ chunkAGHRB4JF.__name(function([x, y], pair) {
74
74
  const lhs = pair[0];
75
75
  const rhs = pair[1];
76
76
  if (isArchitectureDirectionX(lhs)) {
@@ -87,7 +87,7 @@ var shiftPositionByArchitectureDirectionPair = /* @__PURE__ */ chunk3XYRH5AP.__n
87
87
  }
88
88
  }
89
89
  }, "shiftPositionByArchitectureDirectionPair");
90
- var getArchitectureDirectionXYFactors = /* @__PURE__ */ chunk3XYRH5AP.__name(function(pair) {
90
+ var getArchitectureDirectionXYFactors = /* @__PURE__ */ chunkAGHRB4JF.__name(function(pair) {
91
91
  if (pair === "LT" || pair === "TL") {
92
92
  return [1, 1];
93
93
  } else if (pair === "BL" || pair === "LB") {
@@ -98,7 +98,7 @@ var getArchitectureDirectionXYFactors = /* @__PURE__ */ chunk3XYRH5AP.__name(fun
98
98
  return [-1, 1];
99
99
  }
100
100
  }, "getArchitectureDirectionXYFactors");
101
- var getArchitectureDirectionAlignment = /* @__PURE__ */ chunk3XYRH5AP.__name(function(a, b) {
101
+ var getArchitectureDirectionAlignment = /* @__PURE__ */ chunkAGHRB4JF.__name(function(a, b) {
102
102
  if (isArchitectureDirectionXY(a, b)) {
103
103
  return "bend";
104
104
  } else if (isArchitectureDirectionX(a)) {
@@ -106,305 +106,322 @@ var getArchitectureDirectionAlignment = /* @__PURE__ */ chunk3XYRH5AP.__name(fun
106
106
  }
107
107
  return "vertical";
108
108
  }, "getArchitectureDirectionAlignment");
109
- var isArchitectureService = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
109
+ var isArchitectureService = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
110
110
  const temp = x;
111
111
  return temp.type === "service";
112
112
  }, "isArchitectureService");
113
- var isArchitectureJunction = /* @__PURE__ */ chunk3XYRH5AP.__name(function(x) {
113
+ var isArchitectureJunction = /* @__PURE__ */ chunkAGHRB4JF.__name(function(x) {
114
114
  const temp = x;
115
115
  return temp.type === "junction";
116
116
  }, "isArchitectureJunction");
117
- var edgeData = /* @__PURE__ */ chunk3XYRH5AP.__name((edge) => {
117
+ var edgeData = /* @__PURE__ */ chunkAGHRB4JF.__name((edge) => {
118
118
  return edge.data();
119
119
  }, "edgeData");
120
- var nodeData = /* @__PURE__ */ chunk3XYRH5AP.__name((node) => {
120
+ var nodeData = /* @__PURE__ */ chunkAGHRB4JF.__name((node) => {
121
121
  return node.data();
122
122
  }, "nodeData");
123
123
 
124
124
  // src/diagrams/architecture/architectureDb.ts
125
- var DEFAULT_ARCHITECTURE_CONFIG = chunk3XYRH5AP.defaultConfig_default.architecture;
126
- var state = new chunkAACKK3MU.ImperativeState(() => ({
127
- nodes: {},
128
- groups: {},
129
- edges: [],
130
- registeredIds: {},
131
- config: DEFAULT_ARCHITECTURE_CONFIG,
132
- dataStructures: void 0,
133
- elements: {}
134
- }));
135
- var clear2 = /* @__PURE__ */ chunk3XYRH5AP.__name(() => {
136
- state.reset();
137
- chunk3XYRH5AP.clear();
138
- }, "clear");
139
- var addService = /* @__PURE__ */ chunk3XYRH5AP.__name(function({
140
- id,
141
- icon,
142
- in: parent,
143
- title,
144
- iconText
145
- }) {
146
- if (state.records.registeredIds[id] !== void 0) {
147
- throw new Error(
148
- `The service id [${id}] is already in use by another ${state.records.registeredIds[id]}`
149
- );
125
+ var DEFAULT_ARCHITECTURE_CONFIG = chunkABZYJK2D.defaultConfig_default.architecture;
126
+ var ArchitectureDB = class {
127
+ constructor() {
128
+ this.nodes = {};
129
+ this.groups = {};
130
+ this.edges = [];
131
+ this.registeredIds = {};
132
+ this.elements = {};
133
+ this.setAccTitle = chunkABZYJK2D.setAccTitle;
134
+ this.getAccTitle = chunkABZYJK2D.getAccTitle;
135
+ this.setDiagramTitle = chunkABZYJK2D.setDiagramTitle;
136
+ this.getDiagramTitle = chunkABZYJK2D.getDiagramTitle;
137
+ this.getAccDescription = chunkABZYJK2D.getAccDescription;
138
+ this.setAccDescription = chunkABZYJK2D.setAccDescription;
139
+ this.clear();
150
140
  }
151
- if (parent !== void 0) {
152
- if (id === parent) {
153
- throw new Error(`The service [${id}] cannot be placed within itself`);
154
- }
155
- if (state.records.registeredIds[parent] === void 0) {
156
- throw new Error(
157
- `The service [${id}]'s parent does not exist. Please make sure the parent is created before this service`
158
- );
159
- }
160
- if (state.records.registeredIds[parent] === "node") {
161
- throw new Error(`The service [${id}]'s parent is not a group`);
162
- }
141
+ static {
142
+ chunkAGHRB4JF.__name(this, "ArchitectureDB");
163
143
  }
164
- state.records.registeredIds[id] = "node";
165
- state.records.nodes[id] = {
144
+ clear() {
145
+ this.nodes = {};
146
+ this.groups = {};
147
+ this.edges = [];
148
+ this.registeredIds = {};
149
+ this.dataStructures = void 0;
150
+ this.elements = {};
151
+ chunkABZYJK2D.clear();
152
+ }
153
+ addService({
166
154
  id,
167
- type: "service",
168
155
  icon,
169
- iconText,
156
+ in: parent,
170
157
  title,
171
- edges: [],
172
- in: parent
173
- };
174
- }, "addService");
175
- var getServices = /* @__PURE__ */ chunk3XYRH5AP.__name(() => Object.values(state.records.nodes).filter(isArchitectureService), "getServices");
176
- var addJunction = /* @__PURE__ */ chunk3XYRH5AP.__name(function({ id, in: parent }) {
177
- state.records.registeredIds[id] = "node";
178
- state.records.nodes[id] = {
179
- id,
180
- type: "junction",
181
- edges: [],
182
- in: parent
183
- };
184
- }, "addJunction");
185
- var getJunctions = /* @__PURE__ */ chunk3XYRH5AP.__name(() => Object.values(state.records.nodes).filter(isArchitectureJunction), "getJunctions");
186
- var getNodes = /* @__PURE__ */ chunk3XYRH5AP.__name(() => Object.values(state.records.nodes), "getNodes");
187
- var getNode = /* @__PURE__ */ chunk3XYRH5AP.__name((id) => state.records.nodes[id], "getNode");
188
- var addGroup = /* @__PURE__ */ chunk3XYRH5AP.__name(function({ id, icon, in: parent, title }) {
189
- if (state.records.registeredIds[id] !== void 0) {
190
- throw new Error(
191
- `The group id [${id}] is already in use by another ${state.records.registeredIds[id]}`
192
- );
193
- }
194
- if (parent !== void 0) {
195
- if (id === parent) {
196
- throw new Error(`The group [${id}] cannot be placed within itself`);
197
- }
198
- if (state.records.registeredIds[parent] === void 0) {
158
+ iconText
159
+ }) {
160
+ if (this.registeredIds[id] !== void 0) {
199
161
  throw new Error(
200
- `The group [${id}]'s parent does not exist. Please make sure the parent is created before this group`
162
+ `The service id [${id}] is already in use by another ${this.registeredIds[id]}`
201
163
  );
202
164
  }
203
- if (state.records.registeredIds[parent] === "node") {
204
- throw new Error(`The group [${id}]'s parent is not a group`);
165
+ if (parent !== void 0) {
166
+ if (id === parent) {
167
+ throw new Error(`The service [${id}] cannot be placed within itself`);
168
+ }
169
+ if (this.registeredIds[parent] === void 0) {
170
+ throw new Error(
171
+ `The service [${id}]'s parent does not exist. Please make sure the parent is created before this service`
172
+ );
173
+ }
174
+ if (this.registeredIds[parent] === "node") {
175
+ throw new Error(`The service [${id}]'s parent is not a group`);
176
+ }
205
177
  }
178
+ this.registeredIds[id] = "node";
179
+ this.nodes[id] = {
180
+ id,
181
+ type: "service",
182
+ icon,
183
+ iconText,
184
+ title,
185
+ edges: [],
186
+ in: parent
187
+ };
206
188
  }
207
- state.records.registeredIds[id] = "group";
208
- state.records.groups[id] = {
209
- id,
210
- icon,
211
- title,
212
- in: parent
213
- };
214
- }, "addGroup");
215
- var getGroups = /* @__PURE__ */ chunk3XYRH5AP.__name(() => {
216
- return Object.values(state.records.groups);
217
- }, "getGroups");
218
- var addEdge = /* @__PURE__ */ chunk3XYRH5AP.__name(function({
219
- lhsId,
220
- rhsId,
221
- lhsDir,
222
- rhsDir,
223
- lhsInto,
224
- rhsInto,
225
- lhsGroup,
226
- rhsGroup,
227
- title
228
- }) {
229
- if (!isArchitectureDirection(lhsDir)) {
230
- throw new Error(
231
- `Invalid direction given for left hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${lhsDir}`
232
- );
189
+ getServices() {
190
+ return Object.values(this.nodes).filter(isArchitectureService);
233
191
  }
234
- if (!isArchitectureDirection(rhsDir)) {
235
- throw new Error(
236
- `Invalid direction given for right hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${rhsDir}`
237
- );
192
+ addJunction({ id, in: parent }) {
193
+ this.registeredIds[id] = "node";
194
+ this.nodes[id] = {
195
+ id,
196
+ type: "junction",
197
+ edges: [],
198
+ in: parent
199
+ };
238
200
  }
239
- if (state.records.nodes[lhsId] === void 0 && state.records.groups[lhsId] === void 0) {
240
- throw new Error(
241
- `The left-hand id [${lhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
242
- );
201
+ getJunctions() {
202
+ return Object.values(this.nodes).filter(isArchitectureJunction);
243
203
  }
244
- if (state.records.nodes[rhsId] === void 0 && state.records.groups[lhsId] === void 0) {
245
- throw new Error(
246
- `The right-hand id [${rhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
247
- );
204
+ getNodes() {
205
+ return Object.values(this.nodes);
248
206
  }
249
- const lhsGroupId = state.records.nodes[lhsId].in;
250
- const rhsGroupId = state.records.nodes[rhsId].in;
251
- if (lhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
252
- throw new Error(
253
- `The left-hand id [${lhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
254
- );
207
+ getNode(id) {
208
+ return this.nodes[id] ?? null;
255
209
  }
256
- if (rhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
257
- throw new Error(
258
- `The right-hand id [${rhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
259
- );
210
+ addGroup({ id, icon, in: parent, title }) {
211
+ if (this.registeredIds?.[id] !== void 0) {
212
+ throw new Error(
213
+ `The group id [${id}] is already in use by another ${this.registeredIds[id]}`
214
+ );
215
+ }
216
+ if (parent !== void 0) {
217
+ if (id === parent) {
218
+ throw new Error(`The group [${id}] cannot be placed within itself`);
219
+ }
220
+ if (this.registeredIds?.[parent] === void 0) {
221
+ throw new Error(
222
+ `The group [${id}]'s parent does not exist. Please make sure the parent is created before this group`
223
+ );
224
+ }
225
+ if (this.registeredIds?.[parent] === "node") {
226
+ throw new Error(`The group [${id}]'s parent is not a group`);
227
+ }
228
+ }
229
+ this.registeredIds[id] = "group";
230
+ this.groups[id] = {
231
+ id,
232
+ icon,
233
+ title,
234
+ in: parent
235
+ };
236
+ }
237
+ getGroups() {
238
+ return Object.values(this.groups);
260
239
  }
261
- const edge = {
240
+ addEdge({
262
241
  lhsId,
263
- lhsDir,
264
- lhsInto,
265
- lhsGroup,
266
242
  rhsId,
243
+ lhsDir,
267
244
  rhsDir,
245
+ lhsInto,
268
246
  rhsInto,
247
+ lhsGroup,
269
248
  rhsGroup,
270
249
  title
271
- };
272
- state.records.edges.push(edge);
273
- if (state.records.nodes[lhsId] && state.records.nodes[rhsId]) {
274
- state.records.nodes[lhsId].edges.push(state.records.edges[state.records.edges.length - 1]);
275
- state.records.nodes[rhsId].edges.push(state.records.edges[state.records.edges.length - 1]);
250
+ }) {
251
+ if (!isArchitectureDirection(lhsDir)) {
252
+ throw new Error(
253
+ `Invalid direction given for left hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${String(lhsDir)}`
254
+ );
255
+ }
256
+ if (!isArchitectureDirection(rhsDir)) {
257
+ throw new Error(
258
+ `Invalid direction given for right hand side of edge ${lhsId}--${rhsId}. Expected (L,R,T,B) got ${String(rhsDir)}`
259
+ );
260
+ }
261
+ if (this.nodes[lhsId] === void 0 && this.groups[lhsId] === void 0) {
262
+ throw new Error(
263
+ `The left-hand id [${lhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
264
+ );
265
+ }
266
+ if (this.nodes[rhsId] === void 0 && this.groups[rhsId] === void 0) {
267
+ throw new Error(
268
+ `The right-hand id [${rhsId}] does not yet exist. Please create the service/group before declaring an edge to it.`
269
+ );
270
+ }
271
+ const lhsGroupId = this.nodes[lhsId].in;
272
+ const rhsGroupId = this.nodes[rhsId].in;
273
+ if (lhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
274
+ throw new Error(
275
+ `The left-hand id [${lhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
276
+ );
277
+ }
278
+ if (rhsGroup && lhsGroupId && rhsGroupId && lhsGroupId == rhsGroupId) {
279
+ throw new Error(
280
+ `The right-hand id [${rhsId}] is modified to traverse the group boundary, but the edge does not pass through two groups.`
281
+ );
282
+ }
283
+ const edge = {
284
+ lhsId,
285
+ lhsDir,
286
+ lhsInto,
287
+ lhsGroup,
288
+ rhsId,
289
+ rhsDir,
290
+ rhsInto,
291
+ rhsGroup,
292
+ title
293
+ };
294
+ this.edges.push(edge);
295
+ if (this.nodes[lhsId] && this.nodes[rhsId]) {
296
+ this.nodes[lhsId].edges.push(this.edges[this.edges.length - 1]);
297
+ this.nodes[rhsId].edges.push(this.edges[this.edges.length - 1]);
298
+ }
276
299
  }
277
- }, "addEdge");
278
- var getEdges = /* @__PURE__ */ chunk3XYRH5AP.__name(() => state.records.edges, "getEdges");
279
- var getDataStructures = /* @__PURE__ */ chunk3XYRH5AP.__name(() => {
280
- if (state.records.dataStructures === void 0) {
281
- const groupAlignments = {};
282
- const adjList = Object.entries(state.records.nodes).reduce((prevOuter, [id, service]) => {
283
- prevOuter[id] = service.edges.reduce((prevInner, edge) => {
284
- const lhsGroupId = getNode(edge.lhsId)?.in;
285
- const rhsGroupId = getNode(edge.rhsId)?.in;
286
- if (lhsGroupId && rhsGroupId && lhsGroupId !== rhsGroupId) {
287
- const alignment = getArchitectureDirectionAlignment(edge.lhsDir, edge.rhsDir);
288
- if (alignment !== "bend") {
289
- groupAlignments[lhsGroupId] ??= {};
290
- groupAlignments[lhsGroupId][rhsGroupId] = alignment;
291
- groupAlignments[rhsGroupId] ??= {};
292
- groupAlignments[rhsGroupId][lhsGroupId] = alignment;
293
- }
294
- }
295
- if (edge.lhsId === id) {
296
- const pair = getArchitectureDirectionPair(edge.lhsDir, edge.rhsDir);
297
- if (pair) {
298
- prevInner[pair] = edge.rhsId;
300
+ getEdges() {
301
+ return this.edges;
302
+ }
303
+ /**
304
+ * Returns the current diagram's adjacency list, spatial map, & group alignments.
305
+ * If they have not been created, run the algorithms to generate them.
306
+ * @returns
307
+ */
308
+ getDataStructures() {
309
+ if (this.dataStructures === void 0) {
310
+ const groupAlignments = {};
311
+ const adjList = Object.entries(this.nodes).reduce((prevOuter, [id, service]) => {
312
+ prevOuter[id] = service.edges.reduce((prevInner, edge) => {
313
+ const lhsGroupId = this.getNode(edge.lhsId)?.in;
314
+ const rhsGroupId = this.getNode(edge.rhsId)?.in;
315
+ if (lhsGroupId && rhsGroupId && lhsGroupId !== rhsGroupId) {
316
+ const alignment = getArchitectureDirectionAlignment(edge.lhsDir, edge.rhsDir);
317
+ if (alignment !== "bend") {
318
+ groupAlignments[lhsGroupId] ??= {};
319
+ groupAlignments[lhsGroupId][rhsGroupId] = alignment;
320
+ groupAlignments[rhsGroupId] ??= {};
321
+ groupAlignments[rhsGroupId][lhsGroupId] = alignment;
322
+ }
299
323
  }
300
- } else {
301
- const pair = getArchitectureDirectionPair(edge.rhsDir, edge.lhsDir);
302
- if (pair) {
303
- prevInner[pair] = edge.lhsId;
324
+ if (edge.lhsId === id) {
325
+ const pair = getArchitectureDirectionPair(edge.lhsDir, edge.rhsDir);
326
+ if (pair) {
327
+ prevInner[pair] = edge.rhsId;
328
+ }
329
+ } else {
330
+ const pair = getArchitectureDirectionPair(edge.rhsDir, edge.lhsDir);
331
+ if (pair) {
332
+ prevInner[pair] = edge.lhsId;
333
+ }
304
334
  }
305
- }
306
- return prevInner;
335
+ return prevInner;
336
+ }, {});
337
+ return prevOuter;
307
338
  }, {});
308
- return prevOuter;
309
- }, {});
310
- const firstId = Object.keys(adjList)[0];
311
- const visited = { [firstId]: 1 };
312
- const notVisited = Object.keys(adjList).reduce(
313
- (prev, id) => id === firstId ? prev : { ...prev, [id]: 1 },
314
- {}
315
- );
316
- const BFS = /* @__PURE__ */ chunk3XYRH5AP.__name((startingId) => {
317
- const spatialMap = { [startingId]: [0, 0] };
318
- const queue = [startingId];
319
- while (queue.length > 0) {
320
- const id = queue.shift();
321
- if (id) {
322
- visited[id] = 1;
323
- delete notVisited[id];
324
- const adj = adjList[id];
325
- const [posX, posY] = spatialMap[id];
326
- Object.entries(adj).forEach(([dir, rhsId]) => {
327
- if (!visited[rhsId]) {
328
- spatialMap[rhsId] = shiftPositionByArchitectureDirectionPair(
329
- [posX, posY],
330
- dir
331
- );
332
- queue.push(rhsId);
333
- }
334
- });
339
+ const firstId = Object.keys(adjList)[0];
340
+ const visited = { [firstId]: 1 };
341
+ const notVisited = Object.keys(adjList).reduce(
342
+ (prev, id) => id === firstId ? prev : { ...prev, [id]: 1 },
343
+ {}
344
+ );
345
+ const BFS = /* @__PURE__ */ chunkAGHRB4JF.__name((startingId) => {
346
+ const spatialMap = { [startingId]: [0, 0] };
347
+ const queue = [startingId];
348
+ while (queue.length > 0) {
349
+ const id = queue.shift();
350
+ if (id) {
351
+ visited[id] = 1;
352
+ delete notVisited[id];
353
+ const adj = adjList[id];
354
+ const [posX, posY] = spatialMap[id];
355
+ Object.entries(adj).forEach(([dir, rhsId]) => {
356
+ if (!visited[rhsId]) {
357
+ spatialMap[rhsId] = shiftPositionByArchitectureDirectionPair(
358
+ [posX, posY],
359
+ dir
360
+ );
361
+ queue.push(rhsId);
362
+ }
363
+ });
364
+ }
335
365
  }
366
+ return spatialMap;
367
+ }, "BFS");
368
+ const spatialMaps = [BFS(firstId)];
369
+ while (Object.keys(notVisited).length > 0) {
370
+ spatialMaps.push(BFS(Object.keys(notVisited)[0]));
336
371
  }
337
- return spatialMap;
338
- }, "BFS");
339
- const spatialMaps = [BFS(firstId)];
340
- while (Object.keys(notVisited).length > 0) {
341
- spatialMaps.push(BFS(Object.keys(notVisited)[0]));
372
+ this.dataStructures = {
373
+ adjList,
374
+ spatialMaps,
375
+ groupAlignments
376
+ };
342
377
  }
343
- state.records.dataStructures = {
344
- adjList,
345
- spatialMaps,
346
- groupAlignments
347
- };
378
+ return this.dataStructures;
379
+ }
380
+ setElementForId(id, element) {
381
+ this.elements[id] = element;
382
+ }
383
+ getElementById(id) {
384
+ return this.elements[id];
385
+ }
386
+ getConfig() {
387
+ return chunkS3R3BYOJ.cleanAndMerge({
388
+ ...DEFAULT_ARCHITECTURE_CONFIG,
389
+ ...chunkABZYJK2D.getConfig().architecture
390
+ });
391
+ }
392
+ getConfigField(field) {
393
+ return this.getConfig()[field];
348
394
  }
349
- return state.records.dataStructures;
350
- }, "getDataStructures");
351
- var setElementForId = /* @__PURE__ */ chunk3XYRH5AP.__name((id, element) => {
352
- state.records.elements[id] = element;
353
- }, "setElementForId");
354
- var getElementById = /* @__PURE__ */ chunk3XYRH5AP.__name((id) => state.records.elements[id], "getElementById");
355
- var getConfig3 = /* @__PURE__ */ chunk3XYRH5AP.__name(() => {
356
- const config = chunk55PJQP7W.cleanAndMerge({
357
- ...DEFAULT_ARCHITECTURE_CONFIG,
358
- ...chunk3XYRH5AP.getConfig().architecture
359
- });
360
- return config;
361
- }, "getConfig");
362
- var db = {
363
- clear: clear2,
364
- setDiagramTitle: chunk3XYRH5AP.setDiagramTitle,
365
- getDiagramTitle: chunk3XYRH5AP.getDiagramTitle,
366
- setAccTitle: chunk3XYRH5AP.setAccTitle,
367
- getAccTitle: chunk3XYRH5AP.getAccTitle,
368
- setAccDescription: chunk3XYRH5AP.setAccDescription,
369
- getAccDescription: chunk3XYRH5AP.getAccDescription,
370
- getConfig: getConfig3,
371
- addService,
372
- getServices,
373
- addJunction,
374
- getJunctions,
375
- getNodes,
376
- getNode,
377
- addGroup,
378
- getGroups,
379
- addEdge,
380
- getEdges,
381
- setElementForId,
382
- getElementById,
383
- getDataStructures
384
395
  };
385
- function getConfigField(field) {
386
- return getConfig3()[field];
387
- }
388
- chunk3XYRH5AP.__name(getConfigField, "getConfigField");
389
396
 
390
397
  // src/diagrams/architecture/architectureParser.ts
391
- var populateDb = /* @__PURE__ */ chunk3XYRH5AP.__name((ast, db2) => {
392
- chunk353BL4L5.populateCommonDb(ast, db2);
393
- ast.groups.map(db2.addGroup);
394
- ast.services.map((service) => db2.addService({ ...service, type: "service" }));
395
- ast.junctions.map((service) => db2.addJunction({ ...service, type: "junction" }));
396
- ast.edges.map(db2.addEdge);
398
+ var populateDb = /* @__PURE__ */ chunkAGHRB4JF.__name((ast, db) => {
399
+ chunk4BX2VUAB.populateCommonDb(ast, db);
400
+ ast.groups.map((group) => db.addGroup(group));
401
+ ast.services.map((service) => db.addService({ ...service, type: "service" }));
402
+ ast.junctions.map((service) => db.addJunction({ ...service, type: "junction" }));
403
+ ast.edges.map((edge) => db.addEdge(edge));
397
404
  }, "populateDb");
398
405
  var parser = {
399
- parse: /* @__PURE__ */ chunk3XYRH5AP.__name(async (input) => {
406
+ parser: {
407
+ // @ts-expect-error - ArchitectureDB is not assignable to DiagramDB
408
+ yy: void 0
409
+ },
410
+ parse: /* @__PURE__ */ chunkAGHRB4JF.__name(async (input) => {
400
411
  const ast = await mermaidParser_core.parse("architecture", input);
401
- chunk3XYRH5AP.log.debug(ast);
412
+ chunkAGHRB4JF.log.debug(ast);
413
+ const db = parser.parser?.yy;
414
+ if (!(db instanceof ArchitectureDB)) {
415
+ throw new Error(
416
+ "parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
417
+ );
418
+ }
402
419
  populateDb(ast, db);
403
420
  }, "parse")
404
421
  };
405
422
 
406
423
  // src/diagrams/architecture/architectureStyles.ts
407
- var getStyles = /* @__PURE__ */ chunk3XYRH5AP.__name((options) => `
424
+ var getStyles = /* @__PURE__ */ chunkAGHRB4JF.__name((options) => `
408
425
  .edge {
409
426
  stroke-width: ${options.archEdgeWidth};
410
427
  stroke: ${options.archEdgeColor};
@@ -439,7 +456,7 @@ var getStyles = /* @__PURE__ */ chunk3XYRH5AP.__name((options) => `
439
456
  var architectureStyles_default = getStyles;
440
457
 
441
458
  // src/diagrams/architecture/architectureIcons.ts
442
- var wrapIcon = /* @__PURE__ */ chunk3XYRH5AP.__name((icon) => {
459
+ var wrapIcon = /* @__PURE__ */ chunkAGHRB4JF.__name((icon) => {
443
460
  return `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${icon}</g>`;
444
461
  }, "wrapIcon");
445
462
  var architectureIcons = {
@@ -472,7 +489,7 @@ var architectureIcons = {
472
489
  '<path d="m65,47.5c0,2.76-2.24,5-5,5H20c-2.76,0-5-2.24-5-5,0-1.87,1.03-3.51,2.56-4.36-.04-.21-.06-.42-.06-.64,0-2.6,2.48-4.74,5.65-4.97,1.65-4.51,6.34-7.76,11.85-7.76.86,0,1.69.08,2.5.23,2.09-1.57,4.69-2.5,7.5-2.5,6.1,0,11.19,4.38,12.28,10.17,2.14.56,3.72,2.51,3.72,4.83,0,.03,0,.07-.01.1,2.29.46,4.01,2.48,4.01,4.9Z" style="fill: none; stroke: #fff; stroke-miterlimit: 10; stroke-width: 2px;"/>'
473
490
  )
474
491
  },
475
- unknown: chunkQESNASVV.unknownIcon,
492
+ unknown: chunkJA3XYJ7Z.unknownIcon,
476
493
  blank: {
477
494
  body: wrapIcon("")
478
495
  }
@@ -480,9 +497,9 @@ var architectureIcons = {
480
497
  };
481
498
 
482
499
  // src/diagrams/architecture/svgDraw.ts
483
- var drawEdges = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(edgesEl, cy) {
484
- const padding = getConfigField("padding");
485
- const iconSize = getConfigField("iconSize");
500
+ var drawEdges = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(edgesEl, cy, db) {
501
+ const padding = db.getConfigField("padding");
502
+ const iconSize = db.getConfigField("iconSize");
486
503
  const halfIconSize = iconSize / 2;
487
504
  const arrowSize = iconSize / 6;
488
505
  const halfArrowSize = arrowSize / 2;
@@ -533,7 +550,7 @@ var drawEdges = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(edgesEl, cy)
533
550
  }
534
551
  if (edge[0]._private.rscratch) {
535
552
  const g = edgesEl.insert("g");
536
- g.insert("path").attr("d", `M ${startX},${startY} L ${midX},${midY} L${endX},${endY} `).attr("class", "edge");
553
+ g.insert("path").attr("d", `M ${startX},${startY} L ${midX},${midY} L${endX},${endY} `).attr("class", "edge").attr("id", chunkS3R3BYOJ.getEdgeId(source, target, { prefix: "L" }));
537
554
  if (sourceArrow) {
538
555
  const xShift = isArchitectureDirectionX(sourceDir) ? ArchitectureDirectionArrowShift[sourceDir](startX, arrowSize) : startX - halfArrowSize;
539
556
  const yShift = isArchitectureDirectionY(sourceDir) ? ArchitectureDirectionArrowShift[sourceDir](startY, arrowSize) : startY - halfArrowSize;
@@ -555,7 +572,7 @@ var drawEdges = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(edgesEl, cy)
555
572
  width = Math.abs(startX - endX) / 2;
556
573
  }
557
574
  const textElem = g.append("g");
558
- await chunkQESNASVV.createText(
575
+ await chunkJA3XYJ7Z.createText(
559
576
  textElem,
560
577
  label,
561
578
  {
@@ -563,7 +580,7 @@ var drawEdges = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(edgesEl, cy)
563
580
  width,
564
581
  classes: "architecture-service-label"
565
582
  },
566
- chunk3XYRH5AP.getConfig2()
583
+ chunkABZYJK2D.getConfig2()
567
584
  );
568
585
  textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
569
586
  if (axis === "X") {
@@ -592,25 +609,26 @@ var drawEdges = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(edgesEl, cy)
592
609
  })
593
610
  );
594
611
  }, "drawEdges");
595
- var drawGroups = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(groupsEl, cy) {
596
- const padding = getConfigField("padding");
612
+ var drawGroups = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(groupsEl, cy, db) {
613
+ const padding = db.getConfigField("padding");
597
614
  const groupIconSize = padding * 0.75;
598
- const fontSize = getConfigField("fontSize");
599
- const iconSize = getConfigField("iconSize");
615
+ const fontSize = db.getConfigField("fontSize");
616
+ const iconSize = db.getConfigField("iconSize");
600
617
  const halfIconSize = iconSize / 2;
601
618
  await Promise.all(
602
619
  cy.nodes().map(async (node) => {
603
620
  const data = nodeData(node);
604
621
  if (data.type === "group") {
605
622
  const { h, w, x1, y1 } = node.boundingBox();
606
- groupsEl.append("rect").attr("x", x1 + halfIconSize).attr("y", y1 + halfIconSize).attr("width", w).attr("height", h).attr("class", "node-bkg");
623
+ const groupsNode = groupsEl.append("rect");
624
+ groupsNode.attr("id", `group-${data.id}`).attr("x", x1 + halfIconSize).attr("y", y1 + halfIconSize).attr("width", w).attr("height", h).attr("class", "node-bkg");
607
625
  const groupLabelContainer = groupsEl.append("g");
608
626
  let shiftedX1 = x1;
609
627
  let shiftedY1 = y1;
610
628
  if (data.icon) {
611
629
  const bkgElem = groupLabelContainer.append("g");
612
630
  bkgElem.html(
613
- `<g>${await chunkQESNASVV.getIconSVG(data.icon, { height: groupIconSize, width: groupIconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
631
+ `<g>${await chunkJA3XYJ7Z.getIconSVG(data.icon, { height: groupIconSize, width: groupIconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
614
632
  );
615
633
  bkgElem.attr(
616
634
  "transform",
@@ -621,7 +639,7 @@ var drawGroups = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(groupsEl, c
621
639
  }
622
640
  if (data.label) {
623
641
  const textElem = groupLabelContainer.append("g");
624
- await chunkQESNASVV.createText(
642
+ await chunkJA3XYJ7Z.createText(
625
643
  textElem,
626
644
  data.label,
627
645
  {
@@ -629,7 +647,7 @@ var drawGroups = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(groupsEl, c
629
647
  width: w,
630
648
  classes: "architecture-service-label"
631
649
  },
632
- chunk3XYRH5AP.getConfig2()
650
+ chunkABZYJK2D.getConfig2()
633
651
  );
634
652
  textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start");
635
653
  textElem.attr(
@@ -637,17 +655,19 @@ var drawGroups = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(groupsEl, c
637
655
  "translate(" + (shiftedX1 + halfIconSize + 4) + ", " + (shiftedY1 + halfIconSize + 2) + ")"
638
656
  );
639
657
  }
658
+ db.setElementForId(data.id, groupsNode);
640
659
  }
641
660
  })
642
661
  );
643
662
  }, "drawGroups");
644
- var drawServices = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(db2, elem, services) {
663
+ var drawServices = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(db, elem, services) {
664
+ const config = chunkABZYJK2D.getConfig2();
645
665
  for (const service of services) {
646
666
  const serviceElem = elem.append("g");
647
- const iconSize = getConfigField("iconSize");
667
+ const iconSize = db.getConfigField("iconSize");
648
668
  if (service.title) {
649
669
  const textElem = serviceElem.append("g");
650
- await chunkQESNASVV.createText(
670
+ await chunkJA3XYJ7Z.createText(
651
671
  textElem,
652
672
  service.title,
653
673
  {
@@ -655,7 +675,7 @@ var drawServices = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(db2, elem
655
675
  width: iconSize * 1.5,
656
676
  classes: "architecture-service-label"
657
677
  },
658
- chunk3XYRH5AP.getConfig2()
678
+ config
659
679
  );
660
680
  textElem.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle");
661
681
  textElem.attr("transform", "translate(" + iconSize / 2 + ", " + iconSize + ")");
@@ -663,15 +683,15 @@ var drawServices = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(db2, elem
663
683
  const bkgElem = serviceElem.append("g");
664
684
  if (service.icon) {
665
685
  bkgElem.html(
666
- `<g>${await chunkQESNASVV.getIconSVG(service.icon, { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
686
+ `<g>${await chunkJA3XYJ7Z.getIconSVG(service.icon, { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
667
687
  );
668
688
  } else if (service.iconText) {
669
689
  bkgElem.html(
670
- `<g>${await chunkQESNASVV.getIconSVG("blank", { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
690
+ `<g>${await chunkJA3XYJ7Z.getIconSVG("blank", { height: iconSize, width: iconSize, fallbackPrefix: architectureIcons.prefix })}</g>`
671
691
  );
672
692
  const textElemContainer = bkgElem.append("g");
673
693
  const fo = textElemContainer.append("foreignObject").attr("width", iconSize).attr("height", iconSize);
674
- const divElem = fo.append("div").attr("class", "node-icon-text").attr("style", `height: ${iconSize}px;`).append("div").html(service.iconText);
694
+ const divElem = fo.append("div").attr("class", "node-icon-text").attr("style", `height: ${iconSize}px;`).append("div").html(chunkABZYJK2D.sanitizeText(service.iconText, config));
675
695
  const fontSize = parseInt(
676
696
  window.getComputedStyle(divElem.node(), null).getPropertyValue("font-size").replace(/\D/g, "")
677
697
  ) ?? 16;
@@ -682,37 +702,37 @@ var drawServices = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(db2, elem
682
702
  `M0 ${iconSize} v${-iconSize} q0,-5 5,-5 h${iconSize} q5,0 5,5 v${iconSize} H0 Z`
683
703
  );
684
704
  }
685
- serviceElem.attr("class", "architecture-service");
686
- const { width, height } = serviceElem._groups[0][0].getBBox();
705
+ serviceElem.attr("id", `service-${service.id}`).attr("class", "architecture-service");
706
+ const { width, height } = serviceElem.node().getBBox();
687
707
  service.width = width;
688
708
  service.height = height;
689
- db2.setElementForId(service.id, serviceElem);
709
+ db.setElementForId(service.id, serviceElem);
690
710
  }
691
711
  return 0;
692
712
  }, "drawServices");
693
- var drawJunctions = /* @__PURE__ */ chunk3XYRH5AP.__name(function(db2, elem, junctions) {
713
+ var drawJunctions = /* @__PURE__ */ chunkAGHRB4JF.__name(function(db, elem, junctions) {
694
714
  junctions.forEach((junction) => {
695
715
  const junctionElem = elem.append("g");
696
- const iconSize = getConfigField("iconSize");
716
+ const iconSize = db.getConfigField("iconSize");
697
717
  const bkgElem = junctionElem.append("g");
698
718
  bkgElem.append("rect").attr("id", "node-" + junction.id).attr("fill-opacity", "0").attr("width", iconSize).attr("height", iconSize);
699
719
  junctionElem.attr("class", "architecture-junction");
700
720
  const { width, height } = junctionElem._groups[0][0].getBBox();
701
721
  junctionElem.width = width;
702
722
  junctionElem.height = height;
703
- db2.setElementForId(junction.id, junctionElem);
723
+ db.setElementForId(junction.id, junctionElem);
704
724
  });
705
725
  }, "drawJunctions");
706
726
 
707
727
  // src/diagrams/architecture/architectureRenderer.ts
708
- chunkQESNASVV.registerIconPacks([
728
+ chunkJA3XYJ7Z.registerIconPacks([
709
729
  {
710
730
  name: architectureIcons.prefix,
711
731
  icons: architectureIcons
712
732
  }
713
733
  ]);
714
734
  cytoscape_esm.use(cytoscapeFcose);
715
- function addServices(services, cy) {
735
+ function addServices(services, cy, db) {
716
736
  services.forEach((service) => {
717
737
  cy.add({
718
738
  group: "nodes",
@@ -722,15 +742,15 @@ function addServices(services, cy) {
722
742
  icon: service.icon,
723
743
  label: service.title,
724
744
  parent: service.in,
725
- width: getConfigField("iconSize"),
726
- height: getConfigField("iconSize")
745
+ width: db.getConfigField("iconSize"),
746
+ height: db.getConfigField("iconSize")
727
747
  },
728
748
  classes: "node-service"
729
749
  });
730
750
  });
731
751
  }
732
- chunk3XYRH5AP.__name(addServices, "addServices");
733
- function addJunctions(junctions, cy) {
752
+ chunkAGHRB4JF.__name(addServices, "addServices");
753
+ function addJunctions(junctions, cy, db) {
734
754
  junctions.forEach((junction) => {
735
755
  cy.add({
736
756
  group: "nodes",
@@ -738,15 +758,15 @@ function addJunctions(junctions, cy) {
738
758
  type: "junction",
739
759
  id: junction.id,
740
760
  parent: junction.in,
741
- width: getConfigField("iconSize"),
742
- height: getConfigField("iconSize")
761
+ width: db.getConfigField("iconSize"),
762
+ height: db.getConfigField("iconSize")
743
763
  },
744
764
  classes: "node-junction"
745
765
  });
746
766
  });
747
767
  }
748
- chunk3XYRH5AP.__name(addJunctions, "addJunctions");
749
- function positionNodes(db2, cy) {
768
+ chunkAGHRB4JF.__name(addJunctions, "addJunctions");
769
+ function positionNodes(db, cy) {
750
770
  cy.nodes().map((node) => {
751
771
  const data = nodeData(node);
752
772
  if (data.type === "group") {
@@ -754,11 +774,11 @@ function positionNodes(db2, cy) {
754
774
  }
755
775
  data.x = node.position().x;
756
776
  data.y = node.position().y;
757
- const nodeElem = db2.getElementById(data.id);
777
+ const nodeElem = db.getElementById(data.id);
758
778
  nodeElem.attr("transform", "translate(" + (data.x || 0) + "," + (data.y || 0) + ")");
759
779
  });
760
780
  }
761
- chunk3XYRH5AP.__name(positionNodes, "positionNodes");
781
+ chunkAGHRB4JF.__name(positionNodes, "positionNodes");
762
782
  function addGroups(groups, cy) {
763
783
  groups.forEach((group) => {
764
784
  cy.add({
@@ -774,7 +794,7 @@ function addGroups(groups, cy) {
774
794
  });
775
795
  });
776
796
  }
777
- chunk3XYRH5AP.__name(addGroups, "addGroups");
797
+ chunkAGHRB4JF.__name(addGroups, "addGroups");
778
798
  function addEdges(edges, cy) {
779
799
  edges.forEach((parsedEdge) => {
780
800
  const { lhsId, rhsId, lhsInto, lhsGroup, rhsInto, lhsDir, rhsDir, rhsGroup, title } = parsedEdge;
@@ -800,9 +820,9 @@ function addEdges(edges, cy) {
800
820
  });
801
821
  });
802
822
  }
803
- chunk3XYRH5AP.__name(addEdges, "addEdges");
804
- function getAlignments(db2, spatialMaps, groupAlignments) {
805
- const flattenAlignments = /* @__PURE__ */ chunk3XYRH5AP.__name((alignmentObj, alignmentDir) => {
823
+ chunkAGHRB4JF.__name(addEdges, "addEdges");
824
+ function getAlignments(db, spatialMaps, groupAlignments) {
825
+ const flattenAlignments = /* @__PURE__ */ chunkAGHRB4JF.__name((alignmentObj, alignmentDir) => {
806
826
  return Object.entries(alignmentObj).reduce(
807
827
  (prev, [dir, alignments2]) => {
808
828
  let cnt = 0;
@@ -839,7 +859,7 @@ function getAlignments(db2, spatialMaps, groupAlignments) {
839
859
  const horizontalAlignments = {};
840
860
  const verticalAlignments = {};
841
861
  Object.entries(spatialMap).forEach(([id, [x, y]]) => {
842
- const nodeGroup = db2.getNode(id)?.in ?? "default";
862
+ const nodeGroup = db.getNode(id)?.in ?? "default";
843
863
  horizontalAlignments[y] ??= {};
844
864
  horizontalAlignments[y][nodeGroup] ??= [];
845
865
  horizontalAlignments[y][nodeGroup].push(id);
@@ -870,11 +890,11 @@ function getAlignments(db2, spatialMaps, groupAlignments) {
870
890
  vertical
871
891
  };
872
892
  }
873
- chunk3XYRH5AP.__name(getAlignments, "getAlignments");
874
- function getRelativeConstraints(spatialMaps) {
893
+ chunkAGHRB4JF.__name(getAlignments, "getAlignments");
894
+ function getRelativeConstraints(spatialMaps, db) {
875
895
  const relativeConstraints = [];
876
- const posToStr = /* @__PURE__ */ chunk3XYRH5AP.__name((pos) => `${pos[0]},${pos[1]}`, "posToStr");
877
- const strToPos = /* @__PURE__ */ chunk3XYRH5AP.__name((pos) => pos.split(",").map((p) => parseInt(p)), "strToPos");
896
+ const posToStr = /* @__PURE__ */ chunkAGHRB4JF.__name((pos) => `${pos[0]},${pos[1]}`, "posToStr");
897
+ const strToPos = /* @__PURE__ */ chunkAGHRB4JF.__name((pos) => pos.split(",").map((p) => parseInt(p)), "strToPos");
878
898
  spatialMaps.forEach((spatialMap) => {
879
899
  const invSpatialMap = Object.fromEntries(
880
900
  Object.entries(spatialMap).map(([id, pos]) => [posToStr(pos), id])
@@ -902,7 +922,7 @@ function getRelativeConstraints(spatialMaps) {
902
922
  relativeConstraints.push({
903
923
  [ArchitectureDirectionName[dir]]: newId,
904
924
  [ArchitectureDirectionName[getOppositeArchitectureDirection(dir)]]: currId,
905
- gap: 1.5 * getConfigField("iconSize")
925
+ gap: 1.5 * db.getConfigField("iconSize")
906
926
  });
907
927
  }
908
928
  });
@@ -912,8 +932,8 @@ function getRelativeConstraints(spatialMaps) {
912
932
  });
913
933
  return relativeConstraints;
914
934
  }
915
- chunk3XYRH5AP.__name(getRelativeConstraints, "getRelativeConstraints");
916
- function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMaps, groupAlignments }) {
935
+ chunkAGHRB4JF.__name(getRelativeConstraints, "getRelativeConstraints");
936
+ function layoutArchitecture(services, junctions, groups, edges, db, { spatialMaps, groupAlignments }) {
917
937
  return new Promise((resolve) => {
918
938
  const renderEl = select("body").append("div").attr("id", "cy").attr("style", "display:none");
919
939
  const cy = cytoscape_esm({
@@ -952,7 +972,7 @@ function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMa
952
972
  style: {
953
973
  "text-valign": "bottom",
954
974
  "text-halign": "center",
955
- "font-size": `${getConfigField("fontSize")}px`
975
+ "font-size": `${db.getConfigField("fontSize")}px`
956
976
  }
957
977
  },
958
978
  {
@@ -974,7 +994,7 @@ function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMa
974
994
  selector: ".node-group",
975
995
  style: {
976
996
  // @ts-ignore Incorrect library types
977
- padding: `${getConfigField("padding")}px`
997
+ padding: `${db.getConfigField("padding")}px`
978
998
  }
979
999
  }
980
1000
  ],
@@ -990,11 +1010,11 @@ function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMa
990
1010
  });
991
1011
  renderEl.remove();
992
1012
  addGroups(groups, cy);
993
- addServices(services, cy);
994
- addJunctions(junctions, cy);
1013
+ addServices(services, cy, db);
1014
+ addJunctions(junctions, cy, db);
995
1015
  addEdges(edges, cy);
996
- const alignmentConstraint = getAlignments(db2, spatialMaps, groupAlignments);
997
- const relativePlacementConstraint = getRelativeConstraints(spatialMaps);
1016
+ const alignmentConstraint = getAlignments(db, spatialMaps, groupAlignments);
1017
+ const relativePlacementConstraint = getRelativeConstraints(spatialMaps, db);
998
1018
  const layout = cy.layout({
999
1019
  name: "fcose",
1000
1020
  quality: "proof",
@@ -1007,7 +1027,7 @@ function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMa
1007
1027
  const [nodeA, nodeB] = edge.connectedNodes();
1008
1028
  const { parent: parentA } = nodeData(nodeA);
1009
1029
  const { parent: parentB } = nodeData(nodeB);
1010
- const elasticity = parentA === parentB ? 1.5 * getConfigField("iconSize") : 0.5 * getConfigField("iconSize");
1030
+ const elasticity = parentA === parentB ? 1.5 * db.getConfigField("iconSize") : 0.5 * db.getConfigField("iconSize");
1011
1031
  return elasticity;
1012
1032
  },
1013
1033
  edgeElasticity(edge) {
@@ -1054,7 +1074,7 @@ function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMa
1054
1074
  weights: W
1055
1075
  };
1056
1076
  }
1057
- chunk3XYRH5AP.__name(getSegmentWeights, "getSegmentWeights");
1077
+ chunkAGHRB4JF.__name(getSegmentWeights, "getSegmentWeights");
1058
1078
  cy.startBatch();
1059
1079
  for (const edge of Object.values(cy.edges())) {
1060
1080
  if (edge.data?.()) {
@@ -1076,40 +1096,42 @@ function layoutArchitecture(services, junctions, groups, edges, db2, { spatialMa
1076
1096
  });
1077
1097
  layout.run();
1078
1098
  cy.ready((e) => {
1079
- chunk3XYRH5AP.log.info("Ready", e);
1099
+ chunkAGHRB4JF.log.info("Ready", e);
1080
1100
  resolve(cy);
1081
1101
  });
1082
1102
  });
1083
1103
  }
1084
- chunk3XYRH5AP.__name(layoutArchitecture, "layoutArchitecture");
1085
- var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async (text, id, _version, diagObj) => {
1086
- const db2 = diagObj.db;
1087
- const services = db2.getServices();
1088
- const junctions = db2.getJunctions();
1089
- const groups = db2.getGroups();
1090
- const edges = db2.getEdges();
1091
- const ds = db2.getDataStructures();
1092
- const svg = chunkP3VETL53.selectSvgElement(id);
1104
+ chunkAGHRB4JF.__name(layoutArchitecture, "layoutArchitecture");
1105
+ var draw = /* @__PURE__ */ chunkAGHRB4JF.__name(async (text, id, _version, diagObj) => {
1106
+ const db = diagObj.db;
1107
+ const services = db.getServices();
1108
+ const junctions = db.getJunctions();
1109
+ const groups = db.getGroups();
1110
+ const edges = db.getEdges();
1111
+ const ds = db.getDataStructures();
1112
+ const svg = chunkEXTU4WIE.selectSvgElement(id);
1093
1113
  const edgesElem = svg.append("g");
1094
1114
  edgesElem.attr("class", "architecture-edges");
1095
1115
  const servicesElem = svg.append("g");
1096
1116
  servicesElem.attr("class", "architecture-services");
1097
1117
  const groupElem = svg.append("g");
1098
1118
  groupElem.attr("class", "architecture-groups");
1099
- await drawServices(db2, servicesElem, services);
1100
- drawJunctions(db2, servicesElem, junctions);
1101
- const cy = await layoutArchitecture(services, junctions, groups, edges, db2, ds);
1102
- await drawEdges(edgesElem, cy);
1103
- await drawGroups(groupElem, cy);
1104
- positionNodes(db2, cy);
1105
- chunk3XYRH5AP.setupGraphViewbox(void 0, svg, getConfigField("padding"), getConfigField("useMaxWidth"));
1119
+ await drawServices(db, servicesElem, services);
1120
+ drawJunctions(db, servicesElem, junctions);
1121
+ const cy = await layoutArchitecture(services, junctions, groups, edges, db, ds);
1122
+ await drawEdges(edgesElem, cy, db);
1123
+ await drawGroups(groupElem, cy, db);
1124
+ positionNodes(db, cy);
1125
+ chunkABZYJK2D.setupGraphViewbox(void 0, svg, db.getConfigField("padding"), db.getConfigField("useMaxWidth"));
1106
1126
  }, "draw");
1107
1127
  var renderer = { draw };
1108
1128
 
1109
1129
  // src/diagrams/architecture/architectureDiagram.ts
1110
1130
  var diagram = {
1111
1131
  parser,
1112
- db,
1132
+ get db() {
1133
+ return new ArchitectureDB();
1134
+ },
1113
1135
  renderer,
1114
1136
  styles: architectureStyles_default
1115
1137
  };