nextjs-studio 1.0.1 → 1.0.5

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 (236) hide show
  1. package/dist/bin/nextjs-studio.js +6246 -64
  2. package/dist/cli/ui/standalone.tar.gz +0 -0
  3. package/dist/{query-builder-KXz9cPzF.d.ts → query-builder-BOu-D7a1.d.ts} +10 -0
  4. package/package.json +102 -122
  5. package/dist/bin/nextjs-studio.d.ts +0 -1
  6. package/dist/bin/nextjs-studio.js.map +0 -1
  7. package/dist/cli/ui/.next/BUILD_ID +0 -1
  8. package/dist/cli/ui/.next/app-path-routes-manifest.json +0 -12
  9. package/dist/cli/ui/.next/build-manifest.json +0 -20
  10. package/dist/cli/ui/.next/export-marker.json +0 -6
  11. package/dist/cli/ui/.next/images-manifest.json +0 -67
  12. package/dist/cli/ui/.next/next-minimal-server.js.nft.json +0 -1
  13. package/dist/cli/ui/.next/next-server.js.nft.json +0 -1
  14. package/dist/cli/ui/.next/package.json +0 -1
  15. package/dist/cli/ui/.next/prerender-manifest.json +0 -61
  16. package/dist/cli/ui/.next/react-loadable-manifest.json +0 -286
  17. package/dist/cli/ui/.next/required-server-files.js +0 -338
  18. package/dist/cli/ui/.next/required-server-files.json +0 -338
  19. package/dist/cli/ui/.next/routes-manifest.json +0 -125
  20. package/dist/cli/ui/.next/server/app/_global-error/page.js +0 -3
  21. package/dist/cli/ui/.next/server/app/_global-error/page.js.nft.json +0 -1
  22. package/dist/cli/ui/.next/server/app/_global-error/page_client-reference-manifest.js +0 -1
  23. package/dist/cli/ui/.next/server/app/_global-error.html +0 -2
  24. package/dist/cli/ui/.next/server/app/_global-error.meta +0 -16
  25. package/dist/cli/ui/.next/server/app/_global-error.rsc +0 -12
  26. package/dist/cli/ui/.next/server/app/_global-error.segments/_full.segment.rsc +0 -12
  27. package/dist/cli/ui/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +0 -5
  28. package/dist/cli/ui/.next/server/app/_global-error.segments/_global-error.segment.rsc +0 -4
  29. package/dist/cli/ui/.next/server/app/_global-error.segments/_head.segment.rsc +0 -5
  30. package/dist/cli/ui/.next/server/app/_global-error.segments/_index.segment.rsc +0 -4
  31. package/dist/cli/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +0 -1
  32. package/dist/cli/ui/.next/server/app/_not-found/page.js +0 -2
  33. package/dist/cli/ui/.next/server/app/_not-found/page.js.nft.json +0 -1
  34. package/dist/cli/ui/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
  35. package/dist/cli/ui/.next/server/app/_not-found.html +0 -1
  36. package/dist/cli/ui/.next/server/app/_not-found.meta +0 -16
  37. package/dist/cli/ui/.next/server/app/_not-found.rsc +0 -15
  38. package/dist/cli/ui/.next/server/app/_not-found.segments/_full.segment.rsc +0 -15
  39. package/dist/cli/ui/.next/server/app/_not-found.segments/_head.segment.rsc +0 -5
  40. package/dist/cli/ui/.next/server/app/_not-found.segments/_index.segment.rsc +0 -7
  41. package/dist/cli/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +0 -5
  42. package/dist/cli/ui/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -4
  43. package/dist/cli/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +0 -2
  44. package/dist/cli/ui/.next/server/app/api/media/[collection]/[filename]/route.js +0 -1
  45. package/dist/cli/ui/.next/server/app/api/media/[collection]/[filename]/route.js.nft.json +0 -1
  46. package/dist/cli/ui/.next/server/app/api/media/[collection]/[filename]/route_client-reference-manifest.js +0 -1
  47. package/dist/cli/ui/.next/server/app/api/media/[collection]/route.js +0 -1
  48. package/dist/cli/ui/.next/server/app/api/media/[collection]/route.js.nft.json +0 -1
  49. package/dist/cli/ui/.next/server/app/api/media/[collection]/route_client-reference-manifest.js +0 -1
  50. package/dist/cli/ui/.next/server/app/api/public/[...path]/route.js +0 -1
  51. package/dist/cli/ui/.next/server/app/api/public/[...path]/route.js.nft.json +0 -1
  52. package/dist/cli/ui/.next/server/app/api/public/[...path]/route_client-reference-manifest.js +0 -1
  53. package/dist/cli/ui/.next/server/app/api/sync/[collection]/route.js +0 -1
  54. package/dist/cli/ui/.next/server/app/api/sync/[collection]/route.js.nft.json +0 -1
  55. package/dist/cli/ui/.next/server/app/api/sync/[collection]/route_client-reference-manifest.js +0 -1
  56. package/dist/cli/ui/.next/server/app/api/watch/route.js +0 -3
  57. package/dist/cli/ui/.next/server/app/api/watch/route.js.nft.json +0 -1
  58. package/dist/cli/ui/.next/server/app/api/watch/route_client-reference-manifest.js +0 -1
  59. package/dist/cli/ui/.next/server/app/collection/[name]/[slug]/page.js +0 -99
  60. package/dist/cli/ui/.next/server/app/collection/[name]/[slug]/page.js.nft.json +0 -1
  61. package/dist/cli/ui/.next/server/app/collection/[name]/[slug]/page_client-reference-manifest.js +0 -1
  62. package/dist/cli/ui/.next/server/app/collection/[name]/page.js +0 -5
  63. package/dist/cli/ui/.next/server/app/collection/[name]/page.js.nft.json +0 -1
  64. package/dist/cli/ui/.next/server/app/collection/[name]/page_client-reference-manifest.js +0 -1
  65. package/dist/cli/ui/.next/server/app/page.js +0 -2
  66. package/dist/cli/ui/.next/server/app/page.js.nft.json +0 -1
  67. package/dist/cli/ui/.next/server/app/page_client-reference-manifest.js +0 -1
  68. package/dist/cli/ui/.next/server/app-paths-manifest.json +0 -12
  69. package/dist/cli/ui/.next/server/chunks/1875.js +0 -1
  70. package/dist/cli/ui/.next/server/chunks/2198.js +0 -1
  71. package/dist/cli/ui/.next/server/chunks/2446.js +0 -36
  72. package/dist/cli/ui/.next/server/chunks/2474.js +0 -148
  73. package/dist/cli/ui/.next/server/chunks/2490.js +0 -55
  74. package/dist/cli/ui/.next/server/chunks/2717.js +0 -56
  75. package/dist/cli/ui/.next/server/chunks/2729.js +0 -166
  76. package/dist/cli/ui/.next/server/chunks/2774.js +0 -1
  77. package/dist/cli/ui/.next/server/chunks/2796.js +0 -1
  78. package/dist/cli/ui/.next/server/chunks/3145.js +0 -1
  79. package/dist/cli/ui/.next/server/chunks/3186.js +0 -1
  80. package/dist/cli/ui/.next/server/chunks/3494.js +0 -24
  81. package/dist/cli/ui/.next/server/chunks/3610.js +0 -1
  82. package/dist/cli/ui/.next/server/chunks/3659.js +0 -93
  83. package/dist/cli/ui/.next/server/chunks/3744.js +0 -1
  84. package/dist/cli/ui/.next/server/chunks/3806.js +0 -136
  85. package/dist/cli/ui/.next/server/chunks/408.js +0 -1
  86. package/dist/cli/ui/.next/server/chunks/4189.js +0 -62
  87. package/dist/cli/ui/.next/server/chunks/4293.js +0 -1
  88. package/dist/cli/ui/.next/server/chunks/4469.js +0 -4
  89. package/dist/cli/ui/.next/server/chunks/4484.js +0 -1
  90. package/dist/cli/ui/.next/server/chunks/449.js +0 -82
  91. package/dist/cli/ui/.next/server/chunks/4607.js +0 -22
  92. package/dist/cli/ui/.next/server/chunks/479.js +0 -5
  93. package/dist/cli/ui/.next/server/chunks/4931.js +0 -63
  94. package/dist/cli/ui/.next/server/chunks/528.js +0 -1
  95. package/dist/cli/ui/.next/server/chunks/5341.js +0 -1
  96. package/dist/cli/ui/.next/server/chunks/5585.js +0 -29
  97. package/dist/cli/ui/.next/server/chunks/5677.js +0 -1
  98. package/dist/cli/ui/.next/server/chunks/5724.js +0 -1
  99. package/dist/cli/ui/.next/server/chunks/5760.js +0 -174
  100. package/dist/cli/ui/.next/server/chunks/5784.js +0 -24
  101. package/dist/cli/ui/.next/server/chunks/6.js +0 -262
  102. package/dist/cli/ui/.next/server/chunks/6040.js +0 -1
  103. package/dist/cli/ui/.next/server/chunks/6067.js +0 -13
  104. package/dist/cli/ui/.next/server/chunks/6553.js +0 -1
  105. package/dist/cli/ui/.next/server/chunks/6656.js +0 -201
  106. package/dist/cli/ui/.next/server/chunks/6672.js +0 -1
  107. package/dist/cli/ui/.next/server/chunks/6872.js +0 -1
  108. package/dist/cli/ui/.next/server/chunks/7146.js +0 -59
  109. package/dist/cli/ui/.next/server/chunks/7354.js +0 -1
  110. package/dist/cli/ui/.next/server/chunks/7677.js +0 -1
  111. package/dist/cli/ui/.next/server/chunks/7781.js +0 -1
  112. package/dist/cli/ui/.next/server/chunks/8194.js +0 -215
  113. package/dist/cli/ui/.next/server/chunks/8231.js +0 -1
  114. package/dist/cli/ui/.next/server/chunks/8319.js +0 -2
  115. package/dist/cli/ui/.next/server/chunks/8339.js +0 -1
  116. package/dist/cli/ui/.next/server/chunks/8775.js +0 -1
  117. package/dist/cli/ui/.next/server/chunks/9503.js +0 -43
  118. package/dist/cli/ui/.next/server/chunks/958.js +0 -131
  119. package/dist/cli/ui/.next/server/chunks/9739.js +0 -1
  120. package/dist/cli/ui/.next/server/functions-config-manifest.json +0 -4
  121. package/dist/cli/ui/.next/server/interception-route-rewrite-manifest.js +0 -1
  122. package/dist/cli/ui/.next/server/middleware-build-manifest.js +0 -1
  123. package/dist/cli/ui/.next/server/middleware-manifest.json +0 -6
  124. package/dist/cli/ui/.next/server/middleware-react-loadable-manifest.js +0 -1
  125. package/dist/cli/ui/.next/server/next-font-manifest.js +0 -1
  126. package/dist/cli/ui/.next/server/next-font-manifest.json +0 -1
  127. package/dist/cli/ui/.next/server/pages/404.html +0 -1
  128. package/dist/cli/ui/.next/server/pages/500.html +0 -2
  129. package/dist/cli/ui/.next/server/pages-manifest.json +0 -4
  130. package/dist/cli/ui/.next/server/server-reference-manifest.js +0 -1
  131. package/dist/cli/ui/.next/server/server-reference-manifest.json +0 -1
  132. package/dist/cli/ui/.next/server/webpack-runtime.js +0 -1
  133. package/dist/cli/ui/.next/static/chunks/0937d497-2b220e2d0368e918.js +0 -1
  134. package/dist/cli/ui/.next/static/chunks/1013.5541c1c75688ef6e.js +0 -1
  135. package/dist/cli/ui/.next/static/chunks/1039.d26ef6a818f26d70.js +0 -4
  136. package/dist/cli/ui/.next/static/chunks/1325.cb67348b484ce7a0.js +0 -24
  137. package/dist/cli/ui/.next/static/chunks/1858-d10f8bead2218ad2.js +0 -2
  138. package/dist/cli/ui/.next/static/chunks/1882.05c68ab6bdcd8c31.js +0 -1
  139. package/dist/cli/ui/.next/static/chunks/2011.7e73842f1e8e2cde.js +0 -1
  140. package/dist/cli/ui/.next/static/chunks/2046.73486ea936c9afd2.js +0 -1
  141. package/dist/cli/ui/.next/static/chunks/2389.b73d3a1286a228d0.js +0 -1
  142. package/dist/cli/ui/.next/static/chunks/2430.08df5899978ebf26.js +0 -43
  143. package/dist/cli/ui/.next/static/chunks/2462-4255d8f51dc56f12.js +0 -1
  144. package/dist/cli/ui/.next/static/chunks/3098-4269da0468edc350.js +0 -1
  145. package/dist/cli/ui/.next/static/chunks/317.b4fcc40f219152b1.js +0 -1
  146. package/dist/cli/ui/.next/static/chunks/3197.d2f3398e552228e4.js +0 -1
  147. package/dist/cli/ui/.next/static/chunks/3212-1a9c9d110d15abab.js +0 -4
  148. package/dist/cli/ui/.next/static/chunks/3809.8df186de2ff997f8.js +0 -1
  149. package/dist/cli/ui/.next/static/chunks/3918.caaf4eb4f6450524.js +0 -1
  150. package/dist/cli/ui/.next/static/chunks/3987-6d3217e36ae5b4dc.js +0 -1
  151. package/dist/cli/ui/.next/static/chunks/3c774391-ec08594272867fd5.js +0 -79
  152. package/dist/cli/ui/.next/static/chunks/4075052f.9006147a6182ed95.js +0 -1
  153. package/dist/cli/ui/.next/static/chunks/4389.e7a3c58aa62118e3.js +0 -82
  154. package/dist/cli/ui/.next/static/chunks/46bdbe0e-f5103600b23143b8.js +0 -1
  155. package/dist/cli/ui/.next/static/chunks/4860.2ba51d1d81857c81.js +0 -1
  156. package/dist/cli/ui/.next/static/chunks/4882.794e2a9231f129e5.js +0 -55
  157. package/dist/cli/ui/.next/static/chunks/5149.8de9918b9ace58f5.js +0 -166
  158. package/dist/cli/ui/.next/static/chunks/5230.b7c87400f0d8516f.js +0 -215
  159. package/dist/cli/ui/.next/static/chunks/5263.7adc3ade53cd4ed3.js +0 -24
  160. package/dist/cli/ui/.next/static/chunks/5313.1dfcc2126f85a8f8.js +0 -1
  161. package/dist/cli/ui/.next/static/chunks/5350-17c792e27bf38c77.js +0 -1
  162. package/dist/cli/ui/.next/static/chunks/5638.e3a2119354708654.js +0 -1
  163. package/dist/cli/ui/.next/static/chunks/5758.33b45c6c407ecd94.js +0 -1
  164. package/dist/cli/ui/.next/static/chunks/589.019158de5d02c262.js +0 -1
  165. package/dist/cli/ui/.next/static/chunks/6013.e33e73569339afee.js +0 -62
  166. package/dist/cli/ui/.next/static/chunks/6084.7511ad4ebb4f9df5.js +0 -1
  167. package/dist/cli/ui/.next/static/chunks/612.d3aeebcaaaf06fb2.js +0 -1
  168. package/dist/cli/ui/.next/static/chunks/6239.6c0cd99ea36222b6.js +0 -5
  169. package/dist/cli/ui/.next/static/chunks/6299-79a74877b87acf9f.js +0 -1
  170. package/dist/cli/ui/.next/static/chunks/6484.d38aa531768c3452.js +0 -148
  171. package/dist/cli/ui/.next/static/chunks/6505.731f74c28b8980b3.js +0 -1
  172. package/dist/cli/ui/.next/static/chunks/6584.be94a55391bcdcce.js +0 -262
  173. package/dist/cli/ui/.next/static/chunks/6800.1066ad1f5add7c75.js +0 -1
  174. package/dist/cli/ui/.next/static/chunks/7052.89e2de773d10ac20.js +0 -131
  175. package/dist/cli/ui/.next/static/chunks/7127.360abfa43dc4427e.js +0 -36
  176. package/dist/cli/ui/.next/static/chunks/7430.2b247d9ac6ef694c.js +0 -149
  177. package/dist/cli/ui/.next/static/chunks/7444.66c4d6bbc19309b3.js +0 -59
  178. package/dist/cli/ui/.next/static/chunks/7546.4cb4db4685212384.js +0 -63
  179. package/dist/cli/ui/.next/static/chunks/7564.7b9271fcf06df80c.js +0 -29
  180. package/dist/cli/ui/.next/static/chunks/7664.8268c156d8988844.js +0 -174
  181. package/dist/cli/ui/.next/static/chunks/7722-04e64cc1b26cfa65.js +0 -1
  182. package/dist/cli/ui/.next/static/chunks/8701.3995b58a75e43147.js +0 -56
  183. package/dist/cli/ui/.next/static/chunks/8800.548c3da26cfebf06.js +0 -1
  184. package/dist/cli/ui/.next/static/chunks/8814-7b64110c79ce7209.js +0 -15
  185. package/dist/cli/ui/.next/static/chunks/9058.a195d15265251194.js +0 -1
  186. package/dist/cli/ui/.next/static/chunks/9211.91144a0d23e4cf6d.js +0 -1
  187. package/dist/cli/ui/.next/static/chunks/9690.c1f08c02a675b9ce.js +0 -1
  188. package/dist/cli/ui/.next/static/chunks/9919.1ccc9ca4a749d9b7.js +0 -93
  189. package/dist/cli/ui/.next/static/chunks/app/_global-error/page-ad53913b77389472.js +0 -1
  190. package/dist/cli/ui/.next/static/chunks/app/_not-found/page-202c1e16a4b86ac8.js +0 -1
  191. package/dist/cli/ui/.next/static/chunks/app/api/media/[collection]/[filename]/route-ad53913b77389472.js +0 -1
  192. package/dist/cli/ui/.next/static/chunks/app/api/media/[collection]/route-ad53913b77389472.js +0 -1
  193. package/dist/cli/ui/.next/static/chunks/app/api/public/[...path]/route-ad53913b77389472.js +0 -1
  194. package/dist/cli/ui/.next/static/chunks/app/api/sync/[collection]/route-ad53913b77389472.js +0 -1
  195. package/dist/cli/ui/.next/static/chunks/app/api/watch/route-ad53913b77389472.js +0 -1
  196. package/dist/cli/ui/.next/static/chunks/app/collection/[name]/[slug]/page-7ea9eff252374845.js +0 -6
  197. package/dist/cli/ui/.next/static/chunks/app/collection/[name]/loading-03fc0b653e7060ae.js +0 -1
  198. package/dist/cli/ui/.next/static/chunks/app/collection/[name]/page-ad5976bebc9820cf.js +0 -1
  199. package/dist/cli/ui/.next/static/chunks/app/layout-74cd2ebe3fac00e7.js +0 -1
  200. package/dist/cli/ui/.next/static/chunks/app/page-ed5acadf20146966.js +0 -1
  201. package/dist/cli/ui/.next/static/chunks/b1767599.6a816b06e55b02a1.js +0 -1
  202. package/dist/cli/ui/.next/static/chunks/c6164070.3b9741bce302db0f.js +0 -136
  203. package/dist/cli/ui/.next/static/chunks/fb2ceba8.7fc23e46ca00cfd1.js +0 -53
  204. package/dist/cli/ui/.next/static/chunks/framework-ada624c9bf38edc6.js +0 -1
  205. package/dist/cli/ui/.next/static/chunks/main-0513ff42a7f2e1a0.js +0 -5
  206. package/dist/cli/ui/.next/static/chunks/main-app-b8d23dfb755744e8.js +0 -1
  207. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/app-error-ad53913b77389472.js +0 -1
  208. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/forbidden-ad53913b77389472.js +0 -1
  209. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/global-error-558ee1074f45044b.js +0 -1
  210. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/not-found-ad53913b77389472.js +0 -1
  211. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/unauthorized-ad53913b77389472.js +0 -1
  212. package/dist/cli/ui/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
  213. package/dist/cli/ui/.next/static/chunks/webpack-acb903cd88aafa6f.js +0 -1
  214. package/dist/cli/ui/.next/static/css/e143949aa3f17880.css +0 -3
  215. package/dist/cli/ui/.next/static/media/034d78ad42e9620c-s.woff2 +0 -0
  216. package/dist/cli/ui/.next/static/media/0484562807a97172-s.p.woff2 +0 -0
  217. package/dist/cli/ui/.next/static/media/29a4aea02fdee119-s.woff2 +0 -0
  218. package/dist/cli/ui/.next/static/media/29e7bbdce9332268-s.woff2 +0 -0
  219. package/dist/cli/ui/.next/static/media/4c285fdca692ea22-s.p.woff2 +0 -0
  220. package/dist/cli/ui/.next/static/media/6c177e25b87fd9cd-s.woff2 +0 -0
  221. package/dist/cli/ui/.next/static/media/6c9a125e97d835e1-s.woff2 +0 -0
  222. package/dist/cli/ui/.next/static/media/8888a3826f4a3af4-s.p.woff2 +0 -0
  223. package/dist/cli/ui/.next/static/media/a1386beebedccca4-s.woff2 +0 -0
  224. package/dist/cli/ui/.next/static/media/b957ea75a84b6ea7-s.p.woff2 +0 -0
  225. package/dist/cli/ui/.next/static/media/c3bc380753a8436c-s.woff2 +0 -0
  226. package/dist/cli/ui/.next/static/media/db911767852bc875-s.woff2 +0 -0
  227. package/dist/cli/ui/.next/static/media/eafabf029ad39a43-s.p.woff2 +0 -0
  228. package/dist/cli/ui/.next/static/media/f10b8e9d91f3edcb-s.woff2 +0 -0
  229. package/dist/cli/ui/.next/static/media/fe0777f1195381cb-s.woff2 +0 -0
  230. package/dist/cli/ui/.next/static/zkOuvkSWApTVHCrj7neNk/_buildManifest.js +0 -1
  231. package/dist/cli/ui/.next/static/zkOuvkSWApTVHCrj7neNk/_ssgManifest.js +0 -1
  232. package/dist/core/index.d.ts +0 -117
  233. package/dist/core/index.js.map +0 -1
  234. package/dist/core/server.d.ts +0 -135
  235. package/dist/core/server.js +0 -707
  236. package/dist/core/server.js.map +0 -1
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6239],{41833:(t,e,a)=>{a.d(e,{CP:()=>d,HT:()=>p,PB:()=>u,aC:()=>h,lC:()=>l,m:()=>o,tk:()=>r});var n=a(66638),i=a(3447),s=a(2487),r=(0,i.K2)((t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),e.rx&&a.attr("rx",e.rx),e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return e.class&&a.attr("class",e.class),a},"drawRect"),l=(0,i.K2)((t,e)=>{r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),o=(0,i.K2)((t,e)=>{let a=e.text.replace(n.H1," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),e.class&&i.attr("class",e.class);let s=i.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(a),i},"drawText"),h=(0,i.K2)((t,e,a,n)=>{let i=t.append("image");i.attr("x",e),i.attr("y",a);let r=(0,s.J)(n);i.attr("xlink:href",r)},"drawImage"),d=(0,i.K2)((t,e,a,n)=>{let i=t.append("use");i.attr("x",e),i.attr("y",a);let r=(0,s.J)(n);i.attr("xlink:href",`#${r}`)},"drawEmbeddedImage"),u=(0,i.K2)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=(0,i.K2)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},56239:(t,e,a)=>{a.d(e,{diagram:()=>tv});var n,i=a(41833),s=a(24192),r=a(66638),l=a(3447),o=a(19859),h=a(2487),d=function(){var t=(0,l.K2)(function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},"o"),e=[1,24],a=[1,25],n=[1,26],i=[1,27],s=[1,28],r=[1,63],o=[1,64],h=[1,65],d=[1,66],u=[1,67],p=[1,68],y=[1,69],b=[1,29],g=[1,30],f=[1,31],x=[1,32],_=[1,33],m=[1,34],E=[1,35],S=[1,36],A=[1,37],C=[1,38],k=[1,39],O=[1,40],w=[1,41],T=[1,42],v=[1,43],R=[1,44],D=[1,45],N=[1,46],P=[1,47],B=[1,48],M=[1,50],j=[1,51],K=[1,52],L=[1,53],Y=[1,54],I=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],W=[1,60],Q=[14,42],$=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[1,82],H=[1,83],G=[1,84],J=[1,85],Z=[12,14,42],tt=[12,14,33,42],te=[12,14,33,42,76,77,79,80],ta=[12,33],tn=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],ti={trace:(0,l.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:(0,l.K2)(function(t,e,a,n,i,s,r){var l=s.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(s[l-3]);break;case 19:n.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 20:n.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 21:this.$=s[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=s[l].trim(),n.setAccDescription(this.$);break;case 28:s[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 29:s[l].splice(2,0,"SYSTEM"),n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 30:n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 31:s[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...s[l]),this.$=s[l];break;case 32:n.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 33:n.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 34:n.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 40:n.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 41:n.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 42:n.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 43:n.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 44:n.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 45:n.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 46:n.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 47:n.addContainer("container",...s[l]),this.$=s[l];break;case 48:n.addContainer("container_db",...s[l]),this.$=s[l];break;case 49:n.addContainer("container_queue",...s[l]),this.$=s[l];break;case 50:n.addContainer("external_container",...s[l]),this.$=s[l];break;case 51:n.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 52:n.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 53:n.addComponent("component",...s[l]),this.$=s[l];break;case 54:n.addComponent("component_db",...s[l]),this.$=s[l];break;case 55:n.addComponent("component_queue",...s[l]),this.$=s[l];break;case 56:n.addComponent("external_component",...s[l]),this.$=s[l];break;case 57:n.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 58:n.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 60:n.addRel("rel",...s[l]),this.$=s[l];break;case 61:n.addRel("birel",...s[l]),this.$=s[l];break;case 62:n.addRel("rel_u",...s[l]),this.$=s[l];break;case 63:n.addRel("rel_d",...s[l]),this.$=s[l];break;case 64:n.addRel("rel_l",...s[l]),this.$=s[l];break;case 65:n.addRel("rel_r",...s[l]),this.$=s[l];break;case 66:n.addRel("rel_b",...s[l]),this.$=s[l];break;case 67:s[l].splice(0,1),n.addRel("rel",...s[l]),this.$=s[l];break;case 68:n.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 69:n.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 70:n.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 71:this.$=[s[l]];break;case 72:s[l].unshift(s[l-1]),this.$=s[l];break;case 73:case 75:this.$=s[l].trim();break;case 74:let o={};o[s[l-1].trim()]=s[l].trim(),this.$=o;break;case 76:this.$=""}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{14:[1,74]},t(Q,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:o,37:h,38:d,39:u,40:p,41:y,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W}),t(Q,[2,14]),t($,[2,16],{12:[1,76]}),t(Q,[2,36],{12:[1,77]}),t(V,[2,19]),t(V,[2,20]),{25:[1,78]},{27:[1,79]},t(V,[2,23]),{35:80,75:81,76:q,77:H,79:G,80:J},{35:86,75:81,76:q,77:H,79:G,80:J},{35:87,75:81,76:q,77:H,79:G,80:J},{35:88,75:81,76:q,77:H,79:G,80:J},{35:89,75:81,76:q,77:H,79:G,80:J},{35:90,75:81,76:q,77:H,79:G,80:J},{35:91,75:81,76:q,77:H,79:G,80:J},{35:92,75:81,76:q,77:H,79:G,80:J},{35:93,75:81,76:q,77:H,79:G,80:J},{35:94,75:81,76:q,77:H,79:G,80:J},{35:95,75:81,76:q,77:H,79:G,80:J},{35:96,75:81,76:q,77:H,79:G,80:J},{35:97,75:81,76:q,77:H,79:G,80:J},{35:98,75:81,76:q,77:H,79:G,80:J},{35:99,75:81,76:q,77:H,79:G,80:J},{35:100,75:81,76:q,77:H,79:G,80:J},{35:101,75:81,76:q,77:H,79:G,80:J},{35:102,75:81,76:q,77:H,79:G,80:J},{35:103,75:81,76:q,77:H,79:G,80:J},{35:104,75:81,76:q,77:H,79:G,80:J},t(Z,[2,59]),{35:105,75:81,76:q,77:H,79:G,80:J},{35:106,75:81,76:q,77:H,79:G,80:J},{35:107,75:81,76:q,77:H,79:G,80:J},{35:108,75:81,76:q,77:H,79:G,80:J},{35:109,75:81,76:q,77:H,79:G,80:J},{35:110,75:81,76:q,77:H,79:G,80:J},{35:111,75:81,76:q,77:H,79:G,80:J},{35:112,75:81,76:q,77:H,79:G,80:J},{35:113,75:81,76:q,77:H,79:G,80:J},{35:114,75:81,76:q,77:H,79:G,80:J},{35:115,75:81,76:q,77:H,79:G,80:J},{20:116,29:49,30:61,32:62,34:r,36:o,37:h,38:d,39:u,40:p,41:y,43:23,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{12:[1,118],33:[1,117]},{35:119,75:81,76:q,77:H,79:G,80:J},{35:120,75:81,76:q,77:H,79:G,80:J},{35:121,75:81,76:q,77:H,79:G,80:J},{35:122,75:81,76:q,77:H,79:G,80:J},{35:123,75:81,76:q,77:H,79:G,80:J},{35:124,75:81,76:q,77:H,79:G,80:J},{35:125,75:81,76:q,77:H,79:G,80:J},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Q,[2,15]),t($,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:s}),t(Q,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:s,34:r,36:o,37:h,38:d,39:u,40:p,41:y,44:b,45:g,46:f,47:x,48:_,49:m,50:E,51:S,52:A,53:C,54:k,55:O,56:w,57:T,58:v,59:R,60:D,61:N,62:P,63:B,64:M,65:j,66:K,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W}),t(V,[2,21]),t(V,[2,22]),t(Z,[2,39]),t(tt,[2,71],{75:81,35:132,76:q,77:H,79:G,80:J}),t(te,[2,73]),{78:[1,133]},t(te,[2,75]),t(te,[2,76]),t(Z,[2,40]),t(Z,[2,41]),t(Z,[2,42]),t(Z,[2,43]),t(Z,[2,44]),t(Z,[2,45]),t(Z,[2,46]),t(Z,[2,47]),t(Z,[2,48]),t(Z,[2,49]),t(Z,[2,50]),t(Z,[2,51]),t(Z,[2,52]),t(Z,[2,53]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),t(Z,[2,57]),t(Z,[2,58]),t(Z,[2,60]),t(Z,[2,61]),t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,64]),t(Z,[2,65]),t(Z,[2,66]),t(Z,[2,67]),t(Z,[2,68]),t(Z,[2,69]),t(Z,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(ta,[2,28]),t(ta,[2,29]),t(ta,[2,30]),t(ta,[2,31]),t(ta,[2,32]),t(ta,[2,33]),t(ta,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t($,[2,18]),t(Q,[2,38]),t(tt,[2,72]),t(te,[2,74]),t(Z,[2,24]),t(Z,[2,35]),t(tn,[2,25]),t(tn,[2,26],{12:[1,138]}),t(tn,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:(0,l.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,l.K2)(function(t){var e=this,a=[0],n=[],i=[null],s=[],r=this.table,o="",h=0,d=0,u=0,p=s.slice.call(arguments,1),y=Object.create(this.lexer),b={};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(b[g]=this.yy[g]);y.setInput(t,b),b.lexer=y,b.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;s.push(f);var x=y.options&&y.options.ranges;function _(){var t;return"number"!=typeof(t=n.pop()||y.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof b.parseError?this.parseError=b.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K2)(function(t){a.length=a.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,l.K2)(_,"lex");for(var m,E,S,A,C,k,O,w,T,v={};;){if(S=a[a.length-1],this.defaultActions[S]?A=this.defaultActions[S]:(null==m&&(m=_()),A=r[S]&&r[S][m]),void 0===A||!A.length||!A[0]){var R="";for(k in T=[],r[S])this.terminals_[k]&&k>2&&T.push("'"+this.terminals_[k]+"'");R=y.showPosition?"Parse error on line "+(h+1)+":\n"+y.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(R,{text:y.match,token:this.terminals_[m]||m,line:y.yylineno,loc:f,expected:T})}if(A[0]instanceof Array&&A.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+m);switch(A[0]){case 1:a.push(m),i.push(y.yytext),s.push(y.yylloc),a.push(A[1]),m=null,E?(m=E,E=null):(d=y.yyleng,o=y.yytext,h=y.yylineno,f=y.yylloc,u>0&&u--);break;case 2:if(O=this.productions_[A[1]][1],v.$=i[i.length-O],v._$={first_line:s[s.length-(O||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(O||1)].first_column,last_column:s[s.length-1].last_column},x&&(v._$.range=[s[s.length-(O||1)].range[0],s[s.length-1].range[1]]),void 0!==(C=this.performAction.apply(v,[o,d,h,b,A[1],i,s].concat(p))))return C;O&&(a=a.slice(0,-1*O*2),i=i.slice(0,-1*O),s=s.slice(0,-1*O)),a.push(this.productions_[A[1]][0]),i.push(v.$),s.push(v._$),w=r[a[a.length-2]][a[a.length-1]],a.push(w);break;case 3:return!0}}return!0},"parse")};function ts(){this.yy={}}return ti.lexer={EOF:1,parseError:(0,l.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.K2)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,l.K2)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=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),a.length-1&&(this.yylineno-=a.length-1);var i=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:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K2)(function(){return this._more=!0,this},"more"),reject:(0,l.K2)(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.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.K2)(function(t,e){var a,n,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,l.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,a,n,i=this._currentRules(),s=0;s<i.length;s++)if((a=this._input.match(this.rules[i[s]]))&&(!e||a[0].length>e[0].length)){if(e=a,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===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.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.K2)(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.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.K2)(function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}},(0,l.K2)(ts,"Parser"),ts.prototype=ti,ti.Parser=ts,new ts}();d.parser=d;var u=[],p=[""],y="global",b="",g=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],x="",_=!1,m=4,E=2,S=(0,l.K2)(function(){return n},"getC4Type"),A=(0,l.K2)(function(t){n=(0,r.jZ)(t,(0,r.D7)())},"setC4Type"),C=(0,l.K2)(function(t,e,a,n,i,s,r,l,o){if(null==t||null==e||null==a||null==n)return;let h={},d=f.find(t=>t.from===e&&t.to===a);if(d?h=d:f.push(h),h.type=t,h.from=e,h.to=a,h.label={text:n},null==i)h.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]={text:e}}else h.techn={text:i};if(null==s)h.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]={text:e}}else h.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]=e}else h.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.link=o;h.wrap=Q()},"addRel"),k=(0,l.K2)(function(t,e,a,n,i,s,r){if(null===e||null===a)return;let l={},o=u.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,u.push(l)),null==a?l.label={text:""}:l.label={text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=y,l.wrap=Q()},"addPersonOrSystem"),O=(0,l.K2)(function(t,e,a,n,i,s,r,l){if(null===e||null===a)return;let o={},h=u.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,u.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=y},"addContainer"),w=(0,l.K2)(function(t,e,a,n,i,s,r,l){if(null===e||null===a)return;let o={},h=u.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,u.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=Q(),o.typeC4Shape={text:t},o.parentBoundary=y},"addComponent"),T=(0,l.K2)(function(t,e,a,n,i){if(null===t||null===e)return;let s={},r=g.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,g.push(s)),null==e?s.label={text:""}:s.label={text:e},null==a)s.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]={text:e}}else s.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=y,s.wrap=Q(),b=y,y=t,p.push(b)},"addPersonOrSystemBoundary"),v=(0,l.K2)(function(t,e,a,n,i){if(null===t||null===e)return;let s={},r=g.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,g.push(s)),null==e?s.label={text:""}:s.label={text:e},null==a)s.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]={text:e}}else s.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=y,s.wrap=Q(),b=y,y=t,p.push(b)},"addContainerBoundary"),R=(0,l.K2)(function(t,e,a,n,i,s,r,l){if(null===e||null===a)return;let o={},h=g.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,g.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=y,o.wrap=Q(),b=y,y=e,p.push(b)},"addDeploymentNode"),D=(0,l.K2)(function(){y=b,p.pop(),b=p.pop(),p.push(b)},"popBoundaryParseStack"),N=(0,l.K2)(function(t,e,a,n,i,s,r,l,o,h,d){let p=u.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=g.find(t=>t.alias===e))){if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.bgColor=a;if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.fontColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];p[t]=e}else p.legendText=h;if(null!=d)if("object"==typeof d){let[t,e]=Object.entries(d)[0];p[t]=e}else p.legendSprite=d}},"updateElStyle"),P=(0,l.K2)(function(t,e,a,n,i,s,r){let l=f.find(t=>t.from===e&&t.to===a);if(void 0!==l){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},"updateRelStyle"),B=(0,l.K2)(function(t,e,a){let n=m,i=E;n="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),i="object"==typeof a?parseInt(Object.values(a)[0]):parseInt(a),n>=1&&(m=n),i>=1&&(E=i)},"updateLayoutConfig"),M=(0,l.K2)(function(){return m},"getC4ShapeInRow"),j=(0,l.K2)(function(){return E},"getC4BoundaryInRow"),K=(0,l.K2)(function(){return y},"getCurrentBoundaryParse"),L=(0,l.K2)(function(){return b},"getParentBoundaryParse"),Y=(0,l.K2)(function(t){return null==t?u:u.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),I=(0,l.K2)(function(t){return u.find(e=>e.alias===t)},"getC4Shape"),U=(0,l.K2)(function(t){return Object.keys(Y(t))},"getC4ShapeKeys"),F=(0,l.K2)(function(t){return null==t?g:g.filter(e=>e.parentBoundary===t)},"getBoundaries"),X=(0,l.K2)(function(){return f},"getRels"),z=(0,l.K2)(function(){return x},"getTitle"),W=(0,l.K2)(function(t){_=t},"setWrap"),Q=(0,l.K2)(function(){return _},"autoWrap"),$=(0,l.K2)(function(){u=[],g=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],b="",y="global",p=[""],f=[],p=[""],x="",_=!1,m=4,E=2},"clear"),V=(0,l.K2)(function(t){x=(0,r.jZ)(t,(0,r.D7)())},"setTitle"),q={addPersonOrSystem:k,addPersonOrSystemBoundary:T,addContainer:O,addContainerBoundary:v,addComponent:w,addDeploymentNode:R,popBoundaryParseStack:D,addRel:C,updateElStyle:N,updateRelStyle:P,updateLayoutConfig:B,autoWrap:Q,setWrap:W,getC4ShapeArray:Y,getC4Shape:I,getC4ShapeKeys:U,getBoundaries:F,getBoundarys:F,getCurrentBoundaryParse:K,getParentBoundaryParse:L,getRels:X,getTitle:z,getC4Type:S,getC4ShapeInRow:M,getC4BoundaryInRow:j,setAccTitle:r.SV,getAccTitle:r.iN,getAccDescription:r.m7,setAccDescription:r.EI,getConfig:(0,l.K2)(()=>(0,r.D7)().c4,"getConfig"),clear:$,LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:V,setC4Type:A},H=(0,l.K2)(function(t,e){return(0,i.tk)(t,e)},"drawRect"),G=(0,l.K2)(function(t,e,a,n,i,s){let r=t.append("image");r.attr("width",e),r.attr("height",a),r.attr("x",n),r.attr("y",i);let l=s.startsWith("data:image/png;base64")?s:(0,h.J)(s);r.attr("xlink:href",l)},"drawImage"),J=(0,l.K2)((t,e,a)=>{let n=t.append("g"),i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0;if(0===i){let e=n.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)"),i=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)")}let o=a.messageFont();tc(a)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},o),t.techn&&""!==t.techn.text&&(o=a.messageFont(),tc(a)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},o))}},"drawRels"),Z=(0,l.K2)(function(t,e,a){let n=t.append("g"),i=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1}),H(n,{x:e.x,y:e.y,fill:i,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l});let o=a.boundaryFont();o.fontWeight="bold",o.fontSize=o.fontSize+2,o.fontColor=r,tc(a)(e.label.text,n,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},o),e.type&&""!==e.type.text&&((o=a.boundaryFont()).fontColor=r,tc(a)(e.type.text,n,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},o)),e.descr&&""!==e.descr.text&&((o=a.boundaryFont()).fontSize=o.fontSize-2,o.fontColor=r,tc(a)(e.descr.text,n,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},o))},"drawBoundary"),tt=(0,l.K2)(function(t,e,a){let n=e.bgColor?e.bgColor:a[e.typeC4Shape.text+"_bg_color"],s=e.borderColor?e.borderColor:a[e.typeC4Shape.text+"_border_color"],r=e.fontColor?e.fontColor:"#FFFFFF",l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}let o=t.append("g");o.attr("class","person-man");let h=(0,i.PB)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=e.x,h.y=e.y,h.fill=n,h.width=e.width,h.height=e.height,h.stroke=s,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},H(o,h);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":o.append("path").attr("fill",n).attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),o.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":o.append("path").attr("fill",n).attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),o.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2))}let d=to(a,e.typeC4Shape.text);switch(o.append("text").attr("fill",r).attr("font-family",d.fontFamily).attr("font-size",d.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":G(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,l)}let u=a[e.typeC4Shape.text+"Font"]();return u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=r,tc(a)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:r},u),(u=a[e.typeC4Shape.text+"Font"]()).fontColor=r,e.techn&&e.techn?.text!==""?tc(a)(e.techn.text,o,e.x,e.y+e.techn.Y,e.width,e.height,{fill:r,"font-style":"italic"},u):e.type&&""!==e.type.text&&tc(a)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:r,"font-style":"italic"},u),e.descr&&""!==e.descr.text&&((u=a.personFont()).fontColor=r,tc(a)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:r},u)),e.height},"drawC4Shape"),te=(0,l.K2)(function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),ta=(0,l.K2)(function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),tn=(0,l.K2)(function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),ti=(0,l.K2)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),ts=(0,l.K2)(function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),tr=(0,l.K2)(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),tl=(0,l.K2)(function(t){let e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),to=(0,l.K2)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"getC4ShapeFont"),tc=function(){function t(t,e,a,i,s,r,l){n(e.append("text").attr("x",a+s/2).attr("y",i+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,i,s,l,o,h){let{fontSize:d,fontFamily:u,fontWeight:p}=h,y=t.split(r.Y2.lineBreakRegex);for(let t=0;t<y.length;t++){let r=t*d-d*(y.length-1)/2,l=e.append("text").attr("x",a+s/2).attr("y",i).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",d).style("font-weight",p).style("font-family",u);l.append("tspan").attr("dy",r).text(y[t]).attr("alignment-baseline","mathematical"),n(l,o)}}function a(t,a,i,s,r,l,o,h){let d=a.append("switch"),u=d.append("foreignObject").attr("x",i).attr("y",s).attr("width",r).attr("height",l).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,d,i,s,r,l,o,h),n(u,o)}function n(t,e){for(let a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,l.K2)(t,"byText"),(0,l.K2)(e,"byTspan"),(0,l.K2)(a,"byFo"),(0,l.K2)(n,"_setTextAttrs"),function(n){return"fo"===n.textPlacement?a:"old"===n.textPlacement?t:e}}(),th=0,td=0,tu=4,tp=2;d.yy=q;var ty={},tb=class{static{(0,l.K2)(this,"Bounds")}constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,tg(t.db.getConfig())}setData(t,e,a,n){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=n}updateVal(t,e,a,n){void 0===t[e]?t[e]=a:t[e]=n(a,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,a=e+t.width,n=this.nextData.starty+2*t.margin,i=n+t.height;(e>=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>tu)&&(e=this.nextData.startx+t.margin+ty.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},tg(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}},tg=(0,l.K2)(function(t){(0,r.hH)(ty,t),t.fontFamily&&(ty.personFontFamily=ty.systemFontFamily=ty.messageFontFamily=t.fontFamily),t.fontSize&&(ty.personFontSize=ty.systemFontSize=ty.messageFontSize=t.fontSize),t.fontWeight&&(ty.personFontWeight=ty.systemFontWeight=ty.messageFontWeight=t.fontWeight)},"setConf"),tf=(0,l.K2)((t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),"c4ShapeFont"),tx=(0,l.K2)(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),t_=(0,l.K2)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function tm(t,e,a,n,i){if(!e[t].width)if(a)e[t].text=(0,s.bH)(e[t].text,i,n),e[t].textLines=e[t].text.split(r.Y2.lineBreakRegex).length,e[t].width=i,e[t].height=(0,s.ru)(e[t].text,n);else{let a=e[t].text.split(r.Y2.lineBreakRegex);e[t].textLines=a.length;let i=0;for(let r of(e[t].height=0,e[t].width=0,a))e[t].width=Math.max((0,s.Un)(r,n),e[t].width),i=(0,s.ru)(r,n),e[t].height=e[t].height+i}}(0,l.K2)(tm,"calcC4ShapeTextWH");var tE=(0,l.K2)(function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=ty.c4ShapeMargin-35;let n=e.wrap&&ty.wrap,i=tx(ty);i.fontSize=i.fontSize+2,i.fontWeight="bold";let r=(0,s.Un)(e.label.text,i);tm("label",e,n,i,r),Z(t,e,ty)},"drawBoundary"),tS=(0,l.K2)(function(t,e,a,n){let i=0;for(let r of n){i=0;let n=a[r],l=tf(ty,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,s.Un)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=ty.c4ShapePadding,i=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=i,i=n.image.Y+n.image.height);let o=n.wrap&&ty.wrap,h=ty.width-2*ty.c4ShapePadding,d=tf(ty,n.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",tm("label",n,o,d,h),n.label.Y=i+8,i=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]";let t=tf(ty,n.typeC4Shape.text);tm("type",n,o,t,h),n.type.Y=i+5,i=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]";let t=tf(ty,n.techn.text);tm("techn",n,o,t,h),n.techn.Y=i+5,i=n.techn.Y+n.techn.height}let u=i,p=n.label.width;if(n.descr&&""!==n.descr.text){let t=tf(ty,n.typeC4Shape.text);tm("descr",n,o,t,h),n.descr.Y=i+20,i=n.descr.Y+n.descr.height,p=Math.max(n.label.width,n.descr.width),u=i-5*n.descr.textLines}p+=ty.c4ShapePadding,n.width=Math.max(n.width||ty.width,p,ty.width),n.height=Math.max(n.height||ty.height,u,ty.height),n.margin=n.margin||ty.c4ShapeMargin,t.insert(n),tt(e,n,ty)}t.bumpLastMargin(ty.c4ShapeMargin)},"drawC4ShapeArray"),tA=class{static{(0,l.K2)(this,"Point")}constructor(t,e){this.x=t,this.y=e}},tC=(0,l.K2)(function(t,e){let a=t.x,n=t.y,i=e.x,s=e.y,r=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),h=Math.abs(n-s),d=h/o,u=t.height/t.width,p=null;return n==s&&a<i?p=new tA(a+t.width,l):n==s&&a>i?p=new tA(a,l):a==i&&n<s?p=new tA(r,n+t.height):a==i&&n>s&&(p=new tA(r,n)),a>i&&n<s?p=u>=d?new tA(a,l+d*t.width/2):new tA(r-o/h*t.height/2,n+t.height):a<i&&n<s?p=u>=d?new tA(a+t.width,l+d*t.width/2):new tA(r+o/h*t.height/2,n+t.height):a<i&&n>s?p=u>=d?new tA(a+t.width,l-d*t.width/2):new tA(r+t.height/2*o/h,n):a>i&&n>s&&(p=u>=d?new tA(a,l-t.width/2*d):new tA(r-t.height/2*o/h,n)),p},"getIntersectPoint"),tk=(0,l.K2)(function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=tC(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:tC(e,a)}},"getIntersectPoints"),tO=(0,l.K2)(function(t,e,a,n){let i=0;for(let t of e){i+=1;let e=t.wrap&&ty.wrap,r=t_(ty);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=i+": "+t.label.text);let l=(0,s.Un)(t.label.text,r);tm("label",t,e,r,l),t.techn&&""!==t.techn.text&&(l=(0,s.Un)(t.techn.text,r),tm("techn",t,e,r,l)),t.descr&&""!==t.descr.text&&(l=(0,s.Un)(t.descr.text,r),tm("descr",t,e,r,l));let o=tk(a(t.from),a(t.to));t.startPoint=o.startPoint,t.endPoint=o.endPoint}J(t,e,ty)},"drawRels");function tw(t,e,a,n,i){let s=new tb(i);for(let[r,l]of(s.data.widthLimit=a.data.widthLimit/Math.min(tp,n.length),n.entries())){let n=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=n,n=l.image.Y+l.image.height);let o=l.wrap&&ty.wrap,h=tx(ty);if(h.fontSize=h.fontSize+2,h.fontWeight="bold",tm("label",l,o,h,s.data.widthLimit),l.label.Y=n+8,n=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",tm("type",l,o,tx(ty),s.data.widthLimit),l.type.Y=n+5,n=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=tx(ty);t.fontSize=t.fontSize-2,tm("descr",l,o,t,s.data.widthLimit),l.descr.Y=n+20,n=l.descr.Y+l.descr.height}if(0==r||r%tp==0){let t=a.data.startx+ty.diagramMarginX,e=a.data.stopy+ty.diagramMarginY+n;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+ty.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=l.alias;let d=i.db.getC4ShapeArray(l.alias),u=i.db.getC4ShapeKeys(l.alias);u.length>0&&tS(s,t,d,u),e=l.alias;let p=i.db.getBoundaries(e);p.length>0&&tw(t,e,s,p,i),"global"!==l.alias&&tE(t,l,s),a.data.stopy=Math.max(s.data.stopy+ty.c4ShapeMargin,a.data.stopy),a.data.stopx=Math.max(s.data.stopx+ty.c4ShapeMargin,a.data.stopx),th=Math.max(th,a.data.stopx),td=Math.max(td,a.data.stopy)}}(0,l.K2)(tw,"drawInsideBoundary");var tT={drawPersonOrSystemArray:tS,drawBoundary:tE,setConf:tg,draw:(0,l.K2)(function(t,e,a,n){let i;ty=(0,r.D7)().c4;let s=(0,r.D7)().securityLevel;"sandbox"===s&&(i=(0,o.Ltv)("#i"+e));let h="sandbox"===s?(0,o.Ltv)(i.nodes()[0].contentDocument.body):(0,o.Ltv)("body"),d=n.db;n.db.setWrap(ty.wrap),tu=d.getC4ShapeInRow(),tp=d.getC4BoundaryInRow(),l.Rm.debug(`C:${JSON.stringify(ty,null,2)}`);let u="sandbox"===s?h.select(`[id="${e}"]`):(0,o.Ltv)(`[id="${e}"]`);ta(u),te(u),tn(u);let p=new tb(n);p.setData(ty.diagramMarginX,ty.diagramMarginX,ty.diagramMarginY,ty.diagramMarginY),p.data.widthLimit=screen.availWidth,th=ty.diagramMarginX,td=ty.diagramMarginY;let y=n.db.getTitle();tw(u,"",p,n.db.getBoundaries(""),n),ti(u),ts(u),tl(u),tr(u),tO(u,n.db.getRels(),n.db.getC4Shape,n),p.data.stopx=th,p.data.stopy=td;let b=p.data,g=b.stopy-b.starty+2*ty.diagramMarginY,f=b.stopx-b.startx+2*ty.diagramMarginX;y&&u.append("text").text(y).attr("x",(b.stopx-b.startx)/2-4*ty.diagramMarginX).attr("y",b.starty+ty.diagramMarginY),(0,r.a$)(u,g,f,ty.useMaxWidth);let x=60*!!y;u.attr("viewBox",b.startx-ty.diagramMarginX+" -"+(ty.diagramMarginY+x)+" "+f+" "+(g+x)),l.Rm.debug("models:",b)},"draw")},tv={parser:d,db:q,renderer:tT,styles:(0,l.K2)(t=>`.person {
2
- stroke: ${t.personBorder};
3
- fill: ${t.personBkg};
4
- }
5
- `,"getStyles"),init:(0,l.K2)(({c4:t,wrap:e})=>{tT.setConf(t),q.setWrap(e)},"init")}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6299],{1727:(e,t,r)=>{var n=r(74471);r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}})},3581:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]});let o=r(28478),i=r(71290),a=r(27729)},17069:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(34023),l=r(94799);function o(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let l=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:l}}),[r,l])}};return i.scopeName=e,[function(t,o){let i=n.createContext(o),a=r.length;r=[...r,o];let u=t=>{let{scope:r,children:o,...u}=t,s=r?.[e]?.[a]||i,c=n.useMemo(()=>u,Object.values(u));return(0,l.jsx)(s.Provider,{value:c,children:o})};return u.displayName=t+"Provider",[u,function(r,l){let u=l?.[e]?.[a]||i,s=n.useContext(u);if(s)return s;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let l=r.reduce((t,{useScope:r,scopeName:n})=>{let l=r(e)[`__scope${n}`];return{...t,...l}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}(i,...t)]}},20704:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(47743).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},34233:(e,t,r)=>{r.d(t,{s:()=>i,t:()=>o});var n=r(34023);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=l(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():l(e[t],null)}}}}function i(...e){return n.useCallback(o(...e),e)}},41353:(e,t,r)=>{r.d(t,{bL:()=>S,zi:()=>x});var n=r(34023),l=r(82669),o=r(34233),i=r(17069),a=r(66825),u=r(98004),s=r(93045),c=r(94799),f="Switch",[d,p]=(0,i.A)(f),[y,m]=d(f),v=n.forwardRef((e,t)=>{let{__scopeSwitch:r,name:i,checked:u,defaultChecked:d,required:p,disabled:m,value:v="on",onCheckedChange:h,form:b,...S}=e,[x,R]=n.useState(null),j=(0,o.s)(t,e=>R(e)),E=n.useRef(!1),k=!x||b||!!x.closest("form"),[C,N]=(0,a.i)({prop:u,defaultProp:d??!1,onChange:h,caller:f});return(0,c.jsxs)(y,{scope:r,checked:C,disabled:m,children:[(0,c.jsx)(s.sG.button,{type:"button",role:"switch","aria-checked":C,"aria-required":p,"data-state":g(C),"data-disabled":m?"":void 0,disabled:m,value:v,...S,ref:j,onClick:(0,l.mK)(e.onClick,e=>{N(e=>!e),k&&(E.current=e.isPropagationStopped(),E.current||e.stopPropagation())})}),k&&(0,c.jsx)(w,{control:x,bubbles:!E.current,name:i,value:v,checked:C,required:p,disabled:m,form:b,style:{transform:"translateX(-100%)"}})]})});v.displayName=f;var h="SwitchThumb",b=n.forwardRef((e,t)=>{let{__scopeSwitch:r,...n}=e,l=m(h,r);return(0,c.jsx)(s.sG.span,{"data-state":g(l.checked),"data-disabled":l.disabled?"":void 0,...n,ref:t})});b.displayName=h;var w=n.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:l=!0,...i},a)=>{let s,f=n.useRef(null),d=(0,o.s)(f,a),p=(s=n.useRef({value:r,previous:r}),n.useMemo(()=>(s.current.value!==r&&(s.current.previous=s.current.value,s.current.value=r),s.current.previous),[r])),y=function(e){let[t,r]=n.useState(void 0);return(0,u.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,l;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,l=t.blockSize}else n=e.offsetWidth,l=e.offsetHeight;r({width:n,height:l})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(t);return n.useEffect(()=>{let e=f.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(p!==r&&t){let n=new Event("click",{bubbles:l});t.call(e,r),e.dispatchEvent(n)}},[p,r,l]),(0,c.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:d,style:{...i.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function g(e){return e?"checked":"unchecked"}w.displayName="SwitchBubbleInput";var S=v,x=b},59256:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(47743).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},66825:(e,t,r)=>{r.d(t,{i:()=>a});var n,l=r(34023),o=r(98004),i=(n||(n=r.t(l,2)))[" useInsertionEffect ".trim().toString()]||o.N;function a({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,a,u]=function({defaultProp:e,onChange:t}){let[r,n]=l.useState(e),o=l.useRef(r),a=l.useRef(t);return i(()=>{a.current=t},[t]),l.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}({defaultProp:t,onChange:r}),s=void 0!==e,c=s?e:o;{let t=l.useRef(void 0!==e);l.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[c,l.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else a(t)},[s,e,a,u])]}Symbol("RADIX:SYNC_STATE")},74988:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(47743).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},75962:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(47743).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},80916:(e,t,r)=>{r.d(t,{v:()=>i});var n=r(34023);let l=e=>{let t,r=new Set,n=(e,n)=>{let l="function"==typeof e?e(t):e;if(!Object.is(l,t)){let e=t;t=(null!=n?n:"object"!=typeof l||null===l)?l:Object.assign({},t,l),r.forEach(r=>r(t,e))}},l=()=>t,o={setState:n,getState:l,getInitialState:()=>i,subscribe:e=>(r.add(e),()=>r.delete(e))},i=t=e(n,l,o);return o},o=e=>{let t=e?l(e):l,r=e=>(function(e,t=e=>e){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r})(t,e);return Object.assign(r,t),r},i=e=>e?o(e):o},82669:(e,t,r)=>{function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"u">typeof window&&window.document&&window.document.createElement},93045:(e,t,r)=>{r.d(t,{sG:()=>u});var n=r(34023);r(56742);var l=r(34233),o=r(94799),i=Symbol("radix.slottable");function a(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,i;let u,s,c,f=(i=r=`Primitive.${t}`,(u=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){var i;let e,a,u=(i=r,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(s.ref=t?(0,l.t)(t,u):u),n.cloneElement(r,s)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${i}.SlotClone`,s=u,(c=n.forwardRef((e,t)=>{let{children:r,...l}=e,i=n.Children.toArray(r),u=i.find(a);if(u){let e=u.props.children,r=i.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...l,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(s,{...l,ref:t,children:r})})).displayName=`${r}.Slot`,c),d=n.forwardRef((e,r)=>{let{asChild:n,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?f:t,{...l,ref:r})});return d.displayName=`Primitive.${t}`,{...e,[t]:d}},{})},98004:(e,t,r)=>{r.d(t,{N:()=>l});var n=r(34023),l=globalThis?.document?n.useLayoutEffect:()=>{}},99946:(e,t,r)=>{r.d(t,{b:()=>y});var n=r(34023),l=r.t(n,2);r(56742);var o=r(34233),i=r(94799),a=Symbol.for("react.lazy"),u=l[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=Symbol("radix.slottable");function f(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{var r,l;let a,c,d,p=(l=r=`Primitive.${t}`,(a=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(s(r)&&"function"==typeof u&&(r=u(r._payload)),n.isValidElement(r)){var i;let e,a,u=(i=r,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props);return r.type!==n.Fragment&&(s.ref=t?(0,o.t)(t,u):u),n.cloneElement(r,s)}return n.Children.count(r)>1?n.Children.only(null):null})).displayName=`${l}.SlotClone`,c=a,(d=n.forwardRef((e,t)=>{let{children:r,...l}=e;s(r)&&"function"==typeof u&&(r=u(r._payload));let o=n.Children.toArray(r),a=o.find(f);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(c,{...l,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,i.jsx)(c,{...l,ref:t,children:r})})).displayName=`${r}.Slot`,d),y=n.forwardRef((e,r)=>{let{asChild:n,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?p:t,{...l,ref:r})});return y.displayName=`Primitive.${t}`,{...e,[t]:y}},{}),p=n.forwardRef((e,t)=>(0,i.jsx)(d.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));p.displayName="Label";var y=p}}]);
@@ -1,148 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6484],{16484:(t,e,i)=>{i.d(e,{diagram:()=>Y});var n=i(41833),r=i(75711),a=i(66638),s=i(3447),l=i(19859),o=function(){var t=(0,s.K2)(function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},"o"),e=[6,8,10,11,12,14,16,17,18],i=[1,9],n=[1,10],r=[1,11],a=[1,12],l=[1,13],o=[1,14],c={trace:(0,s.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,s.K2)(function(t,e,i,n,r,a,s){var l=a.length-1;switch(r){case 1:return a[l-1];case 2:case 6:case 7:this.$=[];break;case 3:a[l-1].push(a[l]),this.$=a[l-1];break;case 4:case 5:this.$=a[l];break;case 8:n.setDiagramTitle(a[l].substr(6)),this.$=a[l].substr(6);break;case 9:this.$=a[l].trim(),n.setAccTitle(this.$);break;case 10:case 11:this.$=a[l].trim(),n.setAccDescription(this.$);break;case 12:n.addSection(a[l].substr(8)),this.$=a[l].substr(8);break;case 13:n.addTask(a[l-1],a[l]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:n,14:r,16:a,17:l,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:n,14:r,16:a,17:l,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,s.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,s.K2)(function(t){var e=this,i=[0],n=[],r=[null],a=[],l=this.table,o="",c=0,h=0,u=0,p=a.slice.call(arguments,1),y=Object.create(this.lexer),d={};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d[f]=this.yy[f]);y.setInput(t,d),d.lexer=y,d.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;a.push(g);var x=y.options&&y.options.ranges;function m(){var t;return"number"!=typeof(t=n.pop()||y.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,s.K2)(function(t){i.length=i.length-2*t,r.length=r.length-t,a.length=a.length-t},"popStack"),(0,s.K2)(m,"lex");for(var k,_,b,v,w,K,$,M,T,E={};;){if(b=i[i.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==k&&(k=m()),v=l[b]&&l[b][k]),void 0===v||!v.length||!v[0]){var S="";for(K in T=[],l[b])this.terminals_[K]&&K>2&&T.push("'"+this.terminals_[K]+"'");S=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(S,{text:y.match,token:this.terminals_[k]||k,line:y.yylineno,loc:g,expected:T})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+k);switch(v[0]){case 1:i.push(k),r.push(y.yytext),a.push(y.yylloc),i.push(v[1]),k=null,_?(k=_,_=null):(h=y.yyleng,o=y.yytext,c=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if($=this.productions_[v[1]][1],E.$=r[r.length-$],E._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},x&&(E._$.range=[a[a.length-($||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(E,[o,h,c,d,v[1],r,a].concat(p))))return w;$&&(i=i.slice(0,-1*$*2),r=r.slice(0,-1*$),a=a.slice(0,-1*$)),i.push(this.productions_[v[1]][0]),r.push(E.$),a.push(E._$),M=l[i[i.length-2]][i[i.length-1]],i.push(M);break;case 3:return!0}}return!0},"parse")};function h(){this.yy={}}return c.lexer={EOF:1,parseError:(0,s.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,s.K2)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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,s.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,s.K2)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=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),i.length-1&&(this.yylineno-=i.length-1);var r=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:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,s.K2)(function(){return this._more=!0,this},"more"),reject:(0,s.K2)(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,s.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,s.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,s.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,s.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,s.K2)(function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var a in r)this[a]=r[a];return!1},"test_match"),next:(0,s.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),a=0;a<r.length;a++)if((i=this._input.match(this.rules[r[a]]))&&(!e||i[0].length>e[0].length)){if(e=i,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[a])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===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,s.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,s.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,s.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,s.K2)(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,s.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,s.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,s.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,s.K2)(function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}},(0,s.K2)(h,"Parser"),h.prototype=c,c.Parser=h,new h}();o.parser=o;var c="",h=[],u=[],p=[],y=(0,s.K2)(function(){h.length=0,u.length=0,c="",p.length=0,(0,a.IU)()},"clear"),d=(0,s.K2)(function(t){c=t,h.push(t)},"addSection"),f=(0,s.K2)(function(){return h},"getSections"),g=(0,s.K2)(function(){let t=_(),e=0;for(;!t&&e<100;)t=_(),e++;return u.push(...p),u},"getTasks"),x=(0,s.K2)(function(){let t=[];return u.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),m=(0,s.K2)(function(t,e){let i=e.substr(1).split(":"),n=0,r=[];1===i.length?(n=Number(i[0]),r=[]):(n=Number(i[0]),r=i[1].split(","));let a=r.map(t=>t.trim()),s={section:c,type:c,people:a,task:t,score:n};p.push(s)},"addTask"),k=(0,s.K2)(function(t){let e={section:c,type:c,description:t,task:t,classes:[]};u.push(e)},"addTaskOrg"),_=(0,s.K2)(function(){let t=(0,s.K2)(function(t){return p[t].processed},"compileTask"),e=!0;for(let[i,n]of p.entries())t(i),e=e&&n.processed;return e},"compileTasks"),b=(0,s.K2)(function(){return x()},"getActors"),v={getConfig:(0,s.K2)(()=>(0,a.D7)().journey,"getConfig"),clear:y,setDiagramTitle:a.ke,getDiagramTitle:a.ab,setAccTitle:a.SV,getAccTitle:a.iN,setAccDescription:a.EI,getAccDescription:a.m7,addSection:d,getSections:f,getTasks:g,addTask:m,addTaskOrg:k,getActors:b},w=(0,s.K2)(t=>`.label {
2
- font-family: ${t.fontFamily};
3
- color: ${t.textColor};
4
- }
5
- .mouth {
6
- stroke: #666;
7
- }
8
-
9
- line {
10
- stroke: ${t.textColor}
11
- }
12
-
13
- .legend {
14
- fill: ${t.textColor};
15
- font-family: ${t.fontFamily};
16
- }
17
-
18
- .label text {
19
- fill: #333;
20
- }
21
- .label {
22
- color: ${t.textColor}
23
- }
24
-
25
- .face {
26
- ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
27
- stroke: #999;
28
- }
29
-
30
- .node rect,
31
- .node circle,
32
- .node ellipse,
33
- .node polygon,
34
- .node path {
35
- fill: ${t.mainBkg};
36
- stroke: ${t.nodeBorder};
37
- stroke-width: 1px;
38
- }
39
-
40
- .node .label {
41
- text-align: center;
42
- }
43
- .node.clickable {
44
- cursor: pointer;
45
- }
46
-
47
- .arrowheadPath {
48
- fill: ${t.arrowheadColor};
49
- }
50
-
51
- .edgePath .path {
52
- stroke: ${t.lineColor};
53
- stroke-width: 1.5px;
54
- }
55
-
56
- .flowchart-link {
57
- stroke: ${t.lineColor};
58
- fill: none;
59
- }
60
-
61
- .edgeLabel {
62
- background-color: ${t.edgeLabelBackground};
63
- rect {
64
- opacity: 0.5;
65
- }
66
- text-align: center;
67
- }
68
-
69
- .cluster rect {
70
- }
71
-
72
- .cluster text {
73
- fill: ${t.titleColor};
74
- }
75
-
76
- div.mermaidTooltip {
77
- position: absolute;
78
- text-align: center;
79
- max-width: 200px;
80
- padding: 2px;
81
- font-family: ${t.fontFamily};
82
- font-size: 12px;
83
- background: ${t.tertiaryColor};
84
- border: 1px solid ${t.border2};
85
- border-radius: 2px;
86
- pointer-events: none;
87
- z-index: 100;
88
- }
89
-
90
- .task-type-0, .section-type-0 {
91
- ${t.fillType0?`fill: ${t.fillType0}`:""};
92
- }
93
- .task-type-1, .section-type-1 {
94
- ${t.fillType0?`fill: ${t.fillType1}`:""};
95
- }
96
- .task-type-2, .section-type-2 {
97
- ${t.fillType0?`fill: ${t.fillType2}`:""};
98
- }
99
- .task-type-3, .section-type-3 {
100
- ${t.fillType0?`fill: ${t.fillType3}`:""};
101
- }
102
- .task-type-4, .section-type-4 {
103
- ${t.fillType0?`fill: ${t.fillType4}`:""};
104
- }
105
- .task-type-5, .section-type-5 {
106
- ${t.fillType0?`fill: ${t.fillType5}`:""};
107
- }
108
- .task-type-6, .section-type-6 {
109
- ${t.fillType0?`fill: ${t.fillType6}`:""};
110
- }
111
- .task-type-7, .section-type-7 {
112
- ${t.fillType0?`fill: ${t.fillType7}`:""};
113
- }
114
-
115
- .actor-0 {
116
- ${t.actor0?`fill: ${t.actor0}`:""};
117
- }
118
- .actor-1 {
119
- ${t.actor1?`fill: ${t.actor1}`:""};
120
- }
121
- .actor-2 {
122
- ${t.actor2?`fill: ${t.actor2}`:""};
123
- }
124
- .actor-3 {
125
- ${t.actor3?`fill: ${t.actor3}`:""};
126
- }
127
- .actor-4 {
128
- ${t.actor4?`fill: ${t.actor4}`:""};
129
- }
130
- .actor-5 {
131
- ${t.actor5?`fill: ${t.actor5}`:""};
132
- }
133
- ${(0,r.o)()}
134
- `,"getStyles"),K=(0,s.K2)(function(t,e){return(0,n.tk)(t,e)},"drawRect"),$=(0,s.K2)(function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");function r(t){let i=(0,l.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function a(t){let i=(0,l.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function o(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return n.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),(0,s.K2)(r,"smile"),(0,s.K2)(a,"sad"),(0,s.K2)(o,"ambivalent"),e.score>3?r(n):e.score<3?a(n):o(n),i},"drawFace"),M=(0,s.K2)(function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},"drawCircle"),T=(0,s.K2)(function(t,e){return(0,n.m)(t,e)},"drawText"),E=(0,s.K2)(function(t,e,i){let r=t.append("g"),a=(0,n.PB)();a.x=e.x,a.y=e.y,a.fill=e.fill,a.width=i.width*e.taskCount+i.diagramMarginX*(e.taskCount-1),a.height=i.height,a.class="journey-section section-type-"+e.num,a.rx=3,a.ry=3,K(r,a),I(i)(e.text,r,a.x,a.y,a.width,a.height,{class:"journey-section section-type-"+e.num},i,e.colour)},"drawSection"),S=-1,C=(0,s.K2)(function(t,e,i){let r=e.x+i.width/2,a=t.append("g");S++,a.append("line").attr("id","task"+S).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(a,{cx:r,cy:300+(5-e.score)*30,score:e.score});let s=(0,n.PB)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,K(a,s);let l=e.x+14;e.people.forEach(t=>{let i=e.actors[t].color;M(a,{cx:l,cy:e.y,r:7,fill:i,stroke:"#000",title:t,pos:e.actors[t].position}),l+=10}),I(i)(e.task,a,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},"drawTask"),I=function(){function t(t,e,i,r,a,s,l,o){n(e.append("text").attr("x",i+a/2).attr("y",r+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,r,a,s,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,p=t.split(/<br\s*\/?>/gi);for(let t=0;t<p.length;t++){let o=t*h-h*(p.length-1)/2,y=e.append("text").attr("x",i+a/2).attr("y",r).attr("fill",c).style("text-anchor","middle").style("font-size",h).style("font-family",u);y.append("tspan").attr("x",i+a/2).attr("dy",o).text(p[t]),y.attr("y",r+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),n(y,l)}}function i(t,i,r,a,s,l,o,c){let h=i.append("switch"),u=h.append("foreignObject").attr("x",r).attr("y",a).attr("width",s).attr("height",l).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,r,a,s,l,o,c),n(u,o)}function n(t,e){for(let i in e)i in e&&t.attr(i,e[i])}return(0,s.K2)(t,"byText"),(0,s.K2)(e,"byTspan"),(0,s.K2)(i,"byFo"),(0,s.K2)(n,"_setTextAttrs"),function(n){return"fo"===n.textPlacement?i:"old"===n.textPlacement?t:e}}(),P=(0,s.K2)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),A=(0,s.K2)(function(t){Object.keys(t).forEach(function(e){B[e]=t[e]})},"setConf"),j={},D=0;function V(t){let e=(0,a.D7)().journey,i=e.maxLabelWidth;D=0;let n=60;Object.keys(j).forEach(r=>{let a=j[r].color;M(t,{cx:20,cy:n,r:7,fill:a,stroke:"#000",pos:j[r].position});let s=t.append("text").attr("visibility","hidden").text(r),l=s.node().getBoundingClientRect().width;s.remove();let o=[];if(l<=i)o=[r];else{let e=r.split(" "),n="";s=t.append("text").attr("visibility","hidden"),e.forEach(t=>{let e=n?`${n} ${t}`:t;if(s.text(e),s.node().getBoundingClientRect().width>i){if(n&&o.push(n),n=t,s.text(t),s.node().getBoundingClientRect().width>i){let e="";for(let n of t)e+=n,s.text(e+"-"),s.node().getBoundingClientRect().width>i&&(o.push(e.slice(0,-1)+"-"),e=n);n=e}}else n=e}),n&&o.push(n),s.remove()}o.forEach((i,r)=>{let a=T(t,{x:40,y:n+7+20*r,fill:"#666",text:i,textMargin:e.boxTextMargin??5}).node().getBoundingClientRect().width;a>D&&a>e.leftMargin-a&&(D=a)}),n+=Math.max(20,20*o.length)})}(0,s.K2)(V,"drawActorLegend");var B=(0,a.D7)().journey,F=0,L=(0,s.K2)(function(t,e,i,n){let r,s=(0,a.D7)(),o=s.journey.titleColor,c=s.journey.titleFontSize,h=s.journey.titleFontFamily,u=s.securityLevel;"sandbox"===u&&(r=(0,l.Ltv)("#i"+e));let p="sandbox"===u?(0,l.Ltv)(r.nodes()[0].contentDocument.body):(0,l.Ltv)("body");N.init();let y=p.select("#"+e);P(y);let d=n.db.getTasks(),f=n.db.getDiagramTitle(),g=n.db.getActors();for(let t in j)delete j[t];let x=0;g.forEach(t=>{j[t]={color:B.actorColours[x%B.actorColours.length],position:x},x++}),V(y),F=B.leftMargin+D,N.insert(0,0,F,50*Object.keys(j).length),z(y,d,0);let m=N.getBounds();f&&y.append("text").text(f).attr("x",F).attr("font-size",c).attr("font-weight","bold").attr("y",25).attr("fill",o).attr("font-family",h);let k=m.stopy-m.starty+2*B.diagramMarginY,_=F+m.stopx+2*B.diagramMarginX;(0,a.a$)(y,k,_,B.useMaxWidth),y.append("line").attr("x1",F).attr("y1",4*B.height).attr("x2",_-F-4).attr("y2",4*B.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let b=70*!!f;y.attr("viewBox",`${m.startx} -25 ${_} ${k+b}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",k+b+25)},"draw"),N={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,s.K2)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,s.K2)(function(t,e,i,n){void 0===t[e]?t[e]=i:t[e]=n(i,t[e])},"updateVal"),updateBounds:(0,s.K2)(function(t,e,i,n){let r=(0,a.D7)().journey,l=this,o=0;function c(a){return(0,s.K2)(function(s){o++;let c=l.sequenceItems.length-o+1;l.updateVal(s,"starty",e-c*r.boxMargin,Math.min),l.updateVal(s,"stopy",n+c*r.boxMargin,Math.max),l.updateVal(N.data,"startx",t-c*r.boxMargin,Math.min),l.updateVal(N.data,"stopx",i+c*r.boxMargin,Math.max),"activation"!==a&&(l.updateVal(s,"startx",t-c*r.boxMargin,Math.min),l.updateVal(s,"stopx",i+c*r.boxMargin,Math.max),l.updateVal(N.data,"starty",e-c*r.boxMargin,Math.min),l.updateVal(N.data,"stopy",n+c*r.boxMargin,Math.max))},"updateItemBounds")}(0,s.K2)(c,"updateFn"),this.sequenceItems.forEach(c())},"updateBounds"),insert:(0,s.K2)(function(t,e,i,n){let r=Math.min(t,i),a=Math.max(t,i),s=Math.min(e,n),l=Math.max(e,n);this.updateVal(N.data,"startx",r,Math.min),this.updateVal(N.data,"starty",s,Math.min),this.updateVal(N.data,"stopx",a,Math.max),this.updateVal(N.data,"stopy",l,Math.max),this.updateBounds(r,s,a,l)},"insert"),bumpVerticalPos:(0,s.K2)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,s.K2)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,s.K2)(function(){return this.data},"getBounds")},R=B.sectionFills,O=B.sectionColours,z=(0,s.K2)(function(t,e,i){let n=(0,a.D7)().journey,r="",s=i+(2*n.height+n.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[i,a]of e.entries()){if(r!==a.section){o=R[l%R.length],h=l%R.length,c=O[l%O.length];let s=0,u=a.section;for(let t=i;t<e.length;t++)if(e[t].section==u)s+=1;else break;E(t,{x:i*n.taskMargin+i*n.width+F,y:50,text:a.section,fill:o,num:h,colour:c,taskCount:s},n),r=a.section,l++}let u=a.people.reduce((t,e)=>(j[e]&&(t[e]=j[e]),t),{});a.x=i*n.taskMargin+i*n.width+F,a.y=s,a.width=n.diagramMarginX,a.height=n.diagramMarginY,a.colour=c,a.fill=o,a.num=h,a.actors=u,C(t,a,n),N.insert(a.x,a.y,a.x+a.width+n.taskMargin,450)}},"drawTasks"),W={setConf:A,draw:L},Y={parser:o,db:v,renderer:W,styles:w,init:(0,s.K2)(t=>{W.setConf(t.journey),v.clear()},"init")}},41833:(t,e,i)=>{i.d(e,{CP:()=>h,HT:()=>p,PB:()=>u,aC:()=>c,lC:()=>l,m:()=>o,tk:()=>s});var n=i(66638),r=i(3447),a=i(2487),s=(0,r.K2)((t,e)=>{let i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),e.name&&i.attr("name",e.name),e.rx&&i.attr("rx",e.rx),e.ry&&i.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return e.class&&i.attr("class",e.class),i},"drawRect"),l=(0,r.K2)((t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),o=(0,r.K2)((t,e)=>{let i=e.text.replace(n.H1," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),e.class&&r.attr("class",e.class);let a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(i),r},"drawText"),c=(0,r.K2)((t,e,i,n)=>{let r=t.append("image");r.attr("x",e),r.attr("y",i);let s=(0,a.J)(n);r.attr("xlink:href",s)},"drawImage"),h=(0,r.K2)((t,e,i,n)=>{let r=t.append("use");r.attr("x",e),r.attr("y",i);let s=(0,a.J)(n);r.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),u=(0,r.K2)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=(0,r.K2)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj")},75711:(t,e,i)=>{i.d(e,{o:()=>n});var n=(0,i(3447).K2)(()=>`
135
- /* Font Awesome icon styling - consolidated */
136
- .label-icon {
137
- display: inline-block;
138
- height: 1em;
139
- overflow: visible;
140
- vertical-align: -0.125em;
141
- }
142
-
143
- .node .label-icon path {
144
- fill: currentColor;
145
- stroke: revert;
146
- stroke-width: revert;
147
- }
148
- `,"getIconStyles")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6505],{96505:(e,c,r)=>{r.d(c,{createArchitectureServices:()=>s.S});var s=r(47163);r(70165)}}]);