@calmabacus/pi-web 1.0.0 → 1.1.1

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 (382) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +10 -11
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/next-server.js.nft.json +1 -1
  5. package/.next/prerender-manifest.json +6 -38
  6. package/.next/react-loadable-manifest.json +215 -224
  7. package/.next/required-server-files.js +4 -2
  8. package/.next/required-server-files.json +4 -2
  9. package/.next/routes-manifest.json +0 -6
  10. package/.next/server/app/_global-error/page.js +2 -2
  11. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/_global-error.html +1 -1
  13. package/.next/server/app/_global-error.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next/server/app/_not-found/page.js +1 -1
  18. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/.next/server/app/_not-found.html +1 -1
  20. package/.next/server/app/_not-found.rsc +5 -5
  21. package/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
  22. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -9
  23. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  24. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  25. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  26. package/.next/server/app/api/agent/[id]/lease/route.js +1 -1
  27. package/.next/server/app/api/agent/[id]/route.js +1 -1
  28. package/.next/server/app/api/agent/new/route.js +1 -1
  29. package/.next/server/app/api/agent/running/route.js +1 -1
  30. package/.next/server/app/api/app-update/route.js +1 -1
  31. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  32. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  33. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  34. package/.next/server/app/api/auth/providers/route.js +1 -1
  35. package/.next/server/app/api/cwd/browse/route.js +1 -1
  36. package/.next/server/app/api/cwd/validate/route.js +1 -1
  37. package/.next/server/app/api/default-cwd/route.js +1 -1
  38. package/.next/server/app/api/file-index/route.js +1 -1
  39. package/.next/server/app/api/files/[...path]/route.js +2 -2
  40. package/.next/server/app/api/git/diff/route.js +1 -1
  41. package/.next/server/app/api/git/status/route.js +1 -1
  42. package/.next/server/app/api/home/route.js +1 -1
  43. package/.next/server/app/api/image-generation/route.js +1 -1
  44. package/.next/server/app/api/image-generation/settings/connections/route.js +1 -1
  45. package/.next/server/app/api/image-generation/settings/route.js +1 -1
  46. package/.next/server/app/api/models/route.js +1 -1
  47. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  48. package/.next/server/app/api/models-config/discover/route.js +1 -1
  49. package/.next/server/app/api/models-config/picker/route.js +1 -1
  50. package/.next/server/app/api/models-config/route.js +1 -1
  51. package/.next/server/app/api/models-config/runtime/route.js +1 -1
  52. package/.next/server/app/api/models-config/test/route.js +1 -1
  53. package/.next/server/app/api/plugins/check/route.js +1 -1
  54. package/.next/server/app/api/plugins/route.js +1 -1
  55. package/.next/server/app/api/project-trust/route.js +1 -1
  56. package/.next/server/app/api/push/config/route.js +1 -1
  57. package/.next/server/app/api/push/subscribe/route.js +1 -1
  58. package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
  59. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
  60. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  61. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  62. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -1
  63. package/.next/server/app/api/sessions/[id]/export/route.js +2 -2
  64. package/.next/server/app/api/sessions/[id]/outline/route.js +1 -1
  65. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  66. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  67. package/.next/server/app/api/sessions/route.js +1 -1
  68. package/.next/server/app/api/sessions/search/route.js +1 -1
  69. package/.next/server/app/api/skills/check/route.js +1 -1
  70. package/.next/server/app/api/skills/install/route.js +1 -1
  71. package/.next/server/app/api/skills/route.js +2 -2
  72. package/.next/server/app/api/skills/search/route.js +1 -1
  73. package/.next/server/app/api/skills/update/route.js +1 -1
  74. package/.next/server/app/api/subagents/[id]/route.js +1 -1
  75. package/.next/server/app/api/subagents/profiles/route.js +1 -1
  76. package/.next/server/app/api/subagents/settings/route.js +1 -1
  77. package/.next/server/app/api/terminal/[id]/events/route.js +2 -2
  78. package/.next/server/app/api/terminal/[id]/route.js +1 -1
  79. package/.next/server/app/api/terminal/route.js +1 -1
  80. package/.next/server/app/api/tools/settings/route.js +1 -1
  81. package/.next/server/app/api/web-auth/route.js +1 -1
  82. package/.next/server/app/api/worktrees/route.js +1 -1
  83. package/.next/server/app/index.html +1 -1
  84. package/.next/server/app/index.rsc +7 -7
  85. package/.next/server/app/index.segments/__PAGE__.segment.rsc +7 -7
  86. package/.next/server/app/index.segments/_full.segment.rsc +7 -7
  87. package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  88. package/.next/server/app/login/page.js +2 -2
  89. package/.next/server/app/login/page.js.nft.json +1 -1
  90. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  91. package/.next/server/app/login.html +1 -1
  92. package/.next/server/app/login.rsc +6 -6
  93. package/.next/server/app/login.segments/_full.segment.rsc +6 -6
  94. package/.next/server/app/login.segments/_tree.segment.rsc +3 -3
  95. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  96. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  97. package/.next/server/app/manifest.webmanifest.body +1 -1
  98. package/.next/server/app/page.js +21 -21
  99. package/.next/server/app/page.js.nft.json +1 -1
  100. package/.next/server/app/page_client-reference-manifest.js +1 -1
  101. package/.next/server/app-paths-manifest.json +10 -11
  102. package/.next/server/chunks/102.js +90 -0
  103. package/.next/server/chunks/11.js +1 -0
  104. package/.next/server/chunks/1286.js +1 -0
  105. package/.next/server/chunks/{4563.js → 1412.js} +1 -1
  106. package/.next/server/chunks/1605.js +1 -0
  107. package/.next/server/chunks/169.js +1 -0
  108. package/.next/server/chunks/{3186.js → 18.js} +1 -1
  109. package/.next/server/chunks/2022.js +1 -0
  110. package/.next/server/chunks/{4267.js → 2156.js} +1 -1
  111. package/.next/server/chunks/2157.js +1 -0
  112. package/.next/server/chunks/2243.js +1 -1
  113. package/.next/server/chunks/2325.js +3 -3
  114. package/.next/server/chunks/2838.js +1 -0
  115. package/.next/server/chunks/2897.js +79 -0
  116. package/.next/server/chunks/3227.js +1 -0
  117. package/.next/server/chunks/3266.js +1 -0
  118. package/.next/server/chunks/3379.js +1 -1
  119. package/.next/server/chunks/3428.js +32 -0
  120. package/.next/server/chunks/3479.js +1 -0
  121. package/.next/server/chunks/367.js +115 -0
  122. package/.next/server/chunks/3698.js +93 -0
  123. package/.next/server/chunks/{8713.js → 3709.js} +4 -4
  124. package/.next/server/chunks/4107.js +62 -0
  125. package/.next/server/chunks/426.js +10 -10
  126. package/.next/server/chunks/{7799.js → 4569.js} +1 -1
  127. package/.next/server/chunks/{8782.js → 4755.js} +2 -2
  128. package/.next/server/chunks/5002.js +1 -0
  129. package/.next/server/chunks/5112.js +1 -0
  130. package/.next/server/chunks/5289.js +8 -0
  131. package/.next/server/chunks/5452.js +23 -0
  132. package/.next/server/chunks/5453.js +1 -0
  133. package/.next/server/chunks/5582.js +3 -3
  134. package/.next/server/chunks/5749.js +27 -0
  135. package/.next/server/chunks/5782.js +36 -0
  136. package/.next/server/chunks/6081.js +1 -0
  137. package/.next/server/chunks/{6253.js → 6163.js} +1 -1
  138. package/.next/server/chunks/6169.js +64 -0
  139. package/.next/server/chunks/{1094.js → 6208.js} +17 -5
  140. package/.next/server/chunks/6399.js +24 -0
  141. package/.next/server/chunks/6429.js +3 -3
  142. package/.next/server/chunks/6496.js +1 -0
  143. package/.next/server/chunks/6823.js +215 -0
  144. package/.next/server/chunks/{4548.js → 6888.js} +1 -1
  145. package/.next/server/chunks/7245.js +77 -0
  146. package/.next/server/chunks/7307.js +1 -1
  147. package/.next/server/chunks/7372.js +287 -0
  148. package/.next/server/chunks/7384.js +226 -0
  149. package/.next/server/chunks/7516.js +1 -0
  150. package/.next/server/chunks/7531.js +24 -0
  151. package/.next/server/chunks/7591.js +1 -0
  152. package/.next/server/chunks/7755.js +138 -0
  153. package/.next/server/chunks/7916.js +1 -0
  154. package/.next/server/chunks/8078.js +94 -0
  155. package/.next/server/chunks/8253.js +41 -0
  156. package/.next/server/chunks/8635.js +1 -0
  157. package/.next/server/chunks/8688.js +1 -0
  158. package/.next/server/chunks/8872.js +1 -0
  159. package/.next/server/chunks/9006.js +1 -0
  160. package/.next/server/chunks/9018.js +1 -0
  161. package/.next/server/chunks/9047.js +1 -0
  162. package/.next/server/chunks/9108.js +1 -0
  163. package/.next/server/chunks/9280.js +91 -90
  164. package/.next/server/chunks/9419.js +1 -0
  165. package/.next/server/chunks/9430.js +1 -0
  166. package/.next/server/chunks/9586.js +1 -0
  167. package/.next/server/chunks/9775.js +1 -0
  168. package/.next/server/chunks/992.js +1 -0
  169. package/.next/server/chunks/9926.js +1 -0
  170. package/.next/server/middleware-build-manifest.js +1 -1
  171. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  172. package/.next/server/next-font-manifest.js +1 -1
  173. package/.next/server/next-font-manifest.json +1 -1
  174. package/.next/server/pages/404.html +1 -1
  175. package/.next/server/pages/500.html +1 -1
  176. package/.next/server/server-reference-manifest.json +1 -1
  177. package/.next/static/chunks/1213.e5c6e70a79b5f7e6.js +24 -0
  178. package/.next/static/chunks/1278-8765826bf835aae1.js +1 -0
  179. package/.next/static/chunks/1519.2f596e5f5af9ef57.js +62 -0
  180. package/.next/static/chunks/1974.9f7176c5854f9939.js +32 -0
  181. package/.next/static/chunks/2280.e03ab3748922284c.js +1 -0
  182. package/.next/static/chunks/{398.ffa02af9062a3950.js → 2521.7f745f50d30076e7.js} +1 -1
  183. package/.next/static/chunks/2585.4d6aa847c780c666.js +1 -0
  184. package/.next/static/chunks/2589.e456c324416f9615.js +1 -0
  185. package/.next/static/chunks/2600.45ba17a0f756fc31.js +1 -0
  186. package/.next/static/chunks/26d302b2.b77b53a34ca944aa.js +122 -0
  187. package/.next/static/chunks/2768.1a75ba9e2be767cf.js +1 -0
  188. package/.next/static/chunks/2931.c2acdbf72808b646.js +41 -0
  189. package/.next/static/chunks/3016.406e568aa95ff867.js +1 -0
  190. package/.next/static/chunks/{4004.74b9bcf5478b1663.js → 3022.972047558a20553a.js} +30 -18
  191. package/.next/static/chunks/3064.3a2a1e7cd4fdca5f.js +1 -0
  192. package/.next/static/chunks/3174.03fbed7b7d7a8256.js +1 -0
  193. package/.next/static/chunks/3189.b048866768087750.js +1 -0
  194. package/.next/static/chunks/3217.1a053843c58b70b5.js +24 -0
  195. package/.next/static/chunks/3308.b58803a5e26a56d8.js +74 -0
  196. package/.next/static/chunks/331.fc5d78e1e91daf43.js +1 -0
  197. package/.next/static/chunks/3510.5d4d1c79533e080c.js +1 -0
  198. package/.next/static/chunks/364.ce5400a9dd70b9dc.js +1 -0
  199. package/.next/static/chunks/3658-625de9bc05634c7f.js +7 -0
  200. package/.next/static/chunks/{9793.4567af813117ad25.js → 3789.c418b69121761983.js} +1 -1
  201. package/.next/static/chunks/3831.25ae62d10dccc27a.js +1 -0
  202. package/.next/static/chunks/395.3621e96c2bdfec18.js +90 -0
  203. package/.next/static/chunks/{da12927c.476aa688a637649c.js → 3a7aa434.280905293fc59b77.js} +3 -3
  204. package/.next/static/chunks/4020.3cc19c463c49f969.js +23 -0
  205. package/.next/static/chunks/{1063.775c442bdbeef08b.js → 4035.0acc428926d5c8dd.js} +1 -1
  206. package/.next/static/chunks/405.0902e4f6eb7bd9a2.js +215 -0
  207. package/.next/static/chunks/4159.bb7124776cbd5f2d.js +138 -0
  208. package/.next/static/chunks/{4405.7a19458960a1058e.js → 4208.8ea72bb20afa959e.js} +2 -2
  209. package/.next/static/chunks/4263.ffa8d9bd8a0faaae.js +1 -0
  210. package/.next/static/chunks/4561.d1a3aaca8bae3224.js +34 -0
  211. package/.next/static/chunks/4592.507c41f345e21bee.js +93 -0
  212. package/.next/static/chunks/4799.3c6182ded3f32244.js +1 -0
  213. package/.next/static/chunks/514.b804c51b26f5e126.js +1 -0
  214. package/.next/static/chunks/{3336.a76f9485fe7cb762.js → 5270.28592864d38e881c.js} +1 -1
  215. package/.next/static/chunks/52733464.b343531c2f886252.js +1 -0
  216. package/.next/static/chunks/5354.b559c717a607dc5c.js +1 -0
  217. package/.next/static/chunks/{3995.eca0f5bef1fc3ae5.js → 5448.d3972d9fb464b54f.js} +2 -2
  218. package/.next/static/chunks/587.d52737d7288c11b4.js +1 -0
  219. package/.next/static/chunks/5909.9e37f7b495b11995.js +115 -0
  220. package/.next/static/chunks/{7331.2add3c4e125a2dba.js → 5949.5504b3545fcc3d34.js} +1 -1
  221. package/.next/static/chunks/{9698.4d09a99b9d99f3e5.js → 6361.893d04ac34fa1b49.js} +3 -3
  222. package/.next/static/chunks/{5526.ff46471041fdcb79.js → 6774.8cd53427dbf32cac.js} +1 -1
  223. package/.next/static/chunks/6968.b80277c724dbc96e.js +1 -0
  224. package/.next/static/chunks/{973.88e865b52eff479a.js → 7113.93146ac5e46c1859.js} +1 -1
  225. package/.next/static/chunks/7236.55a9728d35f5b8a6.js +1 -0
  226. package/.next/static/chunks/7390.bc7f4ed9f76fe9e1.js +1 -0
  227. package/.next/static/chunks/7806.a903780fcfa3a30e.js +1 -0
  228. package/.next/static/chunks/7997.517120d5fcd77d6b.js +1 -0
  229. package/.next/static/chunks/8216.64a72d4d35ea7be0.js +1 -0
  230. package/.next/static/chunks/830.a6da04c322e3204a.js +1 -0
  231. package/.next/static/chunks/{4202.8440832386f023c7.js → 8378.fa91de3406f554c9.js} +1 -1
  232. package/.next/static/chunks/8501.c34c2a9170eb458d.js +79 -0
  233. package/.next/static/chunks/8663.6ec5792fb4952e45.js +27 -0
  234. package/.next/static/chunks/872.96937e758ddce860.js +1 -0
  235. package/.next/static/chunks/8803.75bde095fe3613f5.js +1 -0
  236. package/.next/static/chunks/8863.72f5dbb820a0e4c3.js +1 -0
  237. package/.next/static/chunks/90542734.90283a0c0c838d51.js +1 -0
  238. package/.next/static/chunks/9379.5bc9c9343ec5a16c.js +64 -0
  239. package/.next/static/chunks/9389.906fe7aa9cd6a170.js +1 -0
  240. package/.next/static/chunks/9472.8d21dc4771024c26.js +94 -0
  241. package/.next/static/chunks/966.50e905df30903189.js +1 -0
  242. package/.next/static/chunks/{2703.495a65ed14b2f094.js → 9884.c6cac4659c50ebfa.js} +3 -3
  243. package/.next/static/chunks/app/{layout-f900e4d3794672ad.js → layout-900d990b4229e169.js} +1 -1
  244. package/.next/static/chunks/app/page-6e8e4795e738ba8b.js +232 -0
  245. package/.next/static/chunks/{1ba63609.b2ae90f43319a29e.js → e413bedd.3a12a8cb02e28fdf.js} +1 -1
  246. package/.next/static/chunks/ea233666.ebaeaf2eb673ecfa.js +62 -0
  247. package/.next/static/chunks/framework-3a41051109d8ea39.js +1 -0
  248. package/.next/static/chunks/webpack-d022bdbc1a873e3c.js +1 -0
  249. package/.next/static/css/{89aae141d5b3edde.css → 725eb03c18cc730c.css} +1 -1
  250. package/.next/static/css/be8ae7904992a245.css +1 -0
  251. package/.next/static/gQm9NqajOt7lJ9sjH6Hab/_buildManifest.js +1 -0
  252. package/.next/trace +7 -7
  253. package/.next/trace-build +1 -1
  254. package/README.md +1 -1
  255. package/next.config.ts +17 -1
  256. package/package.json +5 -5
  257. package/public/favicon.ico +0 -0
  258. package/public/favicon.svg +16 -0
  259. package/public/icons/apple-touch-icon.png +0 -0
  260. package/public/icons/icon-192.png +0 -0
  261. package/public/icons/icon-512.png +0 -0
  262. package/public/pi-web-mark.svg +3 -0
  263. package/.next/server/app/favicon.ico/route.js +0 -1
  264. package/.next/server/app/favicon.ico/route.js.nft.json +0 -1
  265. package/.next/server/app/favicon.ico.body +0 -0
  266. package/.next/server/app/favicon.ico.meta +0 -1
  267. package/.next/server/chunks/1515.js +0 -1
  268. package/.next/server/chunks/1555.js +0 -1
  269. package/.next/server/chunks/1601.js +0 -24
  270. package/.next/server/chunks/1625.js +0 -1
  271. package/.next/server/chunks/1800.js +0 -1
  272. package/.next/server/chunks/1860.js +0 -1
  273. package/.next/server/chunks/2075.js +0 -23
  274. package/.next/server/chunks/2106.js +0 -1
  275. package/.next/server/chunks/2169.js +0 -36
  276. package/.next/server/chunks/2190.js +0 -1
  277. package/.next/server/chunks/2408.js +0 -1
  278. package/.next/server/chunks/2452.js +0 -93
  279. package/.next/server/chunks/2744.js +0 -1
  280. package/.next/server/chunks/2903.js +0 -1
  281. package/.next/server/chunks/295.js +0 -1
  282. package/.next/server/chunks/3012.js +0 -1
  283. package/.next/server/chunks/3383.js +0 -27
  284. package/.next/server/chunks/3569.js +0 -1
  285. package/.next/server/chunks/3869.js +0 -8
  286. package/.next/server/chunks/3894.js +0 -1
  287. package/.next/server/chunks/4315.js +0 -1
  288. package/.next/server/chunks/4367.js +0 -1
  289. package/.next/server/chunks/4372.js +0 -1
  290. package/.next/server/chunks/4538.js +0 -24
  291. package/.next/server/chunks/4674.js +0 -1
  292. package/.next/server/chunks/4980.js +0 -1
  293. package/.next/server/chunks/5029.js +0 -1
  294. package/.next/server/chunks/5974.js +0 -77
  295. package/.next/server/chunks/6052.js +0 -141
  296. package/.next/server/chunks/611.js +0 -1
  297. package/.next/server/chunks/6337.js +0 -1
  298. package/.next/server/chunks/6366.js +0 -80
  299. package/.next/server/chunks/673.js +0 -287
  300. package/.next/server/chunks/6916.js +0 -226
  301. package/.next/server/chunks/703.js +0 -1
  302. package/.next/server/chunks/7233.js +0 -1
  303. package/.next/server/chunks/7265.js +0 -215
  304. package/.next/server/chunks/7561.js +0 -1
  305. package/.next/server/chunks/7710.js +0 -1
  306. package/.next/server/chunks/7744.js +0 -64
  307. package/.next/server/chunks/7790.js +0 -1
  308. package/.next/server/chunks/7872.js +0 -1
  309. package/.next/server/chunks/8106.js +0 -1
  310. package/.next/server/chunks/8294.js +0 -1
  311. package/.next/server/chunks/8333.js +0 -79
  312. package/.next/server/chunks/835.js +0 -1
  313. package/.next/server/chunks/8397.js +0 -41
  314. package/.next/server/chunks/8604.js +0 -115
  315. package/.next/server/chunks/8679.js +0 -1
  316. package/.next/server/chunks/8920.js +0 -62
  317. package/.next/server/chunks/922.js +0 -5
  318. package/.next/server/chunks/9486.js +0 -1
  319. package/.next/server/chunks/9509.js +0 -1
  320. package/.next/server/chunks/9510.js +0 -90
  321. package/.next/static/LkMtlo9B5W74YX7J-8ccI/_buildManifest.js +0 -1
  322. package/.next/static/chunks/103.23142a67b02246a8.js +0 -215
  323. package/.next/static/chunks/1032.12b382a9096ab2a4.js +0 -1
  324. package/.next/static/chunks/1278-b81177f3a674e4e0.js +0 -1
  325. package/.next/static/chunks/1327.09252bb80616cc3a.js +0 -1
  326. package/.next/static/chunks/1708.d029f8776e4578de.js +0 -1
  327. package/.next/static/chunks/1781.866132cea8e77cd0.js +0 -1
  328. package/.next/static/chunks/2081.47b6e9391094055f.js +0 -1
  329. package/.next/static/chunks/2181.ba21239d3ac39f81.js +0 -1
  330. package/.next/static/chunks/2258.4defa30121ef44a5.js +0 -1
  331. package/.next/static/chunks/2325.23caf22075e51aa5.js +0 -1
  332. package/.next/static/chunks/2356.523277bb8c6bf72a.js +0 -23
  333. package/.next/static/chunks/2418.b5d9e177e10a686e.js +0 -1
  334. package/.next/static/chunks/2480.cf27ca02e5b19761.js +0 -24
  335. package/.next/static/chunks/2539.c5a4f2fd8e421c70.js +0 -41
  336. package/.next/static/chunks/268.72794ee2773c2060.js +0 -80
  337. package/.next/static/chunks/2695.6f49435bae1e6f33.js +0 -90
  338. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +0 -1
  339. package/.next/static/chunks/3251.0dce7a0a0ff67235.js +0 -1
  340. package/.next/static/chunks/3308.be8762955e7155d1.js +0 -73
  341. package/.next/static/chunks/3716.72bf4c9d7325debd.js +0 -1
  342. package/.next/static/chunks/4238.6f102dcbcf2ae339.js +0 -141
  343. package/.next/static/chunks/4424.fd0c93a807a333e1.js +0 -1
  344. package/.next/static/chunks/4866.d1060b4faf2ae1e2.js +0 -1
  345. package/.next/static/chunks/4970.8a63b4953b0e4946.js +0 -1
  346. package/.next/static/chunks/5020.9ac8d0dc8390bb6e.js +0 -1
  347. package/.next/static/chunks/5137.f163e94c74a94d01.js +0 -1
  348. package/.next/static/chunks/5242.7b643c6b3394cac1.js +0 -1
  349. package/.next/static/chunks/5361.afc00ab2626bacbf.js +0 -1
  350. package/.next/static/chunks/5521.cfdf2cfc6db31407.js +0 -1
  351. package/.next/static/chunks/5681.dd0e66b0de16e54b.js +0 -27
  352. package/.next/static/chunks/6121.eb9023b1cbc78ee2.js +0 -1
  353. package/.next/static/chunks/6161.4836cd7d031026bf.js +0 -1
  354. package/.next/static/chunks/6195.1153369f5f8b13a2.js +0 -24
  355. package/.next/static/chunks/6294.24f510c0c3e3714c.js +0 -1
  356. package/.next/static/chunks/6654.16f727522ec47f5a.js +0 -1
  357. package/.next/static/chunks/6794.f746d8fbbf248ecf.js +0 -93
  358. package/.next/static/chunks/7256.e07cf52d87d40252.js +0 -1
  359. package/.next/static/chunks/7268.236544be8e242c16.js +0 -1
  360. package/.next/static/chunks/7543.89f7b805ed0f2901.js +0 -1
  361. package/.next/static/chunks/8200.a36b9f8c983c6b9e.js +0 -5
  362. package/.next/static/chunks/869.7152372b662e31af.js +0 -1
  363. package/.next/static/chunks/8863.fa0320ea586efb3b.js +0 -1
  364. package/.next/static/chunks/8885.cf60cac98bf8b70c.js +0 -79
  365. package/.next/static/chunks/8901.e117d206a917bda0.js +0 -1
  366. package/.next/static/chunks/90542734.ae439f2382f58c51.js +0 -1
  367. package/.next/static/chunks/918.6a9bbe564e4a2d0f.js +0 -115
  368. package/.next/static/chunks/934.9006461bd0548660.js +0 -1
  369. package/.next/static/chunks/9445-fde6feabcb39142c.js +0 -7
  370. package/.next/static/chunks/9522.c7c6e9c330f9ba6b.js +0 -1
  371. package/.next/static/chunks/9614.3221013d7f0af27f.js +0 -64
  372. package/.next/static/chunks/9705.40a82b97f214e28b.js +0 -1
  373. package/.next/static/chunks/9764.2669775c6e107a01.js +0 -62
  374. package/.next/static/chunks/993e5495.8797001fcfcf2889.js +0 -62
  375. package/.next/static/chunks/9974.9a0f79beca65e8c4.js +0 -34
  376. package/.next/static/chunks/app/page-3c64134d63e2eff9.js +0 -232
  377. package/.next/static/chunks/bf2ff291.3a109dffc1fe84af.js +0 -122
  378. package/.next/static/chunks/db9d41be.e72ce090a86a3691.js +0 -1
  379. package/.next/static/chunks/framework-b33a8f5d57cd8d87.js +0 -1
  380. package/.next/static/chunks/webpack-25464d90fe89e601.js +0 -1
  381. package/.next/static/css/2ac0338d70747eca.css +0 -1
  382. /package/.next/static/{LkMtlo9B5W74YX7J-8ccI → gQm9NqajOt7lJ9sjH6Hab}/_ssgManifest.js +0 -0
@@ -0,0 +1,215 @@
1
+ "use strict";exports.id=6823,exports.ids=[6823],exports.modules={17822:(a,b,c)=>{c.d(b,{P:()=>g});var d=c(12644),e=c(58715),f=c(95097),g=(0,f.K)((a,b,c,f)=>{a.attr("class",c);let{width:g,height:j,x:k,y:l}=h(a,b);(0,d.a$)(a,j,g,f);let m=i(k,l,g,j,b);a.attr("viewBox",m),e.R.debug(`viewBox configured: ${m} with padding: ${b}`)},"setupViewPortForSVG"),h=(0,f.K)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),i=(0,f.K)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox")},23464:(a,b,c)=>{c.d(b,{o:()=>d});var d=(0,c(95097).K)(()=>`
2
+ /* Font Awesome icon styling - consolidated */
3
+ .label-icon {
4
+ display: inline-block;
5
+ height: 1em;
6
+ overflow: visible;
7
+ vertical-align: -0.125em;
8
+ }
9
+
10
+ .node .label-icon path {
11
+ fill: currentColor;
12
+ stroke: revert;
13
+ stroke-width: revert;
14
+ }
15
+ `,"getIconStyles")},30917:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(95097),e=c(69085),f=(0,d.K)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")},66823:(a,b,c)=>{c.d(b,{Lh:()=>y,NM:()=>v,_$:()=>p,tM:()=>w});var d=c(23464),e=c(30917),f=c(17822),g=c(51467),h=c(79440),i=c(12569),j=c(12644),k=c(58715),l=c(95097),m=c(69085),n=c(11656),o=function(){var a=(0,l.K)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[1,18],c=[1,19],d=[1,20],e=[1,41],f=[1,26],g=[1,42],h=[1,24],i=[1,25],j=[1,32],k=[1,33],m=[1,34],n=[1,45],o=[1,35],p=[1,36],q=[1,37],r=[1,38],s=[1,27],t=[1,28],u=[1,29],v=[1,30],w=[1,31],x=[1,44],y=[1,46],z=[1,43],A=[1,47],B=[1,9],C=[1,8,9],D=[1,58],E=[1,59],F=[1,60],G=[1,61],H=[1,62],I=[1,63],J=[1,64],K=[1,8,9,41],L=[1,77],M=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],N=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],O=[13,60,86,100,102,103],P=[13,60,73,74,86,100,102,103],Q=[13,60,68,69,70,71,72,86,100,102,103],R=[1,103],S=[1,121],T=[1,117],U=[1,113],V=[1,119],W=[1,114],X=[1,115],Y=[1,116],Z=[1,118],$=[1,120],_=[22,50,60,61,82,86,87,88,89,90],aa=[1,128],ab=[12,39],ac=[1,8,9,39,41,44,46],ad=[1,8,9,22],ae=[1,153],af=[1,8,9,61],ag=[1,8,9,22,50,60,61,82,86,87,88,89,90],ah={trace:(0,l.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:(0,l.K)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 8:this.$=f[h-1];break;case 9:case 10:case 13:case 15:case 46:this.$=f[h];break;case 11:case 14:this.$=f[h-2]+"."+f[h];break;case 12:case 16:case 110:this.$=f[h-1]+f[h];break;case 17:case 18:this.$=f[h-1]+"~"+f[h]+"~";break;case 19:d.addRelation(f[h]);break;case 20:f[h-1].title=d.cleanupLabel(f[h]),d.addRelation(f[h-1]);break;case 31:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 32:case 33:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 34:d.addClassesToNamespace(f[h-3],f[h-1][0],f[h-1][1]),d.popNamespace();break;case 35:d.addClassesToNamespace(f[h-4],f[h-1][0],f[h-1][1]),d.popNamespace();break;case 36:this.$=d.addNamespace(f[h]);break;case 37:this.$=d.addNamespace(f[h-1],f[h]);break;case 38:this.$=[[f[h]],[]];break;case 39:this.$=[[f[h-1]],[]];break;case 40:f[h][0].unshift(f[h-2]),this.$=f[h];break;case 41:this.$=[[],[f[h]]];break;case 42:this.$=[[],[f[h-1]]];break;case 43:f[h][1].unshift(f[h-2]),this.$=f[h];break;case 44:case 45:this.$=[[],[]];break;case 48:d.setCssClass(f[h-2],f[h]);break;case 49:d.addMembers(f[h-3],f[h-1]);break;case 51:d.setCssClass(f[h-5],f[h-3]),d.addMembers(f[h-5],f[h-1]);break;case 52:d.addAnnotation(f[h-3],f[h-1]);break;case 53:d.addAnnotation(f[h-6],f[h-4]),d.addMembers(f[h-6],f[h-1]);break;case 54:d.addAnnotation(f[h-5],f[h-3]);break;case 55:this.$=f[h],d.addClass(f[h]);break;case 56:this.$=f[h-1],d.addClass(f[h-1]),d.setClassLabel(f[h-1],f[h]);break;case 60:d.addAnnotation(f[h],f[h-2]);break;case 61:case 74:case 107:this.$=[f[h]];break;case 62:f[h].push(f[h-1]),this.$=f[h];break;case 63:case 65:case 66:break;case 64:d.addMember(f[h-1],d.cleanupLabel(f[h]));break;case 67:this.$={id1:f[h-2],id2:f[h],relation:f[h-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:f[h-3],id2:f[h],relation:f[h-1],relationTitle1:f[h-2],relationTitle2:"none"};break;case 69:this.$={id1:f[h-3],id2:f[h],relation:f[h-2],relationTitle1:"none",relationTitle2:f[h-1]};break;case 70:this.$={id1:f[h-4],id2:f[h],relation:f[h-2],relationTitle1:f[h-3],relationTitle2:f[h-1]};break;case 71:this.$=d.addNote(f[h],f[h-1]);break;case 72:this.$=d.addNote(f[h]);break;case 73:this.$=f[h-2],d.defineClass(f[h-1],f[h]);break;case 75:this.$=f[h-2].concat([f[h]]);break;case 76:d.setDirection("TB");break;case 77:d.setDirection("BT");break;case 78:d.setDirection("RL");break;case 79:d.setDirection("LR");break;case 80:this.$={type1:f[h-2],type2:f[h],lineType:f[h-1]};break;case 81:this.$={type1:"none",type2:f[h],lineType:f[h-1]};break;case 82:this.$={type1:f[h-1],type2:"none",lineType:f[h]};break;case 83:this.$={type1:"none",type2:"none",lineType:f[h]};break;case 84:this.$=d.relationType.AGGREGATION;break;case 85:this.$=d.relationType.EXTENSION;break;case 86:this.$=d.relationType.COMPOSITION;break;case 87:this.$=d.relationType.DEPENDENCY;break;case 88:this.$=d.relationType.LOLLIPOP;break;case 89:this.$=d.lineType.LINE;break;case 90:this.$=d.lineType.DOTTED_LINE;break;case 91:case 97:this.$=f[h-2],d.setClickEvent(f[h-1],f[h]);break;case 92:case 98:this.$=f[h-3],d.setClickEvent(f[h-2],f[h-1]),d.setTooltip(f[h-2],f[h]);break;case 93:this.$=f[h-2],d.setLink(f[h-1],f[h]);break;case 94:this.$=f[h-3],d.setLink(f[h-2],f[h-1],f[h]);break;case 95:this.$=f[h-3],d.setLink(f[h-2],f[h-1]),d.setTooltip(f[h-2],f[h]);break;case 96:this.$=f[h-4],d.setLink(f[h-3],f[h-2],f[h]),d.setTooltip(f[h-3],f[h-1]);break;case 99:this.$=f[h-3],d.setClickEvent(f[h-2],f[h-1],f[h]);break;case 100:this.$=f[h-4],d.setClickEvent(f[h-3],f[h-2],f[h-1]),d.setTooltip(f[h-3],f[h]);break;case 101:this.$=f[h-3],d.setLink(f[h-2],f[h]);break;case 102:this.$=f[h-4],d.setLink(f[h-3],f[h-1],f[h]);break;case 103:this.$=f[h-4],d.setLink(f[h-3],f[h-1]),d.setTooltip(f[h-3],f[h]);break;case 104:this.$=f[h-5],d.setLink(f[h-4],f[h-2],f[h]),d.setTooltip(f[h-4],f[h-1]);break;case 105:this.$=f[h-2],d.setCssStyle(f[h-1],f[h]);break;case 106:d.setCssClass(f[h-1],f[h]);break;case 108:f[h-2].push(f[h]),this.$=f[h-2]}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:b,35:c,37:d,38:22,42:e,43:23,46:f,48:g,51:h,52:i,54:j,56:k,57:m,60:n,62:o,63:p,64:q,65:r,75:s,76:t,78:u,82:v,83:w,86:x,100:y,102:z,103:A},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},a(B,[2,5],{8:[1,48]}),{8:[1,49]},a(C,[2,19],{22:[1,50]}),a(C,[2,21]),a(C,[2,22]),a(C,[2,23]),a(C,[2,24]),a(C,[2,25]),a(C,[2,26]),a(C,[2,27]),a(C,[2,28]),a(C,[2,29]),a(C,[2,30]),{34:[1,51]},{36:[1,52]},a(C,[2,33]),a(C,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:D,69:E,70:F,71:G,72:H,73:I,74:J}),{39:[1,65]},a(K,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),a(C,[2,65]),a(C,[2,66]),{16:69,60:n,86:x,100:y,102:z},{16:39,17:40,19:70,60:n,86:x,100:y,102:z,103:A},{16:39,17:40,19:71,60:n,86:x,100:y,102:z,103:A},{16:39,17:40,19:72,60:n,86:x,100:y,102:z,103:A},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:n,86:x,100:y,102:z,103:A},{13:L,55:76},{58:78,60:[1,79]},a(C,[2,76]),a(C,[2,77]),a(C,[2,78]),a(C,[2,79]),a(M,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:n,86:x,100:y,102:z,103:A}),a(M,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:n,86:x,100:y,102:z,103:A},{16:39,17:40,19:87,60:n,86:x,100:y,102:z,103:A},a(N,[2,133]),a(N,[2,134]),a(N,[2,135]),a(N,[2,136]),a([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),a(B,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:b,35:c,37:d,42:e,46:f,48:g,51:h,52:i,54:j,56:k,57:m,60:n,62:o,63:p,64:q,65:r,75:s,76:t,78:u,82:v,83:w,86:x,100:y,102:z,103:A}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:b,35:c,37:d,38:22,42:e,43:23,46:f,48:g,51:h,52:i,54:j,56:k,57:m,60:n,62:o,63:p,64:q,65:r,75:s,76:t,78:u,82:v,83:w,86:x,100:y,102:z,103:A},a(C,[2,20]),a(C,[2,31]),a(C,[2,32]),{13:[1,91],16:39,17:40,19:90,60:n,86:x,100:y,102:z,103:A},{53:92,66:56,67:57,68:D,69:E,70:F,71:G,72:H,73:I,74:J},a(C,[2,64]),{67:93,73:I,74:J},a(O,[2,83],{66:94,68:D,69:E,70:F,71:G,72:H}),a(P,[2,84]),a(P,[2,85]),a(P,[2,86]),a(P,[2,87]),a(P,[2,88]),a(Q,[2,89]),a(Q,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:e,43:23,48:g,54:j,56:k},{16:100,60:n,86:x,100:y,102:z},{41:[1,102],45:101,51:R},{16:104,60:n,86:x,100:y,102:z},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:S,50:T,59:110,60:U,82:V,84:111,85:112,86:W,87:X,88:Y,89:Z,90:$},{60:[1,122]},{13:L,55:123},a(K,[2,72]),a(K,[2,138]),{22:S,50:T,59:124,60:U,61:[1,125],82:V,84:111,85:112,86:W,87:X,88:Y,89:Z,90:$},a(_,[2,74]),{16:39,17:40,19:126,60:n,86:x,100:y,102:z,103:A},a(M,[2,16]),a(M,[2,17]),a(M,[2,18]),{11:127,12:aa,39:[2,36]},a(ab,[2,9],{16:85,17:86,15:130,18:[1,129],60:n,86:x,100:y,102:z,103:A}),a(ab,[2,10]),a(ac,[2,55],{11:131,12:aa}),a(B,[2,7]),{9:[1,132]},a(ad,[2,67]),{16:39,17:40,19:133,60:n,86:x,100:y,102:z,103:A},{13:[1,135],16:39,17:40,19:134,60:n,86:x,100:y,102:z,103:A},a(O,[2,82],{66:136,68:D,69:E,70:F,71:G,72:H}),a(O,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:e,43:23,48:g,54:j,56:k},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},a(K,[2,48],{39:[1,142]}),{41:[1,143]},a(K,[2,50]),{41:[2,61],45:144,51:R},{47:[1,145]},{16:39,17:40,19:146,60:n,86:x,100:y,102:z,103:A},a(C,[2,91],{13:[1,147]}),a(C,[2,93],{13:[1,149],77:[1,148]}),a(C,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},a(C,[2,105],{61:ae}),a(af,[2,107],{85:154,22:S,50:T,60:U,82:V,86:W,87:X,88:Y,89:Z,90:$}),a(ag,[2,109]),a(ag,[2,111]),a(ag,[2,112]),a(ag,[2,113]),a(ag,[2,114]),a(ag,[2,115]),a(ag,[2,116]),a(ag,[2,117]),a(ag,[2,118]),a(ag,[2,119]),a(C,[2,106]),a(K,[2,71]),a(C,[2,73],{61:ae}),{60:[1,155]},a(M,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:n,86:x,100:y,102:z,103:A},a(ab,[2,12]),a(ac,[2,56]),{1:[2,4]},a(ad,[2,69]),a(ad,[2,68]),{16:39,17:40,19:158,60:n,86:x,100:y,102:z,103:A},a(O,[2,80]),a(K,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:e,43:23,48:g,54:j,56:k},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:e,43:23,48:g,54:j,56:k},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:e,43:23,48:g,54:j,56:k},{45:163,51:R},a(K,[2,49]),{41:[2,62]},a(K,[2,52],{39:[1,164]}),a(C,[2,60]),a(C,[2,92]),a(C,[2,94]),a(C,[2,95],{77:[1,165]}),a(C,[2,98]),a(C,[2,99],{13:[1,166]}),a(C,[2,101],{13:[1,168],77:[1,167]}),{22:S,50:T,60:U,82:V,84:169,85:112,86:W,87:X,88:Y,89:Z,90:$},a(ag,[2,110]),a(_,[2,75]),{14:[1,170]},a(ab,[2,11]),a(ad,[2,70]),a(K,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:R},a(C,[2,96]),a(C,[2,100]),a(C,[2,102]),a(C,[2,103],{77:[1,174]}),a(af,[2,108],{85:154,22:S,50:T,60:U,82:V,86:W,87:X,88:Y,89:Z,90:$}),a(ac,[2,8]),a(K,[2,51]),{41:[1,175]},a(K,[2,54]),a(C,[2,104]),a(K,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:(0,l.K)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,l.K)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",i=0,j=0,k=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,l.K)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(i+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(j=n.yyleng,h=n.yytext,i=n.yylineno,q=n.yylloc,k>0&&k--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,j,i,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function ai(){this.yy={}}return ah.lexer={EOF:1,parseError:(0,l.K)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,l.K)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,l.K)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,l.K)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K)(function(){return this._more=!0,this},"more"),reject:(0,l.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,l.K)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,l.K)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.K)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.K)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,l.K)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,l.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.K)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,l.K)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,l.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.K)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,l.K)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,l.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.K)(function(a,b,c,d){switch(c){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:case 5:case 14:case 31:case 37:case 41:case 48:break;case 6:return this.begin("acc_title"),33;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),35;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 59:case 62:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 36:return 8;case 15:case 16:return 7;case 17:case 38:case 46:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 79;case 23:return 80;case 25:return"STR";case 26:this.begin("string");break;case 27:return 82;case 28:return 57;case 29:return this.begin("namespace"),42;case 30:case 40:return this.popState(),8;case 32:return this.begin("namespace-body"),39;case 33:this.popState(),this.less(0);break;case 34:case 44:return this.popState(),41;case 35:case 45:return"EOF_IN_STRUCT";case 39:return this.begin("class"),48;case 42:return this.popState(),this.popState(),41;case 43:return this.begin("class-body"),39;case 47:return"OPEN_IN_STRUCT";case 49:return"MEMBER";case 50:return 83;case 51:return 75;case 52:return 76;case 53:return 78;case 54:return 54;case 55:return 56;case 56:return 46;case 57:return 47;case 58:return 81;case 60:return"GENERICTYPE";case 61:this.begin("generic");break;case 63:return"BQUOTE_STR";case 64:this.begin("bqstring");break;case 65:case 66:case 67:case 68:return 77;case 69:case 70:return 69;case 71:case 72:return 71;case 73:return 70;case 74:return 68;case 75:return 72;case 76:return 73;case 77:return 74;case 78:return 22;case 79:return 44;case 80:return 100;case 81:return 18;case 82:return"PLUS";case 83:return 87;case 84:return 61;case 85:case 86:return 89;case 87:return 90;case 88:case 89:return"EQUALS";case 90:return 60;case 91:return 12;case 92:return 14;case 93:return"PUNCTUATION";case 94:return 86;case 95:return 102;case 96:case 97:return 50;case 98:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,29,34,35,36,37,38,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},namespace:{rules:[26,29,30,31,32,33,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},"class-body":{rules:[26,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},class:{rules:[26,40,41,42,43,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_descr:{rules:[9,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},acc_title:{rules:[7,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_args:{rules:[22,23,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},callback_name:{rules:[19,20,21,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},href:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},struct:{rules:[26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},generic:{rules:[26,50,51,52,53,54,55,56,57,58,59,60,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},bqstring:{rules:[26,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},string:{rules:[24,25,26,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,87,88,89,90,91,92,93,94,95,96,98],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,39,50,51,52,53,54,55,56,57,58,61,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],inclusive:!0}}},(0,l.K)(ai,"Parser"),ai.prototype=ah,ah.Parser=ai,new ai}();o.parser=o;var p=o,q=["#","+","~","-",""],r=class{static{(0,l.K)(this,"ClassMember")}constructor(a,b){this.memberType=b,this.visibility="",this.classifier="",this.text="";const c=(0,j.jZ)(a,(0,j.D7)());this.parseMember(c)}getDisplayDetails(){let a=this.visibility+(0,j.QO)(this.id);return"method"===this.memberType&&(a+=`(${(0,j.QO)(this.parameters.trim())})`,this.returnType&&(a+=" : "+(0,j.QO)(this.returnType))),{displayText:a=a.trim(),cssStyle:this.parseClassifier()}}parseMember(a){let b="";if("method"===this.memberType){let c=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(a);if(c){let a=c[1]?c[1].trim():"";if(q.includes(a)&&(this.visibility=a),this.id=c[2],this.parameters=c[3]?c[3].trim():"",b=c[4]?c[4].trim():"",this.returnType=c[5]?c[5].trim():"",""===b){let a=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(a)&&(b=a,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let c=a.length,d=a.substring(0,1),e=a.substring(c-1);q.includes(d)&&(this.visibility=d),/[$*]/.exec(e)&&(b=e),this.id=a.substring(+(""!==this.visibility),""===b?c:c-1)}this.classifier=b,this.id=this.id.startsWith(" ")?" "+this.id.trim():this.id.trim();let c=`${this.visibility?"\\"+this.visibility:""}${(0,j.QO)(this.id)}${"method"===this.memberType?`(${(0,j.QO)(this.parameters)})${this.returnType?" : "+(0,j.QO)(this.returnType):""}`:""}`;this.text=c.replaceAll("<","&lt;").replaceAll(">","&gt;"),this.text.startsWith("\\&lt;")&&(this.text=this.text.replace("\\&lt;","~"))}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},s="classId-",t=0,u=(0,l.K)(a=>j.Y2.sanitizeText(a,(0,j.D7)()),"sanitizeText"),v=class a{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=(0,l.K)(a=>{let b=(0,h.Ck)();(0,m.Ltv)(a).select("svg").selectAll("g").filter(function(){return null!==(0,m.Ltv)(this).attr("title")}).on("mouseover",a=>{let c=(0,m.Ltv)(a.currentTarget),d=c.attr("title");if(!d)return;let e=a.currentTarget.getBoundingClientRect();b.transition().duration(200).style("opacity",".9"),b.html(n.A.sanitize(d)).style("left",`${window.scrollX+e.left+e.width/2}px`).style("top",`${window.scrollY+e.bottom+4}px`),c.classed("hover",!0)}).on("mouseout",a=>{b.transition().duration(500).style("opacity",0),(0,m.Ltv)(a.currentTarget).classed("hover",!1)})},"setupToolTips"),this.direction="TB",this.setAccTitle=j.SV,this.getAccTitle=j.iN,this.setAccDescription=j.EI,this.getAccDescription=j.m7,this.setDiagramTitle=j.ke,this.getDiagramTitle=j.ab,this.getConfig=(0,l.K)(()=>(0,j.D7)().class,"getConfig"),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.popNamespace=this.popNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{(0,l.K)(this,"ClassDB")}splitClassNameAndType(a){let b=j.Y2.sanitizeText(a,(0,j.D7)()),c="",d=b;if(b.indexOf("~")>0){let a=b.split("~");d=u(a[0]),c=u(a[1])}return{className:d,type:c}}setClassLabel(a,b){let c=j.Y2.sanitizeText(a,(0,j.D7)());b&&(b=u(b));let{className:d}=this.splitClassNameAndType(c);this.classes.get(d).label=b,this.classes.get(d).text=`${b}${this.classes.get(d).type?`<${this.classes.get(d).type}>`:""}`}addClass(a){let b=j.Y2.sanitizeText(a,(0,j.D7)()),{className:c,type:d}=this.splitClassNameAndType(b);if(this.classes.has(c))return;let e=j.Y2.sanitizeText(c,(0,j.D7)());this.classes.set(e,{id:e,type:d,label:e,text:`${e}${d?`&lt;${d}&gt;`:""}`,shape:"classBox",cssClasses:"default",methods:[],members:[],annotations:[],styles:[],domId:s+e+"-"+t}),t++}addInterface(a,b){let c={id:`interface${this.interfaces.length}`,label:a,classId:b};this.interfaces.push(c)}setDiagramId(a){this.diagramId=a}lookUpDomId(a){let b=j.Y2.sanitizeText(a,(0,j.D7)());if(this.classes.has(b)){let a=this.classes.get(b).domId;return this.diagramId?`${this.diagramId}-${a}`:a}throw Error("Class not found: "+b)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.namespaceStack=[],this.diagramId="",this.direction="TB",(0,j.IU)()}getClass(a){return this.classes.get(a)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(a){let b="number"==typeof a?`note${a}`:a;return this.notes.get(b)}getNotes(){return this.notes}addRelation(a){k.R.debug("Adding relation: "+JSON.stringify(a));let b=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];a.relation.type1!==this.relationType.LOLLIPOP||b.includes(a.relation.type2)?a.relation.type2!==this.relationType.LOLLIPOP||b.includes(a.relation.type1)?(this.addClass(a.id1),this.addClass(a.id2)):(this.addClass(a.id1),this.addInterface(a.id2,a.id1),a.id2=`interface${this.interfaces.length-1}`):(this.addClass(a.id2),this.addInterface(a.id1,a.id2),a.id1=`interface${this.interfaces.length-1}`),a.id1=this.splitClassNameAndType(a.id1).className,a.id2=this.splitClassNameAndType(a.id2).className,a.relationTitle1=j.Y2.sanitizeText(a.relationTitle1.trim(),(0,j.D7)()),a.relationTitle2=j.Y2.sanitizeText(a.relationTitle2.trim(),(0,j.D7)()),this.relations.push(a)}addAnnotation(a,b){let c=this.splitClassNameAndType(a).className;this.classes.get(c).annotations.push(b)}addMember(a,b){this.addClass(a);let c=this.splitClassNameAndType(a).className,d=this.classes.get(c);if("string"==typeof b){let a=b.trim();a.startsWith("<<")&&a.endsWith(">>")?d.annotations.push(u(a.substring(2,a.length-2))):a.indexOf(")")>0?d.methods.push(new r(a,"method")):a&&d.members.push(new r(a,"attribute"))}}addMembers(a,b){Array.isArray(b)&&(b.reverse(),b.forEach(b=>this.addMember(a,b)))}addNote(a,b){let c=this.notes.size,d={id:`note${c}`,class:b,text:a,index:c};return this.notes.set(d.id,d),d.id}cleanupLabel(a){return a.startsWith(":")&&(a=a.substring(1)),u(a.trim())}setCssClass(a,b){a.split(",").forEach(a=>{let c=a;/\d/.exec(a[0])&&(c=s+c),c=this.splitClassNameAndType(c).className;let d=this.classes.get(c);d&&(d.cssClasses+=" "+b)})}defineClass(a,b){for(let c of a){let a=this.styleClasses.get(c);void 0===a&&(a={id:c,styles:[],textStyles:[]},this.styleClasses.set(c,a)),b&&b.forEach(b=>{if(/color/.exec(b)){let c=b.replace("fill","bgFill");a.textStyles.push(c)}a.styles.push(b)}),this.classes.forEach(a=>{a.cssClasses.includes(c)&&a.styles.push(...b.flatMap(a=>a.split(",")))})}}setTooltip(a,b){a.split(",").forEach(a=>{if(void 0!==b){let c=this.splitClassNameAndType(a).className,d=this.classes.get(c);d&&(d.tooltip=u(b))}})}getTooltip(a,b){return b&&this.namespaces.has(b)?this.namespaces.get(b).classes.get(a).tooltip:this.classes.get(a).tooltip}setLink(a,b,c){let d=(0,j.D7)();a.split(",").forEach(a=>{let e=a;/\d/.exec(a[0])&&(e=s+e),e=this.splitClassNameAndType(e).className;let f=this.classes.get(e);f&&(f.link=i._K.formatUrl(b,d),"sandbox"===d.securityLevel?f.linkTarget="_top":"string"==typeof c?f.linkTarget=u(c):f.linkTarget="_blank")}),this.setCssClass(a,"clickable")}setClickEvent(a,b,c){a.split(",").forEach(a=>{this.setClickFunc(a,b,c);let d=this.splitClassNameAndType(a).className,e=this.classes.get(d);e&&(e.haveCallback=!0)}),this.setCssClass(a,"clickable")}setClickFunc(a,b,c){let d=j.Y2.sanitizeText(a,(0,j.D7)());if("loose"!==(0,j.D7)().securityLevel||void 0===b)return;let e=this.splitClassNameAndType(d).className;if(this.classes.has(e)){let a=[];if("string"==typeof c){a=c.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let b=0;b<a.length;b++){let c=a[b].trim();c.startsWith('"')&&c.endsWith('"')&&(c=c.substr(1,c.length-2)),a[b]=c}}0===a.length&&a.push(e),this.functions.push(()=>{let c=this.lookUpDomId(e),d=document.querySelector(`[id="${c}"]`);null!==d&&d.addEventListener("click",()=>{i._K.runFunc(b,...a)},!1)})}}bindFunctions(a){this.functions.forEach(b=>{b(a)})}escapeHtml(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}getDirection(){return this.direction}setDirection(a){this.direction=a}static resolveQualifiedId(a,b){let c=b.at(-1);return c?`${c}.${a}`:a}static getAncestorIds(a){let b=a.split("."),c=Array(b.length);c[0]=b[0];for(let a=1;a<b.length;a++)c[a]=`${c[a-1]}.${b[a]}`;return c}createNamespaceNode(a,b,c,d=!1){return{id:a,label:b,classes:new Map,notes:new Map,children:new Map,domId:s+a+"-"+this.namespaceCounter++,parent:c,explicit:d}}linkParentChild(a,b){let c=this.namespaces.get(a),d=this.namespaces.get(b);c&&d&&(c.children.has(b)||c.children.set(b,d),d.parent??=a)}addNamespace(b,c){let d=a.resolveQualifiedId(b,this.namespaceStack);if(this.namespaceStack.push(d),this.namespaces.has(d)){let a=this.namespaces.get(d);return a.explicit=!0,c&&(a.label=c),d}let e=d.split("."),f=a.getAncestorIds(d);for(let a=0;a<f.length;a++){let b=f[a],d=a>0?f[a-1]:void 0,g=a===f.length-1,h=g&&c?c:e[a];this.namespaces.has(b)?g&&(this.namespaces.get(b).explicit=!0):this.namespaces.set(b,this.createNamespaceNode(b,h,d,g)),d&&this.linkParentChild(d,b)}return d}popNamespace(){this.namespaceStack.pop()}getNamespace(a){return this.namespaces.get(a)}getNamespaces(){return this.namespaces}addClassesToNamespace(a,b,c){if(this.namespaces.has(a)){for(let c of b){let{className:b}=this.splitClassNameAndType(c),d=this.getClass(b);d.parent=a,this.namespaces.get(a).classes.set(b,d)}for(let b of c){let c=this.getNote(b);c.parent=a,this.namespaces.get(a).notes.set(b,c)}}}setCssStyle(a,b){let c=this.classes.get(a);if(b&&c)for(let a of b)a.includes(",")?c.styles.push(...a.split(",")):c.styles.push(a)}getArrowMarker(a){let b;switch(a){case 0:b="aggregation";break;case 1:b="extension";break;case 2:b="composition";break;case 3:b="dependency";break;case 4:b="lollipop";break;default:b="none"}return b}resolveExplicitAncestor(a){let b=a;for(;b;){let a=this.namespaces.get(b);if(!a)break;if(a.explicit)return b;b=a.parent}}getData(){let a=[],b=[],c=(0,j.D7)(),d=c.class?.hierarchicalNamespaces??!0;for(let b of this.namespaces.values()){if(!d&&!b.explicit)continue;let e={id:b.id,label:d?b.label:b.id,isGroup:!0,padding:c.class.padding??16,shape:"rect",cssStyles:[],look:c.look,parentId:d?b.parent:void 0};a.push(e)}for(let b of this.classes.values()){let e=d?b.parent:this.resolveExplicitAncestor(b.parent),f={...b,type:void 0,isGroup:!1,parentId:e,look:c.look};a.push(f)}for(let e of this.notes.values()){let f=d?e.parent:this.resolveExplicitAncestor(e.parent),g={id:e.id,label:e.text,isGroup:!1,shape:"note",padding:c.class.padding??6,cssStyles:["text-align: left","white-space: nowrap",`fill: ${c.themeVariables.noteBkgColor}`,`stroke: ${c.themeVariables.noteBorderColor}`],look:c.look,parentId:f,labelType:"markdown"};a.push(g);let h=this.classes.get(e.class)?.id;if(h){let a={id:`edgeNote${e.index}`,start:e.id,end:h,type:"normal",thickness:"normal",classes:"relation",arrowTypeStart:"none",arrowTypeEnd:"none",arrowheadStyle:"",labelStyle:[""],style:["fill: none"],pattern:"dotted",look:c.look};b.push(a)}}for(let b of this.interfaces){let d={id:b.id,label:b.label,isGroup:!1,shape:"rect",cssStyles:["opacity: 0;"],look:c.look};a.push(d)}let e=0;for(let a of this.relations){e++;let d={id:(0,i.rY)(a.id1,a.id2,{prefix:"id",counter:e}),start:a.id1,end:a.id2,type:"normal",label:a.title,labelpos:"c",thickness:"normal",classes:"relation",arrowTypeStart:this.getArrowMarker(a.relation.type1),arrowTypeEnd:this.getArrowMarker(a.relation.type2),startLabelRight:"none"===a.relationTitle1?"":a.relationTitle1,endLabelLeft:"none"===a.relationTitle2?"":a.relationTitle2,arrowheadStyle:"",labelStyle:["display: inline-block"],style:a.style||"",pattern:1==a.relation.lineType?"dashed":"solid",look:c.look,labelType:"markdown"};b.push(d)}return{nodes:a,edges:b,other:{},config:c,direction:this.getDirection()}}},w=(0,l.K)(a=>`g.classGroup text {
16
+ fill: ${a.nodeBorder||a.classText};
17
+ stroke: none;
18
+ font-family: ${a.fontFamily};
19
+ font-size: 10px;
20
+
21
+ .title {
22
+ font-weight: bolder;
23
+ }
24
+
25
+ }
26
+
27
+ .cluster-label text {
28
+ fill: ${a.titleColor};
29
+ }
30
+ .cluster-label span {
31
+ color: ${a.titleColor};
32
+ }
33
+ .cluster-label span p {
34
+ background-color: transparent;
35
+ }
36
+
37
+ .cluster rect {
38
+ fill: ${a.clusterBkg};
39
+ stroke: ${a.clusterBorder};
40
+ stroke-width: 1px;
41
+ }
42
+
43
+ .cluster text {
44
+ fill: ${a.titleColor};
45
+ }
46
+
47
+ .cluster span {
48
+ color: ${a.titleColor};
49
+ }
50
+
51
+ .nodeLabel, .edgeLabel {
52
+ color: ${a.classText};
53
+ }
54
+
55
+ .noteLabel .nodeLabel, .noteLabel .edgeLabel {
56
+ color: ${a.noteTextColor};
57
+ }
58
+ .edgeLabel .label rect {
59
+ fill: ${a.mainBkg};
60
+ }
61
+ .label text {
62
+ fill: ${a.classText};
63
+ }
64
+
65
+ .labelBkg {
66
+ background: ${a.mainBkg};
67
+ }
68
+ .edgeLabel .label span {
69
+ background: ${a.mainBkg};
70
+ }
71
+
72
+ .classTitle {
73
+ font-weight: bolder;
74
+ }
75
+ .node rect,
76
+ .node circle,
77
+ .node ellipse,
78
+ .node polygon,
79
+ .node path {
80
+ fill: ${a.mainBkg};
81
+ stroke: ${a.nodeBorder};
82
+ stroke-width: ${a.strokeWidth};
83
+ }
84
+
85
+
86
+ .divider {
87
+ stroke: ${a.nodeBorder};
88
+ stroke-width: 1;
89
+ }
90
+
91
+ g.clickable {
92
+ cursor: pointer;
93
+ }
94
+
95
+ g.classGroup rect {
96
+ fill: ${a.mainBkg};
97
+ stroke: ${a.nodeBorder};
98
+ }
99
+
100
+ g.classGroup line {
101
+ stroke: ${a.nodeBorder};
102
+ stroke-width: 1;
103
+ }
104
+
105
+ .classLabel .box {
106
+ stroke: none;
107
+ stroke-width: 0;
108
+ fill: ${a.mainBkg};
109
+ opacity: 0.5;
110
+ }
111
+
112
+ .classLabel .label {
113
+ fill: ${a.nodeBorder};
114
+ font-size: 10px;
115
+ }
116
+
117
+ .relation {
118
+ stroke: ${a.lineColor};
119
+ stroke-width: ${a.strokeWidth};
120
+ fill: none;
121
+ }
122
+
123
+ .dashed-line{
124
+ stroke-dasharray: 3;
125
+ }
126
+
127
+ .dotted-line{
128
+ stroke-dasharray: 1 2;
129
+ }
130
+
131
+ [id$="-compositionStart"], .composition {
132
+ fill: ${a.lineColor} !important;
133
+ stroke: ${a.lineColor} !important;
134
+ stroke-width: 1;
135
+ }
136
+
137
+ [id$="-compositionEnd"], .composition {
138
+ fill: ${a.lineColor} !important;
139
+ stroke: ${a.lineColor} !important;
140
+ stroke-width: 1;
141
+ }
142
+
143
+ [id$="-dependencyStart"], .dependency {
144
+ fill: ${a.lineColor} !important;
145
+ stroke: ${a.lineColor} !important;
146
+ stroke-width: 1;
147
+ }
148
+
149
+ [id$="-dependencyEnd"], .dependency {
150
+ fill: ${a.lineColor} !important;
151
+ stroke: ${a.lineColor} !important;
152
+ stroke-width: 1;
153
+ }
154
+
155
+ [id$="-extensionStart"], .extension {
156
+ fill: transparent !important;
157
+ stroke: ${a.lineColor} !important;
158
+ stroke-width: 1;
159
+ }
160
+
161
+ [id$="-extensionEnd"], .extension {
162
+ fill: transparent !important;
163
+ stroke: ${a.lineColor} !important;
164
+ stroke-width: 1;
165
+ }
166
+
167
+ [id$="-aggregationStart"], .aggregation {
168
+ fill: transparent !important;
169
+ stroke: ${a.lineColor} !important;
170
+ stroke-width: 1;
171
+ }
172
+
173
+ [id$="-aggregationEnd"], .aggregation {
174
+ fill: transparent !important;
175
+ stroke: ${a.lineColor} !important;
176
+ stroke-width: 1;
177
+ }
178
+
179
+ [id$="-lollipopStart"], .lollipop {
180
+ fill: ${a.mainBkg} !important;
181
+ stroke: ${a.lineColor} !important;
182
+ stroke-width: 1;
183
+ }
184
+
185
+ [id$="-lollipopEnd"], .lollipop {
186
+ fill: ${a.mainBkg} !important;
187
+ stroke: ${a.lineColor} !important;
188
+ stroke-width: 1;
189
+ }
190
+
191
+ .edgeTerminals {
192
+ font-size: 11px;
193
+ line-height: initial;
194
+ }
195
+
196
+ .classTitleText {
197
+ text-anchor: middle;
198
+ font-size: 18px;
199
+ fill: ${a.textColor};
200
+ }
201
+
202
+ .edgeLabel[data-look="neo"] {
203
+ background-color: ${a.edgeLabelBackground};
204
+ p {
205
+ background-color: ${a.edgeLabelBackground};
206
+ }
207
+ rect {
208
+ opacity: 0.5;
209
+ background-color: ${a.edgeLabelBackground};
210
+ fill: ${a.edgeLabelBackground};
211
+ }
212
+ text-align: center;
213
+ }
214
+ ${(0,d.o)()}
215
+ `,"getStyles"),x=(0,l.K)((a,b="TB")=>{if(!a.doc)return b;let c=b;for(let b of a.doc)"dir"===b.stmt&&(c=b.value);return c},"getDir"),y={getClasses:(0,l.K)(function(a,b){return b.db.getClasses()},"getClasses"),draw:(0,l.K)(async function(a,b,c,d){k.R.info("REF0:"),k.R.info("Drawing class diagram (v3)",b);let{securityLevel:h,state:l,layout:m}=(0,j.D7)();d.db.setDiagramId(b);let n=d.db.getData(),o=(0,e.A)(b,h);n.type=d.type,n.layoutAlgorithm=(0,g.q7)(m),n.nodeSpacing=l?.nodeSpacing||50,n.rankSpacing=l?.rankSpacing||50,n.markers=["aggregation","extension","composition","dependency","lollipop"],n.diagramId=b,await (0,g.XX)(n,o),i._K.insertTitle(o,"classDiagramTitleText",l?.titleTopMargin??25,d.db.getDiagramTitle()),(0,f.P)(o,8,"classDiagram",l?.useMaxWidth??!0)},"draw"),getDir:x}},79440:(a,b,c)=>{c.d(b,{CP:()=>l,Ck:()=>o,HT:()=>n,PB:()=>m,aC:()=>k,lC:()=>i,m:()=>j,tk:()=>h});var d=c(12644),e=c(95097),f=c(65207),g=c(69085),h=(0,e.K)((a,b)=>{let c=a.append("rect");if(c.attr("x",b.x),c.attr("y",b.y),c.attr("fill",b.fill),c.attr("stroke",b.stroke),c.attr("width",b.width),c.attr("height",b.height),b.name&&c.attr("name",b.name),b.rx&&c.attr("rx",b.rx),b.ry&&c.attr("ry",b.ry),void 0!==b.attrs)for(let a in b.attrs)c.attr(a,b.attrs[a]);return b.class&&c.attr("class",b.class),c},"drawRect"),i=(0,e.K)((a,b)=>{h(a,{x:b.startx,y:b.starty,width:b.stopx-b.startx,height:b.stopy-b.starty,fill:b.fill,stroke:b.stroke,class:"rect"}).lower()},"drawBackgroundRect"),j=(0,e.K)((a,b)=>{let c=b.text.replace(d.H1," "),e=a.append("text");e.attr("x",b.x),e.attr("y",b.y),e.attr("class","legend"),e.style("text-anchor",b.anchor),b.class&&e.attr("class",b.class);let f=e.append("tspan");return f.attr("x",b.x+2*b.textMargin),f.text(c),e},"drawText"),k=(0,e.K)((a,b,c,d)=>{let e=a.append("image");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",g)},"drawImage"),l=(0,e.K)((a,b,c,d)=>{let e=a.append("use");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",`#${g}`)},"drawEmbeddedImage"),m=(0,e.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),n=(0,e.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),o=(0,e.K)(()=>{let a=(0,g.Ltv)(".mermaidTooltip");return a.empty()&&(a=(0,g.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),a},"createTooltip")}};
@@ -1 +1 @@
1
- "use strict";exports.id=4548,exports.ids=[4548],exports.modules={4548:(a,b,c)=>{c.d(b,{diagram:()=>k});var d=c(71904),e=c(45313),f=c(58715),g=c(95097),h=c(92325),i={parse:(0,g.K)(async a=>{let b=await (0,h.qg)("info",a);f.R.debug(b)},"parse")},j=(0,g.K)(()=>"11.16.1","getVersion"),k={parser:i,db:{getVersion:j},renderer:{draw:(0,g.K)((a,b,c)=>{f.R.debug("rendering info diagram\n"+a);let g=(0,d.D)(b);(0,e.a$)(g,100,400,!0),g.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${c}`)},"draw")}}}};
1
+ "use strict";exports.id=6888,exports.ids=[6888],exports.modules={86888:(a,b,c)=>{c.d(b,{diagram:()=>k});var d=c(5675),e=c(12644),f=c(58715),g=c(95097),h=c(92325),i={parse:(0,g.K)(async a=>{let b=await (0,h.qg)("info",a);f.R.debug(b)},"parse")},j=(0,g.K)(()=>"11.17.2","getVersion"),k={parser:i,db:{getVersion:j},renderer:{draw:(0,g.K)((a,b,c)=>{f.R.debug("rendering info diagram\n"+a);let g=(0,d.D)(b);(0,e.a$)(g,100,400,!0),g.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${c}`)},"draw")}}}};
@@ -0,0 +1,77 @@
1
+ "use strict";exports.id=7245,exports.ids=[7245],exports.modules={4328:(a,b,c)=>{function d(a,b){a.accDescr&&b.setAccDescription?.(a.accDescr),a.accTitle&&b.setAccTitle?.(a.accTitle),a.title&&b.setDiagramTitle?.(a.title)}c.d(b,{S:()=>d}),(0,c(95097).K)(d,"populateCommonDb")},87245:(a,b,c)=>{c.d(b,{diagram:()=>M});var d=c(4328),e=c(5675),f=c(12569),g=c(12644),h=c(58715),i=c(95097),j=c(92325),k=(0,i.K)((a,b)=>{let c=a<=1?100*a:a;if(c<0||c>100)throw Error(`${b} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${a}`);return c},"toPercent"),l=(0,i.K)((a,b,c)=>({x:k(b,`${c} evolution`),y:k(a,`${c} visibility`)}),"toCoordinates"),m=(0,i.K)(a=>{if(a){if("+<>"===a)return"bidirectional";if("+<"===a)return"backward";if("+>"===a)return"forward"}},"getFlowFromPort"),n=(0,i.K)(a=>{if(!a?.startsWith("+"))return{};let b=/^\+'([^']*)'/.exec(a),c=b?.[1];return a.includes("<>")?{flow:"bidirectional",label:c}:a.includes("<")?{flow:"backward",label:c}:a.includes(">")?{flow:"forward",label:c}:{label:c}},"extractFlowFromArrow"),o=(0,i.K)((a,b)=>{if((0,d.S)(a,b),a.size&&b.setSize(a.size.width,a.size.height),a.evolution){let c=a.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),d=a.evolution.stages.filter(a=>void 0!==a.boundary).map(a=>a.boundary);b.updateAxes({stages:c,stageBoundaries:d})}if(a.anchors.forEach(a=>{let c=l(a.visibility,a.evolution,`Anchor "${a.name}"`);b.addNode(a.name,a.name,c.x,c.y,"anchor")}),a.components.forEach(a=>{let c=l(a.visibility,a.evolution,`Component "${a.name}"`),d=a.label?(a.label.negX?-1:1)*a.label.offsetX:void 0,e=a.label?(a.label.negY?-1:1)*a.label.offsetY:void 0,f=a.decorator?.strategy;b.addNode(a.name,a.name,c.x,c.y,"component",d,e,a.inertia,f)}),a.notes.forEach(a=>{let c=l(a.visibility,a.evolution,`Note "${a.text}"`);b.addNote(a.text,c.x,c.y)}),a.pipelines.forEach(a=>{let c=b.getNode(a.parent);if(!c||"number"!=typeof c.y)throw Error(`Pipeline "${a.parent}" must reference an existing component with coordinates.`);let d=c.y;b.startPipeline(a.parent),a.components.forEach(c=>{let e=`${a.parent}_${c.name}`,f=c.label?(c.label.negX?-1:1)*c.label.offsetX:void 0,g=c.label?(c.label.negY?-1:1)*c.label.offsetY:void 0,h=k(c.evolution,`Pipeline component "${c.name}" evolution`);b.addNode(e,c.name,h,d,"pipeline-component",f,g),b.addPipelineComponent(a.parent,e)})}),a.links.forEach(a=>{let c=!!a.arrow&&(a.arrow.includes("-.->")||a.arrow.includes(".-.")),d=m(a.fromPort)??m(a.toPort),{flow:e,label:f}=n(a.arrow);!d&&e&&(d=e);let g=a.linkLabel;b.addLink(b.resolveNodeId(a.from),b.resolveNodeId(a.to),c,f??g,d)}),a.evolves.forEach(a=>{let c=b.getNode(a.component);if(c?.y!==void 0){let d=k(a.target,`Evolve target for "${a.component}"`);b.addTrend(a.component,d,c.y)}}),a.annotations.length>0){let c=a.annotations[0],d=l(c.x,c.y,"Annotations box");b.setAnnotationsBox(d.x,d.y)}a.annotation.forEach(a=>{let c=l(a.x,a.y,`Annotation ${a.number}`);b.addAnnotation(a.number,[{x:c.x,y:c.y}],a.text)}),a.accelerators.forEach(a=>{let c=l(a.x,a.y,`Accelerator "${a.name}"`);b.addAccelerator(a.name,c.x,c.y)}),a.deaccelerators.forEach(a=>{let c=l(a.x,a.y,`Deaccelerator "${a.name}"`);b.addDeaccelerator(a.name,c.x,c.y)})},"populateDb"),p={parser:{yy:void 0},parse:(0,i.K)(async a=>{let b=await (0,j.qg)("wardley",a);h.R.debug(b);let c=p.parser?.yy;if(!c||"function"!=typeof c.addNode)throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");o(b,c)},"parse")},q=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{(0,i.K)(this,"WardleyBuilder")}addNode(a){let b=this.nodes.get(a.id)??{id:a.id,label:a.label},c={...b,...a,className:a.className??b.className,labelOffsetX:a.labelOffsetX??b.labelOffsetX,labelOffsetY:a.labelOffsetY??b.labelOffsetY};this.nodes.set(a.id,c)}addLink(a){this.links.push(a)}addTrend(a){this.trends.set(a.nodeId,a)}startPipeline(a){this.pipelines.set(a,{nodeId:a,componentIds:[]});let b=this.nodes.get(a);b&&(b.isPipelineParent=!0)}addPipelineComponent(a,b){let c=this.pipelines.get(a);c&&c.componentIds.push(b);let d=this.nodes.get(b);d&&(d.inPipeline=!0)}addAnnotation(a){this.annotations.push(a)}addNote(a){this.notes.push(a)}addAccelerator(a){this.accelerators.push(a)}addDeaccelerator(a){this.deaccelerators.push(a)}setAnnotationsBox(a,b){this.annotationsBox={x:a,y:b}}setAxes(a){this.axes={...this.axes,...a}}setSize(a,b){this.size={width:a,height:b}}getNode(a){return this.nodes.get(a)}resolveNodeId(a){if(this.nodes.has(a))return a;for(let[b,c]of this.nodes)if(c.label===a)return b;return a}build(){let a=[];for(let b of this.nodes.values()){if("number"!=typeof b.x||"number"!=typeof b.y)throw Error(`Node "${b.label}" is missing coordinates`);a.push(b)}return{nodes:a,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function r(){return(0,g.D7)()["wardley-beta"]}function s(a,b,c,d,e,f,g,h,i){q.addNode({id:a,label:b,x:c,y:d,className:e,labelOffsetX:f,labelOffsetY:g,inertia:h,sourceStrategy:i})}function t(a,b,c=!1,d,e){q.addLink({source:a,target:b,dashed:c,label:d,flow:e})}function u(a,b,c){q.addTrend({nodeId:a,targetX:b,targetY:c})}function v(a,b,c){q.addAnnotation({number:a,coordinates:b,text:c})}function w(a,b,c){q.addNote({text:a,x:b,y:c})}function x(a,b,c){q.addAccelerator({name:a,x:b,y:c})}function y(a,b,c){q.addDeaccelerator({name:a,x:b,y:c})}function z(a,b){q.setAnnotationsBox(a,b)}function A(a,b){q.setSize(a,b)}function B(a){q.startPipeline(a)}function C(a,b){q.addPipelineComponent(a,b)}function D(a){q.setAxes(a)}function E(a){return q.getNode(a)}function F(a){return q.resolveNodeId(a)}function G(){return q.build()}function H(){q.clear(),(0,g.IU)()}(0,i.K)(r,"getConfig"),(0,i.K)(s,"addNode"),(0,i.K)(t,"addLink"),(0,i.K)(u,"addTrend"),(0,i.K)(v,"addAnnotation"),(0,i.K)(w,"addNote"),(0,i.K)(x,"addAccelerator"),(0,i.K)(y,"addDeaccelerator"),(0,i.K)(z,"setAnnotationsBox"),(0,i.K)(A,"setSize"),(0,i.K)(B,"startPipeline"),(0,i.K)(C,"addPipelineComponent"),(0,i.K)(D,"updateAxes"),(0,i.K)(E,"getNode"),(0,i.K)(F,"resolveNodeId"),(0,i.K)(G,"getWardleyData"),(0,i.K)(H,"clear");var I={getConfig:r,addNode:s,addLink:t,addTrend:u,addAnnotation:v,addNote:w,addAccelerator:x,addDeaccelerator:y,setAnnotationsBox:z,setSize:A,startPipeline:B,addPipelineComponent:C,updateAxes:D,getNode:E,resolveNodeId:F,getWardleyData:G,clear:H,setAccTitle:g.SV,getAccTitle:g.iN,setDiagramTitle:g.ke,getDiagramTitle:g.ab,getAccDescription:g.m7,setAccDescription:g.EI},J=["Genesis","Custom Built","Product","Commodity"],K=(0,i.K)(()=>{let{themeVariables:a}=(0,g.D7)();return{backgroundColor:a.wardley?.backgroundColor??a.background??"#fff",axisColor:a.wardley?.axisColor??"#000",axisTextColor:a.wardley?.axisTextColor??a.primaryTextColor??"#222",gridColor:a.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:a.wardley?.componentFill??"#fff",componentStroke:a.wardley?.componentStroke??"#000",componentLabelColor:a.wardley?.componentLabelColor??a.primaryTextColor??"#222",linkStroke:a.wardley?.linkStroke??"#000",evolutionStroke:a.wardley?.evolutionStroke??"#dc3545",annotationStroke:a.wardley?.annotationStroke??"#000",annotationTextColor:a.wardley?.annotationTextColor??a.primaryTextColor??"#222",annotationFill:a.wardley?.annotationFill??a.background??"#fff"}},"getTheme"),L=(0,i.K)(()=>{let a=(0,g.D7)()["wardley-beta"];return{width:a?.width??900,height:a?.height??600,padding:a?.padding??48,nodeRadius:a?.nodeRadius??6,nodeLabelOffset:a?.nodeLabelOffset??8,axisFontSize:a?.axisFontSize??12,labelFontSize:a?.labelFontSize??10,showGrid:a?.showGrid??!1,useMaxWidth:a?.useMaxWidth??!0}},"getConfigValues"),M={parser:p,db:I,renderer:{draw:(0,i.K)((a,b,c,d)=>{h.R.debug("Rendering Wardley map\n"+a);let f=L(),j=K(),k=1.6*f.nodeRadius,l=d.db,m=l.getWardleyData(),n=l.getDiagramTitle(),o=m.size?.width??f.width,p=m.size?.height??f.height,q=(0,e.D)(b);q.selectAll("*").remove(),(0,g.a$)(q,p,o,f.useMaxWidth),q.attr("viewBox",`0 0 ${o} ${p}`);let r=q.append("g").attr("class","wardley-map"),s=q.append("defs");s.append("marker").attr("id",`arrow-${b}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",j.evolutionStroke).attr("stroke","none"),s.append("marker").attr("id",`link-arrow-end-${b}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",j.linkStroke).attr("stroke","none"),s.append("marker").attr("id",`link-arrow-start-${b}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",j.linkStroke).attr("stroke","none"),r.append("rect").attr("class","wardley-background").attr("width",o).attr("height",p).attr("fill",j.backgroundColor);let t=o-2*f.padding,u=p-2*f.padding;n&&r.append("text").attr("class","wardley-title").attr("x",o/2).attr("y",f.padding/2).attr("fill",j.axisTextColor).attr("font-size",1.05*f.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(n);let v=(0,i.K)(a=>f.padding+a/100*t,"projectX"),w=(0,i.K)(a=>p-f.padding-a/100*u,"projectY"),x=r.append("g").attr("class","wardley-axes");x.append("line").attr("x1",f.padding).attr("x2",o-f.padding).attr("y1",p-f.padding).attr("y2",p-f.padding).attr("stroke",j.axisColor).attr("stroke-width",1),x.append("line").attr("x1",f.padding).attr("x2",f.padding).attr("y1",f.padding).attr("y2",p-f.padding).attr("stroke",j.axisColor).attr("stroke-width",1);let y=m.axes.xLabel??"Evolution",z=m.axes.yLabel??"Visibility";x.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",f.padding+t/2).attr("y",p-f.padding/4).attr("fill",j.axisTextColor).attr("font-size",f.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(y),x.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",f.padding/3).attr("y",f.padding+u/2).attr("fill",j.axisTextColor).attr("font-size",f.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${f.padding/3} ${f.padding+u/2})`).text(z);let A=m.axes.stages&&m.axes.stages.length>0?m.axes.stages:J;if(A.length>0){let a=r.append("g").attr("class","wardley-stages"),b=m.axes.stageBoundaries,c=[];if(b&&b.length===A.length){let a=0;b.forEach(b=>{c.push({start:a,end:b}),a=b})}else{let a=1/A.length;A.forEach((b,d)=>{c.push({start:d*a,end:(d+1)*a})})}A.forEach((b,d)=>{let e=c[d],g=f.padding+e.start*t,h=(g+(f.padding+e.end*t))/2;d>0&&a.append("line").attr("x1",g).attr("x2",g).attr("y1",f.padding).attr("y2",p-f.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),a.append("text").attr("class","wardley-stage-label").attr("x",h).attr("y",p-f.padding/1.5).attr("fill",j.axisTextColor).attr("font-size",f.axisFontSize-2).attr("text-anchor","middle").text(b)})}if(f.showGrid){let a=r.append("g").attr("class","wardley-grid");for(let b=1;b<4;b++){let c=b/4,d=f.padding+t*c;a.append("line").attr("x1",d).attr("x2",d).attr("y1",f.padding).attr("y2",p-f.padding).attr("stroke",j.gridColor).attr("stroke-dasharray","2 6"),a.append("line").attr("x1",f.padding).attr("x2",o-f.padding).attr("y1",p-f.padding-u*c).attr("y2",p-f.padding-u*c).attr("stroke",j.gridColor).attr("stroke-dasharray","2 6")}}let B=new Map;if(m.nodes.forEach(a=>{B.set(a.id,{x:v(a.x),y:w(a.y),node:a})}),m.pipelines.length>0){let a=r.append("g").attr("class","wardley-pipelines"),b=r.append("g").attr("class","wardley-pipeline-links");m.pipelines.forEach(c=>{if(0===c.componentIds.length)return;let d=c.componentIds.map(a=>({id:a,pos:B.get(a),node:m.nodes.find(b=>b.id===a)})).filter(a=>a.pos&&a.node).sort((a,b)=>a.node.x-b.node.x);for(let a=0;a<d.length-1;a++){let c=d[a],e=d[a+1];b.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",c.pos.x).attr("y1",c.pos.y).attr("x2",e.pos.x).attr("y2",e.pos.y).attr("stroke",j.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let e=1/0,g=-1/0,h=0;if(c.componentIds.forEach(a=>{let b=B.get(a);b&&(e=Math.min(e,b.x),g=Math.max(g,b.x),h=b.y)}),e!==1/0&&g!==-1/0){let b=4*f.nodeRadius,d=h-b/2,i=B.get(c.nodeId);i&&(i.x=(e+g)/2,i.y=d-k/6),a.append("rect").attr("class","wardley-pipeline-box").attr("x",e-15).attr("y",d).attr("width",g-e+30).attr("height",b).attr("fill","none").attr("stroke",j.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let C=r.append("g").attr("class","wardley-links"),D=new Map;m.pipelines.forEach(a=>{D.set(a.nodeId,new Set(a.componentIds))});let E=m.links.filter(a=>{if(!B.has(a.source)||!B.has(a.target))return!1;let b=D.get(a.target);return!b?.has(a.source)});C.selectAll("line").data(E).enter().append("line").attr("class",a=>`wardley-link${a.dashed?" wardley-link--dashed":""}`).attr("x1",a=>{let b=B.get(a.source),c=B.get(a.target),d=m.nodes.find(b=>b.id===a.source).isPipelineParent?k/Math.sqrt(2):f.nodeRadius,e=c.x-b.x,g=c.y-b.y,h=Math.sqrt(e*e+g*g);return b.x+e/h*d}).attr("y1",a=>{let b=B.get(a.source),c=B.get(a.target),d=m.nodes.find(b=>b.id===a.source).isPipelineParent?k/Math.sqrt(2):f.nodeRadius,e=c.x-b.x,g=c.y-b.y,h=Math.sqrt(e*e+g*g);return b.y+g/h*d}).attr("x2",a=>{let b=B.get(a.source),c=B.get(a.target),d=m.nodes.find(b=>b.id===a.target).isPipelineParent?k/Math.sqrt(2):f.nodeRadius,e=b.x-c.x,g=b.y-c.y,h=Math.sqrt(e*e+g*g);return c.x+e/h*d}).attr("y2",a=>{let b=B.get(a.source),c=B.get(a.target),d=m.nodes.find(b=>b.id===a.target).isPipelineParent?k/Math.sqrt(2):f.nodeRadius,e=b.x-c.x,g=b.y-c.y,h=Math.sqrt(e*e+g*g);return c.y+g/h*d}).attr("stroke",j.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",a=>a.dashed?"6 6":null).attr("marker-end",a=>"forward"===a.flow||"bidirectional"===a.flow?`url(#link-arrow-end-${b})`:null).attr("marker-start",a=>"backward"===a.flow||"bidirectional"===a.flow?`url(#link-arrow-start-${b})`:null),C.selectAll("text").data(E.filter(a=>a.label)).enter().append("text").attr("class","wardley-link-label").attr("x",a=>{let b=B.get(a.source),c=B.get(a.target),d=(b.x+c.x)/2,e=c.y-b.y,f=c.x-b.x,g=Math.sqrt(f*f+e*e);return d+e/g*8}).attr("y",a=>{let b=B.get(a.source),c=B.get(a.target),d=(b.y+c.y)/2,e=c.x-b.x,f=c.y-b.y,g=Math.sqrt(e*e+f*f);return d+-e/g*8}).attr("fill",j.axisTextColor).attr("font-size",f.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",a=>{let b=B.get(a.source),c=B.get(a.target),d=(b.x+c.x)/2,e=(b.y+c.y)/2,f=c.x-b.x,g=c.y-b.y,h=Math.sqrt(f*f+g*g),i=180*Math.atan2(g,f)/Math.PI;return(i>90||i<-90)&&(i+=180),`rotate(${i} ${d+g/h*8} ${e+-f/h*8})`}).text(a=>a.label);let F=r.append("g").attr("class","wardley-trends"),G=m.trends.map(a=>{let b=B.get(a.nodeId);if(!b)return null;let c=v(a.targetX),d=w(a.targetY),e=c-b.x,g=d-b.y,h=Math.sqrt(e*e+g*g),i=f.nodeRadius+2;return{origin:b,targetX:c,targetY:d,adjustedX2:h>i?c-e/h*i:c,adjustedY2:h>i?d-g/h*i:d}}).filter(a=>null!==a);F.selectAll("line").data(G).enter().append("line").attr("class","wardley-trend").attr("x1",a=>a.origin.x).attr("y1",a=>a.origin.y).attr("x2",a=>a.adjustedX2).attr("y2",a=>a.adjustedY2).attr("stroke",j.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${b})`);let H=r.append("g").attr("class","wardley-nodes").selectAll("g").data(m.nodes).enter().append("g").attr("class",a=>["wardley-node",a.className?`wardley-node--${a.className}`:""].filter(Boolean).join(" "));H.filter(a=>"outsource"===a.sourceStrategy).append("circle").attr("class","wardley-outsource-overlay").attr("cx",a=>B.get(a.id).x).attr("cy",a=>B.get(a.id).y).attr("r",2*f.nodeRadius).attr("fill","#666").attr("stroke",j.componentStroke).attr("stroke-width",1),H.filter(a=>"buy"===a.sourceStrategy).append("circle").attr("class","wardley-buy-overlay").attr("cx",a=>B.get(a.id).x).attr("cy",a=>B.get(a.id).y).attr("r",2*f.nodeRadius).attr("fill","#ccc").attr("stroke",j.componentStroke).attr("stroke-width",1),H.filter(a=>"build"===a.sourceStrategy).append("circle").attr("class","wardley-build-overlay").attr("cx",a=>B.get(a.id).x).attr("cy",a=>B.get(a.id).y).attr("r",2*f.nodeRadius).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let I=H.filter(a=>"market"===a.sourceStrategy);I.append("circle").attr("class","wardley-market-overlay").attr("cx",a=>B.get(a.id).x).attr("cy",a=>B.get(a.id).y).attr("r",2*f.nodeRadius).attr("fill","white").attr("stroke",j.componentStroke).attr("stroke-width",1),H.filter(a=>!a.isPipelineParent&&"market"!==a.sourceStrategy&&"anchor"!==a.className).append("circle").attr("cx",a=>B.get(a.id).x).attr("cy",a=>B.get(a.id).y).attr("r",f.nodeRadius).attr("fill",j.componentFill).attr("stroke",j.componentStroke).attr("stroke-width",1);let M=.7*f.nodeRadius,N=1.2*f.nodeRadius;if(I.append("line").attr("class","wardley-market-line").attr("x1",a=>B.get(a.id).x).attr("y1",a=>B.get(a.id).y-N).attr("x2",a=>B.get(a.id).x-N*Math.cos(Math.PI/6)).attr("y2",a=>B.get(a.id).y+N*Math.sin(Math.PI/6)).attr("stroke",j.componentStroke).attr("stroke-width",1),I.append("line").attr("class","wardley-market-line").attr("x1",a=>B.get(a.id).x-N*Math.cos(Math.PI/6)).attr("y1",a=>B.get(a.id).y+N*Math.sin(Math.PI/6)).attr("x2",a=>B.get(a.id).x+N*Math.cos(Math.PI/6)).attr("y2",a=>B.get(a.id).y+N*Math.sin(Math.PI/6)).attr("stroke",j.componentStroke).attr("stroke-width",1),I.append("line").attr("class","wardley-market-line").attr("x1",a=>B.get(a.id).x+N*Math.cos(Math.PI/6)).attr("y1",a=>B.get(a.id).y+N*Math.sin(Math.PI/6)).attr("x2",a=>B.get(a.id).x).attr("y2",a=>B.get(a.id).y-N).attr("stroke",j.componentStroke).attr("stroke-width",1),I.append("circle").attr("class","wardley-market-dot").attr("cx",a=>B.get(a.id).x).attr("cy",a=>B.get(a.id).y-N).attr("r",M).attr("fill","white").attr("stroke",j.componentStroke).attr("stroke-width",2),I.append("circle").attr("class","wardley-market-dot").attr("cx",a=>B.get(a.id).x-N*Math.cos(Math.PI/6)).attr("cy",a=>B.get(a.id).y+N*Math.sin(Math.PI/6)).attr("r",M).attr("fill","white").attr("stroke",j.componentStroke).attr("stroke-width",2),I.append("circle").attr("class","wardley-market-dot").attr("cx",a=>B.get(a.id).x+N*Math.cos(Math.PI/6)).attr("cy",a=>B.get(a.id).y+N*Math.sin(Math.PI/6)).attr("r",M).attr("fill","white").attr("stroke",j.componentStroke).attr("stroke-width",2),H.filter(a=>!0===a.isPipelineParent).append("rect").attr("x",a=>B.get(a.id).x-k/2).attr("y",a=>B.get(a.id).y-k/2).attr("width",k).attr("height",k).attr("fill",j.componentFill).attr("stroke",j.componentStroke).attr("stroke-width",1),H.filter(a=>!0===a.inertia).append("line").attr("class","wardley-inertia").attr("x1",a=>{let b=B.get(a.id),c=a.isPipelineParent?k/2+15:f.nodeRadius+15;return a.sourceStrategy&&(c+=f.nodeRadius+10),b.x+c}).attr("y1",a=>{let b=B.get(a.id),c=a.isPipelineParent?k:2*f.nodeRadius;return b.y-c/2}).attr("x2",a=>{let b=B.get(a.id),c=a.isPipelineParent?k/2+15:f.nodeRadius+15;return a.sourceStrategy&&(c+=f.nodeRadius+10),b.x+c}).attr("y2",a=>{let b=B.get(a.id),c=a.isPipelineParent?k:2*f.nodeRadius;return b.y+c/2}).attr("stroke",j.componentStroke).attr("stroke-width",6),H.append("text").attr("x",a=>{let b=B.get(a.id);if("anchor"===a.className)return void 0!==a.labelOffsetX?b.x+a.labelOffsetX:b.x;let c=f.nodeLabelOffset;a.sourceStrategy&&void 0===a.labelOffsetX&&(c+=10);let d=a.labelOffsetX??c;return b.x+d}).attr("y",a=>{let b=B.get(a.id);if("anchor"===a.className)return void 0!==a.labelOffsetY?b.y+a.labelOffsetY:b.y-3;let c=-f.nodeLabelOffset;a.sourceStrategy&&void 0===a.labelOffsetY&&(c-=10);let d=a.labelOffsetY??c;return b.y+d}).attr("class","wardley-node-label").attr("fill",a=>"evolved"===a.className?j.evolutionStroke:"anchor"===a.className?"#000":j.componentLabelColor).attr("font-size",f.labelFontSize).attr("font-weight",a=>"anchor"===a.className?"bold":"normal").attr("text-anchor",a=>"anchor"===a.className?"middle":"start").attr("dominant-baseline",a=>"anchor"===a.className?"middle":"auto").text(a=>a.label),m.annotations.length>0){let a=r.append("g").attr("class","wardley-annotations");if(m.annotations.forEach(b=>{let c=b.coordinates.map(a=>({x:v(a.x),y:w(a.y)}));if(c.length>1)for(let b=0;b<c.length-1;b++)a.append("line").attr("class","wardley-annotation-line").attr("x1",c[b].x).attr("y1",c[b].y).attr("x2",c[b+1].x).attr("y2",c[b+1].y).attr("stroke",j.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");c.forEach(c=>{let d=a.append("g").attr("class","wardley-annotation");d.append("circle").attr("cx",c.x).attr("cy",c.y).attr("r",10).attr("fill","white").attr("stroke",j.axisColor).attr("stroke-width",1.5),d.append("text").attr("x",c.x).attr("y",c.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",j.axisTextColor).attr("font-weight","bold").text(b.number)})}),m.annotationsBox){let b=v(m.annotationsBox.x),c=w(m.annotationsBox.y),d=a.append("g").attr("class","wardley-annotations-box"),e=[...m.annotations].filter(a=>a.text).sort((a,b)=>a.number-b.number),g=[];if(e.forEach((a,e)=>{let f=d.append("text").attr("x",b+10).attr("y",c+10+(e+1)*16).attr("font-size",11).attr("fill",j.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${a.number}. ${a.text}`);g.push(f)}),g.length>0){let a=0,h=0;g.forEach(b=>{let c=b.node(),d=c.getComputedTextLength();a=Math.max(a,d);let e=c.getBBox();h=Math.max(h,e.height)});let i=a+20+105,k=16*e.length+20+h/2,l=f.padding,m=o-f.padding-i,n=f.padding,q=p-f.padding-k;b=Math.max(l,Math.min(b,m)),c=Math.max(n,Math.min(c,q)),g.forEach((a,d)=>{a.attr("x",b+10).attr("y",c+10+(d+1)*16)}),d.insert("rect","text").attr("x",b).attr("y",c).attr("width",i).attr("height",k).attr("fill","white").attr("stroke",j.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(m.notes.length>0){let a=r.append("g").attr("class","wardley-notes");m.notes.forEach(b=>{let c=v(b.x),d=w(b.y);a.append("text").attr("x",c).attr("y",d).attr("text-anchor","start").attr("font-size",11).attr("fill",j.axisTextColor).attr("font-weight","bold").text(b.text)})}if(m.accelerators.length>0){let a=r.append("g").attr("class","wardley-accelerators");m.accelerators.forEach(b=>{let c=v(b.x),d=w(b.y),e=`
2
+ M ${c} ${d-15}
3
+ L ${c+60-20} ${d-15}
4
+ L ${c+60-20} ${d-15-8}
5
+ L ${c+60} ${d}
6
+ L ${c+60-20} ${d+15+8}
7
+ L ${c+60-20} ${d+15}
8
+ L ${c} ${d+15}
9
+ Z
10
+ `;a.append("path").attr("d",e).attr("fill","white").attr("stroke",j.componentStroke).attr("stroke-width",1),a.append("text").attr("x",c+30).attr("y",d+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",j.axisTextColor).attr("font-weight","bold").text(b.name)})}if(m.deaccelerators.length>0){let a=r.append("g").attr("class","wardley-deaccelerators");m.deaccelerators.forEach(b=>{let c=v(b.x),d=w(b.y),e=`
11
+ M ${c+60} ${d-15}
12
+ L ${c+20} ${d-15}
13
+ L ${c+20} ${d-15-8}
14
+ L ${c} ${d}
15
+ L ${c+20} ${d+15+8}
16
+ L ${c+20} ${d+15}
17
+ L ${c+60} ${d+15}
18
+ Z
19
+ `;a.append("path").attr("d",e).attr("fill","white").attr("stroke",j.componentStroke).attr("stroke-width",1),a.append("text").attr("x",c+30).attr("y",d+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",j.axisTextColor).attr("font-weight","bold").text(b.name)})}},"draw")},styles:(0,i.K)(({wardley:a}={})=>{let b=(0,g.P$)(),c=(0,g.zj)(),d=(0,f.$t)(b,c.themeVariables),e=(0,f.$t)(d.wardley,a);return`
20
+ .wardley-background {
21
+ fill: ${e.backgroundColor};
22
+ }
23
+ .wardley-axes line, .wardley-axes path {
24
+ stroke: ${e.axisColor};
25
+ }
26
+ .wardley-axis-label {
27
+ fill: ${e.axisTextColor};
28
+ }
29
+ .wardley-stage-label {
30
+ fill: ${e.axisTextColor};
31
+ }
32
+ .wardley-grid line {
33
+ stroke: ${e.gridColor};
34
+ }
35
+ .wardley-node circle {
36
+ fill: ${e.componentFill};
37
+ stroke: ${e.componentStroke};
38
+ }
39
+ .wardley-node-label {
40
+ fill: ${e.componentLabelColor};
41
+ }
42
+ .wardley-link {
43
+ stroke: ${e.linkStroke};
44
+ }
45
+ .wardley-link--dashed {
46
+ stroke-dasharray: 4 4;
47
+ }
48
+ .wardley-link-label {
49
+ fill: ${e.axisTextColor};
50
+ }
51
+ .wardley-trend line {
52
+ stroke: ${e.evolutionStroke};
53
+ }
54
+ .wardley-annotation-line {
55
+ stroke: ${e.annotationStroke};
56
+ }
57
+ .wardley-annotation circle {
58
+ fill: ${e.annotationFill};
59
+ stroke: ${e.annotationStroke};
60
+ }
61
+ .wardley-annotation text {
62
+ fill: ${e.annotationTextColor};
63
+ }
64
+ .wardley-annotations-box rect {
65
+ fill: ${e.annotationFill};
66
+ stroke: ${e.annotationStroke};
67
+ }
68
+ .wardley-annotations-box text {
69
+ fill: ${e.annotationTextColor};
70
+ }
71
+ .wardley-pipeline-box {
72
+ stroke: ${e.componentStroke};
73
+ }
74
+ .wardley-notes text {
75
+ fill: ${e.axisTextColor};
76
+ }
77
+ `},"styles")}}};