@calmabacus/pi-web 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +10 -11
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/next-server.js.nft.json +1 -1
  5. package/.next/prerender-manifest.json +6 -38
  6. package/.next/react-loadable-manifest.json +215 -224
  7. package/.next/required-server-files.js +4 -2
  8. package/.next/required-server-files.json +4 -2
  9. package/.next/routes-manifest.json +0 -6
  10. package/.next/server/app/_global-error/page.js +2 -2
  11. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/_global-error.html +1 -1
  13. package/.next/server/app/_global-error.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next/server/app/_not-found/page.js +1 -1
  18. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/.next/server/app/_not-found.html +1 -1
  20. package/.next/server/app/_not-found.rsc +5 -5
  21. package/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
  22. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +8 -9
  23. package/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  24. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  25. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  26. package/.next/server/app/api/agent/[id]/lease/route.js +1 -1
  27. package/.next/server/app/api/agent/[id]/route.js +1 -1
  28. package/.next/server/app/api/agent/new/route.js +1 -1
  29. package/.next/server/app/api/agent/running/route.js +1 -1
  30. package/.next/server/app/api/app-update/route.js +1 -1
  31. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  32. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  33. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  34. package/.next/server/app/api/auth/providers/route.js +1 -1
  35. package/.next/server/app/api/cwd/browse/route.js +1 -1
  36. package/.next/server/app/api/cwd/validate/route.js +1 -1
  37. package/.next/server/app/api/default-cwd/route.js +1 -1
  38. package/.next/server/app/api/file-index/route.js +1 -1
  39. package/.next/server/app/api/files/[...path]/route.js +2 -2
  40. package/.next/server/app/api/git/diff/route.js +1 -1
  41. package/.next/server/app/api/git/status/route.js +1 -1
  42. package/.next/server/app/api/home/route.js +1 -1
  43. package/.next/server/app/api/image-generation/route.js +1 -1
  44. package/.next/server/app/api/image-generation/settings/connections/route.js +1 -1
  45. package/.next/server/app/api/image-generation/settings/route.js +1 -1
  46. package/.next/server/app/api/models/route.js +1 -1
  47. package/.next/server/app/api/models-config/catalog/route.js +1 -1
  48. package/.next/server/app/api/models-config/discover/route.js +1 -1
  49. package/.next/server/app/api/models-config/picker/route.js +1 -1
  50. package/.next/server/app/api/models-config/route.js +1 -1
  51. package/.next/server/app/api/models-config/runtime/route.js +1 -1
  52. package/.next/server/app/api/models-config/test/route.js +1 -1
  53. package/.next/server/app/api/plugins/check/route.js +1 -1
  54. package/.next/server/app/api/plugins/route.js +1 -1
  55. package/.next/server/app/api/project-trust/route.js +1 -1
  56. package/.next/server/app/api/push/config/route.js +1 -1
  57. package/.next/server/app/api/push/subscribe/route.js +1 -1
  58. package/.next/server/app/api/sessions/[id]/auto-name/route.js +2 -2
  59. package/.next/server/app/api/sessions/[id]/auto-name/route.js.nft.json +1 -1
  60. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  61. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  62. package/.next/server/app/api/sessions/[id]/entries/[entryId]/tool-result-image/route.js +1 -1
  63. package/.next/server/app/api/sessions/[id]/export/route.js +2 -2
  64. package/.next/server/app/api/sessions/[id]/outline/route.js +1 -1
  65. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  66. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  67. package/.next/server/app/api/sessions/route.js +1 -1
  68. package/.next/server/app/api/sessions/search/route.js +1 -1
  69. package/.next/server/app/api/skills/check/route.js +1 -1
  70. package/.next/server/app/api/skills/install/route.js +1 -1
  71. package/.next/server/app/api/skills/route.js +2 -2
  72. package/.next/server/app/api/skills/search/route.js +1 -1
  73. package/.next/server/app/api/skills/update/route.js +1 -1
  74. package/.next/server/app/api/subagents/[id]/route.js +1 -1
  75. package/.next/server/app/api/subagents/profiles/route.js +1 -1
  76. package/.next/server/app/api/subagents/settings/route.js +1 -1
  77. package/.next/server/app/api/terminal/[id]/events/route.js +2 -2
  78. package/.next/server/app/api/terminal/[id]/route.js +1 -1
  79. package/.next/server/app/api/terminal/route.js +1 -1
  80. package/.next/server/app/api/tools/settings/route.js +1 -1
  81. package/.next/server/app/api/web-auth/route.js +1 -1
  82. package/.next/server/app/api/worktrees/route.js +1 -1
  83. package/.next/server/app/index.html +1 -1
  84. package/.next/server/app/index.rsc +7 -7
  85. package/.next/server/app/index.segments/__PAGE__.segment.rsc +7 -7
  86. package/.next/server/app/index.segments/_full.segment.rsc +7 -7
  87. package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  88. package/.next/server/app/login/page.js +2 -2
  89. package/.next/server/app/login/page.js.nft.json +1 -1
  90. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  91. package/.next/server/app/login.html +1 -1
  92. package/.next/server/app/login.rsc +6 -6
  93. package/.next/server/app/login.segments/_full.segment.rsc +6 -6
  94. package/.next/server/app/login.segments/_tree.segment.rsc +3 -3
  95. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  96. package/.next/server/app/manifest.webmanifest/route.js +2 -2
  97. package/.next/server/app/manifest.webmanifest.body +1 -1
  98. package/.next/server/app/page.js +21 -21
  99. package/.next/server/app/page.js.nft.json +1 -1
  100. package/.next/server/app/page_client-reference-manifest.js +1 -1
  101. package/.next/server/app-paths-manifest.json +10 -11
  102. package/.next/server/chunks/102.js +90 -0
  103. package/.next/server/chunks/11.js +1 -0
  104. package/.next/server/chunks/1286.js +1 -0
  105. package/.next/server/chunks/{4563.js → 1412.js} +1 -1
  106. package/.next/server/chunks/1605.js +1 -0
  107. package/.next/server/chunks/169.js +1 -0
  108. package/.next/server/chunks/{3186.js → 18.js} +1 -1
  109. package/.next/server/chunks/2022.js +1 -0
  110. package/.next/server/chunks/{4267.js → 2156.js} +1 -1
  111. package/.next/server/chunks/2157.js +1 -0
  112. package/.next/server/chunks/2243.js +1 -1
  113. package/.next/server/chunks/2325.js +3 -3
  114. package/.next/server/chunks/2838.js +1 -0
  115. package/.next/server/chunks/2897.js +79 -0
  116. package/.next/server/chunks/3227.js +1 -0
  117. package/.next/server/chunks/3266.js +1 -0
  118. package/.next/server/chunks/3379.js +1 -1
  119. package/.next/server/chunks/3428.js +32 -0
  120. package/.next/server/chunks/3479.js +1 -0
  121. package/.next/server/chunks/367.js +115 -0
  122. package/.next/server/chunks/3698.js +93 -0
  123. package/.next/server/chunks/{8713.js → 3709.js} +4 -4
  124. package/.next/server/chunks/4107.js +62 -0
  125. package/.next/server/chunks/426.js +10 -10
  126. package/.next/server/chunks/{7799.js → 4569.js} +1 -1
  127. package/.next/server/chunks/{8782.js → 4755.js} +2 -2
  128. package/.next/server/chunks/5002.js +1 -0
  129. package/.next/server/chunks/5112.js +1 -0
  130. package/.next/server/chunks/5289.js +8 -0
  131. package/.next/server/chunks/5452.js +23 -0
  132. package/.next/server/chunks/5453.js +1 -0
  133. package/.next/server/chunks/5582.js +3 -3
  134. package/.next/server/chunks/5749.js +27 -0
  135. package/.next/server/chunks/5782.js +36 -0
  136. package/.next/server/chunks/6081.js +1 -0
  137. package/.next/server/chunks/{6253.js → 6163.js} +1 -1
  138. package/.next/server/chunks/6169.js +64 -0
  139. package/.next/server/chunks/{1094.js → 6208.js} +17 -5
  140. package/.next/server/chunks/6399.js +24 -0
  141. package/.next/server/chunks/6429.js +3 -3
  142. package/.next/server/chunks/6496.js +1 -0
  143. package/.next/server/chunks/6823.js +215 -0
  144. package/.next/server/chunks/{4548.js → 6888.js} +1 -1
  145. package/.next/server/chunks/7245.js +77 -0
  146. package/.next/server/chunks/7307.js +1 -1
  147. package/.next/server/chunks/7372.js +287 -0
  148. package/.next/server/chunks/7384.js +226 -0
  149. package/.next/server/chunks/7516.js +1 -0
  150. package/.next/server/chunks/7531.js +24 -0
  151. package/.next/server/chunks/7591.js +1 -0
  152. package/.next/server/chunks/7755.js +138 -0
  153. package/.next/server/chunks/7916.js +1 -0
  154. package/.next/server/chunks/8078.js +94 -0
  155. package/.next/server/chunks/8253.js +41 -0
  156. package/.next/server/chunks/8635.js +1 -0
  157. package/.next/server/chunks/8688.js +1 -0
  158. package/.next/server/chunks/8872.js +1 -0
  159. package/.next/server/chunks/9006.js +1 -0
  160. package/.next/server/chunks/9018.js +1 -0
  161. package/.next/server/chunks/9047.js +1 -0
  162. package/.next/server/chunks/9108.js +1 -0
  163. package/.next/server/chunks/9280.js +91 -90
  164. package/.next/server/chunks/9419.js +1 -0
  165. package/.next/server/chunks/9430.js +1 -0
  166. package/.next/server/chunks/9586.js +1 -0
  167. package/.next/server/chunks/9775.js +1 -0
  168. package/.next/server/chunks/992.js +1 -0
  169. package/.next/server/chunks/9926.js +1 -0
  170. package/.next/server/middleware-build-manifest.js +1 -1
  171. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  172. package/.next/server/next-font-manifest.js +1 -1
  173. package/.next/server/next-font-manifest.json +1 -1
  174. package/.next/server/pages/404.html +1 -1
  175. package/.next/server/pages/500.html +1 -1
  176. package/.next/server/server-reference-manifest.json +1 -1
  177. package/.next/static/chunks/1213.e5c6e70a79b5f7e6.js +24 -0
  178. package/.next/static/chunks/1278-8765826bf835aae1.js +1 -0
  179. package/.next/static/chunks/1519.2f596e5f5af9ef57.js +62 -0
  180. package/.next/static/chunks/1974.9f7176c5854f9939.js +32 -0
  181. package/.next/static/chunks/2280.e03ab3748922284c.js +1 -0
  182. package/.next/static/chunks/{398.ffa02af9062a3950.js → 2521.7f745f50d30076e7.js} +1 -1
  183. package/.next/static/chunks/2585.4d6aa847c780c666.js +1 -0
  184. package/.next/static/chunks/2589.e456c324416f9615.js +1 -0
  185. package/.next/static/chunks/2600.45ba17a0f756fc31.js +1 -0
  186. package/.next/static/chunks/26d302b2.b77b53a34ca944aa.js +122 -0
  187. package/.next/static/chunks/2768.1a75ba9e2be767cf.js +1 -0
  188. package/.next/static/chunks/2931.c2acdbf72808b646.js +41 -0
  189. package/.next/static/chunks/3016.406e568aa95ff867.js +1 -0
  190. package/.next/static/chunks/{4004.74b9bcf5478b1663.js → 3022.972047558a20553a.js} +30 -18
  191. package/.next/static/chunks/3064.3a2a1e7cd4fdca5f.js +1 -0
  192. package/.next/static/chunks/3174.03fbed7b7d7a8256.js +1 -0
  193. package/.next/static/chunks/3189.b048866768087750.js +1 -0
  194. package/.next/static/chunks/3217.1a053843c58b70b5.js +24 -0
  195. package/.next/static/chunks/3308.b58803a5e26a56d8.js +74 -0
  196. package/.next/static/chunks/331.fc5d78e1e91daf43.js +1 -0
  197. package/.next/static/chunks/3510.5d4d1c79533e080c.js +1 -0
  198. package/.next/static/chunks/364.ce5400a9dd70b9dc.js +1 -0
  199. package/.next/static/chunks/3658-625de9bc05634c7f.js +7 -0
  200. package/.next/static/chunks/{9793.4567af813117ad25.js → 3789.c418b69121761983.js} +1 -1
  201. package/.next/static/chunks/3831.25ae62d10dccc27a.js +1 -0
  202. package/.next/static/chunks/395.3621e96c2bdfec18.js +90 -0
  203. package/.next/static/chunks/{da12927c.476aa688a637649c.js → 3a7aa434.280905293fc59b77.js} +3 -3
  204. package/.next/static/chunks/4020.3cc19c463c49f969.js +23 -0
  205. package/.next/static/chunks/{1063.775c442bdbeef08b.js → 4035.0acc428926d5c8dd.js} +1 -1
  206. package/.next/static/chunks/405.0902e4f6eb7bd9a2.js +215 -0
  207. package/.next/static/chunks/4159.bb7124776cbd5f2d.js +138 -0
  208. package/.next/static/chunks/{4405.7a19458960a1058e.js → 4208.8ea72bb20afa959e.js} +2 -2
  209. package/.next/static/chunks/4263.ffa8d9bd8a0faaae.js +1 -0
  210. package/.next/static/chunks/4561.d1a3aaca8bae3224.js +34 -0
  211. package/.next/static/chunks/4592.507c41f345e21bee.js +93 -0
  212. package/.next/static/chunks/4799.3c6182ded3f32244.js +1 -0
  213. package/.next/static/chunks/514.b804c51b26f5e126.js +1 -0
  214. package/.next/static/chunks/{3336.a76f9485fe7cb762.js → 5270.28592864d38e881c.js} +1 -1
  215. package/.next/static/chunks/52733464.b343531c2f886252.js +1 -0
  216. package/.next/static/chunks/5354.b559c717a607dc5c.js +1 -0
  217. package/.next/static/chunks/{3995.eca0f5bef1fc3ae5.js → 5448.d3972d9fb464b54f.js} +2 -2
  218. package/.next/static/chunks/587.d52737d7288c11b4.js +1 -0
  219. package/.next/static/chunks/5909.9e37f7b495b11995.js +115 -0
  220. package/.next/static/chunks/{7331.2add3c4e125a2dba.js → 5949.5504b3545fcc3d34.js} +1 -1
  221. package/.next/static/chunks/{9698.4d09a99b9d99f3e5.js → 6361.893d04ac34fa1b49.js} +3 -3
  222. package/.next/static/chunks/{5526.ff46471041fdcb79.js → 6774.8cd53427dbf32cac.js} +1 -1
  223. package/.next/static/chunks/6968.b80277c724dbc96e.js +1 -0
  224. package/.next/static/chunks/{973.88e865b52eff479a.js → 7113.93146ac5e46c1859.js} +1 -1
  225. package/.next/static/chunks/7236.55a9728d35f5b8a6.js +1 -0
  226. package/.next/static/chunks/7390.bc7f4ed9f76fe9e1.js +1 -0
  227. package/.next/static/chunks/7806.a903780fcfa3a30e.js +1 -0
  228. package/.next/static/chunks/7997.517120d5fcd77d6b.js +1 -0
  229. package/.next/static/chunks/8216.64a72d4d35ea7be0.js +1 -0
  230. package/.next/static/chunks/830.a6da04c322e3204a.js +1 -0
  231. package/.next/static/chunks/{4202.8440832386f023c7.js → 8378.fa91de3406f554c9.js} +1 -1
  232. package/.next/static/chunks/8501.c34c2a9170eb458d.js +79 -0
  233. package/.next/static/chunks/8663.6ec5792fb4952e45.js +27 -0
  234. package/.next/static/chunks/872.96937e758ddce860.js +1 -0
  235. package/.next/static/chunks/8803.75bde095fe3613f5.js +1 -0
  236. package/.next/static/chunks/8863.72f5dbb820a0e4c3.js +1 -0
  237. package/.next/static/chunks/90542734.90283a0c0c838d51.js +1 -0
  238. package/.next/static/chunks/9379.5bc9c9343ec5a16c.js +64 -0
  239. package/.next/static/chunks/9389.906fe7aa9cd6a170.js +1 -0
  240. package/.next/static/chunks/9472.8d21dc4771024c26.js +94 -0
  241. package/.next/static/chunks/966.50e905df30903189.js +1 -0
  242. package/.next/static/chunks/{2703.495a65ed14b2f094.js → 9884.c6cac4659c50ebfa.js} +3 -3
  243. package/.next/static/chunks/app/{layout-f900e4d3794672ad.js → layout-900d990b4229e169.js} +1 -1
  244. package/.next/static/chunks/app/page-6e8e4795e738ba8b.js +232 -0
  245. package/.next/static/chunks/{1ba63609.b2ae90f43319a29e.js → e413bedd.3a12a8cb02e28fdf.js} +1 -1
  246. package/.next/static/chunks/ea233666.ebaeaf2eb673ecfa.js +62 -0
  247. package/.next/static/chunks/framework-3a41051109d8ea39.js +1 -0
  248. package/.next/static/chunks/webpack-d022bdbc1a873e3c.js +1 -0
  249. package/.next/static/css/{89aae141d5b3edde.css → 725eb03c18cc730c.css} +1 -1
  250. package/.next/static/css/be8ae7904992a245.css +1 -0
  251. package/.next/static/gQm9NqajOt7lJ9sjH6Hab/_buildManifest.js +1 -0
  252. package/.next/trace +7 -7
  253. package/.next/trace-build +1 -1
  254. package/README.md +1 -1
  255. package/next.config.ts +17 -1
  256. package/package.json +5 -5
  257. package/public/favicon.ico +0 -0
  258. package/public/favicon.svg +16 -0
  259. package/public/icons/apple-touch-icon.png +0 -0
  260. package/public/icons/icon-192.png +0 -0
  261. package/public/icons/icon-512.png +0 -0
  262. package/public/pi-web-mark.svg +3 -0
  263. package/.next/server/app/favicon.ico/route.js +0 -1
  264. package/.next/server/app/favicon.ico/route.js.nft.json +0 -1
  265. package/.next/server/app/favicon.ico.body +0 -0
  266. package/.next/server/app/favicon.ico.meta +0 -1
  267. package/.next/server/chunks/1515.js +0 -1
  268. package/.next/server/chunks/1555.js +0 -1
  269. package/.next/server/chunks/1601.js +0 -24
  270. package/.next/server/chunks/1625.js +0 -1
  271. package/.next/server/chunks/1800.js +0 -1
  272. package/.next/server/chunks/1860.js +0 -1
  273. package/.next/server/chunks/2075.js +0 -23
  274. package/.next/server/chunks/2106.js +0 -1
  275. package/.next/server/chunks/2169.js +0 -36
  276. package/.next/server/chunks/2190.js +0 -1
  277. package/.next/server/chunks/2408.js +0 -1
  278. package/.next/server/chunks/2452.js +0 -93
  279. package/.next/server/chunks/2744.js +0 -1
  280. package/.next/server/chunks/2903.js +0 -1
  281. package/.next/server/chunks/295.js +0 -1
  282. package/.next/server/chunks/3012.js +0 -1
  283. package/.next/server/chunks/3383.js +0 -27
  284. package/.next/server/chunks/3569.js +0 -1
  285. package/.next/server/chunks/3869.js +0 -8
  286. package/.next/server/chunks/3894.js +0 -1
  287. package/.next/server/chunks/4315.js +0 -1
  288. package/.next/server/chunks/4367.js +0 -1
  289. package/.next/server/chunks/4372.js +0 -1
  290. package/.next/server/chunks/4538.js +0 -24
  291. package/.next/server/chunks/4674.js +0 -1
  292. package/.next/server/chunks/4980.js +0 -1
  293. package/.next/server/chunks/5029.js +0 -1
  294. package/.next/server/chunks/5974.js +0 -77
  295. package/.next/server/chunks/6052.js +0 -141
  296. package/.next/server/chunks/611.js +0 -1
  297. package/.next/server/chunks/6337.js +0 -1
  298. package/.next/server/chunks/6366.js +0 -80
  299. package/.next/server/chunks/673.js +0 -287
  300. package/.next/server/chunks/6916.js +0 -226
  301. package/.next/server/chunks/703.js +0 -1
  302. package/.next/server/chunks/7233.js +0 -1
  303. package/.next/server/chunks/7265.js +0 -215
  304. package/.next/server/chunks/7561.js +0 -1
  305. package/.next/server/chunks/7710.js +0 -1
  306. package/.next/server/chunks/7744.js +0 -64
  307. package/.next/server/chunks/7790.js +0 -1
  308. package/.next/server/chunks/7872.js +0 -1
  309. package/.next/server/chunks/8106.js +0 -1
  310. package/.next/server/chunks/8294.js +0 -1
  311. package/.next/server/chunks/8333.js +0 -79
  312. package/.next/server/chunks/835.js +0 -1
  313. package/.next/server/chunks/8397.js +0 -41
  314. package/.next/server/chunks/8604.js +0 -115
  315. package/.next/server/chunks/8679.js +0 -1
  316. package/.next/server/chunks/8920.js +0 -62
  317. package/.next/server/chunks/922.js +0 -5
  318. package/.next/server/chunks/9486.js +0 -1
  319. package/.next/server/chunks/9509.js +0 -1
  320. package/.next/server/chunks/9510.js +0 -90
  321. package/.next/static/LkMtlo9B5W74YX7J-8ccI/_buildManifest.js +0 -1
  322. package/.next/static/chunks/103.23142a67b02246a8.js +0 -215
  323. package/.next/static/chunks/1032.12b382a9096ab2a4.js +0 -1
  324. package/.next/static/chunks/1278-b81177f3a674e4e0.js +0 -1
  325. package/.next/static/chunks/1327.09252bb80616cc3a.js +0 -1
  326. package/.next/static/chunks/1708.d029f8776e4578de.js +0 -1
  327. package/.next/static/chunks/1781.866132cea8e77cd0.js +0 -1
  328. package/.next/static/chunks/2081.47b6e9391094055f.js +0 -1
  329. package/.next/static/chunks/2181.ba21239d3ac39f81.js +0 -1
  330. package/.next/static/chunks/2258.4defa30121ef44a5.js +0 -1
  331. package/.next/static/chunks/2325.23caf22075e51aa5.js +0 -1
  332. package/.next/static/chunks/2356.523277bb8c6bf72a.js +0 -23
  333. package/.next/static/chunks/2418.b5d9e177e10a686e.js +0 -1
  334. package/.next/static/chunks/2480.cf27ca02e5b19761.js +0 -24
  335. package/.next/static/chunks/2539.c5a4f2fd8e421c70.js +0 -41
  336. package/.next/static/chunks/268.72794ee2773c2060.js +0 -80
  337. package/.next/static/chunks/2695.6f49435bae1e6f33.js +0 -90
  338. package/.next/static/chunks/2821.934bcf60fbdc28c6.js +0 -1
  339. package/.next/static/chunks/3251.0dce7a0a0ff67235.js +0 -1
  340. package/.next/static/chunks/3308.be8762955e7155d1.js +0 -73
  341. package/.next/static/chunks/3716.72bf4c9d7325debd.js +0 -1
  342. package/.next/static/chunks/4238.6f102dcbcf2ae339.js +0 -141
  343. package/.next/static/chunks/4424.fd0c93a807a333e1.js +0 -1
  344. package/.next/static/chunks/4866.d1060b4faf2ae1e2.js +0 -1
  345. package/.next/static/chunks/4970.8a63b4953b0e4946.js +0 -1
  346. package/.next/static/chunks/5020.9ac8d0dc8390bb6e.js +0 -1
  347. package/.next/static/chunks/5137.f163e94c74a94d01.js +0 -1
  348. package/.next/static/chunks/5242.7b643c6b3394cac1.js +0 -1
  349. package/.next/static/chunks/5361.afc00ab2626bacbf.js +0 -1
  350. package/.next/static/chunks/5521.cfdf2cfc6db31407.js +0 -1
  351. package/.next/static/chunks/5681.dd0e66b0de16e54b.js +0 -27
  352. package/.next/static/chunks/6121.eb9023b1cbc78ee2.js +0 -1
  353. package/.next/static/chunks/6161.4836cd7d031026bf.js +0 -1
  354. package/.next/static/chunks/6195.1153369f5f8b13a2.js +0 -24
  355. package/.next/static/chunks/6294.24f510c0c3e3714c.js +0 -1
  356. package/.next/static/chunks/6654.16f727522ec47f5a.js +0 -1
  357. package/.next/static/chunks/6794.f746d8fbbf248ecf.js +0 -93
  358. package/.next/static/chunks/7256.e07cf52d87d40252.js +0 -1
  359. package/.next/static/chunks/7268.236544be8e242c16.js +0 -1
  360. package/.next/static/chunks/7543.89f7b805ed0f2901.js +0 -1
  361. package/.next/static/chunks/8200.a36b9f8c983c6b9e.js +0 -5
  362. package/.next/static/chunks/869.7152372b662e31af.js +0 -1
  363. package/.next/static/chunks/8863.fa0320ea586efb3b.js +0 -1
  364. package/.next/static/chunks/8885.cf60cac98bf8b70c.js +0 -79
  365. package/.next/static/chunks/8901.e117d206a917bda0.js +0 -1
  366. package/.next/static/chunks/90542734.ae439f2382f58c51.js +0 -1
  367. package/.next/static/chunks/918.6a9bbe564e4a2d0f.js +0 -115
  368. package/.next/static/chunks/934.9006461bd0548660.js +0 -1
  369. package/.next/static/chunks/9445-fde6feabcb39142c.js +0 -7
  370. package/.next/static/chunks/9522.c7c6e9c330f9ba6b.js +0 -1
  371. package/.next/static/chunks/9614.3221013d7f0af27f.js +0 -64
  372. package/.next/static/chunks/9705.40a82b97f214e28b.js +0 -1
  373. package/.next/static/chunks/9764.2669775c6e107a01.js +0 -62
  374. package/.next/static/chunks/993e5495.8797001fcfcf2889.js +0 -62
  375. package/.next/static/chunks/9974.9a0f79beca65e8c4.js +0 -34
  376. package/.next/static/chunks/app/page-3c64134d63e2eff9.js +0 -232
  377. package/.next/static/chunks/bf2ff291.3a109dffc1fe84af.js +0 -122
  378. package/.next/static/chunks/db9d41be.e72ce090a86a3691.js +0 -1
  379. package/.next/static/chunks/framework-b33a8f5d57cd8d87.js +0 -1
  380. package/.next/static/chunks/webpack-25464d90fe89e601.js +0 -1
  381. package/.next/static/css/2ac0338d70747eca.css +0 -1
  382. /package/.next/static/{LkMtlo9B5W74YX7J-8ccI → gQm9NqajOt7lJ9sjH6Hab}/_ssgManifest.js +0 -0
@@ -1,80 +0,0 @@
1
- "use strict";exports.id=6366,exports.ids=[6366],exports.modules={1487:(a,b,c)=>{c.d(b,{P:()=>g});var d=c(45313),e=c(58715),f=c(95097),g=(0,f.K)((a,b,c,f)=>{a.attr("class",c);let{width:g,height:j,x:k,y:l}=h(a,b);(0,d.a$)(a,j,g,f);let m=i(k,l,g,j,b);a.attr("viewBox",m),e.R.debug(`viewBox configured: ${m} with padding: ${b}`)},"setupViewPortForSVG"),h=(0,f.K)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),i=(0,f.K)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox")},30917:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(95097),e=c(69085),f=(0,d.K)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")},56366:(a,b,c)=>{c.d(b,{diagram:()=>u});var d=c(30917),e=c(1487),f=c(78832);c(32844),c(11878),c(8312),c(7423),c(69819),c(59343),c(73669);var g=c(64922),h=c(45313),i=c(58715),j=c(95097),k=c(69085),l=c(75899),m=c(14120),n=function(){var a=(0,j.K)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52],c=[1,10],d=[1,11],e=[1,12],f=[1,13],g=[1,23],h=[1,24],i=[1,25],k=[1,26],l=[1,27],m=[1,19],n=[1,28],o=[1,29],p=[1,20],q=[1,18],r=[1,21],s=[1,22],t=[1,36],u=[1,37],v=[1,38],w=[1,39],x=[1,40],y=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52,66,67,68,69,70],z=[1,45],A=[1,46],B=[1,55],C=[40,48,50,51,52,71,72],D=[1,66],E=[1,64],F=[1,61],G=[1,65],H=[1,67],I=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,51,52,66,67,68,69,70],J=[66,67,68,69,70],K=[1,85],L=[1,84],M=[1,82],N=[1,83],O=[6,10,42,47],P=[6,10,13,41,42,47,48,49],Q=[1,93],R=[1,92],S=[1,91],T=[19,58],U=[1,102],V=[1,101],W=[19,58,61,63],X={trace:(0,j.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,DECIMAL_NUM:51,ENTITY_ONE:52,attribute:53,attributeType:54,attributeName:55,attributeKeyTypeList:56,attributeComment:57,ATTRIBUTE_WORD:58,"?":59,attributeKeyType:60,",":61,ATTRIBUTE_KEY:62,COMMENT:63,cardinality:64,relType:65,ZERO_OR_ONE:66,ZERO_OR_MORE:67,ONE_OR_MORE:68,ONLY_ONE:69,MD_PARENT:70,NON_IDENTIFYING:71,IDENTIFYING:72,WORD:73,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",51:"DECIMAL_NUM",52:"ENTITY_ONE",58:"ATTRIBUTE_WORD",59:"?",61:",",62:"ATTRIBUTE_KEY",63:"COMMENT",66:"ZERO_OR_ONE",67:"ZERO_OR_MORE",68:"ONE_OR_MORE",69:"ONLY_ONE",70:"MD_PARENT",71:"NON_IDENTIFYING",72:"IDENTIFYING",73:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[11,1],[11,1],[11,1],[18,1],[18,2],[53,2],[53,3],[53,3],[53,4],[54,1],[54,2],[55,1],[56,1],[56,3],[60,1],[57,1],[12,3],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[14,1],[14,1],[14,1]],performAction:(0,j.K)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:f[h-1].push(f[h]),this.$=f[h-1];break;case 4:case 5:case 55:case 56:case 57:case 58:case 82:case 65:case 67:case 70:this.$=f[h];break;case 8:d.addEntity(f[h-4]),d.addEntity(f[h-2]),d.addRelationship(f[h-4],f[h],f[h-2],f[h-3]);break;case 9:d.addEntity(f[h-8]),d.addEntity(f[h-4]),d.addRelationship(f[h-8],f[h],f[h-4],f[h-5]),d.setClass([f[h-8]],f[h-6]),d.setClass([f[h-4]],f[h-2]);break;case 10:d.addEntity(f[h-6]),d.addEntity(f[h-2]),d.addRelationship(f[h-6],f[h],f[h-2],f[h-3]),d.setClass([f[h-6]],f[h-4]);break;case 11:d.addEntity(f[h-6]),d.addEntity(f[h-4]),d.addRelationship(f[h-6],f[h],f[h-4],f[h-5]),d.setClass([f[h-4]],f[h-2]);break;case 12:d.addEntity(f[h-3]),d.addAttributes(f[h-3],f[h-1]);break;case 13:d.addEntity(f[h-5]),d.addAttributes(f[h-5],f[h-1]),d.setClass([f[h-5]],f[h-3]);break;case 14:d.addEntity(f[h-2]);break;case 15:d.addEntity(f[h-4]),d.setClass([f[h-4]],f[h-2]);break;case 16:d.addEntity(f[h]);break;case 17:d.addEntity(f[h-2]),d.setClass([f[h-2]],f[h]);break;case 18:d.addEntity(f[h-6],f[h-4]),d.addAttributes(f[h-6],f[h-1]);break;case 19:d.addEntity(f[h-8],f[h-6]),d.addAttributes(f[h-8],f[h-1]),d.setClass([f[h-8]],f[h-3]);break;case 20:d.addEntity(f[h-5],f[h-3]);break;case 21:d.addEntity(f[h-7],f[h-5]),d.setClass([f[h-7]],f[h-2]);break;case 22:d.addEntity(f[h-3],f[h-1]);break;case 23:d.addEntity(f[h-5],f[h-3]),d.setClass([f[h-5]],f[h]);break;case 24:case 25:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 26:case 27:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 32:d.setDirection("TB");break;case 33:d.setDirection("BT");break;case 34:d.setDirection("RL");break;case 35:d.setDirection("LR");break;case 36:this.$=f[h-3],d.addClass(f[h-2],f[h-1]);break;case 37:case 38:case 59:case 68:case 43:this.$=[f[h]];break;case 39:case 40:this.$=f[h-2].concat([f[h]]);break;case 41:this.$=f[h-2],d.setClass(f[h-1],f[h]);break;case 42:this.$=f[h-3],d.addCssStyles(f[h-2],f[h-1]);break;case 44:case 69:f[h-2].push(f[h]),this.$=f[h-2];break;case 46:case 66:this.$=f[h-1]+f[h];break;case 54:case 80:case 81:case 71:this.$=f[h].replace(/"/g,"");break;case 60:f[h].push(f[h-1]),this.$=f[h];break;case 61:this.$={type:f[h-1],name:f[h]};break;case 62:this.$={type:f[h-2],name:f[h-1],keys:f[h]};break;case 63:this.$={type:f[h-2],name:f[h-1],comment:f[h]};break;case 64:this.$={type:f[h-3],name:f[h-2],keys:f[h-1],comment:f[h]};break;case 72:this.$={cardA:f[h],relType:f[h-1],cardB:f[h-2]};break;case 73:this.$=d.Cardinality.ZERO_OR_ONE;break;case 74:this.$=d.Cardinality.ZERO_OR_MORE;break;case 75:this.$=d.Cardinality.ONE_OR_MORE;break;case 76:this.$=d.Cardinality.ONLY_ONE;break;case 77:this.$=d.Cardinality.MD_PARENT;break;case 78:this.$=d.Identification.NON_IDENTIFYING;break;case 79:this.$=d.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},a(b,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:c,24:d,26:e,28:f,29:14,30:15,31:16,32:17,33:g,34:h,35:i,36:k,37:l,40:m,43:n,44:o,48:p,50:q,51:r,52:s},a(b,[2,7],{1:[2,1]}),a(b,[2,3]),{9:30,11:9,22:c,24:d,26:e,28:f,29:14,30:15,31:16,32:17,33:g,34:h,35:i,36:k,37:l,40:m,43:n,44:o,48:p,50:q,51:r,52:s},a(b,[2,5]),a(b,[2,6]),a(b,[2,16],{12:31,64:35,15:[1,32],17:[1,33],20:[1,34],66:t,67:u,68:v,69:w,70:x}),{23:[1,41]},{25:[1,42]},{27:[1,43]},a(b,[2,27]),a(b,[2,28]),a(b,[2,29]),a(b,[2,30]),a(b,[2,31]),a(y,[2,54]),a(y,[2,55]),a(y,[2,56]),a(y,[2,57]),a(y,[2,58]),a(b,[2,32]),a(b,[2,33]),a(b,[2,34]),a(b,[2,35]),{16:44,40:z,41:A},{16:47,40:z,41:A},{16:48,40:z,41:A},a(b,[2,4]),{11:49,40:m,48:p,50:q,51:r,52:s},{16:50,40:z,41:A},{18:51,19:[1,52],53:53,54:54,58:B},{11:56,40:m,48:p,50:q,51:r,52:s},{65:57,71:[1,58],72:[1,59]},a(C,[2,73]),a(C,[2,74]),a(C,[2,75]),a(C,[2,76]),a(C,[2,77]),a(b,[2,24]),a(b,[2,25]),a(b,[2,26]),{13:D,38:60,41:E,42:F,45:62,46:63,48:G,49:H},a(I,[2,37]),a(I,[2,38]),{16:68,40:z,41:A,42:F},{13:D,38:69,41:E,42:F,45:62,46:63,48:G,49:H},{13:[1,70],15:[1,71]},a(b,[2,17],{64:35,12:72,17:[1,73],42:F,66:t,67:u,68:v,69:w,70:x}),{19:[1,74]},a(b,[2,14]),{18:75,19:[2,59],53:53,54:54,58:B},{55:76,58:[1,77]},{58:[2,65],59:[1,78]},{21:[1,79]},{64:80,66:t,67:u,68:v,69:w,70:x},a(J,[2,78]),a(J,[2,79]),{6:K,10:L,39:81,42:M,47:N},{40:[1,86],41:[1,87]},a(O,[2,43],{46:88,13:D,41:E,48:G,49:H}),a(P,[2,45]),a(P,[2,50]),a(P,[2,51]),a(P,[2,52]),a(P,[2,53]),a(b,[2,41],{42:F}),{6:K,10:L,39:89,42:M,47:N},{14:90,40:Q,50:R,73:S},{16:94,40:z,41:A},{11:95,40:m,48:p,50:q,51:r,52:s},{18:96,19:[1,97],53:53,54:54,58:B},a(b,[2,12]),{19:[2,60]},a(T,[2,61],{56:98,57:99,60:100,62:U,63:V}),a([19,58,62,63],[2,67]),{58:[2,66]},a(b,[2,22],{15:[1,104],17:[1,103]}),a([40,48,50,51,52],[2,72]),a(b,[2,36]),{13:D,41:E,45:105,46:63,48:G,49:H},a(b,[2,47]),a(b,[2,48]),a(b,[2,49]),a(I,[2,39]),a(I,[2,40]),a(P,[2,46]),a(b,[2,42]),a(b,[2,8]),a(b,[2,80]),a(b,[2,81]),a(b,[2,82]),{13:[1,106],42:F},{13:[1,108],15:[1,107]},{19:[1,109]},a(b,[2,15]),a(T,[2,62],{57:110,61:[1,111],63:V}),a(T,[2,63]),a(W,[2,68]),a(T,[2,71]),a(W,[2,70]),{18:112,19:[1,113],53:53,54:54,58:B},{16:114,40:z,41:A},a(O,[2,44],{46:88,13:D,41:E,48:G,49:H}),{14:115,40:Q,50:R,73:S},{16:116,40:z,41:A},{14:117,40:Q,50:R,73:S},a(b,[2,13]),a(T,[2,64]),{60:118,62:U},{19:[1,119]},a(b,[2,20]),a(b,[2,23],{17:[1,120],42:F}),a(b,[2,11]),{13:[1,121],42:F},a(b,[2,10]),a(W,[2,69]),a(b,[2,18]),{18:122,19:[1,123],53:53,54:54,58:B},{14:124,40:Q,50:R,73:S},{19:[1,125]},a(b,[2,21]),a(b,[2,9]),a(b,[2,19])],defaultActions:{75:[2,60],78:[2,66]},parseError:(0,j.K)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,j.K)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",i=0,k=0,l=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,j.K)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,j.K)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(i+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,h=n.yytext,i=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,k,i,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function Y(){this.yy={}}return X.lexer={EOF:1,parseError:(0,j.K)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,j.K)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,j.K)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,j.K)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,j.K)(function(){return this._more=!0,this},"more"),reject:(0,j.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,j.K)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,j.K)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,j.K)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,j.K)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,j.K)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,j.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,j.K)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,j.K)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,j.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,j.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,j.K)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,j.K)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,j.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,j.K)(function(a,b,c,d){switch(c){case 0:return this.begin("acc_title"),24;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),26;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 29:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 33;case 8:return 34;case 9:return 35;case 10:return 36;case 11:return 10;case 12:case 23:case 31:case 38:break;case 13:return 8;case 14:return 50;case 15:return 73;case 16:return 4;case 17:return this.begin("block"),17;case 18:case 19:case 41:return 49;case 20:case 40:return 42;case 21:return 15;case 22:case 39:return 13;case 24:return 62;case 25:case 26:case 28:return 58;case 27:this.begin("block_bq");break;case 30:return 63;case 32:return this.popState(),19;case 33:case 80:return b.yytext[0];case 34:return 20;case 35:return 21;case 36:return this.begin("style"),44;case 37:return this.popState(),10;case 42:return this.begin("style"),37;case 43:return 43;case 44:case 48:case 49:case 67:return 66;case 45:case 46:case 47:case 55:case 57:case 69:return 68;case 50:case 51:case 52:case 53:case 54:case 56:case 68:return 67;case 58:case 59:case 61:case 62:case 63:case 66:return 69;case 60:return 51;case 64:return 52;case 65:return 48;case 70:return 70;case 71:case 74:case 75:case 76:return 71;case 72:case 73:return 72;case 77:return 41;case 78:return 47;case 79:return 40;case 81:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,/^(?:[`])/i,/^(?:[^`]+)/i,/^(?:[`])/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[37,38,39,40,41,77,78],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block_bq:{rules:[28,29],inclusive:!1},block:{rules:[23,24,25,26,27,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,34,35,36,42,43,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,75,76,79,80,81],inclusive:!0}}},(0,j.K)(Y,"Parser"),Y.prototype=X,X.Parser=Y,new Y}();n.parser=n;var o=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=h.SV,this.getAccTitle=h.iN,this.setAccDescription=h.EI,this.getAccDescription=h.m7,this.setDiagramTitle=h.ke,this.getDiagramTitle=h.ab,this.getConfig=(0,j.K)(()=>(0,h.D7)().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{(0,j.K)(this,"ErDB")}addEntity(a,b=""){return this.entities.has(a)?!this.entities.get(a)?.alias&&b&&(this.entities.get(a).alias=b,i.R.info(`Add alias '${b}' to entity '${a}'`)):(this.entities.set(a,{id:`entity-${a}-${this.entities.size}`,label:a,attributes:[],alias:b,shape:"erBox",look:(0,h.D7)().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),i.R.info("Added new entity :",a)),this.entities.get(a)}getEntity(a){return this.entities.get(a)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(a,b){let c,d=this.addEntity(a);for(c=b.length-1;c>=0;c--)b[c].keys||(b[c].keys=[]),b[c].comment||(b[c].comment=""),d.attributes.push(b[c]),i.R.debug("Added attribute ",b[c].name)}addRelationship(a,b,c,d){let e=this.entities.get(a),f=this.entities.get(c);if(!e||!f)return;let g={entityA:e.id,roleA:b,entityB:f.id,relSpec:d};this.relationships.push(g),i.R.debug("Added new relationship :",g)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(a){this.direction=a}getCompiledStyles(a){let b=[];for(let c of a){let a=this.classes.get(c);a?.styles&&(b=[...b,...a.styles??[]].map(a=>a.trim())),a?.textStyles&&(b=[...b,...a.textStyles??[]].map(a=>a.trim()))}return b}addCssStyles(a,b){for(let c of a){let a=this.entities.get(c);if(!b||!a)return;for(let c of b)a.cssStyles.push(c)}}addClass(a,b){a.forEach(a=>{let c=this.classes.get(a);void 0===c&&(c={id:a,styles:[],textStyles:[]},this.classes.set(a,c)),b&&b.forEach(function(a){if(/color/.exec(a)){let b=a.replace("fill","bgFill");c.textStyles.push(b)}c.styles.push(a)})})}setClass(a,b){for(let c of a){let a=this.entities.get(c);if(a)for(let c of b)a.cssClasses+=" "+c}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],(0,h.IU)()}getData(){let a=[],b=[],c=(0,h.D7)(),d=0;for(let b of this.entities.keys()){let c=this.entities.get(b);c&&(c.cssCompiledStyles=this.getCompiledStyles(c.cssClasses.split(" ")),c.colorIndex=d++,a.push(c))}let e=0;for(let a of this.relationships){let d={id:(0,g.rY)(a.entityA,a.entityB,{prefix:"id",counter:e++}),type:"normal",curve:"basis",start:a.entityA,end:a.entityB,label:a.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:a.relSpec.cardB.toLowerCase(),arrowTypeEnd:a.relSpec.cardA.toLowerCase(),pattern:"IDENTIFYING"==a.relSpec.relType?"solid":"dashed",look:c.look,labelType:"markdown"};b.push(d)}return{nodes:a,edges:b,other:{},config:c,direction:"TB"}}},p={};(0,j.V)(p,{draw:()=>q});var q=(0,j.K)(async function(a,b,c,j){i.R.info("REF0:"),i.R.info("Drawing er diagram (unified)",b);let{securityLevel:l,er:m,layout:n}=(0,h.D7)(),o=j.db.getData(),p=(0,d.A)(b,l);o.type=j.type,o.layoutAlgorithm=(0,f.q7)(n),o.config.flowchart.nodeSpacing=m?.nodeSpacing||140,o.config.flowchart.rankSpacing=m?.rankSpacing||80,o.direction=j.db.getDirection();let{config:q}=o,{look:r}=q;"neo"===r?o.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"]:o.markers=["only_one","zero_or_one","one_or_more","zero_or_more"],o.diagramId=b,await (0,f.XX)(o,p),"elk"===o.layoutAlgorithm&&p.select(".edges").lower();let s=p.selectAll('[id*="-background"]');Array.from(s).length>0&&s.each(function(){let a=(0,k.Ltv)(this),b=a.attr("id").replace("-background",""),c=p.select(`#${CSS.escape(b)}`);if(!c.empty()){let b=c.attr("transform");a.attr("transform",b)}}),g._K.insertTitle(p,"erDiagramTitleText",m?.titleTopMargin??25,j.db.getDiagramTitle()),(0,e.P)(p,8,"erDiagram",m?.useMaxWidth??!0)},"draw"),r=(0,j.K)((a,b)=>{let c=l.A,d=c(a,"r"),e=c(a,"g"),f=c(a,"b");return m.A(d,e,f,b)},"fade"),s=new Set(["redux-color","redux-dark-color"]),t=(0,j.K)(a=>{let{theme:b,look:c,bkgColorArray:d,borderColorArray:e}=a;if(!s.has(b))return"";let f=d?.length>0,g="";for(let b=0;b<a.THEME_COLOR_LIMIT;b++)g+=`
2
-
3
- [data-look="${c}"][data-color-id="color-${b}"].node path {
4
- stroke: ${e[b]};
5
- ${f?`fill: ${d[b]};`:""}
6
- }
7
-
8
- [data-look="${c}"][data-color-id="color-${b}"].node rect {
9
- stroke: ${e[b]};
10
- ${f?`fill: ${d[b]};`:""}
11
- }
12
- `;return g},"genColor"),u={parser:n,get db(){return new o},renderer:p,styles:(0,j.K)(a=>{let{look:b,theme:c,erEdgeLabelBackground:d,strokeWidth:e}=a;return`
13
- ${t(a)}
14
- .entityBox {
15
- fill: ${a.mainBkg};
16
- stroke: ${a.nodeBorder};
17
- }
18
-
19
- .relationshipLabelBox {
20
- fill: ${a.tertiaryColor};
21
- opacity: 0.7;
22
- background-color: ${a.tertiaryColor};
23
- rect {
24
- opacity: 0.5;
25
- }
26
- }
27
-
28
- .labelBkg {
29
- background-color: ${s.has(c)&&d?d:r(a.tertiaryColor,.5)};
30
- }
31
-
32
- .edgeLabel {
33
- background-color: ${s.has(c)&&d?d:a.edgeLabelBackground};
34
- }
35
- .edgeLabel .label rect {
36
- fill: ${s.has(c)&&d?d:a.edgeLabelBackground};
37
- }
38
- .edgeLabel .label text {
39
- fill: ${a.textColor};
40
- }
41
-
42
- .edgeLabel .label {
43
- fill: ${a.nodeBorder};
44
- font-size: 14px;
45
- }
46
-
47
- .label {
48
- font-family: ${a.fontFamily};
49
- color: ${a.nodeTextColor||a.textColor};
50
- }
51
-
52
- .edge-pattern-dashed {
53
- stroke-dasharray: 8,8;
54
- }
55
-
56
- .node rect,
57
- .node circle,
58
- .node ellipse,
59
- .node polygon
60
- {
61
- fill: ${a.mainBkg};
62
- stroke: ${a.nodeBorder};
63
- stroke-width: ${"neo"===b?e:"1px"};
64
- }
65
-
66
- .relationshipLine {
67
- stroke: ${a.lineColor};
68
- stroke-width: ${"neo"===b?e:"1px"};
69
- fill: none;
70
- }
71
-
72
- .marker {
73
- fill: none !important;
74
- stroke: ${a.lineColor} !important;
75
- stroke-width: 1;
76
- }
77
- [data-look=neo].labelBkg {
78
- background-color: ${r(a.tertiaryColor,.5)};
79
- }
80
- `},"getStyles")}},75899:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(73946),e=c(363);let f=(a,b)=>d.A.lang.round(e.A.parse(a)[b])}};
@@ -1,287 +0,0 @@
1
- exports.id=673,exports.ids=[673],exports.modules={2388:function(a){a.exports=function(a,b){var c=b.prototype,d=c.format;c.format=function(a){var b=this,c=this.$locale();if(!this.isValid())return d.bind(this)(a);var e=this.$utils(),f=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(a){switch(a){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return c.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return c.ordinal(b.week(),"W");case"w":case"ww":return e.s(b.week(),"w"===a?1:2,"0");case"W":case"WW":return e.s(b.isoWeek(),"W"===a?1:2,"0");case"k":case"kk":return e.s(String(0===b.$H?24:b.$H),"k"===a?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return a}});return d.bind(this)(f)}}},13580:function(a){a.exports=function(){"use strict";var a={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},b=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,c=/\d/,d=/\d\d/,e=/\d\d?/,f=/\d*[^-_:/,()\s\d]+/,g={},h=function(a){return(a*=1)+(a>68?1900:2e3)},i=function(a){return function(b){this[a]=+b}},j=[/[+-]\d\d:?(\d\d)?|Z/,function(a){(this.zone||(this.zone={})).offset=function(a){if(!a||"Z"===a)return 0;var b=a.match(/([+-]|\d\d)/g),c=60*b[1]+(+b[2]||0);return 0===c?0:"+"===b[0]?-c:c}(a)}],k=function(a){var b=g[a];return b&&(b.indexOf?b:b.s.concat(b.f))},l=function(a,b){var c,d=g.meridiem;if(d){for(var e=1;e<=24;e+=1)if(a.indexOf(d(e,0,b))>-1){c=e>12;break}}else c=a===(b?"pm":"PM");return c},m={A:[f,function(a){this.afternoon=l(a,!1)}],a:[f,function(a){this.afternoon=l(a,!0)}],Q:[c,function(a){this.month=3*(a-1)+1}],S:[c,function(a){this.milliseconds=100*a}],SS:[d,function(a){this.milliseconds=10*a}],SSS:[/\d{3}/,function(a){this.milliseconds=+a}],s:[e,i("seconds")],ss:[e,i("seconds")],m:[e,i("minutes")],mm:[e,i("minutes")],H:[e,i("hours")],h:[e,i("hours")],HH:[e,i("hours")],hh:[e,i("hours")],D:[e,i("day")],DD:[d,i("day")],Do:[f,function(a){var b=g.ordinal,c=a.match(/\d+/);if(this.day=c[0],b)for(var d=1;d<=31;d+=1)b(d).replace(/\[|\]/g,"")===a&&(this.day=d)}],w:[e,i("week")],ww:[d,i("week")],M:[e,i("month")],MM:[d,i("month")],MMM:[f,function(a){var b=k("months"),c=(k("monthsShort")||b.map(function(a){return a.slice(0,3)})).indexOf(a)+1;if(c<1)throw Error();this.month=c%12||c}],MMMM:[f,function(a){var b=k("months").indexOf(a)+1;if(b<1)throw Error();this.month=b%12||b}],Y:[/[+-]?\d+/,i("year")],YY:[d,function(a){this.year=h(a)}],YYYY:[/\d{4}/,i("year")],Z:j,ZZ:j};return function(c,d,e){e.p.customParseFormat=!0,c&&c.parseTwoDigitYear&&(h=c.parseTwoDigitYear);var f=d.prototype,i=f.parse;f.parse=function(c){var d=c.date,f=c.utc,h=c.args;this.$u=f;var j=h[1];if("string"==typeof j){var k=!0===h[2],l=!0===h[3],n=h[2];l&&(n=h[2]),g=this.$locale(),!k&&n&&(g=e.Ls[n]),this.$d=function(c,d,e,f){try{if(["x","X"].indexOf(d)>-1)return new Date(("X"===d?1e3:1)*c);var h=(function(c){var d,e;d=c,e=g&&g.formats;for(var f=(c=d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(b,c,d){var f=d&&d.toUpperCase();return c||e[d]||a[d]||e[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(a,b,c){return b||c.slice(1)})})).match(b),h=f.length,i=0;i<h;i+=1){var j=f[i],k=m[j],l=k&&k[0],n=k&&k[1];f[i]=n?{regex:l,parser:n}:j.replace(/^\[|\]$/g,"")}return function(a){for(var b={},c=0,d=0;c<h;c+=1){var e=f[c];if("string"==typeof e)d+=e.length;else{var g=e.regex,i=e.parser,j=a.slice(d),k=g.exec(j)[0];i.call(b,k),a=a.replace(k,"")}}return function(a){var b=a.afternoon;if(void 0!==b){var c=a.hours;b?c<12&&(a.hours+=12):12===c&&(a.hours=0),delete a.afternoon}}(b),b}})(d)(c),i=h.year,j=h.month,k=h.day,l=h.hours,n=h.minutes,o=h.seconds,p=h.milliseconds,q=h.zone,r=h.week,s=new Date,t=k||(i||j?1:s.getDate()),u=i||s.getFullYear(),v=0;i&&!j||(v=j>0?j-1:s.getMonth());var w,x=l||0,y=n||0,z=o||0,A=p||0;return q?new Date(Date.UTC(u,v,t,x,y,z,A+60*q.offset*1e3)):e?new Date(Date.UTC(u,v,t,x,y,z,A)):(w=new Date(u,v,t,x,y,z,A),r&&(w=f(w).week(r).toDate()),w)}catch(a){return new Date("")}}(d,j,f,e),this.init(),n&&!0!==n&&(this.$L=this.locale(n).$L),(k||l)&&d!=this.format(j)&&(this.$d=new Date("")),g={}}else if(j instanceof Array)for(var o=j.length,p=1;p<=o;p+=1){h[1]=j[p-1];var q=e.apply(this,h);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}p===o&&(this.$d=new Date(""))}else i.call(this,c)}}}()},41317:function(a){a.exports=function(){"use strict";var a,b,c=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,e={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},f=function(a){return a instanceof l},g=function(a,b,c){return new l(a,c,b.$l)},h=function(a){return b.p(a)+"s"},i=function(a){return a<0},j=function(a){return i(a)?Math.ceil(a):Math.floor(a)},k=function(a,b){return a?i(a)?{negative:!0,format:""+Math.abs(a)+b}:{negative:!1,format:""+a+b}:{negative:!1,format:""}},l=function(){function i(a,b,c){var f=this;if(this.$d={},this.$l=c,void 0===a&&(this.$ms=0,this.parseFromMilliseconds()),b)return g(a*e[h(b)],this);if("number"==typeof a)return this.$ms=a,this.parseFromMilliseconds(),this;if("object"==typeof a)return Object.keys(a).forEach(function(b){f.$d[h(b)]=a[b]}),this.calMilliseconds(),this;if("string"==typeof a){var i=a.match(d);if(i){var j=i.slice(2).map(function(a){return null!=a?Number(a):0});return this.$d.years=j[0],this.$d.months=j[1],this.$d.weeks=j[2],this.$d.days=j[3],this.$d.hours=j[4],this.$d.minutes=j[5],this.$d.seconds=j[6],this.calMilliseconds(),this}}return this}var l=i.prototype;return l.calMilliseconds=function(){var a=this;this.$ms=Object.keys(this.$d).reduce(function(b,c){return b+(a.$d[c]||0)*e[c]},0)},l.parseFromMilliseconds=function(){var a=this.$ms;this.$d.years=j(a/31536e6),a%=31536e6,this.$d.months=j(a/2628e6),a%=2628e6,this.$d.days=j(a/864e5),a%=864e5,this.$d.hours=j(a/36e5),a%=36e5,this.$d.minutes=j(a/6e4),a%=6e4,this.$d.seconds=j(a/1e3),a%=1e3,this.$d.milliseconds=a},l.toISOString=function(){var a=k(this.$d.years,"Y"),b=k(this.$d.months,"M"),c=+this.$d.days||0;this.$d.weeks&&(c+=7*this.$d.weeks);var d=k(c,"D"),e=k(this.$d.hours,"H"),f=k(this.$d.minutes,"M"),g=this.$d.seconds||0;this.$d.milliseconds&&(g+=this.$d.milliseconds/1e3,g=Math.round(1e3*g)/1e3);var h=k(g,"S"),i=a.negative||b.negative||d.negative||e.negative||f.negative||h.negative,j=e.format||f.format||h.format?"T":"",l=(i?"-":"")+"P"+a.format+b.format+d.format+j+e.format+f.format+h.format;return"P"===l||"-P"===l?"P0D":l},l.toJSON=function(){return this.toISOString()},l.format=function(a){var d={Y:this.$d.years,YY:b.s(this.$d.years,2,"0"),YYYY:b.s(this.$d.years,4,"0"),M:this.$d.months,MM:b.s(this.$d.months,2,"0"),D:this.$d.days,DD:b.s(this.$d.days,2,"0"),H:this.$d.hours,HH:b.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:b.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:b.s(this.$d.seconds,2,"0"),SSS:b.s(this.$d.milliseconds,3,"0")};return(a||"YYYY-MM-DDTHH:mm:ss").replace(c,function(a,b){return b||String(d[a])})},l.as=function(a){return this.$ms/e[h(a)]},l.get=function(a){var b=this.$ms,c=h(a);return"milliseconds"===c?b%=1e3:b="weeks"===c?j(b/e[c]):this.$d[c],b||0},l.add=function(a,b,c){var d;return d=b?a*e[h(b)]:f(a)?a.$ms:g(a,this).$ms,g(this.$ms+d*(c?-1:1),this)},l.subtract=function(a,b){return this.add(a,b,!0)},l.locale=function(a){var b=this.clone();return b.$l=a,b},l.clone=function(){return g(this.$ms,this)},l.humanize=function(b){return a().add(this.$ms,"ms").locale(this.$l).fromNow(!b)},l.valueOf=function(){return this.asMilliseconds()},l.milliseconds=function(){return this.get("milliseconds")},l.asMilliseconds=function(){return this.as("milliseconds")},l.seconds=function(){return this.get("seconds")},l.asSeconds=function(){return this.as("seconds")},l.minutes=function(){return this.get("minutes")},l.asMinutes=function(){return this.as("minutes")},l.hours=function(){return this.get("hours")},l.asHours=function(){return this.as("hours")},l.days=function(){return this.get("days")},l.asDays=function(){return this.as("days")},l.weeks=function(){return this.get("weeks")},l.asWeeks=function(){return this.as("weeks")},l.months=function(){return this.get("months")},l.asMonths=function(){return this.as("months")},l.years=function(){return this.get("years")},l.asYears=function(){return this.as("years")},i}(),m=function(a,b,c){return a.add(b.years()*c,"y").add(b.months()*c,"M").add(b.days()*c,"d").add(b.hours()*c,"h").add(b.minutes()*c,"m").add(b.seconds()*c,"s").add(b.milliseconds()*c,"ms")};return function(c,d,e){a=e,b=e().$utils(),e.duration=function(a,b){return g(a,{$l:e.locale()},b)},e.isDuration=f;var h=d.prototype.add,i=d.prototype.subtract;d.prototype.add=function(a,b){return f(a)?m(this,a,1):h.bind(this)(a,b)},d.prototype.subtract=function(a,b){return f(a)?m(this,a,-1):i.bind(this)(a,b)}}}()},60673:(a,b,c)=>{"use strict";c.d(b,{diagram:()=>aN});var d,e,f,g=c(64922),h=c(45313),i=c(58715),j=c(95097),k=c(65207),l=c(29434),m=c(68660),n=c(13580),o=c(2388),p=c(41317),q=c(69085),r=function(){var a=(0,j.K)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],c=[1,26],d=[1,27],e=[1,28],f=[1,29],g=[1,30],h=[1,31],i=[1,32],k=[1,33],l=[1,34],m=[1,9],n=[1,10],o=[1,11],p=[1,12],q=[1,13],r=[1,14],s=[1,15],t=[1,16],u=[1,19],v=[1,20],w=[1,21],x=[1,22],y=[1,23],z=[1,25],A=[1,35],B={trace:(0,j.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:(0,j.K)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 1:return f[h-1];case 2:case 6:case 7:this.$=[];break;case 3:f[h-1].push(f[h]),this.$=f[h-1];break;case 4:case 5:this.$=f[h];break;case 8:d.setWeekday("monday");break;case 9:d.setWeekday("tuesday");break;case 10:d.setWeekday("wednesday");break;case 11:d.setWeekday("thursday");break;case 12:d.setWeekday("friday");break;case 13:d.setWeekday("saturday");break;case 14:d.setWeekday("sunday");break;case 15:d.setWeekend("friday");break;case 16:d.setWeekend("saturday");break;case 17:d.setDateFormat(f[h].substr(11)),this.$=f[h].substr(11);break;case 18:d.enableInclusiveEndDates(),this.$=f[h].substr(18);break;case 19:d.TopAxis(),this.$=f[h].substr(8);break;case 20:d.setAxisFormat(f[h].substr(11)),this.$=f[h].substr(11);break;case 21:d.setTickInterval(f[h].substr(13)),this.$=f[h].substr(13);break;case 22:d.setExcludes(f[h].substr(9)),this.$=f[h].substr(9);break;case 23:d.setIncludes(f[h].substr(9)),this.$=f[h].substr(9);break;case 24:d.setTodayMarker(f[h].substr(12)),this.$=f[h].substr(12);break;case 27:d.setDiagramTitle(f[h].substr(6)),this.$=f[h].substr(6);break;case 28:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 29:case 30:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 31:d.addSection(f[h].substr(8)),this.$=f[h].substr(8);break;case 33:d.addTask(f[h-1],f[h]),this.$="task";break;case 34:this.$=f[h-1],d.setClickEvent(f[h-1],f[h],null);break;case 35:this.$=f[h-2],d.setClickEvent(f[h-2],f[h-1],f[h]);break;case 36:this.$=f[h-2],d.setClickEvent(f[h-2],f[h-1],null),d.setLink(f[h-2],f[h]);break;case 37:this.$=f[h-3],d.setClickEvent(f[h-3],f[h-2],f[h-1]),d.setLink(f[h-3],f[h]);break;case 38:this.$=f[h-2],d.setClickEvent(f[h-2],f[h],null),d.setLink(f[h-2],f[h-1]);break;case 39:this.$=f[h-3],d.setClickEvent(f[h-3],f[h-1],f[h]),d.setLink(f[h-3],f[h-2]);break;case 40:this.$=f[h-1],d.setLink(f[h-1],f[h]);break;case 41:case 47:this.$=f[h-1]+" "+f[h];break;case 42:case 43:case 45:this.$=f[h-2]+" "+f[h-1]+" "+f[h];break;case 44:case 46:this.$=f[h-3]+" "+f[h-2]+" "+f[h-1]+" "+f[h]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},a(b,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:c,13:d,14:e,15:f,16:g,17:h,18:i,19:18,20:k,21:l,22:m,23:n,24:o,25:p,26:q,27:r,28:s,29:t,30:u,31:v,33:w,35:x,36:y,37:24,38:z,40:A},a(b,[2,7],{1:[2,1]}),a(b,[2,3]),{9:36,11:17,12:c,13:d,14:e,15:f,16:g,17:h,18:i,19:18,20:k,21:l,22:m,23:n,24:o,25:p,26:q,27:r,28:s,29:t,30:u,31:v,33:w,35:x,36:y,37:24,38:z,40:A},a(b,[2,5]),a(b,[2,6]),a(b,[2,17]),a(b,[2,18]),a(b,[2,19]),a(b,[2,20]),a(b,[2,21]),a(b,[2,22]),a(b,[2,23]),a(b,[2,24]),a(b,[2,25]),a(b,[2,26]),a(b,[2,27]),{32:[1,37]},{34:[1,38]},a(b,[2,30]),a(b,[2,31]),a(b,[2,32]),{39:[1,39]},a(b,[2,8]),a(b,[2,9]),a(b,[2,10]),a(b,[2,11]),a(b,[2,12]),a(b,[2,13]),a(b,[2,14]),a(b,[2,15]),a(b,[2,16]),{41:[1,40],43:[1,41]},a(b,[2,4]),a(b,[2,28]),a(b,[2,29]),a(b,[2,33]),a(b,[2,34],{42:[1,42],43:[1,43]}),a(b,[2,40],{41:[1,44]}),a(b,[2,35],{43:[1,45]}),a(b,[2,36]),a(b,[2,38],{42:[1,46]}),a(b,[2,37]),a(b,[2,39])],defaultActions:{},parseError:(0,j.K)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,j.K)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",i=0,k=0,l=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,j.K)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,j.K)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(i+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,h=n.yytext,i=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,k,i,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function C(){this.yy={}}return B.lexer={EOF:1,parseError:(0,j.K)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,j.K)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,j.K)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,j.K)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,j.K)(function(){return this._more=!0,this},"more"),reject:(0,j.K)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,j.K)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,j.K)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,j.K)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,j.K)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,j.K)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,j.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,j.K)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,j.K)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,j.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,j.K)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,j.K)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,j.K)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,j.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,j.K)(function(a,b,c,d){switch(c){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),31;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),33;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 43;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 41;case 22:return 42;case 23:this.begin("click");break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return"date";case 45:return 30;case 46:return"accDescription";case 47:return 36;case 48:return 38;case 49:return 39;case 50:return":";case 51:return 6;case 52:return"INVALID"}},"anonymous"),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,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],inclusive:!0}}},(0,j.K)(C,"Parser"),C.prototype=B,B.Parser=C,new C}();r.parser=r,l.extend(m),l.extend(n),l.extend(o);var s={friday:5,saturday:6},t="",u="",v=void 0,w="",x=[],y=[],z=new Map,A=[],B=[],C="",D="",E=["active","done","crit","milestone","vert"],F=[],G="",H=!1,I=!1,J="sunday",K="saturday",L=0,M=(0,j.K)(function(){A=[],B=[],C="",F=[],as=0,d=void 0,e=void 0,aw=[],t="",u="",D="",v=void 0,w="",x=[],y=[],H=!1,I=!1,L=0,z=new Map,G="",(0,h.IU)(),J="sunday",K="saturday"},"clear"),N=(0,j.K)(function(a){G=a},"setDiagramId"),O=(0,j.K)(function(a){u=a},"setAxisFormat"),P=(0,j.K)(function(){return u},"getAxisFormat"),Q=(0,j.K)(function(a){v=a},"setTickInterval"),R=(0,j.K)(function(){return v},"getTickInterval"),S=(0,j.K)(function(a){w=a},"setTodayMarker"),T=(0,j.K)(function(){return w},"getTodayMarker"),U=(0,j.K)(function(a){t=a},"setDateFormat"),V=(0,j.K)(function(){H=!0},"enableInclusiveEndDates"),W=(0,j.K)(function(){return H},"endDatesAreInclusive"),X=(0,j.K)(function(){I=!0},"enableTopAxis"),Y=(0,j.K)(function(){return I},"topAxisEnabled"),Z=(0,j.K)(function(a){D=a},"setDisplayMode"),$=(0,j.K)(function(){return D},"getDisplayMode"),_=(0,j.K)(function(){return t},"getDateFormat"),aa=(0,j.K)((a,b)=>[...new Set([...a,...b.toLowerCase().split(/[\s,]+/).filter(a=>""!==a)])],"mergeTokens"),ab=(0,j.K)(function(a){x=aa(x,a)},"setIncludes"),ac=(0,j.K)(function(){return x},"getIncludes"),ad=(0,j.K)(function(a){y=aa(y,a)},"setExcludes"),ae=(0,j.K)(function(){return y},"getExcludes"),af=(0,j.K)(function(){return z},"getLinks"),ag=(0,j.K)(function(a){C=a,A.push(a)},"addSection"),ah=(0,j.K)(function(){return A},"getSections"),ai=(0,j.K)(function(){let a=aB(),b=0;for(;!a&&b<10;)a=aB(),b++;return B=aw},"getTasks"),aj=(0,j.K)(function(a,b,c,d){let e=a.format(b.trim()),f=a.format("YYYY-MM-DD");return!(d.includes(e)||d.includes(f))&&(!!(c.includes("weekends")&&(a.isoWeekday()===s[K]||a.isoWeekday()===s[K]+1)||c.includes(a.format("dddd").toLowerCase()))||c.includes(e)||c.includes(f))},"isInvalidDate"),ak=(0,j.K)(function(a){J=a},"setWeekday"),al=(0,j.K)(function(){return J},"getWeekday"),am=(0,j.K)(function(a){K=a},"setWeekend"),an=(0,j.K)(function(a,b,c,d){let e;if(!c.length||a.manualEndTime)return;let[f,g]=ao(e=(e=a.startTime instanceof Date?l(a.startTime):l(a.startTime,b,!0)).add(1,"d"),a.endTime instanceof Date?l(a.endTime):l(a.endTime,b,!0),b,c,d);a.endTime=f.toDate(),a.renderEndTime=g},"checkTaskDates"),ao=(0,j.K)(function(a,b,c,d,e){let f=!1,g=null,h=b.add(1e4,"d");for(;a<=b;){if(f||(g=b.toDate()),(f=aj(a,c,d,e))&&(b=b.add(1,"d"))>h)throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");a=a.add(1,"d")}return[b,g]},"fixTaskDates"),ap=(0,j.K)(function(a,b,c){if(c=c.trim(),(0,j.K)(a=>{let b=a.trim();return"x"===b||"X"===b},"isTimestampFormat")(b)&&/^\d+$/.test(c))return new Date(Number(c));let d=/^after\s+(?<ids>[\d\w- ]+)/.exec(c);if(null!==d){let a=null;for(let b of d.groups.ids.split(" ")){let c=az(b);void 0!==c&&(!a||c.endTime>a.endTime)&&(a=c)}if(a)return a.endTime;let b=new Date;return b.setHours(0,0,0,0),b}let e=l(c,b.trim(),!0);if(e.isValid())return e.toDate();{i.R.debug("Invalid date:"+c),i.R.debug("With date format:"+b.trim());let a=new Date(c);if(void 0===a||isNaN(a.getTime())||-1e4>a.getFullYear()||a.getFullYear()>1e4)throw Error("Invalid date:"+c);return a}},"getStartDate"),aq=(0,j.K)(function(a){let b=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(a.trim());return null!==b?[Number.parseFloat(b[1]),b[2]]:[NaN,"ms"]},"parseDuration"),ar=(0,j.K)(function(a,b,c,d=!1){c=c.trim();let e=/^until\s+(?<ids>[\d\w- ]+)/.exec(c);if(null!==e){let a=null;for(let b of e.groups.ids.split(" ")){let c=az(b);void 0!==c&&(!a||c.startTime<a.startTime)&&(a=c)}if(a)return a.startTime;let b=new Date;return b.setHours(0,0,0,0),b}let f=l(c,b.trim(),!0);if(f.isValid())return d&&(f=f.add(1,"d")),f.toDate();let g=l(a),[h,i]=aq(c);if(!Number.isNaN(h)){let a=g.add(h,i);a.isValid()&&(g=a)}return g.toDate()},"getEndDate"),as=0,at=(0,j.K)(function(a){return void 0===a?"task"+(as+=1):a},"parseId"),au=(0,j.K)(function(a,b){let c=(":"===b.substr(0,1)?b.substr(1,b.length):b).split(","),d={};aJ(c,d,E);for(let a=0;a<c.length;a++)c[a]=c[a].trim();let e="";switch(c.length){case 1:d.id=at(),d.startTime=a.endTime,e=c[0];break;case 2:d.id=at(),d.startTime=ap(void 0,t,c[0]),e=c[1];break;case 3:d.id=at(c[0]),d.startTime=ap(void 0,t,c[1]),e=c[2]}return e&&(d.endTime=ar(d.startTime,t,e,H),d.manualEndTime=l(e,"YYYY-MM-DD",!0).isValid(),an(d,t,y,x)),d},"compileData"),av=(0,j.K)(function(a,b){let c=(":"===b.substr(0,1)?b.substr(1,b.length):b).split(","),d={};aJ(c,d,E);for(let a=0;a<c.length;a++)c[a]=c[a].trim();switch(c.length){case 1:d.id=at(),d.startTime={type:"prevTaskEnd",id:a},d.endTime={data:c[0]};break;case 2:d.id=at(),d.startTime={type:"getStartDate",startData:c[0]},d.endTime={data:c[1]};break;case 3:d.id=at(c[0]),d.startTime={type:"getStartDate",startData:c[1]},d.endTime={data:c[2]}}return d},"parseData"),aw=[],ax={},ay=(0,j.K)(function(a,b){let c={section:C,type:C,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:b},task:a,classes:[]},d=av(e,b);c.raw.startTime=d.startTime,c.raw.endTime=d.endTime,c.id=d.id,c.prevTaskId=e,c.active=d.active,c.done=d.done,c.crit=d.crit,c.milestone=d.milestone,c.vert=d.vert,c.vert?c.order=-1:(c.order=L,L++);let f=aw.push(c);e=c.id,ax[c.id]=f-1},"addTask"),az=(0,j.K)(function(a){return aw[ax[a]]},"findTaskById"),aA=(0,j.K)(function(a,b){let c={section:C,type:C,description:a,task:a,classes:[]},e=au(d,b);c.startTime=e.startTime,c.endTime=e.endTime,c.id=e.id,c.active=e.active,c.done=e.done,c.crit=e.crit,c.milestone=e.milestone,c.vert=e.vert,d=c,B.push(c)},"addTaskOrg"),aB=(0,j.K)(function(){let a=(0,j.K)(function(a){let b=aw[a],c="";switch(aw[a].raw.startTime.type){case"prevTaskEnd":{let a=az(b.prevTaskId);b.startTime=a.endTime;break}case"getStartDate":(c=ap(void 0,t,aw[a].raw.startTime.startData))&&(aw[a].startTime=c)}return aw[a].startTime&&(aw[a].endTime=ar(aw[a].startTime,t,aw[a].raw.endTime.data,H),aw[a].endTime&&(aw[a].processed=!0,aw[a].manualEndTime=l(aw[a].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),an(aw[a],t,y,x))),aw[a].processed},"compileTask"),b=!0;for(let[c,d]of aw.entries())a(c),b=b&&d.processed;return b},"compileTasks"),aC=(0,j.K)(function(a,b){let c=b;"loose"!==(0,h.D7)().securityLevel&&(c=(0,k.J)(b)),a.split(",").forEach(function(a){void 0!==az(a)&&(aF(a,()=>{window.open(c,"_self")}),z.set(a,c))}),aD(a,"clickable")},"setLink"),aD=(0,j.K)(function(a,b){a.split(",").forEach(function(a){let c=az(a);void 0!==c&&c.classes.push(b)})},"setClass"),aE=(0,j.K)(function(a,b,c){if("loose"!==(0,h.D7)().securityLevel||void 0===b)return;let d=[];if("string"==typeof c){d=c.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let a=0;a<d.length;a++){let b=d[a].trim();b.startsWith('"')&&b.endsWith('"')&&(b=b.substr(1,b.length-2)),d[a]=b}}0===d.length&&d.push(a),void 0!==az(a)&&aF(a,()=>{g._K.runFunc(b,...d)})},"setClickFun"),aF=(0,j.K)(function(a,b){F.push(function(){let c=G?`${G}-${a}`:a,d=document.querySelector(`[id="${c}"]`);null!==d&&d.addEventListener("click",function(){b()})},function(){let c=G?`${G}-${a}`:a,d=document.querySelector(`[id="${c}-text"]`);null!==d&&d.addEventListener("click",function(){b()})})},"pushFun"),aG=(0,j.K)(function(a,b,c){a.split(",").forEach(function(a){aE(a,b,c)}),aD(a,"clickable")},"setClickEvent"),aH=(0,j.K)(function(a){F.forEach(function(b){b(a)})},"bindFunctions"),aI={getConfig:(0,j.K)(()=>(0,h.D7)().gantt,"getConfig"),clear:M,setDateFormat:U,getDateFormat:_,enableInclusiveEndDates:V,endDatesAreInclusive:W,enableTopAxis:X,topAxisEnabled:Y,setAxisFormat:O,getAxisFormat:P,setTickInterval:Q,getTickInterval:R,setTodayMarker:S,getTodayMarker:T,setAccTitle:h.SV,getAccTitle:h.iN,setDiagramTitle:h.ke,getDiagramTitle:h.ab,setDiagramId:N,setDisplayMode:Z,getDisplayMode:$,setAccDescription:h.EI,getAccDescription:h.m7,addSection:ag,getSections:ah,getTasks:ai,addTask:ay,findTaskById:az,addTaskOrg:aA,setIncludes:ab,getIncludes:ac,setExcludes:ad,getExcludes:ae,setClickEvent:aG,setLink:aC,getLinks:af,bindFunctions:aH,parseDuration:aq,isInvalidDate:aj,setWeekday:ak,getWeekday:al,setWeekend:am};function aJ(a,b,c){let d=!0;for(;d;)d=!1,c.forEach(function(c){let e=RegExp("^\\s*"+c+"\\s*$");a[0].match(e)&&(b[c]=!0,a.shift(1),d=!0)})}(0,j.K)(aJ,"getTaskTags"),l.extend(p);var aK=(0,j.K)(function(){i.R.debug("Something is calling, setConf, remove the call")},"setConf"),aL={monday:q.ABi,tuesday:q.PGu,wednesday:q.GuW,thursday:q.Mol,friday:q.TUC,saturday:q.rGn,sunday:q.YPH},aM=(0,j.K)((a,b)=>{let c=[...a].map(()=>-1/0),d=[...a].sort((a,b)=>a.startTime-b.startTime||a.order-b.order),e=0;for(let a of d)for(let d=0;d<c.length;d++)if(a.startTime>=c[d]){c[d]=a.endTime,a.order=d+b,d>e&&(e=d);break}return e},"getMaxIntersections"),aN={parser:r,db:aI,renderer:{setConf:aK,draw:(0,j.K)(function(a,b,c,d){let e,g=(0,h.D7)().gantt;d.db.setDiagramId(b);let k=(0,h.D7)().securityLevel;"sandbox"===k&&(e=(0,q.Ltv)("#i"+b));let m="sandbox"===k?(0,q.Ltv)(e.nodes()[0].contentDocument.body):(0,q.Ltv)("body"),n="sandbox"===k?e.nodes()[0].contentDocument:document,o=n.getElementById(b);void 0===(f=o.parentElement.offsetWidth)&&(f=1200),void 0!==g.useWidth&&(f=g.useWidth);let p=d.db.getTasks(),r=p.filter(a=>!a.vert),s=[];for(let a of r)s.push(a.type);s=F(s);let t={},u=2*g.topPadding;if("compact"===d.db.getDisplayMode()||"compact"===g.displayMode){let a={};for(let b of r)void 0===a[b.section]?a[b.section]=[b]:a[b.section].push(b);let b=0;for(let c of Object.keys(a)){let d=aM(a[c],b)+1;b+=d,u+=d*(g.barHeight+g.barGap),t[c]=d}}else for(let a of(u+=r.length*(g.barHeight+g.barGap),s))t[a]=r.filter(b=>b.type===a).length;o.setAttribute("viewBox","0 0 "+f+" "+u);let v=m.select(`[id="${b}"]`),w=(0,q.w7C)().domain([(0,q.jkA)(p,function(a){return a.startTime}),(0,q.T9B)(p,function(a){return a.endTime})]).rangeRound([0,f-g.leftPadding-g.rightPadding]);function x(a,b){let c=a.startTime,d=b.startTime,e=0;return c>d?e=1:c<d&&(e=-1),e}function y(a,b,c){let e=g.barHeight,f=e+g.barGap,h=g.topPadding,i=g.leftPadding,j=(0,q.m4Y)().domain([0,s.length]).range(["#00B9FA","#F95002"]).interpolate(q.bEH);A(f,h,i,b,c,a,d.db.getExcludes(),d.db.getIncludes()),C(i,h,b,c),z(a,f,h,i,e,j,b),D(f,h),E(i,h,b,c)}function z(a,c,e,f,i,j,k){a.sort((a,b)=>a.vert===b.vert?0:a.vert?1:-1);let l=a.filter(a=>!a.vert),m=[...new Set(l.map(a=>a.order))].map(a=>l.find(b=>b.order===a));v.append("g").selectAll("rect").data(m).enter().append("rect").attr("x",0).attr("y",function(a,b){return a.order*c+e-2}).attr("width",function(){return k-g.rightPadding/2}).attr("height",c).attr("class",function(a){for(let[b,c]of s.entries())if(a.type===c)return"section section"+b%g.numberSectionStyles;return"section section0"}).enter();let n=v.append("g").selectAll("rect").data(a).enter(),o=d.db.getLinks();if(n.append("rect").attr("id",function(a){return b+"-"+a.id}).attr("rx",3).attr("ry",3).attr("x",function(a){return a.milestone?w(a.startTime)+f+.5*(w(a.endTime)-w(a.startTime))-.5*i:w(a.startTime)+f}).attr("y",function(a,b){return(b=a.order,a.vert)?g.gridLineStartPadding:b*c+e}).attr("width",function(a){return a.milestone?i:a.vert?.08*i:w(a.renderEndTime||a.endTime)-w(a.startTime)}).attr("height",function(a){return a.vert?l.length*(g.barHeight+g.barGap)+2*g.barHeight:i}).attr("transform-origin",function(a,b){return b=a.order,(w(a.startTime)+f+.5*(w(a.endTime)-w(a.startTime))).toString()+"px "+(b*c+e+.5*i).toString()+"px"}).attr("class",function(a){let b="";a.classes.length>0&&(b=a.classes.join(" "));let c=0;for(let[b,d]of s.entries())a.type===d&&(c=b%g.numberSectionStyles);let d="";return a.active?a.crit?d+=" activeCrit":d=" active":a.done?d=a.crit?" doneCrit":" done":a.crit&&(d+=" crit"),0===d.length&&(d=" task"),a.milestone&&(d=" milestone "+d),a.vert&&(d=" vert "+d),d+=c,"task"+(d+=" "+b)}),n.append("text").attr("id",function(a){return b+"-"+a.id+"-text"}).text(function(a){return a.task}).attr("font-size",g.fontSize).attr("x",function(a){let b=w(a.startTime),c=w(a.renderEndTime||a.endTime);if(a.milestone&&(b+=.5*(w(a.endTime)-w(a.startTime))-.5*i,c=b+i),a.vert)return w(a.startTime)+f;let d=this.getBBox().width;return d>c-b?c+d+1.5*g.leftPadding>k?b+f-5:c+f+5:(c-b)/2+b+f}).attr("y",function(a,b){return a.vert?g.gridLineStartPadding+l.length*(g.barHeight+g.barGap)+60:a.order*c+g.barHeight/2+(g.fontSize/2-2)+e}).attr("text-height",i).attr("class",function(a){let b=w(a.startTime),c=w(a.endTime);a.milestone&&(c=b+i);let d=this.getBBox().width,e="";a.classes.length>0&&(e=a.classes.join(" "));let f=0;for(let[b,c]of s.entries())a.type===c&&(f=b%g.numberSectionStyles);let h="";return(a.active&&(h=a.crit?"activeCritText"+f:"activeText"+f),a.done?h=a.crit?h+" doneCritText"+f:h+" doneText"+f:a.crit&&(h=h+" critText"+f),a.milestone&&(h+=" milestoneText"),a.vert&&(h+=" vertText"),d>c-b)?c+d+1.5*g.leftPadding>k?e+" taskTextOutsideLeft taskTextOutside"+f+" "+h:e+" taskTextOutsideRight taskTextOutside"+f+" "+h+" width-"+d:e+" taskText taskText"+f+" "+h+" width-"+d}),"sandbox"===(0,h.D7)().securityLevel){let a=(0,q.Ltv)("#i"+b).nodes()[0].contentDocument;n.filter(function(a){return o.has(a.id)}).each(function(c){var d=a.querySelector("#"+CSS.escape(b+"-"+c.id)),e=a.querySelector("#"+CSS.escape(b+"-"+c.id+"-text"));let f=d.parentNode;var g=a.createElement("a");g.setAttribute("xlink:href",o.get(c.id)),g.setAttribute("target","_top"),f.appendChild(g),g.appendChild(d),g.appendChild(e)})}}function A(a,c,e,f,h,j,k,m){let n,o;if(0===k.length&&0===m.length)return;for(let{startTime:a,endTime:b}of j)(void 0===n||a<n)&&(n=a),(void 0===o||b>o)&&(o=b);if(!n||!o)return;if(l(o).diff(l(n),"year")>5)return void i.R.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");let p=d.db.getDateFormat(),q=[],r=null,s=l(n);for(;s.valueOf()<=o;)d.db.isInvalidDate(s,p,k,m)?r?r.end=s:r={start:s,end:s}:r&&(q.push(r),r=null),s=s.add(1,"d");v.append("g").selectAll("rect").data(q).enter().append("rect").attr("id",a=>b+"-exclude-"+a.start.format("YYYY-MM-DD")).attr("x",a=>w(a.start.startOf("day"))+e).attr("y",g.gridLineStartPadding).attr("width",a=>w(a.end.endOf("day"))-w(a.start.startOf("day"))).attr("height",h-c-g.gridLineStartPadding).attr("transform-origin",function(b,c){return(w(b.start)+e+.5*(w(b.end)-w(b.start))).toString()+"px "+(c*a+.5*h).toString()+"px"}).attr("class","exclude-range")}function B(a,b,c,d){if(c<=0||a>b)return 1/0;let e=l.duration({[d??"day"]:c}).asMilliseconds();return e<=0?1/0:Math.ceil((b-a)/e)}function C(a,b,c,e){let f,h=d.db.getDateFormat(),j=d.db.getAxisFormat();f=j||("D"===h?"%d":g.axisFormat??"%Y-%m-%d");let k=(0,q.l78)(w).tickSize(-e+b+g.gridLineStartPadding).tickFormat((0,q.DCK)(f)),l=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(d.db.getTickInterval()||g.tickInterval);if(null!==l){let a=parseInt(l[1],10);if(isNaN(a)||a<=0)i.R.warn(`Invalid tick interval value: "${l[1]}". Skipping custom tick interval.`);else{let b=l[2],c=d.db.getWeekday()||g.weekday,e=w.domain(),f=B(e[0],e[1],a,b);if(f>1e4)i.R.warn(`The tick interval "${a}${b}" would generate ${f} ticks, which exceeds the maximum allowed (10000). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(b){case"millisecond":k.ticks(q.t6C.every(a));break;case"second":k.ticks(q.ucG.every(a));break;case"minute":k.ticks(q.wXd.every(a));break;case"hour":k.ticks(q.Agd.every(a));break;case"day":k.ticks(q.UAC.every(a));break;case"week":k.ticks(aL[c].every(a));break;case"month":k.ticks(q.Ui6.every(a))}}}if(v.append("g").attr("class","grid").attr("transform","translate("+a+", "+(e-50)+")").call(k).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),d.db.topAxisEnabled()||g.topAxis){let c=(0,q.tlR)(w).tickSize(-e+b+g.gridLineStartPadding).tickFormat((0,q.DCK)(f));if(null!==l){let a=parseInt(l[1],10);if(isNaN(a)||a<=0)i.R.warn(`Invalid tick interval value: "${l[1]}". Skipping custom tick interval.`);else{let b=l[2],e=d.db.getWeekday()||g.weekday,f=w.domain();if(1e4>=B(f[0],f[1],a,b))switch(b){case"millisecond":c.ticks(q.t6C.every(a));break;case"second":c.ticks(q.ucG.every(a));break;case"minute":c.ticks(q.wXd.every(a));break;case"hour":c.ticks(q.Agd.every(a));break;case"day":c.ticks(q.UAC.every(a));break;case"week":c.ticks(aL[e].every(a));break;case"month":c.ticks(q.Ui6.every(a))}}}v.append("g").attr("class","grid").attr("transform","translate("+a+", "+b+")").call(c).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function D(a,b){let c=0,d=Object.keys(t).map(a=>[a,t[a]]);v.append("g").selectAll("text").data(d).enter().append(function(a){let b=a[0].split(h.Y2.lineBreakRegex),c=-(b.length-1)/2,d=n.createElementNS("http://www.w3.org/2000/svg","text");for(let[a,e]of(d.setAttribute("dy",c+"em"),b.entries())){let b=n.createElementNS("http://www.w3.org/2000/svg","tspan");b.setAttribute("alignment-baseline","central"),b.setAttribute("x","10"),a>0&&b.setAttribute("dy","1em"),b.textContent=e,d.appendChild(b)}return d}).attr("x",10).attr("y",function(e,f){if(!(f>0))return e[1]*a/2+b;for(let g=0;g<f;g++)return c+=d[f-1][1],e[1]*a/2+c*a+b}).attr("font-size",g.sectionFontSize).attr("class",function(a){for(let[b,c]of s.entries())if(a[0]===c)return"sectionTitle sectionTitle"+b%g.numberSectionStyles;return"sectionTitle"})}function E(a,b,c,e){let f=d.db.getTodayMarker();if("off"===f)return;let h=v.append("g").attr("class","today"),i=new Date,j=h.append("line");j.attr("x1",w(i)+a).attr("x2",w(i)+a).attr("y1",g.titleTopMargin).attr("y2",e-g.titleTopMargin).attr("class","today"),""!==f&&j.attr("style",f.replace(/,/g,";"))}function F(a){let b={},c=[];for(let d=0,e=a.length;d<e;++d)Object.prototype.hasOwnProperty.call(b,a[d])||(b[a[d]]=!0,c.push(a[d]));return c}(0,j.K)(x,"taskCompare"),p.sort(x),y(p,f,u),(0,h.a$)(v,u,f,g.useMaxWidth),v.append("text").text(d.db.getDiagramTitle()).attr("x",f/2).attr("y",g.titleTopMargin).attr("class","titleText"),(0,j.K)(y,"makeGantt"),(0,j.K)(z,"drawRects"),(0,j.K)(A,"drawExcludeDays"),(0,j.K)(B,"getEstimatedTickCount"),(0,j.K)(C,"makeGrid"),(0,j.K)(D,"vertLabels"),(0,j.K)(E,"drawToday"),(0,j.K)(F,"checkUnique")},"draw")},styles:(0,j.K)(a=>`
2
- .mermaid-main-font {
3
- font-family: ${a.fontFamily};
4
- }
5
-
6
- .exclude-range {
7
- fill: ${a.excludeBkgColor};
8
- }
9
-
10
- .section {
11
- stroke: none;
12
- opacity: 0.2;
13
- }
14
-
15
- .section0 {
16
- fill: ${a.sectionBkgColor};
17
- }
18
-
19
- .section2 {
20
- fill: ${a.sectionBkgColor2};
21
- }
22
-
23
- .section1,
24
- .section3 {
25
- fill: ${a.altSectionBkgColor};
26
- opacity: 0.2;
27
- }
28
-
29
- .sectionTitle0 {
30
- fill: ${a.titleColor};
31
- }
32
-
33
- .sectionTitle1 {
34
- fill: ${a.titleColor};
35
- }
36
-
37
- .sectionTitle2 {
38
- fill: ${a.titleColor};
39
- }
40
-
41
- .sectionTitle3 {
42
- fill: ${a.titleColor};
43
- }
44
-
45
- .sectionTitle {
46
- text-anchor: start;
47
- font-family: ${a.fontFamily};
48
- }
49
-
50
-
51
- /* Grid and axis */
52
-
53
- .grid .tick {
54
- stroke: ${a.gridColor};
55
- opacity: 0.8;
56
- shape-rendering: crispEdges;
57
- }
58
-
59
- .grid .tick text {
60
- font-family: ${a.fontFamily};
61
- fill: ${a.textColor};
62
- }
63
-
64
- .grid path {
65
- stroke-width: 0;
66
- }
67
-
68
-
69
- /* Today line */
70
-
71
- .today {
72
- fill: none;
73
- stroke: ${a.todayLineColor};
74
- stroke-width: 2px;
75
- }
76
-
77
-
78
- /* Task styling */
79
-
80
- /* Default task */
81
-
82
- .task {
83
- stroke-width: 2;
84
- }
85
-
86
- .taskText {
87
- text-anchor: middle;
88
- font-family: ${a.fontFamily};
89
- }
90
-
91
- .taskTextOutsideRight {
92
- fill: ${a.taskTextDarkColor};
93
- text-anchor: start;
94
- font-family: ${a.fontFamily};
95
- }
96
-
97
- .taskTextOutsideLeft {
98
- fill: ${a.taskTextDarkColor};
99
- text-anchor: end;
100
- }
101
-
102
-
103
- /* Special case clickable */
104
-
105
- .task.clickable {
106
- cursor: pointer;
107
- }
108
-
109
- .taskText.clickable {
110
- cursor: pointer;
111
- fill: ${a.taskTextClickableColor} !important;
112
- font-weight: bold;
113
- }
114
-
115
- .taskTextOutsideLeft.clickable {
116
- cursor: pointer;
117
- fill: ${a.taskTextClickableColor} !important;
118
- font-weight: bold;
119
- }
120
-
121
- .taskTextOutsideRight.clickable {
122
- cursor: pointer;
123
- fill: ${a.taskTextClickableColor} !important;
124
- font-weight: bold;
125
- }
126
-
127
-
128
- /* Specific task settings for the sections*/
129
-
130
- .taskText0,
131
- .taskText1,
132
- .taskText2,
133
- .taskText3 {
134
- fill: ${a.taskTextColor};
135
- }
136
-
137
- .task0,
138
- .task1,
139
- .task2,
140
- .task3 {
141
- fill: ${a.taskBkgColor};
142
- stroke: ${a.taskBorderColor};
143
- }
144
-
145
- .taskTextOutside0,
146
- .taskTextOutside2
147
- {
148
- fill: ${a.taskTextOutsideColor};
149
- }
150
-
151
- .taskTextOutside1,
152
- .taskTextOutside3 {
153
- fill: ${a.taskTextOutsideColor};
154
- }
155
-
156
-
157
- /* Active task */
158
-
159
- .active0,
160
- .active1,
161
- .active2,
162
- .active3 {
163
- fill: ${a.activeTaskBkgColor};
164
- stroke: ${a.activeTaskBorderColor};
165
- }
166
-
167
- .activeText0,
168
- .activeText1,
169
- .activeText2,
170
- .activeText3 {
171
- fill: ${a.taskTextDarkColor} !important;
172
- }
173
-
174
-
175
- /* Completed task */
176
-
177
- .done0,
178
- .done1,
179
- .done2,
180
- .done3 {
181
- stroke: ${a.doneTaskBorderColor};
182
- fill: ${a.doneTaskBkgColor};
183
- stroke-width: 2;
184
- }
185
-
186
- .doneText0,
187
- .doneText1,
188
- .doneText2,
189
- .doneText3 {
190
- fill: ${a.taskTextDarkColor} !important;
191
- }
192
-
193
- /* Done task text displayed outside the bar sits against the diagram background,
194
- not against the done-task bar, so it must use the outside/contrast color. */
195
- .doneText0.taskTextOutsideLeft,
196
- .doneText0.taskTextOutsideRight,
197
- .doneText1.taskTextOutsideLeft,
198
- .doneText1.taskTextOutsideRight,
199
- .doneText2.taskTextOutsideLeft,
200
- .doneText2.taskTextOutsideRight,
201
- .doneText3.taskTextOutsideLeft,
202
- .doneText3.taskTextOutsideRight {
203
- fill: ${a.taskTextOutsideColor} !important;
204
- }
205
-
206
-
207
- /* Tasks on the critical line */
208
-
209
- .crit0,
210
- .crit1,
211
- .crit2,
212
- .crit3 {
213
- stroke: ${a.critBorderColor};
214
- fill: ${a.critBkgColor};
215
- stroke-width: 2;
216
- }
217
-
218
- .activeCrit0,
219
- .activeCrit1,
220
- .activeCrit2,
221
- .activeCrit3 {
222
- stroke: ${a.critBorderColor};
223
- fill: ${a.activeTaskBkgColor};
224
- stroke-width: 2;
225
- }
226
-
227
- .doneCrit0,
228
- .doneCrit1,
229
- .doneCrit2,
230
- .doneCrit3 {
231
- stroke: ${a.critBorderColor};
232
- fill: ${a.doneTaskBkgColor};
233
- stroke-width: 2;
234
- cursor: pointer;
235
- shape-rendering: crispEdges;
236
- }
237
-
238
- .milestone {
239
- transform: rotate(45deg) scale(0.8,0.8);
240
- }
241
-
242
- .milestoneText {
243
- font-style: italic;
244
- }
245
- .doneCritText0,
246
- .doneCritText1,
247
- .doneCritText2,
248
- .doneCritText3 {
249
- fill: ${a.taskTextDarkColor} !important;
250
- }
251
-
252
- /* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */
253
- .doneCritText0.taskTextOutsideLeft,
254
- .doneCritText0.taskTextOutsideRight,
255
- .doneCritText1.taskTextOutsideLeft,
256
- .doneCritText1.taskTextOutsideRight,
257
- .doneCritText2.taskTextOutsideLeft,
258
- .doneCritText2.taskTextOutsideRight,
259
- .doneCritText3.taskTextOutsideLeft,
260
- .doneCritText3.taskTextOutsideRight {
261
- fill: ${a.taskTextOutsideColor} !important;
262
- }
263
-
264
- .vert {
265
- stroke: ${a.vertLineColor};
266
- }
267
-
268
- .vertText {
269
- font-size: 15px;
270
- text-anchor: middle;
271
- fill: ${a.vertLineColor} !important;
272
- }
273
-
274
- .activeCritText0,
275
- .activeCritText1,
276
- .activeCritText2,
277
- .activeCritText3 {
278
- fill: ${a.taskTextDarkColor} !important;
279
- }
280
-
281
- .titleText {
282
- text-anchor: middle;
283
- font-size: 18px;
284
- fill: ${a.titleColor||a.textColor};
285
- font-family: ${a.fontFamily};
286
- }
287
- `,"getStyles")}},68660:function(a){a.exports=function(a,b,c){var d=function(a){return a.add(4-a.isoWeekday(),"day")},e=b.prototype;e.isoWeekYear=function(){return d(this).year()},e.isoWeek=function(a){if(!this.$utils().u(a))return this.add(7*(a-this.isoWeek()),"day");var b,e,f,g=d(this),h=(b=this.isoWeekYear(),f=4-(e=(this.$u?c.utc:c)().year(b).startOf("year")).isoWeekday(),e.isoWeekday()>4&&(f+=7),e.add(f,"day"));return g.diff(h,"week")+1},e.isoWeekday=function(a){return this.$utils().u(a)?this.day()||7:this.day(this.day()%7?a:a-7)};var f=e.startOf;e.startOf=function(a,b){var c=this.$utils(),d=!!c.u(b)||b;return"isoweek"===c.p(a)?d?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):f.bind(this)(a,b)}}}};