@henlii/pidance 0.2.34 → 0.2.36

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 (268) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +11 -10
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/required-server-files.json +1 -1
  6. package/.next/routes-manifest.json +6 -0
  7. package/.next/server/app/_global-error/page.js +3 -3
  8. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/_global-error.html +1 -1
  10. package/.next/server/app/_global-error.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_index.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 +2 -2
  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 +3 -3
  21. package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  22. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  23. package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
  24. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  25. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  26. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  27. package/.next/server/app/api/about/route.js +1 -1
  28. package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
  29. package/.next/server/app/api/agent/[id]/events/route.js +2 -2
  30. package/.next/server/app/api/agent/[id]/route.js +1 -1
  31. package/.next/server/app/api/agent/new/route.js +1 -1
  32. package/.next/server/app/api/agent/running/events/route.js +2 -2
  33. package/.next/server/app/api/agent/running/route.js +1 -1
  34. package/.next/server/app/api/agent/submissions/[submissionId]/route.js +1 -1
  35. package/.next/server/app/api/agent-settings/route.js +2 -2
  36. package/.next/server/app/api/attachments/route.js +1 -1
  37. package/.next/server/app/api/auth/all-providers/route.js +1 -1
  38. package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
  39. package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
  40. package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
  41. package/.next/server/app/api/auth/providers/route.js +1 -1
  42. package/.next/server/app/api/auth/ui-session/route.js +1 -1
  43. package/.next/server/app/api/auth/ui-sessions/[id]/route.js +1 -1
  44. package/.next/server/app/api/auth/ui-sessions/route.js +1 -1
  45. package/.next/server/app/api/cwd/browse/route.js +1 -1
  46. package/.next/server/app/api/cwd/create/route.js +1 -1
  47. package/.next/server/app/api/cwd/validate/route.js +1 -1
  48. package/.next/server/app/api/default-cwd/route.js +1 -1
  49. package/.next/server/app/api/file-index/route.js +1 -1
  50. package/.next/server/app/api/files/[...path]/route.js +1 -1
  51. package/.next/server/app/api/files/save-as/route.js +1 -0
  52. package/.next/server/app/api/files/save-as/route_client-reference-manifest.js +1 -0
  53. package/.next/server/app/api/git/diff/route.js +1 -1
  54. package/.next/server/app/api/git/status/route.js +1 -1
  55. package/.next/server/app/api/home/route.js +1 -1
  56. package/.next/server/app/api/message-media/route.js +1 -1
  57. package/.next/server/app/api/models/route.js +1 -1
  58. package/.next/server/app/api/models-config/raw/route.js +1 -1
  59. package/.next/server/app/api/models-config/route.js +1 -1
  60. package/.next/server/app/api/models-config/test/route.js +1 -1
  61. package/.next/server/app/api/plugins/route.js +1 -1
  62. package/.next/server/app/api/plugins/search/route.js +1 -1
  63. package/.next/server/app/api/plugins/updates/route.js +1 -1
  64. package/.next/server/app/api/preferences/route.js +1 -1
  65. package/.next/server/app/api/project-assets/route.js +2 -2
  66. package/.next/server/app/api/prompts/route.js +1 -1
  67. package/.next/server/app/api/pty/route.js +2 -2
  68. package/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
  69. package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
  70. package/.next/server/app/api/sessions/[id]/command-entry/route.js +1 -1
  71. package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
  72. package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
  73. package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
  74. package/.next/server/app/api/sessions/[id]/info/route.js +1 -1
  75. package/.next/server/app/api/sessions/[id]/outline/route.js +1 -1
  76. package/.next/server/app/api/sessions/[id]/route.js +1 -1
  77. package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
  78. package/.next/server/app/api/sessions/[id]/tool-results/[toolCallId]/route.js +1 -1
  79. package/.next/server/app/api/sessions/route.js +1 -1
  80. package/.next/server/app/api/sessions/search/route.js +1 -1
  81. package/.next/server/app/api/settings/raw/route.js +2 -2
  82. package/.next/server/app/api/settings/remote/route.js +1 -1
  83. package/.next/server/app/api/skills/check/route.js +1 -1
  84. package/.next/server/app/api/skills/install/route.js +1 -1
  85. package/.next/server/app/api/skills/route.js +1 -1
  86. package/.next/server/app/api/skills/search/route.js +1 -1
  87. package/.next/server/app/api/skills/update/route.js +1 -1
  88. package/.next/server/app/api/subagent-runs/route.js +1 -1
  89. package/.next/server/app/api/update/apply/route.js +2 -2
  90. package/.next/server/app/api/update/check/route.js +1 -1
  91. package/.next/server/app/icon.png/route.js +1 -1
  92. package/.next/server/app/index.html +1 -1
  93. package/.next/server/app/index.rsc +5 -5
  94. package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  95. package/.next/server/app/index.segments/_full.segment.rsc +5 -5
  96. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  97. package/.next/server/app/index.segments/_index.segment.rsc +3 -3
  98. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  99. package/.next/server/app/page.js +14 -14
  100. package/.next/server/app/page_client-reference-manifest.js +1 -1
  101. package/.next/server/app-paths-manifest.json +11 -10
  102. package/.next/server/chunks/1707.js +1 -1
  103. package/.next/server/chunks/188.js +1 -1
  104. package/.next/server/chunks/2871.js +1 -1
  105. package/.next/server/chunks/329.js +1 -1
  106. package/.next/server/chunks/3379.js +1 -1
  107. package/.next/server/chunks/4367.js +1 -1
  108. package/.next/server/chunks/4674.js +1 -1
  109. package/.next/server/chunks/4980.js +1 -1
  110. package/.next/server/chunks/5274.js +1 -1
  111. package/.next/server/chunks/5277.js +1 -0
  112. package/.next/server/chunks/5304.js +1 -1
  113. package/.next/server/chunks/6509.js +1 -1
  114. package/.next/server/chunks/7181.js +1 -1
  115. package/.next/server/chunks/7594.js +3 -3
  116. package/.next/server/chunks/9169.js +1 -1
  117. package/.next/server/chunks/9280.js +3 -3
  118. package/.next/server/middleware-build-manifest.js +1 -1
  119. package/.next/server/middleware.js +1 -1
  120. package/.next/server/pages/404.html +1 -1
  121. package/.next/server/pages/500.html +1 -1
  122. package/.next/server/server-reference-manifest.json +1 -1
  123. package/.next/static/9m7dmaudtohXTam6OFJrW/_buildManifest.js +1 -0
  124. package/.next/static/chunks/9780-190981a7d5f4799b.js +1 -0
  125. package/.next/static/chunks/app/_global-error/page-7c63ab7d3880fba7.js +1 -0
  126. package/.next/static/chunks/app/api/about/route-7c63ab7d3880fba7.js +1 -0
  127. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-7c63ab7d3880fba7.js +1 -0
  128. package/.next/static/chunks/app/api/agent/[id]/events/route-7c63ab7d3880fba7.js +1 -0
  129. package/.next/static/chunks/app/api/agent/[id]/route-7c63ab7d3880fba7.js +1 -0
  130. package/.next/static/chunks/app/api/agent/new/route-7c63ab7d3880fba7.js +1 -0
  131. package/.next/static/chunks/app/api/agent/running/events/route-7c63ab7d3880fba7.js +1 -0
  132. package/.next/static/chunks/app/api/agent/running/route-7c63ab7d3880fba7.js +1 -0
  133. package/.next/static/chunks/app/api/agent/submissions/[submissionId]/route-7c63ab7d3880fba7.js +1 -0
  134. package/.next/static/chunks/app/api/agent-settings/route-7c63ab7d3880fba7.js +1 -0
  135. package/.next/static/chunks/app/api/attachments/route-7c63ab7d3880fba7.js +1 -0
  136. package/.next/static/chunks/app/api/auth/all-providers/route-7c63ab7d3880fba7.js +1 -0
  137. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-7c63ab7d3880fba7.js +1 -0
  138. package/.next/static/chunks/app/api/auth/login/[provider]/route-7c63ab7d3880fba7.js +1 -0
  139. package/.next/static/chunks/app/api/auth/logout/[provider]/route-7c63ab7d3880fba7.js +1 -0
  140. package/.next/static/chunks/app/api/auth/providers/route-7c63ab7d3880fba7.js +1 -0
  141. package/.next/static/chunks/app/api/auth/ui-session/route-7c63ab7d3880fba7.js +1 -0
  142. package/.next/static/chunks/app/api/auth/ui-sessions/[id]/route-7c63ab7d3880fba7.js +1 -0
  143. package/.next/static/chunks/app/api/auth/ui-sessions/route-7c63ab7d3880fba7.js +1 -0
  144. package/.next/static/chunks/app/api/cwd/browse/route-7c63ab7d3880fba7.js +1 -0
  145. package/.next/static/chunks/app/api/cwd/create/route-7c63ab7d3880fba7.js +1 -0
  146. package/.next/static/chunks/app/api/cwd/validate/route-7c63ab7d3880fba7.js +1 -0
  147. package/.next/static/chunks/app/api/default-cwd/route-7c63ab7d3880fba7.js +1 -0
  148. package/.next/static/chunks/app/api/file-index/route-7c63ab7d3880fba7.js +1 -0
  149. package/.next/static/chunks/app/api/files/[...path]/route-7c63ab7d3880fba7.js +1 -0
  150. package/.next/static/chunks/app/api/files/save-as/route-7c63ab7d3880fba7.js +1 -0
  151. package/.next/static/chunks/app/api/git/diff/route-7c63ab7d3880fba7.js +1 -0
  152. package/.next/static/chunks/app/api/git/status/route-7c63ab7d3880fba7.js +1 -0
  153. package/.next/static/chunks/app/api/home/route-7c63ab7d3880fba7.js +1 -0
  154. package/.next/static/chunks/app/api/message-media/route-7c63ab7d3880fba7.js +1 -0
  155. package/.next/static/chunks/app/api/models/route-7c63ab7d3880fba7.js +1 -0
  156. package/.next/static/chunks/app/api/models-config/raw/route-7c63ab7d3880fba7.js +1 -0
  157. package/.next/static/chunks/app/api/models-config/route-7c63ab7d3880fba7.js +1 -0
  158. package/.next/static/chunks/app/api/models-config/test/route-7c63ab7d3880fba7.js +1 -0
  159. package/.next/static/chunks/app/api/plugins/route-7c63ab7d3880fba7.js +1 -0
  160. package/.next/static/chunks/app/api/plugins/search/route-7c63ab7d3880fba7.js +1 -0
  161. package/.next/static/chunks/app/api/plugins/updates/route-7c63ab7d3880fba7.js +1 -0
  162. package/.next/static/chunks/app/api/preferences/route-7c63ab7d3880fba7.js +1 -0
  163. package/.next/static/chunks/app/api/project-assets/route-7c63ab7d3880fba7.js +1 -0
  164. package/.next/static/chunks/app/api/prompts/route-7c63ab7d3880fba7.js +1 -0
  165. package/.next/static/chunks/app/api/pty/route-7c63ab7d3880fba7.js +1 -0
  166. package/.next/static/chunks/app/api/sessions/[id]/archive/route-7c63ab7d3880fba7.js +1 -0
  167. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-7c63ab7d3880fba7.js +1 -0
  168. package/.next/static/chunks/app/api/sessions/[id]/command-entry/route-7c63ab7d3880fba7.js +1 -0
  169. package/.next/static/chunks/app/api/sessions/[id]/context/route-7c63ab7d3880fba7.js +1 -0
  170. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-7c63ab7d3880fba7.js +1 -0
  171. package/.next/static/chunks/app/api/sessions/[id]/export/route-7c63ab7d3880fba7.js +1 -0
  172. package/.next/static/chunks/app/api/sessions/[id]/info/route-7c63ab7d3880fba7.js +1 -0
  173. package/.next/static/chunks/app/api/sessions/[id]/outline/route-7c63ab7d3880fba7.js +1 -0
  174. package/.next/static/chunks/app/api/sessions/[id]/route-7c63ab7d3880fba7.js +1 -0
  175. package/.next/static/chunks/app/api/sessions/[id]/state/route-7c63ab7d3880fba7.js +1 -0
  176. package/.next/static/chunks/app/api/sessions/[id]/tool-results/[toolCallId]/route-7c63ab7d3880fba7.js +1 -0
  177. package/.next/static/chunks/app/api/sessions/route-7c63ab7d3880fba7.js +1 -0
  178. package/.next/static/chunks/app/api/sessions/search/route-7c63ab7d3880fba7.js +1 -0
  179. package/.next/static/chunks/app/api/settings/raw/route-7c63ab7d3880fba7.js +1 -0
  180. package/.next/static/chunks/app/api/settings/remote/route-7c63ab7d3880fba7.js +1 -0
  181. package/.next/static/chunks/app/api/skills/check/route-7c63ab7d3880fba7.js +1 -0
  182. package/.next/static/chunks/app/api/skills/install/route-7c63ab7d3880fba7.js +1 -0
  183. package/.next/static/chunks/app/api/skills/route-7c63ab7d3880fba7.js +1 -0
  184. package/.next/static/chunks/app/api/skills/search/route-7c63ab7d3880fba7.js +1 -0
  185. package/.next/static/chunks/app/api/skills/update/route-7c63ab7d3880fba7.js +1 -0
  186. package/.next/static/chunks/app/api/subagent-runs/route-7c63ab7d3880fba7.js +1 -0
  187. package/.next/static/chunks/app/api/update/apply/route-7c63ab7d3880fba7.js +1 -0
  188. package/.next/static/chunks/app/api/update/check/route-7c63ab7d3880fba7.js +1 -0
  189. package/.next/static/chunks/app/page-a67f4b63843f6c4b.js +24 -0
  190. package/.next/static/chunks/next/dist/client/components/builtin/app-error-7c63ab7d3880fba7.js +1 -0
  191. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-7c63ab7d3880fba7.js +1 -0
  192. package/.next/static/chunks/next/dist/client/components/builtin/not-found-7c63ab7d3880fba7.js +1 -0
  193. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-7c63ab7d3880fba7.js +1 -0
  194. package/.next/static/css/{2c5193dd12bf5ffb.css → 82b378f5d9cf6c9d.css} +1 -1
  195. package/README.en.md +1 -1
  196. package/README.md +1 -1
  197. package/package.json +3 -2
  198. package/.next/static/Xz9XxhYAztXJctQiqfonK/_buildManifest.js +0 -1
  199. package/.next/static/chunks/9780-10c5b784a91324f0.js +0 -1
  200. package/.next/static/chunks/app/_global-error/page-b2c38d3e76d6c6b5.js +0 -1
  201. package/.next/static/chunks/app/api/about/route-b2c38d3e76d6c6b5.js +0 -1
  202. package/.next/static/chunks/app/api/agent/[id]/bash-output/route-b2c38d3e76d6c6b5.js +0 -1
  203. package/.next/static/chunks/app/api/agent/[id]/events/route-b2c38d3e76d6c6b5.js +0 -1
  204. package/.next/static/chunks/app/api/agent/[id]/route-b2c38d3e76d6c6b5.js +0 -1
  205. package/.next/static/chunks/app/api/agent/new/route-b2c38d3e76d6c6b5.js +0 -1
  206. package/.next/static/chunks/app/api/agent/running/events/route-b2c38d3e76d6c6b5.js +0 -1
  207. package/.next/static/chunks/app/api/agent/running/route-b2c38d3e76d6c6b5.js +0 -1
  208. package/.next/static/chunks/app/api/agent/submissions/[submissionId]/route-b2c38d3e76d6c6b5.js +0 -1
  209. package/.next/static/chunks/app/api/agent-settings/route-b2c38d3e76d6c6b5.js +0 -1
  210. package/.next/static/chunks/app/api/attachments/route-b2c38d3e76d6c6b5.js +0 -1
  211. package/.next/static/chunks/app/api/auth/all-providers/route-b2c38d3e76d6c6b5.js +0 -1
  212. package/.next/static/chunks/app/api/auth/api-key/[provider]/route-b2c38d3e76d6c6b5.js +0 -1
  213. package/.next/static/chunks/app/api/auth/login/[provider]/route-b2c38d3e76d6c6b5.js +0 -1
  214. package/.next/static/chunks/app/api/auth/logout/[provider]/route-b2c38d3e76d6c6b5.js +0 -1
  215. package/.next/static/chunks/app/api/auth/providers/route-b2c38d3e76d6c6b5.js +0 -1
  216. package/.next/static/chunks/app/api/auth/ui-session/route-b2c38d3e76d6c6b5.js +0 -1
  217. package/.next/static/chunks/app/api/auth/ui-sessions/[id]/route-b2c38d3e76d6c6b5.js +0 -1
  218. package/.next/static/chunks/app/api/auth/ui-sessions/route-b2c38d3e76d6c6b5.js +0 -1
  219. package/.next/static/chunks/app/api/cwd/browse/route-b2c38d3e76d6c6b5.js +0 -1
  220. package/.next/static/chunks/app/api/cwd/create/route-b2c38d3e76d6c6b5.js +0 -1
  221. package/.next/static/chunks/app/api/cwd/validate/route-b2c38d3e76d6c6b5.js +0 -1
  222. package/.next/static/chunks/app/api/default-cwd/route-b2c38d3e76d6c6b5.js +0 -1
  223. package/.next/static/chunks/app/api/file-index/route-b2c38d3e76d6c6b5.js +0 -1
  224. package/.next/static/chunks/app/api/files/[...path]/route-b2c38d3e76d6c6b5.js +0 -1
  225. package/.next/static/chunks/app/api/git/diff/route-b2c38d3e76d6c6b5.js +0 -1
  226. package/.next/static/chunks/app/api/git/status/route-b2c38d3e76d6c6b5.js +0 -1
  227. package/.next/static/chunks/app/api/home/route-b2c38d3e76d6c6b5.js +0 -1
  228. package/.next/static/chunks/app/api/message-media/route-b2c38d3e76d6c6b5.js +0 -1
  229. package/.next/static/chunks/app/api/models/route-b2c38d3e76d6c6b5.js +0 -1
  230. package/.next/static/chunks/app/api/models-config/raw/route-b2c38d3e76d6c6b5.js +0 -1
  231. package/.next/static/chunks/app/api/models-config/route-b2c38d3e76d6c6b5.js +0 -1
  232. package/.next/static/chunks/app/api/models-config/test/route-b2c38d3e76d6c6b5.js +0 -1
  233. package/.next/static/chunks/app/api/plugins/route-b2c38d3e76d6c6b5.js +0 -1
  234. package/.next/static/chunks/app/api/plugins/search/route-b2c38d3e76d6c6b5.js +0 -1
  235. package/.next/static/chunks/app/api/plugins/updates/route-b2c38d3e76d6c6b5.js +0 -1
  236. package/.next/static/chunks/app/api/preferences/route-b2c38d3e76d6c6b5.js +0 -1
  237. package/.next/static/chunks/app/api/project-assets/route-b2c38d3e76d6c6b5.js +0 -1
  238. package/.next/static/chunks/app/api/prompts/route-b2c38d3e76d6c6b5.js +0 -1
  239. package/.next/static/chunks/app/api/pty/route-b2c38d3e76d6c6b5.js +0 -1
  240. package/.next/static/chunks/app/api/sessions/[id]/archive/route-b2c38d3e76d6c6b5.js +0 -1
  241. package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-b2c38d3e76d6c6b5.js +0 -1
  242. package/.next/static/chunks/app/api/sessions/[id]/command-entry/route-b2c38d3e76d6c6b5.js +0 -1
  243. package/.next/static/chunks/app/api/sessions/[id]/context/route-b2c38d3e76d6c6b5.js +0 -1
  244. package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-b2c38d3e76d6c6b5.js +0 -1
  245. package/.next/static/chunks/app/api/sessions/[id]/export/route-b2c38d3e76d6c6b5.js +0 -1
  246. package/.next/static/chunks/app/api/sessions/[id]/info/route-b2c38d3e76d6c6b5.js +0 -1
  247. package/.next/static/chunks/app/api/sessions/[id]/outline/route-b2c38d3e76d6c6b5.js +0 -1
  248. package/.next/static/chunks/app/api/sessions/[id]/route-b2c38d3e76d6c6b5.js +0 -1
  249. package/.next/static/chunks/app/api/sessions/[id]/state/route-b2c38d3e76d6c6b5.js +0 -1
  250. package/.next/static/chunks/app/api/sessions/[id]/tool-results/[toolCallId]/route-b2c38d3e76d6c6b5.js +0 -1
  251. package/.next/static/chunks/app/api/sessions/route-b2c38d3e76d6c6b5.js +0 -1
  252. package/.next/static/chunks/app/api/sessions/search/route-b2c38d3e76d6c6b5.js +0 -1
  253. package/.next/static/chunks/app/api/settings/raw/route-b2c38d3e76d6c6b5.js +0 -1
  254. package/.next/static/chunks/app/api/settings/remote/route-b2c38d3e76d6c6b5.js +0 -1
  255. package/.next/static/chunks/app/api/skills/check/route-b2c38d3e76d6c6b5.js +0 -1
  256. package/.next/static/chunks/app/api/skills/install/route-b2c38d3e76d6c6b5.js +0 -1
  257. package/.next/static/chunks/app/api/skills/route-b2c38d3e76d6c6b5.js +0 -1
  258. package/.next/static/chunks/app/api/skills/search/route-b2c38d3e76d6c6b5.js +0 -1
  259. package/.next/static/chunks/app/api/skills/update/route-b2c38d3e76d6c6b5.js +0 -1
  260. package/.next/static/chunks/app/api/subagent-runs/route-b2c38d3e76d6c6b5.js +0 -1
  261. package/.next/static/chunks/app/api/update/apply/route-b2c38d3e76d6c6b5.js +0 -1
  262. package/.next/static/chunks/app/api/update/check/route-b2c38d3e76d6c6b5.js +0 -1
  263. package/.next/static/chunks/app/page-61e09e843c0fdee8.js +0 -24
  264. package/.next/static/chunks/next/dist/client/components/builtin/app-error-b2c38d3e76d6c6b5.js +0 -1
  265. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-b2c38d3e76d6c6b5.js +0 -1
  266. package/.next/static/chunks/next/dist/client/components/builtin/not-found-b2c38d3e76d6c6b5.js +0 -1
  267. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-b2c38d3e76d6c6b5.js +0 -1
  268. /package/.next/static/{Xz9XxhYAztXJctQiqfonK → 9m7dmaudtohXTam6OFJrW}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=6509,exports.ids=[6509],exports.modules={71527:(a,b,c)=>{c.d(b,{CP:()=>l,Ck:()=>o,HT:()=>n,PB:()=>m,aC:()=>k,lC:()=>i,m:()=>j,tk:()=>h});var d=c(36594),e=c(95097),f=c(65207),g=c(69085),h=(0,e.K)((a,b)=>{let c=a.append("rect");if(c.attr("x",b.x),c.attr("y",b.y),c.attr("fill",b.fill),c.attr("stroke",b.stroke),c.attr("width",b.width),c.attr("height",b.height),b.name&&c.attr("name",b.name),b.rx&&c.attr("rx",b.rx),b.ry&&c.attr("ry",b.ry),void 0!==b.attrs)for(let a in b.attrs)c.attr(a,b.attrs[a]);return b.class&&c.attr("class",b.class),c},"drawRect"),i=(0,e.K)((a,b)=>{h(a,{x:b.startx,y:b.starty,width:b.stopx-b.startx,height:b.stopy-b.starty,fill:b.fill,stroke:b.stroke,class:"rect"}).lower()},"drawBackgroundRect"),j=(0,e.K)((a,b)=>{let c=b.text.replace(d.H1," "),e=a.append("text");e.attr("x",b.x),e.attr("y",b.y),e.attr("class","legend"),e.style("text-anchor",b.anchor),b.class&&e.attr("class",b.class);let f=e.append("tspan");return f.attr("x",b.x+2*b.textMargin),f.text(c),e},"drawText"),k=(0,e.K)((a,b,c,d)=>{let e=a.append("image");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",g)},"drawImage"),l=(0,e.K)((a,b,c,d)=>{let e=a.append("use");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",`#${g}`)},"drawEmbeddedImage"),m=(0,e.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),n=(0,e.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),o=(0,e.K)(()=>{let a=(0,g.Ltv)(".mermaidTooltip");return a.empty()&&(a=(0,g.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),a},"createTooltip")},76509:(a,b,c)=>{c.d(b,{diagram:()=>aK});var d=c(80336),e=c(55023),f=c(71527),g=c(37879),h=c(36594),i=c(58715),j=c(95097),k=c(69085),l=c(65207),m=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=[1,2],c=[1,3],d=[1,4],e=[2,4],f=[1,9],g=[1,11],h=[1,12],i=[1,14],k=[1,15],l=[1,17],m=[1,18],n=[1,19],o=[1,25],p=[1,26],q=[1,27],r=[1,28],s=[1,29],t=[1,30],u=[1,31],v=[1,32],w=[1,33],x=[1,34],y=[1,35],z=[1,36],A=[1,37],B=[1,38],C=[1,39],D=[1,40],E=[1,42],F=[1,43],G=[1,44],H=[1,45],I=[1,46],J=[1,47],K=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],L=[1,74],M=[1,80],N=[1,81],O=[1,82],P=[1,83],Q=[1,84],R=[1,85],S=[1,86],T=[1,87],U=[1,88],V=[1,89],W=[1,90],X=[1,91],Y=[1,92],Z=[1,93],$=[1,94],_=[1,95],aa=[1,96],ab=[1,97],ac=[1,98],ad=[1,99],ae=[1,100],af=[1,101],ag=[1,102],ah=[1,103],ai=[1,104],aj=[1,105],ak=[2,78],al=[4,5,17,51,53,54],am=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],an=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],ao=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ap=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],aq=[5,52],ar=[70,71,72,73],as=[1,151],at={trace:(0,j.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:(0,j.K)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 3:return d.apply(f[h]),f[h];case 4:case 10:case 8:case 9:case 14:this.$=[];break;case 5:case 11:f[h-1].push(f[h]),this.$=f[h-1];break;case 6:case 7:case 12:case 13:case 67:this.$=f[h];break;case 16:f[h].type="createParticipant",this.$=f[h];break;case 17:f[h-1].unshift({type:"boxStart",boxData:d.parseBoxData(f[h-2])}),f[h-1].push({type:"boxEnd",boxText:f[h-2]}),this.$=f[h-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(f[h-2]),sequenceIndexStep:Number(f[h-1]),sequenceVisible:!0,signalType:d.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(f[h-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:d.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:d.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:d.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:d.LINETYPE.ACTIVE_START,actor:f[h-1].actor};break;case 24:this.$={type:"activeEnd",signalType:d.LINETYPE.ACTIVE_END,actor:f[h-1].actor};break;case 30:d.setDiagramTitle(f[h].substring(6)),this.$=f[h].substring(6);break;case 31:d.setDiagramTitle(f[h].substring(7)),this.$=f[h].substring(7);break;case 32:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 33:case 34:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 35:f[h-1].unshift({type:"loopStart",loopText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.LOOP_START}),f[h-1].push({type:"loopEnd",loopText:f[h-2],signalType:d.LINETYPE.LOOP_END}),this.$=f[h-1];break;case 36:f[h-1].unshift({type:"rectStart",color:d.parseMessage(f[h-2]),signalType:d.LINETYPE.RECT_START}),f[h-1].push({type:"rectEnd",color:d.parseMessage(f[h-2]),signalType:d.LINETYPE.RECT_END}),this.$=f[h-1];break;case 37:f[h-1].unshift({type:"optStart",optText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.OPT_START}),f[h-1].push({type:"optEnd",optText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.OPT_END}),this.$=f[h-1];break;case 38:f[h-1].unshift({type:"altStart",altText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.ALT_START}),f[h-1].push({type:"altEnd",signalType:d.LINETYPE.ALT_END}),this.$=f[h-1];break;case 39:f[h-1].unshift({type:"parStart",parText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.PAR_START}),f[h-1].push({type:"parEnd",signalType:d.LINETYPE.PAR_END}),this.$=f[h-1];break;case 40:f[h-1].unshift({type:"parStart",parText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.PAR_OVER_START}),f[h-1].push({type:"parEnd",signalType:d.LINETYPE.PAR_END}),this.$=f[h-1];break;case 41:f[h-1].unshift({type:"criticalStart",criticalText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.CRITICAL_START}),f[h-1].push({type:"criticalEnd",signalType:d.LINETYPE.CRITICAL_END}),this.$=f[h-1];break;case 42:f[h-1].unshift({type:"breakStart",breakText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.BREAK_START}),f[h-1].push({type:"breakEnd",optText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.BREAK_END}),this.$=f[h-1];break;case 44:this.$=f[h-3].concat([{type:"option",optionText:d.parseMessage(f[h-1]),signalType:d.LINETYPE.CRITICAL_OPTION},f[h]]);break;case 46:this.$=f[h-3].concat([{type:"and",parText:d.parseMessage(f[h-1]),signalType:d.LINETYPE.PAR_AND},f[h]]);break;case 48:this.$=f[h-3].concat([{type:"else",altText:d.parseMessage(f[h-1]),signalType:d.LINETYPE.ALT_ELSE},f[h]]);break;case 49:case 54:f[h-3].draw="participant",f[h-3].type="addParticipant",f[h-3].description=d.parseMessage(f[h-1]),this.$=f[h-3];break;case 50:case 55:f[h-1].draw="participant",f[h-1].type="addParticipant",this.$=f[h-1];break;case 51:case 56:f[h-3].draw="actor",f[h-3].type="addParticipant",f[h-3].description=d.parseMessage(f[h-1]),this.$=f[h-3];break;case 52:case 57:f[h-1].draw="actor",f[h-1].type="addParticipant",this.$=f[h-1];break;case 53:f[h-1].type="destroyParticipant",this.$=f[h-1];break;case 58:this.$=[f[h-1],{type:"addNote",placement:f[h-2],actor:f[h-1].actor,text:f[h]}];break;case 59:f[h-2]=[].concat(f[h-1],f[h-1]).slice(0,2),f[h-2][0]=f[h-2][0].actor,f[h-2][1]=f[h-2][1].actor,this.$=[f[h-1],{type:"addNote",placement:d.PLACEMENT.OVER,actor:f[h-2].slice(0,2),text:f[h]}];break;case 60:this.$=[f[h-1],{type:"addLinks",actor:f[h-1].actor,text:f[h]}];break;case 61:this.$=[f[h-1],{type:"addALink",actor:f[h-1].actor,text:f[h]}];break;case 62:this.$=[f[h-1],{type:"addProperties",actor:f[h-1].actor,text:f[h]}];break;case 63:this.$=[f[h-1],{type:"addDetails",actor:f[h-1].actor,text:f[h]}];break;case 66:this.$=[f[h-2],f[h]];break;case 68:this.$=d.PLACEMENT.LEFTOF;break;case 69:this.$=d.PLACEMENT.RIGHTOF;break;case 70:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h],activate:!0},{type:"activeStart",signalType:d.LINETYPE.ACTIVE_START,actor:f[h-1].actor}];break;case 71:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h]},{type:"activeEnd",signalType:d.LINETYPE.ACTIVE_END,actor:f[h-4].actor}];break;case 72:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h],activate:!0,centralConnection:d.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:d.LINETYPE.CENTRAL_CONNECTION,actor:f[h-1].actor}];break;case 73:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-2],msg:f[h],activate:!1,centralConnection:d.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:d.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:f[h-4].actor}];break;case 74:this.$=[f[h-5],f[h-1],{type:"addMessage",from:f[h-5].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h],activate:!0,centralConnection:d.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:d.LINETYPE.CENTRAL_CONNECTION,actor:f[h-1].actor},{type:"centralConnectionReverse",signalType:d.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:f[h-5].actor}];break;case 75:this.$=[f[h-3],f[h-1],{type:"addMessage",from:f[h-3].actor,to:f[h-1].actor,signalType:f[h-2],msg:f[h]}];break;case 76:this.$={type:"addParticipant",actor:f[h-1],config:f[h]};break;case 77:this.$=f[h-1].trim();break;case 78:this.$={type:"addParticipant",actor:f[h]};break;case 79:this.$=d.LINETYPE.SOLID_OPEN;break;case 80:this.$=d.LINETYPE.DOTTED_OPEN;break;case 81:this.$=d.LINETYPE.SOLID;break;case 82:this.$=d.LINETYPE.SOLID_TOP;break;case 83:this.$=d.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=d.LINETYPE.STICK_TOP;break;case 85:this.$=d.LINETYPE.STICK_BOTTOM;break;case 86:this.$=d.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=d.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=d.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=d.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=d.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=d.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=d.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=d.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=d.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=d.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=d.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=d.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=d.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=d.LINETYPE.DOTTED;break;case 100:this.$=d.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=d.LINETYPE.SOLID_CROSS;break;case 102:this.$=d.LINETYPE.DOTTED_CROSS;break;case 103:this.$=d.LINETYPE.SOLID_POINT;break;case 104:this.$=d.LINETYPE.DOTTED_POINT;break;case 105:this.$=d.parseMessage(f[h].trim().substring(1))}},"anonymous"),table:[{3:1,4:b,5:c,6:d},{1:[3]},{3:5,4:b,5:c,6:d},{3:6,4:b,5:c,6:d},a([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],e,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},a(K,[2,5]),{9:48,13:13,14:i,15:k,18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},a(K,[2,7]),a(K,[2,8]),a(K,[2,9]),a(K,[2,15]),{13:49,51:B,53:C,54:D},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:J},{23:56,73:J},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},a(K,[2,30]),a(K,[2,31]),{33:[1,62]},{35:[1,63]},a(K,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:L},{23:75,55:76,73:L},{23:77,73:J},{69:78,72:[1,79],78:M,79:N,80:O,81:P,82:Q,83:R,84:S,85:T,86:U,87:V,88:W,89:X,90:Y,91:Z,92:$,93:_,94:aa,95:ab,96:ac,97:ad,98:ae,99:af,100:ag,101:ah,102:ai,103:aj},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:J},{23:111,73:J},{23:112,73:J},{23:113,73:J},a([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ak),a(K,[2,6]),a(K,[2,16]),a(al,[2,10],{11:114}),a(K,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},a(K,[2,22]),{5:[1,118]},{5:[1,119]},a(K,[2,25]),a(K,[2,26]),a(K,[2,27]),a(K,[2,28]),a(K,[2,29]),a(K,[2,32]),a(K,[2,33]),a(am,e,{7:120}),a(am,e,{7:121}),a(am,e,{7:122}),a(an,e,{41:123,7:124}),a(ao,e,{43:125,7:126}),a(ao,e,{7:126,43:127}),a(ap,e,{46:128,7:129}),a(am,e,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},a(aq,ak,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:J},{69:146,78:M,79:N,80:O,81:P,82:Q,83:R,84:S,85:T,86:U,87:V,88:W,89:X,90:Y,91:Z,92:$,93:_,94:aa,95:ab,96:ac,97:ad,98:ae,99:af,100:ag,101:ah,102:ai,103:aj},a(ar,[2,79]),a(ar,[2,80]),a(ar,[2,81]),a(ar,[2,82]),a(ar,[2,83]),a(ar,[2,84]),a(ar,[2,85]),a(ar,[2,86]),a(ar,[2,87]),a(ar,[2,88]),a(ar,[2,89]),a(ar,[2,90]),a(ar,[2,91]),a(ar,[2,92]),a(ar,[2,93]),a(ar,[2,94]),a(ar,[2,95]),a(ar,[2,96]),a(ar,[2,97]),a(ar,[2,98]),a(ar,[2,99]),a(ar,[2,100]),a(ar,[2,101]),a(ar,[2,102]),a(ar,[2,103]),a(ar,[2,104]),{23:147,73:J},{23:149,60:148,73:J},{73:[2,68]},{73:[2,69]},{58:150,104:as},{58:152,104:as},{58:153,104:as},{58:154,104:as},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:B,53:C,54:D},{5:[1,160]},a(K,[2,20]),a(K,[2,21]),a(K,[2,23]),a(K,[2,24]),{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,161],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,162],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,163],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{17:[1,164]},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[2,47],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,50:[1,165],51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{17:[1,166]},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[2,45],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,49:[1,167],51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{17:[1,168]},{17:[1,169]},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[2,43],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,48:[1,170],51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,171],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{16:[1,172]},a(K,[2,50]),{16:[1,173]},a(K,[2,55]),a(aq,[2,76]),{76:[1,174]},{16:[1,175]},a(K,[2,52]),{16:[1,176]},a(K,[2,57]),a(K,[2,53]),{23:177,73:J},{23:178,73:J},{23:179,73:J},{58:180,104:as},{23:181,72:[1,182],73:J},{58:183,104:as},{58:184,104:as},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},a(K,[2,17]),a(al,[2,11]),{13:186,51:B,53:C,54:D},a(al,[2,13]),a(al,[2,14]),a(K,[2,19]),a(K,[2,35]),a(K,[2,36]),a(K,[2,37]),a(K,[2,38]),{16:[1,187]},a(K,[2,39]),{16:[1,188]},a(K,[2,40]),a(K,[2,41]),{16:[1,189]},a(K,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:as},{58:196,104:as},{58:197,104:as},{5:[2,75]},{58:198,104:as},{23:199,73:J},{5:[2,58]},{5:[2,59]},{23:200,73:J},a(al,[2,12]),a(an,e,{7:124,41:201}),a(ao,e,{7:126,43:202}),a(ap,e,{7:129,46:203}),a(K,[2,49]),a(K,[2,54]),a(aq,[2,77]),a(K,[2,51]),a(K,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:as},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},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 au(){this.yy={}}return at.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:case 59:case 92:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 20;case 7:return this.begin("CONFIG"),75;case 8:return 76;case 9:return this.popState(),this.begin("ALIAS"),77;case 10:return this.popState(),this.popState(),77;case 11:case 60:return b.yytext=b.yytext.trim(),73;case 12:return b.yytext=b.yytext.trim(),this.begin("ALIAS"),73;case 13:return b.yytext=b.yytext.trim(),this.popState(),73;case 14:return this.popState(),10;case 15:return b.yytext=b.yytext.trim(),this.popState(),10;case 16:return this.begin("LINE"),15;case 17:return this.begin("ID"),51;case 18:return this.begin("ID"),53;case 19:return 14;case 20:return this.begin("ID"),54;case 21:return this.popState(),this.popState(),this.begin("LINE"),52;case 22:return this.popState(),this.popState(),5;case 23:return this.begin("LINE"),37;case 24:return this.begin("LINE"),38;case 25:return this.begin("LINE"),39;case 26:return this.begin("LINE"),40;case 27:return this.begin("LINE"),50;case 28:return this.begin("LINE"),42;case 29:return this.begin("LINE"),44;case 30:return this.begin("LINE"),49;case 31:return this.begin("LINE"),45;case 32:return this.begin("LINE"),48;case 33:return this.begin("LINE"),47;case 34:return this.popState(),16;case 35:return 17;case 36:return 67;case 37:return 68;case 38:return 61;case 39:return 62;case 40:return 63;case 41:return 64;case 42:return 59;case 43:return 56;case 44:return this.begin("ID"),22;case 45:return this.begin("ID"),24;case 46:return 30;case 47:return 31;case 48:return this.begin("acc_title"),32;case 49:return this.popState(),"acc_title_value";case 50:return this.begin("acc_descr"),34;case 51:return this.popState(),"acc_descr_value";case 52:this.begin("acc_descr_multiline");break;case 53:this.popState();break;case 54:return"acc_descr_multiline_value";case 55:return 6;case 56:return 19;case 57:return 21;case 58:return 66;case 61:return 80;case 62:return 97;case 63:return 98;case 64:return 99;case 65:return 78;case 66:return 79;case 67:return 100;case 68:return 101;case 69:return 102;case 70:return 103;case 71:return 85;case 72:return 86;case 73:return 87;case 74:return 88;case 75:return 93;case 76:return 94;case 77:return 95;case 78:return 96;case 79:return 81;case 80:return 82;case 81:return 83;case 82:return 84;case 83:return 89;case 84:return 90;case 85:return 91;case 86:return 92;case 87:case 88:return 104;case 89:return 70;case 90:return 71;case 91:return 72;case 93:return 10}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:([0-9]+(\.[0-9]{1,2})?|\.[0-9]{1,2})(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\}(?=\s+as\s))/i,/^(?:\})/i,/^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i,/^(?:[^<>:\n,;@\s]+(?=\s+as\s))/i,/^(?:[^<>:\n,;@]+(?=\s*[\n;#]|$))/i,/^(?:[^<>:\n,;@]*<[^\n]*)/i,/^(?:[^\n]+)/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\/\\\+\()\+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)|-\|\\|-\\|-\/|-\/\/|-\|\/|\/\|-|\\\|-|\/\/-|\\\\-|\/\|-|--\|\\|--|\(\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?:--\|\\)/i,/^(?:--\|\/)/i,/^(?:--\\\\)/i,/^(?:--\/\/)/i,/^(?:\/\|--)/i,/^(?:\\\|--)/i,/^(?:\/\/--)/i,/^(?:\\\\--)/i,/^(?:-\|\\)/i,/^(?:-\|\/)/i,/^(?:-\\\\)/i,/^(?:-\/\/)/i,/^(?:\/\|-)/i,/^(?:\\\|-)/i,/^(?:\/\/-)/i,/^(?:\\\\-)/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:\(\))/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[53,54],inclusive:!1},acc_descr:{rules:[51],inclusive:!1},acc_title:{rules:[49],inclusive:!1},ID:{rules:[2,3,7,11,12,13,14,15],inclusive:!1},ALIAS:{rules:[2,3,21,22],inclusive:!1},LINE:{rules:[2,3,34],inclusive:!1},CONFIG:{rules:[8,9,10],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,16,17,18,19,20,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,52,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],inclusive:!0}}},(0,j.K)(au,"Parser"),au.prototype=at,at.Parser=au,new au}();m.parser=m;var n={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34,SOLID_TOP:41,SOLID_BOTTOM:42,STICK_TOP:43,STICK_BOTTOM:44,SOLID_ARROW_TOP_REVERSE:45,SOLID_ARROW_BOTTOM_REVERSE:46,STICK_ARROW_TOP_REVERSE:47,STICK_ARROW_BOTTOM_REVERSE:48,SOLID_TOP_DOTTED:51,SOLID_BOTTOM_DOTTED:52,STICK_TOP_DOTTED:53,STICK_BOTTOM_DOTTED:54,SOLID_ARROW_TOP_REVERSE_DOTTED:55,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:56,STICK_ARROW_TOP_REVERSE_DOTTED:57,STICK_ARROW_BOTTOM_REVERSE_DOTTED:58,CENTRAL_CONNECTION:59,CENTRAL_CONNECTION_REVERSE:60,CENTRAL_CONNECTION_DUAL:61},o={FILLED:0,OPEN:1},p={LEFTOF:0,RIGHTOF:1,OVER:2},q=class{constructor(){this.state=new d.m(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),this.setAccTitle=h.SV,this.setAccDescription=h.EI,this.setDiagramTitle=h.ke,this.getAccTitle=h.iN,this.getAccDescription=h.m7,this.getDiagramTitle=h.ab,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap((0,h.D7)().wrap),this.LINETYPE=n,this.ARROWTYPE=o,this.PLACEMENT=p}static{(0,j.K)(this,"SequenceDB")}addBox(a){this.state.records.boxes.push({name:a.text,wrap:a.wrap??this.autoWrap(),fill:a.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(a,b,c,d,f){let g,h=this.state.records.currentBox;if(void 0!==f){let a;a=f.includes("\n")?f+"\n":"{\n"+f+"\n}",g=(0,e.H)(a,{schema:e.r})}d=g?.type??d,g?.alias&&(!c||c.text===b)&&(c={text:g.alias,wrap:c?.wrap,type:d});let i=this.state.records.actors.get(a);if(i){if(this.state.records.currentBox&&i.box&&this.state.records.currentBox!==i.box)throw Error(`A same participant should only be defined in one Box: ${i.name} can't be in '${i.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(h=i.box?i.box:this.state.records.currentBox,i.box=h,i&&b===i.name&&null==c)return}if(c?.text==null&&(c={text:b,type:d}),(null==d||null==c.text)&&(c={text:b,type:d}),this.state.records.actors.set(a,{box:h,name:b,description:c.text,wrap:c.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:d??"participant"}),this.state.records.prevActor){let b=this.state.records.actors.get(this.state.records.prevActor);b&&(b.nextActor=a)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(a),this.state.records.prevActor=a}activationCount(a){let b,c=0;if(!a)return 0;for(b=0;b<this.state.records.messages.length;b++)this.state.records.messages[b].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[b].from===a&&c++,this.state.records.messages[b].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[b].from===a&&c--;return c}addMessage(a,b,c,d){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:a,to:b,message:c.text,wrap:c.wrap??this.autoWrap(),answer:d})}addSignal(a,b,c,d,e=!1,f){if(d===this.LINETYPE.ACTIVE_END&&1>this.activationCount(a??"")){let b=Error("Trying to inactivate an inactive participant ("+a+")");throw b.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},b}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:a,to:b,message:c?.text??"",wrap:c?.wrap??this.autoWrap(),type:d,activate:e,centralConnection:f??0}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(a=>a.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(a){return this.state.records.actors.get(a)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(a){this.state.records.wrapEnabled=a}extractWrap(a){if(void 0===a)return{};a=a.trim();let b=null!==/^:?wrap:/.exec(a)||null===/^:?nowrap:/.exec(a)&&void 0;return{cleanedText:(void 0===b?a:a.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:b}}autoWrap(){return void 0!==this.state.records.wrapEnabled?this.state.records.wrapEnabled:(0,h.D7)().sequence?.wrap??!1}clear(){this.state.reset(),(0,h.IU)()}parseMessage(a){let b=a.trim(),{wrap:c,cleanedText:d}=this.extractWrap(b),e={text:d,wrap:c};return i.R.debug(`parseMessage: ${JSON.stringify(e)}`),e}parseBoxData(a){let b=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(a),c=b?.[1]?b[1].trim():"transparent",d=b?.[2]?b[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",c)||(c="transparent",d=a.trim());else{let b=new Option().style;b.color=c,b.color!==c&&(c="transparent",d=a.trim())}let{wrap:e,cleanedText:f}=this.extractWrap(d);return{text:f?(0,h.jZ)(f,(0,h.D7)()):void 0,color:c,wrap:e}}addNote(a,b,c){let d={actor:a,placement:b,message:c.text,wrap:c.wrap??this.autoWrap()},e=[].concat(a,a);this.state.records.notes.push(d),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:e[0],to:e[1],message:c.text,wrap:c.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:b})}addLinks(a,b){let c=this.getActor(a);try{let a=(0,h.jZ)(b.text,(0,h.D7)());a=(a=a.replace(/&equals;/g,"=")).replace(/&amp;/g,"&");let d=JSON.parse(a);this.insertLinks(c,d)}catch(a){i.R.error("error while parsing actor link text",a)}}addALink(a,b){let c=this.getActor(a);try{let a={},d=(0,h.jZ)(b.text,(0,h.D7)()),e=d.indexOf("@"),f=(d=(d=d.replace(/&equals;/g,"=")).replace(/&amp;/g,"&")).slice(0,e-1).trim(),g=d.slice(e+1).trim();a[f]=g,this.insertLinks(c,a)}catch(a){i.R.error("error while parsing actor link text",a)}}insertLinks(a,b){if(null==a.links)a.links=b;else for(let c in b)a.links[c]=b[c]}addProperties(a,b){let c=this.getActor(a);try{let a=(0,h.jZ)(b.text,(0,h.D7)()),d=JSON.parse(a);this.insertProperties(c,d)}catch(a){i.R.error("error while parsing actor properties text",a)}}insertProperties(a,b){if(null==a.properties)a.properties=b;else for(let c in b)a.properties[c]=b[c]}boxEnd(){this.state.records.currentBox=void 0}addDetails(a,b){let c=this.getActor(a),d=document.getElementById(b.text);try{let a=d.innerHTML,b=JSON.parse(a);b.properties&&this.insertProperties(c,b.properties),b.links&&this.insertLinks(c,b.links)}catch(a){i.R.error("error while parsing actor details text",a)}}getActorProperty(a,b){if(a?.properties!==void 0)return a.properties[b]}apply(a){if(Array.isArray(a))a.forEach(a=>{this.apply(a)});else switch(a.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:a.sequenceIndex,step:a.sequenceIndexStep,visible:a.sequenceVisible},wrap:!1,type:a.signalType});break;case"addParticipant":this.addActor(a.actor,a.actor,a.description,a.draw,a.config);break;case"createParticipant":if(this.state.records.actors.has(a.actor))throw Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=a.actor,this.addActor(a.actor,a.actor,a.description,a.draw,a.config),this.state.records.createdActors.set(a.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=a.actor,this.state.records.destroyedActors.set(a.actor,this.state.records.messages.length);break;case"activeStart":case"centralConnection":case"centralConnectionReverse":case"activeEnd":this.addSignal(a.actor,void 0,void 0,a.signalType);break;case"addNote":this.addNote(a.actor,a.placement,a.text);break;case"addLinks":this.addLinks(a.actor,a.text);break;case"addALink":this.addALink(a.actor,a.text);break;case"addProperties":this.addProperties(a.actor,a.text);break;case"addDetails":this.addDetails(a.actor,a.text);break;case"addMessage":if(this.state.records.lastCreated)if(a.to!==this.state.records.lastCreated)throw Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");else this.state.records.lastCreated=void 0;else if(this.state.records.lastDestroyed)if(a.to!==this.state.records.lastDestroyed&&a.from!==this.state.records.lastDestroyed)throw Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");else this.state.records.lastDestroyed=void 0;this.addSignal(a.from,a.to,a.msg,a.signalType,a.activate,a.centralConnection);break;case"boxStart":this.addBox(a.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,a.loopText,a.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,a.signalType);break;case"rectStart":this.addSignal(void 0,void 0,a.color,a.signalType);break;case"optStart":this.addSignal(void 0,void 0,a.optText,a.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,a.altText,a.signalType);break;case"setAccTitle":(0,h.SV)(a.text);break;case"parStart":case"and":this.addSignal(void 0,void 0,a.parText,a.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,a.criticalText,a.signalType);break;case"option":this.addSignal(void 0,void 0,a.optionText,a.signalType);break;case"breakStart":this.addSignal(void 0,void 0,a.breakText,a.signalType)}}getConfig(){return(0,h.D7)().sequence}},r=(0,j.K)(a=>{let b=a.dropShadow??"none",{look:c}=(0,h.D7)();return`.actor {
1
+ "use strict";exports.id=6509,exports.ids=[6509],exports.modules={71527:(a,b,c)=>{c.d(b,{CP:()=>l,Ck:()=>o,HT:()=>n,PB:()=>m,aC:()=>k,lC:()=>i,m:()=>j,tk:()=>h});var d=c(36594),e=c(95097),f=c(65207),g=c(69085),h=(0,e.K)((a,b)=>{let c=a.append("rect");if(c.attr("x",b.x),c.attr("y",b.y),c.attr("fill",b.fill),c.attr("stroke",b.stroke),c.attr("width",b.width),c.attr("height",b.height),b.name&&c.attr("name",b.name),b.rx&&c.attr("rx",b.rx),b.ry&&c.attr("ry",b.ry),void 0!==b.attrs)for(let a in b.attrs)c.attr(a,b.attrs[a]);return b.class&&c.attr("class",b.class),c},"drawRect"),i=(0,e.K)((a,b)=>{h(a,{x:b.startx,y:b.starty,width:b.stopx-b.startx,height:b.stopy-b.starty,fill:b.fill,stroke:b.stroke,class:"rect"}).lower()},"drawBackgroundRect"),j=(0,e.K)((a,b)=>{let c=b.text.replace(d.H1," "),e=a.append("text");e.attr("x",b.x),e.attr("y",b.y),e.attr("class","legend"),e.style("text-anchor",b.anchor),b.class&&e.attr("class",b.class);let f=e.append("tspan");return f.attr("x",b.x+2*b.textMargin),f.text(c),e},"drawText"),k=(0,e.K)((a,b,c,d)=>{let e=a.append("image");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",g)},"drawImage"),l=(0,e.K)((a,b,c,d)=>{let e=a.append("use");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",`#${g}`)},"drawEmbeddedImage"),m=(0,e.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),n=(0,e.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),o=(0,e.K)(()=>{let a=(0,g.Ltv)(".mermaidTooltip");return a.empty()&&(a=(0,g.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),a},"createTooltip")},76509:(a,b,c)=>{c.d(b,{diagram:()=>aK});var d=c(80336),e=c(77404),f=c(71527),g=c(37879),h=c(36594),i=c(58715),j=c(95097),k=c(69085),l=c(65207),m=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=[1,2],c=[1,3],d=[1,4],e=[2,4],f=[1,9],g=[1,11],h=[1,12],i=[1,14],k=[1,15],l=[1,17],m=[1,18],n=[1,19],o=[1,25],p=[1,26],q=[1,27],r=[1,28],s=[1,29],t=[1,30],u=[1,31],v=[1,32],w=[1,33],x=[1,34],y=[1,35],z=[1,36],A=[1,37],B=[1,38],C=[1,39],D=[1,40],E=[1,42],F=[1,43],G=[1,44],H=[1,45],I=[1,46],J=[1,47],K=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],L=[1,74],M=[1,80],N=[1,81],O=[1,82],P=[1,83],Q=[1,84],R=[1,85],S=[1,86],T=[1,87],U=[1,88],V=[1,89],W=[1,90],X=[1,91],Y=[1,92],Z=[1,93],$=[1,94],_=[1,95],aa=[1,96],ab=[1,97],ac=[1,98],ad=[1,99],ae=[1,100],af=[1,101],ag=[1,102],ah=[1,103],ai=[1,104],aj=[1,105],ak=[2,78],al=[4,5,17,51,53,54],am=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],an=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],ao=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],ap=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],aq=[5,52],ar=[70,71,72,73],as=[1,151],at={trace:(0,j.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:(0,j.K)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 3:return d.apply(f[h]),f[h];case 4:case 10:case 8:case 9:case 14:this.$=[];break;case 5:case 11:f[h-1].push(f[h]),this.$=f[h-1];break;case 6:case 7:case 12:case 13:case 67:this.$=f[h];break;case 16:f[h].type="createParticipant",this.$=f[h];break;case 17:f[h-1].unshift({type:"boxStart",boxData:d.parseBoxData(f[h-2])}),f[h-1].push({type:"boxEnd",boxText:f[h-2]}),this.$=f[h-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(f[h-2]),sequenceIndexStep:Number(f[h-1]),sequenceVisible:!0,signalType:d.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(f[h-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:d.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:d.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:d.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:d.LINETYPE.ACTIVE_START,actor:f[h-1].actor};break;case 24:this.$={type:"activeEnd",signalType:d.LINETYPE.ACTIVE_END,actor:f[h-1].actor};break;case 30:d.setDiagramTitle(f[h].substring(6)),this.$=f[h].substring(6);break;case 31:d.setDiagramTitle(f[h].substring(7)),this.$=f[h].substring(7);break;case 32:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 33:case 34:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 35:f[h-1].unshift({type:"loopStart",loopText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.LOOP_START}),f[h-1].push({type:"loopEnd",loopText:f[h-2],signalType:d.LINETYPE.LOOP_END}),this.$=f[h-1];break;case 36:f[h-1].unshift({type:"rectStart",color:d.parseMessage(f[h-2]),signalType:d.LINETYPE.RECT_START}),f[h-1].push({type:"rectEnd",color:d.parseMessage(f[h-2]),signalType:d.LINETYPE.RECT_END}),this.$=f[h-1];break;case 37:f[h-1].unshift({type:"optStart",optText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.OPT_START}),f[h-1].push({type:"optEnd",optText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.OPT_END}),this.$=f[h-1];break;case 38:f[h-1].unshift({type:"altStart",altText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.ALT_START}),f[h-1].push({type:"altEnd",signalType:d.LINETYPE.ALT_END}),this.$=f[h-1];break;case 39:f[h-1].unshift({type:"parStart",parText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.PAR_START}),f[h-1].push({type:"parEnd",signalType:d.LINETYPE.PAR_END}),this.$=f[h-1];break;case 40:f[h-1].unshift({type:"parStart",parText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.PAR_OVER_START}),f[h-1].push({type:"parEnd",signalType:d.LINETYPE.PAR_END}),this.$=f[h-1];break;case 41:f[h-1].unshift({type:"criticalStart",criticalText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.CRITICAL_START}),f[h-1].push({type:"criticalEnd",signalType:d.LINETYPE.CRITICAL_END}),this.$=f[h-1];break;case 42:f[h-1].unshift({type:"breakStart",breakText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.BREAK_START}),f[h-1].push({type:"breakEnd",optText:d.parseMessage(f[h-2]),signalType:d.LINETYPE.BREAK_END}),this.$=f[h-1];break;case 44:this.$=f[h-3].concat([{type:"option",optionText:d.parseMessage(f[h-1]),signalType:d.LINETYPE.CRITICAL_OPTION},f[h]]);break;case 46:this.$=f[h-3].concat([{type:"and",parText:d.parseMessage(f[h-1]),signalType:d.LINETYPE.PAR_AND},f[h]]);break;case 48:this.$=f[h-3].concat([{type:"else",altText:d.parseMessage(f[h-1]),signalType:d.LINETYPE.ALT_ELSE},f[h]]);break;case 49:case 54:f[h-3].draw="participant",f[h-3].type="addParticipant",f[h-3].description=d.parseMessage(f[h-1]),this.$=f[h-3];break;case 50:case 55:f[h-1].draw="participant",f[h-1].type="addParticipant",this.$=f[h-1];break;case 51:case 56:f[h-3].draw="actor",f[h-3].type="addParticipant",f[h-3].description=d.parseMessage(f[h-1]),this.$=f[h-3];break;case 52:case 57:f[h-1].draw="actor",f[h-1].type="addParticipant",this.$=f[h-1];break;case 53:f[h-1].type="destroyParticipant",this.$=f[h-1];break;case 58:this.$=[f[h-1],{type:"addNote",placement:f[h-2],actor:f[h-1].actor,text:f[h]}];break;case 59:f[h-2]=[].concat(f[h-1],f[h-1]).slice(0,2),f[h-2][0]=f[h-2][0].actor,f[h-2][1]=f[h-2][1].actor,this.$=[f[h-1],{type:"addNote",placement:d.PLACEMENT.OVER,actor:f[h-2].slice(0,2),text:f[h]}];break;case 60:this.$=[f[h-1],{type:"addLinks",actor:f[h-1].actor,text:f[h]}];break;case 61:this.$=[f[h-1],{type:"addALink",actor:f[h-1].actor,text:f[h]}];break;case 62:this.$=[f[h-1],{type:"addProperties",actor:f[h-1].actor,text:f[h]}];break;case 63:this.$=[f[h-1],{type:"addDetails",actor:f[h-1].actor,text:f[h]}];break;case 66:this.$=[f[h-2],f[h]];break;case 68:this.$=d.PLACEMENT.LEFTOF;break;case 69:this.$=d.PLACEMENT.RIGHTOF;break;case 70:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h],activate:!0},{type:"activeStart",signalType:d.LINETYPE.ACTIVE_START,actor:f[h-1].actor}];break;case 71:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h]},{type:"activeEnd",signalType:d.LINETYPE.ACTIVE_END,actor:f[h-4].actor}];break;case 72:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h],activate:!0,centralConnection:d.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:d.LINETYPE.CENTRAL_CONNECTION,actor:f[h-1].actor}];break;case 73:this.$=[f[h-4],f[h-1],{type:"addMessage",from:f[h-4].actor,to:f[h-1].actor,signalType:f[h-2],msg:f[h],activate:!1,centralConnection:d.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:d.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:f[h-4].actor}];break;case 74:this.$=[f[h-5],f[h-1],{type:"addMessage",from:f[h-5].actor,to:f[h-1].actor,signalType:f[h-3],msg:f[h],activate:!0,centralConnection:d.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:d.LINETYPE.CENTRAL_CONNECTION,actor:f[h-1].actor},{type:"centralConnectionReverse",signalType:d.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:f[h-5].actor}];break;case 75:this.$=[f[h-3],f[h-1],{type:"addMessage",from:f[h-3].actor,to:f[h-1].actor,signalType:f[h-2],msg:f[h]}];break;case 76:this.$={type:"addParticipant",actor:f[h-1],config:f[h]};break;case 77:this.$=f[h-1].trim();break;case 78:this.$={type:"addParticipant",actor:f[h]};break;case 79:this.$=d.LINETYPE.SOLID_OPEN;break;case 80:this.$=d.LINETYPE.DOTTED_OPEN;break;case 81:this.$=d.LINETYPE.SOLID;break;case 82:this.$=d.LINETYPE.SOLID_TOP;break;case 83:this.$=d.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=d.LINETYPE.STICK_TOP;break;case 85:this.$=d.LINETYPE.STICK_BOTTOM;break;case 86:this.$=d.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=d.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=d.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=d.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=d.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=d.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=d.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=d.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=d.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=d.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=d.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=d.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=d.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=d.LINETYPE.DOTTED;break;case 100:this.$=d.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=d.LINETYPE.SOLID_CROSS;break;case 102:this.$=d.LINETYPE.DOTTED_CROSS;break;case 103:this.$=d.LINETYPE.SOLID_POINT;break;case 104:this.$=d.LINETYPE.DOTTED_POINT;break;case 105:this.$=d.parseMessage(f[h].trim().substring(1))}},"anonymous"),table:[{3:1,4:b,5:c,6:d},{1:[3]},{3:5,4:b,5:c,6:d},{3:6,4:b,5:c,6:d},a([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],e,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},a(K,[2,5]),{9:48,13:13,14:i,15:k,18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},a(K,[2,7]),a(K,[2,8]),a(K,[2,9]),a(K,[2,15]),{13:49,51:B,53:C,54:D},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:J},{23:56,73:J},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},a(K,[2,30]),a(K,[2,31]),{33:[1,62]},{35:[1,63]},a(K,[2,34]),{16:[1,64]},{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{23:72,55:73,73:L},{23:75,55:76,73:L},{23:77,73:J},{69:78,72:[1,79],78:M,79:N,80:O,81:P,82:Q,83:R,84:S,85:T,86:U,87:V,88:W,89:X,90:Y,91:Z,92:$,93:_,94:aa,95:ab,96:ac,97:ad,98:ae,99:af,100:ag,101:ah,102:ai,103:aj},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:J},{23:111,73:J},{23:112,73:J},{23:113,73:J},a([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ak),a(K,[2,6]),a(K,[2,16]),a(al,[2,10],{11:114}),a(K,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},a(K,[2,22]),{5:[1,118]},{5:[1,119]},a(K,[2,25]),a(K,[2,26]),a(K,[2,27]),a(K,[2,28]),a(K,[2,29]),a(K,[2,32]),a(K,[2,33]),a(am,e,{7:120}),a(am,e,{7:121}),a(am,e,{7:122}),a(an,e,{41:123,7:124}),a(ao,e,{43:125,7:126}),a(ao,e,{7:126,43:127}),a(ap,e,{46:128,7:129}),a(am,e,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},a(aq,ak,{74:135,75:[1,136]}),{5:[1,138],52:[1,137]},{5:[1,140],52:[1,139]},{5:[1,141]},{23:145,70:[1,142],71:[1,143],72:[1,144],73:J},{69:146,78:M,79:N,80:O,81:P,82:Q,83:R,84:S,85:T,86:U,87:V,88:W,89:X,90:Y,91:Z,92:$,93:_,94:aa,95:ab,96:ac,97:ad,98:ae,99:af,100:ag,101:ah,102:ai,103:aj},a(ar,[2,79]),a(ar,[2,80]),a(ar,[2,81]),a(ar,[2,82]),a(ar,[2,83]),a(ar,[2,84]),a(ar,[2,85]),a(ar,[2,86]),a(ar,[2,87]),a(ar,[2,88]),a(ar,[2,89]),a(ar,[2,90]),a(ar,[2,91]),a(ar,[2,92]),a(ar,[2,93]),a(ar,[2,94]),a(ar,[2,95]),a(ar,[2,96]),a(ar,[2,97]),a(ar,[2,98]),a(ar,[2,99]),a(ar,[2,100]),a(ar,[2,101]),a(ar,[2,102]),a(ar,[2,103]),a(ar,[2,104]),{23:147,73:J},{23:149,60:148,73:J},{73:[2,68]},{73:[2,69]},{58:150,104:as},{58:152,104:as},{58:153,104:as},{58:154,104:as},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:B,53:C,54:D},{5:[1,160]},a(K,[2,20]),a(K,[2,21]),a(K,[2,23]),a(K,[2,24]),{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,161],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,162],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,163],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{17:[1,164]},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[2,47],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,50:[1,165],51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{17:[1,166]},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[2,45],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,49:[1,167],51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{17:[1,168]},{17:[1,169]},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[2,43],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,48:[1,170],51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{4:f,5:g,8:8,9:10,10:h,13:13,14:i,15:k,17:[1,171],18:16,19:l,22:m,23:41,24:n,25:20,26:21,27:22,28:23,29:24,30:o,31:p,32:q,34:r,36:s,37:t,38:u,39:v,40:w,42:x,44:y,45:z,47:A,51:B,53:C,54:D,56:E,61:F,62:G,63:H,64:I,73:J},{16:[1,172]},a(K,[2,50]),{16:[1,173]},a(K,[2,55]),a(aq,[2,76]),{76:[1,174]},{16:[1,175]},a(K,[2,52]),{16:[1,176]},a(K,[2,57]),a(K,[2,53]),{23:177,73:J},{23:178,73:J},{23:179,73:J},{58:180,104:as},{23:181,72:[1,182],73:J},{58:183,104:as},{58:184,104:as},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},a(K,[2,17]),a(al,[2,11]),{13:186,51:B,53:C,54:D},a(al,[2,13]),a(al,[2,14]),a(K,[2,19]),a(K,[2,35]),a(K,[2,36]),a(K,[2,37]),a(K,[2,38]),{16:[1,187]},a(K,[2,39]),{16:[1,188]},a(K,[2,40]),a(K,[2,41]),{16:[1,189]},a(K,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:as},{58:196,104:as},{58:197,104:as},{5:[2,75]},{58:198,104:as},{23:199,73:J},{5:[2,58]},{5:[2,59]},{23:200,73:J},a(al,[2,12]),a(an,e,{7:124,41:201}),a(ao,e,{7:126,43:202}),a(ap,e,{7:129,46:203}),a(K,[2,49]),a(K,[2,54]),a(aq,[2,77]),a(K,[2,51]),a(K,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:as},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],108:[2,68],109:[2,69],150:[2,60],151:[2,105],152:[2,61],153:[2,62],154:[2,63],180:[2,75],183:[2,58],184:[2,59],195:[2,70],196:[2,71],197:[2,72],198:[2,73],200:[2,66],201:[2,48],202:[2,46],203:[2,44],204:[2,74]},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 au(){this.yy={}}return at.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:case 59:case 92:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 20;case 7:return this.begin("CONFIG"),75;case 8:return 76;case 9:return this.popState(),this.begin("ALIAS"),77;case 10:return this.popState(),this.popState(),77;case 11:case 60:return b.yytext=b.yytext.trim(),73;case 12:return b.yytext=b.yytext.trim(),this.begin("ALIAS"),73;case 13:return b.yytext=b.yytext.trim(),this.popState(),73;case 14:return this.popState(),10;case 15:return b.yytext=b.yytext.trim(),this.popState(),10;case 16:return this.begin("LINE"),15;case 17:return this.begin("ID"),51;case 18:return this.begin("ID"),53;case 19:return 14;case 20:return this.begin("ID"),54;case 21:return this.popState(),this.popState(),this.begin("LINE"),52;case 22:return this.popState(),this.popState(),5;case 23:return this.begin("LINE"),37;case 24:return this.begin("LINE"),38;case 25:return this.begin("LINE"),39;case 26:return this.begin("LINE"),40;case 27:return this.begin("LINE"),50;case 28:return this.begin("LINE"),42;case 29:return this.begin("LINE"),44;case 30:return this.begin("LINE"),49;case 31:return this.begin("LINE"),45;case 32:return this.begin("LINE"),48;case 33:return this.begin("LINE"),47;case 34:return this.popState(),16;case 35:return 17;case 36:return 67;case 37:return 68;case 38:return 61;case 39:return 62;case 40:return 63;case 41:return 64;case 42:return 59;case 43:return 56;case 44:return this.begin("ID"),22;case 45:return this.begin("ID"),24;case 46:return 30;case 47:return 31;case 48:return this.begin("acc_title"),32;case 49:return this.popState(),"acc_title_value";case 50:return this.begin("acc_descr"),34;case 51:return this.popState(),"acc_descr_value";case 52:this.begin("acc_descr_multiline");break;case 53:this.popState();break;case 54:return"acc_descr_multiline_value";case 55:return 6;case 56:return 19;case 57:return 21;case 58:return 66;case 61:return 80;case 62:return 97;case 63:return 98;case 64:return 99;case 65:return 78;case 66:return 79;case 67:return 100;case 68:return 101;case 69:return 102;case 70:return 103;case 71:return 85;case 72:return 86;case 73:return 87;case 74:return 88;case 75:return 93;case 76:return 94;case 77:return 95;case 78:return 96;case 79:return 81;case 80:return 82;case 81:return 83;case 82:return 84;case 83:return 89;case 84:return 90;case 85:return 91;case 86:return 92;case 87:case 88:return 104;case 89:return 70;case 90:return 71;case 91:return 72;case 93:return 10}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:([0-9]+(\.[0-9]{1,2})?|\.[0-9]{1,2})(?=[ \n]+))/i,/^(?:@\{)/i,/^(?:[^\}]+)/i,/^(?:\}(?=\s+as\s))/i,/^(?:\})/i,/^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i,/^(?:[^<>:\n,;@\s]+(?=\s+as\s))/i,/^(?:[^<>:\n,;@]+(?=\s*[\n;#]|$))/i,/^(?:[^<>:\n,;@]*<[^\n]*)/i,/^(?:[^\n]+)/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\/\\\+\()\+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)|-\|\\|-\\|-\/|-\/\/|-\|\/|\/\|-|\\\|-|\/\/-|\\\\-|\/\|-|--\|\\|--|\(\)))[\-]*[^\+<\->\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:<<->>)/i,/^(?:-->>)/i,/^(?:<<-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?:--\|\\)/i,/^(?:--\|\/)/i,/^(?:--\\\\)/i,/^(?:--\/\/)/i,/^(?:\/\|--)/i,/^(?:\\\|--)/i,/^(?:\/\/--)/i,/^(?:\\\\--)/i,/^(?:-\|\\)/i,/^(?:-\|\/)/i,/^(?:-\\\\)/i,/^(?:-\/\/)/i,/^(?:\/\|-)/i,/^(?:\\\|-)/i,/^(?:\/\/-)/i,/^(?:\\\\-)/i,/^(?::(?:(?:no)?wrap)?[^#\n;]*)/i,/^(?::)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:\(\))/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[53,54],inclusive:!1},acc_descr:{rules:[51],inclusive:!1},acc_title:{rules:[49],inclusive:!1},ID:{rules:[2,3,7,11,12,13,14,15],inclusive:!1},ALIAS:{rules:[2,3,21,22],inclusive:!1},LINE:{rules:[2,3,34],inclusive:!1},CONFIG:{rules:[8,9,10],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,16,17,18,19,20,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,50,52,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],inclusive:!0}}},(0,j.K)(au,"Parser"),au.prototype=at,at.Parser=au,new au}();m.parser=m;var n={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32,BIDIRECTIONAL_SOLID:33,BIDIRECTIONAL_DOTTED:34,SOLID_TOP:41,SOLID_BOTTOM:42,STICK_TOP:43,STICK_BOTTOM:44,SOLID_ARROW_TOP_REVERSE:45,SOLID_ARROW_BOTTOM_REVERSE:46,STICK_ARROW_TOP_REVERSE:47,STICK_ARROW_BOTTOM_REVERSE:48,SOLID_TOP_DOTTED:51,SOLID_BOTTOM_DOTTED:52,STICK_TOP_DOTTED:53,STICK_BOTTOM_DOTTED:54,SOLID_ARROW_TOP_REVERSE_DOTTED:55,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:56,STICK_ARROW_TOP_REVERSE_DOTTED:57,STICK_ARROW_BOTTOM_REVERSE_DOTTED:58,CENTRAL_CONNECTION:59,CENTRAL_CONNECTION_REVERSE:60,CENTRAL_CONNECTION_DUAL:61},o={FILLED:0,OPEN:1},p={LEFTOF:0,RIGHTOF:1,OVER:2},q=class{constructor(){this.state=new d.m(()=>({prevActor:void 0,actors:new Map,createdActors:new Map,destroyedActors:new Map,boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0})),this.setAccTitle=h.SV,this.setAccDescription=h.EI,this.setDiagramTitle=h.ke,this.getAccTitle=h.iN,this.getAccDescription=h.m7,this.getDiagramTitle=h.ab,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap((0,h.D7)().wrap),this.LINETYPE=n,this.ARROWTYPE=o,this.PLACEMENT=p}static{(0,j.K)(this,"SequenceDB")}addBox(a){this.state.records.boxes.push({name:a.text,wrap:a.wrap??this.autoWrap(),fill:a.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(a,b,c,d,f){let g,h=this.state.records.currentBox;if(void 0!==f){let a;a=f.includes("\n")?f+"\n":"{\n"+f+"\n}",g=(0,e.H)(a,{schema:e.r})}d=g?.type??d,g?.alias&&(!c||c.text===b)&&(c={text:g.alias,wrap:c?.wrap,type:d});let i=this.state.records.actors.get(a);if(i){if(this.state.records.currentBox&&i.box&&this.state.records.currentBox!==i.box)throw Error(`A same participant should only be defined in one Box: ${i.name} can't be in '${i.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(h=i.box?i.box:this.state.records.currentBox,i.box=h,i&&b===i.name&&null==c)return}if(c?.text==null&&(c={text:b,type:d}),(null==d||null==c.text)&&(c={text:b,type:d}),this.state.records.actors.set(a,{box:h,name:b,description:c.text,wrap:c.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:d??"participant"}),this.state.records.prevActor){let b=this.state.records.actors.get(this.state.records.prevActor);b&&(b.nextActor=a)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(a),this.state.records.prevActor=a}activationCount(a){let b,c=0;if(!a)return 0;for(b=0;b<this.state.records.messages.length;b++)this.state.records.messages[b].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[b].from===a&&c++,this.state.records.messages[b].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[b].from===a&&c--;return c}addMessage(a,b,c,d){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:a,to:b,message:c.text,wrap:c.wrap??this.autoWrap(),answer:d})}addSignal(a,b,c,d,e=!1,f){if(d===this.LINETYPE.ACTIVE_END&&1>this.activationCount(a??"")){let b=Error("Trying to inactivate an inactive participant ("+a+")");throw b.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},b}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:a,to:b,message:c?.text??"",wrap:c?.wrap??this.autoWrap(),type:d,activate:e,centralConnection:f??0}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(a=>a.name)}getMessages(){return this.state.records.messages}getBoxes(){return this.state.records.boxes}getActors(){return this.state.records.actors}getCreatedActors(){return this.state.records.createdActors}getDestroyedActors(){return this.state.records.destroyedActors}getActor(a){return this.state.records.actors.get(a)}getActorKeys(){return[...this.state.records.actors.keys()]}enableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!0}disableSequenceNumbers(){this.state.records.sequenceNumbersEnabled=!1}showSequenceNumbers(){return this.state.records.sequenceNumbersEnabled}setWrap(a){this.state.records.wrapEnabled=a}extractWrap(a){if(void 0===a)return{};a=a.trim();let b=null!==/^:?wrap:/.exec(a)||null===/^:?nowrap:/.exec(a)&&void 0;return{cleanedText:(void 0===b?a:a.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:b}}autoWrap(){return void 0!==this.state.records.wrapEnabled?this.state.records.wrapEnabled:(0,h.D7)().sequence?.wrap??!1}clear(){this.state.reset(),(0,h.IU)()}parseMessage(a){let b=a.trim(),{wrap:c,cleanedText:d}=this.extractWrap(b),e={text:d,wrap:c};return i.R.debug(`parseMessage: ${JSON.stringify(e)}`),e}parseBoxData(a){let b=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(a),c=b?.[1]?b[1].trim():"transparent",d=b?.[2]?b[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",c)||(c="transparent",d=a.trim());else{let b=new Option().style;b.color=c,b.color!==c&&(c="transparent",d=a.trim())}let{wrap:e,cleanedText:f}=this.extractWrap(d);return{text:f?(0,h.jZ)(f,(0,h.D7)()):void 0,color:c,wrap:e}}addNote(a,b,c){let d={actor:a,placement:b,message:c.text,wrap:c.wrap??this.autoWrap()},e=[].concat(a,a);this.state.records.notes.push(d),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:e[0],to:e[1],message:c.text,wrap:c.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:b})}addLinks(a,b){let c=this.getActor(a);try{let a=(0,h.jZ)(b.text,(0,h.D7)());a=(a=a.replace(/&equals;/g,"=")).replace(/&amp;/g,"&");let d=JSON.parse(a);this.insertLinks(c,d)}catch(a){i.R.error("error while parsing actor link text",a)}}addALink(a,b){let c=this.getActor(a);try{let a={},d=(0,h.jZ)(b.text,(0,h.D7)()),e=d.indexOf("@"),f=(d=(d=d.replace(/&equals;/g,"=")).replace(/&amp;/g,"&")).slice(0,e-1).trim(),g=d.slice(e+1).trim();a[f]=g,this.insertLinks(c,a)}catch(a){i.R.error("error while parsing actor link text",a)}}insertLinks(a,b){if(null==a.links)a.links=b;else for(let c in b)a.links[c]=b[c]}addProperties(a,b){let c=this.getActor(a);try{let a=(0,h.jZ)(b.text,(0,h.D7)()),d=JSON.parse(a);this.insertProperties(c,d)}catch(a){i.R.error("error while parsing actor properties text",a)}}insertProperties(a,b){if(null==a.properties)a.properties=b;else for(let c in b)a.properties[c]=b[c]}boxEnd(){this.state.records.currentBox=void 0}addDetails(a,b){let c=this.getActor(a),d=document.getElementById(b.text);try{let a=d.innerHTML,b=JSON.parse(a);b.properties&&this.insertProperties(c,b.properties),b.links&&this.insertLinks(c,b.links)}catch(a){i.R.error("error while parsing actor details text",a)}}getActorProperty(a,b){if(a?.properties!==void 0)return a.properties[b]}apply(a){if(Array.isArray(a))a.forEach(a=>{this.apply(a)});else switch(a.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:a.sequenceIndex,step:a.sequenceIndexStep,visible:a.sequenceVisible},wrap:!1,type:a.signalType});break;case"addParticipant":this.addActor(a.actor,a.actor,a.description,a.draw,a.config);break;case"createParticipant":if(this.state.records.actors.has(a.actor))throw Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");this.state.records.lastCreated=a.actor,this.addActor(a.actor,a.actor,a.description,a.draw,a.config),this.state.records.createdActors.set(a.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=a.actor,this.state.records.destroyedActors.set(a.actor,this.state.records.messages.length);break;case"activeStart":case"centralConnection":case"centralConnectionReverse":case"activeEnd":this.addSignal(a.actor,void 0,void 0,a.signalType);break;case"addNote":this.addNote(a.actor,a.placement,a.text);break;case"addLinks":this.addLinks(a.actor,a.text);break;case"addALink":this.addALink(a.actor,a.text);break;case"addProperties":this.addProperties(a.actor,a.text);break;case"addDetails":this.addDetails(a.actor,a.text);break;case"addMessage":if(this.state.records.lastCreated)if(a.to!==this.state.records.lastCreated)throw Error("The created participant "+this.state.records.lastCreated.name+" does not have an associated creating message after its declaration. Please check the sequence diagram.");else this.state.records.lastCreated=void 0;else if(this.state.records.lastDestroyed)if(a.to!==this.state.records.lastDestroyed&&a.from!==this.state.records.lastDestroyed)throw Error("The destroyed participant "+this.state.records.lastDestroyed.name+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");else this.state.records.lastDestroyed=void 0;this.addSignal(a.from,a.to,a.msg,a.signalType,a.activate,a.centralConnection);break;case"boxStart":this.addBox(a.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,a.loopText,a.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,a.signalType);break;case"rectStart":this.addSignal(void 0,void 0,a.color,a.signalType);break;case"optStart":this.addSignal(void 0,void 0,a.optText,a.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,a.altText,a.signalType);break;case"setAccTitle":(0,h.SV)(a.text);break;case"parStart":case"and":this.addSignal(void 0,void 0,a.parText,a.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,a.criticalText,a.signalType);break;case"option":this.addSignal(void 0,void 0,a.optionText,a.signalType);break;case"breakStart":this.addSignal(void 0,void 0,a.breakText,a.signalType)}}getConfig(){return(0,h.D7)().sequence}},r=(0,j.K)(a=>{let b=a.dropShadow??"none",{look:c}=(0,h.D7)();return`.actor {
2
2
  stroke: ${a.actorBorder};
3
3
  fill: ${a.actorBkg};
4
4
  stroke-width: ${a.strokeWidth??1};
@@ -12,7 +12,7 @@
12
12
  stroke: revert;
13
13
  stroke-width: revert;
14
14
  }
15
- `,"getIconStyles")},30917:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(95097),e=c(69085),f=(0,d.K)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")},51267:(a,b,c)=>{c.d(b,{P:()=>g});var d=c(36594),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")},71527:(a,b,c)=>{c.d(b,{CP:()=>l,Ck:()=>o,HT:()=>n,PB:()=>m,aC:()=>k,lC:()=>i,m:()=>j,tk:()=>h});var d=c(36594),e=c(95097),f=c(65207),g=c(69085),h=(0,e.K)((a,b)=>{let c=a.append("rect");if(c.attr("x",b.x),c.attr("y",b.y),c.attr("fill",b.fill),c.attr("stroke",b.stroke),c.attr("width",b.width),c.attr("height",b.height),b.name&&c.attr("name",b.name),b.rx&&c.attr("rx",b.rx),b.ry&&c.attr("ry",b.ry),void 0!==b.attrs)for(let a in b.attrs)c.attr(a,b.attrs[a]);return b.class&&c.attr("class",b.class),c},"drawRect"),i=(0,e.K)((a,b)=>{h(a,{x:b.startx,y:b.starty,width:b.stopx-b.startx,height:b.stopy-b.starty,fill:b.fill,stroke:b.stroke,class:"rect"}).lower()},"drawBackgroundRect"),j=(0,e.K)((a,b)=>{let c=b.text.replace(d.H1," "),e=a.append("text");e.attr("x",b.x),e.attr("y",b.y),e.attr("class","legend"),e.style("text-anchor",b.anchor),b.class&&e.attr("class",b.class);let f=e.append("tspan");return f.attr("x",b.x+2*b.textMargin),f.text(c),e},"drawText"),k=(0,e.K)((a,b,c,d)=>{let e=a.append("image");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",g)},"drawImage"),l=(0,e.K)((a,b,c,d)=>{let e=a.append("use");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",`#${g}`)},"drawEmbeddedImage"),m=(0,e.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),n=(0,e.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),o=(0,e.K)(()=>{let a=(0,g.Ltv)(".mermaidTooltip");return a.empty()&&(a=(0,g.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),a},"createTooltip")},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])},77181:(a,b,c)=>{c.d(b,{AC:()=>z,tM:()=>x,ur:()=>y});var d=c(23464),e=c(30917),f=c(51267),g=c(55023),h=c(35645),i=c(71527),j=c(38317),k=c(37879),l=c(36594),m=c(58715),n=c(95097),o=c(69085),p=c(11656),q=c(75899),r=c(14120),s=class{constructor(){this.vertexCounter=0,this.config=(0,l.D7)(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=l.SV,this.setAccDescription=l.EI,this.setDiagramTitle=l.ke,this.getAccTitle=l.iN,this.getAccDescription=l.m7,this.getDiagramTitle=l.ab,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{(0,n.K)(this,"FlowDB")}sanitizeText(a){return l.Y2.sanitizeText(a,this.config)}sanitizeNodeLabelType(a){switch(a){case"markdown":case"string":case"text":return a;default:return"markdown"}}setDiagramId(a){this.diagramId=a}lookUpDomId(a){for(let b of this.vertices.values())if(b.id===a)return this.diagramId?`${this.diagramId}-${b.domId}`:b.domId;return this.diagramId?`${this.diagramId}-${a}`:a}addVertex(a,b,c,d,e,f,h={},i){let k,n;if(!a||0===a.trim().length)return;if(void 0!==i){let a;a=i.includes("\n")?i+"\n":"{\n"+i+"\n}",k=(0,g.H)(a,{schema:g.r})}let o=this.edges.find(b=>b.id===a);if(o){let a=k;a?.animate!==void 0&&(o.animate=a.animate),a?.animation!==void 0&&(o.animation=a.animation),a?.curve!==void 0&&(o.interpolate=a.curve);return}let p=this.vertices.get(a);if(void 0===p&&(void 0===b&&void 0===c&&null!=d&&m.R.warn(`Style applied to unknown node "${a}". This may indicate a typo. The node will be created automatically.`),p={id:a,labelType:"text",domId:"flowchart-"+a+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(a,p)),this.vertexCounter++,void 0!==b?(this.config=(0,l.D7)(),n=this.sanitizeText(b.text.trim()),p.labelType=b.type,n.startsWith('"')&&n.endsWith('"')&&(n=n.substring(1,n.length-1)),p.text=n):void 0===p.text&&(p.text=a),void 0!==c&&(p.type=c),null!=d&&d.forEach(a=>{p.styles.push(a)}),null!=e&&e.forEach(a=>{p.classes.push(a)}),void 0!==f&&(p.dir=f),void 0===p.props?p.props=h:void 0!==h&&Object.assign(p.props,h),void 0!==k){if(k.shape){if(k.shape!==k.shape.toLowerCase()||k.shape.includes("_"))throw Error(`No such shape: ${k.shape}. Shape names should be lowercase.`);if(!(0,j.aP)(k.shape))throw Error(`No such shape: ${k.shape}.`);p.type=k?.shape}k?.label&&(p.text=k?.label,p.labelType=this.sanitizeNodeLabelType(k?.labelType)),k?.icon&&(p.icon=k?.icon,k.label?.trim()||p.text!==a||(p.text="")),k?.form&&(p.form=k?.form),k?.pos&&(p.pos=k?.pos),k?.img&&(p.img=k?.img,k.label?.trim()||p.text!==a||(p.text="")),k?.constraint&&(p.constraint=k.constraint),k.w&&(p.assetWidth=Number(k.w)),k.h&&(p.assetHeight=Number(k.h))}}addSingleLink(a,b,c,d){let e={start:a,end:b,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};m.R.info("abc78 Got edge...",e);let f=c.text;if(void 0!==f&&(e.text=this.sanitizeText(f.text.trim()),e.text.startsWith('"')&&e.text.endsWith('"')&&(e.text=e.text.substring(1,e.text.length-1)),e.labelType=this.sanitizeNodeLabelType(f.type)),void 0!==c&&(e.type=c.type,e.stroke=c.stroke,e.length=c.length>10?10:c.length),d&&!this.edges.some(a=>a.id===d))e.id=d,e.isUserDefinedId=!0;else{let a=this.edges.filter(a=>a.start===e.start&&a.end===e.end);0===a.length?e.id=(0,k.rY)(e.start,e.end,{counter:0,prefix:"L"}):e.id=(0,k.rY)(e.start,e.end,{counter:a.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))m.R.info("Pushing edge..."),this.edges.push(e);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
15
+ `,"getIconStyles")},30917:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(95097),e=c(69085),f=(0,d.K)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")},51267:(a,b,c)=>{c.d(b,{P:()=>g});var d=c(36594),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")},71527:(a,b,c)=>{c.d(b,{CP:()=>l,Ck:()=>o,HT:()=>n,PB:()=>m,aC:()=>k,lC:()=>i,m:()=>j,tk:()=>h});var d=c(36594),e=c(95097),f=c(65207),g=c(69085),h=(0,e.K)((a,b)=>{let c=a.append("rect");if(c.attr("x",b.x),c.attr("y",b.y),c.attr("fill",b.fill),c.attr("stroke",b.stroke),c.attr("width",b.width),c.attr("height",b.height),b.name&&c.attr("name",b.name),b.rx&&c.attr("rx",b.rx),b.ry&&c.attr("ry",b.ry),void 0!==b.attrs)for(let a in b.attrs)c.attr(a,b.attrs[a]);return b.class&&c.attr("class",b.class),c},"drawRect"),i=(0,e.K)((a,b)=>{h(a,{x:b.startx,y:b.starty,width:b.stopx-b.startx,height:b.stopy-b.starty,fill:b.fill,stroke:b.stroke,class:"rect"}).lower()},"drawBackgroundRect"),j=(0,e.K)((a,b)=>{let c=b.text.replace(d.H1," "),e=a.append("text");e.attr("x",b.x),e.attr("y",b.y),e.attr("class","legend"),e.style("text-anchor",b.anchor),b.class&&e.attr("class",b.class);let f=e.append("tspan");return f.attr("x",b.x+2*b.textMargin),f.text(c),e},"drawText"),k=(0,e.K)((a,b,c,d)=>{let e=a.append("image");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",g)},"drawImage"),l=(0,e.K)((a,b,c,d)=>{let e=a.append("use");e.attr("x",b),e.attr("y",c);let g=(0,f.J)(d);e.attr("xlink:href",`#${g}`)},"drawEmbeddedImage"),m=(0,e.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),n=(0,e.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),o=(0,e.K)(()=>{let a=(0,g.Ltv)(".mermaidTooltip");return a.empty()&&(a=(0,g.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),a},"createTooltip")},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])},77181:(a,b,c)=>{c.d(b,{AC:()=>z,tM:()=>x,ur:()=>y});var d=c(23464),e=c(30917),f=c(51267),g=c(77404),h=c(35645),i=c(71527),j=c(38317),k=c(37879),l=c(36594),m=c(58715),n=c(95097),o=c(69085),p=c(11656),q=c(75899),r=c(14120),s=class{constructor(){this.vertexCounter=0,this.config=(0,l.D7)(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=l.SV,this.setAccDescription=l.EI,this.setDiagramTitle=l.ke,this.getAccTitle=l.iN,this.getAccDescription=l.m7,this.getDiagramTitle=l.ab,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{(0,n.K)(this,"FlowDB")}sanitizeText(a){return l.Y2.sanitizeText(a,this.config)}sanitizeNodeLabelType(a){switch(a){case"markdown":case"string":case"text":return a;default:return"markdown"}}setDiagramId(a){this.diagramId=a}lookUpDomId(a){for(let b of this.vertices.values())if(b.id===a)return this.diagramId?`${this.diagramId}-${b.domId}`:b.domId;return this.diagramId?`${this.diagramId}-${a}`:a}addVertex(a,b,c,d,e,f,h={},i){let k,n;if(!a||0===a.trim().length)return;if(void 0!==i){let a;a=i.includes("\n")?i+"\n":"{\n"+i+"\n}",k=(0,g.H)(a,{schema:g.r})}let o=this.edges.find(b=>b.id===a);if(o){let a=k;a?.animate!==void 0&&(o.animate=a.animate),a?.animation!==void 0&&(o.animation=a.animation),a?.curve!==void 0&&(o.interpolate=a.curve);return}let p=this.vertices.get(a);if(void 0===p&&(void 0===b&&void 0===c&&null!=d&&m.R.warn(`Style applied to unknown node "${a}". This may indicate a typo. The node will be created automatically.`),p={id:a,labelType:"text",domId:"flowchart-"+a+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(a,p)),this.vertexCounter++,void 0!==b?(this.config=(0,l.D7)(),n=this.sanitizeText(b.text.trim()),p.labelType=b.type,n.startsWith('"')&&n.endsWith('"')&&(n=n.substring(1,n.length-1)),p.text=n):void 0===p.text&&(p.text=a),void 0!==c&&(p.type=c),null!=d&&d.forEach(a=>{p.styles.push(a)}),null!=e&&e.forEach(a=>{p.classes.push(a)}),void 0!==f&&(p.dir=f),void 0===p.props?p.props=h:void 0!==h&&Object.assign(p.props,h),void 0!==k){if(k.shape){if(k.shape!==k.shape.toLowerCase()||k.shape.includes("_"))throw Error(`No such shape: ${k.shape}. Shape names should be lowercase.`);if(!(0,j.aP)(k.shape))throw Error(`No such shape: ${k.shape}.`);p.type=k?.shape}k?.label&&(p.text=k?.label,p.labelType=this.sanitizeNodeLabelType(k?.labelType)),k?.icon&&(p.icon=k?.icon,k.label?.trim()||p.text!==a||(p.text="")),k?.form&&(p.form=k?.form),k?.pos&&(p.pos=k?.pos),k?.img&&(p.img=k?.img,k.label?.trim()||p.text!==a||(p.text="")),k?.constraint&&(p.constraint=k.constraint),k.w&&(p.assetWidth=Number(k.w)),k.h&&(p.assetHeight=Number(k.h))}}addSingleLink(a,b,c,d){let e={start:a,end:b,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};m.R.info("abc78 Got edge...",e);let f=c.text;if(void 0!==f&&(e.text=this.sanitizeText(f.text.trim()),e.text.startsWith('"')&&e.text.endsWith('"')&&(e.text=e.text.substring(1,e.text.length-1)),e.labelType=this.sanitizeNodeLabelType(f.type)),void 0!==c&&(e.type=c.type,e.stroke=c.stroke,e.length=c.length>10?10:c.length),d&&!this.edges.some(a=>a.id===d))e.id=d,e.isUserDefinedId=!0;else{let a=this.edges.filter(a=>a.start===e.start&&a.end===e.end);0===a.length?e.id=(0,k.rY)(e.start,e.end,{counter:0,prefix:"L"}):e.id=(0,k.rY)(e.start,e.end,{counter:a.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))m.R.info("Pushing edge..."),this.edges.push(e);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
16
16
 
17
17
  Initialize mermaid with maxEdges set to a higher number to allow more edges.
18
18
  You cannot set this config via configuration inside the diagram as it is a secure config.