@surething/cockpit 1.0.191 → 1.0.193
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.
- package/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +15 -13
- package/.next-prod/build-manifest.json +5 -5
- package/.next-prod/diagnostics/framework.json +1 -1
- package/.next-prod/images-manifest.json +1 -0
- package/.next-prod/next-minimal-server.js.nft.json +1 -1
- package/.next-prod/next-server.js.nft.json +1 -1
- package/.next-prod/prerender-manifest.json +3 -3
- package/.next-prod/react-loadable-manifest.json +2 -258
- package/.next-prod/required-server-files.js +18 -6
- package/.next-prod/required-server-files.json +18 -6
- package/.next-prod/routes-manifest.json +13 -0
- package/.next-prod/server/app/_global-error/page.js +32 -3
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -2
- package/.next-prod/server/app/_global-error.rsc +8 -6
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +8 -6
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +2 -1
- package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +2 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +2 -2
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +12 -9
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +12 -9
- package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +4 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +2 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +3 -2
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js +13 -13
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/codex/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +3 -3
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +3 -3
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/chat/route.js +3 -3
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +2 -2
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +2 -2
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -0
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/stat/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/files/text/route.js +1 -0
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/files/text/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js +1 -1
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/load/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/save/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/jupyter/shutdown/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js +1 -1
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/page.js +6 -6
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +10 -10
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +2 -2
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +15 -13
- package/.next-prod/server/chunks/1813.js +1 -1
- package/.next-prod/server/chunks/2338.js +1 -1
- package/.next-prod/server/chunks/3269.js +1 -1
- package/.next-prod/server/chunks/3353.js +1 -0
- package/.next-prod/server/chunks/4098.js +1 -1
- package/.next-prod/server/chunks/4490.js +3 -3
- package/.next-prod/server/chunks/4732.js +1 -0
- package/.next-prod/server/chunks/4741.js +5 -9
- package/.next-prod/server/chunks/4793.js +1 -1
- package/.next-prod/server/chunks/5147.js +1 -1
- package/.next-prod/server/chunks/700.js +1 -1
- package/.next-prod/server/chunks/7514.js +1 -1
- package/.next-prod/server/chunks/8465.js +15 -0
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -2
- package/.next-prod/server/prefetch-hints.json +1 -0
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/9osElWlkhv6tmFTniHsfB/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/3530-74191451ec2a46c4.js +14 -0
- package/.next-prod/static/chunks/3579-2dddc4a9ac5a5b31.js +1 -0
- package/.next-prod/static/chunks/{3695-f14fb3e48483755c.js → 3695-9503d0b646958dd4.js} +2 -2
- package/.next-prod/static/chunks/3700-e32aa43691d128b2.js +1 -0
- package/.next-prod/static/chunks/{3743-66d6d2ef6629c733.js → 3743-5e5ffaf674977450.js} +1 -1
- package/.next-prod/static/chunks/3794-3fb4e6ee851037bb.js +32 -0
- package/.next-prod/static/chunks/4bd1b696-e356ca5ba0218e27.js +1 -0
- package/.next-prod/static/chunks/{7650.18f74243e9325242.js → 5269.2e771096652dc113.js} +1 -1
- package/.next-prod/static/chunks/54a60aa6-1a0e6738c5ca0c78.js +79 -0
- package/.next-prod/static/chunks/9062-cf3c7d314edd19d0.js +1 -0
- package/.next-prod/static/chunks/{aaea2bcf-4f9eb5012da21e0f.js → aaea2bcf-be8b39a8f32280f3.js} +1 -1
- package/.next-prod/static/chunks/app/_global-error/page-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/bash/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/load/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/save/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/{layout-44210aade5d56585.js → layout-fc306a84f663d5af.js} +1 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/app/{page-e0d663a97bc29595.js → page-95c3cb3c5c7c5ef1.js} +1 -1
- package/.next-prod/static/chunks/app/project/page-66c22be12277e5c1.js +29 -0
- package/.next-prod/static/chunks/app/review/[id]/page-feeb4d9d472b00ab.js +1 -0
- package/.next-prod/static/chunks/d3ac728e-ba6c269aebe5932e.js +1 -0
- package/.next-prod/static/chunks/{e868780c.a081703edc1bc551.js → e868780c.16e43c5968ccf2bf.js} +3 -3
- package/.next-prod/static/chunks/framework-52c9cc950957e3ac.js +1 -0
- package/.next-prod/static/chunks/main-5a46314a5491113b.js +5 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-94e40d01eb0846a0.js +1 -0
- package/.next-prod/static/chunks/webpack-9a8ea3995034c536.js +1 -0
- package/.next-prod/static/css/49923bb0dd70e411.css +1 -0
- package/.next-prod/static/css/e33280be1b23649f.css +1 -0
- package/.next-prod/trace +12 -13
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/bash/route.ts +3 -2
- package/.next-prod/types/app/api/chat/codex/route.ts +3 -2
- package/.next-prod/types/app/api/chat/kimi/route.ts +3 -2
- package/.next-prod/types/app/api/chat/ollama/route.ts +3 -2
- package/.next-prod/types/app/api/chat/route.ts +3 -2
- package/.next-prod/types/app/api/claude-stats/route.ts +3 -2
- package/.next-prod/types/app/api/commands/route.ts +3 -2
- package/.next-prod/types/app/api/comments/route.ts +3 -2
- package/.next-prod/types/app/api/db/columns/route.ts +3 -2
- package/.next-prod/types/app/api/db/connect/route.ts +3 -2
- package/.next-prod/types/app/api/db/disconnect/route.ts +3 -2
- package/.next-prod/types/app/api/db/export/route.ts +3 -2
- package/.next-prod/types/app/api/db/query/route.ts +3 -2
- package/.next-prod/types/app/api/db/schemas/route.ts +3 -2
- package/.next-prod/types/app/api/extension/version/route.ts +3 -2
- package/.next-prod/types/app/api/file/route.ts +3 -2
- package/.next-prod/types/app/api/files/blame/route.ts +3 -2
- package/.next-prod/types/app/api/files/clipboard/route.ts +3 -2
- package/.next-prod/types/app/api/files/copy/route.ts +3 -2
- package/.next-prod/types/app/api/files/delete/route.ts +3 -2
- package/.next-prod/types/app/api/files/expanded/route.ts +3 -2
- package/.next-prod/types/app/api/files/index/route.ts +3 -2
- package/.next-prod/types/app/api/files/init/route.ts +3 -2
- package/.next-prod/types/app/api/files/paste/route.ts +3 -2
- package/.next-prod/types/app/api/files/read/route.ts +3 -2
- package/.next-prod/types/app/api/files/readdir/route.ts +3 -2
- package/.next-prod/types/app/api/files/recent/route.ts +3 -2
- package/.next-prod/types/app/api/files/save/route.ts +3 -2
- package/.next-prod/types/app/api/files/search/route.ts +3 -2
- package/.next-prod/types/app/api/files/stat/route.ts +351 -0
- package/.next-prod/types/app/api/files/text/route.ts +351 -0
- package/.next-prod/types/app/api/git/branch-diff/route.ts +3 -2
- package/.next-prod/types/app/api/git/branches/route.ts +3 -2
- package/.next-prod/types/app/api/git/commit-diff/route.ts +3 -2
- package/.next-prod/types/app/api/git/commits/route.ts +3 -2
- package/.next-prod/types/app/api/git/diff/route.ts +3 -2
- package/.next-prod/types/app/api/git/discard/route.ts +3 -2
- package/.next-prod/types/app/api/git/stage/route.ts +3 -2
- package/.next-prod/types/app/api/git/status/route.ts +3 -2
- package/.next-prod/types/app/api/git/unstage/route.ts +3 -2
- package/.next-prod/types/app/api/git/worktree/route.ts +3 -2
- package/.next-prod/types/app/api/global-state/route.ts +3 -2
- package/.next-prod/types/app/api/jupyter/load/route.ts +3 -2
- package/.next-prod/types/app/api/jupyter/save/route.ts +3 -2
- package/.next-prod/types/app/api/jupyter/shutdown/route.ts +3 -2
- package/.next-prod/types/app/api/lsp/definition/route.ts +3 -2
- package/.next-prod/types/app/api/lsp/hover/route.ts +3 -2
- package/.next-prod/types/app/api/lsp/references/route.ts +3 -2
- package/.next-prod/types/app/api/lsp/status/route.ts +3 -2
- package/.next-prod/types/app/api/lsp/warmup/route.ts +3 -2
- package/.next-prod/types/app/api/mysql/columns/route.ts +3 -2
- package/.next-prod/types/app/api/mysql/connect/route.ts +3 -2
- package/.next-prod/types/app/api/mysql/disconnect/route.ts +3 -2
- package/.next-prod/types/app/api/mysql/export/route.ts +3 -2
- package/.next-prod/types/app/api/mysql/query/route.ts +3 -2
- package/.next-prod/types/app/api/mysql/schemas/route.ts +3 -2
- package/.next-prod/types/app/api/neo4j/connect/route.ts +3 -2
- package/.next-prod/types/app/api/neo4j/disconnect/route.ts +3 -2
- package/.next-prod/types/app/api/neo4j/query/route.ts +3 -2
- package/.next-prod/types/app/api/neo4j/schema/route.ts +3 -2
- package/.next-prod/types/app/api/note/route.ts +3 -2
- package/.next-prod/types/app/api/ollama/models/route.ts +3 -2
- package/.next-prod/types/app/api/ollama/start/route.ts +3 -2
- package/.next-prod/types/app/api/open-cursor/route.ts +3 -2
- package/.next-prod/types/app/api/open-vscode/route.ts +3 -2
- package/.next-prod/types/app/api/pick-folder/route.ts +3 -2
- package/.next-prod/types/app/api/pinned-sessions/route.ts +3 -2
- package/.next-prod/types/app/api/project-settings/route.ts +3 -2
- package/.next-prod/types/app/api/project-state/route.ts +3 -2
- package/.next-prod/types/app/api/projects/route.ts +3 -2
- package/.next-prod/types/app/api/redis/command/route.ts +3 -2
- package/.next-prod/types/app/api/redis/connect/route.ts +3 -2
- package/.next-prod/types/app/api/redis/delete/route.ts +3 -2
- package/.next-prod/types/app/api/redis/disconnect/route.ts +3 -2
- package/.next-prod/types/app/api/redis/get/route.ts +3 -2
- package/.next-prod/types/app/api/redis/keys/route.ts +3 -2
- package/.next-prod/types/app/api/redis/set/route.ts +3 -2
- package/.next-prod/types/app/api/review/[id]/comments/route.ts +3 -2
- package/.next-prod/types/app/api/review/[id]/replies/route.ts +3 -2
- package/.next-prod/types/app/api/review/[id]/route.ts +3 -2
- package/.next-prod/types/app/api/review/identify/route.ts +3 -2
- package/.next-prod/types/app/api/review/order/route.ts +3 -2
- package/.next-prod/types/app/api/review/route.ts +3 -2
- package/.next-prod/types/app/api/review/share-info/route.ts +3 -2
- package/.next-prod/types/app/api/review/users/route.ts +3 -2
- package/.next-prod/types/app/api/scheduled-tasks/route.ts +3 -2
- package/.next-prod/types/app/api/services/config/route.ts +3 -2
- package/.next-prod/types/app/api/services/scripts/route.ts +3 -2
- package/.next-prod/types/app/api/session/[sessionId]/fork/route.ts +3 -2
- package/.next-prod/types/app/api/session/[sessionId]/history/route.ts +3 -2
- package/.next-prod/types/app/api/session-by-path/route.ts +3 -2
- package/.next-prod/types/app/api/sessions/projects/[encodedPath]/route.ts +3 -2
- package/.next-prod/types/app/api/sessions/projects/route.ts +3 -2
- package/.next-prod/types/app/api/sessions/route.ts +3 -2
- package/.next-prod/types/app/api/settings/route.ts +3 -2
- package/.next-prod/types/app/api/skills/[id]/route.ts +3 -2
- package/.next-prod/types/app/api/skills/content/route.ts +3 -2
- package/.next-prod/types/app/api/skills/route.ts +3 -2
- package/.next-prod/types/app/api/terminal/aliases/route.ts +3 -2
- package/.next-prod/types/app/api/terminal/autocomplete/route.ts +3 -2
- package/.next-prod/types/app/api/terminal/bubble-order/route.ts +3 -2
- package/.next-prod/types/app/api/terminal/env/route.ts +3 -2
- package/.next-prod/types/app/api/terminal/history/route.ts +3 -2
- package/.next-prod/types/app/api/version/route.ts +3 -2
- package/.next-prod/types/app/page.ts +3 -2
- package/.next-prod/types/app/project/page.ts +3 -2
- package/.next-prod/types/app/review/[id]/page.ts +3 -2
- package/.next-prod/types/cache-life.d.ts +145 -0
- package/.next-prod/types/routes.d.ts +3 -1
- package/.next-prod/types/validator.ts +18 -0
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/dist/wsServer.mjs +56 -6
- package/package.json +2 -3
- package/server.mjs +49 -5
- package/.next-prod/server/chunks/1639.js +0 -1
- package/.next-prod/server/chunks/1661.js +0 -1
- package/.next-prod/server/chunks/1667.js +0 -1
- package/.next-prod/server/chunks/1912.js +0 -1
- package/.next-prod/server/chunks/2325.js +0 -82
- package/.next-prod/server/chunks/2376.js +0 -36
- package/.next-prod/server/chunks/2816.js +0 -1
- package/.next-prod/server/chunks/2840.js +0 -62
- package/.next-prod/server/chunks/3434.js +0 -1
- package/.next-prod/server/chunks/3441.js +0 -24
- package/.next-prod/server/chunks/3503.js +0 -29
- package/.next-prod/server/chunks/3932.js +0 -56
- package/.next-prod/server/chunks/4073.js +0 -1
- package/.next-prod/server/chunks/4097.js +0 -136
- package/.next-prod/server/chunks/4268.js +0 -4
- package/.next-prod/server/chunks/4309.js +0 -141
- package/.next-prod/server/chunks/4345.js +0 -1
- package/.next-prod/server/chunks/4367.js +0 -1
- package/.next-prod/server/chunks/4388.js +0 -24
- package/.next-prod/server/chunks/4442.js +0 -1
- package/.next-prod/server/chunks/459.js +0 -1
- package/.next-prod/server/chunks/5152.js +0 -1
- package/.next-prod/server/chunks/5460.js +0 -201
- package/.next-prod/server/chunks/5481.js +0 -1
- package/.next-prod/server/chunks/5536.js +0 -148
- package/.next-prod/server/chunks/5733.js +0 -5
- package/.next-prod/server/chunks/582.js +0 -1
- package/.next-prod/server/chunks/5958.js +0 -1
- package/.next-prod/server/chunks/6117.js +0 -13
- package/.next-prod/server/chunks/6142.js +0 -287
- package/.next-prod/server/chunks/6346.js +0 -1
- package/.next-prod/server/chunks/6443.js +0 -1
- package/.next-prod/server/chunks/6804.js +0 -43
- package/.next-prod/server/chunks/7122.js +0 -1
- package/.next-prod/server/chunks/7265.js +0 -93
- package/.next-prod/server/chunks/7307.js +0 -1
- package/.next-prod/server/chunks/7483.js +0 -1
- package/.next-prod/server/chunks/7484.js +0 -64
- package/.next-prod/server/chunks/7800.js +0 -166
- package/.next-prod/server/chunks/8068.js +0 -63
- package/.next-prod/server/chunks/8351.js +0 -23
- package/.next-prod/server/chunks/8585.js +0 -198
- package/.next-prod/server/chunks/887.js +0 -215
- package/.next-prod/server/chunks/911.js +0 -1
- package/.next-prod/server/chunks/9116.js +0 -65
- package/.next-prod/server/chunks/925.js +0 -68
- package/.next-prod/server/chunks/9401.js +0 -1
- package/.next-prod/server/chunks/9408.js +0 -1
- package/.next-prod/static/chunks/1310.c38c5fbf05820fcd.js +0 -166
- package/.next-prod/static/chunks/1409.9f81cd6d2cab4b67.js +0 -1
- package/.next-prod/static/chunks/142.e09e154342f02da4.js +0 -4
- package/.next-prod/static/chunks/1590.05549e036336164c.js +0 -65
- package/.next-prod/static/chunks/1948.bf7e0d9ede202530.js +0 -29
- package/.next-prod/static/chunks/1987.226da043eabc8911.js +0 -5
- package/.next-prod/static/chunks/1991.d869abe5092c9011.js +0 -1
- package/.next-prod/static/chunks/2020.46a0112747939389.js +0 -1
- package/.next-prod/static/chunks/2235.b4453110c06e2b09.js +0 -1
- package/.next-prod/static/chunks/254.8b4308512ac955b5.js +0 -24
- package/.next-prod/static/chunks/2729.826909b4d5229ba6.js +0 -68
- package/.next-prod/static/chunks/2821.fa74c6e87f6e759a.js +0 -1
- package/.next-prod/static/chunks/2921.26016c4c7eb031e8.js +0 -1
- package/.next-prod/static/chunks/2ff9d716.93c18c265de76cfb.js +0 -136
- package/.next-prod/static/chunks/3126.c89ab7ce8e10978e.js +0 -1
- package/.next-prod/static/chunks/3530-49f50405e2b2a8c2.js +0 -14
- package/.next-prod/static/chunks/3613.9a37e282a0b018d7.js +0 -1
- package/.next-prod/static/chunks/3682.d8c0079db560c625.js +0 -1
- package/.next-prod/static/chunks/3700-1edddcc68c5c2ac3.js +0 -1
- package/.next-prod/static/chunks/3794-337d1ca25ad99a89.js +0 -2
- package/.next-prod/static/chunks/4699.8603b2742a761084.js +0 -1
- package/.next-prod/static/chunks/4892.1674cc00200143ba.js +0 -1
- package/.next-prod/static/chunks/4bd1b696-e5d7c65570c947b7.js +0 -1
- package/.next-prod/static/chunks/5019.2906d96e77b98f68.js +0 -198
- package/.next-prod/static/chunks/5139.83dc2c84aeea716b.js +0 -63
- package/.next-prod/static/chunks/5199.5faac6a2cc104a4c.js +0 -36
- package/.next-prod/static/chunks/5269.25d99df0164521ad.js +0 -23
- package/.next-prod/static/chunks/5325.aad15a16a5d57787.js +0 -1
- package/.next-prod/static/chunks/5364.2e5ba480c24d7854.js +0 -148
- package/.next-prod/static/chunks/5394.9d260f733e336357.js +0 -287
- package/.next-prod/static/chunks/54a60aa6-f60235f3d6b54466.js +0 -79
- package/.next-prod/static/chunks/5788.e5d5040b65e5edf3.js +0 -1
- package/.next-prod/static/chunks/6026.4027a04696ef04db.js +0 -1
- package/.next-prod/static/chunks/6108-df36466c7d900315.js +0 -1
- package/.next-prod/static/chunks/6383.ca3e074feb80c69c.js +0 -1
- package/.next-prod/static/chunks/6460.8ce93fe47320f6c5.js +0 -1
- package/.next-prod/static/chunks/6871.38519003bd87ac1c.js +0 -62
- package/.next-prod/static/chunks/6878-b27072ccf7fd4eba.js +0 -1
- package/.next-prod/static/chunks/6962.3bbd080592d4efa0.js +0 -64
- package/.next-prod/static/chunks/7084.921c9737b83f55eb.js +0 -1
- package/.next-prod/static/chunks/7085.b16e7c0e24741232.js +0 -215
- package/.next-prod/static/chunks/7443.124211e5abc05d3f.js +0 -93
- package/.next-prod/static/chunks/7479.433d3878625aba75.js +0 -24
- package/.next-prod/static/chunks/7547.54b68d37b50c2f21.js +0 -43
- package/.next-prod/static/chunks/7874.8db6929b94cdf697.js +0 -1
- package/.next-prod/static/chunks/8317.9c6f22e0c8cd07a8.js +0 -141
- package/.next-prod/static/chunks/8776.6fb12270eca03fd3.js +0 -149
- package/.next-prod/static/chunks/8863.4a09596cf95e996a.js +0 -82
- package/.next-prod/static/chunks/90542734.58d84d15ab7a8c98.js +0 -1
- package/.next-prod/static/chunks/9062-a330afa1af7f133e.js +0 -1
- package/.next-prod/static/chunks/9233.124321d2f404e01c.js +0 -1
- package/.next-prod/static/chunks/9318.ba24787a52cefe4c.js +0 -56
- package/.next-prod/static/chunks/9373.6206c440af44002a.js +0 -1
- package/.next-prod/static/chunks/af7f6608.85a7e1eb0d4130b0.js +0 -53
- package/.next-prod/static/chunks/app/_global-error/page-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/bash/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/codex/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/load/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/save/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/app/project/page-ff9fb0aaf89c8457.js +0 -29
- package/.next-prod/static/chunks/app/review/[id]/page-be83af23e89a03f9.js +0 -1
- package/.next-prod/static/chunks/d3ac728e-d1ae8819b8f0be6a.js +0 -1
- package/.next-prod/static/chunks/framework-81b2e59ffe13bb24.js +0 -1
- package/.next-prod/static/chunks/main-ac50dc1e450895a2.js +0 -5
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-f626fdfbc87b7a2c.js +0 -1
- package/.next-prod/static/chunks/webpack-0f527ee7ab644d02.js +0 -1
- package/.next-prod/static/css/75f39a8350e8177f.css +0 -3
- package/.next-prod/static/s6yDo5HSYaSgHWRvF1qFE/_buildManifest.js +0 -1
- /package/.next-prod/static/{s6yDo5HSYaSgHWRvF1qFE → 9osElWlkhv6tmFTniHsfB}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2921],{92921:(t,i,e)=>{e.d(i,{diagram:()=>ti});var s,a=e(56087),n=e(16163),h=e(37916),o=e(78005),r=e(32165),l=e(33948),c=function(){var t=(0,r.K2)(function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],n=[1,6],h=[1,7],o=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],g=[1,28],u=[1,29],x=[1,30],d=[1,31],p=[1,32],f=[1,33],y=[1,34],m=[1,35],b=[1,36],A=[1,37],S=[1,43],w=[1,42],C=[1,47],k=[1,50],_=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],R=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],D=[1,64],L={trace:(0,r.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,r.K2)(function(t,i,e,s,a,n,h){var o=n.length-1;switch(a){case 5:s.setOrientation(n[o]);break;case 9:s.setDiagramTitle(n[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},n[o]);break;case 13:s.setLineData(n[o-1],n[o]);break;case 14:s.setBarData({text:"",type:"text"},n[o]);break;case 15:s.setBarData(n[o-1],n[o]);break;case 16:this.$=n[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=n[o-1];break;case 20:this.$=[Number(n[o-2]),...n[o]];break;case 21:this.$=[Number(n[o])];break;case 22:s.setXAxisTitle(n[o]);break;case 23:s.setXAxisTitle(n[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(n[o]);break;case 26:s.setXAxisRangeData(Number(n[o-2]),Number(n[o]));break;case 28:this.$=[n[o-2],...n[o]];break;case 29:this.$=[n[o]];break;case 30:s.setYAxisTitle(n[o]);break;case 31:s.setYAxisTitle(n[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(n[o-2]),Number(n[o]));break;case 37:case 38:this.$={text:n[o],type:"text"};break;case 39:this.$={text:n[o],type:"markdown"};break;case 40:this.$=n[o];break;case 41:this.$=n[o-1]+""+n[o]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:a,35:n,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:a,35:n,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:n,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(o,[2,34]),t(o,[2,35]),t(o,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:a,35:n,36:h}),{1:[2,3]},t(o,[2,5]),t(i,[2,7],{4:22,34:a,35:n,36:h}),{11:23,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:39,13:38,24:S,27:w,29:40,30:41,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:45,15:44,27:C,33:46,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},{20:[1,53]},{22:[1,54]},t(_,[2,18]),{1:[2,2]},t(_,[2,8]),t(_,[2,9]),t(T,[2,37],{40:55,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A}),t(T,[2,38]),t(T,[2,39]),t(R,[2,40]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(_,[2,10]),t(_,[2,22],{30:41,29:56,24:S,27:w}),t(_,[2,24]),t(_,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,11]),t(_,[2,30],{33:60,27:C}),t(_,[2,32]),{31:[1,61]},t(_,[2,12]),{17:62,24:k},{25:63,27:D},t(_,[2,14]),{17:65,24:k},t(_,[2,16]),t(_,[2,17]),t(R,[2,41]),t(_,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(_,[2,31]),{27:[1,69]},t(_,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(_,[2,15]),t(_,[2,26]),t(_,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:g,42:u,43:x,44:d,45:p,46:f,47:y,48:m,49:b,50:A},t(_,[2,33]),t(_,[2,19]),{25:73,27:D},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,r.K2)(function(t,i){if(i.recoverable)this.trace(t);else{var e=Error(t);throw e.hash=i,e}},"parseError"),parse:(0,r.K2)(function(t){var i=this,e=[0],s=[],a=[null],n=[],h=this.table,o="",l=0,c=0,g=0,u=n.slice.call(arguments,1),x=Object.create(this.lexer),d={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d[p]=this.yy[p]);x.setInput(t,d),d.lexer=x,d.parser=this,void 0===x.yylloc&&(x.yylloc={});var f=x.yylloc;n.push(f);var y=x.options&&x.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||x.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,r.K2)(function(t){e.length=e.length-2*t,a.length=a.length-t,n.length=n.length-t},"popStack"),(0,r.K2)(m,"lex");for(var b,A,S,w,C,k,_,T,R,D={};;){if(S=e[e.length-1],this.defaultActions[S]?w=this.defaultActions[S]:(null==b&&(b=m()),w=h[S]&&h[S][b]),void 0===w||!w.length||!w[0]){var L="";for(k in R=[],h[S])this.terminals_[k]&&k>2&&R.push("'"+this.terminals_[k]+"'");L=x.showPosition?"Parse error on line "+(l+1)+":\n"+x.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(L,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:f,expected:R})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+S+", token: "+b);switch(w[0]){case 1:e.push(b),a.push(x.yytext),n.push(x.yylloc),e.push(w[1]),b=null,A?(b=A,A=null):(c=x.yyleng,o=x.yytext,l=x.yylineno,f=x.yylloc,g>0&&g--);break;case 2:if(_=this.productions_[w[1]][1],D.$=a[a.length-_],D._$={first_line:n[n.length-(_||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(_||1)].first_column,last_column:n[n.length-1].last_column},y&&(D._$.range=[n[n.length-(_||1)].range[0],n[n.length-1].range[1]]),void 0!==(C=this.performAction.apply(D,[o,c,l,d,w[1],a,n].concat(u))))return C;_&&(e=e.slice(0,-1*_*2),a=a.slice(0,-1*_),n=n.slice(0,-1*_)),e.push(this.productions_[w[1]][0]),a.push(D.$),n.push(D._$),T=h[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0},"parse")};function P(){this.yy={}}return L.lexer={EOF:1,parseError:(0,r.K2)(function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},"parseError"),setInput:(0,r.K2)(function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,r.K2)(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=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),e.length-1&&(this.yylineno-=e.length-1);var a=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:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.K2)(function(){return this._more=!0,this},"more"),reject:(0,r.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,r.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,r.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.K2)(function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,r.K2)(function(t,i){var e,s,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack)for(var n in a)this[n]=a[n];return!1},"test_match"),next:(0,r.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,i,e,s,a=this._currentRules(),n=0;n<a.length;n++)if((e=this._input.match(this.rules[a[n]]))&&(!i||e[0].length>i[0].length)){if(i=e,s=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,a[n])))return t;if(!this._backtrack)return!1;i=!1;continue}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,a[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,r.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,r.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,r.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,r.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.K2)(function(t,i,e,s){switch(e){case 0:case 1:case 5:case 44:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 26:case 28:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 31;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 27;case 25:return this.popState(),26;case 27:this.pushState("string");break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}},(0,r.K2)(P,"Parser"),P.prototype=L,L.Parser=P,new P}();function g(t){return"bar"===t.type}function u(t){return"band"===t.type}function x(t){return"linear"===t.type}c.parser=c,(0,r.K2)(g,"isBarPlot"),(0,r.K2)(u,"isBandAxisData"),(0,r.K2)(x,"isLinearAxisData");var d=class{constructor(t){this.parentGroup=t}static{(0,r.K2)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};let e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(let a of t){let t=(0,n.W6)(s,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return s.remove(),e}},p=class{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{(0,r.K2)(this,"BaseAxis")}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){let t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);let a=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);let a=e.width+2*this.axisConfig.labelPadding;a<=i&&(i-=a,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){let t=[];if(this.showAxisLine){let i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},f=class extends p{static{(0,r.K2)(this,"BandAxis")}constructor(t,i,e,s,a){super(t,s,a,i),this.categories=e,this.scale=(0,l.WH)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,l.WH)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),r.Rm.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},y=class extends p{static{(0,r.K2)(this,"LinearAxis")}constructor(t,i,e,s,a){super(t,s,a,i),this.domain=e,this.scale=(0,l.m4Y)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,l.m4Y)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}};function m(t,i,e,s){let a=new d(s);return u(t)?new f(i,e,t.categories,t.title,a):new y(i,e,[t.min,t.max],t.title,a)}(0,r.K2)(m,"getAxis");var b=class{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,r.K2)(this,"ChartTitle")}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){let i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}};function A(t,i,e,s){return new b(new d(s),t,i,e)}(0,r.K2)(A,"getChartTitleComponent");var S=class{constructor(t,i,e,s,a){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=a}static{(0,r.K2)(this,"LinePlot")}getDrawableElement(){let t,i=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);return(t="horizontal"===this.orientation?(0,l.n8j)().y(t=>t[0]).x(t=>t[1])(i):(0,l.n8j)().x(t=>t[0]).y(t=>t[1])(i))?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},w=class{constructor(t,i,e,s,a,n){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=a,this.plotIndex=n}static{(0,r.K2)(this,"BarPlot")}getDrawableElement(){let t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},C=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,r.K2)(this,"BasePlot")}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let t=[];for(let[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{let s=new S(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{let s=new w(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}};function k(t,i,e){return new C(t,i,e)}(0,r.K2)(k,"getPlotComponent");var _=class{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:A(t,i,e,s),plot:k(t,i,e),xAxis:m(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:m(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}static{(0,r.K2)(this,"Orchestrator")}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),n=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:a,height:n});t-=h.width,i-=h.height,s=(h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),e=(h=this.componentStore.yAxis.calculateSpace({width:t,height:i})).width,(t-=h.width)>0&&(a+=t,t=0),i>0&&(n+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:n}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+a]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+n}),this.componentStore.yAxis.setRange([s,s+n]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>g(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,a=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:n,height:h});t-=o.width,i-=o.height,e=(o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i})).height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,a=e+o.height,t>0&&(n+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:a}),this.componentStore.yAxis.setRange([s,s+n]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([a,a+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:a}),this.chartData.plots.some(t=>g(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let t=[];for(let i of(this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis),Object.values(this.componentStore)))t.push(...i.getDrawableElements());return t}},T=class{static{(0,r.K2)(this,"XYChartBuilder")}static build(t,i,e,s){return new _(t,i,e,s).getDrawableElement()}},R=0,D=$(),L=I(),P=M(),E=L.plotColorPalette.split(",").map(t=>t.trim()),K=!1,v=!1;function I(){let t=(0,o.P$)(),i=(0,o.zj)();return(0,h.$t)(t.xyChart,i.themeVariables.xyChart)}function $(){let t=(0,o.zj)();return(0,h.$t)(o.UI.xyChart,t.xyChart)}function M(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function z(t){let i=(0,o.zj)();return(0,o.jZ)(t.trim(),i)}function B(t){s=t}function W(t){"horizontal"===t?D.chartOrientation="horizontal":D.chartOrientation="vertical"}function O(t){P.xAxis.title=z(t.text)}function F(t,i){P.xAxis={type:"linear",title:P.xAxis.title,min:t,max:i},K=!0}function N(t){P.xAxis={type:"band",title:P.xAxis.title,categories:t.map(t=>z(t.text))},K=!0}function V(t){P.yAxis.title=z(t.text)}function X(t,i){P.yAxis={type:"linear",title:P.yAxis.title,min:t,max:i},v=!0}function Y(t){let i=Math.min(...t),e=Math.max(...t),s=x(P.yAxis)?P.yAxis.min:1/0,a=x(P.yAxis)?P.yAxis.max:-1/0;P.yAxis={type:"linear",title:P.yAxis.title,min:Math.min(s,i),max:Math.max(a,e)}}function H(t){let i=[];if(0===t.length)return i;if(K||F(Math.min(x(P.xAxis)?P.xAxis.min:1/0,1),Math.max(x(P.xAxis)?P.xAxis.max:-1/0,t.length)),v||Y(t),u(P.xAxis)&&(i=P.xAxis.categories.map((i,e)=>[i,t[e]])),x(P.xAxis)){let e=P.xAxis.min,s=P.xAxis.max,a=(s-e)/(t.length-1),n=[];for(let t=e;t<=s;t+=a)n.push(`${t}`);i=n.map((i,e)=>[i,t[e]])}return i}function U(t){return E[0===t?0:t%E.length]}function j(t,i){let e=H(i);P.plots.push({type:"line",strokeFill:U(R),strokeWidth:2,data:e}),R++}function G(t,i){let e=H(i);P.plots.push({type:"bar",fill:U(R),data:e}),R++}function Q(){if(0===P.plots.length)throw Error("No Plot to render, please provide a plot with some data");return P.title=(0,o.ab)(),T.build(D,P,L,s)}function Z(){return L}function q(){return D}function J(){return P}(0,r.K2)(I,"getChartDefaultThemeConfig"),(0,r.K2)($,"getChartDefaultConfig"),(0,r.K2)(M,"getChartDefaultData"),(0,r.K2)(z,"textSanitizer"),(0,r.K2)(B,"setTmpSVGG"),(0,r.K2)(W,"setOrientation"),(0,r.K2)(O,"setXAxisTitle"),(0,r.K2)(F,"setXAxisRangeData"),(0,r.K2)(N,"setXAxisBand"),(0,r.K2)(V,"setYAxisTitle"),(0,r.K2)(X,"setYAxisRangeData"),(0,r.K2)(Y,"setYAxisRangeFromPlotData"),(0,r.K2)(H,"transformDataWithoutCategory"),(0,r.K2)(U,"getPlotColorFromPalette"),(0,r.K2)(j,"setLineData"),(0,r.K2)(G,"setBarData"),(0,r.K2)(Q,"getDrawableElem"),(0,r.K2)(Z,"getChartThemeConfig"),(0,r.K2)(q,"getChartConfig"),(0,r.K2)(J,"getXYChartData");var tt={getDrawableElem:Q,clear:(0,r.K2)(function(){(0,o.IU)(),R=0,D=$(),P=M(),E=(L=I()).plotColorPalette.split(",").map(t=>t.trim()),K=!1,v=!1},"clear"),setAccTitle:o.SV,getAccTitle:o.iN,setDiagramTitle:o.ke,getDiagramTitle:o.ab,getAccDescription:o.m7,setAccDescription:o.EI,setOrientation:W,setXAxisTitle:O,setXAxisRangeData:F,setXAxisBand:N,setYAxisTitle:V,setYAxisRangeData:X,setLineData:j,setBarData:G,setTmpSVGG:B,getChartThemeConfig:Z,getChartConfig:q,getXYChartData:J},ti={parser:c,db:tt,renderer:{draw:(0,r.K2)((t,i,e,s)=>{let n=s.db,h=n.getChartThemeConfig(),l=n.getChartConfig(),c=n.getXYChartData().plots[0].data.map(t=>t[1]);function g(t){return"top"===t?"text-before-edge":"middle"}function u(t){return"left"===t?"start":"right"===t?"end":"middle"}function x(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,r.K2)(g,"getDominantBaseLine"),(0,r.K2)(u,"getTextAnchor"),(0,r.K2)(x,"getTextTransformation"),r.Rm.debug("Rendering xychart chart\n"+t);let d=(0,a.D)(i),p=d.append("g").attr("class","main"),f=p.append("rect").attr("width",l.width).attr("height",l.height).attr("class","background");(0,o.a$)(d,l.height,l.width,!0),d.attr("viewBox",`0 0 ${l.width} ${l.height}`),f.attr("fill",h.backgroundColor),n.setTmpSVGG(d.append("g").attr("class","mermaid-tmp-group"));let y=n.getDrawableElem(),m={};function b(t){let i=p,e="";for(let[s]of t.entries()){let a=p;s>0&&m[e]&&(a=m[e]),e+=t[s],(i=m[e])||(i=m[e]=a.append("g").attr("class",t[s]))}return i}for(let t of((0,r.K2)(b,"getGroup"),y)){if(0===t.data.length)continue;let i=b(t.groupTexts);switch(t.type){case"rect":if(i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth),l.showDataLabel)if("horizontal"===l.chartOrientation){let e=function(t,i){let{data:e,label:a}=t;return i*a.length*s<=e.width-10};(0,r.K2)(e,"fitsHorizontally");let s=.7,a=t.data.map((t,i)=>({data:t,label:c[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),n=Math.floor(Math.min(...a.map(t=>{let{data:i}=t,s=.7*i.height;for(;!e(t,s)&&s>0;)s-=1;return s})));i.selectAll("text").data(a).enter().append("text").attr("x",t=>t.data.x+t.data.width-10).attr("y",t=>t.data.y+t.data.height/2).attr("text-anchor","end").attr("dominant-baseline","middle").attr("fill","black").attr("font-size",`${n}px`).text(t=>t.label)}else{let e=function(t,i,e){let{data:s,label:a}=t,n=i*a.length*.7,h=s.x+s.width/2,o=h-n/2,r=h+n/2,l=o>=s.x&&r<=s.x+s.width,c=s.y+e+i<=s.y+s.height;return l&&c};(0,r.K2)(e,"fitsInBar");let s=t.data.map((t,i)=>({data:t,label:c[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),a=Math.floor(Math.min(...s.map(t=>{let{data:i,label:s}=t,a=i.width/(.7*s.length);for(;!e(t,a,10)&&a>0;)a-=1;return a})));i.selectAll("text").data(s).enter().append("text").attr("x",t=>t.data.x+t.data.width/2).attr("y",t=>t.data.y+10).attr("text-anchor","middle").attr("dominant-baseline","hanging").attr("fill","black").attr("font-size",`${a}px`).text(t=>t.label)}break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>g(t.verticalPos)).attr("text-anchor",t=>u(t.horizontalPos)).attr("transform",t=>x(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw")}}}}]);
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3986],{52127:(t,e,a)=>{a.d(e,{diagram:()=>tk});var r=a(14759),s=a(45191),i=a(87722),n=a(37916),o=a(78005),c=a(32165),l=a(33948),d=a(84485),h=function(){var t=(0,c.K2)(function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},"o"),e=[1,2],a=[1,3],r=[1,4],s=[2,4],i=[1,9],n=[1,11],o=[1,12],l=[1,14],d=[1,15],h=[1,17],p=[1,18],T=[1,19],E=[1,25],g=[1,26],u=[1,27],_=[1,28],O=[1,29],x=[1,30],b=[1,31],y=[1,32],m=[1,33],I=[1,34],R=[1,35],f=[1,36],L=[1,37],P=[1,38],N=[1,39],D=[1,40],S=[1,42],w=[1,43],A=[1,44],k=[1,45],M=[1,46],C=[1,47],v=[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],Y=[1,74],B=[1,80],K=[1,81],$=[1,82],V=[1,83],W=[1,84],F=[1,85],q=[1,86],H=[1,87],z=[1,88],j=[1,89],U=[1,90],G=[1,91],X=[1,92],Z=[1,93],J=[1,94],Q=[1,95],tt=[1,96],te=[1,97],ta=[1,98],tr=[1,99],ts=[1,100],ti=[1,101],tn=[1,102],to=[1,103],tc=[1,104],tl=[1,105],td=[2,78],th=[4,5,17,51,53,54],tp=[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],tT=[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],tE=[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],tg=[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],tu=[5,52],t_=[70,71,72,73],tO=[1,151],tx={trace:(0,c.K2)(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,c.K2)(function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 10:case 8:case 9:case 14:this.$=[];break;case 5:case 11:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 12:case 13:case 67:this.$=i[o];break;case 16:i[o].type="createParticipant",this.$=i[o];break;case 17:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor};break;case 24:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1].actor};break;case 30:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 31:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 32:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 33:case 34:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 35:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 42:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 44:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 46:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 48:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 49:case 54:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 50:case 55:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 51:case 56:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 52:case 57:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 53:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 58:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 59:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 60:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 61:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 62:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 63:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 66:this.$=[i[o-2],i[o]];break;case 68:this.$=r.PLACEMENT.LEFTOF;break;case 69:this.$=r.PLACEMENT.RIGHTOF;break;case 70:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1].actor}];break;case 71:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4].actor}];break;case 72:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0,centralConnection:r.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:r.LINETYPE.CENTRAL_CONNECTION,actor:i[o-1].actor}];break;case 73:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o],activate:!1,centralConnection:r.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:r.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:i[o-4].actor}];break;case 74:this.$=[i[o-5],i[o-1],{type:"addMessage",from:i[o-5].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0,centralConnection:r.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:r.LINETYPE.CENTRAL_CONNECTION,actor:i[o-1].actor},{type:"centralConnectionReverse",signalType:r.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:i[o-5].actor}];break;case 75:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 76:this.$={type:"addParticipant",actor:i[o-1],config:i[o]};break;case 77:this.$=i[o-1].trim();break;case 78:this.$={type:"addParticipant",actor:i[o]};break;case 79:this.$=r.LINETYPE.SOLID_OPEN;break;case 80:this.$=r.LINETYPE.DOTTED_OPEN;break;case 81:this.$=r.LINETYPE.SOLID;break;case 82:this.$=r.LINETYPE.SOLID_TOP;break;case 83:this.$=r.LINETYPE.SOLID_BOTTOM;break;case 84:this.$=r.LINETYPE.STICK_TOP;break;case 85:this.$=r.LINETYPE.STICK_BOTTOM;break;case 86:this.$=r.LINETYPE.SOLID_TOP_DOTTED;break;case 87:this.$=r.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 88:this.$=r.LINETYPE.STICK_TOP_DOTTED;break;case 89:this.$=r.LINETYPE.STICK_BOTTOM_DOTTED;break;case 90:this.$=r.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 91:this.$=r.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 92:this.$=r.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 93:this.$=r.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 94:this.$=r.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 95:this.$=r.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 96:this.$=r.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 97:this.$=r.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 98:this.$=r.LINETYPE.BIDIRECTIONAL_SOLID;break;case 99:this.$=r.LINETYPE.DOTTED;break;case 100:this.$=r.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 101:this.$=r.LINETYPE.SOLID_CROSS;break;case 102:this.$=r.LINETYPE.DOTTED_CROSS;break;case 103:this.$=r.LINETYPE.SOLID_POINT;break;case 104:this.$=r.LINETYPE.DOTTED_POINT;break;case 105:this.$=r.parseMessage(i[o].trim().substring(1))}},"anonymous"),table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([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],s,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},t(v,[2,5]),{9:48,13:13,14:l,15:d,18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},t(v,[2,7]),t(v,[2,8]),t(v,[2,9]),t(v,[2,15]),{13:49,51:P,53:N,54:D},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,73:C},{23:56,73:C},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},t(v,[2,30]),t(v,[2,31]),{33:[1,62]},{35:[1,63]},t(v,[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:Y},{23:75,55:76,73:Y},{23:77,73:C},{69:78,72:[1,79],78:B,79:K,80:$,81:V,82:W,83:F,84:q,85:H,86:z,87:j,88:U,89:G,90:X,91:Z,92:J,93:Q,94:tt,95:te,96:ta,97:tr,98:ts,99:ti,100:tn,101:to,102:tc,103:tl},{57:106,59:[1,107],67:[1,108],68:[1,109]},{23:110,73:C},{23:111,73:C},{23:112,73:C},{23:113,73:C},t([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],td),t(v,[2,6]),t(v,[2,16]),t(th,[2,10],{11:114}),t(v,[2,18]),{5:[1,116],20:[1,115]},{5:[1,117]},t(v,[2,22]),{5:[1,118]},{5:[1,119]},t(v,[2,25]),t(v,[2,26]),t(v,[2,27]),t(v,[2,28]),t(v,[2,29]),t(v,[2,32]),t(v,[2,33]),t(tp,s,{7:120}),t(tp,s,{7:121}),t(tp,s,{7:122}),t(tT,s,{41:123,7:124}),t(tE,s,{43:125,7:126}),t(tE,s,{7:126,43:127}),t(tg,s,{46:128,7:129}),t(tp,s,{7:130}),{5:[1,132],52:[1,131]},{5:[1,134],52:[1,133]},t(tu,td,{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:C},{69:146,78:B,79:K,80:$,81:V,82:W,83:F,84:q,85:H,86:z,87:j,88:U,89:G,90:X,91:Z,92:J,93:Q,94:tt,95:te,96:ta,97:tr,98:ts,99:ti,100:tn,101:to,102:tc,103:tl},t(t_,[2,79]),t(t_,[2,80]),t(t_,[2,81]),t(t_,[2,82]),t(t_,[2,83]),t(t_,[2,84]),t(t_,[2,85]),t(t_,[2,86]),t(t_,[2,87]),t(t_,[2,88]),t(t_,[2,89]),t(t_,[2,90]),t(t_,[2,91]),t(t_,[2,92]),t(t_,[2,93]),t(t_,[2,94]),t(t_,[2,95]),t(t_,[2,96]),t(t_,[2,97]),t(t_,[2,98]),t(t_,[2,99]),t(t_,[2,100]),t(t_,[2,101]),t(t_,[2,102]),t(t_,[2,103]),t(t_,[2,104]),{23:147,73:C},{23:149,60:148,73:C},{73:[2,68]},{73:[2,69]},{58:150,104:tO},{58:152,104:tO},{58:153,104:tO},{58:154,104:tO},{4:[1,157],5:[1,159],12:156,13:158,17:[1,155],51:P,53:N,54:D},{5:[1,160]},t(v,[2,20]),t(v,[2,21]),t(v,[2,23]),t(v,[2,24]),{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[1,161],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[1,162],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[1,163],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{17:[1,164]},{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[2,47],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,50:[1,165],51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{17:[1,166]},{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[2,45],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,49:[1,167],51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{17:[1,168]},{17:[1,169]},{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[2,43],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,48:[1,170],51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{4:i,5:n,8:8,9:10,10:o,13:13,14:l,15:d,17:[1,171],18:16,19:h,22:p,23:41,24:T,25:20,26:21,27:22,28:23,29:24,30:E,31:g,32:u,34:_,36:O,37:x,38:b,39:y,40:m,42:I,44:R,45:f,47:L,51:P,53:N,54:D,56:S,61:w,62:A,63:k,64:M,73:C},{16:[1,172]},t(v,[2,50]),{16:[1,173]},t(v,[2,55]),t(tu,[2,76]),{76:[1,174]},{16:[1,175]},t(v,[2,52]),{16:[1,176]},t(v,[2,57]),t(v,[2,53]),{23:177,73:C},{23:178,73:C},{23:179,73:C},{58:180,104:tO},{23:181,72:[1,182],73:C},{58:183,104:tO},{58:184,104:tO},{66:[1,185],104:[2,67]},{5:[2,60]},{5:[2,105]},{5:[2,61]},{5:[2,62]},{5:[2,63]},t(v,[2,17]),t(th,[2,11]),{13:186,51:P,53:N,54:D},t(th,[2,13]),t(th,[2,14]),t(v,[2,19]),t(v,[2,35]),t(v,[2,36]),t(v,[2,37]),t(v,[2,38]),{16:[1,187]},t(v,[2,39]),{16:[1,188]},t(v,[2,40]),t(v,[2,41]),{16:[1,189]},t(v,[2,42]),{5:[1,190]},{5:[1,191]},{77:[1,192]},{5:[1,193]},{5:[1,194]},{58:195,104:tO},{58:196,104:tO},{58:197,104:tO},{5:[2,75]},{58:198,104:tO},{23:199,73:C},{5:[2,58]},{5:[2,59]},{23:200,73:C},t(th,[2,12]),t(tT,s,{7:124,41:201}),t(tE,s,{7:126,43:202}),t(tg,s,{7:129,46:203}),t(v,[2,49]),t(v,[2,54]),t(tu,[2,77]),t(v,[2,51]),t(v,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:204,104:tO},{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,c.K2)(function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},"parseError"),parse:(0,c.K2)(function(t){var e=this,a=[0],r=[],s=[null],i=[],n=this.table,o="",l=0,d=0,h=0,p=i.slice.call(arguments,1),T=Object.create(this.lexer),E={};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(E[g]=this.yy[g]);T.setInput(t,E),E.lexer=T,E.parser=this,void 0===T.yylloc&&(T.yylloc={});var u=T.yylloc;i.push(u);var _=T.options&&T.options.ranges;function O(){var t;return"number"!=typeof(t=r.pop()||T.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof E.parseError?this.parseError=E.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.K2)(function(t){a.length=a.length-2*t,s.length=s.length-t,i.length=i.length-t},"popStack"),(0,c.K2)(O,"lex");for(var x,b,y,m,I,R,f,L,P,N={};;){if(y=a[a.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==x&&(x=O()),m=n[y]&&n[y][x]),void 0===m||!m.length||!m[0]){var D="";for(R in P=[],n[y])this.terminals_[R]&&R>2&&P.push("'"+this.terminals_[R]+"'");D=T.showPosition?"Parse error on line "+(l+1)+":\n"+T.showPosition()+"\nExpecting "+P.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(D,{text:T.match,token:this.terminals_[x]||x,line:T.yylineno,loc:u,expected:P})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+y+", token: "+x);switch(m[0]){case 1:a.push(x),s.push(T.yytext),i.push(T.yylloc),a.push(m[1]),x=null,b?(x=b,b=null):(d=T.yyleng,o=T.yytext,l=T.yylineno,u=T.yylloc,h>0&&h--);break;case 2:if(f=this.productions_[m[1]][1],N.$=s[s.length-f],N._$={first_line:i[i.length-(f||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(f||1)].first_column,last_column:i[i.length-1].last_column},_&&(N._$.range=[i[i.length-(f||1)].range[0],i[i.length-1].range[1]]),void 0!==(I=this.performAction.apply(N,[o,d,l,E,m[1],s,i].concat(p))))return I;f&&(a=a.slice(0,-1*f*2),s=s.slice(0,-1*f),i=i.slice(0,-1*f)),a.push(this.productions_[m[1]][0]),s.push(N.$),i.push(N._$),L=n[a[a.length-2]][a[a.length-1]],a.push(L);break;case 3:return!0}}return!0},"parse")};function tb(){this.yy={}}return tx.lexer={EOF:1,parseError:(0,c.K2)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,c.K2)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.K2)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,c.K2)(function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.K2)(function(){return this._more=!0,this},"more"),reject:(0,c.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.K2)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,c.K2)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.K2)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.K2)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,c.K2)(function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var i in s)this[i]=s[i];return!1},"test_match"),next:(0,c.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,a,r,s=this._currentRules(),i=0;i<s.length;i++)if((a=this._input.match(this.rules[s[i]]))&&(!e||a[0].length>e[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.K2)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,c.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,c.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,c.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,c.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,c.K2)(function(t,e,a,r){switch(a){case 0:case 58:case 91: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 59:return e.yytext=e.yytext.trim(),73;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),73;case 13:return e.yytext=e.yytext.trim(),this.popState(),73;case 14:return this.popState(),10;case 15:return this.begin("LINE"),15;case 16:return this.begin("ID"),51;case 17:return this.begin("ID"),53;case 18:return 14;case 19:return this.begin("ID"),54;case 20:return this.popState(),this.popState(),this.begin("LINE"),52;case 21:return this.popState(),this.popState(),5;case 22:return this.begin("LINE"),37;case 23:return this.begin("LINE"),38;case 24:return this.begin("LINE"),39;case 25:return this.begin("LINE"),40;case 26:return this.begin("LINE"),50;case 27:return this.begin("LINE"),42;case 28:return this.begin("LINE"),44;case 29:return this.begin("LINE"),49;case 30:return this.begin("LINE"),45;case 31:return this.begin("LINE"),48;case 32:return this.begin("LINE"),47;case 33:return this.popState(),16;case 34:return 17;case 35:return 67;case 36:return 68;case 37:return 61;case 38:return 62;case 39:return 63;case 40:return 64;case 41:return 59;case 42:return 56;case 43:return this.begin("ID"),22;case 44:return this.begin("ID"),24;case 45:return 30;case 46:return 31;case 47:return this.begin("acc_title"),32;case 48:return this.popState(),"acc_title_value";case 49:return this.begin("acc_descr"),34;case 50:return this.popState(),"acc_descr_value";case 51:this.begin("acc_descr_multiline");break;case 52:this.popState();break;case 53:return"acc_descr_multiline_value";case 54:return 6;case 55:return 19;case 56:return 21;case 57:return 66;case 60:return 80;case 61:return 97;case 62:return 98;case 63:return 99;case 64:return 78;case 65:return 79;case 66:return 100;case 67:return 101;case 68:return 102;case 69:return 103;case 70:return 85;case 71:return 86;case 72:return 87;case 73:return 88;case 74:return 93;case 75:return 94;case 76:return 95;case 77:return 96;case 78:return 81;case 79:return 82;case 80:return 83;case 81:return 84;case 82:return 89;case 83:return 90;case 84:return 91;case 85:return 92;case 86:case 87:return 104;case 88:return 70;case 89:return 71;case 90:return 72;case 92:return 10}},"anonymous"),rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \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,/^(?: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:[52,53],inclusive:!1},acc_descr:{rules:[50],inclusive:!1},acc_title:{rules:[48],inclusive:!1},ID:{rules:[2,3,7,11,12,13,14],inclusive:!1},ALIAS:{rules:[2,3,20,21],inclusive:!1},LINE:{rules:[2,3,33],inclusive:!1},CONFIG:{rules:[8,9,10],inclusive:!1},CONFIG_DATA:{rules:[],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,15,16,17,18,19,22,23,24,25,26,27,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,44,45,46,47,49,51,54,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],inclusive:!0}}},(0,c.K2)(tb,"Parser"),tb.prototype=tx,tx.Parser=tb,new tb}();h.parser=h;var p={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},T={FILLED:0,OPEN:1},E={LEFTOF:0,RIGHTOF:1,OVER:2},g=class{constructor(){this.state=new i.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=o.SV,this.setAccDescription=o.EI,this.setDiagramTitle=o.ke,this.getAccTitle=o.iN,this.getAccDescription=o.m7,this.getDiagramTitle=o.ab,this.apply=this.apply.bind(this),this.parseBoxData=this.parseBoxData.bind(this),this.parseMessage=this.parseMessage.bind(this),this.clear(),this.setWrap((0,o.D7)().wrap),this.LINETYPE=p,this.ARROWTYPE=T,this.PLACEMENT=E}static{(0,c.K2)(this,"SequenceDB")}addBox(t){this.state.records.boxes.push({name:t.text,wrap:t.wrap??this.autoWrap(),fill:t.color,actorKeys:[]}),this.state.records.currentBox=this.state.records.boxes.slice(-1)[0]}addActor(t,e,a,s,i){let n,o=this.state.records.currentBox;if(void 0!==i){let t;t=i.includes("\n")?i+"\n":"{\n"+i+"\n}",n=(0,r.H)(t,{schema:r.r})}s=n?.type??s,n?.alias&&(!a||a.text===e)&&(a={text:n.alias,wrap:a?.wrap,type:s});let c=this.state.records.actors.get(t);if(c){if(this.state.records.currentBox&&c.box&&this.state.records.currentBox!==c.box)throw Error(`A same participant should only be defined in one Box: ${c.name} can't be in '${c.box.name}' and in '${this.state.records.currentBox.name}' at the same time.`);if(o=c.box?c.box:this.state.records.currentBox,c.box=o,c&&e===c.name&&null==a)return}if(a?.text==null&&(a={text:e,type:s}),(null==s||null==a.text)&&(a={text:e,type:s}),this.state.records.actors.set(t,{box:o,name:e,description:a.text,wrap:a.wrap??this.autoWrap(),prevActor:this.state.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:s??"participant"}),this.state.records.prevActor){let e=this.state.records.actors.get(this.state.records.prevActor);e&&(e.nextActor=t)}this.state.records.currentBox&&this.state.records.currentBox.actorKeys.push(t),this.state.records.prevActor=t}activationCount(t){let e,a=0;if(!t)return 0;for(e=0;e<this.state.records.messages.length;e++)this.state.records.messages[e].type===this.LINETYPE.ACTIVE_START&&this.state.records.messages[e].from===t&&a++,this.state.records.messages[e].type===this.LINETYPE.ACTIVE_END&&this.state.records.messages[e].from===t&&a--;return a}addMessage(t,e,a,r){this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:a.text,wrap:a.wrap??this.autoWrap(),answer:r})}addSignal(t,e,a,r,s=!1,i){if(r===this.LINETYPE.ACTIVE_END&&1>this.activationCount(t??"")){let e=Error("Trying to inactivate an inactive participant ("+t+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:t,to:e,message:a?.text??"",wrap:a?.wrap??this.autoWrap(),type:r,activate:s,centralConnection:i??0}),!0}hasAtLeastOneBox(){return this.state.records.boxes.length>0}hasAtLeastOneBoxWithTitle(){return this.state.records.boxes.some(t=>t.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(t){return this.state.records.actors.get(t)}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(t){this.state.records.wrapEnabled=t}extractWrap(t){if(void 0===t)return{};t=t.trim();let e=null!==/^:?wrap:/.exec(t)||null===/^:?nowrap:/.exec(t)&&void 0;return{cleanedText:(void 0===e?t:t.replace(/^:?(?:no)?wrap:/,"")).trim(),wrap:e}}autoWrap(){return void 0!==this.state.records.wrapEnabled?this.state.records.wrapEnabled:(0,o.D7)().sequence?.wrap??!1}clear(){this.state.reset(),(0,o.IU)()}parseMessage(t){let e=t.trim(),{wrap:a,cleanedText:r}=this.extractWrap(e),s={text:r,wrap:a};return c.Rm.debug(`parseMessage: ${JSON.stringify(s)}`),s}parseBoxData(t){let e=/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/.exec(t),a=e?.[1]?e[1].trim():"transparent",r=e?.[2]?e[2].trim():void 0;if(window?.CSS)window.CSS.supports("color",a)||(a="transparent",r=t.trim());else{let e=new Option().style;e.color=a,e.color!==a&&(a="transparent",r=t.trim())}let{wrap:s,cleanedText:i}=this.extractWrap(r);return{text:i?(0,o.jZ)(i,(0,o.D7)()):void 0,color:a,wrap:s}}addNote(t,e,a){let r={actor:t,placement:e,message:a.text,wrap:a.wrap??this.autoWrap()},s=[].concat(t,t);this.state.records.notes.push(r),this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:s[0],to:s[1],message:a.text,wrap:a.wrap??this.autoWrap(),type:this.LINETYPE.NOTE,placement:e})}addLinks(t,e){let a=this.getActor(t);try{let t=(0,o.jZ)(e.text,(0,o.D7)());t=(t=t.replace(/=/g,"=")).replace(/&/g,"&");let r=JSON.parse(t);this.insertLinks(a,r)}catch(t){c.Rm.error("error while parsing actor link text",t)}}addALink(t,e){let a=this.getActor(t);try{let t={},r=(0,o.jZ)(e.text,(0,o.D7)()),s=r.indexOf("@"),i=(r=(r=r.replace(/=/g,"=")).replace(/&/g,"&")).slice(0,s-1).trim(),n=r.slice(s+1).trim();t[i]=n,this.insertLinks(a,t)}catch(t){c.Rm.error("error while parsing actor link text",t)}}insertLinks(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}addProperties(t,e){let a=this.getActor(t);try{let t=(0,o.jZ)(e.text,(0,o.D7)()),r=JSON.parse(t);this.insertProperties(a,r)}catch(t){c.Rm.error("error while parsing actor properties text",t)}}insertProperties(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}boxEnd(){this.state.records.currentBox=void 0}addDetails(t,e){let a=this.getActor(t),r=document.getElementById(e.text);try{let t=r.innerHTML,e=JSON.parse(t);e.properties&&this.insertProperties(a,e.properties),e.links&&this.insertLinks(a,e.links)}catch(t){c.Rm.error("error while parsing actor details text",t)}}getActorProperty(t,e){if(t?.properties!==void 0)return t.properties[e]}apply(t){if(Array.isArray(t))t.forEach(t=>{this.apply(t)});else switch(t.type){case"sequenceIndex":this.state.records.messages.push({id:this.state.records.messages.length.toString(),from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":this.addActor(t.actor,t.actor,t.description,t.draw,t.config);break;case"createParticipant":if(this.state.records.actors.has(t.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=t.actor,this.addActor(t.actor,t.actor,t.description,t.draw,t.config),this.state.records.createdActors.set(t.actor,this.state.records.messages.length);break;case"destroyParticipant":this.state.records.lastDestroyed=t.actor,this.state.records.destroyedActors.set(t.actor,this.state.records.messages.length);break;case"activeStart":case"centralConnection":case"centralConnectionReverse":case"activeEnd":this.addSignal(t.actor,void 0,void 0,t.signalType);break;case"addNote":this.addNote(t.actor,t.placement,t.text);break;case"addLinks":this.addLinks(t.actor,t.text);break;case"addALink":this.addALink(t.actor,t.text);break;case"addProperties":this.addProperties(t.actor,t.text);break;case"addDetails":this.addDetails(t.actor,t.text);break;case"addMessage":if(this.state.records.lastCreated)if(t.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(t.to!==this.state.records.lastDestroyed&&t.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(t.from,t.to,t.msg,t.signalType,t.activate,t.centralConnection);break;case"boxStart":this.addBox(t.boxData);break;case"boxEnd":this.boxEnd();break;case"loopStart":this.addSignal(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,t.signalType);break;case"rectStart":this.addSignal(void 0,void 0,t.color,t.signalType);break;case"optStart":this.addSignal(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,o.SV)(t.text);break;case"parStart":case"and":this.addSignal(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,t.criticalText,t.signalType);break;case"option":this.addSignal(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":this.addSignal(void 0,void 0,t.breakText,t.signalType)}}getConfig(){return(0,o.D7)().sequence}},u=(0,c.K2)(t=>`.actor {
|
|
2
|
-
stroke: ${t.actorBorder};
|
|
3
|
-
fill: ${t.actorBkg};
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
text.actor > tspan {
|
|
7
|
-
fill: ${t.actorTextColor};
|
|
8
|
-
stroke: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.actor-line {
|
|
12
|
-
stroke: ${t.actorLineColor};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.innerArc {
|
|
16
|
-
stroke-width: 1.5;
|
|
17
|
-
stroke-dasharray: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.messageLine0 {
|
|
21
|
-
stroke-width: 1.5;
|
|
22
|
-
stroke-dasharray: none;
|
|
23
|
-
stroke: ${t.signalColor};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.messageLine1 {
|
|
27
|
-
stroke-width: 1.5;
|
|
28
|
-
stroke-dasharray: 2, 2;
|
|
29
|
-
stroke: ${t.signalColor};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
#arrowhead path {
|
|
33
|
-
fill: ${t.signalColor};
|
|
34
|
-
stroke: ${t.signalColor};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.sequenceNumber {
|
|
38
|
-
fill: ${t.sequenceNumberColor};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
#sequencenumber {
|
|
42
|
-
fill: ${t.signalColor};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
#crosshead path {
|
|
46
|
-
fill: ${t.signalColor};
|
|
47
|
-
stroke: ${t.signalColor};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.messageText {
|
|
51
|
-
fill: ${t.signalTextColor};
|
|
52
|
-
stroke: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.labelBox {
|
|
56
|
-
stroke: ${t.labelBoxBorderColor};
|
|
57
|
-
fill: ${t.labelBoxBkgColor};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.labelText, .labelText > tspan {
|
|
61
|
-
fill: ${t.labelTextColor};
|
|
62
|
-
stroke: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.loopText, .loopText > tspan {
|
|
66
|
-
fill: ${t.loopTextColor};
|
|
67
|
-
stroke: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.loopLine {
|
|
71
|
-
stroke-width: 2px;
|
|
72
|
-
stroke-dasharray: 2, 2;
|
|
73
|
-
stroke: ${t.labelBoxBorderColor};
|
|
74
|
-
fill: ${t.labelBoxBorderColor};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.note {
|
|
78
|
-
//stroke: #decc93;
|
|
79
|
-
stroke: ${t.noteBorderColor};
|
|
80
|
-
fill: ${t.noteBkgColor};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.noteText, .noteText > tspan {
|
|
84
|
-
fill: ${t.noteTextColor};
|
|
85
|
-
stroke: none;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.activation0 {
|
|
89
|
-
fill: ${t.activationBkgColor};
|
|
90
|
-
stroke: ${t.activationBorderColor};
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.activation1 {
|
|
94
|
-
fill: ${t.activationBkgColor};
|
|
95
|
-
stroke: ${t.activationBorderColor};
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.activation2 {
|
|
99
|
-
fill: ${t.activationBkgColor};
|
|
100
|
-
stroke: ${t.activationBorderColor};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.actorPopupMenu {
|
|
104
|
-
position: absolute;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.actorPopupMenuPanel {
|
|
108
|
-
position: absolute;
|
|
109
|
-
fill: ${t.actorBkg};
|
|
110
|
-
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
|
111
|
-
filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
|
|
112
|
-
}
|
|
113
|
-
.actor-man line {
|
|
114
|
-
stroke: ${t.actorBorder};
|
|
115
|
-
fill: ${t.actorBkg};
|
|
116
|
-
}
|
|
117
|
-
.actor-man circle, line {
|
|
118
|
-
stroke: ${t.actorBorder};
|
|
119
|
-
fill: ${t.actorBkg};
|
|
120
|
-
stroke-width: 2px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
`,"getStyles"),_="actor-top",O="actor-bottom",x="actor-box",b="actor-man",y=(0,c.K2)(function(t,e){return(0,s.tk)(t,e)},"drawRect"),m=(0,c.K2)(function(t,e,a,r,s){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};let i=e.links,n=e.actorCnt,o=e.rectData;var c="none";s&&(c="block !important");let l=t.append("g");l.attr("id","actor"+n+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",c);var h="";void 0!==o.class&&(h=" "+o.class);let p=o.width>a?o.width:a,T=l.append("rect");if(T.attr("class","actorPopupMenuPanel"+h),T.attr("x",o.x),T.attr("y",o.height),T.attr("fill",o.fill),T.attr("stroke",o.stroke),T.attr("width",p),T.attr("height",o.height),T.attr("rx",o.rx),T.attr("ry",o.ry),null!=i){var E=20;for(let t in i){var g=l.append("a"),u=(0,d.J)(i[t]);g.attr("xlink:href",u),g.attr("target","_blank"),Q(r)(t,g,o.x+10,o.height+E,p,20,{class:"actor"},r),E+=30}}return T.attr("height",E),{height:o.height+E,width:p}},"drawPopup"),I=(0,c.K2)(function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),R=(0,c.K2)(async function(t,e,a=null){let r=t.append("foreignObject"),s=await (0,o.dj)(e.text,(0,o.zj)()),i=r.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(s).node().getBoundingClientRect();if(r.attr("height",Math.round(i.height)).attr("width",Math.round(i.width)),"noteText"===e.class){let a=t.node().firstChild;a.setAttribute("height",i.height+2*e.textMargin);let s=a.getBBox();r.attr("x",Math.round(s.x+s.width/2-i.width/2)).attr("y",Math.round(s.y+s.height/2-i.height/2))}else if(a){let{startx:t,stopx:s,starty:n}=a;if(t>s){let e=t;t=s,s=e}r.attr("x",Math.round(t+Math.abs(t-s)/2-i.width/2)),"loopText"===e.class?r.attr("y",Math.round(n)):r.attr("y",Math.round(n-i.height))}return[r]},"drawKatex"),f=(0,c.K2)(function(t,e){let a=0,r=0,s=e.text.split(o.Y2.lineBreakRegex),[i,l]=(0,n.I5)(e.fontSize),d=[],h=0,p=(0,c.K2)(()=>e.y,"yfunc");if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":p=(0,c.K2)(()=>Math.round(e.y+e.textMargin),"yfunc");break;case"middle":case"center":p=(0,c.K2)(()=>Math.round(e.y+(a+r+e.textMargin)/2),"yfunc");break;case"bottom":case"end":p=(0,c.K2)(()=>Math.round(e.y+(a+r+2*e.textMargin)-e.textMargin),"yfunc")}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[o,c]of s.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==i&&(h=o*i);let s=t.append("text");s.attr("x",e.x),s.attr("y",p()),void 0!==e.anchor&&s.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&s.style("font-family",e.fontFamily),void 0!==l&&s.style("font-size",l),void 0!==e.fontWeight&&s.style("font-weight",e.fontWeight),void 0!==e.fill&&s.attr("fill",e.fill),void 0!==e.class&&s.attr("class",e.class),void 0!==e.dy?s.attr("dy",e.dy):0!==h&&s.attr("dy",h);let T=c||n.pe;if(e.tspan){let t=s.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(T)}else s.text(T);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(s._groups||s)[0][0].getBBox().height,a=r),d.push(s)}return d},"drawText"),L=(0,c.K2)(function(t,e){function a(t,e,a,r,s){return t+","+e+" "+(t+a)+","+e+" "+(t+a)+","+(e+r-s)+" "+(t+a-1.2*s)+","+(e+r)+" "+t+","+(e+r)}(0,c.K2)(a,"genPoints");let r=t.append("polygon");return r.attr("points",a(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,f(t,e),r},"drawLabel"),P=-1,N=(0,c.K2)((t,e,a,r)=>{t.select&&a.forEach(a=>{let s=e.get(a),i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)})},"fixLifeLineHeights"),D=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+e.height,l=t.append("g").lower();var d=l;r||(P++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",I(`actor${P}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=P,null!=e.links&&d.attr("id","root-"+P));let h=(0,s.PB)();var p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",r?p+=` ${O}`:p+=` ${_}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=p,h.rx=3,h.ry=3,h.name=e.name;let T=y(d,h);if(e.rectData=h,e.properties?.icon){let t=e.properties.icon.trim();"@"===t.charAt(0)?(0,s.CP)(d,h.x+h.width-20,h.y+10,t.substr(1)):(0,s.aC)(d,h.x+h.width-20,h.y+10,t)}J(a,(0,o.Wi)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:`actor ${x}`},a);let E=e.height;if(T.node){let t=T.node().getBBox();e.height=t.height,E=t.height}return E},"drawActorTypeParticipant"),S=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+e.height,l=t.append("g").lower();var d=l;r||(P++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",I(`actor${P}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=P,null!=e.links&&d.attr("id","root-"+P));let h=(0,s.PB)();var p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",r?p+=` ${O}`:p+=` ${_}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=p,h.name=e.name;let T={...h,x:h.x+-6,y:h.y+6,class:"actor"},E=y(d,h);if(y(d,T),e.rectData=h,e.properties?.icon){let t=e.properties.icon.trim();"@"===t.charAt(0)?(0,s.CP)(d,h.x+h.width-20,h.y+10,t.substr(1)):(0,s.aC)(d,h.x+h.width-20,h.y+10,t)}J(a,(0,o.Wi)(e.description))(e.description,d,h.x-6,h.y+6,h.width,h.height,{class:`actor ${x}`},a);let g=e.height;if(E.node){let t=E.node().getBBox();e.height=t.height,g=t.height}return g},"drawActorTypeCollections"),w=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+e.height,l=t.append("g").lower(),d=l;r||(P++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",I(`actor${P}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=P,null!=e.links&&d.attr("id","root-"+P));let h=(0,s.PB)(),p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",r?p+=` ${O}`:p+=` ${_}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=p,h.name=e.name;let T=h.height/2,E=T/(2.5+h.height/50),g=d.append("g"),u=d.append("g");if(g.append("path").attr("d",`M ${h.x},${h.y+T}
|
|
124
|
-
a ${E},${T} 0 0 0 0,${h.height}
|
|
125
|
-
h ${h.width-2*E}
|
|
126
|
-
a ${E},${T} 0 0 0 0,-${h.height}
|
|
127
|
-
Z
|
|
128
|
-
`).attr("class",p),u.append("path").attr("d",`M ${h.x},${h.y+T}
|
|
129
|
-
a ${E},${T} 0 0 0 0,${h.height}`).attr("stroke","#666").attr("stroke-width","1px").attr("class",p),g.attr("transform",`translate(${E}, ${-(h.height/2)})`),u.attr("transform",`translate(${h.width-E}, ${-h.height/2})`),e.rectData=h,e.properties?.icon){let t=e.properties.icon.trim(),a=h.x+h.width-20,r=h.y+10;"@"===t.charAt(0)?(0,s.CP)(d,a,r,t.substr(1)):(0,s.aC)(d,a,r,t)}J(a,(0,o.Wi)(e.description))(e.description,d,h.x,h.y,h.width,h.height,{class:`actor ${x}`},a);let b=e.height,y=g.select("path:last-child");if(y.node()){let t=y.node().getBBox();e.height=t.height,b=t.height}return b},"drawActorTypeQueue"),A=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+75,l=t.append("g").lower();r||(P++,l.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=P);let d=t.append("g"),h=b;r?h+=` ${O}`:h+=` ${_}`,d.attr("class",h),d.attr("name",e.name);let p=(0,s.PB)();p.x=e.x,p.y=i,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor";let T=e.x+e.width/2,E=i+32;return d.append("defs").append("marker").attr("id","filled-head-control").attr("refX",11).attr("refY",5.8).attr("markerWidth",20).attr("markerHeight",28).attr("orient","172.5").append("path").attr("d","M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z"),d.append("circle").attr("cx",T).attr("cy",E).attr("r",22).attr("fill","#eaeaf7").attr("stroke","#666").attr("stroke-width",1.2),d.append("line").attr("marker-end","url(#filled-head-control)").attr("transform",`translate(${T}, ${E-22})`),e.height=d.node().getBBox().height+2*(a?.sequence?.labelBoxHeight??0),J(a,(0,o.Wi)(e.description))(e.description,d,p.x,p.y+22+(r?5:12),p.width,p.height,{class:`actor ${b}`},a),e.height},"drawActorTypeControl"),k=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+75,l=t.append("g").lower(),d=t.append("g"),h="actor";r?h+=` ${O}`:h+=` ${_}`,d.attr("class",h),d.attr("name",e.name);let p=(0,s.PB)();p.x=e.x,p.y=i,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor";let T=e.x+e.width/2,E=i+(r?10:25);return d.append("circle").attr("cx",T).attr("cy",E).attr("r",22).attr("width",e.width).attr("height",e.height),d.append("line").attr("x1",T-22).attr("x2",T+22).attr("y1",E+22).attr("y2",E+22).attr("stroke-width",2),e.height=d.node().getBBox().height+(a?.sequence?.labelBoxHeight??0),r||(P++,l.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=P),J(a,(0,o.Wi)(e.description))(e.description,d,p.x,p.y+(r?15:30),p.width,p.height,{class:`actor ${b}`},a),r?d.attr("transform","translate(0, 22)"):d.attr("transform","translate(0, 6)"),e.height},"drawActorTypeEntity"),M=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+e.height+2*a.boxTextMargin,l=t.append("g").lower(),d=l;r||(P++,Object.keys(e.links||{}).length&&!a.forceMenus&&d.attr("onclick",I(`actor${P}_popup`)).attr("cursor","pointer"),d.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),d=l.append("g"),e.actorCnt=P,null!=e.links&&d.attr("id","root-"+P));let h=(0,s.PB)(),p="actor";e.properties?.class?p=e.properties.class:h.fill="#eaeaea",r?p+=` ${O}`:p+=` ${_}`,h.x=e.x,h.y=i,h.width=e.width,h.height=e.height,h.class=p,h.name=e.name,h.x=e.x,h.y=i;let T=h.width/3,E=h.width/3,g=T/2,u=g/(2.5+T/50),b=d.append("g"),y=`
|
|
130
|
-
M ${h.x},${h.y+u}
|
|
131
|
-
a ${g},${u} 0 0 0 ${T},0
|
|
132
|
-
a ${g},${u} 0 0 0 -${T},0
|
|
133
|
-
l 0,${E-2*u}
|
|
134
|
-
a ${g},${u} 0 0 0 ${T},0
|
|
135
|
-
l 0,-${E-2*u}
|
|
136
|
-
`;b.append("path").attr("d",y).attr("fill","#eaeaea").attr("stroke","#000").attr("stroke-width",1).attr("class",p),b.attr("transform",`translate(${T}, ${u})`),e.rectData=h,J(a,(0,o.Wi)(e.description))(e.description,d,h.x,h.y+35,h.width,h.height,{class:`actor ${x}`},a);let m=b.select("path:last-child");return m.node()&&(e.height=m.node().getBBox().height+(a.sequence.labelBoxHeight??0)),e.height},"drawActorTypeDatabase"),C=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+80,l=t.append("g").lower();r||(P++,l.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=P);let d=t.append("g"),h=b;r?h+=` ${O}`:h+=` ${_}`,d.attr("class",h),d.attr("name",e.name);let p=(0,s.PB)();return p.x=e.x,p.y=i,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",d.append("line").attr("id","actor-man-torso"+P).attr("x1",e.x+e.width/2-55).attr("y1",i+12).attr("x2",e.x+e.width/2-15).attr("y2",i+12),d.append("line").attr("id","actor-man-arms"+P).attr("x1",e.x+e.width/2-55).attr("y1",i+2).attr("x2",e.x+e.width/2-55).attr("y2",i+22),d.append("circle").attr("cx",e.x+e.width/2).attr("cy",i+12).attr("r",22),e.height=d.node().getBBox().height+(a.sequence.labelBoxHeight??0),J(a,(0,o.Wi)(e.description))(e.description,d,p.x,p.y+15,p.width,p.height,{class:`actor ${b}`},a),d.attr("transform","translate(0,21)"),e.height},"drawActorTypeBoundary"),v=(0,c.K2)(function(t,e,a,r){let i=r?e.stopy:e.starty,n=e.x+e.width/2,c=i+80,l=t.append("g").lower();r||(P++,l.append("line").attr("id","actor"+P).attr("x1",n).attr("y1",c).attr("x2",n).attr("y2",2e3).attr("class","actor-line 200").attr("stroke-width","0.5px").attr("stroke","#999").attr("name",e.name),e.actorCnt=P);let d=t.append("g"),h=b;r?h+=` ${O}`:h+=` ${_}`,d.attr("class",h),d.attr("name",e.name);let p=(0,s.PB)();p.x=e.x,p.y=i,p.fill="#eaeaea",p.width=e.width,p.height=e.height,p.class="actor",p.rx=3,p.ry=3,d.append("line").attr("id","actor-man-torso"+P).attr("x1",n).attr("y1",i+25).attr("x2",n).attr("y2",i+45),d.append("line").attr("id","actor-man-arms"+P).attr("x1",n-18).attr("y1",i+33).attr("x2",n+18).attr("y2",i+33),d.append("line").attr("x1",n-18).attr("y1",i+60).attr("x2",n).attr("y2",i+45),d.append("line").attr("x1",n).attr("y1",i+45).attr("x2",n+18-2).attr("y2",i+60);let T=d.append("circle");return T.attr("cx",e.x+e.width/2),T.attr("cy",i+10),T.attr("r",15),T.attr("width",e.width),T.attr("height",e.height),e.height=d.node().getBBox().height,J(a,(0,o.Wi)(e.description))(e.description,d,p.x,p.y+35,p.width,p.height,{class:`actor ${b}`},a),e.height},"drawActorTypeActor"),Y=(0,c.K2)(async function(t,e,a,r){switch(e.type){case"actor":return await v(t,e,a,r);case"participant":return await D(t,e,a,r);case"boundary":return await C(t,e,a,r);case"control":return await A(t,e,a,r);case"entity":return await k(t,e,a,r);case"database":return await M(t,e,a,r);case"collections":return await S(t,e,a,r);case"queue":return await w(t,e,a,r)}},"drawActor"),B=(0,c.K2)(function(t,e,a){let r=t.append("g");W(r,e),e.name&&J(a)(e.name,r,e.x,e.y+a.boxTextMargin+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},a),r.lower()},"drawBox"),K=(0,c.K2)(function(t){return t.append("g")},"anchorElement"),$=(0,c.K2)(function(t,e,a,r,i){let n=(0,s.PB)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+i%3,n.width=e.stopx-e.startx,n.height=a-e.starty,y(o,n)},"drawActivation"),V=(0,c.K2)(async function(t,e,a,r){let{boxMargin:i,boxTextMargin:n,labelBoxHeight:l,labelBoxWidth:d,messageFontFamily:h,messageFontSize:p,messageFontWeight:T}=r,E=t.append("g"),g=(0,c.K2)(function(t,e,a,r){return E.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")},"drawLoopLine");g(e.startx,e.starty,e.stopx,e.starty),g(e.stopx,e.starty,e.stopx,e.stopy),g(e.startx,e.stopy,e.stopx,e.stopy),g(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach(function(t){g(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")});let u=(0,s.HT)();u.text=a,u.x=e.startx,u.y=e.starty,u.fontFamily=h,u.fontSize=p,u.fontWeight=T,u.anchor="middle",u.valign="middle",u.tspan=!1,u.width=d||50,u.height=l||20,u.textMargin=n,u.class="labelText",L(E,u),(u=X()).text=e.title,u.x=e.startx+d/2+(e.stopx-e.startx)/2,u.y=e.starty+i+n,u.anchor="middle",u.valign="middle",u.textMargin=n,u.class="loopText",u.fontFamily=h,u.fontSize=p,u.fontWeight=T,u.wrap=!0;let _=(0,o.Wi)(u.text)?await R(E,u,e):f(E,u);if(void 0!==e.sectionTitles){for(let[t,a]of Object.entries(e.sectionTitles))if(a.message){u.text=a.message,u.x=e.startx+(e.stopx-e.startx)/2,u.y=e.sections[t].y+i+n,u.class="loopText",u.anchor="middle",u.valign="middle",u.tspan=!1,u.fontFamily=h,u.fontSize=p,u.fontWeight=T,u.wrap=e.wrap,(0,o.Wi)(u.text)?(e.starty=e.sections[t].y,await R(E,u,e)):f(E,u);let r=Math.round(_.map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));e.sections[t].height+=r-(i+n)}}return e.height=Math.round(e.stopy-e.starty),E},"drawLoop"),W=(0,c.K2)(function(t,e){(0,s.lC)(t,e)},"drawBackgroundRect"),F=(0,c.K2)(function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),q=(0,c.K2)(function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),H=(0,c.K2)(function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),z=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M -1 0 L 10 5 L 0 10 z")},"insertArrowHead"),j=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),U=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},"insertSequenceNumber"),G=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},"insertArrowCrossHead"),X=(0,c.K2)(function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},"getTextObj"),Z=(0,c.K2)(function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),J=function(){function t(t,e,a,r,i,n,o){s(e.append("text").attr("x",a+i/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,r,i,c,l,d){let{actorFontSize:h,actorFontFamily:p,actorFontWeight:T}=d,[E,g]=(0,n.I5)(h),u=t.split(o.Y2.lineBreakRegex);for(let t=0;t<u.length;t++){let n=t*E-E*(u.length-1)/2,o=e.append("text").attr("x",a+i/2).attr("y",r).style("text-anchor","middle").style("font-size",g).style("font-weight",T).style("font-family",p);o.append("tspan").attr("x",a+i/2).attr("dy",n).text(u[t]),o.attr("y",r+c/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),s(o,l)}}function a(t,a,r,i,n,o,c,l){let d=a.append("switch"),h=d.append("foreignObject").attr("x",r).attr("y",i).attr("width",n).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,d,r,i,n,o,c,l),s(h,c)}async function r(t,a,r,i,n,c,l,d){let h=await (0,o.Dl)(t,(0,o.zj)()),p=a.append("switch"),T=p.append("foreignObject").attr("x",r+n/2-h.width/2).attr("y",i+c/2-h.height/2).attr("width",h.width).attr("height",h.height).append("xhtml:div").style("height","100%").style("width","100%");T.append("div").style("text-align","center").style("vertical-align","middle").html(await (0,o.dj)(t,(0,o.zj)())),e(t,p,r,i,n,c,l,d),s(T,l)}function s(t,e){for(let a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,c.K2)(t,"byText"),(0,c.K2)(e,"byTspan"),(0,c.K2)(a,"byFo"),(0,c.K2)(r,"byKatex"),(0,c.K2)(s,"_setTextAttrs"),function(s,i=!1){return i?r:"fo"===s.textPlacement?a:"old"===s.textPlacement?t:e}}(),Q=function(){function t(t,e,a,s,i,n,o){r(e.append("text").attr("x",a).attr("y",s).style("text-anchor","start").text(t),o)}function e(t,e,a,s,i,n,c,l){let{actorFontSize:d,actorFontFamily:h,actorFontWeight:p}=l,T=t.split(o.Y2.lineBreakRegex);for(let t=0;t<T.length;t++){let i=t*d-d*(T.length-1)/2,o=e.append("text").attr("x",a).attr("y",s).style("text-anchor","start").style("font-size",d).style("font-weight",p).style("font-family",h);o.append("tspan").attr("x",a).attr("dy",i).text(T[t]),o.attr("y",s+n/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(o,c)}}function a(t,a,s,i,n,o,c,l){let d=a.append("switch"),h=d.append("foreignObject").attr("x",s).attr("y",i).attr("width",n).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,d,s,i,n,o,c,l),r(h,c)}function r(t,e){for(let a in e)e.hasOwnProperty(a)&&t.attr(a,e[a])}return(0,c.K2)(t,"byText"),(0,c.K2)(e,"byTspan"),(0,c.K2)(a,"byFo"),(0,c.K2)(r,"_setTextAttrs"),function(r){return"fo"===r.textPlacement?a:"old"===r.textPlacement?t:e}}(),tt=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","solidTopArrowHead").attr("refX",7.9).attr("refY",7.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 8 L 0 8 z")},"insertSolidTopArrowHead"),te=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","solidBottomArrowHead").attr("refX",7.9).attr("refY",.75).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 0 L 0 8 z")},"insertSolidBottomArrowHead"),ta=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","stickTopArrowHead").attr("refX",7.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 7 7").attr("stroke","black").attr("stroke-width",1.5).attr("fill","none")},"insertStickTopArrowHead"),tr=(0,c.K2)(function(t){t.append("defs").append("marker").attr("id","stickBottomArrowHead").attr("refX",7.5).attr("refY",0).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto-start-reverse").append("path").attr("d","M 0 7 L 7 0").attr("stroke","black").attr("stroke-width",1.5).attr("fill","none")},"insertStickBottomArrowHead"),ts={drawRect:y,drawText:f,drawLabel:L,drawActor:Y,drawBox:B,drawPopup:m,anchorElement:K,drawActivation:$,drawLoop:V,drawBackgroundRect:W,insertArrowHead:z,insertArrowFilledHead:j,insertSequenceNumber:U,insertArrowCrossHead:G,insertDatabaseIcon:F,insertComputerIcon:q,insertClockIcon:H,getTextObj:X,getNoteRect:Z,fixLifeLineHeights:N,sanitizeUrl:d.J,insertSolidTopArrowHead:tt,insertSolidBottomArrowHead:te,insertStickTopArrowHead:ta,insertStickBottomArrowHead:tr},ti={},tn={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:(0,c.K2)(function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map(t=>t.height||0))+(0===this.loops.length?0:this.loops.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.messages.length?0:this.messages.map(t=>t.height||0).reduce((t,e)=>t+e))+(0===this.notes.length?0:this.notes.map(t=>t.height||0).reduce((t,e)=>t+e))},"getHeight"),clear:(0,c.K2)(function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},"clear"),addBox:(0,c.K2)(function(t){this.boxes.push(t)},"addBox"),addActor:(0,c.K2)(function(t){this.actors.push(t)},"addActor"),addLoop:(0,c.K2)(function(t){this.loops.push(t)},"addLoop"),addMessage:(0,c.K2)(function(t){this.messages.push(t)},"addMessage"),addNote:(0,c.K2)(function(t){this.notes.push(t)},"addNote"),lastActor:(0,c.K2)(function(){return this.actors[this.actors.length-1]},"lastActor"),lastLoop:(0,c.K2)(function(){return this.loops[this.loops.length-1]},"lastLoop"),lastMessage:(0,c.K2)(function(){return this.messages[this.messages.length-1]},"lastMessage"),lastNote:(0,c.K2)(function(){return this.notes[this.notes.length-1]},"lastNote"),actors:[],boxes:[],loops:[],messages:[],notes:[]},init:(0,c.K2)(function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,t_((0,o.D7)())},"init"),updateVal:(0,c.K2)(function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},"updateVal"),updateBounds:(0,c.K2)(function(t,e,a,r){let s=this,i=0;function n(n){return(0,c.K2)(function(o){i++;let c=s.sequenceItems.length-i+1;s.updateVal(o,"starty",e-c*ti.boxMargin,Math.min),s.updateVal(o,"stopy",r+c*ti.boxMargin,Math.max),s.updateVal(tn.data,"startx",t-c*ti.boxMargin,Math.min),s.updateVal(tn.data,"stopx",a+c*ti.boxMargin,Math.max),"activation"!==n&&(s.updateVal(o,"startx",t-c*ti.boxMargin,Math.min),s.updateVal(o,"stopx",a+c*ti.boxMargin,Math.max),s.updateVal(tn.data,"starty",e-c*ti.boxMargin,Math.min),s.updateVal(tn.data,"stopy",r+c*ti.boxMargin,Math.max))},"updateItemBounds")}(0,c.K2)(n,"updateFn"),this.sequenceItems.forEach(n()),this.activations.forEach(n("activation"))},"updateBounds"),insert:(0,c.K2)(function(t,e,a,r){let s=o.Y2.getMin(t,a),i=o.Y2.getMax(t,a),n=o.Y2.getMin(e,r),c=o.Y2.getMax(e,r);this.updateVal(tn.data,"startx",s,Math.min),this.updateVal(tn.data,"starty",n,Math.min),this.updateVal(tn.data,"stopx",i,Math.max),this.updateVal(tn.data,"stopy",c,Math.max),this.updateBounds(s,n,i,c)},"insert"),newActivation:(0,c.K2)(function(t,e,a){let r=a.get(t.from),s=tO(t.from).length||0,i=r.x+r.width/2+(s-1)*ti.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+ti.activationWidth,stopy:void 0,actor:t.from,anchored:ts.anchorElement(e)})},"newActivation"),endActivation:(0,c.K2)(function(t){let e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from);return this.activations.splice(e,1)[0]},"endActivation"),createLoop:(0,c.K2)(function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},"createLoop"),newLoop:(0,c.K2)(function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},"newLoop"),endLoop:(0,c.K2)(function(){return this.sequenceItems.pop()},"endLoop"),isLoopOverlap:(0,c.K2)(function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},"isLoopOverlap"),addSectionToLoop:(0,c.K2)(function(t){let e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:tn.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},"addSectionToLoop"),saveVerticalPos:(0,c.K2)(function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},"saveVerticalPos"),resetVerticalPos:(0,c.K2)(function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},"resetVerticalPos"),bumpVerticalPos:(0,c.K2)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=o.Y2.getMax(this.data.stopy,this.verticalPos)},"bumpVerticalPos"),getVerticalPos:(0,c.K2)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,c.K2)(function(){return{bounds:this.data,models:this.models}},"getBounds")},to=(0,c.K2)(async function(t,e){tn.bumpVerticalPos(ti.boxMargin),e.height=ti.boxMargin,e.starty=tn.getVerticalPos();let a=(0,s.PB)();a.x=e.startx,a.y=e.starty,a.width=e.width||ti.width,a.class="note";let r=t.append("g"),i=ts.drawRect(r,a),n=(0,s.HT)();n.x=e.startx,n.y=e.starty,n.width=a.width,n.dy="1em",n.text=e.message,n.class="noteText",n.fontFamily=ti.noteFontFamily,n.fontSize=ti.noteFontSize,n.fontWeight=ti.noteFontWeight,n.anchor=ti.noteAlign,n.textMargin=ti.noteMargin,n.valign="center";let c=Math.round(((0,o.Wi)(n.text)?await R(r,n):f(r,n)).map(t=>(t._groups||t)[0][0].getBBox().height).reduce((t,e)=>t+e));i.attr("height",c+2*ti.noteMargin),e.height+=c+2*ti.noteMargin,tn.bumpVerticalPos(c+2*ti.noteMargin),e.stopy=e.starty+c+2*ti.noteMargin,e.stopx=e.startx+a.width,tn.insert(e.startx,e.starty,e.stopx,e.stopy),tn.models.addNote(e)},"drawNote"),tc=(0,c.K2)(function(t,e,a,r,s,i,n){let o=r.db.getActors(),l=o.get(e.from),d=o.get(e.to),h=a.sequenceVisible,p=l.x+l.width/2,T=d.x+d.width/2,E=p<=T,g=tD(e,r),u=t.append("g"),_=(0,c.K2)((t,e)=>{let a=t?16.5:-16.5;return e?-a:a},"getCircleOffset"),O=(0,c.K2)(t=>{u.append("circle").attr("cx",t).attr("cy",n).attr("r",5).attr("width",10).attr("height",10)},"drawCircle"),{CENTRAL_CONNECTION:x,CENTRAL_CONNECTION_REVERSE:b,CENTRAL_CONNECTION_DUAL:y}=r.db.LINETYPE;if(h)switch(e.centralConnection){case x:g&&(T+=_(E,!0));break;case b:g||(p+=_(E,!1));break;case y:g?T+=_(E,!0):p+=_(E,!1)}switch(e.centralConnection){case x:O(T);break;case b:O(p);break;case y:O(p),O(T)}},"drawCentralConnection"),tl=(0,c.K2)(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont"),td=(0,c.K2)(t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),"noteFont"),th=(0,c.K2)(t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),"actorFont");async function tp(t,e){let a;tn.bumpVerticalPos(10);let{startx:r,stopx:s,message:i}=e,c=o.Y2.splitBreaks(i).length,l=(0,o.Wi)(i),d=l?await (0,o.Dl)(i,(0,o.D7)()):n._K.calculateTextDimensions(i,tl(ti));if(!l){let t=d.height/c;e.height+=t,tn.bumpVerticalPos(t)}let h=d.height-10,p=d.width;if(r===s){a=tn.getVerticalPos()+h,ti.rightAngles||(h+=ti.boxMargin,a=tn.getVerticalPos()+h),h+=30;let t=o.Y2.getMax(p/2,ti.width/2);tn.insert(r-t,tn.getVerticalPos()-10+h,s+t,tn.getVerticalPos()+30+h)}else h+=ti.boxMargin,a=tn.getVerticalPos()+h,tn.insert(r,a-10,s,a);return tn.bumpVerticalPos(h),e.height+=h,e.stopy=e.starty+e.height,tn.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),a}(0,c.K2)(tp,"boundMessage");var tT=(0,c.K2)(async function(t,e,a,r,i){let c,{startx:l,stopx:d,starty:h,message:p,type:T,sequenceIndex:E,sequenceVisible:g}=e,u=n._K.calculateTextDimensions(p,tl(ti)),_=(0,s.HT)();_.x=l,_.y=h+10,_.width=d-l,_.class="messageText",_.dy="1em",_.text=p,_.fontFamily=ti.messageFontFamily,_.fontSize=ti.messageFontSize,_.fontWeight=ti.messageFontWeight,_.anchor=ti.messageAlign,_.valign="center",_.textMargin=ti.wrapPadding,_.tspan=!1,(0,o.Wi)(_.text)?await R(t,_,{startx:l,stopx:d,starty:a}):f(t,_);let O=u.width;if(l===d){let e=g||ti.showSequenceNumbers,s=tD(i,r),n=tS(i,r),d=l+(e&&(s||n)?10:0);c=ti.rightAngles?t.append("path").attr("d",`M ${d},${a} H ${l+o.Y2.getMax(ti.width/2,O/2)} V ${a+25} H ${l}`):t.append("path").attr("d","M "+d+","+a+" C "+(d+60)+","+(a-10)+" "+(l+60)+","+(a+30)+" "+l+","+(a+20))}else(c=t.append("line")).attr("x1",l),c.attr("y1",a),c.attr("x2",d),c.attr("y2",a),tP(i,r)&&tc(t,i,e,r,l,d,a);T===r.db.LINETYPE.DOTTED||T===r.db.LINETYPE.DOTTED_CROSS||T===r.db.LINETYPE.DOTTED_POINT||T===r.db.LINETYPE.DOTTED_OPEN||T===r.db.LINETYPE.BIDIRECTIONAL_DOTTED||T===r.db.LINETYPE.SOLID_TOP_DOTTED||T===r.db.LINETYPE.SOLID_BOTTOM_DOTTED||T===r.db.LINETYPE.STICK_TOP_DOTTED||T===r.db.LINETYPE.STICK_BOTTOM_DOTTED||T===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||T===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||T===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||T===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED?(c.style("stroke-dasharray","3, 3"),c.attr("class","messageLine1")):c.attr("class","messageLine0");let x="";if(ti.arrowMarkerAbsolute&&(x=(0,o.ID)(!0)),c.attr("stroke-width",2),c.attr("stroke","none"),c.style("fill","none"),(T===r.db.LINETYPE.SOLID_TOP||T===r.db.LINETYPE.SOLID_TOP_DOTTED)&&c.attr("marker-end","url("+x+"#solidTopArrowHead)"),(T===r.db.LINETYPE.SOLID_BOTTOM||T===r.db.LINETYPE.SOLID_BOTTOM_DOTTED)&&c.attr("marker-end","url("+x+"#solidBottomArrowHead)"),(T===r.db.LINETYPE.STICK_TOP||T===r.db.LINETYPE.STICK_TOP_DOTTED)&&c.attr("marker-end","url("+x+"#stickTopArrowHead)"),(T===r.db.LINETYPE.STICK_BOTTOM||T===r.db.LINETYPE.STICK_BOTTOM_DOTTED)&&c.attr("marker-end","url("+x+"#stickBottomArrowHead)"),(T===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||T===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED)&&c.attr("marker-start","url("+x+"#solidBottomArrowHead)"),(T===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||T===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED)&&c.attr("marker-start","url("+x+"#solidTopArrowHead)"),(T===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE||T===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED)&&c.attr("marker-start","url("+x+"#stickBottomArrowHead)"),(T===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||T===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED)&&c.attr("marker-start","url("+x+"#stickTopArrowHead)"),(T===r.db.LINETYPE.SOLID||T===r.db.LINETYPE.DOTTED)&&c.attr("marker-end","url("+x+"#arrowhead)"),(T===r.db.LINETYPE.BIDIRECTIONAL_SOLID||T===r.db.LINETYPE.BIDIRECTIONAL_DOTTED)&&(c.attr("marker-start","url("+x+"#arrowhead)"),c.attr("marker-end","url("+x+"#arrowhead)")),(T===r.db.LINETYPE.SOLID_POINT||T===r.db.LINETYPE.DOTTED_POINT)&&c.attr("marker-end","url("+x+"#filled-head)"),(T===r.db.LINETYPE.SOLID_CROSS||T===r.db.LINETYPE.DOTTED_CROSS)&&c.attr("marker-end","url("+x+"#crosshead)"),g||ti.showSequenceNumbers){let s=T===r.db.LINETYPE.BIDIRECTIONAL_SOLID||T===r.db.LINETYPE.BIDIRECTIONAL_DOTTED,n=T===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE||T===r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED||T===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE||T===r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED||T===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE||T===r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED||T===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE||T===r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,o=tP(i,r),h=l,p=d;s?(h=l<d?l+12:l-6+(o?-5:0)+(i?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_DUAL||i?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0),c.attr("x1",h)):n?(d>l?p=d-12:(p=d-6,h+=i?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_DUAL||i?.centralConnection===r.db.LINETYPE.CENTRAL_CONNECTION_REVERSE?-7.5:0),p+=15*!!o,c.attr("x2",p),c.attr("x1",h)):c.attr("x1",l+6);let g=0,u=l===d,_=l<=d;g=u?e.fromBounds+1:n?_?e.toBounds-1:e.fromBounds+1:_?e.fromBounds+1:e.toBounds-1,t.append("line").attr("x1",g).attr("y1",a).attr("x2",g).attr("y2",a).attr("stroke-width",0).attr("marker-start","url("+x+"#sequencenumber)"),t.append("text").attr("x",g).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(E)}},"drawMessage"),tE=(0,c.K2)(function(t,e,a,r,s,i,n){let c,l=0,d=0,h=0;for(let t of r){let r=e.get(t),i=r.box;c&&c!=i&&(n||tn.models.addBox(c),d+=ti.boxMargin+c.margin),i&&i!=c&&(n||(i.x=l+d,i.y=s),d+=i.margin),r.width=r.width||ti.width,r.height=o.Y2.getMax(r.height||ti.height,ti.height),r.margin=r.margin||ti.actorMargin,h=o.Y2.getMax(h,r.height),a.get(r.name)&&(d+=r.width/2),r.x=l+d,r.starty=tn.getVerticalPos(),tn.insert(r.x,s,r.x+r.width,r.height),l+=r.width+d,r.box&&(r.box.width=l+i.margin-r.box.x),d=r.margin,c=r.box,tn.models.addActor(r)}c&&!n&&tn.models.addBox(c),tn.bumpVerticalPos(h)},"addActorRenderingData"),tg=(0,c.K2)(async function(t,e,a,r){if(r){let r=0;for(let s of(tn.bumpVerticalPos(2*ti.boxMargin),a)){let a=e.get(s);a.stopy||(a.stopy=tn.getVerticalPos());let i=await ts.drawActor(t,a,ti,!0);r=o.Y2.getMax(r,i)}tn.bumpVerticalPos(r+ti.boxMargin)}else for(let r of a){let a=e.get(r);await ts.drawActor(t,a,ti,!1)}},"drawActors"),tu=(0,c.K2)(function(t,e,a,r){let s=0,i=0;for(let n of a){let a=e.get(n),o=tR(a),c=ts.drawPopup(t,a,o,ti,ti.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}},"drawActorsPopup"),t_=(0,c.K2)(function(t){(0,o.hH)(ti,t),t.fontFamily&&(ti.actorFontFamily=ti.noteFontFamily=ti.messageFontFamily=t.fontFamily),t.fontSize&&(ti.actorFontSize=ti.noteFontSize=ti.messageFontSize=t.fontSize),t.fontWeight&&(ti.actorFontWeight=ti.noteFontWeight=ti.messageFontWeight=t.fontWeight)},"setConf"),tO=(0,c.K2)(function(t){return tn.activations.filter(function(e){return e.actor===t})},"actorActivations"),tx=(0,c.K2)(function(t,e){let a=e.get(t),r=tO(t);return[r.reduce(function(t,e){return o.Y2.getMin(t,e.startx)},a.x+a.width/2-1),r.reduce(function(t,e){return o.Y2.getMax(t,e.stopx)},a.x+a.width/2+1)]},"activationBounds");function tb(t,e,a,r,s){tn.bumpVerticalPos(a);let i=r;if(e.id&&e.message&&t[e.id]){let a=t[e.id].width,s=tl(ti);e.message=n._K.wrapLabel(`[${e.message}]`,a-2*ti.wrapPadding,s),e.width=a,e.wrap=!0;let l=n._K.calculateTextDimensions(e.message,s),d=o.Y2.getMax(l.height,ti.labelBoxHeight);i=r+d,c.Rm.debug(`${d} - ${e.message}`)}s(e),tn.bumpVerticalPos(i)}function ty(t,e,a,r,s,i,n){function o(a,r){a.x<s.get(t.from).x?(tn.insert(e.stopx-r,e.starty,e.startx,e.stopy+a.height/2+ti.noteMargin),e.stopx=e.stopx+r):(tn.insert(e.startx,e.starty,e.stopx+r,e.stopy+a.height/2+ti.noteMargin),e.stopx=e.stopx-r)}function l(a,r){a.x<s.get(t.to).x?(tn.insert(e.startx-r,e.starty,e.stopx,e.stopy+a.height/2+ti.noteMargin),e.startx=e.startx+r):(tn.insert(e.stopx,e.starty,e.startx+r,e.stopy+a.height/2+ti.noteMargin),e.startx=e.startx-r)}(0,c.K2)(o,"receiverAdjustment"),(0,c.K2)(l,"senderAdjustment");let d=["actor","control","entity","database"];if(i.get(t.to)==r){let e=s.get(t.to),r=d.includes(e.type)?21:e.width/2+3;o(e,r),e.starty=a-e.height/2,tn.bumpVerticalPos(e.height/2)}else if(n.get(t.from)==r){let e=s.get(t.from);if(ti.mirrorActors){let t=d.includes(e.type)?18:e.width/2;l(e,t)}e.stopy=a-e.height/2,tn.bumpVerticalPos(e.height/2)}else if(n.get(t.to)==r){let e=s.get(t.to);if(ti.mirrorActors){let t=d.includes(e.type)?21:e.width/2+3;o(e,t)}e.stopy=a-e.height/2,tn.bumpVerticalPos(e.height/2)}}(0,c.K2)(tb,"adjustLoopHeightForWrap"),(0,c.K2)(ty,"adjustCreatedDestroyedData");var tm=(0,c.K2)(async function(t,e,a,r){let s,{securityLevel:i,sequence:n}=(0,o.D7)();ti=n,"sandbox"===i&&(s=(0,l.Ltv)("#i"+e));let d="sandbox"===i?(0,l.Ltv)(s.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),h="sandbox"===i?s.nodes()[0].contentDocument:document;tn.init(),c.Rm.debug(r.db);let p="sandbox"===i?d.select(`[id="${e}"]`):(0,l.Ltv)(`[id="${e}"]`),T=r.db.getActors(),E=r.db.getCreatedActors(),g=r.db.getDestroyedActors(),u=r.db.getBoxes(),_=r.db.getActorKeys(),O=r.db.getMessages(),x=r.db.getDiagramTitle(),b=r.db.hasAtLeastOneBox(),y=r.db.hasAtLeastOneBoxWithTitle(),m=await tI(T,O,r);if(ti.height=await tf(T,m,u),ts.insertComputerIcon(p),ts.insertDatabaseIcon(p),ts.insertClockIcon(p),b&&(tn.bumpVerticalPos(ti.boxMargin),y&&tn.bumpVerticalPos(u[0].textMaxHeight)),!0===ti.hideUnusedParticipants){let t=new Set;O.forEach(e=>{t.add(e.from),t.add(e.to)}),_=_.filter(e=>t.has(e))}tE(p,T,E,_,0,O,!1);let I=await tA(O,T,m,r);function R(t,e){let a=tn.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),ts.drawActivation(p,a,e,ti,tO(t.from).length),tn.insert(a.startx,e-10,a.stopx,e)}ts.insertArrowHead(p),ts.insertArrowCrossHead(p),ts.insertArrowFilledHead(p),ts.insertSequenceNumber(p),ts.insertSolidTopArrowHead(p),ts.insertSolidBottomArrowHead(p),ts.insertStickTopArrowHead(p),ts.insertStickBottomArrowHead(p),(0,c.K2)(R,"activeEnd");let f=1,L=1,P=[],D=[],S=0;for(let t of O){let e,a,s;switch(t.type){case r.db.LINETYPE.NOTE:tn.resetVerticalPos(),a=t.noteModel,await to(p,a);break;case r.db.LINETYPE.ACTIVE_START:case r.db.LINETYPE.CENTRAL_CONNECTION:case r.db.LINETYPE.CENTRAL_CONNECTION_REVERSE:tn.newActivation(t,p,T);break;case r.db.LINETYPE.ACTIVE_END:R(t,tn.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:tb(I,t,ti.boxMargin,ti.boxMargin+ti.boxTextMargin,t=>tn.newLoop(t));break;case r.db.LINETYPE.LOOP_END:e=tn.endLoop(),await ts.drawLoop(p,e,"loop",ti),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos()),tn.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:tb(I,t,ti.boxMargin,ti.boxMargin,t=>tn.newLoop(void 0,t.message));break;case r.db.LINETYPE.RECT_END:e=tn.endLoop(),D.push(e),tn.models.addLoop(e),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos());break;case r.db.LINETYPE.OPT_START:tb(I,t,ti.boxMargin,ti.boxMargin+ti.boxTextMargin,t=>tn.newLoop(t));break;case r.db.LINETYPE.OPT_END:e=tn.endLoop(),await ts.drawLoop(p,e,"opt",ti),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos()),tn.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:tb(I,t,ti.boxMargin,ti.boxMargin+ti.boxTextMargin,t=>tn.newLoop(t));break;case r.db.LINETYPE.ALT_ELSE:tb(I,t,ti.boxMargin+ti.boxTextMargin,ti.boxMargin,t=>tn.addSectionToLoop(t));break;case r.db.LINETYPE.ALT_END:e=tn.endLoop(),await ts.drawLoop(p,e,"alt",ti),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos()),tn.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:tb(I,t,ti.boxMargin,ti.boxMargin+ti.boxTextMargin,t=>tn.newLoop(t)),tn.saveVerticalPos();break;case r.db.LINETYPE.PAR_AND:tb(I,t,ti.boxMargin+ti.boxTextMargin,ti.boxMargin,t=>tn.addSectionToLoop(t));break;case r.db.LINETYPE.PAR_END:e=tn.endLoop(),await ts.drawLoop(p,e,"par",ti),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos()),tn.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:f=t.message.start||f,L=t.message.step||L,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:tb(I,t,ti.boxMargin,ti.boxMargin+ti.boxTextMargin,t=>tn.newLoop(t));break;case r.db.LINETYPE.CRITICAL_OPTION:tb(I,t,ti.boxMargin+ti.boxTextMargin,ti.boxMargin,t=>tn.addSectionToLoop(t));break;case r.db.LINETYPE.CRITICAL_END:e=tn.endLoop(),await ts.drawLoop(p,e,"critical",ti),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos()),tn.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:tb(I,t,ti.boxMargin,ti.boxMargin+ti.boxTextMargin,t=>tn.newLoop(t));break;case r.db.LINETYPE.BREAK_END:e=tn.endLoop(),await ts.drawLoop(p,e,"break",ti),tn.bumpVerticalPos(e.stopy-tn.getVerticalPos()),tn.models.addLoop(e);break;default:try{(s=t.msgModel).starty=tn.getVerticalPos(),s.sequenceIndex=f,s.sequenceVisible=r.db.showSequenceNumbers();let e=await tp(p,s);ty(t,s,e,S,T,E,g),P.push({messageModel:s,lineStartY:e,msg:t}),tn.models.addMessage(s)}catch(t){c.Rm.error("error while drawing message",t)}}[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.SOLID_TOP,r.db.LINETYPE.SOLID_BOTTOM,r.db.LINETYPE.STICK_TOP,r.db.LINETYPE.STICK_BOTTOM,r.db.LINETYPE.SOLID_TOP_DOTTED,r.db.LINETYPE.SOLID_BOTTOM_DOTTED,r.db.LINETYPE.STICK_TOP_DOTTED,r.db.LINETYPE.STICK_BOTTOM_DOTTED,r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,r.db.LINETYPE.STICK_ARROW_TOP_REVERSE,r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,r.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,r.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,r.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,r.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT,r.db.LINETYPE.BIDIRECTIONAL_SOLID,r.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type)&&(f+=L),S++}for(let t of(c.Rm.debug("createdActors",E),c.Rm.debug("destroyedActors",g),await tg(p,T,_,!1),P))await tT(p,t.messageModel,t.lineStartY,r,t.msg);for(let t of(ti.mirrorActors&&await tg(p,T,_,!0),D.forEach(t=>ts.drawBackgroundRect(p,t)),N(p,T,_,ti),tn.models.boxes)){t.height=tn.getVerticalPos()-t.y,tn.insert(t.x,t.y,t.x+t.width,t.height);let e=2*ti.boxMargin;t.startx=t.x-e,t.starty=t.y-.25*e,t.stopx=t.startx+t.width+2*e,t.stopy=t.starty+t.height+.75*e,t.stroke="rgb(0,0,0, 0.5)",ts.drawBox(p,t,ti)}b&&tn.bumpVerticalPos(ti.boxMargin);let w=tu(p,T,_,h),{bounds:A}=tn.getBounds();void 0===A.startx&&(A.startx=0),void 0===A.starty&&(A.starty=0),void 0===A.stopx&&(A.stopx=0),void 0===A.stopy&&(A.stopy=0);let k=A.stopy-A.starty;k<w.maxHeight&&(k=w.maxHeight);let M=k+2*ti.diagramMarginY;ti.mirrorActors&&(M=M-ti.boxMargin+ti.bottomMarginAdj);let C=A.stopx-A.startx;C<w.maxWidth&&(C=w.maxWidth);let v=C+2*ti.diagramMarginX;x&&p.append("text").text(x).attr("x",(A.stopx-A.startx)/2-2*ti.diagramMarginX).attr("y",-25),(0,o.a$)(p,M,v,ti.useMaxWidth);let Y=40*!!x;p.attr("viewBox",A.startx-ti.diagramMarginX+" -"+(ti.diagramMarginY+Y)+" "+v+" "+(M+Y)),c.Rm.debug("models:",tn.models)},"draw");async function tI(t,e,a){let r={};for(let s of e)if(t.get(s.to)&&t.get(s.from)){let e=t.get(s.to);if(s.placement===a.db.PLACEMENT.LEFTOF&&!e.prevActor||s.placement===a.db.PLACEMENT.RIGHTOF&&!e.nextActor)continue;let i=void 0!==s.placement,c=!i,l=i?td(ti):tl(ti),d=s.wrap?n._K.wrapLabel(s.message,ti.width-2*ti.wrapPadding,l):s.message,h=((0,o.Wi)(d)?await (0,o.Dl)(s.message,(0,o.D7)()):n._K.calculateTextDimensions(d,l)).width+2*ti.wrapPadding;c&&s.from===e.nextActor?r[s.to]=o.Y2.getMax(r[s.to]||0,h):c&&s.from===e.prevActor?r[s.from]=o.Y2.getMax(r[s.from]||0,h):c&&s.from===s.to?(r[s.from]=o.Y2.getMax(r[s.from]||0,h/2),r[s.to]=o.Y2.getMax(r[s.to]||0,h/2)):s.placement===a.db.PLACEMENT.RIGHTOF?r[s.from]=o.Y2.getMax(r[s.from]||0,h):s.placement===a.db.PLACEMENT.LEFTOF?r[e.prevActor]=o.Y2.getMax(r[e.prevActor]||0,h):s.placement===a.db.PLACEMENT.OVER&&(e.prevActor&&(r[e.prevActor]=o.Y2.getMax(r[e.prevActor]||0,h/2)),e.nextActor&&(r[s.from]=o.Y2.getMax(r[s.from]||0,h/2)))}return c.Rm.debug("maxMessageWidthPerActor:",r),r}(0,c.K2)(tI,"getMaxMessageWidthPerActor");var tR=(0,c.K2)(function(t){let e=0,a=th(ti);for(let r in t.links){let t=n._K.calculateTextDimensions(r,a).width+2*ti.wrapPadding+2*ti.boxMargin;e<t&&(e=t)}return e},"getRequiredPopupWidth");async function tf(t,e,a){let r=0;for(let e of t.keys()){let a=t.get(e);a.wrap&&(a.description=n._K.wrapLabel(a.description,ti.width-2*ti.wrapPadding,th(ti)));let s=(0,o.Wi)(a.description)?await (0,o.Dl)(a.description,(0,o.D7)()):n._K.calculateTextDimensions(a.description,th(ti));a.width=a.wrap?ti.width:o.Y2.getMax(ti.width,s.width+2*ti.wrapPadding),a.height=a.wrap?o.Y2.getMax(s.height,ti.height):ti.height,r=o.Y2.getMax(r,a.height)}for(let a in e){let r=t.get(a);if(!r)continue;let s=t.get(r.nextActor);if(!s){let t=e[a]+ti.actorMargin-r.width/2;r.margin=o.Y2.getMax(t,ti.actorMargin);continue}let i=e[a]+ti.actorMargin-r.width/2-s.width/2;r.margin=o.Y2.getMax(i,ti.actorMargin)}let s=0;return a.forEach(e=>{let a=tl(ti),r=e.actorKeys.reduce((e,a)=>e+=t.get(a).width+(t.get(a).margin||0),0);r+=8*ti.boxMargin,r-=2*ti.boxTextMargin,e.wrap&&(e.name=n._K.wrapLabel(e.name,r-2*ti.wrapPadding,a));let i=n._K.calculateTextDimensions(e.name,a);s=o.Y2.getMax(i.height,s);let c=o.Y2.getMax(r,i.width+2*ti.wrapPadding);if(e.margin=ti.boxTextMargin,r<c){let t=(c-r)/2;e.margin+=t}}),a.forEach(t=>t.textMaxHeight=s),o.Y2.getMax(r,ti.height)}(0,c.K2)(tf,"calculateActorMargins");var tL=(0,c.K2)(async function(t,e,a){let r=e.get(t.from),s=e.get(t.to),i=r.x,l=s.x,d=t.wrap&&t.message,h=(0,o.Wi)(t.message)?await (0,o.Dl)(t.message,(0,o.D7)()):n._K.calculateTextDimensions(d?n._K.wrapLabel(t.message,ti.width,td(ti)):t.message,td(ti)),p={width:d?ti.width:o.Y2.getMax(ti.width,h.width+2*ti.noteMargin),height:0,startx:r.x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===a.db.PLACEMENT.RIGHTOF?(p.width=d?o.Y2.getMax(ti.width,h.width):o.Y2.getMax(r.width/2+s.width/2,h.width+2*ti.noteMargin),p.startx=i+(r.width+ti.actorMargin)/2):t.placement===a.db.PLACEMENT.LEFTOF?(p.width=d?o.Y2.getMax(ti.width,h.width+2*ti.noteMargin):o.Y2.getMax(r.width/2+s.width/2,h.width+2*ti.noteMargin),p.startx=i-p.width+(r.width-ti.actorMargin)/2):t.to===t.from?(h=n._K.calculateTextDimensions(d?n._K.wrapLabel(t.message,o.Y2.getMax(ti.width,r.width),td(ti)):t.message,td(ti)),p.width=d?o.Y2.getMax(ti.width,r.width):o.Y2.getMax(r.width,ti.width,h.width+2*ti.noteMargin),p.startx=i+(r.width-p.width)/2):(p.width=Math.abs(i+r.width/2-(l+s.width/2))+ti.actorMargin,p.startx=i<l?i+r.width/2-ti.actorMargin/2:l+s.width/2-ti.actorMargin/2),d&&(p.message=n._K.wrapLabel(t.message,p.width-2*ti.wrapPadding,td(ti))),c.Rm.debug(`NM:[${p.startx},${p.stopx},${p.starty},${p.stopy}:${p.width},${p.height}=${t.message}]`),p},"buildNoteModel"),tP=(0,c.K2)(function(t,e){let{CENTRAL_CONNECTION:a,CENTRAL_CONNECTION_REVERSE:r,CENTRAL_CONNECTION_DUAL:s}=e.db.LINETYPE;return[a,r,s].includes(t.centralConnection)},"hasCentralConnection"),tN=(0,c.K2)(function(t,e,a){let{CENTRAL_CONNECTION_REVERSE:r,CENTRAL_CONNECTION_DUAL:s,BIDIRECTIONAL_SOLID:i,BIDIRECTIONAL_DOTTED:n}=e.db.LINETYPE,o=0;return(t.centralConnection===r||t.centralConnection===s)&&(o+=4),(t.centralConnection===r||t.centralConnection===s)&&(t.type===i||t.type===n)&&(o+=a?0:-6),o},"calculateCentralConnectionOffset"),tD=(0,c.K2)(function(t,e){let{SOLID_ARROW_TOP_REVERSE:a,SOLID_ARROW_TOP_REVERSE_DOTTED:r,SOLID_ARROW_BOTTOM_REVERSE:s,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:i,STICK_ARROW_TOP_REVERSE:n,STICK_ARROW_TOP_REVERSE_DOTTED:o,STICK_ARROW_BOTTOM_REVERSE:c,STICK_ARROW_BOTTOM_REVERSE_DOTTED:l}=e.db.LINETYPE;return[a,r,s,i,n,o,c,l].includes(t.type)},"isReverseArrowType"),tS=(0,c.K2)(function(t,e){let{BIDIRECTIONAL_SOLID:a,BIDIRECTIONAL_DOTTED:r}=e.db.LINETYPE;return[a,r].includes(t.type)},"isBidirectionalArrowType"),tw=(0,c.K2)(function(t,e,a){if(![a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.SOLID,a.db.LINETYPE.SOLID_TOP,a.db.LINETYPE.SOLID_BOTTOM,a.db.LINETYPE.STICK_TOP,a.db.LINETYPE.STICK_BOTTOM,a.db.LINETYPE.SOLID_TOP_DOTTED,a.db.LINETYPE.SOLID_BOTTOM_DOTTED,a.db.LINETYPE.STICK_TOP_DOTTED,a.db.LINETYPE.STICK_BOTTOM_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.DOTTED,a.db.LINETYPE.SOLID_CROSS,a.db.LINETYPE.DOTTED_CROSS,a.db.LINETYPE.SOLID_POINT,a.db.LINETYPE.DOTTED_POINT,a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED].includes(t.type))return{};let[r,s]=tx(t.from,e),[i,l]=tx(t.to,e),d=r<=i,h=d?s:r,p=d?i:l;h+=tN(t,a,d);let T=Math.abs(i-l)>2,E=(0,c.K2)(t=>d?-t:t,"adjustValue");t.from===t.to?p=h:(t.activate&&!T&&(p+=E(ti.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN,a.db.LINETYPE.STICK_TOP,a.db.LINETYPE.STICK_BOTTOM,a.db.LINETYPE.STICK_TOP_DOTTED,a.db.LINETYPE.STICK_BOTTOM_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE,a.db.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(t.type)||(p+=E(3)),[a.db.LINETYPE.BIDIRECTIONAL_SOLID,a.db.LINETYPE.BIDIRECTIONAL_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED,a.db.LINETYPE.SOLID_ARROW_TOP_REVERSE,a.db.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE].includes(t.type)&&(h-=E(3)));let g=[r,s,i,l],u=Math.abs(h-p);t.wrap&&t.message&&(t.message=n._K.wrapLabel(t.message,o.Y2.getMax(u+2*ti.wrapPadding,ti.width),tl(ti)));let _=n._K.calculateTextDimensions(t.message,tl(ti));return{width:o.Y2.getMax(t.wrap?0:_.width+2*ti.wrapPadding,u+2*ti.wrapPadding,ti.width),height:0,startx:h,stopx:p,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,g),toBounds:Math.max.apply(null,g)}},"buildMessageModel"),tA=(0,c.K2)(async function(t,e,a,r){let s,i,n,l={},d=[];for(let a of t){switch(a.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:d.push({id:a.id,msg:a.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:a.message&&(l[(s=d.pop()).id]=s,l[a.id]=s,d.push(s));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:l[(s=d.pop()).id]=s;break;case r.db.LINETYPE.ACTIVE_START:{let t=e.get(a.from?a.from:a.to.actor),r=tO(a.from?a.from:a.to.actor).length,s=t.x+t.width/2+(r-1)*ti.activationWidth/2,i={startx:s,stopx:s+ti.activationWidth,actor:a.from,enabled:!0};tn.activations.push(i)}break;case r.db.LINETYPE.ACTIVE_END:{let t=tn.activations.map(t=>t.actor).lastIndexOf(a.from);tn.activations.splice(t,1).splice(0,1)}}void 0!==a.placement?(i=await tL(a,e,r),a.noteModel=i,d.forEach(t=>{(s=t).from=o.Y2.getMin(s.from,i.startx),s.to=o.Y2.getMax(s.to,i.startx+i.width),s.width=o.Y2.getMax(s.width,Math.abs(s.from-s.to))-ti.labelBoxWidth})):(n=tw(a,e,r),a.msgModel=n,n.startx&&n.stopx&&d.length>0&&d.forEach(t=>{if(s=t,n.startx===n.stopx){let t=e.get(a.from),r=e.get(a.to);s.from=o.Y2.getMin(t.x-n.width/2,t.x-t.width/2,s.from),s.to=o.Y2.getMax(r.x+n.width/2,r.x+t.width/2,s.to),s.width=o.Y2.getMax(s.width,Math.abs(s.to-s.from))-ti.labelBoxWidth}else s.from=o.Y2.getMin(n.startx,s.from),s.to=o.Y2.getMax(n.stopx,s.to),s.width=o.Y2.getMax(s.width,n.width)-ti.labelBoxWidth}))}return tn.activations=[],c.Rm.debug("Loop type widths:",l),l},"calculateLoopBounds"),tk={parser:h,get db(){return new g},renderer:{bounds:tn,drawActors:tg,drawActorsPopup:tu,setConf:t_,draw:tm},styles:u,init:(0,c.K2)(t=>{t.sequence||(t.sequence={}),t.wrap&&(t.sequence.wrap=t.wrap,(0,o.XV)({sequence:{wrap:t.wrap}}))},"init")}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126],{5452:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r){for(var e=-1,n=r.length,u=t.length;++e<n;)t[u+e]=r[e];return t}},12602:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r){for(var e=-1,n=null==t?0:t.length,u=Array(n);++e<n;)u[e]=r(t[e],e,t);return u}},13838:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(12602),u=e(70638);let o=function(t){var r;return null==t?[]:(r=(0,u.A)(t),(0,n.A)(r,function(r){return t[r]}))}},15643:(t,r,e)=>{e.d(r,{A:()=>l});var n=e(86953),u=e(60577),o=e(57641),a=e(66485),c=e(78261),i=e(65698),A=e(93881),f=c.A&&1/(0,A.A)(new c.A([,-0]))[1]==1/0?function(t){return new c.A(t)}:i.A;let l=function(t,r,e){var c=-1,i=u.A,l=t.length,v=!0,b=[],s=b;if(e)v=!1,i=o.A;else if(l>=200){var d=r?null:f(t);if(d)return(0,A.A)(d);v=!1,i=a.A,s=new n.A}else s=r?[]:b;t:for(;++c<l;){var j=t[c],p=r?r(j):j;if(j=e||0!==j?j:0,v&&p==p){for(var h=s.length;h--;)if(s[h]===p)continue t;r&&s.push(p),b.push(j)}else i(s,p,e)||(s!==b&&s.push(p),b.push(j))}return b}},17334:(t,r,e)=>{e.d(r,{A:()=>c});var n=e(92459),u=e(38374),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;let c=function(t,r){if((0,n.A)(t))return!1;var e=typeof t;return!!("number"==e||"symbol"==e||"boolean"==e||null==t||(0,u.A)(t))||a.test(t)||!o.test(t)||null!=r&&t in Object(r)}},18633:(t,r,e)=>{e.d(r,{A:()=>i});let n=function(t,r,e,n){var u=-1,o=null==t?0:t.length;for(n&&o&&(e=t[++u]);++u<o;)e=r(e,t[u],u,t);return e};var u=e(60395),o=e(35984);let a=function(t,r,e,n,u){return u(t,function(t,u,o){e=n?(n=!1,t):r(e,t,u,o)}),e};var c=e(92459);let i=function(t,r,e){var i=(0,c.A)(t)?n:a,A=arguments.length<3;return i(t,(0,o.A)(r,4),e,A,u.A)}},22748:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(72521),u=e(53422),o=e(70638);let a=function(t){return(0,n.A)(t,o.A,u.A)}},26391:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(66162),u=e(70638);let o=function(t,r){return t&&(0,n.A)(t,r,u.A)}},30253:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(38374),u=1/0;let o=function(t){if("string"==typeof t||(0,n.A)(t))return t;var r=t+"";return"0"==r&&1/t==-u?"-0":r}},30504:(t,r,e)=>{e.d(r,{A:()=>u});var n=e(60395);let u=function(t,r){var e=[];return(0,n.A)(t,function(t,n,u){r(t,n,u)&&e.push(t)}),e}},35063:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r,e,n){for(var u=t.length,o=e+(n?1:-1);n?o--:++o<u;)if(r(t[o],o,t))return o;return -1}},35172:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1}},35984:(t,r,e)=>{e.d(r,{A:()=>q});var n=e(1105),u=e(86953),o=e(35172),a=e(66485);let c=function(t,r,e,n,c,i){var A=1&e,f=t.length,l=r.length;if(f!=l&&!(A&&l>f))return!1;var v=i.get(t),b=i.get(r);if(v&&b)return v==r&&b==t;var s=-1,d=!0,j=2&e?new u.A:void 0;for(i.set(t,r),i.set(r,t);++s<f;){var p=t[s],h=r[s];if(n)var y=A?n(h,p,s,r,t,i):n(p,h,s,t,r,i);if(void 0!==y){if(y)continue;d=!1;break}if(j){if(!(0,o.A)(r,function(t,r){if(!(0,a.A)(j,r)&&(p===t||c(p,t,e,n,i)))return j.push(r)})){d=!1;break}}else if(!(p===h||c(p,h,e,n,i))){d=!1;break}}return i.delete(t),i.delete(r),d};var i=e(29703),A=e(15914),f=e(29568);let l=function(t){var r=-1,e=Array(t.size);return t.forEach(function(t,n){e[++r]=[n,t]}),e};var v=e(93881),b=i.A?i.A.prototype:void 0,s=b?b.valueOf:void 0;let d=function(t,r,e,n,u,o,a){switch(e){case"[object DataView]":if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)break;t=t.buffer,r=r.buffer;case"[object ArrayBuffer]":if(t.byteLength!=r.byteLength||!o(new A.A(t),new A.A(r)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,f.A)(+t,+r);case"[object Error]":return t.name==r.name&&t.message==r.message;case"[object RegExp]":case"[object String]":return t==r+"";case"[object Map]":var i=l;case"[object Set]":var b=1&n;if(i||(i=v.A),t.size!=r.size&&!b)break;var d=a.get(t);if(d)return d==r;n|=2,a.set(t,r);var j=c(i(t),i(r),n,u,o,a);return a.delete(t),j;case"[object Symbol]":if(s)return s.call(t)==s.call(r)}return!1};var j=e(22748),p=Object.prototype.hasOwnProperty;let h=function(t,r,e,n,u,o){var a=1&e,c=(0,j.A)(t),i=c.length;if(i!=(0,j.A)(r).length&&!a)return!1;for(var A=i;A--;){var f=c[A];if(!(a?f in r:p.call(r,f)))return!1}var l=o.get(t),v=o.get(r);if(l&&v)return l==r&&v==t;var b=!0;o.set(t,r),o.set(r,t);for(var s=a;++A<i;){var d=t[f=c[A]],h=r[f];if(n)var y=a?n(h,d,f,r,t,o):n(d,h,f,t,r,o);if(!(void 0===y?d===h||u(d,h,e,n,o):y)){b=!1;break}s||(s="constructor"==f)}if(b&&!s){var g=t.constructor,w=r.constructor;g!=w&&"constructor"in t&&"constructor"in r&&!("function"==typeof g&&g instanceof g&&"function"==typeof w&&w instanceof w)&&(b=!1)}return o.delete(t),o.delete(r),b};var y=e(11576),g=e(92459),w=e(28071),_=e(81019),O="[object Arguments]",m="[object Array]",S="[object Object]",k=Object.prototype.hasOwnProperty;let E=function(t,r,e,u,o,a){var i=(0,g.A)(t),A=(0,g.A)(r),f=i?m:(0,y.A)(t),l=A?m:(0,y.A)(r);f=f==O?S:f,l=l==O?S:l;var v=f==S,b=l==S,s=f==l;if(s&&(0,w.A)(t)){if(!(0,w.A)(r))return!1;i=!0,v=!1}if(s&&!v)return a||(a=new n.A),i||(0,_.A)(t)?c(t,r,e,u,o,a):d(t,r,f,e,u,o,a);if(!(1&e)){var j=v&&k.call(t,"__wrapped__"),p=b&&k.call(r,"__wrapped__");if(j||p){var E=j?t.value():t,x=p?r.value():r;return a||(a=new n.A),o(E,x,e,u,a)}}return!!s&&(a||(a=new n.A),h(t,r,e,u,o,a))};var x=e(77494);let I=function t(r,e,n,u,o){return r===e||(null!=r&&null!=e&&((0,x.A)(r)||(0,x.A)(e))?E(r,e,n,u,t,o):r!=r&&e!=e)},U=function(t,r,e,u){var o=e.length,a=o,c=!u;if(null==t)return!a;for(t=Object(t);o--;){var i=e[o];if(c&&i[2]?i[1]!==t[i[0]]:!(i[0]in t))return!1}for(;++o<a;){var A=(i=e[o])[0],f=t[A],l=i[1];if(c&&i[2]){if(void 0===f&&!(A in t))return!1}else{var v=new n.A;if(u)var b=u(f,l,A,t,r,v);if(!(void 0===b?I(l,f,3,u,v):b))return!1}}return!0};var B=e(33761);let C=function(t){return t==t&&!(0,B.A)(t)};var D=e(70638);let F=function(t){for(var r=(0,D.A)(t),e=r.length;e--;){var n=r[e],u=t[n];r[e]=[n,u,C(u)]}return r},M=function(t,r){return function(e){return null!=e&&e[t]===r&&(void 0!==r||t in Object(e))}},z=function(t){var r=F(t);return 1==r.length&&r[0][2]?M(r[0][0],r[0][1]):function(e){return e===t||U(e,t,r)}};var L=e(71606);let N=function(t,r,e){var n=null==t?void 0:(0,L.A)(t,r);return void 0===n?e:n};var P=e(52259),$=e(17334),R=e(30253),V=e(79800),G=e(81807);let W=function(t){return(0,$.A)(t)?(0,G.A)((0,R.A)(t)):function(r){return(0,L.A)(r,t)}},q=function(t){if("function"==typeof t)return t;if(null==t)return V.A;if("object"==typeof t){var r,e;return(0,g.A)(t)?(r=t[0],e=t[1],(0,$.A)(r)&&C(e)?M((0,R.A)(r),e):function(t){var n=N(t,r);return void 0===n&&n===e?(0,P.A)(t,r):I(e,n,3)}):z(t)}return W(t)}},36988:(t,r,e)=>{e.d(r,{A:()=>c});var n=e(57301),u=e(60395),o=e(78416),a=e(92459);let c=function(t,r){return((0,a.A)(t)?n.A:u.A)(t,(0,o.A)(r))}},38374:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(95749),u=e(77494);let o=function(t){return"symbol"==typeof t||(0,u.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},40160:(t,r,e)=>{e.d(r,{A:()=>c});var n=e(42410),u=e(30504),o=e(35984),a=e(92459);let c=function(t,r){return((0,a.A)(t)?n.A:u.A)(t,(0,o.A)(r,3))}},42410:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r){for(var e=-1,n=null==t?0:t.length,u=0,o=[];++e<n;){var a=t[e];r(a,e,t)&&(o[u++]=a)}return o}},52259:(t,r,e)=>{e.d(r,{A:()=>o});let n=function(t,r){return null!=t&&r in Object(t)};var u=e(62878);let o=function(t,r){return null!=t&&(0,u.A)(t,r,n)}},53422:(t,r,e)=>{e.d(r,{A:()=>c});var n=e(42410),u=e(91359),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;let c=a?function(t){return null==t?[]:(t=Object(t),(0,n.A)(a(t),function(r){return o.call(t,r)}))}:u.A},57301:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t}},57629:(t,r,e)=>{e.d(r,{A:()=>c});var n=e(5452),u=e(24949),o=e(53422),a=e(91359);let c=Object.getOwnPropertySymbols?function(t){for(var r=[];t;)(0,n.A)(r,(0,o.A)(t)),t=(0,u.A)(t);return r}:a.A},57641:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r,e){for(var n=-1,u=null==t?0:t.length;++n<u;)if(e(r,t[n]))return!0;return!1}},60395:(t,r,e)=>{e.d(r,{A:()=>a});var n,u=e(26391),o=e(19396);let a=(n=u.A,function(t,r){if(null==t)return t;if(!(0,o.A)(t))return n(t,r);for(var e=t.length,u=-1,a=Object(t);++u<e&&!1!==r(a[u],u,a););return t})},60423:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(72521),u=e(57629),o=e(61107);let a=function(t){return(0,n.A)(t,o.A,u.A)}},60577:(t,r,e)=>{e.d(r,{A:()=>u});var n=e(81137);let u=function(t,r){return!!(null==t?0:t.length)&&(0,n.A)(t,r,0)>-1}},62878:(t,r,e)=>{e.d(r,{A:()=>A});var n=e(94582),u=e(67903),o=e(92459),a=e(26805),c=e(52766),i=e(30253);let A=function(t,r,e){r=(0,n.A)(r,t);for(var A=-1,f=r.length,l=!1;++A<f;){var v=(0,i.A)(r[A]);if(!(l=null!=t&&e(t,v)))break;t=t[v]}return l||++A!=f?l:!!(f=null==t?0:t.length)&&(0,c.A)(f)&&(0,a.A)(v,f)&&((0,o.A)(t)||(0,u.A)(t))}},65698:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(){}},66485:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t,r){return t.has(r)}},70638:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(12016),u=e(37846),o=e(19396);let a=function(t){return(0,o.A)(t)?(0,n.A)(t):(0,u.A)(t)}},71606:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(94582),u=e(30253);let o=function(t,r){r=(0,n.A)(r,t);for(var e=0,o=r.length;null!=t&&e<o;)t=t[(0,u.A)(r[e++])];return e&&e==o?t:void 0}},72521:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(5452),u=e(92459);let o=function(t,r,e){var o=r(t);return(0,u.A)(t)?o:(0,n.A)(o,e(t))}},78416:(t,r,e)=>{e.d(r,{A:()=>u});var n=e(79800);let u=function(t){return"function"==typeof t?t:n.A}},81137:(t,r,e)=>{e.d(r,{A:()=>a});var n=e(35063);let u=function(t){return t!=t},o=function(t,r,e){for(var n=e-1,u=t.length;++n<u;)if(t[n]===r)return n;return -1},a=function(t,r,e){return r==r?o(t,r,e):(0,n.A)(t,u,e)}},81807:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t){return function(r){return null==r?void 0:r[t]}}},85810:(t,r,e)=>{e.d(r,{A:()=>l});var n=e(29703),u=e(12602),o=e(92459),a=e(38374),c=1/0,i=n.A?n.A.prototype:void 0,A=i?i.toString:void 0;let f=function t(r){if("string"==typeof r)return r;if((0,o.A)(r))return(0,u.A)(r,t)+"";if((0,a.A)(r))return A?A.call(r):"";var e=r+"";return"0"==e&&1/r==-c?"-0":e},l=function(t){return null==t?"":f(t)}},86953:(t,r,e)=>{e.d(r,{A:()=>o});var n=e(59233);function u(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new n.A;++r<e;)this.add(t[r])}u.prototype.add=u.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},u.prototype.has=function(t){return this.__data__.has(t)};let o=u},88644:(t,r,e)=>{e.d(r,{A:()=>V});var n=e(1105),u=e(57301),o=e(16019),a=e(3437),c=e(70638),i=e(61107),A=e(23966),f=e(41783),l=e(53422),v=e(57629),b=e(22748),s=e(60423),d=e(11576),j=Object.prototype.hasOwnProperty;let p=function(t){var r=t.length,e=new t.constructor(r);return r&&"string"==typeof t[0]&&j.call(t,"index")&&(e.index=t.index,e.input=t.input),e};var h=e(24519);let y=function(t,r){var e=r?(0,h.A)(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)};var g=/\w*$/;let w=function(t){var r=new t.constructor(t.source,g.exec(t));return r.lastIndex=t.lastIndex,r};var _=e(29703),O=_.A?_.A.prototype:void 0,m=O?O.valueOf:void 0,S=e(60093);let k=function(t,r,e){var n=t.constructor;switch(r){case"[object ArrayBuffer]":return(0,h.A)(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return y(t,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,S.A)(t,e);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return w(t);case"[object Symbol]":return m?Object(m.call(t)):{}}};var E=e(17864),x=e(92459),I=e(28071),U=e(77494),B=e(32521),C=e(21719),D=C.A&&C.A.isMap,F=D?(0,B.A)(D):function(t){return(0,U.A)(t)&&"[object Map]"==(0,d.A)(t)},M=e(33761),z=C.A&&C.A.isSet,L=z?(0,B.A)(z):function(t){return(0,U.A)(t)&&"[object Set]"==(0,d.A)(t)},N="[object Arguments]",P="[object Function]",$="[object Object]",R={};R[N]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[$]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[P]=R["[object WeakMap]"]=!1;let V=function t(r,e,j,h,y,g){var w,_=1&e,O=2&e,m=4&e;if(j&&(w=y?j(r,h,y,g):j(r)),void 0!==w)return w;if(!(0,M.A)(r))return r;var S=(0,x.A)(r);if(S){if(w=p(r),!_)return(0,f.A)(r,w)}else{var U,B,C,D,z=(0,d.A)(r),V=z==P||"[object GeneratorFunction]"==z;if((0,I.A)(r))return(0,A.A)(r,_);if(z==$||z==N||V&&!y){if(w=O||V?{}:(0,E.A)(r),!_)return O?(B=(U=w)&&(0,a.A)(r,(0,i.A)(r),U),(0,a.A)(r,(0,v.A)(r),B)):(D=(C=w)&&(0,a.A)(r,(0,c.A)(r),C),(0,a.A)(r,(0,l.A)(r),D))}else{if(!R[z])return y?r:{};w=k(r,z,_)}}g||(g=new n.A);var G=g.get(r);if(G)return G;g.set(r,w),L(r)?r.forEach(function(n){w.add(t(n,e,j,n,r,g))}):F(r)&&r.forEach(function(n,u){w.set(u,t(n,e,j,u,r,g))});var W=m?O?s.A:b.A:O?i.A:c.A,q=S?void 0:W(r);return(0,u.A)(q||r,function(n,u){q&&(n=r[u=n]),(0,o.A)(w,u,t(n,e,j,u,r,g))}),w}},91359:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(){return[]}},93881:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t){var r=-1,e=Array(t.size);return t.forEach(function(t){e[++r]=t}),e}},94582:(t,r,e)=>{e.d(r,{A:()=>b});var n,u,o,a=e(92459),c=e(17334),i=e(15622),A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,l=(n=function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(A,function(t,e,n,u){r.push(n?u.replace(f,"$1"):e||t)}),r},o=(u=(0,i.A)(n,function(t){return 500===o.size&&o.clear(),t})).cache,u),v=e(85810);let b=function(t,r){return(0,a.A)(t)?t:(0,c.A)(t,r)?[t]:l((0,v.A)(t))}},94630:(t,r,e)=>{e.d(r,{A:()=>n});let n=function(t){return void 0===t}},96901:(t,r,e)=>{e.d(r,{A:()=>A});var n=e(5452),u=e(29703),o=e(67903),a=e(92459),c=u.A?u.A.isConcatSpreadable:void 0;let i=function(t){return(0,a.A)(t)||(0,o.A)(t)||!!(c&&t&&t[c])},A=function t(r,e,u,o,a){var c=-1,A=r.length;for(u||(u=i),a||(a=[]);++c<A;){var f=r[c];e>0&&u(f)?e>1?t(f,e-1,u,o,a):(0,n.A)(a,f):o||(a[a.length]=f)}return a}}}]);
|